@tenerife.music/ui 1.0.16 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{index-DPWxsWs3.d.cts → index-DInIMlaR.d.cts} +2 -640
- package/dist/{index-DPWxsWs3.d.ts → index-DInIMlaR.d.ts} +2 -640
- package/dist/index.cjs +4357 -8766
- package/dist/index.d.cts +1146 -1779
- package/dist/index.d.ts +1146 -1779
- package/dist/index.mjs +4347 -8730
- package/dist/preset.cjs +6 -6
- package/dist/preset.mjs +6 -6
- package/dist/styles.css +10 -176
- package/dist/theme/index.cjs +1306 -1306
- package/dist/theme/index.mjs +1306 -1306
- package/dist/tokens/index.cjs +32 -222
- package/dist/tokens/index.d.cts +486 -2
- package/dist/tokens/index.d.ts +486 -2
- package/dist/tokens/index.mjs +33 -222
- package/package.json +50 -41
package/dist/index.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ALERT_TOKENS,
|
|
1
|
+
import { cW as ResponsiveSelectSize, d5 as SelectVariantToken, cX as ResponsiveSelectWidth, cZ as ResponsiveSideOffset, cJ as ResponsiveAlignOffset, d3 as SelectSizeToken, d4 as SelectStateToken, d6 as SelectWidthToken, cS as ResponsiveModalSize, cT as ResponsiveModalWidth, cR as ResponsiveModalHeight, c_ as ResponsiveSpace, cI as RadiusToken, db as SurfaceToken, cA as ModalFooterAlignToken, dg as Responsive, b as INPUT_TOKENS, U as InputSize, cV as ResponsiveRadius$1, d7 as ShadowToken, cM as ResponsiveColor$1, cN as ResponsiveContainerMaxWidth, cQ as ResponsiveFlexBasis, cP as ResponsiveDelay, dh as ResponsiveContextMenuSize, di as ResponsiveContextMenuWidth, dj as ContextMenuItemToneToken, dk as ResponsiveTabsSize, dl as TabsVariantToken, dm as TabsToneToken } from './index-DInIMlaR.cjs';
|
|
2
|
+
export { A as ALERT_TOKENS, j as AlertVariant, b9 as Animation, B as BUTTON_TOKENS, bC as BorderRadius, dn as Breakpoint, k as ButtonFontSize, l as ButtonHeight, m as ButtonPaddingHorizontal, n as ButtonPaddingVertical, o as ButtonShadow, C as CARD_TOKENS, a as CHECKBOX_TOKENS, c7 as CanonicalFontSize, c8 as CanonicalFontWeight, c9 as CanonicalLetterSpacing, ca as CanonicalLineHeight, cb as CanonicalTextColor, p as CardPadding, q as CardRadius, r as CardShadow, s as CardSize, t as CardSpacingVertical, u as CheckboxSize, v as CheckboxState, w as CheckboxVariant, bI as ColoredShadow, bD as ComponentRadius, bW as ComponentSpacing, bX as ContainerSpacing, D as DATA_TOKENS, x as DataListLabelWidth, y as DataListRowPadding, ba as Duration, bb as Easing, bJ as ElevationShadow, E as EmptyStateIconSize, bK as FocusRing, cc as FontFamily, cd as FontSize, ce as FontWeight, bL as GlowEffect, bY as GridSpacing, I as ICON_TOKENS, z as IconColor, F as IconSize, G as IconStroke, H as InputFontSize, J as InputHeight, K as InputPaddingHorizontal, L as InputPaddingVertical, Q as InputRadius, bc as Keyframe, cf as LetterSpacing, cg as LineHeight, M as MENU_TOKENS, c as MOTION_TOKENS, V as MenuContentMinWidth, W as MenuContentPadding, X as MenuContentRadius, Y as MenuContentShadow, Z as MenuIndicatorOffset, _ as MenuIndicatorSize, $ as MenuItemGap, a0 as MenuItemHeight, a1 as MenuItemPadding, a2 as MenuItemRadius, a3 as MenuLabelPadding, a4 as MenuSeparatorMargin, a5 as MotionAnimation, a6 as MotionDuration, a7 as MotionEasing, a8 as MotionTransition, a9 as MotionTransitionPreset, bo as MotionV2CombinedType, bp as MotionV2Duration, bq as MotionV2Easing, br as MotionV2SlideDirection, bs as MotionV2Transition, N as NAVIGATION_TOKENS, d as NOTIFICATION_TOKENS, aa as NavigationItemPadding, ab as NavigationListGap, ac as NavigationRadius, ad as NavigationShadow, ae as NavigationSize, af as NavigationState, ag as NotificationPanelWidth, ah as NotificationTokenVariant, O as OVERLAY_TOKENS, ai as OverlayBackdropVariant, aj as OverlayModalSize, P as POPOVER_TOKENS, ak as PopoverArrowOffset, al as PopoverArrowSize, am as PopoverContentPadding, an as PopoverContentRadius, ao as PopoverContentShadow, ap as PopoverContentWidth, R as RADIO_TOKENS, aq as RadioSize, ar as RadioState, as as RadioVariant, S as SECTION_TOKENS, f as SURFACE_TOKENS, g as SWITCH_TOKENS, at as SectionGap, au as SectionPadding, bZ as SectionSpacing, b_ as SemanticSpacing, aL as SkeletonAnimation, aM as SkeletonBackground, aN as SkeletonVariant, b$ as Spacing, bd as Spring, c0 as StackSpacing, aO as SurfacePadding, aP as SurfaceRadius, aQ as SurfaceShadow, aR as SurfaceVariant, aS as SwitchSize, aT as SwitchState, aU as SwitchVariant, T as TEXT_TOKENS, h as TOAST_TOKENS, i as TOOLTIP_TOKENS, aV as TableCellPadding, aW as TableGap, aX as TableHeaderPadding, aY as TableRowHeight, aZ as TableShadow, a_ as TextFontSize, a$ as TextFontWeight, b0 as TextLetterSpacing, b1 as TextLineHeight, ch as TextStyle, b2 as ToastVariant, b3 as TooltipContentRadius, b4 as TooltipContentShadow, be as Transition, c6 as UI_COLORS, bM as accentColoredShadows, b5 as allCSSVariables, b6 as allCSSVariablesCSS, bf as animations, bE as borderRadius, bF as componentRadius, bN as componentShadowMapping, bg as durations, bh as easings, bO as elevationShadows, bP as focusRings, ci as fontFamily, cj as fontSize, ck as fontSizeWithMd, cl as fontWeight, b7 as generateCSSVariablesCSS, bQ as glowEffects, bi as keyframes, c1 as layoutSpacing, cm as letterSpacing, cn as lineHeight, bj as motionCSSVariables, bt as motionV2CSSVariables, bu as motionV2Combined, bv as motionV2Durations, bw as motionV2Easings, bx as motionV2Fade, by as motionV2Scale, bz as motionV2Slide, bA as motionV2TailwindConfig, bB as motionV2Transitions, bR as primaryColoredShadows, bG as radiusCSSVariables, bk as reducedMotion, c2 as semanticSpacing, bS as shadowBase, bT as shadowCSSVariables, bU as shadowOpacity, c3 as spacing, c4 as spacingCSSVariables, bl as springs, bm as tailwindMotionConfig, bH as tailwindRadiusConfig, bV as tailwindShadowConfig, c5 as tailwindSpacingConfig, co as tailwindTypographyConfig, cp as textStyles, b8 as tokenSystemSummary, bn as transitions, cq as typographyCSSVariables } from './index-DInIMlaR.cjs';
|
|
3
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-BrFmCQv-.cjs';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
|
-
import { ReactNode } from 'react';
|
|
6
|
+
import React__default, { ReactNode } from 'react';
|
|
7
7
|
import { VariantProps as VariantProps$1 } from 'class-variance-authority';
|
|
8
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
9
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
9
10
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
10
11
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
11
12
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
12
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
13
|
-
import { Placement } from '@floating-ui/react-dom';
|
|
14
13
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
14
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
15
15
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -27,8 +27,8 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* ```typescript
|
|
30
|
-
* import { tokenCVA } from "@/lib/token-cva";
|
|
31
|
-
* import { BUTTON_TOKENS } from "@/tokens/components/button";
|
|
30
|
+
* import { tokenCVA } from "@/FOUNDATION/lib/token-cva";
|
|
31
|
+
* import { BUTTON_TOKENS } from "@/FOUNDATION/tokens/components/button";
|
|
32
32
|
*
|
|
33
33
|
* const buttonVariants = tokenCVA({
|
|
34
34
|
* base: `${BUTTON_TOKENS.gap} ${BUTTON_TOKENS.radius}`,
|
|
@@ -194,51 +194,83 @@ interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProp
|
|
|
194
194
|
}
|
|
195
195
|
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
196
|
|
|
197
|
-
declare const bodyVariants: (props?: ({
|
|
198
|
-
size?: "md" | "lg" | null | undefined;
|
|
199
|
-
weight?: "normal" | "medium" | "semibold" | "bold" | null | undefined;
|
|
200
|
-
muted?: boolean | null | undefined;
|
|
201
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
202
|
-
interface BodyProps extends React$1.HTMLAttributes<HTMLParagraphElement>, VariantProps$1<typeof bodyVariants> {
|
|
203
|
-
as?: "p" | "span" | "div";
|
|
204
|
-
}
|
|
205
|
-
declare const Body: React$1.ForwardRefExoticComponent<BodyProps & React$1.RefAttributes<HTMLElement>>;
|
|
206
|
-
|
|
207
197
|
/**
|
|
208
|
-
*
|
|
198
|
+
* Link variant values
|
|
209
199
|
*
|
|
210
|
-
*
|
|
211
|
-
* rather than variants, as Caption always uses a consistent small size (xs) with tight
|
|
212
|
-
* line height and wide letter spacing. This design decision ensures caption text maintains
|
|
213
|
-
* its distinctive appearance across all use cases.
|
|
200
|
+
* @public
|
|
214
201
|
*/
|
|
215
|
-
declare const
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
202
|
+
declare const LINK_VARIANTS: readonly ["primary", "secondary", "accent", "outline", "ghost", "link", "destructive"];
|
|
203
|
+
/**
|
|
204
|
+
* Link variant type
|
|
205
|
+
*
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
type LinkVariant = (typeof LINK_VARIANTS)[number];
|
|
209
|
+
/**
|
|
210
|
+
* Link size values
|
|
211
|
+
*
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
declare const LINK_SIZES: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
215
|
+
/**
|
|
216
|
+
* Link size type
|
|
217
|
+
*
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
type LinkSize = (typeof LINK_SIZES)[number];
|
|
221
|
+
declare const linkVariants: (props?: ({
|
|
222
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "link" | "ghost" | null | undefined;
|
|
223
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
227
224
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
228
|
-
interface
|
|
229
|
-
|
|
225
|
+
interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
226
|
+
/**
|
|
227
|
+
* Link variant style
|
|
228
|
+
* @default "link"
|
|
229
|
+
*/
|
|
230
|
+
variant?: LinkVariant;
|
|
231
|
+
/**
|
|
232
|
+
* Link size
|
|
233
|
+
* @default "md"
|
|
234
|
+
*/
|
|
235
|
+
size?: LinkSize;
|
|
236
|
+
/**
|
|
237
|
+
* Render as child component using Radix Slot
|
|
238
|
+
*/
|
|
239
|
+
asChild?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Icon to display on the left side
|
|
242
|
+
*/
|
|
243
|
+
leftIcon?: React$1.ReactNode;
|
|
244
|
+
/**
|
|
245
|
+
* Icon to display on the right side
|
|
246
|
+
*/
|
|
247
|
+
rightIcon?: React$1.ReactNode;
|
|
230
248
|
}
|
|
231
|
-
declare const
|
|
249
|
+
declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
232
250
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
251
|
+
/**
|
|
252
|
+
* Badge variant values
|
|
253
|
+
*
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
declare const BADGE_VARIANTS: readonly ["primary", "secondary", "accent", "outline", "ghost", "link", "destructive"];
|
|
257
|
+
/**
|
|
258
|
+
* Badge variant type
|
|
259
|
+
*
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
type BadgeVariant = (typeof BADGE_VARIANTS)[number];
|
|
263
|
+
declare const badgeVariants: (props?: ({
|
|
264
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "link" | "ghost" | null | undefined;
|
|
237
265
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
238
|
-
interface
|
|
239
|
-
|
|
266
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
267
|
+
/**
|
|
268
|
+
* Badge variant style
|
|
269
|
+
* @default "primary"
|
|
270
|
+
*/
|
|
271
|
+
variant?: BadgeVariant;
|
|
240
272
|
}
|
|
241
|
-
declare
|
|
273
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
242
274
|
|
|
243
275
|
declare const headingVariants: (props?: ({
|
|
244
276
|
level?: 1 | 2 | 4 | 6 | 3 | 5 | null | undefined;
|
|
@@ -250,15 +282,6 @@ interface HeadingProps extends React$1.HTMLAttributes<HTMLHeadingElement>, Varia
|
|
|
250
282
|
}
|
|
251
283
|
declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
252
284
|
|
|
253
|
-
declare const leadVariants: (props?: ({
|
|
254
|
-
size?: "lg" | "xl" | null | undefined;
|
|
255
|
-
muted?: boolean | null | undefined;
|
|
256
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
257
|
-
interface LeadProps extends React$1.HTMLAttributes<HTMLParagraphElement>, VariantProps$1<typeof leadVariants> {
|
|
258
|
-
as?: "p" | "span" | "div";
|
|
259
|
-
}
|
|
260
|
-
declare const Lead: React$1.ForwardRefExoticComponent<LeadProps & React$1.RefAttributes<HTMLElement>>;
|
|
261
|
-
|
|
262
285
|
interface SelectRootProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
|
|
263
286
|
}
|
|
264
287
|
/**
|
|
@@ -667,6 +690,57 @@ interface CheckboxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
667
690
|
*/
|
|
668
691
|
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
669
692
|
|
|
693
|
+
declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
694
|
+
interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps$1<typeof labelVariants> {
|
|
695
|
+
/**
|
|
696
|
+
* Whether the field is required (shows asterisk)
|
|
697
|
+
*/
|
|
698
|
+
required?: boolean;
|
|
699
|
+
}
|
|
700
|
+
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Field Container Component
|
|
704
|
+
* Provides spacing between field elements using Stack
|
|
705
|
+
*/
|
|
706
|
+
interface FieldProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
707
|
+
}
|
|
708
|
+
declare const Field: React$1.ForwardRefExoticComponent<FieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
709
|
+
/**
|
|
710
|
+
* Field Label Component
|
|
711
|
+
* Wraps Label component with proper styling
|
|
712
|
+
*/
|
|
713
|
+
interface FieldLabelProps extends React$1.ComponentProps<typeof Label> {
|
|
714
|
+
}
|
|
715
|
+
declare const FieldLabel: React$1.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
716
|
+
/**
|
|
717
|
+
* Field Control Component
|
|
718
|
+
* Wrapper for input/textarea/select controls
|
|
719
|
+
*/
|
|
720
|
+
interface FieldControlProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
721
|
+
}
|
|
722
|
+
declare const FieldControl: React$1.ForwardRefExoticComponent<FieldControlProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
723
|
+
/**
|
|
724
|
+
* Field Description Component
|
|
725
|
+
* Helper text displayed below the control
|
|
726
|
+
*/
|
|
727
|
+
interface FieldDescriptionProps extends React$1.ComponentProps<typeof Text> {
|
|
728
|
+
}
|
|
729
|
+
declare const FieldDescription: React$1.ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
730
|
+
/**
|
|
731
|
+
* Field Error Component
|
|
732
|
+
* Error message displayed below the control
|
|
733
|
+
*/
|
|
734
|
+
interface FieldErrorProps extends React$1.ComponentProps<typeof Text> {
|
|
735
|
+
}
|
|
736
|
+
declare const FieldError: React$1.ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
737
|
+
declare const FieldRoot: typeof Field & {
|
|
738
|
+
Label: typeof FieldLabel;
|
|
739
|
+
Control: typeof FieldControl;
|
|
740
|
+
Description: typeof FieldDescription;
|
|
741
|
+
Error: typeof FieldError;
|
|
742
|
+
};
|
|
743
|
+
|
|
670
744
|
/**
|
|
671
745
|
* Input Variants
|
|
672
746
|
*
|
|
@@ -992,56 +1066,27 @@ interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaEleme
|
|
|
992
1066
|
*/
|
|
993
1067
|
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
994
1068
|
|
|
995
|
-
declare const
|
|
996
|
-
|
|
1069
|
+
declare const skeletonVariants: (props?: ({
|
|
1070
|
+
variant?: "block" | "card" | "text" | "circle" | "inline" | null | undefined;
|
|
1071
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1072
|
+
interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps$1<typeof skeletonVariants> {
|
|
997
1073
|
/**
|
|
998
|
-
* Whether
|
|
1074
|
+
* Whether to hide from screen readers
|
|
1075
|
+
* @default true
|
|
999
1076
|
*/
|
|
1000
|
-
|
|
1001
|
-
}
|
|
1002
|
-
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* Field Container Component
|
|
1006
|
-
* Provides spacing between field elements using Stack
|
|
1007
|
-
*/
|
|
1008
|
-
interface FieldProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1009
|
-
}
|
|
1010
|
-
declare const Field: React$1.ForwardRefExoticComponent<FieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1011
|
-
/**
|
|
1012
|
-
* Field Label Component
|
|
1013
|
-
* Wraps Label component with proper styling
|
|
1014
|
-
*/
|
|
1015
|
-
interface FieldLabelProps extends React$1.ComponentProps<typeof Label> {
|
|
1016
|
-
}
|
|
1017
|
-
declare const FieldLabel: React$1.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1018
|
-
/**
|
|
1019
|
-
* Field Control Component
|
|
1020
|
-
* Wrapper for input/textarea/select controls
|
|
1021
|
-
*/
|
|
1022
|
-
interface FieldControlProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1023
|
-
}
|
|
1024
|
-
declare const FieldControl: React$1.ForwardRefExoticComponent<FieldControlProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1025
|
-
/**
|
|
1026
|
-
* Field Description Component
|
|
1027
|
-
* Helper text displayed below the control
|
|
1028
|
-
*/
|
|
1029
|
-
interface FieldDescriptionProps extends React$1.ComponentProps<typeof Text> {
|
|
1077
|
+
"aria-hidden"?: boolean;
|
|
1030
1078
|
}
|
|
1031
|
-
declare const FieldDescription: React$1.ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1032
1079
|
/**
|
|
1033
|
-
*
|
|
1034
|
-
*
|
|
1080
|
+
* Skeleton component for loading states
|
|
1081
|
+
*
|
|
1082
|
+
* @example
|
|
1083
|
+
* ```tsx
|
|
1084
|
+
* <Skeleton variant="text" />
|
|
1085
|
+
* <Skeleton variant="circle" />
|
|
1086
|
+
* <Skeleton variant="card" />
|
|
1087
|
+
* ```
|
|
1035
1088
|
*/
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
declare const FieldError: React$1.ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1039
|
-
declare const FieldRoot: typeof Field & {
|
|
1040
|
-
Label: typeof FieldLabel;
|
|
1041
|
-
Control: typeof FieldControl;
|
|
1042
|
-
Description: typeof FieldDescription;
|
|
1043
|
-
Error: typeof FieldError;
|
|
1044
|
-
};
|
|
1089
|
+
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1045
1090
|
|
|
1046
1091
|
/**
|
|
1047
1092
|
* Layout Primitives Shared Types
|
|
@@ -1121,10 +1166,6 @@ type ResponsiveRows = Responsive<RowValue>;
|
|
|
1121
1166
|
* Responsive flow prop type
|
|
1122
1167
|
*/
|
|
1123
1168
|
type ResponsiveFlow = Responsive<FlowValue>;
|
|
1124
|
-
/**
|
|
1125
|
-
* Surface variant values
|
|
1126
|
-
*/
|
|
1127
|
-
type SurfaceVariant = "flat" | "raised" | "sunken";
|
|
1128
1169
|
|
|
1129
1170
|
/**
|
|
1130
1171
|
* Box Primitive Component
|
|
@@ -1505,23 +1546,29 @@ interface RowProps extends Omit<StackProps, "direction"> {
|
|
|
1505
1546
|
*/
|
|
1506
1547
|
declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1507
1548
|
|
|
1508
|
-
declare const surfaceVariants
|
|
1509
|
-
variant?: "flat" | "raised" | "sunken" | null | undefined;
|
|
1549
|
+
declare const surfaceVariants: (props?: ({
|
|
1550
|
+
variant?: "flat" | "raised" | "sunken" | "outline" | "subtle" | null | undefined;
|
|
1510
1551
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1511
|
-
interface SurfaceProps
|
|
1552
|
+
interface SurfaceProps extends Omit<BoxProps, "bg" | "shadow" | "radius" | "p">, VariantProps$1<typeof surfaceVariants> {
|
|
1512
1553
|
/**
|
|
1513
1554
|
* Surface variant
|
|
1514
1555
|
*/
|
|
1515
|
-
variant?:
|
|
1556
|
+
variant?: "flat" | "raised" | "sunken" | "outline" | "subtle";
|
|
1557
|
+
/**
|
|
1558
|
+
* Padding - token-based (sm, md, lg, xl)
|
|
1559
|
+
* Overrides default variant padding
|
|
1560
|
+
*/
|
|
1561
|
+
p?: ResponsiveSpacing;
|
|
1516
1562
|
/**
|
|
1517
|
-
* Border radius - token-based
|
|
1563
|
+
* Border radius - token-based (sm, md, lg, xl, 2xl, 3xl, full)
|
|
1564
|
+
* Overrides default variant radius
|
|
1518
1565
|
*/
|
|
1519
|
-
radius?:
|
|
1566
|
+
radius?: ResponsiveRadius;
|
|
1520
1567
|
}
|
|
1521
1568
|
/**
|
|
1522
|
-
* Surface component - elevation variant
|
|
1569
|
+
* Surface component - elevation variant container
|
|
1523
1570
|
*/
|
|
1524
|
-
declare const Surface
|
|
1571
|
+
declare const Surface: React$1.ForwardRefExoticComponent<SurfaceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1525
1572
|
|
|
1526
1573
|
/**
|
|
1527
1574
|
* Card Container Component
|
|
@@ -1630,30 +1677,6 @@ interface SectionProps extends Omit<StackProps, "py" | "gap"> {
|
|
|
1630
1677
|
*/
|
|
1631
1678
|
declare const Section: React$1.ForwardRefExoticComponent<SectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1632
1679
|
|
|
1633
|
-
declare const surfaceVariants: (props?: ({
|
|
1634
|
-
variant?: "flat" | "raised" | "sunken" | "outline" | "subtle" | null | undefined;
|
|
1635
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1636
|
-
interface SurfaceProps extends Omit<BoxProps, "bg" | "shadow" | "radius" | "p">, VariantProps$1<typeof surfaceVariants> {
|
|
1637
|
-
/**
|
|
1638
|
-
* Surface variant
|
|
1639
|
-
*/
|
|
1640
|
-
variant?: "flat" | "raised" | "sunken" | "outline" | "subtle";
|
|
1641
|
-
/**
|
|
1642
|
-
* Padding - token-based (sm, md, lg, xl)
|
|
1643
|
-
* Overrides default variant padding
|
|
1644
|
-
*/
|
|
1645
|
-
p?: ResponsiveSpacing;
|
|
1646
|
-
/**
|
|
1647
|
-
* Border radius - token-based (sm, md, lg, xl, 2xl, 3xl, full)
|
|
1648
|
-
* Overrides default variant radius
|
|
1649
|
-
*/
|
|
1650
|
-
radius?: ResponsiveRadius;
|
|
1651
|
-
}
|
|
1652
|
-
/**
|
|
1653
|
-
* Surface component - elevation variant container
|
|
1654
|
-
*/
|
|
1655
|
-
declare const Surface: React$1.ForwardRefExoticComponent<SurfaceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1656
|
-
|
|
1657
1680
|
/**
|
|
1658
1681
|
* Portal Component
|
|
1659
1682
|
*
|
|
@@ -1906,15 +1929,300 @@ declare function ToastProvider({ children, position, swipeDirection, duration, }
|
|
|
1906
1929
|
*/
|
|
1907
1930
|
declare function useToast(): ToastContextType;
|
|
1908
1931
|
|
|
1932
|
+
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
1933
|
+
|
|
1909
1934
|
/**
|
|
1910
|
-
*
|
|
1935
|
+
* ============================================================================
|
|
1936
|
+
* 🔒 FOUNDATION LOCK - ContextMenu Component
|
|
1937
|
+
* ============================================================================
|
|
1911
1938
|
*
|
|
1912
|
-
*
|
|
1913
|
-
*
|
|
1939
|
+
* This component is LOCKED as part of the UI Foundation Layer.
|
|
1940
|
+
*
|
|
1941
|
+
* **ARCHITECTURE LOCK DOCUMENTATION:**
|
|
1942
|
+
* See: docs/architecture/TUI_ARCHITECTURE_LOCK.md
|
|
1943
|
+
*
|
|
1944
|
+
* This component must not be modified except for critical bug fixes.
|
|
1945
|
+
* All architectural decisions are final. Museum-grade quality achieved.
|
|
1946
|
+
*
|
|
1947
|
+
* LOCKED STATUS:
|
|
1948
|
+
* - Component: ContextMenu (Radix ContextMenu wrapper)
|
|
1949
|
+
* - Category: Menus (Foundation Layer)
|
|
1950
|
+
* - Lock Date: 2025-12-12
|
|
1951
|
+
* - Status: ✅ LOCKED (FOUNDATION_LOCKED)
|
|
1952
|
+
*
|
|
1953
|
+
* ALLOWED CHANGES (Minimal, approval required):
|
|
1954
|
+
* - Critical bug fixes only (with explicit approval)
|
|
1955
|
+
* - Typing improvements (TypeScript only, no runtime changes)
|
|
1956
|
+
* - Token wiring improvements (connecting existing tokens, no new tokens)
|
|
1957
|
+
* - Stories/tests fixes (test updates only, no component changes)
|
|
1958
|
+
* - Documentation updates (comments, docs only)
|
|
1959
|
+
* - Code comments explaining intentional design decisions
|
|
1960
|
+
*
|
|
1961
|
+
* FORBIDDEN CHANGES (Strictly prohibited):
|
|
1962
|
+
* - ❌ New foundation components or subcomponents
|
|
1963
|
+
* - ❌ Duplicate component implementations
|
|
1964
|
+
* - ❌ Custom behavior that Radix ContextMenu should handle
|
|
1965
|
+
* - ❌ String/number visual props (must use tokens only)
|
|
1966
|
+
* - ❌ Re-implementing focus/keyboard/aria/portal logic
|
|
1967
|
+
* - ❌ Breaking API changes
|
|
1968
|
+
* - ❌ Behavioral rewrites or custom logic additions
|
|
1969
|
+
* - ❌ Token system modifications (additions/removals)
|
|
1970
|
+
* - ❌ Style modifications beyond token wiring
|
|
1971
|
+
* - ❌ New props that change component behavior
|
|
1972
|
+
*
|
|
1973
|
+
* **If you believe changes are necessary, review TUI_ARCHITECTURE_LOCK.md first.**
|
|
1974
|
+
*
|
|
1975
|
+
* ============================================================================
|
|
1976
|
+
*
|
|
1977
|
+
* ContextMenu Component
|
|
1978
|
+
*
|
|
1979
|
+
* Radix-based context menu component with token-driven styling.
|
|
1980
|
+
* All behavior (pointer, keyboard, focus, ARIA, positioning, collision handling)
|
|
1981
|
+
* is handled by Radix ContextMenu. Tenerife UI provides visual styling through
|
|
1982
|
+
* tokens only. This is a strict wrapper pattern - no custom behavior logic.
|
|
1914
1983
|
*/
|
|
1915
1984
|
|
|
1916
|
-
|
|
1917
|
-
|
|
1985
|
+
type ContextMenuRootProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Root>;
|
|
1986
|
+
/**
|
|
1987
|
+
* ContextMenu Root component
|
|
1988
|
+
* Radix Root is a context provider, not a DOM element, so it doesn't accept refs
|
|
1989
|
+
*/
|
|
1990
|
+
declare const ContextMenuRoot: React$1.FC<ContextMenuRootProps>;
|
|
1991
|
+
interface ContextMenuTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Trigger>, "children"> {
|
|
1992
|
+
children?: React$1.ReactNode;
|
|
1993
|
+
}
|
|
1994
|
+
/**
|
|
1995
|
+
* ContextMenu Trigger component
|
|
1996
|
+
* Radix handles right-click behavior automatically
|
|
1997
|
+
*/
|
|
1998
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1999
|
+
interface ContextMenuContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>, "size" | "width" | "padding" | "radius" | "surface"> {
|
|
2000
|
+
/**
|
|
2001
|
+
* Size variant - token-based
|
|
2002
|
+
*/
|
|
2003
|
+
size?: ResponsiveContextMenuSize;
|
|
2004
|
+
/**
|
|
2005
|
+
* Width - token-based
|
|
2006
|
+
*/
|
|
2007
|
+
width?: ResponsiveContextMenuWidth;
|
|
2008
|
+
/**
|
|
2009
|
+
* Padding - token-based
|
|
2010
|
+
*/
|
|
2011
|
+
padding?: ResponsiveSpace;
|
|
2012
|
+
/**
|
|
2013
|
+
* Radius - token-based
|
|
2014
|
+
*/
|
|
2015
|
+
radius?: RadiusToken;
|
|
2016
|
+
/**
|
|
2017
|
+
* Surface variant - token-based
|
|
2018
|
+
*/
|
|
2019
|
+
surface?: SurfaceToken;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* ContextMenu Content component
|
|
2023
|
+
* Wrapper around Radix ContextMenu Content with token-based styling.
|
|
2024
|
+
*/
|
|
2025
|
+
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2026
|
+
interface ContextMenuItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item>, "children"> {
|
|
2027
|
+
children?: React$1.ReactNode;
|
|
2028
|
+
/**
|
|
2029
|
+
* Size variant - token-based
|
|
2030
|
+
*
|
|
2031
|
+
* @default Inherited from ContextMenuContent
|
|
2032
|
+
* @note If not specified, the size is automatically inherited from the parent
|
|
2033
|
+
* ContextMenuContent. You can override this by providing an explicit size prop.
|
|
2034
|
+
* This allows you to set size once on Content and have all Items inherit it.
|
|
2035
|
+
*/
|
|
2036
|
+
size?: ResponsiveContextMenuSize;
|
|
2037
|
+
/**
|
|
2038
|
+
* Tone variant - token-based
|
|
2039
|
+
*/
|
|
2040
|
+
tone?: ContextMenuItemToneToken;
|
|
2041
|
+
/**
|
|
2042
|
+
* Gap between item content - token-based
|
|
2043
|
+
*/
|
|
2044
|
+
gap?: ResponsiveSpace;
|
|
2045
|
+
/**
|
|
2046
|
+
* Inset padding for item
|
|
2047
|
+
*/
|
|
2048
|
+
inset?: boolean;
|
|
2049
|
+
}
|
|
2050
|
+
/**
|
|
2051
|
+
* ContextMenu Item component
|
|
2052
|
+
* Wrapper around Radix ContextMenu Item with token-based styling.
|
|
2053
|
+
*/
|
|
2054
|
+
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2055
|
+
interface ContextMenuCheckboxItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>, "children"> {
|
|
2056
|
+
children?: React$1.ReactNode;
|
|
2057
|
+
/**
|
|
2058
|
+
* Size variant - token-based
|
|
2059
|
+
*/
|
|
2060
|
+
size?: ResponsiveContextMenuSize;
|
|
2061
|
+
/**
|
|
2062
|
+
* Tone variant - token-based
|
|
2063
|
+
*/
|
|
2064
|
+
tone?: ContextMenuItemToneToken;
|
|
2065
|
+
/**
|
|
2066
|
+
* Gap between item content - token-based
|
|
2067
|
+
*/
|
|
2068
|
+
gap?: ResponsiveSpace;
|
|
2069
|
+
}
|
|
2070
|
+
/**
|
|
2071
|
+
* ContextMenu CheckboxItem component
|
|
2072
|
+
* Wrapper around Radix ContextMenu CheckboxItem with token-based styling.
|
|
2073
|
+
*/
|
|
2074
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2075
|
+
interface ContextMenuRadioGroupProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioGroup>, "children"> {
|
|
2076
|
+
children?: React$1.ReactNode;
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* ContextMenu RadioGroup component
|
|
2080
|
+
* Wrapper around Radix ContextMenu RadioGroup.
|
|
2081
|
+
*/
|
|
2082
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2083
|
+
interface ContextMenuRadioItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>, "children"> {
|
|
2084
|
+
children?: React$1.ReactNode;
|
|
2085
|
+
/**
|
|
2086
|
+
* Size variant - token-based
|
|
2087
|
+
*/
|
|
2088
|
+
size?: ResponsiveContextMenuSize;
|
|
2089
|
+
/**
|
|
2090
|
+
* Tone variant - token-based
|
|
2091
|
+
*/
|
|
2092
|
+
tone?: ContextMenuItemToneToken;
|
|
2093
|
+
/**
|
|
2094
|
+
* Gap between item content - token-based
|
|
2095
|
+
*/
|
|
2096
|
+
gap?: ResponsiveSpace;
|
|
2097
|
+
}
|
|
2098
|
+
/**
|
|
2099
|
+
* ContextMenu RadioItem component
|
|
2100
|
+
* Wrapper around Radix ContextMenu RadioItem with token-based styling.
|
|
2101
|
+
*/
|
|
2102
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2103
|
+
interface ContextMenuSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator> {
|
|
2104
|
+
className?: string;
|
|
2105
|
+
}
|
|
2106
|
+
/**
|
|
2107
|
+
* ContextMenu Separator component
|
|
2108
|
+
* Wrapper around Radix ContextMenu Separator with token-based styling.
|
|
2109
|
+
*/
|
|
2110
|
+
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2111
|
+
interface ContextMenuLabelProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label>, "children"> {
|
|
2112
|
+
children?: React$1.ReactNode;
|
|
2113
|
+
/**
|
|
2114
|
+
* Padding - token-based
|
|
2115
|
+
*/
|
|
2116
|
+
padding?: ResponsiveSpace;
|
|
2117
|
+
}
|
|
2118
|
+
/**
|
|
2119
|
+
* ContextMenu Label component
|
|
2120
|
+
* Wrapper around Radix ContextMenu Label with token-based styling.
|
|
2121
|
+
*/
|
|
2122
|
+
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2123
|
+
interface ContextMenuSubProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Sub> {
|
|
2124
|
+
children?: React$1.ReactNode;
|
|
2125
|
+
}
|
|
2126
|
+
/**
|
|
2127
|
+
* ContextMenu Sub component
|
|
2128
|
+
* Wrapper around Radix ContextMenu Sub.
|
|
2129
|
+
*/
|
|
2130
|
+
declare const ContextMenuSub: React$1.FC<ContextMenuSubProps>;
|
|
2131
|
+
interface ContextMenuSubTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger>, "children"> {
|
|
2132
|
+
children?: React$1.ReactNode;
|
|
2133
|
+
/**
|
|
2134
|
+
* Size variant - token-based
|
|
2135
|
+
*/
|
|
2136
|
+
size?: ResponsiveContextMenuSize;
|
|
2137
|
+
/**
|
|
2138
|
+
* Tone variant - token-based
|
|
2139
|
+
*/
|
|
2140
|
+
tone?: ContextMenuItemToneToken;
|
|
2141
|
+
/**
|
|
2142
|
+
* Gap between item content - token-based
|
|
2143
|
+
*/
|
|
2144
|
+
gap?: ResponsiveSpace;
|
|
2145
|
+
}
|
|
2146
|
+
/**
|
|
2147
|
+
* ContextMenu SubTrigger component
|
|
2148
|
+
* Wrapper around Radix ContextMenu SubTrigger with token-based styling.
|
|
2149
|
+
*/
|
|
2150
|
+
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2151
|
+
interface ContextMenuSubContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>, "size" | "width" | "padding" | "radius" | "surface"> {
|
|
2152
|
+
/**
|
|
2153
|
+
* Size variant - token-based
|
|
2154
|
+
*/
|
|
2155
|
+
size?: ResponsiveContextMenuSize;
|
|
2156
|
+
/**
|
|
2157
|
+
* Width - token-based
|
|
2158
|
+
*/
|
|
2159
|
+
width?: ResponsiveContextMenuWidth;
|
|
2160
|
+
/**
|
|
2161
|
+
* Padding - token-based
|
|
2162
|
+
*/
|
|
2163
|
+
padding?: ResponsiveSpace;
|
|
2164
|
+
/**
|
|
2165
|
+
* Radius - token-based
|
|
2166
|
+
*/
|
|
2167
|
+
radius?: RadiusToken;
|
|
2168
|
+
/**
|
|
2169
|
+
* Surface variant - token-based
|
|
2170
|
+
*/
|
|
2171
|
+
surface?: SurfaceToken;
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* ContextMenu SubContent component
|
|
2175
|
+
* Wrapper around Radix ContextMenu SubContent with token-based styling.
|
|
2176
|
+
*/
|
|
2177
|
+
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* ContextMenu Component
|
|
2181
|
+
*
|
|
2182
|
+
* Radix ContextMenu-based component with token-driven styling.
|
|
2183
|
+
*
|
|
2184
|
+
* **Usage:**
|
|
2185
|
+
* ```tsx
|
|
2186
|
+
* <ContextMenu.Root>
|
|
2187
|
+
* <ContextMenu.Trigger>Right-click me</ContextMenu.Trigger>
|
|
2188
|
+
* <ContextMenu.Content>
|
|
2189
|
+
* <ContextMenu.Item>Item 1</ContextMenu.Item>
|
|
2190
|
+
* <ContextMenu.Item>Item 2</ContextMenu.Item>
|
|
2191
|
+
* <ContextMenu.Separator />
|
|
2192
|
+
* <ContextMenu.Sub>
|
|
2193
|
+
* <ContextMenu.SubTrigger>Submenu</ContextMenu.SubTrigger>
|
|
2194
|
+
* <ContextMenu.SubContent>
|
|
2195
|
+
* <ContextMenu.Item>Sub Item 1</ContextMenu.Item>
|
|
2196
|
+
* </ContextMenu.SubContent>
|
|
2197
|
+
* </ContextMenu.Sub>
|
|
2198
|
+
* </ContextMenu.Content>
|
|
2199
|
+
* </ContextMenu.Root>
|
|
2200
|
+
* ```
|
|
2201
|
+
*/
|
|
2202
|
+
declare const ContextMenu: {
|
|
2203
|
+
Root: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
2204
|
+
Trigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2205
|
+
Content: React$1.ForwardRefExoticComponent<ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2206
|
+
Item: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2207
|
+
CheckboxItem: React$1.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2208
|
+
RadioGroup: React$1.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2209
|
+
RadioItem: React$1.ForwardRefExoticComponent<ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2210
|
+
Separator: React$1.ForwardRefExoticComponent<ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2211
|
+
Label: React$1.ForwardRefExoticComponent<ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2212
|
+
Sub: React$1.FC<ContextMenuSubProps>;
|
|
2213
|
+
SubTrigger: React$1.ForwardRefExoticComponent<ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2214
|
+
SubContent: React$1.ForwardRefExoticComponent<ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2215
|
+
};
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* NotificationCenter.DismissAll Component
|
|
2219
|
+
*
|
|
2220
|
+
* Button component to clear all notifications.
|
|
2221
|
+
* Located in Panel header.
|
|
2222
|
+
*/
|
|
2223
|
+
|
|
2224
|
+
interface NotificationCenterDismissAllProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2225
|
+
/**
|
|
1918
2226
|
* Show confirmation before clearing
|
|
1919
2227
|
*/
|
|
1920
2228
|
confirm?: boolean;
|
|
@@ -2229,50 +2537,45 @@ declare const NotificationCenter: {
|
|
|
2229
2537
|
DismissAll: React$1.ForwardRefExoticComponent<NotificationCenterDismissAllProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2230
2538
|
};
|
|
2231
2539
|
|
|
2540
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref">, "sideOffset" | "alignOffset"> & VariantProps$1<(props?: ({
|
|
2541
|
+
variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "link" | "ghost" | null | undefined;
|
|
2542
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
2543
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
2544
|
+
sideOffset?: ResponsiveSideOffset;
|
|
2545
|
+
alignOffset?: ResponsiveAlignOffset;
|
|
2546
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
2547
|
+
|
|
2232
2548
|
/**
|
|
2233
|
-
*
|
|
2549
|
+
* HoverCard Content Component
|
|
2234
2550
|
*
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2551
|
+
* Content container for HoverCard.
|
|
2552
|
+
* Wraps PopoverContent with hover-specific behavior.
|
|
2237
2553
|
*/
|
|
2238
2554
|
|
|
2239
|
-
interface
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
*/
|
|
2243
|
-
size?: "sm" | "md";
|
|
2555
|
+
interface HoverCardContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof PopoverContent>, "onMouseEnter" | "onMouseLeave"> {
|
|
2556
|
+
onMouseEnter?: React$1.MouseEventHandler<HTMLDivElement>;
|
|
2557
|
+
onMouseLeave?: React$1.MouseEventHandler<HTMLDivElement>;
|
|
2244
2558
|
}
|
|
2245
2559
|
/**
|
|
2246
|
-
*
|
|
2560
|
+
* HoverCard Content component
|
|
2247
2561
|
*/
|
|
2248
|
-
declare const
|
|
2562
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2249
2563
|
|
|
2250
|
-
|
|
2251
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
2252
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2253
|
-
interface PopoverContentProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onAnimationEnd">, VariantProps$1<typeof popoverContentVariants> {
|
|
2564
|
+
interface HoverCardRootProps {
|
|
2254
2565
|
/**
|
|
2255
|
-
*
|
|
2566
|
+
* Delay before opening - token-based
|
|
2567
|
+
* Uses motion duration tokens
|
|
2568
|
+
* @default 0
|
|
2256
2569
|
*/
|
|
2257
|
-
|
|
2258
|
-
/**
|
|
2259
|
-
* Offset between trigger and content - token-based
|
|
2260
|
-
* Uses spacing tokens for positioning offsets
|
|
2261
|
-
*/
|
|
2262
|
-
offset?: ResponsiveAlignOffset;
|
|
2570
|
+
openDelay?: ResponsiveDelay;
|
|
2263
2571
|
/**
|
|
2264
|
-
*
|
|
2572
|
+
* Delay before closing - token-based
|
|
2573
|
+
* Uses motion duration tokens
|
|
2574
|
+
* @default 300
|
|
2265
2575
|
*/
|
|
2266
|
-
|
|
2267
|
-
}
|
|
2268
|
-
/**
|
|
2269
|
-
* Popover Content component
|
|
2270
|
-
*/
|
|
2271
|
-
declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2272
|
-
|
|
2273
|
-
interface PopoverRootProps {
|
|
2576
|
+
closeDelay?: ResponsiveDelay;
|
|
2274
2577
|
/**
|
|
2275
|
-
* Whether the
|
|
2578
|
+
* Whether the hover card is open (controlled mode)
|
|
2276
2579
|
*/
|
|
2277
2580
|
open?: boolean;
|
|
2278
2581
|
/**
|
|
@@ -2284,7 +2587,7 @@ interface PopoverRootProps {
|
|
|
2284
2587
|
*/
|
|
2285
2588
|
defaultOpen?: boolean;
|
|
2286
2589
|
/**
|
|
2287
|
-
* Whether the
|
|
2590
|
+
* Whether the hover card is modal (blocks interaction with other elements)
|
|
2288
2591
|
*/
|
|
2289
2592
|
modal?: boolean;
|
|
2290
2593
|
/**
|
|
@@ -2293,1537 +2596,980 @@ interface PopoverRootProps {
|
|
|
2293
2596
|
children: React$1.ReactNode;
|
|
2294
2597
|
}
|
|
2295
2598
|
/**
|
|
2296
|
-
*
|
|
2599
|
+
* HoverCard Root component
|
|
2297
2600
|
*/
|
|
2298
|
-
declare function
|
|
2299
|
-
declare namespace
|
|
2601
|
+
declare function HoverCardRoot({ openDelay, closeDelay, defaultOpen, open: controlledOpen, onOpenChange: controlledOnOpenChange, modal, ...props }: HoverCardRootProps): react_jsx_runtime.JSX.Element;
|
|
2602
|
+
declare namespace HoverCardRoot {
|
|
2300
2603
|
var displayName: string;
|
|
2301
2604
|
}
|
|
2302
2605
|
|
|
2303
2606
|
/**
|
|
2304
|
-
*
|
|
2607
|
+
* HoverCard Trigger Component
|
|
2305
2608
|
*
|
|
2306
|
-
* Trigger element that opens
|
|
2307
|
-
* Supports asChild pattern for composition.
|
|
2609
|
+
* Trigger element that opens HoverCard on hover/focus.
|
|
2308
2610
|
*/
|
|
2309
2611
|
|
|
2310
|
-
interface
|
|
2612
|
+
interface HoverCardTriggerProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
2311
2613
|
/**
|
|
2312
2614
|
* Render as child element (composition pattern)
|
|
2313
2615
|
*/
|
|
2314
2616
|
asChild?: boolean;
|
|
2315
2617
|
}
|
|
2316
2618
|
/**
|
|
2317
|
-
*
|
|
2619
|
+
* HoverCard Trigger component
|
|
2318
2620
|
*/
|
|
2319
|
-
declare const
|
|
2621
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardTriggerProps & React$1.RefAttributes<HTMLElement>>;
|
|
2320
2622
|
|
|
2321
2623
|
/**
|
|
2322
|
-
*
|
|
2624
|
+
* DataList Root Component
|
|
2323
2625
|
*
|
|
2324
|
-
*
|
|
2325
|
-
* Uses
|
|
2626
|
+
* Mobile-first data list component for displaying key-value pairs.
|
|
2627
|
+
* Uses Stack for vertical layout and DATA_LIST_TOKENS for spacing.
|
|
2326
2628
|
*/
|
|
2327
2629
|
|
|
2328
|
-
interface
|
|
2329
|
-
/**
|
|
2330
|
-
* Whether the item is disabled
|
|
2331
|
-
*/
|
|
2332
|
-
disabled?: boolean;
|
|
2333
|
-
/**
|
|
2334
|
-
* Whether the item is selected
|
|
2335
|
-
*/
|
|
2336
|
-
selected?: boolean;
|
|
2337
|
-
/**
|
|
2338
|
-
* Callback when item is selected
|
|
2339
|
-
* Receives native Event (not SyntheticEvent)
|
|
2340
|
-
*/
|
|
2341
|
-
onSelect?: (event: Event) => void;
|
|
2630
|
+
interface DataListRootProps extends React$1.HTMLAttributes<HTMLDListElement> {
|
|
2342
2631
|
/**
|
|
2343
|
-
*
|
|
2632
|
+
* Label width for desktop layout
|
|
2633
|
+
* @default "md"
|
|
2344
2634
|
*/
|
|
2345
|
-
|
|
2635
|
+
labelWidth?: "sm" | "md" | "lg";
|
|
2346
2636
|
}
|
|
2347
2637
|
/**
|
|
2348
|
-
*
|
|
2638
|
+
* DataList Root component
|
|
2639
|
+
*
|
|
2640
|
+
* @example
|
|
2641
|
+
* ```tsx
|
|
2642
|
+
* <DataList.Root>
|
|
2643
|
+
* <DataList.Item>
|
|
2644
|
+
* <DataList.Label>Name</DataList.Label>
|
|
2645
|
+
* <DataList.Value>John Doe</DataList.Value>
|
|
2646
|
+
* </DataList.Item>
|
|
2647
|
+
* </DataList.Root>
|
|
2648
|
+
* ```
|
|
2349
2649
|
*/
|
|
2350
|
-
declare const
|
|
2650
|
+
declare const DataListRoot: React$1.ForwardRefExoticComponent<DataListRootProps & React$1.RefAttributes<HTMLDListElement>>;
|
|
2351
2651
|
|
|
2352
2652
|
/**
|
|
2353
|
-
*
|
|
2653
|
+
* Tabs Component
|
|
2354
2654
|
*
|
|
2355
|
-
*
|
|
2356
|
-
*
|
|
2655
|
+
* Radix-based tabs component with token-driven styling.
|
|
2656
|
+
* All behavior (keyboard navigation, focus management, a11y) is handled by Radix.
|
|
2657
|
+
* Tenerife UI provides visual styling through tokens only.
|
|
2357
2658
|
*/
|
|
2358
2659
|
|
|
2359
|
-
interface
|
|
2660
|
+
interface TabsRootProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
2661
|
+
}
|
|
2662
|
+
interface TabsListProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, "size" | "variant"> {
|
|
2360
2663
|
/**
|
|
2361
|
-
*
|
|
2664
|
+
* Size variant - token-based
|
|
2362
2665
|
*/
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
declare const DropdownMenuCheckItem: React$1.ForwardRefExoticComponent<DropdownMenuCheckItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2369
|
-
|
|
2370
|
-
/**
|
|
2371
|
-
* DropdownMenu Content Component
|
|
2372
|
-
*
|
|
2373
|
-
* Content container for dropdown menu.
|
|
2374
|
-
* Wraps PopoverContent with menu-specific styling and role.
|
|
2375
|
-
* Handles keyboard navigation (Arrow keys, Home/End, Escape).
|
|
2376
|
-
*/
|
|
2377
|
-
|
|
2378
|
-
interface DropdownMenuContentProps extends PopoverContentProps {
|
|
2666
|
+
size?: ResponsiveTabsSize;
|
|
2667
|
+
/**
|
|
2668
|
+
* Visual variant - token-based
|
|
2669
|
+
*/
|
|
2670
|
+
variant?: TabsVariantToken;
|
|
2379
2671
|
}
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
/**
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2672
|
+
interface TabsTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, "size" | "variant" | "tone"> {
|
|
2673
|
+
/**
|
|
2674
|
+
* Size variant - token-based (inherited from context if not provided)
|
|
2675
|
+
*/
|
|
2676
|
+
size?: ResponsiveTabsSize;
|
|
2677
|
+
/**
|
|
2678
|
+
* Visual variant - token-based (inherited from context if not provided)
|
|
2679
|
+
*/
|
|
2680
|
+
variant?: TabsVariantToken;
|
|
2681
|
+
/**
|
|
2682
|
+
* Tone - token-based (inherited from context if not provided)
|
|
2683
|
+
*/
|
|
2684
|
+
tone?: TabsToneToken;
|
|
2685
|
+
/**
|
|
2686
|
+
* Leading icon - semantic prop
|
|
2687
|
+
*/
|
|
2688
|
+
leadingIcon?: React$1.ReactNode;
|
|
2689
|
+
/**
|
|
2690
|
+
* Trailing icon - semantic prop
|
|
2691
|
+
*/
|
|
2692
|
+
trailingIcon?: React$1.ReactNode;
|
|
2693
|
+
/**
|
|
2694
|
+
* Icon - semantic prop (for backward compatibility, maps to leadingIcon)
|
|
2695
|
+
*/
|
|
2696
|
+
icon?: React$1.ReactNode;
|
|
2392
2697
|
}
|
|
2393
|
-
|
|
2394
|
-
* DropdownMenu Group component
|
|
2395
|
-
*/
|
|
2396
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2397
|
-
|
|
2398
|
-
/**
|
|
2399
|
-
* DropdownMenu Label Component
|
|
2400
|
-
*
|
|
2401
|
-
* Label/section header for menu items.
|
|
2402
|
-
* Uses MENU_TOKENS for styling.
|
|
2403
|
-
*/
|
|
2404
|
-
|
|
2405
|
-
interface DropdownMenuLabelProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2698
|
+
interface TabsContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, "size"> {
|
|
2406
2699
|
/**
|
|
2407
|
-
*
|
|
2700
|
+
* Size variant - token-based (for padding)
|
|
2408
2701
|
*/
|
|
2409
|
-
|
|
2702
|
+
size?: ResponsiveTabsSize;
|
|
2410
2703
|
}
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
* DropdownMenu RadioGroup Component
|
|
2418
|
-
*
|
|
2419
|
-
* Radio group container for radio menu items.
|
|
2420
|
-
*/
|
|
2704
|
+
declare const Tabs: {
|
|
2705
|
+
Root: React$1.FC<TabsRootProps>;
|
|
2706
|
+
List: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2707
|
+
Trigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2708
|
+
Content: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2709
|
+
};
|
|
2421
2710
|
|
|
2422
|
-
|
|
2711
|
+
declare const segmentedControlRootVariants: (props?: ({
|
|
2712
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
2713
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2714
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2715
|
+
declare const segmentedControlItemVariants: (props?: ({
|
|
2716
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2717
|
+
state?: "default" | "selected" | null | undefined;
|
|
2718
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2719
|
+
interface SegmentedControlRootProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "role">, VariantProps$1<typeof segmentedControlRootVariants> {
|
|
2423
2720
|
/**
|
|
2424
|
-
*
|
|
2721
|
+
* Controlled value
|
|
2425
2722
|
*/
|
|
2426
2723
|
value?: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* Default value for uncontrolled usage
|
|
2726
|
+
*/
|
|
2727
|
+
defaultValue?: string;
|
|
2427
2728
|
/**
|
|
2428
2729
|
* Callback when value changes
|
|
2429
2730
|
*/
|
|
2430
2731
|
onValueChange?: (value: string) => void;
|
|
2732
|
+
/**
|
|
2733
|
+
* Name for the radio group
|
|
2734
|
+
*/
|
|
2735
|
+
name?: string;
|
|
2431
2736
|
}
|
|
2432
|
-
|
|
2433
|
-
* DropdownMenu RadioGroup component
|
|
2434
|
-
*/
|
|
2435
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2436
|
-
|
|
2437
|
-
/**
|
|
2438
|
-
* DropdownMenu RadioItem Component
|
|
2439
|
-
*
|
|
2440
|
-
* Menu item with radio indicator.
|
|
2441
|
-
* Uses MENU_TOKENS for styling.
|
|
2442
|
-
*/
|
|
2443
|
-
|
|
2444
|
-
interface DropdownMenuRadioItemProps extends Omit<DropdownMenuItemProps, "selected"> {
|
|
2737
|
+
interface SegmentedControlItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "role">, VariantProps$1<typeof segmentedControlItemVariants> {
|
|
2445
2738
|
/**
|
|
2446
|
-
*
|
|
2739
|
+
* Value of this item
|
|
2447
2740
|
*/
|
|
2448
2741
|
value: string;
|
|
2742
|
+
/**
|
|
2743
|
+
* Whether this item is disabled
|
|
2744
|
+
*/
|
|
2745
|
+
disabled?: boolean;
|
|
2449
2746
|
}
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
interface DropdownMenuRootProps extends PopoverRootProps {
|
|
2456
|
-
}
|
|
2457
|
-
/**
|
|
2458
|
-
* DropdownMenu Root component
|
|
2459
|
-
*/
|
|
2460
|
-
declare function DropdownMenuRoot(props: DropdownMenuRootProps): react_jsx_runtime.JSX.Element;
|
|
2461
|
-
declare namespace DropdownMenuRoot {
|
|
2462
|
-
var displayName: string;
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
/**
|
|
2466
|
-
* DropdownMenu Separator Component
|
|
2467
|
-
*
|
|
2468
|
-
* Visual separator between menu items.
|
|
2469
|
-
* Uses MENU_TOKENS for styling.
|
|
2470
|
-
*/
|
|
2471
|
-
|
|
2472
|
-
interface DropdownMenuSeparatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2473
|
-
}
|
|
2474
|
-
/**
|
|
2475
|
-
* DropdownMenu Separator component
|
|
2476
|
-
*/
|
|
2477
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2478
|
-
|
|
2479
|
-
interface DropdownMenuSubProps extends PopoverRootProps {
|
|
2480
|
-
}
|
|
2481
|
-
/**
|
|
2482
|
-
* DropdownMenu Sub component
|
|
2483
|
-
*/
|
|
2484
|
-
declare function DropdownMenuSub(props: DropdownMenuSubProps): react_jsx_runtime.JSX.Element;
|
|
2485
|
-
declare namespace DropdownMenuSub {
|
|
2486
|
-
var displayName: string;
|
|
2487
|
-
}
|
|
2488
|
-
|
|
2489
|
-
/**
|
|
2490
|
-
* DropdownMenu SubContent Component
|
|
2491
|
-
*
|
|
2492
|
-
* Content container for submenu.
|
|
2493
|
-
*/
|
|
2494
|
-
|
|
2495
|
-
interface DropdownMenuSubContentProps extends DropdownMenuContentProps {
|
|
2496
|
-
}
|
|
2497
|
-
/**
|
|
2498
|
-
* DropdownMenu SubContent component
|
|
2499
|
-
*/
|
|
2500
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2501
|
-
|
|
2502
|
-
/**
|
|
2503
|
-
* DropdownMenu SubTrigger Component
|
|
2504
|
-
*
|
|
2505
|
-
* Trigger for submenu items.
|
|
2506
|
-
*/
|
|
2507
|
-
|
|
2508
|
-
interface DropdownMenuSubTriggerProps extends DropdownMenuItemProps {
|
|
2509
|
-
}
|
|
2510
|
-
/**
|
|
2511
|
-
* DropdownMenu SubTrigger component
|
|
2512
|
-
*/
|
|
2513
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2514
|
-
|
|
2515
|
-
/**
|
|
2516
|
-
* DropdownMenu Trigger Component
|
|
2517
|
-
*
|
|
2518
|
-
* Trigger element for dropdown menu.
|
|
2519
|
-
* Wraps PopoverTrigger with menu-specific ARIA attributes.
|
|
2520
|
-
*/
|
|
2747
|
+
declare const SegmentedControl: React$1.ForwardRefExoticComponent<SegmentedControlRootProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
2748
|
+
Root: React$1.ForwardRefExoticComponent<SegmentedControlRootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2749
|
+
Item: React$1.ForwardRefExoticComponent<SegmentedControlItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2750
|
+
};
|
|
2521
2751
|
|
|
2522
|
-
interface
|
|
2752
|
+
interface BreadcrumbItem {
|
|
2753
|
+
/**
|
|
2754
|
+
* Label text for the breadcrumb item
|
|
2755
|
+
*/
|
|
2756
|
+
label: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* Optional href for clickable items
|
|
2759
|
+
*/
|
|
2760
|
+
href?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* Whether this item is disabled
|
|
2763
|
+
*/
|
|
2764
|
+
disabled?: boolean;
|
|
2523
2765
|
}
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
/**
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2766
|
+
interface BreadcrumbsRootProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
2767
|
+
/**
|
|
2768
|
+
* Array of breadcrumb items
|
|
2769
|
+
*/
|
|
2770
|
+
items: BreadcrumbItem[];
|
|
2771
|
+
/**
|
|
2772
|
+
* Custom separator component or string
|
|
2773
|
+
* @default ChevronRight icon
|
|
2774
|
+
*/
|
|
2775
|
+
separator?: React$1.ReactNode;
|
|
2776
|
+
/**
|
|
2777
|
+
* ARIA label for the navigation element
|
|
2778
|
+
* @default "Breadcrumb"
|
|
2779
|
+
*/
|
|
2780
|
+
ariaLabel?: string;
|
|
2537
2781
|
}
|
|
2538
|
-
|
|
2539
|
-
* HoverCard Content component
|
|
2540
|
-
*/
|
|
2541
|
-
declare const HoverCardContent: React$1.ForwardRefExoticComponent<HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2542
|
-
|
|
2543
|
-
interface HoverCardRootProps extends Omit<PopoverRootProps, "open" | "onOpenChange"> {
|
|
2782
|
+
interface BreadcrumbsItemProps extends React$1.HTMLAttributes<HTMLLIElement> {
|
|
2544
2783
|
/**
|
|
2545
|
-
*
|
|
2546
|
-
* Uses motion duration tokens
|
|
2547
|
-
* @default 0
|
|
2784
|
+
* Whether this is the last item (current page)
|
|
2548
2785
|
*/
|
|
2549
|
-
|
|
2786
|
+
isLast?: boolean;
|
|
2550
2787
|
/**
|
|
2551
|
-
*
|
|
2552
|
-
* Uses motion duration tokens
|
|
2553
|
-
* @default 300
|
|
2788
|
+
* Whether this item is disabled
|
|
2554
2789
|
*/
|
|
2555
|
-
|
|
2790
|
+
disabled?: boolean;
|
|
2556
2791
|
}
|
|
2557
|
-
|
|
2558
|
-
* HoverCard Root component
|
|
2559
|
-
*/
|
|
2560
|
-
declare function HoverCardRoot({ openDelay, closeDelay, defaultOpen, ...props }: HoverCardRootProps): react_jsx_runtime.JSX.Element;
|
|
2561
|
-
declare namespace HoverCardRoot {
|
|
2562
|
-
var displayName: string;
|
|
2563
|
-
}
|
|
2564
|
-
|
|
2565
|
-
/**
|
|
2566
|
-
* HoverCard Trigger Component
|
|
2567
|
-
*
|
|
2568
|
-
* Trigger element that opens HoverCard on hover/focus.
|
|
2569
|
-
*/
|
|
2570
|
-
|
|
2571
|
-
interface HoverCardTriggerProps extends PopoverTriggerProps {
|
|
2572
|
-
}
|
|
2573
|
-
/**
|
|
2574
|
-
* HoverCard Trigger component
|
|
2575
|
-
*/
|
|
2576
|
-
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardTriggerProps & React$1.RefAttributes<HTMLElement>>;
|
|
2577
|
-
|
|
2578
|
-
/**
|
|
2579
|
-
* ============================================================================
|
|
2580
|
-
* 🔒 FOUNDATION LOCK - ContextMenu Component
|
|
2581
|
-
* ============================================================================
|
|
2582
|
-
*
|
|
2583
|
-
* This component is LOCKED as part of the UI Foundation Layer.
|
|
2584
|
-
*
|
|
2585
|
-
* **ARCHITECTURE LOCK DOCUMENTATION:**
|
|
2586
|
-
* See: docs/architecture/TUI_ARCHITECTURE_LOCK.md
|
|
2587
|
-
*
|
|
2588
|
-
* This component must not be modified except for critical bug fixes.
|
|
2589
|
-
* All architectural decisions are final. Museum-grade quality achieved.
|
|
2590
|
-
*
|
|
2591
|
-
* LOCKED STATUS:
|
|
2592
|
-
* - Component: ContextMenu (Radix ContextMenu wrapper)
|
|
2593
|
-
* - Category: Menus (Foundation Layer)
|
|
2594
|
-
* - Lock Date: 2025-12-12
|
|
2595
|
-
* - Status: ✅ LOCKED (FOUNDATION_LOCKED)
|
|
2596
|
-
*
|
|
2597
|
-
* ALLOWED CHANGES (Minimal, approval required):
|
|
2598
|
-
* - Critical bug fixes only (with explicit approval)
|
|
2599
|
-
* - Typing improvements (TypeScript only, no runtime changes)
|
|
2600
|
-
* - Token wiring improvements (connecting existing tokens, no new tokens)
|
|
2601
|
-
* - Stories/tests fixes (test updates only, no component changes)
|
|
2602
|
-
* - Documentation updates (comments, docs only)
|
|
2603
|
-
* - Code comments explaining intentional design decisions
|
|
2604
|
-
*
|
|
2605
|
-
* FORBIDDEN CHANGES (Strictly prohibited):
|
|
2606
|
-
* - ❌ New foundation components or subcomponents
|
|
2607
|
-
* - ❌ Duplicate component implementations
|
|
2608
|
-
* - ❌ Custom behavior that Radix ContextMenu should handle
|
|
2609
|
-
* - ❌ String/number visual props (must use tokens only)
|
|
2610
|
-
* - ❌ Re-implementing focus/keyboard/aria/portal logic
|
|
2611
|
-
* - ❌ Breaking API changes
|
|
2612
|
-
* - ❌ Behavioral rewrites or custom logic additions
|
|
2613
|
-
* - ❌ Token system modifications (additions/removals)
|
|
2614
|
-
* - ❌ Style modifications beyond token wiring
|
|
2615
|
-
* - ❌ New props that change component behavior
|
|
2616
|
-
*
|
|
2617
|
-
* **If you believe changes are necessary, review TUI_ARCHITECTURE_LOCK.md first.**
|
|
2618
|
-
*
|
|
2619
|
-
* ============================================================================
|
|
2620
|
-
*
|
|
2621
|
-
* ContextMenu Component
|
|
2622
|
-
*
|
|
2623
|
-
* Radix-based context menu component with token-driven styling.
|
|
2624
|
-
* All behavior (pointer, keyboard, focus, ARIA, positioning, collision handling)
|
|
2625
|
-
* is handled by Radix ContextMenu. Tenerife UI provides visual styling through
|
|
2626
|
-
* tokens only. This is a strict wrapper pattern - no custom behavior logic.
|
|
2627
|
-
*/
|
|
2628
|
-
|
|
2629
|
-
type ContextMenuRootProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Root>;
|
|
2630
|
-
/**
|
|
2631
|
-
* ContextMenu Root component
|
|
2632
|
-
* Radix Root is a context provider, not a DOM element, so it doesn't accept refs
|
|
2633
|
-
*/
|
|
2634
|
-
declare const ContextMenuRoot: React$1.FC<ContextMenuRootProps>;
|
|
2635
|
-
interface ContextMenuTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Trigger>, "children"> {
|
|
2636
|
-
children?: React$1.ReactNode;
|
|
2637
|
-
}
|
|
2638
|
-
/**
|
|
2639
|
-
* ContextMenu Trigger component
|
|
2640
|
-
* Radix handles right-click behavior automatically
|
|
2641
|
-
*/
|
|
2642
|
-
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2643
|
-
interface ContextMenuContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>, "size" | "width" | "padding" | "radius" | "surface"> {
|
|
2644
|
-
/**
|
|
2645
|
-
* Size variant - token-based
|
|
2646
|
-
*/
|
|
2647
|
-
size?: ResponsiveContextMenuSize;
|
|
2648
|
-
/**
|
|
2649
|
-
* Width - token-based
|
|
2650
|
-
*/
|
|
2651
|
-
width?: ResponsiveContextMenuWidth;
|
|
2652
|
-
/**
|
|
2653
|
-
* Padding - token-based
|
|
2654
|
-
*/
|
|
2655
|
-
padding?: ResponsiveSpace;
|
|
2656
|
-
/**
|
|
2657
|
-
* Radius - token-based
|
|
2658
|
-
*/
|
|
2659
|
-
radius?: RadiusToken;
|
|
2660
|
-
/**
|
|
2661
|
-
* Surface variant - token-based
|
|
2662
|
-
*/
|
|
2663
|
-
surface?: SurfaceToken;
|
|
2664
|
-
}
|
|
2665
|
-
/**
|
|
2666
|
-
* ContextMenu Content component
|
|
2667
|
-
* Wrapper around Radix ContextMenu Content with token-based styling.
|
|
2668
|
-
*/
|
|
2669
|
-
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2670
|
-
interface ContextMenuItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item>, "children"> {
|
|
2671
|
-
children?: React$1.ReactNode;
|
|
2672
|
-
/**
|
|
2673
|
-
* Size variant - token-based
|
|
2674
|
-
*
|
|
2675
|
-
* @default Inherited from ContextMenuContent
|
|
2676
|
-
* @note If not specified, the size is automatically inherited from the parent
|
|
2677
|
-
* ContextMenuContent. You can override this by providing an explicit size prop.
|
|
2678
|
-
* This allows you to set size once on Content and have all Items inherit it.
|
|
2679
|
-
*/
|
|
2680
|
-
size?: ResponsiveContextMenuSize;
|
|
2681
|
-
/**
|
|
2682
|
-
* Tone variant - token-based
|
|
2683
|
-
*/
|
|
2684
|
-
tone?: ContextMenuItemToneToken;
|
|
2685
|
-
/**
|
|
2686
|
-
* Gap between item content - token-based
|
|
2687
|
-
*/
|
|
2688
|
-
gap?: ResponsiveSpace;
|
|
2689
|
-
/**
|
|
2690
|
-
* Inset padding for item
|
|
2691
|
-
*/
|
|
2692
|
-
inset?: boolean;
|
|
2693
|
-
}
|
|
2694
|
-
/**
|
|
2695
|
-
* ContextMenu Item component
|
|
2696
|
-
* Wrapper around Radix ContextMenu Item with token-based styling.
|
|
2697
|
-
*/
|
|
2698
|
-
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2699
|
-
interface ContextMenuCheckboxItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>, "children"> {
|
|
2700
|
-
children?: React$1.ReactNode;
|
|
2701
|
-
/**
|
|
2702
|
-
* Size variant - token-based
|
|
2703
|
-
*/
|
|
2704
|
-
size?: ResponsiveContextMenuSize;
|
|
2705
|
-
/**
|
|
2706
|
-
* Tone variant - token-based
|
|
2707
|
-
*/
|
|
2708
|
-
tone?: ContextMenuItemToneToken;
|
|
2709
|
-
/**
|
|
2710
|
-
* Gap between item content - token-based
|
|
2711
|
-
*/
|
|
2712
|
-
gap?: ResponsiveSpace;
|
|
2713
|
-
}
|
|
2714
|
-
/**
|
|
2715
|
-
* ContextMenu CheckboxItem component
|
|
2716
|
-
* Wrapper around Radix ContextMenu CheckboxItem with token-based styling.
|
|
2717
|
-
*/
|
|
2718
|
-
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2719
|
-
interface ContextMenuRadioGroupProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioGroup>, "children"> {
|
|
2720
|
-
children?: React$1.ReactNode;
|
|
2721
|
-
}
|
|
2722
|
-
/**
|
|
2723
|
-
* ContextMenu RadioGroup component
|
|
2724
|
-
* Wrapper around Radix ContextMenu RadioGroup.
|
|
2725
|
-
*/
|
|
2726
|
-
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2727
|
-
interface ContextMenuRadioItemProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>, "children"> {
|
|
2728
|
-
children?: React$1.ReactNode;
|
|
2729
|
-
/**
|
|
2730
|
-
* Size variant - token-based
|
|
2731
|
-
*/
|
|
2732
|
-
size?: ResponsiveContextMenuSize;
|
|
2733
|
-
/**
|
|
2734
|
-
* Tone variant - token-based
|
|
2735
|
-
*/
|
|
2736
|
-
tone?: ContextMenuItemToneToken;
|
|
2737
|
-
/**
|
|
2738
|
-
* Gap between item content - token-based
|
|
2739
|
-
*/
|
|
2740
|
-
gap?: ResponsiveSpace;
|
|
2741
|
-
}
|
|
2742
|
-
/**
|
|
2743
|
-
* ContextMenu RadioItem component
|
|
2744
|
-
* Wrapper around Radix ContextMenu RadioItem with token-based styling.
|
|
2745
|
-
*/
|
|
2746
|
-
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2747
|
-
interface ContextMenuSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator> {
|
|
2748
|
-
className?: string;
|
|
2749
|
-
}
|
|
2750
|
-
/**
|
|
2751
|
-
* ContextMenu Separator component
|
|
2752
|
-
* Wrapper around Radix ContextMenu Separator with token-based styling.
|
|
2753
|
-
*/
|
|
2754
|
-
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2755
|
-
interface ContextMenuLabelProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label>, "children"> {
|
|
2756
|
-
children?: React$1.ReactNode;
|
|
2757
|
-
/**
|
|
2758
|
-
* Padding - token-based
|
|
2759
|
-
*/
|
|
2760
|
-
padding?: ResponsiveSpace;
|
|
2761
|
-
}
|
|
2762
|
-
/**
|
|
2763
|
-
* ContextMenu Label component
|
|
2764
|
-
* Wrapper around Radix ContextMenu Label with token-based styling.
|
|
2765
|
-
*/
|
|
2766
|
-
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2767
|
-
interface ContextMenuSubProps extends React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Sub> {
|
|
2768
|
-
children?: React$1.ReactNode;
|
|
2769
|
-
}
|
|
2770
|
-
/**
|
|
2771
|
-
* ContextMenu Sub component
|
|
2772
|
-
* Wrapper around Radix ContextMenu Sub.
|
|
2773
|
-
*/
|
|
2774
|
-
declare const ContextMenuSub: React$1.FC<ContextMenuSubProps>;
|
|
2775
|
-
interface ContextMenuSubTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger>, "children"> {
|
|
2776
|
-
children?: React$1.ReactNode;
|
|
2777
|
-
/**
|
|
2778
|
-
* Size variant - token-based
|
|
2779
|
-
*/
|
|
2780
|
-
size?: ResponsiveContextMenuSize;
|
|
2781
|
-
/**
|
|
2782
|
-
* Tone variant - token-based
|
|
2783
|
-
*/
|
|
2784
|
-
tone?: ContextMenuItemToneToken;
|
|
2785
|
-
/**
|
|
2786
|
-
* Gap between item content - token-based
|
|
2787
|
-
*/
|
|
2788
|
-
gap?: ResponsiveSpace;
|
|
2789
|
-
}
|
|
2790
|
-
/**
|
|
2791
|
-
* ContextMenu SubTrigger component
|
|
2792
|
-
* Wrapper around Radix ContextMenu SubTrigger with token-based styling.
|
|
2793
|
-
*/
|
|
2794
|
-
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2795
|
-
interface ContextMenuSubContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>, "size" | "width" | "padding" | "radius" | "surface"> {
|
|
2796
|
-
/**
|
|
2797
|
-
* Size variant - token-based
|
|
2798
|
-
*/
|
|
2799
|
-
size?: ResponsiveContextMenuSize;
|
|
2800
|
-
/**
|
|
2801
|
-
* Width - token-based
|
|
2802
|
-
*/
|
|
2803
|
-
width?: ResponsiveContextMenuWidth;
|
|
2804
|
-
/**
|
|
2805
|
-
* Padding - token-based
|
|
2806
|
-
*/
|
|
2807
|
-
padding?: ResponsiveSpace;
|
|
2808
|
-
/**
|
|
2809
|
-
* Radius - token-based
|
|
2810
|
-
*/
|
|
2811
|
-
radius?: RadiusToken;
|
|
2812
|
-
/**
|
|
2813
|
-
* Surface variant - token-based
|
|
2814
|
-
*/
|
|
2815
|
-
surface?: SurfaceToken;
|
|
2816
|
-
}
|
|
2817
|
-
/**
|
|
2818
|
-
* ContextMenu SubContent component
|
|
2819
|
-
* Wrapper around Radix ContextMenu SubContent with token-based styling.
|
|
2820
|
-
*/
|
|
2821
|
-
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2822
|
-
|
|
2823
|
-
/**
|
|
2824
|
-
* ContextMenu Component
|
|
2825
|
-
*
|
|
2826
|
-
* Radix ContextMenu-based component with token-driven styling.
|
|
2827
|
-
*
|
|
2828
|
-
* **Usage:**
|
|
2829
|
-
* ```tsx
|
|
2830
|
-
* <ContextMenu.Root>
|
|
2831
|
-
* <ContextMenu.Trigger>Right-click me</ContextMenu.Trigger>
|
|
2832
|
-
* <ContextMenu.Content>
|
|
2833
|
-
* <ContextMenu.Item>Item 1</ContextMenu.Item>
|
|
2834
|
-
* <ContextMenu.Item>Item 2</ContextMenu.Item>
|
|
2835
|
-
* <ContextMenu.Separator />
|
|
2836
|
-
* <ContextMenu.Sub>
|
|
2837
|
-
* <ContextMenu.SubTrigger>Submenu</ContextMenu.SubTrigger>
|
|
2838
|
-
* <ContextMenu.SubContent>
|
|
2839
|
-
* <ContextMenu.Item>Sub Item 1</ContextMenu.Item>
|
|
2840
|
-
* </ContextMenu.SubContent>
|
|
2841
|
-
* </ContextMenu.Sub>
|
|
2842
|
-
* </ContextMenu.Content>
|
|
2843
|
-
* </ContextMenu.Root>
|
|
2844
|
-
* ```
|
|
2845
|
-
*/
|
|
2846
|
-
declare const ContextMenu: {
|
|
2847
|
-
Root: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
2848
|
-
Trigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2849
|
-
Content: React$1.ForwardRefExoticComponent<ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2850
|
-
Item: React$1.ForwardRefExoticComponent<ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2851
|
-
CheckboxItem: React$1.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2852
|
-
RadioGroup: React$1.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2853
|
-
RadioItem: React$1.ForwardRefExoticComponent<ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2854
|
-
Separator: React$1.ForwardRefExoticComponent<ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2855
|
-
Label: React$1.ForwardRefExoticComponent<ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2856
|
-
Sub: React$1.FC<ContextMenuSubProps>;
|
|
2857
|
-
SubTrigger: React$1.ForwardRefExoticComponent<ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2858
|
-
SubContent: React$1.ForwardRefExoticComponent<ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2859
|
-
};
|
|
2860
|
-
|
|
2861
|
-
declare const skeletonVariants: (props?: ({
|
|
2862
|
-
variant?: "block" | "card" | "text" | "circle" | "inline" | null | undefined;
|
|
2863
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2864
|
-
interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps$1<typeof skeletonVariants> {
|
|
2865
|
-
/**
|
|
2866
|
-
* Whether to hide from screen readers
|
|
2867
|
-
* @default true
|
|
2868
|
-
*/
|
|
2869
|
-
"aria-hidden"?: boolean;
|
|
2870
|
-
}
|
|
2871
|
-
/**
|
|
2872
|
-
* Skeleton component for loading states
|
|
2873
|
-
*
|
|
2874
|
-
* @example
|
|
2875
|
-
* ```tsx
|
|
2876
|
-
* <Skeleton variant="text" />
|
|
2877
|
-
* <Skeleton variant="circle" />
|
|
2878
|
-
* <Skeleton variant="card" />
|
|
2879
|
-
* ```
|
|
2880
|
-
*/
|
|
2881
|
-
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2882
|
-
|
|
2883
|
-
/**
|
|
2884
|
-
* EmptyState Component
|
|
2885
|
-
*
|
|
2886
|
-
* Token-driven empty state component for displaying empty or no-data states.
|
|
2887
|
-
* Uses EMPTY_STATE_TOKENS for all spacing and sizing.
|
|
2888
|
-
* Integrates with Surface and Stack components.
|
|
2889
|
-
*/
|
|
2890
|
-
|
|
2891
|
-
interface EmptyStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2892
|
-
/**
|
|
2893
|
-
* Unique ID for accessibility (auto-generated if not provided)
|
|
2894
|
-
*/
|
|
2895
|
-
id?: string;
|
|
2896
|
-
}
|
|
2897
|
-
/**
|
|
2898
|
-
* EmptyState root component
|
|
2899
|
-
*
|
|
2900
|
-
* @example
|
|
2901
|
-
* ```tsx
|
|
2902
|
-
* <EmptyState>
|
|
2903
|
-
* <EmptyState.Icon>📭</EmptyState.Icon>
|
|
2904
|
-
* <EmptyState.Title>No items found</EmptyState.Title>
|
|
2905
|
-
* <EmptyState.Description>Try adjusting your filters</EmptyState.Description>
|
|
2906
|
-
* <EmptyState.Action>
|
|
2907
|
-
* <Button>Create Item</Button>
|
|
2908
|
-
* </EmptyState.Action>
|
|
2909
|
-
* </EmptyState>
|
|
2910
|
-
* ```
|
|
2911
|
-
*/
|
|
2912
|
-
declare const EmptyState: React$1.ForwardRefExoticComponent<EmptyStateProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2913
|
-
|
|
2914
|
-
/**
|
|
2915
|
-
* EmptyState Action Component
|
|
2916
|
-
*
|
|
2917
|
-
* Action subcomponent for EmptyState (typically contains Button).
|
|
2918
|
-
*/
|
|
2919
|
-
|
|
2920
|
-
interface EmptyStateActionProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2921
|
-
/**
|
|
2922
|
-
* Action button or link (typically Button component)
|
|
2923
|
-
*/
|
|
2924
|
-
children: React$1.ReactNode;
|
|
2925
|
-
}
|
|
2926
|
-
/**
|
|
2927
|
-
* EmptyState Action component
|
|
2928
|
-
*/
|
|
2929
|
-
declare const EmptyStateAction: React$1.ForwardRefExoticComponent<EmptyStateActionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2930
|
-
|
|
2931
|
-
/**
|
|
2932
|
-
* EmptyState Description Component
|
|
2933
|
-
*
|
|
2934
|
-
* Description subcomponent for EmptyState.
|
|
2935
|
-
*/
|
|
2936
|
-
|
|
2937
|
-
interface EmptyStateDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
2938
|
-
/**
|
|
2939
|
-
* Description text
|
|
2940
|
-
*/
|
|
2941
|
-
children: React$1.ReactNode;
|
|
2942
|
-
}
|
|
2943
|
-
/**
|
|
2944
|
-
* EmptyState Description component
|
|
2945
|
-
*/
|
|
2946
|
-
declare const EmptyStateDescription: React$1.ForwardRefExoticComponent<EmptyStateDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
2947
|
-
|
|
2948
|
-
/**
|
|
2949
|
-
* EmptyState Icon Component
|
|
2950
|
-
*
|
|
2951
|
-
* Icon subcomponent for EmptyState.
|
|
2952
|
-
*/
|
|
2953
|
-
|
|
2954
|
-
interface EmptyStateIconProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2955
|
-
/**
|
|
2956
|
-
* Icon content (any ReactNode)
|
|
2957
|
-
*/
|
|
2958
|
-
children: React$1.ReactNode;
|
|
2792
|
+
interface BreadcrumbsSeparatorProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
2959
2793
|
/**
|
|
2960
|
-
*
|
|
2961
|
-
* @default "md"
|
|
2794
|
+
* Custom separator content
|
|
2962
2795
|
*/
|
|
2963
|
-
|
|
2796
|
+
children?: React$1.ReactNode;
|
|
2964
2797
|
}
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
/**
|
|
2971
|
-
* EmptyState Title Component
|
|
2972
|
-
*
|
|
2973
|
-
* Title subcomponent for EmptyState.
|
|
2974
|
-
*/
|
|
2798
|
+
declare const Breadcrumbs: React$1.ForwardRefExoticComponent<BreadcrumbsRootProps & React$1.RefAttributes<HTMLElement>> & {
|
|
2799
|
+
Root: React$1.ForwardRefExoticComponent<BreadcrumbsRootProps & React$1.RefAttributes<HTMLElement>>;
|
|
2800
|
+
Item: React$1.ForwardRefExoticComponent<BreadcrumbsItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
2801
|
+
Separator: React$1.ForwardRefExoticComponent<BreadcrumbsSeparatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2802
|
+
};
|
|
2975
2803
|
|
|
2976
|
-
interface
|
|
2804
|
+
interface PaginationRootProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
2977
2805
|
/**
|
|
2978
|
-
*
|
|
2806
|
+
* Current active page (1-indexed)
|
|
2979
2807
|
*/
|
|
2980
|
-
|
|
2981
|
-
}
|
|
2982
|
-
/**
|
|
2983
|
-
* EmptyState Title component
|
|
2984
|
-
*/
|
|
2985
|
-
declare const EmptyStateTitle: React$1.ForwardRefExoticComponent<EmptyStateTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
2986
|
-
|
|
2987
|
-
/**
|
|
2988
|
-
* DataList Root Component
|
|
2989
|
-
*
|
|
2990
|
-
* Mobile-first data list component for displaying key-value pairs.
|
|
2991
|
-
* Uses Stack for vertical layout and DATA_LIST_TOKENS for spacing.
|
|
2992
|
-
*/
|
|
2993
|
-
|
|
2994
|
-
interface DataListRootProps extends React$1.HTMLAttributes<HTMLDListElement> {
|
|
2808
|
+
currentPage: number;
|
|
2995
2809
|
/**
|
|
2996
|
-
*
|
|
2997
|
-
* @default "md"
|
|
2810
|
+
* Total number of pages
|
|
2998
2811
|
*/
|
|
2999
|
-
|
|
3000
|
-
}
|
|
3001
|
-
/**
|
|
3002
|
-
* DataList Root component
|
|
3003
|
-
*
|
|
3004
|
-
* @example
|
|
3005
|
-
* ```tsx
|
|
3006
|
-
* <DataList.Root>
|
|
3007
|
-
* <DataList.Item>
|
|
3008
|
-
* <DataList.Label>Name</DataList.Label>
|
|
3009
|
-
* <DataList.Value>John Doe</DataList.Value>
|
|
3010
|
-
* </DataList.Item>
|
|
3011
|
-
* </DataList.Root>
|
|
3012
|
-
* ```
|
|
3013
|
-
*/
|
|
3014
|
-
declare const DataListRoot: React$1.ForwardRefExoticComponent<DataListRootProps & React$1.RefAttributes<HTMLDListElement>>;
|
|
3015
|
-
|
|
3016
|
-
/**
|
|
3017
|
-
* DataList Component Types
|
|
3018
|
-
*
|
|
3019
|
-
* TypeScript interfaces and types for DataList component.
|
|
3020
|
-
*/
|
|
3021
|
-
|
|
3022
|
-
/**
|
|
3023
|
-
* DataList Item component props
|
|
3024
|
-
*/
|
|
3025
|
-
interface DataListItemProps$1 extends React.HTMLAttributes<HTMLDivElement> {
|
|
2812
|
+
totalPages: number;
|
|
3026
2813
|
/**
|
|
3027
|
-
*
|
|
3028
|
-
* Accepts spacing tokens (xs, sm, md, lg, xl, etc.) or responsive object
|
|
3029
|
-
* @default "md"
|
|
3030
|
-
* @example padding="sm"
|
|
3031
|
-
* @example padding={{ base: "sm", md: "lg" }}
|
|
2814
|
+
* Callback when page changes
|
|
3032
2815
|
*/
|
|
3033
|
-
|
|
3034
|
-
}
|
|
3035
|
-
|
|
3036
|
-
/**
|
|
3037
|
-
* DataList Item Component
|
|
3038
|
-
*
|
|
3039
|
-
* Individual item in DataList (contains Label and Value).
|
|
3040
|
-
*/
|
|
3041
|
-
|
|
3042
|
-
interface DataListItemProps extends DataListItemProps$1 {
|
|
3043
|
-
}
|
|
3044
|
-
/**
|
|
3045
|
-
* DataList Item component
|
|
3046
|
-
* Mobile: vertical layout (label above value)
|
|
3047
|
-
* Desktop: horizontal layout (label left, value right)
|
|
3048
|
-
*/
|
|
3049
|
-
declare const DataListItem: React$1.ForwardRefExoticComponent<DataListItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3050
|
-
|
|
3051
|
-
/**
|
|
3052
|
-
* DataList Label Component
|
|
3053
|
-
*
|
|
3054
|
-
* Label subcomponent for DataList items.
|
|
3055
|
-
*/
|
|
3056
|
-
|
|
3057
|
-
interface DataListLabelProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
2816
|
+
onPageChange: (page: number) => void;
|
|
3058
2817
|
/**
|
|
3059
|
-
*
|
|
2818
|
+
* Number of pages to show on each side of current page
|
|
2819
|
+
* @default 2
|
|
3060
2820
|
*/
|
|
3061
|
-
|
|
3062
|
-
}
|
|
3063
|
-
/**
|
|
3064
|
-
* DataList Label component
|
|
3065
|
-
* Mobile: full width
|
|
3066
|
-
* Desktop: fixed width (from tokens)
|
|
3067
|
-
*/
|
|
3068
|
-
declare const DataListLabel: React$1.ForwardRefExoticComponent<DataListLabelProps & React$1.RefAttributes<HTMLElement>>;
|
|
3069
|
-
|
|
3070
|
-
/**
|
|
3071
|
-
* DataList Value Component
|
|
3072
|
-
*
|
|
3073
|
-
* Value subcomponent for DataList items.
|
|
3074
|
-
*/
|
|
3075
|
-
|
|
3076
|
-
interface DataListValueProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
2821
|
+
delta?: number;
|
|
3077
2822
|
/**
|
|
3078
|
-
*
|
|
2823
|
+
* ARIA label for the navigation element
|
|
2824
|
+
* @default "Pagination"
|
|
3079
2825
|
*/
|
|
3080
|
-
|
|
2826
|
+
ariaLabel?: string;
|
|
3081
2827
|
}
|
|
3082
|
-
|
|
3083
|
-
* DataList Value component
|
|
3084
|
-
* Flex-grow to fill remaining space on desktop
|
|
3085
|
-
*/
|
|
3086
|
-
declare const DataListValue: React$1.ForwardRefExoticComponent<DataListValueProps & React$1.RefAttributes<HTMLElement>>;
|
|
3087
|
-
|
|
3088
|
-
/**
|
|
3089
|
-
* Table Component Types
|
|
3090
|
-
*
|
|
3091
|
-
* TypeScript interfaces and types for Table component.
|
|
3092
|
-
*/
|
|
3093
|
-
|
|
3094
|
-
/**
|
|
3095
|
-
* Table column definition
|
|
3096
|
-
*/
|
|
3097
|
-
interface TableColumn<T = Record<string, unknown>> {
|
|
3098
|
-
/**
|
|
3099
|
-
* Column key (must match a key in the data object)
|
|
3100
|
-
*/
|
|
3101
|
-
key: keyof T;
|
|
3102
|
-
/**
|
|
3103
|
-
* Column header title
|
|
3104
|
-
*/
|
|
3105
|
-
title: string;
|
|
3106
|
-
/**
|
|
3107
|
-
* Custom render function for cell content
|
|
3108
|
-
*/
|
|
3109
|
-
render?: (value: T[keyof T], item: T, index: number) => ReactNode;
|
|
3110
|
-
/**
|
|
3111
|
-
* Column alignment
|
|
3112
|
-
* @default "left"
|
|
3113
|
-
*/
|
|
3114
|
-
align?: "left" | "center" | "right";
|
|
2828
|
+
interface PaginationItemProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3115
2829
|
/**
|
|
3116
|
-
*
|
|
2830
|
+
* Page number (or "..." for ellipsis)
|
|
3117
2831
|
*/
|
|
3118
|
-
|
|
2832
|
+
page: number | "...";
|
|
3119
2833
|
/**
|
|
3120
|
-
* Whether
|
|
3121
|
-
* @default false
|
|
2834
|
+
* Whether this is the current page
|
|
3122
2835
|
*/
|
|
3123
|
-
|
|
2836
|
+
isCurrent?: boolean;
|
|
3124
2837
|
/**
|
|
3125
|
-
*
|
|
3126
|
-
* @default "md"
|
|
2838
|
+
* Whether this item is disabled
|
|
3127
2839
|
*/
|
|
3128
|
-
|
|
2840
|
+
disabled?: boolean;
|
|
3129
2841
|
}
|
|
3130
|
-
|
|
3131
|
-
* Sort direction
|
|
3132
|
-
*/
|
|
3133
|
-
type SortDirection = "asc" | "desc" | null;
|
|
3134
|
-
/**
|
|
3135
|
-
* Sort state
|
|
3136
|
-
*/
|
|
3137
|
-
interface SortState {
|
|
3138
|
-
/**
|
|
3139
|
-
* Column key being sorted
|
|
3140
|
-
*/
|
|
3141
|
-
column: string | null;
|
|
2842
|
+
interface PaginationPrevProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3142
2843
|
/**
|
|
3143
|
-
*
|
|
2844
|
+
* Whether previous button is disabled
|
|
3144
2845
|
*/
|
|
3145
|
-
|
|
2846
|
+
disabled?: boolean;
|
|
3146
2847
|
}
|
|
3147
|
-
|
|
3148
|
-
* Table context value
|
|
3149
|
-
*/
|
|
3150
|
-
interface TableContextValue {
|
|
3151
|
-
/**
|
|
3152
|
-
* Current sort state
|
|
3153
|
-
*/
|
|
3154
|
-
sortState: SortState;
|
|
3155
|
-
/**
|
|
3156
|
-
* Set sort state
|
|
3157
|
-
*/
|
|
3158
|
-
setSortState: (state: SortState) => void;
|
|
3159
|
-
/**
|
|
3160
|
-
* Expanded rows (for expandable rows)
|
|
3161
|
-
*/
|
|
3162
|
-
expandedRows: Set<string | number>;
|
|
3163
|
-
/**
|
|
3164
|
-
* Toggle row expansion
|
|
3165
|
-
*/
|
|
3166
|
-
toggleRow: (rowKey: string | number) => void;
|
|
3167
|
-
/**
|
|
3168
|
-
* Whether table has expandable rows
|
|
3169
|
-
*/
|
|
3170
|
-
expandable?: boolean;
|
|
2848
|
+
interface PaginationNextProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3171
2849
|
/**
|
|
3172
|
-
*
|
|
2850
|
+
* Whether next button is disabled
|
|
3173
2851
|
*/
|
|
3174
|
-
|
|
2852
|
+
disabled?: boolean;
|
|
3175
2853
|
}
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
columns: TableColumn<T>[];
|
|
3188
|
-
/**
|
|
3189
|
-
* Key to use for row identification
|
|
3190
|
-
*/
|
|
3191
|
-
rowKey: keyof T | ((item: T, index: number) => string | number);
|
|
3192
|
-
/**
|
|
3193
|
-
* Whether table supports sorting
|
|
3194
|
-
* @default false
|
|
3195
|
-
*/
|
|
3196
|
-
sortable?: boolean;
|
|
3197
|
-
/**
|
|
3198
|
-
* Whether table supports expandable rows
|
|
3199
|
-
* @default false
|
|
3200
|
-
*/
|
|
3201
|
-
expandable?: boolean;
|
|
2854
|
+
interface PaginationEllipsisProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
2855
|
+
}
|
|
2856
|
+
declare const Pagination: React$1.ForwardRefExoticComponent<PaginationRootProps & React$1.RefAttributes<HTMLElement>> & {
|
|
2857
|
+
Root: React$1.ForwardRefExoticComponent<PaginationRootProps & React$1.RefAttributes<HTMLElement>>;
|
|
2858
|
+
Item: React$1.ForwardRefExoticComponent<PaginationItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2859
|
+
Prev: React$1.ForwardRefExoticComponent<PaginationPrevProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2860
|
+
Next: React$1.ForwardRefExoticComponent<PaginationNextProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2861
|
+
Ellipsis: React$1.ForwardRefExoticComponent<PaginationEllipsisProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
interface StepperStep {
|
|
3202
2865
|
/**
|
|
3203
|
-
*
|
|
2866
|
+
* Unique identifier for the step
|
|
3204
2867
|
*/
|
|
3205
|
-
|
|
2868
|
+
id: string;
|
|
3206
2869
|
/**
|
|
3207
|
-
*
|
|
3208
|
-
* @default false
|
|
2870
|
+
* Label text for the step
|
|
3209
2871
|
*/
|
|
3210
|
-
|
|
2872
|
+
label: string;
|
|
3211
2873
|
/**
|
|
3212
|
-
*
|
|
2874
|
+
* Optional description for the step
|
|
3213
2875
|
*/
|
|
3214
|
-
|
|
2876
|
+
description?: string;
|
|
3215
2877
|
/**
|
|
3216
|
-
*
|
|
3217
|
-
* @default false
|
|
2878
|
+
* Optional icon for the step indicator
|
|
3218
2879
|
*/
|
|
3219
|
-
|
|
2880
|
+
icon?: React$1.ReactNode;
|
|
3220
2881
|
/**
|
|
3221
|
-
*
|
|
3222
|
-
* @default "md"
|
|
2882
|
+
* Whether this step is disabled
|
|
3223
2883
|
*/
|
|
3224
|
-
|
|
2884
|
+
disabled?: boolean;
|
|
3225
2885
|
}
|
|
3226
|
-
|
|
3227
|
-
* Table Header component props
|
|
3228
|
-
*/
|
|
3229
|
-
interface TableHeaderProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
2886
|
+
interface StepperRootProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3230
2887
|
/**
|
|
3231
|
-
*
|
|
3232
|
-
* @default false
|
|
2888
|
+
* Array of steps
|
|
3233
2889
|
*/
|
|
3234
|
-
|
|
3235
|
-
}
|
|
3236
|
-
/**
|
|
3237
|
-
* Table Head component props
|
|
3238
|
-
*/
|
|
3239
|
-
interface TableHeadProps extends React.HTMLAttributes<HTMLTableCellElement> {
|
|
2890
|
+
steps: StepperStep[];
|
|
3240
2891
|
/**
|
|
3241
|
-
*
|
|
3242
|
-
* @default "left"
|
|
2892
|
+
* Current active step index (0-indexed)
|
|
3243
2893
|
*/
|
|
3244
|
-
|
|
2894
|
+
activeStep: number;
|
|
3245
2895
|
/**
|
|
3246
|
-
*
|
|
3247
|
-
* @default
|
|
2896
|
+
* Orientation of the stepper
|
|
2897
|
+
* @default "horizontal"
|
|
3248
2898
|
*/
|
|
3249
|
-
|
|
2899
|
+
orientation?: "horizontal" | "vertical";
|
|
3250
2900
|
/**
|
|
3251
|
-
*
|
|
2901
|
+
* Whether to show step numbers
|
|
2902
|
+
* @default true
|
|
3252
2903
|
*/
|
|
3253
|
-
|
|
2904
|
+
showNumbers?: boolean;
|
|
2905
|
+
}
|
|
2906
|
+
interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3254
2907
|
/**
|
|
3255
|
-
*
|
|
3256
|
-
* @default "md"
|
|
2908
|
+
* Step data
|
|
3257
2909
|
*/
|
|
3258
|
-
|
|
3259
|
-
}
|
|
3260
|
-
/**
|
|
3261
|
-
* Table Body component props
|
|
3262
|
-
*/
|
|
3263
|
-
interface TableBodyProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
3264
|
-
}
|
|
3265
|
-
/**
|
|
3266
|
-
* Table Row component props
|
|
3267
|
-
*/
|
|
3268
|
-
interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
2910
|
+
step: StepperStep;
|
|
3269
2911
|
/**
|
|
3270
|
-
*
|
|
3271
|
-
* @default false
|
|
2912
|
+
* Step index (0-indexed)
|
|
3272
2913
|
*/
|
|
3273
|
-
|
|
2914
|
+
index: number;
|
|
3274
2915
|
/**
|
|
3275
|
-
* Whether
|
|
3276
|
-
* @default false
|
|
2916
|
+
* Whether this is the active step
|
|
3277
2917
|
*/
|
|
3278
|
-
|
|
2918
|
+
isActive: boolean;
|
|
3279
2919
|
/**
|
|
3280
|
-
*
|
|
2920
|
+
* Whether this step is completed
|
|
3281
2921
|
*/
|
|
3282
|
-
|
|
2922
|
+
isCompleted: boolean;
|
|
3283
2923
|
/**
|
|
3284
|
-
* Whether
|
|
3285
|
-
* @default false
|
|
2924
|
+
* Whether to show step number
|
|
3286
2925
|
*/
|
|
3287
|
-
|
|
2926
|
+
showNumber?: boolean;
|
|
3288
2927
|
}
|
|
3289
|
-
|
|
3290
|
-
* Table Cell component props
|
|
3291
|
-
*/
|
|
3292
|
-
interface TableCellProps extends React.HTMLAttributes<HTMLTableCellElement> {
|
|
2928
|
+
interface StepperIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3293
2929
|
/**
|
|
3294
|
-
*
|
|
3295
|
-
* @default "left"
|
|
2930
|
+
* Step index
|
|
3296
2931
|
*/
|
|
3297
|
-
|
|
2932
|
+
index: number;
|
|
3298
2933
|
/**
|
|
3299
|
-
*
|
|
3300
|
-
* @default "md"
|
|
2934
|
+
* Whether this is the active step
|
|
3301
2935
|
*/
|
|
3302
|
-
|
|
3303
|
-
}
|
|
3304
|
-
/**
|
|
3305
|
-
* Table SortIcon component props
|
|
3306
|
-
*/
|
|
3307
|
-
interface TableSortIconProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
2936
|
+
isActive: boolean;
|
|
3308
2937
|
/**
|
|
3309
|
-
*
|
|
2938
|
+
* Whether this step is completed
|
|
3310
2939
|
*/
|
|
3311
|
-
|
|
3312
|
-
}
|
|
3313
|
-
/**
|
|
3314
|
-
* Table Empty component props
|
|
3315
|
-
*/
|
|
3316
|
-
interface TableEmptyProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
2940
|
+
isCompleted: boolean;
|
|
3317
2941
|
/**
|
|
3318
|
-
*
|
|
2942
|
+
* Whether this step is disabled
|
|
3319
2943
|
*/
|
|
3320
|
-
|
|
2944
|
+
disabled?: boolean;
|
|
3321
2945
|
/**
|
|
3322
|
-
*
|
|
2946
|
+
* Custom icon
|
|
3323
2947
|
*/
|
|
3324
|
-
|
|
2948
|
+
icon?: React$1.ReactNode;
|
|
2949
|
+
/**
|
|
2950
|
+
* Whether to show step number
|
|
2951
|
+
*/
|
|
2952
|
+
showNumber?: boolean;
|
|
3325
2953
|
}
|
|
3326
|
-
|
|
3327
|
-
* Table LoadingState component props
|
|
3328
|
-
*/
|
|
3329
|
-
interface TableLoadingStateProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
2954
|
+
interface StepperLabelProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3330
2955
|
/**
|
|
3331
|
-
*
|
|
2956
|
+
* Step label text
|
|
3332
2957
|
*/
|
|
3333
|
-
|
|
2958
|
+
label: string;
|
|
3334
2959
|
/**
|
|
3335
|
-
*
|
|
3336
|
-
* @default 5
|
|
2960
|
+
* Optional description
|
|
3337
2961
|
*/
|
|
3338
|
-
|
|
3339
|
-
}
|
|
3340
|
-
/**
|
|
3341
|
-
* Table ExpandableContent component props
|
|
3342
|
-
*/
|
|
3343
|
-
interface TableExpandableContentProps extends React.HTMLAttributes<HTMLTableCellElement> {
|
|
2962
|
+
description?: string;
|
|
3344
2963
|
/**
|
|
3345
|
-
*
|
|
2964
|
+
* Whether this is the active step
|
|
3346
2965
|
*/
|
|
3347
|
-
|
|
2966
|
+
isActive: boolean;
|
|
2967
|
+
}
|
|
2968
|
+
interface StepperContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3348
2969
|
/**
|
|
3349
|
-
*
|
|
2970
|
+
* Step index this content belongs to
|
|
3350
2971
|
*/
|
|
3351
|
-
|
|
2972
|
+
stepIndex: number;
|
|
3352
2973
|
/**
|
|
3353
|
-
*
|
|
2974
|
+
* Whether this content should be visible
|
|
3354
2975
|
*/
|
|
3355
|
-
|
|
2976
|
+
isActive: boolean;
|
|
3356
2977
|
}
|
|
3357
|
-
|
|
3358
|
-
declare function useTableContext(): TableContextValue;
|
|
3359
2978
|
/**
|
|
3360
|
-
*
|
|
3361
|
-
*
|
|
3362
|
-
* @example
|
|
3363
|
-
* ```tsx
|
|
3364
|
-
* <Table.Root
|
|
3365
|
-
* data={users}
|
|
3366
|
-
* columns={columns}
|
|
3367
|
-
* rowKey="id"
|
|
3368
|
-
* sortable
|
|
3369
|
-
* >
|
|
3370
|
-
* <Table.Header>
|
|
3371
|
-
* <Table.Row>
|
|
3372
|
-
* <Table.Head>Name</Table.Head>
|
|
3373
|
-
* </Table.Row>
|
|
3374
|
-
* </Table.Header>
|
|
3375
|
-
* <Table.Body>
|
|
3376
|
-
* {users.map((user) => (
|
|
3377
|
-
* <Table.Row key={user.id}>
|
|
3378
|
-
* <Table.Cell>{user.name}</Table.Cell>
|
|
3379
|
-
* </Table.Row>
|
|
3380
|
-
* ))}
|
|
3381
|
-
* </Table.Body>
|
|
3382
|
-
* </Table.Root>
|
|
3383
|
-
* ```
|
|
2979
|
+
* Stepper.Item - Individual step container
|
|
3384
2980
|
*/
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
var displayName: string;
|
|
2981
|
+
interface StepperItemPropsInternal extends StepperItemProps {
|
|
2982
|
+
orientation?: "horizontal" | "vertical";
|
|
3388
2983
|
}
|
|
2984
|
+
declare const Stepper: React$1.ForwardRefExoticComponent<StepperRootProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
2985
|
+
Root: React$1.ForwardRefExoticComponent<StepperRootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2986
|
+
Item: React$1.ForwardRefExoticComponent<StepperItemPropsInternal & React$1.RefAttributes<HTMLDivElement>>;
|
|
2987
|
+
Indicator: React$1.ForwardRefExoticComponent<StepperIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2988
|
+
Label: React$1.ForwardRefExoticComponent<StepperLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2989
|
+
Content: React$1.ForwardRefExoticComponent<StepperContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2990
|
+
};
|
|
3389
2991
|
|
|
3390
2992
|
/**
|
|
3391
|
-
*
|
|
3392
|
-
*
|
|
3393
|
-
* Body section for table (tbody element).
|
|
3394
|
-
*/
|
|
3395
|
-
|
|
3396
|
-
/**
|
|
3397
|
-
* Table Body component
|
|
3398
|
-
*/
|
|
3399
|
-
declare const TableBody: React$1.ForwardRefExoticComponent<TableBodyProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* Table Cell Component
|
|
2993
|
+
* DataList Component Types
|
|
3403
2994
|
*
|
|
3404
|
-
*
|
|
2995
|
+
* TypeScript interfaces and types for DataList component.
|
|
3405
2996
|
*/
|
|
3406
2997
|
|
|
3407
2998
|
/**
|
|
3408
|
-
*
|
|
2999
|
+
* DataList Item component props
|
|
3409
3000
|
*/
|
|
3410
|
-
|
|
3001
|
+
interface DataListItemProps$1 extends React.HTMLAttributes<HTMLDivElement> {
|
|
3002
|
+
/**
|
|
3003
|
+
* Row padding - token-based
|
|
3004
|
+
* Accepts spacing tokens (xs, sm, md, lg, xl, etc.) or responsive object
|
|
3005
|
+
* @default "md"
|
|
3006
|
+
* @example padding="sm"
|
|
3007
|
+
* @example padding={{ base: "sm", md: "lg" }}
|
|
3008
|
+
*/
|
|
3009
|
+
padding?: ResponsiveSpacing;
|
|
3010
|
+
}
|
|
3411
3011
|
|
|
3412
3012
|
/**
|
|
3413
|
-
*
|
|
3013
|
+
* DataList Item Component
|
|
3414
3014
|
*
|
|
3415
|
-
*
|
|
3015
|
+
* Individual item in DataList (contains Label and Value).
|
|
3416
3016
|
*/
|
|
3417
3017
|
|
|
3018
|
+
interface DataListItemProps extends DataListItemProps$1 {
|
|
3019
|
+
}
|
|
3418
3020
|
/**
|
|
3419
|
-
*
|
|
3021
|
+
* DataList Item component
|
|
3022
|
+
* Mobile: vertical layout (label above value)
|
|
3023
|
+
* Desktop: horizontal layout (label left, value right)
|
|
3420
3024
|
*/
|
|
3421
|
-
declare const
|
|
3025
|
+
declare const DataListItem: React$1.ForwardRefExoticComponent<DataListItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3422
3026
|
|
|
3423
3027
|
/**
|
|
3424
|
-
*
|
|
3028
|
+
* DataList Label Component
|
|
3425
3029
|
*
|
|
3426
|
-
*
|
|
3030
|
+
* Label subcomponent for DataList items.
|
|
3427
3031
|
*/
|
|
3428
3032
|
|
|
3033
|
+
interface DataListLabelProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
3034
|
+
/**
|
|
3035
|
+
* Label text
|
|
3036
|
+
*/
|
|
3037
|
+
children: React$1.ReactNode;
|
|
3038
|
+
}
|
|
3429
3039
|
/**
|
|
3430
|
-
*
|
|
3431
|
-
*
|
|
3040
|
+
* DataList Label component
|
|
3041
|
+
* Mobile: full width
|
|
3042
|
+
* Desktop: fixed width (from tokens)
|
|
3432
3043
|
*/
|
|
3433
|
-
declare const
|
|
3044
|
+
declare const DataListLabel: React$1.ForwardRefExoticComponent<DataListLabelProps & React$1.RefAttributes<HTMLElement>>;
|
|
3434
3045
|
|
|
3435
3046
|
/**
|
|
3436
|
-
*
|
|
3047
|
+
* DataList Value Component
|
|
3437
3048
|
*
|
|
3438
|
-
*
|
|
3049
|
+
* Value subcomponent for DataList items.
|
|
3439
3050
|
*/
|
|
3440
3051
|
|
|
3052
|
+
interface DataListValueProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
3053
|
+
/**
|
|
3054
|
+
* Value content
|
|
3055
|
+
*/
|
|
3056
|
+
children: React$1.ReactNode;
|
|
3057
|
+
}
|
|
3441
3058
|
/**
|
|
3442
|
-
*
|
|
3059
|
+
* DataList Value component
|
|
3060
|
+
* Flex-grow to fill remaining space on desktop
|
|
3443
3061
|
*/
|
|
3444
|
-
declare const
|
|
3062
|
+
declare const DataListValue: React$1.ForwardRefExoticComponent<DataListValueProps & React$1.RefAttributes<HTMLElement>>;
|
|
3445
3063
|
|
|
3446
3064
|
/**
|
|
3447
|
-
*
|
|
3065
|
+
* EmptyState Component
|
|
3448
3066
|
*
|
|
3449
|
-
*
|
|
3067
|
+
* Token-driven empty state component for displaying empty or no-data states.
|
|
3068
|
+
* Uses EMPTY_STATE_TOKENS for all spacing and sizing.
|
|
3069
|
+
* Integrates with Surface and Stack components.
|
|
3450
3070
|
*/
|
|
3451
3071
|
|
|
3452
|
-
|
|
3453
|
-
|
|
3072
|
+
interface EmptyStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3073
|
+
/**
|
|
3074
|
+
* Unique ID for accessibility (auto-generated if not provided)
|
|
3075
|
+
*/
|
|
3076
|
+
id?: string;
|
|
3077
|
+
}
|
|
3454
3078
|
/**
|
|
3455
|
-
*
|
|
3079
|
+
* EmptyState root component
|
|
3456
3080
|
*
|
|
3457
|
-
*
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
*
|
|
3081
|
+
* @example
|
|
3082
|
+
* ```tsx
|
|
3083
|
+
* <EmptyState>
|
|
3084
|
+
* <EmptyState.Icon>📭</EmptyState.Icon>
|
|
3085
|
+
* <EmptyState.Title>No items found</EmptyState.Title>
|
|
3086
|
+
* <EmptyState.Description>Try adjusting your filters</EmptyState.Description>
|
|
3087
|
+
* <EmptyState.Action>
|
|
3088
|
+
* <Button>Create Item</Button>
|
|
3089
|
+
* </EmptyState.Action>
|
|
3090
|
+
* </EmptyState>
|
|
3091
|
+
* ```
|
|
3462
3092
|
*/
|
|
3463
|
-
declare const
|
|
3093
|
+
declare const EmptyState: React$1.ForwardRefExoticComponent<EmptyStateProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3464
3094
|
|
|
3465
3095
|
/**
|
|
3466
|
-
*
|
|
3096
|
+
* EmptyState Action Component
|
|
3467
3097
|
*
|
|
3468
|
-
*
|
|
3098
|
+
* Action subcomponent for EmptyState (typically contains Button).
|
|
3469
3099
|
*/
|
|
3470
3100
|
|
|
3101
|
+
interface EmptyStateActionProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3102
|
+
/**
|
|
3103
|
+
* Action button or link (typically Button component)
|
|
3104
|
+
*/
|
|
3105
|
+
children: React$1.ReactNode;
|
|
3106
|
+
}
|
|
3471
3107
|
/**
|
|
3472
|
-
*
|
|
3108
|
+
* EmptyState Action component
|
|
3473
3109
|
*/
|
|
3474
|
-
declare const
|
|
3110
|
+
declare const EmptyStateAction: React$1.ForwardRefExoticComponent<EmptyStateActionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3475
3111
|
|
|
3476
3112
|
/**
|
|
3477
|
-
*
|
|
3113
|
+
* EmptyState Description Component
|
|
3478
3114
|
*
|
|
3479
|
-
*
|
|
3115
|
+
* Description subcomponent for EmptyState.
|
|
3480
3116
|
*/
|
|
3481
3117
|
|
|
3118
|
+
interface EmptyStateDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
3119
|
+
/**
|
|
3120
|
+
* Description text
|
|
3121
|
+
*/
|
|
3122
|
+
children: React$1.ReactNode;
|
|
3123
|
+
}
|
|
3482
3124
|
/**
|
|
3483
|
-
*
|
|
3484
|
-
* Uses CSS rotation animation (no framer-motion)
|
|
3125
|
+
* EmptyState Description component
|
|
3485
3126
|
*/
|
|
3486
|
-
declare const
|
|
3127
|
+
declare const EmptyStateDescription: React$1.ForwardRefExoticComponent<EmptyStateDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
3487
3128
|
|
|
3488
3129
|
/**
|
|
3489
|
-
*
|
|
3130
|
+
* EmptyState Icon Component
|
|
3490
3131
|
*
|
|
3491
|
-
*
|
|
3492
|
-
* All behavior (keyboard navigation, focus management, a11y) is handled by Radix.
|
|
3493
|
-
* Tenerife UI provides visual styling through tokens only.
|
|
3132
|
+
* Icon subcomponent for EmptyState.
|
|
3494
3133
|
*/
|
|
3495
3134
|
|
|
3496
|
-
interface
|
|
3497
|
-
}
|
|
3498
|
-
interface TabsListProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>, "size" | "variant"> {
|
|
3499
|
-
/**
|
|
3500
|
-
* Size variant - token-based
|
|
3501
|
-
*/
|
|
3502
|
-
size?: ResponsiveTabsSize;
|
|
3503
|
-
/**
|
|
3504
|
-
* Visual variant - token-based
|
|
3505
|
-
*/
|
|
3506
|
-
variant?: TabsVariantToken;
|
|
3507
|
-
}
|
|
3508
|
-
interface TabsTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, "size" | "variant" | "tone"> {
|
|
3509
|
-
/**
|
|
3510
|
-
* Size variant - token-based (inherited from context if not provided)
|
|
3511
|
-
*/
|
|
3512
|
-
size?: ResponsiveTabsSize;
|
|
3513
|
-
/**
|
|
3514
|
-
* Visual variant - token-based (inherited from context if not provided)
|
|
3515
|
-
*/
|
|
3516
|
-
variant?: TabsVariantToken;
|
|
3517
|
-
/**
|
|
3518
|
-
* Tone - token-based (inherited from context if not provided)
|
|
3519
|
-
*/
|
|
3520
|
-
tone?: TabsToneToken;
|
|
3521
|
-
/**
|
|
3522
|
-
* Leading icon - semantic prop
|
|
3523
|
-
*/
|
|
3524
|
-
leadingIcon?: React$1.ReactNode;
|
|
3525
|
-
/**
|
|
3526
|
-
* Trailing icon - semantic prop
|
|
3527
|
-
*/
|
|
3528
|
-
trailingIcon?: React$1.ReactNode;
|
|
3135
|
+
interface EmptyStateIconProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3529
3136
|
/**
|
|
3530
|
-
* Icon
|
|
3137
|
+
* Icon content (any ReactNode)
|
|
3531
3138
|
*/
|
|
3532
|
-
|
|
3533
|
-
}
|
|
3534
|
-
interface TabsContentProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>, "size"> {
|
|
3139
|
+
children: React$1.ReactNode;
|
|
3535
3140
|
/**
|
|
3536
|
-
*
|
|
3141
|
+
* Icon size
|
|
3142
|
+
* @default "md"
|
|
3537
3143
|
*/
|
|
3538
|
-
size?:
|
|
3144
|
+
size?: "sm" | "md" | "lg";
|
|
3539
3145
|
}
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
Content: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3545
|
-
};
|
|
3146
|
+
/**
|
|
3147
|
+
* EmptyState Icon component
|
|
3148
|
+
*/
|
|
3149
|
+
declare const EmptyStateIcon: React$1.ForwardRefExoticComponent<EmptyStateIconProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3546
3150
|
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3555
|
-
interface SegmentedControlRootProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "role">, VariantProps$1<typeof segmentedControlRootVariants> {
|
|
3556
|
-
/**
|
|
3557
|
-
* Controlled value
|
|
3558
|
-
*/
|
|
3559
|
-
value?: string;
|
|
3560
|
-
/**
|
|
3561
|
-
* Default value for uncontrolled usage
|
|
3562
|
-
*/
|
|
3563
|
-
defaultValue?: string;
|
|
3564
|
-
/**
|
|
3565
|
-
* Callback when value changes
|
|
3566
|
-
*/
|
|
3567
|
-
onValueChange?: (value: string) => void;
|
|
3151
|
+
/**
|
|
3152
|
+
* EmptyState Title Component
|
|
3153
|
+
*
|
|
3154
|
+
* Title subcomponent for EmptyState.
|
|
3155
|
+
*/
|
|
3156
|
+
|
|
3157
|
+
interface EmptyStateTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
|
|
3568
3158
|
/**
|
|
3569
|
-
*
|
|
3159
|
+
* Title text
|
|
3570
3160
|
*/
|
|
3571
|
-
|
|
3161
|
+
children: React$1.ReactNode;
|
|
3572
3162
|
}
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3163
|
+
/**
|
|
3164
|
+
* EmptyState Title component
|
|
3165
|
+
*/
|
|
3166
|
+
declare const EmptyStateTitle: React$1.ForwardRefExoticComponent<EmptyStateTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
3167
|
+
|
|
3168
|
+
/**
|
|
3169
|
+
* Table Component Types
|
|
3170
|
+
*
|
|
3171
|
+
* TypeScript interfaces and types for Table component.
|
|
3172
|
+
*/
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* Table column definition
|
|
3176
|
+
*/
|
|
3177
|
+
interface TableColumn$1<T = Record<string, unknown>> {
|
|
3578
3178
|
/**
|
|
3579
|
-
*
|
|
3179
|
+
* Column key (must match a key in the data object)
|
|
3580
3180
|
*/
|
|
3581
|
-
|
|
3582
|
-
}
|
|
3583
|
-
declare const SegmentedControl: React$1.ForwardRefExoticComponent<SegmentedControlRootProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
3584
|
-
Root: React$1.ForwardRefExoticComponent<SegmentedControlRootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3585
|
-
Item: React$1.ForwardRefExoticComponent<SegmentedControlItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3586
|
-
};
|
|
3587
|
-
|
|
3588
|
-
interface BreadcrumbItem {
|
|
3181
|
+
key: keyof T;
|
|
3589
3182
|
/**
|
|
3590
|
-
*
|
|
3183
|
+
* Column header title
|
|
3591
3184
|
*/
|
|
3592
|
-
|
|
3185
|
+
title: string;
|
|
3593
3186
|
/**
|
|
3594
|
-
*
|
|
3187
|
+
* Custom render function for cell content
|
|
3595
3188
|
*/
|
|
3596
|
-
|
|
3189
|
+
render?: (value: T[keyof T], item: T, index: number) => ReactNode;
|
|
3597
3190
|
/**
|
|
3598
|
-
*
|
|
3191
|
+
* Column alignment
|
|
3192
|
+
* @default "left"
|
|
3599
3193
|
*/
|
|
3600
|
-
|
|
3601
|
-
}
|
|
3602
|
-
interface BreadcrumbsRootProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
3194
|
+
align?: "left" | "center" | "right";
|
|
3603
3195
|
/**
|
|
3604
|
-
*
|
|
3196
|
+
* Column width (CSS value or Tailwind class)
|
|
3605
3197
|
*/
|
|
3606
|
-
|
|
3198
|
+
width?: string;
|
|
3607
3199
|
/**
|
|
3608
|
-
*
|
|
3609
|
-
* @default
|
|
3200
|
+
* Whether column is sortable
|
|
3201
|
+
* @default false
|
|
3610
3202
|
*/
|
|
3611
|
-
|
|
3203
|
+
sortable?: boolean;
|
|
3612
3204
|
/**
|
|
3613
|
-
*
|
|
3614
|
-
* @default "
|
|
3205
|
+
* Cell size
|
|
3206
|
+
* @default "md"
|
|
3615
3207
|
*/
|
|
3616
|
-
|
|
3208
|
+
size?: "sm" | "md" | "lg";
|
|
3617
3209
|
}
|
|
3618
|
-
|
|
3210
|
+
/**
|
|
3211
|
+
* Sort direction
|
|
3212
|
+
*/
|
|
3213
|
+
type SortDirection = "asc" | "desc" | null;
|
|
3214
|
+
/**
|
|
3215
|
+
* Sort state
|
|
3216
|
+
*/
|
|
3217
|
+
interface SortState {
|
|
3619
3218
|
/**
|
|
3620
|
-
*
|
|
3219
|
+
* Column key being sorted
|
|
3621
3220
|
*/
|
|
3622
|
-
|
|
3221
|
+
column: string | null;
|
|
3623
3222
|
/**
|
|
3624
|
-
*
|
|
3223
|
+
* Sort direction
|
|
3625
3224
|
*/
|
|
3626
|
-
|
|
3225
|
+
direction: SortDirection;
|
|
3627
3226
|
}
|
|
3628
|
-
|
|
3227
|
+
/**
|
|
3228
|
+
* Table context value
|
|
3229
|
+
*/
|
|
3230
|
+
interface TableContextValue {
|
|
3629
3231
|
/**
|
|
3630
|
-
*
|
|
3232
|
+
* Current sort state
|
|
3631
3233
|
*/
|
|
3632
|
-
|
|
3633
|
-
}
|
|
3634
|
-
declare const Breadcrumbs: React$1.ForwardRefExoticComponent<BreadcrumbsRootProps & React$1.RefAttributes<HTMLElement>> & {
|
|
3635
|
-
Root: React$1.ForwardRefExoticComponent<BreadcrumbsRootProps & React$1.RefAttributes<HTMLElement>>;
|
|
3636
|
-
Item: React$1.ForwardRefExoticComponent<BreadcrumbsItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
3637
|
-
Separator: React$1.ForwardRefExoticComponent<BreadcrumbsSeparatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
3638
|
-
};
|
|
3639
|
-
|
|
3640
|
-
interface PaginationRootProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
3234
|
+
sortState: SortState;
|
|
3641
3235
|
/**
|
|
3642
|
-
*
|
|
3236
|
+
* Set sort state
|
|
3643
3237
|
*/
|
|
3644
|
-
|
|
3238
|
+
setSortState: (state: SortState) => void;
|
|
3645
3239
|
/**
|
|
3646
|
-
*
|
|
3240
|
+
* Expanded rows (for expandable rows)
|
|
3647
3241
|
*/
|
|
3648
|
-
|
|
3242
|
+
expandedRows: Set<string | number>;
|
|
3649
3243
|
/**
|
|
3650
|
-
*
|
|
3244
|
+
* Toggle row expansion
|
|
3651
3245
|
*/
|
|
3652
|
-
|
|
3246
|
+
toggleRow: (rowKey: string | number) => void;
|
|
3653
3247
|
/**
|
|
3654
|
-
*
|
|
3655
|
-
* @default 2
|
|
3248
|
+
* Whether table has expandable rows
|
|
3656
3249
|
*/
|
|
3657
|
-
|
|
3250
|
+
expandable?: boolean;
|
|
3658
3251
|
/**
|
|
3659
|
-
*
|
|
3660
|
-
* @default "Pagination"
|
|
3252
|
+
* Render function for expandable content
|
|
3661
3253
|
*/
|
|
3662
|
-
|
|
3254
|
+
renderExpandableContent?: (item: unknown, index: number) => ReactNode;
|
|
3663
3255
|
}
|
|
3664
|
-
|
|
3256
|
+
/**
|
|
3257
|
+
* Table Root component props
|
|
3258
|
+
*/
|
|
3259
|
+
interface TableRootProps<T = Record<string, unknown>> extends React.HTMLAttributes<HTMLTableElement> {
|
|
3665
3260
|
/**
|
|
3666
|
-
*
|
|
3261
|
+
* Table data array
|
|
3667
3262
|
*/
|
|
3668
|
-
|
|
3263
|
+
data: T[];
|
|
3669
3264
|
/**
|
|
3670
|
-
*
|
|
3265
|
+
* Column definitions
|
|
3671
3266
|
*/
|
|
3672
|
-
|
|
3267
|
+
columns: TableColumn$1<T>[];
|
|
3673
3268
|
/**
|
|
3674
|
-
*
|
|
3269
|
+
* Key to use for row identification
|
|
3675
3270
|
*/
|
|
3676
|
-
|
|
3677
|
-
}
|
|
3678
|
-
interface PaginationPrevProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3271
|
+
rowKey: keyof T | ((item: T, index: number) => string | number);
|
|
3679
3272
|
/**
|
|
3680
|
-
* Whether
|
|
3273
|
+
* Whether table supports sorting
|
|
3274
|
+
* @default false
|
|
3681
3275
|
*/
|
|
3682
|
-
|
|
3683
|
-
}
|
|
3684
|
-
interface PaginationNextProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3276
|
+
sortable?: boolean;
|
|
3685
3277
|
/**
|
|
3686
|
-
* Whether
|
|
3278
|
+
* Whether table supports expandable rows
|
|
3279
|
+
* @default false
|
|
3687
3280
|
*/
|
|
3688
|
-
|
|
3689
|
-
}
|
|
3690
|
-
interface PaginationEllipsisProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
3691
|
-
}
|
|
3692
|
-
declare const Pagination: React$1.ForwardRefExoticComponent<PaginationRootProps & React$1.RefAttributes<HTMLElement>> & {
|
|
3693
|
-
Root: React$1.ForwardRefExoticComponent<PaginationRootProps & React$1.RefAttributes<HTMLElement>>;
|
|
3694
|
-
Item: React$1.ForwardRefExoticComponent<PaginationItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3695
|
-
Prev: React$1.ForwardRefExoticComponent<PaginationPrevProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3696
|
-
Next: React$1.ForwardRefExoticComponent<PaginationNextProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3697
|
-
Ellipsis: React$1.ForwardRefExoticComponent<PaginationEllipsisProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
3698
|
-
};
|
|
3699
|
-
|
|
3700
|
-
interface StepperStep {
|
|
3281
|
+
expandable?: boolean;
|
|
3701
3282
|
/**
|
|
3702
|
-
*
|
|
3283
|
+
* Render function for expandable content
|
|
3703
3284
|
*/
|
|
3704
|
-
|
|
3285
|
+
renderExpandableContent?: (item: T, index: number) => ReactNode;
|
|
3705
3286
|
/**
|
|
3706
|
-
*
|
|
3287
|
+
* Whether table is in loading state
|
|
3288
|
+
* @default false
|
|
3707
3289
|
*/
|
|
3708
|
-
|
|
3290
|
+
loading?: boolean;
|
|
3709
3291
|
/**
|
|
3710
|
-
*
|
|
3292
|
+
* Empty state message (shown when data is empty)
|
|
3711
3293
|
*/
|
|
3712
|
-
|
|
3294
|
+
emptyMessage?: string;
|
|
3713
3295
|
/**
|
|
3714
|
-
*
|
|
3296
|
+
* Whether header is sticky
|
|
3297
|
+
* @default false
|
|
3715
3298
|
*/
|
|
3716
|
-
|
|
3299
|
+
stickyHeader?: boolean;
|
|
3717
3300
|
/**
|
|
3718
|
-
*
|
|
3301
|
+
* Row size
|
|
3302
|
+
* @default "md"
|
|
3719
3303
|
*/
|
|
3720
|
-
|
|
3304
|
+
rowSize?: "sm" | "md" | "lg";
|
|
3721
3305
|
}
|
|
3722
|
-
|
|
3306
|
+
/**
|
|
3307
|
+
* Table Header component props
|
|
3308
|
+
*/
|
|
3309
|
+
interface TableHeaderProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
3723
3310
|
/**
|
|
3724
|
-
*
|
|
3311
|
+
* Whether header is sticky
|
|
3312
|
+
* @default false
|
|
3725
3313
|
*/
|
|
3726
|
-
|
|
3314
|
+
sticky?: boolean;
|
|
3315
|
+
}
|
|
3316
|
+
/**
|
|
3317
|
+
* Table Head component props
|
|
3318
|
+
*/
|
|
3319
|
+
interface TableHeadProps extends React.HTMLAttributes<HTMLTableCellElement> {
|
|
3727
3320
|
/**
|
|
3728
|
-
*
|
|
3321
|
+
* Column alignment
|
|
3322
|
+
* @default "left"
|
|
3729
3323
|
*/
|
|
3730
|
-
|
|
3324
|
+
align?: "left" | "center" | "right";
|
|
3731
3325
|
/**
|
|
3732
|
-
*
|
|
3733
|
-
* @default
|
|
3326
|
+
* Whether column is sortable
|
|
3327
|
+
* @default false
|
|
3734
3328
|
*/
|
|
3735
|
-
|
|
3329
|
+
sortable?: boolean;
|
|
3736
3330
|
/**
|
|
3737
|
-
*
|
|
3738
|
-
* @default true
|
|
3331
|
+
* Column key (for sorting)
|
|
3739
3332
|
*/
|
|
3740
|
-
|
|
3741
|
-
}
|
|
3742
|
-
interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3333
|
+
columnKey?: string;
|
|
3743
3334
|
/**
|
|
3744
|
-
*
|
|
3335
|
+
* Cell size
|
|
3336
|
+
* @default "md"
|
|
3745
3337
|
*/
|
|
3746
|
-
|
|
3338
|
+
size?: "sm" | "md" | "lg";
|
|
3339
|
+
}
|
|
3340
|
+
/**
|
|
3341
|
+
* Table Body component props
|
|
3342
|
+
*/
|
|
3343
|
+
interface TableBodyProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
3344
|
+
}
|
|
3345
|
+
/**
|
|
3346
|
+
* Table Row component props
|
|
3347
|
+
*/
|
|
3348
|
+
interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
3747
3349
|
/**
|
|
3748
|
-
*
|
|
3350
|
+
* Whether row is selected
|
|
3351
|
+
* @default false
|
|
3749
3352
|
*/
|
|
3750
|
-
|
|
3353
|
+
selected?: boolean;
|
|
3751
3354
|
/**
|
|
3752
|
-
* Whether
|
|
3355
|
+
* Whether row is expandable
|
|
3356
|
+
* @default false
|
|
3753
3357
|
*/
|
|
3754
|
-
|
|
3358
|
+
expandable?: boolean;
|
|
3755
3359
|
/**
|
|
3756
|
-
*
|
|
3360
|
+
* Row key (for expansion tracking)
|
|
3757
3361
|
*/
|
|
3758
|
-
|
|
3362
|
+
rowKey?: string | number;
|
|
3759
3363
|
/**
|
|
3760
|
-
* Whether
|
|
3364
|
+
* Whether row is expanded
|
|
3365
|
+
* @default false
|
|
3761
3366
|
*/
|
|
3762
|
-
|
|
3367
|
+
expanded?: boolean;
|
|
3763
3368
|
}
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
index: number;
|
|
3369
|
+
/**
|
|
3370
|
+
* Table Cell component props
|
|
3371
|
+
*/
|
|
3372
|
+
interface TableCellProps extends React.HTMLAttributes<HTMLTableCellElement> {
|
|
3769
3373
|
/**
|
|
3770
|
-
*
|
|
3374
|
+
* Cell alignment
|
|
3375
|
+
* @default "left"
|
|
3771
3376
|
*/
|
|
3772
|
-
|
|
3377
|
+
align?: "left" | "center" | "right";
|
|
3773
3378
|
/**
|
|
3774
|
-
*
|
|
3379
|
+
* Cell size
|
|
3380
|
+
* @default "md"
|
|
3775
3381
|
*/
|
|
3776
|
-
|
|
3382
|
+
size?: "sm" | "md" | "lg";
|
|
3383
|
+
}
|
|
3384
|
+
/**
|
|
3385
|
+
* Table SortIcon component props
|
|
3386
|
+
*/
|
|
3387
|
+
interface TableSortIconProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3777
3388
|
/**
|
|
3778
|
-
*
|
|
3389
|
+
* Sort direction
|
|
3779
3390
|
*/
|
|
3780
|
-
|
|
3391
|
+
direction: SortDirection;
|
|
3392
|
+
}
|
|
3393
|
+
/**
|
|
3394
|
+
* Table Empty component props
|
|
3395
|
+
*/
|
|
3396
|
+
interface TableEmptyProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
3781
3397
|
/**
|
|
3782
|
-
*
|
|
3398
|
+
* Number of columns to span
|
|
3783
3399
|
*/
|
|
3784
|
-
|
|
3400
|
+
colSpan: number;
|
|
3785
3401
|
/**
|
|
3786
|
-
*
|
|
3402
|
+
* Empty message
|
|
3787
3403
|
*/
|
|
3788
|
-
|
|
3404
|
+
message?: string;
|
|
3789
3405
|
}
|
|
3790
|
-
|
|
3406
|
+
/**
|
|
3407
|
+
* Table LoadingState component props
|
|
3408
|
+
*/
|
|
3409
|
+
interface TableLoadingStateProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
3791
3410
|
/**
|
|
3792
|
-
*
|
|
3411
|
+
* Number of columns to span
|
|
3793
3412
|
*/
|
|
3794
|
-
|
|
3413
|
+
colSpan: number;
|
|
3795
3414
|
/**
|
|
3796
|
-
*
|
|
3415
|
+
* Number of skeleton rows to show
|
|
3416
|
+
* @default 5
|
|
3797
3417
|
*/
|
|
3798
|
-
|
|
3418
|
+
rows?: number;
|
|
3419
|
+
}
|
|
3420
|
+
/**
|
|
3421
|
+
* Table ExpandableContent component props
|
|
3422
|
+
*/
|
|
3423
|
+
interface TableExpandableContentProps extends React.HTMLAttributes<HTMLTableCellElement> {
|
|
3799
3424
|
/**
|
|
3800
|
-
*
|
|
3425
|
+
* Number of columns to span
|
|
3801
3426
|
*/
|
|
3802
|
-
|
|
3803
|
-
}
|
|
3804
|
-
interface StepperContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3427
|
+
colSpan: number;
|
|
3805
3428
|
/**
|
|
3806
|
-
*
|
|
3429
|
+
* Whether content is expanded
|
|
3807
3430
|
*/
|
|
3808
|
-
|
|
3431
|
+
expanded: boolean;
|
|
3809
3432
|
/**
|
|
3810
|
-
*
|
|
3433
|
+
* Content to render
|
|
3811
3434
|
*/
|
|
3812
|
-
|
|
3435
|
+
children: ReactNode;
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
declare function useTableContext(): TableContextValue;
|
|
3439
|
+
/**
|
|
3440
|
+
* Table Root component
|
|
3441
|
+
*
|
|
3442
|
+
* @example
|
|
3443
|
+
* ```tsx
|
|
3444
|
+
* <Table.Root
|
|
3445
|
+
* data={users}
|
|
3446
|
+
* columns={columns}
|
|
3447
|
+
* rowKey="id"
|
|
3448
|
+
* sortable
|
|
3449
|
+
* >
|
|
3450
|
+
* <Table.Header>
|
|
3451
|
+
* <Table.Row>
|
|
3452
|
+
* <Table.Head>Name</Table.Head>
|
|
3453
|
+
* </Table.Row>
|
|
3454
|
+
* </Table.Header>
|
|
3455
|
+
* <Table.Body>
|
|
3456
|
+
* {users.map((user) => (
|
|
3457
|
+
* <Table.Row key={user.id}>
|
|
3458
|
+
* <Table.Cell>{user.name}</Table.Cell>
|
|
3459
|
+
* </Table.Row>
|
|
3460
|
+
* ))}
|
|
3461
|
+
* </Table.Body>
|
|
3462
|
+
* </Table.Root>
|
|
3463
|
+
* ```
|
|
3464
|
+
*/
|
|
3465
|
+
declare function TableRoot<T extends Record<string, unknown>>({ data: _data, columns: _columns, rowKey: _rowKey, sortable: _sortable, expandable, renderExpandableContent, loading: _loading, emptyMessage: _emptyMessage, stickyHeader: _stickyHeader, rowSize: _rowSize, className, children, ...props }: TableRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
3466
|
+
declare namespace TableRoot {
|
|
3467
|
+
var displayName: string;
|
|
3813
3468
|
}
|
|
3469
|
+
|
|
3814
3470
|
/**
|
|
3815
|
-
*
|
|
3471
|
+
* Table Body Component
|
|
3472
|
+
*
|
|
3473
|
+
* Body section for table (tbody element).
|
|
3816
3474
|
*/
|
|
3817
|
-
|
|
3818
|
-
|
|
3475
|
+
|
|
3476
|
+
/**
|
|
3477
|
+
* Table Body component
|
|
3478
|
+
*/
|
|
3479
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<TableBodyProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
3480
|
+
|
|
3481
|
+
/**
|
|
3482
|
+
* Table Cell Component
|
|
3483
|
+
*
|
|
3484
|
+
* Table cell component with alignment and size support.
|
|
3485
|
+
*/
|
|
3486
|
+
|
|
3487
|
+
/**
|
|
3488
|
+
* Table Cell component
|
|
3489
|
+
*/
|
|
3490
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* Table Empty Component
|
|
3494
|
+
*
|
|
3495
|
+
* Empty state row for table (uses EmptyState component).
|
|
3496
|
+
*/
|
|
3497
|
+
|
|
3498
|
+
/**
|
|
3499
|
+
* Table Empty component
|
|
3500
|
+
*/
|
|
3501
|
+
declare const TableEmpty: React$1.ForwardRefExoticComponent<TableEmptyProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
3502
|
+
|
|
3503
|
+
/**
|
|
3504
|
+
* Table ExpandableContent Component
|
|
3505
|
+
*
|
|
3506
|
+
* Expandable content cell with CSS height transitions.
|
|
3507
|
+
*/
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* Table ExpandableContent component
|
|
3511
|
+
* Uses CSS height transitions (no framer-motion)
|
|
3512
|
+
*/
|
|
3513
|
+
declare const TableExpandableContent: React$1.ForwardRefExoticComponent<TableExpandableContentProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
3514
|
+
|
|
3515
|
+
/**
|
|
3516
|
+
* Table Head Component
|
|
3517
|
+
*
|
|
3518
|
+
* Header cell component with sorting support.
|
|
3519
|
+
*/
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* Table Head component
|
|
3523
|
+
*/
|
|
3524
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
3525
|
+
|
|
3526
|
+
/**
|
|
3527
|
+
* Table Header Component
|
|
3528
|
+
*
|
|
3529
|
+
* Header section for table (thead element).
|
|
3530
|
+
*/
|
|
3531
|
+
|
|
3532
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<TableHeaderProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
3533
|
+
|
|
3534
|
+
/**
|
|
3535
|
+
* Table LoadingState Component
|
|
3536
|
+
*
|
|
3537
|
+
* Loading state row for table (uses Skeleton component).
|
|
3538
|
+
*/
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
* Table LoadingState component
|
|
3542
|
+
*/
|
|
3543
|
+
declare const TableLoadingState: React$1.ForwardRefExoticComponent<TableLoadingStateProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* Table Row Component
|
|
3547
|
+
*
|
|
3548
|
+
* Table row component with hover and selected states.
|
|
3549
|
+
*/
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* Table Row component
|
|
3553
|
+
*/
|
|
3554
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
3555
|
+
|
|
3556
|
+
/**
|
|
3557
|
+
* Table SortIcon Component
|
|
3558
|
+
*
|
|
3559
|
+
* Sort indicator icon with rotation animation.
|
|
3560
|
+
*/
|
|
3561
|
+
|
|
3562
|
+
/**
|
|
3563
|
+
* Table SortIcon component
|
|
3564
|
+
* Uses CSS rotation animation (no framer-motion)
|
|
3565
|
+
*/
|
|
3566
|
+
declare const TableSortIcon: React$1.ForwardRefExoticComponent<TableSortIconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
3567
|
+
|
|
3568
|
+
interface TableColumn<T> {
|
|
3569
|
+
key: keyof T;
|
|
3570
|
+
title: string;
|
|
3571
|
+
render?: (value: T[keyof T], item: T) => React__default.ReactNode;
|
|
3819
3572
|
}
|
|
3820
|
-
declare const Stepper: React$1.ForwardRefExoticComponent<StepperRootProps & React$1.RefAttributes<HTMLDivElement>> & {
|
|
3821
|
-
Root: React$1.ForwardRefExoticComponent<StepperRootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3822
|
-
Item: React$1.ForwardRefExoticComponent<StepperItemPropsInternal & React$1.RefAttributes<HTMLDivElement>>;
|
|
3823
|
-
Indicator: React$1.ForwardRefExoticComponent<StepperIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3824
|
-
Label: React$1.ForwardRefExoticComponent<StepperLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3825
|
-
Content: React$1.ForwardRefExoticComponent<StepperContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3826
|
-
};
|
|
3827
3573
|
|
|
3828
3574
|
/**
|
|
3829
3575
|
* Icon Props Interface
|
|
@@ -3962,383 +3708,4 @@ interface IconProps extends Omit<React$1.SVGProps<SVGSVGElement>, "color" | "str
|
|
|
3962
3708
|
*/
|
|
3963
3709
|
declare const Icon: React$1.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
3964
3710
|
|
|
3965
|
-
|
|
3966
|
-
* Tenerife Animation System Types
|
|
3967
|
-
*
|
|
3968
|
-
* Type definitions for TAS animation system
|
|
3969
|
-
*/
|
|
3970
|
-
|
|
3971
|
-
/**
|
|
3972
|
-
* Animation props for layout primitives
|
|
3973
|
-
* Returns CSS class names for Motion Tokens V2 animations
|
|
3974
|
-
*/
|
|
3975
|
-
interface AnimationProps {
|
|
3976
|
-
/**
|
|
3977
|
-
* CSS class name for the animation
|
|
3978
|
-
* Maps to tm-motion-* utility classes
|
|
3979
|
-
*/
|
|
3980
|
-
className?: string;
|
|
3981
|
-
}
|
|
3982
|
-
/**
|
|
3983
|
-
* Component animation configuration
|
|
3984
|
-
* Allows components to accept animation presets as props
|
|
3985
|
-
*/
|
|
3986
|
-
interface ComponentAnimationConfig {
|
|
3987
|
-
/**
|
|
3988
|
-
* Animation preset for initial mount/entrance - token-based
|
|
3989
|
-
* Uses predefined animation preset tokens
|
|
3990
|
-
*/
|
|
3991
|
-
animation?: ResponsiveAnimationPreset | string;
|
|
3992
|
-
/**
|
|
3993
|
-
* Animation preset for hover state
|
|
3994
|
-
* Can be a preset name string or CSS class name
|
|
3995
|
-
*/
|
|
3996
|
-
hoverAnimation?: "hoverLift" | "hoverScale" | "tapScale" | string;
|
|
3997
|
-
/**
|
|
3998
|
-
* Custom animation class name (overrides preset names)
|
|
3999
|
-
*/
|
|
4000
|
-
animationProps?: AnimationProps;
|
|
4001
|
-
}
|
|
4002
|
-
|
|
4003
|
-
/**
|
|
4004
|
-
* ArtistCard Size Variant
|
|
4005
|
-
*/
|
|
4006
|
-
type ArtistCardSize = "default" | "compact";
|
|
4007
|
-
/**
|
|
4008
|
-
* ArtistCard Style Variant
|
|
4009
|
-
*/
|
|
4010
|
-
type ArtistCardVariant = "default" | "featured";
|
|
4011
|
-
/**
|
|
4012
|
-
* Props for ArtistCard component.
|
|
4013
|
-
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
4014
|
-
*/
|
|
4015
|
-
interface ArtistCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4016
|
-
/** Artist name (pre-localized string, required) */
|
|
4017
|
-
name: string;
|
|
4018
|
-
/** Artist description (pre-localized string, optional) */
|
|
4019
|
-
description?: string;
|
|
4020
|
-
/** Genres as comma-separated string (e.g., "Jazz, Blues, Rock", optional) */
|
|
4021
|
-
genres?: string;
|
|
4022
|
-
/** Follower count for popularity metric (optional) */
|
|
4023
|
-
followers?: number;
|
|
4024
|
-
/** Plays/listens count for popularity metric (optional) */
|
|
4025
|
-
plays?: number;
|
|
4026
|
-
/** Image URL (optional) */
|
|
4027
|
-
imageUrl?: string;
|
|
4028
|
-
/** Link URL for artist details page (optional) */
|
|
4029
|
-
href?: string;
|
|
4030
|
-
/** Whether this is a featured artist */
|
|
4031
|
-
featured?: boolean;
|
|
4032
|
-
/** Show image section */
|
|
4033
|
-
showImage?: boolean;
|
|
4034
|
-
/** Badge text for featured artists (optional) */
|
|
4035
|
-
popularBadgeText?: string;
|
|
4036
|
-
/** Label for followers count (required) */
|
|
4037
|
-
followersLabel: string;
|
|
4038
|
-
/** Label for plays count (required) */
|
|
4039
|
-
playsLabel: string;
|
|
4040
|
-
/** Size variant - controls padding and gap */
|
|
4041
|
-
size?: ArtistCardSize;
|
|
4042
|
-
/** Style variant - controls visual appearance */
|
|
4043
|
-
variant?: ArtistCardVariant;
|
|
4044
|
-
/** Animation configuration for entrance and hover animations */
|
|
4045
|
-
animation?: ComponentAnimationConfig;
|
|
4046
|
-
}
|
|
4047
|
-
|
|
4048
|
-
/**
|
|
4049
|
-
* ArtistCard Component
|
|
4050
|
-
*
|
|
4051
|
-
* Domain-specific card component for displaying artist information.
|
|
4052
|
-
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
4053
|
-
* Supports size variants (default, compact) and style variants (default, featured).
|
|
4054
|
-
*
|
|
4055
|
-
* @example
|
|
4056
|
-
* ```tsx
|
|
4057
|
-
* <ArtistCard
|
|
4058
|
-
* name="Artist Name"
|
|
4059
|
-
* genres="Jazz, Blues"
|
|
4060
|
-
* followers={1200}
|
|
4061
|
-
* plays={50000}
|
|
4062
|
-
* followersLabel="followers"
|
|
4063
|
-
* playsLabel="plays"
|
|
4064
|
-
* />
|
|
4065
|
-
* ```
|
|
4066
|
-
*/
|
|
4067
|
-
declare const ArtistCard: React$1.ForwardRefExoticComponent<ArtistCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4068
|
-
|
|
4069
|
-
/**
|
|
4070
|
-
* CategoryCard Size Variant
|
|
4071
|
-
*/
|
|
4072
|
-
type CategoryCardSize = "default" | "compact";
|
|
4073
|
-
/**
|
|
4074
|
-
* CategoryCard Style Variant
|
|
4075
|
-
*/
|
|
4076
|
-
type CategoryCardVariant = "default" | "featured";
|
|
4077
|
-
/**
|
|
4078
|
-
* Props for CategoryCard component.
|
|
4079
|
-
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
4080
|
-
*/
|
|
4081
|
-
interface CategoryCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4082
|
-
/** Category title (pre-localized string, required) */
|
|
4083
|
-
title: string;
|
|
4084
|
-
/** Category description (pre-localized string, optional) */
|
|
4085
|
-
description?: string;
|
|
4086
|
-
/** Image URL (optional) */
|
|
4087
|
-
imageUrl?: string;
|
|
4088
|
-
/** Link URL for category details page (optional) */
|
|
4089
|
-
href?: string;
|
|
4090
|
-
/** Whether this is a featured category */
|
|
4091
|
-
featured?: boolean;
|
|
4092
|
-
/** Badge text for featured categories (optional) */
|
|
4093
|
-
featuredBadgeText?: string;
|
|
4094
|
-
/** Show image section */
|
|
4095
|
-
showImage?: boolean;
|
|
4096
|
-
/** Size variant - controls padding and spacing */
|
|
4097
|
-
size?: CategoryCardSize;
|
|
4098
|
-
/** Style variant - controls visual appearance */
|
|
4099
|
-
variant?: CategoryCardVariant;
|
|
4100
|
-
/** Additional CSS classes */
|
|
4101
|
-
className?: string;
|
|
4102
|
-
/** Animation configuration for entrance and hover animations */
|
|
4103
|
-
animation?: ComponentAnimationConfig;
|
|
4104
|
-
}
|
|
4105
|
-
|
|
4106
|
-
/**
|
|
4107
|
-
* CategoryCard Component
|
|
4108
|
-
*
|
|
4109
|
-
* Domain-specific card component for displaying category information.
|
|
4110
|
-
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
4111
|
-
*
|
|
4112
|
-
* @example
|
|
4113
|
-
* ```tsx
|
|
4114
|
-
* <CategoryCard
|
|
4115
|
-
* title="Jazz"
|
|
4116
|
-
* description="Explore jazz events"
|
|
4117
|
-
* href="/categories/jazz"
|
|
4118
|
-
* />
|
|
4119
|
-
* ```
|
|
4120
|
-
*/
|
|
4121
|
-
declare const CategoryCard: React$1.ForwardRefExoticComponent<CategoryCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4122
|
-
|
|
4123
|
-
/**
|
|
4124
|
-
* PromoCard Size Variant
|
|
4125
|
-
*/
|
|
4126
|
-
type PromoCardSize = "default" | "compact";
|
|
4127
|
-
/**
|
|
4128
|
-
* PromoCard Style Variant
|
|
4129
|
-
*/
|
|
4130
|
-
type PromoCardVariant = "default" | "featured";
|
|
4131
|
-
/**
|
|
4132
|
-
* Props for PromoCard component.
|
|
4133
|
-
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
4134
|
-
*/
|
|
4135
|
-
interface PromoCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4136
|
-
/** Promo title (pre-localized string, required) */
|
|
4137
|
-
title: string;
|
|
4138
|
-
/** Promo description (pre-localized string, optional) */
|
|
4139
|
-
description?: string;
|
|
4140
|
-
/** Image URL (optional) */
|
|
4141
|
-
imageUrl?: string;
|
|
4142
|
-
/** Link URL for promo details page (optional) */
|
|
4143
|
-
href?: string;
|
|
4144
|
-
/** CTA button URL (optional) */
|
|
4145
|
-
ctaUrl?: string;
|
|
4146
|
-
/** Label for CTA button (required) */
|
|
4147
|
-
ctaLabel: string;
|
|
4148
|
-
/** Whether this is a featured promo */
|
|
4149
|
-
featured?: boolean;
|
|
4150
|
-
/** Badge text for featured promos (optional) */
|
|
4151
|
-
featuredBadgeText?: string;
|
|
4152
|
-
/** Show image section */
|
|
4153
|
-
showImage?: boolean;
|
|
4154
|
-
/** Size variant - controls padding and spacing */
|
|
4155
|
-
size?: PromoCardSize;
|
|
4156
|
-
/** Style variant - controls visual appearance */
|
|
4157
|
-
variant?: PromoCardVariant;
|
|
4158
|
-
/** Additional CSS classes */
|
|
4159
|
-
className?: string;
|
|
4160
|
-
/** Animation configuration for entrance and hover animations */
|
|
4161
|
-
animation?: ComponentAnimationConfig;
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
/**
|
|
4165
|
-
* PromoCard Component
|
|
4166
|
-
*
|
|
4167
|
-
* Domain-specific card component for displaying promotional content.
|
|
4168
|
-
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
4169
|
-
* CTA button uses DOMAIN_TOKENS.cta.button tokens for styling.
|
|
4170
|
-
*
|
|
4171
|
-
* @example
|
|
4172
|
-
* ```tsx
|
|
4173
|
-
* <PromoCard
|
|
4174
|
-
* title="Special Offer"
|
|
4175
|
-
* description="Get 20% off on all tickets"
|
|
4176
|
-
* ctaLabel="Learn More"
|
|
4177
|
-
* ctaUrl="/promo"
|
|
4178
|
-
* />
|
|
4179
|
-
* ```
|
|
4180
|
-
*/
|
|
4181
|
-
declare const PromoCard: React$1.ForwardRefExoticComponent<PromoCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4182
|
-
|
|
4183
|
-
/**
|
|
4184
|
-
* TicketCard Size Variant
|
|
4185
|
-
*/
|
|
4186
|
-
type TicketCardSize = "default" | "compact";
|
|
4187
|
-
/**
|
|
4188
|
-
* TicketCard Style Variant
|
|
4189
|
-
*/
|
|
4190
|
-
type TicketCardVariant = "default" | "featured";
|
|
4191
|
-
/**
|
|
4192
|
-
* Ticket Availability Status
|
|
4193
|
-
*/
|
|
4194
|
-
type TicketAvailability = "available" | "sold_out" | "available_soon";
|
|
4195
|
-
/**
|
|
4196
|
-
* Props for TicketCard component.
|
|
4197
|
-
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
4198
|
-
*/
|
|
4199
|
-
interface TicketCardProps {
|
|
4200
|
-
/** Ticket type/name (pre-localized string) */
|
|
4201
|
-
title: string;
|
|
4202
|
-
/** Event date (Date object, ISO string, or timestamp) */
|
|
4203
|
-
date?: string | Date | number;
|
|
4204
|
-
/** Ticket description (pre-localized string, optional) */
|
|
4205
|
-
description?: string;
|
|
4206
|
-
/** Price display string with currency (e.g., "€20", optional) */
|
|
4207
|
-
price?: string;
|
|
4208
|
-
/** Capacity display string (e.g., "50 tickets", optional) */
|
|
4209
|
-
capacity?: string;
|
|
4210
|
-
/** Availability status */
|
|
4211
|
-
availability?: TicketAvailability;
|
|
4212
|
-
/** Image URL (optional) */
|
|
4213
|
-
imageUrl?: string;
|
|
4214
|
-
/** Link URL for ticket details (optional) */
|
|
4215
|
-
href?: string;
|
|
4216
|
-
/** Purchase action URL (optional) */
|
|
4217
|
-
purchaseUrl?: string;
|
|
4218
|
-
/** Label for purchase button (required) */
|
|
4219
|
-
purchaseLabel: string;
|
|
4220
|
-
/** VIP badge text (optional) */
|
|
4221
|
-
vipBadgeText?: string;
|
|
4222
|
-
/** Discount badge text (optional) */
|
|
4223
|
-
discountBadgeText?: string;
|
|
4224
|
-
/** Whether this is a featured ticket */
|
|
4225
|
-
featured?: boolean;
|
|
4226
|
-
/** Badge text for featured tickets (optional) */
|
|
4227
|
-
featuredBadgeText?: string;
|
|
4228
|
-
/** Show image section */
|
|
4229
|
-
showImage?: boolean;
|
|
4230
|
-
/** Size variant - controls padding and spacing */
|
|
4231
|
-
size?: TicketCardSize;
|
|
4232
|
-
/** Style variant - controls visual appearance */
|
|
4233
|
-
variant?: TicketCardVariant;
|
|
4234
|
-
/** Additional CSS classes */
|
|
4235
|
-
className?: string;
|
|
4236
|
-
/** Animation configuration for entrance and hover animations */
|
|
4237
|
-
animation?: ComponentAnimationConfig;
|
|
4238
|
-
}
|
|
4239
|
-
|
|
4240
|
-
/**
|
|
4241
|
-
* TicketCard Component
|
|
4242
|
-
*
|
|
4243
|
-
* Domain-specific card component for displaying ticket information for Event/Artist/Venue context.
|
|
4244
|
-
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
4245
|
-
* Supports date display, price, capacity, availability status, and badges.
|
|
4246
|
-
*
|
|
4247
|
-
* @example
|
|
4248
|
-
* ```tsx
|
|
4249
|
-
* <TicketCard
|
|
4250
|
-
* title="VIP Ticket"
|
|
4251
|
-
* date={new Date("2024-12-25")}
|
|
4252
|
-
* price="€50"
|
|
4253
|
-
* capacity="10 tickets left"
|
|
4254
|
-
* purchaseLabel="Buy Now"
|
|
4255
|
-
* />
|
|
4256
|
-
* ```
|
|
4257
|
-
*/
|
|
4258
|
-
declare const TicketCard: React$1.ForwardRefExoticComponent<TicketCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4259
|
-
|
|
4260
|
-
/**
|
|
4261
|
-
* EventCard Size Variant
|
|
4262
|
-
* Controls padding, spacing, and overall card dimensions
|
|
4263
|
-
*/
|
|
4264
|
-
type EventCardSize = "default" | "compact";
|
|
4265
|
-
/**
|
|
4266
|
-
* EventCard Layout Variant
|
|
4267
|
-
* Controls card layout orientation
|
|
4268
|
-
*/
|
|
4269
|
-
type EventCardLayout = "vertical";
|
|
4270
|
-
/**
|
|
4271
|
-
* EventCard Style Variant
|
|
4272
|
-
* Controls visual appearance and featured state
|
|
4273
|
-
*/
|
|
4274
|
-
type EventCardVariant = "default" | "featured";
|
|
4275
|
-
/**
|
|
4276
|
-
* Props for EventCard component.
|
|
4277
|
-
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
4278
|
-
*
|
|
4279
|
-
* Component uses CARD_TOKENS and DOMAIN_TOKENS for all styling.
|
|
4280
|
-
* All visual values come from tokens - no hardcoded Tailwind classes.
|
|
4281
|
-
*/
|
|
4282
|
-
interface EventCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4283
|
-
/** Event title (pre-localized string) */
|
|
4284
|
-
title: string;
|
|
4285
|
-
/** Event description (pre-localized string, optional) */
|
|
4286
|
-
description?: string;
|
|
4287
|
-
/** Event date/time display string (pre-formatted, optional) */
|
|
4288
|
-
date?: string;
|
|
4289
|
-
/** Venue name (pre-localized string, optional) */
|
|
4290
|
-
venueName?: string;
|
|
4291
|
-
/** Price display string with currency (e.g., "€20 - €50", optional) */
|
|
4292
|
-
price?: string;
|
|
4293
|
-
/** Image URL (optional) */
|
|
4294
|
-
imageUrl?: string;
|
|
4295
|
-
/** Link URL for event details page (optional) */
|
|
4296
|
-
href?: string;
|
|
4297
|
-
/** External ticket purchase URL (optional) */
|
|
4298
|
-
ticketUrl?: string;
|
|
4299
|
-
/** Whether this is a featured event */
|
|
4300
|
-
featured?: boolean;
|
|
4301
|
-
/** Show image section */
|
|
4302
|
-
showImage?: boolean;
|
|
4303
|
-
/** Label for "Get Tickets" button (required) */
|
|
4304
|
-
getTicketsLabel: string;
|
|
4305
|
-
/** Badge text for featured events (optional) */
|
|
4306
|
-
featuredBadgeText?: string;
|
|
4307
|
-
/** Size variant - controls padding and spacing */
|
|
4308
|
-
size?: EventCardSize;
|
|
4309
|
-
/** Layout variant - controls card layout orientation */
|
|
4310
|
-
layout?: EventCardLayout;
|
|
4311
|
-
/** Style variant - controls visual appearance */
|
|
4312
|
-
variant?: EventCardVariant;
|
|
4313
|
-
/** Additional CSS classes */
|
|
4314
|
-
className?: string;
|
|
4315
|
-
/** Animation configuration for entrance and hover animations */
|
|
4316
|
-
animation?: ComponentAnimationConfig;
|
|
4317
|
-
}
|
|
4318
|
-
|
|
4319
|
-
/**
|
|
4320
|
-
* EventCard Component
|
|
4321
|
-
*
|
|
4322
|
-
* Domain-specific card component for displaying event information.
|
|
4323
|
-
* Uses CardBase for layout and CARD_TOKENS + DOMAIN_TOKENS for all styling.
|
|
4324
|
-
* All visual values come from tokens - no hardcoded Tailwind visual classes.
|
|
4325
|
-
*
|
|
4326
|
-
* Architecture:
|
|
4327
|
-
* - Uses CVA variants for size and layout variants
|
|
4328
|
-
* - All spacing, colors, radius from tokens
|
|
4329
|
-
* - Semantic HTML elements (heading, time, address)
|
|
4330
|
-
* - Full accessibility support
|
|
4331
|
-
*
|
|
4332
|
-
* @example
|
|
4333
|
-
* ```tsx
|
|
4334
|
-
* <EventCard
|
|
4335
|
-
* title="Concert"
|
|
4336
|
-
* date="2024-01-01"
|
|
4337
|
-
* venueName="Venue"
|
|
4338
|
-
* getTicketsLabel="Get Tickets"
|
|
4339
|
-
* />
|
|
4340
|
-
* ```
|
|
4341
|
-
*/
|
|
4342
|
-
declare const EventCard: React$1.ForwardRefExoticComponent<EventCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4343
|
-
|
|
4344
|
-
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, INPUT_TOKENS, 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, InputSize, 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 };
|
|
3711
|
+
export { Alert, type AlertProps, BADGE_VARIANTS, Backdrop, type BackdropProps, Badge, type BadgeProps, type BadgeVariant, Box, type BoxProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsItemProps, type BreadcrumbsRootProps, type BreadcrumbsSeparatorProps, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Checkbox, type CheckboxProps, 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, EmptyState, EmptyStateAction, type EmptyStateActionProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateIcon, type EmptyStateIconProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, 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, INPUT_TOKENS, 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, InputSize, LINK_SIZES, LINK_VARIANTS, Label, type LabelProps, Link, type LinkProps, type LinkSize, type LinkVariant, 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, Portal, type PortalProps, 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, type 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, Toast, ToastAction, type ToastData, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, ToastViewport, type ToastViewportProps, Toaster, alertVariants, badgeVariants, buttonVariants, checkboxVariants, surfaceVariants as containerSurfaceVariants, headingVariants, iconVariants, inputVariants, labelVariants, linkVariants, radioVariants, segmentedControlItemVariants, segmentedControlRootVariants, skeletonVariants, surfaceVariants, textVariants, textareaVariants, useNotificationCenter, useNotificationCenterContext, useTableContext, useToast };
|