Compare commits

..

No commits in common. "1.1.4" and "1.1.3" have entirely different histories.
1.1.4 ... 1.1.3

3 changed files with 6 additions and 19 deletions

View File

@ -2,15 +2,8 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC. All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [1.1.4](https://git.odit.services/lfk/kiosk/compare/1.1.3...1.1.4)
- feat: improve registration flow [`2c503f9`](https://git.odit.services/lfk/kiosk/commit/2c503f9b0333b668730c4eb11deb5184ee49f295)
#### [1.1.3](https://git.odit.services/lfk/kiosk/compare/1.1.2...1.1.3) #### [1.1.3](https://git.odit.services/lfk/kiosk/compare/1.1.2...1.1.3)
> 2 April 2025
- chore(release): 1.1.3 [`6a0b014`](https://git.odit.services/lfk/kiosk/commit/6a0b014d55b129eef17d70bb9a86203a272d3ad3)
- fix: registration without email [`b7f792c`](https://git.odit.services/lfk/kiosk/commit/b7f792c6f99249acd0c8c1154800c4442ad5a8b0) - fix: registration without email [`b7f792c`](https://git.odit.services/lfk/kiosk/commit/b7f792c6f99249acd0c8c1154800c4442ad5a8b0)
#### [1.1.2](https://git.odit.services/lfk/kiosk/compare/1.1.1...1.1.2) #### [1.1.2](https://git.odit.services/lfk/kiosk/compare/1.1.1...1.1.2)

View File

@ -1,6 +1,6 @@
{ {
"name": "@lfk/kiosk", "name": "@lfk/kiosk",
"version": "1.1.4", "version": "1.1.3",
"private": false, "private": false,
"license": "MIT", "license": "MIT",
"repository": "https://git.odit.services/lfk/kiosk", "repository": "https://git.odit.services/lfk/kiosk",

View File

@ -110,7 +110,6 @@
<input <input
on:keydown={(e) => { on:keydown={(e) => {
if (e.keyCode === 13) { if (e.keyCode === 13) {
e.preventDefault();
document.getElementById('lastname')?.focus(); document.getElementById('lastname')?.focus();
} }
if (e.keyCode === 40) { if (e.keyCode === 40) {
@ -121,7 +120,7 @@
autocomplete="one-time-code" autocomplete="one-time-code"
id="firstname" id="firstname"
name="firstname" name="firstname"
class="font-semibold placeholder:font-normal placeholder:text-black dark:placeholder:text-gray-200 py-3 px-4 block w-full border-gray-500 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-200 dark:text-white border" class="placeholder:text-black dark:placeholder:text-white py-3 px-4 block w-full border-gray-500 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-200 dark:text-gray-400 border"
required required
placeholder="Vorname" placeholder="Vorname"
bind:value={firstname} bind:value={firstname}
@ -161,8 +160,8 @@
<div class="relative"> <div class="relative">
<input <input
on:keydown={(e) => { on:keydown={(e) => {
console.log(e.keyCode);
if (e.keyCode === 13) { if (e.keyCode === 13) {
e.preventDefault();
document.getElementById('email')?.focus(); document.getElementById('email')?.focus();
} }
if (e.keyCode === 38) { if (e.keyCode === 38) {
@ -176,7 +175,7 @@
type="lastname" type="lastname"
id="lastname" id="lastname"
name="lastname" name="lastname"
class="font-semibold placeholder:font-normal placeholder:text-black dark:placeholder:text-gray-200 py-3 px-4 block w-full border-gray-500 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-200 dark:text-white border" class="placeholder:text-black dark:placeholder:text-white py-3 px-4 block w-full border-gray-500 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-200 dark:text-gray-400 border"
required required
placeholder="Nachname" placeholder="Nachname"
aria-describedby="lastname-error" aria-describedby="lastname-error"
@ -218,8 +217,8 @@
<div class="relative"> <div class="relative">
<input <input
on:keydown={(e) => { on:keydown={(e) => {
console.log(e.keyCode);
if (e.keyCode === 13) { if (e.keyCode === 13) {
e.preventDefault();
document.getElementById('submit')?.focus(); document.getElementById('submit')?.focus();
} }
if (e.keyCode === 38) { if (e.keyCode === 38) {
@ -233,7 +232,7 @@
type="email" type="email"
id="email" id="email"
name="email" name="email"
class="font-semibold placeholder:font-normal placeholder:text-black dark:placeholder:text-gray-200 py-3 px-4 block w-full border-gray-500 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-200 dark:text-white border" class="placeholder:text-black dark:placeholder:text-white py-3 px-4 block w-full border-gray-500 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-200 dark:text-gray-400 border"
placeholder="E-Mail (optional)" placeholder="E-Mail (optional)"
aria-describedby="lastname-error" aria-describedby="lastname-error"
bind:value={email} bind:value={email}
@ -267,11 +266,6 @@
<!-- End Form Group --> <!-- End Form Group -->
<button <button
on:keydown={(e) => {
if (e.keyCode === 38) {
document.getElementById('email')?.focus();
}
}}
id="submit" id="submit"
type="submit" type="submit"
disabled={!firstname || !lastname} disabled={!firstname || !lastname}