@devalok/shilp-sutra 0.18.0 → 0.18.2
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/_chunks/motion-provider.js +24 -0
- package/dist/_chunks/primitives.js +101 -101
- package/dist/_chunks/tree-view.js +12 -12
- package/dist/_chunks/use-calendar.js +1 -1
- package/dist/_chunks/vendor-utils.js +2 -2
- package/dist/composed/activity-feed.js +21 -21
- package/dist/composed/avatar-group.js +25 -25
- package/dist/composed/command-palette.js +3 -3
- package/dist/composed/confirm-dialog.js +1 -1
- package/dist/composed/content-card.js +1 -1
- package/dist/composed/empty-state.js +2 -2
- package/dist/composed/error-boundary.js +2 -2
- package/dist/composed/global-loading.js +10 -10
- package/dist/composed/lib/string-utils.d.ts +0 -1
- package/dist/composed/lib/string-utils.js +0 -1
- package/dist/composed/loading-skeleton.js +1 -1
- package/dist/composed/member-picker.js +6 -6
- package/dist/composed/page-header.js +1 -1
- package/dist/composed/page-skeletons.js +1 -1
- package/dist/composed/priority-indicator.js +6 -6
- package/dist/composed/rich-text-editor.js +1 -1
- package/dist/composed/schedule-view.js +15 -15
- package/dist/composed/simple-tooltip.js +8 -8
- package/dist/composed/status-badge.js +12 -12
- package/dist/motion/index.d.ts +1 -1
- package/dist/motion/index.d.ts.map +1 -1
- package/dist/motion/index.js +8 -6
- package/dist/motion/primitives-index.js +184 -8
- package/dist/shell/app-command-palette.js +1 -1
- package/dist/shell/bottom-navbar.js +3 -3
- package/dist/shell/notification-center.js +35 -35
- package/dist/shell/notification-preferences.js +29 -28
- package/dist/shell/sidebar.js +56 -56
- package/dist/shell/top-bar.js +25 -25
- package/dist/ui/accordion.js +11 -11
- package/dist/ui/alert-dialog.js +41 -41
- package/dist/ui/alert.js +10 -10
- package/dist/ui/aspect-ratio.js +5 -5
- package/dist/ui/autocomplete.js +15 -15
- package/dist/ui/avatar.js +4 -4
- package/dist/ui/badge.js +11 -11
- package/dist/ui/banner.js +3 -3
- package/dist/ui/breadcrumb.js +8 -8
- package/dist/ui/button-group.js +4 -4
- package/dist/ui/button.js +25 -25
- package/dist/ui/card.js +5 -5
- package/dist/ui/charts/index.js +4 -4
- package/dist/ui/checkbox.js +4 -4
- package/dist/ui/chip.js +14 -14
- package/dist/ui/code.js +1 -1
- package/dist/ui/collapsible.js +7 -7
- package/dist/ui/color-input.js +1 -1
- package/dist/ui/combobox.js +5 -5
- package/dist/ui/container.js +4 -4
- package/dist/ui/context-menu.js +4 -4
- package/dist/ui/data-table-toolbar.js +18 -18
- package/dist/ui/data-table.js +55 -55
- package/dist/ui/dialog.js +3 -3
- package/dist/ui/dropdown-menu.js +3 -3
- package/dist/ui/file-upload.js +10 -10
- package/dist/ui/form.js +1 -1
- package/dist/ui/hover-card.js +12 -12
- package/dist/ui/icon-button.js +9 -9
- package/dist/ui/index.js +322 -516
- package/dist/ui/input-otp.js +4 -4
- package/dist/ui/input.js +9 -9
- package/dist/ui/label.js +9 -9
- package/dist/ui/lib/date-utils.d.ts +0 -1
- package/dist/{_chunks → ui/lib}/date-utils.js +1 -2
- package/dist/{_chunks/motion2.js → ui/lib/motion.js} +13 -14
- package/dist/ui/lib/use-ripple.d.ts.map +1 -1
- package/dist/ui/lib/utils.js +1 -1
- package/dist/ui/link.js +1 -1
- package/dist/ui/menubar.js +66 -66
- package/dist/ui/navigation-menu.js +4 -4
- package/dist/ui/number-input.js +9 -9
- package/dist/ui/pagination.js +1 -1
- package/dist/ui/popover.js +18 -18
- package/dist/ui/progress.js +4 -4
- package/dist/ui/radio.js +11 -11
- package/dist/ui/search-input.js +2 -2
- package/dist/ui/segmented-control.d.ts +2 -0
- package/dist/ui/segmented-control.d.ts.map +1 -1
- package/dist/ui/segmented-control.js +59 -55
- package/dist/ui/select.js +19 -19
- package/dist/ui/separator.js +5 -5
- package/dist/ui/sheet.js +10 -10
- package/dist/ui/sidebar.js +574 -38
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/slider.js +9 -9
- package/dist/ui/spinner.js +2 -2
- package/dist/ui/stack.js +1 -1
- package/dist/ui/stat-card.js +35 -35
- package/dist/ui/stepper.d.ts +1 -3
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +74 -74
- package/dist/ui/switch.js +7 -7
- package/dist/ui/table.js +28 -28
- package/dist/ui/tabs.js +10 -10
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.js +10 -10
- package/dist/ui/toast.js +12 -12
- package/dist/ui/toaster.js +11 -11
- package/dist/ui/toggle-group.js +2 -2
- package/dist/ui/toggle.js +8 -8
- package/dist/ui/tooltip.js +21 -21
- package/dist/ui/visually-hidden.js +3 -3
- package/docs/components/_header.md +83 -0
- package/docs/components/composed/activity-feed.md +43 -0
- package/docs/components/composed/avatar-group.md +32 -0
- package/docs/components/composed/command-palette.md +40 -0
- package/docs/components/composed/confirm-dialog.md +46 -0
- package/docs/components/composed/content-card.md +36 -0
- package/docs/components/composed/date-picker.md +130 -0
- package/docs/components/composed/empty-state.md +53 -0
- package/docs/components/composed/error-boundary.md +29 -0
- package/docs/components/composed/global-loading.md +27 -0
- package/docs/components/composed/loading-skeleton.md +51 -0
- package/docs/components/composed/member-picker.md +35 -0
- package/docs/components/composed/page-header.md +41 -0
- package/docs/components/composed/page-skeletons.md +32 -0
- package/docs/components/composed/priority-indicator.md +32 -0
- package/docs/components/composed/rich-text-editor.md +71 -0
- package/docs/components/composed/schedule-view.md +39 -0
- package/docs/components/composed/simple-tooltip.md +33 -0
- package/docs/components/composed/status-badge.md +41 -0
- package/docs/components/shell/app-command-palette.md +44 -0
- package/docs/components/shell/bottom-navbar.md +48 -0
- package/docs/components/shell/command-registry.md +48 -0
- package/docs/components/shell/link-context.md +41 -0
- package/docs/components/shell/notification-center.md +63 -0
- package/docs/components/shell/notification-preferences.md +42 -0
- package/docs/components/shell/sidebar.md +88 -0
- package/docs/components/shell/top-bar.md +63 -0
- package/docs/components/ui/accordion.md +48 -0
- package/docs/components/ui/alert-dialog.md +58 -0
- package/docs/components/ui/alert.md +43 -0
- package/docs/components/ui/aspect-ratio.md +25 -0
- package/docs/components/ui/autocomplete.md +48 -0
- package/docs/components/ui/avatar.md +34 -0
- package/docs/components/ui/badge.md +48 -0
- package/docs/components/ui/banner.md +35 -0
- package/docs/components/ui/breadcrumb.md +37 -0
- package/docs/components/ui/button-group.md +32 -0
- package/docs/components/ui/button.md +55 -0
- package/docs/components/ui/card.md +48 -0
- package/docs/components/ui/charts.md +43 -0
- package/docs/components/ui/checkbox.md +31 -0
- package/docs/components/ui/chip.md +43 -0
- package/docs/components/ui/code.md +28 -0
- package/docs/components/ui/collapsible.md +40 -0
- package/docs/components/ui/color-input.md +37 -0
- package/docs/components/ui/combobox.md +54 -0
- package/docs/components/ui/container.md +26 -0
- package/docs/components/ui/context-menu.md +43 -0
- package/docs/components/ui/data-table-toolbar.md +44 -0
- package/docs/components/ui/data-table.md +91 -0
- package/docs/components/ui/dialog.md +51 -0
- package/docs/components/ui/dropdown-menu.md +45 -0
- package/docs/components/ui/file-upload.md +41 -0
- package/docs/components/ui/form.md +51 -0
- package/docs/components/ui/hover-card.md +32 -0
- package/docs/components/ui/icon-button.md +33 -0
- package/docs/components/ui/input-otp.md +44 -0
- package/docs/components/ui/input.md +48 -0
- package/docs/components/ui/label.md +25 -0
- package/docs/components/ui/link.md +29 -0
- package/docs/components/ui/menubar.md +44 -0
- package/docs/components/ui/navigation-menu.md +46 -0
- package/docs/components/ui/number-input.md +44 -0
- package/docs/components/ui/pagination.md +48 -0
- package/docs/components/ui/popover.md +30 -0
- package/docs/components/ui/progress.md +29 -0
- package/docs/components/ui/radio.md +34 -0
- package/docs/components/ui/search-input.md +43 -0
- package/docs/components/ui/segmented-control.md +50 -0
- package/docs/components/ui/select.md +49 -0
- package/docs/components/ui/separator.md +29 -0
- package/docs/components/ui/sheet.md +47 -0
- package/docs/components/ui/sidebar.md +72 -0
- package/docs/components/ui/skeleton.md +77 -0
- package/docs/components/ui/slider.md +29 -0
- package/docs/components/ui/spinner.md +50 -0
- package/docs/components/ui/stack.md +39 -0
- package/docs/components/ui/stat-card.md +61 -0
- package/docs/components/ui/stepper.md +49 -0
- package/docs/components/ui/switch.md +34 -0
- package/docs/components/ui/table.md +47 -0
- package/docs/components/ui/tabs.md +56 -0
- package/docs/components/ui/text.md +37 -0
- package/docs/components/ui/textarea.md +39 -0
- package/docs/components/ui/toast.md +65 -0
- package/docs/components/ui/toaster.md +47 -0
- package/docs/components/ui/toggle-group.md +43 -0
- package/docs/components/ui/toggle.md +37 -0
- package/docs/components/ui/tooltip.md +33 -0
- package/docs/components/ui/tree-view.md +65 -0
- package/docs/components/ui/visually-hidden.md +21 -0
- package/llms-full.txt +3384 -1591
- package/llms.txt +4 -4
- package/package.json +28 -3
- package/dist/_chunks/avatar.js +0 -52
- package/dist/_chunks/button-group.js +0 -27
- package/dist/_chunks/button.js +0 -113
- package/dist/_chunks/card.js +0 -50
- package/dist/_chunks/checkbox.js +0 -16
- package/dist/_chunks/form.js +0 -27
- package/dist/_chunks/sidebar.js +0 -606
- package/dist/_chunks/spinner.js +0 -64
- package/dist/_chunks/tooltip.js +0 -30
- package/dist/_chunks/utils.js +0 -17
- package/dist/motion/motion-provider.js +0 -24
- package/dist/motion/primitives.js +0 -187
- /package/dist/_chunks/{motion.js → framer.js} +0 -0
package/dist/_chunks/tooltip.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import * as s from "react";
|
|
4
|
-
import { aH as x, aI as y, aJ as T, aK as g, aL as p } from "./primitives.js";
|
|
5
|
-
import { c as h } from "./utils.js";
|
|
6
|
-
import { t as v, s as b } from "./motion2.js";
|
|
7
|
-
import { A as C, m as w } from "./motion.js";
|
|
8
|
-
const z = x, f = s.createContext({ open: !1 }), N = ({ open: a, defaultOpen: i, onOpenChange: t, ...r }) => {
|
|
9
|
-
const [n, c] = s.useState(i ?? !1), e = a !== void 0, l = e ? a : n, m = s.useCallback((d) => {
|
|
10
|
-
e || c(d), t == null || t(d);
|
|
11
|
-
}, [e, t]), u = s.useMemo(() => ({ open: l }), [l]);
|
|
12
|
-
return o(f.Provider, { value: u, children: o(T, { open: l, onOpenChange: m, ...r }) });
|
|
13
|
-
};
|
|
14
|
-
N.displayName = "Tooltip";
|
|
15
|
-
const H = y, P = {
|
|
16
|
-
top: { y: 4 },
|
|
17
|
-
bottom: { y: -4 },
|
|
18
|
-
left: { x: 4 },
|
|
19
|
-
right: { x: -4 }
|
|
20
|
-
}, I = s.forwardRef(({ className: a, sideOffset: i = 4, side: t = "top", ...r }, n) => {
|
|
21
|
-
const { open: c } = s.useContext(f), e = P[t] ?? {};
|
|
22
|
-
return o(C, { children: c && o(g, { forceMount: !0, children: o(p, { ref: n, forceMount: !0, asChild: !0, sideOffset: i, side: t, ...r, children: o(w.div, { initial: { opacity: 0, scale: 0.95, ...e }, animate: { opacity: 1, scale: 1, x: 0, y: 0 }, exit: { opacity: 0, scale: 0.95, ...e }, transition: { ...b.snappy, opacity: v.fade }, className: h("z-tooltip overflow-hidden rounded-ds-md bg-surface-fg px-ds-04 py-ds-02b text-ds-sm text-accent-fg shadow-02", a) }) }) }) });
|
|
23
|
-
});
|
|
24
|
-
I.displayName = p.displayName;
|
|
25
|
-
export {
|
|
26
|
-
z as T,
|
|
27
|
-
N as a,
|
|
28
|
-
H as b,
|
|
29
|
-
I as c
|
|
30
|
-
};
|
package/dist/_chunks/utils.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ah as d, ai as e } from "./vendor-utils.js";
|
|
2
|
-
const t = e({
|
|
3
|
-
extend: {
|
|
4
|
-
theme: {
|
|
5
|
-
spacing: ["ds-01", "ds-02", "ds-02b", "ds-03", "ds-04", "ds-05", "ds-05b", "ds-06", "ds-06b", "ds-07", "ds-08", "ds-09", "ds-10", "ds-11", "ds-12", "ds-13"]
|
|
6
|
-
},
|
|
7
|
-
classGroups: {
|
|
8
|
-
"font-size": [{ "text-ds": ["xs", "sm", "md"] }]
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
function a(...s) {
|
|
13
|
-
return t(d(s));
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
a as c
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import * as o from "react";
|
|
4
|
-
import { t as s, s as n } from "../_chunks/motion2.js";
|
|
5
|
-
import { u as f, M as m } from "../_chunks/motion.js";
|
|
6
|
-
const i = o.createContext({
|
|
7
|
-
springs: n,
|
|
8
|
-
tweens: s,
|
|
9
|
-
reducedMotion: !1
|
|
10
|
-
});
|
|
11
|
-
function l({ children: u, reducedMotion: e = "user" }) {
|
|
12
|
-
const a = f() ?? !1, t = e === "user" ? a : e, c = o.useMemo(
|
|
13
|
-
() => ({ springs: n, tweens: s, reducedMotion: t }),
|
|
14
|
-
[t]
|
|
15
|
-
);
|
|
16
|
-
return /* @__PURE__ */ r(i.Provider, { value: c, children: /* @__PURE__ */ r(m, { reducedMotion: e === "user" ? "user" : e ? "always" : "never", children: u }) });
|
|
17
|
-
}
|
|
18
|
-
function x() {
|
|
19
|
-
return o.useContext(i);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
l as MotionProvider,
|
|
23
|
-
x as useMotion
|
|
24
|
-
};
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import * as m from "react";
|
|
4
|
-
import { t as w, s as g } from "../_chunks/motion2.js";
|
|
5
|
-
import { c as f } from "../_chunks/utils.js";
|
|
6
|
-
import { A as u, m as y } from "../_chunks/motion.js";
|
|
7
|
-
const N = m.forwardRef(
|
|
8
|
-
({ show: i, children: t, className: e, layout: a, layoutId: n, whileInView: s, viewportOnce: r = !0, viewportMargin: c = "-50px", ...l }, p) => {
|
|
9
|
-
const d = s ? {
|
|
10
|
-
initial: "hidden",
|
|
11
|
-
whileInView: "visible",
|
|
12
|
-
viewport: { once: r, margin: c }
|
|
13
|
-
} : {};
|
|
14
|
-
return /* @__PURE__ */ o(u, { children: i && /* @__PURE__ */ o(
|
|
15
|
-
y.div,
|
|
16
|
-
{
|
|
17
|
-
ref: p,
|
|
18
|
-
initial: { opacity: 0 },
|
|
19
|
-
animate: { opacity: 1 },
|
|
20
|
-
exit: { opacity: 0 },
|
|
21
|
-
transition: w.fade,
|
|
22
|
-
className: f(e),
|
|
23
|
-
layout: a,
|
|
24
|
-
layoutId: n,
|
|
25
|
-
...d,
|
|
26
|
-
...l,
|
|
27
|
-
children: t
|
|
28
|
-
}
|
|
29
|
-
) });
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
N.displayName = "MotionFade";
|
|
33
|
-
const V = m.forwardRef(
|
|
34
|
-
({ show: i, children: t, className: e, preset: a = "snappy", layout: n, layoutId: s, whileInView: r, viewportOnce: c = !0, viewportMargin: l = "-50px", ...p }, d) => {
|
|
35
|
-
const h = g[a], v = r ? {
|
|
36
|
-
initial: "hidden",
|
|
37
|
-
whileInView: "visible",
|
|
38
|
-
viewport: { once: c, margin: l }
|
|
39
|
-
} : {};
|
|
40
|
-
return /* @__PURE__ */ o(u, { children: i && /* @__PURE__ */ o(
|
|
41
|
-
y.div,
|
|
42
|
-
{
|
|
43
|
-
ref: d,
|
|
44
|
-
initial: { opacity: 0, scale: 0.96 },
|
|
45
|
-
animate: { opacity: 1, scale: 1 },
|
|
46
|
-
exit: { opacity: 0, scale: 0.96 },
|
|
47
|
-
transition: { ...h, opacity: w.fade },
|
|
48
|
-
className: f(e),
|
|
49
|
-
layout: n,
|
|
50
|
-
layoutId: s,
|
|
51
|
-
...v,
|
|
52
|
-
...p,
|
|
53
|
-
children: t
|
|
54
|
-
}
|
|
55
|
-
) });
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
V.displayName = "MotionScale";
|
|
59
|
-
const b = m.forwardRef(
|
|
60
|
-
({ show: i, children: t, className: e, preset: a = "bouncy", layout: n, layoutId: s, whileInView: r, viewportOnce: c = !0, viewportMargin: l = "-50px", ...p }, d) => {
|
|
61
|
-
const h = g[a], v = r ? {
|
|
62
|
-
initial: "hidden",
|
|
63
|
-
whileInView: "visible",
|
|
64
|
-
viewport: { once: c, margin: l }
|
|
65
|
-
} : {};
|
|
66
|
-
return /* @__PURE__ */ o(u, { children: i && /* @__PURE__ */ o(
|
|
67
|
-
y.div,
|
|
68
|
-
{
|
|
69
|
-
ref: d,
|
|
70
|
-
initial: { opacity: 0, scale: 0.5 },
|
|
71
|
-
animate: { opacity: 1, scale: 1 },
|
|
72
|
-
exit: { opacity: 0, scale: 0.5 },
|
|
73
|
-
transition: { ...h, opacity: w.fade },
|
|
74
|
-
className: f(e),
|
|
75
|
-
layout: n,
|
|
76
|
-
layoutId: s,
|
|
77
|
-
...v,
|
|
78
|
-
...p,
|
|
79
|
-
children: t
|
|
80
|
-
}
|
|
81
|
-
) });
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
b.displayName = "MotionPop";
|
|
85
|
-
const P = m.forwardRef(
|
|
86
|
-
({ show: i, children: t, className: e, preset: a = "smooth", direction: n = "up", layout: s, layoutId: r, whileInView: c, viewportOnce: l = !0, viewportMargin: p = "-50px", ...d }, h) => {
|
|
87
|
-
const v = g[a], x = {
|
|
88
|
-
up: { y: 16 },
|
|
89
|
-
down: { y: -16 },
|
|
90
|
-
left: { x: 16 },
|
|
91
|
-
right: { x: -16 }
|
|
92
|
-
}[n], M = c ? {
|
|
93
|
-
initial: "hidden",
|
|
94
|
-
whileInView: "visible",
|
|
95
|
-
viewport: { once: l, margin: p }
|
|
96
|
-
} : {};
|
|
97
|
-
return /* @__PURE__ */ o(u, { children: i && /* @__PURE__ */ o(
|
|
98
|
-
y.div,
|
|
99
|
-
{
|
|
100
|
-
ref: h,
|
|
101
|
-
initial: { opacity: 0, ...x },
|
|
102
|
-
animate: { opacity: 1, x: 0, y: 0 },
|
|
103
|
-
exit: { opacity: 0, ...x },
|
|
104
|
-
transition: { ...v, opacity: w.fade },
|
|
105
|
-
className: f(e),
|
|
106
|
-
layout: s,
|
|
107
|
-
layoutId: r,
|
|
108
|
-
...M,
|
|
109
|
-
...d,
|
|
110
|
-
children: t
|
|
111
|
-
}
|
|
112
|
-
) });
|
|
113
|
-
}
|
|
114
|
-
);
|
|
115
|
-
P.displayName = "MotionSlide";
|
|
116
|
-
const R = m.forwardRef(
|
|
117
|
-
({ show: i, children: t, className: e, preset: a = "gentle", layout: n, layoutId: s, ...r }, c) => {
|
|
118
|
-
const l = g[a];
|
|
119
|
-
return /* @__PURE__ */ o(u, { initial: !1, children: i && /* @__PURE__ */ o(
|
|
120
|
-
y.div,
|
|
121
|
-
{
|
|
122
|
-
ref: c,
|
|
123
|
-
initial: { height: 0, opacity: 0, overflow: "hidden" },
|
|
124
|
-
animate: { height: "auto", opacity: 1, overflow: "hidden" },
|
|
125
|
-
exit: { height: 0, opacity: 0, overflow: "hidden" },
|
|
126
|
-
transition: { ...l, opacity: w.fade },
|
|
127
|
-
className: f(e),
|
|
128
|
-
layout: n,
|
|
129
|
-
layoutId: s,
|
|
130
|
-
...r,
|
|
131
|
-
children: t
|
|
132
|
-
}
|
|
133
|
-
) });
|
|
134
|
-
}
|
|
135
|
-
);
|
|
136
|
-
R.displayName = "MotionCollapse";
|
|
137
|
-
const S = m.forwardRef(
|
|
138
|
-
({ children: i, className: t, delay: e = 0.04, whileInView: a, viewportOnce: n = !0, viewportMargin: s = "-50px", ...r }, c) => {
|
|
139
|
-
const l = {
|
|
140
|
-
hidden: {},
|
|
141
|
-
visible: {
|
|
142
|
-
transition: { staggerChildren: e }
|
|
143
|
-
}
|
|
144
|
-
}, p = a ? { initial: "hidden", whileInView: "visible", viewport: { once: n, margin: s } } : { initial: "hidden", animate: "visible" };
|
|
145
|
-
return /* @__PURE__ */ o(
|
|
146
|
-
y.div,
|
|
147
|
-
{
|
|
148
|
-
ref: c,
|
|
149
|
-
variants: l,
|
|
150
|
-
className: f(t),
|
|
151
|
-
...p,
|
|
152
|
-
...r,
|
|
153
|
-
children: i
|
|
154
|
-
}
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
S.displayName = "MotionStagger";
|
|
159
|
-
const I = {
|
|
160
|
-
hidden: { opacity: 0, y: 8 },
|
|
161
|
-
visible: {
|
|
162
|
-
opacity: 1,
|
|
163
|
-
y: 0,
|
|
164
|
-
transition: { ...g.smooth, opacity: w.fade }
|
|
165
|
-
}
|
|
166
|
-
}, C = m.forwardRef(
|
|
167
|
-
({ children: i, className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
168
|
-
y.div,
|
|
169
|
-
{
|
|
170
|
-
ref: a,
|
|
171
|
-
variants: I,
|
|
172
|
-
className: f(t),
|
|
173
|
-
...e,
|
|
174
|
-
children: i
|
|
175
|
-
}
|
|
176
|
-
)
|
|
177
|
-
);
|
|
178
|
-
C.displayName = "MotionStaggerItem";
|
|
179
|
-
export {
|
|
180
|
-
R as MotionCollapse,
|
|
181
|
-
N as MotionFade,
|
|
182
|
-
b as MotionPop,
|
|
183
|
-
V as MotionScale,
|
|
184
|
-
P as MotionSlide,
|
|
185
|
-
S as MotionStagger,
|
|
186
|
-
C as MotionStaggerItem
|
|
187
|
-
};
|
|
File without changes
|