@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.
- package/README.md +80 -0
- package/dist/chunk-25GQKTNF.mjs +105 -0
- package/dist/chunk-277NQUJD.js +99 -0
- package/dist/chunk-3FR3WKI4.mjs +24 -0
- package/dist/chunk-3Q75Z2CT.mjs +76 -0
- package/dist/chunk-5BIQ3IN7.js +93 -0
- package/dist/chunk-5GPQ7U5B.mjs +50 -0
- package/dist/chunk-66JQXJEV.mjs +272 -0
- package/dist/chunk-6ILSFDR5.mjs +161 -0
- package/dist/chunk-6L4KPPOD.mjs +90 -0
- package/dist/chunk-75QDQ67T.js +56 -0
- package/dist/chunk-7A7VNE3J.mjs +31 -0
- package/dist/chunk-7SXCVFSA.mjs +200 -0
- package/dist/chunk-7V4ELMOH.js +52 -0
- package/dist/chunk-7WUQTWQX.js +303 -0
- package/dist/chunk-A2Z57NAA.js +202 -0
- package/dist/chunk-ATDHGFVI.mjs +82 -0
- package/dist/chunk-ATEHWT2R.mjs +78 -0
- package/dist/chunk-B5EMQBVL.js +93 -0
- package/dist/chunk-CLTLT5XW.js +27 -0
- package/dist/chunk-COFRS37Z.mjs +337 -0
- package/dist/chunk-CP7QYV4N.mjs +110 -0
- package/dist/chunk-CZSRIDXN.mjs +165 -0
- package/dist/chunk-D4C5V4EN.mjs +53 -0
- package/dist/chunk-DWIK2CUV.mjs +45 -0
- package/dist/chunk-ECWCQWV5.js +148 -0
- package/dist/chunk-ENZI5WM7.js +108 -0
- package/dist/chunk-FVT46HEE.js +21 -0
- package/dist/chunk-FXIL4NQZ.js +58 -0
- package/dist/chunk-FYS6YECN.js +33 -0
- package/dist/chunk-G7XNQVPB.js +187 -0
- package/dist/chunk-GSXXTAQ3.js +373 -0
- package/dist/chunk-HUQZOPYD.js +2 -0
- package/dist/chunk-HW6SLBO3.mjs +9 -0
- package/dist/chunk-IPKCIMU4.mjs +156 -0
- package/dist/chunk-J7PTSP4Q.mjs +19 -0
- package/dist/chunk-KJ42IGH6.js +2 -0
- package/dist/chunk-KO7BQ6RR.js +83 -0
- package/dist/chunk-KQHNQQUZ.js +103 -0
- package/dist/chunk-KVFK3YC7.js +187 -0
- package/dist/chunk-KYKEJFJT.js +110 -0
- package/dist/chunk-LD7Y34QT.js +79 -0
- package/dist/chunk-LVSI4HYF.mjs +409 -0
- package/dist/chunk-M3KBBKQR.mjs +15 -0
- package/dist/chunk-MASRZTZC.mjs +34 -0
- package/dist/chunk-NN7R5DNL.mjs +119 -0
- package/dist/chunk-OE56M4MX.js +93 -0
- package/dist/chunk-OTDY2E2A.js +163 -0
- package/dist/chunk-PKGNHHWG.mjs +60 -0
- package/dist/chunk-Q3APPCB2.mjs +91 -0
- package/dist/chunk-QOUX33X5.mjs +111 -0
- package/dist/chunk-QS7WS6DD.mjs +1 -0
- package/dist/chunk-QZASHJNJ.js +24 -0
- package/dist/chunk-R6XNT4PN.js +431 -0
- package/dist/chunk-RACVRWME.js +136 -0
- package/dist/chunk-S2F2GRDB.mjs +1 -0
- package/dist/chunk-SI56IQWH.js +102 -0
- package/dist/chunk-ST4P6AN6.js +2 -0
- package/dist/chunk-TOZYLDAL.mjs +72 -0
- package/dist/chunk-UFR656UY.mjs +87 -0
- package/dist/chunk-UWO6RBCE.js +11 -0
- package/dist/chunk-VGCVIHBR.mjs +1 -0
- package/dist/chunk-WOG6UIG5.mjs +71 -0
- package/dist/chunk-X2QENXCS.mjs +54 -0
- package/dist/chunk-XACRGXGF.js +75 -0
- package/dist/chunk-XPNUQSKQ.mjs +94 -0
- package/dist/chunk-YQORMF34.js +110 -0
- package/dist/chunk-Z37VNICQ.js +67 -0
- package/dist/chunk-ZJXBC33M.js +112 -0
- package/dist/highlight-cursor/cursor-context.d.mts +7 -0
- package/dist/highlight-cursor/cursor-context.d.ts +7 -0
- package/dist/highlight-cursor/cursor-context.js +14 -0
- package/dist/highlight-cursor/cursor-context.mjs +1 -0
- package/dist/highlight-cursor/cursor-provider.d.mts +7 -0
- package/dist/highlight-cursor/cursor-provider.d.ts +7 -0
- package/dist/highlight-cursor/cursor-provider.js +12 -0
- package/dist/highlight-cursor/cursor-provider.mjs +3 -0
- package/dist/highlight-cursor/enhanced-components.d.mts +20 -0
- package/dist/highlight-cursor/enhanced-components.d.ts +20 -0
- package/dist/highlight-cursor/enhanced-components.js +36 -0
- package/dist/highlight-cursor/enhanced-components.mjs +11 -0
- package/dist/highlight-cursor/index.d.mts +16 -0
- package/dist/highlight-cursor/index.d.ts +16 -0
- package/dist/highlight-cursor/index.js +50 -0
- package/dist/highlight-cursor/index.mjs +13 -0
- package/dist/highlight-cursor/tabs-cursor-context.d.mts +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.d.ts +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.js +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.mjs +1 -0
- package/dist/highlight-cursor/types.d.mts +39 -0
- package/dist/highlight-cursor/types.d.ts +39 -0
- package/dist/highlight-cursor/types.js +2 -0
- package/dist/highlight-cursor/types.mjs +1 -0
- package/dist/highlight-cursor/with-cursor.d.mts +7 -0
- package/dist/highlight-cursor/with-cursor.d.ts +7 -0
- package/dist/highlight-cursor/with-cursor.js +11 -0
- package/dist/highlight-cursor/with-cursor.mjs +2 -0
- package/dist/index.css +314 -0
- package/dist/index.d.mts +51 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +425 -6744
- package/dist/index.mjs +34 -0
- package/dist/styles/theme.css +191 -0
- package/dist/styles/theme.d.mts +2 -0
- package/dist/styles/theme.d.ts +2 -0
- package/dist/styles/toast.css +58 -0
- package/dist/styles/toast.d.mts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/styles/variables.css +188 -0
- package/dist/styles/variables.d.mts +2 -0
- package/dist/styles/variables.d.ts +2 -0
- package/dist/ui/avatar.d.mts +16 -0
- package/dist/ui/avatar.d.ts +16 -0
- package/dist/ui/avatar.js +23 -0
- package/dist/ui/avatar.mjs +2 -0
- package/dist/ui/badge.d.mts +14 -0
- package/dist/ui/badge.d.ts +14 -0
- package/dist/ui/badge.js +16 -0
- package/dist/ui/badge.mjs +3 -0
- package/dist/ui/button.d.mts +16 -0
- package/dist/ui/button.d.ts +16 -0
- package/dist/ui/button.js +12 -0
- package/dist/ui/button.mjs +3 -0
- package/dist/ui/card.d.mts +12 -0
- package/dist/ui/card.d.ts +12 -0
- package/dist/ui/card.js +36 -0
- package/dist/ui/card.mjs +3 -0
- package/dist/ui/checkbox.d.mts +11 -0
- package/dist/ui/checkbox.d.ts +11 -0
- package/dist/ui/checkbox.js +12 -0
- package/dist/ui/checkbox.mjs +3 -0
- package/dist/ui/collapsible.d.mts +9 -0
- package/dist/ui/collapsible.d.ts +9 -0
- package/dist/ui/collapsible.js +20 -0
- package/dist/ui/collapsible.mjs +3 -0
- package/dist/ui/dropdown.d.mts +28 -0
- package/dist/ui/dropdown.d.ts +28 -0
- package/dist/ui/dropdown.js +68 -0
- package/dist/ui/dropdown.mjs +3 -0
- package/dist/ui/index.d.mts +44 -0
- package/dist/ui/index.d.ts +44 -0
- package/dist/ui/index.js +398 -0
- package/dist/ui/index.mjs +29 -0
- package/dist/ui/input-numbers.d.mts +15 -0
- package/dist/ui/input-numbers.d.ts +15 -0
- package/dist/ui/input-numbers.js +13 -0
- package/dist/ui/input-numbers.mjs +4 -0
- package/dist/ui/input.d.mts +22 -0
- package/dist/ui/input.d.ts +22 -0
- package/dist/ui/input.js +16 -0
- package/dist/ui/input.mjs +3 -0
- package/dist/ui/layout.d.mts +12 -0
- package/dist/ui/layout.d.ts +12 -0
- package/dist/ui/layout.js +12 -0
- package/dist/ui/layout.mjs +3 -0
- package/dist/ui/modal.d.mts +28 -0
- package/dist/ui/modal.d.ts +28 -0
- package/dist/ui/modal.js +48 -0
- package/dist/ui/modal.mjs +3 -0
- package/dist/ui/popover.d.mts +10 -0
- package/dist/ui/popover.d.ts +10 -0
- package/dist/ui/popover.js +23 -0
- package/dist/ui/popover.mjs +2 -0
- package/dist/ui/radio-group.d.mts +8 -0
- package/dist/ui/radio-group.d.ts +8 -0
- package/dist/ui/radio-group.js +16 -0
- package/dist/ui/radio-group.mjs +3 -0
- package/dist/ui/select.d.mts +28 -0
- package/dist/{types/ui → ui}/select.d.ts +18 -14
- package/dist/ui/select.js +48 -0
- package/dist/ui/select.mjs +3 -0
- package/dist/ui/sheet.d.mts +16 -0
- package/dist/ui/sheet.d.ts +16 -0
- package/dist/ui/sheet.js +39 -0
- package/dist/ui/sheet.mjs +2 -0
- package/dist/ui/slider.d.mts +10 -0
- package/dist/ui/slider.d.ts +10 -0
- package/dist/ui/slider.js +12 -0
- package/dist/ui/slider.mjs +3 -0
- package/dist/ui/switch.d.mts +7 -0
- package/dist/ui/switch.d.ts +7 -0
- package/dist/ui/switch.js +12 -0
- package/dist/ui/switch.mjs +3 -0
- package/dist/ui/tabs.d.mts +16 -0
- package/dist/ui/tabs.d.ts +16 -0
- package/dist/ui/tabs.js +25 -0
- package/dist/ui/tabs.mjs +4 -0
- package/dist/ui/textarea.d.mts +16 -0
- package/dist/ui/textarea.d.ts +16 -0
- package/dist/ui/textarea.js +12 -0
- package/dist/ui/textarea.mjs +3 -0
- package/dist/ui/theme-context.d.mts +17 -0
- package/dist/{types/ui → ui}/theme-context.d.ts +5 -3
- package/dist/ui/theme-context.js +14 -0
- package/dist/ui/theme-context.mjs +1 -0
- package/dist/ui/toast.d.mts +7 -0
- package/dist/ui/toast.d.ts +7 -0
- package/dist/ui/toast.js +14 -0
- package/dist/ui/toast.mjs +1 -0
- package/dist/ui/toggle-group.d.mts +12 -0
- package/dist/ui/toggle-group.d.ts +12 -0
- package/dist/ui/toggle-group.js +17 -0
- package/dist/ui/toggle-group.mjs +4 -0
- package/dist/ui/toggle.d.mts +13 -0
- package/dist/ui/toggle.d.ts +13 -0
- package/dist/ui/toggle.js +16 -0
- package/dist/ui/toggle.mjs +3 -0
- package/dist/ui/tooltip.d.mts +10 -0
- package/dist/ui/tooltip.d.ts +10 -0
- package/dist/ui/tooltip.js +23 -0
- package/dist/ui/tooltip.mjs +2 -0
- package/dist/ui/tree-view.d.mts +27 -0
- package/dist/ui/tree-view.d.ts +27 -0
- package/dist/ui/tree-view.js +11 -0
- package/dist/ui/tree-view.mjs +2 -0
- package/dist/utils/cn.d.mts +5 -0
- package/dist/utils/cn.d.ts +5 -0
- package/dist/utils/cn.js +10 -0
- package/dist/utils/cn.mjs +1 -0
- package/dist/utils/index.d.mts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +11 -0
- package/dist/utils/index.mjs +2 -0
- package/package.json +49 -27
- package/dist/index.umd.js +0 -74
- package/dist/types/index.d.ts +0 -4
- package/dist/types/lib/utils.d.ts +0 -2
- package/dist/types/ui/button.d.ts +0 -13
- package/dist/types/ui/input.d.ts +0 -19
- package/dist/vuer-uikit.css +0 -1
package/dist/ui/toast.js
ADDED
|
@@ -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,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,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,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 };
|
package/dist/utils/cn.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "React UI Kit components",
|
|
5
|
-
"
|
|
6
|
-
|
|
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":
|
|
10
|
-
|
|
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/
|
|
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": "
|
|
21
|
-
"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
|
-
"**/*": "
|
|
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
|
-
"
|
|
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
|
-
|
|
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
|
}
|