@vibe/core 4.5.8 → 4.5.9-alpha-0c988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Modal/footers/utils/getPropsForButton.d.ts +1 -0
- package/dist/components/counter/dist/Counter/Counter.js +2 -0
- package/dist/components/counter/dist/Counter/Counter.js.map +1 -0
- package/dist/components/counter/dist/Counter/Counter.module.scss.js +2 -0
- package/dist/components/dialog/dist/Dialog/Dialog.js +1 -1
- package/dist/components/dialog/dist/Dialog/Dialog.js.map +1 -1
- package/dist/components/index.d.ts +2 -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/link/dist/Link/Link.module.scss.js +1 -1
- package/dist/components/radio-button/dist/RadioButton/RadioButton.js +2 -0
- package/dist/components/radio-button/dist/RadioButton/RadioButton.js.map +1 -0
- package/dist/components/radio-button/dist/RadioButton/RadioButton.module.scss.js +2 -0
- package/dist/hooks/dist/useAfterFirstRender/index.js.map +1 -0
- package/dist/hooks/index.d.ts +1 -2
- package/dist/metadata/components.json +22 -2
- package/dist/metadata.json +22 -2
- package/dist/mocked_classnames/components/AvatarGroup/AvatarGroup.types.d.ts +1 -1
- package/dist/mocked_classnames/components/Badge/Badge.d.ts +1 -1
- package/dist/mocked_classnames/components/Modal/footers/utils/getPropsForButton.d.ts +1 -0
- package/dist/mocked_classnames/components/index.d.ts +2 -2
- package/dist/mocked_classnames/hooks/index.d.ts +1 -2
- 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/Avatar/Avatar.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Avatar/AvatarContent.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.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.js.map +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.js +1 -1
- package/dist/mocked_classnames/src/components/Badge/Badge.js.map +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/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/DropdownPopup/DropdownPopup.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownPopup/DropdownPopup.js.map +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/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.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/HiddenText/HiddenText.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.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/MenuDivider/MenuDivider.module.scss.js +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.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.module.scss.js +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/index.js +1 -1
- 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/Avatar/Avatar.module.scss.js +1 -1
- package/dist/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounter.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounter.js.map +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.js +1 -1
- package/dist/src/components/Badge/Badge.js.map +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/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/DropdownPopup/DropdownPopup.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownPopup/DropdownPopup.js.map +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/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/src/components/EditableTypography/EditableTypography.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/HiddenText/HiddenText.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.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/MenuDivider/MenuDivider.module.scss.js +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.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.module.scss.js +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/index.js +1 -1
- package/dist/style/dist/index.min.css.js +1 -1
- package/package.json +13 -11
- package/dist/components/Counter/Counter.d.ts +0 -51
- package/dist/components/Counter/Counter.types.d.ts +0 -3
- package/dist/components/Counter/index.d.ts +0 -2
- package/dist/components/RadioButton/RadioButton.d.ts +0 -74
- package/dist/components/RadioButton/index.d.ts +0 -1
- package/dist/hooks/useAfterFirstRender/index.d.ts +0 -2
- package/dist/mocked_classnames/components/Counter/Counter.d.ts +0 -51
- package/dist/mocked_classnames/components/Counter/Counter.types.d.ts +0 -3
- package/dist/mocked_classnames/components/Counter/index.d.ts +0 -2
- package/dist/mocked_classnames/components/RadioButton/RadioButton.d.ts +0 -74
- package/dist/mocked_classnames/components/RadioButton/index.d.ts +0 -1
- package/dist/mocked_classnames/hooks/useAfterFirstRender/index.d.ts +0 -2
- package/dist/mocked_classnames/src/components/Counter/Counter.js +0 -2
- package/dist/mocked_classnames/src/components/Counter/Counter.js.map +0 -1
- package/dist/mocked_classnames/src/components/Counter/Counter.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/RadioButton/RadioButton.js +0 -2
- package/dist/mocked_classnames/src/components/RadioButton/RadioButton.js.map +0 -1
- package/dist/mocked_classnames/src/components/RadioButton/RadioButton.module.scss.js +0 -2
- package/dist/mocked_classnames/src/hooks/useAfterFirstRender/index.js.map +0 -1
- package/dist/src/components/Counter/Counter.js +0 -2
- package/dist/src/components/Counter/Counter.js.map +0 -1
- package/dist/src/components/Counter/Counter.module.scss.js +0 -2
- package/dist/src/components/Counter/Counter.module.scss.js.map +0 -1
- package/dist/src/components/RadioButton/RadioButton.js +0 -2
- package/dist/src/components/RadioButton/RadioButton.js.map +0 -1
- package/dist/src/components/RadioButton/RadioButton.module.scss.js +0 -2
- package/dist/src/components/RadioButton/RadioButton.module.scss.js.map +0 -1
- package/dist/src/hooks/useAfterFirstRender/index.js +0 -2
- package/dist/src/hooks/useAfterFirstRender/index.js.map +0 -1
- /package/dist/{mocked_classnames/src/components → components/counter/dist}/Counter/Counter.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/radio-button/dist}/RadioButton/RadioButton.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/hooks → hooks/dist}/useAfterFirstRender/index.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type BadgeAlignments, type BadgeAnchor, type BadgeType } from "./Badge.types";
|
|
3
3
|
import { type IndicatorProps } from "./Indicator/Indicator";
|
|
4
|
-
import { type CounterProps } from "
|
|
4
|
+
import { type CounterProps } from "@vibe/counter";
|
|
5
5
|
import { type VibeComponentProps } from "../../types";
|
|
6
6
|
export interface BadgeBaseProps extends VibeComponentProps {
|
|
7
7
|
/**
|
|
@@ -47,6 +47,7 @@ export declare function getPropsForButton(button?: ModalFooterActionProps, butto
|
|
|
47
47
|
disable?: boolean;
|
|
48
48
|
open?: boolean;
|
|
49
49
|
isOpen?: boolean;
|
|
50
|
+
positioningActive?: boolean;
|
|
50
51
|
showTriggerIgnoreClass?: string | string[];
|
|
51
52
|
hideTriggerIgnoreClass?: string | string[];
|
|
52
53
|
animationType?: import("@vibe/dialog").DialogAnimationType;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{slicedToArray as e,defineProperty as t}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import{camelCase as i}from"es-toolkit";import r from"classnames";import o,{useState as a,useRef as s,useCallback as n,useEffect as d,useMemo as l}from"react";import{SwitchTransition as m,CSSTransition as c}from"react-transition-group";import u from"./Counter.module.scss.js";import f from"../../../../hooks/dist/useAfterFirstRender/index.js";import{useEventListener as v}from"../../../../shared/dist/hooks/useEventListener.js";import{getStyle as p}from"../../../../shared/dist/utils/typesciptCssModulesHelper.js";import{getTestId as E}from"../../../../shared/dist/tests/test-ids-utils.js";import{ComponentDefaultTestId as b,ComponentVibeId as h}from"../../../../shared/dist/tests/constants.js";import{NOOP as x}from"../../../../shared/dist/utils/function-utils.js";var N=function(N){var j=N.className,A=N.counterClassName,k=N.count,y=void 0===k?0:k,g=N.size,C=void 0===g?"large":g,M=N.kind,R=void 0===M?"fill":M,w=N.color,T=void 0===w?"primary":w,D=N.maxDigits,L=void 0===D?3:D,O=N["aria-labelledby"],U=void 0===O?"":O,z=N["aria-label"],H=void 0===z?"":z,P=N.id,_=void 0===P?"":P,B=N.prefix,F=void 0===B?"":B,q=N.onMouseDown,G=void 0===q?x:q,I=N.noAnimation,J=void 0!==I&&I,K=N["data-testid"],Q=a(!1),S=e(Q,2),V=S[0],W=S[1],X=s(null),Y=s(null),Z=n((function(){W(!0)}),[W]),$=n((function(){W(!1)}),[W]);v({eventName:"animationend",callback:$,ref:X});var ee=f();d((function(){ee.current&&Z()}),[y,ee,Z]),d((function(){L>0||console.error("Max digits must be a positive number")}),[L]);var te=l((function(){return r(u.counter,p(u,i("size-"+C)),p(u,i("kind-"+R)),p(u,i("color-"+T)),t({},u.withAnimation,V),A)}),[C,R,T,V,A]),ie="counter"+(_?"-"+_:""),re=(null==y?void 0:(""+y).length)>L?Math.pow(10,L)-1+"+":y+"",oe=o.createElement("span",{id:ie,"data-testid":K||E(b.COUNTER,_)},F+re);return o.createElement("span",{className:j,"aria-label":"".concat(H," ").concat(re),"aria-labelledby":U,onMouseDown:G,"data-vibe":h.COUNTER},o.createElement("div",{className:te,"aria-label":re,ref:X},J?oe:o.createElement(m,{mode:"out-in"},o.createElement(c,{key:re,nodeRef:Y,classNames:{enter:u.fadeEnter,enterActive:u.fadeEnterActive,exit:u.fadeExit,exitActive:u.fadeExitActive},addEndListener:function(e){var t;null===(t=Y.current)||void 0===t||t.addEventListener("transitionend",e,!1)}},o.createElement("span",{ref:Y,id:ie,"data-testid":K||E(b.COUNTER,_)},F+re)))))};export{N as default};
|
|
2
|
+
//# sourceMappingURL=Counter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Counter.js","sources":["../../../../../../components/counter/dist/Counter/Counter.js"],"sourcesContent":["import{camelCase as e}from\"es-toolkit\";import{useEventListener as t,getStyle as a,getTestId as r,ComponentDefaultTestId as i,ComponentVibeId as n,NOOP as o}from\"@vibe/shared\";import s from\"classnames\";import l,{useState as m,useRef as d,useCallback as c,useEffect as u,useMemo as f}from\"react\";import{SwitchTransition as p,CSSTransition as E}from\"react-transition-group\";import{useAfterFirstRender as v}from\"@vibe/hooks\";import b from\"./Counter.module.scss.js\";const N=({className:N,counterClassName:x,count:k=0,size:A=\"large\",kind:g=\"fill\",color:h=\"primary\",maxDigits:C=3,\"aria-labelledby\":w=\"\",\"aria-label\":y=\"\",id:M=\"\",prefix:R=\"\",onMouseDown:D=o,noAnimation:O=!1,\"data-testid\":T})=>{const[U,z]=m(!1),L=d(null),$=d(null),j=c((()=>{z(!0)}),[z]),q=c((()=>{z(!1)}),[z]);t({eventName:\"animationend\",callback:q,ref:L});const B=v();u((()=>{B.current&&j()}),[k,B,j]),u((()=>{C>0||console.error(\"Max digits must be a positive number\")}),[C]);const F=f((()=>s(b.counter,a(b,e(\"size-\"+A)),a(b,e(\"kind-\"+g)),a(b,e(\"color-\"+h)),{[b.withAnimation]:U},x)),[A,g,h,U,x]),G=\"counter\"+(M?\"-\"+M:\"\"),H=(null==k?void 0:(\"\"+k).length)>C?Math.pow(10,C)-1+\"+\":k+\"\",I=l.createElement(\"span\",{id:G,\"data-testid\":T||r(i.COUNTER,M)},R+H);return l.createElement(\"span\",{className:N,\"aria-label\":`${y} ${H}`,\"aria-labelledby\":w,onMouseDown:D,\"data-vibe\":n.COUNTER},l.createElement(\"div\",{className:F,\"aria-label\":H,ref:L},O?I:l.createElement(p,{mode:\"out-in\"},l.createElement(E,{key:H,nodeRef:$,classNames:{enter:b.fadeEnter,enterActive:b.fadeEnterActive,exit:b.fadeExit,exitActive:b.fadeExitActive},addEndListener:e=>{var t;null===(t=$.current)||void 0===t||t.addEventListener(\"transitionend\",e,!1)}},l.createElement(\"span\",{ref:$,id:G,\"data-testid\":T||r(i.COUNTER,M)},R+H)))))};export{N as default};\n//# sourceMappingURL=Counter.js.map\n"],"names":["N","_ref","className","x","counterClassName","_ref$count","count","k","_ref$size","size","A","_ref$kind","kind","g","_ref$color","color","h","_ref$maxDigits","maxDigits","C","_ref$ariaLabelledby","w","_ref$ariaLabel","y","_ref$id","id","M","_ref$prefix","prefix","R","_ref$onMouseDown","onMouseDown","D","o","_ref$noAnimation","noAnimation","O","T","_m","m","_m2","_slicedToArray","U","z","L","d","$","j","c","q","t","eventName","callback","ref","B","v","u","current","console","error","F","f","s","b","counter","a","e","_defineProperty","withAnimation","G","H","length","Math","pow","I","l","createElement","r","i","COUNTER","concat","n","p","mode","E","key","nodeRef","classNames","enter","fadeEnter","enterActive","fadeEnterActive","exit","fadeExit","exitActive","fadeExitActive","addEndListener","addEventListener"],"mappings":"m2BAiEM,IAAAA,EAAU,SAAAC,GAcC,IAbfD,EAAAC,EAAAC,UACAC,EAAAF,EAAAG,iBAAAC,EAAAJ,EACAK,MAAAC,OAAQ,IAARF,EAAQ,EAAAA,EAAAG,EAAAP,EACRQ,KAAAC,OAAO,IAAPF,EAAO,QAAAA,EAAAG,EAAAV,EACPW,KAAAC,OAAO,IAAPF,EAAO,OAAAA,EAAAG,EAAAb,EACPc,MAAAC,OAAQ,IAARF,EAAQ,UAAAA,EAAAG,EAAAhB,EACRiB,UAAAC,OAAY,IAAZF,EAAY,EAAAA,EAAAG,EAAAnB,EACZ,mBAAmBoB,OAAiB,IAAjBD,EAAiB,GAAAA,EAAAE,EAAArB,EACpC,cAAcsB,OAAY,IAAZD,EAAY,GAAAA,EAAAE,EAAAvB,EAC1BwB,GAAAC,OAAK,IAALF,EAAK,GAAAA,EAAAG,EAAA1B,EACL2B,OAAAC,OAAS,IAATF,EA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AAAiD,EAAgBF,SAE3BJ,EAAKC,cAAA,MAAA,CAAA1E,UAAW0D,GAAwB,aAAAU,GAAWjB,IAAKT,GACrDR,EACCsC,GAEAC,EAAAC,cAACM,EAAgB,CAACC,KAAK,UACrBR,EAACC,cAAAQ,EACC,CAAAC,IAAKf,GACLgB,QAASxC,EACTyC,WAAY,CACVC,MAAOzB,EAAO0B,UACdC,YAAa3B,EAAO4B,gBACpBC,KAAM7B,EAAO8B,SACbC,WAAY/B,EAAOgC,gBAErBC,eAAgB,SAAA9B,GAAA,IAAAhB,EACC,QAAfA,EAAAJ,EAAQW,mBAAOP,GAAAA,EAAE+C,iBAAiB,gBAAiB/B,KAAY,GAGjES,EAAAC,cAAA,OAAA,CACEvB,IAAKP,EACLrB,GAAI4C,GAAS,cACAhC,GAAcwC,EAAUC,EAAuBC,QAASrD,IAEpEG,EAASyC,OAMf"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n={counter:"counter_923a07e385",withAnimation:"withAnimation_94ea5e3954",counterPopElastic:"counterPopElastic_39c0ab7d1c",sizeXs:"sizeXs_b3f20780a6",sizeSmall:"sizeSmall_091a5b8673",sizeLarge:"sizeLarge_86529c5ab4",kindFill:"kindFill_79fa32a24c",colorPrimary:"colorPrimary_48043c4513",colorDark:"colorDark_0bae6311b3",colorNegative:"colorNegative_7acfd36119",colorLight:"colorLight_9f71a9d2a8",kindLine:"kindLine_54411bddb6",fadeEnter:"fadeEnter_a9db1938fe",fadeEnterActive:"fadeEnterActive_bea322632a",fadeExit:"fadeExit_18c9e5f4cc",fadeExitActive:"fadeExitActive_de29bd46b6","counter-pop-elastic":"counter-pop-elastic_4018c71e1c"};!function(n){var o="s_id-89bb3525c38e_4_0_0";if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0];if(e.querySelector("#"+o))return;var t=document.createElement("style");t.id=o,e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n.counter_923a07e385 {\n display: inline-flex;\n justify-content: center;\n border-radius: 30px;\n overflow: hidden;\n transform-origin: center;\n}\n@keyframes counter-pop-elastic_4018c71e1c {\n 0% {\n transform: scale(1);\n }\n 33% {\n transform: scale(1.2);\n }\n 66% {\n transform: scale(0.9);\n }\n 100% {\n transform: scale(1);\n }\n}\n.withAnimation_94ea5e3954 {\n animation: counterPopElastic_39c0ab7d1c var(--motion-expressive-short);\n}\n.sizeXs_b3f20780a6 {\n font: var(--font-text3-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n min-width: 18px;\n line-height: 18px;\n padding: 0 var(--space-8);\n}\n.sizeSmall_091a5b8673 {\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n min-width: 18px;\n line-height: 18px;\n padding: 0 var(--space-8);\n}\n.sizeLarge_86529c5ab4 {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n font: var(--font-text2-normal);\n min-width: 24px;\n padding: 2px var(--space-8);\n}\n.kindFill_79fa32a24c.colorPrimary_48043c4513 {\n color: var(--fixed-light-color);\n background-color: var(--primary-color);\n}\n.kindFill_79fa32a24c.colorDark_0bae6311b3 {\n color: var(--text-color-on-inverted);\n background-color: var(--inverted-color-background);\n}\n.kindFill_79fa32a24c.colorNegative_7acfd36119 {\n color: var(--fixed-light-color);\n background-color: var(--negative-color);\n}\n.kindFill_79fa32a24c.colorLight_9f71a9d2a8 {\n color: var(--primary-text-color);\n background-color: var(--ui-background-color);\n}\n.kindLine_54411bddb6 {\n box-shadow: 0 0 0 1px currentColor inset;\n}\n.kindLine_54411bddb6.colorPrimary_48043c4513 {\n color: var(--primary-color);\n}\n.kindLine_54411bddb6.colorDark_0bae6311b3 {\n color: var(--inverted-color-background);\n}\n.kindLine_54411bddb6.colorNegative_7acfd36119 {\n color: var(--negative-color);\n}\n.kindLine_54411bddb6.colorLight_9f71a9d2a8 {\n color: var(--primary-text-color);\n box-shadow: 0 0 0 1px var(--ui-background-color) inset !important;\n}\n/* New number enters */\n.fadeEnter_a9db1938fe {\n opacity: 0;\n transform: translateY(15px);\n}\n.fadeEnterActive_bea322632a {\n position: relative;\n opacity: 1;\n transition: transform var(--motion-productive-long) var(--motion-timing-enter), opacity var(--motion-productive-short);\n transform: translateY(0);\n}\n/* Old number exits */\n.fadeExit_18c9e5f4cc {\n position: relative;\n opacity: 1;\n transform: translateY(0);\n}\n.fadeExitActive_de29bd46b6 {\n position: relative;\n opacity: 0;\n transform: translateY(-15px);\n transition: transform var(--motion-productive-long) var(--motion-timing-exit), opacity var(--motion-productive-short);\n}");export{n as default};
|
|
2
|
+
//# sourceMappingURL=Counter.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{slicedToArray as e,typeof as n,toConsumableArray as t}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import r from"classnames";import o,{useState as i,useRef as u,useContext as a,useMemo as s,useCallback as l,useEffect as c}from"react";import{createPortal as d}from"react-dom";import{offset as f,flip as m,shift as v,arrow as p,hide as g,autoUpdate as y,useFloating as h}from"@floating-ui/react-dom";import{isFunction as w}from"es-toolkit";import C from"./components/DialogContent/DialogContent.js";import{Refable as b}from"./components/Refable/Refable.js";import D from"./Dialog.module.scss.js";import E from"../../../layer/dist/LayerProvider/LayerContext.js";import{convertToArray as k,chainFunctions as T,chainRefFunctions as x,NOOP as j}from"../../../../shared/dist/utils/function-utils.js";import{isInsideClass as M}from"../../../../shared/dist/utils/dom-utils.js";import S from"../../../layer/dist/LayerProvider/LayerProvider.js";import{isClient as L}from"../../../../shared/dist/utils/ssr-utils.js";import{getTestId as O}from"../../../../shared/dist/tests/test-ids-utils.js";import{ComponentDefaultTestId as
|
|
1
|
+
import{slicedToArray as e,typeof as n,toConsumableArray as t}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import r from"classnames";import o,{useState as i,useRef as u,useContext as a,useMemo as s,useCallback as l,useEffect as c}from"react";import{createPortal as d}from"react-dom";import{offset as f,flip as m,shift as v,arrow as p,hide as g,autoUpdate as y,useFloating as h}from"@floating-ui/react-dom";import{isFunction as w}from"es-toolkit";import C from"./components/DialogContent/DialogContent.js";import{Refable as b}from"./components/Refable/Refable.js";import D from"./Dialog.module.scss.js";import E from"../../../layer/dist/LayerProvider/LayerContext.js";import{convertToArray as k,chainFunctions as T,chainRefFunctions as x,NOOP as j}from"../../../../shared/dist/utils/function-utils.js";import{isInsideClass as M}from"../../../../shared/dist/utils/dom-utils.js";import S from"../../../layer/dist/LayerProvider/LayerProvider.js";import{isClient as L}from"../../../../shared/dist/utils/ssr-utils.js";import{getTestId as O}from"../../../../shared/dist/tests/test-ids-utils.js";import{ComponentDefaultTestId as A}from"../../../../shared/dist/tests/constants.js";function R(R){var H,N,F=R.id,B=R["data-testid"],I=R.children,P=R.content,z=R.position,K=void 0===z?"top":z,W=R.moveBy,_=void 0===W?{main:0,secondary:0}:W,q=R.middleware,G=void 0===q?[]:q,V=R.startingEdge,J=R.showDelay,Q=void 0===J?100:J,U=R.hideDelay,X=void 0===U?100:U,Y=R.instantShowAndHide,Z=void 0!==Y&&Y,$=R.getDynamicShowDelay,ee=R.showTrigger,ne=void 0===ee?"mouseenter":ee,te=R.hideTrigger,re=void 0===te?"mouseleave":te,oe=R.showOnDialogEnter,ie=void 0!==oe&&oe,ue=R.showTriggerIgnoreClass,ae=R.hideTriggerIgnoreClass,se=R.addKeyboardHideShowTriggersByDefault,le=void 0===se||se,ce=R.shouldShowOnMount,de=void 0!==ce&&ce,fe=R.disable,me=void 0!==fe&&fe,ve=R.open,pe=void 0!==ve&&ve,ge=R.isOpen,ye=R.positioningActive,he=void 0===ye||ye,we=R.useDerivedStateFromProps,Ce=void 0!==we&&we,be=R.animationType,De=void 0===be?"expand":be,Ee=R.preventAnimationOnMount,ke=void 0!==Ee&&Ee,Te=R.tooltip,xe=void 0!==Te&&Te,je=R.tooltipClassName,Me=R.containerSelector,Se=R.disableContainerScroll,Le=R.zIndex,Oe=R.wrapperClassName,Ae=R.referenceWrapperClassName,Re=R.referenceWrapperElement,He=R.onBlur,Ne=R.onKeyDown,Fe=R.onClick,Be=R.onFocus,Ie=R.onMouseDown,Pe=R.onMouseEnter,ze=R.onMouseLeave,Ke=R.onContextMenu,We=R.onDialogDidShow,_e=void 0===We?j:We,qe=R.onDialogDidHide,Ge=void 0===qe?j:qe,Ve=R.onClickOutside,Je=void 0===Ve?j:Ve,Qe=R.onContentClick,Ue=void 0===Qe?j:Qe,Xe=R.hideWhenReferenceHidden,Ye=void 0!==Xe&&Xe,Ze=R.shouldCallbackOnMount,$e=void 0!==Ze&&Ze,en=R.observeContentResize,nn=void 0!==en&&en,tn=R.enableNestedDialogLayer,rn=void 0===tn||tn,on=i(de),un=e(on,2),an=un[0],sn=un[1],ln=i(!1),cn=e(ln,2),dn=cn[0],fn=cn[1],mn=i(null),vn=e(mn,2),pn=vn[0],gn=vn[1],yn=u(null),hn=u(null),wn=u(null),Cn=u(null),bn=o.Children.toArray(I).some((function(e){return o.isValidElement(e)})),Dn=a(E).layerRef,En=(Ce?ge:an)||pe,kn=En&&he,Tn=s((function(){if(!kn)return[];var e=[],r=G.filter((function(e){return null!=e&&"object"==n(e)&&"function"==typeof e.fn})),o=r.some((function(e){return"offset"===e.name})),i=r.some((function(e){return"flip"===e.name})),u=r.some((function(e){return"shift"===e.name}));return o||0===_.main&&0===_.secondary||e.push(f({mainAxis:_.main||0,crossAxis:_.secondary||0})),i||e.push(m()),u||e.push(v()),e.push.apply(e,t(r)),xe&&e.push(p({element:Cn})),Ye&&e.push(g()),e}),[kn,_.main,_.secondary,xe,Ye,G]),xn=l((function(e,n,t){return y(e,n,t,{elementResize:nn,layoutShift:!1})}),[nn]),jn=h({placement:K,middleware:Tn,whileElementsMounted:kn?xn:void 0,elements:{reference:pn}}),Mn=jn.refs,Sn=jn.floatingStyles,Ln=jn.placement,On=jn.middlewareData,An=null!==(N=null===(H=On.hide)||void 0===H?void 0:H.referenceHidden)&&void 0!==N&&N,Rn=l((function(e){var n=k(ne);return!(!le||"focus"!==e||!n.includes("mouseenter"))||n.includes(e)}),[ne,le]),Hn=l((function(e){var n=k(re);return!(!le||"blur"!==e||!n.includes("mouseleave"))||n.includes(e)}),[re,le]),Nn=l((function(e,n){var t=Q,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).preventAnimation;if($){var o=$();t=o.showDelay||0,r=null!=r?r:o.preventAnimation}Z?(_e(e,n),sn(!0),fn(!!r),yn.current=null):yn.current=setTimeout((function(){_e(e,n),yn.current=null,sn(!0),fn(!!r)}),t)}),[Q,$,Z,_e]),Fn=l((function(e,n){Z?(Ge(e,n),sn(!1),hn.current=null):hn.current=setTimeout((function(){Ge(e,n),sn(!1),hn.current=null}),X)}),[X,Z,Ge]),Bn=l((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};me||(hn.current&&(clearTimeout(hn.current),hn.current=null),yn.current||Nn(e,n,t))}),[me,Nn]),In=l((function(e,n){yn.current&&(clearTimeout(yn.current),yn.current=null),hn.current||Fn(e,n)}),[Fn]),Pn=l((function(e,n,t){if(n)return!Rn(e)||En||M(n,ue)?Hn(e)&&!M(n,ae)?In(t,e):void 0:Bn(t,e)}),[Rn,Hn,En,ue,ae,Bn,In]),zn=l((function(){if(Me){var e=document.querySelector(Me);if(e instanceof Element)return e}return(null==Dn?void 0:Dn.current)||document.body}),[Me,Dn]),Kn=l((function(e){return Pn("mouseenter",e.target,e)}),[Pn]),Wn=l((function(e){return Pn("mouseleave",e.target,e)}),[Pn]),_n=l((function(e){e.button||Pn("click",e.target,e)}),[Pn]),qn=l((function(e){"Enter"===e.key&&Pn("enter",e.target,e),"Tab"===e.key&&Pn("tab",e.target,e)}),[Pn]),Gn=l((function(e){e.button||Pn("mousedown",e.target,e)}),[Pn]),Vn=l((function(e){return Pn("focus",e.target,e)}),[Pn]),Jn=l((function(e){Pn("blur",e.relatedTarget||e.target,e)}),[Pn]),Qn=l((function(e){return Pn("esckey",e.target,e)}),[Pn]),Un=l((function(e){(Rn("contextmenu")&&!En||Hn("contextmenu")&&En)&&e.preventDefault(),Pn("contextmenu",e.target,e)}),[En,Rn,Hn,Pn]),Xn=l((function(e){Pn("clickoutside",e.target,e),Je(e)}),[Pn,Je]),Yn=l((function(e){ie&&Bn(e,"DialogEnter")}),[ie,Bn]),Zn=l((function(e){ie&&In(e,"DialogLeave")}),[ie,In]),$n=l((function(e){Pn("onContentClick",e.target,e),Ue(e)}),[Pn,Ue]),et=s((function(){return T([He,Jn],!0)}),[He,Jn]),nt=s((function(){return T([Ne,qn],!0)}),[Ne,qn]),tt=s((function(){return T([Fe,_n],!0)}),[Fe,_n]),rt=s((function(){return T([Be,Vn],!0)}),[Be,Vn]),ot=s((function(){return T([Ie,Gn],!0)}),[Ie,Gn]),it=s((function(){return T([Pe,Kn],!0)}),[Pe,Kn]),ut=s((function(){return T([ze,Wn],!0)}),[ze,Wn]),at=s((function(){return T([Ke,Un],!0)}),[Ke,Un]),st=u();st.current=function(e){if(En)switch(e.key){case"Escape":In(e,"esckey");break;case"Tab":Pn("tab",e.target,e);break;case"Enter":Pn("enter",e.target,e)}},c((function(){$e&&de&&_e()}),[]),c((function(){return function(){yn.current&&clearTimeout(yn.current),hn.current&&clearTimeout(hn.current)}}),[]),c((function(){if(L()){var e=function(e){var n;return null===(n=st.current)||void 0===n?void 0:n.call(st,e)};return document.addEventListener("keyup",e),function(){return document.removeEventListener("keyup",e)}}}),[]),c((function(){if(Ye&&An&&En){var e=new CustomEvent("onReferenceHidden");Fn(e,"onReferenceHidden")}}),[Ye,An,En,Fn]);var lt=B||O(A.DIALOG,F),ct=s((function(){if(!On.arrow)return{};var e=On.arrow,n=e.x,t=e.y;return{left:null!=n?n+"px":"",top:null!=t?t+"px":"",transform:"rotate(45deg)"}}),[On.arrow]),dt=s((function(){return Object.assign(bn?Object.assign({},Sn):{},void 0!==Le&&{zIndex:Le})}),[Sn,Le,bn]),ft=ke||dn?void 0:De,mt=w(P)?P():P;if(!mt)return o.createElement(o.Fragment,null,I);var vt=x([Mn.setFloating,wn]),pt=o.createElement(C,{"data-testid":lt,isReferenceHidden:Ye&&An,onMouseEnter:Yn,onMouseLeave:Zn,onClickOutside:Xn,onContextMenu:Un,onEsc:Qn,animationType:ft,position:Ln,wrapperClassName:Oe,startingEdge:V,isOpen:En,showDelay:Q,styleObject:dt,ref:vt,onClick:$n,hasTooltip:!!xe,containerSelector:Me,disableContainerScroll:Se},mt,xe&&o.createElement("div",{style:ct,ref:Cn,className:r(D.arrow,je),"data-placement":Ln}));return o.createElement(o.Fragment,null,o.createElement(b,{className:r(Ae),wrapperElement:Re,ref:gn,onBlur:et,onKeyDown:nt,onClick:tt,onFocus:rt,onMouseDown:ot,onMouseEnter:it,onMouseLeave:ut,onContextMenu:at},I),L()&&En&&d(rn?o.createElement(S,{layerRef:wn},pt):pt,zn()))}export{R as default};
|
|
2
2
|
//# sourceMappingURL=Dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.js","sources":["../../../../../../components/dialog/dist/Dialog/Dialog.js"],"sourcesContent":["import e from\"classnames\";import n,{useState as t,useRef as r,useContext as o,useMemo as a,useCallback as l,useEffect as i}from\"react\";import{createPortal as s}from\"react-dom\";import{offset as u,flip as c,shift as m,arrow as d,hide as p,autoUpdate as f,useFloating as g}from\"@floating-ui/react-dom\";import{isFunction as y}from\"es-toolkit\";import{convertToArray as h,isInsideClass as v,chainFunctions as w,isClient as b,getTestId as C,ComponentDefaultTestId as D,chainRefFunctions as E,NOOP as k}from\"@vibe/shared\";import T from\"./components/DialogContent/DialogContent.js\";import{Refable as x}from\"./components/Refable/Refable.js\";import M from\"./Dialog.module.scss.js\";import{LayerContext as S,LayerProvider as O}from\"@vibe/layer\";function R({id:R,\"data-testid\":A,children:H,content:L,position:j=\"top\",moveBy:N={main:0,secondary:0},middleware:F=[],startingEdge:I,showDelay:z=100,hideDelay:B=100,instantShowAndHide:K=!1,getDynamicShowDelay:W,showTrigger:q=\"mouseenter\",hideTrigger:G=\"mouseleave\",showOnDialogEnter:P=!1,showTriggerIgnoreClass:V,hideTriggerIgnoreClass:J,addKeyboardHideShowTriggersByDefault:Q=!0,shouldShowOnMount:U=!1,disable:X=!1,open:Y=!1,isOpen:Z,useDerivedStateFromProps:$=!1,animationType:_=\"expand\",preventAnimationOnMount:ee=!1,tooltip:ne=!1,tooltipClassName:te,containerSelector:re,disableContainerScroll:oe,zIndex:ae,wrapperClassName:le,referenceWrapperClassName:ie,referenceWrapperElement:se,onBlur:ue,onKeyDown:ce,onClick:me,onFocus:de,onMouseDown:pe,onMouseEnter:fe,onMouseLeave:ge,onContextMenu:ye,onDialogDidShow:he=k,onDialogDidHide:ve=k,onClickOutside:we=k,onContentClick:be=k,hideWhenReferenceHidden:Ce=!1,shouldCallbackOnMount:De=!1,observeContentResize:Ee=!1,enableNestedDialogLayer:ke=!0}){var Te,xe;const[Me,Se]=t(U),[Oe,Re]=t(!1),[Ae,He]=t(null),Le=r(null),je=r(null),Ne=r(null),Fe=r(null),Ie=n.Children.toArray(H).some((e=>n.isValidElement(e))),{layerRef:ze}=o(S),Be=($?Z:Me)||Y,Ke=a((()=>{if(!Be)return[];const e=[],n=F.filter((e=>null!=e&&\"object\"==typeof e&&\"function\"==typeof e.fn)),t=n.some((e=>\"offset\"===e.name)),r=n.some((e=>\"flip\"===e.name)),o=n.some((e=>\"shift\"===e.name));return t||0===N.main&&0===N.secondary||e.push(u({mainAxis:N.main||0,crossAxis:N.secondary||0})),r||e.push(c()),o||e.push(m()),e.push(...n),ne&&e.push(d({element:Fe})),Ce&&e.push(p()),e}),[Be,N.main,N.secondary,ne,Ce,F]),We=l(((e,n,t)=>f(e,n,t,{elementResize:Ee,layoutShift:!1})),[Ee]),{refs:qe,floatingStyles:Ge,placement:Pe,middlewareData:Ve}=g({placement:j,middleware:Ke,whileElementsMounted:Be?We:void 0,elements:{reference:Ae}}),Je=null!==(xe=null===(Te=Ve.hide)||void 0===Te?void 0:Te.referenceHidden)&&void 0!==xe&&xe,Qe=l((e=>{const n=h(q);return!(!Q||\"focus\"!==e||!n.includes(\"mouseenter\"))||n.includes(e)}),[q,Q]),Ue=l((e=>{const n=h(G);return!(!Q||\"blur\"!==e||!n.includes(\"mouseleave\"))||n.includes(e)}),[G,Q]),Xe=l(((e,n,t={})=>{let r=z,o=t.preventAnimation;if(W){const e=W();r=e.showDelay||0,o=null!=o?o:e.preventAnimation}K?(he(e,n),Se(!0),Re(!!o),Le.current=null):Le.current=setTimeout((()=>{he(e,n),Le.current=null,Se(!0),Re(!!o)}),r)}),[z,W,K,he]),Ye=l(((e,n)=>{K?(ve(e,n),Se(!1),je.current=null):je.current=setTimeout((()=>{ve(e,n),Se(!1),je.current=null}),B)}),[B,K,ve]),Ze=l(((e,n,t={})=>{X||(je.current&&(clearTimeout(je.current),je.current=null),Le.current||Xe(e,n,t))}),[X,Xe]),$e=l(((e,n)=>{Le.current&&(clearTimeout(Le.current),Le.current=null),je.current||Ye(e,n)}),[Ye]),_e=l(((e,n,t)=>{if(n)return!Qe(e)||Be||v(n,V)?Ue(e)&&!v(n,J)?$e(t,e):void 0:Ze(t,e)}),[Qe,Ue,Be,V,J,Ze,$e]),en=l((()=>{if(re){const e=document.querySelector(re);if(e instanceof Element)return e}return(null==ze?void 0:ze.current)||document.body}),[re,ze]),nn=l((e=>_e(\"mouseenter\",e.target,e)),[_e]),tn=l((e=>_e(\"mouseleave\",e.target,e)),[_e]),rn=l((e=>{e.button||_e(\"click\",e.target,e)}),[_e]),on=l((e=>{\"Enter\"===e.key&&_e(\"enter\",e.target,e),\"Tab\"===e.key&&_e(\"tab\",e.target,e)}),[_e]),an=l((e=>{e.button||_e(\"mousedown\",e.target,e)}),[_e]),ln=l((e=>_e(\"focus\",e.target,e)),[_e]),sn=l((e=>{_e(\"blur\",e.relatedTarget||e.target,e)}),[_e]),un=l((e=>_e(\"esckey\",e.target,e)),[_e]),cn=l((e=>{(Qe(\"contextmenu\")&&!Be||Ue(\"contextmenu\")&&Be)&&e.preventDefault(),_e(\"contextmenu\",e.target,e)}),[Be,Qe,Ue,_e]),mn=l((e=>{_e(\"clickoutside\",e.target,e),we(e)}),[_e,we]),dn=l((e=>{P&&Ze(e,\"DialogEnter\")}),[P,Ze]),pn=l((e=>{P&&$e(e,\"DialogLeave\")}),[P,$e]),fn=l((e=>{_e(\"onContentClick\",e.target,e),be(e)}),[_e,be]),gn=a((()=>w([ue,sn],!0)),[ue,sn]),yn=a((()=>w([ce,on],!0)),[ce,on]),hn=a((()=>w([me,rn],!0)),[me,rn]),vn=a((()=>w([de,ln],!0)),[de,ln]),wn=a((()=>w([pe,an],!0)),[pe,an]),bn=a((()=>w([fe,nn],!0)),[fe,nn]),Cn=a((()=>w([ge,tn],!0)),[ge,tn]),Dn=a((()=>w([ye,cn],!0)),[ye,cn]),En=r();En.current=e=>{if(Be)switch(e.key){case\"Escape\":$e(e,\"esckey\");break;case\"Tab\":_e(\"tab\",e.target,e);break;case\"Enter\":_e(\"enter\",e.target,e)}},i((()=>{De&&U&&he()}),[]),i((()=>()=>{Le.current&&clearTimeout(Le.current),je.current&&clearTimeout(je.current)}),[]),i((()=>{if(!b())return;const e=e=>{var n;return null===(n=En.current)||void 0===n?void 0:n.call(En,e)};return document.addEventListener(\"keyup\",e),()=>document.removeEventListener(\"keyup\",e)}),[]),i((()=>{if(Ce&&Je&&Be){const e=new CustomEvent(\"onReferenceHidden\");Ye(e,\"onReferenceHidden\")}}),[Ce,Je,Be,Ye]);const kn=A||C(D.DIALOG,R),Tn=a((()=>{if(!Ve.arrow)return{};const{x:e,y:n}=Ve.arrow;return{left:null!=e?e+\"px\":\"\",top:null!=n?n+\"px\":\"\",transform:\"rotate(45deg)\"}}),[Ve.arrow]),xn=a((()=>Object.assign(Ie?Object.assign({},Ge):{},void 0!==ae&&{zIndex:ae})),[Ge,ae,Ie]),Mn=ee||Oe?void 0:_,Sn=y(L)?L():L;if(!Sn)return n.createElement(n.Fragment,null,H);const On=E([qe.setFloating,Ne]),Rn=n.createElement(T,{\"data-testid\":kn,isReferenceHidden:Ce&&Je,onMouseEnter:dn,onMouseLeave:pn,onClickOutside:mn,onContextMenu:cn,onEsc:un,animationType:Mn,position:Pe,wrapperClassName:le,startingEdge:I,isOpen:Be,showDelay:z,styleObject:xn,ref:On,onClick:fn,hasTooltip:!!ne,containerSelector:re,disableContainerScroll:oe},Sn,ne&&n.createElement(\"div\",{style:Tn,ref:Fe,className:e(M.arrow,te),\"data-placement\":Pe}));return n.createElement(n.Fragment,null,n.createElement(x,{className:e(ie),wrapperElement:se,ref:He,onBlur:gn,onKeyDown:yn,onClick:hn,onFocus:vn,onMouseDown:wn,onMouseEnter:bn,onMouseLeave:Cn,onContextMenu:Dn},H),b()&&Be&&s(ke?n.createElement(O,{layerRef:Ne},Rn):Rn,en()))}export{R as default};\n//# sourceMappingURL=Dialog.js.map\n"],"names":["R","_ref","Te","xe","id","A","H","children","L","content","_ref$position","position","j","_ref$moveBy","moveBy","N","main","secondary","_ref$middleware","middleware","F","I","startingEdge","_ref$showDelay","showDelay","z","_ref$hideDelay","hideDelay","B","_ref$instantShowAndHi","instantShowAndHide","K","W","getDynamicShowDelay","_ref$showTrigger","showTrigger","q","_ref$hideTrigger","hideTrigger","G","_ref$showOnDialogEnte","showOnDialogEnter","P","V","showTriggerIgnoreClass","J","hideTriggerIgnoreClass","_ref$addKeyboardHideS","addKeyboardHideShowTriggersByDefault","Q","_ref$shouldShowOnMoun","shouldShowOnMount","U","_ref$disable","disable","X","_ref$open","open","Y","Z","isOpen","_ref$useDerivedStateF","useDerivedStateFromProps","$","_ref$animationType","animationType","_","_ref$preventAnimation","preventAnimationOnMount","ee","_ref$tooltip","tooltip","ne","te","tooltipClassName","re","containerSelector","oe","disableContainerScroll","ae","zIndex","le","wrapperClassName","ie","referenceWrapperClassName","se","referenceWrapperElement","ue","onBlur","ce","onKeyDown","me","onClick","de","onFocus","pe","onMouseDown","fe","onMouseEnter","ge","onMouseLeave","ye","onContextMenu","_ref$onDialogDidShow","onDialogDidShow","he","k","_ref$onDialogDidHide","onDialogDidHide","ve","_ref$onClickOutside","onClickOutside","we","_ref$onContentClick","onContentClick","be","_ref$hideWhenReferenc","hideWhenReferenceHidden","Ce","_ref$shouldCallbackOn","shouldCallbackOnMount","De","_ref$observeContentRe","observeContentResize","Ee","_ref$enableNestedDial","enableNestedDialogLayer","ke","_t","t","_t2","_slicedToArray","Me","Se","_t3","_t4","Oe","Re","_t5","_t6","Ae","He","Le","r","je","Ne","Fe","Ie","n","Children","toArray","some","e","isValidElement","ze","o","S","layerRef","Be","Ke","a","filter","_typeof","fn","name","push","u","mainAxis","crossAxis","c","m","apply","_toConsumableArray","d","element","p","We","l","f","elementResize","layoutShift","_g","g","placement","whileElementsMounted","elements","reference","qe","refs","Ge","floatingStyles","Pe","Ve","middlewareData","Je","hide","referenceHidden","Qe","h","includes","Ue","Xe","arguments","length","undefined","preventAnimation","current","setTimeout","Ye","Ze","clearTimeout","$e","_e","v","en","document","querySelector","Element","body","nn","target","tn","rn","button","on","key","an","ln","sn","relatedTarget","un","cn","preventDefault","mn","dn","pn","gn","w","yn","hn","vn","wn","bn","Cn","Dn","En","i","b","_e4","call","addEventListener","removeEventListener","CustomEvent","kn","C","D","DIALOG","Tn","arrow","_Ve$arrow","x","y","left","top","transform","xn","Object","assign","Mn","Sn","createElement","Fragment","On","E","setFloating","Rn","T","isReferenceHidden","onEsc","styleObject","ref","hasTooltip","style","className","M","wrapperElement","s","O"],"mappings":"8pCA+BA,SAASA,EAAAC,GAkDmB,IAAAC,EAAAC,EAhD1BH,EAAAC,EAFcG,GAGCC,EAAAJ,EAAf,eACAK,EAAAL,EADyBM,SAEzBC,EAAAP,EADQQ,QAAAC,EAAAT,EACDU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sH,aAAcjN,GACdI,kBAAmBD,GACnBG,uBAAwBD,IAEvBgM,GACArM,IACC4E,EAAA0H,cAAA,MAAA,CACEY,MAAOzB,GACPuB,IAAKtI,GACLyI,UAAWnI,EAAGoI,EAAO1B,MAAOzL,IACZ,iBAAAsH,MAMxB,OACE3C,EAAA0H,cAAA1H,EAAA2H,SAAA,KACE3H,EAAC0H,cAAAV,EAAA,CACCuB,UAAWnI,EAAGrE,IACd0M,eAAgBxM,GAChBmM,IAAK3I,GACLrD,OAAQoJ,GACRlJ,UAAWoJ,GACXlJ,QAASmJ,GACTjJ,QAASkJ,GACThJ,YAAaiJ,GACb/I,aAAcgJ,GACd9I,aAAc+I,GACd7I,cAAe8I,IAEd9O,GAEFiP,KACCzF,IACAgI,EACE/J,GACEqB,EAAC0H,cAAAiB,EAAc,CAAAlI,SAAUZ,IAAekI,IAExCA,GAEF7D,MAIV"}
|
|
1
|
+
{"version":3,"file":"Dialog.js","sources":["../../../../../../components/dialog/dist/Dialog/Dialog.js"],"sourcesContent":["import e from\"classnames\";import n,{useState as t,useRef as r,useContext as o,useMemo as a,useCallback as i,useEffect as l}from\"react\";import{createPortal as s}from\"react-dom\";import{offset as u,flip as c,shift as m,arrow as d,hide as p,autoUpdate as f,useFloating as g}from\"@floating-ui/react-dom\";import{isFunction as y}from\"es-toolkit\";import{convertToArray as v,isInsideClass as h,chainFunctions as w,isClient as b,getTestId as C,ComponentDefaultTestId as D,chainRefFunctions as E,NOOP as k}from\"@vibe/shared\";import T from\"./components/DialogContent/DialogContent.js\";import{Refable as x}from\"./components/Refable/Refable.js\";import M from\"./Dialog.module.scss.js\";import{LayerContext as S,LayerProvider as O}from\"@vibe/layer\";function R({id:R,\"data-testid\":A,children:H,content:L,position:j=\"top\",moveBy:N={main:0,secondary:0},middleware:F=[],startingEdge:I,showDelay:z=100,hideDelay:B=100,instantShowAndHide:K=!1,getDynamicShowDelay:W,showTrigger:q=\"mouseenter\",hideTrigger:G=\"mouseleave\",showOnDialogEnter:P=!1,showTriggerIgnoreClass:V,hideTriggerIgnoreClass:J,addKeyboardHideShowTriggersByDefault:Q=!0,shouldShowOnMount:U=!1,disable:X=!1,open:Y=!1,isOpen:Z,positioningActive:$=!0,useDerivedStateFromProps:_=!1,animationType:ee=\"expand\",preventAnimationOnMount:ne=!1,tooltip:te=!1,tooltipClassName:re,containerSelector:oe,disableContainerScroll:ae,zIndex:ie,wrapperClassName:le,referenceWrapperClassName:se,referenceWrapperElement:ue,onBlur:ce,onKeyDown:me,onClick:de,onFocus:pe,onMouseDown:fe,onMouseEnter:ge,onMouseLeave:ye,onContextMenu:ve,onDialogDidShow:he=k,onDialogDidHide:we=k,onClickOutside:be=k,onContentClick:Ce=k,hideWhenReferenceHidden:De=!1,shouldCallbackOnMount:Ee=!1,observeContentResize:ke=!1,enableNestedDialogLayer:Te=!0}){var xe,Me;const[Se,Oe]=t(U),[Re,Ae]=t(!1),[He,Le]=t(null),je=r(null),Ne=r(null),Fe=r(null),Ie=r(null),ze=n.Children.toArray(H).some((e=>n.isValidElement(e))),{layerRef:Be}=o(S),Ke=(_?Z:Se)||Y,We=Ke&&$,qe=a((()=>{if(!We)return[];const e=[],n=F.filter((e=>null!=e&&\"object\"==typeof e&&\"function\"==typeof e.fn)),t=n.some((e=>\"offset\"===e.name)),r=n.some((e=>\"flip\"===e.name)),o=n.some((e=>\"shift\"===e.name));return t||0===N.main&&0===N.secondary||e.push(u({mainAxis:N.main||0,crossAxis:N.secondary||0})),r||e.push(c()),o||e.push(m()),e.push(...n),te&&e.push(d({element:Ie})),De&&e.push(p()),e}),[We,N.main,N.secondary,te,De,F]),Ge=i(((e,n,t)=>f(e,n,t,{elementResize:ke,layoutShift:!1})),[ke]),{refs:Pe,floatingStyles:Ve,placement:Je,middlewareData:Qe}=g({placement:j,middleware:qe,whileElementsMounted:We?Ge:void 0,elements:{reference:He}}),Ue=null!==(Me=null===(xe=Qe.hide)||void 0===xe?void 0:xe.referenceHidden)&&void 0!==Me&&Me,Xe=i((e=>{const n=v(q);return!(!Q||\"focus\"!==e||!n.includes(\"mouseenter\"))||n.includes(e)}),[q,Q]),Ye=i((e=>{const n=v(G);return!(!Q||\"blur\"!==e||!n.includes(\"mouseleave\"))||n.includes(e)}),[G,Q]),Ze=i(((e,n,t={})=>{let r=z,o=t.preventAnimation;if(W){const e=W();r=e.showDelay||0,o=null!=o?o:e.preventAnimation}K?(he(e,n),Oe(!0),Ae(!!o),je.current=null):je.current=setTimeout((()=>{he(e,n),je.current=null,Oe(!0),Ae(!!o)}),r)}),[z,W,K,he]),$e=i(((e,n)=>{K?(we(e,n),Oe(!1),Ne.current=null):Ne.current=setTimeout((()=>{we(e,n),Oe(!1),Ne.current=null}),B)}),[B,K,we]),_e=i(((e,n,t={})=>{X||(Ne.current&&(clearTimeout(Ne.current),Ne.current=null),je.current||Ze(e,n,t))}),[X,Ze]),en=i(((e,n)=>{je.current&&(clearTimeout(je.current),je.current=null),Ne.current||$e(e,n)}),[$e]),nn=i(((e,n,t)=>{if(n)return!Xe(e)||Ke||h(n,V)?Ye(e)&&!h(n,J)?en(t,e):void 0:_e(t,e)}),[Xe,Ye,Ke,V,J,_e,en]),tn=i((()=>{if(oe){const e=document.querySelector(oe);if(e instanceof Element)return e}return(null==Be?void 0:Be.current)||document.body}),[oe,Be]),rn=i((e=>nn(\"mouseenter\",e.target,e)),[nn]),on=i((e=>nn(\"mouseleave\",e.target,e)),[nn]),an=i((e=>{e.button||nn(\"click\",e.target,e)}),[nn]),ln=i((e=>{\"Enter\"===e.key&&nn(\"enter\",e.target,e),\"Tab\"===e.key&&nn(\"tab\",e.target,e)}),[nn]),sn=i((e=>{e.button||nn(\"mousedown\",e.target,e)}),[nn]),un=i((e=>nn(\"focus\",e.target,e)),[nn]),cn=i((e=>{nn(\"blur\",e.relatedTarget||e.target,e)}),[nn]),mn=i((e=>nn(\"esckey\",e.target,e)),[nn]),dn=i((e=>{(Xe(\"contextmenu\")&&!Ke||Ye(\"contextmenu\")&&Ke)&&e.preventDefault(),nn(\"contextmenu\",e.target,e)}),[Ke,Xe,Ye,nn]),pn=i((e=>{nn(\"clickoutside\",e.target,e),be(e)}),[nn,be]),fn=i((e=>{P&&_e(e,\"DialogEnter\")}),[P,_e]),gn=i((e=>{P&&en(e,\"DialogLeave\")}),[P,en]),yn=i((e=>{nn(\"onContentClick\",e.target,e),Ce(e)}),[nn,Ce]),vn=a((()=>w([ce,cn],!0)),[ce,cn]),hn=a((()=>w([me,ln],!0)),[me,ln]),wn=a((()=>w([de,an],!0)),[de,an]),bn=a((()=>w([pe,un],!0)),[pe,un]),Cn=a((()=>w([fe,sn],!0)),[fe,sn]),Dn=a((()=>w([ge,rn],!0)),[ge,rn]),En=a((()=>w([ye,on],!0)),[ye,on]),kn=a((()=>w([ve,dn],!0)),[ve,dn]),Tn=r();Tn.current=e=>{if(Ke)switch(e.key){case\"Escape\":en(e,\"esckey\");break;case\"Tab\":nn(\"tab\",e.target,e);break;case\"Enter\":nn(\"enter\",e.target,e)}},l((()=>{Ee&&U&&he()}),[]),l((()=>()=>{je.current&&clearTimeout(je.current),Ne.current&&clearTimeout(Ne.current)}),[]),l((()=>{if(!b())return;const e=e=>{var n;return null===(n=Tn.current)||void 0===n?void 0:n.call(Tn,e)};return document.addEventListener(\"keyup\",e),()=>document.removeEventListener(\"keyup\",e)}),[]),l((()=>{if(De&&Ue&&Ke){const e=new CustomEvent(\"onReferenceHidden\");$e(e,\"onReferenceHidden\")}}),[De,Ue,Ke,$e]);const xn=A||C(D.DIALOG,R),Mn=a((()=>{if(!Qe.arrow)return{};const{x:e,y:n}=Qe.arrow;return{left:null!=e?e+\"px\":\"\",top:null!=n?n+\"px\":\"\",transform:\"rotate(45deg)\"}}),[Qe.arrow]),Sn=a((()=>Object.assign(ze?Object.assign({},Ve):{},void 0!==ie&&{zIndex:ie})),[Ve,ie,ze]),On=ne||Re?void 0:ee,Rn=y(L)?L():L;if(!Rn)return n.createElement(n.Fragment,null,H);const An=E([Pe.setFloating,Fe]),Hn=n.createElement(T,{\"data-testid\":xn,isReferenceHidden:De&&Ue,onMouseEnter:fn,onMouseLeave:gn,onClickOutside:pn,onContextMenu:dn,onEsc:mn,animationType:On,position:Je,wrapperClassName:le,startingEdge:I,isOpen:Ke,showDelay:z,styleObject:Sn,ref:An,onClick:yn,hasTooltip:!!te,containerSelector:oe,disableContainerScroll:ae},Rn,te&&n.createElement(\"div\",{style:Mn,ref:Ie,className:e(M.arrow,re),\"data-placement\":Je}));return n.createElement(n.Fragment,null,n.createElement(x,{className:e(se),wrapperElement:ue,ref:Le,onBlur:vn,onKeyDown:hn,onClick:wn,onFocus:bn,onMouseDown:Cn,onMouseEnter:Dn,onMouseLeave:En,onContextMenu:kn},H),b()&&Ke&&s(Te?n.createElement(O,{layerRef:Fe},Hn):Hn,tn()))}export{R as default};\n//# sourceMappingURL=Dialog.js.map\n"],"names":["R","_ref","xe","Me","id","A","H","children","L","content","_ref$position","position","j","_ref$moveBy","moveBy","N","main","secondary","_ref$middleware","middleware","F","I","startingEdge","_ref$showDelay","showDelay","z","_ref$hideDelay","hideDelay","B","_ref$instantShowAndHi","instantShowAndHide","K","W","getDynamicShowDelay","_ref$showTrigger","showTrigger","q","_ref$hideTrigger","hideTrigger","G","_ref$showOnDialogEnte","showOnDialogEnter","P","V","showTriggerIgnoreClass","J","hideTriggerIgnoreClass","_ref$addKeyboardHideS","addKeyboardHideShowTriggersByDefault","Q","_ref$shouldShowOnMoun","shouldShowOnMount","U","_ref$disable","disable","X","_ref$open","open","Y","Z","isOpen","_ref$positioningActiv","positioningActive","$","_ref$useDerivedStateF","useDerivedStateFromProps","_","_ref$animationType","animationType","ee","_ref$preventAnimation","preventAnimationOnMount","ne","_ref$tooltip","tooltip","te","re","tooltipClassName","oe","containerSelector","ae","disableContainerScroll","ie","zIndex","le","wrapperClassName","se","referenceWrapperClassName","ue","referenceWrapperElement","ce","onBlur","me","onKeyDown","de","onClick","pe","onFocus","fe","onMouseDown","ge","onMouseEnter","ye","onMouseLeave","ve","onContextMenu","_ref$onDialogDidShow","onDialogDidShow","he","k","_ref$onDialogDidHide","onDialogDidHide","we","_ref$onClickOutside","onClickOutside","be","_ref$onContentClick","onContentClick","Ce","_ref$hideWhenReferenc","hideWhenReferenceHidden","De","_ref$shouldCallbackOn","shouldCallbackOnMount","Ee","_ref$observeContentRe","observeContentResize","ke","_ref$enableNestedDial","enableNestedDialogLayer","Te","_t","t","_t2","_slicedToArray","Se","Oe","_t3","_t4","Re","Ae","_t5","_t6","He","Le","je","r","Ne","Fe","Ie","ze","n","Children","toArray","some","e","isValidElement","Be","o","S","layerRef","Ke","We","qe","a","filter","_typeof","fn","name","push","u","mainAxis","crossAxis","c","m","apply","_toConsumableArray","d","element","p","Ge","i","f","elementResize","layoutShift","_g","g","placement","whileElementsMounted","elements","reference","Pe","refs","Ve","floatingStyles","Je","Qe","middlewareData","Ue","hide","referenceHidden","Xe","v","includes","Ye","Ze","arguments","length","undefined","preventAnimation","current","setTimeout","$e","_e","clearTimeout","en","nn","h","tn","document","querySelector","Element","body","rn","target","on","an","button","ln","key","sn","un","cn","relatedTarget","mn","dn","preventDefault","pn","gn","yn","vn","w","hn","wn","bn","Cn","Dn","En","kn","Tn","l","b","_e4","call","addEventListener","removeEventListener","CustomEvent","xn","C","D","DIALOG","Mn","arrow","_Qe$arrow","x","y","left","top","transform","Sn","Object","assign","On","Rn","createElement","Fragment","An","E","setFloating","Hn","T","isReferenceHidden","onEsc","styleObject","ref","hasTooltip","style","className","M","wrapperElement","s","O"],"mappings":"8pCA+BA,SAASA,EAAAC,GAmDmB,IAAAC,EAAAC,EAjD1BH,EAAAC,EAFcG,GAGCC,EAAAJ,EAAf,eACAK,EAAAL,EADyBM,SAEzBC,EAAAP,EADQQ,QAAAC,EAAAT,EACDU,SACPC,OAAW,IAAXF,EAAW,MAAAA,EAAAG,EAAAZ,EAAKa,OAChBC,OAAS,IAATF,EAAS,CAAEG,KAAM,EAAGC,UAAW,GAAAJ,EAAAK,EAAA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ACnBG,uBAAwBD,IAEvBiM,GACAtM,IACC4E,EAAA2H,cAAA,MAAA,CACEY,MAAOzB,GACPuB,IAAKvI,GACL0I,UAAWpI,EAAGqI,EAAO1B,MAAO1L,IACZ,iBAAAuH,MAMxB,OACE5C,EAAA2H,cAAA3H,EAAA4H,SAAA,KACE5H,EAAC2H,cAAAV,EAAA,CACCuB,UAAWpI,EAAGrE,IACd2M,eAAgBzM,GAChBoM,IAAK5I,GACLrD,OAAQqJ,GACRnJ,UAAWqJ,GACXnJ,QAASoJ,GACTlJ,QAASmJ,GACTjJ,YAAakJ,GACbhJ,aAAciJ,GACd/I,aAAcgJ,GACd9I,cAAe+I,IAEdlP,GAEFqP,KACC1F,IACAiI,EACEhK,GACEqB,EAAC2H,cAAAiB,EAAc,CAAAnI,SAAUZ,IAAemI,IAExCA,GAEF7D,MAIV"}
|
|
@@ -12,7 +12,7 @@ export * from "./Chips";
|
|
|
12
12
|
export { Clickable, type ClickableProps, useClickableProps } from "@vibe/clickable";
|
|
13
13
|
export * from "./ColorPicker";
|
|
14
14
|
export * from "./Combobox";
|
|
15
|
-
export * from "
|
|
15
|
+
export * from "@vibe/counter";
|
|
16
16
|
export * from "./DatePicker";
|
|
17
17
|
export { Dialog, DialogContentContainer, type DialogProps, type DialogContentContainerProps, type DialogType, type DialogSize, type DialogPosition, type DialogTriggerEvent, type DialogAnimationType, type DialogOffset, type DialogEvent } from "@vibe/dialog";
|
|
18
18
|
export * from "@vibe/divider";
|
|
@@ -44,7 +44,7 @@ export * from "./NumberField";
|
|
|
44
44
|
export * from "./Modal";
|
|
45
45
|
export * from "./MultiStepIndicator";
|
|
46
46
|
export * from "@vibe/progress-bars";
|
|
47
|
-
export * from "
|
|
47
|
+
export * from "@vibe/radio-button";
|
|
48
48
|
export * from "./Search";
|
|
49
49
|
export * from "./Skeleton";
|
|
50
50
|
export * from "./Slider";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={clickableWrapper:"
|
|
1
|
+
var e={clickableWrapper:"clickableWrapper_23ca2fff50","focus-visible":"focus-visible_31ee638e26",label:"label_fec5a26f2a",small:"small_c38c05d8f1",withLeg:"withLeg_4f2af76f53",legWrapper:"legWrapper_7d05998977",kindFill:"kindFill_f17b2159df",colorPrimary:"colorPrimary_c2fad6531e",clickable:"clickable_e214ecafa9",colorDark:"colorDark_eef5249613",colorNegative:"colorNegative_b983ad52b8",colorPositive:"colorPositive_826f99de95",kindLine:"kindLine_3922b846a7",smallText:"smallText_abe7ec4d4f"};!function(e){var a="s_id-7ba6c6dd9512_4_0_1";if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0];if(r.querySelector("#"+a))return;var n=document.createElement("style");n.id=a,r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[a]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.clickableWrapper_23ca2fff50 {\n cursor: pointer;\n}\n.clickableWrapper_23ca2fff50:focus-visible, .clickableWrapper_23ca2fff50.focus-visible_31ee638e26 {\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.clickableWrapper_23ca2fff50:focus:not(.focus-visible_31ee638e26) {\n outline: none;\n}\n.clickableWrapper_23ca2fff50:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label_fec5a26f2a {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--border-radius-small);\n padding: 2px var(--space-8);\n position: relative;\n}\n.label_fec5a26f2a.small_c38c05d8f1 {\n padding: 0 var(--space-4);\n border-radius: 2px;\n}\n.withLeg_4f2af76f53 {\n border-start-start-radius: var(--border-radius-small);\n border-start-end-radius: var(--border-radius-small);\n border-end-end-radius: var(--border-radius-small);\n border-end-start-radius: 0;\n}\n.legWrapper_7d05998977 {\n position: absolute;\n height: 8px;\n top: 100%;\n inset-inline-start: 0;\n display: inline-flex;\n}\n.kindFill_f17b2159df.colorPrimary_c2fad6531e {\n background-color: var(--primary-color);\n}\n.kindFill_f17b2159df.colorPrimary_c2fad6531e svg path {\n fill: var(--primary-color);\n}\n.kindFill_f17b2159df.colorPrimary_c2fad6531e.clickable_e214ecafa9:hover, .kindFill_f17b2159df.colorPrimary_c2fad6531e.clickable_e214ecafa9:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill_f17b2159df.colorDark_eef5249613 {\n background-color: var(--inverted-color-background);\n}\n.kindFill_f17b2159df.colorDark_eef5249613 svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill_f17b2159df.colorNegative_b983ad52b8 {\n background-color: var(--negative-color);\n}\n.kindFill_f17b2159df.colorNegative_b983ad52b8 svg path {\n fill: var(--negative-color);\n}\n.kindFill_f17b2159df.colorNegative_b983ad52b8.clickable_e214ecafa9:hover, .kindFill_f17b2159df.colorNegative_b983ad52b8.clickable_e214ecafa9:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill_f17b2159df.colorPositive_826f99de95 {\n background-color: var(--positive-color);\n}\n.kindFill_f17b2159df.colorPositive_826f99de95 svg path {\n fill: var(--positive-color);\n}\n.kindFill_f17b2159df.colorPositive_826f99de95.clickable_e214ecafa9:hover, .kindFill_f17b2159df.colorPositive_826f99de95.clickable_e214ecafa9:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine_3922b846a7 {\n border: 1px solid currentColor;\n padding: 1px var(--space-8);\n}\n.kindLine_3922b846a7 .legWrapper_7d05998977 {\n inset-inline-start: -1px;\n top: calc(100% + 1px);\n}\n.kindLine_3922b846a7.colorPrimary_c2fad6531e {\n color: var(--primary-color);\n}\n.kindLine_3922b846a7.colorPrimary_c2fad6531e svg path {\n fill: var(--primary-color);\n}\n.kindLine_3922b846a7.colorPrimary_c2fad6531e.clickable_e214ecafa9:hover, .kindLine_3922b846a7.colorPrimary_c2fad6531e.clickable_e214ecafa9:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_3922b846a7.colorDark_eef5249613 {\n color: var(--inverted-color-background);\n}\n.kindLine_3922b846a7.colorDark_eef5249613 svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine_3922b846a7.colorDark_eef5249613.clickable_e214ecafa9:hover, .kindLine_3922b846a7.colorDark_eef5249613.clickable_e214ecafa9:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine_3922b846a7.colorNegative_b983ad52b8 {\n color: var(--negative-color);\n}\n.kindLine_3922b846a7.colorNegative_b983ad52b8 svg path {\n fill: var(--negative-color);\n}\n.kindLine_3922b846a7.colorNegative_b983ad52b8.clickable_e214ecafa9:hover, .kindLine_3922b846a7.colorNegative_b983ad52b8.clickable_e214ecafa9:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine_3922b846a7.colorPositive_826f99de95 {\n color: var(--positive-color);\n}\n.kindLine_3922b846a7.colorPositive_826f99de95 svg path {\n fill: var(--positive-color);\n}\n.kindLine_3922b846a7.colorPositive_826f99de95.clickable_e214ecafa9:hover, .kindLine_3922b846a7.colorPositive_826f99de95.clickable_e214ecafa9:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine_3922b846a7 .smallText_abe7ec4d4f {\n line-height: 14px;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=Label.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={celebration:"
|
|
1
|
+
var e={celebration:"celebration_1a9b659c5d",svg:"svg_143ecd4c9c",stroke:"stroke_f93c9457ea","stroke-rotate":"stroke-rotate_a7bcc118a8",base:"base_389245841b",fade:"fade_aa69963235",first:"first_935169d9ba",second:"second_be9dd5a85b",third:"third_c9b098894a","gradient-text-fill":"gradient-text-fill_aa33e1156b"};!function(e){var n="s_id-f81803454b25_4_0_1";if("undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0];if(a.querySelector("#"+n))return;var t=document.createElement("style");t.id=n,a.firstChild?a.insertBefore(t,a.firstChild):a.appendChild(t),t.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}(".celebration_1a9b659c5d {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration_1a9b659c5d .svg_143ecd4c9c {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n height: 100%;\n width: 100%;\n}\n.celebration_1a9b659c5d .svg_143ecd4c9c .stroke_f93c9457ea {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate_a7bcc118a8 cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration_1a9b659c5d .svg_143ecd4c9c .stroke_f93c9457ea.base_389245841b {\n stroke: var(--color-egg_yolk);\n animation: fade_aa69963235 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration_1a9b659c5d .svg_143ecd4c9c .stroke_f93c9457ea.first_935169d9ba {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration_1a9b659c5d .svg_143ecd4c9c .stroke_f93c9457ea.second_be9dd5a85b {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration_1a9b659c5d .svg_143ecd4c9c .stroke_f93c9457ea.third_c9b098894a {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration_1a9b659c5d.celebration_1a9b659c5d [data-celebration-text] {\n background-size: 300% 100%;\n background-repeat: no-repeat;\n background-clip: text;\n -webkit-background-clip: text;\n color: transparent;\n animation: gradient-text-fill_aa33e1156b 680ms linear forwards;\n background-image: linear-gradient(to right, var(--primary-color) 30%, var(--color-stuck-red) 40%, var(--color-done-green) 60%, var(--color-egg_yolk) 85%, transparent 90%);\n}\n@keyframes fade_aa69963235 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate_a7bcc118a8 {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill_aa33e1156b {\n from {\n background-position: 150% 0;\n }\n to {\n background-position: 0% 0;\n }\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=LabelCelebrationAnimation.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n={link:"
|
|
1
|
+
var n={link:"link_5f2ba6d4b3","focus-visible":"focus-visible_31ee638e26",colorOnPrimary:"colorOnPrimary_306927aec1",colorOnInverted:"colorOnInverted_cb14cd7c3d",text:"text_8426cc4e5c",inlineText:"inlineText_bf8abe5306",inheritFontSize:"inheritFontSize_9862af2eb2",iconStart:"iconStart_875552118f",iconEnd:"iconEnd_b1cfff4e94"};!function(n){var e="s_id-f634b8f1d921_4_0_1";if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0];if(i.querySelector("#"+e))return;var t=document.createElement("style");t.id=e,i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n.link_5f2ba6d4b3 {\n display: flex;\n align-items: center;\n color: var(--link-color);\n font: var(--font-text2-normal);\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n text-decoration: none;\n writing-mode: horizontal-tb;\n}\n.link_5f2ba6d4b3:focus-visible, .link_5f2ba6d4b3.focus-visible_31ee638e26 {\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.link_5f2ba6d4b3:focus:not(.focus-visible_31ee638e26) {\n outline: none;\n}\n.link_5f2ba6d4b3.colorOnPrimary_306927aec1 {\n color: var(--text-color-on-primary);\n}\n.link_5f2ba6d4b3.colorOnInverted_cb14cd7c3d {\n color: var(--text-color-on-inverted);\n}\n.link_5f2ba6d4b3:hover .text_8426cc4e5c {\n text-decoration: underline;\n color: inherit;\n}\n.link_5f2ba6d4b3.inlineText_bf8abe5306 {\n display: inline-flex;\n align-items: unset;\n}\n.link_5f2ba6d4b3.inheritFontSize_9862af2eb2 {\n font-size: inherit;\n line-height: inherit;\n}\n.iconStart_875552118f {\n line-height: 24px;\n margin-inline-end: var(--space-4);\n}\n.iconEnd_b1cfff4e94 {\n line-height: 24px;\n margin-inline-start: var(--space-4);\n}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=Link.module.scss.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineProperty as e}from"../../../../_virtual/_rollupPluginBabelHelpers.js";import t from"classnames";import a,{forwardRef as i,useRef as s,useCallback as o,useMemo as l}from"react";import r from"./RadioButton.module.scss.js";import d from"../../../tooltip/dist/Tooltip/Tooltip.js";import n from"../../../typography/dist/Text/Text.js";import c from"../../../clickable/dist/Clickable/Clickable.js";import{useMergeRef as m}from"../../../../shared/dist/hooks/useMergeRef.js";import{getTestId as u}from"../../../../shared/dist/tests/test-ids-utils.js";import{ComponentDefaultTestId as p,ComponentVibeId as b}from"../../../../shared/dist/tests/constants.js";var f=i((function(i,f){var v=i.className,h=i.text,T=void 0===h?"":h,N=i.value,C=void 0===N?"":N,k=i.name,O=void 0===k?"":k,j=i.labelClassName,B=i.radioButtonClassName,E=i.disabled,R=void 0!==E&&E,_=i.autoFocus,x=i.disabledReason,y=i.defaultChecked,A=void 0!==y&&y,I=i.children,g=i.onSelect,D=i.checked,L=i.retainChildClick,U=void 0===L||L,F=i.childrenTabIndex,P=void 0===F?0:F,H=i.noLabelAnimation,M=void 0!==H&&H,S=i["aria-label"],q=i["aria-describedby"],w=i.id,z=i["data-testid"],G=s(),J=m(f,G),K=o((function(){!R&&U&&(G.current&&(G.current.checked=!0),g&&g(null))}),[g,G,R,U]),Q=l((function(){return void 0!==D?{checked:D}:{defaultChecked:A}}),[D,A]);return a.createElement(d,{content:R?x:null},a.createElement("label",{"data-testid":z||u(p.RADIO_BUTTON,w),"data-vibe":b.RADIO_BUTTON,className:t(r.radioButton,v,e(e({},r.disabled,R),"disabled",R))},a.createElement("span",{className:t(r.inputContainer)},a.createElement("input",Object.assign({className:t(r.input),type:"radio",value:C,name:O,autoFocus:_,disabled:R},Q,{"aria-label":S,"aria-describedby":q,onChange:g,ref:J})),a.createElement("span",{"data-testid":u(p.RADIO_BUTTON_CONTROL,w),className:t(r.control,B,e({},r.labelAnimation,!M))})),T&&a.createElement(n,{element:"span",type:"text2",className:j,"data-testid":u(p.RADIO_BUTTON_LABEL,w)},T),I&&a.createElement(c,{onClick:K,tabIndex:P},I)))}));export{f as default};
|
|
2
|
+
//# sourceMappingURL=RadioButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.js","sources":["../../../../../../components/radio-button/dist/RadioButton/RadioButton.js"],"sourcesContent":["import e from\"classnames\";import a,{forwardRef as t,useRef as l,useCallback as i,useMemo as n}from\"react\";import{useMergeRef as r,getTestId as s,ComponentDefaultTestId as d,ComponentVibeId as o}from\"@vibe/shared\";import{Clickable as c}from\"@vibe/clickable\";import{Text as m}from\"@vibe/typography\";import{Tooltip as b}from\"@vibe/tooltip\";import u from\"./RadioButton.module.scss.js\";const p=t((({className:t,text:p=\"\",value:N=\"\",name:f=\"\",labelClassName:h,radioButtonClassName:O,disabled:C=!1,autoFocus:T,disabledReason:k,defaultChecked:v=!1,children:B,onSelect:E,checked:A,retainChildClick:R=!0,childrenTabIndex:y=0,noLabelAnimation:I=!1,\"aria-label\":_,\"aria-describedby\":x,id:D,\"data-testid\":L},U)=>{const g=l(),j=r(U,g),F=i((()=>{!C&&R&&(g.current&&(g.current.checked=!0),E&&E(null))}),[E,g,C,R]),S=n((()=>void 0!==A?{checked:A}:{defaultChecked:v}),[A,v]);return a.createElement(b,{content:C?k:null},a.createElement(\"label\",{\"data-testid\":L||s(d.RADIO_BUTTON,D),\"data-vibe\":o.RADIO_BUTTON,className:e(u.radioButton,t,{[u.disabled]:C,disabled:C})},a.createElement(\"span\",{className:e(u.inputContainer)},a.createElement(\"input\",Object.assign({className:e(u.input),type:\"radio\",value:N,name:f,autoFocus:T,disabled:C},S,{\"aria-label\":_,\"aria-describedby\":x,onChange:E,ref:j})),a.createElement(\"span\",{\"data-testid\":s(d.RADIO_BUTTON_CONTROL,D),className:e(u.control,O,{[u.labelAnimation]:!I})})),p&&a.createElement(m,{element:\"span\",type:\"text2\",className:h,\"data-testid\":s(d.RADIO_BUTTON_LABEL,D)},p),B&&a.createElement(c,{onClick:F,tabIndex:y},B)))}));export{p as default};\n//# sourceMappingURL=RadioButton.js.map\n"],"names":["p","t","_ref","U","className","_ref$text","text","_ref$value","value","N","_ref$name","name","f","h","labelClassName","O","radioButtonClassName","_ref$disabled","disabled","C","T","autoFocus","k","disabledReason","_ref$defaultChecked","defaultChecked","v","B","children","E","onSelect","A","checked","_ref$retainChildClick","retainChildClick","R","_ref$childrenTabIndex","childrenTabIndex","y","_ref$noLabelAnimation","noLabelAnimation","I","_","x","D","id","L","g","l","j","r","F","i","current","S","n","a","createElement","b","content","s","d","RADIO_BUTTON","o","e","u","radioButton","_defineProperty","inputContainer","Object","assign","input","type","onChange","ref","RADIO_BUTTON_CONTROL","control","labelAnimation","m","element","RADIO_BUTTON_LABEL","c","onClick","tabIndex"],"mappings":"opBA+EA,IAAMA,EAAcC,GAClB,SAAAC,EAuBEC,GAAA,IArBEF,EAAAC,EAAAE,UAAAC,EAAAH,EACAI,KAAAN,OAAO,IAAPK,EAAO,GAAAA,EAAAE,EAAAL,EACPM,MAAAC,OAAQ,IAARF,EAAQ,GAAAA,EAAAG,EAAAR,EACRS,KAAAC,OAAO,IAAPF,EAAO,GAAAA,EACPG,EAAAX,EAAAY,eACAC,E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,CAAA,aAAAZ,EAAA,mBACMC,EAClB8B,SAAU5C,EACV6C,IAAKzB,KAEPO,EAAAC,cAAA,OAAA,CAAA,cACeG,EAAUC,EAAuBc,qBAAsB/B,GACpExC,UAAW4D,EAAGC,EAAOW,QAAS7D,EAAAoD,EAC3BF,CAAAA,EAAAA,EAAOY,gBAAkBpC,OAI/BzC,GACCwD,EAACC,cAAAqB,EACC,CAAAC,QAAQ,OACRP,KAAK,QACLpE,UAAWS,EACE,cAAA+C,EAAUC,EAAuBmB,mBAAoBpC,IAEjE5C,GAGJ2B,GACC6B,EAAAC,cAACwB,EAAU,CAAAC,QAAS/B,EAAcgC,SAAU7C,GACzCX,IAIC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n={radioButton:"radioButton_25f9be3d1c",inputContainer:"inputContainer_3330cda671",input:"input_2c0b682072",control:"control_89360dd2ef",labelAnimation:"labelAnimation_06aecb2611",radioCheckedAnimation:"radioCheckedAnimation_aeec13b900",disabled:"disabled_372306ffc9",label:"label_d765fcfcb4"};!function(n){var e="s_id-f0fb17b54d8d_4_0_0";if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+e))return;var r=document.createElement("style");r.id=e,o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable unit-disallowed-list */\n.radioButton_25f9be3d1c {\n display: grid;\n grid-template-columns: 1.5em auto;\n grid-gap: 0.5em;\n cursor: pointer;\n}\n.inputContainer_3330cda671 {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.input_2c0b682072 {\n opacity: 0;\n width: 0;\n height: 0;\n margin: 0;\n}\n.control_89360dd2ef {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1em;\n height: 1em;\n border: 0.1em solid;\n box-sizing: border-box;\n border-color: var(--ui-border-color);\n border-radius: 50%;\n transition: border-width var(--motion-productive-medium) var(--motion-timing-enter);\n background-color: var(--secondary-background-color);\n}\ninput:checked + .control_89360dd2ef {\n border-color: var(--primary-color);\n border-width: 0.3em;\n}\ninput:checked + .labelAnimation_06aecb2611 {\n animation-name: radioCheckedAnimation_aeec13b900;\n animation-duration: var(--motion-productive-medium);\n animation-timing-function: var(--motion-timing-enter);\n animation-fill-mode: forwards;\n}\ninput:disabled + .control_89360dd2ef {\n border: 0.5em solid;\n border-color: var(--disabled-background-color);\n border-radius: 50%;\n}\ninput:checked:disabled + .control_89360dd2ef {\n border: 0.3em solid;\n border-color: var(--disabled-background-color);\n background-color: var(--secondary-text-color);\n}\n.radioButton_25f9be3d1c.disabled_372306ffc9 {\n cursor: not-allowed;\n}\n.radioButton_25f9be3d1c.disabled_372306ffc9 .label_d765fcfcb4 {\n color: var(--disabled-text-color);\n}\n.inputContainer_3330cda671 input:focus-visible + .control_89360dd2ef {\n outline: none;\n border-color: var(--primary-color);\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5);\n border-radius: 50%;\n}\n.radioButton_25f9be3d1c:hover .inputContainer_3330cda671 input:enabled:checked + .control_89360dd2ef {\n border-color: var(--primary-hover-color);\n}\n.radioButton_25f9be3d1c:hover .inputContainer_3330cda671 input:enabled:not(:checked) + .control_89360dd2ef,\n.radioButton_25f9be3d1c:focus-within .inputContainer_3330cda671 input:enabled:not(:checked) + .control_89360dd2ef {\n border-color: var(--primary-text-color);\n}\n@keyframes radioCheckedAnimation_aeec13b900 {\n 0% {\n height: 1em;\n width: 1em;\n }\n 50% {\n height: 0.8em;\n width: 0.8em;\n }\n 100% {\n height: 1em;\n width: 1em;\n }\n}");export{n as default};
|
|
2
|
+
//# sourceMappingURL=RadioButton.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../hooks/dist/useAfterFirstRender/index.js"],"sourcesContent":["import{useRef as t,useEffect as r}from\"react\";function e(){const e=t(!1);return r((()=>{const t=setTimeout((()=>{e.current=!0}),0);return()=>clearTimeout(t)}),[]),e}export{e as default};\n//# sourceMappingURL=index.js.map\n"],"names":["e","t","r","setTimeout","current","clearTimeout"],"mappings":"8CAEc,SAAUA,IACtB,IAAMA,EAAqBC,GAAO,GASlC,OAPAC,GAAU,WACR,IAAMD,EAAQE,YAAW,WACvBH,EAAmBI,SAAA,CAClB,GAAA,GACH,OAAO,WAAA,OAAMC,aAAaJ,EAAM,CAAA,GAC/B,IAEID,CACT"}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { default as useKeyEvent } from "./useKeyEvent";
|
|
2
2
|
export { default as useEventListener } from "./useEventListener";
|
|
3
3
|
export { default as useDebounceEvent } from "./useDebounceEvent";
|
|
4
|
-
export { useClickOutside, useIsOverflowing, useResizeObserver } from "@vibe/hooks";
|
|
5
|
-
export { default as useAfterFirstRender } from "./useAfterFirstRender";
|
|
4
|
+
export { useAfterFirstRender, useClickOutside, useIsOverflowing, useResizeObserver } from "@vibe/hooks";
|
|
6
5
|
export { default as useTimeout } from "./useTimeout";
|
|
7
6
|
export { default as usePrevious } from "./usePrevious";
|
|
8
7
|
export { default as useSetFocus } from "./useSetFocus";
|
|
@@ -4625,7 +4625,7 @@
|
|
|
4625
4625
|
"subComponents": []
|
|
4626
4626
|
},
|
|
4627
4627
|
{
|
|
4628
|
-
"filePath": "src/
|
|
4628
|
+
"filePath": "src/Counter/Counter.tsx",
|
|
4629
4629
|
"aggregator": "core",
|
|
4630
4630
|
"symbols": [
|
|
4631
4631
|
"default as Counter",
|
|
@@ -5378,6 +5378,17 @@
|
|
|
5378
5378
|
"name": "boolean"
|
|
5379
5379
|
}
|
|
5380
5380
|
},
|
|
5381
|
+
"positioningActive": {
|
|
5382
|
+
"defaultValue": {
|
|
5383
|
+
"value": "true"
|
|
5384
|
+
},
|
|
5385
|
+
"description": "Controls whether Floating UI actively tracks the dialog's position (autoUpdate +\nResizeObserver + scroll listeners + middleware). Defaults to `true` and is always gated by\nthe dialog's shown state, so leaving it `undefined` preserves the existing behavior exactly\n(position is tracked only while the dialog is shown).\n\nSet this to `false` (or your own \"is really open\" state) when the dialog is kept permanently\nmounted (e.g. via `open`) but its content is only visible some of the time, so position\ntracking runs only while visible. This avoids one always-on autoUpdate/ResizeObserver per\ninstance, which is costly when many such dialogs are rendered together (e.g. dropdowns in a\ntable).",
|
|
5386
|
+
"name": "positioningActive",
|
|
5387
|
+
"required": false,
|
|
5388
|
+
"type": {
|
|
5389
|
+
"name": "boolean"
|
|
5390
|
+
}
|
|
5391
|
+
},
|
|
5381
5392
|
"showTriggerIgnoreClass": {
|
|
5382
5393
|
"defaultValue": null,
|
|
5383
5394
|
"description": "CSS class names that, when present on target, prevent showing the dialog.",
|
|
@@ -13710,7 +13721,7 @@
|
|
|
13710
13721
|
"previewUrl": "https://vibe.monday.com/iframe.html?id=components-progressbar--overview&viewMode=story&shortcuts=false&singleStory=true"
|
|
13711
13722
|
},
|
|
13712
13723
|
{
|
|
13713
|
-
"filePath": "src/
|
|
13724
|
+
"filePath": "src/RadioButton/RadioButton.tsx",
|
|
13714
13725
|
"aggregator": "core",
|
|
13715
13726
|
"symbols": [
|
|
13716
13727
|
"default as RadioButton",
|
|
@@ -19810,6 +19821,15 @@
|
|
|
19810
19821
|
"name": "boolean"
|
|
19811
19822
|
}
|
|
19812
19823
|
},
|
|
19824
|
+
"positioningActive": {
|
|
19825
|
+
"defaultValue": null,
|
|
19826
|
+
"description": "Controls whether Floating UI actively tracks the dialog's position (autoUpdate +\nResizeObserver + scroll listeners + middleware). Defaults to `true` and is always gated by\nthe dialog's shown state, so leaving it `undefined` preserves the existing behavior exactly\n(position is tracked only while the dialog is shown).\n\nSet this to `false` (or your own \"is really open\" state) when the dialog is kept permanently\nmounted (e.g. via `open`) but its content is only visible some of the time, so position\ntracking runs only while visible. This avoids one always-on autoUpdate/ResizeObserver per\ninstance, which is costly when many such dialogs are rendered together (e.g. dropdowns in a\ntable).",
|
|
19827
|
+
"name": "positioningActive",
|
|
19828
|
+
"required": false,
|
|
19829
|
+
"type": {
|
|
19830
|
+
"name": "boolean"
|
|
19831
|
+
}
|
|
19832
|
+
},
|
|
19813
19833
|
"showTriggerIgnoreClass": {
|
|
19814
19834
|
"defaultValue": null,
|
|
19815
19835
|
"description": "CSS class names that, when present on target, prevent showing the dialog.",
|
package/dist/metadata.json
CHANGED
|
@@ -4625,7 +4625,7 @@
|
|
|
4625
4625
|
"subComponents": []
|
|
4626
4626
|
},
|
|
4627
4627
|
{
|
|
4628
|
-
"filePath": "src/
|
|
4628
|
+
"filePath": "src/Counter/Counter.tsx",
|
|
4629
4629
|
"aggregator": "core",
|
|
4630
4630
|
"symbols": [
|
|
4631
4631
|
"default as Counter",
|
|
@@ -5378,6 +5378,17 @@
|
|
|
5378
5378
|
"name": "boolean"
|
|
5379
5379
|
}
|
|
5380
5380
|
},
|
|
5381
|
+
"positioningActive": {
|
|
5382
|
+
"defaultValue": {
|
|
5383
|
+
"value": "true"
|
|
5384
|
+
},
|
|
5385
|
+
"description": "Controls whether Floating UI actively tracks the dialog's position (autoUpdate +\nResizeObserver + scroll listeners + middleware). Defaults to `true` and is always gated by\nthe dialog's shown state, so leaving it `undefined` preserves the existing behavior exactly\n(position is tracked only while the dialog is shown).\n\nSet this to `false` (or your own \"is really open\" state) when the dialog is kept permanently\nmounted (e.g. via `open`) but its content is only visible some of the time, so position\ntracking runs only while visible. This avoids one always-on autoUpdate/ResizeObserver per\ninstance, which is costly when many such dialogs are rendered together (e.g. dropdowns in a\ntable).",
|
|
5386
|
+
"name": "positioningActive",
|
|
5387
|
+
"required": false,
|
|
5388
|
+
"type": {
|
|
5389
|
+
"name": "boolean"
|
|
5390
|
+
}
|
|
5391
|
+
},
|
|
5381
5392
|
"showTriggerIgnoreClass": {
|
|
5382
5393
|
"defaultValue": null,
|
|
5383
5394
|
"description": "CSS class names that, when present on target, prevent showing the dialog.",
|
|
@@ -13710,7 +13721,7 @@
|
|
|
13710
13721
|
"previewUrl": "https://vibe.monday.com/iframe.html?id=components-progressbar--overview&viewMode=story&shortcuts=false&singleStory=true"
|
|
13711
13722
|
},
|
|
13712
13723
|
{
|
|
13713
|
-
"filePath": "src/
|
|
13724
|
+
"filePath": "src/RadioButton/RadioButton.tsx",
|
|
13714
13725
|
"aggregator": "core",
|
|
13715
13726
|
"symbols": [
|
|
13716
13727
|
"default as RadioButton",
|
|
@@ -19810,6 +19821,15 @@
|
|
|
19810
19821
|
"name": "boolean"
|
|
19811
19822
|
}
|
|
19812
19823
|
},
|
|
19824
|
+
"positioningActive": {
|
|
19825
|
+
"defaultValue": null,
|
|
19826
|
+
"description": "Controls whether Floating UI actively tracks the dialog's position (autoUpdate +\nResizeObserver + scroll listeners + middleware). Defaults to `true` and is always gated by\nthe dialog's shown state, so leaving it `undefined` preserves the existing behavior exactly\n(position is tracked only while the dialog is shown).\n\nSet this to `false` (or your own \"is really open\" state) when the dialog is kept permanently\nmounted (e.g. via `open`) but its content is only visible some of the time, so position\ntracking runs only while visible. This avoids one always-on autoUpdate/ResizeObserver per\ninstance, which is costly when many such dialogs are rendered together (e.g. dropdowns in a\ntable).",
|
|
19827
|
+
"name": "positioningActive",
|
|
19828
|
+
"required": false,
|
|
19829
|
+
"type": {
|
|
19830
|
+
"name": "boolean"
|
|
19831
|
+
}
|
|
19832
|
+
},
|
|
19813
19833
|
"showTriggerIgnoreClass": {
|
|
19814
19834
|
"defaultValue": null,
|
|
19815
19835
|
"description": "CSS class names that, when present on target, prevent showing the dialog.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type BadgeAlignments, type BadgeAnchor, type BadgeType } from "./Badge.types";
|
|
3
3
|
import { type IndicatorProps } from "./Indicator/Indicator";
|
|
4
|
-
import { type CounterProps } from "
|
|
4
|
+
import { type CounterProps } from "@vibe/counter";
|
|
5
5
|
import { type VibeComponentProps } from "../../types";
|
|
6
6
|
export interface BadgeBaseProps extends VibeComponentProps {
|
|
7
7
|
/**
|
|
@@ -47,6 +47,7 @@ export declare function getPropsForButton(button?: ModalFooterActionProps, butto
|
|
|
47
47
|
disable?: boolean;
|
|
48
48
|
open?: boolean;
|
|
49
49
|
isOpen?: boolean;
|
|
50
|
+
positioningActive?: boolean;
|
|
50
51
|
showTriggerIgnoreClass?: string | string[];
|
|
51
52
|
hideTriggerIgnoreClass?: string | string[];
|
|
52
53
|
animationType?: import("@vibe/dialog").DialogAnimationType;
|
|
@@ -12,7 +12,7 @@ export * from "./Chips";
|
|
|
12
12
|
export { Clickable, type ClickableProps, useClickableProps } from "@vibe/clickable";
|
|
13
13
|
export * from "./ColorPicker";
|
|
14
14
|
export * from "./Combobox";
|
|
15
|
-
export * from "
|
|
15
|
+
export * from "@vibe/counter";
|
|
16
16
|
export * from "./DatePicker";
|
|
17
17
|
export { Dialog, DialogContentContainer, type DialogProps, type DialogContentContainerProps, type DialogType, type DialogSize, type DialogPosition, type DialogTriggerEvent, type DialogAnimationType, type DialogOffset, type DialogEvent } from "@vibe/dialog";
|
|
18
18
|
export * from "@vibe/divider";
|
|
@@ -44,7 +44,7 @@ export * from "./NumberField";
|
|
|
44
44
|
export * from "./Modal";
|
|
45
45
|
export * from "./MultiStepIndicator";
|
|
46
46
|
export * from "@vibe/progress-bars";
|
|
47
|
-
export * from "
|
|
47
|
+
export * from "@vibe/radio-button";
|
|
48
48
|
export * from "./Search";
|
|
49
49
|
export * from "./Skeleton";
|
|
50
50
|
export * from "./Slider";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { default as useKeyEvent } from "./useKeyEvent";
|
|
2
2
|
export { default as useEventListener } from "./useEventListener";
|
|
3
3
|
export { default as useDebounceEvent } from "./useDebounceEvent";
|
|
4
|
-
export { useClickOutside, useIsOverflowing, useResizeObserver } from "@vibe/hooks";
|
|
5
|
-
export { default as useAfterFirstRender } from "./useAfterFirstRender";
|
|
4
|
+
export { useAfterFirstRender, useClickOutside, useIsOverflowing, useResizeObserver } from "@vibe/hooks";
|
|
6
5
|
export { default as useTimeout } from "./useTimeout";
|
|
7
6
|
export { default as usePrevious } from "./usePrevious";
|
|
8
7
|
export { default as useSetFocus } from "./useSetFocus";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={accordion:"accordion",accordionItemExpandCollapse:"accordionItemExpandCollapse",accordionItemExpandCollapseLast:"accordionItemExpandCollapseLast"};!function(e){const o="s_id-
|
|
1
|
+
var e={accordion:"accordion",accordionItemExpandCollapse:"accordionItemExpandCollapse",accordionItemExpandCollapseLast:"accordionItemExpandCollapseLast"};!function(e){const o="s_id-0e4aa6b3ed9f_4_5_8";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+o))return;const d=document.createElement("style");d.id=o,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[o]=e)}(".accordion {\n height: fit-content;\n border: 1px solid var(--ui-border-color);\n box-sizing: border-box;\n border-radius: var(--border-radius-small);\n}\n\n.accordion .accordionItemExpandCollapse {\n border-radius: 0;\n border-top: none;\n border-inline: none;\n border-color: var(--ui-border-color);\n}\n\n.accordion .accordionItemExpandCollapseLast {\n border-bottom: none;\n}");export{e as default};
|
|
2
2
|
//# sourceMappingURL=Accordion.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n={alertBanner:"alertBanner",primary:"primary",positive:"positive",negative:"negative",dark:"dark",warning:"warning",closeBtn:"closeBtn",content:"content",closeButtonWrapper:"closeButtonWrapper",ellipsis:"ellipsis",contentItem:"contentItem",contentItemText:"contentItemText"};!function(n){const e="s_id-
|
|
1
|
+
var n={alertBanner:"alertBanner",primary:"primary",positive:"positive",negative:"negative",dark:"dark",warning:"warning",closeBtn:"closeBtn",content:"content",closeButtonWrapper:"closeButtonWrapper",ellipsis:"ellipsis",contentItem:"contentItem",contentItemText:"contentItemText"};!function(n){const e="s_id-d6894f952adc_4_5_8";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const o=document.createElement("style");o.id=e,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".alertBanner {\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n\n.primary {\n background-color: var(--primary-color);\n}\n\n.positive {\n background-color: var(--positive-color);\n}\n\n.negative {\n background-color: var(--negative-color);\n}\n\n.dark {\n background-color: var(--inverted-color-background);\n}\n\n.warning {\n background-color: var(--warning-color);\n color: var(--fixed-dark-color);\n}\n\n.warning .closeBtn {\n color: var(--fixed-dark-color);\n}\n\n.content {\n flex: 1 1 auto;\n display: flex;\n height: 100%;\n min-width: 0;\n align-items: center;\n justify-content: center;\n padding-inline-start: var(--space-16);\n}\n\n.closeButtonWrapper {\n flex: 0 0 40px;\n position: relative;\n height: 100%;\n min-width: 0;\n}\n\n.closeBtn {\n position: absolute;\n inset-inline-end: 4px;\n top: 4px;\n}\n\n.ellipsis {\n flex: 0 1 auto;\n}\n\n.contentItem {\n flex: 0 0 auto;\n min-width: 0;\n}\n\n.contentItemText {\n flex: 0 1 auto;\n min-width: 0;\n}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=AlertBanner.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n={bannerButton:"bannerButton",darkBackground:"darkBackground",marginLeft:"marginLeft"};!function(n){const e="s_id-
|
|
1
|
+
var n={bannerButton:"bannerButton",darkBackground:"darkBackground",marginLeft:"marginLeft"};!function(n){const e="s_id-35a7e70934a8_4_5_8";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const a=document.createElement("style");a.id=e,t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".bannerButton {\n -webkit-font-smoothing: auto;\n -moz-osx-font-smoothing: auto;\n}\n\n.dark-app-theme .darkBackground .bannerButton {\n background-color: var(--dark-background-color);\n}\n\n.marginLeft {\n margin-inline-start: var(--space-8);\n}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=AlertBannerButton.module.scss.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n={bannerLink:"bannerLink",bannerLinkTextColorOnPrimary:"bannerLinkTextColorOnPrimary",bannerLinkTextColorOnInverted:"bannerLinkTextColorOnInverted",marginLeft:"marginLeft"};!function(n){const e="s_id-
|
|
1
|
+
var n={bannerLink:"bannerLink",bannerLinkTextColorOnPrimary:"bannerLinkTextColorOnPrimary",bannerLinkTextColorOnInverted:"bannerLinkTextColorOnInverted",marginLeft:"marginLeft"};!function(n){const e="s_id-b8e9178179b1_4_5_8";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const r=document.createElement("style");r.id=e,t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".bannerLink {\n text-decoration: underline;\n -webkit-font-smoothing: auto;\n -moz-osx-font-smoothing: auto;\n}\n\n.bannerLinkTextColorOnPrimary {\n color: var(--text-color-on-primary);\n}\n\n.bannerLinkTextColorOnInverted {\n color: var(--text-color-on-inverted);\n}\n\n.marginLeft {\n margin-inline-start: var(--space-8);\n}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=AlertBannerLink.module.scss.js.map
|