burne-ui 1.8.6 → 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 +20305 -16413
- package/dist/internal.cjs +1 -1
- package/dist/internal.js +1 -1
- package/dist/themeRuntimeContext-BveSYUe9.cjs +14 -0
- package/dist/{themeRuntimeContext-DELPwtpL.js → themeRuntimeContext-DCicI7AC.js} +640 -614
- package/dist/ui.css +43 -0
- package/package.json +4 -3
- package/dist/themeRuntimeContext-DknZO7q3.cjs +0 -14
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import { RadioClassNames, RadioClassNamesProviderProps, RadioFieldContextValue, RadioMotion
|
|
1
|
+
import { RadioClassNames, RadioClassNamesProviderProps, RadioFieldContextValue, RadioMotion } from './radioTypes';
|
|
2
2
|
declare const RadioFieldContext: import('react').Context<RadioFieldContextValue | null>;
|
|
3
|
+
/** Own scope for chrome (`label` / `hint` / `error`). Indicator keys still embed into SelectionIndicator. */
|
|
4
|
+
export declare const RadioMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
5
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
6
|
+
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
7
|
+
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
8
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
9
|
+
motionState?: string;
|
|
10
|
+
motionPayload?: unknown;
|
|
11
|
+
playInitialState?: boolean;
|
|
12
|
+
children: import('react').ReactNode;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element, useRadioMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalRadioMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
3
14
|
export declare function RadioFieldProvider({ value, children, }: {
|
|
4
15
|
value: RadioFieldContextValue;
|
|
5
16
|
children: React.ReactNode;
|
|
@@ -8,6 +19,5 @@ export declare function RadioClassNamesProvider({ classNames, children, }: Radio
|
|
|
8
19
|
export declare function useRadioFieldContext(): RadioFieldContextValue;
|
|
9
20
|
export declare function useOptionalRadioFieldContext(): RadioFieldContextValue | null;
|
|
10
21
|
export declare function useRadioClassNames(): RadioClassNames;
|
|
11
|
-
export declare function RadioMotionProvider({ motion, children, }: RadioMotionProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
22
|
export declare function useRadioMotion(): RadioMotion | undefined;
|
|
13
23
|
export { RadioFieldContext };
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare
|
|
1
|
+
import { RadioErrorProps, RadioHintProps, RadioIndicatorProps, RadioLabelProps, RadioSize } from './radioTypes';
|
|
2
|
+
import { MotionController } from '../utils/slotMotion';
|
|
3
|
+
export declare const RadioControl: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
|
|
4
|
+
motionController?: MotionController;
|
|
5
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
export declare function RadioIndicator({ children, className, classNames: classNamesProp, size: sizeProp, motion: motionProp, motionController, ...rest }: RadioIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
7
|
export declare namespace RadioIndicator {
|
|
5
8
|
var displayName: string;
|
|
6
9
|
}
|
|
7
10
|
export declare const RadioContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
8
11
|
children?: import('react').ReactNode;
|
|
9
12
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export declare function RadioLabel({ children, className, required: requiredProp, ...rest }: RadioLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function RadioLabel({ children, className, required: requiredProp, motion, ...rest }: RadioLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export declare namespace RadioLabel {
|
|
12
15
|
var displayName: string;
|
|
13
16
|
}
|
|
14
|
-
export declare function RadioHint({ children, className, variant, ...rest }: RadioHintProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function RadioHint({ children, className, variant, motion, ...rest }: RadioHintProps): import("react/jsx-runtime").JSX.Element;
|
|
15
18
|
export declare namespace RadioHint {
|
|
16
19
|
var displayName: string;
|
|
17
20
|
}
|
|
18
|
-
export declare function RadioError({ children, className, ...rest }: RadioErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function RadioError({ children, className, motion, ...rest }: RadioErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
19
22
|
export declare namespace RadioError {
|
|
20
23
|
var displayName: string;
|
|
21
24
|
}
|
|
22
|
-
export declare function RadioSimpleBody({ label, hint, error, hasHint, hasError, secondaryLines, textColRef, size, isDisabled, danger, hintId, errorId, }: {
|
|
25
|
+
export declare function RadioSimpleBody({ label, hint, error, hasHint, hasError, secondaryLines, textColRef, size, isDisabled, danger, hintId, errorId, motionController, }: {
|
|
23
26
|
label: React.ReactNode;
|
|
24
27
|
hint: React.ReactNode;
|
|
25
28
|
error: React.ReactNode;
|
|
@@ -32,4 +35,5 @@ export declare function RadioSimpleBody({ label, hint, error, hasHint, hasError,
|
|
|
32
35
|
danger: boolean;
|
|
33
36
|
hintId: string;
|
|
34
37
|
errorId: string;
|
|
38
|
+
motionController?: MotionController;
|
|
35
39
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { ChangeEvent, HTMLAttributes, InputHTMLAttributes, KeyboardEvent, LabelH
|
|
|
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 { SelectionIndicatorClassNames, SelectionIndicatorMotion } from '../SelectionIndicator';
|
|
7
7
|
export type RadioVariant = "default" | "secondary" | "outline" | "gloss";
|
|
8
8
|
export type RadioSize = "small" | "base" | "mid" | "large";
|
|
@@ -26,12 +26,17 @@ export type RadioClassNames = {
|
|
|
26
26
|
export type RadioCheckMotion = {
|
|
27
27
|
check?: MotionValue;
|
|
28
28
|
uncheck?: MotionValue;
|
|
29
|
+
enter?: MotionValue;
|
|
30
|
+
leave?: MotionValue;
|
|
29
31
|
};
|
|
30
|
-
/** Root map.
|
|
32
|
+
/** Root map. Indicator keys → SelectionIndicator; chrome (`label` / `hint` / `error`) is Radio's own scope. */
|
|
31
33
|
export type RadioMotion = {
|
|
32
34
|
indicator?: RadioCheckMotion;
|
|
33
35
|
indicatorFill?: RadioCheckMotion;
|
|
34
36
|
indicatorMark?: RadioCheckMotion;
|
|
37
|
+
label?: RadioCheckMotion;
|
|
38
|
+
hint?: RadioCheckMotion;
|
|
39
|
+
error?: RadioCheckMotion;
|
|
35
40
|
};
|
|
36
41
|
export type RadioProps = Omit<LabelHTMLAttributes<HTMLLabelElement>, "children" | "htmlFor" | "onChange" | "onPointerDown"> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "children" | "className"> & {
|
|
37
42
|
children?: ReactNode;
|
|
@@ -43,23 +48,52 @@ export type RadioProps = Omit<LabelHTMLAttributes<HTMLLabelElement>, "children"
|
|
|
43
48
|
danger?: boolean;
|
|
44
49
|
className?: string;
|
|
45
50
|
classNames?: Prettify<RadioClassNames>;
|
|
46
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Per-slot motion. Indicator keys map onto SelectionIndicator; chrome (`label` / `hint` / `error`)
|
|
53
|
+
* is Radio's own scope. `events` — namespaced app commands for `MotionController.play`.
|
|
54
|
+
* Simple API: `motionController` is forwarded to the indicator host.
|
|
55
|
+
* Compound: this handle attaches to the Root chrome scope; pass another handle on `Radio.Indicator`.
|
|
56
|
+
*/
|
|
57
|
+
motion?: Prettify<MotionMapWithEvents<RadioMotion>>;
|
|
58
|
+
/**
|
|
59
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
60
|
+
* Simple API: forwarded to SelectionIndicator. Compound: Root chrome scope.
|
|
61
|
+
* Not placed on the DOM.
|
|
62
|
+
*/
|
|
63
|
+
motionController?: MotionController;
|
|
47
64
|
onPointerDown?: (e: PointerEvent<HTMLLabelElement>) => void;
|
|
48
65
|
};
|
|
49
|
-
export type RadioControlProps = HTMLAttributes<HTMLSpanElement
|
|
66
|
+
export type RadioControlProps = HTMLAttributes<HTMLSpanElement> & {
|
|
67
|
+
/**
|
|
68
|
+
* Forwarded to an auto-created `Radio.Indicator` (simple / Control without an Indicator child).
|
|
69
|
+
* Explicit `<Radio.Indicator motionController>` wins on that nested host.
|
|
70
|
+
*/
|
|
71
|
+
motionController?: MotionController;
|
|
72
|
+
};
|
|
50
73
|
export type RadioIndicatorClassNames = SelectionIndicatorClassNames & Partial<Pick<RadioClassNames, "indicator" | "indicatorFill" | "indicatorMark">>;
|
|
51
74
|
export type RadioIndicatorProps = HTMLAttributes<HTMLSpanElement> & {
|
|
52
75
|
children?: ReactNode;
|
|
53
76
|
size?: RadioSize;
|
|
54
77
|
classNames?: Prettify<RadioIndicatorClassNames>;
|
|
55
|
-
motion?: Prettify<SelectionIndicatorMotion
|
|
78
|
+
motion?: Prettify<MotionMapWithEvents<SelectionIndicatorMotion>>;
|
|
79
|
+
/**
|
|
80
|
+
* Handle for the SelectionIndicator host (`root` / `fill` / `mark`).
|
|
81
|
+
* Simple API: pass `motionController` on `Radio` — it is forwarded here.
|
|
82
|
+
*/
|
|
83
|
+
motionController?: MotionController;
|
|
56
84
|
};
|
|
57
85
|
export type RadioContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
58
86
|
children?: ReactNode;
|
|
59
87
|
};
|
|
60
|
-
export type RadioLabelProps = Omit<LabelProps, "htmlFor"
|
|
61
|
-
|
|
62
|
-
|
|
88
|
+
export type RadioLabelProps = Omit<LabelProps, "htmlFor"> & {
|
|
89
|
+
motion?: Prettify<RadioCheckMotion>;
|
|
90
|
+
};
|
|
91
|
+
export type RadioHintProps = Omit<FieldHintProps, "id" | "as" | "motion"> & {
|
|
92
|
+
motion?: Prettify<RadioCheckMotion>;
|
|
93
|
+
};
|
|
94
|
+
export type RadioErrorProps = Omit<FieldErrorProps, "id" | "as" | "motion"> & {
|
|
95
|
+
motion?: Prettify<RadioCheckMotion>;
|
|
96
|
+
};
|
|
63
97
|
export type RadioFieldContextValue = {
|
|
64
98
|
inputId: string;
|
|
65
99
|
hintId: string;
|
|
@@ -99,10 +133,11 @@ export type RadioClassNamesProviderProps = {
|
|
|
99
133
|
children: ReactNode;
|
|
100
134
|
};
|
|
101
135
|
export type RadioMotionProviderProps = {
|
|
102
|
-
motion?: Prettify<RadioMotion
|
|
136
|
+
motion?: Prettify<MotionMapWithEvents<RadioMotion>>;
|
|
137
|
+
controller?: MotionController;
|
|
103
138
|
children: ReactNode;
|
|
104
139
|
};
|
|
105
|
-
export type UseRadioRootStateProps = Omit<RadioProps, "children" | "className" | "classNames" | "onPointerDown" | "onClick">;
|
|
140
|
+
export type UseRadioRootStateProps = Omit<RadioProps, "children" | "className" | "classNames" | "onPointerDown" | "onClick" | "motion" | "motionController">;
|
|
106
141
|
export type UseRadioAnimationsProps = {
|
|
107
142
|
isDisabled: boolean;
|
|
108
143
|
enableTextMotion: boolean;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/** Scope only. Defaults and host play live in `searchInputAnimations.ts`. */
|
|
2
|
-
export declare const SearchInputMotionProvider: ({ motion, defaults, params, children, }: {
|
|
3
|
-
motion?: import('../utils/slotMotion').
|
|
2
|
+
export declare const SearchInputMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
3
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
4
4
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
5
5
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
6
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
7
|
+
motionState?: string;
|
|
8
|
+
motionPayload?: unknown;
|
|
9
|
+
playInitialState?: boolean;
|
|
6
10
|
children: import('react').ReactNode;
|
|
7
11
|
}) => import("react/jsx-runtime").JSX.Element, useSearchInputMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalSearchInputMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectError, SelectHint, SelectLabel, SelectPopover, SelectTrigger, SelectTriggerGroup, SelectValue } from './selectParts';
|
|
2
2
|
import { SelectProps } from './selectTypes';
|
|
3
|
-
export type { SelectProps, SelectSimpleProps, SelectHintProps, SelectErrorProps, SelectTriggerGroupProps, SelectValueProps, SelectTriggerProps, SelectPopoverProps, SelectOption, SelectClassNames, SelectMotion, SelectPartMotion, } from './selectTypes';
|
|
4
|
-
export declare function SelectRoot({ children, label, hint, error, className, classNames, id, required, status, size, options, value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, variant, disabled, placeholder, menuMaxHeight, name, motion, ...rest }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export type { SelectProps, SelectSimpleProps, SelectHintProps, SelectLabelProps, SelectErrorProps, SelectTriggerGroupProps, SelectValueProps, SelectTriggerProps, SelectPopoverProps, SelectOption, SelectClassNames, SelectMotion, SelectPartMotion, } from './selectTypes';
|
|
4
|
+
export declare function SelectRoot({ children, label, hint, error, className, classNames, id, required, status, size, options, value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, variant, disabled, placeholder, menuMaxHeight, name, motion, motionController, ...rest }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare namespace SelectRoot {
|
|
6
6
|
var displayName: string;
|
|
7
7
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SelectRoot } from './Select';
|
|
2
2
|
export declare const Select: typeof SelectRoot & {
|
|
3
|
-
Label:
|
|
3
|
+
Label: import('react').ForwardRefExoticComponent<Omit<import('../Label').LabelProps, "motion" | "motionController"> & {
|
|
4
|
+
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
5
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
4
6
|
TriggerGroup: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
5
7
|
groupSegment?: import('../Button/buttonContext').ButtonGroupSegment;
|
|
6
8
|
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
9
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
7
10
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
11
|
Value: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & {
|
|
9
12
|
placeholder?: string;
|
|
@@ -19,8 +22,15 @@ export declare const Select: typeof SelectRoot & {
|
|
|
19
22
|
offset?: number;
|
|
20
23
|
listBoxProps?: Omit<import('../ListBox').ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
|
|
21
24
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
22
|
-
Hint:
|
|
23
|
-
|
|
25
|
+
Hint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
|
|
26
|
+
children?: import('react').ReactNode;
|
|
27
|
+
status?: Exclude<import('../Input').InputStatus, "danger"> | "default";
|
|
28
|
+
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
29
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
30
|
+
Error: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
|
|
31
|
+
children?: import('react').ReactNode;
|
|
32
|
+
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
33
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
24
34
|
};
|
|
25
35
|
export type { SelectOption } from './selectTypes';
|
|
26
|
-
export type { SelectProps, SelectSimpleProps, SelectHintProps, SelectErrorProps, SelectTriggerGroupProps, SelectValueProps, SelectTriggerProps, SelectPopoverProps, SelectClassNames, SelectMotion, SelectPartMotion, } from './selectTypes';
|
|
36
|
+
export type { SelectProps, SelectSimpleProps, SelectHintProps, SelectLabelProps, SelectErrorProps, SelectTriggerGroupProps, SelectValueProps, SelectTriggerProps, SelectPopoverProps, SelectClassNames, SelectMotion, SelectPartMotion, } from './selectTypes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MutableRefObject, RefObject } from 'react';
|
|
1
|
+
import { ForwardedRef, MutableRefObject, PointerEventHandler, RefObject } from 'react';
|
|
2
2
|
import { SelectMotion, SelectPartMotion, UseSelectShellAnimationsProps } from './selectTypes';
|
|
3
3
|
export declare function resolveSelectMotionDefaults({ isGloss, disabled, groupSegment, }: {
|
|
4
4
|
isGloss: boolean;
|
|
@@ -46,3 +46,21 @@ export declare function useSelectShellAnimations({ shellRef, disabled, variant,
|
|
|
46
46
|
"data-gloss-disabled"?: undefined;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
+
export type SelectChromeSlot = "label" | "hint" | "error";
|
|
50
|
+
export declare function useSelectChromeSlot(slot: SelectChromeSlot, { motion, forwardedRef, onPointerOver, onPointerOut, onPointerDown, onPointerUp, }?: {
|
|
51
|
+
motion?: SelectPartMotion;
|
|
52
|
+
forwardedRef?: ForwardedRef<HTMLElement>;
|
|
53
|
+
onPointerOver?: PointerEventHandler<HTMLElement>;
|
|
54
|
+
onPointerOut?: PointerEventHandler<HTMLElement>;
|
|
55
|
+
onPointerDown?: PointerEventHandler<HTMLElement>;
|
|
56
|
+
onPointerUp?: PointerEventHandler<HTMLElement>;
|
|
57
|
+
}): {
|
|
58
|
+
setRef: (node: HTMLElement | null) => void;
|
|
59
|
+
targetRef: RefObject<HTMLElement | null>;
|
|
60
|
+
pointerHandlers: {
|
|
61
|
+
onPointerOver: (e: import('react').PointerEvent<HTMLElement>) => void;
|
|
62
|
+
onPointerOut: (e: import('react').PointerEvent<HTMLElement>) => void;
|
|
63
|
+
onPointerDown: (e: import('react').PointerEvent<HTMLElement>) => void;
|
|
64
|
+
onPointerUp: (e: import('react').PointerEvent<HTMLElement>) => void;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -13,9 +13,13 @@ export declare function useSelectFieldContext(): SelectFieldContextValue;
|
|
|
13
13
|
export declare function SelectClassNamesProvider({ classNames, children, }: SelectClassNamesProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export declare function useSelectClassNames(): SelectClassNames;
|
|
15
15
|
/** Scope only. Defaults and host play live in `selectAnimations.ts`. */
|
|
16
|
-
export declare const SelectMotionProvider: ({ motion, defaults, params, children, }: {
|
|
17
|
-
motion?: import('../utils/slotMotion').
|
|
16
|
+
export declare const SelectMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
17
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
18
18
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
19
19
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
20
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
21
|
+
motionState?: string;
|
|
22
|
+
motionPayload?: unknown;
|
|
23
|
+
playInitialState?: boolean;
|
|
20
24
|
children: ReactNode;
|
|
21
25
|
}) => import("react/jsx-runtime").JSX.Element, useSelectMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalSelectMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
1
|
+
export declare const SelectLabel: import('react').ForwardRefExoticComponent<Omit<import('../Label').LabelProps, "motion" | "motionController"> & {
|
|
2
|
+
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
3
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
4
|
+
export declare const SelectHint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
|
|
5
|
+
children?: import('react').ReactNode;
|
|
6
|
+
status?: Exclude<import('../Input').InputStatus, "danger"> | "default";
|
|
7
|
+
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
8
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
9
|
+
export declare const SelectError: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
|
|
10
|
+
children?: import('react').ReactNode;
|
|
11
|
+
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
12
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MotionController } from '../utils/slotMotion';
|
|
1
2
|
export declare const SelectPopover: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
2
3
|
children?: import('react').ReactNode;
|
|
3
4
|
side?: import('../Popover').PopoverSide;
|
|
@@ -5,11 +6,12 @@ export declare const SelectPopover: import('react').ForwardRefExoticComponent<im
|
|
|
5
6
|
offset?: number;
|
|
6
7
|
listBoxProps?: Omit<import('../ListBox').ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
|
|
7
8
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export declare function SelectSimpleBody({ label, hint, error, labelId, }: {
|
|
9
|
+
export declare function SelectSimpleBody({ label, hint, error, labelId, motionController, }: {
|
|
9
10
|
label: React.ReactNode;
|
|
10
11
|
hint: React.ReactNode;
|
|
11
12
|
error: React.ReactNode;
|
|
12
13
|
labelId: string;
|
|
14
|
+
motionController?: MotionController;
|
|
13
15
|
}): import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export { SelectError, SelectHint, SelectLabel } from './selectFieldParts';
|
|
15
17
|
export { SelectTrigger, SelectTriggerGroup, SelectValue } from './selectTriggerParts';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const SelectTriggerGroup: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
2
2
|
groupSegment?: import('../Button/buttonContext').ButtonGroupSegment;
|
|
3
3
|
motion?: import('../../..').Prettify<import('./selectTypes').SelectPartMotion>;
|
|
4
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
4
5
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
6
|
export declare const SelectValue: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & {
|
|
6
7
|
placeholder?: string;
|
|
@@ -2,9 +2,10 @@ import { HTMLAttributes, RefObject, ReactNode } from 'react';
|
|
|
2
2
|
import { Prettify } from '../../../utils/prettify';
|
|
3
3
|
import { ButtonGroupSegment } from '../../composite/ButtonGroup/buttonGroupTypes';
|
|
4
4
|
import { InputSize, InputStatus, InputVariant } from '../Input';
|
|
5
|
+
import { LabelProps } from '../Label';
|
|
5
6
|
import { ListBoxProps } from '../ListBox';
|
|
6
7
|
import { PopoverSide } from '../Popover';
|
|
7
|
-
import { MotionValue } from '../utils/slotMotion';
|
|
8
|
+
import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
|
|
8
9
|
import { FloatingAlign } from '../Tooltip/tooltipPosition';
|
|
9
10
|
export type SelectOption = {
|
|
10
11
|
value: string;
|
|
@@ -46,6 +47,9 @@ export type SelectMotion = {
|
|
|
46
47
|
value?: SelectPartMotion;
|
|
47
48
|
trigger?: SelectPartMotion;
|
|
48
49
|
triggerIcon?: SelectPartMotion;
|
|
50
|
+
label?: SelectPartMotion;
|
|
51
|
+
hint?: SelectPartMotion;
|
|
52
|
+
error?: SelectPartMotion;
|
|
49
53
|
};
|
|
50
54
|
export type SelectProps = HTMLAttributes<HTMLDivElement> & {
|
|
51
55
|
children?: ReactNode;
|
|
@@ -70,10 +74,20 @@ export type SelectProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
70
74
|
menuMaxHeight?: string;
|
|
71
75
|
classNames?: Prettify<SelectClassNames>;
|
|
72
76
|
/**
|
|
73
|
-
* Per-slot motion (`triggerGroup`, `value`, `trigger`, `triggerIcon`).
|
|
77
|
+
* Per-slot motion (`triggerGroup`, `value`, `trigger`, `triggerIcon`, `label`, `hint`, `error`).
|
|
74
78
|
* Menu enter lives on Popover — not duplicated here.
|
|
79
|
+
* Chrome registers on the Root scope (siblings of TriggerGroup). TriggerGroup is the nested shell host.
|
|
80
|
+
* `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
|
|
81
|
+
* Simple API: `motionController` is forwarded to `Select.TriggerGroup` (shell host).
|
|
82
|
+
* Compound: this handle attaches to the Root chrome scope; pass another handle on `TriggerGroup`.
|
|
75
83
|
*/
|
|
76
|
-
motion?: Prettify<SelectMotion
|
|
84
|
+
motion?: Prettify<MotionMapWithEvents<SelectMotion>>;
|
|
85
|
+
/**
|
|
86
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
87
|
+
* Simple API: forwarded to the TriggerGroup nested Provider. Compound: Root chrome scope.
|
|
88
|
+
* Not placed on the DOM.
|
|
89
|
+
*/
|
|
90
|
+
motionController?: MotionController;
|
|
77
91
|
};
|
|
78
92
|
export type SelectSimpleProps = SelectProps & {
|
|
79
93
|
options: SelectOption[];
|
|
@@ -118,6 +132,11 @@ export type SelectTriggerGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
118
132
|
groupSegment?: ButtonGroupSegment;
|
|
119
133
|
/** Part motion for the `triggerGroup` host slot. Root `motion.triggerGroup` still applies. */
|
|
120
134
|
motion?: Prettify<SelectPartMotion>;
|
|
135
|
+
/**
|
|
136
|
+
* Deferred handle for the TriggerGroup host (`triggerGroup`, `value`, `trigger`, `triggerIcon`).
|
|
137
|
+
* One handle → this nested scope. Simple API: pass `motionController` on `Select` — it is forwarded here.
|
|
138
|
+
*/
|
|
139
|
+
motionController?: MotionController;
|
|
121
140
|
};
|
|
122
141
|
export type SelectValueProps = HTMLAttributes<HTMLButtonElement> & {
|
|
123
142
|
placeholder?: string;
|
|
@@ -144,11 +163,16 @@ export type SelectPopoverProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
144
163
|
/** Props forwarded to the inner `ListBox` (controlled selection props are owned by Select). */
|
|
145
164
|
listBoxProps?: Omit<ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
|
|
146
165
|
};
|
|
166
|
+
export type SelectLabelProps = Omit<LabelProps, "motion" | "motionController"> & {
|
|
167
|
+
motion?: Prettify<SelectPartMotion>;
|
|
168
|
+
};
|
|
147
169
|
export type SelectHintProps = HTMLAttributes<HTMLParagraphElement> & {
|
|
148
170
|
children?: ReactNode;
|
|
149
171
|
status?: Exclude<InputStatus, "danger"> | "default";
|
|
172
|
+
motion?: Prettify<SelectPartMotion>;
|
|
150
173
|
};
|
|
151
174
|
export type SelectErrorProps = HTMLAttributes<HTMLParagraphElement> & {
|
|
152
175
|
children?: ReactNode;
|
|
176
|
+
motion?: Prettify<SelectPartMotion>;
|
|
153
177
|
};
|
|
154
178
|
export type UseSelectRootStateProps = SelectProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SelectionIndicatorProps } from './selectionIndicatorTypes';
|
|
2
|
-
export declare function SelectionIndicator({ size, variant, selected, check, dot, icon, children, className, classNames, motion, ...rest }: SelectionIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function SelectionIndicator({ size, variant, selected, check, dot, icon, children, className, classNames, motion, motionController, ...rest }: SelectionIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace SelectionIndicator {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { SelectionIndicatorContextValue } from './selectionIndicatorTypes';
|
|
3
3
|
/** Scope only. Defaults and host play live in `selectionIndicatorAnimations.ts`. */
|
|
4
|
-
export declare const SelectionIndicatorMotionProvider: ({ motion, defaults, params, children, }: {
|
|
5
|
-
motion?: import('../utils/slotMotion').
|
|
4
|
+
export declare const SelectionIndicatorMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
5
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
6
6
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
7
7
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
8
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
9
|
+
motionState?: string;
|
|
10
|
+
motionPayload?: unknown;
|
|
11
|
+
playInitialState?: boolean;
|
|
8
12
|
children: ReactNode;
|
|
9
13
|
}) => import("react/jsx-runtime").JSX.Element, useSelectionIndicatorMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalSelectionIndicatorMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
10
14
|
export declare function SelectionIndicatorProvider({ value, children, }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, RefObject } 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 { SelectionIndicatorSize, SelectionIndicatorVariant } from './selectionIndicatorTokens';
|
|
5
5
|
export type SelectionIndicatorClassNames = {
|
|
6
6
|
root?: string;
|
|
@@ -25,7 +25,17 @@ export type SelectionIndicatorProps = Omit<HTMLAttributes<HTMLSpanElement>, "chi
|
|
|
25
25
|
icon?: ReactNode;
|
|
26
26
|
children?: ReactNode;
|
|
27
27
|
classNames?: Prettify<SelectionIndicatorClassNames>;
|
|
28
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Per-slot motion (`root`, `fill`, `mark`). Checkbox / Radio embed this scope — do not
|
|
30
|
+
* put `motionController` on the embedder.
|
|
31
|
+
* `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
|
|
32
|
+
*/
|
|
33
|
+
motion?: Prettify<MotionMapWithEvents<SelectionIndicatorMotion>>;
|
|
34
|
+
/**
|
|
35
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
36
|
+
* One handle → this indicator scope (`root` / `fill` / `mark`). Not placed on the DOM.
|
|
37
|
+
*/
|
|
38
|
+
motionController?: MotionController;
|
|
29
39
|
};
|
|
30
40
|
export type SelectionIndicatorFillProps = HTMLAttributes<HTMLSpanElement> & {
|
|
31
41
|
motion?: Prettify<SelectionIndicatorCheckMotion>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectionThumbIconProps, SelectionThumbProps } from './selectionThumbTypes';
|
|
2
2
|
export type { SelectionThumbClassNames, SelectionThumbIconClassNames, SelectionThumbIconProps, SelectionThumbMotion, SelectionThumbPartMotion, SelectionThumbProps, } from './selectionThumbTypes';
|
|
3
|
-
export declare function SelectionThumb({ size, gloss, shellRef, className, classNames, children, motion, onPointerOver, onPointerOut, onPointerDown, onPointerUp, ...rest }: SelectionThumbProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function SelectionThumb({ size, gloss, shellRef, className, classNames, children, motion, motionController, onPointerOver, onPointerOut, onPointerDown, onPointerUp, ...rest }: SelectionThumbProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare namespace SelectionThumb {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/** Scope only. Defaults and host play live in `selectionThumbAnimations.ts`. */
|
|
2
|
-
export declare const SelectionThumbMotionProvider: ({ motion, defaults, params, children, }: {
|
|
3
|
-
motion?: import('../utils/slotMotion').
|
|
2
|
+
export declare const SelectionThumbMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
3
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
4
4
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
5
5
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
6
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
7
|
+
motionState?: string;
|
|
8
|
+
motionPayload?: unknown;
|
|
9
|
+
playInitialState?: boolean;
|
|
6
10
|
children: import('react').ReactNode;
|
|
7
11
|
}) => import("react/jsx-runtime").JSX.Element, useSelectionThumbMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalSelectionThumbMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, Ref, RefObject } 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 { SelectionIndicatorSize } from '../SelectionIndicator/selectionIndicatorTokens';
|
|
5
5
|
export type SelectionThumbClassNames = {
|
|
6
6
|
root?: string;
|
|
@@ -30,8 +30,15 @@ export type SelectionThumbProps = Omit<HTMLAttributes<HTMLSpanElement>, "childre
|
|
|
30
30
|
/**
|
|
31
31
|
* Per-slot motion (`root`). Defaults are empty — custom factories are opt-in.
|
|
32
32
|
* Switch / Slider keep their own slot motion; this map is for standalone use.
|
|
33
|
+
* `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
|
|
33
34
|
*/
|
|
34
|
-
motion?: Prettify<SelectionThumbMotion
|
|
35
|
+
motion?: Prettify<MotionMapWithEvents<SelectionThumbMotion>>;
|
|
36
|
+
/**
|
|
37
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
38
|
+
* Standalone thumb only — Switch/Slider do not forward their handle here.
|
|
39
|
+
* Not placed on the DOM.
|
|
40
|
+
*/
|
|
41
|
+
motionController?: MotionController;
|
|
35
42
|
};
|
|
36
43
|
export type SelectionThumbIconProps = Omit<HTMLAttributes<HTMLSpanElement>, "children"> & {
|
|
37
44
|
size?: SelectionIndicatorSize;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { SeparatorOrientation, SeparatorProps, SeparatorMotion, SeparatorPartMotion, } from './separatorTypes';
|
|
2
2
|
export declare const Separator: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLElement>, "role"> & {
|
|
3
3
|
orientation?: import('./separatorTypes').SeparatorOrientation;
|
|
4
|
-
motion?: import('../../..').Prettify<import('./separatorTypes').SeparatorMotion
|
|
4
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./separatorTypes').SeparatorMotion>>;
|
|
5
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
5
6
|
} & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/** Scope only. Defaults and host play live in `separatorAnimations.ts`. */
|
|
2
|
-
export declare const SeparatorMotionProvider: ({ motion, defaults, params, children, }: {
|
|
3
|
-
motion?: import('../utils/slotMotion').
|
|
2
|
+
export declare const SeparatorMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
|
|
3
|
+
motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
|
|
4
4
|
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
5
5
|
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
6
|
+
controller?: import('../utils/slotMotion').MotionController;
|
|
7
|
+
motionState?: string;
|
|
8
|
+
motionPayload?: unknown;
|
|
9
|
+
playInitialState?: boolean;
|
|
6
10
|
children: import('react').ReactNode;
|
|
7
11
|
}) => import("react/jsx-runtime").JSX.Element, useSeparatorMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalSeparatorMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } 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
|
export type SeparatorOrientation = "horizontal" | "vertical";
|
|
5
5
|
export type SeparatorPartMotion = {
|
|
6
6
|
hoverIn?: MotionValue;
|
|
@@ -17,6 +17,12 @@ export type SeparatorProps = Omit<HTMLAttributes<HTMLElement>, "role"> & {
|
|
|
17
17
|
orientation?: SeparatorOrientation;
|
|
18
18
|
/**
|
|
19
19
|
* Per-slot motion (`root`). Defaults are empty — custom factories are opt-in.
|
|
20
|
+
* `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
|
|
20
21
|
*/
|
|
21
|
-
motion?: Prettify<SeparatorMotion
|
|
22
|
+
motion?: Prettify<MotionMapWithEvents<SeparatorMotion>>;
|
|
23
|
+
/**
|
|
24
|
+
* Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
|
|
25
|
+
* Forwarded to the motion Provider (`controller`), not onto the DOM.
|
|
26
|
+
*/
|
|
27
|
+
motionController?: MotionController;
|
|
22
28
|
};
|
|
@@ -4,6 +4,7 @@ export declare const SkeletonRoot: import('react').ForwardRefExoticComponent<imp
|
|
|
4
4
|
animation?: import('./skeletonTypes').SkeletonAnimation;
|
|
5
5
|
radius?: import('./skeletonTypes').SkeletonRadius;
|
|
6
6
|
classNames?: import('../../..').Prettify<import('./skeletonTypes').SkeletonClassNames>;
|
|
7
|
-
motion?: import('../../..').Prettify<import('./skeletonTypes').SkeletonMotion
|
|
7
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./skeletonTypes').SkeletonMotion>>;
|
|
8
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
8
9
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
10
|
export { SkeletonCircle, SkeletonText, SkeletonBlock, SkeletonRegion };
|
|
@@ -2,30 +2,35 @@ export declare const Skeleton: import('react').ForwardRefExoticComponent<import(
|
|
|
2
2
|
animation?: import('./skeletonTypes').SkeletonAnimation;
|
|
3
3
|
radius?: import('./skeletonTypes').SkeletonRadius;
|
|
4
4
|
classNames?: import('../../..').Prettify<import('./skeletonTypes').SkeletonClassNames>;
|
|
5
|
-
motion?: import('../../..').Prettify<import('./skeletonTypes').SkeletonMotion
|
|
5
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./skeletonTypes').SkeletonMotion>>;
|
|
6
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
6
7
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
7
8
|
Circle: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
8
9
|
animation?: import('./skeletonTypes').SkeletonAnimation;
|
|
9
10
|
size?: string;
|
|
10
11
|
classNames?: import('../../..').Prettify<import('./skeletonTypes').SkeletonCircleClassNames>;
|
|
11
|
-
motion?: import('../../..').Prettify<import('./skeletonTypes').SkeletonMotion
|
|
12
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./skeletonTypes').SkeletonMotion>>;
|
|
13
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
12
14
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
15
|
Text: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
14
16
|
animation?: import('./skeletonTypes').SkeletonAnimation;
|
|
15
17
|
lines?: number;
|
|
16
18
|
lastShort?: boolean;
|
|
17
19
|
classNames?: import('../../..').Prettify<import('./skeletonTypes').SkeletonTextClassNames>;
|
|
18
|
-
motion?: import('../../..').Prettify<import('./skeletonTypes').SkeletonMotion
|
|
20
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./skeletonTypes').SkeletonMotion>>;
|
|
21
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
19
22
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
23
|
Block: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
21
24
|
animation?: import('./skeletonTypes').SkeletonAnimation;
|
|
22
25
|
classNames?: import('../../..').Prettify<import('./skeletonTypes').SkeletonBlockClassNames>;
|
|
23
|
-
motion?: import('../../..').Prettify<import('./skeletonTypes').SkeletonMotion
|
|
26
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./skeletonTypes').SkeletonMotion>>;
|
|
27
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
24
28
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
25
29
|
Region: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
26
30
|
busy?: boolean;
|
|
27
31
|
classNames?: import('../../..').Prettify<import('./skeletonTypes').SkeletonRegionClassNames>;
|
|
28
|
-
motion?: import('../../..').Prettify<import('./skeletonTypes').SkeletonMotion
|
|
32
|
+
motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./skeletonTypes').SkeletonMotion>>;
|
|
33
|
+
motionController?: import('../utils/slotMotion').MotionController;
|
|
29
34
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
35
|
};
|
|
31
36
|
export type { SkeletonProps, SkeletonCircleProps, SkeletonTextProps, SkeletonBlockProps, SkeletonRegionProps, SkeletonAnimation, SkeletonRadius, SkeletonClassNames, SkeletonCircleClassNames, SkeletonTextClassNames, SkeletonBlockClassNames, SkeletonRegionClassNames, SkeletonMotion, SkeletonPartMotion, } from './skeletonTypes';
|