@vibe/core 4.5.11 → 4.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Menu/MenuGridItem/useMenuGridItemNavContext.d.ts +2 -2
- package/dist/components/a11y/dist/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js +2 -0
- package/dist/components/a11y/dist/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +1 -0
- package/dist/components/a11y/dist/GridKeyboardNavigationContext/helper.js +2 -0
- package/dist/components/a11y/dist/GridKeyboardNavigationContext/helper.js.map +1 -0
- package/dist/components/a11y/dist/HiddenText/HiddenText.js +2 -0
- package/dist/components/a11y/dist/HiddenText/HiddenText.js.map +1 -0
- package/dist/components/a11y/dist/HiddenText/HiddenText.module.scss.js +2 -0
- package/dist/components/avatar/dist/Avatar/Avatar.module.scss.js +1 -1
- package/dist/components/avatar/dist/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/components/avatar/dist/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/components/button-group/dist/ButtonGroup/ButtonGroup.module.scss.js +1 -1
- package/dist/components/checkbox/dist/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/components/dialog/dist/Dialog/Dialog.module.scss.js +1 -1
- package/dist/components/dialog/dist/Dialog/components/DialogContent/DialogContent.module.scss.js +1 -1
- package/dist/components/dialog/dist/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
- package/dist/components/editable/dist/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/components/editable/dist/EditableText/EditableText.module.scss.js +1 -1
- package/dist/components/editable/dist/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
- package/dist/components/icon-button/dist/IconButton/IconButton.module.scss.js +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/label/dist/Label/Label.module.scss.js +1 -1
- package/dist/components/label/dist/Label/LabelCelebrationAnimation.module.scss.js +1 -1
- package/dist/components/radio-button/dist/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/components/tooltip/dist/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/components/typography/dist/Heading/Heading.module.scss.js +1 -1
- package/dist/components/typography/dist/Text/Text.module.scss.js +1 -1
- package/dist/components/typography/dist/Typography/Typography.module.scss.js +1 -1
- package/dist/hooks/useFullKeyboardListeners.d.ts +2 -10
- package/dist/metadata/components.json +56 -56
- package/dist/metadata.json +56 -56
- package/dist/mocked_classnames/components/Menu/MenuGridItem/useMenuGridItemNavContext.d.ts +2 -2
- package/dist/mocked_classnames/components/index.d.ts +1 -2
- package/dist/mocked_classnames/hooks/useFullKeyboardListeners.d.ts +2 -10
- package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BaseItem/BaseItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BaseList/BaseList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js.map +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListItem/ListItem.js +1 -1
- package/dist/mocked_classnames/src/components/ListItem/ListItem.js.map +1 -1
- package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuGridItem/MenuGridItem.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuGridItem/MenuGridItem.js.map +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.js.map +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuGridItem/useMenuGridItemNavContext.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuGridItem/useMenuGridItemNavContext.js.map +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/Modal/Modal.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.js +1 -1
- package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.js.map +1 -1
- package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/NumberField/NumberField.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TextArea/TextArea.js +1 -1
- package/dist/mocked_classnames/src/components/TextArea/TextArea.js.map +1 -1
- package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TextField/TextField.js +1 -1
- package/dist/mocked_classnames/src/components/TextField/TextField.js.map +1 -1
- package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TransitionView/TransitionView.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/next/List/List.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/hooks/useFullKeyboardListeners.js +1 -1
- package/dist/mocked_classnames/src/hooks/useFullKeyboardListeners.js.map +1 -1
- package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.js +1 -1
- package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.js.map +1 -1
- package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js +1 -1
- package/dist/mocked_classnames/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js.map +1 -1
- package/dist/mocked_classnames/src/index.js +1 -1
- package/dist/shared/dist/constants/navDirections.js +2 -0
- package/dist/shared/dist/constants/navDirections.js.map +1 -0
- package/dist/shared/dist/hooks/useLastNavigationDirection.js +2 -0
- package/dist/shared/dist/hooks/useLastNavigationDirection.js.map +1 -0
- package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/src/components/BaseItem/BaseItem.module.scss.js +1 -1
- package/dist/src/components/BaseList/BaseList.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/src/components/Chips/Chips.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerContent.js.map +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
- package/dist/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
- package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
- package/dist/src/components/InfoText/InfoText.module.scss.js +1 -1
- package/dist/src/components/List/List.module.scss.js +1 -1
- package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/src/components/ListItem/ListItem.js +1 -1
- package/dist/src/components/ListItem/ListItem.js.map +1 -1
- package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.js +1 -1
- package/dist/src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.js.map +1 -1
- package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuGridItem/MenuGridItem.js +1 -1
- package/dist/src/components/Menu/MenuGridItem/MenuGridItem.js.map +1 -1
- package/dist/src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.js +1 -1
- package/dist/src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.js.map +1 -1
- package/dist/src/components/Menu/MenuGridItem/useMenuGridItemNavContext.js +1 -1
- package/dist/src/components/Menu/MenuGridItem/useMenuGridItemNavContext.js.map +1 -1
- package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/src/components/Modal/Modal/Modal.module.scss.js +1 -1
- package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
- package/dist/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
- package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
- package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
- package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.js +1 -1
- package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.js.map +1 -1
- package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
- package/dist/src/components/NumberField/NumberField.module.scss.js +1 -1
- package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +1 -1
- package/dist/src/components/Search/Search.module.scss.js +1 -1
- package/dist/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
- package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
- package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
- package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
- package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
- package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
- package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
- package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
- package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
- package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
- package/dist/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/src/components/TextArea/TextArea.js +1 -1
- package/dist/src/components/TextArea/TextArea.js.map +1 -1
- package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
- package/dist/src/components/TextField/TextField.js +1 -1
- package/dist/src/components/TextField/TextField.js.map +1 -1
- package/dist/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/src/components/TransitionView/TransitionView.module.scss.js +1 -1
- package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/src/components/next/List/List.module.scss.js +1 -1
- package/dist/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/src/hooks/useFullKeyboardListeners.js +1 -1
- package/dist/src/hooks/useFullKeyboardListeners.js.map +1 -1
- package/dist/src/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.js +1 -1
- package/dist/src/hooks/useGridKeyboardNavigation/gridKeyboardNavigationHelper.js.map +1 -1
- package/dist/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js +1 -1
- package/dist/src/hooks/useGridKeyboardNavigation/useGridKeyboardNavigation.js.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/style/dist/index.min.css.js +1 -1
- package/package.json +28 -27
- package/dist/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.d.ts +0 -15
- package/dist/components/GridKeyboardNavigationContext/GridKeyboardNavigationContextConstants.d.ts +0 -25
- package/dist/components/GridKeyboardNavigationContext/helper.d.ts +0 -6
- package/dist/components/GridKeyboardNavigationContext/index.d.ts +0 -1
- package/dist/components/HiddenText/HiddenText.d.ts +0 -10
- package/dist/components/HiddenText/index.d.ts +0 -1
- package/dist/components/Menu/Menu/hooks/useLastNavigationDirection.d.ts +0 -4
- package/dist/mocked_classnames/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.d.ts +0 -15
- package/dist/mocked_classnames/components/GridKeyboardNavigationContext/GridKeyboardNavigationContextConstants.d.ts +0 -25
- package/dist/mocked_classnames/components/GridKeyboardNavigationContext/helper.d.ts +0 -6
- package/dist/mocked_classnames/components/GridKeyboardNavigationContext/index.d.ts +0 -1
- package/dist/mocked_classnames/components/HiddenText/HiddenText.d.ts +0 -10
- package/dist/mocked_classnames/components/HiddenText/index.d.ts +0 -1
- package/dist/mocked_classnames/components/Menu/Menu/hooks/useLastNavigationDirection.d.ts +0 -4
- package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js +0 -2
- package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +0 -1
- package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/helper.js +0 -2
- package/dist/mocked_classnames/src/components/GridKeyboardNavigationContext/helper.js.map +0 -1
- package/dist/mocked_classnames/src/components/HiddenText/HiddenText.js +0 -2
- package/dist/mocked_classnames/src/components/HiddenText/HiddenText.js.map +0 -1
- package/dist/mocked_classnames/src/components/HiddenText/HiddenText.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useLastNavigationDirection.js +0 -2
- package/dist/mocked_classnames/src/components/Menu/Menu/hooks/useLastNavigationDirection.js.map +0 -1
- package/dist/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js +0 -2
- package/dist/src/components/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js.map +0 -1
- package/dist/src/components/GridKeyboardNavigationContext/helper.js +0 -2
- package/dist/src/components/GridKeyboardNavigationContext/helper.js.map +0 -1
- package/dist/src/components/HiddenText/HiddenText.js +0 -2
- package/dist/src/components/HiddenText/HiddenText.js.map +0 -1
- package/dist/src/components/HiddenText/HiddenText.module.scss.js +0 -2
- package/dist/src/components/HiddenText/HiddenText.module.scss.js.map +0 -1
- package/dist/src/components/Menu/Menu/hooks/useLastNavigationDirection.js +0 -2
- package/dist/src/components/Menu/Menu/hooks/useLastNavigationDirection.js.map +0 -1
- /package/dist/{mocked_classnames/src/components → components/a11y/dist}/HiddenText/HiddenText.module.scss.js.map +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={labelComponentWrapper:"
|
|
1
|
+
var e={labelComponentWrapper:"labelComponentWrapper_7826114350",labelComponentIcon:"labelComponentIcon_bd8ef5071e",labelComponentText:"labelComponentText_5fee1adf0a",required:"required_c28e3f0061"};!function(e){const n="s_id-c78e4bf29ce0_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.labelComponentWrapper_7826114350 {\n font: var(--font-text2-normal);\n display: flex;\n padding-bottom: var(--space-4);\n align-items: center;\n}\n.labelComponentIcon_bd8ef5071e {\n margin: 0 var(--space-8) 0 var(--space-4);\n line-height: 24px;\n color: var(--secondary-text-color);\n}\n.labelComponentText_5fee1adf0a {\n color: var(--primary-text-color);\n padding-block: 2px;\n}\n.required_c28e3f0061 {\n color: var(--negative-color);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=FieldLabel.module.scss.js.map
|
package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={contentWrapper:"
|
|
1
|
+
var e={contentWrapper:"contentWrapper_819ce6e203",link:"link_40e5726d77"};!function(e){const t="s_id-646297cad054_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".contentWrapper_819ce6e203 {\n max-width: 240px;\n}\n.contentWrapper_819ce6e203 .link_40e5726d77 {\n margin-top: var(--space-4);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=InfoDialogContent.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={infoLink:"
|
|
1
|
+
var e={infoLink:"infoLink_47a1bebbd9"};!function(e){const t="s_id-63a4f7de1b47_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".infoLink_47a1bebbd9 {\n color: var(--primary-text-color);\n text-decoration: underline;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=InfoLink.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={infoText:"
|
|
1
|
+
var e={infoText:"infoText_b9e32006be",error:"error_c28e3f0061",success:"success_fdf382f586",disabled:"disabled_1b974e3cf1",readOnly:"readOnly_b9e32006be"};!function(e){const o="s_id-05a2b3ab5fae_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+o))return;const t=document.createElement("style");t.id=o,n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=e)}(".infoText_b9e32006be {\n color: var(--secondary-text-color);\n}\n.infoText_b9e32006be.error_c28e3f0061 {\n color: var(--negative-color);\n}\n.infoText_b9e32006be.success_fdf382f586 {\n color: var(--positive-color);\n}\n.infoText_b9e32006be.disabled_1b974e3cf1 {\n color: var(--disabled-text-color);\n}\n.infoText_b9e32006be.readOnly_b9e32006be {\n color: var(--secondary-text-color);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=InfoText.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={list:"
|
|
1
|
+
var e={list:"list_518a7f3bd6"};!function(e){const t="s_id-ed9bf484fec4_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const o=document.createElement("style");o.id=t,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.list_518a7f3bd6 {\n margin: 0;\n padding: 0;\n overflow: auto;\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.list_518a7f3bd6::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.list_518a7f3bd6::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=List.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={scrollableContainer:"
|
|
1
|
+
var e={scrollableContainer:"scrollableContainer_fab938aa42"};!function(e){const n="s_id-8a3397ff1208_4_5_11";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;const l=document.createElement("style");l.id=n,a.firstChild?a.insertBefore(l,a.firstChild):a.appendChild(l),l.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.scrollableContainer_fab938aa42 {\n margin: 0;\n padding: 0;\n overflow: auto;\n}\n.scrollableContainer_fab938aa42::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.scrollableContainer_fab938aa42::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=VirtualizedListItems.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineProperty as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import t from"classnames";import o,{forwardRef as s,useContext as i,useRef as r,useEffect as
|
|
1
|
+
import{defineProperty as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import t from"classnames";import o,{forwardRef as s,useContext as i,useRef as r,useEffect as a,useCallback as n}from"react";import{camelCase as d}from"es-toolkit";import{SELECTION_KEYS as m}from"../../constants/keyCodes.js";import{SIZES as l}from"../../constants/sizes.js";import"../../hooks/useActiveDescendantListFocus/index.js";import"../../hooks/useVibeMediaQuery/index.js";import"../../hooks/useSwitch/index.js";import{ListContext as p}from"../List/utils/ListContext.js";import c from"./ListItem.module.scss.js";import u from"../../../components/typography/dist/Text/Text.js";import{useMergeRef as f}from"../../../shared/dist/hooks/useMergeRef.js";import{useKeyEvent as v}from"../../../shared/dist/hooks/useKeyEvent.js";import{getStyle as j}from"../../../shared/dist/utils/typesciptCssModulesHelper.js";import{NOOP as h}from"../../../shared/dist/utils/function-utils.js";var k=s((function(s,k){var x=s.className,y=s.id,b=s.component,L=void 0===b?"div":b,I=s.onClick,C=void 0===I?h:I,M=s.onHover,g=void 0===M?h:M,P=s.selected,E=s.disabled,F=void 0!==E&&E,H=s.size,N=void 0===H?l.SMALL:H,z=s.tabIndex,A=void 0===z?0:z,S=s.children,T=s["aria-current"],_=s["data-testid"],w=s.role,B=void 0===w?"option":w,D=s.tooltipProps,K=i(p).updateFocusedItem,O=r(null),Q=f(k,O);a((function(){P&&(null==K||K(y))}),[P,y,K]);var R=n((function(e){F||C(e,y)}),[F,C,y]),V=n((function(e){return R(e)}),[R]);v({keys:m,ref:O,callback:V});var q=n((function(e){F||g(e,y)}),[F,g,y]);return o.createElement(u,{element:L,"data-testid":_||y,ref:Q,className:t(c.listItem,x,j(c,d(N)),e(e({},c.selected,P&&!F),c.disabled,F)),id:y,type:"text2","aria-disabled":F,"aria-selected":P,onClick:R,onMouseEnter:q,onFocus:q,role:B,tabIndex:A,"aria-current":T,tooltipProps:D},S)}));Object.assign(k,{displayName:"ListItem"});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sources":["../../../../src/components/ListItem/ListItem.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, {\n type AriaAttributes,\n type AriaRole,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useRef\n} from \"react\";\nimport { camelCase } from \"es-toolkit\";\nimport { getStyle, NOOP, useMergeRef } from \"@vibe/shared\";\nimport { Text } from \"@vibe/typography\";\nimport { SIZES, SELECTION_KEYS } from \"../../constants\";\n\nimport { type VibeComponentProps, type ElementContent } from \"../../types\";\nimport { useKeyEvent } from \"../../hooks\";\n\nimport { ListContext } from \"../List/utils/ListContext\";\nimport { type ListItemElement, type ListItemSize } from \"./ListItem.types\";\nimport { type TooltipProps } from \"@vibe/tooltip\";\nimport styles from \"./ListItem.module.scss\";\n\nexport interface ListItemProps extends VibeComponentProps {\n /**\n * The HTML element used for the list item.\n */\n component?: ListItemElement;\n /**\n * The textual content inside the list item.\n */\n children?: ElementContent;\n /**\n * Callback fired when the item is clicked.\n */\n onClick?: (event: React.MouseEvent | React.KeyboardEvent, id: string) => void;\n /**\n * Callback fired when the item is hovered.\n */\n onHover?: (event: React.MouseEvent | React.FocusEvent, id: string) => void;\n /**\n * If true, disables the item and prevents interactions.\n */\n disabled?: boolean;\n /**\n * If true, marks the item as selected.\n */\n selected?: boolean;\n /**\n * The size of the list item.\n */\n size?: ListItemSize;\n /**\n * The tab index of the list item for keyboard navigation.\n */\n tabIndex?: number;\n /**\n * Indicates the current state of the item in a set of items.\n */\n \"aria-current\"?: AriaAttributes[\"aria-current\"];\n /**\n * The ARIA role of the list item.\n */\n role?: AriaRole;\n /**\n * Props passed to the tooltip displayed when hovering over the text.\n */\n tooltipProps?: Partial<TooltipProps>;\n}\n\nconst ListItem = forwardRef(\n (\n {\n className,\n id,\n component = \"div\",\n onClick = NOOP,\n onHover = NOOP,\n selected,\n disabled = false,\n size = SIZES.SMALL,\n tabIndex = 0,\n children,\n \"aria-current\": ariaCurrent,\n \"data-testid\": dataTestId,\n role = \"option\",\n tooltipProps\n }: ListItemProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const { updateFocusedItem } = useContext(ListContext);\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n useEffect(() => {\n if (selected) {\n updateFocusedItem?.(id);\n }\n }, [selected, id, updateFocusedItem]);\n\n const componentOnClick = useCallback(\n (event: React.MouseEvent | React.KeyboardEvent) => {\n if (disabled) return;\n onClick(event, id);\n },\n [disabled, onClick, id]\n );\n\n const onKeyboardSelect = useCallback((event: React.KeyboardEvent) => componentOnClick(event), [componentOnClick]);\n\n useKeyEvent({\n keys: SELECTION_KEYS,\n ref: componentRef,\n callback: onKeyboardSelect\n });\n\n const componentOnHover = useCallback(\n (event: React.MouseEvent | React.FocusEvent) => {\n if (disabled) return;\n onHover(event, id);\n },\n [disabled, onHover, id]\n );\n\n return (\n <Text\n element={component}\n data-testid={dataTestId || id}\n ref={mergedRef}\n className={cx(styles.listItem, className, getStyle(styles, camelCase(size)), {\n [styles.selected]: selected && !disabled,\n [styles.disabled]: disabled\n })}\n id={id}\n type=\"text2\"\n aria-disabled={disabled}\n aria-selected={selected}\n onClick={componentOnClick}\n onMouseEnter={componentOnHover}\n onFocus={componentOnHover}\n role={role}\n tabIndex={tabIndex}\n aria-current={ariaCurrent}\n tooltipProps={tooltipProps}\n >\n {children}\n </Text>\n );\n }\n);\n\nObject.assign(ListItem, {\n // Used by VirtualizedListItems\n displayName: \"ListItem\"\n});\n\nexport default ListItem;\n"],"names":["ListItem","forwardRef","_ref","ref","className","id","_ref$component","component","_ref$onClick","onClick","NOOP","_ref$onHover","onHover","selected","_ref$disabled","disabled","_ref$size","size","SIZES","SMALL","_ref$tabIndex","tabIndex","children","ariaCurrent","dataTestId","_ref$role","role","tooltipProps","updateFocusedItem","useContext","ListContext","componentRef","useRef","mergedRef","useMergeRef","useEffect","componentOnClick","useCallback","event","onKeyboardSelect","useKeyEvent","keys","SELECTION_KEYS","callback","componentOnHover","React","createElement","Text","element","cx","styles","listItem","getStyle","camelCase","_defineProperty","type","onMouseEnter","onFocus","Object","assign","displayName"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItem.js","sources":["../../../../src/components/ListItem/ListItem.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, {\n type AriaAttributes,\n type AriaRole,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useRef\n} from \"react\";\nimport { camelCase } from \"es-toolkit\";\nimport { getStyle, NOOP, useMergeRef } from \"@vibe/shared\";\nimport { Text } from \"@vibe/typography\";\nimport { SIZES, SELECTION_KEYS } from \"../../constants\";\n\nimport { type VibeComponentProps, type ElementContent } from \"../../types\";\nimport { useKeyEvent } from \"../../hooks\";\n\nimport { ListContext } from \"../List/utils/ListContext\";\nimport { type ListItemElement, type ListItemSize } from \"./ListItem.types\";\nimport { type TooltipProps } from \"@vibe/tooltip\";\nimport styles from \"./ListItem.module.scss\";\n\nexport interface ListItemProps extends VibeComponentProps {\n /**\n * The HTML element used for the list item.\n */\n component?: ListItemElement;\n /**\n * The textual content inside the list item.\n */\n children?: ElementContent;\n /**\n * Callback fired when the item is clicked.\n */\n onClick?: (event: React.MouseEvent | React.KeyboardEvent, id: string) => void;\n /**\n * Callback fired when the item is hovered.\n */\n onHover?: (event: React.MouseEvent | React.FocusEvent, id: string) => void;\n /**\n * If true, disables the item and prevents interactions.\n */\n disabled?: boolean;\n /**\n * If true, marks the item as selected.\n */\n selected?: boolean;\n /**\n * The size of the list item.\n */\n size?: ListItemSize;\n /**\n * The tab index of the list item for keyboard navigation.\n */\n tabIndex?: number;\n /**\n * Indicates the current state of the item in a set of items.\n */\n \"aria-current\"?: AriaAttributes[\"aria-current\"];\n /**\n * The ARIA role of the list item.\n */\n role?: AriaRole;\n /**\n * Props passed to the tooltip displayed when hovering over the text.\n */\n tooltipProps?: Partial<TooltipProps>;\n}\n\nconst ListItem = forwardRef(\n (\n {\n className,\n id,\n component = \"div\",\n onClick = NOOP,\n onHover = NOOP,\n selected,\n disabled = false,\n size = SIZES.SMALL,\n tabIndex = 0,\n children,\n \"aria-current\": ariaCurrent,\n \"data-testid\": dataTestId,\n role = \"option\",\n tooltipProps\n }: ListItemProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const { updateFocusedItem } = useContext(ListContext);\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n useEffect(() => {\n if (selected) {\n updateFocusedItem?.(id);\n }\n }, [selected, id, updateFocusedItem]);\n\n const componentOnClick = useCallback(\n (event: React.MouseEvent | React.KeyboardEvent) => {\n if (disabled) return;\n onClick(event, id);\n },\n [disabled, onClick, id]\n );\n\n const onKeyboardSelect = useCallback((event: React.KeyboardEvent) => componentOnClick(event), [componentOnClick]);\n\n useKeyEvent({\n keys: SELECTION_KEYS,\n ref: componentRef,\n callback: onKeyboardSelect\n });\n\n const componentOnHover = useCallback(\n (event: React.MouseEvent | React.FocusEvent) => {\n if (disabled) return;\n onHover(event, id);\n },\n [disabled, onHover, id]\n );\n\n return (\n <Text\n element={component}\n data-testid={dataTestId || id}\n ref={mergedRef}\n className={cx(styles.listItem, className, getStyle(styles, camelCase(size)), {\n [styles.selected]: selected && !disabled,\n [styles.disabled]: disabled\n })}\n id={id}\n type=\"text2\"\n aria-disabled={disabled}\n aria-selected={selected}\n onClick={componentOnClick}\n onMouseEnter={componentOnHover}\n onFocus={componentOnHover}\n role={role}\n tabIndex={tabIndex}\n aria-current={ariaCurrent}\n tooltipProps={tooltipProps}\n >\n {children}\n </Text>\n );\n }\n);\n\nObject.assign(ListItem, {\n // Used by VirtualizedListItems\n displayName: \"ListItem\"\n});\n\nexport default ListItem;\n"],"names":["ListItem","forwardRef","_ref","ref","className","id","_ref$component","component","_ref$onClick","onClick","NOOP","_ref$onHover","onHover","selected","_ref$disabled","disabled","_ref$size","size","SIZES","SMALL","_ref$tabIndex","tabIndex","children","ariaCurrent","dataTestId","_ref$role","role","tooltipProps","updateFocusedItem","useContext","ListContext","componentRef","useRef","mergedRef","useMergeRef","useEffect","componentOnClick","useCallback","event","onKeyboardSelect","useKeyEvent","keys","SELECTION_KEYS","callback","componentOnHover","React","createElement","Text","element","cx","styles","listItem","getStyle","camelCase","_defineProperty","type","onMouseEnter","onFocus","Object","assign","displayName"],"mappings":"47BAsEMA,IAAAA,EAAWC,GACf,SAAAC,EAiBEC,GACE,IAhBAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GAAEC,EAAAJ,EACFK,UAAAA,OAAY,IAAHD,EAAG,MAAKA,EAAAE,EAAAN,EACjBO,QAAAA,OAAUC,IAAHF,EAAGE,EAAIF,EAAAG,EAAAT,EACdU,QAAAA,OAAUF,IAAHC,EAAGD,EAAIC,EACdE,EAAQX,EAARW,SAAQC,EAAAZ,EACRa,SAAAA,OAAW,IAAHD,GAAQA,EAAAE,EAAAd,EAChBe,KAAAA,OAAI,IAAAD,EAAGE,EAAMC,MAAKH,EAAAI,EAAAlB,EAClBmB,SAAAA,OAAW,IAAHD,EAAG,EAACA,EACZE,EAAQpB,EAARoB,SACgBC,EAAWrB,EAA3B,gBACesB,EAAUtB,EAAzB,eAAauB,EAAAvB,EACbwB,KAAAA,OAAO,IAAHD,EAAG,SAAQA,EACfE,EAAYzB,EAAZyB,aAIMC,EAAsBC,EAAWC,GAAjCF,kBACFG,EAAeC,EAAO,MACtBC,EAAYC,EAAY/B,EAAK4B,GAEnCI,GAAU,WACJtB,IACFe,SAAAA,EAAoBvB,GAEvB,GAAE,CAACQ,EAAUR,EAAIuB,IAElB,IAAMQ,EAAmBC,GACvB,SAACC,GACKvB,GACJN,EAAQ6B,EAAOjC,EAChB,GACD,CAACU,EAAUN,EAASJ,IAGhBkC,EAAmBF,GAAY,SAACC,GAA0B,OAAKF,EAAiBE,KAAQ,CAACF,IAE/FI,EAAY,CACVC,KAAMC,EACNvC,IAAK4B,EACLY,SAAUJ,IAGZ,IAAMK,EAAmBP,GACvB,SAACC,GACKvB,GACJH,EAAQ0B,EAAOjC,EAChB,GACD,CAACU,EAAUH,EAASP,IAGtB,OACEwC,EAAAC,cAACC,EAAI,CACHC,QAASzC,EACI,cAAAiB,GAAcnB,EAC3BF,IAAK8B,EACL7B,UAAW6C,EAAGC,EAAOC,SAAU/C,EAAWgD,EAASF,EAAQG,EAAUpC,IAAMqC,EAAAA,EACxEJ,CAAAA,EAAAA,EAAOrC,SAAWA,IAAaE,GAC/BmC,EAAOnC,SAAWA,IAErBV,GAAIA,EACJkD,KAAK,QAAO,gBACGxC,EACA,gBAAAF,EACfJ,QAAS2B,EACToB,aAAcZ,EACda,QAASb,EACTlB,KAAMA,EACNL,SAAUA,iBACIE,EACdI,aAAcA,GAEbL,EAGP,IAGFoC,OAAOC,OAAO3D,EAAU,CAEtB4D,YAAa"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={listItem:"
|
|
1
|
+
var e={listItem:"listItem_683ca1e653","focus-visible":"focus-visible_c6a5130aa6",disabled:"disabled_7b878cf657",selected:"selected_5569179885",small:"small_13fdb17851",medium:"medium_b0924cc15d",large:"large_ee7a95e65a"};!function(e){const n="s_id-8402a299d384_4_5_11";if("undefined"!=typeof document){const l=document.head||document.getElementsByTagName("head")[0];if(l.querySelector("#"+n))return;const a=document.createElement("style");a.id=n,l.firstChild?l.insertBefore(a,l.firstChild):l.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable selector-class-pattern */\n/* stylelint-disable */\n/* stylelint-enable */\n.listItem_683ca1e653 {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n border-radius: 4px;\n cursor: pointer;\n}\n.listItem_683ca1e653:focus-visible, .listItem_683ca1e653.focus-visible_c6a5130aa6 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5) inset, 0 0 0 1px var(--primary-hover-color) inset;\n}\n.listItem_683ca1e653:focus:not(.focus-visible_c6a5130aa6) {\n outline: none;\n}\n.listItem_683ca1e653:hover {\n background-color: var(--primary-background-hover-color);\n}\n.disabled_7b878cf657 {\n cursor: not-allowed;\n}\n.disabled_7b878cf657:hover {\n background-color: transparent;\n}\n.selected_5569179885 {\n background-color: var(--primary-selected-color);\n}\n.selected_5569179885:hover {\n background-color: var(--primary-selected-color);\n}\n.small_13fdb17851 {\n height: 32px;\n}\n.medium_b0924cc15d {\n height: 40px;\n}\n.large_ee7a95e65a {\n height: 48px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ListItem.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={listItemAvatar:"
|
|
1
|
+
var e={listItemAvatar:"listItemAvatar_89ed0dd877",avatar:"avatar_fed2a95793"};!function(e){const t="s_id-4e549e461b77_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const a=document.createElement("style");a.id=t,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listItemAvatar_89ed0dd877 {\n display: flex;\n align-items: center;\n color: var(--primary-text-color);\n}\n.avatar_fed2a95793 {\n width: 22px;\n height: 22px;\n margin-inline-end: var(--space-8);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ListItemAvatar.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={listItemIcon:"
|
|
1
|
+
var e={listItemIcon:"listItemIcon_89ed0dd877",start:"start_711e9724b5",end:"end_7b8818f39a"};!function(e){const n="s_id-1b4ecdbffa23_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listItemIcon_89ed0dd877 {\n display: flex;\n align-items: center;\n color: var(--primary-text-color);\n}\n.start_711e9724b5 {\n margin-inline-end: var(--space-8);\n}\n.end_7b8818f39a {\n margin-inline-start: var(--space-8);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ListItemIcon.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={listTitle:"
|
|
1
|
+
var e={listTitle:"listTitle_020107541c"};!function(e){const t="s_id-76c16cf3efba_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.listTitle_020107541c {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n padding: var(--space-16) var(--space-16) var(--space-8);\n border-radius: var(--border-radius-small);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ListTitle.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={menu:"
|
|
1
|
+
var e={menu:"menu_e7d9482f0a",small:"small_09720b1e24",medium:"medium_95c8e3bfe4",large:"large_46be18d69c"};!function(e){const n="s_id-1599ba0bb296_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.menu_e7d9482f0a {\n margin: unset;\n padding: unset;\n position: relative;\n}\n.menu_e7d9482f0a:focus {\n outline: none;\n}\n.small_09720b1e24 {\n width: 200px;\n}\n.medium_95c8e3bfe4 {\n width: 220px;\n}\n.large_46be18d69c {\n width: 240px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=Menu.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useCallback as e,useMemo as t}from"react";import{
|
|
1
|
+
import{useCallback as e,useMemo as t}from"react";import{ENTER_KEYS as s,HOME_KEYS as n,END_KEYS as a}from"../../../../hooks/useFullKeyboardListeners.js";import{NavDirections as i,ARROW_DOWN_KEYS as c,ARROW_UP_KEYS as o}from"../../../../../shared/dist/constants/navDirections.js";import{useKeyEvent as r}from"../../../../../shared/dist/hooks/useKeyEvent.js";function f(f){var u=f.hasOpenSubMenu,l=f.getNextSelectableIndex,b=f.getPreviousSelectableIndex,k=f.activeItemIndex,m=f.setActiveItemIndex,v=f.isVisible,d=f.ref,p=f.useDocumentEventListeners,g=e((function(e){var t;if(u)return!1;e===i.DOWN?t=l(k):e===i.UP&&(t=b(k)),(t||0===t)&&m(t)}),[k,l,b,u,m]),j=e((function(){g(i.UP)}),[g]),O=e((function(){g(i.DOWN)}),[g]),y=e((function(e){v&&-1===k&&m(0)}),[m,k,v]),x=e((function(){if(!u){var e=l(-1);-1!==e&&m(e)}}),[u,l,m]),I=e((function(){if(!u){var e=b(0);-1!==e&&m(e)}}),[u,b,m]),h=t((function(){if(!p)return{ref:d,preventDefault:!0,stopPropagation:!0}}),[p,d]);r(Object.assign({keys:c,callback:O},h)),r(Object.assign({keys:o,callback:j},h)),r(Object.assign({keys:s,callback:y},h)),r(Object.assign({keys:n,callback:x},h)),r(Object.assign({keys:a,callback:I},h))}export{f as default};
|
|
2
2
|
//# sourceMappingURL=useMenuKeyboardNavigation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenuKeyboardNavigation.js","sources":["../../../../../../src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.tsx"],"sourcesContent":["import type React from \"react\";\nimport { useCallback, useMemo } from \"react\";\nimport {\n ARROW_DOWN_KEYS,\n ARROW_UP_KEYS,\n ENTER_KEYS,\n HOME_KEYS,\n END_KEYS,\n NavDirections\n} from \"../../../../hooks/useFullKeyboardListeners\";\nimport useKeyEvent from \"../../../../hooks/useKeyEvent\";\n\nexport default function useMenuKeyboardNavigation({\n hasOpenSubMenu,\n getNextSelectableIndex,\n getPreviousSelectableIndex,\n activeItemIndex,\n setActiveItemIndex,\n isVisible,\n ref,\n useDocumentEventListeners\n}: {\n hasOpenSubMenu: boolean;\n getNextSelectableIndex: (index: number) => number;\n getPreviousSelectableIndex: (index: number) => number;\n activeItemIndex: number;\n setActiveItemIndex: (index: number) => void;\n isVisible: boolean;\n ref: React.RefObject<HTMLElement>;\n useDocumentEventListeners: boolean;\n}) {\n const onArrowKeyEvent = useCallback(\n (direction: NavDirections) => {\n let newIndex;\n\n if (hasOpenSubMenu) return false;\n\n if (direction === NavDirections.DOWN) {\n newIndex = getNextSelectableIndex(activeItemIndex);\n } else if (direction === NavDirections.UP) {\n newIndex = getPreviousSelectableIndex(activeItemIndex);\n }\n\n if (newIndex || newIndex === 0) setActiveItemIndex(newIndex);\n },\n [activeItemIndex, getNextSelectableIndex, getPreviousSelectableIndex, hasOpenSubMenu, setActiveItemIndex]\n );\n const onArrowUp = useCallback(() => {\n onArrowKeyEvent(NavDirections.UP);\n }, [onArrowKeyEvent]);\n\n const onArrowDown = useCallback(() => {\n onArrowKeyEvent(NavDirections.DOWN);\n }, [onArrowKeyEvent]);\n\n const onEnterClickCallback = useCallback(\n (_event: React.KeyboardEvent) => {\n if (!isVisible) return;\n\n if (activeItemIndex === -1) {\n setActiveItemIndex(0);\n }\n },\n [setActiveItemIndex, activeItemIndex, isVisible]\n );\n\n const onHomeKey = useCallback(() => {\n if (hasOpenSubMenu) return;\n const firstIndex = getNextSelectableIndex(-1);\n if (firstIndex !== -1) {\n setActiveItemIndex(firstIndex);\n }\n }, [hasOpenSubMenu, getNextSelectableIndex, setActiveItemIndex]);\n\n const onEndKey = useCallback(() => {\n if (hasOpenSubMenu) return;\n const lastIndex = getPreviousSelectableIndex(0);\n if (lastIndex !== -1) {\n setActiveItemIndex(lastIndex);\n }\n }, [hasOpenSubMenu, getPreviousSelectableIndex, setActiveItemIndex]);\n\n const listenerOptions = useMemo(() => {\n if (useDocumentEventListeners) return undefined;\n\n return {\n ref,\n preventDefault: true,\n stopPropagation: true\n };\n }, [useDocumentEventListeners, ref]);\n\n useKeyEvent({\n keys: ARROW_DOWN_KEYS,\n callback: onArrowDown,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: ARROW_UP_KEYS,\n callback: onArrowUp,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: ENTER_KEYS,\n callback: onEnterClickCallback,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: HOME_KEYS,\n callback: onHomeKey,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: END_KEYS,\n callback: onEndKey,\n ...listenerOptions\n });\n}\n"],"names":["useMenuKeyboardNavigation","_ref","hasOpenSubMenu","getNextSelectableIndex","getPreviousSelectableIndex","activeItemIndex","setActiveItemIndex","isVisible","ref","useDocumentEventListeners","onArrowKeyEvent","useCallback","direction","newIndex","NavDirections","DOWN","UP","onArrowUp","onArrowDown","onEnterClickCallback","_event","onHomeKey","firstIndex","onEndKey","lastIndex","listenerOptions","useMemo","preventDefault","stopPropagation","useKeyEvent","Object","assign","keys","ARROW_DOWN_KEYS","callback","ARROW_UP_KEYS","ENTER_KEYS","HOME_KEYS","END_KEYS"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMenuKeyboardNavigation.js","sources":["../../../../../../src/components/Menu/Menu/hooks/useMenuKeyboardNavigation.tsx"],"sourcesContent":["import type React from \"react\";\nimport { useCallback, useMemo } from \"react\";\nimport {\n ARROW_DOWN_KEYS,\n ARROW_UP_KEYS,\n ENTER_KEYS,\n HOME_KEYS,\n END_KEYS,\n NavDirections\n} from \"../../../../hooks/useFullKeyboardListeners\";\nimport useKeyEvent from \"../../../../hooks/useKeyEvent\";\n\nexport default function useMenuKeyboardNavigation({\n hasOpenSubMenu,\n getNextSelectableIndex,\n getPreviousSelectableIndex,\n activeItemIndex,\n setActiveItemIndex,\n isVisible,\n ref,\n useDocumentEventListeners\n}: {\n hasOpenSubMenu: boolean;\n getNextSelectableIndex: (index: number) => number;\n getPreviousSelectableIndex: (index: number) => number;\n activeItemIndex: number;\n setActiveItemIndex: (index: number) => void;\n isVisible: boolean;\n ref: React.RefObject<HTMLElement>;\n useDocumentEventListeners: boolean;\n}) {\n const onArrowKeyEvent = useCallback(\n (direction: NavDirections) => {\n let newIndex;\n\n if (hasOpenSubMenu) return false;\n\n if (direction === NavDirections.DOWN) {\n newIndex = getNextSelectableIndex(activeItemIndex);\n } else if (direction === NavDirections.UP) {\n newIndex = getPreviousSelectableIndex(activeItemIndex);\n }\n\n if (newIndex || newIndex === 0) setActiveItemIndex(newIndex);\n },\n [activeItemIndex, getNextSelectableIndex, getPreviousSelectableIndex, hasOpenSubMenu, setActiveItemIndex]\n );\n const onArrowUp = useCallback(() => {\n onArrowKeyEvent(NavDirections.UP);\n }, [onArrowKeyEvent]);\n\n const onArrowDown = useCallback(() => {\n onArrowKeyEvent(NavDirections.DOWN);\n }, [onArrowKeyEvent]);\n\n const onEnterClickCallback = useCallback(\n (_event: React.KeyboardEvent) => {\n if (!isVisible) return;\n\n if (activeItemIndex === -1) {\n setActiveItemIndex(0);\n }\n },\n [setActiveItemIndex, activeItemIndex, isVisible]\n );\n\n const onHomeKey = useCallback(() => {\n if (hasOpenSubMenu) return;\n const firstIndex = getNextSelectableIndex(-1);\n if (firstIndex !== -1) {\n setActiveItemIndex(firstIndex);\n }\n }, [hasOpenSubMenu, getNextSelectableIndex, setActiveItemIndex]);\n\n const onEndKey = useCallback(() => {\n if (hasOpenSubMenu) return;\n const lastIndex = getPreviousSelectableIndex(0);\n if (lastIndex !== -1) {\n setActiveItemIndex(lastIndex);\n }\n }, [hasOpenSubMenu, getPreviousSelectableIndex, setActiveItemIndex]);\n\n const listenerOptions = useMemo(() => {\n if (useDocumentEventListeners) return undefined;\n\n return {\n ref,\n preventDefault: true,\n stopPropagation: true\n };\n }, [useDocumentEventListeners, ref]);\n\n useKeyEvent({\n keys: ARROW_DOWN_KEYS,\n callback: onArrowDown,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: ARROW_UP_KEYS,\n callback: onArrowUp,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: ENTER_KEYS,\n callback: onEnterClickCallback,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: HOME_KEYS,\n callback: onHomeKey,\n ...listenerOptions\n });\n\n useKeyEvent({\n keys: END_KEYS,\n callback: onEndKey,\n ...listenerOptions\n });\n}\n"],"names":["useMenuKeyboardNavigation","_ref","hasOpenSubMenu","getNextSelectableIndex","getPreviousSelectableIndex","activeItemIndex","setActiveItemIndex","isVisible","ref","useDocumentEventListeners","onArrowKeyEvent","useCallback","direction","newIndex","NavDirections","DOWN","UP","onArrowUp","onArrowDown","onEnterClickCallback","_event","onHomeKey","firstIndex","onEndKey","lastIndex","listenerOptions","useMemo","preventDefault","stopPropagation","useKeyEvent","Object","assign","keys","ARROW_DOWN_KEYS","callback","ARROW_UP_KEYS","ENTER_KEYS","HOME_KEYS","END_KEYS"],"mappings":"qWAYwB,SAAAA,EAAyBC,GAkBhD,IAjBCC,EAAcD,EAAdC,eACAC,EAAsBF,EAAtBE,uBACAC,EAA0BH,EAA1BG,2BACAC,EAAeJ,EAAfI,gBACAC,EAAkBL,EAAlBK,mBACAC,EAASN,EAATM,UACAC,EAAGP,EAAHO,IACAC,EAAyBR,EAAzBQ,0BAWMC,EAAkBC,GACtB,SAACC,GACC,IAAIC,EAEJ,GAAIX,EAAgB,OAAO,EAEvBU,IAAcE,EAAcC,KAC9BF,EAAWV,EAAuBE,GACzBO,IAAcE,EAAcE,KACrCH,EAAWT,EAA2BC,KAGpCQ,GAAyB,IAAbA,IAAgBP,EAAmBO,EACrD,GACA,CAACR,EAAiBF,EAAwBC,EAA4BF,EAAgBI,IAElFW,EAAYN,GAAY,WAC5BD,EAAgBI,EAAcE,GAChC,GAAG,CAACN,IAEEQ,EAAcP,GAAY,WAC9BD,EAAgBI,EAAcC,KAChC,GAAG,CAACL,IAEES,EAAuBR,GAC3B,SAACS,GACMb,IAEoB,IAArBF,GACFC,EAAmB,EAEtB,GACD,CAACA,EAAoBD,EAAiBE,IAGlCc,EAAYV,GAAY,WAC5B,IAAIT,EAAJ,CACA,IAAMoB,EAAanB,GAAwB,IACvB,IAAhBmB,GACFhB,EAAmBgB,EAHD,CAKrB,GAAE,CAACpB,EAAgBC,EAAwBG,IAEtCiB,EAAWZ,GAAY,WAC3B,IAAIT,EAAJ,CACA,IAAMsB,EAAYpB,EAA2B,IAC1B,IAAfoB,GACFlB,EAAmBkB,EAHD,CAKrB,GAAE,CAACtB,EAAgBE,EAA4BE,IAE1CmB,EAAkBC,GAAQ,WAC9B,IAAIjB,EAEJ,MAAO,CACLD,IAAAA,EACAmB,gBAAgB,EAChBC,iBAAiB,EAErB,GAAG,CAACnB,EAA2BD,IAE/BqB,EAAWC,OAAAC,OAAA,CACTC,KAAMC,EACNC,SAAUhB,GACPO,IAGLI,EAAWC,OAAAC,OAAA,CACTC,KAAMG,EACND,SAAUjB,GACPQ,IAGLI,EAAWC,OAAAC,OAAA,CACTC,KAAMI,EACNF,SAAUf,GACPM,IAGLI,EAAWC,OAAAC,OAAA,CACTC,KAAMK,EACNH,SAAUb,GACPI,IAGLI,EAAWC,OAAAC,OAAA,CACTC,KAAMM,EACNJ,SAAUX,GACPE,GAEP"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={menuChildDivider:"
|
|
1
|
+
var e={menuChildDivider:"menuChildDivider_143f8770cc"};!function(e){const d="s_id-b255f2c3e0ea_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+d))return;const i=document.createElement("style");i.id=d,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[d]=e)}(".menuChildDivider_143f8770cc {\n width: 100%;\n padding: 0 var(--space-8);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=MenuDivider.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e,{forwardRef as t,useRef as i,useCallback as
|
|
1
|
+
import e,{forwardRef as t,useRef as i,useCallback as n}from"react";import{useMenuGridItemNavContext as s}from"./useMenuGridItemNavContext.js";import{useFocusGridItemByActiveStatus as o}from"./useFocusGridItemByActiveStatus.js";import{useFocusWithin as r}from"../../../hooks/useFocusWithin.js";import{getTestId as a,ComponentDefaultTestId as d}from"../../../tests/testIds.js";import{GridKeyboardNavigationContext as l}from"../../../../components/a11y/dist/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js";import{useMergeRef as c}from"../../../../shared/dist/hooks/useMergeRef.js";var u=t((function(t,u){var m=t.className,v=t.id,I=t.children,x=t.index,b=t.activeItemIndex,f=void 0===b?-1:b,p=t.closeMenu,g=t.getNextSelectableIndex,h=t.getPreviousSelectableIndex,M=t.setActiveItemIndex,j=t.setSubMenuIsOpenByIndex,N=t.isUnderSubMenu,S=void 0!==N&&N,y=t.disabled,C=void 0!==y&&y,E=t.useDocumentEventListeners,G=void 0!==E&&E,O=t["data-testid"],R=i(null),P=c(u,R),A=i(),D=I&&e.Children.only(I);D||console.error("MenuGridItem can accept only a single element as first level child, this element is not valid: ",D);var F=n((function(e){j(x,e),e&&M(x)}),[x,M,j]),K=r({onFocusWithinChange:F}).focusWithinProps;o({wrapperRef:R,childRef:A,activeItemIndex:f,index:x,useDocumentEventListeners:G});var U=s({wrapperRef:R,setActiveItemIndex:M,getPreviousSelectableIndex:h,getNextSelectableIndex:g,activeItemIndex:f,isUnderSubMenu:S,closeMenu:p});return e.createElement("section",Object.assign({ref:P,className:m,id:v,"data-testid":O||a(d.MENU_GRID_ITEM,v),tabIndex:-1,role:"grid"},K),e.createElement(l.Provider,{value:U},e.cloneElement(D,Object.assign(Object.assign({},null==D?void 0:D.props),{disabled:C,ref:A}))))}));Object.assign(u,{isMenuChild:!0,isSelectable:!0});export{u as default};
|
|
2
2
|
//# sourceMappingURL=MenuGridItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuGridItem.js","sources":["../../../../../src/components/Menu/MenuGridItem/MenuGridItem.tsx"],"sourcesContent":["import React, { forwardRef, type ReactElement, useCallback, useRef } from \"react\";\nimport { useMergeRef } from \"@vibe/shared\";\nimport { GridKeyboardNavigationContext } from \"
|
|
1
|
+
{"version":3,"file":"MenuGridItem.js","sources":["../../../../../src/components/Menu/MenuGridItem/MenuGridItem.tsx"],"sourcesContent":["import React, { forwardRef, type ReactElement, useCallback, useRef } from \"react\";\nimport { useMergeRef } from \"@vibe/shared\";\nimport { GridKeyboardNavigationContext } from \"@vibe/a11y\";\nimport { useMenuGridItemNavContext } from \"./useMenuGridItemNavContext\";\nimport { useFocusGridItemByActiveStatus } from \"./useFocusGridItemByActiveStatus\";\nimport { useFocusWithin } from \"../../../hooks/useFocusWithin\";\nimport { type VibeComponentProps } from \"../../../types\";\nimport { type CloseMenuOption } from \"../Menu/MenuConstants\";\nimport { ComponentDefaultTestId, getTestId } from \"../../../tests/test-ids-utils\";\n\nexport interface MenuGridItemProps extends VibeComponentProps {\n /**\n * The content of the menu grid item.\n */\n children?: ReactElement | ReactElement[];\n /**\n * If true, keyboard navigation will skip this item. This prop is also passed to the child.\n */\n disabled?: boolean;\n /**\n * A callback function to close the wrapping menu.\n */\n closeMenu?: (option: CloseMenuOption) => void;\n /**\n * The currently active index of the wrapping menu.\n */\n activeItemIndex?: number;\n /**\n * Callback function to set the active item index.\n */\n setActiveItemIndex?: (index: number) => void;\n /**\n * Function to get the next selectable index.\n */\n getNextSelectableIndex?: (activeItemIndex: number) => number;\n /**\n * Function to get the previous selectable index.\n */\n getPreviousSelectableIndex?: (activeItemIndex: number) => number;\n /**\n * The index of this menu grid item.\n */\n index?: number;\n /**\n * If true, this item is under a submenu instead of a top-level menu.\n */\n isUnderSubMenu?: boolean;\n /**\n * Callback function to open or close a submenu by its index.\n */\n setSubMenuIsOpenByIndex?: (index: number, isOpen: boolean) => void;\n /**\n * If true, event listeners will be attached to the document.\n */\n useDocumentEventListeners?: boolean;\n}\n\nconst MenuGridItem = forwardRef(\n (\n {\n className,\n id,\n children,\n index,\n activeItemIndex = -1,\n closeMenu,\n getNextSelectableIndex,\n getPreviousSelectableIndex,\n setActiveItemIndex,\n setSubMenuIsOpenByIndex,\n isUnderSubMenu = false,\n disabled = false,\n useDocumentEventListeners = false,\n \"data-testid\": dataTestId\n }: MenuGridItemProps,\n ref: React.ForwardedRef<HTMLElement>\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n const childRef = useRef();\n\n const child = children && React.Children.only(children);\n if (!child) {\n console.error(\n \"MenuGridItem can accept only a single element as first level child, this element is not valid: \",\n child\n );\n }\n\n const onFocusWithinChange = useCallback(\n (isFocusWithin: boolean) => {\n setSubMenuIsOpenByIndex(index, isFocusWithin);\n if (isFocusWithin) {\n setActiveItemIndex(index);\n }\n },\n [index, setActiveItemIndex, setSubMenuIsOpenByIndex]\n );\n const { focusWithinProps } = useFocusWithin({ onFocusWithinChange });\n\n useFocusGridItemByActiveStatus({\n wrapperRef: componentRef,\n childRef,\n activeItemIndex,\n index,\n useDocumentEventListeners\n });\n\n const keyboardContext = useMenuGridItemNavContext({\n wrapperRef: componentRef,\n setActiveItemIndex,\n getPreviousSelectableIndex,\n getNextSelectableIndex,\n activeItemIndex,\n isUnderSubMenu,\n closeMenu\n });\n\n return (\n <section\n ref={mergedRef}\n className={className}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.MENU_GRID_ITEM, id)}\n tabIndex={-1}\n role=\"grid\"\n {...focusWithinProps}\n >\n <GridKeyboardNavigationContext.Provider value={keyboardContext}>\n {React.cloneElement(child, {\n ...child?.props,\n disabled,\n ref: childRef\n })}\n </GridKeyboardNavigationContext.Provider>\n </section>\n );\n }\n);\n\nObject.assign(MenuGridItem, {\n isMenuChild: true,\n isSelectable: true\n});\n\nexport default MenuGridItem;\n"],"names":["MenuGridItem","forwardRef","_ref","ref","className","id","children","index","_ref$activeItemIndex","activeItemIndex","closeMenu","getNextSelectableIndex","getPreviousSelectableIndex","setActiveItemIndex","setSubMenuIsOpenByIndex","_ref$isUnderSubMenu","isUnderSubMenu","_ref$disabled","disabled","_ref$useDocumentEvent","useDocumentEventListeners","dataTestId","componentRef","useRef","mergedRef","useMergeRef","childRef","child","React","Children","only","console","error","onFocusWithinChange","useCallback","isFocusWithin","focusWithinProps","useFocusWithin","useFocusGridItemByActiveStatus","wrapperRef","keyboardContext","useMenuGridItemNavContext","createElement","Object","assign","getTestId","ComponentDefaultTestId","MENU_GRID_ITEM","tabIndex","role","GridKeyboardNavigationContext","Provider","value","cloneElement","props","isMenuChild","isSelectable"],"mappings":"klBAyDMA,IAAAA,EAAeC,GACnB,SAAAC,EAiBEC,GACE,IAhBAC,EAASF,EAATE,UACAC,EAAEH,EAAFG,GACAC,EAAQJ,EAARI,SACAC,EAAKL,EAALK,MAAKC,EAAAN,EACLO,gBAAAA,OAAe,IAAAD,GAAI,EAACA,EACpBE,EAASR,EAATQ,UACAC,EAAsBT,EAAtBS,uBACAC,EAA0BV,EAA1BU,2BACAC,EAAkBX,EAAlBW,mBACAC,EAAuBZ,EAAvBY,wBAAuBC,EAAAb,EACvBc,eAAAA,OAAiB,IAAHD,GAAQA,EAAAE,EAAAf,EACtBgB,SAAAA,OAAW,IAAHD,GAAQA,EAAAE,EAAAjB,EAChBkB,0BAAAA,OAA4B,IAAHD,GAAQA,EAClBE,EAAUnB,EAAzB,eAIIoB,EAAeC,EAAO,MACtBC,EAAYC,EAAYtB,EAAKmB,GAC7BI,EAAWH,IAEXI,EAAQrB,GAAYsB,EAAMC,SAASC,KAAKxB,GACzCqB,GACHI,QAAQC,MACN,kGACAL,GAIJ,IAAMM,EAAsBC,GAC1B,SAACC,GACCrB,EAAwBP,EAAO4B,GAC3BA,GACFtB,EAAmBN,EAEtB,GACD,CAACA,EAAOM,EAAoBC,IAEtBsB,EAAqBC,EAAe,CAAEJ,oBAAAA,IAAtCG,iBAERE,EAA+B,CAC7BC,WAAYjB,EACZI,SAAAA,EACAjB,gBAAAA,EACAF,MAAAA,EACAa,0BAAAA,IAGF,IAAMoB,EAAkBC,EAA0B,CAChDF,WAAYjB,EACZT,mBAAAA,EACAD,2BAAAA,EACAD,uBAAAA,EACAF,gBAAAA,EACAO,eAAAA,EACAN,UAAAA,IAGF,OACEkB,EAAAc,cAAA,UAAAC,OAAAC,OAAA,CACEzC,IAAKqB,EACLpB,UAAWA,EACXC,GAAIA,EAAE,cACOgB,GAAcwB,EAAUC,EAAuBC,eAAgB1C,GAC5E2C,UAAW,EACXC,KAAK,QACDb,GAEJR,EAAAc,cAACQ,EAA8BC,SAAQ,CAACC,MAAOZ,GAC5CZ,EAAMyB,aAAa1B,EACfgB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAAjB,aAAA,EAAAA,EAAO2B,QACVpC,SAAAA,EACAf,IAAKuB,MAKf,IAGFiB,OAAOC,OAAO5C,EAAc,CAC1BuD,aAAa,EACbC,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useMemo as i,useEffect as
|
|
1
|
+
import{useMemo as i,useEffect as e}from"react";import{useLastNavigationDirection as n}from"../../../../shared/dist/hooks/useLastNavigationDirection.js";var o=function(o){var r=o.wrapperRef,t=o.childRef,u=o.index,a=o.activeItemIndex,c=o.useDocumentEventListeners,l=void 0!==c&&c,v=n().lastNavigationDirectionRef,d=i((function(){return u===a}),[a,u]);e((function(){var i,e,n;l||(d?null===(i=t.current)||void 0===i||i.focus():null===(n=null===(e=null==r?void 0:r.current)||void 0===e?void 0:e.blur)||void 0===n||n.call(e))}),[t,d,v,r,l])};export{o as useFocusGridItemByActiveStatus};
|
|
2
2
|
//# sourceMappingURL=useFocusGridItemByActiveStatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFocusGridItemByActiveStatus.js","sources":["../../../../../src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.tsx"],"sourcesContent":["import type React from \"react\";\nimport { useEffect, useMemo } from \"react\";\nimport { useLastNavigationDirection } from \"
|
|
1
|
+
{"version":3,"file":"useFocusGridItemByActiveStatus.js","sources":["../../../../../src/components/Menu/MenuGridItem/useFocusGridItemByActiveStatus.tsx"],"sourcesContent":["import type React from \"react\";\nimport { useEffect, useMemo } from \"react\";\nimport { useLastNavigationDirection } from \"@vibe/shared\";\n\nexport const useFocusGridItemByActiveStatus = ({\n wrapperRef,\n childRef,\n index,\n activeItemIndex,\n useDocumentEventListeners = false\n}: {\n wrapperRef: React.RefObject<HTMLElement>;\n childRef: React.RefObject<HTMLElement>;\n index: number;\n activeItemIndex: number;\n useDocumentEventListeners?: boolean;\n}) => {\n const { lastNavigationDirectionRef } = useLastNavigationDirection();\n const isActive = useMemo(() => index === activeItemIndex, [activeItemIndex, index]);\n\n useEffect(() => {\n if (useDocumentEventListeners) return;\n if (isActive) {\n childRef.current?.focus();\n } else {\n wrapperRef?.current?.blur?.();\n }\n }, [childRef, isActive, lastNavigationDirectionRef, wrapperRef, useDocumentEventListeners]);\n};\n"],"names":["useFocusGridItemByActiveStatus","_ref","wrapperRef","childRef","index","activeItemIndex","_ref$useDocumentEvent","useDocumentEventListeners","lastNavigationDirectionRef","useLastNavigationDirection","isActive","useMemo","useEffect","_a","current","focus","_c","_b","blur","call"],"mappings":"4JAIaA,EAAiC,SAAHC,GAYtC,IAXHC,EAAUD,EAAVC,WACAC,EAAQF,EAARE,SACAC,EAAKH,EAALG,MACAC,EAAeJ,EAAfI,gBAAeC,EAAAL,EACfM,0BAAAA,OAA4B,IAAHD,GAAQA,EAQzBE,EAA+BC,IAA/BD,2BACFE,EAAWC,GAAQ,WAAA,OAAMP,IAAUC,CAAe,GAAE,CAACA,EAAiBD,IAE5EQ,GAAU,qBACJL,IACAG,EACgB,QAAlBG,EAAAV,EAASW,eAAS,IAAAD,GAAAA,EAAAE,QAEO,QAAzBC,EAAmB,QAAnBC,EAAAf,aAAU,EAAVA,EAAYY,eAAO,IAAAG,OAAA,EAAAA,EAAEC,YAAI,IAAAF,GAAAA,EAAAG,KAAAF,GAE7B,GAAG,CAACd,EAAUO,EAAUF,EAA4BN,EAAYK,GAClE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useMemo as e}from"react";import{
|
|
1
|
+
import{useMemo as e}from"react";import{useGridKeyboardNavigationContext as t}from"../../../../components/a11y/dist/GridKeyboardNavigationContext/GridKeyboardNavigationContext.js";import{NavDirections as n}from"../../../../shared/dist/constants/navDirections.js";var o=function(o){var r=o.setActiveItemIndex,a=o.getPreviousSelectableIndex,i=o.getNextSelectableIndex,s=o.activeItemIndex,c=o.isUnderSubMenu,d=o.closeMenu,u=t([],o.wrapperRef);return e((function(){return{onOutboundNavigation:function(e,t){switch(u.onOutboundNavigation(e,t),t){case n.UP:return r(a(s));case n.DOWN:return r(i(s));case n.LEFT:c&&d({})}}}}),[u,r,a,s,i,c,d])};export{o as useMenuGridItemNavContext};
|
|
2
2
|
//# sourceMappingURL=useMenuGridItemNavContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenuGridItemNavContext.js","sources":["../../../../../src/components/Menu/MenuGridItem/useMenuGridItemNavContext.tsx"],"sourcesContent":["import type React from \"react\";\nimport { useMemo } from \"react\";\nimport { NavDirections } from \"
|
|
1
|
+
{"version":3,"file":"useMenuGridItemNavContext.js","sources":["../../../../../src/components/Menu/MenuGridItem/useMenuGridItemNavContext.tsx"],"sourcesContent":["import type React from \"react\";\nimport { useMemo } from \"react\";\nimport { NavDirections } from \"@vibe/shared\";\nimport { useGridKeyboardNavigationContext, type GridElementRef } from \"@vibe/a11y\";\nimport { type CloseMenuOption } from \"../Menu/MenuConstants\";\n\nexport const useMenuGridItemNavContext = ({\n wrapperRef,\n setActiveItemIndex,\n getPreviousSelectableIndex,\n getNextSelectableIndex,\n activeItemIndex,\n isUnderSubMenu,\n closeMenu\n}: {\n wrapperRef?: GridElementRef;\n setActiveItemIndex?: (index: number) => void;\n getNextSelectableIndex?: (activeItemIndex: number) => number;\n getPreviousSelectableIndex?: (activeItemIndex: number) => number;\n activeItemIndex?: number;\n isUnderSubMenu?: boolean;\n closeMenu?: (option: CloseMenuOption) => void;\n}) => {\n /*\n * This is an \"adapter\" between the Grid Keyboard Navigation mechanism and the Menu navigation mechanism.\n * Currently, the two mechanisms work a bit differently.\n * In the future, when the Menu component will use a GridKeyboardNavigationContext, this adapter shouldn't be needed anymore.\n */\n const innerKeyboardContext = useGridKeyboardNavigationContext([], wrapperRef);\n const keyboardContext = useMemo(\n () => ({\n onOutboundNavigation: (elementRef: React.RefObject<HTMLElement>, direction: NavDirections) => {\n innerKeyboardContext.onOutboundNavigation(elementRef, direction);\n\n switch (direction) {\n case NavDirections.UP:\n return setActiveItemIndex(getPreviousSelectableIndex(activeItemIndex));\n case NavDirections.DOWN:\n return setActiveItemIndex(getNextSelectableIndex(activeItemIndex));\n case NavDirections.LEFT:\n if (isUnderSubMenu) {\n closeMenu({});\n }\n }\n }\n }),\n [\n innerKeyboardContext,\n setActiveItemIndex,\n getPreviousSelectableIndex,\n activeItemIndex,\n getNextSelectableIndex,\n isUnderSubMenu,\n closeMenu\n ]\n );\n\n return keyboardContext;\n};\n"],"names":["useMenuGridItemNavContext","_ref","setActiveItemIndex","getPreviousSelectableIndex","getNextSelectableIndex","activeItemIndex","isUnderSubMenu","closeMenu","innerKeyboardContext","useGridKeyboardNavigationContext","wrapperRef","useMemo","onOutboundNavigation","elementRef","direction","NavDirections","UP","DOWN","LEFT"],"mappings":"0QAMaA,EAA4B,SAAHC,GAgBjC,IAdHC,EAAkBD,EAAlBC,mBACAC,EAA0BF,EAA1BE,2BACAC,EAAsBH,EAAtBG,uBACAC,EAAeJ,EAAfI,gBACAC,EAAcL,EAAdK,eACAC,EAASN,EAATM,UAeMC,EAAuBC,EAAiC,GArBpDR,EAAVS,YAkDA,OA5BwBC,GACtB,WAAA,MAAO,CACLC,qBAAsB,SAACC,EAA0CC,GAG/D,OAFAN,EAAqBI,qBAAqBC,EAAYC,GAE9CA,GACN,KAAKC,EAAcC,GACjB,OAAOd,EAAmBC,EAA2BE,IACvD,KAAKU,EAAcE,KACjB,OAAOf,EAAmBE,EAAuBC,IACnD,KAAKU,EAAcG,KACbZ,GACFC,EAAU,CAAE,GAGpB,EACD,GACD,CACEC,EACAN,EACAC,EACAE,EACAD,EACAE,EACAC,GAKN"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={title:"
|
|
1
|
+
var e={title:"title_73a9a04408"};!function(e){const t="s_id-b06386a2bb6c_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".title_73a9a04408 {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex-grow: 1;\n padding-block: 1px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=MenuItem.module.scss.js.map
|
package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={item:"
|
|
1
|
+
var e={item:"item_dbece749a9",splitMenuItem:"splitMenuItem_0e12cd6a09",disabled:"disabled_eb5165844d",focused:"focused_98357fbd14",initialSelected:"initialSelected_229a89e3c9",selected:"selected_20793d5889"};!function(e){const n="s_id-5b7b751737f9_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n.item_dbece749a9 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n margin: unset;\n display: flex;\n flex-direction: row;\n padding: var(--space-4) var(--space-8);\n cursor: pointer;\n user-select: none;\n align-items: center;\n border: 1px solid transparent;\n outline: none;\n}\n.item_dbece749a9.splitMenuItem_0e12cd6a09 {\n padding: 0 0 0 var(--space-8);\n}\n.item_dbece749a9.disabled_eb5165844d {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.item_dbece749a9.focused_98357fbd14:not(.disabled_eb5165844d) {\n background-color: var(--primary-background-hover-color);\n border-radius: var(--border-radius-small);\n}\n.item_dbece749a9.focused_98357fbd14:not(.disabled_eb5165844d):not(:hover):not(.initialSelected_229a89e3c9) {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.item_dbece749a9.selected_20793d5889:not(.disabled_eb5165844d) {\n background-color: var(--primary-selected-color);\n border-radius: var(--border-radius-small);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=BaseMenuItem.module.scss.js.map
|
package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={iconWrapper:"
|
|
1
|
+
var e={iconWrapper:"iconWrapper_711e9724b5",rightIcon:"rightIcon_270119c98d",withBackgroundColor:"withBackgroundColor_b30902c09e",disabled:"disabled_4ac9965b64",icon:"icon_278d346a89",selected:"selected_f548361c10"};!function(e){const n="s_id-031e2c862ceb_4_5_11";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+n))return;const r=document.createElement("style");r.id=n,o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".iconWrapper_711e9724b5 {\n margin-inline-end: var(--space-8);\n}\n.iconWrapper_711e9724b5.rightIcon_270119c98d {\n margin-inline-end: 0;\n margin-inline-start: var(--space-8);\n}\n.iconWrapper_711e9724b5.withBackgroundColor_b30902c09e {\n border-radius: var(--space-4);\n}\n.iconWrapper_711e9724b5.withBackgroundColor_b30902c09e.disabled_4ac9965b64 {\n opacity: 0.4;\n}\n.iconWrapper_711e9724b5.withBackgroundColor_b30902c09e .icon_278d346a89 {\n color: var(--text-color-on-primary);\n}\n.iconWrapper_711e9724b5.disabled_4ac9965b64 .icon_278d346a89 {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.iconWrapper_711e9724b5 .icon_278d346a89 {\n color: var(--icon-color);\n}\n.iconWrapper_711e9724b5 .icon_278d346a89.selected_f548361c10 {\n color: var(--primary-color);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=MenuItemIcon.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={subMenuIconWrapper:"
|
|
1
|
+
var e={subMenuIconWrapper:"subMenuIconWrapper_23c7707aa3",divider:"divider_37e55fbf98",splitSubMenuIcon:"splitSubMenuIcon_b4f2998d6a",subMenuIcon:"subMenuIcon_14f03abc36",disabled:"disabled_eb5165844d",splitMenuItemIconButton:"splitMenuItemIconButton_1c510671a0"};!function(e){const n="s_id-b28b9c0c92bb_4_5_11";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;const c=document.createElement("style");c.id=n,a.firstChild?a.insertBefore(c,a.firstChild):a.appendChild(c),c.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".subMenuIconWrapper_23c7707aa3 {\n margin-inline-start: var(--space-4);\n}\n.subMenuIconWrapper_23c7707aa3 .divider_37e55fbf98 {\n height: 19px;\n}\n.subMenuIconWrapper_23c7707aa3 .splitSubMenuIcon_b4f2998d6a {\n width: 18px;\n height: 18px;\n}\n.subMenuIconWrapper_23c7707aa3 .subMenuIcon_14f03abc36,\n.subMenuIconWrapper_23c7707aa3 .splitSubMenuIcon_b4f2998d6a {\n color: var(--icon-color);\n}\n.subMenuIconWrapper_23c7707aa3 .subMenuIcon_14f03abc36.disabled_eb5165844d,\n.subMenuIconWrapper_23c7707aa3 .splitSubMenuIcon_b4f2998d6a.disabled_eb5165844d {\n cursor: not-allowed;\n color: var(--disabled-text-color);\n}\n.subMenuIconWrapper_23c7707aa3 .splitMenuItemIconButton_1c510671a0 {\n width: 34px;\n height: 30px;\n --primary-selected-color: rgba(103, 104, 121, 0.1);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=MenuItemSubMenuIcon.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={itemButton:"
|
|
1
|
+
var e={itemButton:"itemButton_823c934fea",buttonComponent:"buttonComponent_c172a50999",content:"content_5171775af9"};!function(e){const t="s_id-5b38a66d7d32_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const o=document.createElement("style");o.id=t,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".itemButton_823c934fea {\n margin: unset;\n display: flex;\n flex-direction: row;\n padding: var(--space-4) 0;\n align-items: center;\n}\n\n.itemButton_823c934fea .buttonComponent_c172a50999 {\n width: 100%;\n}\n\n.itemButton_823c934fea .buttonComponent_c172a50999 .content_5171775af9 {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=MenuItemButton.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var t={title:"
|
|
1
|
+
var t={title:"title_fe045f7651",titleCaption:"titleCaption_8b9c6d433a",titleCaptionCenter:"titleCaptionCenter_9f2253bc0c",titleCaptionBottom:"titleCaptionBottom_de1c03832b",titleCaptionTop:"titleCaptionTop_754d6b0bbd"};!function(t){const e="s_id-6a10a614e4d8_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const i=document.createElement("style");i.id=e,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}('/* stylelint-disable */\n/* stylelint-enable */\n.title_fe045f7651 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n padding-block: 1px;\n}\n.titleCaption_8b9c6d433a {\n color: var(--icon-color);\n margin: var(--space-8) 0;\n}\n.titleCaptionCenter_9f2253bc0c {\n display: flex;\n flex-basis: 100%;\n align-items: center;\n}\n.titleCaptionBottom_de1c03832b,\n.titleCaptionTop_754d6b0bbd {\n padding-inline-start: var(--space-8);\n}\n.titleCaptionBottom_de1c03832b {\n padding-bottom: var(--space-8);\n}\n.titleCaptionCenter_9f2253bc0c::before,\n.titleCaptionCenter_9f2253bc0c::after {\n content: "";\n flex-grow: 1;\n background-color: var(--ui-border-color);\n height: 1px;\n font-size: 0;\n line-height: 0;\n margin: 0 var(--space-8);\n}');export{t as default};
|
|
2
2
|
//# sourceMappingURL=MenuTitle.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n={wrapper:"
|
|
1
|
+
var n={wrapper:"wrapper_7559503ebb","focus-visible":"focus-visible_74b0ed67b2",active:"active_a370bdd0f3",sizeXxs:"sizeXxs_1cd2d77944",sizeXs:"sizeXs_cd8f9fe0ce",sizeSmall:"sizeSmall_c476ded23a",sizeMedium:"sizeMedium_a5fb9ea7c8",sizeLarge:"sizeLarge_2531365a43",disabled:"disabled_c84badd6ce",text:"text_c172a50999",innerText:"innerText_2466729546"};!function(n){const e="s_id-fe45efde1a3d_4_5_11";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable selector-class-pattern */\n.wrapper_7559503ebb {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n /* Corrects inability to style clickable `input` types in iOS */\n appearance: none;\n border-radius: var(--border-radius-small);\n background-color: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: transform var(--motion-productive-short) var(--motion-timing-transition);\n color: var(--primary-text-color);\n}\n.wrapper_7559503ebb:focus-visible, .wrapper_7559503ebb.focus-visible_74b0ed67b2 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.wrapper_7559503ebb:focus:not(.focus-visible_74b0ed67b2) {\n outline: none;\n}\n.wrapper_7559503ebb:focus-visible, .wrapper_7559503ebb.focus-visible_74b0ed67b2 {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.wrapper_7559503ebb:focus:not(.focus-visible_74b0ed67b2) {\n outline: none;\n}\n.wrapper_7559503ebb:focus,\n.wrapper_7559503ebb:hover {\n background-color: var(--primary-background-hover-color);\n}\n.wrapper_7559503ebb:active {\n transform: scale(0.95);\n}\n.active_a370bdd0f3 {\n background-color: var(--primary-selected-color);\n}\n.active_a370bdd0f3:focus {\n background-color: var(--primary-selected-color);\n}\n.active_a370bdd0f3:hover {\n background-color: var(--primary-selected-color);\n}\n.sizeXxs_1cd2d77944 {\n width: 16px;\n height: 16px;\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeXs_cd8f9fe0ce {\n width: 24px;\n height: 24px;\n font: var(--font-text1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeSmall_c476ded23a {\n width: 32px;\n height: 32px;\n font: var(--font-text1-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeMedium_a5fb9ea7c8 {\n width: 40px;\n height: 40px;\n font: var(--font-h3-normal);\n letter-spacing: var(--letter-spacing-h3-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.sizeLarge_2531365a43 {\n width: 48px;\n height: 48px;\n font: var(--font-h2-normal);\n letter-spacing: var(--letter-spacing-h2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n}\n.disabled_c84badd6ce {\n border-color: var(--disabled-background-color);\n color: var(--disabled-text-color);\n cursor: not-allowed;\n pointer-events: none;\n}\n.disabled_c84badd6ce:hover {\n background-color: transparent;\n}\n.text_c172a50999 {\n width: 100%;\n}\n.innerText_2466729546 {\n margin: 0 var(--space-8);\n}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=MenuButton.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n={container:"
|
|
1
|
+
var n={container:"container_65c852ef8f",overlay:"overlay_7ee318536b",centerPop:"centerPop_8cb16c2e8d",anchorPop:"anchorPop_8cb16c2e8d",modal:"modal_657d43ed55",fixedPosition:"fixedPosition_493f3e6f04",withHeaderAction:"withHeaderAction_ac28bb1ef1",sizeSmall:"sizeSmall_dc43f37fba",sizeMedium:"sizeMedium_7844760cb0",sizeLarge:"sizeLarge_b783553b50",sizeFullView:"sizeFullView_b248f85ccd",containerEnter:"containerEnter_e60c6c2601",fullView:"fullView_3cec7c33cc",containerEnterActive:"containerEnterActive_7aae01e598",centerPopIn:"centerPopIn_8afa5417d7",anchorPopIn:"anchorPopIn_6398495a4c",fullViewIn:"fullViewIn_723953535e",containerExitActive:"containerExitActive_10d80e17c0",centerPopOut:"centerPopOut_b59959d45e",anchorPopOut:"anchorPopOut_7b6d64f28a",fullViewOut:"fullViewOut_1694d561f8"};!function(n){const e="s_id-72e80303fba3_4_5_11";if("undefined"!=typeof document){const a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+e))return;const t=document.createElement("style");t.id=e,a.firstChild?a.insertBefore(t,a.firstChild):a.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".container_65c852ef8f {\n position: fixed;\n inset: 0;\n z-index: var(--monday-modal-z-index, 10000);\n}\n\n.overlay_7ee318536b {\n position: fixed;\n inset: 0;\n height: 100%;\n background-color: var(--backdrop-color);\n}\n\n.centerPop_8cb16c2e8d {\n transform: translate(-50%, -50%);\n}\n\n.anchorPop_8cb16c2e8d {\n transform: translate(-50%, -50%);\n}\n\n.modal_657d43ed55 {\n --top-actions-margin-inline: var(--space-24);\n --top-actions-margin-block: var(--space-24);\n --top-actions-width: var(--space-32);\n --modal-inline-padding: var(--space-32);\n position: relative;\n top: 50%;\n left: 50%;\n display: flex;\n flex-direction: column;\n width: var(--modal-width);\n max-height: var(--modal-max-height);\n background-color: var(--primary-background-color);\n overflow: hidden;\n border-radius: var(--border-radius-big);\n box-shadow: var(--box-shadow-large);\n outline: none;\n}\n\n.modal_657d43ed55.fixedPosition_493f3e6f04 {\n position: fixed;\n}\n\n.modal_657d43ed55.withHeaderAction_ac28bb1ef1 {\n --top-actions-width: calc(var(--space-32) * 2);\n}\n\n.modal_657d43ed55.sizeSmall_dc43f37fba {\n --modal-max-height: 50%;\n --modal-width: 460px;\n}\n\n.modal_657d43ed55.sizeMedium_7844760cb0 {\n --modal-max-height: 80%;\n --modal-width: 540px;\n}\n\n.modal_657d43ed55.sizeLarge_b783553b50 {\n --modal-max-height: 80%;\n --modal-width: 800px;\n}\n\n.modal_657d43ed55.sizeFullView_b248f85ccd {\n --top-actions-margin-inline: var(--space-32);\n --modal-max-height: 100%;\n --modal-width: auto;\n position: fixed;\n inset: 0;\n height: calc(100% - 40px);\n margin-inline: var(--space-24);\n margin-block-start: 40px;\n border-end-start-radius: unset;\n border-end-end-radius: unset;\n}\n\n@media (min-width: 1280px) {\n .modal_657d43ed55.sizeSmall_dc43f37fba {\n --modal-width: 480px;\n }\n .modal_657d43ed55.sizeMedium_7844760cb0 {\n --modal-width: 580px;\n }\n .modal_657d43ed55.sizeLarge_b783553b50 {\n --modal-width: 840px;\n }\n}\n\n@media (min-width: 1440px) {\n .modal_657d43ed55.sizeSmall_dc43f37fba {\n --modal-width: 520px;\n }\n .modal_657d43ed55.sizeMedium_7844760cb0 {\n --modal-width: 620px;\n }\n .modal_657d43ed55.sizeLarge_b783553b50 {\n --modal-width: 900px;\n }\n}\n\n@media (min-width: 1720px) {\n .modal_657d43ed55.sizeFullView_b248f85ccd {\n margin-inline: 40px;\n }\n}\n\n.containerEnter_e60c6c2601 .overlay_7ee318536b {\n opacity: 0;\n}\n\n.containerEnter_e60c6c2601 .centerPop_8cb16c2e8d {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.8);\n}\n\n.containerEnter_e60c6c2601 .anchorPop_8cb16c2e8d {\n opacity: 0;\n transform: translate(calc(-50% + var(--modal-start-x, 0px)), calc(-50% + var(--modal-start-y, 0px))) scale(0.8);\n}\n\n.containerEnter_e60c6c2601 .fullView_3cec7c33cc {\n opacity: 0.3;\n transform: translateY(30px);\n}\n\n.containerEnterActive_7aae01e598 .overlay_7ee318536b {\n opacity: 1;\n transition: opacity 100ms cubic-bezier(0, 0, 0.4, 1);\n}\n\n.containerEnterActive_7aae01e598 .centerPop_8cb16c2e8d {\n animation: centerPopIn_8afa5417d7 150ms cubic-bezier(0, 0, 0.4, 1) forwards;\n}\n\n.containerEnterActive_7aae01e598 .anchorPop_8cb16c2e8d {\n animation: anchorPopIn_6398495a4c 200ms cubic-bezier(0, 0, 0.4, 1) forwards;\n}\n\n.containerEnterActive_7aae01e598 .fullView_3cec7c33cc {\n animation: fullViewIn_723953535e 250ms cubic-bezier(0, 0, 0.4, 1) forwards;\n}\n\n.containerExitActive_10d80e17c0 .overlay_7ee318536b {\n opacity: 0;\n transition: opacity 100ms cubic-bezier(0.6, 0, 1, 1);\n}\n\n.containerExitActive_10d80e17c0 .centerPop_8cb16c2e8d {\n animation: centerPopOut_b59959d45e 100ms cubic-bezier(0.6, 0, 1, 1) forwards;\n}\n\n.containerExitActive_10d80e17c0 .anchorPop_8cb16c2e8d {\n animation: anchorPopOut_7b6d64f28a 150ms cubic-bezier(0.6, 0, 1, 1) forwards;\n}\n\n.containerExitActive_10d80e17c0 .fullView_3cec7c33cc {\n animation: fullViewOut_1694d561f8 100ms cubic-bezier(0.6, 0, 1, 1) forwards;\n}\n\n@keyframes centerPopIn_8afa5417d7 {\n 0% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.8);\n }\n 50%, 100% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n\n@keyframes centerPopOut_b59959d45e {\n 0%, 50% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n 100% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.8);\n }\n}\n\n@keyframes anchorPopIn_6398495a4c {\n 0%, 40% {\n opacity: 0;\n transform: translate(calc(-50% + var(--modal-start-x, 0px)), calc(-50% + var(--modal-start-y, 0px))) scale(0.8);\n }\n 100% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n\n@keyframes anchorPopOut_7b6d64f28a {\n 0% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n 60%, 100% {\n opacity: 0;\n transform: translate(calc(-50% + var(--modal-start-x, 0px)), calc(-50% + var(--modal-start-y, 0px))) scale(0.8);\n }\n}\n\n@keyframes fullViewIn_723953535e {\n 0% {\n opacity: 0.3;\n transform: translateY(30px);\n }\n 33% {\n opacity: 1;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes fullViewOut_1694d561f8 {\n from {\n opacity: 1;\n transform: translateY(0);\n }\n to {\n opacity: 0;\n transform: translateY(30px);\n }\n}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=Modal.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={header:"
|
|
1
|
+
var e={header:"header_4fbf3b9570",title:"title_c172a50999",descriptionIcon:"descriptionIcon_02030ce8a6"};!function(e){const n="s_id-348c193d77fe_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const i=document.createElement("style");i.id=n,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".header_4fbf3b9570 {\n width: 100%;\n align-self: flex-start;\n}\n.header_4fbf3b9570 .title_c172a50999 {\n width: 100%;\n}\n.header_4fbf3b9570 .descriptionIcon_02030ce8a6 {\n flex-shrink: 0;\n margin-inline-end: var(--space-4);\n color: var(--icon-color);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalHeader.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={media:"
|
|
1
|
+
var e={media:"media_4038616639"};!function(e){const t="s_id-17d5de3a21d7_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".media_4038616639 {\n max-width: 100%;\n max-height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n flex: 1 0;\n overflow: hidden;\n position: relative;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalMedia.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={actions:"
|
|
1
|
+
var e={actions:"actions_367d3b84cc"};!function(e){const n="s_id-6417b75cafa5_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const i=document.createElement("style");i.id=n,t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".actions_367d3b84cc {\n display: flex;\n align-items: center;\n position: absolute;\n inset-inline-end: var(--top-actions-margin-inline);\n top: var(--top-actions-margin-block);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalTopActions.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={primary:"
|
|
1
|
+
var e={primary:"primary_1f5c89ac25",secondary:"secondary_4b10d5ca0f"};!function(e){const n="s_id-b4b122708c23_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const a=document.createElement("style");a.id=n,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".primary_1f5c89ac25 {\n order: 2;\n}\n.primary_1f5c89ac25:only-child {\n margin-inline-start: auto;\n}\n.secondary_4b10d5ca0f {\n order: 1;\n margin-inline-start: auto;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalFooter.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={footer:"
|
|
1
|
+
var e={footer:"footer_2905a0f8ba"};!function(e){const t="s_id-5c7b28cf0c05_4_5_11";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const o=document.createElement("style");o.id=t,n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".footer_2905a0f8ba {\n position: relative;\n width: 100%;\n padding: 20px var(--space-24);\n flex-shrink: 0;\n background-color: var(--primary-background-color);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalFooterBase.module.scss.js.map
|
package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={primary:"
|
|
1
|
+
var e={primary:"primary_1f5c89ac25",secondary:"secondary_d85e769be5",stepDots:"stepDots_dff99ec641"};!function(e){const n="s_id-51737ad1ac1f_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".primary_1f5c89ac25 {\n order: 2;\n}\n\n.secondary_d85e769be5 {\n order: 1;\n}\n\n.stepDots_dff99ec641 {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n margin: 0;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalFooterWizard.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={layout:"
|
|
1
|
+
var e={layout:"layout_ec2bbd6f4c",header:"header_7796e7ed59",divider:"divider_f251beb465",showDivider:"showDivider_22acbc2cf6",content:"content_0e6ff18502"};!function(e){const n="s_id-324b836d97d8_4_5_11";if("undefined"!=typeof document){const d=document.head||document.getElementsByTagName("head")[0];if(d.querySelector("#"+n))return;const i=document.createElement("style");i.id=n,d.firstChild?d.insertBefore(i,d.firstChild):d.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".layout_ec2bbd6f4c {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n.layout_ec2bbd6f4c .header_7796e7ed59 {\n width: 100%;\n margin-block: var(--space-32) var(--space-24);\n padding-inline-end: calc(var(--top-actions-margin-inline) + var(--top-actions-width) + var(--space-16));\n padding-inline-start: var(--modal-inline-padding);\n}\n.layout_ec2bbd6f4c .divider_f251beb465 {\n flex-shrink: 0;\n opacity: 0;\n transition: opacity var(--motion-productive-medium) ease-out;\n}\n.layout_ec2bbd6f4c .divider_f251beb465.showDivider_22acbc2cf6 {\n opacity: 1;\n}\n.layout_ec2bbd6f4c .content_0e6ff18502 {\n padding-block-end: var(--space-32);\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalBasicLayout.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={shadowWrapper:"
|
|
1
|
+
var e={shadowWrapper:"shadowWrapper_f1c97708fe",show:"show_3e063d987e"};!function(e){const t="s_id-c76d397ed7f2_4_5_11";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+t))return;const n=document.createElement("style");n.id=t,o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}('.shadowWrapper_f1c97708fe::after {\n content: "";\n position: absolute;\n opacity: 0;\n transition: opacity var(--motion-productive-medium) ease-out;\n width: 100%;\n height: 10px;\n box-shadow: var(--box-shadow-medium);\n}\n.shadowWrapper_f1c97708fe.show_3e063d987e::after {\n opacity: 1;\n}');export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalFooterShadow.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={content:"
|
|
1
|
+
var e={content:"content_e2f5789d1a"};!function(e){const n="s_id-09bedfbbc65c_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.content_e2f5789d1a {\n width: 100%;\n height: 100%;\n padding-inline: var(--modal-inline-padding);\n overflow: auto;\n}\n.content_e2f5789d1a::-webkit-scrollbar {\n width: 4px;\n height: 6px;\n}\n.content_e2f5789d1a::-webkit-scrollbar-thumb {\n background-color: var(--ui-border-color);\n border-radius: 4px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalLayoutScrollableContent.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={layout:"
|
|
1
|
+
var e={layout:"layout_ec2bbd6f4c",media:"media_f78de38bb7",header:"header_07d6e37923",content:"content_18571cf72b"};!function(e){const n="s_id-d089cc4b12c5_4_5_11";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const d=document.createElement("style");d.id=n,t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".layout_ec2bbd6f4c {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n.layout_ec2bbd6f4c .media_f78de38bb7 {\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n width: 100%;\n flex-shrink: 0;\n}\n.layout_ec2bbd6f4c .header_07d6e37923 {\n width: 100%;\n text-align: center;\n margin-block: var(--space-32) var(--space-8);\n padding-inline: var(--modal-inline-padding);\n}\n.layout_ec2bbd6f4c .content_18571cf72b {\n width: 100%;\n height: 100%;\n flex: 1;\n align-self: flex-start;\n padding-inline: var(--modal-inline-padding);\n padding-block-end: var(--space-24);\n text-align: center;\n overflow: hidden;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalMediaLayout.module.scss.js.map
|
package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={layout:"
|
|
1
|
+
var e={layout:"layout_4df1f3840b",header:"header_facc6d77f4",content:"content_0ad051ca1d",media:"media_695ea7e025"};!function(e){const n="s_id-510a2449b45a_4_5_11";if("undefined"!=typeof document){const d=document.head||document.getElementsByTagName("head")[0];if(d.querySelector("#"+n))return;const t=document.createElement("style");t.id=n,d.firstChild?d.insertBefore(t,d.firstChild):d.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".layout_4df1f3840b {\n width: 100%;\n height: 100%;\n display: grid;\n grid-template-columns: 60% 40%;\n grid-template-rows: auto 1fr;\n min-height: 0;\n}\n.layout_4df1f3840b .header_facc6d77f4 {\n width: 100%;\n margin-block: var(--space-32) var(--space-24);\n padding-inline: var(--modal-inline-padding);\n grid-column: 1/2;\n grid-row: 1;\n}\n.layout_4df1f3840b .content_0ad051ca1d {\n grid-column: 1/2;\n grid-row: 2;\n padding-block-end: var(--space-32);\n}\n.layout_4df1f3840b .media_695ea7e025 {\n grid-column: 2/3;\n grid-row: 1/3;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n overflow: hidden;\n position: relative;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=ModalSideBySideLayout.module.scss.js.map
|