@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,14 @@
1
+ 'use strict';
2
+
3
+ var chunkQZASHJNJ_js = require('../chunk-QZASHJNJ.js');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Toaster", {
8
+ enumerable: true,
9
+ get: function () { return chunkQZASHJNJ_js.Toaster; }
10
+ });
11
+ Object.defineProperty(exports, "toast", {
12
+ enumerable: true,
13
+ get: function () { return chunkQZASHJNJ_js.toast; }
14
+ });
@@ -0,0 +1 @@
1
+ export { Toaster, toast } from '../chunk-J7PTSP4Q.mjs';
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { ComponentProps } from 'react';
5
+ import { toggleVariants } from './toggle.mjs';
6
+ import 'class-variance-authority/types';
7
+ import '@radix-ui/react-toggle';
8
+
9
+ declare function ToggleGroup({ className, variant, size, children, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
10
+ declare function ToggleGroupItem({ className, children, variant, size, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
11
+
12
+ export { ToggleGroup, ToggleGroupItem };
@@ -0,0 +1,12 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { ComponentProps } from 'react';
5
+ import { toggleVariants } from './toggle.js';
6
+ import 'class-variance-authority/types';
7
+ import '@radix-ui/react-toggle';
8
+
9
+ declare function ToggleGroup({ className, variant, size, children, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
10
+ declare function ToggleGroupItem({ className, children, variant, size, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
11
+
12
+ export { ToggleGroup, ToggleGroupItem };
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunk277NQUJD_js = require('../chunk-277NQUJD.js');
4
+ require('../chunk-YQORMF34.js');
5
+ require('../chunk-ST4P6AN6.js');
6
+ require('../chunk-UWO6RBCE.js');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "ToggleGroup", {
11
+ enumerable: true,
12
+ get: function () { return chunk277NQUJD_js.ToggleGroup; }
13
+ });
14
+ Object.defineProperty(exports, "ToggleGroupItem", {
15
+ enumerable: true,
16
+ get: function () { return chunk277NQUJD_js.ToggleGroupItem; }
17
+ });
@@ -0,0 +1,4 @@
1
+ export { ToggleGroup, ToggleGroupItem } from '../chunk-3Q75Z2CT.mjs';
2
+ import '../chunk-UFR656UY.mjs';
3
+ import '../chunk-QS7WS6DD.mjs';
4
+ import '../chunk-HW6SLBO3.mjs';
@@ -0,0 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import { ComponentProps } from 'react';
6
+
7
+ declare const toggleVariants: (props?: ({
8
+ variant?: "primary" | "secondary" | null | undefined;
9
+ size?: "base" | "sm" | "lg" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
12
+
13
+ export { Toggle, toggleVariants };
@@ -0,0 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import { ComponentProps } from 'react';
6
+
7
+ declare const toggleVariants: (props?: ({
8
+ variant?: "primary" | "secondary" | null | undefined;
9
+ size?: "base" | "sm" | "lg" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
12
+
13
+ export { Toggle, toggleVariants };
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkYQORMF34_js = require('../chunk-YQORMF34.js');
4
+ require('../chunk-ST4P6AN6.js');
5
+ require('../chunk-UWO6RBCE.js');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "Toggle", {
10
+ enumerable: true,
11
+ get: function () { return chunkYQORMF34_js.Toggle; }
12
+ });
13
+ Object.defineProperty(exports, "toggleVariants", {
14
+ enumerable: true,
15
+ get: function () { return chunkYQORMF34_js.toggleVariants; }
16
+ });
@@ -0,0 +1,3 @@
1
+ export { Toggle, toggleVariants } from '../chunk-UFR656UY.mjs';
2
+ import '../chunk-QS7WS6DD.mjs';
3
+ import '../chunk-HW6SLBO3.mjs';
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
+ import { ComponentProps } from 'react';
4
+
5
+ declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
6
+ declare function Tooltip({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
7
+ declare function TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
8
+ declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
9
+
10
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
+ import { ComponentProps } from 'react';
4
+
5
+ declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
6
+ declare function Tooltip({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
7
+ declare function TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
8
+ declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
9
+
10
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var chunkKQHNQQUZ_js = require('../chunk-KQHNQQUZ.js');
4
+ require('../chunk-UWO6RBCE.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Tooltip", {
9
+ enumerable: true,
10
+ get: function () { return chunkKQHNQQUZ_js.Tooltip; }
11
+ });
12
+ Object.defineProperty(exports, "TooltipContent", {
13
+ enumerable: true,
14
+ get: function () { return chunkKQHNQQUZ_js.TooltipContent; }
15
+ });
16
+ Object.defineProperty(exports, "TooltipProvider", {
17
+ enumerable: true,
18
+ get: function () { return chunkKQHNQQUZ_js.TooltipProvider; }
19
+ });
20
+ Object.defineProperty(exports, "TooltipTrigger", {
21
+ enumerable: true,
22
+ get: function () { return chunkKQHNQQUZ_js.TooltipTrigger; }
23
+ });
@@ -0,0 +1,2 @@
1
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../chunk-ATEHWT2R.mjs';
2
+ import '../chunk-HW6SLBO3.mjs';
@@ -0,0 +1,27 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ interface TreeDataItem {
5
+ id: string;
6
+ name: string;
7
+ icon?: any;
8
+ selectedIcon?: any;
9
+ openIcon?: any;
10
+ children?: TreeDataItem[];
11
+ actions?: ReactNode;
12
+ onClick?: () => void;
13
+ draggable?: boolean;
14
+ droppable?: boolean;
15
+ disabled?: boolean;
16
+ }
17
+ declare const TreeView: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
18
+ data: TreeDataItem[] | TreeDataItem;
19
+ initialSelectedItemId?: string;
20
+ onSelectChange?: (item: TreeDataItem | undefined) => void;
21
+ expandAll?: boolean;
22
+ defaultNodeIcon?: any;
23
+ defaultLeafIcon?: any;
24
+ onDocumentDrag?: (sourceItem: TreeDataItem, targetItem: TreeDataItem) => void;
25
+ } & react.RefAttributes<HTMLDivElement>>;
26
+
27
+ export { type TreeDataItem, TreeView };
@@ -0,0 +1,27 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ interface TreeDataItem {
5
+ id: string;
6
+ name: string;
7
+ icon?: any;
8
+ selectedIcon?: any;
9
+ openIcon?: any;
10
+ children?: TreeDataItem[];
11
+ actions?: ReactNode;
12
+ onClick?: () => void;
13
+ draggable?: boolean;
14
+ droppable?: boolean;
15
+ disabled?: boolean;
16
+ }
17
+ declare const TreeView: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
18
+ data: TreeDataItem[] | TreeDataItem;
19
+ initialSelectedItemId?: string;
20
+ onSelectChange?: (item: TreeDataItem | undefined) => void;
21
+ expandAll?: boolean;
22
+ defaultNodeIcon?: any;
23
+ defaultLeafIcon?: any;
24
+ onDocumentDrag?: (sourceItem: TreeDataItem, targetItem: TreeDataItem) => void;
25
+ } & react.RefAttributes<HTMLDivElement>>;
26
+
27
+ export { type TreeDataItem, TreeView };
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkR6XNT4PN_js = require('../chunk-R6XNT4PN.js');
4
+ require('../chunk-UWO6RBCE.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "TreeView", {
9
+ enumerable: true,
10
+ get: function () { return chunkR6XNT4PN_js.TreeView; }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { TreeView } from '../chunk-LVSI4HYF.mjs';
2
+ import '../chunk-HW6SLBO3.mjs';
@@ -0,0 +1,5 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ declare function cn(...inputs: ClassValue[]): string;
4
+
5
+ export { cn };
@@ -0,0 +1,5 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ declare function cn(...inputs: ClassValue[]): string;
4
+
5
+ export { cn };
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var chunkUWO6RBCE_js = require('../chunk-UWO6RBCE.js');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "cn", {
8
+ enumerable: true,
9
+ get: function () { return chunkUWO6RBCE_js.cn; }
10
+ });
@@ -0,0 +1 @@
1
+ export { cn } from '../chunk-HW6SLBO3.mjs';
@@ -0,0 +1,2 @@
1
+ export { cn } from './cn.mjs';
2
+ import 'clsx';
@@ -0,0 +1,2 @@
1
+ export { cn } from './cn.js';
2
+ import 'clsx';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ require('../chunk-ST4P6AN6.js');
4
+ var chunkUWO6RBCE_js = require('../chunk-UWO6RBCE.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "cn", {
9
+ enumerable: true,
10
+ get: function () { return chunkUWO6RBCE_js.cn; }
11
+ });
@@ -0,0 +1,2 @@
1
+ import '../chunk-QS7WS6DD.mjs';
2
+ export { cn } from '../chunk-HW6SLBO3.mjs';
package/package.json CHANGED
@@ -1,31 +1,43 @@
1
1
  {
2
2
  "name": "@vuer-ai/vuer-uikit",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "React UI Kit components",
5
- "style": "./dist/vuer-uikit.css",
6
- "types": "./dist/types/index.d.ts",
5
+ "keywords": [
6
+ "react",
7
+ "ui",
8
+ "components",
9
+ "kit"
10
+ ],
11
+ "author": "Vuer AI",
12
+ "license": "MIT",
13
+ "main": "./dist/index.mjs",
14
+ "types": "./dist/index.d.mts",
7
15
  "exports": {
8
16
  ".": {
9
- "import": "./dist/index.js",
10
- "types": "./dist/types/index.d.ts"
17
+ "import": {
18
+ "types": "./dist/index.d.mts",
19
+ "default": "./dist/index.mjs"
20
+ },
21
+ "require": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ }
11
25
  },
12
- "./index": "./dist/vuer-uikit.css",
13
- "./index.css": "./dist/vuer-uikit.css"
26
+ "./index.css": "./dist/index.css"
14
27
  },
28
+ "sideEffects": false,
15
29
  "files": [
16
30
  "dist"
17
31
  ],
18
- "type": "module",
19
32
  "scripts": {
20
- "dev": "vite",
21
- "build": "tsc -b && vite build",
22
- "lint": "eslint .",
33
+ "dev": "tsup --watch",
34
+ "build": "tsup",
35
+ "lint": "eslint . --fix",
23
36
  "prettier": "prettier . --write",
24
- "preview": "vite preview",
25
37
  "prepare": "husky"
26
38
  },
27
39
  "lint-staged": {
28
- "**/*": "prettier --write --ignore-unknown"
40
+ "**/*": "eslint . --fix --no-warn-ignored"
29
41
  },
30
42
  "peerDependencies": {
31
43
  "react": "^19.0.0",
@@ -33,22 +45,38 @@
33
45
  "tailwindcss": "^4.0.0"
34
46
  },
35
47
  "dependencies": {
48
+ "@radix-ui/react-accordion": "^1.2.11",
49
+ "@radix-ui/react-avatar": "^1.1.3",
50
+ "@radix-ui/react-checkbox": "^1.3.2",
51
+ "@radix-ui/react-collapsible": "^1.1.11",
36
52
  "@radix-ui/react-compose-refs": "^1.1.2",
53
+ "@radix-ui/react-dialog": "^1.1.4",
54
+ "@radix-ui/react-dropdown-menu": "^2.1.5",
55
+ "@radix-ui/react-popover": "^1.1.4",
56
+ "@radix-ui/react-radio-group": "^1.3.7",
37
57
  "@radix-ui/react-select": "^2.2.5",
58
+ "@radix-ui/react-slider": "^1.3.5",
38
59
  "@radix-ui/react-slot": "^1.2.3",
60
+ "@radix-ui/react-switch": "^1.2.5",
61
+ "@radix-ui/react-tabs": "^1.1.5",
62
+ "@radix-ui/react-toggle": "^1.1.1",
63
+ "@radix-ui/react-toggle-group": "^1.1.1",
64
+ "@radix-ui/react-tooltip": "^1.1.10",
65
+ "@use-gesture/react": "^10.3.1",
39
66
  "class-variance-authority": "^0.7.1",
40
67
  "clsx": "^2.1.1",
68
+ "framer-motion": "^11.15.0",
41
69
  "lucide-react": "^0.525.0",
70
+ "sonner": "^2.0.6",
42
71
  "tailwind-merge": "^3.3.1"
43
72
  },
44
73
  "devDependencies": {
45
74
  "@eslint/js": "^9.30.1",
46
75
  "@tailwindcss/cli": "^4.1.11",
47
- "@tailwindcss/vite": "^4.1.11",
48
76
  "@types/node": "^20.0.0",
49
77
  "@types/react": "^19.1.8",
50
78
  "@types/react-dom": "^19.1.6",
51
- "@vitejs/plugin-react": "^4.6.0",
79
+ "autoprefixer": "^10.4.21",
52
80
  "eslint": "^9.30.1",
53
81
  "eslint-config-prettier": "^10.1.5",
54
82
  "eslint-plugin-import": "^2.32.0",
@@ -58,20 +86,14 @@
58
86
  "globals": "^16.3.0",
59
87
  "husky": "^9.1.7",
60
88
  "lint-staged": "^16.1.2",
89
+ "postcss": "^8.5.6",
90
+ "postcss-cli": "^11.0.1",
91
+ "postcss-import": "^16.1.1",
61
92
  "prettier": "^3.6.2",
62
93
  "prettier-plugin-tailwindcss": "^0.6.14",
94
+ "tsup": "^8.5.0",
63
95
  "tw-animate-css": "^1.3.5",
64
96
  "typescript": "~5.8.3",
65
- "typescript-eslint": "^8.35.1",
66
- "vite": "^7.0.3",
67
- "vite-plugin-dts": "^4.5.4"
68
- },
69
- "keywords": [
70
- "react",
71
- "ui",
72
- "components",
73
- "kit"
74
- ],
75
- "author": "Vuer AI",
76
- "license": "MIT"
97
+ "typescript-eslint": "^8.35.1"
98
+ }
77
99
  }