@ansh-ui/vue 0.2.0 → 0.3.0
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-B6OXKW5Q.js → chunk-AL4PPK25.js} +5 -2
- package/dist/chunk-AL4PPK25.js.map +1 -0
- package/dist/{chunk-5BQEZYG6.cjs → chunk-FK536ZUI.cjs} +15 -15
- package/dist/{chunk-5BQEZYG6.cjs.map → chunk-FK536ZUI.cjs.map} +1 -1
- package/dist/{chunk-TMG3M6TK.js → chunk-G2OX2NH2.js} +3 -3
- package/dist/chunk-G2OX2NH2.js.map +1 -0
- package/dist/{chunk-2VSROZ2N.js → chunk-HIVA75XC.js} +3 -3
- package/dist/{chunk-2VSROZ2N.js.map → chunk-HIVA75XC.js.map} +1 -1
- package/dist/{chunk-KCA7RNJ4.cjs → chunk-IHH6KMBY.cjs} +239 -5
- package/dist/chunk-IHH6KMBY.cjs.map +1 -0
- package/dist/{chunk-IOXGBPOV.cjs → chunk-IK3E4MPB.cjs} +3 -3
- package/dist/chunk-IK3E4MPB.cjs.map +1 -0
- package/dist/{chunk-SOYRICHU.js → chunk-LRTNIUAG.js} +3 -3
- package/dist/chunk-LRTNIUAG.js.map +1 -0
- package/dist/{chunk-EISHOEB6.cjs → chunk-MWGVDY6K.cjs} +3 -3
- package/dist/chunk-MWGVDY6K.cjs.map +1 -0
- package/dist/{chunk-T425FIC7.js → chunk-NKRPZTQA.js} +238 -5
- package/dist/chunk-NKRPZTQA.js.map +1 -0
- package/dist/{chunk-JQ4YLXXM.cjs → chunk-PNR4RQ4T.cjs} +5 -2
- package/dist/chunk-PNR4RQ4T.cjs.map +1 -0
- package/dist/data.d.cts +15 -14
- package/dist/data.d.ts +15 -14
- package/dist/form.cjs +36 -36
- package/dist/form.d.cts +32 -31
- package/dist/form.d.ts +32 -31
- package/dist/form.js +1 -1
- package/dist/index.cjs +159 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -8
- package/dist/index.d.ts +33 -8
- package/dist/index.js +27 -11
- package/dist/index.js.map +1 -1
- package/dist/layout.cjs +13 -13
- package/dist/layout.d.cts +24 -15
- package/dist/layout.d.ts +24 -15
- package/dist/layout.js +1 -1
- package/dist/motion.d.cts +14 -13
- package/dist/motion.d.ts +14 -13
- package/dist/navigation.cjs +13 -9
- package/dist/navigation.d.cts +124 -3
- package/dist/navigation.d.ts +124 -3
- package/dist/navigation.js +2 -2
- package/dist/overlay.cjs +14 -14
- package/dist/overlay.d.cts +9 -8
- package/dist/overlay.d.ts +9 -8
- package/dist/overlay.js +2 -2
- package/dist/{position-Cn7qP1pn.d.cts → position-CiY171HP.d.cts} +2 -1
- package/dist/{position-Cn7qP1pn.d.ts → position-CiY171HP.d.ts} +2 -1
- package/dist/primitives.cjs +6 -6
- package/dist/primitives.d.cts +6 -5
- package/dist/primitives.d.ts +6 -5
- package/dist/primitives.js +1 -1
- package/dist/{sidebar-CTZ-Ckko.d.ts → sidebar-B9zDHMbn.d.cts} +5 -4
- package/dist/{sidebar-CQqEmpid.d.cts → sidebar-DMrKHqZ5.d.ts} +5 -4
- package/dist/styles.css +464 -0
- package/dist/{utils-IKPG3zcC.d.cts → utils-D4XwXDeX.d.cts} +2 -1
- package/dist/{utils-IKPG3zcC.d.ts → utils-D4XwXDeX.d.ts} +2 -1
- package/package.json +3 -3
- package/dist/chunk-B6OXKW5Q.js.map +0 -1
- package/dist/chunk-EISHOEB6.cjs.map +0 -1
- package/dist/chunk-IOXGBPOV.cjs.map +0 -1
- package/dist/chunk-JQ4YLXXM.cjs.map +0 -1
- package/dist/chunk-KCA7RNJ4.cjs.map +0 -1
- package/dist/chunk-SOYRICHU.js.map +0 -1
- package/dist/chunk-T425FIC7.js.map +0 -1
- package/dist/chunk-TMG3M6TK.js.map +0 -1
package/dist/overlay.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFK536ZUI_cjs = require('./chunk-FK536ZUI.cjs');
|
|
4
4
|
require('./chunk-DMPNT3MY.cjs');
|
|
5
5
|
require('./chunk-XLLSS464.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-MWGVDY6K.cjs');
|
|
7
7
|
require('./chunk-774WBLDR.cjs');
|
|
8
8
|
require('./chunk-6732H4BQ.cjs');
|
|
9
9
|
|
|
@@ -11,51 +11,51 @@ require('./chunk-6732H4BQ.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "AlertDialog", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkFK536ZUI_cjs.AlertDialog; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ContextMenu", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkFK536ZUI_cjs.ContextMenu; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "Dialog", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkFK536ZUI_cjs.Dialog; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "DialogFooter", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkFK536ZUI_cjs.DialogFooter; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "Drawer", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkFK536ZUI_cjs.Drawer; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkFK536ZUI_cjs.DropdownMenu; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "HoverCard", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkFK536ZUI_cjs.HoverCard; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "Popover", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkFK536ZUI_cjs.Popover; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "PopoverContent", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkFK536ZUI_cjs.PopoverContent; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkFK536ZUI_cjs.PopoverTrigger; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "Tooltip", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkFK536ZUI_cjs.Tooltip; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkFK536ZUI_cjs.TooltipProvider; }
|
|
59
59
|
});
|
|
60
60
|
//# sourceMappingURL=overlay.cjs.map
|
|
61
61
|
//# sourceMappingURL=overlay.cjs.map
|
package/dist/overlay.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, Ref, VNode } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Placement } from './index.cjs';
|
|
4
|
+
import { SlotContent } from './index.cjs';
|
|
5
5
|
|
|
6
6
|
declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
7
|
open: {
|
|
@@ -55,9 +55,9 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
55
55
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
open: boolean;
|
|
58
|
+
defaultOpen: boolean;
|
|
58
59
|
placement: Placement;
|
|
59
60
|
offset: number;
|
|
60
|
-
defaultOpen: boolean;
|
|
61
61
|
modal: boolean;
|
|
62
62
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const PopoverTrigger: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -113,8 +113,8 @@ declare const PopoverContent: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
113
113
|
};
|
|
114
114
|
}>> & Readonly<{}>, {
|
|
115
115
|
label: string;
|
|
116
|
-
matchWidth: boolean;
|
|
117
116
|
arrow: boolean;
|
|
117
|
+
matchWidth: boolean;
|
|
118
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
119
119
|
/**
|
|
120
120
|
* A rich preview shown on hover — a user card on an @mention, a link preview.
|
|
@@ -255,8 +255,8 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
255
255
|
default: boolean;
|
|
256
256
|
};
|
|
257
257
|
}>> & Readonly<{}>, {
|
|
258
|
-
disabled: boolean;
|
|
259
258
|
delay: number;
|
|
259
|
+
disabled: boolean;
|
|
260
260
|
placement: Placement;
|
|
261
261
|
arrow: boolean;
|
|
262
262
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -595,8 +595,8 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
595
595
|
}>, {
|
|
596
596
|
size: string;
|
|
597
597
|
description: SlotContent;
|
|
598
|
-
open: boolean;
|
|
599
598
|
side: DrawerSide;
|
|
599
|
+
open: boolean;
|
|
600
600
|
defaultOpen: boolean;
|
|
601
601
|
modal: boolean;
|
|
602
602
|
showClose: boolean;
|
|
@@ -732,8 +732,8 @@ declare const DropdownMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
732
732
|
}>, {
|
|
733
733
|
label: string;
|
|
734
734
|
open: boolean;
|
|
735
|
-
placement: Placement;
|
|
736
735
|
defaultOpen: boolean;
|
|
736
|
+
placement: Placement;
|
|
737
737
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
738
738
|
/**
|
|
739
739
|
* A right-click menu.
|
|
@@ -769,4 +769,5 @@ declare const ContextMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
769
769
|
label: string;
|
|
770
770
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
771
771
|
|
|
772
|
-
export { AlertDialog, ContextMenu, Dialog, DialogFooter,
|
|
772
|
+
export { AlertDialog, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider };
|
|
773
|
+
export type { DialogSize, DrawerSide, MenuAction, MenuCheckbox, MenuEntry, MenuRadioGroup, MenuSubmenu };
|
package/dist/overlay.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, Ref, VNode } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Placement } from './index.js';
|
|
4
|
+
import { SlotContent } from './index.js';
|
|
5
5
|
|
|
6
6
|
declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
7
|
open: {
|
|
@@ -55,9 +55,9 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
55
55
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
open: boolean;
|
|
58
|
+
defaultOpen: boolean;
|
|
58
59
|
placement: Placement;
|
|
59
60
|
offset: number;
|
|
60
|
-
defaultOpen: boolean;
|
|
61
61
|
modal: boolean;
|
|
62
62
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const PopoverTrigger: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -113,8 +113,8 @@ declare const PopoverContent: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
113
113
|
};
|
|
114
114
|
}>> & Readonly<{}>, {
|
|
115
115
|
label: string;
|
|
116
|
-
matchWidth: boolean;
|
|
117
116
|
arrow: boolean;
|
|
117
|
+
matchWidth: boolean;
|
|
118
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
119
119
|
/**
|
|
120
120
|
* A rich preview shown on hover — a user card on an @mention, a link preview.
|
|
@@ -255,8 +255,8 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
255
255
|
default: boolean;
|
|
256
256
|
};
|
|
257
257
|
}>> & Readonly<{}>, {
|
|
258
|
-
disabled: boolean;
|
|
259
258
|
delay: number;
|
|
259
|
+
disabled: boolean;
|
|
260
260
|
placement: Placement;
|
|
261
261
|
arrow: boolean;
|
|
262
262
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -595,8 +595,8 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
595
595
|
}>, {
|
|
596
596
|
size: string;
|
|
597
597
|
description: SlotContent;
|
|
598
|
-
open: boolean;
|
|
599
598
|
side: DrawerSide;
|
|
599
|
+
open: boolean;
|
|
600
600
|
defaultOpen: boolean;
|
|
601
601
|
modal: boolean;
|
|
602
602
|
showClose: boolean;
|
|
@@ -732,8 +732,8 @@ declare const DropdownMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
732
732
|
}>, {
|
|
733
733
|
label: string;
|
|
734
734
|
open: boolean;
|
|
735
|
-
placement: Placement;
|
|
736
735
|
defaultOpen: boolean;
|
|
736
|
+
placement: Placement;
|
|
737
737
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
738
738
|
/**
|
|
739
739
|
* A right-click menu.
|
|
@@ -769,4 +769,5 @@ declare const ContextMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
769
769
|
label: string;
|
|
770
770
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
771
771
|
|
|
772
|
-
export { AlertDialog, ContextMenu, Dialog, DialogFooter,
|
|
772
|
+
export { AlertDialog, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider };
|
|
773
|
+
export type { DialogSize, DrawerSide, MenuAction, MenuCheckbox, MenuEntry, MenuRadioGroup, MenuSubmenu };
|
package/dist/overlay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AlertDialog, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider } from './chunk-
|
|
1
|
+
export { AlertDialog, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider } from './chunk-HIVA75XC.js';
|
|
2
2
|
import './chunk-6XJOB6LE.js';
|
|
3
3
|
import './chunk-XZ5ZFLZM.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-G2OX2NH2.js';
|
|
5
5
|
import './chunk-OAQ7MDYX.js';
|
|
6
6
|
import './chunk-NJDDNO4C.js';
|
|
7
7
|
//# sourceMappingURL=overlay.js.map
|
|
@@ -47,4 +47,5 @@ interface PositionResult {
|
|
|
47
47
|
}
|
|
48
48
|
declare function computePosition(anchor: Rect, floating: Rect, viewport: Rect, options?: PositionOptions): PositionResult;
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { computePosition as c };
|
|
51
|
+
export type { Align as A, Placement as P, Rect as R, Side as S, PositionOptions as a, PositionResult as b };
|
|
@@ -47,4 +47,5 @@ interface PositionResult {
|
|
|
47
47
|
}
|
|
48
48
|
declare function computePosition(anchor: Rect, floating: Rect, viewport: Rect, options?: PositionOptions): PositionResult;
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { computePosition as c };
|
|
51
|
+
export type { Align as A, Placement as P, Rect as R, Side as S, PositionOptions as a, PositionResult as b };
|
package/dist/primitives.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkDMPNT3MY_cjs = require('./chunk-DMPNT3MY.cjs');
|
|
4
4
|
var chunkXLLSS464_cjs = require('./chunk-XLLSS464.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkMWGVDY6K_cjs = require('./chunk-MWGVDY6K.cjs');
|
|
6
6
|
var chunk774WBLDR_cjs = require('./chunk-774WBLDR.cjs');
|
|
7
7
|
var chunkPP6OYURM_cjs = require('./chunk-PP6OYURM.cjs');
|
|
8
8
|
var chunk6732H4BQ_cjs = require('./chunk-6732H4BQ.cjs');
|
|
@@ -35,23 +35,23 @@ Object.defineProperty(exports, "useScrollLock", {
|
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "getTabbable", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkMWGVDY6K_cjs.getTabbable; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "useAutoFocus", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkMWGVDY6K_cjs.useAutoFocus; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "useFocusRestore", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkMWGVDY6K_cjs.useFocusRestore; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "useFocusTrap", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkMWGVDY6K_cjs.useFocusTrap; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "useRovingFocus", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkMWGVDY6K_cjs.useRovingFocus; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "useControllableState", {
|
|
57
57
|
enumerable: true,
|
package/dist/primitives.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as ReadonlyRef } from './utils-
|
|
2
|
-
export { S as SlotContent, c as cx, r as resolveSlotContent, u as useId } from './utils-
|
|
3
|
-
import { b as PositionResult, a as PositionOptions } from './position-
|
|
4
|
-
export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-
|
|
1
|
+
import { R as ReadonlyRef } from './utils-D4XwXDeX.cjs';
|
|
2
|
+
export { S as SlotContent, c as cx, r as resolveSlotContent, u as useId } from './utils-D4XwXDeX.cjs';
|
|
3
|
+
import { b as PositionResult, a as PositionOptions } from './position-CiY171HP.cjs';
|
|
4
|
+
export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-CiY171HP.cjs';
|
|
5
5
|
import { ComputedRef, Ref, ShallowRef } from 'vue';
|
|
6
6
|
import * as _ansh_ui_core from '@ansh-ui/core';
|
|
7
7
|
import { BudgetReport, PointerState, ScrollTrackOptions, ScrollProgress, FrameState, MotionValue, AnimationOptions, SpringOptions } from '@ansh-ui/core';
|
|
@@ -297,4 +297,5 @@ declare function useAnimate(): <T>(from: T | MotionValue<T>, to: T | readonly T[
|
|
|
297
297
|
*/
|
|
298
298
|
declare function useAnimatedFrom<Source, T>(source: Ref<Source>, target: MotionValue<T>, map: (value: Source) => T, options?: AnimationOptions<T>): void;
|
|
299
299
|
|
|
300
|
-
export {
|
|
300
|
+
export { PositionOptions, PositionResult, ReadonlyRef, getLayerStack, getTabbable, useAnchoredPosition, useAnimate, useAnimatedFrom, useAutoFocus, useControllableState, useDismiss, useElementSize, useFocusRestore, useFocusTrap, useFrameBudget, useInView, useMotionRef, useMotionStyle, useMotionValue, usePointer, usePresence, useReducedMotion, useRovingFocus, useScrollLock, useScrollProgress, useSpringValue, useTicker, useWindowScroll };
|
|
301
|
+
export type { AnchoredPosition, AnchoredPositionOptions, DismissOptions, UseInViewOptions };
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as ReadonlyRef } from './utils-
|
|
2
|
-
export { S as SlotContent, c as cx, r as resolveSlotContent, u as useId } from './utils-
|
|
3
|
-
import { b as PositionResult, a as PositionOptions } from './position-
|
|
4
|
-
export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-
|
|
1
|
+
import { R as ReadonlyRef } from './utils-D4XwXDeX.js';
|
|
2
|
+
export { S as SlotContent, c as cx, r as resolveSlotContent, u as useId } from './utils-D4XwXDeX.js';
|
|
3
|
+
import { b as PositionResult, a as PositionOptions } from './position-CiY171HP.js';
|
|
4
|
+
export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-CiY171HP.js';
|
|
5
5
|
import { ComputedRef, Ref, ShallowRef } from 'vue';
|
|
6
6
|
import * as _ansh_ui_core from '@ansh-ui/core';
|
|
7
7
|
import { BudgetReport, PointerState, ScrollTrackOptions, ScrollProgress, FrameState, MotionValue, AnimationOptions, SpringOptions } from '@ansh-ui/core';
|
|
@@ -297,4 +297,5 @@ declare function useAnimate(): <T>(from: T | MotionValue<T>, to: T | readonly T[
|
|
|
297
297
|
*/
|
|
298
298
|
declare function useAnimatedFrom<Source, T>(source: Ref<Source>, target: MotionValue<T>, map: (value: Source) => T, options?: AnimationOptions<T>): void;
|
|
299
299
|
|
|
300
|
-
export {
|
|
300
|
+
export { PositionOptions, PositionResult, ReadonlyRef, getLayerStack, getTabbable, useAnchoredPosition, useAnimate, useAnimatedFrom, useAutoFocus, useControllableState, useDismiss, useElementSize, useFocusRestore, useFocusTrap, useFrameBudget, useInView, useMotionRef, useMotionStyle, useMotionValue, usePointer, usePresence, useReducedMotion, useRovingFocus, useScrollLock, useScrollProgress, useSpringValue, useTicker, useWindowScroll };
|
|
301
|
+
export type { AnchoredPosition, AnchoredPositionOptions, DismissOptions, UseInViewOptions };
|
package/dist/primitives.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { usePresence } from './chunk-6XJOB6LE.js';
|
|
2
2
|
export { computePosition, getLayerStack, useAnchoredPosition, useDismiss, useScrollLock } from './chunk-XZ5ZFLZM.js';
|
|
3
|
-
export { getTabbable, useAutoFocus, useFocusRestore, useFocusTrap, useRovingFocus } from './chunk-
|
|
3
|
+
export { getTabbable, useAutoFocus, useFocusRestore, useFocusTrap, useRovingFocus } from './chunk-G2OX2NH2.js';
|
|
4
4
|
export { useControllableState } from './chunk-OAQ7MDYX.js';
|
|
5
5
|
export { useAnimate, useAnimatedFrom, useElementSize, useFrameBudget, useInView, useMotionRef, useMotionStyle, useMotionValue, usePointer, useReducedMotion, useScrollProgress, useSpringValue, useTicker, useWindowScroll } from './chunk-EVO23GUS.js';
|
|
6
6
|
export { cx, resolveSlotContent, useId } from './chunk-NJDDNO4C.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { VNode, PropType } from 'vue';
|
|
3
|
-
import { S as SlotContent } from './utils-
|
|
3
|
+
import { S as SlotContent } from './utils-D4XwXDeX.cjs';
|
|
4
4
|
|
|
5
5
|
interface NavItem {
|
|
6
6
|
id: string;
|
|
@@ -65,7 +65,7 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
65
65
|
};
|
|
66
66
|
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
67
67
|
[key: string]: any;
|
|
68
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
68
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:collapsed" | "navigate")[], "update:collapsed" | "navigate", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
69
69
|
sections: {
|
|
70
70
|
type: PropType<readonly NavSection[]>;
|
|
71
71
|
required: true;
|
|
@@ -94,8 +94,8 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
94
94
|
default: string;
|
|
95
95
|
};
|
|
96
96
|
}>> & Readonly<{
|
|
97
|
-
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
98
97
|
"onUpdate:collapsed"?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
label: string;
|
|
101
101
|
activeId: string;
|
|
@@ -121,4 +121,5 @@ declare const AppShell: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vu
|
|
|
121
121
|
[key: string]: any;
|
|
122
122
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
|
|
124
|
-
export { AppShell as A,
|
|
124
|
+
export { AppShell as A, Sidebar as S };
|
|
125
|
+
export type { NavItem as N, NavSection as a };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { VNode, PropType } from 'vue';
|
|
3
|
-
import { S as SlotContent } from './utils-
|
|
3
|
+
import { S as SlotContent } from './utils-D4XwXDeX.js';
|
|
4
4
|
|
|
5
5
|
interface NavItem {
|
|
6
6
|
id: string;
|
|
@@ -65,7 +65,7 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
65
65
|
};
|
|
66
66
|
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
67
67
|
[key: string]: any;
|
|
68
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
68
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:collapsed" | "navigate")[], "update:collapsed" | "navigate", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
69
69
|
sections: {
|
|
70
70
|
type: PropType<readonly NavSection[]>;
|
|
71
71
|
required: true;
|
|
@@ -94,8 +94,8 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
94
94
|
default: string;
|
|
95
95
|
};
|
|
96
96
|
}>> & Readonly<{
|
|
97
|
-
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
98
97
|
"onUpdate:collapsed"?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
label: string;
|
|
101
101
|
activeId: string;
|
|
@@ -121,4 +121,5 @@ declare const AppShell: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vu
|
|
|
121
121
|
[key: string]: any;
|
|
122
122
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
|
|
124
|
-
export { AppShell as A,
|
|
124
|
+
export { AppShell as A, Sidebar as S };
|
|
125
|
+
export type { NavItem as N, NavSection as a };
|