burne-ui 1.8.5 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/composite/Accordion/Accordion.d.ts +3 -2
- package/dist/components/composite/Accordion/accordionAnimations.d.ts +6 -1
- package/dist/components/composite/Accordion/accordionParts.d.ts +7 -3
- package/dist/components/composite/Accordion/accordionTypes.d.ts +16 -2
- package/dist/components/composite/Accordion/index.d.ts +8 -3
- package/dist/components/composite/Accordion/useAccordionRootState.d.ts +1 -1
- package/dist/components/composite/AlertDialog/AlertDialog.d.ts +2 -2
- package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +7 -2
- package/dist/components/composite/AlertDialog/alertDialogContext.d.ts +7 -0
- package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +25 -23
- package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +47 -6
- package/dist/components/composite/AlertDialog/index.d.ts +25 -8
- package/dist/components/composite/ButtonGroup/ButtonGroup.d.ts +5 -3
- package/dist/components/composite/ButtonGroup/buttonGroupAnimations.d.ts +20 -0
- package/dist/components/composite/ButtonGroup/buttonGroupContext.d.ts +7 -0
- package/dist/components/composite/ButtonGroup/buttonGroupParts.d.ts +1 -0
- package/dist/components/composite/ButtonGroup/buttonGroupTypes.d.ts +19 -0
- package/dist/components/composite/ButtonGroup/index.d.ts +4 -2
- package/dist/components/composite/CheckboxGroup/CheckboxGroup.d.ts +2 -1
- package/dist/components/composite/CheckboxGroup/checkboxGroupAnimations.d.ts +38 -0
- package/dist/components/composite/CheckboxGroup/checkboxGroupContext.d.ts +7 -0
- package/dist/components/composite/CheckboxGroup/checkboxGroupParts.d.ts +2 -0
- package/dist/components/composite/CheckboxGroup/checkboxGroupTypes.d.ts +22 -1
- package/dist/components/composite/CheckboxGroup/index.d.ts +6 -1
- package/dist/components/composite/Form/Form.d.ts +7 -4
- package/dist/components/composite/Form/formAnimations.d.ts +23 -0
- package/dist/components/composite/Form/formContext.d.ts +7 -0
- package/dist/components/composite/Form/formParts.d.ts +14 -4
- package/dist/components/composite/Form/formTypes.d.ts +40 -3
- package/dist/components/composite/Form/index.d.ts +16 -4
- package/dist/components/composite/RadioGroup/index.d.ts +2 -0
- package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -3
- package/dist/components/composite/ToggleButtonGroup/index.d.ts +2 -1
- package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupAnimations.d.ts +21 -0
- package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupContext.d.ts +7 -0
- package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +18 -0
- package/dist/components/composite/ToggleButtonGroup/useToggleButtonGroupRootState.d.ts +1 -0
- package/dist/components/composite/utils/optionGroupFieldset.d.ts +2 -0
- package/dist/components/core/Alert/Alert.d.ts +16 -12
- package/dist/components/core/Alert/alertAnimations.d.ts +7 -13
- package/dist/components/core/Alert/alertContext.d.ts +7 -0
- package/dist/components/core/Alert/alertParts.d.ts +14 -17
- package/dist/components/core/Alert/alertTypes.d.ts +41 -5
- package/dist/components/core/Alert/index.d.ts +16 -6
- package/dist/components/core/Avatar/Avatar.d.ts +2 -1
- package/dist/components/core/Avatar/avatarAnimations.d.ts +5 -6
- package/dist/components/core/Avatar/avatarContext.d.ts +10 -1
- package/dist/components/core/Avatar/avatarParts.d.ts +8 -3
- package/dist/components/core/Avatar/avatarTypes.d.ts +32 -2
- package/dist/components/core/Avatar/index.d.ts +9 -3
- package/dist/components/core/Badge/Badge.d.ts +5 -3
- package/dist/components/core/Badge/badgeAnimations.d.ts +17 -5
- package/dist/components/core/Badge/badgeContext.d.ts +7 -0
- package/dist/components/core/Badge/badgeParts.d.ts +3 -1
- package/dist/components/core/Badge/badgeStyles.d.ts +8 -5
- package/dist/components/core/Badge/badgeTypes.d.ts +17 -0
- package/dist/components/core/Badge/index.d.ts +3 -1
- package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/components/core/Breadcrumbs/breadcrumbsAnimations.d.ts +3 -5
- package/dist/components/core/Breadcrumbs/breadcrumbsContext.d.ts +7 -0
- package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +13 -0
- package/dist/components/core/Breadcrumbs/index.d.ts +2 -1
- package/dist/components/core/Button/Button.d.ts +3 -1
- package/dist/components/core/Button/buttonAnimations.d.ts +17 -7
- package/dist/components/core/Button/buttonContext.d.ts +7 -0
- package/dist/components/core/Button/buttonTypes.d.ts +20 -0
- package/dist/components/core/Button/index.d.ts +2 -1
- package/dist/components/core/Calendar/Calendar.d.ts +1 -1
- package/dist/components/core/Calendar/calendarAnimations.d.ts +3 -12
- package/dist/components/core/Calendar/calendarContext.d.ts +7 -0
- package/dist/components/core/Calendar/calendarParts.d.ts +2 -2
- package/dist/components/core/Calendar/calendarTypes.d.ts +14 -0
- package/dist/components/core/Calendar/index.d.ts +3 -3
- package/dist/components/core/Card/Card.d.ts +8 -6
- package/dist/components/core/Card/cardAnimations.d.ts +8 -2
- package/dist/components/core/Card/cardContext.d.ts +7 -0
- package/dist/components/core/Card/cardParts.d.ts +12 -8
- package/dist/components/core/Card/cardTypes.d.ts +46 -6
- package/dist/components/core/Card/index.d.ts +9 -4
- package/dist/components/core/Checkbox/Checkbox.d.ts +3 -2
- package/dist/components/core/Checkbox/checkboxAPI.d.ts +1 -1
- package/dist/components/core/Checkbox/checkboxAnimations.d.ts +12 -1
- package/dist/components/core/Checkbox/checkboxAnimations.test.d.ts +1 -0
- package/dist/components/core/Checkbox/checkboxContext.d.ts +3 -1
- package/dist/components/core/Checkbox/checkboxParts.d.ts +1 -1
- package/dist/components/core/Checkbox/checkboxTypes.d.ts +18 -1
- package/dist/components/core/Checkbox/index.d.ts +7 -3
- package/dist/components/core/CloseButton/CloseButton.d.ts +2 -1
- package/dist/components/core/CloseButton/closeButtonAnimations.d.ts +25 -6
- package/dist/components/core/CloseButton/closeButtonContext.d.ts +7 -0
- package/dist/components/core/CloseButton/closeButtonTypes.d.ts +19 -2
- package/dist/components/core/CloseButton/index.d.ts +1 -1
- package/dist/components/core/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/components/core/ColorPicker/ColorSlider.d.ts +3 -1
- package/dist/components/core/ColorPicker/ColorSwatch.d.ts +3 -8
- package/dist/components/core/ColorPicker/colorPickerAnimations.d.ts +22 -1
- package/dist/components/core/ColorPicker/colorPickerContext.d.ts +7 -0
- package/dist/components/core/ColorPicker/colorPickerParts.d.ts +10 -4
- package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +33 -2
- package/dist/components/core/ColorPicker/colorSliderAnimations.d.ts +36 -0
- package/dist/components/core/ColorPicker/colorSliderContext.d.ts +7 -0
- package/dist/components/core/ColorPicker/colorSliderTypes.d.ts +25 -0
- package/dist/components/core/ColorPicker/colorSwatchAnimations.d.ts +25 -0
- package/dist/components/core/ColorPicker/colorSwatchContext.d.ts +7 -0
- package/dist/components/core/ColorPicker/colorSwatchTypes.d.ts +34 -0
- package/dist/components/core/ColorPicker/index.d.ts +14 -6
- package/dist/components/core/ComboBox/ComboBox.d.ts +2 -2
- package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +48 -0
- package/dist/components/core/ComboBox/comboBoxContext.d.ts +7 -0
- package/dist/components/core/ComboBox/comboBoxParts.d.ts +7 -3
- package/dist/components/core/ComboBox/comboBoxTypes.d.ts +37 -3
- package/dist/components/core/ComboBox/index.d.ts +8 -3
- package/dist/components/core/Dialog/Dialog.d.ts +2 -2
- package/dist/components/core/Dialog/dialogAnimations.d.ts +7 -2
- package/dist/components/core/Dialog/dialogContext.d.ts +7 -0
- package/dist/components/core/Dialog/dialogParts.d.ts +20 -6
- package/dist/components/core/Dialog/dialogTypes.d.ts +41 -6
- package/dist/components/core/Dialog/index.d.ts +20 -6
- package/dist/components/core/Disclosure/Disclosure.d.ts +2 -1
- package/dist/components/core/Disclosure/disclosureAnimations.d.ts +9 -4
- package/dist/components/core/Disclosure/disclosureContentPart.d.ts +1 -0
- package/dist/components/core/Disclosure/disclosureContext.d.ts +7 -0
- package/dist/components/core/Disclosure/disclosureGroup.d.ts +1 -0
- package/dist/components/core/Disclosure/disclosureParts.d.ts +2 -1
- package/dist/components/core/Disclosure/disclosureTypes.d.ts +42 -1
- package/dist/components/core/Disclosure/index.d.ts +5 -1
- package/dist/components/core/Disclosure/useDisclosureGroupRootState.d.ts +1 -1
- package/dist/components/core/Drawer/Drawer.d.ts +2 -2
- package/dist/components/core/Drawer/drawerAPI.d.ts +2 -7
- package/dist/components/core/Drawer/drawerAnimations.d.ts +7 -2
- package/dist/components/core/Drawer/drawerContext.d.ts +7 -0
- package/dist/components/core/Drawer/drawerParts.d.ts +21 -10
- package/dist/components/core/Drawer/drawerTypes.d.ts +42 -6
- package/dist/components/core/Drawer/index.d.ts +21 -7
- package/dist/components/core/Dropdown/Dropdown.d.ts +2 -2
- package/dist/components/core/Dropdown/dropdownAnimations.d.ts +19 -3
- package/dist/components/core/Dropdown/dropdownContext.d.ts +7 -0
- package/dist/components/core/Dropdown/dropdownParts.d.ts +1 -0
- package/dist/components/core/Dropdown/dropdownSubParts.d.ts +1 -0
- package/dist/components/core/Dropdown/dropdownTypes.d.ts +30 -0
- package/dist/components/core/Dropdown/index.d.ts +7 -2
- package/dist/components/core/Expandable/Expandable.d.ts +2 -1
- package/dist/components/core/Expandable/expandableAnimations.d.ts +9 -5
- package/dist/components/core/Expandable/expandableContext.d.ts +7 -0
- package/dist/components/core/Expandable/expandableParts.d.ts +7 -3
- package/dist/components/core/Expandable/expandableTypes.d.ts +33 -2
- package/dist/components/core/Expandable/index.d.ts +6 -2
- package/dist/components/core/Field/Field.d.ts +2 -1
- package/dist/components/core/Field/fieldAnimations.d.ts +38 -0
- package/dist/components/core/Field/fieldContext.d.ts +13 -0
- package/dist/components/core/Field/fieldParts.d.ts +9 -5
- package/dist/components/core/Field/fieldTypes.d.ts +37 -0
- package/dist/components/core/Field/index.d.ts +9 -1
- package/dist/components/core/Input/Input.d.ts +2 -2
- package/dist/components/core/Input/index.d.ts +2 -1
- package/dist/components/core/Input/inputAffixParts.d.ts +4 -0
- package/dist/components/core/Input/inputAnimations.d.ts +23 -12
- package/dist/components/core/Input/inputContext.d.ts +7 -0
- package/dist/components/core/Input/inputControlParts.d.ts +2 -0
- package/dist/components/core/Input/inputTypes.d.ts +36 -2
- package/dist/components/core/Kbd/Kbd.d.ts +5 -2
- package/dist/components/core/Kbd/index.d.ts +2 -1
- package/dist/components/core/Kbd/kbdAnimations.d.ts +8 -5
- package/dist/components/core/Kbd/kbdContext.d.ts +7 -0
- package/dist/components/core/Kbd/kbdTextPart.d.ts +2 -7
- package/dist/components/core/Kbd/kbdTypes.d.ts +19 -0
- package/dist/components/core/Label/Label.d.ts +3 -3
- package/dist/components/core/Label/index.d.ts +1 -1
- package/dist/components/core/Label/labelAnimations.d.ts +20 -0
- package/dist/components/core/Label/labelContext.d.ts +7 -0
- package/dist/components/core/Label/labelTypes.d.ts +18 -0
- package/dist/components/core/Link/Link.d.ts +2 -2
- package/dist/components/core/Link/index.d.ts +1 -1
- package/dist/components/core/Link/linkAnchorBodyPart.d.ts +1 -1
- package/dist/components/core/Link/linkAnimations.d.ts +13 -6
- package/dist/components/core/Link/linkContext.d.ts +7 -0
- package/dist/components/core/Link/linkTypes.d.ts +23 -1
- package/dist/components/core/ListBox/ListBox.d.ts +2 -2
- package/dist/components/core/ListBox/index.d.ts +6 -2
- package/dist/components/core/ListBox/listBoxAnimations.d.ts +4 -7
- package/dist/components/core/ListBox/listBoxContext.d.ts +7 -0
- package/dist/components/core/ListBox/listBoxParts.d.ts +3 -2
- package/dist/components/core/ListBox/listBoxTypes.d.ts +20 -8
- package/dist/components/core/Loading/Loading.d.ts +2 -1
- package/dist/components/core/Loading/index.d.ts +1 -1
- package/dist/components/core/Loading/loadingAnimations.d.ts +2 -1
- package/dist/components/core/Loading/loadingContext.d.ts +7 -0
- package/dist/components/core/Loading/loadingTypes.d.ts +19 -0
- package/dist/components/core/Meter/Meter.d.ts +2 -2
- package/dist/components/core/Meter/index.d.ts +2 -0
- package/dist/components/core/Meter/meterAnimations.d.ts +4 -1
- package/dist/components/core/Meter/meterContext.d.ts +7 -0
- package/dist/components/core/Meter/meterParts.d.ts +3 -2
- package/dist/components/core/Meter/meterTypes.d.ts +28 -2
- package/dist/components/core/Pagination/Pagination.d.ts +2 -1
- package/dist/components/core/Pagination/index.d.ts +9 -3
- package/dist/components/core/Pagination/paginationAnimations.d.ts +2 -0
- package/dist/components/core/Pagination/paginationContext.d.ts +7 -0
- package/dist/components/core/Pagination/paginationParts.d.ts +8 -3
- package/dist/components/core/Pagination/paginationTypes.d.ts +16 -1
- package/dist/components/core/Popover/Popover.d.ts +2 -2
- package/dist/components/core/Popover/index.d.ts +11 -4
- package/dist/components/core/Popover/popoverAnimations.d.ts +7 -2
- package/dist/components/core/Popover/popoverContext.d.ts +7 -0
- package/dist/components/core/Popover/popoverParts.d.ts +11 -4
- package/dist/components/core/Popover/popoverTypes.d.ts +31 -4
- package/dist/components/core/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/components/core/ProgressBar/index.d.ts +2 -0
- package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +4 -1
- package/dist/components/core/ProgressBar/progressBarContext.d.ts +7 -0
- package/dist/components/core/ProgressBar/progressBarParts.d.ts +3 -2
- package/dist/components/core/ProgressBar/progressBarTypes.d.ts +27 -2
- package/dist/components/core/Radio/Radio.d.ts +3 -2
- package/dist/components/core/Radio/index.d.ts +7 -3
- package/dist/components/core/Radio/radioAnimations.d.ts +12 -1
- package/dist/components/core/Radio/radioContext.d.ts +3 -1
- package/dist/components/core/Radio/radioParts.d.ts +1 -1
- package/dist/components/core/Radio/radioTypes.d.ts +18 -1
- package/dist/components/core/SearchInput/SearchInput.d.ts +5 -2
- package/dist/components/core/SearchInput/index.d.ts +1 -1
- package/dist/components/core/SearchInput/searchInputAnimations.d.ts +40 -5
- package/dist/components/core/SearchInput/searchInputContext.d.ts +7 -0
- package/dist/components/core/SearchInput/searchInputParts.d.ts +8 -0
- package/dist/components/core/SearchInput/searchInputStyles.d.ts +2 -2
- package/dist/components/core/SearchInput/searchInputTypes.d.ts +28 -2
- package/dist/components/core/SearchInput/useSearchInputRootState.d.ts +7 -11
- package/dist/components/core/Select/Select.d.ts +2 -2
- package/dist/components/core/Select/index.d.ts +6 -2
- package/dist/components/core/Select/selectAnimations.d.ts +48 -0
- package/dist/components/core/Select/selectContext.d.ts +7 -0
- package/dist/components/core/Select/selectTriggerParts.d.ts +5 -2
- package/dist/components/core/Select/selectTypes.d.ts +35 -2
- package/dist/components/core/SelectionIndicator/SelectionIndicator.d.ts +1 -1
- package/dist/components/core/SelectionIndicator/index.d.ts +6 -3
- package/dist/components/core/SelectionIndicator/selectionIndicatorAnimations.d.ts +9 -0
- package/dist/components/core/SelectionIndicator/selectionIndicatorContext.d.ts +7 -0
- package/dist/components/core/SelectionIndicator/selectionIndicatorParts.d.ts +4 -2
- package/dist/components/core/SelectionIndicator/selectionIndicatorTypes.d.ts +15 -1
- package/dist/components/core/SelectionThumb/SelectionThumb.d.ts +3 -3
- package/dist/components/core/SelectionThumb/index.d.ts +2 -2
- package/dist/components/core/SelectionThumb/selectionThumbAnimations.d.ts +2 -0
- package/dist/components/core/SelectionThumb/selectionThumbContext.d.ts +7 -0
- package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +21 -2
- package/dist/components/core/Separator/Separator.d.ts +2 -1
- package/dist/components/core/Separator/index.d.ts +1 -1
- package/dist/components/core/Separator/separatorAnimations.d.ts +20 -0
- package/dist/components/core/Separator/separatorContext.d.ts +7 -0
- package/dist/components/core/Separator/separatorTypes.d.ts +17 -0
- package/dist/components/core/Skeleton/Skeleton.d.ts +2 -1
- package/dist/components/core/Skeleton/index.d.ts +6 -1
- package/dist/components/core/Skeleton/skeletonAnimations.d.ts +19 -0
- package/dist/components/core/Skeleton/skeletonContext.d.ts +7 -0
- package/dist/components/core/Skeleton/skeletonParts.d.ts +5 -1
- package/dist/components/core/Skeleton/skeletonTypes.d.ts +22 -0
- package/dist/components/core/Slider/Slider.d.ts +2 -2
- package/dist/components/core/Slider/index.d.ts +2 -1
- package/dist/components/core/Slider/sliderAnimations.d.ts +7 -7
- package/dist/components/core/Slider/sliderContext.d.ts +7 -0
- package/dist/components/core/Slider/sliderScaleField.d.ts +8 -2
- package/dist/components/core/Slider/sliderThumbParts.d.ts +2 -1
- package/dist/components/core/Slider/sliderTrackParts.d.ts +1 -0
- package/dist/components/core/Slider/sliderTypes.d.ts +32 -2
- package/dist/components/core/Slider/useSliderTrackState.d.ts +18 -16
- package/dist/components/core/Surface/Surface.d.ts +2 -1
- package/dist/components/core/Surface/index.d.ts +1 -1
- package/dist/components/core/Surface/surfaceAnimations.d.ts +20 -0
- package/dist/components/core/Surface/surfaceContext.d.ts +7 -0
- package/dist/components/core/Surface/surfaceTypes.d.ts +17 -0
- package/dist/components/core/Switch/Switch.d.ts +3 -2
- package/dist/components/core/Switch/index.d.ts +4 -3
- package/dist/components/core/Switch/switchAnimations.d.ts +3 -2
- package/dist/components/core/Switch/switchContext.d.ts +7 -0
- package/dist/components/core/Switch/switchControlParts.d.ts +1 -1
- package/dist/components/core/Switch/switchTrackParts.d.ts +4 -4
- package/dist/components/core/Switch/switchTypes.d.ts +20 -2
- package/dist/components/core/Switch/useSwitchRootState.d.ts +12 -12
- package/dist/components/core/Table/Table.d.ts +2 -1
- package/dist/components/core/Table/index.d.ts +15 -4
- package/dist/components/core/Table/tableAnimations.d.ts +22 -2
- package/dist/components/core/Table/tableContext.d.ts +7 -0
- package/dist/components/core/Table/tableParts.d.ts +14 -4
- package/dist/components/core/Table/tableTypes.d.ts +40 -3
- package/dist/components/core/Tabs/Tabs.d.ts +2 -1
- package/dist/components/core/Tabs/index.d.ts +7 -2
- package/dist/components/core/Tabs/tabsAnimations.d.ts +18 -4
- package/dist/components/core/Tabs/tabsContext.d.ts +7 -0
- package/dist/components/core/Tabs/tabsPanelPart.d.ts +1 -0
- package/dist/components/core/Tabs/tabsParts.d.ts +3 -2
- package/dist/components/core/Tabs/tabsTabPart.d.ts +1 -0
- package/dist/components/core/Tabs/tabsTypes.d.ts +32 -1
- package/dist/components/core/Text/Text.d.ts +4 -2
- package/dist/components/core/Text/index.d.ts +1 -1
- package/dist/components/core/Text/textAnimations.d.ts +21 -0
- package/dist/components/core/Text/textContext.d.ts +7 -0
- package/dist/components/core/Text/textTypes.d.ts +18 -0
- package/dist/components/core/TextArea/TextArea.d.ts +2 -2
- package/dist/components/core/TextArea/index.d.ts +2 -1
- package/dist/components/core/TextArea/textAreaAnimations.d.ts +20 -10
- package/dist/components/core/TextArea/textAreaContext.d.ts +7 -0
- package/dist/components/core/TextArea/textAreaParts.d.ts +2 -1
- package/dist/components/core/TextArea/textAreaStyles.d.ts +8 -5
- package/dist/components/core/TextArea/textAreaTypes.d.ts +30 -2
- package/dist/components/core/TimeField/TimeField.d.ts +2 -2
- package/dist/components/core/TimeField/index.d.ts +2 -1
- package/dist/components/core/TimeField/timeFieldAnimations.d.ts +22 -9
- package/dist/components/core/TimeField/timeFieldContext.d.ts +7 -0
- package/dist/components/core/TimeField/timeFieldParts.d.ts +4 -3
- package/dist/components/core/TimeField/timeFieldTypes.d.ts +31 -1
- package/dist/components/core/TimeField/useTimeFieldControlState.d.ts +2 -14
- package/dist/components/core/Toast/Toast.d.ts +2 -1
- package/dist/components/core/Toast/index.d.ts +15 -5
- package/dist/components/core/Toast/toastAnimations.d.ts +16 -3
- package/dist/components/core/Toast/toastContext.d.ts +7 -0
- package/dist/components/core/Toast/toastParts.d.ts +14 -5
- package/dist/components/core/Toast/toastProvider.d.ts +1 -1
- package/dist/components/core/Toast/toastTypes.d.ts +37 -4
- package/dist/components/core/ToggleButton/ToggleButton.d.ts +4 -2
- package/dist/components/core/ToggleButton/index.d.ts +12 -5
- package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +10 -6
- package/dist/components/core/ToggleButton/toggleButtonContext.d.ts +7 -0
- package/dist/components/core/ToggleButton/toggleButtonParts.d.ts +13 -7
- package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +47 -4
- package/dist/components/core/ToggleButton/useToggleButtonFillAnimation.d.ts +4 -1
- package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +2 -1
- package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/core/Tooltip/index.d.ts +2 -1
- package/dist/components/core/Tooltip/tooltipAnimations.d.ts +5 -1
- package/dist/components/core/Tooltip/tooltipContext.d.ts +7 -0
- package/dist/components/core/Tooltip/tooltipParts.d.ts +1 -0
- package/dist/components/core/Tooltip/tooltipTypes.d.ts +14 -0
- package/dist/components/core/utils/bindAbortSignal.d.ts +2 -0
- package/dist/components/core/utils/drawerSlide.d.ts +7 -0
- package/dist/components/core/utils/focusElement.d.ts +26 -12
- package/dist/components/core/utils/focusElement.test.d.ts +1 -0
- package/dist/components/core/utils/glossInteractiveMotion.d.ts +6 -2
- package/dist/components/core/utils/gsapMotion.d.ts +42 -11
- package/dist/components/core/utils/gsapMotion.geometry.test.d.ts +1 -0
- package/dist/components/core/utils/hoverInteractiveLift.abort.test.d.ts +1 -0
- package/dist/components/core/utils/hoverInteractiveLift.d.ts +8 -4
- package/dist/components/core/utils/modalSurfaceMotion.d.ts +17 -3
- package/dist/components/core/utils/motionConfig.d.ts +85 -6
- package/dist/components/core/utils/motionConfig.test.d.ts +1 -0
- package/dist/components/core/utils/motionConfigContext.d.ts +23 -0
- package/dist/components/core/utils/motionConfigValidation.d.ts +33 -0
- package/dist/components/core/utils/optionListItemParts.d.ts +7 -4
- package/dist/components/core/utils/runOpenAfterSqueeze.d.ts +4 -1
- package/dist/components/core/utils/searchInputExpandMotion.d.ts +22 -0
- package/dist/components/core/utils/searchInputExpandMotion.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/createMotionRegistry.d.ts +27 -0
- package/dist/components/core/utils/slotMotion/createMotionScope.d.ts +63 -0
- package/dist/components/core/utils/slotMotion/createMotionScope.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.d.ts +14 -0
- package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/index.d.ts +19 -0
- package/dist/components/core/utils/slotMotion/modalSlotMotionHost.d.ts +15 -0
- package/dist/components/core/utils/slotMotion/motionRecipeRegistry.d.ts +27 -0
- package/dist/components/core/utils/slotMotion/motionRecipeRegistry.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/motionValueApi.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/motionVarsApi.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/recipes/chevronRotate.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/collapsibleHeight.d.ts +3 -0
- package/dist/components/core/utils/slotMotion/recipes/contentFade.d.ts +4 -0
- package/dist/components/core/utils/slotMotion/recipes/drawerSlide.d.ts +5 -0
- package/dist/components/core/utils/slotMotion/recipes/fileRowExit.d.ts +4 -0
- package/dist/components/core/utils/slotMotion/recipes/hoverLiftFirstLevel.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/hoverLiftGloss.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/hoverLiftSecondLevel.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/index.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/modalSurface.d.ts +7 -0
- package/dist/components/core/utils/slotMotion/recipes/portalSurface.d.ts +3 -0
- package/dist/components/core/utils/slotMotion/recipes/pressSqueeze.d.ts +4 -0
- package/dist/components/core/utils/slotMotion/recipes/searchExpand.d.ts +5 -0
- package/dist/components/core/utils/slotMotion/recipes/selectionFill.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/selectionMark.d.ts +2 -0
- package/dist/components/core/utils/slotMotion/recipes/switchThumb.d.ts +8 -0
- package/dist/components/core/utils/slotMotion/recipes/toastSurface.d.ts +4 -0
- package/dist/components/core/utils/slotMotion/resolveMotionValue.d.ts +8 -0
- package/dist/components/core/utils/slotMotion/resolveMotionValue.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/runMotionPhase.d.ts +22 -0
- package/dist/components/core/utils/slotMotion/runMotionPhase.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/scheduleNestedEnterBroadcast.d.ts +16 -0
- package/dist/components/core/utils/slotMotion/scheduleNestedEnterBroadcast.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/slotMotionTypes.d.ts +165 -0
- package/dist/components/core/utils/slotMotion/useMotionPart.d.ts +39 -0
- package/dist/components/core/utils/slotMotion/useMotionPointerPhases.d.ts +12 -0
- package/dist/components/core/utils/slotMotion/useSlotLifecycle.d.ts +25 -0
- package/dist/components/core/utils/slotMotion/useSlotLifecycle.test.d.ts +1 -0
- package/dist/components/core/utils/slotMotion/waitForLeaveGeneration.d.ts +14 -0
- package/dist/components/core/utils/useChevronRotation.d.ts +9 -0
- package/dist/components/core/utils/useCollapsibleHeight.d.ts +10 -1
- package/dist/components/core/utils/useCollapsibleHeight.test.d.ts +1 -0
- package/dist/components/core/utils/useModalMotion.d.ts +12 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +39 -36
- package/dist/index.js +23940 -16959
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.ts +4 -3
- package/dist/internal.js +83 -78
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/themeDefaults.d.ts +7 -0
- package/dist/{themeRuntimeContext-CFUwV5z2.js → themeRuntimeContext-B1dAP9WW.js} +1833 -1551
- package/dist/themeRuntimeContext-BveSYUe9.cjs +14 -0
- package/dist/ui.css +49 -51
- package/package.json +6 -4
- package/dist/components/core/SelectionIndicator/useSelectionIndicatorAnimation.d.ts +0 -2
- package/dist/themeRuntimeContext-POhnqI3h.cjs +0 -14
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
import { ElementType, HTMLAttributes } from 'react';
|
|
2
|
+
import { Prettify } from '../../../utils/prettify';
|
|
3
|
+
import { MotionValue } from '../utils/slotMotion';
|
|
2
4
|
export type TextVariant = "accent-header" | "header-1" | "header-2" | "large" | "mid" | "base" | "small" | "xsmall";
|
|
5
|
+
export type TextPartMotion = {
|
|
6
|
+
hoverIn?: MotionValue;
|
|
7
|
+
hoverOut?: MotionValue;
|
|
8
|
+
pressIn?: MotionValue;
|
|
9
|
+
pressOut?: MotionValue;
|
|
10
|
+
enter?: MotionValue;
|
|
11
|
+
leave?: MotionValue;
|
|
12
|
+
};
|
|
13
|
+
export type TextMotion = {
|
|
14
|
+
root?: TextPartMotion;
|
|
15
|
+
};
|
|
3
16
|
export type TextProps = Omit<HTMLAttributes<HTMLElement>, "className"> & {
|
|
4
17
|
variant: TextVariant;
|
|
5
18
|
as?: ElementType;
|
|
6
19
|
inheritColor?: boolean;
|
|
7
20
|
className?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Per-slot motion (`root`). Defaults are empty — custom factories are opt-in.
|
|
23
|
+
* `enter` runs on mount only when set.
|
|
24
|
+
*/
|
|
25
|
+
motion?: Prettify<TextMotion>;
|
|
8
26
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextAreaSimpleProps } from './textAreaTypes';
|
|
2
|
-
export type { TextAreaClassNames, TextAreaErrorProps, TextAreaHintProps, TextAreaControlProps, TextAreaProps, TextAreaSimpleProps, TextAreaSize, TextAreaStatus, TextAreaVariant, } from './textAreaTypes';
|
|
2
|
+
export type { TextAreaClassNames, TextAreaErrorProps, TextAreaHintProps, TextAreaControlProps, TextAreaProps, TextAreaSimpleProps, TextAreaSize, TextAreaStatus, TextAreaVariant, TextAreaMotion, TextAreaPartMotion, } from './textAreaTypes';
|
|
3
3
|
export { TextAreaControl, TextAreaError, TextAreaHint, TextAreaLabel } from './textAreaParts';
|
|
4
|
-
export declare function TextAreaRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, ...rest }: TextAreaSimpleProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function TextAreaRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, motion, ...rest }: TextAreaSimpleProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare namespace TextAreaRoot {
|
|
6
6
|
var displayName: string;
|
|
7
7
|
}
|
|
@@ -8,9 +8,10 @@ export declare const TextArea: typeof TextAreaRoot & {
|
|
|
8
8
|
rows?: number;
|
|
9
9
|
resizable?: boolean;
|
|
10
10
|
onPointerDown?: import('react').PointerEventHandler<HTMLDivElement>;
|
|
11
|
+
motion?: import('../../..').Prettify<import('./textAreaTypes').TextAreaPartMotion>;
|
|
11
12
|
} & import('react').RefAttributes<HTMLTextAreaElement>>;
|
|
12
13
|
Hint: typeof TextAreaHint;
|
|
13
14
|
Error: typeof TextAreaError;
|
|
14
15
|
};
|
|
15
|
-
export type { TextAreaClassNames, TextAreaControlProps, TextAreaSize, TextAreaStatus, TextAreaVariant, TextAreaProps, TextAreaHintProps, TextAreaErrorProps, TextAreaSimpleProps, } from './textAreaTypes';
|
|
16
|
+
export type { TextAreaClassNames, TextAreaControlProps, TextAreaSize, TextAreaStatus, TextAreaVariant, TextAreaProps, TextAreaHintProps, TextAreaErrorProps, TextAreaSimpleProps, TextAreaMotion, TextAreaPartMotion, } from './textAreaTypes';
|
|
16
17
|
export { useTextAreaFieldContext, useOptionalTextAreaFieldContext, useTextAreaClassNames, } from './textAreaContext';
|
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare function
|
|
4
|
-
|
|
1
|
+
import { MutableRefObject, PointerEvent } from 'react';
|
|
2
|
+
import { TextAreaMotion, TextAreaPartMotion, UseTextAreaShellAnimationsProps } from './textAreaTypes';
|
|
3
|
+
export declare function resolveTextAreaMotionDefaults({ isGloss, blocked, }: {
|
|
4
|
+
isGloss: boolean;
|
|
5
|
+
blocked: boolean;
|
|
6
|
+
}): TextAreaMotion;
|
|
7
|
+
export declare function resolveTextAreaMotionParams({ blocked, isGloss, pointerInside, }: {
|
|
5
8
|
blocked: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
onPointerDown?: (e: PointerEvent<HTMLDivElement>) => void;
|
|
9
|
+
isGloss: boolean;
|
|
10
|
+
pointerInside: MutableRefObject<boolean>;
|
|
9
11
|
}): {
|
|
12
|
+
shadowSize: "base";
|
|
13
|
+
hasHoverShadow: boolean;
|
|
14
|
+
isGloss: boolean;
|
|
15
|
+
pointerInside: MutableRefObject<boolean>;
|
|
16
|
+
};
|
|
17
|
+
export declare function useTextAreaShellAnimations({ shellRef, blocked, variant, resizable, motion, pointerInsideRef, onPointerDown, }: UseTextAreaShellAnimationsProps): {
|
|
10
18
|
isGloss: boolean;
|
|
11
|
-
|
|
19
|
+
bindShellRef: (node: HTMLDivElement | null) => void;
|
|
12
20
|
shellPointerDown: (e: PointerEvent<HTMLDivElement>) => void;
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
shellPointerUp: () => void;
|
|
22
|
+
shellPointerEnter: (e: PointerEvent<HTMLDivElement>) => void;
|
|
23
|
+
shellPointerLeave: (e: PointerEvent<HTMLDivElement>) => void;
|
|
15
24
|
shellFocusCapture: (() => void) | undefined;
|
|
16
25
|
shellBlurCapture: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
|
|
17
26
|
glossShellHoverMotionClass: string;
|
|
18
27
|
standardShellHoverMotionClass: string;
|
|
19
28
|
};
|
|
29
|
+
export type { TextAreaPartMotion };
|
|
@@ -8,4 +8,11 @@ export declare function TextAreaClassNamesProvider({ classNames, children, }: Te
|
|
|
8
8
|
export declare function useTextAreaFieldContext(): TextAreaFieldContextValue;
|
|
9
9
|
export declare function useOptionalTextAreaFieldContext(): TextAreaFieldContextValue | null;
|
|
10
10
|
export declare function useTextAreaClassNames(): TextAreaClassNames;
|
|
11
|
+
/** Scope only. Defaults and host play live in `textAreaAnimations.ts`. */
|
|
12
|
+
export declare const TextAreaMotionProvider: ({ motion, defaults, params, children, }: {
|
|
13
|
+
motion?: import('../utils/slotMotion').MotionSlotMap;
|
|
14
|
+
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
15
|
+
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
16
|
+
children: import('react').ReactNode;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element, useTextAreaMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTextAreaMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
11
18
|
export { TextAreaFieldContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PointerEventHandler } from 'react';
|
|
2
2
|
import { LabelProps } from '../Label';
|
|
3
|
-
import { TextAreaErrorProps, TextAreaHintProps, TextAreaSimpleBodyProps } from './textAreaTypes';
|
|
3
|
+
import { TextAreaErrorProps, TextAreaHintProps, TextAreaPartMotion, TextAreaSimpleBodyProps } from './textAreaTypes';
|
|
4
4
|
export declare const TextAreaControl: import('react').ForwardRefExoticComponent<Omit<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
5
5
|
variant?: import('./textAreaTypes').TextAreaVariant;
|
|
6
6
|
size?: import('./textAreaTypes').TextAreaSize;
|
|
@@ -8,6 +8,7 @@ export declare const TextAreaControl: import('react').ForwardRefExoticComponent<
|
|
|
8
8
|
rows?: number;
|
|
9
9
|
resizable?: boolean;
|
|
10
10
|
onPointerDown?: PointerEventHandler<HTMLDivElement>;
|
|
11
|
+
motion?: import('../../..').Prettify<TextAreaPartMotion>;
|
|
11
12
|
} & import('react').RefAttributes<HTMLTextAreaElement>>;
|
|
12
13
|
export declare function TextAreaLabel({ className, classNames, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export declare namespace TextAreaLabel {
|
|
@@ -2,11 +2,14 @@ import { TextAreaSize, TextAreaStatus, TextAreaVariant } from './textAreaTypes';
|
|
|
2
2
|
export declare const TEXTAREA_MIN_H: Record<TextAreaSize, string>;
|
|
3
3
|
export declare const TEXTAREA_SHELL_LAYOUT_CLASS = "flex flex-col items-stretch";
|
|
4
4
|
export declare const TEXTAREA_CONTROL_BASE_CLASS = "box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] field-control-mobile-no-zoom";
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare const
|
|
5
|
+
/**
|
|
6
|
+
* Resize grip — hardcoded SVG geometry (not theme border/size tokens).
|
|
7
|
+
* Two 1px diagonals from the right edge to the bottom edge, fully inside the corner.
|
|
8
|
+
*/
|
|
9
|
+
export declare const TEXTAREA_RESIZE_GRIP_STROKE = "#9a9aa3";
|
|
10
|
+
export declare const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "pointer-events-none block size-[10px] shrink-0 overflow-hidden";
|
|
11
|
+
/** Hit area extends up/left; grip sits flush in the bottom-right corner. */
|
|
12
|
+
export declare const TEXTAREA_RESIZE_HANDLE_BASE_CLASS = "absolute bottom-0 right-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end pr-0 pb-0 outline-none focus-ring-inset";
|
|
10
13
|
export declare const TEXTAREA_RESIZE_HANDLE_DISABLED_CLASS = "cursor-not-allowed opacity-45";
|
|
11
14
|
export declare const TEXTAREA_RESIZE_HANDLE_ENABLED_CLASS = "cursor-ns-resize";
|
|
12
15
|
export declare function textareaControlClass(size: TextAreaSize): string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HTMLAttributes, PointerEventHandler, ReactNode, TextareaHTMLAttributes } from 'react';
|
|
1
|
+
import { HTMLAttributes, MutableRefObject, PointerEvent, PointerEventHandler, ReactNode, RefObject, TextareaHTMLAttributes } from 'react';
|
|
2
2
|
import { Prettify } from '../../../utils/prettify';
|
|
3
3
|
import { ComponentSize } from '../utils/sizeLayout';
|
|
4
4
|
import { SemanticStatus } from '../utils/semanticStatusIcons';
|
|
5
|
+
import { MotionValue } from '../utils/slotMotion';
|
|
5
6
|
export type TextAreaVariant = "default" | "outline" | "secondary" | "gloss";
|
|
6
7
|
export type TextAreaStatus = SemanticStatus;
|
|
7
8
|
export type TextAreaSize = ComponentSize;
|
|
@@ -14,6 +15,17 @@ export type TextAreaClassNames = {
|
|
|
14
15
|
hint?: string;
|
|
15
16
|
error?: string;
|
|
16
17
|
};
|
|
18
|
+
export type TextAreaPartMotion = {
|
|
19
|
+
hoverIn?: MotionValue;
|
|
20
|
+
hoverOut?: MotionValue;
|
|
21
|
+
pressIn?: MotionValue;
|
|
22
|
+
pressOut?: MotionValue;
|
|
23
|
+
};
|
|
24
|
+
export type TextAreaMotion = {
|
|
25
|
+
shell?: TextAreaPartMotion;
|
|
26
|
+
control?: TextAreaPartMotion;
|
|
27
|
+
resizeHandle?: TextAreaPartMotion;
|
|
28
|
+
};
|
|
17
29
|
export type TextAreaControlProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
18
30
|
variant?: TextAreaVariant;
|
|
19
31
|
size?: TextAreaSize;
|
|
@@ -21,6 +33,8 @@ export type TextAreaControlProps = Omit<TextareaHTMLAttributes<HTMLTextAreaEleme
|
|
|
21
33
|
rows?: number;
|
|
22
34
|
resizable?: boolean;
|
|
23
35
|
onPointerDown?: PointerEventHandler<HTMLDivElement>;
|
|
36
|
+
/** Shell part motion. Root `motion.shell` still applies; this wins on the Control host. */
|
|
37
|
+
motion?: Prettify<TextAreaPartMotion>;
|
|
24
38
|
};
|
|
25
39
|
export type TextAreaFieldContextValue = {
|
|
26
40
|
textareaId: string;
|
|
@@ -47,8 +61,22 @@ export type TextAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
47
61
|
status?: TextAreaStatus;
|
|
48
62
|
size?: TextAreaSize;
|
|
49
63
|
classNames?: Prettify<TextAreaClassNames>;
|
|
64
|
+
/**
|
|
65
|
+
* Per-slot motion (`shell`, `control`, `resizeHandle`).
|
|
66
|
+
* Resize drag height is kit-internal, not a public MotionVars layout tween.
|
|
67
|
+
*/
|
|
68
|
+
motion?: Prettify<TextAreaMotion>;
|
|
69
|
+
};
|
|
70
|
+
export type TextAreaSimpleProps = TextAreaProps & Omit<TextAreaControlProps, "motion">;
|
|
71
|
+
export type UseTextAreaShellAnimationsProps = {
|
|
72
|
+
shellRef: RefObject<HTMLDivElement | null>;
|
|
73
|
+
blocked: boolean;
|
|
74
|
+
variant: TextAreaVariant;
|
|
75
|
+
resizable: boolean;
|
|
76
|
+
motion?: TextAreaPartMotion;
|
|
77
|
+
pointerInsideRef: MutableRefObject<boolean>;
|
|
78
|
+
onPointerDown?: (e: PointerEvent<HTMLDivElement>) => void;
|
|
50
79
|
};
|
|
51
|
-
export type TextAreaSimpleProps = TextAreaProps & TextAreaControlProps;
|
|
52
80
|
export type TextAreaHintProps = HTMLAttributes<HTMLParagraphElement> & {
|
|
53
81
|
children?: ReactNode;
|
|
54
82
|
status?: Exclude<TextAreaStatus, "danger"> | "default";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimeFieldProps } from './timeFieldTypes';
|
|
2
|
-
export type { TimeFieldClassNames, TimeFieldControlProps, TimeFieldErrorProps, TimeFieldFormat, TimeFieldHintProps, TimeFieldProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, } from './timeFieldTypes';
|
|
2
|
+
export type { TimeFieldClassNames, TimeFieldControlProps, TimeFieldErrorProps, TimeFieldFormat, TimeFieldHintProps, TimeFieldProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, TimeFieldMotion, TimeFieldPartMotion, } from './timeFieldTypes';
|
|
3
3
|
export { TimeFieldControl, TimeFieldError, TimeFieldHint, TimeFieldLabel } from './timeFieldParts';
|
|
4
|
-
export declare function TimeFieldRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, variant, value, defaultValue, onValueChange, format, disabled, compact, prefix, suffix, segmentSeparator, ...rest }: TimeFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function TimeFieldRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, variant, value, defaultValue, onValueChange, format, disabled, compact, prefix, suffix, segmentSeparator, motion, ...rest }: TimeFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare namespace TimeFieldRoot {
|
|
6
6
|
var displayName: string;
|
|
7
7
|
}
|
|
@@ -15,9 +15,10 @@ export declare const TimeField: typeof TimeFieldRoot & {
|
|
|
15
15
|
suffix?: import('react').ReactNode;
|
|
16
16
|
segmentSeparator?: import('react').ReactNode;
|
|
17
17
|
onPointerDown?: import('react').PointerEventHandler<HTMLFieldSetElement>;
|
|
18
|
+
motion?: import('../../..').Prettify<import('./timeFieldTypes').TimeFieldPartMotion>;
|
|
18
19
|
} & import('react').RefAttributes<HTMLFieldSetElement>>;
|
|
19
20
|
Hint: typeof TimeFieldHint;
|
|
20
21
|
Error: typeof TimeFieldError;
|
|
21
22
|
};
|
|
22
|
-
export type { TimeFieldClassNames, TimeFieldProps, TimeFieldControlProps, TimeFieldHintProps, TimeFieldErrorProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, TimeFieldFormat, } from './timeFieldTypes';
|
|
23
|
+
export type { TimeFieldClassNames, TimeFieldProps, TimeFieldControlProps, TimeFieldHintProps, TimeFieldErrorProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, TimeFieldFormat, TimeFieldMotion, TimeFieldPartMotion, } from './timeFieldTypes';
|
|
23
24
|
export { useTimeFieldContext, useOptionalTimeFieldContext, useTimeFieldClassNames, } from './timeFieldContext';
|
|
@@ -1,20 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare function
|
|
4
|
-
|
|
1
|
+
import { MutableRefObject, PointerEvent } from 'react';
|
|
2
|
+
import { TimeFieldMotion, UseTimeFieldShellAnimationsProps } from './timeFieldTypes';
|
|
3
|
+
export declare function resolveTimeFieldMotionDefaults({ isGloss, disabled, }: {
|
|
4
|
+
isGloss: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}): TimeFieldMotion;
|
|
7
|
+
export declare function resolveTimeFieldMotionParams({ disabled, isGloss, pointerInside, }: {
|
|
5
8
|
disabled: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
onPointerEnter?: (e: PointerEvent<HTMLFieldSetElement>) => void;
|
|
9
|
-
onPointerLeave?: (e: PointerEvent<HTMLFieldSetElement>) => void;
|
|
9
|
+
isGloss: boolean;
|
|
10
|
+
pointerInside: MutableRefObject<boolean>;
|
|
10
11
|
}): {
|
|
12
|
+
shadowSize: "base";
|
|
13
|
+
hasHoverShadow: boolean;
|
|
14
|
+
isGloss: boolean;
|
|
15
|
+
pointerInside: MutableRefObject<boolean>;
|
|
16
|
+
};
|
|
17
|
+
export declare function useTimeFieldShellAnimations({ shellRef, disabled, variant, motion, pointerInsideRef, onPointerDown, }: UseTimeFieldShellAnimationsProps): {
|
|
11
18
|
isGloss: boolean;
|
|
12
|
-
bindShellRef: (node: HTMLFieldSetElement | null
|
|
19
|
+
bindShellRef: (node: HTMLFieldSetElement | null) => void;
|
|
13
20
|
shellPointerDown: (e: PointerEvent<HTMLFieldSetElement>) => void;
|
|
21
|
+
shellPointerUp: () => void;
|
|
14
22
|
shellPointerEnter: (e: PointerEvent<HTMLFieldSetElement>) => void;
|
|
15
23
|
shellPointerLeave: (e: PointerEvent<HTMLFieldSetElement>) => void;
|
|
16
24
|
shellFocusCapture: (() => void) | undefined;
|
|
17
25
|
shellBlurCapture: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
|
|
18
26
|
glossShellHoverMotionClass: string;
|
|
19
27
|
standardShellHoverMotionClass: string;
|
|
28
|
+
glossDisabledAttr: {
|
|
29
|
+
"data-gloss-disabled": string;
|
|
30
|
+
} | {
|
|
31
|
+
"data-gloss-disabled"?: undefined;
|
|
32
|
+
};
|
|
20
33
|
};
|
|
@@ -8,4 +8,11 @@ export declare function TimeFieldClassNamesProvider({ classNames, children, }: T
|
|
|
8
8
|
export declare function useTimeFieldContext(): TimeFieldFieldContextValue;
|
|
9
9
|
export declare function useOptionalTimeFieldContext(): TimeFieldFieldContextValue | null;
|
|
10
10
|
export declare function useTimeFieldClassNames(): TimeFieldClassNames;
|
|
11
|
+
/** Scope only. Defaults and host play live in `timeFieldAnimations.ts`. */
|
|
12
|
+
export declare const TimeFieldMotionProvider: ({ motion, defaults, params, children, }: {
|
|
13
|
+
motion?: import('../utils/slotMotion').MotionSlotMap;
|
|
14
|
+
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
15
|
+
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
16
|
+
children: import('react').ReactNode;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element, useTimeFieldMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTimeFieldMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
11
18
|
export { TimeFieldContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { PointerEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { LabelProps } from '../Label';
|
|
3
|
-
import { TimeFieldErrorProps, TimeFieldHintProps, TimeFieldSimpleBodyProps } from './timeFieldTypes';
|
|
3
|
+
import { TimeFieldErrorProps, TimeFieldHintProps, TimeFieldPartMotion, TimeFieldSimpleBodyProps } from './timeFieldTypes';
|
|
4
4
|
export declare const TimeFieldControl: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLFieldSetElement>, "prefix" | "onChange" | "suffix"> & {
|
|
5
5
|
value?: string;
|
|
6
6
|
defaultValue?: string;
|
|
@@ -14,7 +14,8 @@ export declare const TimeFieldControl: import('react').ForwardRefExoticComponent
|
|
|
14
14
|
prefix?: ReactNode;
|
|
15
15
|
suffix?: ReactNode;
|
|
16
16
|
segmentSeparator?: ReactNode;
|
|
17
|
-
onPointerDown?:
|
|
17
|
+
onPointerDown?: PointerEventHandler<HTMLFieldSetElement>;
|
|
18
|
+
motion?: import('../../..').Prettify<TimeFieldPartMotion>;
|
|
18
19
|
} & import('react').RefAttributes<HTMLFieldSetElement>>;
|
|
19
20
|
export declare function TimeFieldLabel({ className, classNames, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export declare namespace TimeFieldLabel {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HTMLAttributes, PointerEventHandler, ReactNode } from 'react';
|
|
1
|
+
import { HTMLAttributes, MutableRefObject, PointerEvent, PointerEventHandler, ReactNode, RefObject } from 'react';
|
|
2
2
|
import { Prettify } from '../../../utils/prettify';
|
|
3
3
|
import { ComponentSize } from '../utils/sizeLayout';
|
|
4
4
|
import { SemanticStatus } from '../utils/semanticStatusIcons';
|
|
5
|
+
import { MotionValue } from '../utils/slotMotion';
|
|
5
6
|
export type TimeFieldSize = ComponentSize;
|
|
6
7
|
export type TimeFieldStatus = SemanticStatus;
|
|
7
8
|
export type TimeFieldVariant = "default" | "outline" | "secondary" | "segmented" | "gloss";
|
|
@@ -27,6 +28,20 @@ export type TimeFieldClassNames = {
|
|
|
27
28
|
hint?: string;
|
|
28
29
|
error?: string;
|
|
29
30
|
};
|
|
31
|
+
export type TimeFieldPartMotion = {
|
|
32
|
+
hoverIn?: MotionValue;
|
|
33
|
+
hoverOut?: MotionValue;
|
|
34
|
+
pressIn?: MotionValue;
|
|
35
|
+
pressOut?: MotionValue;
|
|
36
|
+
enter?: MotionValue;
|
|
37
|
+
leave?: MotionValue;
|
|
38
|
+
};
|
|
39
|
+
export type TimeFieldMotion = {
|
|
40
|
+
shell?: TimeFieldPartMotion;
|
|
41
|
+
prefix?: TimeFieldPartMotion;
|
|
42
|
+
suffix?: TimeFieldPartMotion;
|
|
43
|
+
segments?: TimeFieldPartMotion;
|
|
44
|
+
};
|
|
30
45
|
export type TimeFieldFieldContextValue = {
|
|
31
46
|
fieldId: string;
|
|
32
47
|
labelId: string;
|
|
@@ -60,6 +75,8 @@ export type TimeFieldControlProps = Omit<HTMLAttributes<HTMLFieldSetElement>, "o
|
|
|
60
75
|
/** Separator between hour/minute/second segments. Default: `":"`. */
|
|
61
76
|
segmentSeparator?: ReactNode;
|
|
62
77
|
onPointerDown?: PointerEventHandler<HTMLFieldSetElement>;
|
|
78
|
+
/** Shell part motion. Root `motion.shell` still applies; this wins on the Control host. */
|
|
79
|
+
motion?: Prettify<TimeFieldPartMotion>;
|
|
63
80
|
};
|
|
64
81
|
export type TimeFieldProps = Omit<HTMLAttributes<HTMLDivElement>, "prefix" | "suffix"> & {
|
|
65
82
|
children?: ReactNode;
|
|
@@ -82,6 +99,19 @@ export type TimeFieldProps = Omit<HTMLAttributes<HTMLDivElement>, "prefix" | "su
|
|
|
82
99
|
/** Separator between hour/minute/second segments. Default: `":"`. */
|
|
83
100
|
segmentSeparator?: ReactNode;
|
|
84
101
|
classNames?: Prettify<TimeFieldClassNames>;
|
|
102
|
+
/**
|
|
103
|
+
* Per-slot motion (`shell`, `prefix`, `suffix`, `segments`).
|
|
104
|
+
* Segment spinbuttons are not individual slots.
|
|
105
|
+
*/
|
|
106
|
+
motion?: Prettify<TimeFieldMotion>;
|
|
107
|
+
};
|
|
108
|
+
export type UseTimeFieldShellAnimationsProps = {
|
|
109
|
+
shellRef: RefObject<HTMLFieldSetElement | null>;
|
|
110
|
+
disabled: boolean;
|
|
111
|
+
variant: TimeFieldVariant;
|
|
112
|
+
motion?: TimeFieldPartMotion;
|
|
113
|
+
pointerInsideRef: MutableRefObject<boolean>;
|
|
114
|
+
onPointerDown?: (e: PointerEvent<HTMLFieldSetElement>) => void;
|
|
85
115
|
};
|
|
86
116
|
export type TimeFieldHintProps = HTMLAttributes<HTMLParagraphElement> & {
|
|
87
117
|
children?: ReactNode;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FocusEvent, FormEvent, KeyboardEvent, MouseEvent, RefObject } from 'react';
|
|
2
2
|
import { TimeFieldControlProps, TimeFieldSegId } from './timeFieldTypes';
|
|
3
|
-
export declare function useTimeFieldControlState({ value: valueProp, defaultValue, onValueChange, format, disabled, size: sizeProp, status: statusProp, variant: variantProp, compact: compactProp, id,
|
|
4
|
-
ref: React.Ref<HTMLFieldSetElement>;
|
|
5
|
-
}): {
|
|
3
|
+
export declare function useTimeFieldControlState({ value: valueProp, defaultValue, onValueChange, format, disabled, size: sizeProp, status: statusProp, variant: variantProp, compact: compactProp, id, }: TimeFieldControlProps): {
|
|
6
4
|
size: import('../utils/sizeLayout').ComponentSize;
|
|
7
5
|
status: import('../utils/semanticStatusIcons').SemanticStatus;
|
|
8
6
|
variant: import('./timeFieldTypes').TimeFieldVariant;
|
|
@@ -26,18 +24,8 @@ export declare function useTimeFieldControlState({ value: valueProp, defaultValu
|
|
|
26
24
|
s: RefObject<HTMLSpanElement | null>;
|
|
27
25
|
};
|
|
28
26
|
keyboardInputRef: RefObject<HTMLInputElement | null>;
|
|
27
|
+
shellRef: RefObject<HTMLFieldSetElement | null>;
|
|
29
28
|
bindShellRef: (node: HTMLFieldSetElement | null) => void;
|
|
30
|
-
shellMotion: {
|
|
31
|
-
isGloss: boolean;
|
|
32
|
-
bindShellRef: (node: HTMLFieldSetElement | null, setShellRef: (node: HTMLFieldSetElement | null) => void) => void;
|
|
33
|
-
shellPointerDown: (e: import('react').PointerEvent<HTMLFieldSetElement>) => void;
|
|
34
|
-
shellPointerEnter: (e: import('react').PointerEvent<HTMLFieldSetElement>) => void;
|
|
35
|
-
shellPointerLeave: (e: import('react').PointerEvent<HTMLFieldSetElement>) => void;
|
|
36
|
-
shellFocusCapture: (() => void) | undefined;
|
|
37
|
-
shellBlurCapture: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
|
|
38
|
-
glossShellHoverMotionClass: string;
|
|
39
|
-
standardShellHoverMotionClass: string;
|
|
40
|
-
};
|
|
41
29
|
shellSurface: string;
|
|
42
30
|
focusedSeg: TimeFieldSegId | null;
|
|
43
31
|
handleSegKeyDown: (e: KeyboardEvent<HTMLSpanElement | HTMLInputElement>, seg: TimeFieldSegId) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToastAction, ToastClose, ToastContent, ToastDescription, ToastIndicator, ToastMessage, ToastTitle } from './toastParts';
|
|
2
|
-
export type { ToastClassNames, ToastStatus, ToastVariant, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastContextValue, } from './toastTypes';
|
|
2
|
+
export type { ToastClassNames, ToastStatus, ToastVariant, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastContextValue, ToastMotion, ToastLifecycleMotion, ToastPartMotion, } from './toastTypes';
|
|
3
3
|
export { ToastProviderRoot } from './toastProvider';
|
|
4
4
|
export declare const ToastRoot: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
5
5
|
status?: import('./toastTypes').ToastStatus;
|
|
@@ -11,5 +11,6 @@ export declare const ToastRoot: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
onClose?: () => void;
|
|
13
13
|
classNames?: import('../../..').Prettify<import('./toastTypes').ToastClassNames>;
|
|
14
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastMotion>;
|
|
14
15
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
16
|
export { ToastIndicator, ToastMessage, ToastContent, ToastTitle, ToastDescription, ToastAction, ToastClose, };
|
|
@@ -9,18 +9,28 @@ export declare const Toast: import('react').ForwardRefExoticComponent<Omit<impor
|
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
classNames?: import('../../..').Prettify<import('./toastTypes').ToastClassNames>;
|
|
12
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastMotion>;
|
|
12
13
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
13
14
|
Provider: typeof ToastProviderRoot;
|
|
14
15
|
Message: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastMessageProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
|
-
Indicator: import('react').ForwardRefExoticComponent<import('
|
|
16
|
+
Indicator: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
|
|
17
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
|
|
18
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
16
19
|
Content: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
|
-
Title: import('react').ForwardRefExoticComponent<import('
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
21
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastPartMotion>;
|
|
22
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
23
|
+
Description: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
24
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastPartMotion>;
|
|
25
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
26
|
+
Action: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
27
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
|
|
28
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
29
|
Close: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
21
30
|
"aria-label"?: string;
|
|
31
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
|
|
22
32
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
23
33
|
};
|
|
24
34
|
export { ToastContext, useToastContext, useToastClassNames } from './toastContext';
|
|
25
35
|
export { useToast } from './useToast';
|
|
26
|
-
export type { ToastClassNames, ToastStatus, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastVariant, ToastSize, ToastContextValue, } from './toastTypes';
|
|
36
|
+
export type { ToastClassNames, ToastStatus, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastVariant, ToastSize, ToastContextValue, ToastMotion, ToastLifecycleMotion, ToastPartMotion, } from './toastTypes';
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
import { ToastItemWrapperProps, ToastViewportProps } from './toastTypes';
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { ToastItemWrapperProps, ToastMotion, ToastViewportProps } from './toastTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Slot motion for Toast — look here first.
|
|
4
|
+
*
|
|
5
|
+
* DOM slots: `root` (enter/leave surface), `indicator`, `title`, `description`,
|
|
6
|
+
* `action`, `close`. `message` / `content` are `display: contents`. Stack peek,
|
|
7
|
+
* viewport height and scrim stay kit-internal.
|
|
8
|
+
*
|
|
9
|
+
* Host: `ToastItemWrapper` plays `enter` / `leave` on `root` and broadcasts
|
|
10
|
+
* nested slots. Defaults wrap the item host (`TOAST_MOTION_DEFAULTS`).
|
|
11
|
+
* `Toast.Provider` / `add().motion` pass the map (like Dialog root).
|
|
12
|
+
*/
|
|
13
|
+
export declare const TOAST_MOTION_HOST_SLOTS: readonly ["root"];
|
|
14
|
+
export declare const TOAST_MOTION_DEFAULTS: ToastMotion;
|
|
15
|
+
export declare function ToastItemWrapper({ entry, reverseIdx, total, isTop, isDismissing, onDismiss, onRemoveFinal, onHeightChange, providerClassNames, providerMotion, }: ToastItemWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function ToastViewport({ placement, sorted, dismissingIds, onDismiss, onRemoveFinal, classNames, motion, defaultSize, }: ToastViewportProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { ToastClassNames, ToastClassNamesProviderProps, ToastContextValue, ToastItemContextValue } from './toastTypes';
|
|
2
2
|
declare const ToastContext: import('react').Context<ToastContextValue | null>;
|
|
3
3
|
declare const ToastItemContext: import('react').Context<ToastItemContextValue | null>;
|
|
4
|
+
/** Scope only. Defaults and host play live in `toastAnimations.tsx`. */
|
|
5
|
+
export declare const ToastMotionProvider: ({ motion, defaults, params, children, }: {
|
|
6
|
+
motion?: import('../utils/slotMotion').MotionSlotMap;
|
|
7
|
+
defaults?: import('../utils/slotMotion').MotionSlotMap;
|
|
8
|
+
params?: import('../utils/slotMotion').MotionRecipeParams;
|
|
9
|
+
children: import('react').ReactNode;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element, useToastMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalToastMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
|
|
4
11
|
export declare function ToastClassNamesProvider({ classNames, children, }: ToastClassNamesProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
5
12
|
export declare function ToastItemProvider({ value, children, }: {
|
|
6
13
|
value: ToastItemContextValue;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ToastIndicator: import('react').ForwardRefExoticComponent<
|
|
1
|
+
import { ToastContentProps, ToastMessageProps, ToastSimpleBodyProps } from './toastTypes';
|
|
2
|
+
export declare const ToastIndicator: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
|
|
3
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
|
|
4
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
3
5
|
export declare const ToastMessage: import('react').ForwardRefExoticComponent<ToastMessageProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
6
|
export declare const ToastContent: import('react').ForwardRefExoticComponent<ToastContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export declare const ToastTitle: import('react').ForwardRefExoticComponent<
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
export declare const ToastTitle: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
8
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastPartMotion>;
|
|
9
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export declare const ToastDescription: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastPartMotion>;
|
|
12
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export declare const ToastAction: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
14
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
|
|
15
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
16
|
export declare const ToastClose: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
9
17
|
"aria-label"?: string;
|
|
18
|
+
motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
|
|
10
19
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
11
20
|
export declare function ToastSimpleBody({ gridSlots, title, description, action, onClose, }: ToastSimpleBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ToastProviderProps } from './toastTypes';
|
|
2
|
-
export declare function ToastProviderRoot({ children, defaultPlacement, defaultVariant, defaultSize, portalContainer, classNames, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function ToastProviderRoot({ children, defaultPlacement, defaultVariant, defaultSize, portalContainer, classNames, motion, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|