@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.
- package/cli/dial-cli.js +1 -1
- package/dist/SyncScroll/SyncScroll.cjs +4 -4
- package/dist/SyncScroll/SyncScroll.mjs +4 -4
- package/dist/SyncScroll/index.cjs +4 -4
- package/dist/SyncScroll/index.mjs +4 -4
- package/dist/{chunk-NHO4NDWG.mjs → chunk-4AOAH77D.mjs} +2 -2
- package/dist/{chunk-XAY3KYPJ.mjs → chunk-BFQ2WL5U.mjs} +2 -2
- package/dist/{chunk-WLIMI4FZ.cjs → chunk-CCMKL2OA.cjs} +2 -2
- package/dist/{chunk-GYVE3VPU.mjs → chunk-K4VD5PPY.mjs} +2 -2
- package/dist/{chunk-LZLRDLDB.cjs → chunk-RKJR6RZU.cjs} +7 -7
- package/dist/{chunk-IK6OBAX4.cjs → chunk-VE3XLQLO.cjs} +3 -3
- package/dist/dial/DialPanel.cjs +16 -16
- package/dist/dial/DialPanel.d.cts +1 -6
- package/dist/dial/DialPanel.d.ts +1 -6
- package/dist/dial/DialPanel.mjs +16 -16
- package/dist/dial/DialProvider.d.cts +20 -10
- package/dist/dial/DialProvider.d.ts +20 -10
- package/dist/dial/index.cjs +16 -16
- package/dist/dial/index.d.cts +1 -1
- package/dist/dial/index.d.ts +1 -1
- package/dist/dial/index.mjs +16 -16
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +16 -16
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +16 -16
- package/dist/dial/wrapped-inputs/DialInputs.cjs +16 -16
- package/dist/dial/wrapped-inputs/DialInputs.mjs +16 -16
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +16 -16
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +16 -16
- package/dist/dial/wrapped-inputs/index.cjs +16 -16
- package/dist/dial/wrapped-inputs/index.mjs +16 -16
- package/dist/highlight-cursor/enhanced-components.cjs +13 -13
- package/dist/highlight-cursor/enhanced-components.mjs +8 -8
- package/dist/highlight-cursor/index.cjs +17 -17
- package/dist/highlight-cursor/index.mjs +8 -8
- package/dist/hooks/index.cjs +28 -28
- package/dist/hooks/index.mjs +4 -4
- package/dist/index.cjs +122 -122
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +16 -16
- package/dist/ui/UIKitBadge.cjs +9 -9
- package/dist/ui/UIKitBadge.mjs +5 -5
- package/dist/ui/avatar.cjs +15 -15
- package/dist/ui/avatar.mjs +5 -5
- package/dist/ui/badge.cjs +4 -4
- package/dist/ui/badge.mjs +4 -4
- package/dist/ui/button.cjs +4 -4
- package/dist/ui/button.mjs +4 -4
- package/dist/ui/card.cjs +4 -4
- package/dist/ui/card.mjs +4 -4
- package/dist/ui/checkbox.cjs +4 -4
- package/dist/ui/checkbox.mjs +4 -4
- package/dist/ui/collapsible.cjs +4 -4
- package/dist/ui/collapsible.mjs +4 -4
- package/dist/ui/drawer.cjs +4 -4
- package/dist/ui/drawer.mjs +4 -4
- package/dist/ui/dropdown.cjs +20 -20
- package/dist/ui/dropdown.mjs +5 -5
- package/dist/ui/index.cjs +86 -86
- package/dist/ui/index.mjs +13 -13
- package/dist/ui/inputs/color-input.cjs +4 -4
- package/dist/ui/inputs/color-input.mjs +4 -4
- package/dist/ui/inputs/index.cjs +4 -4
- package/dist/ui/inputs/index.mjs +4 -4
- package/dist/ui/inputs/input-numbers.cjs +4 -4
- package/dist/ui/inputs/input-numbers.mjs +4 -4
- package/dist/ui/inputs/input.cjs +4 -4
- package/dist/ui/inputs/input.mjs +4 -4
- package/dist/ui/inputs/number-inputs/CmInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/CmInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/DegInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/DegInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerDegInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerDegInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerRadInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/EulerRadInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/InchInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/InchInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/IntInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/IntInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/KVectorInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/KVectorInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/QuaternionInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/QuaternionInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/RadInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/RadInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/TimeInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/TimeInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/Vec3Input.cjs +4 -4
- package/dist/ui/inputs/number-inputs/Vec3Input.mjs +4 -4
- package/dist/ui/inputs/number-inputs/VectorInput.cjs +4 -4
- package/dist/ui/inputs/number-inputs/VectorInput.mjs +4 -4
- package/dist/ui/inputs/number-inputs/index.cjs +4 -4
- package/dist/ui/inputs/number-inputs/index.mjs +4 -4
- package/dist/ui/inputs/presets-input.cjs +4 -4
- package/dist/ui/inputs/presets-input.mjs +4 -4
- package/dist/ui/label.cjs +4 -4
- package/dist/ui/label.mjs +4 -4
- package/dist/ui/layout.cjs +4 -4
- package/dist/ui/layout.mjs +4 -4
- package/dist/ui/layouts/dock-layout/DockLayoutView.cjs +4 -4
- package/dist/ui/layouts/dock-layout/DockLayoutView.mjs +4 -4
- package/dist/ui/layouts/dock-layout/LayoutSlots.cjs +4 -4
- package/dist/ui/layouts/dock-layout/LayoutSlots.mjs +4 -4
- package/dist/ui/layouts/dock-layout/index.cjs +4 -4
- package/dist/ui/layouts/dock-layout/index.mjs +4 -4
- package/dist/ui/layouts/index.cjs +4 -4
- package/dist/ui/layouts/index.mjs +4 -4
- package/dist/ui/layouts/liquid-layout/LayoutSlots.cjs +4 -4
- package/dist/ui/layouts/liquid-layout/LayoutSlots.mjs +4 -4
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.cjs +4 -4
- package/dist/ui/layouts/liquid-layout/LiquidLayoutView.mjs +4 -4
- package/dist/ui/layouts/liquid-layout/index.cjs +4 -4
- package/dist/ui/layouts/liquid-layout/index.mjs +4 -4
- package/dist/ui/modal.cjs +4 -4
- package/dist/ui/modal.mjs +4 -4
- package/dist/ui/navigation.cjs +4 -4
- package/dist/ui/navigation.mjs +4 -4
- package/dist/ui/pagination.cjs +4 -4
- package/dist/ui/pagination.mjs +4 -4
- package/dist/ui/panel.cjs +4 -4
- package/dist/ui/panel.mjs +4 -4
- package/dist/ui/popover.cjs +9 -9
- package/dist/ui/popover.mjs +5 -5
- package/dist/ui/radio-group.cjs +4 -4
- package/dist/ui/radio-group.mjs +4 -4
- package/dist/ui/resizable.cjs +4 -4
- package/dist/ui/resizable.mjs +4 -4
- package/dist/ui/select.cjs +4 -4
- package/dist/ui/select.mjs +4 -4
- package/dist/ui/separator.cjs +4 -4
- package/dist/ui/separator.mjs +4 -4
- package/dist/ui/sheet.cjs +13 -13
- package/dist/ui/sheet.mjs +5 -5
- package/dist/ui/sidebar.cjs +30 -30
- package/dist/ui/sidebar.mjs +6 -6
- package/dist/ui/simple-tree-view.cjs +6 -6
- package/dist/ui/simple-tree-view.mjs +5 -5
- package/dist/ui/skeleton.cjs +4 -4
- package/dist/ui/skeleton.mjs +4 -4
- package/dist/ui/slider.cjs +4 -4
- package/dist/ui/slider.mjs +4 -4
- package/dist/ui/switch.cjs +4 -4
- package/dist/ui/switch.mjs +4 -4
- package/dist/ui/table.cjs +4 -4
- package/dist/ui/table.mjs +4 -4
- package/dist/ui/tabs.cjs +9 -9
- package/dist/ui/tabs.mjs +5 -5
- package/dist/ui/textarea.cjs +4 -4
- package/dist/ui/textarea.mjs +4 -4
- package/dist/ui/theme/ThemeToggles.cjs +4 -4
- package/dist/ui/theme/ThemeToggles.mjs +4 -4
- package/dist/ui/theme/index.cjs +4 -4
- package/dist/ui/theme/index.mjs +4 -4
- package/dist/ui/toggle-buttons.cjs +4 -4
- package/dist/ui/toggle-buttons.mjs +4 -4
- package/dist/ui/toggle-group.cjs +8 -8
- package/dist/ui/toggle-group.mjs +5 -5
- package/dist/ui/toggle.cjs +4 -4
- package/dist/ui/toggle.mjs +4 -4
- package/dist/ui/toolbar.cjs +4 -4
- package/dist/ui/toolbar.mjs +4 -4
- package/dist/ui/tooltip.cjs +4 -4
- package/dist/ui/tooltip.mjs +4 -4
- package/dist/ui/tree-view/TreeSearchBar.cjs +4 -4
- package/dist/ui/tree-view/TreeSearchBar.mjs +4 -4
- package/dist/ui/tree-view/TreeView.cjs +4 -4
- package/dist/ui/tree-view/TreeView.mjs +4 -4
- package/dist/ui/tree-view/index.cjs +4 -4
- package/dist/ui/tree-view/index.mjs +4 -4
- package/dist/ui/tree-view-legacy.cjs +4 -4
- package/dist/ui/tree-view-legacy.mjs +4 -4
- package/dist/ui/waterfall/CursorOverlay.cjs +4 -4
- package/dist/ui/waterfall/CursorOverlay.mjs +4 -4
- package/dist/ui/waterfall/TimelineEvent.cjs +4 -4
- package/dist/ui/waterfall/TimelineEvent.mjs +4 -4
- package/dist/ui/waterfall/TimelineProcessBar.cjs +4 -4
- package/dist/ui/waterfall/TimelineProcessBar.mjs +4 -4
- package/dist/ui/waterfall/Wedges.cjs +4 -4
- package/dist/ui/waterfall/Wedges.mjs +4 -4
- package/dist/ui/waterfall/index.cjs +4 -4
- package/dist/ui/waterfall/index.mjs +4 -4
- package/package.json +1 -1
- package/dist/chunk-A2LWPEGE.cjs +0 -42
- package/dist/chunk-D2DMH5WY.mjs +0 -39
- package/dist/chunk-ORCJ4XB7.cjs +0 -99
- package/dist/chunk-RVBZZHB5.mjs +0 -94
- package/dist/{chunk-OVCAIYZW.mjs → chunk-2SWBXWLK.mjs} +1 -1
- package/dist/{chunk-ODSMM2NH.cjs → chunk-3TZL7ET3.cjs} +1 -1
- package/dist/{chunk-IRY4OFGL.mjs → chunk-ABLQ4QRY.mjs} +1 -1
- package/dist/{chunk-KQR5LDK6.mjs → chunk-B53A4WNW.mjs} +1 -1
- package/dist/{chunk-SOIV2KU7.cjs → chunk-GWIACOMY.cjs} +1 -1
- package/dist/{chunk-FN4CCPWB.mjs → chunk-H4IDSUG5.mjs} +1 -1
- package/dist/{chunk-M6HGPIIM.cjs → chunk-L6LCOLOV.cjs} +1 -1
- package/dist/{chunk-DECNOLYH.mjs → chunk-NO35POZW.mjs} +1 -1
- package/dist/{chunk-MKBQYX6O.cjs → chunk-OMZHB2FB.cjs} +1 -1
- package/dist/{chunk-PPXVKQM6.mjs → chunk-PO2LYHDO.mjs} +1 -1
- package/dist/{chunk-HSXCMJ4S.cjs → chunk-TZC4ST5T.cjs} +1 -1
- package/dist/{chunk-EQ3WJSAR.mjs → chunk-W3RJNSWQ.mjs} +1 -1
- package/dist/{chunk-TDIDUH6T.cjs → chunk-X2A7TKER.cjs} +1 -1
- package/dist/{chunk-MTSM6Q6D.cjs → chunk-XGGAJUY3.cjs} +1 -1
package/dist/chunk-A2LWPEGE.cjs
DELETED
|
@@ -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;
|
package/dist/chunk-D2DMH5WY.mjs
DELETED
|
@@ -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 };
|
package/dist/chunk-ORCJ4XB7.cjs
DELETED
|
@@ -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;
|
package/dist/chunk-RVBZZHB5.mjs
DELETED
|
@@ -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');
|