@ansh-ui/react 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-RHTLNSVW.cjs → chunk-3SWO2M33.cjs} +7 -7
- package/dist/chunk-3SWO2M33.cjs.map +1 -0
- package/dist/{chunk-HO2YSF5O.js → chunk-742E5FQS.js} +3 -3
- package/dist/chunk-742E5FQS.js.map +1 -0
- package/dist/{chunk-EGG4CP7C.js → chunk-BQJ6H3HC.js} +3 -2
- package/dist/chunk-BQJ6H3HC.js.map +1 -0
- package/dist/{chunk-LDCZQP3R.js → chunk-CWYBOVCZ.js} +3 -3
- package/dist/{chunk-LDCZQP3R.js.map → chunk-CWYBOVCZ.js.map} +1 -1
- package/dist/{chunk-AVPEA5PB.cjs → chunk-IZ6T7LO3.cjs} +4 -4
- package/dist/{chunk-AVPEA5PB.cjs.map → chunk-IZ6T7LO3.cjs.map} +1 -1
- package/dist/{chunk-C32LKF23.cjs → chunk-KTLTYHAT.cjs} +3 -3
- package/dist/chunk-KTLTYHAT.cjs.map +1 -0
- package/dist/{chunk-IBXLC5IE.js → chunk-P5MRISBP.js} +19 -3
- package/dist/chunk-P5MRISBP.js.map +1 -0
- package/dist/{chunk-WGYNCSTP.cjs → chunk-PUW6BTPQ.cjs} +3 -2
- package/dist/chunk-PUW6BTPQ.cjs.map +1 -0
- package/dist/{chunk-T4AK2KLM.js → chunk-PVDQPVYF.js} +3 -3
- package/dist/{chunk-T4AK2KLM.js.map → chunk-PVDQPVYF.js.map} +1 -1
- package/dist/{chunk-6VRF7X5C.cjs → chunk-TEPQGFR4.cjs} +19 -2
- package/dist/chunk-TEPQGFR4.cjs.map +1 -0
- package/dist/{chunk-QO3E7TJS.js → chunk-WNWGYXJY.js} +4 -4
- package/dist/chunk-WNWGYXJY.js.map +1 -0
- package/dist/{chunk-C5JG6TMM.cjs → chunk-YACOHFYJ.cjs} +27 -27
- package/dist/{chunk-C5JG6TMM.cjs.map → chunk-YACOHFYJ.cjs.map} +1 -1
- package/dist/data.d.cts +2 -1
- package/dist/data.d.ts +2 -1
- package/dist/form.cjs +37 -37
- package/dist/form.d.cts +2 -1
- package/dist/form.d.ts +2 -1
- package/dist/form.js +2 -2
- package/dist/index.cjs +641 -110
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +220 -7
- package/dist/index.d.ts +220 -7
- package/dist/index.js +526 -11
- package/dist/index.js.map +1 -1
- package/dist/layout.cjs +13 -13
- package/dist/layout.d.cts +11 -2
- package/dist/layout.d.ts +11 -2
- package/dist/layout.js +1 -1
- package/dist/{motion-CQmCq6_k.d.ts → motion-DoT_sTl1.d.ts} +3 -2
- package/dist/{motion-CSX4g2N8.d.cts → motion-DsQPOsTT.d.cts} +3 -2
- package/dist/motion.cjs +19 -19
- package/dist/motion.d.cts +2 -2
- package/dist/motion.d.ts +2 -2
- package/dist/motion.js +2 -2
- package/dist/navigation.d.cts +3 -2
- package/dist/navigation.d.ts +3 -2
- package/dist/overlay.cjs +16 -16
- package/dist/overlay.d.cts +3 -2
- package/dist/overlay.d.ts +3 -2
- package/dist/overlay.js +2 -2
- package/dist/{position-DVScKcaa.d.cts → position-CW6cGpSF.d.cts} +2 -1
- package/dist/{position-DVScKcaa.d.ts → position-CW6cGpSF.d.ts} +2 -1
- package/dist/primitives.cjs +25 -21
- package/dist/primitives.d.cts +5 -4
- package/dist/primitives.d.ts +5 -4
- package/dist/primitives.js +2 -2
- package/dist/{sidebar-D-PafAXw.d.cts → sidebar-Dyt67t2z.d.cts} +2 -1
- package/dist/{sidebar-D-PafAXw.d.ts → sidebar-Dyt67t2z.d.ts} +2 -1
- package/dist/styles.css +464 -0
- package/dist/{use-observers-B9qtimrk.d.cts → use-observers-DvA7hSz4.d.cts} +10 -1
- package/dist/{use-observers-B9qtimrk.d.ts → use-observers-DvA7hSz4.d.ts} +10 -1
- package/package.json +3 -3
- package/dist/chunk-6VRF7X5C.cjs.map +0 -1
- package/dist/chunk-C32LKF23.cjs.map +0 -1
- package/dist/chunk-EGG4CP7C.js.map +0 -1
- package/dist/chunk-HO2YSF5O.js.map +0 -1
- package/dist/chunk-IBXLC5IE.js.map +0 -1
- package/dist/chunk-QO3E7TJS.js.map +0 -1
- package/dist/chunk-RHTLNSVW.cjs.map +0 -1
- package/dist/chunk-WGYNCSTP.cjs.map +0 -1
package/dist/layout.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkPUW6BTPQ_cjs = require('./chunk-PUW6BTPQ.cjs');
|
|
5
5
|
var chunkZWAFLHC2_cjs = require('./chunk-ZWAFLHC2.cjs');
|
|
6
6
|
require('./chunk-PO5DU3FU.cjs');
|
|
7
7
|
require('./chunk-SFU5EPSN.cjs');
|
|
@@ -10,51 +10,51 @@ require('./chunk-SFU5EPSN.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AspectRatio", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPUW6BTPQ_cjs.AspectRatio; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Center", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPUW6BTPQ_cjs.Center; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Container", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPUW6BTPQ_cjs.Container; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "Divider", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPUW6BTPQ_cjs.Divider; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "Grid", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkPUW6BTPQ_cjs.Grid; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "GridItem", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkPUW6BTPQ_cjs.GridItem; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "HStack", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkPUW6BTPQ_cjs.HStack; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "Resizable", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkPUW6BTPQ_cjs.Resizable; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ScrollArea", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkPUW6BTPQ_cjs.ScrollArea; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "Spacer", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkPUW6BTPQ_cjs.Spacer; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "Stack", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkPUW6BTPQ_cjs.Stack; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "VStack", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkPUW6BTPQ_cjs.VStack; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "AppShell", {
|
|
60
60
|
enumerable: true,
|
package/dist/layout.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ElementType, ReactNode, CSSProperties } from 'react';
|
|
3
|
-
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-
|
|
3
|
+
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-Dyt67t2z.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Layout primitives.
|
|
@@ -19,6 +19,7 @@ interface BaseProps extends HTMLAttributes<HTMLElement> {
|
|
|
19
19
|
as?: ElementType;
|
|
20
20
|
children?: ReactNode;
|
|
21
21
|
}
|
|
22
|
+
|
|
22
23
|
interface StackProps extends BaseProps {
|
|
23
24
|
/** Default `'vertical'` — the direction that needs a helper more often. */
|
|
24
25
|
direction?: 'horizontal' | 'vertical';
|
|
@@ -49,6 +50,7 @@ declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttri
|
|
|
49
50
|
declare const HStack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLElement>>;
|
|
50
51
|
/** Vertical `Stack`, for symmetry with `HStack`. */
|
|
51
52
|
declare const VStack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLElement>>;
|
|
53
|
+
|
|
52
54
|
interface GridProps extends BaseProps {
|
|
53
55
|
/** Fixed column count, or `'auto'` for a responsive `auto-fill` track. */
|
|
54
56
|
columns?: number | 'auto';
|
|
@@ -73,6 +75,7 @@ interface GridItemProps extends BaseProps {
|
|
|
73
75
|
rowSpan?: number;
|
|
74
76
|
}
|
|
75
77
|
declare const GridItem: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLElement>>;
|
|
78
|
+
|
|
76
79
|
interface ContainerProps extends BaseProps {
|
|
77
80
|
/** Max content width. Default `'lg'` (72rem). */
|
|
78
81
|
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
@@ -81,6 +84,7 @@ interface ContainerProps extends BaseProps {
|
|
|
81
84
|
}
|
|
82
85
|
/** Centred, width-constrained page content. */
|
|
83
86
|
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
87
|
+
|
|
84
88
|
interface DividerProps extends Omit<BaseProps, 'children'> {
|
|
85
89
|
orientation?: 'horizontal' | 'vertical';
|
|
86
90
|
/** Optional label rendered in the middle of the rule. */
|
|
@@ -94,6 +98,7 @@ interface DividerProps extends Omit<BaseProps, 'children'> {
|
|
|
94
98
|
* announcing it as a separator loses the text.
|
|
95
99
|
*/
|
|
96
100
|
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
101
|
+
|
|
97
102
|
interface SpacerProps {
|
|
98
103
|
size?: SpaceToken;
|
|
99
104
|
/** Grow to absorb free space in a flex container. */
|
|
@@ -101,8 +106,10 @@ interface SpacerProps {
|
|
|
101
106
|
}
|
|
102
107
|
/** Explicit empty space. `grow` pushes siblings apart in a flex row. */
|
|
103
108
|
declare function Spacer({ size, grow }: SpacerProps): react.JSX.Element;
|
|
109
|
+
|
|
104
110
|
/** Centre a child on both axes. */
|
|
105
111
|
declare const Center: react.ForwardRefExoticComponent<BaseProps & react.RefAttributes<HTMLElement>>;
|
|
112
|
+
|
|
106
113
|
interface AspectRatioProps extends BaseProps {
|
|
107
114
|
/** Width ÷ height. `16 / 9` reads better than `1.777`. Default `16 / 9`. */
|
|
108
115
|
ratio?: number;
|
|
@@ -115,6 +122,7 @@ interface AspectRatioProps extends BaseProps {
|
|
|
115
122
|
* Shift penalty and the most common cause of a failing Core Web Vitals score.
|
|
116
123
|
*/
|
|
117
124
|
declare const AspectRatio: react.ForwardRefExoticComponent<AspectRatioProps & react.RefAttributes<HTMLElement>>;
|
|
125
|
+
|
|
118
126
|
interface ScrollAreaProps extends BaseProps {
|
|
119
127
|
/** Max height before scrolling starts. */
|
|
120
128
|
maxHeight?: string;
|
|
@@ -166,4 +174,5 @@ interface ResizableProps {
|
|
|
166
174
|
*/
|
|
167
175
|
declare function Resizable({ children, direction, defaultSize, size, onSizeChange, minSize, maxSize, snapPoints, className, label, }: ResizableProps): react.JSX.Element;
|
|
168
176
|
|
|
169
|
-
export { AspectRatio,
|
|
177
|
+
export { AspectRatio, Center, Container, Divider, Grid, GridItem, HStack, Resizable, ScrollArea, Spacer, Stack, VStack };
|
|
178
|
+
export type { AspectRatioProps, ContainerProps, DividerProps, GridItemProps, GridProps, ResizableProps, ScrollAreaProps, SpaceToken, SpacerProps, StackProps };
|
package/dist/layout.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ElementType, ReactNode, CSSProperties } from 'react';
|
|
3
|
-
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-
|
|
3
|
+
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-Dyt67t2z.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Layout primitives.
|
|
@@ -19,6 +19,7 @@ interface BaseProps extends HTMLAttributes<HTMLElement> {
|
|
|
19
19
|
as?: ElementType;
|
|
20
20
|
children?: ReactNode;
|
|
21
21
|
}
|
|
22
|
+
|
|
22
23
|
interface StackProps extends BaseProps {
|
|
23
24
|
/** Default `'vertical'` — the direction that needs a helper more often. */
|
|
24
25
|
direction?: 'horizontal' | 'vertical';
|
|
@@ -49,6 +50,7 @@ declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttri
|
|
|
49
50
|
declare const HStack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLElement>>;
|
|
50
51
|
/** Vertical `Stack`, for symmetry with `HStack`. */
|
|
51
52
|
declare const VStack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLElement>>;
|
|
53
|
+
|
|
52
54
|
interface GridProps extends BaseProps {
|
|
53
55
|
/** Fixed column count, or `'auto'` for a responsive `auto-fill` track. */
|
|
54
56
|
columns?: number | 'auto';
|
|
@@ -73,6 +75,7 @@ interface GridItemProps extends BaseProps {
|
|
|
73
75
|
rowSpan?: number;
|
|
74
76
|
}
|
|
75
77
|
declare const GridItem: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLElement>>;
|
|
78
|
+
|
|
76
79
|
interface ContainerProps extends BaseProps {
|
|
77
80
|
/** Max content width. Default `'lg'` (72rem). */
|
|
78
81
|
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
@@ -81,6 +84,7 @@ interface ContainerProps extends BaseProps {
|
|
|
81
84
|
}
|
|
82
85
|
/** Centred, width-constrained page content. */
|
|
83
86
|
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
87
|
+
|
|
84
88
|
interface DividerProps extends Omit<BaseProps, 'children'> {
|
|
85
89
|
orientation?: 'horizontal' | 'vertical';
|
|
86
90
|
/** Optional label rendered in the middle of the rule. */
|
|
@@ -94,6 +98,7 @@ interface DividerProps extends Omit<BaseProps, 'children'> {
|
|
|
94
98
|
* announcing it as a separator loses the text.
|
|
95
99
|
*/
|
|
96
100
|
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
101
|
+
|
|
97
102
|
interface SpacerProps {
|
|
98
103
|
size?: SpaceToken;
|
|
99
104
|
/** Grow to absorb free space in a flex container. */
|
|
@@ -101,8 +106,10 @@ interface SpacerProps {
|
|
|
101
106
|
}
|
|
102
107
|
/** Explicit empty space. `grow` pushes siblings apart in a flex row. */
|
|
103
108
|
declare function Spacer({ size, grow }: SpacerProps): react.JSX.Element;
|
|
109
|
+
|
|
104
110
|
/** Centre a child on both axes. */
|
|
105
111
|
declare const Center: react.ForwardRefExoticComponent<BaseProps & react.RefAttributes<HTMLElement>>;
|
|
112
|
+
|
|
106
113
|
interface AspectRatioProps extends BaseProps {
|
|
107
114
|
/** Width ÷ height. `16 / 9` reads better than `1.777`. Default `16 / 9`. */
|
|
108
115
|
ratio?: number;
|
|
@@ -115,6 +122,7 @@ interface AspectRatioProps extends BaseProps {
|
|
|
115
122
|
* Shift penalty and the most common cause of a failing Core Web Vitals score.
|
|
116
123
|
*/
|
|
117
124
|
declare const AspectRatio: react.ForwardRefExoticComponent<AspectRatioProps & react.RefAttributes<HTMLElement>>;
|
|
125
|
+
|
|
118
126
|
interface ScrollAreaProps extends BaseProps {
|
|
119
127
|
/** Max height before scrolling starts. */
|
|
120
128
|
maxHeight?: string;
|
|
@@ -166,4 +174,5 @@ interface ResizableProps {
|
|
|
166
174
|
*/
|
|
167
175
|
declare function Resizable({ children, direction, defaultSize, size, onSizeChange, minSize, maxSize, snapPoints, className, label, }: ResizableProps): react.JSX.Element;
|
|
168
176
|
|
|
169
|
-
export { AspectRatio,
|
|
177
|
+
export { AspectRatio, Center, Container, Divider, Grid, GridItem, HStack, Resizable, ScrollArea, Spacer, Stack, VStack };
|
|
178
|
+
export type { AspectRatioProps, ContainerProps, DividerProps, GridItemProps, GridProps, ResizableProps, ScrollAreaProps, SpaceToken, SpacerProps, StackProps };
|
package/dist/layout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AspectRatio, Center, Container, Divider, Grid, GridItem, HStack, Resizable, ScrollArea, Spacer, Stack, VStack } from './chunk-
|
|
2
|
+
export { AspectRatio, Center, Container, Divider, Grid, GridItem, HStack, Resizable, ScrollArea, Spacer, Stack, VStack } from './chunk-BQJ6H3HC.js';
|
|
3
3
|
export { AppShell, Sidebar } from './chunk-5CFQFMP5.js';
|
|
4
4
|
import './chunk-LXCIXR5T.js';
|
|
5
5
|
import './chunk-H34OXXJU.js';
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, CSSProperties, ElementType, ForwardRefExoticComponent, ComponentPropsWithoutRef, RefAttributes } from 'react';
|
|
3
3
|
import * as _ansh_ui_core from '@ansh-ui/core';
|
|
4
4
|
import { EasingInput, SpringOptions, springs, StaggerFrom, resolvePalette, BaseBehaviourOptions, BehaviourDefinition, ReducedMotionMode } from '@ansh-ui/core';
|
|
5
|
-
import './use-observers-
|
|
5
|
+
import './use-observers-DvA7hSz4.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Declarative motion.
|
|
@@ -392,4 +392,5 @@ declare const ScrollReveal: BehaviourComponent<_ansh_ui_core.ScrollRevealOptions
|
|
|
392
392
|
*/
|
|
393
393
|
declare const Parallax: BehaviourComponent<_ansh_ui_core.ParallaxOptions, HTMLElement>;
|
|
394
394
|
|
|
395
|
-
export { AnimatePresence as A,
|
|
395
|
+
export { AnimatePresence as A, Draggable as D, GradientText as G, MagneticButton as M, Parallax as P, Ripple as R, ScrollReveal as S, AnimatedText as b, Marquee as h, Motion as i, MotionConfig as j, ThemeProvider as o, TiltCard as r, createBehaviourComponent as s, themeScript as t, useBehaviour as u, useMotionConfig as v, useTheme as w };
|
|
396
|
+
export type { BehaviourComponent as B, ThemeContextValue as T, AnimatePresenceProps as a, AnimatedTextProps as c, BehaviourComponentBaseProps as d, BehaviourComponentProps as e, DraggableProps as f, GradientTextProps as g, MotionConfigProps as k, MotionConfigValue as l, MotionTransition as m, MotionValues as n, ThemeProviderProps as p, ThemeSetting as q };
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, CSSProperties, ElementType, ForwardRefExoticComponent, ComponentPropsWithoutRef, RefAttributes } from 'react';
|
|
3
3
|
import * as _ansh_ui_core from '@ansh-ui/core';
|
|
4
4
|
import { EasingInput, SpringOptions, springs, StaggerFrom, resolvePalette, BaseBehaviourOptions, BehaviourDefinition, ReducedMotionMode } from '@ansh-ui/core';
|
|
5
|
-
import './use-observers-
|
|
5
|
+
import './use-observers-DvA7hSz4.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Declarative motion.
|
|
@@ -392,4 +392,5 @@ declare const ScrollReveal: BehaviourComponent<_ansh_ui_core.ScrollRevealOptions
|
|
|
392
392
|
*/
|
|
393
393
|
declare const Parallax: BehaviourComponent<_ansh_ui_core.ParallaxOptions, HTMLElement>;
|
|
394
394
|
|
|
395
|
-
export { AnimatePresence as A,
|
|
395
|
+
export { AnimatePresence as A, Draggable as D, GradientText as G, MagneticButton as M, Parallax as P, Ripple as R, ScrollReveal as S, AnimatedText as b, Marquee as h, Motion as i, MotionConfig as j, ThemeProvider as o, TiltCard as r, createBehaviourComponent as s, themeScript as t, useBehaviour as u, useMotionConfig as v, useTheme as w };
|
|
396
|
+
export type { BehaviourComponent as B, ThemeContextValue as T, AnimatePresenceProps as a, AnimatedTextProps as c, BehaviourComponentBaseProps as d, BehaviourComponentProps as e, DraggableProps as f, GradientTextProps as g, MotionConfigProps as k, MotionConfigValue as l, MotionTransition as m, MotionValues as n, ThemeProviderProps as p, ThemeSetting as q };
|
package/dist/motion.cjs
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkIZ6T7LO3_cjs = require('./chunk-IZ6T7LO3.cjs');
|
|
5
|
+
var chunkTEPQGFR4_cjs = require('./chunk-TEPQGFR4.cjs');
|
|
6
6
|
require('./chunk-SFU5EPSN.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "AnimatePresence", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkIZ6T7LO3_cjs.AnimatePresence; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "AnimatedText", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkIZ6T7LO3_cjs.AnimatedText; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "Draggable", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkIZ6T7LO3_cjs.Draggable; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "GradientText", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkIZ6T7LO3_cjs.GradientText; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "MagneticButton", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkIZ6T7LO3_cjs.MagneticButton; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "Marquee", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkIZ6T7LO3_cjs.Marquee; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "Motion", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkIZ6T7LO3_cjs.Motion; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "MotionConfig", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkIZ6T7LO3_cjs.MotionConfig; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "Parallax", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkIZ6T7LO3_cjs.Parallax; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "Ripple", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkIZ6T7LO3_cjs.Ripple; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "ScrollReveal", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkIZ6T7LO3_cjs.ScrollReveal; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkIZ6T7LO3_cjs.ThemeProvider; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "TiltCard", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkIZ6T7LO3_cjs.TiltCard; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "themeScript", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkIZ6T7LO3_cjs.themeScript; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "useMotionConfig", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkIZ6T7LO3_cjs.useMotionConfig; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "useTheme", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkIZ6T7LO3_cjs.useTheme; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "useMergedRef", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkTEPQGFR4_cjs.useMergedRef; }
|
|
77
77
|
});
|
|
78
78
|
//# sourceMappingURL=motion.cjs.map
|
|
79
79
|
//# sourceMappingURL=motion.cjs.map
|
package/dist/motion.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AnimatePresence, a as AnimatePresenceProps, b as AnimatedText, c as AnimatedTextProps, D as Draggable, f as DraggableProps, G as GradientText, g as GradientTextProps, M as MagneticButton, h as Marquee, i as Motion, j as MotionConfig, k as MotionConfigProps, l as MotionConfigValue, m as MotionTransition, n as MotionValues, P as Parallax, R as Ripple, S as ScrollReveal, T as ThemeContextValue, o as ThemeProvider, p as ThemeProviderProps, q as ThemeSetting, r as TiltCard, t as themeScript, v as useMotionConfig, w as useTheme } from './motion-
|
|
2
|
-
export { c as useMergedRef } from './use-observers-
|
|
1
|
+
export { A as AnimatePresence, a as AnimatePresenceProps, b as AnimatedText, c as AnimatedTextProps, D as Draggable, f as DraggableProps, G as GradientText, g as GradientTextProps, M as MagneticButton, h as Marquee, i as Motion, j as MotionConfig, k as MotionConfigProps, l as MotionConfigValue, m as MotionTransition, n as MotionValues, P as Parallax, R as Ripple, S as ScrollReveal, T as ThemeContextValue, o as ThemeProvider, p as ThemeProviderProps, q as ThemeSetting, r as TiltCard, t as themeScript, v as useMotionConfig, w as useTheme } from './motion-DsQPOsTT.cjs';
|
|
2
|
+
export { c as useMergedRef } from './use-observers-DvA7hSz4.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@ansh-ui/core';
|
package/dist/motion.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AnimatePresence, a as AnimatePresenceProps, b as AnimatedText, c as AnimatedTextProps, D as Draggable, f as DraggableProps, G as GradientText, g as GradientTextProps, M as MagneticButton, h as Marquee, i as Motion, j as MotionConfig, k as MotionConfigProps, l as MotionConfigValue, m as MotionTransition, n as MotionValues, P as Parallax, R as Ripple, S as ScrollReveal, T as ThemeContextValue, o as ThemeProvider, p as ThemeProviderProps, q as ThemeSetting, r as TiltCard, t as themeScript, v as useMotionConfig, w as useTheme } from './motion-
|
|
2
|
-
export { c as useMergedRef } from './use-observers-
|
|
1
|
+
export { A as AnimatePresence, a as AnimatePresenceProps, b as AnimatedText, c as AnimatedTextProps, D as Draggable, f as DraggableProps, G as GradientText, g as GradientTextProps, M as MagneticButton, h as Marquee, i as Motion, j as MotionConfig, k as MotionConfigProps, l as MotionConfigValue, m as MotionTransition, n as MotionValues, P as Parallax, R as Ripple, S as ScrollReveal, T as ThemeContextValue, o as ThemeProvider, p as ThemeProviderProps, q as ThemeSetting, r as TiltCard, t as themeScript, v as useMotionConfig, w as useTheme } from './motion-DoT_sTl1.js';
|
|
2
|
+
export { c as useMergedRef } from './use-observers-DvA7hSz4.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@ansh-ui/core';
|
package/dist/motion.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AnimatePresence, AnimatedText, Draggable, GradientText, MagneticButton, Marquee, Motion, MotionConfig, Parallax, Ripple, ScrollReveal, ThemeProvider, TiltCard, themeScript, useMotionConfig, useTheme } from './chunk-
|
|
3
|
-
export { useMergedRef } from './chunk-
|
|
2
|
+
export { AnimatePresence, AnimatedText, Draggable, GradientText, MagneticButton, Marquee, Motion, MotionConfig, Parallax, Ripple, ScrollReveal, ThemeProvider, TiltCard, themeScript, useMotionConfig, useTheme } from './chunk-PVDQPVYF.js';
|
|
3
|
+
export { useMergedRef } from './chunk-P5MRISBP.js';
|
|
4
4
|
import './chunk-H34OXXJU.js';
|
|
5
5
|
//# sourceMappingURL=motion.js.map
|
|
6
6
|
//# sourceMappingURL=motion.js.map
|
package/dist/navigation.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-
|
|
3
|
+
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-Dyt67t2z.cjs';
|
|
4
4
|
|
|
5
5
|
interface TabItem {
|
|
6
6
|
id: string;
|
|
@@ -207,4 +207,5 @@ interface DisclosureListProps {
|
|
|
207
207
|
/** Show a few items with a "show N more" toggle. */
|
|
208
208
|
declare function DisclosureList({ items, initial, moreLabel, lessLabel, className, }: DisclosureListProps): react.JSX.Element;
|
|
209
209
|
|
|
210
|
-
export { Accordion,
|
|
210
|
+
export { Accordion, Breadcrumbs, Collapsible, DisclosureList, NavigationMenu, Stepper, Tabs };
|
|
211
|
+
export type { AccordionItem, AccordionProps, BreadcrumbsProps, CollapsibleProps, Crumb, DisclosureListProps, MegaMenuColumn, MegaMenuLink, NavMenuItem, NavigationMenuProps, Step, StepperProps, TabItem, TabsProps };
|
package/dist/navigation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-
|
|
3
|
+
export { A as AppShell, a as AppShellProps, N as NavItem, b as NavSection, S as Sidebar, c as SidebarProps } from './sidebar-Dyt67t2z.js';
|
|
4
4
|
|
|
5
5
|
interface TabItem {
|
|
6
6
|
id: string;
|
|
@@ -207,4 +207,5 @@ interface DisclosureListProps {
|
|
|
207
207
|
/** Show a few items with a "show N more" toggle. */
|
|
208
208
|
declare function DisclosureList({ items, initial, moreLabel, lessLabel, className, }: DisclosureListProps): react.JSX.Element;
|
|
209
209
|
|
|
210
|
-
export { Accordion,
|
|
210
|
+
export { Accordion, Breadcrumbs, Collapsible, DisclosureList, NavigationMenu, Stepper, Tabs };
|
|
211
|
+
export type { AccordionItem, AccordionProps, BreadcrumbsProps, CollapsibleProps, Crumb, DisclosureListProps, MegaMenuColumn, MegaMenuLink, NavMenuItem, NavigationMenuProps, Step, StepperProps, TabItem, TabsProps };
|
package/dist/overlay.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var chunkYACOHFYJ_cjs = require('./chunk-YACOHFYJ.cjs');
|
|
5
|
+
require('./chunk-KTLTYHAT.cjs');
|
|
6
6
|
require('./chunk-XMXECSQO.cjs');
|
|
7
7
|
require('./chunk-PO5DU3FU.cjs');
|
|
8
8
|
require('./chunk-SFU5EPSN.cjs');
|
|
@@ -11,59 +11,59 @@ require('./chunk-SFU5EPSN.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "AlertDialog", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkYACOHFYJ_cjs.AlertDialog; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CommandPalette", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkYACOHFYJ_cjs.CommandPalette; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ContextMenu", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkYACOHFYJ_cjs.ContextMenu; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "Dialog", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkYACOHFYJ_cjs.Dialog; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "DialogFooter", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkYACOHFYJ_cjs.DialogFooter; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "Drawer", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkYACOHFYJ_cjs.Drawer; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkYACOHFYJ_cjs.DropdownMenu; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "HoverCard", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkYACOHFYJ_cjs.HoverCard; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "Popover", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkYACOHFYJ_cjs.Popover; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "PopoverContent", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkYACOHFYJ_cjs.PopoverContent; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkYACOHFYJ_cjs.PopoverTrigger; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "Tooltip", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkYACOHFYJ_cjs.Tooltip; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkYACOHFYJ_cjs.TooltipProvider; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "useCommandShortcut", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkYACOHFYJ_cjs.useCommandShortcut; }
|
|
67
67
|
});
|
|
68
68
|
//# sourceMappingURL=overlay.cjs.map
|
|
69
69
|
//# sourceMappingURL=overlay.cjs.map
|
package/dist/overlay.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { Placement } from './index.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A command palette.
|
|
@@ -327,4 +327,5 @@ interface ContextMenuProps {
|
|
|
327
327
|
*/
|
|
328
328
|
declare function ContextMenu({ items, label, className, children, }: ContextMenuProps): react.JSX.Element;
|
|
329
329
|
|
|
330
|
-
export { AlertDialog,
|
|
330
|
+
export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut };
|
|
331
|
+
export type { AlertDialogProps, CommandItem, CommandPaletteProps, ContextMenuProps, DialogProps, DialogSize, DrawerProps, DrawerSide, HoverCardProps, MenuAction, MenuCheckbox, MenuEntry, MenuProps, MenuRadioGroup, MenuSubmenu, PopoverContentProps, PopoverProps, PopoverTriggerProps, TooltipProps, TooltipProviderProps };
|
package/dist/overlay.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { Placement } from './index.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A command palette.
|
|
@@ -327,4 +327,5 @@ interface ContextMenuProps {
|
|
|
327
327
|
*/
|
|
328
328
|
declare function ContextMenu({ items, label, className, children, }: ContextMenuProps): react.JSX.Element;
|
|
329
329
|
|
|
330
|
-
export { AlertDialog,
|
|
330
|
+
export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut };
|
|
331
|
+
export type { AlertDialogProps, CommandItem, CommandPaletteProps, ContextMenuProps, DialogProps, DialogSize, DrawerProps, DrawerSide, HoverCardProps, MenuAction, MenuCheckbox, MenuEntry, MenuProps, MenuRadioGroup, MenuSubmenu, PopoverContentProps, PopoverProps, PopoverTriggerProps, TooltipProps, TooltipProviderProps };
|
package/dist/overlay.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut } from './chunk-CWYBOVCZ.js';
|
|
3
|
+
import './chunk-742E5FQS.js';
|
|
4
4
|
import './chunk-XEP6P7E6.js';
|
|
5
5
|
import './chunk-LXCIXR5T.js';
|
|
6
6
|
import './chunk-H34OXXJU.js';
|
|
@@ -63,4 +63,5 @@ interface PositionResult {
|
|
|
63
63
|
*/
|
|
64
64
|
declare function computePosition(anchor: Rect, floating: Rect, viewport: Rect, options?: PositionOptions): PositionResult;
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { computePosition as c };
|
|
67
|
+
export type { Align as A, Placement as P, Rect as R, Side as S, PositionOptions as a, PositionResult as b };
|
|
@@ -63,4 +63,5 @@ interface PositionResult {
|
|
|
63
63
|
*/
|
|
64
64
|
declare function computePosition(anchor: Rect, floating: Rect, viewport: Rect, options?: PositionOptions): PositionResult;
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { computePosition as c };
|
|
67
|
+
export type { Align as A, Placement as P, Rect as R, Side as S, PositionOptions as a, PositionResult as b };
|