@vuer-ai/vuer-uikit 0.0.25 → 0.0.26

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 (117) hide show
  1. package/dist/chunk-2TXGBB33.js +21 -0
  2. package/dist/{chunk-2TRYGIGT.mjs → chunk-2WJW572X.mjs} +1 -3
  3. package/dist/{chunk-TMBKCIVQ.mjs → chunk-35CM7HPZ.mjs} +1 -0
  4. package/dist/{chunk-QVUX6LLD.mjs → chunk-4F3R5V3E.mjs} +4 -5
  5. package/dist/chunk-5F36YBKG.js +116 -0
  6. package/dist/{chunk-WDUTW7HS.mjs → chunk-66FC5NST.mjs} +2 -2
  7. package/dist/{chunk-JMPVDU2C.mjs → chunk-6SBHQBFL.mjs} +1 -1
  8. package/dist/{chunk-IXHMIR5P.js → chunk-6SRDWLQJ.js} +3 -2
  9. package/dist/chunk-6YJ6IBWC.mjs +861 -0
  10. package/dist/{chunk-DZ4J7I7I.mjs → chunk-AAIXMQCG.mjs} +4 -4
  11. package/dist/{chunk-6N5422RT.js → chunk-AQXAGOYO.js} +16 -19
  12. package/dist/{chunk-EYIFKSU2.mjs → chunk-DD7FIYSP.mjs} +5 -5
  13. package/dist/{chunk-F776EMXP.mjs → chunk-DYT2FBW5.mjs} +16 -19
  14. package/dist/{chunk-X55EAYE2.js → chunk-FV2TIL2G.js} +0 -1
  15. package/dist/{chunk-6RTJSAVW.js → chunk-GGMVWSL5.js} +4 -4
  16. package/dist/{chunk-B2E7AY66.mjs → chunk-H2VZHFP6.mjs} +0 -1
  17. package/dist/{chunk-HLJ7PQA7.mjs → chunk-HT37IGEB.mjs} +4 -4
  18. package/dist/{chunk-VXHM7V6F.mjs → chunk-JOTWPUPW.mjs} +6 -7
  19. package/dist/{chunk-U7SNLMJR.js → chunk-JSMQMGST.js} +2 -2
  20. package/dist/{chunk-WJ7T7FAH.js → chunk-KJV7RR25.js} +1 -1
  21. package/dist/{chunk-5SR53QBZ.js → chunk-N3VYENST.js} +4 -4
  22. package/dist/{chunk-SKO72K64.js → chunk-NP6VNT23.js} +3 -3
  23. package/dist/{chunk-MZ4POL3U.js → chunk-NQRO3NQX.js} +4 -5
  24. package/dist/chunk-Q42CNAC4.js +863 -0
  25. package/dist/{chunk-MRVMXKZO.mjs → chunk-QPQFG2DZ.mjs} +3 -2
  26. package/dist/{chunk-QSW45JZH.js → chunk-RTURVQIP.js} +1 -1
  27. package/dist/{chunk-FP26SRGL.js → chunk-S3TZN6HZ.js} +2 -4
  28. package/dist/{chunk-YXDJPCAF.js → chunk-SAM2YZFC.js} +2 -4
  29. package/dist/{chunk-U2ZLDPOE.js → chunk-TOXM5BPM.js} +12 -12
  30. package/dist/chunk-U5U7B7ZI.mjs +105 -0
  31. package/dist/{chunk-EUY74AXP.mjs → chunk-VKGXNTK2.mjs} +2 -4
  32. package/dist/{chunk-H5C3BWSK.mjs → chunk-XADXCP5Z.mjs} +2 -2
  33. package/dist/{chunk-2YCL2ET2.js → chunk-XPPJVYYS.js} +129 -136
  34. package/dist/{chunk-OQ237S4Z.js → chunk-XUKMVPUD.js} +6 -7
  35. package/dist/{chunk-UKFVRXAR.mjs → chunk-YGIU2WQY.mjs} +130 -137
  36. package/dist/{chunk-E33MW663.js → chunk-YLYNNT5Q.js} +1 -0
  37. package/dist/{chunk-I55IRAYH.mjs → chunk-ZRJ5JCVG.mjs} +1 -1
  38. package/dist/{chunk-QYRRQ65X.mjs → chunk-ZT6G7STM.mjs} +3 -3
  39. package/dist/highlight-cursor/enhanced-components.js +10 -10
  40. package/dist/highlight-cursor/enhanced-components.mjs +5 -5
  41. package/dist/highlight-cursor/index.js +10 -10
  42. package/dist/highlight-cursor/index.mjs +5 -5
  43. package/dist/index.css +1 -1
  44. package/dist/index.d.mts +3 -1
  45. package/dist/index.d.ts +3 -1
  46. package/dist/index.js +172 -131
  47. package/dist/index.mjs +20 -19
  48. package/dist/styles/toast.css +1 -1
  49. package/dist/ui/avatar.js +5 -5
  50. package/dist/ui/avatar.mjs +1 -1
  51. package/dist/ui/button.js +2 -2
  52. package/dist/ui/button.mjs +1 -1
  53. package/dist/ui/card.js +8 -8
  54. package/dist/ui/card.mjs +1 -1
  55. package/dist/ui/drawer.d.mts +16 -0
  56. package/dist/ui/drawer.d.ts +16 -0
  57. package/dist/ui/drawer.js +49 -0
  58. package/dist/ui/drawer.mjs +4 -0
  59. package/dist/ui/dropdown.js +16 -16
  60. package/dist/ui/dropdown.mjs +1 -1
  61. package/dist/ui/index.d.mts +3 -1
  62. package/dist/ui/index.d.ts +3 -1
  63. package/dist/ui/index.js +166 -125
  64. package/dist/ui/index.mjs +19 -18
  65. package/dist/ui/input-numbers.js +3 -3
  66. package/dist/ui/input-numbers.mjs +2 -2
  67. package/dist/ui/input.js +3 -3
  68. package/dist/ui/input.mjs +1 -1
  69. package/dist/ui/modal.js +11 -11
  70. package/dist/ui/modal.mjs +1 -1
  71. package/dist/ui/select.js +11 -11
  72. package/dist/ui/select.mjs +1 -1
  73. package/dist/ui/sheet.js +9 -9
  74. package/dist/ui/sheet.mjs +1 -1
  75. package/dist/ui/tabs.js +5 -5
  76. package/dist/ui/tabs.mjs +1 -1
  77. package/dist/ui/timeline.d.mts +23 -10
  78. package/dist/ui/timeline.d.ts +23 -10
  79. package/dist/ui/timeline.js +4 -4
  80. package/dist/ui/timeline.mjs +3 -3
  81. package/dist/ui/toggle-group.js +4 -4
  82. package/dist/ui/toggle-group.mjs +2 -2
  83. package/dist/ui/toggle.js +3 -3
  84. package/dist/ui/toggle.mjs +1 -1
  85. package/dist/ui/tooltip.js +5 -5
  86. package/dist/ui/tooltip.mjs +1 -1
  87. package/dist/ui/tree-view-v2.js +3 -3
  88. package/dist/ui/tree-view-v2.mjs +2 -2
  89. package/dist/ui/tree-view.js +4 -2
  90. package/dist/ui/tree-view.mjs +3 -1
  91. package/dist/ui/version-badge.js +2 -2
  92. package/dist/ui/version-badge.mjs +1 -1
  93. package/package.json +3 -2
  94. package/src/styles/toast.css +1 -1
  95. package/src/ui/avatar.tsx +12 -15
  96. package/src/ui/button.tsx +6 -7
  97. package/src/ui/card.tsx +0 -1
  98. package/src/ui/drawer.tsx +119 -0
  99. package/src/ui/dropdown.tsx +2 -4
  100. package/src/ui/index.ts +1 -0
  101. package/src/ui/input-numbers.tsx +1 -1
  102. package/src/ui/input.tsx +3 -3
  103. package/src/ui/modal.tsx +1 -0
  104. package/src/ui/select.tsx +4 -5
  105. package/src/ui/sheet.tsx +4 -4
  106. package/src/ui/tabs.tsx +2 -1
  107. package/src/ui/timeline.tsx +534 -199
  108. package/src/ui/toggle-group.tsx +0 -2
  109. package/src/ui/toggle.tsx +2 -2
  110. package/src/ui/tooltip.tsx +1 -1
  111. package/src/ui/tree-view-v2.tsx +4 -4
  112. package/src/ui/tree-view.tsx +84 -115
  113. package/dist/chunk-AOUGWGQR.js +0 -609
  114. package/dist/chunk-V4KNORQN.js +0 -21
  115. package/dist/chunk-ZVG2UKKC.mjs +0 -603
  116. /package/dist/{chunk-N7CINZS2.js → chunk-2TBYBUF4.js} +0 -0
  117. /package/dist/{chunk-F56ZKT7B.mjs → chunk-L3LDQABD.mjs} +0 -0
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var chunk5OUTEHVX_js = require('./chunk-5OUTEHVX.js');
4
+ var chunkNQRO3NQX_js = require('./chunk-NQRO3NQX.js');
5
+ var chunk6SRDWLQJ_js = require('./chunk-6SRDWLQJ.js');
6
+ var chunkNP6VNT23_js = require('./chunk-NP6VNT23.js');
7
+ var chunkUFHMEEGL_js = require('./chunk-UFHMEEGL.js');
8
+ var chunkXUKMVPUD_js = require('./chunk-XUKMVPUD.js');
9
+
10
+ // src/highlight-cursor/enhanced-components.tsx
11
+ var CursorButton = chunkUFHMEEGL_js.withCursor(chunkXUKMVPUD_js.Button);
12
+ var CursorTabs = chunkUFHMEEGL_js.withCursor(chunk6SRDWLQJ_js.Tabs);
13
+ var CursorInputRoot = chunkUFHMEEGL_js.withCursor(chunkNP6VNT23_js.InputRoot);
14
+ var CursorSelectTrigger = chunkUFHMEEGL_js.withCursor(chunkNQRO3NQX_js.SelectTrigger);
15
+ var CursorTextarea = chunkUFHMEEGL_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;
@@ -1,4 +1,4 @@
1
- import { toggleVariants } from './chunk-WDUTW7HS.mjs';
1
+ import { toggleVariants } from './chunk-66FC5NST.mjs';
2
2
  import { cn } from './chunk-KTNZSZ5Y.mjs';
3
3
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
4
4
  import { createContext, useContext } from 'react';
@@ -27,7 +27,6 @@ function ToggleGroup({
27
27
  "w-fit",
28
28
  "items-center",
29
29
  "rounded-uk-md",
30
- "data-[variant=outline]:shadow-xs",
31
30
  className
32
31
  ),
33
32
  ...props,
@@ -58,7 +57,6 @@ function ToggleGroupItem({
58
57
  "flex-1",
59
58
  "shrink-0",
60
59
  "rounded-none",
61
- "shadow-none",
62
60
  "first:rounded-l-md",
63
61
  "last:rounded-r-md",
64
62
  "focus:z-10",
@@ -41,6 +41,7 @@ var modalContentVariants = cva([
41
41
  "rounded-uk-xl",
42
42
  "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
43
43
  "min-w-[280px]",
44
+ "max-w-[360px]",
44
45
  "duration-200",
45
46
  "transition-all",
46
47
  "fixed",
@@ -48,9 +48,9 @@ var selectTriggerVariants = cva(
48
48
  error: ["hover:bg-danger-primary/10", "bg-danger-primary/20"]
49
49
  },
50
50
  size: {
51
- sm: "px-sm py-xs text-uk-sm h-5.5 [&_svg:not([class*='size-'])]:size-lg",
52
- base: "px-md py-sm text-uk-md h-7 [&_svg:not([class*='size-'])]:size-[14px]",
53
- lg: "px-lg py-sm text-uk-lg h-8 [&_svg:not([class*='size-'])]:size-xl"
51
+ sm: "px-sm py-xs text-uk-sm h-6 [&_svg:not([class*='size-'])]:size-3",
52
+ base: "px-md py-sm text-uk-md h-8 [&_svg:not([class*='size-'])]:size-4",
53
+ lg: "px-lg py-sm text-uk-lg h-9 [&_svg:not([class*='size-'])]:size-5"
54
54
  }
55
55
  },
56
56
  defaultVariants: {
@@ -115,8 +115,7 @@ function SelectContent({
115
115
  "overflow-x-hidden",
116
116
  "overflow-y-auto",
117
117
  "rounded-uk-md",
118
- "shadow-md",
119
- "shadow-[0_8px_20px_0_rgba(0,0,0,.80)]",
118
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
120
119
  "liquid:liquid-bg"
121
120
  ],
122
121
  {
@@ -0,0 +1,116 @@
1
+ 'use strict';
2
+
3
+ var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
4
+ var vaul = require('vaul');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+
7
+ function Drawer({ ...props }) {
8
+ return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Root, { "data-slot": "drawer", ...props });
9
+ }
10
+ function DrawerTrigger({ ...props }) {
11
+ return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Trigger, { "data-slot": "drawer-trigger", ...props });
12
+ }
13
+ function DrawerPortal({ ...props }) {
14
+ return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Portal, { "data-slot": "drawer-portal", ...props });
15
+ }
16
+ function DrawerClose({ ...props }) {
17
+ return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Close, { "data-slot": "drawer-close", ...props });
18
+ }
19
+ function DrawerOverlay({
20
+ className,
21
+ ...props
22
+ }) {
23
+ return /* @__PURE__ */ jsxRuntime.jsx(
24
+ vaul.Drawer.Overlay,
25
+ {
26
+ "data-slot": "drawer-overlay",
27
+ className: chunkXXWQ4RVP_js.cn(
28
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-bg-mask fixed inset-0 z-50",
29
+ className
30
+ ),
31
+ ...props
32
+ }
33
+ );
34
+ }
35
+ function DrawerContent({
36
+ className,
37
+ children,
38
+ ...props
39
+ }) {
40
+ return /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [
41
+ /* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
42
+ /* @__PURE__ */ jsxRuntime.jsxs(
43
+ vaul.Drawer.Content,
44
+ {
45
+ "data-slot": "drawer-content",
46
+ className: chunkXXWQ4RVP_js.cn(
47
+ "group/drawer-content bg-bg-primary liquid:liquid-bg p-xl fixed z-50 flex h-auto flex-col shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
48
+ "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh]",
49
+ "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:pt-0",
50
+ "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-[340px]",
51
+ "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-[340px]",
52
+ className
53
+ ),
54
+ ...props,
55
+ children: [
56
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-bg-quaternary rounded-uk-md mx-auto mt-[8px] hidden h-[4px] w-[80px] shrink-0 group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
57
+ children
58
+ ]
59
+ }
60
+ )
61
+ ] });
62
+ }
63
+ function DrawerHeader({ className, ...props }) {
64
+ return /* @__PURE__ */ jsxRuntime.jsx(
65
+ "div",
66
+ {
67
+ "data-slot": "drawer-header",
68
+ className: chunkXXWQ4RVP_js.cn("gap-md pb-xl flex flex-col", className),
69
+ ...props
70
+ }
71
+ );
72
+ }
73
+ function DrawerFooter({ className, ...props }) {
74
+ return /* @__PURE__ */ jsxRuntime.jsx(
75
+ "div",
76
+ {
77
+ "data-slot": "drawer-footer",
78
+ className: chunkXXWQ4RVP_js.cn("gap-lg pt-xl mt-auto flex flex-col", className),
79
+ ...props
80
+ }
81
+ );
82
+ }
83
+ function DrawerTitle({ className, ...props }) {
84
+ return /* @__PURE__ */ jsxRuntime.jsx(
85
+ vaul.Drawer.Title,
86
+ {
87
+ "data-slot": "drawer-title",
88
+ className: chunkXXWQ4RVP_js.cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className),
89
+ ...props
90
+ }
91
+ );
92
+ }
93
+ function DrawerDescription({
94
+ className,
95
+ ...props
96
+ }) {
97
+ return /* @__PURE__ */ jsxRuntime.jsx(
98
+ vaul.Drawer.Description,
99
+ {
100
+ "data-slot": "drawer-description",
101
+ className: chunkXXWQ4RVP_js.cn("text-text-secondary text-uk-md leading-uk-md", className),
102
+ ...props
103
+ }
104
+ );
105
+ }
106
+
107
+ exports.Drawer = Drawer;
108
+ exports.DrawerClose = DrawerClose;
109
+ exports.DrawerContent = DrawerContent;
110
+ exports.DrawerDescription = DrawerDescription;
111
+ exports.DrawerFooter = DrawerFooter;
112
+ exports.DrawerHeader = DrawerHeader;
113
+ exports.DrawerOverlay = DrawerOverlay;
114
+ exports.DrawerPortal = DrawerPortal;
115
+ exports.DrawerTitle = DrawerTitle;
116
+ exports.DrawerTrigger = DrawerTrigger;
@@ -49,7 +49,7 @@ var toggleVariants = cva(
49
49
  "leading-uk-md",
50
50
  "gap-xs",
51
51
  "p-sm",
52
- "[&_svg:not([class*='size-'])]:size-3.5",
52
+ "[&_svg:not([class*='size-'])]:size-4",
53
53
  "rounded-uk-sm"
54
54
  ],
55
55
  lg: [
@@ -57,7 +57,7 @@ var toggleVariants = cva(
57
57
  "leading-uk-lg",
58
58
  "gap-xs",
59
59
  "p-md",
60
- "[&_svg:not([class*='size-'])]:size-4",
60
+ "[&_svg:not([class*='size-'])]:size-5",
61
61
  "rounded-uk-md"
62
62
  ]
63
63
  }
@@ -72,7 +72,7 @@ function TooltipContent({
72
72
  "rounded-uk-md",
73
73
  "px-lg",
74
74
  "py-md",
75
- "shadow-[0_8px_24px_0_var(--color-shadow-secondary)]",
75
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
76
76
  "fade-in-0",
77
77
  "zoom-in-95",
78
78
  "data-[state=closed]:animate-out",
@@ -75,7 +75,7 @@ var tabsTriggerVariants = classVarianceAuthority.cva(
75
75
  "inline-flex",
76
76
  "items-center",
77
77
  "justify-center",
78
- "font-medium",
78
+ "font-normal",
79
79
  "whitespace-nowrap",
80
80
  "transition-all",
81
81
  "disabled:pointer-events-none",
@@ -86,7 +86,8 @@ var tabsTriggerVariants = classVarianceAuthority.cva(
86
86
  "[&_svg]:shrink-0",
87
87
  "outline-none",
88
88
  "text-text-primary",
89
- "data-[state=active]:bg-bg-secondary"
89
+ "data-[state=active]:bg-bg-secondary",
90
+ "data-[state=active]:font-medium"
90
91
  ],
91
92
  {
92
93
  variants: {