@vibe/core 4.5.19 → 4.5.21
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 +4 -6
- 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-inputs/dist/FieldLabel/FieldLabel.js +2 -0
- package/dist/components/text-inputs/dist/FieldLabel/FieldLabel.js.map +1 -0
- package/dist/components/text-inputs/dist/FieldLabel/FieldLabel.module.scss.js +2 -0
- package/dist/components/text-inputs/dist/InfoText/InfoText.js +2 -0
- package/dist/components/text-inputs/dist/InfoText/InfoText.js.map +1 -0
- package/dist/components/text-inputs/dist/InfoText/InfoText.module.scss.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/NumberField.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/NumberField.js.map +1 -0
- package/dist/components/text-inputs/dist/NumberField/NumberField.module.scss.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js.map +1 -0
- package/dist/components/text-inputs/dist/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/hooks/useNumberFieldState.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/hooks/useNumberFieldState.js.map +1 -0
- package/dist/components/text-inputs/dist/NumberField/hooks/useSpinButtonHandlers.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/hooks/useSpinButtonHandlers.js.map +1 -0
- package/dist/components/text-inputs/dist/NumberField/utils/calcValue.js +2 -0
- package/dist/components/text-inputs/dist/NumberField/utils/calcValue.js.map +1 -0
- package/dist/components/text-inputs/dist/TextArea/TextArea.js +2 -0
- package/dist/components/text-inputs/dist/TextArea/TextArea.js.map +1 -0
- package/dist/components/text-inputs/dist/TextArea/TextArea.module.scss.js +2 -0
- package/dist/components/text-inputs/dist/TextField/TextField.js +2 -0
- package/dist/components/text-inputs/dist/TextField/TextField.js.map +1 -0
- package/dist/components/text-inputs/dist/TextField/TextField.module.scss.js +2 -0
- package/dist/components/text-inputs/dist/TextField/TextFieldConstants.js +2 -0
- package/dist/components/text-inputs/dist/TextField/TextFieldConstants.js.map +1 -0
- package/dist/components/text-inputs/dist/_virtual/_tslib.js +2 -0
- package/dist/components/text-inputs/dist/_virtual/_tslib.js.map +1 -0
- package/dist/components/text-with-highlight/dist/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/components/toast/dist/Toast/Toast.js +2 -0
- package/dist/components/toast/dist/Toast/Toast.js.map +1 -0
- package/dist/components/toast/dist/Toast/Toast.module.scss.js +2 -0
- package/dist/components/toast/dist/Toast/ToastButton/ToastButton.js +2 -0
- package/dist/components/toast/dist/Toast/ToastButton/ToastButton.js.map +1 -0
- package/dist/components/toast/dist/Toast/ToastConstants.js +2 -0
- package/dist/components/toast/dist/Toast/ToastConstants.js.map +1 -0
- package/dist/components/toast/dist/Toast/ToastHelpers.js +2 -0
- package/dist/components/toast/dist/Toast/ToastHelpers.js.map +1 -0
- package/dist/components/toast/dist/Toast/ToastLink/ToastLink.js +2 -0
- package/dist/components/toast/dist/Toast/ToastLink/ToastLink.js.map +1 -0
- package/dist/components/toast/dist/Toast/ToastLink/ToastLink.module.scss.js +2 -0
- package/dist/components/toast/dist/_virtual/_tslib.js +2 -0
- package/dist/components/toast/dist/_virtual/_tslib.js.map +1 -0
- 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/{mocked_classnames/src/hooks → hooks/dist}/useDebounceEvent/index.js +1 -1
- package/dist/hooks/dist/useDebounceEvent/index.js.map +1 -0
- package/dist/hooks/index.d.ts +1 -2
- package/dist/metadata/components.json +2934 -2789
- package/dist/metadata.json +2934 -2789
- package/dist/mocked_classnames/components/index.d.ts +4 -6
- package/dist/mocked_classnames/hooks/index.d.ts +1 -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.js +1 -1
- package/dist/mocked_classnames/src/components/Dropdown/components/DropdownBase/DropdownBase.js.map +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/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/Search/Search.js +1 -1
- package/dist/mocked_classnames/src/components/Search/Search.js.map +1 -1
- package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.js.map +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/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/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.js +1 -1
- package/dist/src/components/Dropdown/components/DropdownBase/DropdownBase.js.map +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/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/Search/Search.js +1 -1
- package/dist/src/components/Search/Search.js.map +1 -1
- package/dist/src/components/Search/Search.module.scss.js +1 -1
- package/dist/src/components/Slider/SelectionIndicator.js +1 -1
- package/dist/src/components/Slider/SelectionIndicator.js.map +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/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/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 +46 -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/FieldLabel/FieldLabel.d.ts +0 -34
- package/dist/components/FieldLabel/index.d.ts +0 -1
- 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/components/InfoText/InfoText.d.ts +0 -4
- package/dist/components/InfoText/InfoText.types.d.ts +0 -26
- package/dist/components/InfoText/index.d.ts +0 -2
- package/dist/components/NumberField/NumberField.d.ts +0 -4
- package/dist/components/NumberField/NumberField.types.d.ts +0 -80
- package/dist/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.d.ts +0 -4
- package/dist/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.types.d.ts +0 -9
- package/dist/components/NumberField/hooks/useNumberFieldState.d.ts +0 -11
- package/dist/components/NumberField/hooks/useSpinButtonHandlers.d.ts +0 -9
- package/dist/components/NumberField/index.d.ts +0 -2
- package/dist/components/NumberField/utils/calcValue.d.ts +0 -6
- package/dist/components/TextArea/TextArea.d.ts +0 -4
- package/dist/components/TextArea/TextArea.types.d.ts +0 -67
- package/dist/components/TextArea/index.d.ts +0 -2
- package/dist/components/TextField/TextField.d.ts +0 -186
- package/dist/components/TextField/TextField.types.d.ts +0 -3
- package/dist/components/TextField/TextFieldConstants.d.ts +0 -21
- package/dist/components/TextField/index.d.ts +0 -2
- package/dist/components/Toast/Toast.d.ts +0 -57
- package/dist/components/Toast/Toast.types.d.ts +0 -9
- package/dist/components/Toast/ToastButton/ToastButton.d.ts +0 -5
- package/dist/components/Toast/ToastConstants.d.ts +0 -7
- package/dist/components/Toast/ToastHelpers.d.ts +0 -4
- package/dist/components/Toast/ToastLink/ToastLink.d.ts +0 -5
- package/dist/components/Toast/index.d.ts +0 -4
- package/dist/hooks/useDebounceEvent/index.d.ts +0 -18
- 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/FieldLabel/FieldLabel.d.ts +0 -34
- package/dist/mocked_classnames/components/FieldLabel/index.d.ts +0 -1
- 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/components/InfoText/InfoText.d.ts +0 -4
- package/dist/mocked_classnames/components/InfoText/InfoText.types.d.ts +0 -26
- package/dist/mocked_classnames/components/InfoText/index.d.ts +0 -2
- package/dist/mocked_classnames/components/NumberField/NumberField.d.ts +0 -4
- package/dist/mocked_classnames/components/NumberField/NumberField.types.d.ts +0 -80
- package/dist/mocked_classnames/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.d.ts +0 -4
- package/dist/mocked_classnames/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.types.d.ts +0 -9
- package/dist/mocked_classnames/components/NumberField/hooks/useNumberFieldState.d.ts +0 -11
- package/dist/mocked_classnames/components/NumberField/hooks/useSpinButtonHandlers.d.ts +0 -9
- package/dist/mocked_classnames/components/NumberField/index.d.ts +0 -2
- package/dist/mocked_classnames/components/NumberField/utils/calcValue.d.ts +0 -6
- package/dist/mocked_classnames/components/TextArea/TextArea.d.ts +0 -4
- package/dist/mocked_classnames/components/TextArea/TextArea.types.d.ts +0 -67
- package/dist/mocked_classnames/components/TextArea/index.d.ts +0 -2
- package/dist/mocked_classnames/components/TextField/TextField.d.ts +0 -186
- package/dist/mocked_classnames/components/TextField/TextField.types.d.ts +0 -3
- package/dist/mocked_classnames/components/TextField/TextFieldConstants.d.ts +0 -21
- package/dist/mocked_classnames/components/TextField/index.d.ts +0 -2
- package/dist/mocked_classnames/components/Toast/Toast.d.ts +0 -57
- package/dist/mocked_classnames/components/Toast/Toast.types.d.ts +0 -9
- package/dist/mocked_classnames/components/Toast/ToastButton/ToastButton.d.ts +0 -5
- package/dist/mocked_classnames/components/Toast/ToastConstants.d.ts +0 -7
- package/dist/mocked_classnames/components/Toast/ToastHelpers.d.ts +0 -4
- package/dist/mocked_classnames/components/Toast/ToastLink/ToastLink.d.ts +0 -5
- package/dist/mocked_classnames/components/Toast/index.d.ts +0 -4
- package/dist/mocked_classnames/hooks/useDebounceEvent/index.d.ts +0 -18
- 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/FieldLabel/FieldLabel.js +0 -2
- package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.js.map +0 -1
- package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.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/mocked_classnames/src/components/InfoText/InfoText.js +0 -2
- package/dist/mocked_classnames/src/components/InfoText/InfoText.js.map +0 -1
- package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/NumberField.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/NumberField.js.map +0 -1
- package/dist/mocked_classnames/src/components/NumberField/NumberField.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js.map +0 -1
- package/dist/mocked_classnames/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/hooks/useNumberFieldState.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/hooks/useNumberFieldState.js.map +0 -1
- package/dist/mocked_classnames/src/components/NumberField/hooks/useSpinButtonHandlers.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/hooks/useSpinButtonHandlers.js.map +0 -1
- package/dist/mocked_classnames/src/components/NumberField/utils/calcValue.js +0 -2
- package/dist/mocked_classnames/src/components/NumberField/utils/calcValue.js.map +0 -1
- package/dist/mocked_classnames/src/components/TextArea/TextArea.js +0 -2
- package/dist/mocked_classnames/src/components/TextArea/TextArea.js.map +0 -1
- package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/TextField/TextField.js +0 -2
- package/dist/mocked_classnames/src/components/TextField/TextField.js.map +0 -1
- package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/TextField/TextFieldConstants.js +0 -2
- package/dist/mocked_classnames/src/components/TextField/TextFieldConstants.js.map +0 -1
- package/dist/mocked_classnames/src/components/Toast/Toast.js +0 -2
- package/dist/mocked_classnames/src/components/Toast/Toast.js.map +0 -1
- package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Toast/ToastButton/ToastButton.js +0 -2
- package/dist/mocked_classnames/src/components/Toast/ToastButton/ToastButton.js.map +0 -1
- package/dist/mocked_classnames/src/components/Toast/ToastConstants.js +0 -2
- package/dist/mocked_classnames/src/components/Toast/ToastConstants.js.map +0 -1
- package/dist/mocked_classnames/src/components/Toast/ToastHelpers.js +0 -2
- package/dist/mocked_classnames/src/components/Toast/ToastHelpers.js.map +0 -1
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js +0 -2
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js.map +0 -1
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +0 -2
- package/dist/mocked_classnames/src/hooks/useDebounceEvent/index.js.map +0 -1
- package/dist/mocked_classnames/types/FormElement.d.ts +0 -40
- 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/FieldLabel/FieldLabel.js +0 -2
- package/dist/src/components/FieldLabel/FieldLabel.js.map +0 -1
- package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +0 -2
- package/dist/src/components/FieldLabel/FieldLabel.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/src/components/InfoText/InfoText.js +0 -2
- package/dist/src/components/InfoText/InfoText.js.map +0 -1
- package/dist/src/components/InfoText/InfoText.module.scss.js +0 -2
- package/dist/src/components/InfoText/InfoText.module.scss.js.map +0 -1
- package/dist/src/components/NumberField/NumberField.js +0 -2
- package/dist/src/components/NumberField/NumberField.js.map +0 -1
- package/dist/src/components/NumberField/NumberField.module.scss.js +0 -2
- package/dist/src/components/NumberField/NumberField.module.scss.js.map +0 -1
- package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js +0 -2
- package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.js.map +0 -1
- package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js +0 -2
- package/dist/src/components/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js.map +0 -1
- package/dist/src/components/NumberField/hooks/useNumberFieldState.js +0 -2
- package/dist/src/components/NumberField/hooks/useNumberFieldState.js.map +0 -1
- package/dist/src/components/NumberField/hooks/useSpinButtonHandlers.js +0 -2
- package/dist/src/components/NumberField/hooks/useSpinButtonHandlers.js.map +0 -1
- package/dist/src/components/NumberField/utils/calcValue.js +0 -2
- package/dist/src/components/NumberField/utils/calcValue.js.map +0 -1
- package/dist/src/components/TextArea/TextArea.js +0 -2
- package/dist/src/components/TextArea/TextArea.js.map +0 -1
- package/dist/src/components/TextArea/TextArea.module.scss.js +0 -2
- package/dist/src/components/TextArea/TextArea.module.scss.js.map +0 -1
- package/dist/src/components/TextField/TextField.js +0 -2
- package/dist/src/components/TextField/TextField.js.map +0 -1
- package/dist/src/components/TextField/TextField.module.scss.js +0 -2
- package/dist/src/components/TextField/TextField.module.scss.js.map +0 -1
- package/dist/src/components/TextField/TextFieldConstants.js +0 -2
- package/dist/src/components/TextField/TextFieldConstants.js.map +0 -1
- package/dist/src/components/Toast/Toast.js +0 -2
- package/dist/src/components/Toast/Toast.js.map +0 -1
- package/dist/src/components/Toast/Toast.module.scss.js +0 -2
- package/dist/src/components/Toast/Toast.module.scss.js.map +0 -1
- package/dist/src/components/Toast/ToastButton/ToastButton.js +0 -2
- package/dist/src/components/Toast/ToastButton/ToastButton.js.map +0 -1
- package/dist/src/components/Toast/ToastConstants.js +0 -2
- package/dist/src/components/Toast/ToastConstants.js.map +0 -1
- package/dist/src/components/Toast/ToastHelpers.js +0 -2
- package/dist/src/components/Toast/ToastHelpers.js.map +0 -1
- package/dist/src/components/Toast/ToastLink/ToastLink.js +0 -2
- package/dist/src/components/Toast/ToastLink/ToastLink.js.map +0 -1
- package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +0 -2
- package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js.map +0 -1
- package/dist/src/hooks/useDebounceEvent/index.js +0 -2
- package/dist/src/hooks/useDebounceEvent/index.js.map +0 -1
- package/dist/types/FormElement.d.ts +0 -40
- /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/dist/{mocked_classnames/src/components → components/text-inputs/dist}/FieldLabel/FieldLabel.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/text-inputs/dist}/InfoText/InfoText.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/text-inputs/dist}/NumberField/NumberField.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/text-inputs/dist}/NumberField/components/NumberFieldSpinButton/NumberFieldSpinButton.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/text-inputs/dist}/TextArea/TextArea.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/text-inputs/dist}/TextField/TextField.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/toast/dist}/Toast/Toast.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/toast/dist}/Toast/ToastLink/ToastLink.module.scss.js.map +0 -0
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { type InputHTMLAttributes } from "react";
|
|
2
|
-
import { type SubIcon } from "@vibe/icon";
|
|
3
|
-
import type VibeComponentProps from "../../types/VibeComponentProps";
|
|
4
|
-
import { type FormElementProps } from "../../types/FormElement";
|
|
5
|
-
type NumberFieldNativeInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange" | "disabled" | "readOnly" | "id" | "type" | "inputMode" | "role" | "aria-valuenow" | "aria-valuemin" | "aria-valuemax" | "aria-required" | "aria-invalid" | "min" | "max" | "step">;
|
|
6
|
-
interface NumberFieldBaseProps extends NumberFieldNativeInputProps, Omit<VibeComponentProps, "id"> {
|
|
7
|
-
/**
|
|
8
|
-
* The current value of the number field.
|
|
9
|
-
*/
|
|
10
|
-
value: number | null;
|
|
11
|
-
/**
|
|
12
|
-
* Callback fired when the value changes.
|
|
13
|
-
* @param {number | null} value - The new value.
|
|
14
|
-
* @param {React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent} event - The event that triggered the change.
|
|
15
|
-
*/
|
|
16
|
-
onChange: (value: number | null, event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent) => void;
|
|
17
|
-
/**
|
|
18
|
-
* If true, the input will be required.
|
|
19
|
-
*/
|
|
20
|
-
required?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* The placeholder text to display when the input is empty.
|
|
23
|
-
*/
|
|
24
|
-
placeholder?: string;
|
|
25
|
-
/**
|
|
26
|
-
* If true, the input will be in an error state.
|
|
27
|
-
*/
|
|
28
|
-
error?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* If true, the input will be in a success state.
|
|
31
|
-
*/
|
|
32
|
-
success?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* If true, the input will be disabled.
|
|
35
|
-
*/
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* If true, the input will be read-only.
|
|
39
|
-
*/
|
|
40
|
-
readOnly?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* The minimum value allowed.
|
|
43
|
-
*/
|
|
44
|
-
min?: number;
|
|
45
|
-
/**
|
|
46
|
-
* The maximum value allowed.
|
|
47
|
-
*/
|
|
48
|
-
max?: number;
|
|
49
|
-
/**
|
|
50
|
-
* The amount to increment or decrement the value by.
|
|
51
|
-
*/
|
|
52
|
-
step?: number;
|
|
53
|
-
/**
|
|
54
|
-
* The size of the input.
|
|
55
|
-
*/
|
|
56
|
-
size?: "small" | "medium" | "large";
|
|
57
|
-
/**
|
|
58
|
-
* An icon to display on the left side of the input.
|
|
59
|
-
*/
|
|
60
|
-
leftIcon?: SubIcon;
|
|
61
|
-
}
|
|
62
|
-
type NumberFieldValidityChangeProps = {
|
|
63
|
-
/**
|
|
64
|
-
* If false, the value will be clamped to the min/max values on change.
|
|
65
|
-
*/
|
|
66
|
-
allowOutOfBounds?: false;
|
|
67
|
-
onValidityChange?: never;
|
|
68
|
-
} | {
|
|
69
|
-
/**
|
|
70
|
-
* If true, the value can exceed the min/max values.
|
|
71
|
-
* Can be used alongside `onValidityChange` to handle the validity of the value.
|
|
72
|
-
*/
|
|
73
|
-
allowOutOfBounds: true;
|
|
74
|
-
/**
|
|
75
|
-
* Callback fired when the validity of the value changes (if it is within the min/max bounds).
|
|
76
|
-
*/
|
|
77
|
-
onValidityChange?: (isValid: boolean) => void;
|
|
78
|
-
};
|
|
79
|
-
export type NumberFieldProps = NumberFieldBaseProps & FormElementProps & NumberFieldValidityChangeProps;
|
|
80
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type NumberFieldSpinButtonProps } from "./NumberFieldSpinButton.types";
|
|
3
|
-
declare const NumberFieldSpinButton: ({ inputId, onIncrement, onDecrement, disabled, size, isAtMin, isAtMax }: NumberFieldSpinButtonProps) => React.JSX.Element;
|
|
4
|
-
export default NumberFieldSpinButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface NumberFieldSpinButtonProps {
|
|
2
|
-
inputId?: string;
|
|
3
|
-
onIncrement: (event: React.MouseEvent | React.KeyboardEvent) => void;
|
|
4
|
-
onDecrement: (event: React.MouseEvent | React.KeyboardEvent) => void;
|
|
5
|
-
size: "small" | "medium" | "large";
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
isAtMin?: boolean;
|
|
8
|
-
isAtMax?: boolean;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type NumberFieldProps } from "../NumberField.types";
|
|
2
|
-
export type UseNumberFieldStateProps = Pick<NumberFieldProps, "value" | "onChange" | "min" | "max" | "step" | "disabled" | "readOnly" | "allowOutOfBounds" | "onValidityChange">;
|
|
3
|
-
declare const useNumberFieldState: ({ value: controlledValue, onChange, min, max, step, disabled, readOnly, allowOutOfBounds, onValidityChange }: UseNumberFieldStateProps) => {
|
|
4
|
-
inputValue: string;
|
|
5
|
-
numericValue: number;
|
|
6
|
-
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
onKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
8
|
-
isAtMin: boolean;
|
|
9
|
-
isAtMax: boolean;
|
|
10
|
-
};
|
|
11
|
-
export default useNumberFieldState;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type NumberFieldProps } from "../NumberField.types";
|
|
2
|
-
export type UseSpinButtonHandlersProps = Pick<NumberFieldProps, "onChange" | "value" | "step" | "min" | "max" | "allowOutOfBounds" | "readOnly"> & {
|
|
3
|
-
inputRef: React.RefObject<HTMLInputElement>;
|
|
4
|
-
};
|
|
5
|
-
declare const useSpinButtonHandlers: ({ onChange, value, step, min, max, allowOutOfBounds, readOnly, inputRef }: UseSpinButtonHandlersProps) => {
|
|
6
|
-
onIncrement: (event: React.MouseEvent | React.KeyboardEvent) => void;
|
|
7
|
-
onDecrement: (event: React.MouseEvent | React.KeyboardEvent) => void;
|
|
8
|
-
};
|
|
9
|
-
export default useSpinButtonHandlers;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type NumberFieldProps } from "../NumberField.types";
|
|
2
|
-
type CalculateSteppedValueProps = Pick<NumberFieldProps, "value" | "step" | "min" | "max" | "allowOutOfBounds"> & {
|
|
3
|
-
direction: number;
|
|
4
|
-
};
|
|
5
|
-
export declare const calculateSteppedValue: ({ value, direction, step, min, max, allowOutOfBounds }: CalculateSteppedValueProps) => number;
|
|
6
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { type TextareaHTMLAttributes } from "react";
|
|
2
|
-
import { type VibeComponentProps } from "../../types";
|
|
3
|
-
export type TextAreaSize = "small" | "large";
|
|
4
|
-
type TextAreaNativeInputProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "role" | "aria-describedby" | "aria-invalid">;
|
|
5
|
-
export interface TextAreaProps extends TextAreaNativeInputProps, VibeComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* The current value of the textarea.
|
|
8
|
-
*/
|
|
9
|
-
value?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Determines the size of the textarea text as well as the default row count.
|
|
12
|
-
*/
|
|
13
|
-
size?: TextAreaSize;
|
|
14
|
-
/**
|
|
15
|
-
* If true, applies success styling to the textarea.
|
|
16
|
-
*/
|
|
17
|
-
success?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* If true, applies error styling to the textarea.
|
|
20
|
-
*/
|
|
21
|
-
error?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* The label associated with the textarea.
|
|
24
|
-
*/
|
|
25
|
-
label?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Callback fired when the textarea value changes.
|
|
28
|
-
*/
|
|
29
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Help text displayed below the textarea.
|
|
32
|
-
*/
|
|
33
|
-
helpText?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The accessibility label for the textarea.
|
|
36
|
-
*/
|
|
37
|
-
"aria-label"?: React.AriaAttributes["aria-label"];
|
|
38
|
-
/**
|
|
39
|
-
* If true, the textarea can be resized vertically.
|
|
40
|
-
*/
|
|
41
|
-
resize?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* The placeholder text displayed when the textarea is empty.
|
|
44
|
-
*/
|
|
45
|
-
placeholder?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The maximum number of characters allowed.
|
|
48
|
-
*/
|
|
49
|
-
maxLength?: number;
|
|
50
|
-
/**
|
|
51
|
-
* If true, allows the user to exceed the character limit set by `maxLength`.
|
|
52
|
-
*/
|
|
53
|
-
allowExceedingMaxLength?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* If true, displays the character count below the textarea.
|
|
56
|
-
*/
|
|
57
|
-
showCharCount?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* If true, disables the textarea.
|
|
60
|
-
*/
|
|
61
|
-
disabled?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* If true, makes the textarea read-only.
|
|
64
|
-
*/
|
|
65
|
-
readOnly?: boolean;
|
|
66
|
-
}
|
|
67
|
-
export {};
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type TextFieldType, type TextFieldSize } from "./TextField.types";
|
|
3
|
-
import { type VibeComponentProps } from "../../types";
|
|
4
|
-
export interface TextFieldProps extends VibeComponentProps {
|
|
5
|
-
/**
|
|
6
|
-
* The placeholder text displayed when the input is empty.
|
|
7
|
-
*/
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Configures the browser's autocomplete behavior.
|
|
11
|
-
*/
|
|
12
|
-
autoComplete?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The current value of the text field.
|
|
15
|
-
*/
|
|
16
|
-
value?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Callback fired when the text field value changes.
|
|
19
|
-
*/
|
|
20
|
-
onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement> | Pick<React.ChangeEvent<HTMLInputElement>, "target">) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Callback fired when the text field loses focus.
|
|
23
|
-
*/
|
|
24
|
-
onBlur?: (event: React.FocusEvent) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Callback fired when the text field gains focus.
|
|
27
|
-
*/
|
|
28
|
-
onFocus?: (event: React.FocusEvent) => void;
|
|
29
|
-
/**
|
|
30
|
-
* Callback fired when a key is pressed inside the text field.
|
|
31
|
-
*/
|
|
32
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
33
|
-
/**
|
|
34
|
-
* Callback fired when the mouse wheel is used inside the text field.
|
|
35
|
-
*/
|
|
36
|
-
onWheel?: (event: React.WheelEvent) => void;
|
|
37
|
-
/**
|
|
38
|
-
* The debounce rate for input value changes.
|
|
39
|
-
*/
|
|
40
|
-
debounceRate?: number;
|
|
41
|
-
/**
|
|
42
|
-
* If true, the input is automatically focused on mount.
|
|
43
|
-
*/
|
|
44
|
-
autoFocus?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* If true, disables the text field.
|
|
47
|
-
*/
|
|
48
|
-
disabled?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* If true, makes the text field read-only.
|
|
51
|
-
*/
|
|
52
|
-
readonly?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* A function to set a reference to the input element.
|
|
55
|
-
*/
|
|
56
|
-
setRef?: (node: HTMLElement) => void;
|
|
57
|
-
/**
|
|
58
|
-
* The primary icon displayed inside the text field.
|
|
59
|
-
*/
|
|
60
|
-
icon?: string | React.FunctionComponent | null;
|
|
61
|
-
/**
|
|
62
|
-
* The secondary icon displayed inside the text field.
|
|
63
|
-
*/
|
|
64
|
-
secondaryIconName?: string | React.FunctionComponent | null;
|
|
65
|
-
/**
|
|
66
|
-
* The label displayed above the text field.
|
|
67
|
-
*/
|
|
68
|
-
title?: string;
|
|
69
|
-
/**
|
|
70
|
-
* The size of the text field.
|
|
71
|
-
*/
|
|
72
|
-
size?: TextFieldSize;
|
|
73
|
-
/**
|
|
74
|
-
* Validation state for the text field.
|
|
75
|
-
*/
|
|
76
|
-
validation?: {
|
|
77
|
-
status?: "error" | "success";
|
|
78
|
-
text?: string | React.ReactNode;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Class name applied to the text field wrapper.
|
|
82
|
-
*/
|
|
83
|
-
wrapperClassName?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Callback fired when the icon inside the text field is clicked.
|
|
86
|
-
*/
|
|
87
|
-
onIconClick?: (icon: string | React.FunctionComponent | null) => void;
|
|
88
|
-
/**
|
|
89
|
-
* If true, clears the input when the icon is clicked.
|
|
90
|
-
*/
|
|
91
|
-
clearOnIconClick?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* The icon displayed inside the label.
|
|
94
|
-
*/
|
|
95
|
-
labelIconName?: string | React.FunctionComponent | null;
|
|
96
|
-
/**
|
|
97
|
-
* If true, displays the character count.
|
|
98
|
-
*/
|
|
99
|
-
showCharCount?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* The ARIA label for the input field.
|
|
102
|
-
*/
|
|
103
|
-
inputAriaLabel?: string;
|
|
104
|
-
/**
|
|
105
|
-
* The ID of the container where search results are displayed.
|
|
106
|
-
*/
|
|
107
|
-
searchResultsContainerId?: string;
|
|
108
|
-
/**
|
|
109
|
-
* The ID of the currently active search result.
|
|
110
|
-
*/
|
|
111
|
-
activeDescendant?: string;
|
|
112
|
-
/**
|
|
113
|
-
* Accessible label for the primary icon.
|
|
114
|
-
*/
|
|
115
|
-
iconLabel?: string;
|
|
116
|
-
/**
|
|
117
|
-
* Accessible label for the secondary icon.
|
|
118
|
-
*/
|
|
119
|
-
secondaryIconLabel?: string;
|
|
120
|
-
/**
|
|
121
|
-
* The type of the text field.
|
|
122
|
-
*/
|
|
123
|
-
type?: TextFieldType;
|
|
124
|
-
/**
|
|
125
|
-
* The maximum number of characters allowed.
|
|
126
|
-
*/
|
|
127
|
-
maxLength?: number;
|
|
128
|
-
/**
|
|
129
|
-
* If true, allows the user to exceed the character limit set by `maxLength`.
|
|
130
|
-
*/
|
|
131
|
-
allowExceedingMaxLength?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* If true, trims whitespace from the input value.
|
|
134
|
-
*/
|
|
135
|
-
trim?: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* The ARIA role of the text field.
|
|
138
|
-
*/
|
|
139
|
-
role?: string;
|
|
140
|
-
/**
|
|
141
|
-
* If true, marks the input as required.
|
|
142
|
-
*/
|
|
143
|
-
required?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* The error message displayed when a required field is left empty.
|
|
146
|
-
*/
|
|
147
|
-
requiredErrorText?: string;
|
|
148
|
-
/**
|
|
149
|
-
* If true, displays a loading indicator inside the text field.
|
|
150
|
-
*/
|
|
151
|
-
loading?: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* Test ID for the secondary icon.
|
|
154
|
-
*/
|
|
155
|
-
secondaryDataTestId?: string;
|
|
156
|
-
/**
|
|
157
|
-
* The tab order of the input field.
|
|
158
|
-
*/
|
|
159
|
-
tabIndex?: number;
|
|
160
|
-
/**
|
|
161
|
-
* The name attribute for the input field.
|
|
162
|
-
*/
|
|
163
|
-
name?: string;
|
|
164
|
-
/**
|
|
165
|
-
* If true, renders only an underline style for the text field.
|
|
166
|
-
*/
|
|
167
|
-
underline?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* If true, the component is controlled by an external state.
|
|
170
|
-
*/
|
|
171
|
-
controlled?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Tooltip content for the primary icon.
|
|
174
|
-
*/
|
|
175
|
-
iconTooltipContent?: string;
|
|
176
|
-
/**
|
|
177
|
-
* Tooltip content for the secondary icon.
|
|
178
|
-
*/
|
|
179
|
-
secondaryTooltipContent?: string;
|
|
180
|
-
/**
|
|
181
|
-
* The text direction of the input.
|
|
182
|
-
*/
|
|
183
|
-
dir?: "ltr" | "rtl" | "auto";
|
|
184
|
-
}
|
|
185
|
-
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<unknown>>;
|
|
186
|
-
export default TextField;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { BASE_SIZES } from "../../constants";
|
|
2
|
-
export declare enum TextFieldAriaLabel {
|
|
3
|
-
CHAR = "Input char count",
|
|
4
|
-
VALIDATION_TEXT = "Additional helper text"
|
|
5
|
-
}
|
|
6
|
-
declare const OLD_TEXT_FIELD_SIZES: {
|
|
7
|
-
s: "small";
|
|
8
|
-
md: "medium";
|
|
9
|
-
l: "large";
|
|
10
|
-
};
|
|
11
|
-
export type TextFieldSize = (typeof BASE_SIZES)[keyof typeof BASE_SIZES] | keyof typeof OLD_TEXT_FIELD_SIZES;
|
|
12
|
-
export declare const FEEDBACK_CLASSES: {
|
|
13
|
-
error: string;
|
|
14
|
-
success: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const SIZE_MAPPER: {
|
|
17
|
-
small: string;
|
|
18
|
-
medium: string;
|
|
19
|
-
large: string;
|
|
20
|
-
};
|
|
21
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React, { type ReactElement } from "react";
|
|
2
|
-
import { type IconSubComponentProps } from "@vibe/icon";
|
|
3
|
-
import { type ToastType, type ToastAction } from "./Toast.types";
|
|
4
|
-
import { type VibeComponentProps } from "../../types";
|
|
5
|
-
export interface ToastProps extends VibeComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* The actions available in the toast.
|
|
8
|
-
*/
|
|
9
|
-
actions?: ToastAction[];
|
|
10
|
-
/**
|
|
11
|
-
* If true, the toast is open (visible).
|
|
12
|
-
*/
|
|
13
|
-
open?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* If true, displays a loading indicator inside the toast.
|
|
16
|
-
*/
|
|
17
|
-
loading?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* The type of toast.
|
|
20
|
-
*/
|
|
21
|
-
type?: ToastType;
|
|
22
|
-
/**
|
|
23
|
-
* The icon displayed in the toast.
|
|
24
|
-
*/
|
|
25
|
-
icon?: string | React.FC<IconSubComponentProps> | null;
|
|
26
|
-
/**
|
|
27
|
-
* If true, hides the toast icon.
|
|
28
|
-
*/
|
|
29
|
-
hideIcon?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* The action element displayed in the toast.
|
|
32
|
-
*/
|
|
33
|
-
action?: JSX.Element;
|
|
34
|
-
/**
|
|
35
|
-
* If false, hides the close button.
|
|
36
|
-
*/
|
|
37
|
-
closeable?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Callback fired when the toast is closed.
|
|
40
|
-
*/
|
|
41
|
-
onClose?: () => void;
|
|
42
|
-
/**
|
|
43
|
-
* The number of milliseconds before the toast automatically closes.
|
|
44
|
-
* (0 or null disables auto-close behavior).
|
|
45
|
-
*/
|
|
46
|
-
autoHideDuration?: number;
|
|
47
|
-
/**
|
|
48
|
-
* The content displayed inside the toast.
|
|
49
|
-
*/
|
|
50
|
-
children?: ReactElement | ReactElement[] | string;
|
|
51
|
-
/**
|
|
52
|
-
* The aria-label for the close button.
|
|
53
|
-
*/
|
|
54
|
-
closeButtonAriaLabel?: string;
|
|
55
|
-
}
|
|
56
|
-
declare const Toast: ({ open, loading, autoHideDuration, type, icon, hideIcon, action: deprecatedAction, actions, children, closeable, onClose, className, id, closeButtonAriaLabel, "data-testid": dataTestId }: ToastProps) => React.JSX.Element;
|
|
57
|
-
export default Toast;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type ToastType = "normal" | "positive" | "negative" | "warning" | "dark";
|
|
2
|
-
export type ToastActionType = "link" | "button";
|
|
3
|
-
export type ToastAction = {
|
|
4
|
-
type: ToastActionType;
|
|
5
|
-
content?: string;
|
|
6
|
-
text?: string;
|
|
7
|
-
href?: string;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const defaultIconMap: {
|
|
2
|
-
normal: import("react").FC<import("@vibe/icons/dist/react/Info").InfoProps>;
|
|
3
|
-
positive: import("react").FC<import("@vibe/icons/dist/react/Check").CheckProps>;
|
|
4
|
-
negative: import("react").FC<import("@vibe/icons/dist/react/Alert").AlertProps>;
|
|
5
|
-
warning: import("react").FC<import("@vibe/icons/dist/react/Warning").WarningProps>;
|
|
6
|
-
dark: import("react").FC<import("@vibe/icons/dist/react/Info").InfoProps>;
|
|
7
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type ChangeEvent, type Dispatch, type SetStateAction } from "react";
|
|
2
|
-
export type UseDebounceResult = {
|
|
3
|
-
inputValue: string;
|
|
4
|
-
onEventChanged: (event: ChangeEvent<Partial<HTMLInputElement> | Partial<HTMLTextAreaElement>>) => void;
|
|
5
|
-
clearValue: () => void;
|
|
6
|
-
updateValue: Dispatch<SetStateAction<string>>;
|
|
7
|
-
};
|
|
8
|
-
export default function useDebounceEvent({ delay, onChange, initialStateValue, trim }: {
|
|
9
|
-
onChange: (value: string) => void;
|
|
10
|
-
initialStateValue?: string;
|
|
11
|
-
delay?: number;
|
|
12
|
-
trim?: boolean;
|
|
13
|
-
}): {
|
|
14
|
-
inputValue: string;
|
|
15
|
-
onEventChanged: (event: ChangeEvent<Partial<HTMLInputElement> | Partial<HTMLTextAreaElement>>) => void;
|
|
16
|
-
clearValue: () => void;
|
|
17
|
-
updateValue: Dispatch<SetStateAction<string>>;
|
|
18
|
-
};
|
|
@@ -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 e from"classnames";import a,{forwardRef as o}from"react";import{Icon as l}from"@vibe/icon/mockedClassNames";import m from"./FieldLabel.module.scss.js";var r=o((function(o,r){var s=o.icon,t=void 0===s?"":s,i=o.labelText,n=void 0===i?"":i,c=o.labelFor,d=void 0===c?"":c,p=o.iconClassName,v=void 0===p?"":p,b=o.labelClassName,f=void 0===b?"":b,N=o.required,u=void 0!==N&&N,C=o.id,E=void 0===C?"":C,F=o.htmlFor,x=void 0===F?"":F;return n?a.createElement("section",{className:e(m.labelComponentWrapper,o.className)},a.createElement(l,{icon:t,className:e(m.labelComponentIcon,v),id:d,type:"font"}),a.createElement("label",{id:E,htmlFor:d||x,ref:r,className:e(m.labelComponentText,f)},n,u&&a.createElement("span",{className:m.required}," *"))):null}));export{r as default};
|
|
2
|
-
//# sourceMappingURL=FieldLabel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.js","sources":["../../../../../src/components/FieldLabel/FieldLabel.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { type FC, type ForwardedRef, forwardRef } from \"react\";\nimport { Icon } from \"@vibe/icon\";\nimport type VibeComponentProps from \"../../types/VibeComponentProps\";\nimport styles from \"./FieldLabel.module.scss\";\n\nexport interface FieldLabelProps extends VibeComponentProps {\n /**\n * The icon displayed next to the label.\n */\n icon?: string | React.FunctionComponent | null;\n /**\n * The text content of the label.\n */\n labelText?: string;\n /**\n * The ID of the associated input element.\n */\n labelFor?: string;\n /**\n * Class name applied to the icon.\n */\n iconClassName?: string;\n /**\n * Class name applied to the label text.\n */\n labelClassName?: string;\n /**\n * If true, displays an asterisk to indicate a required field.\n */\n required?: boolean;\n /**\n * The HTML for attribute of the associated input element.\n */\n htmlFor?: string;\n}\n\nconst FieldLabel: FC<FieldLabelProps> = forwardRef(\n (\n {\n className,\n icon = \"\",\n labelText = \"\",\n labelFor = \"\",\n iconClassName = \"\",\n labelClassName = \"\",\n required = false,\n id = \"\",\n htmlFor = \"\"\n },\n ref: ForwardedRef<HTMLLabelElement>\n ) => {\n if (!labelText) {\n return null;\n }\n\n return (\n <section className={cx(styles.labelComponentWrapper, className)}>\n <Icon icon={icon} className={cx(styles.labelComponentIcon, iconClassName)} id={labelFor} type=\"font\" />\n <label\n id={id}\n htmlFor={labelFor || htmlFor}\n ref={ref}\n className={cx(styles.labelComponentText, labelClassName)}\n >\n {labelText}\n {required && <span className={styles.required}> *</span>}\n </label>\n </section>\n );\n }\n);\n\nexport default FieldLabel;\n"],"names":["FieldLabel","forwardRef","_ref","ref","_ref$icon","icon","_ref$labelText","labelText","_ref$labelFor","labelFor","_ref$iconClassName","iconClassName","_ref$labelClassName","labelClassName","_ref$required","required","_ref$id","id","_ref$htmlFor","htmlFor","React","createElement","className","cx","styles","labelComponentWrapper","Icon","labelComponentIcon","type","labelComponentText"],"mappings":"8JAqCMA,IAAAA,EAAkCC,GACtC,SAAAC,EAYEC,GACE,IAXSC,EAAAF,EACTG,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAJ,EACTK,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAAE,EAAAN,EACdO,SAAAA,OAAW,IAAHD,EAAG,GAAEA,EAAAE,EAAAR,EACbS,cAAAA,OAAgB,IAAHD,EAAG,GAAEA,EAAAE,EAAAV,EAClBW,eAAAA,OAAiB,IAAHD,EAAG,GAAEA,EAAAE,EAAAZ,EACnBa,SAAAA,OAAW,IAAHD,GAAQA,EAAAE,EAAAd,EAChBe,GAAAA,OAAK,IAAHD,EAAG,GAAEA,EAAAE,EAAAhB,EACPiB,QAAAA,OAAU,IAAHD,EAAG,GAAEA,EAId,OAAKX,EAKHa,EAASC,cAAA,UAAA,CAAAC,UAAWC,EAAGC,EAAOC,sBAjBrBvB,EAAToB,YAkBEF,EAACC,cAAAK,EAAK,CAAArB,KAAMA,EAAMiB,UAAWC,EAAGC,EAAOG,mBAAoBhB,GAAgBM,GAAIR,EAAUmB,KAAK,SAC9FR,EACEC,cAAA,QAAA,CAAAJ,GAAIA,EACJE,QAASV,GAAYU,EACrBhB,IAAKA,EACLmB,UAAWC,EAAGC,EAAOK,mBAAoBhB,IAExCN,EACAQ,GAAYK,EAAMC,cAAA,OAAA,CAAAC,UAAWE,EAAOT,UAAmB,QAbrD,IAiBX"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={labelComponentWrapper:"labelComponentWrapper",labelComponentIcon:"labelComponentIcon",labelComponentText:"labelComponentText",required:"required"};!function(e){const n="s_id-c78e4bf29ce0_4_5_18";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+n))return;const o=document.createElement("style");o.id=n,t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.appendChild(document.createTextNode(e))}else globalThis.injectedStyles&&(globalThis.injectedStyles[n]=e)}("/* stylelint-disable */\n/* stylelint-enable */\n.labelComponentWrapper {\n font: var(--font-text2-normal);\n display: flex;\n padding-bottom: var(--space-4);\n align-items: center;\n}\n.labelComponentIcon {\n margin: 0 var(--space-8) 0 var(--space-4);\n line-height: 24px;\n color: var(--secondary-text-color);\n}\n.labelComponentText {\n color: var(--primary-text-color);\n padding-block: 2px;\n}\n.required {\n color: var(--negative-color);\n}");export{e as default};
|
|
2
|
-
//# sourceMappingURL=FieldLabel.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"}
|