@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
|
@@ -2,180 +2,171 @@ import { t as e } from "./compiler-runtime";
|
|
|
2
2
|
import { t } from "./base";
|
|
3
3
|
import { IconButton as n } from "../components/Button/IconButton/index.js";
|
|
4
4
|
import { d as r, o as i, s as a } from "./core4";
|
|
5
|
-
import { _ as o, a as s, c, d as l, f as u, g as d, h as f, i as p, l as m, m as ee, n as h, o as g, p as _, r as te, s as v, t as y, u as b, v as x } from "./useHover";
|
|
6
|
-
import { t as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { jsx as
|
|
10
|
-
import { Input as
|
|
11
|
-
import { ChevronDown as
|
|
12
|
-
import { useObjectRef as
|
|
13
|
-
import { flushSync as
|
|
14
|
-
import '../assets/ComboBoxTrigger.css'
|
|
15
|
-
function
|
|
5
|
+
import { _ as o, a as s, c, d as l, f as u, g as d, h as f, i as p, l as m, m as ee, n as h, o as g, p as _, r as te, s as v, t as y, u as b, v as x, y as S } from "./useHover";
|
|
6
|
+
import { t as C } from "./context";
|
|
7
|
+
import w from "clsx";
|
|
8
|
+
import T, { useCallback as E, useContext as D, useEffect as O, useMemo as k, useRef as A, useState as j } from "react";
|
|
9
|
+
import { jsx as M, jsxs as N } from "react/jsx-runtime";
|
|
10
|
+
import { Input as P } from "react-aria-components";
|
|
11
|
+
import { ChevronDown as F } from "lucide-react";
|
|
12
|
+
import { useObjectRef as I } from "react-aria";
|
|
13
|
+
import { flushSync as L } from "react-dom";
|
|
14
|
+
import '../assets/ComboBoxTrigger.css';// node_modules/react-aria/dist/private/utils/chain.mjs
|
|
15
|
+
function R(...e) {
|
|
16
16
|
return (...t) => {
|
|
17
17
|
for (let n of e) typeof n == "function" && n(...t);
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
if (typeof window > "u") return;
|
|
25
|
-
function e(e) {
|
|
26
|
-
return "propertyName" in e;
|
|
27
|
-
}
|
|
28
|
-
let t = (t) => {
|
|
29
|
-
let r = d(t);
|
|
30
|
-
if (!e(t) || !r) return;
|
|
31
|
-
let i = R.get(r);
|
|
32
|
-
i || (i = /* @__PURE__ */ new Set(), R.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
|
|
33
|
-
}, n = (t) => {
|
|
34
|
-
let r = d(t);
|
|
35
|
-
if (!e(t) || !r) return;
|
|
36
|
-
let i = R.get(r);
|
|
37
|
-
if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), R.delete(r)), R.size === 0)) {
|
|
38
|
-
for (let e of z) e();
|
|
39
|
-
z.clear();
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
|
|
43
|
-
}
|
|
44
|
-
typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", B) : B());
|
|
45
|
-
function V() {
|
|
46
|
-
for (let [e] of R) "isConnected" in e && !e.isConnected && R.delete(e);
|
|
20
|
+
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
|
|
21
|
+
var z = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Set();
|
|
22
|
+
function V(e) {
|
|
23
|
+
return "propertyName" in e;
|
|
47
24
|
}
|
|
48
25
|
function H(e) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
26
|
+
let t = d(e);
|
|
27
|
+
if (!V(e) || !t) return;
|
|
28
|
+
let n = z.get(t);
|
|
29
|
+
n || (n = /* @__PURE__ */ new Set(), z.set(t, n), t.addEventListener("transitioncancel", U, { once: !0 })), n.add(e.propertyName);
|
|
30
|
+
}
|
|
31
|
+
function U(e) {
|
|
32
|
+
let t = d(e);
|
|
33
|
+
if (!V(e) || !t) return;
|
|
34
|
+
let n = z.get(t);
|
|
35
|
+
if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", U), z.delete(t)), z.size === 0)) for (let e of B) e(!0), B.delete(e);
|
|
36
|
+
}
|
|
37
|
+
function W() {
|
|
38
|
+
S(document, "transitionrun", H), S(document, "transitionend", U);
|
|
52
39
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
40
|
+
function G() {
|
|
41
|
+
for (let [e] of z) "isConnected" in e && !e.isConnected && z.delete(e);
|
|
42
|
+
}
|
|
43
|
+
typeof document < "u" && (document.readyState === "loading" ? S(document, "DOMContentLoaded", W) : W());
|
|
56
44
|
function K(e) {
|
|
45
|
+
let t = window.requestAnimationFrame(() => {
|
|
46
|
+
if (G(), z.size === 0) return e(!1);
|
|
47
|
+
B.add(e);
|
|
48
|
+
});
|
|
49
|
+
return () => {
|
|
50
|
+
window.cancelAnimationFrame(t), B.delete(e);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
|
|
54
|
+
var q = "default", J = "", Y = /* @__PURE__ */ new WeakMap();
|
|
55
|
+
function ne(e) {
|
|
57
56
|
if (m() && v()) {
|
|
58
|
-
if (
|
|
57
|
+
if (q === "default") {
|
|
59
58
|
let t = o(e);
|
|
60
|
-
|
|
59
|
+
J = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
|
|
61
60
|
}
|
|
62
|
-
|
|
61
|
+
q = "disabled";
|
|
63
62
|
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
|
|
64
63
|
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
|
|
65
|
-
|
|
64
|
+
Y.set(e, e.style[t]), e.style[t] = "none";
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
function
|
|
67
|
+
function X(e) {
|
|
69
68
|
if (m() && v()) {
|
|
70
|
-
if (
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (
|
|
69
|
+
if (q !== "disabled") return;
|
|
70
|
+
q = "restoring", setTimeout(() => {
|
|
71
|
+
K(() => {
|
|
72
|
+
if (q === "restoring") {
|
|
74
73
|
let t = o(e);
|
|
75
|
-
t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect =
|
|
74
|
+
t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = J || ""), J = "", q = "default";
|
|
76
75
|
}
|
|
77
76
|
});
|
|
78
77
|
}, 300);
|
|
79
|
-
} else if ((e instanceof HTMLElement || e instanceof SVGElement) && e &&
|
|
80
|
-
let t =
|
|
81
|
-
e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"),
|
|
78
|
+
} else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Y.has(e)) {
|
|
79
|
+
let t = Y.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
|
|
80
|
+
e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Y.delete(e);
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
function ne(e, t) {
|
|
83
|
+
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
|
|
84
|
+
function re(e, t) {
|
|
87
85
|
let n = x(t), r = o(t);
|
|
88
86
|
if (r == null || n == null) return;
|
|
89
87
|
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, s = r.querySelector(a);
|
|
90
88
|
return s && s instanceof n.HTMLMetaElement && (e === "csp-nonce" && s.nonce && (i ??= s.nonce || void 0), s.content && (i ??= s.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
|
|
91
89
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
return n ??= ne("csp-nonce", t), n !== void 0 && re.set(t, n), n;
|
|
90
|
+
// node_modules/react-aria/dist/private/utils/getNonce.mjs
|
|
91
|
+
var ie = /* @__PURE__ */ new WeakMap();
|
|
92
|
+
function ae(e) {
|
|
93
|
+
let t = o(e), n = ie.get(t);
|
|
94
|
+
return n ??= re("csp-nonce", t), n !== void 0 && ie.set(t, n), n;
|
|
98
95
|
}
|
|
99
96
|
typeof window < "u" && window.document && window.document.createElement;
|
|
100
|
-
var
|
|
97
|
+
var oe = /* @__PURE__ */ new Map();
|
|
101
98
|
typeof FinalizationRegistry < "u" && new FinalizationRegistry((e) => {
|
|
102
|
-
|
|
99
|
+
oe.delete(e);
|
|
103
100
|
});
|
|
104
|
-
function
|
|
101
|
+
function se(e, t) {
|
|
105
102
|
if (e === t) return e;
|
|
106
|
-
let n =
|
|
103
|
+
let n = oe.get(e);
|
|
107
104
|
if (n) return n.forEach((e) => e.current = t), t;
|
|
108
|
-
let r =
|
|
105
|
+
let r = oe.get(t);
|
|
109
106
|
return r ? (r.forEach((t) => t.current = e), e) : t;
|
|
110
107
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
function oe(...e) {
|
|
108
|
+
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
|
|
109
|
+
function ce(...e) {
|
|
114
110
|
return e.length === 1 && e[0] ? e[0] : (t) => {
|
|
115
111
|
let n = !1, r = e.map((e) => {
|
|
116
|
-
let r =
|
|
112
|
+
let r = le(e, t);
|
|
117
113
|
return n ||= typeof r == "function", r;
|
|
118
114
|
});
|
|
119
115
|
if (n) return () => {
|
|
120
116
|
r.forEach((t, n) => {
|
|
121
|
-
typeof t == "function" ? t() :
|
|
117
|
+
typeof t == "function" ? t() : le(e[n], null);
|
|
122
118
|
});
|
|
123
119
|
};
|
|
124
120
|
};
|
|
125
121
|
}
|
|
126
|
-
function
|
|
122
|
+
function le(e, t) {
|
|
127
123
|
if (typeof e == "function") return e(t);
|
|
128
124
|
e != null && (e.current = t);
|
|
129
125
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
function ce(...e) {
|
|
126
|
+
// node_modules/react-aria/dist/private/utils/mergeProps.mjs
|
|
127
|
+
function ue(...e) {
|
|
133
128
|
let t = { ...e[0] };
|
|
134
129
|
for (let n = 1; n < e.length; n++) {
|
|
135
130
|
let r = e[n];
|
|
136
131
|
for (let e in r) {
|
|
137
132
|
let n = t[e], i = r[e];
|
|
138
|
-
typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] =
|
|
133
|
+
typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = R(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = w(n, i) : e === "id" && n && i ? t.id = se(n, i) : e === "ref" && n && i ? t.ref = ce(n, i) : t[e] = i === void 0 ? n : i;
|
|
139
134
|
}
|
|
140
135
|
}
|
|
141
136
|
return t;
|
|
142
137
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
let t = k(null);
|
|
152
|
-
return ue(() => {
|
|
138
|
+
// node_modules/react-aria/dist/private/interactions/context.mjs
|
|
139
|
+
var de = T.createContext({ register: () => {} });
|
|
140
|
+
de.displayName = "PressResponderContext";
|
|
141
|
+
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
|
|
142
|
+
var fe = T.useInsertionEffect ?? _;
|
|
143
|
+
function pe(e) {
|
|
144
|
+
let t = A(null);
|
|
145
|
+
return fe(() => {
|
|
153
146
|
t.current = e;
|
|
154
|
-
}, [e]),
|
|
147
|
+
}, [e]), E((...e) => {
|
|
155
148
|
let n = t.current;
|
|
156
149
|
return n?.(...e);
|
|
157
150
|
}, []);
|
|
158
151
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
function de(e, t) {
|
|
152
|
+
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
|
|
153
|
+
function me(e, t) {
|
|
162
154
|
_(() => {
|
|
163
155
|
if (e && e.ref && t) return e.ref.current = t.current, () => {
|
|
164
156
|
e.ref && (e.ref.current = null);
|
|
165
157
|
};
|
|
166
158
|
});
|
|
167
159
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
let t = E(le);
|
|
160
|
+
// node_modules/react-aria/dist/private/interactions/usePress.mjs
|
|
161
|
+
function he(e) {
|
|
162
|
+
let t = D(de);
|
|
172
163
|
if (t) {
|
|
173
164
|
let { register: n, ref: r, ...i } = t;
|
|
174
|
-
e =
|
|
165
|
+
e = ue(i, e), n();
|
|
175
166
|
}
|
|
176
|
-
return
|
|
167
|
+
return me(t, e.ref), e;
|
|
177
168
|
}
|
|
178
|
-
var
|
|
169
|
+
var Z = class {
|
|
179
170
|
#e;
|
|
180
171
|
constructor(e, t, n, r) {
|
|
181
172
|
this.#e = !0;
|
|
@@ -188,9 +179,9 @@ var X = class {
|
|
|
188
179
|
get shouldStopPropagation() {
|
|
189
180
|
return this.#e;
|
|
190
181
|
}
|
|
191
|
-
},
|
|
192
|
-
function
|
|
193
|
-
let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: m, isDisabled: h, isPressed: _, preventFocusOnPress: v, shouldCancelOnPointerExit: y, allowTextSelectionOnPress: S, ref: C, ...w } =
|
|
182
|
+
}, ge = Symbol("linkClicked"), _e = "react-aria-pressable-style", ve = "data-react-aria-pressable";
|
|
183
|
+
function ye(e) {
|
|
184
|
+
let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: m, isDisabled: h, isPressed: _, preventFocusOnPress: v, shouldCancelOnPointerExit: y, allowTextSelectionOnPress: S, ref: C, ...w } = he(e), [T, D] = j(!1), M = A({
|
|
194
185
|
isPressed: !1,
|
|
195
186
|
ignoreEmulatedMouseEvents: !1,
|
|
196
187
|
didFirePressStart: !1,
|
|
@@ -200,30 +191,30 @@ function ge(e) {
|
|
|
200
191
|
isOverTarget: !1,
|
|
201
192
|
pointerType: null,
|
|
202
193
|
disposables: []
|
|
203
|
-
}), { addGlobalListener: N, removeAllGlobalListeners: P } = te(), F =
|
|
194
|
+
}), { addGlobalListener: N, removeAllGlobalListeners: P } = te(), F = E((e, t) => {
|
|
204
195
|
let i = M.current;
|
|
205
196
|
if (h || i.didFirePressStart) return !1;
|
|
206
197
|
let a = !0;
|
|
207
198
|
if (i.isTriggeringEvent = !0, r) {
|
|
208
|
-
let n = new
|
|
199
|
+
let n = new Z("pressstart", t, e);
|
|
209
200
|
r(n), a = n.shouldStopPropagation;
|
|
210
201
|
}
|
|
211
|
-
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0,
|
|
202
|
+
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, D(!0), a;
|
|
212
203
|
}, [
|
|
213
204
|
h,
|
|
214
205
|
r,
|
|
215
206
|
n
|
|
216
|
-
]),
|
|
207
|
+
]), I = E((e, r, a = !0) => {
|
|
217
208
|
let o = M.current;
|
|
218
209
|
if (!o.didFirePressStart) return !1;
|
|
219
210
|
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
|
|
220
211
|
let s = !0;
|
|
221
212
|
if (i) {
|
|
222
|
-
let t = new
|
|
213
|
+
let t = new Z("pressend", r, e);
|
|
223
214
|
i(t), s = t.shouldStopPropagation;
|
|
224
215
|
}
|
|
225
|
-
if (n && n(!1),
|
|
226
|
-
let n = new
|
|
216
|
+
if (n && n(!1), D(!1), t && a && !h) {
|
|
217
|
+
let n = new Z("press", r, e);
|
|
227
218
|
t(n), s &&= n.shouldStopPropagation;
|
|
228
219
|
}
|
|
229
220
|
return o.isTriggeringEvent = !1, s;
|
|
@@ -232,28 +223,28 @@ function ge(e) {
|
|
|
232
223
|
i,
|
|
233
224
|
n,
|
|
234
225
|
t
|
|
235
|
-
]), z =
|
|
226
|
+
]), z = pe(I), B = pe(E((e, t) => {
|
|
236
227
|
let n = M.current;
|
|
237
228
|
if (h) return !1;
|
|
238
229
|
if (a) {
|
|
239
230
|
n.isTriggeringEvent = !0;
|
|
240
|
-
let r = new
|
|
231
|
+
let r = new Z("pressup", t, e);
|
|
241
232
|
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
|
|
242
233
|
}
|
|
243
234
|
return !0;
|
|
244
|
-
}, [h, a])), V =
|
|
235
|
+
}, [h, a])), V = E((e) => {
|
|
245
236
|
let t = M.current;
|
|
246
237
|
if (t.isPressed && t.target) {
|
|
247
|
-
t.didFirePressStart && t.pointerType != null &&
|
|
238
|
+
t.didFirePressStart && t.pointerType != null && I($(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, P(), S || X(t.target);
|
|
248
239
|
for (let e of t.disposables) e();
|
|
249
240
|
t.disposables = [];
|
|
250
241
|
}
|
|
251
242
|
}, [
|
|
252
243
|
S,
|
|
253
244
|
P,
|
|
254
|
-
|
|
255
|
-
]), H =
|
|
256
|
-
|
|
245
|
+
I
|
|
246
|
+
]), H = pe(V);
|
|
247
|
+
O(() => {
|
|
257
248
|
h && M.current.isPressed && H({
|
|
258
249
|
currentTarget: M.current.target,
|
|
259
250
|
shiftKey: !1,
|
|
@@ -262,25 +253,25 @@ function ge(e) {
|
|
|
262
253
|
altKey: !1
|
|
263
254
|
});
|
|
264
255
|
}, [h]);
|
|
265
|
-
let U =
|
|
256
|
+
let U = E((e) => {
|
|
266
257
|
y && V(e);
|
|
267
|
-
}, [y, V]), W =
|
|
258
|
+
}, [y, V]), W = E((e) => {
|
|
268
259
|
h || m?.(e);
|
|
269
|
-
}, [h, m]), G =
|
|
260
|
+
}, [h, m]), G = E((e, t) => {
|
|
270
261
|
if (!h && m) {
|
|
271
262
|
let n = new MouseEvent("click", e);
|
|
272
263
|
l(n, t), m(b(n));
|
|
273
264
|
}
|
|
274
|
-
}, [h, m]),
|
|
265
|
+
}, [h, m]), K = k(() => {
|
|
275
266
|
let e = M.current, t = {
|
|
276
267
|
onKeyDown(t) {
|
|
277
|
-
if (
|
|
278
|
-
|
|
268
|
+
if (xe(t.nativeEvent, t.currentTarget) && f(t.currentTarget, d(t))) {
|
|
269
|
+
Oe(d(t), t.key) && t.preventDefault();
|
|
279
270
|
let r = !0;
|
|
280
271
|
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = F(t, "keyboard"));
|
|
281
272
|
let i = t.currentTarget;
|
|
282
|
-
N(o(t.currentTarget), "keyup",
|
|
283
|
-
|
|
273
|
+
N(o(t.currentTarget), "keyup", R((t) => {
|
|
274
|
+
xe(t, i) && !t.repeat && f(i, d(t)) && e.target && B($(e.target, t), "keyboard");
|
|
284
275
|
}, n), !0), r && t.stopPropagation(), t.metaKey && c() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
|
|
285
276
|
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
286
277
|
},
|
|
@@ -298,10 +289,10 @@ function ge(e) {
|
|
|
298
289
|
}
|
|
299
290
|
}
|
|
300
291
|
}, n = (t) => {
|
|
301
|
-
if (e.isPressed && e.target &&
|
|
302
|
-
|
|
292
|
+
if (e.isPressed && e.target && xe(t, e.target)) {
|
|
293
|
+
Oe(d(t), t.key) && t.preventDefault();
|
|
303
294
|
let n = d(t), r = f(e.target, n);
|
|
304
|
-
z($(e.target, t), "keyboard", r), r && G(t, e.target), P(), t.key !== "Enter" &&
|
|
295
|
+
z($(e.target, t), "keyboard", r), r && G(t, e.target), P(), t.key !== "Enter" && be(e.target) && f(e.target, n) && !t[ge] && (t[ge] = !0, p(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
|
|
305
296
|
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
|
|
306
297
|
let t = e.metaKeyEvents;
|
|
307
298
|
e.metaKeyEvents = void 0;
|
|
@@ -318,7 +309,7 @@ function ge(e) {
|
|
|
318
309
|
e.pointerType = t.pointerType;
|
|
319
310
|
let i = !0;
|
|
320
311
|
if (!e.isPressed) {
|
|
321
|
-
e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, S ||
|
|
312
|
+
e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, S || ne(e.target), i = F(t, e.pointerType);
|
|
322
313
|
let a = d(t);
|
|
323
314
|
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), N(o(t.currentTarget), "pointerup", n, !1), N(o(t.currentTarget), "pointercancel", r, !1);
|
|
324
315
|
}
|
|
@@ -357,15 +348,14 @@ function ge(e) {
|
|
|
357
348
|
} else if (process.env.NODE_ENV === "test") {
|
|
358
349
|
t.onMouseDown = (t) => {
|
|
359
350
|
if (t.button === 0 && f(t.currentTarget, d(t))) {
|
|
360
|
-
if (e.ignoreEmulatedMouseEvents)
|
|
361
|
-
|
|
362
|
-
|
|
351
|
+
if (e.ignoreEmulatedMouseEvents) t.stopPropagation();
|
|
352
|
+
else {
|
|
353
|
+
if (e.isPressed = !0, e.isOverTarget = !0, e.target = t.currentTarget, e.pointerType = g(t.nativeEvent) ? "virtual" : "mouse", L(() => F(t, e.pointerType)) && t.stopPropagation(), v) {
|
|
354
|
+
let n = u(t.target);
|
|
355
|
+
n && e.disposables.push(n);
|
|
356
|
+
}
|
|
357
|
+
N(o(t.currentTarget), "mouseup", n, !1);
|
|
363
358
|
}
|
|
364
|
-
if (e.isPressed = !0, e.isOverTarget = !0, e.target = t.currentTarget, e.pointerType = g(t.nativeEvent) ? "virtual" : "mouse", I(() => F(t, e.pointerType)) && t.stopPropagation(), v) {
|
|
365
|
-
let n = u(t.target);
|
|
366
|
-
n && e.disposables.push(n);
|
|
367
|
-
}
|
|
368
|
-
N(o(t.currentTarget), "mouseup", n, !1);
|
|
369
359
|
}
|
|
370
360
|
}, t.onMouseEnter = (t) => {
|
|
371
361
|
if (!f(t.currentTarget, d(t))) return;
|
|
@@ -379,34 +369,28 @@ function ge(e) {
|
|
|
379
369
|
f(t.currentTarget, d(t)) && !e.ignoreEmulatedMouseEvents && t.button === 0 && !e.isPressed && B(t, e.pointerType || "mouse");
|
|
380
370
|
};
|
|
381
371
|
let n = (t) => {
|
|
382
|
-
|
|
383
|
-
if (e.ignoreEmulatedMouseEvents) {
|
|
384
|
-
e.ignoreEmulatedMouseEvents = !1;
|
|
385
|
-
return;
|
|
386
|
-
}
|
|
387
|
-
e.target && f(e.target, d(t)) && e.pointerType != null || H(t), e.isOverTarget = !1;
|
|
388
|
-
}
|
|
372
|
+
t.button === 0 && (e.ignoreEmulatedMouseEvents ? e.ignoreEmulatedMouseEvents = !1 : (e.target && f(e.target, d(t)) && e.pointerType != null || H(t), e.isOverTarget = !1));
|
|
389
373
|
};
|
|
390
374
|
t.onTouchStart = (t) => {
|
|
391
375
|
if (!f(t.currentTarget, d(t))) return;
|
|
392
|
-
let n =
|
|
393
|
-
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", S ||
|
|
376
|
+
let n = Se(t.nativeEvent);
|
|
377
|
+
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", S || ne(e.target), F(Q(e.target, t), e.pointerType) && t.stopPropagation(), N(x(t.currentTarget), "scroll", r, !0));
|
|
394
378
|
}, t.onTouchMove = (t) => {
|
|
395
379
|
if (!f(t.currentTarget, d(t))) return;
|
|
396
380
|
if (!e.isPressed) {
|
|
397
381
|
t.stopPropagation();
|
|
398
382
|
return;
|
|
399
383
|
}
|
|
400
|
-
let n =
|
|
401
|
-
n &&
|
|
384
|
+
let n = Ce(t.nativeEvent, e.activePointerId), r = !0;
|
|
385
|
+
n && Ee(n, t.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, r = F(Q(e.target, t), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, r = z(Q(e.target, t), e.pointerType, !1), U(Q(e.target, t))), r && t.stopPropagation();
|
|
402
386
|
}, t.onTouchEnd = (t) => {
|
|
403
387
|
if (!f(t.currentTarget, d(t))) return;
|
|
404
388
|
if (!e.isPressed) {
|
|
405
389
|
t.stopPropagation();
|
|
406
390
|
return;
|
|
407
391
|
}
|
|
408
|
-
let n =
|
|
409
|
-
n &&
|
|
392
|
+
let n = Ce(t.nativeEvent, e.activePointerId), r = !0;
|
|
393
|
+
n && Ee(n, t.currentTarget) && e.pointerType != null ? (B(Q(e.target, t), e.pointerType), r = z(Q(e.target, t), e.pointerType), G(t.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (r = z(Q(e.target, t), e.pointerType, !1)), r && t.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !S && X(e.target), P();
|
|
410
394
|
}, t.onTouchCancel = (t) => {
|
|
411
395
|
f(t.currentTarget, d(t)) && (t.stopPropagation(), e.isPressed && H(Q(e.target, t)));
|
|
412
396
|
};
|
|
@@ -435,44 +419,44 @@ function ge(e) {
|
|
|
435
419
|
W,
|
|
436
420
|
G
|
|
437
421
|
]);
|
|
438
|
-
return
|
|
422
|
+
return O(() => {
|
|
439
423
|
if (!C || process.env.NODE_ENV === "test") return;
|
|
440
424
|
let e = o(C.current);
|
|
441
|
-
if (!e || !e.head || e.getElementById(
|
|
425
|
+
if (!e || !e.head || e.getElementById(_e)) return;
|
|
442
426
|
let t = e.createElement("style");
|
|
443
|
-
t.id =
|
|
444
|
-
let n =
|
|
427
|
+
t.id = _e;
|
|
428
|
+
let n = ae(e);
|
|
445
429
|
n && (t.nonce = n), t.textContent = `
|
|
446
430
|
@layer {
|
|
447
|
-
[${
|
|
431
|
+
[${ve}] {
|
|
448
432
|
touch-action: pan-x pan-y pinch-zoom;
|
|
449
433
|
}
|
|
450
434
|
}
|
|
451
435
|
`.trim(), e.head.prepend(t);
|
|
452
|
-
}, [C]),
|
|
436
|
+
}, [C]), O(() => {
|
|
453
437
|
let e = M.current;
|
|
454
438
|
return () => {
|
|
455
|
-
S ||
|
|
439
|
+
S || X(e.target ?? void 0);
|
|
456
440
|
for (let t of e.disposables) t();
|
|
457
441
|
e.disposables = [];
|
|
458
442
|
};
|
|
459
443
|
}, [S]), {
|
|
460
|
-
isPressed: _ ||
|
|
461
|
-
pressProps:
|
|
444
|
+
isPressed: _ || T,
|
|
445
|
+
pressProps: ue(w, K, { [ve]: !0 })
|
|
462
446
|
};
|
|
463
447
|
}
|
|
464
|
-
function
|
|
448
|
+
function be(e) {
|
|
465
449
|
return e.tagName === "A" && e.hasAttribute("href");
|
|
466
450
|
}
|
|
467
|
-
function
|
|
451
|
+
function xe(e, t) {
|
|
468
452
|
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
|
|
469
|
-
return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof x(i).HTMLInputElement && !
|
|
453
|
+
return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof x(i).HTMLInputElement && !Ae(i, n) || i instanceof x(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && be(i)) && n !== "Enter");
|
|
470
454
|
}
|
|
471
|
-
function
|
|
455
|
+
function Se(e) {
|
|
472
456
|
let { targetTouches: t } = e;
|
|
473
457
|
return t.length > 0 ? t[0] : null;
|
|
474
458
|
}
|
|
475
|
-
function
|
|
459
|
+
function Ce(e, t) {
|
|
476
460
|
let n = e.changedTouches;
|
|
477
461
|
for (let e = 0; e < n.length; e++) {
|
|
478
462
|
let r = n[e];
|
|
@@ -505,7 +489,7 @@ function $(e, t) {
|
|
|
505
489
|
key: t.key
|
|
506
490
|
};
|
|
507
491
|
}
|
|
508
|
-
function
|
|
492
|
+
function we(e) {
|
|
509
493
|
let t = 0, n = 0;
|
|
510
494
|
return e.width === void 0 ? e.radiusX !== void 0 && (t = e.radiusX) : t = e.width / 2, e.height === void 0 ? e.radiusY !== void 0 && (n = e.radiusY) : n = e.height / 2, {
|
|
511
495
|
top: e.clientY - n,
|
|
@@ -514,19 +498,19 @@ function be(e) {
|
|
|
514
498
|
left: e.clientX - t
|
|
515
499
|
};
|
|
516
500
|
}
|
|
517
|
-
function
|
|
501
|
+
function Te(e, t) {
|
|
518
502
|
return !(e.left > t.right || t.left > e.right || e.top > t.bottom || t.top > e.bottom);
|
|
519
503
|
}
|
|
520
|
-
function
|
|
521
|
-
return
|
|
504
|
+
function Ee(e, t) {
|
|
505
|
+
return Te(t.getBoundingClientRect(), we(e));
|
|
522
506
|
}
|
|
523
|
-
function
|
|
524
|
-
return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !
|
|
507
|
+
function De(e) {
|
|
508
|
+
return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !be(e);
|
|
525
509
|
}
|
|
526
|
-
function
|
|
527
|
-
return c() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !
|
|
510
|
+
function Oe(e, t) {
|
|
511
|
+
return c() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Ae(e, t) : De(e);
|
|
528
512
|
}
|
|
529
|
-
var
|
|
513
|
+
var ke = /* @__PURE__ */ new Set([
|
|
530
514
|
"checkbox",
|
|
531
515
|
"radio",
|
|
532
516
|
"range",
|
|
@@ -537,42 +521,41 @@ var Te = /* @__PURE__ */ new Set([
|
|
|
537
521
|
"submit",
|
|
538
522
|
"reset"
|
|
539
523
|
]);
|
|
540
|
-
function
|
|
541
|
-
return e.type === "checkbox" || e.type === "radio" ? t === " " :
|
|
524
|
+
function Ae(e, t) {
|
|
525
|
+
return e.type === "checkbox" || e.type === "radio" ? t === " " : ke.has(e.type);
|
|
542
526
|
}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
var De = e(), Oe = {
|
|
527
|
+
// src/components/Input/Select/ComboBoxTrigger/comboBoxTrigger.module.css
|
|
528
|
+
var je = e(), Me = {
|
|
546
529
|
trigger: "_trigger_83n0r_2",
|
|
547
530
|
input: "_input_83n0r_26"
|
|
548
|
-
},
|
|
549
|
-
let o = (0,
|
|
531
|
+
}, Ne = (e) => {
|
|
532
|
+
let o = (0, je.c)(36), s, c, l, u, d;
|
|
550
533
|
o[0] === e ? (s = o[1], c = o[2], l = o[3], u = o[4], d = o[5]) : ({className: s, placeholder: l, dir: c, ref: d, ...u} = e, o[0] = e, o[1] = s, o[2] = c, o[3] = l, o[4] = u, o[5] = d);
|
|
551
|
-
let f =
|
|
534
|
+
let f = I(d), { isInvalid: p, isDisabled: m, isOpen: ee } = D(C), g;
|
|
552
535
|
o[6] === Symbol.for("react.memo_cache_sentinel") ? (g = { isTextInput: !0 }, o[6] = g) : g = o[6];
|
|
553
536
|
let { isFocused: _, isFocusVisible: te, focusProps: v } = h(g), b;
|
|
554
537
|
o[7] === Symbol.for("react.memo_cache_sentinel") ? (b = {}, o[7] = b) : b = o[7];
|
|
555
|
-
let { isHovered: x, hoverProps:
|
|
538
|
+
let { isHovered: x, hoverProps: S } = y(b), T;
|
|
556
539
|
o[8] === f ? T = o[9] : (T = { onPress: () => {
|
|
557
540
|
f.current?.focus();
|
|
558
541
|
} }, o[8] = f, o[9] = T);
|
|
559
|
-
let { pressProps:
|
|
560
|
-
o[10] !== O || o[11] !== k || o[12] !== A || o[13] !==
|
|
542
|
+
let { pressProps: E } = ye(T), O = x || void 0, k = _ || void 0, A = te || void 0, j = p || void 0, L = m || void 0, R = ee || void 0, z;
|
|
543
|
+
o[10] !== O || o[11] !== k || o[12] !== A || o[13] !== j || o[14] !== L || o[15] !== R ? (z = {
|
|
561
544
|
"data-hovered": O,
|
|
562
545
|
"data-focused": k,
|
|
563
546
|
"data-focus-visible": A,
|
|
564
547
|
"data-trailing": !0,
|
|
565
|
-
"data-invalid":
|
|
548
|
+
"data-invalid": j,
|
|
566
549
|
"data-input": !0,
|
|
567
550
|
"data-disabled": L,
|
|
568
551
|
"data-open": R
|
|
569
|
-
}, o[10] = O, o[11] = k, o[12] = A, o[13] =
|
|
552
|
+
}, o[10] = O, o[11] = k, o[12] = A, o[13] = j, o[14] = L, o[15] = R, o[16] = z) : z = o[16];
|
|
570
553
|
let B = z, V;
|
|
571
|
-
o[17] === s ? V = o[18] : (V =
|
|
554
|
+
o[17] === s ? V = o[18] : (V = w(a, s), o[17] = s, o[18] = V);
|
|
572
555
|
let H;
|
|
573
|
-
o[19] === Symbol.for("react.memo_cache_sentinel") ? (H =
|
|
556
|
+
o[19] === Symbol.for("react.memo_cache_sentinel") ? (H = w(r, i, t.bodyLarge, Me.input), o[19] = H) : H = o[19];
|
|
574
557
|
let U;
|
|
575
|
-
o[20] !== c || o[21] !== v || o[22] !== f || o[23] !== l ? (U = /* @__PURE__ */
|
|
558
|
+
o[20] !== c || o[21] !== v || o[22] !== f || o[23] !== l ? (U = /* @__PURE__ */ M(P, {
|
|
576
559
|
ref: f,
|
|
577
560
|
...v,
|
|
578
561
|
placeholder: l,
|
|
@@ -581,25 +564,24 @@ var De = e(), Oe = {
|
|
|
581
564
|
dir: c
|
|
582
565
|
}), o[20] = c, o[21] = v, o[22] = f, o[23] = l, o[24] = U) : U = o[24];
|
|
583
566
|
let W;
|
|
584
|
-
o[25] === Symbol.for("react.memo_cache_sentinel") ? (W =
|
|
567
|
+
o[25] === Symbol.for("react.memo_cache_sentinel") ? (W = w(Me.trigger), o[25] = W) : W = o[25];
|
|
585
568
|
let G = p || void 0, K;
|
|
586
|
-
o[26] === G ? K = o[27] : (K = /* @__PURE__ */
|
|
569
|
+
o[26] === G ? K = o[27] : (K = /* @__PURE__ */ M(n, {
|
|
587
570
|
className: W,
|
|
588
|
-
icon:
|
|
571
|
+
icon: F,
|
|
589
572
|
color: "standard",
|
|
590
573
|
"data-invalid": G
|
|
591
574
|
}), o[26] = G, o[27] = K);
|
|
592
575
|
let q;
|
|
593
|
-
return o[28] !== B || o[29] !==
|
|
594
|
-
...
|
|
595
|
-
...
|
|
576
|
+
return o[28] !== B || o[29] !== S || o[30] !== E || o[31] !== u || o[32] !== V || o[33] !== U || o[34] !== K ? (q = /* @__PURE__ */ N("span", {
|
|
577
|
+
...E,
|
|
578
|
+
...S,
|
|
596
579
|
className: V,
|
|
597
580
|
...u,
|
|
598
581
|
...B,
|
|
599
582
|
children: [U, K]
|
|
600
|
-
}), o[28] = B, o[29] =
|
|
583
|
+
}), o[28] = B, o[29] = S, o[30] = E, o[31] = u, o[32] = V, o[33] = U, o[34] = K, o[35] = q) : q = o[35], q;
|
|
601
584
|
};
|
|
602
|
-
|
|
603
|
-
export { ke as t };
|
|
585
|
+
export { Ne as t };
|
|
604
586
|
|
|
605
587
|
//# sourceMappingURL=ComboBoxTrigger.map
|