@carbon/ibm-products 2.57.0-rc.0 → 2.57.1-rc.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/es/_virtual/_commonjsHelpers.js +1 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/es/_virtual/index.js +1 -1
- package/es/_virtual/index2.js +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +5 -6
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +0 -5
- package/es/components/AboutModal/AboutModal.js +1 -1
- package/es/components/ActionBar/ActionBar.js +1 -1
- package/es/components/ActionBar/ActionBarItem.js +1 -1
- package/es/components/ActionBar/ActionBarOverflowItems.js +1 -1
- package/es/components/ActionSet/ActionSet.js +1 -1
- package/es/components/AddSelect/AddSelect.js +1 -1
- package/es/components/AddSelect/AddSelectBody.js +1 -1
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
- package/es/components/AddSelect/AddSelectColumn.js +1 -1
- package/es/components/AddSelect/AddSelectFilter.js +1 -1
- package/es/components/AddSelect/AddSelectFormControl.js +1 -1
- package/es/components/AddSelect/AddSelectList.js +1 -1
- package/es/components/AddSelect/AddSelectMetaPanel.js +1 -1
- package/es/components/AddSelect/AddSelectRow.js +1 -1
- package/es/components/AddSelect/AddSelectSidebar.js +1 -1
- package/es/components/AddSelect/AddSelectSort.js +1 -1
- package/es/components/AddSelect/add-select-utils.js +1 -1
- package/es/components/AddSelect/hooks/useFocus.js +1 -1
- package/es/components/AddSelect/hooks/useItemSort.js +1 -1
- package/es/components/AddSelect/hooks/useParentSelect.js +1 -1
- package/es/components/AddSelect/hooks/usePath.js +1 -1
- package/es/components/BigNumbers/BigNumbers.js +1 -1
- package/es/components/BigNumbers/constants.js +1 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
- package/es/components/Card/Card.js +1 -1
- package/es/components/Card/CardFooter.js +1 -1
- package/es/components/Card/CardHeader.js +1 -1
- package/es/components/Carousel/Carousel.js +1 -1
- package/es/components/Carousel/CarouselItem.js +1 -1
- package/es/components/Cascade/Cascade.js +1 -1
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/Checklist.types.js +1 -1
- package/es/components/Checklist/ChecklistChart.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/Coachmark/Coachmark.js +1 -1
- package/es/components/Coachmark/CoachmarkDragbar.js +1 -1
- package/es/components/Coachmark/CoachmarkHeader.js +1 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +1 -1
- package/es/components/Coachmark/CoachmarkTagline.js +1 -1
- package/es/components/Coachmark/utils/constants.js +1 -1
- package/es/components/Coachmark/utils/context.js +1 -1
- package/es/components/Coachmark/utils/enums.js +1 -1
- package/es/components/Coachmark/utils/hooks.js +1 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/es/components/CoachmarkButton/CoachmarkButton.js +1 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/es/components/ComboButton/ComboButton.js +1 -1
- package/es/components/ComboButton/ComboButtonItem/index.js +1 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.js +15 -3
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +14 -5
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +3 -2
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +13 -7
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +4 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +1 -1
- package/es/components/ConditionBuilder/utils/useDataConfigs.d.ts +3 -4
- package/es/components/ConditionBuilder/utils/useDataConfigs.js +15 -15
- package/es/components/ConditionBuilder/utils/useTranslations.js +1 -1
- package/es/components/ConditionBuilder/utils/util.js +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +1 -1
- package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
- package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +20 -6
- package/es/components/CreateTearsheet/CreateTearsheet.js +33 -12
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
- package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +1 -1
- package/es/components/DataSpreadsheet/utils/checkForHoldingKey.js +1 -1
- package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +1 -1
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -1
- package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +1 -1
- package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
- package/es/components/DataSpreadsheet/utils/getCellSize.js +1 -1
- package/es/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +1 -1
- package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -1
- package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +1 -1
- package/es/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
- package/es/components/DataSpreadsheet/utils/selectAllCells.js +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridHead.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/es/components/Datagrid/common-column-ids.js +1 -1
- package/es/components/Datagrid/useActionsColumn.js +1 -1
- package/es/components/Datagrid/useColumnCenterAlign.js +1 -1
- package/es/components/Datagrid/useColumnOrder.js +1 -1
- package/es/components/Datagrid/useColumnRightAlign.js +1 -1
- package/es/components/Datagrid/useCustomizeColumns.js +1 -1
- package/es/components/Datagrid/useDatagrid.js +1 -1
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -1
- package/es/components/Datagrid/useDisableSelectRows.js +1 -1
- package/es/components/Datagrid/useEditableCell.js +1 -1
- package/es/components/Datagrid/useExpandedRow.js +1 -1
- package/es/components/Datagrid/useFiltering.js +1 -1
- package/es/components/Datagrid/useFlexResize.js +1 -1
- package/es/components/Datagrid/useFloatingScroll.js +1 -1
- package/es/components/Datagrid/useFocusRowExpander.js +1 -1
- package/es/components/Datagrid/useInfiniteScroll.js +1 -1
- package/es/components/Datagrid/useInitialColumnSort.js +1 -1
- package/es/components/Datagrid/useInlineEdit.js +1 -1
- package/es/components/Datagrid/useNestedRowExpander.js +1 -1
- package/es/components/Datagrid/useNestedRows.js +1 -1
- package/es/components/Datagrid/useOnRowClick.js +1 -1
- package/es/components/Datagrid/useParentDimensions.js +1 -1
- package/es/components/Datagrid/useResizeTable.js +1 -1
- package/es/components/Datagrid/useRowExpander.js +1 -1
- package/es/components/Datagrid/useRowIsMouseOver.js +1 -1
- package/es/components/Datagrid/useRowRenderer.js +1 -1
- package/es/components/Datagrid/useRowSize.js +1 -1
- package/es/components/Datagrid/useSelectAllToggle.js +1 -1
- package/es/components/Datagrid/useSelectRows.js +1 -1
- package/es/components/Datagrid/useSkeletonRows.js +1 -1
- package/es/components/Datagrid/useSortableColumns.js +1 -1
- package/es/components/Datagrid/useStickyColumn.js +1 -1
- package/es/components/Datagrid/utils/getAutoSizedColumnWidth.js +1 -1
- package/es/components/Decorator/Decorator.js +1 -1
- package/es/components/DecoratorBase/DecoratorBase.js +1 -1
- package/es/components/DecoratorBase/DecoratorIcon.js +1 -1
- package/es/components/DecoratorBase/utils.js +1 -1
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
- package/es/components/DecoratorLink/DecoratorLink.js +1 -1
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
- package/es/components/DelimitedList/DelimitedList.js +1 -1
- package/es/components/DescriptionList/DescriptionList.js +1 -1
- package/es/components/DescriptionList/DescriptionListBody.js +1 -1
- package/es/components/DescriptionList/DescriptionListCell.js +1 -1
- package/es/components/DescriptionList/DescriptionListRow.js +1 -1
- package/es/components/DescriptionList/constants.js +1 -1
- package/es/components/EditFullPage/EditFullPage.js +1 -1
- package/es/components/EditInPlace/EditInPlace.js +1 -1
- package/es/components/EditSidePanel/EditSidePanel.js +1 -1
- package/es/components/EditTearsheet/EditTearsheet.js +1 -1
- package/es/components/EditTearsheet/EditTearsheetForm.js +1 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/es/components/EmptyStates/EmptyState.d.ts +6 -1
- package/es/components/EmptyStates/EmptyState.js +13 -4
- package/es/components/EmptyStates/EmptyStateContent.d.ts +3 -1
- package/es/components/EmptyStates/EmptyStateContent.js +9 -3
- package/es/components/EmptyStates/EmptyStateIllustration.js +5 -3
- package/es/components/EmptyStates/EmptyStateV2.js +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +5 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +9 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +5 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +9 -2
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +5 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +9 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +5 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +9 -2
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +5 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +9 -2
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +5 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +9 -2
- package/es/components/EmptyStates/assets/ErrorIllustration.js +3 -2
- package/es/components/EmptyStates/assets/NoDataIllustration.js +3 -2
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +3 -2
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +3 -2
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +3 -2
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +3 -2
- package/es/components/ExportModal/ExportModal.js +1 -1
- package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/es/components/FeatureFlags/index.js +1 -1
- package/es/components/FilterPanel/FilterPanel.js +1 -1
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
- package/es/components/FilterSummary/FilterSummary.js +2 -2
- package/es/components/FullPageError/FullPageError.js +1 -1
- package/es/components/FullPageError/assets/Error403SVG.js +1 -1
- package/es/components/FullPageError/assets/Error404SVG.js +1 -1
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
- package/es/components/GetStartedCard/GetStartedCard.js +1 -1
- package/es/components/Guidebanner/Guidebanner.js +1 -1
- package/es/components/Guidebanner/GuidebannerElement.js +1 -1
- package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
- package/es/components/ImportModal/ImportModal.js +1 -1
- package/es/components/InlineTip/InlineTip.js +1 -1
- package/es/components/InlineTip/InlineTipButton.js +1 -1
- package/es/components/InlineTip/InlineTipLink.js +1 -1
- package/es/components/InlineTip/utils.js +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +1 -1
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/es/components/Nav/Nav.js +1 -1
- package/es/components/Nav/NavItem.js +1 -1
- package/es/components/Nav/NavItemLink.js +1 -1
- package/es/components/Nav/NavList.js +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/es/components/NotificationsPanel/utils.js +1 -1
- package/es/components/OptionsTile/OptionsTile.js +1 -1
- package/es/components/PageHeader/PageHeader.js +1 -1
- package/es/components/PageHeader/PageHeaderTitle.js +1 -1
- package/es/components/PageHeader/PageHeaderUtils.js +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +1 -1
- package/es/components/RemoveModal/RemoveModal.js +1 -1
- package/es/components/Saving/Saving.js +1 -1
- package/es/components/ScrollGradient/ScrollGradient.js +1 -1
- package/es/components/ScrollGradient/constants.js +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -1
- package/es/components/SidePanel/SidePanel.js +1 -1
- package/es/components/SidePanel/constants.js +1 -1
- package/es/components/SidePanel/motion/variants.js +1 -1
- package/es/components/SimpleHeader/SimpleHeader.js +1 -1
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -1
- package/es/components/StatusIndicator/StatusIndicator.js +1 -1
- package/es/components/StatusIndicator/StatusIndicatorStep.js +1 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/es/components/StringFormatter/StringFormatter.js +1 -1
- package/es/components/StringFormatter/utils/enums.js +1 -1
- package/es/components/TagOverflow/TagOverflow.js +1 -1
- package/es/components/TagOverflow/TagOverflowModal.js +1 -1
- package/es/components/TagOverflow/TagOverflowPopover.js +1 -1
- package/es/components/TagOverflow/constants.js +1 -1
- package/es/components/TagSet/TagSet.js +1 -1
- package/es/components/TagSet/TagSetModal.js +1 -1
- package/es/components/TagSet/TagSetOverflow.js +1 -1
- package/es/components/Tearsheet/Tearsheet.js +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/es/components/Tearsheet/TearsheetShell.d.ts +11 -7
- package/es/components/Tearsheet/TearsheetShell.js +15 -15
- package/es/components/Toolbar/Toolbar.js +1 -1
- package/es/components/Toolbar/ToolbarButton.js +1 -1
- package/es/components/Toolbar/ToolbarGroup.js +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.js +1 -1
- package/es/components/TruncatedList/TruncatedList.js +1 -1
- package/es/components/UserAvatar/UserAvatar.js +1 -1
- package/es/components/UserProfileImage/UserProfileImage.js +1 -1
- package/es/components/WebTerminal/WebTerminal.js +1 -1
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
- package/es/components/WebTerminal/hooks/index.js +1 -1
- package/es/components/_Canary/Canary.js +1 -1
- package/es/feature-flags.js +1 -1
- package/es/global/js/hooks/useActiveElement.js +1 -1
- package/es/global/js/hooks/useClickOutside.js +1 -1
- package/es/global/js/hooks/useControllableState.js +1 -1
- package/es/global/js/hooks/useCreateComponentFocus.js +1 -1
- package/es/global/js/hooks/useCreateComponentStepChange.js +1 -1
- package/es/global/js/hooks/useFocus.js +22 -20
- package/es/global/js/hooks/useIsomorphicEffect.js +1 -1
- package/es/global/js/hooks/usePortalTarget.js +1 -1
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -1
- package/es/global/js/hooks/usePrefix.js +1 -1
- package/es/global/js/hooks/usePreviousValue.js +1 -1
- package/es/global/js/hooks/useResetCreateComponent.js +1 -1
- package/es/global/js/hooks/useResizeObserver.js +1 -1
- package/es/global/js/hooks/useRetrieveFormTitles.js +1 -1
- package/es/global/js/hooks/useRetrieveStepData.js +1 -1
- package/es/global/js/hooks/useValidCreateStepCount.js +1 -1
- package/es/global/js/hooks/useWindowResize.js +1 -1
- package/es/global/js/hooks/useWindowScroll.js +1 -1
- package/es/global/js/package-settings.js +1 -1
- package/es/global/js/utils/Wrap.js +1 -1
- package/es/global/js/utils/checkForOverflow.js +1 -1
- package/es/global/js/utils/deepCloneObject.js +1 -1
- package/es/global/js/utils/devtools.js +1 -1
- package/es/global/js/utils/getBezierValues.js +1 -1
- package/es/global/js/utils/getFocusableElements.js +1 -1
- package/es/global/js/utils/getNodeTextContent.js +1 -1
- package/es/global/js/utils/getNumberOfHiddenSteps.js +1 -1
- package/es/global/js/utils/getScrollbarWidth.js +1 -1
- package/es/global/js/utils/keyboardNavigation.js +1 -1
- package/es/global/js/utils/lastIndexInArray.js +1 -1
- package/es/global/js/utils/motionConstants.js +1 -1
- package/es/global/js/utils/pconsole.js +1 -1
- package/es/global/js/utils/props-helper.js +1 -1
- package/es/global/js/utils/rangeWithCallback.js +1 -1
- package/es/global/js/utils/scrollableAncestor.js +1 -1
- package/es/global/js/utils/useId.js +1 -1
- package/es/global/js/utils/uuidv4.js +1 -1
- package/es/global/js/utils/wait.js +1 -1
- package/es/global/js/utils/wrapFocus.js +1 -1
- package/es/index.js +1 -1
- package/es/node_modules/@carbon/colors/es/index.js +1 -1
- package/es/node_modules/@carbon/icon-helpers/es/index.js +1 -1
- package/es/node_modules/@carbon/icons-react/es/Icon.js +1 -1
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +1 -1
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +1 -1
- package/es/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
- package/es/node_modules/object-assign/index.js +1 -1
- package/es/node_modules/prop-types/checkPropTypes.js +1 -1
- package/es/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/es/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/es/node_modules/prop-types/index.js +1 -1
- package/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -1
- package/es/node_modules/prop-types/lib/has.js +1 -1
- package/es/settings.js +1 -1
- package/lib/_virtual/_commonjsHelpers.js +1 -1
- package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/index2.js +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.js +5 -6
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +0 -5
- package/lib/components/AboutModal/AboutModal.js +1 -1
- package/lib/components/ActionBar/ActionBar.js +1 -1
- package/lib/components/ActionBar/ActionBarItem.js +1 -1
- package/lib/components/ActionBar/ActionBarOverflowItems.js +1 -1
- package/lib/components/ActionSet/ActionSet.js +1 -1
- package/lib/components/AddSelect/AddSelect.js +1 -1
- package/lib/components/AddSelect/AddSelectBody.js +1 -1
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
- package/lib/components/AddSelect/AddSelectColumn.js +1 -1
- package/lib/components/AddSelect/AddSelectFilter.js +1 -1
- package/lib/components/AddSelect/AddSelectFormControl.js +1 -1
- package/lib/components/AddSelect/AddSelectList.js +1 -1
- package/lib/components/AddSelect/AddSelectMetaPanel.js +1 -1
- package/lib/components/AddSelect/AddSelectRow.js +1 -1
- package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
- package/lib/components/AddSelect/AddSelectSort.js +1 -1
- package/lib/components/AddSelect/add-select-utils.js +1 -1
- package/lib/components/AddSelect/hooks/useFocus.js +1 -1
- package/lib/components/AddSelect/hooks/useItemSort.js +1 -1
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -1
- package/lib/components/AddSelect/hooks/usePath.js +1 -1
- package/lib/components/BigNumbers/BigNumbers.js +1 -1
- package/lib/components/BigNumbers/constants.js +1 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
- package/lib/components/Card/Card.js +1 -1
- package/lib/components/Card/CardFooter.js +1 -1
- package/lib/components/Card/CardHeader.js +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/CarouselItem.js +1 -1
- package/lib/components/Cascade/Cascade.js +1 -1
- package/lib/components/Checklist/Checklist.js +1 -1
- package/lib/components/Checklist/Checklist.types.js +1 -1
- package/lib/components/Checklist/ChecklistChart.js +1 -1
- package/lib/components/Checklist/ChecklistIcon.js +1 -1
- package/lib/components/Coachmark/Coachmark.js +1 -1
- package/lib/components/Coachmark/CoachmarkDragbar.js +1 -1
- package/lib/components/Coachmark/CoachmarkHeader.js +1 -1
- package/lib/components/Coachmark/CoachmarkOverlay.js +1 -1
- package/lib/components/Coachmark/CoachmarkTagline.js +1 -1
- package/lib/components/Coachmark/utils/constants.js +1 -1
- package/lib/components/Coachmark/utils/context.js +1 -1
- package/lib/components/Coachmark/utils/enums.js +1 -1
- package/lib/components/Coachmark/utils/hooks.js +1 -1
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.js +1 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/lib/components/ComboButton/ComboButton.js +1 -1
- package/lib/components/ComboButton/ComboButtonItem/index.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.js +15 -3
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +14 -5
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +3 -2
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +13 -7
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +4 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +1 -1
- package/lib/components/ConditionBuilder/utils/useDataConfigs.d.ts +3 -4
- package/lib/components/ConditionBuilder/utils/useDataConfigs.js +15 -15
- package/lib/components/ConditionBuilder/utils/useTranslations.js +1 -1
- package/lib/components/ConditionBuilder/utils/util.js +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +1 -1
- package/lib/components/CreateFullPage/CreateFullPageStep.js +1 -1
- package/lib/components/CreateInfluencer/CreateInfluencer.js +1 -1
- package/lib/components/CreateModal/CreateModal.js +1 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +20 -6
- package/lib/components/CreateTearsheet/CreateTearsheet.js +32 -11
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +1 -1
- package/lib/components/DataSpreadsheet/utils/checkForHoldingKey.js +1 -1
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +1 -1
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -1
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +1 -1
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
- package/lib/components/DataSpreadsheet/utils/getCellSize.js +1 -1
- package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +1 -1
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -1
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +1 -1
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
- package/lib/components/DataSpreadsheet/utils/selectAllCells.js +1 -1
- package/lib/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/lib/components/Datagrid/common-column-ids.js +1 -1
- package/lib/components/Datagrid/useActionsColumn.js +1 -1
- package/lib/components/Datagrid/useColumnCenterAlign.js +1 -1
- package/lib/components/Datagrid/useColumnOrder.js +1 -1
- package/lib/components/Datagrid/useColumnRightAlign.js +1 -1
- package/lib/components/Datagrid/useCustomizeColumns.js +1 -1
- package/lib/components/Datagrid/useDatagrid.js +1 -1
- package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -1
- package/lib/components/Datagrid/useDisableSelectRows.js +1 -1
- package/lib/components/Datagrid/useEditableCell.js +1 -1
- package/lib/components/Datagrid/useExpandedRow.js +1 -1
- package/lib/components/Datagrid/useFiltering.js +1 -1
- package/lib/components/Datagrid/useFlexResize.js +1 -1
- package/lib/components/Datagrid/useFloatingScroll.js +1 -1
- package/lib/components/Datagrid/useFocusRowExpander.js +1 -1
- package/lib/components/Datagrid/useInfiniteScroll.js +1 -1
- package/lib/components/Datagrid/useInitialColumnSort.js +1 -1
- package/lib/components/Datagrid/useInlineEdit.js +1 -1
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -1
- package/lib/components/Datagrid/useNestedRows.js +1 -1
- package/lib/components/Datagrid/useOnRowClick.js +1 -1
- package/lib/components/Datagrid/useParentDimensions.js +1 -1
- package/lib/components/Datagrid/useResizeTable.js +1 -1
- package/lib/components/Datagrid/useRowExpander.js +1 -1
- package/lib/components/Datagrid/useRowIsMouseOver.js +1 -1
- package/lib/components/Datagrid/useRowRenderer.js +1 -1
- package/lib/components/Datagrid/useRowSize.js +1 -1
- package/lib/components/Datagrid/useSelectAllToggle.js +1 -1
- package/lib/components/Datagrid/useSelectRows.js +1 -1
- package/lib/components/Datagrid/useSkeletonRows.js +1 -1
- package/lib/components/Datagrid/useSortableColumns.js +1 -1
- package/lib/components/Datagrid/useStickyColumn.js +1 -1
- package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +1 -1
- package/lib/components/Decorator/Decorator.js +1 -1
- package/lib/components/DecoratorBase/DecoratorBase.js +1 -1
- package/lib/components/DecoratorBase/DecoratorIcon.js +1 -1
- package/lib/components/DecoratorBase/utils.js +1 -1
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
- package/lib/components/DecoratorLink/DecoratorLink.js +1 -1
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
- package/lib/components/DelimitedList/DelimitedList.js +1 -1
- package/lib/components/DescriptionList/DescriptionList.js +1 -1
- package/lib/components/DescriptionList/DescriptionListBody.js +1 -1
- package/lib/components/DescriptionList/DescriptionListCell.js +1 -1
- package/lib/components/DescriptionList/DescriptionListRow.js +1 -1
- package/lib/components/DescriptionList/constants.js +1 -1
- package/lib/components/EditFullPage/EditFullPage.js +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +1 -1
- package/lib/components/EditSidePanel/EditSidePanel.js +1 -1
- package/lib/components/EditTearsheet/EditTearsheet.js +1 -1
- package/lib/components/EditTearsheet/EditTearsheetForm.js +1 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/lib/components/EmptyStates/EmptyState.d.ts +6 -1
- package/lib/components/EmptyStates/EmptyState.js +13 -4
- package/lib/components/EmptyStates/EmptyStateContent.d.ts +3 -1
- package/lib/components/EmptyStates/EmptyStateContent.js +8 -2
- package/lib/components/EmptyStates/EmptyStateIllustration.js +4 -2
- package/lib/components/EmptyStates/EmptyStateV2.js +1 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +5 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +9 -2
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +5 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +9 -2
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +5 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +9 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +5 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +9 -2
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +5 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +9 -2
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +5 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +9 -2
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +3 -2
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +3 -2
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +3 -2
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +3 -2
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +3 -2
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +3 -2
- package/lib/components/ExportModal/ExportModal.js +1 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/lib/components/FeatureFlags/index.js +1 -1
- package/lib/components/FilterPanel/FilterPanel.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
- package/lib/components/FilterSummary/FilterSummary.js +2 -2
- package/lib/components/FullPageError/FullPageError.js +1 -1
- package/lib/components/FullPageError/assets/Error403SVG.js +1 -1
- package/lib/components/FullPageError/assets/Error404SVG.js +1 -1
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
- package/lib/components/GetStartedCard/GetStartedCard.js +1 -1
- package/lib/components/Guidebanner/Guidebanner.js +1 -1
- package/lib/components/Guidebanner/GuidebannerElement.js +1 -1
- package/lib/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
- package/lib/components/ImportModal/ImportModal.js +1 -1
- package/lib/components/InlineTip/InlineTip.js +1 -1
- package/lib/components/InlineTip/InlineTipButton.js +1 -1
- package/lib/components/InlineTip/InlineTipLink.js +1 -1
- package/lib/components/InlineTip/utils.js +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -1
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/lib/components/Nav/Nav.js +1 -1
- package/lib/components/Nav/NavItem.js +1 -1
- package/lib/components/Nav/NavItemLink.js +1 -1
- package/lib/components/Nav/NavList.js +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +1 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/lib/components/NotificationsPanel/utils.js +1 -1
- package/lib/components/OptionsTile/OptionsTile.js +1 -1
- package/lib/components/PageHeader/PageHeader.js +1 -1
- package/lib/components/PageHeader/PageHeaderTitle.js +1 -1
- package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
- package/lib/components/RemoveModal/RemoveModal.js +1 -1
- package/lib/components/Saving/Saving.js +1 -1
- package/lib/components/ScrollGradient/ScrollGradient.js +1 -1
- package/lib/components/ScrollGradient/constants.js +1 -1
- package/lib/components/SearchBar/SearchBar.js +1 -1
- package/lib/components/SidePanel/SidePanel.js +1 -1
- package/lib/components/SidePanel/constants.js +1 -1
- package/lib/components/SidePanel/motion/variants.js +1 -1
- package/lib/components/SimpleHeader/SimpleHeader.js +1 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +1 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/lib/components/StringFormatter/StringFormatter.js +1 -1
- package/lib/components/StringFormatter/utils/enums.js +1 -1
- package/lib/components/TagOverflow/TagOverflow.js +1 -1
- package/lib/components/TagOverflow/TagOverflowModal.js +1 -1
- package/lib/components/TagOverflow/TagOverflowPopover.js +1 -1
- package/lib/components/TagOverflow/constants.js +1 -1
- package/lib/components/TagSet/TagSet.js +1 -1
- package/lib/components/TagSet/TagSetModal.js +1 -1
- package/lib/components/TagSet/TagSetOverflow.js +1 -1
- package/lib/components/Tearsheet/Tearsheet.js +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/lib/components/Tearsheet/TearsheetShell.d.ts +11 -7
- package/lib/components/Tearsheet/TearsheetShell.js +15 -15
- package/lib/components/Toolbar/Toolbar.js +1 -1
- package/lib/components/Toolbar/ToolbarButton.js +1 -1
- package/lib/components/Toolbar/ToolbarGroup.js +1 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.js +1 -1
- package/lib/components/TruncatedList/TruncatedList.js +1 -1
- package/lib/components/UserAvatar/UserAvatar.js +1 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +1 -1
- package/lib/components/WebTerminal/WebTerminal.js +1 -1
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
- package/lib/components/WebTerminal/hooks/index.js +1 -1
- package/lib/components/_Canary/Canary.js +1 -1
- package/lib/feature-flags.js +1 -1
- package/lib/global/js/hooks/useActiveElement.js +1 -1
- package/lib/global/js/hooks/useClickOutside.js +1 -1
- package/lib/global/js/hooks/useControllableState.js +1 -1
- package/lib/global/js/hooks/useCreateComponentFocus.js +1 -1
- package/lib/global/js/hooks/useCreateComponentStepChange.js +1 -1
- package/lib/global/js/hooks/useFocus.js +22 -20
- package/lib/global/js/hooks/useIsomorphicEffect.js +1 -1
- package/lib/global/js/hooks/usePortalTarget.js +1 -1
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -1
- package/lib/global/js/hooks/usePrefix.js +1 -1
- package/lib/global/js/hooks/usePreviousValue.js +1 -1
- package/lib/global/js/hooks/useResetCreateComponent.js +1 -1
- package/lib/global/js/hooks/useResizeObserver.js +1 -1
- package/lib/global/js/hooks/useRetrieveFormTitles.js +1 -1
- package/lib/global/js/hooks/useRetrieveStepData.js +1 -1
- package/lib/global/js/hooks/useValidCreateStepCount.js +1 -1
- package/lib/global/js/hooks/useWindowResize.js +1 -1
- package/lib/global/js/hooks/useWindowScroll.js +1 -1
- package/lib/global/js/package-settings.js +1 -1
- package/lib/global/js/utils/Wrap.js +1 -1
- package/lib/global/js/utils/checkForOverflow.js +1 -1
- package/lib/global/js/utils/deepCloneObject.js +1 -1
- package/lib/global/js/utils/devtools.js +1 -1
- package/lib/global/js/utils/getBezierValues.js +1 -1
- package/lib/global/js/utils/getFocusableElements.js +1 -1
- package/lib/global/js/utils/getNodeTextContent.js +1 -1
- package/lib/global/js/utils/getNumberOfHiddenSteps.js +1 -1
- package/lib/global/js/utils/getScrollbarWidth.js +1 -1
- package/lib/global/js/utils/keyboardNavigation.js +1 -1
- package/lib/global/js/utils/lastIndexInArray.js +1 -1
- package/lib/global/js/utils/motionConstants.js +1 -1
- package/lib/global/js/utils/pconsole.js +1 -1
- package/lib/global/js/utils/props-helper.js +1 -1
- package/lib/global/js/utils/rangeWithCallback.js +1 -1
- package/lib/global/js/utils/scrollableAncestor.js +1 -1
- package/lib/global/js/utils/useId.js +1 -1
- package/lib/global/js/utils/uuidv4.js +1 -1
- package/lib/global/js/utils/wait.js +1 -1
- package/lib/global/js/utils/wrapFocus.js +1 -1
- package/lib/index.js +1 -1
- package/lib/node_modules/@carbon/colors/es/index.js +1 -1
- package/lib/node_modules/@carbon/icon-helpers/es/index.js +1 -1
- package/lib/node_modules/@carbon/icons-react/es/Icon.js +1 -1
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +1 -1
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +1 -1
- package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
- package/lib/node_modules/object-assign/index.js +1 -1
- package/lib/node_modules/prop-types/checkPropTypes.js +1 -1
- package/lib/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/lib/node_modules/prop-types/index.js +1 -1
- package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -1
- package/lib/node_modules/prop-types/lib/has.js +1 -1
- package/lib/settings.js +1 -1
- package/package.json +6 -6
- package/telemetry.yml +3 -0
@@ -29,14 +29,15 @@ export type Operators = {
|
|
29
29
|
option: OptionOperator;
|
30
30
|
date: DateOperator;
|
31
31
|
};
|
32
|
+
export type option = {
|
33
|
+
id: string;
|
34
|
+
label: string;
|
35
|
+
icon?: CarbonIconType;
|
36
|
+
};
|
32
37
|
export type PropertyConfigOption = {
|
33
38
|
type: 'option';
|
34
39
|
config?: {
|
35
|
-
options?:
|
36
|
-
id: string;
|
37
|
-
label: string;
|
38
|
-
icon?: CarbonIconType;
|
39
|
-
}[];
|
40
|
+
options?: option[];
|
40
41
|
};
|
41
42
|
};
|
42
43
|
export interface PropertyConfigText {
|
@@ -120,6 +121,12 @@ export type Action = {
|
|
120
121
|
label?: string;
|
121
122
|
};
|
122
123
|
export type variantsType = 'Non-Hierarchical' | 'Hierarchical';
|
124
|
+
export type statementConfig = {
|
125
|
+
id: string;
|
126
|
+
connector: 'and' | 'or';
|
127
|
+
label: string;
|
128
|
+
secondaryLabel?: string;
|
129
|
+
};
|
123
130
|
export type ConditionBuilderProps = {
|
124
131
|
inputConfig: inputConfig;
|
125
132
|
initialState?: InitialState;
|
@@ -132,6 +139,7 @@ export type ConditionBuilderProps = {
|
|
132
139
|
startConditionLabel?: string;
|
133
140
|
variant?: 'Non-Hierarchical' | 'Hierarchical';
|
134
141
|
translateWithId: (id: string) => string;
|
142
|
+
statementConfigCustom: statementConfig[];
|
135
143
|
};
|
136
144
|
export type InitialState = {
|
137
145
|
state: ConditionBuilderState;
|
@@ -144,6 +152,7 @@ export interface ConditionBuilderContextInputProps extends PropsWithChildren {
|
|
144
152
|
getOptions?: (state: ConditionBuilderState, condition: Condition) => Promise<Option[]>;
|
145
153
|
variant?: string;
|
146
154
|
translateWithId?: (id: string) => string;
|
155
|
+
statementConfigCustom?: statementConfig[];
|
147
156
|
conditionBuilderRef?: ForwardedRef<HTMLDivElement>;
|
148
157
|
}
|
149
158
|
export type ConditionBuilderContextProps = {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
3
3
|
*
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
@@ -51,7 +51,8 @@ var ConditionBuilderProvider = function ConditionBuilderProvider(props) {
|
|
51
51
|
getOptions: props.getOptions,
|
52
52
|
variant: props.variant,
|
53
53
|
translateWithId: props.translateWithId,
|
54
|
-
conditionBuilderRef: props.conditionBuilderRef
|
54
|
+
conditionBuilderRef: props.conditionBuilderRef,
|
55
|
+
statementConfigCustom: props.statementConfigCustom
|
55
56
|
};
|
56
57
|
return /*#__PURE__*/React__default.createElement(ConditionBuilderContext.Provider, {
|
57
58
|
value: contextValue
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
3
3
|
*
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
@@ -15,6 +15,7 @@ import { useTranslations } from '../utils/useTranslations.js';
|
|
15
15
|
import { ConditionBuilderContext } from '../ConditionBuilderContext/ConditionBuilderProvider.js';
|
16
16
|
import { handleKeyDownForPopover } from '../utils/handleKeyboardEvents.js';
|
17
17
|
import { blockClass, getValue } from '../utils/util.js';
|
18
|
+
import { translationsObject } from '../ConditionBuilderContext/translationObject.js';
|
18
19
|
|
19
20
|
var _excluded = ["children", "className", "label", "renderIcon", "title", "type", "showToolTip", "condition", "popOverClassName", "config", "renderChildren", "onChange"];
|
20
21
|
var ConditionBuilderItem = function ConditionBuilderItem(_ref) {
|
@@ -36,12 +37,19 @@ var ConditionBuilderItem = function ConditionBuilderItem(_ref) {
|
|
36
37
|
_useState2 = _slicedToArray(_useState, 2),
|
37
38
|
open = _useState2[0],
|
38
39
|
setOpen = _useState2[1];
|
40
|
+
var _useContext = useContext(ConditionBuilderContext),
|
41
|
+
conditionBuilderRef = _useContext.conditionBuilderRef,
|
42
|
+
statementConfigCustom = _useContext.statementConfigCustom;
|
39
43
|
var statementIdMap = {
|
40
|
-
ifAll:
|
41
|
-
ifAny:
|
42
|
-
unlessAll:
|
43
|
-
unlessAny:
|
44
|
+
ifAll: translationsObject.ifText,
|
45
|
+
ifAny: translationsObject.ifText,
|
46
|
+
unlessAll: translationsObject.unlessText,
|
47
|
+
unlessAny: translationsObject.unlessText
|
44
48
|
};
|
49
|
+
//Appending statements from custom statement configuration if present
|
50
|
+
statementConfigCustom === null || statementConfigCustom === void 0 || statementConfigCustom.forEach(function (statement) {
|
51
|
+
statementIdMap[statement.id] = statement.label;
|
52
|
+
});
|
45
53
|
var _useTranslations = useTranslations(['invalidText', 'addConditionText', 'addPropertyText', 'addOperatorText', 'addValueText', label], statementIdMap),
|
46
54
|
_useTranslations2 = _slicedToArray(_useTranslations, 6),
|
47
55
|
invalidText = _useTranslations2[0],
|
@@ -50,8 +58,6 @@ var ConditionBuilderItem = function ConditionBuilderItem(_ref) {
|
|
50
58
|
addOperatorText = _useTranslations2[3],
|
51
59
|
addValueText = _useTranslations2[4],
|
52
60
|
labelText = _useTranslations2[5];
|
53
|
-
var _useContext = useContext(ConditionBuilderContext),
|
54
|
-
conditionBuilderRef = _useContext.conditionBuilderRef;
|
55
61
|
var getPropertyDetails = function getPropertyDetails() {
|
56
62
|
var _ref2 = condition || {},
|
57
63
|
property = _ref2.property,
|
@@ -6,13 +6,15 @@
|
|
6
6
|
*/
|
7
7
|
import React from 'react';
|
8
8
|
import PropTypes from 'prop-types';
|
9
|
-
import {
|
9
|
+
import { option, statementConfig } from '../../ConditionBuilder.types';
|
10
10
|
interface ItemOptionProps {
|
11
11
|
conditionState: {
|
12
12
|
label?: string;
|
13
13
|
value?: string;
|
14
14
|
};
|
15
|
-
config:
|
15
|
+
config: {
|
16
|
+
options?: option[] | statementConfig[];
|
17
|
+
} & {
|
16
18
|
isStatement?: boolean;
|
17
19
|
};
|
18
20
|
onChange: (value: string, e: Event) => void;
|
package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
3
3
|
*
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
@@ -61,7 +61,7 @@ var ItemOption = function ItemOption(_ref) {
|
|
61
61
|
var getStatementContent = function getStatementContent(option) {
|
62
62
|
return /*#__PURE__*/React__default.createElement("div", {
|
63
63
|
className: "".concat(blockClass, "__statement_wrapper")
|
64
|
-
}, /*#__PURE__*/React__default.createElement("div", null, option.
|
64
|
+
}, /*#__PURE__*/React__default.createElement("div", null, option.label, " (", option.connector, ")"), /*#__PURE__*/React__default.createElement("div", null, option.secondaryLabel));
|
65
65
|
};
|
66
66
|
if (!allOptions) {
|
67
67
|
return;
|
@@ -1,10 +1,9 @@
|
|
1
1
|
export function useDataConfigs(): {
|
2
|
-
statementConfig: {
|
3
|
-
label: string;
|
2
|
+
statementConfig: import("../ConditionBuilder.types").statementConfig[] | {
|
4
3
|
id: string;
|
5
4
|
connector: string;
|
6
|
-
|
7
|
-
|
5
|
+
label: any;
|
6
|
+
secondaryLabel: string;
|
8
7
|
}[];
|
9
8
|
connectorConfig: {
|
10
9
|
label: any;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
3
3
|
*
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { useContext } from 'react';
|
9
10
|
import { useTranslations } from './useTranslations.js';
|
11
|
+
import { ConditionBuilderContext } from '../ConditionBuilderContext/ConditionBuilderProvider.js';
|
10
12
|
|
11
13
|
var useDataConfigs = function useDataConfigs() {
|
12
14
|
var _useTranslations = useTranslations(['ifAll', 'ifAny', 'unlessAll', 'unlessAny', 'and', 'or', 'is', 'greater', 'greaterEqual', 'lower', 'lowerEqual', 'startsWith', 'endsWith', 'contains', 'oneOf', 'before', 'after', 'between']),
|
@@ -29,30 +31,28 @@ var useDataConfigs = function useDataConfigs() {
|
|
29
31
|
before = _useTranslations2[15],
|
30
32
|
after = _useTranslations2[16],
|
31
33
|
between = _useTranslations2[17];
|
32
|
-
var
|
33
|
-
|
34
|
+
var _useContext = useContext(ConditionBuilderContext),
|
35
|
+
statementConfigCustom = _useContext.statementConfigCustom;
|
36
|
+
var statementConfigDefault = [{
|
34
37
|
id: 'ifAll',
|
35
38
|
connector: 'and',
|
36
|
-
|
37
|
-
|
39
|
+
label: ifAll,
|
40
|
+
secondaryLabel: '(a && b)'
|
38
41
|
}, {
|
39
|
-
label: 'ifText',
|
40
42
|
id: 'ifAny',
|
41
43
|
connector: 'or',
|
42
|
-
|
43
|
-
|
44
|
+
label: ifAny,
|
45
|
+
secondaryLabel: '(a || b)'
|
44
46
|
}, {
|
45
|
-
label: 'unlessText',
|
46
47
|
id: 'unlessAll',
|
47
48
|
connector: 'and',
|
48
|
-
|
49
|
-
|
49
|
+
label: unlessAll,
|
50
|
+
secondaryLabel: '! (a && b)'
|
50
51
|
}, {
|
51
|
-
label: 'unlessText',
|
52
52
|
id: 'unlessAny',
|
53
53
|
connector: 'or',
|
54
|
-
|
55
|
-
|
54
|
+
label: unlessAny,
|
55
|
+
secondaryLabel: '! (a || b)'
|
56
56
|
}];
|
57
57
|
var connectorConfig = [{
|
58
58
|
label: and,
|
@@ -111,7 +111,7 @@ var useDataConfigs = function useDataConfigs() {
|
|
111
111
|
type: 'date'
|
112
112
|
}];
|
113
113
|
return {
|
114
|
-
statementConfig:
|
114
|
+
statementConfig: statementConfigCustom !== null && statementConfigCustom !== void 0 ? statementConfigCustom : statementConfigDefault,
|
115
115
|
connectorConfig: connectorConfig,
|
116
116
|
operatorConfig: operatorConfig
|
117
117
|
};
|
@@ -39,13 +39,27 @@ export interface CreateTearsheetProps extends PropsWithChildren {
|
|
39
39
|
*/
|
40
40
|
experimentalSecondarySubmitText?: string;
|
41
41
|
/**
|
42
|
-
*
|
42
|
+
* Optional prop that allows you to pass any component.
|
43
43
|
*/
|
44
|
-
|
44
|
+
decorator?: ReactNode;
|
45
45
|
/**
|
46
46
|
* Specifies elements to focus on first on render.
|
47
47
|
*/
|
48
48
|
firstFocusElement?: string;
|
49
|
+
/**
|
50
|
+
* A description of the flow, displayed in the header area of the tearsheet.
|
51
|
+
*/
|
52
|
+
description?: ReactNode;
|
53
|
+
/**
|
54
|
+
* Specify a CSS selector that matches the DOM element that should be
|
55
|
+
* focused when the Modal opens.
|
56
|
+
*/
|
57
|
+
selectorPrimaryFocus?: string;
|
58
|
+
/**
|
59
|
+
* To indicate an error occurred in the Tearsheet step
|
60
|
+
* Used to pass this value to TearsheetShell
|
61
|
+
*/
|
62
|
+
hasError?: boolean;
|
49
63
|
/**
|
50
64
|
* Used to set the size of the influencer
|
51
65
|
*/
|
@@ -81,10 +95,6 @@ export interface CreateTearsheetProps extends PropsWithChildren {
|
|
81
95
|
* Specifies whether the tearsheet is currently open.
|
82
96
|
*/
|
83
97
|
open?: boolean;
|
84
|
-
/**
|
85
|
-
* **Experimental:** Provide a `Slug` component to be rendered inside the `Tearsheet` component
|
86
|
-
*/
|
87
|
-
slug?: ReactNode;
|
88
98
|
/**
|
89
99
|
* The submit button text
|
90
100
|
*/
|
@@ -101,6 +111,10 @@ export interface CreateTearsheetProps extends PropsWithChildren {
|
|
101
111
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
102
112
|
*/
|
103
113
|
verticalPosition?: 'normal' | 'lower';
|
114
|
+
/**
|
115
|
+
* @deprecated Property replaced by `decorator`
|
116
|
+
*/
|
117
|
+
slug?: ReactNode;
|
104
118
|
}
|
105
119
|
interface Step {
|
106
120
|
introStep?: boolean;
|
@@ -1,12 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
3
3
|
*
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef, useState, useRef, useEffect, createContext } from 'react';
|
10
|
+
import { deprecateProp } from '../../global/js/utils/props-helper.js';
|
10
11
|
import { Form } from '@carbon/react';
|
11
12
|
import PropTypes from '../../_virtual/index.js';
|
12
13
|
import { TearsheetShell } from '../Tearsheet/TearsheetShell.js';
|
@@ -22,7 +23,7 @@ import { useResetCreateComponent } from '../../global/js/hooks/useResetCreateCom
|
|
22
23
|
import { useCreateComponentStepChange } from '../../global/js/hooks/useCreateComponentStepChange.js';
|
23
24
|
import { CreateInfluencer } from '../CreateInfluencer/CreateInfluencer.js';
|
24
25
|
|
25
|
-
var _excluded = ["backButtonText", "cancelButtonText", "children", "className", "experimentalSecondarySubmitText", "description", "influencerWidth", "initialStep", "label", "nextButtonText", "onClose", "onRequestSubmit", "open", "
|
26
|
+
var _excluded = ["backButtonText", "cancelButtonText", "children", "className", "experimentalSecondarySubmitText", "firstFocusElement", "description", "hasError", "influencerWidth", "initialStep", "label", "nextButtonText", "onClose", "onRequestSubmit", "open", "selectorPrimaryFocus", "slug", "decorator", "submitButtonText", "title", "verticalPosition"];
|
26
27
|
var componentName = 'CreateTearsheet';
|
27
28
|
var blockClass = "".concat(pkg.prefix, "--tearsheet-create");
|
28
29
|
|
@@ -41,7 +42,9 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
41
42
|
children = _ref.children,
|
42
43
|
className = _ref.className,
|
43
44
|
experimentalSecondarySubmitText = _ref.experimentalSecondarySubmitText,
|
45
|
+
firstFocusElement = _ref.firstFocusElement,
|
44
46
|
description = _ref.description,
|
47
|
+
hasError = _ref.hasError,
|
45
48
|
_ref$influencerWidth = _ref.influencerWidth,
|
46
49
|
influencerWidth = _ref$influencerWidth === void 0 ? 'narrow' : _ref$influencerWidth,
|
47
50
|
initialStep = _ref.initialStep,
|
@@ -50,8 +53,9 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
50
53
|
onClose = _ref.onClose,
|
51
54
|
onRequestSubmit = _ref.onRequestSubmit,
|
52
55
|
open = _ref.open,
|
53
|
-
|
54
|
-
|
56
|
+
selectorPrimaryFocus = _ref.selectorPrimaryFocus,
|
57
|
+
deprecated_slug = _ref.slug,
|
58
|
+
decorator = _ref.decorator,
|
55
59
|
submitButtonText = _ref.submitButtonText,
|
56
60
|
title = _ref.title,
|
57
61
|
_ref$verticalPosition = _ref.verticalPosition,
|
@@ -193,11 +197,13 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
193
197
|
onClose: onClose,
|
194
198
|
open: open,
|
195
199
|
size: 'wide',
|
196
|
-
|
200
|
+
decorator: decorator || deprecated_slug,
|
197
201
|
title: title,
|
198
202
|
verticalPosition: verticalPosition,
|
199
203
|
closeIconDescription: '',
|
200
|
-
currentStep: currentStep
|
204
|
+
currentStep: currentStep,
|
205
|
+
hasError: hasError,
|
206
|
+
selectorPrimaryFocus: selectorPrimaryFocus
|
201
207
|
}), /*#__PURE__*/React__default.createElement("div", {
|
202
208
|
className: "".concat(blockClass, "__content"),
|
203
209
|
ref: contentRef
|
@@ -239,10 +245,15 @@ CreateTearsheet = pkg.checkComponentEnabled(CreateTearsheet, componentName);
|
|
239
245
|
// The display name of the component, used by React. Note that displayName
|
240
246
|
// is used in preference to relying on function.name.
|
241
247
|
CreateTearsheet.displayName = componentName;
|
242
|
-
|
248
|
+
var deprecatedProps = {
|
249
|
+
/**
|
250
|
+
* @deprecated Property replaced by `decorator`
|
251
|
+
*/
|
252
|
+
slug: deprecateProp(PropTypes.node, 'Property replaced by `decorator`')
|
253
|
+
};
|
243
254
|
// Note that the descriptions here should be kept in sync with those for the
|
244
255
|
// corresponding props for TearsheetNarrow and TearsheetShell components.
|
245
|
-
CreateTearsheet.propTypes = {
|
256
|
+
CreateTearsheet.propTypes = _objectSpread2({
|
246
257
|
/**
|
247
258
|
* The back button text
|
248
259
|
*/
|
@@ -259,6 +270,10 @@ CreateTearsheet.propTypes = {
|
|
259
270
|
* An optional class or classes to be added to the outermost element.
|
260
271
|
*/
|
261
272
|
className: PropTypes.string,
|
273
|
+
/**
|
274
|
+
* Optional prop that allows you to pass any component.
|
275
|
+
*/
|
276
|
+
decorator: PropTypes.node,
|
262
277
|
/**
|
263
278
|
* A description of the flow, displayed in the header area of the tearsheet.
|
264
279
|
*/
|
@@ -271,6 +286,11 @@ CreateTearsheet.propTypes = {
|
|
271
286
|
* Specifies elements to focus on first on render.
|
272
287
|
*/
|
273
288
|
firstFocusElement: PropTypes.string,
|
289
|
+
/**
|
290
|
+
* To indicate an error occurred in the Tearsheet step
|
291
|
+
* Used to pass this value to TearsheetShell
|
292
|
+
*/
|
293
|
+
hasError: PropTypes.bool,
|
274
294
|
/**
|
275
295
|
* Used to set the size of the influencer
|
276
296
|
*/
|
@@ -307,9 +327,10 @@ CreateTearsheet.propTypes = {
|
|
307
327
|
*/
|
308
328
|
open: PropTypes.bool,
|
309
329
|
/**
|
310
|
-
*
|
330
|
+
* Specify a CSS selector that matches the DOM element that should be
|
331
|
+
* focused when the Modal opens.
|
311
332
|
*/
|
312
|
-
|
333
|
+
selectorPrimaryFocus: PropTypes.string,
|
313
334
|
/**
|
314
335
|
* The submit button text
|
315
336
|
*/
|
@@ -326,6 +347,6 @@ CreateTearsheet.propTypes = {
|
|
326
347
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
327
348
|
*/
|
328
349
|
verticalPosition: PropTypes.oneOf(['normal', 'lower'])
|
329
|
-
};
|
350
|
+
}, deprecatedProps);
|
330
351
|
|
331
352
|
export { CreateTearsheet, StepNumberContext, StepsContext };
|