@aviala-design/spiral 2.7.2 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-changelogs.json +158 -0
- package/dist/index.cjs +2969 -1318
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +222 -4
- package/dist/index.d.ts +222 -4
- package/dist/index.js +2732 -1068
- package/dist/index.js.map +1 -1
- package/dist/props.json +361 -0
- package/dist/styles.css +81 -5
- package/package.json +6 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ReactNode, CSSProperties, ButtonHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, ComponentPropsWithoutRef, HTMLAttributes, ImgHTMLAttributes, MouseEvent, AnchorHTMLAttributes, Ref, ReactElement } from 'react';
|
|
2
|
+
import { ReactNode, CSSProperties, ButtonHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, ComponentPropsWithoutRef, HTMLAttributes, ImgHTMLAttributes, MouseEvent, AnchorHTMLAttributes, Ref, ReactElement, VideoHTMLAttributes } from 'react';
|
|
3
3
|
import { ThemeMode, PaletteConfig, BaseNumbersDensity, ThemePreset } from '@aviala-design/tokens';
|
|
4
4
|
export { BaseNumbersDensity, DEFAULT_PALETTE_CONFIG, HueFamily, PALETTE_HUE_FAMILIES, PaletteConfig } from '@aviala-design/tokens';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -101,6 +101,28 @@ type LocaleUpload = {
|
|
|
101
101
|
title: string;
|
|
102
102
|
description: string;
|
|
103
103
|
};
|
|
104
|
+
type LocaleVideo = {
|
|
105
|
+
play: string;
|
|
106
|
+
pause: string;
|
|
107
|
+
previous: string;
|
|
108
|
+
next: string;
|
|
109
|
+
speed: string;
|
|
110
|
+
speedAdjust: string;
|
|
111
|
+
/** Template: `${rate}` */
|
|
112
|
+
speedRate: string;
|
|
113
|
+
mute: string;
|
|
114
|
+
unmute: string;
|
|
115
|
+
volume: string;
|
|
116
|
+
settings: string;
|
|
117
|
+
fullscreen: string;
|
|
118
|
+
exitFullscreen: string;
|
|
119
|
+
settingsTitle: string;
|
|
120
|
+
aspectRatio: string;
|
|
121
|
+
aspectOriginal: string;
|
|
122
|
+
aspectStretch: string;
|
|
123
|
+
aspectFill: string;
|
|
124
|
+
volumeBalance: string;
|
|
125
|
+
};
|
|
104
126
|
type LocaleColorPicker = {
|
|
105
127
|
placeholder: string;
|
|
106
128
|
hue: string;
|
|
@@ -118,9 +140,13 @@ type Locale = {
|
|
|
118
140
|
TimePicker: LocaleTimePicker;
|
|
119
141
|
Pagination: LocalePagination;
|
|
120
142
|
Upload: LocaleUpload;
|
|
143
|
+
Video: LocaleVideo;
|
|
121
144
|
Modal: {
|
|
122
145
|
close: string;
|
|
123
146
|
};
|
|
147
|
+
Drawer: {
|
|
148
|
+
close: string;
|
|
149
|
+
};
|
|
124
150
|
Feedback: {
|
|
125
151
|
close: string;
|
|
126
152
|
};
|
|
@@ -216,6 +242,19 @@ declare function forwardChevronSide(direction: Direction): PhysicalSide;
|
|
|
216
242
|
*/
|
|
217
243
|
declare function backChevronSide(direction: Direction): PhysicalSide;
|
|
218
244
|
|
|
245
|
+
type OverlayContainerProviderProps = {
|
|
246
|
+
container: HTMLElement | null;
|
|
247
|
+
children: ReactNode;
|
|
248
|
+
};
|
|
249
|
+
/** Nest overlays (Popover / Select / Tooltip) inside a stacking context such as Modal. */
|
|
250
|
+
declare function OverlayContainerProvider({ container, children, }: OverlayContainerProviderProps): react.JSX.Element;
|
|
251
|
+
/**
|
|
252
|
+
* Portal target for floating layers.
|
|
253
|
+
* Fullscreen element wins (browser only paints that subtree), then a nested
|
|
254
|
+
* overlay container (Modal), otherwise `document.body`.
|
|
255
|
+
*/
|
|
256
|
+
declare function useOverlayPortalContainer(): HTMLElement | undefined;
|
|
257
|
+
|
|
219
258
|
/** Figma Components → Basic Input → Button */
|
|
220
259
|
type ButtonMode = "primary" | "second" | "default" | "defaultCustom" | "outline" | "outlineCustom" | "noBackground" | "noBackgroundCustom" | "destructive";
|
|
221
260
|
type ButtonSize = "tiny" | "small" | "regular" | "big";
|
|
@@ -1721,6 +1760,75 @@ declare const ModalBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivE
|
|
|
1721
1760
|
type ModalFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
1722
1761
|
declare const ModalFooter: react.ForwardRefExoticComponent<ModalFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
1723
1762
|
|
|
1763
|
+
/** Figma Components → Drawer (2051:26823) */
|
|
1764
|
+
type DrawerPosition = "left" | "right" | "top" | "bottom";
|
|
1765
|
+
declare const drawerContentVariants: (props?: ({
|
|
1766
|
+
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
1767
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1768
|
+
type DrawerProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;
|
|
1769
|
+
declare const Drawer: react.FC<DialogPrimitive.DialogProps>;
|
|
1770
|
+
declare const DrawerTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1771
|
+
declare const DrawerPortal: react.FC<DialogPrimitive.DialogPortalProps>;
|
|
1772
|
+
declare const DrawerClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1773
|
+
type DrawerOverlayProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
1774
|
+
declare const DrawerOverlay: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1775
|
+
type DrawerContentProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & VariantProps<typeof drawerContentVariants> & {
|
|
1776
|
+
/** Render without Portal — use inside nested overlays. */
|
|
1777
|
+
portalled?: boolean;
|
|
1778
|
+
/** Show the default overlay scrim. */
|
|
1779
|
+
showOverlay?: boolean;
|
|
1780
|
+
};
|
|
1781
|
+
declare const DrawerContent: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
1782
|
+
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
1783
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
1784
|
+
/** Render without Portal — use inside nested overlays. */
|
|
1785
|
+
portalled?: boolean;
|
|
1786
|
+
/** Show the default overlay scrim. */
|
|
1787
|
+
showOverlay?: boolean;
|
|
1788
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1789
|
+
type DrawerHeaderProps = HTMLAttributes<HTMLDivElement> & {
|
|
1790
|
+
/** Optional leading status icon */
|
|
1791
|
+
icon?: ReactNode;
|
|
1792
|
+
/** Show the leading icon slot */
|
|
1793
|
+
showIcon?: boolean;
|
|
1794
|
+
/** Show the header close control */
|
|
1795
|
+
showClose?: boolean;
|
|
1796
|
+
closeLabel?: string;
|
|
1797
|
+
};
|
|
1798
|
+
declare const DrawerHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1799
|
+
/** Optional leading status icon */
|
|
1800
|
+
icon?: ReactNode;
|
|
1801
|
+
/** Show the leading icon slot */
|
|
1802
|
+
showIcon?: boolean;
|
|
1803
|
+
/** Show the header close control */
|
|
1804
|
+
showClose?: boolean;
|
|
1805
|
+
closeLabel?: string;
|
|
1806
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1807
|
+
type DrawerTitleProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
1808
|
+
declare const DrawerTitle: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
1809
|
+
type DrawerDescriptionProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
1810
|
+
declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
1811
|
+
/** Convenience wrapper — Figma header Typeface (text + caption). */
|
|
1812
|
+
type DrawerHeaderTextProps = Omit<DrawerHeaderProps, "children"> & {
|
|
1813
|
+
title: ReactNode;
|
|
1814
|
+
description?: ReactNode;
|
|
1815
|
+
};
|
|
1816
|
+
declare function DrawerHeaderText({ title, description, ...props }: DrawerHeaderTextProps): react.JSX.Element;
|
|
1817
|
+
type DrawerBodyProps = HTMLAttributes<HTMLDivElement> & {
|
|
1818
|
+
/** Figma `Content=Text` — title + body copy preset */
|
|
1819
|
+
layout?: "default" | "text";
|
|
1820
|
+
title?: ReactNode;
|
|
1821
|
+
description?: ReactNode;
|
|
1822
|
+
};
|
|
1823
|
+
declare const DrawerBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1824
|
+
/** Figma `Content=Text` — title + body copy preset */
|
|
1825
|
+
layout?: "default" | "text";
|
|
1826
|
+
title?: ReactNode;
|
|
1827
|
+
description?: ReactNode;
|
|
1828
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1829
|
+
type DrawerFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
1830
|
+
declare const DrawerFooter: react.ForwardRefExoticComponent<DrawerFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
1831
|
+
|
|
1724
1832
|
/** Default show delay — 300ms per ALD / Radix convention. */
|
|
1725
1833
|
declare const TOOLTIP_DELAY_DURATION = 300;
|
|
1726
1834
|
interface TooltipProviderProps {
|
|
@@ -2198,7 +2306,7 @@ declare const TabItem: react.ForwardRefExoticComponent<Omit<ButtonHTMLAttributes
|
|
|
2198
2306
|
/** Figma Components → Information Collect → Slider (384:21585) */
|
|
2199
2307
|
type SliderSize = "default" | "big";
|
|
2200
2308
|
type SliderType = "default" | "range";
|
|
2201
|
-
type SliderRootProps =
|
|
2309
|
+
type SliderRootProps = ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
|
|
2202
2310
|
declare const sliderVariants: (props?: ({
|
|
2203
2311
|
size?: "default" | "big" | null | undefined;
|
|
2204
2312
|
type?: "default" | "range" | null | undefined;
|
|
@@ -2206,6 +2314,8 @@ declare const sliderVariants: (props?: ({
|
|
|
2206
2314
|
type SliderProps = SliderRootProps & VariantProps<typeof sliderVariants> & {
|
|
2207
2315
|
/** Figma `Type` — single thumb vs range (two thumbs) */
|
|
2208
2316
|
type?: SliderType;
|
|
2317
|
+
/** Figma volume popover and other vertical tracks — `horizontal` (default) or `vertical`. */
|
|
2318
|
+
orientation?: "horizontal" | "vertical";
|
|
2209
2319
|
/**
|
|
2210
2320
|
* When true, hovering a thumb (and while dragging it) shows a value
|
|
2211
2321
|
* tooltip bound to that thumb.
|
|
@@ -2214,12 +2324,14 @@ type SliderProps = SliderRootProps & VariantProps<typeof sliderVariants> & {
|
|
|
2214
2324
|
/** Format the value tooltip label. Defaults to `String(value)`. */
|
|
2215
2325
|
formatValueTooltip?: (value: number, index: number) => ReactNode;
|
|
2216
2326
|
};
|
|
2217
|
-
declare const Slider: react.ForwardRefExoticComponent<
|
|
2327
|
+
declare const Slider: react.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & react.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
2218
2328
|
size?: "default" | "big" | null | undefined;
|
|
2219
2329
|
type?: "default" | "range" | null | undefined;
|
|
2220
2330
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
2221
2331
|
/** Figma `Type` — single thumb vs range (two thumbs) */
|
|
2222
2332
|
type?: SliderType;
|
|
2333
|
+
/** Figma volume popover and other vertical tracks — `horizontal` (default) or `vertical`. */
|
|
2334
|
+
orientation?: "horizontal" | "vertical";
|
|
2223
2335
|
/**
|
|
2224
2336
|
* When true, hovering a thumb (and while dragging it) shows a value
|
|
2225
2337
|
* tooltip bound to that thumb.
|
|
@@ -2267,6 +2379,112 @@ declare const Upload: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDi
|
|
|
2267
2379
|
inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "accept" | "multiple" | "disabled" | "onChange">;
|
|
2268
2380
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2269
2381
|
|
|
2382
|
+
/** Figma 画面比例 → CSS object-fit */
|
|
2383
|
+
type VideoObjectFit = "original" | "stretch" | "fill";
|
|
2384
|
+
declare function videoObjectFitToCss(fit: VideoObjectFit): string;
|
|
2385
|
+
declare function formatVideoTime(seconds: number): string;
|
|
2386
|
+
/** Parse `mm:ss`, `h:mm:ss`, or `current / duration` (uses the first segment). */
|
|
2387
|
+
declare function parseVideoTime(input: string): number | null;
|
|
2388
|
+
declare const DEFAULT_PLAYBACK_RATES: readonly [0.5, 1, 1.5, 2, 3];
|
|
2389
|
+
|
|
2390
|
+
/** Figma Components → Information Display → Video (1958:1400) Style */
|
|
2391
|
+
type VideoAppearance = "default" | "light";
|
|
2392
|
+
type VideoProps = Omit<VideoHTMLAttributes<HTMLVideoElement>, "controls" | "muted" | "onVolumeChange"> & {
|
|
2393
|
+
/** Figma `Style` — Default stacks the bar; Light floats a pill bar over the stage. */
|
|
2394
|
+
appearance?: VideoAppearance;
|
|
2395
|
+
/** Seconds to skip when Previous / Next have no playlist handlers. */
|
|
2396
|
+
skipSeconds?: number;
|
|
2397
|
+
/** Available playback rates in the speed popover. */
|
|
2398
|
+
playbackRates?: number[];
|
|
2399
|
+
muted?: boolean;
|
|
2400
|
+
defaultMuted?: boolean;
|
|
2401
|
+
onMutedChange?: (muted: boolean) => void;
|
|
2402
|
+
playbackRate?: number;
|
|
2403
|
+
defaultPlaybackRate?: number;
|
|
2404
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
2405
|
+
/** Figma 画面比例 — original→contain, stretch→fill, fill→cover. */
|
|
2406
|
+
objectFit?: VideoObjectFit;
|
|
2407
|
+
defaultObjectFit?: VideoObjectFit;
|
|
2408
|
+
onObjectFitChange?: (fit: VideoObjectFit) => void;
|
|
2409
|
+
/** Lightweight loudness balance via Web Audio DynamicsCompressor. */
|
|
2410
|
+
volumeBalance?: boolean;
|
|
2411
|
+
defaultVolumeBalance?: boolean;
|
|
2412
|
+
onVolumeBalanceChange?: (enabled: boolean) => void;
|
|
2413
|
+
/** Linear gain 0–1 (`HTMLMediaElement.volume`). */
|
|
2414
|
+
volume?: number;
|
|
2415
|
+
defaultVolume?: number;
|
|
2416
|
+
onVolumeChange?: (volume: number) => void;
|
|
2417
|
+
/** Override Previous (default: seek back `skipSeconds`). */
|
|
2418
|
+
onPrevious?: () => void;
|
|
2419
|
+
/** Override Next (default: seek forward `skipSeconds`). */
|
|
2420
|
+
onNext?: () => void;
|
|
2421
|
+
/**
|
|
2422
|
+
* Letterbox / pillarbox fill behind the media.
|
|
2423
|
+
* CSS color value — prefer a token, e.g. `var(--box-box-normal-background-blackonly)`.
|
|
2424
|
+
* Defaults to Black (`--box-box-normal-background-blackonly`).
|
|
2425
|
+
*/
|
|
2426
|
+
stageBackground?: string;
|
|
2427
|
+
/**
|
|
2428
|
+
* Auto-hide the control bar after idle (slide down + fade).
|
|
2429
|
+
* Pointer move / press on the player reveals it again.
|
|
2430
|
+
*/
|
|
2431
|
+
autoHideControls?: boolean;
|
|
2432
|
+
/** Idle time in ms before hiding when `autoHideControls` is on. Default 2500. */
|
|
2433
|
+
autoHideDelay?: number;
|
|
2434
|
+
className?: string;
|
|
2435
|
+
style?: CSSProperties;
|
|
2436
|
+
};
|
|
2437
|
+
type VideoHandle = {
|
|
2438
|
+
video: HTMLVideoElement | null;
|
|
2439
|
+
play: () => Promise<void> | undefined;
|
|
2440
|
+
pause: () => void;
|
|
2441
|
+
};
|
|
2442
|
+
declare const Video: react.ForwardRefExoticComponent<Omit<VideoHTMLAttributes<HTMLVideoElement>, "onVolumeChange" | "muted" | "controls"> & {
|
|
2443
|
+
/** Figma `Style` — Default stacks the bar; Light floats a pill bar over the stage. */
|
|
2444
|
+
appearance?: VideoAppearance;
|
|
2445
|
+
/** Seconds to skip when Previous / Next have no playlist handlers. */
|
|
2446
|
+
skipSeconds?: number;
|
|
2447
|
+
/** Available playback rates in the speed popover. */
|
|
2448
|
+
playbackRates?: number[];
|
|
2449
|
+
muted?: boolean;
|
|
2450
|
+
defaultMuted?: boolean;
|
|
2451
|
+
onMutedChange?: (muted: boolean) => void;
|
|
2452
|
+
playbackRate?: number;
|
|
2453
|
+
defaultPlaybackRate?: number;
|
|
2454
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
2455
|
+
/** Figma 画面比例 — original→contain, stretch→fill, fill→cover. */
|
|
2456
|
+
objectFit?: VideoObjectFit;
|
|
2457
|
+
defaultObjectFit?: VideoObjectFit;
|
|
2458
|
+
onObjectFitChange?: (fit: VideoObjectFit) => void;
|
|
2459
|
+
/** Lightweight loudness balance via Web Audio DynamicsCompressor. */
|
|
2460
|
+
volumeBalance?: boolean;
|
|
2461
|
+
defaultVolumeBalance?: boolean;
|
|
2462
|
+
onVolumeBalanceChange?: (enabled: boolean) => void;
|
|
2463
|
+
/** Linear gain 0–1 (`HTMLMediaElement.volume`). */
|
|
2464
|
+
volume?: number;
|
|
2465
|
+
defaultVolume?: number;
|
|
2466
|
+
onVolumeChange?: (volume: number) => void;
|
|
2467
|
+
/** Override Previous (default: seek back `skipSeconds`). */
|
|
2468
|
+
onPrevious?: () => void;
|
|
2469
|
+
/** Override Next (default: seek forward `skipSeconds`). */
|
|
2470
|
+
onNext?: () => void;
|
|
2471
|
+
/**
|
|
2472
|
+
* Letterbox / pillarbox fill behind the media.
|
|
2473
|
+
* CSS color value — prefer a token, e.g. `var(--box-box-normal-background-blackonly)`.
|
|
2474
|
+
* Defaults to Black (`--box-box-normal-background-blackonly`).
|
|
2475
|
+
*/
|
|
2476
|
+
stageBackground?: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* Auto-hide the control bar after idle (slide down + fade).
|
|
2479
|
+
* Pointer move / press on the player reveals it again.
|
|
2480
|
+
*/
|
|
2481
|
+
autoHideControls?: boolean;
|
|
2482
|
+
/** Idle time in ms before hiding when `autoHideControls` is on. Default 2500. */
|
|
2483
|
+
autoHideDelay?: number;
|
|
2484
|
+
className?: string;
|
|
2485
|
+
style?: CSSProperties;
|
|
2486
|
+
} & react.RefAttributes<VideoHandle>>;
|
|
2487
|
+
|
|
2270
2488
|
type ScrollPickerProps = HTMLAttributes<HTMLDivElement>;
|
|
2271
2489
|
declare function ScrollPicker({ className, children, ...props }: ScrollPickerProps): react.JSX.Element;
|
|
2272
2490
|
type ScrollPickerColumnProps<T = string> = {
|
|
@@ -2576,4 +2794,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2576
2794
|
*/
|
|
2577
2795
|
declare function initKeyboardFocus(): void;
|
|
2578
2796
|
|
|
2579
|
-
export { Alert, type AlertAppearance, type AlertProps, type AlertSize, type AlertType, Anchor, type AnchorIndentLevel, AnchorItem, type AnchorItemProps, type AnchorProps, Avatar, type AvatarContent, type AvatarLevel, type AvatarProps, Badge, type BadgeLevel, type BadgeLineHeightFix, type BadgeProps, type BadgeStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisItem, type BreadcrumbEllipsisItemProps, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbSize, Button, type ButtonMode, type ButtonProps, type ButtonSize, Card, CardBody, type CardBodyProps, CardBottom, type CardBottomProps, CardHead, type CardHeadProps, type CardProps, type CardSlotType, Cascader, CascaderColumn, type CascaderColumnProps, CascaderContent, type CascaderContentProps, CascaderField, type CascaderFieldProps, CascaderItem, type CascaderItemFunction, CascaderItemGroup, type CascaderItemGroupProps, type CascaderItemLayout, type CascaderItemProps, CascaderMenu, type CascaderMenuProps, type CascaderOption, CascaderOptionsMenu, type CascaderOptionsMenuProps, type CascaderProps, type CascaderSize, CascaderTrigger, type CascaderTriggerProps, Checkbox, CheckboxGroup, type CheckboxGroupDirection, type CheckboxGroupProps, CheckboxInput, type CheckboxInputProps, type CheckboxProps, type CheckboxSize, type ColorFormat, ColorPickButton, type ColorPickButtonProps, ColorPicker, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, ColorPickerInputs, type ColorPickerInputsProps, ColorPickerPanel, type ColorPickerPanelProps, ColorPickerPresets, type ColorPickerPresetsProps, type ColorPickerProps, ColorPickerSlider, type ColorPickerSliderProps, ColorPickerTrigger, type ColorPickerTriggerProps, ConfigProvider, type ConfigProviderProps, DEFAULT_COLOR, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerContent, type DatePickerContentProps, DatePickerField, type DatePickerFieldProps, type DatePickerMode, type DatePickerPanel, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DatePickerTimeValue, DatePickerTrigger, type DatePickerTriggerProps, type DateRange, type Direction, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, Form, FormField, type FormFieldControlledProps, type FormFieldDirection, type FormFieldLayoutProps, type FormFieldProps, type FormFieldRenderProps, type HSVA, HoverPopover, type HoverPopoverProps, Input, InputGroup, InputGroupAddon, type InputGroupProps, type InputProps, type InputSize, Label, Link, type LinkLevel, type LinkMode, type LinkProps, List, ListDivider, type ListDividerProps, ListGroup, type ListGroupProps, ListItem, ListItemGroup, type ListItemGroupProps, type ListItemLeading, type ListItemProps, type ListItemType, type ListProps, ListSeparator, type ListSeparatorProps, ListTitle, type ListTitleProps, Loading, type LoadingButtonSize, type LoadingLevel, type LoadingMode, type LoadingProps, type Locale, type LocaleComponentName, LocaleProvider, type LocaleProviderProps, Modal, ModalBody, type ModalBodyProps, ModalClose, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHeaderText, type ModalHeaderTextProps, ModalOverlay, type ModalOverlayProps, ModalPortal, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, ModalTrigger, Navigation, NavigationActions, type NavigationActionsProps, NavigationActionsSlot, type NavigationActionsSlotProps, type NavigationBackground, NavigationBrand, type NavigationBrandProps, NavigationBrandTitle, type NavigationBrandTitleProps, type NavigationDirection, NavigationGroup, type NavigationGroupProps, NavigationItem, NavigationItemGroup, type NavigationItemGroupProps, NavigationItemMenu, NavigationItemMenuContent, type NavigationItemMenuContentProps, NavigationItemMenuItem, type NavigationItemMenuItemProps, type NavigationItemMenuProps, NavigationItemMenuTrigger, type NavigationItemMenuTriggerProps, type NavigationItemProps, type NavigationItemType, type NavigationProps, NavigationSection, type NavigationSectionProps, NumberInput, type NumberInputProps, type NumberInputStyle, Pagehead, type PageheadProps, Pagination, type PaginationProps, type PhysicalSide, Popover, PopoverAnchor, type PopoverAppearance, PopoverContent, type PopoverContentLevel, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, RESPONSIVE_TOOLTIP_LONG_PRESS_MS, RadioGroup, type RadioGroupDirection, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioInput, type RadioInputProps, type RadioInputVariant, ResponsiveTooltip, type ResponsiveTooltipProps, Scroll, type ScrollOrientation, ScrollPicker, ScrollPickerColumn, type ScrollPickerColumnProps, ScrollPickerItem, type ScrollPickerItemProps, type ScrollPickerProps, type ScrollProps, type ScrollSize, type SegmentatorDirection, SegmentatorGroup, type SegmentatorGroupProps, SegmentatorItem, type SegmentatorItemProps, type SegmentatorMode, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemFunction, SelectItemGroup, type SelectItemGroupProps, type SelectItemLayout, SelectItemPeople, type SelectItemPeopleProps, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectSubItem, SelectSubItemPeople, type SelectSubItemPeopleProps, type SelectSubItemProps, SelectSubMenu, type SelectSubMenuProps, SelectTrigger, type SelectTriggerProps, SelectValue, Slider, type SliderProps, type SliderSize, type SliderType, Stack, type StackProps, Steps, type StepsDirection, StepsIcon, type StepsIconProps, StepsItem, type StepsItemProps, type StepsProps, type StepsState, Switch, type SwitchProps, type SwitchSize, TOOLTIP_DELAY_DURATION, Tab, type TabBackground, TabItem, type TabItemProps, type TabProps, type TabStyle, Table, TableCell, type TableCellContent, type TableCellProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tag, TagClose, type TagCloseProps, type TagContent, type TagLevel, type TagLineHeightFix, type TagProps, Textarea, type TextareaProps, type TextareaSize, ThemeProvider, type ThemeProviderProps, ThemeScript, TimePicker, TimePickerContent, type TimePickerContentProps, TimePickerField, type TimePickerFieldProps, TimePickerPanel, type TimePickerPanelProps, type TimePickerProps, type TimePickerSize, TimePickerTrigger, type TimePickerTriggerProps, type TimePickerValue, TimePickerWheels, type TimePickerWheelsValue, Tooltip, TooltipContent, type TooltipContentLevel, type TooltipContentProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, Typeface, type TypefaceContent, TypefacePair, type TypefacePairProps, type TypefaceProps, Typography, type TypographyContent, type TypographyLevel, type TypographyProps, type TypographyTone, Upload, type UploadProps, type UploadStyle, type UseColorPickerStateOptions, alertVariants, backChevronSide, buttonVariants, cn, enUS, formatDisplayDate, formatMonthYear, formatTimeValue, forwardChevronSide, initKeyboardFocus, inputRootVariants, interpolate, loadingLevelForButtonSize, mirrorSide, mirrorSideForDirection, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, typographyVariants, useColorPickerState, useDirection, useLocale, useLocaleMessages, useResolvedControlError, useRtl, useTheme, useThemeLayoutKey, zhCN };
|
|
2797
|
+
export { Alert, type AlertAppearance, type AlertProps, type AlertSize, type AlertType, Anchor, type AnchorIndentLevel, AnchorItem, type AnchorItemProps, type AnchorProps, Avatar, type AvatarContent, type AvatarLevel, type AvatarProps, Badge, type BadgeLevel, type BadgeLineHeightFix, type BadgeProps, type BadgeStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisItem, type BreadcrumbEllipsisItemProps, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbSize, Button, type ButtonMode, type ButtonProps, type ButtonSize, Card, CardBody, type CardBodyProps, CardBottom, type CardBottomProps, CardHead, type CardHeadProps, type CardProps, type CardSlotType, Cascader, CascaderColumn, type CascaderColumnProps, CascaderContent, type CascaderContentProps, CascaderField, type CascaderFieldProps, CascaderItem, type CascaderItemFunction, CascaderItemGroup, type CascaderItemGroupProps, type CascaderItemLayout, type CascaderItemProps, CascaderMenu, type CascaderMenuProps, type CascaderOption, CascaderOptionsMenu, type CascaderOptionsMenuProps, type CascaderProps, type CascaderSize, CascaderTrigger, type CascaderTriggerProps, Checkbox, CheckboxGroup, type CheckboxGroupDirection, type CheckboxGroupProps, CheckboxInput, type CheckboxInputProps, type CheckboxProps, type CheckboxSize, type ColorFormat, ColorPickButton, type ColorPickButtonProps, ColorPicker, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, ColorPickerInputs, type ColorPickerInputsProps, ColorPickerPanel, type ColorPickerPanelProps, ColorPickerPresets, type ColorPickerPresetsProps, type ColorPickerProps, ColorPickerSlider, type ColorPickerSliderProps, ColorPickerTrigger, type ColorPickerTriggerProps, ConfigProvider, type ConfigProviderProps, DEFAULT_COLOR, DEFAULT_PLAYBACK_RATES, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerContent, type DatePickerContentProps, DatePickerField, type DatePickerFieldProps, type DatePickerMode, type DatePickerPanel, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DatePickerTimeValue, DatePickerTrigger, type DatePickerTriggerProps, type DateRange, type Direction, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerHeaderText, type DrawerHeaderTextProps, DrawerOverlay, type DrawerOverlayProps, DrawerPortal, type DrawerPosition, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, Form, FormField, type FormFieldControlledProps, type FormFieldDirection, type FormFieldLayoutProps, type FormFieldProps, type FormFieldRenderProps, type HSVA, HoverPopover, type HoverPopoverProps, Input, InputGroup, InputGroupAddon, type InputGroupProps, type InputProps, type InputSize, Label, Link, type LinkLevel, type LinkMode, type LinkProps, List, ListDivider, type ListDividerProps, ListGroup, type ListGroupProps, ListItem, ListItemGroup, type ListItemGroupProps, type ListItemLeading, type ListItemProps, type ListItemType, type ListProps, ListSeparator, type ListSeparatorProps, ListTitle, type ListTitleProps, Loading, type LoadingButtonSize, type LoadingLevel, type LoadingMode, type LoadingProps, type Locale, type LocaleComponentName, LocaleProvider, type LocaleProviderProps, Modal, ModalBody, type ModalBodyProps, ModalClose, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHeaderText, type ModalHeaderTextProps, ModalOverlay, type ModalOverlayProps, ModalPortal, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, ModalTrigger, Navigation, NavigationActions, type NavigationActionsProps, NavigationActionsSlot, type NavigationActionsSlotProps, type NavigationBackground, NavigationBrand, type NavigationBrandProps, NavigationBrandTitle, type NavigationBrandTitleProps, type NavigationDirection, NavigationGroup, type NavigationGroupProps, NavigationItem, NavigationItemGroup, type NavigationItemGroupProps, NavigationItemMenu, NavigationItemMenuContent, type NavigationItemMenuContentProps, NavigationItemMenuItem, type NavigationItemMenuItemProps, type NavigationItemMenuProps, NavigationItemMenuTrigger, type NavigationItemMenuTriggerProps, type NavigationItemProps, type NavigationItemType, type NavigationProps, NavigationSection, type NavigationSectionProps, NumberInput, type NumberInputProps, type NumberInputStyle, OverlayContainerProvider, type OverlayContainerProviderProps, Pagehead, type PageheadProps, Pagination, type PaginationProps, type PhysicalSide, Popover, PopoverAnchor, type PopoverAppearance, PopoverContent, type PopoverContentLevel, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, RESPONSIVE_TOOLTIP_LONG_PRESS_MS, RadioGroup, type RadioGroupDirection, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioInput, type RadioInputProps, type RadioInputVariant, ResponsiveTooltip, type ResponsiveTooltipProps, Scroll, type ScrollOrientation, ScrollPicker, ScrollPickerColumn, type ScrollPickerColumnProps, ScrollPickerItem, type ScrollPickerItemProps, type ScrollPickerProps, type ScrollProps, type ScrollSize, type SegmentatorDirection, SegmentatorGroup, type SegmentatorGroupProps, SegmentatorItem, type SegmentatorItemProps, type SegmentatorMode, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemFunction, SelectItemGroup, type SelectItemGroupProps, type SelectItemLayout, SelectItemPeople, type SelectItemPeopleProps, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectSubItem, SelectSubItemPeople, type SelectSubItemPeopleProps, type SelectSubItemProps, SelectSubMenu, type SelectSubMenuProps, SelectTrigger, type SelectTriggerProps, SelectValue, Slider, type SliderProps, type SliderSize, type SliderType, Stack, type StackProps, Steps, type StepsDirection, StepsIcon, type StepsIconProps, StepsItem, type StepsItemProps, type StepsProps, type StepsState, Switch, type SwitchProps, type SwitchSize, TOOLTIP_DELAY_DURATION, Tab, type TabBackground, TabItem, type TabItemProps, type TabProps, type TabStyle, Table, TableCell, type TableCellContent, type TableCellProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tag, TagClose, type TagCloseProps, type TagContent, type TagLevel, type TagLineHeightFix, type TagProps, Textarea, type TextareaProps, type TextareaSize, ThemeProvider, type ThemeProviderProps, ThemeScript, TimePicker, TimePickerContent, type TimePickerContentProps, TimePickerField, type TimePickerFieldProps, TimePickerPanel, type TimePickerPanelProps, type TimePickerProps, type TimePickerSize, TimePickerTrigger, type TimePickerTriggerProps, type TimePickerValue, TimePickerWheels, type TimePickerWheelsValue, Tooltip, TooltipContent, type TooltipContentLevel, type TooltipContentProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, Typeface, type TypefaceContent, TypefacePair, type TypefacePairProps, type TypefaceProps, Typography, type TypographyContent, type TypographyLevel, type TypographyProps, type TypographyTone, Upload, type UploadProps, type UploadStyle, type UseColorPickerStateOptions, Video, type VideoAppearance, type VideoHandle, type VideoObjectFit, type VideoProps, alertVariants, backChevronSide, buttonVariants, cn, drawerContentVariants, enUS, formatDisplayDate, formatMonthYear, formatTimeValue, formatVideoTime, forwardChevronSide, initKeyboardFocus, inputRootVariants, interpolate, loadingLevelForButtonSize, mirrorSide, mirrorSideForDirection, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, parseVideoTime, typographyVariants, useColorPickerState, useDirection, useLocale, useLocaleMessages, useOverlayPortalContainer, useResolvedControlError, useRtl, useTheme, useThemeLayoutKey, videoObjectFitToCss, zhCN };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ReactNode, CSSProperties, ButtonHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, ComponentPropsWithoutRef, HTMLAttributes, ImgHTMLAttributes, MouseEvent, AnchorHTMLAttributes, Ref, ReactElement } from 'react';
|
|
2
|
+
import { ReactNode, CSSProperties, ButtonHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, ComponentPropsWithoutRef, HTMLAttributes, ImgHTMLAttributes, MouseEvent, AnchorHTMLAttributes, Ref, ReactElement, VideoHTMLAttributes } from 'react';
|
|
3
3
|
import { ThemeMode, PaletteConfig, BaseNumbersDensity, ThemePreset } from '@aviala-design/tokens';
|
|
4
4
|
export { BaseNumbersDensity, DEFAULT_PALETTE_CONFIG, HueFamily, PALETTE_HUE_FAMILIES, PaletteConfig } from '@aviala-design/tokens';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -101,6 +101,28 @@ type LocaleUpload = {
|
|
|
101
101
|
title: string;
|
|
102
102
|
description: string;
|
|
103
103
|
};
|
|
104
|
+
type LocaleVideo = {
|
|
105
|
+
play: string;
|
|
106
|
+
pause: string;
|
|
107
|
+
previous: string;
|
|
108
|
+
next: string;
|
|
109
|
+
speed: string;
|
|
110
|
+
speedAdjust: string;
|
|
111
|
+
/** Template: `${rate}` */
|
|
112
|
+
speedRate: string;
|
|
113
|
+
mute: string;
|
|
114
|
+
unmute: string;
|
|
115
|
+
volume: string;
|
|
116
|
+
settings: string;
|
|
117
|
+
fullscreen: string;
|
|
118
|
+
exitFullscreen: string;
|
|
119
|
+
settingsTitle: string;
|
|
120
|
+
aspectRatio: string;
|
|
121
|
+
aspectOriginal: string;
|
|
122
|
+
aspectStretch: string;
|
|
123
|
+
aspectFill: string;
|
|
124
|
+
volumeBalance: string;
|
|
125
|
+
};
|
|
104
126
|
type LocaleColorPicker = {
|
|
105
127
|
placeholder: string;
|
|
106
128
|
hue: string;
|
|
@@ -118,9 +140,13 @@ type Locale = {
|
|
|
118
140
|
TimePicker: LocaleTimePicker;
|
|
119
141
|
Pagination: LocalePagination;
|
|
120
142
|
Upload: LocaleUpload;
|
|
143
|
+
Video: LocaleVideo;
|
|
121
144
|
Modal: {
|
|
122
145
|
close: string;
|
|
123
146
|
};
|
|
147
|
+
Drawer: {
|
|
148
|
+
close: string;
|
|
149
|
+
};
|
|
124
150
|
Feedback: {
|
|
125
151
|
close: string;
|
|
126
152
|
};
|
|
@@ -216,6 +242,19 @@ declare function forwardChevronSide(direction: Direction): PhysicalSide;
|
|
|
216
242
|
*/
|
|
217
243
|
declare function backChevronSide(direction: Direction): PhysicalSide;
|
|
218
244
|
|
|
245
|
+
type OverlayContainerProviderProps = {
|
|
246
|
+
container: HTMLElement | null;
|
|
247
|
+
children: ReactNode;
|
|
248
|
+
};
|
|
249
|
+
/** Nest overlays (Popover / Select / Tooltip) inside a stacking context such as Modal. */
|
|
250
|
+
declare function OverlayContainerProvider({ container, children, }: OverlayContainerProviderProps): react.JSX.Element;
|
|
251
|
+
/**
|
|
252
|
+
* Portal target for floating layers.
|
|
253
|
+
* Fullscreen element wins (browser only paints that subtree), then a nested
|
|
254
|
+
* overlay container (Modal), otherwise `document.body`.
|
|
255
|
+
*/
|
|
256
|
+
declare function useOverlayPortalContainer(): HTMLElement | undefined;
|
|
257
|
+
|
|
219
258
|
/** Figma Components → Basic Input → Button */
|
|
220
259
|
type ButtonMode = "primary" | "second" | "default" | "defaultCustom" | "outline" | "outlineCustom" | "noBackground" | "noBackgroundCustom" | "destructive";
|
|
221
260
|
type ButtonSize = "tiny" | "small" | "regular" | "big";
|
|
@@ -1721,6 +1760,75 @@ declare const ModalBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivE
|
|
|
1721
1760
|
type ModalFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
1722
1761
|
declare const ModalFooter: react.ForwardRefExoticComponent<ModalFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
1723
1762
|
|
|
1763
|
+
/** Figma Components → Drawer (2051:26823) */
|
|
1764
|
+
type DrawerPosition = "left" | "right" | "top" | "bottom";
|
|
1765
|
+
declare const drawerContentVariants: (props?: ({
|
|
1766
|
+
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
1767
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1768
|
+
type DrawerProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;
|
|
1769
|
+
declare const Drawer: react.FC<DialogPrimitive.DialogProps>;
|
|
1770
|
+
declare const DrawerTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1771
|
+
declare const DrawerPortal: react.FC<DialogPrimitive.DialogPortalProps>;
|
|
1772
|
+
declare const DrawerClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1773
|
+
type DrawerOverlayProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
1774
|
+
declare const DrawerOverlay: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1775
|
+
type DrawerContentProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & VariantProps<typeof drawerContentVariants> & {
|
|
1776
|
+
/** Render without Portal — use inside nested overlays. */
|
|
1777
|
+
portalled?: boolean;
|
|
1778
|
+
/** Show the default overlay scrim. */
|
|
1779
|
+
showOverlay?: boolean;
|
|
1780
|
+
};
|
|
1781
|
+
declare const DrawerContent: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
1782
|
+
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
1783
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
1784
|
+
/** Render without Portal — use inside nested overlays. */
|
|
1785
|
+
portalled?: boolean;
|
|
1786
|
+
/** Show the default overlay scrim. */
|
|
1787
|
+
showOverlay?: boolean;
|
|
1788
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1789
|
+
type DrawerHeaderProps = HTMLAttributes<HTMLDivElement> & {
|
|
1790
|
+
/** Optional leading status icon */
|
|
1791
|
+
icon?: ReactNode;
|
|
1792
|
+
/** Show the leading icon slot */
|
|
1793
|
+
showIcon?: boolean;
|
|
1794
|
+
/** Show the header close control */
|
|
1795
|
+
showClose?: boolean;
|
|
1796
|
+
closeLabel?: string;
|
|
1797
|
+
};
|
|
1798
|
+
declare const DrawerHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1799
|
+
/** Optional leading status icon */
|
|
1800
|
+
icon?: ReactNode;
|
|
1801
|
+
/** Show the leading icon slot */
|
|
1802
|
+
showIcon?: boolean;
|
|
1803
|
+
/** Show the header close control */
|
|
1804
|
+
showClose?: boolean;
|
|
1805
|
+
closeLabel?: string;
|
|
1806
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1807
|
+
type DrawerTitleProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
|
|
1808
|
+
declare const DrawerTitle: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
1809
|
+
type DrawerDescriptionProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
1810
|
+
declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
1811
|
+
/** Convenience wrapper — Figma header Typeface (text + caption). */
|
|
1812
|
+
type DrawerHeaderTextProps = Omit<DrawerHeaderProps, "children"> & {
|
|
1813
|
+
title: ReactNode;
|
|
1814
|
+
description?: ReactNode;
|
|
1815
|
+
};
|
|
1816
|
+
declare function DrawerHeaderText({ title, description, ...props }: DrawerHeaderTextProps): react.JSX.Element;
|
|
1817
|
+
type DrawerBodyProps = HTMLAttributes<HTMLDivElement> & {
|
|
1818
|
+
/** Figma `Content=Text` — title + body copy preset */
|
|
1819
|
+
layout?: "default" | "text";
|
|
1820
|
+
title?: ReactNode;
|
|
1821
|
+
description?: ReactNode;
|
|
1822
|
+
};
|
|
1823
|
+
declare const DrawerBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1824
|
+
/** Figma `Content=Text` — title + body copy preset */
|
|
1825
|
+
layout?: "default" | "text";
|
|
1826
|
+
title?: ReactNode;
|
|
1827
|
+
description?: ReactNode;
|
|
1828
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1829
|
+
type DrawerFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
1830
|
+
declare const DrawerFooter: react.ForwardRefExoticComponent<DrawerFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
1831
|
+
|
|
1724
1832
|
/** Default show delay — 300ms per ALD / Radix convention. */
|
|
1725
1833
|
declare const TOOLTIP_DELAY_DURATION = 300;
|
|
1726
1834
|
interface TooltipProviderProps {
|
|
@@ -2198,7 +2306,7 @@ declare const TabItem: react.ForwardRefExoticComponent<Omit<ButtonHTMLAttributes
|
|
|
2198
2306
|
/** Figma Components → Information Collect → Slider (384:21585) */
|
|
2199
2307
|
type SliderSize = "default" | "big";
|
|
2200
2308
|
type SliderType = "default" | "range";
|
|
2201
|
-
type SliderRootProps =
|
|
2309
|
+
type SliderRootProps = ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
|
|
2202
2310
|
declare const sliderVariants: (props?: ({
|
|
2203
2311
|
size?: "default" | "big" | null | undefined;
|
|
2204
2312
|
type?: "default" | "range" | null | undefined;
|
|
@@ -2206,6 +2314,8 @@ declare const sliderVariants: (props?: ({
|
|
|
2206
2314
|
type SliderProps = SliderRootProps & VariantProps<typeof sliderVariants> & {
|
|
2207
2315
|
/** Figma `Type` — single thumb vs range (two thumbs) */
|
|
2208
2316
|
type?: SliderType;
|
|
2317
|
+
/** Figma volume popover and other vertical tracks — `horizontal` (default) or `vertical`. */
|
|
2318
|
+
orientation?: "horizontal" | "vertical";
|
|
2209
2319
|
/**
|
|
2210
2320
|
* When true, hovering a thumb (and while dragging it) shows a value
|
|
2211
2321
|
* tooltip bound to that thumb.
|
|
@@ -2214,12 +2324,14 @@ type SliderProps = SliderRootProps & VariantProps<typeof sliderVariants> & {
|
|
|
2214
2324
|
/** Format the value tooltip label. Defaults to `String(value)`. */
|
|
2215
2325
|
formatValueTooltip?: (value: number, index: number) => ReactNode;
|
|
2216
2326
|
};
|
|
2217
|
-
declare const Slider: react.ForwardRefExoticComponent<
|
|
2327
|
+
declare const Slider: react.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & react.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
2218
2328
|
size?: "default" | "big" | null | undefined;
|
|
2219
2329
|
type?: "default" | "range" | null | undefined;
|
|
2220
2330
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
2221
2331
|
/** Figma `Type` — single thumb vs range (two thumbs) */
|
|
2222
2332
|
type?: SliderType;
|
|
2333
|
+
/** Figma volume popover and other vertical tracks — `horizontal` (default) or `vertical`. */
|
|
2334
|
+
orientation?: "horizontal" | "vertical";
|
|
2223
2335
|
/**
|
|
2224
2336
|
* When true, hovering a thumb (and while dragging it) shows a value
|
|
2225
2337
|
* tooltip bound to that thumb.
|
|
@@ -2267,6 +2379,112 @@ declare const Upload: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDi
|
|
|
2267
2379
|
inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "accept" | "multiple" | "disabled" | "onChange">;
|
|
2268
2380
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2269
2381
|
|
|
2382
|
+
/** Figma 画面比例 → CSS object-fit */
|
|
2383
|
+
type VideoObjectFit = "original" | "stretch" | "fill";
|
|
2384
|
+
declare function videoObjectFitToCss(fit: VideoObjectFit): string;
|
|
2385
|
+
declare function formatVideoTime(seconds: number): string;
|
|
2386
|
+
/** Parse `mm:ss`, `h:mm:ss`, or `current / duration` (uses the first segment). */
|
|
2387
|
+
declare function parseVideoTime(input: string): number | null;
|
|
2388
|
+
declare const DEFAULT_PLAYBACK_RATES: readonly [0.5, 1, 1.5, 2, 3];
|
|
2389
|
+
|
|
2390
|
+
/** Figma Components → Information Display → Video (1958:1400) Style */
|
|
2391
|
+
type VideoAppearance = "default" | "light";
|
|
2392
|
+
type VideoProps = Omit<VideoHTMLAttributes<HTMLVideoElement>, "controls" | "muted" | "onVolumeChange"> & {
|
|
2393
|
+
/** Figma `Style` — Default stacks the bar; Light floats a pill bar over the stage. */
|
|
2394
|
+
appearance?: VideoAppearance;
|
|
2395
|
+
/** Seconds to skip when Previous / Next have no playlist handlers. */
|
|
2396
|
+
skipSeconds?: number;
|
|
2397
|
+
/** Available playback rates in the speed popover. */
|
|
2398
|
+
playbackRates?: number[];
|
|
2399
|
+
muted?: boolean;
|
|
2400
|
+
defaultMuted?: boolean;
|
|
2401
|
+
onMutedChange?: (muted: boolean) => void;
|
|
2402
|
+
playbackRate?: number;
|
|
2403
|
+
defaultPlaybackRate?: number;
|
|
2404
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
2405
|
+
/** Figma 画面比例 — original→contain, stretch→fill, fill→cover. */
|
|
2406
|
+
objectFit?: VideoObjectFit;
|
|
2407
|
+
defaultObjectFit?: VideoObjectFit;
|
|
2408
|
+
onObjectFitChange?: (fit: VideoObjectFit) => void;
|
|
2409
|
+
/** Lightweight loudness balance via Web Audio DynamicsCompressor. */
|
|
2410
|
+
volumeBalance?: boolean;
|
|
2411
|
+
defaultVolumeBalance?: boolean;
|
|
2412
|
+
onVolumeBalanceChange?: (enabled: boolean) => void;
|
|
2413
|
+
/** Linear gain 0–1 (`HTMLMediaElement.volume`). */
|
|
2414
|
+
volume?: number;
|
|
2415
|
+
defaultVolume?: number;
|
|
2416
|
+
onVolumeChange?: (volume: number) => void;
|
|
2417
|
+
/** Override Previous (default: seek back `skipSeconds`). */
|
|
2418
|
+
onPrevious?: () => void;
|
|
2419
|
+
/** Override Next (default: seek forward `skipSeconds`). */
|
|
2420
|
+
onNext?: () => void;
|
|
2421
|
+
/**
|
|
2422
|
+
* Letterbox / pillarbox fill behind the media.
|
|
2423
|
+
* CSS color value — prefer a token, e.g. `var(--box-box-normal-background-blackonly)`.
|
|
2424
|
+
* Defaults to Black (`--box-box-normal-background-blackonly`).
|
|
2425
|
+
*/
|
|
2426
|
+
stageBackground?: string;
|
|
2427
|
+
/**
|
|
2428
|
+
* Auto-hide the control bar after idle (slide down + fade).
|
|
2429
|
+
* Pointer move / press on the player reveals it again.
|
|
2430
|
+
*/
|
|
2431
|
+
autoHideControls?: boolean;
|
|
2432
|
+
/** Idle time in ms before hiding when `autoHideControls` is on. Default 2500. */
|
|
2433
|
+
autoHideDelay?: number;
|
|
2434
|
+
className?: string;
|
|
2435
|
+
style?: CSSProperties;
|
|
2436
|
+
};
|
|
2437
|
+
type VideoHandle = {
|
|
2438
|
+
video: HTMLVideoElement | null;
|
|
2439
|
+
play: () => Promise<void> | undefined;
|
|
2440
|
+
pause: () => void;
|
|
2441
|
+
};
|
|
2442
|
+
declare const Video: react.ForwardRefExoticComponent<Omit<VideoHTMLAttributes<HTMLVideoElement>, "onVolumeChange" | "muted" | "controls"> & {
|
|
2443
|
+
/** Figma `Style` — Default stacks the bar; Light floats a pill bar over the stage. */
|
|
2444
|
+
appearance?: VideoAppearance;
|
|
2445
|
+
/** Seconds to skip when Previous / Next have no playlist handlers. */
|
|
2446
|
+
skipSeconds?: number;
|
|
2447
|
+
/** Available playback rates in the speed popover. */
|
|
2448
|
+
playbackRates?: number[];
|
|
2449
|
+
muted?: boolean;
|
|
2450
|
+
defaultMuted?: boolean;
|
|
2451
|
+
onMutedChange?: (muted: boolean) => void;
|
|
2452
|
+
playbackRate?: number;
|
|
2453
|
+
defaultPlaybackRate?: number;
|
|
2454
|
+
onPlaybackRateChange?: (rate: number) => void;
|
|
2455
|
+
/** Figma 画面比例 — original→contain, stretch→fill, fill→cover. */
|
|
2456
|
+
objectFit?: VideoObjectFit;
|
|
2457
|
+
defaultObjectFit?: VideoObjectFit;
|
|
2458
|
+
onObjectFitChange?: (fit: VideoObjectFit) => void;
|
|
2459
|
+
/** Lightweight loudness balance via Web Audio DynamicsCompressor. */
|
|
2460
|
+
volumeBalance?: boolean;
|
|
2461
|
+
defaultVolumeBalance?: boolean;
|
|
2462
|
+
onVolumeBalanceChange?: (enabled: boolean) => void;
|
|
2463
|
+
/** Linear gain 0–1 (`HTMLMediaElement.volume`). */
|
|
2464
|
+
volume?: number;
|
|
2465
|
+
defaultVolume?: number;
|
|
2466
|
+
onVolumeChange?: (volume: number) => void;
|
|
2467
|
+
/** Override Previous (default: seek back `skipSeconds`). */
|
|
2468
|
+
onPrevious?: () => void;
|
|
2469
|
+
/** Override Next (default: seek forward `skipSeconds`). */
|
|
2470
|
+
onNext?: () => void;
|
|
2471
|
+
/**
|
|
2472
|
+
* Letterbox / pillarbox fill behind the media.
|
|
2473
|
+
* CSS color value — prefer a token, e.g. `var(--box-box-normal-background-blackonly)`.
|
|
2474
|
+
* Defaults to Black (`--box-box-normal-background-blackonly`).
|
|
2475
|
+
*/
|
|
2476
|
+
stageBackground?: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* Auto-hide the control bar after idle (slide down + fade).
|
|
2479
|
+
* Pointer move / press on the player reveals it again.
|
|
2480
|
+
*/
|
|
2481
|
+
autoHideControls?: boolean;
|
|
2482
|
+
/** Idle time in ms before hiding when `autoHideControls` is on. Default 2500. */
|
|
2483
|
+
autoHideDelay?: number;
|
|
2484
|
+
className?: string;
|
|
2485
|
+
style?: CSSProperties;
|
|
2486
|
+
} & react.RefAttributes<VideoHandle>>;
|
|
2487
|
+
|
|
2270
2488
|
type ScrollPickerProps = HTMLAttributes<HTMLDivElement>;
|
|
2271
2489
|
declare function ScrollPicker({ className, children, ...props }: ScrollPickerProps): react.JSX.Element;
|
|
2272
2490
|
type ScrollPickerColumnProps<T = string> = {
|
|
@@ -2576,4 +2794,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2576
2794
|
*/
|
|
2577
2795
|
declare function initKeyboardFocus(): void;
|
|
2578
2796
|
|
|
2579
|
-
export { Alert, type AlertAppearance, type AlertProps, type AlertSize, type AlertType, Anchor, type AnchorIndentLevel, AnchorItem, type AnchorItemProps, type AnchorProps, Avatar, type AvatarContent, type AvatarLevel, type AvatarProps, Badge, type BadgeLevel, type BadgeLineHeightFix, type BadgeProps, type BadgeStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisItem, type BreadcrumbEllipsisItemProps, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbSize, Button, type ButtonMode, type ButtonProps, type ButtonSize, Card, CardBody, type CardBodyProps, CardBottom, type CardBottomProps, CardHead, type CardHeadProps, type CardProps, type CardSlotType, Cascader, CascaderColumn, type CascaderColumnProps, CascaderContent, type CascaderContentProps, CascaderField, type CascaderFieldProps, CascaderItem, type CascaderItemFunction, CascaderItemGroup, type CascaderItemGroupProps, type CascaderItemLayout, type CascaderItemProps, CascaderMenu, type CascaderMenuProps, type CascaderOption, CascaderOptionsMenu, type CascaderOptionsMenuProps, type CascaderProps, type CascaderSize, CascaderTrigger, type CascaderTriggerProps, Checkbox, CheckboxGroup, type CheckboxGroupDirection, type CheckboxGroupProps, CheckboxInput, type CheckboxInputProps, type CheckboxProps, type CheckboxSize, type ColorFormat, ColorPickButton, type ColorPickButtonProps, ColorPicker, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, ColorPickerInputs, type ColorPickerInputsProps, ColorPickerPanel, type ColorPickerPanelProps, ColorPickerPresets, type ColorPickerPresetsProps, type ColorPickerProps, ColorPickerSlider, type ColorPickerSliderProps, ColorPickerTrigger, type ColorPickerTriggerProps, ConfigProvider, type ConfigProviderProps, DEFAULT_COLOR, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerContent, type DatePickerContentProps, DatePickerField, type DatePickerFieldProps, type DatePickerMode, type DatePickerPanel, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DatePickerTimeValue, DatePickerTrigger, type DatePickerTriggerProps, type DateRange, type Direction, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, Form, FormField, type FormFieldControlledProps, type FormFieldDirection, type FormFieldLayoutProps, type FormFieldProps, type FormFieldRenderProps, type HSVA, HoverPopover, type HoverPopoverProps, Input, InputGroup, InputGroupAddon, type InputGroupProps, type InputProps, type InputSize, Label, Link, type LinkLevel, type LinkMode, type LinkProps, List, ListDivider, type ListDividerProps, ListGroup, type ListGroupProps, ListItem, ListItemGroup, type ListItemGroupProps, type ListItemLeading, type ListItemProps, type ListItemType, type ListProps, ListSeparator, type ListSeparatorProps, ListTitle, type ListTitleProps, Loading, type LoadingButtonSize, type LoadingLevel, type LoadingMode, type LoadingProps, type Locale, type LocaleComponentName, LocaleProvider, type LocaleProviderProps, Modal, ModalBody, type ModalBodyProps, ModalClose, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHeaderText, type ModalHeaderTextProps, ModalOverlay, type ModalOverlayProps, ModalPortal, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, ModalTrigger, Navigation, NavigationActions, type NavigationActionsProps, NavigationActionsSlot, type NavigationActionsSlotProps, type NavigationBackground, NavigationBrand, type NavigationBrandProps, NavigationBrandTitle, type NavigationBrandTitleProps, type NavigationDirection, NavigationGroup, type NavigationGroupProps, NavigationItem, NavigationItemGroup, type NavigationItemGroupProps, NavigationItemMenu, NavigationItemMenuContent, type NavigationItemMenuContentProps, NavigationItemMenuItem, type NavigationItemMenuItemProps, type NavigationItemMenuProps, NavigationItemMenuTrigger, type NavigationItemMenuTriggerProps, type NavigationItemProps, type NavigationItemType, type NavigationProps, NavigationSection, type NavigationSectionProps, NumberInput, type NumberInputProps, type NumberInputStyle, Pagehead, type PageheadProps, Pagination, type PaginationProps, type PhysicalSide, Popover, PopoverAnchor, type PopoverAppearance, PopoverContent, type PopoverContentLevel, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, RESPONSIVE_TOOLTIP_LONG_PRESS_MS, RadioGroup, type RadioGroupDirection, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioInput, type RadioInputProps, type RadioInputVariant, ResponsiveTooltip, type ResponsiveTooltipProps, Scroll, type ScrollOrientation, ScrollPicker, ScrollPickerColumn, type ScrollPickerColumnProps, ScrollPickerItem, type ScrollPickerItemProps, type ScrollPickerProps, type ScrollProps, type ScrollSize, type SegmentatorDirection, SegmentatorGroup, type SegmentatorGroupProps, SegmentatorItem, type SegmentatorItemProps, type SegmentatorMode, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemFunction, SelectItemGroup, type SelectItemGroupProps, type SelectItemLayout, SelectItemPeople, type SelectItemPeopleProps, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectSubItem, SelectSubItemPeople, type SelectSubItemPeopleProps, type SelectSubItemProps, SelectSubMenu, type SelectSubMenuProps, SelectTrigger, type SelectTriggerProps, SelectValue, Slider, type SliderProps, type SliderSize, type SliderType, Stack, type StackProps, Steps, type StepsDirection, StepsIcon, type StepsIconProps, StepsItem, type StepsItemProps, type StepsProps, type StepsState, Switch, type SwitchProps, type SwitchSize, TOOLTIP_DELAY_DURATION, Tab, type TabBackground, TabItem, type TabItemProps, type TabProps, type TabStyle, Table, TableCell, type TableCellContent, type TableCellProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tag, TagClose, type TagCloseProps, type TagContent, type TagLevel, type TagLineHeightFix, type TagProps, Textarea, type TextareaProps, type TextareaSize, ThemeProvider, type ThemeProviderProps, ThemeScript, TimePicker, TimePickerContent, type TimePickerContentProps, TimePickerField, type TimePickerFieldProps, TimePickerPanel, type TimePickerPanelProps, type TimePickerProps, type TimePickerSize, TimePickerTrigger, type TimePickerTriggerProps, type TimePickerValue, TimePickerWheels, type TimePickerWheelsValue, Tooltip, TooltipContent, type TooltipContentLevel, type TooltipContentProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, Typeface, type TypefaceContent, TypefacePair, type TypefacePairProps, type TypefaceProps, Typography, type TypographyContent, type TypographyLevel, type TypographyProps, type TypographyTone, Upload, type UploadProps, type UploadStyle, type UseColorPickerStateOptions, alertVariants, backChevronSide, buttonVariants, cn, enUS, formatDisplayDate, formatMonthYear, formatTimeValue, forwardChevronSide, initKeyboardFocus, inputRootVariants, interpolate, loadingLevelForButtonSize, mirrorSide, mirrorSideForDirection, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, typographyVariants, useColorPickerState, useDirection, useLocale, useLocaleMessages, useResolvedControlError, useRtl, useTheme, useThemeLayoutKey, zhCN };
|
|
2797
|
+
export { Alert, type AlertAppearance, type AlertProps, type AlertSize, type AlertType, Anchor, type AnchorIndentLevel, AnchorItem, type AnchorItemProps, type AnchorProps, Avatar, type AvatarContent, type AvatarLevel, type AvatarProps, Badge, type BadgeLevel, type BadgeLineHeightFix, type BadgeProps, type BadgeStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisItem, type BreadcrumbEllipsisItemProps, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbSize, Button, type ButtonMode, type ButtonProps, type ButtonSize, Card, CardBody, type CardBodyProps, CardBottom, type CardBottomProps, CardHead, type CardHeadProps, type CardProps, type CardSlotType, Cascader, CascaderColumn, type CascaderColumnProps, CascaderContent, type CascaderContentProps, CascaderField, type CascaderFieldProps, CascaderItem, type CascaderItemFunction, CascaderItemGroup, type CascaderItemGroupProps, type CascaderItemLayout, type CascaderItemProps, CascaderMenu, type CascaderMenuProps, type CascaderOption, CascaderOptionsMenu, type CascaderOptionsMenuProps, type CascaderProps, type CascaderSize, CascaderTrigger, type CascaderTriggerProps, Checkbox, CheckboxGroup, type CheckboxGroupDirection, type CheckboxGroupProps, CheckboxInput, type CheckboxInputProps, type CheckboxProps, type CheckboxSize, type ColorFormat, ColorPickButton, type ColorPickButtonProps, ColorPicker, ColorPickerArea, type ColorPickerAreaProps, ColorPickerContent, type ColorPickerContentProps, ColorPickerInputs, type ColorPickerInputsProps, ColorPickerPanel, type ColorPickerPanelProps, ColorPickerPresets, type ColorPickerPresetsProps, type ColorPickerProps, ColorPickerSlider, type ColorPickerSliderProps, ColorPickerTrigger, type ColorPickerTriggerProps, ConfigProvider, type ConfigProviderProps, DEFAULT_COLOR, DEFAULT_PLAYBACK_RATES, DatePicker, DatePickerCalendar, type DatePickerCalendarProps, DatePickerContent, type DatePickerContentProps, DatePickerField, type DatePickerFieldProps, type DatePickerMode, type DatePickerPanel, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DatePickerTimeValue, DatePickerTrigger, type DatePickerTriggerProps, type DateRange, type Direction, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerHeaderText, type DrawerHeaderTextProps, DrawerOverlay, type DrawerOverlayProps, DrawerPortal, type DrawerPosition, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, Form, FormField, type FormFieldControlledProps, type FormFieldDirection, type FormFieldLayoutProps, type FormFieldProps, type FormFieldRenderProps, type HSVA, HoverPopover, type HoverPopoverProps, Input, InputGroup, InputGroupAddon, type InputGroupProps, type InputProps, type InputSize, Label, Link, type LinkLevel, type LinkMode, type LinkProps, List, ListDivider, type ListDividerProps, ListGroup, type ListGroupProps, ListItem, ListItemGroup, type ListItemGroupProps, type ListItemLeading, type ListItemProps, type ListItemType, type ListProps, ListSeparator, type ListSeparatorProps, ListTitle, type ListTitleProps, Loading, type LoadingButtonSize, type LoadingLevel, type LoadingMode, type LoadingProps, type Locale, type LocaleComponentName, LocaleProvider, type LocaleProviderProps, Modal, ModalBody, type ModalBodyProps, ModalClose, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, ModalHeaderText, type ModalHeaderTextProps, ModalOverlay, type ModalOverlayProps, ModalPortal, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, ModalTrigger, Navigation, NavigationActions, type NavigationActionsProps, NavigationActionsSlot, type NavigationActionsSlotProps, type NavigationBackground, NavigationBrand, type NavigationBrandProps, NavigationBrandTitle, type NavigationBrandTitleProps, type NavigationDirection, NavigationGroup, type NavigationGroupProps, NavigationItem, NavigationItemGroup, type NavigationItemGroupProps, NavigationItemMenu, NavigationItemMenuContent, type NavigationItemMenuContentProps, NavigationItemMenuItem, type NavigationItemMenuItemProps, type NavigationItemMenuProps, NavigationItemMenuTrigger, type NavigationItemMenuTriggerProps, type NavigationItemProps, type NavigationItemType, type NavigationProps, NavigationSection, type NavigationSectionProps, NumberInput, type NumberInputProps, type NumberInputStyle, OverlayContainerProvider, type OverlayContainerProviderProps, Pagehead, type PageheadProps, Pagination, type PaginationProps, type PhysicalSide, Popover, PopoverAnchor, type PopoverAppearance, PopoverContent, type PopoverContentLevel, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, RESPONSIVE_TOOLTIP_LONG_PRESS_MS, RadioGroup, type RadioGroupDirection, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioInput, type RadioInputProps, type RadioInputVariant, ResponsiveTooltip, type ResponsiveTooltipProps, Scroll, type ScrollOrientation, ScrollPicker, ScrollPickerColumn, type ScrollPickerColumnProps, ScrollPickerItem, type ScrollPickerItemProps, type ScrollPickerProps, type ScrollProps, type ScrollSize, type SegmentatorDirection, SegmentatorGroup, type SegmentatorGroupProps, SegmentatorItem, type SegmentatorItemProps, type SegmentatorMode, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemFunction, SelectItemGroup, type SelectItemGroupProps, type SelectItemLayout, SelectItemPeople, type SelectItemPeopleProps, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectSubItem, SelectSubItemPeople, type SelectSubItemPeopleProps, type SelectSubItemProps, SelectSubMenu, type SelectSubMenuProps, SelectTrigger, type SelectTriggerProps, SelectValue, Slider, type SliderProps, type SliderSize, type SliderType, Stack, type StackProps, Steps, type StepsDirection, StepsIcon, type StepsIconProps, StepsItem, type StepsItemProps, type StepsProps, type StepsState, Switch, type SwitchProps, type SwitchSize, TOOLTIP_DELAY_DURATION, Tab, type TabBackground, TabItem, type TabItemProps, type TabProps, type TabStyle, Table, TableCell, type TableCellContent, type TableCellProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tag, TagClose, type TagCloseProps, type TagContent, type TagLevel, type TagLineHeightFix, type TagProps, Textarea, type TextareaProps, type TextareaSize, ThemeProvider, type ThemeProviderProps, ThemeScript, TimePicker, TimePickerContent, type TimePickerContentProps, TimePickerField, type TimePickerFieldProps, TimePickerPanel, type TimePickerPanelProps, type TimePickerProps, type TimePickerSize, TimePickerTrigger, type TimePickerTriggerProps, type TimePickerValue, TimePickerWheels, type TimePickerWheelsValue, Tooltip, TooltipContent, type TooltipContentLevel, type TooltipContentProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, Typeface, type TypefaceContent, TypefacePair, type TypefacePairProps, type TypefaceProps, Typography, type TypographyContent, type TypographyLevel, type TypographyProps, type TypographyTone, Upload, type UploadProps, type UploadStyle, type UseColorPickerStateOptions, Video, type VideoAppearance, type VideoHandle, type VideoObjectFit, type VideoProps, alertVariants, backChevronSide, buttonVariants, cn, drawerContentVariants, enUS, formatDisplayDate, formatMonthYear, formatTimeValue, formatVideoTime, forwardChevronSide, initKeyboardFocus, inputRootVariants, interpolate, loadingLevelForButtonSize, mirrorSide, mirrorSideForDirection, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, parseVideoTime, typographyVariants, useColorPickerState, useDirection, useLocale, useLocaleMessages, useOverlayPortalContainer, useResolvedControlError, useRtl, useTheme, useThemeLayoutKey, videoObjectFitToCss, zhCN };
|