@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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __toESM } from "../../../_virtual/_rolldown/runtime.js";
|
|
9
9
|
import { require_classnames } from "../../../node_modules/classnames/index.js";
|
|
10
10
|
import uuidv4 from "../../../global/js/utils/uuidv4.js";
|
|
11
|
-
import {
|
|
11
|
+
import { blockClass, focusThisField, manageTabIndexAndFocus } from "../utils/util.js";
|
|
12
12
|
import { ConditionBuilderContext, getEmptyState } from "../ConditionBuilderContext/ConditionBuilderProvider.js";
|
|
13
13
|
import { useTranslations } from "../utils/useTranslations.js";
|
|
14
14
|
import { ConditionBuilderItem } from "../ConditionBuilderItem/ConditionBuilderItem.js";
|
|
@@ -19,7 +19,6 @@ import ConditionBlock from "../ConditionBlock/ConditionBlock.js";
|
|
|
19
19
|
import ConditionPreview from "../ConditionPreview/ConditionPreview.js";
|
|
20
20
|
import React, { Fragment, useContext, useEffect, useRef, useState } from "react";
|
|
21
21
|
import PropTypes from "prop-types";
|
|
22
|
-
|
|
23
22
|
//#region src/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.tsx
|
|
24
23
|
/**
|
|
25
24
|
* Copyright IBM Corp. 2024
|
|
@@ -35,7 +34,7 @@ const ConditionGroupBuilder = ({ group, aria, onRemove, onChange, className }) =
|
|
|
35
34
|
"conditionBuilderText"
|
|
36
35
|
]);
|
|
37
36
|
const { statementConfig } = useDataConfigs();
|
|
38
|
-
const { variant, conditionBuilderRef, statementConfigCustom } = useContext(ConditionBuilderContext);
|
|
37
|
+
const { variant, conditionBuilderRef, statementConfigCustom, onRemoveItem, rootState } = useContext(ConditionBuilderContext);
|
|
39
38
|
const [showConditionPreview, setShowConditionPreview] = useState(-1);
|
|
40
39
|
const [showConditionSubGroupPreview, setShowConditionSubGroupPreview] = useState(-1);
|
|
41
40
|
useState(false);
|
|
@@ -63,8 +62,17 @@ const ConditionGroupBuilder = ({ group, aria, onRemove, onChange, className }) =
|
|
|
63
62
|
return window;
|
|
64
63
|
};
|
|
65
64
|
const onRemoveHandler = (conditionId, evt, conditionIndex) => {
|
|
65
|
+
const itemToRemove = group?.conditions?.find((condition) => condition.id === conditionId);
|
|
66
|
+
const removeType = itemToRemove?.conditions ? "subgroup" : "condition";
|
|
67
|
+
const { preventRemove } = onRemoveItem?.({
|
|
68
|
+
type: removeType,
|
|
69
|
+
state: rootState,
|
|
70
|
+
item: itemToRemove,
|
|
71
|
+
group
|
|
72
|
+
}) ?? {};
|
|
73
|
+
if (preventRemove) return;
|
|
66
74
|
if (group && group.conditions && group.conditions.length > 1) {
|
|
67
|
-
if (variant ==
|
|
75
|
+
if (variant == "Hierarchical") handleFocusOnCloseHierarchical(evt);
|
|
68
76
|
else handleFocusOnClose(evt, conditionIndex);
|
|
69
77
|
if (!checkGroupHaveCondition(group.conditions, conditionId)) {
|
|
70
78
|
const allConditions = group?.conditions?.reduce((acc, condition) => {
|
|
@@ -308,15 +316,29 @@ const ConditionGroupBuilder = ({ group, aria, onRemove, onChange, className }) =
|
|
|
308
316
|
group
|
|
309
317
|
}))));
|
|
310
318
|
};
|
|
311
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, variant ==
|
|
319
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, variant == "Hierarchical" && getHierarchicalVariant(), variant == "Non-Hierarchical" && getNonHierarchicalVariant());
|
|
312
320
|
};
|
|
313
321
|
ConditionGroupBuilder.propTypes = {
|
|
322
|
+
/**
|
|
323
|
+
* object contains the aria attributes
|
|
324
|
+
*/
|
|
314
325
|
aria: PropTypes.object,
|
|
326
|
+
/**
|
|
327
|
+
* state defines the current group
|
|
328
|
+
*/
|
|
329
|
+
/**
|
|
330
|
+
* Provide an optional class to be applied to the containing node.
|
|
331
|
+
*/
|
|
315
332
|
className: PropTypes.string,
|
|
316
333
|
group: PropTypes.object,
|
|
334
|
+
/**
|
|
335
|
+
* callback to update the current condition of the state tree
|
|
336
|
+
*/
|
|
317
337
|
onChange: PropTypes.func,
|
|
338
|
+
/**
|
|
339
|
+
* call back to remove the particular group from the state tree
|
|
340
|
+
*/
|
|
318
341
|
onRemove: PropTypes.func
|
|
319
342
|
};
|
|
320
|
-
|
|
321
343
|
//#endregion
|
|
322
|
-
export { ConditionGroupBuilder as default };
|
|
344
|
+
export { ConditionGroupBuilder as default };
|
|
@@ -14,7 +14,6 @@ import ConditionConnector from "../ConditionBuilderConnector/ConditionConnector.
|
|
|
14
14
|
import React, { useEffect, useState } from "react";
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
16
|
import { Bee } from "@carbon/react/icons";
|
|
17
|
-
|
|
18
17
|
//#region src/components/ConditionBuilder/ConditionPreview/ConditionPreview.tsx
|
|
19
18
|
/**
|
|
20
19
|
* Copyright IBM Corp. 2024
|
|
@@ -65,14 +64,22 @@ const ConditionPreview = ({ previewType, group, colorIndex, className }) => {
|
|
|
65
64
|
};
|
|
66
65
|
ConditionPreview.propTypes = {
|
|
67
66
|
className: PropTypes.string,
|
|
67
|
+
/**
|
|
68
|
+
* index of the color for next group
|
|
69
|
+
*/
|
|
68
70
|
colorIndex: PropTypes.number,
|
|
71
|
+
/**
|
|
72
|
+
* current conditional group
|
|
73
|
+
*/
|
|
69
74
|
group: PropTypes.object,
|
|
75
|
+
/**
|
|
76
|
+
* type of review to be displayed
|
|
77
|
+
*/
|
|
70
78
|
previewType: PropTypes.oneOf([
|
|
71
79
|
"condition",
|
|
72
80
|
"subGroup",
|
|
73
81
|
"newGroup"
|
|
74
82
|
])
|
|
75
83
|
};
|
|
76
|
-
|
|
77
84
|
//#endregion
|
|
78
|
-
export { ConditionPreview as default };
|
|
85
|
+
export { ConditionPreview as default };
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import { blockClass, checkForHoldingKey, focusThisField, focusThisItem, manageTabIndexAndFocus, traverseClockwise, traverseReverse } from "./util.js";
|
|
10
9
|
//#region src/components/ConditionBuilder/utils/handleKeyboardEvents.js
|
|
11
10
|
/**
|
|
12
11
|
* Copyright IBM Corp. 2024
|
|
@@ -88,7 +87,7 @@ const handleKeyPressForMainContent = (evt, conditionBuilderRef, variant) => {
|
|
|
88
87
|
switch (evt.key) {
|
|
89
88
|
case "ArrowRight":
|
|
90
89
|
evt.preventDefault();
|
|
91
|
-
if (variant ==
|
|
90
|
+
if (variant == "Hierarchical") {
|
|
92
91
|
let allCellsInRow = Array.from(evt.target.closest("[role=\"row\"]")?.querySelectorAll("[role=\"gridcell\"] button"));
|
|
93
92
|
if (allCellsInRow.length === 1) {
|
|
94
93
|
evt.target = evt.target.closest("[role=\"row\"]");
|
|
@@ -102,7 +101,7 @@ const handleKeyPressForMainContent = (evt, conditionBuilderRef, variant) => {
|
|
|
102
101
|
break;
|
|
103
102
|
case "ArrowLeft":
|
|
104
103
|
evt.preventDefault();
|
|
105
|
-
if (variant ==
|
|
104
|
+
if (variant == "Hierarchical") {
|
|
106
105
|
if (evt.target.getAttribute("role") !== "row") {
|
|
107
106
|
let allCellsInRow = Array.from(evt.target.closest("[role=\"row\"]")?.querySelectorAll("[role=\"gridcell\"] button"));
|
|
108
107
|
let currentItemIndex = allCellsInRow.indexOf(evt.target);
|
|
@@ -114,7 +113,7 @@ const handleKeyPressForMainContent = (evt, conditionBuilderRef, variant) => {
|
|
|
114
113
|
case "ArrowUp":
|
|
115
114
|
case "ArrowDown":
|
|
116
115
|
evt.preventDefault();
|
|
117
|
-
if (variant ==
|
|
116
|
+
if (variant == "Hierarchical") handleRowNavigationHierarchical(evt, conditionBuilderRef, variant);
|
|
118
117
|
else handleRowNavigation(evt, conditionBuilderRef, variant);
|
|
119
118
|
break;
|
|
120
119
|
case "Enter":
|
|
@@ -152,7 +151,7 @@ const navigateToNextRowCell = (evt, currentRowIndex, rows, variant, conditionBui
|
|
|
152
151
|
const nextRow = rows[nextRowIndex];
|
|
153
152
|
const itemName = evt.target.dataset.name;
|
|
154
153
|
if (nextRow?.querySelector(`[data-name="${itemName}"]`)) manageTabIndexAndFocus(nextRow?.querySelector(`[data-name="${itemName}"]`), conditionBuilderRef);
|
|
155
|
-
else if (variant ===
|
|
154
|
+
else if (variant === "Hierarchical") manageTabIndexAndFocus(nextRow, conditionBuilderRef);
|
|
156
155
|
};
|
|
157
156
|
const handleCellNavigation = (evt, conditionBuilderRef) => {
|
|
158
157
|
conditionBuilderRef.current.querySelectorAll(`[role="gridcell"] button`).forEach((eachElem, index, allElements) => {
|
|
@@ -160,6 +159,5 @@ const handleCellNavigation = (evt, conditionBuilderRef) => {
|
|
|
160
159
|
else traverseReverse(eachElem, index, allElements, null, null, conditionBuilderRef);
|
|
161
160
|
});
|
|
162
161
|
};
|
|
163
|
-
|
|
164
162
|
//#endregion
|
|
165
|
-
export { handleKeyDown, handleKeyDownForPopover };
|
|
163
|
+
export { handleKeyDown, handleKeyDownForPopover };
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { ConditionBuilderContext } from "../ConditionBuilderContext/ConditionBuilderProvider.js";
|
|
9
9
|
import { useTranslations } from "./useTranslations.js";
|
|
10
10
|
import { useContext } from "react";
|
|
11
|
-
|
|
12
11
|
//#region src/components/ConditionBuilder/utils/useDataConfigs.js
|
|
13
12
|
/**
|
|
14
13
|
* Copyright IBM Corp. 2024
|
|
@@ -136,6 +135,5 @@ const useDataConfigs = () => {
|
|
|
136
135
|
]
|
|
137
136
|
};
|
|
138
137
|
};
|
|
139
|
-
|
|
140
138
|
//#endregion
|
|
141
|
-
export { useDataConfigs };
|
|
139
|
+
export { useDataConfigs };
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { useEffect, useRef } from "react";
|
|
9
|
-
|
|
10
9
|
//#region src/components/ConditionBuilder/utils/useEvent.ts
|
|
11
10
|
/**
|
|
12
11
|
* Copyright IBM Corp. 2016, 2025
|
|
@@ -31,6 +30,5 @@ const useEvent = (elementOrRef, eventName, callback) => {
|
|
|
31
30
|
};
|
|
32
31
|
}, [elementOrRef, eventName]);
|
|
33
32
|
};
|
|
34
|
-
|
|
35
33
|
//#endregion
|
|
36
|
-
export { useEvent };
|
|
34
|
+
export { useEvent };
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { ConditionBuilderContext } from "../ConditionBuilderContext/ConditionBuilderProvider.js";
|
|
9
9
|
import { translationsObject } from "../ConditionBuilderContext/translationObject.js";
|
|
10
10
|
import { useContext } from "react";
|
|
11
|
-
|
|
12
11
|
//#region src/components/ConditionBuilder/utils/useTranslations.js
|
|
13
12
|
/**
|
|
14
13
|
* Copyright IBM Corp. 2021, 2023
|
|
@@ -25,6 +24,5 @@ const useTranslations = (translationKeys, alterTranslationKeyMap) => {
|
|
|
25
24
|
else return translationKey;
|
|
26
25
|
});
|
|
27
26
|
};
|
|
28
|
-
|
|
29
27
|
//#endregion
|
|
30
|
-
export { useTranslations };
|
|
28
|
+
export { useTranslations };
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { pkg } from "../../../settings.js";
|
|
9
|
-
|
|
10
9
|
//#region src/components/ConditionBuilder/utils/util.js
|
|
11
10
|
/**
|
|
12
11
|
* Copyright IBM Corp. 2024
|
|
@@ -76,6 +75,5 @@ const onKeyDownHandlerForSearch = (evt, conditionBuilderRef, closePopover) => {
|
|
|
76
75
|
closePopover?.();
|
|
77
76
|
}
|
|
78
77
|
};
|
|
79
|
-
|
|
80
78
|
//#endregion
|
|
81
|
-
export { HIERARCHICAL_VARIANT, NON_HIERARCHICAL_VARIANT, blockClass, checkForHoldingKey, checkForMultiSelectOperator, checkIsValid, focusThisField, focusThisItem, getValue, manageTabIndexAndFocus, onKeyDownHandlerForSearch, traverseClockwise, traverseReverse };
|
|
79
|
+
export { HIERARCHICAL_VARIANT, NON_HIERARCHICAL_VARIANT, blockClass, checkForHoldingKey, checkForMultiSelectOperator, checkIsValid, focusThisField, focusThisItem, getValue, manageTabIndexAndFocus, onKeyDownHandlerForSearch, traverseClockwise, traverseReverse };
|
|
@@ -21,7 +21,6 @@ import { lastIndexInArray } from "../../global/js/utils/lastIndexInArray.js";
|
|
|
21
21
|
import React, { createContext, isValidElement, useEffect, useState } from "react";
|
|
22
22
|
import PropTypes from "prop-types";
|
|
23
23
|
import { Button, ComposedModal, Form, ModalBody, ModalFooter, ModalHeader, Tooltip } from "@carbon/react";
|
|
24
|
-
|
|
25
24
|
//#region src/components/CreateFullPage/CreateFullPage.tsx
|
|
26
25
|
/**
|
|
27
26
|
* Copyright IBM Corp. 2021, 2025
|
|
@@ -99,6 +98,7 @@ const CreateFullPage = React.forwardRef(({ breadcrumbsOverflowAriaLabel, breadcr
|
|
|
99
98
|
isSubmitDisabled: isDisabled,
|
|
100
99
|
setCurrentStep,
|
|
101
100
|
setIsSubmitting,
|
|
101
|
+
/**@ts-ignore */
|
|
102
102
|
setShouldViewAll,
|
|
103
103
|
onClose,
|
|
104
104
|
onRequestSubmit,
|
|
@@ -179,36 +179,112 @@ const CreateFullPage = React.forwardRef(({ breadcrumbsOverflowAriaLabel, breadcr
|
|
|
179
179
|
});
|
|
180
180
|
CreateFullPage.displayName = componentName;
|
|
181
181
|
CreateFullPage.propTypes = {
|
|
182
|
+
/**
|
|
183
|
+
* The back button text
|
|
184
|
+
*/
|
|
182
185
|
backButtonText: PropTypes.string.isRequired,
|
|
186
|
+
/**
|
|
187
|
+
* align breadcrumb overflow tooltip
|
|
188
|
+
*/
|
|
183
189
|
breadcrumbOverflowTooltipAlign: Tooltip.propTypes.align,
|
|
190
|
+
/** The header breadcrumbs */
|
|
191
|
+
/**@ts-ignore */
|
|
184
192
|
breadcrumbs: PropTypes.arrayOf(PropTypes.shape({
|
|
193
|
+
/** breadcrumb item key */
|
|
185
194
|
key: PropTypes.string.isRequired,
|
|
195
|
+
/** breadcrumb item label */
|
|
186
196
|
label: PropTypes.string.isRequired,
|
|
197
|
+
/** breadcrumb item link */
|
|
187
198
|
href: PropTypes.string,
|
|
199
|
+
/** breadcrumb item title tooltip */
|
|
188
200
|
title: PropTypes.string,
|
|
201
|
+
/** Provide if this breadcrumb item represents the current page */
|
|
189
202
|
isCurrentPage: PropTypes.bool
|
|
190
203
|
})),
|
|
204
|
+
/**
|
|
205
|
+
* Label for open/close overflow button used for breadcrumb items that do not fit
|
|
206
|
+
*/
|
|
191
207
|
breadcrumbsOverflowAriaLabel: PropTypes.string,
|
|
208
|
+
/**
|
|
209
|
+
* The cancel button text
|
|
210
|
+
*/
|
|
192
211
|
cancelButtonText: PropTypes.string.isRequired,
|
|
212
|
+
/**
|
|
213
|
+
* The main content of the full page
|
|
214
|
+
*/
|
|
193
215
|
children: PropTypes.node,
|
|
216
|
+
/**
|
|
217
|
+
* Provide an optional class to be applied to the containing node.
|
|
218
|
+
*/
|
|
194
219
|
className: PropTypes.string,
|
|
220
|
+
/**
|
|
221
|
+
* Specifies elements to focus on first on render.
|
|
222
|
+
*/
|
|
195
223
|
firstFocusElement: PropTypes.string,
|
|
224
|
+
/**
|
|
225
|
+
* This can be used to open the component to a step other than the first step.
|
|
226
|
+
* For example, a create flow was previously in progress, data was saved, and
|
|
227
|
+
* is now being completed.
|
|
228
|
+
*/
|
|
196
229
|
initialStep: PropTypes.number,
|
|
230
|
+
/** Maximum visible breadcrumb-items before overflow is used (values less than 1 are treated as 1) */
|
|
197
231
|
maxVisibleBreadcrumbs: PropTypes.number,
|
|
232
|
+
/**
|
|
233
|
+
* The primary 'danger' button text in the modal
|
|
234
|
+
*/
|
|
198
235
|
modalDangerButtonText: PropTypes.string.isRequired,
|
|
236
|
+
/**
|
|
237
|
+
* The description located below the title in the modal
|
|
238
|
+
*/
|
|
199
239
|
modalDescription: PropTypes.string,
|
|
240
|
+
/**
|
|
241
|
+
* The secondary button text in the modal
|
|
242
|
+
*/
|
|
200
243
|
modalSecondaryButtonText: PropTypes.string.isRequired,
|
|
244
|
+
/**
|
|
245
|
+
* The title located in the header of the modal
|
|
246
|
+
*/
|
|
201
247
|
modalTitle: PropTypes.string.isRequired,
|
|
248
|
+
/**
|
|
249
|
+
* The next button text
|
|
250
|
+
*/
|
|
202
251
|
nextButtonText: PropTypes.string.isRequired,
|
|
252
|
+
/**
|
|
253
|
+
* A prop to omit the trailing slash for the breadcrumbs
|
|
254
|
+
*/
|
|
203
255
|
noTrailingSlash: PropTypes.bool,
|
|
256
|
+
/**
|
|
257
|
+
* onChange event for Progress Indicator in the Influencer
|
|
258
|
+
*/
|
|
204
259
|
onClickInfluencerStep: PropTypes.func,
|
|
260
|
+
/**
|
|
261
|
+
* An optional handler that is called when the user closes the full page (by
|
|
262
|
+
* clicking the secondary button, located in the modal, which triggers after
|
|
263
|
+
* clicking the ghost button in the modal
|
|
264
|
+
*/
|
|
205
265
|
onClose: PropTypes.func,
|
|
266
|
+
/**
|
|
267
|
+
* Specify a handler for submitting the multi step full page (final step).
|
|
268
|
+
* This function can _optionally_ return a promise that is either resolved or rejected and the CreateFullPage will handle the submitting state of the create button.
|
|
269
|
+
*/
|
|
206
270
|
onRequestSubmit: PropTypes.func.isRequired,
|
|
271
|
+
/**
|
|
272
|
+
* A secondary title of the full page, displayed in the influencer area
|
|
273
|
+
*/
|
|
207
274
|
secondaryTitle: PropTypes.string,
|
|
275
|
+
/**
|
|
276
|
+
* @ignore
|
|
277
|
+
* The aria label to be used for the UI Shell SideNav Carbon component
|
|
278
|
+
*/
|
|
208
279
|
sideNavAriaLabel: PropTypes.string,
|
|
280
|
+
/**
|
|
281
|
+
* The submit button text
|
|
282
|
+
*/
|
|
209
283
|
submitButtonText: PropTypes.string.isRequired,
|
|
284
|
+
/**
|
|
285
|
+
* The main title of the full page, displayed in the header area
|
|
286
|
+
*/
|
|
210
287
|
title: PropTypes.string
|
|
211
288
|
};
|
|
212
|
-
|
|
213
289
|
//#endregion
|
|
214
|
-
export { CreateFullPage, StepNumberContext, StepsContext };
|
|
290
|
+
export { CreateFullPage, StepNumberContext, StepsContext };
|
|
@@ -15,7 +15,6 @@ import { StepNumberContext, StepsContext } from "./CreateFullPage.js";
|
|
|
15
15
|
import React, { forwardRef, isValidElement, useContext, useEffect, useState } from "react";
|
|
16
16
|
import PropTypes from "prop-types";
|
|
17
17
|
import { Column, FormGroup, Grid, Heading, Section } from "@carbon/react";
|
|
18
|
-
|
|
19
18
|
//#region src/components/CreateFullPage/CreateFullPageStep.tsx
|
|
20
19
|
/**
|
|
21
20
|
* Copyright IBM Corp. 2021, 2025
|
|
@@ -109,22 +108,71 @@ const CreateFullPageStep = forwardRef(({ children, className, subtitle, descript
|
|
|
109
108
|
}, children) : children) : pconsole_default.warn(`You have tried using a ${componentName} component outside of a CreateFullPage. This is not allowed. ${componentName}s should always be children of the CreateFullPage`);
|
|
110
109
|
});
|
|
111
110
|
CreateFullPageStep.propTypes = {
|
|
111
|
+
/**
|
|
112
|
+
* Content that shows in the CreateFullPage step
|
|
113
|
+
*/
|
|
112
114
|
children: PropTypes.node,
|
|
115
|
+
/**
|
|
116
|
+
* Sets an optional className to be added to the CreateFullPage step
|
|
117
|
+
*/
|
|
113
118
|
className: PropTypes.string,
|
|
119
|
+
/**
|
|
120
|
+
* Sets an optional description on the progress step component
|
|
121
|
+
*/
|
|
114
122
|
description: PropTypes.node,
|
|
123
|
+
/**
|
|
124
|
+
* This will conditionally disable the submit button in the multi step CreateFullPage
|
|
125
|
+
*/
|
|
115
126
|
disableSubmit: PropTypes.bool,
|
|
127
|
+
/**
|
|
128
|
+
* This is the legend text that appears above a fieldset html element for accessibility purposes. It is required when the optional `hasFieldset` prop is provided to a FullPageStep.
|
|
129
|
+
*/
|
|
130
|
+
/**@ts-ignore */
|
|
116
131
|
fieldsetLegendText: PropTypes.string,
|
|
132
|
+
/**
|
|
133
|
+
* This optional prop will render your form content inside of a fieldset html element
|
|
134
|
+
*/
|
|
117
135
|
hasFieldset: PropTypes.bool,
|
|
136
|
+
/**
|
|
137
|
+
* This prop is used to help track dynamic steps. If this value is `false` then the step is not included in the visible steps or the ProgressIndicator
|
|
138
|
+
* steps. If this value is `true` then the step will be included in the list of visible steps, as well as being included in the ProgressIndicator step list
|
|
139
|
+
*/
|
|
118
140
|
includeStep: PropTypes.bool,
|
|
141
|
+
/**
|
|
142
|
+
* This prop can be used on the first step to mark it as an intro step, which will not render the progress indicator steps
|
|
143
|
+
*/
|
|
119
144
|
introStep: PropTypes.bool,
|
|
145
|
+
/**
|
|
146
|
+
* This optional prop will indicate an error icon on the progress indicator step item
|
|
147
|
+
*/
|
|
120
148
|
invalid: PropTypes.bool,
|
|
149
|
+
/**
|
|
150
|
+
* Optional function to be called on initial mount of a step.
|
|
151
|
+
* For example, this can be used to fetch data that is required on a particular step.
|
|
152
|
+
*/
|
|
121
153
|
onMount: PropTypes.func,
|
|
154
|
+
/**
|
|
155
|
+
* Optional function to be called on a step change.
|
|
156
|
+
* For example, this can be used to validate input fields before proceeding to the next step.
|
|
157
|
+
* This function can _optionally_ return a promise that is either resolved or rejected and the CreateFullPage will handle the submitting state of the next button.
|
|
158
|
+
*/
|
|
122
159
|
onNext: PropTypes.func,
|
|
160
|
+
/**
|
|
161
|
+
* Optional function to be called when you move to the previous step.
|
|
162
|
+
*/
|
|
123
163
|
onPrevious: PropTypes.func,
|
|
164
|
+
/**
|
|
165
|
+
* Sets the optional secondary label on the progress step component
|
|
166
|
+
*/
|
|
124
167
|
secondaryLabel: PropTypes.string,
|
|
168
|
+
/**
|
|
169
|
+
* Sets an optional subtitle on the progress step component
|
|
170
|
+
*/
|
|
125
171
|
subtitle: PropTypes.string,
|
|
172
|
+
/**
|
|
173
|
+
* Sets the title text for a create full page step
|
|
174
|
+
*/
|
|
126
175
|
title: PropTypes.node.isRequired
|
|
127
176
|
};
|
|
128
|
-
|
|
129
177
|
//#endregion
|
|
130
|
-
export { CreateFullPageStep };
|
|
178
|
+
export { CreateFullPageStep };
|
|
@@ -12,7 +12,6 @@ import "../../global/js/utils/props-helper.js";
|
|
|
12
12
|
import React from "react";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { Heading, ProgressIndicator, ProgressStep, Section } from "@carbon/react";
|
|
15
|
-
|
|
16
15
|
//#region src/components/CreateInfluencer/CreateInfluencer.tsx
|
|
17
16
|
/**
|
|
18
17
|
* Copyright IBM Corp. 2021, 2022
|
|
@@ -53,17 +52,31 @@ const CreateInfluencer = ({ className, currentStep, onClickStep, stepData, title
|
|
|
53
52
|
};
|
|
54
53
|
CreateInfluencer.displayName = componentName;
|
|
55
54
|
CreateInfluencer.propTypes = {
|
|
55
|
+
/**
|
|
56
|
+
* Provide an optional class to be applied to the containing node.
|
|
57
|
+
*/
|
|
56
58
|
className: PropTypes.string,
|
|
59
|
+
/**
|
|
60
|
+
* Used to mark the current step on the ProgressIndicator component
|
|
61
|
+
*/
|
|
57
62
|
currentStep: PropTypes.number.isRequired,
|
|
63
|
+
/**
|
|
64
|
+
* onChange event for Progress Indicator
|
|
65
|
+
*/
|
|
58
66
|
onClickStep: PropTypes.func,
|
|
67
|
+
/**
|
|
68
|
+
* The step data that renders the progress items
|
|
69
|
+
*/
|
|
59
70
|
stepData: PropTypes.arrayOf(PropTypes.shape({
|
|
60
71
|
introStep: PropTypes.bool,
|
|
61
72
|
secondaryLabel: PropTypes.string,
|
|
62
73
|
shouldIncludeStep: PropTypes.bool,
|
|
63
74
|
title: PropTypes.node
|
|
64
75
|
})),
|
|
76
|
+
/**
|
|
77
|
+
* The main title of the full page, displayed in the influencer area.
|
|
78
|
+
*/
|
|
65
79
|
title: PropTypes.string
|
|
66
80
|
};
|
|
67
|
-
|
|
68
81
|
//#endregion
|
|
69
|
-
export { CreateInfluencer };
|
|
82
|
+
export { CreateInfluencer };
|
|
@@ -13,7 +13,6 @@ import { usePortalTarget } from "../../global/js/hooks/usePortalTarget.js";
|
|
|
13
13
|
import React from "react";
|
|
14
14
|
import PropTypes from "prop-types";
|
|
15
15
|
import { Button, ComposedModal, Form, ModalBody, ModalFooter, ModalHeader } from "@carbon/react";
|
|
16
|
-
|
|
17
16
|
//#region src/components/CreateModal/CreateModal.tsx
|
|
18
17
|
/**
|
|
19
18
|
* Copyright IBM Corp. 2021, 2025
|
|
@@ -65,21 +64,62 @@ const CreateModal = React.forwardRef((props, ref) => {
|
|
|
65
64
|
}, primaryButtonText))));
|
|
66
65
|
});
|
|
67
66
|
CreateModal.propTypes = {
|
|
67
|
+
/**
|
|
68
|
+
* Children refers to all form items within a form inside of the modal's body.
|
|
69
|
+
*/
|
|
68
70
|
children: PropTypes.node,
|
|
71
|
+
/**
|
|
72
|
+
* Specify an optional className to be applied to the modal root node
|
|
73
|
+
*/
|
|
69
74
|
className: PropTypes.string,
|
|
75
|
+
/**
|
|
76
|
+
* The description of the CreateModal serves to provide more information about the modal.
|
|
77
|
+
*/
|
|
70
78
|
description: PropTypes.node.isRequired,
|
|
79
|
+
/**
|
|
80
|
+
* Specifies a boolean for disabling or enabling the primary button. This is important for form validation
|
|
81
|
+
* Returning `true` prevents the primary button from being clicked until required fields are completed.
|
|
82
|
+
*/
|
|
71
83
|
disableSubmit: PropTypes.bool,
|
|
84
|
+
/**
|
|
85
|
+
* Specifies an optional handler which is called when the CreateModal
|
|
86
|
+
* is closed.
|
|
87
|
+
*/
|
|
72
88
|
onRequestClose: PropTypes.func,
|
|
89
|
+
/**
|
|
90
|
+
* Specifies an optional handler which is called when the CreateModal
|
|
91
|
+
* primary button is pressed.
|
|
92
|
+
*/
|
|
73
93
|
onRequestSubmit: PropTypes.func,
|
|
94
|
+
/**
|
|
95
|
+
* Specifies whether the CreateModal is open or not.
|
|
96
|
+
*/
|
|
74
97
|
open: PropTypes.bool,
|
|
98
|
+
/**
|
|
99
|
+
* The DOM node the tearsheet should be rendered within. Defaults to document.body.
|
|
100
|
+
*/
|
|
75
101
|
portalTarget: PropTypes.node,
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the primary button's text in the modal.
|
|
104
|
+
*/
|
|
76
105
|
primaryButtonText: PropTypes.string.isRequired,
|
|
106
|
+
/**
|
|
107
|
+
* Specifies the secondary button's text in the modal.
|
|
108
|
+
*/
|
|
77
109
|
secondaryButtonText: PropTypes.string.isRequired,
|
|
110
|
+
/**
|
|
111
|
+
* Specifies which DOM element in the form should be focused.
|
|
112
|
+
*/
|
|
78
113
|
selectorPrimaryFocus: PropTypes.string.isRequired,
|
|
114
|
+
/**
|
|
115
|
+
* The subtitle of the CreateModal is optional and serves to provide more information about the modal.
|
|
116
|
+
*/
|
|
79
117
|
subtitle: PropTypes.node,
|
|
118
|
+
/**
|
|
119
|
+
* The title of the CreateModal is usually the product or service name.
|
|
120
|
+
*/
|
|
80
121
|
title: PropTypes.node.isRequired
|
|
81
122
|
};
|
|
82
123
|
CreateModal.displayName = componentName;
|
|
83
|
-
|
|
84
124
|
//#endregion
|
|
85
|
-
export { CreateModal };
|
|
125
|
+
export { CreateModal };
|
|
@@ -14,7 +14,6 @@ import { SidePanel } from "../SidePanel/SidePanel.js";
|
|
|
14
14
|
import React from "react";
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
16
|
import { Form } from "@carbon/react";
|
|
17
|
-
|
|
18
17
|
//#region src/components/CreateSidePanel/CreateSidePanel.tsx
|
|
19
18
|
/**
|
|
20
19
|
* Copyright IBM Corp. 2021, 2024
|
|
@@ -72,24 +71,81 @@ const CreateSidePanel = React.forwardRef(({ className, children, disableSubmit,
|
|
|
72
71
|
});
|
|
73
72
|
CreateSidePanel.displayName = componentName;
|
|
74
73
|
CreateSidePanel.propTypes = {
|
|
74
|
+
/**
|
|
75
|
+
* Sets the body content of the create side panel
|
|
76
|
+
*/
|
|
77
|
+
/**@ts-ignore*/
|
|
75
78
|
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,
|
|
79
|
+
/**
|
|
80
|
+
* Provide an optional class to be applied to the containing node.
|
|
81
|
+
*/
|
|
76
82
|
className: PropTypes.string,
|
|
83
|
+
/**
|
|
84
|
+
* The description of the CreateSidePanel serves to provide more information about the form within the panel.
|
|
85
|
+
*/
|
|
77
86
|
description: PropTypes.node,
|
|
87
|
+
/**
|
|
88
|
+
* Specifies a boolean for disabling or enabling the primary button. This is important for form validation
|
|
89
|
+
* Returning `true` prevents the primary button from being clicked until required fields are completed.
|
|
90
|
+
*/
|
|
78
91
|
disableSubmit: PropTypes.bool,
|
|
92
|
+
/**
|
|
93
|
+
* Specifies an optional field that provides a additional context for a form
|
|
94
|
+
*/
|
|
79
95
|
formDescription: PropTypes.node,
|
|
96
|
+
/**
|
|
97
|
+
* Specifies a required field that provides a title for a form
|
|
98
|
+
*/
|
|
80
99
|
formTitle: PropTypes.node.isRequired,
|
|
100
|
+
/**
|
|
101
|
+
* Unique identifier
|
|
102
|
+
*/
|
|
81
103
|
id: PropTypes.string,
|
|
104
|
+
/**
|
|
105
|
+
* Specifies an optional handler which is called when the CreateSidePanel
|
|
106
|
+
* is closed.
|
|
107
|
+
*/
|
|
82
108
|
onRequestClose: PropTypes.func,
|
|
109
|
+
/**
|
|
110
|
+
* Specifies an optional handler which is called when the CreateSidePanel
|
|
111
|
+
* primary button is pressed.
|
|
112
|
+
*/
|
|
83
113
|
onRequestSubmit: PropTypes.func,
|
|
114
|
+
/**
|
|
115
|
+
* Specifies whether the CreateSidePanel is open or not.
|
|
116
|
+
*/
|
|
117
|
+
/**@ts-ignore*/
|
|
84
118
|
open: PropTypes.bool,
|
|
119
|
+
/**
|
|
120
|
+
* Specifies the primary button's text in the modal.
|
|
121
|
+
*/
|
|
85
122
|
primaryButtonText: PropTypes.string.isRequired,
|
|
123
|
+
/**
|
|
124
|
+
* Specifies the secondary button's text in the modal.
|
|
125
|
+
*/
|
|
86
126
|
secondaryButtonText: PropTypes.string.isRequired,
|
|
127
|
+
/**
|
|
128
|
+
* This is the selector to the element that contains all of the page content that will shrink if the panel is a slide in.
|
|
129
|
+
* This prop is required when using the `slideIn` variant of the side panel.
|
|
130
|
+
*/
|
|
87
131
|
selectorPageContent: PropTypes.string.isRequired,
|
|
132
|
+
/**
|
|
133
|
+
* Specifies which DOM element in the form should be focused.
|
|
134
|
+
*/
|
|
135
|
+
/**@ts-ignore*/
|
|
88
136
|
selectorPrimaryFocus: PropTypes.node.isRequired,
|
|
137
|
+
/**
|
|
138
|
+
* **Experimental:** Provide a `Slug` component to be rendered inside the `SidePanel` component
|
|
139
|
+
*/
|
|
89
140
|
slug: PropTypes.node,
|
|
141
|
+
/**
|
|
142
|
+
* The subtitle of the CreateSidePanel is optional and serves to provide more information about the modal.
|
|
143
|
+
*/
|
|
90
144
|
subtitle: PropTypes.node,
|
|
145
|
+
/**
|
|
146
|
+
* The title of the CreateSidePanel is usually the product or service name.
|
|
147
|
+
*/
|
|
91
148
|
title: PropTypes.string.isRequired
|
|
92
149
|
};
|
|
93
|
-
|
|
94
150
|
//#endregion
|
|
95
|
-
export { CreateSidePanel };
|
|
151
|
+
export { CreateSidePanel };
|