@carbon/ibm-products 2.43.2-canary.271 → 2.43.2-canary.281
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 +45 -113
- 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 +0 -17
- 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 +2 -34
- 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 +36 -79
- 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/DatagridSelectAllWithToggle.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- 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 +1 -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.js +1 -1
- 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.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.js +1 -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/DatagridSelectAllWithToggle.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- 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 +1 -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.js +1 -1
- 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.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.js +1 -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/DecoratorBase/_decorator-base.scss +0 -1
- package/scss/components/TagOverflow/_tag-overflow.scss +2 -20
- package/scss/components/TagSet/_tag-set.scss +0 -20
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var react = require('@carbon/react');
|
14
14
|
var TagSetModal = require('./TagSetModal.js');
|
15
15
|
var TagSetOverflow = require('./TagSetOverflow.js');
|
@@ -19,7 +19,7 @@ var propsHelper = require('../../global/js/utils/props-helper.js');
|
|
19
19
|
var settings = require('../../settings.js');
|
20
20
|
var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
|
21
21
|
|
22
|
-
var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
|
22
|
+
var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
|
23
23
|
_excluded2 = ["label", "id"],
|
24
24
|
_excluded3 = ["label", "onClose"];
|
25
25
|
var componentName = 'TagSet';
|
@@ -47,6 +47,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
47
47
|
overflowClassName = _ref.overflowClassName,
|
48
48
|
_ref$overflowType = _ref.overflowType,
|
49
49
|
overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
|
50
|
+
allTagsModalAriaLabel = _ref.allTagsModalAriaLabel,
|
50
51
|
_ref$allTagsModalTitl = _ref.allTagsModalTitle,
|
51
52
|
allTagsModalTitle = _ref$allTagsModalTitl === void 0 ? 'All tags' : _ref$allTagsModalTitl,
|
52
53
|
_ref$allTagsModalSear = _ref.allTagsModalSearchLabel,
|
@@ -55,6 +56,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
55
56
|
allTagsModalSearchPlaceholderText = _ref$allTagsModalSear2 === void 0 ? 'Search all tags' : _ref$allTagsModalSear2,
|
56
57
|
_ref$showAllTagsLabel = _ref.showAllTagsLabel,
|
57
58
|
showAllTagsLabel = _ref$showAllTagsLabel === void 0 ? 'View all tags' : _ref$showAllTagsLabel,
|
59
|
+
onOverflowClick = _ref.onOverflowClick,
|
58
60
|
tags = _ref.tags,
|
59
61
|
containingElementRef = _ref.containingElementRef,
|
60
62
|
_ref$measurementOffse = _ref.measurementOffset,
|
@@ -171,11 +173,12 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
171
173
|
key: "displayed-tag-overflow",
|
172
174
|
ref: overflowTag,
|
173
175
|
popoverOpen: popoverOpen,
|
176
|
+
onOverflowClick: onOverflowClick,
|
174
177
|
setPopoverOpen: setPopoverOpen
|
175
178
|
}));
|
176
179
|
onOverflowTagChange === null || onOverflowTagChange === void 0 || onOverflowTagChange(newOverflowTags);
|
177
180
|
setDisplayedTags(newDisplayedTags);
|
178
|
-
}, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
|
181
|
+
}, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, onOverflowClick, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
|
179
182
|
var checkFullyVisibleTags = React.useCallback(function () {
|
180
183
|
if (multiline) {
|
181
184
|
return setDisplayCount(maxVisibleCount);
|
@@ -246,11 +249,12 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
246
249
|
}, hiddenSizingTags), /*#__PURE__*/React.createElement("div", {
|
247
250
|
className: cx(["".concat(blockClass, "__tag-container"), multiline && "".concat(blockClass, "__tag-container--multiline")]),
|
248
251
|
ref: displayedArea
|
249
|
-
}, displayedTags)), /*#__PURE__*/React.createElement(TagSetModal.TagSetModal, {
|
252
|
+
}, displayedTags)), !onOverflowClick && /*#__PURE__*/React.createElement(TagSetModal.TagSetModal, {
|
250
253
|
allTags: tags,
|
251
254
|
open: showAllModalOpen,
|
252
255
|
title: allTagsModalTitle,
|
253
256
|
onClose: handleModalClose,
|
257
|
+
modalAriaLabel: allTagsModalAriaLabel,
|
254
258
|
searchLabel: allTagsModalSearchLabel,
|
255
259
|
searchPlaceholder: allTagsModalSearchPlaceholderText,
|
256
260
|
portalTarget: allTagsModalTarget
|
@@ -291,6 +295,10 @@ exports.TagSet.propTypes = {
|
|
291
295
|
* align the Tags displayed by the TagSet. Default start.
|
292
296
|
*/
|
293
297
|
align: index.default.oneOf(['start', 'center', 'end']),
|
298
|
+
/**
|
299
|
+
* aria label for all tags modal with hasScrollingContent
|
300
|
+
*/
|
301
|
+
allTagsModalAriaLabel: index.default.string,
|
294
302
|
/**
|
295
303
|
* label text for the show all search.
|
296
304
|
*/
|
@@ -330,6 +338,10 @@ exports.TagSet.propTypes = {
|
|
330
338
|
* display tags in multiple lines
|
331
339
|
*/
|
332
340
|
multiline: index.default.bool,
|
341
|
+
/**
|
342
|
+
* An optional click handler that overrides the default functionality of displaying all tags in a modal
|
343
|
+
*/
|
344
|
+
onOverflowClick: index.default.func,
|
333
345
|
/**
|
334
346
|
* Handler to get overflow tags
|
335
347
|
*/
|
@@ -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>;
|
@@ -9,20 +9,22 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var react = require('@carbon/react');
|
15
15
|
var settings = require('../../settings.js');
|
16
16
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
17
17
|
var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
|
18
18
|
|
19
|
-
var _excluded = ["allTags", "className", "title", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
|
19
|
+
var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
|
20
20
|
_excluded2 = ["label"];
|
21
21
|
var componentName = 'TagSetModal';
|
22
22
|
var blockClass = "".concat(settings.pkg.prefix, "--tag-set-modal");
|
23
23
|
|
24
24
|
// Default values for props
|
25
25
|
var defaults = {
|
26
|
+
// required for accessibility if using hasScrollingContent
|
27
|
+
modalAriaLabel: 'List of all tags',
|
26
28
|
// marked as required by TagSet if needed, default used to satisfy <Search /> component
|
27
29
|
searchLabel: ''
|
28
30
|
};
|
@@ -30,6 +32,8 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
30
32
|
var allTags = _ref.allTags,
|
31
33
|
className = _ref.className,
|
32
34
|
title = _ref.title,
|
35
|
+
_ref$modalAriaLabel = _ref.modalAriaLabel,
|
36
|
+
modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
|
33
37
|
onClose = _ref.onClose,
|
34
38
|
open = _ref.open,
|
35
39
|
portalTargetIn = _ref.portalTarget,
|
@@ -87,7 +91,9 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
87
91
|
size: "lg"
|
88
92
|
})), /*#__PURE__*/React.createElement(react.ModalBody, {
|
89
93
|
className: "".concat(blockClass, "__body"),
|
90
|
-
hasForm: true
|
94
|
+
hasForm: true,
|
95
|
+
hasScrollingContent: true,
|
96
|
+
"aria-label": modalAriaLabel
|
91
97
|
}, filteredModalTags.map(function (_ref2, index) {
|
92
98
|
var label = _ref2.label,
|
93
99
|
other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref2, _excluded2);
|
@@ -95,9 +101,9 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
95
101
|
filter: false,
|
96
102
|
key: "all-tags-".concat(index)
|
97
103
|
}), label);
|
98
|
-
})
|
104
|
+
}), /*#__PURE__*/React.createElement("div", {
|
99
105
|
className: "".concat(blockClass, "__fade")
|
100
|
-
})));
|
106
|
+
}))));
|
101
107
|
};
|
102
108
|
TagSetModal.propTypes = {
|
103
109
|
allTags: index.default.arrayOf(index.default.shape(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, propsHelper.prepareProps(react.Tag.propTypes, 'filter')), {}, {
|
@@ -10,6 +10,10 @@ interface TagSetOverflowProps {
|
|
10
10
|
* className
|
11
11
|
*/
|
12
12
|
className?: string;
|
13
|
+
/**
|
14
|
+
* An optional click handler that overrides the default functionality of displaying all tags in a modal
|
15
|
+
*/
|
16
|
+
onOverflowClick?: ((overFlowTags: ReactNode[]) => void) | undefined;
|
13
17
|
/**
|
14
18
|
* function to execute on clicking show all
|
15
19
|
*/
|
@@ -37,7 +41,7 @@ interface TagSetOverflowProps {
|
|
37
41
|
/**
|
38
42
|
* Setter function for the popoverOpen state value
|
39
43
|
*/
|
40
|
-
setPopoverOpen
|
44
|
+
setPopoverOpen: (value: boolean) => void;
|
41
45
|
/**
|
42
46
|
* label for the overflow show all tags link
|
43
47
|
*/
|
@@ -9,13 +9,13 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var react = require('@carbon/react');
|
15
15
|
var settings = require('../../settings.js');
|
16
16
|
var useClickOutside = require('../../global/js/hooks/useClickOutside.js');
|
17
17
|
|
18
|
-
var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
|
18
|
+
var _excluded = ["allTagsModalSearchThreshold", "onOverflowClick", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
|
19
19
|
var componentName = 'TagSetOverflow';
|
20
20
|
var blockClass = "".concat(settings.pkg.prefix, "--tag-set-overflow");
|
21
21
|
|
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
27
27
|
var _ref$allTagsModalSear = _ref.allTagsModalSearchThreshold,
|
28
28
|
allTagsModalSearchThreshold = _ref$allTagsModalSear === void 0 ? defaults.allTagsModalSearchThreshold : _ref$allTagsModalSear,
|
29
|
+
onOverflowClick = _ref.onOverflowClick,
|
29
30
|
className = _ref.className,
|
30
31
|
onShowAllClick = _ref.onShowAllClick,
|
31
32
|
_ref$overflowAlign = _ref.overflowAlign,
|
@@ -42,21 +43,44 @@ var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
42
43
|
var overflowTagContent = React.useRef(null);
|
43
44
|
useClickOutside.useClickOutside(ref || localRef, function () {
|
44
45
|
if (popoverOpen) {
|
45
|
-
setPopoverOpen
|
46
|
+
setPopoverOpen(false);
|
46
47
|
}
|
47
48
|
});
|
48
49
|
var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
|
49
50
|
ev.stopPropagation();
|
50
51
|
ev.preventDefault();
|
51
|
-
setPopoverOpen
|
52
|
+
setPopoverOpen(false);
|
52
53
|
onShowAllClick();
|
53
54
|
};
|
54
55
|
var handleEscKeyPress = function handleEscKeyPress(event) {
|
55
56
|
var key = event.key;
|
56
57
|
if (key === 'Escape') {
|
57
|
-
setPopoverOpen
|
58
|
+
setPopoverOpen(false);
|
58
59
|
}
|
59
60
|
};
|
61
|
+
var handleOverflowClick = function handleOverflowClick() {
|
62
|
+
// If a custom overflow function is provided then trigger that function
|
63
|
+
// on clicking the overflow
|
64
|
+
if (onOverflowClick) {
|
65
|
+
onOverflowClick(overflowTags);
|
66
|
+
} else {
|
67
|
+
setPopoverOpen(!popoverOpen);
|
68
|
+
}
|
69
|
+
};
|
70
|
+
if (onOverflowClick) {
|
71
|
+
return /*#__PURE__*/React.createElement("span", _rollupPluginBabelHelpers.extends({}, rest, {
|
72
|
+
"aria-hidden": overflowTags.length === 0,
|
73
|
+
className: cx("".concat(blockClass), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
|
74
|
+
ref: ref || localRef
|
75
|
+
}), /*#__PURE__*/React.createElement(react.OperationalTag, {
|
76
|
+
onClick: function onClick() {
|
77
|
+
return handleOverflowClick();
|
78
|
+
},
|
79
|
+
className: "".concat(blockClass, "__popover-trigger"),
|
80
|
+
size: size,
|
81
|
+
text: "+".concat(overflowTags.length)
|
82
|
+
}));
|
83
|
+
}
|
60
84
|
return /*#__PURE__*/React.createElement("span", _rollupPluginBabelHelpers.extends({}, rest, {
|
61
85
|
"aria-hidden": overflowTags.length === 0,
|
62
86
|
className: cx("".concat(blockClass), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
|
@@ -71,7 +95,7 @@ var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
71
95
|
autoAlign: overflowAutoAlign
|
72
96
|
}, /*#__PURE__*/React.createElement(react.OperationalTag, {
|
73
97
|
onClick: function onClick() {
|
74
|
-
return setPopoverOpen
|
98
|
+
return setPopoverOpen(!popoverOpen);
|
75
99
|
},
|
76
100
|
className: cx("".concat(blockClass, "__popover-trigger")),
|
77
101
|
size: size,
|
@@ -114,6 +138,10 @@ TagSetOverflow.propTypes = {
|
|
114
138
|
* className
|
115
139
|
*/
|
116
140
|
className: index.default.string,
|
141
|
+
/**
|
142
|
+
* An optional click handler that overrides the default functionality of displaying all tags in a modal
|
143
|
+
*/
|
144
|
+
onOverflowClick: index.default.func,
|
117
145
|
/**
|
118
146
|
* function to execute on clicking show all
|
119
147
|
*/
|
@@ -142,7 +170,7 @@ TagSetOverflow.propTypes = {
|
|
142
170
|
/**
|
143
171
|
* Setter function for the popoverOpen state value
|
144
172
|
*/
|
145
|
-
setPopoverOpen: index.default.func,
|
173
|
+
setPopoverOpen: index.default.func.isRequired,
|
146
174
|
/**
|
147
175
|
* label for the overflow show all tags link
|
148
176
|
*/
|
@@ -12,7 +12,7 @@ var react = require('@carbon/react');
|
|
12
12
|
var React = require('react');
|
13
13
|
var TearsheetShell = require('./TearsheetShell.js');
|
14
14
|
var ActionSet = require('../ActionSet/ActionSet.js');
|
15
|
-
var index = require('../../
|
15
|
+
var index = require('../../_virtual/index.js');
|
16
16
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
17
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
18
18
|
var settings = require('../../settings.js');
|
@@ -13,7 +13,7 @@ var TearsheetShell = require('./TearsheetShell.js');
|
|
13
13
|
var React = require('react');
|
14
14
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
15
15
|
var ActionSet = require('../ActionSet/ActionSet.js');
|
16
|
-
var index = require('../../
|
16
|
+
var index = require('../../_virtual/index.js');
|
17
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
18
18
|
var settings = require('../../settings.js');
|
19
19
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
12
|
var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
|
13
|
-
var index = require('../../
|
13
|
+
var index = require('../../_virtual/index.js');
|
14
14
|
var cx = require('classnames');
|
15
15
|
var settings = require('../../settings.js');
|
16
16
|
var pconsole = require('../../global/js/utils/pconsole.js');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var getFocusableElements = require('../../global/js/utils/getFocusableElements.js');
|
14
14
|
var cx = require('classnames');
|
15
15
|
var devtools = require('../../global/js/utils/devtools.js');
|
@@ -10,7 +10,7 @@
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
12
|
var Toolbar = require('./Toolbar.js');
|
13
|
-
var index = require('../../
|
13
|
+
var index = require('../../_virtual/index.js');
|
14
14
|
var react = require('@carbon/react');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../settings.js');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var Toolbar = require('./Toolbar.js');
|
14
14
|
var cx = require('classnames');
|
15
15
|
var settings = require('../../settings.js');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var settings = require('../../settings.js');
|
15
15
|
|
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
|
|
11
11
|
var React = require('react');
|
12
12
|
var settings = require('../../settings.js');
|
13
13
|
var react = require('@carbon/react');
|
14
|
-
var index = require('../../
|
14
|
+
var index = require('../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
17
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var devtools = require('../../global/js/utils/devtools.js');
|
15
15
|
var settings = require('../../settings.js');
|
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
|
|
11
11
|
require('../../global/js/utils/props-helper.js');
|
12
12
|
var icons = require('@carbon/react/icons');
|
13
13
|
var react = require('@carbon/react');
|
14
|
-
var index = require('../../
|
14
|
+
var index = require('../../_virtual/index.js');
|
15
15
|
var React = require('react');
|
16
16
|
var cx = require('classnames');
|
17
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
|
|
11
11
|
var react = require('@carbon/react');
|
12
12
|
var icons = require('@carbon/react/icons');
|
13
13
|
var React = require('react');
|
14
|
-
var index = require('../../
|
14
|
+
var index = require('../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
17
|
var carbonMotion = require('@carbon/motion');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var settings = require('../../settings.js');
|
15
15
|
var index$1 = require('./hooks/index.js');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../../
|
12
|
+
var index = require('../../../_virtual/index.js');
|
13
13
|
var settings = require('../../../settings.js');
|
14
14
|
|
15
15
|
var WebTerminalContext = /*#__PURE__*/React.createContext({});
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../
|
12
|
+
var index = require('../../_virtual/index.js');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var packageSettings = require('../../global/js/package-settings.js');
|
15
15
|
var react = require('@carbon/react');
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
-
var index = require('../../../
|
12
|
+
var index = require('../../../_virtual/index.js');
|
13
13
|
|
14
14
|
var _excluded = ["alwaysRender", "children", "element", "neverRender", "className", "title"];
|
15
15
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
require('react');
|
12
|
-
var index = require('../../../
|
12
|
+
var index = require('../../../_virtual/index.js');
|
13
13
|
var pconsole = require('./pconsole.js');
|
14
14
|
|
15
15
|
// helper functions for component props
|
@@ -11,7 +11,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var index = require('../../icon-helpers/es/index.js');
|
14
|
-
var index$1 = require('
|
14
|
+
var index$1 = require('../../../../_virtual/index.js');
|
15
15
|
var React = require('react');
|
16
16
|
|
17
17
|
var _excluded = ["className", "children", "tabIndex", "xmlns", "preserveAspectRatio"],
|
@@ -18,9 +18,9 @@ function requireCheckPropTypes() {
|
|
18
18
|
hasRequiredCheckPropTypes = 1;
|
19
19
|
var printWarning = function printWarning() {};
|
20
20
|
if (process.env.NODE_ENV !== 'production') {
|
21
|
-
var ReactPropTypesSecret$1 = ReactPropTypesSecret.__require();
|
21
|
+
var ReactPropTypesSecret$1 = /*@__PURE__*/ReactPropTypesSecret.__require();
|
22
22
|
var loggedTypeFailures = {};
|
23
|
-
var has$1 = has.__require();
|
23
|
+
var has$1 = /*@__PURE__*/has.__require();
|
24
24
|
printWarning = function printWarning(text) {
|
25
25
|
var message = 'Warning: ' + text;
|
26
26
|
if (typeof console !== 'undefined') {
|
@@ -14,7 +14,7 @@ var hasRequiredFactoryWithThrowingShims;
|
|
14
14
|
function requireFactoryWithThrowingShims() {
|
15
15
|
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
16
16
|
hasRequiredFactoryWithThrowingShims = 1;
|
17
|
-
var ReactPropTypesSecret$1 = ReactPropTypesSecret.__require();
|
17
|
+
var ReactPropTypesSecret$1 = /*@__PURE__*/ReactPropTypesSecret.__require();
|
18
18
|
function emptyFunction() {}
|
19
19
|
function emptyFunctionWithReset() {}
|
20
20
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
@@ -21,9 +21,9 @@ function requireFactoryWithTypeCheckers() {
|
|
21
21
|
hasRequiredFactoryWithTypeCheckers = 1;
|
22
22
|
var ReactIs = require$$0;
|
23
23
|
var assign = index.__require();
|
24
|
-
var ReactPropTypesSecret$1 = ReactPropTypesSecret.__require();
|
25
|
-
var has$1 = has.__require();
|
26
|
-
var checkPropTypes$1 = checkPropTypes.__require();
|
24
|
+
var ReactPropTypesSecret$1 = /*@__PURE__*/ReactPropTypesSecret.__require();
|
25
|
+
var has$1 = /*@__PURE__*/has.__require();
|
26
|
+
var checkPropTypes$1 = /*@__PURE__*/checkPropTypes.__require();
|
27
27
|
var printWarning = function printWarning() {};
|
28
28
|
if (process.env.NODE_ENV !== 'production') {
|
29
29
|
printWarning = function printWarning(text) {
|
@@ -7,28 +7,28 @@
|
|
7
7
|
|
8
8
|
'use strict';
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
var _commonjsHelpers = require('../../_virtual/_commonjsHelpers.js');
|
13
|
-
var index = require('../../_virtual/index.js');
|
10
|
+
var index = require('../../_virtual/index2.js');
|
14
11
|
var require$$0 = require('react-is');
|
15
12
|
var factoryWithTypeCheckers = require('./factoryWithTypeCheckers.js');
|
16
13
|
var factoryWithThrowingShims = require('./factoryWithThrowingShims.js');
|
17
14
|
|
18
|
-
|
19
|
-
|
15
|
+
var hasRequiredPropTypes;
|
16
|
+
function requirePropTypes() {
|
17
|
+
if (hasRequiredPropTypes) return index.__module.exports;
|
18
|
+
hasRequiredPropTypes = 1;
|
19
|
+
if (process.env.NODE_ENV !== 'production') {
|
20
|
+
var ReactIs = require$$0;
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
} else {
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
// By explicitly using `prop-types` you are opting into new development behavior.
|
23
|
+
// http://fb.me/prop-types-in-prod
|
24
|
+
var throwOnDirectAccess = true;
|
25
|
+
index.__module.exports = /*@__PURE__*/factoryWithTypeCheckers.__require()(ReactIs.isElement, throwOnDirectAccess);
|
26
|
+
} else {
|
27
|
+
// By explicitly using `prop-types` you are opting into new production behavior.
|
28
|
+
// http://fb.me/prop-types-in-prod
|
29
|
+
index.__module.exports = /*@__PURE__*/factoryWithThrowingShims.__require()();
|
30
|
+
}
|
31
|
+
return index.__module.exports;
|
29
32
|
}
|
30
|
-
var propTypesExports = index.__module.exports;
|
31
|
-
var PropTypes = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(propTypesExports);
|
32
33
|
|
33
|
-
exports.
|
34
|
-
exports.propTypesExports = propTypesExports;
|
34
|
+
exports.__require = requirePropTypes;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.43.2-canary.
|
4
|
+
"version": "2.43.2-canary.281+29e960c85",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -67,9 +67,9 @@
|
|
67
67
|
"@babel/preset-typescript": "^7.21.5",
|
68
68
|
"@ibm/telemetry-js-config-generator": "^1.0.3",
|
69
69
|
"@rollup/plugin-babel": "^6.0.0",
|
70
|
-
"@rollup/plugin-commonjs": "^
|
71
|
-
"@rollup/plugin-node-resolve": "^15.
|
72
|
-
"@rollup/plugin-typescript": "^
|
70
|
+
"@rollup/plugin-commonjs": "^28.0.0",
|
71
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
72
|
+
"@rollup/plugin-typescript": "^12.1.0",
|
73
73
|
"@types/react-table": "^7.7.20",
|
74
74
|
"babel-plugin-dev-expression": "^0.2.3",
|
75
75
|
"babel-preset-ibm-cloud-cognitive": "^0.14.40",
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"fs-extra": "^11.2.0",
|
82
82
|
"glob": "^10.3.10",
|
83
83
|
"jest": "^29.7.0",
|
84
|
-
"jest-config-ibm-cloud-cognitive": "^1.10.0
|
84
|
+
"jest-config-ibm-cloud-cognitive": "^1.10.0",
|
85
85
|
"jest-environment-jsdom": "^29.7.0",
|
86
86
|
"namor": "^1.1.2",
|
87
87
|
"npm-check-updates": "^16.14.12",
|
@@ -96,7 +96,7 @@
|
|
96
96
|
"dependencies": {
|
97
97
|
"@babel/runtime": "^7.23.9",
|
98
98
|
"@carbon/feature-flags": "^0.22.0",
|
99
|
-
"@carbon/ibm-products-styles": "^2.47.0
|
99
|
+
"@carbon/ibm-products-styles": "^2.47.0",
|
100
100
|
"@carbon/telemetry": "^0.1.0",
|
101
101
|
"@dnd-kit/core": "^6.0.8",
|
102
102
|
"@dnd-kit/modifiers": "^7.0.0",
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
121
121
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "29e960c858d2c58d46c86e9ea638a351d5fddd76"
|
124
124
|
}
|
@@ -17,7 +17,6 @@
|
|
17
17
|
// DecoratorBase uses the following Carbon for IBM Products components:
|
18
18
|
@use '@carbon/layout/scss/convert' as *;
|
19
19
|
@use '@carbon/react/scss/colors' as *;
|
20
|
-
@use '@carbon/styles/scss/colors' as *;
|
21
20
|
@use '@carbon/styles/scss/spacing' as *;
|
22
21
|
@use '@carbon/styles/scss/theme' as *;
|
23
22
|
@use '@carbon/styles/scss/themes';
|