@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,13 +1,81 @@
|
|
|
1
|
+
import { LucideIcon } from 'lucide-react';
|
|
1
2
|
import { Key } from 'react-aria-components';
|
|
2
3
|
import { ThemeContrast, ThemeMode } from '../../utils';
|
|
3
4
|
import { ThemeContrastTranslations, ThemeModeTranslations } from './types';
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Item representation for a theme mode option.
|
|
7
|
+
*/
|
|
8
|
+
export interface ThemeModeItem {
|
|
5
9
|
id: ThemeMode;
|
|
6
10
|
value: string;
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
icon: LucideIcon;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Item representation for a theme contrast option.
|
|
15
|
+
*/
|
|
16
|
+
export interface ThemeContrastItem {
|
|
9
17
|
id: ThemeContrast;
|
|
10
18
|
value: string;
|
|
11
|
-
}
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Generates an array of theme mode options with translated labels and icons.
|
|
22
|
+
*
|
|
23
|
+
* @param modeDetails - Translations for theme mode labels (`system`, `light`, `dark`).
|
|
24
|
+
* @returns Array of mode items with `id`, localized `value`, and `icon`.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* const items = modeItems({
|
|
29
|
+
* heading: "Theme Mode",
|
|
30
|
+
* system: "System",
|
|
31
|
+
* light: "Light",
|
|
32
|
+
* dark: "Dark",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare const modeItems: (modeDetails: ThemeModeTranslations) => ThemeModeItem[];
|
|
37
|
+
/**
|
|
38
|
+
* Generates an array of theme contrast options with translated labels.
|
|
39
|
+
*
|
|
40
|
+
* @param contrastDetails - Translations for contrast level labels (`standard`, `medium`, `high`).
|
|
41
|
+
* @returns Array of contrast items with `id` and localized `value`.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* const items = contrastItems({
|
|
46
|
+
* heading: "Contrast",
|
|
47
|
+
* standard: "Standard",
|
|
48
|
+
* medium: "Medium",
|
|
49
|
+
* high: "High",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare const contrastItems: (contrastDetails: ThemeContrastTranslations) => ThemeContrastItem[];
|
|
54
|
+
/**
|
|
55
|
+
* Type guard function to check if a React Aria `Key` is a valid {@link ThemeMode}.
|
|
56
|
+
*
|
|
57
|
+
* @param value - The key to test.
|
|
58
|
+
* @returns `true` if `value` is `"system"`, `"dark"`, or `"light"`.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```tsx
|
|
62
|
+
* if (isThemeMode(selectedKey)) {
|
|
63
|
+
* setMode(selectedKey);
|
|
64
|
+
* }
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
12
67
|
export declare function isThemeMode(value: Key): value is ThemeMode;
|
|
68
|
+
/**
|
|
69
|
+
* Type guard function to check if a React Aria `Key` is a valid {@link ThemeContrast}.
|
|
70
|
+
*
|
|
71
|
+
* @param value - The key to test.
|
|
72
|
+
* @returns `true` if `value` is `"standard"`, `"medium"`, or `"high"`.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```tsx
|
|
76
|
+
* if (isThemeContrast(selectedKey)) {
|
|
77
|
+
* setContrast(selectedKey);
|
|
78
|
+
* }
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
13
81
|
export declare function isThemeContrast(value: Key): value is ThemeContrast;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ThemeProvider, t as ThemeSelector };
|
|
1
|
+
export { r as ThemeItem, n as ThemeProvider, t as ThemeSelector, i as contrastItems, a as isThemeContrast, o as isThemeMode, s as modeItems } from "../../chunks/ThemeSelector";
|
|
@@ -1,22 +1,130 @@
|
|
|
1
|
-
|
|
1
|
+
import { ButtonSize, ConnectedButtonGroupColor } from '../Button';
|
|
2
|
+
/**
|
|
3
|
+
* Base translation interface providing a section heading and optional description.
|
|
4
|
+
*/
|
|
5
|
+
export interface ThemeBaseTranslations {
|
|
6
|
+
/**
|
|
7
|
+
* Section title heading text.
|
|
8
|
+
*/
|
|
2
9
|
heading: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional explanatory text describing the setting.
|
|
12
|
+
*/
|
|
3
13
|
description?: string;
|
|
4
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Translations for the Theme Mode section of {@link ThemeSelector}.
|
|
17
|
+
*/
|
|
5
18
|
export interface ThemeModeTranslations extends ThemeBaseTranslations {
|
|
19
|
+
/**
|
|
20
|
+
* Label for the system preference mode.
|
|
21
|
+
*/
|
|
6
22
|
system: string;
|
|
23
|
+
/**
|
|
24
|
+
* Label for the light theme mode.
|
|
25
|
+
*/
|
|
7
26
|
light: string;
|
|
27
|
+
/**
|
|
28
|
+
* Label for the dark theme mode.
|
|
29
|
+
*/
|
|
8
30
|
dark: string;
|
|
9
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Translations for the Theme Contrast section of {@link ThemeSelector}.
|
|
34
|
+
*/
|
|
10
35
|
export interface ThemeContrastTranslations extends ThemeBaseTranslations {
|
|
36
|
+
/**
|
|
37
|
+
* Label for the standard contrast option.
|
|
38
|
+
*/
|
|
11
39
|
standard: string;
|
|
40
|
+
/**
|
|
41
|
+
* Label for the medium contrast option.
|
|
42
|
+
*/
|
|
12
43
|
medium: string;
|
|
44
|
+
/**
|
|
45
|
+
* Label for the high contrast option.
|
|
46
|
+
*/
|
|
13
47
|
high: string;
|
|
14
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Translations for the Monochrome toggle section of {@link ThemeSelector}.
|
|
51
|
+
*/
|
|
15
52
|
export interface ThemeMonochromeTranslations extends ThemeBaseTranslations {
|
|
16
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Props for the {@link ThemeSelector} component.
|
|
56
|
+
* Allows customization and localization of headings, descriptions, and button labels.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```tsx
|
|
60
|
+
* import { ThemeSelector } from "@adgytec/web-ui-components";
|
|
61
|
+
*
|
|
62
|
+
* export function Example() {
|
|
63
|
+
* return (
|
|
64
|
+
* <ThemeSelector
|
|
65
|
+
* modeDetails={{
|
|
66
|
+
* heading: "Appearance",
|
|
67
|
+
* description: "Customize how the app looks.",
|
|
68
|
+
* system: "Auto",
|
|
69
|
+
* light: "Day",
|
|
70
|
+
* dark: "Night",
|
|
71
|
+
* }}
|
|
72
|
+
* />
|
|
73
|
+
* );
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
17
77
|
export type ThemeSelectorProps = {
|
|
78
|
+
/**
|
|
79
|
+
* Custom text and translations for the Theme Mode section.
|
|
80
|
+
*/
|
|
18
81
|
modeDetails?: ThemeModeTranslations;
|
|
82
|
+
/**
|
|
83
|
+
* Custom text and translations for the Theme Contrast section.
|
|
84
|
+
*/
|
|
19
85
|
contrastDetails?: ThemeContrastTranslations;
|
|
86
|
+
/**
|
|
87
|
+
* Custom text and translations for the Monochrome toggle section.
|
|
88
|
+
*/
|
|
20
89
|
monochromeDetails?: ThemeMonochromeTranslations;
|
|
90
|
+
/**
|
|
91
|
+
* Optional custom CSS class name applied to the root container.
|
|
92
|
+
*/
|
|
93
|
+
className?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Color styling variant for the connected button groups.
|
|
96
|
+
*
|
|
97
|
+
* @default "tonal"
|
|
98
|
+
*/
|
|
99
|
+
buttonColor?: ConnectedButtonGroupColor;
|
|
100
|
+
/**
|
|
101
|
+
* Size of the connected button groups.
|
|
102
|
+
*
|
|
103
|
+
* @default "small"
|
|
104
|
+
*/
|
|
105
|
+
buttonSize?: ButtonSize;
|
|
106
|
+
/**
|
|
107
|
+
* Whether to show the Theme Mode selection section.
|
|
108
|
+
*
|
|
109
|
+
* @default true
|
|
110
|
+
*/
|
|
111
|
+
showMode?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Whether to show the Theme Contrast selection section.
|
|
114
|
+
*
|
|
115
|
+
* @default true
|
|
116
|
+
*/
|
|
117
|
+
showContrast?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Whether to show the Monochrome toggle section.
|
|
120
|
+
*
|
|
121
|
+
* @default true
|
|
122
|
+
*/
|
|
123
|
+
showMonochrome?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Whether to render dividers between sections.
|
|
126
|
+
*
|
|
127
|
+
* @default false
|
|
128
|
+
*/
|
|
129
|
+
showDividers?: boolean;
|
|
21
130
|
};
|
|
22
|
-
export {};
|
|
@@ -1,2 +1,49 @@
|
|
|
1
1
|
import { ToolbarProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Container for a set of related action buttons, toggle buttons, and dividers, following
|
|
4
|
+
* [Material 3 Toolbar](https://m3.material.io/) design patterns.
|
|
5
|
+
*
|
|
6
|
+
* Extends React Aria Components `Toolbar` with Material 3 styling and interactive behaviors:
|
|
7
|
+
* - Manages single-tab-stop keyboard navigation across action items using arrow keys.
|
|
8
|
+
* - Supports horizontal and vertical orientations via the `orientation` prop.
|
|
9
|
+
* - Supports docked and elevated floating display variants via `variant`.
|
|
10
|
+
* - Provides `"standard"` (surface container) and `"vibrant"` (primary container) color themes via `color`.
|
|
11
|
+
* - Automatically adjusts button borders, shadows, and colors to seamlessly fit the toolbar surface.
|
|
12
|
+
*
|
|
13
|
+
* Configurable CSS tokens:
|
|
14
|
+
* - `--md-toolbar-background`: Background color of the toolbar.
|
|
15
|
+
* - `--md-toolbar-button-background`: Background color for buttons within the toolbar.
|
|
16
|
+
* - `--md-toolbar-toggle-button-background`: Background color for toggle buttons.
|
|
17
|
+
* - `--md-toolbar-toggle-button-selected-background`: Background color for selected toggle buttons.
|
|
18
|
+
* - `--md-toolbar-button-color`: Text and icon color for buttons within the toolbar.
|
|
19
|
+
* - `--md-toolbar-toggle-button-color`: Text and icon color for toggle buttons within the toolbar.
|
|
20
|
+
* - `--md-toolbar-toggle-button-selected-color`: Text and icon color for selected toggle buttons.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* import {
|
|
25
|
+
* Divider,
|
|
26
|
+
* IconButton,
|
|
27
|
+
* ToggleIconButton,
|
|
28
|
+
* Toolbar,
|
|
29
|
+
* ToolbarToggleButtonGroup,
|
|
30
|
+
* } from "@adgytec/web-ui-components";
|
|
31
|
+
* import { AlignCenter, AlignLeft, AlignRight, Bold, Italic } from "lucide-react";
|
|
32
|
+
*
|
|
33
|
+
* export function EditorToolbar() {
|
|
34
|
+
* return (
|
|
35
|
+
* <Toolbar aria-label="Editor actions" variant="floating">
|
|
36
|
+
* <ToolbarToggleButtonGroup selectionMode="single">
|
|
37
|
+
* <ToggleIconButton id="left" icon={AlignLeft} aria-label="Align left" />
|
|
38
|
+
* <ToggleIconButton id="center" icon={AlignCenter} aria-label="Align center" />
|
|
39
|
+
* <ToggleIconButton id="right" icon={AlignRight} aria-label="Align right" />
|
|
40
|
+
* </ToolbarToggleButtonGroup>
|
|
41
|
+
* <Divider orientation="vertical" />
|
|
42
|
+
* <IconButton icon={Bold} aria-label="Bold" />
|
|
43
|
+
* <IconButton icon={Italic} aria-label="Italic" />
|
|
44
|
+
* </Toolbar>
|
|
45
|
+
* );
|
|
46
|
+
* }
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
2
49
|
export declare const Toolbar: React.FC<ToolbarProps>;
|
|
@@ -1,2 +1,36 @@
|
|
|
1
1
|
import { ToggleButtonGroup } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link ToolbarToggleButtonGroup} component.
|
|
4
|
+
* Extends React Aria Components `ToggleButtonGroup` props.
|
|
5
|
+
*/
|
|
6
|
+
export interface ToolbarToggleButtonGroupProps extends React.ComponentPropsWithRef<typeof ToggleButtonGroup> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Section wrapper for grouping toggle buttons inside a {@link Toolbar}.
|
|
10
|
+
*
|
|
11
|
+
* Extends React Aria Components `ToggleButtonGroup` to arrange grouped toggle buttons
|
|
12
|
+
* (e.g. alignment choices, text format styles) with appropriate toolbar spacing,
|
|
13
|
+
* selection handling, and orientation alignment.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import {
|
|
18
|
+
* ToggleIconButton,
|
|
19
|
+
* Toolbar,
|
|
20
|
+
* ToolbarToggleButtonGroup,
|
|
21
|
+
* } from "@adgytec/web-ui-components";
|
|
22
|
+
* import { Bold, Italic } from "lucide-react";
|
|
23
|
+
*
|
|
24
|
+
* export function Example() {
|
|
25
|
+
* return (
|
|
26
|
+
* <Toolbar aria-label="Text styles">
|
|
27
|
+
* <ToolbarToggleButtonGroup selectionMode="multiple" aria-label="Format">
|
|
28
|
+
* <ToggleIconButton id="bold" icon={Bold} aria-label="Bold" />
|
|
29
|
+
* <ToggleIconButton id="italic" icon={Italic} aria-label="Italic" />
|
|
30
|
+
* </ToolbarToggleButtonGroup>
|
|
31
|
+
* </Toolbar>
|
|
32
|
+
* );
|
|
33
|
+
* }
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare const ToolbarToggleButtonGroup: React.FC<ToolbarToggleButtonGroupProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Toolbar, t as ToolbarToggleButtonGroup };
|
|
1
|
+
export { n as Toolbar, t as ToolbarToggleButtonGroup } from "../../chunks/Toolbar";
|
|
@@ -1,7 +1,67 @@
|
|
|
1
1
|
import { Toolbar } from 'react-aria-components';
|
|
2
|
+
/**
|
|
3
|
+
* Visual variant of the toolbar container.
|
|
4
|
+
*
|
|
5
|
+
* - `"docked"`: Standard toolbar attached or positioned flush without drop shadow.
|
|
6
|
+
* - `"floating"`: Floating toolbar elevated with an elevation shadow (`--md-sys-elevation-shadow-3`).
|
|
7
|
+
*/
|
|
2
8
|
export type ToolbarVariant = "docked" | "floating";
|
|
9
|
+
/**
|
|
10
|
+
* Color scheme applied to the toolbar and its contained controls.
|
|
11
|
+
*
|
|
12
|
+
* - `"standard"`: Neutral theme using surface container tones.
|
|
13
|
+
* - `"vibrant"`: Accent theme using primary container tones.
|
|
14
|
+
*/
|
|
3
15
|
export type ToolbarColor = "standard" | "vibrant";
|
|
16
|
+
/**
|
|
17
|
+
* Props for the {@link Toolbar} component.
|
|
18
|
+
* Extends React Aria Components `Toolbar` props with variant and color options.
|
|
19
|
+
*
|
|
20
|
+
* Usage recommendations:
|
|
21
|
+
* - Use small-sized buttons (e.g. `size="small"` or `IconButton` / `ToggleIconButton`).
|
|
22
|
+
* - For vertical orientation, use `IconButton` or `ToggleIconButton`.
|
|
23
|
+
* - To group toggle buttons, use `ToolbarToggleButtonGroup` instead of standard button groups.
|
|
24
|
+
* - For dividers within horizontal toolbars, use `<Divider orientation="vertical" />`.
|
|
25
|
+
*
|
|
26
|
+
* Configurable CSS tokens:
|
|
27
|
+
* - `--md-toolbar-background`: Background color of the toolbar.
|
|
28
|
+
* - `--md-toolbar-button-background`: Background color for buttons within the toolbar.
|
|
29
|
+
* - `--md-toolbar-toggle-button-background`: Background color for toggle buttons.
|
|
30
|
+
* - `--md-toolbar-toggle-button-selected-background`: Background color for selected toggle buttons.
|
|
31
|
+
* - `--md-toolbar-button-color`: Text and icon color for buttons within the toolbar.
|
|
32
|
+
* - `--md-toolbar-toggle-button-color`: Text and icon color for toggle buttons within the toolbar.
|
|
33
|
+
* - `--md-toolbar-toggle-button-selected-color`: Text and icon color for selected toggle buttons.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* import {
|
|
38
|
+
* IconButton,
|
|
39
|
+
* Toolbar,
|
|
40
|
+
* } from "@adgytec/web-ui-components";
|
|
41
|
+
* import { Bold, Italic, Underline } from "lucide-react";
|
|
42
|
+
*
|
|
43
|
+
* export function Example() {
|
|
44
|
+
* return (
|
|
45
|
+
* <Toolbar aria-label="Text formatting" variant="floating" color="standard">
|
|
46
|
+
* <IconButton icon={Bold} aria-label="Bold" />
|
|
47
|
+
* <IconButton icon={Italic} aria-label="Italic" />
|
|
48
|
+
* <IconButton icon={Underline} aria-label="Underline" />
|
|
49
|
+
* </Toolbar>
|
|
50
|
+
* );
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
4
54
|
export interface ToolbarProps extends React.ComponentPropsWithRef<typeof Toolbar> {
|
|
55
|
+
/**
|
|
56
|
+
* Visual variant of the toolbar.
|
|
57
|
+
*
|
|
58
|
+
* @default "docked"
|
|
59
|
+
*/
|
|
5
60
|
variant?: ToolbarVariant;
|
|
61
|
+
/**
|
|
62
|
+
* Color scheme applied to the toolbar and its child actions.
|
|
63
|
+
*
|
|
64
|
+
* @default "standard"
|
|
65
|
+
*/
|
|
6
66
|
color?: ToolbarColor;
|
|
7
67
|
}
|
|
@@ -1 +1,56 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Props for the {@link RichTooltip} component.
|
|
3
|
+
* Extends standard `HTMLDivElement` attributes.
|
|
4
|
+
*
|
|
5
|
+
* Configurable CSS tokens:
|
|
6
|
+
* - `--md-rich-tooltip-background`: Background color of the rich tooltip (`var(--md-sys-color-surface-container)`).
|
|
7
|
+
* - `--md-rich-tooltip-color`: Text color of the rich tooltip (`var(--md-sys-color-on-surface-variant)`).
|
|
8
|
+
*/
|
|
9
|
+
export interface RichTooltipProps extends React.ComponentPropsWithRef<"div"> {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Container component implementing [Material 3 Rich Tooltips](https://m3.material.io/components/tooltips/overview#89f33800-4f51-4043-9884-219159f427f7).
|
|
13
|
+
*
|
|
14
|
+
* Rich tooltips provide contextual information, descriptive subheads, body copy, and optional actions.
|
|
15
|
+
* Typically rendered inside a `Popover` component triggered by a {@link RichTooltipTrigger}.
|
|
16
|
+
*
|
|
17
|
+
* Configurable CSS tokens:
|
|
18
|
+
* - `--md-rich-tooltip-background`: Background color of the rich tooltip (`var(--md-sys-color-surface-container)`).
|
|
19
|
+
* - `--md-rich-tooltip-color`: Text color of the rich tooltip (`var(--md-sys-color-on-surface-variant)`).
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* import {
|
|
24
|
+
* Button,
|
|
25
|
+
* Popover,
|
|
26
|
+
* RichTooltip,
|
|
27
|
+
* RichTooltipActions,
|
|
28
|
+
* RichTooltipInfo,
|
|
29
|
+
* RichTooltipSubhead,
|
|
30
|
+
* RichTooltipText,
|
|
31
|
+
* RichTooltipTrigger,
|
|
32
|
+
* } from "@adgytec/web-ui-components";
|
|
33
|
+
*
|
|
34
|
+
* export function Example() {
|
|
35
|
+
* return (
|
|
36
|
+
* <RichTooltipTrigger>
|
|
37
|
+
* <Button label="More Info" />
|
|
38
|
+
* <Popover>
|
|
39
|
+
* <RichTooltip>
|
|
40
|
+
* <RichTooltipInfo>
|
|
41
|
+
* <RichTooltipSubhead>Feature Overview</RichTooltipSubhead>
|
|
42
|
+
* <RichTooltipText>
|
|
43
|
+
* Detailed explanation of this feature and its benefits.
|
|
44
|
+
* </RichTooltipText>
|
|
45
|
+
* </RichTooltipInfo>
|
|
46
|
+
* <RichTooltipActions>
|
|
47
|
+
* <Button label="Learn More" size="small" color="text" />
|
|
48
|
+
* </RichTooltipActions>
|
|
49
|
+
* </RichTooltip>
|
|
50
|
+
* </Popover>
|
|
51
|
+
* </RichTooltipTrigger>
|
|
52
|
+
* );
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare const RichTooltip: React.FC<RichTooltipProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as RichTooltip };
|
|
1
|
+
export { t as RichTooltip } from "../../../../chunks/RichTooltip";
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Props for the {@link RichTooltipActions} component.
|
|
3
|
+
* Extends standard `HTMLDivElement` attributes.
|
|
4
|
+
*/
|
|
5
|
+
export interface RichTooltipActionsProps extends React.ComponentPropsWithRef<"div"> {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Action button container for a {@link RichTooltip}.
|
|
9
|
+
*
|
|
10
|
+
* Renders action elements at the bottom of the rich tooltip with proper horizontal alignment and spacing.
|
|
11
|
+
* Recommended to contain buttons with `size="small"` and `color="text"`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* import { Button, RichTooltipActions } from "@adgytec/web-ui-components";
|
|
16
|
+
*
|
|
17
|
+
* export function Example() {
|
|
18
|
+
* return (
|
|
19
|
+
* <RichTooltipActions>
|
|
20
|
+
* <Button label="Dismiss" size="small" color="text" />
|
|
21
|
+
* <Button label="Learn More" size="small" color="text" />
|
|
22
|
+
* </RichTooltipActions>
|
|
23
|
+
* );
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const RichTooltipActions: React.FC<RichTooltipActionsProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as RichTooltipActions };
|
|
1
|
+
export { t as RichTooltipActions } from "../../../../chunks/RichTooltipActions";
|
package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/RichTooltipInfo.d.ts
CHANGED
|
@@ -1 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Props for the {@link RichTooltipInfo} component.
|
|
3
|
+
* Extends standard `HTMLDivElement` attributes.
|
|
4
|
+
*/
|
|
5
|
+
export interface RichTooltipInfoProps extends React.ComponentPropsWithRef<"div"> {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Text content container for a {@link RichTooltip}.
|
|
9
|
+
*
|
|
10
|
+
* Houses the {@link RichTooltipSubhead} title and {@link RichTooltipText} description
|
|
11
|
+
* with proper Material 3 padding and spacing.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* import {
|
|
16
|
+
* RichTooltipInfo,
|
|
17
|
+
* RichTooltipSubhead,
|
|
18
|
+
* RichTooltipText,
|
|
19
|
+
* } from "@adgytec/web-ui-components";
|
|
20
|
+
*
|
|
21
|
+
* export function Example() {
|
|
22
|
+
* return (
|
|
23
|
+
* <RichTooltipInfo>
|
|
24
|
+
* <RichTooltipSubhead>Header Title</RichTooltipSubhead>
|
|
25
|
+
* <RichTooltipText>Informative description goes here.</RichTooltipText>
|
|
26
|
+
* </RichTooltipInfo>
|
|
27
|
+
* );
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare const RichTooltipInfo: React.FC<RichTooltipInfoProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as RichTooltipInfo };
|
|
1
|
+
export { t as RichTooltipInfo } from "../../../../../chunks/RichTooltipInfo";
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
import { Heading } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link RichTooltipSubhead} component.
|
|
4
|
+
* Extends React Aria Components `Heading` props.
|
|
5
|
+
*/
|
|
6
|
+
export interface RichTooltipSubheadProps extends React.ComponentPropsWithRef<typeof Heading> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Heading title component for a {@link RichTooltip}.
|
|
10
|
+
*
|
|
11
|
+
* Extends React Aria Components `Heading` and styles the title text using
|
|
12
|
+
* Material 3 `typography.titleSmall`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* import { RichTooltipSubhead } from "@adgytec/web-ui-components";
|
|
17
|
+
*
|
|
18
|
+
* export function Example() {
|
|
19
|
+
* return <RichTooltipSubhead>New Feature Available</RichTooltipSubhead>;
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare const RichTooltipSubhead: React.FC<RichTooltipSubheadProps>;
|
|
@@ -3,7 +3,7 @@ import { t } from "../../../../../chunks/base";
|
|
|
3
3
|
import n from "clsx";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { Heading as i } from "react-aria-components";
|
|
6
|
-
|
|
6
|
+
// src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.tsx
|
|
7
7
|
var a = e(), o = (e) => {
|
|
8
8
|
let o = (0, a.c)(8), s, c;
|
|
9
9
|
o[0] === e ? (s = o[1], c = o[2]) : ({className: s, ...c} = e, o[0] = e, o[1] = s, o[2] = c);
|
|
@@ -15,7 +15,6 @@ var a = e(), o = (e) => {
|
|
|
15
15
|
...c
|
|
16
16
|
}), o[5] = c, o[6] = l, o[7] = u) : u = o[7], u;
|
|
17
17
|
};
|
|
18
|
-
//#endregion
|
|
19
18
|
export { o as RichTooltipSubhead };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Heading } from \"react-aria-components\";\nimport { typography } from \"@/utils\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","RichTooltipSubhead","$","className","props","t0","t1","typography","t2","Heading"],"sources":["../../../../../../src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Heading } from \"react-aria-components\";\nimport { typography } from \"@/utils\";\n\n/**\n * Props for the {@link RichTooltipSubhead} component.\n * Extends React Aria Components `Heading` props.\n */\nexport interface RichTooltipSubheadProps\n extends React.ComponentPropsWithRef<typeof Heading> {}\n\n/**\n * Heading title component for a {@link RichTooltip}.\n *\n * Extends React Aria Components `Heading` and styles the title text using\n * Material 3 `typography.titleSmall`.\n *\n * @example\n * ```tsx\n * import { RichTooltipSubhead } from \"@adgytec/web-ui-components\";\n *\n * export function Example() {\n * return <RichTooltipSubhead>New Feature Available</RichTooltipSubhead>;\n * }\n * ```\n */\nexport const RichTooltipSubhead: React.FC<RichTooltipSubheadProps> = ({\n className,\n ...props\n}) => {\n return (\n <Heading\n className={clsx(typography.titleSmall, className)}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;A,aA0BaK,KAAwD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGpE,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHqE,eAAA,GAAAE,KAAAC,GAGrE,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAG4D,IAAAD,EAAA,MAAtC,IAAAL,EAAKU,EAAU,YAAaJ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAEnD,OAFmDN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KADrD,IAAA,kBAACG,GAAD;EACe,WAAAH;EAAsC,GAC7CF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAHFM;AAGE"}
|
package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.d.ts
CHANGED
|
@@ -1,2 +1,27 @@
|
|
|
1
1
|
import { Text } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link RichTooltipText} component.
|
|
4
|
+
* Extends React Aria Components `Text` props.
|
|
5
|
+
*/
|
|
6
|
+
export interface RichTooltipTextProps extends React.ComponentPropsWithRef<typeof Text> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Body text component for a {@link RichTooltip}.
|
|
10
|
+
*
|
|
11
|
+
* Extends React Aria Components `Text` and styles the body copy using
|
|
12
|
+
* Material 3 `typography.bodyMedium`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* import { RichTooltipText } from "@adgytec/web-ui-components";
|
|
17
|
+
*
|
|
18
|
+
* export function Example() {
|
|
19
|
+
* return (
|
|
20
|
+
* <RichTooltipText>
|
|
21
|
+
* Rich tooltips provide additional context and details.
|
|
22
|
+
* </RichTooltipText>
|
|
23
|
+
* );
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const RichTooltipText: React.FC<RichTooltipTextProps>;
|
|
@@ -3,7 +3,7 @@ import { t } from "../../../../../chunks/base";
|
|
|
3
3
|
import n from "clsx";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { Text as i } from "react-aria-components";
|
|
6
|
-
|
|
6
|
+
// src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.tsx
|
|
7
7
|
var a = e(), o = (e) => {
|
|
8
8
|
let o = (0, a.c)(8), s, c;
|
|
9
9
|
o[0] === e ? (s = o[1], c = o[2]) : ({className: s, ...c} = e, o[0] = e, o[1] = s, o[2] = c);
|
|
@@ -15,7 +15,6 @@ var a = e(), o = (e) => {
|
|
|
15
15
|
...c
|
|
16
16
|
}), o[5] = c, o[6] = l, o[7] = u) : u = o[7], u;
|
|
17
17
|
};
|
|
18
|
-
//#endregion
|
|
19
18
|
export { o as RichTooltipText };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Text } from \"react-aria-components\";\nimport { typography } from \"@/utils\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","names":["_c","clsx","require_compiler_runtime","clsx$1","import_compiler_runtime","RichTooltipText","$","className","props","t0","t1","typography","t2","Text"],"sources":["../../../../../../src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Text } from \"react-aria-components\";\nimport { typography } from \"@/utils\";\n\n/**\n * Props for the {@link RichTooltipText} component.\n * Extends React Aria Components `Text` props.\n */\nexport interface RichTooltipTextProps\n extends React.ComponentPropsWithRef<typeof Text> {}\n\n/**\n * Body text component for a {@link RichTooltip}.\n *\n * Extends React Aria Components `Text` and styles the body copy using\n * Material 3 `typography.bodyMedium`.\n *\n * @example\n * ```tsx\n * import { RichTooltipText } from \"@adgytec/web-ui-components\";\n *\n * export function Example() {\n * return (\n * <RichTooltipText>\n * Rich tooltips provide additional context and details.\n * </RichTooltipText>\n * );\n * }\n * ```\n */\nexport const RichTooltipText: React.FC<RichTooltipTextProps> = ({\n className,\n ...props\n}) => {\n return (\n <Text className={clsx(typography.bodyMedium, className)} {...props} />\n );\n};\n"],"mappings":";;;;;;A,aA8BaK,KAAkD,MAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAAO,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAG9D,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAH+D,eAAA,GAAAE,KAAAC,GAG/D,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAE8D,IAAAD,EAAA,MAAtC,IAAAL,EAAKU,EAAU,YAAaJ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAAe,OAAfN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAAvD,IAAA,kBAACG,GAAD;EAAiB,WAAAH;EAAsC,GAAMF;CAAK,CAAA,GAAI,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAAtEM;AAAsE"}
|