@carbon/ibm-products 2.56.1 → 2.57.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/index-full-carbon.css +66 -20
- 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 +28 -12
- 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 +28 -12
- 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 +29 -12
- 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/_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.d.ts +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +2 -2
- package/es/components/APIKeyModal/APIKeyModal.d.ts +13 -0
- package/es/components/APIKeyModal/APIKeyModal.js +70 -26
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +16 -2
- 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 +4 -5
- 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 +5 -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.d.ts +12 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +40 -9
- 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 +1 -1
- 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 +10 -6
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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.js +3 -2
- 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 +32 -3
- 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.js +1 -1
- package/es/components/EmptyStates/EmptyStateContent.js +1 -1
- package/es/components/EmptyStates/EmptyStateIllustration.js +1 -1
- package/es/components/EmptyStates/EmptyStateV2.js +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
- 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 +2 -2
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +2 -2
- package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +2 -2
- 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 +3 -4
- 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 +14 -4
- package/es/components/PageHeader/PageHeaderTitle.js +11 -30
- package/es/components/PageHeader/PageHeaderUtils.js +1 -1
- package/es/components/ProductiveCard/ProductiveCard.d.ts +6 -2
- package/es/components/ProductiveCard/ProductiveCard.js +8 -6
- 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.d.ts +6 -1
- package/es/components/SidePanel/SidePanel.js +42 -27
- 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 +3 -6
- 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 +4 -0
- package/es/components/Tearsheet/TearsheetShell.js +6 -38
- 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.d.ts +1 -1
- package/es/global/js/hooks/useFocus.js +8 -5
- 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.d.ts +5 -0
- package/es/global/js/utils/checkForOverflow.js +31 -0
- 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.d.ts +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.js +2 -2
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +13 -0
- package/lib/components/APIKeyModal/APIKeyModal.js +69 -23
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +16 -2
- 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 +4 -5
- 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 +5 -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.d.ts +12 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +40 -9
- 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 +1 -1
- 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 +10 -6
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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.js +3 -2
- 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 +31 -2
- 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.js +1 -1
- package/lib/components/EmptyStates/EmptyStateContent.js +1 -1
- package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -1
- package/lib/components/EmptyStates/EmptyStateV2.js +1 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
- 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 +2 -2
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +2 -2
- package/lib/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +2 -2
- 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 +3 -4
- 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 +13 -3
- package/lib/components/PageHeader/PageHeaderTitle.js +9 -28
- package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +6 -2
- package/lib/components/ProductiveCard/ProductiveCard.js +8 -6
- 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.d.ts +6 -1
- package/lib/components/SidePanel/SidePanel.js +42 -27
- 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 +2 -5
- 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 +4 -0
- package/lib/components/Tearsheet/TearsheetShell.js +6 -38
- 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.d.ts +1 -1
- package/lib/global/js/hooks/useFocus.js +8 -5
- 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.d.ts +5 -0
- package/lib/global/js/utils/checkForOverflow.js +34 -0
- 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 +8 -8
- package/scss/components/APIKeyModal/_api-key-modal.scss +4 -0
- package/scss/components/PageHeader/_page-header.scss +18 -6
- package/scss/components/SidePanel/_side-panel.scss +13 -6
- package/telemetry.yml +4 -0
@@ -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.
|
@@ -23,7 +23,7 @@ var useFocus = require('../../global/js/hooks/useFocus.js');
|
|
23
23
|
var usePreviousValue = require('../../global/js/hooks/usePreviousValue.js');
|
24
24
|
|
25
25
|
var _ErrorFilled, _InformationFilled;
|
26
|
-
var _excluded = ["apiKey", "apiKeyLabel", "apiKeyName", "body", "className", "closeButtonText", "copyButtonText", "copyErrorText", "copyIconDescription", "customSteps", "downloadBodyText", "downloadFileName", "downloadFileType", "downloadLinkText", "downloadLinkLabel", "editButtonText", "editSuccess", "editSuccessTitle", "editing", "error", "errorText", "generateButtonText", "generateSuccessBody", "generateSuccessTitle", "generateTitle", "hasAPIKeyVisibilityToggle", "hasDownloadLink", "hideAPIKeyLabel", "launcherButtonRef", "loading", "loadingText", "modalLabel", "nameHelperText", "nameLabel", "namePlaceholder", "nameRequired", "nextStepButtonText", "onClose", "onCopy", "onRequestEdit", "onRequestGenerate", "open", "portalTarget", "previousStepButtonText", "selectorPrimaryFocus", "showAPIKeyLabel"];
|
26
|
+
var _excluded = ["apiKey", "apiKeyLabel", "apiKeyName", "body", "className", "closeButtonText", "copyButtonText", "copyErrorText", "copyIconDescription", "customSteps", "downloadBodyText", "downloadFileName", "downloadFileType", "downloadLinkText", "downloadLinkLabel", "editButtonText", "editSuccess", "editSuccessTitle", "editSuccessMessage", "editing", "error", "errorText", "generateButtonText", "generateSuccessBody", "generateSuccessTitle", "generateSuccessMessage", "generateTitle", "hasAPIKeyVisibilityToggle", "hasDownloadLink", "hideAPIKeyLabel", "launcherButtonRef", "loading", "loadingText", "modalLabel", "nameHelperText", "nameLabel", "namePlaceholder", "nameRequired", "nextStepButtonText", "onClose", "onCopy", "onRequestEdit", "onRequestGenerate", "open", "portalTarget", "previousStepButtonText", "selectorPrimaryFocus", "showAPIKeyLabel", "helperText"];
|
27
27
|
var componentName = 'APIKeyModal';
|
28
28
|
|
29
29
|
// Default values for props
|
@@ -54,12 +54,14 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
54
54
|
editButtonText = _ref.editButtonText,
|
55
55
|
editSuccess = _ref.editSuccess,
|
56
56
|
editSuccessTitle = _ref.editSuccessTitle,
|
57
|
+
editSuccessMessage = _ref.editSuccessMessage,
|
57
58
|
editing = _ref.editing,
|
58
59
|
error = _ref.error,
|
59
60
|
errorText = _ref.errorText,
|
60
61
|
generateButtonText = _ref.generateButtonText,
|
61
62
|
generateSuccessBody = _ref.generateSuccessBody,
|
62
63
|
generateSuccessTitle = _ref.generateSuccessTitle,
|
64
|
+
generateSuccessMessage = _ref.generateSuccessMessage,
|
63
65
|
generateTitle = _ref.generateTitle,
|
64
66
|
hasAPIKeyVisibilityToggle = _ref.hasAPIKeyVisibilityToggle,
|
65
67
|
hasDownloadLink = _ref.hasDownloadLink,
|
@@ -82,23 +84,28 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
82
84
|
previousStepButtonText = _ref.previousStepButtonText,
|
83
85
|
selectorPrimaryFocus = _ref.selectorPrimaryFocus,
|
84
86
|
showAPIKeyLabel = _ref.showAPIKeyLabel,
|
87
|
+
helperText = _ref.helperText,
|
85
88
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
86
89
|
var _useState = React.useState(null),
|
87
90
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
88
91
|
title = _useState2[0],
|
89
92
|
setTitle = _useState2[1];
|
90
|
-
var _useState3 = React.useState(
|
93
|
+
var _useState3 = React.useState(null),
|
91
94
|
_useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
|
92
|
-
|
93
|
-
|
94
|
-
var _useState5 = React.useState(
|
95
|
+
successMessage = _useState4[0],
|
96
|
+
setSuccessMessage = _useState4[1];
|
97
|
+
var _useState5 = React.useState(false),
|
95
98
|
_useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
|
96
|
-
|
97
|
-
|
98
|
-
var _useState7 = React.useState(
|
99
|
+
copyError = _useState6[0],
|
100
|
+
setCopyError = _useState6[1];
|
101
|
+
var _useState7 = React.useState(apiKeyName),
|
99
102
|
_useState8 = _rollupPluginBabelHelpers.slicedToArray(_useState7, 2),
|
100
|
-
|
101
|
-
|
103
|
+
name = _useState8[0],
|
104
|
+
setName = _useState8[1];
|
105
|
+
var _useState9 = React.useState(0),
|
106
|
+
_useState10 = _rollupPluginBabelHelpers.slicedToArray(_useState9, 2),
|
107
|
+
currentStep = _useState10[0],
|
108
|
+
setCurrentStep = _useState10[1];
|
102
109
|
var copyRef = React.useRef(undefined);
|
103
110
|
var apiKeyInputId = React.useRef(uuidv4.default());
|
104
111
|
var nameInputId = React.useRef(uuidv4.default());
|
@@ -118,6 +125,7 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
118
125
|
};
|
119
126
|
var blockClass = "".concat(settings.pkg.prefix, "--apikey-modal");
|
120
127
|
var localRef = React.useRef(undefined);
|
128
|
+
var PasswordInputRef = React.useRef(null);
|
121
129
|
var modalRef = ref || localRef;
|
122
130
|
var _useFocus = useFocus.useFocus(modalRef, selectorPrimaryFocus),
|
123
131
|
firstElement = _useFocus.firstElement,
|
@@ -127,6 +135,9 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
127
135
|
if (copyRef.current && open && apiKeyLoaded) {
|
128
136
|
copyRef.current.focus();
|
129
137
|
}
|
138
|
+
if (PasswordInputRef !== null && PasswordInputRef !== void 0 && PasswordInputRef.current) {
|
139
|
+
PasswordInputRef === null || PasswordInputRef === void 0 || PasswordInputRef.current.setAttribute('readOnly', 'true');
|
140
|
+
}
|
130
141
|
}, [open, apiKeyLoaded]);
|
131
142
|
React.useEffect(function () {
|
132
143
|
if (open) {
|
@@ -174,16 +185,18 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
174
185
|
};
|
175
186
|
React.useEffect(function () {
|
176
187
|
if (editing && editSuccess) {
|
177
|
-
setTitle(
|
188
|
+
setTitle(generateTitle);
|
189
|
+
setSuccessMessage(editSuccessMessage !== null && editSuccessMessage !== void 0 ? editSuccessMessage : editSuccessTitle);
|
178
190
|
} else if (apiKeyLoaded) {
|
179
|
-
setTitle(
|
191
|
+
setTitle(generateTitle);
|
192
|
+
setSuccessMessage(generateSuccessMessage !== null && generateSuccessMessage !== void 0 ? generateSuccessMessage : generateSuccessTitle);
|
180
193
|
} else if (hasSteps) {
|
181
194
|
var _customSteps$currentS2;
|
182
195
|
setTitle((_customSteps$currentS2 = customSteps[currentStep]) === null || _customSteps$currentS2 === void 0 ? void 0 : _customSteps$currentS2.title);
|
183
196
|
} else {
|
184
197
|
setTitle(generateTitle);
|
185
198
|
}
|
186
|
-
}, [apiKeyLoaded, editing, editSuccess, editSuccessTitle, hasSteps, generateSuccessTitle, generateTitle, currentStep, customSteps]);
|
199
|
+
}, [apiKeyLoaded, loading, editing, editSuccess, editSuccessTitle, editSuccessMessage, hasSteps, generateSuccessTitle, generateSuccessMessage, generateTitle, currentStep, customSteps]);
|
187
200
|
var setNameHandler = function setNameHandler(evt) {
|
188
201
|
setName(evt.target.value);
|
189
202
|
};
|
@@ -281,7 +294,9 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
281
294
|
id: apiKeyInputId.current,
|
282
295
|
showPasswordLabel: showAPIKeyLabel,
|
283
296
|
hidePasswordLabel: hideAPIKeyLabel,
|
284
|
-
tooltipPosition: "left"
|
297
|
+
tooltipPosition: "left",
|
298
|
+
helperText: helperText,
|
299
|
+
ref: PasswordInputRef
|
285
300
|
}), !editing && apiKey && !hasAPIKeyVisibilityToggle && /*#__PURE__*/React.createElement(react.TextInput, {
|
286
301
|
value: apiKey,
|
287
302
|
labelText: apiKeyLabel,
|
@@ -309,7 +324,9 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
309
324
|
}, _ErrorFilled || (_ErrorFilled = /*#__PURE__*/React.createElement(icons.ErrorFilled, {
|
310
325
|
size: 16
|
311
326
|
}))), /*#__PURE__*/React.createElement("p", {
|
312
|
-
className: "".concat(blockClass, "__messaging-text")
|
327
|
+
className: "".concat(blockClass, "__messaging-text"),
|
328
|
+
role: "alert",
|
329
|
+
"aria-live": "assertive"
|
313
330
|
}, copyError ? copyErrorText : errorText)), apiKeyLoaded && /*#__PURE__*/React.createElement("div", {
|
314
331
|
className: "".concat(blockClass, "__messaging")
|
315
332
|
}, _InformationFilled || (_InformationFilled = /*#__PURE__*/React.createElement(icons.InformationFilled, {
|
@@ -322,8 +339,19 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
322
339
|
fileType: downloadFileType,
|
323
340
|
downloadLinkLabel: downloadLinkLabel
|
324
341
|
}) : /*#__PURE__*/React.createElement("div", {
|
325
|
-
className: "".concat(blockClass, "__messaging-text")
|
326
|
-
|
342
|
+
className: "".concat(blockClass, "__messaging-text"),
|
343
|
+
role: "alert",
|
344
|
+
"aria-live": "assertive"
|
345
|
+
}, generateSuccessBody)), (editSuccess || apiKeyLoaded && successMessage) && /*#__PURE__*/React.createElement("div", {
|
346
|
+
className: "".concat(blockClass, "__messaging")
|
347
|
+
}, /*#__PURE__*/React.createElement(icons.CheckmarkFilled, {
|
348
|
+
size: 16,
|
349
|
+
className: "".concat(blockClass, "__checkmark-icon")
|
350
|
+
}), /*#__PURE__*/React.createElement("p", {
|
351
|
+
className: "".concat(blockClass, "__messaging-text"),
|
352
|
+
role: "alert",
|
353
|
+
"aria-live": "assertive"
|
354
|
+
}, successMessage)))), /*#__PURE__*/React.createElement(react.ModalFooter, {
|
327
355
|
className: "".concat(blockClass, "__footer")
|
328
356
|
}, /*#__PURE__*/React.createElement(react.Button, {
|
329
357
|
type: "button",
|
@@ -357,7 +385,19 @@ var downloadRequiredProps = function downloadRequiredProps(type) {
|
|
357
385
|
|
358
386
|
// Return a placeholder if not released and not enabled by feature flag
|
359
387
|
exports.APIKeyModal = settings.pkg.checkComponentEnabled(exports.APIKeyModal, componentName);
|
360
|
-
|
388
|
+
var deprecatedProps = {
|
389
|
+
/**
|
390
|
+
* deprecated
|
391
|
+
* title for a successful edit
|
392
|
+
*/
|
393
|
+
editSuccessTitle: index.default.string,
|
394
|
+
/**
|
395
|
+
* deprecated
|
396
|
+
* title for a successful key generation
|
397
|
+
*/
|
398
|
+
generateSuccessTitle: index.default.string
|
399
|
+
};
|
400
|
+
exports.APIKeyModal.propTypes = _rollupPluginBabelHelpers.objectSpread2({
|
361
401
|
/**
|
362
402
|
* the api key that's displayed to the user when a request to create is fulfilled.
|
363
403
|
*/
|
@@ -415,7 +455,7 @@ exports.APIKeyModal.propTypes = {
|
|
415
455
|
/**
|
416
456
|
* the content that appears that indicates the key is downloadable
|
417
457
|
*/
|
418
|
-
downloadBodyText:
|
458
|
+
downloadBodyText: index.default.string,
|
419
459
|
/**
|
420
460
|
* designates the name of downloadable json file with the key. if not specified will default to 'apikey'
|
421
461
|
*/
|
@@ -443,7 +483,7 @@ exports.APIKeyModal.propTypes = {
|
|
443
483
|
/**
|
444
484
|
* title for a successful edit
|
445
485
|
*/
|
446
|
-
|
486
|
+
editSuccessMessage: editRequiredProps(index.default.string),
|
447
487
|
/**
|
448
488
|
* designates if the modal is in the edit mode
|
449
489
|
*/
|
@@ -469,7 +509,7 @@ exports.APIKeyModal.propTypes = {
|
|
469
509
|
/**
|
470
510
|
* title for a successful key generation
|
471
511
|
*/
|
472
|
-
|
512
|
+
generateSuccessMessage: index.default.string,
|
473
513
|
/**
|
474
514
|
* default title for the modal in generate key mode
|
475
515
|
*/
|
@@ -482,6 +522,10 @@ exports.APIKeyModal.propTypes = {
|
|
482
522
|
* designates if user is able to download the api key
|
483
523
|
*/
|
484
524
|
hasDownloadLink: index.default.bool,
|
525
|
+
/**
|
526
|
+
* helper text for password input
|
527
|
+
*/
|
528
|
+
helperText: index.default.string,
|
485
529
|
/**
|
486
530
|
* label text that's displayed when hovering over visibility toggler to hide key
|
487
531
|
*/
|
@@ -561,5 +605,7 @@ exports.APIKeyModal.propTypes = {
|
|
561
605
|
* label text that's displayed when hovering over visibility toggler to show key
|
562
606
|
*/
|
563
607
|
showAPIKeyLabel: index.default.string
|
564
|
-
};
|
608
|
+
}, deprecatedProps);
|
565
609
|
exports.APIKeyModal.displayName = componentName;
|
610
|
+
|
611
|
+
exports.deprecatedProps = deprecatedProps;
|
@@ -73,9 +73,14 @@ interface APIKeyModalCommonProps {
|
|
73
73
|
*/
|
74
74
|
generateSuccessBody?: ReactNode;
|
75
75
|
/**
|
76
|
+
* * @deprecated use `generateSuccessMessage` instead
|
76
77
|
* title for a successful key generation
|
77
78
|
*/
|
78
79
|
generateSuccessTitle?: string;
|
80
|
+
/**
|
81
|
+
* success message for a successful key generation
|
82
|
+
*/
|
83
|
+
generateSuccessMessage?: string;
|
79
84
|
/**
|
80
85
|
* default title for the modal in generate key mode
|
81
86
|
*/
|
@@ -158,6 +163,10 @@ interface APIKeyModalCommonProps {
|
|
158
163
|
* label text that's displayed when hovering over visibility toggler to show key
|
159
164
|
*/
|
160
165
|
showAPIKeyLabel?: string;
|
166
|
+
/**
|
167
|
+
* helper text for password input
|
168
|
+
*/
|
169
|
+
helperText?: string;
|
161
170
|
}
|
162
171
|
type CustomStepConditionalProps = {
|
163
172
|
/**
|
@@ -191,9 +200,14 @@ type EditingConditionalProps = {
|
|
191
200
|
*/
|
192
201
|
editSuccess: boolean;
|
193
202
|
/**
|
203
|
+
* * @deprecated use `editSuccessMessage` instead
|
194
204
|
* title for a successful edit
|
195
205
|
*/
|
196
|
-
editSuccessTitle
|
206
|
+
editSuccessTitle?: string;
|
207
|
+
/**
|
208
|
+
* success message for edit
|
209
|
+
*/
|
210
|
+
editSuccessMessage: string;
|
197
211
|
};
|
198
212
|
type HasDownloadLinkProps = {
|
199
213
|
/**
|
@@ -203,7 +217,7 @@ type HasDownloadLinkProps = {
|
|
203
217
|
/**
|
204
218
|
* the content that appears that indicates the key is downloadable
|
205
219
|
*/
|
206
|
-
downloadBodyText
|
220
|
+
downloadBodyText?: string;
|
207
221
|
/**
|
208
222
|
* designates the name of downloadable json file with the key. if not specified will default to 'apikey'
|
209
223
|
*/
|
@@ -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.
|
@@ -18,7 +18,7 @@ var CardFooter = require('./CardFooter.js');
|
|
18
18
|
var settings = require('../../settings.js');
|
19
19
|
|
20
20
|
var _Incomplete, _CheckmarkOutline;
|
21
|
-
var _excluded = ["actionIcons", "actionsPlacement", "decorator", "metadata", "children", "className", "clickZone", "description", "disabled", "footerActionIcon", "getStarted", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "
|
21
|
+
var _excluded = ["actionIcons", "actionsPlacement", "decorator", "metadata", "children", "className", "clickZone", "description", "disabled", "footerActionIcon", "getStarted", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "onSecondaryButtonClick", "overflowActions", "overflowAriaLabel", "pictogram", "primaryButtonDisabled", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonPlacement", "primaryButtonText", "productive", "secondaryButtonDisabled", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonPlacement", "secondaryButtonText", "slug", "status", "sequence", "title", "titleSize", "iconDescription"],
|
22
22
|
_excluded2 = ["id", "itemText"],
|
23
23
|
_excluded3 = ["id", "icon", "onClick", "iconDescription", "href"];
|
24
24
|
var componentName = 'Card';
|
@@ -45,10 +45,10 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
45
45
|
onClick = _ref.onClick,
|
46
46
|
onKeyDown = _ref.onKeyDown,
|
47
47
|
onPrimaryButtonClick = _ref.onPrimaryButtonClick,
|
48
|
+
onSecondaryButtonClick = _ref.onSecondaryButtonClick,
|
48
49
|
_ref$overflowActions = _ref.overflowActions,
|
49
50
|
overflowActions = _ref$overflowActions === void 0 ? Object.freeze([]) : _ref$overflowActions,
|
50
51
|
overflowAriaLabel = _ref.overflowAriaLabel,
|
51
|
-
onSecondaryButtonClick = _ref.onSecondaryButtonClick,
|
52
52
|
Pictogram = _ref.pictogram,
|
53
53
|
primaryButtonDisabled = _ref.primaryButtonDisabled,
|
54
54
|
primaryButtonHref = _ref.primaryButtonHref,
|
@@ -107,8 +107,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
107
107
|
autoAlign: true,
|
108
108
|
menuAlignment: pos,
|
109
109
|
size: size,
|
110
|
-
|
111
|
-
label: iconDescription
|
110
|
+
label: overflowAriaLabel || iconDescription
|
112
111
|
}, overflowActions.map(function (_ref2) {
|
113
112
|
var id = _ref2.id,
|
114
113
|
itemText = _ref2.itemText,
|
@@ -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.
|
@@ -62,6 +62,7 @@ exports.CoachmarkOverlay = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
62
62
|
var handleKeyPress = function handleKeyPress(event) {
|
63
63
|
var shiftKey = event.shiftKey,
|
64
64
|
key = event.key;
|
65
|
+
/* istanbul ignore next */
|
65
66
|
if (key === 'Enter' || key === ' ') {
|
66
67
|
setA11yDragMode(function (prevVal) {
|
67
68
|
return !prevVal;
|
@@ -105,6 +106,8 @@ exports.CoachmarkOverlay = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
105
106
|
}
|
106
107
|
return style;
|
107
108
|
}, [isBeacon, isDraggable, coachmark, kind]);
|
109
|
+
|
110
|
+
/* istanbul ignore next */
|
108
111
|
function handleDragBounds(x, y) {
|
109
112
|
var xRes = x;
|
110
113
|
var yRes = y;
|
@@ -193,6 +196,7 @@ var useWindowDimensions = function useWindowDimensions() {
|
|
193
196
|
windowDimensions = _useState4[0],
|
194
197
|
setWindowDimensions = _useState4[1];
|
195
198
|
React.useEffect(function () {
|
199
|
+
/* istanbul ignore next */
|
196
200
|
function handleResize() {
|
197
201
|
setWindowDimensions(getWindowDimensions());
|
198
202
|
}
|