@vuer-ai/vuer-uikit 0.0.4 → 0.0.7

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 (153) hide show
  1. package/dist/{chunk-FXIL4NQZ.js → chunk-2JCULHBM.js} +2 -2
  2. package/dist/{chunk-3Q75Z2CT.mjs → chunk-2TRYGIGT.mjs} +2 -2
  3. package/dist/{chunk-QOUX33X5.mjs → chunk-3XVIJY3H.mjs} +11 -16
  4. package/dist/{chunk-XACRGXGF.js → chunk-4PAHMURP.js} +6 -13
  5. package/dist/{chunk-RACVRWME.js → chunk-5MZCQW4U.js} +13 -18
  6. package/dist/{chunk-7V4ELMOH.js → chunk-5OUTEHVX.js} +8 -12
  7. package/dist/{chunk-KQHNQQUZ.js → chunk-5P3KAS53.js} +5 -4
  8. package/dist/{chunk-ECWCQWV5.js → chunk-5SR53QBZ.js} +22 -27
  9. package/dist/{chunk-OE56M4MX.js → chunk-5TVG5JK5.js} +4 -4
  10. package/dist/{chunk-PKGNHHWG.mjs → chunk-5ZZC23M7.mjs} +1 -1
  11. package/dist/{chunk-OTDY2E2A.js → chunk-66DYOZI3.js} +8 -8
  12. package/dist/{chunk-KYKEJFJT.js → chunk-6N5422RT.js} +9 -9
  13. package/dist/{chunk-6ILSFDR5.mjs → chunk-7X6N54LX.mjs} +3 -3
  14. package/dist/{chunk-XPNUQSKQ.mjs → chunk-B2E7AY66.mjs} +9 -17
  15. package/dist/{chunk-X2QENXCS.mjs → chunk-BOPZFNFS.mjs} +1 -1
  16. package/dist/{chunk-5GPQ7U5B.mjs → chunk-DDOX4EEM.mjs} +7 -11
  17. package/dist/{chunk-NN7R5DNL.mjs → chunk-DZ4J7I7I.mjs} +20 -25
  18. package/dist/{chunk-G7XNQVPB.js → chunk-E33MW663.js} +14 -22
  19. package/dist/{chunk-D4C5V4EN.mjs → chunk-E5KWKBH3.mjs} +8 -1
  20. package/dist/{chunk-R6XNT4PN.js → chunk-EGPLKTJM.js} +15 -15
  21. package/dist/{chunk-COFRS37Z.mjs → chunk-EUY74AXP.mjs} +11 -7
  22. package/dist/{chunk-ATDHGFVI.mjs → chunk-F776EMXP.mjs} +3 -3
  23. package/dist/{chunk-GSXXTAQ3.js → chunk-FP26SRGL.js} +19 -15
  24. package/dist/{chunk-MASRZTZC.mjs → chunk-FRT225GK.mjs} +1 -1
  25. package/dist/{chunk-75QDQ67T.js → chunk-FSMKJAZT.js} +8 -1
  26. package/dist/{chunk-WOG6UIG5.mjs → chunk-G6PRZVSE.mjs} +1 -1
  27. package/dist/{chunk-Z37VNICQ.js → chunk-H5P4IX7R.js} +3 -3
  28. package/dist/{chunk-LVSI4HYF.mjs → chunk-IG43DNY2.mjs} +9 -9
  29. package/dist/{chunk-LD7Y34QT.js → chunk-IGBWUFZL.js} +2 -2
  30. package/dist/chunk-IOI3YFTY.js +261 -0
  31. package/dist/{chunk-Q3APPCB2.mjs → chunk-IQ6J7YTQ.mjs} +4 -4
  32. package/dist/{chunk-DWIK2CUV.mjs → chunk-JAMJUXBY.mjs} +1 -1
  33. package/dist/chunk-KQAHAGUG.js +609 -0
  34. package/dist/chunk-KTNZSZ5Y.mjs +23 -0
  35. package/dist/{chunk-7A7VNE3J.mjs → chunk-LLXRJYQB.mjs} +1 -1
  36. package/dist/{chunk-7WUQTWQX.js → chunk-MZ4POL3U.js} +18 -20
  37. package/dist/chunk-O4TK3AKI.mjs +259 -0
  38. package/dist/chunk-OBWGRG45.js +21 -0
  39. package/dist/{chunk-KVFK3YC7.js → chunk-PIR7EZC6.js} +6 -6
  40. package/dist/{chunk-5BIQ3IN7.js → chunk-QA7H2Z3Z.js} +5 -5
  41. package/dist/{chunk-66JQXJEV.mjs → chunk-QVUX6LLD.mjs} +8 -10
  42. package/dist/{chunk-25GQKTNF.mjs → chunk-QYRRQ65X.mjs} +19 -9
  43. package/dist/{chunk-ENZI5WM7.js → chunk-SKO72K64.js} +22 -12
  44. package/dist/{chunk-TOZYLDAL.mjs → chunk-SP3DH5MP.mjs} +5 -12
  45. package/dist/{chunk-CZSRIDXN.mjs → chunk-T3VSSE2L.mjs} +1 -1
  46. package/dist/{chunk-IPKCIMU4.mjs → chunk-TMBKCIVQ.mjs} +9 -17
  47. package/dist/{chunk-YQORMF34.js → chunk-U7SNLMJR.js} +12 -12
  48. package/dist/{chunk-7SXCVFSA.mjs → chunk-UMIQYHO6.mjs} +1 -1
  49. package/dist/{chunk-KO7BQ6RR.js → chunk-VAXIFFOT.js} +4 -4
  50. package/dist/{chunk-UFR656UY.mjs → chunk-WDUTW7HS.mjs} +11 -11
  51. package/dist/{chunk-M3KBBKQR.mjs → chunk-WMXX2UMD.mjs} +5 -5
  52. package/dist/{chunk-ATEHWT2R.mjs → chunk-WOZWC6KO.mjs} +4 -3
  53. package/dist/{chunk-SI56IQWH.js → chunk-X55EAYE2.js} +14 -22
  54. package/dist/chunk-XCCC7HVN.mjs +603 -0
  55. package/dist/{chunk-A2Z57NAA.js → chunk-XUQ5A7ZA.js} +2 -2
  56. package/dist/chunk-XXWQ4RVP.js +25 -0
  57. package/dist/{chunk-FYS6YECN.js → chunk-Y5I2GI4V.js} +2 -2
  58. package/dist/{chunk-277NQUJD.js → chunk-YXDJPCAF.js} +5 -5
  59. package/dist/highlight-cursor/cursor-provider.js +3 -3
  60. package/dist/highlight-cursor/cursor-provider.mjs +2 -2
  61. package/dist/highlight-cursor/enhanced-components.js +13 -13
  62. package/dist/highlight-cursor/enhanced-components.mjs +8 -8
  63. package/dist/highlight-cursor/index.js +19 -19
  64. package/dist/highlight-cursor/index.mjs +9 -9
  65. package/dist/index.css +9 -5
  66. package/dist/index.d.mts +3 -1
  67. package/dist/index.d.ts +3 -1
  68. package/dist/index.js +142 -132
  69. package/dist/index.mjs +31 -29
  70. package/dist/styles/theme.css +2 -1
  71. package/dist/styles/toast.css +6 -3
  72. package/dist/ui/avatar.js +7 -6
  73. package/dist/ui/avatar.mjs +3 -2
  74. package/dist/ui/badge.js +4 -4
  75. package/dist/ui/badge.mjs +2 -2
  76. package/dist/ui/button.js +3 -3
  77. package/dist/ui/button.mjs +2 -2
  78. package/dist/ui/card.js +9 -9
  79. package/dist/ui/card.mjs +2 -2
  80. package/dist/ui/checkbox.js +3 -3
  81. package/dist/ui/checkbox.mjs +2 -2
  82. package/dist/ui/collapsible.js +5 -5
  83. package/dist/ui/collapsible.mjs +2 -2
  84. package/dist/ui/dropdown.js +17 -17
  85. package/dist/ui/dropdown.mjs +2 -2
  86. package/dist/ui/index.d.mts +3 -1
  87. package/dist/ui/index.d.ts +3 -1
  88. package/dist/ui/index.js +129 -119
  89. package/dist/ui/index.mjs +29 -27
  90. package/dist/ui/input-numbers.js +4 -4
  91. package/dist/ui/input-numbers.mjs +3 -3
  92. package/dist/ui/input.d.mts +2 -2
  93. package/dist/ui/input.d.ts +2 -2
  94. package/dist/ui/input.js +4 -4
  95. package/dist/ui/input.mjs +2 -2
  96. package/dist/ui/layout.d.mts +1 -1
  97. package/dist/ui/layout.d.ts +1 -1
  98. package/dist/ui/layout.js +3 -3
  99. package/dist/ui/layout.mjs +2 -2
  100. package/dist/ui/modal.js +12 -12
  101. package/dist/ui/modal.mjs +2 -2
  102. package/dist/ui/popover.js +7 -6
  103. package/dist/ui/popover.mjs +3 -2
  104. package/dist/ui/radio-group.js +4 -4
  105. package/dist/ui/radio-group.mjs +2 -2
  106. package/dist/ui/select.d.mts +1 -1
  107. package/dist/ui/select.d.ts +1 -1
  108. package/dist/ui/select.js +12 -12
  109. package/dist/ui/select.mjs +2 -2
  110. package/dist/ui/sheet.d.mts +1 -1
  111. package/dist/ui/sheet.d.ts +1 -1
  112. package/dist/ui/sheet.js +10 -10
  113. package/dist/ui/sheet.mjs +2 -2
  114. package/dist/ui/slider.js +3 -3
  115. package/dist/ui/slider.mjs +2 -2
  116. package/dist/ui/switch.js +3 -3
  117. package/dist/ui/switch.mjs +2 -2
  118. package/dist/ui/tabs.js +7 -7
  119. package/dist/ui/tabs.mjs +3 -3
  120. package/dist/ui/textarea.d.mts +1 -1
  121. package/dist/ui/textarea.d.ts +1 -1
  122. package/dist/ui/textarea.js +3 -3
  123. package/dist/ui/textarea.mjs +2 -2
  124. package/dist/ui/theme-context.js +3 -3
  125. package/dist/ui/theme-context.mjs +1 -1
  126. package/dist/ui/timeline.d.mts +23 -0
  127. package/dist/ui/timeline.d.ts +23 -0
  128. package/dist/ui/timeline.js +14 -0
  129. package/dist/ui/timeline.mjs +5 -0
  130. package/dist/ui/toggle-group.js +5 -5
  131. package/dist/ui/toggle-group.mjs +3 -3
  132. package/dist/ui/toggle.js +4 -4
  133. package/dist/ui/toggle.mjs +2 -2
  134. package/dist/ui/tooltip.js +7 -6
  135. package/dist/ui/tooltip.mjs +3 -2
  136. package/dist/ui/tree-view-v2.d.mts +25 -0
  137. package/dist/ui/tree-view-v2.d.ts +25 -0
  138. package/dist/ui/tree-view-v2.js +13 -0
  139. package/dist/ui/tree-view-v2.mjs +4 -0
  140. package/dist/ui/tree-view.d.mts +7 -6
  141. package/dist/ui/tree-view.d.ts +7 -6
  142. package/dist/ui/tree-view.js +3 -3
  143. package/dist/ui/tree-view.mjs +2 -2
  144. package/dist/utils/cn.js +2 -2
  145. package/dist/utils/cn.mjs +1 -1
  146. package/dist/utils/index.js +2 -2
  147. package/dist/utils/index.mjs +1 -1
  148. package/package.json +8 -9
  149. package/dist/chunk-FVT46HEE.js +0 -21
  150. package/dist/chunk-HW6SLBO3.mjs +0 -9
  151. package/dist/chunk-UWO6RBCE.js +0 -11
  152. /package/dist/{chunk-S2F2GRDB.mjs → chunk-IKIXD35H.mjs} +0 -0
  153. /package/dist/{chunk-HUQZOPYD.js → chunk-P3NMVNEO.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-HW6SLBO3.mjs';
1
+ import { cn } from './chunk-KTNZSZ5Y.mjs';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function Card({ className, ...props }) {
@@ -9,12 +9,11 @@ function Card({ className, ...props }) {
9
9
  className: cn(
10
10
  "flex",
11
11
  "flex-col",
12
- "gap-lg",
12
+ "gap-md",
13
13
  "min-w-[300px]",
14
- "rounded-lg",
14
+ "rounded-uk-lg",
15
15
  "p-lg",
16
16
  "bg-bg-primary",
17
- "border-text-secondary",
18
17
  "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
19
18
  "liquid:liquid-bg",
20
19
  className
@@ -40,8 +39,8 @@ function CardTitle({ className, ...props }) {
40
39
  "data-slot": "card-title",
41
40
  className: cn(
42
41
  "text-text-highlight",
43
- "text-[14px]",
44
- "leading-[20px]",
42
+ "text-uk-md",
43
+ "leading-uk-md",
45
44
  "font-medium",
46
45
  "vertical-align-middle",
47
46
  className
@@ -55,7 +54,7 @@ function CardDescription({ className, ...props }) {
55
54
  "div",
56
55
  {
57
56
  "data-slot": "card-description",
58
- className: cn("text-muted-foreground text-sm", className),
57
+ className: cn("text-text-secondary text-uk-sm leading-uk-sm", className),
59
58
  ...props
60
59
  }
61
60
  );
@@ -67,8 +66,8 @@ function CardAction({ className, ...props }) {
67
66
  "data-slot": "card-action",
68
67
  className: cn(
69
68
  "text-text-secondary",
70
- "text-[11px]",
71
- "leading-[14px]",
69
+ "text-uk-sm",
70
+ "leading-uk-sm",
72
71
  "font-medium",
73
72
  "vertical-align-middle",
74
73
  className
@@ -81,14 +80,7 @@ function CardContent({ className, ...props }) {
81
80
  return /* @__PURE__ */ jsx("div", { "data-slot": "card-content", className: cn("", className), ...props });
82
81
  }
83
82
  function CardFooter({ className, ...props }) {
84
- return /* @__PURE__ */ jsx(
85
- "div",
86
- {
87
- "data-slot": "card-footer",
88
- className: cn("[.border-t]:pt-6 flex items-center", className),
89
- ...props
90
- }
91
- );
83
+ return /* @__PURE__ */ jsx("div", { "data-slot": "card-footer", className: cn("flex items-center", className), ...props });
92
84
  }
93
85
 
94
86
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-HW6SLBO3.mjs';
1
+ import { cn } from './chunk-KTNZSZ5Y.mjs';
2
2
  import * as PopoverPrimitive from '@radix-ui/react-popover';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-HW6SLBO3.mjs';
1
+ import { cn } from './chunk-KTNZSZ5Y.mjs';
2
2
  import { cva } from 'class-variance-authority';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -8,15 +8,11 @@ var textareaVariants = cva(
8
8
  "disabled:bg-bg-tertiary",
9
9
  "disabled:text-text-tertiary",
10
10
  "disabled:cursor-not-allowed",
11
- "outline",
12
11
  "outline-transparent",
13
- "-outline-offset-1",
14
- "placehoder:text-muted-foreground",
15
- "flex",
12
+ "placehoder:text-text-secondary/20",
16
13
  "min-h-16",
17
- "w-full",
18
- "px-3",
19
- "py-2"
14
+ "flex",
15
+ "w-full"
20
16
  ],
21
17
  {
22
18
  variants: {
@@ -25,9 +21,9 @@ var textareaVariants = cva(
25
21
  error: ["hover:bg-danger-primary/10", "bg-danger-primary/20"]
26
22
  },
27
23
  size: {
28
- sm: ["text-sm", "rounded-uk-sm"],
29
- base: ["text-md", "rounded-uk-md"],
30
- lg: ["text-xl", "rounded-uk-md"]
24
+ sm: ["text-uk-sm", "leading-uk-sm", "rounded-uk-sm", "px-sm", "py-xs"],
25
+ base: ["text-uk-md", "leading-uk-md", "rounded-uk-md", "px-md", "py-sm"],
26
+ lg: ["text-uk-lg", "leading-uk-lg", "rounded-uk-md", "px-lg", "py-sm"]
31
27
  }
32
28
  },
33
29
  defaultVariants: {
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-HW6SLBO3.mjs';
1
+ import { cn } from './chunk-KTNZSZ5Y.mjs';
2
2
  import * as SheetPrimitive from '@radix-ui/react-dialog';
3
3
  import { XIcon } from 'lucide-react';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -6,31 +6,29 @@ import { jsx, jsxs } from 'react/jsx-runtime';
6
6
  function Sheet({ ...props }) {
7
7
  return /* @__PURE__ */ jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
8
8
  }
9
- function SheetTrigger({
10
- ...props
11
- }) {
9
+ function SheetTrigger({ ...props }) {
12
10
  return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
13
11
  }
14
- function SheetClose({
15
- ...props
16
- }) {
17
- return /* @__PURE__ */ jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", className: cn("focus:outline-none focus:ring-0"), ...props });
12
+ function SheetClose({ ...props }) {
13
+ return /* @__PURE__ */ jsx(
14
+ SheetPrimitive.Close,
15
+ {
16
+ "data-slot": "sheet-close",
17
+ className: cn("focus:ring-0 focus:outline-none"),
18
+ ...props
19
+ }
20
+ );
18
21
  }
19
- function SheetPortal({
20
- ...props
21
- }) {
22
+ function SheetPortal({ ...props }) {
22
23
  return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
23
24
  }
24
- function SheetOverlay({
25
- className,
26
- ...props
27
- }) {
25
+ function SheetOverlay({ className, ...props }) {
28
26
  return /* @__PURE__ */ jsx(
29
27
  SheetPrimitive.Overlay,
30
28
  {
31
29
  "data-slot": "sheet-overlay",
32
30
  className: cn(
33
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-bg-primary/50",
31
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-bg-primary/50 fixed inset-0 z-50",
34
32
  className
35
33
  ),
36
34
  ...props
@@ -50,7 +48,7 @@ function SheetContent({
50
48
  {
51
49
  "data-slot": "sheet-content",
52
50
  className: cn(
53
- "liquid:liquid-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 p-xl",
51
+ "liquid:liquid-bg bg-bg-primary data-[state=open]:animate-in data-[state=closed]:animate-out p-xl fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
54
52
  side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-[340px]",
55
53
  side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-[340px]",
56
54
  side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto",
@@ -74,7 +72,7 @@ function SheetHeader({ className, ...props }) {
74
72
  "div",
75
73
  {
76
74
  "data-slot": "sheet-header",
77
- className: cn("flex flex-col gap-md pb-xl", className),
75
+ className: cn("gap-md pb-xl flex flex-col", className),
78
76
  ...props
79
77
  }
80
78
  );
@@ -84,20 +82,17 @@ function SheetFooter({ className, ...props }) {
84
82
  "div",
85
83
  {
86
84
  "data-slot": "sheet-footer",
87
- className: cn("mt-auto flex flex-col gap-lg pt-xl", className),
85
+ className: cn("gap-lg pt-xl mt-auto flex flex-col", className),
88
86
  ...props
89
87
  }
90
88
  );
91
89
  }
92
- function SheetTitle({
93
- className,
94
- ...props
95
- }) {
90
+ function SheetTitle({ className, ...props }) {
96
91
  return /* @__PURE__ */ jsx(
97
92
  SheetPrimitive.Title,
98
93
  {
99
94
  "data-slot": "sheet-title",
100
- className: cn("text-[14px] text-text-highlight font-medium", className),
95
+ className: cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className),
101
96
  ...props
102
97
  }
103
98
  );
@@ -110,7 +105,7 @@ function SheetDescription({
110
105
  SheetPrimitive.Description,
111
106
  {
112
107
  "data-slot": "sheet-description",
113
- className: cn("text-[12px] text-text-secondary", className),
108
+ className: cn("text-text-secondary text-uk-md leading-uk-md", className),
114
109
  ...props
115
110
  }
116
111
  );
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUWO6RBCE_js = require('./chunk-UWO6RBCE.js');
3
+ var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
4
4
  var DialogPrimitive = require('@radix-ui/react-dialog');
5
5
  var classVarianceAuthority = require('class-variance-authority');
6
6
  var lucideReact = require('lucide-react');
@@ -51,18 +51,17 @@ function ModalOverlay({ className, ...props }) {
51
51
  DialogPrimitive__namespace.Overlay,
52
52
  {
53
53
  "data-slot": "modal-overlay",
54
- className: chunkUWO6RBCE_js.cn(modalOverlayVariants(), className),
54
+ className: chunkXXWQ4RVP_js.cn(modalOverlayVariants(), className),
55
55
  ...props
56
56
  }
57
57
  );
58
58
  }
59
59
  var modalContentVariants = classVarianceAuthority.cva([
60
- "px-xl",
61
60
  "pb-xl",
61
+ "px-xl",
62
62
  "bg-bg-primary",
63
- "rounded-xl",
63
+ "rounded-uk-xl",
64
64
  "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
65
- "w-[320px]",
66
65
  "min-w-[280px]",
67
66
  "duration-200",
68
67
  "transition-all",
@@ -92,7 +91,7 @@ function ModalContent({
92
91
  DialogPrimitive__namespace.Content,
93
92
  {
94
93
  "data-slot": "modal-content",
95
- className: chunkUWO6RBCE_js.cn(modalContentVariants(), className),
94
+ className: chunkXXWQ4RVP_js.cn(modalContentVariants(), className),
96
95
  ...props,
97
96
  children: [
98
97
  children,
@@ -100,13 +99,13 @@ function ModalContent({
100
99
  DialogPrimitive__namespace.Close,
101
100
  {
102
101
  "data-slot": "modal-close",
103
- className: chunkUWO6RBCE_js.cn(
102
+ className: chunkXXWQ4RVP_js.cn(
104
103
  "absolute",
105
104
  "right-[16px]",
106
105
  "top-[16px]",
107
106
  "w-[16px]",
108
107
  "h-[16px]",
109
- "rounded-sm",
108
+ "rounded-uk-sm",
110
109
  "cursor-pointer",
111
110
  "hover:text-icon-highlight",
112
111
  "text-icon-primary",
@@ -126,19 +125,20 @@ function ModalContent({
126
125
  ] });
127
126
  }
128
127
  function ModalHeader({ className, ...props }) {
129
- return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "modal-header", className: chunkUWO6RBCE_js.cn("flex flex-col", className), ...props });
128
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "modal-header", className: chunkXXWQ4RVP_js.cn("flex flex-col", className), ...props });
130
129
  }
131
130
  function ModalTitle({ className, ...props }) {
132
131
  return /* @__PURE__ */ jsxRuntime.jsx(
133
132
  DialogPrimitive__namespace.Title,
134
133
  {
135
134
  "data-slot": "modal-title",
136
- className: chunkUWO6RBCE_js.cn(
135
+ className: chunkXXWQ4RVP_js.cn(
137
136
  "text-text-highlight",
138
- "text-[14px]",
139
- "leading-[20px]",
137
+ "text-uk-lg",
138
+ "leading-uk-lg",
140
139
  "font-medium",
141
140
  "py-lg",
141
+ "px-xl",
142
142
  "text-center",
143
143
  className
144
144
  ),
@@ -151,15 +151,7 @@ function ModalDescription({ className, ...props }) {
151
151
  DialogPrimitive__namespace.Description,
152
152
  {
153
153
  "data-slot": "modal-description",
154
- className: chunkUWO6RBCE_js.cn(
155
- "text-text-primary",
156
- "text-[14px]",
157
- "leading-[20px]",
158
- "font-normal",
159
- "pb-lg",
160
- "text-start",
161
- className
162
- ),
154
+ className: chunkXXWQ4RVP_js.cn("text-text-primary", "text-uk-md", "leading-uk-md", "text-start", className),
163
155
  ...props
164
156
  }
165
157
  );
@@ -169,7 +161,7 @@ function ModalFooter({ className, ...props }) {
169
161
  "div",
170
162
  {
171
163
  "data-slot": "modal-footer",
172
- className: chunkUWO6RBCE_js.cn("w-full", "flex", "justify-end", "gap-[8px]", className),
164
+ className: chunkXXWQ4RVP_js.cn("w-full", "flex", "justify-end", "gap-xs", className),
173
165
  ...props
174
166
  }
175
167
  );
@@ -14,17 +14,22 @@ function ThemeProvider({
14
14
  ...props
15
15
  }) {
16
16
  const [theme, setTheme] = useState(() => {
17
+ if (typeof window === "undefined") return defaultTheme;
17
18
  return localStorage.getItem(storageKey) || defaultTheme;
18
19
  });
19
20
  useEffect(() => {
21
+ if (typeof window === "undefined") return;
20
22
  const root = window.document.documentElement;
21
23
  root.classList.remove("light", "dark", "liquidlight", "liquiddark", "system");
24
+ root.removeAttribute("data-theme");
22
25
  if (theme === "system") {
23
26
  const systemTheme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
24
27
  root.classList.add(systemTheme);
28
+ root.setAttribute("data-theme", "auto");
25
29
  return;
26
30
  }
27
31
  root.classList.add(theme);
32
+ root.setAttribute("data-theme", theme);
28
33
  }, [theme]);
29
34
  return /* @__PURE__ */ jsx(
30
35
  ThemeProviderContext.Provider,
@@ -34,7 +39,9 @@ function ThemeProvider({
34
39
  () => ({
35
40
  theme,
36
41
  setTheme: (theme2) => {
37
- localStorage.setItem(storageKey, theme2);
42
+ if (typeof window !== "undefined") {
43
+ localStorage.setItem(storageKey, theme2);
44
+ }
38
45
  setTheme(theme2);
39
46
  }
40
47
  }),
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUWO6RBCE_js = require('./chunk-UWO6RBCE.js');
3
+ var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
4
4
  var AccordionPrimitive = require('@radix-ui/react-accordion');
5
5
  var classVarianceAuthority = require('class-variance-authority');
6
6
  var lucideReact = require('lucide-react');
@@ -28,7 +28,7 @@ function _interopNamespace(e) {
28
28
  var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
29
29
 
30
30
  var treeVariants = classVarianceAuthority.cva(
31
- "text-[14px] group py-1 h-9 text-text-primary rounded transition-colors cursor-pointer text-left relative z-20"
31
+ "text-uk-md group py-1 h-9 text-text-primary rounded transition-colors cursor-pointer text-left relative z-20"
32
32
  );
33
33
  var selectedTreeVariants = classVarianceAuthority.cva("");
34
34
  var dragOverVariants = classVarianceAuthority.cva("bg-primary/20 text-primary-foreground");
@@ -110,8 +110,8 @@ var TreeView = react.forwardRef(
110
110
  return /* @__PURE__ */ jsxRuntime.jsxs(
111
111
  "div",
112
112
  {
113
- className: chunkUWO6RBCE_js.cn(
114
- "bg-bg-primary relative min-w-[240px] max-w-[300px] overflow-hidden p-2",
113
+ className: chunkXXWQ4RVP_js.cn(
114
+ "bg-bg-primary relative max-w-[300px] min-w-[240px] overflow-hidden p-2",
115
115
  className
116
116
  ),
117
117
  "data-tree-container": true,
@@ -119,7 +119,7 @@ var TreeView = react.forwardRef(
119
119
  /* @__PURE__ */ jsxRuntime.jsx(
120
120
  "div",
121
121
  {
122
- className: "bg-bg-tertiary pointer-events-none absolute left-2 right-2 z-10 rounded-uk-sm transition-all duration-150",
122
+ className: "bg-bg-tertiary rounded-uk-sm pointer-events-none absolute right-2 left-2 z-10 transition-all duration-150",
123
123
  style: {
124
124
  display: hoverBackgroundStyle.display,
125
125
  top: hoverBackgroundStyle.top,
@@ -148,7 +148,7 @@ var TreeView = react.forwardRef(
148
148
  "div",
149
149
  {
150
150
  className: "h-[48px] w-full",
151
- onDrop: (e) => {
151
+ onDrop: () => {
152
152
  handleDrop({ id: "", name: "parent_div" });
153
153
  }
154
154
  }
@@ -249,7 +249,7 @@ var TreeNode = ({
249
249
  AccordionTrigger,
250
250
  {
251
251
  style: { margin: 0 },
252
- className: chunkUWO6RBCE_js.cn(
252
+ className: chunkXXWQ4RVP_js.cn(
253
253
  treeVariants(),
254
254
  selectedItemId === item.id && selectedTreeVariants(),
255
255
  isDragOver && dragOverVariants(),
@@ -284,7 +284,7 @@ var TreeNode = ({
284
284
  default: defaultNodeIcon
285
285
  }
286
286
  ),
287
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-text-primary flex-grow truncate text-left text-sm", children: item.name }),
287
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-text-primary text-uk-md flex-grow truncate text-left", children: item.name }),
288
288
  /* @__PURE__ */ jsxRuntime.jsx(TreeActions, { isSelected: selectedItemId === item.id && !item.disabled, children: item.actions })
289
289
  ]
290
290
  }
@@ -347,7 +347,7 @@ var TreeLeaf = react.forwardRef(
347
347
  "div",
348
348
  {
349
349
  ref,
350
- className: chunkUWO6RBCE_js.cn(
350
+ className: chunkXXWQ4RVP_js.cn(
351
351
  "relative flex items-center",
352
352
  treeVariants(),
353
353
  className,
@@ -371,7 +371,7 @@ var TreeLeaf = react.forwardRef(
371
371
  ...props,
372
372
  children: [
373
373
  /* @__PURE__ */ jsxRuntime.jsx(TreeIcon, { item, isSelected: selectedItemId === item.id, default: defaultLeafIcon }),
374
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-text-primary flex-grow truncate text-left text-sm", children: item.name }),
374
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-text-primary text-uk-md flex-grow truncate text-left", children: item.name }),
375
375
  /* @__PURE__ */ jsxRuntime.jsx(TreeActions, { isSelected: selectedItemId === item.id && !item.disabled, children: item.actions })
376
376
  ]
377
377
  }
@@ -383,7 +383,7 @@ var AccordionTrigger = react.forwardRef(({ className, children, ...props }, ref)
383
383
  AccordionPrimitive__namespace.Trigger,
384
384
  {
385
385
  ref,
386
- className: chunkUWO6RBCE_js.cn(
386
+ className: chunkXXWQ4RVP_js.cn(
387
387
  "relative flex w-full flex-1 items-center justify-between text-left font-medium transition-all",
388
388
  className
389
389
  ),
@@ -396,12 +396,12 @@ var AccordionContent = react.forwardRef(({ className, children, ...props }, ref)
396
396
  AccordionPrimitive__namespace.Content,
397
397
  {
398
398
  ref,
399
- className: chunkUWO6RBCE_js.cn(
400
- "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all",
399
+ className: chunkXXWQ4RVP_js.cn(
400
+ "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-uk-md overflow-hidden transition-all",
401
401
  className
402
402
  ),
403
403
  ...props,
404
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pb-0 pt-0", children })
404
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-0 pb-0", children })
405
405
  }
406
406
  ));
407
407
  AccordionContent.displayName = AccordionPrimitive__namespace.Content.displayName;
@@ -425,7 +425,7 @@ var TreeIcon = ({
425
425
  return Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "text-text-primary mr-2 h-4 w-4 shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
426
426
  };
427
427
  var TreeActions = ({ children, isSelected }) => {
428
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkUWO6RBCE_js.cn(isSelected ? "block" : "hidden", "absolute right-3 group-hover:block"), children });
428
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkXXWQ4RVP_js.cn(isSelected ? "block" : "hidden", "absolute right-3 group-hover:block"), children });
429
429
  };
430
430
 
431
431
  exports.TreeView = TreeView;
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-HW6SLBO3.mjs';
1
+ import { cn } from './chunk-KTNZSZ5Y.mjs';
2
2
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
3
  import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -100,7 +100,8 @@ function DropdownMenuItem({
100
100
  "relative",
101
101
  "cursor-default",
102
102
  "rounded-uk-xs",
103
- "text-xs",
103
+ "text-uk-xs",
104
+ "leading-uk-xs",
104
105
  "outline-hidden",
105
106
  "select-none",
106
107
  "hover:bg-bg-tertiary",
@@ -141,7 +142,8 @@ function DropdownMenuCheckboxItem({
141
142
  "relative",
142
143
  "cursor-default",
143
144
  "rounded-uk-xs",
144
- "text-xs",
145
+ "text-uk-xs",
146
+ "leading-uk-xs",
145
147
  "outline-hidden",
146
148
  "select-none",
147
149
  "hover:bg-bg-tertiary",
@@ -193,7 +195,8 @@ function DropdownMenuRadioItem({
193
195
  "pr-md",
194
196
  "mb-xs",
195
197
  "last:mb-0",
196
- "text-xs",
198
+ "text-uk-xs",
199
+ "leading-uk-xs",
197
200
  "data-[disabled]:pointer-events-none",
198
201
  "data-[disabled]:text-bg-quaternary",
199
202
  "[&_svg:not([class*='size-'])]:size-4",
@@ -220,7 +223,7 @@ function DropdownMenuLabel({
220
223
  {
221
224
  "data-slot": "dropdown-menu-label",
222
225
  "data-inset": inset,
223
- className: cn("text-text-secondary px-2 py-1.5 text-xs", className),
226
+ className: cn("text-text-secondary text-uk-xs leading-uk-xs px-2 py-1.5", className),
224
227
  ...props
225
228
  }
226
229
  );
@@ -243,7 +246,7 @@ function DropdownMenuShortcut({ className, ...props }) {
243
246
  "span",
244
247
  {
245
248
  "data-slot": "dropdown-menu-shortcut",
246
- className: cn("text-text-tertiary ml-auto text-xs", className),
249
+ className: cn("text-text-tertiary text-uk-xs leading-uk-xs ml-auto", className),
247
250
  ...props
248
251
  }
249
252
  );
@@ -274,7 +277,8 @@ function DropdownMenuSubTrigger({
274
277
  "relative",
275
278
  "cursor-default",
276
279
  "rounded-uk-xs",
277
- "text-xs",
280
+ "text-uk-xs",
281
+ "leading-uk-xs",
278
282
  "outline-hidden",
279
283
  "select-none",
280
284
  "hover:bg-bg-tertiary",
@@ -1,4 +1,4 @@
1
- import { cn } from './chunk-HW6SLBO3.mjs';
1
+ import { cn } from './chunk-KTNZSZ5Y.mjs';
2
2
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
3
  import React from 'react';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -55,7 +55,7 @@ function AvatarGroup({ children, className, spacing = "normal", max }) {
55
55
  {
56
56
  key: index,
57
57
  className: cn(
58
- `ring-background relative ring-2 z-[${zIndex}] hover:scale-120 transition-all duration-200 ease-in-out hover:z-[100]`,
58
+ `ring-background relative ring-2 z-[${zIndex}] transition-all duration-200 ease-in-out hover:z-[100] hover:scale-120`,
59
59
  (_a = child.props) == null ? void 0 : _a.className
60
60
  )
61
61
  }
@@ -67,7 +67,7 @@ function AvatarGroup({ children, className, spacing = "normal", max }) {
67
67
  Avatar,
68
68
  {
69
69
  className: cn(
70
- "ring-background hover:scale-120 relative cursor-default ring-2 transition-all duration-200 ease-in-out hover:z-[100]",
70
+ "ring-background relative cursor-default ring-2 transition-all duration-200 ease-in-out hover:z-[100] hover:scale-120",
71
71
  `z-[${30 - displayChildren.length}]`
72
72
  ),
73
73
  children: /* @__PURE__ */ jsxs(AvatarFallback, { children: [