@kayord/ui 0.0.20 → 0.0.22
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.
|
@@ -6,14 +6,16 @@ let className = void 0;
|
|
|
6
6
|
export { className as class };
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
<div class="relative">
|
|
10
|
+
<FormPrimitive.Select
|
|
11
|
+
class={cn(
|
|
12
|
+
buttonVariants({ variant: "outline" }),
|
|
13
|
+
"appearance-none bg-transparent font-normal",
|
|
14
|
+
className
|
|
15
|
+
)}
|
|
16
|
+
{...$$restProps}
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</FormPrimitive.Select>
|
|
20
|
+
<ChevronDown class="absolute right-3 top-2.5 h-4 w-4 opacity-50" />
|
|
21
|
+
</div>
|
|
@@ -4,7 +4,13 @@ const { attrStore } = getFormField();
|
|
|
4
4
|
export let placeholder = "";
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
|
-
<Select.Trigger
|
|
7
|
+
<Select.Trigger
|
|
8
|
+
{...$$restProps}
|
|
9
|
+
{...$attrStore}
|
|
10
|
+
on:click
|
|
11
|
+
on:keydown
|
|
12
|
+
type="button"
|
|
13
|
+
>
|
|
8
14
|
<Select.Value {placeholder} />
|
|
9
15
|
<slot />
|
|
10
16
|
</Select.Trigger>
|
|
@@ -11,7 +11,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsib
|
|
|
11
11
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from "./context-menu/index.js";
|
|
12
12
|
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog/index.js";
|
|
13
13
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, } from "./dropdown-menu/index.js";
|
|
14
|
-
export
|
|
14
|
+
export * as Form from "./form/index.js";
|
|
15
15
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./hover-card/index.js";
|
|
16
16
|
export { Input, type InputEvents } from "./input/index.js";
|
|
17
17
|
export { Label } from "./label/index.js";
|
|
@@ -11,7 +11,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsib
|
|
|
11
11
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from "./context-menu/index.js";
|
|
12
12
|
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog/index.js";
|
|
13
13
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, } from "./dropdown-menu/index.js";
|
|
14
|
-
export
|
|
14
|
+
export * as Form from "./form/index.js";
|
|
15
15
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from "./hover-card/index.js";
|
|
16
16
|
export { Input } from "./input/index.js";
|
|
17
17
|
export { Label } from "./label/index.js";
|
package/dist/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayord/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.22",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"svelte": "^4.0.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"bits-ui": "^0.9.
|
|
24
|
+
"bits-ui": "^0.9.8",
|
|
25
25
|
"clsx": "^2.0.0",
|
|
26
|
-
"cmdk-sv": "^0.0.
|
|
26
|
+
"cmdk-sv": "^0.0.12",
|
|
27
27
|
"formsnap": "^0.4.1",
|
|
28
28
|
"lucide-svelte": "^0.292.0",
|
|
29
|
-
"mode-watcher": "^0.
|
|
29
|
+
"mode-watcher": "^0.1.1",
|
|
30
30
|
"sveltekit-superforms": "^1.10.2",
|
|
31
31
|
"tailwind-merge": "^2.0.0",
|
|
32
32
|
"tailwind-variants": "^0.1.18",
|
|
33
33
|
"zod": "^3.22.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@playwright/test": "^1.
|
|
36
|
+
"@playwright/test": "^1.40.0",
|
|
37
37
|
"@sveltejs/adapter-auto": "^2.1.1",
|
|
38
38
|
"@sveltejs/kit": "^1.27.6",
|
|
39
|
-
"@sveltejs/package": "^2.2.
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
41
|
-
"@typescript-eslint/parser": "^6.
|
|
39
|
+
"@sveltejs/package": "^2.2.3",
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
41
|
+
"@typescript-eslint/parser": "^6.12.0",
|
|
42
42
|
"autoprefixer": "^10.4.16",
|
|
43
|
-
"eslint": "^8.
|
|
43
|
+
"eslint": "^8.54.0",
|
|
44
44
|
"eslint-config-prettier": "^9.0.0",
|
|
45
|
-
"eslint-plugin-svelte": "^2.35.
|
|
45
|
+
"eslint-plugin-svelte": "^2.35.1",
|
|
46
46
|
"postcss": "^8.4.31",
|
|
47
|
-
"postcss-load-config": "^4.0.
|
|
47
|
+
"postcss-load-config": "^4.0.2",
|
|
48
48
|
"prettier": "^3.1.0",
|
|
49
|
-
"prettier-plugin-svelte": "^3.1.
|
|
49
|
+
"prettier-plugin-svelte": "^3.1.2",
|
|
50
50
|
"publint": "^0.2.5",
|
|
51
|
-
"svelte": "^4.2.
|
|
52
|
-
"svelte-check": "^3.6.
|
|
51
|
+
"svelte": "^4.2.7",
|
|
52
|
+
"svelte-check": "^3.6.1",
|
|
53
53
|
"tailwindcss": "^3.3.5",
|
|
54
54
|
"tslib": "^2.6.2",
|
|
55
|
-
"typescript": "^5.
|
|
56
|
-
"vite": "^
|
|
55
|
+
"typescript": "^5.3.2",
|
|
56
|
+
"vite": "^5.0.2",
|
|
57
57
|
"vitest": "^0.34.6"
|
|
58
58
|
},
|
|
59
59
|
"svelte": "./dist/index.js",
|