@kayord/ui 2.1.10 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/alert/alert.svelte +1 -1
- package/dist/components/ui/chip/chip.svelte +1 -1
- package/dist/components/ui/color-picker/color-picker.svelte +1 -1
- package/dist/components/ui/date-strip/date-strip.svelte +1 -1
- package/dist/components/ui/dynamic-select/dynamic-select-item.svelte +1 -1
- package/dist/components/ui/dynamic-select/dynamic-select-trigger.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-menu-button.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-menu-button.svelte.d.ts +2 -2
- package/package.json +15 -16
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
} = $props();
|
|
34
34
|
</script>
|
|
35
35
|
|
|
36
|
-
<div bind:this={ref} data-slot="alert" class={cn(alertVariants({ variant }), className)} {...restProps}
|
|
36
|
+
<div bind:this={ref} data-slot="alert" role="alert" class={cn(alertVariants({ variant }), className)} {...restProps}>
|
|
37
37
|
{@render children?.()}
|
|
38
38
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { cn } from "../../../utils";
|
|
3
3
|
import { Button } from "../button";
|
|
4
|
-
import { ChevronDown } from "lucide
|
|
4
|
+
import { ChevronDown } from "@lucide/svelte";
|
|
5
5
|
import * as Popover from "../popover";
|
|
6
6
|
import * as Command from "../command";
|
|
7
7
|
import * as ButtonGroup from "../button-group";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { cn } from "../../../utils";
|
|
3
3
|
import { setDateStripContext } from "./ctx";
|
|
4
4
|
import { Button } from "../button";
|
|
5
|
-
import { ChevronLeft, ChevronRight } from "lucide
|
|
5
|
+
import { ChevronLeft, ChevronRight } from "@lucide/svelte";
|
|
6
6
|
import type { Snippet } from "svelte";
|
|
7
7
|
import { type DateValue, getLocalTimeZone, today, startOfWeek } from "@internationalized/date";
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { cn } from "../../../utils";
|
|
3
3
|
import * as Command from "../command";
|
|
4
|
-
import { Check } from "lucide
|
|
4
|
+
import { Check } from "@lucide/svelte";
|
|
5
5
|
import { getDynamicSelectContext } from "./ctx";
|
|
6
6
|
import type { Snippet } from "svelte";
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { cn } from "../../../utils";
|
|
3
3
|
import * as Popover from "../popover";
|
|
4
4
|
import { buttonVariants } from "../button";
|
|
5
|
-
import { ChevronDown } from "lucide
|
|
5
|
+
import { ChevronDown } from "@lucide/svelte";
|
|
6
6
|
import { getDynamicSelectContext } from "./ctx";
|
|
7
7
|
import type { Snippet } from "svelte";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { tv, type VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
export const sidebarMenuButtonVariants = tv({
|
|
5
|
-
base: "peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-
|
|
5
|
+
base: "peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-clip rounded-md p-2 text-start text-sm outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
8
8
|
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
@@ -9,7 +9,7 @@ export declare const sidebarMenuButtonVariants: import("tailwind-variants").TVRe
|
|
|
9
9
|
sm: string;
|
|
10
10
|
lg: string;
|
|
11
11
|
};
|
|
12
|
-
}, undefined, "peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-
|
|
12
|
+
}, undefined, "peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-clip rounded-md p-2 text-start text-sm outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", {
|
|
13
13
|
variant: {
|
|
14
14
|
default: string;
|
|
15
15
|
outline: string;
|
|
@@ -29,7 +29,7 @@ export declare const sidebarMenuButtonVariants: import("tailwind-variants").TVRe
|
|
|
29
29
|
sm: string;
|
|
30
30
|
lg: string;
|
|
31
31
|
};
|
|
32
|
-
}, undefined, "peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-
|
|
32
|
+
}, undefined, "peer/menu-button ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-2 overflow-clip rounded-md p-2 text-start text-sm outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", unknown, unknown, undefined>>;
|
|
33
33
|
export type SidebarMenuButtonVariant = VariantProps<typeof sidebarMenuButtonVariants>["variant"];
|
|
34
34
|
export type SidebarMenuButtonSize = VariantProps<typeof sidebarMenuButtonVariants>["size"];
|
|
35
35
|
import * as Tooltip from "../tooltip/index.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayord/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/kayordDX/ui"
|
|
@@ -105,22 +105,21 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"bits-ui": "2.
|
|
108
|
+
"bits-ui": "2.16.2",
|
|
109
109
|
"clsx": "^2.1.1",
|
|
110
|
-
"
|
|
111
|
-
"tailwind-merge": "^3.4.0",
|
|
110
|
+
"tailwind-merge": "^3.5.0",
|
|
112
111
|
"tailwind-variants": "^3.2.2"
|
|
113
112
|
},
|
|
114
113
|
"devDependencies": {
|
|
115
114
|
"@eslint/compat": "^2.0.2",
|
|
116
115
|
"@eslint/js": "^10.0.1",
|
|
117
116
|
"@internationalized/date": "^3.11.0",
|
|
118
|
-
"@lucide/svelte": "^0.
|
|
119
|
-
"@sveltejs/adapter-auto": "^7.0.
|
|
120
|
-
"@sveltejs/kit": "^2.
|
|
117
|
+
"@lucide/svelte": "^0.575.0",
|
|
118
|
+
"@sveltejs/adapter-auto": "^7.0.1",
|
|
119
|
+
"@sveltejs/kit": "^2.53.4",
|
|
121
120
|
"@sveltejs/package": "^2.5.7",
|
|
122
121
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
123
|
-
"@tailwindcss/vite": "^4.1
|
|
122
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
124
123
|
"@types/d3-scale": "^4.0.9",
|
|
125
124
|
"@types/d3-shape": "^3.1.8",
|
|
126
125
|
"@vitest/browser": "^4.0.18",
|
|
@@ -128,28 +127,28 @@
|
|
|
128
127
|
"d3-scale": "^4.0.2",
|
|
129
128
|
"d3-shape": "^3.2.0",
|
|
130
129
|
"embla-carousel-svelte": "^8.6.0",
|
|
131
|
-
"eslint": "^10.0.
|
|
130
|
+
"eslint": "^10.0.2",
|
|
132
131
|
"eslint-config-prettier": "^10.1.8",
|
|
133
132
|
"eslint-plugin-svelte": "^3.15.0",
|
|
134
133
|
"formsnap": "^2.0.1",
|
|
135
|
-
"globals": "^17.
|
|
134
|
+
"globals": "^17.4.0",
|
|
136
135
|
"layerchart": "2.0.0-next.40",
|
|
137
136
|
"mode-watcher": "^1.1.0",
|
|
138
137
|
"paneforge": "^1.0.2",
|
|
139
138
|
"prettier": "^3.8.1",
|
|
140
|
-
"prettier-plugin-svelte": "^3.
|
|
139
|
+
"prettier-plugin-svelte": "^3.5.0",
|
|
141
140
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
142
141
|
"publint": "^0.3.17",
|
|
143
142
|
"runed": "^0.37.1",
|
|
144
|
-
"svelte": "5.
|
|
145
|
-
"svelte-check": "^4.
|
|
143
|
+
"svelte": "5.53.6",
|
|
144
|
+
"svelte-check": "^4.4.4",
|
|
146
145
|
"svelte-sonner": "^1.0.7",
|
|
147
|
-
"sveltekit-superforms": "^2.
|
|
148
|
-
"tailwindcss": "^4.1
|
|
146
|
+
"sveltekit-superforms": "^2.30.0",
|
|
147
|
+
"tailwindcss": "^4.2.1",
|
|
149
148
|
"tslib": "^2.8.1",
|
|
150
149
|
"tw-animate-css": "1.4.0",
|
|
151
150
|
"typescript": "^5.9.3",
|
|
152
|
-
"typescript-eslint": "^8.
|
|
151
|
+
"typescript-eslint": "^8.56.1",
|
|
153
152
|
"vaul-svelte": "1.0.0-next.7",
|
|
154
153
|
"vite": "^7.3.1",
|
|
155
154
|
"vitest": "^4.0.18",
|