@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
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_settings = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_settings = require("../../../../../settings.js");
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_runtime.__toESM(react);
|
|
12
12
|
let prop_types = require("prop-types");
|
|
13
13
|
prop_types = require_runtime.__toESM(prop_types);
|
|
14
14
|
let _carbon_react = require("@carbon/react");
|
|
15
15
|
let _carbon_react_icons = require("@carbon/react/icons");
|
|
16
|
-
|
|
17
16
|
//#region src/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.tsx
|
|
18
17
|
/**
|
|
19
18
|
* Copyright IBM Corp. 2022, 2024
|
|
@@ -45,6 +44,5 @@ ButtonWrapper.propTypes = {
|
|
|
45
44
|
onClick: prop_types.default.func.isRequired,
|
|
46
45
|
setIsTearsheetOpen: prop_types.default.func.isRequired
|
|
47
46
|
};
|
|
48
|
-
|
|
49
47
|
//#endregion
|
|
50
|
-
exports.default = ButtonWrapper;
|
|
48
|
+
exports.default = ButtonWrapper;
|
|
@@ -5,17 +5,16 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_index = require(
|
|
10
|
-
const require_settings = require(
|
|
11
|
-
const require_uuidv4 = require(
|
|
12
|
-
const require_DraggableItemsList = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_index = require("../../../../../node_modules/classnames/index.js");
|
|
10
|
+
const require_settings = require("../../../../../settings.js");
|
|
11
|
+
const require_uuidv4 = require("../../../../../global/js/utils/uuidv4.js");
|
|
12
|
+
const require_DraggableItemsList = require("./DraggableItemsList.js");
|
|
13
13
|
let react = require("react");
|
|
14
14
|
react = require_runtime.__toESM(react);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
17
|
let _carbon_react = require("@carbon/react");
|
|
18
|
-
|
|
19
18
|
//#region src/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.jsx
|
|
20
19
|
/**
|
|
21
20
|
* Copyright IBM Corp. 2022, 2025
|
|
@@ -88,6 +87,5 @@ Columns.propTypes = {
|
|
|
88
87
|
setColumnStatus: prop_types.default.func,
|
|
89
88
|
setColumnsObject: prop_types.default.func.isRequired
|
|
90
89
|
};
|
|
91
|
-
|
|
92
90
|
//#endregion
|
|
93
|
-
exports.default = Columns;
|
|
91
|
+
exports.default = Columns;
|
package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js
CHANGED
|
@@ -5,16 +5,15 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_settings = require(
|
|
10
|
-
const require_TearsheetNarrow = require(
|
|
11
|
-
const require_Columns = require(
|
|
12
|
-
const require_Actions = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_settings = require("../../../../../settings.js");
|
|
10
|
+
const require_TearsheetNarrow = require("../../../../Tearsheet/TearsheetNarrow.js");
|
|
11
|
+
const require_Columns = require("./Columns.js");
|
|
12
|
+
const require_Actions = require("./Actions.js");
|
|
13
13
|
let react = require("react");
|
|
14
14
|
react = require_runtime.__toESM(react);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
|
-
|
|
18
17
|
//#region src/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.jsx
|
|
19
18
|
/**
|
|
20
19
|
* Copyright IBM Corp. 2022, 2024
|
|
@@ -140,6 +139,5 @@ CustomizeColumnsTearsheet.propTypes = {
|
|
|
140
139
|
selectAllLabel: prop_types.default.string,
|
|
141
140
|
setIsTearsheetOpen: prop_types.default.func.isRequired
|
|
142
141
|
};
|
|
143
|
-
|
|
144
142
|
//#endregion
|
|
145
|
-
exports.default = CustomizeColumnsTearsheet;
|
|
143
|
+
exports.default = CustomizeColumnsTearsheet;
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_settings = require(
|
|
10
|
-
const require_getNodeTextContent = require(
|
|
11
|
-
const require_useId = require(
|
|
12
|
-
const require_common = require(
|
|
13
|
-
const require_DraggableElement = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_settings = require("../../../../../settings.js");
|
|
10
|
+
const require_getNodeTextContent = require("../../../../../global/js/utils/getNodeTextContent.js");
|
|
11
|
+
const require_useId = require("../../../../../global/js/utils/useId.js");
|
|
12
|
+
const require_common = require("./common.js");
|
|
13
|
+
const require_DraggableElement = require("../../DraggableElement.js");
|
|
14
14
|
let react = require("react");
|
|
15
15
|
react = require_runtime.__toESM(react);
|
|
16
16
|
let prop_types = require("prop-types");
|
|
@@ -18,7 +18,6 @@ let _carbon_react = require("@carbon/react");
|
|
|
18
18
|
let _dnd_kit_sortable = require("@dnd-kit/sortable");
|
|
19
19
|
let _dnd_kit_core = require("@dnd-kit/core");
|
|
20
20
|
let _dnd_kit_modifiers = require("@dnd-kit/modifiers");
|
|
21
|
-
|
|
22
21
|
//#region src/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.jsx
|
|
23
22
|
/**
|
|
24
23
|
* Copyright IBM Corp. 2023, 2023
|
|
@@ -139,6 +138,5 @@ DraggableItemsList.propTypes = {
|
|
|
139
138
|
onSelectColumn: prop_types.PropTypes.func.isRequired,
|
|
140
139
|
setAriaRegionText: prop_types.PropTypes.func.isRequired
|
|
141
140
|
};
|
|
142
|
-
|
|
143
141
|
//#endregion
|
|
144
|
-
exports.DraggableItemsList = DraggableItemsList;
|
|
142
|
+
exports.DraggableItemsList = DraggableItemsList;
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_InlineEditContext = require(
|
|
10
|
-
const require_CustomizeColumnsTearsheet = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_InlineEditContext = require("../InlineEdit/InlineEditContext/InlineEditContext.js");
|
|
10
|
+
const require_CustomizeColumnsTearsheet = require("./CustomizeColumnsTearsheet.js");
|
|
11
11
|
let react = require("react");
|
|
12
12
|
react = require_runtime.__toESM(react);
|
|
13
13
|
let prop_types = require("prop-types");
|
|
14
14
|
prop_types = require_runtime.__toESM(prop_types);
|
|
15
|
-
|
|
16
15
|
//#region src/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.jsx
|
|
17
16
|
const TearsheetWrapper = ({ instance, launcherButtonRef }) => {
|
|
18
17
|
const { onSaveColumnPrefs, isTearsheetOpen, setIsTearsheetOpen, labels, ...rest } = instance.customizeColumnsProps;
|
|
@@ -41,6 +40,5 @@ const TearsheetWrapper = ({ instance, launcherButtonRef }) => {
|
|
|
41
40
|
});
|
|
42
41
|
};
|
|
43
42
|
TearsheetWrapper.propTypes = { instance: prop_types.default.object.isRequired };
|
|
44
|
-
|
|
45
43
|
//#endregion
|
|
46
|
-
exports.default = TearsheetWrapper;
|
|
44
|
+
exports.default = TearsheetWrapper;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
//#region src/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js
|
|
10
9
|
/**
|
|
11
10
|
* Copyright IBM Corp. 2022, 2025
|
|
@@ -14,6 +13,5 @@
|
|
|
14
13
|
* LICENSE file in the root directory of this source tree.
|
|
15
14
|
*/
|
|
16
15
|
const isColumnVisible = (colDef) => typeof colDef.isVisible === "boolean" ? colDef.isVisible : true;
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
|
-
exports.isColumnVisible = isColumnVisible;
|
|
17
|
+
exports.isColumnVisible = isColumnVisible;
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_index = require(
|
|
10
|
-
const require_settings = require(
|
|
11
|
-
const require_useWindowResize = require(
|
|
12
|
-
const require_useClickOutside = require(
|
|
13
|
-
const require_ActionSet = require(
|
|
14
|
-
const require_constants = require(
|
|
15
|
-
const require_FilterProvider = require(
|
|
16
|
-
const require_useSubscribeToEventEmitter = require(
|
|
17
|
-
const require_useFilters = require(
|
|
18
|
-
const require_useShouldDisableButtons = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_index = require("../../../../../node_modules/classnames/index.js");
|
|
10
|
+
const require_settings = require("../../../../../settings.js");
|
|
11
|
+
const require_useWindowResize = require("../../../../../global/js/hooks/useWindowResize.js");
|
|
12
|
+
const require_useClickOutside = require("../../../../../global/js/hooks/useClickOutside.js");
|
|
13
|
+
const require_ActionSet = require("../../../../ActionSet/ActionSet.js");
|
|
14
|
+
const require_constants = require("./constants.js");
|
|
15
|
+
const require_FilterProvider = require("./FilterProvider.js");
|
|
16
|
+
const require_useSubscribeToEventEmitter = require("./hooks/useSubscribeToEventEmitter.js");
|
|
17
|
+
const require_useFilters = require("./hooks/useFilters.js");
|
|
18
|
+
const require_useShouldDisableButtons = require("./hooks/useShouldDisableButtons.js");
|
|
19
19
|
let react = require("react");
|
|
20
20
|
react = require_runtime.__toESM(react);
|
|
21
21
|
let prop_types = require("prop-types");
|
|
@@ -23,7 +23,6 @@ prop_types = require_runtime.__toESM(prop_types);
|
|
|
23
23
|
let _carbon_react = require("@carbon/react");
|
|
24
24
|
let _carbon_react_icons = require("@carbon/react/icons");
|
|
25
25
|
let _carbon_layout = require("@carbon/layout");
|
|
26
|
-
|
|
27
26
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.jsx
|
|
28
27
|
/**
|
|
29
28
|
* Copyright IBM Corp. 2022, 2024
|
|
@@ -179,29 +178,70 @@ const FilterFlyout = ({ updateMethod, flyoutIconDescription = defaults.flyoutIco
|
|
|
179
178
|
}, renderFilters())), renderActionSet()));
|
|
180
179
|
};
|
|
181
180
|
FilterFlyout.propTypes = {
|
|
181
|
+
/**
|
|
182
|
+
* Tooltip alignment for the filter button
|
|
183
|
+
*/
|
|
182
184
|
align: prop_types.default.string,
|
|
185
|
+
/**
|
|
186
|
+
* All data rows in the table
|
|
187
|
+
*/
|
|
183
188
|
data: prop_types.default.array.isRequired,
|
|
189
|
+
/**
|
|
190
|
+
* Array of filters to render
|
|
191
|
+
*/
|
|
184
192
|
filters: prop_types.default.arrayOf(prop_types.default.shape({
|
|
185
193
|
type: prop_types.default.string.isRequired,
|
|
186
194
|
column: prop_types.default.string.isRequired,
|
|
187
195
|
props: prop_types.default.object.isRequired
|
|
188
196
|
})).isRequired,
|
|
197
|
+
/**
|
|
198
|
+
* Icon description for the filter flyout button
|
|
199
|
+
*/
|
|
189
200
|
flyoutIconDescription: prop_types.default.string,
|
|
201
|
+
/**
|
|
202
|
+
* Callback when the apply button is clicked
|
|
203
|
+
*/
|
|
190
204
|
onApply: prop_types.default.func,
|
|
205
|
+
/**
|
|
206
|
+
* Callback when the cancel button is clicked
|
|
207
|
+
*/
|
|
191
208
|
onCancel: prop_types.default.func,
|
|
209
|
+
/**
|
|
210
|
+
* Callback when the flyout closes
|
|
211
|
+
*/
|
|
192
212
|
onFlyoutClose: prop_types.default.func,
|
|
213
|
+
/**
|
|
214
|
+
* Callback when the flyout opens
|
|
215
|
+
*/
|
|
193
216
|
onFlyoutOpen: prop_types.default.func,
|
|
217
|
+
/**
|
|
218
|
+
* Label text of the primary action in the flyout
|
|
219
|
+
*/
|
|
194
220
|
primaryActionLabel: prop_types.default.string,
|
|
221
|
+
/**
|
|
222
|
+
* Filters from react table's state
|
|
223
|
+
*/
|
|
195
224
|
reactTableFiltersState: prop_types.default.arrayOf(prop_types.default.shape({
|
|
196
225
|
id: prop_types.default.string.isRequired,
|
|
197
226
|
type: prop_types.default.string.isRequired,
|
|
198
227
|
value: prop_types.default.any.isRequired
|
|
199
228
|
})),
|
|
229
|
+
/**
|
|
230
|
+
* Label text of the secondary action in the flyout
|
|
231
|
+
*/
|
|
200
232
|
secondaryActionLabel: prop_types.default.string,
|
|
233
|
+
/**
|
|
234
|
+
* Function that sets all the filters, this comes from the datagridState
|
|
235
|
+
*/
|
|
201
236
|
setAllFilters: prop_types.default.func.isRequired,
|
|
237
|
+
/**
|
|
238
|
+
* Title of the filter flyout
|
|
239
|
+
*/
|
|
202
240
|
title: prop_types.default.string,
|
|
241
|
+
/**
|
|
242
|
+
* The update method used to apply the filters
|
|
243
|
+
*/
|
|
203
244
|
updateMethod: prop_types.default.oneOf([require_constants.BATCH, require_constants.INSTANT]).isRequired
|
|
204
245
|
};
|
|
205
|
-
|
|
206
246
|
//#endregion
|
|
207
|
-
exports.default = FilterFlyout;
|
|
247
|
+
exports.default = FilterFlyout;
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_index = require(
|
|
10
|
-
const require_settings = require(
|
|
11
|
-
const require_useIsomorphicEffect = require(
|
|
12
|
-
const require_usePresence = require(
|
|
13
|
-
const require_usePrefersReducedMotion = require(
|
|
14
|
-
const require_ActionSet = require(
|
|
15
|
-
const require_constants = require(
|
|
16
|
-
const require_FilterProvider = require(
|
|
17
|
-
const require_useSubscribeToEventEmitter = require(
|
|
18
|
-
const require_useFilters = require(
|
|
19
|
-
const require_useShouldDisableButtons = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_index = require("../../../../../node_modules/classnames/index.js");
|
|
10
|
+
const require_settings = require("../../../../../settings.js");
|
|
11
|
+
const require_useIsomorphicEffect = require("../../../../../global/js/hooks/useIsomorphicEffect.js");
|
|
12
|
+
const require_usePresence = require("../../../../../global/js/hooks/usePresence.js");
|
|
13
|
+
const require_usePrefersReducedMotion = require("../../../../../global/js/hooks/usePrefersReducedMotion.js");
|
|
14
|
+
const require_ActionSet = require("../../../../ActionSet/ActionSet.js");
|
|
15
|
+
const require_constants = require("./constants.js");
|
|
16
|
+
const require_FilterProvider = require("./FilterProvider.js");
|
|
17
|
+
const require_useSubscribeToEventEmitter = require("./hooks/useSubscribeToEventEmitter.js");
|
|
18
|
+
const require_useFilters = require("./hooks/useFilters.js");
|
|
19
|
+
const require_useShouldDisableButtons = require("./hooks/useShouldDisableButtons.js");
|
|
20
20
|
let react = require("react");
|
|
21
21
|
react = require_runtime.__toESM(react);
|
|
22
22
|
let prop_types = require("prop-types");
|
|
@@ -24,7 +24,6 @@ prop_types = require_runtime.__toESM(prop_types);
|
|
|
24
24
|
let _carbon_react = require("@carbon/react");
|
|
25
25
|
let _carbon_react_icons = require("@carbon/react/icons");
|
|
26
26
|
let _carbon_layout = require("@carbon/layout");
|
|
27
|
-
|
|
28
27
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.jsx
|
|
29
28
|
/**
|
|
30
29
|
* Copyright IBM Corp. 2022, 2024
|
|
@@ -33,8 +32,7 @@ let _carbon_layout = require("@carbon/layout");
|
|
|
33
32
|
* LICENSE file in the root directory of this source tree.
|
|
34
33
|
*/
|
|
35
34
|
var import_classnames = /* @__PURE__ */ require_runtime.__toESM(require_index.default);
|
|
36
|
-
const
|
|
37
|
-
const componentClass = `${blockClass}-filter-panel`;
|
|
35
|
+
const componentClass = `${`${require_settings.pkg.prefix}--datagrid`}-filter-panel`;
|
|
38
36
|
const defaults = {
|
|
39
37
|
title: "Filter",
|
|
40
38
|
closeIconDescription: "Close filter panel",
|
|
@@ -150,7 +148,7 @@ const FilterPanel = ({ title = defaults.title, closeIconDescription = defaults.c
|
|
|
150
148
|
const filterHeadingHeight = filterHeadingRef.current?.getBoundingClientRect().height;
|
|
151
149
|
const filterSearchHeight = filterSearchRef.current?.getBoundingClientRect().height;
|
|
152
150
|
const actionSetHeight = actionSetRef.current?.getBoundingClientRect().height;
|
|
153
|
-
return panelOpen ? `calc(100vh - ${filterHeadingHeight}px - ${showFilterSearch ? filterSearchHeight : 0}px - ${updateMethod ===
|
|
151
|
+
return panelOpen ? `calc(100vh - ${filterHeadingHeight}px - ${showFilterSearch ? filterSearchHeight : 0}px - ${updateMethod === "batch" ? actionSetHeight : 0}px)` : 0;
|
|
154
152
|
}, [
|
|
155
153
|
filterHeadingRef,
|
|
156
154
|
filterSearchRef,
|
|
@@ -192,14 +190,19 @@ const FilterPanel = ({ title = defaults.title, closeIconDescription = defaults.c
|
|
|
192
190
|
tooltipPosition: "bottom",
|
|
193
191
|
tooltipAlignment: "end",
|
|
194
192
|
onClick: closePanel
|
|
195
|
-
}), showFilterSearch && /* @__PURE__ */ react.default.createElement(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
193
|
+
}), showFilterSearch && /* @__PURE__ */ react.default.createElement(
|
|
194
|
+
"div",
|
|
195
|
+
/* istanbul ignore next */
|
|
196
|
+
{
|
|
197
|
+
ref: filterSearchRef,
|
|
198
|
+
className: `${componentClass}__search`
|
|
199
|
+
},
|
|
200
|
+
/* @__PURE__ */ react.default.createElement(_carbon_react.Layer, null, /* @__PURE__ */ react.default.createElement(_carbon_react.Search, {
|
|
201
|
+
labelText: searchLabelText,
|
|
202
|
+
placeholder: searchPlaceholder,
|
|
203
|
+
size: "sm"
|
|
204
|
+
}))
|
|
205
|
+
)), /* @__PURE__ */ react.default.createElement("div", {
|
|
203
206
|
className: `${componentClass}__inner-container`,
|
|
204
207
|
ref: innerContainerRef,
|
|
205
208
|
onScroll: onInnerContainerScroll
|
|
@@ -227,6 +230,9 @@ FilterPanel.propTypes = {
|
|
|
227
230
|
onPanelOpen: prop_types.default.func,
|
|
228
231
|
open: prop_types.default.bool,
|
|
229
232
|
primaryActionLabel: prop_types.default.string,
|
|
233
|
+
/**
|
|
234
|
+
* Filters from react table's state
|
|
235
|
+
*/
|
|
230
236
|
reactTableFiltersState: prop_types.default.arrayOf(prop_types.default.shape({
|
|
231
237
|
id: prop_types.default.string.isRequired,
|
|
232
238
|
type: prop_types.default.string.isRequired,
|
|
@@ -240,6 +246,5 @@ FilterPanel.propTypes = {
|
|
|
240
246
|
title: prop_types.default.string,
|
|
241
247
|
updateMethod: prop_types.default.oneOf([require_constants.BATCH, require_constants.INSTANT])
|
|
242
248
|
};
|
|
243
|
-
|
|
244
249
|
//#endregion
|
|
245
|
-
exports.default = FilterPanel;
|
|
250
|
+
exports.default = FilterPanel;
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_constants = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_constants = require("./constants.js");
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_runtime.__toESM(react);
|
|
12
12
|
let prop_types = require("prop-types");
|
|
13
13
|
prop_types = require_runtime.__toESM(prop_types);
|
|
14
|
-
|
|
15
14
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.tsx
|
|
16
15
|
/**
|
|
17
16
|
* Copyright IBM Corp. 2022, 2024
|
|
@@ -33,8 +32,8 @@ const EventEmitter = {
|
|
|
33
32
|
};
|
|
34
33
|
const removeFilterItem = (state, index) => state.splice(index, 1);
|
|
35
34
|
const updateFilterState = (state, type, value) => {
|
|
36
|
-
if (type ===
|
|
37
|
-
if (type ===
|
|
35
|
+
if (type === "checkbox" || type === "multiSelect") return;
|
|
36
|
+
if (type === "date") return removeFilterItem(state, state.findIndex((val) => formatDateRange(val.value[0], val.value[1]) === formatDateRange(value[0], value[1])));
|
|
38
37
|
return removeFilterItem(state, state.findIndex((val) => val.value === value));
|
|
39
38
|
};
|
|
40
39
|
const clearSingleFilter = ({ key, value, tableId }, setAllFilters, state, contextTableId) => {
|
|
@@ -45,7 +44,7 @@ const clearSingleFilter = ({ key, value, tableId }, setAllFilters, state, contex
|
|
|
45
44
|
const filterValues = f.value;
|
|
46
45
|
const filterType = f.type;
|
|
47
46
|
updateFilterState(tempState, filterType, value);
|
|
48
|
-
if (filterType ===
|
|
47
|
+
if (filterType === "checkbox" || filterType === "multiSelect") {
|
|
49
48
|
/**
|
|
50
49
|
When all checkboxes of a group are all unselected the value still exists in the filtersObjectArray
|
|
51
50
|
This checks if all the checkboxes are selected = false and removes it from the array
|
|
@@ -82,19 +81,19 @@ const prepareFiltersForTags = (filters, renderDateLabel, tableId) => {
|
|
|
82
81
|
filter: true,
|
|
83
82
|
onClose: () => handleSingleFilterRemoval(id, value, tableId)
|
|
84
83
|
};
|
|
85
|
-
if (type ===
|
|
84
|
+
if (type === "dropdown" || type === "radio" || type === "number") tags.push({
|
|
86
85
|
key: id,
|
|
87
86
|
value,
|
|
88
87
|
...sharedFilterProps
|
|
89
88
|
});
|
|
90
|
-
else if (type ===
|
|
89
|
+
else if (type === "date") {
|
|
91
90
|
const [startDate, endDate] = value;
|
|
92
91
|
tags.push({
|
|
93
92
|
key: id,
|
|
94
93
|
value: renderDateLabel?.(startDate, endDate) ?? formatDateRange(startDate, endDate),
|
|
95
94
|
...sharedFilterProps
|
|
96
95
|
});
|
|
97
|
-
} else if (type ===
|
|
96
|
+
} else if (type === "checkbox" || type === "multiSelect") value.forEach((option) => {
|
|
98
97
|
if (option.selected) tags.push({
|
|
99
98
|
key: id,
|
|
100
99
|
value: option.value,
|
|
@@ -139,8 +138,7 @@ FilterProvider.propTypes = {
|
|
|
139
138
|
filters: prop_types.default.arrayOf(prop_types.default.object).isRequired,
|
|
140
139
|
tableId: prop_types.default.string
|
|
141
140
|
};
|
|
142
|
-
|
|
143
141
|
//#endregion
|
|
144
142
|
exports.FilterContext = FilterContext;
|
|
145
143
|
exports.FilterProvider = FilterProvider;
|
|
146
|
-
exports.clearSingleFilter = clearSingleFilter;
|
|
144
|
+
exports.clearSingleFilter = clearSingleFilter;
|
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_settings = require(
|
|
10
|
-
const require_handleCheckboxChange = require(
|
|
8
|
+
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_settings = require("../../../../../settings.js");
|
|
10
|
+
const require_handleCheckboxChange = require("./handleCheckboxChange.js");
|
|
11
11
|
let react = require("react");
|
|
12
12
|
react = require_runtime.__toESM(react);
|
|
13
13
|
let prop_types = require("prop-types");
|
|
14
14
|
prop_types = require_runtime.__toESM(prop_types);
|
|
15
15
|
let _carbon_react = require("@carbon/react");
|
|
16
|
-
|
|
17
16
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.jsx
|
|
18
17
|
/**
|
|
19
18
|
* Copyright IBM Corp. 2023, 2024
|
|
@@ -62,6 +61,5 @@ OverflowCheckboxes.propTypes = {
|
|
|
62
61
|
viewAllLabel: prop_types.default.string,
|
|
63
62
|
viewLessLabel: prop_types.default.string
|
|
64
63
|
};
|
|
65
|
-
|
|
66
64
|
//#endregion
|
|
67
|
-
exports.default = OverflowCheckboxes;
|
|
65
|
+
exports.default = OverflowCheckboxes;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/constants.js
|
|
10
9
|
/**
|
|
11
10
|
* Copyright IBM Corp. 2022, 2024
|
|
@@ -31,7 +30,6 @@ const CLEAR_FILTERS = "clearFilters";
|
|
|
31
30
|
const CLEAR_SINGLE_FILTER = "clearSingleFilter";
|
|
32
31
|
/** Constants for local reducer */
|
|
33
32
|
const SAVED_FILTERS = "savedFilters";
|
|
34
|
-
|
|
35
33
|
//#endregion
|
|
36
34
|
exports.BATCH = BATCH;
|
|
37
35
|
exports.CHECKBOX = CHECKBOX;
|
|
@@ -45,4 +43,4 @@ exports.MULTISELECT = MULTISELECT;
|
|
|
45
43
|
exports.NUMBER = NUMBER;
|
|
46
44
|
exports.PANEL = PANEL;
|
|
47
45
|
exports.RADIO = RADIO;
|
|
48
|
-
exports.SAVED_FILTERS = SAVED_FILTERS;
|
|
46
|
+
exports.SAVED_FILTERS = SAVED_FILTERS;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js
|
|
10
9
|
/**
|
|
11
10
|
* Copyright IBM Corp. 2024
|
|
@@ -31,6 +30,5 @@ const handleCheckboxChange = ({ checked, filtersState, column, option, setFilter
|
|
|
31
30
|
});
|
|
32
31
|
option.onChange?.(checked);
|
|
33
32
|
};
|
|
34
|
-
|
|
35
33
|
//#endregion
|
|
36
|
-
exports.handleCheckboxChange = handleCheckboxChange;
|
|
34
|
+
exports.handleCheckboxChange = handleCheckboxChange;
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
const require_FilterProvider = require(
|
|
8
|
+
require("../../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_FilterProvider = require("../FilterProvider.js");
|
|
10
10
|
let react = require("react");
|
|
11
|
-
|
|
12
11
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.ts
|
|
13
12
|
/**
|
|
14
13
|
* Copyright IBM Corp. 2023, 2024
|
|
@@ -21,6 +20,5 @@ const useFilterContext = () => {
|
|
|
21
20
|
if (Object.entries(context).length === 0) throw new Error("useFilterContext was used outside of its Provider");
|
|
22
21
|
return context;
|
|
23
22
|
};
|
|
24
|
-
|
|
25
23
|
//#endregion
|
|
26
|
-
exports.default = useFilterContext;
|
|
24
|
+
exports.default = useFilterContext;
|
|
@@ -5,18 +5,17 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const require_runtime = require(
|
|
9
|
-
const require_usePreviousValue = require(
|
|
10
|
-
const require_uuidv4 = require(
|
|
11
|
-
const require_constants = require(
|
|
12
|
-
const require_FilterProvider = require(
|
|
13
|
-
const require_handleCheckboxChange = require(
|
|
14
|
-
const require_OverflowCheckboxes = require(
|
|
15
|
-
const require_utils = require(
|
|
8
|
+
const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_usePreviousValue = require("../../../../../../global/js/hooks/usePreviousValue.js");
|
|
10
|
+
const require_uuidv4 = require("../../../../../../global/js/utils/uuidv4.js");
|
|
11
|
+
const require_constants = require("../constants.js");
|
|
12
|
+
const require_FilterProvider = require("../FilterProvider.js");
|
|
13
|
+
const require_handleCheckboxChange = require("../handleCheckboxChange.js");
|
|
14
|
+
const require_OverflowCheckboxes = require("../OverflowCheckboxes.js");
|
|
15
|
+
const require_utils = require("../utils.js");
|
|
16
16
|
let react = require("react");
|
|
17
17
|
react = require_runtime.__toESM(react);
|
|
18
18
|
let _carbon_react = require("@carbon/react");
|
|
19
|
-
|
|
20
19
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.jsx
|
|
21
20
|
/**
|
|
22
21
|
* Copyright IBM Corp. 2023, 2024
|
|
@@ -67,7 +66,7 @@ const useFilters = ({ updateMethod, filters = emptyArray, setAllFilters, variati
|
|
|
67
66
|
contextTableId
|
|
68
67
|
]);
|
|
69
68
|
const applyFilters = ({ column, value, type }) => {
|
|
70
|
-
if (type ===
|
|
69
|
+
if (type === "date" && value.length > 0 && !value[1]) return;
|
|
71
70
|
const filterCopy = [...filtersObjectArray];
|
|
72
71
|
const filter = filterCopy.find((item) => item.id === column);
|
|
73
72
|
if (filter) filter.value = value;
|
|
@@ -77,11 +76,11 @@ const useFilters = ({ updateMethod, filters = emptyArray, setAllFilters, variati
|
|
|
77
76
|
type
|
|
78
77
|
});
|
|
79
78
|
const index = filterCopy.findIndex(({ id }) => id === column);
|
|
80
|
-
const clearCheckbox = (type ===
|
|
81
|
-
const clearDate = type ===
|
|
82
|
-
if (clearCheckbox || clearDate || (type ===
|
|
79
|
+
const clearCheckbox = (type === "checkbox" || type === "multiSelect") && filterCopy[index].value.every(({ selected }) => selected === false);
|
|
80
|
+
const clearDate = type === "date" && value.length === 0;
|
|
81
|
+
if (clearCheckbox || clearDate || (type === "dropdown" || type === "radio") && value === "Any" || type === "number" && value === "") filterCopy.splice(index, 1);
|
|
83
82
|
setFiltersObjectArray(filterCopy);
|
|
84
|
-
if (updateMethod ===
|
|
83
|
+
if (updateMethod === "instant") setAllFilters(filterCopy);
|
|
85
84
|
};
|
|
86
85
|
/** Render the individual filter component */
|
|
87
86
|
const renderFilter = ({ type, column, props: components }) => {
|
|
@@ -89,7 +88,7 @@ const useFilters = ({ updateMethod, filters = emptyArray, setAllFilters, variati
|
|
|
89
88
|
const isPanel = variation === require_constants.PANEL;
|
|
90
89
|
if (!type) return console.error(`type: ${type}; does not exist as a type of filter.`);
|
|
91
90
|
const renderCheckboxes = () => {
|
|
92
|
-
if (variation ===
|
|
91
|
+
if (variation === "panel" && filtersState[column].value.length > 10 && !autoHideFilters) return /* @__PURE__ */ react.default.createElement(require_OverflowCheckboxes.default, {
|
|
93
92
|
components,
|
|
94
93
|
type,
|
|
95
94
|
column,
|
|
@@ -346,7 +345,7 @@ const useFilters = ({ updateMethod, filters = emptyArray, setAllFilters, variati
|
|
|
346
345
|
lastAppliedFilters.current = JSON.stringify(reactTableFiltersState);
|
|
347
346
|
}, [reactTableFiltersState, lastAppliedFilters]);
|
|
348
347
|
const cancel = () => {
|
|
349
|
-
if (updateMethod ===
|
|
348
|
+
if (updateMethod === "batch") {
|
|
350
349
|
revertToPreviousFilters();
|
|
351
350
|
onCancel();
|
|
352
351
|
}
|
|
@@ -377,6 +376,5 @@ const useFilters = ({ updateMethod, filters = emptyArray, setAllFilters, variati
|
|
|
377
376
|
cancel
|
|
378
377
|
};
|
|
379
378
|
};
|
|
380
|
-
|
|
381
379
|
//#endregion
|
|
382
|
-
exports.default = useFilters;
|
|
380
|
+
exports.default = useFilters;
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
const require_deepCompareObject = require(
|
|
8
|
+
require("../../../../../../_virtual/_rolldown/runtime.js");
|
|
9
|
+
const require_deepCompareObject = require("../../../../../../global/js/utils/deepCompareObject.js");
|
|
10
10
|
let react = require("react");
|
|
11
|
-
|
|
12
11
|
//#region src/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js
|
|
13
12
|
/**
|
|
14
13
|
* Copyright IBM Corp. 2023, 2025
|
|
@@ -31,6 +30,5 @@ const useShouldDisableButtons = ({ initialValue, filtersState, prevFiltersRef, o
|
|
|
31
30
|
}, [filtersState, prevFiltersRef]);
|
|
32
31
|
return [shouldDisableButtons, setShouldDisableButtons];
|
|
33
32
|
};
|
|
34
|
-
|
|
35
33
|
//#endregion
|
|
36
|
-
exports.default = useShouldDisableButtons;
|
|
34
|
+
exports.default = useShouldDisableButtons;
|