@vuer-ai/vuer-uikit 0.0.71 → 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.
- package/dist/chunk-54OVNRFB.mjs +94 -0
- package/dist/chunk-MZVZSSOH.cjs +99 -0
- package/dist/index.cjs +14 -2
- package/dist/index.css +1 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/ui/index.cjs +14 -2
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.mjs +1 -1
- package/dist/ui/version-badge.cjs +14 -3
- package/dist/ui/version-badge.d.cts +48 -7
- package/dist/ui/version-badge.d.ts +48 -7
- package/dist/ui/version-badge.mjs +1 -2
- package/package.json +1 -1
- package/dist/chunk-3FQAKG2I.mjs +0 -39
- package/dist/chunk-L367BBLF.cjs +0 -41
|
@@ -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
|
@@ -27,7 +27,7 @@ var chunkA5S72EIK_cjs = require('./chunk-A5S72EIK.cjs');
|
|
|
27
27
|
var chunkA77GE42F_cjs = require('./chunk-A77GE42F.cjs');
|
|
28
28
|
var chunkMK6XW5PC_cjs = require('./chunk-MK6XW5PC.cjs');
|
|
29
29
|
var chunkQQH3TSI4_cjs = require('./chunk-QQH3TSI4.cjs');
|
|
30
|
-
var
|
|
30
|
+
var chunkMZVZSSOH_cjs = require('./chunk-MZVZSSOH.cjs');
|
|
31
31
|
require('./chunk-KQAZ6BRD.cjs');
|
|
32
32
|
var chunkZZDIW5JV_cjs = require('./chunk-ZZDIW5JV.cjs');
|
|
33
33
|
var chunkSBTB5YJV_cjs = require('./chunk-SBTB5YJV.cjs');
|
|
@@ -203,9 +203,21 @@ Object.defineProperty(exports, "TreeView", {
|
|
|
203
203
|
enumerable: true,
|
|
204
204
|
get: function () { return chunkQQH3TSI4_cjs.TreeView; }
|
|
205
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
|
+
});
|
|
206
218
|
Object.defineProperty(exports, "VersionBadge", {
|
|
207
219
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkMZVZSSOH_cjs.VersionBadge; }
|
|
209
221
|
});
|
|
210
222
|
Object.defineProperty(exports, "createSelectable", {
|
|
211
223
|
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));
|
|
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
|
@@ -25,7 +25,7 @@ export { KVectorInput } from './chunk-V25THXL6.mjs';
|
|
|
25
25
|
export { QuaternionInput } from './chunk-ZLQIYYLM.mjs';
|
|
26
26
|
export { VectorInput } from './chunk-SIU54HGH.mjs';
|
|
27
27
|
export { TreeView } from './chunk-54AT7VFI.mjs';
|
|
28
|
-
export { VersionBadge } from './chunk-
|
|
28
|
+
export { GIT_HASH, PACKAGE_VERSION, PackageBadge, VersionBadge } from './chunk-54OVNRFB.mjs';
|
|
29
29
|
import './chunk-KHROZRRE.mjs';
|
|
30
30
|
export { createSelectable } from './chunk-TVKPO5VK.mjs';
|
|
31
31
|
export { DragSelectProvider, useDragSelectContext } from './chunk-JBQP2CBI.mjs';
|
package/dist/ui/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var chunkA5S72EIK_cjs = require('../chunk-A5S72EIK.cjs');
|
|
|
27
27
|
var chunkA77GE42F_cjs = require('../chunk-A77GE42F.cjs');
|
|
28
28
|
var chunkMK6XW5PC_cjs = require('../chunk-MK6XW5PC.cjs');
|
|
29
29
|
var chunkQQH3TSI4_cjs = require('../chunk-QQH3TSI4.cjs');
|
|
30
|
-
var
|
|
30
|
+
var chunkMZVZSSOH_cjs = require('../chunk-MZVZSSOH.cjs');
|
|
31
31
|
require('../chunk-KQAZ6BRD.cjs');
|
|
32
32
|
var chunkZZDIW5JV_cjs = require('../chunk-ZZDIW5JV.cjs');
|
|
33
33
|
var chunkSBTB5YJV_cjs = require('../chunk-SBTB5YJV.cjs');
|
|
@@ -195,9 +195,21 @@ Object.defineProperty(exports, "TreeView", {
|
|
|
195
195
|
enumerable: true,
|
|
196
196
|
get: function () { return chunkQQH3TSI4_cjs.TreeView; }
|
|
197
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
|
+
});
|
|
198
210
|
Object.defineProperty(exports, "VersionBadge", {
|
|
199
211
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkMZVZSSOH_cjs.VersionBadge; }
|
|
201
213
|
});
|
|
202
214
|
Object.defineProperty(exports, "createSelectable", {
|
|
203
215
|
enumerable: true,
|
package/dist/ui/index.d.cts
CHANGED
|
@@ -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';
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -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
|
@@ -25,7 +25,7 @@ export { KVectorInput } from '../chunk-V25THXL6.mjs';
|
|
|
25
25
|
export { QuaternionInput } from '../chunk-ZLQIYYLM.mjs';
|
|
26
26
|
export { VectorInput } from '../chunk-SIU54HGH.mjs';
|
|
27
27
|
export { TreeView } from '../chunk-54AT7VFI.mjs';
|
|
28
|
-
export { VersionBadge } from '../chunk-
|
|
28
|
+
export { GIT_HASH, PACKAGE_VERSION, PackageBadge, VersionBadge } from '../chunk-54OVNRFB.mjs';
|
|
29
29
|
import '../chunk-KHROZRRE.mjs';
|
|
30
30
|
export { createSelectable } from '../chunk-TVKPO5VK.mjs';
|
|
31
31
|
export { DragSelectProvider, useDragSelectContext } from '../chunk-JBQP2CBI.mjs';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
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
|
-
|
|
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
|
-
*
|
|
53
|
+
* Whether to show the version
|
|
54
|
+
*/
|
|
55
|
+
version?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to show the git hash
|
|
18
58
|
*/
|
|
19
|
-
|
|
59
|
+
hash?: boolean;
|
|
20
60
|
}
|
|
21
61
|
/**
|
|
22
|
-
*
|
|
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,
|
|
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
|
-
|
|
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
|
-
*
|
|
53
|
+
* Whether to show the version
|
|
54
|
+
*/
|
|
55
|
+
version?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to show the git hash
|
|
18
58
|
*/
|
|
19
|
-
|
|
59
|
+
hash?: boolean;
|
|
20
60
|
}
|
|
21
61
|
/**
|
|
22
|
-
*
|
|
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,
|
|
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-
|
|
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
package/dist/chunk-3FQAKG2I.mjs
DELETED
|
@@ -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.71" ;
|
|
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 };
|
package/dist/chunk-L367BBLF.cjs
DELETED
|
@@ -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.71" ;
|
|
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;
|