@vuer-ai/vuer-uikit 0.0.7 → 0.0.11

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # vuer-uikit
2
2
 
3
+ **Documentation & Examples**: [uikit.vuer.ai](https://uikit.vuer.ai)
4
+
3
5
  ## Installation
4
6
 
5
7
  Getting up and running is quick and easy.
@@ -111,7 +111,7 @@ var TreeView = react.forwardRef(
111
111
  "div",
112
112
  {
113
113
  className: chunkXXWQ4RVP_js.cn(
114
- "bg-bg-primary relative max-w-[300px] min-w-[240px] overflow-hidden p-2",
114
+ "bg-bg-primary rounded-uk-md relative max-w-[300px] min-w-[240px] overflow-hidden p-2",
115
115
  className
116
116
  ),
117
117
  "data-tree-container": true,
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var chunkMZ4POL3U_js = require('./chunk-MZ4POL3U.js');
4
+ var chunk5MZCQW4U_js = require('./chunk-5MZCQW4U.js');
5
+ var chunk5OUTEHVX_js = require('./chunk-5OUTEHVX.js');
6
+ var chunkSKO72K64_js = require('./chunk-SKO72K64.js');
7
+ var chunkZJXBC33M_js = require('./chunk-ZJXBC33M.js');
8
+ var chunkQA7H2Z3Z_js = require('./chunk-QA7H2Z3Z.js');
9
+
10
+ // src/highlight-cursor/enhanced-components.tsx
11
+ var CursorButton = chunkZJXBC33M_js.withCursor(chunkQA7H2Z3Z_js.Button);
12
+ var CursorTabs = chunkZJXBC33M_js.withCursor(chunk5MZCQW4U_js.Tabs);
13
+ var CursorInputRoot = chunkZJXBC33M_js.withCursor(chunkSKO72K64_js.InputRoot);
14
+ var CursorSelectTrigger = chunkZJXBC33M_js.withCursor(chunkMZ4POL3U_js.SelectTrigger);
15
+ var CursorTextarea = chunkZJXBC33M_js.withCursor(chunk5OUTEHVX_js.Textarea);
16
+
17
+ exports.CursorButton = CursorButton;
18
+ exports.CursorInputRoot = CursorInputRoot;
19
+ exports.CursorSelectTrigger = CursorSelectTrigger;
20
+ exports.CursorTabs = CursorTabs;
21
+ exports.CursorTextarea = CursorTextarea;
@@ -32,7 +32,8 @@ var badgeVariants = classVarianceAuthority.cva(
32
32
  secondary: "bg-bg-secondary",
33
33
  destructive: "bg-danger-primary",
34
34
  success: "bg-accent-success",
35
- warning: "bg-accent-warning"
35
+ warning: "bg-accent-warning",
36
+ accent: "bg-accent-primary text-text-primary"
36
37
  },
37
38
  type: {
38
39
  default: "",
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ var chunkEFIRD3FN_js = require('./chunk-EFIRD3FN.js');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+
6
+ var PACKAGE_VERSION = "0.0.11";
7
+ var PACKAGE_NAME = "@vuer-ai/vuer-uikit";
8
+ function VersionBadge({
9
+ className,
10
+ showPrefix = true,
11
+ linkable = true,
12
+ version: overrideVersion
13
+ }) {
14
+ const currentVersion = overrideVersion || PACKAGE_VERSION;
15
+ const displayVersion = showPrefix ? `v${currentVersion}` : currentVersion;
16
+ const npmUrl = `https://www.npmjs.com/package/${PACKAGE_NAME}/v/${currentVersion}`;
17
+ const badge = /* @__PURE__ */ jsxRuntime.jsx(
18
+ chunkEFIRD3FN_js.Badge,
19
+ {
20
+ variant: "accent",
21
+ className,
22
+ style: linkable ? { cursor: "pointer" } : void 0,
23
+ children: displayVersion
24
+ }
25
+ );
26
+ if (linkable) {
27
+ return /* @__PURE__ */ jsxRuntime.jsx(
28
+ "a",
29
+ {
30
+ href: npmUrl,
31
+ target: "_blank",
32
+ rel: "noopener noreferrer",
33
+ className: "no-underline hover:no-underline",
34
+ children: badge
35
+ }
36
+ );
37
+ }
38
+ return badge;
39
+ }
40
+
41
+ exports.VersionBadge = VersionBadge;
@@ -0,0 +1,39 @@
1
+ import { Badge } from './chunk-WO3WHXDP.mjs';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ var PACKAGE_VERSION = "0.0.11";
5
+ var PACKAGE_NAME = "@vuer-ai/vuer-uikit";
6
+ function VersionBadge({
7
+ className,
8
+ showPrefix = true,
9
+ linkable = true,
10
+ version: overrideVersion
11
+ }) {
12
+ const currentVersion = overrideVersion || PACKAGE_VERSION;
13
+ const displayVersion = showPrefix ? `v${currentVersion}` : currentVersion;
14
+ const npmUrl = `https://www.npmjs.com/package/${PACKAGE_NAME}/v/${currentVersion}`;
15
+ const badge = /* @__PURE__ */ jsx(
16
+ Badge,
17
+ {
18
+ variant: "accent",
19
+ className,
20
+ style: linkable ? { cursor: "pointer" } : void 0,
21
+ children: displayVersion
22
+ }
23
+ );
24
+ if (linkable) {
25
+ return /* @__PURE__ */ jsx(
26
+ "a",
27
+ {
28
+ href: npmUrl,
29
+ target: "_blank",
30
+ rel: "noopener noreferrer",
31
+ className: "no-underline hover:no-underline",
32
+ children: badge
33
+ }
34
+ );
35
+ }
36
+ return badge;
37
+ }
38
+
39
+ export { VersionBadge };
@@ -89,7 +89,7 @@ var TreeView = forwardRef(
89
89
  "div",
90
90
  {
91
91
  className: cn(
92
- "bg-bg-primary relative max-w-[300px] min-w-[240px] overflow-hidden p-2",
92
+ "bg-bg-primary rounded-uk-md relative max-w-[300px] min-w-[240px] overflow-hidden p-2",
93
93
  className
94
94
  ),
95
95
  "data-tree-container": true,
@@ -30,7 +30,8 @@ var badgeVariants = cva(
30
30
  secondary: "bg-bg-secondary",
31
31
  destructive: "bg-danger-primary",
32
32
  success: "bg-accent-success",
33
- warning: "bg-accent-warning"
33
+ warning: "bg-accent-warning",
34
+ accent: "bg-accent-primary text-text-primary"
34
35
  },
35
36
  type: {
36
37
  default: "",
@@ -0,0 +1,15 @@
1
+ import { SelectTrigger } from './chunk-QVUX6LLD.mjs';
2
+ import { Tabs } from './chunk-3XVIJY3H.mjs';
3
+ import { Textarea } from './chunk-DDOX4EEM.mjs';
4
+ import { InputRoot } from './chunk-QYRRQ65X.mjs';
5
+ import { withCursor } from './chunk-CP7QYV4N.mjs';
6
+ import { Button } from './chunk-IQ6J7YTQ.mjs';
7
+
8
+ // src/highlight-cursor/enhanced-components.tsx
9
+ var CursorButton = withCursor(Button);
10
+ var CursorTabs = withCursor(Tabs);
11
+ var CursorInputRoot = withCursor(InputRoot);
12
+ var CursorSelectTrigger = withCursor(SelectTrigger);
13
+ var CursorTextarea = withCursor(Textarea);
14
+
15
+ export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea };
package/dist/index.d.mts CHANGED
@@ -24,6 +24,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './ui/collap
24
24
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './ui/select.mjs';
25
25
  export { Slider, SliderProps } from './ui/slider.mjs';
26
26
  export { Layout, LayoutProps } from './ui/layout.mjs';
27
+ export { VersionBadge } from './ui/version-badge.mjs';
27
28
  export { Theme, ThemeProvider, useTheme } from './ui/theme-context.mjs';
28
29
  export { cn } from './utils/cn.mjs';
29
30
  export { CursorProvider } from './highlight-cursor/cursor-provider.mjs';
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './ui/collap
24
24
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './ui/select.js';
25
25
  export { Slider, SliderProps } from './ui/slider.js';
26
26
  export { Layout, LayoutProps } from './ui/layout.js';
27
+ export { VersionBadge } from './ui/version-badge.js';
27
28
  export { Theme, ThemeProvider, useTheme } from './ui/theme-context.js';
28
29
  export { cn } from './utils/cn.js';
29
30
  export { CursorProvider } from './highlight-cursor/cursor-provider.js';
package/dist/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
- require('./chunk-P3NMVNEO.js');
4
- var chunkEGPLKTJM_js = require('./chunk-EGPLKTJM.js');
3
+ require('./chunk-N7CINZS2.js');
4
+ var chunk2YCL2ET2_js = require('./chunk-2YCL2ET2.js');
5
+ var chunkM4TZHOUK_js = require('./chunk-M4TZHOUK.js');
5
6
  var chunkFSMKJAZT_js = require('./chunk-FSMKJAZT.js');
6
7
  var chunkKQAHAGUG_js = require('./chunk-KQAHAGUG.js');
7
8
  var chunkIOI3YFTY_js = require('./chunk-IOI3YFTY.js');
@@ -22,7 +23,7 @@ var chunk2JCULHBM_js = require('./chunk-2JCULHBM.js');
22
23
  var chunkFP26SRGL_js = require('./chunk-FP26SRGL.js');
23
24
  var chunk66DYOZI3_js = require('./chunk-66DYOZI3.js');
24
25
  var chunk6N5422RT_js = require('./chunk-6N5422RT.js');
25
- var chunk4PAHMURP_js = require('./chunk-4PAHMURP.js');
26
+ var chunkEFIRD3FN_js = require('./chunk-EFIRD3FN.js');
26
27
  require('./chunk-KJ42IGH6.js');
27
28
  var chunkXUQ5A7ZA_js = require('./chunk-XUQ5A7ZA.js');
28
29
  var chunkOBWGRG45_js = require('./chunk-OBWGRG45.js');
@@ -41,7 +42,11 @@ var chunkB5EMQBVL_js = require('./chunk-B5EMQBVL.js');
41
42
 
42
43
  Object.defineProperty(exports, "TreeView", {
43
44
  enumerable: true,
44
- get: function () { return chunkEGPLKTJM_js.TreeView; }
45
+ get: function () { return chunk2YCL2ET2_js.TreeView; }
46
+ });
47
+ Object.defineProperty(exports, "VersionBadge", {
48
+ enumerable: true,
49
+ get: function () { return chunkM4TZHOUK_js.VersionBadge; }
45
50
  });
46
51
  Object.defineProperty(exports, "ThemeProvider", {
47
52
  enumerable: true,
@@ -333,11 +338,11 @@ Object.defineProperty(exports, "AvatarImage", {
333
338
  });
334
339
  Object.defineProperty(exports, "Badge", {
335
340
  enumerable: true,
336
- get: function () { return chunk4PAHMURP_js.Badge; }
341
+ get: function () { return chunkEFIRD3FN_js.Badge; }
337
342
  });
338
343
  Object.defineProperty(exports, "badgeVariants", {
339
344
  enumerable: true,
340
- get: function () { return chunk4PAHMURP_js.badgeVariants; }
345
+ get: function () { return chunkEFIRD3FN_js.badgeVariants; }
341
346
  });
342
347
  Object.defineProperty(exports, "CursorProvider", {
343
348
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import './chunk-IKIXD35H.mjs';
2
- export { TreeView } from './chunk-IG43DNY2.mjs';
1
+ import './chunk-F56ZKT7B.mjs';
2
+ export { TreeView } from './chunk-UKFVRXAR.mjs';
3
+ export { VersionBadge } from './chunk-T3WBC5YK.mjs';
3
4
  export { ThemeProvider, useTheme } from './chunk-E5KWKBH3.mjs';
4
5
  export { Timeline } from './chunk-XCCC7HVN.mjs';
5
6
  export { TreeView as TreeViewV2 } from './chunk-O4TK3AKI.mjs';
@@ -20,7 +21,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-FRT
20
21
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-EUY74AXP.mjs';
21
22
  export { InputNumbers } from './chunk-7X6N54LX.mjs';
22
23
  export { Avatar, AvatarFallback, AvatarGroup, AvatarImage } from './chunk-F776EMXP.mjs';
23
- export { Badge, badgeVariants } from './chunk-SP3DH5MP.mjs';
24
+ export { Badge, badgeVariants } from './chunk-WO3WHXDP.mjs';
24
25
  import './chunk-VGCVIHBR.mjs';
25
26
  export { CursorProvider } from './chunk-UMIQYHO6.mjs';
26
27
  export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from './chunk-WMXX2UMD.mjs';
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "destructive" | "secondary" | "success" | "warning" | null | undefined;
7
+ variant?: "accent" | "default" | "destructive" | "secondary" | "success" | "warning" | null | undefined;
8
8
  type?: "circle" | "default" | "dot" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare function Badge({ className, variant, type, asChild, ...props }: ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "destructive" | "secondary" | "success" | "warning" | null | undefined;
7
+ variant?: "accent" | "default" | "destructive" | "secondary" | "success" | "warning" | null | undefined;
8
8
  type?: "circle" | "default" | "dot" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare function Badge({ className, variant, type, asChild, ...props }: ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
package/dist/ui/badge.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk4PAHMURP_js = require('../chunk-4PAHMURP.js');
3
+ var chunkEFIRD3FN_js = require('../chunk-EFIRD3FN.js');
4
4
  require('../chunk-ST4P6AN6.js');
5
5
  require('../chunk-XXWQ4RVP.js');
6
6
 
@@ -8,9 +8,9 @@ require('../chunk-XXWQ4RVP.js');
8
8
 
9
9
  Object.defineProperty(exports, "Badge", {
10
10
  enumerable: true,
11
- get: function () { return chunk4PAHMURP_js.Badge; }
11
+ get: function () { return chunkEFIRD3FN_js.Badge; }
12
12
  });
13
13
  Object.defineProperty(exports, "badgeVariants", {
14
14
  enumerable: true,
15
- get: function () { return chunk4PAHMURP_js.badgeVariants; }
15
+ get: function () { return chunkEFIRD3FN_js.badgeVariants; }
16
16
  });
package/dist/ui/badge.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { Badge, badgeVariants } from '../chunk-SP3DH5MP.mjs';
1
+ export { Badge, badgeVariants } from '../chunk-WO3WHXDP.mjs';
2
2
  import '../chunk-QS7WS6DD.mjs';
3
3
  import '../chunk-KTNZSZ5Y.mjs';
@@ -24,6 +24,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './collapsib
24
24
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './select.mjs';
25
25
  export { Slider, SliderProps } from './slider.mjs';
26
26
  export { Layout, LayoutProps } from './layout.mjs';
27
+ export { VersionBadge } from './version-badge.mjs';
27
28
  export { Theme, ThemeProvider, useTheme } from './theme-context.mjs';
28
29
  export { toast } from 'sonner';
29
30
  import 'react/jsx-runtime';
@@ -24,6 +24,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './collapsib
24
24
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './select.js';
25
25
  export { Slider, SliderProps } from './slider.js';
26
26
  export { Layout, LayoutProps } from './layout.js';
27
+ export { VersionBadge } from './version-badge.js';
27
28
  export { Theme, ThemeProvider, useTheme } from './theme-context.js';
28
29
  export { toast } from 'sonner';
29
30
  import 'react/jsx-runtime';
package/dist/ui/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-P3NMVNEO.js');
4
- var chunkEGPLKTJM_js = require('../chunk-EGPLKTJM.js');
3
+ require('../chunk-N7CINZS2.js');
4
+ var chunk2YCL2ET2_js = require('../chunk-2YCL2ET2.js');
5
+ var chunkM4TZHOUK_js = require('../chunk-M4TZHOUK.js');
5
6
  var chunkFSMKJAZT_js = require('../chunk-FSMKJAZT.js');
6
7
  var chunkKQAHAGUG_js = require('../chunk-KQAHAGUG.js');
7
8
  var chunkIOI3YFTY_js = require('../chunk-IOI3YFTY.js');
@@ -22,7 +23,7 @@ var chunk2JCULHBM_js = require('../chunk-2JCULHBM.js');
22
23
  var chunkFP26SRGL_js = require('../chunk-FP26SRGL.js');
23
24
  var chunk66DYOZI3_js = require('../chunk-66DYOZI3.js');
24
25
  var chunk6N5422RT_js = require('../chunk-6N5422RT.js');
25
- var chunk4PAHMURP_js = require('../chunk-4PAHMURP.js');
26
+ var chunkEFIRD3FN_js = require('../chunk-EFIRD3FN.js');
26
27
  var chunk5MZCQW4U_js = require('../chunk-5MZCQW4U.js');
27
28
  var chunk5OUTEHVX_js = require('../chunk-5OUTEHVX.js');
28
29
  var chunkMZ4POL3U_js = require('../chunk-MZ4POL3U.js');
@@ -36,7 +37,11 @@ require('../chunk-B5EMQBVL.js');
36
37
 
37
38
  Object.defineProperty(exports, "TreeView", {
38
39
  enumerable: true,
39
- get: function () { return chunkEGPLKTJM_js.TreeView; }
40
+ get: function () { return chunk2YCL2ET2_js.TreeView; }
41
+ });
42
+ Object.defineProperty(exports, "VersionBadge", {
43
+ enumerable: true,
44
+ get: function () { return chunkM4TZHOUK_js.VersionBadge; }
40
45
  });
41
46
  Object.defineProperty(exports, "ThemeProvider", {
42
47
  enumerable: true,
@@ -328,11 +333,11 @@ Object.defineProperty(exports, "AvatarImage", {
328
333
  });
329
334
  Object.defineProperty(exports, "Badge", {
330
335
  enumerable: true,
331
- get: function () { return chunk4PAHMURP_js.Badge; }
336
+ get: function () { return chunkEFIRD3FN_js.Badge; }
332
337
  });
333
338
  Object.defineProperty(exports, "badgeVariants", {
334
339
  enumerable: true,
335
- get: function () { return chunk4PAHMURP_js.badgeVariants; }
340
+ get: function () { return chunkEFIRD3FN_js.badgeVariants; }
336
341
  });
337
342
  Object.defineProperty(exports, "Tabs", {
338
343
  enumerable: true,
package/dist/ui/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import '../chunk-IKIXD35H.mjs';
2
- export { TreeView } from '../chunk-IG43DNY2.mjs';
1
+ import '../chunk-F56ZKT7B.mjs';
2
+ export { TreeView } from '../chunk-UKFVRXAR.mjs';
3
+ export { VersionBadge } from '../chunk-T3WBC5YK.mjs';
3
4
  export { ThemeProvider, useTheme } from '../chunk-E5KWKBH3.mjs';
4
5
  export { Timeline } from '../chunk-XCCC7HVN.mjs';
5
6
  export { TreeView as TreeViewV2 } from '../chunk-O4TK3AKI.mjs';
@@ -20,7 +21,7 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../chunk-FR
20
21
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-EUY74AXP.mjs';
21
22
  export { InputNumbers } from '../chunk-7X6N54LX.mjs';
22
23
  export { Avatar, AvatarFallback, AvatarGroup, AvatarImage } from '../chunk-F776EMXP.mjs';
23
- export { Badge, badgeVariants } from '../chunk-SP3DH5MP.mjs';
24
+ export { Badge, badgeVariants } from '../chunk-WO3WHXDP.mjs';
24
25
  export { Tabs, TabsContent, TabsList, TabsTrigger } from '../chunk-3XVIJY3H.mjs';
25
26
  export { Textarea } from '../chunk-DDOX4EEM.mjs';
26
27
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../chunk-QVUX6LLD.mjs';
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const inputRootVariants: (props?: ({
7
- state?: "disabled" | "error" | "default" | null | undefined;
7
+ state?: "disabled" | "default" | "error" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface InputRootProps extends Omit<ComponentProps<"input">, "size">, VariantProps<typeof inputRootVariants> {
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const inputRootVariants: (props?: ({
7
- state?: "disabled" | "error" | "default" | null | undefined;
7
+ state?: "disabled" | "default" | "error" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface InputRootProps extends Omit<ComponentProps<"input">, "size">, VariantProps<typeof inputRootVariants> {
@@ -8,7 +8,7 @@ declare function Select({ ...props }: ComponentProps<typeof SelectPrimitive.Root
8
8
  declare function SelectGroup({ className, ...props }: ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
9
9
  declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
10
10
  declare const selectTriggerVariants: (props?: ({
11
- state?: "disabled" | "error" | "default" | null | undefined;
11
+ state?: "disabled" | "default" | "error" | null | undefined;
12
12
  size?: "base" | "sm" | "lg" | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string;
14
14
  interface SelectTriggerProps extends ComponentProps<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
@@ -8,7 +8,7 @@ declare function Select({ ...props }: ComponentProps<typeof SelectPrimitive.Root
8
8
  declare function SelectGroup({ className, ...props }: ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
9
9
  declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
10
10
  declare const selectTriggerVariants: (props?: ({
11
- state?: "disabled" | "error" | "default" | null | undefined;
11
+ state?: "disabled" | "default" | "error" | null | undefined;
12
12
  size?: "base" | "sm" | "lg" | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string;
14
14
  interface SelectTriggerProps extends ComponentProps<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const textareaVariants: (props?: ({
7
- state?: "error" | "default" | null | undefined;
7
+ state?: "default" | "error" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const textareaVariants: (props?: ({
7
- state?: "error" | "default" | null | undefined;
7
+ state?: "default" | "error" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkEGPLKTJM_js = require('../chunk-EGPLKTJM.js');
3
+ var chunk2YCL2ET2_js = require('../chunk-2YCL2ET2.js');
4
4
  require('../chunk-XXWQ4RVP.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "TreeView", {
9
9
  enumerable: true,
10
- get: function () { return chunkEGPLKTJM_js.TreeView; }
10
+ get: function () { return chunk2YCL2ET2_js.TreeView; }
11
11
  });
@@ -1,2 +1,2 @@
1
- export { TreeView } from '../chunk-IG43DNY2.mjs';
1
+ export { TreeView } from '../chunk-UKFVRXAR.mjs';
2
2
  import '../chunk-KTNZSZ5Y.mjs';
@@ -0,0 +1,26 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface VersionBadgeProps {
4
+ /**
5
+ * Additional CSS classes to apply to the badge
6
+ */
7
+ className?: string;
8
+ /**
9
+ * Whether to show just the version or include "v" prefix
10
+ */
11
+ showPrefix?: boolean;
12
+ /**
13
+ * Whether the badge should be clickable (links to npm)
14
+ */
15
+ linkable?: boolean;
16
+ /**
17
+ * Override the version display (useful for testing)
18
+ */
19
+ version?: string;
20
+ }
21
+ /**
22
+ * A badge component that displays the current package version and optionally links to npm
23
+ */
24
+ declare function VersionBadge({ className, showPrefix, linkable, version: overrideVersion, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
25
+
26
+ export { VersionBadge };
@@ -0,0 +1,26 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface VersionBadgeProps {
4
+ /**
5
+ * Additional CSS classes to apply to the badge
6
+ */
7
+ className?: string;
8
+ /**
9
+ * Whether to show just the version or include "v" prefix
10
+ */
11
+ showPrefix?: boolean;
12
+ /**
13
+ * Whether the badge should be clickable (links to npm)
14
+ */
15
+ linkable?: boolean;
16
+ /**
17
+ * Override the version display (useful for testing)
18
+ */
19
+ version?: string;
20
+ }
21
+ /**
22
+ * A badge component that displays the current package version and optionally links to npm
23
+ */
24
+ declare function VersionBadge({ className, showPrefix, linkable, version: overrideVersion, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
25
+
26
+ export { VersionBadge };
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkM4TZHOUK_js = require('../chunk-M4TZHOUK.js');
4
+ require('../chunk-EFIRD3FN.js');
5
+ require('../chunk-ST4P6AN6.js');
6
+ require('../chunk-XXWQ4RVP.js');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "VersionBadge", {
11
+ enumerable: true,
12
+ get: function () { return chunkM4TZHOUK_js.VersionBadge; }
13
+ });
@@ -0,0 +1,4 @@
1
+ export { VersionBadge } from '../chunk-T3WBC5YK.mjs';
2
+ import '../chunk-WO3WHXDP.mjs';
3
+ import '../chunk-QS7WS6DD.mjs';
4
+ import '../chunk-KTNZSZ5Y.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuer-ai/vuer-uikit",
3
- "version": "0.0.7",
3
+ "version": "0.0.11",
4
4
  "description": "React UI Kit components",
5
5
  "keywords": [
6
6
  "react",
File without changes
File without changes