@vibe/core 4.5.19 → 4.5.20
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/base/dist/BaseInput/BaseInput.module.scss.js +1 -1
- package/dist/components/a11y/dist/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/components/accordion/dist/Accordion/Accordion.module.scss.js +1 -1
- package/dist/components/alert-banner/dist/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/components/alert-banner/dist/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/components/alert-banner/dist/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/components/alert-banner/dist/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/components/attention-box/dist/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/components/attention-box/dist/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
- package/dist/components/attention-box/dist/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
- package/dist/components/attention-box/dist/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/components/attention-box/dist/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
- package/dist/components/attention-box/dist/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
- package/dist/components/avatar/dist/Avatar/Avatar.module.scss.js +1 -1
- package/dist/components/avatar/dist/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/components/avatar/dist/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/components/badge/dist/Badge/Badge.module.scss.js +1 -1
- package/dist/components/badge/dist/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/components/button/dist/Button/Button.module.scss.js +1 -1
- package/dist/components/button-group/dist/ButtonGroup/ButtonGroup.module.scss.js +1 -1
- package/dist/components/checkbox/dist/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/components/chips/dist/Chips/Chips.module.scss.js +1 -1
- package/dist/components/clickable/dist/Clickable/Clickable.module.scss.js +1 -1
- package/dist/components/color-picker/dist/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/components/color-picker/dist/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/components/color-picker/dist/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/components/color-picker/dist/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/components/counter/dist/Counter/Counter.module.scss.js +1 -1
- package/dist/components/dialog/dist/Dialog/Dialog.module.scss.js +1 -1
- package/dist/components/dialog/dist/Dialog/components/DialogContent/DialogContent.module.scss.js +1 -1
- package/dist/components/dialog/dist/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
- package/dist/components/divider/dist/Divider/Divider.module.scss.js +1 -1
- package/dist/components/editable/dist/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/components/editable/dist/EditableText/EditableText.module.scss.js +1 -1
- package/dist/components/editable/dist/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/components/empty-state/dist/EmptyState/EmptyState.js +2 -0
- package/dist/components/empty-state/dist/EmptyState/EmptyState.js.map +1 -0
- package/dist/components/empty-state/dist/EmptyState/EmptyState.module.scss.js +2 -0
- package/dist/components/empty-state/dist/_virtual/_tslib.js +2 -0
- package/dist/components/empty-state/dist/_virtual/_tslib.js.map +1 -0
- package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
- package/dist/components/formatted-number/dist/FormattedNumber/FormattedNumber.module.scss.js +1 -1
- package/dist/components/icon/dist/Icon/Icon.module.scss.js +1 -1
- package/dist/components/icon-button/dist/IconButton/IconButton.module.scss.js +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/info/dist/Info/Info.js +2 -0
- package/dist/components/info/dist/Info/Info.js.map +1 -0
- package/dist/components/info/dist/Info/components/InfoDialogContent/InfoDialogContent.js +2 -0
- package/dist/components/info/dist/Info/components/InfoDialogContent/InfoDialogContent.js.map +1 -0
- package/dist/components/info/dist/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +2 -0
- package/dist/components/info/dist/Info/components/InfoLink/InfoLink.js +2 -0
- package/dist/components/info/dist/Info/components/InfoLink/InfoLink.js.map +1 -0
- package/dist/components/info/dist/Info/components/InfoLink/InfoLink.module.scss.js +2 -0
- package/dist/components/info/dist/_virtual/_tslib.js +2 -0
- package/dist/components/info/dist/_virtual/_tslib.js.map +1 -0
- 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/layout/dist/Box/Box.module.scss.js +1 -1
- package/dist/components/layout/dist/Flex/Flex.module.scss.js +1 -1
- package/dist/components/link/dist/Link/Link.module.scss.js +1 -1
- package/dist/components/loader/dist/Loader/Loader.module.scss.js +1 -1
- package/dist/components/progress-bars/dist/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +1 -1
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBar.module.scss.js +1 -1
- package/dist/components/radio-button/dist/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/components/skeleton/dist/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/components/tabs/dist/Tab/Tab.module.scss.js +1 -1
- package/dist/components/tabs/dist/TabList/TabList.module.scss.js +1 -1
- package/dist/components/tabs/dist/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/components/tabs/dist/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/components/text-with-highlight/dist/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/components/toggle/dist/Switch/Switch.module.scss.js +1 -1
- package/dist/components/toggle/dist/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/components/toggle/dist/Toggle/Toggle.module.scss.js +1 -1
- package/dist/components/toggle/dist/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/components/tooltip/dist/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/components/transitions/dist/SlideTransition/SlideTransition.module.scss.js +1 -1
- package/dist/components/transitions/dist/TransitionView/TransitionView.module.scss.js +1 -1
- package/dist/components/typography/dist/Heading/Heading.module.scss.js +1 -1
- package/dist/components/typography/dist/Text/Text.module.scss.js +1 -1
- package/dist/components/typography/dist/Typography/Typography.module.scss.js +1 -1
- package/dist/components/virtualized-grid/dist/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/components/virtualized-list/dist/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/metadata/components.json +29 -2
- package/dist/metadata.json +29 -2
- package/dist/mocked_classnames/components/index.d.ts +2 -2
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/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/Combobox/Combobox.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.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/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/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/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/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/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/shared/dist/tests/constants.js +1 -1
- package/dist/shared/dist/tests/constants.js.map +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/src/components/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/Combobox/Combobox.module.scss.js +1 -1
- package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/src/components/DatePicker/DatePickerHeader.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBaseList/DropdownBaseList.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/Menu/Menu.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/MultiSelectedValues/MultiSelectedValues.module.scss.js +1 -1
- package/dist/src/components/Dropdown/components/Trigger/Trigger.module.scss.js +1 -1
- package/dist/src/components/FieldLabel/FieldLabel.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/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/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/TextArea/TextArea.module.scss.js +1 -1
- package/dist/src/components/TextField/TextField.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/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 +44 -42
- package/dist/components/EmptyState/EmptyState.d.ts +0 -4
- package/dist/components/EmptyState/EmptyState.types.d.ts +0 -27
- package/dist/components/EmptyState/index.d.ts +0 -2
- package/dist/components/Info/Info.d.ts +0 -4
- package/dist/components/Info/Info.types.d.ts +0 -60
- package/dist/components/Info/components/InfoDialogContent/InfoDialogContent.d.ts +0 -4
- package/dist/components/Info/components/InfoDialogContent/InfoDialogContent.types.d.ts +0 -16
- package/dist/components/Info/components/InfoLink/InfoLink.d.ts +0 -5
- package/dist/components/Info/components/index.d.ts +0 -3
- package/dist/components/Info/index.d.ts +0 -2
- package/dist/mocked_classnames/components/EmptyState/EmptyState.d.ts +0 -4
- package/dist/mocked_classnames/components/EmptyState/EmptyState.types.d.ts +0 -27
- package/dist/mocked_classnames/components/EmptyState/index.d.ts +0 -2
- package/dist/mocked_classnames/components/Info/Info.d.ts +0 -4
- package/dist/mocked_classnames/components/Info/Info.types.d.ts +0 -60
- package/dist/mocked_classnames/components/Info/components/InfoDialogContent/InfoDialogContent.d.ts +0 -4
- package/dist/mocked_classnames/components/Info/components/InfoDialogContent/InfoDialogContent.types.d.ts +0 -16
- package/dist/mocked_classnames/components/Info/components/InfoLink/InfoLink.d.ts +0 -5
- package/dist/mocked_classnames/components/Info/components/index.d.ts +0 -3
- package/dist/mocked_classnames/components/Info/index.d.ts +0 -2
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js +0 -2
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js.map +0 -1
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Info/Info.js +0 -2
- package/dist/mocked_classnames/src/components/Info/Info.js.map +0 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.js +0 -2
- package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.js.map +0 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.js +0 -2
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.js.map +0 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js +0 -2
- package/dist/src/components/EmptyState/EmptyState.js +0 -2
- package/dist/src/components/EmptyState/EmptyState.js.map +0 -1
- package/dist/src/components/EmptyState/EmptyState.module.scss.js +0 -2
- package/dist/src/components/EmptyState/EmptyState.module.scss.js.map +0 -1
- package/dist/src/components/Info/Info.js +0 -2
- package/dist/src/components/Info/Info.js.map +0 -1
- package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.js +0 -2
- package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.js.map +0 -1
- package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +0 -2
- package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js.map +0 -1
- package/dist/src/components/Info/components/InfoLink/InfoLink.js +0 -2
- package/dist/src/components/Info/components/InfoLink/InfoLink.js.map +0 -1
- package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js +0 -2
- package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js.map +0 -1
- /package/dist/{mocked_classnames/src/components → components/empty-state/dist}/EmptyState/EmptyState.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/info/dist}/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/info/dist}/Info/components/InfoLink/InfoLink.module.scss.js.map +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe/core",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.20",
|
|
4
4
|
"description": "Official monday.com UI resources for application development in React.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -90,48 +90,50 @@
|
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@floating-ui/react-dom": "^2.1.2",
|
|
93
|
-
"@vibe/a11y": "4.0.
|
|
94
|
-
"@vibe/accordion": "4.0.
|
|
95
|
-
"@vibe/alert-banner": "4.0.
|
|
96
|
-
"@vibe/attention-box": "4.0.
|
|
97
|
-
"@vibe/avatar": "4.0.
|
|
98
|
-
"@vibe/badge": "4.0.
|
|
99
|
-
"@vibe/base": "4.0.
|
|
100
|
-
"@vibe/button": "4.0.
|
|
101
|
-
"@vibe/button-group": "4.0.
|
|
102
|
-
"@vibe/checkbox": "4.0.
|
|
103
|
-
"@vibe/chips": "4.0.
|
|
104
|
-
"@vibe/clickable": "4.0.
|
|
105
|
-
"@vibe/color-picker": "4.0.
|
|
106
|
-
"@vibe/counter": "4.0.
|
|
107
|
-
"@vibe/dialog": "4.1.
|
|
108
|
-
"@vibe/divider": "4.0.
|
|
109
|
-
"@vibe/editable": "4.0.
|
|
110
|
-
"@vibe/
|
|
111
|
-
"@vibe/
|
|
112
|
-
"@vibe/
|
|
113
|
-
"@vibe/
|
|
114
|
-
"@vibe/icon
|
|
93
|
+
"@vibe/a11y": "4.0.5",
|
|
94
|
+
"@vibe/accordion": "4.0.3",
|
|
95
|
+
"@vibe/alert-banner": "4.0.4",
|
|
96
|
+
"@vibe/attention-box": "4.0.3",
|
|
97
|
+
"@vibe/avatar": "4.0.8",
|
|
98
|
+
"@vibe/badge": "4.0.2",
|
|
99
|
+
"@vibe/base": "4.0.9",
|
|
100
|
+
"@vibe/button": "4.0.10",
|
|
101
|
+
"@vibe/button-group": "4.0.10",
|
|
102
|
+
"@vibe/checkbox": "4.0.10",
|
|
103
|
+
"@vibe/chips": "4.0.2",
|
|
104
|
+
"@vibe/clickable": "4.0.9",
|
|
105
|
+
"@vibe/color-picker": "4.0.5",
|
|
106
|
+
"@vibe/counter": "4.0.8",
|
|
107
|
+
"@vibe/dialog": "4.1.11",
|
|
108
|
+
"@vibe/divider": "4.0.6",
|
|
109
|
+
"@vibe/editable": "4.0.8",
|
|
110
|
+
"@vibe/empty-state": "4.0.1",
|
|
111
|
+
"@vibe/expand-collapse": "4.0.10",
|
|
112
|
+
"@vibe/formatted-number": "4.0.6",
|
|
113
|
+
"@vibe/hooks": "4.0.11",
|
|
114
|
+
"@vibe/icon": "4.0.8",
|
|
115
|
+
"@vibe/icon-button": "4.0.16",
|
|
115
116
|
"@vibe/icons": "4.1.0",
|
|
116
|
-
"@vibe/
|
|
117
|
-
"@vibe/
|
|
118
|
-
"@vibe/
|
|
119
|
-
"@vibe/
|
|
120
|
-
"@vibe/
|
|
121
|
-
"@vibe/
|
|
122
|
-
"@vibe/
|
|
123
|
-
"@vibe/
|
|
124
|
-
"@vibe/
|
|
117
|
+
"@vibe/info": "4.0.1",
|
|
118
|
+
"@vibe/label": "4.0.10",
|
|
119
|
+
"@vibe/layer": "4.0.9",
|
|
120
|
+
"@vibe/layout": "4.0.10",
|
|
121
|
+
"@vibe/link": "4.0.6",
|
|
122
|
+
"@vibe/loader": "4.0.8",
|
|
123
|
+
"@vibe/progress-bars": "4.0.6",
|
|
124
|
+
"@vibe/radio-button": "4.0.9",
|
|
125
|
+
"@vibe/shared": "4.0.8",
|
|
126
|
+
"@vibe/skeleton": "4.0.4",
|
|
125
127
|
"@vibe/style": "4.1.0",
|
|
126
|
-
"@vibe/tabs": "4.0.
|
|
127
|
-
"@vibe/text-with-highlight": "4.0.
|
|
128
|
-
"@vibe/theme-provider": "4.0.
|
|
129
|
-
"@vibe/toggle": "4.0.
|
|
130
|
-
"@vibe/tooltip": "4.0.
|
|
131
|
-
"@vibe/transitions": "4.0.
|
|
132
|
-
"@vibe/typography": "4.0.
|
|
133
|
-
"@vibe/virtualized-grid": "4.0.
|
|
134
|
-
"@vibe/virtualized-list": "4.0.
|
|
128
|
+
"@vibe/tabs": "4.0.5",
|
|
129
|
+
"@vibe/text-with-highlight": "4.0.5",
|
|
130
|
+
"@vibe/theme-provider": "4.0.4",
|
|
131
|
+
"@vibe/toggle": "4.0.4",
|
|
132
|
+
"@vibe/tooltip": "4.0.16",
|
|
133
|
+
"@vibe/transitions": "4.0.4",
|
|
134
|
+
"@vibe/typography": "4.0.16",
|
|
135
|
+
"@vibe/virtualized-grid": "4.0.3",
|
|
136
|
+
"@vibe/virtualized-list": "4.0.3",
|
|
135
137
|
"browserslist-config-monday": "1.0.6",
|
|
136
138
|
"classnames": "^2.5.1",
|
|
137
139
|
"date-fns": "^2.30.0",
|
|
@@ -298,5 +300,5 @@
|
|
|
298
300
|
"browserslist": [
|
|
299
301
|
"extends browserslist-config-monday"
|
|
300
302
|
],
|
|
301
|
-
"gitHead": "
|
|
303
|
+
"gitHead": "c86702369b8b140d0db8269b58844cf10f01ef91"
|
|
302
304
|
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import { type LinkProps } from "@vibe/link";
|
|
3
|
-
import { type VibeComponentProps } from "src/types";
|
|
4
|
-
import { type ButtonProps, type ButtonType } from "@vibe/button";
|
|
5
|
-
export type EmptyStateLayout = "default" | "compact";
|
|
6
|
-
export interface EmptyStateProps extends VibeComponentProps {
|
|
7
|
-
/** Optional title for the empty state */
|
|
8
|
-
title?: string;
|
|
9
|
-
/** Required description text explaining the empty state */
|
|
10
|
-
description: string | React.ReactNode;
|
|
11
|
-
/** Optional visual element like image, animation, video, or illustration to display */
|
|
12
|
-
visual?: React.ReactNode;
|
|
13
|
-
/** Main action button configuration */
|
|
14
|
-
mainAction?: React.ReactElement<ButtonProps> | (Omit<ButtonProps, "kind" | "children" | "size"> & {
|
|
15
|
-
kind?: Exclude<ButtonType, "tertiary">;
|
|
16
|
-
text: string;
|
|
17
|
-
});
|
|
18
|
-
/** Supporting action (link or tertiary button) configuration */
|
|
19
|
-
supportingAction?: React.ReactElement<ButtonProps | LinkProps> | (Omit<ButtonProps, "kind" | "children" | "size"> & {
|
|
20
|
-
kind: "tertiary";
|
|
21
|
-
text: string;
|
|
22
|
-
}) | (LinkProps & {
|
|
23
|
-
text: string;
|
|
24
|
-
});
|
|
25
|
-
/** Layout style of the empty state */
|
|
26
|
-
layout?: EmptyStateLayout;
|
|
27
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { type VibeComponentProps } from "../../types";
|
|
2
|
-
import { type DialogPosition } from "@vibe/dialog";
|
|
3
|
-
import { type InfoLinkProps } from "./components";
|
|
4
|
-
export type InfoProps = BaseInfoProps & VibeComponentProps & InfoAriaLabelProps;
|
|
5
|
-
interface BaseInfoProps {
|
|
6
|
-
/**
|
|
7
|
-
* The title text displayed at the top of the info dialog.
|
|
8
|
-
*/
|
|
9
|
-
title?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The main body text content displayed in the info dialog.
|
|
12
|
-
*/
|
|
13
|
-
body: string;
|
|
14
|
-
/**
|
|
15
|
-
* Link configuration for the info dialog.
|
|
16
|
-
*/
|
|
17
|
-
link?: InfoLinkProps;
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the element that labels the info button.
|
|
20
|
-
*/
|
|
21
|
-
"aria-labelledby"?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The placement of the dialog relative to the info button.
|
|
24
|
-
*/
|
|
25
|
-
position?: DialogPosition;
|
|
26
|
-
/**
|
|
27
|
-
* If true, the info dialog is disabled.
|
|
28
|
-
*/
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Callback fired when the info dialog is shown.
|
|
32
|
-
*/
|
|
33
|
-
onDialogShow?: () => void;
|
|
34
|
-
/**
|
|
35
|
-
* Callback fired when the info dialog is hidden.
|
|
36
|
-
*/
|
|
37
|
-
onDialogHide?: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* Class name applied to the dialog content.
|
|
40
|
-
*/
|
|
41
|
-
dialogClassName?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The CSS selector of the container where the dialog is rendered.
|
|
44
|
-
*/
|
|
45
|
-
containerSelector?: string;
|
|
46
|
-
}
|
|
47
|
-
export type InfoAriaLabelProps = {
|
|
48
|
-
/**
|
|
49
|
-
* The ARIA label for the info button.
|
|
50
|
-
*/
|
|
51
|
-
"aria-label": string;
|
|
52
|
-
/**
|
|
53
|
-
* If true, the tooltip for the info button is hidden.
|
|
54
|
-
*/
|
|
55
|
-
hideButtonTooltip?: boolean;
|
|
56
|
-
} | {
|
|
57
|
-
"aria-label"?: string;
|
|
58
|
-
hideButtonTooltip?: never;
|
|
59
|
-
};
|
|
60
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type VibeComponentProps } from "../../../../types";
|
|
2
|
-
import { type InfoLinkProps } from "../InfoLink/InfoLink";
|
|
3
|
-
export interface InfoDialogContentProps extends VibeComponentProps {
|
|
4
|
-
/**
|
|
5
|
-
* The title text displayed at the top of the info dialog.
|
|
6
|
-
*/
|
|
7
|
-
title?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The main body text content displayed in the info dialog.
|
|
10
|
-
*/
|
|
11
|
-
body?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Link configuration for the info dialog.
|
|
14
|
-
*/
|
|
15
|
-
link?: InfoLinkProps;
|
|
16
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import { type LinkProps } from "@vibe/link";
|
|
3
|
-
import { type VibeComponentProps } from "src/types";
|
|
4
|
-
import { type ButtonProps, type ButtonType } from "@vibe/button";
|
|
5
|
-
export type EmptyStateLayout = "default" | "compact";
|
|
6
|
-
export interface EmptyStateProps extends VibeComponentProps {
|
|
7
|
-
/** Optional title for the empty state */
|
|
8
|
-
title?: string;
|
|
9
|
-
/** Required description text explaining the empty state */
|
|
10
|
-
description: string | React.ReactNode;
|
|
11
|
-
/** Optional visual element like image, animation, video, or illustration to display */
|
|
12
|
-
visual?: React.ReactNode;
|
|
13
|
-
/** Main action button configuration */
|
|
14
|
-
mainAction?: React.ReactElement<ButtonProps> | (Omit<ButtonProps, "kind" | "children" | "size"> & {
|
|
15
|
-
kind?: Exclude<ButtonType, "tertiary">;
|
|
16
|
-
text: string;
|
|
17
|
-
});
|
|
18
|
-
/** Supporting action (link or tertiary button) configuration */
|
|
19
|
-
supportingAction?: React.ReactElement<ButtonProps | LinkProps> | (Omit<ButtonProps, "kind" | "children" | "size"> & {
|
|
20
|
-
kind: "tertiary";
|
|
21
|
-
text: string;
|
|
22
|
-
}) | (LinkProps & {
|
|
23
|
-
text: string;
|
|
24
|
-
});
|
|
25
|
-
/** Layout style of the empty state */
|
|
26
|
-
layout?: EmptyStateLayout;
|
|
27
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { type VibeComponentProps } from "../../types";
|
|
2
|
-
import { type DialogPosition } from "@vibe/dialog";
|
|
3
|
-
import { type InfoLinkProps } from "./components";
|
|
4
|
-
export type InfoProps = BaseInfoProps & VibeComponentProps & InfoAriaLabelProps;
|
|
5
|
-
interface BaseInfoProps {
|
|
6
|
-
/**
|
|
7
|
-
* The title text displayed at the top of the info dialog.
|
|
8
|
-
*/
|
|
9
|
-
title?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The main body text content displayed in the info dialog.
|
|
12
|
-
*/
|
|
13
|
-
body: string;
|
|
14
|
-
/**
|
|
15
|
-
* Link configuration for the info dialog.
|
|
16
|
-
*/
|
|
17
|
-
link?: InfoLinkProps;
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the element that labels the info button.
|
|
20
|
-
*/
|
|
21
|
-
"aria-labelledby"?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The placement of the dialog relative to the info button.
|
|
24
|
-
*/
|
|
25
|
-
position?: DialogPosition;
|
|
26
|
-
/**
|
|
27
|
-
* If true, the info dialog is disabled.
|
|
28
|
-
*/
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Callback fired when the info dialog is shown.
|
|
32
|
-
*/
|
|
33
|
-
onDialogShow?: () => void;
|
|
34
|
-
/**
|
|
35
|
-
* Callback fired when the info dialog is hidden.
|
|
36
|
-
*/
|
|
37
|
-
onDialogHide?: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* Class name applied to the dialog content.
|
|
40
|
-
*/
|
|
41
|
-
dialogClassName?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The CSS selector of the container where the dialog is rendered.
|
|
44
|
-
*/
|
|
45
|
-
containerSelector?: string;
|
|
46
|
-
}
|
|
47
|
-
export type InfoAriaLabelProps = {
|
|
48
|
-
/**
|
|
49
|
-
* The ARIA label for the info button.
|
|
50
|
-
*/
|
|
51
|
-
"aria-label": string;
|
|
52
|
-
/**
|
|
53
|
-
* If true, the tooltip for the info button is hidden.
|
|
54
|
-
*/
|
|
55
|
-
hideButtonTooltip?: boolean;
|
|
56
|
-
} | {
|
|
57
|
-
"aria-label"?: string;
|
|
58
|
-
hideButtonTooltip?: never;
|
|
59
|
-
};
|
|
60
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type VibeComponentProps } from "../../../../types";
|
|
2
|
-
import { type InfoLinkProps } from "../InfoLink/InfoLink";
|
|
3
|
-
export interface InfoDialogContentProps extends VibeComponentProps {
|
|
4
|
-
/**
|
|
5
|
-
* The title text displayed at the top of the info dialog.
|
|
6
|
-
*/
|
|
7
|
-
title?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The main body text content displayed in the info dialog.
|
|
10
|
-
*/
|
|
11
|
-
body?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Link configuration for the info dialog.
|
|
14
|
-
*/
|
|
15
|
-
link?: InfoLinkProps;
|
|
16
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{typeof as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{__rest as t}from"../../../_virtual/_tslib.js";import i,{forwardRef as a}from"react";import r from"classnames";import{Flex as s}from"@vibe/layout/mockedClassNames";import{Heading as m,Text as n}from"@vibe/typography/mockedClassNames";import o from"./EmptyState.module.scss.js";import{getStyle as l}from"@vibe/shared";import{getTestId as c,ComponentDefaultTestId as p}from"../../tests/testIds.js";import{Button as d}from"@vibe/button/mockedClassNames";import{Link as u}from"@vibe/link/mockedClassNames";import{ComponentVibeId as f}from"../../tests/constants.js";var g=a((function(a,g){var b=a.className,v=a.title,E=a.description,y=a.visual,j=a.mainAction,x=a.supportingAction,N=a.layout,k=void 0===N?"default":N,T=a.id,_=a["data-testid"],h="compact"===k;return i.createElement(s,{direction:"column",align:"center",justify:"center",gap:h?"small":"medium",className:r(o.emptyState,l(o,k),b),id:T,"data-testid":_||c(p.EMPTY_STATE,T),"data-vibe":f.EMPTY_STATE,ref:g},!!y&&y,i.createElement(s,{direction:"column",align:"center",gap:h?12:"medium",className:o.content},i.createElement(s,{direction:"column",align:"center",gap:"xs"},v&&i.createElement(m,{type:"h3",weight:"normal",className:o.title,align:"center",ellipsis:!1},v),"string"==typeof E?i.createElement(n,{className:o.description,align:"center",ellipsis:!1},E):E),(j||x)&&i.createElement(s,{direction:"column",align:"center",gap:"small",className:o.actions},function(t,a){if("object"===e(t)&&"text"in t)return i.createElement(d,Object.assign({kind:"secondary",size:a?"small":"medium"},t),t.text);return t}(j,h),function(a,r){if("object"===e(a)){if("text"in a&&"href"in a){var s=a.text,m=t(a,["text"]);return i.createElement(u,Object.assign({text:s},m))}if("text"in a){var n=a.text,o=t(a,["text"]);return i.createElement(d,Object.assign({kind:"tertiary",size:r?"small":"medium"},o),n)}}return a}(x,h))))}));export{g as default};
|
|
2
|
-
//# sourceMappingURL=EmptyState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.js","sources":["../../../../../src/components/EmptyState/EmptyState.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cx from \"classnames\";\nimport { Flex } from \"@vibe/layout\";\nimport { Heading, Text } from \"@vibe/typography\";\nimport { type EmptyStateProps } from \"./EmptyState.types\";\nimport styles from \"./EmptyState.module.scss\";\nimport { getStyle } from \"@vibe/shared\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { Button, type ButtonProps } from \"@vibe/button\";\nimport { Link, type LinkProps } from \"@vibe/link\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nconst EmptyState = forwardRef<HTMLDivElement, EmptyStateProps>(\n (\n {\n className,\n title,\n description,\n visual,\n mainAction,\n supportingAction,\n layout = \"default\",\n id,\n \"data-testid\": dataTestId\n },\n ref\n ) => {\n const isCompact = layout === \"compact\";\n\n return (\n <Flex\n direction=\"column\"\n align=\"center\"\n justify=\"center\"\n gap={isCompact ? \"small\" : \"medium\"}\n className={cx(styles.emptyState, getStyle(styles, layout), className)}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.EMPTY_STATE, id)}\n data-vibe={ComponentVibeId.EMPTY_STATE}\n ref={ref}\n >\n {!!visual && visual}\n\n <Flex direction=\"column\" align=\"center\" gap={isCompact ? 12 : \"medium\"} className={styles.content}>\n <Flex direction=\"column\" align=\"center\" gap=\"xs\">\n {title && (\n <Heading type=\"h3\" weight=\"normal\" className={styles.title} align=\"center\" ellipsis={false}>\n {title}\n </Heading>\n )}\n\n {typeof description === \"string\" ? (\n <Text className={styles.description} align=\"center\" ellipsis={false}>\n {description}\n </Text>\n ) : (\n description\n )}\n </Flex>\n\n {(mainAction || supportingAction) && (\n <Flex direction=\"column\" align=\"center\" gap=\"small\" className={styles.actions}>\n {renderMainAction(mainAction, isCompact)}\n {renderSupportingAction(supportingAction, isCompact)}\n </Flex>\n )}\n </Flex>\n </Flex>\n );\n }\n);\n\nfunction renderMainAction(mainAction: EmptyStateProps[\"mainAction\"], isCompact: boolean) {\n if (typeof mainAction === \"object\" && \"text\" in mainAction) {\n return (\n <Button kind=\"secondary\" size={isCompact ? \"small\" : \"medium\"} {...mainAction}>\n {mainAction.text}\n </Button>\n );\n }\n\n return mainAction;\n}\n\nfunction renderSupportingAction(supportingAction: EmptyStateProps[\"supportingAction\"], isCompact: boolean) {\n if (typeof supportingAction === \"object\") {\n if (\"text\" in supportingAction && \"href\" in supportingAction) {\n const { text, ...linkProps } = supportingAction as LinkProps & { text: string };\n return <Link text={text} {...linkProps} />;\n }\n if (\"text\" in supportingAction) {\n const { text, ...buttonProps } = supportingAction as ButtonProps & { text: string };\n return (\n <Button kind=\"tertiary\" size={isCompact ? \"small\" : \"medium\"} {...buttonProps}>\n {text}\n </Button>\n );\n }\n }\n\n return supportingAction;\n}\n\nexport default EmptyState;\n"],"names":["EmptyState","forwardRef","_ref","ref","className","title","description","visual","mainAction","supportingAction","_ref$layout","layout","id","dataTestId","isCompact","React","createElement","Flex","direction","align","justify","gap","cx","styles","emptyState","getStyle","getTestId","ComponentDefaultTestId","EMPTY_STATE","ComponentVibeId","content","Heading","type","weight","ellipsis","Text","actions","_typeof","Button","Object","assign","kind","size","text","renderMainAction","linkProps","__rest","Link","buttonProps","renderSupportingAction"],"mappings":"+nBAYMA,IAAAA,EAAaC,GACjB,SAAAC,EAYEC,GACE,IAXAC,EAASF,EAATE,UACAC,EAAKH,EAALG,MACAC,EAAWJ,EAAXI,YACAC,EAAML,EAANK,OACAC,EAAUN,EAAVM,WACAC,EAAgBP,EAAhBO,iBAAgBC,EAAAR,EAChBS,OAAAA,OAAS,IAAHD,EAAG,UAASA,EAClBE,EAAEV,EAAFU,GACeC,EAAUX,EAAzB,eAIIY,EAAuB,YAAXH,EAElB,OACEI,EAAAC,cAACC,EAAI,CACHC,UAAU,SACVC,MAAM,SACNC,QAAQ,SACRC,IAAKP,EAAY,QAAU,SAC3BV,UAAWkB,EAAGC,EAAOC,WAAYC,EAASF,EAAQZ,GAASP,GAC3DQ,GAAIA,EACS,cAAAC,GAAca,EAAUC,EAAuBC,YAAahB,GAC9D,YAAAiB,EAAgBD,YAC3BzB,IAAKA,KAEFI,GAAUA,EAEbQ,EAACC,cAAAC,EAAK,CAAAC,UAAU,SAASC,MAAM,SAASE,IAAKP,EAAY,GAAK,SAAUV,UAAWmB,EAAOO,SACxFf,EAAAC,cAACC,EAAI,CAACC,UAAU,SAASC,MAAM,SAASE,IAAI,MACzChB,GACCU,EAACC,cAAAe,EAAQ,CAAAC,KAAK,KAAKC,OAAO,SAAS7B,UAAWmB,EAAOlB,MAAOc,MAAM,SAASe,UAAU,GAClF7B,GAImB,iBAAhBC,EACNS,EAACC,cAAAmB,EAAK,CAAA/B,UAAWmB,EAAOjB,YAAaa,MAAM,SAASe,UAAU,GAC3D5B,GAGHA,IAIFE,GAAcC,IACdM,EAACC,cAAAC,EAAK,CAAAC,UAAU,SAASC,MAAM,SAASE,IAAI,QAAQjB,UAAWmB,EAAOa,SAWlF,SAA0B5B,EAA2CM,GACnE,GAA0B,WAAtBuB,EAAO7B,IAA2B,SAAUA,EAC9C,OACEO,EAACC,cAAAsB,EAAOC,OAAAC,OAAA,CAAAC,KAAK,YAAYC,KAAM5B,EAAY,QAAU,UAAcN,GAChEA,EAAWmC,MAKlB,OAAOnC,CACT,CApBeoC,CAAiBpC,EAAYM,GAsB5C,SAAgCL,EAAuDK,GACrF,GAAgC,WAA5BuB,EAAO5B,GAA+B,CACxC,GAAI,SAAUA,GAAoB,SAAUA,EAAkB,CACtD,IAAEkC,EAAuBlC,EAAvBkC,KAASE,EAASC,EAAKrC,EAAzB,CAAsB,SAC5B,OAAOM,EAAAC,cAAC+B,EAAKR,OAAAC,OAAA,CAAAG,KAAMA,GAAUE,GAC/B,CACA,GAAI,SAAUpC,EAAkB,CACxB,IAAEkC,EAAyBlC,EAAzBkC,KAASK,EAAWF,EAAKrC,EAA3B,CAAwB,SAC9B,OACEM,EAACC,cAAAsB,EAAOC,OAAAC,OAAA,CAAAC,KAAK,WAAWC,KAAM5B,EAAY,QAAU,UAAckC,GAC/DL,EAGP,CACF,CAEA,OAAOlC,CACT,CAtCewC,CAAuBxC,EAAkBK,KAMtD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t={emptyState:"emptyState",compact:"compact",content:"content",title:"title",description:"description",actions:"actions"};!function(t){const e="s_id-e8e63a5fb772_4_5_18";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const a=document.createElement("style");a.id=e,n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}(".emptyState {\n width: 100%;\n padding: var(--space-24);\n box-sizing: border-box;\n background: var(--primary-background-color);\n}\n.emptyState.compact {\n padding: var(--space-16);\n}\n.emptyState .content {\n width: 100%;\n text-align: center;\n}\n.emptyState .content .title {\n max-width: 500px;\n}\n.emptyState .content .description {\n max-width: 500px;\n}\n.emptyState .content .actions {\n width: 100%;\n}");export{t as default};
|
|
2
|
-
//# sourceMappingURL=EmptyState.module.scss.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{slicedToArray as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import i,{forwardRef as o,useRef as a,useState as t,useCallback as l}from"react";import{Info as n}from"@vibe/icons";import{IconButton as r}from"@vibe/icon-button/mockedClassNames";import{Dialog as s}from"@vibe/dialog/mockedClassNames";import"../../../_virtual/_tslib.js";import"classnames";import"@vibe/link/mockedClassNames";import"./components/InfoLink/InfoLink.module.scss.js";import d from"./components/InfoDialogContent/InfoDialogContent.js";import{ComponentDefaultTestId as c,ComponentVibeId as m}from"../../tests/constants.js";import{getTestId as p}from"../../tests/testIds.js";import{useMergeRef as u}from"@vibe/shared";var f=o((function(o,f){var b=o.id,v=o.className,g=o.title,k=o.body,h=o.link,y=o["aria-label"],N=o["aria-labelledby"],D=o.position,I=void 0===D?"bottom-start":D,j=o.disabled,C=void 0!==j&&j,T=o.onDialogShow,E=o.onDialogHide,H=o.hideButtonTooltip,S=o.dialogClassName,_=o.containerSelector,w=o["data-testid"],x=a(null),B=u(f,x),F=a(null),A=t(!1),L=e(A,2),O=L[0],q=L[1],z=b?"".concat(b,"-dialog"):void 0,P=l((function(){q(!0),null==T||T(),requestAnimationFrame((function(){var e;null===(e=F.current)||void 0===e||e.focus()}))}),[T]),R=l((function(e){var i;q(!1),null==E||E(),"Escape"===e.key&&(null===(i=x.current)||void 0===i||i.focus())}),[E]);return i.createElement(s,{id:z,disable:C,position:I,moveBy:{main:4,secondary:0},showTrigger:["click"],hideTrigger:["click","clickoutside","esckey"],onDialogDidShow:P,onDialogDidHide:R,containerSelector:_,content:i.createElement(d,{ref:F,id:z,title:g,body:k,link:h,className:S}),hideWhenReferenceHidden:!0},i.createElement(r,{ref:B,id:b,className:v,icon:n,size:"xs",kind:"tertiary",active:O,disabled:C,"aria-label":y,"aria-labelledby":N,"aria-controls":z,"aria-haspopup":"dialog","aria-expanded":O,"data-testid":w||p(c.INFO,b),"data-vibe":m.INFO,hideTooltip:H}))}));export{f as default};
|
|
2
|
-
//# sourceMappingURL=Info.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Info.js","sources":["../../../../../src/components/Info/Info.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useRef, useState } from \"react\";\nimport { Info as InfoIcon } from \"@vibe/icons\";\nimport { IconButton } from \"@vibe/icon-button\";\nimport { Dialog, type DialogEvent } from \"@vibe/dialog\";\nimport { InfoDialogContent } from \"./components\";\nimport { type InfoProps } from \"./Info.types\";\nimport { ComponentDefaultTestId, ComponentVibeId } from \"../../tests/constants\";\nimport { getTestId } from \"../../tests/test-ids-utils\";\nimport { useMergeRef } from \"@vibe/shared\";\n\nconst Info = forwardRef(\n (\n {\n id,\n className,\n title,\n body,\n link,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n position = \"bottom-start\",\n disabled = false,\n onDialogShow,\n onDialogHide,\n hideButtonTooltip,\n dialogClassName,\n containerSelector,\n \"data-testid\": dataTestId\n }: InfoProps,\n ref: React.ForwardedRef<HTMLButtonElement>\n ) => {\n const iconButtonRef = useRef<HTMLButtonElement>(null);\n const mergedRef = useMergeRef(ref, iconButtonRef);\n const dialogContentRef = useRef<HTMLDivElement>(null);\n\n const [isOpen, setIsOpen] = useState(false);\n\n const dialogId = id ? `${id}-dialog` : undefined;\n\n const handleDialogShow = useCallback(() => {\n setIsOpen(true);\n onDialogShow?.();\n requestAnimationFrame(() => {\n dialogContentRef.current?.focus();\n });\n }, [onDialogShow]);\n\n const handleDialogHide = useCallback(\n (e: DialogEvent) => {\n setIsOpen(false);\n onDialogHide?.();\n if ((e as React.KeyboardEvent).key === \"Escape\") {\n iconButtonRef.current?.focus();\n }\n },\n [onDialogHide]\n );\n\n return (\n <Dialog\n id={dialogId}\n disable={disabled}\n position={position}\n moveBy={{ main: 4, secondary: 0 }}\n showTrigger={[\"click\"]}\n hideTrigger={[\"click\", \"clickoutside\", \"esckey\"]}\n onDialogDidShow={handleDialogShow}\n onDialogDidHide={handleDialogHide}\n containerSelector={containerSelector}\n content={\n <InfoDialogContent\n ref={dialogContentRef}\n id={dialogId}\n title={title}\n body={body}\n link={link}\n className={dialogClassName}\n />\n }\n hideWhenReferenceHidden\n >\n <IconButton\n ref={mergedRef}\n id={id}\n className={className}\n icon={InfoIcon}\n size=\"xs\"\n kind=\"tertiary\"\n active={isOpen}\n disabled={disabled}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-controls={dialogId}\n aria-haspopup=\"dialog\"\n aria-expanded={isOpen}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.INFO, id)}\n data-vibe={ComponentVibeId.INFO}\n hideTooltip={hideButtonTooltip}\n />\n </Dialog>\n );\n }\n);\n\nexport default Info;\n"],"names":["Info","forwardRef","_ref","ref","id","className","title","body","link","ariaLabel","ariaLabelledby","_ref$position","position","_ref$disabled","disabled","onDialogShow","onDialogHide","hideButtonTooltip","dialogClassName","containerSelector","dataTestId","iconButtonRef","useRef","mergedRef","useMergeRef","dialogContentRef","_useState","useState","_useState2","_slicedToArray","isOpen","setIsOpen","dialogId","concat","undefined","handleDialogShow","useCallback","requestAnimationFrame","_a","current","focus","handleDialogHide","e","key","React","createElement","Dialog","disable","moveBy","main","secondary","showTrigger","hideTrigger","onDialogDidShow","onDialogDidHide","content","InfoDialogContent","hideWhenReferenceHidden","IconButton","icon","InfoIcon","size","kind","active","getTestId","ComponentDefaultTestId","INFO","ComponentVibeId","hideTooltip"],"mappings":"msBAUMA,IAAAA,EAAOC,GACX,SAAAC,EAkBEC,GACE,IAjBAC,EAAEF,EAAFE,GACAC,EAASH,EAATG,UACAC,EAAKJ,EAALI,MACAC,EAAIL,EAAJK,KACAC,EAAIN,EAAJM,KACcC,EAASP,EAAvB,cACmBQ,EAAcR,EAAjC,mBAAiBS,EAAAT,EACjBU,SAAAA,OAAW,IAAHD,EAAG,eAAcA,EAAAE,EAAAX,EACzBY,SAAAA,OAAW,IAAHD,GAAQA,EAChBE,EAAYb,EAAZa,aACAC,EAAYd,EAAZc,aACAC,EAAiBf,EAAjBe,kBACAC,EAAehB,EAAfgB,gBACAC,EAAiBjB,EAAjBiB,kBACeC,EAAUlB,EAAzB,eAIImB,EAAgBC,EAA0B,MAC1CC,EAAYC,EAAYrB,EAAKkB,GAC7BI,EAAmBH,EAAuB,MAEhDI,EAA4BC,GAAS,GAAMC,EAAAC,EAAAH,EAAA,GAApCI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAElBI,EAAW5B,EAAE,GAAA6B,OAAM7B,kBAAc8B,EAEjCC,EAAmBC,GAAY,WACnCL,GAAU,GACVhB,SAAAA,IACAsB,uBAAsB,iBACM,QAA1BC,EAAAb,EAAiBc,eAAS,IAAAD,GAAAA,EAAAE,OAC5B,GACF,GAAG,CAACzB,IAEE0B,EAAmBL,GACvB,SAACM,SACCX,GAAU,GACVf,SAAAA,IACuC,WAAlC0B,EAA0BC,MACN,QAAvBL,EAAAjB,EAAckB,eAAS,IAAAD,GAAAA,EAAAE,QAE3B,GACA,CAACxB,IAGH,OACE4B,EAACC,cAAAC,GACC1C,GAAI4B,EACJe,QAASjC,EACTF,SAAUA,EACVoC,OAAQ,CAAEC,KAAM,EAAGC,UAAW,GAC9BC,YAAa,CAAC,SACdC,YAAa,CAAC,QAAS,eAAgB,UACvCC,gBAAiBlB,EACjBmB,gBAAiBb,EACjBtB,kBAAmBA,EACnBoC,QACEX,EAAAC,cAACW,EACC,CAAArD,IAAKsB,EACLrB,GAAI4B,EACJ1B,MAAOA,EACPC,KAAMA,EACNC,KAAMA,EACNH,UAAWa,IAGfuC,yBAAuB,GAEvBb,EAAAC,cAACa,EAAU,CACTvD,IAAKoB,EACLnB,GAAIA,EACJC,UAAWA,EACXsD,KAAMC,EACNC,KAAK,KACLC,KAAK,WACLC,OAAQjC,EACRhB,SAAUA,EAAQ,aACNL,EAAS,kBACJC,EAAc,gBAChBsB,EAAQ,gBACT,SAAQ,gBACPF,EAAM,cACRV,GAAc4C,EAAUC,EAAuBC,KAAM9D,GAAG,YAC1D+D,EAAgBD,KAC3BE,YAAanD,IAIrB"}
|
package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import e,{forwardRef as t}from"react";import{DialogContentContainer as a}from"@vibe/dialog/mockedClassNames";import{Text as o}from"@vibe/typography/mockedClassNames";import{Flex as m}from"@vibe/layout/mockedClassNames";import r from"../InfoLink/InfoLink.js";import s from"./InfoDialogContent.module.scss.js";var i=t((function(t,i){var l=t.title,n=t.body,c=t.link;return l||n||c?e.createElement(a,{id:t.id,type:"popover",size:"medium",className:t.className},e.createElement(m,{ref:i,tabIndex:-1,align:"start",direction:"column",gap:"xs",className:s.contentWrapper},l&&e.createElement(o,{type:"text2",weight:"bold"},l),n&&e.createElement(o,{type:"text2",element:"p"},n),c&&e.createElement(r,Object.assign({className:s.link},c)))):null}));export{i as default};
|
|
2
|
-
//# sourceMappingURL=InfoDialogContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoDialogContent.js","sources":["../../../../../../../src/components/Info/components/InfoDialogContent/InfoDialogContent.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport { DialogContentContainer } from \"@vibe/dialog\";\nimport { Text } from \"@vibe/typography\";\nimport { Flex } from \"@vibe/layout\";\nimport InfoLink from \"../InfoLink/InfoLink\";\nimport { type InfoDialogContentProps } from \"./InfoDialogContent.types\";\nimport styles from \"./InfoDialogContent.module.scss\";\n\nconst InfoDialogContent = forwardRef(\n ({ id, title, body, link, className }: InfoDialogContentProps, ref: React.ForwardedRef<HTMLDivElement>) => {\n if (!title && !body && !link) {\n return null;\n }\n\n return (\n <DialogContentContainer id={id} type=\"popover\" size=\"medium\" className={className}>\n <Flex ref={ref} tabIndex={-1} align=\"start\" direction=\"column\" gap=\"xs\" className={styles.contentWrapper}>\n {title && (\n <Text type=\"text2\" weight=\"bold\">\n {title}\n </Text>\n )}\n {body && (\n <Text type=\"text2\" element=\"p\">\n {body}\n </Text>\n )}\n {link && <InfoLink className={styles.link} {...link} />}\n </Flex>\n </DialogContentContainer>\n );\n }\n);\n\nexport default InfoDialogContent;\n"],"names":["InfoDialogContent","forwardRef","_ref","ref","title","body","link","React","createElement","DialogContentContainer","id","type","size","className","Flex","tabIndex","align","direction","gap","styles","contentWrapper","Text","weight","element","InfoLink","Object","assign"],"mappings":"oTAQMA,IAAAA,EAAoBC,GACxB,SAAAC,EAA+DC,GAA2C,IAAnGC,EAAKF,EAALE,MAAOC,EAAIH,EAAJG,KAAMC,EAAIJ,EAAJI,KAClB,OAAKF,GAAUC,GAASC,EAKtBC,EAACC,cAAAC,GAAuBC,GANvBR,EAAFQ,GAMiCC,KAAK,UAAUC,KAAK,SAASC,UAN9BX,EAATW,WAOpBN,EAACC,cAAAM,EAAK,CAAAX,IAAKA,EAAKY,UAAW,EAAGC,MAAM,QAAQC,UAAU,SAASC,IAAI,KAAKL,UAAWM,EAAOC,gBACvFhB,GACCG,EAACC,cAAAa,GAAKV,KAAK,QAAQW,OAAO,QACvBlB,GAGJC,GACCE,EAACC,cAAAa,GAAKV,KAAK,QAAQY,QAAQ,KACxBlB,GAGJC,GAAQC,EAAAC,cAACgB,EAAQC,OAAAC,OAAA,CAACb,UAAWM,EAAOb,MAAUA,MAhB5C,IAoBX"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={contentWrapper:"contentWrapper",link:"link"};!function(e){const t="s_id-646297cad054_4_5_18";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const d=document.createElement("style");d.id=t,n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d),d.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".contentWrapper {\n max-width: 240px;\n}\n.contentWrapper .link {\n margin-top: var(--space-4);\n}");export{e as default};
|
|
2
|
-
//# sourceMappingURL=InfoDialogContent.module.scss.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__rest as s}from"../../../../../_virtual/_tslib.js";import r,{forwardRef as a}from"react";import e from"classnames";import{Link as m}from"@vibe/link/mockedClassNames";import o from"./InfoLink.module.scss.js";var t=a((function(a,t){var i=a.className,l=s(a,["className"]);return r.createElement(m,Object.assign({ref:t,className:e(o.infoLink,i)},l))}));export{t as default};
|
|
2
|
-
//# sourceMappingURL=InfoLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoLink.js","sources":["../../../../../../../src/components/Info/components/InfoLink/InfoLink.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cx from \"classnames\";\nimport { Link, type LinkProps } from \"@vibe/link\";\nimport styles from \"./InfoLink.module.scss\";\n\nexport type InfoLinkProps = LinkProps;\n\nconst InfoLink = forwardRef(\n ({ className, ...linkProps }: InfoLinkProps, ref: React.ForwardedRef<HTMLAnchorElement>) => {\n return <Link ref={ref} className={cx(styles.infoLink, className)} {...linkProps} />;\n }\n);\n\nexport default InfoLink;\n"],"names":["InfoLink","forwardRef","_a","ref","className","linkProps","__rest","React","createElement","Link","Object","assign","cx","styles","infoLink"],"mappings":"uNAOMA,IAAAA,EAAWC,GACf,SAACC,EAA4CC,GAA5C,IAAEC,EAAwCF,EAAxCE,UAAcC,EAASC,EAAAJ,EAAzB,eACC,OAAOK,EAAAC,cAACC,EAAKC,OAAAC,OAAA,CAAAR,IAAKA,EAAKC,UAAWQ,EAAGC,EAAOC,SAAUV,IAAgBC,GACxE"}
|
package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={infoLink:"infoLink"};!function(e){const t="s_id-63a4f7de1b47_4_5_18";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".infoLink {\n color: var(--primary-text-color);\n text-decoration: underline;\n}");export{e as default};
|
|
2
|
-
//# sourceMappingURL=InfoLink.module.scss.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{typeof as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{__rest as e}from"../../../_virtual/_tslib.js";import i,{forwardRef as n}from"react";import s from"classnames";import r from"./EmptyState.module.scss.js";import{getTestId as a,ComponentDefaultTestId as o}from"../../tests/testIds.js";import{ComponentVibeId as m}from"../../tests/constants.js";import l from"../../../components/layout/dist/Flex/Flex.js";import c from"../../../components/typography/dist/Heading/Heading.js";import p from"../../../components/typography/dist/Text/Text.js";import d from"../../../components/button/dist/Button/Button.js";import u from"../../../components/link/dist/Link/Link.js";import{getStyle as f}from"../../../shared/dist/utils/typesciptCssModulesHelper.js";var g=n((function(n,g){var j=n.className,x=n.title,y=n.description,E=n.visual,b=n.mainAction,v=n.supportingAction,T=n.layout,h=void 0===T?"default":T,N=n.id,_=n["data-testid"],k="compact"===h;return i.createElement(l,{direction:"column",align:"center",justify:"center",gap:k?"small":"medium",className:s(r.emptyState,f(r,h),j),id:N,"data-testid":_||a(o.EMPTY_STATE,N),"data-vibe":m.EMPTY_STATE,ref:g},!!E&&E,i.createElement(l,{direction:"column",align:"center",gap:k?12:"medium",className:r.content},i.createElement(l,{direction:"column",align:"center",gap:"xs"},x&&i.createElement(c,{type:"h3",weight:"normal",className:r.title,align:"center",ellipsis:!1},x),"string"==typeof y?i.createElement(p,{className:r.description,align:"center",ellipsis:!1},y):y),(b||v)&&i.createElement(l,{direction:"column",align:"center",gap:"small",className:r.actions},function(e,n){if("object"===t(e)&&"text"in e)return i.createElement(d,Object.assign({kind:"secondary",size:n?"small":"medium"},e),e.text);return e}(b,k),function(n,s){if("object"===t(n)){if("text"in n&&"href"in n){var r=n.text,a=e(n,["text"]);return i.createElement(u,Object.assign({text:r},a))}if("text"in n){var o=n.text,m=e(n,["text"]);return i.createElement(d,Object.assign({kind:"tertiary",size:s?"small":"medium"},m),o)}}return n}(v,k))))}));export{g as default};
|
|
2
|
-
//# sourceMappingURL=EmptyState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.js","sources":["../../../../src/components/EmptyState/EmptyState.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cx from \"classnames\";\nimport { Flex } from \"@vibe/layout\";\nimport { Heading, Text } from \"@vibe/typography\";\nimport { type EmptyStateProps } from \"./EmptyState.types\";\nimport styles from \"./EmptyState.module.scss\";\nimport { getStyle } from \"@vibe/shared\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { Button, type ButtonProps } from \"@vibe/button\";\nimport { Link, type LinkProps } from \"@vibe/link\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nconst EmptyState = forwardRef<HTMLDivElement, EmptyStateProps>(\n (\n {\n className,\n title,\n description,\n visual,\n mainAction,\n supportingAction,\n layout = \"default\",\n id,\n \"data-testid\": dataTestId\n },\n ref\n ) => {\n const isCompact = layout === \"compact\";\n\n return (\n <Flex\n direction=\"column\"\n align=\"center\"\n justify=\"center\"\n gap={isCompact ? \"small\" : \"medium\"}\n className={cx(styles.emptyState, getStyle(styles, layout), className)}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.EMPTY_STATE, id)}\n data-vibe={ComponentVibeId.EMPTY_STATE}\n ref={ref}\n >\n {!!visual && visual}\n\n <Flex direction=\"column\" align=\"center\" gap={isCompact ? 12 : \"medium\"} className={styles.content}>\n <Flex direction=\"column\" align=\"center\" gap=\"xs\">\n {title && (\n <Heading type=\"h3\" weight=\"normal\" className={styles.title} align=\"center\" ellipsis={false}>\n {title}\n </Heading>\n )}\n\n {typeof description === \"string\" ? (\n <Text className={styles.description} align=\"center\" ellipsis={false}>\n {description}\n </Text>\n ) : (\n description\n )}\n </Flex>\n\n {(mainAction || supportingAction) && (\n <Flex direction=\"column\" align=\"center\" gap=\"small\" className={styles.actions}>\n {renderMainAction(mainAction, isCompact)}\n {renderSupportingAction(supportingAction, isCompact)}\n </Flex>\n )}\n </Flex>\n </Flex>\n );\n }\n);\n\nfunction renderMainAction(mainAction: EmptyStateProps[\"mainAction\"], isCompact: boolean) {\n if (typeof mainAction === \"object\" && \"text\" in mainAction) {\n return (\n <Button kind=\"secondary\" size={isCompact ? \"small\" : \"medium\"} {...mainAction}>\n {mainAction.text}\n </Button>\n );\n }\n\n return mainAction;\n}\n\nfunction renderSupportingAction(supportingAction: EmptyStateProps[\"supportingAction\"], isCompact: boolean) {\n if (typeof supportingAction === \"object\") {\n if (\"text\" in supportingAction && \"href\" in supportingAction) {\n const { text, ...linkProps } = supportingAction as LinkProps & { text: string };\n return <Link text={text} {...linkProps} />;\n }\n if (\"text\" in supportingAction) {\n const { text, ...buttonProps } = supportingAction as ButtonProps & { text: string };\n return (\n <Button kind=\"tertiary\" size={isCompact ? \"small\" : \"medium\"} {...buttonProps}>\n {text}\n </Button>\n );\n }\n }\n\n return supportingAction;\n}\n\nexport default EmptyState;\n"],"names":["EmptyState","forwardRef","_ref","ref","className","title","description","visual","mainAction","supportingAction","_ref$layout","layout","id","dataTestId","isCompact","React","createElement","Flex","direction","align","justify","gap","cx","styles","emptyState","getStyle","getTestId","ComponentDefaultTestId","EMPTY_STATE","ComponentVibeId","content","Heading","type","weight","ellipsis","Text","actions","_typeof","Button","Object","assign","kind","size","text","renderMainAction","linkProps","__rest","Link","buttonProps","renderSupportingAction"],"mappings":"iwBAYMA,IAAAA,EAAaC,GACjB,SAAAC,EAYEC,GACE,IAXAC,EAASF,EAATE,UACAC,EAAKH,EAALG,MACAC,EAAWJ,EAAXI,YACAC,EAAML,EAANK,OACAC,EAAUN,EAAVM,WACAC,EAAgBP,EAAhBO,iBAAgBC,EAAAR,EAChBS,OAAAA,OAAS,IAAHD,EAAG,UAASA,EAClBE,EAAEV,EAAFU,GACeC,EAAUX,EAAzB,eAIIY,EAAuB,YAAXH,EAElB,OACEI,EAAAC,cAACC,EAAI,CACHC,UAAU,SACVC,MAAM,SACNC,QAAQ,SACRC,IAAKP,EAAY,QAAU,SAC3BV,UAAWkB,EAAGC,EAAOC,WAAYC,EAASF,EAAQZ,GAASP,GAC3DQ,GAAIA,EACS,cAAAC,GAAca,EAAUC,EAAuBC,YAAahB,GAC9D,YAAAiB,EAAgBD,YAC3BzB,IAAKA,KAEFI,GAAUA,EAEbQ,EAACC,cAAAC,EAAK,CAAAC,UAAU,SAASC,MAAM,SAASE,IAAKP,EAAY,GAAK,SAAUV,UAAWmB,EAAOO,SACxFf,EAAAC,cAACC,EAAI,CAACC,UAAU,SAASC,MAAM,SAASE,IAAI,MACzChB,GACCU,EAACC,cAAAe,EAAQ,CAAAC,KAAK,KAAKC,OAAO,SAAS7B,UAAWmB,EAAOlB,MAAOc,MAAM,SAASe,UAAU,GAClF7B,GAImB,iBAAhBC,EACNS,EAACC,cAAAmB,EAAK,CAAA/B,UAAWmB,EAAOjB,YAAaa,MAAM,SAASe,UAAU,GAC3D5B,GAGHA,IAIFE,GAAcC,IACdM,EAACC,cAAAC,EAAK,CAAAC,UAAU,SAASC,MAAM,SAASE,IAAI,QAAQjB,UAAWmB,EAAOa,SAWlF,SAA0B5B,EAA2CM,GACnE,GAA0B,WAAtBuB,EAAO7B,IAA2B,SAAUA,EAC9C,OACEO,EAACC,cAAAsB,EAAOC,OAAAC,OAAA,CAAAC,KAAK,YAAYC,KAAM5B,EAAY,QAAU,UAAcN,GAChEA,EAAWmC,MAKlB,OAAOnC,CACT,CApBeoC,CAAiBpC,EAAYM,GAsB5C,SAAgCL,EAAuDK,GACrF,GAAgC,WAA5BuB,EAAO5B,GAA+B,CACxC,GAAI,SAAUA,GAAoB,SAAUA,EAAkB,CACtD,IAAEkC,EAAuBlC,EAAvBkC,KAASE,EAASC,EAAKrC,EAAzB,CAAsB,SAC5B,OAAOM,EAAAC,cAAC+B,EAAKR,OAAAC,OAAA,CAAAG,KAAMA,GAAUE,GAC/B,CACA,GAAI,SAAUpC,EAAkB,CACxB,IAAEkC,EAAyBlC,EAAzBkC,KAASK,EAAWF,EAAKrC,EAA3B,CAAwB,SAC9B,OACEM,EAACC,cAAAsB,EAAOC,OAAAC,OAAA,CAAAC,KAAK,WAAWC,KAAM5B,EAAY,QAAU,UAAckC,GAC/DL,EAGP,CACF,CAEA,OAAOlC,CACT,CAtCewC,CAAuBxC,EAAkBK,KAMtD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t={emptyState:"emptyState_f2775cb82c",compact:"compact_a10191c8ed",content:"content_3453775411",title:"title_5b59f805fc",description:"description_5b59f805fc",actions:"actions_b491b62279"};!function(t){const e="s_id-e8e63a5fb772_4_5_18";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+e))return;const c=document.createElement("style");c.id=e,n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),c.appendChild(document.createTextNode(t))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=t)}(".emptyState_f2775cb82c {\n width: 100%;\n padding: var(--space-24);\n box-sizing: border-box;\n background: var(--primary-background-color);\n}\n.emptyState_f2775cb82c.compact_a10191c8ed {\n padding: var(--space-16);\n}\n.emptyState_f2775cb82c .content_3453775411 {\n width: 100%;\n text-align: center;\n}\n.emptyState_f2775cb82c .content_3453775411 .title_5b59f805fc {\n max-width: 500px;\n}\n.emptyState_f2775cb82c .content_3453775411 .description_5b59f805fc {\n max-width: 500px;\n}\n.emptyState_f2775cb82c .content_3453775411 .actions_b491b62279 {\n width: 100%;\n}");export{t as default};
|
|
2
|
-
//# sourceMappingURL=EmptyState.module.scss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{slicedToArray as o}from"../../../_virtual/_rollupPluginBabelHelpers.js";import i,{forwardRef as e,useRef as t,useState as a,useCallback as n}from"react";import"../../../_virtual/_tslib.js";import"classnames";import"./components/InfoLink/InfoLink.module.scss.js";import r from"./components/InfoDialogContent/InfoDialogContent.js";import{ComponentDefaultTestId as s,ComponentVibeId as l}from"../../tests/constants.js";import{getTestId as d}from"../../tests/testIds.js";import c from"../../../components/dialog/dist/Dialog/Dialog.js";import m from"../../../components/icon-button/dist/IconButton/IconButton.js";import u from"../../../icons/dist/react/Info.js";import{useMergeRef as p}from"../../../shared/dist/hooks/useMergeRef.js";var f=e((function(e,f){var g=e.id,b=e.className,v=e.title,h=e.body,k=e.link,j=e["aria-label"],y=e["aria-labelledby"],D=e.position,I=void 0===D?"bottom-start":D,N=e.disabled,B=void 0!==N&&N,T=e.onDialogShow,E=e.onDialogHide,H=e.hideButtonTooltip,S=e.dialogClassName,_=e.containerSelector,w=e["data-testid"],x=t(null),C=p(f,x),F=t(null),A=a(!1),L=o(A,2),O=L[0],R=L[1],q=g?"".concat(g,"-dialog"):void 0,z=n((function(){R(!0),null==T||T(),requestAnimationFrame((function(){var o;null===(o=F.current)||void 0===o||o.focus()}))}),[T]),M=n((function(o){var i;R(!1),null==E||E(),"Escape"===o.key&&(null===(i=x.current)||void 0===i||i.focus())}),[E]);return i.createElement(c,{id:q,disable:B,position:I,moveBy:{main:4,secondary:0},showTrigger:["click"],hideTrigger:["click","clickoutside","esckey"],onDialogDidShow:z,onDialogDidHide:M,containerSelector:_,content:i.createElement(r,{ref:F,id:q,title:v,body:h,link:k,className:S}),hideWhenReferenceHidden:!0},i.createElement(m,{ref:C,id:g,className:b,icon:u,size:"xs",kind:"tertiary",active:O,disabled:B,"aria-label":j,"aria-labelledby":y,"aria-controls":q,"aria-haspopup":"dialog","aria-expanded":O,"data-testid":w||d(s.INFO,g),"data-vibe":l.INFO,hideTooltip:H}))}));export{f as default};
|
|
2
|
-
//# sourceMappingURL=Info.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Info.js","sources":["../../../../src/components/Info/Info.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useRef, useState } from \"react\";\nimport { Info as InfoIcon } from \"@vibe/icons\";\nimport { IconButton } from \"@vibe/icon-button\";\nimport { Dialog, type DialogEvent } from \"@vibe/dialog\";\nimport { InfoDialogContent } from \"./components\";\nimport { type InfoProps } from \"./Info.types\";\nimport { ComponentDefaultTestId, ComponentVibeId } from \"../../tests/constants\";\nimport { getTestId } from \"../../tests/test-ids-utils\";\nimport { useMergeRef } from \"@vibe/shared\";\n\nconst Info = forwardRef(\n (\n {\n id,\n className,\n title,\n body,\n link,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n position = \"bottom-start\",\n disabled = false,\n onDialogShow,\n onDialogHide,\n hideButtonTooltip,\n dialogClassName,\n containerSelector,\n \"data-testid\": dataTestId\n }: InfoProps,\n ref: React.ForwardedRef<HTMLButtonElement>\n ) => {\n const iconButtonRef = useRef<HTMLButtonElement>(null);\n const mergedRef = useMergeRef(ref, iconButtonRef);\n const dialogContentRef = useRef<HTMLDivElement>(null);\n\n const [isOpen, setIsOpen] = useState(false);\n\n const dialogId = id ? `${id}-dialog` : undefined;\n\n const handleDialogShow = useCallback(() => {\n setIsOpen(true);\n onDialogShow?.();\n requestAnimationFrame(() => {\n dialogContentRef.current?.focus();\n });\n }, [onDialogShow]);\n\n const handleDialogHide = useCallback(\n (e: DialogEvent) => {\n setIsOpen(false);\n onDialogHide?.();\n if ((e as React.KeyboardEvent).key === \"Escape\") {\n iconButtonRef.current?.focus();\n }\n },\n [onDialogHide]\n );\n\n return (\n <Dialog\n id={dialogId}\n disable={disabled}\n position={position}\n moveBy={{ main: 4, secondary: 0 }}\n showTrigger={[\"click\"]}\n hideTrigger={[\"click\", \"clickoutside\", \"esckey\"]}\n onDialogDidShow={handleDialogShow}\n onDialogDidHide={handleDialogHide}\n containerSelector={containerSelector}\n content={\n <InfoDialogContent\n ref={dialogContentRef}\n id={dialogId}\n title={title}\n body={body}\n link={link}\n className={dialogClassName}\n />\n }\n hideWhenReferenceHidden\n >\n <IconButton\n ref={mergedRef}\n id={id}\n className={className}\n icon={InfoIcon}\n size=\"xs\"\n kind=\"tertiary\"\n active={isOpen}\n disabled={disabled}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-controls={dialogId}\n aria-haspopup=\"dialog\"\n aria-expanded={isOpen}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.INFO, id)}\n data-vibe={ComponentVibeId.INFO}\n hideTooltip={hideButtonTooltip}\n />\n </Dialog>\n );\n }\n);\n\nexport default Info;\n"],"names":["Info","forwardRef","_ref","ref","id","className","title","body","link","ariaLabel","ariaLabelledby","_ref$position","position","_ref$disabled","disabled","onDialogShow","onDialogHide","hideButtonTooltip","dialogClassName","containerSelector","dataTestId","iconButtonRef","useRef","mergedRef","useMergeRef","dialogContentRef","_useState","useState","_useState2","_slicedToArray","isOpen","setIsOpen","dialogId","concat","undefined","handleDialogShow","useCallback","requestAnimationFrame","_a","current","focus","handleDialogHide","e","key","React","createElement","Dialog","disable","moveBy","main","secondary","showTrigger","hideTrigger","onDialogDidShow","onDialogDidHide","content","InfoDialogContent","hideWhenReferenceHidden","IconButton","icon","InfoIcon","size","kind","active","getTestId","ComponentDefaultTestId","INFO","ComponentVibeId","hideTooltip"],"mappings":"guBAUMA,IAAAA,EAAOC,GACX,SAAAC,EAkBEC,GACE,IAjBAC,EAAEF,EAAFE,GACAC,EAASH,EAATG,UACAC,EAAKJ,EAALI,MACAC,EAAIL,EAAJK,KACAC,EAAIN,EAAJM,KACcC,EAASP,EAAvB,cACmBQ,EAAcR,EAAjC,mBAAiBS,EAAAT,EACjBU,SAAAA,OAAW,IAAHD,EAAG,eAAcA,EAAAE,EAAAX,EACzBY,SAAAA,OAAW,IAAHD,GAAQA,EAChBE,EAAYb,EAAZa,aACAC,EAAYd,EAAZc,aACAC,EAAiBf,EAAjBe,kBACAC,EAAehB,EAAfgB,gBACAC,EAAiBjB,EAAjBiB,kBACeC,EAAUlB,EAAzB,eAIImB,EAAgBC,EAA0B,MAC1CC,EAAYC,EAAYrB,EAAKkB,GAC7BI,EAAmBH,EAAuB,MAEhDI,EAA4BC,GAAS,GAAMC,EAAAC,EAAAH,EAAA,GAApCI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAElBI,EAAW5B,EAAE,GAAA6B,OAAM7B,kBAAc8B,EAEjCC,EAAmBC,GAAY,WACnCL,GAAU,GACVhB,SAAAA,IACAsB,uBAAsB,iBACM,QAA1BC,EAAAb,EAAiBc,eAAS,IAAAD,GAAAA,EAAAE,OAC5B,GACF,GAAG,CAACzB,IAEE0B,EAAmBL,GACvB,SAACM,SACCX,GAAU,GACVf,SAAAA,IACuC,WAAlC0B,EAA0BC,MACN,QAAvBL,EAAAjB,EAAckB,eAAS,IAAAD,GAAAA,EAAAE,QAE3B,GACA,CAACxB,IAGH,OACE4B,EAACC,cAAAC,GACC1C,GAAI4B,EACJe,QAASjC,EACTF,SAAUA,EACVoC,OAAQ,CAAEC,KAAM,EAAGC,UAAW,GAC9BC,YAAa,CAAC,SACdC,YAAa,CAAC,QAAS,eAAgB,UACvCC,gBAAiBlB,EACjBmB,gBAAiBb,EACjBtB,kBAAmBA,EACnBoC,QACEX,EAAAC,cAACW,EACC,CAAArD,IAAKsB,EACLrB,GAAI4B,EACJ1B,MAAOA,EACPC,KAAMA,EACNC,KAAMA,EACNH,UAAWa,IAGfuC,yBAAuB,GAEvBb,EAAAC,cAACa,EAAU,CACTvD,IAAKoB,EACLnB,GAAIA,EACJC,UAAWA,EACXsD,KAAMC,EACNC,KAAK,KACLC,KAAK,WACLC,OAAQjC,EACRhB,SAAUA,EAAQ,aACNL,EAAS,kBACJC,EAAc,gBAChBsB,EAAQ,gBACT,SAAQ,gBACPF,EAAM,cACRV,GAAc4C,EAAUC,EAAuBC,KAAM9D,GAAG,YAC1D+D,EAAgBD,KAC3BE,YAAanD,IAIrB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import e,{forwardRef as t}from"react";import o from"../InfoLink/InfoLink.js";import n from"./InfoDialogContent.module.scss.js";import a from"../../../../../components/dialog/dist/DialogContentContainer/DialogContentContainer.js";import r from"../../../../../components/layout/dist/Flex/Flex.js";import i from"../../../../../components/typography/dist/Text/Text.js";var m=t((function(t,m){var s=t.title,l=t.body,p=t.link;return s||l||p?e.createElement(a,{id:t.id,type:"popover",size:"medium",className:t.className},e.createElement(r,{ref:m,tabIndex:-1,align:"start",direction:"column",gap:"xs",className:n.contentWrapper},s&&e.createElement(i,{type:"text2",weight:"bold"},s),l&&e.createElement(i,{type:"text2",element:"p"},l),p&&e.createElement(o,Object.assign({className:n.link},p)))):null}));export{m as default};
|
|
2
|
-
//# sourceMappingURL=InfoDialogContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoDialogContent.js","sources":["../../../../../../src/components/Info/components/InfoDialogContent/InfoDialogContent.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport { DialogContentContainer } from \"@vibe/dialog\";\nimport { Text } from \"@vibe/typography\";\nimport { Flex } from \"@vibe/layout\";\nimport InfoLink from \"../InfoLink/InfoLink\";\nimport { type InfoDialogContentProps } from \"./InfoDialogContent.types\";\nimport styles from \"./InfoDialogContent.module.scss\";\n\nconst InfoDialogContent = forwardRef(\n ({ id, title, body, link, className }: InfoDialogContentProps, ref: React.ForwardedRef<HTMLDivElement>) => {\n if (!title && !body && !link) {\n return null;\n }\n\n return (\n <DialogContentContainer id={id} type=\"popover\" size=\"medium\" className={className}>\n <Flex ref={ref} tabIndex={-1} align=\"start\" direction=\"column\" gap=\"xs\" className={styles.contentWrapper}>\n {title && (\n <Text type=\"text2\" weight=\"bold\">\n {title}\n </Text>\n )}\n {body && (\n <Text type=\"text2\" element=\"p\">\n {body}\n </Text>\n )}\n {link && <InfoLink className={styles.link} {...link} />}\n </Flex>\n </DialogContentContainer>\n );\n }\n);\n\nexport default InfoDialogContent;\n"],"names":["InfoDialogContent","forwardRef","_ref","ref","title","body","link","React","createElement","DialogContentContainer","id","type","size","className","Flex","tabIndex","align","direction","gap","styles","contentWrapper","Text","weight","element","InfoLink","Object","assign"],"mappings":"6WAQMA,IAAAA,EAAoBC,GACxB,SAAAC,EAA+DC,GAA2C,IAAnGC,EAAKF,EAALE,MAAOC,EAAIH,EAAJG,KAAMC,EAAIJ,EAAJI,KAClB,OAAKF,GAAUC,GAASC,EAKtBC,EAACC,cAAAC,GAAuBC,GANvBR,EAAFQ,GAMiCC,KAAK,UAAUC,KAAK,SAASC,UAN9BX,EAATW,WAOpBN,EAACC,cAAAM,EAAK,CAAAX,IAAKA,EAAKY,UAAW,EAAGC,MAAM,QAAQC,UAAU,SAASC,IAAI,KAAKL,UAAWM,EAAOC,gBACvFhB,GACCG,EAACC,cAAAa,GAAKV,KAAK,QAAQW,OAAO,QACvBlB,GAGJC,GACCE,EAACC,cAAAa,GAAKV,KAAK,QAAQY,QAAQ,KACxBlB,GAGJC,GAAQC,EAAAC,cAACgB,EAAQC,OAAAC,OAAA,CAACb,UAAWM,EAAOb,MAAUA,MAhB5C,IAoBX"}
|
package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={contentWrapper:"contentWrapper_c7b68a912a",link:"link_71c632c3cd"};!function(e){const t="s_id-646297cad054_4_5_18";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const c=document.createElement("style");c.id=t,n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),c.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".contentWrapper_c7b68a912a {\n max-width: 240px;\n}\n.contentWrapper_c7b68a912a .link_71c632c3cd {\n margin-top: var(--space-4);\n}");export{e as default};
|
|
2
|
-
//# sourceMappingURL=InfoDialogContent.module.scss.js.map
|
package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoDialogContent.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__rest as s}from"../../../../../_virtual/_tslib.js";import r,{forwardRef as m}from"react";import o from"classnames";import t from"./InfoLink.module.scss.js";import a from"../../../../../components/link/dist/Link/Link.js";var e=m((function(m,e){var i=m.className,n=s(m,["className"]);return r.createElement(a,Object.assign({ref:e,className:o(t.infoLink,i)},n))}));export{e as default};
|
|
2
|
-
//# sourceMappingURL=InfoLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoLink.js","sources":["../../../../../../src/components/Info/components/InfoLink/InfoLink.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cx from \"classnames\";\nimport { Link, type LinkProps } from \"@vibe/link\";\nimport styles from \"./InfoLink.module.scss\";\n\nexport type InfoLinkProps = LinkProps;\n\nconst InfoLink = forwardRef(\n ({ className, ...linkProps }: InfoLinkProps, ref: React.ForwardedRef<HTMLAnchorElement>) => {\n return <Link ref={ref} className={cx(styles.infoLink, className)} {...linkProps} />;\n }\n);\n\nexport default InfoLink;\n"],"names":["InfoLink","forwardRef","_a","ref","className","linkProps","__rest","React","createElement","Link","Object","assign","cx","styles","infoLink"],"mappings":"oOAOMA,IAAAA,EAAWC,GACf,SAACC,EAA4CC,GAA5C,IAAEC,EAAwCF,EAAxCE,UAAcC,EAASC,EAAAJ,EAAzB,eACC,OAAOK,EAAAC,cAACC,EAAKC,OAAAC,OAAA,CAAAR,IAAKA,EAAKC,UAAWQ,EAAGC,EAAOC,SAAUV,IAAgBC,GACxE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={infoLink:"infoLink_5cfe0fe033"};!function(e){const t="s_id-63a4f7de1b47_4_5_18";if("undefined"!=typeof document){const n=document.head||document.getElementsByTagName("head")[0];if(n.querySelector("#"+t))return;const i=document.createElement("style");i.id=t,n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[t]=e)}(".infoLink_5cfe0fe033 {\n color: var(--primary-text-color);\n text-decoration: underline;\n}");export{e as default};
|
|
2
|
-
//# sourceMappingURL=InfoLink.module.scss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoLink.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|