@kayord/ui 0.9.7 → 0.9.10
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/command/command-dialog.svelte.d.ts +17 -17
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +1 -1
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/menubar/menubar-label.svelte.d.ts +1 -1
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/pagination/pagination-link.svelte.d.ts +1 -1
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +1 -1
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +1 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +4 -4
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +2 -2
- package/package.json +20 -20
|
@@ -14,24 +14,24 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
14
14
|
children?: any;
|
|
15
15
|
} : {});
|
|
16
16
|
declare const CommandDialog: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
17
|
-
preventScroll?: boolean;
|
|
18
|
-
closeOnEscape?: boolean;
|
|
19
|
-
closeOnOutsideClick?: boolean;
|
|
20
|
-
onOutsideClick?: (event: PointerEvent | MouseEvent | TouchEvent) => void;
|
|
21
|
-
portal?: HTMLElement | string | null;
|
|
22
|
-
open?: (boolean | undefined) & {};
|
|
23
|
-
onOpenChange?: import("bits-ui/dist/internal").OnChangeFn<boolean
|
|
24
|
-
openFocus?: import("bits-ui").FocusProp;
|
|
25
|
-
closeFocus?: import("bits-ui").FocusProp;
|
|
17
|
+
preventScroll?: boolean | undefined;
|
|
18
|
+
closeOnEscape?: boolean | undefined;
|
|
19
|
+
closeOnOutsideClick?: boolean | undefined;
|
|
20
|
+
onOutsideClick?: ((event: PointerEvent | MouseEvent | TouchEvent) => void) | undefined;
|
|
21
|
+
portal?: (HTMLElement | string | null) | undefined;
|
|
22
|
+
open?: ((boolean | undefined) & {}) | undefined;
|
|
23
|
+
onOpenChange?: import("bits-ui/dist/internal").OnChangeFn<boolean> | undefined;
|
|
24
|
+
openFocus?: import("bits-ui").FocusProp | undefined;
|
|
25
|
+
closeFocus?: import("bits-ui").FocusProp | undefined;
|
|
26
26
|
} & {
|
|
27
|
-
state?: import("svelte/store").Writable<import("cmdk-sv").State
|
|
28
|
-
label?: string;
|
|
29
|
-
shouldFilter?: boolean;
|
|
30
|
-
filter?: (value: string, search: string) => number;
|
|
31
|
-
value?: string;
|
|
32
|
-
onValueChange?: (value: string) => void;
|
|
33
|
-
loop?: boolean;
|
|
34
|
-
ids?: Partial<import("cmdk-sv").CommandIds
|
|
27
|
+
state?: import("svelte/store").Writable<import("cmdk-sv").State> | undefined;
|
|
28
|
+
label?: string | undefined;
|
|
29
|
+
shouldFilter?: boolean | undefined;
|
|
30
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
31
|
+
value?: string | undefined;
|
|
32
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
33
|
+
loop?: boolean | undefined;
|
|
34
|
+
ids?: Partial<import("cmdk-sv").CommandIds> | undefined;
|
|
35
35
|
} & import("cmdk-sv/dist/internal").HTMLDivAttributes & {
|
|
36
36
|
onKeydown?: (e: KeyboardEvent) => void;
|
|
37
37
|
asChild?: boolean;
|
|
@@ -14,7 +14,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
14
14
|
children?: any;
|
|
15
15
|
} : {});
|
|
16
16
|
declare const ContextMenuLabel: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
17
|
-
asChild?: boolean;
|
|
17
|
+
asChild?: boolean | undefined;
|
|
18
18
|
el?: HTMLDivElement | undefined;
|
|
19
19
|
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
20
20
|
inset?: boolean;
|
|
@@ -15,8 +15,8 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
15
15
|
children?: any;
|
|
16
16
|
} : {});
|
|
17
17
|
declare const ContextMenuSubTrigger: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
asChild?: boolean;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
asChild?: boolean | undefined;
|
|
20
20
|
el?: HTMLDivElement | undefined;
|
|
21
21
|
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
22
22
|
inset?: boolean;
|
|
@@ -14,7 +14,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
14
14
|
children?: any;
|
|
15
15
|
} : {});
|
|
16
16
|
declare const DropdownMenuLabel: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
17
|
-
asChild?: boolean;
|
|
17
|
+
asChild?: boolean | undefined;
|
|
18
18
|
el?: HTMLDivElement | undefined;
|
|
19
19
|
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
20
20
|
inset?: boolean;
|
|
@@ -15,8 +15,8 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
15
15
|
children?: any;
|
|
16
16
|
} : {});
|
|
17
17
|
declare const DropdownMenuSubTrigger: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
asChild?: boolean;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
asChild?: boolean | undefined;
|
|
20
20
|
el?: HTMLDivElement | undefined;
|
|
21
21
|
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
22
22
|
inset?: boolean;
|
|
@@ -6,7 +6,7 @@ export * as Avatar from "./avatar/index.js";
|
|
|
6
6
|
export { Badge, type Variant as BadgeVariant, badgeVariants } from "./badge/index.js";
|
|
7
7
|
export { Button, type ButtonEvents, type ButtonProps, buttonVariants } from "./button/index.js";
|
|
8
8
|
export * as Breadcrumb from "./breadcrumb/index.js";
|
|
9
|
-
export
|
|
9
|
+
export { Calendar } from "./calendar/index.js";
|
|
10
10
|
export * as Card from "./card/index.js";
|
|
11
11
|
export * as Carousel from "./carousel/index.js";
|
|
12
12
|
export { Checkbox } from "./checkbox/index.js";
|
|
@@ -6,7 +6,7 @@ export * as Avatar from "./avatar/index.js";
|
|
|
6
6
|
export { Badge, badgeVariants } from "./badge/index.js";
|
|
7
7
|
export { Button, buttonVariants } from "./button/index.js";
|
|
8
8
|
export * as Breadcrumb from "./breadcrumb/index.js";
|
|
9
|
-
export
|
|
9
|
+
export { Calendar } from "./calendar/index.js";
|
|
10
10
|
export * as Card from "./card/index.js";
|
|
11
11
|
export * as Carousel from "./carousel/index.js";
|
|
12
12
|
export { Checkbox } from "./checkbox/index.js";
|
|
@@ -14,7 +14,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
14
14
|
children?: any;
|
|
15
15
|
} : {});
|
|
16
16
|
declare const MenubarLabel: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
17
|
-
asChild?: boolean;
|
|
17
|
+
asChild?: boolean | undefined;
|
|
18
18
|
el?: HTMLDivElement | undefined;
|
|
19
19
|
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
20
20
|
inset?: boolean;
|
|
@@ -15,8 +15,8 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
15
15
|
children?: any;
|
|
16
16
|
} : {});
|
|
17
17
|
declare const MenubarSubTrigger: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
asChild?: boolean;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
asChild?: boolean | undefined;
|
|
20
20
|
el?: HTMLDivElement | undefined;
|
|
21
21
|
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
22
22
|
inset?: boolean;
|
|
@@ -17,7 +17,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
17
17
|
declare const PaginationLink: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
18
|
page: import("bits-ui").Page;
|
|
19
19
|
} & {
|
|
20
|
-
asChild?: boolean;
|
|
20
|
+
asChild?: boolean | undefined;
|
|
21
21
|
el?: HTMLButtonElement | undefined;
|
|
22
22
|
} & (import("svelte/elements").HTMLButtonAttributes & Props & {
|
|
23
23
|
isActive: boolean;
|
|
@@ -14,7 +14,7 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
14
14
|
children?: any;
|
|
15
15
|
} : {});
|
|
16
16
|
declare const ScrollAreaScrollbar: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
17
|
-
asChild?: boolean;
|
|
17
|
+
asChild?: boolean | undefined;
|
|
18
18
|
el?: HTMLDivElement | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
orientation: "horizontal" | "vertical";
|
|
@@ -21,7 +21,7 @@ declare const SheetContent: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_Pr
|
|
|
21
21
|
inTransitionConfig?: any;
|
|
22
22
|
outTransition?: import("bits-ui/dist/internal/types.js").Transition | undefined;
|
|
23
23
|
outTransitionConfig?: any;
|
|
24
|
-
asChild?: boolean;
|
|
24
|
+
asChild?: boolean | undefined;
|
|
25
25
|
el?: HTMLDivElement | undefined;
|
|
26
26
|
} & import("bits-ui/dist/internal/types.js").HTMLDivAttributes & {
|
|
27
27
|
side?: Side;
|
|
@@ -16,10 +16,10 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
16
|
children?: any;
|
|
17
17
|
} : {});
|
|
18
18
|
declare const Toggle: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
pressed?: boolean;
|
|
21
|
-
onPressedChange?: import("bits-ui/dist/internal/types.js").OnChangeFn<boolean
|
|
22
|
-
asChild?: boolean;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
pressed?: boolean | undefined;
|
|
21
|
+
onPressedChange?: import("bits-ui/dist/internal/types.js").OnChangeFn<boolean> | undefined;
|
|
22
|
+
asChild?: boolean | undefined;
|
|
23
23
|
el?: HTMLButtonElement | undefined;
|
|
24
24
|
} & import("svelte/elements.js").HTMLButtonAttributes & {
|
|
25
25
|
variant?: Variant;
|
|
@@ -16,8 +16,8 @@ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
|
16
16
|
} : {});
|
|
17
17
|
declare const ToggleGroupItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
18
|
value: string;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
asChild?: boolean;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
asChild?: boolean | undefined;
|
|
21
21
|
el?: HTMLButtonElement | undefined;
|
|
22
22
|
} & import("svelte/elements.js").HTMLButtonAttributes & ToggleVariants, {
|
|
23
23
|
default: {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayord/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.10",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"zod": "^3.23.8"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@internationalized/date": "^3.5.
|
|
35
|
+
"@internationalized/date": "^3.5.5",
|
|
36
36
|
"bits-ui": "^0.21.12",
|
|
37
37
|
"clsx": "^2.1.1",
|
|
38
|
-
"cmdk-sv": "^0.0.
|
|
39
|
-
"embla-carousel-svelte": "8.1.
|
|
38
|
+
"cmdk-sv": "^0.0.18",
|
|
39
|
+
"embla-carousel-svelte": "8.1.7",
|
|
40
40
|
"formsnap": "^1.0.1",
|
|
41
|
-
"mode-watcher": "^0.
|
|
41
|
+
"mode-watcher": "^0.4.0",
|
|
42
42
|
"paneforge": "^0.0.5",
|
|
43
43
|
"svelte-headless-table": "^0.18.2",
|
|
44
|
-
"svelte-sonner": "^0.3.
|
|
44
|
+
"svelte-sonner": "^0.3.27",
|
|
45
45
|
"tailwind-merge": "^2.4.0",
|
|
46
46
|
"tailwind-variants": "^0.2.1",
|
|
47
47
|
"vaul-svelte": "^0.3.2"
|
|
@@ -51,34 +51,34 @@
|
|
|
51
51
|
"@sveltejs/kit": "^2.5.18",
|
|
52
52
|
"@sveltejs/package": "^2.3.2",
|
|
53
53
|
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
|
54
|
-
"@testing-library/jest-dom": "^6.4.
|
|
54
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
55
55
|
"@testing-library/svelte": "^5.2.0",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
57
|
-
"@typescript-eslint/parser": "^7.
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^7.17.0",
|
|
57
|
+
"@typescript-eslint/parser": "^7.17.0",
|
|
58
58
|
"autoprefixer": "^10.4.19",
|
|
59
59
|
"eslint": "^8.56.0",
|
|
60
60
|
"eslint-config-prettier": "^9.1.0",
|
|
61
|
-
"eslint-plugin-svelte": "^2.
|
|
61
|
+
"eslint-plugin-svelte": "^2.43.0",
|
|
62
62
|
"happy-dom": "^14.12.3",
|
|
63
|
-
"lucide-svelte": "^0.
|
|
64
|
-
"postcss": "^8.4.
|
|
63
|
+
"lucide-svelte": "^0.414.0",
|
|
64
|
+
"postcss": "^8.4.40",
|
|
65
65
|
"postcss-load-config": "^5.1.0",
|
|
66
|
-
"prettier": "^3.3.
|
|
67
|
-
"prettier-plugin-svelte": "^3.2.
|
|
68
|
-
"publint": "^0.2.
|
|
66
|
+
"prettier": "^3.3.3",
|
|
67
|
+
"prettier-plugin-svelte": "^3.2.6",
|
|
68
|
+
"publint": "^0.2.9",
|
|
69
69
|
"svelte": "5.0.0-next.158",
|
|
70
70
|
"svelte-check": "^3.8.4",
|
|
71
|
-
"tailwindcss": "^3.4.
|
|
71
|
+
"tailwindcss": "^3.4.6",
|
|
72
72
|
"tslib": "^2.6.3",
|
|
73
|
-
"typescript": "^5.5.
|
|
74
|
-
"vite": "^5.3.
|
|
75
|
-
"vitest": "^2.0.
|
|
73
|
+
"typescript": "^5.5.4",
|
|
74
|
+
"vite": "^5.3.4",
|
|
75
|
+
"vitest": "^2.0.4"
|
|
76
76
|
},
|
|
77
77
|
"svelte": "./dist/index.js",
|
|
78
78
|
"types": "./dist/index.d.ts",
|
|
79
79
|
"main": "./dist/index.js",
|
|
80
80
|
"type": "module",
|
|
81
|
-
"packageManager": "pnpm@9.
|
|
81
|
+
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
|
|
82
82
|
"scripts": {
|
|
83
83
|
"dev": "vite dev",
|
|
84
84
|
"build": "vite build && npm run package",
|