@aviala-design/spiral 2.0.0 → 2.2.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/index.cjs +1113 -1010
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +132 -4
- package/dist/index.d.ts +132 -4
- package/dist/index.js +985 -880
- package/dist/index.js.map +1 -1
- package/dist/props.json +7 -1
- package/dist/styles.css +8 -1
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -59,6 +59,7 @@ type ButtonSize = "tiny" | "small" | "regular" | "big";
|
|
|
59
59
|
declare const buttonVariants: (props?: ({
|
|
60
60
|
mode?: "default" | "primary" | "second" | "defaultCustom" | "noBackground" | "noBackgroundCustom" | "destructive" | null | undefined;
|
|
61
61
|
allRound?: boolean | null | undefined;
|
|
62
|
+
compact?: boolean | null | undefined;
|
|
62
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
64
|
type LegacyVariant = "default" | "secondary" | "outline" | "ghost" | "destructive" | "link";
|
|
64
65
|
type LegacySize = "default" | "sm" | "lg" | "icon";
|
|
@@ -83,6 +84,7 @@ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<t
|
|
|
83
84
|
declare const Button: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<(props?: ({
|
|
84
85
|
mode?: "default" | "primary" | "second" | "defaultCustom" | "noBackground" | "noBackgroundCustom" | "destructive" | null | undefined;
|
|
85
86
|
allRound?: boolean | null | undefined;
|
|
87
|
+
compact?: boolean | null | undefined;
|
|
86
88
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "mode"> & {
|
|
87
89
|
/** Figma `Mode` — preferred over legacy `variant`. */
|
|
88
90
|
mode?: ButtonMode;
|
|
@@ -1310,26 +1312,101 @@ declare function TimePickerWheels({ value, onChange, className }: TimePickerWhee
|
|
|
1310
1312
|
|
|
1311
1313
|
type PopoverProps = ComponentPropsWithoutRef<typeof PopoverPrimitive.Root>;
|
|
1312
1314
|
/**
|
|
1313
|
-
*
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1315
|
+
* Thin controlled/uncontrolled wrapper around Radix `Popover.Root`. We don't add
|
|
1316
|
+
* any custom close-suppression: a non-modal Popover already prevents focus-outside
|
|
1317
|
+
* from dismissing (`onFocusOutside` is default-prevented by Radix), so a window
|
|
1318
|
+
* blur never closes it — no extra bookkeeping needed, and it keeps Escape a
|
|
1319
|
+
* single, predictable dismiss.
|
|
1316
1320
|
*/
|
|
1317
1321
|
declare function Popover({ open: openProp, defaultOpen, onOpenChange, modal, ...props }: PopoverProps): react.JSX.Element;
|
|
1318
1322
|
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1319
1323
|
declare const PopoverAnchor: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>>;
|
|
1324
|
+
type PopoverAppearance = "default" | "tooltip" | "primary";
|
|
1320
1325
|
type PopoverContentProps = ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
|
|
1321
1326
|
/** Render without Portal — use inside nested overlays. */
|
|
1322
1327
|
portalled?: boolean;
|
|
1323
1328
|
/** Show a caret arrow pointing at the trigger (Figma with-arrow variant). */
|
|
1324
1329
|
showArrow?: boolean;
|
|
1330
|
+
/** Strip surface padding — consumer controls inner spacing. */
|
|
1331
|
+
flush?: boolean;
|
|
1332
|
+
/**
|
|
1333
|
+
* Visual skin of the surface:
|
|
1334
|
+
* - `default` — light bordered panel (select-menu aligned), text typography, stroked caret.
|
|
1335
|
+
* - `tooltip` — shared inverted tooltip skin (dark, caption text, borderless, solid caret).
|
|
1336
|
+
* - `primary` — brand primary surface with white text, borderless, solid caret.
|
|
1337
|
+
*/
|
|
1338
|
+
appearance?: PopoverAppearance;
|
|
1325
1339
|
};
|
|
1326
1340
|
declare const PopoverContent: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1327
1341
|
/** Render without Portal — use inside nested overlays. */
|
|
1328
1342
|
portalled?: boolean;
|
|
1329
1343
|
/** Show a caret arrow pointing at the trigger (Figma with-arrow variant). */
|
|
1330
1344
|
showArrow?: boolean;
|
|
1345
|
+
/** Strip surface padding — consumer controls inner spacing. */
|
|
1346
|
+
flush?: boolean;
|
|
1347
|
+
/**
|
|
1348
|
+
* Visual skin of the surface:
|
|
1349
|
+
* - `default` — light bordered panel (select-menu aligned), text typography, stroked caret.
|
|
1350
|
+
* - `tooltip` — shared inverted tooltip skin (dark, caption text, borderless, solid caret).
|
|
1351
|
+
* - `primary` — brand primary surface with white text, borderless, solid caret.
|
|
1352
|
+
*/
|
|
1353
|
+
appearance?: PopoverAppearance;
|
|
1331
1354
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1332
1355
|
|
|
1356
|
+
interface HoverPopoverProps {
|
|
1357
|
+
/** Floating body — may hold rich / interactive content. */
|
|
1358
|
+
content: ReactNode;
|
|
1359
|
+
/** The trigger element. Rendered with `asChild`, so pass a single element. */
|
|
1360
|
+
children: ReactNode;
|
|
1361
|
+
/** Preferred placement of the floating content. */
|
|
1362
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
1363
|
+
/** Cross-axis alignment relative to the trigger. */
|
|
1364
|
+
align?: "start" | "center" | "end";
|
|
1365
|
+
/** Gap between trigger and content, in px. */
|
|
1366
|
+
sideOffset?: number;
|
|
1367
|
+
/** Distance from viewport edges before collision flipping, in px. */
|
|
1368
|
+
collisionPadding?: number;
|
|
1369
|
+
/** Show the caret arrow pointing at the trigger. */
|
|
1370
|
+
showArrow?: boolean;
|
|
1371
|
+
/** Delay before opening on hover, in ms. */
|
|
1372
|
+
openDelay?: number;
|
|
1373
|
+
/** Delay before closing on pointer leave, in ms (lets the cursor reach the content). */
|
|
1374
|
+
closeDelay?: number;
|
|
1375
|
+
/** Controlled open state. */
|
|
1376
|
+
open?: boolean;
|
|
1377
|
+
/** Uncontrolled initial open state. */
|
|
1378
|
+
defaultOpen?: boolean;
|
|
1379
|
+
/** Open-state change callback. */
|
|
1380
|
+
onOpenChange?: (open: boolean) => void;
|
|
1381
|
+
/** Extra class on the inner content surface. */
|
|
1382
|
+
contentClassName?: string;
|
|
1383
|
+
}
|
|
1384
|
+
/**
|
|
1385
|
+
* Popover that opens on hover (desktop) / tap (touch).
|
|
1386
|
+
*
|
|
1387
|
+
* Radix Popover is click-only, so this wraps it in a controlled shell:
|
|
1388
|
+
* - Desktop (`pointer: fine`): opens on `mouseenter` (after `openDelay`) via the
|
|
1389
|
+
* trigger's hover handlers. Keyboard uses Radix `PopoverTrigger`'s native
|
|
1390
|
+
* semantics — Tab *selects* the trigger (does not open), Enter/Space reveals
|
|
1391
|
+
* the popover, and Escape closes it on the *first* press with focus returned
|
|
1392
|
+
* to the trigger. Hover/click opens keep focus on the trigger; keyboard opens
|
|
1393
|
+
* move focus into the content. Closes on `mouseleave`/`blur` after
|
|
1394
|
+
* `closeDelay`. The delay keeps the surface open while the cursor travels the
|
|
1395
|
+
* gap into the content, and cancels the close when the cursor/focus
|
|
1396
|
+
* re-enters the content.
|
|
1397
|
+
* - Touch (`pointer: coarse`): degrades to a normal Popover — `PopoverTrigger`
|
|
1398
|
+
* tap to toggle, outside tap / Escape to dismiss. No hover exists on touch.
|
|
1399
|
+
*
|
|
1400
|
+
* Use this for rich / interactive previews. For a non-essential text hint,
|
|
1401
|
+
* prefer `Tooltip` / `ResponsiveTooltip`.
|
|
1402
|
+
*
|
|
1403
|
+
* @example
|
|
1404
|
+
* <HoverPopover content={<PriceBreakdown />}>
|
|
1405
|
+
* <Button>See price</Button>
|
|
1406
|
+
* </HoverPopover>
|
|
1407
|
+
*/
|
|
1408
|
+
declare function HoverPopover({ content, children, side, align, sideOffset, collisionPadding, showArrow, openDelay, closeDelay, open: openProp, defaultOpen, onOpenChange, contentClassName, }: HoverPopoverProps): react.JSX.Element;
|
|
1409
|
+
|
|
1333
1410
|
/** Figma Components → Information Display → Modal (553:58593) */
|
|
1334
1411
|
type ModalSize = "default" | "large";
|
|
1335
1412
|
declare const modalContentVariants: (props?: ({
|
|
@@ -1414,6 +1491,57 @@ declare const TooltipContent: react.ForwardRefExoticComponent<Omit<TooltipPrimit
|
|
|
1414
1491
|
showArrow?: boolean;
|
|
1415
1492
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1416
1493
|
|
|
1494
|
+
interface ResponsiveTooltipProps {
|
|
1495
|
+
/** Tooltip body — the same content is shown on desktop (hover) and touch (tap). */
|
|
1496
|
+
content: ReactNode;
|
|
1497
|
+
/** The trigger element. Rendered with `asChild`, so pass a single element. */
|
|
1498
|
+
children: ReactNode;
|
|
1499
|
+
/** Preferred placement of the floating content. */
|
|
1500
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
1501
|
+
/** Cross-axis alignment relative to the trigger. */
|
|
1502
|
+
align?: "start" | "center" | "end";
|
|
1503
|
+
/** Gap between trigger and content, in px. */
|
|
1504
|
+
sideOffset?: number;
|
|
1505
|
+
/** Distance from viewport edges before collision flipping, in px. */
|
|
1506
|
+
collisionPadding?: number;
|
|
1507
|
+
/** Show the caret arrow pointing at the trigger. */
|
|
1508
|
+
showArrow?: boolean;
|
|
1509
|
+
/** Hover open delay on desktop, in ms (ignored on touch). Requires a TooltipProvider ancestor. */
|
|
1510
|
+
delayDuration?: number;
|
|
1511
|
+
/** Controlled open state. */
|
|
1512
|
+
open?: boolean;
|
|
1513
|
+
/** Uncontrolled initial open state. */
|
|
1514
|
+
defaultOpen?: boolean;
|
|
1515
|
+
/** Open-state change callback. */
|
|
1516
|
+
onOpenChange?: (open: boolean) => void;
|
|
1517
|
+
/** Extra class on the inner content surface. */
|
|
1518
|
+
contentClassName?: string;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Tooltip with a mobile-friendly trigger.
|
|
1522
|
+
*
|
|
1523
|
+
* Radix Tooltip is hover/focus only and deliberately ignores touch, so it has
|
|
1524
|
+
* no trigger on phones. `ResponsiveTooltip` renders the SAME content through the
|
|
1525
|
+
* right primitive for the device:
|
|
1526
|
+
* - Desktop (`pointer: fine`): Radix Tooltip — opens on hover and keyboard focus.
|
|
1527
|
+
* - Touch (`pointer: coarse`): Radix Popover with `appearance="tooltip"` — opens on
|
|
1528
|
+
* tap, dismisses on outside tap / Escape, but keeps the tooltip visual skin
|
|
1529
|
+
* (dark surface, caption text, solid caret) so it looks identical to desktop.
|
|
1530
|
+
*
|
|
1531
|
+
* The consumer API and the look are unchanged between devices; only the trigger
|
|
1532
|
+
* gesture differs. Animations are handled by the respective effect CSS
|
|
1533
|
+
* (tooltip-effects / popover-effects), so direction-aware scale-in/out works on
|
|
1534
|
+
* both branches.
|
|
1535
|
+
*
|
|
1536
|
+
* @example
|
|
1537
|
+
* <TooltipProvider> // needed for the desktop hover-delay; Popover needs none
|
|
1538
|
+
* <ResponsiveTooltip content="Save changes">
|
|
1539
|
+
* <Button>Save</Button>
|
|
1540
|
+
* </ResponsiveTooltip>
|
|
1541
|
+
* </TooltipProvider>
|
|
1542
|
+
*/
|
|
1543
|
+
declare function ResponsiveTooltip({ content, children, side, align, sideOffset, collisionPadding, showArrow, delayDuration, open, defaultOpen, onOpenChange, contentClassName, }: ResponsiveTooltipProps): react.JSX.Element;
|
|
1544
|
+
|
|
1417
1545
|
/** Figma Components → Response And Feedback → Feedback (553:58620) */
|
|
1418
1546
|
type FeedbackType = "information" | "warning" | "wrong" | "success" | "normal";
|
|
1419
1547
|
type FeedbackSize = "default" | "small";
|
|
@@ -2072,4 +2200,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2072
2200
|
*/
|
|
2073
2201
|
declare function initKeyboardFocus(): void;
|
|
2074
2202
|
|
|
2075
|
-
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 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, 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, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, FormField, type FormFieldDirection, type FormFieldProps, type HSVA, 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, 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, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, RadioGroup, type RadioGroupDirection, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioInput, type RadioInputProps, type RadioInputVariant, Scroll, type ScrollOrientation, ScrollPicker, ScrollPickerColumn, type ScrollPickerColumnProps, ScrollPickerItem, type ScrollPickerItemProps, type ScrollPickerProps, type ScrollProps, type ScrollSize, 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, 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 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, buttonVariants, cn, formatDisplayDate, formatMonthYear, formatTimeValue, initKeyboardFocus, inputRootVariants, loadingLevelForButtonSize, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, typographyVariants, useColorPickerState, useTheme, useThemeLayoutKey };
|
|
2203
|
+
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 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, 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, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, FormField, type FormFieldDirection, type FormFieldProps, 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, 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, Popover, PopoverAnchor, type PopoverAppearance, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, 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, 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, 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 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, buttonVariants, cn, formatDisplayDate, formatMonthYear, formatTimeValue, initKeyboardFocus, inputRootVariants, loadingLevelForButtonSize, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, typographyVariants, useColorPickerState, useTheme, useThemeLayoutKey };
|
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ type ButtonSize = "tiny" | "small" | "regular" | "big";
|
|
|
59
59
|
declare const buttonVariants: (props?: ({
|
|
60
60
|
mode?: "default" | "primary" | "second" | "defaultCustom" | "noBackground" | "noBackgroundCustom" | "destructive" | null | undefined;
|
|
61
61
|
allRound?: boolean | null | undefined;
|
|
62
|
+
compact?: boolean | null | undefined;
|
|
62
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
64
|
type LegacyVariant = "default" | "secondary" | "outline" | "ghost" | "destructive" | "link";
|
|
64
65
|
type LegacySize = "default" | "sm" | "lg" | "icon";
|
|
@@ -83,6 +84,7 @@ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<t
|
|
|
83
84
|
declare const Button: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<(props?: ({
|
|
84
85
|
mode?: "default" | "primary" | "second" | "defaultCustom" | "noBackground" | "noBackgroundCustom" | "destructive" | null | undefined;
|
|
85
86
|
allRound?: boolean | null | undefined;
|
|
87
|
+
compact?: boolean | null | undefined;
|
|
86
88
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "mode"> & {
|
|
87
89
|
/** Figma `Mode` — preferred over legacy `variant`. */
|
|
88
90
|
mode?: ButtonMode;
|
|
@@ -1310,26 +1312,101 @@ declare function TimePickerWheels({ value, onChange, className }: TimePickerWhee
|
|
|
1310
1312
|
|
|
1311
1313
|
type PopoverProps = ComponentPropsWithoutRef<typeof PopoverPrimitive.Root>;
|
|
1312
1314
|
/**
|
|
1313
|
-
*
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1315
|
+
* Thin controlled/uncontrolled wrapper around Radix `Popover.Root`. We don't add
|
|
1316
|
+
* any custom close-suppression: a non-modal Popover already prevents focus-outside
|
|
1317
|
+
* from dismissing (`onFocusOutside` is default-prevented by Radix), so a window
|
|
1318
|
+
* blur never closes it — no extra bookkeeping needed, and it keeps Escape a
|
|
1319
|
+
* single, predictable dismiss.
|
|
1316
1320
|
*/
|
|
1317
1321
|
declare function Popover({ open: openProp, defaultOpen, onOpenChange, modal, ...props }: PopoverProps): react.JSX.Element;
|
|
1318
1322
|
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1319
1323
|
declare const PopoverAnchor: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>>;
|
|
1324
|
+
type PopoverAppearance = "default" | "tooltip" | "primary";
|
|
1320
1325
|
type PopoverContentProps = ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
|
|
1321
1326
|
/** Render without Portal — use inside nested overlays. */
|
|
1322
1327
|
portalled?: boolean;
|
|
1323
1328
|
/** Show a caret arrow pointing at the trigger (Figma with-arrow variant). */
|
|
1324
1329
|
showArrow?: boolean;
|
|
1330
|
+
/** Strip surface padding — consumer controls inner spacing. */
|
|
1331
|
+
flush?: boolean;
|
|
1332
|
+
/**
|
|
1333
|
+
* Visual skin of the surface:
|
|
1334
|
+
* - `default` — light bordered panel (select-menu aligned), text typography, stroked caret.
|
|
1335
|
+
* - `tooltip` — shared inverted tooltip skin (dark, caption text, borderless, solid caret).
|
|
1336
|
+
* - `primary` — brand primary surface with white text, borderless, solid caret.
|
|
1337
|
+
*/
|
|
1338
|
+
appearance?: PopoverAppearance;
|
|
1325
1339
|
};
|
|
1326
1340
|
declare const PopoverContent: react.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1327
1341
|
/** Render without Portal — use inside nested overlays. */
|
|
1328
1342
|
portalled?: boolean;
|
|
1329
1343
|
/** Show a caret arrow pointing at the trigger (Figma with-arrow variant). */
|
|
1330
1344
|
showArrow?: boolean;
|
|
1345
|
+
/** Strip surface padding — consumer controls inner spacing. */
|
|
1346
|
+
flush?: boolean;
|
|
1347
|
+
/**
|
|
1348
|
+
* Visual skin of the surface:
|
|
1349
|
+
* - `default` — light bordered panel (select-menu aligned), text typography, stroked caret.
|
|
1350
|
+
* - `tooltip` — shared inverted tooltip skin (dark, caption text, borderless, solid caret).
|
|
1351
|
+
* - `primary` — brand primary surface with white text, borderless, solid caret.
|
|
1352
|
+
*/
|
|
1353
|
+
appearance?: PopoverAppearance;
|
|
1331
1354
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1332
1355
|
|
|
1356
|
+
interface HoverPopoverProps {
|
|
1357
|
+
/** Floating body — may hold rich / interactive content. */
|
|
1358
|
+
content: ReactNode;
|
|
1359
|
+
/** The trigger element. Rendered with `asChild`, so pass a single element. */
|
|
1360
|
+
children: ReactNode;
|
|
1361
|
+
/** Preferred placement of the floating content. */
|
|
1362
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
1363
|
+
/** Cross-axis alignment relative to the trigger. */
|
|
1364
|
+
align?: "start" | "center" | "end";
|
|
1365
|
+
/** Gap between trigger and content, in px. */
|
|
1366
|
+
sideOffset?: number;
|
|
1367
|
+
/** Distance from viewport edges before collision flipping, in px. */
|
|
1368
|
+
collisionPadding?: number;
|
|
1369
|
+
/** Show the caret arrow pointing at the trigger. */
|
|
1370
|
+
showArrow?: boolean;
|
|
1371
|
+
/** Delay before opening on hover, in ms. */
|
|
1372
|
+
openDelay?: number;
|
|
1373
|
+
/** Delay before closing on pointer leave, in ms (lets the cursor reach the content). */
|
|
1374
|
+
closeDelay?: number;
|
|
1375
|
+
/** Controlled open state. */
|
|
1376
|
+
open?: boolean;
|
|
1377
|
+
/** Uncontrolled initial open state. */
|
|
1378
|
+
defaultOpen?: boolean;
|
|
1379
|
+
/** Open-state change callback. */
|
|
1380
|
+
onOpenChange?: (open: boolean) => void;
|
|
1381
|
+
/** Extra class on the inner content surface. */
|
|
1382
|
+
contentClassName?: string;
|
|
1383
|
+
}
|
|
1384
|
+
/**
|
|
1385
|
+
* Popover that opens on hover (desktop) / tap (touch).
|
|
1386
|
+
*
|
|
1387
|
+
* Radix Popover is click-only, so this wraps it in a controlled shell:
|
|
1388
|
+
* - Desktop (`pointer: fine`): opens on `mouseenter` (after `openDelay`) via the
|
|
1389
|
+
* trigger's hover handlers. Keyboard uses Radix `PopoverTrigger`'s native
|
|
1390
|
+
* semantics — Tab *selects* the trigger (does not open), Enter/Space reveals
|
|
1391
|
+
* the popover, and Escape closes it on the *first* press with focus returned
|
|
1392
|
+
* to the trigger. Hover/click opens keep focus on the trigger; keyboard opens
|
|
1393
|
+
* move focus into the content. Closes on `mouseleave`/`blur` after
|
|
1394
|
+
* `closeDelay`. The delay keeps the surface open while the cursor travels the
|
|
1395
|
+
* gap into the content, and cancels the close when the cursor/focus
|
|
1396
|
+
* re-enters the content.
|
|
1397
|
+
* - Touch (`pointer: coarse`): degrades to a normal Popover — `PopoverTrigger`
|
|
1398
|
+
* tap to toggle, outside tap / Escape to dismiss. No hover exists on touch.
|
|
1399
|
+
*
|
|
1400
|
+
* Use this for rich / interactive previews. For a non-essential text hint,
|
|
1401
|
+
* prefer `Tooltip` / `ResponsiveTooltip`.
|
|
1402
|
+
*
|
|
1403
|
+
* @example
|
|
1404
|
+
* <HoverPopover content={<PriceBreakdown />}>
|
|
1405
|
+
* <Button>See price</Button>
|
|
1406
|
+
* </HoverPopover>
|
|
1407
|
+
*/
|
|
1408
|
+
declare function HoverPopover({ content, children, side, align, sideOffset, collisionPadding, showArrow, openDelay, closeDelay, open: openProp, defaultOpen, onOpenChange, contentClassName, }: HoverPopoverProps): react.JSX.Element;
|
|
1409
|
+
|
|
1333
1410
|
/** Figma Components → Information Display → Modal (553:58593) */
|
|
1334
1411
|
type ModalSize = "default" | "large";
|
|
1335
1412
|
declare const modalContentVariants: (props?: ({
|
|
@@ -1414,6 +1491,57 @@ declare const TooltipContent: react.ForwardRefExoticComponent<Omit<TooltipPrimit
|
|
|
1414
1491
|
showArrow?: boolean;
|
|
1415
1492
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1416
1493
|
|
|
1494
|
+
interface ResponsiveTooltipProps {
|
|
1495
|
+
/** Tooltip body — the same content is shown on desktop (hover) and touch (tap). */
|
|
1496
|
+
content: ReactNode;
|
|
1497
|
+
/** The trigger element. Rendered with `asChild`, so pass a single element. */
|
|
1498
|
+
children: ReactNode;
|
|
1499
|
+
/** Preferred placement of the floating content. */
|
|
1500
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
1501
|
+
/** Cross-axis alignment relative to the trigger. */
|
|
1502
|
+
align?: "start" | "center" | "end";
|
|
1503
|
+
/** Gap between trigger and content, in px. */
|
|
1504
|
+
sideOffset?: number;
|
|
1505
|
+
/** Distance from viewport edges before collision flipping, in px. */
|
|
1506
|
+
collisionPadding?: number;
|
|
1507
|
+
/** Show the caret arrow pointing at the trigger. */
|
|
1508
|
+
showArrow?: boolean;
|
|
1509
|
+
/** Hover open delay on desktop, in ms (ignored on touch). Requires a TooltipProvider ancestor. */
|
|
1510
|
+
delayDuration?: number;
|
|
1511
|
+
/** Controlled open state. */
|
|
1512
|
+
open?: boolean;
|
|
1513
|
+
/** Uncontrolled initial open state. */
|
|
1514
|
+
defaultOpen?: boolean;
|
|
1515
|
+
/** Open-state change callback. */
|
|
1516
|
+
onOpenChange?: (open: boolean) => void;
|
|
1517
|
+
/** Extra class on the inner content surface. */
|
|
1518
|
+
contentClassName?: string;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Tooltip with a mobile-friendly trigger.
|
|
1522
|
+
*
|
|
1523
|
+
* Radix Tooltip is hover/focus only and deliberately ignores touch, so it has
|
|
1524
|
+
* no trigger on phones. `ResponsiveTooltip` renders the SAME content through the
|
|
1525
|
+
* right primitive for the device:
|
|
1526
|
+
* - Desktop (`pointer: fine`): Radix Tooltip — opens on hover and keyboard focus.
|
|
1527
|
+
* - Touch (`pointer: coarse`): Radix Popover with `appearance="tooltip"` — opens on
|
|
1528
|
+
* tap, dismisses on outside tap / Escape, but keeps the tooltip visual skin
|
|
1529
|
+
* (dark surface, caption text, solid caret) so it looks identical to desktop.
|
|
1530
|
+
*
|
|
1531
|
+
* The consumer API and the look are unchanged between devices; only the trigger
|
|
1532
|
+
* gesture differs. Animations are handled by the respective effect CSS
|
|
1533
|
+
* (tooltip-effects / popover-effects), so direction-aware scale-in/out works on
|
|
1534
|
+
* both branches.
|
|
1535
|
+
*
|
|
1536
|
+
* @example
|
|
1537
|
+
* <TooltipProvider> // needed for the desktop hover-delay; Popover needs none
|
|
1538
|
+
* <ResponsiveTooltip content="Save changes">
|
|
1539
|
+
* <Button>Save</Button>
|
|
1540
|
+
* </ResponsiveTooltip>
|
|
1541
|
+
* </TooltipProvider>
|
|
1542
|
+
*/
|
|
1543
|
+
declare function ResponsiveTooltip({ content, children, side, align, sideOffset, collisionPadding, showArrow, delayDuration, open, defaultOpen, onOpenChange, contentClassName, }: ResponsiveTooltipProps): react.JSX.Element;
|
|
1544
|
+
|
|
1417
1545
|
/** Figma Components → Response And Feedback → Feedback (553:58620) */
|
|
1418
1546
|
type FeedbackType = "information" | "warning" | "wrong" | "success" | "normal";
|
|
1419
1547
|
type FeedbackSize = "default" | "small";
|
|
@@ -2072,4 +2200,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2072
2200
|
*/
|
|
2073
2201
|
declare function initKeyboardFocus(): void;
|
|
2074
2202
|
|
|
2075
|
-
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 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, 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, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, FormField, type FormFieldDirection, type FormFieldProps, type HSVA, 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, 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, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, RadioGroup, type RadioGroupDirection, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioInput, type RadioInputProps, type RadioInputVariant, Scroll, type ScrollOrientation, ScrollPicker, ScrollPickerColumn, type ScrollPickerColumnProps, ScrollPickerItem, type ScrollPickerItemProps, type ScrollPickerProps, type ScrollProps, type ScrollSize, 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, 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 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, buttonVariants, cn, formatDisplayDate, formatMonthYear, formatTimeValue, initKeyboardFocus, inputRootVariants, loadingLevelForButtonSize, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, typographyVariants, useColorPickerState, useTheme, useThemeLayoutKey };
|
|
2203
|
+
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 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, 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, Feedback, type FeedbackMode, type FeedbackProps, type FeedbackSize, type FeedbackType, Fieldset, type FieldsetProps, FormField, type FormFieldDirection, type FormFieldProps, 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, 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, Popover, PopoverAnchor, type PopoverAppearance, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, type ProgressShape, type ProgressSize, type ProgressType, 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, 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, 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 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, buttonVariants, cn, formatDisplayDate, formatMonthYear, formatTimeValue, initKeyboardFocus, inputRootVariants, loadingLevelForButtonSize, modalContentVariants, numberInputRootVariants, parseDateInput, parseDateRangeInput, typographyVariants, useColorPickerState, useTheme, useThemeLayoutKey };
|