@carbon/ibm-products 2.89.0 → 2.90.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/carbon.css +374 -417
- package/css/carbon.css.map +1 -1
- package/css/index-full-carbon.css +496 -430
- 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 +117 -13
- 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 +143 -13
- 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 +359 -283
- 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/_rolldown/runtime.js +13 -22
- package/es/components/APIKeyModal/APIKeyDownloader.js +19 -3
- package/es/components/APIKeyModal/APIKeyModal.js +161 -3
- package/es/components/AboutModal/AboutModal.js +44 -3
- package/es/components/ActionBar/ActionBar.js +41 -3
- package/es/components/ActionBar/ActionBarItem.js +30 -3
- package/es/components/ActionBar/ActionBarOverflowItems.js +20 -3
- package/es/components/ActionSet/ActionSet.js +35 -3
- package/es/components/AddSelect/AddSelect.js +7 -3
- package/es/components/AddSelect/AddSelectBody.js +3 -3
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -3
- package/es/components/AddSelect/AddSelectColumn.js +2 -4
- package/es/components/AddSelect/AddSelectFilter.js +1 -3
- package/es/components/AddSelect/AddSelectFormControl.js +1 -3
- package/es/components/AddSelect/AddSelectList.js +1 -3
- package/es/components/AddSelect/AddSelectMetaPanel.js +1 -3
- package/es/components/AddSelect/AddSelectRow.js +1 -3
- package/es/components/AddSelect/AddSelectSidebar.js +1 -3
- package/es/components/AddSelect/AddSelectSort.js +1 -3
- package/es/components/AddSelect/add-select-utils.js +1 -2
- package/es/components/AddSelect/hooks/useFocus.js +1 -3
- package/es/components/AddSelect/hooks/useItemSort.js +1 -3
- package/es/components/AddSelect/hooks/useParentSelect.js +1 -3
- package/es/components/AddSelect/hooks/usePath.js +1 -3
- package/es/components/BigNumber/BigNumber.js +52 -6
- package/es/components/BigNumber/BigNumberSkeleton.js +12 -9
- package/es/components/BigNumber/constants.js +1 -19
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +37 -3
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +28 -4
- package/es/components/Card/Card.js +20 -3
- package/es/components/Card/CardFooter.js +1 -3
- package/es/components/Card/CardHeader.js +12 -3
- package/es/components/Carousel/Carousel.js +33 -3
- package/es/components/Carousel/CarouselItem.js +7 -3
- package/es/components/Cascade/Cascade.js +12 -3
- package/es/components/Checklist/Checklist.js +65 -11
- package/es/components/Checklist/ChecklistChart.js +13 -7
- package/es/components/Checklist/ChecklistIcon.js +17 -11
- package/es/components/Coachmark/Coachmark.js +60 -6
- package/es/components/Coachmark/CoachmarkDragbar.js +17 -3
- package/es/components/Coachmark/CoachmarkHeader.js +13 -3
- package/es/components/Coachmark/CoachmarkOverlay.js +24 -6
- package/es/components/Coachmark/CoachmarkTagline.js +13 -3
- package/es/components/Coachmark/next/Coachmark/Coachmark.d.ts +5 -1
- package/es/components/Coachmark/next/Coachmark/Coachmark.d.ts.map +1 -1
- package/es/components/Coachmark/next/Coachmark/Coachmark.js +56 -9
- package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.js +17 -3
- package/es/components/Coachmark/next/Coachmark/CoachmarkContent.js +8 -3
- package/es/components/Coachmark/next/Coachmark/CoachmarkTagline/CoachmarkTagline.js +18 -3
- package/es/components/Coachmark/next/Coachmark/ContentBody.js +8 -3
- package/es/components/Coachmark/next/Coachmark/ContentHeader.js +13 -3
- package/es/components/Coachmark/next/Coachmark/context.js +1 -3
- package/es/components/Coachmark/utils/constants.js +15 -23
- package/es/components/Coachmark/utils/context.js +1 -3
- package/es/components/Coachmark/utils/enums.js +1 -2
- package/es/components/Coachmark/utils/hooks.js +3 -5
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +17 -3
- package/es/components/CoachmarkButton/CoachmarkButton.js +7 -3
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +31 -5
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +14 -3
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +33 -3
- package/es/components/CoachmarkStack/CoachmarkStack.js +43 -5
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +41 -3
- package/es/components/ComboButton/ComboButton.js +5 -3
- package/es/components/ComboButton/ComboButtonItem/index.js +5 -3
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +48 -5
- package/es/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.js +65 -4
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +13 -0
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts.map +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts.map +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +15 -5
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +29 -3
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +39 -3
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +12 -5
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -3
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts.map +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +37 -15
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts.map +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +35 -3
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +37 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +10 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +10 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +10 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +10 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +13 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +10 -3
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts.map +1 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +29 -7
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +10 -3
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +6 -8
- package/es/components/ConditionBuilder/utils/useDataConfigs.js +1 -3
- package/es/components/ConditionBuilder/utils/useEvent.js +1 -3
- package/es/components/ConditionBuilder/utils/useTranslations.js +1 -3
- package/es/components/ConditionBuilder/utils/util.js +1 -3
- package/es/components/CreateFullPage/CreateFullPage.js +79 -3
- package/es/components/CreateFullPage/CreateFullPageStep.js +51 -3
- package/es/components/CreateInfluencer/CreateInfluencer.js +16 -3
- package/es/components/CreateModal/CreateModal.js +43 -3
- package/es/components/CreateSidePanel/CreateSidePanel.js +59 -3
- package/es/components/CreateTearsheet/CreateTearsheet.js +82 -4
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +6 -4
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +72 -3
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +56 -3
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +61 -3
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +115 -3
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +76 -3
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +1 -3
- package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +1 -3
- package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -3
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +1 -3
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +1 -3
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +1 -3
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -3
- package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +1 -3
- package/es/components/DataSpreadsheet/utils/checkForHoldingKey.js +1 -2
- package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +1 -3
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -3
- package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +1 -3
- package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -3
- package/es/components/DataSpreadsheet/utils/getCellSize.js +1 -3
- package/es/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +1 -2
- package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -3
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +1 -3
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +1 -3
- package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +1 -3
- package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -3
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -3
- package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -3
- package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +1 -3
- package/es/components/DataSpreadsheet/utils/removeCellSelections.js +1 -3
- package/es/components/DataSpreadsheet/utils/selectAllCells.js +1 -3
- package/es/components/Datagrid/Datagrid/Datagrid.js +9 -3
- package/es/components/Datagrid/Datagrid/DatagridBody.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridContent.js +3 -5
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridHead.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +3 -5
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridRow.js +3 -5
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -3
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -3
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +6 -4
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +43 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +19 -14
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +8 -10
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +9 -11
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +10 -12
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -3
- package/es/components/Datagrid/common-column-ids.js +1 -2
- package/es/components/Datagrid/useActionsColumn.js +1 -3
- package/es/components/Datagrid/useColumnCenterAlign.js +1 -3
- package/es/components/Datagrid/useColumnOrder.js +1 -3
- package/es/components/Datagrid/useColumnRightAlign.js +1 -3
- package/es/components/Datagrid/useCustomizeColumns.js +1 -3
- package/es/components/Datagrid/useDatagrid.js +1 -3
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -3
- package/es/components/Datagrid/useDisableSelectRows.js +1 -2
- package/es/components/Datagrid/useEditableCell.js +1 -3
- package/es/components/Datagrid/useExpandedRow.js +1 -3
- package/es/components/Datagrid/useFiltering.js +1 -3
- package/es/components/Datagrid/useFlexResize.js +1 -3
- package/es/components/Datagrid/useFloatingScroll.js +1 -3
- package/es/components/Datagrid/useFocusRowExpander.js +1 -3
- package/es/components/Datagrid/useInfiniteScroll.js +1 -3
- package/es/components/Datagrid/useInitialColumnSort.js +1 -3
- package/es/components/Datagrid/useInlineEdit.js +1 -3
- package/es/components/Datagrid/useNestedRowExpander.js +1 -3
- package/es/components/Datagrid/useNestedRows.js +1 -3
- package/es/components/Datagrid/useOnRowClick.js +1 -3
- package/es/components/Datagrid/useParentDimensions.js +1 -3
- package/es/components/Datagrid/useResizeTable.js +1 -3
- package/es/components/Datagrid/useRowExpander.js +1 -3
- package/es/components/Datagrid/useRowIsMouseOver.js +1 -3
- package/es/components/Datagrid/useRowRenderer.js +1 -3
- package/es/components/Datagrid/useRowSize.js +1 -3
- package/es/components/Datagrid/useSelectAllToggle.js +4 -6
- package/es/components/Datagrid/useSelectRows.js +1 -3
- package/es/components/Datagrid/useSkeletonRows.js +1 -2
- package/es/components/Datagrid/useSortableColumns.js +1 -3
- package/es/components/Datagrid/useStickyColumn.js +1 -3
- package/es/components/Datagrid/utils/getAutoSizedColumnWidth.js +1 -2
- package/es/components/Decorator/Decorator.js +55 -3
- package/es/components/DecoratorBase/DecoratorBase.js +4 -3
- package/es/components/DecoratorBase/DecoratorIcon.js +10 -3
- package/es/components/DecoratorBase/utils.js +1 -2
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +74 -3
- package/es/components/DecoratorLink/DecoratorLink.js +66 -3
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +66 -3
- package/es/components/DelimitedList/DelimitedList.js +13 -3
- package/es/components/DescriptionList/DescriptionList.js +5 -3
- package/es/components/DescriptionList/DescriptionListBody.js +3 -3
- package/es/components/DescriptionList/DescriptionListCell.js +3 -3
- package/es/components/DescriptionList/DescriptionListRow.js +3 -3
- package/es/components/DescriptionList/constants.js +1 -2
- package/es/components/EditFullPage/EditFullPage.js +7 -3
- package/es/components/EditInPlace/EditInPlace.d.ts.map +1 -1
- package/es/components/EditInPlace/EditInPlace.js +136 -28
- package/es/components/EditSidePanel/EditSidePanel.js +66 -3
- package/es/components/EditTearsheet/EditTearsheet.js +53 -3
- package/es/components/EditTearsheet/EditTearsheetForm.js +33 -3
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +7 -3
- package/es/components/EditUpdateCards/EditUpdateCards.js +70 -3
- package/es/components/EmptyStates/EmptyState.js +41 -9
- package/es/components/EmptyStates/EmptyStateContent.js +21 -3
- package/es/components/EmptyStates/EmptyStateIllustration.deprecated.js +1 -3
- package/es/components/EmptyStates/EmptyStateV2.deprecated.js +39 -3
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +37 -3
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +37 -3
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +37 -3
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +37 -3
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +37 -3
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +37 -3
- package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -3
- package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -3
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -3
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -3
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -3
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -3
- package/es/components/ExportModal/ExportModal.js +80 -3
- package/es/components/ExpressiveCard/ExpressiveCard.js +76 -3
- package/es/components/FeatureFlags/index.js +4 -3
- package/es/components/FilterPanel/FilterPanel.js +10 -3
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +19 -3
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +22 -3
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +16 -3
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +34 -3
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +16 -3
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +13 -3
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +13 -4
- package/es/components/FilterSummary/FilterSummary.js +2 -3
- package/es/components/FullPageError/FullPageError.js +20 -3
- package/es/components/FullPageError/assets/Error403SVG.js +1 -3
- package/es/components/FullPageError/assets/Error404SVG.js +1 -3
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +1 -3
- package/es/components/GetStartedCard/GetStartedCard.js +37 -3
- package/es/components/Guidebanner/Guidebanner.js +49 -5
- package/es/components/Guidebanner/GuidebannerElement.js +14 -3
- package/es/components/Guidebanner/GuidebannerElementButton.js +11 -3
- package/es/components/Guidebanner/GuidebannerElementLink.js +7 -3
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +23 -3
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +23 -3
- package/es/components/HTTPErrors/HTTPErrorContent.js +19 -3
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +23 -3
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -3
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -3
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -3
- package/es/components/ImportModal/ImportModal.js +88 -3
- package/es/components/InlineTip/InlineTip.js +56 -3
- package/es/components/InlineTip/InlineTipButton.js +7 -3
- package/es/components/InlineTip/InlineTipLink.js +7 -3
- package/es/components/InlineTip/utils.js +1 -2
- package/es/components/InterstitialScreen/InterstitialScreen.js +23 -3
- package/es/components/InterstitialScreen/InterstitialScreenBody.js +13 -3
- package/es/components/InterstitialScreen/InterstitialScreenFooter.js +24 -3
- package/es/components/InterstitialScreen/InterstitialScreenHeader.js +20 -3
- package/es/components/InterstitialScreen/InterstitialScreenView.js +13 -3
- package/es/components/InterstitialScreen/context.js +1 -3
- package/es/components/MultiAddSelect/MultiAddSelect.js +81 -3
- package/es/components/Nav/Nav.js +16 -3
- package/es/components/Nav/NavItem.js +37 -3
- package/es/components/Nav/NavItemLink.js +4 -4
- package/es/components/Nav/NavList.js +12 -3
- package/es/components/NonLinearReading/NonLinearReading.js +13 -3
- package/es/components/NotificationsPanel/NotificationsPanel.js +118 -3
- package/es/components/NotificationsPanel/utils.js +1 -2
- package/es/components/OptionsTile/OptionsTile.js +52 -3
- package/es/components/PageHeader/PageHeader.js +219 -3
- package/es/components/PageHeader/PageHeaderTitle.js +24 -3
- package/es/components/PageHeader/PageHeaderUtils.js +1 -3
- package/es/components/PageHeader/next/PageHeader.d.ts +2 -1
- package/es/components/PageHeader/next/PageHeader.d.ts.map +1 -1
- package/es/components/PageHeader/next/PageHeader.js +1 -3
- package/es/components/PageHeader/next/PageHeaderBreadcrumbBar.d.ts.map +1 -1
- package/es/components/PageHeader/next/PageHeaderBreadcrumbBar.js +2 -6
- package/es/components/PageHeader/next/PageHeaderBreadcrumbOverflow.js +1 -3
- package/es/components/PageHeader/next/PageHeaderBreadcrumbPageActions.js +16 -3
- package/es/components/PageHeader/next/PageHeaderContent.d.ts.map +1 -1
- package/es/components/PageHeader/next/PageHeaderContent.js +32 -9
- package/es/components/PageHeader/next/PageHeaderContentPageActions.d.ts.map +1 -1
- package/es/components/PageHeader/next/PageHeaderContentPageActions.js +21 -7
- package/es/components/PageHeader/next/PageHeaderContentText.js +10 -3
- package/es/components/PageHeader/next/PageHeaderHeroImage.d.ts +13 -1
- package/es/components/PageHeader/next/PageHeaderHeroImage.d.ts.map +1 -1
- package/es/components/PageHeader/next/PageHeaderHeroImage.js +22 -6
- package/es/components/PageHeader/next/PageHeaderScrollButton.js +1 -3
- package/es/components/PageHeader/next/PageHeaderTabBar.js +3 -5
- package/es/components/PageHeader/next/PageHeaderTagOverflow.js +1 -3
- package/es/components/PageHeader/next/PageHeaderTitleBreadcrumb.js +1 -3
- package/es/components/PageHeader/next/context.d.ts +2 -2
- package/es/components/PageHeader/next/context.d.ts.map +1 -1
- package/es/components/PageHeader/next/context.js +1 -3
- package/es/components/PageHeader/next/index.js +1 -3
- package/es/components/PageHeader/next/overflowHandler.js +1 -2
- package/es/components/PageHeader/next/utils.js +1 -2
- package/es/components/ProductiveCard/ProductiveCard.js +93 -3
- package/es/components/RemoveModal/RemoveModal.js +58 -3
- package/es/components/Saving/Saving.js +43 -3
- package/es/components/ScrollGradient/ScrollGradient.js +12 -3
- package/es/components/ScrollGradient/constants.js +1 -3
- package/es/components/SearchBar/SearchBar.js +31 -4
- package/es/components/SidePanel/SidePanel.js +116 -3
- package/es/components/SidePanel/constants.js +1 -2
- package/es/components/SimpleHeader/SimpleHeader.js +15 -3
- package/es/components/SingleAddSelect/SingleAddSelect.js +52 -3
- package/es/components/StatusIcon/StatusIcon.js +16 -3
- package/es/components/StatusIndicator/StatusIndicator.js +21 -3
- package/es/components/StatusIndicator/StatusIndicatorStep.js +13 -3
- package/es/components/StringFormatter/StringFormatter.js +9 -3
- package/es/components/StringFormatter/utils/enums.js +1 -2
- package/es/components/TagOverflow/TagOverflow.js +65 -3
- package/es/components/TagOverflow/TagOverflowModal.js +1 -3
- package/es/components/TagOverflow/TagOverflowPopover.js +31 -3
- package/es/components/TagOverflow/constants.js +1 -2
- package/es/components/TagSet/TagSet.js +66 -3
- package/es/components/TagSet/TagSetModal.js +1 -3
- package/es/components/TagSet/TagSetOverflow.js +38 -3
- package/es/components/Tearsheet/Tearsheet.js +103 -4
- package/es/components/Tearsheet/TearsheetNarrow.js +76 -4
- package/es/components/Tearsheet/TearsheetPresence.js +1 -3
- package/es/components/Tearsheet/TearsheetShell.js +119 -3
- package/es/components/Tearsheet/next/StackContext.js +1 -3
- package/es/components/Tearsheet/next/Tearsheet.js +1 -3
- package/es/components/Tearsheet/next/TearsheetBody.js +1 -3
- package/es/components/Tearsheet/next/TearsheetFooter.js +1 -3
- package/es/components/Tearsheet/next/TearsheetHeader.js +1 -3
- package/es/components/Tearsheet/next/TearsheetHeaderActions.js +1 -3
- package/es/components/Tearsheet/next/TearsheetHeaderContent.js +1 -3
- package/es/components/Tearsheet/next/context.js +1 -3
- package/es/components/Tearsheet/usePresence.js +7 -3
- package/es/components/Tearsheet/usePresenceContext.js +1 -3
- package/es/components/Toolbar/Toolbar.js +4 -3
- package/es/components/Toolbar/ToolbarButton.js +12 -4
- package/es/components/Toolbar/ToolbarGroup.js +3 -3
- package/es/components/TooltipTrigger/TooltipTrigger.js +7 -3
- package/es/components/TruncatedList/TruncatedList.js +32 -3
- package/es/components/TruncatedText/TruncatedText.d.ts.map +1 -1
- package/es/components/TruncatedText/TruncatedText.js +7 -6
- package/es/components/TruncatedText/useTruncatedText.js +1 -3
- package/es/components/UserAvatar/UserAvatar.js +32 -3
- package/es/components/UserProfileImage/UserProfileImage.js +37 -3
- package/es/components/WebTerminal/WebTerminal.js +27 -3
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +6 -4
- package/es/components/WebTerminal/hooks/index.js +6 -4
- package/es/components/_Canary/Canary.js +3 -3
- package/es/global/js/hooks/useActiveElement.js +1 -3
- package/es/global/js/hooks/useClickOutside.js +1 -3
- package/es/global/js/hooks/useCollapsible.js +1 -3
- package/es/global/js/hooks/useControllableState.js +1 -3
- package/es/global/js/hooks/useCreateComponentFocus.js +1 -3
- package/es/global/js/hooks/useCreateComponentStepChange.js +1 -3
- package/es/global/js/hooks/useFocus.js +1 -3
- package/es/global/js/hooks/useIsomorphicEffect.js +1 -3
- package/es/global/js/hooks/useMatchMedia.js +1 -3
- package/es/global/js/hooks/useMergedRefs.js +1 -3
- package/es/global/js/hooks/useOverflowItems/useOverflowItems.js +1 -3
- package/es/global/js/hooks/useOverflowString.js +1 -3
- package/es/global/js/hooks/usePortalTarget.js +1 -3
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -3
- package/es/global/js/hooks/usePrefix.js +1 -3
- package/es/global/js/hooks/usePresence.js +1 -3
- package/es/global/js/hooks/usePreviousValue.js +1 -3
- package/es/global/js/hooks/useResetCreateComponent.js +1 -3
- package/es/global/js/hooks/useResizeObserver.js +1 -3
- package/es/global/js/hooks/useRetrieveFormTitles.js +1 -3
- package/es/global/js/hooks/useRetrieveStepData.js +1 -3
- package/es/global/js/hooks/useValidCreateStepCount.js +1 -3
- package/es/global/js/hooks/useWindowResize.js +1 -3
- package/es/global/js/hooks/useWindowScroll.js +1 -3
- package/es/global/js/package-settings.js +1 -2
- package/es/global/js/utils/Wrap.js +25 -3
- package/es/global/js/utils/checkForOverflow.js +1 -2
- package/es/global/js/utils/clamp.js +1 -2
- package/es/global/js/utils/debounce.js +1 -2
- package/es/global/js/utils/deepCloneObject.js +1 -2
- package/es/global/js/utils/deepCompareObject.js +1 -2
- package/es/global/js/utils/devtools.js +1 -3
- package/es/global/js/utils/getFocusableElements.js +1 -2
- package/es/global/js/utils/getNodeTextContent.js +1 -2
- package/es/global/js/utils/getNumberOfHiddenSteps.js +1 -2
- package/es/global/js/utils/getScrollbarWidth.js +1 -2
- package/es/global/js/utils/getSupportedLocale.js +1 -2
- package/es/global/js/utils/lastIndexInArray.js +1 -2
- package/es/global/js/utils/makeDraggable/makeDraggable.js +1 -2
- package/es/global/js/utils/pconsole.js +5 -11
- package/es/global/js/utils/props-helper.js +1 -3
- package/es/global/js/utils/rangeWithCallback.js +1 -2
- package/es/global/js/utils/scrollableAncestor.js +1 -2
- package/es/global/js/utils/throttle.js +1 -2
- package/es/global/js/utils/useId.js +1 -3
- package/es/global/js/utils/uuidv4.js +1 -2
- package/es/global/js/utils/wait.js +1 -2
- package/es/index.js +2 -5
- package/es/node_modules/@carbon/colors/es/index.js +1 -2
- package/es/node_modules/@carbon/icon-helpers/es/index.js +1 -2
- package/es/node_modules/@carbon/icons-react/es/Icon.js +1 -3
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-11.js +351 -328
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +185 -192
- package/es/node_modules/@carbon/icons-react/es/{iconPropTypes-B1cP964Y.js → iconPropTypes-BElKp6Sn.js} +2 -4
- package/es/node_modules/classnames/index.js +1 -4
- package/es/settings.js +1 -3
- package/lib/_virtual/_rolldown/runtime.js +13 -23
- package/lib/components/APIKeyModal/APIKeyDownloader.js +21 -5
- package/lib/components/APIKeyModal/APIKeyModal.js +170 -12
- package/lib/components/AboutModal/AboutModal.js +51 -10
- package/lib/components/ActionBar/ActionBar.js +49 -11
- package/lib/components/ActionBar/ActionBarItem.js +33 -6
- package/lib/components/ActionBar/ActionBarOverflowItems.js +24 -7
- package/lib/components/ActionSet/ActionSet.js +40 -8
- package/lib/components/AddSelect/AddSelect.js +10 -6
- package/lib/components/AddSelect/AddSelectBody.js +19 -19
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +4 -6
- package/lib/components/AddSelect/AddSelectColumn.js +9 -11
- package/lib/components/AddSelect/AddSelectFilter.js +4 -6
- package/lib/components/AddSelect/AddSelectFormControl.js +4 -6
- package/lib/components/AddSelect/AddSelectList.js +6 -8
- package/lib/components/AddSelect/AddSelectMetaPanel.js +3 -5
- package/lib/components/AddSelect/AddSelectRow.js +5 -7
- package/lib/components/AddSelect/AddSelectSidebar.js +5 -7
- package/lib/components/AddSelect/AddSelectSort.js +3 -5
- package/lib/components/AddSelect/add-select-utils.js +1 -3
- package/lib/components/AddSelect/hooks/useFocus.js +2 -4
- package/lib/components/AddSelect/hooks/useItemSort.js +2 -4
- package/lib/components/AddSelect/hooks/useParentSelect.js +2 -4
- package/lib/components/AddSelect/hooks/usePath.js +2 -4
- package/lib/components/BigNumber/BigNumber.js +59 -13
- package/lib/components/BigNumber/BigNumberSkeleton.js +16 -13
- package/lib/components/BigNumber/constants.js +1 -22
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +49 -15
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +33 -9
- package/lib/components/Card/Card.js +25 -8
- package/lib/components/Card/CardFooter.js +4 -6
- package/lib/components/Card/CardHeader.js +15 -6
- package/lib/components/Carousel/Carousel.js +39 -9
- package/lib/components/Carousel/CarouselItem.js +11 -7
- package/lib/components/Cascade/Cascade.js +16 -7
- package/lib/components/Checklist/Checklist.js +72 -18
- package/lib/components/Checklist/ChecklistChart.js +19 -13
- package/lib/components/Checklist/ChecklistIcon.js +21 -15
- package/lib/components/Coachmark/Coachmark.js +69 -15
- package/lib/components/Coachmark/CoachmarkDragbar.js +22 -8
- package/lib/components/Coachmark/CoachmarkHeader.js +18 -8
- package/lib/components/Coachmark/CoachmarkOverlay.js +35 -17
- package/lib/components/Coachmark/CoachmarkTagline.js +18 -8
- package/lib/components/Coachmark/next/Coachmark/Coachmark.d.ts +5 -1
- package/lib/components/Coachmark/next/Coachmark/Coachmark.d.ts.map +1 -1
- package/lib/components/Coachmark/next/Coachmark/Coachmark.js +64 -17
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.js +21 -7
- package/lib/components/Coachmark/next/Coachmark/CoachmarkContent.js +12 -7
- package/lib/components/Coachmark/next/Coachmark/CoachmarkTagline/CoachmarkTagline.js +22 -7
- package/lib/components/Coachmark/next/Coachmark/ContentBody.js +11 -6
- package/lib/components/Coachmark/next/Coachmark/ContentHeader.js +18 -8
- package/lib/components/Coachmark/next/Coachmark/context.js +4 -7
- package/lib/components/Coachmark/utils/constants.js +15 -23
- package/lib/components/Coachmark/utils/context.js +2 -4
- package/lib/components/Coachmark/utils/enums.js +1 -3
- package/lib/components/Coachmark/utils/hooks.js +5 -7
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +21 -7
- package/lib/components/CoachmarkButton/CoachmarkButton.js +12 -8
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +40 -14
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +18 -7
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +41 -11
- package/lib/components/CoachmarkStack/CoachmarkStack.js +52 -14
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +48 -10
- package/lib/components/ComboButton/ComboButton.js +9 -7
- package/lib/components/ComboButton/ComboButtonItem/index.js +6 -4
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +64 -21
- package/lib/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.js +72 -11
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +13 -0
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts.map +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts.map +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +25 -15
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +35 -9
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +43 -7
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +19 -12
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +8 -10
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts.map +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +46 -24
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts.map +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +37 -5
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -3
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +45 -11
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +14 -7
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +13 -6
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +14 -7
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +14 -7
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +15 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +12 -5
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts.map +1 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +40 -18
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +16 -9
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +6 -8
- package/lib/components/ConditionBuilder/utils/useDataConfigs.js +4 -6
- package/lib/components/ConditionBuilder/utils/useEvent.js +2 -4
- package/lib/components/ConditionBuilder/utils/useTranslations.js +4 -6
- package/lib/components/ConditionBuilder/utils/util.js +2 -5
- package/lib/components/CreateFullPage/CreateFullPage.js +92 -16
- package/lib/components/CreateFullPage/CreateFullPageStep.js +58 -10
- package/lib/components/CreateInfluencer/CreateInfluencer.js +20 -7
- package/lib/components/CreateModal/CreateModal.js +48 -8
- package/lib/components/CreateSidePanel/CreateSidePanel.js +65 -9
- package/lib/components/CreateTearsheet/CreateTearsheet.js +96 -18
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +9 -7
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +79 -10
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +62 -9
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +85 -27
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +128 -16
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +88 -15
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +2 -4
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +4 -6
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +3 -5
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +4 -6
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +4 -6
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +4 -6
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +4 -6
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +2 -4
- package/lib/components/DataSpreadsheet/utils/checkForHoldingKey.js +1 -3
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +2 -4
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +11 -13
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +3 -5
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +4 -6
- package/lib/components/DataSpreadsheet/utils/getCellSize.js +2 -4
- package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +1 -3
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +2 -4
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +2 -4
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +2 -4
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +3 -5
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +3 -5
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +5 -7
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +4 -6
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +3 -5
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +2 -4
- package/lib/components/DataSpreadsheet/utils/selectAllCells.js +3 -5
- package/lib/components/Datagrid/Datagrid/Datagrid.js +17 -11
- package/lib/components/Datagrid/Datagrid/DatagridBody.js +6 -8
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +19 -21
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +7 -9
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +4 -6
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -4
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +10 -12
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +4 -6
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -9
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -8
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +5 -7
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -6
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +6 -8
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +6 -8
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +7 -5
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +6 -8
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +6 -8
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +7 -9
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +54 -14
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +31 -26
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +9 -11
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +16 -18
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +10 -12
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +9 -11
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +1 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +2 -5
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +1 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +5 -7
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +2 -4
- package/lib/components/Datagrid/common-column-ids.js +1 -3
- package/lib/components/Datagrid/useActionsColumn.js +5 -7
- package/lib/components/Datagrid/useColumnCenterAlign.js +4 -6
- package/lib/components/Datagrid/useColumnOrder.js +3 -6
- package/lib/components/Datagrid/useColumnRightAlign.js +4 -6
- package/lib/components/Datagrid/useCustomizeColumns.js +4 -6
- package/lib/components/Datagrid/useDatagrid.js +11 -13
- package/lib/components/Datagrid/useDefaultStringRenderer.js +4 -6
- package/lib/components/Datagrid/useDisableSelectRows.js +1 -3
- package/lib/components/Datagrid/useEditableCell.js +2 -4
- package/lib/components/Datagrid/useExpandedRow.js +4 -6
- package/lib/components/Datagrid/useFiltering.js +4 -6
- package/lib/components/Datagrid/useFlexResize.js +2 -4
- package/lib/components/Datagrid/useFloatingScroll.js +4 -6
- package/lib/components/Datagrid/useFocusRowExpander.js +2 -4
- package/lib/components/Datagrid/useInfiniteScroll.js +5 -7
- package/lib/components/Datagrid/useInitialColumnSort.js +3 -5
- package/lib/components/Datagrid/useInlineEdit.js +5 -7
- package/lib/components/Datagrid/useNestedRowExpander.js +6 -8
- package/lib/components/Datagrid/useNestedRows.js +5 -7
- package/lib/components/Datagrid/useOnRowClick.js +3 -5
- package/lib/components/Datagrid/useParentDimensions.js +2 -4
- package/lib/components/Datagrid/useResizeTable.js +2 -4
- package/lib/components/Datagrid/useRowExpander.js +5 -7
- package/lib/components/Datagrid/useRowIsMouseOver.js +3 -5
- package/lib/components/Datagrid/useRowRenderer.js +2 -4
- package/lib/components/Datagrid/useRowSize.js +3 -5
- package/lib/components/Datagrid/useSelectAllToggle.js +9 -11
- package/lib/components/Datagrid/useSelectRows.js +8 -10
- package/lib/components/Datagrid/useSkeletonRows.js +1 -3
- package/lib/components/Datagrid/useSortableColumns.js +6 -8
- package/lib/components/Datagrid/useStickyColumn.js +6 -8
- package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +1 -3
- package/lib/components/Decorator/Decorator.js +65 -13
- package/lib/components/DecoratorBase/DecoratorBase.js +9 -8
- package/lib/components/DecoratorBase/DecoratorIcon.js +19 -12
- package/lib/components/DecoratorBase/utils.js +1 -3
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +84 -13
- package/lib/components/DecoratorLink/DecoratorLink.js +76 -13
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +76 -13
- package/lib/components/DelimitedList/DelimitedList.js +17 -7
- package/lib/components/DescriptionList/DescriptionList.js +15 -13
- package/lib/components/DescriptionList/DescriptionListBody.js +12 -12
- package/lib/components/DescriptionList/DescriptionListCell.js +12 -12
- package/lib/components/DescriptionList/DescriptionListRow.js +12 -12
- package/lib/components/DescriptionList/constants.js +1 -3
- package/lib/components/EditFullPage/EditFullPage.js +11 -7
- package/lib/components/EditInPlace/EditInPlace.d.ts.map +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +139 -31
- package/lib/components/EditSidePanel/EditSidePanel.js +73 -10
- package/lib/components/EditTearsheet/EditTearsheet.js +59 -9
- package/lib/components/EditTearsheet/EditTearsheetForm.js +39 -9
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +11 -7
- package/lib/components/EditUpdateCards/EditUpdateCards.js +75 -8
- package/lib/components/EmptyStates/EmptyState.js +48 -16
- package/lib/components/EmptyStates/EmptyStateContent.js +24 -6
- package/lib/components/EmptyStates/EmptyStateIllustration.deprecated.js +2 -4
- package/lib/components/EmptyStates/EmptyStateV2.deprecated.js +45 -9
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +44 -10
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +44 -10
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +44 -10
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +44 -10
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +44 -10
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +44 -10
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +5 -7
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +5 -7
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +5 -7
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +5 -7
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +5 -7
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -7
- package/lib/components/ExportModal/ExportModal.js +86 -9
- package/lib/components/ExpressiveCard/ExpressiveCard.js +80 -7
- package/lib/components/FeatureFlags/index.js +6 -5
- package/lib/components/FilterPanel/FilterPanel.js +19 -12
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +29 -13
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +33 -14
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +26 -13
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +44 -13
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +26 -13
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +22 -12
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +22 -13
- package/lib/components/FilterSummary/FilterSummary.js +12 -13
- package/lib/components/FullPageError/FullPageError.js +27 -10
- package/lib/components/FullPageError/assets/Error403SVG.js +2 -4
- package/lib/components/FullPageError/assets/Error404SVG.js +2 -4
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +2 -4
- package/lib/components/GetStartedCard/GetStartedCard.js +40 -6
- package/lib/components/Guidebanner/Guidebanner.js +57 -13
- package/lib/components/Guidebanner/GuidebannerElement.js +18 -7
- package/lib/components/Guidebanner/GuidebannerElementButton.js +15 -7
- package/lib/components/Guidebanner/GuidebannerElementLink.js +11 -7
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +29 -9
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +29 -9
- package/lib/components/HTTPErrors/HTTPErrorContent.js +21 -5
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +29 -9
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +3 -5
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +3 -5
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +3 -5
- package/lib/components/ImportModal/ImportModal.js +94 -9
- package/lib/components/InlineTip/InlineTip.js +62 -9
- package/lib/components/InlineTip/InlineTipButton.js +11 -7
- package/lib/components/InlineTip/InlineTipLink.js +11 -7
- package/lib/components/InlineTip/utils.js +1 -3
- package/lib/components/InterstitialScreen/InterstitialScreen.js +30 -10
- package/lib/components/InterstitialScreen/InterstitialScreenBody.js +17 -7
- package/lib/components/InterstitialScreen/InterstitialScreenFooter.js +28 -7
- package/lib/components/InterstitialScreen/InterstitialScreenHeader.js +24 -7
- package/lib/components/InterstitialScreen/InterstitialScreenView.js +15 -5
- package/lib/components/InterstitialScreen/context.js +3 -5
- package/lib/components/MultiAddSelect/MultiAddSelect.js +84 -6
- package/lib/components/Nav/Nav.js +27 -14
- package/lib/components/Nav/NavItem.js +48 -14
- package/lib/components/Nav/NavItemLink.js +5 -5
- package/lib/components/Nav/NavList.js +22 -13
- package/lib/components/NonLinearReading/NonLinearReading.js +18 -8
- package/lib/components/NotificationsPanel/NotificationsPanel.js +130 -15
- package/lib/components/NotificationsPanel/utils.js +1 -3
- package/lib/components/OptionsTile/OptionsTile.js +59 -10
- package/lib/components/PageHeader/PageHeader.js +234 -18
- package/lib/components/PageHeader/PageHeaderTitle.js +28 -7
- package/lib/components/PageHeader/PageHeaderUtils.js +5 -7
- package/lib/components/PageHeader/next/PageHeader.d.ts +2 -1
- package/lib/components/PageHeader/next/PageHeader.d.ts.map +1 -1
- package/lib/components/PageHeader/next/PageHeader.js +19 -21
- package/lib/components/PageHeader/next/PageHeaderBreadcrumbBar.d.ts.map +1 -1
- package/lib/components/PageHeader/next/PageHeaderBreadcrumbBar.js +6 -10
- package/lib/components/PageHeader/next/PageHeaderBreadcrumbOverflow.js +6 -8
- package/lib/components/PageHeader/next/PageHeaderBreadcrumbPageActions.js +19 -6
- package/lib/components/PageHeader/next/PageHeaderContent.d.ts.map +1 -1
- package/lib/components/PageHeader/next/PageHeaderContent.js +36 -13
- package/lib/components/PageHeader/next/PageHeaderContentPageActions.d.ts.map +1 -1
- package/lib/components/PageHeader/next/PageHeaderContentPageActions.js +26 -12
- package/lib/components/PageHeader/next/PageHeaderContentText.js +13 -6
- package/lib/components/PageHeader/next/PageHeaderHeroImage.d.ts +13 -1
- package/lib/components/PageHeader/next/PageHeaderHeroImage.d.ts.map +1 -1
- package/lib/components/PageHeader/next/PageHeaderHeroImage.js +25 -9
- package/lib/components/PageHeader/next/PageHeaderScrollButton.js +6 -8
- package/lib/components/PageHeader/next/PageHeaderTabBar.js +7 -9
- package/lib/components/PageHeader/next/PageHeaderTagOverflow.js +6 -8
- package/lib/components/PageHeader/next/PageHeaderTitleBreadcrumb.js +5 -7
- package/lib/components/PageHeader/next/context.d.ts +2 -2
- package/lib/components/PageHeader/next/context.d.ts.map +1 -1
- package/lib/components/PageHeader/next/context.js +2 -4
- package/lib/components/PageHeader/next/index.js +19 -21
- package/lib/components/PageHeader/next/overflowHandler.js +1 -3
- package/lib/components/PageHeader/next/utils.js +1 -3
- package/lib/components/ProductiveCard/ProductiveCard.js +97 -7
- package/lib/components/RemoveModal/RemoveModal.js +65 -10
- package/lib/components/Saving/Saving.js +47 -7
- package/lib/components/ScrollGradient/ScrollGradient.js +23 -14
- package/lib/components/ScrollGradient/constants.js +3 -5
- package/lib/components/SearchBar/SearchBar.js +35 -8
- package/lib/components/SidePanel/SidePanel.js +129 -16
- package/lib/components/SidePanel/constants.js +1 -3
- package/lib/components/SimpleHeader/SimpleHeader.js +20 -8
- package/lib/components/SingleAddSelect/SingleAddSelect.js +56 -7
- package/lib/components/StatusIcon/StatusIcon.js +20 -7
- package/lib/components/StatusIndicator/StatusIndicator.js +30 -12
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +22 -12
- package/lib/components/StringFormatter/StringFormatter.js +21 -15
- package/lib/components/StringFormatter/utils/enums.js +1 -3
- package/lib/components/TagOverflow/TagOverflow.js +73 -11
- package/lib/components/TagOverflow/TagOverflowModal.js +6 -8
- package/lib/components/TagOverflow/TagOverflowPopover.js +35 -7
- package/lib/components/TagOverflow/constants.js +1 -3
- package/lib/components/TagSet/TagSet.js +73 -10
- package/lib/components/TagSet/TagSetModal.js +6 -8
- package/lib/components/TagSet/TagSetOverflow.js +42 -7
- package/lib/components/Tearsheet/Tearsheet.js +107 -8
- package/lib/components/Tearsheet/TearsheetNarrow.js +80 -8
- package/lib/components/Tearsheet/TearsheetPresence.js +3 -5
- package/lib/components/Tearsheet/TearsheetShell.js +135 -19
- package/lib/components/Tearsheet/next/StackContext.js +3 -5
- package/lib/components/Tearsheet/next/Tearsheet.js +15 -17
- package/lib/components/Tearsheet/next/TearsheetBody.js +6 -8
- package/lib/components/Tearsheet/next/TearsheetFooter.js +5 -7
- package/lib/components/Tearsheet/next/TearsheetHeader.js +4 -6
- package/lib/components/Tearsheet/next/TearsheetHeaderActions.js +5 -7
- package/lib/components/Tearsheet/next/TearsheetHeaderContent.js +5 -7
- package/lib/components/Tearsheet/next/context.js +4 -7
- package/lib/components/Tearsheet/usePresence.js +9 -5
- package/lib/components/Tearsheet/usePresenceContext.js +3 -5
- package/lib/components/Toolbar/Toolbar.js +9 -8
- package/lib/components/Toolbar/ToolbarButton.js +15 -7
- package/lib/components/Toolbar/ToolbarGroup.js +6 -6
- package/lib/components/TooltipTrigger/TooltipTrigger.js +10 -6
- package/lib/components/TruncatedList/TruncatedList.js +37 -8
- package/lib/components/TruncatedText/TruncatedText.d.ts.map +1 -1
- package/lib/components/TruncatedText/TruncatedText.js +12 -11
- package/lib/components/TruncatedText/useTruncatedText.js +3 -5
- package/lib/components/UserAvatar/UserAvatar.js +38 -9
- package/lib/components/UserProfileImage/UserProfileImage.js +43 -9
- package/lib/components/WebTerminal/WebTerminal.js +33 -9
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +10 -8
- package/lib/components/WebTerminal/hooks/index.js +7 -5
- package/lib/components/_Canary/Canary.js +6 -6
- package/lib/global/js/hooks/useActiveElement.js +2 -4
- package/lib/global/js/hooks/useClickOutside.js +2 -4
- package/lib/global/js/hooks/useCollapsible.js +2 -4
- package/lib/global/js/hooks/useControllableState.js +2 -4
- package/lib/global/js/hooks/useCreateComponentFocus.js +3 -5
- package/lib/global/js/hooks/useCreateComponentStepChange.js +2 -4
- package/lib/global/js/hooks/useFocus.js +3 -5
- package/lib/global/js/hooks/useIsomorphicEffect.js +2 -4
- package/lib/global/js/hooks/useMatchMedia.js +2 -4
- package/lib/global/js/hooks/useMergedRefs.js +2 -4
- package/lib/global/js/hooks/useOverflowItems/useOverflowItems.js +3 -5
- package/lib/global/js/hooks/useOverflowString.js +2 -4
- package/lib/global/js/hooks/usePortalTarget.js +4 -6
- package/lib/global/js/hooks/usePrefersReducedMotion.js +3 -5
- package/lib/global/js/hooks/usePrefix.js +2 -4
- package/lib/global/js/hooks/usePresence.js +2 -4
- package/lib/global/js/hooks/usePreviousValue.js +2 -4
- package/lib/global/js/hooks/useResetCreateComponent.js +3 -5
- package/lib/global/js/hooks/useResizeObserver.js +3 -5
- package/lib/global/js/hooks/useRetrieveFormTitles.js +2 -4
- package/lib/global/js/hooks/useRetrieveStepData.js +2 -4
- package/lib/global/js/hooks/useValidCreateStepCount.js +2 -4
- package/lib/global/js/hooks/useWindowResize.js +3 -5
- package/lib/global/js/hooks/useWindowScroll.js +4 -6
- package/lib/global/js/package-settings.js +1 -3
- package/lib/global/js/utils/Wrap.js +26 -4
- package/lib/global/js/utils/checkForOverflow.js +1 -3
- package/lib/global/js/utils/clamp.js +1 -3
- package/lib/global/js/utils/debounce.js +1 -3
- package/lib/global/js/utils/deepCloneObject.js +1 -3
- package/lib/global/js/utils/deepCompareObject.js +1 -3
- package/lib/global/js/utils/devtools.js +2 -4
- package/lib/global/js/utils/getFocusableElements.js +1 -3
- package/lib/global/js/utils/getNodeTextContent.js +1 -3
- package/lib/global/js/utils/getNumberOfHiddenSteps.js +1 -3
- package/lib/global/js/utils/getScrollbarWidth.js +1 -3
- package/lib/global/js/utils/getSupportedLocale.js +1 -3
- package/lib/global/js/utils/lastIndexInArray.js +1 -3
- package/lib/global/js/utils/makeDraggable/makeDraggable.js +1 -3
- package/lib/global/js/utils/pconsole.js +4 -9
- package/lib/global/js/utils/props-helper.js +2 -4
- package/lib/global/js/utils/rangeWithCallback.js +1 -3
- package/lib/global/js/utils/scrollableAncestor.js +1 -3
- package/lib/global/js/utils/throttle.js +1 -3
- package/lib/global/js/utils/useId.js +3 -5
- package/lib/global/js/utils/uuidv4.js +1 -3
- package/lib/global/js/utils/wait.js +1 -3
- package/lib/index.js +264 -267
- package/lib/node_modules/@carbon/colors/lib/index.js +15 -21
- package/lib/node_modules/@carbon/icon-helpers/lib/index.js +7 -10
- package/lib/node_modules/@carbon/icons-react/lib/{Icon.js → Icon-2zUDcllO.js} +44 -17
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-0.js +274 -278
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-1.js +303 -316
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-10.js +478 -472
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-11.js +491 -468
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-12.js +482 -474
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-13.js +509 -547
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-14.js +546 -596
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-15.js +596 -538
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-16.js +571 -616
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-17.js +669 -654
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-18.js +683 -661
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-19.js +701 -718
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-2.js +332 -330
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-20.js +743 -783
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-21.js +548 -40
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-3.js +340 -349
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-4.js +360 -380
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-5.js +397 -405
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-6.js +405 -392
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-7.js +418 -437
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-8.js +456 -496
- package/lib/node_modules/@carbon/icons-react/lib/generated/bucket-9.js +489 -480
- package/lib/node_modules/@carbon/icons-react/lib/{iconPropTypes-U9gLABJo.js → iconPropTypes-DaTOKOBs.js} +12 -14
- package/lib/node_modules/@carbon/icons-react/lib/index.js +425 -395
- package/lib/node_modules/classnames/index.js +7 -10
- package/lib/settings.js +5 -7
- package/package.json +17 -17
- package/scss/components/EditInPlace/_edit-in-place.scss +30 -6
- package/scss/components/PageHeader/_page-header.scss +66 -6
- package/scss/components/TruncatedText/_truncated-text.scss +21 -0
- package/telemetry.yml +12 -3
- package/es/components/Checklist/Checklist.types.js +0 -30
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.d.ts +0 -39
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.d.ts.map +0 -1
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.d.ts +0 -25
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.d.ts.map +0 -1
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/index.d.ts +0 -11
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/index.d.ts.map +0 -1
- package/lib/components/Checklist/Checklist.types.js +0 -32
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.d.ts +0 -39
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.d.ts.map +0 -1
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.d.ts +0 -25
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.d.ts.map +0 -1
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/index.d.ts +0 -11
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/index.d.ts.map +0 -1
- package/lib/node_modules/@carbon/icons-react/lib/chunk-CsKB0u1v.js +0 -54
|
@@ -25,7 +25,6 @@ import PropTypes from "prop-types";
|
|
|
25
25
|
import { Button, Column, FlexGrid, Row, Tag, Tooltip, usePrefix } from "@carbon/react";
|
|
26
26
|
import { ChevronUp } from "@carbon/react/icons";
|
|
27
27
|
import { baseFontSize, breakpoints, spacing } from "@carbon/layout";
|
|
28
|
-
|
|
29
28
|
//#region src/components/PageHeader/PageHeader.tsx
|
|
30
29
|
var import_classnames = /* @__PURE__ */ __toESM(require_classnames());
|
|
31
30
|
const componentName = "PageHeader";
|
|
@@ -402,13 +401,27 @@ const tagTypes = Object.keys({
|
|
|
402
401
|
outline: "Outline"
|
|
403
402
|
});
|
|
404
403
|
const deprecatedProps = {
|
|
404
|
+
/**
|
|
405
|
+
* **Deprecated**
|
|
406
|
+
* see property `enableBreadcrumbScroll`
|
|
407
|
+
*/
|
|
405
408
|
disableBreadcrumbScroll: deprecateProp(PropTypes.bool, "Property replaced by `enableBreadcrumbScroll`"),
|
|
409
|
+
/**
|
|
410
|
+
* **Deprecated** see property `withoutBackground`
|
|
411
|
+
*/
|
|
406
412
|
hasBackgroundAlways: deprecateProp(PropTypes.bool, "Property replaced by `withoutBackground`")
|
|
407
413
|
};
|
|
408
414
|
/**@ts-ignore */
|
|
409
415
|
PageHeader.tagTypes = tagTypes;
|
|
410
416
|
PageHeader.propTypes = {
|
|
417
|
+
/**
|
|
418
|
+
* Specifies the action bar items which are the final items in the row top of the PageHeader.
|
|
419
|
+
* Each item is specified as an object with the properties of a Carbon Button in icon only form.
|
|
420
|
+
* Button kind, size, tooltipPosition, tooltipAlignment and type are ignored.
|
|
421
|
+
*/
|
|
422
|
+
/**@ts-ignore */
|
|
411
423
|
actionBarItems: PropTypes.arrayOf(PropTypes.shape({
|
|
424
|
+
/**@ts-ignore*/
|
|
412
425
|
...prepareProps(Button.propTypes, [
|
|
413
426
|
"kind",
|
|
414
427
|
"size",
|
|
@@ -416,54 +429,253 @@ PageHeader.propTypes = {
|
|
|
416
429
|
"tooltipAlignment"
|
|
417
430
|
]),
|
|
418
431
|
iconDescription: PropTypes.string.isRequired,
|
|
432
|
+
/**@ts-ignore*/
|
|
419
433
|
onClick: Button.propTypes.onClick,
|
|
434
|
+
/**@ts-ignore*/
|
|
420
435
|
renderIcon: Button.propTypes.renderIcon.isRequired
|
|
421
436
|
})),
|
|
437
|
+
/**
|
|
438
|
+
* class name applied to the action bar overflow options
|
|
439
|
+
*/
|
|
422
440
|
actionBarMenuOptionsClass: PropTypes.string,
|
|
441
|
+
/**
|
|
442
|
+
* When there is insufficient space for all actionBarItems to be displayed this
|
|
443
|
+
* aria label is used for the action bar overflow menu
|
|
444
|
+
*
|
|
445
|
+
* NOTE: This prop is required if actionBarItems are supplied
|
|
446
|
+
*/
|
|
447
|
+
/**@ts-ignore */
|
|
423
448
|
actionBarOverflowAriaLabel: PropTypes.string,
|
|
449
|
+
/**
|
|
450
|
+
* When tags are supplied there may not be sufficient space to display all of the tags. This results in an overflow
|
|
451
|
+
* menu being shown. If in the overflow menu there is still insufficient space this label is used in a dialog showing
|
|
452
|
+
* all tags.
|
|
453
|
+
*
|
|
454
|
+
* **Note: Required if more than 10 tags**
|
|
455
|
+
*/
|
|
424
456
|
allTagsModalSearchLabel: PropTypes.string,
|
|
457
|
+
/**
|
|
458
|
+
* When tags are supplied there may not be sufficient space to display all of the tags. This results in an overflow
|
|
459
|
+
* menu being shown. If in the overflow menu there is still insufficient space this placeholder is used in a dialog
|
|
460
|
+
* showing all tags.
|
|
461
|
+
*
|
|
462
|
+
* **Note: Required if more than 10 tags**
|
|
463
|
+
*/
|
|
425
464
|
allTagsModalSearchPlaceholderText: PropTypes.string,
|
|
465
|
+
/**
|
|
466
|
+
* When tags are supplied there may not be sufficient space to display all of the tags. This results in an overflow
|
|
467
|
+
* menu being shown. If in the overflow menu there is still insufficient space this title is used in a dialog showing
|
|
468
|
+
* all tags.
|
|
469
|
+
*
|
|
470
|
+
* **Note: Required if more than 10 tags**
|
|
471
|
+
*/
|
|
426
472
|
allTagsModalTitle: PropTypes.string,
|
|
473
|
+
/**
|
|
474
|
+
* If the user supplies breadcrumbs then this property is required.
|
|
475
|
+
* It is used in an overflow menu when there is insufficient space to display all breadcrumbs inline.
|
|
476
|
+
*/
|
|
477
|
+
/**@ts-ignore */
|
|
427
478
|
breadcrumbOverflowAriaLabel: PropTypes.string,
|
|
479
|
+
/**
|
|
480
|
+
* align breadcrumb overflow tooltip
|
|
481
|
+
*/
|
|
428
482
|
breadcrumbOverflowTooltipAlign: Tooltip.propTypes.align,
|
|
483
|
+
/**
|
|
484
|
+
* Specifies the breadcrumb components to be shown in the breadcrumb area of
|
|
485
|
+
* the page header. Each item is specified as an object with optional fields
|
|
486
|
+
* 'label' to supply the breadcrumb label, 'href' to supply the link location,
|
|
487
|
+
* and 'isCurrentPage' to specify whether this breadcrumb component represents
|
|
488
|
+
* the current page. Each item should also include a unique 'key' field to
|
|
489
|
+
* enable efficient rendering, and if the label is not a string then a 'title'
|
|
490
|
+
* field is required to provide a text alternative for display. Any other
|
|
491
|
+
* fields in the object will be passed through to the breadcrumb element as
|
|
492
|
+
* HTML attributes.
|
|
493
|
+
*/
|
|
494
|
+
/**@ts-ignore */
|
|
429
495
|
breadcrumbs: PropTypes.arrayOf(PropTypes.shape({
|
|
496
|
+
/**
|
|
497
|
+
* Optional string representing the link location for the BreadcrumbItem
|
|
498
|
+
*/
|
|
430
499
|
href: PropTypes.string,
|
|
500
|
+
/**
|
|
501
|
+
* Provide if this breadcrumb item represents the current page
|
|
502
|
+
*/
|
|
431
503
|
isCurrentPage: PropTypes.bool,
|
|
504
|
+
/**
|
|
505
|
+
* Key required to render array efficiently
|
|
506
|
+
*/
|
|
432
507
|
key: PropTypes.string.isRequired,
|
|
508
|
+
/**
|
|
509
|
+
* Pass in content that will be inside of the BreadcrumbItem
|
|
510
|
+
*/
|
|
433
511
|
label: PropTypes.node,
|
|
512
|
+
/**
|
|
513
|
+
* A text version of the `label` for display, required if `label` is not a string.
|
|
514
|
+
*/
|
|
515
|
+
/**@ts-ignore */
|
|
434
516
|
title: PropTypes.string
|
|
435
517
|
})),
|
|
518
|
+
/**
|
|
519
|
+
* A zone for placing high-level, client content above the page tabs.
|
|
520
|
+
* Accepts arbitrary renderable content as a React node. Optional.
|
|
521
|
+
*/
|
|
436
522
|
children: PropTypes.node,
|
|
523
|
+
/**
|
|
524
|
+
* Specifies class(es) to be applied to the top-level PageHeader node.
|
|
525
|
+
* Optional.
|
|
526
|
+
*/
|
|
437
527
|
className: PropTypes.string,
|
|
528
|
+
/**
|
|
529
|
+
* The header can as a whole be collapsed, expanded or somewhere in between.
|
|
530
|
+
* This setting controls the initial value, but also takes effect on change
|
|
531
|
+
*
|
|
532
|
+
* NOTE: The header is collapsed by setting the scroll position to hide part of the header.
|
|
533
|
+
* Collapsing has no effect if there is insufficient content to scroll.
|
|
534
|
+
*/
|
|
438
535
|
collapseHeader: PropTypes.bool,
|
|
536
|
+
/**
|
|
537
|
+
* If `hasCollapseHeaderToggle` is set and `withoutBackground` is unset/falsy then assistive text is
|
|
538
|
+
* required for both the expend and collapse states of the button component used.
|
|
539
|
+
*/
|
|
540
|
+
/**@ts-ignore */
|
|
439
541
|
collapseHeaderIconDescription: PropTypes.string,
|
|
542
|
+
/**
|
|
543
|
+
* The title row typically starts below the breadcrumb row. This option
|
|
544
|
+
* preCollapses it into the breadcrumb row.
|
|
545
|
+
*/
|
|
440
546
|
collapseTitle: PropTypes.bool,
|
|
547
|
+
/**
|
|
548
|
+
* Standard keeps the breadcrumb on the page. This option allows the breadcrumb
|
|
549
|
+
* to scroll off
|
|
550
|
+
*/
|
|
441
551
|
enableBreadcrumbScroll: PropTypes.bool,
|
|
552
|
+
/**
|
|
553
|
+
* If `hasCollapseHeaderToggle` is set and `withoutBackground` is unset/falsy then assistive text is
|
|
554
|
+
* required for both the expend and collapse states of the button component used.
|
|
555
|
+
*/
|
|
556
|
+
/**@ts-ignore */
|
|
442
557
|
expandHeaderIconDescription: PropTypes.string,
|
|
558
|
+
/**
|
|
559
|
+
* The PageHeader is hosted in a Carbon grid, this value is passed through to the Carbon grid fullWidth prop.
|
|
560
|
+
* 'xl' is used to override the grid width setting. Can be used with narrowGrid: true to get the largest size.
|
|
561
|
+
*/
|
|
562
|
+
/**@ts-ignore */
|
|
443
563
|
fullWidthGrid: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(["xl"])]),
|
|
564
|
+
/**
|
|
565
|
+
* Adds a button as the last element of the bottom row which collapses and expands the header.
|
|
566
|
+
*
|
|
567
|
+
* NOTE: The header is collapsed by setting the scroll position to hide part of the header.
|
|
568
|
+
* Collapsing has no effect if there is insufficient content to scroll.
|
|
569
|
+
*/
|
|
570
|
+
/**@ts-ignore */
|
|
444
571
|
hasCollapseHeaderToggle: PropTypes.bool,
|
|
572
|
+
/**
|
|
573
|
+
* The PageHeader is hosted in a Carbon grid, this value is passed through to the Carbon grid narrow prop
|
|
574
|
+
*/
|
|
445
575
|
narrowGrid: PropTypes.bool,
|
|
576
|
+
/**
|
|
577
|
+
* Content for the navigation area in the PageHeader. Should
|
|
578
|
+
* be a React element that is normally a Carbon Tabs component. Optional.
|
|
579
|
+
*/
|
|
446
580
|
navigation: PropTypes.element,
|
|
581
|
+
/**
|
|
582
|
+
* Specifies the primary page actions which are placed at the same level in the page as the title.
|
|
583
|
+
*
|
|
584
|
+
* Either a set of actions, each specified as an object with the properties of a Carbon Button plus:
|
|
585
|
+
*
|
|
586
|
+
* - label: node
|
|
587
|
+
*
|
|
588
|
+
* Or a single object
|
|
589
|
+
*
|
|
590
|
+
* - content: content to be rendered. NOTE: must be capable of restricting itself to the space provided. This 2.5rem height ($spacing-08)
|
|
591
|
+
* and the width not used by action bar items when scrolled into toolbar.
|
|
592
|
+
* - minWidth: smallest number of pixel width the content would like. NOTE: This is not guaranteed and may be less on small viewports.
|
|
593
|
+
* - maxWidth: maximum number of pixels the content will grow to
|
|
594
|
+
* Carbon Button API https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
|
595
|
+
*/
|
|
596
|
+
/**@ts-ignore */
|
|
447
597
|
pageActions: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
|
|
598
|
+
/**@ts-ignore*/
|
|
448
599
|
...Button.propTypes,
|
|
449
600
|
key: PropTypes.string.isRequired,
|
|
601
|
+
/**@ts-ignore*/
|
|
450
602
|
kind: Button.propTypes.kind,
|
|
451
603
|
label: PropTypes.node,
|
|
452
604
|
onClick: PropTypes.func
|
|
453
605
|
})), PropTypes.shape({
|
|
606
|
+
/**
|
|
607
|
+
* minWidth should not be more than 180
|
|
608
|
+
* The content is expected to adjust itself to fit in
|
|
609
|
+
*/
|
|
454
610
|
content: PropTypes.node.isRequired,
|
|
455
611
|
minWidth: PropTypes.number.isRequired,
|
|
456
612
|
maxWidth: PropTypes.number.isRequired
|
|
457
613
|
})]),
|
|
614
|
+
/**
|
|
615
|
+
* class name applied to the page actions overflow options
|
|
616
|
+
*/
|
|
458
617
|
pageActionsMenuOptionsClass: PropTypes.string,
|
|
618
|
+
/**
|
|
619
|
+
* When there is insufficient space to display all of hte page actions inline a dropdown button menu is shown,
|
|
620
|
+
* containing the page actions. This label is used as the display content of the dropdown button menu.
|
|
621
|
+
*
|
|
622
|
+
* NOTE: This prop is required if pageActions are supplied
|
|
623
|
+
*/
|
|
624
|
+
/**@ts-ignore */
|
|
459
625
|
pageActionsOverflowLabel: PropTypes.node,
|
|
626
|
+
/**
|
|
627
|
+
* When tags are supplied there may not be sufficient space to display all of the tags. This results in an overflow
|
|
628
|
+
* menu being shown. If in the overflow menu there is still insufficient space this label is used to offer a
|
|
629
|
+
* "View all tags" option.
|
|
630
|
+
*
|
|
631
|
+
* **Note: Required if more than 10 tags**
|
|
632
|
+
*/
|
|
460
633
|
showAllTagsLabel: PropTypes.string,
|
|
634
|
+
/**
|
|
635
|
+
* Sitting just below the title is this optional subtitle that provides additional context to
|
|
636
|
+
* identify the current page.
|
|
637
|
+
*/
|
|
461
638
|
subtitle: PropTypes.node,
|
|
639
|
+
/**
|
|
640
|
+
* An array of tags to be shown as the final content in the PageHeader.
|
|
641
|
+
*
|
|
642
|
+
* Each tag is specified as an object with the following properties
|
|
643
|
+
* **label**\* (required) to supply the tag content, and properties of the the Carbon Tag component,
|
|
644
|
+
* such as **type**, **disabled**, **ref**, **className** , and any other Tag props.
|
|
645
|
+
*
|
|
646
|
+
* NOTE: **filter** is not supported. Any remaining fields in the object will be passed through to the HTML element
|
|
647
|
+
* as HTML attributes.
|
|
648
|
+
*
|
|
649
|
+
* See https://react.carbondesignsystem.com/?path=/docs/components-tag--default
|
|
650
|
+
*/
|
|
651
|
+
/**@ts-ignore */
|
|
462
652
|
tags: PropTypes.arrayOf(PropTypes.shape({
|
|
463
653
|
...prepareProps(Tag.propTypes, "filter"),
|
|
464
654
|
label: PropTypes.string.isRequired,
|
|
465
655
|
type: PropTypes.oneOf(tagTypes)
|
|
466
656
|
})),
|
|
657
|
+
/**
|
|
658
|
+
* An optional page title supplied as a string or object with the following attributes: text, icon, loading
|
|
659
|
+
*
|
|
660
|
+
* Can be supplied either as:
|
|
661
|
+
* - String
|
|
662
|
+
* - Object containing
|
|
663
|
+
* - text: title string
|
|
664
|
+
* - shortTitle: alternative title for exceptionally long titles
|
|
665
|
+
* - icon: optional icon
|
|
666
|
+
* - loading: boolean shows loading indicator if true
|
|
667
|
+
* - onChange: function to process the live value (React change === HTML Input)
|
|
668
|
+
* - onSave: function to process a confirmed change
|
|
669
|
+
* - editableLabel: label for edit required if onChange supplied
|
|
670
|
+
* - cancelDescription: label for edit cancel button
|
|
671
|
+
* - saveDescription: label for edit save button
|
|
672
|
+
* - tooltipAlignment: position for tooltip displayed for large titles. Default to "bottom".
|
|
673
|
+
* - Object containing user defined contents. These must fit within the area defined for the title in both main part of the header and the breadcrumb.
|
|
674
|
+
* - content: title or name of current location shown in main part of page header
|
|
675
|
+
* - breadcrumbContent: version of content used in the breadcrumb on scroll. If not supplied
|
|
676
|
+
* - asText: String based representation of the title
|
|
677
|
+
*/
|
|
678
|
+
/**@ts-ignore */
|
|
467
679
|
title: PropTypes.oneOfType([
|
|
468
680
|
PropTypes.shape({
|
|
469
681
|
text: PropTypes.string.isRequired,
|
|
@@ -496,10 +708,14 @@ PageHeader.propTypes = {
|
|
|
496
708
|
asText: PropTypes.string.isRequired
|
|
497
709
|
})
|
|
498
710
|
]),
|
|
711
|
+
/**
|
|
712
|
+
* Specifies if the PageHeader should appear without a background color, and defaults to the preferred `false` (a background color is shown).
|
|
713
|
+
* Note that when `true` some parts of the header still gain a background if and when they stick to the top of the PageHeader on scroll.
|
|
714
|
+
*/
|
|
715
|
+
/**@ts-ignore */
|
|
499
716
|
withoutBackground: PropTypes.bool,
|
|
500
717
|
...deprecatedProps
|
|
501
718
|
};
|
|
502
719
|
PageHeader.displayName = componentName;
|
|
503
|
-
|
|
504
720
|
//#endregion
|
|
505
|
-
export { PageHeader };
|
|
721
|
+
export { PageHeader };
|
|
@@ -12,7 +12,6 @@ import { useOverflowStringWidth } from "../../global/js/hooks/useOverflowString.
|
|
|
12
12
|
import React, { useRef } from "react";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { DefinitionTooltip, SkeletonText } from "@carbon/react";
|
|
15
|
-
|
|
16
15
|
//#region src/components/PageHeader/PageHeaderTitle.jsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2024, 2025
|
|
@@ -71,7 +70,30 @@ const PageHeaderTitle = ({ blockClass, hasBreadcrumbRow, title }) => {
|
|
|
71
70
|
};
|
|
72
71
|
PageHeaderTitle.propTypes = {
|
|
73
72
|
blockClass: PropTypes.string.isRequired,
|
|
73
|
+
/**
|
|
74
|
+
* controlled from within page header
|
|
75
|
+
*/
|
|
74
76
|
hasBreadcrumbRow: PropTypes.bool,
|
|
77
|
+
/**
|
|
78
|
+
* An optional page title supplied as a string or object with the following attributes: text, icon, loading
|
|
79
|
+
*
|
|
80
|
+
* Can be supplied either as:
|
|
81
|
+
* - String
|
|
82
|
+
* - Object containing
|
|
83
|
+
* - text: title string
|
|
84
|
+
* - icon: optional icon
|
|
85
|
+
* - loading: boolean shows loading indicator if true
|
|
86
|
+
* - onChange: function to process the live value (React change === HTML Input)
|
|
87
|
+
* - onSave: function to process a confirmed change
|
|
88
|
+
* - editDescription: description for edit button
|
|
89
|
+
* - editableLabel: label for edit required if onSave supplied
|
|
90
|
+
* - cancelDescription: description for edit cancel button
|
|
91
|
+
* - saveDescription: description for edit save button
|
|
92
|
+
* - Object containing user defined contents. These must fit within the area defined for the title in both main part of the header and the breadcrumb.
|
|
93
|
+
* - content: title or name of current location shown in main part of page header
|
|
94
|
+
* - breadcrumbContent: version of content used in the breadcrumb on scroll. If not supplied
|
|
95
|
+
* - asText: String based representation of the title
|
|
96
|
+
*/
|
|
75
97
|
title: PropTypes.oneOfType([
|
|
76
98
|
PropTypes.shape({
|
|
77
99
|
text: PropTypes.string.isRequired,
|
|
@@ -103,6 +125,5 @@ PageHeaderTitle.propTypes = {
|
|
|
103
125
|
})
|
|
104
126
|
])
|
|
105
127
|
};
|
|
106
|
-
|
|
107
128
|
//#endregion
|
|
108
|
-
export { PageHeaderTitle };
|
|
129
|
+
export { PageHeaderTitle };
|
|
@@ -11,7 +11,6 @@ import { pkg } from "../../settings.js";
|
|
|
11
11
|
import { scrollableAncestor } from "../../global/js/utils/scrollableAncestor.js";
|
|
12
12
|
import React from "react";
|
|
13
13
|
import { SkeletonText } from "@carbon/react";
|
|
14
|
-
|
|
15
14
|
//#region src/components/PageHeader/PageHeaderUtils.jsx
|
|
16
15
|
/**
|
|
17
16
|
* Copyright IBM Corp. 2020, 2023
|
|
@@ -137,6 +136,5 @@ const utilGetBreadcrumbItemForTitle = (blockClass, collapseTitle, title) => {
|
|
|
137
136
|
return breadcrumbTitle;
|
|
138
137
|
}
|
|
139
138
|
};
|
|
140
|
-
|
|
141
139
|
//#endregion
|
|
142
|
-
export { blockClass, utilCheckUpdateVerticalSpace, utilGetBreadcrumbItemForTitle, utilSetCollapsed };
|
|
140
|
+
export { blockClass, utilCheckUpdateVerticalSpace, utilGetBreadcrumbItemForTitle, utilSetCollapsed };
|
|
@@ -66,11 +66,12 @@ declare const ContentText: {
|
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
declare const HeroImage: {
|
|
69
|
-
({ className, children, ...other }: PageHeaderHeroImageProps): React.JSX.Element;
|
|
69
|
+
({ className, children, objectFit, ...other }: PageHeaderHeroImageProps): React.JSX.Element;
|
|
70
70
|
displayName: string;
|
|
71
71
|
propTypes: {
|
|
72
72
|
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
73
73
|
className: import("prop-types").Requireable<string>;
|
|
74
|
+
objectFit: import("prop-types").Requireable<string>;
|
|
74
75
|
};
|
|
75
76
|
};
|
|
76
77
|
declare const TabBar: React.ForwardRefExoticComponent<PageHeaderTabBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeader.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAA0D,MAAM,OAAO,CAAC;AAS/E,OAAO,EACL,uBAAuB,EACvB,KAAK,4BAA4B,EAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,KAAK,iCAAiC,EACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EACjC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,KAAK,iCAAiC,EACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACxC,MAAM,mCAAmC,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtD;AAED,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeader.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAA0D,MAAM,OAAO,CAAC;AAS/E,OAAO,EACL,uBAAuB,EACvB,KAAK,4BAA4B,EAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,KAAK,iCAAiC,EACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EACjC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,KAAK,iCAAiC,EACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACxC,MAAM,mCAAmC,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtD;AAED,QAAA,MAAM,UAAU,wFAgLf,CAAC;AAGF;;;;GAIG;AACH,QAAA,MAAM,IAAI,wFAAa,CAAC;AAGxB,QAAA,MAAM,aAAa,qGAA0B,CAAC;AAG9C,QAAA,MAAM,OAAO,+FAAoB,CAAC;AAGlC,QAAA,MAAM,kBAAkB;;;;;;;;;CAA+B,CAAC;AAGxD,QAAA,MAAM,WAAW;;;;;;;;CAAwB,CAAC;AAG1C,QAAA,MAAM,SAAS;;;;;;;;CAAsB,CAAC;AAGtC,QAAA,MAAM,MAAM,8FAAmB,CAAC;AAGhC,QAAA,MAAM,YAAY,oGAAyB,CAAC;AAG5C,QAAA,MAAM,eAAe,mHAA4B,CAAC;AAGlD,QAAA,MAAM,kBAAkB,uGAA+B,CAAC;AAGxD,QAAA,MAAM,WAAW,mGAAwB,CAAC;AAG1C,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;CAAkC,CAAC;AAG9D,OAAO,EAEL,UAAU,EACV,uBAAuB,EACvB,iBAAiB,EACjB,4BAA4B,EAC5B,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EACzB,4BAA4B,EAC5B,qBAAqB,EACrB,+BAA+B,EAE/B,IAAI,EACJ,aAAa,EACb,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,SAAS,EACT,MAAM,EACN,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,qBAAqB,GACtB,CAAC;AACF,YAAY,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,iCAAiC,EACjC,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACrB,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,EACjC,oCAAoC,EACpC,kCAAkC,GACnC,CAAC"}
|
|
@@ -24,7 +24,6 @@ import { PageHeaderTitleBreadcrumb } from "./PageHeaderTitleBreadcrumb.js";
|
|
|
24
24
|
import { PageHeaderBreadcrumbOverflow } from "./PageHeaderBreadcrumbOverflow.js";
|
|
25
25
|
import { PageHeaderBreadcrumbPageActions } from "./PageHeaderBreadcrumbPageActions.js";
|
|
26
26
|
import React, { useEffect, useMemo, useRef, useState } from "react";
|
|
27
|
-
|
|
28
27
|
//#region src/components/PageHeader/next/PageHeader.tsx
|
|
29
28
|
/**
|
|
30
29
|
* Copyright IBM Corp. 2025, 2026
|
|
@@ -164,6 +163,5 @@ const TagOverflow = PageHeaderTagOverflow;
|
|
|
164
163
|
TagOverflow.displayName = "PageHeaderTagOverflow";
|
|
165
164
|
const BreadcrumbPageActions = PageHeaderBreadcrumbPageActions;
|
|
166
165
|
BreadcrumbPageActions.displayName = "PageHeaderBreadcrumbPageActions";
|
|
167
|
-
|
|
168
166
|
//#endregion
|
|
169
|
-
export { BreadcrumbBar, BreadcrumbOverflow, BreadcrumbPageActions, Content, ContentPageActions, ContentText, HeroImage, PageHeader, Root, ScrollButton, TabBar, TagOverflow, TitleBreadcrumb };
|
|
167
|
+
export { BreadcrumbBar, BreadcrumbOverflow, BreadcrumbPageActions, Content, ContentPageActions, ContentText, HeroImage, PageHeader, Root, ScrollButton, TabBar, TagOverflow, TitleBreadcrumb };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeaderBreadcrumbBar.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeaderBreadcrumbBar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,WAAW,CAAC;AAEnB;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAAC;IAC/C;;;OAGG;IACH,cAAc,CAAC,EACX,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,uBAAuB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EACR,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,uBAAuB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"PageHeaderBreadcrumbBar.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeaderBreadcrumbBar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,WAAW,CAAC;AAEnB;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAAC;IAC/C;;;OAGG;IACH,cAAc,CAAC,EACX,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,uBAAuB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EACR,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,uBAAuB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,uBAAuB,qGA0ElC,CAAC"}
|
|
@@ -11,7 +11,6 @@ import { blockClass } from "../PageHeaderUtils.js";
|
|
|
11
11
|
import { PageHeaderContext, usePageHeader } from "./context.js";
|
|
12
12
|
import React from "react";
|
|
13
13
|
import { Column, Grid } from "@carbon/react";
|
|
14
|
-
|
|
15
14
|
//#region src/components/PageHeader/next/PageHeaderBreadcrumbBar.tsx
|
|
16
15
|
/**
|
|
17
16
|
* Copyright IBM Corp. 2026
|
|
@@ -28,14 +27,12 @@ const PageHeaderBreadcrumbBar = React.forwardRef(function PageHeaderBreadcrumbBa
|
|
|
28
27
|
[`${blockClass}__breadcrumb-bar-border`]: border,
|
|
29
28
|
[`${blockClass}__breadcrumb__actions-flush`]: pageActionsFlush
|
|
30
29
|
}, className);
|
|
31
|
-
const resolvedContentActions = typeof contentActions === "function" ? contentActions(observerState) : contentActions;
|
|
32
30
|
const isFunctionalContentActions = typeof contentActions === "function";
|
|
33
31
|
const contentActionsClasses = (0, import_classnames.default)({
|
|
34
32
|
[`${blockClass}__breadcrumb__content-actions`]: !contentActionsFlush,
|
|
35
33
|
[`${blockClass}__breadcrumb__content-actions-with-global-actions`]: !!globalActions,
|
|
36
34
|
[`${blockClass}__breadcrumb__content-actions-with-global-actions--show`]: observerState.contentActionsClipped || isFunctionalContentActions
|
|
37
35
|
});
|
|
38
|
-
const resolvedPageActions = typeof pageActions === "function" ? pageActions(observerState) : pageActions;
|
|
39
36
|
return /* @__PURE__ */ React.createElement(PageHeaderContext.Provider, { value: {
|
|
40
37
|
...context,
|
|
41
38
|
isContentActionsInBreadcrumbBar: true,
|
|
@@ -48,9 +45,8 @@ const PageHeaderBreadcrumbBar = React.forwardRef(function PageHeaderBreadcrumbBa
|
|
|
48
45
|
lg: 16,
|
|
49
46
|
md: 8,
|
|
50
47
|
sm: 4
|
|
51
|
-
}, /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb-container` }, /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb-wrapper` }, IconElement && /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb__icon` }, /* @__PURE__ */ React.createElement(IconElement, null)), children), /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb__actions` }, /* @__PURE__ */ React.createElement("div", { className: contentActionsClasses },
|
|
48
|
+
}, /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb-container` }, /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb-wrapper` }, IconElement && /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb__icon` }, /* @__PURE__ */ React.createElement(IconElement, null)), children), /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__breadcrumb__actions` }, /* @__PURE__ */ React.createElement("div", { className: contentActionsClasses }, typeof contentActions === "function" ? contentActions(observerState) : contentActions), typeof pageActions === "function" ? pageActions(observerState) : pageActions))))));
|
|
52
49
|
});
|
|
53
50
|
PageHeaderBreadcrumbBar.displayName = "PageHeaderBreadcrumbBar";
|
|
54
|
-
|
|
55
51
|
//#endregion
|
|
56
|
-
export { PageHeaderBreadcrumbBar };
|
|
52
|
+
export { PageHeaderBreadcrumbBar };
|
|
@@ -12,7 +12,6 @@ import { createOverflowHandler } from "./overflowHandler.js";
|
|
|
12
12
|
import { PageHeaderTitleBreadcrumb } from "./PageHeaderTitleBreadcrumb.js";
|
|
13
13
|
import React, { forwardRef, useEffect, useRef } from "react";
|
|
14
14
|
import { Breadcrumb, BreadcrumbItem, usePrefix } from "@carbon/react";
|
|
15
|
-
|
|
16
15
|
//#region src/components/PageHeader/next/PageHeaderBreadcrumbOverflow.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2026
|
|
@@ -61,6 +60,5 @@ const PageHeaderBreadcrumbOverflow = forwardRef(({ renderOverflowBreadcrumb, cla
|
|
|
61
60
|
}, renderChildren());
|
|
62
61
|
});
|
|
63
62
|
PageHeaderBreadcrumbOverflow.displayName = "PageHeaderBreadcrumbOverflow";
|
|
64
|
-
|
|
65
63
|
//#endregion
|
|
66
|
-
export { PageHeaderBreadcrumbOverflow };
|
|
64
|
+
export { PageHeaderBreadcrumbOverflow };
|
|
@@ -12,7 +12,6 @@ import React, { useEffect, useRef, useState } from "react";
|
|
|
12
12
|
import PropTypes from "prop-types";
|
|
13
13
|
import { Button, FeatureFlags, OverflowMenu, OverflowMenuItem } from "@carbon/react";
|
|
14
14
|
import { createOverflowHandler } from "@carbon/utilities";
|
|
15
|
-
|
|
16
15
|
//#region src/components/PageHeader/next/PageHeaderBreadcrumbPageActions.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2026
|
|
@@ -72,12 +71,18 @@ const PageHeaderBreadcrumbPageActions = ({ actions, className, overflowMenuLabel
|
|
|
72
71
|
};
|
|
73
72
|
PageHeaderBreadcrumbPageActions.displayName = "PageHeaderBreadcrumbPageActions";
|
|
74
73
|
PageHeaderBreadcrumbPageActions.propTypes = {
|
|
74
|
+
/**
|
|
75
|
+
* Array of action items to display
|
|
76
|
+
*/
|
|
75
77
|
actions: PropTypes.arrayOf(PropTypes.shape({
|
|
76
78
|
id: PropTypes.string.isRequired,
|
|
77
79
|
label: PropTypes.string.isRequired,
|
|
78
80
|
renderIcon: PropTypes.elementType.isRequired,
|
|
79
81
|
onClick: PropTypes.func
|
|
80
82
|
}).isRequired).isRequired,
|
|
83
|
+
/**
|
|
84
|
+
* Kind of the action buttons
|
|
85
|
+
*/
|
|
81
86
|
buttonKind: PropTypes.oneOf([
|
|
82
87
|
"primary",
|
|
83
88
|
"secondary",
|
|
@@ -87,14 +92,22 @@ PageHeaderBreadcrumbPageActions.propTypes = {
|
|
|
87
92
|
"danger--tertiary",
|
|
88
93
|
"danger--ghost"
|
|
89
94
|
]),
|
|
95
|
+
/**
|
|
96
|
+
* Size of the action buttons
|
|
97
|
+
*/
|
|
90
98
|
buttonSize: PropTypes.oneOf([
|
|
91
99
|
"sm",
|
|
92
100
|
"md",
|
|
93
101
|
"lg"
|
|
94
102
|
]),
|
|
103
|
+
/**
|
|
104
|
+
* Specify an optional className to be added to the component
|
|
105
|
+
*/
|
|
95
106
|
className: PropTypes.string,
|
|
107
|
+
/**
|
|
108
|
+
* Aria label for the overflow menu
|
|
109
|
+
*/
|
|
96
110
|
overflowMenuLabel: PropTypes.string
|
|
97
111
|
};
|
|
98
|
-
|
|
99
112
|
//#endregion
|
|
100
|
-
export { PageHeaderBreadcrumbPageActions };
|
|
113
|
+
export { PageHeaderBreadcrumbPageActions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeaderContent.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeaderContent.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,EACZ,KAAK,aAAa,EAClB,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PageHeaderContent.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeaderContent.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,EACZ,KAAK,aAAa,EAClB,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;AAaf,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAAC;IAC/C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC;;;OAGG;IACH,WAAW,CAAC,EACR,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,uBAAuB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC3D;AAED,eAAO,MAAM,iBAAiB,+FAyG5B,CAAC"}
|
|
@@ -10,10 +10,9 @@ import { require_classnames } from "../../../node_modules/classnames/index.js";
|
|
|
10
10
|
import { useIsomorphicEffect } from "../../../global/js/hooks/useIsomorphicEffect.js";
|
|
11
11
|
import { blockClass } from "../PageHeaderUtils.js";
|
|
12
12
|
import { usePageHeader } from "./context.js";
|
|
13
|
-
import React, { useEffect,
|
|
13
|
+
import React, { useEffect, useRef, useState } from "react";
|
|
14
14
|
import PropTypes from "prop-types";
|
|
15
15
|
import { Column, DefinitionTooltip, Grid, Heading, Section, unstable_Text } from "@carbon/react";
|
|
16
|
-
|
|
17
16
|
//#region src/components/PageHeader/next/PageHeaderContent.tsx
|
|
18
17
|
/**
|
|
19
18
|
* Copyright IBM Corp. 2026
|
|
@@ -25,10 +24,9 @@ var import_classnames = /* @__PURE__ */ __toESM(require_classnames());
|
|
|
25
24
|
const PageHeaderContent = React.forwardRef(function PageHeaderContent({ className, children, title, renderIcon: IconElement, contextualActions, pageActions, ...other }, ref) {
|
|
26
25
|
const contentRef = useRef(null);
|
|
27
26
|
const componentRef = ref ?? contentRef;
|
|
28
|
-
const { setRefs, setPageActionsInstance
|
|
27
|
+
const { setRefs, setPageActionsInstance } = usePageHeader();
|
|
29
28
|
const classNames = (0, import_classnames.default)({ [`${blockClass}__content`]: true }, className);
|
|
30
29
|
const titleRef = useRef(null);
|
|
31
|
-
const resolvedPageActions = useMemo(() => typeof pageActions === "function" ? pageActions(observerState) : pageActions, [pageActions, observerState]);
|
|
32
30
|
useEffect(() => {
|
|
33
31
|
if (componentRef?.current) setRefs((prev) => ({
|
|
34
32
|
...prev,
|
|
@@ -37,8 +35,9 @@ const PageHeaderContent = React.forwardRef(function PageHeaderContent({ classNam
|
|
|
37
35
|
}));
|
|
38
36
|
}, []);
|
|
39
37
|
useEffect(() => {
|
|
40
|
-
if (
|
|
41
|
-
|
|
38
|
+
if (typeof pageActions === "function") setPageActionsInstance(() => pageActions);
|
|
39
|
+
else setPageActionsInstance(pageActions ?? null);
|
|
40
|
+
}, [pageActions]);
|
|
42
41
|
const [isEllipsisApplied, setIsEllipsisApplied] = useState(false);
|
|
43
42
|
const isEllipsisActive = (element) => {
|
|
44
43
|
setIsEllipsisApplied(element.offsetHeight < element.scrollHeight);
|
|
@@ -64,18 +63,42 @@ const PageHeaderContent = React.forwardRef(function PageHeaderContent({ classNam
|
|
|
64
63
|
ref: titleRef,
|
|
65
64
|
as: Heading,
|
|
66
65
|
className: `${blockClass}__content__title`
|
|
67
|
-
}, title)), contextualActions && /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__content__contextual-actions` }, contextualActions)),
|
|
66
|
+
}, title)), contextualActions && /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__content__contextual-actions` }, contextualActions)), typeof pageActions === "function" ? pageActions({
|
|
67
|
+
fullyCollapsed: false,
|
|
68
|
+
titleClipped: false,
|
|
69
|
+
contentActionsClipped: false
|
|
70
|
+
}) : pageActions), children)));
|
|
68
71
|
});
|
|
69
72
|
PageHeaderContent.displayName = "PageHeaderContent";
|
|
70
73
|
PageHeaderContent.propTypes = {
|
|
74
|
+
/**
|
|
75
|
+
* Provide child elements to be rendered inside PageHeaderContent.
|
|
76
|
+
*/
|
|
71
77
|
children: PropTypes.node,
|
|
78
|
+
/**
|
|
79
|
+
* Specify an optional className to be added to your PageHeaderContent
|
|
80
|
+
*/
|
|
72
81
|
className: PropTypes.string,
|
|
82
|
+
/**
|
|
83
|
+
* The PageHeaderContent's contextual actions
|
|
84
|
+
*/
|
|
73
85
|
contextualActions: PropTypes.node,
|
|
86
|
+
/**
|
|
87
|
+
* The PageHeaderContent's page actions
|
|
88
|
+
*/
|
|
74
89
|
pageActions: PropTypes.node,
|
|
90
|
+
/**
|
|
91
|
+
* Provide an optional icon to render in front of the PageHeaderContent's title.
|
|
92
|
+
*/
|
|
75
93
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
94
|
+
/**
|
|
95
|
+
* The PageHeaderContent's subtitle
|
|
96
|
+
*/
|
|
76
97
|
subtitle: PropTypes.string,
|
|
98
|
+
/**
|
|
99
|
+
* The PageHeaderContent's title
|
|
100
|
+
*/
|
|
77
101
|
title: PropTypes.string.isRequired
|
|
78
102
|
};
|
|
79
|
-
|
|
80
103
|
//#endregion
|
|
81
|
-
export { PageHeaderContent };
|
|
104
|
+
export { PageHeaderContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeaderContentPageActions.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeaderContentPageActions.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,SAAS,MAAM,YAAY,CAAC;AAOnC;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,4BAA4B;kEAMtC,iCAAiC;;;
|
|
1
|
+
{"version":3,"file":"PageHeaderContentPageActions.d.ts","sourceRoot":"","sources":["../../../../src/components/PageHeader/next/PageHeaderContentPageActions.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,SAAS,MAAM,YAAY,CAAC;AAOnC;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,4BAA4B;kEAMtC,iCAAiC;;;QAqHlC;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;CAnBJ,CAAC"}
|