@salesmind-ai/design-system 0.5.0 → 0.7.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/README.md +2 -0
- package/dist/Anton-Regular-MLEXVTB2.woff2 +0 -0
- package/dist/admin/index.cjs +5 -61
- package/dist/admin/index.css +0 -3918
- package/dist/admin/index.css.map +1 -1
- package/dist/admin/index.d.cts +1 -422
- package/dist/admin/index.d.ts +1 -422
- package/dist/admin/index.js +1 -5
- package/dist/blog/index.cjs +13 -34
- package/dist/blog/index.css +0 -579
- package/dist/blog/index.css.map +1 -1
- package/dist/blog/index.d.cts +1 -54
- package/dist/blog/index.d.ts +1 -54
- package/dist/blog/index.js +5 -6
- package/dist/charts/index.cjs +0 -46
- package/dist/charts/index.d.cts +1 -452
- package/dist/charts/index.d.ts +1 -452
- package/dist/charts/index.js +1 -3
- package/dist/{chunk-HDVAMYSG.js → chunk-27Y5ESMM.js} +7 -2
- package/dist/chunk-27Y5ESMM.js.map +1 -0
- package/dist/{chunk-YTYDQBVY.cjs → chunk-2VVRZBUR.cjs} +4 -4
- package/dist/{chunk-GQELL2MF.cjs → chunk-3NS6X2R4.cjs} +20 -203
- package/dist/chunk-3NS6X2R4.cjs.map +1 -0
- package/dist/{chunk-XEX2AEZK.cjs → chunk-65DTHLVX.cjs} +66 -186
- package/dist/chunk-65DTHLVX.cjs.map +1 -0
- package/dist/{chunk-QALDZ7WQ.js → chunk-6BUS7RMS.js} +21 -198
- package/dist/chunk-6BUS7RMS.js.map +1 -0
- package/dist/{chunk-BJZ2DKS5.cjs → chunk-6QIQCUYC.cjs} +11 -10
- package/dist/chunk-6QIQCUYC.cjs.map +1 -0
- package/dist/{chunk-H2Y6BSTL.cjs → chunk-7EUR3AKV.cjs} +1 -1
- package/dist/chunk-7EUR3AKV.cjs.map +1 -0
- package/dist/{chunk-VFJZQQZU.js → chunk-AMNY5TS3.js} +11 -10
- package/dist/chunk-AMNY5TS3.js.map +1 -0
- package/dist/{chunk-YJ6C3EKW.js → chunk-CLXLQCNQ.js} +52 -168
- package/dist/chunk-CLXLQCNQ.js.map +1 -0
- package/dist/{chunk-H2KQ3WSH.cjs → chunk-CVLD5RQK.cjs} +12 -14
- package/dist/chunk-CVLD5RQK.cjs.map +1 -0
- package/dist/chunk-EPD4ZEPY.cjs +344 -0
- package/dist/chunk-EPD4ZEPY.cjs.map +1 -0
- package/dist/chunk-FXYOSA4E.cjs +118 -0
- package/dist/chunk-FXYOSA4E.cjs.map +1 -0
- package/dist/{chunk-ECXBTUH6.cjs → chunk-GPHQGLR5.cjs} +27 -204
- package/dist/chunk-GPHQGLR5.cjs.map +1 -0
- package/dist/{chunk-Y26OHHMX.js → chunk-HHQ6J7B6.js} +513 -888
- package/dist/chunk-HHQ6J7B6.js.map +1 -0
- package/dist/chunk-JPUJWI7F.cjs +73 -0
- package/dist/chunk-JPUJWI7F.cjs.map +1 -0
- package/dist/{chunk-6UNG76Y2.js → chunk-K526GN7P.js} +2 -2
- package/dist/{chunk-SICKWUWB.js → chunk-KJHPOB3J.js} +1 -1
- package/dist/chunk-KJHPOB3J.js.map +1 -0
- package/dist/chunk-KXVFFEGD.js +60 -0
- package/dist/chunk-KXVFFEGD.js.map +1 -0
- package/dist/chunk-LQB7QLD3.js +288 -0
- package/dist/chunk-LQB7QLD3.js.map +1 -0
- package/dist/chunk-LUD52ZJF.cjs +726 -0
- package/dist/chunk-LUD52ZJF.cjs.map +1 -0
- package/dist/{chunk-7UZ5DETZ.js → chunk-MBAG654R.js} +4 -216
- package/dist/chunk-MBAG654R.js.map +1 -0
- package/dist/chunk-OMP6FAZ6.cjs +183 -0
- package/dist/chunk-OMP6FAZ6.cjs.map +1 -0
- package/dist/{chunk-WYH4TKS5.js → chunk-PBYRTNQ5.js} +6 -8
- package/dist/chunk-PBYRTNQ5.js.map +1 -0
- package/dist/chunk-PYREXCZK.js +679 -0
- package/dist/chunk-PYREXCZK.js.map +1 -0
- package/dist/{chunk-6D22TFLA.cjs → chunk-R3ZECV5P.cjs} +9 -4
- package/dist/chunk-R3ZECV5P.cjs.map +1 -0
- package/dist/{chunk-P5BOFE5A.js → chunk-RSLA2FJN.js} +28 -183
- package/dist/chunk-RSLA2FJN.js.map +1 -0
- package/dist/chunk-S46SKHMD.js +173 -0
- package/dist/chunk-S46SKHMD.js.map +1 -0
- package/dist/chunk-SFXTB7JL.js +190 -0
- package/dist/chunk-SFXTB7JL.js.map +1 -0
- package/dist/chunk-SGYXYMKZ.cjs +214 -0
- package/dist/chunk-SGYXYMKZ.cjs.map +1 -0
- package/dist/chunk-UGKYP6F3.cjs +296 -0
- package/dist/chunk-UGKYP6F3.cjs.map +1 -0
- package/dist/chunk-WB6XDNU7.js +115 -0
- package/dist/chunk-WB6XDNU7.js.map +1 -0
- package/dist/{chunk-LTPTW2US.cjs → chunk-WE4QIIVN.cjs} +592 -974
- package/dist/chunk-WE4QIIVN.cjs.map +1 -0
- package/dist/core/index.cjs +144 -626
- package/dist/core/index.css +178 -3567
- package/dist/core/index.css.map +1 -1
- package/dist/core/index.d.cts +940 -902
- package/dist/core/index.d.ts +940 -902
- package/dist/core/index.js +6 -12
- package/dist/i18n/index.cjs +54 -49
- package/dist/i18n/index.d.cts +46 -11
- package/dist/i18n/index.d.ts +46 -11
- package/dist/i18n/index.js +2 -1
- package/dist/index-BJ8rBqrO.d.cts +1100 -0
- package/dist/index-BxMqCbqE.d.ts +1100 -0
- package/dist/index.cjs +507 -1001
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6057 -16713
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +306 -21
- package/dist/index.d.ts +306 -21
- package/dist/index.js +274 -39
- package/dist/index.js.map +1 -1
- package/dist/marketing/index.cjs +33 -76
- package/dist/marketing/index.css +1896 -3234
- package/dist/marketing/index.css.map +1 -1
- package/dist/marketing/index.d.cts +3 -1351
- package/dist/marketing/index.d.ts +3 -1351
- package/dist/marketing/index.js +5 -8
- package/dist/motion/index.cjs +3 -20
- package/dist/motion/index.css +0 -580
- package/dist/motion/index.css.map +1 -1
- package/dist/motion/index.d.cts +1 -37
- package/dist/motion/index.d.ts +1 -37
- package/dist/motion/index.js +1 -2
- package/dist/nav/index.cjs +10 -35
- package/dist/nav/index.css +28 -580
- package/dist/nav/index.css.map +1 -1
- package/dist/nav/index.d.cts +2 -60
- package/dist/nav/index.d.ts +2 -60
- package/dist/nav/index.js +1 -2
- package/dist/report/index.cjs +1166 -175
- package/dist/report/index.cjs.map +1 -1
- package/dist/report/index.d.cts +208 -5
- package/dist/report/index.d.ts +208 -5
- package/dist/report/index.js +1141 -3
- package/dist/report/index.js.map +1 -1
- package/dist/sections/index.cjs +8 -10
- package/dist/sections/index.cjs.map +1 -1
- package/dist/sections/index.css +0 -206
- package/dist/sections/index.css.map +1 -1
- package/dist/sections/index.js +2 -4
- package/dist/sections/index.js.map +1 -1
- package/dist/social-media/index.cjs +4 -0
- package/dist/social-media/index.cjs.map +1 -0
- package/dist/social-media/index.d.cts +2 -0
- package/dist/social-media/index.d.ts +2 -0
- package/dist/social-media/index.js +3 -0
- package/dist/social-media/index.js.map +1 -0
- package/dist/social-proof/index.cjs +4 -36
- package/dist/social-proof/index.css +3 -1106
- package/dist/social-proof/index.css.map +1 -1
- package/dist/social-proof/index.d.cts +26 -171
- package/dist/social-proof/index.d.ts +26 -171
- package/dist/social-proof/index.js +1 -5
- package/dist/styles/styles.css +657 -2990
- package/dist/theme/index.cjs +12 -16
- package/dist/theme/index.css +1 -245
- package/dist/theme/index.css.map +1 -1
- package/dist/theme/index.d.cts +4 -1
- package/dist/theme/index.d.ts +4 -1
- package/dist/theme/index.js +2 -2
- package/dist/web/client/index.cjs +10 -10
- package/dist/web/client/index.css +118 -0
- package/dist/web/client/index.css.map +1 -1
- package/dist/web/client/index.js +2 -2
- package/dist/web/index.cjs +10 -10
- package/dist/web/index.css +118 -0
- package/dist/web/index.css.map +1 -1
- package/dist/web/index.js +2 -2
- package/package.json +10 -4
- package/dist/AppearancePanel-UT57J69V.d.cts +0 -51
- package/dist/AppearancePanel-UT57J69V.d.ts +0 -51
- package/dist/ExportMenu-A2TLFiVv.d.cts +0 -311
- package/dist/ExportMenu-C8qck5AT.d.ts +0 -311
- package/dist/Select-BdZmK0Lt.d.cts +0 -66
- package/dist/Select-BdZmK0Lt.d.ts +0 -66
- package/dist/chart-types-BGVVO-zl.d.cts +0 -208
- package/dist/chart-types-BGVVO-zl.d.ts +0 -208
- package/dist/charts/index.css +0 -1167
- package/dist/charts/index.css.map +0 -1
- package/dist/chunk-3BAQDW3V.cjs +0 -1207
- package/dist/chunk-3BAQDW3V.cjs.map +0 -1
- package/dist/chunk-3NKRFUAR.js +0 -37
- package/dist/chunk-3NKRFUAR.js.map +0 -1
- package/dist/chunk-3TGSIILM.cjs +0 -201
- package/dist/chunk-3TGSIILM.cjs.map +0 -1
- package/dist/chunk-4GM5BGBN.cjs +0 -801
- package/dist/chunk-4GM5BGBN.cjs.map +0 -1
- package/dist/chunk-5LA3T22E.cjs +0 -562
- package/dist/chunk-5LA3T22E.cjs.map +0 -1
- package/dist/chunk-5SN66B2X.js +0 -2542
- package/dist/chunk-5SN66B2X.js.map +0 -1
- package/dist/chunk-6D22TFLA.cjs.map +0 -1
- package/dist/chunk-6H4DSTXR.js +0 -786
- package/dist/chunk-6H4DSTXR.js.map +0 -1
- package/dist/chunk-6HKQ5ILL.cjs +0 -1624
- package/dist/chunk-6HKQ5ILL.cjs.map +0 -1
- package/dist/chunk-7PX2AZ6Y.js +0 -39
- package/dist/chunk-7PX2AZ6Y.js.map +0 -1
- package/dist/chunk-7UZ5DETZ.js.map +0 -1
- package/dist/chunk-B6AVAX4F.js +0 -1415
- package/dist/chunk-B6AVAX4F.js.map +0 -1
- package/dist/chunk-BJZ2DKS5.cjs.map +0 -1
- package/dist/chunk-BUTQSDQH.js +0 -200
- package/dist/chunk-BUTQSDQH.js.map +0 -1
- package/dist/chunk-C2BCDNAV.js +0 -24
- package/dist/chunk-C2BCDNAV.js.map +0 -1
- package/dist/chunk-CJ2MKVAF.cjs +0 -46
- package/dist/chunk-CJ2MKVAF.cjs.map +0 -1
- package/dist/chunk-E7D6EKJ4.cjs +0 -44
- package/dist/chunk-E7D6EKJ4.cjs.map +0 -1
- package/dist/chunk-ECXBTUH6.cjs.map +0 -1
- package/dist/chunk-FAFAP4L5.js +0 -183
- package/dist/chunk-FAFAP4L5.js.map +0 -1
- package/dist/chunk-G2XGBO5V.cjs +0 -2565
- package/dist/chunk-G2XGBO5V.cjs.map +0 -1
- package/dist/chunk-GQELL2MF.cjs.map +0 -1
- package/dist/chunk-H2KQ3WSH.cjs.map +0 -1
- package/dist/chunk-H2Y6BSTL.cjs.map +0 -1
- package/dist/chunk-HCZW5AJN.cjs +0 -234
- package/dist/chunk-HCZW5AJN.cjs.map +0 -1
- package/dist/chunk-HDVAMYSG.js.map +0 -1
- package/dist/chunk-HN4PHABT.js +0 -126
- package/dist/chunk-HN4PHABT.js.map +0 -1
- package/dist/chunk-LTPTW2US.cjs.map +0 -1
- package/dist/chunk-MDB2WCRQ.cjs +0 -137
- package/dist/chunk-MDB2WCRQ.cjs.map +0 -1
- package/dist/chunk-MQRB634A.cjs +0 -34
- package/dist/chunk-MQRB634A.cjs.map +0 -1
- package/dist/chunk-NN3TUHIH.js +0 -28
- package/dist/chunk-NN3TUHIH.js.map +0 -1
- package/dist/chunk-OWS2KAXZ.js +0 -701
- package/dist/chunk-OWS2KAXZ.js.map +0 -1
- package/dist/chunk-P5BOFE5A.js.map +0 -1
- package/dist/chunk-PUPSK3DI.cjs +0 -216
- package/dist/chunk-PUPSK3DI.cjs.map +0 -1
- package/dist/chunk-Q2MFGYTE.cjs +0 -1449
- package/dist/chunk-Q2MFGYTE.cjs.map +0 -1
- package/dist/chunk-Q75DBVDY.cjs +0 -68
- package/dist/chunk-Q75DBVDY.cjs.map +0 -1
- package/dist/chunk-QALDZ7WQ.js.map +0 -1
- package/dist/chunk-QWE2RNCS.js +0 -1195
- package/dist/chunk-QWE2RNCS.js.map +0 -1
- package/dist/chunk-RQUFZAZ7.js +0 -1608
- package/dist/chunk-RQUFZAZ7.js.map +0 -1
- package/dist/chunk-SICKWUWB.js.map +0 -1
- package/dist/chunk-TCFC7XTB.js +0 -212
- package/dist/chunk-TCFC7XTB.js.map +0 -1
- package/dist/chunk-UTVXGAQP.cjs +0 -2437
- package/dist/chunk-UTVXGAQP.cjs.map +0 -1
- package/dist/chunk-UVEMY3FQ.cjs +0 -717
- package/dist/chunk-UVEMY3FQ.cjs.map +0 -1
- package/dist/chunk-VFJZQQZU.js.map +0 -1
- package/dist/chunk-WH7PYHZY.cjs +0 -35
- package/dist/chunk-WH7PYHZY.cjs.map +0 -1
- package/dist/chunk-WYH4TKS5.js.map +0 -1
- package/dist/chunk-XEX2AEZK.cjs.map +0 -1
- package/dist/chunk-XPTVHPCN.js +0 -2320
- package/dist/chunk-XPTVHPCN.js.map +0 -1
- package/dist/chunk-XWPDRMZG.js +0 -62
- package/dist/chunk-XWPDRMZG.js.map +0 -1
- package/dist/chunk-Y26OHHMX.js.map +0 -1
- package/dist/chunk-YJ6C3EKW.js.map +0 -1
- package/dist/motion-C651Ry6d.d.cts +0 -832
- package/dist/motion-C651Ry6d.d.ts +0 -832
- package/dist/report/index.css +0 -1239
- package/dist/report/index.css.map +0 -1
- /package/dist/{chunk-6UNG76Y2.js.map → chunk-2VVRZBUR.cjs.map} +0 -0
- /package/dist/{chunk-YTYDQBVY.cjs.map → chunk-K526GN7P.js.map} +0 -0
package/dist/core/index.d.ts
CHANGED
|
@@ -1,20 +1,37 @@
|
|
|
1
|
-
export { A as AnimationVariant, C as CARD_HOVER, D as DISTANCE, a as DURATION, E as EASING, H as HERO_ENTRANCE, M as MOTION, P as PANEL_CROSSFADE, b as PRESETS, R as REDUCED_PANEL_CROSSFADE, c as REDUCED_VARIANTS, S as SECTION_REVEAL, T as TAB_SLIDE, d as TRANSITION, V as VARIANTS, e as VARIANT_MAP } from '../motion-C651Ry6d.js';
|
|
2
1
|
export { A as AppearanceContextValue, a as AppearanceProvider, b as AppearanceProviderProps, c as AppearanceSettings, B as Brand, D as Density, N as NavPlacement, R as Radius, T as Theme, d as accentForegroundRgb, h as hexToRgb, i as initializeAppearance, p as prefersReducedMotion, r as relativeLuminance, u as useAppearance } from '../AppearanceProvider-B_o-H39e.js';
|
|
3
|
-
export { A as AppearancePanel, a as AppearancePanelLabels, b as AppearancePanelProps } from '../AppearancePanel-UT57J69V.js';
|
|
4
2
|
import * as React from 'react';
|
|
5
|
-
import React__default, { TextareaHTMLAttributes
|
|
6
|
-
export { S as Select, a as SelectContent, b as SelectContentProps, c as SelectGroup, d as SelectGroupProps, e as SelectItem, f as SelectItemProps, g as SelectProps, h as SelectSeparator, i as SelectTrigger, j as SelectTriggerProps } from '../Select-BdZmK0Lt.js';
|
|
7
|
-
import * as _base_ui_react_dialog from '@base-ui/react/dialog';
|
|
8
|
-
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
3
|
+
import React__default, { TextareaHTMLAttributes } from 'react';
|
|
9
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
|
-
import * as _base_ui_react_tooltip from '@base-ui/react/tooltip';
|
|
11
|
-
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
12
|
-
import { Menu } from '@base-ui/react/menu';
|
|
13
5
|
export { B as Breadcrumb, a as BreadcrumbEllipsis, b as BreadcrumbEllipsisProps, c as BreadcrumbItem, d as BreadcrumbItemProps, e as BreadcrumbLink, f as BreadcrumbLinkProps, g as BreadcrumbList, h as BreadcrumbListProps, i as BreadcrumbPage, j as BreadcrumbPageProps, k as BreadcrumbProps, l as BreadcrumbSeparator, m as BreadcrumbSeparatorProps } from '../Breadcrumb-RX-B_gDV.js';
|
|
14
|
-
export { DSIntlProvider, DSIntlProviderProps, MessageValues, alertMessages, allMessages, appearanceMessages, authMessages, calendarMessages, carouselMessages, commonMessages, dialogMessages, formMessages, methodologyMessages, navigationMessages, paginationMessages, reportMessages, toastMessages, useDateFormat, useIsRTL, useLocale, useMessage, useNumberFormat, useRelativeTime, useTextDirection } from '../i18n/index.js';
|
|
6
|
+
export { DSIntlProvider, DSIntlProviderProps, MessageValues, alertMessages, allMessages, appearanceMessages, authMessages, bookingEmbedMessages, calendarMessages, carouselMessages, commonMessages, dialogMessages, formMessages, methodologyMessages, navigationMessages, paginationMessages, reportMessages, toastMessages, useDateFormat, useIsRTL, useLocale, useMessage, useNumberFormat, useRelativeTime, useTextDirection } from '../i18n/index.js';
|
|
15
7
|
export { FormattedDate, FormattedMessage, FormattedNumber, MessageDescriptor, defineMessages } from 'react-intl';
|
|
16
8
|
|
|
17
|
-
|
|
9
|
+
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/**
|
|
11
|
+
* v2 glass tier depth. Applies glass--tier-{N} blur/saturation from the tier system.
|
|
12
|
+
* - `1` = base (--glass-1, 20px blur)
|
|
13
|
+
* - `2` = elevated (--glass-2, 28px blur)
|
|
14
|
+
* - `3` = heavy (--glass-3, 36px blur)
|
|
15
|
+
* @since v2
|
|
16
|
+
*/
|
|
17
|
+
tier?: 1 | 2 | 3;
|
|
18
|
+
/**
|
|
19
|
+
* Border radius variant.
|
|
20
|
+
* - `'card'` = 24px (default, matches --radius-card)
|
|
21
|
+
* - `'panel'` = 32px (--radius-panel, for large panels/sidebars)
|
|
22
|
+
* - `'pill'` = 9999px (--radius-pill, for pill-shaped cards)
|
|
23
|
+
* @default 'card'
|
|
24
|
+
* @since v2
|
|
25
|
+
*/
|
|
26
|
+
radius?: 'card' | 'panel' | 'pill';
|
|
27
|
+
/**
|
|
28
|
+
* When true, adds a subtle aurora-pink inner glow via box-shadow.
|
|
29
|
+
* Used in LeadNotification to signal active/live state.
|
|
30
|
+
* @since v2
|
|
31
|
+
*/
|
|
32
|
+
aurora?: boolean;
|
|
33
|
+
}
|
|
34
|
+
declare const Card: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
18
35
|
declare const CardHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
19
36
|
declare const CardTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
20
37
|
declare const CardDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -23,7 +40,8 @@ declare const CardFooter: React__default.ForwardRefExoticComponent<React__defaul
|
|
|
23
40
|
|
|
24
41
|
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
25
42
|
/** Visual style variant of the button */
|
|
26
|
-
|
|
43
|
+
/** Visual style variant of the button */
|
|
44
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'link' | 'destructive' | 'aurora-primary' | 'aurora-secondary';
|
|
27
45
|
/** Size of the button */
|
|
28
46
|
size?: 'sm' | 'md' | 'lg' | 'icon';
|
|
29
47
|
/** Shows a loading spinner and disables the button */
|
|
@@ -47,33 +65,6 @@ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
47
65
|
*/
|
|
48
66
|
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
49
67
|
|
|
50
|
-
interface ButtonGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
51
|
-
/** Orientation of the group */
|
|
52
|
-
orientation?: 'horizontal' | 'vertical';
|
|
53
|
-
/** Whether buttons should stretch to fill width */
|
|
54
|
-
fullWidth?: boolean;
|
|
55
|
-
/** Size of all buttons in group (if supported by children) */
|
|
56
|
-
size?: 'sm' | 'md' | 'lg';
|
|
57
|
-
/** Custom class name */
|
|
58
|
-
className?: string;
|
|
59
|
-
/** Button elements */
|
|
60
|
-
children?: React__default.ReactNode;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* ButtonGroup — Compositional Component
|
|
64
|
-
*
|
|
65
|
-
* Groups related buttons together, merging their borders and controlling layout.
|
|
66
|
-
*/
|
|
67
|
-
declare const ButtonGroup: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
68
|
-
|
|
69
|
-
interface TextFieldProps extends React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
70
|
-
label?: string;
|
|
71
|
-
error?: boolean;
|
|
72
|
-
helperText?: string;
|
|
73
|
-
endAdornment?: React__default.ReactNode;
|
|
74
|
-
}
|
|
75
|
-
declare const TextField: React__default.ForwardRefExoticComponent<TextFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
76
|
-
|
|
77
68
|
interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
78
69
|
label?: string;
|
|
79
70
|
error?: boolean;
|
|
@@ -96,20 +87,6 @@ interface CheckboxProps {
|
|
|
96
87
|
}
|
|
97
88
|
declare const Checkbox: React__default.ForwardRefExoticComponent<CheckboxProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
98
89
|
|
|
99
|
-
interface RadioGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
100
|
-
name?: string;
|
|
101
|
-
value?: string;
|
|
102
|
-
defaultValue?: string;
|
|
103
|
-
onValueChange?: (value: string) => void;
|
|
104
|
-
orientation?: 'horizontal' | 'vertical';
|
|
105
|
-
}
|
|
106
|
-
declare const RadioGroup: React__default.ForwardRefExoticComponent<RadioGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
107
|
-
interface RadioProps extends React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
108
|
-
label?: string;
|
|
109
|
-
value: string;
|
|
110
|
-
}
|
|
111
|
-
declare const Radio: React__default.ForwardRefExoticComponent<RadioProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
112
|
-
|
|
113
90
|
interface SwitchProps {
|
|
114
91
|
checked?: boolean;
|
|
115
92
|
defaultChecked?: boolean;
|
|
@@ -125,57 +102,6 @@ interface SwitchProps {
|
|
|
125
102
|
}
|
|
126
103
|
declare const Switch: React__default.ForwardRefExoticComponent<SwitchProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
127
104
|
|
|
128
|
-
declare const Dialog: typeof Dialog$1.Root;
|
|
129
|
-
declare const DialogTrigger: Dialog$1.Trigger;
|
|
130
|
-
declare const DialogClose: React__default.ForwardRefExoticComponent<Omit<_base_ui_react_dialog.DialogCloseProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
131
|
-
declare const DialogTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
132
|
-
declare const DialogDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
133
|
-
declare const DialogContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
134
|
-
/**
|
|
135
|
-
* Semantic header section for a dialog, typically containing
|
|
136
|
-
* DialogTitle and DialogDescription.
|
|
137
|
-
*/
|
|
138
|
-
declare const DialogHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
139
|
-
/**
|
|
140
|
-
* Footer section for dialog actions (confirm, cancel, etc.).
|
|
141
|
-
* Renders children in a right-aligned flex row with standard gap.
|
|
142
|
-
*/
|
|
143
|
-
declare const DialogFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
144
|
-
|
|
145
|
-
declare const TooltipProvider: React__default.FC<_base_ui_react_tooltip.TooltipProviderProps>;
|
|
146
|
-
declare const TooltipRoot: typeof Tooltip$1.Root;
|
|
147
|
-
declare const TooltipTrigger: Tooltip$1.Trigger;
|
|
148
|
-
declare const TooltipContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
149
|
-
interface TooltipProps {
|
|
150
|
-
content: React__default.ReactNode;
|
|
151
|
-
children: React__default.ReactNode;
|
|
152
|
-
delay?: number;
|
|
153
|
-
}
|
|
154
|
-
declare const Tooltip: ({ content, children, delay }: TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
155
|
-
|
|
156
|
-
type AccordionType = 'single' | 'multiple';
|
|
157
|
-
interface AccordionProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
158
|
-
/** Whether one or multiple items can be open at the same time. */
|
|
159
|
-
type?: AccordionType;
|
|
160
|
-
/** The value(s) of the item(s) that should be open by default. */
|
|
161
|
-
defaultValue?: string[];
|
|
162
|
-
/**
|
|
163
|
-
* Whether a single-type accordion can have all items collapsed.
|
|
164
|
-
* This is always true in the DS implementation (accepted for shadcn compat).
|
|
165
|
-
*/
|
|
166
|
-
collapsible?: boolean;
|
|
167
|
-
}
|
|
168
|
-
declare const Accordion: React__default.ForwardRefExoticComponent<AccordionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
169
|
-
interface AccordionItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
170
|
-
/** Unique value identifying this item. */
|
|
171
|
-
value: string;
|
|
172
|
-
}
|
|
173
|
-
declare const AccordionItem: React__default.ForwardRefExoticComponent<AccordionItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
174
|
-
type AccordionTriggerProps = React__default.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
175
|
-
declare const AccordionTrigger: React__default.ForwardRefExoticComponent<AccordionTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
176
|
-
type AccordionContentProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
177
|
-
declare const AccordionContent: React__default.ForwardRefExoticComponent<AccordionContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
178
|
-
|
|
179
105
|
interface LabelProps extends React__default.LabelHTMLAttributes<HTMLLabelElement> {
|
|
180
106
|
/** Whether the associated input is disabled. */
|
|
181
107
|
disabled?: boolean;
|
|
@@ -217,48 +143,6 @@ interface SeparatorProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
|
217
143
|
*/
|
|
218
144
|
declare const Separator: React__default.ForwardRefExoticComponent<SeparatorProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
219
145
|
|
|
220
|
-
interface SheetProps {
|
|
221
|
-
/** Controlled open state */
|
|
222
|
-
open?: boolean;
|
|
223
|
-
/** Callback fired when the open state changes */
|
|
224
|
-
onOpenChange?: (open: boolean) => void;
|
|
225
|
-
children: React__default.ReactNode;
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Root wrapper that manages open/close state for a slide-over panel.
|
|
229
|
-
*
|
|
230
|
-
* @example
|
|
231
|
-
* <Sheet>
|
|
232
|
-
* <SheetTrigger>Open</SheetTrigger>
|
|
233
|
-
* <SheetContent>…</SheetContent>
|
|
234
|
-
* </Sheet>
|
|
235
|
-
*/
|
|
236
|
-
declare const Sheet: React__default.FC<SheetProps>;
|
|
237
|
-
interface SheetTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
238
|
-
/** When true, renders the child as the root element via Radix Slot. */
|
|
239
|
-
asChild?: boolean;
|
|
240
|
-
}
|
|
241
|
-
declare const SheetTrigger: React__default.ForwardRefExoticComponent<SheetTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
242
|
-
interface SheetCloseProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
243
|
-
/** When true, renders the child as the root element via Radix Slot. */
|
|
244
|
-
asChild?: boolean;
|
|
245
|
-
}
|
|
246
|
-
declare const SheetClose: React__default.ForwardRefExoticComponent<SheetCloseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
247
|
-
type SheetSide = 'top' | 'right' | 'bottom' | 'left';
|
|
248
|
-
interface SheetContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
249
|
-
/** Edge from which the panel slides in */
|
|
250
|
-
side?: SheetSide;
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* The slide-over panel itself. Renders via a React Portal to `document.body`.
|
|
254
|
-
* Includes a backdrop overlay and the glass panel.
|
|
255
|
-
*/
|
|
256
|
-
declare const SheetContent: React__default.ForwardRefExoticComponent<SheetContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
257
|
-
declare const SheetHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
258
|
-
declare const SheetTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
259
|
-
declare const SheetDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
260
|
-
declare const SheetFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
261
|
-
|
|
262
146
|
interface AvatarProps extends React__default.HTMLAttributes<HTMLSpanElement> {
|
|
263
147
|
/** Size variant */
|
|
264
148
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -276,120 +160,6 @@ declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & Rea
|
|
|
276
160
|
declare const AvatarImage: React__default.ForwardRefExoticComponent<React__default.ImgHTMLAttributes<HTMLImageElement> & React__default.RefAttributes<HTMLImageElement>>;
|
|
277
161
|
declare const AvatarFallback: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & React__default.RefAttributes<HTMLSpanElement>>;
|
|
278
162
|
|
|
279
|
-
interface PopoverProps {
|
|
280
|
-
open?: boolean;
|
|
281
|
-
onOpenChange?: (open: boolean) => void;
|
|
282
|
-
children: React__default.ReactNode;
|
|
283
|
-
}
|
|
284
|
-
declare const Popover: React__default.FC<PopoverProps>;
|
|
285
|
-
interface PopoverTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
286
|
-
/** When true, renders the child as the root element via Radix Slot. */
|
|
287
|
-
asChild?: boolean;
|
|
288
|
-
}
|
|
289
|
-
declare const PopoverTrigger: React__default.ForwardRefExoticComponent<PopoverTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
290
|
-
interface PopoverContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
291
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
292
|
-
align?: 'start' | 'center' | 'end';
|
|
293
|
-
}
|
|
294
|
-
declare const PopoverContent: React__default.ForwardRefExoticComponent<PopoverContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
295
|
-
declare const PopoverClose: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
296
|
-
|
|
297
|
-
interface ProgressProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
298
|
-
/** Current progress value (0–100 by default). */
|
|
299
|
-
value?: number;
|
|
300
|
-
/** Maximum value. Defaults to 100. */
|
|
301
|
-
max?: number;
|
|
302
|
-
}
|
|
303
|
-
declare const Progress: React__default.ForwardRefExoticComponent<ProgressProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
304
|
-
|
|
305
|
-
interface ScrollAreaProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
306
|
-
/**
|
|
307
|
-
* The content to render inside the scrollable viewport.
|
|
308
|
-
*/
|
|
309
|
-
children?: React__default.ReactNode;
|
|
310
|
-
}
|
|
311
|
-
/**
|
|
312
|
-
* Custom scrollbar container with styled scrollbars via CSS.
|
|
313
|
-
*
|
|
314
|
-
* @example
|
|
315
|
-
* <ScrollArea style={{ height: 200 }}>
|
|
316
|
-
* <p>Long content here...</p>
|
|
317
|
-
* </ScrollArea>
|
|
318
|
-
*/
|
|
319
|
-
declare const ScrollArea: React__default.ForwardRefExoticComponent<ScrollAreaProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
320
|
-
interface ScrollBarProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
321
|
-
/**
|
|
322
|
-
* The orientation of the scrollbar.
|
|
323
|
-
* @default 'vertical'
|
|
324
|
-
*/
|
|
325
|
-
orientation?: 'vertical' | 'horizontal';
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Optional decorative scrollbar indicator.
|
|
329
|
-
* The main ScrollArea works standalone with CSS-only custom scrollbars.
|
|
330
|
-
*/
|
|
331
|
-
declare const ScrollBar: React__default.ForwardRefExoticComponent<ScrollBarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
332
|
-
|
|
333
|
-
interface ToggleProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
334
|
-
/** Whether the toggle is currently pressed. */
|
|
335
|
-
pressed?: boolean;
|
|
336
|
-
/** Callback fired when the pressed state changes. */
|
|
337
|
-
onPressedChange?: (pressed: boolean) => void;
|
|
338
|
-
/** Visual style variant. */
|
|
339
|
-
variant?: 'default' | 'outline';
|
|
340
|
-
/** Size of the toggle button. */
|
|
341
|
-
size?: 'sm' | 'md' | 'lg';
|
|
342
|
-
}
|
|
343
|
-
declare const Toggle: React__default.ForwardRefExoticComponent<ToggleProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
344
|
-
|
|
345
|
-
interface ToggleGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
346
|
-
/** Whether a single or multiple items can be pressed at once. */
|
|
347
|
-
type: 'single' | 'multiple';
|
|
348
|
-
/** The controlled value(s). String for single, string[] for multiple. */
|
|
349
|
-
value?: string | string[];
|
|
350
|
-
/** Callback when value changes. */
|
|
351
|
-
onValueChange?: (value: string | string[]) => void;
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* A group of toggle buttons where one or more can be selected.
|
|
355
|
-
*
|
|
356
|
-
* @example
|
|
357
|
-
* <ToggleGroup type="single" value="center" onValueChange={setValue}>
|
|
358
|
-
* <ToggleGroupItem value="left">Left</ToggleGroupItem>
|
|
359
|
-
* <ToggleGroupItem value="center">Center</ToggleGroupItem>
|
|
360
|
-
* <ToggleGroupItem value="right">Right</ToggleGroupItem>
|
|
361
|
-
* </ToggleGroup>
|
|
362
|
-
*/
|
|
363
|
-
declare const ToggleGroup: React__default.ForwardRefExoticComponent<ToggleGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
364
|
-
interface ToggleGroupItemProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
365
|
-
/** The value this item represents. */
|
|
366
|
-
value: string;
|
|
367
|
-
}
|
|
368
|
-
declare const ToggleGroupItem: React__default.ForwardRefExoticComponent<ToggleGroupItemProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
369
|
-
|
|
370
|
-
interface SliderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
371
|
-
/** Current value (controlled). */
|
|
372
|
-
value?: number;
|
|
373
|
-
/** Default value (uncontrolled). */
|
|
374
|
-
defaultValue?: number;
|
|
375
|
-
/** Minimum value. */
|
|
376
|
-
min?: number;
|
|
377
|
-
/** Maximum value. */
|
|
378
|
-
max?: number;
|
|
379
|
-
/** Step increment. */
|
|
380
|
-
step?: number;
|
|
381
|
-
/** Callback fired when the value changes. */
|
|
382
|
-
onValueChange?: (value: number) => void;
|
|
383
|
-
/** Whether the slider is disabled. */
|
|
384
|
-
disabled?: boolean;
|
|
385
|
-
/**
|
|
386
|
-
* Accessible label forwarded to the inner `<input type="range">`.
|
|
387
|
-
* Required for accessibility when the Slider is not wrapped by a `<label>`.
|
|
388
|
-
*/
|
|
389
|
-
inputLabel?: string;
|
|
390
|
-
}
|
|
391
|
-
declare const Slider: React__default.ForwardRefExoticComponent<SliderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
392
|
-
|
|
393
163
|
interface CollapsibleProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
394
164
|
/** Whether the collapsible is open (controlled). */
|
|
395
165
|
open?: boolean;
|
|
@@ -400,679 +170,932 @@ declare const Collapsible: React__default.ForwardRefExoticComponent<CollapsibleP
|
|
|
400
170
|
declare const CollapsibleTrigger: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
401
171
|
declare const CollapsibleContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
402
172
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
/** Delay in ms before closing. */
|
|
407
|
-
closeDelay?: number;
|
|
408
|
-
children: React__default.ReactNode;
|
|
409
|
-
}
|
|
410
|
-
declare const HoverCard: React__default.FC<HoverCardProps>;
|
|
411
|
-
declare const HoverCardTrigger: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & React__default.RefAttributes<HTMLSpanElement>>;
|
|
412
|
-
interface HoverCardContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
413
|
-
/** Which side to position the card. */
|
|
414
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
415
|
-
/** Alignment of the card relative to the trigger. */
|
|
416
|
-
align?: 'start' | 'center' | 'end';
|
|
417
|
-
}
|
|
418
|
-
declare const HoverCardContent: React__default.ForwardRefExoticComponent<HoverCardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
419
|
-
|
|
420
|
-
interface AspectRatioProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
421
|
-
/**
|
|
422
|
-
* The desired width-to-height ratio (e.g. 16/9, 4/3, 1).
|
|
423
|
-
* @default 1
|
|
424
|
-
*/
|
|
425
|
-
ratio?: number;
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* Maintains a fixed aspect ratio for its child content using the
|
|
429
|
-
* padding-bottom technique.
|
|
430
|
-
*
|
|
431
|
-
* @example
|
|
432
|
-
* <AspectRatio ratio={16 / 9}>
|
|
433
|
-
* <img src="photo.jpg" alt="Landscape" />
|
|
434
|
-
* </AspectRatio>
|
|
435
|
-
*/
|
|
436
|
-
declare const AspectRatio: React__default.ForwardRefExoticComponent<AspectRatioProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
437
|
-
|
|
438
|
-
interface PaginationProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
439
|
-
/** Override the default aria-label for the nav element. */
|
|
440
|
-
'aria-label'?: string;
|
|
441
|
-
}
|
|
442
|
-
/**
|
|
443
|
-
* Root navigation element for paginated content.
|
|
444
|
-
*
|
|
445
|
-
* @example
|
|
446
|
-
* <Pagination>
|
|
447
|
-
* <PaginationContent>
|
|
448
|
-
* <PaginationItem><PaginationPrevious /></PaginationItem>
|
|
449
|
-
* <PaginationItem><PaginationLink isActive>1</PaginationLink></PaginationItem>
|
|
450
|
-
* <PaginationItem><PaginationNext /></PaginationItem>
|
|
451
|
-
* </PaginationContent>
|
|
452
|
-
* </Pagination>
|
|
453
|
-
*/
|
|
454
|
-
declare const Pagination: React__default.ForwardRefExoticComponent<PaginationProps & React__default.RefAttributes<HTMLElement>>;
|
|
455
|
-
type PaginationContentProps = React__default.HTMLAttributes<HTMLUListElement>;
|
|
456
|
-
declare const PaginationContent: React__default.ForwardRefExoticComponent<PaginationContentProps & React__default.RefAttributes<HTMLUListElement>>;
|
|
457
|
-
type PaginationItemProps = React__default.LiHTMLAttributes<HTMLLIElement>;
|
|
458
|
-
declare const PaginationItem: React__default.ForwardRefExoticComponent<PaginationItemProps & React__default.RefAttributes<HTMLLIElement>>;
|
|
459
|
-
interface PaginationLinkProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
460
|
-
/** Highlight this link as the current page. */
|
|
461
|
-
isActive?: boolean;
|
|
462
|
-
/** Size variant. */
|
|
463
|
-
size?: 'sm' | 'md';
|
|
464
|
-
/** Render as child element via Radix Slot (e.g. anchor). */
|
|
465
|
-
asChild?: boolean;
|
|
466
|
-
}
|
|
467
|
-
declare const PaginationLink: React__default.ForwardRefExoticComponent<PaginationLinkProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
468
|
-
interface PaginationPreviousProps extends React__default.ComponentPropsWithoutRef<typeof PaginationLink> {
|
|
469
|
-
/** Visible label text. @default "Previous" */
|
|
470
|
-
label?: string;
|
|
471
|
-
}
|
|
472
|
-
declare const PaginationPrevious: React__default.ForwardRefExoticComponent<PaginationPreviousProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
473
|
-
interface PaginationNextProps extends React__default.ComponentPropsWithoutRef<typeof PaginationLink> {
|
|
474
|
-
/** Visible label text. @default "Next" */
|
|
475
|
-
label?: string;
|
|
476
|
-
}
|
|
477
|
-
declare const PaginationNext: React__default.ForwardRefExoticComponent<PaginationNextProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
478
|
-
type PaginationEllipsisProps = React__default.HTMLAttributes<HTMLSpanElement>;
|
|
479
|
-
declare const PaginationEllipsis: React__default.ForwardRefExoticComponent<PaginationEllipsisProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
480
|
-
|
|
481
|
-
type HeadingLevel = 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
482
|
-
type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
|
|
483
|
-
interface HeadingProps extends React__default.HTMLAttributes<HTMLHeadingElement> {
|
|
484
|
-
/**
|
|
485
|
-
* The visual hierarchy level.
|
|
486
|
-
* @default 'h2'
|
|
487
|
-
*/
|
|
488
|
-
level?: HeadingLevel;
|
|
489
|
-
/**
|
|
490
|
-
* Override the rendered HTML element.
|
|
491
|
-
* Defaults to the element matching `level`.
|
|
492
|
-
*/
|
|
493
|
-
as?: HeadingElement;
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Semantic heading component with consistent typographic styles.
|
|
497
|
-
*
|
|
498
|
-
* @example
|
|
499
|
-
* <Heading level="h1">Page Title</Heading>
|
|
500
|
-
* <Heading level="display" as="h2">Hero Text</Heading>
|
|
501
|
-
*/
|
|
502
|
-
declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
503
|
-
type TextVariant = 'lead' | 'body' | 'small' | 'muted';
|
|
504
|
-
type TextElement = 'p' | 'span' | 'div' | 'label';
|
|
505
|
-
interface TextProps extends React__default.HTMLAttributes<HTMLParagraphElement> {
|
|
173
|
+
/** Semantic tone values shared across Badge, Chip, and StatusBadge. */
|
|
174
|
+
type BadgeToneV2 = 'aurora-pink' | 'aurora-gold' | 'aurora-plum' | 'status-success' | 'status-warning' | 'status-error' | 'neutral';
|
|
175
|
+
interface BadgeProps extends React__default.HTMLAttributes<HTMLSpanElement> {
|
|
506
176
|
/**
|
|
507
|
-
*
|
|
508
|
-
* @
|
|
177
|
+
* Visual style variant (legacy).
|
|
178
|
+
* @deprecated Use `tone` for v2. Legacy variants preserved for backward compatibility.
|
|
509
179
|
*/
|
|
510
|
-
variant?:
|
|
180
|
+
variant?: 'default' | 'secondary' | 'outline' | 'destructive';
|
|
511
181
|
/**
|
|
512
|
-
*
|
|
513
|
-
*
|
|
182
|
+
* v2 semantic tone — maps to a colour family.
|
|
183
|
+
* When set, overrides `variant`.
|
|
184
|
+
* - `'aurora-pink'` / `'aurora-gold'` / `'aurora-plum'` — aurora colour tones
|
|
185
|
+
* - `'status-success'` — green
|
|
186
|
+
* - `'status-warning'` — amber
|
|
187
|
+
* - `'status-error'` — red
|
|
188
|
+
* - `'neutral'` — muted glass
|
|
189
|
+
* @since v2
|
|
514
190
|
*/
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
/**
|
|
518
|
-
* Body text component for consistent typographic styles.
|
|
519
|
-
*
|
|
520
|
-
* @example
|
|
521
|
-
* <Text>Default body text</Text>
|
|
522
|
-
* <Text variant="lead">Introductory paragraph</Text>
|
|
523
|
-
* <Text variant="small" as="span">Fine print</Text>
|
|
524
|
-
*/
|
|
525
|
-
declare const Text: React__default.ForwardRefExoticComponent<TextProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
526
|
-
type ProseProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
527
|
-
/**
|
|
528
|
-
* Wrapper for long-form content (articles, docs). Applies typographic styles
|
|
529
|
-
* to child elements (headings, paragraphs, lists, code, etc.) using DS tokens.
|
|
530
|
-
*
|
|
531
|
-
* @example
|
|
532
|
-
* <Prose>
|
|
533
|
-
* <h1>Article Title</h1>
|
|
534
|
-
* <p>Introduction paragraph...</p>
|
|
535
|
-
* </Prose>
|
|
536
|
-
*/
|
|
537
|
-
declare const Prose: React__default.ForwardRefExoticComponent<ProseProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* Root container for a horizontal scroll-snap carousel.
|
|
541
|
-
*
|
|
542
|
-
* @example
|
|
543
|
-
* <Carousel>
|
|
544
|
-
* <CarouselContent>
|
|
545
|
-
* <CarouselItem>Slide 1</CarouselItem>
|
|
546
|
-
* <CarouselItem>Slide 2</CarouselItem>
|
|
547
|
-
* </CarouselContent>
|
|
548
|
-
* <CarouselPrevious />
|
|
549
|
-
* <CarouselNext />
|
|
550
|
-
* </Carousel>
|
|
551
|
-
*/
|
|
552
|
-
declare const Carousel: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
553
|
-
declare const CarouselContent: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
554
|
-
declare const CarouselItem: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
555
|
-
interface CarouselPreviousProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
556
|
-
/** Override the default aria-label. @default "Previous slide" */
|
|
557
|
-
'aria-label'?: string;
|
|
558
|
-
}
|
|
559
|
-
declare const CarouselPrevious: React__default.ForwardRefExoticComponent<CarouselPreviousProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
560
|
-
interface CarouselNextProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
561
|
-
/** Override the default aria-label. @default "Next slide" */
|
|
562
|
-
'aria-label'?: string;
|
|
563
|
-
}
|
|
564
|
-
declare const CarouselNext: React__default.ForwardRefExoticComponent<CarouselNextProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
565
|
-
|
|
566
|
-
interface CommandProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
567
|
-
/** Optional controlled search value */
|
|
568
|
-
value?: string;
|
|
569
|
-
/** Callback when search value changes */
|
|
570
|
-
onValueChange?: (value: string) => void;
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* Command palette root. Manages search state, keyboard navigation, and
|
|
574
|
-
* active-item tracking for filtering items.
|
|
575
|
-
*
|
|
576
|
-
* **Keyboard navigation (built-in):**
|
|
577
|
-
* - `ArrowDown` / `ArrowUp` — move active highlight between items
|
|
578
|
-
* - `Enter` — activate the highlighted item
|
|
579
|
-
* - `Home` / `End` — jump to first / last item
|
|
580
|
-
* - `Escape` — clear search (when used standalone)
|
|
581
|
-
*
|
|
582
|
-
* @example
|
|
583
|
-
* <Command>
|
|
584
|
-
* <CommandInput placeholder="Search…" />
|
|
585
|
-
* <CommandList>
|
|
586
|
-
* <CommandGroup heading="Actions">
|
|
587
|
-
* <CommandItem onSelect={() => {}}>Do something</CommandItem>
|
|
588
|
-
* </CommandGroup>
|
|
589
|
-
* <CommandEmpty>No results found.</CommandEmpty>
|
|
590
|
-
* </CommandList>
|
|
591
|
-
* </Command>
|
|
592
|
-
*/
|
|
593
|
-
declare const Command: React__default.ForwardRefExoticComponent<CommandProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
594
|
-
declare const CommandInput: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>;
|
|
595
|
-
declare const CommandList: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
596
|
-
declare const CommandEmpty: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
597
|
-
interface CommandGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
598
|
-
/** Optional heading label for the group */
|
|
599
|
-
heading?: string;
|
|
600
|
-
}
|
|
601
|
-
declare const CommandGroup: React__default.ForwardRefExoticComponent<CommandGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
602
|
-
interface CommandItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
603
|
-
/** Callback fired when the item is selected (click or Enter) */
|
|
604
|
-
onSelect?: () => void;
|
|
605
|
-
}
|
|
606
|
-
declare const CommandItem: React__default.ForwardRefExoticComponent<CommandItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
607
|
-
declare const CommandSeparator: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* CommandDialog — Pre-composed Dialog + Command wrapper for
|
|
611
|
-
* building command palettes, site search overlays, and Cmd+K interfaces.
|
|
612
|
-
*
|
|
613
|
-
* Renders a Dialog with zero padding (so the Command component fills the panel)
|
|
614
|
-
* and a visually-hidden accessible title.
|
|
615
|
-
*
|
|
616
|
-
* @example
|
|
617
|
-
* ```tsx
|
|
618
|
-
* const [open, setOpen] = React.useState(false);
|
|
619
|
-
*
|
|
620
|
-
* <CommandDialog open={open} onOpenChange={setOpen}>
|
|
621
|
-
* <Command>
|
|
622
|
-
* <CommandInput placeholder="Search…" />
|
|
623
|
-
* <CommandList>
|
|
624
|
-
* <CommandGroup heading="Pages">
|
|
625
|
-
* <CommandItem onSelect={() => navigate('/home')}>Home</CommandItem>
|
|
626
|
-
* </CommandGroup>
|
|
627
|
-
* <CommandEmpty>No results found.</CommandEmpty>
|
|
628
|
-
* </CommandList>
|
|
629
|
-
* </Command>
|
|
630
|
-
* </CommandDialog>
|
|
631
|
-
* ```
|
|
632
|
-
*/
|
|
633
|
-
interface CommandDialogProps {
|
|
634
|
-
/** Whether the dialog is open (controlled) */
|
|
635
|
-
open?: boolean;
|
|
636
|
-
/** Called when open state changes (Escape, backdrop click, etc.) */
|
|
637
|
-
onOpenChange?: (open: boolean) => void;
|
|
638
|
-
/** Accessible title for screen readers (visually hidden) */
|
|
639
|
-
title?: string;
|
|
640
|
-
/** Size variant: sm (360px), md (480px, default), lg (640px), xl (800px) */
|
|
641
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
642
|
-
/** Additional className for the dialog content panel */
|
|
643
|
-
className?: string;
|
|
644
|
-
children: React__default.ReactNode;
|
|
645
|
-
}
|
|
646
|
-
declare const CommandDialog: React__default.FC<CommandDialogProps>;
|
|
647
|
-
|
|
648
|
-
interface DrawerProps {
|
|
649
|
-
/** Controlled open state */
|
|
650
|
-
open?: boolean;
|
|
651
|
-
/** Callback fired when the open state changes */
|
|
652
|
-
onOpenChange?: (open: boolean) => void;
|
|
653
|
-
children: React__default.ReactNode;
|
|
654
|
-
}
|
|
655
|
-
/**
|
|
656
|
-
* Root wrapper that manages open/close state for a bottom-sheet drawer.
|
|
657
|
-
*
|
|
658
|
-
* @example
|
|
659
|
-
* <Drawer>
|
|
660
|
-
* <DrawerTrigger>Open</DrawerTrigger>
|
|
661
|
-
* <DrawerContent>
|
|
662
|
-
* <DrawerHeader>
|
|
663
|
-
* <DrawerTitle>Title</DrawerTitle>
|
|
664
|
-
* <DrawerDescription>Description</DrawerDescription>
|
|
665
|
-
* </DrawerHeader>
|
|
666
|
-
* <DrawerFooter>
|
|
667
|
-
* <DrawerClose>Close</DrawerClose>
|
|
668
|
-
* </DrawerFooter>
|
|
669
|
-
* </DrawerContent>
|
|
670
|
-
* </Drawer>
|
|
671
|
-
*/
|
|
672
|
-
declare const Drawer: React__default.FC<DrawerProps>;
|
|
673
|
-
declare const DrawerTrigger: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
674
|
-
declare const DrawerClose: React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
675
|
-
type DrawerContentProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
676
|
-
/**
|
|
677
|
-
* The bottom-sheet panel. Renders via a React Portal to `document.body`.
|
|
678
|
-
* Includes a drag handle bar at the top and a backdrop overlay.
|
|
679
|
-
*/
|
|
680
|
-
declare const DrawerContent: React__default.ForwardRefExoticComponent<DrawerContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
681
|
-
declare const DrawerHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
682
|
-
declare const DrawerTitle: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLHeadingElement> & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
683
|
-
declare const DrawerDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
684
|
-
declare const DrawerFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
685
|
-
|
|
686
|
-
/** Translatable labels for the Calendar component. */
|
|
687
|
-
interface CalendarLabels {
|
|
688
|
-
/** Short weekday column headers (Sun–Sat). @default ['Su','Mo','Tu','We','Th','Fr','Sa'] */
|
|
689
|
-
weekdays?: string[];
|
|
690
|
-
/** Full month names (Jan–Dec). @default English month names */
|
|
691
|
-
months?: string[];
|
|
692
|
-
/** Aria-label for previous month button. @default "Previous month" */
|
|
693
|
-
previousMonth?: string;
|
|
694
|
-
/** Aria-label for next month button. @default "Next month" */
|
|
695
|
-
nextMonth?: string;
|
|
696
|
-
/** Formatter for individual day aria-labels. Receives the Date. @default date.toDateString() */
|
|
697
|
-
formatDayLabel?: (date: Date) => string;
|
|
698
|
-
}
|
|
699
|
-
interface CalendarProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
700
|
-
/** The currently selected date */
|
|
701
|
-
selected?: Date;
|
|
702
|
-
/** Callback when a date is selected */
|
|
703
|
-
onSelect?: (date: Date) => void;
|
|
704
|
-
/** Controlled month view */
|
|
705
|
-
month?: Date;
|
|
706
|
-
/** Callback when the displayed month changes */
|
|
707
|
-
onMonthChange?: (month: Date) => void;
|
|
708
|
-
/** Override default English labels for i18n. */
|
|
709
|
-
labels?: CalendarLabels;
|
|
191
|
+
tone?: BadgeToneV2;
|
|
710
192
|
}
|
|
711
193
|
/**
|
|
712
|
-
*
|
|
194
|
+
* Badge — static metadata indicator.
|
|
713
195
|
*
|
|
714
|
-
*
|
|
196
|
+
* **Semantic distinction:**
|
|
197
|
+
* - `Badge` = static metadata (e.g. "NEW", "BETA")
|
|
198
|
+
* - `StatusBadge` = dynamic state indicator (success/warning/error)
|
|
199
|
+
* - `Chip` = removable selection token
|
|
715
200
|
*
|
|
716
201
|
* @example
|
|
717
|
-
* <
|
|
202
|
+
* <Badge>New</Badge>
|
|
203
|
+
* <Badge tone="aurora-pink">AURORA</Badge>
|
|
718
204
|
*/
|
|
719
|
-
declare const
|
|
205
|
+
declare const Badge: React__default.ForwardRefExoticComponent<BadgeProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
720
206
|
|
|
721
|
-
interface
|
|
722
|
-
/**
|
|
723
|
-
length?: number;
|
|
724
|
-
/** Current value */
|
|
207
|
+
interface SelectProps {
|
|
208
|
+
/** Current selected value */
|
|
725
209
|
value?: string;
|
|
210
|
+
/** Default value for uncontrolled mode */
|
|
211
|
+
defaultValue?: string;
|
|
726
212
|
/** Callback when value changes */
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
* <InputOTPSlot index={3} />
|
|
746
|
-
* <InputOTPSlot index={4} />
|
|
747
|
-
* <InputOTPSlot index={5} />
|
|
748
|
-
* </InputOTPGroup>
|
|
749
|
-
* </InputOTP>
|
|
750
|
-
*/
|
|
751
|
-
declare const InputOTP: React__default.ForwardRefExoticComponent<InputOTPProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
752
|
-
declare const InputOTPGroup: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
753
|
-
interface InputOTPSlotProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
754
|
-
/** Zero-based index of this slot */
|
|
755
|
-
index: number;
|
|
756
|
-
}
|
|
757
|
-
declare const InputOTPSlot: React__default.ForwardRefExoticComponent<InputOTPSlotProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
758
|
-
declare const InputOTPSeparator: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
759
|
-
|
|
760
|
-
interface ContextMenuProps {
|
|
213
|
+
onValueChange?: (value: string | null) => void;
|
|
214
|
+
/** Whether the select is disabled */
|
|
215
|
+
disabled?: boolean;
|
|
216
|
+
/** Whether the select is required */
|
|
217
|
+
required?: boolean;
|
|
218
|
+
/** Name for form submission */
|
|
219
|
+
name?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Item label map for Value display resolution.
|
|
222
|
+
* When provided, Select.Value renders the label instead of the raw value.
|
|
223
|
+
* Accepts a record (e.g. `{ en: "English", fr: "French" }`) or an array
|
|
224
|
+
* of `{ value, label }` objects.
|
|
225
|
+
*/
|
|
226
|
+
items?: Record<string, React__default.ReactNode> | ReadonlyArray<{
|
|
227
|
+
label: React__default.ReactNode;
|
|
228
|
+
value: string;
|
|
229
|
+
}>;
|
|
230
|
+
/** Children (SelectTrigger, SelectContent, etc.) */
|
|
761
231
|
children: React__default.ReactNode;
|
|
762
232
|
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
*
|
|
766
|
-
* @example
|
|
767
|
-
* <ContextMenu>
|
|
768
|
-
* <ContextMenuTrigger>Right-click here</ContextMenuTrigger>
|
|
769
|
-
* <ContextMenuContent>
|
|
770
|
-
* <ContextMenuItem onSelect={() => alert('Copy')}>Copy</ContextMenuItem>
|
|
771
|
-
* <ContextMenuSeparator />
|
|
772
|
-
* <ContextMenuItem onSelect={() => alert('Paste')}>Paste</ContextMenuItem>
|
|
773
|
-
* </ContextMenuContent>
|
|
774
|
-
* </ContextMenu>
|
|
775
|
-
*/
|
|
776
|
-
declare function ContextMenu({ children }: ContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
777
|
-
declare namespace ContextMenu {
|
|
233
|
+
declare function Select({ value, defaultValue, onValueChange, disabled, required, name, items, children, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
234
|
+
declare namespace Select {
|
|
778
235
|
var displayName: string;
|
|
779
236
|
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
|
|
237
|
+
interface SelectTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
238
|
+
/** Placeholder text when no value selected */
|
|
239
|
+
placeholder?: string;
|
|
240
|
+
/** Size variant */
|
|
241
|
+
size?: 'sm' | 'md' | 'lg';
|
|
785
242
|
}
|
|
786
|
-
declare const
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
243
|
+
declare const SelectTrigger: React__default.ForwardRefExoticComponent<SelectTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
244
|
+
interface SelectContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
245
|
+
/** Positioning side */
|
|
246
|
+
side?: 'top' | 'bottom';
|
|
247
|
+
/** Side offset in pixels */
|
|
248
|
+
sideOffset?: number;
|
|
249
|
+
/** Alignment */
|
|
250
|
+
align?: 'start' | 'center' | 'end';
|
|
794
251
|
}
|
|
795
|
-
declare
|
|
796
|
-
interface
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
252
|
+
declare const SelectContent: React__default.ForwardRefExoticComponent<SelectContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
253
|
+
interface SelectItemProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
254
|
+
/** Value for this option */
|
|
255
|
+
value: string;
|
|
256
|
+
/** Display text */
|
|
257
|
+
children: React__default.ReactNode;
|
|
258
|
+
/** Whether the item is disabled */
|
|
259
|
+
disabled?: boolean;
|
|
802
260
|
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
children: (field: FieldRenderProps) => React__default.ReactNode;
|
|
808
|
-
/** Current field value */
|
|
809
|
-
value?: unknown;
|
|
810
|
-
/** Change handler */
|
|
811
|
-
onChange?: (...args: unknown[]) => void;
|
|
812
|
-
/** Blur handler */
|
|
813
|
-
onBlur?: () => void;
|
|
814
|
-
/** Error message for this field */
|
|
815
|
-
error?: string;
|
|
261
|
+
declare const SelectItem: React__default.ForwardRefExoticComponent<SelectItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
262
|
+
interface SelectGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
263
|
+
/** Group label */
|
|
264
|
+
label?: string;
|
|
816
265
|
}
|
|
266
|
+
declare const SelectGroup: React__default.ForwardRefExoticComponent<SelectGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
267
|
+
declare const SelectSeparator: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
268
|
+
|
|
817
269
|
/**
|
|
818
|
-
*
|
|
819
|
-
*
|
|
820
|
-
* Works with any form state management. The consumer passes field state directly.
|
|
821
|
-
*
|
|
822
|
-
* @example
|
|
823
|
-
* <FormField name="email" value={email} onChange={setEmail} error={errors.email}>
|
|
824
|
-
* {(field) => (
|
|
825
|
-
* <FormItem>
|
|
826
|
-
* <FormLabel>Email</FormLabel>
|
|
827
|
-
* <FormControl>
|
|
828
|
-
* <input value={field.value as string} onChange={(e) => field.onChange(e.target.value)} />
|
|
829
|
-
* </FormControl>
|
|
830
|
-
* <FormDescription>Your work email address</FormDescription>
|
|
831
|
-
* <FormMessage>{field.error}</FormMessage>
|
|
832
|
-
* </FormItem>
|
|
833
|
-
* )}
|
|
834
|
-
* </FormField>
|
|
270
|
+
* Duration tokens (seconds) for Framer Motion
|
|
835
271
|
*/
|
|
836
|
-
declare
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
declare const FormLabel: React__default.ForwardRefExoticComponent<React__default.LabelHTMLAttributes<HTMLLabelElement> & React__default.RefAttributes<HTMLLabelElement>>;
|
|
842
|
-
declare const FormControl: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
843
|
-
declare const FormDescription: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
844
|
-
declare const FormMessage: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
845
|
-
|
|
846
|
-
declare const SPACING: {
|
|
847
|
-
readonly 1: "var(--space-1)";
|
|
848
|
-
readonly 2: "var(--space-2)";
|
|
849
|
-
readonly 3: "var(--space-3)";
|
|
850
|
-
readonly 4: "var(--space-4)";
|
|
851
|
-
readonly 5: "var(--space-5)";
|
|
852
|
-
readonly 6: "var(--space-6)";
|
|
853
|
-
readonly 8: "var(--space-8)";
|
|
854
|
-
readonly 10: "var(--space-10)";
|
|
855
|
-
readonly 12: "var(--space-12)";
|
|
856
|
-
readonly 16: "var(--space-16)";
|
|
857
|
-
readonly 20: "var(--space-20)";
|
|
272
|
+
declare const DURATION: {
|
|
273
|
+
readonly micro: 0.15;
|
|
274
|
+
readonly short: 0.25;
|
|
275
|
+
readonly medium: 0.5;
|
|
276
|
+
readonly long: 1;
|
|
858
277
|
};
|
|
859
|
-
type SpacingToken = keyof typeof SPACING;
|
|
860
|
-
|
|
861
|
-
type SpacingValue = keyof typeof SPACING | number | string;
|
|
862
|
-
declare function resolveSpacing(value: SpacingValue | undefined): string | undefined;
|
|
863
|
-
interface SpacingProps {
|
|
864
|
-
m?: SpacingValue;
|
|
865
|
-
mt?: SpacingValue;
|
|
866
|
-
mb?: SpacingValue;
|
|
867
|
-
ml?: SpacingValue;
|
|
868
|
-
mr?: SpacingValue;
|
|
869
|
-
mx?: SpacingValue;
|
|
870
|
-
my?: SpacingValue;
|
|
871
|
-
p?: SpacingValue;
|
|
872
|
-
pt?: SpacingValue;
|
|
873
|
-
pb?: SpacingValue;
|
|
874
|
-
pl?: SpacingValue;
|
|
875
|
-
pr?: SpacingValue;
|
|
876
|
-
px?: SpacingValue;
|
|
877
|
-
py?: SpacingValue;
|
|
878
|
-
gap?: SpacingValue;
|
|
879
|
-
}
|
|
880
|
-
declare function extractSpacingStyles(props: SpacingProps): CSSProperties;
|
|
881
|
-
|
|
882
|
-
interface BoxProps extends HTMLAttributes<HTMLElement>, SpacingProps {
|
|
883
|
-
as?: ElementType;
|
|
884
|
-
}
|
|
885
|
-
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
886
|
-
|
|
887
|
-
interface StackProps extends BoxProps {
|
|
888
|
-
direction?: 'row' | 'column';
|
|
889
|
-
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
890
|
-
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
891
|
-
wrap?: boolean;
|
|
892
|
-
}
|
|
893
|
-
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLElement>>;
|
|
894
|
-
|
|
895
|
-
interface GridProps extends BoxProps {
|
|
896
|
-
columns?: number | string;
|
|
897
|
-
rows?: number | string;
|
|
898
|
-
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
899
|
-
justify?: 'start' | 'center' | 'end' | 'stretch';
|
|
900
|
-
/** Prevent grid from expanding to more columns on wide screens. */
|
|
901
|
-
fixed?: boolean;
|
|
902
|
-
}
|
|
903
|
-
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLElement>>;
|
|
904
|
-
|
|
905
|
-
type ContainerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
906
278
|
/**
|
|
907
|
-
*
|
|
908
|
-
* Aligns with common web breakpoints (Tailwind `max-w-*` scale).
|
|
279
|
+
* Easing definitions (cubic-bezier arrays) for Framer Motion
|
|
909
280
|
*/
|
|
910
|
-
declare const
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
size?: ContainerSize;
|
|
917
|
-
/** Pass `true` to stretch to 100% width (same as `size="full"`). */
|
|
918
|
-
fluid?: boolean;
|
|
919
|
-
/** Custom max-width value. Ignored when `size` or `fluid` is set. */
|
|
920
|
-
maxWidth?: number | string;
|
|
921
|
-
}
|
|
922
|
-
declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLElement>>;
|
|
923
|
-
|
|
924
|
-
interface SectionProps extends HTMLAttributes<HTMLElement> {
|
|
925
|
-
/**
|
|
926
|
-
* Vertical padding preset.
|
|
927
|
-
* @default 'md'
|
|
928
|
-
*/
|
|
929
|
-
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
930
|
-
}
|
|
281
|
+
declare const EASING: {
|
|
282
|
+
readonly standard: readonly [0.16, 1, 0.3, 1];
|
|
283
|
+
readonly emphasis: readonly [0.34, 1.56, 0.64, 1];
|
|
284
|
+
readonly exit: readonly [0.4, 0, 0.2, 1];
|
|
285
|
+
readonly linear: readonly [0, 0, 1, 1];
|
|
286
|
+
};
|
|
931
287
|
/**
|
|
932
|
-
*
|
|
933
|
-
*
|
|
934
|
-
* Use this for standalone section spacing. For sections that also need
|
|
935
|
-
* a centered Container, use `SectionShell` instead.
|
|
936
|
-
*
|
|
937
|
-
* @example
|
|
938
|
-
* <Section>
|
|
939
|
-
* <Container>…</Container>
|
|
940
|
-
* </Section>
|
|
288
|
+
* Standard transitions for Framer Motion
|
|
941
289
|
*/
|
|
942
|
-
declare const
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
}
|
|
961
|
-
declare const TabsTrigger: React__default.ForwardRefExoticComponent<TabsTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
962
|
-
interface TabsContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
963
|
-
value: string | number;
|
|
964
|
-
}
|
|
965
|
-
declare const TabsContent: React__default.ForwardRefExoticComponent<TabsContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
966
|
-
|
|
967
|
-
interface BadgeProps extends React__default.HTMLAttributes<HTMLSpanElement> {
|
|
968
|
-
/** Visual style variant */
|
|
969
|
-
variant?: 'default' | 'secondary' | 'outline' | 'destructive';
|
|
970
|
-
}
|
|
290
|
+
declare const TRANSITION: {
|
|
291
|
+
readonly standard: {
|
|
292
|
+
readonly duration: 0.5;
|
|
293
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
294
|
+
};
|
|
295
|
+
readonly emphasis: {
|
|
296
|
+
readonly duration: 0.5;
|
|
297
|
+
readonly ease: readonly [0.34, 1.56, 0.64, 1];
|
|
298
|
+
};
|
|
299
|
+
readonly quick: {
|
|
300
|
+
readonly duration: 0.25;
|
|
301
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
302
|
+
};
|
|
303
|
+
readonly spring: {
|
|
304
|
+
readonly type: "spring";
|
|
305
|
+
readonly stiffness: 200;
|
|
306
|
+
readonly damping: 20;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
971
309
|
/**
|
|
972
|
-
*
|
|
973
|
-
*
|
|
974
|
-
* For status-specific badges (success/warning/error/info), use `StatusBadge` instead.
|
|
975
|
-
*
|
|
976
|
-
* @example
|
|
977
|
-
* <Badge>New</Badge>
|
|
978
|
-
* <Badge variant="secondary">Category</Badge>
|
|
979
|
-
* <Badge variant="outline">v2.1.0</Badge>
|
|
980
|
-
* <Badge variant="destructive">Breaking</Badge>
|
|
310
|
+
* Layout Tokens
|
|
981
311
|
*/
|
|
982
|
-
declare const
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
size?: 'sm' | 'md';
|
|
989
|
-
/** Whether to show a dot indicator */
|
|
990
|
-
dot?: boolean;
|
|
991
|
-
/** Custom class name */
|
|
992
|
-
className?: string;
|
|
993
|
-
/** Child content */
|
|
994
|
-
children?: React__default.ReactNode;
|
|
995
|
-
}
|
|
312
|
+
declare const DISTANCE: {
|
|
313
|
+
readonly sm: 4;
|
|
314
|
+
readonly md: 12;
|
|
315
|
+
readonly lg: 24;
|
|
316
|
+
readonly xl: 48;
|
|
317
|
+
};
|
|
996
318
|
/**
|
|
997
|
-
*
|
|
998
|
-
*
|
|
999
|
-
* Uses dark glass base with a 1px colored border for status indication.
|
|
1000
|
-
* Brand colors are infused, never solid fills.
|
|
319
|
+
* Reusable Variants for Framer Motion
|
|
1001
320
|
*/
|
|
1002
|
-
declare const
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
321
|
+
declare const VARIANTS: {
|
|
322
|
+
readonly fadeIn: {
|
|
323
|
+
readonly hidden: {
|
|
324
|
+
readonly opacity: 0;
|
|
325
|
+
};
|
|
326
|
+
readonly visible: {
|
|
327
|
+
readonly opacity: 1;
|
|
328
|
+
readonly transition: {
|
|
329
|
+
readonly duration: 0.5;
|
|
330
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly fadeUp: {
|
|
335
|
+
readonly hidden: {
|
|
336
|
+
readonly opacity: 0;
|
|
337
|
+
readonly y: 12;
|
|
338
|
+
};
|
|
339
|
+
readonly visible: {
|
|
340
|
+
readonly opacity: 1;
|
|
341
|
+
readonly y: 0;
|
|
342
|
+
readonly transition: {
|
|
343
|
+
readonly duration: 0.5;
|
|
344
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
readonly fadeDown: {
|
|
349
|
+
readonly hidden: {
|
|
350
|
+
readonly opacity: 0;
|
|
351
|
+
readonly y: -12;
|
|
352
|
+
};
|
|
353
|
+
readonly visible: {
|
|
354
|
+
readonly opacity: 1;
|
|
355
|
+
readonly y: 0;
|
|
356
|
+
readonly transition: {
|
|
357
|
+
readonly duration: 0.5;
|
|
358
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
readonly scaleIn: {
|
|
363
|
+
readonly hidden: {
|
|
364
|
+
readonly opacity: 0;
|
|
365
|
+
readonly scale: 0.95;
|
|
366
|
+
};
|
|
367
|
+
readonly visible: {
|
|
368
|
+
readonly opacity: 1;
|
|
369
|
+
readonly scale: 1;
|
|
370
|
+
readonly transition: {
|
|
371
|
+
readonly duration: 0.25;
|
|
372
|
+
readonly ease: readonly [0.34, 1.56, 0.64, 1];
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
readonly slideLeft: {
|
|
377
|
+
readonly hidden: {
|
|
378
|
+
readonly opacity: 0;
|
|
379
|
+
readonly x: 24;
|
|
380
|
+
};
|
|
381
|
+
readonly visible: {
|
|
382
|
+
readonly opacity: 1;
|
|
383
|
+
readonly x: 0;
|
|
384
|
+
readonly transition: {
|
|
385
|
+
readonly duration: 0.5;
|
|
386
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
readonly slideRight: {
|
|
391
|
+
readonly hidden: {
|
|
392
|
+
readonly opacity: 0;
|
|
393
|
+
readonly x: number;
|
|
394
|
+
};
|
|
395
|
+
readonly visible: {
|
|
396
|
+
readonly opacity: 1;
|
|
397
|
+
readonly x: 0;
|
|
398
|
+
readonly transition: {
|
|
399
|
+
readonly duration: 0.5;
|
|
400
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
readonly staggerContainer: {
|
|
405
|
+
readonly hidden: {
|
|
406
|
+
readonly opacity: 0;
|
|
407
|
+
};
|
|
408
|
+
readonly visible: {
|
|
409
|
+
readonly opacity: 1;
|
|
410
|
+
readonly transition: {
|
|
411
|
+
readonly staggerChildren: 0.08;
|
|
412
|
+
readonly delayChildren: 0.1;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
readonly pulse: {
|
|
417
|
+
readonly hidden: {
|
|
418
|
+
readonly scale: 1;
|
|
419
|
+
};
|
|
420
|
+
readonly visible: {
|
|
421
|
+
readonly scale: readonly [1, 1.05, 1];
|
|
422
|
+
readonly transition: {
|
|
423
|
+
readonly duration: 1.5;
|
|
424
|
+
readonly repeat: number;
|
|
425
|
+
readonly ease: "easeInOut";
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
readonly impact: {
|
|
430
|
+
readonly hidden: {
|
|
431
|
+
readonly scale: 1;
|
|
432
|
+
};
|
|
433
|
+
readonly trigger: {
|
|
434
|
+
readonly scale: readonly [1, 0.95, 1.05, 1];
|
|
435
|
+
readonly transition: {
|
|
436
|
+
readonly duration: 0.4;
|
|
437
|
+
readonly ease: "backOut";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
/** Stagger: eyebrow → title → subtitle → CTAs → media */
|
|
443
|
+
declare const HERO_ENTRANCE: {
|
|
444
|
+
readonly container: {
|
|
445
|
+
readonly variants: {
|
|
446
|
+
readonly hidden: {
|
|
447
|
+
readonly opacity: 1;
|
|
448
|
+
};
|
|
449
|
+
readonly visible: {
|
|
450
|
+
readonly opacity: 1;
|
|
451
|
+
readonly transition: {
|
|
452
|
+
readonly staggerChildren: 0.12;
|
|
453
|
+
readonly delayChildren: 0.05;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
readonly child: {
|
|
459
|
+
readonly variants: {
|
|
460
|
+
readonly hidden: {
|
|
461
|
+
readonly opacity: 0;
|
|
462
|
+
readonly y: 12;
|
|
463
|
+
};
|
|
464
|
+
readonly visible: {
|
|
465
|
+
readonly opacity: 1;
|
|
466
|
+
readonly y: 0;
|
|
467
|
+
readonly transition: {
|
|
468
|
+
readonly duration: 0.5;
|
|
469
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
readonly delays: {
|
|
475
|
+
readonly eyebrow: 0;
|
|
476
|
+
readonly title: 0.05;
|
|
477
|
+
readonly subtitle: 0.17;
|
|
478
|
+
readonly cta: 0.29;
|
|
479
|
+
readonly media: 0.41;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
declare const SECTION_REVEAL: {
|
|
483
|
+
readonly container: {
|
|
484
|
+
readonly variants: {
|
|
485
|
+
readonly hidden: {
|
|
486
|
+
readonly opacity: 0;
|
|
487
|
+
};
|
|
488
|
+
readonly visible: {
|
|
489
|
+
readonly opacity: 1;
|
|
490
|
+
readonly transition: {
|
|
491
|
+
readonly staggerChildren: 0.08;
|
|
492
|
+
readonly delayChildren: 0.1;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
readonly content: {
|
|
498
|
+
readonly variants: {
|
|
499
|
+
readonly hidden: {
|
|
500
|
+
readonly opacity: 0;
|
|
501
|
+
readonly y: 12;
|
|
502
|
+
};
|
|
503
|
+
readonly visible: {
|
|
504
|
+
readonly opacity: 1;
|
|
505
|
+
readonly y: 0;
|
|
506
|
+
readonly transition: {
|
|
507
|
+
readonly duration: 0.5;
|
|
508
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
readonly viewportMargin: "-15%";
|
|
514
|
+
};
|
|
515
|
+
declare const CARD_HOVER: {
|
|
516
|
+
readonly rest: {
|
|
517
|
+
readonly y: 0;
|
|
518
|
+
readonly scale: 1;
|
|
519
|
+
};
|
|
520
|
+
readonly hover: {
|
|
521
|
+
readonly y: -4;
|
|
522
|
+
readonly scale: 1.01;
|
|
523
|
+
readonly transition: {
|
|
524
|
+
readonly duration: 0.25;
|
|
525
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
declare const PANEL_CROSSFADE: {
|
|
530
|
+
readonly initial: {
|
|
531
|
+
readonly opacity: 0;
|
|
532
|
+
readonly y: 8;
|
|
533
|
+
};
|
|
534
|
+
readonly animate: {
|
|
535
|
+
readonly opacity: 1;
|
|
536
|
+
readonly y: 0;
|
|
537
|
+
readonly transition: {
|
|
538
|
+
readonly duration: 0.25;
|
|
539
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
readonly exit: {
|
|
543
|
+
readonly opacity: 0;
|
|
544
|
+
readonly y: -8;
|
|
545
|
+
readonly transition: {
|
|
546
|
+
readonly duration: 0.15;
|
|
547
|
+
readonly ease: readonly [0.4, 0, 0.2, 1];
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
declare const TAB_SLIDE: {
|
|
552
|
+
readonly transition: {
|
|
553
|
+
readonly type: "spring";
|
|
554
|
+
readonly stiffness: 200;
|
|
555
|
+
readonly damping: 20;
|
|
556
|
+
};
|
|
557
|
+
readonly layout: true;
|
|
558
|
+
};
|
|
559
|
+
declare const PRESETS: {
|
|
560
|
+
readonly heroEntrance: {
|
|
561
|
+
readonly container: {
|
|
562
|
+
readonly variants: {
|
|
563
|
+
readonly hidden: {
|
|
564
|
+
readonly opacity: 1;
|
|
565
|
+
};
|
|
566
|
+
readonly visible: {
|
|
567
|
+
readonly opacity: 1;
|
|
568
|
+
readonly transition: {
|
|
569
|
+
readonly staggerChildren: 0.12;
|
|
570
|
+
readonly delayChildren: 0.05;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
readonly child: {
|
|
576
|
+
readonly variants: {
|
|
577
|
+
readonly hidden: {
|
|
578
|
+
readonly opacity: 0;
|
|
579
|
+
readonly y: 12;
|
|
580
|
+
};
|
|
581
|
+
readonly visible: {
|
|
582
|
+
readonly opacity: 1;
|
|
583
|
+
readonly y: 0;
|
|
584
|
+
readonly transition: {
|
|
585
|
+
readonly duration: 0.5;
|
|
586
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
readonly delays: {
|
|
592
|
+
readonly eyebrow: 0;
|
|
593
|
+
readonly title: 0.05;
|
|
594
|
+
readonly subtitle: 0.17;
|
|
595
|
+
readonly cta: 0.29;
|
|
596
|
+
readonly media: 0.41;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
readonly sectionReveal: {
|
|
600
|
+
readonly container: {
|
|
601
|
+
readonly variants: {
|
|
602
|
+
readonly hidden: {
|
|
603
|
+
readonly opacity: 0;
|
|
604
|
+
};
|
|
605
|
+
readonly visible: {
|
|
606
|
+
readonly opacity: 1;
|
|
607
|
+
readonly transition: {
|
|
608
|
+
readonly staggerChildren: 0.08;
|
|
609
|
+
readonly delayChildren: 0.1;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
readonly content: {
|
|
615
|
+
readonly variants: {
|
|
616
|
+
readonly hidden: {
|
|
617
|
+
readonly opacity: 0;
|
|
618
|
+
readonly y: 12;
|
|
619
|
+
};
|
|
620
|
+
readonly visible: {
|
|
621
|
+
readonly opacity: 1;
|
|
622
|
+
readonly y: 0;
|
|
623
|
+
readonly transition: {
|
|
624
|
+
readonly duration: 0.5;
|
|
625
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
readonly viewportMargin: "-15%";
|
|
631
|
+
};
|
|
632
|
+
readonly cardHover: {
|
|
633
|
+
readonly rest: {
|
|
634
|
+
readonly y: 0;
|
|
635
|
+
readonly scale: 1;
|
|
636
|
+
};
|
|
637
|
+
readonly hover: {
|
|
638
|
+
readonly y: -4;
|
|
639
|
+
readonly scale: 1.01;
|
|
640
|
+
readonly transition: {
|
|
641
|
+
readonly duration: 0.25;
|
|
642
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
readonly panelCrossfade: {
|
|
647
|
+
readonly initial: {
|
|
648
|
+
readonly opacity: 0;
|
|
649
|
+
readonly y: 8;
|
|
650
|
+
};
|
|
651
|
+
readonly animate: {
|
|
652
|
+
readonly opacity: 1;
|
|
653
|
+
readonly y: 0;
|
|
654
|
+
readonly transition: {
|
|
655
|
+
readonly duration: 0.25;
|
|
656
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
readonly exit: {
|
|
660
|
+
readonly opacity: 0;
|
|
661
|
+
readonly y: -8;
|
|
662
|
+
readonly transition: {
|
|
663
|
+
readonly duration: 0.15;
|
|
664
|
+
readonly ease: readonly [0.4, 0, 0.2, 1];
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
readonly tabSlide: {
|
|
669
|
+
readonly transition: {
|
|
670
|
+
readonly type: "spring";
|
|
671
|
+
readonly stiffness: 200;
|
|
672
|
+
readonly damping: 20;
|
|
673
|
+
};
|
|
674
|
+
readonly layout: true;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
declare const REDUCED_VARIANTS: {
|
|
678
|
+
readonly fadeOnly: {
|
|
679
|
+
readonly hidden: {
|
|
680
|
+
readonly opacity: 0;
|
|
681
|
+
};
|
|
682
|
+
readonly visible: {
|
|
683
|
+
readonly opacity: 1;
|
|
684
|
+
readonly transition: {
|
|
685
|
+
readonly duration: 0.25;
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
readonly none: {
|
|
690
|
+
readonly hidden: {
|
|
691
|
+
readonly opacity: 1;
|
|
692
|
+
};
|
|
693
|
+
readonly visible: {
|
|
694
|
+
readonly opacity: 1;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
declare const REDUCED_PANEL_CROSSFADE: {
|
|
699
|
+
readonly initial: {
|
|
700
|
+
readonly opacity: 0;
|
|
701
|
+
};
|
|
702
|
+
readonly animate: {
|
|
703
|
+
readonly opacity: 1;
|
|
704
|
+
readonly transition: {
|
|
705
|
+
readonly duration: 0.15;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
readonly exit: {
|
|
709
|
+
readonly opacity: 0;
|
|
710
|
+
readonly transition: {
|
|
711
|
+
readonly duration: 0.15;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
type AnimationVariant = 'fadeIn' | 'fadeUp' | 'fadeDown' | 'scaleIn' | 'slideLeft' | 'slideRight';
|
|
716
|
+
declare const VARIANT_MAP: {
|
|
717
|
+
fadeIn: {
|
|
718
|
+
readonly hidden: {
|
|
719
|
+
readonly opacity: 0;
|
|
720
|
+
};
|
|
721
|
+
readonly visible: {
|
|
722
|
+
readonly opacity: 1;
|
|
723
|
+
readonly transition: {
|
|
724
|
+
readonly duration: 0.5;
|
|
725
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
fadeUp: {
|
|
730
|
+
readonly hidden: {
|
|
731
|
+
readonly opacity: 0;
|
|
732
|
+
readonly y: 12;
|
|
733
|
+
};
|
|
734
|
+
readonly visible: {
|
|
735
|
+
readonly opacity: 1;
|
|
736
|
+
readonly y: 0;
|
|
737
|
+
readonly transition: {
|
|
738
|
+
readonly duration: 0.5;
|
|
739
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
fadeDown: {
|
|
744
|
+
readonly hidden: {
|
|
745
|
+
readonly opacity: 0;
|
|
746
|
+
readonly y: -12;
|
|
747
|
+
};
|
|
748
|
+
readonly visible: {
|
|
749
|
+
readonly opacity: 1;
|
|
750
|
+
readonly y: 0;
|
|
751
|
+
readonly transition: {
|
|
752
|
+
readonly duration: 0.5;
|
|
753
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
scaleIn: {
|
|
758
|
+
readonly hidden: {
|
|
759
|
+
readonly opacity: 0;
|
|
760
|
+
readonly scale: 0.95;
|
|
761
|
+
};
|
|
762
|
+
readonly visible: {
|
|
763
|
+
readonly opacity: 1;
|
|
764
|
+
readonly scale: 1;
|
|
765
|
+
readonly transition: {
|
|
766
|
+
readonly duration: 0.25;
|
|
767
|
+
readonly ease: readonly [0.34, 1.56, 0.64, 1];
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
slideLeft: {
|
|
772
|
+
readonly hidden: {
|
|
773
|
+
readonly opacity: 0;
|
|
774
|
+
readonly x: 24;
|
|
775
|
+
};
|
|
776
|
+
readonly visible: {
|
|
777
|
+
readonly opacity: 1;
|
|
778
|
+
readonly x: 0;
|
|
779
|
+
readonly transition: {
|
|
780
|
+
readonly duration: 0.5;
|
|
781
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
slideRight: {
|
|
786
|
+
readonly hidden: {
|
|
787
|
+
readonly opacity: 0;
|
|
788
|
+
readonly x: number;
|
|
789
|
+
};
|
|
790
|
+
readonly visible: {
|
|
791
|
+
readonly opacity: 1;
|
|
792
|
+
readonly x: 0;
|
|
793
|
+
readonly transition: {
|
|
794
|
+
readonly duration: 0.5;
|
|
795
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
declare const MOTION: {
|
|
801
|
+
readonly DURATION: {
|
|
802
|
+
readonly micro: 0.15;
|
|
803
|
+
readonly short: 0.25;
|
|
804
|
+
readonly medium: 0.5;
|
|
805
|
+
readonly long: 1;
|
|
806
|
+
};
|
|
807
|
+
readonly EASING: {
|
|
808
|
+
readonly standard: readonly [0.16, 1, 0.3, 1];
|
|
809
|
+
readonly emphasis: readonly [0.34, 1.56, 0.64, 1];
|
|
810
|
+
readonly exit: readonly [0.4, 0, 0.2, 1];
|
|
811
|
+
readonly linear: readonly [0, 0, 1, 1];
|
|
812
|
+
};
|
|
813
|
+
readonly TRANSITION: {
|
|
814
|
+
readonly standard: {
|
|
815
|
+
readonly duration: 0.5;
|
|
816
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
817
|
+
};
|
|
818
|
+
readonly emphasis: {
|
|
819
|
+
readonly duration: 0.5;
|
|
820
|
+
readonly ease: readonly [0.34, 1.56, 0.64, 1];
|
|
821
|
+
};
|
|
822
|
+
readonly quick: {
|
|
823
|
+
readonly duration: 0.25;
|
|
824
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
825
|
+
};
|
|
826
|
+
readonly spring: {
|
|
827
|
+
readonly type: "spring";
|
|
828
|
+
readonly stiffness: 200;
|
|
829
|
+
readonly damping: 20;
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
readonly VARIANTS: {
|
|
833
|
+
readonly fadeIn: {
|
|
834
|
+
readonly hidden: {
|
|
835
|
+
readonly opacity: 0;
|
|
836
|
+
};
|
|
837
|
+
readonly visible: {
|
|
838
|
+
readonly opacity: 1;
|
|
839
|
+
readonly transition: {
|
|
840
|
+
readonly duration: 0.5;
|
|
841
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
readonly fadeUp: {
|
|
846
|
+
readonly hidden: {
|
|
847
|
+
readonly opacity: 0;
|
|
848
|
+
readonly y: 12;
|
|
849
|
+
};
|
|
850
|
+
readonly visible: {
|
|
851
|
+
readonly opacity: 1;
|
|
852
|
+
readonly y: 0;
|
|
853
|
+
readonly transition: {
|
|
854
|
+
readonly duration: 0.5;
|
|
855
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
readonly fadeDown: {
|
|
860
|
+
readonly hidden: {
|
|
861
|
+
readonly opacity: 0;
|
|
862
|
+
readonly y: -12;
|
|
863
|
+
};
|
|
864
|
+
readonly visible: {
|
|
865
|
+
readonly opacity: 1;
|
|
866
|
+
readonly y: 0;
|
|
867
|
+
readonly transition: {
|
|
868
|
+
readonly duration: 0.5;
|
|
869
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
readonly scaleIn: {
|
|
874
|
+
readonly hidden: {
|
|
875
|
+
readonly opacity: 0;
|
|
876
|
+
readonly scale: 0.95;
|
|
877
|
+
};
|
|
878
|
+
readonly visible: {
|
|
879
|
+
readonly opacity: 1;
|
|
880
|
+
readonly scale: 1;
|
|
881
|
+
readonly transition: {
|
|
882
|
+
readonly duration: 0.25;
|
|
883
|
+
readonly ease: readonly [0.34, 1.56, 0.64, 1];
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
readonly slideLeft: {
|
|
888
|
+
readonly hidden: {
|
|
889
|
+
readonly opacity: 0;
|
|
890
|
+
readonly x: 24;
|
|
891
|
+
};
|
|
892
|
+
readonly visible: {
|
|
893
|
+
readonly opacity: 1;
|
|
894
|
+
readonly x: 0;
|
|
895
|
+
readonly transition: {
|
|
896
|
+
readonly duration: 0.5;
|
|
897
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
readonly slideRight: {
|
|
902
|
+
readonly hidden: {
|
|
903
|
+
readonly opacity: 0;
|
|
904
|
+
readonly x: number;
|
|
905
|
+
};
|
|
906
|
+
readonly visible: {
|
|
907
|
+
readonly opacity: 1;
|
|
908
|
+
readonly x: 0;
|
|
909
|
+
readonly transition: {
|
|
910
|
+
readonly duration: 0.5;
|
|
911
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
readonly staggerContainer: {
|
|
916
|
+
readonly hidden: {
|
|
917
|
+
readonly opacity: 0;
|
|
918
|
+
};
|
|
919
|
+
readonly visible: {
|
|
920
|
+
readonly opacity: 1;
|
|
921
|
+
readonly transition: {
|
|
922
|
+
readonly staggerChildren: 0.08;
|
|
923
|
+
readonly delayChildren: 0.1;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
readonly pulse: {
|
|
928
|
+
readonly hidden: {
|
|
929
|
+
readonly scale: 1;
|
|
930
|
+
};
|
|
931
|
+
readonly visible: {
|
|
932
|
+
readonly scale: readonly [1, 1.05, 1];
|
|
933
|
+
readonly transition: {
|
|
934
|
+
readonly duration: 1.5;
|
|
935
|
+
readonly repeat: number;
|
|
936
|
+
readonly ease: "easeInOut";
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
readonly impact: {
|
|
941
|
+
readonly hidden: {
|
|
942
|
+
readonly scale: 1;
|
|
943
|
+
};
|
|
944
|
+
readonly trigger: {
|
|
945
|
+
readonly scale: readonly [1, 0.95, 1.05, 1];
|
|
946
|
+
readonly transition: {
|
|
947
|
+
readonly duration: 0.4;
|
|
948
|
+
readonly ease: "backOut";
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
readonly DISTANCE: {
|
|
954
|
+
readonly sm: 4;
|
|
955
|
+
readonly md: 12;
|
|
956
|
+
readonly lg: 24;
|
|
957
|
+
readonly xl: 48;
|
|
958
|
+
};
|
|
959
|
+
readonly PRESETS: {
|
|
960
|
+
readonly heroEntrance: {
|
|
961
|
+
readonly container: {
|
|
962
|
+
readonly variants: {
|
|
963
|
+
readonly hidden: {
|
|
964
|
+
readonly opacity: 1;
|
|
965
|
+
};
|
|
966
|
+
readonly visible: {
|
|
967
|
+
readonly opacity: 1;
|
|
968
|
+
readonly transition: {
|
|
969
|
+
readonly staggerChildren: 0.12;
|
|
970
|
+
readonly delayChildren: 0.05;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
readonly child: {
|
|
976
|
+
readonly variants: {
|
|
977
|
+
readonly hidden: {
|
|
978
|
+
readonly opacity: 0;
|
|
979
|
+
readonly y: 12;
|
|
980
|
+
};
|
|
981
|
+
readonly visible: {
|
|
982
|
+
readonly opacity: 1;
|
|
983
|
+
readonly y: 0;
|
|
984
|
+
readonly transition: {
|
|
985
|
+
readonly duration: 0.5;
|
|
986
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
readonly delays: {
|
|
992
|
+
readonly eyebrow: 0;
|
|
993
|
+
readonly title: 0.05;
|
|
994
|
+
readonly subtitle: 0.17;
|
|
995
|
+
readonly cta: 0.29;
|
|
996
|
+
readonly media: 0.41;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
readonly sectionReveal: {
|
|
1000
|
+
readonly container: {
|
|
1001
|
+
readonly variants: {
|
|
1002
|
+
readonly hidden: {
|
|
1003
|
+
readonly opacity: 0;
|
|
1004
|
+
};
|
|
1005
|
+
readonly visible: {
|
|
1006
|
+
readonly opacity: 1;
|
|
1007
|
+
readonly transition: {
|
|
1008
|
+
readonly staggerChildren: 0.08;
|
|
1009
|
+
readonly delayChildren: 0.1;
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
readonly content: {
|
|
1015
|
+
readonly variants: {
|
|
1016
|
+
readonly hidden: {
|
|
1017
|
+
readonly opacity: 0;
|
|
1018
|
+
readonly y: 12;
|
|
1019
|
+
};
|
|
1020
|
+
readonly visible: {
|
|
1021
|
+
readonly opacity: 1;
|
|
1022
|
+
readonly y: 0;
|
|
1023
|
+
readonly transition: {
|
|
1024
|
+
readonly duration: 0.5;
|
|
1025
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
readonly viewportMargin: "-15%";
|
|
1031
|
+
};
|
|
1032
|
+
readonly cardHover: {
|
|
1033
|
+
readonly rest: {
|
|
1034
|
+
readonly y: 0;
|
|
1035
|
+
readonly scale: 1;
|
|
1036
|
+
};
|
|
1037
|
+
readonly hover: {
|
|
1038
|
+
readonly y: -4;
|
|
1039
|
+
readonly scale: 1.01;
|
|
1040
|
+
readonly transition: {
|
|
1041
|
+
readonly duration: 0.25;
|
|
1042
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
};
|
|
1046
|
+
readonly panelCrossfade: {
|
|
1047
|
+
readonly initial: {
|
|
1048
|
+
readonly opacity: 0;
|
|
1049
|
+
readonly y: 8;
|
|
1050
|
+
};
|
|
1051
|
+
readonly animate: {
|
|
1052
|
+
readonly opacity: 1;
|
|
1053
|
+
readonly y: 0;
|
|
1054
|
+
readonly transition: {
|
|
1055
|
+
readonly duration: 0.25;
|
|
1056
|
+
readonly ease: readonly [0.16, 1, 0.3, 1];
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
readonly exit: {
|
|
1060
|
+
readonly opacity: 0;
|
|
1061
|
+
readonly y: -8;
|
|
1062
|
+
readonly transition: {
|
|
1063
|
+
readonly duration: 0.15;
|
|
1064
|
+
readonly ease: readonly [0.4, 0, 0.2, 1];
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
readonly tabSlide: {
|
|
1069
|
+
readonly transition: {
|
|
1070
|
+
readonly type: "spring";
|
|
1071
|
+
readonly stiffness: 200;
|
|
1072
|
+
readonly damping: 20;
|
|
1073
|
+
};
|
|
1074
|
+
readonly layout: true;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
readonly REDUCED_VARIANTS: {
|
|
1078
|
+
readonly fadeOnly: {
|
|
1079
|
+
readonly hidden: {
|
|
1080
|
+
readonly opacity: 0;
|
|
1081
|
+
};
|
|
1082
|
+
readonly visible: {
|
|
1083
|
+
readonly opacity: 1;
|
|
1084
|
+
readonly transition: {
|
|
1085
|
+
readonly duration: 0.25;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
readonly none: {
|
|
1090
|
+
readonly hidden: {
|
|
1091
|
+
readonly opacity: 1;
|
|
1092
|
+
};
|
|
1093
|
+
readonly visible: {
|
|
1094
|
+
readonly opacity: 1;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
1076
1099
|
|
|
1077
1100
|
declare const COLORS: {
|
|
1078
1101
|
readonly text: {
|
|
@@ -1110,6 +1133,21 @@ declare const COLORS: {
|
|
|
1110
1133
|
};
|
|
1111
1134
|
};
|
|
1112
1135
|
|
|
1136
|
+
declare const SPACING: {
|
|
1137
|
+
readonly 1: "var(--space-1)";
|
|
1138
|
+
readonly 2: "var(--space-2)";
|
|
1139
|
+
readonly 3: "var(--space-3)";
|
|
1140
|
+
readonly 4: "var(--space-4)";
|
|
1141
|
+
readonly 5: "var(--space-5)";
|
|
1142
|
+
readonly 6: "var(--space-6)";
|
|
1143
|
+
readonly 8: "var(--space-8)";
|
|
1144
|
+
readonly 10: "var(--space-10)";
|
|
1145
|
+
readonly 12: "var(--space-12)";
|
|
1146
|
+
readonly 16: "var(--space-16)";
|
|
1147
|
+
readonly 20: "var(--space-20)";
|
|
1148
|
+
};
|
|
1149
|
+
type SpacingToken = keyof typeof SPACING;
|
|
1150
|
+
|
|
1113
1151
|
declare const FONT_FAMILY: {
|
|
1114
1152
|
readonly sans: "var(--font-family)";
|
|
1115
1153
|
readonly mono: "var(--font-family-mono)";
|
|
@@ -1201,4 +1239,4 @@ declare const MEDIA_QUERIES: {
|
|
|
1201
1239
|
readonly '5xl': "(min-width: 3840px)";
|
|
1202
1240
|
};
|
|
1203
1241
|
|
|
1204
|
-
export {
|
|
1242
|
+
export { type AnimationVariant, Avatar, AvatarFallback, AvatarImage, type AvatarProps, BREAKPOINTS, Badge, type BadgeProps, type BadgeToneV2, type Breakpoint, Button, type ButtonProps, CARD_HOVER, COLORS, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, DISTANCE, DURATION, EASING, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, HERO_ENTRANCE, LINE_HEIGHT, Label, type LabelProps, MEDIA_QUERIES, MOTION, PANEL_CROSSFADE, PRESETS, RADIUS, REDUCED_PANEL_CROSSFADE, REDUCED_VARIANTS, type RadiusToken, SECTION_REVEAL, SHADOWS, SPACING, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, type SelectProps, SelectSeparator, SelectTrigger, type SelectTriggerProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SpacingToken, Switch, type SwitchProps, TAB_SLIDE, TRANSITION, TextArea, type TextAreaProps, VARIANTS, VARIANT_MAP, type ZIndexToken, Z_INDEX };
|