@vuer-ai/vuer-uikit 0.0.59 → 0.0.62

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.
Files changed (135) hide show
  1. package/dist/chunk-2MANWDY4.mjs +39 -0
  2. package/dist/{chunk-J2TJJ4YH.js → chunk-2WCO4NPU.js} +10 -3
  3. package/dist/{chunk-T37FSYLK.mjs → chunk-2Y6NIUSX.mjs} +2 -2
  4. package/dist/{chunk-OOH6BI7I.mjs → chunk-3MSEMXKG.mjs} +5 -2
  5. package/dist/{chunk-7EWHU4SB.mjs → chunk-4SECPMPM.mjs} +75 -26
  6. package/dist/{chunk-FPSWEVCK.mjs → chunk-5PDVUXZO.mjs} +2 -4
  7. package/dist/{chunk-O5QD5XZS.mjs → chunk-76NWNNDA.mjs} +1 -1
  8. package/dist/{chunk-Q2LMEEB2.mjs → chunk-7GTXMXPC.mjs} +2 -2
  9. package/dist/chunk-7LOOS5CJ.mjs +27 -0
  10. package/dist/{chunk-RL3EV2RL.js → chunk-CBDFFXCA.js} +9 -9
  11. package/dist/{chunk-HDCXNW5P.js → chunk-DWI3BFMZ.js} +2 -2
  12. package/dist/{chunk-VLDO7LYO.mjs → chunk-FEUYP5OW.mjs} +2 -2
  13. package/dist/{chunk-3I5BVCPY.mjs → chunk-FGWHLUIE.mjs} +1 -1
  14. package/dist/{chunk-ZCKEYTDL.js → chunk-HWLHWZRI.js} +4 -5
  15. package/dist/{chunk-UJA4XCVW.js → chunk-J2GBP6H3.js} +75 -26
  16. package/dist/chunk-JEMCMVSM.js +42 -0
  17. package/dist/{chunk-C3HBUGCO.mjs → chunk-JSNFXIT2.mjs} +1 -1
  18. package/dist/{chunk-JMPDHQBY.js → chunk-KE2GASJJ.js} +16 -2
  19. package/dist/{chunk-YORCEFNH.js → chunk-LWUN6L6Z.js} +5 -2
  20. package/dist/{chunk-6S7B22YF.mjs → chunk-N4S67ZRW.mjs} +1 -1
  21. package/dist/{chunk-NSE6SXNA.js → chunk-N7NPTGOF.js} +3 -2
  22. package/dist/{chunk-KPKKHLM6.js → chunk-OBFEPD4O.js} +1 -1
  23. package/dist/{chunk-N7NM2MPV.js → chunk-QFS3XFKL.js} +7 -7
  24. package/dist/{chunk-V7M25KDJ.js → chunk-QM3CVLZQ.js} +6 -6
  25. package/dist/{chunk-OWZMYPD3.js → chunk-R5VTD7F2.js} +2 -2
  26. package/dist/{chunk-CRE7YQEB.js → chunk-RXIMVLG5.js} +8 -8
  27. package/dist/{chunk-3E3LCWE5.js → chunk-S7UYK47Y.js} +4 -4
  28. package/dist/{chunk-3EAUURAO.mjs → chunk-SCN6F2EN.mjs} +3 -2
  29. package/dist/{chunk-OFBBZNH6.mjs → chunk-SFVGTTM7.mjs} +4 -5
  30. package/dist/{chunk-FHHN46LS.js → chunk-SXKPRTJS.js} +2 -4
  31. package/dist/{chunk-7TRHG4GB.js → chunk-TN2P3E6O.js} +7 -7
  32. package/dist/{chunk-3IAVL75H.mjs → chunk-WHIR6MGP.mjs} +2 -2
  33. package/dist/chunk-XMIM2RFX.js +2 -0
  34. package/dist/{chunk-VIMB2UTE.mjs → chunk-XSJ6XVTR.mjs} +10 -3
  35. package/dist/{chunk-EPB22MJB.mjs → chunk-ZVN4KYHQ.mjs} +2 -2
  36. package/dist/chunk-ZZSMYEH2.mjs +1 -0
  37. package/dist/highlight-cursor/enhanced-components.js +8 -8
  38. package/dist/highlight-cursor/enhanced-components.mjs +3 -3
  39. package/dist/highlight-cursor/index.js +8 -8
  40. package/dist/highlight-cursor/index.mjs +3 -3
  41. package/dist/index.css +6 -1
  42. package/dist/index.d.mts +1 -0
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.js +133 -123
  45. package/dist/index.mjs +22 -20
  46. package/dist/styles/theme.css +6 -1
  47. package/dist/styles/variables.css +4 -0
  48. package/dist/ui/button.js +3 -3
  49. package/dist/ui/button.mjs +1 -1
  50. package/dist/ui/icons/cursor.d.mts +9 -0
  51. package/dist/ui/icons/cursor.d.ts +9 -0
  52. package/dist/ui/icons/cursor.js +14 -0
  53. package/dist/ui/icons/cursor.mjs +1 -0
  54. package/dist/ui/icons/index.d.mts +2 -0
  55. package/dist/ui/icons/index.d.ts +2 -0
  56. package/dist/ui/icons/index.js +15 -0
  57. package/dist/ui/icons/index.mjs +2 -0
  58. package/dist/ui/index.d.mts +1 -0
  59. package/dist/ui/index.d.ts +1 -0
  60. package/dist/ui/index.js +127 -117
  61. package/dist/ui/index.mjs +21 -19
  62. package/dist/ui/label.d.mts +5 -1
  63. package/dist/ui/label.d.ts +5 -1
  64. package/dist/ui/label.js +2 -2
  65. package/dist/ui/label.mjs +1 -1
  66. package/dist/ui/layouts/index.js +4 -4
  67. package/dist/ui/layouts/index.mjs +3 -3
  68. package/dist/ui/layouts/liquid-layout/{LiquidLayoutComponents.js → LayoutSlots.js} +7 -7
  69. package/dist/ui/layouts/liquid-layout/{LiquidLayoutComponents.mjs → LayoutSlots.mjs} +1 -1
  70. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.js +3 -3
  71. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +2 -2
  72. package/dist/ui/layouts/liquid-layout/index.js +3 -3
  73. package/dist/ui/layouts/liquid-layout/index.mjs +2 -2
  74. package/dist/ui/modal.js +11 -11
  75. package/dist/ui/modal.mjs +1 -1
  76. package/dist/ui/pagination.js +9 -9
  77. package/dist/ui/pagination.mjs +2 -2
  78. package/dist/ui/popover.js +5 -5
  79. package/dist/ui/popover.mjs +1 -1
  80. package/dist/ui/select.d.mts +16 -7
  81. package/dist/ui/select.d.ts +16 -7
  82. package/dist/ui/select.js +32 -32
  83. package/dist/ui/select.mjs +1 -1
  84. package/dist/ui/sidebar.js +27 -27
  85. package/dist/ui/sidebar.mjs +3 -3
  86. package/dist/ui/switch.js +2 -2
  87. package/dist/ui/switch.mjs +1 -1
  88. package/dist/ui/theme/ThemeToggles.js +5 -5
  89. package/dist/ui/theme/ThemeToggles.mjs +3 -3
  90. package/dist/ui/theme/index.js +5 -5
  91. package/dist/ui/theme/index.mjs +3 -3
  92. package/dist/ui/timeline.js +4 -4
  93. package/dist/ui/timeline.mjs +3 -3
  94. package/dist/ui/toolbar.d.mts +1 -1
  95. package/dist/ui/toolbar.d.ts +1 -1
  96. package/dist/ui/toolbar.js +4 -4
  97. package/dist/ui/toolbar.mjs +1 -1
  98. package/dist/ui/tooltip.js +5 -5
  99. package/dist/ui/tooltip.mjs +1 -1
  100. package/dist/ui/tree-view-v2.js +3 -3
  101. package/dist/ui/tree-view-v2.mjs +2 -2
  102. package/dist/ui/version-badge.js +2 -2
  103. package/dist/ui/version-badge.mjs +1 -1
  104. package/package.json +1 -1
  105. package/dist/chunk-Z2MG4ZXD.mjs +0 -13
  106. package/dist/ui/layouts/liquid-layout/BottomSlot.d.mts +0 -5
  107. package/dist/ui/layouts/liquid-layout/BottomSlot.d.ts +0 -5
  108. package/dist/ui/layouts/liquid-layout/BottomSlot.js +0 -114
  109. package/dist/ui/layouts/liquid-layout/BottomSlot.mjs +0 -112
  110. package/dist/ui/layouts/liquid-layout/Left1.d.mts +0 -5
  111. package/dist/ui/layouts/liquid-layout/Left1.d.ts +0 -5
  112. package/dist/ui/layouts/liquid-layout/Left1.js +0 -17
  113. package/dist/ui/layouts/liquid-layout/Left1.mjs +0 -15
  114. package/dist/ui/layouts/liquid-layout/Left2.d.mts +0 -5
  115. package/dist/ui/layouts/liquid-layout/Left2.d.ts +0 -5
  116. package/dist/ui/layouts/liquid-layout/Left2.js +0 -17
  117. package/dist/ui/layouts/liquid-layout/Left2.mjs +0 -15
  118. package/dist/ui/layouts/liquid-layout/Right1.d.mts +0 -5
  119. package/dist/ui/layouts/liquid-layout/Right1.d.ts +0 -5
  120. package/dist/ui/layouts/liquid-layout/Right1.js +0 -20
  121. package/dist/ui/layouts/liquid-layout/Right1.mjs +0 -18
  122. package/dist/ui/layouts/liquid-layout/Right2.d.mts +0 -5
  123. package/dist/ui/layouts/liquid-layout/Right2.d.ts +0 -5
  124. package/dist/ui/layouts/liquid-layout/Right2.js +0 -20
  125. package/dist/ui/layouts/liquid-layout/Right2.mjs +0 -18
  126. package/dist/ui/layouts/liquid-layout/TopMenuBar.d.mts +0 -5
  127. package/dist/ui/layouts/liquid-layout/TopMenuBar.d.ts +0 -5
  128. package/dist/ui/layouts/liquid-layout/TopMenuBar.js +0 -90
  129. package/dist/ui/layouts/liquid-layout/TopMenuBar.mjs +0 -88
  130. /package/dist/{chunk-QENKBRGO.js → chunk-2S4V3MLC.js} +0 -0
  131. /package/dist/{chunk-523WCEFP.mjs → chunk-377KHKNW.mjs} +0 -0
  132. /package/dist/{chunk-PR4EQUHW.mjs → chunk-LAZO5ZDT.mjs} +0 -0
  133. /package/dist/{chunk-HHCIBUGQ.js → chunk-QMAWDX2D.js} +0 -0
  134. /package/dist/ui/layouts/liquid-layout/{LiquidLayoutComponents.d.mts → LayoutSlots.d.mts} +0 -0
  135. /package/dist/ui/layouts/liquid-layout/{LiquidLayoutComponents.d.ts → LayoutSlots.d.ts} +0 -0
@@ -0,0 +1,39 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+
3
+ // src/ui/icons/cursor.tsx
4
+ var CursorFilledIcon = ({ strokeWidth = 2.25 }) => {
5
+ return /* @__PURE__ */ jsx(
6
+ "svg",
7
+ {
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: "16",
10
+ height: "16",
11
+ viewBox: "0 0 24 24",
12
+ fill: "currentColor",
13
+ stroke: "currentColor",
14
+ strokeWidth: strokeWidth / 2,
15
+ className: "lucide lucide-mouse-pointer2-icon lucide-mouse-pointer-2",
16
+ children: /* @__PURE__ */ jsx("path", { d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" })
17
+ }
18
+ );
19
+ };
20
+ var CursorIcon = ({ strokeWidth = 2.25 }) => {
21
+ return /* @__PURE__ */ jsx(
22
+ "svg",
23
+ {
24
+ xmlns: "http://www.w3.org/2000/svg",
25
+ width: "16",
26
+ height: "16",
27
+ viewBox: "0 0 24 24",
28
+ fill: "none",
29
+ stroke: "currentColor",
30
+ strokeWidth,
31
+ strokeLinecap: "round",
32
+ strokeLinejoin: "round",
33
+ className: "lucide lucide-mouse-pointer2-icon lucide-mouse-pointer-2",
34
+ children: /* @__PURE__ */ jsx("path", { d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" })
35
+ }
36
+ );
37
+ };
38
+
39
+ export { CursorFilledIcon, CursorIcon };
@@ -86,7 +86,8 @@ function TooltipContent({
86
86
  "data-slot": "tooltip-content",
87
87
  sideOffset,
88
88
  className: chunkYUTSR2OT_js.cn(
89
- "bg-bg-secondary",
89
+ "bg-bg-primary",
90
+ "liquid:liquid-bg",
90
91
  "text-text-primary",
91
92
  "animate-in",
92
93
  "text-uk-sm",
@@ -108,7 +109,6 @@ function TooltipContent({
108
109
  "w-fit",
109
110
  "origin-(--radix-tooltip-content-transform-origin)",
110
111
  "text-balance",
111
- "liquid:liquid-bg",
112
112
  className
113
113
  ),
114
114
  ...props,
@@ -117,7 +117,14 @@ function TooltipContent({
117
117
  /* @__PURE__ */ jsxRuntime.jsx(
118
118
  TooltipPrimitive__namespace.Arrow,
119
119
  {
120
- className: "fill-bg-secondary liquid:liquid-bg z-50 h-[9px] w-[20px] border-none",
120
+ className: chunkYUTSR2OT_js.cn(
121
+ "z-50",
122
+ "h-[9px] w-[20px]",
123
+ "border-none",
124
+ "bg-bg-primary",
125
+ "fill-bg-primary",
126
+ "liquid:liquid-bg-svg"
127
+ ),
121
128
  style: {
122
129
  clipPath: "polygon(50% 100%, 0% 0%, 100% 0%)",
123
130
  borderRadius: "1px 1px 0 0"
@@ -1,6 +1,6 @@
1
1
  import { useTheme } from './chunk-TVTAYHN7.mjs';
2
- import { Tooltip, TooltipTrigger, TooltipContent } from './chunk-VIMB2UTE.mjs';
3
- import { Button } from './chunk-OOH6BI7I.mjs';
2
+ import { Tooltip, TooltipTrigger, TooltipContent } from './chunk-XSJ6XVTR.mjs';
3
+ import { Button } from './chunk-3MSEMXKG.mjs';
4
4
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
5
5
  import { useDocument } from './chunk-QG5Z4C65.mjs';
6
6
  import { cn } from './chunk-KVFUDYD3.mjs';
@@ -49,9 +49,12 @@ var buttonVariants = cva(
49
49
  ],
50
50
  ghost: [
51
51
  "text-text-primary",
52
- "hover:bg-bg-tertiary",
53
- "hover:text-text-withbg",
52
+ "hover:text-text-highlight",
53
+ "hover:bg-alt-primary",
54
54
  "active:bg-bg-secondary"
55
+ // "active:text-brand-primary",
56
+ // todo: add state sensitivity (can do via toggle button)
57
+ // "[value]:text-brand-primary",
55
58
  ],
56
59
  link: ["text-text-primary", "underline-offset-4", "hover:underline"]
57
60
  },
@@ -5,13 +5,20 @@ import { cva } from 'class-variance-authority';
5
5
  import { ChevronDownIcon, ChevronUpIcon } from 'lucide-react';
6
6
  import { jsx, jsxs } from 'react/jsx-runtime';
7
7
 
8
- function SelectRoot({ ...props }) {
9
- return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
8
+ function SelectRoot({ font = "mono", align = "left", ...props }) {
9
+ return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot": "select", "data-font": font, "data-align": align, ...props });
10
10
  }
11
- function SelectFallback({ ...props }) {
12
- return /* @__PURE__ */ jsx("div", { "data-slot": "select", ...props });
11
+ function SelectFallback({
12
+ font = "mono",
13
+ align = "left",
14
+ ...props
15
+ }) {
16
+ return /* @__PURE__ */ jsx("div", { "data-slot": "select", "data-font": font, "data-align": align, ...props });
13
17
  }
14
- var Select = createClientOnlyComponent(SelectRoot, SelectFallback);
18
+ var Select = createClientOnlyComponent(
19
+ SelectRoot,
20
+ SelectFallback
21
+ );
15
22
  function SelectGroupRoot({
16
23
  className,
17
24
  ...props
@@ -40,10 +47,8 @@ var selectTriggerVariants = cva(
40
47
  [
41
48
  "flex",
42
49
  "items-center",
43
- "justify-between",
44
50
  "gap-2",
45
- "rounded-uk-sm",
46
- "bg-bg-secondary",
51
+ "bg-select-secondary",
47
52
  "whitespace-nowrap",
48
53
  "shadow-xs",
49
54
  "transition-[color,box-shadow]",
@@ -54,7 +59,8 @@ var selectTriggerVariants = cva(
54
59
  "*:data-[slot=select-value]:gap-2",
55
60
  "[&_svg]:shrink-0",
56
61
  "[&_svg]:pointer-events-none",
57
- "[&_svg:not([class*='text-'])]:text-muted-foreground"
62
+ "[&_svg:not([class*='text-'])]:text-muted-foreground",
63
+ "[type=number]:font-number-input"
58
64
  ],
59
65
  {
60
66
  variants: {
@@ -64,14 +70,25 @@ var selectTriggerVariants = cva(
64
70
  error: ["hover:bg-danger-primary/10", "bg-danger-primary/20"]
65
71
  },
66
72
  size: {
67
- sm: "px-sm py-xs text-uk-sm h-6 [&_svg:not([class*='size-'])]:size-3",
68
- base: "px-md py-sm text-uk-md h-8 [&_svg:not([class*='size-'])]:size-4",
69
- lg: "px-lg py-sm text-uk-lg h-9 [&_svg:not([class*='size-'])]:size-5"
73
+ sm: "px-sm py-xs text-uk-sm h-6 [&_svg:not([class*='size-'])]:size-3 rounded-uk-md",
74
+ md: "px-md py-sm text-uk-md h-8 [&_svg:not([class*='size-'])]:size-4 rounded-uk-lg",
75
+ lg: "px-lg py-sm text-uk-lg h-9 [&_svg:not([class*='size-'])]:size-5 rounded-uk-xl"
76
+ },
77
+ font: {
78
+ standard: "font-sans",
79
+ mono: "font-number-input"
80
+ },
81
+ align: {
82
+ left: "justify-between",
83
+ center: "justify-center *:data-[slot=select-value]:flex-1 *:data-[slot=select-value]:justify-center",
84
+ right: "justify-between *:data-[slot=select-value]:flex-1 *:data-[slot=select-value]:justify-end"
70
85
  }
71
86
  },
72
87
  defaultVariants: {
73
88
  state: "default",
74
- size: "base"
89
+ size: "md",
90
+ font: "mono",
91
+ align: "left"
75
92
  }
76
93
  }
77
94
  );
@@ -81,6 +98,8 @@ function SelectTriggerRoot({
81
98
  children,
82
99
  disabled,
83
100
  state,
101
+ font,
102
+ align,
84
103
  ...props
85
104
  }) {
86
105
  return /* @__PURE__ */ jsxs(
@@ -89,7 +108,13 @@ function SelectTriggerRoot({
89
108
  "data-slot": "select-trigger",
90
109
  "data-size": size,
91
110
  className: cn(
92
- selectTriggerVariants({ size, className, state: disabled ? "disabled" : state })
111
+ selectTriggerVariants({
112
+ size,
113
+ className,
114
+ state: disabled ? "disabled" : state,
115
+ font,
116
+ align
117
+ })
93
118
  ),
94
119
  disabled,
95
120
  ...props,
@@ -106,6 +131,8 @@ function SelectTriggerFallback({
106
131
  children,
107
132
  disabled,
108
133
  state,
134
+ font,
135
+ align,
109
136
  ...props
110
137
  }) {
111
138
  return /* @__PURE__ */ jsxs(
@@ -114,7 +141,13 @@ function SelectTriggerFallback({
114
141
  "data-slot": "select-trigger",
115
142
  "data-size": size,
116
143
  className: cn(
117
- selectTriggerVariants({ size, className, state: disabled ? "disabled" : state })
144
+ selectTriggerVariants({
145
+ size,
146
+ className,
147
+ state: disabled ? "disabled" : state,
148
+ font,
149
+ align
150
+ })
118
151
  ),
119
152
  disabled,
120
153
  ...props,
@@ -160,7 +193,8 @@ function SelectContentRoot({
160
193
  "liquid:liquid-bg"
161
194
  ],
162
195
  {
163
- "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1": position === "popper"
196
+ "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1": position === "popper",
197
+ "-ml-2 translate-x-2": position === "item-aligned"
164
198
  },
165
199
  className
166
200
  ),
@@ -248,18 +282,19 @@ function SelectItemRoot({
248
282
  "group/select-item",
249
283
  "w-full",
250
284
  "flex",
251
- "gap-md",
285
+ "gap-sm",
252
286
  "items-center",
253
- "px-sm",
254
- "py-xs",
287
+ "px-xs",
288
+ "py-xxs",
255
289
  "relative",
256
290
  "cursor-default",
257
- "rounded-uk-xs",
291
+ "rounded-uk-sm",
258
292
  "text-uk-sm",
259
293
  "outline-hidden",
260
294
  "select-none",
261
295
  "focus:bg-bg-secondary",
262
296
  "data-[state=checked]:bg-brand-primary",
297
+ "data-[state=checked]:text-text-withbg",
263
298
  "data-[disabled]:pointer-events-none",
264
299
  "data-[disabled]:text-bg-quaternary",
265
300
  "[&_svg]:pointer-events-none",
@@ -268,13 +303,20 @@ function SelectItemRoot({
268
303
  "[&_svg:not([class*='text-'])]:text-muted-foreground",
269
304
  "*:[span]:last:flex",
270
305
  "*:[span]:last:items-center",
271
- "*:[span]:last:gap-2"
306
+ "*:[span]:last:gap-2",
307
+ // Font inheritance from parent select
308
+ "[*[data-font=standard]_&]:font-sans",
309
+ "[*[data-font=mono]_&]:font-number-input",
310
+ // Alignment inheritance from parent select
311
+ "[*[data-align=left]_&]:justify-start",
312
+ "[*[data-align=center]_&]:justify-center",
313
+ "[*[data-align=right]_&]:justify-end"
272
314
  ],
273
315
  className
274
316
  ),
275
317
  ...props,
276
318
  children: [
277
- /* @__PURE__ */ jsx(
319
+ prefix && /* @__PURE__ */ jsx(
278
320
  "p",
279
321
  {
280
322
  "data-disabled": disabled,
@@ -290,7 +332,7 @@ function SelectItemRoot({
290
332
  }
291
333
  ),
292
334
  /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children }),
293
- /* @__PURE__ */ jsx(
335
+ suffix && /* @__PURE__ */ jsx(
294
336
  "p",
295
337
  {
296
338
  "data-disabled": disabled,
@@ -331,7 +373,7 @@ function SelectItemFallback({
331
373
  "flex",
332
374
  "gap-md",
333
375
  "items-center",
334
- "px-sm",
376
+ "px-0",
335
377
  "py-xs",
336
378
  "relative",
337
379
  "cursor-default",
@@ -340,7 +382,14 @@ function SelectItemFallback({
340
382
  "outline-hidden",
341
383
  "select-none",
342
384
  "focus:bg-bg-secondary",
343
- disabled && "text-bg-quaternary pointer-events-none"
385
+ disabled && "text-bg-quaternary pointer-events-none",
386
+ // Font inheritance from parent select
387
+ "[*[data-font=standard]_&]:font-sans",
388
+ "[*[data-font=mono]_&]:font-number-input",
389
+ // Alignment inheritance from parent select
390
+ "[*[data-align=left]_&]:justify-start",
391
+ "[*[data-align=center]_&]:justify-center",
392
+ "[*[data-align=right]_&]:justify-end"
344
393
  ],
345
394
  className
346
395
  ),
@@ -414,7 +463,7 @@ function SelectScrollUpButtonRoot({
414
463
  SelectPrimitive.ScrollUpButton,
415
464
  {
416
465
  "data-slot": "select-scroll-up-button",
417
- className: cn("flex cursor-default items-center justify-center py-1", className),
466
+ className: cn("mx-24 flex cursor-default items-center justify-center py-1", className),
418
467
  ...props,
419
468
  children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" })
420
469
  }
@@ -40,7 +40,6 @@ function PopoverContentRoot({
40
40
  "bg-bg-primary",
41
41
  "rounded-uk-lg",
42
42
  "p-xl",
43
- "w-[320px]",
44
43
  "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
45
44
  "data-[state=open]:animate-in",
46
45
  "data-[state=closed]:animate-out",
@@ -52,7 +51,7 @@ function PopoverContentRoot({
52
51
  "data-[side=left]:slide-in-from-right-2",
53
52
  "data-[side=right]:slide-in-from-left-2",
54
53
  "data-[side=top]:slide-in-from-bottom-2",
55
- "z-50",
54
+ "z-20",
56
55
  "origin-(--radix-popover-content-transform-origin)",
57
56
  "border-none",
58
57
  "outline-hidden",
@@ -72,9 +71,8 @@ function PopoverContentFallback({ className, ...props }) {
72
71
  "bg-bg-primary",
73
72
  "rounded-uk-lg",
74
73
  "p-xl",
75
- "w-[320px]",
76
74
  "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
77
- "z-50",
75
+ "z-20",
78
76
  "border-none",
79
77
  "outline-hidden",
80
78
  "liquid:liquid-bg",
@@ -1,4 +1,4 @@
1
- import { LiquidLayout, LiquidLayoutContent, LiquidLayoutBottom, LiquidLayoutRight, LiquidLayoutLeft, LiquidLayoutTop } from './chunk-PR4EQUHW.mjs';
1
+ import { LiquidLayout, LiquidLayoutContent, LiquidLayoutBottom, LiquidLayoutRight, LiquidLayoutLeft, LiquidLayoutTop } from './chunk-LAZO5ZDT.mjs';
2
2
  import { cn } from './chunk-KVFUDYD3.mjs';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
 
@@ -1,10 +1,10 @@
1
1
  import { Skeleton } from './chunk-G73SWE4J.mjs';
2
- import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-VIMB2UTE.mjs';
2
+ import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-XSJ6XVTR.mjs';
3
3
  import { Separator } from './chunk-OKAV7AZP.mjs';
4
4
  import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-IUATO2BH.mjs';
5
5
  import { useIsMobile } from './chunk-NXTGTCPA.mjs';
6
6
  import { InputRoot } from './chunk-F3TKXHNH.mjs';
7
- import { Button } from './chunk-OOH6BI7I.mjs';
7
+ import { Button } from './chunk-3MSEMXKG.mjs';
8
8
  import { cn } from './chunk-KVFUDYD3.mjs';
9
9
  import { Slot } from '@radix-ui/react-slot';
10
10
  import { cva } from 'class-variance-authority';
@@ -0,0 +1,27 @@
1
+ import { cn } from './chunk-KVFUDYD3.mjs';
2
+ import * as LabelPrimitive from '@radix-ui/react-label';
3
+ import { cva } from 'class-variance-authority';
4
+ import * as React from 'react';
5
+ import { jsx } from 'react/jsx-runtime';
6
+
7
+ var labelVariants = cva(
8
+ ["font-normal", "leading-none", "peer-disabled:cursor-not-allowed", "peer-disabled:opacity-70"],
9
+ {
10
+ variants: {
11
+ size: {
12
+ xs: "text-xxs",
13
+ sm: "text-xs",
14
+ lg: "text-md"
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ size: "sm"
19
+ }
20
+ }
21
+ );
22
+ var Label = React.forwardRef(
23
+ ({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(LabelPrimitive.Root, { ref, className: cn(labelVariants({ size }), className), ...props })
24
+ );
25
+ Label.displayName = LabelPrimitive.Root.displayName;
26
+
27
+ export { Label };
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkQEN7FX5Z_js = require('./chunk-QEN7FX5Z.js');
4
- var chunkJ2TJJ4YH_js = require('./chunk-J2TJJ4YH.js');
5
- var chunkYORCEFNH_js = require('./chunk-YORCEFNH.js');
4
+ var chunk2WCO4NPU_js = require('./chunk-2WCO4NPU.js');
5
+ var chunkLWUN6L6Z_js = require('./chunk-LWUN6L6Z.js');
6
6
  var chunkQG7ZF6TO_js = require('./chunk-QG7ZF6TO.js');
7
7
  var chunkOASPTOVZ_js = require('./chunk-OASPTOVZ.js');
8
8
  var chunkYUTSR2OT_js = require('./chunk-YUTSR2OT.js');
@@ -34,9 +34,9 @@ var LiquidToggleButton = ({ className, ...props }) => {
34
34
  };
35
35
  const isLiquid = theme === "liquid-light" || theme === "liquid-dark";
36
36
  const isSystem = theme === "system";
37
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkJ2TJJ4YH_js.Tooltip, { children: [
38
- /* @__PURE__ */ jsxRuntime.jsx(chunkJ2TJJ4YH_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
39
- chunkYORCEFNH_js.Button,
37
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk2WCO4NPU_js.Tooltip, { children: [
38
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2WCO4NPU_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
39
+ chunkLWUN6L6Z_js.Button,
40
40
  {
41
41
  icon: true,
42
42
  variant: "ghost",
@@ -49,7 +49,7 @@ var LiquidToggleButton = ({ className, ...props }) => {
49
49
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Droplet, { size: 20 })
50
50
  }
51
51
  ) }),
52
- /* @__PURE__ */ jsxRuntime.jsx(chunkJ2TJJ4YH_js.TooltipContent, { children: "Toggle liquid theme" })
52
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2WCO4NPU_js.TooltipContent, { children: "Toggle liquid theme" })
53
53
  ] });
54
54
  };
55
55
  var ThemeToggleButton = (props) => {
@@ -78,7 +78,7 @@ var ThemeToggleButton = (props) => {
78
78
  const isDark = theme === "dark" || theme === "liquid-dark";
79
79
  const isSystem = theme === "system";
80
80
  return /* @__PURE__ */ jsxRuntime.jsx(
81
- chunkYORCEFNH_js.Button,
81
+ chunkLWUN6L6Z_js.Button,
82
82
  {
83
83
  icon: true,
84
84
  variant: "ghost",
@@ -91,11 +91,11 @@ var ThemeToggleButton = (props) => {
91
91
  };
92
92
  var LiquidToggle = chunkQG7ZF6TO_js.createClientOnlyComponent(
93
93
  LiquidToggleButton,
94
- (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkYORCEFNH_js.Button, { icon: true, variant: "ghost", "aria-label": "Liquid toggle loading...", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Droplet, { size: 20 }) })
94
+ (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkLWUN6L6Z_js.Button, { icon: true, variant: "ghost", "aria-label": "Liquid toggle loading...", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Droplet, { size: 20 }) })
95
95
  );
96
96
  var ThemeToggle = chunkQG7ZF6TO_js.createClientOnlyComponent(
97
97
  ThemeToggleButton,
98
- (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkYORCEFNH_js.Button, { icon: true, variant: "ghost", "aria-label": "Theme toggle loading...", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { size: 20 }) })
98
+ (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkLWUN6L6Z_js.Button, { icon: true, variant: "ghost", "aria-label": "Theme toggle loading...", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { size: 20 }) })
99
99
  );
100
100
 
101
101
  exports.LiquidToggle = LiquidToggle;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYORCEFNH_js = require('./chunk-YORCEFNH.js');
3
+ var chunkLWUN6L6Z_js = require('./chunk-LWUN6L6Z.js');
4
4
  var chunkYUTSR2OT_js = require('./chunk-YUTSR2OT.js');
5
5
  var chunkOTPUWWEB_js = require('./chunk-OTPUWWEB.js');
6
6
  var lucideReact = require('lucide-react');
@@ -56,7 +56,7 @@ function PaginationLink({ className, isActive, size = "md", ...props }) {
56
56
  "data-slot": "pagination-link",
57
57
  "data-active": isActive,
58
58
  className: chunkYUTSR2OT_js.cn(
59
- chunkYORCEFNH_js.buttonVariants({
59
+ chunkLWUN6L6Z_js.buttonVariants({
60
60
  variant: isActive ? "secondary" : "ghost",
61
61
  size
62
62
  }),
@@ -19,7 +19,7 @@ function ModalClose({ ...props }) {
19
19
  var modalOverlayVariants = cva([
20
20
  "fixed",
21
21
  "inset-0",
22
- "z-100",
22
+ "z-10",
23
23
  "bg-bg-mask",
24
24
  "transition-all",
25
25
  "duration-200"
@@ -45,7 +45,7 @@ var modalContentVariants = cva([
45
45
  "fixed",
46
46
  "translate-x-[-50%]",
47
47
  "translate-y-[-50%]",
48
- "z-101",
48
+ "z-11",
49
49
  "left-1/2",
50
50
  "top-1/2",
51
51
  "data-[state=open]:animate-in",
@@ -1,7 +1,7 @@
1
1
  import { Badge } from './chunk-Q27ILZE6.mjs';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
- var PACKAGE_VERSION = "0.0.59" ;
4
+ var PACKAGE_VERSION = "0.0.62" ;
5
5
  var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
6
6
  function VersionBadge({
7
7
  className,
@@ -31,17 +31,15 @@ function SwitchRoot({ className, ...props }) {
31
31
  {
32
32
  "data-slot": "switch",
33
33
  className: chunkYUTSR2OT_js.cn(
34
+ className,
34
35
  "group",
35
36
  "w-[32px]",
36
37
  "h-[16px]",
37
38
  "rounded-[24px]",
38
39
  "bg-bg-tertiary",
39
- "data-[state=checked]:bg-brand-primary",
40
+ "aria-checked:bg-brand-primary",
40
41
  "disabled:bg-bg-secondary",
41
- "disabled:cursor-not-allowed",
42
- "disabled:data-[state=checked]:bg-bg-secondary",
43
- "disabled:data-[state=unchecked]:bg-bg-secondary",
44
- className
42
+ "disabled:cursor-not-allowed"
45
43
  ),
46
44
  ...props,
47
45
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -75,6 +73,7 @@ function SwitchFallback({ className, ...props }) {
75
73
  "h-[16px]",
76
74
  "rounded-[24px]",
77
75
  "bg-bg-tertiary",
76
+ "aria-checked:bg-brand-primary",
78
77
  "disabled:bg-bg-secondary",
79
78
  "disabled:cursor-not-allowed",
80
79
  "relative",