@vuer-ai/vuer-uikit 0.0.45 → 0.0.47
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-MFXAWZIK.mjs → chunk-3WAI7WDK.mjs} +1 -1
- package/dist/chunk-4HJQPZQ2.js +139 -0
- package/dist/{chunk-THPNMIDZ.mjs → chunk-5VYIGLGB.mjs} +1 -1
- package/dist/{chunk-NC6NIC5C.js → chunk-BGXUSJT2.js} +2 -2
- package/dist/{chunk-RFVRJ4XV.js → chunk-IMIHCOOE.js} +1 -1
- package/dist/chunk-JBQP2CBI.mjs +136 -0
- package/dist/chunk-KHROZRRE.mjs +1 -0
- package/dist/chunk-QQMHPZFI.js +92 -0
- package/dist/chunk-TVKPO5VK.mjs +32 -0
- package/dist/chunk-UZFOWGVD.mjs +90 -0
- package/dist/{chunk-XWC6N2UQ.js → chunk-VEUXQSY3.js} +2 -2
- package/dist/chunk-WRF3C24J.js +34 -0
- package/dist/{chunk-LD654LL2.mjs → chunk-YGSTPCLB.mjs} +2 -2
- package/dist/chunk-YQKZSWI6.js +2 -0
- package/dist/highlight-cursor/cursor-context.d.mts +7 -0
- package/dist/highlight-cursor/cursor-context.d.ts +7 -0
- package/dist/highlight-cursor/cursor-provider.d.mts +7 -0
- package/dist/highlight-cursor/cursor-provider.d.ts +7 -0
- package/dist/highlight-cursor/enhanced-components.d.mts +20 -0
- package/dist/highlight-cursor/enhanced-components.d.ts +20 -0
- package/dist/highlight-cursor/enhanced-components.js +2 -1
- package/dist/highlight-cursor/enhanced-components.mjs +2 -1
- package/dist/highlight-cursor/index.d.mts +16 -0
- package/dist/highlight-cursor/index.d.ts +16 -0
- package/dist/highlight-cursor/index.js +2 -1
- package/dist/highlight-cursor/index.mjs +2 -1
- package/dist/highlight-cursor/tabs-cursor-context.d.mts +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.d.ts +14 -0
- package/dist/highlight-cursor/types.d.mts +39 -0
- package/dist/highlight-cursor/types.d.ts +39 -0
- package/dist/highlight-cursor/with-cursor.d.mts +7 -0
- package/dist/highlight-cursor/with-cursor.d.ts +7 -0
- package/dist/hooks/clientOnly.d.mts +27 -0
- package/dist/hooks/clientOnly.d.ts +27 -0
- package/dist/hooks/cn.d.mts +5 -0
- package/dist/hooks/cn.d.ts +5 -0
- package/dist/hooks/index.d.mts +8 -0
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/index.js +6 -1
- package/dist/hooks/index.mjs +2 -1
- package/dist/hooks/useDocument.d.mts +3 -0
- package/dist/hooks/useDocument.d.ts +3 -0
- package/dist/hooks/useDragSelect.d.mts +15 -0
- package/dist/hooks/useDragSelect.d.ts +15 -0
- package/dist/hooks/useDragSelect.js +10 -0
- package/dist/hooks/useDragSelect.mjs +1 -0
- package/dist/hooks/useLocalStorage.d.mts +3 -0
- package/dist/hooks/useLocalStorage.d.ts +3 -0
- package/dist/hooks/useWindow.d.mts +3 -0
- package/dist/hooks/useWindow.d.ts +3 -0
- package/dist/index.d.mts +79 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +84 -64
- package/dist/index.mjs +15 -11
- package/dist/styles/theme.d.mts +2 -0
- package/dist/styles/theme.d.ts +2 -0
- package/dist/styles/toast.d.mts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/styles/variables.d.mts +2 -0
- package/dist/styles/variables.d.ts +2 -0
- package/dist/ui/avatar.d.mts +126 -0
- package/dist/ui/avatar.d.ts +126 -0
- package/dist/ui/avatar.js +2 -1
- package/dist/ui/avatar.mjs +2 -1
- package/dist/ui/badge.d.mts +14 -0
- package/dist/ui/badge.d.ts +14 -0
- package/dist/ui/badge.js +2 -1
- package/dist/ui/badge.mjs +2 -1
- package/dist/ui/button.d.mts +25 -0
- package/dist/ui/button.d.ts +25 -0
- package/dist/ui/button.js +2 -1
- package/dist/ui/button.mjs +2 -1
- package/dist/ui/card.d.mts +33 -0
- package/dist/ui/card.d.ts +33 -0
- package/dist/ui/card.js +2 -1
- package/dist/ui/card.mjs +2 -1
- package/dist/ui/checkbox.d.mts +11 -0
- package/dist/ui/checkbox.d.ts +11 -0
- package/dist/ui/checkbox.js +2 -1
- package/dist/ui/checkbox.mjs +2 -1
- package/dist/ui/collapsible.d.mts +8 -0
- package/dist/ui/collapsible.d.ts +8 -0
- package/dist/ui/collapsible.js +2 -1
- package/dist/ui/collapsible.mjs +2 -1
- package/dist/ui/drag-selectable/DragSelectProvider.d.mts +22 -0
- package/dist/ui/drag-selectable/DragSelectProvider.d.ts +22 -0
- package/dist/ui/drag-selectable/DragSelectProvider.js +14 -0
- package/dist/ui/drag-selectable/DragSelectProvider.mjs +1 -0
- package/dist/ui/drag-selectable/createSelectable.d.mts +16 -0
- package/dist/ui/drag-selectable/createSelectable.d.ts +16 -0
- package/dist/ui/drag-selectable/createSelectable.js +11 -0
- package/dist/ui/drag-selectable/createSelectable.mjs +2 -0
- package/dist/ui/drag-selectable/index.d.mts +4 -0
- package/dist/ui/drag-selectable/index.d.ts +4 -0
- package/dist/ui/drag-selectable/index.js +20 -0
- package/dist/ui/drag-selectable/index.mjs +3 -0
- package/dist/ui/drawer.d.mts +34 -0
- package/dist/ui/drawer.d.ts +34 -0
- package/dist/ui/drawer.js +2 -1
- package/dist/ui/drawer.mjs +2 -1
- package/dist/ui/dropdown.d.mts +29 -0
- package/dist/ui/dropdown.d.ts +29 -0
- package/dist/ui/dropdown.js +2 -1
- package/dist/ui/dropdown.mjs +2 -1
- package/dist/ui/form/CmInput.d.mts +11 -0
- package/dist/ui/form/CmInput.d.ts +11 -0
- package/dist/ui/form/CmInput.js +2 -1
- package/dist/ui/form/CmInput.mjs +2 -1
- package/dist/ui/form/DegInput.d.mts +11 -0
- package/dist/ui/form/DegInput.d.ts +11 -0
- package/dist/ui/form/DegInput.js +2 -1
- package/dist/ui/form/DegInput.mjs +2 -1
- package/dist/ui/form/EulerDegInput.d.mts +13 -0
- package/dist/ui/form/EulerDegInput.d.ts +13 -0
- package/dist/ui/form/EulerDegInput.js +2 -1
- package/dist/ui/form/EulerDegInput.mjs +2 -1
- package/dist/ui/form/EulerInput.d.mts +15 -0
- package/dist/ui/form/EulerInput.d.ts +15 -0
- package/dist/ui/form/EulerInput.js +2 -1
- package/dist/ui/form/EulerInput.mjs +2 -1
- package/dist/ui/form/EulerRadInput.d.mts +13 -0
- package/dist/ui/form/EulerRadInput.d.ts +13 -0
- package/dist/ui/form/EulerRadInput.js +2 -1
- package/dist/ui/form/EulerRadInput.mjs +2 -1
- package/dist/ui/form/InchInput.d.mts +11 -0
- package/dist/ui/form/InchInput.d.ts +11 -0
- package/dist/ui/form/InchInput.js +2 -1
- package/dist/ui/form/InchInput.mjs +2 -1
- package/dist/ui/form/IntInput.d.mts +11 -0
- package/dist/ui/form/IntInput.d.ts +11 -0
- package/dist/ui/form/IntInput.js +2 -1
- package/dist/ui/form/IntInput.mjs +2 -1
- package/dist/ui/form/KVectorInput.d.mts +13 -0
- package/dist/ui/form/KVectorInput.d.ts +13 -0
- package/dist/ui/form/KVectorInput.js +2 -1
- package/dist/ui/form/KVectorInput.mjs +2 -1
- package/dist/ui/form/NumberInput.d.mts +11 -0
- package/dist/ui/form/NumberInput.d.ts +11 -0
- package/dist/ui/form/NumberInput.js +2 -1
- package/dist/ui/form/NumberInput.mjs +2 -1
- package/dist/ui/form/QuaternionInput.d.mts +14 -0
- package/dist/ui/form/QuaternionInput.d.ts +14 -0
- package/dist/ui/form/QuaternionInput.js +2 -1
- package/dist/ui/form/QuaternionInput.mjs +2 -1
- package/dist/ui/form/RadInput.d.mts +11 -0
- package/dist/ui/form/RadInput.d.ts +11 -0
- package/dist/ui/form/RadInput.js +2 -1
- package/dist/ui/form/RadInput.mjs +2 -1
- package/dist/ui/form/TimeInput.d.mts +11 -0
- package/dist/ui/form/TimeInput.d.ts +11 -0
- package/dist/ui/form/TimeInput.js +2 -1
- package/dist/ui/form/TimeInput.mjs +2 -1
- package/dist/ui/form/Vec3Input.d.mts +14 -0
- package/dist/ui/form/Vec3Input.d.ts +14 -0
- package/dist/ui/form/Vec3Input.js +2 -1
- package/dist/ui/form/Vec3Input.mjs +2 -1
- package/dist/ui/form/VectorInput.d.mts +14 -0
- package/dist/ui/form/VectorInput.d.ts +14 -0
- package/dist/ui/form/VectorInput.js +2 -1
- package/dist/ui/form/VectorInput.mjs +2 -1
- package/dist/ui/form/index.d.mts +19 -0
- package/dist/ui/form/index.d.ts +19 -0
- package/dist/ui/form/index.js +2 -1
- package/dist/ui/form/index.mjs +2 -1
- package/dist/ui/index.d.mts +67 -0
- package/dist/ui/index.d.ts +67 -0
- package/dist/ui/index.js +80 -64
- package/dist/ui/index.mjs +15 -11
- package/dist/ui/input-numbers.d.mts +14 -0
- package/dist/ui/input-numbers.d.ts +14 -0
- package/dist/ui/input-numbers.js +2 -1
- package/dist/ui/input-numbers.mjs +2 -1
- package/dist/ui/input.d.mts +37 -0
- package/dist/ui/input.d.ts +37 -0
- package/dist/ui/input.js +2 -1
- package/dist/ui/input.mjs +2 -1
- package/dist/ui/layout.d.mts +15 -0
- package/dist/ui/layout.d.ts +15 -0
- package/dist/ui/layout.js +2 -1
- package/dist/ui/layout.mjs +2 -1
- package/dist/ui/modal.d.mts +32 -0
- package/dist/ui/modal.d.ts +32 -0
- package/dist/ui/modal.js +2 -1
- package/dist/ui/modal.mjs +2 -1
- package/dist/ui/popover.d.mts +11 -0
- package/dist/ui/popover.d.ts +11 -0
- package/dist/ui/popover.js +2 -1
- package/dist/ui/popover.mjs +2 -1
- package/dist/ui/radio-group.d.mts +14 -0
- package/dist/ui/radio-group.d.ts +14 -0
- package/dist/ui/radio-group.js +2 -1
- package/dist/ui/radio-group.mjs +2 -1
- package/dist/ui/select.d.mts +78 -0
- package/dist/ui/select.d.ts +78 -0
- package/dist/ui/select.js +2 -1
- package/dist/ui/select.mjs +2 -1
- package/dist/ui/sheet.d.mts +23 -0
- package/dist/ui/sheet.d.ts +23 -0
- package/dist/ui/sheet.js +2 -1
- package/dist/ui/sheet.mjs +2 -1
- package/dist/ui/slider.d.mts +10 -0
- package/dist/ui/slider.d.ts +10 -0
- package/dist/ui/slider.js +2 -1
- package/dist/ui/slider.mjs +2 -1
- package/dist/ui/switch.d.mts +6 -0
- package/dist/ui/switch.d.ts +6 -0
- package/dist/ui/switch.js +2 -1
- package/dist/ui/switch.mjs +2 -1
- package/dist/ui/tabs.d.mts +16 -0
- package/dist/ui/tabs.d.ts +16 -0
- package/dist/ui/tabs.js +2 -1
- package/dist/ui/tabs.mjs +2 -1
- package/dist/ui/textarea.d.mts +19 -0
- package/dist/ui/textarea.d.ts +19 -0
- package/dist/ui/textarea.js +2 -1
- package/dist/ui/textarea.mjs +2 -1
- package/dist/ui/theme/ThemeProvider.d.mts +16 -0
- package/dist/ui/theme/ThemeProvider.d.ts +16 -0
- package/dist/ui/theme/index.d.mts +5 -0
- package/dist/ui/theme/index.d.ts +5 -0
- package/dist/ui/theme/themeScript.d.mts +19 -0
- package/dist/ui/theme/themeScript.d.ts +19 -0
- package/dist/ui/theme/types.d.mts +47 -0
- package/dist/ui/theme/types.d.ts +47 -0
- package/dist/ui/timeline.d.mts +42 -0
- package/dist/ui/timeline.d.ts +42 -0
- package/dist/ui/timeline.js +5 -4
- package/dist/ui/timeline.mjs +4 -3
- package/dist/ui/toast.d.mts +10 -0
- package/dist/ui/toast.d.ts +10 -0
- package/dist/ui/toggle-group.d.mts +15 -0
- package/dist/ui/toggle-group.d.ts +15 -0
- package/dist/ui/toggle-group.js +2 -1
- package/dist/ui/toggle-group.mjs +2 -1
- package/dist/ui/toggle.d.mts +18 -0
- package/dist/ui/toggle.d.ts +18 -0
- package/dist/ui/toggle.js +2 -1
- package/dist/ui/toggle.mjs +2 -1
- package/dist/ui/tooltip.d.mts +22 -0
- package/dist/ui/tooltip.d.ts +22 -0
- package/dist/ui/tooltip.js +2 -1
- package/dist/ui/tooltip.mjs +2 -1
- package/dist/ui/tree-view-v2.d.mts +35 -0
- package/dist/ui/tree-view-v2.d.ts +35 -0
- package/dist/ui/tree-view-v2.js +4 -3
- package/dist/ui/tree-view-v2.mjs +3 -2
- package/dist/ui/tree-view.d.mts +31 -0
- package/dist/ui/tree-view.d.ts +31 -0
- package/dist/ui/tree-view.js +2 -1
- package/dist/ui/tree-view.mjs +2 -1
- package/dist/ui/version-badge.d.mts +26 -0
- package/dist/ui/version-badge.d.ts +26 -0
- package/dist/ui/version-badge.js +4 -3
- package/dist/ui/version-badge.mjs +3 -2
- package/package.json +3 -2
- package/src/highlight-cursor/cursor-provider.tsx +2 -2
- package/src/hooks/clientOnly.tsx +5 -5
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/hooks/useDragSelect.ts +107 -0
- package/src/ui/button.tsx +1 -1
- package/src/ui/drag-selectable/DragSelectProvider.tsx +178 -0
- package/src/ui/drag-selectable/createSelectable.tsx +42 -0
- package/src/ui/drag-selectable/index.ts +2 -0
- package/src/ui/form/EulerInput.tsx +1 -1
- package/src/ui/form/QuaternionInput.tsx +1 -1
- package/src/ui/form/Vec3Input.tsx +1 -1
- package/src/ui/index.ts +3 -0
- package/src/ui/pagination.tsx +130 -0
- package/src/ui/select.tsx +0 -1
- package/src/ui/separator.tsx +26 -0
- package/src/ui/sidebar.tsx +694 -0
- package/src/ui/skeleton.tsx +15 -0
- package/src/ui/tree-view-v2.tsx +3 -3
- package/src/ui/tree-view.tsx +7 -2
- /package/dist/{chunk-LXDQ4KMN.mjs → chunk-4IXZRYYD.mjs} +0 -0
- /package/dist/{chunk-YRM45Z7N.mjs → chunk-AYKQVWMR.mjs} +0 -0
- /package/dist/{chunk-NACWD4CC.js → chunk-JFSQNIDX.js} +0 -0
- /package/dist/{chunk-T4N7UHZ7.js → chunk-UBVYEZI3.js} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EnhancedComponentProps } from './types.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { Textarea } from '../ui/textarea.js';
|
|
4
|
+
import { TabsProps } from '../ui/tabs.js';
|
|
5
|
+
import { ButtonProps } from '../ui/button.js';
|
|
6
|
+
import { InputRootProps } from '../ui/input.js';
|
|
7
|
+
import { SelectTrigger } from '../ui/select.js';
|
|
8
|
+
import 'react/jsx-runtime';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '@radix-ui/react-tabs';
|
|
12
|
+
import '@radix-ui/react-select';
|
|
13
|
+
|
|
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>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
16
|
+
declare const CursorInputRoot: react.ForwardRefExoticComponent<Omit<EnhancedComponentProps<Omit<InputRootProps, "ref"> & react.RefAttributes<HTMLInputElement>>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
17
|
+
declare const CursorSelectTrigger: typeof SelectTrigger;
|
|
18
|
+
declare const CursorTextarea: typeof Textarea;
|
|
19
|
+
|
|
20
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea };
|
|
@@ -7,9 +7,10 @@ require('../chunk-KCA5PXNO.js');
|
|
|
7
7
|
require('../chunk-3YODEBOY.js');
|
|
8
8
|
require('../chunk-KDRYDUQT.js');
|
|
9
9
|
require('../chunk-UFHMEEGL.js');
|
|
10
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-UBVYEZI3.js');
|
|
11
11
|
require('../chunk-QG7ZF6TO.js');
|
|
12
12
|
require('../chunk-OASPTOVZ.js');
|
|
13
|
+
require('../chunk-QQMHPZFI.js');
|
|
13
14
|
require('../chunk-KIENXCE4.js');
|
|
14
15
|
require('../chunk-W3APG27Q.js');
|
|
15
16
|
require('../chunk-7KYAICHB.js');
|
|
@@ -5,9 +5,10 @@ import '../chunk-MWJQTO2F.mjs';
|
|
|
5
5
|
import '../chunk-INX2EB5H.mjs';
|
|
6
6
|
import '../chunk-I5UCKLLT.mjs';
|
|
7
7
|
import '../chunk-44KW6PTD.mjs';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-AYKQVWMR.mjs';
|
|
9
9
|
import '../chunk-4F2GSF2T.mjs';
|
|
10
10
|
import '../chunk-QG5Z4C65.mjs';
|
|
11
|
+
import '../chunk-UZFOWGVD.mjs';
|
|
11
12
|
import '../chunk-IWH3T7TD.mjs';
|
|
12
13
|
import '../chunk-PR4VD5F2.mjs';
|
|
13
14
|
import '../chunk-WM2VP7MI.mjs';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { CursorProvider } from './cursor-provider.mjs';
|
|
2
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from './enhanced-components.mjs';
|
|
3
|
+
export { TabsCursorProvider } from './tabs-cursor-context.mjs';
|
|
4
|
+
export { withCursor } from './with-cursor.mjs';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import './types.mjs';
|
|
7
|
+
import 'react';
|
|
8
|
+
import '../ui/textarea.mjs';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '../ui/tabs.mjs';
|
|
12
|
+
import '@radix-ui/react-tabs';
|
|
13
|
+
import '../ui/button.mjs';
|
|
14
|
+
import '../ui/input.mjs';
|
|
15
|
+
import '../ui/select.mjs';
|
|
16
|
+
import '@radix-ui/react-select';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { CursorProvider } from './cursor-provider.js';
|
|
2
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from './enhanced-components.js';
|
|
3
|
+
export { TabsCursorProvider } from './tabs-cursor-context.js';
|
|
4
|
+
export { withCursor } from './with-cursor.js';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import './types.js';
|
|
7
|
+
import 'react';
|
|
8
|
+
import '../ui/textarea.js';
|
|
9
|
+
import 'class-variance-authority/types';
|
|
10
|
+
import 'class-variance-authority';
|
|
11
|
+
import '../ui/tabs.js';
|
|
12
|
+
import '@radix-ui/react-tabs';
|
|
13
|
+
import '../ui/button.js';
|
|
14
|
+
import '../ui/input.js';
|
|
15
|
+
import '../ui/select.js';
|
|
16
|
+
import '@radix-ui/react-select';
|
|
@@ -9,9 +9,10 @@ require('../chunk-KCA5PXNO.js');
|
|
|
9
9
|
require('../chunk-3YODEBOY.js');
|
|
10
10
|
require('../chunk-KDRYDUQT.js');
|
|
11
11
|
var chunkUFHMEEGL_js = require('../chunk-UFHMEEGL.js');
|
|
12
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-UBVYEZI3.js');
|
|
13
13
|
require('../chunk-QG7ZF6TO.js');
|
|
14
14
|
require('../chunk-OASPTOVZ.js');
|
|
15
|
+
require('../chunk-QQMHPZFI.js');
|
|
15
16
|
require('../chunk-KIENXCE4.js');
|
|
16
17
|
require('../chunk-W3APG27Q.js');
|
|
17
18
|
require('../chunk-7KYAICHB.js');
|
|
@@ -7,9 +7,10 @@ import '../chunk-MWJQTO2F.mjs';
|
|
|
7
7
|
import '../chunk-INX2EB5H.mjs';
|
|
8
8
|
import '../chunk-I5UCKLLT.mjs';
|
|
9
9
|
export { withCursor } from '../chunk-44KW6PTD.mjs';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-AYKQVWMR.mjs';
|
|
11
11
|
import '../chunk-4F2GSF2T.mjs';
|
|
12
12
|
import '../chunk-QG5Z4C65.mjs';
|
|
13
|
+
import '../chunk-UZFOWGVD.mjs';
|
|
13
14
|
import '../chunk-IWH3T7TD.mjs';
|
|
14
15
|
import '../chunk-PR4VD5F2.mjs';
|
|
15
16
|
import '../chunk-WM2VP7MI.mjs';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
interface TabsCursorContextType {
|
|
5
|
+
setCursorTarget: (el: HTMLElement | null) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const TabsCursorProvider: ({ children, className, ...props }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
12
|
+
declare const useTabsCursor: () => TabsCursorContextType;
|
|
13
|
+
|
|
14
|
+
export { TabsCursorProvider, useTabsCursor };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
interface TabsCursorContextType {
|
|
5
|
+
setCursorTarget: (el: HTMLElement | null) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const TabsCursorProvider: ({ children, className, ...props }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
12
|
+
declare const useTabsCursor: () => TabsCursorContextType;
|
|
13
|
+
|
|
14
|
+
export { TabsCursorProvider, useTabsCursor };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode, ElementType, MouseEvent, ComponentType } from 'react';
|
|
2
|
+
|
|
3
|
+
interface CursorContextType {
|
|
4
|
+
mousePosition: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
};
|
|
8
|
+
hoveredElementId: string | null;
|
|
9
|
+
elementDimensions: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
right?: number;
|
|
15
|
+
bottom?: number;
|
|
16
|
+
};
|
|
17
|
+
registerHoveredElement: (id: string, dimensions: DOMRect, element?: HTMLElement) => void;
|
|
18
|
+
unregisterHoveredElement: () => void;
|
|
19
|
+
updateElementDimensions: (dimensions: DOMRect) => void;
|
|
20
|
+
}
|
|
21
|
+
interface CursorProviderProps extends HTMLAttributes<HTMLDivElement> {
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
maxOffsetX?: number;
|
|
24
|
+
maxOffsetY?: number;
|
|
25
|
+
cursorSize?: number;
|
|
26
|
+
transitionDuration?: number;
|
|
27
|
+
cursorClassName?: string;
|
|
28
|
+
as?: ElementType;
|
|
29
|
+
}
|
|
30
|
+
interface WithCursorProps {
|
|
31
|
+
id?: string;
|
|
32
|
+
onMouseEnter?: (event: MouseEvent<HTMLElement>) => void;
|
|
33
|
+
onMouseMove?: (event: MouseEvent<HTMLElement>) => void;
|
|
34
|
+
onMouseLeave?: (event: MouseEvent<HTMLElement>) => void;
|
|
35
|
+
}
|
|
36
|
+
type EnhancedComponentProps<P> = P & WithCursorProps;
|
|
37
|
+
type EnhancedComponent<P = Record<string, unknown>> = ComponentType<EnhancedComponentProps<P>>;
|
|
38
|
+
|
|
39
|
+
export type { CursorContextType, CursorProviderProps, EnhancedComponent, EnhancedComponentProps, WithCursorProps };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode, ElementType, MouseEvent, ComponentType } from 'react';
|
|
2
|
+
|
|
3
|
+
interface CursorContextType {
|
|
4
|
+
mousePosition: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
};
|
|
8
|
+
hoveredElementId: string | null;
|
|
9
|
+
elementDimensions: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
right?: number;
|
|
15
|
+
bottom?: number;
|
|
16
|
+
};
|
|
17
|
+
registerHoveredElement: (id: string, dimensions: DOMRect, element?: HTMLElement) => void;
|
|
18
|
+
unregisterHoveredElement: () => void;
|
|
19
|
+
updateElementDimensions: (dimensions: DOMRect) => void;
|
|
20
|
+
}
|
|
21
|
+
interface CursorProviderProps extends HTMLAttributes<HTMLDivElement> {
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
maxOffsetX?: number;
|
|
24
|
+
maxOffsetY?: number;
|
|
25
|
+
cursorSize?: number;
|
|
26
|
+
transitionDuration?: number;
|
|
27
|
+
cursorClassName?: string;
|
|
28
|
+
as?: ElementType;
|
|
29
|
+
}
|
|
30
|
+
interface WithCursorProps {
|
|
31
|
+
id?: string;
|
|
32
|
+
onMouseEnter?: (event: MouseEvent<HTMLElement>) => void;
|
|
33
|
+
onMouseMove?: (event: MouseEvent<HTMLElement>) => void;
|
|
34
|
+
onMouseLeave?: (event: MouseEvent<HTMLElement>) => void;
|
|
35
|
+
}
|
|
36
|
+
type EnhancedComponentProps<P> = P & WithCursorProps;
|
|
37
|
+
type EnhancedComponent<P = Record<string, unknown>> = ComponentType<EnhancedComponentProps<P>>;
|
|
38
|
+
|
|
39
|
+
export type { CursorContextType, CursorProviderProps, EnhancedComponent, EnhancedComponentProps, WithCursorProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
import { EnhancedComponentProps } from './types.mjs';
|
|
4
|
+
|
|
5
|
+
declare function withCursor<P extends object>(Component: ComponentType<P>): react.ForwardRefExoticComponent<react.PropsWithoutRef<EnhancedComponentProps<P>> & react.RefAttributes<HTMLElement>>;
|
|
6
|
+
|
|
7
|
+
export { withCursor };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
import { EnhancedComponentProps } from './types.js';
|
|
4
|
+
|
|
5
|
+
declare function withCursor<P extends object>(Component: ComponentType<P>): react.ForwardRefExoticComponent<react.PropsWithoutRef<EnhancedComponentProps<P>> & react.RefAttributes<HTMLElement>>;
|
|
6
|
+
|
|
7
|
+
export { withCursor };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import react__default from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Executes a function only on the client side (when window is defined)
|
|
5
|
+
* @param fn - Function to execute on client side
|
|
6
|
+
* @returns Result of the function or undefined if on server side
|
|
7
|
+
*/
|
|
8
|
+
declare function clientOnly<T>(fn: () => T): T | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a React component that only renders on the client side after hydration
|
|
11
|
+
* @param Component - The component to render client-side
|
|
12
|
+
* @param fallback - Optional fallback to render server-side
|
|
13
|
+
* @returns A component that avoids hydration mismatches
|
|
14
|
+
*/
|
|
15
|
+
declare function createClientOnlyComponent<P = any>(Component: react__default.ComponentType<P>, fallback?: react__default.ComponentType<any>): react__default.ComponentType<P>;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if code is running on the client side
|
|
18
|
+
* @returns true if running on client, false if on server
|
|
19
|
+
*/
|
|
20
|
+
declare function isClient(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Checks if code is running on the server side
|
|
23
|
+
* @returns true if running on server, false if on client
|
|
24
|
+
*/
|
|
25
|
+
declare function isServer(): boolean;
|
|
26
|
+
|
|
27
|
+
export { clientOnly, createClientOnlyComponent, isClient, isServer };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import react__default from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Executes a function only on the client side (when window is defined)
|
|
5
|
+
* @param fn - Function to execute on client side
|
|
6
|
+
* @returns Result of the function or undefined if on server side
|
|
7
|
+
*/
|
|
8
|
+
declare function clientOnly<T>(fn: () => T): T | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a React component that only renders on the client side after hydration
|
|
11
|
+
* @param Component - The component to render client-side
|
|
12
|
+
* @param fallback - Optional fallback to render server-side
|
|
13
|
+
* @returns A component that avoids hydration mismatches
|
|
14
|
+
*/
|
|
15
|
+
declare function createClientOnlyComponent<P = any>(Component: react__default.ComponentType<P>, fallback?: react__default.ComponentType<any>): react__default.ComponentType<P>;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if code is running on the client side
|
|
18
|
+
* @returns true if running on client, false if on server
|
|
19
|
+
*/
|
|
20
|
+
declare function isClient(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Checks if code is running on the server side
|
|
23
|
+
* @returns true if running on server, false if on client
|
|
24
|
+
*/
|
|
25
|
+
declare function isServer(): boolean;
|
|
26
|
+
|
|
27
|
+
export { clientOnly, createClientOnlyComponent, isClient, isServer };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { cn } from './cn.mjs';
|
|
2
|
+
export { useLocalStorage } from './useLocalStorage.mjs';
|
|
3
|
+
export { clientOnly, createClientOnlyComponent, isClient, isServer } from './clientOnly.mjs';
|
|
4
|
+
export { useWindow } from './useWindow.mjs';
|
|
5
|
+
export { useDocument } from './useDocument.mjs';
|
|
6
|
+
export { UseDragSelectOptions, useDragSelect } from './useDragSelect.mjs';
|
|
7
|
+
import 'clsx';
|
|
8
|
+
import 'react';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { cn } from './cn.js';
|
|
2
|
+
export { useLocalStorage } from './useLocalStorage.js';
|
|
3
|
+
export { clientOnly, createClientOnlyComponent, isClient, isServer } from './clientOnly.js';
|
|
4
|
+
export { useWindow } from './useWindow.js';
|
|
5
|
+
export { useDocument } from './useDocument.js';
|
|
6
|
+
export { UseDragSelectOptions, useDragSelect } from './useDragSelect.js';
|
|
7
|
+
import 'clsx';
|
|
8
|
+
import 'react';
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
3
|
+
require('../chunk-UBVYEZI3.js');
|
|
4
4
|
var chunkQG7ZF6TO_js = require('../chunk-QG7ZF6TO.js');
|
|
5
5
|
var chunkOASPTOVZ_js = require('../chunk-OASPTOVZ.js');
|
|
6
|
+
var chunkQQMHPZFI_js = require('../chunk-QQMHPZFI.js');
|
|
6
7
|
var chunkKIENXCE4_js = require('../chunk-KIENXCE4.js');
|
|
7
8
|
var chunkW3APG27Q_js = require('../chunk-W3APG27Q.js');
|
|
8
9
|
var chunk7KYAICHB_js = require('../chunk-7KYAICHB.js');
|
|
@@ -29,6 +30,10 @@ Object.defineProperty(exports, "useDocument", {
|
|
|
29
30
|
enumerable: true,
|
|
30
31
|
get: function () { return chunkOASPTOVZ_js.useDocument; }
|
|
31
32
|
});
|
|
33
|
+
Object.defineProperty(exports, "useDragSelect", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkQQMHPZFI_js.useDragSelect; }
|
|
36
|
+
});
|
|
32
37
|
Object.defineProperty(exports, "useLocalStorage", {
|
|
33
38
|
enumerable: true,
|
|
34
39
|
get: function () { return chunkKIENXCE4_js.useLocalStorage; }
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import '../chunk-
|
|
1
|
+
import '../chunk-AYKQVWMR.mjs';
|
|
2
2
|
export { clientOnly, createClientOnlyComponent, isClient, isServer } from '../chunk-4F2GSF2T.mjs';
|
|
3
3
|
export { useDocument } from '../chunk-QG5Z4C65.mjs';
|
|
4
|
+
export { useDragSelect } from '../chunk-UZFOWGVD.mjs';
|
|
4
5
|
export { useLocalStorage } from '../chunk-IWH3T7TD.mjs';
|
|
5
6
|
export { useWindow } from '../chunk-PR4VD5F2.mjs';
|
|
6
7
|
export { cn } from '../chunk-WM2VP7MI.mjs';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface UseDragSelectOptions {
|
|
2
|
+
onSelectionChange?: (selectedItems: Set<string>) => void;
|
|
3
|
+
}
|
|
4
|
+
declare function useDragSelect(options?: UseDragSelectOptions): {
|
|
5
|
+
selectedItems: Set<string>;
|
|
6
|
+
isSelected: (id: string) => boolean;
|
|
7
|
+
clearSelection: () => void;
|
|
8
|
+
getItemProps: (id: string) => {
|
|
9
|
+
'data-selected': boolean;
|
|
10
|
+
onMouseDown: (e: React.MouseEvent) => void;
|
|
11
|
+
onMouseEnter: () => void;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { type UseDragSelectOptions, useDragSelect };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface UseDragSelectOptions {
|
|
2
|
+
onSelectionChange?: (selectedItems: Set<string>) => void;
|
|
3
|
+
}
|
|
4
|
+
declare function useDragSelect(options?: UseDragSelectOptions): {
|
|
5
|
+
selectedItems: Set<string>;
|
|
6
|
+
isSelected: (id: string) => boolean;
|
|
7
|
+
clearSelection: () => void;
|
|
8
|
+
getItemProps: (id: string) => {
|
|
9
|
+
'data-selected': boolean;
|
|
10
|
+
onMouseDown: (e: React.MouseEvent) => void;
|
|
11
|
+
onMouseEnter: () => void;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { type UseDragSelectOptions, useDragSelect };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useDragSelect } from '../chunk-UZFOWGVD.mjs';
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './ui/drawer.mjs';
|
|
2
|
+
export { LogItemData, PointEvent, PointEventType, Timeline } from './ui/timeline.mjs';
|
|
3
|
+
export { TreeDataItemV2, TreeViewV2 } from './ui/tree-view-v2.mjs';
|
|
4
|
+
export { TreeDataItem, TreeView } from './ui/tree-view.mjs';
|
|
5
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './ui/sheet.mjs';
|
|
6
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './ui/popover.mjs';
|
|
7
|
+
export { Avatar, AvatarFallback, AvatarFallbackRoot, AvatarFallbackSSR, AvatarGroup, AvatarGroupProps, AvatarImage, AvatarImageFallback, AvatarImageRoot, AvatarRoot, AvatarSSRFallback } from './ui/avatar.mjs';
|
|
8
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui/tooltip.mjs';
|
|
9
|
+
export { Toaster } from './ui/toast.mjs';
|
|
10
|
+
export { Textarea } from './ui/textarea.mjs';
|
|
11
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './ui/dropdown.mjs';
|
|
12
|
+
export { Toggle, toggleVariants } from './ui/toggle.mjs';
|
|
13
|
+
export { ToggleGroup, ToggleGroupItem } from './ui/toggle-group.mjs';
|
|
14
|
+
export { Badge, badgeVariants } from './ui/badge.mjs';
|
|
15
|
+
export { RadioGroup, RadioGroupItem } from './ui/radio-group.mjs';
|
|
16
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './ui/card.mjs';
|
|
17
|
+
export { Checkbox } from './ui/checkbox.mjs';
|
|
18
|
+
export { Switch } from './ui/switch.mjs';
|
|
19
|
+
export { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps } from './ui/tabs.mjs';
|
|
20
|
+
export { Modal, ModalClose, ModalCloseProps, ModalContent, ModalContentProps, ModalDescription, ModalDescriptionProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalOverlay, ModalOverlayProps, ModalPortal, ModalPortalProps, ModalProps, ModalTitle, ModalTitleProps, ModalTrigger, ModalTriggerProps } from './ui/modal.mjs';
|
|
21
|
+
export { Button, ButtonProps } from './ui/button.mjs';
|
|
22
|
+
export { InputRoot, InputRootProps, InputSlot, InputSlotProps } from './ui/input.mjs';
|
|
23
|
+
export { InputNumbers, InputNumbersProps } from './ui/input-numbers.mjs';
|
|
24
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './ui/collapsible.mjs';
|
|
25
|
+
export { Select, SelectContent, SelectContentFallback, SelectContentRoot, SelectFallback, SelectGroup, SelectGroupFallback, SelectGroupRoot, SelectItem, SelectItemFallback, SelectItemRoot, SelectLabel, SelectLabelFallback, SelectLabelRoot, SelectRoot, SelectScrollDownButton, SelectScrollDownButtonFallback, SelectScrollDownButtonRoot, SelectScrollUpButton, SelectScrollUpButtonFallback, SelectScrollUpButtonRoot, SelectSeparator, SelectSeparatorFallback, SelectSeparatorRoot, SelectTrigger, SelectTriggerFallback, SelectTriggerRoot, SelectValue, SelectValueFallback, SelectValueRoot, selectTriggerVariants } from './ui/select.mjs';
|
|
26
|
+
export { Slider, SliderProps } from './ui/slider.mjs';
|
|
27
|
+
export { Layout, LayoutProps } from './ui/layout.mjs';
|
|
28
|
+
export { VersionBadge } from './ui/version-badge.mjs';
|
|
29
|
+
export { NumberInput, NumberInputProps } from './ui/form/NumberInput.mjs';
|
|
30
|
+
export { IntInput, IntInputProps } from './ui/form/IntInput.mjs';
|
|
31
|
+
export { DegInput, DegInputProps } from './ui/form/DegInput.mjs';
|
|
32
|
+
export { RadInput, RadInputProps } from './ui/form/RadInput.mjs';
|
|
33
|
+
export { InchInput, InchInputProps } from './ui/form/InchInput.mjs';
|
|
34
|
+
export { CmInput, CmInputProps } from './ui/form/CmInput.mjs';
|
|
35
|
+
export { TimeInput, TimeInputProps } from './ui/form/TimeInput.mjs';
|
|
36
|
+
export { VectorInput, VectorInputProps } from './ui/form/VectorInput.mjs';
|
|
37
|
+
export { Vec3Input, Vec3InputProps } from './ui/form/Vec3Input.mjs';
|
|
38
|
+
export { EulerInput, EulerInputProps } from './ui/form/EulerInput.mjs';
|
|
39
|
+
export { EulerDegInput, EulerDegInputProps } from './ui/form/EulerDegInput.mjs';
|
|
40
|
+
export { EulerRadInput, EulerRadInputProps } from './ui/form/EulerRadInput.mjs';
|
|
41
|
+
export { QuaternionInput, QuaternionInputProps } from './ui/form/QuaternionInput.mjs';
|
|
42
|
+
export { KVectorInput, KVectorInputProps } from './ui/form/KVectorInput.mjs';
|
|
43
|
+
export { ThemeProvider, useTheme } from './ui/theme/ThemeProvider.mjs';
|
|
44
|
+
export { ThemeScript } from './ui/theme/themeScript.mjs';
|
|
45
|
+
export { Attribute, ThemeProviderProps, UseThemeProps } from './ui/theme/types.mjs';
|
|
46
|
+
export { createSelectable } from './ui/drag-selectable/createSelectable.mjs';
|
|
47
|
+
export { DragSelectProvider, useDragSelectContext } from './ui/drag-selectable/DragSelectProvider.mjs';
|
|
48
|
+
export { cn } from './hooks/cn.mjs';
|
|
49
|
+
export { useLocalStorage } from './hooks/useLocalStorage.mjs';
|
|
50
|
+
export { clientOnly, createClientOnlyComponent, isClient, isServer } from './hooks/clientOnly.mjs';
|
|
51
|
+
export { useWindow } from './hooks/useWindow.mjs';
|
|
52
|
+
export { useDocument } from './hooks/useDocument.mjs';
|
|
53
|
+
export { UseDragSelectOptions, useDragSelect } from './hooks/useDragSelect.mjs';
|
|
54
|
+
export { CursorProvider } from './highlight-cursor/cursor-provider.mjs';
|
|
55
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from './highlight-cursor/enhanced-components.mjs';
|
|
56
|
+
export { TabsCursorProvider } from './highlight-cursor/tabs-cursor-context.mjs';
|
|
57
|
+
export { withCursor } from './highlight-cursor/with-cursor.mjs';
|
|
58
|
+
export { toast } from 'sonner';
|
|
59
|
+
import 'react/jsx-runtime';
|
|
60
|
+
import 'react';
|
|
61
|
+
import 'vaul';
|
|
62
|
+
import '@radix-ui/react-dialog';
|
|
63
|
+
import '@radix-ui/react-popover';
|
|
64
|
+
import '@radix-ui/react-avatar';
|
|
65
|
+
import '@radix-ui/react-tooltip';
|
|
66
|
+
import 'class-variance-authority/types';
|
|
67
|
+
import 'class-variance-authority';
|
|
68
|
+
import '@radix-ui/react-dropdown-menu';
|
|
69
|
+
import '@radix-ui/react-toggle';
|
|
70
|
+
import '@radix-ui/react-toggle-group';
|
|
71
|
+
import '@radix-ui/react-radio-group';
|
|
72
|
+
import '@radix-ui/react-checkbox';
|
|
73
|
+
import '@radix-ui/react-switch';
|
|
74
|
+
import '@radix-ui/react-tabs';
|
|
75
|
+
import '@radix-ui/react-collapsible';
|
|
76
|
+
import '@radix-ui/react-select';
|
|
77
|
+
import '@radix-ui/react-slider';
|
|
78
|
+
import 'clsx';
|
|
79
|
+
import './highlight-cursor/types.mjs';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './ui/drawer.js';
|
|
2
|
+
export { LogItemData, PointEvent, PointEventType, Timeline } from './ui/timeline.js';
|
|
3
|
+
export { TreeDataItemV2, TreeViewV2 } from './ui/tree-view-v2.js';
|
|
4
|
+
export { TreeDataItem, TreeView } from './ui/tree-view.js';
|
|
5
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './ui/sheet.js';
|
|
6
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './ui/popover.js';
|
|
7
|
+
export { Avatar, AvatarFallback, AvatarFallbackRoot, AvatarFallbackSSR, AvatarGroup, AvatarGroupProps, AvatarImage, AvatarImageFallback, AvatarImageRoot, AvatarRoot, AvatarSSRFallback } from './ui/avatar.js';
|
|
8
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui/tooltip.js';
|
|
9
|
+
export { Toaster } from './ui/toast.js';
|
|
10
|
+
export { Textarea } from './ui/textarea.js';
|
|
11
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './ui/dropdown.js';
|
|
12
|
+
export { Toggle, toggleVariants } from './ui/toggle.js';
|
|
13
|
+
export { ToggleGroup, ToggleGroupItem } from './ui/toggle-group.js';
|
|
14
|
+
export { Badge, badgeVariants } from './ui/badge.js';
|
|
15
|
+
export { RadioGroup, RadioGroupItem } from './ui/radio-group.js';
|
|
16
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './ui/card.js';
|
|
17
|
+
export { Checkbox } from './ui/checkbox.js';
|
|
18
|
+
export { Switch } from './ui/switch.js';
|
|
19
|
+
export { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps } from './ui/tabs.js';
|
|
20
|
+
export { Modal, ModalClose, ModalCloseProps, ModalContent, ModalContentProps, ModalDescription, ModalDescriptionProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalOverlay, ModalOverlayProps, ModalPortal, ModalPortalProps, ModalProps, ModalTitle, ModalTitleProps, ModalTrigger, ModalTriggerProps } from './ui/modal.js';
|
|
21
|
+
export { Button, ButtonProps } from './ui/button.js';
|
|
22
|
+
export { InputRoot, InputRootProps, InputSlot, InputSlotProps } from './ui/input.js';
|
|
23
|
+
export { InputNumbers, InputNumbersProps } from './ui/input-numbers.js';
|
|
24
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './ui/collapsible.js';
|
|
25
|
+
export { Select, SelectContent, SelectContentFallback, SelectContentRoot, SelectFallback, SelectGroup, SelectGroupFallback, SelectGroupRoot, SelectItem, SelectItemFallback, SelectItemRoot, SelectLabel, SelectLabelFallback, SelectLabelRoot, SelectRoot, SelectScrollDownButton, SelectScrollDownButtonFallback, SelectScrollDownButtonRoot, SelectScrollUpButton, SelectScrollUpButtonFallback, SelectScrollUpButtonRoot, SelectSeparator, SelectSeparatorFallback, SelectSeparatorRoot, SelectTrigger, SelectTriggerFallback, SelectTriggerRoot, SelectValue, SelectValueFallback, SelectValueRoot, selectTriggerVariants } from './ui/select.js';
|
|
26
|
+
export { Slider, SliderProps } from './ui/slider.js';
|
|
27
|
+
export { Layout, LayoutProps } from './ui/layout.js';
|
|
28
|
+
export { VersionBadge } from './ui/version-badge.js';
|
|
29
|
+
export { NumberInput, NumberInputProps } from './ui/form/NumberInput.js';
|
|
30
|
+
export { IntInput, IntInputProps } from './ui/form/IntInput.js';
|
|
31
|
+
export { DegInput, DegInputProps } from './ui/form/DegInput.js';
|
|
32
|
+
export { RadInput, RadInputProps } from './ui/form/RadInput.js';
|
|
33
|
+
export { InchInput, InchInputProps } from './ui/form/InchInput.js';
|
|
34
|
+
export { CmInput, CmInputProps } from './ui/form/CmInput.js';
|
|
35
|
+
export { TimeInput, TimeInputProps } from './ui/form/TimeInput.js';
|
|
36
|
+
export { VectorInput, VectorInputProps } from './ui/form/VectorInput.js';
|
|
37
|
+
export { Vec3Input, Vec3InputProps } from './ui/form/Vec3Input.js';
|
|
38
|
+
export { EulerInput, EulerInputProps } from './ui/form/EulerInput.js';
|
|
39
|
+
export { EulerDegInput, EulerDegInputProps } from './ui/form/EulerDegInput.js';
|
|
40
|
+
export { EulerRadInput, EulerRadInputProps } from './ui/form/EulerRadInput.js';
|
|
41
|
+
export { QuaternionInput, QuaternionInputProps } from './ui/form/QuaternionInput.js';
|
|
42
|
+
export { KVectorInput, KVectorInputProps } from './ui/form/KVectorInput.js';
|
|
43
|
+
export { ThemeProvider, useTheme } from './ui/theme/ThemeProvider.js';
|
|
44
|
+
export { ThemeScript } from './ui/theme/themeScript.js';
|
|
45
|
+
export { Attribute, ThemeProviderProps, UseThemeProps } from './ui/theme/types.js';
|
|
46
|
+
export { createSelectable } from './ui/drag-selectable/createSelectable.js';
|
|
47
|
+
export { DragSelectProvider, useDragSelectContext } from './ui/drag-selectable/DragSelectProvider.js';
|
|
48
|
+
export { cn } from './hooks/cn.js';
|
|
49
|
+
export { useLocalStorage } from './hooks/useLocalStorage.js';
|
|
50
|
+
export { clientOnly, createClientOnlyComponent, isClient, isServer } from './hooks/clientOnly.js';
|
|
51
|
+
export { useWindow } from './hooks/useWindow.js';
|
|
52
|
+
export { useDocument } from './hooks/useDocument.js';
|
|
53
|
+
export { UseDragSelectOptions, useDragSelect } from './hooks/useDragSelect.js';
|
|
54
|
+
export { CursorProvider } from './highlight-cursor/cursor-provider.js';
|
|
55
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from './highlight-cursor/enhanced-components.js';
|
|
56
|
+
export { TabsCursorProvider } from './highlight-cursor/tabs-cursor-context.js';
|
|
57
|
+
export { withCursor } from './highlight-cursor/with-cursor.js';
|
|
58
|
+
export { toast } from 'sonner';
|
|
59
|
+
import 'react/jsx-runtime';
|
|
60
|
+
import 'react';
|
|
61
|
+
import 'vaul';
|
|
62
|
+
import '@radix-ui/react-dialog';
|
|
63
|
+
import '@radix-ui/react-popover';
|
|
64
|
+
import '@radix-ui/react-avatar';
|
|
65
|
+
import '@radix-ui/react-tooltip';
|
|
66
|
+
import 'class-variance-authority/types';
|
|
67
|
+
import 'class-variance-authority';
|
|
68
|
+
import '@radix-ui/react-dropdown-menu';
|
|
69
|
+
import '@radix-ui/react-toggle';
|
|
70
|
+
import '@radix-ui/react-toggle-group';
|
|
71
|
+
import '@radix-ui/react-radio-group';
|
|
72
|
+
import '@radix-ui/react-checkbox';
|
|
73
|
+
import '@radix-ui/react-switch';
|
|
74
|
+
import '@radix-ui/react-tabs';
|
|
75
|
+
import '@radix-ui/react-collapsible';
|
|
76
|
+
import '@radix-ui/react-select';
|
|
77
|
+
import '@radix-ui/react-slider';
|
|
78
|
+
import 'clsx';
|
|
79
|
+
import './highlight-cursor/types.js';
|