@kayord/ui 0.18.0 → 0.18.2

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.
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Command as CommandPrimitive } from "bits-ui";
2
+ import { Command as CommandPrimitive, useId } from "bits-ui";
3
3
  import { cn } from "../../../utils.js";
4
4
 
5
5
  let {
@@ -7,13 +7,19 @@
7
7
  class: className,
8
8
  children,
9
9
  heading,
10
+ value,
10
11
  ...restProps
11
12
  }: CommandPrimitive.GroupProps & {
12
13
  heading?: string;
13
14
  } = $props();
14
15
  </script>
15
16
 
16
- <CommandPrimitive.Group class={cn("text-foreground overflow-hidden p-1", className)} bind:ref {...restProps}>
17
+ <CommandPrimitive.Group
18
+ class={cn("text-foreground overflow-hidden p-1", className)}
19
+ bind:ref
20
+ value={value ?? heading ?? `----${useId()}`}
21
+ {...restProps}
22
+ >
17
23
  {#if heading}
18
24
  <CommandPrimitive.GroupHeading class="text-muted-foreground px-2 py-1.5 text-xs font-medium">
19
25
  {heading}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kayord/ui",
3
3
  "private": false,
4
- "version": "0.18.0",
4
+ "version": "0.18.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@internationalized/date": "^3.8.0",
37
- "bits-ui": "1.3.19",
37
+ "bits-ui": "1.4.6",
38
38
  "clsx": "^2.1.1",
39
39
  "embla-carousel-svelte": "8.6.0",
40
40
  "formsnap": "2.0.1",
41
- "mode-watcher": "^1.0.2",
41
+ "mode-watcher": "^1.0.6",
42
42
  "paneforge": "1.0.0-next.5",
43
43
  "svelte-sonner": "^0.3.28",
44
44
  "tailwind-merge": "^3.2.0",
@@ -46,39 +46,39 @@
46
46
  "vaul-svelte": "1.0.0-next.7"
47
47
  },
48
48
  "devDependencies": {
49
- "@lucide/svelte": "^0.501.0",
49
+ "@lucide/svelte": "^0.508.0",
50
50
  "@sveltejs/adapter-auto": "^6.0.0",
51
- "@sveltejs/kit": "^2.20.7",
51
+ "@sveltejs/kit": "^2.20.8",
52
52
  "@sveltejs/package": "^2.3.11",
53
53
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
54
- "@tailwindcss/vite": "^4.1.4",
54
+ "@tailwindcss/vite": "^4.1.5",
55
55
  "@testing-library/jest-dom": "^6.6.3",
56
56
  "@testing-library/svelte": "^5.2.7",
57
- "@typescript-eslint/eslint-plugin": "^8.30.1",
58
- "@typescript-eslint/parser": "^8.30.1",
59
- "eslint": "^9.25.0",
60
- "eslint-config-prettier": "^10.1.2",
57
+ "@typescript-eslint/eslint-plugin": "^8.32.0",
58
+ "@typescript-eslint/parser": "^8.32.0",
59
+ "eslint": "^9.26.0",
60
+ "eslint-config-prettier": "^10.1.3",
61
61
  "eslint-plugin-svelte": "^3.5.1",
62
- "happy-dom": "^17.4.4",
62
+ "happy-dom": "^17.4.6",
63
63
  "prettier": "^3.5.3",
64
64
  "prettier-plugin-svelte": "^3.3.3",
65
65
  "prettier-plugin-tailwindcss": "^0.6.11",
66
66
  "publint": "^0.3.12",
67
- "svelte": "^5.28.1",
68
- "svelte-check": "^4.1.6",
69
- "tailwindcss": "^4.1.4",
67
+ "svelte": "^5.28.2",
68
+ "svelte-check": "^4.1.7",
69
+ "tailwindcss": "^4.1.5",
70
70
  "tslib": "^2.8.1",
71
- "tw-animate-css": "1.2.7",
71
+ "tw-animate-css": "1.2.9",
72
72
  "typescript": "^5.8.3",
73
- "vite": "^6.3.2",
74
- "vitest": "^3.1.1",
75
- "zod": "^3.24.3"
73
+ "vite": "^6.3.5",
74
+ "vitest": "^3.1.3",
75
+ "zod": "^3.24.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@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677",
81
+ "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
82
82
  "scripts": {
83
83
  "dev": "vite dev",
84
84
  "build": "vite build && npm run package",