@vuer-ai/vuer-uikit 0.0.70 → 0.0.72

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.
@@ -0,0 +1,94 @@
1
+ import { cn } from './chunk-KVFUDYD3.mjs';
2
+ import { GitBranch } from 'lucide-react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var PACKAGE_VERSION = "0.0.72" ;
6
+ var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
7
+ var GIT_HASH = "f80572c" ;
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 VersionBadge({
72
+ className,
73
+ package: showPackage = false,
74
+ prefix = false,
75
+ linkable = false,
76
+ version = false,
77
+ hash = false
78
+ }) {
79
+ const packageShortName = PACKAGE_NAME.includes("vuer") ? "vuer" : 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, VersionBadge };
@@ -0,0 +1,99 @@
1
+ 'use strict';
2
+
3
+ var chunkDWD754BX_cjs = require('./chunk-DWD754BX.cjs');
4
+ var lucideReact = require('lucide-react');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+
7
+ var PACKAGE_VERSION = "0.0.72" ;
8
+ var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
9
+ var GIT_HASH = "f80572c" ;
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: chunkDWD754BX_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 VersionBadge({
74
+ className,
75
+ package: showPackage = false,
76
+ prefix = false,
77
+ linkable = false,
78
+ version = false,
79
+ hash = false
80
+ }) {
81
+ const packageShortName = PACKAGE_NAME.includes("vuer") ? "vuer" : 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.VersionBadge = VersionBadge;
package/dist/index.cjs CHANGED
@@ -6,10 +6,11 @@ var chunkLUAVB7SY_cjs = require('./chunk-LUAVB7SY.cjs');
6
6
  var chunkJT64WF26_cjs = require('./chunk-JT64WF26.cjs');
7
7
  var chunkYIPI6MEU_cjs = require('./chunk-YIPI6MEU.cjs');
8
8
  require('./chunk-UNDEM6DJ.cjs');
9
- var chunkA77GE42F_cjs = require('./chunk-A77GE42F.cjs');
10
9
  var chunkZMQEJUWR_cjs = require('./chunk-ZMQEJUWR.cjs');
11
10
  var chunkPJHDOHO3_cjs = require('./chunk-PJHDOHO3.cjs');
12
11
  var chunkNU4OG44J_cjs = require('./chunk-NU4OG44J.cjs');
12
+ require('./chunk-TDGOQMYZ.cjs');
13
+ var chunkT737IFFK_cjs = require('./chunk-T737IFFK.cjs');
13
14
  require('./chunk-E6G4MTX3.cjs');
14
15
  require('./chunk-4AE2TOOL.cjs');
15
16
  var chunkGXRV2QEP_cjs = require('./chunk-GXRV2QEP.cjs');
@@ -17,23 +18,22 @@ require('./chunk-WTUAR2X5.cjs');
17
18
  require('./chunk-WX7SLJUA.cjs');
18
19
  var chunkWRR5LMHR_cjs = require('./chunk-WRR5LMHR.cjs');
19
20
  var chunkLH5AV54U_cjs = require('./chunk-LH5AV54U.cjs');
20
- var chunkDL45AGBN_cjs = require('./chunk-DL45AGBN.cjs');
21
- var chunkS4QKTL7K_cjs = require('./chunk-S4QKTL7K.cjs');
22
21
  var chunkJUFXAXIV_cjs = require('./chunk-JUFXAXIV.cjs');
23
22
  var chunkPMBLY4AL_cjs = require('./chunk-PMBLY4AL.cjs');
24
23
  var chunkSN46OY24_cjs = require('./chunk-SN46OY24.cjs');
25
24
  var chunk3BGIINLM_cjs = require('./chunk-3BGIINLM.cjs');
26
25
  var chunkVVLZSHQA_cjs = require('./chunk-VVLZSHQA.cjs');
27
- var chunkVWGEIGJJ_cjs = require('./chunk-VWGEIGJJ.cjs');
28
26
  var chunkA5S72EIK_cjs = require('./chunk-A5S72EIK.cjs');
27
+ var chunkA77GE42F_cjs = require('./chunk-A77GE42F.cjs');
29
28
  var chunkMK6XW5PC_cjs = require('./chunk-MK6XW5PC.cjs');
30
29
  var chunkQQH3TSI4_cjs = require('./chunk-QQH3TSI4.cjs');
31
- var chunkNLHG6BEP_cjs = require('./chunk-NLHG6BEP.cjs');
30
+ var chunkMZVZSSOH_cjs = require('./chunk-MZVZSSOH.cjs');
32
31
  require('./chunk-KQAZ6BRD.cjs');
33
32
  var chunkZZDIW5JV_cjs = require('./chunk-ZZDIW5JV.cjs');
34
33
  var chunkSBTB5YJV_cjs = require('./chunk-SBTB5YJV.cjs');
35
- require('./chunk-TDGOQMYZ.cjs');
36
- var chunkT737IFFK_cjs = require('./chunk-T737IFFK.cjs');
34
+ var chunkDL45AGBN_cjs = require('./chunk-DL45AGBN.cjs');
35
+ var chunkS4QKTL7K_cjs = require('./chunk-S4QKTL7K.cjs');
36
+ var chunkVWGEIGJJ_cjs = require('./chunk-VWGEIGJJ.cjs');
37
37
  var chunkRXQGFPLP_cjs = require('./chunk-RXQGFPLP.cjs');
38
38
  var chunkQCSP3AI3_cjs = require('./chunk-QCSP3AI3.cjs');
39
39
  var chunkMCYFLR4F_cjs = require('./chunk-MCYFLR4F.cjs');
@@ -115,10 +115,6 @@ Object.defineProperty(exports, "ThemeScript", {
115
115
  enumerable: true,
116
116
  get: function () { return chunkYIPI6MEU_cjs.ThemeScript; }
117
117
  });
118
- Object.defineProperty(exports, "QuaternionInput", {
119
- enumerable: true,
120
- get: function () { return chunkA77GE42F_cjs.QuaternionInput; }
121
- });
122
118
  Object.defineProperty(exports, "RadInput", {
123
119
  enumerable: true,
124
120
  get: function () { return chunkZMQEJUWR_cjs.RadInput; }
@@ -131,6 +127,14 @@ Object.defineProperty(exports, "Vec3Input", {
131
127
  enumerable: true,
132
128
  get: function () { return chunkNU4OG44J_cjs.Vec3Input; }
133
129
  });
130
+ Object.defineProperty(exports, "CursorFilledIcon", {
131
+ enumerable: true,
132
+ get: function () { return chunkT737IFFK_cjs.CursorFilledIcon; }
133
+ });
134
+ Object.defineProperty(exports, "CursorIcon", {
135
+ enumerable: true,
136
+ get: function () { return chunkT737IFFK_cjs.CursorIcon; }
137
+ });
134
138
  Object.defineProperty(exports, "LiquidLayoutView", {
135
139
  enumerable: true,
136
140
  get: function () { return chunkGXRV2QEP_cjs.LiquidLayoutView; }
@@ -163,14 +167,6 @@ Object.defineProperty(exports, "DockLayoutTop", {
163
167
  enumerable: true,
164
168
  get: function () { return chunkLH5AV54U_cjs.DockLayoutTop; }
165
169
  });
166
- Object.defineProperty(exports, "CmInput", {
167
- enumerable: true,
168
- get: function () { return chunkDL45AGBN_cjs.CmInput; }
169
- });
170
- Object.defineProperty(exports, "DegInput", {
171
- enumerable: true,
172
- get: function () { return chunkS4QKTL7K_cjs.DegInput; }
173
- });
174
170
  Object.defineProperty(exports, "EulerDegInput", {
175
171
  enumerable: true,
176
172
  get: function () { return chunkJUFXAXIV_cjs.EulerDegInput; }
@@ -191,14 +187,14 @@ Object.defineProperty(exports, "IntInput", {
191
187
  enumerable: true,
192
188
  get: function () { return chunkVVLZSHQA_cjs.IntInput; }
193
189
  });
194
- Object.defineProperty(exports, "NumberInput", {
195
- enumerable: true,
196
- get: function () { return chunkVWGEIGJJ_cjs.NumberInput; }
197
- });
198
190
  Object.defineProperty(exports, "KVectorInput", {
199
191
  enumerable: true,
200
192
  get: function () { return chunkA5S72EIK_cjs.KVectorInput; }
201
193
  });
194
+ Object.defineProperty(exports, "QuaternionInput", {
195
+ enumerable: true,
196
+ get: function () { return chunkA77GE42F_cjs.QuaternionInput; }
197
+ });
202
198
  Object.defineProperty(exports, "VectorInput", {
203
199
  enumerable: true,
204
200
  get: function () { return chunkMK6XW5PC_cjs.VectorInput; }
@@ -207,9 +203,21 @@ Object.defineProperty(exports, "TreeView", {
207
203
  enumerable: true,
208
204
  get: function () { return chunkQQH3TSI4_cjs.TreeView; }
209
205
  });
206
+ Object.defineProperty(exports, "GIT_HASH", {
207
+ enumerable: true,
208
+ get: function () { return chunkMZVZSSOH_cjs.GIT_HASH; }
209
+ });
210
+ Object.defineProperty(exports, "PACKAGE_VERSION", {
211
+ enumerable: true,
212
+ get: function () { return chunkMZVZSSOH_cjs.PACKAGE_VERSION; }
213
+ });
214
+ Object.defineProperty(exports, "PackageBadge", {
215
+ enumerable: true,
216
+ get: function () { return chunkMZVZSSOH_cjs.PackageBadge; }
217
+ });
210
218
  Object.defineProperty(exports, "VersionBadge", {
211
219
  enumerable: true,
212
- get: function () { return chunkNLHG6BEP_cjs.VersionBadge; }
220
+ get: function () { return chunkMZVZSSOH_cjs.VersionBadge; }
213
221
  });
214
222
  Object.defineProperty(exports, "createSelectable", {
215
223
  enumerable: true,
@@ -223,13 +231,17 @@ Object.defineProperty(exports, "useDragSelectContext", {
223
231
  enumerable: true,
224
232
  get: function () { return chunkSBTB5YJV_cjs.useDragSelectContext; }
225
233
  });
226
- Object.defineProperty(exports, "CursorFilledIcon", {
234
+ Object.defineProperty(exports, "CmInput", {
227
235
  enumerable: true,
228
- get: function () { return chunkT737IFFK_cjs.CursorFilledIcon; }
236
+ get: function () { return chunkDL45AGBN_cjs.CmInput; }
229
237
  });
230
- Object.defineProperty(exports, "CursorIcon", {
238
+ Object.defineProperty(exports, "DegInput", {
231
239
  enumerable: true,
232
- get: function () { return chunkT737IFFK_cjs.CursorIcon; }
240
+ get: function () { return chunkS4QKTL7K_cjs.DegInput; }
241
+ });
242
+ Object.defineProperty(exports, "NumberInput", {
243
+ enumerable: true,
244
+ get: function () { return chunkVWGEIGJJ_cjs.NumberInput; }
233
245
  });
234
246
  Object.defineProperty(exports, "Timeline", {
235
247
  enumerable: true,
package/dist/index.css CHANGED
@@ -4,19 +4,17 @@
4
4
  @property --tw-animation-duration { syntax:"*";inherits:false }
5
5
  @property --tw-animation-fill-mode { syntax:"*";inherits:false;initial-value:none }
6
6
  @property --tw-animation-iteration-count { syntax:"*";inherits:false;initial-value:1 }
7
- @property --tw-enter-blur { syntax:"*";inherits:false;initial-value:0 }
8
7
  @property --tw-enter-opacity { syntax:"*";inherits:false;initial-value:1 }
9
8
  @property --tw-enter-rotate { syntax:"*";inherits:false;initial-value:0 }
10
9
  @property --tw-enter-scale { syntax:"*";inherits:false;initial-value:1 }
11
10
  @property --tw-enter-translate-x { syntax:"*";inherits:false;initial-value:0 }
12
11
  @property --tw-enter-translate-y { syntax:"*";inherits:false;initial-value:0 }
13
- @property --tw-exit-blur { syntax:"*";inherits:false;initial-value:0 }
14
12
  @property --tw-exit-opacity { syntax:"*";inherits:false;initial-value:1 }
15
13
  @property --tw-exit-rotate { syntax:"*";inherits:false;initial-value:0 }
16
14
  @property --tw-exit-scale { syntax:"*";inherits:false;initial-value:1 }
17
15
  @property --tw-exit-translate-x { syntax:"*";inherits:false;initial-value:0 }
18
16
  @property --tw-exit-translate-y { syntax:"*";inherits:false;initial-value:0 }
19
- @theme inline { --animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); filter: blur(var(--tw-enter-blur,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); filter: blur(var(--tw-exit-blur,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,auto)))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,auto)))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }} }
17
+ @theme inline { --animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,auto)))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,auto)))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }} }
20
18
  @utility animation-duration-* { --tw-animation-duration: calc(--value(number)*1ms); --tw-animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); animation-duration: calc(--value(number)*1ms); animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); }
21
19
  @utility delay-* { animation-delay: calc(--value(number)*1ms); animation-delay: --value(--animation-delay-*, [duration], "initial", [*]); --tw-animation-delay: calc(--value(number)*1ms); --tw-animation-delay: --value(--animation-delay-*, [duration], "initial", [*]); }
22
20
  @utility repeat-* { animation-iteration-count: --value(--animation-repeat-*, number, "initial", [*]); --tw-animation-iteration-count: --value(--animation-repeat-*, number, "initial", [*]); }
@@ -25,10 +23,6 @@
25
23
  @utility running { animation-play-state: running; }
26
24
  @utility paused { animation-play-state: paused; }
27
25
  @utility play-state-* { animation-play-state: --value("initial", [*]); }
28
- @utility blur-in { --tw-enter-blur: 20px; }
29
- @utility blur-in-* { --tw-enter-blur: calc(--value(number)*1px); --tw-enter-blur: --value(--blur-*,[*]); }
30
- @utility blur-out { --tw-exit-blur: 20px; }
31
- @utility blur-out-* { --tw-exit-blur: calc(--value(number)*1px); --tw-exit-blur: --value(--blur-*,[*]); }
32
26
  @utility fade-in { --tw-enter-opacity: 0; }
33
27
  @utility fade-in-* { --tw-enter-opacity: calc(--value(number)/100); --tw-enter-opacity: --value(--percentage-*,[*]); }
34
28
  @utility fade-out { --tw-exit-opacity: 0; }
package/dist/index.d.cts CHANGED
@@ -33,7 +33,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
33
33
  export { Slider, SliderProps } from './ui/slider.cjs';
34
34
  export { Layout, LayoutProps } from './ui/layout.cjs';
35
35
  export { Label } from './ui/label.cjs';
36
- export { VersionBadge } from './ui/version-badge.cjs';
36
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, PackageBadgeProps, VersionBadge, VersionBadgeProps } from './ui/version-badge.cjs';
37
37
  export { NumberInput, NumberInputProps } from './ui/form/NumberInput.cjs';
38
38
  export { IntInput, IntInputProps } from './ui/form/IntInput.cjs';
39
39
  export { DegInput, DegInputProps } from './ui/form/DegInput.cjs';
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
33
33
  export { Slider, SliderProps } from './ui/slider.js';
34
34
  export { Layout, LayoutProps } from './ui/layout.js';
35
35
  export { Label } from './ui/label.js';
36
- export { VersionBadge } from './ui/version-badge.js';
36
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, PackageBadgeProps, VersionBadge, VersionBadgeProps } from './ui/version-badge.js';
37
37
  export { NumberInput, NumberInputProps } from './ui/form/NumberInput.js';
38
38
  export { IntInput, IntInputProps } from './ui/form/IntInput.js';
39
39
  export { DegInput, DegInputProps } from './ui/form/DegInput.js';
package/dist/index.mjs CHANGED
@@ -4,10 +4,11 @@ export { LiquidToggle, ThemeToggle } from './chunk-DWU32IXO.mjs';
4
4
  export { ThemeProvider, useTheme } from './chunk-CWBLCQD7.mjs';
5
5
  export { ThemeScript } from './chunk-NSI47INE.mjs';
6
6
  import './chunk-OJUTHWTF.mjs';
7
- export { QuaternionInput } from './chunk-ZLQIYYLM.mjs';
8
7
  export { RadInput } from './chunk-GYIBDDVZ.mjs';
9
8
  export { TimeInput } from './chunk-SGFYY4IN.mjs';
10
9
  export { Vec3Input } from './chunk-CEV3ZNNG.mjs';
10
+ import './chunk-ZZSMYEH2.mjs';
11
+ export { CursorFilledIcon, CursorIcon } from './chunk-2MANWDY4.mjs';
11
12
  import './chunk-IGTUE4NW.mjs';
12
13
  import './chunk-EPRRJR2S.mjs';
13
14
  export { LiquidLayoutView } from './chunk-BPGKIZ6G.mjs';
@@ -15,23 +16,22 @@ import './chunk-LAZO5ZDT.mjs';
15
16
  import './chunk-4QFWMPJZ.mjs';
16
17
  export { DockLayoutView } from './chunk-PIRVEHSD.mjs';
17
18
  export { DockLayout, DockLayoutBottom, DockLayoutContent, DockLayoutLeft, DockLayoutRight, DockLayoutTop } from './chunk-4MW4SKOD.mjs';
18
- export { CmInput } from './chunk-EN5B5LNH.mjs';
19
- export { DegInput } from './chunk-CMNKKJ53.mjs';
20
19
  export { EulerDegInput } from './chunk-OGNI52H4.mjs';
21
20
  export { EulerRadInput } from './chunk-7Y2LX6UY.mjs';
22
21
  export { EulerInput } from './chunk-PABIHEC7.mjs';
23
22
  export { InchInput } from './chunk-6YW46AEZ.mjs';
24
23
  export { IntInput } from './chunk-AQ63VYTM.mjs';
25
- export { NumberInput } from './chunk-WZS23ODD.mjs';
26
24
  export { KVectorInput } from './chunk-V25THXL6.mjs';
25
+ export { QuaternionInput } from './chunk-ZLQIYYLM.mjs';
27
26
  export { VectorInput } from './chunk-SIU54HGH.mjs';
28
27
  export { TreeView } from './chunk-54AT7VFI.mjs';
29
- export { VersionBadge } from './chunk-GOXZ3TTM.mjs';
28
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, VersionBadge } from './chunk-54OVNRFB.mjs';
30
29
  import './chunk-KHROZRRE.mjs';
31
30
  export { createSelectable } from './chunk-TVKPO5VK.mjs';
32
31
  export { DragSelectProvider, useDragSelectContext } from './chunk-JBQP2CBI.mjs';
33
- import './chunk-ZZSMYEH2.mjs';
34
- export { CursorFilledIcon, CursorIcon } from './chunk-2MANWDY4.mjs';
32
+ export { CmInput } from './chunk-EN5B5LNH.mjs';
33
+ export { DegInput } from './chunk-CMNKKJ53.mjs';
34
+ export { NumberInput } from './chunk-WZS23ODD.mjs';
35
35
  export { Timeline } from './chunk-CX7AH4R4.mjs';
36
36
  export { TreeView as TreeViewV2 } from './chunk-JVCED76T.mjs';
37
37
  export { Toaster, toast } from './chunk-EAZQH4IX.mjs';
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
3
  require('../../chunk-UNDEM6DJ.cjs');
4
- var chunkA77GE42F_cjs = require('../../chunk-A77GE42F.cjs');
5
4
  var chunkZMQEJUWR_cjs = require('../../chunk-ZMQEJUWR.cjs');
6
5
  var chunkPJHDOHO3_cjs = require('../../chunk-PJHDOHO3.cjs');
7
6
  var chunkNU4OG44J_cjs = require('../../chunk-NU4OG44J.cjs');
8
- var chunkDL45AGBN_cjs = require('../../chunk-DL45AGBN.cjs');
9
- var chunkS4QKTL7K_cjs = require('../../chunk-S4QKTL7K.cjs');
10
7
  var chunkJUFXAXIV_cjs = require('../../chunk-JUFXAXIV.cjs');
11
8
  var chunkPMBLY4AL_cjs = require('../../chunk-PMBLY4AL.cjs');
12
9
  var chunkSN46OY24_cjs = require('../../chunk-SN46OY24.cjs');
13
10
  var chunk3BGIINLM_cjs = require('../../chunk-3BGIINLM.cjs');
14
11
  var chunkVVLZSHQA_cjs = require('../../chunk-VVLZSHQA.cjs');
15
- var chunkVWGEIGJJ_cjs = require('../../chunk-VWGEIGJJ.cjs');
16
12
  var chunkA5S72EIK_cjs = require('../../chunk-A5S72EIK.cjs');
13
+ var chunkA77GE42F_cjs = require('../../chunk-A77GE42F.cjs');
17
14
  var chunkMK6XW5PC_cjs = require('../../chunk-MK6XW5PC.cjs');
15
+ var chunkDL45AGBN_cjs = require('../../chunk-DL45AGBN.cjs');
16
+ var chunkS4QKTL7K_cjs = require('../../chunk-S4QKTL7K.cjs');
17
+ var chunkVWGEIGJJ_cjs = require('../../chunk-VWGEIGJJ.cjs');
18
18
  require('../../chunk-7OHIAOEL.cjs');
19
19
  require('../../chunk-NFJTF2GL.cjs');
20
20
  require('../../chunk-QN4N4I3Z.cjs');
@@ -30,10 +30,6 @@ require('../../chunk-DWD754BX.cjs');
30
30
 
31
31
 
32
32
 
33
- Object.defineProperty(exports, "QuaternionInput", {
34
- enumerable: true,
35
- get: function () { return chunkA77GE42F_cjs.QuaternionInput; }
36
- });
37
33
  Object.defineProperty(exports, "RadInput", {
38
34
  enumerable: true,
39
35
  get: function () { return chunkZMQEJUWR_cjs.RadInput; }
@@ -46,14 +42,6 @@ Object.defineProperty(exports, "Vec3Input", {
46
42
  enumerable: true,
47
43
  get: function () { return chunkNU4OG44J_cjs.Vec3Input; }
48
44
  });
49
- Object.defineProperty(exports, "CmInput", {
50
- enumerable: true,
51
- get: function () { return chunkDL45AGBN_cjs.CmInput; }
52
- });
53
- Object.defineProperty(exports, "DegInput", {
54
- enumerable: true,
55
- get: function () { return chunkS4QKTL7K_cjs.DegInput; }
56
- });
57
45
  Object.defineProperty(exports, "EulerDegInput", {
58
46
  enumerable: true,
59
47
  get: function () { return chunkJUFXAXIV_cjs.EulerDegInput; }
@@ -74,15 +62,27 @@ Object.defineProperty(exports, "IntInput", {
74
62
  enumerable: true,
75
63
  get: function () { return chunkVVLZSHQA_cjs.IntInput; }
76
64
  });
77
- Object.defineProperty(exports, "NumberInput", {
78
- enumerable: true,
79
- get: function () { return chunkVWGEIGJJ_cjs.NumberInput; }
80
- });
81
65
  Object.defineProperty(exports, "KVectorInput", {
82
66
  enumerable: true,
83
67
  get: function () { return chunkA5S72EIK_cjs.KVectorInput; }
84
68
  });
69
+ Object.defineProperty(exports, "QuaternionInput", {
70
+ enumerable: true,
71
+ get: function () { return chunkA77GE42F_cjs.QuaternionInput; }
72
+ });
85
73
  Object.defineProperty(exports, "VectorInput", {
86
74
  enumerable: true,
87
75
  get: function () { return chunkMK6XW5PC_cjs.VectorInput; }
88
76
  });
77
+ Object.defineProperty(exports, "CmInput", {
78
+ enumerable: true,
79
+ get: function () { return chunkDL45AGBN_cjs.CmInput; }
80
+ });
81
+ Object.defineProperty(exports, "DegInput", {
82
+ enumerable: true,
83
+ get: function () { return chunkS4QKTL7K_cjs.DegInput; }
84
+ });
85
+ Object.defineProperty(exports, "NumberInput", {
86
+ enumerable: true,
87
+ get: function () { return chunkVWGEIGJJ_cjs.NumberInput; }
88
+ });
@@ -1,18 +1,18 @@
1
1
  import '../../chunk-OJUTHWTF.mjs';
2
- export { QuaternionInput } from '../../chunk-ZLQIYYLM.mjs';
3
2
  export { RadInput } from '../../chunk-GYIBDDVZ.mjs';
4
3
  export { TimeInput } from '../../chunk-SGFYY4IN.mjs';
5
4
  export { Vec3Input } from '../../chunk-CEV3ZNNG.mjs';
6
- export { CmInput } from '../../chunk-EN5B5LNH.mjs';
7
- export { DegInput } from '../../chunk-CMNKKJ53.mjs';
8
5
  export { EulerDegInput } from '../../chunk-OGNI52H4.mjs';
9
6
  export { EulerRadInput } from '../../chunk-7Y2LX6UY.mjs';
10
7
  export { EulerInput } from '../../chunk-PABIHEC7.mjs';
11
8
  export { InchInput } from '../../chunk-6YW46AEZ.mjs';
12
9
  export { IntInput } from '../../chunk-AQ63VYTM.mjs';
13
- export { NumberInput } from '../../chunk-WZS23ODD.mjs';
14
10
  export { KVectorInput } from '../../chunk-V25THXL6.mjs';
11
+ export { QuaternionInput } from '../../chunk-ZLQIYYLM.mjs';
15
12
  export { VectorInput } from '../../chunk-SIU54HGH.mjs';
13
+ export { CmInput } from '../../chunk-EN5B5LNH.mjs';
14
+ export { DegInput } from '../../chunk-CMNKKJ53.mjs';
15
+ export { NumberInput } from '../../chunk-WZS23ODD.mjs';
16
16
  import '../../chunk-MMOB4YG4.mjs';
17
17
  import '../../chunk-IWPVLQSF.mjs';
18
18
  import '../../chunk-F7ZHPSLA.mjs';
package/dist/ui/index.cjs CHANGED
@@ -6,10 +6,11 @@ var chunkLUAVB7SY_cjs = require('../chunk-LUAVB7SY.cjs');
6
6
  var chunkJT64WF26_cjs = require('../chunk-JT64WF26.cjs');
7
7
  var chunkYIPI6MEU_cjs = require('../chunk-YIPI6MEU.cjs');
8
8
  require('../chunk-UNDEM6DJ.cjs');
9
- var chunkA77GE42F_cjs = require('../chunk-A77GE42F.cjs');
10
9
  var chunkZMQEJUWR_cjs = require('../chunk-ZMQEJUWR.cjs');
11
10
  var chunkPJHDOHO3_cjs = require('../chunk-PJHDOHO3.cjs');
12
11
  var chunkNU4OG44J_cjs = require('../chunk-NU4OG44J.cjs');
12
+ require('../chunk-TDGOQMYZ.cjs');
13
+ var chunkT737IFFK_cjs = require('../chunk-T737IFFK.cjs');
13
14
  require('../chunk-E6G4MTX3.cjs');
14
15
  require('../chunk-4AE2TOOL.cjs');
15
16
  var chunkGXRV2QEP_cjs = require('../chunk-GXRV2QEP.cjs');
@@ -17,23 +18,22 @@ require('../chunk-WTUAR2X5.cjs');
17
18
  require('../chunk-WX7SLJUA.cjs');
18
19
  var chunkWRR5LMHR_cjs = require('../chunk-WRR5LMHR.cjs');
19
20
  var chunkLH5AV54U_cjs = require('../chunk-LH5AV54U.cjs');
20
- var chunkDL45AGBN_cjs = require('../chunk-DL45AGBN.cjs');
21
- var chunkS4QKTL7K_cjs = require('../chunk-S4QKTL7K.cjs');
22
21
  var chunkJUFXAXIV_cjs = require('../chunk-JUFXAXIV.cjs');
23
22
  var chunkPMBLY4AL_cjs = require('../chunk-PMBLY4AL.cjs');
24
23
  var chunkSN46OY24_cjs = require('../chunk-SN46OY24.cjs');
25
24
  var chunk3BGIINLM_cjs = require('../chunk-3BGIINLM.cjs');
26
25
  var chunkVVLZSHQA_cjs = require('../chunk-VVLZSHQA.cjs');
27
- var chunkVWGEIGJJ_cjs = require('../chunk-VWGEIGJJ.cjs');
28
26
  var chunkA5S72EIK_cjs = require('../chunk-A5S72EIK.cjs');
27
+ var chunkA77GE42F_cjs = require('../chunk-A77GE42F.cjs');
29
28
  var chunkMK6XW5PC_cjs = require('../chunk-MK6XW5PC.cjs');
30
29
  var chunkQQH3TSI4_cjs = require('../chunk-QQH3TSI4.cjs');
31
- var chunkNLHG6BEP_cjs = require('../chunk-NLHG6BEP.cjs');
30
+ var chunkMZVZSSOH_cjs = require('../chunk-MZVZSSOH.cjs');
32
31
  require('../chunk-KQAZ6BRD.cjs');
33
32
  var chunkZZDIW5JV_cjs = require('../chunk-ZZDIW5JV.cjs');
34
33
  var chunkSBTB5YJV_cjs = require('../chunk-SBTB5YJV.cjs');
35
- require('../chunk-TDGOQMYZ.cjs');
36
- var chunkT737IFFK_cjs = require('../chunk-T737IFFK.cjs');
34
+ var chunkDL45AGBN_cjs = require('../chunk-DL45AGBN.cjs');
35
+ var chunkS4QKTL7K_cjs = require('../chunk-S4QKTL7K.cjs');
36
+ var chunkVWGEIGJJ_cjs = require('../chunk-VWGEIGJJ.cjs');
37
37
  var chunkRXQGFPLP_cjs = require('../chunk-RXQGFPLP.cjs');
38
38
  var chunkQCSP3AI3_cjs = require('../chunk-QCSP3AI3.cjs');
39
39
  var chunkMCYFLR4F_cjs = require('../chunk-MCYFLR4F.cjs');
@@ -107,10 +107,6 @@ Object.defineProperty(exports, "ThemeScript", {
107
107
  enumerable: true,
108
108
  get: function () { return chunkYIPI6MEU_cjs.ThemeScript; }
109
109
  });
110
- Object.defineProperty(exports, "QuaternionInput", {
111
- enumerable: true,
112
- get: function () { return chunkA77GE42F_cjs.QuaternionInput; }
113
- });
114
110
  Object.defineProperty(exports, "RadInput", {
115
111
  enumerable: true,
116
112
  get: function () { return chunkZMQEJUWR_cjs.RadInput; }
@@ -123,6 +119,14 @@ Object.defineProperty(exports, "Vec3Input", {
123
119
  enumerable: true,
124
120
  get: function () { return chunkNU4OG44J_cjs.Vec3Input; }
125
121
  });
122
+ Object.defineProperty(exports, "CursorFilledIcon", {
123
+ enumerable: true,
124
+ get: function () { return chunkT737IFFK_cjs.CursorFilledIcon; }
125
+ });
126
+ Object.defineProperty(exports, "CursorIcon", {
127
+ enumerable: true,
128
+ get: function () { return chunkT737IFFK_cjs.CursorIcon; }
129
+ });
126
130
  Object.defineProperty(exports, "LiquidLayoutView", {
127
131
  enumerable: true,
128
132
  get: function () { return chunkGXRV2QEP_cjs.LiquidLayoutView; }
@@ -155,14 +159,6 @@ Object.defineProperty(exports, "DockLayoutTop", {
155
159
  enumerable: true,
156
160
  get: function () { return chunkLH5AV54U_cjs.DockLayoutTop; }
157
161
  });
158
- Object.defineProperty(exports, "CmInput", {
159
- enumerable: true,
160
- get: function () { return chunkDL45AGBN_cjs.CmInput; }
161
- });
162
- Object.defineProperty(exports, "DegInput", {
163
- enumerable: true,
164
- get: function () { return chunkS4QKTL7K_cjs.DegInput; }
165
- });
166
162
  Object.defineProperty(exports, "EulerDegInput", {
167
163
  enumerable: true,
168
164
  get: function () { return chunkJUFXAXIV_cjs.EulerDegInput; }
@@ -183,14 +179,14 @@ Object.defineProperty(exports, "IntInput", {
183
179
  enumerable: true,
184
180
  get: function () { return chunkVVLZSHQA_cjs.IntInput; }
185
181
  });
186
- Object.defineProperty(exports, "NumberInput", {
187
- enumerable: true,
188
- get: function () { return chunkVWGEIGJJ_cjs.NumberInput; }
189
- });
190
182
  Object.defineProperty(exports, "KVectorInput", {
191
183
  enumerable: true,
192
184
  get: function () { return chunkA5S72EIK_cjs.KVectorInput; }
193
185
  });
186
+ Object.defineProperty(exports, "QuaternionInput", {
187
+ enumerable: true,
188
+ get: function () { return chunkA77GE42F_cjs.QuaternionInput; }
189
+ });
194
190
  Object.defineProperty(exports, "VectorInput", {
195
191
  enumerable: true,
196
192
  get: function () { return chunkMK6XW5PC_cjs.VectorInput; }
@@ -199,9 +195,21 @@ Object.defineProperty(exports, "TreeView", {
199
195
  enumerable: true,
200
196
  get: function () { return chunkQQH3TSI4_cjs.TreeView; }
201
197
  });
198
+ Object.defineProperty(exports, "GIT_HASH", {
199
+ enumerable: true,
200
+ get: function () { return chunkMZVZSSOH_cjs.GIT_HASH; }
201
+ });
202
+ Object.defineProperty(exports, "PACKAGE_VERSION", {
203
+ enumerable: true,
204
+ get: function () { return chunkMZVZSSOH_cjs.PACKAGE_VERSION; }
205
+ });
206
+ Object.defineProperty(exports, "PackageBadge", {
207
+ enumerable: true,
208
+ get: function () { return chunkMZVZSSOH_cjs.PackageBadge; }
209
+ });
202
210
  Object.defineProperty(exports, "VersionBadge", {
203
211
  enumerable: true,
204
- get: function () { return chunkNLHG6BEP_cjs.VersionBadge; }
212
+ get: function () { return chunkMZVZSSOH_cjs.VersionBadge; }
205
213
  });
206
214
  Object.defineProperty(exports, "createSelectable", {
207
215
  enumerable: true,
@@ -215,13 +223,17 @@ Object.defineProperty(exports, "useDragSelectContext", {
215
223
  enumerable: true,
216
224
  get: function () { return chunkSBTB5YJV_cjs.useDragSelectContext; }
217
225
  });
218
- Object.defineProperty(exports, "CursorFilledIcon", {
226
+ Object.defineProperty(exports, "CmInput", {
219
227
  enumerable: true,
220
- get: function () { return chunkT737IFFK_cjs.CursorFilledIcon; }
228
+ get: function () { return chunkDL45AGBN_cjs.CmInput; }
221
229
  });
222
- Object.defineProperty(exports, "CursorIcon", {
230
+ Object.defineProperty(exports, "DegInput", {
223
231
  enumerable: true,
224
- get: function () { return chunkT737IFFK_cjs.CursorIcon; }
232
+ get: function () { return chunkS4QKTL7K_cjs.DegInput; }
233
+ });
234
+ Object.defineProperty(exports, "NumberInput", {
235
+ enumerable: true,
236
+ get: function () { return chunkVWGEIGJJ_cjs.NumberInput; }
225
237
  });
226
238
  Object.defineProperty(exports, "Timeline", {
227
239
  enumerable: true,
@@ -33,7 +33,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
33
33
  export { Slider, SliderProps } from './slider.cjs';
34
34
  export { Layout, LayoutProps } from './layout.cjs';
35
35
  export { Label } from './label.cjs';
36
- export { VersionBadge } from './version-badge.cjs';
36
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, PackageBadgeProps, VersionBadge, VersionBadgeProps } from './version-badge.cjs';
37
37
  export { NumberInput, NumberInputProps } from './form/NumberInput.cjs';
38
38
  export { IntInput, IntInputProps } from './form/IntInput.cjs';
39
39
  export { DegInput, DegInputProps } from './form/DegInput.cjs';
@@ -33,7 +33,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
33
33
  export { Slider, SliderProps } from './slider.js';
34
34
  export { Layout, LayoutProps } from './layout.js';
35
35
  export { Label } from './label.js';
36
- export { VersionBadge } from './version-badge.js';
36
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, PackageBadgeProps, VersionBadge, VersionBadgeProps } from './version-badge.js';
37
37
  export { NumberInput, NumberInputProps } from './form/NumberInput.js';
38
38
  export { IntInput, IntInputProps } from './form/IntInput.js';
39
39
  export { DegInput, DegInputProps } from './form/DegInput.js';
package/dist/ui/index.mjs CHANGED
@@ -4,10 +4,11 @@ export { LiquidToggle, ThemeToggle } from '../chunk-DWU32IXO.mjs';
4
4
  export { ThemeProvider, useTheme } from '../chunk-CWBLCQD7.mjs';
5
5
  export { ThemeScript } from '../chunk-NSI47INE.mjs';
6
6
  import '../chunk-OJUTHWTF.mjs';
7
- export { QuaternionInput } from '../chunk-ZLQIYYLM.mjs';
8
7
  export { RadInput } from '../chunk-GYIBDDVZ.mjs';
9
8
  export { TimeInput } from '../chunk-SGFYY4IN.mjs';
10
9
  export { Vec3Input } from '../chunk-CEV3ZNNG.mjs';
10
+ import '../chunk-ZZSMYEH2.mjs';
11
+ export { CursorFilledIcon, CursorIcon } from '../chunk-2MANWDY4.mjs';
11
12
  import '../chunk-IGTUE4NW.mjs';
12
13
  import '../chunk-EPRRJR2S.mjs';
13
14
  export { LiquidLayoutView } from '../chunk-BPGKIZ6G.mjs';
@@ -15,23 +16,22 @@ import '../chunk-LAZO5ZDT.mjs';
15
16
  import '../chunk-4QFWMPJZ.mjs';
16
17
  export { DockLayoutView } from '../chunk-PIRVEHSD.mjs';
17
18
  export { DockLayout, DockLayoutBottom, DockLayoutContent, DockLayoutLeft, DockLayoutRight, DockLayoutTop } from '../chunk-4MW4SKOD.mjs';
18
- export { CmInput } from '../chunk-EN5B5LNH.mjs';
19
- export { DegInput } from '../chunk-CMNKKJ53.mjs';
20
19
  export { EulerDegInput } from '../chunk-OGNI52H4.mjs';
21
20
  export { EulerRadInput } from '../chunk-7Y2LX6UY.mjs';
22
21
  export { EulerInput } from '../chunk-PABIHEC7.mjs';
23
22
  export { InchInput } from '../chunk-6YW46AEZ.mjs';
24
23
  export { IntInput } from '../chunk-AQ63VYTM.mjs';
25
- export { NumberInput } from '../chunk-WZS23ODD.mjs';
26
24
  export { KVectorInput } from '../chunk-V25THXL6.mjs';
25
+ export { QuaternionInput } from '../chunk-ZLQIYYLM.mjs';
27
26
  export { VectorInput } from '../chunk-SIU54HGH.mjs';
28
27
  export { TreeView } from '../chunk-54AT7VFI.mjs';
29
- export { VersionBadge } from '../chunk-GOXZ3TTM.mjs';
28
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, VersionBadge } from '../chunk-54OVNRFB.mjs';
30
29
  import '../chunk-KHROZRRE.mjs';
31
30
  export { createSelectable } from '../chunk-TVKPO5VK.mjs';
32
31
  export { DragSelectProvider, useDragSelectContext } from '../chunk-JBQP2CBI.mjs';
33
- import '../chunk-ZZSMYEH2.mjs';
34
- export { CursorFilledIcon, CursorIcon } from '../chunk-2MANWDY4.mjs';
32
+ export { CmInput } from '../chunk-EN5B5LNH.mjs';
33
+ export { DegInput } from '../chunk-CMNKKJ53.mjs';
34
+ export { NumberInput } from '../chunk-WZS23ODD.mjs';
35
35
  export { Timeline } from '../chunk-CX7AH4R4.mjs';
36
36
  export { TreeView as TreeViewV2 } from '../chunk-JVCED76T.mjs';
37
37
  export { Toaster, toast } from '../chunk-EAZQH4IX.mjs';
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNLHG6BEP_cjs = require('../chunk-NLHG6BEP.cjs');
4
- require('../chunk-UV3EORBI.cjs');
3
+ var chunkMZVZSSOH_cjs = require('../chunk-MZVZSSOH.cjs');
5
4
  require('../chunk-QN4N4I3Z.cjs');
6
5
  require('../chunk-Q7E73DVJ.cjs');
7
6
  require('../chunk-JR4TVE43.cjs');
@@ -15,7 +14,19 @@ require('../chunk-DWD754BX.cjs');
15
14
 
16
15
 
17
16
 
17
+ Object.defineProperty(exports, "GIT_HASH", {
18
+ enumerable: true,
19
+ get: function () { return chunkMZVZSSOH_cjs.GIT_HASH; }
20
+ });
21
+ Object.defineProperty(exports, "PACKAGE_VERSION", {
22
+ enumerable: true,
23
+ get: function () { return chunkMZVZSSOH_cjs.PACKAGE_VERSION; }
24
+ });
25
+ Object.defineProperty(exports, "PackageBadge", {
26
+ enumerable: true,
27
+ get: function () { return chunkMZVZSSOH_cjs.PackageBadge; }
28
+ });
18
29
  Object.defineProperty(exports, "VersionBadge", {
19
30
  enumerable: true,
20
- get: function () { return chunkNLHG6BEP_cjs.VersionBadge; }
31
+ get: function () { return chunkMZVZSSOH_cjs.VersionBadge; }
21
32
  });
@@ -1,26 +1,67 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
+ declare const PACKAGE_VERSION: string;
4
+ declare const GIT_HASH: string;
5
+ interface PackageBadgeProps {
6
+ /**
7
+ * Additional CSS classes to apply to the badge
8
+ */
9
+ className?: string;
10
+ /**
11
+ * Package name to display (e.g., "vuer", "uikit")
12
+ */
13
+ packageName?: string;
14
+ /**
15
+ * Full package name for npm link (e.g., "@vuer-ai/vuer-uikit")
16
+ */
17
+ packageFullName?: string;
18
+ /**
19
+ * Version string to display (e.g., "v0.0.72" or "0.0.72")
20
+ */
21
+ versionText?: string;
22
+ /**
23
+ * Whether the version should be clickable (links to npm)
24
+ */
25
+ linkable?: boolean;
26
+ /**
27
+ * Git hash to display (if provided)
28
+ */
29
+ gitHash?: string;
30
+ }
31
+ /**
32
+ * Low-level badge component that displays package information with provided values
33
+ */
34
+ declare function PackageBadge({ className, packageName, packageFullName, versionText, linkable, gitHash, }: PackageBadgeProps): react_jsx_runtime.JSX.Element;
3
35
  interface VersionBadgeProps {
4
36
  /**
5
37
  * Additional CSS classes to apply to the badge
6
38
  */
7
39
  className?: string;
40
+ /**
41
+ * Whether to show the package name
42
+ */
43
+ package?: boolean;
8
44
  /**
9
45
  * Whether to show just the version or include "v" prefix
10
46
  */
11
- showPrefix?: boolean;
47
+ prefix?: boolean;
12
48
  /**
13
- * Whether the badge should be clickable (links to npm)
49
+ * Whether the badge should be clickable (links to npm/github)
14
50
  */
15
51
  linkable?: boolean;
16
52
  /**
17
- * Override the version display (useful for testing)
53
+ * Whether to show the version
54
+ */
55
+ version?: boolean;
56
+ /**
57
+ * Whether to show the git hash
18
58
  */
19
- version?: string;
59
+ hash?: boolean;
20
60
  }
21
61
  /**
22
- * A badge component that displays the current package version and optionally links to npm
62
+ * High-level badge component that displays the current package version with boolean flags
63
+ * Format: [ vuer | v0.0.72 ] hash
23
64
  */
24
- declare function VersionBadge({ className, showPrefix, linkable, version: overrideVersion, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
65
+ declare function VersionBadge({ className, package: showPackage, prefix, linkable, version, hash, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
25
66
 
26
- export { VersionBadge };
67
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, type PackageBadgeProps, VersionBadge, type VersionBadgeProps };
@@ -1,26 +1,67 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
+ declare const PACKAGE_VERSION: string;
4
+ declare const GIT_HASH: string;
5
+ interface PackageBadgeProps {
6
+ /**
7
+ * Additional CSS classes to apply to the badge
8
+ */
9
+ className?: string;
10
+ /**
11
+ * Package name to display (e.g., "vuer", "uikit")
12
+ */
13
+ packageName?: string;
14
+ /**
15
+ * Full package name for npm link (e.g., "@vuer-ai/vuer-uikit")
16
+ */
17
+ packageFullName?: string;
18
+ /**
19
+ * Version string to display (e.g., "v0.0.72" or "0.0.72")
20
+ */
21
+ versionText?: string;
22
+ /**
23
+ * Whether the version should be clickable (links to npm)
24
+ */
25
+ linkable?: boolean;
26
+ /**
27
+ * Git hash to display (if provided)
28
+ */
29
+ gitHash?: string;
30
+ }
31
+ /**
32
+ * Low-level badge component that displays package information with provided values
33
+ */
34
+ declare function PackageBadge({ className, packageName, packageFullName, versionText, linkable, gitHash, }: PackageBadgeProps): react_jsx_runtime.JSX.Element;
3
35
  interface VersionBadgeProps {
4
36
  /**
5
37
  * Additional CSS classes to apply to the badge
6
38
  */
7
39
  className?: string;
40
+ /**
41
+ * Whether to show the package name
42
+ */
43
+ package?: boolean;
8
44
  /**
9
45
  * Whether to show just the version or include "v" prefix
10
46
  */
11
- showPrefix?: boolean;
47
+ prefix?: boolean;
12
48
  /**
13
- * Whether the badge should be clickable (links to npm)
49
+ * Whether the badge should be clickable (links to npm/github)
14
50
  */
15
51
  linkable?: boolean;
16
52
  /**
17
- * Override the version display (useful for testing)
53
+ * Whether to show the version
54
+ */
55
+ version?: boolean;
56
+ /**
57
+ * Whether to show the git hash
18
58
  */
19
- version?: string;
59
+ hash?: boolean;
20
60
  }
21
61
  /**
22
- * A badge component that displays the current package version and optionally links to npm
62
+ * High-level badge component that displays the current package version with boolean flags
63
+ * Format: [ vuer | v0.0.72 ] hash
23
64
  */
24
- declare function VersionBadge({ className, showPrefix, linkable, version: overrideVersion, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
65
+ declare function VersionBadge({ className, package: showPackage, prefix, linkable, version, hash, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
25
66
 
26
- export { VersionBadge };
67
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, type PackageBadgeProps, VersionBadge, type VersionBadgeProps };
@@ -1,5 +1,4 @@
1
- export { VersionBadge } from '../chunk-GOXZ3TTM.mjs';
2
- import '../chunk-Q27ILZE6.mjs';
1
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, VersionBadge } from '../chunk-54OVNRFB.mjs';
3
2
  import '../chunk-F7ZHPSLA.mjs';
4
3
  import '../chunk-3QT5VABC.mjs';
5
4
  import '../chunk-XHJDRQD7.mjs';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuer-ai/vuer-uikit",
3
3
  "author": "Ge Yang",
4
- "version": "0.0.70",
4
+ "version": "0.0.72",
5
5
  "files": [
6
6
  "/dist"
7
7
  ],
@@ -1,39 +0,0 @@
1
- import { Badge } from './chunk-Q27ILZE6.mjs';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- var PACKAGE_VERSION = "0.0.69" ;
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: "secondary",
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 };
@@ -1,41 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkUV3EORBI_cjs = require('./chunk-UV3EORBI.cjs');
4
- var jsxRuntime = require('react/jsx-runtime');
5
-
6
- var PACKAGE_VERSION = "0.0.69" ;
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
- chunkUV3EORBI_cjs.Badge,
19
- {
20
- variant: "secondary",
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;