@vuer-ai/vuer-uikit 0.0.19 → 0.0.21
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-2JCULHBM.js +58 -0
- package/dist/chunk-2TRYGIGT.mjs +76 -0
- package/dist/chunk-2YCL2ET2.js +431 -0
- package/dist/chunk-3FR3WKI4.mjs +24 -0
- package/dist/chunk-44KW6PTD.mjs +111 -0
- package/dist/chunk-5OUTEHVX.js +48 -0
- package/dist/chunk-5SR53QBZ.js +143 -0
- package/dist/chunk-5TVG5JK5.js +93 -0
- package/dist/chunk-5ZZC23M7.mjs +60 -0
- package/dist/chunk-6N5422RT.js +110 -0
- package/dist/chunk-AOUGWGQR.js +609 -0
- package/dist/chunk-B2E7AY66.mjs +86 -0
- package/dist/chunk-BOPZFNFS.mjs +54 -0
- package/dist/chunk-CLTLT5XW.js +27 -0
- package/dist/chunk-DDOX4EEM.mjs +46 -0
- package/dist/chunk-DZ4J7I7I.mjs +114 -0
- package/dist/chunk-E33MW663.js +179 -0
- package/dist/chunk-EAZQH4IX.mjs +27 -0
- package/dist/chunk-EFIRD3FN.js +69 -0
- package/dist/chunk-EOFYA6CS.js +53 -0
- package/dist/chunk-EUY74AXP.mjs +341 -0
- package/dist/chunk-EYIFKSU2.mjs +259 -0
- package/dist/chunk-F56ZKT7B.mjs +1 -0
- package/dist/chunk-F776EMXP.mjs +82 -0
- package/dist/chunk-FORVP7XH.js +164 -0
- package/dist/chunk-FP26SRGL.js +377 -0
- package/dist/chunk-FRT225GK.mjs +34 -0
- package/dist/chunk-G5KMD72J.mjs +162 -0
- package/dist/chunk-G6PRZVSE.mjs +71 -0
- package/dist/chunk-H5P4IX7R.js +67 -0
- package/dist/chunk-HLJ7PQA7.mjs +15 -0
- package/dist/chunk-IGBWUFZL.js +79 -0
- package/dist/chunk-IXHMIR5P.js +131 -0
- package/dist/chunk-JAMJUXBY.mjs +45 -0
- package/dist/chunk-JMPVDU2C.mjs +110 -0
- package/dist/chunk-KJ42IGH6.js +2 -0
- package/dist/chunk-KTNZSZ5Y.mjs +23 -0
- package/dist/chunk-LEPXSM36.mjs +46 -0
- package/dist/chunk-LLXRJYQB.mjs +31 -0
- package/dist/chunk-M4IVLZIH.mjs +1 -0
- package/dist/chunk-MRVMXKZO.mjs +106 -0
- package/dist/chunk-MZ4POL3U.js +301 -0
- package/dist/chunk-N7CINZS2.js +2 -0
- package/dist/chunk-NODFVSVC.mjs +39 -0
- package/dist/chunk-OOI3SJDU.mjs +206 -0
- package/dist/chunk-OQ237S4Z.js +94 -0
- package/dist/chunk-OTPUWWEB.js +98 -0
- package/dist/chunk-PIR7EZC6.js +187 -0
- package/dist/chunk-PVRQNCSJ.js +49 -0
- package/dist/chunk-Q5KEB4UK.mjs +51 -0
- package/dist/chunk-QEY7BWIR.js +208 -0
- package/dist/chunk-QJR6MCTR.js +32 -0
- package/dist/chunk-QVUX6LLD.mjs +270 -0
- package/dist/chunk-QYRRQ65X.mjs +115 -0
- package/dist/chunk-SKO72K64.js +118 -0
- package/dist/chunk-T3VSSE2L.mjs +165 -0
- package/dist/chunk-TMBKCIVQ.mjs +148 -0
- package/dist/chunk-U2ZLDPOE.js +261 -0
- package/dist/chunk-U7SNLMJR.js +110 -0
- package/dist/chunk-UFHMEEGL.js +113 -0
- package/dist/chunk-UKFVRXAR.mjs +409 -0
- package/dist/chunk-UPTTGNMB.js +41 -0
- package/dist/chunk-V4KNORQN.js +21 -0
- package/dist/chunk-VAXIFFOT.js +83 -0
- package/dist/chunk-VGCVIHBR.mjs +1 -0
- package/dist/chunk-VXHM7V6F.mjs +92 -0
- package/dist/chunk-WDUTW7HS.mjs +87 -0
- package/dist/chunk-WJ7T7FAH.js +135 -0
- package/dist/chunk-WO3WHXDP.mjs +66 -0
- package/dist/chunk-X55EAYE2.js +94 -0
- package/dist/chunk-XMG3IVGZ.mjs +95 -0
- package/dist/chunk-XWS4SIB5.js +2 -0
- package/dist/chunk-XXWQ4RVP.js +25 -0
- package/dist/chunk-Y5I2GI4V.js +33 -0
- package/dist/chunk-YXDJPCAF.js +99 -0
- package/dist/chunk-ZVG2UKKC.mjs +603 -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-context.js +14 -0
- package/dist/highlight-cursor/cursor-context.mjs +1 -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/cursor-provider.js +12 -0
- package/dist/highlight-cursor/cursor-provider.mjs +3 -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 +37 -0
- package/dist/highlight-cursor/enhanced-components.mjs +12 -0
- package/dist/highlight-cursor/index.d.mts +16 -0
- package/dist/highlight-cursor/index.d.ts +16 -0
- package/dist/highlight-cursor/index.js +51 -0
- package/dist/highlight-cursor/index.mjs +14 -0
- 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/tabs-cursor-context.js +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.mjs +1 -0
- package/dist/highlight-cursor/types.d.mts +39 -0
- package/dist/highlight-cursor/types.d.ts +39 -0
- package/dist/highlight-cursor/types.js +2 -0
- package/dist/highlight-cursor/types.mjs +1 -0
- package/dist/highlight-cursor/with-cursor.d.mts +7 -0
- package/dist/highlight-cursor/with-cursor.d.ts +7 -0
- package/dist/highlight-cursor/with-cursor.js +11 -0
- package/dist/highlight-cursor/with-cursor.mjs +2 -0
- package/dist/index.css +318 -0
- package/dist/index.d.mts +55 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.js +131 -131
- package/dist/index.mjs +38 -0
- package/dist/styles/theme.css +192 -0
- package/dist/styles/theme.d.mts +2 -0
- package/dist/styles/theme.d.ts +2 -0
- package/dist/styles/toast.css +61 -0
- package/dist/styles/toast.d.mts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/styles/variables.css +188 -0
- package/dist/styles/variables.d.mts +2 -0
- package/dist/styles/variables.d.ts +2 -0
- package/dist/ui/avatar.d.mts +16 -0
- package/dist/ui/avatar.d.ts +16 -0
- package/dist/ui/avatar.js +25 -0
- package/dist/ui/avatar.mjs +4 -0
- package/dist/ui/badge.d.mts +14 -0
- package/dist/ui/badge.d.ts +14 -0
- package/dist/ui/badge.js +17 -0
- package/dist/ui/badge.mjs +4 -0
- package/dist/ui/button.d.mts +16 -0
- package/dist/ui/button.d.ts +16 -0
- package/dist/ui/button.js +13 -0
- package/dist/ui/button.mjs +4 -0
- package/dist/ui/card.d.mts +12 -0
- package/dist/ui/card.d.ts +12 -0
- package/dist/ui/card.js +37 -0
- package/dist/ui/card.mjs +4 -0
- package/dist/ui/checkbox.d.mts +11 -0
- package/dist/ui/checkbox.d.ts +11 -0
- package/dist/ui/checkbox.js +13 -0
- package/dist/ui/checkbox.mjs +4 -0
- package/dist/ui/collapsible.d.mts +9 -0
- package/dist/ui/collapsible.d.ts +9 -0
- package/dist/ui/collapsible.js +21 -0
- package/dist/ui/collapsible.mjs +4 -0
- package/dist/ui/dropdown.d.mts +28 -0
- package/dist/ui/dropdown.d.ts +28 -0
- package/dist/ui/dropdown.js +69 -0
- package/dist/ui/dropdown.mjs +4 -0
- package/dist/ui/index.d.mts +47 -0
- package/dist/ui/index.d.ts +47 -0
- package/dist/ui/index.js +414 -0
- package/dist/ui/index.mjs +33 -0
- package/dist/ui/input-numbers.d.mts +15 -0
- package/dist/ui/input-numbers.d.ts +15 -0
- package/dist/ui/input-numbers.js +14 -0
- package/dist/ui/input-numbers.mjs +5 -0
- package/dist/ui/input.d.mts +22 -0
- package/dist/ui/input.d.ts +22 -0
- package/dist/ui/input.js +17 -0
- package/dist/ui/input.mjs +4 -0
- package/dist/ui/layout.d.mts +12 -0
- package/dist/ui/layout.d.ts +12 -0
- package/dist/ui/layout.js +13 -0
- package/dist/ui/layout.mjs +4 -0
- package/dist/ui/modal.d.mts +28 -0
- package/dist/ui/modal.d.ts +28 -0
- package/dist/ui/modal.js +49 -0
- package/dist/ui/modal.mjs +4 -0
- package/dist/ui/popover.d.mts +10 -0
- package/dist/ui/popover.d.ts +10 -0
- package/dist/ui/popover.js +25 -0
- package/dist/ui/popover.mjs +4 -0
- package/dist/ui/radio-group.d.mts +8 -0
- package/dist/ui/radio-group.d.ts +8 -0
- package/dist/ui/radio-group.js +17 -0
- package/dist/ui/radio-group.mjs +4 -0
- package/dist/ui/select.d.mts +28 -0
- package/dist/ui/select.d.ts +28 -0
- package/dist/ui/select.js +49 -0
- package/dist/ui/select.mjs +4 -0
- package/dist/ui/sheet.d.mts +16 -0
- package/dist/ui/sheet.d.ts +16 -0
- package/dist/ui/sheet.js +39 -0
- package/dist/ui/sheet.mjs +2 -0
- package/dist/ui/slider.d.mts +10 -0
- package/dist/ui/slider.d.ts +10 -0
- package/dist/ui/slider.js +13 -0
- package/dist/ui/slider.mjs +4 -0
- package/dist/ui/switch.d.mts +7 -0
- package/dist/ui/switch.d.ts +7 -0
- package/dist/ui/switch.js +13 -0
- package/dist/ui/switch.mjs +4 -0
- package/dist/ui/tabs.d.mts +16 -0
- package/dist/ui/tabs.d.ts +16 -0
- package/dist/ui/tabs.js +26 -0
- package/dist/ui/tabs.mjs +5 -0
- package/dist/ui/textarea.d.mts +16 -0
- package/dist/ui/textarea.d.ts +16 -0
- package/dist/ui/textarea.js +13 -0
- package/dist/ui/textarea.mjs +4 -0
- package/dist/ui/theme-context.d.mts +17 -0
- package/dist/ui/theme-context.d.ts +17 -0
- package/dist/ui/theme-context.js +17 -0
- package/dist/ui/theme-context.mjs +4 -0
- package/dist/ui/timeline.d.mts +23 -0
- package/dist/ui/timeline.d.ts +23 -0
- package/dist/ui/timeline.js +15 -0
- package/dist/ui/timeline.mjs +6 -0
- package/dist/ui/toast.d.mts +7 -0
- package/dist/ui/toast.d.ts +7 -0
- package/dist/ui/toast.js +14 -0
- package/dist/ui/toast.mjs +1 -0
- package/dist/ui/toggle-group.d.mts +12 -0
- package/dist/ui/toggle-group.d.ts +12 -0
- package/dist/ui/toggle-group.js +18 -0
- package/dist/ui/toggle-group.mjs +5 -0
- package/dist/ui/toggle.d.mts +13 -0
- package/dist/ui/toggle.d.ts +13 -0
- package/dist/ui/toggle.js +17 -0
- package/dist/ui/toggle.mjs +4 -0
- package/dist/ui/tooltip.d.mts +10 -0
- package/dist/ui/tooltip.d.ts +10 -0
- package/dist/ui/tooltip.js +25 -0
- package/dist/ui/tooltip.mjs +4 -0
- package/dist/ui/tree-view-v2.d.mts +25 -0
- package/dist/ui/tree-view-v2.d.ts +25 -0
- package/dist/ui/tree-view-v2.js +14 -0
- package/dist/ui/tree-view-v2.mjs +5 -0
- package/dist/ui/tree-view.d.mts +28 -0
- package/dist/ui/tree-view.d.ts +28 -0
- package/dist/ui/tree-view.js +11 -0
- package/dist/ui/tree-view.mjs +2 -0
- package/dist/ui/version-badge.d.mts +26 -0
- package/dist/ui/version-badge.d.ts +26 -0
- package/dist/ui/version-badge.js +14 -0
- package/dist/ui/version-badge.mjs +5 -0
- package/dist/utils/cn.d.mts +5 -0
- package/dist/utils/cn.d.ts +5 -0
- package/dist/utils/cn.js +10 -0
- package/dist/utils/cn.mjs +1 -0
- package/dist/utils/index.d.mts +3 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +16 -0
- package/dist/utils/index.mjs +3 -0
- package/dist/utils/use-local-storage.d.mts +3 -0
- package/dist/utils/use-local-storage.d.ts +3 -0
- package/dist/utils/use-local-storage.js +10 -0
- package/dist/utils/use-local-storage.mjs +1 -0
- package/package.json +3 -2
- package/src/ui/version-badge.tsx +5 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EnhancedComponentProps } from './types.mjs';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { Textarea } from '../ui/textarea.mjs';
|
|
4
|
+
import { TabsProps } from '../ui/tabs.mjs';
|
|
5
|
+
import { ButtonProps } from '../ui/button.mjs';
|
|
6
|
+
import { InputRootProps } from '../ui/input.mjs';
|
|
7
|
+
import { SelectTrigger } from '../ui/select.mjs';
|
|
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 };
|
|
@@ -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 };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkV4KNORQN_js = require('../chunk-V4KNORQN.js');
|
|
4
|
+
require('../chunk-MZ4POL3U.js');
|
|
5
|
+
require('../chunk-IXHMIR5P.js');
|
|
6
|
+
require('../chunk-5OUTEHVX.js');
|
|
7
|
+
require('../chunk-SKO72K64.js');
|
|
8
|
+
require('../chunk-UFHMEEGL.js');
|
|
9
|
+
require('../chunk-OQ237S4Z.js');
|
|
10
|
+
require('../chunk-XWS4SIB5.js');
|
|
11
|
+
require('../chunk-EOFYA6CS.js');
|
|
12
|
+
require('../chunk-XXWQ4RVP.js');
|
|
13
|
+
require('../chunk-CLTLT5XW.js');
|
|
14
|
+
require('../chunk-OTPUWWEB.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
Object.defineProperty(exports, "CursorButton", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkV4KNORQN_js.CursorButton; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "CursorInputRoot", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkV4KNORQN_js.CursorInputRoot; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "CursorSelectTrigger", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkV4KNORQN_js.CursorSelectTrigger; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "CursorTabs", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkV4KNORQN_js.CursorTabs; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "CursorTextarea", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkV4KNORQN_js.CursorTextarea; }
|
|
37
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-HLJ7PQA7.mjs';
|
|
2
|
+
import '../chunk-QVUX6LLD.mjs';
|
|
3
|
+
import '../chunk-MRVMXKZO.mjs';
|
|
4
|
+
import '../chunk-DDOX4EEM.mjs';
|
|
5
|
+
import '../chunk-QYRRQ65X.mjs';
|
|
6
|
+
import '../chunk-44KW6PTD.mjs';
|
|
7
|
+
import '../chunk-VXHM7V6F.mjs';
|
|
8
|
+
import '../chunk-M4IVLZIH.mjs';
|
|
9
|
+
import '../chunk-Q5KEB4UK.mjs';
|
|
10
|
+
import '../chunk-KTNZSZ5Y.mjs';
|
|
11
|
+
import '../chunk-3FR3WKI4.mjs';
|
|
12
|
+
import '../chunk-XMG3IVGZ.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';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-KJ42IGH6.js');
|
|
4
|
+
var chunkQEY7BWIR_js = require('../chunk-QEY7BWIR.js');
|
|
5
|
+
var chunkV4KNORQN_js = require('../chunk-V4KNORQN.js');
|
|
6
|
+
require('../chunk-MZ4POL3U.js');
|
|
7
|
+
require('../chunk-IXHMIR5P.js');
|
|
8
|
+
require('../chunk-5OUTEHVX.js');
|
|
9
|
+
require('../chunk-SKO72K64.js');
|
|
10
|
+
var chunkUFHMEEGL_js = require('../chunk-UFHMEEGL.js');
|
|
11
|
+
require('../chunk-OQ237S4Z.js');
|
|
12
|
+
require('../chunk-XWS4SIB5.js');
|
|
13
|
+
require('../chunk-EOFYA6CS.js');
|
|
14
|
+
require('../chunk-XXWQ4RVP.js');
|
|
15
|
+
require('../chunk-CLTLT5XW.js');
|
|
16
|
+
var chunkOTPUWWEB_js = require('../chunk-OTPUWWEB.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Object.defineProperty(exports, "CursorProvider", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkQEY7BWIR_js.CursorProvider; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "CursorButton", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkV4KNORQN_js.CursorButton; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "CursorInputRoot", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkV4KNORQN_js.CursorInputRoot; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "CursorSelectTrigger", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkV4KNORQN_js.CursorSelectTrigger; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "CursorTabs", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkV4KNORQN_js.CursorTabs; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "CursorTextarea", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkV4KNORQN_js.CursorTextarea; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "withCursor", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkUFHMEEGL_js.withCursor; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "TabsCursorProvider", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkOTPUWWEB_js.TabsCursorProvider; }
|
|
51
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '../chunk-VGCVIHBR.mjs';
|
|
2
|
+
export { CursorProvider } from '../chunk-OOI3SJDU.mjs';
|
|
3
|
+
export { CursorButton, CursorInputRoot, CursorSelectTrigger, CursorTabs, CursorTextarea } from '../chunk-HLJ7PQA7.mjs';
|
|
4
|
+
import '../chunk-QVUX6LLD.mjs';
|
|
5
|
+
import '../chunk-MRVMXKZO.mjs';
|
|
6
|
+
import '../chunk-DDOX4EEM.mjs';
|
|
7
|
+
import '../chunk-QYRRQ65X.mjs';
|
|
8
|
+
export { withCursor } from '../chunk-44KW6PTD.mjs';
|
|
9
|
+
import '../chunk-VXHM7V6F.mjs';
|
|
10
|
+
import '../chunk-M4IVLZIH.mjs';
|
|
11
|
+
import '../chunk-Q5KEB4UK.mjs';
|
|
12
|
+
import '../chunk-KTNZSZ5Y.mjs';
|
|
13
|
+
import '../chunk-3FR3WKI4.mjs';
|
|
14
|
+
export { TabsCursorProvider } from '../chunk-XMG3IVGZ.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,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOTPUWWEB_js = require('../chunk-OTPUWWEB.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "TabsCursorProvider", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkOTPUWWEB_js.TabsCursorProvider; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "useTabsCursor", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkOTPUWWEB_js.useTabsCursor; }
|
|
14
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabsCursorProvider, useTabsCursor } from '../chunk-XMG3IVGZ.mjs';
|
|
@@ -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 @@
|
|
|
1
|
+
|
|
@@ -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 };
|