@tenerife.music/ui 1.0.12 → 1.0.15
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 +112 -414
- package/dist/{colors-DPNI96bB.d.cts → colors-BZtZJBBm.d.cts} +1 -1
- package/dist/{colors-DPNI96bB.d.ts → colors-BZtZJBBm.d.ts} +1 -1
- package/dist/index-CP_dmFn4.d.cts +7105 -0
- package/dist/index-CP_dmFn4.d.ts +7105 -0
- package/dist/index.cjs +6168 -4636
- package/dist/index.d.cts +877 -509
- package/dist/index.d.ts +877 -509
- package/dist/index.mjs +6021 -4509
- package/dist/preset.cjs +1 -0
- package/dist/preset.mjs +1 -0
- package/dist/theme/index.cjs +0 -13
- package/dist/theme/index.d.cts +3 -78
- package/dist/theme/index.d.ts +3 -78
- package/dist/theme/index.mjs +1 -11
- package/dist/tokens/index.cjs +720 -222
- package/dist/tokens/index.d.cts +54 -5453
- package/dist/tokens/index.d.ts +54 -5453
- package/dist/tokens/index.mjs +719 -223
- package/package.json +13 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export {
|
|
1
|
+
import { d9 as ResponsiveSelectSize, dk as SelectVariantToken, da as ResponsiveSelectWidth, dc as ResponsiveSideOffset, cY as ResponsiveAlignOffset, di as SelectSizeToken, dj as SelectStateToken, dl as SelectWidthToken, d5 as ResponsiveModalSize, d6 as ResponsiveModalWidth, d4 as ResponsiveModalHeight, dd as ResponsiveSpace, cX as RadiusToken, dr as SurfaceToken, cP as ModalFooterAlignToken, d8 as ResponsiveRadius$1, dm as ShadowToken, c$ as ResponsiveColor$1, dw as Responsive, d0 as ResponsiveContainerMaxWidth, d3 as ResponsiveFlexBasis, d2 as ResponsiveDelay, dx as ResponsiveContextMenuSize, dy as ResponsiveContextMenuWidth, dz as ContextMenuItemToneToken, dA as ResponsiveTabsSize, dB as TabsVariantToken, dC as TabsToneToken, cZ as ResponsiveAnimationPreset } from './index-CP_dmFn4.js';
|
|
2
|
+
export { A as ALERT_TOKENS, l as AlertVariant, bo as Animation, B as BUTTON_TOKENS, bR as BorderRadius, dD as Breakpoint, m as ButtonFontSize, n as ButtonHeight, o as ButtonPaddingHorizontal, p as ButtonPaddingVertical, q as ButtonShadow, C as CARD_TOKENS, a as CHECKBOX_TOKENS, cm as CanonicalFontSize, cn as CanonicalFontWeight, co as CanonicalLetterSpacing, cp as CanonicalLineHeight, cq as CanonicalTextColor, r as CardPadding, s as CardRadius, t as CardShadow, u as CardSize, v as CardSpacingVertical, w as CheckboxSize, x as CheckboxState, y as CheckboxVariant, bX as ColoredShadow, bS as ComponentRadius, c9 as ComponentSpacing, ca as ContainerSpacing, D as DATA_TOKENS, b as DOMAIN_TOKENS, c as DROPDOWN_TOKENS, z as DataListLabelWidth, E as DataListRowPadding, F as DomainCardBadge, G as DomainCardImage, H as DomainCardLayout, J as DomainCardMetadata, K as DomainCardMotion, L as DomainCardPriceCapacity, Q as DomainCardSkeleton, U as DomainCardSkeletonContentWidth, V as DomainCardSurface, W as DropdownItemSize, X as DropdownMenuSize, Y as DropdownTriggerSize, Z as DropdownVariant, bp as Duration, bq as Easing, bY as ElevationShadow, _ as EmptyStateIconSize, bZ as FocusRing, cr as FontFamily, cs as FontSize, ct as FontWeight, b_ as GlowEffect, cb as GridSpacing, I as ICON_TOKENS, d as INPUT_TOKENS, $ as IconColor, a0 as IconSize, a1 as IconStroke, a2 as InputFontSize, a3 as InputHeight, a4 as InputPaddingHorizontal, a5 as InputPaddingVertical, a6 as InputRadius, a7 as InputSize, br as Keyframe, cu as LetterSpacing, cv as LineHeight, M as MENU_TOKENS, e as MOTION_TOKENS, a8 as MenuContentMinWidth, a9 as MenuContentPadding, aa as MenuContentRadius, ab as MenuContentShadow, ac as MenuIndicatorOffset, ad as MenuIndicatorSize, ae as MenuItemGap, af as MenuItemHeight, ag as MenuItemPadding, ah as MenuItemRadius, ai as MenuLabelPadding, aj as MenuSeparatorMargin, ak as MotionAnimation, al as MotionDuration, am as MotionEasing, an as MotionTransition, ao as MotionTransitionPreset, bD as MotionV2CombinedType, bE as MotionV2Duration, bF as MotionV2Easing, bG as MotionV2SlideDirection, bH as MotionV2Transition, N as NAVIGATION_TOKENS, f as NOTIFICATION_TOKENS, ap as NavigationItemPadding, aq as NavigationListGap, ar as NavigationRadius, as as NavigationShadow, at as NavigationSize, au as NavigationState, av as NotificationPanelWidth, aw as NotificationTokenVariant, O as OVERLAY_TOKENS, ax as OverlayBackdropVariant, ay as OverlayModalSize, P as POPOVER_TOKENS, az as PopoverArrowOffset, aA as PopoverArrowSize, aB as PopoverContentPadding, aC as PopoverContentRadius, aD as PopoverContentShadow, aE as PopoverContentWidth, R as RADIO_TOKENS, aF as RadioSize, aG as RadioState, aH as RadioVariant, S as SECTION_TOKENS, h as SURFACE_TOKENS, i as SWITCH_TOKENS, aI as SectionGap, aJ as SectionPadding, cc as SectionSpacing, cd as SemanticSpacing, a_ as SkeletonAnimation, a$ as SkeletonBackground, b0 as SkeletonVariant, ce as Spacing, bs as Spring, cf as StackSpacing, b1 as SurfacePadding, b2 as SurfaceRadius, b3 as SurfaceShadow, b4 as SurfaceVariant, b5 as SwitchSize, b6 as SwitchState, b7 as SwitchVariant, T as TEXT_TOKENS, j as TOAST_TOKENS, k as TOOLTIP_TOKENS, b8 as TableCellPadding, b9 as TableGap, ba as TableHeaderPadding, bb as TableRowHeight, bc as TableShadow, bd as TextFontSize, be as TextFontWeight, bf as TextLetterSpacing, bg as TextLineHeight, cw as TextStyle, bh as ToastVariant, bi as TooltipContentRadius, bj as TooltipContentShadow, bt as Transition, cl as UI_COLORS, b$ as accentColoredShadows, bk as allCSSVariables, bl as allCSSVariablesCSS, bu as animations, bT as borderRadius, bU as componentRadius, c0 as componentShadowMapping, bv as durations, bw as easings, c1 as elevationShadows, c2 as focusRings, cx as fontFamily, cy as fontSize, cz as fontSizeWithMd, cA as fontWeight, bm as generateCSSVariablesCSS, c3 as glowEffects, bx as keyframes, cg as layoutSpacing, cB as letterSpacing, cC as lineHeight, by as motionCSSVariables, bI as motionV2CSSVariables, bJ as motionV2Combined, bK as motionV2Durations, bL as motionV2Easings, bM as motionV2Fade, bN as motionV2Scale, bO as motionV2Slide, bP as motionV2TailwindConfig, bQ as motionV2Transitions, c4 as primaryColoredShadows, bV as radiusCSSVariables, bz as reducedMotion, ch as semanticSpacing, c5 as shadowBase, c6 as shadowCSSVariables, c7 as shadowOpacity, ci as spacing, cj as spacingCSSVariables, bA as springs, bB as tailwindMotionConfig, bW as tailwindRadiusConfig, c8 as tailwindShadowConfig, ck as tailwindSpacingConfig, cD as tailwindTypographyConfig, cE as textStyles, bn as tokenSystemSummary, bC as transitions, cF as typographyCSSVariables } from './index-CP_dmFn4.js';
|
|
3
|
+
export { B as BaseColorTokens, C as ChartColors, a as ColorScale, b as ColorTokens, M as Mode, S as SemanticColors, c as SurfaceColors, T as TextColors, d as accentColors, e as baseColors, f as chartColors, g as colorCSSVariables, h as cssVariableColorTokens, p as primaryColors, s as secondaryColors, i as semanticColors, j as surfaceColors, t as tailwindThemeColors, k as textColors } from './colors-BZtZJBBm.js';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import { ReactNode } from 'react';
|
|
8
|
-
import * as
|
|
8
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
9
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
9
10
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
11
|
+
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
12
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
13
|
import { Placement } from '@floating-ui/react-dom';
|
|
14
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
15
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
11
16
|
|
|
12
17
|
declare const buttonVariants: (props?: ({
|
|
13
18
|
variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
@@ -63,7 +68,7 @@ interface CaptionProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantP
|
|
|
63
68
|
declare const Caption: React$1.ForwardRefExoticComponent<CaptionProps & React$1.RefAttributes<HTMLElement>>;
|
|
64
69
|
|
|
65
70
|
declare const codeVariants: (props?: ({
|
|
66
|
-
variant?: "
|
|
71
|
+
variant?: "block" | "inline" | null | undefined;
|
|
67
72
|
muted?: boolean | null | undefined;
|
|
68
73
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
74
|
interface CodeProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof codeVariants> {
|
|
@@ -72,7 +77,7 @@ interface CodeProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<ty
|
|
|
72
77
|
declare const Code: React$1.ForwardRefExoticComponent<CodeProps & React$1.RefAttributes<HTMLElement>>;
|
|
73
78
|
|
|
74
79
|
declare const displayVariants: (props?: ({
|
|
75
|
-
size?: "
|
|
80
|
+
size?: "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
76
81
|
weight?: "normal" | "medium" | "semibold" | "bold" | null | undefined;
|
|
77
82
|
muted?: boolean | null | undefined;
|
|
78
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -100,6 +105,314 @@ interface LeadProps extends React$1.HTMLAttributes<HTMLParagraphElement>, Varian
|
|
|
100
105
|
}
|
|
101
106
|
declare const Lead: React$1.ForwardRefExoticComponent<LeadProps & React$1.RefAttributes<HTMLElement>>;
|
|
102
107
|
|
|
108
|
+
interface SelectRootProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Select Root component
|
|
112
|
+
* Radix Root is a context provider, not a DOM element, so it doesn't accept refs
|
|
113
|
+
*/
|
|
114
|
+
declare const SelectRoot: React$1.FC<SelectRootProps>;
|
|
115
|
+
interface SelectTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, "size" | "variant" | "width"> {
|
|
116
|
+
/**
|
|
117
|
+
* Size variant - token-based
|
|
118
|
+
*/
|
|
119
|
+
size?: ResponsiveSelectSize;
|
|
120
|
+
/**
|
|
121
|
+
* Visual variant - token-based
|
|
122
|
+
*/
|
|
123
|
+
variant?: SelectVariantToken;
|
|
124
|
+
/**
|
|
125
|
+
* Width - token-based
|
|
126
|
+
*/
|
|
127
|
+
width?: ResponsiveSelectWidth;
|
|
128
|
+
}
|
|
129
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
130
|
+
interface SelectValueProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Value> {
|
|
131
|
+
}
|
|
132
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
133
|
+
interface SelectIconProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Icon> {
|
|
134
|
+
}
|
|
135
|
+
declare const SelectIcon: React$1.ForwardRefExoticComponent<SelectIconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
136
|
+
interface SelectContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, "size" | "sideOffset" | "alignOffset"> {
|
|
137
|
+
/**
|
|
138
|
+
* Size variant - token-based
|
|
139
|
+
*/
|
|
140
|
+
size?: ResponsiveSelectSize;
|
|
141
|
+
/**
|
|
142
|
+
* Side offset - token-based
|
|
143
|
+
*/
|
|
144
|
+
sideOffset?: ResponsiveSideOffset;
|
|
145
|
+
/**
|
|
146
|
+
* Alignment offset - token-based
|
|
147
|
+
*/
|
|
148
|
+
alignOffset?: ResponsiveAlignOffset;
|
|
149
|
+
}
|
|
150
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
151
|
+
interface SelectViewportProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Viewport> {
|
|
152
|
+
}
|
|
153
|
+
declare const SelectViewport: React$1.ForwardRefExoticComponent<SelectViewportProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
154
|
+
interface SelectItemProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
|
|
155
|
+
/**
|
|
156
|
+
* Size variant - token-based
|
|
157
|
+
*/
|
|
158
|
+
size?: ResponsiveSelectSize;
|
|
159
|
+
}
|
|
160
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
161
|
+
interface SelectItemTextProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.ItemText> {
|
|
162
|
+
}
|
|
163
|
+
declare const SelectItemText: React$1.ForwardRefExoticComponent<SelectItemTextProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
164
|
+
interface SelectItemIndicatorProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.ItemIndicator> {
|
|
165
|
+
}
|
|
166
|
+
declare const SelectItemIndicator: React$1.ForwardRefExoticComponent<SelectItemIndicatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
167
|
+
interface SelectSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator> {
|
|
168
|
+
/**
|
|
169
|
+
* Size variant - token-based
|
|
170
|
+
*/
|
|
171
|
+
size?: ResponsiveSelectSize;
|
|
172
|
+
}
|
|
173
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
174
|
+
interface SelectGroupProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Group> {
|
|
175
|
+
}
|
|
176
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
interface SelectLabelProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Label> {
|
|
178
|
+
/**
|
|
179
|
+
* Size variant - token-based
|
|
180
|
+
*/
|
|
181
|
+
size?: ResponsiveSelectSize;
|
|
182
|
+
}
|
|
183
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<SelectLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
184
|
+
|
|
185
|
+
declare const Select: {
|
|
186
|
+
Root: React$1.FC<SelectRootProps>;
|
|
187
|
+
Trigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
188
|
+
Value: React$1.ForwardRefExoticComponent<SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
189
|
+
Icon: React$1.ForwardRefExoticComponent<SelectIconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
190
|
+
Content: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
191
|
+
Viewport: React$1.ForwardRefExoticComponent<SelectViewportProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
192
|
+
Item: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
193
|
+
ItemText: React$1.ForwardRefExoticComponent<SelectItemTextProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
194
|
+
ItemIndicator: React$1.ForwardRefExoticComponent<SelectItemIndicatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
195
|
+
Separator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
|
+
Group: React$1.ForwardRefExoticComponent<SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
197
|
+
Label: React$1.ForwardRefExoticComponent<SelectLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Select size token type
|
|
202
|
+
*/
|
|
203
|
+
type SelectSize = SelectSizeToken;
|
|
204
|
+
/**
|
|
205
|
+
* Select variant token type
|
|
206
|
+
*/
|
|
207
|
+
type SelectVariant = SelectVariantToken;
|
|
208
|
+
/**
|
|
209
|
+
* Select width token type
|
|
210
|
+
*/
|
|
211
|
+
type SelectWidth = SelectWidthToken;
|
|
212
|
+
/**
|
|
213
|
+
* Select state token type
|
|
214
|
+
*/
|
|
215
|
+
type SelectState = SelectStateToken;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Modal Component
|
|
219
|
+
*
|
|
220
|
+
* Radix-based modal component with token-driven styling.
|
|
221
|
+
* All behavior (focus trap, keyboard navigation, a11y, portal) is handled by Radix Dialog.
|
|
222
|
+
* Tenerife UI provides visual styling through tokens only.
|
|
223
|
+
*/
|
|
224
|
+
|
|
225
|
+
interface ModalRootProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Modal Root component
|
|
229
|
+
* Radix Root is a context provider, not a DOM element, so it doesn't accept refs
|
|
230
|
+
*/
|
|
231
|
+
declare const ModalRoot: React$1.FC<ModalRootProps>;
|
|
232
|
+
interface ModalTriggerProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger> {
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Modal Trigger component
|
|
236
|
+
* Wrapper around Radix Dialog Trigger
|
|
237
|
+
*/
|
|
238
|
+
declare const ModalTrigger: React$1.ForwardRefExoticComponent<ModalTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
239
|
+
interface ModalOverlayProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> {
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Modal Overlay component
|
|
243
|
+
* Wrapper around Radix Dialog Overlay with token-based styling
|
|
244
|
+
*/
|
|
245
|
+
declare const ModalOverlay: React$1.ForwardRefExoticComponent<ModalOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
246
|
+
interface ModalContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, "size" | "width" | "height" | "padding" | "radius" | "surface"> {
|
|
247
|
+
/**
|
|
248
|
+
* Size variant - token-based
|
|
249
|
+
*
|
|
250
|
+
* **Precedence Rule:** The `size` prop applies a preset configuration (width, height, padding, radius, shadow).
|
|
251
|
+
* Individual override props (`width`, `height`, `padding`, `radius`) take precedence over the size preset.
|
|
252
|
+
*
|
|
253
|
+
* **Example:**
|
|
254
|
+
* - `size="md"` → applies md preset (max-w-md, p-lg, rounded-lg, etc.)
|
|
255
|
+
* - `size="md" width="lg"` → md preset applied, but width overridden to lg (max-w-lg)
|
|
256
|
+
* - `width="lg"` (no size) → only width applied, other defaults used
|
|
257
|
+
*
|
|
258
|
+
* @default "md"
|
|
259
|
+
*/
|
|
260
|
+
size?: ResponsiveModalSize;
|
|
261
|
+
/**
|
|
262
|
+
* Width - token-based
|
|
263
|
+
*
|
|
264
|
+
* **Precedence:** Overrides the width from the `size` preset if provided.
|
|
265
|
+
* If `size` is not provided, only this width is applied.
|
|
266
|
+
*
|
|
267
|
+
* @example
|
|
268
|
+
* ```tsx
|
|
269
|
+
* <Modal.Content size="md" width="lg" />
|
|
270
|
+
* // Applies md preset, but width is overridden to lg
|
|
271
|
+
* ```
|
|
272
|
+
*/
|
|
273
|
+
width?: ResponsiveModalWidth;
|
|
274
|
+
/**
|
|
275
|
+
* Height - token-based
|
|
276
|
+
*
|
|
277
|
+
* **Precedence:** Overrides the height from the `size` preset if provided.
|
|
278
|
+
* If `size` is not provided, only this height is applied.
|
|
279
|
+
*/
|
|
280
|
+
height?: ResponsiveModalHeight;
|
|
281
|
+
/**
|
|
282
|
+
* Padding - token-based
|
|
283
|
+
*
|
|
284
|
+
* **Precedence:** Overrides the padding from the `size` preset if provided.
|
|
285
|
+
* If `size` is not provided, only this padding is applied.
|
|
286
|
+
*/
|
|
287
|
+
padding?: ResponsiveSpace;
|
|
288
|
+
/**
|
|
289
|
+
* Border radius - token-based
|
|
290
|
+
*
|
|
291
|
+
* **Precedence:** Overrides the radius from the `size` preset if provided.
|
|
292
|
+
* If `size` is not provided, only this radius is applied.
|
|
293
|
+
*/
|
|
294
|
+
radius?: RadiusToken;
|
|
295
|
+
/**
|
|
296
|
+
* Surface variant - token-based
|
|
297
|
+
*
|
|
298
|
+
* Applies surface styling (background, shadow) independent of size preset.
|
|
299
|
+
*
|
|
300
|
+
* @example
|
|
301
|
+
* ```tsx
|
|
302
|
+
* <Modal.Content size="md" surface="raised" />
|
|
303
|
+
* // Applies md preset + raised surface styling
|
|
304
|
+
* ```
|
|
305
|
+
*/
|
|
306
|
+
surface?: SurfaceToken;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Modal Content component
|
|
310
|
+
* Wrapper around Radix Dialog Content with token-based styling.
|
|
311
|
+
*
|
|
312
|
+
* **Prop Precedence:**
|
|
313
|
+
* 1. `size` prop applies a preset configuration (width, height, padding, radius, shadow)
|
|
314
|
+
* 2. Individual override props (`width`, `height`, `padding`, `radius`) take precedence over size preset
|
|
315
|
+
* 3. `surface` is applied independently and does not conflict with size preset
|
|
316
|
+
*
|
|
317
|
+
* **Usage:**
|
|
318
|
+
* ```tsx
|
|
319
|
+
* // Use size preset only
|
|
320
|
+
* <Modal.Content size="md" />
|
|
321
|
+
*
|
|
322
|
+
* // Override specific properties from preset
|
|
323
|
+
* <Modal.Content size="md" width="lg" padding="xl" />
|
|
324
|
+
*
|
|
325
|
+
* // Use individual props without preset
|
|
326
|
+
* <Modal.Content width="lg" padding="md" />
|
|
327
|
+
* ```
|
|
328
|
+
*/
|
|
329
|
+
declare const ModalContent: React$1.ForwardRefExoticComponent<ModalContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
330
|
+
interface ModalHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
331
|
+
/**
|
|
332
|
+
* Gap between header items - token-based
|
|
333
|
+
*/
|
|
334
|
+
gap?: ResponsiveSpace;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Modal Header component
|
|
338
|
+
* Presentational wrapper for modal header content
|
|
339
|
+
*/
|
|
340
|
+
declare const ModalHeader: React$1.ForwardRefExoticComponent<ModalHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
341
|
+
interface ModalTitleProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> {
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Modal Title component
|
|
345
|
+
* Wrapper around Radix Dialog Title with token-based typography
|
|
346
|
+
*/
|
|
347
|
+
declare const ModalTitle: React$1.ForwardRefExoticComponent<ModalTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
348
|
+
interface ModalDescriptionProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Description> {
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Modal Description component
|
|
352
|
+
* Wrapper around Radix Dialog Description with token-based typography
|
|
353
|
+
*/
|
|
354
|
+
declare const ModalDescription: React$1.ForwardRefExoticComponent<ModalDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
355
|
+
interface ModalFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
356
|
+
/**
|
|
357
|
+
* Gap between footer items - token-based
|
|
358
|
+
*/
|
|
359
|
+
gap?: ResponsiveSpace;
|
|
360
|
+
/**
|
|
361
|
+
* Footer alignment - token-based
|
|
362
|
+
*/
|
|
363
|
+
align?: ModalFooterAlignToken;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Modal Footer component
|
|
367
|
+
* Presentational wrapper for modal footer content
|
|
368
|
+
*/
|
|
369
|
+
declare const ModalFooter: React$1.ForwardRefExoticComponent<ModalFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
370
|
+
interface ModalCloseProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Close> {
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Modal Close component
|
|
374
|
+
* Wrapper around Radix Dialog Close with token-based styling
|
|
375
|
+
*/
|
|
376
|
+
declare const ModalClose: React$1.ForwardRefExoticComponent<ModalCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Modal Component
|
|
380
|
+
*
|
|
381
|
+
* Radix Dialog-based modal component with token-driven styling.
|
|
382
|
+
*
|
|
383
|
+
* **Usage:**
|
|
384
|
+
* ```tsx
|
|
385
|
+
* <Modal.Root open={open} onOpenChange={setOpen}>
|
|
386
|
+
* <Modal.Trigger>Open</Modal.Trigger>
|
|
387
|
+
* <Modal.Content>
|
|
388
|
+
* <Modal.Header>
|
|
389
|
+
* <Modal.Title>Title</Modal.Title>
|
|
390
|
+
* <Modal.Description>Description</Modal.Description>
|
|
391
|
+
* </Modal.Header>
|
|
392
|
+
* <div>Content</div>
|
|
393
|
+
* <Modal.Footer>
|
|
394
|
+
* <Modal.Close>Close</Modal.Close>
|
|
395
|
+
* </Modal.Footer>
|
|
396
|
+
* <Modal.Close />
|
|
397
|
+
* </Modal.Content>
|
|
398
|
+
* </Modal.Root>
|
|
399
|
+
* ```
|
|
400
|
+
*
|
|
401
|
+
* **Note:** Modal.Portal and Modal.Overlay are internal and should not be used directly.
|
|
402
|
+
* ModalContent automatically handles portal and overlay rendering.
|
|
403
|
+
*/
|
|
404
|
+
declare const Modal: {
|
|
405
|
+
Root: React$1.FC<ModalRootProps>;
|
|
406
|
+
Trigger: React$1.ForwardRefExoticComponent<ModalTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
407
|
+
Overlay: React$1.ForwardRefExoticComponent<ModalOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
408
|
+
Content: React$1.ForwardRefExoticComponent<ModalContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
409
|
+
Header: React$1.ForwardRefExoticComponent<ModalHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
410
|
+
Title: React$1.ForwardRefExoticComponent<ModalTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
411
|
+
Description: React$1.ForwardRefExoticComponent<ModalDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
412
|
+
Footer: React$1.ForwardRefExoticComponent<ModalFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
413
|
+
Close: React$1.ForwardRefExoticComponent<ModalCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
414
|
+
};
|
|
415
|
+
|
|
103
416
|
/**
|
|
104
417
|
* Checkbox Variants
|
|
105
418
|
*
|
|
@@ -111,7 +424,7 @@ declare const Lead: React$1.ForwardRefExoticComponent<LeadProps & React$1.RefAtt
|
|
|
111
424
|
declare const checkboxVariants: (props?: ({
|
|
112
425
|
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
113
426
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
114
|
-
state?: "
|
|
427
|
+
state?: "default" | "disabled" | "error" | "checked" | "indeterminate" | null | undefined;
|
|
115
428
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
116
429
|
|
|
117
430
|
/**
|
|
@@ -211,7 +524,7 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$
|
|
|
211
524
|
declare const inputVariants: (props?: ({
|
|
212
525
|
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
213
526
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
214
|
-
state?: "
|
|
527
|
+
state?: "default" | "disabled" | "success" | "error" | null | undefined;
|
|
215
528
|
fullWidth?: boolean | null | undefined;
|
|
216
529
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
217
530
|
|
|
@@ -280,7 +593,7 @@ declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefA
|
|
|
280
593
|
declare const radioVariants: (props?: ({
|
|
281
594
|
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
282
595
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
283
|
-
state?: "
|
|
596
|
+
state?: "default" | "disabled" | "error" | "checked" | null | undefined;
|
|
284
597
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
285
598
|
|
|
286
599
|
/**
|
|
@@ -413,174 +726,6 @@ interface RadioGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
413
726
|
*/
|
|
414
727
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
415
728
|
|
|
416
|
-
/**
|
|
417
|
-
* Select Variants
|
|
418
|
-
*
|
|
419
|
-
* CVA-based variant system for Select component.
|
|
420
|
-
* Supports variants (primary, secondary, outline, ghost),
|
|
421
|
-
* sizes (xs, sm, md, lg), and states (open, closed, disabled).
|
|
422
|
-
* All styling uses token-based values with CSS variable references.
|
|
423
|
-
*/
|
|
424
|
-
/**
|
|
425
|
-
* Select Trigger Variants
|
|
426
|
-
* Button element that opens/closes the dropdown
|
|
427
|
-
*/
|
|
428
|
-
declare const selectTriggerVariants: (props?: ({
|
|
429
|
-
variant?: "primary" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
430
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
431
|
-
state?: "disabled" | "closed" | "open" | null | undefined;
|
|
432
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
433
|
-
/**
|
|
434
|
-
* Select Listbox Variants
|
|
435
|
-
* Container for the dropdown options
|
|
436
|
-
*/
|
|
437
|
-
declare const selectListboxVariants: (props?: ({
|
|
438
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
439
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
440
|
-
/**
|
|
441
|
-
* Select Option Variants
|
|
442
|
-
* Individual option item in the listbox
|
|
443
|
-
*/
|
|
444
|
-
declare const selectOptionVariants: (props?: ({
|
|
445
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
446
|
-
state?: "disabled" | "default" | "selected" | null | undefined;
|
|
447
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Select Variant Props
|
|
451
|
-
*/
|
|
452
|
-
type SelectVariant = VariantProps<typeof selectTriggerVariants>["variant"];
|
|
453
|
-
type SelectSize = VariantProps<typeof selectTriggerVariants>["size"];
|
|
454
|
-
/**
|
|
455
|
-
* Select Root Props
|
|
456
|
-
*/
|
|
457
|
-
interface SelectRootProps {
|
|
458
|
-
/**
|
|
459
|
-
* Current value (controlled mode)
|
|
460
|
-
*/
|
|
461
|
-
value?: string;
|
|
462
|
-
/**
|
|
463
|
-
* Default value (uncontrolled mode)
|
|
464
|
-
*/
|
|
465
|
-
defaultValue?: string;
|
|
466
|
-
/**
|
|
467
|
-
* Callback when value changes
|
|
468
|
-
*/
|
|
469
|
-
onValueChange?: (value: string) => void;
|
|
470
|
-
/**
|
|
471
|
-
* Whether the select is disabled
|
|
472
|
-
*/
|
|
473
|
-
disabled?: boolean;
|
|
474
|
-
/**
|
|
475
|
-
* Whether the select is open (controlled mode)
|
|
476
|
-
*/
|
|
477
|
-
open?: boolean;
|
|
478
|
-
/**
|
|
479
|
-
* Callback when open state changes
|
|
480
|
-
*/
|
|
481
|
-
onOpenChange?: (open: boolean) => void;
|
|
482
|
-
/**
|
|
483
|
-
* Default open state (uncontrolled mode)
|
|
484
|
-
*/
|
|
485
|
-
defaultOpen?: boolean;
|
|
486
|
-
/**
|
|
487
|
-
* Variant style (applies to trigger)
|
|
488
|
-
*/
|
|
489
|
-
variant?: SelectVariant;
|
|
490
|
-
/**
|
|
491
|
-
* Size (applies to trigger, listbox, and options)
|
|
492
|
-
*/
|
|
493
|
-
size?: SelectSize;
|
|
494
|
-
/**
|
|
495
|
-
* Children
|
|
496
|
-
*/
|
|
497
|
-
children: React.ReactNode;
|
|
498
|
-
}
|
|
499
|
-
/**
|
|
500
|
-
* Select Trigger Props
|
|
501
|
-
*/
|
|
502
|
-
interface SelectTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
503
|
-
/**
|
|
504
|
-
* Variant style
|
|
505
|
-
*/
|
|
506
|
-
variant?: SelectVariant;
|
|
507
|
-
/**
|
|
508
|
-
* Size
|
|
509
|
-
*/
|
|
510
|
-
size?: SelectSize;
|
|
511
|
-
/**
|
|
512
|
-
* Placeholder text when no value is selected
|
|
513
|
-
*/
|
|
514
|
-
placeholder?: string;
|
|
515
|
-
}
|
|
516
|
-
/**
|
|
517
|
-
* Select Listbox Props
|
|
518
|
-
*/
|
|
519
|
-
interface SelectListboxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
520
|
-
/**
|
|
521
|
-
* Size (should match trigger size)
|
|
522
|
-
*/
|
|
523
|
-
size?: SelectSize;
|
|
524
|
-
}
|
|
525
|
-
/**
|
|
526
|
-
* Select Option Props
|
|
527
|
-
*/
|
|
528
|
-
interface SelectOptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
529
|
-
/**
|
|
530
|
-
* Option value
|
|
531
|
-
*/
|
|
532
|
-
value: string;
|
|
533
|
-
/**
|
|
534
|
-
* Option label
|
|
535
|
-
*/
|
|
536
|
-
label?: string;
|
|
537
|
-
/**
|
|
538
|
-
* Whether the option is disabled
|
|
539
|
-
*/
|
|
540
|
-
disabled?: boolean;
|
|
541
|
-
/**
|
|
542
|
-
* Size (should match trigger size)
|
|
543
|
-
*/
|
|
544
|
-
size?: SelectSize;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Select Root Component
|
|
549
|
-
* Manages state and provides context for all Select sub-components
|
|
550
|
-
*/
|
|
551
|
-
declare function SelectRoot({ value: controlledValue, defaultValue, onValueChange, disabled, open: controlledOpen, onOpenChange, defaultOpen, children, variant, size, }: SelectRootProps & {
|
|
552
|
-
variant?: SelectRootProps["variant"];
|
|
553
|
-
size?: SelectRootProps["size"];
|
|
554
|
-
}): react_jsx_runtime.JSX.Element;
|
|
555
|
-
declare namespace SelectRoot {
|
|
556
|
-
var displayName: string;
|
|
557
|
-
}
|
|
558
|
-
/**
|
|
559
|
-
* Select Trigger Component
|
|
560
|
-
* Button that opens/closes the dropdown and displays the selected value
|
|
561
|
-
*/
|
|
562
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
563
|
-
/**
|
|
564
|
-
* Select Listbox Component
|
|
565
|
-
* Container for options with keyboard navigation
|
|
566
|
-
*/
|
|
567
|
-
declare const SelectListbox: React$1.ForwardRefExoticComponent<SelectListboxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
568
|
-
/**
|
|
569
|
-
* Select Option Component
|
|
570
|
-
* Individual option in the listbox
|
|
571
|
-
*/
|
|
572
|
-
declare const SelectOption: React$1.ForwardRefExoticComponent<SelectOptionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
573
|
-
/**
|
|
574
|
-
* Select Component (Compound)
|
|
575
|
-
* Main export that combines all sub-components
|
|
576
|
-
*/
|
|
577
|
-
declare const Select: {
|
|
578
|
-
Root: typeof SelectRoot;
|
|
579
|
-
Trigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
580
|
-
Listbox: React$1.ForwardRefExoticComponent<SelectListboxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
581
|
-
Option: React$1.ForwardRefExoticComponent<SelectOptionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
582
|
-
};
|
|
583
|
-
|
|
584
729
|
/**
|
|
585
730
|
* Textarea Variants
|
|
586
731
|
*
|
|
@@ -592,7 +737,7 @@ declare const Select: {
|
|
|
592
737
|
declare const textareaVariants: (props?: ({
|
|
593
738
|
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
594
739
|
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
595
|
-
state?: "
|
|
740
|
+
state?: "default" | "disabled" | "success" | "error" | null | undefined;
|
|
596
741
|
fullWidth?: boolean | null | undefined;
|
|
597
742
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
598
743
|
|
|
@@ -705,31 +850,11 @@ declare const FieldRoot: typeof Field & {
|
|
|
705
850
|
};
|
|
706
851
|
|
|
707
852
|
/**
|
|
708
|
-
*
|
|
853
|
+
* Layout Primitives Shared Types
|
|
854
|
+
*
|
|
855
|
+
* Common types used across Box, Flex, Grid, and Stack components.
|
|
709
856
|
*/
|
|
710
|
-
type ResponsiveValue<T> = T | {
|
|
711
|
-
base?: T;
|
|
712
|
-
sm?: T;
|
|
713
|
-
md?: T;
|
|
714
|
-
lg?: T;
|
|
715
|
-
xl?: T;
|
|
716
|
-
"2xl"?: T;
|
|
717
|
-
};
|
|
718
857
|
|
|
719
|
-
/**
|
|
720
|
-
* Spacing token values
|
|
721
|
-
* Supports numeric keys (0-96) and semantic keys (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
722
|
-
*/
|
|
723
|
-
type SpacingValue = number | keyof typeof spacing | keyof typeof semanticSpacing;
|
|
724
|
-
/**
|
|
725
|
-
* Border radius token values
|
|
726
|
-
*/
|
|
727
|
-
type RadiusValue = keyof typeof borderRadius;
|
|
728
|
-
/**
|
|
729
|
-
* Color token values
|
|
730
|
-
* Supports CSS variable names (e.g., "background", "primary", "card")
|
|
731
|
-
*/
|
|
732
|
-
type ColorValue = "background" | "foreground" | "card" | "card-foreground" | "popover" | "popover-foreground" | "primary" | "primary-foreground" | "secondary" | "secondary-foreground" | "muted" | "muted-foreground" | "accent" | "accent-foreground" | "destructive" | "destructive-foreground" | "border" | "input" | "ring" | string;
|
|
733
858
|
/**
|
|
734
859
|
* Alignment values for flexbox/grid
|
|
735
860
|
*/
|
|
@@ -759,9 +884,9 @@ type RowValue = 1 | 2 | 3 | 4 | 5 | 6 | "none";
|
|
|
759
884
|
*/
|
|
760
885
|
type FlowValue = "row" | "col" | "dense" | "row-dense" | "col-dense";
|
|
761
886
|
/**
|
|
762
|
-
* Shadow token values
|
|
887
|
+
* Shadow token values
|
|
763
888
|
*/
|
|
764
|
-
type ShadowValue =
|
|
889
|
+
type ShadowValue = ShadowToken;
|
|
765
890
|
/**
|
|
766
891
|
* Display type values
|
|
767
892
|
*/
|
|
@@ -769,43 +894,43 @@ type DisplayValue = "block" | "inline" | "inline-block" | "flex" | "grid" | "inl
|
|
|
769
894
|
/**
|
|
770
895
|
* Responsive spacing prop type
|
|
771
896
|
*/
|
|
772
|
-
type ResponsiveSpacing =
|
|
897
|
+
type ResponsiveSpacing = ResponsiveSpace;
|
|
773
898
|
/**
|
|
774
899
|
* Responsive radius prop type
|
|
775
900
|
*/
|
|
776
|
-
type ResponsiveRadius =
|
|
901
|
+
type ResponsiveRadius = ResponsiveRadius$1;
|
|
777
902
|
/**
|
|
778
903
|
* Responsive color prop type
|
|
779
904
|
*/
|
|
780
|
-
type ResponsiveColor =
|
|
905
|
+
type ResponsiveColor = ResponsiveColor$1;
|
|
781
906
|
/**
|
|
782
907
|
* Responsive alignment prop type
|
|
783
908
|
*/
|
|
784
|
-
type ResponsiveAlignment =
|
|
909
|
+
type ResponsiveAlignment = Responsive<AlignmentValue>;
|
|
785
910
|
/**
|
|
786
911
|
* Responsive justify prop type
|
|
787
912
|
*/
|
|
788
|
-
type ResponsiveJustify =
|
|
913
|
+
type ResponsiveJustify = Responsive<JustifyValue>;
|
|
789
914
|
/**
|
|
790
915
|
* Responsive direction prop type
|
|
791
916
|
*/
|
|
792
|
-
type ResponsiveFlexDirection =
|
|
917
|
+
type ResponsiveFlexDirection = Responsive<FlexDirectionValue>;
|
|
793
918
|
/**
|
|
794
919
|
* Responsive wrap prop type
|
|
795
920
|
*/
|
|
796
|
-
type ResponsiveFlexWrap =
|
|
921
|
+
type ResponsiveFlexWrap = Responsive<FlexWrapValue>;
|
|
797
922
|
/**
|
|
798
923
|
* Responsive column prop type
|
|
799
924
|
*/
|
|
800
|
-
type ResponsiveColumns =
|
|
925
|
+
type ResponsiveColumns = Responsive<ColumnValue>;
|
|
801
926
|
/**
|
|
802
927
|
* Responsive row prop type
|
|
803
928
|
*/
|
|
804
|
-
type ResponsiveRows =
|
|
929
|
+
type ResponsiveRows = Responsive<RowValue>;
|
|
805
930
|
/**
|
|
806
931
|
* Responsive flow prop type
|
|
807
932
|
*/
|
|
808
|
-
type ResponsiveFlow =
|
|
933
|
+
type ResponsiveFlow = Responsive<FlowValue>;
|
|
809
934
|
/**
|
|
810
935
|
* Surface variant values
|
|
811
936
|
*/
|
|
@@ -972,9 +1097,12 @@ declare const Column: React$1.ForwardRefExoticComponent<StackProps & React$1.Ref
|
|
|
972
1097
|
interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
973
1098
|
/**
|
|
974
1099
|
* Maximum width of the container
|
|
975
|
-
*
|
|
1100
|
+
* Token-based: accepts container size tokens (sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, full) or spacing tokens
|
|
1101
|
+
* @example maxWidth="lg" // 32rem (512px)
|
|
1102
|
+
* @example maxWidth={{ base: "md", lg: "xl" }} // Responsive
|
|
1103
|
+
* @example maxWidth="96" // Uses spacing token
|
|
976
1104
|
*/
|
|
977
|
-
maxWidth?:
|
|
1105
|
+
maxWidth?: ResponsiveContainerMaxWidth;
|
|
978
1106
|
/**
|
|
979
1107
|
* Padding (horizontal) - token-based
|
|
980
1108
|
* Supports: spacing tokens or container spacing tokens (container-xs, container-sm, container-md, etc.)
|
|
@@ -1018,10 +1146,13 @@ interface FlexProps extends Omit<BoxProps, "display" | "flexDirection" | "align"
|
|
|
1018
1146
|
*/
|
|
1019
1147
|
shrink?: 0 | 1 | boolean;
|
|
1020
1148
|
/**
|
|
1021
|
-
* Flex basis
|
|
1022
|
-
*
|
|
1149
|
+
* Flex basis - token-based
|
|
1150
|
+
* Accepts spacing tokens (xs, sm, md, lg, etc.) or semantic CSS values (auto, 0, 100%, fit-content, max-content, min-content)
|
|
1151
|
+
* @example basis="md" // Uses spacing token
|
|
1152
|
+
* @example basis="auto" // Semantic CSS value
|
|
1153
|
+
* @example basis={{ base: "sm", md: "lg" }} // Responsive
|
|
1023
1154
|
*/
|
|
1024
|
-
basis?:
|
|
1155
|
+
basis?: ResponsiveFlexBasis;
|
|
1025
1156
|
/**
|
|
1026
1157
|
* Align items
|
|
1027
1158
|
*/
|
|
@@ -1226,15 +1357,19 @@ declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & Re
|
|
|
1226
1357
|
|
|
1227
1358
|
interface SectionProps extends Omit<StackProps, "py" | "gap"> {
|
|
1228
1359
|
/**
|
|
1229
|
-
* Vertical padding - token-based
|
|
1230
|
-
*
|
|
1360
|
+
* Vertical padding - token-based
|
|
1361
|
+
* Accepts spacing tokens (xs, sm, md, lg, xl, 2xl, etc.) or responsive object
|
|
1362
|
+
* @example padding="md"
|
|
1363
|
+
* @example padding={{ base: "sm", lg: "xl" }}
|
|
1231
1364
|
*/
|
|
1232
|
-
padding?:
|
|
1365
|
+
padding?: ResponsiveSpacing;
|
|
1233
1366
|
/**
|
|
1234
|
-
* Gap spacing for content blocks - token-based
|
|
1235
|
-
*
|
|
1367
|
+
* Gap spacing for content blocks - token-based
|
|
1368
|
+
* Accepts spacing tokens (xs, sm, md, lg, xl, 2xl, etc.) or responsive object
|
|
1369
|
+
* @example gap="md"
|
|
1370
|
+
* @example gap={{ base: "sm", lg: "xl" }}
|
|
1236
1371
|
*/
|
|
1237
|
-
gap?:
|
|
1372
|
+
gap?: ResponsiveSpacing;
|
|
1238
1373
|
/**
|
|
1239
1374
|
* Render as different HTML element
|
|
1240
1375
|
*/
|
|
@@ -1246,7 +1381,7 @@ interface SectionProps extends Omit<StackProps, "py" | "gap"> {
|
|
|
1246
1381
|
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1247
1382
|
|
|
1248
1383
|
declare const surfaceVariants: (props?: ({
|
|
1249
|
-
variant?: "
|
|
1384
|
+
variant?: "flat" | "raised" | "sunken" | "outline" | "subtle" | null | undefined;
|
|
1250
1385
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1251
1386
|
interface SurfaceProps extends Omit<BoxProps, "bg" | "shadow" | "radius" | "p">, VariantProps<typeof surfaceVariants> {
|
|
1252
1387
|
/**
|
|
@@ -1321,64 +1456,6 @@ interface BackdropProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantP
|
|
|
1321
1456
|
*/
|
|
1322
1457
|
declare const Backdrop: React$1.ForwardRefExoticComponent<BackdropProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1323
1458
|
|
|
1324
|
-
declare const modalVariants: (props?: ({
|
|
1325
|
-
size?: "sm" | "md" | "lg" | "fullscreen" | null | undefined;
|
|
1326
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1327
|
-
interface ModalProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onClick" | "role" | "aria-modal" | "aria-labelledby" | "aria-describedby">, VariantProps<typeof modalVariants> {
|
|
1328
|
-
/**
|
|
1329
|
-
* Whether modal is open
|
|
1330
|
-
*/
|
|
1331
|
-
open: boolean;
|
|
1332
|
-
/**
|
|
1333
|
-
* Callback when modal should close
|
|
1334
|
-
*/
|
|
1335
|
-
onClose: () => void;
|
|
1336
|
-
/**
|
|
1337
|
-
* Modal size variant
|
|
1338
|
-
*/
|
|
1339
|
-
size?: "sm" | "md" | "lg" | "fullscreen";
|
|
1340
|
-
/**
|
|
1341
|
-
* Backdrop variant
|
|
1342
|
-
*/
|
|
1343
|
-
backdropVariant?: "default" | "blurred" | "transparent";
|
|
1344
|
-
/**
|
|
1345
|
-
* Whether to close on backdrop click
|
|
1346
|
-
*/
|
|
1347
|
-
closeOnBackdropClick?: boolean;
|
|
1348
|
-
/**
|
|
1349
|
-
* Whether to close on escape key
|
|
1350
|
-
*/
|
|
1351
|
-
closeOnEscape?: boolean;
|
|
1352
|
-
/**
|
|
1353
|
-
* Element to return focus to when modal closes
|
|
1354
|
-
*/
|
|
1355
|
-
returnFocusRef?: React$1.RefObject<HTMLElement>;
|
|
1356
|
-
}
|
|
1357
|
-
/**
|
|
1358
|
-
* Modal Header - Header section with spacing
|
|
1359
|
-
*/
|
|
1360
|
-
interface ModalHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1361
|
-
}
|
|
1362
|
-
declare const ModalHeader: React$1.ForwardRefExoticComponent<ModalHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1363
|
-
/**
|
|
1364
|
-
* Modal Body - Main content area
|
|
1365
|
-
*/
|
|
1366
|
-
interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1367
|
-
}
|
|
1368
|
-
declare const ModalBody: React$1.ForwardRefExoticComponent<ModalBodyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1369
|
-
/**
|
|
1370
|
-
* Modal Footer - Footer section with layout
|
|
1371
|
-
*/
|
|
1372
|
-
interface ModalFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1373
|
-
}
|
|
1374
|
-
declare const ModalFooter: React$1.ForwardRefExoticComponent<ModalFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1375
|
-
declare const Modal: React$1.ForwardRefExoticComponent<ModalProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
1376
|
-
Content: React$1.ForwardRefExoticComponent<ModalProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1377
|
-
Header: React$1.ForwardRefExoticComponent<ModalHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1378
|
-
Body: React$1.ForwardRefExoticComponent<ModalBodyProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1379
|
-
Footer: React$1.ForwardRefExoticComponent<ModalFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1380
|
-
};
|
|
1381
|
-
|
|
1382
1459
|
/**
|
|
1383
1460
|
* Dialog Component
|
|
1384
1461
|
*
|
|
@@ -1387,7 +1464,7 @@ declare const Modal: React$1.ForwardRefExoticComponent<ModalProps & React$1.RefA
|
|
|
1387
1464
|
* Full A11y compliance with aria-labelledby and aria-describedby.
|
|
1388
1465
|
*/
|
|
1389
1466
|
|
|
1390
|
-
interface DialogProps extends
|
|
1467
|
+
interface DialogProps extends React$1.ComponentPropsWithoutRef<typeof Modal.Root> {
|
|
1391
1468
|
/**
|
|
1392
1469
|
* ID for the dialog title (for aria-labelledby)
|
|
1393
1470
|
*/
|
|
@@ -1399,8 +1476,11 @@ interface DialogProps extends Omit<ModalProps, "role" | "aria-modal"> {
|
|
|
1399
1476
|
}
|
|
1400
1477
|
/**
|
|
1401
1478
|
* Dialog Root - Main dialog wrapper
|
|
1479
|
+
*
|
|
1480
|
+
* **Note:** This component is a semantic wrapper over Modal.Root and Modal.Content.
|
|
1481
|
+
* It provides Dialog-specific subcomponents but uses the new Radix-based Modal internally.
|
|
1402
1482
|
*/
|
|
1403
|
-
declare const DialogRoot: React$1.
|
|
1483
|
+
declare const DialogRoot: React$1.FC<DialogProps>;
|
|
1404
1484
|
/**
|
|
1405
1485
|
* Dialog Header - Header section with spacing
|
|
1406
1486
|
*/
|
|
@@ -1435,8 +1515,8 @@ declare const DialogBody: React$1.ForwardRefExoticComponent<DialogBodyProps & Re
|
|
|
1435
1515
|
interface DialogFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1436
1516
|
}
|
|
1437
1517
|
declare const DialogFooter: React$1.ForwardRefExoticComponent<DialogFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1438
|
-
declare const Dialog: React$1.
|
|
1439
|
-
Root: React$1.
|
|
1518
|
+
declare const Dialog: React$1.FC<DialogProps> & {
|
|
1519
|
+
Root: React$1.FC<DialogProps>;
|
|
1440
1520
|
Header: React$1.ForwardRefExoticComponent<DialogHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1441
1521
|
Title: React$1.ForwardRefExoticComponent<DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1442
1522
|
Description: React$1.ForwardRefExoticComponent<DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1447,7 +1527,7 @@ declare const Dialog: React$1.ForwardRefExoticComponent<DialogProps & React$1.Re
|
|
|
1447
1527
|
declare const toastVariants: (props?: ({
|
|
1448
1528
|
variant?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
1449
1529
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1450
|
-
interface
|
|
1530
|
+
interface ToastActionData {
|
|
1451
1531
|
label: string;
|
|
1452
1532
|
onClick: () => void;
|
|
1453
1533
|
}
|
|
@@ -1456,72 +1536,92 @@ interface ToastData {
|
|
|
1456
1536
|
title?: string;
|
|
1457
1537
|
description?: string;
|
|
1458
1538
|
variant?: "default" | "success" | "info" | "warning" | "danger";
|
|
1459
|
-
action?:
|
|
1460
|
-
|
|
1539
|
+
action?: ToastActionData;
|
|
1540
|
+
/**
|
|
1541
|
+
* Toast duration - token-based
|
|
1542
|
+
* Uses motion duration tokens
|
|
1543
|
+
* Passed to Radix Toast.Root duration prop
|
|
1544
|
+
*/
|
|
1545
|
+
duration?: ResponsiveDelay;
|
|
1461
1546
|
}
|
|
1462
|
-
interface
|
|
1547
|
+
interface ToastRootProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Root>, "duration">, VariantProps<typeof toastVariants> {
|
|
1463
1548
|
/**
|
|
1464
1549
|
* Toast data
|
|
1465
1550
|
*/
|
|
1466
1551
|
toast: ToastData;
|
|
1467
|
-
/**
|
|
1468
|
-
* Callback when toast is dismissed
|
|
1469
|
-
*/
|
|
1470
|
-
onDismiss: (id: string) => void;
|
|
1471
|
-
/**
|
|
1472
|
-
* Whether toast is visible (for animation)
|
|
1473
|
-
*/
|
|
1474
|
-
isVisible?: boolean;
|
|
1475
1552
|
}
|
|
1476
1553
|
/**
|
|
1477
|
-
* Toast component
|
|
1554
|
+
* Toast Action component
|
|
1555
|
+
* Wrapper around Radix Toast.Action with token-based styling
|
|
1478
1556
|
*/
|
|
1479
|
-
declare const
|
|
1557
|
+
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Legacy Exports (Backward Compatibility)
|
|
1560
|
+
*
|
|
1561
|
+
* These exports maintain backward compatibility with existing code:
|
|
1562
|
+
*
|
|
1563
|
+
* - Toast: Alias for ToastRoot
|
|
1564
|
+
* Rationale: Previous API used `Toast` as the main component name.
|
|
1565
|
+
* This alias allows existing code to continue working without changes.
|
|
1566
|
+
* Note: This is a simple alias - no legacy behavior is preserved.
|
|
1567
|
+
* The component is fully Radix-based regardless of which name is used.
|
|
1568
|
+
*
|
|
1569
|
+
* - ToastProps: Alias for ToastRootProps
|
|
1570
|
+
* Rationale: Previous API used `ToastProps` as the type name.
|
|
1571
|
+
* This alias maintains type compatibility for existing TypeScript code.
|
|
1572
|
+
*
|
|
1573
|
+
* Migration Path:
|
|
1574
|
+
* - Existing code using `Toast` will continue to work
|
|
1575
|
+
* - New code should use `ToastRoot` for clarity
|
|
1576
|
+
* - These legacy exports may be removed in a future major version
|
|
1577
|
+
*/
|
|
1578
|
+
type ToastProps = ToastRootProps;
|
|
1579
|
+
declare const Toast: React$1.ForwardRefExoticComponent<ToastRootProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1480
1580
|
|
|
1481
1581
|
/**
|
|
1482
1582
|
* ToastViewport Component
|
|
1483
1583
|
*
|
|
1484
|
-
*
|
|
1485
|
-
*
|
|
1486
|
-
*
|
|
1584
|
+
* 🔒 FOUNDATION COMPONENT - ARCHITECTURE LOCKED
|
|
1585
|
+
*
|
|
1586
|
+
* Radix-based toast viewport with token-driven positioning.
|
|
1587
|
+
* Radix Toast.Viewport handles portal rendering internally.
|
|
1588
|
+
* Tenerife UI provides visual styling and positioning through tokens only.
|
|
1589
|
+
*
|
|
1590
|
+
* This component is locked as a foundation component per TUI_ARCHITECTURE_LOCK.md.
|
|
1591
|
+
* DO NOT reimplement portal logic - Radix handles this internally.
|
|
1487
1592
|
*/
|
|
1488
1593
|
|
|
1489
1594
|
type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
1490
|
-
interface ToastViewportProps {
|
|
1595
|
+
interface ToastViewportProps extends React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport> {
|
|
1491
1596
|
/**
|
|
1492
1597
|
* Position of toast viewport
|
|
1493
1598
|
*/
|
|
1494
1599
|
position?: ToastPosition;
|
|
1495
|
-
/**
|
|
1496
|
-
* Children to render in viewport
|
|
1497
|
-
*/
|
|
1498
|
-
children: React$1.ReactNode;
|
|
1499
|
-
/**
|
|
1500
|
-
* Additional CSS classes
|
|
1501
|
-
*/
|
|
1502
|
-
className?: string;
|
|
1503
1600
|
}
|
|
1504
1601
|
/**
|
|
1505
|
-
* ToastViewport component
|
|
1602
|
+
* ToastViewport component
|
|
1603
|
+
* Wrapper around Radix Toast.Viewport with token-based positioning.
|
|
1604
|
+
* Radix handles portal rendering internally - no custom Portal needed.
|
|
1506
1605
|
*/
|
|
1507
|
-
declare const ToastViewport: React$1.ForwardRefExoticComponent<ToastViewportProps & React$1.RefAttributes<
|
|
1606
|
+
declare const ToastViewport: React$1.ForwardRefExoticComponent<ToastViewportProps & React$1.RefAttributes<HTMLOListElement>>;
|
|
1508
1607
|
|
|
1509
1608
|
interface ToastOptions {
|
|
1510
1609
|
title?: string;
|
|
1511
1610
|
description?: string;
|
|
1512
1611
|
variant?: "default" | "success" | "info" | "warning" | "danger";
|
|
1513
|
-
action?:
|
|
1514
|
-
|
|
1612
|
+
action?: ToastActionData;
|
|
1613
|
+
/**
|
|
1614
|
+
* Toast duration - token-based
|
|
1615
|
+
* Uses motion duration tokens
|
|
1616
|
+
* Passed to Radix Toast.Root duration prop (Radix handles auto-dismiss)
|
|
1617
|
+
*/
|
|
1618
|
+
duration?: ResponsiveDelay;
|
|
1515
1619
|
}
|
|
1516
1620
|
interface ToastContextType {
|
|
1517
1621
|
toast: (options: ToastOptions) => string;
|
|
1518
1622
|
dismiss: (id: string) => void;
|
|
1519
1623
|
dismissAll: () => void;
|
|
1520
|
-
updateToast: (id: string, updates: Partial<ToastData>) => void;
|
|
1521
|
-
getQueue: () => ToastData[];
|
|
1522
|
-
getGrouped: () => Record<string, ToastData[]>;
|
|
1523
1624
|
}
|
|
1524
|
-
type GroupByFunction$1 = (toast: ToastData) => string;
|
|
1525
1625
|
interface ToastProviderProps {
|
|
1526
1626
|
/**
|
|
1527
1627
|
* Children to render
|
|
@@ -1532,23 +1632,25 @@ interface ToastProviderProps {
|
|
|
1532
1632
|
*/
|
|
1533
1633
|
position?: ToastPosition;
|
|
1534
1634
|
/**
|
|
1535
|
-
*
|
|
1536
|
-
|
|
1537
|
-
maxToasts?: number;
|
|
1538
|
-
/**
|
|
1539
|
-
* Maximum number of visible toasts (default: 3)
|
|
1540
|
-
* Overflow notifications are queued
|
|
1635
|
+
* Swipe direction for toast dismissal
|
|
1636
|
+
* Radix handles swipe gestures internally
|
|
1541
1637
|
*/
|
|
1542
|
-
|
|
1638
|
+
swipeDirection?: "up" | "down" | "left" | "right";
|
|
1543
1639
|
/**
|
|
1544
|
-
*
|
|
1640
|
+
* Default duration for toasts in milliseconds
|
|
1641
|
+
* Radix handles auto-dismiss based on this value
|
|
1642
|
+
*
|
|
1643
|
+
* NOTE: This is a behavioral prop for Radix Toast.Provider API (requires number),
|
|
1644
|
+
* not a visual prop. The eslint rule is disabled for this specific case.
|
|
1545
1645
|
*/
|
|
1546
|
-
|
|
1646
|
+
duration?: number;
|
|
1547
1647
|
}
|
|
1548
1648
|
/**
|
|
1549
|
-
* ToastProvider component
|
|
1649
|
+
* ToastProvider component
|
|
1650
|
+
* Wrapper around Radix Toast.Provider with convenience toast() function.
|
|
1651
|
+
* Radix handles all state management, auto-dismiss, and queue management.
|
|
1550
1652
|
*/
|
|
1551
|
-
declare function ToastProvider({ children, position,
|
|
1653
|
+
declare function ToastProvider({ children, position, swipeDirection, duration, }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
1552
1654
|
/**
|
|
1553
1655
|
* Hook to use toast context
|
|
1554
1656
|
*/
|
|
@@ -1622,8 +1724,12 @@ interface NotificationData {
|
|
|
1622
1724
|
description?: string;
|
|
1623
1725
|
variant?: NotificationVariant;
|
|
1624
1726
|
channel?: NotificationChannel;
|
|
1625
|
-
action?:
|
|
1626
|
-
|
|
1727
|
+
action?: ToastActionData;
|
|
1728
|
+
/**
|
|
1729
|
+
* Notification duration - token-based
|
|
1730
|
+
* Uses motion duration tokens
|
|
1731
|
+
*/
|
|
1732
|
+
duration?: ResponsiveDelay;
|
|
1627
1733
|
persistent?: boolean;
|
|
1628
1734
|
timestamp: number;
|
|
1629
1735
|
read?: boolean;
|
|
@@ -1636,8 +1742,12 @@ interface NotificationOptions {
|
|
|
1636
1742
|
description?: string;
|
|
1637
1743
|
variant?: NotificationVariant;
|
|
1638
1744
|
channel?: NotificationChannel;
|
|
1639
|
-
action?:
|
|
1640
|
-
|
|
1745
|
+
action?: ToastActionData;
|
|
1746
|
+
/**
|
|
1747
|
+
* Notification duration - token-based
|
|
1748
|
+
* Uses motion duration tokens
|
|
1749
|
+
*/
|
|
1750
|
+
duration?: ResponsiveDelay;
|
|
1641
1751
|
persistent?: boolean;
|
|
1642
1752
|
}
|
|
1643
1753
|
/**
|
|
@@ -1896,9 +2006,10 @@ interface PopoverContentProps extends Omit<React$1.HTMLAttributes<HTMLDivElement
|
|
|
1896
2006
|
*/
|
|
1897
2007
|
placement?: Placement;
|
|
1898
2008
|
/**
|
|
1899
|
-
* Offset between trigger and content
|
|
2009
|
+
* Offset between trigger and content - token-based
|
|
2010
|
+
* Uses spacing tokens for positioning offsets
|
|
1900
2011
|
*/
|
|
1901
|
-
offset?:
|
|
2012
|
+
offset?: ResponsiveAlignOffset;
|
|
1902
2013
|
/**
|
|
1903
2014
|
* Whether to close on outside click
|
|
1904
2015
|
*/
|
|
@@ -2181,15 +2292,17 @@ declare const HoverCardContent: React$1.ForwardRefExoticComponent<HoverCardConte
|
|
|
2181
2292
|
|
|
2182
2293
|
interface HoverCardRootProps extends Omit<PopoverRootProps, "open" | "onOpenChange"> {
|
|
2183
2294
|
/**
|
|
2184
|
-
* Delay before opening
|
|
2295
|
+
* Delay before opening - token-based
|
|
2296
|
+
* Uses motion duration tokens
|
|
2185
2297
|
* @default 0
|
|
2186
2298
|
*/
|
|
2187
|
-
openDelay?:
|
|
2299
|
+
openDelay?: ResponsiveDelay;
|
|
2188
2300
|
/**
|
|
2189
|
-
* Delay before closing
|
|
2301
|
+
* Delay before closing - token-based
|
|
2302
|
+
* Uses motion duration tokens
|
|
2190
2303
|
* @default 300
|
|
2191
2304
|
*/
|
|
2192
|
-
closeDelay?:
|
|
2305
|
+
closeDelay?: ResponsiveDelay;
|
|
2193
2306
|
}
|
|
2194
2307
|
/**
|
|
2195
2308
|
* HoverCard Root component
|
|
@@ -2202,123 +2315,301 @@ declare namespace HoverCardRoot {
|
|
|
2202
2315
|
/**
|
|
2203
2316
|
* HoverCard Trigger Component
|
|
2204
2317
|
*
|
|
2205
|
-
* Trigger element that opens HoverCard on hover/focus.
|
|
2318
|
+
* Trigger element that opens HoverCard on hover/focus.
|
|
2319
|
+
*/
|
|
2320
|
+
|
|
2321
|
+
interface HoverCardTriggerProps extends PopoverTriggerProps {
|
|
2322
|
+
}
|
|
2323
|
+
/**
|
|
2324
|
+
* HoverCard Trigger component
|
|
2325
|
+
*/
|
|
2326
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardTriggerProps & React$1.RefAttributes<HTMLElement>>;
|
|
2327
|
+
|
|
2328
|
+
/**
|
|
2329
|
+
* ============================================================================
|
|
2330
|
+
* 🔒 FOUNDATION LOCK - ContextMenu Component
|
|
2331
|
+
* ============================================================================
|
|
2332
|
+
*
|
|
2333
|
+
* This component is LOCKED as part of the UI Foundation Layer.
|
|
2334
|
+
*
|
|
2335
|
+
* **ARCHITECTURE LOCK DOCUMENTATION:**
|
|
2336
|
+
* See: docs/architecture/TUI_ARCHITECTURE_LOCK.md
|
|
2337
|
+
*
|
|
2338
|
+
* This component must not be modified except for critical bug fixes.
|
|
2339
|
+
* All architectural decisions are final. Museum-grade quality achieved.
|
|
2340
|
+
*
|
|
2341
|
+
* LOCKED STATUS:
|
|
2342
|
+
* - Component: ContextMenu (Radix ContextMenu wrapper)
|
|
2343
|
+
* - Category: Menus (Foundation Layer)
|
|
2344
|
+
* - Lock Date: 2025-12-12
|
|
2345
|
+
* - Status: ✅ LOCKED (FOUNDATION_LOCKED)
|
|
2346
|
+
*
|
|
2347
|
+
* ALLOWED CHANGES (Minimal, approval required):
|
|
2348
|
+
* - Critical bug fixes only (with explicit approval)
|
|
2349
|
+
* - Typing improvements (TypeScript only, no runtime changes)
|
|
2350
|
+
* - Token wiring improvements (connecting existing tokens, no new tokens)
|
|
2351
|
+
* - Stories/tests fixes (test updates only, no component changes)
|
|
2352
|
+
* - Documentation updates (comments, docs only)
|
|
2353
|
+
* - Code comments explaining intentional design decisions
|
|
2354
|
+
*
|
|
2355
|
+
* FORBIDDEN CHANGES (Strictly prohibited):
|
|
2356
|
+
* - ❌ New foundation components or subcomponents
|
|
2357
|
+
* - ❌ Duplicate component implementations
|
|
2358
|
+
* - ❌ Custom behavior that Radix ContextMenu should handle
|
|
2359
|
+
* - ❌ String/number visual props (must use tokens only)
|
|
2360
|
+
* - ❌ Re-implementing focus/keyboard/aria/portal logic
|
|
2361
|
+
* - ❌ Breaking API changes
|
|
2362
|
+
* - ❌ Behavioral rewrites or custom logic additions
|
|
2363
|
+
* - ❌ Token system modifications (additions/removals)
|
|
2364
|
+
* - ❌ Style modifications beyond token wiring
|
|
2365
|
+
* - ❌ New props that change component behavior
|
|
2366
|
+
*
|
|
2367
|
+
* **If you believe changes are necessary, review TUI_ARCHITECTURE_LOCK.md first.**
|
|
2368
|
+
*
|
|
2369
|
+
* ============================================================================
|
|
2370
|
+
*
|
|
2371
|
+
* ContextMenu Component
|
|
2372
|
+
*
|
|
2373
|
+
* Radix-based context menu component with token-driven styling.
|
|
2374
|
+
* All behavior (pointer, keyboard, focus, ARIA, positioning, collision handling)
|
|
2375
|
+
* is handled by Radix ContextMenu. Tenerife UI provides visual styling through
|
|
2376
|
+
* tokens only. This is a strict wrapper pattern - no custom behavior logic.
|
|
2206
2377
|
*/
|
|
2207
2378
|
|
|
2208
|
-
|
|
2209
|
-
}
|
|
2379
|
+
type ContextMenuRootProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Root>;
|
|
2210
2380
|
/**
|
|
2211
|
-
*
|
|
2381
|
+
* ContextMenu Root component
|
|
2382
|
+
* Radix Root is a context provider, not a DOM element, so it doesn't accept refs
|
|
2212
2383
|
*/
|
|
2213
|
-
declare const
|
|
2214
|
-
|
|
2384
|
+
declare const ContextMenuRoot: React$1.FC<ContextMenuRootProps>;
|
|
2385
|
+
interface ContextMenuTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Trigger>, "children"> {
|
|
2386
|
+
children?: React$1.ReactNode;
|
|
2387
|
+
}
|
|
2215
2388
|
/**
|
|
2216
|
-
* ContextMenu
|
|
2217
|
-
*
|
|
2218
|
-
* Content container for context menu.
|
|
2219
|
-
* Uses cursor position for initial placement.
|
|
2389
|
+
* ContextMenu Trigger component
|
|
2390
|
+
* Radix handles right-click behavior automatically
|
|
2220
2391
|
*/
|
|
2221
|
-
|
|
2222
|
-
interface ContextMenuContentProps extends React$1.
|
|
2392
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2393
|
+
interface ContextMenuContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>, "size" | "width" | "padding" | "radius" | "surface"> {
|
|
2223
2394
|
/**
|
|
2224
|
-
*
|
|
2395
|
+
* Size variant - token-based
|
|
2225
2396
|
*/
|
|
2226
|
-
|
|
2397
|
+
size?: ResponsiveContextMenuSize;
|
|
2398
|
+
/**
|
|
2399
|
+
* Width - token-based
|
|
2400
|
+
*/
|
|
2401
|
+
width?: ResponsiveContextMenuWidth;
|
|
2402
|
+
/**
|
|
2403
|
+
* Padding - token-based
|
|
2404
|
+
*/
|
|
2405
|
+
padding?: ResponsiveSpace;
|
|
2406
|
+
/**
|
|
2407
|
+
* Radius - token-based
|
|
2408
|
+
*/
|
|
2409
|
+
radius?: RadiusToken;
|
|
2227
2410
|
/**
|
|
2228
|
-
*
|
|
2411
|
+
* Surface variant - token-based
|
|
2229
2412
|
*/
|
|
2230
|
-
|
|
2413
|
+
surface?: SurfaceToken;
|
|
2231
2414
|
}
|
|
2232
2415
|
/**
|
|
2233
2416
|
* ContextMenu Content component
|
|
2417
|
+
* Wrapper around Radix ContextMenu Content with token-based styling.
|
|
2234
2418
|
*/
|
|
2235
2419
|
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2236
|
-
|
|
2420
|
+
interface ContextMenuItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item>, "children"> {
|
|
2421
|
+
children?: React$1.ReactNode;
|
|
2422
|
+
/**
|
|
2423
|
+
* Size variant - token-based
|
|
2424
|
+
*
|
|
2425
|
+
* @default Inherited from ContextMenuContent
|
|
2426
|
+
* @note If not specified, the size is automatically inherited from the parent
|
|
2427
|
+
* ContextMenuContent. You can override this by providing an explicit size prop.
|
|
2428
|
+
* This allows you to set size once on Content and have all Items inherit it.
|
|
2429
|
+
*/
|
|
2430
|
+
size?: ResponsiveContextMenuSize;
|
|
2431
|
+
/**
|
|
2432
|
+
* Tone variant - token-based
|
|
2433
|
+
*/
|
|
2434
|
+
tone?: ContextMenuItemToneToken;
|
|
2435
|
+
/**
|
|
2436
|
+
* Gap between item content - token-based
|
|
2437
|
+
*/
|
|
2438
|
+
gap?: ResponsiveSpace;
|
|
2439
|
+
/**
|
|
2440
|
+
* Inset padding for item
|
|
2441
|
+
*/
|
|
2442
|
+
inset?: boolean;
|
|
2443
|
+
}
|
|
2237
2444
|
/**
|
|
2238
|
-
* ContextMenu
|
|
2239
|
-
*
|
|
2240
|
-
* Group container for context menu.
|
|
2241
|
-
* Reuses DropdownMenuGroup.
|
|
2445
|
+
* ContextMenu Item component
|
|
2446
|
+
* Wrapper around Radix ContextMenu Item with token-based styling.
|
|
2242
2447
|
*/
|
|
2243
|
-
|
|
2244
|
-
interface
|
|
2448
|
+
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2449
|
+
interface ContextMenuCheckboxItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>, "children"> {
|
|
2450
|
+
children?: React$1.ReactNode;
|
|
2451
|
+
/**
|
|
2452
|
+
* Size variant - token-based
|
|
2453
|
+
*/
|
|
2454
|
+
size?: ResponsiveContextMenuSize;
|
|
2455
|
+
/**
|
|
2456
|
+
* Tone variant - token-based
|
|
2457
|
+
*/
|
|
2458
|
+
tone?: ContextMenuItemToneToken;
|
|
2459
|
+
/**
|
|
2460
|
+
* Gap between item content - token-based
|
|
2461
|
+
*/
|
|
2462
|
+
gap?: ResponsiveSpace;
|
|
2245
2463
|
}
|
|
2246
2464
|
/**
|
|
2247
|
-
* ContextMenu
|
|
2465
|
+
* ContextMenu CheckboxItem component
|
|
2466
|
+
* Wrapper around Radix ContextMenu CheckboxItem with token-based styling.
|
|
2248
2467
|
*/
|
|
2249
|
-
declare const
|
|
2250
|
-
|
|
2468
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2469
|
+
interface ContextMenuRadioGroupProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioGroup>, "children"> {
|
|
2470
|
+
children?: React$1.ReactNode;
|
|
2471
|
+
}
|
|
2251
2472
|
/**
|
|
2252
|
-
* ContextMenu
|
|
2253
|
-
*
|
|
2254
|
-
* Menu item for context menu.
|
|
2255
|
-
* Reuses DropdownMenuItem logic.
|
|
2473
|
+
* ContextMenu RadioGroup component
|
|
2474
|
+
* Wrapper around Radix ContextMenu RadioGroup.
|
|
2256
2475
|
*/
|
|
2257
|
-
|
|
2258
|
-
interface
|
|
2476
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2477
|
+
interface ContextMenuRadioItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>, "children"> {
|
|
2478
|
+
children?: React$1.ReactNode;
|
|
2479
|
+
/**
|
|
2480
|
+
* Size variant - token-based
|
|
2481
|
+
*/
|
|
2482
|
+
size?: ResponsiveContextMenuSize;
|
|
2483
|
+
/**
|
|
2484
|
+
* Tone variant - token-based
|
|
2485
|
+
*/
|
|
2486
|
+
tone?: ContextMenuItemToneToken;
|
|
2487
|
+
/**
|
|
2488
|
+
* Gap between item content - token-based
|
|
2489
|
+
*/
|
|
2490
|
+
gap?: ResponsiveSpace;
|
|
2259
2491
|
}
|
|
2260
2492
|
/**
|
|
2261
|
-
* ContextMenu
|
|
2493
|
+
* ContextMenu RadioItem component
|
|
2494
|
+
* Wrapper around Radix ContextMenu RadioItem with token-based styling.
|
|
2262
2495
|
*/
|
|
2263
|
-
declare const
|
|
2264
|
-
|
|
2496
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2497
|
+
interface ContextMenuSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator> {
|
|
2498
|
+
className?: string;
|
|
2499
|
+
}
|
|
2265
2500
|
/**
|
|
2266
|
-
* ContextMenu
|
|
2267
|
-
*
|
|
2268
|
-
* Label for context menu.
|
|
2269
|
-
* Reuses DropdownMenuLabel.
|
|
2501
|
+
* ContextMenu Separator component
|
|
2502
|
+
* Wrapper around Radix ContextMenu Separator with token-based styling.
|
|
2270
2503
|
*/
|
|
2271
|
-
|
|
2272
|
-
interface ContextMenuLabelProps extends
|
|
2504
|
+
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2505
|
+
interface ContextMenuLabelProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label>, "children"> {
|
|
2506
|
+
children?: React$1.ReactNode;
|
|
2507
|
+
/**
|
|
2508
|
+
* Padding - token-based
|
|
2509
|
+
*/
|
|
2510
|
+
padding?: ResponsiveSpace;
|
|
2273
2511
|
}
|
|
2274
2512
|
/**
|
|
2275
2513
|
* ContextMenu Label component
|
|
2514
|
+
* Wrapper around Radix ContextMenu Label with token-based styling.
|
|
2276
2515
|
*/
|
|
2277
2516
|
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2278
|
-
|
|
2279
|
-
|
|
2517
|
+
interface ContextMenuSubProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Sub> {
|
|
2518
|
+
children?: React$1.ReactNode;
|
|
2280
2519
|
}
|
|
2281
2520
|
/**
|
|
2282
|
-
* ContextMenu
|
|
2521
|
+
* ContextMenu Sub component
|
|
2522
|
+
* Wrapper around Radix ContextMenu Sub.
|
|
2283
2523
|
*/
|
|
2284
|
-
declare
|
|
2285
|
-
|
|
2286
|
-
|
|
2524
|
+
declare const ContextMenuSub: React$1.FC<ContextMenuSubProps>;
|
|
2525
|
+
interface ContextMenuSubTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger>, "children"> {
|
|
2526
|
+
children?: React$1.ReactNode;
|
|
2527
|
+
/**
|
|
2528
|
+
* Size variant - token-based
|
|
2529
|
+
*/
|
|
2530
|
+
size?: ResponsiveContextMenuSize;
|
|
2531
|
+
/**
|
|
2532
|
+
* Tone variant - token-based
|
|
2533
|
+
*/
|
|
2534
|
+
tone?: ContextMenuItemToneToken;
|
|
2535
|
+
/**
|
|
2536
|
+
* Gap between item content - token-based
|
|
2537
|
+
*/
|
|
2538
|
+
gap?: ResponsiveSpace;
|
|
2287
2539
|
}
|
|
2288
|
-
|
|
2289
2540
|
/**
|
|
2290
|
-
* ContextMenu
|
|
2291
|
-
*
|
|
2292
|
-
* Visual separator for context menu.
|
|
2293
|
-
* Reuses DropdownMenuSeparator.
|
|
2541
|
+
* ContextMenu SubTrigger component
|
|
2542
|
+
* Wrapper around Radix ContextMenu SubTrigger with token-based styling.
|
|
2294
2543
|
*/
|
|
2295
|
-
|
|
2296
|
-
interface
|
|
2544
|
+
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2545
|
+
interface ContextMenuSubContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>, "size" | "width" | "padding" | "radius" | "surface"> {
|
|
2546
|
+
/**
|
|
2547
|
+
* Size variant - token-based
|
|
2548
|
+
*/
|
|
2549
|
+
size?: ResponsiveContextMenuSize;
|
|
2550
|
+
/**
|
|
2551
|
+
* Width - token-based
|
|
2552
|
+
*/
|
|
2553
|
+
width?: ResponsiveContextMenuWidth;
|
|
2554
|
+
/**
|
|
2555
|
+
* Padding - token-based
|
|
2556
|
+
*/
|
|
2557
|
+
padding?: ResponsiveSpace;
|
|
2558
|
+
/**
|
|
2559
|
+
* Radius - token-based
|
|
2560
|
+
*/
|
|
2561
|
+
radius?: RadiusToken;
|
|
2562
|
+
/**
|
|
2563
|
+
* Surface variant - token-based
|
|
2564
|
+
*/
|
|
2565
|
+
surface?: SurfaceToken;
|
|
2297
2566
|
}
|
|
2298
2567
|
/**
|
|
2299
|
-
* ContextMenu
|
|
2568
|
+
* ContextMenu SubContent component
|
|
2569
|
+
* Wrapper around Radix ContextMenu SubContent with token-based styling.
|
|
2300
2570
|
*/
|
|
2301
|
-
declare const
|
|
2571
|
+
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2302
2572
|
|
|
2303
2573
|
/**
|
|
2304
|
-
* ContextMenu
|
|
2574
|
+
* ContextMenu Component
|
|
2305
2575
|
*
|
|
2306
|
-
*
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
*
|
|
2576
|
+
* Radix ContextMenu-based component with token-driven styling.
|
|
2577
|
+
*
|
|
2578
|
+
* **Usage:**
|
|
2579
|
+
* ```tsx
|
|
2580
|
+
* <ContextMenu.Root>
|
|
2581
|
+
* <ContextMenu.Trigger>Right-click me</ContextMenu.Trigger>
|
|
2582
|
+
* <ContextMenu.Content>
|
|
2583
|
+
* <ContextMenu.Item>Item 1</ContextMenu.Item>
|
|
2584
|
+
* <ContextMenu.Item>Item 2</ContextMenu.Item>
|
|
2585
|
+
* <ContextMenu.Separator />
|
|
2586
|
+
* <ContextMenu.Sub>
|
|
2587
|
+
* <ContextMenu.SubTrigger>Submenu</ContextMenu.SubTrigger>
|
|
2588
|
+
* <ContextMenu.SubContent>
|
|
2589
|
+
* <ContextMenu.Item>Sub Item 1</ContextMenu.Item>
|
|
2590
|
+
* </ContextMenu.SubContent>
|
|
2591
|
+
* </ContextMenu.Sub>
|
|
2592
|
+
* </ContextMenu.Content>
|
|
2593
|
+
* </ContextMenu.Root>
|
|
2594
|
+
* ```
|
|
2317
2595
|
*/
|
|
2318
|
-
declare const
|
|
2596
|
+
declare const ContextMenu: {
|
|
2597
|
+
Root: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
2598
|
+
Trigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2599
|
+
Content: React$1.ForwardRefExoticComponent<ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2600
|
+
Item: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2601
|
+
CheckboxItem: React$1.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2602
|
+
RadioGroup: React$1.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2603
|
+
RadioItem: React$1.ForwardRefExoticComponent<ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2604
|
+
Separator: React$1.ForwardRefExoticComponent<ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2605
|
+
Label: React$1.ForwardRefExoticComponent<ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2606
|
+
Sub: React$1.FC<ContextMenuSubProps>;
|
|
2607
|
+
SubTrigger: React$1.ForwardRefExoticComponent<ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2608
|
+
SubContent: React$1.ForwardRefExoticComponent<ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2609
|
+
};
|
|
2319
2610
|
|
|
2320
2611
|
declare const skeletonVariants: (props?: ({
|
|
2321
|
-
variant?: "
|
|
2612
|
+
variant?: "block" | "card" | "text" | "circle" | "inline" | null | undefined;
|
|
2322
2613
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2323
2614
|
interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
2324
2615
|
/**
|
|
@@ -2343,7 +2634,7 @@ declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$
|
|
|
2343
2634
|
* EmptyState Component
|
|
2344
2635
|
*
|
|
2345
2636
|
* Token-driven empty state component for displaying empty or no-data states.
|
|
2346
|
-
* Uses
|
|
2637
|
+
* Uses EMPTY_STATE_TOKENS for all spacing and sizing.
|
|
2347
2638
|
* Integrates with Surface and Stack components.
|
|
2348
2639
|
*/
|
|
2349
2640
|
|
|
@@ -2447,7 +2738,7 @@ declare const EmptyStateTitle: React$1.ForwardRefExoticComponent<EmptyStateTitle
|
|
|
2447
2738
|
* DataList Root Component
|
|
2448
2739
|
*
|
|
2449
2740
|
* Mobile-first data list component for displaying key-value pairs.
|
|
2450
|
-
* Uses Stack for vertical layout and
|
|
2741
|
+
* Uses Stack for vertical layout and DATA_LIST_TOKENS for spacing.
|
|
2451
2742
|
*/
|
|
2452
2743
|
|
|
2453
2744
|
interface DataListRootProps extends React$1.HTMLAttributes<HTMLDListElement> {
|
|
@@ -2473,17 +2764,32 @@ interface DataListRootProps extends React$1.HTMLAttributes<HTMLDListElement> {
|
|
|
2473
2764
|
declare const DataListRoot: React$1.ForwardRefExoticComponent<DataListRootProps & React$1.RefAttributes<HTMLDListElement>>;
|
|
2474
2765
|
|
|
2475
2766
|
/**
|
|
2476
|
-
* DataList
|
|
2767
|
+
* DataList Component Types
|
|
2477
2768
|
*
|
|
2478
|
-
*
|
|
2769
|
+
* TypeScript interfaces and types for DataList component.
|
|
2479
2770
|
*/
|
|
2480
2771
|
|
|
2481
|
-
|
|
2772
|
+
/**
|
|
2773
|
+
* DataList Item component props
|
|
2774
|
+
*/
|
|
2775
|
+
interface DataListItemProps$1 extends React.HTMLAttributes<HTMLDivElement> {
|
|
2482
2776
|
/**
|
|
2483
|
-
* Row padding
|
|
2777
|
+
* Row padding - token-based
|
|
2778
|
+
* Accepts spacing tokens (xs, sm, md, lg, xl, etc.) or responsive object
|
|
2484
2779
|
* @default "md"
|
|
2780
|
+
* @example padding="sm"
|
|
2781
|
+
* @example padding={{ base: "sm", md: "lg" }}
|
|
2485
2782
|
*/
|
|
2486
|
-
padding?:
|
|
2783
|
+
padding?: ResponsiveSpacing;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* DataList Item Component
|
|
2788
|
+
*
|
|
2789
|
+
* Individual item in DataList (contains Label and Value).
|
|
2790
|
+
*/
|
|
2791
|
+
|
|
2792
|
+
interface DataListItemProps extends DataListItemProps$1 {
|
|
2487
2793
|
}
|
|
2488
2794
|
/**
|
|
2489
2795
|
* DataList Item component
|
|
@@ -2893,9 +3199,6 @@ declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & Reac
|
|
|
2893
3199
|
* Header section for table (thead element).
|
|
2894
3200
|
*/
|
|
2895
3201
|
|
|
2896
|
-
/**
|
|
2897
|
-
* Table Header component
|
|
2898
|
-
*/
|
|
2899
3202
|
declare const TableHeader: React$1.ForwardRefExoticComponent<TableHeaderProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2900
3203
|
|
|
2901
3204
|
/**
|
|
@@ -2932,74 +3235,62 @@ declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$
|
|
|
2932
3235
|
*/
|
|
2933
3236
|
declare const TableSortIcon: React$1.ForwardRefExoticComponent<TableSortIconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2934
3237
|
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
interface TabsRootProps extends React$1.
|
|
3238
|
+
/**
|
|
3239
|
+
* Tabs Component
|
|
3240
|
+
*
|
|
3241
|
+
* Radix-based tabs component with token-driven styling.
|
|
3242
|
+
* All behavior (keyboard navigation, focus management, a11y) is handled by Radix.
|
|
3243
|
+
* Tenerife UI provides visual styling through tokens only.
|
|
3244
|
+
*/
|
|
3245
|
+
|
|
3246
|
+
interface TabsRootProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
3247
|
+
}
|
|
3248
|
+
interface TabsListProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, "size" | "variant"> {
|
|
2944
3249
|
/**
|
|
2945
|
-
*
|
|
3250
|
+
* Size variant - token-based
|
|
2946
3251
|
*/
|
|
2947
|
-
|
|
3252
|
+
size?: ResponsiveTabsSize;
|
|
2948
3253
|
/**
|
|
2949
|
-
*
|
|
3254
|
+
* Visual variant - token-based
|
|
2950
3255
|
*/
|
|
2951
|
-
|
|
3256
|
+
variant?: TabsVariantToken;
|
|
3257
|
+
}
|
|
3258
|
+
interface TabsTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, "size" | "variant" | "tone"> {
|
|
2952
3259
|
/**
|
|
2953
|
-
*
|
|
3260
|
+
* Size variant - token-based (inherited from context if not provided)
|
|
2954
3261
|
*/
|
|
2955
|
-
|
|
3262
|
+
size?: ResponsiveTabsSize;
|
|
2956
3263
|
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @default "horizontal"
|
|
3264
|
+
* Visual variant - token-based (inherited from context if not provided)
|
|
2959
3265
|
*/
|
|
2960
|
-
|
|
2961
|
-
}
|
|
2962
|
-
interface TabsListProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "role">, VariantProps<typeof tabsListVariants> {
|
|
3266
|
+
variant?: TabsVariantToken;
|
|
2963
3267
|
/**
|
|
2964
|
-
*
|
|
3268
|
+
* Tone - token-based (inherited from context if not provided)
|
|
2965
3269
|
*/
|
|
2966
|
-
|
|
2967
|
-
}
|
|
2968
|
-
interface TabsTriggerProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "role">, VariantProps<typeof tabsTriggerVariants> {
|
|
3270
|
+
tone?: TabsToneToken;
|
|
2969
3271
|
/**
|
|
2970
|
-
*
|
|
3272
|
+
* Leading icon - semantic prop
|
|
2971
3273
|
*/
|
|
2972
|
-
|
|
3274
|
+
leadingIcon?: React$1.ReactNode;
|
|
2973
3275
|
/**
|
|
2974
|
-
*
|
|
3276
|
+
* Trailing icon - semantic prop
|
|
2975
3277
|
*/
|
|
2976
|
-
|
|
2977
|
-
}
|
|
2978
|
-
interface TabsContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3278
|
+
trailingIcon?: React$1.ReactNode;
|
|
2979
3279
|
/**
|
|
2980
|
-
*
|
|
3280
|
+
* Icon - semantic prop (for backward compatibility, maps to leadingIcon)
|
|
2981
3281
|
*/
|
|
2982
|
-
|
|
3282
|
+
icon?: React$1.ReactNode;
|
|
3283
|
+
}
|
|
3284
|
+
interface TabsContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, "size"> {
|
|
2983
3285
|
/**
|
|
2984
|
-
*
|
|
3286
|
+
* Size variant - token-based (for padding)
|
|
2985
3287
|
*/
|
|
2986
|
-
|
|
2987
|
-
}
|
|
2988
|
-
/**
|
|
2989
|
-
* Tabs.List - Container for tab triggers
|
|
2990
|
-
*/
|
|
2991
|
-
interface TabsListPropsInternal extends TabsListProps {
|
|
2992
|
-
onSizeChange?: (size: "sm" | "md" | "lg") => void;
|
|
2993
|
-
}
|
|
2994
|
-
/**
|
|
2995
|
-
* Tabs.Trigger - Individual tab button
|
|
2996
|
-
*/
|
|
2997
|
-
interface TabsTriggerPropsInternal extends TabsTriggerProps {
|
|
3288
|
+
size?: ResponsiveTabsSize;
|
|
2998
3289
|
}
|
|
2999
|
-
declare const Tabs:
|
|
3000
|
-
Root: React$1.
|
|
3001
|
-
List: React$1.ForwardRefExoticComponent<
|
|
3002
|
-
Trigger: React$1.ForwardRefExoticComponent<
|
|
3290
|
+
declare const Tabs: {
|
|
3291
|
+
Root: React$1.FC<TabsRootProps>;
|
|
3292
|
+
List: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3293
|
+
Trigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3003
3294
|
Content: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3004
3295
|
};
|
|
3005
3296
|
|
|
@@ -3444,10 +3735,10 @@ interface AnimationProps {
|
|
|
3444
3735
|
*/
|
|
3445
3736
|
interface ComponentAnimationConfig {
|
|
3446
3737
|
/**
|
|
3447
|
-
* Animation preset for initial mount/entrance
|
|
3448
|
-
*
|
|
3738
|
+
* Animation preset for initial mount/entrance - token-based
|
|
3739
|
+
* Uses predefined animation preset tokens
|
|
3449
3740
|
*/
|
|
3450
|
-
animation?:
|
|
3741
|
+
animation?: ResponsiveAnimationPreset | string;
|
|
3451
3742
|
/**
|
|
3452
3743
|
* Animation preset for hover state
|
|
3453
3744
|
* Can be a preset name string or CSS class name
|
|
@@ -3526,46 +3817,36 @@ interface ArtistCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
3526
3817
|
declare const ArtistCard: React$1.ForwardRefExoticComponent<ArtistCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3527
3818
|
|
|
3528
3819
|
/**
|
|
3529
|
-
*
|
|
3820
|
+
* CategoryCard Size Variant
|
|
3530
3821
|
*/
|
|
3531
|
-
type
|
|
3822
|
+
type CategoryCardSize = "default" | "compact";
|
|
3532
3823
|
/**
|
|
3533
|
-
*
|
|
3824
|
+
* CategoryCard Style Variant
|
|
3534
3825
|
*/
|
|
3535
|
-
type
|
|
3826
|
+
type CategoryCardVariant = "default" | "featured";
|
|
3536
3827
|
/**
|
|
3537
|
-
* Props for
|
|
3828
|
+
* Props for CategoryCard component.
|
|
3538
3829
|
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
3539
3830
|
*/
|
|
3540
|
-
interface
|
|
3541
|
-
/**
|
|
3831
|
+
interface CategoryCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3832
|
+
/** Category title (pre-localized string, required) */
|
|
3542
3833
|
title: string;
|
|
3543
|
-
/**
|
|
3834
|
+
/** Category description (pre-localized string, optional) */
|
|
3544
3835
|
description?: string;
|
|
3545
|
-
/** Event date/time display string (pre-formatted, optional) */
|
|
3546
|
-
date?: string;
|
|
3547
|
-
/** Venue name (pre-localized string, optional) */
|
|
3548
|
-
venueName?: string;
|
|
3549
|
-
/** Price display string with currency (e.g., "€20 - €50", optional) */
|
|
3550
|
-
price?: string;
|
|
3551
3836
|
/** Image URL (optional) */
|
|
3552
3837
|
imageUrl?: string;
|
|
3553
|
-
/** Link URL for
|
|
3838
|
+
/** Link URL for category details page (optional) */
|
|
3554
3839
|
href?: string;
|
|
3555
|
-
/**
|
|
3556
|
-
ticketUrl?: string;
|
|
3557
|
-
/** Whether this is a featured event */
|
|
3840
|
+
/** Whether this is a featured category */
|
|
3558
3841
|
featured?: boolean;
|
|
3842
|
+
/** Badge text for featured categories (optional) */
|
|
3843
|
+
featuredBadgeText?: string;
|
|
3559
3844
|
/** Show image section */
|
|
3560
3845
|
showImage?: boolean;
|
|
3561
|
-
/** Label for "Get Tickets" button (required) */
|
|
3562
|
-
getTicketsLabel: string;
|
|
3563
|
-
/** Badge text for featured events (optional) */
|
|
3564
|
-
featuredBadgeText?: string;
|
|
3565
3846
|
/** Size variant - controls padding and spacing */
|
|
3566
|
-
size?:
|
|
3847
|
+
size?: CategoryCardSize;
|
|
3567
3848
|
/** Style variant - controls visual appearance */
|
|
3568
|
-
variant?:
|
|
3849
|
+
variant?: CategoryCardVariant;
|
|
3569
3850
|
/** Additional CSS classes */
|
|
3570
3851
|
className?: string;
|
|
3571
3852
|
/** Animation configuration for entrance and hover animations */
|
|
@@ -3573,22 +3854,21 @@ interface EventCardProps {
|
|
|
3573
3854
|
}
|
|
3574
3855
|
|
|
3575
3856
|
/**
|
|
3576
|
-
*
|
|
3857
|
+
* CategoryCard Component
|
|
3577
3858
|
*
|
|
3578
|
-
* Domain-specific card component for displaying
|
|
3859
|
+
* Domain-specific card component for displaying category information.
|
|
3579
3860
|
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
3580
3861
|
*
|
|
3581
3862
|
* @example
|
|
3582
3863
|
* ```tsx
|
|
3583
|
-
* <
|
|
3584
|
-
* title="
|
|
3585
|
-
*
|
|
3586
|
-
*
|
|
3587
|
-
* getTicketsLabel="Get Tickets"
|
|
3864
|
+
* <CategoryCard
|
|
3865
|
+
* title="Jazz"
|
|
3866
|
+
* description="Explore jazz events"
|
|
3867
|
+
* href="/categories/jazz"
|
|
3588
3868
|
* />
|
|
3589
3869
|
* ```
|
|
3590
3870
|
*/
|
|
3591
|
-
declare const
|
|
3871
|
+
declare const CategoryCard: React$1.ForwardRefExoticComponent<CategoryCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3592
3872
|
|
|
3593
3873
|
/**
|
|
3594
3874
|
* PromoCard Size Variant
|
|
@@ -3636,7 +3916,7 @@ interface PromoCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
3636
3916
|
*
|
|
3637
3917
|
* Domain-specific card component for displaying promotional content.
|
|
3638
3918
|
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
3639
|
-
* CTA button uses
|
|
3919
|
+
* CTA button uses DOMAIN_TOKENS.cta.button tokens for styling.
|
|
3640
3920
|
*
|
|
3641
3921
|
* @example
|
|
3642
3922
|
* ```tsx
|
|
@@ -3669,6 +3949,8 @@ type TicketAvailability = "available" | "sold_out" | "available_soon";
|
|
|
3669
3949
|
interface TicketCardProps {
|
|
3670
3950
|
/** Ticket type/name (pre-localized string) */
|
|
3671
3951
|
title: string;
|
|
3952
|
+
/** Event date (Date object, ISO string, or timestamp) */
|
|
3953
|
+
date?: string | Date | number;
|
|
3672
3954
|
/** Ticket description (pre-localized string, optional) */
|
|
3673
3955
|
description?: string;
|
|
3674
3956
|
/** Price display string with currency (e.g., "€20", optional) */
|
|
@@ -3708,13 +3990,15 @@ interface TicketCardProps {
|
|
|
3708
3990
|
/**
|
|
3709
3991
|
* TicketCard Component
|
|
3710
3992
|
*
|
|
3711
|
-
* Domain-specific card component for displaying ticket information.
|
|
3993
|
+
* Domain-specific card component for displaying ticket information for Event/Artist/Venue context.
|
|
3712
3994
|
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
3995
|
+
* Supports date display, price, capacity, availability status, and badges.
|
|
3713
3996
|
*
|
|
3714
3997
|
* @example
|
|
3715
3998
|
* ```tsx
|
|
3716
3999
|
* <TicketCard
|
|
3717
4000
|
* title="VIP Ticket"
|
|
4001
|
+
* date={new Date("2024-12-25")}
|
|
3718
4002
|
* price="€50"
|
|
3719
4003
|
* capacity="10 tickets left"
|
|
3720
4004
|
* purchaseLabel="Buy Now"
|
|
@@ -3723,4 +4007,88 @@ interface TicketCardProps {
|
|
|
3723
4007
|
*/
|
|
3724
4008
|
declare const TicketCard: React$1.ForwardRefExoticComponent<TicketCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3725
4009
|
|
|
3726
|
-
|
|
4010
|
+
/**
|
|
4011
|
+
* EventCard Size Variant
|
|
4012
|
+
* Controls padding, spacing, and overall card dimensions
|
|
4013
|
+
*/
|
|
4014
|
+
type EventCardSize = "default" | "compact";
|
|
4015
|
+
/**
|
|
4016
|
+
* EventCard Layout Variant
|
|
4017
|
+
* Controls card layout orientation
|
|
4018
|
+
*/
|
|
4019
|
+
type EventCardLayout = "vertical";
|
|
4020
|
+
/**
|
|
4021
|
+
* EventCard Style Variant
|
|
4022
|
+
* Controls visual appearance and featured state
|
|
4023
|
+
*/
|
|
4024
|
+
type EventCardVariant = "default" | "featured";
|
|
4025
|
+
/**
|
|
4026
|
+
* Props for EventCard component.
|
|
4027
|
+
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
4028
|
+
*
|
|
4029
|
+
* Component uses CARD_TOKENS and DOMAIN_TOKENS for all styling.
|
|
4030
|
+
* All visual values come from tokens - no hardcoded Tailwind classes.
|
|
4031
|
+
*/
|
|
4032
|
+
interface EventCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4033
|
+
/** Event title (pre-localized string) */
|
|
4034
|
+
title: string;
|
|
4035
|
+
/** Event description (pre-localized string, optional) */
|
|
4036
|
+
description?: string;
|
|
4037
|
+
/** Event date/time display string (pre-formatted, optional) */
|
|
4038
|
+
date?: string;
|
|
4039
|
+
/** Venue name (pre-localized string, optional) */
|
|
4040
|
+
venueName?: string;
|
|
4041
|
+
/** Price display string with currency (e.g., "€20 - €50", optional) */
|
|
4042
|
+
price?: string;
|
|
4043
|
+
/** Image URL (optional) */
|
|
4044
|
+
imageUrl?: string;
|
|
4045
|
+
/** Link URL for event details page (optional) */
|
|
4046
|
+
href?: string;
|
|
4047
|
+
/** External ticket purchase URL (optional) */
|
|
4048
|
+
ticketUrl?: string;
|
|
4049
|
+
/** Whether this is a featured event */
|
|
4050
|
+
featured?: boolean;
|
|
4051
|
+
/** Show image section */
|
|
4052
|
+
showImage?: boolean;
|
|
4053
|
+
/** Label for "Get Tickets" button (required) */
|
|
4054
|
+
getTicketsLabel: string;
|
|
4055
|
+
/** Badge text for featured events (optional) */
|
|
4056
|
+
featuredBadgeText?: string;
|
|
4057
|
+
/** Size variant - controls padding and spacing */
|
|
4058
|
+
size?: EventCardSize;
|
|
4059
|
+
/** Layout variant - controls card layout orientation */
|
|
4060
|
+
layout?: EventCardLayout;
|
|
4061
|
+
/** Style variant - controls visual appearance */
|
|
4062
|
+
variant?: EventCardVariant;
|
|
4063
|
+
/** Additional CSS classes */
|
|
4064
|
+
className?: string;
|
|
4065
|
+
/** Animation configuration for entrance and hover animations */
|
|
4066
|
+
animation?: ComponentAnimationConfig;
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
/**
|
|
4070
|
+
* EventCard Component
|
|
4071
|
+
*
|
|
4072
|
+
* Domain-specific card component for displaying event information.
|
|
4073
|
+
* Uses CardBase for layout and CARD_TOKENS + DOMAIN_TOKENS for all styling.
|
|
4074
|
+
* All visual values come from tokens - no hardcoded Tailwind visual classes.
|
|
4075
|
+
*
|
|
4076
|
+
* Architecture:
|
|
4077
|
+
* - Uses CVA variants for size and layout variants
|
|
4078
|
+
* - All spacing, colors, radius from tokens
|
|
4079
|
+
* - Semantic HTML elements (heading, time, address)
|
|
4080
|
+
* - Full accessibility support
|
|
4081
|
+
*
|
|
4082
|
+
* @example
|
|
4083
|
+
* ```tsx
|
|
4084
|
+
* <EventCard
|
|
4085
|
+
* title="Concert"
|
|
4086
|
+
* date="2024-01-01"
|
|
4087
|
+
* venueName="Venue"
|
|
4088
|
+
* getTicketsLabel="Get Tickets"
|
|
4089
|
+
* />
|
|
4090
|
+
* ```
|
|
4091
|
+
*/
|
|
4092
|
+
declare const EventCard: React$1.ForwardRefExoticComponent<EventCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4093
|
+
|
|
4094
|
+
export { Alert, type AlertProps, ArtistCard, type ArtistCardProps, type ArtistCardSize, type ArtistCardVariant, Backdrop, type BackdropProps, Body, type BodyProps, Box, type BoxProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsItemProps, type BreadcrumbsRootProps, type BreadcrumbsSeparatorProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CategoryCard, type CategoryCardProps, type CategoryCardSize, type CategoryCardVariant, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type StackProps as ColumnProps, Container, type ContainerProps, Surface as ContainerSurface, type SurfaceProps as ContainerSurfaceProps, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuRoot, type ContextMenuRootProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, DataListRoot as DataList, DataListItem, type DataListItemProps, DataListLabel, type DataListLabelProps, DataListRoot, type DataListRootProps, DataListValue, type DataListValueProps, Dialog, DialogBody, type DialogBodyProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogRoot, DialogTitle, type DialogTitleProps, Display, type DisplayProps, DropdownMenuCheckItem, type DropdownMenuCheckItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuRoot, type DropdownMenuRootProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, EmptyStateAction, type EmptyStateActionProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateIcon, type EmptyStateIconProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, EventCard, type EventCardLayout, type EventCardProps, type EventCardSize, type EventCardVariant, FieldRoot as Field, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldLabelProps, type FieldProps, Flex, type FlexProps, Grid, type GridProps, type GroupByFunction, Heading, type HeadingProps, HoverCardContent, type HoverCardContentProps, HoverCardRoot, type HoverCardRootProps, HoverCardTrigger, type HoverCardTriggerProps, ICONS_MAP, Icon, IconArrowRight, IconCalendar, IconCheck, IconChevronDown, IconChevronRight, IconClose, type IconProps$1 as IconComponentProps, IconError, IconInfo, IconLocation, IconMenu, type IconName, type IconProps, IconSearch, IconSuccess, IconWarning, Input, type InputProps, Label, type LabelProps, Lead, type LeadProps, Modal, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalOverlay, type ModalOverlayProps, ModalRoot, type ModalRootProps, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, NotificationCenter, NotificationCenterDismissAll, type NotificationCenterDismissAllProps, NotificationCenterGroupHeader, type NotificationCenterGroupHeaderProps, NotificationCenterItem, type NotificationCenterItemProps, NotificationCenterList, type NotificationCenterListProps, NotificationCenterPanel, type NotificationCenterPanelProps, NotificationCenterProvider, type NotificationCenterProviderProps, NotificationCenterTrigger, type NotificationCenterTriggerProps, type NotificationChannel, type NotificationContextType, type NotificationData, type NotificationOptions, type NotificationVariant, Pagination, type PaginationEllipsisProps, type PaginationItemProps, type PaginationNextProps, type PaginationPrevProps, type PaginationRootProps, PopoverArrow, type PopoverArrowProps, PopoverContent, type PopoverContentProps, PopoverRoot, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, PromoCard, type PromoCardProps, type PromoCardSize, type PromoCardVariant, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Responsive, Row, type RowProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectRoot, type SelectRootProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, type SelectState, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, SelectViewport, type SelectViewportProps, type SelectWidth, Skeleton, type SkeletonProps, type SortDirection, type SortState, Stack, type StackProps, Stepper, type StepperContentProps, type StepperIndicatorProps, type StepperItemProps, type StepperLabelProps, type StepperRootProps, type StepperStep, Surface$1 as Surface, type SurfaceProps$1 as SurfaceProps, TableRoot as Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, type TableColumn, type TableContextValue, TableEmpty, type TableEmptyProps, TableExpandableContent, type TableExpandableContentProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableLoadingState, type TableLoadingStateProps, TableRoot, type TableRootProps, TableRow, type TableRowProps, TableSortIcon, type TableSortIconProps, Tabs, type TabsContentProps, type TabsListProps, type TabsRootProps, type TabsTriggerProps, Text, type TextProps, type TextSize, type TextWeight, Textarea, type TextareaProps, type TicketAvailability, TicketCard, type TicketCardProps, type TicketCardSize, type TicketCardVariant, Toast, ToastAction, type ToastData, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, ToastViewport, type ToastViewportProps, alertVariants, bodyVariants, buttonVariants, captionVariants, checkboxVariants, codeVariants, surfaceVariants as containerSurfaceVariants, displayVariants, headingVariants, iconVariants, inputVariants, labelVariants, leadVariants, popoverContentVariants, radioVariants, segmentedControlItemVariants, segmentedControlRootVariants, skeletonVariants, surfaceVariants$1 as surfaceVariants, textVariants, textareaVariants, useNotificationCenter, useNotificationCenterContext, useTableContext, useToast };
|