diff --git a/package.json b/package.json index 6a789f5..827a11c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "6.4.73", + "version": "6.4.74", "license": "BUSL-1.1", "private": true, "packageManager": "pnpm@9.15.5", diff --git a/src/lib/components/ui/button/index.ts b/src/lib/components/ui/button/index.ts index e24beac..2786b20 100644 --- a/src/lib/components/ui/button/index.ts +++ b/src/lib/components/ui/button/index.ts @@ -8,7 +8,7 @@ const buttonVariants = tv({ base: 'focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50', variants: { variant: { - default: 'bg-primary text-primary-foreground select:bg-primary/70 shadow', + default: 'bg-primary text-primary-foreground select:bg-neutral-500 shadow', destructive: 'bg-destructive text-destructive-foreground select:bg-destructive/90 shadow-sm', outline: 'border-input bg-background select:bg-accent select:text-accent-foreground border shadow-sm', secondary: 'bg-secondary text-secondary-foreground select:bg-secondary/70 shadow-sm', diff --git a/src/lib/modules/navigate.ts b/src/lib/modules/navigate.ts index bb4ca40..9427b69 100644 --- a/src/lib/modules/navigate.ts +++ b/src/lib/modules/navigate.ts @@ -160,7 +160,7 @@ function getDistance (anchor: ElementPosition, relative: ElementPosition) { * Gets keyboard-focusable elements within a specified element. */ function getKeyboardFocusableElements (element: Element = document.body) { - return [...element.querySelectorAll('a[href], button:not([disabled], [tabindex="-1"]), fieldset:not([disabled]), input:not([disabled], [readonly]), optgroup:not([disabled]), option:not([disabled]), select:not([disabled]), textarea:not([disabled]), details, [tabindex]:not([tabindex="-1"], [disabled]), [contenteditable], [controls]')].filter( + return [...element.querySelectorAll('a[href]:not([disabled], [tabindex="-1"]), button:not([disabled], [tabindex="-1"]), fieldset:not([disabled]), input:not([disabled], [readonly]), optgroup:not([disabled]), option:not([disabled]), select:not([disabled]), textarea:not([disabled]), details, [tabindex]:not([tabindex="-1"], [disabled]), [contenteditable], [controls]')].filter( el => !el.getAttribute('aria-hidden') ) } diff --git a/src/routes/setup/+page.svelte b/src/routes/setup/+page.svelte index 5c5db09..c2f817a 100644 --- a/src/routes/setup/+page.svelte +++ b/src/routes/setup/+page.svelte @@ -22,8 +22,8 @@ - + diff --git a/src/routes/setup/Footer.svelte b/src/routes/setup/Footer.svelte index 19464f9..a45ef7a 100644 --- a/src/routes/setup/Footer.svelte +++ b/src/routes/setup/Footer.svelte @@ -71,7 +71,7 @@ {#await settled} - +

Wait for all checks to settle

diff --git a/src/routes/setup/Progress.svelte b/src/routes/setup/Progress.svelte index f16135d..7e3932a 100644 --- a/src/routes/setup/Progress.svelte +++ b/src/routes/setup/Progress.svelte @@ -16,19 +16,19 @@
- +
Storage
- 0 ? 'default' : 'secondary'} class='w-12 h-12 rounded-[50%] flex justify-center {step > 0 ? 'text-black' : 'text-muted-foreground'}' href={step > 1 ? '../network/' : undefined}> + 0 ? 'default' : 'secondary'} class='w-12 h-12 rounded-[50%] flex justify-center {step > 0 ? 'text-black' : 'text-muted-foreground'}' href={step > 1 ? '../network/' : undefined} tabindex='-1'>
Network
- 1 ? 'default' : 'secondary'} class='w-12 h-12 rounded-[50%] flex justify-center {step > 1 ? 'text-black' : 'text-muted-foreground'}'> + 1 ? 'default' : 'secondary'} class='w-12 h-12 rounded-[50%] flex justify-center {step > 1 ? 'text-black' : 'text-muted-foreground'}' tabindex='-1'>
Extensions