@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
|
@@ -24,7 +24,6 @@ import { TearsheetPresence, TearsheetPresenceContext, useExclusiveTearsheetPrese
|
|
|
24
24
|
import React, { useContext, useEffect, useRef, useState } from "react";
|
|
25
25
|
import PropTypes from "prop-types";
|
|
26
26
|
import { Button, ComposedModal, Layer, ModalHeader, Section, unstable_FeatureFlags, useFeatureFlag, usePrefix } from "@carbon/react";
|
|
27
|
-
|
|
28
27
|
//#region src/components/Tearsheet/TearsheetShell.tsx
|
|
29
28
|
/**
|
|
30
29
|
* Copyright IBM Corp. 2020, 2024
|
|
@@ -304,11 +303,38 @@ const TearsheetShellDialog = React.forwardRef(({ actions, decorator, ariaLabel,
|
|
|
304
303
|
TearsheetShell.displayName = componentName;
|
|
305
304
|
const portalType = typeof Element === "undefined" ? PropTypes.object : PropTypes.instanceOf(Element);
|
|
306
305
|
const deprecatedProps = {
|
|
306
|
+
/**
|
|
307
|
+
* @deprecated Property replaced by `decorator`
|
|
308
|
+
*/
|
|
307
309
|
slug: deprecateProp(PropTypes.node, "Property replaced by `decorator`"),
|
|
310
|
+
/**
|
|
311
|
+
* **Deprecated**
|
|
312
|
+
*
|
|
313
|
+
* The position of the top of tearsheet in the viewport. The 'normal'
|
|
314
|
+
* position is a short distance down from the top of the
|
|
315
|
+
* viewport, leaving room at the top for a global header bar to show through
|
|
316
|
+
* from below. The 'lower' position (the default) provides a little extra room at the top
|
|
317
|
+
* to allow an action bar navigation or breadcrumbs to also show through.
|
|
318
|
+
*/
|
|
308
319
|
verticalPosition: PropTypes.oneOf(["normal", "lower"])
|
|
309
320
|
};
|
|
310
321
|
TearsheetShell.propTypes = {
|
|
322
|
+
/**
|
|
323
|
+
* The actions to be shown as buttons in the action area at the bottom of the
|
|
324
|
+
* tearsheet. Each action is specified as an object with optional fields
|
|
325
|
+
* 'label' to supply the button label, 'kind' to select the button kind (must
|
|
326
|
+
* be 'primary', 'secondary' or 'ghost'), 'loading' to display a loading
|
|
327
|
+
* indicator, and 'onClick' to receive notifications when the button is
|
|
328
|
+
* clicked. Additional fields in the object will be passed to the Button
|
|
329
|
+
* component, and these can include 'disabled', 'ref', 'className', and any
|
|
330
|
+
* other Button props. Any other fields in the object will be passed through
|
|
331
|
+
* to the button element as HTML attributes.
|
|
332
|
+
*
|
|
333
|
+
* See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
|
334
|
+
*/
|
|
335
|
+
/**@ts-ignore*/
|
|
311
336
|
actions: PropTypes.arrayOf(PropTypes.shape({
|
|
337
|
+
/**@ts-ignore*/
|
|
312
338
|
...Button.propTypes,
|
|
313
339
|
kind: PropTypes.oneOf([
|
|
314
340
|
"ghost",
|
|
@@ -319,30 +345,120 @@ TearsheetShell.propTypes = {
|
|
|
319
345
|
]),
|
|
320
346
|
label: PropTypes.string,
|
|
321
347
|
loading: PropTypes.bool,
|
|
348
|
+
/**@ts-ignore*/
|
|
322
349
|
onClick: Button.propTypes.onClick
|
|
323
350
|
})),
|
|
351
|
+
/**
|
|
352
|
+
* The main content of the tearsheet.
|
|
353
|
+
*/
|
|
324
354
|
children: PropTypes.node,
|
|
355
|
+
/**
|
|
356
|
+
* An optional class or classes to be added to the outermost element.
|
|
357
|
+
*/
|
|
325
358
|
className: PropTypes.string,
|
|
359
|
+
/**
|
|
360
|
+
* The accessibility title for the close icon (if shown).
|
|
361
|
+
*
|
|
362
|
+
* **Note:** This prop is only required if a close icon is shown, i.e. if
|
|
363
|
+
* there are a no navigation actions and/or hasCloseIcon is true.
|
|
364
|
+
*/
|
|
365
|
+
/**@ts-ignore*/
|
|
326
366
|
closeIconDescription: PropTypes.string,
|
|
367
|
+
/**
|
|
368
|
+
* Optional prop that allows you to pass any component.
|
|
369
|
+
*/
|
|
327
370
|
decorator: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
|
371
|
+
/**
|
|
372
|
+
* A description of the flow, displayed in the header area of the tearsheet.
|
|
373
|
+
*/
|
|
328
374
|
description: PropTypes.node,
|
|
375
|
+
/**
|
|
376
|
+
* Enable a close icon ('x') in the header area of the tearsheet. By default,
|
|
377
|
+
* (when this prop is omitted, or undefined or null) a tearsheet does not
|
|
378
|
+
* display a close icon if there are navigation actions ("transactional
|
|
379
|
+
* tearsheet") and displays one if there are no navigation actions ("passive
|
|
380
|
+
* tearsheet"), and that behavior can be overridden if required by setting
|
|
381
|
+
* this prop to either true or false.
|
|
382
|
+
*/
|
|
383
|
+
/**@ts-ignore*/
|
|
329
384
|
hasCloseIcon: PropTypes.bool,
|
|
385
|
+
/**
|
|
386
|
+
* The content for the header actions area, displayed alongside the title in
|
|
387
|
+
* the header area of the tearsheet. This is typically a drop-down, or a set
|
|
388
|
+
* of small buttons, or similar. NB the headerActions is only applicable for
|
|
389
|
+
* wide tearsheets.
|
|
390
|
+
*/
|
|
330
391
|
headerActions: PropTypes.element,
|
|
392
|
+
/**
|
|
393
|
+
* The content for the influencer section of the tearsheet, displayed
|
|
394
|
+
* alongside the main content. This is typically a menu, or filter, or
|
|
395
|
+
* progress indicator, or similar. NB the influencer is only applicable for
|
|
396
|
+
* wide tearsheets.
|
|
397
|
+
*/
|
|
331
398
|
influencer: PropTypes.element,
|
|
399
|
+
/**
|
|
400
|
+
* The position of the influencer section, 'left' or 'right'.
|
|
401
|
+
*/
|
|
332
402
|
influencerPosition: PropTypes.oneOf(["left", "right"]),
|
|
403
|
+
/**
|
|
404
|
+
* The width of the influencer: 'narrow' (the default) is 256px, and 'wide'
|
|
405
|
+
* is 320px.
|
|
406
|
+
*/
|
|
333
407
|
influencerWidth: PropTypes.oneOf(["narrow", "wide"]),
|
|
408
|
+
/**
|
|
409
|
+
* A label for the tearsheet, displayed in the header area of the tearsheet
|
|
410
|
+
* to maintain context for the tearsheet (e.g. as the title changes from page
|
|
411
|
+
* to page of a multi-page task).
|
|
412
|
+
*/
|
|
334
413
|
label: PropTypes.node,
|
|
414
|
+
/**
|
|
415
|
+
* Provide a ref to return focus to once the tearsheet is closed.
|
|
416
|
+
*/
|
|
417
|
+
/**@ts-ignore */
|
|
335
418
|
launcherButtonRef: PropTypes.any,
|
|
419
|
+
/**
|
|
420
|
+
* Navigation content, such as a set of tabs, to be displayed at the bottom
|
|
421
|
+
* of the header area of the tearsheet. NB the navigation is only applicable
|
|
422
|
+
* for wide tearsheets.
|
|
423
|
+
*/
|
|
336
424
|
navigation: PropTypes.element,
|
|
425
|
+
/**
|
|
426
|
+
* An optional handler that is called when the user closes the tearsheet (by
|
|
427
|
+
* clicking the close button, if enabled, or clicking outside, if enabled).
|
|
428
|
+
* Returning `false` here prevents the modal from closing.
|
|
429
|
+
*/
|
|
337
430
|
onClose: PropTypes.func,
|
|
431
|
+
/**
|
|
432
|
+
* Specifies whether the tearsheet is currently open.
|
|
433
|
+
*/
|
|
338
434
|
open: PropTypes.bool,
|
|
435
|
+
/**
|
|
436
|
+
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
|
437
|
+
*/
|
|
438
|
+
/**@ts-ignore*/
|
|
339
439
|
portalTarget: portalType,
|
|
440
|
+
/**
|
|
441
|
+
* Specify a CSS selector that matches the DOM element that should be
|
|
442
|
+
* focused when the Modal opens.
|
|
443
|
+
*/
|
|
340
444
|
selectorPrimaryFocus: PropTypes.string,
|
|
445
|
+
/**
|
|
446
|
+
* Specify the CSS selectors that match the floating menus.
|
|
447
|
+
*
|
|
448
|
+
* See https://react.carbondesignsystem.com/?path=/docs/components-composedmodal--overview#focus-management
|
|
449
|
+
*/
|
|
450
|
+
/**@ts-ignore*/
|
|
341
451
|
selectorsFloatingMenus: PropTypes.arrayOf(PropTypes.string),
|
|
452
|
+
/**
|
|
453
|
+
* Specifies the width of the tearsheet, 'narrow' or 'wide'.
|
|
454
|
+
*/
|
|
455
|
+
/**@ts-ignore*/
|
|
342
456
|
size: PropTypes.oneOf(["narrow", "wide"]).isRequired,
|
|
457
|
+
/**
|
|
458
|
+
* The main title of the tearsheet, displayed in the header area.
|
|
459
|
+
*/
|
|
343
460
|
title: PropTypes.node,
|
|
344
461
|
...deprecatedProps
|
|
345
462
|
};
|
|
346
|
-
|
|
347
463
|
//#endregion
|
|
348
|
-
export { TearsheetShell, portalType, tearsheetShellWideProps };
|
|
464
|
+
export { TearsheetShell, portalType, tearsheetShellWideProps };
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
import { useResizeObserver } from "../../../global/js/hooks/useResizeObserver.js";
|
|
9
9
|
import React, { createContext, useCallback, useContext, useRef, useState } from "react";
|
|
10
|
-
|
|
11
10
|
//#region src/components/Tearsheet/next/StackContext.tsx
|
|
12
11
|
/**
|
|
13
12
|
* Copyright IBM Corp. 2025, 2025
|
|
@@ -73,6 +72,5 @@ const useStackContext = () => {
|
|
|
73
72
|
};
|
|
74
73
|
return context;
|
|
75
74
|
};
|
|
76
|
-
|
|
77
75
|
//#endregion
|
|
78
|
-
export { StackProvider, useStackContext };
|
|
76
|
+
export { StackProvider, useStackContext };
|
|
@@ -23,7 +23,6 @@ import React, { forwardRef, useEffect, useRef, useState } from "react";
|
|
|
23
23
|
import { ComposedModal, ModalBody, unstable_FeatureFlags, usePrefix } from "@carbon/react";
|
|
24
24
|
import { createPortal } from "react-dom";
|
|
25
25
|
import { breakpoints } from "@carbon/layout";
|
|
26
|
-
|
|
27
26
|
//#region src/components/Tearsheet/next/Tearsheet.tsx
|
|
28
27
|
/**
|
|
29
28
|
* Copyright IBM Corp. 2025, 2025
|
|
@@ -161,6 +160,5 @@ Tearsheet.NavigationBar = TearsheetNavigationBar;
|
|
|
161
160
|
Tearsheet.ScrollButton = TearsheetScrollButton;
|
|
162
161
|
Tearsheet.HeaderActions = TearsheetHeaderActions;
|
|
163
162
|
Tearsheet.HeaderActionItem = TearsheetHeaderActionItem;
|
|
164
|
-
|
|
165
163
|
//#endregion
|
|
166
|
-
export { Tearsheet };
|
|
164
|
+
export { Tearsheet };
|
|
@@ -12,7 +12,6 @@ import { TearsheetContext, blockClass } from "./context.js";
|
|
|
12
12
|
import { useCollapsible } from "../../../global/js/hooks/useCollapsible.js";
|
|
13
13
|
import React, { forwardRef, useContext, useEffect, useRef, useState } from "react";
|
|
14
14
|
import { Layer } from "@carbon/react";
|
|
15
|
-
|
|
16
15
|
//#region src/components/Tearsheet/next/TearsheetBody.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2025
|
|
@@ -84,6 +83,5 @@ const Influencer = forwardRef(({ children, className, influencerPanelOpen = fals
|
|
|
84
83
|
className: (0, import_classnames.default)(`${blockClass}__side-panel`, className)
|
|
85
84
|
}, children);
|
|
86
85
|
});
|
|
87
|
-
|
|
88
86
|
//#endregion
|
|
89
|
-
export { Influencer, MainContent, SummaryContent, TearsheetBody as default };
|
|
87
|
+
export { Influencer, MainContent, SummaryContent, TearsheetBody as default };
|
|
@@ -10,7 +10,6 @@ import { require_classnames } from "../../../node_modules/classnames/index.js";
|
|
|
10
10
|
import { ActionSet } from "../../ActionSet/ActionSet.js";
|
|
11
11
|
import { TearsheetContext, blockClass } from "./context.js";
|
|
12
12
|
import React, { forwardRef, useContext } from "react";
|
|
13
|
-
|
|
14
13
|
//#region src/components/Tearsheet/next/TearsheetFooter.tsx
|
|
15
14
|
/**
|
|
16
15
|
* Copyright IBM Corp. 2025, 2025
|
|
@@ -36,6 +35,5 @@ const TearsheetFooter = forwardRef(({ children, className, actions, buttonSize }
|
|
|
36
35
|
}));
|
|
37
36
|
});
|
|
38
37
|
TearsheetFooter.displayName = "TearsheetFooter";
|
|
39
|
-
|
|
40
38
|
//#endregion
|
|
41
|
-
export { TearsheetFooter as default };
|
|
39
|
+
export { TearsheetFooter as default };
|
|
@@ -11,7 +11,6 @@ import { TearsheetContext, blockClass } from "./context.js";
|
|
|
11
11
|
import React, { useContext, useEffect, useRef } from "react";
|
|
12
12
|
import { IconButton, ModalHeader } from "@carbon/react";
|
|
13
13
|
import { ChevronUp } from "@carbon/react/icons";
|
|
14
|
-
|
|
15
14
|
//#region src/components/Tearsheet/next/TearsheetHeader.tsx
|
|
16
15
|
/**
|
|
17
16
|
* Copyright IBM Corp. 2025
|
|
@@ -71,6 +70,5 @@ const TearsheetScrollButton = React.forwardRef(function PageHeaderExpander({ cla
|
|
|
71
70
|
className: (0, import_classnames.default)(className, `${blockClass}__scroller-button`)
|
|
72
71
|
}, /* @__PURE__ */ React.createElement(ChevronUp, { className: (0, import_classnames.default)(`${blockClass}__scroller-button-icon`, { [`${blockClass}__scroller-button-icon-collapsed`]: fullyCollapsed }) })));
|
|
73
72
|
});
|
|
74
|
-
|
|
75
73
|
//#endregion
|
|
76
|
-
export { TearsheetNavigationBar, TearsheetScrollButton, TearsheetHeader as default };
|
|
74
|
+
export { TearsheetNavigationBar, TearsheetScrollButton, TearsheetHeader as default };
|
|
@@ -12,7 +12,6 @@ import { blockClass } from "./context.js";
|
|
|
12
12
|
import React, { useRef, useState } from "react";
|
|
13
13
|
import { MenuButton, MenuItem } from "@carbon/react";
|
|
14
14
|
import { createOverflowHandler } from "@carbon/utilities";
|
|
15
|
-
|
|
16
15
|
//#region src/components/Tearsheet/next/TearsheetHeaderActions.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2025
|
|
@@ -72,6 +71,5 @@ const TearsheetHeaderActions = ({ className, children, menuButtonProps }) => {
|
|
|
72
71
|
const TearsheetHeaderActionItem = ({ children, className }) => {
|
|
73
72
|
return /* @__PURE__ */ React.createElement("div", { className: `${blockClass}__header-action-item ${className}` }, children);
|
|
74
73
|
};
|
|
75
|
-
|
|
76
74
|
//#endregion
|
|
77
|
-
export { TearsheetHeaderActionItem, TearsheetHeaderActions };
|
|
75
|
+
export { TearsheetHeaderActionItem, TearsheetHeaderActions };
|
|
@@ -12,7 +12,6 @@ import { TearsheetContext, blockClass } from "./context.js";
|
|
|
12
12
|
import React, { cloneElement, isValidElement, useContext } from "react";
|
|
13
13
|
import { AILabel, IconButton, usePrefix } from "@carbon/react";
|
|
14
14
|
import { Close } from "@carbon/react/icons";
|
|
15
|
-
|
|
16
15
|
//#region src/components/Tearsheet/next/TearsheetHeaderContent.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2025
|
|
@@ -51,6 +50,5 @@ const TearsheetHeaderContent = React.forwardRef((props, ref) => {
|
|
|
51
50
|
ref
|
|
52
51
|
}, !isSm ? /* @__PURE__ */ React.createElement(React.Fragment, null, headerActionsElement, decoratorElement, closeButtonElement, headerContent) : /* @__PURE__ */ React.createElement(React.Fragment, null, decoratorElement, closeButtonElement, headerContent, headerActionsElement));
|
|
53
52
|
});
|
|
54
|
-
|
|
55
53
|
//#endregion
|
|
56
|
-
export { TearsheetHeaderContent as default };
|
|
54
|
+
export { TearsheetHeaderContent as default };
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
import { pkg } from "../../../settings.js";
|
|
9
9
|
import { createContext } from "react";
|
|
10
|
-
|
|
11
10
|
//#region src/components/Tearsheet/next/context.ts
|
|
12
11
|
/**
|
|
13
12
|
* Copyright IBM Corp. 2025
|
|
@@ -25,6 +24,5 @@ const TearsheetContext = createContext({
|
|
|
25
24
|
hideCloseButton: false
|
|
26
25
|
});
|
|
27
26
|
const blockClass = `${pkg.prefix}--tearsheet__next`;
|
|
28
|
-
|
|
29
27
|
//#endregion
|
|
30
|
-
export { TearsheetContext, blockClass };
|
|
28
|
+
export { TearsheetContext, blockClass };
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
import { pkg } from "../../settings.js";
|
|
9
9
|
import { useCallback, useLayoutEffect, useState } from "react";
|
|
10
|
-
|
|
11
10
|
//#region src/components/Tearsheet/usePresence.ts
|
|
12
11
|
/**
|
|
13
12
|
* Copyright IBM Corp. 2025
|
|
@@ -48,10 +47,15 @@ const usePresence = (ref, isOpen) => {
|
|
|
48
47
|
handleAnimationEnd
|
|
49
48
|
]);
|
|
50
49
|
return {
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether the ref object is supposed to be mounted
|
|
52
|
+
*/
|
|
51
53
|
isPresent: isOpen || exitState !== "finished",
|
|
54
|
+
/**
|
|
55
|
+
* Indicates whether the ref object is currently exiting
|
|
56
|
+
*/
|
|
52
57
|
isExiting
|
|
53
58
|
};
|
|
54
59
|
};
|
|
55
|
-
|
|
56
60
|
//#endregion
|
|
57
|
-
export { usePresence };
|
|
61
|
+
export { usePresence };
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
import { usePresence } from "./usePresence.js";
|
|
9
9
|
import { useCallback, useMemo, useRef } from "react";
|
|
10
|
-
|
|
11
10
|
//#region src/components/Tearsheet/usePresenceContext.ts
|
|
12
11
|
/**
|
|
13
12
|
* Copyright IBM Corp. 2025
|
|
@@ -41,6 +40,5 @@ const usePresenceContext = (open, initialPresenceId) => {
|
|
|
41
40
|
isExiting
|
|
42
41
|
])];
|
|
43
42
|
};
|
|
44
|
-
|
|
45
43
|
//#endregion
|
|
46
|
-
export { usePresenceContext };
|
|
44
|
+
export { usePresenceContext };
|
|
@@ -12,7 +12,6 @@ import { getDevtoolsProps } from "../../global/js/utils/devtools.js";
|
|
|
12
12
|
import { getFocusableElements } from "../../global/js/utils/getFocusableElements.js";
|
|
13
13
|
import React, { createContext, forwardRef, useCallback, useEffect, useRef, useState } from "react";
|
|
14
14
|
import { bool, node, string } from "prop-types";
|
|
15
|
-
|
|
16
15
|
//#region src/components/Toolbar/Toolbar.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2021, 2025
|
|
@@ -72,10 +71,12 @@ const Toolbar = forwardRef(({ children, className, vertical, ...rest }, r) => {
|
|
|
72
71
|
const componentName = "Toolbar";
|
|
73
72
|
Toolbar.displayName = componentName;
|
|
74
73
|
Toolbar.propTypes = {
|
|
74
|
+
/** Provide the content of the `Toolbar` */
|
|
75
75
|
children: node.isRequired,
|
|
76
|
+
/** Provide an optional class to be applied to the containing node */
|
|
76
77
|
className: string,
|
|
78
|
+
/** Determines whether the `Toolbar` is rendered vertically */
|
|
77
79
|
vertical: bool
|
|
78
80
|
};
|
|
79
|
-
|
|
80
81
|
//#endregion
|
|
81
|
-
export { Toolbar, ToolbarContext, blockClass };
|
|
82
|
+
export { Toolbar, ToolbarContext, blockClass };
|
|
@@ -11,7 +11,6 @@ import { ToolbarContext, blockClass as blockClass$1 } from "./Toolbar.js";
|
|
|
11
11
|
import React, { forwardRef, useContext } from "react";
|
|
12
12
|
import { bool, func, node, string } from "prop-types";
|
|
13
13
|
import { IconButton } from "@carbon/react";
|
|
14
|
-
|
|
15
14
|
//#region src/components/Toolbar/ToolbarButton.tsx
|
|
16
15
|
/**
|
|
17
16
|
* Copyright IBM Corp. 2021, 2024
|
|
@@ -35,15 +34,24 @@ const ToolbarButton = forwardRef(({ caret = false, children, className, renderIc
|
|
|
35
34
|
}, /* @__PURE__ */ React.createElement(React.Fragment, null, Icon ? /* @__PURE__ */ React.createElement(Icon, null) : null, children, caret && /* @__PURE__ */ React.createElement("span", { className: `${blockClass}__caret` })));
|
|
36
35
|
});
|
|
37
36
|
ToolbarButton.displayName = "ToolbarButton";
|
|
38
|
-
const deprecatedProps = {
|
|
37
|
+
const deprecatedProps = {
|
|
38
|
+
/**
|
|
39
|
+
* **Deprecated**
|
|
40
|
+
* Specifies the label for the icon button
|
|
41
|
+
* */
|
|
42
|
+
iconDescription: string };
|
|
39
43
|
ToolbarButton.propTypes = {
|
|
44
|
+
/** Determines whether the caret is rendered */
|
|
40
45
|
caret: bool,
|
|
46
|
+
/** Provide the content of the `ToolbarButton` */
|
|
41
47
|
children: node,
|
|
48
|
+
/** Provide an optional class to be applied to the containing node */
|
|
42
49
|
className: string,
|
|
50
|
+
/** Specifies the label for the icon button */
|
|
43
51
|
label: string.isRequired,
|
|
52
|
+
/** Specifies the icon to be used by the ToolbarButton component */
|
|
44
53
|
renderIcon: func.isRequired,
|
|
45
54
|
...deprecatedProps
|
|
46
55
|
};
|
|
47
|
-
|
|
48
56
|
//#endregion
|
|
49
|
-
export { ToolbarButton };
|
|
57
|
+
export { ToolbarButton };
|
|
@@ -10,7 +10,6 @@ import { require_classnames } from "../../node_modules/classnames/index.js";
|
|
|
10
10
|
import { blockClass } from "./Toolbar.js";
|
|
11
11
|
import React, { forwardRef } from "react";
|
|
12
12
|
import { node, string } from "prop-types";
|
|
13
|
-
|
|
14
13
|
//#region src/components/Toolbar/ToolbarGroup.tsx
|
|
15
14
|
/**
|
|
16
15
|
* Copyright IBM Corp. 2021, 2024
|
|
@@ -29,9 +28,10 @@ const ToolbarGroup = forwardRef(({ className, children, ...rest }, ref) => {
|
|
|
29
28
|
});
|
|
30
29
|
ToolbarGroup.displayName = "ToolbarGroup";
|
|
31
30
|
ToolbarGroup.propTypes = {
|
|
31
|
+
/** Provide the content of the `ToolbarGroup` */
|
|
32
32
|
children: node.isRequired,
|
|
33
|
+
/** Provide an optional class to be applied to the containing node */
|
|
33
34
|
className: string
|
|
34
35
|
};
|
|
35
|
-
|
|
36
36
|
//#endregion
|
|
37
|
-
export { ToolbarGroup };
|
|
37
|
+
export { ToolbarGroup };
|
|
@@ -10,7 +10,6 @@ import { require_classnames } from "../../node_modules/classnames/index.js";
|
|
|
10
10
|
import { pkg } from "../../settings.js";
|
|
11
11
|
import React from "react";
|
|
12
12
|
import PropTypes from "prop-types";
|
|
13
|
-
|
|
14
13
|
//#region src/components/TooltipTrigger/TooltipTrigger.tsx
|
|
15
14
|
/**
|
|
16
15
|
* Copyright IBM Corp. 2023, 2023
|
|
@@ -35,9 +34,14 @@ const TooltipTrigger = React.forwardRef(({ children, className, ...rest }, ref)
|
|
|
35
34
|
});
|
|
36
35
|
TooltipTrigger.displayName = componentName;
|
|
37
36
|
TooltipTrigger.propTypes = {
|
|
37
|
+
/**
|
|
38
|
+
* Child content of tooltip trigger
|
|
39
|
+
*/
|
|
38
40
|
children: PropTypes.node,
|
|
41
|
+
/**
|
|
42
|
+
* Provide an optional class to be applied to the containing node.
|
|
43
|
+
*/
|
|
39
44
|
className: PropTypes.string
|
|
40
45
|
};
|
|
41
|
-
|
|
42
46
|
//#endregion
|
|
43
|
-
export { TooltipTrigger };
|
|
47
|
+
export { TooltipTrigger };
|
|
@@ -13,7 +13,6 @@ import { getDevtoolsProps } from "../../global/js/utils/devtools.js";
|
|
|
13
13
|
import React, { Children, useEffect, useRef, useState } from "react";
|
|
14
14
|
import PropTypes from "prop-types";
|
|
15
15
|
import { Button, usePrefix } from "@carbon/react";
|
|
16
|
-
|
|
17
16
|
//#region src/components/TruncatedList/TruncatedList.tsx
|
|
18
17
|
/**
|
|
19
18
|
* Copyright IBM Corp. 2024, 2025
|
|
@@ -90,16 +89,46 @@ const TruncatedList = React.forwardRef(({ children, className, as: List = defaul
|
|
|
90
89
|
});
|
|
91
90
|
TruncatedList.displayName = componentName;
|
|
92
91
|
TruncatedList.propTypes = {
|
|
92
|
+
/**
|
|
93
|
+
* The type of list element to render.
|
|
94
|
+
* This could be a `ul`, `ol`, or a custom React component.
|
|
95
|
+
*/
|
|
93
96
|
as: PropTypes.oneOfType([PropTypes.elementType, PropTypes.string]),
|
|
97
|
+
/**
|
|
98
|
+
* Optional class name for expand/collapse button.
|
|
99
|
+
*/
|
|
94
100
|
buttonClassName: PropTypes.string,
|
|
101
|
+
/**
|
|
102
|
+
* The contents of the TruncatedList.
|
|
103
|
+
*/
|
|
95
104
|
children: PropTypes.node.isRequired,
|
|
105
|
+
/**
|
|
106
|
+
* Provide an optional class to be applied to the containing node.
|
|
107
|
+
*/
|
|
96
108
|
className: PropTypes.string,
|
|
109
|
+
/**
|
|
110
|
+
* Number of items to render and display when the list is truncated and collapsed.
|
|
111
|
+
* Scrolling is not enabled when collapsed. The smallest number is 1.
|
|
112
|
+
*/
|
|
97
113
|
collapsedItemsLimit: PropTypes.number,
|
|
114
|
+
/**
|
|
115
|
+
* Maximum number of items to show when the list is expanded. All
|
|
116
|
+
* items are rendered when the list is expanded. Scrolling is enabled
|
|
117
|
+
* if there are more items to display than this number.
|
|
118
|
+
*/
|
|
98
119
|
expandedItemsLimit: PropTypes.number,
|
|
120
|
+
/**
|
|
121
|
+
* Optional callback reports the collapsed state of the list.
|
|
122
|
+
*/
|
|
99
123
|
onClick: PropTypes.func,
|
|
124
|
+
/**
|
|
125
|
+
* Text label for when the list is expanded.
|
|
126
|
+
*/
|
|
100
127
|
viewLessLabel: PropTypes.string,
|
|
128
|
+
/**
|
|
129
|
+
* Callback function for building the label when the list is collapsed.
|
|
130
|
+
*/
|
|
101
131
|
viewMoreLabel: PropTypes.func
|
|
102
132
|
};
|
|
103
|
-
|
|
104
133
|
//#endregion
|
|
105
|
-
export { TruncatedList };
|
|
134
|
+
export { TruncatedList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TruncatedText.d.ts","sourceRoot":"","sources":["../../../src/components/TruncatedText/TruncatedText.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAW,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAK1D,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"TruncatedText.d.ts","sourceRoot":"","sources":["../../../src/components/TruncatedText/TruncatedText.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAW,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAK1D,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD,eAAO,MAAM,aAAa,2FAgGzB,CAAC"}
|
|
@@ -12,7 +12,6 @@ import { getDevtoolsProps } from "../../global/js/utils/devtools.js";
|
|
|
12
12
|
import useTruncatedText from "./useTruncatedText.js";
|
|
13
13
|
import React, { forwardRef, useState } from "react";
|
|
14
14
|
import { Tooltip } from "@carbon/react";
|
|
15
|
-
|
|
16
15
|
//#region src/components/TruncatedText/TruncatedText.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2025
|
|
@@ -41,17 +40,20 @@ const TruncatedText = forwardRef((props, ref) => {
|
|
|
41
40
|
if (key === "Enter" || key === " ") handleExpand();
|
|
42
41
|
};
|
|
43
42
|
const valueBody = /* @__PURE__ */ React.createElement("span", {
|
|
44
|
-
...type === "tooltip" ? { role: "button" } : {},
|
|
45
43
|
ref: contentRef,
|
|
46
44
|
className: textContentClasses,
|
|
47
45
|
id,
|
|
48
46
|
style: textContentStyles
|
|
49
47
|
}, value);
|
|
50
|
-
const tooltipVariant = /* @__PURE__ */ React.createElement(Tooltip, {
|
|
48
|
+
const tooltipVariant = truncated ? /* @__PURE__ */ React.createElement(Tooltip, {
|
|
51
49
|
align,
|
|
52
50
|
autoAlign,
|
|
53
51
|
label: value
|
|
54
|
-
},
|
|
52
|
+
}, /* @__PURE__ */ React.createElement("button", {
|
|
53
|
+
type: "button",
|
|
54
|
+
className: `${blockClass}__tooltip-trigger`,
|
|
55
|
+
"aria-label": value
|
|
56
|
+
}, valueBody)) : valueBody;
|
|
55
57
|
const expandVariant = /* @__PURE__ */ React.createElement(React.Fragment, null, valueBody, /* @__PURE__ */ React.createElement("span", {
|
|
56
58
|
"aria-controls": id,
|
|
57
59
|
"aria-expanded": expanded,
|
|
@@ -70,6 +72,5 @@ const TruncatedText = forwardRef((props, ref) => {
|
|
|
70
72
|
}, truncated ? truncatedBody : valueBody);
|
|
71
73
|
});
|
|
72
74
|
TruncatedText.displayName = componentName;
|
|
73
|
-
|
|
74
75
|
//#endregion
|
|
75
|
-
export { TruncatedText };
|
|
76
|
+
export { TruncatedText };
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
import { checkHeightOverflow } from "../../global/js/utils/checkForOverflow.js";
|
|
9
9
|
import { useEffect, useRef, useState } from "react";
|
|
10
|
-
|
|
11
10
|
//#region src/components/TruncatedText/useTruncatedText.ts
|
|
12
11
|
/**
|
|
13
12
|
* Copyright IBM Corp. 2025
|
|
@@ -40,6 +39,5 @@ function useTruncatedText({ lines, value, expanded }) {
|
|
|
40
39
|
truncated
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
|
-
|
|
44
42
|
//#endregion
|
|
45
|
-
export { useTruncatedText as default };
|
|
43
|
+
export { useTruncatedText as default };
|
|
@@ -15,7 +15,6 @@ import React from "react";
|
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
16
|
import { Tooltip, usePrefix } from "@carbon/react";
|
|
17
17
|
import { User } from "@carbon/react/icons";
|
|
18
|
-
|
|
19
18
|
//#region src/components/UserAvatar/UserAvatar.tsx
|
|
20
19
|
/**
|
|
21
20
|
* Copyright IBM Corp. 2024, 2025
|
|
@@ -71,6 +70,10 @@ const UserAvatar = React.forwardRef((props, ref) => {
|
|
|
71
70
|
});
|
|
72
71
|
UserAvatar.displayName = componentName;
|
|
73
72
|
UserAvatar.propTypes = {
|
|
73
|
+
/**
|
|
74
|
+
* Provide the background color need to be set for UserAvatar. Background color will be set based on lighter or darker theme.
|
|
75
|
+
* For example: if you select order-5-purple, it will take $purple-60 for lighter theme and $purple-50 for darker theme.
|
|
76
|
+
*/
|
|
74
77
|
backgroundColor: PropTypes.oneOf([
|
|
75
78
|
"order-1-cyan",
|
|
76
79
|
"order-2-gray",
|
|
@@ -85,21 +88,45 @@ UserAvatar.propTypes = {
|
|
|
85
88
|
"order-11-purple",
|
|
86
89
|
"order-12-teal"
|
|
87
90
|
]),
|
|
91
|
+
/**
|
|
92
|
+
* Provide an optional class to be applied to the containing node.
|
|
93
|
+
*/
|
|
88
94
|
className: PropTypes.string,
|
|
95
|
+
/**
|
|
96
|
+
* When passing the image prop, supply a full path to the image to be displayed.
|
|
97
|
+
*/
|
|
98
|
+
/**@ts-ignore */
|
|
89
99
|
image: PropTypes.string,
|
|
100
|
+
/**
|
|
101
|
+
* When passing the image prop use the imageDescription prop to describe the image for screen reader.
|
|
102
|
+
*/
|
|
103
|
+
/**@ts-ignore */
|
|
90
104
|
imageDescription: PropTypes.string,
|
|
105
|
+
/**
|
|
106
|
+
* When passing the name prop, either send the initials to be used or the user's full name. The first two capital letters of the user's name will be used as the name.
|
|
107
|
+
*/
|
|
91
108
|
name: PropTypes.string,
|
|
109
|
+
/**
|
|
110
|
+
* Provide a custom icon to use if you need to use an icon other than the default one
|
|
111
|
+
*/
|
|
112
|
+
/**@ts-ignore */
|
|
92
113
|
renderIcon: PropTypes.oneOfType([
|
|
93
114
|
PropTypes.func,
|
|
94
115
|
PropTypes.object,
|
|
95
116
|
PropTypes.string
|
|
96
117
|
]),
|
|
118
|
+
/**
|
|
119
|
+
* Set the size of the avatar circle
|
|
120
|
+
*/
|
|
97
121
|
size: PropTypes.oneOf([
|
|
98
122
|
"xl",
|
|
99
123
|
"lg",
|
|
100
124
|
"md",
|
|
101
125
|
"sm"
|
|
102
126
|
]),
|
|
127
|
+
/**
|
|
128
|
+
* Specify how the trigger should align with the tooltip
|
|
129
|
+
*/
|
|
103
130
|
tooltipAlignment: PropTypes.oneOf([
|
|
104
131
|
"top",
|
|
105
132
|
"top-left",
|
|
@@ -110,8 +137,10 @@ UserAvatar.propTypes = {
|
|
|
110
137
|
"left",
|
|
111
138
|
"right"
|
|
112
139
|
]),
|
|
140
|
+
/**
|
|
141
|
+
* Pass in the display name to have it shown on hover
|
|
142
|
+
*/
|
|
113
143
|
tooltipText: PropTypes.string
|
|
114
144
|
};
|
|
115
|
-
|
|
116
145
|
//#endregion
|
|
117
|
-
export { UserAvatar };
|
|
146
|
+
export { UserAvatar };
|