@adgytec/adgytec-web-ui-components 2.2.0 → 2.3.1
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/dist/App.d.ts +2 -2
- package/dist/assets/AppBarHeadline.css +1 -1
- package/dist/assets/CalendarCell.css +1 -1
- package/dist/assets/CalendarMenuItem.css +1 -1
- package/dist/assets/Card.css +1 -0
- package/dist/assets/CardIcon.css +1 -0
- package/dist/assets/ConnectedButtonGroup.css +1 -1
- package/dist/assets/ListAvatar.css +1 -0
- package/dist/assets/ListBox.css +1 -0
- package/dist/assets/ListIcon.css +1 -0
- package/dist/assets/ListItem.css +1 -0
- package/dist/assets/ListLabelText.css +1 -0
- package/dist/assets/ListMedia.css +1 -0
- package/dist/assets/ListOverlineText.css +1 -0
- package/dist/assets/ListSupportingText.css +1 -0
- package/dist/assets/ListTrailingText.css +1 -0
- package/dist/assets/NavigationScrollContainer.css +1 -1
- package/dist/assets/SideSheet.css +1 -1
- package/dist/assets/Snackbar.css +1 -1
- package/dist/assets/core7.css +1 -1
- package/dist/chunks/ActionDialog.map +1 -1
- package/dist/chunks/AppBar +42 -42
- package/dist/chunks/AppBar.map +1 -1
- package/dist/chunks/AppBarAction.map +1 -1
- package/dist/chunks/AppBarAvatar.map +1 -1
- package/dist/chunks/AppBarHeadline +2 -2
- package/dist/chunks/AppBarHeadline.map +1 -1
- package/dist/chunks/BaseCalendar +69 -63
- package/dist/chunks/BaseCalendar.map +1 -1
- package/dist/chunks/BottomSheet.map +1 -1
- package/dist/chunks/BottomSheetModal.map +1 -1
- package/dist/chunks/ButtonGroup.map +1 -1
- package/dist/chunks/CalendarCell +25 -39
- package/dist/chunks/CalendarCell.map +1 -1
- package/dist/chunks/CalendarGrid.map +1 -1
- package/dist/chunks/CalendarMenuItem +1 -1
- package/dist/chunks/CalendarMenuItem.map +1 -1
- package/dist/chunks/Card +22 -0
- package/dist/chunks/Card.map +1 -0
- package/dist/chunks/CardIcon +23 -0
- package/dist/chunks/CardIcon.map +1 -0
- package/dist/chunks/CenteredSlider.map +1 -1
- package/dist/chunks/ComboBox.map +1 -1
- package/dist/chunks/ComboBoxPopover.map +1 -1
- package/dist/chunks/ComboBoxTrigger +592 -62
- package/dist/chunks/ComboBoxTrigger.map +1 -1
- package/dist/chunks/ConnectedButtonGroup +19 -16
- package/dist/chunks/ConnectedButtonGroup.map +1 -1
- package/dist/chunks/Dialog.map +1 -1
- package/dist/chunks/Disclosure.map +1 -1
- package/dist/chunks/DisclosureGroup.map +1 -1
- package/dist/chunks/DisclosureHeader.map +1 -1
- package/dist/chunks/DisclosurePanel.map +1 -1
- package/dist/chunks/Divider.map +1 -1
- package/dist/chunks/FieldError.map +1 -1
- package/dist/chunks/GridBackgroundDecorator.map +1 -1
- package/dist/chunks/Icon.map +1 -1
- package/dist/chunks/Input.map +1 -1
- package/dist/chunks/Input2 +2 -1
- package/dist/chunks/Input2.map +1 -1
- package/dist/chunks/ListAction +13 -0
- package/dist/chunks/ListAction.map +1 -0
- package/dist/chunks/ListAvatar +20 -0
- package/dist/chunks/ListAvatar.map +1 -0
- package/dist/chunks/ListBox +16 -0
- package/dist/chunks/ListBox.map +1 -0
- package/dist/chunks/ListIcon +21 -0
- package/dist/chunks/ListIcon.map +1 -0
- package/dist/chunks/ListItem +63 -0
- package/dist/chunks/ListItem.map +1 -0
- package/dist/chunks/ListLabelText +22 -0
- package/dist/chunks/ListLabelText.map +1 -0
- package/dist/chunks/ListMedia +15 -0
- package/dist/chunks/ListMedia.map +1 -0
- package/dist/chunks/ListOverlineText +21 -0
- package/dist/chunks/ListOverlineText.map +1 -0
- package/dist/chunks/ListSupportingText +22 -0
- package/dist/chunks/ListSupportingText.map +1 -0
- package/dist/chunks/ListTrailingText +21 -0
- package/dist/chunks/ListTrailingText.map +1 -0
- package/dist/chunks/Loader.map +1 -1
- package/dist/chunks/MenuPopover.map +1 -1
- package/dist/chunks/Modal.map +1 -1
- package/dist/chunks/ModalOverlay.map +1 -1
- package/dist/chunks/Navigation +20 -20
- package/dist/chunks/Navigation.map +1 -1
- package/dist/chunks/NavigationScrollContainer +48 -32
- package/dist/chunks/NavigationScrollContainer.map +1 -1
- package/dist/chunks/NavigationSection.map +1 -1
- package/dist/chunks/NavigationSectionLabel.map +1 -1
- package/dist/chunks/Popover.map +1 -1
- package/dist/chunks/RadialGlowDecorator.map +1 -1
- package/dist/chunks/Radio.map +1 -1
- package/dist/chunks/RichTooltip.map +1 -1
- package/dist/chunks/RichTooltipActions.map +1 -1
- package/dist/chunks/RichTooltipInfo.map +1 -1
- package/dist/chunks/SearchField.map +1 -1
- package/dist/chunks/SelectPopover.map +1 -1
- package/dist/chunks/SelectTrigger.map +1 -1
- package/dist/chunks/SideSheet +7 -7
- package/dist/chunks/SideSheet.map +1 -1
- package/dist/chunks/SideSheetModal.map +1 -1
- package/dist/chunks/Slider.map +1 -1
- package/dist/chunks/SliderOutput.map +1 -1
- package/dist/chunks/SliderStops +3 -3
- package/dist/chunks/SliderStops.map +1 -1
- package/dist/chunks/SliderThumb.map +1 -1
- package/dist/chunks/Snackbar +18 -27
- package/dist/chunks/Snackbar.map +1 -1
- package/dist/chunks/SplitButton +13 -10
- package/dist/chunks/SplitButton.map +1 -1
- package/dist/chunks/SplitButtonTrigger +8 -7
- package/dist/chunks/SplitButtonTrigger.map +1 -1
- package/dist/chunks/SubmenuPopover.map +1 -1
- package/dist/chunks/Switch.map +1 -1
- package/dist/chunks/Tab.map +1 -1
- package/dist/chunks/TabList.map +1 -1
- package/dist/chunks/TabPanel.map +1 -1
- package/dist/chunks/TabPanels.map +1 -1
- package/dist/chunks/Tabs.map +1 -1
- package/dist/chunks/Tag.map +1 -1
- package/dist/chunks/ThemeSelector +75 -71
- package/dist/chunks/ThemeSelector.map +1 -1
- package/dist/chunks/Toolbar.map +1 -1
- package/dist/chunks/Tooltip.map +1 -1
- package/dist/chunks/base.map +1 -1
- package/dist/chunks/compiler-runtime +2 -2
- package/dist/chunks/compiler-runtime.map +1 -1
- package/dist/chunks/context.map +1 -1
- package/dist/chunks/core +27 -25
- package/dist/chunks/core.map +1 -1
- package/dist/chunks/core2.map +1 -1
- package/dist/chunks/core3.map +1 -1
- package/dist/chunks/core4.map +1 -1
- package/dist/chunks/core5.map +1 -1
- package/dist/chunks/core6 +11 -11
- package/dist/chunks/core6.map +1 -1
- package/dist/chunks/core7.map +1 -1
- package/dist/chunks/core8.map +1 -1
- package/dist/chunks/core9.map +1 -1
- package/dist/chunks/navContext.map +1 -1
- package/dist/chunks/tapTarget.map +1 -1
- package/dist/chunks/types +6 -0
- package/dist/chunks/types.map +1 -0
- package/dist/chunks/useHover +460 -153
- package/dist/chunks/useHover.map +1 -1
- package/dist/chunks/useSplash +17 -19
- package/dist/chunks/useSplash.map +1 -1
- package/dist/components/AppBar/AppBar/AppBar.d.ts +29 -0
- package/dist/components/AppBar/AppBar/types.d.ts +29 -4
- package/dist/components/AppBar/AppBarAction/AppBarAction.d.ts +19 -1
- package/dist/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +20 -1
- package/dist/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +19 -1
- package/dist/components/AppBar/AppBarState/AppBarState.d.ts +28 -2
- package/dist/components/AppBar/AppBarState/context.d.ts +37 -0
- package/dist/components/AppBar/AppBarState/index.js +16 -10
- package/dist/components/AppBar/AppBarState/index.js.map +1 -1
- package/dist/components/AppBar/core/alignment.d.ts +6 -0
- package/dist/components/AppBar/core/context.d.ts +16 -0
- package/dist/components/AppBar/core/index.js.map +1 -1
- package/dist/components/AppBar/core/size.d.ts +13 -0
- package/dist/components/AppBar/index.js +7 -7
- package/dist/components/Button/Button/Button.d.ts +17 -0
- package/dist/components/Button/Button/index.js.map +1 -1
- package/dist/components/Button/Button/types.d.ts +4 -0
- package/dist/components/Button/ButtonGroups/ButtonGroup/ButtonGroup.d.ts +17 -0
- package/dist/components/Button/ButtonGroups/ButtonGroup/types.d.ts +24 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/context.d.ts +22 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/useButtonGroupContext.d.ts +5 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/useConnectedButtonGroupContext.d.ts +5 -0
- package/dist/components/Button/ButtonGroups/ConnectedButton/ConnectedButton.d.ts +13 -0
- package/dist/components/Button/ButtonGroups/ConnectedButton/types.d.ts +19 -1
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +18 -0
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/types.d.ts +24 -0
- package/dist/components/Button/IconButton/IconButton.d.ts +21 -0
- package/dist/components/Button/IconButton/index.js.map +1 -1
- package/dist/components/Button/IconButton/types.d.ts +4 -0
- package/dist/components/Button/LinkButton/LinkButton.d.ts +15 -0
- package/dist/components/Button/LinkButton/index.js.map +1 -1
- package/dist/components/Button/LinkButton/types.d.ts +4 -0
- package/dist/components/Button/LinkIconButton/LinkIconButton.d.ts +19 -0
- package/dist/components/Button/LinkIconButton/index.js.map +1 -1
- package/dist/components/Button/LinkIconButton/types.d.ts +4 -0
- package/dist/components/Button/SplitButton/SplitButton/SplitButton.d.ts +24 -0
- package/dist/components/Button/SplitButton/SplitButton/types.d.ts +23 -0
- package/dist/components/Button/SplitButton/SplitButtonContext/context.d.ts +11 -0
- package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
- package/dist/components/Button/SplitButton/SplitButtonContext/useSplitButtonContext.d.ts +5 -0
- package/dist/components/Button/SplitButton/SplitButtonPrimary/SplitButtonPrimary.d.ts +15 -0
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +2 -2
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/SplitButton/SplitButtonPrimary/types.d.ts +11 -0
- package/dist/components/Button/SplitButton/SplitButtonTrigger/SplitButtonTrigger.d.ts +19 -0
- package/dist/components/Button/SplitButton/SplitButtonTrigger/types.d.ts +5 -0
- package/dist/components/Button/SplitButton/core/size.d.ts +13 -0
- package/dist/components/Button/ToggleButton/ToggleButton.d.ts +21 -0
- package/dist/components/Button/ToggleButton/index.js.map +1 -1
- package/dist/components/Button/ToggleButton/types.d.ts +14 -0
- package/dist/components/Button/ToggleIconButton/ToggleIconButton.d.ts +21 -0
- package/dist/components/Button/ToggleIconButton/index.js.map +1 -1
- package/dist/components/Button/ToggleIconButton/types.d.ts +9 -0
- package/dist/components/Button/core/button.d.ts +33 -0
- package/dist/components/Button/core/color.d.ts +38 -0
- package/dist/components/Button/core/shape.d.ts +6 -0
- package/dist/components/Button/core/sizes.d.ts +26 -0
- package/dist/components/Button/core/useButtonConfig.d.ts +25 -0
- package/dist/components/Button/core/variant.d.ts +6 -0
- package/dist/components/Button/core/width.d.ts +7 -0
- package/dist/components/Button/core/withTooltip.d.ts +9 -2
- package/dist/components/Calendar/BaseCalendar/BaseCalendar.d.ts +23 -2
- package/dist/components/Calendar/Calendar/Calendar.d.ts +39 -2
- package/dist/components/Calendar/Calendar/index.js +18 -12
- package/dist/components/Calendar/Calendar/index.js.map +1 -1
- package/dist/components/Calendar/CalendarCell/CalendarCell.d.ts +14 -2
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts +12 -2
- package/dist/components/Calendar/CalendarMenuItem/CalendarMenuItem.d.ts +12 -1
- package/dist/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.d.ts +14 -2
- package/dist/components/Calendar/CalendarMonthMenu/index.js +2 -2
- package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
- package/dist/components/Calendar/CalendarYearMenu/CalendarYearMenu.d.ts +14 -2
- package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
- package/dist/components/Calendar/RangeCalendar/RangeCalendar.d.ts +40 -2
- package/dist/components/Calendar/RangeCalendar/index.js +19 -15
- package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
- package/dist/components/Calendar/core/calendar.d.ts +26 -0
- package/dist/components/Calendar/core/useCalendarState.d.ts +15 -0
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Calendar/index.js +4 -3
- package/dist/components/Card/Card/Card.d.ts +22 -0
- package/dist/components/{Image → Card/Card}/index.d.ts +1 -1
- package/dist/components/Card/Card/index.js +3 -0
- package/dist/components/Card/Card/types.d.ts +30 -0
- package/dist/components/Card/CardIcon/CardIcon.d.ts +26 -0
- package/dist/components/Card/CardIcon/index.d.ts +1 -0
- package/dist/components/Card/CardIcon/index.js +2 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.js +4 -0
- package/dist/components/Decorators/GridBackgroundDecorator/GridBackgroundDecorator.d.ts +46 -7
- package/dist/components/Decorators/RadialGlowDecorator/RadialGlowDecorator.d.ts +53 -6
- package/dist/components/Dialog/ActionDialog/ActionDialog.d.ts +33 -0
- package/dist/components/Dialog/ActionDialog/types.d.ts +28 -2
- package/dist/components/Dialog/Dialog/Dialog.d.ts +32 -1
- package/dist/components/Dialog/Modal/Modal.d.ts +24 -1
- package/dist/components/Dialog/ModalOverlay/ModalOverlay.d.ts +25 -1
- package/dist/components/Dialog/core/context.d.ts +8 -0
- package/dist/components/Dialog/core/index.js.map +1 -1
- package/dist/components/Dialog/core/typography.d.ts +9 -0
- package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +25 -1
- package/dist/components/Disclosure/DisclosureGroup/DisclosureGroup.d.ts +50 -2
- package/dist/components/Disclosure/DisclosureHeader/DisclosureHeader.d.ts +31 -2
- package/dist/components/Disclosure/DisclosurePanel/DisclosurePanel.d.ts +31 -2
- package/dist/components/Disclosure/context/context.d.ts +11 -2
- package/dist/components/Disclosure/context/index.js.map +1 -1
- package/dist/components/Disclosure/context/useDisclosureTypographyContext.d.ts +18 -2
- package/dist/components/Divider/Divider.d.ts +30 -1
- package/dist/components/Icon/Icon.d.ts +29 -0
- package/dist/components/Icon/types.d.ts +28 -0
- package/dist/components/Input/CharacterCount/CharacterCount.d.ts +11 -2
- package/dist/components/Input/CharacterCount/index.js.map +1 -1
- package/dist/components/Input/Checkbox/Checkbox.d.ts +15 -0
- package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +17 -0
- package/dist/components/Input/Checkbox/context.d.ts +10 -2
- package/dist/components/Input/Checkbox/types.d.ts +42 -0
- package/dist/components/Input/DateField/DateField.d.ts +17 -1
- package/dist/components/Input/DateField/index.js.map +1 -1
- package/dist/components/Input/DateField/types.d.ts +4 -0
- package/dist/components/Input/DatePicker/DatePicker/DatePicker.d.ts +17 -1
- package/dist/components/Input/DatePicker/DatePicker/index.js.map +1 -1
- package/dist/components/Input/DatePicker/DatePicker/types.d.ts +10 -0
- package/dist/components/Input/DatePicker/DateRangePicker/DateRangePicker.d.ts +17 -1
- package/dist/components/Input/DatePicker/DateRangePicker/index.js.map +1 -1
- package/dist/components/Input/DatePicker/DateRangePicker/types.d.ts +10 -0
- package/dist/components/Input/DatePicker/core/datePicker.d.ts +3 -0
- package/dist/components/Input/Description/Description.d.ts +12 -1
- package/dist/components/Input/Description/index.js.map +1 -1
- package/dist/components/Input/FieldError/FieldError.d.ts +12 -1
- package/dist/components/Input/Input/Input.d.ts +27 -0
- package/dist/components/Input/Input/InputButton.d.ts +10 -1
- package/dist/components/Input/Input/handleInputButton.d.ts +6 -0
- package/dist/components/Input/Input/types.d.ts +20 -0
- package/dist/components/Input/Label/Label.d.ts +12 -1
- package/dist/components/Input/Label/index.js.map +1 -1
- package/dist/components/Input/Radio/Radio.d.ts +16 -0
- package/dist/components/Input/Radio/RadioGroup.d.ts +17 -0
- package/dist/components/Input/Radio/context.d.ts +10 -2
- package/dist/components/Input/Radio/types.d.ts +40 -0
- package/dist/components/Input/SearchField/SearchField.d.ts +16 -0
- package/dist/components/Input/SearchField/types.d.ts +9 -0
- package/dist/components/Input/Select/ComboBox/ComboBox.d.ts +29 -1
- package/dist/components/Input/Select/ComboBox/context.d.ts +3 -0
- package/dist/components/Input/Select/ComboBox/types.d.ts +9 -0
- package/dist/components/Input/Select/ComboBoxPopover/ComboBoxPopover.d.ts +10 -1
- package/dist/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.d.ts +10 -2
- package/dist/components/Input/Select/Select/Select.d.ts +29 -1
- package/dist/components/Input/Select/Select/index.js.map +1 -1
- package/dist/components/Input/Select/Select/types.d.ts +4 -0
- package/dist/components/Input/Select/SelectItem/SelectItem.d.ts +19 -0
- package/dist/components/Input/Select/SelectItem/index.js.map +1 -1
- package/dist/components/Input/Select/SelectItem/types.d.ts +9 -0
- package/dist/components/Input/Select/SelectList/SelectList.d.ts +14 -2
- package/dist/components/Input/Select/SelectList/index.js.map +1 -1
- package/dist/components/Input/Select/SelectListSection/SelectListSection.d.ts +4 -1
- package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
- package/dist/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.d.ts +3 -0
- package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
- package/dist/components/Input/Select/SelectPopover/SelectPopover.d.ts +10 -1
- package/dist/components/Input/Select/SelectTrigger/SelectTrigger.d.ts +10 -1
- package/dist/components/Input/Slider/CenteredSlider/CenteredSlider.d.ts +23 -1
- package/dist/components/Input/Slider/CenteredSlider/types.d.ts +6 -0
- package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +24 -1
- package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
- package/dist/components/Input/Slider/RangeSlider/types.d.ts +9 -0
- package/dist/components/Input/Slider/Slider/Slider.d.ts +24 -1
- package/dist/components/Input/Slider/Slider/types.d.ts +13 -0
- package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +19 -1
- package/dist/components/Input/Slider/SliderStops/SliderStops.d.ts +18 -0
- package/dist/components/Input/Slider/SliderStops/core.d.ts +54 -10
- package/dist/components/Input/Slider/SliderStops/types.d.ts +38 -0
- package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +32 -2
- package/dist/components/Input/Slider/SliderThumb/context.d.ts +20 -0
- package/dist/components/Input/Slider/core/color.d.ts +1 -0
- package/dist/components/Input/Slider/core/size.d.ts +12 -0
- package/dist/components/Input/Slider/core/slider.d.ts +44 -0
- package/dist/components/Input/Slider/core/variant.d.ts +10 -0
- package/dist/components/Input/Switch/Switch.d.ts +15 -0
- package/dist/components/Input/Switch/types.d.ts +33 -0
- package/dist/components/Input/TextArea/TextArea.d.ts +19 -0
- package/dist/components/Input/TextArea/index.js.map +1 -1
- package/dist/components/Input/TextArea/types.d.ts +11 -0
- package/dist/components/Input/TimeField/TimeField.d.ts +17 -1
- package/dist/components/Input/TimeField/index.js.map +1 -1
- package/dist/components/Input/TimeField/types.d.ts +4 -0
- package/dist/components/Input/core/input.d.ts +15 -0
- package/dist/components/Input/core/textField.d.ts +13 -0
- package/dist/components/Input/hooks/index.js.map +1 -1
- package/dist/components/Input/hooks/useControllableState.d.ts +17 -2
- package/dist/components/List/ListAction/ListAction.d.ts +24 -0
- package/dist/components/List/ListAction/index.d.ts +1 -0
- package/dist/components/List/ListAction/index.js +2 -0
- package/dist/components/List/ListAvatar/ListAvatar.d.ts +23 -0
- package/dist/components/List/ListAvatar/index.d.ts +1 -0
- package/dist/components/List/ListAvatar/index.js +2 -0
- package/dist/components/List/ListBox/ListBox.d.ts +29 -0
- package/dist/components/List/ListBox/index.d.ts +2 -0
- package/dist/components/List/ListBox/index.js +2 -0
- package/dist/components/List/ListBox/types.d.ts +20 -0
- package/dist/components/List/ListIcon/ListIcon.d.ts +20 -0
- package/dist/components/List/ListIcon/index.d.ts +1 -0
- package/dist/components/List/ListIcon/index.js +2 -0
- package/dist/components/List/ListItem/ListItem.d.ts +36 -0
- package/dist/components/List/ListItem/index.d.ts +2 -0
- package/dist/components/List/ListItem/index.js +2 -0
- package/dist/components/List/ListItem/types.d.ts +30 -0
- package/dist/components/List/ListLabelText/ListLabelText.d.ts +17 -0
- package/dist/components/List/ListLabelText/index.d.ts +1 -0
- package/dist/components/List/ListLabelText/index.js +2 -0
- package/dist/components/List/ListMedia/ListMedia.d.ts +22 -0
- package/dist/components/List/ListMedia/index.d.ts +2 -0
- package/dist/components/List/ListMedia/index.js +2 -0
- package/dist/components/List/ListMedia/types.d.ts +42 -0
- package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +17 -0
- package/dist/components/List/ListOverlineText/index.d.ts +1 -0
- package/dist/components/List/ListOverlineText/index.js +2 -0
- package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +17 -0
- package/dist/components/List/ListSupportingText/index.d.ts +1 -0
- package/dist/components/List/ListSupportingText/index.js +2 -0
- package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +17 -0
- package/dist/components/List/ListTrailingText/index.d.ts +1 -0
- package/dist/components/List/ListTrailingText/index.js +2 -0
- package/dist/components/List/index.d.ts +10 -0
- package/dist/components/List/index.js +11 -0
- package/dist/components/Loader/Loader.d.ts +26 -1
- package/dist/components/Menu/Menu/Menu.d.ts +31 -1
- package/dist/components/Menu/Menu/index.js.map +1 -1
- package/dist/components/Menu/Menu/types.d.ts +18 -0
- package/dist/components/Menu/MenuItem/MenuItem.d.ts +22 -0
- package/dist/components/Menu/MenuItem/index.js.map +1 -1
- package/dist/components/Menu/MenuItem/types.d.ts +24 -0
- package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +21 -1
- package/dist/components/Menu/MenuSection/MenuSection.d.ts +23 -1
- package/dist/components/Menu/MenuSection/index.js.map +1 -1
- package/dist/components/Menu/MenuSectionHeader/MenuSectionHeader.d.ts +16 -1
- package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
- package/dist/components/Menu/MenuShortcut/MenuShortcut.d.ts +16 -1
- package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
- package/dist/components/Menu/MenuTrailingText/MenuTrailingText.d.ts +16 -1
- package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
- package/dist/components/Menu/MenuTrigger/MenuTrigger.d.ts +43 -2
- package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
- package/dist/components/Menu/SubmenuPopover/SubmenuPopover.d.ts +22 -1
- package/dist/components/Menu/context/context.d.ts +13 -0
- package/dist/components/Menu/context/index.js.map +1 -1
- package/dist/components/Menu/context/useMenuConfigContext.d.ts +6 -0
- package/dist/components/Menu/core/color.d.ts +20 -0
- package/dist/components/Menu/core/layout.d.ts +17 -0
- package/dist/components/Menu/core/menu.d.ts +18 -0
- package/dist/components/Navigation/Navigation/Navigation.d.ts +28 -0
- package/dist/components/Navigation/Navigation/navContext.d.ts +19 -0
- package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +16 -0
- package/dist/components/Navigation/Navigation/types.d.ts +28 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +15 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationButton/types.d.ts +9 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +21 -2
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +15 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +5 -0
- package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +22 -0
- package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +22 -1
- package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +24 -1
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +16 -1
- package/dist/components/Navigation/NavigationState/NavigationState.d.ts +27 -2
- package/dist/components/Navigation/NavigationState/context.d.ts +32 -1
- package/dist/components/Navigation/NavigationState/index.d.ts +1 -0
- package/dist/components/Navigation/NavigationState/index.js +61 -2
- package/dist/components/Navigation/NavigationState/index.js.map +1 -0
- package/dist/components/Navigation/NavigationState/types.d.ts +12 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +35 -2
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +4 -4
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +40 -2
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +5 -5
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
- package/dist/components/Navigation/core/navLabelContext.d.ts +6 -0
- package/dist/components/Navigation/core/navigation.d.ts +9 -0
- package/dist/components/Navigation/core/navigationInfo.d.ts +19 -0
- package/dist/components/Navigation/index.js +2 -2
- package/dist/components/Popover/Popover.d.ts +34 -1
- package/dist/components/Sheets/BottomSheet/BottomSheet.d.ts +40 -2
- package/dist/components/Sheets/BottomSheet/index.d.ts +1 -0
- package/dist/components/Sheets/BottomSheet/types.d.ts +37 -0
- package/dist/components/Sheets/BottomSheetModal/BottomSheetModal.d.ts +34 -0
- package/dist/components/Sheets/BottomSheetModal/context.d.ts +10 -0
- package/dist/components/Sheets/BottomSheetModal/types.d.ts +38 -0
- package/dist/components/Sheets/SideSheet/SideSheet.d.ts +46 -0
- package/dist/components/Sheets/SideSheet/SideSheetDialog.d.ts +43 -0
- package/dist/components/Sheets/SideSheet/types.d.ts +96 -2
- package/dist/components/Sheets/SideSheetModal/SideSheetModal.d.ts +34 -0
- package/dist/components/Sheets/SideSheetModal/context.d.ts +13 -0
- package/dist/components/Sheets/SideSheetModal/types.d.ts +49 -0
- package/dist/components/Sheets/core/layout.d.ts +11 -0
- package/dist/components/Snackbar/SnackbarRegion.d.ts +50 -0
- package/dist/components/Snackbar/context.d.ts +38 -0
- package/dist/components/Snackbar/types.d.ts +69 -0
- package/dist/components/Splash/Splash.d.ts +6 -0
- package/dist/components/Splash/types.d.ts +10 -0
- package/dist/components/Splash/useSplash.d.ts +21 -0
- package/dist/components/Tabs/Tab/Tab.d.ts +33 -2
- package/dist/components/Tabs/TabList/TabList.d.ts +42 -1
- package/dist/components/Tabs/TabPanel/TabPanel.d.ts +28 -1
- package/dist/components/Tabs/TabPanels/TabPanels.d.ts +28 -1
- package/dist/components/Tabs/Tabs/Tabs.d.ts +43 -1
- package/dist/components/Tag/Tag.d.ts +37 -0
- package/dist/components/Tag/core.d.ts +6 -0
- package/dist/components/Tag/types.d.ts +48 -2
- package/dist/components/ThemeSelector/ThemeItem.d.ts +46 -2
- package/dist/components/ThemeSelector/ThemeProvider.d.ts +29 -2
- package/dist/components/ThemeSelector/ThemeSelector.d.ts +24 -0
- package/dist/components/ThemeSelector/core.d.ts +58 -0
- package/dist/components/ThemeSelector/index.d.ts +2 -0
- package/dist/components/ThemeSelector/index.js +2 -2
- package/dist/components/ThemeSelector/types.d.ts +69 -2
- package/dist/components/Toolbar/Toolbar.d.ts +47 -0
- package/dist/components/Toolbar/ToolbarToggleButtonGroup.d.ts +35 -1
- package/dist/components/Toolbar/types.d.ts +60 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +56 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipActions/RichTooltipActions.d.ts +27 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/RichTooltipInfo.d.ts +31 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.d.ts +22 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.d.ts +26 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
- package/dist/components/Tooltip/Tooltip/Tooltip.d.ts +35 -1
- package/dist/components/Tooltip/TooltipTrigger/TooltipTrigger.d.ts +29 -1
- package/dist/components/Tooltip/TooltipTrigger/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +131 -125
- package/dist/index.js.map +1 -1
- package/dist/utils/gradients/gradients.d.ts +97 -0
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/ref/ref.d.ts +35 -2
- package/dist/utils/scroll/scroll.d.ts +67 -4
- package/dist/utils/tapTarget/tapTarget.d.ts +57 -0
- package/dist/utils/theme/build.d.ts +24 -0
- package/dist/utils/theme/types.d.ts +70 -0
- package/dist/utils/theme/useTheme.d.ts +40 -0
- package/dist/utils/typography/base.d.ts +68 -0
- package/dist/utils/typography/core.d.ts +16 -0
- package/dist/utils/typography/fluid.d.ts +36 -0
- package/package.json +23 -25
- package/dist/chunks/NavigationState +0 -69
- package/dist/chunks/NavigationState.map +0 -1
- package/dist/chunks/useGlobalListeners +0 -294
- package/dist/chunks/useGlobalListeners.map +0 -1
- package/dist/chunks/usePress +0 -535
- package/dist/chunks/usePress.map +0 -1
- package/dist/components/Image/Image.d.ts +0 -2
- package/dist/components/Image/index.js +0 -29
- package/dist/components/Image/index.js.map +0 -1
- package/dist/components/Image/types.d.ts +0 -9
- package/dist/utils/form/form.d.ts +0 -13
- package/dist/utils/form/index.d.ts +0 -1
|
@@ -1,75 +1,605 @@
|
|
|
1
1
|
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
|
-
import {
|
|
5
|
-
import { d as i, o as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import '../assets/ComboBoxTrigger.css';//#region
|
|
15
|
-
|
|
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 S } from "./context";
|
|
7
|
+
import C from "clsx";
|
|
8
|
+
import w, { useCallback as T, useContext as E, useEffect as D, useMemo as O, useRef as k, useState as A } from "react";
|
|
9
|
+
import { jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
10
|
+
import { Input as N } from "react-aria-components";
|
|
11
|
+
import { ChevronDown as P } from "lucide-react";
|
|
12
|
+
import { useObjectRef as F } from "react-aria";
|
|
13
|
+
import { flushSync as I } from "react-dom";
|
|
14
|
+
import '../assets/ComboBoxTrigger.css';//#region node_modules/react-aria/dist/private/utils/chain.mjs
|
|
15
|
+
function L(...e) {
|
|
16
|
+
return (...t) => {
|
|
17
|
+
for (let n of e) typeof n == "function" && n(...t);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
|
|
22
|
+
var R = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Set();
|
|
23
|
+
function B() {
|
|
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);
|
|
47
|
+
}
|
|
48
|
+
function H(e) {
|
|
49
|
+
requestAnimationFrame(() => {
|
|
50
|
+
V(), R.size === 0 ? e() : z.add(e);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
|
|
55
|
+
var U = "default", W = "", G = /* @__PURE__ */ new WeakMap();
|
|
56
|
+
function K(e) {
|
|
57
|
+
if (m() && v()) {
|
|
58
|
+
if (U === "default") {
|
|
59
|
+
let t = o(e);
|
|
60
|
+
W = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
|
|
61
|
+
}
|
|
62
|
+
U = "disabled";
|
|
63
|
+
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
|
|
64
|
+
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
|
|
65
|
+
G.set(e, e.style[t]), e.style[t] = "none";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function q(e) {
|
|
69
|
+
if (m() && v()) {
|
|
70
|
+
if (U !== "disabled") return;
|
|
71
|
+
U = "restoring", setTimeout(() => {
|
|
72
|
+
H(() => {
|
|
73
|
+
if (U === "restoring") {
|
|
74
|
+
let t = o(e);
|
|
75
|
+
t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = W || ""), W = "", U = "default";
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}, 300);
|
|
79
|
+
} else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && G.has(e)) {
|
|
80
|
+
let t = G.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
|
|
81
|
+
e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), G.delete(e);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
|
|
86
|
+
function ne(e, t) {
|
|
87
|
+
let n = x(t), r = o(t);
|
|
88
|
+
if (r == null || n == null) return;
|
|
89
|
+
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, s = r.querySelector(a);
|
|
90
|
+
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
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
|
|
94
|
+
var re = /* @__PURE__ */ new WeakMap();
|
|
95
|
+
function ie(e) {
|
|
96
|
+
let t = o(e), n = re.get(t);
|
|
97
|
+
return n ??= ne("csp-nonce", t), n !== void 0 && re.set(t, n), n;
|
|
98
|
+
}
|
|
99
|
+
typeof window < "u" && window.document && window.document.createElement;
|
|
100
|
+
var J = /* @__PURE__ */ new Map();
|
|
101
|
+
typeof FinalizationRegistry < "u" && new FinalizationRegistry((e) => {
|
|
102
|
+
J.delete(e);
|
|
103
|
+
});
|
|
104
|
+
function ae(e, t) {
|
|
105
|
+
if (e === t) return e;
|
|
106
|
+
let n = J.get(e);
|
|
107
|
+
if (n) return n.forEach((e) => e.current = t), t;
|
|
108
|
+
let r = J.get(t);
|
|
109
|
+
return r ? (r.forEach((t) => t.current = e), e) : t;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
|
|
113
|
+
function oe(...e) {
|
|
114
|
+
return e.length === 1 && e[0] ? e[0] : (t) => {
|
|
115
|
+
let n = !1, r = e.map((e) => {
|
|
116
|
+
let r = se(e, t);
|
|
117
|
+
return n ||= typeof r == "function", r;
|
|
118
|
+
});
|
|
119
|
+
if (n) return () => {
|
|
120
|
+
r.forEach((t, n) => {
|
|
121
|
+
typeof t == "function" ? t() : se(e[n], null);
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function se(e, t) {
|
|
127
|
+
if (typeof e == "function") return e(t);
|
|
128
|
+
e != null && (e.current = t);
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
|
|
132
|
+
function ce(...e) {
|
|
133
|
+
let t = { ...e[0] };
|
|
134
|
+
for (let n = 1; n < e.length; n++) {
|
|
135
|
+
let r = e[n];
|
|
136
|
+
for (let e in r) {
|
|
137
|
+
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] = L(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = C(n, i) : e === "id" && n && i ? t.id = ae(n, i) : e === "ref" && n && i ? t.ref = oe(n, i) : t[e] = i === void 0 ? n : i;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return t;
|
|
142
|
+
}
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region node_modules/react-aria/dist/private/interactions/context.mjs
|
|
145
|
+
var le = w.createContext({ register: () => {} });
|
|
146
|
+
le.displayName = "PressResponderContext";
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
|
|
149
|
+
var ue = w.useInsertionEffect ?? _;
|
|
150
|
+
function Y(e) {
|
|
151
|
+
let t = k(null);
|
|
152
|
+
return ue(() => {
|
|
153
|
+
t.current = e;
|
|
154
|
+
}, [e]), T((...e) => {
|
|
155
|
+
let n = t.current;
|
|
156
|
+
return n?.(...e);
|
|
157
|
+
}, []);
|
|
158
|
+
}
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
|
|
161
|
+
function de(e, t) {
|
|
162
|
+
_(() => {
|
|
163
|
+
if (e && e.ref && t) return e.ref.current = t.current, () => {
|
|
164
|
+
e.ref && (e.ref.current = null);
|
|
165
|
+
};
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
|
|
170
|
+
function fe(e) {
|
|
171
|
+
let t = E(le);
|
|
172
|
+
if (t) {
|
|
173
|
+
let { register: n, ref: r, ...i } = t;
|
|
174
|
+
e = ce(i, e), n();
|
|
175
|
+
}
|
|
176
|
+
return de(t, e.ref), e;
|
|
177
|
+
}
|
|
178
|
+
var X = class {
|
|
179
|
+
#e;
|
|
180
|
+
constructor(e, t, n, r) {
|
|
181
|
+
this.#e = !0;
|
|
182
|
+
let i = (r?.target ?? n.currentTarget)?.getBoundingClientRect(), a, o = 0, s, c = null;
|
|
183
|
+
n.clientX != null && n.clientY != null && (s = n.clientX, c = n.clientY), i && (s != null && c != null ? (a = s - i.left, o = c - i.top) : (a = i.width / 2, o = i.height / 2)), this.type = e, this.pointerType = t, this.target = n.currentTarget, this.shiftKey = n.shiftKey, this.metaKey = n.metaKey, this.ctrlKey = n.ctrlKey, this.altKey = n.altKey, this.x = a, this.y = o, this.key = n.key;
|
|
184
|
+
}
|
|
185
|
+
continuePropagation() {
|
|
186
|
+
this.#e = !1;
|
|
187
|
+
}
|
|
188
|
+
get shouldStopPropagation() {
|
|
189
|
+
return this.#e;
|
|
190
|
+
}
|
|
191
|
+
}, pe = Symbol("linkClicked"), me = "react-aria-pressable-style", he = "data-react-aria-pressable";
|
|
192
|
+
function ge(e) {
|
|
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 } = fe(e), [E, j] = A(!1), M = k({
|
|
194
|
+
isPressed: !1,
|
|
195
|
+
ignoreEmulatedMouseEvents: !1,
|
|
196
|
+
didFirePressStart: !1,
|
|
197
|
+
isTriggeringEvent: !1,
|
|
198
|
+
activePointerId: null,
|
|
199
|
+
target: null,
|
|
200
|
+
isOverTarget: !1,
|
|
201
|
+
pointerType: null,
|
|
202
|
+
disposables: []
|
|
203
|
+
}), { addGlobalListener: N, removeAllGlobalListeners: P } = te(), F = T((e, t) => {
|
|
204
|
+
let i = M.current;
|
|
205
|
+
if (h || i.didFirePressStart) return !1;
|
|
206
|
+
let a = !0;
|
|
207
|
+
if (i.isTriggeringEvent = !0, r) {
|
|
208
|
+
let n = new X("pressstart", t, e);
|
|
209
|
+
r(n), a = n.shouldStopPropagation;
|
|
210
|
+
}
|
|
211
|
+
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, j(!0), a;
|
|
212
|
+
}, [
|
|
213
|
+
h,
|
|
214
|
+
r,
|
|
215
|
+
n
|
|
216
|
+
]), R = T((e, r, a = !0) => {
|
|
217
|
+
let o = M.current;
|
|
218
|
+
if (!o.didFirePressStart) return !1;
|
|
219
|
+
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
|
|
220
|
+
let s = !0;
|
|
221
|
+
if (i) {
|
|
222
|
+
let t = new X("pressend", r, e);
|
|
223
|
+
i(t), s = t.shouldStopPropagation;
|
|
224
|
+
}
|
|
225
|
+
if (n && n(!1), j(!1), t && a && !h) {
|
|
226
|
+
let n = new X("press", r, e);
|
|
227
|
+
t(n), s &&= n.shouldStopPropagation;
|
|
228
|
+
}
|
|
229
|
+
return o.isTriggeringEvent = !1, s;
|
|
230
|
+
}, [
|
|
231
|
+
h,
|
|
232
|
+
i,
|
|
233
|
+
n,
|
|
234
|
+
t
|
|
235
|
+
]), z = Y(R), B = Y(T((e, t) => {
|
|
236
|
+
let n = M.current;
|
|
237
|
+
if (h) return !1;
|
|
238
|
+
if (a) {
|
|
239
|
+
n.isTriggeringEvent = !0;
|
|
240
|
+
let r = new X("pressup", t, e);
|
|
241
|
+
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
|
|
242
|
+
}
|
|
243
|
+
return !0;
|
|
244
|
+
}, [h, a])), V = T((e) => {
|
|
245
|
+
let t = M.current;
|
|
246
|
+
if (t.isPressed && t.target) {
|
|
247
|
+
t.didFirePressStart && t.pointerType != null && R($(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, P(), S || q(t.target);
|
|
248
|
+
for (let e of t.disposables) e();
|
|
249
|
+
t.disposables = [];
|
|
250
|
+
}
|
|
251
|
+
}, [
|
|
252
|
+
S,
|
|
253
|
+
P,
|
|
254
|
+
R
|
|
255
|
+
]), H = Y(V);
|
|
256
|
+
D(() => {
|
|
257
|
+
h && M.current.isPressed && H({
|
|
258
|
+
currentTarget: M.current.target,
|
|
259
|
+
shiftKey: !1,
|
|
260
|
+
ctrlKey: !1,
|
|
261
|
+
metaKey: !1,
|
|
262
|
+
altKey: !1
|
|
263
|
+
});
|
|
264
|
+
}, [h]);
|
|
265
|
+
let U = T((e) => {
|
|
266
|
+
y && V(e);
|
|
267
|
+
}, [y, V]), W = T((e) => {
|
|
268
|
+
h || m?.(e);
|
|
269
|
+
}, [h, m]), G = T((e, t) => {
|
|
270
|
+
if (!h && m) {
|
|
271
|
+
let n = new MouseEvent("click", e);
|
|
272
|
+
l(n, t), m(b(n));
|
|
273
|
+
}
|
|
274
|
+
}, [h, m]), ne = O(() => {
|
|
275
|
+
let e = M.current, t = {
|
|
276
|
+
onKeyDown(t) {
|
|
277
|
+
if (_e(t.nativeEvent, t.currentTarget) && f(t.currentTarget, d(t))) {
|
|
278
|
+
we(d(t), t.key) && t.preventDefault();
|
|
279
|
+
let r = !0;
|
|
280
|
+
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = F(t, "keyboard"));
|
|
281
|
+
let i = t.currentTarget;
|
|
282
|
+
N(o(t.currentTarget), "keyup", L((t) => {
|
|
283
|
+
_e(t, i) && !t.repeat && f(i, d(t)) && e.target && B($(e.target, t), "keyboard");
|
|
284
|
+
}, n), !0), r && t.stopPropagation(), t.metaKey && c() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
|
|
285
|
+
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
286
|
+
},
|
|
287
|
+
onClick(t) {
|
|
288
|
+
if ((!t || f(t.currentTarget, d(t))) && t && t.button === 0 && !e.isTriggeringEvent && !p.isOpening) {
|
|
289
|
+
let n = !0;
|
|
290
|
+
if (h && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || g(t.nativeEvent))) {
|
|
291
|
+
let e = F(t, "virtual"), r = B(t, "virtual"), i = z(t, "virtual");
|
|
292
|
+
W(t), n = e && r && i;
|
|
293
|
+
} else if (e.isPressed && e.pointerType !== "keyboard") {
|
|
294
|
+
let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = B($(t.currentTarget, t), r), a = z($(t.currentTarget, t), r, !0);
|
|
295
|
+
n = i && a, e.isOverTarget = !1, W(t), H(t);
|
|
296
|
+
}
|
|
297
|
+
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}, n = (t) => {
|
|
301
|
+
if (e.isPressed && e.target && _e(t, e.target)) {
|
|
302
|
+
we(d(t), t.key) && t.preventDefault();
|
|
303
|
+
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" && Z(e.target) && f(e.target, n) && !t[pe] && (t[pe] = !0, p(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
|
|
305
|
+
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
|
|
306
|
+
let t = e.metaKeyEvents;
|
|
307
|
+
e.metaKeyEvents = void 0;
|
|
308
|
+
for (let n of t.values()) e.target?.dispatchEvent(new KeyboardEvent("keyup", n));
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
if (typeof PointerEvent < "u") {
|
|
312
|
+
t.onPointerDown = (t) => {
|
|
313
|
+
if (t.button !== 0 || !f(t.currentTarget, d(t))) return;
|
|
314
|
+
if (s(t.nativeEvent)) {
|
|
315
|
+
e.pointerType = "virtual";
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
e.pointerType = t.pointerType;
|
|
319
|
+
let i = !0;
|
|
320
|
+
if (!e.isPressed) {
|
|
321
|
+
e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, S || K(e.target), i = F(t, e.pointerType);
|
|
322
|
+
let a = d(t);
|
|
323
|
+
"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
|
+
}
|
|
325
|
+
i && t.stopPropagation();
|
|
326
|
+
}, t.onMouseDown = (t) => {
|
|
327
|
+
if (f(t.currentTarget, d(t)) && t.button === 0) {
|
|
328
|
+
if (v) {
|
|
329
|
+
let n = u(t.target);
|
|
330
|
+
n && e.disposables.push(n);
|
|
331
|
+
}
|
|
332
|
+
t.stopPropagation();
|
|
333
|
+
}
|
|
334
|
+
}, t.onPointerUp = (t) => {
|
|
335
|
+
f(t.currentTarget, d(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && B(t, e.pointerType || t.pointerType);
|
|
336
|
+
}, t.onPointerEnter = (t) => {
|
|
337
|
+
t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, F($(e.target, t), e.pointerType));
|
|
338
|
+
}, t.onPointerLeave = (t) => {
|
|
339
|
+
t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, z($(e.target, t), e.pointerType, !1), U(t));
|
|
340
|
+
};
|
|
341
|
+
let n = (t) => {
|
|
342
|
+
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
|
|
343
|
+
if (f(e.target, d(t)) && e.pointerType != null) {
|
|
344
|
+
let n = !1, r = setTimeout(() => {
|
|
345
|
+
e.isPressed && e.target instanceof HTMLElement && (n ? H(t) : (ee(e.target), e.target.click()));
|
|
346
|
+
}, 80);
|
|
347
|
+
N(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
|
|
348
|
+
} else H(t);
|
|
349
|
+
e.isOverTarget = !1;
|
|
350
|
+
}
|
|
351
|
+
}, r = (e) => {
|
|
352
|
+
H(e);
|
|
353
|
+
};
|
|
354
|
+
t.onDragStart = (e) => {
|
|
355
|
+
f(e.currentTarget, d(e)) && H(e);
|
|
356
|
+
};
|
|
357
|
+
} else if (process.env.NODE_ENV === "test") {
|
|
358
|
+
t.onMouseDown = (t) => {
|
|
359
|
+
if (t.button === 0 && f(t.currentTarget, d(t))) {
|
|
360
|
+
if (e.ignoreEmulatedMouseEvents) {
|
|
361
|
+
t.stopPropagation();
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
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
|
+
}
|
|
370
|
+
}, t.onMouseEnter = (t) => {
|
|
371
|
+
if (!f(t.currentTarget, d(t))) return;
|
|
372
|
+
let n = !0;
|
|
373
|
+
e.isPressed && !e.ignoreEmulatedMouseEvents && e.pointerType != null && (e.isOverTarget = !0, n = F(t, e.pointerType)), n && t.stopPropagation();
|
|
374
|
+
}, t.onMouseLeave = (t) => {
|
|
375
|
+
if (!f(t.currentTarget, d(t))) return;
|
|
376
|
+
let n = !0;
|
|
377
|
+
e.isPressed && !e.ignoreEmulatedMouseEvents && e.pointerType != null && (e.isOverTarget = !1, n = z(t, e.pointerType, !1), U(t)), n && t.stopPropagation();
|
|
378
|
+
}, t.onMouseUp = (t) => {
|
|
379
|
+
f(t.currentTarget, d(t)) && !e.ignoreEmulatedMouseEvents && t.button === 0 && !e.isPressed && B(t, e.pointerType || "mouse");
|
|
380
|
+
};
|
|
381
|
+
let n = (t) => {
|
|
382
|
+
if (t.button === 0) {
|
|
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
|
+
}
|
|
389
|
+
};
|
|
390
|
+
t.onTouchStart = (t) => {
|
|
391
|
+
if (!f(t.currentTarget, d(t))) return;
|
|
392
|
+
let n = ve(t.nativeEvent);
|
|
393
|
+
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", S || K(e.target), F(Q(e.target, t), e.pointerType) && t.stopPropagation(), N(x(t.currentTarget), "scroll", r, !0));
|
|
394
|
+
}, t.onTouchMove = (t) => {
|
|
395
|
+
if (!f(t.currentTarget, d(t))) return;
|
|
396
|
+
if (!e.isPressed) {
|
|
397
|
+
t.stopPropagation();
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
let n = ye(t.nativeEvent, e.activePointerId), r = !0;
|
|
401
|
+
n && Se(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
|
+
}, t.onTouchEnd = (t) => {
|
|
403
|
+
if (!f(t.currentTarget, d(t))) return;
|
|
404
|
+
if (!e.isPressed) {
|
|
405
|
+
t.stopPropagation();
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
let n = ye(t.nativeEvent, e.activePointerId), r = !0;
|
|
409
|
+
n && Se(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 && q(e.target), P();
|
|
410
|
+
}, t.onTouchCancel = (t) => {
|
|
411
|
+
f(t.currentTarget, d(t)) && (t.stopPropagation(), e.isPressed && H(Q(e.target, t)));
|
|
412
|
+
};
|
|
413
|
+
let r = (t) => {
|
|
414
|
+
e.isPressed && f(d(t), e.target) && H({
|
|
415
|
+
currentTarget: e.target,
|
|
416
|
+
shiftKey: !1,
|
|
417
|
+
ctrlKey: !1,
|
|
418
|
+
metaKey: !1,
|
|
419
|
+
altKey: !1
|
|
420
|
+
});
|
|
421
|
+
};
|
|
422
|
+
t.onDragStart = (e) => {
|
|
423
|
+
f(e.currentTarget, d(e)) && H(e);
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
return t;
|
|
427
|
+
}, [
|
|
428
|
+
N,
|
|
429
|
+
h,
|
|
430
|
+
v,
|
|
431
|
+
P,
|
|
432
|
+
S,
|
|
433
|
+
U,
|
|
434
|
+
F,
|
|
435
|
+
W,
|
|
436
|
+
G
|
|
437
|
+
]);
|
|
438
|
+
return D(() => {
|
|
439
|
+
if (!C || process.env.NODE_ENV === "test") return;
|
|
440
|
+
let e = o(C.current);
|
|
441
|
+
if (!e || !e.head || e.getElementById(me)) return;
|
|
442
|
+
let t = e.createElement("style");
|
|
443
|
+
t.id = me;
|
|
444
|
+
let n = ie(e);
|
|
445
|
+
n && (t.nonce = n), t.textContent = `
|
|
446
|
+
@layer {
|
|
447
|
+
[${he}] {
|
|
448
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
`.trim(), e.head.prepend(t);
|
|
452
|
+
}, [C]), D(() => {
|
|
453
|
+
let e = M.current;
|
|
454
|
+
return () => {
|
|
455
|
+
S || q(e.target ?? void 0);
|
|
456
|
+
for (let t of e.disposables) t();
|
|
457
|
+
e.disposables = [];
|
|
458
|
+
};
|
|
459
|
+
}, [S]), {
|
|
460
|
+
isPressed: _ || E,
|
|
461
|
+
pressProps: ce(w, ne, { [he]: !0 })
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
function Z(e) {
|
|
465
|
+
return e.tagName === "A" && e.hasAttribute("href");
|
|
466
|
+
}
|
|
467
|
+
function _e(e, t) {
|
|
468
|
+
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 && !Ee(i, n) || i instanceof x(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Z(i)) && n !== "Enter");
|
|
470
|
+
}
|
|
471
|
+
function ve(e) {
|
|
472
|
+
let { targetTouches: t } = e;
|
|
473
|
+
return t.length > 0 ? t[0] : null;
|
|
474
|
+
}
|
|
475
|
+
function ye(e, t) {
|
|
476
|
+
let n = e.changedTouches;
|
|
477
|
+
for (let e = 0; e < n.length; e++) {
|
|
478
|
+
let r = n[e];
|
|
479
|
+
if (r.identifier === t) return r;
|
|
480
|
+
}
|
|
481
|
+
return null;
|
|
482
|
+
}
|
|
483
|
+
function Q(e, t) {
|
|
484
|
+
let n = 0, r = 0;
|
|
485
|
+
return t.targetTouches && t.targetTouches.length === 1 && (n = t.targetTouches[0].clientX, r = t.targetTouches[0].clientY), {
|
|
486
|
+
currentTarget: e,
|
|
487
|
+
shiftKey: t.shiftKey,
|
|
488
|
+
ctrlKey: t.ctrlKey,
|
|
489
|
+
metaKey: t.metaKey,
|
|
490
|
+
altKey: t.altKey,
|
|
491
|
+
clientX: n,
|
|
492
|
+
clientY: r
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
function $(e, t) {
|
|
496
|
+
let n = t.clientX, r = t.clientY;
|
|
497
|
+
return {
|
|
498
|
+
currentTarget: e,
|
|
499
|
+
shiftKey: t.shiftKey,
|
|
500
|
+
ctrlKey: t.ctrlKey,
|
|
501
|
+
metaKey: t.metaKey,
|
|
502
|
+
altKey: t.altKey,
|
|
503
|
+
clientX: n,
|
|
504
|
+
clientY: r,
|
|
505
|
+
key: t.key
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
function be(e) {
|
|
509
|
+
let t = 0, n = 0;
|
|
510
|
+
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
|
+
top: e.clientY - n,
|
|
512
|
+
right: e.clientX + t,
|
|
513
|
+
bottom: e.clientY + n,
|
|
514
|
+
left: e.clientX - t
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
function xe(e, t) {
|
|
518
|
+
return !(e.left > t.right || t.left > e.right || e.top > t.bottom || t.top > e.bottom);
|
|
519
|
+
}
|
|
520
|
+
function Se(e, t) {
|
|
521
|
+
return xe(t.getBoundingClientRect(), be(e));
|
|
522
|
+
}
|
|
523
|
+
function Ce(e) {
|
|
524
|
+
return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Z(e);
|
|
525
|
+
}
|
|
526
|
+
function we(e, t) {
|
|
527
|
+
return c() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Ee(e, t) : Ce(e);
|
|
528
|
+
}
|
|
529
|
+
var Te = /* @__PURE__ */ new Set([
|
|
530
|
+
"checkbox",
|
|
531
|
+
"radio",
|
|
532
|
+
"range",
|
|
533
|
+
"color",
|
|
534
|
+
"file",
|
|
535
|
+
"image",
|
|
536
|
+
"button",
|
|
537
|
+
"submit",
|
|
538
|
+
"reset"
|
|
539
|
+
]);
|
|
540
|
+
function Ee(e, t) {
|
|
541
|
+
return e.type === "checkbox" || e.type === "radio" ? t === " " : Te.has(e.type);
|
|
542
|
+
}
|
|
543
|
+
//#endregion
|
|
544
|
+
//#region src/components/Input/Select/ComboBoxTrigger/comboBoxTrigger.module.css
|
|
545
|
+
var De = e(), Oe = {
|
|
16
546
|
trigger: "_trigger_83n0r_2",
|
|
17
547
|
input: "_input_83n0r_26"
|
|
18
|
-
},
|
|
19
|
-
let
|
|
20
|
-
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
let { isFocused:
|
|
24
|
-
|
|
25
|
-
let { isHovered:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} },
|
|
29
|
-
let { pressProps:
|
|
30
|
-
|
|
31
|
-
"data-hovered":
|
|
32
|
-
"data-focused":
|
|
33
|
-
"data-focus-visible":
|
|
548
|
+
}, ke = (e) => {
|
|
549
|
+
let o = (0, De.c)(36), s, c, l, u, d;
|
|
550
|
+
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 = F(d), { isInvalid: p, isDisabled: m, isOpen: ee } = E(S), g;
|
|
552
|
+
o[6] === Symbol.for("react.memo_cache_sentinel") ? (g = { isTextInput: !0 }, o[6] = g) : g = o[6];
|
|
553
|
+
let { isFocused: _, isFocusVisible: te, focusProps: v } = h(g), b;
|
|
554
|
+
o[7] === Symbol.for("react.memo_cache_sentinel") ? (b = {}, o[7] = b) : b = o[7];
|
|
555
|
+
let { isHovered: x, hoverProps: w } = y(b), T;
|
|
556
|
+
o[8] === f ? T = o[9] : (T = { onPress: () => {
|
|
557
|
+
f.current?.focus();
|
|
558
|
+
} }, o[8] = f, o[9] = T);
|
|
559
|
+
let { pressProps: D } = ge(T), O = x || void 0, k = _ || void 0, A = te || void 0, I = p || void 0, L = m || void 0, R = ee || void 0, z;
|
|
560
|
+
o[10] !== O || o[11] !== k || o[12] !== A || o[13] !== I || o[14] !== L || o[15] !== R ? (z = {
|
|
561
|
+
"data-hovered": O,
|
|
562
|
+
"data-focused": k,
|
|
563
|
+
"data-focus-visible": A,
|
|
34
564
|
"data-trailing": !0,
|
|
35
|
-
"data-invalid":
|
|
565
|
+
"data-invalid": I,
|
|
36
566
|
"data-input": !0,
|
|
37
|
-
"data-disabled":
|
|
38
|
-
"data-open":
|
|
39
|
-
},
|
|
40
|
-
let
|
|
41
|
-
|
|
42
|
-
let
|
|
43
|
-
|
|
44
|
-
let
|
|
45
|
-
|
|
46
|
-
ref:
|
|
47
|
-
...
|
|
48
|
-
placeholder:
|
|
49
|
-
className:
|
|
567
|
+
"data-disabled": L,
|
|
568
|
+
"data-open": R
|
|
569
|
+
}, o[10] = O, o[11] = k, o[12] = A, o[13] = I, o[14] = L, o[15] = R, o[16] = z) : z = o[16];
|
|
570
|
+
let B = z, V;
|
|
571
|
+
o[17] === s ? V = o[18] : (V = C(a, s), o[17] = s, o[18] = V);
|
|
572
|
+
let H;
|
|
573
|
+
o[19] === Symbol.for("react.memo_cache_sentinel") ? (H = C(r, i, t.bodyLarge, Oe.input), o[19] = H) : H = o[19];
|
|
574
|
+
let U;
|
|
575
|
+
o[20] !== c || o[21] !== v || o[22] !== f || o[23] !== l ? (U = /* @__PURE__ */ j(N, {
|
|
576
|
+
ref: f,
|
|
577
|
+
...v,
|
|
578
|
+
placeholder: l,
|
|
579
|
+
className: H,
|
|
50
580
|
"data-input": !0,
|
|
51
|
-
dir:
|
|
52
|
-
}),
|
|
53
|
-
let
|
|
54
|
-
|
|
55
|
-
let
|
|
56
|
-
|
|
57
|
-
className:
|
|
58
|
-
icon:
|
|
581
|
+
dir: c
|
|
582
|
+
}), o[20] = c, o[21] = v, o[22] = f, o[23] = l, o[24] = U) : U = o[24];
|
|
583
|
+
let W;
|
|
584
|
+
o[25] === Symbol.for("react.memo_cache_sentinel") ? (W = C(Oe.trigger), o[25] = W) : W = o[25];
|
|
585
|
+
let G = p || void 0, K;
|
|
586
|
+
o[26] === G ? K = o[27] : (K = /* @__PURE__ */ j(n, {
|
|
587
|
+
className: W,
|
|
588
|
+
icon: P,
|
|
59
589
|
color: "standard",
|
|
60
|
-
"data-invalid":
|
|
61
|
-
}),
|
|
62
|
-
let
|
|
63
|
-
return
|
|
64
|
-
...
|
|
65
|
-
...
|
|
66
|
-
className:
|
|
67
|
-
...
|
|
68
|
-
...
|
|
69
|
-
children: [
|
|
70
|
-
}),
|
|
590
|
+
"data-invalid": G
|
|
591
|
+
}), o[26] = G, o[27] = K);
|
|
592
|
+
let q;
|
|
593
|
+
return o[28] !== B || o[29] !== w || o[30] !== D || o[31] !== u || o[32] !== V || o[33] !== U || o[34] !== K ? (q = /* @__PURE__ */ M("span", {
|
|
594
|
+
...D,
|
|
595
|
+
...w,
|
|
596
|
+
className: V,
|
|
597
|
+
...u,
|
|
598
|
+
...B,
|
|
599
|
+
children: [U, K]
|
|
600
|
+
}), o[28] = B, o[29] = w, o[30] = D, o[31] = u, o[32] = V, o[33] = U, o[34] = K, o[35] = q) : q = o[35], q;
|
|
71
601
|
};
|
|
72
602
|
//#endregion
|
|
73
|
-
export {
|
|
603
|
+
export { ke as t };
|
|
74
604
|
|
|
75
605
|
//# sourceMappingURL=ComboBoxTrigger.map
|