@carbon/ibm-products 2.59.0-rc.0 → 2.60.0-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/css/index-full-carbon.css +9105 -9158
- 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 +1150 -1565
- 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 +2837 -4774
- 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 +2250 -1875
- 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/_rollupPluginBabelHelpers.js +167 -196
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +6 -7
- package/es/components/APIKeyModal/APIKeyDownloader.js +3 -3
- package/es/components/APIKeyModal/APIKeyModal.d.ts +2 -3
- package/es/components/APIKeyModal/APIKeyModal.js +18 -18
- package/es/components/AboutModal/AboutModal.js +2 -2
- package/es/components/ActionBar/ActionBar.d.ts +1 -2
- package/es/components/ActionBar/ActionBar.js +4 -4
- package/es/components/ActionBar/ActionBarItem.js +1 -1
- package/es/components/ActionBar/ActionBarOverflowItems.d.ts +6 -7
- package/es/components/ActionBar/ActionBarOverflowItems.js +3 -3
- package/es/components/ActionSet/ActionSet.d.ts +0 -1
- package/es/components/ActionSet/ActionSet.js +23 -12
- package/es/components/AddSelect/AddSelect.js +8 -22
- package/es/components/AddSelect/AddSelectBody.js +12 -12
- package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +3 -4
- package/es/components/AddSelect/AddSelectColumn.d.ts +10 -11
- package/es/components/AddSelect/AddSelectColumn.js +6 -6
- package/es/components/AddSelect/AddSelectFilter.d.ts +15 -16
- package/es/components/AddSelect/AddSelectFilter.js +1 -1
- package/es/components/AddSelect/AddSelectFormControl.d.ts +4 -5
- package/es/components/AddSelect/AddSelectList.d.ts +3 -4
- package/es/components/AddSelect/AddSelectMetaPanel.d.ts +4 -9
- package/es/components/AddSelect/AddSelectMetaPanel.js +3 -3
- package/es/components/AddSelect/AddSelectRow.d.ts +21 -22
- package/es/components/AddSelect/AddSelectRow.js +3 -3
- package/es/components/AddSelect/AddSelectSidebar.d.ts +12 -13
- package/es/components/AddSelect/AddSelectSidebar.js +1 -1
- package/es/components/AddSelect/AddSelectSort.d.ts +4 -5
- package/es/components/AddSelect/AddSelectSort.js +5 -5
- package/es/components/AddSelect/add-select-utils.js +6 -17
- package/es/components/AddSelect/hooks/usePath.js +1 -1
- package/es/components/BigNumbers/BigNumbers.d.ts +26 -3
- package/es/components/BigNumbers/BigNumbers.js +55 -110
- package/es/components/BigNumbers/BigNumbersSkeleton.d.ts +17 -0
- package/es/components/BigNumbers/BigNumbersSkeleton.js +63 -0
- package/es/components/BigNumbers/constants.d.ts +17 -11
- package/es/components/BigNumbers/constants.js +17 -40
- package/es/components/BigNumbers/index.d.ts +7 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +5 -31
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +5 -5
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +6 -7
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +4 -4
- package/es/components/Card/Card.js +14 -14
- package/es/components/Card/CardFooter.d.ts +20 -21
- package/es/components/Card/CardFooter.js +5 -8
- package/es/components/Card/CardHeader.d.ts +22 -23
- package/es/components/Card/CardHeader.js +3 -5
- package/es/components/Carousel/Carousel.js +25 -25
- package/es/components/Cascade/Cascade.d.ts +1 -3
- package/es/components/Cascade/Cascade.js +18 -17
- package/es/components/Checklist/Checklist.d.ts +0 -1
- package/es/components/Checklist/Checklist.js +12 -12
- package/es/components/Checklist/ChecklistChart.d.ts +2 -2
- package/es/components/Checklist/ChecklistChart.js +2 -2
- package/es/components/Checklist/ChecklistIcon.d.ts +3 -3
- package/es/components/Checklist/ChecklistIcon.js +2 -2
- package/es/components/Coachmark/Coachmark.js +10 -10
- package/es/components/Coachmark/CoachmarkDragbar.js +5 -5
- package/es/components/Coachmark/CoachmarkHeader.js +4 -4
- package/es/components/Coachmark/CoachmarkOverlay.js +4 -4
- package/es/components/Coachmark/CoachmarkTagline.js +3 -3
- package/es/components/Coachmark/utils/context.js +1 -1
- package/es/components/Coachmark/utils/enums.d.ts +1 -1
- package/es/components/Coachmark/utils/enums.js +3 -2
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +8 -8
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +15 -15
- package/es/components/CoachmarkStack/CoachmarkStack.js +11 -7
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +4 -4
- package/es/components/ComboButton/ComboButton.d.ts +1 -1
- package/es/components/ComboButton/ComboButton.js +24 -25
- package/es/components/ComboButton/ComboButtonItem/index.d.ts +4 -4
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +18 -19
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +18 -13
- package/es/components/ConditionBuilder/ConditionBuilder.js +7 -4
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +24 -26
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -6
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +6 -6
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +10 -11
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +17 -18
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +6 -4
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +3 -4
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +3 -3
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +5 -19
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +21 -21
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +2 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +18 -18
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +23 -10
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -4
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +3 -4
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +3 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +3 -4
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +6 -6
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +3 -4
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +9 -9
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +4 -5
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +3 -3
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +5 -6
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +40 -36
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +3 -4
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +15 -15
- package/es/components/ConditionBuilder/utils/useDataConfigs.js +1 -1
- package/es/components/ConditionBuilder/utils/useTranslations.js +2 -2
- package/es/components/ConditionBuilder/utils/util.d.ts +2 -9
- package/es/components/ConditionBuilder/utils/util.js +59 -44
- package/es/components/CreateFullPage/CreateFullPage.js +6 -10
- package/es/components/CreateFullPage/CreateFullPageStep.js +10 -10
- package/es/components/CreateInfluencer/CreateInfluencer.d.ts +5 -11
- package/es/components/CreateInfluencer/CreateInfluencer.js +8 -8
- package/es/components/CreateModal/CreateModal.d.ts +1 -2
- package/es/components/CreateModal/CreateModal.js +2 -2
- package/es/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +7 -9
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +17 -17
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +57 -59
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +40 -40
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +26 -26
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +3 -3
- package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +3 -3
- package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +16 -16
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +8 -8
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +11 -11
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
- package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +5 -5
- package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +7 -7
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +6 -6
- package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +10 -10
- package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +3 -3
- package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +6 -6
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +6 -6
- package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +8 -8
- package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +3 -3
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +13 -13
- package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +16 -16
- package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +6 -6
- package/es/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +3 -29
- package/es/components/Datagrid/Datagrid/DatagridContent.js +17 -14
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +3 -5
- package/es/components/Datagrid/Datagrid/DatagridHead.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +25 -25
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridRow.js +24 -26
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +10 -10
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +10 -11
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +7 -7
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +1 -2
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +14 -12
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +18 -18
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +7 -8
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +7 -8
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +4 -5
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +12 -13
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +10 -8
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +14 -15
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +9 -9
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +8 -8
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +14 -23
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +16 -16
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +19 -24
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +27 -24
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +4 -5
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +8 -9
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +3 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +21 -21
- 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.d.ts +10 -11
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +9 -17
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +36 -36
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -2
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +6 -6
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +6 -7
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +6 -6
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +4 -4
- package/es/components/Datagrid/types/index.d.ts +2 -5
- package/es/components/Datagrid/useActionsColumn.js +3 -3
- package/es/components/Datagrid/useColumnRightAlign.js +3 -3
- package/es/components/Datagrid/useCustomizeColumns.js +2 -2
- package/es/components/Datagrid/useDatagrid.js +3 -3
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -1
- package/es/components/Datagrid/useDisableSelectRows.js +16 -16
- package/es/components/Datagrid/useExpandedRow.js +1 -1
- package/es/components/Datagrid/useFiltering.js +1 -1
- package/es/components/Datagrid/useFloatingScroll.js +2 -2
- package/es/components/Datagrid/useFocusRowExpander.js +4 -4
- package/es/components/Datagrid/useInfiniteScroll.js +1 -1
- package/es/components/Datagrid/useInitialColumnSort.js +1 -1
- package/es/components/Datagrid/useInlineEdit.js +4 -4
- package/es/components/Datagrid/useNestedRowExpander.js +8 -8
- package/es/components/Datagrid/useNestedRows.js +6 -6
- package/es/components/Datagrid/useOnRowClick.js +6 -4
- package/es/components/Datagrid/useRowExpander.js +5 -5
- package/es/components/Datagrid/useRowIsMouseOver.js +1 -1
- package/es/components/Datagrid/useRowRenderer.js +9 -10
- package/es/components/Datagrid/useSelectAllToggle.js +2 -2
- package/es/components/Datagrid/useSelectRows.js +7 -7
- package/es/components/Datagrid/useSortableColumns.js +11 -11
- package/es/components/Datagrid/useStickyColumn.js +8 -8
- package/es/components/DecoratorBase/DecoratorBase.js +8 -8
- package/es/components/DecoratorBase/DecoratorIcon.js +2 -2
- package/es/components/DelimitedList/DelimitedList.js +3 -3
- package/es/components/DescriptionList/DescriptionList.js +2 -2
- package/es/components/EditInPlace/EditInPlace.d.ts +1 -2
- package/es/components/EditInPlace/EditInPlace.js +7 -9
- package/es/components/EditSidePanel/EditSidePanel.js +3 -3
- package/es/components/EditTearsheet/EditTearsheet.js +4 -4
- package/es/components/EditTearsheet/EditTearsheetForm.js +2 -2
- package/es/components/EmptyStates/EmptyState.d.ts +0 -1
- package/es/components/EmptyStates/EmptyState.js +6 -6
- package/es/components/EmptyStates/EmptyStateContent.d.ts +6 -7
- package/es/components/EmptyStates/EmptyStateContent.js +2 -2
- package/es/components/EmptyStates/EmptyStateIllustration.d.ts +1 -2
- package/es/components/EmptyStates/EmptyStateV2.js +2 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +0 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +4 -4
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +0 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +4 -4
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +0 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +4 -4
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +0 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +4 -4
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +0 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +4 -4
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +0 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +4 -4
- package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +3 -4
- package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +3 -4
- package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +3 -4
- package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +3 -4
- package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +3 -4
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +3 -4
- package/es/components/ExportModal/ExportModal.d.ts +1 -2
- package/es/components/ExportModal/ExportModal.js +8 -9
- package/es/components/FeatureFlags/index.d.ts +2 -5
- package/es/components/FeatureFlags/index.js +3 -3
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +8 -8
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
- package/es/components/FilterSummary/FilterSummary.js +12 -12
- package/es/components/FullPageError/FullPageError.js +1 -1
- package/es/components/FullPageError/assets/Error403SVG.d.ts +0 -1
- package/es/components/FullPageError/assets/Error404SVG.d.ts +0 -1
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +0 -1
- package/es/components/Guidebanner/Guidebanner.js +9 -9
- package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorContent.d.ts +4 -4
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +0 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +0 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +0 -1
- package/es/components/ImportModal/ImportModal.js +5 -5
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +11 -13
- package/es/components/InlineTip/InlineTipButton.d.ts +2 -1
- package/es/components/InlineTip/utils.js +5 -5
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +16 -0
- package/es/components/InterstitialScreen/InterstitialScreen.js +65 -49
- package/es/components/Nav/Nav.js +5 -5
- package/es/components/Nav/NavItem.d.ts +12 -13
- package/es/components/Nav/NavItem.js +7 -7
- package/es/components/Nav/NavList.js +12 -12
- package/es/components/NonLinearReading/NonLinearReading.js +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +7 -10
- package/es/components/NotificationsPanel/NotificationsPanel.js +74 -98
- package/es/components/OptionsTile/OptionsTile.js +4 -5
- package/es/components/PageHeader/PageHeader.d.ts +3 -4
- package/es/components/PageHeader/PageHeader.js +20 -21
- package/es/components/PageHeader/PageHeaderTitle.d.ts +3 -20
- 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.d.ts +1 -2
- package/es/components/RemoveModal/RemoveModal.js +3 -3
- package/es/components/Saving/Saving.js +4 -4
- package/es/components/ScrollGradient/ScrollGradient.js +5 -5
- package/es/components/SearchBar/SearchBar.d.ts +2 -3
- package/es/components/SearchBar/SearchBar.js +6 -13
- package/es/components/SidePanel/SidePanel.d.ts +1 -2
- package/es/components/SidePanel/SidePanel.js +59 -73
- package/es/components/SimpleHeader/SimpleHeader.d.ts +5 -17
- package/es/components/SimpleHeader/SimpleHeader.js +4 -4
- package/es/components/SingleAddSelect/SingleAddSelect.js +3 -1
- package/es/components/StatusIcon/StatusIcon.js +2 -2
- package/es/components/StatusIndicator/StatusIndicator.js +2 -2
- package/es/components/StatusIndicator/StatusIndicatorStep.js +1 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +15 -9
- package/es/components/StringFormatter/StringFormatter.js +5 -5
- package/es/components/TagOverflow/TagOverflow.js +6 -6
- package/es/components/TagOverflow/TagOverflowModal.d.ts +10 -14
- package/es/components/TagOverflow/TagOverflowModal.js +5 -5
- package/es/components/TagOverflow/TagOverflowPopover.d.ts +0 -1
- package/es/components/TagOverflow/TagOverflowPopover.js +13 -13
- package/es/components/TagSet/TagSet.d.ts +1 -1
- package/es/components/TagSet/TagSet.js +16 -19
- package/es/components/TagSet/TagSetModal.d.ts +8 -12
- package/es/components/TagSet/TagSetModal.js +7 -7
- package/es/components/TagSet/TagSetOverflow.d.ts +1 -1
- package/es/components/TagSet/TagSetOverflow.js +5 -4
- package/es/components/Tearsheet/Tearsheet.d.ts +1 -3
- package/es/components/Tearsheet/Tearsheet.js +2 -2
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -3
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/es/components/Tearsheet/TearsheetShell.d.ts +2 -3
- package/es/components/Tearsheet/TearsheetShell.js +9 -9
- package/es/components/Toolbar/Toolbar.d.ts +1 -1
- package/es/components/Toolbar/Toolbar.js +18 -10
- package/es/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/es/components/Toolbar/ToolbarButton.js +4 -4
- package/es/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/es/components/TruncatedList/TruncatedList.js +8 -8
- package/es/components/UserAvatar/UserAvatar.js +4 -4
- package/es/components/UserProfileImage/UserProfileImage.d.ts +0 -1
- package/es/components/UserProfileImage/UserProfileImage.js +3 -3
- package/es/components/WebTerminal/WebTerminal.d.ts +0 -1
- package/es/components/WebTerminal/WebTerminal.js +10 -10
- package/es/components/WebTerminal/hooks/index.js +1 -1
- package/es/components/_Canary/Canary.d.ts +2 -3
- package/es/global/js/hooks/index.d.ts +2 -0
- package/es/global/js/hooks/useControllableState.js +2 -2
- package/es/global/js/hooks/useCreateComponentFocus.js +2 -2
- package/es/global/js/hooks/useCreateComponentStepChange.js +14 -14
- package/es/global/js/hooks/useFocus.js +33 -38
- package/es/global/js/hooks/useOverflowItems.d.ts +1 -1
- package/es/global/js/hooks/useOverflowItems.js +4 -4
- package/es/global/js/hooks/usePrefersReducedMotion.d.ts +1 -2
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -1
- package/es/global/js/hooks/usePresence.d.ts +10 -0
- package/es/global/js/hooks/usePresence.js +43 -0
- package/es/global/js/hooks/useResetCreateComponent.js +1 -1
- package/es/global/js/hooks/useResizeObserver.js +5 -5
- package/es/global/js/hooks/useRetrieveStepData.js +1 -1
- package/es/global/js/hooks/useWindowResize.js +1 -1
- package/es/global/js/package-settings.js +4 -4
- package/es/global/js/utils/Wrap.js +4 -4
- package/es/global/js/utils/checkForOverflow.js +2 -2
- package/es/global/js/utils/deepCloneObject.js +3 -3
- package/es/global/js/utils/getNodeTextContent.js +5 -5
- package/es/global/js/utils/getSupportedLocale.d.ts +10 -0
- package/es/global/js/utils/getSupportedLocale.js +27 -0
- package/es/global/js/utils/lastIndexInArray.js +1 -1
- package/es/global/js/utils/motionConstants.js +2 -9
- package/es/global/js/utils/props-helper.d.ts +1 -1
- package/es/global/js/utils/props-helper.js +1 -1
- package/es/global/js/utils/scrollableAncestor.js +3 -3
- package/es/index.js +1 -1
- package/es/node_modules/@carbon/icon-helpers/es/index.js +7 -7
- package/es/node_modules/@carbon/icons-react/es/Icon.js +2 -2
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +862 -854
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +883 -879
- package/es/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/es/settings.js +3 -6
- package/lib/_virtual/_rollupPluginBabelHelpers.js +166 -196
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +6 -7
- package/lib/components/APIKeyModal/APIKeyDownloader.js +3 -3
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +2 -3
- package/lib/components/APIKeyModal/APIKeyModal.js +18 -18
- package/lib/components/AboutModal/AboutModal.js +2 -2
- package/lib/components/ActionBar/ActionBar.d.ts +1 -2
- package/lib/components/ActionBar/ActionBar.js +4 -4
- package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +6 -7
- package/lib/components/ActionBar/ActionBarOverflowItems.js +3 -3
- package/lib/components/ActionSet/ActionSet.d.ts +0 -1
- package/lib/components/ActionSet/ActionSet.js +23 -12
- package/lib/components/AddSelect/AddSelect.js +6 -20
- package/lib/components/AddSelect/AddSelectBody.js +10 -10
- package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +3 -4
- package/lib/components/AddSelect/AddSelectColumn.d.ts +10 -11
- package/lib/components/AddSelect/AddSelectColumn.js +6 -6
- package/lib/components/AddSelect/AddSelectFilter.d.ts +15 -16
- package/lib/components/AddSelect/AddSelectFilter.js +1 -1
- package/lib/components/AddSelect/AddSelectFormControl.d.ts +4 -5
- package/lib/components/AddSelect/AddSelectList.d.ts +3 -4
- package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +4 -9
- package/lib/components/AddSelect/AddSelectMetaPanel.js +3 -3
- package/lib/components/AddSelect/AddSelectRow.d.ts +21 -22
- package/lib/components/AddSelect/AddSelectRow.js +3 -3
- package/lib/components/AddSelect/AddSelectSidebar.d.ts +12 -13
- package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
- package/lib/components/AddSelect/AddSelectSort.d.ts +4 -5
- package/lib/components/AddSelect/AddSelectSort.js +5 -5
- package/lib/components/AddSelect/add-select-utils.js +6 -17
- package/lib/components/BigNumbers/BigNumbers.d.ts +26 -3
- package/lib/components/BigNumbers/BigNumbers.js +51 -106
- package/lib/components/BigNumbers/BigNumbersSkeleton.d.ts +17 -0
- package/lib/components/BigNumbers/BigNumbersSkeleton.js +65 -0
- package/lib/components/BigNumbers/constants.d.ts +17 -11
- package/lib/components/BigNumbers/constants.js +17 -41
- package/lib/components/BigNumbers/index.d.ts +7 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +5 -31
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +5 -5
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +6 -7
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +4 -4
- package/lib/components/Card/Card.js +14 -14
- package/lib/components/Card/CardFooter.d.ts +20 -21
- package/lib/components/Card/CardFooter.js +5 -8
- package/lib/components/Card/CardHeader.d.ts +22 -23
- package/lib/components/Card/CardHeader.js +3 -5
- package/lib/components/Carousel/Carousel.js +25 -25
- package/lib/components/Cascade/Cascade.d.ts +1 -3
- package/lib/components/Cascade/Cascade.js +18 -17
- package/lib/components/Checklist/Checklist.d.ts +0 -1
- package/lib/components/Checklist/Checklist.js +11 -11
- package/lib/components/Checklist/ChecklistChart.d.ts +2 -2
- package/lib/components/Checklist/ChecklistChart.js +8 -8
- package/lib/components/Checklist/ChecklistIcon.d.ts +3 -3
- package/lib/components/Checklist/ChecklistIcon.js +1 -1
- package/lib/components/Coachmark/Coachmark.js +10 -10
- package/lib/components/Coachmark/CoachmarkDragbar.js +5 -5
- package/lib/components/Coachmark/CoachmarkHeader.js +4 -4
- package/lib/components/Coachmark/CoachmarkOverlay.js +4 -4
- package/lib/components/Coachmark/CoachmarkTagline.js +3 -3
- package/lib/components/Coachmark/utils/enums.d.ts +1 -1
- package/lib/components/Coachmark/utils/enums.js +3 -2
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +8 -8
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +15 -15
- package/lib/components/CoachmarkStack/CoachmarkStack.js +11 -7
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +4 -4
- package/lib/components/ComboButton/ComboButton.d.ts +1 -1
- package/lib/components/ComboButton/ComboButton.js +23 -24
- package/lib/components/ComboButton/ComboButtonItem/index.d.ts +4 -4
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +18 -19
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +18 -13
- package/lib/components/ConditionBuilder/ConditionBuilder.js +6 -3
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +24 -26
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -6
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +5 -5
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +10 -11
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +17 -18
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +6 -4
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +3 -4
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +3 -3
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +5 -19
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +19 -19
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +2 -3
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +18 -18
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +22 -9
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -4
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +3 -4
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +3 -3
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +3 -4
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +6 -6
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +3 -4
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +8 -8
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +4 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -3
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +3 -3
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +5 -6
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +40 -36
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +3 -4
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +15 -15
- package/lib/components/ConditionBuilder/utils/useDataConfigs.js +1 -1
- package/lib/components/ConditionBuilder/utils/useTranslations.js +2 -2
- package/lib/components/ConditionBuilder/utils/util.d.ts +2 -9
- package/lib/components/ConditionBuilder/utils/util.js +59 -43
- package/lib/components/CreateFullPage/CreateFullPage.js +6 -10
- package/lib/components/CreateFullPage/CreateFullPageStep.js +10 -10
- package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +5 -11
- package/lib/components/CreateInfluencer/CreateInfluencer.js +8 -8
- package/lib/components/CreateModal/CreateModal.d.ts +1 -2
- package/lib/components/CreateModal/CreateModal.js +2 -2
- package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +7 -9
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +17 -17
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +53 -55
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +36 -36
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +26 -26
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +3 -3
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +3 -3
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +16 -16
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +8 -8
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +8 -8
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +3 -3
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +5 -5
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +3 -3
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +10 -10
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +6 -6
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +6 -6
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +6 -6
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +3 -3
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +10 -10
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +14 -14
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +6 -6
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
- package/lib/components/Datagrid/Datagrid/Datagrid.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +3 -29
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +16 -13
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +3 -5
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -23
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +23 -25
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +9 -9
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +10 -11
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +7 -7
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +1 -2
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +14 -12
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +18 -18
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +7 -8
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +7 -8
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +4 -5
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +12 -13
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +9 -7
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +14 -15
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +9 -9
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +14 -23
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +15 -15
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +19 -24
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +25 -22
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +4 -5
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +8 -9
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +3 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +20 -20
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +10 -11
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +9 -17
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +35 -35
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +6 -6
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +6 -7
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +5 -5
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +4 -4
- package/lib/components/Datagrid/types/index.d.ts +2 -5
- package/lib/components/Datagrid/useActionsColumn.js +2 -2
- package/lib/components/Datagrid/useColumnRightAlign.js +3 -3
- package/lib/components/Datagrid/useCustomizeColumns.js +2 -2
- package/lib/components/Datagrid/useDatagrid.js +2 -2
- package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -1
- package/lib/components/Datagrid/useDisableSelectRows.js +16 -16
- package/lib/components/Datagrid/useExpandedRow.js +1 -1
- package/lib/components/Datagrid/useFiltering.js +1 -1
- package/lib/components/Datagrid/useFloatingScroll.js +2 -2
- package/lib/components/Datagrid/useFocusRowExpander.js +4 -4
- package/lib/components/Datagrid/useInfiniteScroll.js +1 -1
- package/lib/components/Datagrid/useInitialColumnSort.js +1 -1
- package/lib/components/Datagrid/useInlineEdit.js +4 -4
- package/lib/components/Datagrid/useNestedRowExpander.js +7 -7
- package/lib/components/Datagrid/useNestedRows.js +6 -6
- package/lib/components/Datagrid/useOnRowClick.js +6 -4
- package/lib/components/Datagrid/useRowExpander.js +4 -4
- package/lib/components/Datagrid/useRowIsMouseOver.js +1 -1
- package/lib/components/Datagrid/useRowRenderer.js +9 -10
- package/lib/components/Datagrid/useSelectAllToggle.js +2 -2
- package/lib/components/Datagrid/useSelectRows.js +6 -6
- package/lib/components/Datagrid/useSortableColumns.js +11 -11
- package/lib/components/Datagrid/useStickyColumn.js +8 -8
- package/lib/components/DecoratorBase/DecoratorBase.js +8 -8
- package/lib/components/DecoratorBase/DecoratorIcon.js +2 -2
- package/lib/components/DelimitedList/DelimitedList.js +3 -3
- package/lib/components/DescriptionList/DescriptionList.js +2 -2
- package/lib/components/EditInPlace/EditInPlace.d.ts +1 -2
- package/lib/components/EditInPlace/EditInPlace.js +7 -9
- package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
- package/lib/components/EditTearsheet/EditTearsheet.js +4 -4
- package/lib/components/EditTearsheet/EditTearsheetForm.js +2 -2
- package/lib/components/EmptyStates/EmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/EmptyState.js +5 -5
- package/lib/components/EmptyStates/EmptyStateContent.d.ts +6 -7
- package/lib/components/EmptyStates/EmptyStateContent.js +2 -2
- package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +1 -2
- package/lib/components/EmptyStates/EmptyStateV2.js +2 -2
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +3 -3
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +3 -3
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +3 -3
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +3 -3
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +3 -3
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +0 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +3 -3
- package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +3 -4
- package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +3 -4
- package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +3 -4
- package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +3 -4
- package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +3 -4
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +3 -4
- package/lib/components/ExportModal/ExportModal.d.ts +1 -2
- package/lib/components/ExportModal/ExportModal.js +8 -9
- package/lib/components/FeatureFlags/index.d.ts +2 -5
- package/lib/components/FeatureFlags/index.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +8 -8
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
- package/lib/components/FilterSummary/FilterSummary.js +11 -11
- package/lib/components/FullPageError/FullPageError.js +1 -1
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +0 -1
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +0 -1
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +0 -1
- package/lib/components/Guidebanner/Guidebanner.js +8 -8
- package/lib/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +4 -4
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +0 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +0 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +0 -1
- package/lib/components/ImportModal/ImportModal.js +4 -4
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +9 -11
- package/lib/components/InlineTip/InlineTipButton.d.ts +2 -1
- package/lib/components/InlineTip/utils.js +5 -5
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +16 -0
- package/lib/components/InterstitialScreen/InterstitialScreen.js +64 -48
- package/lib/components/Nav/Nav.js +1 -1
- package/lib/components/Nav/NavItem.d.ts +12 -13
- package/lib/components/Nav/NavItem.js +7 -7
- package/lib/components/Nav/NavList.js +12 -12
- package/lib/components/NonLinearReading/NonLinearReading.js +1 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +7 -10
- package/lib/components/NotificationsPanel/NotificationsPanel.js +74 -98
- package/lib/components/OptionsTile/OptionsTile.js +5 -6
- package/lib/components/PageHeader/PageHeader.d.ts +3 -4
- package/lib/components/PageHeader/PageHeader.js +19 -20
- package/lib/components/PageHeader/PageHeaderTitle.d.ts +3 -20
- 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.d.ts +1 -2
- package/lib/components/RemoveModal/RemoveModal.js +3 -3
- package/lib/components/Saving/Saving.js +4 -4
- package/lib/components/ScrollGradient/ScrollGradient.js +4 -4
- package/lib/components/SearchBar/SearchBar.d.ts +2 -3
- package/lib/components/SearchBar/SearchBar.js +6 -13
- package/lib/components/SidePanel/SidePanel.d.ts +1 -2
- package/lib/components/SidePanel/SidePanel.js +60 -74
- package/lib/components/SimpleHeader/SimpleHeader.d.ts +5 -17
- package/lib/components/SimpleHeader/SimpleHeader.js +4 -4
- package/lib/components/SingleAddSelect/SingleAddSelect.js +3 -1
- package/lib/components/StatusIcon/StatusIcon.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +2 -2
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +1 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +15 -9
- package/lib/components/StringFormatter/StringFormatter.js +4 -4
- package/lib/components/TagOverflow/TagOverflow.js +6 -6
- package/lib/components/TagOverflow/TagOverflowModal.d.ts +10 -14
- package/lib/components/TagOverflow/TagOverflowModal.js +5 -5
- package/lib/components/TagOverflow/TagOverflowPopover.d.ts +0 -1
- package/lib/components/TagOverflow/TagOverflowPopover.js +13 -13
- package/lib/components/TagSet/TagSet.d.ts +1 -1
- package/lib/components/TagSet/TagSet.js +16 -19
- package/lib/components/TagSet/TagSetModal.d.ts +8 -12
- package/lib/components/TagSet/TagSetModal.js +7 -7
- package/lib/components/TagSet/TagSetOverflow.d.ts +1 -1
- package/lib/components/TagSet/TagSetOverflow.js +5 -4
- package/lib/components/Tearsheet/Tearsheet.d.ts +1 -3
- package/lib/components/Tearsheet/Tearsheet.js +2 -2
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -3
- package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/lib/components/Tearsheet/TearsheetShell.d.ts +2 -3
- package/lib/components/Tearsheet/TearsheetShell.js +7 -7
- package/lib/components/Toolbar/Toolbar.d.ts +1 -1
- package/lib/components/Toolbar/Toolbar.js +18 -10
- package/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/lib/components/Toolbar/ToolbarButton.js +4 -4
- package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/lib/components/TruncatedList/TruncatedList.js +8 -8
- package/lib/components/UserAvatar/UserAvatar.js +4 -4
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +0 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +2 -2
- package/lib/components/WebTerminal/WebTerminal.d.ts +0 -1
- package/lib/components/WebTerminal/WebTerminal.js +11 -11
- package/lib/components/_Canary/Canary.d.ts +2 -3
- package/lib/global/js/hooks/index.d.ts +2 -0
- package/lib/global/js/hooks/useControllableState.js +2 -2
- package/lib/global/js/hooks/useCreateComponentFocus.js +2 -2
- package/lib/global/js/hooks/useCreateComponentStepChange.js +14 -14
- package/lib/global/js/hooks/useFocus.js +33 -38
- package/lib/global/js/hooks/useOverflowItems.d.ts +1 -1
- package/lib/global/js/hooks/useOverflowItems.js +4 -4
- package/lib/global/js/hooks/usePrefersReducedMotion.d.ts +1 -2
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -3
- package/lib/global/js/hooks/usePresence.d.ts +10 -0
- package/lib/global/js/hooks/usePresence.js +45 -0
- package/lib/global/js/hooks/useResetCreateComponent.js +1 -1
- package/lib/global/js/hooks/useResizeObserver.js +5 -5
- package/lib/global/js/hooks/useRetrieveStepData.js +1 -1
- package/lib/global/js/package-settings.js +4 -4
- package/lib/global/js/utils/Wrap.js +4 -4
- package/lib/global/js/utils/checkForOverflow.js +2 -2
- package/lib/global/js/utils/deepCloneObject.js +3 -3
- package/lib/global/js/utils/getNodeTextContent.js +5 -5
- package/lib/global/js/utils/getSupportedLocale.d.ts +10 -0
- package/lib/global/js/utils/getSupportedLocale.js +29 -0
- package/lib/global/js/utils/lastIndexInArray.js +1 -1
- package/lib/global/js/utils/motionConstants.js +1 -8
- package/lib/global/js/utils/props-helper.d.ts +1 -1
- package/lib/global/js/utils/props-helper.js +1 -1
- package/lib/global/js/utils/scrollableAncestor.js +3 -3
- package/lib/index.js +5 -5
- package/lib/node_modules/@carbon/icon-helpers/es/index.js +7 -7
- package/lib/node_modules/@carbon/icons-react/es/Icon.js +2 -2
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +863 -855
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +884 -880
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/lib/settings.js +3 -6
- package/package.json +34 -35
- package/scss/components/APIKeyModal/_api-key-modal.scss +7 -7
- package/scss/components/APIKeyModal/_carbon-imports.scss +5 -5
- package/scss/components/AboutModal/_about-modal.scss +13 -13
- package/scss/components/AboutModal/_carbon-imports.scss +2 -2
- package/scss/components/ActionBar/_action-bar.scss +2 -2
- package/scss/components/ActionBar/_carbon-imports.scss +2 -2
- package/scss/components/ActionSet/_action-set.scss +9 -10
- package/scss/components/ActionSet/_carbon-imports.scss +2 -2
- package/scss/components/AddSelect/_add-select.scss +43 -40
- package/scss/components/AddSelect/_carbon-imports.scss +10 -10
- package/scss/components/BigNumbers/_big-numbers.scss +26 -20
- package/scss/components/BigNumbers/_carbon-imports.scss +2 -2
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +8 -6
- package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +3 -3
- package/scss/components/ButtonMenu/_button-menu.scss +3 -3
- package/scss/components/ButtonMenu/_carbon-imports.scss +2 -2
- package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +2 -2
- package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +1 -1
- package/scss/components/Card/_carbon-imports.scss +2 -2
- package/scss/components/Card/_card.scss +23 -22
- package/scss/components/Carousel/_carousel.scss +5 -6
- package/scss/components/Cascade/_cascade.scss +2 -2
- package/scss/components/Checklist/_carbon-imports.scss +1 -1
- package/scss/components/Checklist/_checklist.scss +23 -24
- package/scss/components/Coachmark/_carbon-imports.scss +1 -1
- package/scss/components/Coachmark/_coachmark-dragbar.scss +1 -1
- package/scss/components/Coachmark/_coachmark-overlay.scss +34 -27
- package/scss/components/Coachmark/_coachmark-tagline.scss +18 -15
- package/scss/components/Coachmark/_coachmark.scss +1 -1
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +17 -17
- package/scss/components/CoachmarkButton/_coachmark-button.scss +1 -1
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +1 -1
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +5 -5
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +4 -4
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +11 -11
- package/scss/components/ComboButton/_combo-button.scss +13 -9
- package/scss/components/ConditionBuilder/_condition-builder.scss +11 -12
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +10 -10
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +26 -30
- package/scss/components/CreateFullPage/_carbon-imports.scss +6 -6
- package/scss/components/CreateFullPage/_create-full-page.scss +36 -26
- package/scss/components/CreateInfluencer/_carbon-imports.scss +1 -1
- package/scss/components/CreateInfluencer/_create-influencer.scss +5 -2
- package/scss/components/CreateModal/_carbon-imports.scss +3 -3
- package/scss/components/CreateModal/_create-modal.scss +15 -14
- package/scss/components/CreateSidePanel/_carbon-imports.scss +1 -1
- package/scss/components/CreateSidePanel/_create-side-panel.scss +5 -5
- package/scss/components/CreateTearsheet/_carbon-imports.scss +1 -1
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +22 -20
- package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +1 -1
- package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +8 -8
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +33 -32
- package/scss/components/Datagrid/_datagrid.scss +12 -8
- package/scss/components/Datagrid/styles/_datagrid.scss +135 -120
- package/scss/components/Datagrid/styles/_draggableElement.scss +11 -11
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +1 -1
- package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +2 -3
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +7 -7
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +13 -13
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +62 -63
- package/scss/components/Datagrid/styles/_useNestedRows.scss +16 -16
- package/scss/components/Datagrid/styles/_useNestedTable.scss +10 -7
- package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +6 -6
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +6 -6
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +11 -11
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +9 -9
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +19 -19
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +29 -29
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +10 -9
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +6 -8
- package/scss/components/DecoratorBase/_decorator-base.scss +11 -11
- package/scss/components/DelimitedList/_delimited-list.scss +1 -1
- package/scss/components/DescriptionList/_description-list.scss +9 -9
- package/scss/components/EditInPlace/_carbon-imports.scss +2 -2
- package/scss/components/EditInPlace/_edit-in-place.scss +8 -7
- package/scss/components/EditSidePanel/_carbon-imports.scss +1 -1
- package/scss/components/EditSidePanel/_edit-side-panel.scss +4 -4
- package/scss/components/EditTearsheet/_carbon-imports.scss +9 -0
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +20 -21
- package/scss/components/EditTearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/EmptyStates/_carbon-imports.scss +2 -2
- package/scss/components/EmptyStates/_empty-state.scss +12 -10
- package/scss/components/ExampleComponent/_carbon-imports.scss +1 -1
- package/scss/components/ExportModal/_carbon-imports.scss +6 -6
- package/scss/components/ExportModal/_export-modal.scss +6 -6
- package/scss/components/FilterPanel/_carbon-imports.scss +5 -5
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +3 -3
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +5 -5
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +3 -3
- package/scss/components/FilterPanel/_filter-panel-group.scss +4 -6
- package/scss/components/FilterPanel/_filter-panel-label.scss +1 -1
- package/scss/components/FilterPanel/_filter-panel-search.scss +8 -6
- package/scss/components/FilterPanel/_filter-panel.scss +1 -2
- package/scss/components/FilterSummary/_filter-summary.scss +9 -9
- package/scss/components/FullPageError/_full-page-error.scss +8 -9
- package/scss/components/GetStartedCard/_get-started-card.scss +12 -14
- package/scss/components/Guidebanner/_guidebanner.scss +37 -36
- package/scss/components/HTTPErrors/_carbon-imports.scss +1 -1
- package/scss/components/HTTPErrors/_http-errors.scss +11 -11
- package/scss/components/ImportModal/_carbon-imports.scss +4 -4
- package/scss/components/ImportModal/_import-modal.scss +12 -13
- package/scss/components/InlineTip/_inline-tip.scss +26 -25
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +43 -44
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +2 -2
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +2 -2
- package/scss/components/Nav/_nav.scss +32 -37
- package/scss/components/NonLinearReading/_non-linear-reading.scss +11 -7
- package/scss/components/NotificationsPanel/_carbon-imports.scss +3 -3
- package/scss/components/NotificationsPanel/_notifications-panel.scss +50 -40
- package/scss/components/OptionsTile/_carbon-imports.scss +1 -1
- package/scss/components/OptionsTile/_options-tile.scss +23 -25
- package/scss/components/PageHeader/_carbon-imports.scss +4 -4
- package/scss/components/PageHeader/_page-header.scss +109 -105
- package/scss/components/ProductiveCard/_productive-card.scss +11 -12
- package/scss/components/RemoveModal/_carbon-imports.scss +3 -3
- package/scss/components/RemoveModal/_remove-modal.scss +4 -4
- package/scss/components/Saving/_carbon-imports.scss +2 -2
- package/scss/components/Saving/_saving.scss +2 -2
- package/scss/components/ScrollGradient/_scroll-gradient.scss +18 -18
- package/scss/components/SidePanel/_animations.scss +78 -0
- package/scss/components/SidePanel/_carbon-imports.scss +1 -1
- package/scss/components/SidePanel/_side-panel.scss +154 -65
- package/scss/components/SimpleHeader/_simple-header.scss +3 -3
- package/scss/components/StatusIcon/_status-icon.scss +1 -1
- package/scss/components/StatusIndicator/_carbon-imports.scss +2 -2
- package/scss/components/StatusIndicator/_status-indicator.scss +11 -11
- package/scss/components/StringFormatter/_carbon-imports.scss +1 -1
- package/scss/components/StringFormatter/_string-formatter.scss +6 -7
- package/scss/components/TagOverflow/_tag-overflow.scss +14 -15
- package/scss/components/TagSet/_carbon-imports.scss +5 -5
- package/scss/components/TagSet/_tag-set.scss +13 -14
- package/scss/components/Tearsheet/_carbon-imports.scss +2 -2
- package/scss/components/Tearsheet/_tearsheet.scss +55 -41
- package/scss/components/Toolbar/_carbon-imports.scss +1 -1
- package/scss/components/Toolbar/_toolbar.scss +11 -11
- package/scss/components/TooltipTrigger/_tooltip-trigger.scss +2 -2
- package/scss/components/TruncatedList/_truncated-list.scss +8 -2
- package/scss/components/UserAvatar/_carbon-imports.scss +1 -1
- package/scss/components/UserAvatar/_user-avatar.scss +6 -16
- package/scss/components/UserProfileImage/_carbon-imports.scss +1 -1
- package/scss/components/UserProfileImage/_color-map.scss +1 -1
- package/scss/components/UserProfileImage/_user-profile-image.scss +5 -4
- package/scss/components/WebTerminal/_carbon-imports.scss +2 -2
- package/scss/components/WebTerminal/_web-terminal.scss +11 -11
- package/scss/components/_index-released-only-with-carbon.scss +1 -0
- package/scss/components/_index-with-carbon.scss +1 -0
- package/scss/global/decorators/_side-panel-decorator.scss +3 -3
- package/scss/global/styles/_display-box.scss +19 -19
- package/scss/global/styles/_mixins.scss +3 -3
- package/scss/index-full-carbon.scss +1 -1
- package/telemetry.yml +5 -2
- package/es/components/SidePanel/motion/variants.d.ts +0 -67
- package/es/components/SidePanel/motion/variants.js +0 -79
- package/es/global/js/utils/keyboardNavigation.d.ts +0 -27
- package/es/global/js/utils/keyboardNavigation.js +0 -37
- package/es/global/js/utils/wrapFocus.d.ts +0 -25
- package/es/global/js/utils/wrapFocus.js +0 -68
- package/lib/components/SidePanel/motion/variants.d.ts +0 -67
- package/lib/components/SidePanel/motion/variants.js +0 -83
- package/lib/global/js/utils/keyboardNavigation.d.ts +0 -27
- package/lib/global/js/utils/keyboardNavigation.js +0 -41
- package/lib/global/js/utils/wrapFocus.d.ts +0 -25
- package/lib/global/js/utils/wrapFocus.js +0 -73
@@ -4,10 +4,8 @@
|
|
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
|
-
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
7
|
import { type ButtonProps } from '@carbon/react';
|
9
8
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
10
|
-
import PropTypes from 'prop-types';
|
11
9
|
export interface TearsheetAction extends ButtonProps<'button'> {
|
12
10
|
label?: string;
|
13
11
|
}
|
@@ -148,5 +146,5 @@ export declare const deprecatedProps: {
|
|
148
146
|
* from below. The 'lower' position (the default) provides a little extra room at the top
|
149
147
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
150
148
|
*/
|
151
|
-
verticalPosition:
|
149
|
+
verticalPosition: any;
|
152
150
|
};
|
@@ -40,9 +40,9 @@ var componentName = 'Tearsheet';
|
|
40
40
|
*/
|
41
41
|
var Tearsheet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
42
42
|
var _ref$influencerPositi = _ref.influencerPosition,
|
43
|
-
influencerPosition = _ref$influencerPositi ===
|
43
|
+
influencerPosition = _ref$influencerPositi === undefined ? 'left' : _ref$influencerPositi,
|
44
44
|
_ref$influencerWidth = _ref.influencerWidth,
|
45
|
-
influencerWidth = _ref$influencerWidth ===
|
45
|
+
influencerWidth = _ref$influencerWidth === undefined ? 'narrow' : _ref$influencerWidth,
|
46
46
|
rest = _objectWithoutProperties(_ref, _excluded);
|
47
47
|
return /*#__PURE__*/React__default.createElement(TearsheetShell, _objectSpread2(_objectSpread2(_objectSpread2({}, getDevtoolsProps(componentName)), rest), {}, {
|
48
48
|
influencerPosition: influencerPosition,
|
@@ -4,10 +4,8 @@
|
|
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
|
-
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
7
|
import { ButtonProps } from '@carbon/react';
|
9
8
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
10
|
-
import PropTypes from 'prop-types';
|
11
9
|
export interface TearsheetNarrowProps extends PropsWithChildren {
|
12
10
|
/**
|
13
11
|
* The navigation actions to be shown as buttons in the action area at the
|
@@ -113,5 +111,5 @@ export declare const deprecatedProps: {
|
|
113
111
|
* from below. The 'lower' position (the default) provides a little extra room at the top
|
114
112
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
115
113
|
*/
|
116
|
-
verticalPosition:
|
114
|
+
verticalPosition: any;
|
117
115
|
};
|
@@ -36,7 +36,7 @@ var defaults = {
|
|
36
36
|
|
37
37
|
var TearsheetNarrow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
38
38
|
var _ref$verticalPosition = _ref.verticalPosition,
|
39
|
-
verticalPosition = _ref$verticalPosition ===
|
39
|
+
verticalPosition = _ref$verticalPosition === undefined ? defaults.verticalPosition : _ref$verticalPosition,
|
40
40
|
rest = _objectWithoutProperties(_ref, _excluded);
|
41
41
|
return /*#__PURE__*/React__default.createElement(TearsheetShell, _objectSpread2(_objectSpread2(_objectSpread2({}, getDevtoolsProps(componentName)), prepareProps(rest, tearsheetShellWideProps)), {}, {
|
42
42
|
verticalPosition: verticalPosition,
|
@@ -5,7 +5,6 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { PropsWithChildren, ReactNode, RefObject } from 'react';
|
8
|
-
import PropTypes from 'prop-types';
|
9
8
|
import { TearsheetAction } from './Tearsheet';
|
10
9
|
interface TearsheetShellProps extends PropsWithChildren {
|
11
10
|
actions?: TearsheetAction[];
|
@@ -136,7 +135,7 @@ export declare const tearsheetHasCloseIcon: (actions: any, hasCloseIcon: any) =>
|
|
136
135
|
* See the canvas tab for the component API details.
|
137
136
|
* */
|
138
137
|
export declare const TearsheetShell: React.ForwardRefExoticComponent<TearsheetShellProps & React.RefAttributes<HTMLDivElement>>;
|
139
|
-
export declare const portalType:
|
138
|
+
export declare const portalType: any;
|
140
139
|
export declare const deprecatedProps: {
|
141
140
|
/**
|
142
141
|
* @deprecated Property replaced by `decorator`
|
@@ -151,6 +150,6 @@ export declare const deprecatedProps: {
|
|
151
150
|
* from below. The 'lower' position (the default) provides a little extra room at the top
|
152
151
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
153
152
|
*/
|
154
|
-
verticalPosition:
|
153
|
+
verticalPosition: any;
|
155
154
|
};
|
156
155
|
export {};
|
@@ -12,7 +12,7 @@ import PropTypes from '../../_virtual/index.js';
|
|
12
12
|
import cx from 'classnames';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import pconsole from '../../global/js/utils/pconsole.js';
|
15
|
-
import { getNodeTextContent } from '../../global/js/utils/getNodeTextContent.js';
|
15
|
+
import { getNodeTextContent as _getNodeTextContent } from '../../global/js/utils/getNodeTextContent.js';
|
16
16
|
import { deprecateProp } from '../../global/js/utils/props-helper.js';
|
17
17
|
import { checkHeightOverflow } from '../../global/js/utils/checkForOverflow.js';
|
18
18
|
import { Button, usePrefix, unstable_FeatureFlags, ComposedModal, ModalHeader, Layer, DefinitionTooltip } from '@carbon/react';
|
@@ -50,10 +50,10 @@ var stack = {
|
|
50
50
|
// these props are only applicable when size='wide'
|
51
51
|
var tearsheetShellWideProps = ['headerActions', 'influencer', 'influencerPosition', 'influencerWidth', 'navigation'];
|
52
52
|
var tearsheetIsPassive = function tearsheetIsPassive(actions) {
|
53
|
-
return !actions || !(actions !== null && actions !==
|
53
|
+
return !actions || !(actions !== null && actions !== undefined && actions.length);
|
54
54
|
};
|
55
55
|
var tearsheetHasCloseIcon = function tearsheetHasCloseIcon(actions, hasCloseIcon) {
|
56
|
-
return hasCloseIcon !== null && hasCloseIcon !==
|
56
|
+
return hasCloseIcon !== null && hasCloseIcon !== undefined ? hasCloseIcon : tearsheetIsPassive(actions);
|
57
57
|
};
|
58
58
|
|
59
59
|
/**
|
@@ -70,7 +70,7 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
70
70
|
children = _ref.children,
|
71
71
|
className = _ref.className,
|
72
72
|
_ref$closeIconDescrip = _ref.closeIconDescription,
|
73
|
-
closeIconDescription = _ref$closeIconDescrip ===
|
73
|
+
closeIconDescription = _ref$closeIconDescrip === undefined ? 'Close' : _ref$closeIconDescrip,
|
74
74
|
currentStep = _ref.currentStep,
|
75
75
|
description = _ref.description,
|
76
76
|
hasCloseIcon = _ref.hasCloseIcon,
|
@@ -86,7 +86,7 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
86
86
|
portalTargetIn = _ref.portalTarget,
|
87
87
|
selectorPrimaryFocus = _ref.selectorPrimaryFocus,
|
88
88
|
_ref$selectorsFloatin = _ref.selectorsFloatingMenus,
|
89
|
-
selectorsFloatingMenus = _ref$selectorsFloatin ===
|
89
|
+
selectorsFloatingMenus = _ref$selectorsFloatin === undefined ? [] : _ref$selectorsFloatin,
|
90
90
|
size = _ref.size,
|
91
91
|
deprecated_slug = _ref.slug,
|
92
92
|
title = _ref.title,
|
@@ -219,17 +219,17 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
219
219
|
var includeHeader = label || title || description || headerActions || navigation || effectiveHasCloseIcon;
|
220
220
|
|
221
221
|
// Include an ActionSet if and only if one or more actions is given.
|
222
|
-
var includeActions = actions && (actions === null || actions ===
|
222
|
+
var includeActions = actions && (actions === null || actions === undefined ? undefined : actions.length) > 0;
|
223
223
|
var _areAllSameSizeVariant = function _areAllSameSizeVariant() {
|
224
224
|
return new Set(stack.sizes).size === 1;
|
225
225
|
};
|
226
|
-
return renderPortalUse(
|
226
|
+
return renderPortalUse(/*#__PURE__*/React__default.createElement(unstable_FeatureFlags, {
|
227
227
|
enableExperimentalFocusWrapWithoutSentinels: true
|
228
228
|
}, /*#__PURE__*/React__default.createElement(ComposedModal, _extends({}, rest, {
|
229
|
-
"aria-label": ariaLabel ||
|
229
|
+
"aria-label": ariaLabel || _getNodeTextContent(title),
|
230
230
|
className: cx(bc, className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth),
|
231
231
|
// Don't apply this on the initial open of a single tearsheet.
|
232
|
-
depth > 1 || depth === 1 && ((_prevDepth$current = prevDepth === null || prevDepth ===
|
232
|
+
depth > 1 || depth === 1 && ((_prevDepth$current = prevDepth === null || prevDepth === undefined ? undefined : prevDepth.current) !== null && _prevDepth$current !== undefined ? _prevDepth$current : 0) > 1), "".concat(bc, "--wide"), wide), "".concat(bc, "--narrow"), !wide), "".concat(bc, "--has-slug"), deprecated_slug), "".concat(bc, "--has-ai-label"), !!decorator && ((_decorator$type = decorator['type']) === null || _decorator$type === undefined ? undefined : _decorator$type.displayName) === 'AILabel'), "".concat(bc, "--has-decorator"), !!decorator && ((_decorator$type2 = decorator['type']) === null || _decorator$type2 === undefined ? undefined : _decorator$type2.displayName) !== 'AILabel'), "".concat(bc, "--has-close"), effectiveHasCloseIcon)),
|
233
233
|
decorator: decorator || deprecated_slug,
|
234
234
|
containerClassName: cx("".concat(bc, "__container"), _defineProperty(_defineProperty({}, "".concat(bc, "__container--lower"), verticalPosition === 'lower'), "".concat(bc, "__container--mixed-size-stacking"), !_areAllSameSizeVariant())),
|
235
235
|
onClose: onClose,
|
@@ -18,7 +18,7 @@ interface ToolbarContextType {
|
|
18
18
|
declare const ToolbarContext: React.Context<ToolbarContextType>;
|
19
19
|
/** Toolbars are a collection of action items that organize a program’s interaction patterns into a series of closely related commands. */
|
20
20
|
declare let Toolbar: React.ForwardRefExoticComponent<ToolbarProps & {
|
21
|
-
children?: React.ReactNode;
|
21
|
+
children?: React.ReactNode | undefined;
|
22
22
|
} & React.RefAttributes<HTMLDivElement>>;
|
23
23
|
declare const componentName = "Toolbar";
|
24
24
|
export { blockClass, componentName, Toolbar, ToolbarContext };
|
@@ -36,15 +36,19 @@ var Toolbar = /*#__PURE__*/forwardRef(function (_ref, r) {
|
|
36
36
|
focus = _useState2[0],
|
37
37
|
setFocus = _useState2[1];
|
38
38
|
useEffect(function () {
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
focusableElements.current = getFocusableElements(ref === null || ref === undefined ? undefined : ref['current']);
|
40
|
+
if (focus !== -1) {
|
41
|
+
var _getFocusableElements2;
|
42
|
+
(_getFocusableElements2 = getFocusableElements$1()) === null || _getFocusableElements2 === undefined || _getFocusableElements2.forEach(function (element, index) {
|
43
|
+
element[index !== focus ? 'setAttribute' : 'removeAttribute']('tabindex', '-1');
|
44
|
+
});
|
45
|
+
}
|
44
46
|
});
|
45
47
|
useEffect(function () {
|
46
|
-
|
47
|
-
|
48
|
+
if (focus !== -1) {
|
49
|
+
var _getFocusableElements3;
|
50
|
+
(_getFocusableElements3 = getFocusableElements$1()) === null || _getFocusableElements3 === undefined || _getFocusableElements3[focus].focus();
|
51
|
+
}
|
48
52
|
}, [focus, getFocusableElements$1]);
|
49
53
|
var _ref2 = !vertical ? ['ArrowRight', 'ArrowLeft'] : ['ArrowDown', 'ArrowUp'],
|
50
54
|
_ref3 = _slicedToArray(_ref2, 2),
|
@@ -53,18 +57,22 @@ var Toolbar = /*#__PURE__*/forwardRef(function (_ref, r) {
|
|
53
57
|
function onArrowDown(increment) {
|
54
58
|
var _getFocusableElements4;
|
55
59
|
var nextFocus = focus + increment;
|
56
|
-
((_getFocusableElements4 = getFocusableElements$1())
|
60
|
+
if ((_getFocusableElements4 = getFocusableElements$1()) !== null && _getFocusableElements4 !== undefined && _getFocusableElements4[nextFocus]) {
|
61
|
+
setFocus(nextFocus);
|
62
|
+
}
|
57
63
|
}
|
58
64
|
function onFocus(_ref4) {
|
59
65
|
var target = _ref4.target;
|
60
66
|
var elements = getFocusableElements$1();
|
61
|
-
(elements
|
67
|
+
if (elements !== null && elements !== undefined && elements.includes(target)) {
|
68
|
+
setFocus(elements.indexOf(target));
|
69
|
+
}
|
62
70
|
}
|
63
71
|
function onKeyDown(_ref5) {
|
64
72
|
var _getFocusableElements5;
|
65
73
|
var key = _ref5.key,
|
66
74
|
target = _ref5.target;
|
67
|
-
if ((_getFocusableElements5 = getFocusableElements$1()) !== null && _getFocusableElements5 !==
|
75
|
+
if ((_getFocusableElements5 = getFocusableElements$1()) !== null && _getFocusableElements5 !== undefined && _getFocusableElements5.includes(target)) {
|
68
76
|
switch (key) {
|
69
77
|
case arrowNext:
|
70
78
|
onArrowDown(1);
|
@@ -4,7 +4,6 @@
|
|
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
|
-
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
7
|
import React from 'react';
|
9
8
|
import { IconButton } from '@carbon/react';
|
10
9
|
export declare const blockClass: string;
|
@@ -24,12 +23,12 @@ export interface ToolbarButtonProps extends React.ComponentProps<typeof IconButt
|
|
24
23
|
}
|
25
24
|
/** Toolbar buttons are common functions performed as part of a products interface or an open window. */
|
26
25
|
export declare let ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & {
|
27
|
-
children?: React.ReactNode;
|
26
|
+
children?: React.ReactNode | undefined;
|
28
27
|
} & React.RefAttributes<unknown>>;
|
29
28
|
export declare const deprecatedProps: {
|
30
29
|
/**
|
31
30
|
* **Deprecated**
|
32
31
|
* Specifies the label for the icon button
|
33
32
|
* */
|
34
|
-
iconDescription:
|
33
|
+
iconDescription: any;
|
35
34
|
};
|
@@ -19,19 +19,19 @@ var blockClass = "".concat(blockClass$1, "__button");
|
|
19
19
|
var ToolbarButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
20
20
|
var _useContext;
|
21
21
|
var _ref$caret = _ref.caret,
|
22
|
-
caret = _ref$caret ===
|
22
|
+
caret = _ref$caret === undefined ? false : _ref$caret,
|
23
23
|
children = _ref.children,
|
24
24
|
className = _ref.className,
|
25
25
|
renderIcon = _ref.renderIcon,
|
26
26
|
_ref$iconDescription = _ref.iconDescription,
|
27
|
-
deprecated_iconDescription = _ref$iconDescription ===
|
27
|
+
deprecated_iconDescription = _ref$iconDescription === undefined ? '' : _ref$iconDescription,
|
28
28
|
label = _ref.label,
|
29
29
|
rest = _objectWithoutProperties(_ref, _excluded);
|
30
30
|
var Icon = renderIcon;
|
31
31
|
return /*#__PURE__*/React__default.createElement(IconButton, _extends({
|
32
|
-
align: (_useContext = useContext(ToolbarContext)) !== null && _useContext !==
|
32
|
+
align: (_useContext = useContext(ToolbarContext)) !== null && _useContext !== undefined && _useContext.vertical ? 'right' : 'top'
|
33
33
|
}, rest, {
|
34
|
-
label: label !== null && label !==
|
34
|
+
label: label !== null && label !== undefined ? label : deprecated_iconDescription,
|
35
35
|
ref: ref,
|
36
36
|
className: cx(className, _defineProperty({}, "".concat(blockClass, "--caret"), caret)),
|
37
37
|
kind: "ghost",
|
@@ -13,5 +13,5 @@ export interface ToolbarGroupProps {
|
|
13
13
|
}
|
14
14
|
/** Toolbar groups organize the commands within a toolbar into related groups. */
|
15
15
|
export declare let ToolbarGroup: React.ForwardRefExoticComponent<ToolbarGroupProps & {
|
16
|
-
children?:
|
16
|
+
children?: ReactNode | undefined;
|
17
17
|
} & React.RefAttributes<HTMLDivElement>>;
|
@@ -38,18 +38,18 @@ var TruncatedList = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
38
38
|
var children = _ref.children,
|
39
39
|
className = _ref.className,
|
40
40
|
_ref$as = _ref.as,
|
41
|
-
List = _ref$as ===
|
41
|
+
List = _ref$as === undefined ? defaults.as : _ref$as,
|
42
42
|
buttonClassName = _ref.buttonClassName,
|
43
43
|
_ref$collapsedItemsLi = _ref.collapsedItemsLimit,
|
44
|
-
collapsedItemsLimit = _ref$collapsedItemsLi ===
|
44
|
+
collapsedItemsLimit = _ref$collapsedItemsLi === undefined ? defaults.collapsedItemsLimit : _ref$collapsedItemsLi,
|
45
45
|
_ref$expandedItemsLim = _ref.expandedItemsLimit,
|
46
|
-
expandedItemsLimit = _ref$expandedItemsLim ===
|
46
|
+
expandedItemsLimit = _ref$expandedItemsLim === undefined ? defaults.expandedItemsLimit : _ref$expandedItemsLim,
|
47
47
|
_ref$onClick = _ref.onClick,
|
48
|
-
onClick = _ref$onClick ===
|
48
|
+
onClick = _ref$onClick === undefined ? defaults.onClick : _ref$onClick,
|
49
49
|
_ref$viewLessLabel = _ref.viewLessLabel,
|
50
|
-
viewLessLabel = _ref$viewLessLabel ===
|
50
|
+
viewLessLabel = _ref$viewLessLabel === undefined ? defaults.viewLessLabel : _ref$viewLessLabel,
|
51
51
|
_ref$viewMoreLabel = _ref.viewMoreLabel,
|
52
|
-
viewMoreLabel = _ref$viewMoreLabel ===
|
52
|
+
viewMoreLabel = _ref$viewMoreLabel === undefined ? defaults.viewMoreLabel : _ref$viewMoreLabel,
|
53
53
|
rest = _objectWithoutProperties(_ref, _excluded);
|
54
54
|
var childrenArray = Children.toArray(children);
|
55
55
|
// Exception handling: minimum number of items is 1.
|
@@ -86,13 +86,13 @@ var TruncatedList = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
86
86
|
if (listRef && childrenArray.length > 0) {
|
87
87
|
var _listRef$current;
|
88
88
|
var numItemsToShow = isCollapsed ? minItems : maxItems;
|
89
|
-
var items = (_listRef$current = listRef.current) === null || _listRef$current ===
|
89
|
+
var items = (_listRef$current = listRef.current) === null || _listRef$current === undefined ? undefined : _listRef$current.childNodes;
|
90
90
|
var _listHeight = 0;
|
91
91
|
for (var index = 0; index < numItemsToShow; index++) {
|
92
92
|
if (items && items[index]) {
|
93
93
|
var _window;
|
94
94
|
var itemElement = items[index];
|
95
|
-
var height = ((_window = window) === null || _window ===
|
95
|
+
var height = ((_window = window) === null || _window === undefined || (_window = _window.getComputedStyle(itemElement)) === null || _window === undefined ? undefined : _window.height) || '16';
|
96
96
|
_listHeight += parseInt(height);
|
97
97
|
}
|
98
98
|
}
|
@@ -32,17 +32,17 @@ var componentName = 'UserAvatar';
|
|
32
32
|
|
33
33
|
var UserAvatar = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
34
34
|
var _ref$backgroundColor = _ref.backgroundColor,
|
35
|
-
backgroundColor = _ref$backgroundColor ===
|
35
|
+
backgroundColor = _ref$backgroundColor === undefined ? 'order-1-cyan' : _ref$backgroundColor,
|
36
36
|
className = _ref.className,
|
37
37
|
image = _ref.image,
|
38
38
|
imageDescription = _ref.imageDescription,
|
39
39
|
name = _ref.name,
|
40
40
|
RenderIcon = _ref.renderIcon,
|
41
41
|
_ref$size = _ref.size,
|
42
|
-
size = _ref$size ===
|
42
|
+
size = _ref$size === undefined ? 'md' : _ref$size,
|
43
43
|
tooltipText = _ref.tooltipText,
|
44
44
|
_ref$tooltipAlignment = _ref.tooltipAlignment,
|
45
|
-
tooltipAlignment = _ref$tooltipAlignment ===
|
45
|
+
tooltipAlignment = _ref$tooltipAlignment === undefined ? 'bottom' : _ref$tooltipAlignment,
|
46
46
|
rest = _objectWithoutProperties(_ref, _excluded);
|
47
47
|
var carbonPrefix = usePrefix();
|
48
48
|
var iconSize = {
|
@@ -53,7 +53,7 @@ var UserAvatar = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
53
53
|
};
|
54
54
|
var formatInitials = function formatInitials() {
|
55
55
|
var _ref2;
|
56
|
-
var parts = (name === null || name ===
|
56
|
+
var parts = (name === null || name === undefined ? undefined : name.split(' ')) || [];
|
57
57
|
var firstChar = parts[0].charAt(0).toUpperCase();
|
58
58
|
var secondChar = parts[0].charAt(1).toUpperCase();
|
59
59
|
if (parts.length === 1) {
|
@@ -4,7 +4,6 @@
|
|
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
|
-
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
7
|
import '../../global/js/utils/props-helper';
|
9
8
|
import { PopoverAlignment } from '@carbon/react';
|
10
9
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import '../../global/js/utils/props-helper.js';
|
10
|
-
import {
|
10
|
+
import { Group, User } from '@carbon/react/icons';
|
11
11
|
import { usePrefix, Tooltip } from '@carbon/react';
|
12
12
|
import PropTypes from '../../_virtual/index.js';
|
13
13
|
import React__default from 'react';
|
@@ -40,7 +40,7 @@ var UserProfileImage = /*#__PURE__*/React__default.forwardRef(function (_ref, re
|
|
40
40
|
theme = _ref.theme,
|
41
41
|
tooltipText = _ref.tooltipText,
|
42
42
|
_ref$tooltipAlignment = _ref.tooltipAlignment,
|
43
|
-
tooltipAlignment = _ref$tooltipAlignment ===
|
43
|
+
tooltipAlignment = _ref$tooltipAlignment === undefined ? 'bottom' : _ref$tooltipAlignment,
|
44
44
|
rest = _objectWithoutProperties(_ref, _excluded);
|
45
45
|
var carbonPrefix = usePrefix();
|
46
46
|
var icons = {
|
@@ -86,7 +86,7 @@ var UserProfileImage = /*#__PURE__*/React__default.forwardRef(function (_ref, re
|
|
86
86
|
}
|
87
87
|
// RegEx takes in the display name and returns the first and last initials. Thomas Watson and Thomas J. Watson
|
88
88
|
// both return JW.
|
89
|
-
return ((_match = (initials || '').match(/(^\S\S?|\b\S)?/g)) === null || _match ===
|
89
|
+
return ((_match = (initials || '').match(/(^\S\S?|\b\S)?/g)) === null || _match === undefined || (_match = _match.join('').match(/(^\S|\S$)?/g)) === null || _match === undefined ? undefined : _match.join('').toUpperCase()) || '';
|
90
90
|
};
|
91
91
|
var getFillItem = function getFillItem() {
|
92
92
|
if (image) {
|
@@ -4,7 +4,6 @@
|
|
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
|
-
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
7
|
import { OverflowMenuItem } from '@carbon/react';
|
9
8
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
10
9
|
interface Action {
|
@@ -14,8 +14,8 @@ import cx from 'classnames';
|
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
15
|
import { moderate02 } from '@carbon/motion';
|
16
16
|
import { pkg } from '../../settings.js';
|
17
|
-
import usePrefersReducedMotion from '../../global/js/hooks/usePrefersReducedMotion.js';
|
18
17
|
import { useWebTerminal } from './hooks/index.js';
|
18
|
+
import { usePrefersReducedMotion } from '../../global/js/hooks/usePrefersReducedMotion.js';
|
19
19
|
import { useIsomorphicEffect } from '../../global/js/hooks/useIsomorphicEffect.js';
|
20
20
|
|
21
21
|
var _excluded = ["actions", "children", "className", "closeIconDescription", "documentationLinks", "documentationLinksIconDescription", "isInitiallyOpen", "webTerminalAriaLabel"];
|
@@ -37,21 +37,21 @@ var defaults = {
|
|
37
37
|
*/
|
38
38
|
var WebTerminal = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
39
39
|
var _ref$actions = _ref.actions,
|
40
|
-
actions = _ref$actions ===
|
40
|
+
actions = _ref$actions === undefined ? defaults.actions : _ref$actions,
|
41
41
|
children = _ref.children,
|
42
42
|
className = _ref.className,
|
43
43
|
closeIconDescription = _ref.closeIconDescription,
|
44
44
|
_ref$documentationLin = _ref.documentationLinks,
|
45
|
-
documentationLinks = _ref$documentationLin ===
|
45
|
+
documentationLinks = _ref$documentationLin === undefined ? defaults.documentationLinks : _ref$documentationLin,
|
46
46
|
_ref$documentationLin2 = _ref.documentationLinksIconDescription,
|
47
|
-
documentationLinksIconDescription = _ref$documentationLin2 ===
|
47
|
+
documentationLinksIconDescription = _ref$documentationLin2 === undefined ? defaults.documentationLinksIconDescription : _ref$documentationLin2,
|
48
48
|
_ref$isInitiallyOpen = _ref.isInitiallyOpen,
|
49
|
-
isInitiallyOpen = _ref$isInitiallyOpen ===
|
49
|
+
isInitiallyOpen = _ref$isInitiallyOpen === undefined ? defaults.isInitiallyOpen : _ref$isInitiallyOpen,
|
50
50
|
_ref$webTerminalAriaL = _ref.webTerminalAriaLabel,
|
51
|
-
webTerminalAriaLabel = _ref$webTerminalAriaL ===
|
51
|
+
webTerminalAriaLabel = _ref$webTerminalAriaL === undefined ? defaults.webTerminalAriaLabel : _ref$webTerminalAriaL,
|
52
52
|
rest = _objectWithoutProperties(_ref, _excluded);
|
53
|
-
var localRef = useRef();
|
54
|
-
var webTerminalRef = ref !== null && ref !==
|
53
|
+
var localRef = useRef(null);
|
54
|
+
var webTerminalRef = ref !== null && ref !== undefined ? ref : localRef;
|
55
55
|
var _useWebTerminal = useWebTerminal(),
|
56
56
|
open = _useWebTerminal.open,
|
57
57
|
closeWebTerminal = _useWebTerminal.closeWebTerminal,
|
@@ -86,7 +86,7 @@ var WebTerminal = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
86
86
|
*/
|
87
87
|
useEffect(function () {
|
88
88
|
if (isInitiallyOpen) {
|
89
|
-
openWebTerminal === null || openWebTerminal ===
|
89
|
+
openWebTerminal === null || openWebTerminal === undefined || openWebTerminal();
|
90
90
|
}
|
91
91
|
}, []); // eslint-disable-line
|
92
92
|
|
@@ -106,7 +106,7 @@ var WebTerminal = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
106
106
|
if (shouldReduceMotion) {
|
107
107
|
setRender(false);
|
108
108
|
}
|
109
|
-
closeWebTerminal === null || closeWebTerminal ===
|
109
|
+
closeWebTerminal === null || closeWebTerminal === undefined || closeWebTerminal();
|
110
110
|
};
|
111
111
|
return shouldRender ? /*#__PURE__*/React__default.createElement("div", _extends({}, _objectSpread2(_objectSpread2({}, rest), getDevtoolsProps(componentName)), {
|
112
112
|
ref: webTerminalRef,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default, { useState, useCallback,
|
9
|
+
import React__default, { useState, useCallback, createContext, useContext } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import { pkg } from '../../../settings.js';
|
12
12
|
|
@@ -5,9 +5,8 @@ export function Canary({ className, componentName, ...rest }: {
|
|
5
5
|
}): React.JSX.Element;
|
6
6
|
export namespace Canary {
|
7
7
|
namespace propTypes {
|
8
|
-
let className:
|
9
|
-
let componentName:
|
8
|
+
let className: any;
|
9
|
+
let componentName: any;
|
10
10
|
}
|
11
11
|
}
|
12
12
|
import React from 'react';
|
13
|
-
import PropTypes from 'prop-types';
|
@@ -11,4 +11,6 @@ export { useControllableState } from "./useControllableState";
|
|
11
11
|
export { usePrefix } from "./usePrefix";
|
12
12
|
export { useFocus } from "./useFocus";
|
13
13
|
export { useIsomorphicEffect } from "./useIsomorphicEffect";
|
14
|
+
export { usePresence } from "./usePresence";
|
15
|
+
export { usePrefersReducedMotion } from "./usePrefersReducedMotion";
|
14
16
|
export { useNearestScroll, useWindowScroll } from "./useWindowScroll";
|
@@ -33,10 +33,10 @@ import pconsole from '../utils/pconsole.js';
|
|
33
33
|
function useControllableState(_ref) {
|
34
34
|
var defaultValue = _ref.defaultValue,
|
35
35
|
_ref$name = _ref.name,
|
36
|
-
name = _ref$name ===
|
36
|
+
name = _ref$name === undefined ? 'custom' : _ref$name,
|
37
37
|
onChange = _ref.onChange,
|
38
38
|
value = _ref.value;
|
39
|
-
var _useState = useState(value !== null && value !==
|
39
|
+
var _useState = useState(value !== null && value !== undefined ? value : defaultValue),
|
40
40
|
_useState2 = _slicedToArray(_useState, 2),
|
41
41
|
state = _useState2[0],
|
42
42
|
internalSetState = _useState2[1];
|
@@ -24,7 +24,7 @@ var useCreateComponentFocus = function useCreateComponentFocus(_ref) {
|
|
24
24
|
useEffect(function () {
|
25
25
|
// because of how handleStackChange.claimFocus in TearsheetShell works a timeout is required to focus on specific elements
|
26
26
|
var awaitFocus = /*#__PURE__*/function () {
|
27
|
-
var _ref2 = _asyncToGenerator(
|
27
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(elm) {
|
28
28
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
29
29
|
while (1) switch (_context.prev = _context.next) {
|
30
30
|
case 0:
|
@@ -42,7 +42,7 @@ var useCreateComponentFocus = function useCreateComponentFocus(_ref) {
|
|
42
42
|
return _ref2.apply(this, arguments);
|
43
43
|
};
|
44
44
|
}();
|
45
|
-
if ((previousState === null || previousState ===
|
45
|
+
if ((previousState === null || previousState === undefined ? undefined : previousState.currentStep) !== currentStep && currentStep > 0) {
|
46
46
|
if (firstFocusElement) {
|
47
47
|
var elm = document.querySelector(firstFocusElement);
|
48
48
|
if (elm) {
|
@@ -18,9 +18,9 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
18
18
|
setCurrentStep = _ref.setCurrentStep,
|
19
19
|
setIsSubmitting = _ref.setIsSubmitting,
|
20
20
|
_ref$setLoadingPrevio = _ref.setLoadingPrevious,
|
21
|
-
setLoadingPrevious = _ref$setLoadingPrevio ===
|
21
|
+
setLoadingPrevious = _ref$setLoadingPrevio === undefined ? null : _ref$setLoadingPrevio,
|
22
22
|
_ref$loadingPrevious = _ref.loadingPrevious,
|
23
|
-
loadingPrevious = _ref$loadingPrevious ===
|
23
|
+
loadingPrevious = _ref$loadingPrevious === undefined ? false : _ref$loadingPrevious,
|
24
24
|
onClose = _ref.onClose,
|
25
25
|
onRequestSubmit = _ref.onRequestSubmit,
|
26
26
|
componentName = _ref.componentName,
|
@@ -44,7 +44,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
44
44
|
do {
|
45
45
|
var _stepData;
|
46
46
|
prev++;
|
47
|
-
} while (!((_stepData = stepData[prev - 1]) !== null && _stepData !==
|
47
|
+
} while (!((_stepData = stepData[prev - 1]) !== null && _stepData !== undefined && _stepData.shouldIncludeStep));
|
48
48
|
return prev;
|
49
49
|
});
|
50
50
|
}, [setCurrentStep, setIsSubmitting, stepData]);
|
@@ -59,7 +59,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
59
59
|
do {
|
60
60
|
var _stepData2;
|
61
61
|
prev--;
|
62
|
-
} while (!((_stepData2 = stepData[prev - 1]) !== null && _stepData2 !==
|
62
|
+
} while (!((_stepData2 = stepData[prev - 1]) !== null && _stepData2 !== undefined && _stepData2.shouldIncludeStep));
|
63
63
|
return prev;
|
64
64
|
});
|
65
65
|
}, [setCurrentStep, stepData, setLoadingPrevious, componentName]);
|
@@ -74,7 +74,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
74
74
|
onClose();
|
75
75
|
};
|
76
76
|
var handleOnRequestSubmit = /*#__PURE__*/function () {
|
77
|
-
var _ref2 = _asyncToGenerator(
|
77
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
78
78
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
79
79
|
while (1) switch (_context.prev = _context.next) {
|
80
80
|
case 0:
|
@@ -101,11 +101,11 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
101
101
|
};
|
102
102
|
}();
|
103
103
|
var handlePrevious = /*#__PURE__*/function () {
|
104
|
-
var _ref3 = _asyncToGenerator(
|
104
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
105
105
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
106
106
|
while (1) switch (_context2.prev = _context2.next) {
|
107
107
|
case 0:
|
108
|
-
setLoadingPrevious === null || setLoadingPrevious ===
|
108
|
+
setLoadingPrevious === null || setLoadingPrevious === undefined || setLoadingPrevious(true);
|
109
109
|
if (!(typeof onPrevious === 'function')) {
|
110
110
|
_context2.next = 13;
|
111
111
|
break;
|
@@ -137,7 +137,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
137
137
|
};
|
138
138
|
}();
|
139
139
|
var handleNext = /*#__PURE__*/function () {
|
140
|
-
var _ref4 = _asyncToGenerator(
|
140
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
141
141
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
142
142
|
while (1) switch (_context3.prev = _context3.next) {
|
143
143
|
case 0:
|
@@ -174,7 +174,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
174
174
|
};
|
175
175
|
}();
|
176
176
|
var handleSubmit = /*#__PURE__*/function () {
|
177
|
-
var _ref5 = _asyncToGenerator(
|
177
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
178
178
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
179
179
|
while (1) switch (_context4.prev = _context4.next) {
|
180
180
|
case 0:
|
@@ -215,13 +215,13 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
215
215
|
};
|
216
216
|
}();
|
217
217
|
var handleExperimentalSecondarySubmit = function handleExperimentalSecondarySubmit() {
|
218
|
-
if (typeof (experimentalSecondarySubmit === null || experimentalSecondarySubmit ===
|
218
|
+
if (typeof (experimentalSecondarySubmit === null || experimentalSecondarySubmit === undefined ? undefined : experimentalSecondarySubmit.onClick) === 'function') {
|
219
219
|
experimentalSecondarySubmit.onClick();
|
220
220
|
}
|
221
221
|
};
|
222
|
-
if ((stepData === null || stepData ===
|
222
|
+
if ((stepData === null || stepData === undefined ? undefined : stepData.length) > 0) {
|
223
223
|
var buttons = [];
|
224
|
-
if ((stepData === null || stepData ===
|
224
|
+
if ((stepData === null || stepData === undefined ? undefined : stepData.length) > 1) {
|
225
225
|
buttons.push({
|
226
226
|
key: 'create-action-button-back',
|
227
227
|
label: backButtonText,
|
@@ -239,13 +239,13 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
|
|
239
239
|
} : onUnmount,
|
240
240
|
kind: 'ghost'
|
241
241
|
});
|
242
|
-
if (experimentalSecondarySubmitText && !(experimentalSecondarySubmit !== null && experimentalSecondarySubmit !==
|
242
|
+
if (experimentalSecondarySubmitText && !(experimentalSecondarySubmit !== null && experimentalSecondarySubmit !== undefined && experimentalSecondarySubmit.hideSecondarySubmit)) {
|
243
243
|
buttons.push({
|
244
244
|
key: 'create-action-button-experimentalSecondarySubmit',
|
245
245
|
label: experimentalSecondarySubmitText,
|
246
246
|
onClick: handleExperimentalSecondarySubmit,
|
247
247
|
kind: 'secondary',
|
248
|
-
disabled: experimentalSecondarySubmit === null || experimentalSecondarySubmit ===
|
248
|
+
disabled: experimentalSecondarySubmit === null || experimentalSecondarySubmit === undefined ? undefined : experimentalSecondarySubmit.disabled
|
249
249
|
});
|
250
250
|
}
|
251
251
|
buttons.push({
|