@adgytec/adgytec-web-ui-components 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -16
- package/dist/App.d.ts +1 -2
- package/dist/assets/BottomSheetModal.css +1 -1
- package/dist/assets/CalendarCell.css +1 -1
- package/dist/assets/CalendarMenuItem.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/ListItem.css +1 -1
- package/dist/assets/ListTrailingText.css +1 -0
- package/dist/assets/Radio.css +1 -1
- package/dist/assets/SideSheet.css +1 -1
- package/dist/assets/SideSheetModal.css +1 -1
- package/dist/assets/Switch.css +1 -1
- package/dist/assets/ThemeSelector.css +1 -1
- package/dist/assets/core7.css +1 -1
- package/dist/chunks/ActionDialog +0 -1
- package/dist/chunks/ActionDialog.map +1 -1
- package/dist/chunks/AppBar +42 -43
- package/dist/chunks/AppBar.map +1 -1
- package/dist/chunks/AppBarAction +0 -1
- package/dist/chunks/AppBarAction.map +1 -1
- package/dist/chunks/AppBarAvatar +1 -2
- package/dist/chunks/AppBarAvatar.map +1 -1
- package/dist/chunks/AppBarHeadline +1 -2
- package/dist/chunks/AppBarHeadline.map +1 -1
- package/dist/chunks/BaseCalendar +65 -68
- package/dist/chunks/BaseCalendar.map +1 -1
- package/dist/chunks/BottomSheet +1 -2
- package/dist/chunks/BottomSheet.map +1 -1
- package/dist/chunks/BottomSheetModal +1 -2
- package/dist/chunks/BottomSheetModal.map +1 -1
- package/dist/chunks/ButtonGroup +1 -2
- package/dist/chunks/ButtonGroup.map +1 -1
- package/dist/chunks/CalendarCell +25 -40
- package/dist/chunks/CalendarCell.map +1 -1
- package/dist/chunks/CalendarGrid +1 -2
- package/dist/chunks/CalendarGrid.map +1 -1
- package/dist/chunks/CalendarMenuItem +2 -3
- package/dist/chunks/CalendarMenuItem.map +1 -1
- package/dist/chunks/Card +4 -5
- package/dist/chunks/Card.map +1 -1
- package/dist/chunks/CardIcon +1 -2
- package/dist/chunks/CardIcon.map +1 -1
- package/dist/chunks/CenteredSlider +1 -2
- package/dist/chunks/CenteredSlider.map +1 -1
- package/dist/chunks/ComboBox +1 -2
- package/dist/chunks/ComboBox.map +1 -1
- package/dist/chunks/ComboBoxPopover +0 -1
- package/dist/chunks/ComboBoxPopover.map +1 -1
- package/dist/chunks/ComboBoxTrigger +575 -63
- package/dist/chunks/ComboBoxTrigger.map +1 -1
- package/dist/chunks/ConnectedButtonGroup +13 -11
- package/dist/chunks/ConnectedButtonGroup.map +1 -1
- package/dist/chunks/Dialog +1 -2
- package/dist/chunks/Dialog.map +1 -1
- package/dist/chunks/Disclosure +1 -2
- package/dist/chunks/Disclosure.map +1 -1
- package/dist/chunks/DisclosureGroup +1 -2
- package/dist/chunks/DisclosureGroup.map +1 -1
- package/dist/chunks/DisclosureHeader +1 -2
- package/dist/chunks/DisclosureHeader.map +1 -1
- package/dist/chunks/DisclosurePanel +1 -2
- package/dist/chunks/DisclosurePanel.map +1 -1
- package/dist/chunks/Divider +1 -2
- package/dist/chunks/Divider.map +1 -1
- package/dist/chunks/FieldError +1 -2
- package/dist/chunks/FieldError.map +1 -1
- package/dist/chunks/GridBackgroundDecorator +0 -1
- package/dist/chunks/GridBackgroundDecorator.map +1 -1
- package/dist/chunks/Icon +1 -2
- package/dist/chunks/Icon.map +1 -1
- package/dist/chunks/Input +67 -78
- package/dist/chunks/Input.map +1 -1
- package/dist/chunks/Input2 +6 -9
- package/dist/chunks/Input2.map +1 -1
- package/dist/chunks/ListAction +12 -0
- package/dist/chunks/ListAction.map +1 -0
- package/dist/chunks/ListAvatar +1 -2
- package/dist/chunks/ListAvatar.map +1 -1
- package/dist/chunks/ListBox +12 -9
- package/dist/chunks/ListBox.map +1 -1
- package/dist/chunks/ListIcon +1 -2
- package/dist/chunks/ListIcon.map +1 -1
- package/dist/chunks/ListItem +62 -49
- package/dist/chunks/ListItem.map +1 -1
- package/dist/chunks/ListLabelText +1 -2
- package/dist/chunks/ListLabelText.map +1 -1
- package/dist/chunks/ListMedia +0 -1
- package/dist/chunks/ListMedia.map +1 -1
- package/dist/chunks/ListOverlineText +1 -2
- package/dist/chunks/ListOverlineText.map +1 -1
- package/dist/chunks/ListSupportingText +1 -2
- package/dist/chunks/ListSupportingText.map +1 -1
- package/dist/chunks/ListTrailingText +20 -0
- package/dist/chunks/ListTrailingText.map +1 -0
- package/dist/chunks/Loader +1 -2
- package/dist/chunks/Loader.map +1 -1
- package/dist/chunks/MenuPopover +1 -2
- package/dist/chunks/MenuPopover.map +1 -1
- package/dist/chunks/Modal +1 -2
- package/dist/chunks/Modal.map +1 -1
- package/dist/chunks/ModalOverlay +1 -2
- package/dist/chunks/ModalOverlay.map +1 -1
- package/dist/chunks/Navigation +2 -4
- package/dist/chunks/Navigation.map +1 -1
- package/dist/chunks/NavigationScrollContainer +7 -6
- package/dist/chunks/NavigationScrollContainer.map +1 -1
- package/dist/chunks/NavigationSection +1 -2
- package/dist/chunks/NavigationSection.map +1 -1
- package/dist/chunks/NavigationSectionLabel +1 -2
- package/dist/chunks/NavigationSectionLabel.map +1 -1
- package/dist/chunks/Popover +1 -2
- package/dist/chunks/Popover.map +1 -1
- package/dist/chunks/RadialGlowDecorator +0 -1
- package/dist/chunks/RadialGlowDecorator.map +1 -1
- package/dist/chunks/Radio +57 -70
- package/dist/chunks/Radio.map +1 -1
- package/dist/chunks/RichTooltip +1 -2
- package/dist/chunks/RichTooltip.map +1 -1
- package/dist/chunks/RichTooltipActions +1 -2
- package/dist/chunks/RichTooltipActions.map +1 -1
- package/dist/chunks/RichTooltipInfo +1 -2
- package/dist/chunks/RichTooltipInfo.map +1 -1
- package/dist/chunks/SearchField +0 -1
- package/dist/chunks/SearchField.map +1 -1
- package/dist/chunks/SelectPopover +1 -2
- package/dist/chunks/SelectPopover.map +1 -1
- package/dist/chunks/SelectTrigger +1 -2
- package/dist/chunks/SelectTrigger.map +1 -1
- package/dist/chunks/SideSheet +8 -9
- package/dist/chunks/SideSheet.map +1 -1
- package/dist/chunks/SideSheetModal +2 -3
- package/dist/chunks/SideSheetModal.map +1 -1
- package/dist/chunks/Slider +0 -1
- package/dist/chunks/Slider.map +1 -1
- package/dist/chunks/SliderOutput +1 -2
- package/dist/chunks/SliderOutput.map +1 -1
- package/dist/chunks/SliderStops +4 -5
- package/dist/chunks/SliderStops.map +1 -1
- package/dist/chunks/SliderThumb +0 -1
- package/dist/chunks/SliderThumb.map +1 -1
- package/dist/chunks/Snackbar +1 -2
- package/dist/chunks/Snackbar.map +1 -1
- package/dist/chunks/SplitButton +14 -12
- package/dist/chunks/SplitButton.map +1 -1
- package/dist/chunks/SplitButtonTrigger +9 -9
- package/dist/chunks/SplitButtonTrigger.map +1 -1
- package/dist/chunks/SubmenuPopover +0 -1
- package/dist/chunks/SubmenuPopover.map +1 -1
- package/dist/chunks/Switch +47 -48
- package/dist/chunks/Switch.map +1 -1
- package/dist/chunks/Tab +1 -2
- package/dist/chunks/Tab.map +1 -1
- package/dist/chunks/TabList +1 -2
- package/dist/chunks/TabList.map +1 -1
- package/dist/chunks/TabPanel +1 -2
- package/dist/chunks/TabPanel.map +1 -1
- package/dist/chunks/TabPanels +1 -2
- package/dist/chunks/TabPanels.map +1 -1
- package/dist/chunks/Tabs +1 -2
- package/dist/chunks/Tabs.map +1 -1
- package/dist/chunks/Tag +1 -2
- package/dist/chunks/Tag.map +1 -1
- package/dist/chunks/ThemeSelector +117 -89
- package/dist/chunks/ThemeSelector.map +1 -1
- package/dist/chunks/Toolbar +0 -1
- package/dist/chunks/Toolbar.map +1 -1
- package/dist/chunks/Tooltip +0 -1
- package/dist/chunks/Tooltip.map +1 -1
- package/dist/chunks/base +1 -2
- package/dist/chunks/base.map +1 -1
- package/dist/chunks/compiler-runtime +4 -5
- package/dist/chunks/compiler-runtime.map +1 -1
- package/dist/chunks/context +1 -2
- package/dist/chunks/context.map +1 -1
- package/dist/chunks/core +30 -31
- package/dist/chunks/core.map +1 -1
- package/dist/chunks/core2 +0 -1
- package/dist/chunks/core2.map +1 -1
- package/dist/chunks/core3 +2 -5
- package/dist/chunks/core3.map +1 -1
- package/dist/chunks/core4 +0 -1
- package/dist/chunks/core4.map +1 -1
- package/dist/chunks/core5 +0 -1
- package/dist/chunks/core5.map +1 -1
- package/dist/chunks/core6 +14 -15
- package/dist/chunks/core6.map +1 -1
- package/dist/chunks/core7 +2 -5
- package/dist/chunks/core7.map +1 -1
- package/dist/chunks/core8 +1 -3
- package/dist/chunks/core8.map +1 -1
- package/dist/chunks/core9 +0 -1
- package/dist/chunks/core9.map +1 -1
- package/dist/chunks/navContext +1 -2
- package/dist/chunks/navContext.map +1 -1
- package/dist/chunks/tapTarget +0 -1
- package/dist/chunks/tapTarget.map +1 -1
- package/dist/chunks/types +1 -2
- package/dist/chunks/types.map +1 -1
- package/dist/chunks/useHover +430 -161
- package/dist/chunks/useHover.map +1 -1
- package/dist/chunks/useSplash +18 -21
- package/dist/chunks/useSplash.map +1 -1
- package/dist/components/AppBar/AppBar/AppBar.d.ts +29 -0
- package/dist/components/AppBar/AppBar/index.js +1 -2
- package/dist/components/AppBar/AppBar/types.d.ts +29 -4
- package/dist/components/AppBar/AppBarAction/AppBarAction.d.ts +19 -1
- package/dist/components/AppBar/AppBarAction/index.js +1 -2
- package/dist/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +20 -1
- package/dist/components/AppBar/AppBarAvatar/index.js +1 -2
- package/dist/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +19 -1
- package/dist/components/AppBar/AppBarHeadline/index.js +1 -2
- package/dist/components/AppBar/AppBarState/AppBarState.d.ts +28 -2
- package/dist/components/AppBar/AppBarState/context.d.ts +37 -0
- package/dist/components/AppBar/AppBarState/index.js +16 -12
- package/dist/components/AppBar/AppBarState/index.js.map +1 -1
- package/dist/components/AppBar/core/alignment.d.ts +6 -0
- package/dist/components/AppBar/core/context.d.ts +16 -0
- package/dist/components/AppBar/core/index.js +2 -4
- package/dist/components/AppBar/core/index.js.map +1 -1
- package/dist/components/AppBar/core/size.d.ts +13 -0
- package/dist/components/AppBar/index.js +7 -7
- package/dist/components/Button/Button/Button.d.ts +17 -0
- package/dist/components/Button/Button/index.js +1 -2
- package/dist/components/Button/Button/index.js.map +1 -1
- package/dist/components/Button/Button/types.d.ts +4 -0
- package/dist/components/Button/ButtonGroups/ButtonGroup/ButtonGroup.d.ts +17 -0
- package/dist/components/Button/ButtonGroups/ButtonGroup/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ButtonGroup/types.d.ts +24 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/context.d.ts +22 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js +3 -6
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/useButtonGroupContext.d.ts +5 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/useConnectedButtonGroupContext.d.ts +5 -0
- package/dist/components/Button/ButtonGroups/ConnectedButton/ConnectedButton.d.ts +13 -0
- package/dist/components/Button/ButtonGroups/ConnectedButton/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ConnectedButton/types.d.ts +19 -1
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +18 -0
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/types.d.ts +24 -0
- package/dist/components/Button/IconButton/IconButton.d.ts +21 -0
- package/dist/components/Button/IconButton/index.js +1 -2
- package/dist/components/Button/IconButton/index.js.map +1 -1
- package/dist/components/Button/IconButton/types.d.ts +4 -0
- package/dist/components/Button/LinkButton/LinkButton.d.ts +15 -0
- package/dist/components/Button/LinkButton/index.js +1 -2
- package/dist/components/Button/LinkButton/index.js.map +1 -1
- package/dist/components/Button/LinkButton/types.d.ts +4 -0
- package/dist/components/Button/LinkIconButton/LinkIconButton.d.ts +19 -0
- package/dist/components/Button/LinkIconButton/index.js +1 -2
- package/dist/components/Button/LinkIconButton/index.js.map +1 -1
- package/dist/components/Button/LinkIconButton/types.d.ts +4 -0
- package/dist/components/Button/SplitButton/SplitButton/SplitButton.d.ts +24 -0
- package/dist/components/Button/SplitButton/SplitButton/index.js +1 -2
- package/dist/components/Button/SplitButton/SplitButton/types.d.ts +23 -0
- package/dist/components/Button/SplitButton/SplitButtonContext/context.d.ts +11 -0
- package/dist/components/Button/SplitButton/SplitButtonContext/index.js +2 -4
- package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
- package/dist/components/Button/SplitButton/SplitButtonContext/useSplitButtonContext.d.ts +5 -0
- package/dist/components/Button/SplitButton/SplitButtonPrimary/SplitButtonPrimary.d.ts +15 -0
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +3 -4
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/SplitButton/SplitButtonPrimary/types.d.ts +11 -0
- package/dist/components/Button/SplitButton/SplitButtonTrigger/SplitButtonTrigger.d.ts +19 -0
- package/dist/components/Button/SplitButton/SplitButtonTrigger/index.js +1 -2
- package/dist/components/Button/SplitButton/SplitButtonTrigger/types.d.ts +5 -0
- package/dist/components/Button/SplitButton/core/index.js +1 -2
- package/dist/components/Button/SplitButton/core/size.d.ts +13 -0
- package/dist/components/Button/ToggleButton/ToggleButton.d.ts +21 -0
- package/dist/components/Button/ToggleButton/index.js +1 -2
- package/dist/components/Button/ToggleButton/index.js.map +1 -1
- package/dist/components/Button/ToggleButton/types.d.ts +14 -0
- package/dist/components/Button/ToggleIconButton/ToggleIconButton.d.ts +21 -0
- package/dist/components/Button/ToggleIconButton/index.js +1 -2
- package/dist/components/Button/ToggleIconButton/index.js.map +1 -1
- package/dist/components/Button/ToggleIconButton/types.d.ts +9 -0
- package/dist/components/Button/core/button.d.ts +33 -0
- package/dist/components/Button/core/color.d.ts +38 -0
- package/dist/components/Button/core/index.js +1 -2
- package/dist/components/Button/core/shape.d.ts +6 -0
- package/dist/components/Button/core/sizes.d.ts +26 -0
- package/dist/components/Button/core/useButtonConfig.d.ts +25 -0
- package/dist/components/Button/core/variant.d.ts +6 -0
- package/dist/components/Button/core/width.d.ts +7 -0
- package/dist/components/Button/core/withTooltip.d.ts +9 -2
- package/dist/components/Calendar/BaseCalendar/BaseCalendar.d.ts +23 -2
- package/dist/components/Calendar/BaseCalendar/index.js +1 -2
- package/dist/components/Calendar/Calendar/Calendar.d.ts +39 -2
- package/dist/components/Calendar/Calendar/index.js +19 -14
- package/dist/components/Calendar/Calendar/index.js.map +1 -1
- package/dist/components/Calendar/CalendarCell/CalendarCell.d.ts +14 -2
- package/dist/components/Calendar/CalendarCell/index.js +1 -2
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts +12 -2
- package/dist/components/Calendar/CalendarGrid/index.js +1 -2
- package/dist/components/Calendar/CalendarMenuItem/CalendarMenuItem.d.ts +12 -1
- package/dist/components/Calendar/CalendarMenuItem/index.js +1 -2
- package/dist/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.d.ts +14 -2
- package/dist/components/Calendar/CalendarMonthMenu/index.js +3 -4
- package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
- package/dist/components/Calendar/CalendarYearMenu/CalendarYearMenu.d.ts +14 -2
- package/dist/components/Calendar/CalendarYearMenu/index.js +1 -2
- package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
- package/dist/components/Calendar/RangeCalendar/RangeCalendar.d.ts +40 -2
- package/dist/components/Calendar/RangeCalendar/index.js +20 -17
- package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
- package/dist/components/Calendar/core/calendar.d.ts +26 -0
- package/dist/components/Calendar/core/index.js +1 -2
- package/dist/components/Calendar/core/useCalendarState.d.ts +15 -0
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Calendar/index.js +4 -3
- package/dist/components/Card/Card/Card.d.ts +20 -0
- package/dist/components/Card/Card/types.d.ts +23 -0
- package/dist/components/Card/CardIcon/CardIcon.d.ts +25 -1
- package/dist/components/Card/CardIcon/index.js +1 -2
- package/dist/components/Decorators/GridBackgroundDecorator/GridBackgroundDecorator.d.ts +46 -7
- package/dist/components/Decorators/GridBackgroundDecorator/index.js +1 -2
- package/dist/components/Decorators/RadialGlowDecorator/RadialGlowDecorator.d.ts +53 -6
- package/dist/components/Decorators/RadialGlowDecorator/index.js +1 -2
- package/dist/components/Dialog/ActionDialog/ActionDialog.d.ts +33 -0
- package/dist/components/Dialog/ActionDialog/index.js +1 -2
- package/dist/components/Dialog/ActionDialog/types.d.ts +28 -2
- package/dist/components/Dialog/Dialog/Dialog.d.ts +32 -1
- package/dist/components/Dialog/Dialog/index.js +1 -2
- package/dist/components/Dialog/Modal/Modal.d.ts +24 -1
- package/dist/components/Dialog/Modal/index.js +1 -2
- package/dist/components/Dialog/ModalOverlay/ModalOverlay.d.ts +25 -1
- package/dist/components/Dialog/ModalOverlay/index.js +1 -2
- package/dist/components/Dialog/core/context.d.ts +8 -0
- package/dist/components/Dialog/core/index.js +2 -4
- package/dist/components/Dialog/core/index.js.map +1 -1
- package/dist/components/Dialog/core/typography.d.ts +9 -0
- package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +25 -1
- package/dist/components/Disclosure/Disclosure/index.js +1 -2
- package/dist/components/Disclosure/DisclosureGroup/DisclosureGroup.d.ts +50 -2
- package/dist/components/Disclosure/DisclosureGroup/index.js +1 -2
- package/dist/components/Disclosure/DisclosureHeader/DisclosureHeader.d.ts +31 -2
- package/dist/components/Disclosure/DisclosureHeader/index.js +1 -2
- package/dist/components/Disclosure/DisclosurePanel/DisclosurePanel.d.ts +31 -2
- package/dist/components/Disclosure/DisclosurePanel/index.js +1 -2
- package/dist/components/Disclosure/context/context.d.ts +11 -2
- package/dist/components/Disclosure/context/index.js +1 -2
- package/dist/components/Disclosure/context/index.js.map +1 -1
- package/dist/components/Disclosure/context/useDisclosureTypographyContext.d.ts +18 -2
- package/dist/components/Divider/Divider.d.ts +30 -1
- package/dist/components/Divider/index.js +1 -2
- package/dist/components/Icon/Icon.d.ts +29 -0
- package/dist/components/Icon/index.js +1 -2
- package/dist/components/Icon/types.d.ts +28 -0
- package/dist/components/Input/CharacterCount/CharacterCount.d.ts +11 -2
- package/dist/components/Input/CharacterCount/index.js +1 -2
- package/dist/components/Input/CharacterCount/index.js.map +1 -1
- package/dist/components/Input/Checkbox/Checkbox.d.ts +26 -0
- package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +17 -0
- package/dist/components/Input/Checkbox/context.d.ts +9 -3
- package/dist/components/Input/Checkbox/types.d.ts +32 -5
- package/dist/components/Input/DateField/DateField.d.ts +17 -1
- package/dist/components/Input/DateField/index.js +1 -2
- package/dist/components/Input/DateField/index.js.map +1 -1
- package/dist/components/Input/DateField/types.d.ts +4 -0
- package/dist/components/Input/DatePicker/DatePicker/DatePicker.d.ts +17 -1
- package/dist/components/Input/DatePicker/DatePicker/index.js +1 -2
- package/dist/components/Input/DatePicker/DatePicker/index.js.map +1 -1
- package/dist/components/Input/DatePicker/DatePicker/types.d.ts +10 -0
- package/dist/components/Input/DatePicker/DateRangePicker/DateRangePicker.d.ts +17 -1
- package/dist/components/Input/DatePicker/DateRangePicker/index.js +1 -2
- package/dist/components/Input/DatePicker/DateRangePicker/index.js.map +1 -1
- package/dist/components/Input/DatePicker/DateRangePicker/types.d.ts +10 -0
- package/dist/components/Input/DatePicker/core/datePicker.d.ts +3 -0
- package/dist/components/Input/DatePicker/core/index.js +1 -2
- package/dist/components/Input/Description/Description.d.ts +12 -1
- package/dist/components/Input/Description/index.js +1 -2
- package/dist/components/Input/Description/index.js.map +1 -1
- package/dist/components/Input/FieldError/FieldError.d.ts +12 -1
- package/dist/components/Input/FieldError/index.js +1 -2
- package/dist/components/Input/Input/Input.d.ts +27 -0
- package/dist/components/Input/Input/InputButton.d.ts +10 -1
- package/dist/components/Input/Input/handleInputButton.d.ts +6 -0
- package/dist/components/Input/Input/index.js +1 -2
- package/dist/components/Input/Input/types.d.ts +20 -0
- package/dist/components/Input/Label/Label.d.ts +12 -1
- package/dist/components/Input/Label/index.js +1 -2
- package/dist/components/Input/Label/index.js.map +1 -1
- package/dist/components/Input/Radio/Radio.d.ts +17 -0
- package/dist/components/Input/Radio/RadioGroup.d.ts +17 -0
- package/dist/components/Input/Radio/context.d.ts +9 -3
- package/dist/components/Input/Radio/index.js +1 -2
- package/dist/components/Input/Radio/types.d.ts +32 -6
- package/dist/components/Input/SearchField/SearchField.d.ts +16 -0
- package/dist/components/Input/SearchField/index.js +1 -2
- package/dist/components/Input/SearchField/types.d.ts +9 -0
- package/dist/components/Input/Select/ComboBox/ComboBox.d.ts +29 -1
- package/dist/components/Input/Select/ComboBox/context.d.ts +3 -0
- package/dist/components/Input/Select/ComboBox/index.js +1 -2
- package/dist/components/Input/Select/ComboBox/types.d.ts +9 -0
- package/dist/components/Input/Select/ComboBoxPopover/ComboBoxPopover.d.ts +10 -1
- package/dist/components/Input/Select/ComboBoxPopover/index.js +1 -2
- package/dist/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.d.ts +10 -2
- package/dist/components/Input/Select/ComboBoxTrigger/index.js +1 -2
- package/dist/components/Input/Select/Select/Select.d.ts +29 -1
- package/dist/components/Input/Select/Select/index.js +1 -2
- package/dist/components/Input/Select/Select/index.js.map +1 -1
- package/dist/components/Input/Select/Select/types.d.ts +4 -0
- package/dist/components/Input/Select/SelectItem/SelectItem.d.ts +19 -0
- package/dist/components/Input/Select/SelectItem/index.js +1 -2
- package/dist/components/Input/Select/SelectItem/index.js.map +1 -1
- package/dist/components/Input/Select/SelectItem/types.d.ts +9 -0
- package/dist/components/Input/Select/SelectList/SelectList.d.ts +14 -2
- package/dist/components/Input/Select/SelectList/index.js +1 -2
- package/dist/components/Input/Select/SelectList/index.js.map +1 -1
- package/dist/components/Input/Select/SelectListSection/SelectListSection.d.ts +4 -1
- package/dist/components/Input/Select/SelectListSection/index.js +1 -2
- package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
- package/dist/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.d.ts +3 -0
- package/dist/components/Input/Select/SelectListSectionHeader/index.js +1 -2
- package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
- package/dist/components/Input/Select/SelectPopover/SelectPopover.d.ts +10 -1
- package/dist/components/Input/Select/SelectPopover/index.js +1 -2
- package/dist/components/Input/Select/SelectTrigger/SelectTrigger.d.ts +10 -1
- package/dist/components/Input/Select/SelectTrigger/index.js +1 -2
- package/dist/components/Input/Slider/CenteredSlider/CenteredSlider.d.ts +23 -1
- package/dist/components/Input/Slider/CenteredSlider/index.js +1 -2
- package/dist/components/Input/Slider/CenteredSlider/types.d.ts +6 -0
- package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +24 -1
- package/dist/components/Input/Slider/RangeSlider/index.js +1 -2
- package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
- package/dist/components/Input/Slider/RangeSlider/types.d.ts +9 -0
- package/dist/components/Input/Slider/Slider/Slider.d.ts +24 -1
- package/dist/components/Input/Slider/Slider/index.js +1 -2
- package/dist/components/Input/Slider/Slider/types.d.ts +13 -0
- package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +19 -1
- package/dist/components/Input/Slider/SliderOutput/index.js +1 -2
- package/dist/components/Input/Slider/SliderStops/SliderStops.d.ts +18 -0
- package/dist/components/Input/Slider/SliderStops/core.d.ts +54 -10
- package/dist/components/Input/Slider/SliderStops/index.js +1 -2
- package/dist/components/Input/Slider/SliderStops/types.d.ts +38 -0
- package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +32 -2
- package/dist/components/Input/Slider/SliderThumb/context.d.ts +20 -0
- package/dist/components/Input/Slider/SliderThumb/index.js +1 -2
- package/dist/components/Input/Slider/core/color.d.ts +1 -0
- package/dist/components/Input/Slider/core/index.js +1 -2
- package/dist/components/Input/Slider/core/size.d.ts +12 -0
- package/dist/components/Input/Slider/core/slider.d.ts +44 -0
- package/dist/components/Input/Slider/core/variant.d.ts +10 -0
- package/dist/components/Input/Switch/Switch.d.ts +32 -0
- package/dist/components/Input/Switch/index.js +1 -2
- package/dist/components/Input/Switch/types.d.ts +35 -3
- package/dist/components/Input/TextArea/TextArea.d.ts +19 -0
- package/dist/components/Input/TextArea/index.js +1 -2
- package/dist/components/Input/TextArea/index.js.map +1 -1
- package/dist/components/Input/TextArea/types.d.ts +11 -0
- package/dist/components/Input/TimeField/TimeField.d.ts +17 -1
- package/dist/components/Input/TimeField/index.js +1 -2
- package/dist/components/Input/TimeField/index.js.map +1 -1
- package/dist/components/Input/TimeField/types.d.ts +4 -0
- package/dist/components/Input/core/index.js +1 -2
- package/dist/components/Input/core/input.d.ts +15 -0
- package/dist/components/Input/core/textField.d.ts +13 -0
- package/dist/components/Input/hooks/index.js +1 -2
- package/dist/components/Input/hooks/index.js.map +1 -1
- package/dist/components/Input/hooks/useControllableState.d.ts +17 -2
- package/dist/components/List/ListAction/ListAction.d.ts +23 -1
- package/dist/components/List/ListAction/index.d.ts +1 -1
- package/dist/components/List/ListAction/index.js +1 -0
- package/dist/components/List/ListAvatar/ListAvatar.d.ts +23 -1
- package/dist/components/List/ListAvatar/index.js +1 -2
- package/dist/components/List/ListBox/ListBox.d.ts +28 -1
- package/dist/components/List/ListBox/index.js +1 -2
- package/dist/components/List/ListBox/types.d.ts +27 -0
- package/dist/components/List/ListIcon/ListIcon.d.ts +19 -1
- package/dist/components/List/ListIcon/index.js +1 -2
- package/dist/components/List/ListItem/ListItem.d.ts +35 -0
- package/dist/components/List/ListItem/index.js +1 -2
- package/dist/components/List/ListItem/types.d.ts +34 -0
- package/dist/components/List/ListLabelText/ListLabelText.d.ts +16 -1
- package/dist/components/List/ListLabelText/index.js +1 -2
- package/dist/components/List/ListMedia/ListMedia.d.ts +20 -0
- package/dist/components/List/ListMedia/index.js +1 -2
- package/dist/components/List/ListMedia/types.d.ts +32 -0
- package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +16 -1
- package/dist/components/List/ListOverlineText/index.js +1 -2
- package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +16 -1
- package/dist/components/List/ListSupportingText/index.js +1 -2
- package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +16 -1
- package/dist/components/List/ListTrailingText/index.d.ts +1 -1
- package/dist/components/List/ListTrailingText/index.js +1 -0
- package/dist/components/List/core/context.d.ts +18 -0
- package/dist/components/List/core/index.d.ts +2 -0
- package/dist/components/List/core/index.js +9 -0
- package/dist/components/List/core/index.js.map +1 -0
- package/dist/components/List/core/selectionIndicator.d.ts +8 -0
- package/dist/components/List/index.d.ts +1 -0
- package/dist/components/List/index.js +12 -9
- package/dist/components/Loader/Loader.d.ts +26 -1
- package/dist/components/Loader/index.js +1 -2
- package/dist/components/Menu/Menu/Menu.d.ts +31 -1
- package/dist/components/Menu/Menu/index.js +1 -2
- package/dist/components/Menu/Menu/index.js.map +1 -1
- package/dist/components/Menu/Menu/types.d.ts +18 -0
- package/dist/components/Menu/MenuItem/MenuItem.d.ts +22 -0
- package/dist/components/Menu/MenuItem/index.js +1 -2
- package/dist/components/Menu/MenuItem/index.js.map +1 -1
- package/dist/components/Menu/MenuItem/types.d.ts +24 -0
- package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +21 -1
- package/dist/components/Menu/MenuPopover/index.js +1 -2
- package/dist/components/Menu/MenuSection/MenuSection.d.ts +23 -1
- package/dist/components/Menu/MenuSection/index.js +1 -2
- package/dist/components/Menu/MenuSection/index.js.map +1 -1
- package/dist/components/Menu/MenuSectionHeader/MenuSectionHeader.d.ts +16 -1
- package/dist/components/Menu/MenuSectionHeader/index.js +1 -2
- package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
- package/dist/components/Menu/MenuShortcut/MenuShortcut.d.ts +16 -1
- package/dist/components/Menu/MenuShortcut/index.js +1 -2
- package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
- package/dist/components/Menu/MenuTrailingText/MenuTrailingText.d.ts +16 -1
- package/dist/components/Menu/MenuTrailingText/index.js +1 -2
- package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
- package/dist/components/Menu/MenuTrigger/MenuTrigger.d.ts +43 -2
- package/dist/components/Menu/MenuTrigger/index.js +1 -2
- package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
- package/dist/components/Menu/SubmenuPopover/SubmenuPopover.d.ts +22 -1
- package/dist/components/Menu/SubmenuPopover/index.js +1 -2
- package/dist/components/Menu/context/context.d.ts +13 -0
- package/dist/components/Menu/context/index.js +2 -4
- package/dist/components/Menu/context/index.js.map +1 -1
- package/dist/components/Menu/context/useMenuConfigContext.d.ts +6 -0
- package/dist/components/Menu/core/color.d.ts +20 -0
- package/dist/components/Menu/core/index.js +1 -2
- package/dist/components/Menu/core/layout.d.ts +17 -0
- package/dist/components/Menu/core/menu.d.ts +18 -0
- package/dist/components/Navigation/Navigation/Navigation.d.ts +28 -0
- package/dist/components/Navigation/Navigation/navContext.d.ts +19 -0
- package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +16 -0
- package/dist/components/Navigation/Navigation/types.d.ts +28 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +15 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationButton/types.d.ts +9 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +21 -2
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +15 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +5 -0
- package/dist/components/Navigation/NavigationItem/core/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +22 -0
- package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +22 -1
- package/dist/components/Navigation/NavigationScrollContainer/index.js +1 -2
- package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +24 -1
- package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +1 -2
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +16 -1
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +1 -2
- package/dist/components/Navigation/NavigationState/NavigationState.d.ts +27 -2
- package/dist/components/Navigation/NavigationState/context.d.ts +31 -0
- package/dist/components/Navigation/NavigationState/index.d.ts +1 -0
- package/dist/components/Navigation/NavigationState/index.js +2 -4
- package/dist/components/Navigation/NavigationState/index.js.map +1 -1
- package/dist/components/Navigation/NavigationState/types.d.ts +12 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +35 -2
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +1 -2
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +40 -2
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +1 -2
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
- package/dist/components/Navigation/core/index.js +1 -2
- package/dist/components/Navigation/core/navLabelContext.d.ts +6 -0
- package/dist/components/Navigation/core/navigation.d.ts +9 -0
- package/dist/components/Navigation/core/navigationInfo.d.ts +19 -0
- package/dist/components/Popover/Popover.d.ts +34 -1
- package/dist/components/Popover/index.js +1 -2
- package/dist/components/Sheets/BottomSheet/BottomSheet/BottomSheet.d.ts +40 -0
- package/dist/components/Sheets/BottomSheet/BottomSheet/index.d.ts +2 -0
- package/dist/components/Sheets/BottomSheet/BottomSheet/index.js +1 -0
- package/dist/components/Sheets/BottomSheet/BottomSheet/types.d.ts +37 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/BottomSheetModal.d.ts +36 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/context.d.ts +15 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/index.js +1 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/types.d.ts +43 -0
- package/dist/components/Sheets/BottomSheet/index.d.ts +1 -0
- package/dist/components/Sheets/BottomSheet/index.js +3 -2
- package/dist/components/Sheets/SideSheet/SideSheet/SideSheet.d.ts +48 -0
- package/dist/components/Sheets/SideSheet/SideSheet/SideSheetDialog.d.ts +45 -0
- package/dist/components/Sheets/SideSheet/SideSheet/index.d.ts +3 -0
- package/dist/components/Sheets/SideSheet/SideSheet/index.js +1 -0
- package/dist/components/Sheets/SideSheet/SideSheet/types.d.ts +102 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/SideSheetModal.d.ts +36 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/context.d.ts +20 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/index.js +1 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/types.d.ts +56 -0
- package/dist/components/Sheets/SideSheet/index.d.ts +1 -2
- package/dist/components/Sheets/SideSheet/index.js +3 -2
- package/dist/components/Sheets/core/layout.d.ts +11 -0
- package/dist/components/Sheets/index.d.ts +0 -2
- package/dist/components/Snackbar/SnackbarRegion.d.ts +50 -0
- package/dist/components/Snackbar/context.d.ts +38 -0
- package/dist/components/Snackbar/index.js +1 -2
- package/dist/components/Snackbar/types.d.ts +69 -0
- package/dist/components/Splash/Splash.d.ts +6 -0
- package/dist/components/Splash/index.js +1 -2
- package/dist/components/Splash/types.d.ts +10 -0
- package/dist/components/Splash/useSplash.d.ts +21 -0
- package/dist/components/Tabs/Tab/Tab.d.ts +33 -2
- package/dist/components/Tabs/Tab/index.js +1 -2
- package/dist/components/Tabs/TabList/TabList.d.ts +42 -1
- package/dist/components/Tabs/TabList/index.js +1 -2
- package/dist/components/Tabs/TabPanel/TabPanel.d.ts +28 -1
- package/dist/components/Tabs/TabPanel/index.js +1 -2
- package/dist/components/Tabs/TabPanels/TabPanels.d.ts +28 -1
- package/dist/components/Tabs/TabPanels/index.js +1 -2
- package/dist/components/Tabs/Tabs/Tabs.d.ts +43 -1
- package/dist/components/Tabs/Tabs/index.js +1 -2
- package/dist/components/Tag/Tag.d.ts +37 -0
- package/dist/components/Tag/core.d.ts +6 -0
- package/dist/components/Tag/index.js +1 -2
- package/dist/components/Tag/types.d.ts +48 -2
- package/dist/components/ThemeSelector/ThemeItem.d.ts +52 -2
- package/dist/components/ThemeSelector/ThemeProvider.d.ts +29 -2
- package/dist/components/ThemeSelector/ThemeSelector.d.ts +24 -0
- package/dist/components/ThemeSelector/core.d.ts +72 -4
- package/dist/components/ThemeSelector/index.d.ts +2 -0
- package/dist/components/ThemeSelector/index.js +1 -2
- package/dist/components/ThemeSelector/types.d.ts +110 -2
- package/dist/components/Toolbar/Toolbar.d.ts +47 -0
- package/dist/components/Toolbar/ToolbarToggleButtonGroup.d.ts +35 -1
- package/dist/components/Toolbar/index.js +1 -2
- package/dist/components/Toolbar/types.d.ts +60 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +56 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltip/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipActions/RichTooltipActions.d.ts +27 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipActions/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/RichTooltipInfo.d.ts +31 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.d.ts +22 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.d.ts +26 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/RichTooltipTrigger.d.ts +53 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.d.ts +1 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js +11 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js.map +1 -0
- package/dist/components/Tooltip/RichTooltip/index.d.ts +1 -0
- package/dist/components/Tooltip/RichTooltip/index.js +2 -1
- package/dist/components/Tooltip/Tooltip/Tooltip.d.ts +35 -1
- package/dist/components/Tooltip/Tooltip/index.js +1 -2
- package/dist/components/Tooltip/TooltipTrigger/TooltipTrigger.d.ts +29 -1
- package/dist/components/Tooltip/TooltipTrigger/index.js +1 -2
- package/dist/components/Tooltip/TooltipTrigger/index.js.map +1 -1
- package/dist/components/Tooltip/index.js +4 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +131 -139
- package/dist/index.js.map +1 -1
- package/dist/preview/AppBar/AppBar.d.ts +2 -0
- package/dist/preview/AppBar/index.d.ts +1 -0
- package/dist/preview/BottomSheet/BottomSheet.d.ts +6 -0
- package/dist/preview/BottomSheet/index.d.ts +1 -0
- package/dist/preview/Button/Button.d.ts +2 -0
- package/dist/preview/Button/index.d.ts +1 -0
- package/dist/preview/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/dist/preview/ButtonGroup/index.d.ts +1 -0
- package/dist/preview/Calendar/Calendar.d.ts +2 -0
- package/dist/preview/Calendar/index.d.ts +1 -0
- package/dist/preview/Card/Card.d.ts +2 -0
- package/dist/preview/Card/index.d.ts +1 -0
- package/dist/preview/CenteredSlider/CenteredSlider.d.ts +2 -0
- package/dist/preview/CenteredSlider/index.d.ts +1 -0
- package/dist/preview/Checkbox/Checkbox.d.ts +2 -0
- package/dist/preview/Checkbox/index.d.ts +1 -0
- package/dist/preview/Config/Config.d.ts +8 -0
- package/dist/preview/Config/index.d.ts +1 -0
- package/dist/preview/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +2 -0
- package/dist/preview/ConnectedButtonGroup/index.d.ts +1 -0
- package/dist/preview/DateField/DateField.d.ts +6 -0
- package/dist/preview/DateField/index.d.ts +1 -0
- package/dist/preview/DatePicker/DatePicker.d.ts +2 -0
- package/dist/preview/DatePicker/index.d.ts +1 -0
- package/dist/preview/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/dist/preview/DateRangePicker/index.d.ts +1 -0
- package/dist/preview/Decorators/Decorators.d.ts +2 -0
- package/dist/preview/Decorators/index.d.ts +1 -0
- package/dist/preview/Dialog/Dialog.d.ts +2 -0
- package/dist/preview/Dialog/index.d.ts +1 -0
- package/dist/preview/Disclosure/Disclosure.d.ts +2 -0
- package/dist/preview/Disclosure/index.d.ts +1 -0
- package/dist/preview/Gradients/Gradients.d.ts +6 -0
- package/dist/preview/Gradients/index.d.ts +1 -0
- package/dist/preview/Icon/Icon.d.ts +2 -0
- package/dist/preview/Icon/index.d.ts +1 -0
- package/dist/preview/IconButton/IconButton.d.ts +2 -0
- package/dist/preview/IconButton/index.d.ts +1 -0
- package/dist/preview/Input/Input.d.ts +6 -0
- package/dist/preview/Input/index.d.ts +1 -0
- package/dist/preview/Link/Link.d.ts +2 -0
- package/dist/preview/Link/index.d.ts +1 -0
- package/dist/preview/List/List.d.ts +2 -0
- package/dist/preview/List/index.d.ts +1 -0
- package/dist/preview/Menu/Menu.d.ts +3 -0
- package/dist/preview/Menu/index.d.ts +1 -0
- package/dist/preview/Navigation/Navigation.d.ts +3 -0
- package/dist/preview/Navigation/index.d.ts +1 -0
- package/dist/preview/Radio/Radio.d.ts +2 -0
- package/dist/preview/Radio/index.d.ts +1 -0
- package/dist/preview/RangeCalendar/RangeCalendar.d.ts +2 -0
- package/dist/preview/RangeCalendar/index.d.ts +1 -0
- package/dist/preview/RangeSlider/RangeSlider.d.ts +2 -0
- package/dist/preview/RangeSlider/index.d.ts +1 -0
- package/dist/preview/SearchField/SearchField.d.ts +2 -0
- package/dist/preview/SearchField/index.d.ts +1 -0
- package/dist/preview/Select/Select.d.ts +2 -0
- package/dist/preview/Select/index.d.ts +1 -0
- package/dist/preview/SideSheet/SideSheet.d.ts +7 -0
- package/dist/preview/SideSheet/index.d.ts +1 -0
- package/dist/preview/Slider/Slider.d.ts +2 -0
- package/dist/preview/Slider/index.d.ts +1 -0
- package/dist/preview/Snackbar/Snackbar.d.ts +2 -0
- package/dist/preview/Snackbar/index.d.ts +1 -0
- package/dist/preview/SplitButton/SplitButton.d.ts +10 -0
- package/dist/preview/SplitButton/index.d.ts +1 -0
- package/dist/preview/Switch/Switch.d.ts +2 -0
- package/dist/preview/Switch/index.d.ts +1 -0
- package/dist/preview/Tabs/Tabs.d.ts +7 -0
- package/dist/preview/Tabs/index.d.ts +1 -0
- package/dist/preview/Tags/Tags.d.ts +2 -0
- package/dist/preview/Tags/index.d.ts +1 -0
- package/dist/preview/TextArea/TextArea.d.ts +6 -0
- package/dist/preview/TextArea/index.d.ts +1 -0
- package/dist/preview/ThemeSelector/ThemeSelector.d.ts +2 -0
- package/dist/preview/ThemeSelector/index.d.ts +1 -0
- package/dist/preview/TimeField/TimeField.d.ts +6 -0
- package/dist/preview/TimeField/index.d.ts +1 -0
- package/dist/preview/Toolbar/Toolbar.d.ts +10 -0
- package/dist/preview/Toolbar/index.d.ts +1 -0
- package/dist/preview/Tooltip/Tooltip.d.ts +2 -0
- package/dist/preview/Tooltip/index.d.ts +1 -0
- package/dist/utils/gradients/gradients.d.ts +97 -0
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/ref/ref.d.ts +35 -2
- package/dist/utils/scroll/scroll.d.ts +67 -4
- package/dist/utils/tapTarget/tapTarget.d.ts +57 -0
- package/dist/utils/theme/build.d.ts +24 -0
- package/dist/utils/theme/types.d.ts +70 -0
- package/dist/utils/theme/useTheme.d.ts +40 -0
- package/dist/utils/typography/base.d.ts +68 -0
- package/dist/utils/typography/core.d.ts +16 -0
- package/dist/utils/typography/fluid.d.ts +36 -0
- package/package.json +24 -26
- package/dist/chunks/useGlobalListeners +0 -294
- package/dist/chunks/useGlobalListeners.map +0 -1
- package/dist/chunks/usePress +0 -535
- package/dist/chunks/usePress.map +0 -1
- package/dist/components/Image/Image.d.ts +0 -2
- package/dist/components/Image/index.d.ts +0 -2
- package/dist/components/Image/index.js +0 -29
- package/dist/components/Image/index.js.map +0 -1
- package/dist/components/Image/types.d.ts +0 -9
- package/dist/components/Sheets/BottomSheet/BottomSheet.d.ts +0 -2
- package/dist/components/Sheets/BottomSheetModal/BottomSheetModal.d.ts +0 -2
- package/dist/components/Sheets/BottomSheetModal/context.d.ts +0 -5
- package/dist/components/Sheets/BottomSheetModal/index.js +0 -2
- package/dist/components/Sheets/BottomSheetModal/types.d.ts +0 -5
- package/dist/components/Sheets/SideSheet/SideSheet.d.ts +0 -2
- package/dist/components/Sheets/SideSheet/SideSheetDialog.d.ts +0 -2
- package/dist/components/Sheets/SideSheet/types.d.ts +0 -8
- package/dist/components/Sheets/SideSheetModal/SideSheetModal.d.ts +0 -2
- package/dist/components/Sheets/SideSheetModal/context.d.ts +0 -7
- package/dist/components/Sheets/SideSheetModal/index.js +0 -2
- package/dist/components/Sheets/SideSheetModal/types.d.ts +0 -7
- package/dist/utils/form/form.d.ts +0 -13
- package/dist/utils/form/index.d.ts +0 -1
- /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/index.d.ts +0 -0
- /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/index.d.ts +0 -0
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as CalendarMenuItem };
|
|
1
|
+
export { t as CalendarMenuItem } from "../../../chunks/CalendarMenuItem";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { MonthItem } from '../core';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link CalendarMonthMenu} component.
|
|
4
|
+
*/
|
|
5
|
+
export interface CalendarMonthMenuProps {
|
|
6
|
+
/** Callback invoked after a month item is selected to return to the calendar view. */
|
|
3
7
|
onSelection: () => void;
|
|
8
|
+
/** Array of selectable month objects to render in the virtualized list. */
|
|
4
9
|
months: MonthItem[];
|
|
5
|
-
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A virtualized list menu allowing users to quickly pick a month in the calendar.
|
|
13
|
+
*
|
|
14
|
+
* Automatically highlights the currently focused month with a checkmark, disables months
|
|
15
|
+
* that fall outside the allowable `minValue` / `maxValue` range, and shifts focused date on click.
|
|
16
|
+
*/
|
|
17
|
+
export declare const CalendarMonthMenu: React.FC<CalendarMonthMenuProps>;
|
|
@@ -5,7 +5,7 @@ import { n as r } from "../../../chunks/core3";
|
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
import { ListBox as o, ListLayout as s, SelectionIndicator as c, Virtualizer as l } from "react-aria-components";
|
|
7
7
|
import { Check as u } from "lucide-react";
|
|
8
|
-
|
|
8
|
+
// src/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.tsx
|
|
9
9
|
var d = e(), f = (e) => {
|
|
10
10
|
let f = (0, d.c)(9), { onSelection: p, months: m } = e, h = r(), g;
|
|
11
11
|
f[0] === h.focusedDate.month ? g = f[1] : (g = [h.focusedDate.month], f[0] = h.focusedDate.month, f[1] = g);
|
|
@@ -14,12 +14,12 @@ var d = e(), f = (e) => {
|
|
|
14
14
|
let r = h.focusedDate.set({
|
|
15
15
|
month: e.id,
|
|
16
16
|
day: 1
|
|
17
|
-
}), o = r.set({ day: r.calendar.getDaysInMonth(r) });
|
|
17
|
+
}), o = r.set({ day: r.calendar.getDaysInMonth(r) }), s = h.maxValue && r.compare(h.maxValue) > 0 || h.minValue && o.compare(h.minValue) < 0;
|
|
18
18
|
return /* @__PURE__ */ a(n, {
|
|
19
19
|
onPress: () => {
|
|
20
20
|
h.setFocusedDate(h.focusedDate.set({ month: e.id })), p();
|
|
21
21
|
},
|
|
22
|
-
isDisabled:
|
|
22
|
+
isDisabled: s ?? void 0,
|
|
23
23
|
textValue: e.formatted,
|
|
24
24
|
children: [/* @__PURE__ */ i(c, { children: /* @__PURE__ */ i(t, {
|
|
25
25
|
icon: u,
|
|
@@ -42,7 +42,6 @@ var d = e(), f = (e) => {
|
|
|
42
42
|
})
|
|
43
43
|
}), f[5] = m, f[6] = g, f[7] = _, f[8] = v) : v = f[8], v;
|
|
44
44
|
};
|
|
45
|
-
//#endregion
|
|
46
45
|
export { f as CalendarMonthMenu };
|
|
47
46
|
|
|
48
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Check","ListLayout","months"],"sources":["../../../../src/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.tsx"],"sourcesContent":["import { Check } from \"lucide-react\";\nimport {\n ListBox,\n ListLayout,\n SelectionIndicator,\n Virtualizer,\n} from \"react-aria-components\";\nimport { Icon } from \"@/components/Icon\";\nimport { CalendarMenuItem } from \"../CalendarMenuItem\";\nimport { type MonthItem, useCalendarState } from \"../core\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","names":["Check","ListLayout","months","_c","require_compiler_runtime","CalendarMenuItem","useCalendarState","import_compiler_runtime","CalendarMonthMenu","$","t0","state","t1","t2","onSelection","nextDate","item","endOfMonth","monthCompletelyInvalid","SelectionIndicator","Icon","Check","t3","months","Virtualizer","ListLayout","ListBox"],"sources":["../../../../src/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.tsx"],"sourcesContent":["import { Check } from \"lucide-react\";\nimport {\n ListBox,\n ListLayout,\n SelectionIndicator,\n Virtualizer,\n} from \"react-aria-components\";\nimport { Icon } from \"@/components/Icon\";\nimport { CalendarMenuItem } from \"../CalendarMenuItem\";\nimport { type MonthItem, useCalendarState } from \"../core\";\n\n/**\n * Props for the {@link CalendarMonthMenu} component.\n */\nexport interface CalendarMonthMenuProps {\n /** Callback invoked after a month item is selected to return to the calendar view. */\n onSelection: () => void;\n /** Array of selectable month objects to render in the virtualized list. */\n months: MonthItem[];\n}\n\n/**\n * A virtualized list menu allowing users to quickly pick a month in the calendar.\n *\n * Automatically highlights the currently focused month with a checkmark, disables months\n * that fall outside the allowable `minValue` / `maxValue` range, and shifts focused date on click.\n */\nexport const CalendarMonthMenu: React.FC<CalendarMonthMenuProps> = ({\n onSelection,\n months,\n}) => {\n const state = useCalendarState();\n\n return (\n <Virtualizer layout={ListLayout}>\n <ListBox\n aria-label=\"month selection\"\n autoFocus\n data-menu\n items={months}\n selectionMode=\"single\"\n selectedKeys={[state.focusedDate.month]}\n >\n {(item) => {\n const nextDate = state.focusedDate.set({\n month: item.id,\n day: 1,\n });\n\n const endOfMonth = nextDate.set({\n day: nextDate.calendar.getDaysInMonth(nextDate),\n });\n\n const monthCompletelyInvalid =\n (state.maxValue &&\n nextDate.compare(state.maxValue) > 0) ||\n (state.minValue &&\n endOfMonth.compare(state.minValue) < 0);\n\n return (\n <CalendarMenuItem\n onPress={() => {\n state.setFocusedDate(\n state.focusedDate.set({ month: item.id })\n );\n onSelection();\n }}\n isDisabled={monthCompletelyInvalid ?? undefined}\n textValue={item.formatted}\n >\n <SelectionIndicator>\n <Icon\n icon={Check}\n size={24}\n data-selected-icon\n />\n </SelectionIndicator>\n {item.formatted}\n </CalendarMenuItem>\n );\n }}\n </ListBox>\n </Virtualizer>\n );\n};\n"],"mappings":";;;;;;;;A,aA2BaQ,KAAsD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAC,EAAA,gBAAA,cAAAO,GAIhEC,IAAcL,EAAiB,GAAEM;CAAA,AAAAH,EAAA,OAAAE,EAAA,YAAA,QAUkB,IAAAF,EAAA,MAAzB,IAAA,CAACE,EAAK,YAAY,KAAM,GAAC,EAAA,KAAAA,EAAA,YAAA,OAAA,EAAA,KAAAC;CAAA,IAAAC;CAAA,AAAAJ,EAAA,OAAAK,KAAAL,EAAA,OAAAE,KAEtC,KAAA,MAAA;EACG,IAAAI,IAAiBJ,EAAK,YAAY,IAAK;GAAA,OAC5BK,EAAI;GAAG,KACT;EACT,CAAC,GAEDC,IAAmBF,EAAQ,IAAK,EAAA,KACvBA,EAAQ,SAAS,eAAgBA,CAAQ,EAClD,CAAC,GAEDG,IACKP,EAAK,YACFI,EAAQ,QAASJ,EAAK,QAAS,IAAI,KACtCA,EAAK,YACFM,EAAU,QAASN,EAAK,QAAS,IAAI;EAAG,OAG5C,kBAACN,GAAD;GACa,eAAA;IAIL,AAHAM,EAAK,eACDA,EAAK,YAAY,IAAK,EAAA,OAASK,EAAI,GAAI,CAAC,CAC5C,GACAF,EAAY;GAAC;GAEL,YAAAI,KAAA,KAAA;GACD,WAAAF,EAAI;GARnB,UAAA,CAUI,kBAACG,GAAD,EAAA,UACI,kBAACC,GAAD;IACUpB,MAAAqB;IACA,MAAA;IACN,sBAAA;GAAkB,CAAA,EAJP,CAAA,GAOlBL,EAAI,SAjBQ;;CAkBE,GAE1B,EAAA,KAAAF,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAE,KAAA,IAAAJ,EAAA;CAAA,IAAAa;CAEK,OAFLb,EAAA,OAAAc,KAAAd,EAAA,OAAAG,KAAAH,EAAA,OAAAI,KA9CT,IAAA,kBAACW,GAAD;EAAqBvB,QAAAwB;EACjB,UAAA,kBAACC,GAAD;GACe,cAAA;GACX,WAAA;GACA,aAAA;GACOxB,OAAAqB;GACO,eAAA;GACA,cAAAX;GAEb,UAAAC;EARG,CAAA;CADA,CAAA,GAgDE,EAAA,KAAAU,GAAA,EAAA,KAAAX,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAS,KAAA,IAAAb,EAAA,IAhDda;AAgDc"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { YearItem } from '../core';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link CalendarYearMenu} component.
|
|
4
|
+
*/
|
|
5
|
+
export interface CalendarYearMenuProps {
|
|
6
|
+
/** Callback invoked after a year item is selected to return to the calendar view. */
|
|
3
7
|
onSelection: () => void;
|
|
8
|
+
/** Array of selectable year objects to render in the virtualized list. */
|
|
4
9
|
years: YearItem[];
|
|
5
|
-
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A virtualized list menu allowing users to quickly pick a year in the calendar.
|
|
13
|
+
*
|
|
14
|
+
* Automatically highlights the currently focused year with a checkmark and shifts the focused date
|
|
15
|
+
* on selection.
|
|
16
|
+
*/
|
|
17
|
+
export declare const CalendarYearMenu: React.FC<CalendarYearMenuProps>;
|
|
@@ -5,7 +5,7 @@ import { n as r } from "../../../chunks/core3";
|
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
import { ListBox as o, ListLayout as s, SelectionIndicator as c, Virtualizer as l } from "react-aria-components";
|
|
7
7
|
import { Check as u } from "lucide-react";
|
|
8
|
-
|
|
8
|
+
// src/components/Calendar/CalendarYearMenu/CalendarYearMenu.tsx
|
|
9
9
|
var d = e(), f = (e) => {
|
|
10
10
|
let f = (0, d.c)(9), { onSelection: p, years: m } = e, h = r(), g;
|
|
11
11
|
f[0] === h.focusedDate.year ? g = f[1] : (g = [h.focusedDate.year], f[0] = h.focusedDate.year, f[1] = g);
|
|
@@ -35,7 +35,6 @@ var d = e(), f = (e) => {
|
|
|
35
35
|
})
|
|
36
36
|
}), f[5] = g, f[6] = _, f[7] = m, f[8] = v) : v = f[8], v;
|
|
37
37
|
};
|
|
38
|
-
//#endregion
|
|
39
38
|
export { f as CalendarYearMenu };
|
|
40
39
|
|
|
41
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Check","ListLayout","years"],"sources":["../../../../src/components/Calendar/CalendarYearMenu/CalendarYearMenu.tsx"],"sourcesContent":["import { Check } from \"lucide-react\";\nimport {\n ListBox,\n ListLayout,\n SelectionIndicator,\n Virtualizer,\n} from \"react-aria-components\";\n\nimport { Icon } from \"@/components/Icon\";\nimport { CalendarMenuItem } from \"../CalendarMenuItem\";\nimport { useCalendarState, type YearItem } from \"../core\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","names":["Check","ListLayout","years","_c","require_compiler_runtime","CalendarMenuItem","useCalendarState","import_compiler_runtime","CalendarYearMenu","$","t0","state","t1","t2","onSelection","item","SelectionIndicator","Icon","Check","t3","years","Virtualizer","ListLayout","ListBox"],"sources":["../../../../src/components/Calendar/CalendarYearMenu/CalendarYearMenu.tsx"],"sourcesContent":["import { Check } from \"lucide-react\";\nimport {\n ListBox,\n ListLayout,\n SelectionIndicator,\n Virtualizer,\n} from \"react-aria-components\";\n\nimport { Icon } from \"@/components/Icon\";\nimport { CalendarMenuItem } from \"../CalendarMenuItem\";\nimport { useCalendarState, type YearItem } from \"../core\";\n\n/**\n * Props for the {@link CalendarYearMenu} component.\n */\nexport interface CalendarYearMenuProps {\n /** Callback invoked after a year item is selected to return to the calendar view. */\n onSelection: () => void;\n /** Array of selectable year objects to render in the virtualized list. */\n years: YearItem[];\n}\n\n/**\n * A virtualized list menu allowing users to quickly pick a year in the calendar.\n *\n * Automatically highlights the currently focused year with a checkmark and shifts the focused date\n * on selection.\n */\nexport const CalendarYearMenu: React.FC<CalendarYearMenuProps> = ({\n onSelection,\n years,\n}) => {\n const state = useCalendarState();\n\n return (\n <Virtualizer layout={ListLayout}>\n <ListBox\n aria-label=\"year selection\"\n autoFocus\n data-menu\n items={years}\n selectionMode=\"single\"\n selectedKeys={[state.focusedDate.year]}\n >\n {(item) => (\n <CalendarMenuItem\n onPress={() => {\n state.setFocusedDate(\n state.focusedDate.set({ year: item.id })\n );\n onSelection();\n }}\n textValue={item.formatted}\n >\n <SelectionIndicator>\n <Icon icon={Check} size={24} data-selected-icon />\n </SelectionIndicator>\n\n {item.formatted}\n </CalendarMenuItem>\n )}\n </ListBox>\n </Virtualizer>\n );\n};\n"],"mappings":";;;;;;;;A,aA4BaQ,KAAoD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAC,EAAA,gBAAA,aAAAO,GAI9DC,IAAcL,EAAiB,GAAEM;CAAA,AAAAH,EAAA,OAAAE,EAAA,YAAA,OAUiB,IAAAF,EAAA,MAAxB,IAAA,CAACE,EAAK,YAAY,IAAK,GAAC,EAAA,KAAAA,EAAA,YAAA,MAAA,EAAA,KAAAC;CAAA,IAAAC;CAAA,AAAAJ,EAAA,OAAAK,KAAAL,EAAA,OAAAE,KAErC,KAAA,MACG,kBAACN,GAAD;EACa,eAAA;GAIL,AAHAM,EAAK,eACDA,EAAK,YAAY,IAAK,EAAA,MAAQI,EAAI,GAAI,CAAC,CAC3C,GACAD,EAAY;EAAC;EAEN,WAAAC,EAAI;EAPnB,UAAA,CASI,kBAACC,GAAD,EAAA,UACI,kBAACC,GAAD;GAAYjB,MAAAkB;GAAa,MAAA;GAAI,sBAAA;EAAkB,CAAA,EADhC,CAAA,GAIlBH,EAAI,SAbQ;C,IAepB,EAAA,KAAAD,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAE,KAAA,IAAAJ,EAAA;CAAA,IAAAU;CAEK,OAFLV,EAAA,OAAAG,KAAAH,EAAA,OAAAI,KAAAJ,EAAA,OAAAW,KAzBT,IAAA,kBAACC,GAAD;EAAqBpB,QAAAqB;EACjB,UAAA,kBAACC,GAAD;GACe,cAAA;GACX,WAAA;GACA,aAAA;GACOrB,OAAAkB;GACO,eAAA;GACA,cAAAR;GAEb,UAAAC;EARG,CAAA;CADA,CAAA,GA2BE,EAAA,KAAAD,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAO,GAAA,EAAA,KAAAD,KAAA,IAAAV,EAAA,IA3BdU;AA2Bc"}
|
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import { RangeCalendar as AriaRangeCalendar } from 'react-aria-components';
|
|
2
2
|
import { WeekdayStyle } from '../core';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Props for the {@link RangeCalendar} component.
|
|
5
|
+
* Extends React Aria's `RangeCalendar` props (excluding `children`, `visibleDuration`, and `pageBehavior`).
|
|
6
|
+
*/
|
|
7
|
+
export interface RangeCalendarProps extends Omit<React.ComponentPropsWithRef<typeof AriaRangeCalendar>, "children" | "visibleDuration" | "pageBehavior"> {
|
|
8
|
+
/**
|
|
9
|
+
* Formatting style for weekday column headers in the calendar grid.
|
|
10
|
+
*
|
|
11
|
+
* - `"narrow"`: Typically a single character (e.g. "S", "M", "T").
|
|
12
|
+
* - `"short"`: Abbreviated weekday name (e.g. "Sun", "Mon", "Tue").
|
|
13
|
+
*/
|
|
4
14
|
weekdayStyle?: WeekdayStyle;
|
|
5
|
-
|
|
15
|
+
/** Accessible label for the previous month button. */
|
|
16
|
+
previousMonthAriaLabel?: string;
|
|
17
|
+
/** Accessible label for the next month button. */
|
|
18
|
+
nextMonthAriaLabel?: string;
|
|
19
|
+
/** Accessible label for the previous year button. */
|
|
20
|
+
previousYearAriaLabel?: string;
|
|
21
|
+
/** Accessible label for the next year button. */
|
|
22
|
+
nextYearAriaLabel?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A date range selection calendar component implementing Material Design 3 Date Range Picker guidelines.
|
|
26
|
+
*
|
|
27
|
+
* Allows users to select a continuous range of dates (start date and end date) with visual
|
|
28
|
+
* range indicators, quick month/year jumping menus, keyboard navigation, and localized formatting.
|
|
29
|
+
* Built on top of React Aria's `RangeCalendar`.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* import { RangeCalendar } from '@adgytec/web-ui-components';
|
|
34
|
+
* import { today, getLocalTimeZone } from '@internationalized/date';
|
|
35
|
+
*
|
|
36
|
+
* <RangeCalendar
|
|
37
|
+
* aria-label="Trip dates"
|
|
38
|
+
* minValue={today(getLocalTimeZone())}
|
|
39
|
+
* onChange={(range) => console.log('Selected range:', range.start, range.end)}
|
|
40
|
+
* />
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const RangeCalendar: React.FC<RangeCalendarProps>;
|
|
@@ -4,27 +4,30 @@ import { t as n } from "../../../chunks/BaseCalendar";
|
|
|
4
4
|
import r from "clsx";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
6
|
import { RangeCalendar as a } from "react-aria-components";
|
|
7
|
-
|
|
7
|
+
// src/components/Calendar/RangeCalendar/RangeCalendar.tsx
|
|
8
8
|
var o = e(), s = (e) => {
|
|
9
|
-
let s = (0, o.c)(
|
|
10
|
-
s[0] === e ? (c = s[1], l = s[2], u = s[3]) : ({weekdayStyle:
|
|
11
|
-
let
|
|
12
|
-
s[
|
|
13
|
-
let
|
|
14
|
-
s[
|
|
15
|
-
weekdayStyle:
|
|
16
|
-
isRangeCalendar: !0
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
let s = (0, o.c)(20), c, l, u, d, f, p, m;
|
|
10
|
+
s[0] === e ? (c = s[1], l = s[2], u = s[3], d = s[4], f = s[5], p = s[6], m = s[7]) : ({weekdayStyle: m, className: c, previousMonthAriaLabel: d, nextMonthAriaLabel: l, previousYearAriaLabel: f, nextYearAriaLabel: u, ...p} = e, s[0] = e, s[1] = c, s[2] = l, s[3] = u, s[4] = d, s[5] = f, s[6] = p, s[7] = m);
|
|
11
|
+
let h;
|
|
12
|
+
s[8] === c ? h = s[9] : (h = (e) => r(t, typeof c == "function" ? c(e) : c), s[8] = c, s[9] = h);
|
|
13
|
+
let g;
|
|
14
|
+
s[10] !== l || s[11] !== u || s[12] !== d || s[13] !== f || s[14] !== m ? (g = /* @__PURE__ */ i(n, {
|
|
15
|
+
weekdayStyle: m,
|
|
16
|
+
isRangeCalendar: !0,
|
|
17
|
+
previousMonthAriaLabel: d,
|
|
18
|
+
nextMonthAriaLabel: l,
|
|
19
|
+
previousYearAriaLabel: f,
|
|
20
|
+
nextYearAriaLabel: u
|
|
21
|
+
}), s[10] = l, s[11] = u, s[12] = d, s[13] = f, s[14] = m, s[15] = g) : g = s[15];
|
|
22
|
+
let _;
|
|
23
|
+
return s[16] !== p || s[17] !== h || s[18] !== g ? (_ = /* @__PURE__ */ i(a, {
|
|
24
|
+
className: h,
|
|
25
|
+
...p,
|
|
22
26
|
"data-calendar": !0,
|
|
23
27
|
"data-range-calendar": !0,
|
|
24
|
-
children:
|
|
25
|
-
}), s[
|
|
28
|
+
children: g
|
|
29
|
+
}), s[16] = p, s[17] = h, s[18] = g, s[19] = _) : _ = s[19], _;
|
|
26
30
|
};
|
|
27
|
-
//#endregion
|
|
28
31
|
export { s as RangeCalendar };
|
|
29
32
|
|
|
30
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["weekdayStyle"],"sources":["../../../../src/components/Calendar/RangeCalendar/RangeCalendar.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { RangeCalendar as AriaRangeCalendar } from \"react-aria-components\";\nimport { BaseCalendar } from \"../BaseCalendar\";\nimport { CalendarBaseStyles, type WeekdayStyle } from \"../core\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","names":["weekdayStyle","previousMonthAriaLabel","nextMonthAriaLabel","previousYearAriaLabel","nextYearAriaLabel","_c","clsx","AriaRangeCalendar","require_compiler_runtime","CalendarBaseStyles","BaseCalendar","clsx$1","RangeCalendar$1","import_compiler_runtime","RangeCalendar","$","className","nextMonthAriaLabel","nextYearAriaLabel","previousMonthAriaLabel","previousYearAriaLabel","props","weekdayStyle","t0","t1","renderProps","t2","t3"],"sources":["../../../../src/components/Calendar/RangeCalendar/RangeCalendar.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { RangeCalendar as AriaRangeCalendar } from \"react-aria-components\";\nimport { BaseCalendar } from \"../BaseCalendar\";\nimport { CalendarBaseStyles, type WeekdayStyle } from \"../core\";\n\n/**\n * Props for the {@link RangeCalendar} component.\n * Extends React Aria's `RangeCalendar` props (excluding `children`, `visibleDuration`, and `pageBehavior`).\n */\nexport interface RangeCalendarProps\n extends Omit<\n React.ComponentPropsWithRef<typeof AriaRangeCalendar>,\n \"children\" | \"visibleDuration\" | \"pageBehavior\"\n > {\n /**\n * Formatting style for weekday column headers in the calendar grid.\n *\n * - `\"narrow\"`: Typically a single character (e.g. \"S\", \"M\", \"T\").\n * - `\"short\"`: Abbreviated weekday name (e.g. \"Sun\", \"Mon\", \"Tue\").\n */\n weekdayStyle?: WeekdayStyle;\n\n /** Accessible label for the previous month button. */\n previousMonthAriaLabel?: string;\n\n /** Accessible label for the next month button. */\n nextMonthAriaLabel?: string;\n\n /** Accessible label for the previous year button. */\n previousYearAriaLabel?: string;\n\n /** Accessible label for the next year button. */\n nextYearAriaLabel?: string;\n}\n\n/**\n * A date range selection calendar component implementing Material Design 3 Date Range Picker guidelines.\n *\n * Allows users to select a continuous range of dates (start date and end date) with visual\n * range indicators, quick month/year jumping menus, keyboard navigation, and localized formatting.\n * Built on top of React Aria's `RangeCalendar`.\n *\n * @example\n * ```tsx\n * import { RangeCalendar } from '@adgytec/web-ui-components';\n * import { today, getLocalTimeZone } from '@internationalized/date';\n *\n * <RangeCalendar\n * aria-label=\"Trip dates\"\n * minValue={today(getLocalTimeZone())}\n * onChange={(range) => console.log('Selected range:', range.start, range.end)}\n * />\n * ```\n */\nexport const RangeCalendar: React.FC<RangeCalendarProps> = ({\n weekdayStyle,\n className,\n previousMonthAriaLabel,\n nextMonthAriaLabel,\n previousYearAriaLabel,\n nextYearAriaLabel,\n ...props\n}) => {\n return (\n <AriaRangeCalendar\n className={(renderProps) =>\n clsx(\n CalendarBaseStyles,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n data-calendar\n data-range-calendar\n >\n <BaseCalendar\n weekdayStyle={weekdayStyle}\n isRangeCalendar\n previousMonthAriaLabel={previousMonthAriaLabel}\n nextMonthAriaLabel={nextMonthAriaLabel}\n previousYearAriaLabel={previousYearAriaLabel}\n nextYearAriaLabel={nextYearAriaLabel}\n />\n </AriaRangeCalendar>\n );\n};\n"],"mappings":";;;;;;;A,aAsDac,KAA8C,MAAA;CAAA,IAAAC,KAAA,GAAAV,EAAAA,EAAAA,CAAA,EAAA,GAAAW,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;CAAA,AAAAP,EAAA,OAAAQ,KAQ1D,IAAAR,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAR2D,kIAAA,GAAAM,KAAAE,GAQ3D,EAAA,KAAAA,GAAA,EAAA,KAAAP,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAT,EAAA,OAAAC,IASgB,IAAAD,EAAA,MANM,KAAA,MACPT,EACIG,GACA,OAAOO,KAAc,aACfA,EAAUS,CACF,IAFdT,CAGJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAQ;CAAA,IAAAE;CAAA,AAAAX,EAAA,QAAAE,KAAAF,EAAA,QAAAG,KAAAH,EAAA,QAAAI,KAAAJ,EAAA,QAAAK,KAAAL,EAAA,QAAAO,KAML,IAAA,kBAACZ,GAAD;EACkB;EACd,iBAAA;EACwB;EACJ;EACG;EACJ;CAAiB,CAAA,GACtC,EAAA,MAAAO,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAC,GAAA,EAAA,MAAAE,GAAA,EAAA,MAAAI,KAAA,IAAAX,EAAA;CAAA,IAAAY;CACc,OADdZ,EAAA,QAAAM,KAAAN,EAAA,QAAAS,KAAAT,EAAA,QAAAW,KApBN,IAAA,kBAACnB,GAAD;EACe,WAAAiB;EAMN,GAEDH;EACJ,iBAAA;EACA,uBAAA;EAEA,UAAAK;CAbc,CAAA,GAqBE,EAAA,MAAAL,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAE,GAAA,EAAA,MAAAC,KAAA,IAAAZ,EAAA,KArBpBY;AAqBoB"}
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base CSS module class name providing layout and styling tokens for calendar containers.
|
|
3
|
+
*/
|
|
1
4
|
export declare const CalendarBaseStyles: string;
|
|
5
|
+
/**
|
|
6
|
+
* Format style for weekday headers in the calendar grid.
|
|
7
|
+
*
|
|
8
|
+
* - `"narrow"`: Typically a single character (e.g. "S", "M", "T").
|
|
9
|
+
* - `"short"`: Abbreviated day name (e.g. "Sun", "Mon", "Tue").
|
|
10
|
+
*/
|
|
2
11
|
export type WeekdayStyle = "narrow" | "short";
|
|
12
|
+
/**
|
|
13
|
+
* Represents a selectable month item within the month picker menu.
|
|
14
|
+
*/
|
|
3
15
|
export interface MonthItem {
|
|
16
|
+
/** 1-based month index (1 for January through 12 for December). */
|
|
4
17
|
id: number;
|
|
18
|
+
/** Formatted localized month label (e.g. "January" or "Jan"). */
|
|
5
19
|
formatted: string;
|
|
6
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents a selectable year item within the year picker menu.
|
|
23
|
+
*/
|
|
7
24
|
export interface YearItem {
|
|
25
|
+
/** Full numeric year (e.g. 2026). */
|
|
8
26
|
id: number;
|
|
27
|
+
/** Formatted localized year string (e.g. "2026"). */
|
|
9
28
|
formatted: string;
|
|
10
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Default fallback minimum year used in the year selection menu when no `minValue` is specified.
|
|
32
|
+
*/
|
|
11
33
|
export declare const defaultMinYear = 1900;
|
|
34
|
+
/**
|
|
35
|
+
* Default number of years added to the current year when determining the maximum year
|
|
36
|
+
* in the year selection menu if no `maxValue` is specified.
|
|
37
|
+
*/
|
|
12
38
|
export declare const defaultMaxYearIncrement = 100;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { r as CalendarBaseStyles, t as defaultMaxYearIncrement, e as defaultMinYear, i as isRangeCalendarState, n as useCalendarState };
|
|
1
|
+
export { r as CalendarBaseStyles, i as defaultMaxYearIncrement, a as defaultMinYear, t as isRangeCalendarState, n as useCalendarState } from "../../../chunks/core3";
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { CalendarState, RangeCalendarState } from 'react-aria-components';
|
|
2
2
|
import { CalendarSelectionMode } from 'react-aria-components/Calendar';
|
|
3
|
+
/**
|
|
4
|
+
* Accesses the active calendar state from the nearest enclosing `Calendar` or `RangeCalendar`.
|
|
5
|
+
*
|
|
6
|
+
* Checks both {@link CalendarStateContext} (single date) and {@link RangeCalendarStateContext} (range).
|
|
7
|
+
* Throws an error if invoked outside a valid calendar provider context.
|
|
8
|
+
*
|
|
9
|
+
* @returns The active {@link CalendarState} or {@link RangeCalendarState}.
|
|
10
|
+
* @throws {Error} If called outside of a `Calendar` or `RangeCalendar` component hierarchy.
|
|
11
|
+
*/
|
|
3
12
|
export declare function useCalendarState(): CalendarState<CalendarSelectionMode> | RangeCalendarState<import('react-stately/useCalendarState').DateValue>;
|
|
13
|
+
/**
|
|
14
|
+
* Type guard function to determine whether a given calendar state is a {@link RangeCalendarState}.
|
|
15
|
+
*
|
|
16
|
+
* @param state - The calendar state instance to check.
|
|
17
|
+
* @returns `true` if `state` is a `RangeCalendarState` (containing an `anchorDate` property), otherwise `false`.
|
|
18
|
+
*/
|
|
4
19
|
export declare function isRangeCalendarState(state: CalendarState<CalendarSelectionMode> | RangeCalendarState): state is RangeCalendarState;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../../chunks/core3";
|
|
2
|
+
import { Calendar as a } from "./Calendar/index.js";
|
|
3
|
+
import { RangeCalendar as o } from "./RangeCalendar/index.js";
|
|
4
|
+
export { a as Calendar, r as CalendarBaseStyles, o as RangeCalendar, t as defaultMaxYearIncrement, e as defaultMinYear, i as isRangeCalendarState, n as useCalendarState };
|
|
@@ -1,2 +1,22 @@
|
|
|
1
1
|
import { CardProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* A card container component implementing Material Design 3 Card guidelines.
|
|
4
|
+
*
|
|
5
|
+
* Cards contain content and actions about a single subject. They present information
|
|
6
|
+
* in a structured format and support three visual variants (`"filled"`, `"elevated"`, `"outlined"`),
|
|
7
|
+
* interactive press states with touch ripple feedback via {@link Splash}, keyboard navigation,
|
|
8
|
+
* and accessible focus management built on top of React Aria's `GridListItem`.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import { Card, CardIcon } from '@adgytec/web-ui-components';
|
|
13
|
+
* import { Bell } from 'lucide-react';
|
|
14
|
+
*
|
|
15
|
+
* <Card variant="elevated" onPress={() => console.log('Card clicked')}>
|
|
16
|
+
* <CardIcon icon={Bell} />
|
|
17
|
+
* <h3>Notifications</h3>
|
|
18
|
+
* <p>Manage your alert preferences.</p>
|
|
19
|
+
* </Card>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
2
22
|
export declare const Card: React.FC<CardProps>;
|
|
@@ -1,7 +1,30 @@
|
|
|
1
1
|
import { GridListItem } from 'react-aria-components';
|
|
2
|
+
/**
|
|
3
|
+
* Visual hierarchy and elevation variants for the {@link Card} component.
|
|
4
|
+
*
|
|
5
|
+
* - `"filled"`: Subtle contrast against a surface without elevation shadows (default).
|
|
6
|
+
* - `"elevated"`: Elevated surface with drop shadow, separating card content from the background.
|
|
7
|
+
* - `"outlined"`: Bordered surface with an outline stroke and no elevation shadow.
|
|
8
|
+
*/
|
|
2
9
|
export type CardVariant = "elevated" | "outlined" | "filled";
|
|
10
|
+
/**
|
|
11
|
+
* Props for the {@link Card} component.
|
|
12
|
+
* Extends React Aria's `GridListItem` props, supporting interaction states,
|
|
13
|
+
* selection, and press handlers.
|
|
14
|
+
*/
|
|
3
15
|
export interface CardProps extends React.ComponentPropsWithRef<typeof GridListItem> {
|
|
16
|
+
/**
|
|
17
|
+
* The visual style and elevation variant of the card.
|
|
18
|
+
*
|
|
19
|
+
* @default "filled"
|
|
20
|
+
*/
|
|
4
21
|
variant?: CardVariant;
|
|
5
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Recommended spacing (in pixels) between adjacent cards in a grid layout.
|
|
25
|
+
*/
|
|
6
26
|
export declare const PaddingBetweenCards = 12;
|
|
27
|
+
/**
|
|
28
|
+
* Fixed icon size (in pixels) used by the {@link CardIcon} component.
|
|
29
|
+
*/
|
|
7
30
|
export declare const CardIconSize = 24;
|
|
@@ -1,2 +1,26 @@
|
|
|
1
1
|
import { Icon } from '../../Icon';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link CardIcon} component.
|
|
4
|
+
* Extends {@link Icon} props while omitting `size` and `withText`, which are pre-configured
|
|
5
|
+
* specifically for cards.
|
|
6
|
+
*/
|
|
7
|
+
export interface CardIconProps extends Omit<React.ComponentPropsWithRef<typeof Icon>, "size" | "withText"> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A styled icon component designed specifically for placement inside a {@link Card}.
|
|
11
|
+
*
|
|
12
|
+
* Automatically standardizes the icon size to 24px ({@link CardIconSize}) and applies
|
|
13
|
+
* theme-aware icon coloring (`--_md-card-icon-color`).
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import { Card, CardIcon } from '@adgytec/web-ui-components';
|
|
18
|
+
* import { Sparkles } from 'lucide-react';
|
|
19
|
+
*
|
|
20
|
+
* <Card>
|
|
21
|
+
* <CardIcon icon={Sparkles} />
|
|
22
|
+
* <span>Featured Content</span>
|
|
23
|
+
* </Card>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare const CardIcon: React.FC<CardIconProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as CardIcon };
|
|
1
|
+
export { t as CardIcon } from "../../../chunks/CardIcon";
|
|
@@ -1,14 +1,53 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Visual pattern variants for the {@link GridBackgroundDecorator} component.
|
|
4
|
+
*
|
|
5
|
+
* - `"lines"`: Structured intersecting line grid pattern (default).
|
|
6
|
+
* - `"dots"`: Subtle dotted matrix pattern.
|
|
7
|
+
*/
|
|
8
|
+
export type GridBackgroundDecoratorVariant = "lines" | "dots";
|
|
9
|
+
/**
|
|
10
|
+
* Props for the {@link GridBackgroundDecorator} component.
|
|
11
|
+
*/
|
|
2
12
|
export interface GridBackgroundDecoratorProps {
|
|
3
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Z-index layer depth for the decorator container.
|
|
15
|
+
*
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
4
18
|
zIndex?: number;
|
|
5
|
-
/** Additional CSS
|
|
19
|
+
/** Additional CSS class names to apply to the decorator container. */
|
|
6
20
|
className?: string;
|
|
7
|
-
/**
|
|
21
|
+
/** Custom inline styles to apply to the decorator container. */
|
|
8
22
|
style?: React.CSSProperties;
|
|
9
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Grid cell spacing size in pixels.
|
|
25
|
+
*
|
|
26
|
+
* @default 40
|
|
27
|
+
*/
|
|
10
28
|
gridSize?: number;
|
|
11
|
-
/**
|
|
12
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Visual grid style pattern.
|
|
31
|
+
*
|
|
32
|
+
* @default "lines"
|
|
33
|
+
*/
|
|
34
|
+
variant?: GridBackgroundDecoratorVariant;
|
|
13
35
|
}
|
|
14
|
-
|
|
36
|
+
/**
|
|
37
|
+
* A non-blocking background decorator that renders a structured grid of lines or dots.
|
|
38
|
+
*
|
|
39
|
+
* Spans the full page or parent container with `pointer-events: none` and `aria-hidden="true"`
|
|
40
|
+
* so it provides visual depth without interfering with pointer events or assistive technology.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```tsx
|
|
44
|
+
* import { GridBackgroundDecorator } from '@adgytec/web-ui-components';
|
|
45
|
+
*
|
|
46
|
+
* // Standard intersecting grid line pattern
|
|
47
|
+
* <GridBackgroundDecorator variant="lines" gridSize={40} />
|
|
48
|
+
*
|
|
49
|
+
* // Dot matrix grid pattern with custom z-index
|
|
50
|
+
* <GridBackgroundDecorator variant="dots" gridSize={24} zIndex={-5} />
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare const GridBackgroundDecorator: React.FC<GridBackgroundDecoratorProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as GridBackgroundDecorator };
|
|
1
|
+
export { t as GridBackgroundDecorator } from "../../../chunks/GridBackgroundDecorator";
|
|
@@ -1,12 +1,59 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Predefined layout, blob placement, and motion variants for the {@link RadialGlowDecorator} component.
|
|
4
|
+
*
|
|
5
|
+
* - `"default"`: 3 static blobs (primary, secondary, tertiary) spread across the viewport.
|
|
6
|
+
* - `"split"`: 2 static blobs separated left and right, ideal for two-column or split layouts.
|
|
7
|
+
* - `"top-bar"`: 3 horizontal blobs aligned across the top fold or header area.
|
|
8
|
+
* - `"corners"`: 4 static blobs anchored in each of the four screen corners.
|
|
9
|
+
* - `"aurora"`: 4 organic floating blobs with continuous drift animation for atmospheric ambiance.
|
|
10
|
+
* - `"spotlight"`: 3 centered, layered blobs with an organic pulsating scale animation.
|
|
11
|
+
* - `"nebula"`: 4 orbiting and drifting blobs creating an immersive, fluid cosmic look.
|
|
12
|
+
* - `"horizon"`: 3 bottom-anchored blobs with rising and pulsating motion for footers and page bottoms.
|
|
13
|
+
* - `"spiral"`: 3 blobs following a circular orbiting path for dynamic centerpiece effects.
|
|
14
|
+
*/
|
|
15
|
+
export type RadialGlowDecoratorVariant = "default" | "split" | "top-bar" | "corners" | "aurora" | "spotlight" | "nebula" | "horizon" | "spiral";
|
|
16
|
+
/**
|
|
17
|
+
* Props for the {@link RadialGlowDecorator} component.
|
|
18
|
+
*/
|
|
2
19
|
export interface RadialGlowDecoratorProps {
|
|
3
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Z-index layer depth for the decorator container.
|
|
22
|
+
*
|
|
23
|
+
* @default -10
|
|
24
|
+
*/
|
|
4
25
|
zIndex?: number;
|
|
5
|
-
/** Additional CSS
|
|
26
|
+
/** Additional CSS class names to apply to the decorator container. */
|
|
6
27
|
className?: string;
|
|
7
|
-
/**
|
|
28
|
+
/** Custom inline styles to apply to the decorator container. */
|
|
8
29
|
style?: React.CSSProperties;
|
|
9
|
-
/**
|
|
10
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Predefined layout, blob placement, and animation variant.
|
|
32
|
+
*
|
|
33
|
+
* @default "default"
|
|
34
|
+
*/
|
|
35
|
+
variant?: RadialGlowDecoratorVariant;
|
|
11
36
|
}
|
|
12
|
-
|
|
37
|
+
/**
|
|
38
|
+
* A non-blocking decorative background component that renders smooth, theme-aware radial glow gradients.
|
|
39
|
+
*
|
|
40
|
+
* Layers multiple blurred color blobs to produce premium ambient lighting and background washes.
|
|
41
|
+
* Automatically scales opacities between light and dark modes to ensure visual balance.
|
|
42
|
+
* Spans the full page with `pointer-events: none` and `aria-hidden="true"`, ensuring no interference
|
|
43
|
+
* with user interactions or accessibility trees.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* import { RadialGlowDecorator } from '@adgytec/web-ui-components';
|
|
48
|
+
*
|
|
49
|
+
* // Static multi-color radial gradient
|
|
50
|
+
* <RadialGlowDecorator variant="default" />
|
|
51
|
+
*
|
|
52
|
+
* // Continuous floating aurora animation with custom z-index
|
|
53
|
+
* <RadialGlowDecorator variant="aurora" zIndex={-20} />
|
|
54
|
+
*
|
|
55
|
+
* // Centered pulsating spotlight for hero sections
|
|
56
|
+
* <RadialGlowDecorator variant="spotlight" />
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare const RadialGlowDecorator: React.FC<RadialGlowDecoratorProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as RadialGlowDecorator };
|
|
1
|
+
export { t as RadialGlowDecorator } from "../../../chunks/RadialGlowDecorator";
|
|
@@ -1,2 +1,35 @@
|
|
|
1
1
|
import { ActionDialogProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* A specialized dialog component pre-configured for standard alert, confirmation, and prompt patterns.
|
|
4
|
+
*
|
|
5
|
+
* Features an optional icon, title heading, scrollable body content area, and customizable action buttons.
|
|
6
|
+
* Implements Material Design 3 guidelines for dialog layout alignment (such as centering the header when
|
|
7
|
+
* an icon is provided) and configurable divider placements.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { ActionDialog, Modal, ModalOverlay, Button } from '@adgytec/web-ui-components';
|
|
12
|
+
* import { DialogTrigger } from 'react-aria-components';
|
|
13
|
+
* import { AlertTriangle } from 'lucide-react';
|
|
14
|
+
*
|
|
15
|
+
* <DialogTrigger>
|
|
16
|
+
* <Button color="outlined">Delete Account</Button>
|
|
17
|
+
* <ModalOverlay isDismissable>
|
|
18
|
+
* <Modal>
|
|
19
|
+
* <ActionDialog
|
|
20
|
+
* icon={AlertTriangle}
|
|
21
|
+
* heading="Delete Account"
|
|
22
|
+
* divider="before-actions"
|
|
23
|
+
* actions={[
|
|
24
|
+
* <Button key="cancel" color="text">Cancel</Button>,
|
|
25
|
+
* <Button key="delete">Delete</Button>,
|
|
26
|
+
* ]}
|
|
27
|
+
* >
|
|
28
|
+
* Are you sure you want to delete your account? This action cannot be undone.
|
|
29
|
+
* </ActionDialog>
|
|
30
|
+
* </Modal>
|
|
31
|
+
* </ModalOverlay>
|
|
32
|
+
* </DialogTrigger>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
2
35
|
export declare const ActionDialog: React.FC<ActionDialogProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ActionDialog };
|
|
1
|
+
export { t as ActionDialog } from "../../../chunks/ActionDialog";
|