@vuer-ai/vuer-uikit 0.0.94 → 0.0.96

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 (202) hide show
  1. package/cli/dial-cli.js +1 -1
  2. package/dist/SyncScroll/SyncScroll.cjs +4 -4
  3. package/dist/SyncScroll/SyncScroll.mjs +4 -4
  4. package/dist/SyncScroll/index.cjs +4 -4
  5. package/dist/SyncScroll/index.mjs +4 -4
  6. package/dist/{chunk-NHO4NDWG.mjs → chunk-4AOAH77D.mjs} +2 -2
  7. package/dist/{chunk-XAY3KYPJ.mjs → chunk-BFQ2WL5U.mjs} +2 -2
  8. package/dist/{chunk-WLIMI4FZ.cjs → chunk-CCMKL2OA.cjs} +2 -2
  9. package/dist/{chunk-GYVE3VPU.mjs → chunk-K4VD5PPY.mjs} +2 -2
  10. package/dist/{chunk-LZLRDLDB.cjs → chunk-RKJR6RZU.cjs} +7 -7
  11. package/dist/{chunk-IK6OBAX4.cjs → chunk-VE3XLQLO.cjs} +3 -3
  12. package/dist/dial/DialPanel.cjs +16 -16
  13. package/dist/dial/DialPanel.d.cts +1 -6
  14. package/dist/dial/DialPanel.d.ts +1 -6
  15. package/dist/dial/DialPanel.mjs +16 -16
  16. package/dist/dial/DialProvider.d.cts +20 -10
  17. package/dist/dial/DialProvider.d.ts +20 -10
  18. package/dist/dial/index.cjs +16 -16
  19. package/dist/dial/index.d.cts +1 -1
  20. package/dist/dial/index.d.ts +1 -1
  21. package/dist/dial/index.mjs +16 -16
  22. package/dist/dial/wrapped-inputs/ControlledInputs.cjs +16 -16
  23. package/dist/dial/wrapped-inputs/ControlledInputs.mjs +16 -16
  24. package/dist/dial/wrapped-inputs/DialInputs.cjs +16 -16
  25. package/dist/dial/wrapped-inputs/DialInputs.mjs +16 -16
  26. package/dist/dial/wrapped-inputs/DialVectorInput.cjs +16 -16
  27. package/dist/dial/wrapped-inputs/DialVectorInput.mjs +16 -16
  28. package/dist/dial/wrapped-inputs/index.cjs +16 -16
  29. package/dist/dial/wrapped-inputs/index.mjs +16 -16
  30. package/dist/highlight-cursor/enhanced-components.cjs +13 -13
  31. package/dist/highlight-cursor/enhanced-components.mjs +8 -8
  32. package/dist/highlight-cursor/index.cjs +17 -17
  33. package/dist/highlight-cursor/index.mjs +8 -8
  34. package/dist/hooks/index.cjs +28 -28
  35. package/dist/hooks/index.mjs +4 -4
  36. package/dist/index.cjs +122 -122
  37. package/dist/index.d.cts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.mjs +16 -16
  40. package/dist/ui/UIKitBadge.cjs +9 -9
  41. package/dist/ui/UIKitBadge.mjs +5 -5
  42. package/dist/ui/avatar.cjs +15 -15
  43. package/dist/ui/avatar.mjs +5 -5
  44. package/dist/ui/badge.cjs +4 -4
  45. package/dist/ui/badge.mjs +4 -4
  46. package/dist/ui/button.cjs +4 -4
  47. package/dist/ui/button.mjs +4 -4
  48. package/dist/ui/card.cjs +4 -4
  49. package/dist/ui/card.mjs +4 -4
  50. package/dist/ui/checkbox.cjs +4 -4
  51. package/dist/ui/checkbox.mjs +4 -4
  52. package/dist/ui/collapsible.cjs +4 -4
  53. package/dist/ui/collapsible.mjs +4 -4
  54. package/dist/ui/drawer.cjs +4 -4
  55. package/dist/ui/drawer.mjs +4 -4
  56. package/dist/ui/dropdown.cjs +20 -20
  57. package/dist/ui/dropdown.mjs +5 -5
  58. package/dist/ui/index.cjs +86 -86
  59. package/dist/ui/index.mjs +13 -13
  60. package/dist/ui/inputs/color-input.cjs +4 -4
  61. package/dist/ui/inputs/color-input.mjs +4 -4
  62. package/dist/ui/inputs/index.cjs +4 -4
  63. package/dist/ui/inputs/index.mjs +4 -4
  64. package/dist/ui/inputs/input-numbers.cjs +4 -4
  65. package/dist/ui/inputs/input-numbers.mjs +4 -4
  66. package/dist/ui/inputs/input.cjs +4 -4
  67. package/dist/ui/inputs/input.mjs +4 -4
  68. package/dist/ui/inputs/number-inputs/CmInput.cjs +4 -4
  69. package/dist/ui/inputs/number-inputs/CmInput.mjs +4 -4
  70. package/dist/ui/inputs/number-inputs/DegInput.cjs +4 -4
  71. package/dist/ui/inputs/number-inputs/DegInput.mjs +4 -4
  72. package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +4 -4
  73. package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +4 -4
  74. package/dist/ui/inputs/number-inputs/EulerInput.cjs +4 -4
  75. package/dist/ui/inputs/number-inputs/EulerInput.mjs +4 -4
  76. package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +4 -4
  77. package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +4 -4
  78. package/dist/ui/inputs/number-inputs/InchInput.cjs +4 -4
  79. package/dist/ui/inputs/number-inputs/InchInput.mjs +4 -4
  80. package/dist/ui/inputs/number-inputs/IntInput.cjs +4 -4
  81. package/dist/ui/inputs/number-inputs/IntInput.mjs +4 -4
  82. package/dist/ui/inputs/number-inputs/KVectorInput.cjs +4 -4
  83. package/dist/ui/inputs/number-inputs/KVectorInput.mjs +4 -4
  84. package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +4 -4
  85. package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +4 -4
  86. package/dist/ui/inputs/number-inputs/RadInput.cjs +4 -4
  87. package/dist/ui/inputs/number-inputs/RadInput.mjs +4 -4
  88. package/dist/ui/inputs/number-inputs/TimeInput.cjs +4 -4
  89. package/dist/ui/inputs/number-inputs/TimeInput.mjs +4 -4
  90. package/dist/ui/inputs/number-inputs/Vec3Input.cjs +4 -4
  91. package/dist/ui/inputs/number-inputs/Vec3Input.mjs +4 -4
  92. package/dist/ui/inputs/number-inputs/VectorInput.cjs +4 -4
  93. package/dist/ui/inputs/number-inputs/VectorInput.mjs +4 -4
  94. package/dist/ui/inputs/number-inputs/index.cjs +4 -4
  95. package/dist/ui/inputs/number-inputs/index.mjs +4 -4
  96. package/dist/ui/inputs/presets-input.cjs +4 -4
  97. package/dist/ui/inputs/presets-input.mjs +4 -4
  98. package/dist/ui/label.cjs +4 -4
  99. package/dist/ui/label.mjs +4 -4
  100. package/dist/ui/layout.cjs +4 -4
  101. package/dist/ui/layout.mjs +4 -4
  102. package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +4 -4
  103. package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +4 -4
  104. package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +4 -4
  105. package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +4 -4
  106. package/dist/ui/layouts/dock-layout/index.cjs +4 -4
  107. package/dist/ui/layouts/dock-layout/index.mjs +4 -4
  108. package/dist/ui/layouts/index.cjs +4 -4
  109. package/dist/ui/layouts/index.mjs +4 -4
  110. package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +4 -4
  111. package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +4 -4
  112. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +4 -4
  113. package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +4 -4
  114. package/dist/ui/layouts/liquid-layout/index.cjs +4 -4
  115. package/dist/ui/layouts/liquid-layout/index.mjs +4 -4
  116. package/dist/ui/modal.cjs +4 -4
  117. package/dist/ui/modal.mjs +4 -4
  118. package/dist/ui/navigation.cjs +4 -4
  119. package/dist/ui/navigation.mjs +4 -4
  120. package/dist/ui/pagination.cjs +4 -4
  121. package/dist/ui/pagination.mjs +4 -4
  122. package/dist/ui/panel.cjs +4 -4
  123. package/dist/ui/panel.mjs +4 -4
  124. package/dist/ui/popover.cjs +9 -9
  125. package/dist/ui/popover.mjs +5 -5
  126. package/dist/ui/radio-group.cjs +4 -4
  127. package/dist/ui/radio-group.mjs +4 -4
  128. package/dist/ui/resizable.cjs +4 -4
  129. package/dist/ui/resizable.mjs +4 -4
  130. package/dist/ui/select.cjs +4 -4
  131. package/dist/ui/select.mjs +4 -4
  132. package/dist/ui/separator.cjs +4 -4
  133. package/dist/ui/separator.mjs +4 -4
  134. package/dist/ui/sheet.cjs +13 -13
  135. package/dist/ui/sheet.mjs +5 -5
  136. package/dist/ui/sidebar.cjs +30 -30
  137. package/dist/ui/sidebar.mjs +6 -6
  138. package/dist/ui/simple-tree-view.cjs +6 -6
  139. package/dist/ui/simple-tree-view.mjs +5 -5
  140. package/dist/ui/skeleton.cjs +4 -4
  141. package/dist/ui/skeleton.mjs +4 -4
  142. package/dist/ui/slider.cjs +4 -4
  143. package/dist/ui/slider.mjs +4 -4
  144. package/dist/ui/switch.cjs +4 -4
  145. package/dist/ui/switch.mjs +4 -4
  146. package/dist/ui/table.cjs +4 -4
  147. package/dist/ui/table.mjs +4 -4
  148. package/dist/ui/tabs.cjs +9 -9
  149. package/dist/ui/tabs.mjs +5 -5
  150. package/dist/ui/textarea.cjs +4 -4
  151. package/dist/ui/textarea.mjs +4 -4
  152. package/dist/ui/theme/ThemeToggles.cjs +4 -4
  153. package/dist/ui/theme/ThemeToggles.mjs +4 -4
  154. package/dist/ui/theme/index.cjs +4 -4
  155. package/dist/ui/theme/index.mjs +4 -4
  156. package/dist/ui/toggle-buttons.cjs +4 -4
  157. package/dist/ui/toggle-buttons.mjs +4 -4
  158. package/dist/ui/toggle-group.cjs +8 -8
  159. package/dist/ui/toggle-group.mjs +5 -5
  160. package/dist/ui/toggle.cjs +4 -4
  161. package/dist/ui/toggle.mjs +4 -4
  162. package/dist/ui/toolbar.cjs +4 -4
  163. package/dist/ui/toolbar.mjs +4 -4
  164. package/dist/ui/tooltip.cjs +4 -4
  165. package/dist/ui/tooltip.mjs +4 -4
  166. package/dist/ui/tree-view/TreeSearchBar.cjs +4 -4
  167. package/dist/ui/tree-view/TreeSearchBar.mjs +4 -4
  168. package/dist/ui/tree-view/TreeView.cjs +4 -4
  169. package/dist/ui/tree-view/TreeView.mjs +4 -4
  170. package/dist/ui/tree-view/index.cjs +4 -4
  171. package/dist/ui/tree-view/index.mjs +4 -4
  172. package/dist/ui/tree-view-legacy.cjs +4 -4
  173. package/dist/ui/tree-view-legacy.mjs +4 -4
  174. package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
  175. package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
  176. package/dist/ui/waterfall/TimelineEvent.cjs +4 -4
  177. package/dist/ui/waterfall/TimelineEvent.mjs +4 -4
  178. package/dist/ui/waterfall/TimelineProcessBar.cjs +4 -4
  179. package/dist/ui/waterfall/TimelineProcessBar.mjs +4 -4
  180. package/dist/ui/waterfall/Wedges.cjs +4 -4
  181. package/dist/ui/waterfall/Wedges.mjs +4 -4
  182. package/dist/ui/waterfall/index.cjs +4 -4
  183. package/dist/ui/waterfall/index.mjs +4 -4
  184. package/package.json +1 -1
  185. package/dist/chunk-A2LWPEGE.cjs +0 -42
  186. package/dist/chunk-D2DMH5WY.mjs +0 -39
  187. package/dist/chunk-ORCJ4XB7.cjs +0 -99
  188. package/dist/chunk-RVBZZHB5.mjs +0 -94
  189. package/dist/{chunk-OVCAIYZW.mjs → chunk-2SWBXWLK.mjs} +1 -1
  190. package/dist/{chunk-ODSMM2NH.cjs → chunk-3TZL7ET3.cjs} +1 -1
  191. package/dist/{chunk-IRY4OFGL.mjs → chunk-ABLQ4QRY.mjs} +1 -1
  192. package/dist/{chunk-KQR5LDK6.mjs → chunk-B53A4WNW.mjs} +1 -1
  193. package/dist/{chunk-SOIV2KU7.cjs → chunk-GWIACOMY.cjs} +1 -1
  194. package/dist/{chunk-FN4CCPWB.mjs → chunk-H4IDSUG5.mjs} +1 -1
  195. package/dist/{chunk-M6HGPIIM.cjs → chunk-L6LCOLOV.cjs} +1 -1
  196. package/dist/{chunk-DECNOLYH.mjs → chunk-NO35POZW.mjs} +1 -1
  197. package/dist/{chunk-MKBQYX6O.cjs → chunk-OMZHB2FB.cjs} +1 -1
  198. package/dist/{chunk-PPXVKQM6.mjs → chunk-PO2LYHDO.mjs} +1 -1
  199. package/dist/{chunk-HSXCMJ4S.cjs → chunk-TZC4ST5T.cjs} +1 -1
  200. package/dist/{chunk-EQ3WJSAR.mjs → chunk-W3RJNSWQ.mjs} +1 -1
  201. package/dist/{chunk-TDIDUH6T.cjs → chunk-X2A7TKER.cjs} +1 -1
  202. package/dist/{chunk-MTSM6Q6D.cjs → chunk-XGGAJUY3.cjs} +1 -1
@@ -1,42 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
-
5
- // src/ui/icons/MouseCursorIcons.tsx
6
- var MouseCursorIcon = ({ strokeWidth = 2.25 }) => {
7
- return /* @__PURE__ */ jsxRuntime.jsx(
8
- "svg",
9
- {
10
- xmlns: "http://www.w3.org/2000/svg",
11
- width: "16",
12
- height: "16",
13
- viewBox: "0 0 24 24",
14
- fill: "none",
15
- stroke: "currentColor",
16
- "stroke-width": strokeWidth,
17
- "stroke-linecap": "round",
18
- "stroke-linejoin": "round",
19
- className: "lucide lucide-mouse-pointer2-icon lucide-mouse-pointer-2",
20
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" })
21
- }
22
- );
23
- };
24
- var MouseCursorAltIcon = ({ strokeWidth = 2.25 }) => {
25
- return /* @__PURE__ */ jsxRuntime.jsx(
26
- "svg",
27
- {
28
- xmlns: "http://www.w3.org/2000/svg",
29
- width: "16",
30
- height: "16",
31
- viewBox: "0 0 24 24",
32
- fill: "currentColor",
33
- stroke: "currentColor",
34
- "stroke-width": strokeWidth / 2,
35
- className: "lucide lucide-mouse-pointer2-icon lucide-mouse-pointer-2",
36
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" })
37
- }
38
- );
39
- };
40
-
41
- exports.MouseCursorAltIcon = MouseCursorAltIcon;
42
- exports.MouseCursorIcon = MouseCursorIcon;
@@ -1,39 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
-
3
- // src/ui/icons/MouseCursorIcons.tsx
4
- var MouseCursorIcon = ({ strokeWidth = 2.25 }) => {
5
- return /* @__PURE__ */ jsx(
6
- "svg",
7
- {
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "16",
10
- height: "16",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- "stroke-width": strokeWidth,
15
- "stroke-linecap": "round",
16
- "stroke-linejoin": "round",
17
- className: "lucide lucide-mouse-pointer2-icon lucide-mouse-pointer-2",
18
- children: /* @__PURE__ */ jsx("path", { d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" })
19
- }
20
- );
21
- };
22
- var MouseCursorAltIcon = ({ strokeWidth = 2.25 }) => {
23
- return /* @__PURE__ */ jsx(
24
- "svg",
25
- {
26
- xmlns: "http://www.w3.org/2000/svg",
27
- width: "16",
28
- height: "16",
29
- viewBox: "0 0 24 24",
30
- fill: "currentColor",
31
- stroke: "currentColor",
32
- "stroke-width": strokeWidth / 2,
33
- className: "lucide lucide-mouse-pointer2-icon lucide-mouse-pointer-2",
34
- children: /* @__PURE__ */ jsx("path", { d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" })
35
- }
36
- );
37
- };
38
-
39
- export { MouseCursorAltIcon, MouseCursorIcon };
@@ -1,99 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
- var lucideReact = require('lucide-react');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- var PACKAGE_VERSION = "0.0.92" ;
8
- var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
9
- var GIT_HASH = "d2388cd" ;
10
- function PackageBadge({
11
- className,
12
- packageName,
13
- packageFullName,
14
- versionText,
15
- linkable = true,
16
- gitHash
17
- }) {
18
- const npmUrl = packageFullName && versionText ? `https://www.npmjs.com/package/${packageFullName}/v/${versionText.replace("v", "")}` : void 0;
19
- return /* @__PURE__ */ jsxRuntime.jsxs(
20
- "div",
21
- {
22
- className: `rounded-uk-xs rounded-r-uk-xs text-uk-sm bg-icon-withbg inline-flex items-center ${className || ""}`,
23
- style: linkable ? { cursor: "pointer" } : void 0,
24
- children: [
25
- (packageName || versionText) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-uk-xs inline-flex items-center overflow-hidden", children: [
26
- packageName && /* @__PURE__ */ jsxRuntime.jsx(
27
- "span",
28
- {
29
- className: "pl-sm pr-xs py-xxxs bg-brand-primary text-text-withbg text-uk-xs",
30
- style: {
31
- backgroundColor: "var(--color-brand-primary, var(--brand-primary))",
32
- color: "white",
33
- textShadow: "0 1px 2px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.1)"
34
- },
35
- children: packageName
36
- }
37
- ),
38
- versionText && /* @__PURE__ */ jsxRuntime.jsx(
39
- "a",
40
- {
41
- href: linkable && npmUrl ? npmUrl : void 0,
42
- className: chunkOHIB3TEN_cjs.cn(
43
- "pl-xs pr-sm py-xxxs rounded-r-uk-xs",
44
- "bg-alt-primary",
45
- "text-text-secondary",
46
- "text-text-primary text-uk-xs",
47
- linkable && "hover:text-brand-primary"
48
- ),
49
- style: {
50
- textShadow: "0 1px 1px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.05)"
51
- },
52
- onClick: !linkable ? (e) => e.preventDefault() : void 0,
53
- children: versionText
54
- }
55
- )
56
- ] }),
57
- gitHash && gitHash !== "unknown" && /* @__PURE__ */ jsxRuntime.jsxs(
58
- "a",
59
- {
60
- href: linkable ? `https://github.com/vuer-ai/vuer-uikit/commit/${gitHash}` : void 0,
61
- className: "px-md rounded-uk-ssx font-number-input text-text-tertiary text-uk-xs ml-[0px] bg-transparent py-[0px]",
62
- onClick: !linkable ? (e) => e.preventDefault() : void 0,
63
- children: [
64
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitBranch, { className: "mr-[2px] inline-block size-2" }),
65
- gitHash
66
- ]
67
- }
68
- )
69
- ]
70
- }
71
- );
72
- }
73
- function UIKitBadge({
74
- className,
75
- package: showPackage = false,
76
- prefix = false,
77
- linkable = false,
78
- version = false,
79
- hash = false
80
- }) {
81
- const packageShortName = PACKAGE_NAME.split("/").pop() || PACKAGE_NAME;
82
- const versionText = version ? prefix ? `v${PACKAGE_VERSION}` : PACKAGE_VERSION : void 0;
83
- return /* @__PURE__ */ jsxRuntime.jsx(
84
- PackageBadge,
85
- {
86
- className,
87
- packageName: showPackage ? packageShortName : void 0,
88
- packageFullName: PACKAGE_NAME,
89
- versionText,
90
- linkable,
91
- gitHash: hash ? GIT_HASH : void 0
92
- }
93
- );
94
- }
95
-
96
- exports.GIT_HASH = GIT_HASH;
97
- exports.PACKAGE_VERSION = PACKAGE_VERSION;
98
- exports.PackageBadge = PackageBadge;
99
- exports.UIKitBadge = UIKitBadge;
@@ -1,94 +0,0 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
- import { GitBranch } from 'lucide-react';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
4
-
5
- var PACKAGE_VERSION = "0.0.93" ;
6
- var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
7
- var GIT_HASH = "46e2850" ;
8
- function PackageBadge({
9
- className,
10
- packageName,
11
- packageFullName,
12
- versionText,
13
- linkable = true,
14
- gitHash
15
- }) {
16
- const npmUrl = packageFullName && versionText ? `https://www.npmjs.com/package/${packageFullName}/v/${versionText.replace("v", "")}` : void 0;
17
- return /* @__PURE__ */ jsxs(
18
- "div",
19
- {
20
- className: `rounded-uk-xs rounded-r-uk-xs text-uk-sm bg-icon-withbg inline-flex items-center ${className || ""}`,
21
- style: linkable ? { cursor: "pointer" } : void 0,
22
- children: [
23
- (packageName || versionText) && /* @__PURE__ */ jsxs("div", { className: "rounded-uk-xs inline-flex items-center overflow-hidden", children: [
24
- packageName && /* @__PURE__ */ jsx(
25
- "span",
26
- {
27
- className: "pl-sm pr-xs py-xxxs bg-brand-primary text-text-withbg text-uk-xs",
28
- style: {
29
- backgroundColor: "var(--color-brand-primary, var(--brand-primary))",
30
- color: "white",
31
- textShadow: "0 1px 2px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.1)"
32
- },
33
- children: packageName
34
- }
35
- ),
36
- versionText && /* @__PURE__ */ jsx(
37
- "a",
38
- {
39
- href: linkable && npmUrl ? npmUrl : void 0,
40
- className: cn(
41
- "pl-xs pr-sm py-xxxs rounded-r-uk-xs",
42
- "bg-alt-primary",
43
- "text-text-secondary",
44
- "text-text-primary text-uk-xs",
45
- linkable && "hover:text-brand-primary"
46
- ),
47
- style: {
48
- textShadow: "0 1px 1px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.05)"
49
- },
50
- onClick: !linkable ? (e) => e.preventDefault() : void 0,
51
- children: versionText
52
- }
53
- )
54
- ] }),
55
- gitHash && gitHash !== "unknown" && /* @__PURE__ */ jsxs(
56
- "a",
57
- {
58
- href: linkable ? `https://github.com/vuer-ai/vuer-uikit/commit/${gitHash}` : void 0,
59
- className: "px-md rounded-uk-ssx font-number-input text-text-tertiary text-uk-xs ml-[0px] bg-transparent py-[0px]",
60
- onClick: !linkable ? (e) => e.preventDefault() : void 0,
61
- children: [
62
- /* @__PURE__ */ jsx(GitBranch, { className: "mr-[2px] inline-block size-2" }),
63
- gitHash
64
- ]
65
- }
66
- )
67
- ]
68
- }
69
- );
70
- }
71
- function UIKitBadge({
72
- className,
73
- package: showPackage = false,
74
- prefix = false,
75
- linkable = false,
76
- version = false,
77
- hash = false
78
- }) {
79
- const packageShortName = PACKAGE_NAME.split("/").pop() || PACKAGE_NAME;
80
- const versionText = version ? prefix ? `v${PACKAGE_VERSION}` : PACKAGE_VERSION : void 0;
81
- return /* @__PURE__ */ jsx(
82
- PackageBadge,
83
- {
84
- className,
85
- packageName: showPackage ? packageShortName : void 0,
86
- packageFullName: PACKAGE_NAME,
87
- versionText,
88
- linkable,
89
- gitHash: hash ? GIT_HASH : void 0
90
- }
91
- );
92
- }
93
-
94
- export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge };
@@ -1,5 +1,5 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
1
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
4
4
  import { cva } from 'class-variance-authority';
5
5
  import { ChevronRight } from 'lucide-react';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
3
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
4
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var ToggleGroupPrimitive = require('@radix-ui/react-toggle-group');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
7
  var react = require('react');
@@ -1,5 +1,5 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
1
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
4
4
  import { cva } from 'class-variance-authority';
5
5
  import { createContext, useContext } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { useTabsCursor, TabsCursorProvider } from './chunk-XMG3IVGZ.mjs';
2
- import { cn } from './chunk-HMN4IKTG.mjs';
3
2
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
3
+ import { cn } from './chunk-HMN4IKTG.mjs';
4
4
  import * as TabsPrimitive from '@radix-ui/react-tabs';
5
5
  import { cva } from 'class-variance-authority';
6
6
  import { createContext, useContext } from 'react';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
3
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
4
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var AvatarPrimitive = require('@radix-ui/react-avatar');
6
6
  var React = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -1,5 +1,5 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
1
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
4
  import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkT3G35JSP_cjs = require('./chunk-T3G35JSP.cjs');
4
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
4
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
5
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
6
6
  var TabsPrimitive = require('@radix-ui/react-tabs');
7
7
  var classVarianceAuthority = require('class-variance-authority');
8
8
  var react = require('react');
@@ -1,5 +1,5 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
1
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
4
4
  import React from 'react';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
3
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
4
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var PopoverPrimitive = require('@radix-ui/react-popover');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
 
@@ -1,5 +1,5 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
1
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import * as PopoverPrimitive from '@radix-ui/react-popover';
4
4
  import { jsx, Fragment } from 'react/jsx-runtime';
5
5
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
3
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
4
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
6
6
  var lucideReact = require('lucide-react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
@@ -1,5 +1,5 @@
1
- import { cn } from './chunk-HMN4IKTG.mjs';
2
1
  import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
2
+ import { cn } from './chunk-HMN4IKTG.mjs';
3
3
  import * as SheetPrimitive from '@radix-ui/react-dialog';
4
4
  import { XIcon } from 'lucide-react';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
3
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
4
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var AccordionPrimitive = require('@radix-ui/react-accordion');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
7
  var lucideReact = require('lucide-react');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
3
  var chunkRPTRTGC2_cjs = require('./chunk-RPTRTGC2.cjs');
4
+ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
5
5
  var SheetPrimitive = require('@radix-ui/react-dialog');
6
6
  var lucideReact = require('lucide-react');
7
7
  var jsxRuntime = require('react/jsx-runtime');