@carbon/ibm-products 2.51.0 → 2.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index-full-carbon.css +56 -115
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +11 -19
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +13 -36
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +47 -81
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/_virtual/index.js +6 -2
- package/es/_virtual/index2.js +10 -0
- package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +1 -1
- package/es/components/AboutModal/AboutModal.js +1 -1
- package/es/components/ActionBar/ActionBar.js +1 -1
- package/es/components/ActionBar/ActionBarItem.js +1 -1
- package/es/components/ActionBar/ActionBarOverflowItems.js +1 -1
- package/es/components/ActionSet/ActionSet.js +1 -1
- package/es/components/AddSelect/AddSelect.js +1 -1
- package/es/components/AddSelect/AddSelectBody.js +1 -1
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
- package/es/components/AddSelect/AddSelectColumn.js +1 -1
- package/es/components/AddSelect/AddSelectFilter.js +1 -1
- package/es/components/AddSelect/AddSelectFormControl.js +1 -1
- package/es/components/AddSelect/AddSelectList.js +1 -1
- package/es/components/AddSelect/AddSelectMetaPanel.js +1 -1
- package/es/components/AddSelect/AddSelectRow.js +1 -1
- package/es/components/AddSelect/AddSelectSidebar.js +1 -1
- package/es/components/AddSelect/AddSelectSort.js +1 -1
- package/es/components/BigNumbers/BigNumbers.js +1 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
- package/es/components/Card/Card.js +1 -1
- package/es/components/Card/CardFooter.js +1 -1
- package/es/components/Card/CardHeader.js +1 -1
- package/es/components/Carousel/Carousel.js +1 -1
- package/es/components/Carousel/CarouselItem.js +1 -1
- package/es/components/Cascade/Cascade.js +1 -1
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/ChecklistChart.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/Coachmark/Coachmark.js +1 -1
- package/es/components/Coachmark/CoachmarkDragbar.js +1 -1
- package/es/components/Coachmark/CoachmarkHeader.js +1 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +1 -1
- package/es/components/Coachmark/CoachmarkTagline.js +1 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/es/components/CoachmarkButton/CoachmarkButton.js +1 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/es/components/ComboButton/ComboButton.js +1 -1
- package/es/components/ComboButton/ComboButtonItem/index.js +1 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +1 -1
- package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
- package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +23 -14
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +1 -1
- package/es/components/Decorator/Decorator.js +1 -1
- package/es/components/DecoratorBase/DecoratorBase.js +1 -1
- package/es/components/DecoratorBase/DecoratorIcon.js +1 -1
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
- package/es/components/DecoratorLink/DecoratorLink.js +1 -1
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
- package/es/components/DelimitedList/DelimitedList.js +1 -1
- package/es/components/DescriptionList/DescriptionList.js +1 -1
- package/es/components/DescriptionList/DescriptionListBody.js +1 -1
- package/es/components/DescriptionList/DescriptionListCell.js +1 -1
- package/es/components/DescriptionList/DescriptionListRow.js +1 -1
- package/es/components/EditFullPage/EditFullPage.js +1 -1
- package/es/components/EditInPlace/EditInPlace.js +2 -1
- package/es/components/EditSidePanel/EditSidePanel.js +1 -1
- package/es/components/EditTearsheet/EditTearsheet.js +1 -1
- package/es/components/EditTearsheet/EditTearsheetForm.js +1 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/es/components/EmptyStates/EmptyState.js +1 -1
- package/es/components/EmptyStates/EmptyStateContent.js +1 -1
- package/es/components/EmptyStates/EmptyStateIllustration.js +1 -1
- package/es/components/EmptyStates/EmptyStateV2.js +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
- package/es/components/ExportModal/ExportModal.d.ts +5 -1
- package/es/components/ExportModal/ExportModal.js +9 -3
- package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/es/components/FeatureFlags/index.js +1 -1
- package/es/components/FilterPanel/FilterPanel.js +1 -1
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
- package/es/components/FilterSummary/FilterSummary.js +1 -1
- package/es/components/FullPageError/FullPageError.js +1 -1
- package/es/components/FullPageError/assets/Error403SVG.js +1 -1
- package/es/components/FullPageError/assets/Error404SVG.js +1 -1
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
- package/es/components/GetStartedCard/GetStartedCard.js +1 -1
- package/es/components/Guidebanner/Guidebanner.js +1 -1
- package/es/components/Guidebanner/GuidebannerElement.js +1 -1
- package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
- package/es/components/ImportModal/ImportModal.js +1 -1
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +1 -1
- package/es/components/InlineTip/InlineTipButton.js +1 -1
- package/es/components/InlineTip/InlineTipLink.js +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +1 -1
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/es/components/Nav/Nav.js +1 -1
- package/es/components/Nav/NavItem.js +1 -1
- package/es/components/Nav/NavItemLink.js +1 -1
- package/es/components/Nav/NavList.js +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/es/components/OptionsTile/OptionsTile.js +1 -1
- package/es/components/PageHeader/PageHeader.js +1 -1
- package/es/components/PageHeader/PageHeaderTitle.js +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +1 -1
- package/es/components/RemoveModal/RemoveModal.js +1 -1
- package/es/components/Saving/Saving.js +1 -1
- package/es/components/ScrollGradient/ScrollGradient.js +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -1
- package/es/components/SidePanel/SidePanel.js +1 -1
- package/es/components/SimpleHeader/SimpleHeader.js +1 -1
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -1
- package/es/components/StatusIndicator/StatusIndicator.js +1 -1
- package/es/components/StatusIndicator/StatusIndicatorStep.js +1 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/es/components/StringFormatter/StringFormatter.js +1 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +1 -0
- package/es/components/TagOverflow/TagOverflow.js +8 -2
- package/es/components/TagOverflow/TagOverflowModal.d.ts +2 -1
- package/es/components/TagOverflow/TagOverflowModal.js +11 -5
- package/es/components/TagOverflow/TagOverflowPopover.js +6 -5
- package/es/components/TagSet/TagSet.d.ts +8 -0
- package/es/components/TagSet/TagSet.js +16 -4
- package/es/components/TagSet/TagSetModal.d.ts +2 -1
- package/es/components/TagSet/TagSetModal.js +11 -5
- package/es/components/TagSet/TagSetOverflow.d.ts +5 -1
- package/es/components/TagSet/TagSetOverflow.js +36 -8
- package/es/components/Tearsheet/Tearsheet.d.ts +7 -0
- package/es/components/Tearsheet/Tearsheet.js +8 -1
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/es/components/Tearsheet/TearsheetShell.js +1 -1
- package/es/components/Toolbar/Toolbar.js +1 -1
- package/es/components/Toolbar/ToolbarButton.js +1 -1
- package/es/components/Toolbar/ToolbarGroup.js +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.js +1 -1
- package/es/components/TruncatedList/TruncatedList.js +1 -1
- package/es/components/UserAvatar/UserAvatar.js +1 -1
- package/es/components/UserProfileImage/UserProfileImage.js +1 -1
- package/es/components/WebTerminal/WebTerminal.js +1 -1
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
- package/es/components/WebTerminal/hooks/index.js +1 -1
- package/es/components/_Canary/Canary.js +1 -1
- package/es/global/js/utils/Wrap.js +1 -1
- package/es/global/js/utils/props-helper.js +1 -1
- package/es/node_modules/@carbon/icons-react/es/Icon.js +1 -1
- package/es/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
- package/es/node_modules/prop-types/checkPropTypes.js +2 -2
- package/es/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/es/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/es/node_modules/prop-types/index.js +18 -15
- package/lib/_virtual/index.js +9 -2
- package/lib/_virtual/index2.js +12 -0
- package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.js +1 -1
- package/lib/components/AboutModal/AboutModal.js +1 -1
- package/lib/components/ActionBar/ActionBar.js +1 -1
- package/lib/components/ActionBar/ActionBarItem.js +1 -1
- package/lib/components/ActionBar/ActionBarOverflowItems.js +1 -1
- package/lib/components/ActionSet/ActionSet.js +1 -1
- package/lib/components/AddSelect/AddSelect.js +1 -1
- package/lib/components/AddSelect/AddSelectBody.js +1 -1
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
- package/lib/components/AddSelect/AddSelectColumn.js +1 -1
- package/lib/components/AddSelect/AddSelectFilter.js +1 -1
- package/lib/components/AddSelect/AddSelectFormControl.js +1 -1
- package/lib/components/AddSelect/AddSelectList.js +1 -1
- package/lib/components/AddSelect/AddSelectMetaPanel.js +1 -1
- package/lib/components/AddSelect/AddSelectRow.js +1 -1
- package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
- package/lib/components/AddSelect/AddSelectSort.js +1 -1
- package/lib/components/BigNumbers/BigNumbers.js +1 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
- package/lib/components/Card/Card.js +1 -1
- package/lib/components/Card/CardFooter.js +1 -1
- package/lib/components/Card/CardHeader.js +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/CarouselItem.js +1 -1
- package/lib/components/Cascade/Cascade.js +1 -1
- package/lib/components/Checklist/Checklist.js +1 -1
- package/lib/components/Checklist/ChecklistChart.js +1 -1
- package/lib/components/Checklist/ChecklistIcon.js +1 -1
- package/lib/components/Coachmark/Coachmark.js +1 -1
- package/lib/components/Coachmark/CoachmarkDragbar.js +1 -1
- package/lib/components/Coachmark/CoachmarkHeader.js +1 -1
- package/lib/components/Coachmark/CoachmarkOverlay.js +1 -1
- package/lib/components/Coachmark/CoachmarkTagline.js +1 -1
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.js +1 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/lib/components/ComboButton/ComboButton.js +1 -1
- package/lib/components/ComboButton/ComboButtonItem/index.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +1 -1
- package/lib/components/CreateFullPage/CreateFullPageStep.js +1 -1
- package/lib/components/CreateInfluencer/CreateInfluencer.js +1 -1
- package/lib/components/CreateModal/CreateModal.js +1 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
- package/lib/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +23 -14
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +1 -1
- package/lib/components/Decorator/Decorator.js +1 -1
- package/lib/components/DecoratorBase/DecoratorBase.js +1 -1
- package/lib/components/DecoratorBase/DecoratorIcon.js +1 -1
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
- package/lib/components/DecoratorLink/DecoratorLink.js +1 -1
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
- package/lib/components/DelimitedList/DelimitedList.js +1 -1
- package/lib/components/DescriptionList/DescriptionList.js +1 -1
- package/lib/components/DescriptionList/DescriptionListBody.js +1 -1
- package/lib/components/DescriptionList/DescriptionListCell.js +1 -1
- package/lib/components/DescriptionList/DescriptionListRow.js +1 -1
- package/lib/components/EditFullPage/EditFullPage.js +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +2 -1
- package/lib/components/EditSidePanel/EditSidePanel.js +1 -1
- package/lib/components/EditTearsheet/EditTearsheet.js +1 -1
- package/lib/components/EditTearsheet/EditTearsheetForm.js +1 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/lib/components/EmptyStates/EmptyState.js +1 -1
- package/lib/components/EmptyStates/EmptyStateContent.js +1 -1
- package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -1
- package/lib/components/EmptyStates/EmptyStateV2.js +1 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
- package/lib/components/ExportModal/ExportModal.d.ts +5 -1
- package/lib/components/ExportModal/ExportModal.js +9 -3
- package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/lib/components/FeatureFlags/index.js +1 -1
- package/lib/components/FilterPanel/FilterPanel.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
- package/lib/components/FilterSummary/FilterSummary.js +1 -1
- package/lib/components/FullPageError/FullPageError.js +1 -1
- package/lib/components/FullPageError/assets/Error403SVG.js +1 -1
- package/lib/components/FullPageError/assets/Error404SVG.js +1 -1
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
- package/lib/components/GetStartedCard/GetStartedCard.js +1 -1
- package/lib/components/Guidebanner/Guidebanner.js +1 -1
- package/lib/components/Guidebanner/GuidebannerElement.js +1 -1
- package/lib/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
- package/lib/components/ImportModal/ImportModal.js +1 -1
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +1 -1
- package/lib/components/InlineTip/InlineTipButton.js +1 -1
- package/lib/components/InlineTip/InlineTipLink.js +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -1
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/lib/components/Nav/Nav.js +1 -1
- package/lib/components/Nav/NavItem.js +1 -1
- package/lib/components/Nav/NavItemLink.js +1 -1
- package/lib/components/Nav/NavList.js +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +1 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/lib/components/OptionsTile/OptionsTile.js +1 -1
- package/lib/components/PageHeader/PageHeader.js +1 -1
- package/lib/components/PageHeader/PageHeaderTitle.js +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
- package/lib/components/RemoveModal/RemoveModal.js +1 -1
- package/lib/components/Saving/Saving.js +1 -1
- package/lib/components/ScrollGradient/ScrollGradient.js +1 -1
- package/lib/components/SearchBar/SearchBar.js +1 -1
- package/lib/components/SidePanel/SidePanel.js +1 -1
- package/lib/components/SimpleHeader/SimpleHeader.js +1 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +1 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/lib/components/StringFormatter/StringFormatter.js +1 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +1 -0
- package/lib/components/TagOverflow/TagOverflow.js +8 -2
- package/lib/components/TagOverflow/TagOverflowModal.d.ts +2 -1
- package/lib/components/TagOverflow/TagOverflowModal.js +11 -5
- package/lib/components/TagOverflow/TagOverflowPopover.js +5 -4
- package/lib/components/TagSet/TagSet.d.ts +8 -0
- package/lib/components/TagSet/TagSet.js +16 -4
- package/lib/components/TagSet/TagSetModal.d.ts +2 -1
- package/lib/components/TagSet/TagSetModal.js +11 -5
- package/lib/components/TagSet/TagSetOverflow.d.ts +5 -1
- package/lib/components/TagSet/TagSetOverflow.js +35 -7
- package/lib/components/Tearsheet/Tearsheet.d.ts +7 -0
- package/lib/components/Tearsheet/Tearsheet.js +8 -1
- package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/lib/components/Tearsheet/TearsheetShell.js +1 -1
- package/lib/components/Toolbar/Toolbar.js +1 -1
- package/lib/components/Toolbar/ToolbarButton.js +1 -1
- package/lib/components/Toolbar/ToolbarGroup.js +1 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.js +1 -1
- package/lib/components/TruncatedList/TruncatedList.js +1 -1
- package/lib/components/UserAvatar/UserAvatar.js +1 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +1 -1
- package/lib/components/WebTerminal/WebTerminal.js +1 -1
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
- package/lib/components/WebTerminal/hooks/index.js +1 -1
- package/lib/components/_Canary/Canary.js +1 -1
- package/lib/global/js/utils/Wrap.js +1 -1
- package/lib/global/js/utils/props-helper.js +1 -1
- package/lib/node_modules/@carbon/icons-react/es/Icon.js +1 -1
- package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
- package/lib/node_modules/prop-types/checkPropTypes.js +2 -2
- package/lib/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/lib/node_modules/prop-types/index.js +18 -18
- package/package.json +7 -7
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -1
- package/scss/components/Datagrid/styles/_datagrid.scss +11 -0
- package/scss/components/DecoratorBase/_decorator-base.scss +0 -1
- package/scss/components/EditInPlace/_edit-in-place.scss +1 -1
- package/scss/components/TagOverflow/_tag-overflow.scss +2 -20
- package/scss/components/TagSet/_tag-set.scss +0 -20
- package/telemetry.yml +4 -3
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
|
|
9
9
|
import React__default from 'react';
|
10
10
|
import { Launch } from '@carbon/react/icons';
|
11
11
|
import { Link } from '@carbon/react';
|
12
|
-
import PropTypes from '../../
|
12
|
+
import PropTypes from '../../_virtual/index.js';
|
13
13
|
import cx from 'classnames';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
15
|
import { pkg } from '../../settings.js';
|
@@ -11,7 +11,7 @@ import React__default, { useRef, useState, Children, useCallback, useEffect, isV
|
|
11
11
|
import { ArrowRight } from '@carbon/react/icons';
|
12
12
|
import { Carousel } from '../Carousel/Carousel.js';
|
13
13
|
import '../Carousel/CarouselItem.js';
|
14
|
-
import PropTypes from '../../
|
14
|
+
import PropTypes from '../../_virtual/index.js';
|
15
15
|
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
16
16
|
import { clamp } from 'lodash';
|
17
17
|
import cx from 'classnames';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import PropTypes from '../../
|
9
|
+
import PropTypes from '../../_virtual/index.js';
|
10
10
|
import React__default from 'react';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import { AddSelect } from '../AddSelect/AddSelect.js';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
|
package/es/components/Nav/Nav.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useRef, useEffect } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import NavList, { blockClass as blockClass$2 } from './NavList.js';
|
13
13
|
import NavItem, { blockClass as blockClass$1 } from './NavItem.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useEffect, useRef } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../settings.js';
|
13
13
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import PropTypes from '../../
|
9
|
+
import PropTypes from '../../_virtual/index.js';
|
10
10
|
import React__default from 'react';
|
11
11
|
|
12
12
|
var _excluded = ["element"];
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useEffect, useImperativeHandle } from 'react';
|
10
10
|
import cx from 'classnames';
|
11
|
-
import { p as propTypesExports } from '../../
|
11
|
+
import { p as propTypesExports } from '../../_virtual/index.js';
|
12
12
|
import NavItem, { blockClass as blockClass$1 } from './NavItem.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { ChevronDown } from '../../node_modules/@carbon/icons-react/es/generated/bucket-2.js';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useRef } from 'react';
|
10
10
|
import { ChevronDown } from '@carbon/react/icons';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import cx from 'classnames';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../settings.js';
|
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
|
|
9
9
|
import { usePrefix, Button, Toggle, Link, IconButton } from '@carbon/react';
|
10
10
|
import { Settings, ErrorFilled, CheckmarkFilled, WarningAltFilled, InformationSquareFilled, Close, ChevronDown } from '@carbon/react/icons';
|
11
11
|
import React__default, { useRef, useState, useEffect } from 'react';
|
12
|
-
import PropTypes from '../../
|
12
|
+
import PropTypes from '../../_virtual/index.js';
|
13
13
|
import cx from 'classnames';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
15
|
import { pkg } from '../../settings.js';
|
@@ -10,7 +10,7 @@ import * as carbonMotion from '@carbon/motion';
|
|
10
10
|
import { ChevronDown, Locked, WarningFilled, WarningAltFilled } from '@carbon/react/icons';
|
11
11
|
import { Toggle, Layer } from '@carbon/react';
|
12
12
|
import React__default, { useState, useRef } from 'react';
|
13
|
-
import PropTypes from '../../
|
13
|
+
import PropTypes from '../../_virtual/index.js';
|
14
14
|
import cx from 'classnames';
|
15
15
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
16
16
|
import { pkg } from '../../settings.js';
|
@@ -14,7 +14,7 @@ import { blockClass, utilSetCollapsed, utilGetBreadcrumbItemForTitle, utilCheckU
|
|
14
14
|
import { deprecateProp, prepareProps } from '../../global/js/utils/props-helper.js';
|
15
15
|
import { ChevronUp } from '@carbon/react/icons';
|
16
16
|
import { PageHeaderTitle } from './PageHeaderTitle.js';
|
17
|
-
import PropTypes from '../../
|
17
|
+
import PropTypes from '../../_virtual/index.js';
|
18
18
|
import cx from 'classnames';
|
19
19
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
20
20
|
import { pkg } from '../../settings.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { SkeletonText } from '@carbon/react';
|
13
13
|
import { EditInPlace } from '../EditInPlace/EditInPlace.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
12
12
|
import { pkg } from '../../settings.js';
|
13
13
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { ComposedModal, ModalHeader, ModalBody, TextInput, ModalFooter, Button } from '@carbon/react';
|
10
10
|
import React__default, { forwardRef, useState, useRef, useEffect } from 'react';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import cx from 'classnames';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../settings.js';
|
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as
|
|
9
9
|
import { InlineLoading, Button } from '@carbon/react';
|
10
10
|
import { ErrorOutline, Save, CheckmarkOutline, ErrorFilled } from '@carbon/react/icons';
|
11
11
|
import React__default, { forwardRef } from 'react';
|
12
|
-
import PropTypes from '../../
|
12
|
+
import PropTypes from '../../_virtual/index.js';
|
13
13
|
import cx from 'classnames';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
15
|
import { pkg } from '../../settings.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useRef, useCallback, useEffect } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg, carbon } from '../../settings.js';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { MultiSelect, Search, Button } from '@carbon/react';
|
10
10
|
import React__default, { useState, useEffect } from 'react';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import cx from 'classnames';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../settings.js';
|
@@ -12,7 +12,7 @@ import { Button, IconButton } from '@carbon/react';
|
|
12
12
|
import React__default, { useState, useRef, useEffect, useCallback } from 'react';
|
13
13
|
import { actionSetVariants, overlayVariants, panelVariants } from './motion/variants.js';
|
14
14
|
import { ActionSet } from '../ActionSet/ActionSet.js';
|
15
|
-
import PropTypes from '../../
|
15
|
+
import PropTypes from '../../_virtual/index.js';
|
16
16
|
import { SIDE_PANEL_SIZES } from './constants.js';
|
17
17
|
import { allPropTypes } from '../../global/js/utils/props-helper.js';
|
18
18
|
import cx from 'classnames';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import PropTypes from '../../
|
9
|
+
import PropTypes from '../../_virtual/index.js';
|
10
10
|
import React__default, { useCallback, useEffect } from 'react';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../settings.js';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import { AddSelect } from '../AddSelect/AddSelect.js';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { Misuse, ErrorFilled, WarningAltInvertedFilled, WarningAltFilled, UndefinedFilled, UnknownFilled, CheckmarkFilled, InformationSquareFilled, InProgress, CheckmarkOutline, Pending } from '@carbon/react/icons';
|
10
10
|
import React__default, { forwardRef } from 'react';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import cx from 'classnames';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../settings.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
|
|
9
9
|
import React__default, { useState, useRef, useEffect } from 'react';
|
10
10
|
import lottie from 'lottie-web';
|
11
11
|
import clamp from 'lodash/clamp';
|
12
|
-
import PropTypes from '../../
|
12
|
+
import PropTypes from '../../_virtual/index.js';
|
13
13
|
import cx from 'classnames';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
15
|
import { pkg } from '../../settings.js';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
@@ -16,6 +16,7 @@ export interface TagOverflowItem {
|
|
16
16
|
}
|
17
17
|
export interface TagOverflowProps {
|
18
18
|
align?: 'start' | 'center' | 'end';
|
19
|
+
allTagsModalAriaLabel?: string;
|
19
20
|
allTagsModalSearchLabel?: string;
|
20
21
|
allTagsModalSearchPlaceholderText?: string;
|
21
22
|
allTagsModalTarget?: ReactNode;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef, useRef, useState, useCallback, useEffect, createElement } from 'react';
|
10
10
|
import { Tooltip, Tag } from '@carbon/react';
|
11
|
-
import PropTypes from '../../
|
11
|
+
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import { TYPES } from './constants.js';
|
13
13
|
import { TagOverflowModal } from './TagOverflowModal.js';
|
14
14
|
import { TagOverflowPopover } from './TagOverflowPopover.js';
|
@@ -18,7 +18,7 @@ import { isRequiredIf } from '../../global/js/utils/props-helper.js';
|
|
18
18
|
import { pkg } from '../../settings.js';
|
19
19
|
import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
|
20
20
|
|
21
|
-
var _excluded = ["align", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
|
21
|
+
var _excluded = ["align", "allTagsModalAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
|
22
22
|
_excluded2 = ["className", "id"],
|
23
23
|
_excluded3 = ["tagType"],
|
24
24
|
_excluded4 = ["id", "label", "tagType", "onClose"];
|
@@ -28,6 +28,7 @@ var allTagsModalSearchThreshold = 10;
|
|
28
28
|
var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
|
29
29
|
var _props$align = props.align,
|
30
30
|
align = _props$align === void 0 ? 'start' : _props$align,
|
31
|
+
allTagsModalAriaLabel = props.allTagsModalAriaLabel,
|
31
32
|
allTagsModalSearchLabel = props.allTagsModalSearchLabel,
|
32
33
|
allTagsModalSearchPlaceholderText = props.allTagsModalSearchPlaceholderText,
|
33
34
|
allTagsModalTarget = props.allTagsModalTarget,
|
@@ -218,6 +219,7 @@ var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
218
219
|
allTags: items,
|
219
220
|
open: showAllModalOpen,
|
220
221
|
title: allTagsModalTitle,
|
222
|
+
modalAriaLabel: allTagsModalAriaLabel,
|
221
223
|
onClose: handleModalClose,
|
222
224
|
overflowType: overflowType,
|
223
225
|
searchLabel: allTagsModalSearchLabel,
|
@@ -251,6 +253,10 @@ TagOverflow.propTypes = {
|
|
251
253
|
* align the Tags displayed by the TagSet. Default start.
|
252
254
|
*/
|
253
255
|
align: PropTypes.oneOf(['start', 'center', 'end']),
|
256
|
+
/**
|
257
|
+
* aria label for all tags modal with hasScrollingContent
|
258
|
+
*/
|
259
|
+
allTagsModalAriaLabel: PropTypes.string,
|
254
260
|
/**
|
255
261
|
* label text for the show all search. **Note: Required if more than 10 tags**
|
256
262
|
*/
|
@@ -9,6 +9,7 @@ type AllTags = (TagType & Omit<React.ComponentProps<Tag>, 'filter'>)[];
|
|
9
9
|
interface TagOverflowModalProps {
|
10
10
|
allTags?: AllTags;
|
11
11
|
className?: string;
|
12
|
+
modalAriaLabel?: string;
|
12
13
|
onClose?: () => void;
|
13
14
|
open?: boolean;
|
14
15
|
overflowType?: 'default' | 'tag';
|
@@ -18,7 +19,7 @@ interface TagOverflowModalProps {
|
|
18
19
|
title?: string;
|
19
20
|
}
|
20
21
|
export declare const TagOverflowModal: {
|
21
|
-
({ allTags, className, title, onClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
|
22
|
+
({ allTags, className, title, modalAriaLabel, onClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
|
22
23
|
propTypes: {
|
23
24
|
allTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
24
25
|
label: PropTypes.Validator<string>;
|
@@ -7,19 +7,21 @@
|
|
7
7
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
15
15
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
16
16
|
|
17
|
-
var _excluded = ["allTags", "className", "title", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
|
17
|
+
var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
|
18
18
|
var componentName = 'TagOverflowModal';
|
19
19
|
var blockClass = "".concat(pkg.prefix, "--tag-overflow-modal");
|
20
20
|
|
21
21
|
// Default values for props
|
22
22
|
var defaults = {
|
23
|
+
// required for accessibility if using hasScrollingContent
|
24
|
+
modalAriaLabel: 'List of all tags',
|
23
25
|
// marked as required by TagSet if needed, default used to satisfy <Search /> component
|
24
26
|
searchLabel: ''
|
25
27
|
};
|
@@ -27,6 +29,8 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
27
29
|
var allTags = _ref.allTags,
|
28
30
|
className = _ref.className,
|
29
31
|
title = _ref.title,
|
32
|
+
_ref$modalAriaLabel = _ref.modalAriaLabel,
|
33
|
+
modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
|
30
34
|
onClose = _ref.onClose,
|
31
35
|
open = _ref.open,
|
32
36
|
overflowType = _ref.overflowType,
|
@@ -72,7 +76,9 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
72
76
|
size: "lg"
|
73
77
|
})), /*#__PURE__*/React__default.createElement(ModalBody, {
|
74
78
|
className: "".concat(blockClass, "__body"),
|
75
|
-
hasForm: true
|
79
|
+
hasForm: true,
|
80
|
+
hasScrollingContent: true,
|
81
|
+
"aria-label": modalAriaLabel
|
76
82
|
}, getFilteredItems().map(function (_ref2) {
|
77
83
|
var label = _ref2.label,
|
78
84
|
id = _ref2.id,
|
@@ -82,9 +88,9 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
82
88
|
key: id,
|
83
89
|
filter: isFilterable
|
84
90
|
}, label);
|
85
|
-
})
|
91
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
86
92
|
className: "".concat(blockClass, "__fade")
|
87
|
-
})));
|
93
|
+
}))));
|
88
94
|
};
|
89
95
|
TagOverflowModal.propTypes = {
|
90
96
|
allTags: PropTypes.arrayOf(PropTypes.shape(_objectSpread2(_objectSpread2({}, prepareProps(Tag.propTypes, 'filter')), {}, {
|
@@ -7,9 +7,9 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef, useRef } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
|
-
import { Popover,
|
12
|
+
import { Popover, OperationalTag, PopoverContent, Tag, Link } from '@carbon/react';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
|
15
15
|
|
@@ -69,12 +69,13 @@ var TagOverflowPopover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
69
69
|
highContrast: true,
|
70
70
|
onKeyDown: handleEscKeyPress,
|
71
71
|
open: popoverOpen
|
72
|
-
}, /*#__PURE__*/React__default.createElement(
|
72
|
+
}, /*#__PURE__*/React__default.createElement(OperationalTag, {
|
73
73
|
onClick: function onClick() {
|
74
74
|
return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
|
75
75
|
},
|
76
|
-
className: cx("".concat(blockClass, "__trigger"))
|
77
|
-
|
76
|
+
className: cx("".concat(blockClass, "__trigger")),
|
77
|
+
text: "+".concat(overflowTags.length)
|
78
|
+
}), /*#__PURE__*/React__default.createElement(PopoverContent, null, /*#__PURE__*/React__default.createElement("div", {
|
78
79
|
ref: overflowTagContent,
|
79
80
|
className: "".concat(blockClass, "__content")
|
80
81
|
}, /*#__PURE__*/React__default.createElement("ul", {
|
@@ -12,6 +12,10 @@ export interface TagSetProps extends PropsWithChildren {
|
|
12
12
|
* align the Tags displayed by the TagSet. Default start.
|
13
13
|
*/
|
14
14
|
align?: Align;
|
15
|
+
/**
|
16
|
+
* aria label for all tags modal with hasScrollingContent
|
17
|
+
*/
|
18
|
+
allTagsModalAriaLabel?: string;
|
15
19
|
/**
|
16
20
|
* label text for the show all search.
|
17
21
|
*/
|
@@ -50,6 +54,10 @@ export interface TagSetProps extends PropsWithChildren {
|
|
50
54
|
* display tags in multiple lines
|
51
55
|
*/
|
52
56
|
multiline?: boolean;
|
57
|
+
/**
|
58
|
+
* An optional click handler that overrides the default functionality of displaying all tags in a modal
|
59
|
+
*/
|
60
|
+
onOverflowClick?: ((overFlowTags: ReactNode[]) => void) | undefined;
|
53
61
|
/**
|
54
62
|
* Handler to get overflow tags
|
55
63
|
*/
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useRef, useEffect, useCallback } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import { Tag } from '@carbon/react';
|
12
12
|
import { TagSetModal } from './TagSetModal.js';
|
13
13
|
import { TagSetOverflow } from './TagSetOverflow.js';
|
@@ -17,7 +17,7 @@ import { isRequiredIf } from '../../global/js/utils/props-helper.js';
|
|
17
17
|
import { pkg } from '../../settings.js';
|
18
18
|
import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
|
19
19
|
|
20
|
-
var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
|
20
|
+
var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
|
21
21
|
_excluded2 = ["label", "id"],
|
22
22
|
_excluded3 = ["label", "onClose"];
|
23
23
|
var componentName = 'TagSet';
|
@@ -45,6 +45,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
45
45
|
overflowClassName = _ref.overflowClassName,
|
46
46
|
_ref$overflowType = _ref.overflowType,
|
47
47
|
overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
|
48
|
+
allTagsModalAriaLabel = _ref.allTagsModalAriaLabel,
|
48
49
|
_ref$allTagsModalTitl = _ref.allTagsModalTitle,
|
49
50
|
allTagsModalTitle = _ref$allTagsModalTitl === void 0 ? 'All tags' : _ref$allTagsModalTitl,
|
50
51
|
_ref$allTagsModalSear = _ref.allTagsModalSearchLabel,
|
@@ -53,6 +54,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
53
54
|
allTagsModalSearchPlaceholderText = _ref$allTagsModalSear2 === void 0 ? 'Search all tags' : _ref$allTagsModalSear2,
|
54
55
|
_ref$showAllTagsLabel = _ref.showAllTagsLabel,
|
55
56
|
showAllTagsLabel = _ref$showAllTagsLabel === void 0 ? 'View all tags' : _ref$showAllTagsLabel,
|
57
|
+
onOverflowClick = _ref.onOverflowClick,
|
56
58
|
tags = _ref.tags,
|
57
59
|
containingElementRef = _ref.containingElementRef,
|
58
60
|
_ref$measurementOffse = _ref.measurementOffset,
|
@@ -169,11 +171,12 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
169
171
|
key: "displayed-tag-overflow",
|
170
172
|
ref: overflowTag,
|
171
173
|
popoverOpen: popoverOpen,
|
174
|
+
onOverflowClick: onOverflowClick,
|
172
175
|
setPopoverOpen: setPopoverOpen
|
173
176
|
}));
|
174
177
|
onOverflowTagChange === null || onOverflowTagChange === void 0 || onOverflowTagChange(newOverflowTags);
|
175
178
|
setDisplayedTags(newDisplayedTags);
|
176
|
-
}, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
|
179
|
+
}, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, onOverflowClick, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
|
177
180
|
var checkFullyVisibleTags = useCallback(function () {
|
178
181
|
if (multiline) {
|
179
182
|
return setDisplayCount(maxVisibleCount);
|
@@ -244,11 +247,12 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
244
247
|
}, hiddenSizingTags), /*#__PURE__*/React__default.createElement("div", {
|
245
248
|
className: cx(["".concat(blockClass, "__tag-container"), multiline && "".concat(blockClass, "__tag-container--multiline")]),
|
246
249
|
ref: displayedArea
|
247
|
-
}, displayedTags)), /*#__PURE__*/React__default.createElement(TagSetModal, {
|
250
|
+
}, displayedTags)), !onOverflowClick && /*#__PURE__*/React__default.createElement(TagSetModal, {
|
248
251
|
allTags: tags,
|
249
252
|
open: showAllModalOpen,
|
250
253
|
title: allTagsModalTitle,
|
251
254
|
onClose: handleModalClose,
|
255
|
+
modalAriaLabel: allTagsModalAriaLabel,
|
252
256
|
searchLabel: allTagsModalSearchLabel,
|
253
257
|
searchPlaceholder: allTagsModalSearchPlaceholderText,
|
254
258
|
portalTarget: allTagsModalTarget
|
@@ -289,6 +293,10 @@ TagSet.propTypes = {
|
|
289
293
|
* align the Tags displayed by the TagSet. Default start.
|
290
294
|
*/
|
291
295
|
align: PropTypes.oneOf(['start', 'center', 'end']),
|
296
|
+
/**
|
297
|
+
* aria label for all tags modal with hasScrollingContent
|
298
|
+
*/
|
299
|
+
allTagsModalAriaLabel: PropTypes.string,
|
292
300
|
/**
|
293
301
|
* label text for the show all search.
|
294
302
|
*/
|
@@ -328,6 +336,10 @@ TagSet.propTypes = {
|
|
328
336
|
* display tags in multiple lines
|
329
337
|
*/
|
330
338
|
multiline: PropTypes.bool,
|
339
|
+
/**
|
340
|
+
* An optional click handler that overrides the default functionality of displaying all tags in a modal
|
341
|
+
*/
|
342
|
+
onOverflowClick: PropTypes.func,
|
331
343
|
/**
|
332
344
|
* Handler to get overflow tags
|
333
345
|
*/
|
@@ -9,6 +9,7 @@ type AllTags = TagType[] & Omit<React.ComponentProps<Tag>, 'filter'>[];
|
|
9
9
|
interface TagSetModalProps {
|
10
10
|
allTags?: AllTags;
|
11
11
|
className?: string;
|
12
|
+
modalAriaLabel?: string;
|
12
13
|
onClose?: () => void;
|
13
14
|
open?: boolean;
|
14
15
|
portalTarget?: ReactNode;
|
@@ -17,7 +18,7 @@ interface TagSetModalProps {
|
|
17
18
|
title?: string;
|
18
19
|
}
|
19
20
|
export declare const TagSetModal: {
|
20
|
-
({ allTags, className, title, onClose, open, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagSetModalProps): any;
|
21
|
+
({ allTags, className, title, modalAriaLabel, onClose, open, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagSetModalProps): any;
|
21
22
|
propTypes: {
|
22
23
|
allTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
23
24
|
label: PropTypes.Validator<string>;
|
@@ -7,20 +7,22 @@
|
|
7
7
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useEffect } from 'react';
|
10
|
-
import PropTypes from '../../
|
10
|
+
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
15
15
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
16
16
|
|
17
|
-
var _excluded = ["allTags", "className", "title", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
|
17
|
+
var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
|
18
18
|
_excluded2 = ["label"];
|
19
19
|
var componentName = 'TagSetModal';
|
20
20
|
var blockClass = "".concat(pkg.prefix, "--tag-set-modal");
|
21
21
|
|
22
22
|
// Default values for props
|
23
23
|
var defaults = {
|
24
|
+
// required for accessibility if using hasScrollingContent
|
25
|
+
modalAriaLabel: 'List of all tags',
|
24
26
|
// marked as required by TagSet if needed, default used to satisfy <Search /> component
|
25
27
|
searchLabel: ''
|
26
28
|
};
|
@@ -28,6 +30,8 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
28
30
|
var allTags = _ref.allTags,
|
29
31
|
className = _ref.className,
|
30
32
|
title = _ref.title,
|
33
|
+
_ref$modalAriaLabel = _ref.modalAriaLabel,
|
34
|
+
modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
|
31
35
|
onClose = _ref.onClose,
|
32
36
|
open = _ref.open,
|
33
37
|
portalTargetIn = _ref.portalTarget,
|
@@ -85,7 +89,9 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
85
89
|
size: "lg"
|
86
90
|
})), /*#__PURE__*/React__default.createElement(ModalBody, {
|
87
91
|
className: "".concat(blockClass, "__body"),
|
88
|
-
hasForm: true
|
92
|
+
hasForm: true,
|
93
|
+
hasScrollingContent: true,
|
94
|
+
"aria-label": modalAriaLabel
|
89
95
|
}, filteredModalTags.map(function (_ref2, index) {
|
90
96
|
var label = _ref2.label,
|
91
97
|
other = _objectWithoutProperties(_ref2, _excluded2);
|
@@ -93,9 +99,9 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
93
99
|
filter: false,
|
94
100
|
key: "all-tags-".concat(index)
|
95
101
|
}), label);
|
96
|
-
})
|
102
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
97
103
|
className: "".concat(blockClass, "__fade")
|
98
|
-
})));
|
104
|
+
}))));
|
99
105
|
};
|
100
106
|
TagSetModal.propTypes = {
|
101
107
|
allTags: PropTypes.arrayOf(PropTypes.shape(_objectSpread2(_objectSpread2({}, prepareProps(Tag.propTypes, 'filter')), {}, {
|