@adgytec/adgytec-web-ui-components 2.3.1 → 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 +0 -1
- package/dist/assets/BottomSheetModal.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/Radio.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 +0 -1
- 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 +2 -11
- 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 +0 -1
- package/dist/chunks/CalendarCell.map +1 -1
- package/dist/chunks/CalendarGrid +1 -2
- package/dist/chunks/CalendarGrid.map +1 -1
- package/dist/chunks/CalendarMenuItem +1 -2
- 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 +182 -200
- package/dist/chunks/ComboBoxTrigger.map +1 -1
- package/dist/chunks/ConnectedButtonGroup +0 -1
- 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 +4 -8
- package/dist/chunks/Input2.map +1 -1
- package/dist/chunks/ListAction +0 -1
- package/dist/chunks/ListAction.map +1 -1
- 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 +1 -2
- package/dist/chunks/ListTrailingText.map +1 -1
- 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 +2 -4
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- package/dist/chunks/SplitButton.map +1 -1
- package/dist/chunks/SplitButtonTrigger +1 -2
- 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 +109 -85
- 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/compiler-runtime +2 -3
- package/dist/chunks/context +1 -2
- package/dist/chunks/core +3 -6
- 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 +9 -10
- 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/useHover +187 -225
- package/dist/chunks/useHover.map +1 -1
- package/dist/chunks/useSplash +1 -2
- package/dist/chunks/useSplash.map +1 -1
- package/dist/components/AppBar/AppBar/index.js +1 -2
- package/dist/components/AppBar/AppBarAction/index.js +1 -2
- package/dist/components/AppBar/AppBarAvatar/index.js +1 -2
- package/dist/components/AppBar/AppBarHeadline/index.js +1 -2
- package/dist/components/AppBar/AppBarState/index.js +2 -4
- package/dist/components/AppBar/AppBarState/index.js.map +1 -1
- package/dist/components/AppBar/core/index.js +2 -4
- package/dist/components/AppBar/core/index.js.map +1 -1
- package/dist/components/Button/Button/index.js +1 -2
- package/dist/components/Button/Button/index.js.map +1 -1
- package/dist/components/Button/ButtonGroups/ButtonGroup/index.js +1 -2
- 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/ConnectedButton/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/index.js +1 -2
- package/dist/components/Button/IconButton/index.js +1 -2
- package/dist/components/Button/LinkButton/index.js +1 -2
- package/dist/components/Button/LinkButton/index.js.map +1 -1
- package/dist/components/Button/LinkIconButton/index.js +1 -2
- package/dist/components/Button/SplitButton/SplitButton/index.js +1 -2
- 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/SplitButtonPrimary/index.js +1 -2
- package/dist/components/Button/SplitButton/SplitButtonTrigger/index.js +1 -2
- package/dist/components/Button/SplitButton/core/index.js +1 -2
- package/dist/components/Button/ToggleButton/index.js +1 -2
- package/dist/components/Button/ToggleButton/index.js.map +1 -1
- package/dist/components/Button/ToggleIconButton/index.js +1 -2
- package/dist/components/Button/core/index.js +1 -2
- package/dist/components/Calendar/BaseCalendar/index.js +1 -2
- package/dist/components/Calendar/Calendar/index.js +1 -2
- package/dist/components/Calendar/Calendar/index.js.map +1 -1
- package/dist/components/Calendar/CalendarCell/index.js +1 -2
- package/dist/components/Calendar/CalendarGrid/index.js +1 -2
- package/dist/components/Calendar/CalendarMenuItem/index.js +1 -2
- package/dist/components/Calendar/CalendarMonthMenu/index.js +1 -2
- package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
- package/dist/components/Calendar/CalendarYearMenu/index.js +1 -2
- package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
- package/dist/components/Calendar/RangeCalendar/index.js +1 -2
- package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
- package/dist/components/Calendar/core/index.js +1 -2
- package/dist/components/Card/CardIcon/index.js +1 -2
- package/dist/components/Decorators/GridBackgroundDecorator/index.js +1 -2
- package/dist/components/Decorators/RadialGlowDecorator/index.js +1 -2
- package/dist/components/Dialog/ActionDialog/index.js +1 -2
- package/dist/components/Dialog/Dialog/index.js +1 -2
- package/dist/components/Dialog/Modal/index.js +1 -2
- package/dist/components/Dialog/ModalOverlay/index.js +1 -2
- package/dist/components/Dialog/core/index.js +2 -4
- package/dist/components/Dialog/core/index.js.map +1 -1
- package/dist/components/Disclosure/Disclosure/index.js +1 -2
- package/dist/components/Disclosure/DisclosureGroup/index.js +1 -2
- package/dist/components/Disclosure/DisclosureHeader/index.js +1 -2
- package/dist/components/Disclosure/DisclosurePanel/index.js +1 -2
- package/dist/components/Disclosure/context/index.js +1 -2
- package/dist/components/Disclosure/context/index.js.map +1 -1
- package/dist/components/Divider/index.js +1 -2
- package/dist/components/Icon/index.js +1 -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 +14 -3
- package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +3 -3
- package/dist/components/Input/Checkbox/context.d.ts +2 -4
- package/dist/components/Input/Checkbox/types.d.ts +11 -26
- package/dist/components/Input/DateField/index.js +1 -2
- package/dist/components/Input/DatePicker/DatePicker/index.js +1 -2
- package/dist/components/Input/DatePicker/DateRangePicker/index.js +1 -2
- package/dist/components/Input/DatePicker/core/index.js +1 -2
- package/dist/components/Input/Description/index.js +1 -2
- package/dist/components/Input/Description/index.js.map +1 -1
- package/dist/components/Input/FieldError/index.js +1 -2
- package/dist/components/Input/Input/index.js +1 -2
- 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 +5 -4
- package/dist/components/Input/Radio/RadioGroup.d.ts +2 -2
- package/dist/components/Input/Radio/context.d.ts +2 -4
- package/dist/components/Input/Radio/index.js +1 -2
- package/dist/components/Input/Radio/types.d.ts +11 -25
- package/dist/components/Input/SearchField/index.js +1 -2
- package/dist/components/Input/Select/ComboBox/index.js +1 -2
- package/dist/components/Input/Select/ComboBoxPopover/index.js +1 -2
- package/dist/components/Input/Select/ComboBoxTrigger/index.js +1 -2
- package/dist/components/Input/Select/Select/index.js +1 -2
- package/dist/components/Input/Select/SelectItem/index.js +1 -2
- package/dist/components/Input/Select/SelectList/index.js +1 -2
- 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/index.js +1 -2
- package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
- package/dist/components/Input/Select/SelectPopover/index.js +1 -2
- package/dist/components/Input/Select/SelectTrigger/index.js +1 -2
- package/dist/components/Input/Slider/CenteredSlider/index.js +1 -2
- package/dist/components/Input/Slider/CenteredSlider/types.d.ts +1 -1
- package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +1 -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 +1 -1
- package/dist/components/Input/Slider/Slider/Slider.d.ts +1 -1
- package/dist/components/Input/Slider/Slider/index.js +1 -2
- package/dist/components/Input/Slider/Slider/types.d.ts +1 -1
- package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +2 -2
- package/dist/components/Input/Slider/SliderOutput/index.js +1 -2
- package/dist/components/Input/Slider/SliderStops/index.js +1 -2
- package/dist/components/Input/Slider/SliderStops/types.d.ts +1 -1
- package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +2 -2
- package/dist/components/Input/Slider/SliderThumb/context.d.ts +2 -2
- package/dist/components/Input/Slider/SliderThumb/index.js +1 -2
- package/dist/components/Input/Slider/core/index.js +1 -2
- package/dist/components/Input/Slider/core/slider.d.ts +3 -3
- package/dist/components/Input/Switch/Switch.d.ts +20 -3
- package/dist/components/Input/Switch/index.js +1 -2
- package/dist/components/Input/Switch/types.d.ts +11 -12
- package/dist/components/Input/TextArea/index.js +1 -2
- package/dist/components/Input/TimeField/index.js +1 -2
- package/dist/components/Input/core/index.js +1 -2
- package/dist/components/Input/hooks/index.js +1 -2
- package/dist/components/List/ListAction/ListAction.d.ts +2 -2
- package/dist/components/List/ListAction/index.js +1 -2
- package/dist/components/List/ListAvatar/ListAvatar.d.ts +2 -2
- package/dist/components/List/ListAvatar/index.js +1 -2
- package/dist/components/List/ListBox/ListBox.d.ts +3 -3
- package/dist/components/List/ListBox/index.js +1 -2
- package/dist/components/List/ListBox/types.d.ts +14 -2
- package/dist/components/List/ListIcon/ListIcon.d.ts +2 -2
- package/dist/components/List/ListIcon/index.js +1 -2
- package/dist/components/List/ListItem/ListItem.d.ts +2 -1
- package/dist/components/List/ListItem/index.js +1 -2
- package/dist/components/List/ListItem/types.d.ts +17 -4
- package/dist/components/List/ListLabelText/ListLabelText.d.ts +2 -2
- package/dist/components/List/ListLabelText/index.js +1 -2
- package/dist/components/List/ListMedia/ListMedia.d.ts +1 -1
- package/dist/components/List/ListMedia/index.js +1 -2
- package/dist/components/List/ListMedia/types.d.ts +2 -2
- package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +2 -2
- package/dist/components/List/ListOverlineText/index.js +1 -2
- package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +2 -2
- package/dist/components/List/ListSupportingText/index.js +1 -2
- package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +2 -2
- package/dist/components/List/ListTrailingText/index.js +1 -2
- 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 -11
- package/dist/components/Loader/Loader.d.ts +2 -2
- package/dist/components/Loader/index.js +1 -2
- 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 +3 -3
- package/dist/components/Menu/MenuItem/MenuItem.d.ts +2 -2
- 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 +3 -3
- package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +3 -3
- package/dist/components/Menu/MenuPopover/index.js +1 -2
- package/dist/components/Menu/MenuSection/MenuSection.d.ts +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +1 -1
- package/dist/components/Menu/SubmenuPopover/index.js +1 -2
- package/dist/components/Menu/context/context.d.ts +1 -1
- 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 +1 -1
- package/dist/components/Menu/core/color.d.ts +1 -1
- package/dist/components/Menu/core/index.js +1 -2
- package/dist/components/Menu/core/layout.d.ts +1 -1
- package/dist/components/Navigation/Navigation/Navigation.d.ts +1 -1
- package/dist/components/Navigation/Navigation/navContext.d.ts +1 -1
- package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +2 -2
- package/dist/components/Navigation/Navigation/types.d.ts +3 -3
- package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +1 -1
- 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 +2 -2
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +1 -1
- 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/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +2 -2
- package/dist/components/Navigation/NavigationItem/core/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +2 -2
- package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +2 -2
- package/dist/components/Navigation/NavigationScrollContainer/index.js +1 -2
- package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +1 -1
- package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +1 -2
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +2 -2
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +1 -2
- package/dist/components/Navigation/NavigationState/NavigationState.d.ts +2 -2
- package/dist/components/Navigation/NavigationState/context.d.ts +2 -2
- package/dist/components/Navigation/NavigationState/index.js +2 -4
- package/dist/components/Navigation/NavigationState/index.js.map +1 -1
- package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +2 -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 +3 -3
- 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/navigation.d.ts +2 -2
- package/dist/components/Navigation/core/navigationInfo.d.ts +2 -2
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/index.js +1 -2
- 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/{BottomSheetModal → BottomSheet/BottomSheetModal}/context.d.ts +1 -1
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/index.js +1 -0
- package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/types.d.ts +1 -1
- package/dist/components/Sheets/BottomSheet/index.d.ts +1 -1
- package/dist/components/Sheets/BottomSheet/index.js +3 -2
- 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/{SideSheetModal → SideSheet/SideSheetModal}/context.d.ts +1 -1
- package/dist/components/Sheets/SideSheet/SideSheetModal/index.js +1 -0
- package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/types.d.ts +1 -1
- package/dist/components/Sheets/SideSheet/index.d.ts +1 -2
- package/dist/components/Sheets/SideSheet/index.js +3 -2
- package/dist/components/Sheets/index.d.ts +0 -2
- package/dist/components/Snackbar/index.js +1 -2
- package/dist/components/Splash/index.js +1 -2
- package/dist/components/Tabs/Tab/index.js +1 -2
- package/dist/components/Tabs/TabList/index.js +1 -2
- package/dist/components/Tabs/TabPanel/index.js +1 -2
- package/dist/components/Tabs/TabPanels/index.js +1 -2
- package/dist/components/Tabs/Tabs/index.js +1 -2
- package/dist/components/Tag/index.js +1 -2
- package/dist/components/ThemeSelector/ThemeItem.d.ts +7 -1
- package/dist/components/ThemeSelector/ThemeSelector.d.ts +2 -2
- package/dist/components/ThemeSelector/core.d.ts +21 -11
- package/dist/components/ThemeSelector/index.js +1 -2
- package/dist/components/ThemeSelector/types.d.ts +41 -0
- package/dist/components/Toolbar/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +4 -4
- package/dist/components/Tooltip/RichTooltip/RichTooltip/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipActions/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/index.js +1 -2
- 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/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/index.js +1 -2
- package/dist/components/Tooltip/TooltipTrigger/index.js +1 -2
- package/dist/components/Tooltip/index.js +4 -3
- package/dist/index.js +111 -111
- 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/package.json +13 -13
- package/dist/components/Sheets/BottomSheetModal/index.js +0 -2
- package/dist/components/Sheets/SideSheetModal/index.js +0 -2
- /package/dist/components/Sheets/BottomSheet/{BottomSheet.d.ts → BottomSheet/BottomSheet.d.ts} +0 -0
- /package/dist/components/Sheets/BottomSheet/{types.d.ts → BottomSheet/types.d.ts} +0 -0
- /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/BottomSheetModal.d.ts +0 -0
- /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/index.d.ts +0 -0
- /package/dist/components/Sheets/SideSheet/{SideSheet.d.ts → SideSheet/SideSheet.d.ts} +0 -0
- /package/dist/components/Sheets/SideSheet/{SideSheetDialog.d.ts → SideSheet/SideSheetDialog.d.ts} +0 -0
- /package/dist/components/Sheets/SideSheet/{types.d.ts → SideSheet/types.d.ts} +0 -0
- /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/SideSheetModal.d.ts +0 -0
- /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/index.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { RadioField, RadioGroup } from 'react-aria-components';
|
|
3
3
|
import { CoreInputProps } from '../core';
|
|
4
4
|
/**
|
|
5
5
|
* Alignment of the radio label text relative to the indicator circle.
|
|
@@ -9,46 +9,32 @@ import { CoreInputProps } from '../core';
|
|
|
9
9
|
*/
|
|
10
10
|
export type RadioLabelPlacement = "start" | "end";
|
|
11
11
|
/**
|
|
12
|
-
* Props for the
|
|
13
|
-
*
|
|
12
|
+
* Props for the [`RadioGroup`](src/components/Input/Radio/RadioGroup.tsx) component.
|
|
13
|
+
*
|
|
14
|
+
* Extends React Aria's `RadioGroup` props (excluding `children` and `orientation`) and [`CoreInputProps`](src/components/Input/core/types.ts).
|
|
14
15
|
*/
|
|
15
|
-
export interface RadioGroupProps extends Omit<React.ComponentPropsWithRef<typeof RadioGroup>, "children">, CoreInputProps {
|
|
16
|
+
export interface RadioGroupProps extends Omit<React.ComponentPropsWithRef<typeof RadioGroup>, "children" | "orientation">, CoreInputProps {
|
|
16
17
|
/** The child radio buttons or custom layout structure rendered within the group. */
|
|
17
18
|
children?: ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* Spacing (in pixels) between adjacent radio items.
|
|
20
|
-
*
|
|
21
|
-
* @default 24
|
|
22
|
-
*/
|
|
23
|
-
radioItemsGap?: number;
|
|
24
19
|
/**
|
|
25
20
|
* Default label placement applied to all child radio items within the group.
|
|
21
|
+
* Can be overridden per individual [`Radio`](src/components/Input/Radio/Radio.tsx).
|
|
26
22
|
*
|
|
27
23
|
* @default "end"
|
|
28
24
|
*/
|
|
29
25
|
labelPlacement?: RadioLabelPlacement;
|
|
30
|
-
/**
|
|
31
|
-
* When `true`, displays the state layer (hover, press, focus) across the entire radio container.
|
|
32
|
-
*
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
containerStateLayer?: boolean;
|
|
36
26
|
}
|
|
37
27
|
/**
|
|
38
|
-
* Props for the
|
|
39
|
-
*
|
|
28
|
+
* Props for the [`Radio`](src/components/Input/Radio/Radio.tsx) component.
|
|
29
|
+
*
|
|
30
|
+
* Extends all properties from React Aria's `RadioField`, including selection value and accessibility states.
|
|
40
31
|
*/
|
|
41
|
-
export interface RadioProps extends React.ComponentPropsWithRef<typeof
|
|
32
|
+
export interface RadioProps extends React.ComponentPropsWithRef<typeof RadioField> {
|
|
42
33
|
/**
|
|
43
34
|
* Alignment of the label text relative to the indicator circle.
|
|
35
|
+
* If omitted, inherits from the parent [`RadioGroup`](src/components/Input/Radio/RadioGroup.tsx) `labelPlacement`.
|
|
44
36
|
*
|
|
45
37
|
* @default "end"
|
|
46
38
|
*/
|
|
47
39
|
labelPlacement?: RadioLabelPlacement;
|
|
48
|
-
/**
|
|
49
|
-
* When `true`, displays the state layer (hover, press, focus) across the entire radio container.
|
|
50
|
-
*
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
containerStateLayer?: boolean;
|
|
54
40
|
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as SearchField };
|
|
1
|
+
export { t as SearchField } from "../../../chunks/SearchField";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ComboBox };
|
|
1
|
+
export { t as ComboBox } from "../../../../chunks/ComboBox";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ComboBoxPopover };
|
|
1
|
+
export { t as ComboBoxPopover } from "../../../../chunks/ComboBoxPopover";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ComboBoxTrigger };
|
|
1
|
+
export { t as ComboBoxTrigger } from "../../../../chunks/ComboBoxTrigger";
|
|
@@ -5,7 +5,7 @@ import { c as r, l as i, n as a } from "../../../../chunks/core4";
|
|
|
5
5
|
import o from "clsx";
|
|
6
6
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
7
|
import { Select as u } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/Input/Select/Select/Select.tsx
|
|
9
9
|
var d = ({ label: d, description: f, errorMessage: p, showDescriptionOnInvalid: m = !1, children: h, className: g, ..._ }) => /* @__PURE__ */ c(u, {
|
|
10
10
|
className: (e) => o(a, r, typeof g == "function" ? g(e) : g),
|
|
11
11
|
..._,
|
|
@@ -25,7 +25,6 @@ var d = ({ label: d, description: f, errorMessage: p, showDescriptionOnInvalid:
|
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
//#endregion
|
|
29
28
|
export { d as Select };
|
|
30
29
|
|
|
31
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,7 +6,7 @@ import l from "clsx";
|
|
|
6
6
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
7
|
import { ListBoxItem as p } from "react-aria-components";
|
|
8
8
|
import { Check as m } from "lucide-react";
|
|
9
|
-
|
|
9
|
+
// src/components/Input/Select/SelectItem/SelectItem.tsx
|
|
10
10
|
var h = ({ leadingIcon: h, label: g, supportingText: _, trailingText: v, trailingIcon: y, className: b, onPress: x, textValue: S = g, ...C }) => {
|
|
11
11
|
let { splashInfo: w, handlePress: T } = r(x);
|
|
12
12
|
return /* @__PURE__ */ d(p, {
|
|
@@ -45,7 +45,6 @@ var h = ({ leadingIcon: h, label: g, supportingText: _, trailingText: v, trailin
|
|
|
45
45
|
] })
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
|
-
//#endregion
|
|
49
48
|
export { h as SelectItem };
|
|
50
49
|
|
|
51
50
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,12 +2,11 @@ import { d as e, l as t, o as n, s as r, u as i } from "../../../../chunks/core6
|
|
|
2
2
|
import { clsx as a } from "clsx";
|
|
3
3
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
4
|
import { ListBox as s } from "react-aria-components";
|
|
5
|
-
|
|
5
|
+
// src/components/Input/Select/SelectList/SelectList.tsx
|
|
6
6
|
var c = ({ color: c = "standard", menuLayout: l = "standard", className: u, ...d }) => /* @__PURE__ */ o(s, {
|
|
7
7
|
className: (o) => a(e(c), i, r, t(l), n, typeof u == "function" ? u(o) : u),
|
|
8
8
|
...d
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { c as SelectList };
|
|
12
11
|
|
|
13
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,7 +3,7 @@ import { a as t } from "../../../../chunks/core6";
|
|
|
3
3
|
import { clsx as n } from "clsx";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { ListBoxSection as i } from "react-aria-components";
|
|
6
|
-
|
|
6
|
+
// src/components/Input/Select/SelectListSection/SelectListSection.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 SelectListSection };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_c","require_compiler_runtime","MenuSectionStyles","import_compiler_runtime","SelectListSection","$","className","props","t0","t1","clsx","t2","ListBoxSection"],"sources":["../../../../../src/components/Input/Select/SelectListSection/SelectListSection.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { ListBoxSection } from \"react-aria-components\";\nimport { MenuSectionStyles } from \"@/components/Menu\";\n\n/**\n * A group section separating categorized items within a {@link SelectList}.\n */\nexport const SelectListSection = <T extends object>({\n className,\n ...props\n}: React.ComponentPropsWithRef<typeof ListBoxSection<T>>) => {\n return (\n <ListBoxSection\n className={clsx(MenuSectionStyles, className)}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;aAOaI,KAAoB,MAAA;CAAA,IAAAC,KAAA,GAAAL,EAAAA,EAAAA,CAAA,CAAA,GAAAM,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGuB,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHJ,eAAA,GAAAE,KAAAC,GAGI,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAGC,IAAAD,EAAA,MAAlC,IAAAK,EAAKR,GAAmBI,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAE/C,OAF+CN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KADjD,IAAA,kBAACG,GAAD;EACe,WAAAH;EAAkC,GACzCF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAHFM;AAGE"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_c","require_compiler_runtime","MenuSectionStyles","import_compiler_runtime","SelectListSection","$","className","props","t0","t1","clsx","t2","ListBoxSection"],"sources":["../../../../../src/components/Input/Select/SelectListSection/SelectListSection.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { ListBoxSection } from \"react-aria-components\";\nimport { MenuSectionStyles } from \"@/components/Menu\";\n\n/**\n * A group section separating categorized items within a {@link SelectList}.\n */\nexport const SelectListSection = <T extends object>({\n className,\n ...props\n}: React.ComponentPropsWithRef<typeof ListBoxSection<T>>) => {\n return (\n <ListBoxSection\n className={clsx(MenuSectionStyles, className)}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;A,aAOaI,KAAoB,MAAA;CAAA,IAAAC,KAAA,GAAAL,EAAAA,EAAAA,CAAA,CAAA,GAAAM,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGuB,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHJ,eAAA,GAAAE,KAAAC,GAGI,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAGC,IAAAD,EAAA,MAAlC,IAAAK,EAAKR,GAAmBI,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAE/C,OAF+CN,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KADjD,IAAA,kBAACG,GAAD;EACe,WAAAH;EAAkC,GACzCF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAHFM;AAGE"}
|
|
@@ -4,7 +4,7 @@ import { i as n } from "../../../../chunks/core6";
|
|
|
4
4
|
import { clsx as r } from "clsx";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
6
|
import { Header as a } from "react-aria-components";
|
|
7
|
-
|
|
7
|
+
// src/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.tsx
|
|
8
8
|
var o = e(), s = (e) => {
|
|
9
9
|
let s = (0, o.c)(8), c, l;
|
|
10
10
|
s[0] === e ? (c = s[1], l = s[2]) : ({className: c, ...l} = e, s[0] = e, s[1] = c, s[2] = l);
|
|
@@ -16,7 +16,6 @@ var o = e(), s = (e) => {
|
|
|
16
16
|
...l
|
|
17
17
|
}), s[5] = l, s[6] = u, s[7] = d) : d = s[7], d;
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { s as SelectListSectionHeader };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_c","require_compiler_runtime","MenuSectionHeaderStyles","import_compiler_runtime","SelectListSectionHeader","$","className","props","t0","t1","clsx","typography","t2","Header"],"sources":["../../../../../src/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { Header } from \"react-aria-components\";\nimport { MenuSectionHeaderStyles } from \"@/components/Menu\";\nimport { typography } from \"@/utils\";\n\n/**\n * Header label rendered at the top of a {@link SelectListSection}.\n */\nexport const SelectListSectionHeader: React.FC<\n React.ComponentPropsWithRef<\"header\">\n> = ({ className, ...props }) => {\n return (\n <Header\n className={clsx(\n typography.labelLarge,\n MenuSectionHeaderStyles,\n className\n )}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;aAQaI,KAET,MAAA;CAAA,IAAAC,KAAA,GAAAL,EAAAA,EAAAA,CAAA,CAAA,GAAAM,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAAwB,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAAvB,eAAA,GAAAE,KAAAC,GAAuB,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAOf,IAAAD,EAAA,MAJU,IAAAK,EACPC,EAAU,YACVT,GACAI,CACJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAG;CAEH,OAFGP,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KALL,IAAA,kBAACI,GAAD;EACe,WAAAJ;EAIV,GACGF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAG,KAAA,IAAAP,EAAA,IAPFO;AAOE"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_c","require_compiler_runtime","MenuSectionHeaderStyles","import_compiler_runtime","SelectListSectionHeader","$","className","props","t0","t1","clsx","typography","t2","Header"],"sources":["../../../../../src/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { Header } from \"react-aria-components\";\nimport { MenuSectionHeaderStyles } from \"@/components/Menu\";\nimport { typography } from \"@/utils\";\n\n/**\n * Header label rendered at the top of a {@link SelectListSection}.\n */\nexport const SelectListSectionHeader: React.FC<\n React.ComponentPropsWithRef<\"header\">\n> = ({ className, ...props }) => {\n return (\n <Header\n className={clsx(\n typography.labelLarge,\n MenuSectionHeaderStyles,\n className\n )}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;A,aAQaI,KAET,MAAA;CAAA,IAAAC,KAAA,GAAAL,EAAAA,EAAAA,CAAA,CAAA,GAAAM,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAAwB,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAAvB,eAAA,GAAAE,KAAAC,GAAuB,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAOf,IAAAD,EAAA,MAJU,IAAAK,EACPC,EAAU,YACVT,GACAI,CACJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAG;CAEH,OAFGP,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KALL,IAAA,kBAACI,GAAD;EACe,WAAAJ;EAIV,GACGF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAG,KAAA,IAAAP,EAAA,IAPFO;AAOE"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as SelectPopover };
|
|
1
|
+
export { t as SelectPopover } from "../../../../chunks/SelectPopover";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as SelectTrigger };
|
|
1
|
+
export { t as SelectTrigger } from "../../../../chunks/SelectTrigger";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as CenteredSlider };
|
|
1
|
+
export { t as CenteredSlider } from "../../../../chunks/CenteredSlider";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Slider } from 'react-aria-components';
|
|
2
2
|
import { BaseSliderProps } from '../core';
|
|
3
3
|
/**
|
|
4
|
-
* Props for the [`CenteredSlider`](
|
|
4
|
+
* Props for the [`CenteredSlider`](src/components/Input/Slider/CenteredSlider/CenteredSlider.tsx) component.
|
|
5
5
|
*/
|
|
6
6
|
export interface CenteredSliderProps<T extends number> extends Omit<React.ComponentPropsWithRef<typeof Slider<T>>, "children">, BaseSliderProps {
|
|
7
7
|
/**
|
|
@@ -4,7 +4,7 @@ import { RangeSliderProps, RangeSliderType } from './types';
|
|
|
4
4
|
*
|
|
5
5
|
* Allows users to choose a numeric range `[start, end]` using two independently draggable
|
|
6
6
|
* thumbs. Displays an active filled track between the thumbs, supports step indicators
|
|
7
|
-
* via [`SliderStops`](
|
|
7
|
+
* via [`SliderStops`](src/components/Input/Slider/SliderStops/SliderStops.tsx),
|
|
8
8
|
* and handles thumb overlap transitions.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
@@ -5,7 +5,7 @@ import { t as u } from "../../../../chunks/SliderThumb";
|
|
|
5
5
|
import d from "clsx";
|
|
6
6
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
7
|
import { Slider as h, SliderTrack as g } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/Input/Slider/RangeSlider/RangeSlider.tsx
|
|
9
9
|
var _ = ({ label: _, thumbLabels: v, size: y = "small", minValue: b = 0, maxValue: x = 100, step: S = 1, defaultValue: C = [b, b], showInBetweenSteps: w, maxStops: T, outputRenderer: E, className: D, ...O }) => /* @__PURE__ */ p(h, {
|
|
10
10
|
minValue: b,
|
|
11
11
|
maxValue: x,
|
|
@@ -71,7 +71,6 @@ var _ = ({ label: _, thumbLabels: v, size: y = "small", minValue: b = 0, maxValu
|
|
|
71
71
|
})] });
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
//#endregion
|
|
75
74
|
export { _ as RangeSlider };
|
|
76
75
|
|
|
77
76
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AriaSlider","clsx","_Fragment","Label","SliderThumb","Label$1","SliderStyles","SliderColors","SliderSizeStyles","InactiveTrackStyles","TrackContainerStyles","VisualTrackStyles","ActiveTrackStyles","SliderStops","SliderThumb$1","clsx$1","RangeSlider","minValue","props","Slider","className","renderProps","startThumbValue","state","endThumbValue","start","mid","end","sizeKey","orientation","Fragment","label","SliderTrack","TrackStyles","size","increaseZindex","i","maxValue","thumbLabels"],"sources":["../../../../../src/components/Input/Slider/RangeSlider/RangeSlider.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Slider as AriaSlider, SliderTrack } from \"react-aria-components\";\nimport { Label } from \"../../Label\";\nimport {\n ActiveTrackStyles,\n InactiveTrackStyles,\n SliderColors,\n SliderSizeStyles,\n SliderStyles,\n TrackContainerStyles,\n TrackStyles,\n VisualTrackStyles,\n} from \"../core\";\nimport { SliderStops } from \"../SliderStops\";\nimport { SliderThumb } from \"../SliderThumb\";\nimport type { RangeSliderProps, RangeSliderType } from \"./types\";\n\n/**\n * Material Design 3 dual-thumb range slider component.\n *\n * Allows users to choose a numeric range `[start, end]` using two independently draggable\n * thumbs. Displays an active filled track between the thumbs, supports step indicators\n * via [`SliderStops`](
|
|
1
|
+
{"version":3,"file":"index.js","names":["AriaSlider","clsx","_Fragment","Label","SliderThumb","Label$1","SliderStyles","SliderColors","SliderSizeStyles","InactiveTrackStyles","TrackContainerStyles","VisualTrackStyles","ActiveTrackStyles","SliderStops","SliderThumb$1","clsx$1","RangeSlider","minValue","props","Slider","className","renderProps","startThumbValue","state","endThumbValue","start","mid","end","sizeKey","orientation","Fragment","label","SliderTrack","TrackStyles","size","increaseZindex","i","maxValue","thumbLabels"],"sources":["../../../../../src/components/Input/Slider/RangeSlider/RangeSlider.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Slider as AriaSlider, SliderTrack } from \"react-aria-components\";\nimport { Label } from \"../../Label\";\nimport {\n ActiveTrackStyles,\n InactiveTrackStyles,\n SliderColors,\n SliderSizeStyles,\n SliderStyles,\n TrackContainerStyles,\n TrackStyles,\n VisualTrackStyles,\n} from \"../core\";\nimport { SliderStops } from \"../SliderStops\";\nimport { SliderThumb } from \"../SliderThumb\";\nimport type { RangeSliderProps, RangeSliderType } from \"./types\";\n\n/**\n * Material Design 3 dual-thumb range slider component.\n *\n * Allows users to choose a numeric range `[start, end]` using two independently draggable\n * thumbs. Displays an active filled track between the thumbs, supports step indicators\n * via [`SliderStops`](src/components/Input/Slider/SliderStops/SliderStops.tsx),\n * and handles thumb overlap transitions.\n *\n * @example\n * ```tsx\n * import { RangeSlider } from \"@adgytec/web-ui-components\";\n *\n * <RangeSlider\n * label=\"Price Range\"\n * minValue={0}\n * maxValue={1000}\n * defaultValue={[100, 500]}\n * step={25}\n * showInBetweenSteps\n * thumbLabels={[\"Minimum Price\", \"Maximum Price\"]}\n * />\n * ```\n */\nexport const RangeSlider = <T extends RangeSliderType>({\n label,\n thumbLabels,\n size = \"small\",\n minValue = 0,\n maxValue = 100,\n step = 1,\n defaultValue = [minValue, minValue] as T,\n showInBetweenSteps,\n maxStops,\n outputRenderer,\n className,\n ...props\n}: RangeSliderProps<T>) => {\n return (\n <AriaSlider\n minValue={minValue}\n maxValue={maxValue}\n step={step}\n defaultValue={defaultValue}\n className={(renderProps) =>\n clsx(\n SliderStyles,\n SliderColors,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n >\n {({ orientation, state }) => {\n const startThumbValue = state.getThumbPercent(0);\n const endThumbValue = state.getThumbPercent(1);\n\n const start = startThumbValue * 100;\n const mid = (endThumbValue - startThumbValue) * 100;\n const end = (1 - endThumbValue) * 100;\n\n const sizeKey =\n orientation === \"horizontal\" ? \"inlineSize\" : \"blockSize\";\n\n return (\n <>\n {label && <Label>{label}</Label>}\n\n <div\n className={clsx(TrackContainerStyles)}\n data-orientation={orientation}\n >\n <SliderTrack\n className={clsx(\n TrackStyles,\n SliderSizeStyles(size)\n )}\n >\n <div\n className={clsx(VisualTrackStyles)}\n data-orientation={orientation}\n >\n <div\n className={clsx(InactiveTrackStyles)}\n data-orientation={orientation}\n data-track=\"start\"\n style={{\n [sizeKey]: `${start}%`,\n }}\n />\n\n <div\n className={clsx(ActiveTrackStyles)}\n data-orientation={orientation}\n data-track=\"mid\"\n style={{\n [sizeKey]: `${mid}%`,\n }}\n >\n <div />\n </div>\n\n <div\n className={clsx(InactiveTrackStyles)}\n data-orientation={orientation}\n data-track=\"end\"\n style={{\n [sizeKey]: `${end}%`,\n }}\n />\n </div>\n\n <SliderStops\n minValue={minValue}\n maxValue={maxValue}\n step={step}\n orientation={orientation}\n slider=\"range\"\n showInBetweenSteps={showInBetweenSteps}\n maxStops={maxStops}\n />\n\n {state.values.map((_, i) => {\n const increaseZindex =\n i === 0 &&\n state.getThumbValue(i) === maxValue;\n return (\n <SliderThumb\n // biome-ignore lint: index is stable here\n key={i}\n index={i}\n size={size}\n orientation={orientation}\n aria-label={thumbLabels?.[i]}\n data-z-index-increase={\n increaseZindex || undefined\n }\n outputRenderer={outputRenderer}\n />\n );\n })}\n </SliderTrack>\n </div>\n </>\n );\n }}\n </AriaSlider>\n );\n};\n"],"mappings":";;;;;;;;AAwCA,IAAagB,KAA0C,EACnD,UACA,gBACA,UAAO,SACP,cAAW,GACX,cAAW,KACX,UAAO,GACP,kBAAe,CAACC,GAAUA,CAAQ,GAClC,uBACA,aACA,mBACA,cACA,GAAGC,QAGC,kBAAClB,GAAD;CACc;CACA;CACJ;CACQ;CACd,YAAY,MACRC,EACIK,GACAC,GACA,OAAOa,KAAc,aACfA,EAAUC,CAAW,IACrBD,CACV;CAEJ,GAAIF;CAEF,WAAA,EAAE,gBAAa,eAAY;EACzB,IAAMI,IAAkBC,EAAM,gBAAgB,CAAC,GACzCC,IAAgBD,EAAM,gBAAgB,CAAC,GAEvCE,IAAQH,IAAkB,KAC1BI,KAAOF,IAAgBF,KAAmB,KAC1CK,KAAO,IAAIH,KAAiB,KAE5BI,IACFC,MAAgB,eAAe,eAAe;EAElD,OACI,kBAAA3B,GAAA,EAAA,UAAA,CACK6B,KAAS,kBAAC5B,GAAD,EAAA,UAAQ4B,EAAa,CAAA,GAE/B,kBAAC,OAAD;GACI,WAAW9B,EAAKS,CAAoB;GACpC,oBAAkBmB;GAElB,UAAA,kBAACG,GAAD;IACI,WAAW/B,EACPgC,GACAzB,EAAiB0B,CAAI,CACzB;IAJJ,UAAA;KAMI,kBAAC,OAAD;MACI,WAAWjC,EAAKU,CAAiB;MACjC,oBAAkBkB;MAFtB,UAAA;OAII,kBAAC,OAAD;QACI,WAAW5B,EAAKQ,CAAmB;QACnC,oBAAkBoB;QAClB,cAAW;QACX,OAAO,GACFD,IAAU,GAAGH,EAAK,GACvB;OAAE,CAAA;OAGN,kBAAC,OAAD;QACI,WAAWxB,EAAKW,CAAiB;QACjC,oBAAkBiB;QAClB,cAAW;QACX,OAAO,GACFD,IAAU,GAAGF,EAAG,GACrB;QAEA,UAAA,kBAAC,OAAD,CAAI,CAAA;OACH,CAAA;OAEL,kBAAC,OAAD;QACI,WAAWzB,EAAKQ,CAAmB;QACnC,oBAAkBoB;QAClB,cAAW;QACX,OAAO,GACFD,IAAU,GAAGD,EAAG,GACrB;OAAE,CAAA;MAEL;;KAEL,kBAACd,GAAD;MACc;MACA;MACJ;MACO;MACb,QAAO;MACa;MACV;KAAS,CAAA;KAGtBU,EAAM,OAAO,KAAK,GAAG,MAAM;MACxB,IAAMY,IACFC,MAAM,KACNb,EAAM,cAAca,CAAC,MAAMC;MAC/B,OACI,kBAACjC,GAAD;OAGI,OAAOgC;OACD;OACO;OACb,cAAYE,IAAcF;OAC1B,yBACID,KAAkB,KAAA;OAEN;MAAe,GAR1BC,CAQ0B;KAG3C,CAAC;IACQ;;EACZ,CAAA,CACT,EAAA,CAAA;CAER;AACQ,CAAA"}
|
|
@@ -6,7 +6,7 @@ type Tuple<T> = [T, T];
|
|
|
6
6
|
*/
|
|
7
7
|
export type RangeSliderType = Tuple<number>;
|
|
8
8
|
/**
|
|
9
|
-
* Props for the dual-thumb [`RangeSlider`](
|
|
9
|
+
* Props for the dual-thumb [`RangeSlider`](src/components/Input/Slider/RangeSlider/RangeSlider.tsx) component.
|
|
10
10
|
*/
|
|
11
11
|
export interface RangeSliderProps<T extends RangeSliderType> extends Omit<React.ComponentPropsWithRef<typeof Slider<T>>, "children">, BaseSliderProps {
|
|
12
12
|
/**
|
|
@@ -3,7 +3,7 @@ import { SliderProps } from './types';
|
|
|
3
3
|
* Material Design 3 single-value slider component.
|
|
4
4
|
*
|
|
5
5
|
* Allows users to choose a specific numeric value along a track using a draggable thumb.
|
|
6
|
-
* Supports configurable sizes, step indicators via [`SliderStops`](
|
|
6
|
+
* Supports configurable sizes, step indicators via [`SliderStops`](src/components/Input/Slider/SliderStops/SliderStops.tsx),
|
|
7
7
|
* inset icons with automatic minimum-value swapping, and custom output formatting.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Slider };
|
|
1
|
+
export { t as Slider } from "../../../../chunks/Slider";
|
|
@@ -2,7 +2,7 @@ import { LucideIcon } from 'lucide-react';
|
|
|
2
2
|
import { Slider } from 'react-aria-components';
|
|
3
3
|
import { BaseSliderProps } from '../core';
|
|
4
4
|
/**
|
|
5
|
-
* Props for the single-value [`Slider`](
|
|
5
|
+
* Props for the single-value [`Slider`](src/components/Input/Slider/Slider/Slider.tsx) component.
|
|
6
6
|
*/
|
|
7
7
|
export interface SliderProps<T extends number> extends Omit<React.ComponentPropsWithRef<typeof Slider<T>>, "children">, BaseSliderProps {
|
|
8
8
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SliderOutput as AriaSliderOutput } from 'react-aria-components';
|
|
2
2
|
/**
|
|
3
|
-
* Props for the [`SliderOutput`](
|
|
3
|
+
* Props for the [`SliderOutput`](src/components/Input/Slider/SliderOutput/SliderOutput.tsx) component.
|
|
4
4
|
*/
|
|
5
5
|
export interface SliderOutputProps extends React.ComponentPropsWithRef<typeof AriaSliderOutput> {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Output tooltip / badge component displaying the current value of the slider thumb.
|
|
9
9
|
*
|
|
10
|
-
* Automatically connects to [`SliderThumbStateContext`](
|
|
10
|
+
* Automatically connects to [`SliderThumbStateContext`](src/components/Input/Slider/SliderThumb/context.ts)
|
|
11
11
|
* to reflect hover, focus, and dragging states on data attributes.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as SliderOutput };
|
|
1
|
+
export { t as SliderOutput } from "../../../../chunks/SliderOutput";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as SliderStops };
|
|
1
|
+
export { t as SliderStops } from "../../../../chunks/SliderStops";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Orientation } from 'react-aria';
|
|
2
2
|
import { SliderVariant } from '../core';
|
|
3
3
|
/**
|
|
4
|
-
* Props for the [`SliderStops`](
|
|
4
|
+
* Props for the [`SliderStops`](src/components/Input/Slider/SliderStops/SliderStops.tsx) component.
|
|
5
5
|
*/
|
|
6
6
|
export type SliderStopsProps = {
|
|
7
7
|
/**
|
|
@@ -2,7 +2,7 @@ import { Orientation } from 'react-aria';
|
|
|
2
2
|
import { SliderThumb as AriaSliderThumb } from 'react-aria-components';
|
|
3
3
|
import { OutputRenderer, SliderSize } from '../core';
|
|
4
4
|
/**
|
|
5
|
-
* Props for the [`SliderThumb`](
|
|
5
|
+
* Props for the [`SliderThumb`](src/components/Input/Slider/SliderThumb/SliderThumb.tsx) component.
|
|
6
6
|
*/
|
|
7
7
|
export interface SliderThumbProps extends Omit<React.ComponentPropsWithRef<typeof AriaSliderThumb>, "children"> {
|
|
8
8
|
/**
|
|
@@ -22,7 +22,7 @@ export interface SliderThumbProps extends Omit<React.ComponentPropsWithRef<typeo
|
|
|
22
22
|
* Draggable handle component within a slider track.
|
|
23
23
|
*
|
|
24
24
|
* Wraps React Aria's `SliderThumb`, managing state transitions (drag, hover, focus)
|
|
25
|
-
* and hosting the [`SliderOutput`](
|
|
25
|
+
* and hosting the [`SliderOutput`](src/components/Input/Slider/SliderOutput/SliderOutput.tsx)
|
|
26
26
|
* value bubble.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* State values exposed by the parent [`SliderThumb`](
|
|
2
|
+
* State values exposed by the parent [`SliderThumb`](src/components/Input/Slider/SliderThumb/SliderThumb.tsx)
|
|
3
3
|
* representing current user interactions.
|
|
4
4
|
*/
|
|
5
5
|
export type SliderThumbStateContextValue = {
|
|
@@ -22,6 +22,6 @@ export type SliderThumbStateContextValue = {
|
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* React context providing thumb interaction state to child components such as
|
|
25
|
-
* [`SliderOutput`](
|
|
25
|
+
* [`SliderOutput`](src/components/Input/Slider/SliderOutput/SliderOutput.tsx).
|
|
26
26
|
*/
|
|
27
27
|
export declare const SliderThumbStateContext: import('react').Context<SliderThumbStateContextValue>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as SliderThumb };
|
|
1
|
+
export { t as SliderThumb } from "../../../../chunks/SliderThumb";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { s as ActiveTrackStyles, r as InactiveTrackStyles, t as SliderColors, n as SliderSizeStyles, e as SliderStyles, i as TrackContainerStyles, o as TrackStyles, a as VisualTrackStyles };
|
|
1
|
+
export { t as ActiveTrackStyles, n as InactiveTrackStyles, c as SliderColors, i as SliderSizeStyles, a as SliderStyles, o as TrackContainerStyles, s as TrackStyles, r as VisualTrackStyles } from "../../../../chunks/core7";
|
|
@@ -21,9 +21,9 @@ export type OutputRenderer = ReactNode | ((renderProps: SliderThumbRenderProps &
|
|
|
21
21
|
* Common configuration properties shared across all slider variants.
|
|
22
22
|
*
|
|
23
23
|
* Extends base options for labels, sizing, step tick marks, and value outputs
|
|
24
|
-
* across [`Slider`](
|
|
25
|
-
* [`RangeSlider`](
|
|
26
|
-
* and [`CenteredSlider`](
|
|
24
|
+
* across [`Slider`](src/components/Input/Slider/Slider/Slider.tsx),
|
|
25
|
+
* [`RangeSlider`](src/components/Input/Slider/RangeSlider/RangeSlider.tsx),
|
|
26
|
+
* and [`CenteredSlider`](src/components/Input/Slider/CenteredSlider/CenteredSlider.tsx).
|
|
27
27
|
*/
|
|
28
28
|
export interface BaseSliderProps {
|
|
29
29
|
/**
|
|
@@ -2,16 +2,33 @@ import { SwitchProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A toggle switch control implementing Material Design 3 Switch specifications.
|
|
4
4
|
*
|
|
5
|
-
* Toggles a binary on/off setting with animated sliding thumb indicator, support for optional
|
|
6
|
-
* handle icons (such as checkmark and cross), and configurable label placement.
|
|
5
|
+
* Toggles a binary on/off setting with an animated sliding thumb indicator, support for optional
|
|
6
|
+
* handle icons (such as checkmark and cross), and configurable label placement. Built on React Aria's
|
|
7
|
+
* `SwitchField` and `SwitchButton` components for robust accessibility, keyboard navigation, and form integration.
|
|
7
8
|
*
|
|
8
9
|
* @example
|
|
9
10
|
* ```tsx
|
|
10
|
-
* import { Switch } from
|
|
11
|
+
* import { Switch } from "@adgytec/web-ui-components";
|
|
11
12
|
*
|
|
12
13
|
* <Switch isSelected={airplaneMode} onChange={setAirplaneMode}>
|
|
13
14
|
* Airplane Mode
|
|
14
15
|
* </Switch>
|
|
15
16
|
* ```
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* // With custom icons in both on/off states and label placed after switch
|
|
21
|
+
* import { Switch } from "@adgytec/web-ui-components";
|
|
22
|
+
* import { Wifi, WifiOff } from "lucide-react";
|
|
23
|
+
*
|
|
24
|
+
* <Switch
|
|
25
|
+
* icon="both"
|
|
26
|
+
* selectedIcon={Wifi}
|
|
27
|
+
* unselectedIcon={WifiOff}
|
|
28
|
+
* labelPlacement="end"
|
|
29
|
+
* >
|
|
30
|
+
* Wi-Fi
|
|
31
|
+
* </Switch>
|
|
32
|
+
* ```
|
|
16
33
|
*/
|
|
17
34
|
export declare const Switch: React.FC<SwitchProps>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as Switch };
|
|
1
|
+
export { t as Switch } from "../../../chunks/Switch";
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { LucideIcon } from 'lucide-react';
|
|
2
|
-
import {
|
|
2
|
+
import { SwitchField } from 'react-aria-components';
|
|
3
3
|
/**
|
|
4
|
-
* Props for the
|
|
5
|
-
*
|
|
4
|
+
* Props for the [`Switch`](src/components/Input/Switch/Switch.tsx) component.
|
|
5
|
+
*
|
|
6
|
+
* Extends all properties from React Aria's `SwitchField`, including form submission (`name`, `value`),
|
|
7
|
+
* selection states (`isSelected`, `defaultSelected`, `onChange`), validation, and accessibility.
|
|
6
8
|
*/
|
|
7
|
-
export interface SwitchProps extends React.ComponentPropsWithRef<typeof
|
|
9
|
+
export interface SwitchProps extends React.ComponentPropsWithRef<typeof SwitchField> {
|
|
8
10
|
/**
|
|
9
11
|
* Determines which icons to render within the switch handle.
|
|
10
12
|
*
|
|
11
|
-
* - `"none"`: No icons.
|
|
12
|
-
* - `"selected"`: Icon rendered only when selected (default).
|
|
13
|
+
* - `"none"`: No icons rendered.
|
|
14
|
+
* - `"selected"`: Icon rendered only when the switch is selected (default).
|
|
13
15
|
* - `"both"`: Render selected icon when on, and unselected icon when off.
|
|
14
16
|
*
|
|
15
17
|
* @default "selected"
|
|
@@ -18,15 +20,12 @@ export interface SwitchProps extends React.ComponentPropsWithRef<typeof Switch>
|
|
|
18
20
|
/**
|
|
19
21
|
* Alignment of the label text relative to the switch track.
|
|
20
22
|
*
|
|
23
|
+
* - `"start"`: Label appears before (to the left of) the switch track.
|
|
24
|
+
* - `"end"`: Label appears after (to the right of) the switch track.
|
|
25
|
+
*
|
|
21
26
|
* @default "start"
|
|
22
27
|
*/
|
|
23
28
|
labelPlacement?: "start" | "end";
|
|
24
|
-
/**
|
|
25
|
-
* When `true`, displays the state layer across the whole component container.
|
|
26
|
-
*
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
containerStateLayer?: boolean;
|
|
30
29
|
/**
|
|
31
30
|
* Custom icon rendered when the switch is unselected (used when `icon="both"`).
|
|
32
31
|
*
|
|
@@ -8,7 +8,7 @@ import { useControllableState as d } from "../hooks/index.js";
|
|
|
8
8
|
import f from "clsx";
|
|
9
9
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
10
10
|
import { TextArea as g, TextField as _ } from "react-aria-components";
|
|
11
|
-
|
|
11
|
+
// src/components/Input/TextArea/TextArea.tsx
|
|
12
12
|
var v = ({ label: v, description: y, errorMessage: b, showDescriptionOnInvalid: x = !1, placeholder: S, showCharacterCount: C, rows: w, className: T, maxLength: E, value: D, defaultValue: O, onChange: k, ref: A, ...j }) => {
|
|
13
13
|
let { currentValue: M, setValue: N } = d({
|
|
14
14
|
value: D,
|
|
@@ -55,7 +55,6 @@ var v = ({ label: v, description: y, errorMessage: b, showDescriptionOnInvalid:
|
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
|
-
//#endregion
|
|
59
58
|
export { v as TextArea };
|
|
60
59
|
|
|
61
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,7 +6,7 @@ import { c as i, d as a, i as o, l as s, n as c, o as l, r as u, s as d } from "
|
|
|
6
6
|
import f from "clsx";
|
|
7
7
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
8
8
|
import { DateInput as g, DateSegment as _, TimeField as v } from "react-aria-components";
|
|
9
|
-
|
|
9
|
+
// src/components/Input/TimeField/TimeField.tsx
|
|
10
10
|
var y = ({ label: y, description: b, errorMessage: x, showDescriptionOnInvalid: S = !1, className: C, ref: w, ...T }) => /* @__PURE__ */ m(v, {
|
|
11
11
|
className: (e) => f(c, i, typeof C == "function" ? C(e) : C),
|
|
12
12
|
...T,
|
|
@@ -34,7 +34,6 @@ var y = ({ label: y, description: b, errorMessage: x, showDescriptionOnInvalid:
|
|
|
34
34
|
] });
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
//#endregion
|
|
38
37
|
export { y as TimeField };
|
|
39
38
|
|
|
40
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { l as CharacterCountStyles, a as Colors, s as DateInputStyles, r as DateSegmentStyles, e as EditorInputGroupStyles, o as EditorInputStyles, c as EditorStyles, t as InputGroupStyles, i as SupportingTextStyles, u as TextFieldIconSize, n as UnsetStyles };
|
|
1
|
+
export { t as CharacterCountStyles, n as Colors, r as DateInputStyles, i as DateSegmentStyles, a as EditorInputGroupStyles, o as EditorInputStyles, s as EditorStyles, c as InputGroupStyles, l as SupportingTextStyles, u as TextFieldIconSize, d as UnsetStyles } from "../../../chunks/core4";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../../chunks/compiler-runtime";
|
|
2
2
|
import { useState as t } from "react";
|
|
3
|
-
|
|
3
|
+
// src/components/Input/hooks/useControllableState.ts
|
|
4
4
|
var n = e();
|
|
5
5
|
function r(e) {
|
|
6
6
|
let r = (0, n.c)(8), { value: i, defaultValue: a, onChange: o } = e, s = i !== void 0, c;
|
|
@@ -15,7 +15,6 @@ function r(e) {
|
|
|
15
15
|
setValue: p
|
|
16
16
|
}, r[5] = d, r[6] = p, r[7] = m) : m = r[7], m;
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
18
|
export { r as useControllableState };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IconButtonProps } from '../../Button';
|
|
2
2
|
/**
|
|
3
|
-
* Props for the [`ListAction`](
|
|
3
|
+
* Props for the [`ListAction`](src/components/List/ListAction/ListAction.tsx) component.
|
|
4
4
|
*/
|
|
5
5
|
export interface ListActionProps extends Omit<IconButtonProps, "size"> {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Pre-configured trailing action icon button for a [`ListItem`](
|
|
8
|
+
* Pre-configured trailing action icon button for a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
|
|
9
9
|
*
|
|
10
10
|
* Hardcodes `size="small"` while ensuring a full 48px touch target area for accessibility,
|
|
11
11
|
* defaulting to the `"standard"` icon button color style.
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as ListAction };
|
|
1
|
+
export { t as ListAction } from "../../../chunks/ListAction";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Props for the [`ListAvatar`](
|
|
2
|
+
* Props for the [`ListAvatar`](src/components/List/ListAvatar/ListAvatar.tsx) component.
|
|
3
3
|
*/
|
|
4
4
|
export interface ListAvatarProps extends React.ComponentPropsWithRef<"div"> {
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
* Circular 40px avatar container for user initials or profile images inside a [`ListItem`](
|
|
7
|
+
* Circular 40px avatar container for user initials or profile images inside a [`ListItem`](src/components/List/ListItem/ListItem.tsx).
|
|
8
8
|
*
|
|
9
9
|
* Automatically styles text content with Material Design 3 `titleMedium` typography,
|
|
10
10
|
* and scales nested `<img>` elements with `object-fit: cover`.
|