@vuer-ai/vuer-uikit 0.0.49 → 0.0.51
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-GFPXAGJY.js → chunk-2GFFK54M.js} +10 -2
- package/dist/chunk-2QG7LH4Z.js +11 -0
- package/dist/{chunk-TBFX36YV.mjs → chunk-2XYF6PKB.mjs} +2 -9
- package/dist/chunk-36Q5EL3V.mjs +9 -0
- package/dist/{chunk-KEVAPLWO.js → chunk-37WZTN4K.js} +16 -4
- package/dist/{chunk-A77ETENM.js → chunk-3EC5RXZ4.js} +2 -9
- package/dist/chunk-4GZZAQRD.js +20 -0
- package/dist/chunk-6TMEH2MB.js +14 -0
- package/dist/{chunk-GCIH5IMQ.mjs → chunk-6TXFW7SC.mjs} +2 -6
- package/dist/chunk-6UBBRJGO.mjs +93 -0
- package/dist/chunk-73RTYZNL.mjs +9 -0
- package/dist/chunk-7E25WN6I.js +22 -0
- package/dist/chunk-7GCEJU5S.mjs +20 -0
- package/dist/chunk-CV4KQETB.mjs +11 -0
- package/dist/{chunk-3QG5RA46.mjs → chunk-DCSGUVTI.mjs} +6 -4
- package/dist/{chunk-AJKD26TR.mjs → chunk-F43NGNKR.mjs} +1 -1
- package/dist/chunk-FJ6UQH5F.mjs +9 -0
- package/dist/{chunk-ZBG3KB7B.mjs → chunk-GL6WU4QP.mjs} +10 -2
- package/dist/{chunk-PZ3FWTMB.mjs → chunk-GY65PGYR.mjs} +9 -4
- package/dist/{chunk-VAEPAW5L.js → chunk-HGT65KY2.js} +3 -7
- package/dist/chunk-HIY4N3LF.js +13 -0
- package/dist/{chunk-2FCKLHWA.js → chunk-HS3WEBRT.js} +1 -1
- package/dist/chunk-JENUY5GL.js +11 -0
- package/dist/chunk-JOWWKLBU.js +11 -0
- package/dist/{chunk-5CWWM4L7.mjs → chunk-JXDPS6DY.mjs} +1 -4
- package/dist/{chunk-ADOYBPJS.mjs → chunk-KBG56PQD.mjs} +2 -9
- package/dist/{chunk-JIRSHP3D.js → chunk-L3BY6UPD.js} +1 -4
- package/dist/{chunk-QJPJVF7K.js → chunk-LF2XWR4S.js} +10 -2
- package/dist/{chunk-Q7JNDXDJ.mjs → chunk-MDYTJECN.mjs} +5 -1
- package/dist/chunk-MK2FKGWF.mjs +9 -0
- package/dist/chunk-MZPSV4QX.js +11 -0
- package/dist/{chunk-XBKQWS7J.js → chunk-N5V4HWT4.js} +2 -2
- package/dist/chunk-QD6L25T6.mjs +12 -0
- package/dist/chunk-QL3COLR6.js +20 -0
- package/dist/{chunk-PF36CKO7.mjs → chunk-SG2PPP7N.mjs} +3 -3
- package/dist/chunk-SOYKPBRO.mjs +9 -0
- package/dist/chunk-SWG7LAW5.mjs +9 -0
- package/dist/chunk-TF7YO6KP.mjs +9 -0
- package/dist/chunk-TOWQT55R.js +11 -0
- package/dist/{chunk-YOKGP5F7.js → chunk-UGCFQYE2.js} +9 -9
- package/dist/chunk-UY5QRJIG.mjs +18 -0
- package/dist/{chunk-TC4RAHDO.js → chunk-VI2VLWC6.js} +5 -1
- package/dist/{chunk-VSFCQCKQ.mjs → chunk-VYYH27HC.mjs} +1 -1
- package/dist/chunk-WWJYQ2DN.js +96 -0
- package/dist/chunk-X4ATCXSD.js +11 -0
- package/dist/{chunk-DWK23X7J.js → chunk-X6APNY5D.js} +9 -4
- package/dist/{chunk-NBG65POR.js → chunk-YKL2SFIC.js} +2 -9
- package/dist/{chunk-KAUA4ODT.mjs → chunk-ZKWN7MB4.mjs} +10 -2
- package/dist/chunk-ZLYXB2BN.js +11 -0
- package/dist/chunk-ZRS4RQCJ.mjs +18 -0
- package/dist/highlight-cursor/enhanced-components.d.mts +1 -1
- package/dist/highlight-cursor/enhanced-components.d.ts +1 -1
- package/dist/highlight-cursor/enhanced-components.js +8 -8
- package/dist/highlight-cursor/enhanced-components.mjs +3 -3
- package/dist/highlight-cursor/index.js +8 -8
- package/dist/highlight-cursor/index.mjs +3 -3
- package/dist/hooks/clientOnly.d.mts +1 -1
- package/dist/hooks/clientOnly.d.ts +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/useDragSelect.d.mts +1 -1
- package/dist/hooks/useDragSelect.d.ts +1 -1
- package/dist/hooks/useDragSelect.js +2 -2
- package/dist/hooks/useDragSelect.mjs +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +114 -105
- package/dist/index.mjs +27 -26
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.js +1 -1
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/button.d.mts +3 -1
- package/dist/ui/button.d.ts +3 -1
- package/dist/ui/button.js +4 -4
- package/dist/ui/button.mjs +2 -2
- package/dist/ui/card.js +1 -1
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.d.mts +3 -1
- package/dist/ui/collapsible.d.ts +3 -1
- package/dist/ui/collapsible.js +1 -1
- package/dist/ui/collapsible.mjs +1 -1
- package/dist/ui/drawer.js +1 -1
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/dropdown.d.mts +12 -4
- package/dist/ui/dropdown.d.ts +12 -4
- package/dist/ui/dropdown.js +1 -1
- package/dist/ui/dropdown.mjs +1 -1
- package/dist/ui/form/CmInput.js +4 -4
- package/dist/ui/form/CmInput.mjs +3 -3
- package/dist/ui/form/DegInput.js +4 -4
- package/dist/ui/form/DegInput.mjs +3 -3
- package/dist/ui/form/EulerDegInput.js +5 -5
- package/dist/ui/form/EulerDegInput.mjs +4 -4
- package/dist/ui/form/EulerInput.js +4 -4
- package/dist/ui/form/EulerInput.mjs +3 -3
- package/dist/ui/form/EulerRadInput.js +5 -5
- package/dist/ui/form/EulerRadInput.mjs +4 -4
- package/dist/ui/form/InchInput.js +4 -4
- package/dist/ui/form/InchInput.mjs +3 -3
- package/dist/ui/form/IntInput.js +4 -4
- package/dist/ui/form/IntInput.mjs +3 -3
- package/dist/ui/form/KVectorInput.js +4 -4
- package/dist/ui/form/KVectorInput.mjs +3 -3
- package/dist/ui/form/NumberInput.js +3 -3
- package/dist/ui/form/NumberInput.mjs +2 -2
- package/dist/ui/form/QuaternionInput.js +4 -4
- package/dist/ui/form/QuaternionInput.mjs +3 -3
- package/dist/ui/form/RadInput.js +4 -4
- package/dist/ui/form/RadInput.mjs +3 -3
- package/dist/ui/form/TimeInput.js +4 -4
- package/dist/ui/form/TimeInput.mjs +3 -3
- package/dist/ui/form/Vec3Input.js +4 -4
- package/dist/ui/form/Vec3Input.mjs +3 -3
- package/dist/ui/form/VectorInput.js +3 -3
- package/dist/ui/form/VectorInput.mjs +2 -2
- package/dist/ui/form/index.js +29 -29
- package/dist/ui/form/index.mjs +15 -15
- package/dist/ui/index.d.mts +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +107 -98
- package/dist/ui/index.mjs +26 -25
- package/dist/ui/input-numbers.js +1 -1
- package/dist/ui/input-numbers.mjs +1 -1
- package/dist/ui/input.js +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/layout.js +1 -1
- package/dist/ui/layout.mjs +1 -1
- package/dist/ui/modal.d.mts +7 -3
- package/dist/ui/modal.d.ts +7 -3
- package/dist/ui/modal.js +12 -12
- package/dist/ui/modal.mjs +2 -2
- package/dist/ui/pagination.js +10 -10
- package/dist/ui/pagination.mjs +3 -3
- package/dist/ui/popover.d.mts +3 -1
- package/dist/ui/popover.d.ts +3 -1
- package/dist/ui/popover.js +6 -6
- package/dist/ui/popover.mjs +2 -2
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.js +1 -1
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/select.d.mts +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/select.js +1 -1
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.js +1 -1
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.d.mts +6 -2
- package/dist/ui/sheet.d.ts +6 -2
- package/dist/ui/sheet.js +10 -10
- package/dist/ui/sheet.mjs +2 -2
- package/dist/ui/sidebar.js +28 -28
- package/dist/ui/sidebar.mjs +4 -4
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.d.mts +1 -1
- package/dist/ui/slider.d.ts +1 -1
- package/dist/ui/slider.js +1 -1
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/switch.js +1 -1
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/tabs.d.mts +4 -4
- package/dist/ui/tabs.d.ts +4 -4
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/theme/ThemeProvider.d.mts +16 -1
- package/dist/ui/theme/ThemeProvider.d.ts +16 -1
- package/dist/ui/theme/ThemeProvider.js +44 -4
- package/dist/ui/theme/ThemeProvider.mjs +2 -2
- package/dist/ui/theme/ThemeToggles.d.mts +11 -0
- package/dist/ui/theme/ThemeToggles.d.ts +11 -0
- package/dist/ui/theme/ThemeToggles.js +25 -0
- package/dist/ui/theme/ThemeToggles.mjs +12 -0
- package/dist/ui/theme/index.d.mts +4 -0
- package/dist/ui/theme/index.d.ts +4 -0
- package/dist/ui/theme/index.js +24 -6
- package/dist/ui/theme/index.mjs +13 -3
- package/dist/ui/theme/themeScript.js +2 -2
- package/dist/ui/theme/themeScript.mjs +1 -1
- package/dist/ui/theme/types.d.mts +2 -0
- package/dist/ui/theme/types.d.ts +2 -0
- package/dist/ui/timeline.js +1 -1
- package/dist/ui/timeline.mjs +1 -1
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle-group.mjs +1 -1
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/toggle.mjs +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/ui/tooltip.mjs +1 -1
- package/dist/ui/tree-view-v2.js +1 -1
- package/dist/ui/tree-view-v2.mjs +1 -1
- package/dist/ui/tree-view.js +1 -1
- package/dist/ui/tree-view.mjs +1 -1
- package/dist/ui/version-badge.js +3 -3
- package/dist/ui/version-badge.mjs +2 -2
- package/package.json +1 -1
- package/src/hooks/clientOnly.tsx +4 -4
- package/src/hooks/useDragSelect.ts +15 -18
- package/src/ui/avatar.tsx +8 -8
- package/src/ui/button.tsx +9 -3
- package/src/ui/drag-selectable/createSelectable.tsx +1 -0
- package/src/ui/dropdown.tsx +4 -4
- package/src/ui/form/CmInput.tsx +5 -12
- package/src/ui/form/DegInput.tsx +5 -12
- package/src/ui/form/EulerDegInput.tsx +4 -9
- package/src/ui/form/EulerInput.tsx +19 -17
- package/src/ui/form/EulerRadInput.tsx +4 -9
- package/src/ui/form/InchInput.tsx +5 -12
- package/src/ui/form/IntInput.tsx +5 -12
- package/src/ui/form/KVectorInput.tsx +11 -16
- package/src/ui/form/NumberInput.tsx +13 -15
- package/src/ui/form/QuaternionInput.tsx +18 -15
- package/src/ui/form/RadInput.tsx +5 -12
- package/src/ui/form/TimeInput.tsx +5 -12
- package/src/ui/form/Vec3Input.tsx +16 -14
- package/src/ui/form/VectorInput.tsx +8 -12
- package/src/ui/form/index.ts +1 -1
- package/src/ui/modal.tsx +10 -2
- package/src/ui/pagination.tsx +1 -5
- package/src/ui/popover.tsx +5 -1
- package/src/ui/sheet.tsx +10 -2
- package/src/ui/sidebar.tsx +1 -1
- package/src/ui/theme/ThemeProvider.tsx +14 -15
- package/src/ui/theme/ThemeToggles.tsx +116 -0
- package/src/ui/theme/index.ts +1 -0
- package/src/ui/theme/themeScript.tsx +4 -3
- package/src/ui/theme/types.ts +2 -0
- package/dist/chunk-2QBMOSVM.js +0 -22
- package/dist/chunk-3LJI6I2O.mjs +0 -20
- package/dist/chunk-43FK6CBY.mjs +0 -18
- package/dist/chunk-4PWIOKV6.mjs +0 -18
- package/dist/chunk-4UGXCXXM.mjs +0 -18
- package/dist/chunk-5UHOCEWC.mjs +0 -18
- package/dist/chunk-6AWSAY7A.js +0 -24
- package/dist/chunk-6N2Q4EQ2.js +0 -20
- package/dist/chunk-6N3UJ4AX.mjs +0 -20
- package/dist/chunk-7KVGTDDO.js +0 -20
- package/dist/chunk-AB4GGLJ5.mjs +0 -18
- package/dist/chunk-CPZIDU2J.js +0 -20
- package/dist/chunk-E2UGNYWU.js +0 -22
- package/dist/chunk-EGYK5FED.mjs +0 -18
- package/dist/chunk-EJ7D53ZF.js +0 -20
- package/dist/chunk-ICRVQLUS.mjs +0 -22
- package/dist/chunk-IOVNKUJ6.js +0 -16
- package/dist/chunk-JHHA2CGJ.mjs +0 -14
- package/dist/chunk-LCS67P4A.mjs +0 -18
- package/dist/chunk-LD32BCCX.js +0 -20
- package/dist/chunk-MYRZ2ZV5.mjs +0 -21
- package/dist/chunk-TPX5AJ7Z.js +0 -23
- package/dist/chunk-TWQSUO5Q.js +0 -20
- package/dist/chunk-UQQPHWTA.js +0 -20
- /package/dist/{chunk-AMB2H6WS.mjs → chunk-6NK7UMFP.mjs} +0 -0
- /package/dist/{chunk-Y2QBWXB4.js → chunk-EDJTVLBN.js} +0 -0
- /package/dist/{chunk-72PCXNEI.js → chunk-FRMG67QP.js} +0 -0
- /package/dist/{chunk-MS5G6UZ4.mjs → chunk-NSI47INE.mjs} +0 -0
|
@@ -4,11 +4,11 @@ var chunkW3AIC7FW_js = require('./chunk-W3AIC7FW.js');
|
|
|
4
4
|
var chunkKCA5PXNO_js = require('./chunk-KCA5PXNO.js');
|
|
5
5
|
var chunkCZBGKVGH_js = require('./chunk-CZBGKVGH.js');
|
|
6
6
|
var chunk3YODEBOY_js = require('./chunk-3YODEBOY.js');
|
|
7
|
-
var
|
|
7
|
+
var chunkX6APNY5D_js = require('./chunk-X6APNY5D.js');
|
|
8
8
|
var chunkUFHMEEGL_js = require('./chunk-UFHMEEGL.js');
|
|
9
9
|
|
|
10
10
|
// src/highlight-cursor/enhanced-components.tsx
|
|
11
|
-
var CursorButton = chunkUFHMEEGL_js.withCursor(
|
|
11
|
+
var CursorButton = chunkUFHMEEGL_js.withCursor(chunkX6APNY5D_js.Button);
|
|
12
12
|
var CursorTabs = chunkUFHMEEGL_js.withCursor(chunkW3AIC7FW_js.Tabs);
|
|
13
13
|
var CursorInputRoot = chunkUFHMEEGL_js.withCursor(chunk3YODEBOY_js.InputRoot);
|
|
14
14
|
var CursorSelectTrigger = chunkUFHMEEGL_js.withCursor(chunkCZBGKVGH_js.SelectTrigger);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputRoot, InputSlot } from './chunk-INX2EB5H.mjs';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var NumberInput = forwardRef(function NumberInput2({ unit, children, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(InputRoot, { ref, type: "number", ...props, children: [
|
|
7
|
+
children,
|
|
8
|
+
unit && /* @__PURE__ */ jsx(InputSlot, { side: "right", children: unit })
|
|
9
|
+
] });
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export { NumberInput };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJENUY5GL_js = require('./chunk-JENUY5GL.js');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var Vec3Input = react.forwardRef(function Vec3Input2({ value, onValuesChange, ...props }, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
|
+
chunkJENUY5GL_js.VectorInput,
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
value,
|
|
13
|
+
onValuesChange,
|
|
14
|
+
labels: ["x", "y", "z"],
|
|
15
|
+
...props
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
exports.Vec3Input = Vec3Input;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Skeleton } from './chunk-N6DZ364I.mjs';
|
|
2
2
|
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-TCN3UDQE.mjs';
|
|
3
3
|
import { Separator } from './chunk-7NHWT7CO.mjs';
|
|
4
|
-
import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-
|
|
4
|
+
import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-ZKWN7MB4.mjs';
|
|
5
5
|
import { useIsMobile } from './chunk-NXTGTCPA.mjs';
|
|
6
6
|
import { InputRoot } from './chunk-INX2EB5H.mjs';
|
|
7
|
-
import { Button } from './chunk-
|
|
7
|
+
import { Button } from './chunk-GY65PGYR.mjs';
|
|
8
8
|
import { cn } from './chunk-WM2VP7MI.mjs';
|
|
9
9
|
import { Slot } from '@radix-ui/react-slot';
|
|
10
10
|
import { cva } from 'class-variance-authority';
|
|
@@ -172,7 +172,7 @@ function Sidebar({
|
|
|
172
172
|
{
|
|
173
173
|
"data-sidebar": "sidebar",
|
|
174
174
|
"data-slot": "sidebar-inner",
|
|
175
|
-
className: "
|
|
175
|
+
className: "bg-bg-primary liquid:liquid-bg group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:rounded-uk-lg flex h-full w-full flex-col font-normal group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
176
176
|
children
|
|
177
177
|
}
|
|
178
178
|
)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NumberInput } from './chunk-QD6L25T6.mjs';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var IntInput = forwardRef(function IntInput2(props, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsx(NumberInput, { ref, step: 1, ...props });
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export { IntInput };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NumberInput } from './chunk-QD6L25T6.mjs';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var DegInput = forwardRef(function DegInput2(props, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsx(NumberInput, { ref, unit: "\xB0", ...props });
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export { DegInput };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NumberInput } from './chunk-QD6L25T6.mjs';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var CmInput = forwardRef(function CmInput2(props, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsx(NumberInput, { ref, unit: "cm", ...props });
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export { CmInput };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6TMEH2MB_js = require('./chunk-6TMEH2MB.js');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var IntInput = react.forwardRef(function IntInput2(props, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6TMEH2MB_js.NumberInput, { ref, step: 1, ...props });
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
exports.IntInput = IntInput;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var chunkQPQSH53G_js = require('./chunk-QPQSH53G.js');
|
|
4
4
|
var chunkER6XHUS7_js = require('./chunk-ER6XHUS7.js');
|
|
5
5
|
var chunkKYWKRMXK_js = require('./chunk-KYWKRMXK.js');
|
|
6
|
-
var
|
|
6
|
+
var chunk2GFFK54M_js = require('./chunk-2GFFK54M.js');
|
|
7
7
|
var chunkYFPY5SLS_js = require('./chunk-YFPY5SLS.js');
|
|
8
8
|
var chunk3YODEBOY_js = require('./chunk-3YODEBOY.js');
|
|
9
|
-
var
|
|
9
|
+
var chunkX6APNY5D_js = require('./chunk-X6APNY5D.js');
|
|
10
10
|
var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
|
|
11
11
|
var reactSlot = require('@radix-ui/react-slot');
|
|
12
12
|
var classVarianceAuthority = require('class-variance-authority');
|
|
@@ -115,8 +115,8 @@ function Sidebar({
|
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
if (isMobile) {
|
|
118
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
119
|
-
|
|
118
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFFK54M_js.Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
119
|
+
chunk2GFFK54M_js.SheetContent,
|
|
120
120
|
{
|
|
121
121
|
"data-sidebar": "sidebar",
|
|
122
122
|
"data-slot": "sidebar",
|
|
@@ -127,9 +127,9 @@ function Sidebar({
|
|
|
127
127
|
},
|
|
128
128
|
side,
|
|
129
129
|
children: [
|
|
130
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
131
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
132
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
130
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk2GFFK54M_js.SheetHeader, { className: "sr-only", children: [
|
|
131
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2GFFK54M_js.SheetTitle, { children: "Sidebar" }),
|
|
132
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2GFFK54M_js.SheetDescription, { children: "Displays the mobile sidebar." })
|
|
133
133
|
] }),
|
|
134
134
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full w-full flex-col", children })
|
|
135
135
|
]
|
|
@@ -174,7 +174,7 @@ function Sidebar({
|
|
|
174
174
|
{
|
|
175
175
|
"data-sidebar": "sidebar",
|
|
176
176
|
"data-slot": "sidebar-inner",
|
|
177
|
-
className: "
|
|
177
|
+
className: "bg-bg-primary liquid:liquid-bg group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:rounded-uk-lg flex h-full w-full flex-col font-normal group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
178
178
|
children
|
|
179
179
|
}
|
|
180
180
|
)
|
|
@@ -187,7 +187,7 @@ function Sidebar({
|
|
|
187
187
|
function SidebarTrigger({ className, onClick, ...props }) {
|
|
188
188
|
const { toggleSidebar, state } = useSidebar();
|
|
189
189
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
190
|
-
|
|
190
|
+
chunkX6APNY5D_js.Button,
|
|
191
191
|
{
|
|
192
192
|
"data-sidebar": "trigger",
|
|
193
193
|
"data-slot": "sidebar-trigger",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VectorInput } from './chunk-36Q5EL3V.mjs';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var Vec3Input = forwardRef(function Vec3Input2({ value, onValuesChange, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
VectorInput,
|
|
8
|
+
{
|
|
9
|
+
ref,
|
|
10
|
+
value,
|
|
11
|
+
onValuesChange,
|
|
12
|
+
labels: ["x", "y", "z"],
|
|
13
|
+
...props
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { Vec3Input };
|
|
@@ -35,7 +35,11 @@ var Popover = chunkQG7ZF6TO_js.createClientOnlyComponent(PopoverRoot, PopoverFal
|
|
|
35
35
|
function PopoverTriggerRoot({ ...props }) {
|
|
36
36
|
return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
37
37
|
}
|
|
38
|
-
function PopoverTriggerFallback({
|
|
38
|
+
function PopoverTriggerFallback({
|
|
39
|
+
asChild,
|
|
40
|
+
children,
|
|
41
|
+
...props
|
|
42
|
+
}) {
|
|
39
43
|
if (asChild) {
|
|
40
44
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
41
45
|
}
|
|
@@ -2,7 +2,7 @@ import { Tabs } from './chunk-EXM36UYZ.mjs';
|
|
|
2
2
|
import { Textarea } from './chunk-MWJQTO2F.mjs';
|
|
3
3
|
import { SelectTrigger } from './chunk-TZLILQLV.mjs';
|
|
4
4
|
import { InputRoot } from './chunk-INX2EB5H.mjs';
|
|
5
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-GY65PGYR.mjs';
|
|
6
6
|
import { withCursor } from './chunk-44KW6PTD.mjs';
|
|
7
7
|
|
|
8
8
|
// src/highlight-cursor/enhanced-components.tsx
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk37WZTN4K_js = require('./chunk-37WZTN4K.js');
|
|
4
|
+
var chunkER6XHUS7_js = require('./chunk-ER6XHUS7.js');
|
|
5
|
+
var chunkX6APNY5D_js = require('./chunk-X6APNY5D.js');
|
|
6
|
+
var chunkQG7ZF6TO_js = require('./chunk-QG7ZF6TO.js');
|
|
7
|
+
var chunkOASPTOVZ_js = require('./chunk-OASPTOVZ.js');
|
|
8
|
+
var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
|
|
9
|
+
var lucideReact = require('lucide-react');
|
|
10
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
11
|
+
|
|
12
|
+
var LiquidToggleButton = (props) => {
|
|
13
|
+
const { theme, setTheme, storageKey } = chunk37WZTN4K_js.useTheme();
|
|
14
|
+
const document = chunkOASPTOVZ_js.useDocument();
|
|
15
|
+
const handleLiquidToggle = () => {
|
|
16
|
+
let newTheme;
|
|
17
|
+
if (theme === "light") {
|
|
18
|
+
newTheme = "liquid-light";
|
|
19
|
+
} else if (theme === "liquid-light") {
|
|
20
|
+
newTheme = "light";
|
|
21
|
+
} else if (theme === "dark") {
|
|
22
|
+
newTheme = "liquid-dark";
|
|
23
|
+
} else if (theme === "liquid-dark") {
|
|
24
|
+
newTheme = "dark";
|
|
25
|
+
} else if (theme === "system") {
|
|
26
|
+
return;
|
|
27
|
+
} else {
|
|
28
|
+
newTheme = "liquid-light";
|
|
29
|
+
}
|
|
30
|
+
if (document) {
|
|
31
|
+
document.cookie = `${storageKey}=${newTheme}`;
|
|
32
|
+
}
|
|
33
|
+
setTheme(newTheme);
|
|
34
|
+
};
|
|
35
|
+
const isLiquid = theme === "liquid-light" || theme === "liquid-dark";
|
|
36
|
+
const isSystem = theme === "system";
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkER6XHUS7_js.Tooltip, { children: [
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkER6XHUS7_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
chunkX6APNY5D_js.Button,
|
|
40
|
+
{
|
|
41
|
+
icon: true,
|
|
42
|
+
variant: "ghost",
|
|
43
|
+
value: isLiquid,
|
|
44
|
+
"aria-label": `Toggle liquid theme: ${isSystem ? "disabled (system mode)" : isLiquid ? "on" : "off"}`,
|
|
45
|
+
...props,
|
|
46
|
+
onClick: handleLiquidToggle,
|
|
47
|
+
className: chunk7KYAICHB_js.cn(props.className, isSystem && "cursor-not-allowed opacity-50"),
|
|
48
|
+
disabled: isSystem,
|
|
49
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Droplet, { size: 20 })
|
|
50
|
+
}
|
|
51
|
+
) }),
|
|
52
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkER6XHUS7_js.TooltipContent, { children: "Toggle liquid theme" })
|
|
53
|
+
] });
|
|
54
|
+
};
|
|
55
|
+
var ThemeToggleButton = (props) => {
|
|
56
|
+
const { theme, setTheme, storageKey } = chunk37WZTN4K_js.useTheme();
|
|
57
|
+
const document = chunkOASPTOVZ_js.useDocument();
|
|
58
|
+
const handleThemeChange = () => {
|
|
59
|
+
let newTheme;
|
|
60
|
+
if (theme === "light") {
|
|
61
|
+
newTheme = "dark";
|
|
62
|
+
} else if (theme === "liquid-light") {
|
|
63
|
+
newTheme = "liquid-dark";
|
|
64
|
+
} else if (theme === "dark") {
|
|
65
|
+
newTheme = "system";
|
|
66
|
+
} else if (theme === "liquid-dark") {
|
|
67
|
+
newTheme = "system";
|
|
68
|
+
} else if (theme === "system") {
|
|
69
|
+
newTheme = "light";
|
|
70
|
+
} else {
|
|
71
|
+
newTheme = "light";
|
|
72
|
+
}
|
|
73
|
+
if (document) {
|
|
74
|
+
document.cookie = `${storageKey}=${newTheme}`;
|
|
75
|
+
}
|
|
76
|
+
setTheme(newTheme);
|
|
77
|
+
};
|
|
78
|
+
const isDark = theme === "dark" || theme === "liquid-dark";
|
|
79
|
+
const isSystem = theme === "system";
|
|
80
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
+
chunkX6APNY5D_js.Button,
|
|
82
|
+
{
|
|
83
|
+
icon: true,
|
|
84
|
+
variant: "ghost",
|
|
85
|
+
"aria-label": `Current theme: ${isSystem ? "system" : isDark ? "dark" : "light"}`,
|
|
86
|
+
...props,
|
|
87
|
+
onClick: handleThemeChange,
|
|
88
|
+
children: isSystem ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.SunMoon, { size: 20 }) : isDark ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Moon, { size: 20 }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { size: 20 })
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
};
|
|
92
|
+
var LiquidToggle = chunkQG7ZF6TO_js.createClientOnlyComponent(LiquidToggleButton, (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkX6APNY5D_js.Button, { icon: true, variant: "ghost", "aria-label": "Liquid toggle loading...", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Droplet, { size: 20 }) }));
|
|
93
|
+
var ThemeToggle = chunkQG7ZF6TO_js.createClientOnlyComponent(ThemeToggleButton, (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkX6APNY5D_js.Button, { icon: true, variant: "ghost", "aria-label": "Theme toggle loading...", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { size: 20 }) }));
|
|
94
|
+
|
|
95
|
+
exports.LiquidToggle = LiquidToggle;
|
|
96
|
+
exports.ThemeToggle = ThemeToggle;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6TMEH2MB_js = require('./chunk-6TMEH2MB.js');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var CmInput = react.forwardRef(function CmInput2(props, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6TMEH2MB_js.NumberInput, { ref, unit: "cm", ...props });
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
exports.CmInput = CmInput;
|
|
@@ -63,7 +63,11 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
63
63
|
base: ["text-uk-md", "h-8 ", "gap-xs", " px-lg", "[&_svg:not([class*='size-'])]:size-4"],
|
|
64
64
|
lg: ["text-uk-lg", "h-9", " gap-xs", "px-xl", "[&_svg:not([class*='size-'])]:size-5"]
|
|
65
65
|
},
|
|
66
|
-
icon: { false: null, true: null }
|
|
66
|
+
icon: { false: null, true: null },
|
|
67
|
+
value: {
|
|
68
|
+
false: null,
|
|
69
|
+
true: ["text-brand-primary", "[&_svg]:text-brand-primary"]
|
|
70
|
+
}
|
|
67
71
|
},
|
|
68
72
|
compoundVariants: [
|
|
69
73
|
{ size: "sm", icon: true, class: ["px-xs", "py-xs", " size-6"] },
|
|
@@ -73,18 +77,19 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
73
77
|
defaultVariants: {
|
|
74
78
|
variant: "primary",
|
|
75
79
|
size: "base",
|
|
76
|
-
icon: false
|
|
80
|
+
icon: false,
|
|
81
|
+
value: false
|
|
77
82
|
}
|
|
78
83
|
}
|
|
79
84
|
);
|
|
80
|
-
var Button = react.forwardRef(function Button2({ className, variant, size, icon, asChild = false, ...props }, ref) {
|
|
85
|
+
var Button = react.forwardRef(function Button2({ className, variant, size, icon, value, asChild = false, ...props }, ref) {
|
|
81
86
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
82
87
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
83
88
|
Comp,
|
|
84
89
|
{
|
|
85
90
|
ref,
|
|
86
91
|
"data-slot": "button",
|
|
87
|
-
className: chunk7KYAICHB_js.cn(buttonVariants({ variant, size, icon, className })),
|
|
92
|
+
className: chunk7KYAICHB_js.cn(buttonVariants({ variant, size, icon, value, className })),
|
|
88
93
|
...props
|
|
89
94
|
}
|
|
90
95
|
);
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7E25WN6I_js = require('./chunk-7E25WN6I.js');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
7
7
|
var EulerRadInput = react.forwardRef(
|
|
8
8
|
function EulerRadInput2(props, ref) {
|
|
9
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
|
-
chunk6AWSAY7A_js.EulerInput,
|
|
11
|
-
{
|
|
12
|
-
ref,
|
|
13
|
-
unit: "rad",
|
|
14
|
-
...props
|
|
15
|
-
}
|
|
16
|
-
);
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk7E25WN6I_js.EulerInput, { ref, unit: "rad", ...props });
|
|
17
10
|
}
|
|
18
11
|
);
|
|
19
12
|
|
|
@@ -14,7 +14,11 @@ var Sheet = createClientOnlyComponent(SheetRoot, SheetFallback);
|
|
|
14
14
|
function SheetTriggerRoot({ ...props }) {
|
|
15
15
|
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
16
16
|
}
|
|
17
|
-
function SheetTriggerFallback({
|
|
17
|
+
function SheetTriggerFallback({
|
|
18
|
+
asChild,
|
|
19
|
+
children,
|
|
20
|
+
...props
|
|
21
|
+
}) {
|
|
18
22
|
if (asChild) {
|
|
19
23
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
20
24
|
}
|
|
@@ -31,7 +35,11 @@ function SheetCloseRoot({ ...props }) {
|
|
|
31
35
|
}
|
|
32
36
|
);
|
|
33
37
|
}
|
|
34
|
-
function SheetCloseFallback({
|
|
38
|
+
function SheetCloseFallback({
|
|
39
|
+
asChild,
|
|
40
|
+
children,
|
|
41
|
+
...props
|
|
42
|
+
}) {
|
|
35
43
|
if (asChild) {
|
|
36
44
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
37
45
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6TMEH2MB_js = require('./chunk-6TMEH2MB.js');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var DegInput = react.forwardRef(function DegInput2(props, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6TMEH2MB_js.NumberInput, { ref, unit: "\xB0", ...props });
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
exports.DegInput = DegInput;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VectorInput } from './chunk-36Q5EL3V.mjs';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var QuaternionInput = forwardRef(function QuaternionInput2({ value, onValuesChange, ...props }, ref) {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
VectorInput,
|
|
8
|
+
{
|
|
9
|
+
ref,
|
|
10
|
+
value,
|
|
11
|
+
onValuesChange,
|
|
12
|
+
labels: ["w", "x", "y", "z"],
|
|
13
|
+
...props
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { QuaternionInput };
|
|
@@ -12,7 +12,7 @@ import '@radix-ui/react-tabs';
|
|
|
12
12
|
import '@radix-ui/react-select';
|
|
13
13
|
|
|
14
14
|
declare const CursorButton: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
15
|
-
declare const CursorTabs: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<TabsProps
|
|
15
|
+
declare const CursorTabs: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<TabsProps & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
16
16
|
declare const CursorInputRoot: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<Omit<InputRootProps, "ref"> & react.RefAttributes<HTMLInputElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
17
17
|
declare const CursorSelectTrigger: typeof SelectTrigger;
|
|
18
18
|
declare const CursorTextarea: typeof Textarea;
|
|
@@ -12,7 +12,7 @@ import '@radix-ui/react-tabs';
|
|
|
12
12
|
import '@radix-ui/react-select';
|
|
13
13
|
|
|
14
14
|
declare const CursorButton: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
15
|
-
declare const CursorTabs: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<TabsProps
|
|
15
|
+
declare const CursorTabs: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<TabsProps & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
16
16
|
declare const CursorInputRoot: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<Omit<InputRootProps, "ref"> & react.RefAttributes<HTMLInputElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
17
17
|
declare const CursorSelectTrigger: typeof SelectTrigger;
|
|
18
18
|
declare const CursorTextarea: typeof Textarea;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN5V4HWT4_js = require('../chunk-N5V4HWT4.js');
|
|
4
4
|
require('../chunk-W3AIC7FW.js');
|
|
5
5
|
require('../chunk-KCA5PXNO.js');
|
|
6
6
|
require('../chunk-CZBGKVGH.js');
|
|
7
7
|
require('../chunk-3YODEBOY.js');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-X6APNY5D.js');
|
|
9
9
|
require('../chunk-UFHMEEGL.js');
|
|
10
10
|
require('../chunk-UBVYEZI3.js');
|
|
11
11
|
require('../chunk-W3APG27Q.js');
|
|
12
12
|
require('../chunk-QG7ZF6TO.js');
|
|
13
13
|
require('../chunk-OASPTOVZ.js');
|
|
14
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-L3BY6UPD.js');
|
|
15
15
|
require('../chunk-KIENXCE4.js');
|
|
16
16
|
require('../chunk-7KYAICHB.js');
|
|
17
17
|
require('../chunk-CLTLT5XW.js');
|
|
@@ -21,21 +21,21 @@ require('../chunk-OTPUWWEB.js');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "CursorButton", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkN5V4HWT4_js.CursorButton; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "CursorInputRoot", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkN5V4HWT4_js.CursorInputRoot; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "CursorSelectTrigger", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkN5V4HWT4_js.CursorSelectTrigger; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "CursorTabs", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkN5V4HWT4_js.CursorTabs; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "CursorTextarea", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkN5V4HWT4_js.CursorTextarea; }
|
|
41
41
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-
|
|
1
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-VYYH27HC.mjs';
|
|
2
2
|
import '../chunk-EXM36UYZ.mjs';
|
|
3
3
|
import '../chunk-MWJQTO2F.mjs';
|
|
4
4
|
import '../chunk-TZLILQLV.mjs';
|
|
5
5
|
import '../chunk-INX2EB5H.mjs';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-GY65PGYR.mjs';
|
|
7
7
|
import '../chunk-44KW6PTD.mjs';
|
|
8
8
|
import '../chunk-AYKQVWMR.mjs';
|
|
9
9
|
import '../chunk-PR4VD5F2.mjs';
|
|
10
10
|
import '../chunk-4F2GSF2T.mjs';
|
|
11
11
|
import '../chunk-QG5Z4C65.mjs';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-JXDPS6DY.mjs';
|
|
13
13
|
import '../chunk-IWH3T7TD.mjs';
|
|
14
14
|
import '../chunk-WM2VP7MI.mjs';
|
|
15
15
|
import '../chunk-3FR3WKI4.mjs';
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
require('../chunk-KJ42IGH6.js');
|
|
4
4
|
var chunkHYVF2TGW_js = require('../chunk-HYVF2TGW.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkN5V4HWT4_js = require('../chunk-N5V4HWT4.js');
|
|
6
6
|
require('../chunk-W3AIC7FW.js');
|
|
7
7
|
require('../chunk-KCA5PXNO.js');
|
|
8
8
|
require('../chunk-CZBGKVGH.js');
|
|
9
9
|
require('../chunk-3YODEBOY.js');
|
|
10
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-X6APNY5D.js');
|
|
11
11
|
var chunkUFHMEEGL_js = require('../chunk-UFHMEEGL.js');
|
|
12
12
|
require('../chunk-UBVYEZI3.js');
|
|
13
13
|
require('../chunk-W3APG27Q.js');
|
|
14
14
|
require('../chunk-QG7ZF6TO.js');
|
|
15
15
|
require('../chunk-OASPTOVZ.js');
|
|
16
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-L3BY6UPD.js');
|
|
17
17
|
require('../chunk-KIENXCE4.js');
|
|
18
18
|
require('../chunk-7KYAICHB.js');
|
|
19
19
|
require('../chunk-CLTLT5XW.js');
|
|
@@ -27,23 +27,23 @@ Object.defineProperty(exports, "CursorProvider", {
|
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CursorButton", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkN5V4HWT4_js.CursorButton; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "CursorInputRoot", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkN5V4HWT4_js.CursorInputRoot; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "CursorSelectTrigger", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkN5V4HWT4_js.CursorSelectTrigger; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "CursorTabs", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkN5V4HWT4_js.CursorTabs; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "CursorTextarea", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkN5V4HWT4_js.CursorTextarea; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "withCursor", {
|
|
49
49
|
enumerable: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import '../chunk-VGCVIHBR.mjs';
|
|
2
2
|
export { CursorProvider } from '../chunk-AQENEOV3.mjs';
|
|
3
|
-
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-
|
|
3
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-VYYH27HC.mjs';
|
|
4
4
|
import '../chunk-EXM36UYZ.mjs';
|
|
5
5
|
import '../chunk-MWJQTO2F.mjs';
|
|
6
6
|
import '../chunk-TZLILQLV.mjs';
|
|
7
7
|
import '../chunk-INX2EB5H.mjs';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-GY65PGYR.mjs';
|
|
9
9
|
export { withCursor } from '../chunk-44KW6PTD.mjs';
|
|
10
10
|
import '../chunk-AYKQVWMR.mjs';
|
|
11
11
|
import '../chunk-PR4VD5F2.mjs';
|
|
12
12
|
import '../chunk-4F2GSF2T.mjs';
|
|
13
13
|
import '../chunk-QG5Z4C65.mjs';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-JXDPS6DY.mjs';
|
|
15
15
|
import '../chunk-IWH3T7TD.mjs';
|
|
16
16
|
import '../chunk-WM2VP7MI.mjs';
|
|
17
17
|
import '../chunk-3FR3WKI4.mjs';
|
|
@@ -12,7 +12,7 @@ declare function clientOnly<T>(fn: () => T): T | undefined;
|
|
|
12
12
|
* @param fallback - Optional fallback to render server-side
|
|
13
13
|
* @returns A component that avoids hydration mismatches
|
|
14
14
|
*/
|
|
15
|
-
declare function createClientOnlyComponent<P =
|
|
15
|
+
declare function createClientOnlyComponent<P extends object = Record<string, unknown>>(Component: react__default.ComponentType<P>, fallback?: react__default.ComponentType<P>): react__default.ComponentType<P>;
|
|
16
16
|
/**
|
|
17
17
|
* Checks if code is running on the client side
|
|
18
18
|
* @returns true if running on client, false if on server
|
|
@@ -12,7 +12,7 @@ declare function clientOnly<T>(fn: () => T): T | undefined;
|
|
|
12
12
|
* @param fallback - Optional fallback to render server-side
|
|
13
13
|
* @returns A component that avoids hydration mismatches
|
|
14
14
|
*/
|
|
15
|
-
declare function createClientOnlyComponent<P =
|
|
15
|
+
declare function createClientOnlyComponent<P extends object = Record<string, unknown>>(Component: react__default.ComponentType<P>, fallback?: react__default.ComponentType<P>): react__default.ComponentType<P>;
|
|
16
16
|
/**
|
|
17
17
|
* Checks if code is running on the client side
|
|
18
18
|
* @returns true if running on client, false if on server
|
package/dist/hooks/index.js
CHANGED
|
@@ -4,7 +4,7 @@ require('../chunk-UBVYEZI3.js');
|
|
|
4
4
|
var chunkW3APG27Q_js = require('../chunk-W3APG27Q.js');
|
|
5
5
|
var chunkQG7ZF6TO_js = require('../chunk-QG7ZF6TO.js');
|
|
6
6
|
var chunkOASPTOVZ_js = require('../chunk-OASPTOVZ.js');
|
|
7
|
-
var
|
|
7
|
+
var chunkL3BY6UPD_js = require('../chunk-L3BY6UPD.js');
|
|
8
8
|
var chunkKIENXCE4_js = require('../chunk-KIENXCE4.js');
|
|
9
9
|
var chunk7KYAICHB_js = require('../chunk-7KYAICHB.js');
|
|
10
10
|
|
|
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "useDocument", {
|
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useDragSelect", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkL3BY6UPD_js.useDragSelect; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "useLocalStorage", {
|
|
42
42
|
enumerable: true,
|