@vuer-ai/vuer-uikit 0.0.2 → 0.0.4

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 (230) hide show
  1. package/README.md +80 -0
  2. package/dist/chunk-25GQKTNF.mjs +105 -0
  3. package/dist/chunk-277NQUJD.js +99 -0
  4. package/dist/chunk-3FR3WKI4.mjs +24 -0
  5. package/dist/chunk-3Q75Z2CT.mjs +76 -0
  6. package/dist/chunk-5BIQ3IN7.js +93 -0
  7. package/dist/chunk-5GPQ7U5B.mjs +50 -0
  8. package/dist/chunk-66JQXJEV.mjs +272 -0
  9. package/dist/chunk-6ILSFDR5.mjs +161 -0
  10. package/dist/chunk-6L4KPPOD.mjs +90 -0
  11. package/dist/chunk-75QDQ67T.js +56 -0
  12. package/dist/chunk-7A7VNE3J.mjs +31 -0
  13. package/dist/chunk-7SXCVFSA.mjs +200 -0
  14. package/dist/chunk-7V4ELMOH.js +52 -0
  15. package/dist/chunk-7WUQTWQX.js +303 -0
  16. package/dist/chunk-A2Z57NAA.js +202 -0
  17. package/dist/chunk-ATDHGFVI.mjs +82 -0
  18. package/dist/chunk-ATEHWT2R.mjs +78 -0
  19. package/dist/chunk-B5EMQBVL.js +93 -0
  20. package/dist/chunk-CLTLT5XW.js +27 -0
  21. package/dist/chunk-COFRS37Z.mjs +337 -0
  22. package/dist/chunk-CP7QYV4N.mjs +110 -0
  23. package/dist/chunk-CZSRIDXN.mjs +165 -0
  24. package/dist/chunk-D4C5V4EN.mjs +53 -0
  25. package/dist/chunk-DWIK2CUV.mjs +45 -0
  26. package/dist/chunk-ECWCQWV5.js +148 -0
  27. package/dist/chunk-ENZI5WM7.js +108 -0
  28. package/dist/chunk-FVT46HEE.js +21 -0
  29. package/dist/chunk-FXIL4NQZ.js +58 -0
  30. package/dist/chunk-FYS6YECN.js +33 -0
  31. package/dist/chunk-G7XNQVPB.js +187 -0
  32. package/dist/chunk-GSXXTAQ3.js +373 -0
  33. package/dist/chunk-HUQZOPYD.js +2 -0
  34. package/dist/chunk-HW6SLBO3.mjs +9 -0
  35. package/dist/chunk-IPKCIMU4.mjs +156 -0
  36. package/dist/chunk-J7PTSP4Q.mjs +19 -0
  37. package/dist/chunk-KJ42IGH6.js +2 -0
  38. package/dist/chunk-KO7BQ6RR.js +83 -0
  39. package/dist/chunk-KQHNQQUZ.js +103 -0
  40. package/dist/chunk-KVFK3YC7.js +187 -0
  41. package/dist/chunk-KYKEJFJT.js +110 -0
  42. package/dist/chunk-LD7Y34QT.js +79 -0
  43. package/dist/chunk-LVSI4HYF.mjs +409 -0
  44. package/dist/chunk-M3KBBKQR.mjs +15 -0
  45. package/dist/chunk-MASRZTZC.mjs +34 -0
  46. package/dist/chunk-NN7R5DNL.mjs +119 -0
  47. package/dist/chunk-OE56M4MX.js +93 -0
  48. package/dist/chunk-OTDY2E2A.js +163 -0
  49. package/dist/chunk-PKGNHHWG.mjs +60 -0
  50. package/dist/chunk-Q3APPCB2.mjs +91 -0
  51. package/dist/chunk-QOUX33X5.mjs +111 -0
  52. package/dist/chunk-QS7WS6DD.mjs +1 -0
  53. package/dist/chunk-QZASHJNJ.js +24 -0
  54. package/dist/chunk-R6XNT4PN.js +431 -0
  55. package/dist/chunk-RACVRWME.js +136 -0
  56. package/dist/chunk-S2F2GRDB.mjs +1 -0
  57. package/dist/chunk-SI56IQWH.js +102 -0
  58. package/dist/chunk-ST4P6AN6.js +2 -0
  59. package/dist/chunk-TOZYLDAL.mjs +72 -0
  60. package/dist/chunk-UFR656UY.mjs +87 -0
  61. package/dist/chunk-UWO6RBCE.js +11 -0
  62. package/dist/chunk-VGCVIHBR.mjs +1 -0
  63. package/dist/chunk-WOG6UIG5.mjs +71 -0
  64. package/dist/chunk-X2QENXCS.mjs +54 -0
  65. package/dist/chunk-XACRGXGF.js +75 -0
  66. package/dist/chunk-XPNUQSKQ.mjs +94 -0
  67. package/dist/chunk-YQORMF34.js +110 -0
  68. package/dist/chunk-Z37VNICQ.js +67 -0
  69. package/dist/chunk-ZJXBC33M.js +112 -0
  70. package/dist/highlight-cursor/cursor-context.d.mts +7 -0
  71. package/dist/highlight-cursor/cursor-context.d.ts +7 -0
  72. package/dist/highlight-cursor/cursor-context.js +14 -0
  73. package/dist/highlight-cursor/cursor-context.mjs +1 -0
  74. package/dist/highlight-cursor/cursor-provider.d.mts +7 -0
  75. package/dist/highlight-cursor/cursor-provider.d.ts +7 -0
  76. package/dist/highlight-cursor/cursor-provider.js +12 -0
  77. package/dist/highlight-cursor/cursor-provider.mjs +3 -0
  78. package/dist/highlight-cursor/enhanced-components.d.mts +20 -0
  79. package/dist/highlight-cursor/enhanced-components.d.ts +20 -0
  80. package/dist/highlight-cursor/enhanced-components.js +36 -0
  81. package/dist/highlight-cursor/enhanced-components.mjs +11 -0
  82. package/dist/highlight-cursor/index.d.mts +16 -0
  83. package/dist/highlight-cursor/index.d.ts +16 -0
  84. package/dist/highlight-cursor/index.js +50 -0
  85. package/dist/highlight-cursor/index.mjs +13 -0
  86. package/dist/highlight-cursor/tabs-cursor-context.d.mts +14 -0
  87. package/dist/highlight-cursor/tabs-cursor-context.d.ts +14 -0
  88. package/dist/highlight-cursor/tabs-cursor-context.js +14 -0
  89. package/dist/highlight-cursor/tabs-cursor-context.mjs +1 -0
  90. package/dist/highlight-cursor/types.d.mts +39 -0
  91. package/dist/highlight-cursor/types.d.ts +39 -0
  92. package/dist/highlight-cursor/types.js +2 -0
  93. package/dist/highlight-cursor/types.mjs +1 -0
  94. package/dist/highlight-cursor/with-cursor.d.mts +7 -0
  95. package/dist/highlight-cursor/with-cursor.d.ts +7 -0
  96. package/dist/highlight-cursor/with-cursor.js +11 -0
  97. package/dist/highlight-cursor/with-cursor.mjs +2 -0
  98. package/dist/index.css +314 -0
  99. package/dist/index.d.mts +51 -0
  100. package/dist/index.d.ts +51 -0
  101. package/dist/index.js +425 -6744
  102. package/dist/index.mjs +34 -0
  103. package/dist/styles/theme.css +191 -0
  104. package/dist/styles/theme.d.mts +2 -0
  105. package/dist/styles/theme.d.ts +2 -0
  106. package/dist/styles/toast.css +58 -0
  107. package/dist/styles/toast.d.mts +2 -0
  108. package/dist/styles/toast.d.ts +2 -0
  109. package/dist/styles/variables.css +188 -0
  110. package/dist/styles/variables.d.mts +2 -0
  111. package/dist/styles/variables.d.ts +2 -0
  112. package/dist/ui/avatar.d.mts +16 -0
  113. package/dist/ui/avatar.d.ts +16 -0
  114. package/dist/ui/avatar.js +23 -0
  115. package/dist/ui/avatar.mjs +2 -0
  116. package/dist/ui/badge.d.mts +14 -0
  117. package/dist/ui/badge.d.ts +14 -0
  118. package/dist/ui/badge.js +16 -0
  119. package/dist/ui/badge.mjs +3 -0
  120. package/dist/ui/button.d.mts +16 -0
  121. package/dist/ui/button.d.ts +16 -0
  122. package/dist/ui/button.js +12 -0
  123. package/dist/ui/button.mjs +3 -0
  124. package/dist/ui/card.d.mts +12 -0
  125. package/dist/ui/card.d.ts +12 -0
  126. package/dist/ui/card.js +36 -0
  127. package/dist/ui/card.mjs +3 -0
  128. package/dist/ui/checkbox.d.mts +11 -0
  129. package/dist/ui/checkbox.d.ts +11 -0
  130. package/dist/ui/checkbox.js +12 -0
  131. package/dist/ui/checkbox.mjs +3 -0
  132. package/dist/ui/collapsible.d.mts +9 -0
  133. package/dist/ui/collapsible.d.ts +9 -0
  134. package/dist/ui/collapsible.js +20 -0
  135. package/dist/ui/collapsible.mjs +3 -0
  136. package/dist/ui/dropdown.d.mts +28 -0
  137. package/dist/ui/dropdown.d.ts +28 -0
  138. package/dist/ui/dropdown.js +68 -0
  139. package/dist/ui/dropdown.mjs +3 -0
  140. package/dist/ui/index.d.mts +44 -0
  141. package/dist/ui/index.d.ts +44 -0
  142. package/dist/ui/index.js +398 -0
  143. package/dist/ui/index.mjs +29 -0
  144. package/dist/ui/input-numbers.d.mts +15 -0
  145. package/dist/ui/input-numbers.d.ts +15 -0
  146. package/dist/ui/input-numbers.js +13 -0
  147. package/dist/ui/input-numbers.mjs +4 -0
  148. package/dist/ui/input.d.mts +22 -0
  149. package/dist/ui/input.d.ts +22 -0
  150. package/dist/ui/input.js +16 -0
  151. package/dist/ui/input.mjs +3 -0
  152. package/dist/ui/layout.d.mts +12 -0
  153. package/dist/ui/layout.d.ts +12 -0
  154. package/dist/ui/layout.js +12 -0
  155. package/dist/ui/layout.mjs +3 -0
  156. package/dist/ui/modal.d.mts +28 -0
  157. package/dist/ui/modal.d.ts +28 -0
  158. package/dist/ui/modal.js +48 -0
  159. package/dist/ui/modal.mjs +3 -0
  160. package/dist/ui/popover.d.mts +10 -0
  161. package/dist/ui/popover.d.ts +10 -0
  162. package/dist/ui/popover.js +23 -0
  163. package/dist/ui/popover.mjs +2 -0
  164. package/dist/ui/radio-group.d.mts +8 -0
  165. package/dist/ui/radio-group.d.ts +8 -0
  166. package/dist/ui/radio-group.js +16 -0
  167. package/dist/ui/radio-group.mjs +3 -0
  168. package/dist/ui/select.d.mts +28 -0
  169. package/dist/{types/ui → ui}/select.d.ts +18 -14
  170. package/dist/ui/select.js +48 -0
  171. package/dist/ui/select.mjs +3 -0
  172. package/dist/ui/sheet.d.mts +16 -0
  173. package/dist/ui/sheet.d.ts +16 -0
  174. package/dist/ui/sheet.js +39 -0
  175. package/dist/ui/sheet.mjs +2 -0
  176. package/dist/ui/slider.d.mts +10 -0
  177. package/dist/ui/slider.d.ts +10 -0
  178. package/dist/ui/slider.js +12 -0
  179. package/dist/ui/slider.mjs +3 -0
  180. package/dist/ui/switch.d.mts +7 -0
  181. package/dist/ui/switch.d.ts +7 -0
  182. package/dist/ui/switch.js +12 -0
  183. package/dist/ui/switch.mjs +3 -0
  184. package/dist/ui/tabs.d.mts +16 -0
  185. package/dist/ui/tabs.d.ts +16 -0
  186. package/dist/ui/tabs.js +25 -0
  187. package/dist/ui/tabs.mjs +4 -0
  188. package/dist/ui/textarea.d.mts +16 -0
  189. package/dist/ui/textarea.d.ts +16 -0
  190. package/dist/ui/textarea.js +12 -0
  191. package/dist/ui/textarea.mjs +3 -0
  192. package/dist/ui/theme-context.d.mts +17 -0
  193. package/dist/{types/ui → ui}/theme-context.d.ts +5 -3
  194. package/dist/ui/theme-context.js +14 -0
  195. package/dist/ui/theme-context.mjs +1 -0
  196. package/dist/ui/toast.d.mts +7 -0
  197. package/dist/ui/toast.d.ts +7 -0
  198. package/dist/ui/toast.js +14 -0
  199. package/dist/ui/toast.mjs +1 -0
  200. package/dist/ui/toggle-group.d.mts +12 -0
  201. package/dist/ui/toggle-group.d.ts +12 -0
  202. package/dist/ui/toggle-group.js +17 -0
  203. package/dist/ui/toggle-group.mjs +4 -0
  204. package/dist/ui/toggle.d.mts +13 -0
  205. package/dist/ui/toggle.d.ts +13 -0
  206. package/dist/ui/toggle.js +16 -0
  207. package/dist/ui/toggle.mjs +3 -0
  208. package/dist/ui/tooltip.d.mts +10 -0
  209. package/dist/ui/tooltip.d.ts +10 -0
  210. package/dist/ui/tooltip.js +23 -0
  211. package/dist/ui/tooltip.mjs +2 -0
  212. package/dist/ui/tree-view.d.mts +27 -0
  213. package/dist/ui/tree-view.d.ts +27 -0
  214. package/dist/ui/tree-view.js +11 -0
  215. package/dist/ui/tree-view.mjs +2 -0
  216. package/dist/utils/cn.d.mts +5 -0
  217. package/dist/utils/cn.d.ts +5 -0
  218. package/dist/utils/cn.js +10 -0
  219. package/dist/utils/cn.mjs +1 -0
  220. package/dist/utils/index.d.mts +2 -0
  221. package/dist/utils/index.d.ts +2 -0
  222. package/dist/utils/index.js +11 -0
  223. package/dist/utils/index.mjs +2 -0
  224. package/package.json +49 -27
  225. package/dist/index.umd.js +0 -74
  226. package/dist/types/index.d.ts +0 -4
  227. package/dist/types/lib/utils.d.ts +0 -2
  228. package/dist/types/ui/button.d.ts +0 -13
  229. package/dist/types/ui/input.d.ts +0 -19
  230. package/dist/vuer-uikit.css +0 -1
@@ -0,0 +1,373 @@
1
+ 'use strict';
2
+
3
+ var chunkUWO6RBCE_js = require('./chunk-UWO6RBCE.js');
4
+ var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
5
+ var lucideReact = require('lucide-react');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
27
+
28
+ function DropdownMenu({ ...props }) {
29
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Root, { "data-slot": "dropdown-menu", ...props });
30
+ }
31
+ function DropdownMenuPortal({ ...props }) {
32
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { "data-slot": "dropdown-menu-portal", ...props });
33
+ }
34
+ function DropdownMenuTrigger({ ...props }) {
35
+ return /* @__PURE__ */ jsxRuntime.jsx(
36
+ DropdownMenuPrimitive__namespace.Trigger,
37
+ {
38
+ "data-slot": "dropdown-menu-trigger",
39
+ className: "text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary",
40
+ ...props
41
+ }
42
+ );
43
+ }
44
+ function DropdownMenuContent({
45
+ className,
46
+ sideOffset = 4,
47
+ ...props
48
+ }) {
49
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
50
+ DropdownMenuPrimitive__namespace.Content,
51
+ {
52
+ "data-slot": "dropdown-menu-content",
53
+ sideOffset,
54
+ className: chunkUWO6RBCE_js.cn(
55
+ [
56
+ "bg-bg-primary",
57
+ "p-md",
58
+ "data-[state=open]:animate-in",
59
+ "data-[state=closed]:animate-out",
60
+ "data-[state=closed]:fade-out-0",
61
+ "data-[state=open]:fade-in-0",
62
+ "data-[state=closed]:zoom-out-95",
63
+ "data-[state=open]:zoom-in-95",
64
+ "data-[side=bottom]:slide-in-from-top-2",
65
+ "data-[side=left]:slide-in-from-right-2",
66
+ "data-[side=right]:slide-in-from-left-2",
67
+ "data-[side=top]:slide-in-from-bottom-2",
68
+ "relative",
69
+ "z-50",
70
+ "max-h-(--radix-dropdown-menu-content-available-height)",
71
+ "min-w-[8rem]",
72
+ "origin-(--radix-dropdown-menu-content-transform-origin)",
73
+ "overflow-x-hidden",
74
+ "overflow-y-auto",
75
+ "rounded-uk-md",
76
+ "shadow-md",
77
+ "shadow-[0_8px_20px_0_rgba(0,0,0,.80)]",
78
+ "liquid:liquid-bg"
79
+ ],
80
+ className
81
+ ),
82
+ ...props
83
+ }
84
+ ) });
85
+ }
86
+ function DropdownMenuGroup({
87
+ className,
88
+ ...props
89
+ }) {
90
+ return /* @__PURE__ */ jsxRuntime.jsx(
91
+ DropdownMenuPrimitive__namespace.Group,
92
+ {
93
+ "data-slot": "dropdown-menu-group",
94
+ className: chunkUWO6RBCE_js.cn("space-y-xs", className),
95
+ ...props
96
+ }
97
+ );
98
+ }
99
+ function DropdownMenuItem({
100
+ className,
101
+ inset,
102
+ variant = "default",
103
+ ...props
104
+ }) {
105
+ return /* @__PURE__ */ jsxRuntime.jsx(
106
+ DropdownMenuPrimitive__namespace.Item,
107
+ {
108
+ "data-slot": "dropdown-menu-item",
109
+ "data-inset": inset,
110
+ "data-variant": variant,
111
+ className: chunkUWO6RBCE_js.cn(
112
+ [
113
+ "w-full",
114
+ "flex",
115
+ "gap-md",
116
+ "items-center",
117
+ "pr-md",
118
+ "pl-[calc(var(--spacing-md)*2)]",
119
+ "py-xs",
120
+ "mb-xs",
121
+ "last:mb-0",
122
+ "relative",
123
+ "cursor-default",
124
+ "rounded-uk-xs",
125
+ "text-xs",
126
+ "outline-hidden",
127
+ "select-none",
128
+ "hover:bg-bg-tertiary",
129
+ "data-[disabled]:pointer-events-none",
130
+ "data-[disabled]:text-bg-quaternary",
131
+ "[&_svg]:pointer-events-none",
132
+ "[&_svg]:shrink-0",
133
+ "[&_svg:not([class*='size-'])]:size-4",
134
+ "[&_svg:not([class*='text-'])]:text-muted-foreground"
135
+ ],
136
+ className
137
+ ),
138
+ ...props
139
+ }
140
+ );
141
+ }
142
+ function DropdownMenuCheckboxItem({
143
+ className,
144
+ children,
145
+ checked,
146
+ ...props
147
+ }) {
148
+ return /* @__PURE__ */ jsxRuntime.jsxs(
149
+ DropdownMenuPrimitive__namespace.CheckboxItem,
150
+ {
151
+ "data-slot": "dropdown-menu-checkbox-item",
152
+ className: chunkUWO6RBCE_js.cn(
153
+ [
154
+ "w-full",
155
+ "flex",
156
+ "gap-md",
157
+ "items-center",
158
+ "pr-md",
159
+ "pl-[calc(var(--spacing-xl)*1.8)]",
160
+ "py-xs",
161
+ "mb-xs",
162
+ "last:mb-0",
163
+ "relative",
164
+ "cursor-default",
165
+ "rounded-uk-xs",
166
+ "text-xs",
167
+ "outline-hidden",
168
+ "select-none",
169
+ "hover:bg-bg-tertiary",
170
+ "data-[disabled]:pointer-events-none",
171
+ "data-[disabled]:text-bg-quaternary",
172
+ "[&_svg:not([class*='size-'])]:size-4",
173
+ "[&_svg]:pointer-events-none",
174
+ "[&_svg]:shrink-0"
175
+ ],
176
+ className
177
+ ),
178
+ checked,
179
+ ...props,
180
+ children: [
181
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4" }) }) }),
182
+ children
183
+ ]
184
+ }
185
+ );
186
+ }
187
+ function DropdownMenuRadioGroup({
188
+ ...props
189
+ }) {
190
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
191
+ }
192
+ function DropdownMenuRadioItem({
193
+ className,
194
+ children,
195
+ ...props
196
+ }) {
197
+ return /* @__PURE__ */ jsxRuntime.jsxs(
198
+ DropdownMenuPrimitive__namespace.RadioItem,
199
+ {
200
+ "data-slot": "dropdown-menu-radio-item",
201
+ className: chunkUWO6RBCE_js.cn(
202
+ [
203
+ "w-full",
204
+ "hover:bg-bg-tertiary",
205
+ "outline-hidden",
206
+ "relative",
207
+ "flex",
208
+ "cursor-default",
209
+ "select-none",
210
+ "items-center",
211
+ "gap-md",
212
+ "rounded-uk-xs",
213
+ "py-xs",
214
+ "pl-[calc(var(--spacing-xl)*1.8)]",
215
+ "pr-md",
216
+ "mb-xs",
217
+ "last:mb-0",
218
+ "text-xs",
219
+ "data-[disabled]:pointer-events-none",
220
+ "data-[disabled]:text-bg-quaternary",
221
+ "[&_svg:not([class*='size-'])]:size-4",
222
+ "[&_svg]:pointer-events-none",
223
+ "[&_svg]:shrink-0"
224
+ ],
225
+ className
226
+ ),
227
+ ...props,
228
+ children: [
229
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleIcon, { className: "size-2 fill-current" }) }) }),
230
+ children
231
+ ]
232
+ }
233
+ );
234
+ }
235
+ function DropdownMenuLabel({
236
+ className,
237
+ inset,
238
+ ...props
239
+ }) {
240
+ return /* @__PURE__ */ jsxRuntime.jsx(
241
+ DropdownMenuPrimitive__namespace.Label,
242
+ {
243
+ "data-slot": "dropdown-menu-label",
244
+ "data-inset": inset,
245
+ className: chunkUWO6RBCE_js.cn("text-text-secondary px-2 py-1.5 text-xs", className),
246
+ ...props
247
+ }
248
+ );
249
+ }
250
+ function DropdownMenuSeparator({
251
+ className,
252
+ ...props
253
+ }) {
254
+ return /* @__PURE__ */ jsxRuntime.jsx(
255
+ DropdownMenuPrimitive__namespace.Separator,
256
+ {
257
+ "data-slot": "dropdown-menu-separator",
258
+ className: chunkUWO6RBCE_js.cn("bg-line-primary my-lg pointer-events-none -mx-1 h-px", className),
259
+ ...props
260
+ }
261
+ );
262
+ }
263
+ function DropdownMenuShortcut({ className, ...props }) {
264
+ return /* @__PURE__ */ jsxRuntime.jsx(
265
+ "span",
266
+ {
267
+ "data-slot": "dropdown-menu-shortcut",
268
+ className: chunkUWO6RBCE_js.cn("text-text-tertiary ml-auto text-xs", className),
269
+ ...props
270
+ }
271
+ );
272
+ }
273
+ function DropdownMenuSub({ ...props }) {
274
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Sub, { "data-slot": "dropdown-menu-sub", ...props });
275
+ }
276
+ function DropdownMenuSubTrigger({
277
+ className,
278
+ inset,
279
+ children,
280
+ ...props
281
+ }) {
282
+ return /* @__PURE__ */ jsxRuntime.jsxs(
283
+ DropdownMenuPrimitive__namespace.SubTrigger,
284
+ {
285
+ "data-slot": "dropdown-menu-sub-trigger",
286
+ "data-inset": inset,
287
+ className: chunkUWO6RBCE_js.cn(
288
+ "w-full",
289
+ "flex",
290
+ "gap-md",
291
+ "items-center",
292
+ "pr-md",
293
+ "pl-[calc(var(--spacing-md)*2)]",
294
+ "py-xs",
295
+ "mb-xs",
296
+ "relative",
297
+ "cursor-default",
298
+ "rounded-uk-xs",
299
+ "text-xs",
300
+ "outline-hidden",
301
+ "select-none",
302
+ "hover:bg-bg-tertiary",
303
+ "data-[state=open]:bg-bg-tertiary",
304
+ "data-[disabled]:pointer-events-none",
305
+ "data-[disabled]:text-bg-quaternary",
306
+ "[&_svg]:pointer-events-none",
307
+ "[&_svg]:shrink-0",
308
+ "[&_svg:not([class*='size-'])]:size-4",
309
+ "[&_svg:not([class*='text-'])]:text-muted-foreground",
310
+ className
311
+ ),
312
+ ...props,
313
+ children: [
314
+ children,
315
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRightIcon, { className: "ml-auto size-4" })
316
+ ]
317
+ }
318
+ );
319
+ }
320
+ function DropdownMenuSubContent({
321
+ className,
322
+ ...props
323
+ }) {
324
+ return /* @__PURE__ */ jsxRuntime.jsx(
325
+ DropdownMenuPrimitive__namespace.SubContent,
326
+ {
327
+ "data-slot": "dropdown-menu-sub-content",
328
+ className: chunkUWO6RBCE_js.cn(
329
+ "bg-bg-primary",
330
+ "p-md",
331
+ "data-[state=open]:animate-in",
332
+ "data-[state=closed]:animate-out",
333
+ "data-[state=closed]:fade-out-0",
334
+ "data-[state=open]:fade-in-0",
335
+ "data-[state=closed]:zoom-out-95",
336
+ "data-[state=open]:zoom-in-95",
337
+ "data-[side=bottom]:slide-in-from-top-2",
338
+ "data-[side=left]:slide-in-from-right-2",
339
+ "data-[side=right]:slide-in-from-left-2",
340
+ "data-[side=top]:slide-in-from-bottom-2",
341
+ "relative",
342
+ "z-50",
343
+ "max-h-(--radix-dropdown-menu-content-available-height)",
344
+ "min-w-[8rem]",
345
+ "origin-(--radix-dropdown-menu-content-transform-origin)",
346
+ "overflow-x-hidden",
347
+ "overflow-y-auto",
348
+ "rounded-uk-md",
349
+ "shadow-md",
350
+ "shadow-[0_8px_20px_0_rgba(0,0,0,.80)]",
351
+ "liquid:liquid-bg",
352
+ className
353
+ ),
354
+ ...props
355
+ }
356
+ );
357
+ }
358
+
359
+ exports.DropdownMenu = DropdownMenu;
360
+ exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
361
+ exports.DropdownMenuContent = DropdownMenuContent;
362
+ exports.DropdownMenuGroup = DropdownMenuGroup;
363
+ exports.DropdownMenuItem = DropdownMenuItem;
364
+ exports.DropdownMenuLabel = DropdownMenuLabel;
365
+ exports.DropdownMenuPortal = DropdownMenuPortal;
366
+ exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
367
+ exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
368
+ exports.DropdownMenuSeparator = DropdownMenuSeparator;
369
+ exports.DropdownMenuShortcut = DropdownMenuShortcut;
370
+ exports.DropdownMenuSub = DropdownMenuSub;
371
+ exports.DropdownMenuSubContent = DropdownMenuSubContent;
372
+ exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
373
+ exports.DropdownMenuTrigger = DropdownMenuTrigger;
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,9 @@
1
+ import { clsx } from 'clsx';
2
+ import { twMerge } from 'tailwind-merge';
3
+
4
+ // src/utils/cn.ts
5
+ function cn(...inputs) {
6
+ return twMerge(clsx(inputs));
7
+ }
8
+
9
+ export { cn };
@@ -0,0 +1,156 @@
1
+ import { cn } from './chunk-HW6SLBO3.mjs';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ import { cva } from 'class-variance-authority';
4
+ import { XIcon } from 'lucide-react';
5
+ import { jsx, jsxs } from 'react/jsx-runtime';
6
+
7
+ function Modal({ ...props }) {
8
+ return /* @__PURE__ */ jsx(DialogPrimitive.Root, { "data-slot": "modal", ...props });
9
+ }
10
+ function ModalTrigger({ ...props }) {
11
+ return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { "data-slot": "modal-trigger", ...props });
12
+ }
13
+ function ModalPortal({ ...props }) {
14
+ return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { "data-slot": "modal-portal", ...props });
15
+ }
16
+ function ModalClose({ ...props }) {
17
+ return /* @__PURE__ */ jsx(DialogPrimitive.Close, { "data-slot": "modal-close", ...props });
18
+ }
19
+ var modalOverlayVariants = cva([
20
+ "fixed",
21
+ "inset-0",
22
+ "z-100",
23
+ "bg-bg-mask",
24
+ "transition-all",
25
+ "duration-200"
26
+ ]);
27
+ function ModalOverlay({ className, ...props }) {
28
+ return /* @__PURE__ */ jsx(
29
+ DialogPrimitive.Overlay,
30
+ {
31
+ "data-slot": "modal-overlay",
32
+ className: cn(modalOverlayVariants(), className),
33
+ ...props
34
+ }
35
+ );
36
+ }
37
+ var modalContentVariants = cva([
38
+ "px-xl",
39
+ "pb-xl",
40
+ "bg-bg-primary",
41
+ "rounded-xl",
42
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
43
+ "w-[320px]",
44
+ "min-w-[280px]",
45
+ "duration-200",
46
+ "transition-all",
47
+ "fixed",
48
+ "translate-x-[-50%]",
49
+ "translate-y-[-50%]",
50
+ "z-101",
51
+ "left-1/2",
52
+ "top-1/2",
53
+ "data-[state=open]:animate-in",
54
+ "data-[state=closed]:animate-out",
55
+ "data-[state=closed]:fade-out-0",
56
+ "data-[state=open]:fade-in-0",
57
+ "data-[state=closed]:zoom-out-95",
58
+ "data-[state=open]:zoom-in-95",
59
+ "liquid:liquid-bg"
60
+ ]);
61
+ function ModalContent({
62
+ className,
63
+ children,
64
+ showCloseButton = true,
65
+ ...props
66
+ }) {
67
+ return /* @__PURE__ */ jsxs(ModalPortal, { children: [
68
+ /* @__PURE__ */ jsx(ModalOverlay, {}),
69
+ /* @__PURE__ */ jsxs(
70
+ DialogPrimitive.Content,
71
+ {
72
+ "data-slot": "modal-content",
73
+ className: cn(modalContentVariants(), className),
74
+ ...props,
75
+ children: [
76
+ children,
77
+ showCloseButton && /* @__PURE__ */ jsxs(
78
+ DialogPrimitive.Close,
79
+ {
80
+ "data-slot": "modal-close",
81
+ className: cn(
82
+ "absolute",
83
+ "right-[16px]",
84
+ "top-[16px]",
85
+ "w-[16px]",
86
+ "h-[16px]",
87
+ "rounded-sm",
88
+ "cursor-pointer",
89
+ "hover:text-icon-highlight",
90
+ "text-icon-primary",
91
+ "flex",
92
+ "items-center",
93
+ "justify-center"
94
+ ),
95
+ children: [
96
+ /* @__PURE__ */ jsx(XIcon, {}),
97
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
98
+ ]
99
+ }
100
+ )
101
+ ]
102
+ }
103
+ )
104
+ ] });
105
+ }
106
+ function ModalHeader({ className, ...props }) {
107
+ return /* @__PURE__ */ jsx("div", { "data-slot": "modal-header", className: cn("flex flex-col", className), ...props });
108
+ }
109
+ function ModalTitle({ className, ...props }) {
110
+ return /* @__PURE__ */ jsx(
111
+ DialogPrimitive.Title,
112
+ {
113
+ "data-slot": "modal-title",
114
+ className: cn(
115
+ "text-text-highlight",
116
+ "text-[14px]",
117
+ "leading-[20px]",
118
+ "font-medium",
119
+ "py-lg",
120
+ "text-center",
121
+ className
122
+ ),
123
+ ...props
124
+ }
125
+ );
126
+ }
127
+ function ModalDescription({ className, ...props }) {
128
+ return /* @__PURE__ */ jsx(
129
+ DialogPrimitive.Description,
130
+ {
131
+ "data-slot": "modal-description",
132
+ className: cn(
133
+ "text-text-primary",
134
+ "text-[14px]",
135
+ "leading-[20px]",
136
+ "font-normal",
137
+ "pb-lg",
138
+ "text-start",
139
+ className
140
+ ),
141
+ ...props
142
+ }
143
+ );
144
+ }
145
+ function ModalFooter({ className, ...props }) {
146
+ return /* @__PURE__ */ jsx(
147
+ "div",
148
+ {
149
+ "data-slot": "modal-footer",
150
+ className: cn("w-full", "flex", "justify-end", "gap-[8px]", className),
151
+ ...props
152
+ }
153
+ );
154
+ }
155
+
156
+ export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger };
@@ -0,0 +1,19 @@
1
+ import { Toaster as Toaster$1 } from 'sonner';
2
+ export { toast } from 'sonner';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ // src/ui/toast.tsx
6
+ var Toaster = ({ ...props }) => {
7
+ return /* @__PURE__ */ jsx(
8
+ Toaster$1,
9
+ {
10
+ toastOptions: {
11
+ className: "vk-toast liquid:liquid-bg",
12
+ descriptionClassName: "vk-toast-description"
13
+ },
14
+ ...props
15
+ }
16
+ );
17
+ };
18
+
19
+ export { Toaster };
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,83 @@
1
+ 'use strict';
2
+
3
+ var chunkUWO6RBCE_js = require('./chunk-UWO6RBCE.js');
4
+ var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n.default = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var RadioGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(RadioGroupPrimitive);
26
+
27
+ function RadioGroup({ className, ...props }) {
28
+ return /* @__PURE__ */ jsxRuntime.jsx(
29
+ RadioGroupPrimitive__namespace.Root,
30
+ {
31
+ "data-slot": "radio-group",
32
+ className: chunkUWO6RBCE_js.cn("grid gap-2", className),
33
+ ...props
34
+ }
35
+ );
36
+ }
37
+ function RadioGroupItem({ className, ...props }) {
38
+ return /* @__PURE__ */ jsxRuntime.jsx(
39
+ RadioGroupPrimitive__namespace.Item,
40
+ {
41
+ "data-slot": "radio-group-item",
42
+ className: chunkUWO6RBCE_js.cn(
43
+ "group",
44
+ "w-[16px]",
45
+ "h-[16px]",
46
+ "rounded-full",
47
+ "border-[1.5px]",
48
+ "border-solid",
49
+ "border-bg-tertiary",
50
+ "data-[state=checked]:border-brand-primary",
51
+ "disabled:cursor-not-allowed",
52
+ "disabled:bg-bg-secondary",
53
+ "disabled:data-[state=checked]:border-bg-tertiary",
54
+ className
55
+ ),
56
+ ...props,
57
+ children: /* @__PURE__ */ jsxRuntime.jsx(
58
+ RadioGroupPrimitive__namespace.Indicator,
59
+ {
60
+ "data-slot": "radio-group-indicator",
61
+ className: "relative flex items-center justify-center",
62
+ children: /* @__PURE__ */ jsxRuntime.jsx(
63
+ "div",
64
+ {
65
+ className: chunkUWO6RBCE_js.cn(
66
+ "absolute",
67
+ "inset-0",
68
+ "m-auto",
69
+ "size-[8px]",
70
+ "rounded-full",
71
+ "bg-brand-primary",
72
+ "group-disabled:bg-bg-tertiary"
73
+ )
74
+ }
75
+ )
76
+ }
77
+ )
78
+ }
79
+ );
80
+ }
81
+
82
+ exports.RadioGroup = RadioGroup;
83
+ exports.RadioGroupItem = RadioGroupItem;