burne-ui 1.8.7 → 1.8.8
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/components/composite/Accordion/Accordion.d.ts +1 -1
- package/dist/components/composite/Accordion/accordionAnimations.d.ts +4 -4
- package/dist/components/composite/Accordion/accordionParts.d.ts +3 -5
- package/dist/components/composite/Accordion/accordionStyles.d.ts +4 -1
- package/dist/components/composite/Accordion/accordionTypes.d.ts +14 -5
- package/dist/components/composite/Accordion/index.d.ts +5 -4
- package/dist/components/composite/AlertDialog/AlertDialog.d.ts +1 -1
- package/dist/components/composite/AlertDialog/alertDialogContext.d.ts +6 -2
- package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +9 -8
- package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +33 -7
- package/dist/components/composite/AlertDialog/index.d.ts +7 -3
- package/dist/components/composite/ButtonGroup/ButtonGroup.d.ts +2 -1
- package/dist/components/composite/ButtonGroup/buttonGroupContext.d.ts +6 -2
- package/dist/components/composite/ButtonGroup/buttonGroupTypes.d.ts +8 -2
- package/dist/components/composite/ButtonGroup/index.d.ts +2 -1
- package/dist/components/composite/CheckboxGroup/CheckboxGroup.d.ts +5 -4
- package/dist/components/composite/CheckboxGroup/checkboxGroupAnimations.d.ts +13 -12
- package/dist/components/composite/CheckboxGroup/checkboxGroupContext.d.ts +6 -2
- package/dist/components/composite/CheckboxGroup/checkboxGroupParts.d.ts +16 -13
- package/dist/components/composite/CheckboxGroup/checkboxGroupTypes.d.ts +29 -8
- package/dist/components/composite/CheckboxGroup/index.d.ts +18 -18
- package/dist/components/composite/Form/Form.d.ts +2 -1
- package/dist/components/composite/Form/formContext.d.ts +6 -2
- package/dist/components/composite/Form/formParts.d.ts +2 -0
- package/dist/components/composite/Form/formTypes.d.ts +19 -2
- package/dist/components/composite/Form/index.d.ts +4 -1
- package/dist/components/composite/RadioGroup/RadioGroup.d.ts +4 -3
- package/dist/components/composite/RadioGroup/index.d.ts +19 -17
- package/dist/components/composite/RadioGroup/radioGroupAnimations.d.ts +39 -0
- package/dist/components/composite/RadioGroup/radioGroupContext.d.ts +11 -0
- package/dist/components/composite/RadioGroup/radioGroupParts.d.ts +18 -13
- package/dist/components/composite/RadioGroup/radioGroupTypes.d.ts +40 -5
- package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -1
- package/dist/components/composite/ToggleButtonGroup/index.d.ts +2 -1
- package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupContext.d.ts +6 -2
- package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +8 -2
- package/dist/components/core/Alert/Alert.d.ts +5 -1
- package/dist/components/core/Alert/alertContext.d.ts +6 -2
- package/dist/components/core/Alert/alertTypes.d.ts +24 -2
- package/dist/components/core/Alert/index.d.ts +5 -1
- package/dist/components/core/Avatar/Avatar.d.ts +2 -1
- package/dist/components/core/Avatar/avatarContext.d.ts +6 -2
- package/dist/components/core/Avatar/avatarTypes.d.ts +8 -2
- package/dist/components/core/Avatar/index.d.ts +2 -1
- package/dist/components/core/Badge/Badge.d.ts +5 -1
- package/dist/components/core/Badge/badgeContext.d.ts +6 -2
- package/dist/components/core/Badge/badgeParts.d.ts +5 -1
- package/dist/components/core/Badge/badgeTypes.d.ts +43 -3
- package/dist/components/core/Badge/index.d.ts +10 -2
- package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/components/core/Breadcrumbs/breadcrumbsAnimations.d.ts +19 -1
- package/dist/components/core/Breadcrumbs/breadcrumbsContext.d.ts +6 -2
- package/dist/components/core/Breadcrumbs/breadcrumbsParts.d.ts +3 -1
- package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +31 -2
- package/dist/components/core/Breadcrumbs/index.d.ts +3 -1
- package/dist/components/core/Button/Button.d.ts +5 -1
- package/dist/components/core/Button/buttonContext.d.ts +6 -2
- package/dist/components/core/Button/buttonParts.d.ts +15 -7
- package/dist/components/core/Button/buttonTypes.d.ts +46 -7
- package/dist/components/core/Button/index.d.ts +17 -5
- package/dist/components/core/Calendar/calendarAnimations.d.ts +19 -1
- package/dist/components/core/Calendar/calendarContext.d.ts +6 -2
- package/dist/components/core/Calendar/calendarParts.d.ts +13 -5
- package/dist/components/core/Calendar/calendarStyles.d.ts +1 -0
- package/dist/components/core/Calendar/calendarTypes.d.ts +43 -6
- package/dist/components/core/Calendar/index.d.ts +12 -4
- package/dist/components/core/Card/Card.d.ts +5 -1
- package/dist/components/core/Card/cardContext.d.ts +6 -2
- package/dist/components/core/Card/cardTypes.d.ts +23 -2
- package/dist/components/core/Card/index.d.ts +5 -1
- package/dist/components/core/Checkbox/Checkbox.d.ts +2 -1
- package/dist/components/core/Checkbox/checkboxAnimations.d.ts +26 -4
- package/dist/components/core/Checkbox/checkboxContext.d.ts +12 -2
- package/dist/components/core/Checkbox/checkboxParts.d.ts +11 -7
- package/dist/components/core/Checkbox/checkboxTypes.d.ts +45 -10
- package/dist/components/core/Checkbox/index.d.ts +5 -2
- package/dist/components/core/CloseButton/CloseButton.d.ts +2 -1
- package/dist/components/core/CloseButton/closeButtonContext.d.ts +6 -2
- package/dist/components/core/CloseButton/closeButtonStyles.d.ts +1 -1
- package/dist/components/core/CloseButton/closeButtonTypes.d.ts +12 -3
- package/dist/components/core/ColorPicker/ColorPicker.d.ts +4 -4
- package/dist/components/core/ColorPicker/ColorSlider.d.ts +3 -1
- package/dist/components/core/ColorPicker/ColorSwatch.d.ts +2 -1
- package/dist/components/core/ColorPicker/colorPickerContext.d.ts +6 -2
- package/dist/components/core/ColorPicker/colorPickerParts.d.ts +10 -2
- package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +29 -9
- package/dist/components/core/ColorPicker/colorSliderContext.d.ts +6 -2
- package/dist/components/core/ColorPicker/colorSliderTypes.d.ts +16 -2
- package/dist/components/core/ColorPicker/colorSwatchContext.d.ts +6 -2
- package/dist/components/core/ColorPicker/colorSwatchTypes.d.ts +11 -2
- package/dist/components/core/ColorPicker/index.d.ts +14 -3
- package/dist/components/core/ComboBox/ComboBox.d.ts +2 -2
- package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +19 -1
- package/dist/components/core/ComboBox/comboBoxContext.d.ts +6 -2
- package/dist/components/core/ComboBox/comboBoxFieldParts.d.ts +12 -14
- package/dist/components/core/ComboBox/comboBoxParts.d.ts +4 -1
- package/dist/components/core/ComboBox/comboBoxTypes.d.ts +27 -3
- package/dist/components/core/ComboBox/index.d.ts +15 -5
- package/dist/components/core/Dialog/Dialog.d.ts +1 -1
- package/dist/components/core/Dialog/dialogContext.d.ts +6 -2
- package/dist/components/core/Dialog/dialogParts.d.ts +10 -5
- package/dist/components/core/Dialog/dialogTypes.d.ts +33 -7
- package/dist/components/core/Dialog/index.d.ts +8 -3
- package/dist/components/core/Disclosure/Disclosure.d.ts +2 -1
- package/dist/components/core/Disclosure/disclosureContext.d.ts +6 -2
- package/dist/components/core/Disclosure/disclosureParts.d.ts +1 -1
- package/dist/components/core/Disclosure/disclosureTypes.d.ts +25 -7
- package/dist/components/core/Disclosure/index.d.ts +2 -1
- package/dist/components/core/Drawer/Drawer.d.ts +1 -1
- package/dist/components/core/Drawer/drawerContext.d.ts +6 -2
- package/dist/components/core/Drawer/drawerParts.d.ts +10 -5
- package/dist/components/core/Drawer/drawerTypes.d.ts +33 -7
- package/dist/components/core/Drawer/index.d.ts +8 -3
- package/dist/components/core/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/core/Dropdown/dropdownAnimations.d.ts +30 -8
- package/dist/components/core/Dropdown/dropdownContext.d.ts +6 -2
- package/dist/components/core/Dropdown/dropdownItemParts.d.ts +4 -3
- package/dist/components/core/Dropdown/dropdownParts.d.ts +8 -4
- package/dist/components/core/Dropdown/dropdownSubParts.d.ts +2 -0
- package/dist/components/core/Dropdown/dropdownTypes.d.ts +56 -12
- package/dist/components/core/Dropdown/index.d.ts +9 -2
- package/dist/components/core/Expandable/Expandable.d.ts +2 -1
- package/dist/components/core/Expandable/expandableContext.d.ts +6 -2
- package/dist/components/core/Expandable/expandableParts.d.ts +3 -3
- package/dist/components/core/Expandable/expandableTypes.d.ts +24 -6
- package/dist/components/core/Expandable/index.d.ts +2 -1
- package/dist/components/core/Field/Field.d.ts +2 -1
- package/dist/components/core/Field/fieldAnimations.d.ts +17 -17
- package/dist/components/core/Field/fieldContext.d.ts +12 -4
- package/dist/components/core/Field/fieldParts.d.ts +8 -9
- package/dist/components/core/Field/fieldTypes.d.ts +22 -6
- package/dist/components/core/Field/index.d.ts +7 -4
- package/dist/components/core/Input/Input.d.ts +2 -2
- package/dist/components/core/Input/index.d.ts +15 -5
- package/dist/components/core/Input/inputAnimations.d.ts +20 -2
- package/dist/components/core/Input/inputContext.d.ts +6 -2
- package/dist/components/core/Input/inputControlParts.d.ts +1 -0
- package/dist/components/core/Input/inputFieldParts.d.ts +12 -14
- package/dist/components/core/Input/inputTypes.d.ts +28 -3
- package/dist/components/core/Kbd/Kbd.d.ts +2 -1
- package/dist/components/core/Kbd/index.d.ts +10 -3
- package/dist/components/core/Kbd/kbdAnimations.d.ts +19 -3
- package/dist/components/core/Kbd/kbdContext.d.ts +6 -2
- package/dist/components/core/Kbd/kbdParts.d.ts +8 -5
- package/dist/components/core/Kbd/kbdTypes.d.ts +21 -3
- package/dist/components/core/Label/Label.d.ts +12 -2
- package/dist/components/core/Label/index.d.ts +1 -2
- package/dist/components/core/Label/labelContext.d.ts +6 -2
- package/dist/components/core/Label/labelTypes.d.ts +8 -2
- package/dist/components/core/Link/Link.d.ts +1 -1
- package/dist/components/core/Link/linkContext.d.ts +6 -2
- package/dist/components/core/Link/linkTypes.d.ts +26 -3
- package/dist/components/core/ListBox/ListBox.d.ts +1 -1
- package/dist/components/core/ListBox/index.d.ts +1 -0
- package/dist/components/core/ListBox/listBoxAnimations.d.ts +20 -2
- package/dist/components/core/ListBox/listBoxContext.d.ts +6 -2
- package/dist/components/core/ListBox/listBoxParts.d.ts +8 -7
- package/dist/components/core/ListBox/listBoxTypes.d.ts +38 -6
- package/dist/components/core/Loading/Loading.d.ts +2 -1
- package/dist/components/core/Loading/loadingContext.d.ts +6 -2
- package/dist/components/core/Loading/loadingTypes.d.ts +8 -2
- package/dist/components/core/Meter/Meter.d.ts +2 -2
- package/dist/components/core/Meter/index.d.ts +14 -5
- package/dist/components/core/Meter/meterAnimations.d.ts +30 -4
- package/dist/components/core/Meter/meterContext.d.ts +7 -3
- package/dist/components/core/Meter/meterParts.d.ts +13 -14
- package/dist/components/core/Meter/meterStyles.d.ts +1 -6
- package/dist/components/core/Meter/meterTypes.d.ts +36 -12
- package/dist/components/core/Meter/useMeterTrackState.d.ts +0 -2
- package/dist/components/core/Pagination/Pagination.d.ts +3 -2
- package/dist/components/core/Pagination/index.d.ts +18 -6
- package/dist/components/core/Pagination/paginationAnimations.d.ts +29 -2
- package/dist/components/core/Pagination/paginationContext.d.ts +6 -2
- package/dist/components/core/Pagination/paginationParts.d.ts +17 -6
- package/dist/components/core/Pagination/paginationTypes.d.ts +43 -5
- package/dist/components/core/Popover/Popover.d.ts +1 -1
- package/dist/components/core/Popover/index.d.ts +9 -3
- package/dist/components/core/Popover/popoverContext.d.ts +6 -2
- package/dist/components/core/Popover/popoverParts.d.ts +9 -4
- package/dist/components/core/Popover/popoverTypes.d.ts +41 -9
- package/dist/components/core/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/components/core/ProgressBar/index.d.ts +14 -5
- package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +32 -4
- package/dist/components/core/ProgressBar/progressBarContext.d.ts +7 -3
- package/dist/components/core/ProgressBar/progressBarParts.d.ts +13 -14
- package/dist/components/core/ProgressBar/progressBarTypes.d.ts +35 -12
- package/dist/components/core/Radio/Radio.d.ts +2 -1
- package/dist/components/core/Radio/index.d.ts +5 -2
- package/dist/components/core/Radio/radioAnimations.d.ts +26 -4
- package/dist/components/core/Radio/radioContext.d.ts +12 -2
- package/dist/components/core/Radio/radioParts.d.ts +11 -7
- package/dist/components/core/Radio/radioTypes.d.ts +45 -10
- package/dist/components/core/SearchInput/searchInputContext.d.ts +6 -2
- package/dist/components/core/Select/Select.d.ts +2 -2
- package/dist/components/core/Select/index.d.ts +15 -5
- package/dist/components/core/Select/selectAnimations.d.ts +19 -1
- package/dist/components/core/Select/selectContext.d.ts +6 -2
- package/dist/components/core/Select/selectFieldParts.d.ts +12 -14
- package/dist/components/core/Select/selectParts.d.ts +3 -1
- package/dist/components/core/Select/selectTriggerParts.d.ts +1 -0
- package/dist/components/core/Select/selectTypes.d.ts +27 -3
- package/dist/components/core/SelectionIndicator/SelectionIndicator.d.ts +1 -1
- package/dist/components/core/SelectionIndicator/selectionIndicatorContext.d.ts +6 -2
- package/dist/components/core/SelectionIndicator/selectionIndicatorTypes.d.ts +12 -2
- package/dist/components/core/SelectionThumb/SelectionThumb.d.ts +1 -1
- package/dist/components/core/SelectionThumb/selectionThumbContext.d.ts +6 -2
- package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +9 -2
- package/dist/components/core/Separator/Separator.d.ts +2 -1
- package/dist/components/core/Separator/separatorContext.d.ts +6 -2
- package/dist/components/core/Separator/separatorTypes.d.ts +8 -2
- package/dist/components/core/Skeleton/Skeleton.d.ts +2 -1
- package/dist/components/core/Skeleton/index.d.ts +10 -5
- package/dist/components/core/Skeleton/skeletonContext.d.ts +6 -2
- package/dist/components/core/Skeleton/skeletonParts.d.ts +9 -4
- package/dist/components/core/Skeleton/skeletonTypes.d.ts +33 -6
- package/dist/components/core/Slider/Slider.d.ts +2 -2
- package/dist/components/core/Slider/index.d.ts +13 -5
- package/dist/components/core/Slider/sliderAnimations.d.ts +20 -1
- package/dist/components/core/Slider/sliderContext.d.ts +6 -2
- package/dist/components/core/Slider/sliderParts.d.ts +13 -15
- package/dist/components/core/Slider/sliderScaleField.d.ts +4 -6
- package/dist/components/core/Slider/sliderThumbParts.d.ts +1 -1
- package/dist/components/core/Slider/sliderTypes.d.ts +27 -5
- package/dist/components/core/Slider/useSliderTrackState.d.ts +28 -28
- package/dist/components/core/Surface/Surface.d.ts +2 -1
- package/dist/components/core/Surface/surfaceContext.d.ts +6 -2
- package/dist/components/core/Surface/surfaceTypes.d.ts +8 -2
- package/dist/components/core/Switch/Switch.d.ts +2 -1
- package/dist/components/core/Switch/index.d.ts +3 -1
- package/dist/components/core/Switch/switchAnimations.d.ts +12 -1
- package/dist/components/core/Switch/switchContext.d.ts +6 -2
- package/dist/components/core/Switch/switchControlParts.d.ts +1 -0
- package/dist/components/core/Switch/switchFieldParts.d.ts +3 -3
- package/dist/components/core/Switch/switchTrackParts.d.ts +1 -1
- package/dist/components/core/Switch/switchTypes.d.ts +50 -7
- package/dist/components/core/Switch/useSwitchRootState.d.ts +17 -17
- package/dist/components/core/Table/Table.d.ts +5 -4
- package/dist/components/core/Table/index.d.ts +14 -4
- package/dist/components/core/Table/tableAPI.d.ts +3 -1
- package/dist/components/core/Table/tableAnimations.d.ts +3 -3
- package/dist/components/core/Table/tableContext.d.ts +6 -2
- package/dist/components/core/Table/tableParts.d.ts +12 -3
- package/dist/components/core/Table/tableTypes.d.ts +30 -8
- package/dist/components/core/Tabs/Tabs.d.ts +2 -1
- package/dist/components/core/Tabs/index.d.ts +4 -1
- package/dist/components/core/Tabs/tabsAnimations.d.ts +3 -2
- package/dist/components/core/Tabs/tabsContext.d.ts +6 -2
- package/dist/components/core/Tabs/tabsPanelPart.d.ts +1 -0
- package/dist/components/core/Tabs/tabsTabPart.d.ts +1 -0
- package/dist/components/core/Tabs/tabsTypes.d.ts +19 -2
- package/dist/components/core/Text/Text.d.ts +2 -1
- package/dist/components/core/Text/textContext.d.ts +6 -2
- package/dist/components/core/Text/textTypes.d.ts +8 -2
- package/dist/components/core/TextArea/TextArea.d.ts +2 -2
- package/dist/components/core/TextArea/index.d.ts +15 -5
- package/dist/components/core/TextArea/textAreaAnimations.d.ts +19 -1
- package/dist/components/core/TextArea/textAreaContext.d.ts +6 -2
- package/dist/components/core/TextArea/textAreaParts.d.ts +14 -14
- package/dist/components/core/TextArea/textAreaTypes.d.ts +29 -3
- package/dist/components/core/TimeField/TimeField.d.ts +2 -2
- package/dist/components/core/TimeField/index.d.ts +14 -5
- package/dist/components/core/TimeField/timeFieldAnimations.d.ts +20 -2
- package/dist/components/core/TimeField/timeFieldContext.d.ts +6 -2
- package/dist/components/core/TimeField/timeFieldParts.d.ts +13 -14
- package/dist/components/core/TimeField/timeFieldTypes.d.ts +28 -4
- package/dist/components/core/Toast/Toast.d.ts +2 -1
- package/dist/components/core/Toast/index.d.ts +2 -1
- package/dist/components/core/Toast/toastAnimations.d.ts +2 -1
- package/dist/components/core/Toast/toastContext.d.ts +6 -2
- package/dist/components/core/Toast/toastTypes.d.ts +26 -9
- package/dist/components/core/ToggleButton/ToggleButton.d.ts +2 -1
- package/dist/components/core/ToggleButton/index.d.ts +2 -1
- package/dist/components/core/ToggleButton/toggleButtonContext.d.ts +6 -2
- package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +8 -2
- package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/core/Tooltip/index.d.ts +3 -2
- package/dist/components/core/Tooltip/tooltipAnimations.d.ts +1 -0
- package/dist/components/core/Tooltip/tooltipContext.d.ts +6 -2
- package/dist/components/core/Tooltip/tooltipParts.d.ts +7 -6
- package/dist/components/core/Tooltip/tooltipTypes.d.ts +34 -7
- package/dist/components/core/Tooltip/useTooltipRootState.d.ts +2 -2
- package/dist/components/core/utils/motionConfig.d.ts +4 -4
- package/dist/components/core/utils/optionListItemParts.d.ts +4 -2
- package/dist/components/core/utils/overlayTriggerSqueeze.d.ts +39 -0
- package/dist/components/core/utils/slotMotion/createMotionScope.d.ts +18 -4
- package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.d.ts +3 -7
- package/dist/components/core/utils/slotMotion/index.d.ts +7 -2
- package/dist/components/core/utils/slotMotion/kitMotionRecipeMeta.d.ts +8 -0
- package/dist/components/core/utils/slotMotion/motionController.d.ts +20 -0
- package/dist/components/core/utils/slotMotion/motionController.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/motionControllerApi.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/motionControllerTypes.d.ts +49 -0
- package/dist/components/core/utils/slotMotion/motionEvents.d.ts +67 -0
- package/dist/components/core/utils/slotMotion/motionEvents.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/motionRecipeRegistry.d.ts +6 -2
- package/dist/components/core/utils/slotMotion/motionTween.d.ts +49 -0
- package/dist/components/core/utils/slotMotion/motionTween.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/playMotionState.d.ts +29 -0
- package/dist/components/core/utils/slotMotion/playMotionState.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/recipes/collapsibleHeight.d.ts +1 -1
- package/dist/components/core/utils/slotMotion/recipes/progressFill.d.ts +9 -0
- package/dist/components/core/utils/slotMotion/recipes/progressFill.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/runMotionPhase.d.ts +5 -2
- package/dist/components/core/utils/slotMotion/slotMotionTypes.d.ts +115 -9
- package/dist/components/core/utils/slotMotion/useBarFillMotion.d.ts +21 -0
- package/dist/components/core/utils/slotMotion/useMotionPart.d.ts +5 -5
- package/dist/components/core/utils/useCollapsibleHeight.d.ts +9 -1
- package/dist/components/core/utils/useContainerPointerHoverHandlers.d.ts +5 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +31 -31
- package/dist/index.js +20166 -16841
- package/dist/internal.js +1 -1
- package/dist/{themeRuntimeContext-B1dAP9WW.js → themeRuntimeContext-DCicI7AC.js} +48 -48
- package/dist/ui.css +43 -0
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@ import { SwitchErrorProps, SwitchHintProps, SwitchLabelProps } from './switchTyp
|
|
|
2
2
|
export declare const SwitchContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
children?: import('react').ReactNode;
|
|
4
4
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export declare function SwitchLabel({ children, className, ...rest }: SwitchLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function SwitchLabel({ children, className, motion, ...rest }: SwitchLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare namespace SwitchLabel {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function SwitchHint({ children, className, variant, ...rest }: SwitchHintProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function SwitchHint({ children, className, variant, motion, ...rest }: SwitchHintProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare namespace SwitchHint {
|
|
11
11
|
var displayName: string;
|
|
12
12
|
}
|
|
13
|
-
export declare function SwitchError({ children, className, ...rest }: SwitchErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function SwitchError({ children, className, motion, ...rest }: SwitchErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export declare namespace SwitchError {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SwitchFillProps, SwitchIconProps, SwitchThumbProps, SwitchTrackProps } from './switchTypes';
|
|
2
|
-
export declare function SwitchTrack({ motion, size, thickness, ...rest }: SwitchTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function SwitchTrack({ motion, motionController, size, thickness, ...rest }: SwitchTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace SwitchTrack {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -2,7 +2,7 @@ import { HTMLAttributes, InputHTMLAttributes, KeyboardEvent, LabelHTMLAttributes
|
|
|
2
2
|
import { Prettify } from '../../../utils/prettify';
|
|
3
3
|
import { FieldErrorProps, FieldHintProps } from '../Field';
|
|
4
4
|
import { LabelProps } from '../Label';
|
|
5
|
-
import { MotionValue } from '../utils/slotMotion';
|
|
5
|
+
import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
|
|
6
6
|
import { SwitchSize } from './switchGeometry';
|
|
7
7
|
export type { SwitchSize };
|
|
8
8
|
export type SwitchLabelPosition = "left" | "right";
|
|
@@ -26,12 +26,22 @@ export type SwitchClassNames = {
|
|
|
26
26
|
export type SwitchCheckMotion = {
|
|
27
27
|
check?: MotionValue;
|
|
28
28
|
uncheck?: MotionValue;
|
|
29
|
+
enter?: MotionValue;
|
|
30
|
+
leave?: MotionValue;
|
|
31
|
+
hoverIn?: MotionValue;
|
|
32
|
+
hoverOut?: MotionValue;
|
|
33
|
+
pressIn?: MotionValue;
|
|
34
|
+
pressOut?: MotionValue;
|
|
29
35
|
};
|
|
30
36
|
export type SwitchMotion = {
|
|
31
37
|
fill?: SwitchCheckMotion;
|
|
32
38
|
thumb?: SwitchCheckMotion;
|
|
33
39
|
iconOff?: SwitchCheckMotion;
|
|
34
40
|
iconOn?: SwitchCheckMotion;
|
|
41
|
+
track?: SwitchCheckMotion;
|
|
42
|
+
label?: SwitchCheckMotion;
|
|
43
|
+
hint?: SwitchCheckMotion;
|
|
44
|
+
error?: SwitchCheckMotion;
|
|
35
45
|
};
|
|
36
46
|
export type SwitchFieldContextValue = {
|
|
37
47
|
switchId: string;
|
|
@@ -49,6 +59,9 @@ export type SwitchFieldContextValue = {
|
|
|
49
59
|
useInlineCompoundMotion: boolean;
|
|
50
60
|
textMotionRef: RefObject<HTMLElement | null>;
|
|
51
61
|
setSqueezeToken: (fn: (t: number) => number) => void;
|
|
62
|
+
/** `null` until `Switch.Control` syncs (compound). Chrome `check`/`uncheck` wait for this. */
|
|
63
|
+
mergedChecked: boolean | null;
|
|
64
|
+
setMergedChecked: (next: boolean) => void;
|
|
52
65
|
};
|
|
53
66
|
export type SwitchTrackContextValue = {
|
|
54
67
|
checked: boolean;
|
|
@@ -72,6 +85,11 @@ export type SwitchControlProps = Omit<LabelHTMLAttributes<HTMLLabelElement>, "ch
|
|
|
72
85
|
className?: string;
|
|
73
86
|
classNames?: Prettify<Pick<SwitchClassNames, "control" | "input" | "track" | "fill" | "thumb" | "thumbShell" | "icon">>;
|
|
74
87
|
children?: ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* Forwarded to an auto-created `Switch.Track` (simple / Control without a Track child).
|
|
90
|
+
* Explicit `<Switch.Track motionController>` wins on that nested host.
|
|
91
|
+
*/
|
|
92
|
+
motionController?: MotionController;
|
|
75
93
|
};
|
|
76
94
|
export type SwitchTrackProps = HTMLAttributes<HTMLSpanElement> & {
|
|
77
95
|
size: SwitchSize;
|
|
@@ -84,7 +102,13 @@ export type SwitchTrackProps = HTMLAttributes<HTMLSpanElement> & {
|
|
|
84
102
|
iconOn?: ReactNode;
|
|
85
103
|
gloss?: boolean;
|
|
86
104
|
classNames?: Prettify<Pick<SwitchClassNames, "track" | "fill" | "thumb" | "thumbShell" | "icon">>;
|
|
87
|
-
motion?: Prettify<SwitchMotion
|
|
105
|
+
motion?: Prettify<MotionMapWithEvents<SwitchMotion>>;
|
|
106
|
+
/**
|
|
107
|
+
* Handle for this Track nested host (`track` / `fill` / `thumb` / `iconOn` / `iconOff`).
|
|
108
|
+
* Simple API: pass `motionController` on `Switch` — it is forwarded here.
|
|
109
|
+
* There is no `root` on this scope — `play()` skips; use `playSlot("track")`.
|
|
110
|
+
*/
|
|
111
|
+
motionController?: MotionController;
|
|
88
112
|
};
|
|
89
113
|
export type SwitchFillProps = HTMLAttributes<HTMLSpanElement> & {
|
|
90
114
|
motion?: Prettify<SwitchCheckMotion>;
|
|
@@ -109,21 +133,40 @@ export type SwitchProps = Omit<LabelHTMLAttributes<HTMLLabelElement>, "children"
|
|
|
109
133
|
disabled?: boolean;
|
|
110
134
|
className?: string;
|
|
111
135
|
classNames?: Prettify<SwitchClassNames>;
|
|
112
|
-
|
|
136
|
+
/**
|
|
137
|
+
* Per-slot motion (`track`, `fill`, `thumb`, `iconOn`, `iconOff`, `label`, `hint`, `error`).
|
|
138
|
+
* Track is the nested fill host. Chrome registers on the Root scope.
|
|
139
|
+
* `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
|
|
140
|
+
* Simple API: `motionController` is forwarded to `Switch.Track`.
|
|
141
|
+
* Compound: this handle attaches to the Root chrome scope; pass another handle on `Track`.
|
|
142
|
+
*/
|
|
143
|
+
motion?: Prettify<MotionMapWithEvents<SwitchMotion>>;
|
|
144
|
+
/**
|
|
145
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
146
|
+
* Simple API: forwarded to the Track nested Provider. Compound: Root chrome scope.
|
|
147
|
+
* Not placed on the DOM.
|
|
148
|
+
*/
|
|
149
|
+
motionController?: MotionController;
|
|
113
150
|
onPointerDown?: (e: PointerEvent<HTMLLabelElement>) => void;
|
|
114
151
|
};
|
|
115
152
|
export type SwitchSimpleProps = SwitchProps & SwitchControlProps;
|
|
116
153
|
export type SwitchContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
117
154
|
children?: ReactNode;
|
|
118
155
|
};
|
|
119
|
-
export type SwitchLabelProps = Omit<LabelProps, "htmlFor"
|
|
120
|
-
|
|
121
|
-
|
|
156
|
+
export type SwitchLabelProps = Omit<LabelProps, "htmlFor" | "motion"> & {
|
|
157
|
+
motion?: Prettify<SwitchCheckMotion>;
|
|
158
|
+
};
|
|
159
|
+
export type SwitchHintProps = Omit<FieldHintProps, "id" | "as" | "motion"> & {
|
|
160
|
+
motion?: Prettify<SwitchCheckMotion>;
|
|
161
|
+
};
|
|
162
|
+
export type SwitchErrorProps = Omit<FieldErrorProps, "id" | "as" | "motion"> & {
|
|
163
|
+
motion?: Prettify<SwitchCheckMotion>;
|
|
164
|
+
};
|
|
122
165
|
export type SwitchClassNamesProviderProps = {
|
|
123
166
|
classNames?: Prettify<SwitchClassNames>;
|
|
124
167
|
children: ReactNode;
|
|
125
168
|
};
|
|
126
|
-
export type UseSwitchRootStateProps = Omit<SwitchProps, "className" | "classNames" | "onPointerDown" | "motion"> & Partial<SwitchControlProps
|
|
169
|
+
export type UseSwitchRootStateProps = Omit<SwitchProps, "className" | "classNames" | "onPointerDown" | "motion" | "motionController"> & Partial<Omit<SwitchControlProps, "motionController">>;
|
|
127
170
|
export type UseSwitchAnimationsProps = {
|
|
128
171
|
isDisabled?: boolean;
|
|
129
172
|
enableTextMotion: boolean;
|
|
@@ -34,29 +34,33 @@ export declare function useSwitchRootState({ children, label, hint, error, label
|
|
|
34
34
|
style?: import('react').CSSProperties | undefined;
|
|
35
35
|
title?: string | undefined;
|
|
36
36
|
hidden?: boolean | undefined;
|
|
37
|
+
part?: string | undefined;
|
|
37
38
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
38
|
-
|
|
39
|
-
onPointerOut?: (import('react').PointerEventHandler<HTMLLabelElement> & import('react').PointerEventHandler<HTMLInputElement>) | undefined;
|
|
39
|
+
accessKey?: string | undefined;
|
|
40
40
|
dir?: string | undefined;
|
|
41
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
42
|
+
inert?: boolean | undefined;
|
|
43
|
+
lang?: string | undefined;
|
|
44
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
41
45
|
id?: string | undefined;
|
|
46
|
+
role?: import('react').AriaRole | undefined;
|
|
47
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
48
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
49
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
50
|
+
nonce?: string | undefined;
|
|
51
|
+
tabIndex?: number | undefined;
|
|
52
|
+
onPointerOver?: (import('react').PointerEventHandler<HTMLLabelElement> & import('react').PointerEventHandler<HTMLInputElement>) | undefined;
|
|
53
|
+
onPointerOut?: (import('react').PointerEventHandler<HTMLLabelElement> & import('react').PointerEventHandler<HTMLInputElement>) | undefined;
|
|
42
54
|
onPointerUp?: (import('react').PointerEventHandler<HTMLLabelElement> & import('react').PointerEventHandler<HTMLInputElement>) | undefined;
|
|
43
55
|
defaultChecked?: boolean | undefined;
|
|
44
56
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
45
57
|
suppressContentEditableWarning?: boolean | undefined;
|
|
46
58
|
suppressHydrationWarning?: boolean | undefined;
|
|
47
|
-
accessKey?: string | undefined;
|
|
48
59
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
49
60
|
autoFocus?: boolean | undefined;
|
|
50
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
51
61
|
contextMenu?: string | undefined;
|
|
52
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
53
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
54
|
-
lang?: string | undefined;
|
|
55
|
-
nonce?: string | undefined;
|
|
56
62
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
57
|
-
tabIndex?: number | undefined;
|
|
58
63
|
radioGroup?: string | undefined;
|
|
59
|
-
role?: import('react').AriaRole | undefined;
|
|
60
64
|
about?: string | undefined;
|
|
61
65
|
datatype?: string | undefined;
|
|
62
66
|
inlist?: any;
|
|
@@ -76,14 +80,10 @@ export declare function useSwitchRootState({ children, label, hint, error, label
|
|
|
76
80
|
results?: number | undefined;
|
|
77
81
|
security?: string | undefined;
|
|
78
82
|
unselectable?: "on" | "off" | undefined;
|
|
79
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
80
83
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
81
84
|
popoverTarget?: string | undefined;
|
|
82
|
-
inert?: boolean | undefined;
|
|
83
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
84
85
|
is?: string | undefined;
|
|
85
86
|
exportparts?: string | undefined;
|
|
86
|
-
part?: string | undefined;
|
|
87
87
|
"aria-activedescendant"?: string | undefined;
|
|
88
88
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
89
89
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
@@ -302,7 +302,6 @@ export declare function useSwitchRootState({ children, label, hint, error, label
|
|
|
302
302
|
onTransitionRunCapture?: (import('react').TransitionEventHandler<HTMLLabelElement> & import('react').TransitionEventHandler<HTMLInputElement>) | undefined;
|
|
303
303
|
onTransitionStart?: (import('react').TransitionEventHandler<HTMLLabelElement> & import('react').TransitionEventHandler<HTMLInputElement>) | undefined;
|
|
304
304
|
onTransitionStartCapture?: (import('react').TransitionEventHandler<HTMLLabelElement> & import('react').TransitionEventHandler<HTMLInputElement>) | undefined;
|
|
305
|
-
onPointerDown?: (import('react').PointerEventHandler<HTMLLabelElement> & import('react').PointerEventHandler<HTMLInputElement>) | undefined;
|
|
306
305
|
height?: number | string | undefined | undefined;
|
|
307
306
|
pattern?: string | undefined | undefined;
|
|
308
307
|
min?: number | string | undefined | undefined;
|
|
@@ -310,10 +309,13 @@ export declare function useSwitchRootState({ children, label, hint, error, label
|
|
|
310
309
|
width?: number | string | undefined | undefined;
|
|
311
310
|
value?: string | number | readonly string[] | undefined;
|
|
312
311
|
name?: string | undefined | undefined;
|
|
312
|
+
onPointerDown?: (import('react').PointerEventHandler<HTMLLabelElement> & import('react').PointerEventHandler<HTMLInputElement>) | undefined;
|
|
313
313
|
onChange?: import('react').ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
314
314
|
list?: string | undefined | undefined;
|
|
315
315
|
step?: number | string | undefined | undefined;
|
|
316
316
|
multiple?: boolean | undefined | undefined;
|
|
317
|
+
gloss?: boolean | undefined;
|
|
318
|
+
classNames?: import('../../..').Prettify<Pick<import('./switchTypes').SwitchClassNames, "control" | "input" | "track" | "fill" | "thumb" | "thumbShell" | "icon">> | undefined;
|
|
317
319
|
required?: boolean | undefined | undefined;
|
|
318
320
|
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
319
321
|
accept?: string | undefined | undefined;
|
|
@@ -333,7 +335,5 @@ export declare function useSwitchRootState({ children, label, hint, error, label
|
|
|
333
335
|
thickness?: number | string | undefined;
|
|
334
336
|
iconOff?: import('react').ReactNode;
|
|
335
337
|
iconOn?: import('react').ReactNode;
|
|
336
|
-
gloss?: boolean | undefined;
|
|
337
|
-
classNames?: import('../../..').Prettify<Pick<import('./switchTypes').SwitchClassNames, "control" | "input" | "track" | "fill" | "thumb" | "thumbShell" | "icon">> | undefined;
|
|
338
338
|
};
|
|
339
339
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { TableBody, TableCell, TableColumn, TableContent, TableFooter, TableHeader, TableHeaderRow, TableLabel, TableRow, TableScrollContainer } from './tableParts';
|
|
2
|
-
export type { TableProps, TableVariant, TableRowTone, TableScrollContainerProps, TableContentProps, TableHeaderProps, TableHeaderRowProps, TableColumnProps, TableColumnRenderProps, TableColumnSortIconRenderProps, TableLabelProps, TableBodyProps, TableRowProps, TableCellProps, TableFooterProps, SortDescriptor, SortDirection, SelectionMode, Selection, TableClassNames, TableMotion, TablePartMotion, } from './tableTypes';
|
|
1
|
+
import { TableBody, TableCell, TableColumn, TableContent, TableEmpty, TableFooter, TableHeader, TableHeaderRow, TableLabel, TableRow, TableScrollContainer } from './tableParts';
|
|
2
|
+
export type { TableProps, TableVariant, TableRowTone, TableScrollContainerProps, TableContentProps, TableHeaderProps, TableHeaderRowProps, TableColumnProps, TableColumnRenderProps, TableColumnSortIconRenderProps, TableLabelProps, TableBodyProps, TableEmptyProps, TableRowProps, TableCellProps, TableFooterProps, SortDescriptor, SortDirection, SelectionMode, Selection, TableClassNames, TableMotion, TablePartMotion, } from './tableTypes';
|
|
3
3
|
export { TABLE_ROW_TONE_SURFACE } from './tableStyles';
|
|
4
4
|
export declare const TableRoot: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
variant?: import('./tableTypes').TableVariant;
|
|
6
6
|
classNames?: import('../../..').Prettify<import('./tableTypes').TableClassNames>;
|
|
7
|
-
motion?: import('../../..').Prettify<import('./tableTypes').TableMotion
|
|
7
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./tableTypes').TableMotion>>;
|
|
8
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
8
9
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export { TableScrollContainer, TableContent, TableHeader, TableHeaderRow, TableColumn, TableLabel, TableBody, TableRow, TableCell, TableFooter, };
|
|
10
|
+
export { TableScrollContainer, TableContent, TableHeader, TableHeaderRow, TableColumn, TableLabel, TableBody, TableEmpty, TableRow, TableCell, TableFooter, };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare const Table: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
2
2
|
variant?: import('./tableTypes').TableVariant;
|
|
3
3
|
classNames?: import('../../..').Prettify<import('./tableTypes').TableClassNames>;
|
|
4
|
-
motion?: import('../../..').Prettify<import('./tableTypes').TableMotion
|
|
4
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./tableTypes').TableMotion>>;
|
|
5
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
5
6
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
6
7
|
ScrollContainer: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
7
8
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
@@ -22,7 +23,9 @@ export declare const Table: import('react').ForwardRefExoticComponent<import('re
|
|
|
22
23
|
children?: import('react').ReactNode | ((column: any) => import('react').ReactNode);
|
|
23
24
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
24
25
|
} & import('react').RefAttributes<HTMLTableSectionElement>>;
|
|
25
|
-
HeaderRow: import('react').ForwardRefExoticComponent<import('
|
|
26
|
+
HeaderRow: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLTableRowElement> & {
|
|
27
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
28
|
+
} & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
26
29
|
Column: import('react').ForwardRefExoticComponent<Omit<import('react').ThHTMLAttributes<HTMLTableCellElement>, "children"> & {
|
|
27
30
|
id?: string;
|
|
28
31
|
allowsSorting?: boolean;
|
|
@@ -31,16 +34,23 @@ export declare const Table: import('react').ForwardRefExoticComponent<import('re
|
|
|
31
34
|
children?: import('react').ReactNode | ((props: import('./tableTypes').TableColumnRenderProps) => import('react').ReactNode);
|
|
32
35
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
33
36
|
} & import('react').RefAttributes<HTMLTableCellElement>>;
|
|
34
|
-
Label: import('react').ForwardRefExoticComponent<import('
|
|
37
|
+
Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
|
|
38
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
39
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
35
40
|
Body: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableSectionElement>, "children"> & {
|
|
36
41
|
items?: any[];
|
|
37
42
|
children?: import('react').ReactNode | ((item: any) => import('react').ReactNode);
|
|
38
43
|
renderEmptyState?: () => import('react').ReactNode;
|
|
44
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
39
45
|
} & import('react').RefAttributes<HTMLTableSectionElement>>;
|
|
46
|
+
Empty: import('react').ForwardRefExoticComponent<import('react').TdHTMLAttributes<HTMLTableCellElement> & {
|
|
47
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
48
|
+
} & import('react').RefAttributes<HTMLTableCellElement>>;
|
|
40
49
|
Row: import('react').NamedExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableRowElement>, "id"> & {
|
|
41
50
|
id?: string | number;
|
|
42
51
|
tone?: import('./tableStyles').TableRowTone;
|
|
43
52
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
53
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
44
54
|
} & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
45
55
|
Cell: import('react').NamedExoticComponent<import('react').TdHTMLAttributes<HTMLTableCellElement> & {
|
|
46
56
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
@@ -50,4 +60,4 @@ export declare const Table: import('react').ForwardRefExoticComponent<import('re
|
|
|
50
60
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
51
61
|
};
|
|
52
62
|
export { TABLE_ROW_TONE_SURFACE } from './tableStyles';
|
|
53
|
-
export type { TableProps, TableVariant, TableRowTone, TableScrollContainerProps, TableContentProps, TableHeaderProps, TableHeaderRowProps, TableColumnProps, TableColumnRenderProps, TableColumnSortIconRenderProps, TableLabelProps, TableBodyProps, TableRowProps, TableCellProps, TableFooterProps, SortDescriptor, SortDirection, SelectionMode, Selection, TableClassNames, TableMotion, TablePartMotion, } from './tableTypes';
|
|
63
|
+
export type { TableProps, TableVariant, TableRowTone, TableScrollContainerProps, TableContentProps, TableHeaderProps, TableHeaderRowProps, TableColumnProps, TableColumnRenderProps, TableColumnSortIconRenderProps, TableLabelProps, TableBodyProps, TableEmptyProps, TableRowProps, TableCellProps, TableFooterProps, SortDescriptor, SortDirection, SelectionMode, Selection, TableClassNames, TableMotion, TablePartMotion, } from './tableTypes';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Selection, SelectionMode, SortDescriptor } from './tableTypes';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
2
|
+
import { ReactElement, ReactNode } from 'react';
|
|
3
3
|
export declare const EMPTY_TABLE_SELECTION: Set<string | number>;
|
|
4
4
|
export declare const TONED_ROW_DEFAULT_TONE: "secondary";
|
|
5
5
|
export declare const TABLE_LABEL_DISPLAY_NAME = "Table.Label";
|
|
6
|
+
export declare const TABLE_EMPTY_DISPLAY_NAME = "Table.Empty";
|
|
6
7
|
export declare function hasTableLabel(children: ReactNode): boolean;
|
|
8
|
+
export declare function isTableEmptyElement(node: ReactNode): node is ReactElement;
|
|
7
9
|
export declare function isRowInSelection(selectedKeys: Selection, key: string | number): boolean;
|
|
8
10
|
export declare function selectionEquals(a: Selection, b: Selection): boolean;
|
|
9
11
|
export declare function toggleSelectionKey({ selectionMode, selectedKeys, key, }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ForwardedRef, ReactNode, PointerEvent as ReactPointerEvent } from 'react';
|
|
1
|
+
import { ForwardedRef, ReactNode, RefObject, PointerEvent as ReactPointerEvent } from 'react';
|
|
2
2
|
import { MotionScopeValue } from '../utils/slotMotion';
|
|
3
3
|
import { SortDirection, TableMotion, TablePartMotion } from './tableTypes';
|
|
4
4
|
export declare function resolveTableMotionDefaults(): TableMotion;
|
|
@@ -11,7 +11,7 @@ export declare function useTableSlotMotion<T extends HTMLElement>(slot: keyof Ta
|
|
|
11
11
|
onPointerUp?: (e: ReactPointerEvent<T>) => void;
|
|
12
12
|
}): {
|
|
13
13
|
setRef: (node: T | null) => void;
|
|
14
|
-
targetRef:
|
|
14
|
+
targetRef: RefObject<T | null>;
|
|
15
15
|
pointerHandlers: {
|
|
16
16
|
onPointerOver: (e: ReactPointerEvent<T>) => void;
|
|
17
17
|
onPointerOut: (e: ReactPointerEvent<T>) => void;
|
|
@@ -19,7 +19,7 @@ export declare function useTableSlotMotion<T extends HTMLElement>(slot: keyof Ta
|
|
|
19
19
|
onPointerUp: (e: ReactPointerEvent<T>) => void;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export declare function useTableRowSelectionMotion(scope: MotionScopeValue | null, selected: boolean): void;
|
|
22
|
+
export declare function useTableRowSelectionMotion(scope: MotionScopeValue | null, selected: boolean, target?: RefObject<HTMLElement | null>): void;
|
|
23
23
|
export declare function TableSortChevron({ direction, children, }: {
|
|
24
24
|
direction: SortDirection | undefined;
|
|
25
25
|
children?: ReactNode;
|
|
@@ -25,9 +25,13 @@ export declare function useTableRowIsSelected(id: string | number | undefined):
|
|
|
25
25
|
export declare function useTableRowIsFocusTarget(id: string | number | undefined): boolean;
|
|
26
26
|
export { TableVariantContext, TableContentContext, TableRowContext };
|
|
27
27
|
/** Scope only. Defaults and host play live in `tableSlotMotion.ts` via `tableAnimations.tsx` helpers. */
|
|
28
|
-
export declare const TableMotionProvider: ({ motion, defaults, params, children, }: {
|
|
29
|
-
motion?: import('../utils/slotMotion').
|
|
28
|
+
export declare const TableMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
29
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
30
30
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
31
31
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
32
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
33
|
+
motionState?: string;
|
|
34
|
+
motionPayload?: unknown;
|
|
35
|
+
playInitialState?: boolean;
|
|
32
36
|
children: import('react').ReactNode;
|
|
33
37
|
}) => import("react/jsx-runtime").JSX.Element, useTableMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTableMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TableColumnRenderProps
|
|
2
|
+
import { TableColumnRenderProps } from './tableTypes';
|
|
3
3
|
export declare const TableScrollContainer: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
5
5
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -14,13 +14,17 @@ export declare const TableContent: import('react').ForwardRefExoticComponent<imp
|
|
|
14
14
|
onSortChange?: (descriptor: import('./tableTypes').SortDescriptor) => void;
|
|
15
15
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
16
16
|
} & import('react').RefAttributes<HTMLTableElement>>;
|
|
17
|
-
export declare const TableHeaderRow: import('react').ForwardRefExoticComponent<
|
|
17
|
+
export declare const TableHeaderRow: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLTableRowElement> & {
|
|
18
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
19
|
+
} & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
18
20
|
export declare const TableHeader: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableSectionElement>, "children"> & {
|
|
19
21
|
columns?: any[];
|
|
20
22
|
children?: ReactNode | ((column: any) => ReactNode);
|
|
21
23
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
22
24
|
} & import('react').RefAttributes<HTMLTableSectionElement>>;
|
|
23
|
-
export declare const TableLabel: import('react').ForwardRefExoticComponent<
|
|
25
|
+
export declare const TableLabel: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
|
|
26
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
27
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
24
28
|
export declare const TableColumn: import('react').ForwardRefExoticComponent<Omit<import('react').ThHTMLAttributes<HTMLTableCellElement>, "children"> & {
|
|
25
29
|
id?: string;
|
|
26
30
|
allowsSorting?: boolean;
|
|
@@ -33,11 +37,16 @@ export declare const TableBody: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
33
37
|
items?: any[];
|
|
34
38
|
children?: ReactNode | ((item: any) => ReactNode);
|
|
35
39
|
renderEmptyState?: () => ReactNode;
|
|
40
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
36
41
|
} & import('react').RefAttributes<HTMLTableSectionElement>>;
|
|
42
|
+
export declare const TableEmpty: import('react').ForwardRefExoticComponent<import('react').TdHTMLAttributes<HTMLTableCellElement> & {
|
|
43
|
+
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
44
|
+
} & import('react').RefAttributes<HTMLTableCellElement>>;
|
|
37
45
|
export declare const TableRow: import('react').NamedExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableRowElement>, "id"> & {
|
|
38
46
|
id?: string | number;
|
|
39
47
|
tone?: import('./tableStyles').TableRowTone;
|
|
40
48
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
49
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
41
50
|
} & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
42
51
|
export declare const TableCell: import('react').NamedExoticComponent<import('react').TdHTMLAttributes<HTMLTableCellElement> & {
|
|
43
52
|
motion?: import('../../..').Prettify<import('./tableTypes').TablePartMotion>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
2
2
|
import { Prettify } from '../../../utils/prettify';
|
|
3
|
-
import { MotionValue } from '../utils/slotMotion';
|
|
3
|
+
import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
|
|
4
4
|
import { TableRowTone } from './tableStyles';
|
|
5
5
|
export type { TableRowTone };
|
|
6
6
|
export type SortDirection = "ascending" | "descending";
|
|
@@ -34,29 +34,38 @@ export type TablePartMotion = {
|
|
|
34
34
|
pressIn?: MotionValue;
|
|
35
35
|
pressOut?: MotionValue;
|
|
36
36
|
enter?: MotionValue;
|
|
37
|
-
leave?: MotionValue;
|
|
38
37
|
check?: MotionValue;
|
|
39
38
|
uncheck?: MotionValue;
|
|
40
|
-
change?: MotionValue;
|
|
41
39
|
};
|
|
42
40
|
export type TableMotion = {
|
|
43
41
|
root?: TablePartMotion;
|
|
44
42
|
scrollContainer?: TablePartMotion;
|
|
45
43
|
content?: TablePartMotion;
|
|
46
44
|
header?: TablePartMotion;
|
|
45
|
+
headerRow?: TablePartMotion;
|
|
46
|
+
body?: TablePartMotion;
|
|
47
47
|
footer?: TablePartMotion;
|
|
48
48
|
row?: TablePartMotion;
|
|
49
49
|
column?: TablePartMotion;
|
|
50
50
|
cell?: TablePartMotion;
|
|
51
|
+
label?: TablePartMotion;
|
|
52
|
+
empty?: TablePartMotion;
|
|
51
53
|
};
|
|
52
54
|
export type TableProps = HTMLAttributes<HTMLDivElement> & {
|
|
53
55
|
variant?: TableVariant;
|
|
54
56
|
classNames?: Prettify<TableClassNames>;
|
|
55
57
|
/**
|
|
56
|
-
* Per-slot motion (`root`, `scrollContainer`, `content`, `header`, `footer`, `row`, `column`, `cell`).
|
|
57
|
-
* `glossContent` is not a slot. Sort chevron rotation is kit-internal. Defaults are empty.
|
|
58
|
+
* Per-slot motion (`root`, `scrollContainer`, `content`, `header`, `headerRow`, `body`, `footer`, `row`, `column`, `cell`, `label`, `empty`).
|
|
59
|
+
* `glossContent` is not a slot. `emptyCell` is CSS for `Table.Empty`. Sort chevron rotation is kit-internal. Defaults are empty.
|
|
60
|
+
* `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
|
|
58
61
|
*/
|
|
59
|
-
motion?: Prettify<TableMotion
|
|
62
|
+
motion?: Prettify<MotionMapWithEvents<TableMotion>>;
|
|
63
|
+
/**
|
|
64
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
65
|
+
* One handle → this table chrome scope (`root` / `header` / `column` …).
|
|
66
|
+
* Nested `Table.Row` is a separate scope — pass its own handle. Not placed on the DOM.
|
|
67
|
+
*/
|
|
68
|
+
motionController?: MotionController;
|
|
60
69
|
};
|
|
61
70
|
export type UseTableRootStateProps = Pick<TableProps, "variant">;
|
|
62
71
|
export type TableScrollContainerProps = HTMLAttributes<HTMLDivElement> & {
|
|
@@ -78,14 +87,18 @@ export type TableHeaderProps = Omit<HTMLAttributes<HTMLTableSectionElement>, "ch
|
|
|
78
87
|
children?: ReactNode | ((column: any) => ReactNode);
|
|
79
88
|
motion?: Prettify<TablePartMotion>;
|
|
80
89
|
};
|
|
81
|
-
export type TableHeaderRowProps = HTMLAttributes<HTMLTableRowElement
|
|
90
|
+
export type TableHeaderRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
91
|
+
motion?: Prettify<TablePartMotion>;
|
|
92
|
+
};
|
|
82
93
|
export type TableColumnRenderProps = {
|
|
83
94
|
sortDirection?: SortDirection;
|
|
84
95
|
};
|
|
85
96
|
export type TableColumnSortIconRenderProps = {
|
|
86
97
|
sortDirection?: SortDirection;
|
|
87
98
|
};
|
|
88
|
-
export type TableLabelProps = HTMLAttributes<HTMLSpanElement
|
|
99
|
+
export type TableLabelProps = HTMLAttributes<HTMLSpanElement> & {
|
|
100
|
+
motion?: Prettify<TablePartMotion>;
|
|
101
|
+
};
|
|
89
102
|
export type TableColumnProps = Omit<ThHTMLAttributes<HTMLTableCellElement>, "children"> & {
|
|
90
103
|
id?: string;
|
|
91
104
|
allowsSorting?: boolean;
|
|
@@ -102,11 +115,20 @@ export type TableBodyProps = Omit<HTMLAttributes<HTMLTableSectionElement>, "chil
|
|
|
102
115
|
items?: any[];
|
|
103
116
|
children?: ReactNode | ((item: any) => ReactNode);
|
|
104
117
|
renderEmptyState?: () => ReactNode;
|
|
118
|
+
motion?: Prettify<TablePartMotion>;
|
|
119
|
+
};
|
|
120
|
+
export type TableEmptyProps = TdHTMLAttributes<HTMLTableCellElement> & {
|
|
121
|
+
motion?: Prettify<TablePartMotion>;
|
|
105
122
|
};
|
|
106
123
|
export type TableRowProps = Omit<HTMLAttributes<HTMLTableRowElement>, "id"> & {
|
|
107
124
|
id?: string | number;
|
|
108
125
|
tone?: TableRowTone;
|
|
109
126
|
motion?: Prettify<TablePartMotion>;
|
|
127
|
+
/**
|
|
128
|
+
* Handle for this row's nested scope. `play()` looks for `root` (skip) —
|
|
129
|
+
* use `playSlot("row")`. Cells live here (`playAll` on the row handle).
|
|
130
|
+
*/
|
|
131
|
+
motionController?: MotionController;
|
|
110
132
|
};
|
|
111
133
|
export type TableCellProps = TdHTMLAttributes<HTMLTableCellElement> & {
|
|
112
134
|
motion?: Prettify<TablePartMotion>;
|
|
@@ -10,6 +10,7 @@ export declare const TabsRoot: import('react').ForwardRefExoticComponent<Omit<im
|
|
|
10
10
|
variant?: import('./tabsTypes').TabsVariant;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
classNames?: import('../../..').Prettify<import('./tabsTypes').TabsClassNames>;
|
|
13
|
-
motion?: import('../../..').Prettify<import('./tabsTypes').TabsMotion
|
|
13
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./tabsTypes').TabsMotion>>;
|
|
14
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
14
15
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
16
|
export { TabsList, TabsTab, TabsPanel };
|
|
@@ -8,7 +8,8 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<import
|
|
|
8
8
|
variant?: import('./tabsTypes').TabsVariant;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
classNames?: import('../../..').Prettify<import('./tabsTypes').TabsClassNames>;
|
|
11
|
-
motion?: import('../../..').Prettify<import('./tabsTypes').TabsMotion
|
|
11
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./tabsTypes').TabsMotion>>;
|
|
12
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
12
13
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
13
14
|
List: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
14
15
|
motion?: import('../../..').Prettify<import('./tabsTypes').TabsPartMotion>;
|
|
@@ -18,11 +19,13 @@ export declare const Tabs: import('react').ForwardRefExoticComponent<Omit<import
|
|
|
18
19
|
children?: import('react').ReactNode;
|
|
19
20
|
asChild?: boolean;
|
|
20
21
|
motion?: import('../../..').Prettify<import('./tabsTypes').TabsPartMotion>;
|
|
22
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
21
23
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
22
24
|
Panel: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
23
25
|
value: string;
|
|
24
26
|
children?: import('react').ReactNode;
|
|
25
27
|
motion?: import('../../..').Prettify<import('./tabsTypes').TabsPartMotion>;
|
|
28
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
26
29
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
30
|
};
|
|
28
31
|
export { useTabsContext, useTabsClassNames } from './tabsContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardEvent, PointerEvent } from 'react';
|
|
1
|
+
import { KeyboardEvent, PointerEvent, RefObject } from 'react';
|
|
2
2
|
import { MotionScopeValue } from '../utils/slotMotion';
|
|
3
3
|
import { TabsMotion } from './tabsTypes';
|
|
4
4
|
export declare function resolveTabsMotionDefaults(): TabsMotion;
|
|
@@ -8,6 +8,7 @@ export declare function resolveTabsTabMotionDefaults({ selected, disabled, }: {
|
|
|
8
8
|
}): TabsMotion;
|
|
9
9
|
export declare function useTabsRootEnter(scope: MotionScopeValue | null, value: string): void;
|
|
10
10
|
export declare function useTabsListEnter(scope: MotionScopeValue | null): void;
|
|
11
|
+
export declare function useTabsTabEnter(scope: MotionScopeValue | null, tabTarget?: RefObject<HTMLElement | null>, textTarget?: RefObject<HTMLElement | null>): void;
|
|
11
12
|
export declare function useTabsTabPointerMotion({ scope, isDisabled, onPointerEnter, onPointerLeave, onPointerDown, onPointerUp, onKeyDown, }: {
|
|
12
13
|
scope: MotionScopeValue;
|
|
13
14
|
isDisabled: boolean | undefined;
|
|
@@ -23,7 +24,7 @@ export declare function useTabsTabPointerMotion({ scope, isDisabled, onPointerEn
|
|
|
23
24
|
handlePointerUp: (e: PointerEvent<HTMLButtonElement>) => void;
|
|
24
25
|
handleKeyDown: (e: KeyboardEvent<HTMLButtonElement>) => void;
|
|
25
26
|
};
|
|
26
|
-
export declare function useTabsTabSelectionMotion(scope: MotionScopeValue, selected: boolean): void;
|
|
27
|
+
export declare function useTabsTabSelectionMotion(scope: MotionScopeValue, selected: boolean, tabTarget?: RefObject<HTMLElement | null>, textTarget?: RefObject<HTMLElement | null>): void;
|
|
27
28
|
export declare function useTabsPanelLifecycle(scope: MotionScopeValue | null, isSelected: boolean): {
|
|
28
29
|
leaving: boolean;
|
|
29
30
|
};
|
|
@@ -4,10 +4,14 @@ export declare function TabsClassNamesProvider({ classNames, children, }: TabsCl
|
|
|
4
4
|
export declare function useTabsContext(): TabsContextValue;
|
|
5
5
|
export declare function useTabsClassNames(): TabsClassNames;
|
|
6
6
|
/** Scope only. Defaults and host play live in `tabsAnimations.ts`. */
|
|
7
|
-
export declare const TabsMotionProvider: ({ motion, defaults, params, children, }: {
|
|
8
|
-
motion?: import('../utils/slotMotion').
|
|
7
|
+
export declare const TabsMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
8
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
9
9
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
10
10
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
11
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
12
|
+
motionState?: string;
|
|
13
|
+
motionPayload?: unknown;
|
|
14
|
+
playInitialState?: boolean;
|
|
11
15
|
children: import('react').ReactNode;
|
|
12
16
|
}) => import("react/jsx-runtime").JSX.Element, useTabsMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTabsMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
13
17
|
export { TabsContext };
|
|
@@ -2,4 +2,5 @@ export declare const TabsPanel: import('react').ForwardRefExoticComponent<import
|
|
|
2
2
|
value: string;
|
|
3
3
|
children?: import('react').ReactNode;
|
|
4
4
|
motion?: import('../../..').Prettify<import('./tabsTypes').TabsPartMotion>;
|
|
5
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
5
6
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -4,4 +4,5 @@ export declare const TabsTab: import('react').ForwardRefExoticComponent<Omit<But
|
|
|
4
4
|
children?: import('react').ReactNode;
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
motion?: import('../../..').Prettify<import('./tabsTypes').TabsPartMotion>;
|
|
7
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
7
8
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|