@vibe/core 4.5.6 → 4.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
- package/dist/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +1 -1
- package/dist/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.d.ts +1 -1
- package/dist/components/EmptyState/EmptyState.types.d.ts +1 -1
- package/dist/components/Info/components/InfoLink/InfoLink.d.ts +1 -1
- package/dist/components/Menu/MenuItem/MenuItem.d.ts +1 -1
- package/dist/components/Toast/ToastLink/ToastLink.d.ts +1 -1
- package/dist/components/checkbox/dist/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.js +2 -0
- package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.js.map +1 -0
- package/dist/components/expand-collapse/dist/ExpandCollapse/ExpandCollapse.module.scss.js +2 -0
- package/dist/components/formatted-number/dist/FormattedNumber/FormattedNumber.module.scss.js +1 -1
- package/dist/components/index.d.ts +4 -4
- package/dist/components/label/dist/Label/Label.js +2 -0
- package/dist/components/label/dist/Label/Label.js.map +1 -0
- package/dist/components/label/dist/Label/Label.module.scss.js +2 -0
- package/dist/components/label/dist/Label/LabelCelebrationAnimation.js +2 -0
- package/dist/components/label/dist/Label/LabelCelebrationAnimation.js.map +1 -0
- package/dist/components/label/dist/Label/LabelCelebrationAnimation.module.scss.js +2 -0
- package/dist/components/label/dist/Label/LabelConstants.js +2 -0
- package/dist/components/label/dist/Label/LabelConstants.js.map +1 -0
- package/dist/components/label/dist/Label/Leg.js.map +1 -0
- package/dist/components/link/dist/Link/Link.js +2 -0
- package/dist/components/link/dist/Link/Link.js.map +1 -0
- package/dist/components/link/dist/Link/Link.module.scss.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/PercentageLabel/PercentageLabel.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/PercentageLabel/PercentageLabel.js.map +1 -0
- package/dist/components/progress-bars/dist/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/Bar/Bar.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/Bar/Bar.js.map +1 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBar.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBar.module.scss.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBarHelpers.js +2 -0
- package/dist/components/progress-bars/dist/ProgressBars/ProgressBar/ProgressBarHelpers.js.map +1 -0
- package/dist/metadata/components.json +11 -11
- package/dist/metadata.json +11 -11
- package/dist/mocked_classnames/components/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
- package/dist/mocked_classnames/components/AlertBanner/AlertBannerLink/AlertBannerLink.d.ts +1 -1
- package/dist/mocked_classnames/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.d.ts +1 -1
- package/dist/mocked_classnames/components/EmptyState/EmptyState.types.d.ts +1 -1
- package/dist/mocked_classnames/components/Info/components/InfoLink/InfoLink.d.ts +1 -1
- package/dist/mocked_classnames/components/Menu/MenuItem/MenuItem.d.ts +1 -1
- package/dist/mocked_classnames/components/Toast/ToastLink/ToastLink.d.ts +1 -1
- package/dist/mocked_classnames/components/index.d.ts +4 -4
- package/dist/mocked_classnames/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Accordion/AccordionItem/AccordionItem.js +1 -1
- package/dist/mocked_classnames/src/components/Accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js.map +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js.map +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BaseItem/BaseItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BaseList/BaseList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Chips/Chips.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Counter/Counter.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/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js +1 -1
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/mocked_classnames/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Info/Info.js +1 -1
- package/dist/mocked_classnames/src/components/Info/Info.js.map +1 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.js +1 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.js.map +1 -1
- package/dist/mocked_classnames/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/InfoText/InfoText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/List/List.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.js.map +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/Modal/Modal.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.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/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Search/Search.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/Table/Table.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TextArea/TextArea.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js +1 -1
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.js.map +1 -1
- package/dist/mocked_classnames/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/TransitionView/TransitionView.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/next/List/List.module.scss.js +1 -1
- package/dist/mocked_classnames/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/mocked_classnames/src/index.js +1 -1
- package/dist/shared/dist/utils/colors-vars-map.js +2 -0
- package/dist/shared/dist/utils/colors-vars-map.js.map +1 -0
- package/dist/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/src/components/Accordion/AccordionItem/AccordionItem.js +1 -1
- package/dist/src/components/Accordion/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.js.map +1 -1
- package/dist/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxCloseButton/AttentionBoxCloseButton.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxLeadingIcon/AttentionBoxLeadingIcon.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.js.map +1 -1
- package/dist/src/components/AttentionBox/components/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/layouts/AttentionBoxCompact/AttentionBoxCompact.module.scss.js +1 -1
- package/dist/src/components/AttentionBox/layouts/AttentionBoxDefault/AttentionBoxDefault.module.scss.js +1 -1
- package/dist/src/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/src/components/BaseItem/BaseItem.module.scss.js +1 -1
- package/dist/src/components/BaseList/BaseList.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbMenu/BreadcrumbsMenu.module.scss.js +1 -1
- package/dist/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/src/components/Chips/Chips.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/src/components/Counter/Counter.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/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/src/components/EmptyState/EmptyState.js +1 -1
- package/dist/src/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/src/components/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/src/components/Info/Info.js +1 -1
- package/dist/src/components/Info/Info.js.map +1 -1
- package/dist/src/components/Info/components/InfoDialogContent/InfoDialogContent.module.scss.js +1 -1
- package/dist/src/components/Info/components/InfoLink/InfoLink.js +1 -1
- package/dist/src/components/Info/components/InfoLink/InfoLink.js.map +1 -1
- package/dist/src/components/Info/components/InfoLink/InfoLink.module.scss.js +1 -1
- package/dist/src/components/InfoText/InfoText.module.scss.js +1 -1
- package/dist/src/components/List/List.module.scss.js +1 -1
- package/dist/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/src/components/Menu/MenuItem/MenuItem.js.map +1 -1
- package/dist/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/components/BaseMenuItem/BaseMenuItem.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/components/MenuItemIcon/MenuItemIcon.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/src/components/Modal/Modal/Modal.module.scss.js +1 -1
- package/dist/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/src/components/Modal/ModalMedia/ModalMedia.module.scss.js +1 -1
- package/dist/src/components/Modal/ModalTopActions/ModalTopActions.module.scss.js +1 -1
- package/dist/src/components/Modal/footers/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/src/components/Modal/footers/ModalFooterBase/ModalFooterBase.module.scss.js +1 -1
- package/dist/src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalFooterShadow.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalLayoutScrollableContent.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.module.scss.js +1 -1
- package/dist/src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.module.scss.js +1 -1
- package/dist/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.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/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/src/components/Search/Search.module.scss.js +1 -1
- package/dist/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/src/components/SlideTransition/SlideTransition.module.scss.js +1 -1
- package/dist/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/src/components/Table/Table/Table.module.scss.js +1 -1
- package/dist/src/components/Table/TableBody/TableBody.module.scss.js +1 -1
- package/dist/src/components/Table/TableCell/TableCell.module.scss.js +1 -1
- package/dist/src/components/Table/TableCellSkeleton/TableCellSkeleton.module.scss.js +1 -1
- package/dist/src/components/Table/TableContainer/TableContainer.module.scss.js +1 -1
- package/dist/src/components/Table/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss.js +1 -1
- package/dist/src/components/Table/TableRow/TableRow.module.scss.js +1 -1
- package/dist/src/components/Table/TableRowMenu/TableRowMenu.module.scss.js +1 -1
- package/dist/src/components/Table/TableVirtualizedBody/TableVirtualizedBody.module.scss.js +1 -1
- package/dist/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/src/components/TextArea/TextArea.module.scss.js +1 -1
- package/dist/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/src/components/Toast/ToastLink/ToastLink.js +1 -1
- package/dist/src/components/Toast/ToastLink/ToastLink.js.map +1 -1
- package/dist/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/src/components/TransitionView/TransitionView.module.scss.js +1 -1
- package/dist/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/src/components/next/List/List.module.scss.js +1 -1
- package/dist/src/components/next/List/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/style/dist/index.min.css.js +1 -1
- package/package.json +6 -2
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +0 -59
- package/dist/components/ExpandCollapse/ExpandCollapse.types.d.ts +0 -1
- package/dist/components/ExpandCollapse/index.d.ts +0 -1
- package/dist/components/Label/Label.d.ts +0 -40
- package/dist/components/Label/Label.types.d.ts +0 -5
- package/dist/components/Label/LabelCelebrationAnimation.d.ts +0 -13
- package/dist/components/Label/LabelConstants.d.ts +0 -3
- package/dist/components/Label/Leg.d.ts +0 -6
- package/dist/components/Label/index.d.ts +0 -2
- package/dist/components/Link/Link.d.ts +0 -70
- package/dist/components/Link/Link.types.d.ts +0 -3
- package/dist/components/Link/LinkConsts.d.ts +0 -16
- package/dist/components/Link/index.d.ts +0 -2
- package/dist/components/ProgressBars/PercentageLabel/PercentageLabel.d.ts +0 -13
- package/dist/components/ProgressBars/ProgressBar/Bar/Bar.d.ts +0 -48
- package/dist/components/ProgressBars/ProgressBar/ProgressBar.d.ts +0 -69
- package/dist/components/ProgressBars/ProgressBar/ProgressBar.types.d.ts +0 -3
- package/dist/components/ProgressBars/ProgressBar/ProgressBarHelpers.d.ts +0 -4
- package/dist/components/ProgressBars/index.d.ts +0 -2
- package/dist/mocked_classnames/components/ExpandCollapse/ExpandCollapse.d.ts +0 -59
- package/dist/mocked_classnames/components/ExpandCollapse/ExpandCollapse.types.d.ts +0 -1
- package/dist/mocked_classnames/components/ExpandCollapse/index.d.ts +0 -1
- package/dist/mocked_classnames/components/Label/Label.d.ts +0 -40
- package/dist/mocked_classnames/components/Label/Label.types.d.ts +0 -5
- package/dist/mocked_classnames/components/Label/LabelCelebrationAnimation.d.ts +0 -13
- package/dist/mocked_classnames/components/Label/LabelConstants.d.ts +0 -3
- package/dist/mocked_classnames/components/Label/Leg.d.ts +0 -6
- package/dist/mocked_classnames/components/Label/index.d.ts +0 -2
- package/dist/mocked_classnames/components/Link/Link.d.ts +0 -70
- package/dist/mocked_classnames/components/Link/Link.types.d.ts +0 -3
- package/dist/mocked_classnames/components/Link/LinkConsts.d.ts +0 -16
- package/dist/mocked_classnames/components/Link/index.d.ts +0 -2
- package/dist/mocked_classnames/components/ProgressBars/PercentageLabel/PercentageLabel.d.ts +0 -13
- package/dist/mocked_classnames/components/ProgressBars/ProgressBar/Bar/Bar.d.ts +0 -48
- package/dist/mocked_classnames/components/ProgressBars/ProgressBar/ProgressBar.d.ts +0 -69
- package/dist/mocked_classnames/components/ProgressBars/ProgressBar/ProgressBar.types.d.ts +0 -3
- package/dist/mocked_classnames/components/ProgressBars/ProgressBar/ProgressBarHelpers.d.ts +0 -4
- package/dist/mocked_classnames/components/ProgressBars/index.d.ts +0 -2
- package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.js +0 -2
- package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.js.map +0 -1
- package/dist/mocked_classnames/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Label/Label.js +0 -2
- package/dist/mocked_classnames/src/components/Label/Label.js.map +0 -1
- package/dist/mocked_classnames/src/components/Label/Label.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.js +0 -2
- package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.js.map +0 -1
- package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/Label/LabelConstants.js +0 -2
- package/dist/mocked_classnames/src/components/Label/LabelConstants.js.map +0 -1
- package/dist/mocked_classnames/src/components/Label/Leg.js.map +0 -1
- package/dist/mocked_classnames/src/components/Link/Link.js +0 -2
- package/dist/mocked_classnames/src/components/Link/Link.js.map +0 -1
- package/dist/mocked_classnames/src/components/Link/Link.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.js.map +0 -1
- package/dist/mocked_classnames/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/Bar/Bar.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/Bar/Bar.js.map +0 -1
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBar.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBar.js.map +0 -1
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBar.module.scss.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBarHelpers.js +0 -2
- package/dist/mocked_classnames/src/components/ProgressBars/ProgressBar/ProgressBarHelpers.js.map +0 -1
- package/dist/src/components/ExpandCollapse/ExpandCollapse.js +0 -2
- package/dist/src/components/ExpandCollapse/ExpandCollapse.js.map +0 -1
- package/dist/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +0 -2
- package/dist/src/components/ExpandCollapse/ExpandCollapse.module.scss.js.map +0 -1
- package/dist/src/components/Label/Label.js +0 -2
- package/dist/src/components/Label/Label.js.map +0 -1
- package/dist/src/components/Label/Label.module.scss.js +0 -2
- package/dist/src/components/Label/Label.module.scss.js.map +0 -1
- package/dist/src/components/Label/LabelCelebrationAnimation.js +0 -2
- package/dist/src/components/Label/LabelCelebrationAnimation.js.map +0 -1
- package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js +0 -2
- package/dist/src/components/Label/LabelCelebrationAnimation.module.scss.js.map +0 -1
- package/dist/src/components/Label/LabelConstants.js +0 -2
- package/dist/src/components/Label/LabelConstants.js.map +0 -1
- package/dist/src/components/Label/Leg.js +0 -2
- package/dist/src/components/Label/Leg.js.map +0 -1
- package/dist/src/components/Link/Link.js +0 -2
- package/dist/src/components/Link/Link.js.map +0 -1
- package/dist/src/components/Link/Link.module.scss.js +0 -2
- package/dist/src/components/Link/Link.module.scss.js.map +0 -1
- package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.js +0 -2
- package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.js.map +0 -1
- package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +0 -2
- package/dist/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js.map +0 -1
- package/dist/src/components/ProgressBars/ProgressBar/Bar/Bar.js +0 -2
- package/dist/src/components/ProgressBars/ProgressBar/Bar/Bar.js.map +0 -1
- package/dist/src/components/ProgressBars/ProgressBar/Bar/Bar.module.scss.js +0 -2
- package/dist/src/components/ProgressBars/ProgressBar/Bar/Bar.module.scss.js.map +0 -1
- package/dist/src/components/ProgressBars/ProgressBar/ProgressBar.js +0 -2
- package/dist/src/components/ProgressBars/ProgressBar/ProgressBar.js.map +0 -1
- package/dist/src/components/ProgressBars/ProgressBar/ProgressBar.module.scss.js +0 -2
- package/dist/src/components/ProgressBars/ProgressBar/ProgressBar.module.scss.js.map +0 -1
- package/dist/src/components/ProgressBars/ProgressBar/ProgressBarHelpers.js +0 -2
- package/dist/src/components/ProgressBars/ProgressBar/ProgressBarHelpers.js.map +0 -1
- /package/dist/{mocked_classnames/src/components → components/expand-collapse/dist}/ExpandCollapse/ExpandCollapse.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/label/dist}/Label/Label.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/label/dist}/Label/LabelCelebrationAnimation.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/label/dist}/Label/Leg.js +0 -0
- /package/dist/{mocked_classnames/src/components → components/link/dist}/Link/Link.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/progress-bars/dist}/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/progress-bars/dist}/ProgressBars/ProgressBar/Bar/Bar.module.scss.js.map +0 -0
- /package/dist/{mocked_classnames/src/components → components/progress-bars/dist}/ProgressBars/ProgressBar/ProgressBar.module.scss.js.map +0 -0
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type ProgressBarSize, type ProgressBarStyle } from "./ProgressBar.types";
|
|
3
|
-
import { type VibeComponentProps } from "../../../types";
|
|
4
|
-
export interface ProgressBarProps extends VibeComponentProps {
|
|
5
|
-
/**
|
|
6
|
-
* Determines the visual style of the progress bar.
|
|
7
|
-
*/
|
|
8
|
-
barStyle?: ProgressBarStyle;
|
|
9
|
-
/**
|
|
10
|
-
* The minimum value of the progress bar.
|
|
11
|
-
*/
|
|
12
|
-
min?: number;
|
|
13
|
-
/**
|
|
14
|
-
* The maximum value of the progress bar.
|
|
15
|
-
*/
|
|
16
|
-
max?: number;
|
|
17
|
-
/**
|
|
18
|
-
* The current progress value.
|
|
19
|
-
*/
|
|
20
|
-
value?: number;
|
|
21
|
-
/**
|
|
22
|
-
* The secondary progress value.
|
|
23
|
-
*/
|
|
24
|
-
valueSecondary?: number;
|
|
25
|
-
/**
|
|
26
|
-
* If true, enables animation effects.
|
|
27
|
-
*/
|
|
28
|
-
animated?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The size of the progress bar.
|
|
31
|
-
*/
|
|
32
|
-
size?: ProgressBarSize;
|
|
33
|
-
/**
|
|
34
|
-
* If true, displays the progress percentage.
|
|
35
|
-
*/
|
|
36
|
-
indicateProgress?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* If true, enables multiple progress bars.
|
|
39
|
-
* **Note:** `value`, `valueSecondary`, and `barStyle` will not be used.
|
|
40
|
-
*/
|
|
41
|
-
multi?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* An array of bar values and colors for multi-bar mode.
|
|
44
|
-
*/
|
|
45
|
-
multiValues?: {
|
|
46
|
-
/**
|
|
47
|
-
* The progress value for a bar.
|
|
48
|
-
*/
|
|
49
|
-
value?: number;
|
|
50
|
-
/**
|
|
51
|
-
* The bar color in hex format (`#000000` - `#ffffff`).
|
|
52
|
-
*/
|
|
53
|
-
color?: string;
|
|
54
|
-
}[];
|
|
55
|
-
/**
|
|
56
|
-
* The ARIA label for the progress bar.
|
|
57
|
-
*/
|
|
58
|
-
"aria-label"?: string;
|
|
59
|
-
/**
|
|
60
|
-
* If true, makes the progress bar span the full container width.
|
|
61
|
-
*/
|
|
62
|
-
fullWidth?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* If true, allows displaying percentage values higher than 100% when value exceeds max.
|
|
65
|
-
*/
|
|
66
|
-
allowExceedingMax?: boolean;
|
|
67
|
-
}
|
|
68
|
-
declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
69
|
-
export default ProgressBar;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type SIZES } from "./../../../constants/sizes";
|
|
2
|
-
export type Size = (typeof SIZES)[keyof typeof SIZES];
|
|
3
|
-
export declare const calculatePercentage: (value: number, min: number, max: number, allowExceeding?: boolean) => number;
|
|
4
|
-
export declare const getProgressBarClassNames: (value: number) => string;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import React, { type FC, type ReactElement } from "react";
|
|
2
|
-
import { type VibeComponentProps, type ElementContent } from "../../types";
|
|
3
|
-
import { type ExpandCollapseIconPosition } from "./ExpandCollapse.types";
|
|
4
|
-
export interface ExpandCollapseProps extends VibeComponentProps {
|
|
5
|
-
/**
|
|
6
|
-
* Custom renderer for the header component.
|
|
7
|
-
*/
|
|
8
|
-
headerComponentRenderer?: () => ReactElement;
|
|
9
|
-
/**
|
|
10
|
-
* Class name applied to the header.
|
|
11
|
-
*/
|
|
12
|
-
headerClassName?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Class name applied to the content.
|
|
15
|
-
*/
|
|
16
|
-
contentClassName?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Class name applied to the root component.
|
|
19
|
-
*/
|
|
20
|
-
componentClassName?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The title displayed in the header.
|
|
23
|
-
*/
|
|
24
|
-
title?: ElementContent;
|
|
25
|
-
/**
|
|
26
|
-
* The content inside the expandable section.
|
|
27
|
-
*/
|
|
28
|
-
children?: ElementContent;
|
|
29
|
-
/**
|
|
30
|
-
* The size of the expand/collapse icon.
|
|
31
|
-
*/
|
|
32
|
-
iconSize?: number | string;
|
|
33
|
-
/**
|
|
34
|
-
* The position of the icon.
|
|
35
|
-
*/
|
|
36
|
-
iconPosition?: ExpandCollapseIconPosition;
|
|
37
|
-
/**
|
|
38
|
-
* If true, the section is open by default when rendered.
|
|
39
|
-
*/
|
|
40
|
-
defaultOpenState?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Controls the open state of the section.
|
|
43
|
-
*/
|
|
44
|
-
open?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Callback fired when the header is clicked.
|
|
47
|
-
*/
|
|
48
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
49
|
-
/**
|
|
50
|
-
* If true, hides the border around the component.
|
|
51
|
-
*/
|
|
52
|
-
hideBorder?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* If true, captures the click event on the button.
|
|
55
|
-
*/
|
|
56
|
-
captureOnClick?: boolean;
|
|
57
|
-
}
|
|
58
|
-
declare const ExpandCollapse: FC<ExpandCollapseProps>;
|
|
59
|
-
export default ExpandCollapse;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ExpandCollapseIconPosition = "left" | "right";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ExpandCollapse, type ExpandCollapseProps } from "./ExpandCollapse";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type LabelColor, type LabelKind } from "./Label.types";
|
|
3
|
-
import { type VibeComponentProps } from "../../types";
|
|
4
|
-
import { type LabelSizes } from "./Label.types";
|
|
5
|
-
export interface LabelProps extends VibeComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* Class name applied to the inner text wrapper.
|
|
8
|
-
*/
|
|
9
|
-
labelClassName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The visual style of the label.
|
|
12
|
-
*/
|
|
13
|
-
kind?: LabelKind;
|
|
14
|
-
/**
|
|
15
|
-
* The background color of the label.
|
|
16
|
-
*/
|
|
17
|
-
color?: LabelColor;
|
|
18
|
-
/**
|
|
19
|
-
* The text content of the label.
|
|
20
|
-
*/
|
|
21
|
-
text?: string;
|
|
22
|
-
/**
|
|
23
|
-
* If true, includes a leg (decorative extension).
|
|
24
|
-
*/
|
|
25
|
-
isLegIncluded?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Callback fired when the label is clicked.
|
|
28
|
-
*/
|
|
29
|
-
onClick?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
30
|
-
/**
|
|
31
|
-
* If true, triggers a celebration animation.
|
|
32
|
-
*/
|
|
33
|
-
celebrationAnimation?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The size of the label.
|
|
36
|
-
*/
|
|
37
|
-
size?: LabelSizes;
|
|
38
|
-
}
|
|
39
|
-
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLElement>>;
|
|
40
|
-
export default Label;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type contentColors } from "../../utils/colors-vars-map";
|
|
2
|
-
export type LabelSizes = "small" | "medium";
|
|
3
|
-
export type LabelKind = "fill" | "line";
|
|
4
|
-
export type ContentColor = (typeof contentColors)[number];
|
|
5
|
-
export type LabelColor = "primary" | "dark" | "negative" | "positive" | ContentColor;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface LabelCelebrationAnimationProps {
|
|
3
|
-
/**
|
|
4
|
-
* The child component that will be wrapped by the animation.
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactElement;
|
|
7
|
-
/**
|
|
8
|
-
* Callback fired when the celebration animation ends.
|
|
9
|
-
*/
|
|
10
|
-
onAnimationEnd: () => void;
|
|
11
|
-
}
|
|
12
|
-
declare function LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps): React.JSX.Element;
|
|
13
|
-
export default LabelCelebrationAnimation;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type SubIcon } from "@vibe/icon";
|
|
3
|
-
import { type LinkColor, type LinkIconPosition, type LinkTarget } from "./Link.types";
|
|
4
|
-
import { type VibeComponentProps } from "../../types";
|
|
5
|
-
export interface LinkProps extends VibeComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* Class name applied to the link text.
|
|
8
|
-
*/
|
|
9
|
-
textClassName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The URL the link points to.
|
|
12
|
-
*/
|
|
13
|
-
href?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The text content of the link.
|
|
16
|
-
*/
|
|
17
|
-
text?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the relationship between the current document and the linked resource.
|
|
20
|
-
*/
|
|
21
|
-
rel?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Callback fired when the link is clicked.
|
|
24
|
-
*/
|
|
25
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies where to open the linked document.
|
|
28
|
-
*/
|
|
29
|
-
target?: LinkTarget;
|
|
30
|
-
/**
|
|
31
|
-
* The ARIA label for accessibility.
|
|
32
|
-
*/
|
|
33
|
-
"aria-label"?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The ID of the element that describes this link.
|
|
36
|
-
*/
|
|
37
|
-
"aria-describedby"?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The ID of the element labeling this link.
|
|
40
|
-
*/
|
|
41
|
-
"aria-labelledby"?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Icon displayed next to the link text.
|
|
44
|
-
*/
|
|
45
|
-
icon?: SubIcon;
|
|
46
|
-
/**
|
|
47
|
-
* The position of the icon relative to the text.
|
|
48
|
-
*/
|
|
49
|
-
iconPosition?: LinkIconPosition;
|
|
50
|
-
/**
|
|
51
|
-
* If true, disables navigation when the link is clicked.
|
|
52
|
-
*/
|
|
53
|
-
disableNavigation?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* If true, the link inherits the surrounding text's font size.
|
|
56
|
-
*/
|
|
57
|
-
inheritFontSize?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* If true, the link is styled to fit within inline text content.
|
|
60
|
-
*/
|
|
61
|
-
inlineText?: boolean;
|
|
62
|
-
/** The link's color style */
|
|
63
|
-
color?: LinkColor;
|
|
64
|
-
/**
|
|
65
|
-
* Inline style object applied to the link element.
|
|
66
|
-
*/
|
|
67
|
-
style?: React.CSSProperties;
|
|
68
|
-
}
|
|
69
|
-
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
70
|
-
export default Link;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*/
|
|
4
|
-
export declare enum LinkTarget {
|
|
5
|
-
NEW_WINDOW = "_blank",
|
|
6
|
-
SELF = "_self",
|
|
7
|
-
PARENT = "_parent",
|
|
8
|
-
TOP = "_top"
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated
|
|
12
|
-
*/
|
|
13
|
-
export declare enum IconPosition {
|
|
14
|
-
START = "start",
|
|
15
|
-
END = "end"
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FC } from "react";
|
|
2
|
-
export interface PercentageLabelProps {
|
|
3
|
-
/**
|
|
4
|
-
* The ID of the element this label is associated with.
|
|
5
|
-
*/
|
|
6
|
-
forElement: string;
|
|
7
|
-
/**
|
|
8
|
-
* The percentage value to display.
|
|
9
|
-
*/
|
|
10
|
-
value: number;
|
|
11
|
-
}
|
|
12
|
-
declare const PercentageLabel: FC<PercentageLabelProps>;
|
|
13
|
-
export default PercentageLabel;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { type FC } from "react";
|
|
2
|
-
import { type VibeComponentProps } from "../../../../types";
|
|
3
|
-
import { type ProgressBarStyle } from "../ProgressBar.types";
|
|
4
|
-
export type BarType = "primary" | "secondary";
|
|
5
|
-
export interface BarProps extends VibeComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* Determines the visual style of the progress bar.
|
|
8
|
-
*/
|
|
9
|
-
barStyle?: ProgressBarStyle;
|
|
10
|
-
/**
|
|
11
|
-
* The minimum value of the progress bar.
|
|
12
|
-
*/
|
|
13
|
-
min?: number;
|
|
14
|
-
/**
|
|
15
|
-
* The maximum value of the progress bar.
|
|
16
|
-
*/
|
|
17
|
-
max?: number;
|
|
18
|
-
/**
|
|
19
|
-
* The current progress value.
|
|
20
|
-
*/
|
|
21
|
-
value?: number;
|
|
22
|
-
/**
|
|
23
|
-
* If true, enables animation effects.
|
|
24
|
-
*/
|
|
25
|
-
animated?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Base class name for the bar.
|
|
28
|
-
*/
|
|
29
|
-
baseClass?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The ARIA label describing the progress bar.
|
|
32
|
-
*/
|
|
33
|
-
barLabelName?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Custom color for the progress bar.
|
|
36
|
-
*/
|
|
37
|
-
color?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The type of the bar.
|
|
40
|
-
*/
|
|
41
|
-
type?: BarType;
|
|
42
|
-
/**
|
|
43
|
-
* If true, allows displaying percentage values higher than 100% when value exceeds max.
|
|
44
|
-
*/
|
|
45
|
-
allowExceedingMax?: boolean;
|
|
46
|
-
}
|
|
47
|
-
declare const Bar: FC<BarProps>;
|
|
48
|
-
export default Bar;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type ProgressBarSize, type ProgressBarStyle } from "./ProgressBar.types";
|
|
3
|
-
import { type VibeComponentProps } from "../../../types";
|
|
4
|
-
export interface ProgressBarProps extends VibeComponentProps {
|
|
5
|
-
/**
|
|
6
|
-
* Determines the visual style of the progress bar.
|
|
7
|
-
*/
|
|
8
|
-
barStyle?: ProgressBarStyle;
|
|
9
|
-
/**
|
|
10
|
-
* The minimum value of the progress bar.
|
|
11
|
-
*/
|
|
12
|
-
min?: number;
|
|
13
|
-
/**
|
|
14
|
-
* The maximum value of the progress bar.
|
|
15
|
-
*/
|
|
16
|
-
max?: number;
|
|
17
|
-
/**
|
|
18
|
-
* The current progress value.
|
|
19
|
-
*/
|
|
20
|
-
value?: number;
|
|
21
|
-
/**
|
|
22
|
-
* The secondary progress value.
|
|
23
|
-
*/
|
|
24
|
-
valueSecondary?: number;
|
|
25
|
-
/**
|
|
26
|
-
* If true, enables animation effects.
|
|
27
|
-
*/
|
|
28
|
-
animated?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The size of the progress bar.
|
|
31
|
-
*/
|
|
32
|
-
size?: ProgressBarSize;
|
|
33
|
-
/**
|
|
34
|
-
* If true, displays the progress percentage.
|
|
35
|
-
*/
|
|
36
|
-
indicateProgress?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* If true, enables multiple progress bars.
|
|
39
|
-
* **Note:** `value`, `valueSecondary`, and `barStyle` will not be used.
|
|
40
|
-
*/
|
|
41
|
-
multi?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* An array of bar values and colors for multi-bar mode.
|
|
44
|
-
*/
|
|
45
|
-
multiValues?: {
|
|
46
|
-
/**
|
|
47
|
-
* The progress value for a bar.
|
|
48
|
-
*/
|
|
49
|
-
value?: number;
|
|
50
|
-
/**
|
|
51
|
-
* The bar color in hex format (`#000000` - `#ffffff`).
|
|
52
|
-
*/
|
|
53
|
-
color?: string;
|
|
54
|
-
}[];
|
|
55
|
-
/**
|
|
56
|
-
* The ARIA label for the progress bar.
|
|
57
|
-
*/
|
|
58
|
-
"aria-label"?: string;
|
|
59
|
-
/**
|
|
60
|
-
* If true, makes the progress bar span the full container width.
|
|
61
|
-
*/
|
|
62
|
-
fullWidth?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* If true, allows displaying percentage values higher than 100% when value exceeds max.
|
|
65
|
-
*/
|
|
66
|
-
allowExceedingMax?: boolean;
|
|
67
|
-
}
|
|
68
|
-
declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
69
|
-
export default ProgressBar;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type SIZES } from "./../../../constants/sizes";
|
|
2
|
-
export type Size = (typeof SIZES)[keyof typeof SIZES];
|
|
3
|
-
export declare const calculatePercentage: (value: number, min: number, max: number, allowExceeding?: boolean) => number;
|
|
4
|
-
export declare const getProgressBarClassNames: (value: number) => string;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{slicedToArray as e,defineProperty as t}from"../../../_virtual/_rollupPluginBabelHelpers.js";import o from"classnames";import a,{forwardRef as n,useRef as r,useState as i,useCallback as s}from"react";import{useMergeRef as l}from"@vibe/shared";import{Icon as c}from"@vibe/icon/mockedClassNames";import{Text as d}from"@vibe/typography/mockedClassNames";import{DropdownChevronDown as m}from"@vibe/icons";import{getTestId as p,ComponentDefaultTestId as v}from"../../tests/testIds.js";import f from"./ExpandCollapse.module.scss.js";import{ComponentVibeId as u}from"../../tests/constants.js";var C=n((function(n,C){var h=n.children,N=n.headerComponentRenderer,E=void 0===N?null:N,g=n.title,y=void 0===g?"":g,b=n.className,P=n.defaultOpenState,k=void 0!==P&&P,x=n.iconSize,B=void 0===x?24:x,O=n.iconPosition,A=void 0===O?"right":O,j=n.id,I=void 0===j?"":j,L=n.open,S=n.onClick,_=void 0===S?null:S,z=n.hideBorder,D=void 0!==z&&z,X=n.headerClassName,w=n.contentClassName,H=n.componentClassName,R=n["data-testid"],T=n.captureOnClick,q=void 0===T||T,F=r(null),G=l(C,F),J=i(k),K=e(J,2),M=K[0],Q=K[1],U=void 0===L?M:L,V=function(){Q(!M)},W=s((function(){return"string"==typeof y?a.createElement(d,{type:"text1",className:o(f.headerContent)},y):y}),[y]),Y=function(){return a.createElement(c,{className:o(f.iconComponent,t(t({},f.animateIconOpen,U),f.animateIconClose,!U)),type:"svg",icon:m,size:B})};return a.createElement("div",{ref:G,className:b,id:I,"data-testid":R||p(v.EXPAND_COLLAPSE,I),"data-vibe":u.EXPAND_COLLAPSE},a.createElement("div",{className:o(f.expandCollapse,t(t({},f.hideBorder,D),f.showBorder,!D),H)},a.createElement("button",{type:"button",className:o(f.header,f.section,X,t(t(t({},f.headerOpen,U),f.hideBorderBottom,D),f.leftIcon,"left"===A)),onClickCapture:q?_||V:void 0,onClick:q?void 0:_||V,"aria-expanded":U,"aria-controls":"".concat(I,"-controls")},"left"===A&&Y(),"string"!=typeof y||0!==y.length?W():E&&E(),"right"===A&&Y()),U&&a.createElement("div",{className:o(f.content,f.section,w,t({},f.animateExpandCollapseContent,U)),id:"".concat(I,"-controls"),role:"region"},h)))}));export{C as default};
|
|
2
|
-
//# sourceMappingURL=ExpandCollapse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandCollapse.js","sources":["../../../../../src/components/ExpandCollapse/ExpandCollapse.tsx"],"sourcesContent":["import cx from \"classnames\";\nimport React, { type FC, forwardRef, type ReactElement, useCallback, useRef, useState } from \"react\";\nimport { useMergeRef } from \"@vibe/shared\";\nimport { Icon } from \"@vibe/icon\";\nimport { Text } from \"@vibe/typography\";\nimport { DropdownChevronDown } from \"@vibe/icons\";\nimport { type VibeComponentProps, type ElementContent } from \"../../types\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport styles from \"./ExpandCollapse.module.scss\";\nimport { type ExpandCollapseIconPosition } from \"./ExpandCollapse.types\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface ExpandCollapseProps extends VibeComponentProps {\n /**\n * Custom renderer for the header component.\n */\n headerComponentRenderer?: () => ReactElement;\n /**\n * Class name applied to the header.\n */\n headerClassName?: string;\n /**\n * Class name applied to the content.\n */\n contentClassName?: string;\n /**\n * Class name applied to the root component.\n */\n componentClassName?: string;\n /**\n * The title displayed in the header.\n */\n title?: ElementContent;\n /**\n * The content inside the expandable section.\n */\n children?: ElementContent;\n /**\n * The size of the expand/collapse icon.\n */\n iconSize?: number | string;\n /**\n * The position of the icon.\n */\n iconPosition?: ExpandCollapseIconPosition;\n /**\n * If true, the section is open by default when rendered.\n */\n defaultOpenState?: boolean;\n /**\n * Controls the open state of the section.\n */\n open?: boolean;\n /**\n * Callback fired when the header is clicked.\n */\n onClick?: (event: React.MouseEvent) => void;\n /**\n * If true, hides the border around the component.\n */\n hideBorder?: boolean;\n /**\n * If true, captures the click event on the button.\n */\n captureOnClick?: boolean;\n}\n\nconst ExpandCollapse: FC<ExpandCollapseProps> = forwardRef(\n (\n {\n children,\n headerComponentRenderer = null,\n title = \"\",\n className,\n defaultOpenState = false,\n iconSize = 24,\n iconPosition = \"right\",\n id = \"\",\n open,\n onClick = null,\n hideBorder = false,\n headerClassName,\n contentClassName,\n componentClassName,\n \"data-testid\": dataTestId,\n captureOnClick = true\n },\n ref\n ) => {\n const componentRef = useRef(null);\n const mergedRef = useMergeRef(ref, componentRef);\n\n const [isOpen, setIsOpen] = useState(defaultOpenState);\n const isExpanded = open === undefined ? isOpen : open;\n\n const toggleExpand = () => {\n setIsOpen(!isOpen);\n };\n const renderHeader = useCallback(() => {\n return typeof title === \"string\" ? (\n <Text type=\"text1\" className={cx(styles.headerContent)}>\n {title}\n </Text>\n ) : (\n title\n );\n }, [title]);\n\n const renderIcon = () => (\n <Icon\n className={cx(styles.iconComponent, {\n [styles.animateIconOpen]: isExpanded,\n [styles.animateIconClose]: !isExpanded\n })}\n type=\"svg\"\n icon={DropdownChevronDown}\n size={iconSize}\n />\n );\n\n return (\n <div\n ref={mergedRef}\n className={className}\n id={id}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.EXPAND_COLLAPSE, id)}\n data-vibe={ComponentVibeId.EXPAND_COLLAPSE}\n >\n <div\n className={cx(\n styles.expandCollapse,\n {\n [styles.hideBorder]: hideBorder,\n [styles.showBorder]: !hideBorder\n },\n componentClassName\n )}\n >\n <button\n type=\"button\"\n className={cx(styles.header, styles.section, headerClassName, {\n [styles.headerOpen]: isExpanded,\n [styles.hideBorderBottom]: hideBorder,\n [styles.leftIcon]: iconPosition === \"left\"\n })}\n onClickCapture={captureOnClick ? onClick || toggleExpand : undefined}\n onClick={!captureOnClick ? onClick || toggleExpand : undefined}\n aria-expanded={isExpanded}\n aria-controls={`${id}-controls`}\n >\n {iconPosition === \"left\" && renderIcon()}\n {typeof title !== \"string\" || title.length !== 0\n ? renderHeader()\n : headerComponentRenderer && headerComponentRenderer()}\n {iconPosition === \"right\" && renderIcon()}\n </button>\n {isExpanded && (\n <div\n className={cx(styles.content, styles.section, contentClassName, {\n [styles.animateExpandCollapseContent]: isExpanded\n })}\n id={`${id}-controls`}\n role=\"region\"\n >\n {children}\n </div>\n )}\n </div>\n </div>\n );\n }\n);\n\nexport default ExpandCollapse;\n"],"names":["ExpandCollapse","forwardRef","_ref","ref","children","_ref$headerComponentR","headerComponentRenderer","_ref$title","title","className","_ref$defaultOpenState","defaultOpenState","_ref$iconSize","iconSize","_ref$iconPosition","iconPosition","_ref$id","id","open","_ref$onClick","onClick","_ref$hideBorder","hideBorder","headerClassName","contentClassName","componentClassName","dataTestId","_ref$captureOnClick","captureOnClick","componentRef","useRef","mergedRef","useMergeRef","_useState","useState","_useState2","_slicedToArray","isOpen","setIsOpen","isExpanded","undefined","toggleExpand","renderHeader","useCallback","React","createElement","Text","type","cx","styles","headerContent","renderIcon","Icon","iconComponent","_defineProperty","animateIconOpen","animateIconClose","icon","DropdownChevronDown","size","getTestId","ComponentDefaultTestId","EXPAND_COLLAPSE","ComponentVibeId","expandCollapse","showBorder","header","section","headerOpen","hideBorderBottom","leftIcon","onClickCapture","concat","length","content","animateExpandCollapseContent","role"],"mappings":"glBAmEMA,IAAAA,EAA0CC,GAC9C,SAAAC,EAmBEC,GACE,IAlBAC,EAAQF,EAARE,SAAQC,EAAAH,EACRI,wBAAAA,OAA0B,IAAHD,EAAG,KAAIA,EAAAE,EAAAL,EAC9BM,MAAAA,OAAQ,IAAHD,EAAG,GAAEA,EACVE,EAASP,EAATO,UAASC,EAAAR,EACTS,iBAAAA,OAAmB,IAAHD,GAAQA,EAAAE,EAAAV,EACxBW,SAAAA,OAAW,IAAHD,EAAG,GAAEA,EAAAE,EAAAZ,EACba,aAAAA,OAAe,IAAHD,EAAG,QAAOA,EAAAE,EAAAd,EACtBe,GAAAA,OAAK,IAAHD,EAAG,GAAEA,EACPE,EAAIhB,EAAJgB,KAAIC,EAAAjB,EACJkB,QAAAA,OAAU,IAAHD,EAAG,KAAIA,EAAAE,EAAAnB,EACdoB,WAAAA,OAAa,IAAHD,GAAQA,EAClBE,EAAerB,EAAfqB,gBACAC,EAAgBtB,EAAhBsB,iBACAC,EAAkBvB,EAAlBuB,mBACeC,EAAUxB,EAAzB,eAAayB,EAAAzB,EACb0B,eAAAA,OAAiB,IAAHD,GAAOA,EAIjBE,EAAeC,EAAO,MACtBC,EAAYC,EAAY7B,EAAK0B,GAEnCI,EAA4BC,EAASvB,GAAiBwB,EAAAC,EAAAH,EAAA,GAA/CI,EAAMF,EAAA,GAAEG,EAASH,EAAA,GAClBI,OAAsBC,IAATtB,EAAqBmB,EAASnB,EAE3CuB,EAAe,WACnBH,GAAWD,IAEPK,EAAeC,GAAY,WAC/B,MAAwB,iBAAVnC,EACZoC,EAAAC,cAACC,EAAI,CAACC,KAAK,QAAQtC,UAAWuC,EAAGC,EAAOC,gBACrC1C,GAGHA,CAEJ,GAAG,CAACA,IAEE2C,EAAa,WAAH,OACdP,EAACC,cAAAO,EACC,CAAA3C,UAAWuC,EAAGC,EAAOI,cAAaC,EAAAA,EAC/BL,CAAAA,EAAAA,EAAOM,gBAAkBhB,GACzBU,EAAOO,kBAAoBjB,IAE9BQ,KAAK,MACLU,KAAMC,EACNC,KAAM9C,KAIV,OACE+B,EACEC,cAAA,MAAA,CAAA1C,IAAK4B,EACLtB,UAAWA,EACXQ,GAAIA,EACS,cAAAS,GAAckC,EAAUC,EAAuBC,gBAAiB7C,GAAG,YACrE8C,EAAgBD,iBAE3BlB,EAAAC,cAAA,MAAA,CACEpC,UAAWuC,EACTC,EAAOe,eAAcV,EAAAA,EAElBL,GAAAA,EAAO3B,WAAaA,GACpB2B,EAAOgB,YAAc3C,GAExBG,IAGFmB,EAAAC,cAAA,SAAA,CACEE,KAAK,SACLtC,UAAWuC,EAAGC,EAAOiB,OAAQjB,EAAOkB,QAAS5C,EAAe+B,EAAAA,EAAAA,EAAA,CAAA,EACzDL,EAAOmB,WAAa7B,GACpBU,EAAOoB,iBAAmB/C,GAC1B2B,EAAOqB,SAA4B,SAAjBvD,IAErBwD,eAAgB3C,EAAiBR,GAAWqB,OAAeD,EAC3DpB,QAAUQ,OAA2CY,EAA1BpB,GAAWqB,EACvB,gBAAAF,EACA,gBAAA,GAAAiC,OAAGvD,EAAE,cAEF,SAAjBF,GAA2BoC,IACV,iBAAV3C,GAAuC,IAAjBA,EAAMiE,OAChC/B,IACApC,GAA2BA,IACb,UAAjBS,GAA4BoC,KAE9BZ,GACCK,EAAAC,cAAA,MAAA,CACEpC,UAAWuC,EAAGC,EAAOyB,QAASzB,EAAOkB,QAAS3C,EAAgB8B,EAC3DL,CAAAA,EAAAA,EAAO0B,6BAA+BpC,IAEzCtB,GAAEuD,GAAAA,OAAKvD,EAAa,aACpB2D,KAAK,UAEJxE,IAMb"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var n={expandCollapse:"expandCollapse",header:"header","focus-visible":"focus-visible",headerContent:"headerContent",iconComponent:"iconComponent",content:"content",section:"section",hideBorder:"hideBorder",hideBorderBottom:"hideBorderBottom",showBorder:"showBorder",headerOpen:"headerOpen",animateIconOpen:"animateIconOpen",animateIconClose:"animateIconClose",leftIcon:"leftIcon"};!function(n){const e="s_id-56805b2f3dc6_4_5_5";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+e))return;const r=document.createElement("style");r.id=e,o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n.expandCollapse {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n color: var(--primary-text-color);\n background-color: transparent;\n box-sizing: border-box;\n border-radius: var(--border-radius-small);\n}\n.header {\n border: none;\n margin: 0;\n padding: 0;\n width: auto;\n overflow: visible;\n background: transparent;\n /* inherit font & color from ancestor */\n color: inherit;\n font: inherit;\n /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */\n line-height: normal;\n /* Corrects font smoothing for webkit */\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n /* Corrects inability to style clickable `input` types in iOS */\n appearance: none;\n padding: var(--space-16);\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n}\n.header:focus-visible, .header.focus-visible {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.header:focus:not(.focus-visible) {\n outline: none;\n}\n.header:hover {\n background-color: var(--primary-background-hover-color);\n}\n.header:active {\n transform: scale(1);\n}\n.header .headerContent {\n margin: 0;\n}\n.header .iconComponent {\n color: var(--icon-color);\n}\n.content {\n padding: var(--space-16);\n}\n.section {\n width: 100%;\n}\n.hideBorder {\n border: none;\n}\n.hideBorderBottom {\n border-bottom: none;\n}\n.showBorder {\n border: 1px solid var(--ui-border-color);\n}\n.showBorder .headerOpen {\n border-bottom: 1px solid;\n border-color: var(--ui-border-color);\n}\n.animateIconOpen {\n transform: rotate(-180deg);\n transition: transform var(--motion-expressive-short) var(--motion-timing-transition);\n}\n.animateIconClose {\n transform: rotate(-360deg);\n transition: transform var(--motion-expressive-short) var(--motion-timing-transition);\n}\n.header.leftIcon {\n justify-content: flex-start;\n gap: var(--space-8);\n}");export{n as default};
|
|
2
|
-
//# sourceMappingURL=ExpandCollapse.module.scss.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{slicedToArray as e,defineProperty as a}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{camelCase as r}from"es-toolkit";import t from"classnames";import{getTestId as o,ComponentDefaultTestId as l}from"../../tests/testIds.js";import{useMergeRef as i,getStyle as n}from"@vibe/shared";import s,{forwardRef as m,useRef as c,useState as p,useMemo as d,useCallback as f,useEffect as u}from"react";import{Text as b}from"@vibe/typography/mockedClassNames";import v from"./Leg.js";import{contentColors as k}from"../../utils/colors-vars-map.js";import{useClickableProps as L}from"@vibe/clickable/mockedClassNames";import j from"./Label.module.scss.js";import y from"./LabelCelebrationAnimation.js";import{mapSizesToTextSize as E}from"./LabelConstants.js";import{ComponentVibeId as g}from"../../tests/constants.js";var C=m((function(m,C){var N=m.className,h=m.labelClassName,A=m.kind,x=void 0===A?"fill":A,B=m.color,I=void 0===B?"primary":B,P=m.text,T=void 0===P?"":P,W=m.isLegIncluded,_=void 0!==W&&W,w=m.id,z=m["data-testid"],D=m.onClick,H=m.celebrationAnimation,O=m.size,q=void 0===O?"medium":O,F=c(null),G=i(C,F),J=p(H),K=e(J,2),M=K[0],Q=K[1],R=!!D,S=d((function(){return t(j.label,n(j,r("kind-"+x)),n(j,r("color-"+I)),a(a(a({},j.withLeg,_),j.clickable,R),j.small,"small"===q),h)}),[x,I,_,h,R,q]),U=d((function(){if(k.includes(I))return"line"===x?{color:"var(--color-".concat(I,")")}:{backgroundColor:"var(--color-".concat(I,")")}}),[I,x]),V=f((function(e){D&&(e.preventDefault(),D(e))}),[D]),X=L({onClick:V,id:w,"aria-hidden":!1,"aria-haspopup":!1,"aria-expanded":!1},F);u((function(){Q(H)}),[H]);var Y=d((function(){return s.createElement("span",Object.assign({},R&&X,{className:t(a({},j.clickableWrapper,R),N),"data-testid":z||o(l.LABEL,w),"data-vibe":g.LABEL,ref:G}),s.createElement(b,{style:U,element:"span",type:E[q],className:S,color:"dark"===I?"onInverted":"onPrimary","data-celebration-text":M},s.createElement(b,{element:"span",type:E[q],color:"inherit",className:t(a({},j.smallText,"small"===q))},T),s.createElement("span",{className:t(j.legWrapper)},_?s.createElement(v,null):null)))}),[R,X,N,z,w,G,S,M,T,_,q,U,I]);return M&&"line"===x?s.createElement(y,{onAnimationEnd:function(){return Q(!1)}},Y):Y}));export{C as default};
|
|
2
|
-
//# sourceMappingURL=Label.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.js","sources":["../../../../../src/components/Label/Label.tsx"],"sourcesContent":["import { camelCase } from \"es-toolkit\";\nimport cx from \"classnames\";\nimport { ComponentDefaultTestId, getTestId } from \"../../tests/test-ids-utils\";\nimport { getStyle, useMergeRef } from \"@vibe/shared\";\nimport React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Text } from \"@vibe/typography\";\nimport Leg from \"./Leg\";\nimport { type LabelColor, type LabelKind, type ContentColor } from \"./Label.types\";\nimport { contentColors } from \"../../utils/colors-vars-map\";\nimport { type VibeComponentProps } from \"../../types\";\nimport { useClickableProps } from \"@vibe/clickable\";\n\nimport styles from \"./Label.module.scss\";\nimport LabelCelebrationAnimation from \"./LabelCelebrationAnimation\";\nimport { type LabelSizes } from \"./Label.types\";\nimport { mapSizesToTextSize } from \"./LabelConstants\";\nimport { ComponentVibeId } from \"../../tests/constants\";\n\nexport interface LabelProps extends VibeComponentProps {\n /**\n * Class name applied to the inner text wrapper.\n */\n labelClassName?: string;\n /**\n * The visual style of the label.\n */\n kind?: LabelKind;\n /**\n * The background color of the label.\n */\n color?: LabelColor;\n /**\n * The text content of the label.\n */\n text?: string;\n /**\n * If true, includes a leg (decorative extension).\n */\n isLegIncluded?: boolean;\n /**\n * Callback fired when the label is clicked.\n */\n onClick?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;\n /**\n * If true, triggers a celebration animation.\n */\n celebrationAnimation?: boolean;\n /**\n * The size of the label.\n */\n size?: LabelSizes;\n}\n\nconst Label = forwardRef<HTMLElement, LabelProps>(\n (\n {\n className,\n labelClassName,\n kind = \"fill\",\n color = \"primary\",\n text = \"\",\n isLegIncluded = false,\n id,\n \"data-testid\": dataTestId,\n onClick,\n celebrationAnimation,\n size = \"medium\"\n }: LabelProps,\n ref\n ) => {\n const labelRef = useRef<HTMLSpanElement>(null);\n const mergedRef = useMergeRef(ref, labelRef);\n const [isCelebrationAnimation, setIsCelebrationAnimation] = useState(celebrationAnimation);\n\n const isClickable = Boolean(onClick);\n\n const classNames = useMemo(\n () =>\n cx(\n styles.label,\n getStyle(styles, camelCase(\"kind\" + \"-\" + kind)),\n getStyle(styles, camelCase(\"color\" + \"-\" + color)),\n {\n [styles.withLeg]: isLegIncluded,\n [styles.clickable]: isClickable,\n [styles.small]: size === \"small\"\n },\n labelClassName\n ),\n [kind, color, isLegIncluded, labelClassName, isClickable, size]\n );\n\n const backgroundColorStyle = useMemo(() => {\n if (contentColors.includes(color as ContentColor)) {\n if (kind === \"line\") {\n return { color: `var(--color-${color})` };\n }\n return { backgroundColor: `var(--color-${color})` };\n }\n }, [color, kind]);\n\n const onClickCallback = useCallback(\n (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => {\n if (onClick) {\n event.preventDefault();\n onClick(event);\n }\n },\n [onClick]\n );\n\n const clickableProps = useClickableProps(\n {\n onClick: onClickCallback,\n id,\n \"aria-hidden\": false,\n \"aria-haspopup\": false,\n \"aria-expanded\": false\n },\n labelRef\n );\n\n useEffect(() => {\n setIsCelebrationAnimation(celebrationAnimation);\n }, [celebrationAnimation]);\n\n const label = useMemo(() => {\n return (\n <span\n {...(isClickable && clickableProps)}\n className={cx({ [styles.clickableWrapper]: isClickable }, className)}\n data-testid={dataTestId || getTestId(ComponentDefaultTestId.LABEL, id)}\n data-vibe={ComponentVibeId.LABEL}\n ref={mergedRef}\n >\n <Text\n style={backgroundColorStyle}\n element=\"span\"\n type={mapSizesToTextSize[size]}\n className={classNames}\n color={color === \"dark\" ? \"onInverted\" : \"onPrimary\"}\n data-celebration-text={isCelebrationAnimation}\n >\n <Text\n element=\"span\"\n type={mapSizesToTextSize[size]}\n color=\"inherit\"\n className={cx({ [styles.smallText]: size === \"small\" })}\n >\n {text}\n </Text>\n <span className={cx(styles.legWrapper)}>{isLegIncluded ? <Leg /> : null}</span>\n </Text>\n </span>\n );\n }, [\n isClickable,\n clickableProps,\n className,\n dataTestId,\n id,\n mergedRef,\n classNames,\n isCelebrationAnimation,\n text,\n isLegIncluded,\n size,\n backgroundColorStyle,\n color\n ]);\n\n // Celebration animation is applied only for line kind\n if (isCelebrationAnimation && kind === \"line\") {\n return (\n <LabelCelebrationAnimation onAnimationEnd={() => setIsCelebrationAnimation(false)}>\n {label}\n </LabelCelebrationAnimation>\n );\n }\n\n return label;\n }\n);\n\nexport default Label;\n"],"names":["Label","forwardRef","_ref","ref","className","labelClassName","_ref$kind","kind","_ref$color","color","_ref$text","text","_ref$isLegIncluded","isLegIncluded","id","dataTestId","onClick","celebrationAnimation","_ref$size","size","labelRef","useRef","mergedRef","useMergeRef","_useState","useState","_useState2","_slicedToArray","isCelebrationAnimation","setIsCelebrationAnimation","isClickable","classNames","useMemo","cx","styles","label","getStyle","camelCase","_defineProperty","withLeg","clickable","small","backgroundColorStyle","contentColors","includes","concat","backgroundColor","onClickCallback","useCallback","event","preventDefault","clickableProps","useClickableProps","useEffect","React","createElement","Object","assign","clickableWrapper","getTestId","ComponentDefaultTestId","LABEL","ComponentVibeId","Text","style","element","type","mapSizesToTextSize","smallText","legWrapper","Leg","LabelCelebrationAnimation","onAnimationEnd"],"mappings":"szBAqDMA,IAAAA,EAAQC,GACZ,SAAAC,EAcEC,GACE,IAbAC,EAASF,EAATE,UACAC,EAAcH,EAAdG,eAAcC,EAAAJ,EACdK,KAAAA,OAAO,IAAHD,EAAG,OAAMA,EAAAE,EAAAN,EACbO,MAAAA,OAAQ,IAAHD,EAAG,UAASA,EAAAE,EAAAR,EACjBS,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAAE,EAAAV,EACTW,cAAAA,OAAgB,IAAHD,GAAQA,EACrBE,EAAEZ,EAAFY,GACeC,EAAUb,EAAzB,eACAc,EAAOd,EAAPc,QACAC,EAAoBf,EAApBe,qBAAoBC,EAAAhB,EACpBiB,KAAAA,OAAO,IAAHD,EAAG,SAAQA,EAIXE,EAAWC,EAAwB,MACnCC,EAAYC,EAAYpB,EAAKiB,GACnCI,EAA4DC,EAASR,GAAqBS,EAAAC,EAAAH,EAAA,GAAnFI,EAAsBF,EAAA,GAAEG,EAAyBH,EAAA,GAElDI,IAAsBd,EAEtBe,EAAaC,GACjB,WAAA,OACEC,EACEC,EAAOC,MACPC,EAASF,EAAQG,EAAU,QAAe9B,IAC1C6B,EAASF,EAAQG,EAAU,SAAgB5B,IAAO6B,EAAAA,EAAAA,EAAA,CAAA,EAE/CJ,EAAOK,QAAU1B,GACjBqB,EAAOM,UAAYV,GACnBI,EAAOO,MAAiB,UAATtB,GAElBd,EACD,GACH,CAACE,EAAME,EAAOI,EAAeR,EAAgByB,EAAaX,IAGtDuB,EAAuBV,GAAQ,WACnC,GAAIW,EAAcC,SAASnC,GACzB,MAAa,SAATF,EACK,CAAEE,MAAK,eAAAoC,OAAiBpC,EAAK,MAE/B,CAAEqC,gBAAe,eAAAD,OAAiBpC,EAAK,KAElD,GAAG,CAACA,EAAOF,IAELwC,EAAkBC,GACtB,SAACC,GACKjC,IACFiC,EAAMC,iBACNlC,EAAQiC,GAEZ,GACA,CAACjC,IAGGmC,EAAiBC,EACrB,CACEpC,QAAS+B,EACTjC,GAAAA,EACA,eAAe,EACf,iBAAiB,EACjB,iBAAiB,GAEnBM,GAGFiC,GAAU,WACRxB,EAA0BZ,EAC5B,GAAG,CAACA,IAEJ,IAAMkB,EAAQH,GAAQ,WACpB,OACEsB,EACMC,cAAA,OAAAC,OAAAC,OAAA,CAAA,EAAC3B,GAAeqB,EACpB,CAAA/C,UAAW6B,EAAEK,EAAIJ,CAAAA,EAAAA,EAAOwB,iBAAmB5B,GAAe1B,GAC7C,cAAAW,GAAc4C,EAAUC,EAAuBC,MAAO/C,eACxDgD,EAAgBD,MAC3B1D,IAAKmB,IAELgC,EAAAC,cAACQ,EAAI,CACHC,MAAOtB,EACPuB,QAAQ,OACRC,KAAMC,EAAmBhD,GACzBf,UAAW2B,EACXtB,MAAiB,SAAVA,EAAmB,aAAe,oCAClBmB,GAEvB0B,EAAAC,cAACQ,EAAI,CACHE,QAAQ,OACRC,KAAMC,EAAmBhD,GACzBV,MAAM,UACNL,UAAW6B,EAAEK,EAAIJ,CAAAA,EAAAA,EAAOkC,UAAqB,UAATjD,KAEnCR,GAEH2C,EAAMC,cAAA,OAAA,CAAAnD,UAAW6B,EAAGC,EAAOmC,aAAcxD,EAAgByC,EAACC,cAAAe,EAAM,MAAG,OAI3E,GAAG,CACDxC,EACAqB,EACA/C,EACAW,EACAD,EACAQ,EACAS,EACAH,EACAjB,EACAE,EACAM,EACAuB,EACAjC,IAIF,OAAImB,GAAmC,SAATrB,EAE1B+C,EAACC,cAAAgB,EAA0B,CAAAC,eAAgB,WAAA,OAAM3C,GAA0B,EAAM,GAC9EM,GAKAA,CACT"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var n={clickableWrapper:"clickableWrapper","focus-visible":"focus-visible",label:"label",small:"small",withLeg:"withLeg",legWrapper:"legWrapper",kindFill:"kindFill",colorPrimary:"colorPrimary",clickable:"clickable",colorDark:"colorDark",colorNegative:"colorNegative",colorPositive:"colorPositive",kindLine:"kindLine",smallText:"smallText"};!function(n){const r="s_id-05b0d3f05a05_4_5_5";if("undefined"!=typeof document){const o=document.head||document.getElementsByTagName("head")[0];if(o.querySelector("#"+r))return;const i=document.createElement("style");i.id=r,o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[r]=n)}("/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/* stylelint-enable */\n.clickableWrapper {\n cursor: pointer;\n}\n.clickableWrapper:focus-visible, .clickableWrapper.focus-visible {\n outline: none;\n z-index: 11;\n border-radius: 4px;\n box-shadow: 0 0 0 3px hsla(209, 100%, 50%, 0.5), 0 0 0 1px var(--primary-hover-color) inset;\n}\n.clickableWrapper:focus:not(.focus-visible) {\n outline: none;\n}\n.clickableWrapper:active {\n transform: scale(0.95) translate3d(0, 0, 0);\n transition: var(--motion-productive-short) transform;\n}\n.label {\n -webkit-font-smoothing: var(--font-smoothing-webkit);\n -moz-osx-font-smoothing: var(--font-smoothing-moz);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--border-radius-small);\n padding: 2px var(--space-8);\n position: relative;\n}\n.label.small {\n padding: 0 var(--space-4);\n border-radius: 2px;\n}\n.withLeg {\n border-start-start-radius: var(--border-radius-small);\n border-start-end-radius: var(--border-radius-small);\n border-end-end-radius: var(--border-radius-small);\n border-end-start-radius: 0;\n}\n.legWrapper {\n position: absolute;\n height: 8px;\n top: 100%;\n inset-inline-start: 0;\n display: inline-flex;\n}\n.kindFill.colorPrimary {\n background-color: var(--primary-color);\n}\n.kindFill.colorPrimary svg path {\n fill: var(--primary-color);\n}\n.kindFill.colorPrimary.clickable:hover, .kindFill.colorPrimary.clickable:active {\n background-color: var(--primary-hover-color);\n}\n.kindFill.colorDark {\n background-color: var(--inverted-color-background);\n}\n.kindFill.colorDark svg path {\n fill: var(--inverted-color-background);\n}\n.kindFill.colorNegative {\n background-color: var(--negative-color);\n}\n.kindFill.colorNegative svg path {\n fill: var(--negative-color);\n}\n.kindFill.colorNegative.clickable:hover, .kindFill.colorNegative.clickable:active {\n background-color: var(--negative-color-hover);\n}\n.kindFill.colorPositive {\n background-color: var(--positive-color);\n}\n.kindFill.colorPositive svg path {\n fill: var(--positive-color);\n}\n.kindFill.colorPositive.clickable:hover, .kindFill.colorPositive.clickable:active {\n background-color: var(--positive-color-hover);\n}\n.kindLine {\n border: 1px solid currentColor;\n padding: 1px var(--space-8);\n}\n.kindLine .legWrapper {\n inset-inline-start: -1px;\n top: calc(100% + 1px);\n}\n.kindLine.colorPrimary {\n color: var(--primary-color);\n}\n.kindLine.colorPrimary svg path {\n fill: var(--primary-color);\n}\n.kindLine.colorPrimary.clickable:hover, .kindLine.colorPrimary.clickable:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine.colorDark {\n color: var(--inverted-color-background);\n}\n.kindLine.colorDark svg path {\n fill: var(--inverted-color-background);\n}\n.kindLine.colorDark.clickable:hover, .kindLine.colorDark.clickable:active {\n background-color: var(--primary-background-hover-color);\n}\n.kindLine.colorNegative {\n color: var(--negative-color);\n}\n.kindLine.colorNegative svg path {\n fill: var(--negative-color);\n}\n.kindLine.colorNegative.clickable:hover, .kindLine.colorNegative.clickable:active {\n background-color: var(--negative-color-selected);\n}\n.kindLine.colorPositive {\n color: var(--positive-color);\n}\n.kindLine.colorPositive svg path {\n fill: var(--positive-color);\n}\n.kindLine.colorPositive.clickable:hover, .kindLine.colorPositive.clickable:active {\n background-color: var(--positive-color-selected);\n}\n.kindLine .smallText {\n line-height: 14px;\n}");export{n as default};
|
|
2
|
-
//# sourceMappingURL=Label.module.scss.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{slicedToArray as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import t,{useRef as c,useState as a,useCallback as r,forwardRef as o,cloneElement as n}from"react";import i from"classnames";import{useResizeObserver as s}from"@vibe/hooks";import l from"./LabelCelebrationAnimation.module.scss.js";var m=4,d=1;function h(h){var u=h.children,f=h.onAnimationEnd,v=c(),p=c(),b=a(),E=e(b,2),k=E[0],A=E[1],g=r((function(e){var t=e.borderBoxSize||{},c=t.blockSize,a=t.inlineSize;if(v.current){var r=function(e){var t=e.width,c=e.height,a=e.borderRadius,r=void 0===a?m:a,o=e.strokeWidth,n=void 0===o?d:o,i=n/2;return"M ".concat(t-n/2,", ").concat(r," V ").concat(c-r," A ").concat(r," ").concat(r," 0 0 1 ").concat(t-r," ").concat(c-n/2," H ").concat(r+i," A ").concat(r," ").concat(r," 0 0 1 ").concat(n/2," ").concat(c-r," V ").concat(r+i," A ").concat(r," ").concat(r," 0 0 1 ").concat(r," ").concat(n/2," L ").concat(t-r,", ").concat(n/2," A ").concat(r," ").concat(r," 0 0 1 ").concat(t-n/2," ").concat(r," Z")}({width:a,height:c});A(r);var o=function(e){var t=e.width,c=e.height,a=e.borderRadius,r=void 0===a?m:a,o=t-2*r,n=c-2*r;return 2*Math.PI*r+2*o+2*n}({width:a,height:c});v.current.style.setProperty("--container-perimeter",o+"")}}),[]);s({ref:v,callback:g,debounceTime:0});var N=o((function(e,t){return n(u,{ref:t})}));return t.createElement("div",{className:l.celebration,ref:v},t.createElement("svg",{className:l.svg},t.createElement("path",{className:i(l.stroke,l.base),d:k}),t.createElement("path",{className:i(l.stroke,l.first),d:k}),t.createElement("path",{className:i(l.stroke,l.second),d:k}),t.createElement("path",{className:i(l.stroke,l.third),d:k,onAnimationEnd:f})),t.createElement(N,{ref:p}))}export{h as default};
|
|
2
|
-
//# sourceMappingURL=LabelCelebrationAnimation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelCelebrationAnimation.js","sources":["../../../../../src/components/Label/LabelCelebrationAnimation.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, useCallback, useRef, useState } from \"react\";\nimport cx from \"classnames\";\nimport { useResizeObserver } from \"@vibe/hooks\";\nimport styles from \"./LabelCelebrationAnimation.module.scss\";\n\nconst DEFAULT_BORDER_RADIUS = 4;\nconst DEFAULT_STROKE_WIDTH = 1;\n\nexport interface LabelCelebrationAnimationProps {\n /**\n * The child component that will be wrapped by the animation.\n */\n children: React.ReactElement;\n /**\n * Callback fired when the celebration animation ends.\n */\n onAnimationEnd: () => void;\n}\n\nfunction LabelCelebrationAnimation({ children, onAnimationEnd }: LabelCelebrationAnimationProps) {\n const wrapperRef = useRef<HTMLDivElement>();\n const childRef = useRef<HTMLDivElement>();\n\n const [path, setPath] = useState<string>();\n\n const resizeObserverCallback = useCallback(\n ({ borderBoxSize }: { borderBoxSize: { blockSize: number; inlineSize: number } }) => {\n const { blockSize: height, inlineSize: width } = borderBoxSize || {};\n\n if (wrapperRef.current) {\n const d = getPath({ width, height });\n setPath(d);\n\n const perimeter = getPerimeter({ width, height });\n wrapperRef.current.style.setProperty(\"--container-perimeter\", String(perimeter));\n }\n },\n []\n );\n\n useResizeObserver({\n ref: wrapperRef,\n callback: resizeObserverCallback,\n debounceTime: 0\n });\n\n const ChildComponentWithRef = forwardRef((_props, ref) =>\n cloneElement(children, {\n ref\n })\n );\n\n return (\n <div className={styles.celebration} ref={wrapperRef}>\n <svg className={styles.svg}>\n <path className={cx(styles.stroke, styles.base)} d={path} />\n <path className={cx(styles.stroke, styles.first)} d={path} />\n <path className={cx(styles.stroke, styles.second)} d={path} />\n <path className={cx(styles.stroke, styles.third)} d={path} onAnimationEnd={onAnimationEnd} />\n </svg>\n <ChildComponentWithRef ref={childRef} />\n </div>\n );\n}\n\nexport default LabelCelebrationAnimation;\n\nfunction getPath({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS,\n strokeWidth = DEFAULT_STROKE_WIDTH\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n strokeWidth?: number;\n}) {\n const offset = strokeWidth / 2;\n\n return `M ${width - strokeWidth / 2}, ${borderRadius} V ${\n height - borderRadius\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - borderRadius} ${height - strokeWidth / 2} H ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${strokeWidth / 2} ${height - borderRadius} V ${\n borderRadius + offset\n } A ${borderRadius} ${borderRadius} 0 0 1 ${borderRadius} ${strokeWidth / 2} L ${width - borderRadius}, ${\n strokeWidth / 2\n } A ${borderRadius} ${borderRadius} 0 0 1 ${width - strokeWidth / 2} ${borderRadius} Z`;\n}\n\nfunction getPerimeter({\n width,\n height,\n borderRadius = DEFAULT_BORDER_RADIUS\n}: {\n width: number;\n height: number;\n borderRadius?: number;\n}) {\n const straightWidth = width - 2 * borderRadius;\n const straightHeight = height - 2 * borderRadius;\n const cornerCircumference = 2 * Math.PI * borderRadius;\n return cornerCircumference + 2 * straightWidth + 2 * straightHeight;\n}\n"],"names":["DEFAULT_BORDER_RADIUS","DEFAULT_STROKE_WIDTH","LabelCelebrationAnimation","_ref","children","onAnimationEnd","wrapperRef","useRef","childRef","_useState","useState","_useState2","_slicedToArray","path","setPath","resizeObserverCallback","useCallback","_ref2","_ref3","borderBoxSize","height","blockSize","width","inlineSize","current","d","_ref4","_ref4$borderRadius","borderRadius","_ref4$strokeWidth","strokeWidth","offset","concat","getPath","perimeter","_ref5","_ref5$borderRadius","straightWidth","straightHeight","Math","PI","getPerimeter","style","setProperty","String","useResizeObserver","ref","callback","debounceTime","ChildComponentWithRef","forwardRef","_props","cloneElement","React","createElement","className","styles","celebration","svg","cx","stroke","base","first","second","third"],"mappings":"sTAKA,IAAMA,EAAwB,EACxBC,EAAuB,EAa7B,SAASC,EAAyBC,GAA6D,IAA1DC,EAAQD,EAARC,SAAUC,EAAcF,EAAdE,eACvCC,EAAaC,IACbC,EAAWD,IAEjBE,EAAwBC,IAAkBC,EAAAC,EAAAH,EAAA,GAAnCI,EAAIF,EAAA,GAAEG,EAAOH,EAAA,GAEdI,EAAyBC,GAC7B,SAAAC,GAAoF,IAClFC,EADcD,EAAbE,eACiE,CAAE,EAAjDC,EAAMF,EAAjBG,UAA+BC,EAAKJ,EAAjBK,WAE3B,GAAIjB,EAAWkB,QAAS,CACtB,IAAMC,EAqCd,SAAgBC,GAUf,IATCJ,EAAKI,EAALJ,MACAF,EAAMM,EAANN,OAAMO,EAAAD,EACNE,aAAAA,OAAe5B,IAAH2B,EAAG3B,EAAqB2B,EAAAE,EAAAH,EACpCI,YAAAA,OAAc7B,IAAH4B,EAAG5B,EAAoB4B,EAO5BE,EAASD,EAAc,EAE7B,MAAAE,KAAAA,OAAYV,EAAQQ,EAAc,EAACE,MAAAA,OAAKJ,EAAYI,OAAAA,OAClDZ,EAASQ,EACXI,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUV,EAAQM,EAAY,KAAAI,OAAIZ,EAASU,EAAc,EAAC,OAAAE,OAC1FJ,EAAeG,EACjB,OAAAC,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUF,EAAc,EAAC,KAAAE,OAAIZ,EAASQ,EAAYI,OAAAA,OAClFJ,EAAeG,EACjBC,OAAAA,OAAMJ,EAAYI,KAAAA,OAAIJ,EAAYI,WAAAA,OAAUJ,EAAYI,KAAAA,OAAIF,EAAc,EAACE,OAAAA,OAAMV,EAAQM,EAAY,MAAAI,OACnGF,EAAc,EAChB,OAAAE,OAAMJ,EAAY,KAAAI,OAAIJ,EAAY,WAAAI,OAAUV,EAAQQ,EAAc,EAAC,KAAAE,OAAIJ,EAAY,KACrF,CA3DkBK,CAAQ,CAAEX,MAAAA,EAAOF,OAAAA,IAC3BN,EAAQW,GAER,IAAMS,EA0Dd,SAAqBC,GAQpB,IAPCb,EAAKa,EAALb,MACAF,EAAMe,EAANf,OAAMgB,EAAAD,EACNP,aAAAA,OAAe5B,IAAHoC,EAAGpC,EAAqBoC,EAM9BC,EAAgBf,EAAQ,EAAIM,EAC5BU,EAAiBlB,EAAS,EAAIQ,EAEpC,OAD4B,EAAIW,KAAKC,GAAKZ,EACb,EAAIS,EAAgB,EAAIC,CACvD,CAvE0BG,CAAa,CAAEnB,MAAAA,EAAOF,OAAAA,IACxCd,EAAWkB,QAAQkB,MAAMC,YAAY,wBAAgCT,EAAPU,GAChE,CACD,GACD,IAGFC,EAAkB,CAChBC,IAAKxC,EACLyC,SAAUhC,EACViC,aAAc,IAGhB,IAAMC,EAAwBC,GAAW,SAACC,EAAQL,GAAG,OACnDM,EAAahD,EAAU,CACrB0C,IAAAA,OAIJ,OACEO,EAAKC,cAAA,MAAA,CAAAC,UAAWC,EAAOC,YAAaX,IAAKxC,GACvC+C,EAAAC,cAAA,MAAA,CAAKC,UAAWC,EAAOE,KACrBL,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOK,MAAOpC,EAAGZ,IACpDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOM,OAAQrC,EAAGZ,IACrDwC,EAAAC,cAAA,OAAA,CAAMC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOO,QAAStC,EAAGZ,IACtDwC,EAAMC,cAAA,OAAA,CAAAC,UAAWI,EAAGH,EAAOI,OAAQJ,EAAOQ,OAAQvC,EAAGZ,EAAMR,eAAgBA,KAE7EgD,EAACC,cAAAL,GAAsBH,IAAKtC,IAGlC"}
|
package/dist/mocked_classnames/src/components/Label/LabelCelebrationAnimation.module.scss.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var n={celebration:"celebration",svg:"svg",stroke:"stroke","stroke-rotate":"stroke-rotate",base:"base",fade:"fade",first:"first",second:"second",third:"third","gradient-text-fill":"gradient-text-fill"};!function(n){const e="s_id-f81803454b25_4_5_5";if("undefined"!=typeof document){const t=document.head||document.getElementsByTagName("head")[0];if(t.querySelector("#"+e))return;const r=document.createElement("style");r.id=e,t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.appendChild(document.createTextNode(n))}else globalThis.injectedStyles&&(globalThis.injectedStyles[e]=n)}(".celebration {\n --container-perimeter: 840;\n position: relative;\n}\n.celebration .svg {\n position: absolute;\n top: 0;\n inset-inline-start: 0;\n height: 100%;\n width: 100%;\n}\n.celebration .svg .stroke {\n fill: none;\n stroke-width: 1;\n stroke-linecap: round;\n stroke-linejoin: round;\n animation: stroke-rotate cubic-bezier(0.33, 0, 0.67, 1) forwards;\n stroke-dasharray: var(--container-perimeter);\n stroke-dashoffset: var(--container-perimeter);\n}\n.celebration .svg .stroke.base {\n stroke: var(--color-egg_yolk);\n animation: fade 200ms linear forwards;\n animation-delay: 80ms;\n stroke-dasharray: 0;\n stroke-dashoffset: 0;\n opacity: 0;\n}\n.celebration .svg .stroke.first {\n stroke: var(--color-done-green);\n animation-delay: 80ms;\n animation-duration: 320ms;\n}\n.celebration .svg .stroke.second {\n stroke: var(--color-stuck-red);\n animation-delay: 200ms;\n animation-duration: 320ms;\n}\n.celebration .svg .stroke.third {\n stroke: var(--primary-color);\n animation-delay: 360ms;\n animation-duration: 320ms;\n}\n.celebration.celebration [data-celebration-text] {\n background-size: 300% 100%;\n background-repeat: no-repeat;\n background-clip: text;\n -webkit-background-clip: text;\n color: transparent;\n animation: gradient-text-fill 680ms linear forwards;\n background-image: linear-gradient(to right, var(--primary-color) 30%, var(--color-stuck-red) 40%, var(--color-done-green) 60%, var(--color-egg_yolk) 85%, transparent 90%);\n}\n@keyframes fade {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes stroke-rotate {\n to {\n stroke-dashoffset: 0;\n }\n}\n@keyframes gradient-text-fill {\n from {\n background-position: 150% 0;\n }\n to {\n background-position: 0% 0;\n }\n}");export{n as default};
|
|
2
|
-
//# sourceMappingURL=LabelCelebrationAnimation.module.scss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelConstants.js","sources":["../../../../../src/components/Label/LabelConstants.ts"],"sourcesContent":["import { type TextType } from \"@vibe/typography\";\nimport { type LabelSizes } from \"./Label.types\";\n\nexport const mapSizesToTextSize: Record<LabelSizes, TextType> = {\n small: \"text3\",\n medium: \"text2\"\n};\n"],"names":["mapSizesToTextSize","small","medium"],"mappings":"AAGO,IAAMA,EAAmD,CAC9DC,MAAO,QACPC,OAAQ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Leg.js","sources":["../../../../../src/components/Label/Leg.tsx"],"sourcesContent":["import React from \"react\";\n\nconst Leg = () => (\n <svg width=\"8\" height=\"5\" viewBox=\"0 0 8 5\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M0 0V2.76772C0 4.21783 1.77351 4.92116 2.76736 3.86519L5.45681 1.00765C6.06097 0.365738 6.90294 0.00127805 7.7843 3.35493e-06C5.30942 2.53165e-06 2.69058 1.4328e-06 0 0Z\"\n fill=\"#E44258\"\n />\n </svg>\n);\n\nLeg.displayName = \"Leg\";\n\nexport default Leg;\n"],"names":["Leg","React","createElement","width","height","viewBox","fill","xmlns","d","displayName"],"mappings":"qBAEA,IAAMA,EAAM,WAAH,OACPC,EAAKC,cAAA,MAAA,CAAAC,MAAM,IAAIC,OAAO,IAAIC,QAAQ,UAAUC,KAAK,OAAOC,MAAM,8BAC5DN,EACEC,cAAA,OAAA,CAAAM,EAAE,4KACFF,KAAK,YAEH,EAGRN,EAAIS,YAAc"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{defineProperty as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import{getTestId as i,ComponentDefaultTestId as t}from"../../tests/testIds.js";import r from"classnames";import o,{forwardRef as a,useCallback as s}from"react";import{getStyle as l,NOOP as n}from"@vibe/shared";import{Icon as d}from"@vibe/icon/mockedClassNames";import m from"./Link.module.scss.js";import{camelCase as c}from"es-toolkit";import{ComponentVibeId as v}from"../../tests/constants.js";var f=a((function(a,d){var f=a.className,b=a.textClassName,u=a.href,y=void 0===u?"":u,N=a.text,k=void 0===N?"":N,x=a.rel,h=void 0===x?"noreferrer":x,g=a.onClick,j=void 0===g?n:g,C=a.target,E=void 0===C?"_blank":C,I=a["aria-label"],L=void 0===I?"":I,P=a.color,S=void 0===P?"primary":P,_=a["aria-describedby"],z=void 0===_?"":_,F=a.icon,K=void 0===F?"":F,T=a.iconPosition,B=a.id,D=void 0===B?"":B,H=a["aria-labelledby"],q=void 0===H?"":H,w=a.disableNavigation,A=void 0!==w&&w,G=a.inheritFontSize,J=void 0!==G&&G,M=a.inlineText,O=void 0!==M&&M,Q=a.style,R=a["data-testid"],U="start"===(void 0===T?"start":T),V=s((function(e){A&&e.preventDefault(),j&&j(e)}),[A,j]);return o.createElement("a",{"data-testid":R||i(t.LINK,D),"data-vibe":v.LINK,id:D,href:y,rel:h,ref:d,onClick:V,target:E,style:Q,className:r(m.link,f,l(m,c("color-"+S)),e(e({},m.inheritFontSize,J),m.inlineText,O)),"aria-label":L,"aria-describedby":z,"aria-labelledby":q},p(U,K,r(m.iconStart)),o.createElement("span",{className:r(m.text,b)},k),p(!U,K,r(m.iconEnd)))}));function p(e,i,t){if(e)return o.createElement(d,{className:t,icon:i,type:"font"})}export{f as default};
|
|
2
|
-
//# sourceMappingURL=Link.js.map
|