@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,10 +1,36 @@
|
|
|
1
1
|
import { LucideIcon } from 'lucide-react';
|
|
2
|
-
import {
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
import { Dialog, DialogRenderProps } from 'react-aria-components';
|
|
4
|
+
/**
|
|
5
|
+
* Visual divider placement options for {@link ActionDialog}.
|
|
6
|
+
*
|
|
7
|
+
* - `"none"`: No dividing borders (default).
|
|
8
|
+
* - `"all"`: Dividing borders both below the heading and above the action buttons.
|
|
9
|
+
* - `"after-heading"`: Border directly below the heading.
|
|
10
|
+
* - `"before-actions"`: Border directly above the action buttons.
|
|
11
|
+
*/
|
|
4
12
|
export type ActionDialogDividerPlacement = "none" | "all" | "after-heading" | "before-actions";
|
|
13
|
+
/**
|
|
14
|
+
* Props for the {@link ActionDialog} component.
|
|
15
|
+
* Extends React Aria's `Dialog` props (excluding `className`).
|
|
16
|
+
*/
|
|
5
17
|
export interface ActionDialogProps extends Omit<React.ComponentPropsWithRef<typeof Dialog>, "className"> {
|
|
18
|
+
/** The title text displayed in the dialog header. */
|
|
6
19
|
heading?: string;
|
|
20
|
+
/**
|
|
21
|
+
* An optional icon displayed within the dialog header.
|
|
22
|
+
* When present, header content is centered per Material Design 3 guidelines.
|
|
23
|
+
*/
|
|
7
24
|
icon?: LucideIcon;
|
|
8
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Action elements (typically `Button` components) rendered at the bottom of the dialog.
|
|
27
|
+
* Can be an array of nodes or a render function receiving {@link DialogRenderProps}.
|
|
28
|
+
*/
|
|
29
|
+
actions?: ReactNode[] | ((renderProps: DialogRenderProps) => ReactNode[]);
|
|
30
|
+
/**
|
|
31
|
+
* Placement of dividing borders between header, scrollable body, and action footer.
|
|
32
|
+
*
|
|
33
|
+
* @default "none"
|
|
34
|
+
*/
|
|
9
35
|
divider?: ActionDialogDividerPlacement;
|
|
10
36
|
}
|
|
@@ -1,2 +1,33 @@
|
|
|
1
1
|
import { Dialog as AriaDialog } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link Dialog} component.
|
|
4
|
+
* Extends React Aria's {@link AriaDialog} props.
|
|
5
|
+
*/
|
|
6
|
+
export interface DialogProps extends React.ComponentPropsWithRef<typeof AriaDialog> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A dialog container component implementing Material Design 3 Dialog specifications.
|
|
10
|
+
*
|
|
11
|
+
* Appears in front of application content to present critical alerts, information, or request
|
|
12
|
+
* user confirmation. Provides context to nested elements via {@link DialogContext} and manages
|
|
13
|
+
* focus trapping, accessible labeling (`slot="title"`), and keyboard escape behavior.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import { Dialog, Modal, ModalOverlay, Button } from '@adgytec/web-ui-components';
|
|
18
|
+
* import { DialogTrigger, Heading } from 'react-aria-components';
|
|
19
|
+
*
|
|
20
|
+
* <DialogTrigger>
|
|
21
|
+
* <Button>Open Dialog</Button>
|
|
22
|
+
* <ModalOverlay>
|
|
23
|
+
* <Modal>
|
|
24
|
+
* <Dialog>
|
|
25
|
+
* <Heading slot="title">Discard draft?</Heading>
|
|
26
|
+
* <p>Draft will be permanently removed.</p>
|
|
27
|
+
* </Dialog>
|
|
28
|
+
* </Modal>
|
|
29
|
+
* </ModalOverlay>
|
|
30
|
+
* </DialogTrigger>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare const Dialog: React.FC<DialogProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Dialog };
|
|
1
|
+
export { t as Dialog } from "../../../chunks/Dialog";
|
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
import { Modal as AriaModal } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link Modal} component.
|
|
4
|
+
* Extends React Aria's {@link AriaModal} props.
|
|
5
|
+
*/
|
|
6
|
+
export interface ModalProps extends React.ComponentPropsWithRef<typeof AriaModal> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A modal positioning and transition wrapper for dialogs.
|
|
10
|
+
*
|
|
11
|
+
* Controls entrance and exit animations (such as zoom-in scaling) and centers
|
|
12
|
+
* the enclosed dialog within the viewport or containing overlay.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* import { Modal, ModalOverlay, Dialog } from '@adgytec/web-ui-components';
|
|
17
|
+
*
|
|
18
|
+
* <ModalOverlay isDismissable>
|
|
19
|
+
* <Modal>
|
|
20
|
+
* <Dialog>Modal content goes here</Dialog>
|
|
21
|
+
* </Modal>
|
|
22
|
+
* </ModalOverlay>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare const Modal: React.FC<ModalProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Modal };
|
|
1
|
+
export { t as Modal } from "../../../chunks/Modal";
|
|
@@ -1,2 +1,26 @@
|
|
|
1
1
|
import { ModalOverlay as AriaModalOverlay } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link ModalOverlay} component.
|
|
4
|
+
* Extends React Aria's {@link AriaModalOverlay} props.
|
|
5
|
+
*/
|
|
6
|
+
export interface ModalOverlayProps extends React.ComponentPropsWithRef<typeof AriaModalOverlay> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A scrim backdrop overlay rendered behind modal dialogs.
|
|
10
|
+
*
|
|
11
|
+
* Applies the Material Design 3 backdrop scrim tint (`--md-dialog-overlay`),
|
|
12
|
+
* handles entry/exit fade animations, locks background body scrolling, and can dismiss
|
|
13
|
+
* the dialog on outside click when configured with `isDismissable`.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import { ModalOverlay, Modal, Dialog } from '@adgytec/web-ui-components';
|
|
18
|
+
*
|
|
19
|
+
* <ModalOverlay isDismissable>
|
|
20
|
+
* <Modal>
|
|
21
|
+
* <Dialog>Dialog Content</Dialog>
|
|
22
|
+
* </Modal>
|
|
23
|
+
* </ModalOverlay>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare const ModalOverlay: React.FC<ModalOverlayProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ModalOverlay };
|
|
1
|
+
export { t as ModalOverlay } from "../../../chunks/ModalOverlay";
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Context provided by the {@link Dialog} component to indicate whether children are rendered inside a dialog.
|
|
3
|
+
*/
|
|
1
4
|
export declare const DialogContext: import('react').Context<boolean | null>;
|
|
5
|
+
/**
|
|
6
|
+
* Hook that returns whether the calling component is currently rendered within a {@link Dialog}.
|
|
7
|
+
*
|
|
8
|
+
* @returns `true` if within a Dialog context, otherwise `false`.
|
|
9
|
+
*/
|
|
2
10
|
export declare function useInDialog(): boolean;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { t as e } from "../../../chunks/base";
|
|
2
2
|
import { createContext as t, useContext as n } from "react";
|
|
3
|
-
|
|
3
|
+
// src/components/Dialog/core/context.ts
|
|
4
4
|
var r = t(null);
|
|
5
5
|
function i() {
|
|
6
6
|
return n(r) === !0;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region src/components/Dialog/core/typography.ts
|
|
8
|
+
// src/components/Dialog/core/typography.ts
|
|
10
9
|
var a = 24, o = e.headlineSmall, s = e.bodyMedium;
|
|
11
|
-
//#endregion
|
|
12
10
|
export { s as DialogBodyTypography, r as DialogContext, o as DialogHeadlineTypography, a as DialogIconSize, i as useInDialog };
|
|
13
11
|
|
|
14
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Dialog/core/context.ts","../../../../src/components/Dialog/core/typography.ts"],"sourcesContent":["import { createContext, useContext } from \"react\";\n\nexport const DialogContext = createContext<boolean | null>(null);\n\nexport function useInDialog() {\n return useContext(DialogContext) === true;\n}\n","import { typography } from \"@/utils/typography\";\n\nexport const DialogIconSize = 24;\nexport const DialogHeadlineTypography = typography.headlineSmall;\nexport const DialogBodyTypography = typography.bodyMedium;\n"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","names":["typography","DialogContext","createContext","useInDialog","useContext","DialogIconSize","DialogHeadlineTypography","DialogBodyTypography"],"sources":["../../../../src/components/Dialog/core/context.ts","../../../../src/components/Dialog/core/typography.ts"],"sourcesContent":["import { createContext, useContext } from \"react\";\n\n/**\n * Context provided by the {@link Dialog} component to indicate whether children are rendered inside a dialog.\n */\nexport const DialogContext = createContext<boolean | null>(null);\n\n/**\n * Hook that returns whether the calling component is currently rendered within a {@link Dialog}.\n *\n * @returns `true` if within a Dialog context, otherwise `false`.\n */\nexport function useInDialog() {\n return useContext(DialogContext) === true;\n}\n","import { typography } from \"@/utils/typography\";\n\n/**\n * Standard icon size (in pixels) for icons rendered in a dialog header.\n */\nexport const DialogIconSize = 24;\n\n/**\n * Material Design 3 headline typography class for dialog titles (`headlineSmall`).\n */\nexport const DialogHeadlineTypography = typography.headlineSmall;\n\n/**\n * Material Design 3 body typography class for dialog content (`bodyMedium`).\n */\nexport const DialogBodyTypography = typography.bodyMedium;\n"],"mappings":";;;AAKA,IAAaC,IAAgBC,EAA8B,IAAI;AAO/D,SAAOC,IAAA;CAAA,OACIC,EAAWH,CAAa,MAAM;AAAI;;ACR7C,IAAaI,IAAiB,IAKjBC,IAA2BN,EAAW,eAKtCO,IAAuBP,EAAW"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard icon size (in pixels) for icons rendered in a dialog header.
|
|
3
|
+
*/
|
|
1
4
|
export declare const DialogIconSize = 24;
|
|
5
|
+
/**
|
|
6
|
+
* Material Design 3 headline typography class for dialog titles (`headlineSmall`).
|
|
7
|
+
*/
|
|
2
8
|
export declare const DialogHeadlineTypography: "typography-headline-small";
|
|
9
|
+
/**
|
|
10
|
+
* Material Design 3 body typography class for dialog content (`bodyMedium`).
|
|
11
|
+
*/
|
|
3
12
|
export declare const DialogBodyTypography: "typography-body-medium";
|
|
@@ -1,2 +1,26 @@
|
|
|
1
1
|
import { Disclosure as AriaDisclosure } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link Disclosure} component.
|
|
4
|
+
* Extends React Aria's {@link AriaDisclosure} props.
|
|
5
|
+
*/
|
|
6
|
+
export interface DisclosureProps extends React.ComponentPropsWithRef<typeof AriaDisclosure> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* An expandable section component implementing Material Design 3 disclosure/accordion item behavior.
|
|
10
|
+
*
|
|
11
|
+
* Controls showing and hiding associated content based on user interaction with its {@link DisclosureHeader}.
|
|
12
|
+
* Manages open/collapsed state, accessible ARIA attributes (`aria-expanded`, `aria-controls`), and keyboard navigation.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* import { Disclosure, DisclosureHeader, DisclosurePanel } from '@adgytec/web-ui-components';
|
|
17
|
+
*
|
|
18
|
+
* <Disclosure>
|
|
19
|
+
* <DisclosureHeader>Collapsible Section</DisclosureHeader>
|
|
20
|
+
* <DisclosurePanel>
|
|
21
|
+
* Detailed information displayed when expanded.
|
|
22
|
+
* </DisclosurePanel>
|
|
23
|
+
* </Disclosure>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare const Disclosure: React.FC<DisclosureProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Disclosure };
|
|
1
|
+
export { t as Disclosure } from "../../../chunks/Disclosure";
|
|
@@ -1,6 +1,54 @@
|
|
|
1
1
|
import { DisclosureGroup as AriaDisclosureGroup } from 'react-aria-components';
|
|
2
2
|
import { Typography } from '../../../utils';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Props for the {@link DisclosureGroup} component.
|
|
5
|
+
* Extends React Aria's {@link AriaDisclosureGroup} props.
|
|
6
|
+
*/
|
|
7
|
+
export interface DisclosureGroupProps extends React.ComponentPropsWithRef<typeof AriaDisclosureGroup> {
|
|
8
|
+
/**
|
|
9
|
+
* Default typography style applied to all {@link DisclosureHeader} labels within the group.
|
|
10
|
+
*
|
|
11
|
+
* @default typography.titleMediumEmphasized
|
|
12
|
+
*/
|
|
4
13
|
labelTypography?: Typography;
|
|
14
|
+
/**
|
|
15
|
+
* Default typography style applied to all {@link DisclosurePanel} bodies within the group.
|
|
16
|
+
*
|
|
17
|
+
* @default typography.bodyLarge
|
|
18
|
+
*/
|
|
5
19
|
panelTypography?: Typography;
|
|
6
|
-
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* An accordion grouping container for managing multiple related {@link Disclosure} sections.
|
|
23
|
+
*
|
|
24
|
+
* Supports single or multi-expansion modes via React Aria props (`allowsMultipleExpanded`),
|
|
25
|
+
* coordinates keyboard navigation between items, and provides shared typography tokens
|
|
26
|
+
* to all descendant disclosure headers and panels.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* import {
|
|
31
|
+
* DisclosureGroup,
|
|
32
|
+
* Disclosure,
|
|
33
|
+
* DisclosureHeader,
|
|
34
|
+
* DisclosurePanel,
|
|
35
|
+
* typography
|
|
36
|
+
* } from '@adgytec/web-ui-components';
|
|
37
|
+
*
|
|
38
|
+
* <DisclosureGroup
|
|
39
|
+
* allowsMultipleExpanded
|
|
40
|
+
* labelTypography={typography.titleMedium}
|
|
41
|
+
* panelTypography={typography.bodyMedium}
|
|
42
|
+
* >
|
|
43
|
+
* <Disclosure id="step-1">
|
|
44
|
+
* <DisclosureHeader>Step 1: Account Info</DisclosureHeader>
|
|
45
|
+
* <DisclosurePanel>Enter your username and password.</DisclosurePanel>
|
|
46
|
+
* </Disclosure>
|
|
47
|
+
* <Disclosure id="step-2">
|
|
48
|
+
* <DisclosureHeader>Step 2: Profile Details</DisclosureHeader>
|
|
49
|
+
* <DisclosurePanel>Upload an avatar and bio.</DisclosurePanel>
|
|
50
|
+
* </Disclosure>
|
|
51
|
+
* </DisclosureGroup>
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare const DisclosureGroup: React.FC<DisclosureGroupProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as DisclosureGroup };
|
|
1
|
+
export { t as DisclosureGroup } from "../../../chunks/DisclosureGroup";
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
import { Heading } from 'react-aria-components';
|
|
2
2
|
import { Typography } from '../../../utils';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Props for the {@link DisclosureHeader} component.
|
|
5
|
+
* Extends React Aria's {@link Heading} props.
|
|
6
|
+
*/
|
|
7
|
+
export interface DisclosureHeaderProps extends React.ComponentPropsWithRef<typeof Heading> {
|
|
8
|
+
/**
|
|
9
|
+
* Custom typography style for the disclosure header label.
|
|
10
|
+
* Overrides the default or group-level typography.
|
|
11
|
+
*
|
|
12
|
+
* @default typography.titleMediumEmphasized
|
|
13
|
+
*/
|
|
4
14
|
labelTypography?: Typography;
|
|
5
|
-
}
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The interactive header that toggles expansion of a {@link Disclosure} component.
|
|
18
|
+
*
|
|
19
|
+
* Renders a semantic heading enclosing an accessible button trigger equipped with an expanding
|
|
20
|
+
* chevron indicator icon and Material Design touch ripple feedback.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* import { Disclosure, DisclosureHeader, DisclosurePanel, typography } from '@adgytec/web-ui-components';
|
|
25
|
+
*
|
|
26
|
+
* <Disclosure>
|
|
27
|
+
* <DisclosureHeader labelTypography={typography.titleLarge}>
|
|
28
|
+
* Section Title
|
|
29
|
+
* </DisclosureHeader>
|
|
30
|
+
* <DisclosurePanel>Section Content</DisclosurePanel>
|
|
31
|
+
* </Disclosure>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare const DisclosureHeader: React.FC<DisclosureHeaderProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as DisclosureHeader };
|
|
1
|
+
export { t as DisclosureHeader } from "../../../chunks/DisclosureHeader";
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
import { DisclosurePanel as AriaDisclosurePanel } from 'react-aria-components';
|
|
2
2
|
import { Typography } from '../../../utils';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Props for the {@link DisclosurePanel} component.
|
|
5
|
+
* Extends React Aria's {@link AriaDisclosurePanel} props.
|
|
6
|
+
*/
|
|
7
|
+
export interface DisclosurePanelProps extends React.ComponentPropsWithRef<typeof AriaDisclosurePanel> {
|
|
8
|
+
/**
|
|
9
|
+
* Custom typography style for the disclosure panel content.
|
|
10
|
+
* Overrides the default or group-level typography.
|
|
11
|
+
*
|
|
12
|
+
* @default typography.bodyLarge
|
|
13
|
+
*/
|
|
4
14
|
panelTypography?: Typography;
|
|
5
|
-
}
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The collapsible content container displayed when a {@link Disclosure} is expanded.
|
|
18
|
+
*
|
|
19
|
+
* Automatically manages visibility, smooth collapse/expand layout transitions,
|
|
20
|
+
* and inherited or customized typography.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* import { Disclosure, DisclosureHeader, DisclosurePanel, typography } from '@adgytec/web-ui-components';
|
|
25
|
+
*
|
|
26
|
+
* <Disclosure>
|
|
27
|
+
* <DisclosureHeader>FAQ Question</DisclosureHeader>
|
|
28
|
+
* <DisclosurePanel panelTypography={typography.bodyMedium}>
|
|
29
|
+
* Answer text explaining details in depth.
|
|
30
|
+
* </DisclosurePanel>
|
|
31
|
+
* </Disclosure>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare const DisclosurePanel: React.FC<DisclosurePanelProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as DisclosurePanel };
|
|
1
|
+
export { t as DisclosurePanel } from "../../../chunks/DisclosurePanel";
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { Typography } from '../../../utils';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Context value providing inherited typography styles for disclosure components within a group.
|
|
4
|
+
*/
|
|
5
|
+
export interface DisclosureTypographyContextValue {
|
|
6
|
+
/** Typography applied to {@link DisclosureHeader} labels. */
|
|
3
7
|
label?: Typography;
|
|
8
|
+
/** Typography applied to {@link DisclosurePanel} content. */
|
|
4
9
|
panel?: Typography;
|
|
5
|
-
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* React Context used by {@link DisclosureGroup} to pass typography settings down to nested
|
|
13
|
+
* {@link DisclosureHeader} and {@link DisclosurePanel} components.
|
|
14
|
+
*/
|
|
6
15
|
export declare const DisclosureTypographyContext: import('react').Context<DisclosureTypographyContextValue>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../../../chunks/compiler-runtime";
|
|
2
2
|
import { t } from "../../../chunks/base";
|
|
3
3
|
import { createContext as n, useContext as r } from "react";
|
|
4
|
-
|
|
4
|
+
// src/components/Disclosure/context/context.ts
|
|
5
5
|
var i = n({}), a = e();
|
|
6
6
|
function o(e) {
|
|
7
7
|
let n = (0, a.c)(3), { label: o, panel: s } = e, { label: c, panel: l } = r(i), u = o ?? c ?? t.titleMediumEmphasized, d = s ?? l ?? t.bodyLarge, f;
|
|
@@ -10,7 +10,6 @@ function o(e) {
|
|
|
10
10
|
panel: d
|
|
11
11
|
}, n[0] = u, n[1] = d, n[2] = f) : f = n[2], f;
|
|
12
12
|
}
|
|
13
|
-
//#endregion
|
|
14
13
|
export { i as DisclosureTypographyContext, o as useDisclosureTypographyContext };
|
|
15
14
|
|
|
16
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Disclosure/context/context.ts","../../../../src/components/Disclosure/context/useDisclosureTypographyContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { Typography } from \"@/utils\";\n\nexport
|
|
1
|
+
{"version":3,"file":"index.js","names":["_c","require_compiler_runtime","DisclosureTypographyContext","createContext","import_compiler_runtime","useDisclosureTypographyContext","$","t0","groupLabel","groupPanel","useContext","labelTypography","label","typography","panelTypography","panel","t1"],"sources":["../../../../src/components/Disclosure/context/context.ts","../../../../src/components/Disclosure/context/useDisclosureTypographyContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { Typography } from \"@/utils\";\n\n/**\n * Context value providing inherited typography styles for disclosure components within a group.\n */\nexport interface DisclosureTypographyContextValue {\n /** Typography applied to {@link DisclosureHeader} labels. */\n label?: Typography;\n /** Typography applied to {@link DisclosurePanel} content. */\n panel?: Typography;\n}\n\n/**\n * React Context used by {@link DisclosureGroup} to pass typography settings down to nested\n * {@link DisclosureHeader} and {@link DisclosurePanel} components.\n */\nexport const DisclosureTypographyContext =\n createContext<DisclosureTypographyContextValue>({});\n","import { useContext } from \"react\";\nimport { type Typography, typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"./context\";\n\n/**\n * Parameters for the {@link useDisclosureTypographyContext} hook.\n */\nexport interface UseDisclosureTypographyContextProps {\n /** Optional label typography override passed directly to the component. */\n label?: Typography;\n /** Optional panel typography override passed directly to the component. */\n panel?: Typography;\n}\n\n/**\n * Resolves the active typography styles for disclosure headers and panels.\n *\n * Checks explicit component props first, then falls back to inherited values from\n * an enclosing {@link DisclosureGroup}, and finally defaults to Material 3 standard\n * typography (`typography.titleMediumEmphasized` for labels, `typography.bodyLarge` for panels).\n *\n * @param props - Explicit typography overrides from component props.\n * @returns An object containing resolved `label` and `panel` typography classes.\n */\nexport function useDisclosureTypographyContext({\n label,\n panel,\n}: UseDisclosureTypographyContextProps) {\n const { label: groupLabel, panel: groupPanel } = useContext(\n DisclosureTypographyContext\n );\n\n const labelTypography =\n label ?? groupLabel ?? typography.titleMediumEmphasized;\n const panelTypography = panel ?? groupPanel ?? typography.bodyLarge;\n\n return { label: labelTypography, panel: panelTypography };\n}\n"],"mappings":";;;;AAiBA,IAAaE,IACTC,EAAgD,CAAC,CAAC,G;ACMtD,SAAOE,EAAA,GAAA;CAAA,IAAAC,KAAA,GAAAN,EAAAA,EAAAA,CAAA,CAAA,GAAwC,EAAA,UAAA,aAAAO,GAI3C,EAAA,OAAAC,GAAA,OAAAC,MAAiDC,EAC7CR,CACJ,GAEAS,IACIC,KAAAJ,KAAuBK,EAAU,uBACrCC,IAAwBC,KAAAN,KAAuBI,EAAU,WAAWG;CAEX,OAFWV,EAAA,OAAAK,KAAAL,EAAA,OAAAQ,KAE7D,IAAA;EAAA,OAASH;EAAe,OAASG;CAAgB,GAAC,EAAA,KAAAH,GAAA,EAAA,KAAAG,GAAA,EAAA,KAAAE,KAAA,IAAAV,EAAA,IAAlDU;AAAkD"}
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import { Typography } from '../../../utils';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Parameters for the {@link useDisclosureTypographyContext} hook.
|
|
4
|
+
*/
|
|
5
|
+
export interface UseDisclosureTypographyContextProps {
|
|
6
|
+
/** Optional label typography override passed directly to the component. */
|
|
3
7
|
label?: Typography;
|
|
8
|
+
/** Optional panel typography override passed directly to the component. */
|
|
4
9
|
panel?: Typography;
|
|
5
|
-
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Resolves the active typography styles for disclosure headers and panels.
|
|
13
|
+
*
|
|
14
|
+
* Checks explicit component props first, then falls back to inherited values from
|
|
15
|
+
* an enclosing {@link DisclosureGroup}, and finally defaults to Material 3 standard
|
|
16
|
+
* typography (`typography.titleMediumEmphasized` for labels, `typography.bodyLarge` for panels).
|
|
17
|
+
*
|
|
18
|
+
* @param props - Explicit typography overrides from component props.
|
|
19
|
+
* @returns An object containing resolved `label` and `panel` typography classes.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useDisclosureTypographyContext({ label, panel, }: UseDisclosureTypographyContextProps): {
|
|
6
22
|
label: Typography;
|
|
7
23
|
panel: Typography;
|
|
8
24
|
};
|
|
@@ -1,2 +1,31 @@
|
|
|
1
1
|
import { Separator } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link Divider} component.
|
|
4
|
+
* Extends React Aria's {@link Separator} props, supporting orientation (`"horizontal"` or `"vertical"`),
|
|
5
|
+
* element tag selection (`elementType`), and standard HTML attributes.
|
|
6
|
+
*/
|
|
7
|
+
export interface DividerProps extends React.ComponentPropsWithRef<typeof Separator> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A thin horizontal or vertical line component implementing Material Design 3 Divider guidelines.
|
|
11
|
+
*
|
|
12
|
+
* Dividers separate, group, and structure content within lists and layouts. Built on top of
|
|
13
|
+
* React Aria's {@link Separator}, it ensures correct accessibility roles (`role="separator"`,
|
|
14
|
+
* `aria-orientation`) and adapts dynamically to configurable CSS tokens (`--md-divider-color`).
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* import { Divider } from '@adgytec/web-ui-components';
|
|
19
|
+
*
|
|
20
|
+
* // Standard horizontal divider
|
|
21
|
+
* <Divider />
|
|
22
|
+
*
|
|
23
|
+
* // Vertical separator between inline elements
|
|
24
|
+
* <div style={{ display: 'flex', height: '24px', alignItems: 'center' }}>
|
|
25
|
+
* <span>Left Item</span>
|
|
26
|
+
* <Divider orientation="vertical" />
|
|
27
|
+
* <span>Right Item</span>
|
|
28
|
+
* </div>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare const Divider: React.FC<DividerProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Divider };
|
|
1
|
+
export { t as Divider } from "../../chunks/Divider";
|
|
@@ -1,2 +1,31 @@
|
|
|
1
1
|
import { IconProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* A standardized icon wrapper component implementing Material Design 3 icon sizing guidelines.
|
|
4
|
+
*
|
|
5
|
+
* Wraps `lucide-react` icons to enforce consistent sizing via predefined size tokens
|
|
6
|
+
* (`"dense"`, `"standard"`, `"medium"`, `"large"`, `"extra-large"`), custom numeric pixel values,
|
|
7
|
+
* or proportional `1em` inline text scaling via `withText`.
|
|
8
|
+
*
|
|
9
|
+
* @see https://m3.material.io/styles/icons/applying-icons
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* import { Icon } from '@adgytec/web-ui-components';
|
|
14
|
+
* import { Settings, AlertTriangle } from 'lucide-react';
|
|
15
|
+
*
|
|
16
|
+
* // Standard 24px icon (default)
|
|
17
|
+
* <Icon icon={Settings} />
|
|
18
|
+
*
|
|
19
|
+
* // Large preset icon
|
|
20
|
+
* <Icon icon={Settings} size="large" />
|
|
21
|
+
*
|
|
22
|
+
* // Explicit numeric pixel dimension
|
|
23
|
+
* <Icon icon={AlertTriangle} size={36} />
|
|
24
|
+
*
|
|
25
|
+
* // Inline with typography (scales to 1em)
|
|
26
|
+
* <h2>
|
|
27
|
+
* <Icon icon={Settings} withText /> Account Settings
|
|
28
|
+
* </h2>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
2
31
|
export declare const Icon: React.FC<IconProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Icon };
|
|
1
|
+
export { t as Icon } from "../../chunks/Icon";
|
|
@@ -1,7 +1,35 @@
|
|
|
1
1
|
import { LucideIcon } from 'lucide-react';
|
|
2
|
+
/**
|
|
3
|
+
* Predefined icon size presets aligning with Material Design 3 icon specifications.
|
|
4
|
+
*
|
|
5
|
+
* - `"dense"`: Compact size (`--md-sys-icon-dense`, typically 18px).
|
|
6
|
+
* - `"standard"`: Default body icon size (`--md-sys-icon-standard`, typically 24px).
|
|
7
|
+
* - `"medium"`: Medium accent size (`--md-sys-icon-medium`, typically 32px).
|
|
8
|
+
* - `"large"`: Large hero or feature size (`--md-sys-icon-large`, typically 40px).
|
|
9
|
+
* - `"extra-large"`: Extra large display size (`--md-sys-icon-extra-large`, typically 48px).
|
|
10
|
+
*/
|
|
2
11
|
export type IconSize = "dense" | "standard" | "medium" | "large" | "extra-large";
|
|
12
|
+
/**
|
|
13
|
+
* Props for the {@link Icon} component.
|
|
14
|
+
* Extends Lucide SVG props while overriding `size` to support design system presets or pixel values.
|
|
15
|
+
*/
|
|
3
16
|
export interface IconProps extends Omit<React.ComponentPropsWithRef<LucideIcon>, "size"> {
|
|
17
|
+
/**
|
|
18
|
+
* The Lucide icon component to render.
|
|
19
|
+
*/
|
|
4
20
|
icon: LucideIcon;
|
|
21
|
+
/**
|
|
22
|
+
* The size of the icon. Accepts a predefined design system preset or an exact numeric pixel value.
|
|
23
|
+
* Note: Ignored when {@link withText} is `true`.
|
|
24
|
+
*
|
|
25
|
+
* @default "standard"
|
|
26
|
+
*/
|
|
5
27
|
size?: IconSize | number;
|
|
28
|
+
/**
|
|
29
|
+
* When `true`, dimensions are set to `1em` by `1em`, allowing the icon to scale dynamically
|
|
30
|
+
* with the font size of the surrounding text or typography element.
|
|
31
|
+
*
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
6
34
|
withText?: boolean;
|
|
7
35
|
}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { RefProp } from '../../../utils';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Props for the {@link CharacterCount} component.
|
|
4
|
+
*/
|
|
5
|
+
export interface CharacterCountProps extends RefProp<"span"> {
|
|
6
|
+
/** Current character count. */
|
|
3
7
|
count: number;
|
|
8
|
+
/** Optional maximum allowed character limit. */
|
|
4
9
|
maxLength?: number;
|
|
5
|
-
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Displays the current character count and optional maximum character limit below text inputs.
|
|
13
|
+
*/
|
|
14
|
+
export declare const CharacterCount: React.FC<CharacterCountProps>;
|
|
@@ -3,7 +3,7 @@ import { t } from "../../../chunks/base";
|
|
|
3
3
|
import { t as n } from "../../../chunks/core4";
|
|
4
4
|
import r from "clsx";
|
|
5
5
|
import { jsxs as i } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/Input/CharacterCount/CharacterCount.tsx
|
|
7
7
|
var a = e(), o = (e) => {
|
|
8
8
|
let o = (0, a.c)(9), s, c, l;
|
|
9
9
|
o[0] === e ? (s = o[1], c = o[2], l = o[3]) : ({count: s, maxLength: c, ...l} = e, o[0] = e, o[1] = s, o[2] = c, o[3] = l);
|
|
@@ -16,7 +16,6 @@ var a = e(), o = (e) => {
|
|
|
16
16
|
children: [s, d]
|
|
17
17
|
}), o[5] = s, o[6] = l, o[7] = d, o[8] = f) : f = o[8], f;
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { o as CharacterCount };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["count"],"sources":["../../../../src/components/Input/CharacterCount/CharacterCount.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { type RefProp, typography } from \"@/utils\";\nimport { CharacterCountStyles } from \"../core\";\n\
|
|
1
|
+
{"version":3,"file":"index.js","names":["count","_c","clsx","require_compiler_runtime","CharacterCountStyles","clsx$1","import_compiler_runtime","CharacterCount","$","count","maxLength","props","t0","t1","typography","t2","t3"],"sources":["../../../../src/components/Input/CharacterCount/CharacterCount.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { type RefProp, typography } from \"@/utils\";\nimport { CharacterCountStyles } from \"../core\";\n\n/**\n * Props for the {@link CharacterCount} component.\n */\nexport interface CharacterCountProps extends RefProp<\"span\"> {\n /** Current character count. */\n count: number;\n /** Optional maximum allowed character limit. */\n maxLength?: number;\n}\n\n/**\n * Displays the current character count and optional maximum character limit below text inputs.\n */\nexport const CharacterCount: React.FC<CharacterCountProps> = ({\n count,\n maxLength,\n ...props\n}) => {\n return (\n <span\n className={clsx(CharacterCountStyles, typography.labelMedium)}\n {...props}\n >\n {count}\n {maxLength !== undefined && `/${maxLength}`}\n </span>\n );\n};\n"],"mappings":";;;;;;A,aAiBaO,KAAgD,MAAA;CAAA,IAAAC,KAAA,GAAAP,EAAAA,EAAAA,CAAA,CAAA,GAAAQ,GAAAC,GAAAC;CAAA,AAAAH,EAAA,OAAAI,KAI5D,IAAAJ,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAJ6D,yBAAA,GAAAG,KAAAC,GAI7D,EAAA,KAAAA,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAL,EAAA,OAAA,OAAA,IAAA,2BAAA,KAGsB,IAAAN,EAAKE,GAAsBU,EAAU,WAAY,GAAC,EAAA,KAAAD,KAAA,IAAAL,EAAA;CAI5D,IAAAO,IAAAL,MAAc,KAAA,KAAd,IAA+BA,KAAWM;CACxC,OADwCR,EAAA,OAAAC,KAAAD,EAAA,OAAAG,KAAAH,EAAA,OAAAO,KAL/C,IAAA,kBAAA,QAAA;EACe,WAAAF;EAAkD,GACzDF;EAFR,UAAA,CAIKF,GACAM,CACE;C,IAAA,EAAA,KAAAN,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAI,GAAA,EAAA,KAAAC,KAAA,IAAAR,EAAA,IANPQ;AAMO"}
|