@adgytec/adgytec-web-ui-components 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -16
- package/dist/App.d.ts +1 -2
- package/dist/assets/BottomSheetModal.css +1 -1
- package/dist/assets/CalendarCell.css +1 -1
- package/dist/assets/CalendarMenuItem.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/ListItem.css +1 -1
- package/dist/assets/ListTrailingText.css +1 -0
- package/dist/assets/Radio.css +1 -1
- package/dist/assets/SideSheet.css +1 -1
- package/dist/assets/SideSheetModal.css +1 -1
- package/dist/assets/Switch.css +1 -1
- package/dist/assets/ThemeSelector.css +1 -1
- package/dist/assets/core7.css +1 -1
- package/dist/chunks/ActionDialog +0 -1
- package/dist/chunks/ActionDialog.map +1 -1
- package/dist/chunks/AppBar +42 -43
- package/dist/chunks/AppBar.map +1 -1
- package/dist/chunks/AppBarAction +0 -1
- package/dist/chunks/AppBarAction.map +1 -1
- package/dist/chunks/AppBarAvatar +1 -2
- package/dist/chunks/AppBarAvatar.map +1 -1
- package/dist/chunks/AppBarHeadline +1 -2
- package/dist/chunks/AppBarHeadline.map +1 -1
- package/dist/chunks/BaseCalendar +65 -68
- package/dist/chunks/BaseCalendar.map +1 -1
- package/dist/chunks/BottomSheet +1 -2
- package/dist/chunks/BottomSheet.map +1 -1
- package/dist/chunks/BottomSheetModal +1 -2
- package/dist/chunks/BottomSheetModal.map +1 -1
- package/dist/chunks/ButtonGroup +1 -2
- package/dist/chunks/ButtonGroup.map +1 -1
- package/dist/chunks/CalendarCell +25 -40
- package/dist/chunks/CalendarCell.map +1 -1
- package/dist/chunks/CalendarGrid +1 -2
- package/dist/chunks/CalendarGrid.map +1 -1
- package/dist/chunks/CalendarMenuItem +2 -3
- package/dist/chunks/CalendarMenuItem.map +1 -1
- package/dist/chunks/Card +4 -5
- package/dist/chunks/Card.map +1 -1
- package/dist/chunks/CardIcon +1 -2
- package/dist/chunks/CardIcon.map +1 -1
- package/dist/chunks/CenteredSlider +1 -2
- package/dist/chunks/CenteredSlider.map +1 -1
- package/dist/chunks/ComboBox +1 -2
- package/dist/chunks/ComboBox.map +1 -1
- package/dist/chunks/ComboBoxPopover +0 -1
- package/dist/chunks/ComboBoxPopover.map +1 -1
- package/dist/chunks/ComboBoxTrigger +575 -63
- package/dist/chunks/ComboBoxTrigger.map +1 -1
- package/dist/chunks/ConnectedButtonGroup +13 -11
- package/dist/chunks/ConnectedButtonGroup.map +1 -1
- package/dist/chunks/Dialog +1 -2
- package/dist/chunks/Dialog.map +1 -1
- package/dist/chunks/Disclosure +1 -2
- package/dist/chunks/Disclosure.map +1 -1
- package/dist/chunks/DisclosureGroup +1 -2
- package/dist/chunks/DisclosureGroup.map +1 -1
- package/dist/chunks/DisclosureHeader +1 -2
- package/dist/chunks/DisclosureHeader.map +1 -1
- package/dist/chunks/DisclosurePanel +1 -2
- package/dist/chunks/DisclosurePanel.map +1 -1
- package/dist/chunks/Divider +1 -2
- package/dist/chunks/Divider.map +1 -1
- package/dist/chunks/FieldError +1 -2
- package/dist/chunks/FieldError.map +1 -1
- package/dist/chunks/GridBackgroundDecorator +0 -1
- package/dist/chunks/GridBackgroundDecorator.map +1 -1
- package/dist/chunks/Icon +1 -2
- package/dist/chunks/Icon.map +1 -1
- package/dist/chunks/Input +67 -78
- package/dist/chunks/Input.map +1 -1
- package/dist/chunks/Input2 +6 -9
- package/dist/chunks/Input2.map +1 -1
- package/dist/chunks/ListAction +12 -0
- package/dist/chunks/ListAction.map +1 -0
- package/dist/chunks/ListAvatar +1 -2
- package/dist/chunks/ListAvatar.map +1 -1
- package/dist/chunks/ListBox +12 -9
- package/dist/chunks/ListBox.map +1 -1
- package/dist/chunks/ListIcon +1 -2
- package/dist/chunks/ListIcon.map +1 -1
- package/dist/chunks/ListItem +62 -49
- package/dist/chunks/ListItem.map +1 -1
- package/dist/chunks/ListLabelText +1 -2
- package/dist/chunks/ListLabelText.map +1 -1
- package/dist/chunks/ListMedia +0 -1
- package/dist/chunks/ListMedia.map +1 -1
- package/dist/chunks/ListOverlineText +1 -2
- package/dist/chunks/ListOverlineText.map +1 -1
- package/dist/chunks/ListSupportingText +1 -2
- package/dist/chunks/ListSupportingText.map +1 -1
- package/dist/chunks/ListTrailingText +20 -0
- package/dist/chunks/ListTrailingText.map +1 -0
- package/dist/chunks/Loader +1 -2
- package/dist/chunks/Loader.map +1 -1
- package/dist/chunks/MenuPopover +1 -2
- package/dist/chunks/MenuPopover.map +1 -1
- package/dist/chunks/Modal +1 -2
- package/dist/chunks/Modal.map +1 -1
- package/dist/chunks/ModalOverlay +1 -2
- package/dist/chunks/ModalOverlay.map +1 -1
- package/dist/chunks/Navigation +2 -4
- package/dist/chunks/Navigation.map +1 -1
- package/dist/chunks/NavigationScrollContainer +7 -6
- package/dist/chunks/NavigationScrollContainer.map +1 -1
- package/dist/chunks/NavigationSection +1 -2
- package/dist/chunks/NavigationSection.map +1 -1
- package/dist/chunks/NavigationSectionLabel +1 -2
- package/dist/chunks/NavigationSectionLabel.map +1 -1
- package/dist/chunks/Popover +1 -2
- package/dist/chunks/Popover.map +1 -1
- package/dist/chunks/RadialGlowDecorator +0 -1
- package/dist/chunks/RadialGlowDecorator.map +1 -1
- package/dist/chunks/Radio +57 -70
- package/dist/chunks/Radio.map +1 -1
- package/dist/chunks/RichTooltip +1 -2
- package/dist/chunks/RichTooltip.map +1 -1
- package/dist/chunks/RichTooltipActions +1 -2
- package/dist/chunks/RichTooltipActions.map +1 -1
- package/dist/chunks/RichTooltipInfo +1 -2
- package/dist/chunks/RichTooltipInfo.map +1 -1
- package/dist/chunks/SearchField +0 -1
- package/dist/chunks/SearchField.map +1 -1
- package/dist/chunks/SelectPopover +1 -2
- package/dist/chunks/SelectPopover.map +1 -1
- package/dist/chunks/SelectTrigger +1 -2
- package/dist/chunks/SelectTrigger.map +1 -1
- package/dist/chunks/SideSheet +8 -9
- package/dist/chunks/SideSheet.map +1 -1
- package/dist/chunks/SideSheetModal +2 -3
- package/dist/chunks/SideSheetModal.map +1 -1
- package/dist/chunks/Slider +0 -1
- package/dist/chunks/Slider.map +1 -1
- package/dist/chunks/SliderOutput +1 -2
- package/dist/chunks/SliderOutput.map +1 -1
- package/dist/chunks/SliderStops +4 -5
- package/dist/chunks/SliderStops.map +1 -1
- package/dist/chunks/SliderThumb +0 -1
- package/dist/chunks/SliderThumb.map +1 -1
- package/dist/chunks/Snackbar +1 -2
- package/dist/chunks/Snackbar.map +1 -1
- package/dist/chunks/SplitButton +14 -12
- package/dist/chunks/SplitButton.map +1 -1
- package/dist/chunks/SplitButtonTrigger +9 -9
- package/dist/chunks/SplitButtonTrigger.map +1 -1
- package/dist/chunks/SubmenuPopover +0 -1
- package/dist/chunks/SubmenuPopover.map +1 -1
- package/dist/chunks/Switch +47 -48
- package/dist/chunks/Switch.map +1 -1
- package/dist/chunks/Tab +1 -2
- package/dist/chunks/Tab.map +1 -1
- package/dist/chunks/TabList +1 -2
- package/dist/chunks/TabList.map +1 -1
- package/dist/chunks/TabPanel +1 -2
- package/dist/chunks/TabPanel.map +1 -1
- package/dist/chunks/TabPanels +1 -2
- package/dist/chunks/TabPanels.map +1 -1
- package/dist/chunks/Tabs +1 -2
- package/dist/chunks/Tabs.map +1 -1
- package/dist/chunks/Tag +1 -2
- package/dist/chunks/Tag.map +1 -1
- package/dist/chunks/ThemeSelector +117 -89
- package/dist/chunks/ThemeSelector.map +1 -1
- package/dist/chunks/Toolbar +0 -1
- package/dist/chunks/Toolbar.map +1 -1
- package/dist/chunks/Tooltip +0 -1
- package/dist/chunks/Tooltip.map +1 -1
- package/dist/chunks/base +1 -2
- package/dist/chunks/base.map +1 -1
- package/dist/chunks/compiler-runtime +4 -5
- package/dist/chunks/compiler-runtime.map +1 -1
- package/dist/chunks/context +1 -2
- package/dist/chunks/context.map +1 -1
- package/dist/chunks/core +30 -31
- package/dist/chunks/core.map +1 -1
- package/dist/chunks/core2 +0 -1
- package/dist/chunks/core2.map +1 -1
- package/dist/chunks/core3 +2 -5
- package/dist/chunks/core3.map +1 -1
- package/dist/chunks/core4 +0 -1
- package/dist/chunks/core4.map +1 -1
- package/dist/chunks/core5 +0 -1
- package/dist/chunks/core5.map +1 -1
- package/dist/chunks/core6 +14 -15
- package/dist/chunks/core6.map +1 -1
- package/dist/chunks/core7 +2 -5
- package/dist/chunks/core7.map +1 -1
- package/dist/chunks/core8 +1 -3
- package/dist/chunks/core8.map +1 -1
- package/dist/chunks/core9 +0 -1
- package/dist/chunks/core9.map +1 -1
- package/dist/chunks/navContext +1 -2
- package/dist/chunks/navContext.map +1 -1
- package/dist/chunks/tapTarget +0 -1
- package/dist/chunks/tapTarget.map +1 -1
- package/dist/chunks/types +1 -2
- package/dist/chunks/types.map +1 -1
- package/dist/chunks/useHover +430 -161
- package/dist/chunks/useHover.map +1 -1
- package/dist/chunks/useSplash +18 -21
- package/dist/chunks/useSplash.map +1 -1
- package/dist/components/AppBar/AppBar/AppBar.d.ts +29 -0
- package/dist/components/AppBar/AppBar/index.js +1 -2
- package/dist/components/AppBar/AppBar/types.d.ts +29 -4
- package/dist/components/AppBar/AppBarAction/AppBarAction.d.ts +19 -1
- package/dist/components/AppBar/AppBarAction/index.js +1 -2
- package/dist/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +20 -1
- package/dist/components/AppBar/AppBarAvatar/index.js +1 -2
- package/dist/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +19 -1
- package/dist/components/AppBar/AppBarHeadline/index.js +1 -2
- package/dist/components/AppBar/AppBarState/AppBarState.d.ts +28 -2
- package/dist/components/AppBar/AppBarState/context.d.ts +37 -0
- package/dist/components/AppBar/AppBarState/index.js +16 -12
- package/dist/components/AppBar/AppBarState/index.js.map +1 -1
- package/dist/components/AppBar/core/alignment.d.ts +6 -0
- package/dist/components/AppBar/core/context.d.ts +16 -0
- package/dist/components/AppBar/core/index.js +2 -4
- package/dist/components/AppBar/core/index.js.map +1 -1
- package/dist/components/AppBar/core/size.d.ts +13 -0
- package/dist/components/AppBar/index.js +7 -7
- package/dist/components/Button/Button/Button.d.ts +17 -0
- package/dist/components/Button/Button/index.js +1 -2
- package/dist/components/Button/Button/index.js.map +1 -1
- package/dist/components/Button/Button/types.d.ts +4 -0
- package/dist/components/Button/ButtonGroups/ButtonGroup/ButtonGroup.d.ts +17 -0
- package/dist/components/Button/ButtonGroups/ButtonGroup/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ButtonGroup/types.d.ts +24 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/context.d.ts +22 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js +3 -6
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/index.js.map +1 -1
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/useButtonGroupContext.d.ts +5 -0
- package/dist/components/Button/ButtonGroups/ButtonGroupContext/useConnectedButtonGroupContext.d.ts +5 -0
- package/dist/components/Button/ButtonGroups/ConnectedButton/ConnectedButton.d.ts +13 -0
- package/dist/components/Button/ButtonGroups/ConnectedButton/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ConnectedButton/types.d.ts +19 -1
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +18 -0
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/index.js +1 -2
- package/dist/components/Button/ButtonGroups/ConnectedButtonGroup/types.d.ts +24 -0
- package/dist/components/Button/IconButton/IconButton.d.ts +21 -0
- package/dist/components/Button/IconButton/index.js +1 -2
- package/dist/components/Button/IconButton/index.js.map +1 -1
- package/dist/components/Button/IconButton/types.d.ts +4 -0
- package/dist/components/Button/LinkButton/LinkButton.d.ts +15 -0
- package/dist/components/Button/LinkButton/index.js +1 -2
- package/dist/components/Button/LinkButton/index.js.map +1 -1
- package/dist/components/Button/LinkButton/types.d.ts +4 -0
- package/dist/components/Button/LinkIconButton/LinkIconButton.d.ts +19 -0
- package/dist/components/Button/LinkIconButton/index.js +1 -2
- package/dist/components/Button/LinkIconButton/index.js.map +1 -1
- package/dist/components/Button/LinkIconButton/types.d.ts +4 -0
- package/dist/components/Button/SplitButton/SplitButton/SplitButton.d.ts +24 -0
- package/dist/components/Button/SplitButton/SplitButton/index.js +1 -2
- package/dist/components/Button/SplitButton/SplitButton/types.d.ts +23 -0
- package/dist/components/Button/SplitButton/SplitButtonContext/context.d.ts +11 -0
- package/dist/components/Button/SplitButton/SplitButtonContext/index.js +2 -4
- package/dist/components/Button/SplitButton/SplitButtonContext/index.js.map +1 -1
- package/dist/components/Button/SplitButton/SplitButtonContext/useSplitButtonContext.d.ts +5 -0
- package/dist/components/Button/SplitButton/SplitButtonPrimary/SplitButtonPrimary.d.ts +15 -0
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +3 -4
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/SplitButton/SplitButtonPrimary/types.d.ts +11 -0
- package/dist/components/Button/SplitButton/SplitButtonTrigger/SplitButtonTrigger.d.ts +19 -0
- package/dist/components/Button/SplitButton/SplitButtonTrigger/index.js +1 -2
- package/dist/components/Button/SplitButton/SplitButtonTrigger/types.d.ts +5 -0
- package/dist/components/Button/SplitButton/core/index.js +1 -2
- package/dist/components/Button/SplitButton/core/size.d.ts +13 -0
- package/dist/components/Button/ToggleButton/ToggleButton.d.ts +21 -0
- package/dist/components/Button/ToggleButton/index.js +1 -2
- package/dist/components/Button/ToggleButton/index.js.map +1 -1
- package/dist/components/Button/ToggleButton/types.d.ts +14 -0
- package/dist/components/Button/ToggleIconButton/ToggleIconButton.d.ts +21 -0
- package/dist/components/Button/ToggleIconButton/index.js +1 -2
- package/dist/components/Button/ToggleIconButton/index.js.map +1 -1
- package/dist/components/Button/ToggleIconButton/types.d.ts +9 -0
- package/dist/components/Button/core/button.d.ts +33 -0
- package/dist/components/Button/core/color.d.ts +38 -0
- package/dist/components/Button/core/index.js +1 -2
- package/dist/components/Button/core/shape.d.ts +6 -0
- package/dist/components/Button/core/sizes.d.ts +26 -0
- package/dist/components/Button/core/useButtonConfig.d.ts +25 -0
- package/dist/components/Button/core/variant.d.ts +6 -0
- package/dist/components/Button/core/width.d.ts +7 -0
- package/dist/components/Button/core/withTooltip.d.ts +9 -2
- package/dist/components/Calendar/BaseCalendar/BaseCalendar.d.ts +23 -2
- package/dist/components/Calendar/BaseCalendar/index.js +1 -2
- package/dist/components/Calendar/Calendar/Calendar.d.ts +39 -2
- package/dist/components/Calendar/Calendar/index.js +19 -14
- package/dist/components/Calendar/Calendar/index.js.map +1 -1
- package/dist/components/Calendar/CalendarCell/CalendarCell.d.ts +14 -2
- package/dist/components/Calendar/CalendarCell/index.js +1 -2
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts +12 -2
- package/dist/components/Calendar/CalendarGrid/index.js +1 -2
- package/dist/components/Calendar/CalendarMenuItem/CalendarMenuItem.d.ts +12 -1
- package/dist/components/Calendar/CalendarMenuItem/index.js +1 -2
- package/dist/components/Calendar/CalendarMonthMenu/CalendarMonthMenu.d.ts +14 -2
- package/dist/components/Calendar/CalendarMonthMenu/index.js +3 -4
- package/dist/components/Calendar/CalendarMonthMenu/index.js.map +1 -1
- package/dist/components/Calendar/CalendarYearMenu/CalendarYearMenu.d.ts +14 -2
- package/dist/components/Calendar/CalendarYearMenu/index.js +1 -2
- package/dist/components/Calendar/CalendarYearMenu/index.js.map +1 -1
- package/dist/components/Calendar/RangeCalendar/RangeCalendar.d.ts +40 -2
- package/dist/components/Calendar/RangeCalendar/index.js +20 -17
- package/dist/components/Calendar/RangeCalendar/index.js.map +1 -1
- package/dist/components/Calendar/core/calendar.d.ts +26 -0
- package/dist/components/Calendar/core/index.js +1 -2
- package/dist/components/Calendar/core/useCalendarState.d.ts +15 -0
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Calendar/index.js +4 -3
- package/dist/components/Card/Card/Card.d.ts +20 -0
- package/dist/components/Card/Card/types.d.ts +23 -0
- package/dist/components/Card/CardIcon/CardIcon.d.ts +25 -1
- package/dist/components/Card/CardIcon/index.js +1 -2
- package/dist/components/Decorators/GridBackgroundDecorator/GridBackgroundDecorator.d.ts +46 -7
- package/dist/components/Decorators/GridBackgroundDecorator/index.js +1 -2
- package/dist/components/Decorators/RadialGlowDecorator/RadialGlowDecorator.d.ts +53 -6
- package/dist/components/Decorators/RadialGlowDecorator/index.js +1 -2
- package/dist/components/Dialog/ActionDialog/ActionDialog.d.ts +33 -0
- package/dist/components/Dialog/ActionDialog/index.js +1 -2
- package/dist/components/Dialog/ActionDialog/types.d.ts +28 -2
- package/dist/components/Dialog/Dialog/Dialog.d.ts +32 -1
- package/dist/components/Dialog/Dialog/index.js +1 -2
- package/dist/components/Dialog/Modal/Modal.d.ts +24 -1
- package/dist/components/Dialog/Modal/index.js +1 -2
- package/dist/components/Dialog/ModalOverlay/ModalOverlay.d.ts +25 -1
- package/dist/components/Dialog/ModalOverlay/index.js +1 -2
- package/dist/components/Dialog/core/context.d.ts +8 -0
- package/dist/components/Dialog/core/index.js +2 -4
- package/dist/components/Dialog/core/index.js.map +1 -1
- package/dist/components/Dialog/core/typography.d.ts +9 -0
- package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +25 -1
- package/dist/components/Disclosure/Disclosure/index.js +1 -2
- package/dist/components/Disclosure/DisclosureGroup/DisclosureGroup.d.ts +50 -2
- package/dist/components/Disclosure/DisclosureGroup/index.js +1 -2
- package/dist/components/Disclosure/DisclosureHeader/DisclosureHeader.d.ts +31 -2
- package/dist/components/Disclosure/DisclosureHeader/index.js +1 -2
- package/dist/components/Disclosure/DisclosurePanel/DisclosurePanel.d.ts +31 -2
- package/dist/components/Disclosure/DisclosurePanel/index.js +1 -2
- package/dist/components/Disclosure/context/context.d.ts +11 -2
- package/dist/components/Disclosure/context/index.js +1 -2
- package/dist/components/Disclosure/context/index.js.map +1 -1
- package/dist/components/Disclosure/context/useDisclosureTypographyContext.d.ts +18 -2
- package/dist/components/Divider/Divider.d.ts +30 -1
- package/dist/components/Divider/index.js +1 -2
- package/dist/components/Icon/Icon.d.ts +29 -0
- package/dist/components/Icon/index.js +1 -2
- package/dist/components/Icon/types.d.ts +28 -0
- package/dist/components/Input/CharacterCount/CharacterCount.d.ts +11 -2
- package/dist/components/Input/CharacterCount/index.js +1 -2
- package/dist/components/Input/CharacterCount/index.js.map +1 -1
- package/dist/components/Input/Checkbox/Checkbox.d.ts +26 -0
- package/dist/components/Input/Checkbox/CheckboxGroup.d.ts +17 -0
- package/dist/components/Input/Checkbox/context.d.ts +9 -3
- package/dist/components/Input/Checkbox/types.d.ts +32 -5
- package/dist/components/Input/DateField/DateField.d.ts +17 -1
- package/dist/components/Input/DateField/index.js +1 -2
- package/dist/components/Input/DateField/index.js.map +1 -1
- package/dist/components/Input/DateField/types.d.ts +4 -0
- package/dist/components/Input/DatePicker/DatePicker/DatePicker.d.ts +17 -1
- package/dist/components/Input/DatePicker/DatePicker/index.js +1 -2
- package/dist/components/Input/DatePicker/DatePicker/index.js.map +1 -1
- package/dist/components/Input/DatePicker/DatePicker/types.d.ts +10 -0
- package/dist/components/Input/DatePicker/DateRangePicker/DateRangePicker.d.ts +17 -1
- package/dist/components/Input/DatePicker/DateRangePicker/index.js +1 -2
- package/dist/components/Input/DatePicker/DateRangePicker/index.js.map +1 -1
- package/dist/components/Input/DatePicker/DateRangePicker/types.d.ts +10 -0
- package/dist/components/Input/DatePicker/core/datePicker.d.ts +3 -0
- package/dist/components/Input/DatePicker/core/index.js +1 -2
- package/dist/components/Input/Description/Description.d.ts +12 -1
- package/dist/components/Input/Description/index.js +1 -2
- package/dist/components/Input/Description/index.js.map +1 -1
- package/dist/components/Input/FieldError/FieldError.d.ts +12 -1
- package/dist/components/Input/FieldError/index.js +1 -2
- package/dist/components/Input/Input/Input.d.ts +27 -0
- package/dist/components/Input/Input/InputButton.d.ts +10 -1
- package/dist/components/Input/Input/handleInputButton.d.ts +6 -0
- package/dist/components/Input/Input/index.js +1 -2
- package/dist/components/Input/Input/types.d.ts +20 -0
- package/dist/components/Input/Label/Label.d.ts +12 -1
- package/dist/components/Input/Label/index.js +1 -2
- package/dist/components/Input/Label/index.js.map +1 -1
- package/dist/components/Input/Radio/Radio.d.ts +17 -0
- package/dist/components/Input/Radio/RadioGroup.d.ts +17 -0
- package/dist/components/Input/Radio/context.d.ts +9 -3
- package/dist/components/Input/Radio/index.js +1 -2
- package/dist/components/Input/Radio/types.d.ts +32 -6
- package/dist/components/Input/SearchField/SearchField.d.ts +16 -0
- package/dist/components/Input/SearchField/index.js +1 -2
- package/dist/components/Input/SearchField/types.d.ts +9 -0
- package/dist/components/Input/Select/ComboBox/ComboBox.d.ts +29 -1
- package/dist/components/Input/Select/ComboBox/context.d.ts +3 -0
- package/dist/components/Input/Select/ComboBox/index.js +1 -2
- package/dist/components/Input/Select/ComboBox/types.d.ts +9 -0
- package/dist/components/Input/Select/ComboBoxPopover/ComboBoxPopover.d.ts +10 -1
- package/dist/components/Input/Select/ComboBoxPopover/index.js +1 -2
- package/dist/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.d.ts +10 -2
- package/dist/components/Input/Select/ComboBoxTrigger/index.js +1 -2
- package/dist/components/Input/Select/Select/Select.d.ts +29 -1
- package/dist/components/Input/Select/Select/index.js +1 -2
- package/dist/components/Input/Select/Select/index.js.map +1 -1
- package/dist/components/Input/Select/Select/types.d.ts +4 -0
- package/dist/components/Input/Select/SelectItem/SelectItem.d.ts +19 -0
- package/dist/components/Input/Select/SelectItem/index.js +1 -2
- package/dist/components/Input/Select/SelectItem/index.js.map +1 -1
- package/dist/components/Input/Select/SelectItem/types.d.ts +9 -0
- package/dist/components/Input/Select/SelectList/SelectList.d.ts +14 -2
- package/dist/components/Input/Select/SelectList/index.js +1 -2
- package/dist/components/Input/Select/SelectList/index.js.map +1 -1
- package/dist/components/Input/Select/SelectListSection/SelectListSection.d.ts +4 -1
- package/dist/components/Input/Select/SelectListSection/index.js +1 -2
- package/dist/components/Input/Select/SelectListSection/index.js.map +1 -1
- package/dist/components/Input/Select/SelectListSectionHeader/SelectListSectionHeader.d.ts +3 -0
- package/dist/components/Input/Select/SelectListSectionHeader/index.js +1 -2
- package/dist/components/Input/Select/SelectListSectionHeader/index.js.map +1 -1
- package/dist/components/Input/Select/SelectPopover/SelectPopover.d.ts +10 -1
- package/dist/components/Input/Select/SelectPopover/index.js +1 -2
- package/dist/components/Input/Select/SelectTrigger/SelectTrigger.d.ts +10 -1
- package/dist/components/Input/Select/SelectTrigger/index.js +1 -2
- package/dist/components/Input/Slider/CenteredSlider/CenteredSlider.d.ts +23 -1
- package/dist/components/Input/Slider/CenteredSlider/index.js +1 -2
- package/dist/components/Input/Slider/CenteredSlider/types.d.ts +6 -0
- package/dist/components/Input/Slider/RangeSlider/RangeSlider.d.ts +24 -1
- package/dist/components/Input/Slider/RangeSlider/index.js +1 -2
- package/dist/components/Input/Slider/RangeSlider/index.js.map +1 -1
- package/dist/components/Input/Slider/RangeSlider/types.d.ts +9 -0
- package/dist/components/Input/Slider/Slider/Slider.d.ts +24 -1
- package/dist/components/Input/Slider/Slider/index.js +1 -2
- package/dist/components/Input/Slider/Slider/types.d.ts +13 -0
- package/dist/components/Input/Slider/SliderOutput/SliderOutput.d.ts +19 -1
- package/dist/components/Input/Slider/SliderOutput/index.js +1 -2
- package/dist/components/Input/Slider/SliderStops/SliderStops.d.ts +18 -0
- package/dist/components/Input/Slider/SliderStops/core.d.ts +54 -10
- package/dist/components/Input/Slider/SliderStops/index.js +1 -2
- package/dist/components/Input/Slider/SliderStops/types.d.ts +38 -0
- package/dist/components/Input/Slider/SliderThumb/SliderThumb.d.ts +32 -2
- package/dist/components/Input/Slider/SliderThumb/context.d.ts +20 -0
- package/dist/components/Input/Slider/SliderThumb/index.js +1 -2
- package/dist/components/Input/Slider/core/color.d.ts +1 -0
- package/dist/components/Input/Slider/core/index.js +1 -2
- package/dist/components/Input/Slider/core/size.d.ts +12 -0
- package/dist/components/Input/Slider/core/slider.d.ts +44 -0
- package/dist/components/Input/Slider/core/variant.d.ts +10 -0
- package/dist/components/Input/Switch/Switch.d.ts +32 -0
- package/dist/components/Input/Switch/index.js +1 -2
- package/dist/components/Input/Switch/types.d.ts +35 -3
- package/dist/components/Input/TextArea/TextArea.d.ts +19 -0
- package/dist/components/Input/TextArea/index.js +1 -2
- package/dist/components/Input/TextArea/index.js.map +1 -1
- package/dist/components/Input/TextArea/types.d.ts +11 -0
- package/dist/components/Input/TimeField/TimeField.d.ts +17 -1
- package/dist/components/Input/TimeField/index.js +1 -2
- package/dist/components/Input/TimeField/index.js.map +1 -1
- package/dist/components/Input/TimeField/types.d.ts +4 -0
- package/dist/components/Input/core/index.js +1 -2
- package/dist/components/Input/core/input.d.ts +15 -0
- package/dist/components/Input/core/textField.d.ts +13 -0
- package/dist/components/Input/hooks/index.js +1 -2
- package/dist/components/Input/hooks/index.js.map +1 -1
- package/dist/components/Input/hooks/useControllableState.d.ts +17 -2
- package/dist/components/List/ListAction/ListAction.d.ts +23 -1
- package/dist/components/List/ListAction/index.d.ts +1 -1
- package/dist/components/List/ListAction/index.js +1 -0
- package/dist/components/List/ListAvatar/ListAvatar.d.ts +23 -1
- package/dist/components/List/ListAvatar/index.js +1 -2
- package/dist/components/List/ListBox/ListBox.d.ts +28 -1
- package/dist/components/List/ListBox/index.js +1 -2
- package/dist/components/List/ListBox/types.d.ts +27 -0
- package/dist/components/List/ListIcon/ListIcon.d.ts +19 -1
- package/dist/components/List/ListIcon/index.js +1 -2
- package/dist/components/List/ListItem/ListItem.d.ts +35 -0
- package/dist/components/List/ListItem/index.js +1 -2
- package/dist/components/List/ListItem/types.d.ts +34 -0
- package/dist/components/List/ListLabelText/ListLabelText.d.ts +16 -1
- package/dist/components/List/ListLabelText/index.js +1 -2
- package/dist/components/List/ListMedia/ListMedia.d.ts +20 -0
- package/dist/components/List/ListMedia/index.js +1 -2
- package/dist/components/List/ListMedia/types.d.ts +32 -0
- package/dist/components/List/ListOverlineText/ListOverlineText.d.ts +16 -1
- package/dist/components/List/ListOverlineText/index.js +1 -2
- package/dist/components/List/ListSupportingText/ListSupportingText.d.ts +16 -1
- package/dist/components/List/ListSupportingText/index.js +1 -2
- package/dist/components/List/ListTrailingText/ListTrailingText.d.ts +16 -1
- package/dist/components/List/ListTrailingText/index.d.ts +1 -1
- package/dist/components/List/ListTrailingText/index.js +1 -0
- package/dist/components/List/core/context.d.ts +18 -0
- package/dist/components/List/core/index.d.ts +2 -0
- package/dist/components/List/core/index.js +9 -0
- package/dist/components/List/core/index.js.map +1 -0
- package/dist/components/List/core/selectionIndicator.d.ts +8 -0
- package/dist/components/List/index.d.ts +1 -0
- package/dist/components/List/index.js +12 -9
- package/dist/components/Loader/Loader.d.ts +26 -1
- package/dist/components/Loader/index.js +1 -2
- package/dist/components/Menu/Menu/Menu.d.ts +31 -1
- package/dist/components/Menu/Menu/index.js +1 -2
- package/dist/components/Menu/Menu/index.js.map +1 -1
- package/dist/components/Menu/Menu/types.d.ts +18 -0
- package/dist/components/Menu/MenuItem/MenuItem.d.ts +22 -0
- package/dist/components/Menu/MenuItem/index.js +1 -2
- package/dist/components/Menu/MenuItem/index.js.map +1 -1
- package/dist/components/Menu/MenuItem/types.d.ts +24 -0
- package/dist/components/Menu/MenuPopover/MenuPopover.d.ts +21 -1
- package/dist/components/Menu/MenuPopover/index.js +1 -2
- package/dist/components/Menu/MenuSection/MenuSection.d.ts +23 -1
- package/dist/components/Menu/MenuSection/index.js +1 -2
- package/dist/components/Menu/MenuSection/index.js.map +1 -1
- package/dist/components/Menu/MenuSectionHeader/MenuSectionHeader.d.ts +16 -1
- package/dist/components/Menu/MenuSectionHeader/index.js +1 -2
- package/dist/components/Menu/MenuSectionHeader/index.js.map +1 -1
- package/dist/components/Menu/MenuShortcut/MenuShortcut.d.ts +16 -1
- package/dist/components/Menu/MenuShortcut/index.js +1 -2
- package/dist/components/Menu/MenuShortcut/index.js.map +1 -1
- package/dist/components/Menu/MenuTrailingText/MenuTrailingText.d.ts +16 -1
- package/dist/components/Menu/MenuTrailingText/index.js +1 -2
- package/dist/components/Menu/MenuTrailingText/index.js.map +1 -1
- package/dist/components/Menu/MenuTrigger/MenuTrigger.d.ts +43 -2
- package/dist/components/Menu/MenuTrigger/index.js +1 -2
- package/dist/components/Menu/MenuTrigger/index.js.map +1 -1
- package/dist/components/Menu/SubmenuPopover/SubmenuPopover.d.ts +22 -1
- package/dist/components/Menu/SubmenuPopover/index.js +1 -2
- package/dist/components/Menu/context/context.d.ts +13 -0
- package/dist/components/Menu/context/index.js +2 -4
- package/dist/components/Menu/context/index.js.map +1 -1
- package/dist/components/Menu/context/useMenuConfigContext.d.ts +6 -0
- package/dist/components/Menu/core/color.d.ts +20 -0
- package/dist/components/Menu/core/index.js +1 -2
- package/dist/components/Menu/core/layout.d.ts +17 -0
- package/dist/components/Menu/core/menu.d.ts +18 -0
- package/dist/components/Navigation/Navigation/Navigation.d.ts +28 -0
- package/dist/components/Navigation/Navigation/navContext.d.ts +19 -0
- package/dist/components/Navigation/Navigation/navRenderingContext.d.ts +16 -0
- package/dist/components/Navigation/Navigation/types.d.ts +28 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +15 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationButton/types.d.ts +9 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +21 -2
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +15 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationLink/types.d.ts +5 -0
- package/dist/components/Navigation/NavigationItem/core/index.js +1 -2
- package/dist/components/Navigation/NavigationItem/core/navigationItem.d.ts +22 -0
- package/dist/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +22 -1
- package/dist/components/Navigation/NavigationScrollContainer/index.js +1 -2
- package/dist/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +24 -1
- package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +1 -2
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +16 -1
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +1 -2
- package/dist/components/Navigation/NavigationState/NavigationState.d.ts +27 -2
- package/dist/components/Navigation/NavigationState/context.d.ts +31 -0
- package/dist/components/Navigation/NavigationState/index.d.ts +1 -0
- package/dist/components/Navigation/NavigationState/index.js +2 -4
- package/dist/components/Navigation/NavigationState/index.js.map +1 -1
- package/dist/components/Navigation/NavigationState/types.d.ts +12 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +35 -2
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +1 -2
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -1
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +40 -2
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +1 -2
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -1
- package/dist/components/Navigation/core/index.js +1 -2
- package/dist/components/Navigation/core/navLabelContext.d.ts +6 -0
- package/dist/components/Navigation/core/navigation.d.ts +9 -0
- package/dist/components/Navigation/core/navigationInfo.d.ts +19 -0
- package/dist/components/Popover/Popover.d.ts +34 -1
- package/dist/components/Popover/index.js +1 -2
- package/dist/components/Sheets/BottomSheet/BottomSheet/BottomSheet.d.ts +40 -0
- package/dist/components/Sheets/BottomSheet/BottomSheet/index.d.ts +2 -0
- package/dist/components/Sheets/BottomSheet/BottomSheet/index.js +1 -0
- package/dist/components/Sheets/BottomSheet/BottomSheet/types.d.ts +37 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/BottomSheetModal.d.ts +36 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/context.d.ts +15 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/index.js +1 -0
- package/dist/components/Sheets/BottomSheet/BottomSheetModal/types.d.ts +43 -0
- package/dist/components/Sheets/BottomSheet/index.d.ts +1 -0
- package/dist/components/Sheets/BottomSheet/index.js +3 -2
- package/dist/components/Sheets/SideSheet/SideSheet/SideSheet.d.ts +48 -0
- package/dist/components/Sheets/SideSheet/SideSheet/SideSheetDialog.d.ts +45 -0
- package/dist/components/Sheets/SideSheet/SideSheet/index.d.ts +3 -0
- package/dist/components/Sheets/SideSheet/SideSheet/index.js +1 -0
- package/dist/components/Sheets/SideSheet/SideSheet/types.d.ts +102 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/SideSheetModal.d.ts +36 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/context.d.ts +20 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/index.js +1 -0
- package/dist/components/Sheets/SideSheet/SideSheetModal/types.d.ts +56 -0
- package/dist/components/Sheets/SideSheet/index.d.ts +1 -2
- package/dist/components/Sheets/SideSheet/index.js +3 -2
- package/dist/components/Sheets/core/layout.d.ts +11 -0
- package/dist/components/Sheets/index.d.ts +0 -2
- package/dist/components/Snackbar/SnackbarRegion.d.ts +50 -0
- package/dist/components/Snackbar/context.d.ts +38 -0
- package/dist/components/Snackbar/index.js +1 -2
- package/dist/components/Snackbar/types.d.ts +69 -0
- package/dist/components/Splash/Splash.d.ts +6 -0
- package/dist/components/Splash/index.js +1 -2
- package/dist/components/Splash/types.d.ts +10 -0
- package/dist/components/Splash/useSplash.d.ts +21 -0
- package/dist/components/Tabs/Tab/Tab.d.ts +33 -2
- package/dist/components/Tabs/Tab/index.js +1 -2
- package/dist/components/Tabs/TabList/TabList.d.ts +42 -1
- package/dist/components/Tabs/TabList/index.js +1 -2
- package/dist/components/Tabs/TabPanel/TabPanel.d.ts +28 -1
- package/dist/components/Tabs/TabPanel/index.js +1 -2
- package/dist/components/Tabs/TabPanels/TabPanels.d.ts +28 -1
- package/dist/components/Tabs/TabPanels/index.js +1 -2
- package/dist/components/Tabs/Tabs/Tabs.d.ts +43 -1
- package/dist/components/Tabs/Tabs/index.js +1 -2
- package/dist/components/Tag/Tag.d.ts +37 -0
- package/dist/components/Tag/core.d.ts +6 -0
- package/dist/components/Tag/index.js +1 -2
- package/dist/components/Tag/types.d.ts +48 -2
- package/dist/components/ThemeSelector/ThemeItem.d.ts +52 -2
- package/dist/components/ThemeSelector/ThemeProvider.d.ts +29 -2
- package/dist/components/ThemeSelector/ThemeSelector.d.ts +24 -0
- package/dist/components/ThemeSelector/core.d.ts +72 -4
- package/dist/components/ThemeSelector/index.d.ts +2 -0
- package/dist/components/ThemeSelector/index.js +1 -2
- package/dist/components/ThemeSelector/types.d.ts +110 -2
- package/dist/components/Toolbar/Toolbar.d.ts +47 -0
- package/dist/components/Toolbar/ToolbarToggleButtonGroup.d.ts +35 -1
- package/dist/components/Toolbar/index.js +1 -2
- package/dist/components/Toolbar/types.d.ts +60 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltip/RichTooltip.d.ts +56 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltip/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipActions/RichTooltipActions.d.ts +27 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipActions/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/RichTooltipInfo.d.ts +31 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipInfo/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.d.ts +22 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js.map +1 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.d.ts +26 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +1 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js.map +1 -1
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/RichTooltipTrigger.d.ts +53 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.d.ts +1 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js +11 -0
- package/dist/components/Tooltip/RichTooltip/RichTooltipTrigger/index.js.map +1 -0
- package/dist/components/Tooltip/RichTooltip/index.d.ts +1 -0
- package/dist/components/Tooltip/RichTooltip/index.js +2 -1
- package/dist/components/Tooltip/Tooltip/Tooltip.d.ts +35 -1
- package/dist/components/Tooltip/Tooltip/index.js +1 -2
- package/dist/components/Tooltip/TooltipTrigger/TooltipTrigger.d.ts +29 -1
- package/dist/components/Tooltip/TooltipTrigger/index.js +1 -2
- package/dist/components/Tooltip/TooltipTrigger/index.js.map +1 -1
- package/dist/components/Tooltip/index.js +4 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +131 -139
- package/dist/index.js.map +1 -1
- package/dist/preview/AppBar/AppBar.d.ts +2 -0
- package/dist/preview/AppBar/index.d.ts +1 -0
- package/dist/preview/BottomSheet/BottomSheet.d.ts +6 -0
- package/dist/preview/BottomSheet/index.d.ts +1 -0
- package/dist/preview/Button/Button.d.ts +2 -0
- package/dist/preview/Button/index.d.ts +1 -0
- package/dist/preview/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/dist/preview/ButtonGroup/index.d.ts +1 -0
- package/dist/preview/Calendar/Calendar.d.ts +2 -0
- package/dist/preview/Calendar/index.d.ts +1 -0
- package/dist/preview/Card/Card.d.ts +2 -0
- package/dist/preview/Card/index.d.ts +1 -0
- package/dist/preview/CenteredSlider/CenteredSlider.d.ts +2 -0
- package/dist/preview/CenteredSlider/index.d.ts +1 -0
- package/dist/preview/Checkbox/Checkbox.d.ts +2 -0
- package/dist/preview/Checkbox/index.d.ts +1 -0
- package/dist/preview/Config/Config.d.ts +8 -0
- package/dist/preview/Config/index.d.ts +1 -0
- package/dist/preview/ConnectedButtonGroup/ConnectedButtonGroup.d.ts +2 -0
- package/dist/preview/ConnectedButtonGroup/index.d.ts +1 -0
- package/dist/preview/DateField/DateField.d.ts +6 -0
- package/dist/preview/DateField/index.d.ts +1 -0
- package/dist/preview/DatePicker/DatePicker.d.ts +2 -0
- package/dist/preview/DatePicker/index.d.ts +1 -0
- package/dist/preview/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/dist/preview/DateRangePicker/index.d.ts +1 -0
- package/dist/preview/Decorators/Decorators.d.ts +2 -0
- package/dist/preview/Decorators/index.d.ts +1 -0
- package/dist/preview/Dialog/Dialog.d.ts +2 -0
- package/dist/preview/Dialog/index.d.ts +1 -0
- package/dist/preview/Disclosure/Disclosure.d.ts +2 -0
- package/dist/preview/Disclosure/index.d.ts +1 -0
- package/dist/preview/Gradients/Gradients.d.ts +6 -0
- package/dist/preview/Gradients/index.d.ts +1 -0
- package/dist/preview/Icon/Icon.d.ts +2 -0
- package/dist/preview/Icon/index.d.ts +1 -0
- package/dist/preview/IconButton/IconButton.d.ts +2 -0
- package/dist/preview/IconButton/index.d.ts +1 -0
- package/dist/preview/Input/Input.d.ts +6 -0
- package/dist/preview/Input/index.d.ts +1 -0
- package/dist/preview/Link/Link.d.ts +2 -0
- package/dist/preview/Link/index.d.ts +1 -0
- package/dist/preview/List/List.d.ts +2 -0
- package/dist/preview/List/index.d.ts +1 -0
- package/dist/preview/Menu/Menu.d.ts +3 -0
- package/dist/preview/Menu/index.d.ts +1 -0
- package/dist/preview/Navigation/Navigation.d.ts +3 -0
- package/dist/preview/Navigation/index.d.ts +1 -0
- package/dist/preview/Radio/Radio.d.ts +2 -0
- package/dist/preview/Radio/index.d.ts +1 -0
- package/dist/preview/RangeCalendar/RangeCalendar.d.ts +2 -0
- package/dist/preview/RangeCalendar/index.d.ts +1 -0
- package/dist/preview/RangeSlider/RangeSlider.d.ts +2 -0
- package/dist/preview/RangeSlider/index.d.ts +1 -0
- package/dist/preview/SearchField/SearchField.d.ts +2 -0
- package/dist/preview/SearchField/index.d.ts +1 -0
- package/dist/preview/Select/Select.d.ts +2 -0
- package/dist/preview/Select/index.d.ts +1 -0
- package/dist/preview/SideSheet/SideSheet.d.ts +7 -0
- package/dist/preview/SideSheet/index.d.ts +1 -0
- package/dist/preview/Slider/Slider.d.ts +2 -0
- package/dist/preview/Slider/index.d.ts +1 -0
- package/dist/preview/Snackbar/Snackbar.d.ts +2 -0
- package/dist/preview/Snackbar/index.d.ts +1 -0
- package/dist/preview/SplitButton/SplitButton.d.ts +10 -0
- package/dist/preview/SplitButton/index.d.ts +1 -0
- package/dist/preview/Switch/Switch.d.ts +2 -0
- package/dist/preview/Switch/index.d.ts +1 -0
- package/dist/preview/Tabs/Tabs.d.ts +7 -0
- package/dist/preview/Tabs/index.d.ts +1 -0
- package/dist/preview/Tags/Tags.d.ts +2 -0
- package/dist/preview/Tags/index.d.ts +1 -0
- package/dist/preview/TextArea/TextArea.d.ts +6 -0
- package/dist/preview/TextArea/index.d.ts +1 -0
- package/dist/preview/ThemeSelector/ThemeSelector.d.ts +2 -0
- package/dist/preview/ThemeSelector/index.d.ts +1 -0
- package/dist/preview/TimeField/TimeField.d.ts +6 -0
- package/dist/preview/TimeField/index.d.ts +1 -0
- package/dist/preview/Toolbar/Toolbar.d.ts +10 -0
- package/dist/preview/Toolbar/index.d.ts +1 -0
- package/dist/preview/Tooltip/Tooltip.d.ts +2 -0
- package/dist/preview/Tooltip/index.d.ts +1 -0
- package/dist/utils/gradients/gradients.d.ts +97 -0
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/ref/ref.d.ts +35 -2
- package/dist/utils/scroll/scroll.d.ts +67 -4
- package/dist/utils/tapTarget/tapTarget.d.ts +57 -0
- package/dist/utils/theme/build.d.ts +24 -0
- package/dist/utils/theme/types.d.ts +70 -0
- package/dist/utils/theme/useTheme.d.ts +40 -0
- package/dist/utils/typography/base.d.ts +68 -0
- package/dist/utils/typography/core.d.ts +16 -0
- package/dist/utils/typography/fluid.d.ts +36 -0
- package/package.json +24 -26
- package/dist/chunks/useGlobalListeners +0 -294
- package/dist/chunks/useGlobalListeners.map +0 -1
- package/dist/chunks/usePress +0 -535
- package/dist/chunks/usePress.map +0 -1
- package/dist/components/Image/Image.d.ts +0 -2
- package/dist/components/Image/index.d.ts +0 -2
- package/dist/components/Image/index.js +0 -29
- package/dist/components/Image/index.js.map +0 -1
- package/dist/components/Image/types.d.ts +0 -9
- package/dist/components/Sheets/BottomSheet/BottomSheet.d.ts +0 -2
- package/dist/components/Sheets/BottomSheetModal/BottomSheetModal.d.ts +0 -2
- package/dist/components/Sheets/BottomSheetModal/context.d.ts +0 -5
- package/dist/components/Sheets/BottomSheetModal/index.js +0 -2
- package/dist/components/Sheets/BottomSheetModal/types.d.ts +0 -5
- package/dist/components/Sheets/SideSheet/SideSheet.d.ts +0 -2
- package/dist/components/Sheets/SideSheet/SideSheetDialog.d.ts +0 -2
- package/dist/components/Sheets/SideSheet/types.d.ts +0 -8
- package/dist/components/Sheets/SideSheetModal/SideSheetModal.d.ts +0 -2
- package/dist/components/Sheets/SideSheetModal/context.d.ts +0 -7
- package/dist/components/Sheets/SideSheetModal/index.js +0 -2
- package/dist/components/Sheets/SideSheetModal/types.d.ts +0 -7
- package/dist/utils/form/form.d.ts +0 -13
- package/dist/utils/form/index.d.ts +0 -1
- /package/dist/components/Sheets/{BottomSheetModal → BottomSheet/BottomSheetModal}/index.d.ts +0 -0
- /package/dist/components/Sheets/{SideSheetModal → SideSheet/SideSheetModal}/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBoxTrigger","names":["inputRef","placeholder","dir","ChevronDown"],"sources":["../../src/components/Input/Select/ComboBoxTrigger/comboBoxTrigger.module.css","../../src/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.tsx"],"sourcesContent":["@layer adgytec.overrides {\n .trigger[data-invalid] > [data-button] {\n --md-button-color: var(--group-color);\n }\n}\n\n@layer adgytec.comps {\n .trigger {\n --rotate: 0;\n\n &[data-pressed] {\n --rotate: 180deg;\n }\n\n & svg {\n rotate: var(--rotate);\n transition: rotate var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n }\n\n .input {\n flex: 1;\n text-align: start;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n}\n","import clsx from \"clsx\";\nimport { ChevronDown } from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { useFocusRing } from \"react-aria/useFocusRing\";\nimport { useHover } from \"react-aria/useHover\";\nimport { usePress } from \"react-aria/usePress\";\nimport { Input } from \"react-aria-components\";\nimport { IconButton } from \"@/components/Button\";\nimport { type RefProp, typography } from \"@/utils\";\nimport { EditorInputStyles, EditorStyles, UnsetStyles } from \"../../core\";\nimport { ComboboxContext } from \"../ComboBox/context\";\nimport styles from \"./comboBoxTrigger.module.css\";\n\nexport const ComboBoxTrigger: React.FC<\n Omit<React.ComponentPropsWithoutRef<\"span\">, \"children\"> &\n RefProp<typeof Input> & {\n placeholder?: string;\n }\n> = ({ className, placeholder, dir, ref, ...props }) => {\n const inputRef = useObjectRef(ref);\n\n const { isInvalid, isDisabled, isOpen } = useContext(ComboboxContext);\n const { isFocused, isFocusVisible, focusProps } = useFocusRing({\n isTextInput: true,\n });\n const { isHovered, hoverProps } = useHover({});\n const { pressProps } = usePress({\n onPress: () => {\n inputRef.current?.focus();\n },\n });\n\n const dataAttrs = {\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-trailing\": true,\n \"data-invalid\": isInvalid || undefined,\n \"data-input\": true,\n \"data-disabled\": isDisabled || undefined,\n \"data-open\": isOpen || undefined,\n };\n\n return (\n <span\n {...pressProps}\n {...hoverProps}\n className={clsx(EditorStyles, className)}\n {...props}\n {...dataAttrs}\n >\n <Input\n ref={inputRef}\n {...focusProps}\n placeholder={placeholder}\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n styles[\"input\"]\n )}\n data-input={true}\n dir={dir}\n />\n <IconButton\n className={clsx(styles[\"trigger\"])}\n icon={ChevronDown}\n color=\"standard\"\n data-invalid={isInvalid || undefined}\n />\n </span>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;GCca,KAKT,MAAA;CAAA,IAAA,KAAA,GAAA,EAAA,EAAA,CAAA,EAAA,GAAA,GAAA,GAAA,GAAA,GAAA;CAAA,AAAA,EAAA,OAAA,KAA+C,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,IAAA,IAAA,EAAA,OAA9C,kDAAA,KAAA,GAA8C,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA,GAAA,EAAA,KAAA;CAC/C,IAAA,IAAiB,EAAa,CAAG,GAEjC,EAAA,cAAA,eAAA,cAA0C,EAAW,CAAe,GAAE;CAAA,AAAA,EAAA,OAAA,OAAA,IAAA,2BAAA,KACP,IAAA,EAAA,aAC9C,GACjB,GAAC,EAAA,KAAA,KAAA,IAAA,EAAA;CAFD,IAAA,EAAA,cAAA,mBAAA,kBAAkD,EAAa,CAE9D,GAAE;CAAA,AAAA,EAAA,OAAA,OAAA,IAAA,2BAAA,KACwC,IAAA,CAAC,GAAC,EAAA,KAAA,KAAA,I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CAAA,GACV,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA;CAAA,IAAA;CAAA,AAAA,EAAA,QAAA,OAAA,IAAA,2BAAA,KAEa,IAAA,EAAK,EAAM,OAAW,GAAC,EAAA,MAAA,KAAA,IAAA,EAAA;CAGpB,IAAA,IAAA,KAAA,KAAA,GAAsB;CAAA,AAAA,EAAA,QAAA,IACtC,IAAA,EAAA,OALF,IAAA,kBAAC,GAAD;EACe,WAAA;EACLG,MAAA;EACA,OAAA;EACQ,gBAAA;CAAsB,CAAA,GACtC,EAAA,MAAA,GAAA,EAAA,MAAA;CAAA,IAAA;CACC,OADD,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAAA,EAAA,QAAA,KAzBN,IAAA,kBAAA,QAAA;EA0BO,GAzBC;EAAU,GACV;EACO,WAAA;EAA6B,GACpC;EAAK,GACL;YALR,CAOI,GAaA,CAMG;KAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,GAAA,EAAA,MAAA,KAAA,IAAA,EAAA,KA1BP;AA0BO"}
|
|
1
|
+
{"version":3,"file":"ComboBoxTrigger","names":["$aPpn7$clsx","$kV9Vy$react","$emnFQ$react","$emnFQ$useRef","$emnFQ$useCallback","$fL2C6$useContext","$fL2C6$useState","$fL2C6$useRef","$fL2C6$useCallback","$fL2C6$useEffect","$fL2C6$useMemo","$fL2C6$flushSync","inputRef","placeholder","dir","ChevronDown","_c","useFocusRing","useHover","usePress","clsx","styles","require_compiler_runtime","UnsetStyles","EditorInputStyles","EditorStyles","$d447af545b77c9f1$export$b204af158042fbac","$b5c62b033c25b96d$export$29bf1b5f2c56cf63","$a92dc41f639950be$export$c2b7abe5d61ec696","$a92dc41f639950be$export$cabe61c495ee3649","$23f2114a1b82827e$export$e58f029f0fbfdb29","$23f2114a1b82827e$export$4282f70798064fe0","$caaf0dd3060ed57c$export$95185d699e05d4d7","$2add3ce32c6007eb$export$fedb369cb70207f1","$1969ac565cfec8d0$export$de79e2c695e052f3","$0c4a58759813079a$export$4e328f61c538687f","$b5c62b033c25b96d$export$60278871457622de","$c4867b2f328c2698$export$e5c5a5f917a5871c","$48a7d519b337145d$export$4eaf04e54aa8eed6","$2add3ce32c6007eb$export$78551043582a6a98","$e969f22b6713ca4a$export$ae780daf29e6d456","$a92dc41f639950be$export$525bc4921d56d4a","$d447af545b77c9f1$export$f21a1ffae260145a","$d447af545b77c9f1$export$f531f92e2a15358f","ComboboxContext","clsx$1","$3ARPR$react","$a4e76a5424781910$export$e08e3b67e392101e","callbacks","args","callback","$081cb5757e08788e$var$transitionsByElement","$081cb5757e08788e$var$transitionCallbacks","$081cb5757e08788e$var$isTransitionEvent","event","$081cb5757e08788e$var$onTransitionStart","eventTarget","transitions","$081cb5757e08788e$var$onTransitionEnd","properties","$081cb5757e08788e$var$setupGlobalEvents","$081cb5757e08788e$var$cleanupDetachedElements","$081cb5757e08788e$export$24490316f764c430","frame","fn","$cbf007e418543821$var$state","$cbf007e418543821$var$savedUserSelect","$cbf007e418543821$var$modifiedElementMap","$cbf007e418543821$export$16a4697467175487","documentObject","target","property","$cbf007e418543821$export$b0d6fa1ab32e3295","targetOldUserSelect","$7096878c21af5e66$export$a929f3f93e2cc67e","ownerWindow","doc","ownerDocument","content","selector","key","meta","$2b2d34ff061957fb$var$nonceCache","$2b2d34ff061957fb$export$2b85b721e524d74b","nonce","$390e54f620492c70$export$d41a04c74483c6ef","heldValue","$390e54f620492c70$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$4064df0d6f9620e1$export$c9058316764c140e","refs","hasCleanup","cleanups","cleanup","$4064df0d6f9620e1$var$setRef","ref","value","i","$bbaa08b3cd72f041$export$9d1611c77c2fe928","result","props","a","b","$24f9a20f226ad820$export$5165eccb35aaadb5","$fe16bffc7a557bf0$var$useEarlyEffect","\"useInsertionEffect\"","$fe16bffc7a557bf0$export$7f54fc3180508a52","useRef","useCallback","f","$b7115c395c64f7b5$export$4debdb1a3f0fa79e","context","$d27d541f9569d26d$var$usePressResponderContext","useContext","contextProps","register","$d27d541f9569d26d$var$PressEvent","#shouldStopPropagation","rect","state","originalEvent","x","y","clientX","clientY","type","pointerType","$d27d541f9569d26d$var$LINK_CLICKED","$d27d541f9569d26d$var$STYLE_ID","$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE","$d27d541f9569d26d$export$45712eceda6fad21","isPressedProp","domRef","domProps","isPressed","setPressed","useState","triggerPressStart","isDisabled","shouldStopPropagation","onPressStart","onPressChange","triggerPressEnd","onPressEnd","onPress","wasPressed","triggerPressEndEvent","triggerPressUpEvent","onPressUp","cancel","$d27d541f9569d26d$var$createEvent","removeAllGlobalListeners","allowTextSelectionOnPress","dispose","cancelEvent","cancelOnPointerExit","shouldCancelOnPointerExit","triggerClick","onClick","triggerSyntheticClick","pressProps","useMemo","$d27d541f9569d26d$var$isValidKeyboardEvent","e","$d27d541f9569d26d$var$shouldPreventDefaultKeyboard","originalTarget","addGlobalListener","onKeyUp","$2add3ce32c6007eb$export$9ac100e40613ea10","stopPressStart","stopPressUp","stopPressEnd","$d27d541f9569d26d$var$isHTMLAnchorLink","events","onPointerUp","onPointerCancel","preventFocusOnPress","clicked","timeout","flushSync","onMouseUp","touch","$d27d541f9569d26d$var$getTouchFromEvent","$d27d541f9569d26d$var$createTouchEvent","onScroll","$d27d541f9569d26d$var$getTouchById","$d27d541f9569d26d$var$isOverTarget","useEffect","style","element","currentTarget","role","code","$d27d541f9569d26d$var$isValidInputKey","targetTouches","changedTouches","pointerId","$d27d541f9569d26d$var$getPointClientRect","offsetX","offsetY","point","$d27d541f9569d26d$var$areRectanglesOverlapping","$d27d541f9569d26d$var$shouldPreventDefaultUp","$d27d541f9569d26d$var$nonTextInputTypes","import_compiler_runtime","comboBoxTrigger_module_default","ComboBoxTrigger","$","className","dir","placeholder","t0","inputRef","useObjectRef","t1","t2","t3","t4","isHovered","t5","isFocused","t6","isFocusVisible","t7","isInvalid","t8","t9","isOpen","t10","dataAttrs","t11","t12","typography","t13","focusProps","Input","t14","t15","t16","IconButton","ChevronDown","t17","hoverProps"],"sources":["../../node_modules/react-aria/dist/private/utils/chain.mjs","../../node_modules/react-aria/dist/private/utils/runAfterTransition.mjs","../../node_modules/react-aria/dist/private/interactions/textSelection.mjs","../../node_modules/react-aria/dist/private/utils/getMetaValue.mjs","../../node_modules/react-aria/dist/private/utils/getNonce.mjs","../../node_modules/react-aria/dist/private/utils/useId.mjs","../../node_modules/react-aria/dist/private/utils/mergeRefs.mjs","../../node_modules/react-aria/dist/private/utils/mergeProps.mjs","../../node_modules/react-aria/dist/private/interactions/context.mjs","../../node_modules/react-aria/dist/private/utils/useEffectEvent.mjs","../../node_modules/react-aria/dist/private/utils/useSyncRef.mjs","../../node_modules/react-aria/dist/private/interactions/usePress.mjs","../../src/components/Input/Select/ComboBoxTrigger/comboBoxTrigger.module.css","../../src/components/Input/Select/ComboBoxTrigger/ComboBoxTrigger.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $a4e76a5424781910$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$a4e76a5424781910$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.mjs.map\n","import {addEvent as $d447af545b77c9f1$export$f531f92e2a15358f} from \"./domHelpers.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"./shadowdom/DOMFunctions.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n// We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nconst $081cb5757e08788e$var$transitionsByElement = new Map();\nconst $081cb5757e08788e$var$transitionCallbacks = new Set();\nfunction $081cb5757e08788e$var$isTransitionEvent(event) {\n return 'propertyName' in event;\n}\nfunction $081cb5757e08788e$var$onTransitionStart(e) {\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!$081cb5757e08788e$var$isTransitionEvent(e) || !eventTarget) return;\n // Add the transitioning property to the list for this element.\n let transitions = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!transitions) {\n transitions = new Set();\n $081cb5757e08788e$var$transitionsByElement.set(eventTarget, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n eventTarget.addEventListener('transitioncancel', $081cb5757e08788e$var$onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n}\nfunction $081cb5757e08788e$var$onTransitionEnd(e) {\n let eventTarget = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if (!$081cb5757e08788e$var$isTransitionEvent(e) || !eventTarget) return;\n // Remove property from list of transitioning properties.\n let properties = $081cb5757e08788e$var$transitionsByElement.get(eventTarget);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n eventTarget.removeEventListener('transitioncancel', $081cb5757e08788e$var$onTransitionEnd);\n $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) for (let callback of $081cb5757e08788e$var$transitionCallbacks){\n callback(true);\n $081cb5757e08788e$var$transitionCallbacks.delete(callback);\n }\n}\nfunction $081cb5757e08788e$var$setupGlobalEvents() {\n (0, $d447af545b77c9f1$export$f531f92e2a15358f)(document, 'transitionrun', $081cb5757e08788e$var$onTransitionStart);\n (0, $d447af545b77c9f1$export$f531f92e2a15358f)(document, 'transitionend', $081cb5757e08788e$var$onTransitionEnd);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $081cb5757e08788e$var$cleanupDetachedElements() {\n for (const [eventTarget] of $081cb5757e08788e$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $081cb5757e08788e$var$transitionsByElement.delete(eventTarget);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $081cb5757e08788e$var$setupGlobalEvents();\n else (0, $d447af545b77c9f1$export$f531f92e2a15358f)(document, 'DOMContentLoaded', $081cb5757e08788e$var$setupGlobalEvents);\n}\nfunction $081cb5757e08788e$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n let frame = window.requestAnimationFrame(()=>{\n $081cb5757e08788e$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($081cb5757e08788e$var$transitionsByElement.size === 0) return fn(false);\n $081cb5757e08788e$var$transitionCallbacks.add(fn);\n });\n return ()=>{\n window.cancelAnimationFrame(frame);\n $081cb5757e08788e$var$transitionCallbacks.delete(fn);\n };\n}\n\n\nexport {$081cb5757e08788e$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.mjs.map\n","import {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"../utils/domHelpers.mjs\";\nimport {isIOS as $2add3ce32c6007eb$export$fedb369cb70207f1, isWebKit as $2add3ce32c6007eb$export$78551043582a6a98} from \"../utils/platform.mjs\";\nimport {runAfterTransition as $081cb5757e08788e$export$24490316f764c430} from \"../utils/runAfterTransition.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n// Note that state only matters here for iOS. Non-iOS gets user-select: none applied to the target element\n// rather than at the document level so we just need to apply/remove user-select: none for each pressed element individually\nlet $cbf007e418543821$var$state = 'default';\nlet $cbf007e418543821$var$savedUserSelect = '';\nlet $cbf007e418543821$var$modifiedElementMap = new WeakMap();\nfunction $cbf007e418543821$export$16a4697467175487(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)() && (0, $2add3ce32c6007eb$export$78551043582a6a98)()) {\n if ($cbf007e418543821$var$state === 'default') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n $cbf007e418543821$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $cbf007e418543821$var$state = 'disabled';\n } else if (target instanceof HTMLElement || target instanceof SVGElement) {\n // If not iOS, store the target's original user-select and change to user-select: none\n // Ignore state since it doesn't apply for non iOS\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n $cbf007e418543821$var$modifiedElementMap.set(target, target.style[property]);\n target.style[property] = 'none';\n }\n}\nfunction $cbf007e418543821$export$b0d6fa1ab32e3295(target) {\n if ((0, $2add3ce32c6007eb$export$fedb369cb70207f1)() && (0, $2add3ce32c6007eb$export$78551043582a6a98)()) {\n // If the state is already default, there's nothing to do.\n // If it is restoring, then there's no need to queue a second restore.\n if ($cbf007e418543821$var$state !== 'disabled') return;\n $cbf007e418543821$var$state = 'restoring';\n // There appears to be a delay on iOS where selection still might occur\n // after pointer up, so wait a bit before removing user-select.\n setTimeout(()=>{\n // Wait for any CSS transitions to complete so we don't recompute style\n // for the whole page in the middle of the animation and cause jank.\n (0, $081cb5757e08788e$export$24490316f764c430)(()=>{\n // Avoid race conditions\n if ($cbf007e418543821$var$state === 'restoring') {\n const documentObject = (0, $d447af545b77c9f1$export$b204af158042fbac)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $cbf007e418543821$var$savedUserSelect || '';\n $cbf007e418543821$var$savedUserSelect = '';\n $cbf007e418543821$var$state = 'default';\n }\n });\n }, 300);\n } else if (target instanceof HTMLElement || target instanceof SVGElement) // If not iOS, restore the target's original user-select if any\n // Ignore state since it doesn't apply for non iOS\n {\n if (target && $cbf007e418543821$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $cbf007e418543821$var$modifiedElementMap.get(target);\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n if (target.style[property] === 'none') target.style[property] = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $cbf007e418543821$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$cbf007e418543821$export$16a4697467175487 as disableTextSelection, $cbf007e418543821$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.mjs.map\n","import {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $7096878c21af5e66$export$a929f3f93e2cc67e(key, doc) {\n let ownerWindow = (0, $d447af545b77c9f1$export$f21a1ffae260145a)(doc);\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(doc);\n if (ownerDocument == null || ownerWindow == null) return;\n let content = undefined;\n let selector = `meta[name=\"${CSS.escape(key)}\"], meta[property=\"${CSS.escape(key)}\"]`;\n let meta = ownerDocument.querySelector(selector);\n if (meta && meta instanceof ownerWindow.HTMLMetaElement) {\n if (key === 'csp-nonce' && meta.nonce) content ??= meta.nonce || undefined;\n if (meta.content) content ??= meta.content || undefined;\n }\n if (key === 'csp-nonce') content ??= ownerWindow.__webpack_nonce__ || globalThis.__webpack_nonce__ || undefined;\n return content;\n}\n\n\nexport {$7096878c21af5e66$export$a929f3f93e2cc67e as getMetaValue};\n//# sourceMappingURL=getMetaValue.mjs.map\n","import {getMetaValue as $7096878c21af5e66$export$a929f3f93e2cc67e} from \"./getMetaValue.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac} from \"./domHelpers.mjs\";\n\n/*\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nlet $2b2d34ff061957fb$var$nonceCache = new WeakMap();\nfunction $2b2d34ff061957fb$export$88b319273f3705b4() {\n $2b2d34ff061957fb$var$nonceCache = new WeakMap();\n}\nfunction $2b2d34ff061957fb$export$2b85b721e524d74b(doc) {\n let ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(doc);\n let nonce = $2b2d34ff061957fb$var$nonceCache.get(ownerDocument);\n nonce ??= (0, $7096878c21af5e66$export$a929f3f93e2cc67e)('csp-nonce', ownerDocument);\n if (nonce !== undefined) $2b2d34ff061957fb$var$nonceCache.set(ownerDocument, nonce);\n return nonce;\n}\n\n\nexport {$2b2d34ff061957fb$export$88b319273f3705b4 as resetNonceCache, $2b2d34ff061957fb$export$2b85b721e524d74b as getNonce};\n//# sourceMappingURL=getNonce.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useSSRSafeId as $c7eafbbe1ea5834e$export$619500959fc48b26} from \"../ssr/SSRProvider.mjs\";\nimport {useValueEffect as $1a716630a9e3a599$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $4QKZm$useState, useRef as $4QKZm$useRef, useEffect as $4QKZm$useEffect, useCallback as $4QKZm$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $390e54f620492c70$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $390e54f620492c70$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $390e54f620492c70$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $390e54f620492c70$var$registry = new FinalizationRegistry((heldValue)=>{\n $390e54f620492c70$export$d41a04c74483c6ef.delete(heldValue);\n});\nlet $390e54f620492c70$var$registeredIds = new WeakMap();\nfunction $390e54f620492c70$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $4QKZm$useState)(defaultId);\n let nextId = (0, $4QKZm$useRef)(null);\n let res = (0, $c7eafbbe1ea5834e$export$619500959fc48b26)(value);\n let cleanupRef = (0, $4QKZm$useRef)(null);\n // These are intentionally disabled the compiler, these functions just read the identity\n // of the ref, not the value inside current.\n // oxlint-disable-next-line react/react-compiler\n let registeredId = $390e54f620492c70$var$registeredIds.get(cleanupRef);\n if ($390e54f620492c70$var$registry && registeredId !== res) {\n if (registeredId != null) // oxlint-disable-next-line react/react-compiler\n $390e54f620492c70$var$registry.unregister(cleanupRef);\n // oxlint-disable-next-line react/react-compiler\n $390e54f620492c70$var$registry.register(cleanupRef, res, cleanupRef);\n // oxlint-disable-next-line react/react-compiler\n $390e54f620492c70$var$registeredIds.set(cleanupRef, res);\n }\n if ($390e54f620492c70$var$canUseDOM) {\n const cacheIdRef = $390e54f620492c70$export$d41a04c74483c6ef.get(res);\n // oxlint-disable-next-line react/react-compiler\n if (cacheIdRef && !cacheIdRef.includes(nextId)) // oxlint-disable-next-line react/react-compiler\n cacheIdRef.push(nextId);\n else // oxlint-disable-next-line react/react-compiler\n $390e54f620492c70$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($390e54f620492c70$var$registry) {\n $390e54f620492c70$var$registry.unregister(cleanupRef);\n $390e54f620492c70$var$registeredIds.delete(cleanupRef);\n }\n $390e54f620492c70$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $4QKZm$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $390e54f620492c70$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $390e54f620492c70$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $390e54f620492c70$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $390e54f620492c70$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $390e54f620492c70$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1a716630a9e3a599$export$14d238f342723f25)(id);\n let updateId = (0, $4QKZm$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n // oxlint-disable-next-line react/react-compiler\n }, [\n id,\n setResolvedId\n ]);\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$390e54f620492c70$export$d41a04c74483c6ef as idsUpdaterMap, $390e54f620492c70$export$f680877a34711e37 as useId, $390e54f620492c70$export$cd8c9cb68f842629 as mergeIds, $390e54f620492c70$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.mjs.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $4064df0d6f9620e1$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n let hasCleanup = false;\n const cleanups = refs.map((ref)=>{\n const cleanup = $4064df0d6f9620e1$var$setRef(ref, value);\n hasCleanup ||= typeof cleanup == 'function';\n return cleanup;\n });\n if (hasCleanup) return ()=>{\n cleanups.forEach((cleanup, i)=>{\n if (typeof cleanup === 'function') cleanup();\n else $4064df0d6f9620e1$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $4064df0d6f9620e1$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$4064df0d6f9620e1$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $390e54f620492c70$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport {mergeRefs as $4064df0d6f9620e1$export$c9058316764c140e} from \"./mergeRefs.mjs\";\nimport $aPpn7$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $bbaa08b3cd72f041$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $a4e76a5424781910$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $aPpn7$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $390e54f620492c70$export$cd8c9cb68f842629)(a, b);\n else if (key === 'ref' && a && b) result.ref = (0, $4064df0d6f9620e1$export$c9058316764c140e)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$bbaa08b3cd72f041$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.mjs.map\n","import $kV9Vy$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $24f9a20f226ad820$export$5165eccb35aaadb5 = (0, $kV9Vy$react).createContext({\n register: ()=>{}\n});\n$24f9a20f226ad820$export$5165eccb35aaadb5.displayName = 'PressResponderContext';\n\n\nexport {$24f9a20f226ad820$export$5165eccb35aaadb5 as PressResponderContext};\n//# sourceMappingURL=context.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $emnFQ$react, {useRef as $emnFQ$useRef, useCallback as $emnFQ$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $fe16bffc7a557bf0$var$useEarlyEffect = (0, $emnFQ$react)['useInsertionEffect'] ?? (0, $c4867b2f328c2698$export$e5c5a5f917a5871c);\nfunction $fe16bffc7a557bf0$export$7f54fc3180508a52(fn) {\n const ref = (0, $emnFQ$useRef)(null);\n $fe16bffc7a557bf0$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $emnFQ$useCallback)((...args)=>{\n const f = ref.current;\n return f?.(...args);\n }, []);\n}\n\n\nexport {$fe16bffc7a557bf0$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.mjs.map\n","import {useLayoutEffect as $c4867b2f328c2698$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $b7115c395c64f7b5$export$4debdb1a3f0fa79e(context, ref) {\n // oxlint-disable-next-line react/react-compiler\n (0, $c4867b2f328c2698$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n // oxlint-disable-next-line react/react-compiler\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) // oxlint-disable-next-line react-hooks/exhaustive-deps\n context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$b7115c395c64f7b5$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.mjs.map\n","import {chain as $a4e76a5424781910$export$e08e3b67e392101e} from \"../utils/chain.mjs\";\nimport {createSyntheticEvent as $a92dc41f639950be$export$525bc4921d56d4a, preventFocus as $a92dc41f639950be$export$cabe61c495ee3649, setEventTarget as $a92dc41f639950be$export$c2b7abe5d61ec696} from \"./utils.mjs\";\nimport {disableTextSelection as $cbf007e418543821$export$16a4697467175487, restoreTextSelection as $cbf007e418543821$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {focusWithoutScrolling as $1969ac565cfec8d0$export$de79e2c695e052f3} from \"../utils/focusWithoutScrolling.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29, nodeContains as $23f2114a1b82827e$export$4282f70798064fe0} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {getNonce as $2b2d34ff061957fb$export$2b85b721e524d74b} from \"../utils/getNonce.mjs\";\nimport {getOwnerDocument as $d447af545b77c9f1$export$b204af158042fbac, getOwnerWindow as $d447af545b77c9f1$export$f21a1ffae260145a} from \"../utils/domHelpers.mjs\";\nimport {isMac as $2add3ce32c6007eb$export$9ac100e40613ea10} from \"../utils/platform.mjs\";\nimport {isVirtualClick as $b5c62b033c25b96d$export$60278871457622de, isVirtualPointerEvent as $b5c62b033c25b96d$export$29bf1b5f2c56cf63} from \"../utils/isVirtualEvent.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {openLink as $caaf0dd3060ed57c$export$95185d699e05d4d7} from \"../utils/openLink.mjs\";\nimport {PressResponderContext as $24f9a20f226ad820$export$5165eccb35aaadb5} from \"./context.mjs\";\nimport {useEffectEvent as $fe16bffc7a557bf0$export$7f54fc3180508a52} from \"../utils/useEffectEvent.mjs\";\nimport {useGlobalListeners as $48a7d519b337145d$export$4eaf04e54aa8eed6} from \"../utils/useGlobalListeners.mjs\";\nimport {useSyncRef as $b7115c395c64f7b5$export$4debdb1a3f0fa79e} from \"../utils/useSyncRef.mjs\";\nimport {flushSync as $fL2C6$flushSync} from \"react-dom\";\nimport {useContext as $fL2C6$useContext, useState as $fL2C6$useState, useRef as $fL2C6$useRef, useCallback as $fL2C6$useCallback, useEffect as $fL2C6$useEffect, useMemo as $fL2C6$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $d27d541f9569d26d$var$usePressResponderContext(props) {\n // Consume context from <PressResponder> and merge with props.\n let context = (0, $fL2C6$useContext)((0, $24f9a20f226ad820$export$5165eccb35aaadb5));\n if (context) {\n // Prevent mergeProps from merging ref.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { register: register, ref: ref, ...contextProps } = context;\n props = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(contextProps, props);\n register();\n }\n (0, $b7115c395c64f7b5$export$4debdb1a3f0fa79e)(context, props.ref);\n return props;\n}\nclass $d27d541f9569d26d$var$PressEvent {\n #shouldStopPropagation;\n constructor(type, pointerType, originalEvent, state){\n this.#shouldStopPropagation = true;\n let currentTarget = state?.target ?? originalEvent.currentTarget;\n const rect = currentTarget?.getBoundingClientRect();\n let x, y = 0;\n let clientX, clientY = null;\n if (originalEvent.clientX != null && originalEvent.clientY != null) {\n clientX = originalEvent.clientX;\n clientY = originalEvent.clientY;\n }\n if (rect) {\n if (clientX != null && clientY != null) {\n x = clientX - rect.left;\n y = clientY - rect.top;\n } else {\n x = rect.width / 2;\n y = rect.height / 2;\n }\n }\n this.type = type;\n this.pointerType = pointerType;\n this.target = originalEvent.currentTarget;\n this.shiftKey = originalEvent.shiftKey;\n this.metaKey = originalEvent.metaKey;\n this.ctrlKey = originalEvent.ctrlKey;\n this.altKey = originalEvent.altKey;\n this.x = x;\n this.y = y;\n this.key = originalEvent.key;\n }\n continuePropagation() {\n this.#shouldStopPropagation = false;\n }\n get shouldStopPropagation() {\n return this.#shouldStopPropagation;\n }\n}\nconst $d27d541f9569d26d$var$LINK_CLICKED = Symbol('linkClicked');\nconst $d27d541f9569d26d$var$STYLE_ID = 'react-aria-pressable-style';\nconst $d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE = 'data-react-aria-pressable';\nfunction $d27d541f9569d26d$export$45712eceda6fad21(props) {\n let { onPress: onPress, onPressChange: onPressChange, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onClick: onClick, isDisabled: isDisabled, isPressed: isPressedProp, preventFocusOnPress: preventFocusOnPress, shouldCancelOnPointerExit: shouldCancelOnPointerExit, allowTextSelectionOnPress: allowTextSelectionOnPress, ref: domRef, ...domProps } = $d27d541f9569d26d$var$usePressResponderContext(props);\n let [isPressed, setPressed] = (0, $fL2C6$useState)(false);\n let ref = (0, $fL2C6$useRef)({\n isPressed: false,\n ignoreEmulatedMouseEvents: false,\n didFirePressStart: false,\n isTriggeringEvent: false,\n activePointerId: null,\n target: null,\n isOverTarget: false,\n pointerType: null,\n disposables: []\n });\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $48a7d519b337145d$export$4eaf04e54aa8eed6)();\n let triggerPressStart = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled || state.didFirePressStart) return false;\n let shouldStopPropagation = true;\n state.isTriggeringEvent = true;\n if (onPressStart) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressstart', pointerType, originalEvent);\n onPressStart(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(true);\n state.isTriggeringEvent = false;\n state.didFirePressStart = true;\n setPressed(true);\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressStart,\n onPressChange\n ]);\n let triggerPressEnd = (0, $fL2C6$useCallback)((originalEvent, pointerType, wasPressed = true)=>{\n let state = ref.current;\n if (!state.didFirePressStart) return false;\n state.didFirePressStart = false;\n state.isTriggeringEvent = true;\n let shouldStopPropagation = true;\n if (onPressEnd) {\n let event = new $d27d541f9569d26d$var$PressEvent('pressend', pointerType, originalEvent);\n onPressEnd(event);\n shouldStopPropagation = event.shouldStopPropagation;\n }\n if (onPressChange) onPressChange(false);\n setPressed(false);\n if (onPress && wasPressed && !isDisabled) {\n let event = new $d27d541f9569d26d$var$PressEvent('press', pointerType, originalEvent);\n onPress(event);\n shouldStopPropagation &&= event.shouldStopPropagation;\n }\n state.isTriggeringEvent = false;\n return shouldStopPropagation;\n }, [\n isDisabled,\n onPressEnd,\n onPressChange,\n onPress\n ]);\n let triggerPressEndEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressEnd);\n let triggerPressUp = (0, $fL2C6$useCallback)((originalEvent, pointerType)=>{\n let state = ref.current;\n if (isDisabled) return false;\n if (onPressUp) {\n state.isTriggeringEvent = true;\n let event = new $d27d541f9569d26d$var$PressEvent('pressup', pointerType, originalEvent);\n onPressUp(event);\n state.isTriggeringEvent = false;\n return event.shouldStopPropagation;\n }\n return true;\n }, [\n isDisabled,\n onPressUp\n ]);\n let triggerPressUpEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(triggerPressUp);\n let cancel = (0, $fL2C6$useCallback)((e)=>{\n let state = ref.current;\n if (state.isPressed && state.target) {\n if (state.didFirePressStart && state.pointerType != null) triggerPressEnd($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n state.isPressed = false;\n state.isOverTarget = false;\n state.activePointerId = null;\n state.pointerType = null;\n removeAllGlobalListeners();\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n }\n }, [\n allowTextSelectionOnPress,\n removeAllGlobalListeners,\n triggerPressEnd\n ]);\n let cancelEvent = (0, $fe16bffc7a557bf0$export$7f54fc3180508a52)(cancel);\n (0, $fL2C6$useEffect)(()=>{\n if (isDisabled && ref.current.isPressed) cancelEvent({\n currentTarget: ref.current.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n }, [\n isDisabled\n ]);\n let cancelOnPointerExit = (0, $fL2C6$useCallback)((e)=>{\n if (shouldCancelOnPointerExit) cancel(e);\n }, [\n shouldCancelOnPointerExit,\n cancel\n ]);\n let triggerClick = (0, $fL2C6$useCallback)((e)=>{\n if (isDisabled) return;\n onClick?.(e);\n }, [\n isDisabled,\n onClick\n ]);\n let triggerSyntheticClick = (0, $fL2C6$useCallback)((e, target)=>{\n if (isDisabled) return;\n // Some third-party libraries pass in onClick instead of onPress.\n // Create a fake mouse event and trigger onClick as well.\n // This matches the browser's native activation behavior for certain elements (e.g. button).\n // https://html.spec.whatwg.org/#activation\n // https://html.spec.whatwg.org/#fire-a-synthetic-pointer-event\n if (onClick) {\n let event = new MouseEvent('click', e);\n (0, $a92dc41f639950be$export$c2b7abe5d61ec696)(event, target);\n onClick((0, $a92dc41f639950be$export$525bc4921d56d4a)(event));\n }\n }, [\n isDisabled,\n onClick\n ]);\n let pressProps = (0, $fL2C6$useMemo)(()=>{\n let state = ref.current;\n let pressProps = {\n onKeyDown (e) {\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n // If the event is repeating, it may have started on a different element\n // after which focus moved to the current element. Ignore these events and\n // only handle the first key down event.\n let shouldStopPropagation = true;\n if (!state.isPressed && !e.repeat) {\n state.target = e.currentTarget;\n state.isPressed = true;\n state.pointerType = 'keyboard';\n shouldStopPropagation = triggerPressStart(e, 'keyboard');\n }\n // Focus may move before the key up event, so register the event on the document\n // instead of the same element where the key down event occurred. Make it capturing so that it will trigger\n // before stopPropagation from useKeyboard on a child element may happen and thus we can still call triggerPress for the parent element.\n let originalTarget = e.currentTarget;\n let pressUp = (e)=>{\n if ($d27d541f9569d26d$var$isValidKeyboardEvent(e, originalTarget) && !e.repeat && (0, $23f2114a1b82827e$export$4282f70798064fe0)(originalTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.target) triggerPressUpEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard');\n };\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'keyup', (0, $a4e76a5424781910$export$e08e3b67e392101e)(pressUp, onKeyUp), true);\n if (shouldStopPropagation) e.stopPropagation();\n // Keep track of the keydown events that occur while the Meta (e.g. Command) key is held.\n // macOS has a bug where keyup events are not fired while the Meta key is down.\n // When the Meta key itself is released we will get an event for that, and we'll act as if\n // all of these other keys were released as well.\n // https://bugs.chromium.org/p/chromium/issues/detail?id=1393524\n // https://bugs.webkit.org/show_bug.cgi?id=55291\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1299553\n if (e.metaKey && (0, $2add3ce32c6007eb$export$9ac100e40613ea10)()) state.metaKeyEvents?.set(e.key, e.nativeEvent);\n } else if (e.key === 'Meta') state.metaKeyEvents = new Map();\n },\n onClick (e) {\n if (e && !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e && e.button === 0 && !state.isTriggeringEvent && !(0, $caaf0dd3060ed57c$export$95185d699e05d4d7).isOpening) {\n let shouldStopPropagation = true;\n if (isDisabled) e.preventDefault();\n // If triggered from a screen reader or by using element.click(),\n // trigger as if it were a keyboard click.\n if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === 'virtual' || (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent))) {\n let stopPressStart = triggerPressStart(e, 'virtual');\n let stopPressUp = triggerPressUpEvent(e, 'virtual');\n let stopPressEnd = triggerPressEndEvent(e, 'virtual');\n triggerClick(e);\n shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;\n } else if (state.isPressed && state.pointerType !== 'keyboard') {\n let pointerType = state.pointerType || e.nativeEvent.pointerType || 'virtual';\n let stopPressUp = triggerPressUpEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType);\n let stopPressEnd = triggerPressEndEvent($d27d541f9569d26d$var$createEvent(e.currentTarget, e), pointerType, true);\n shouldStopPropagation = stopPressUp && stopPressEnd;\n state.isOverTarget = false;\n triggerClick(e);\n // oxlint-disable-next-line react/react-compiler\n cancelEvent(e);\n }\n state.ignoreEmulatedMouseEvents = false;\n if (shouldStopPropagation) e.stopPropagation();\n }\n }\n };\n let onKeyUp = (e)=>{\n if (state.isPressed && state.target && $d27d541f9569d26d$var$isValidKeyboardEvent(e, state.target)) {\n if ($d27d541f9569d26d$var$shouldPreventDefaultKeyboard((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), e.key)) e.preventDefault();\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n let wasPressed = (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target);\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), 'keyboard', wasPressed);\n if (wasPressed) triggerSyntheticClick(e, state.target);\n removeAllGlobalListeners();\n // If a link was triggered with a key other than Enter, open the URL ourselves.\n // This means the link has a role override, and the default browser behavior\n // only applies when using the Enter key.\n if (e.key !== 'Enter' && $d27d541f9569d26d$var$isHTMLAnchorLink(state.target) && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, target) && !e[$d27d541f9569d26d$var$LINK_CLICKED]) {\n // Store a hidden property on the event so we only trigger link click once,\n // even if there are multiple usePress instances attached to the element.\n e[$d27d541f9569d26d$var$LINK_CLICKED] = true;\n (0, $caaf0dd3060ed57c$export$95185d699e05d4d7)(state.target, e, false);\n }\n state.isPressed = false;\n state.metaKeyEvents?.delete(e.key);\n } else if (e.key === 'Meta' && state.metaKeyEvents?.size) {\n // If we recorded keydown events that occurred while the Meta key was pressed,\n // and those haven't received keyup events already, fire keyup events ourselves.\n // See comment above for more info about the macOS bug causing this.\n let events = state.metaKeyEvents;\n state.metaKeyEvents = undefined;\n for (let event of events.values())state.target?.dispatchEvent(new KeyboardEvent('keyup', event));\n }\n };\n if (typeof PointerEvent !== 'undefined') {\n pressProps.onPointerDown = (e)=>{\n // Only handle left clicks, and ignore events that bubbled through portals.\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // iOS safari fires pointer events from VoiceOver with incorrect coordinates/target.\n // Ignore and let the onClick handler take care of it instead.\n // https://bugs.webkit.org/show_bug.cgi?id=222627\n // https://bugs.webkit.org/show_bug.cgi?id=223202\n if ((0, $b5c62b033c25b96d$export$29bf1b5f2c56cf63)(e.nativeEvent)) {\n state.pointerType = 'virtual';\n return;\n }\n state.pointerType = e.pointerType;\n let shouldStopPropagation = true;\n if (!state.isPressed) {\n state.isPressed = true;\n state.isOverTarget = true;\n state.activePointerId = e.pointerId;\n state.target = e.currentTarget;\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n // Release pointer capture so that touch interactions can leave the original target.\n // This enables onPointerLeave and onPointerEnter to fire.\n let target = (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e);\n if ('releasePointerCapture' in target) {\n if ('hasPointerCapture' in target) {\n if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);\n } else target.releasePointerCapture(e.pointerId);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointerup', onPointerUp, false);\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'pointercancel', onPointerCancel, false);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseDown = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (e.button === 0) {\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n e.stopPropagation();\n }\n };\n pressProps.onPointerUp = (e)=>{\n // iOS fires pointerup with zero width and height, so check the pointerType recorded during pointerdown.\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) || state.pointerType === 'virtual') return;\n // Only handle left clicks. If isPressed is true, delay until onClick.\n if (e.button === 0 && !state.isPressed) triggerPressUpEvent(e, state.pointerType || e.pointerType);\n };\n pressProps.onPointerEnter = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n triggerPressStart($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType);\n }\n };\n pressProps.onPointerLeave = (e)=>{\n if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n triggerPressEndEvent($d27d541f9569d26d$var$createEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit(e);\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {\n if ((0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) {\n // Wait for onClick to fire onPress. This avoids browser issues when the DOM\n // is mutated between onPointerUp and onClick, and is more compatible with third party libraries.\n // https://github.com/adobe/react-spectrum/issues/1513\n // https://issues.chromium.org/issues/40732224\n // However, iOS and Android do not focus or fire onClick after a long press.\n // We work around this by triggering a click ourselves after a timeout.\n // This timeout is canceled during the click event in case the real one fires first.\n // The timeout must be at least 32ms, because Safari on iOS delays the click event on\n // non-form elements without certain ARIA roles (for hover emulation).\n // https://github.com/WebKit/WebKit/blob/dccfae42bb29bd4bdef052e469f604a9387241c0/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm#L875-L892\n let clicked = false;\n let timeout = setTimeout(()=>{\n if (state.isPressed && state.target instanceof HTMLElement) {\n if (clicked) cancelEvent(e);\n else {\n (0, $1969ac565cfec8d0$export$de79e2c695e052f3)(state.target);\n state.target.click();\n }\n }\n }, 80);\n // Use a capturing listener to track if a click occurred.\n // If stopPropagation is called it may never reach our handler.\n addGlobalListener(e.currentTarget, 'click', ()=>clicked = true, true);\n state.disposables.push(()=>clearTimeout(timeout));\n } else cancelEvent(e);\n // Ignore subsequent onPointerLeave event before onClick on touch devices.\n state.isOverTarget = false;\n }\n };\n let onPointerCancel = (e)=>{\n cancelEvent(e);\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n // Safari does not call onPointerCancel when a drag starts, whereas Chrome and Firefox do.\n cancelEvent(e);\n };\n } else if (process.env.NODE_ENV === 'test') {\n // NOTE: this fallback branch is entirely used by unit tests.\n // All browsers now support pointer events, but JSDOM still does not.\n pressProps.onMouseDown = (e)=>{\n // Only handle left clicks\n if (e.button !== 0 || !(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (state.ignoreEmulatedMouseEvents) {\n e.stopPropagation();\n return;\n }\n state.isPressed = true;\n state.isOverTarget = true;\n state.target = e.currentTarget;\n state.pointerType = (0, $b5c62b033c25b96d$export$60278871457622de)(e.nativeEvent) ? 'virtual' : 'mouse';\n // Flush sync so that focus moved during react re-renders occurs before we yield back to the browser.\n let shouldStopPropagation = (0, $fL2C6$flushSync)(()=>triggerPressStart(e, state.pointerType));\n if (shouldStopPropagation) e.stopPropagation();\n if (preventFocusOnPress) {\n let dispose = (0, $a92dc41f639950be$export$cabe61c495ee3649)(e.target);\n if (dispose) state.disposables.push(dispose);\n }\n addGlobalListener((0, $d447af545b77c9f1$export$b204af158042fbac)(e.currentTarget), 'mouseup', onMouseUp, false);\n };\n pressProps.onMouseEnter = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart(e, state.pointerType);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseLeave = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let shouldStopPropagation = true;\n if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {\n state.isOverTarget = false;\n shouldStopPropagation = triggerPressEndEvent(e, state.pointerType, false);\n cancelOnPointerExit(e);\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onMouseUp = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.ignoreEmulatedMouseEvents && e.button === 0 && !state.isPressed) triggerPressUpEvent(e, state.pointerType || 'mouse');\n };\n let onMouseUp = (e)=>{\n // Only handle left clicks\n if (e.button !== 0) return;\n if (state.ignoreEmulatedMouseEvents) {\n state.ignoreEmulatedMouseEvents = false;\n return;\n }\n if (state.target && (0, $23f2114a1b82827e$export$4282f70798064fe0)(state.target, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e)) && state.pointerType != null) ;\n else cancelEvent(e);\n state.isOverTarget = false;\n };\n pressProps.onTouchStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n let touch = $d27d541f9569d26d$var$getTouchFromEvent(e.nativeEvent);\n if (!touch) return;\n state.activePointerId = touch.identifier;\n state.ignoreEmulatedMouseEvents = true;\n state.isOverTarget = true;\n state.isPressed = true;\n state.target = e.currentTarget;\n state.pointerType = 'touch';\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$16a4697467175487)(state.target);\n let shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n if (shouldStopPropagation) e.stopPropagation();\n addGlobalListener((0, $d447af545b77c9f1$export$f21a1ffae260145a)(e.currentTarget), 'scroll', onScroll, true);\n };\n pressProps.onTouchMove = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget)) {\n if (!state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = true;\n shouldStopPropagation = triggerPressStart($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n }\n } else if (state.isOverTarget && state.pointerType != null) {\n state.isOverTarget = false;\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n cancelOnPointerExit($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n }\n if (shouldStopPropagation) e.stopPropagation();\n };\n pressProps.onTouchEnd = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n if (!state.isPressed) {\n e.stopPropagation();\n return;\n }\n let touch = $d27d541f9569d26d$var$getTouchById(e.nativeEvent, state.activePointerId);\n let shouldStopPropagation = true;\n if (touch && $d27d541f9569d26d$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {\n triggerPressUpEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType);\n triggerSyntheticClick(e.nativeEvent, state.target);\n } else if (state.isOverTarget && state.pointerType != null) shouldStopPropagation = triggerPressEndEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e), state.pointerType, false);\n if (shouldStopPropagation) e.stopPropagation();\n state.isPressed = false;\n state.activePointerId = null;\n state.isOverTarget = false;\n state.ignoreEmulatedMouseEvents = true;\n if (state.target && !allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target);\n removeAllGlobalListeners();\n };\n pressProps.onTouchCancel = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n e.stopPropagation();\n if (state.isPressed) cancelEvent($d27d541f9569d26d$var$createTouchEvent(state.target, e));\n };\n let onScroll = (e)=>{\n if (state.isPressed && (0, $23f2114a1b82827e$export$4282f70798064fe0)((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e), state.target)) cancelEvent({\n currentTarget: state.target,\n shiftKey: false,\n ctrlKey: false,\n metaKey: false,\n altKey: false\n });\n };\n pressProps.onDragStart = (e)=>{\n if (!(0, $23f2114a1b82827e$export$4282f70798064fe0)(e.currentTarget, (0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e))) return;\n cancelEvent(e);\n };\n }\n return pressProps;\n }, [\n addGlobalListener,\n isDisabled,\n preventFocusOnPress,\n removeAllGlobalListeners,\n allowTextSelectionOnPress,\n cancelOnPointerExit,\n triggerPressStart,\n triggerClick,\n triggerSyntheticClick\n ]);\n // Avoid onClick delay for double tap to zoom by default.\n (0, $fL2C6$useEffect)(()=>{\n if (!domRef || process.env.NODE_ENV === 'test') return;\n const ownerDocument = (0, $d447af545b77c9f1$export$b204af158042fbac)(domRef.current);\n if (!ownerDocument || !ownerDocument.head || ownerDocument.getElementById($d27d541f9569d26d$var$STYLE_ID)) return;\n const style = ownerDocument.createElement('style');\n style.id = $d27d541f9569d26d$var$STYLE_ID;\n let nonce = (0, $2b2d34ff061957fb$export$2b85b721e524d74b)(ownerDocument);\n if (nonce) style.nonce = nonce;\n // touchAction: 'manipulation' is supposed to be equivalent, but in\n // Safari it causes onPointerCancel not to fire on scroll.\n // https://bugs.webkit.org/show_bug.cgi?id=240917\n style.textContent = `\n@layer {\n [${$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim();\n ownerDocument.head.prepend(style);\n }, [\n domRef\n ]);\n // Remove user-select: none in case component unmounts immediately after pressStart\n (0, $fL2C6$useEffect)(()=>{\n let state = ref.current;\n return ()=>{\n if (!allowTextSelectionOnPress) (0, $cbf007e418543821$export$b0d6fa1ab32e3295)(state.target ?? undefined);\n for (let dispose of state.disposables)dispose();\n state.disposables = [];\n };\n }, [\n allowTextSelectionOnPress\n ]);\n return {\n isPressed: isPressedProp || isPressed,\n // oxlint-disable-next-line react/react-compiler\n pressProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, pressProps, {\n [$d27d541f9569d26d$var$PRESSABLE_ATTRIBUTE]: true\n })\n };\n}\nfunction $d27d541f9569d26d$var$isHTMLAnchorLink(target) {\n return target.tagName === 'A' && target.hasAttribute('href');\n}\nfunction $d27d541f9569d26d$var$isValidKeyboardEvent(event, currentTarget) {\n const { key: key, code: code } = event;\n const element = currentTarget;\n const role = element.getAttribute('role');\n // Accessibility for keyboards. Space and Enter only.\n // \"Spacebar\" is for IE 11\n return (key === 'Enter' || key === ' ' || key === 'Spacebar' || code === 'Space') && !(element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLInputElement && !$d27d541f9569d26d$var$isValidInputKey(element, key) || element instanceof (0, $d447af545b77c9f1$export$f21a1ffae260145a)(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key\n !((role === 'link' || !role && $d27d541f9569d26d$var$isHTMLAnchorLink(element)) && key !== 'Enter');\n}\nfunction $d27d541f9569d26d$var$getTouchFromEvent(event) {\n const { targetTouches: targetTouches } = event;\n if (targetTouches.length > 0) return targetTouches[0];\n return null;\n}\nfunction $d27d541f9569d26d$var$getTouchById(event, pointerId) {\n const changedTouches = event.changedTouches;\n for(let i = 0; i < changedTouches.length; i++){\n const touch = changedTouches[i];\n if (touch.identifier === pointerId) return touch;\n }\n return null;\n}\nfunction $d27d541f9569d26d$var$createTouchEvent(target, e) {\n let clientX = 0;\n let clientY = 0;\n if (e.targetTouches && e.targetTouches.length === 1) {\n clientX = e.targetTouches[0].clientX;\n clientY = e.targetTouches[0].clientY;\n }\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY\n };\n}\nfunction $d27d541f9569d26d$var$createEvent(target, e) {\n let clientX = e.clientX;\n let clientY = e.clientY;\n return {\n currentTarget: target,\n shiftKey: e.shiftKey,\n ctrlKey: e.ctrlKey,\n metaKey: e.metaKey,\n altKey: e.altKey,\n clientX: clientX,\n clientY: clientY,\n key: e.key\n };\n}\nfunction $d27d541f9569d26d$var$getPointClientRect(point) {\n let offsetX = 0;\n let offsetY = 0;\n if (point.width !== undefined) offsetX = point.width / 2;\n else if (point.radiusX !== undefined) offsetX = point.radiusX;\n if (point.height !== undefined) offsetY = point.height / 2;\n else if (point.radiusY !== undefined) offsetY = point.radiusY;\n return {\n top: point.clientY - offsetY,\n right: point.clientX + offsetX,\n bottom: point.clientY + offsetY,\n left: point.clientX - offsetX\n };\n}\nfunction $d27d541f9569d26d$var$areRectanglesOverlapping(a, b) {\n // check if they cannot overlap on x axis\n if (a.left > b.right || b.left > a.right) return false;\n // check if they cannot overlap on y axis\n if (a.top > b.bottom || b.top > a.bottom) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$isOverTarget(point, target) {\n let rect = target.getBoundingClientRect();\n let pointRect = $d27d541f9569d26d$var$getPointClientRect(point);\n return $d27d541f9569d26d$var$areRectanglesOverlapping(rect, pointRect);\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultUp(target) {\n if (target instanceof HTMLInputElement) return false;\n if (target instanceof HTMLButtonElement) return target.type !== 'submit' && target.type !== 'reset';\n if ($d27d541f9569d26d$var$isHTMLAnchorLink(target)) return false;\n return true;\n}\nfunction $d27d541f9569d26d$var$shouldPreventDefaultKeyboard(target, key) {\n // Don't prevent the contextmenu shortcut on mac.\n if ((0, $2add3ce32c6007eb$export$9ac100e40613ea10)() && key === 'Enter') return false;\n if (target instanceof HTMLInputElement) {\n if (key === 'Enter' && (target.type === 'checkbox' || target.type === 'radio')) // Enter on a checkbox or radio should do an implicit form submission, but not toggle the input.\n return false;\n return !$d27d541f9569d26d$var$isValidInputKey(target, key);\n }\n return $d27d541f9569d26d$var$shouldPreventDefaultUp(target);\n}\nconst $d27d541f9569d26d$var$nonTextInputTypes = new Set([\n 'checkbox',\n 'radio',\n 'range',\n 'color',\n 'file',\n 'image',\n 'button',\n 'submit',\n 'reset'\n]);\nfunction $d27d541f9569d26d$var$isValidInputKey(target, key) {\n // Only space should toggle checkboxes and radios, not enter.\n return target.type === 'checkbox' || target.type === 'radio' ? key === ' ' : $d27d541f9569d26d$var$nonTextInputTypes.has(target.type);\n}\n\n\nexport {$d27d541f9569d26d$export$45712eceda6fad21 as usePress};\n//# sourceMappingURL=usePress.mjs.map\n","@layer adgytec.overrides {\n .trigger[data-invalid] > [data-button] {\n --md-button-color: var(--group-color);\n }\n}\n\n@layer adgytec.comps {\n .trigger {\n --rotate: 0;\n\n &[data-pressed] {\n --rotate: 180deg;\n }\n\n & svg {\n rotate: var(--rotate);\n transition: rotate var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n }\n\n .input {\n flex: 1;\n text-align: start;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n}\n","import clsx from \"clsx\";\nimport { ChevronDown } from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { useFocusRing } from \"react-aria/useFocusRing\";\nimport { useHover } from \"react-aria/useHover\";\nimport { usePress } from \"react-aria/usePress\";\nimport { Input } from \"react-aria-components\";\nimport { IconButton } from \"@/components/Button\";\nimport { type RefProp, typography } from \"@/utils\";\nimport { EditorInputStyles, EditorStyles, UnsetStyles } from \"../../core\";\nimport { ComboboxContext } from \"../ComboBox/context\";\nimport styles from \"./comboBoxTrigger.module.css\";\n\n/**\n * Props for the {@link ComboBoxTrigger} component.\n */\nexport interface ComboBoxTriggerProps\n extends Omit<React.ComponentPropsWithoutRef<\"span\">, \"children\">,\n RefProp<typeof Input> {\n /** Placeholder text displayed when the combobox input is empty. */\n placeholder?: string;\n}\n\n/**\n * The composite editable text input and chevron dropdown trigger button for a {@link ComboBox}.\n */\nexport const ComboBoxTrigger: React.FC<ComboBoxTriggerProps> = ({\n className,\n placeholder,\n dir,\n ref,\n ...props\n}) => {\n const inputRef = useObjectRef(ref);\n\n const { isInvalid, isDisabled, isOpen } = useContext(ComboboxContext);\n const { isFocused, isFocusVisible, focusProps } = useFocusRing({\n isTextInput: true,\n });\n const { isHovered, hoverProps } = useHover({});\n const { pressProps } = usePress({\n onPress: () => {\n inputRef.current?.focus();\n },\n });\n\n const dataAttrs = {\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-trailing\": true,\n \"data-invalid\": isInvalid || undefined,\n \"data-input\": true,\n \"data-disabled\": isDisabled || undefined,\n \"data-open\": isOpen || undefined,\n };\n\n return (\n <span\n {...pressProps}\n {...hoverProps}\n className={clsx(EditorStyles, className)}\n {...props}\n {...dataAttrs}\n >\n <Input\n ref={inputRef}\n {...focusProps}\n placeholder={placeholder}\n className={clsx(\n UnsetStyles,\n EditorInputStyles,\n typography.bodyLarge,\n styles[\"input\"]\n )}\n data-input={true}\n dir={dir}\n />\n <IconButton\n className={clsx(styles[\"trigger\"])}\n icon={ChevronDown}\n color=\"standard\"\n data-invalid={isInvalid || undefined}\n />\n </span>\n );\n};\n"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11],"mappings":";;;;;;;;;;;;;;AAYI,SAAS+C,EAA0C,GAAGC,GAAW;CACjE,QAAQ,GAAGC,MAA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AAtB,GAAA,EAAA,MAAAF,GAAA,EAAA,MAAAuB,KAAA,IAAA1B,EAAA;CAAA,IAAA6B;CAAA,AAAA7B,EAAA,QAAA,OAAA,IAAA,2BAAA,KAEa,IAAA9L,EAAKC,GAAM,OAAW,GAAC,EAAA,MAAA0N,KAAA,IAAA7B,EAAA;CAGpB,IAAA8B,IAAAb,KAAA,KAAA,GAAsBc;CAAA,AAAA/B,EAAA,QAAA8B,IACtC,IAAA9B,EAAA,OALF,IAAA,kBAACgC,GAAD;EACe,WAAAH;EACLhO,MAAAoO;EACA,OAAA;EACQ,gBAAAH;CAAsB,CAAA,GACtC,EAAA,MAAAA,GAAA,EAAA,MAAAC;CAAA,IAAAG;CACC,OADDlC,EAAA,QAAAsB,KAAAtB,EAAA,QAAAmC,KAAAnC,EAAA,QAAA/C,KAAA+C,EAAA,QAAA3G,KAAA2G,EAAA,QAAAuB,KAAAvB,EAAA,QAAA0B,KAAA1B,EAAA,QAAA+B,KAzBN,IAAA,kBAAA,QAAA;EA0BO,GAzBC9E;EAAU,GACVkF;EACO,WAAAZ;EAA6B,GACpClI;EAAK,GACLiI;EALR,UAAA,CAOII,GAaAK,CAMG;C,IAAA,EAAA,MAAAT,GAAA,EAAA,MAAAa,GAAA,EAAA,MAAAlF,GAAA,EAAA,MAAA5D,GAAA,EAAA,MAAAkI,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAK,GAAA,EAAA,MAAAG,KAAA,IAAAlC,EAAA,KA1BPkC;AA0BO"}
|
|
@@ -10,8 +10,8 @@ import '../assets/ConnectedButtonGroup.css';var a = {
|
|
|
10
10
|
medium: "_medium_1o488_77",
|
|
11
11
|
large: "_large_1o488_100",
|
|
12
12
|
"extra-large": "_extra-large_1o488_123"
|
|
13
|
-
}, o = ({ size: o = "small", shape: s = "round", color: c = "filled", iconPlacement: l, className: u, ...d }) =>
|
|
14
|
-
|
|
13
|
+
}, o = ({ size: o = "small", shape: s = "round", color: c = "filled", iconPlacement: l, className: u, ...d }) => {
|
|
14
|
+
let f = n(() => ({
|
|
15
15
|
size: o,
|
|
16
16
|
shape: s,
|
|
17
17
|
color: c,
|
|
@@ -21,15 +21,17 @@ import '../assets/ConnectedButtonGroup.css';var a = {
|
|
|
21
21
|
s,
|
|
22
22
|
c,
|
|
23
23
|
l
|
|
24
|
-
])
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
]);
|
|
25
|
+
return /* @__PURE__ */ r(e, {
|
|
26
|
+
value: f,
|
|
27
|
+
children: /* @__PURE__ */ r(i, {
|
|
28
|
+
className: (e) => t(a.group, a[o], typeof u == "function" ? u(e) : u),
|
|
29
|
+
...d,
|
|
30
|
+
"data-shape": s,
|
|
31
|
+
"data-connected-button-group": !0
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
};
|
|
33
35
|
export { o as t };
|
|
34
36
|
|
|
35
37
|
//# sourceMappingURL=ConnectedButtonGroup.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectedButtonGroup","names":[],"sources":["../../src/components/Button/ButtonGroups/ConnectedButtonGroup/connectedButtonGroup.module.css","../../src/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.tsx"],"sourcesContent":["@layer adgytec.comps {\n .group {\n /* shape */\n --_shape-start-start: var(--_inner-shape);\n --_shape-end-start: var(--_inner-shape);\n --_shape-start-end: var(--_inner-shape);\n --_shape-end-end: var(--_inner-shape);\n\n display: inline-flex;\n align-items: center;\n gap: calc(2 * var(--dp, 1px));\n }\n\n .group > [data-pressed] {\n --_shape-start-start: var(--_pressed-shape);\n --_shape-end-start: var(--_pressed-shape);\n --_shape-start-end: var(--_pressed-shape);\n --_shape-end-end: var(--_pressed-shape);\n }\n\n .group > [data-connected-button]:first-child {\n --_shape-start-start: var(--_outer-shape);\n --_shape-end-start: var(--_outer-shape);\n }\n\n .group > [data-connected-button]:last-child {\n --_shape-start-end: var(--_outer-shape);\n --_shape-end-end: var(--_outer-shape);\n }\n\n .extra-small {\n /* height for button is 32 */\n --md-sys-shape-corner-radius-full: calc(16 * var(--dp, 1px));\n\n --_md-button-padding-block-base: calc(6 * var(--dp, 1px));\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-12);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-4);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thin);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-small);\n --_pressed-shape: var(--md-sys-shape-corner-radius-extra-small);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-small);\n }\n }\n\n .small {\n /* height for button is 40 */\n --md-sys-shape-corner-radius-full: calc(20 * var(--dp, 1px));\n\n --_md-button-padding-block-base: calc(10 * var(--dp, 1px));\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-16);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-8);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thin);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-small);\n --_pressed-shape: var(--md-sys-shape-corner-radius-extra-small);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-small);\n }\n }\n\n .medium {\n /* height for button is 56 */\n --md-sys-shape-corner-radius-full: calc(28 * var(--dp, 1px));\n\n --_md-button-padding-block-base: var(--md-sys-layout-space-16);\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-24);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-8);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thin);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-small);\n --_pressed-shape: var(--md-sys-shape-corner-radius-extra-small);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-small);\n }\n }\n\n .large {\n /* height for button is 96 */\n --md-sys-shape-corner-radius-full: calc(48 * var(--dp, 1px));\n\n --_md-button-padding-block-base: var(--md-sys-layout-space-32);\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-48);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-12);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thick);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-large);\n --_pressed-shape: var(--md-sys-shape-corner-radius-medium);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-large);\n }\n }\n\n .extra-large {\n /* height for button is 136 */\n --md-sys-shape-corner-radius-full: calc(68 * var(--dp, 1px));\n\n --_md-button-padding-block-base: var(--md-sys-layout-space-48);\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-64);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-16);\n --_md-button-outline-width: calc(3 * var(--dp, 1px));\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-large-increased);\n --_pressed-shape: var(--md-sys-shape-corner-radius-large);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-large-increased);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { useMemo } from \"react\";\nimport { ToggleButtonGroup as AriaToggleButtonGroup } from \"react-aria-components\";\nimport { ConnectedButtonGroupContext } from \"../ButtonGroupContext\";\nimport styles from \"./connectedButtonGroup.module.css\";\nimport type { ConnectedButtonGroupProps } from \"./types\";\n\nexport const ConnectedButtonGroup: React.FC<ConnectedButtonGroupProps> = ({\n size = \"small\",\n shape = \"round\",\n color = \"filled\",\n iconPlacement,\n className,\n ...props\n}) => {\n const contextValue = useMemo(\n () => ({ size, shape, color, iconPlacement }),\n [size, shape, color, iconPlacement]\n );\n\n return (\n <ConnectedButtonGroupContext value={contextValue}>\n <AriaToggleButtonGroup\n className={(renderProps) =>\n clsx(\n styles[\"group\"],\n styles[size],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n data-shape={shape}\n data-connected-button-group\n />\n </ConnectedButtonGroupContext>\n );\n};\n"],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ConnectedButtonGroup","names":["AriaToggleButtonGroup","styles","connectedButtonGroup_module_default","ConnectedButtonGroup","props","contextValue","useMemo","size","shape","color","iconPlacement","ConnectedButtonGroupContext","ToggleButtonGroup","clsx","\"group\"","className","renderProps"],"sources":["../../src/components/Button/ButtonGroups/ConnectedButtonGroup/connectedButtonGroup.module.css","../../src/components/Button/ButtonGroups/ConnectedButtonGroup/ConnectedButtonGroup.tsx"],"sourcesContent":["@layer adgytec.comps {\n .group {\n /* shape */\n --_shape-start-start: var(--_inner-shape);\n --_shape-end-start: var(--_inner-shape);\n --_shape-start-end: var(--_inner-shape);\n --_shape-end-end: var(--_inner-shape);\n\n display: inline-flex;\n align-items: center;\n gap: calc(2 * var(--dp, 1px));\n }\n\n .group > [data-pressed] {\n --_shape-start-start: var(--_pressed-shape);\n --_shape-end-start: var(--_pressed-shape);\n --_shape-start-end: var(--_pressed-shape);\n --_shape-end-end: var(--_pressed-shape);\n }\n\n .group > [data-connected-button]:first-child {\n --_shape-start-start: var(--_outer-shape);\n --_shape-end-start: var(--_outer-shape);\n }\n\n .group > [data-connected-button]:last-child {\n --_shape-start-end: var(--_outer-shape);\n --_shape-end-end: var(--_outer-shape);\n }\n\n .extra-small {\n /* height for button is 32 */\n --md-sys-shape-corner-radius-full: calc(16 * var(--dp, 1px));\n\n --_md-button-padding-block-base: calc(6 * var(--dp, 1px));\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-12);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-4);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thin);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-small);\n --_pressed-shape: var(--md-sys-shape-corner-radius-extra-small);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-small);\n }\n }\n\n .small {\n /* height for button is 40 */\n --md-sys-shape-corner-radius-full: calc(20 * var(--dp, 1px));\n\n --_md-button-padding-block-base: calc(10 * var(--dp, 1px));\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-16);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-8);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thin);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-small);\n --_pressed-shape: var(--md-sys-shape-corner-radius-extra-small);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-small);\n }\n }\n\n .medium {\n /* height for button is 56 */\n --md-sys-shape-corner-radius-full: calc(28 * var(--dp, 1px));\n\n --_md-button-padding-block-base: var(--md-sys-layout-space-16);\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-24);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-8);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thin);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-small);\n --_pressed-shape: var(--md-sys-shape-corner-radius-extra-small);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-small);\n }\n }\n\n .large {\n /* height for button is 96 */\n --md-sys-shape-corner-radius-full: calc(48 * var(--dp, 1px));\n\n --_md-button-padding-block-base: var(--md-sys-layout-space-32);\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-48);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-12);\n --_md-button-outline-width: var(--md-sys-shape-border-width-thick);\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-large);\n --_pressed-shape: var(--md-sys-shape-corner-radius-medium);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-large);\n }\n }\n\n .extra-large {\n /* height for button is 136 */\n --md-sys-shape-corner-radius-full: calc(68 * var(--dp, 1px));\n\n --_md-button-padding-block-base: var(--md-sys-layout-space-48);\n --_md-button-padding-block: var(--_md-button-padding-block-base);\n\n --_md-button-padding-inline-base: var(--md-sys-layout-space-64);\n --_md-button-padding-inline: var(--_md-button-padding-inline-base);\n\n --_md-button-icon-label-gap: var(--md-sys-layout-space-16);\n --_md-button-outline-width: calc(3 * var(--dp, 1px));\n\n --_outer-shape: var(--md-sys-shape-corner-radius-full);\n --_inner-shape: var(--md-sys-shape-corner-radius-large-increased);\n --_pressed-shape: var(--md-sys-shape-corner-radius-large);\n --_selected-shape: var(--md-sys-shape-corner-radius-full);\n\n &[data-shape=\"square\"] {\n --_outer-shape: var(--md-sys-shape-corner-radius-large-increased);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { useMemo } from \"react\";\nimport { ToggleButtonGroup as AriaToggleButtonGroup } from \"react-aria-components\";\nimport { ConnectedButtonGroupContext } from \"../ButtonGroupContext\";\nimport styles from \"./connectedButtonGroup.module.css\";\nimport type { ConnectedButtonGroupProps } from \"./types\";\n\n/**\n * A container that visually connects toggle buttons into a single segmented control.\n *\n * Implements connected Material Design 3 Button Groups, merging borders between adjacent buttons\n * and shaping the outer corners to form a unified segmented unit.\n *\n * Built on top of React Aria's `ToggleButtonGroup` supporting single or multiple selection modes.\n * Must be used in conjunction with {@link ConnectedButton}.\n *\n * @example\n * ```tsx\n * <ConnectedButtonGroup selectionMode=\"multiple\" color=\"outlined\">\n * <ConnectedButton id=\"bold\" icon={Bold} aria-label=\"Bold\" />\n * <ConnectedButton id=\"italic\" icon={Italic} aria-label=\"Italic\" />\n * <ConnectedButton id=\"underline\" icon={Underline} aria-label=\"Underline\" />\n * </ConnectedButtonGroup>\n * ```\n */\nexport const ConnectedButtonGroup: React.FC<ConnectedButtonGroupProps> = ({\n size = \"small\",\n shape = \"round\",\n color = \"filled\",\n iconPlacement,\n className,\n ...props\n}) => {\n const contextValue = useMemo(\n () => ({ size, shape, color, iconPlacement }),\n [size, shape, color, iconPlacement]\n );\n\n return (\n <ConnectedButtonGroupContext value={contextValue}>\n <AriaToggleButtonGroup\n className={(renderProps) =>\n clsx(\n styles[\"group\"],\n styles[size],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n data-shape={shape}\n data-connected-button-group\n />\n </ConnectedButtonGroupContext>\n );\n};\n"],"mappings":";;;;;;;;;;;;A,GCyBaG,KAA6D,EACtE,UAAO,SACP,WAAQ,SACR,WAAQ,UACR,kBACA,cACA,GAAGC,QACD;CACF,IAAMC,IAAeC,SACV;EAAE;EAAM;EAAO;EAAO;CAAc,IAC3C;EAACC;EAAMC;EAAOC;EAAOC;CAAa,CACtC;CAEA,OACI,kBAACC,GAAD;EAA6B,OAAON;EAChC,UAAA,kBAACL,GAAD;GACI,YAAY,MACRa,EACIZ,EAAOa,OACPb,EAAOM,IACP,OAAOQ,KAAc,aACfA,EAAUC,CAAW,IACrBD,CACV;GAEJ,GAAIX;GACJ,cAAYI;GACZ,+BAAA;EAA2B,CAAA;CAEN,CAAA;AAErC"}
|
package/dist/chunks/Dialog
CHANGED
|
@@ -3,7 +3,7 @@ import { DialogContext as t } from "../components/Dialog/core/index.js";
|
|
|
3
3
|
import n from "clsx";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { Dialog as i } from "react-aria-components";
|
|
6
|
-
import '../assets/Dialog.css'
|
|
6
|
+
import '../assets/Dialog.css';// src/components/Dialog/Dialog/dialog.module.css
|
|
7
7
|
var a = e(), o = { dialog: "_dialog_a2pbf_11" }, s = (e) => {
|
|
8
8
|
let s = (0, a.c)(8), c, l;
|
|
9
9
|
s[0] === e ? (c = s[1], l = s[2]) : ({className: c, ...l} = e, s[0] = e, s[1] = c, s[2] = l);
|
|
@@ -18,7 +18,6 @@ var a = e(), o = { dialog: "_dialog_a2pbf_11" }, s = (e) => {
|
|
|
18
18
|
})
|
|
19
19
|
}), s[5] = l, s[6] = u, s[7] = d) : d = s[7], d;
|
|
20
20
|
};
|
|
21
|
-
//#endregion
|
|
22
21
|
export { s as t };
|
|
23
22
|
|
|
24
23
|
//# sourceMappingURL=Dialog.map
|
package/dist/chunks/Dialog.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog","names":[],"sources":["../../src/components/Dialog/Dialog/dialog.module.css","../../src/components/Dialog/Dialog/Dialog.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-dialog-container-background\n* --md-dialog-headline-text-color\n* --md-dialog-icon-color\n* --md-dialog-body-text-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .dialog {\n --md-divider-color: currentcolor;\n\n /* container */\n --_md-dialog-container-min-inline-size: calc(280 * var(--dp, 1px));\n --_md-dialog-container-max-inline-size: calc(560 * var(--dp, 1px));\n --_md-dialog-container-max-block-size: 90svb;\n\n --_md-dialog-container-background: var(\n --md-dialog-container-background,\n var(--md-sys-color-surface-container-high)\n );\n --_md-dialog-container-shape: var(\n --md-sys-shape-corner-radius-extra-large\n );\n --_md-dialog-container-elevation: var(--md-sys-elevation-shadow-3);\n --_md-dialog-container-padding: var(--md-sys-layout-space-24);\n\n /* color */\n --_md-dialog-headline-text-color: var(\n --md-dialog-headline-text-color,\n var(--md-sys-color-on-surface)\n );\n --_md-dialog-icon-color: var(\n --md-dialog-icon-color,\n var(--md-sys-color-secondary)\n );\n --_md-dialog-body-text-color: var(\n --md-dialog-body-text-color,\n var(--md-sys-color-on-surface-variant)\n );\n\n /* spacing */\n --_md-dialog-action-gap: var(--md-sys-layout-space-8);\n --_md-dialog-title-body-gap: var(--md-sys-layout-space-16);\n --_md-dialog-title-icon-gap: var(--md-sys-layout-space-16);\n --_md-dialog-body-action-gap: var(--md-sys-layout-space-24);\n\n /* styles */\n padding: var(--_md-dialog-container-padding);\n border-radius: var(--_md-dialog-container-shape);\n\n background-color: var(--_md-dialog-container-background);\n color: var(--_md-dialog-body-text-color);\n box-shadow: var(--_md-dialog-container-elevation);\n\n min-inline-size: min(\n 100svi,\n var(--_md-dialog-container-min-inline-size)\n );\n max-inline-size: var(--_md-dialog-container-max-inline-size);\n max-block-size: var(--_md-dialog-container-max-block-size);\n }\n}\n","import clsx from \"clsx\";\nimport { Dialog as AriaDialog } from \"react-aria-components\";\nimport { DialogContext } from \"../core\";\nimport styles from \"./dialog.module.css\";\n\
|
|
1
|
+
{"version":3,"file":"Dialog","names":["Dialog","_c","clsx","styles","AriaDialog","require_compiler_runtime","clsx$1","import_compiler_runtime","dialog_module_default","Dialog$1","$","className","props","t0","t1","t2","DialogContext","Dialog"],"sources":["../../src/components/Dialog/Dialog/dialog.module.css","../../src/components/Dialog/Dialog/Dialog.tsx"],"sourcesContent":["/* configurable tokens\n*\n* --md-dialog-container-background\n* --md-dialog-headline-text-color\n* --md-dialog-icon-color\n* --md-dialog-body-text-color\n*\n* configurable tokens end */\n\n@layer adgytec.comps {\n .dialog {\n --md-divider-color: currentcolor;\n\n /* container */\n --_md-dialog-container-min-inline-size: calc(280 * var(--dp, 1px));\n --_md-dialog-container-max-inline-size: calc(560 * var(--dp, 1px));\n --_md-dialog-container-max-block-size: 90svb;\n\n --_md-dialog-container-background: var(\n --md-dialog-container-background,\n var(--md-sys-color-surface-container-high)\n );\n --_md-dialog-container-shape: var(\n --md-sys-shape-corner-radius-extra-large\n );\n --_md-dialog-container-elevation: var(--md-sys-elevation-shadow-3);\n --_md-dialog-container-padding: var(--md-sys-layout-space-24);\n\n /* color */\n --_md-dialog-headline-text-color: var(\n --md-dialog-headline-text-color,\n var(--md-sys-color-on-surface)\n );\n --_md-dialog-icon-color: var(\n --md-dialog-icon-color,\n var(--md-sys-color-secondary)\n );\n --_md-dialog-body-text-color: var(\n --md-dialog-body-text-color,\n var(--md-sys-color-on-surface-variant)\n );\n\n /* spacing */\n --_md-dialog-action-gap: var(--md-sys-layout-space-8);\n --_md-dialog-title-body-gap: var(--md-sys-layout-space-16);\n --_md-dialog-title-icon-gap: var(--md-sys-layout-space-16);\n --_md-dialog-body-action-gap: var(--md-sys-layout-space-24);\n\n /* styles */\n padding: var(--_md-dialog-container-padding);\n border-radius: var(--_md-dialog-container-shape);\n\n background-color: var(--_md-dialog-container-background);\n color: var(--_md-dialog-body-text-color);\n box-shadow: var(--_md-dialog-container-elevation);\n\n min-inline-size: min(\n 100svi,\n var(--_md-dialog-container-min-inline-size)\n );\n max-inline-size: var(--_md-dialog-container-max-inline-size);\n max-block-size: var(--_md-dialog-container-max-block-size);\n }\n}\n","import clsx from \"clsx\";\nimport { Dialog as AriaDialog } from \"react-aria-components\";\nimport { DialogContext } from \"../core\";\nimport styles from \"./dialog.module.css\";\n\n/**\n * Props for the {@link Dialog} component.\n * Extends React Aria's {@link AriaDialog} props.\n */\nexport interface DialogProps\n extends React.ComponentPropsWithRef<typeof AriaDialog> {}\n\n/**\n * A dialog container component implementing Material Design 3 Dialog specifications.\n *\n * Appears in front of application content to present critical alerts, information, or request\n * user confirmation. Provides context to nested elements via {@link DialogContext} and manages\n * focus trapping, accessible labeling (`slot=\"title\"`), and keyboard escape behavior.\n *\n * @example\n * ```tsx\n * import { Dialog, Modal, ModalOverlay, Button } from '@adgytec/web-ui-components';\n * import { DialogTrigger, Heading } from 'react-aria-components';\n *\n * <DialogTrigger>\n * <Button>Open Dialog</Button>\n * <ModalOverlay>\n * <Modal>\n * <Dialog>\n * <Heading slot=\"title\">Discard draft?</Heading>\n * <p>Draft will be permanently removed.</p>\n * </Dialog>\n * </Modal>\n * </ModalOverlay>\n * </DialogTrigger>\n * ```\n */\nexport const Dialog: React.FC<DialogProps> = ({ className, ...props }) => {\n return (\n <DialogContext value={true}>\n <AriaDialog\n className={clsx(styles[\"dialog\"], className)}\n {...props}\n />\n </DialogContext>\n );\n};\n"],"mappings":";;;;;;A,iDCqCaA,KAAgC,MAAA;CAAA,IAAAU,KAAA,GAAAT,EAAAA,EAAAA,CAAA,CAAA,GAAAU,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAAwB,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAAvB,eAAA,GAAAE,KAAAC,GAAuB,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IAIT,IAAAD,EAAA,MAAjC,IAAAR,EAAKC,EAAM,QAAYQ,CAAS,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAC;CAGpC,OAHoCL,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAFpD,IAAA,kBAACE,GAAD;EAAsB,OAAA;EAClB,UAAA,kBAACZ,GAAD;GACe,WAAAU;GAAiC,GACxCF;EAAK,CAAA;CAHH,CAAA,GAKE,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAC,KAAA,IAAAL,EAAA,IALhBK;AAKgB"}
|
package/dist/chunks/Disclosure
CHANGED
|
@@ -2,7 +2,7 @@ import { t as e } from "./compiler-runtime";
|
|
|
2
2
|
import t from "clsx";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { Disclosure as r } from "react-aria-components";
|
|
5
|
-
import '../assets/Disclosure.css'
|
|
5
|
+
import '../assets/Disclosure.css';// src/components/Disclosure/Disclosure/disclosure.module.css
|
|
6
6
|
var i = e(), a = { disclosure: "_disclosure_nnw90_2" }, o = (e) => {
|
|
7
7
|
let o = (0, i.c)(8), s, c;
|
|
8
8
|
o[0] === e ? (s = o[1], c = o[2]) : ({className: s, ...c} = e, o[0] = e, o[1] = s, o[2] = c);
|
|
@@ -14,7 +14,6 @@ var i = e(), a = { disclosure: "_disclosure_nnw90_2" }, o = (e) => {
|
|
|
14
14
|
...c
|
|
15
15
|
}), o[5] = c, o[6] = l, o[7] = u) : u = o[7], u;
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
17
|
export { o as t };
|
|
19
18
|
|
|
20
19
|
//# sourceMappingURL=Disclosure.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Disclosure","names":[],"sources":["../../src/components/Disclosure/Disclosure/disclosure.module.css","../../src/components/Disclosure/Disclosure/Disclosure.tsx"],"sourcesContent":["@layer adgytec.comps {\n .disclosure {\n --spacing: var(--md-sys-layout-space-12);\n }\n}\n","import clsx from \"clsx\";\nimport { Disclosure as AriaDisclosure } from \"react-aria-components\";\nimport styles from \"./disclosure.module.css\";\n\
|
|
1
|
+
{"version":3,"file":"Disclosure","names":["Disclosure","_c","clsx","styles","AriaDisclosure","require_compiler_runtime","clsx$1","import_compiler_runtime","disclosure_module_default","Disclosure$1","$","className","props","t0","t1","renderProps","t2","Disclosure"],"sources":["../../src/components/Disclosure/Disclosure/disclosure.module.css","../../src/components/Disclosure/Disclosure/Disclosure.tsx"],"sourcesContent":["@layer adgytec.comps {\n .disclosure {\n --spacing: var(--md-sys-layout-space-12);\n }\n}\n","import clsx from \"clsx\";\nimport { Disclosure as AriaDisclosure } from \"react-aria-components\";\nimport styles from \"./disclosure.module.css\";\n\n/**\n * Props for the {@link Disclosure} component.\n * Extends React Aria's {@link AriaDisclosure} props.\n */\nexport interface DisclosureProps\n extends React.ComponentPropsWithRef<typeof AriaDisclosure> {}\n\n/**\n * An expandable section component implementing Material Design 3 disclosure/accordion item behavior.\n *\n * Controls showing and hiding associated content based on user interaction with its {@link DisclosureHeader}.\n * Manages open/collapsed state, accessible ARIA attributes (`aria-expanded`, `aria-controls`), and keyboard navigation.\n *\n * @example\n * ```tsx\n * import { Disclosure, DisclosureHeader, DisclosurePanel } from '@adgytec/web-ui-components';\n *\n * <Disclosure>\n * <DisclosureHeader>Collapsible Section</DisclosureHeader>\n * <DisclosurePanel>\n * Detailed information displayed when expanded.\n * </DisclosurePanel>\n * </Disclosure>\n * ```\n */\nexport const Disclosure: React.FC<DisclosureProps> = ({\n className,\n ...props\n}) => {\n return (\n <AriaDisclosure\n className={(renderProps) =>\n clsx(\n styles[\"disclosure\"],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n );\n};\n"],"mappings":";;;;;A,wDC6BaA,KAAwC,MAAA;CAAA,IAAAU,KAAA,GAAAT,EAAAA,EAAAA,CAAA,CAAA,GAAAU,GAAAC;CAAA,AAAAF,EAAA,OAAAG,KAGpD,IAAAH,EAAA,IAAA,IAAAA,EAAA,OAHqD,eAAA,GAAAE,KAAAC,GAGrD,EAAA,KAAAA,GAAA,EAAA,KAAAF,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAJ,EAAA,OAAAC,IASgB,IAAAD,EAAA,MANM,KAAA,MACPR,EACIC,EAAM,YACN,OAAOQ,KAAc,aACfA,EAAUI,CACF,IAFdJ,CAGJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAAA,IAAAE;CAGP,OAHON,EAAA,OAAAE,KAAAF,EAAA,OAAAI,KAPT,IAAA,kBAACV,GAAD;EACe,WAAAU;EAMN,GAEDF;CAAK,CAAA,GACX,EAAA,KAAAA,GAAA,EAAA,KAAAE,GAAA,EAAA,KAAAE,KAAA,IAAAN,EAAA,IAVFM;AAUE"}
|
|
@@ -3,7 +3,7 @@ import { DisclosureTypographyContext as t } from "../components/Disclosure/conte
|
|
|
3
3
|
import n from "clsx";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { DisclosureGroup as i } from "react-aria-components";
|
|
6
|
-
import '../assets/DisclosureGroup.css'
|
|
6
|
+
import '../assets/DisclosureGroup.css';// src/components/Disclosure/DisclosureGroup/disclosureGroup.module.css
|
|
7
7
|
var a = e(), o = { group: "_group_lbw2t_2" }, s = (e) => {
|
|
8
8
|
let s = (0, a.c)(16), c, l, u, d;
|
|
9
9
|
s[0] === e ? (c = s[1], l = s[2], u = s[3], d = s[4]) : ({labelTypography: l, panelTypography: u, className: c, ...d} = e, s[0] = e, s[1] = c, s[2] = l, s[3] = u, s[4] = d);
|
|
@@ -25,7 +25,6 @@ var a = e(), o = { group: "_group_lbw2t_2" }, s = (e) => {
|
|
|
25
25
|
children: m
|
|
26
26
|
}), s[13] = f, s[14] = m, s[15] = h) : h = s[15], h;
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { s as t };
|
|
30
29
|
|
|
31
30
|
//# sourceMappingURL=DisclosureGroup.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisclosureGroup","names":[],"sources":["../../src/components/Disclosure/DisclosureGroup/disclosureGroup.module.css","../../src/components/Disclosure/DisclosureGroup/DisclosureGroup.tsx"],"sourcesContent":["@layer adgytec.comps {\n .group {\n display: grid;\n gap: var(--md-sys-layout-space-24);\n }\n}\n","import clsx from \"clsx\";\nimport { DisclosureGroup as AriaDisclosureGroup } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureGroup.module.css\";\n\
|
|
1
|
+
{"version":3,"file":"DisclosureGroup","names":["DisclosureGroup","_c","clsx","styles","AriaDisclosureGroup","require_compiler_runtime","clsx$1","import_compiler_runtime","disclosureGroup_module_default","DisclosureGroup$1","$","className","labelTypography","panelTypography","props","t0","t1","t2","renderProps","t3","DisclosureGroup","t4","DisclosureTypographyContext"],"sources":["../../src/components/Disclosure/DisclosureGroup/disclosureGroup.module.css","../../src/components/Disclosure/DisclosureGroup/DisclosureGroup.tsx"],"sourcesContent":["@layer adgytec.comps {\n .group {\n display: grid;\n gap: var(--md-sys-layout-space-24);\n }\n}\n","import clsx from \"clsx\";\nimport { DisclosureGroup as AriaDisclosureGroup } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { DisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureGroup.module.css\";\n\n/**\n * Props for the {@link DisclosureGroup} component.\n * Extends React Aria's {@link AriaDisclosureGroup} props.\n */\nexport interface DisclosureGroupProps\n extends React.ComponentPropsWithRef<typeof AriaDisclosureGroup> {\n /**\n * Default typography style applied to all {@link DisclosureHeader} labels within the group.\n *\n * @default typography.titleMediumEmphasized\n */\n labelTypography?: Typography;\n\n /**\n * Default typography style applied to all {@link DisclosurePanel} bodies within the group.\n *\n * @default typography.bodyLarge\n */\n panelTypography?: Typography;\n}\n\n/**\n * An accordion grouping container for managing multiple related {@link Disclosure} sections.\n *\n * Supports single or multi-expansion modes via React Aria props (`allowsMultipleExpanded`),\n * coordinates keyboard navigation between items, and provides shared typography tokens\n * to all descendant disclosure headers and panels.\n *\n * @example\n * ```tsx\n * import {\n * DisclosureGroup,\n * Disclosure,\n * DisclosureHeader,\n * DisclosurePanel,\n * typography\n * } from '@adgytec/web-ui-components';\n *\n * <DisclosureGroup\n * allowsMultipleExpanded\n * labelTypography={typography.titleMedium}\n * panelTypography={typography.bodyMedium}\n * >\n * <Disclosure id=\"step-1\">\n * <DisclosureHeader>Step 1: Account Info</DisclosureHeader>\n * <DisclosurePanel>Enter your username and password.</DisclosurePanel>\n * </Disclosure>\n * <Disclosure id=\"step-2\">\n * <DisclosureHeader>Step 2: Profile Details</DisclosureHeader>\n * <DisclosurePanel>Upload an avatar and bio.</DisclosurePanel>\n * </Disclosure>\n * </DisclosureGroup>\n * ```\n */\nexport const DisclosureGroup: React.FC<DisclosureGroupProps> = ({\n labelTypography,\n panelTypography,\n className,\n ...props\n}) => {\n return (\n <DisclosureTypographyContext\n value={{ label: labelTypography, panel: panelTypography }}\n >\n <AriaDisclosureGroup\n className={(renderProps) =>\n clsx(\n styles[\"group\"],\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n />\n </DisclosureTypographyContext>\n );\n};\n"],"mappings":";;;;;;A,8CC4DaA,KAAkD,MAAA;CAAA,IAAAU,KAAA,GAAAT,EAAAA,EAAAA,CAAA,EAAA,GAAAU,GAAAC,GAAAC,GAAAC;CAAA,AAAAJ,EAAA,OAAAK,KAK9D,IAAAL,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAL+D,uDAAA,GAAAI,KAAAC,GAK/D,EAAA,KAAAA,GAAA,EAAA,KAAAJ,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CAAA,IAAAE;CAAA,AAAAN,EAAA,OAAAE,KAAAF,EAAA,OAAAG,KAGkB,IAAA;EAAA,OAASD;EAAe,OAASC;CAAgB,GAAC,EAAA,KAAAD,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAG,KAAA,IAAAN,EAAA;CAAA,IAAAO;CAAA,AAAAP,EAAA,OAAAC,IAShD,IAAAD,EAAA,MANM,KAAA,MACPR,EACIC,EAAM,OACN,OAAOQ,KAAc,aACfA,EAAUO,CACF,IAFdP,CAGJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAM;CAAA,IAAAE;CAAA,AAAAT,EAAA,QAAAI,KAAAJ,EAAA,QAAAO,KAPT,IAAA,kBAACb,GAAD;EACe,WAAAa;EAMN,GAEDH;CAAK,CAAA,GACX,EAAA,MAAAA,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAE,KAAA,IAAAT,EAAA;CAAA,IAAAW;CACwB,OADxBX,EAAA,QAAAM,KAAAN,EAAA,QAAAS,KAbN,IAAA,kBAACG,GAAD;EACW,OAAAN;EAEP,UAAAG;CAHwB,CAAA,GAcE,EAAA,MAAAH,GAAA,EAAA,MAAAG,GAAA,EAAA,MAAAE,KAAA,IAAAX,EAAA,KAd9BW;AAc8B"}
|
|
@@ -9,7 +9,7 @@ import { useContext as u } from "react";
|
|
|
9
9
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
10
10
|
import { Button as p, DisclosureStateContext as m, Heading as h } from "react-aria-components";
|
|
11
11
|
import { ChevronRight as g } from "lucide-react";
|
|
12
|
-
import '../assets/DisclosureHeader.css'
|
|
12
|
+
import '../assets/DisclosureHeader.css';// src/components/Disclosure/DisclosureHeader/disclosureHeader.module.css
|
|
13
13
|
var _ = e(), v = {
|
|
14
14
|
"state-layer": "_state-layer_1bxlz_2",
|
|
15
15
|
trigger: "_trigger_1bxlz_21"
|
|
@@ -53,7 +53,6 @@ var _ = e(), v = {
|
|
|
53
53
|
children: F
|
|
54
54
|
}), y[21] = S, y[22] = F, y[23] = I) : I = y[23], I;
|
|
55
55
|
};
|
|
56
|
-
//#endregion
|
|
57
56
|
export { y as t };
|
|
58
57
|
|
|
59
58
|
//# sourceMappingURL=DisclosureHeader.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisclosureHeader","names":["ChevronRight","handlePress","children"],"sources":["../../src/components/Disclosure/DisclosureHeader/disclosureHeader.module.css","../../src/components/Disclosure/DisclosureHeader/DisclosureHeader.tsx"],"sourcesContent":["@layer adgytec.overrides {\n .state-layer {\n --inset: calc(-1 * var(--spacing));\n\n position: absolute;\n inset: var(--inset);\n border-radius: inherit;\n\n overflow: clip;\n\n background-color: var(--_state-layer-color);\n\n transition: background-color var(--md-sys-motion-standard-fast-spatial)\n var(--md-sys-motion-standard-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n\n .trigger::before {\n background-color: transparent;\n }\n\n .trigger[data-focus-visible] {\n outline: none;\n\n &::before {\n outline: none;\n z-index: 1;\n }\n\n .state-layer {\n outline-width: var(--focus-indicator-thickness);\n outline-style: solid;\n outline-offset: var(--focus-indicator-offset);\n outline-color: var(--focus-indicator-color);\n }\n }\n}\n\n@layer adgytec.comps {\n .trigger {\n --rotate: 0;\n\n display: flex;\n gap: var(--md-sys-layout-space-4);\n align-items: start;\n\n border-radius: var(--md-sys-shape-corner-radius-medium);\n text-align: start;\n\n &[data-pressed] {\n border-radius: var(--md-sys-shape-corner-radius-small);\n }\n\n &[data-expanded] {\n --rotate: 90deg;\n }\n\n > svg {\n margin-block-start: calc(2.5 * var(--dp, 1px));\n rotate: var(--rotate);\n transition: rotate var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { ChevronRight } from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { Button, DisclosureStateContext, Heading } from \"react-aria-components\";\nimport {\n ButtonReset,\n buttonColorBase,\n buttonColorConfig,\n} from \"@/components/Button\";\nimport { Icon } from \"@/components/Icon\";\nimport { Splash } from \"@/components/Splash/Splash\";\nimport { useSplash } from \"@/components/Splash/useSplash\";\nimport { TapTarget, type Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureHeader.module.css\";\n\
|
|
1
|
+
{"version":3,"file":"DisclosureHeader","names":["ChevronRight","handlePress","children","_c","styles","require_compiler_runtime","Icon","Splash","useSplash","ButtonReset","buttonColorBase","buttonColorConfig","import_compiler_runtime","disclosureHeader_module_default","DisclosureHeader","$","children","labelTypography","props","t0","disclosureContext","useContext","DisclosureStateContext","t1","t2","useDisclosureTypographyContext","t3","label","clsx","TapTarget","t4","isExpanded","t5","splashInfo","t6","t7","ChevronRight","t8","handlePress","Button","t9","Heading"],"sources":["../../src/components/Disclosure/DisclosureHeader/disclosureHeader.module.css","../../src/components/Disclosure/DisclosureHeader/DisclosureHeader.tsx"],"sourcesContent":["@layer adgytec.overrides {\n .state-layer {\n --inset: calc(-1 * var(--spacing));\n\n position: absolute;\n inset: var(--inset);\n border-radius: inherit;\n\n overflow: clip;\n\n background-color: var(--_state-layer-color);\n\n transition: background-color var(--md-sys-motion-standard-fast-spatial)\n var(--md-sys-motion-standard-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n\n .trigger::before {\n background-color: transparent;\n }\n\n .trigger[data-focus-visible] {\n outline: none;\n\n &::before {\n outline: none;\n z-index: 1;\n }\n\n .state-layer {\n outline-width: var(--focus-indicator-thickness);\n outline-style: solid;\n outline-offset: var(--focus-indicator-offset);\n outline-color: var(--focus-indicator-color);\n }\n }\n}\n\n@layer adgytec.comps {\n .trigger {\n --rotate: 0;\n\n display: flex;\n gap: var(--md-sys-layout-space-4);\n align-items: start;\n\n border-radius: var(--md-sys-shape-corner-radius-medium);\n text-align: start;\n\n &[data-pressed] {\n border-radius: var(--md-sys-shape-corner-radius-small);\n }\n\n &[data-expanded] {\n --rotate: 90deg;\n }\n\n > svg {\n margin-block-start: calc(2.5 * var(--dp, 1px));\n rotate: var(--rotate);\n transition: rotate var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { ChevronRight } from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { Button, DisclosureStateContext, Heading } from \"react-aria-components\";\nimport {\n ButtonReset,\n buttonColorBase,\n buttonColorConfig,\n} from \"@/components/Button\";\nimport { Icon } from \"@/components/Icon\";\nimport { Splash } from \"@/components/Splash/Splash\";\nimport { useSplash } from \"@/components/Splash/useSplash\";\nimport { TapTarget, type Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosureHeader.module.css\";\n\n/**\n * Props for the {@link DisclosureHeader} component.\n * Extends React Aria's {@link Heading} props.\n */\nexport interface DisclosureHeaderProps\n extends React.ComponentPropsWithRef<typeof Heading> {\n /**\n * Custom typography style for the disclosure header label.\n * Overrides the default or group-level typography.\n *\n * @default typography.titleMediumEmphasized\n */\n labelTypography?: Typography;\n}\n\n/**\n * The interactive header that toggles expansion of a {@link Disclosure} component.\n *\n * Renders a semantic heading enclosing an accessible button trigger equipped with an expanding\n * chevron indicator icon and Material Design touch ripple feedback.\n *\n * @example\n * ```tsx\n * import { Disclosure, DisclosureHeader, DisclosurePanel, typography } from '@adgytec/web-ui-components';\n *\n * <Disclosure>\n * <DisclosureHeader labelTypography={typography.titleLarge}>\n * Section Title\n * </DisclosureHeader>\n * <DisclosurePanel>Section Content</DisclosurePanel>\n * </Disclosure>\n * ```\n */\nexport const DisclosureHeader: React.FC<DisclosureHeaderProps> = ({\n children,\n labelTypography,\n ...props\n}) => {\n const { splashInfo, handlePress } = useSplash();\n\n const disclosureContext = useContext(DisclosureStateContext);\n const { isExpanded } = disclosureContext || {};\n\n const { label } = useDisclosureTypographyContext({\n label: labelTypography,\n });\n\n return (\n <Heading {...props}>\n <Button\n onPress={handlePress}\n className={clsx(\n ButtonReset,\n TapTarget,\n styles[\"trigger\"],\n buttonColorBase,\n buttonColorConfig(\"standard\"),\n label\n )}\n slot=\"trigger\"\n data-expanded={isExpanded || undefined}\n data-shape=\"square\"\n >\n <span className={styles[\"state-layer\"]}>\n {splashInfo && <Splash {...splashInfo} />}\n </span>\n <Icon withText icon={ChevronRight} />\n {children}\n </Button>\n </Heading>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;A,GCiDac,KAAoD,MAAA;CAAA,IAAAC,KAAA,GAAAZ,EAAAA,EAAAA,CAAA,EAAA,GAAAa,GAAAC,GAAAC;CAAA,AAAAH,EAAA,OAAAI,KAIhE,IAAAJ,EAAA,IAAA,IAAAA,EAAA,IAAA,IAAAA,EAAA,OAJiE,kCAAA,GAAAG,KAAAC,GAIjE,EAAA,KAAAA,GAAA,EAAA,KAAAH,GAAA,EAAA,KAAAC,GAAA,EAAA,KAAAC;CACG,IAAA,EAAA,eAAA,mBAAoCV,EAAU,GAE9CY,IAA0BC,EAAWC,CAAsB,GAAEC;CAAA,AAAAR,EAAA,OAAAK,IACf,IAAAL,EAAA,MAAvB,IAAAK,KAAA,CAAsB,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAG;CAA9C,IAAA,EAAA,kBAAuBA,GAAwBC;CAAA,AAAAT,EAAA,OAAAE,IAI9C,IAAAF,EAAA,MAFgD,IAAA,EAAA,OACtCE,EACX,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAO;CAFD,IAAA,EAAA,aAAkBC,EAA+BD,CAEhD,GAAEE;CAAA,AAAAX,EAAA,OAAAY,IAaU,IAAAZ,EAAA,MAPU,IAAAa,EACPnB,GACAoB,GACAzB,EAAM,SACNM,GACAC,EAAkB,UAAU,GAC5BgB,CACJ,GAAC,EAAA,KAAAA,GAAA,EAAA,KAAAD;CAEc,IAAAI,IAAAC,KAAA,KAAA,GAAuBC;CAAA,AAAAjB,EAAA,QAAAkB,IAIO,IAAAlB,EAAA,OAAxC,IAAAkB,KAAc,kBAAC1B,GAAD,EAAO,GAAK0B,EAAU,CAAA,GAAI,EAAA,MAAAA,GAAA,EAAA,MAAAD;CAAA,IAAAE;CAAA,AAAAnB,EAAA,QAAAiB,IACtC,IAAAjB,EAAA,OAFP,IAAA,kBAAA,QAAA;EAAiB,WAAAX,EAAO;EACnB,UAAA4B;CACE,CAAA,GAAA,EAAA,MAAAA,GAAA,EAAA,MAAAE;CAAA,IAAAC;CAAA,AAAApB,EAAA,QAAA,OAAA,IAAA,2BAAA,KACP,IAAA,kBAACT,GAAD;EAAM,UAAA;EAAeN,MAAAoC;CAAY,CAAA,GAAI,EAAA,MAAAD,KAAA,IAAApB,EAAA;CAAA,IAAAsB;CAAA,AAAAtB,EAAA,QAAAC,KAAAD,EAAA,QAAAuB,KAAAvB,EAAA,QAAAW,KAAAX,EAAA,QAAAe,KAAAf,EAAA,QAAAmB,KAjBzC,IAAA,kBAACK,GAAD;EACatC,SAAAqC;EACE,WAAAZ;EAQN,MAAA;EACU,iBAAAI;EACJ,cAAA;EAZf,UAAA;GAcII;GAGAC;GACCnB;EAlBE;C,IAmBE,EAAA,MAAAA,GAAA,EAAA,MAAAsB,GAAA,EAAA,MAAAZ,GAAA,EAAA,MAAAI,GAAA,EAAA,MAAAI,GAAA,EAAA,MAAAG,KAAA,IAAAtB,EAAA;CAAA,IAAAyB;CACH,OADGzB,EAAA,QAAAG,KAAAH,EAAA,QAAAsB,KApBb,IAAA,kBAACI,GAAD;EAAQ,GAAKvB;EACT,UAAAmB;CADI,CAAA,GAqBE,EAAA,MAAAnB,GAAA,EAAA,MAAAmB,GAAA,EAAA,MAAAG,KAAA,IAAAzB,EAAA,KArBVyB;AAqBU"}
|
|
@@ -3,7 +3,7 @@ import { useDisclosureTypographyContext as t } from "../components/Disclosure/co
|
|
|
3
3
|
import { clsx as n } from "clsx";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { DisclosurePanel as i } from "react-aria-components";
|
|
6
|
-
import '../assets/DisclosurePanel.css'
|
|
6
|
+
import '../assets/DisclosurePanel.css';// src/components/Disclosure/DisclosurePanel/disclosurePanel.module.css
|
|
7
7
|
var a = e(), o = { panel: "_panel_sw5lb_2" }, s = (e) => {
|
|
8
8
|
let s = (0, a.c)(16), c, l, u, d;
|
|
9
9
|
s[0] === e ? (c = s[1], l = s[2], u = s[3], d = s[4]) : ({className: l, children: c, panelTypography: u, ...d} = e, s[0] = e, s[1] = c, s[2] = l, s[3] = u, s[4] = d);
|
|
@@ -20,7 +20,6 @@ var a = e(), o = { panel: "_panel_sw5lb_2" }, s = (e) => {
|
|
|
20
20
|
children: h
|
|
21
21
|
}), s[12] = d, s[13] = m, s[14] = h, s[15] = g) : g = s[15], g;
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { s as t };
|
|
25
24
|
|
|
26
25
|
//# sourceMappingURL=DisclosurePanel.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisclosurePanel","names":["children"],"sources":["../../src/components/Disclosure/DisclosurePanel/disclosurePanel.module.css","../../src/components/Disclosure/DisclosurePanel/DisclosurePanel.tsx"],"sourcesContent":["@layer adgytec.comps {\n .panel {\n height: var(--disclosure-panel-height);\n\n transition: height var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n overflow: clip;\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n\n > div {\n padding-block-start: var(--spacing);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { DisclosurePanel as AriaDisclosurePanel } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosurePanel.module.css\";\n\
|
|
1
|
+
{"version":3,"file":"DisclosurePanel","names":["children","DisclosurePanel","_c","styles","AriaDisclosurePanel","require_compiler_runtime","import_compiler_runtime","disclosurePanel_module_default","DisclosurePanel$1","$","children","className","panelTypography","props","t0","t1","useDisclosureTypographyContext","t2","panel","clsx","renderProps","t3","t4","DisclosurePanel"],"sources":["../../src/components/Disclosure/DisclosurePanel/disclosurePanel.module.css","../../src/components/Disclosure/DisclosurePanel/DisclosurePanel.tsx"],"sourcesContent":["@layer adgytec.comps {\n .panel {\n height: var(--disclosure-panel-height);\n\n transition: height var(--md-sys-motion-expressive-fast-spatial)\n var(--md-sys-motion-expressive-fast-spatial-duration);\n overflow: clip;\n\n @media (prefers-reduced-motion) {\n transition: none;\n }\n\n > div {\n padding-block-start: var(--spacing);\n }\n }\n}\n","import { clsx } from \"clsx\";\nimport { DisclosurePanel as AriaDisclosurePanel } from \"react-aria-components\";\nimport type { Typography } from \"@/utils\";\nimport { useDisclosureTypographyContext } from \"../context\";\nimport styles from \"./disclosurePanel.module.css\";\n\n/**\n * Props for the {@link DisclosurePanel} component.\n * Extends React Aria's {@link AriaDisclosurePanel} props.\n */\nexport interface DisclosurePanelProps\n extends React.ComponentPropsWithRef<typeof AriaDisclosurePanel> {\n /**\n * Custom typography style for the disclosure panel content.\n * Overrides the default or group-level typography.\n *\n * @default typography.bodyLarge\n */\n panelTypography?: Typography;\n}\n\n/**\n * The collapsible content container displayed when a {@link Disclosure} is expanded.\n *\n * Automatically manages visibility, smooth collapse/expand layout transitions,\n * and inherited or customized typography.\n *\n * @example\n * ```tsx\n * import { Disclosure, DisclosureHeader, DisclosurePanel, typography } from '@adgytec/web-ui-components';\n *\n * <Disclosure>\n * <DisclosureHeader>FAQ Question</DisclosureHeader>\n * <DisclosurePanel panelTypography={typography.bodyMedium}>\n * Answer text explaining details in depth.\n * </DisclosurePanel>\n * </Disclosure>\n * ```\n */\nexport const DisclosurePanel: React.FC<DisclosurePanelProps> = ({\n className,\n children,\n panelTypography,\n ...props\n}) => {\n const { panel } = useDisclosureTypographyContext({\n panel: panelTypography,\n });\n\n return (\n <AriaDisclosurePanel\n className={(renderProps) =>\n clsx(\n styles[\"panel\"],\n panel,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\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