@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
@@ -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 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 devtools = require('../../global/js/utils/devtools.js');
|
15
15
|
var settings = require('../../settings.js');
|
@@ -10,7 +10,7 @@
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var react = require('@carbon/react');
|
12
12
|
var React = require('react');
|
13
|
-
var index = require('../../
|
13
|
+
var index = require('../../_virtual/index.js');
|
14
14
|
var cx = require('classnames');
|
15
15
|
var devtools = require('../../global/js/utils/devtools.js');
|
16
16
|
var settings = require('../../settings.js');
|
@@ -14,7 +14,7 @@ var react = require('@carbon/react');
|
|
14
14
|
var React = require('react');
|
15
15
|
var variants = require('./motion/variants.js');
|
16
16
|
var ActionSet = require('../ActionSet/ActionSet.js');
|
17
|
-
var index = require('../../
|
17
|
+
var index = require('../../_virtual/index.js');
|
18
18
|
var constants = require('./constants.js');
|
19
19
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
20
20
|
var cx = require('classnames');
|
@@ -8,7 +8,7 @@
|
|
8
8
|
'use strict';
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
|
-
var index = require('../../
|
11
|
+
var index = require('../../_virtual/index.js');
|
12
12
|
var React = require('react');
|
13
13
|
var cx = require('classnames');
|
14
14
|
var settings = require('../../settings.js');
|
@@ -10,7 +10,7 @@
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
12
|
var AddSelect = require('../AddSelect/AddSelect.js');
|
13
|
-
var index = require('../../
|
13
|
+
var index = require('../../_virtual/index.js');
|
14
14
|
var devtools = require('../../global/js/utils/devtools.js');
|
15
15
|
var settings = require('../../settings.js');
|
16
16
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
@@ -10,7 +10,7 @@
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var icons = require('@carbon/react/icons');
|
12
12
|
var React = require('react');
|
13
|
-
var index = require('../../
|
13
|
+
var index = require('../../_virtual/index.js');
|
14
14
|
var cx = require('classnames');
|
15
15
|
var devtools = require('../../global/js/utils/devtools.js');
|
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 cx = require('classnames');
|
14
14
|
var devtools = require('../../global/js/utils/devtools.js');
|
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 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
|
var React = require('react');
|
12
12
|
var lottie = require('lottie-web');
|
13
13
|
var clamp = require('lodash/clamp');
|
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 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 devtools = require('../../global/js/utils/devtools.js');
|
15
15
|
var settings = require('../../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;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
12
|
var react = require('@carbon/react');
|
13
|
-
var index = require('../../
|
13
|
+
var index = require('../../_virtual/index.js');
|
14
14
|
var constants = require('./constants.js');
|
15
15
|
var TagOverflowModal = require('./TagOverflowModal.js');
|
16
16
|
var TagOverflowPopover = require('./TagOverflowPopover.js');
|
@@ -20,7 +20,7 @@ var propsHelper = require('../../global/js/utils/props-helper.js');
|
|
20
20
|
var settings = require('../../settings.js');
|
21
21
|
var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
|
22
22
|
|
23
|
-
var _excluded = ["align", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
|
23
|
+
var _excluded = ["align", "allTagsModalAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
|
24
24
|
_excluded2 = ["className", "id"],
|
25
25
|
_excluded3 = ["tagType"],
|
26
26
|
_excluded4 = ["id", "label", "tagType", "onClose"];
|
@@ -30,6 +30,7 @@ var allTagsModalSearchThreshold = 10;
|
|
30
30
|
exports.TagOverflow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
31
31
|
var _props$align = props.align,
|
32
32
|
align = _props$align === void 0 ? 'start' : _props$align,
|
33
|
+
allTagsModalAriaLabel = props.allTagsModalAriaLabel,
|
33
34
|
allTagsModalSearchLabel = props.allTagsModalSearchLabel,
|
34
35
|
allTagsModalSearchPlaceholderText = props.allTagsModalSearchPlaceholderText,
|
35
36
|
allTagsModalTarget = props.allTagsModalTarget,
|
@@ -220,6 +221,7 @@ exports.TagOverflow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
220
221
|
allTags: items,
|
221
222
|
open: showAllModalOpen,
|
222
223
|
title: allTagsModalTitle,
|
224
|
+
modalAriaLabel: allTagsModalAriaLabel,
|
223
225
|
onClose: handleModalClose,
|
224
226
|
overflowType: overflowType,
|
225
227
|
searchLabel: allTagsModalSearchLabel,
|
@@ -253,6 +255,10 @@ exports.TagOverflow.propTypes = {
|
|
253
255
|
* align the Tags displayed by the TagSet. Default start.
|
254
256
|
*/
|
255
257
|
align: index.default.oneOf(['start', 'center', 'end']),
|
258
|
+
/**
|
259
|
+
* aria label for all tags modal with hasScrollingContent
|
260
|
+
*/
|
261
|
+
allTagsModalAriaLabel: index.default.string,
|
256
262
|
/**
|
257
263
|
* label text for the show all search. **Note: Required if more than 10 tags**
|
258
264
|
*/
|
@@ -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>;
|
@@ -9,19 +9,21 @@
|
|
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", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
|
19
|
+
var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
|
20
20
|
var componentName = 'TagOverflowModal';
|
21
21
|
var blockClass = "".concat(settings.pkg.prefix, "--tag-overflow-modal");
|
22
22
|
|
23
23
|
// Default values for props
|
24
24
|
var defaults = {
|
25
|
+
// required for accessibility if using hasScrollingContent
|
26
|
+
modalAriaLabel: 'List of all tags',
|
25
27
|
// marked as required by TagSet if needed, default used to satisfy <Search /> component
|
26
28
|
searchLabel: ''
|
27
29
|
};
|
@@ -29,6 +31,8 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
29
31
|
var allTags = _ref.allTags,
|
30
32
|
className = _ref.className,
|
31
33
|
title = _ref.title,
|
34
|
+
_ref$modalAriaLabel = _ref.modalAriaLabel,
|
35
|
+
modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
|
32
36
|
onClose = _ref.onClose,
|
33
37
|
open = _ref.open,
|
34
38
|
overflowType = _ref.overflowType,
|
@@ -74,7 +78,9 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
74
78
|
size: "lg"
|
75
79
|
})), /*#__PURE__*/React.createElement(react.ModalBody, {
|
76
80
|
className: "".concat(blockClass, "__body"),
|
77
|
-
hasForm: true
|
81
|
+
hasForm: true,
|
82
|
+
hasScrollingContent: true,
|
83
|
+
"aria-label": modalAriaLabel
|
78
84
|
}, getFilteredItems().map(function (_ref2) {
|
79
85
|
var label = _ref2.label,
|
80
86
|
id = _ref2.id,
|
@@ -84,9 +90,9 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
84
90
|
key: id,
|
85
91
|
filter: isFilterable
|
86
92
|
}, label);
|
87
|
-
})
|
93
|
+
}), /*#__PURE__*/React.createElement("div", {
|
88
94
|
className: "".concat(blockClass, "__fade")
|
89
|
-
})));
|
95
|
+
}))));
|
90
96
|
};
|
91
97
|
TagOverflowModal.propTypes = {
|
92
98
|
allTags: index.default.arrayOf(index.default.shape(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, propsHelper.prepareProps(react.Tag.propTypes, 'filter')), {}, {
|
@@ -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 react = require('@carbon/react');
|
15
15
|
var settings = require('../../settings.js');
|
@@ -71,12 +71,13 @@ var TagOverflowPopover = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
71
71
|
highContrast: true,
|
72
72
|
onKeyDown: handleEscKeyPress,
|
73
73
|
open: popoverOpen
|
74
|
-
}, /*#__PURE__*/React.createElement(react.
|
74
|
+
}, /*#__PURE__*/React.createElement(react.OperationalTag, {
|
75
75
|
onClick: function onClick() {
|
76
76
|
return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
|
77
77
|
},
|
78
|
-
className: cx("".concat(blockClass, "__trigger"))
|
79
|
-
|
78
|
+
className: cx("".concat(blockClass, "__trigger")),
|
79
|
+
text: "+".concat(overflowTags.length)
|
80
|
+
}), /*#__PURE__*/React.createElement(react.PopoverContent, null, /*#__PURE__*/React.createElement("div", {
|
80
81
|
ref: overflowTagContent,
|
81
82
|
className: "".concat(blockClass, "__content")
|
82
83
|
}, /*#__PURE__*/React.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
|
*/
|
@@ -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
|
*/
|
@@ -58,6 +58,13 @@ export interface TearsheetProps extends PropsWithChildren {
|
|
58
58
|
* this prop to either true or false.
|
59
59
|
*/
|
60
60
|
hasCloseIcon?: boolean;
|
61
|
+
/**
|
62
|
+
* The content for the header actions area, displayed alongside the title in
|
63
|
+
* the header area of the tearsheet. This is typically a drop-down, or a set
|
64
|
+
* of small buttons, or similar. NB the headerActions is only applicable for
|
65
|
+
* wide tearsheets.
|
66
|
+
*/
|
67
|
+
headerActions?: ReactNode;
|
61
68
|
/**
|
62
69
|
* The content for the influencer section of the tearsheet, displayed
|
63
70
|
* alongside the main content. This is typically a menu, or filter, or
|
@@ -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');
|
@@ -146,6 +146,13 @@ exports.Tearsheet.propTypes = _rollupPluginBabelHelpers.objectSpread2({
|
|
146
146
|
*/
|
147
147
|
/**@ts-ignore */
|
148
148
|
hasCloseIcon: index.default.bool,
|
149
|
+
/**
|
150
|
+
* The content for the header actions area, displayed alongside the title in
|
151
|
+
* the header area of the tearsheet. This is typically a drop-down, or a set
|
152
|
+
* of small buttons, or similar. NB the headerActions is only applicable for
|
153
|
+
* wide tearsheets.
|
154
|
+
*/
|
155
|
+
headerActions: index.default.element,
|
149
156
|
/**
|
150
157
|
* The content for the influencer section of the tearsheet, displayed
|
151
158
|
* alongside the main content. This is typically a menu, or filter, or
|
@@ -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');
|