@carbon/ibm-products 2.23.0 → 2.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +29560 -28179
- 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 +119 -118
- 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 +24584 -349
- 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 +17388 -121
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/_virtual/_commonjsHelpers.js +12 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +557 -0
- package/es/_virtual/index.js +10 -0
- package/es/_virtual/index2.js +10 -0
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +20 -0
- package/es/components/APIKeyModal/APIKeyDownloader.js +15 -15
- package/es/components/APIKeyModal/APIKeyModal.d.ts +2 -0
- package/es/components/APIKeyModal/APIKeyModal.js +48 -51
- package/es/components/APIKeyModal/index.d.ts +1 -0
- package/es/components/AboutModal/AboutModal.d.ts +9 -0
- package/es/components/AboutModal/AboutModal.js +29 -37
- package/es/components/AboutModal/index.d.ts +1 -0
- package/es/components/ActionBar/ActionBar.d.ts +5 -0
- package/es/components/ActionBar/ActionBar.js +32 -39
- package/es/components/ActionBar/ActionBarItem.d.ts +5 -0
- package/es/components/ActionBar/ActionBarItem.js +21 -26
- package/es/components/ActionBar/ActionBarOverflowItems.d.ts +18 -0
- package/es/components/ActionBar/ActionBarOverflowItems.js +22 -25
- package/es/components/ActionBar/index.d.ts +2 -0
- package/es/components/ActionSet/ActionSet.d.ts +14 -0
- package/es/components/ActionSet/ActionSet.js +22 -27
- package/es/components/ActionSet/index.d.ts +1 -0
- package/es/components/AddSelect/AddSelect.d.ts +2 -0
- package/es/components/AddSelect/AddSelect.js +18 -17
- package/es/components/AddSelect/AddSelectBody.d.ts +2 -0
- package/es/components/AddSelect/AddSelectBody.js +47 -48
- package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +16 -0
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +18 -15
- package/es/components/AddSelect/AddSelectColumn.d.ts +31 -0
- package/es/components/AddSelect/AddSelectColumn.js +39 -39
- package/es/components/AddSelect/AddSelectFilter.d.ts +40 -0
- package/es/components/AddSelect/AddSelectFilter.js +33 -34
- package/es/components/AddSelect/AddSelectFormControl.d.ts +18 -0
- package/es/components/AddSelect/AddSelectFormControl.js +29 -19
- package/es/components/AddSelect/AddSelectList.d.ts +16 -0
- package/es/components/AddSelect/AddSelectList.js +23 -23
- package/es/components/AddSelect/AddSelectMetaPanel.d.ts +22 -0
- package/es/components/AddSelect/AddSelectMetaPanel.js +23 -20
- package/es/components/AddSelect/AddSelectRow.d.ts +51 -0
- package/es/components/AddSelect/AddSelectRow.js +28 -27
- package/es/components/AddSelect/AddSelectSidebar.d.ts +34 -0
- package/es/components/AddSelect/AddSelectSidebar.js +39 -36
- package/es/components/AddSelect/AddSelectSort.d.ts +18 -0
- package/es/components/AddSelect/AddSelectSort.js +25 -22
- package/es/components/AddSelect/add-select-utils.d.ts +4 -0
- package/es/components/AddSelect/add-select-utils.js +18 -11
- package/es/components/AddSelect/hooks/useFocus.d.ts +2 -0
- package/es/components/AddSelect/hooks/useFocus.js +13 -3
- package/es/components/AddSelect/hooks/useItemSort.d.ts +6 -0
- package/es/components/AddSelect/hooks/useItemSort.js +12 -9
- package/es/components/AddSelect/hooks/useParentSelect.d.ts +5 -0
- package/es/components/AddSelect/hooks/useParentSelect.js +11 -8
- package/es/components/AddSelect/hooks/usePath.d.ts +10 -0
- package/es/components/AddSelect/hooks/usePath.js +12 -13
- package/es/components/AddSelect/index.d.ts +1 -0
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +42 -0
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +43 -51
- package/es/components/BreadcrumbWithOverflow/index.d.ts +1 -0
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +22 -0
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +35 -40
- package/es/components/ButtonSetWithOverflow/index.d.ts +1 -0
- package/es/components/Card/Card.d.ts +2 -0
- package/es/components/Card/Card.js +36 -38
- package/es/components/Card/CardFooter.d.ts +46 -0
- package/es/components/Card/CardFooter.js +20 -17
- package/es/components/Card/CardHeader.d.ts +51 -0
- package/es/components/Card/CardHeader.js +34 -30
- package/es/components/Card/index.d.ts +3 -0
- package/es/components/Carousel/Carousel.d.ts +18 -0
- package/es/components/Carousel/Carousel.js +26 -23
- package/es/components/Carousel/CarouselItem.d.ts +5 -0
- package/es/components/Carousel/CarouselItem.js +12 -13
- package/es/components/Carousel/index.d.ts +2 -0
- package/es/components/Cascade/Cascade.d.ts +11 -0
- package/es/components/Cascade/Cascade.js +27 -27
- package/es/components/Cascade/index.d.ts +1 -0
- package/es/components/Checklist/Checklist.d.ts +8 -0
- package/es/components/Checklist/Checklist.js +38 -50
- package/es/components/Checklist/ChecklistChart.d.ts +5 -0
- package/es/components/Checklist/ChecklistChart.js +14 -22
- package/es/components/Checklist/ChecklistIcon.d.ts +5 -0
- package/es/components/Checklist/ChecklistIcon.js +15 -26
- package/es/components/Checklist/index.d.ts +1 -0
- package/es/components/Coachmark/Coachmark.d.ts +7 -0
- package/es/components/Coachmark/Coachmark.js +256 -0
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkDragbar.js +145 -0
- package/es/components/Coachmark/CoachmarkHeader.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkHeader.js +90 -0
- package/es/components/Coachmark/CoachmarkOverlay.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkOverlay.js +232 -0
- package/es/components/Coachmark/CoachmarkTagline.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkTagline.js +98 -0
- package/es/components/Coachmark/index.d.ts +3 -0
- package/es/components/Coachmark/utils/constants.d.ts +1 -0
- package/es/components/Coachmark/utils/constants.js +85 -0
- package/es/components/Coachmark/utils/context.d.ts +2 -0
- package/es/components/Coachmark/utils/context.js +15 -0
- package/es/components/Coachmark/utils/enums.d.ts +23 -0
- package/es/components/Coachmark/utils/enums.js +42 -0
- package/es/components/Coachmark/utils/hooks.d.ts +9 -0
- package/es/components/Coachmark/utils/hooks.js +62 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +5 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +93 -0
- package/es/components/CoachmarkBeacon/index.d.ts +1 -0
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +5 -0
- package/es/components/CoachmarkButton/CoachmarkButton.js +90 -0
- package/es/components/CoachmarkButton/index.d.ts +1 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +8 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +223 -0
- package/es/components/CoachmarkFixed/index.d.ts +1 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +7 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +85 -0
- package/es/components/CoachmarkOverlayElement/index.d.ts +1 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +6 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +210 -0
- package/es/components/CoachmarkOverlayElements/index.d.ts +1 -0
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +8 -0
- package/es/components/CoachmarkStack/CoachmarkStack.js +281 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +6 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +193 -0
- package/es/components/CoachmarkStack/index.d.ts +1 -0
- package/es/components/ComboButton/ComboButton.d.ts +21 -0
- package/es/components/ComboButton/ComboButton.js +27 -31
- package/es/components/ComboButton/ComboButtonItem/index.d.ts +16 -0
- package/es/components/ComboButton/ComboButtonItem/index.js +11 -11
- package/es/components/ComboButton/index.d.ts +2 -0
- package/es/components/CreateFullPage/CreateFullPage.d.ts +16 -0
- package/es/components/CreateFullPage/CreateFullPage.js +43 -43
- package/es/components/CreateFullPage/CreateFullPageStep.d.ts +2 -0
- package/es/components/CreateFullPage/CreateFullPageStep.js +22 -21
- package/es/components/CreateFullPage/index.d.ts +2 -0
- package/es/components/CreateInfluencer/CreateInfluencer.d.ts +23 -0
- package/es/components/CreateInfluencer/CreateInfluencer.js +17 -15
- package/es/components/CreateInfluencer/index.d.ts +1 -0
- package/es/components/CreateModal/CreateModal.d.ts +8 -0
- package/es/components/CreateModal/CreateModal.js +22 -23
- package/es/components/CreateModal/index.d.ts +1 -0
- package/es/components/CreateSidePanel/CreateSidePanel.d.ts +5 -0
- package/es/components/CreateSidePanel/CreateSidePanel.js +19 -25
- package/es/components/CreateSidePanel/index.d.ts +1 -0
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +4 -0
- package/es/components/CreateTearsheet/CreateTearsheet.js +32 -27
- package/es/components/CreateTearsheet/CreateTearsheetDivider.d.ts +2 -0
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +13 -11
- package/es/components/CreateTearsheet/CreateTearsheetStep.d.ts +2 -0
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +25 -24
- package/es/components/CreateTearsheet/index.d.ts +3 -0
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +6 -0
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +19 -20
- package/es/components/CreateTearsheetNarrow/index.d.ts +1 -0
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +5 -0
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +52 -54
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +2 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -33
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +2 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +25 -26
- package/es/components/DataSpreadsheet/hooks/index.d.ts +7 -0
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.d.ts +6 -0
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +5 -3
- package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.d.ts +9 -0
- package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +10 -8
- package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.d.ts +6 -0
- package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +7 -4
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.d.ts +12 -0
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +10 -8
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.d.ts +6 -0
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +7 -5
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.d.ts +17 -0
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +10 -10
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.d.ts +9 -0
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +7 -5
- package/es/components/DataSpreadsheet/index.d.ts +1 -0
- package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.d.ts +1 -0
- package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +7 -5
- package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.d.ts +1 -0
- package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +7 -4
- package/es/components/DataSpreadsheet/utils/createActiveCellFn.d.ts +12 -0
- package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +7 -5
- package/es/components/DataSpreadsheet/utils/createCellSelectionArea.d.ts +10 -0
- package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +8 -6
- package/es/components/DataSpreadsheet/utils/getCellSize.d.ts +1 -0
- package/es/components/DataSpreadsheet/utils/getCellSize.js +12 -9
- package/es/components/DataSpreadsheet/utils/getSelectionAreaPoints.d.ts +6 -0
- package/es/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +5 -3
- package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.d.ts +9 -0
- package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +6 -3
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.d.ts +7 -0
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +9 -8
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.d.ts +7 -0
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +7 -4
- package/es/components/DataSpreadsheet/utils/handleCellDeletion.d.ts +8 -0
- package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +8 -5
- package/es/components/DataSpreadsheet/utils/handleEditSubmit.d.ts +13 -0
- package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +10 -12
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.d.ts +16 -0
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +11 -8
- package/es/components/DataSpreadsheet/utils/handleMultipleKeys.d.ts +18 -0
- package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +16 -15
- package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.d.ts +7 -0
- package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +7 -4
- package/es/components/DataSpreadsheet/utils/removeCellSelections.d.ts +5 -0
- package/es/components/DataSpreadsheet/utils/removeCellSelections.js +7 -5
- package/es/components/DataSpreadsheet/utils/selectAllCells.d.ts +9 -0
- package/es/components/DataSpreadsheet/utils/selectAllCells.js +10 -9
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +5 -0
- package/es/components/Datagrid/Datagrid/Datagrid.js +21 -19
- package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridBody.js +19 -16
- package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +35 -0
- package/es/components/Datagrid/Datagrid/DatagridContent.js +36 -34
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +15 -9
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +11 -8
- package/es/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridHead.js +7 -4
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +36 -35
- package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +16 -16
- package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridRow.js +25 -25
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +21 -17
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +28 -0
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +17 -17
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +16 -16
- package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +18 -16
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +15 -15
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +22 -0
- package/es/components/Datagrid/Datagrid/DraggableElement.js +25 -23
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +18 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +7 -4
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +21 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +10 -8
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +27 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +25 -20
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +36 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +18 -19
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +18 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +29 -31
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +10 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +10 -7
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/common.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +13 -5
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/index.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +42 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +31 -22
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +50 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +33 -32
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +19 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +18 -18
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +24 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +21 -10
- package/es/components/Datagrid/Datagrid/addons/Filtering/constants.d.ts +24 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +17 -14
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.d.ts +9 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +36 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/index.d.ts +4 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +12 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +28 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +66 -93
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.d.ts +9 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +5 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +7 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/index.d.ts +3 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.d.ts +60 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +10 -7
- package/es/components/Datagrid/Datagrid/addons/Filtering/utils.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +10 -10
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +26 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +17 -14
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/index.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +29 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +26 -28
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/index.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +11 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +18 -18
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +5 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/index.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +10 -9
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +5 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +8 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +16 -15
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +9 -6
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +18 -0
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +19 -18
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.d.ts +3 -0
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +11 -10
- package/es/components/Datagrid/Datagrid/addons/RowSize/index.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/Slug/ColumnHeaderSlug.d.ts +2 -0
- package/es/components/Datagrid/Datagrid/addons/Slug/ColumnHeaderSlug.js +9 -6
- package/es/components/Datagrid/Datagrid/addons/stateReducer.d.ts +17 -0
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +31 -35
- package/es/components/Datagrid/Datagrid/index.d.ts +1 -0
- package/es/components/Datagrid/common-column-ids.d.ts +1 -0
- package/es/components/Datagrid/common-column-ids.js +8 -7
- package/es/components/Datagrid/index.d.ts +22 -0
- package/es/components/Datagrid/useActionsColumn.d.ts +2 -0
- package/es/components/Datagrid/useActionsColumn.js +34 -32
- package/es/components/Datagrid/useColumnCenterAlign.d.ts +2 -0
- package/es/components/Datagrid/useColumnCenterAlign.js +12 -12
- package/es/components/Datagrid/useColumnOrder.d.ts +1 -0
- package/es/components/Datagrid/useColumnOrder.js +2 -2
- package/es/components/Datagrid/useColumnRightAlign.d.ts +2 -0
- package/es/components/Datagrid/useColumnRightAlign.js +12 -12
- package/es/components/Datagrid/useCustomizeColumns.d.ts +2 -0
- package/es/components/Datagrid/useCustomizeColumns.js +10 -10
- package/es/components/Datagrid/useDatagrid.d.ts +2 -0
- package/es/components/Datagrid/useDatagrid.js +21 -21
- package/es/components/Datagrid/useDefaultStringRenderer.d.ts +2 -0
- package/es/components/Datagrid/useDefaultStringRenderer.js +18 -18
- package/es/components/Datagrid/useDisableSelectRows.d.ts +2 -0
- package/es/components/Datagrid/useDisableSelectRows.js +8 -7
- package/es/components/Datagrid/useEditableCell.d.ts +2 -0
- package/es/components/Datagrid/useExpandedRow.d.ts +2 -0
- package/es/components/Datagrid/useExpandedRow.js +16 -12
- package/es/components/Datagrid/useFiltering.d.ts +2 -0
- package/es/components/Datagrid/useFiltering.js +11 -16
- package/es/components/Datagrid/useFlexResize.d.ts +8 -0
- package/es/components/Datagrid/useFlexResize.js +12 -2
- package/es/components/Datagrid/useFloatingScroll.d.ts +2 -0
- package/es/components/Datagrid/useFloatingScroll.js +12 -9
- package/es/components/Datagrid/useFocusRowExpander.d.ts +6 -0
- package/es/components/Datagrid/useFocusRowExpander.js +5 -3
- package/es/components/Datagrid/useInfiniteScroll.d.ts +2 -0
- package/es/components/Datagrid/useInfiniteScroll.js +13 -6
- package/es/components/Datagrid/useInlineEdit.d.ts +2 -0
- package/es/components/Datagrid/useInlineEdit.js +12 -9
- package/es/components/Datagrid/useNestedRowExpander.d.ts +2 -0
- package/es/components/Datagrid/useNestedRowExpander.js +14 -16
- package/es/components/Datagrid/useNestedRows.d.ts +2 -0
- package/es/components/Datagrid/useNestedRows.js +8 -5
- package/es/components/Datagrid/useOnRowClick.d.ts +2 -0
- package/es/components/Datagrid/useOnRowClick.js +6 -3
- package/es/components/Datagrid/useParentDimensions.d.ts +2 -0
- package/es/components/Datagrid/useParentDimensions.js +6 -3
- package/es/components/Datagrid/useResizeTable.d.ts +2 -0
- package/es/components/Datagrid/useResizeTable.js +5 -2
- package/es/components/Datagrid/useRowExpander.d.ts +2 -0
- package/es/components/Datagrid/useRowExpander.js +17 -17
- package/es/components/Datagrid/useRowIsMouseOver.d.ts +2 -0
- package/es/components/Datagrid/useRowIsMouseOver.js +11 -12
- package/es/components/Datagrid/useRowRenderer.d.ts +2 -0
- package/es/components/Datagrid/useRowRenderer.js +11 -8
- package/es/components/Datagrid/useRowSize.d.ts +2 -0
- package/es/components/Datagrid/useRowSize.js +12 -13
- package/es/components/Datagrid/useSelectAllToggle.d.ts +2 -0
- package/es/components/Datagrid/useSelectAllToggle.js +17 -16
- package/es/components/Datagrid/useSelectRows.d.ts +2 -0
- package/es/components/Datagrid/useSelectRows.js +18 -21
- package/es/components/Datagrid/useSkeletonRows.d.ts +8 -0
- package/es/components/Datagrid/useSkeletonRows.js +12 -2
- package/es/components/Datagrid/useSortableColumns.d.ts +2 -0
- package/es/components/Datagrid/useSortableColumns.js +19 -19
- package/es/components/Datagrid/useStickyColumn.d.ts +2 -0
- package/es/components/Datagrid/useStickyColumn.js +13 -14
- package/es/components/Datagrid/utils/getAutoSizedColumnWidth.d.ts +1 -0
- package/es/components/Datagrid/utils/getAutoSizedColumnWidth.js +13 -3
- package/es/components/DelimitedList/DelimitedList.d.ts +6 -0
- package/es/components/DelimitedList/DelimitedList.js +13 -14
- package/es/components/DelimitedList/index.d.ts +1 -0
- package/es/components/EditFullPage/EditFullPage.d.ts +6 -0
- package/es/components/EditFullPage/EditFullPage.js +13 -14
- package/es/components/EditFullPage/index.d.ts +1 -0
- package/es/components/EditInPlace/EditInPlace.d.ts +6 -0
- package/es/components/EditInPlace/EditInPlace.js +31 -37
- package/es/components/EditInPlace/index.d.ts +1 -0
- package/es/components/EditSidePanel/EditSidePanel.d.ts +5 -0
- package/es/components/EditSidePanel/EditSidePanel.js +20 -26
- package/es/components/EditSidePanel/index.d.ts +1 -0
- package/es/components/EditTearsheet/EditTearsheet.d.ts +7 -0
- package/es/components/EditTearsheet/EditTearsheet.js +25 -24
- package/es/components/EditTearsheet/EditTearsheetForm.d.ts +2 -0
- package/es/components/EditTearsheet/EditTearsheetForm.js +24 -23
- package/es/components/EditTearsheet/index.d.ts +2 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +5 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +13 -14
- package/es/components/EditTearsheetNarrow/index.d.ts +1 -0
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +7 -0
- package/es/components/EditUpdateCards/EditUpdateCards.js +16 -18
- package/es/components/EditUpdateCards/index.d.ts +1 -0
- package/es/components/EmptyStates/EmptyState.d.ts +9 -0
- package/es/components/EmptyStates/EmptyState.js +48 -38
- package/es/components/EmptyStates/EmptyStateContent.d.ts +306 -0
- package/es/components/EmptyStates/EmptyStateContent.js +17 -23
- package/es/components/EmptyStates/EmptyStateIllustration.d.ts +11 -0
- package/es/components/EmptyStates/EmptyStateIllustration.js +62 -0
- package/es/components/EmptyStates/EmptyStateV2.d.ts +6 -0
- package/es/components/EmptyStates/EmptyStateV2.js +126 -0
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +5 -0
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +27 -26
- package/es/components/EmptyStates/ErrorEmptyState/index.d.ts +1 -0
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +5 -0
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +28 -27
- package/es/components/EmptyStates/NoDataEmptyState/index.d.ts +1 -0
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +5 -0
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +27 -26
- package/es/components/EmptyStates/NoTagsEmptyState/index.d.ts +1 -0
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +5 -0
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +27 -26
- package/es/components/EmptyStates/NotFoundEmptyState/index.d.ts +1 -0
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +5 -0
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +27 -26
- package/es/components/EmptyStates/NotificationsEmptyState/index.d.ts +1 -0
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +5 -0
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +27 -26
- package/es/components/EmptyStates/UnauthorizedEmptyState/index.d.ts +1 -0
- package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/ErrorIllustration.js +64 -63
- package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NoDataIllustration.js +54 -53
- package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +125 -124
- package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +95 -94
- package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +92 -91
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +85 -84
- package/es/components/EmptyStates/index.d.ts +8 -0
- package/es/components/ExportModal/ExportModal.d.ts +5 -0
- package/es/components/ExportModal/ExportModal.js +40 -41
- package/es/components/ExportModal/index.d.ts +1 -0
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +2 -0
- package/es/components/ExpressiveCard/ExpressiveCard.js +19 -16
- package/es/components/ExpressiveCard/index.d.ts +1 -0
- package/es/components/FilterSummary/FilterSummary.d.ts +3 -0
- package/es/components/FilterSummary/FilterSummary.js +28 -29
- package/es/components/FilterSummary/index.d.ts +1 -0
- package/es/components/FullPageError/FullPageError.d.ts +5 -0
- package/es/components/FullPageError/FullPageError.js +129 -0
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +9 -0
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +714 -0
- package/es/components/FullPageError/index.d.ts +1 -0
- package/es/components/Guidebanner/Guidebanner.d.ts +6 -0
- package/es/components/Guidebanner/Guidebanner.js +34 -33
- package/es/components/Guidebanner/GuidebannerElement.d.ts +19 -0
- package/es/components/Guidebanner/GuidebannerElement.js +17 -16
- package/es/components/Guidebanner/GuidebannerElementButton.d.ts +17 -0
- package/es/components/Guidebanner/GuidebannerElementButton.js +18 -16
- package/es/components/Guidebanner/GuidebannerElementLink.d.ts +15 -0
- package/es/components/Guidebanner/GuidebannerElementLink.js +14 -13
- package/es/components/Guidebanner/index.d.ts +4 -0
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +7 -0
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +24 -25
- package/es/components/HTTPErrors/HTTPError403/index.d.ts +1 -0
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +7 -0
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +24 -25
- package/es/components/HTTPErrors/HTTPError404/index.d.ts +1 -0
- package/es/components/HTTPErrors/HTTPErrorContent.d.ts +309 -0
- package/es/components/HTTPErrors/HTTPErrorContent.js +20 -26
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +7 -0
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +24 -25
- package/es/components/HTTPErrors/HTTPErrorOther/index.d.ts +1 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +9 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +368 -367
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +9 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +319 -318
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +9 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +331 -330
- package/es/components/HTTPErrors/index.d.ts +3 -0
- package/es/components/ImportModal/ImportModal.d.ts +2 -0
- package/es/components/ImportModal/ImportModal.js +41 -46
- package/es/components/ImportModal/index.d.ts +1 -0
- package/es/components/InlineTip/InlineTip.d.ts +7 -0
- package/es/components/InlineTip/InlineTip.js +37 -38
- package/es/components/InlineTip/InlineTipButton.d.ts +5 -0
- package/es/components/InlineTip/InlineTipButton.js +14 -15
- package/es/components/InlineTip/InlineTipLink.d.ts +5 -0
- package/es/components/InlineTip/InlineTipLink.js +17 -17
- package/es/components/InlineTip/index.d.ts +3 -0
- package/es/components/InlineTip/utils.d.ts +1 -0
- package/es/components/InlineTip/utils.js +13 -3
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +8 -0
- package/es/components/InterstitialScreen/InterstitialScreen.js +421 -0
- package/es/components/InterstitialScreen/index.d.ts +1 -0
- package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +5 -0
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +74 -0
- package/es/components/InterstitialScreenView/index.d.ts +1 -0
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +5 -0
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +81 -0
- package/es/components/InterstitialScreenViewModule/index.d.ts +1 -0
- package/es/components/MultiAddSelect/MultiAddSelect.d.ts +5 -0
- package/es/components/MultiAddSelect/MultiAddSelect.js +18 -15
- package/es/components/MultiAddSelect/index.d.ts +1 -0
- package/es/components/NonLinearReading/NonLinearReading.d.ts +7 -0
- package/es/components/NonLinearReading/NonLinearReading.js +19 -17
- package/es/components/NonLinearReading/index.d.ts +1 -0
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +2 -0
- package/es/components/NotificationsPanel/NotificationsPanel.js +50 -54
- package/es/components/NotificationsPanel/index.d.ts +1 -0
- package/es/components/NotificationsPanel/utils.d.ts +15 -0
- package/es/components/NotificationsPanel/utils.js +5 -3
- package/es/components/OptionsTile/OptionsTile.d.ts +5 -0
- package/es/components/OptionsTile/OptionsTile.js +33 -37
- package/es/components/OptionsTile/index.d.ts +1 -0
- package/es/components/PageHeader/PageHeader.d.ts +6 -0
- package/es/components/PageHeader/PageHeader.js +72 -74
- package/es/components/PageHeader/PageHeaderTitle.d.ts +31 -0
- package/es/components/PageHeader/PageHeaderTitle.js +24 -16
- package/es/components/PageHeader/PageHeaderUtils.d.ts +7 -0
- package/es/components/PageHeader/PageHeaderUtils.js +19 -17
- package/es/components/PageHeader/index.d.ts +1 -0
- package/es/components/ProductiveCard/ProductiveCard.d.ts +2 -0
- package/es/components/ProductiveCard/ProductiveCard.js +20 -21
- package/es/components/ProductiveCard/index.d.ts +1 -0
- package/es/components/RemoveModal/RemoveModal.d.ts +7 -0
- package/es/components/RemoveModal/RemoveModal.js +29 -31
- package/es/components/RemoveModal/index.d.ts +1 -0
- package/es/components/Saving/Saving.d.ts +69 -0
- package/es/components/Saving/Saving.js +28 -26
- package/es/components/Saving/index.d.ts +1 -0
- package/es/components/SearchBar/SearchBar.d.ts +5 -0
- package/es/components/SearchBar/SearchBar.js +222 -0
- package/es/components/SearchBar/index.d.ts +1 -0
- package/es/components/SidePanel/SidePanel.d.ts +5 -0
- package/es/components/SidePanel/SidePanel.js +58 -66
- package/es/components/SidePanel/constants.d.ts +7 -0
- package/es/components/SidePanel/constants.js +5 -3
- package/es/components/SidePanel/index.d.ts +1 -0
- package/es/components/SidePanel/motion/variants.d.ts +42 -0
- package/es/components/SidePanel/motion/variants.js +8 -5
- package/es/components/SimpleHeader/SimpleHeader.d.ts +48 -0
- package/es/components/SimpleHeader/SimpleHeader.js +17 -16
- package/es/components/SingleAddSelect/SingleAddSelect.d.ts +5 -0
- package/es/components/SingleAddSelect/SingleAddSelect.js +19 -16
- package/es/components/SingleAddSelect/index.d.ts +1 -0
- package/es/components/StatusIcon/StatusIcon.d.ts +11 -0
- package/es/components/StatusIcon/StatusIcon.js +60 -58
- package/es/components/StatusIcon/index.d.ts +1 -0
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +5 -0
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +16 -19
- package/es/components/SteppedAnimatedMedia/index.d.ts +1 -0
- package/es/components/TagSet/TagSet.d.ts +8 -0
- package/es/components/TagSet/TagSet.js +34 -37
- package/es/components/TagSet/TagSetModal.d.ts +29 -0
- package/es/components/TagSet/TagSetModal.js +27 -29
- package/es/components/TagSet/TagSetOverflow.d.ts +2 -0
- package/es/components/TagSet/TagSetOverflow.js +27 -26
- package/es/components/TagSet/index.d.ts +1 -0
- package/es/components/Tearsheet/Tearsheet.d.ts +18 -0
- package/es/components/Tearsheet/Tearsheet.js +19 -25
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +14 -0
- package/es/components/Tearsheet/TearsheetNarrow.js +19 -25
- package/es/components/Tearsheet/TearsheetShell.d.ts +17 -0
- package/es/components/Tearsheet/TearsheetShell.js +43 -50
- package/es/components/Tearsheet/index.d.ts +2 -0
- package/es/components/Toolbar/Toolbar.d.ts +6 -0
- package/es/components/Toolbar/Toolbar.js +25 -26
- package/es/components/Toolbar/ToolbarButton.d.ts +4 -0
- package/es/components/Toolbar/ToolbarButton.js +21 -20
- package/es/components/Toolbar/ToolbarGroup.d.ts +3 -0
- package/es/components/Toolbar/ToolbarGroup.js +16 -14
- package/es/components/Toolbar/index.d.ts +3 -0
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +15 -0
- package/es/components/TooltipTrigger/TooltipTrigger.js +12 -13
- package/es/components/TooltipTrigger/index.d.ts +1 -0
- package/es/components/TruncatedList/TruncatedList.d.ts +7 -0
- package/es/components/TruncatedList/TruncatedList.js +171 -0
- package/es/components/TruncatedList/index.d.ts +1 -0
- package/es/components/UserAvatar/UserAvatar.d.ts +2 -0
- package/es/components/UserAvatar/UserAvatar.js +147 -0
- package/es/components/UserAvatar/index.d.ts +1 -0
- package/es/components/UserProfileImage/UserProfileImage.d.ts +5 -0
- package/es/components/UserProfileImage/UserProfileImage.js +28 -30
- package/es/components/UserProfileImage/index.d.ts +1 -0
- package/es/components/WebTerminal/WebTerminal.d.ts +5 -0
- package/es/components/WebTerminal/WebTerminal.js +28 -36
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -0
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +13 -15
- package/es/components/WebTerminal/hooks/index.d.ts +12 -0
- package/es/components/WebTerminal/hooks/index.js +18 -16
- package/es/components/WebTerminal/index.d.ts +3 -0
- package/es/components/_Canary/Canary.d.ts +12 -0
- package/es/components/_Canary/Canary.js +17 -21
- package/es/components/_Canary/index.d.ts +1 -0
- package/es/components/index.d.ts +56 -0
- package/es/global/js/hooks/index.d.ts +12 -0
- package/es/global/js/hooks/useActiveElement.d.ts +1 -0
- package/es/global/js/hooks/useActiveElement.js +7 -4
- package/es/global/js/hooks/useClickOutside.d.ts +1 -0
- package/es/global/js/hooks/useClickOutside.js +6 -3
- package/es/global/js/hooks/useControllableState.d.ts +27 -0
- package/es/global/js/hooks/useControllableState.js +8 -6
- package/es/global/js/hooks/useCreateComponentFocus.d.ts +7 -0
- package/es/global/js/hooks/useCreateComponentFocus.js +9 -8
- package/es/global/js/hooks/useCreateComponentStepChange.d.ts +24 -0
- package/es/global/js/hooks/useCreateComponentStepChange.js +15 -13
- package/es/global/js/hooks/usePortalTarget.d.ts +1 -0
- package/es/global/js/hooks/usePortalTarget.js +7 -4
- package/es/global/js/hooks/usePrefix.d.ts +1 -0
- package/es/global/js/hooks/usePrefix.js +7 -4
- package/es/global/js/hooks/usePreviousValue.d.ts +1 -0
- package/es/global/js/hooks/usePreviousValue.js +6 -4
- package/es/global/js/hooks/useResetCreateComponent.d.ts +10 -0
- package/es/global/js/hooks/useResetCreateComponent.js +6 -4
- package/es/global/js/hooks/useResizeObserver.d.ts +4 -0
- package/es/global/js/hooks/useResizeObserver.js +9 -6
- package/es/global/js/hooks/useRetrieveFormTitles.d.ts +5 -0
- package/es/global/js/hooks/useRetrieveFormTitles.js +13 -3
- package/es/global/js/hooks/useRetrieveStepData.d.ts +9 -0
- package/es/global/js/hooks/useRetrieveStepData.js +6 -4
- package/es/global/js/hooks/useValidCreateStepCount.d.ts +1 -0
- package/es/global/js/hooks/useValidCreateStepCount.js +5 -3
- package/es/global/js/hooks/useWindowResize.d.ts +1 -0
- package/es/global/js/hooks/useWindowResize.js +9 -8
- package/es/global/js/hooks/useWindowScroll.d.ts +3 -0
- package/es/global/js/hooks/useWindowScroll.js +8 -13
- package/es/global/js/package-settings.d.ts +123 -0
- package/es/global/js/package-settings.js +38 -10
- package/es/global/js/utils/Wrap.d.ts +12 -0
- package/es/global/js/utils/Wrap.js +11 -12
- package/es/global/js/utils/deepCloneObject.d.ts +1 -0
- package/es/global/js/utils/deepCloneObject.js +13 -3
- package/es/global/js/utils/devtools.d.ts +6 -0
- package/es/global/js/utils/devtools.js +7 -8
- package/es/global/js/utils/getBezierValues.d.ts +1 -0
- package/es/global/js/utils/getBezierValues.js +11 -2
- package/es/global/js/utils/getFocusableElements.d.ts +1 -0
- package/es/global/js/utils/getFocusableElements.js +13 -3
- package/es/global/js/utils/getNodeTextContent.d.ts +1 -0
- package/es/global/js/utils/getNodeTextContent.js +13 -3
- package/es/global/js/utils/getNumberOfHiddenSteps.d.ts +1 -0
- package/es/global/js/utils/getNumberOfHiddenSteps.js +5 -3
- package/es/global/js/utils/getScrollbarWidth.d.ts +1 -0
- package/es/global/js/utils/getScrollbarWidth.js +5 -3
- package/es/global/js/utils/keyboardNavigation.d.ts +27 -0
- package/es/global/js/utils/keyboardNavigation.js +5 -8
- package/es/global/js/utils/lastIndexInArray.d.ts +1 -0
- package/es/global/js/utils/lastIndexInArray.js +5 -3
- package/es/global/js/utils/motionConstants.d.ts +23 -0
- package/es/global/js/utils/motionConstants.js +8 -6
- package/es/global/js/utils/pconsole.d.ts +15 -0
- package/es/global/js/utils/pconsole.js +17 -9
- package/es/global/js/utils/props-helper.d.ts +37 -0
- package/es/global/js/utils/props-helper.js +17 -81
- package/es/global/js/utils/rangeWithCallback.d.ts +1 -0
- package/es/global/js/utils/rangeWithCallback.js +5 -3
- package/es/global/js/utils/scrollableAncestor.d.ts +1 -0
- package/es/global/js/utils/scrollableAncestor.js +13 -3
- package/es/global/js/utils/unwrap-if-fragment.d.ts +6 -0
- package/es/global/js/utils/uuidv4.d.ts +2 -0
- package/es/global/js/utils/uuidv4.js +8 -2
- package/es/global/js/utils/wait.d.ts +2 -0
- package/es/global/js/utils/wait.js +8 -2
- package/es/global/js/utils/wrapFocus.d.ts +25 -0
- package/es/global/js/utils/wrapFocus.js +5 -5
- package/es/index.d.ts +9 -0
- package/es/index.js +103 -4
- package/es/node_modules/@carbon/colors/es/index.js +11 -0
- package/es/node_modules/@carbon/icon-helpers/es/index.js +140 -0
- package/es/node_modules/@carbon/icons-react/es/Icon.js +73 -0
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-0.js +2985 -0
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +2900 -0
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-8.js +3004 -0
- package/es/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +14 -0
- package/es/node_modules/classnames/index.js +70 -0
- package/es/node_modules/object-assign/index.js +89 -0
- package/es/node_modules/prop-types/checkPropTypes.js +96 -0
- package/es/node_modules/prop-types/factoryWithThrowingShims.js +64 -0
- package/es/node_modules/prop-types/factoryWithTypeCheckers.js +562 -0
- package/es/node_modules/prop-types/index.js +29 -0
- package/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +18 -0
- package/es/node_modules/prop-types/lib/has.js +17 -0
- package/es/settings.d.ts +106 -0
- package/es/settings.js +23 -13
- package/lib/_virtual/_commonjsHelpers.js +16 -0
- package/lib/_virtual/_rollupPluginBabelHelpers.js +583 -0
- package/lib/_virtual/index.js +14 -0
- package/lib/_virtual/index2.js +14 -0
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +20 -0
- package/lib/components/APIKeyModal/APIKeyDownloader.js +34 -36
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +2 -0
- package/lib/components/APIKeyModal/APIKeyModal.js +123 -128
- package/lib/components/APIKeyModal/index.d.ts +1 -0
- package/lib/components/AboutModal/AboutModal.d.ts +9 -0
- package/lib/components/AboutModal/AboutModal.js +65 -73
- package/lib/components/AboutModal/index.d.ts +1 -0
- package/lib/components/ActionBar/ActionBar.d.ts +5 -0
- package/lib/components/ActionBar/ActionBar.js +74 -78
- package/lib/components/ActionBar/ActionBarItem.d.ts +5 -0
- package/lib/components/ActionBar/ActionBarItem.js +38 -39
- package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +18 -0
- package/lib/components/ActionBar/ActionBarOverflowItems.js +35 -41
- package/lib/components/ActionBar/index.d.ts +2 -0
- package/lib/components/ActionSet/ActionSet.d.ts +14 -0
- package/lib/components/ActionSet/ActionSet.js +47 -48
- package/lib/components/ActionSet/index.d.ts +1 -0
- package/lib/components/AddSelect/AddSelect.d.ts +2 -0
- package/lib/components/AddSelect/AddSelect.js +91 -90
- package/lib/components/AddSelect/AddSelectBody.d.ts +2 -0
- package/lib/components/AddSelect/AddSelectBody.js +139 -140
- package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +16 -0
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +31 -27
- package/lib/components/AddSelect/AddSelectColumn.d.ts +31 -0
- package/lib/components/AddSelect/AddSelectColumn.js +72 -72
- package/lib/components/AddSelect/AddSelectFilter.d.ts +40 -0
- package/lib/components/AddSelect/AddSelectFilter.js +63 -64
- package/lib/components/AddSelect/AddSelectFormControl.d.ts +18 -0
- package/lib/components/AddSelect/AddSelectFormControl.js +42 -31
- package/lib/components/AddSelect/AddSelectList.d.ts +16 -0
- package/lib/components/AddSelect/AddSelectList.js +39 -36
- package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +22 -0
- package/lib/components/AddSelect/AddSelectMetaPanel.js +42 -41
- package/lib/components/AddSelect/AddSelectRow.d.ts +51 -0
- package/lib/components/AddSelect/AddSelectRow.js +73 -74
- package/lib/components/AddSelect/AddSelectSidebar.d.ts +34 -0
- package/lib/components/AddSelect/AddSelectSidebar.js +61 -55
- package/lib/components/AddSelect/AddSelectSort.d.ts +18 -0
- package/lib/components/AddSelect/AddSelectSort.js +39 -35
- package/lib/components/AddSelect/add-select-utils.d.ts +4 -0
- package/lib/components/AddSelect/add-select-utils.js +25 -18
- package/lib/components/AddSelect/hooks/useFocus.d.ts +2 -0
- package/lib/components/AddSelect/hooks/useFocus.js +20 -13
- package/lib/components/AddSelect/hooks/useItemSort.d.ts +6 -0
- package/lib/components/AddSelect/hooks/useItemSort.js +20 -20
- package/lib/components/AddSelect/hooks/useParentSelect.d.ts +5 -0
- package/lib/components/AddSelect/hooks/useParentSelect.js +17 -17
- package/lib/components/AddSelect/hooks/usePath.d.ts +10 -0
- package/lib/components/AddSelect/hooks/usePath.js +25 -27
- package/lib/components/AddSelect/index.d.ts +1 -0
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +42 -0
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +89 -96
- package/lib/components/BreadcrumbWithOverflow/index.d.ts +1 -0
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +22 -0
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +67 -72
- package/lib/components/ButtonSetWithOverflow/index.d.ts +1 -0
- package/lib/components/Card/Card.d.ts +2 -0
- package/lib/components/Card/Card.js +92 -94
- package/lib/components/Card/CardFooter.d.ts +46 -0
- package/lib/components/Card/CardFooter.js +49 -45
- package/lib/components/Card/CardHeader.d.ts +51 -0
- package/lib/components/Card/CardHeader.js +67 -62
- package/lib/components/Card/index.d.ts +3 -0
- package/lib/components/Carousel/Carousel.d.ts +18 -0
- package/lib/components/Carousel/Carousel.js +65 -61
- package/lib/components/Carousel/CarouselItem.d.ts +5 -0
- package/lib/components/Carousel/CarouselItem.js +33 -27
- package/lib/components/Carousel/index.d.ts +2 -0
- package/lib/components/Cascade/Cascade.d.ts +11 -0
- package/lib/components/Cascade/Cascade.js +46 -48
- package/lib/components/Cascade/index.d.ts +1 -0
- package/lib/components/Checklist/Checklist.d.ts +8 -0
- package/lib/components/Checklist/Checklist.js +89 -100
- package/lib/components/Checklist/ChecklistChart.d.ts +5 -0
- package/lib/components/Checklist/ChecklistChart.js +37 -37
- package/lib/components/Checklist/ChecklistIcon.d.ts +5 -0
- package/lib/components/Checklist/ChecklistIcon.js +36 -41
- package/lib/components/Checklist/index.d.ts +1 -0
- package/lib/components/Coachmark/Coachmark.d.ts +7 -0
- package/lib/components/Coachmark/Coachmark.js +262 -0
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkDragbar.js +151 -0
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkHeader.js +96 -0
- package/lib/components/Coachmark/CoachmarkOverlay.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkOverlay.js +238 -0
- package/lib/components/Coachmark/CoachmarkTagline.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkTagline.js +104 -0
- package/lib/components/Coachmark/index.d.ts +3 -0
- package/lib/components/Coachmark/utils/constants.d.ts +1 -0
- package/lib/components/Coachmark/utils/constants.js +89 -0
- package/lib/components/Coachmark/utils/context.d.ts +2 -0
- package/lib/components/Coachmark/utils/context.js +20 -0
- package/lib/components/Coachmark/utils/enums.d.ts +23 -0
- package/lib/components/Coachmark/utils/enums.js +47 -0
- package/lib/components/Coachmark/utils/hooks.d.ts +9 -0
- package/lib/components/Coachmark/utils/hooks.js +67 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +5 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +99 -0
- package/lib/components/CoachmarkBeacon/index.d.ts +1 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +5 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.js +96 -0
- package/lib/components/CoachmarkButton/index.d.ts +1 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +8 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +229 -0
- package/lib/components/CoachmarkFixed/index.d.ts +1 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +7 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +91 -0
- package/lib/components/CoachmarkOverlayElement/index.d.ts +1 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +6 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +216 -0
- package/lib/components/CoachmarkOverlayElements/index.d.ts +1 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +8 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.js +287 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +6 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +199 -0
- package/lib/components/CoachmarkStack/index.d.ts +1 -0
- package/lib/components/ComboButton/ComboButton.d.ts +21 -0
- package/lib/components/ComboButton/ComboButton.js +47 -51
- package/lib/components/ComboButton/ComboButtonItem/index.d.ts +16 -0
- package/lib/components/ComboButton/ComboButtonItem/index.js +23 -20
- package/lib/components/ComboButton/index.d.ts +2 -0
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +16 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +120 -118
- package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +2 -0
- package/lib/components/CreateFullPage/CreateFullPageStep.js +58 -60
- package/lib/components/CreateFullPage/index.d.ts +2 -0
- package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +23 -0
- package/lib/components/CreateInfluencer/CreateInfluencer.js +36 -33
- package/lib/components/CreateInfluencer/index.d.ts +1 -0
- package/lib/components/CreateModal/CreateModal.d.ts +8 -0
- package/lib/components/CreateModal/CreateModal.js +48 -48
- package/lib/components/CreateModal/index.d.ts +1 -0
- package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +5 -0
- package/lib/components/CreateSidePanel/CreateSidePanel.js +53 -56
- package/lib/components/CreateSidePanel/index.d.ts +1 -0
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +4 -0
- package/lib/components/CreateTearsheet/CreateTearsheet.js +100 -95
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.d.ts +2 -0
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +26 -27
- package/lib/components/CreateTearsheet/CreateTearsheetStep.d.ts +2 -0
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +63 -65
- package/lib/components/CreateTearsheet/index.d.ts +3 -0
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +6 -0
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +52 -51
- package/lib/components/CreateTearsheetNarrow/index.d.ts +1 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +5 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +159 -162
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +2 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +132 -133
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +2 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +87 -88
- package/lib/components/DataSpreadsheet/hooks/index.d.ts +7 -0
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.d.ts +6 -0
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +12 -11
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.d.ts +9 -0
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +30 -31
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.d.ts +6 -0
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +14 -13
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.d.ts +12 -0
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +25 -26
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.d.ts +6 -0
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +18 -17
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.d.ts +17 -0
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +31 -32
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.d.ts +9 -0
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +16 -15
- package/lib/components/DataSpreadsheet/index.d.ts +1 -0
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.d.ts +1 -0
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +14 -14
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.d.ts +1 -0
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +12 -11
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.d.ts +12 -0
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +17 -17
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.d.ts +10 -0
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +19 -19
- package/lib/components/DataSpreadsheet/utils/getCellSize.d.ts +1 -0
- package/lib/components/DataSpreadsheet/utils/getCellSize.js +17 -16
- package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.d.ts +6 -0
- package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +9 -9
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.d.ts +9 -0
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +12 -11
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.d.ts +7 -0
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +21 -21
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.d.ts +7 -0
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +14 -13
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.d.ts +8 -0
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +15 -14
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.d.ts +13 -0
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +22 -24
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.d.ts +16 -0
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +27 -27
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.d.ts +18 -0
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +31 -29
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.d.ts +7 -0
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +15 -14
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.d.ts +5 -0
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +14 -14
- package/lib/components/DataSpreadsheet/utils/selectAllCells.d.ts +9 -0
- package/lib/components/DataSpreadsheet/utils/selectAllCells.js +21 -21
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +5 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.js +37 -35
- package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridBody.js +26 -23
- package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +35 -0
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +89 -89
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +25 -18
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +20 -16
- package/lib/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +16 -12
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +62 -62
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +27 -25
- package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +45 -42
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +41 -37
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +28 -0
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +47 -48
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +27 -25
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +43 -43
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +37 -37
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +22 -0
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +46 -44
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +18 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +43 -26
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +21 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +46 -29
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +27 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +53 -49
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +36 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +60 -60
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +18 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +60 -59
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +10 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +39 -21
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +20 -11
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/index.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +42 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +86 -79
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +50 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +92 -92
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +19 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +47 -46
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +24 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +40 -31
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.d.ts +24 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +33 -20
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.d.ts +9 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +40 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/index.d.ts +4 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +17 -9
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +28 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +111 -138
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.d.ts +9 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +20 -17
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +13 -12
- package/lib/components/Datagrid/Datagrid/addons/Filtering/index.d.ts +3 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.d.ts +60 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +30 -27
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +23 -25
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +26 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +38 -34
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/index.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +29 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +86 -88
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/index.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +11 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +37 -36
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +9 -9
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/index.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +20 -20
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +9 -9
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +8 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +33 -33
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +19 -18
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +18 -0
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +42 -42
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.d.ts +3 -0
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +31 -31
- package/lib/components/Datagrid/Datagrid/addons/RowSize/index.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/Slug/ColumnHeaderSlug.d.ts +2 -0
- package/lib/components/Datagrid/Datagrid/addons/Slug/ColumnHeaderSlug.js +19 -18
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +17 -0
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +47 -48
- package/lib/components/Datagrid/Datagrid/index.d.ts +1 -0
- package/lib/components/Datagrid/common-column-ids.d.ts +1 -0
- package/lib/components/Datagrid/common-column-ids.js +12 -13
- package/lib/components/Datagrid/index.d.ts +22 -0
- package/lib/components/Datagrid/useActionsColumn.d.ts +2 -0
- package/lib/components/Datagrid/useActionsColumn.js +50 -46
- package/lib/components/Datagrid/useColumnCenterAlign.d.ts +2 -0
- package/lib/components/Datagrid/useColumnCenterAlign.js +28 -25
- package/lib/components/Datagrid/useColumnOrder.d.ts +1 -0
- package/lib/components/Datagrid/useColumnOrder.js +14 -9
- package/lib/components/Datagrid/useColumnRightAlign.d.ts +2 -0
- package/lib/components/Datagrid/useColumnRightAlign.js +28 -25
- package/lib/components/Datagrid/useCustomizeColumns.d.ts +2 -0
- package/lib/components/Datagrid/useCustomizeColumns.js +46 -30
- package/lib/components/Datagrid/useDatagrid.d.ts +2 -0
- package/lib/components/Datagrid/useDatagrid.js +38 -36
- package/lib/components/Datagrid/useDefaultStringRenderer.d.ts +2 -0
- package/lib/components/Datagrid/useDefaultStringRenderer.js +29 -27
- package/lib/components/Datagrid/useDisableSelectRows.d.ts +2 -0
- package/lib/components/Datagrid/useDisableSelectRows.js +12 -13
- package/lib/components/Datagrid/useEditableCell.d.ts +2 -0
- package/lib/components/Datagrid/useExpandedRow.d.ts +2 -0
- package/lib/components/Datagrid/useExpandedRow.js +29 -26
- package/lib/components/Datagrid/useFiltering.d.ts +2 -0
- package/lib/components/Datagrid/useFiltering.js +27 -33
- package/lib/components/Datagrid/useFlexResize.d.ts +8 -0
- package/lib/components/Datagrid/useFlexResize.js +17 -10
- package/lib/components/Datagrid/useFloatingScroll.d.ts +2 -0
- package/lib/components/Datagrid/useFloatingScroll.js +19 -20
- package/lib/components/Datagrid/useFocusRowExpander.d.ts +6 -0
- package/lib/components/Datagrid/useFocusRowExpander.js +12 -11
- package/lib/components/Datagrid/useInfiniteScroll.d.ts +2 -0
- package/lib/components/Datagrid/useInfiniteScroll.js +26 -18
- package/lib/components/Datagrid/useInlineEdit.d.ts +2 -0
- package/lib/components/Datagrid/useInlineEdit.js +27 -26
- package/lib/components/Datagrid/useNestedRowExpander.d.ts +2 -0
- package/lib/components/Datagrid/useNestedRowExpander.js +35 -36
- package/lib/components/Datagrid/useNestedRows.d.ts +2 -0
- package/lib/components/Datagrid/useNestedRows.js +17 -17
- package/lib/components/Datagrid/useOnRowClick.d.ts +2 -0
- package/lib/components/Datagrid/useOnRowClick.js +13 -12
- package/lib/components/Datagrid/useParentDimensions.d.ts +2 -0
- package/lib/components/Datagrid/useParentDimensions.js +18 -18
- package/lib/components/Datagrid/useResizeTable.d.ts +2 -0
- package/lib/components/Datagrid/useResizeTable.js +11 -10
- package/lib/components/Datagrid/useRowExpander.d.ts +2 -0
- package/lib/components/Datagrid/useRowExpander.js +36 -35
- package/lib/components/Datagrid/useRowIsMouseOver.d.ts +2 -0
- package/lib/components/Datagrid/useRowIsMouseOver.js +25 -23
- package/lib/components/Datagrid/useRowRenderer.d.ts +2 -0
- package/lib/components/Datagrid/useRowRenderer.js +15 -16
- package/lib/components/Datagrid/useRowSize.d.ts +2 -0
- package/lib/components/Datagrid/useRowSize.js +21 -23
- package/lib/components/Datagrid/useSelectAllToggle.d.ts +2 -0
- package/lib/components/Datagrid/useSelectAllToggle.js +31 -33
- package/lib/components/Datagrid/useSelectRows.d.ts +2 -0
- package/lib/components/Datagrid/useSelectRows.js +43 -46
- package/lib/components/Datagrid/useSkeletonRows.d.ts +8 -0
- package/lib/components/Datagrid/useSkeletonRows.js +16 -9
- package/lib/components/Datagrid/useSortableColumns.d.ts +2 -0
- package/lib/components/Datagrid/useSortableColumns.js +39 -36
- package/lib/components/Datagrid/useStickyColumn.d.ts +2 -0
- package/lib/components/Datagrid/useStickyColumn.js +39 -37
- package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.d.ts +1 -0
- package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +17 -10
- package/lib/components/DelimitedList/DelimitedList.d.ts +6 -0
- package/lib/components/DelimitedList/DelimitedList.js +32 -32
- package/lib/components/DelimitedList/index.d.ts +1 -0
- package/lib/components/EditFullPage/EditFullPage.d.ts +6 -0
- package/lib/components/EditFullPage/EditFullPage.js +34 -31
- package/lib/components/EditFullPage/index.d.ts +1 -0
- package/lib/components/EditInPlace/EditInPlace.d.ts +6 -0
- package/lib/components/EditInPlace/EditInPlace.js +75 -80
- package/lib/components/EditInPlace/index.d.ts +1 -0
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +5 -0
- package/lib/components/EditSidePanel/EditSidePanel.js +56 -59
- package/lib/components/EditSidePanel/index.d.ts +1 -0
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +7 -0
- package/lib/components/EditTearsheet/EditTearsheet.js +61 -60
- package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +2 -0
- package/lib/components/EditTearsheet/EditTearsheetForm.js +46 -48
- package/lib/components/EditTearsheet/index.d.ts +2 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +5 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +34 -31
- package/lib/components/EditTearsheetNarrow/index.d.ts +1 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +7 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.js +61 -60
- package/lib/components/EditUpdateCards/index.d.ts +1 -0
- package/lib/components/EmptyStates/EmptyState.d.ts +9 -0
- package/lib/components/EmptyStates/EmptyState.js +76 -62
- package/lib/components/EmptyStates/EmptyStateContent.d.ts +306 -0
- package/lib/components/EmptyStates/EmptyStateContent.js +45 -44
- package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +11 -0
- package/lib/components/EmptyStates/EmptyStateIllustration.js +70 -0
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +6 -0
- package/lib/components/EmptyStates/EmptyStateV2.js +132 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +5 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +56 -53
- package/lib/components/EmptyStates/ErrorEmptyState/index.d.ts +1 -0
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +5 -0
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +57 -54
- package/lib/components/EmptyStates/NoDataEmptyState/index.d.ts +1 -0
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +5 -0
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +56 -53
- package/lib/components/EmptyStates/NoTagsEmptyState/index.d.ts +1 -0
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +5 -0
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +56 -53
- package/lib/components/EmptyStates/NotFoundEmptyState/index.d.ts +1 -0
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +5 -0
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +56 -53
- package/lib/components/EmptyStates/NotificationsEmptyState/index.d.ts +1 -0
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +5 -0
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +56 -53
- package/lib/components/EmptyStates/UnauthorizedEmptyState/index.d.ts +1 -0
- package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +81 -75
- package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +71 -65
- package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +142 -136
- package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +112 -106
- package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +109 -103
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +102 -96
- package/lib/components/EmptyStates/index.d.ts +8 -0
- package/lib/components/ExportModal/ExportModal.d.ts +5 -0
- package/lib/components/ExportModal/ExportModal.js +87 -90
- package/lib/components/ExportModal/index.d.ts +1 -0
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +2 -0
- package/lib/components/ExpressiveCard/ExpressiveCard.js +55 -56
- package/lib/components/ExpressiveCard/index.d.ts +1 -0
- package/lib/components/FilterSummary/FilterSummary.d.ts +3 -0
- package/lib/components/FilterSummary/FilterSummary.js +68 -69
- package/lib/components/FilterSummary/index.d.ts +1 -0
- package/lib/components/FullPageError/FullPageError.d.ts +5 -0
- package/lib/components/FullPageError/FullPageError.js +135 -0
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +9 -0
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +722 -0
- package/lib/components/FullPageError/index.d.ts +1 -0
- package/lib/components/Guidebanner/Guidebanner.d.ts +6 -0
- package/lib/components/Guidebanner/Guidebanner.js +72 -73
- package/lib/components/Guidebanner/GuidebannerElement.d.ts +19 -0
- package/lib/components/Guidebanner/GuidebannerElement.js +35 -33
- package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +17 -0
- package/lib/components/Guidebanner/GuidebannerElementButton.js +40 -37
- package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +15 -0
- package/lib/components/Guidebanner/GuidebannerElementLink.js +32 -30
- package/lib/components/Guidebanner/index.d.ts +4 -0
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +7 -0
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +39 -38
- package/lib/components/HTTPErrors/HTTPError403/index.d.ts +1 -0
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +7 -0
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +39 -38
- package/lib/components/HTTPErrors/HTTPError404/index.d.ts +1 -0
- package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +309 -0
- package/lib/components/HTTPErrors/HTTPErrorContent.js +36 -35
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +7 -0
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +39 -38
- package/lib/components/HTTPErrors/HTTPErrorOther/index.d.ts +1 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +9 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +375 -374
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +9 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +326 -325
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +9 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +338 -337
- package/lib/components/HTTPErrors/index.d.ts +3 -0
- package/lib/components/ImportModal/ImportModal.d.ts +2 -0
- package/lib/components/ImportModal/ImportModal.js +91 -98
- package/lib/components/ImportModal/index.d.ts +1 -0
- package/lib/components/InlineTip/InlineTip.d.ts +7 -0
- package/lib/components/InlineTip/InlineTip.js +74 -76
- package/lib/components/InlineTip/InlineTipButton.d.ts +5 -0
- package/lib/components/InlineTip/InlineTipButton.js +32 -31
- package/lib/components/InlineTip/InlineTipLink.d.ts +5 -0
- package/lib/components/InlineTip/InlineTipLink.js +36 -34
- package/lib/components/InlineTip/index.d.ts +3 -0
- package/lib/components/InlineTip/utils.d.ts +1 -0
- package/lib/components/InlineTip/utils.js +18 -11
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +8 -0
- package/lib/components/InterstitialScreen/InterstitialScreen.js +427 -0
- package/lib/components/InterstitialScreen/index.d.ts +1 -0
- package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +5 -0
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +80 -0
- package/lib/components/InterstitialScreenView/index.d.ts +1 -0
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +5 -0
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +87 -0
- package/lib/components/InterstitialScreenViewModule/index.d.ts +1 -0
- package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +5 -0
- package/lib/components/MultiAddSelect/MultiAddSelect.js +70 -71
- package/lib/components/MultiAddSelect/index.d.ts +1 -0
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +7 -0
- package/lib/components/NonLinearReading/NonLinearReading.js +42 -42
- package/lib/components/NonLinearReading/index.d.ts +1 -0
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +2 -0
- package/lib/components/NotificationsPanel/NotificationsPanel.js +131 -134
- package/lib/components/NotificationsPanel/index.d.ts +1 -0
- package/lib/components/NotificationsPanel/utils.d.ts +15 -0
- package/lib/components/NotificationsPanel/utils.js +9 -9
- package/lib/components/OptionsTile/OptionsTile.d.ts +5 -0
- package/lib/components/OptionsTile/OptionsTile.js +101 -86
- package/lib/components/OptionsTile/index.d.ts +1 -0
- package/lib/components/PageHeader/PageHeader.d.ts +6 -0
- package/lib/components/PageHeader/PageHeader.js +227 -227
- package/lib/components/PageHeader/PageHeaderTitle.d.ts +31 -0
- package/lib/components/PageHeader/PageHeaderTitle.js +52 -41
- package/lib/components/PageHeader/PageHeaderUtils.d.ts +7 -0
- package/lib/components/PageHeader/PageHeaderUtils.js +39 -31
- package/lib/components/PageHeader/index.d.ts +1 -0
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +2 -0
- package/lib/components/ProductiveCard/ProductiveCard.js +64 -67
- package/lib/components/ProductiveCard/index.d.ts +1 -0
- package/lib/components/RemoveModal/RemoveModal.d.ts +7 -0
- package/lib/components/RemoveModal/RemoveModal.js +64 -68
- package/lib/components/RemoveModal/index.d.ts +1 -0
- package/lib/components/Saving/Saving.d.ts +69 -0
- package/lib/components/Saving/Saving.js +55 -56
- package/lib/components/Saving/index.d.ts +1 -0
- package/lib/components/SearchBar/SearchBar.d.ts +5 -0
- package/lib/components/SearchBar/SearchBar.js +228 -0
- package/lib/components/SearchBar/index.d.ts +1 -0
- package/lib/components/SidePanel/SidePanel.d.ts +5 -0
- package/lib/components/SidePanel/SidePanel.js +152 -161
- package/lib/components/SidePanel/constants.d.ts +7 -0
- package/lib/components/SidePanel/constants.js +9 -9
- package/lib/components/SidePanel/index.d.ts +1 -0
- package/lib/components/SidePanel/motion/variants.d.ts +42 -0
- package/lib/components/SidePanel/motion/variants.js +19 -17
- package/lib/components/SimpleHeader/SimpleHeader.d.ts +48 -0
- package/lib/components/SimpleHeader/SimpleHeader.js +47 -45
- package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +5 -0
- package/lib/components/SingleAddSelect/SingleAddSelect.js +48 -49
- package/lib/components/SingleAddSelect/index.d.ts +1 -0
- package/lib/components/StatusIcon/StatusIcon.d.ts +11 -0
- package/lib/components/StatusIcon/StatusIcon.js +124 -126
- package/lib/components/StatusIcon/index.d.ts +1 -0
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +5 -0
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +45 -46
- package/lib/components/SteppedAnimatedMedia/index.d.ts +1 -0
- package/lib/components/TagSet/TagSet.d.ts +8 -0
- package/lib/components/TagSet/TagSet.js +89 -92
- package/lib/components/TagSet/TagSetModal.d.ts +29 -0
- package/lib/components/TagSet/TagSetModal.js +53 -55
- package/lib/components/TagSet/TagSetOverflow.d.ts +2 -0
- package/lib/components/TagSet/TagSetOverflow.js +55 -54
- package/lib/components/TagSet/index.d.ts +1 -0
- package/lib/components/Tearsheet/Tearsheet.d.ts +18 -0
- package/lib/components/Tearsheet/Tearsheet.js +54 -55
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +14 -0
- package/lib/components/Tearsheet/TearsheetNarrow.js +49 -50
- package/lib/components/Tearsheet/TearsheetShell.d.ts +17 -0
- package/lib/components/Tearsheet/TearsheetShell.js +106 -106
- package/lib/components/Tearsheet/index.d.ts +2 -0
- package/lib/components/Toolbar/Toolbar.d.ts +6 -0
- package/lib/components/Toolbar/Toolbar.js +55 -54
- package/lib/components/Toolbar/ToolbarButton.d.ts +4 -0
- package/lib/components/Toolbar/ToolbarButton.js +36 -36
- package/lib/components/Toolbar/ToolbarGroup.d.ts +3 -0
- package/lib/components/Toolbar/ToolbarGroup.js +28 -28
- package/lib/components/Toolbar/index.d.ts +3 -0
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +15 -0
- package/lib/components/TooltipTrigger/TooltipTrigger.js +29 -28
- package/lib/components/TooltipTrigger/index.d.ts +1 -0
- package/lib/components/TruncatedList/TruncatedList.d.ts +7 -0
- package/lib/components/TruncatedList/TruncatedList.js +177 -0
- package/lib/components/TruncatedList/index.d.ts +1 -0
- package/lib/components/UserAvatar/UserAvatar.d.ts +2 -0
- package/lib/components/UserAvatar/UserAvatar.js +153 -0
- package/lib/components/UserAvatar/index.d.ts +1 -0
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +5 -0
- package/lib/components/UserProfileImage/UserProfileImage.js +57 -56
- package/lib/components/UserProfileImage/index.d.ts +1 -0
- package/lib/components/WebTerminal/WebTerminal.d.ts +5 -0
- package/lib/components/WebTerminal/WebTerminal.js +60 -68
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -0
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +30 -30
- package/lib/components/WebTerminal/hooks/index.d.ts +12 -0
- package/lib/components/WebTerminal/hooks/index.js +37 -35
- package/lib/components/WebTerminal/index.d.ts +3 -0
- package/lib/components/_Canary/Canary.d.ts +12 -0
- package/lib/components/_Canary/Canary.js +33 -31
- package/lib/components/_Canary/index.d.ts +1 -0
- package/lib/components/index.d.ts +56 -0
- package/lib/global/js/hooks/index.d.ts +12 -0
- package/lib/global/js/hooks/useActiveElement.d.ts +1 -0
- package/lib/global/js/hooks/useActiveElement.js +15 -15
- package/lib/global/js/hooks/useClickOutside.d.ts +1 -0
- package/lib/global/js/hooks/useClickOutside.js +12 -11
- package/lib/global/js/hooks/useControllableState.d.ts +27 -0
- package/lib/global/js/hooks/useControllableState.js +18 -18
- package/lib/global/js/hooks/useCreateComponentFocus.d.ts +7 -0
- package/lib/global/js/hooks/useCreateComponentFocus.js +18 -19
- package/lib/global/js/hooks/useCreateComponentStepChange.d.ts +24 -0
- package/lib/global/js/hooks/useCreateComponentStepChange.js +23 -24
- package/lib/global/js/hooks/usePortalTarget.d.ts +1 -0
- package/lib/global/js/hooks/usePortalTarget.js +20 -20
- package/lib/global/js/hooks/usePrefix.d.ts +1 -0
- package/lib/global/js/hooks/usePrefix.js +12 -12
- package/lib/global/js/hooks/usePreviousValue.d.ts +1 -0
- package/lib/global/js/hooks/usePreviousValue.js +13 -12
- package/lib/global/js/hooks/useResetCreateComponent.d.ts +10 -0
- package/lib/global/js/hooks/useResetCreateComponent.js +14 -13
- package/lib/global/js/hooks/useResizeObserver.d.ts +4 -0
- package/lib/global/js/hooks/useResizeObserver.js +23 -24
- package/lib/global/js/hooks/useRetrieveFormTitles.d.ts +5 -0
- package/lib/global/js/hooks/useRetrieveFormTitles.js +19 -12
- package/lib/global/js/hooks/useRetrieveStepData.d.ts +9 -0
- package/lib/global/js/hooks/useRetrieveStepData.js +14 -14
- package/lib/global/js/hooks/useValidCreateStepCount.d.ts +1 -0
- package/lib/global/js/hooks/useValidCreateStepCount.js +12 -11
- package/lib/global/js/hooks/useWindowResize.d.ts +1 -0
- package/lib/global/js/hooks/useWindowResize.js +22 -23
- package/lib/global/js/hooks/useWindowScroll.d.ts +3 -0
- package/lib/global/js/hooks/useWindowScroll.js +16 -27
- package/lib/global/js/package-settings.d.ts +123 -0
- package/lib/global/js/package-settings.js +47 -18
- package/lib/global/js/utils/Wrap.d.ts +12 -0
- package/lib/global/js/utils/Wrap.js +27 -24
- package/lib/global/js/utils/deepCloneObject.d.ts +1 -0
- package/lib/global/js/utils/deepCloneObject.js +17 -10
- package/lib/global/js/utils/devtools.d.ts +6 -0
- package/lib/global/js/utils/devtools.js +14 -18
- package/lib/global/js/utils/getBezierValues.d.ts +1 -0
- package/lib/global/js/utils/getBezierValues.js +17 -9
- package/lib/global/js/utils/getFocusableElements.d.ts +1 -0
- package/lib/global/js/utils/getFocusableElements.js +17 -10
- package/lib/global/js/utils/getNodeTextContent.d.ts +1 -0
- package/lib/global/js/utils/getNodeTextContent.js +17 -10
- package/lib/global/js/utils/getNumberOfHiddenSteps.d.ts +1 -0
- package/lib/global/js/utils/getNumberOfHiddenSteps.js +9 -9
- package/lib/global/js/utils/getScrollbarWidth.d.ts +1 -0
- package/lib/global/js/utils/getScrollbarWidth.js +9 -9
- package/lib/global/js/utils/keyboardNavigation.d.ts +27 -0
- package/lib/global/js/utils/keyboardNavigation.js +11 -14
- package/lib/global/js/utils/lastIndexInArray.d.ts +1 -0
- package/lib/global/js/utils/lastIndexInArray.js +9 -9
- package/lib/global/js/utils/motionConstants.d.ts +23 -0
- package/lib/global/js/utils/motionConstants.js +26 -25
- package/lib/global/js/utils/pconsole.d.ts +15 -0
- package/lib/global/js/utils/pconsole.js +26 -14
- package/lib/global/js/utils/props-helper.d.ts +37 -0
- package/lib/global/js/utils/props-helper.js +37 -98
- package/lib/global/js/utils/rangeWithCallback.d.ts +1 -0
- package/lib/global/js/utils/rangeWithCallback.js +9 -9
- package/lib/global/js/utils/scrollableAncestor.d.ts +1 -0
- package/lib/global/js/utils/scrollableAncestor.js +17 -10
- package/lib/global/js/utils/unwrap-if-fragment.d.ts +6 -0
- package/lib/global/js/utils/uuidv4.d.ts +2 -0
- package/lib/global/js/utils/uuidv4.js +11 -7
- package/lib/global/js/utils/wait.d.ts +2 -0
- package/lib/global/js/utils/wait.js +11 -7
- package/lib/global/js/utils/wrapFocus.d.ts +25 -0
- package/lib/global/js/utils/wrapFocus.js +16 -16
- package/lib/index.d.ts +9 -0
- package/lib/index.js +455 -34
- package/lib/node_modules/@carbon/colors/es/index.js +16 -0
- package/lib/node_modules/@carbon/icon-helpers/es/index.js +145 -0
- package/lib/node_modules/@carbon/icons-react/es/Icon.js +81 -0
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-0.js +3117 -0
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +3032 -0
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-8.js +3136 -0
- package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +18 -0
- package/lib/node_modules/classnames/index.js +74 -0
- package/lib/node_modules/object-assign/index.js +93 -0
- package/lib/node_modules/prop-types/checkPropTypes.js +100 -0
- package/lib/node_modules/prop-types/factoryWithThrowingShims.js +68 -0
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +570 -0
- package/lib/node_modules/prop-types/index.js +38 -0
- package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
- package/lib/node_modules/prop-types/lib/has.js +21 -0
- package/lib/settings.d.ts +106 -0
- package/lib/settings.js +36 -24
- package/package.json +38 -24
- package/scss/components/Card/_card.scss +6 -5
- package/scss/components/Coachmark/_carbon-imports.scss +10 -0
- package/scss/components/Coachmark/_coachmark-dragbar.scss +27 -0
- package/scss/components/Coachmark/_coachmark-header.scss +20 -0
- package/scss/components/Coachmark/_coachmark-overlay.scss +431 -0
- package/scss/components/Coachmark/_coachmark-tagline.scss +140 -0
- package/scss/components/Coachmark/_coachmark.scss +30 -0
- package/scss/components/Coachmark/_index-with-carbon.scss +9 -0
- package/scss/components/Coachmark/_index.scss +8 -0
- package/scss/components/CoachmarkBeacon/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +166 -0
- package/scss/components/CoachmarkBeacon/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkBeacon/_index.scss +8 -0
- package/scss/components/CoachmarkButton/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkButton/_coachmark-button.scss +25 -0
- package/scss/components/CoachmarkButton/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkButton/_index.scss +8 -0
- package/scss/components/CoachmarkFixed/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +25 -0
- package/scss/components/CoachmarkFixed/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkFixed/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElement/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +52 -0
- package/scss/components/CoachmarkOverlayElement/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElements/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +47 -0
- package/scss/components/CoachmarkOverlayElements/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
- package/scss/components/CoachmarkStack/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +95 -0
- package/scss/components/CoachmarkStack/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkStack/_index.scss +8 -0
- package/scss/components/CreateSidePanel/_create-side-panel.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +6 -7
- package/scss/components/FullPageError/_carbon-imports.scss +9 -0
- package/scss/components/FullPageError/_full-page-error.scss +66 -0
- package/scss/components/FullPageError/_index-with-carbon.scss +9 -0
- package/scss/components/FullPageError/_index.scss +8 -0
- package/scss/components/InterstitialScreen/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreen/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreen/_index.scss +8 -0
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +276 -0
- package/scss/components/InterstitialScreenView/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreenView/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreenView/_index.scss +8 -0
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +25 -0
- package/scss/components/InterstitialScreenViewModule/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreenViewModule/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreenViewModule/_index.scss +8 -0
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +59 -0
- package/scss/components/PageHeader/_page-header.scss +0 -1
- package/scss/components/SearchBar/_carbon-imports.scss +9 -0
- package/scss/components/SearchBar/_index-with-carbon.scss +9 -0
- package/scss/components/SearchBar/_index.scss +8 -0
- package/scss/components/SearchBar/_search-bar.scss +26 -0
- package/scss/components/SidePanel/_side-panel.scss +43 -46
- package/scss/components/TruncatedList/_carbon-imports.scss +9 -0
- package/scss/components/TruncatedList/_index-with-carbon.scss +9 -0
- package/scss/components/TruncatedList/_index.scss +8 -0
- package/scss/components/TruncatedList/_truncated-list.scss +45 -0
- package/scss/components/UserAvatar/_carbon-imports.scss +9 -0
- package/scss/components/UserAvatar/_index-with-carbon.scss +9 -0
- package/scss/components/UserAvatar/_index.scss +8 -0
- package/scss/components/UserAvatar/_user-avatar.scss +54 -0
- package/scss/components/_index-with-carbon.scss +14 -0
- package/scss/components/_index.scss +14 -0
- package/es/components/APIKeyModal/APIKeyModal.docs-page.js +0 -26
- package/es/components/APIKeyModal/index.js +0 -8
- package/es/components/AboutModal/AboutModal.docs-page.js +0 -21
- package/es/components/AboutModal/index.js +0 -8
- package/es/components/ActionBar/index.js +0 -9
- package/es/components/ActionSet/actions.js +0 -55
- package/es/components/ActionSet/index.js +0 -8
- package/es/components/AddSelect/index.js +0 -8
- package/es/components/BreadcrumbWithOverflow/index.js +0 -10
- package/es/components/ButtonMenu/ButtonMenu.js +0 -133
- package/es/components/ButtonMenu/ButtonMenuItem.js +0 -33
- package/es/components/ButtonMenu/index.js +0 -9
- package/es/components/ButtonSetWithOverflow/index.js +0 -8
- package/es/components/Card/index.js +0 -10
- package/es/components/Carousel/Carousel.docs-page.js +0 -11
- package/es/components/Carousel/index.js +0 -9
- package/es/components/Carousel/utils.js +0 -98
- package/es/components/Cascade/Cascade.docs-page.js +0 -22
- package/es/components/Cascade/index.js +0 -1
- package/es/components/Checklist/Checklist.docs-page.js +0 -13
- package/es/components/Checklist/index.js +0 -8
- package/es/components/ComboButton/index.js +0 -9
- package/es/components/CreateFullPage/CreateFullPage.docs-page.js +0 -51
- package/es/components/CreateFullPage/index.js +0 -9
- package/es/components/CreateInfluencer/index.js +0 -8
- package/es/components/CreateModal/CreateModal.docs-page.js +0 -24
- package/es/components/CreateModal/index.js +0 -10
- package/es/components/CreateSidePanel/CreateSidePanel.docs-page.js +0 -18
- package/es/components/CreateSidePanel/index.js +0 -8
- package/es/components/CreateTearsheet/CreateTearsheet.docs-page.js +0 -36
- package/es/components/CreateTearsheet/index.js +0 -10
- package/es/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +0 -292
- package/es/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +0 -280
- package/es/components/CreateTearsheet/preview-components/MultiStepWithStepInErrorState.js +0 -145
- package/es/components/CreateTearsheetNarrow/index.js +0 -8
- package/es/components/DataSpreadsheet/hooks/index.js +0 -14
- package/es/components/DataSpreadsheet/index.js +0 -8
- package/es/components/DataSpreadsheet/utils/generateData.js +0 -52
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/index.js +0 -10
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/index.js +0 -11
- package/es/components/Datagrid/Datagrid/addons/Filtering/index.js +0 -9
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/index.js +0 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/index.js +0 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/index.js +0 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/index.js +0 -9
- package/es/components/Datagrid/Datagrid/index.js +0 -8
- package/es/components/Datagrid/Datagrid.docs-page.js +0 -135
- package/es/components/Datagrid/Datagrid.stories/ColumnAlignment/ColumnAlignment.docs-page.js +0 -13
- package/es/components/Datagrid/Datagrid.stories/CustomizeColumnStory.js +0 -6
- package/es/components/Datagrid/Datagrid.stories/RowSizeDropdownStory.js +0 -6
- package/es/components/Datagrid/Datagrid.stories/SelectAllWithToggleStory.js +0 -6
- package/es/components/Datagrid/Datagrid.stories/StickyActionsColumnStory.js +0 -102
- package/es/components/Datagrid/Datagrid.stories/common.js +0 -190
- package/es/components/Datagrid/Datagrid.stories/index.js +0 -4
- package/es/components/Datagrid/Extensions/ColumnCustomization/ColumnCustomization.docs-page.js +0 -13
- package/es/components/Datagrid/Extensions/EditableCell/EditableCell.docs-page.js +0 -47
- package/es/components/Datagrid/Extensions/ExpandableRow/ExpandableRow.docs-page.js +0 -13
- package/es/components/Datagrid/Extensions/Filtering/Filtering.docs-page.js +0 -63
- package/es/components/Datagrid/Extensions/RowActionButtons/RowActionButtons.docs-page.js +0 -13
- package/es/components/Datagrid/index.js +0 -29
- package/es/components/Datagrid/useEditableCell.js +0 -12
- package/es/components/Datagrid/utils/DatagridActions.js +0 -229
- package/es/components/Datagrid/utils/DatagridPagination.js +0 -32
- package/es/components/Datagrid/utils/Wrapper.js +0 -21
- package/es/components/Datagrid/utils/filterPropsForTesting.js +0 -149
- package/es/components/Datagrid/utils/getArgTypes.js +0 -111
- package/es/components/Datagrid/utils/getInlineEditColumns.js +0 -157
- package/es/components/Datagrid/utils/handleFilterTagLabelText.js +0 -26
- package/es/components/Datagrid/utils/makeData.js +0 -193
- package/es/components/DelimitedList/DelimitedList.docs-page.js +0 -15
- package/es/components/DelimitedList/index.js +0 -8
- package/es/components/EditFullPage/EditFullPage.docs-page.js +0 -39
- package/es/components/EditFullPage/index.js +0 -8
- package/es/components/EditInPlace/index.js +0 -8
- package/es/components/EditSidePanel/index.js +0 -8
- package/es/components/EditTearsheet/EditTearsheet.docs-page.js +0 -25
- package/es/components/EditTearsheet/index.js +0 -9
- package/es/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +0 -230
- package/es/components/EditTearsheetNarrow/index.js +0 -8
- package/es/components/EditUpdateCards/index.js +0 -8
- package/es/components/EmptyStates/ErrorEmptyState/index.js +0 -8
- package/es/components/EmptyStates/NoDataEmptyState/index.js +0 -8
- package/es/components/EmptyStates/NoTagsEmptyState/index.js +0 -8
- package/es/components/EmptyStates/NotFoundEmptyState/index.js +0 -8
- package/es/components/EmptyStates/NotificationsEmptyState/index.js +0 -8
- package/es/components/EmptyStates/UnauthorizedEmptyState/index.js +0 -8
- package/es/components/EmptyStates/index.js +0 -14
- package/es/components/ExampleComponent/ExampleComponent.docs-page.js +0 -22
- package/es/components/ExampleComponent/ExampleComponent.js +0 -180
- package/es/components/ExampleComponent/ExampleDeprecatedComponent.js +0 -28
- package/es/components/ExampleComponent/index.js +0 -8
- package/es/components/ExampleComponent/useExample.js +0 -49
- package/es/components/ExportModal/index.js +0 -8
- package/es/components/ExpressiveCard/index.js +0 -8
- package/es/components/FilterSummary/index.js +0 -7
- package/es/components/Guidebanner/Guidebanner.docs-page.js +0 -15
- package/es/components/Guidebanner/index.js +0 -11
- package/es/components/HTTPErrors/HTTPError403/index.js +0 -8
- package/es/components/HTTPErrors/HTTPError404/index.js +0 -8
- package/es/components/HTTPErrors/HTTPErrorOther/index.js +0 -8
- package/es/components/HTTPErrors/index.js +0 -10
- package/es/components/ImportModal/ImportModal.docs-page.js +0 -18
- package/es/components/ImportModal/index.js +0 -8
- package/es/components/InlineTip/InlineTip.docs-page.js +0 -13
- package/es/components/InlineTip/index.js +0 -10
- package/es/components/MultiAddSelect/MultiAddSelect.docs-page.js +0 -17
- package/es/components/MultiAddSelect/index.js +0 -8
- package/es/components/NonLinearReading/NonLinearReading.docs-page.js +0 -15
- package/es/components/NonLinearReading/index.js +0 -8
- package/es/components/NotificationsPanel/NotificationsPanel_data.js +0 -135
- package/es/components/NotificationsPanel/index.js +0 -8
- package/es/components/NotificationsPanel/preview-components/UnreadNotificationBell.js +0 -33
- package/es/components/OptionsTile/index.js +0 -8
- package/es/components/PageHeader/PageHeaderDemo.data.js +0 -613
- package/es/components/PageHeader/index.js +0 -8
- package/es/components/ProductiveCard/index.js +0 -8
- package/es/components/RemoveModal/RemoveModal.docs-page.js +0 -18
- package/es/components/RemoveModal/index.js +0 -8
- package/es/components/Saving/index.js +0 -8
- package/es/components/SidePanel/index.js +0 -8
- package/es/components/SimpleHeader/SimpleHeader.docs-page.js +0 -17
- package/es/components/SimpleHeader/index.js +0 -8
- package/es/components/SingleAddSelect/SingleAddSelect.docs-page.js +0 -15
- package/es/components/SingleAddSelect/index.js +0 -8
- package/es/components/StatusIcon/StatusIcon.docs-page.js +0 -17
- package/es/components/StatusIcon/index.js +0 -8
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.docs-page.js +0 -11
- package/es/components/SteppedAnimatedMedia/assets/index.js +0 -4
- package/es/components/SteppedAnimatedMedia/index.js +0 -8
- package/es/components/TagSet/constants.js +0 -21
- package/es/components/TagSet/index.js +0 -8
- package/es/components/Tearsheet/index.js +0 -9
- package/es/components/Toolbar/Toolbar.docs-page.js +0 -14
- package/es/components/Toolbar/index.js +0 -10
- package/es/components/TooltipTrigger/index.js +0 -8
- package/es/components/TooltipTrigger/useExample.js +0 -49
- package/es/components/UserProfileImage/UserProfileImage.docs-page.js +0 -17
- package/es/components/UserProfileImage/index.js +0 -10
- package/es/components/WebTerminal/WebTerminal.docs-page.js +0 -52
- package/es/components/WebTerminal/index.js +0 -10
- package/es/components/WebTerminal/preview-components/Navigation.js +0 -37
- package/es/components/WebTerminal/preview-components/documentationLinks.js +0 -32
- package/es/components/WebTerminal/preview-components/index.js +0 -12
- package/es/components/_Canary/index.js +0 -8
- package/es/components/index.js +0 -49
- package/es/global/decorators/sidePanelDecorator.js +0 -18
- package/es/global/js/hooks/index.js +0 -19
- package/es/global/js/utils/ClickListener.js +0 -65
- package/es/global/js/utils/DisplayBox.js +0 -32
- package/es/global/js/utils/StoryDocsPage.js +0 -224
- package/es/global/js/utils/story-helper.js +0 -211
- package/es/global/js/utils/test-helper.js +0 -363
- package/es/global/js/utils/unwrap-if-fragment.js +0 -63
- package/es/global/js/utils/uuidv4.spec.js +0 -27
- package/lib/components/APIKeyModal/APIKeyModal.docs-page.js +0 -36
- package/lib/components/APIKeyModal/index.js +0 -12
- package/lib/components/AboutModal/AboutModal.docs-page.js +0 -31
- package/lib/components/AboutModal/index.js +0 -12
- package/lib/components/ActionBar/index.js +0 -19
- package/lib/components/ActionSet/actions.js +0 -61
- package/lib/components/ActionSet/index.js +0 -12
- package/lib/components/AddSelect/index.js +0 -12
- package/lib/components/BreadcrumbWithOverflow/index.js +0 -12
- package/lib/components/ButtonMenu/ButtonMenu.js +0 -136
- package/lib/components/ButtonMenu/ButtonMenuItem.js +0 -41
- package/lib/components/ButtonMenu/index.js +0 -19
- package/lib/components/ButtonSetWithOverflow/index.js +0 -12
- package/lib/components/Card/index.js +0 -26
- package/lib/components/Carousel/Carousel.docs-page.js +0 -21
- package/lib/components/Carousel/index.js +0 -19
- package/lib/components/Carousel/utils.js +0 -105
- package/lib/components/Cascade/Cascade.docs-page.js +0 -32
- package/lib/components/Cascade/index.js +0 -12
- package/lib/components/Checklist/Checklist.docs-page.js +0 -23
- package/lib/components/Checklist/index.js +0 -12
- package/lib/components/ComboButton/index.js +0 -19
- package/lib/components/CreateFullPage/CreateFullPage.docs-page.js +0 -61
- package/lib/components/CreateFullPage/index.js +0 -19
- package/lib/components/CreateInfluencer/index.js +0 -12
- package/lib/components/CreateModal/CreateModal.docs-page.js +0 -34
- package/lib/components/CreateModal/index.js +0 -12
- package/lib/components/CreateSidePanel/CreateSidePanel.docs-page.js +0 -28
- package/lib/components/CreateSidePanel/index.js +0 -12
- package/lib/components/CreateTearsheet/CreateTearsheet.docs-page.js +0 -46
- package/lib/components/CreateTearsheet/index.js +0 -26
- package/lib/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +0 -301
- package/lib/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +0 -290
- package/lib/components/CreateTearsheet/preview-components/MultiStepWithStepInErrorState.js +0 -155
- package/lib/components/CreateTearsheetNarrow/index.js +0 -12
- package/lib/components/DataSpreadsheet/hooks/index.js +0 -54
- package/lib/components/DataSpreadsheet/index.js +0 -12
- package/lib/components/DataSpreadsheet/utils/generateData.js +0 -59
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/index.js +0 -20
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/index.js +0 -34
- package/lib/components/Datagrid/Datagrid/addons/Filtering/index.js +0 -33
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/index.js +0 -12
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/index.js +0 -12
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/index.js +0 -18
- package/lib/components/Datagrid/Datagrid/addons/RowSize/index.js +0 -13
- package/lib/components/Datagrid/Datagrid/index.js +0 -12
- package/lib/components/Datagrid/Datagrid.docs-page.js +0 -145
- package/lib/components/Datagrid/Datagrid.stories/ColumnAlignment/ColumnAlignment.docs-page.js +0 -20
- package/lib/components/Datagrid/Datagrid.stories/CustomizeColumnStory.js +0 -12
- package/lib/components/Datagrid/Datagrid.stories/RowSizeDropdownStory.js +0 -12
- package/lib/components/Datagrid/Datagrid.stories/SelectAllWithToggleStory.js +0 -12
- package/lib/components/Datagrid/Datagrid.stories/StickyActionsColumnStory.js +0 -103
- package/lib/components/Datagrid/Datagrid.stories/common.js +0 -197
- package/lib/components/Datagrid/Datagrid.stories/index.js +0 -34
- package/lib/components/Datagrid/Extensions/ColumnCustomization/ColumnCustomization.docs-page.js +0 -20
- package/lib/components/Datagrid/Extensions/EditableCell/EditableCell.docs-page.js +0 -54
- package/lib/components/Datagrid/Extensions/ExpandableRow/ExpandableRow.docs-page.js +0 -20
- package/lib/components/Datagrid/Extensions/Filtering/Filtering.docs-page.js +0 -70
- package/lib/components/Datagrid/Extensions/RowActionButtons/RowActionButtons.docs-page.js +0 -20
- package/lib/components/Datagrid/index.js +0 -160
- package/lib/components/Datagrid/useEditableCell.js +0 -19
- package/lib/components/Datagrid/utils/DatagridActions.js +0 -239
- package/lib/components/Datagrid/utils/DatagridPagination.js +0 -39
- package/lib/components/Datagrid/utils/Wrapper.js +0 -28
- package/lib/components/Datagrid/utils/filterPropsForTesting.js +0 -156
- package/lib/components/Datagrid/utils/getArgTypes.js +0 -117
- package/lib/components/Datagrid/utils/getInlineEditColumns.js +0 -164
- package/lib/components/Datagrid/utils/handleFilterTagLabelText.js +0 -32
- package/lib/components/Datagrid/utils/makeData.js +0 -198
- package/lib/components/DelimitedList/DelimitedList.docs-page.js +0 -25
- package/lib/components/DelimitedList/index.js +0 -12
- package/lib/components/EditFullPage/EditFullPage.docs-page.js +0 -49
- package/lib/components/EditFullPage/index.js +0 -12
- package/lib/components/EditInPlace/index.js +0 -12
- package/lib/components/EditSidePanel/index.js +0 -12
- package/lib/components/EditTearsheet/EditTearsheet.docs-page.js +0 -35
- package/lib/components/EditTearsheet/index.js +0 -19
- package/lib/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +0 -240
- package/lib/components/EditTearsheetNarrow/index.js +0 -12
- package/lib/components/EditUpdateCards/index.js +0 -12
- package/lib/components/EmptyStates/ErrorEmptyState/index.js +0 -12
- package/lib/components/EmptyStates/NoDataEmptyState/index.js +0 -12
- package/lib/components/EmptyStates/NoTagsEmptyState/index.js +0 -12
- package/lib/components/EmptyStates/NotFoundEmptyState/index.js +0 -12
- package/lib/components/EmptyStates/NotificationsEmptyState/index.js +0 -12
- package/lib/components/EmptyStates/UnauthorizedEmptyState/index.js +0 -12
- package/lib/components/EmptyStates/index.js +0 -54
- package/lib/components/ExampleComponent/ExampleComponent.docs-page.js +0 -32
- package/lib/components/ExampleComponent/ExampleComponent.js +0 -187
- package/lib/components/ExampleComponent/ExampleDeprecatedComponent.js +0 -35
- package/lib/components/ExampleComponent/index.js +0 -12
- package/lib/components/ExampleComponent/useExample.js +0 -57
- package/lib/components/ExportModal/index.js +0 -12
- package/lib/components/ExpressiveCard/index.js +0 -12
- package/lib/components/FilterSummary/index.js +0 -13
- package/lib/components/Guidebanner/Guidebanner.docs-page.js +0 -25
- package/lib/components/Guidebanner/index.js +0 -33
- package/lib/components/HTTPErrors/HTTPError403/index.js +0 -12
- package/lib/components/HTTPErrors/HTTPError404/index.js +0 -12
- package/lib/components/HTTPErrors/HTTPErrorOther/index.js +0 -12
- package/lib/components/HTTPErrors/index.js +0 -26
- package/lib/components/ImportModal/ImportModal.docs-page.js +0 -25
- package/lib/components/ImportModal/index.js +0 -12
- package/lib/components/InlineTip/InlineTip.docs-page.js +0 -23
- package/lib/components/InlineTip/index.js +0 -26
- package/lib/components/MultiAddSelect/MultiAddSelect.docs-page.js +0 -24
- package/lib/components/MultiAddSelect/index.js +0 -12
- package/lib/components/NonLinearReading/NonLinearReading.docs-page.js +0 -25
- package/lib/components/NonLinearReading/index.js +0 -12
- package/lib/components/NotificationsPanel/NotificationsPanel_data.js +0 -142
- package/lib/components/NotificationsPanel/index.js +0 -12
- package/lib/components/NotificationsPanel/preview-components/UnreadNotificationBell.js +0 -39
- package/lib/components/OptionsTile/index.js +0 -12
- package/lib/components/PageHeader/PageHeaderDemo.data.js +0 -619
- package/lib/components/PageHeader/index.js +0 -12
- package/lib/components/ProductiveCard/index.js +0 -12
- package/lib/components/RemoveModal/RemoveModal.docs-page.js +0 -25
- package/lib/components/RemoveModal/index.js +0 -12
- package/lib/components/Saving/index.js +0 -12
- package/lib/components/SidePanel/index.js +0 -12
- package/lib/components/SimpleHeader/SimpleHeader.docs-page.js +0 -27
- package/lib/components/SimpleHeader/index.js +0 -12
- package/lib/components/SingleAddSelect/SingleAddSelect.docs-page.js +0 -22
- package/lib/components/SingleAddSelect/index.js +0 -12
- package/lib/components/StatusIcon/StatusIcon.docs-page.js +0 -27
- package/lib/components/StatusIcon/index.js +0 -12
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.docs-page.js +0 -21
- package/lib/components/SteppedAnimatedMedia/assets/index.js +0 -9
- package/lib/components/SteppedAnimatedMedia/index.js +0 -12
- package/lib/components/TagSet/constants.js +0 -27
- package/lib/components/TagSet/index.js +0 -12
- package/lib/components/Tearsheet/index.js +0 -19
- package/lib/components/Toolbar/Toolbar.docs-page.js +0 -24
- package/lib/components/Toolbar/index.js +0 -26
- package/lib/components/TooltipTrigger/index.js +0 -12
- package/lib/components/TooltipTrigger/useExample.js +0 -57
- package/lib/components/UserProfileImage/UserProfileImage.docs-page.js +0 -27
- package/lib/components/UserProfileImage/index.js +0 -12
- package/lib/components/WebTerminal/WebTerminal.docs-page.js +0 -62
- package/lib/components/WebTerminal/index.js +0 -32
- package/lib/components/WebTerminal/preview-components/Navigation.js +0 -44
- package/lib/components/WebTerminal/preview-components/documentationLinks.js +0 -38
- package/lib/components/WebTerminal/preview-components/index.js +0 -13
- package/lib/components/_Canary/index.js +0 -12
- package/lib/components/index.js +0 -563
- package/lib/global/decorators/sidePanelDecorator.js +0 -25
- package/lib/global/js/hooks/index.js +0 -95
- package/lib/global/js/utils/ClickListener.js +0 -75
- package/lib/global/js/utils/DisplayBox.js +0 -39
- package/lib/global/js/utils/StoryDocsPage.js +0 -229
- package/lib/global/js/utils/story-helper.js +0 -217
- package/lib/global/js/utils/test-helper.js +0 -370
- package/lib/global/js/utils/unwrap-if-fragment.js +0 -69
- package/lib/global/js/utils/uuidv4.spec.js +0 -30
@@ -1,43 +1,37 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
8
|
+
'use strict';
|
9
|
+
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
11
|
+
|
12
|
+
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var React = require('react');
|
14
|
+
var index$1 = require('../../node_modules/prop-types/index.js');
|
15
|
+
var index = require('../../node_modules/classnames/index.js');
|
16
|
+
var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
|
17
|
+
var react = require('@carbon/react');
|
18
|
+
var settings = require('../../settings.js');
|
19
|
+
var icons = require('@carbon/react/icons');
|
20
|
+
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
21
|
+
require('../../global/js/utils/props-helper.js');
|
22
|
+
var TooltipTrigger = require('../TooltipTrigger/TooltipTrigger.js');
|
2
23
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
exports.BreadcrumbWithOverflow = void 0;
|
9
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
11
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
12
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
13
|
-
var _react = _interopRequireWildcard(require("react"));
|
14
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
15
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
16
|
-
var _useResizeObserver = require("../../global/js/hooks/useResizeObserver");
|
17
|
-
var _react2 = require("@carbon/react");
|
18
|
-
var _settings = require("../../settings");
|
19
|
-
var _icons = require("@carbon/react/icons");
|
20
|
-
var _uuidv = _interopRequireDefault(require("../../global/js/utils/uuidv4"));
|
21
|
-
require("../../global/js/utils/props-helper");
|
22
|
-
var _TooltipTrigger = require("../TooltipTrigger");
|
24
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
25
|
+
|
26
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
27
|
+
|
28
|
+
var _TooltipTrigger;
|
23
29
|
var _excluded = ["breadcrumbs", "className", "maxVisible", "noTrailingSlash", "overflowAriaLabel"],
|
24
30
|
_excluded2 = ["label", "key", "title", "id"],
|
25
|
-
_excluded3 = ["className", "key", "label", "title"];
|
26
|
-
|
27
|
-
//
|
28
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
29
|
-
// LICENSE file in the root directory of this source tree.
|
30
|
-
//
|
31
|
-
// Import portions of React that are needed.
|
32
|
-
// Other standard imports.
|
33
|
-
// Carbon and package components we use.
|
34
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
35
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
36
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
37
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
38
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
31
|
+
_excluded3 = ["className", "key", "label", "title"];
|
32
|
+
|
39
33
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
40
|
-
var blockClass = "".concat(
|
34
|
+
var blockClass = "".concat(settings.pkg.prefix, "--breadcrumb-with-overflow");
|
41
35
|
var componentName = 'BreadcrumbWithOverflow';
|
42
36
|
|
43
37
|
// NOTE: the component SCSS is not imported here: it is rolled up separately.
|
@@ -45,42 +39,42 @@ var componentName = 'BreadcrumbWithOverflow';
|
|
45
39
|
/**
|
46
40
|
* The BreadcrumbWithOverflow is used internally by the PageHeader to wrap BreadcrumbItems.
|
47
41
|
*/
|
48
|
-
|
42
|
+
exports.BreadcrumbWithOverflow = function BreadcrumbWithOverflow(_ref) {
|
49
43
|
var _backItem, _backItem2, _backItem3;
|
50
44
|
var breadcrumbs = _ref.breadcrumbs,
|
51
45
|
className = _ref.className,
|
52
46
|
maxVisible = _ref.maxVisible,
|
53
47
|
noTrailingSlash = _ref.noTrailingSlash,
|
54
48
|
overflowAriaLabel = _ref.overflowAriaLabel,
|
55
|
-
other =
|
56
|
-
var carbonPrefix =
|
57
|
-
var _useState =
|
58
|
-
_useState2 =
|
49
|
+
other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
50
|
+
var carbonPrefix = react.usePrefix();
|
51
|
+
var _useState = React.useState(3),
|
52
|
+
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
59
53
|
displayCount = _useState2[0],
|
60
54
|
setDisplayCount = _useState2[1];
|
61
|
-
var _useState3 =
|
62
|
-
_useState4 =
|
55
|
+
var _useState3 = React.useState([]),
|
56
|
+
_useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
|
63
57
|
displayedBreadcrumbItems = _useState4[0],
|
64
58
|
setDisplayedBreadcrumbItems = _useState4[1];
|
65
|
-
var breadcrumbItemWithOverflow =
|
66
|
-
var sizingContainerRef =
|
67
|
-
var internalId =
|
68
|
-
var _useState5 =
|
69
|
-
_useState6 =
|
59
|
+
var breadcrumbItemWithOverflow = React.useRef(null);
|
60
|
+
var sizingContainerRef = React.useRef(null);
|
61
|
+
var internalId = React.useRef(uuidv4["default"]());
|
62
|
+
var _useState5 = React.useState([]),
|
63
|
+
_useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
|
70
64
|
hiddenSizingItems = _useState6[0],
|
71
65
|
setHiddenSizingItems = _useState6[1];
|
72
66
|
|
73
67
|
// eslint-disable-next-line react/prop-types
|
74
68
|
var BreadcrumbOverflowMenu = function BreadcrumbOverflowMenu(_ref2) {
|
75
69
|
var overflowItems = _ref2.overflowItems;
|
76
|
-
return /*#__PURE__*/
|
70
|
+
return /*#__PURE__*/React__default["default"].createElement(react.BreadcrumbItem, {
|
77
71
|
key: "breadcrumb-overflow-".concat(internalId.current)
|
78
|
-
}, /*#__PURE__*/
|
72
|
+
}, /*#__PURE__*/React__default["default"].createElement(react.OverflowMenu, {
|
79
73
|
"aria-label": overflowAriaLabel,
|
80
74
|
iconDescription: overflowAriaLabel // also needs setting to avoid a11y "Accessible name does not match or contain the visible label text"
|
81
75
|
,
|
82
76
|
renderIcon: function renderIcon(props) {
|
83
|
-
return /*#__PURE__*/
|
77
|
+
return /*#__PURE__*/React__default["default"].createElement(icons.OverflowMenuHorizontal, _rollupPluginBabelHelpers["extends"]({
|
84
78
|
size: 32
|
85
79
|
}, props));
|
86
80
|
},
|
@@ -89,7 +83,7 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
89
83
|
},
|
90
84
|
// eslint-disable-next-line react/prop-types
|
91
85
|
overflowItems.map(function (item, index) {
|
92
|
-
return /*#__PURE__*/
|
86
|
+
return /*#__PURE__*/React__default["default"].createElement(react.OverflowMenuItem, {
|
93
87
|
key: "breadcrumb-overflow-menu-item-".concat(internalId.current, "-").concat(index),
|
94
88
|
href: item.props.href,
|
95
89
|
onClick: item.props.onClick,
|
@@ -99,18 +93,18 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
99
93
|
};
|
100
94
|
|
101
95
|
// create hidden sizing items
|
102
|
-
|
96
|
+
React.useEffect(function () {
|
103
97
|
// Hidden action bar and items used to calculate sizes
|
104
|
-
setHiddenSizingItems( /*#__PURE__*/
|
98
|
+
setHiddenSizingItems( /*#__PURE__*/React__default["default"].createElement("div", {
|
105
99
|
className: "".concat(blockClass, "__breadcrumb-container ").concat(blockClass, "__breadcrumb-container--hidden"),
|
106
100
|
"aria-hidden": true,
|
107
101
|
ref: sizingContainerRef
|
108
|
-
}, /*#__PURE__*/
|
102
|
+
}, /*#__PURE__*/React__default["default"].createElement(react.Breadcrumb, null, /*#__PURE__*/React__default["default"].createElement(react.BreadcrumbItem, {
|
109
103
|
key: "".concat(blockClass, "-hidden-overflow-").concat(internalId)
|
110
|
-
}, /*#__PURE__*/
|
104
|
+
}, /*#__PURE__*/React__default["default"].createElement(react.OverflowMenu, {
|
111
105
|
"aria-label": overflowAriaLabel,
|
112
106
|
renderIcon: function renderIcon(props) {
|
113
|
-
return /*#__PURE__*/
|
107
|
+
return /*#__PURE__*/React__default["default"].createElement(icons.OverflowMenuHorizontal, _rollupPluginBabelHelpers["extends"]({
|
114
108
|
size: 32
|
115
109
|
}, props));
|
116
110
|
}
|
@@ -119,8 +113,8 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
119
113
|
key = _ref3.key,
|
120
114
|
title = _ref3.title,
|
121
115
|
id = _ref3.id,
|
122
|
-
rest =
|
123
|
-
return /*#__PURE__*/
|
116
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref3, _excluded2);
|
117
|
+
return /*#__PURE__*/React__default["default"].createElement(react.BreadcrumbItem, _rollupPluginBabelHelpers["extends"]({
|
124
118
|
key: key
|
125
119
|
}, rest, {
|
126
120
|
// ensure id is not duplicated
|
@@ -129,23 +123,23 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
129
123
|
}), label);
|
130
124
|
}))));
|
131
125
|
}, [breadcrumbs, overflowAriaLabel]);
|
132
|
-
|
126
|
+
React.useEffect(function () {
|
133
127
|
// updates displayedBreadcrumbItems and overflowBreadcrumbItems based on displayCount and breadcrumbs
|
134
128
|
/* istanbul ignore if */
|
135
129
|
if (breadcrumbs.length === 0) {
|
136
130
|
setDisplayedBreadcrumbItems([]);
|
137
131
|
return;
|
138
132
|
}
|
139
|
-
var newDisplayedBreadcrumbItems = breadcrumbs.map(function (_ref4, index) {
|
133
|
+
var newDisplayedBreadcrumbItems = breadcrumbs.map(function (_ref4, index$1) {
|
140
134
|
var className = _ref4.className,
|
141
135
|
key = _ref4.key,
|
142
136
|
label = _ref4.label,
|
143
137
|
title = _ref4.title,
|
144
|
-
rest =
|
145
|
-
return /*#__PURE__*/
|
138
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref4, _excluded3);
|
139
|
+
return /*#__PURE__*/React__default["default"].createElement(react.BreadcrumbItem, _rollupPluginBabelHelpers["extends"]({
|
146
140
|
key: key,
|
147
|
-
className: index > 0 || displayCount > 1 ?
|
148
|
-
title: index + 1 === breadcrumbs.length ? title : null
|
141
|
+
className: index$1 > 0 || displayCount > 1 ? index["default"]([className, "".concat(blockClass, "__displayed-breadcrumb")]) : className,
|
142
|
+
title: index$1 + 1 === breadcrumbs.length ? title : null
|
149
143
|
}, rest), label);
|
150
144
|
});
|
151
145
|
|
@@ -160,7 +154,7 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
160
154
|
|
161
155
|
// if needed add overflow menu
|
162
156
|
if (newOverflowBreadcrumbItems.length) {
|
163
|
-
newDisplayedBreadcrumbItems.splice(overflowPosition, 0, /*#__PURE__*/
|
157
|
+
newDisplayedBreadcrumbItems.splice(overflowPosition, 0, /*#__PURE__*/React__default["default"].createElement(BreadcrumbOverflowMenu, {
|
164
158
|
overflowItems: newOverflowBreadcrumbItems,
|
165
159
|
key: "displayed-breadcrumb-".concat(internalId, "-overflow")
|
166
160
|
}));
|
@@ -184,7 +178,6 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
184
178
|
return itemCount - index; // count down from itemCount - 2 to 1
|
185
179
|
}
|
186
180
|
};
|
187
|
-
|
188
181
|
if (maxVisible <= 1) {
|
189
182
|
setDisplayCount(1);
|
190
183
|
} else {
|
@@ -196,7 +189,7 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
196
189
|
if (sizingContainerRef.current) {
|
197
190
|
var sizingBreadcrumbItems = sizingContainerRef.current.querySelectorAll(".".concat(carbonPrefix, "--breadcrumb-item"));
|
198
191
|
var breadcrumbWidthsIncludingMargin = [];
|
199
|
-
var _iterator =
|
192
|
+
var _iterator = _rollupPluginBabelHelpers.createForOfIteratorHelper(sizingBreadcrumbItems),
|
200
193
|
_step;
|
201
194
|
try {
|
202
195
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
@@ -244,7 +237,7 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
244
237
|
}
|
245
238
|
}
|
246
239
|
};
|
247
|
-
|
240
|
+
React.useEffect(function () {
|
248
241
|
checkFullyVisibleBreadcrumbItems();
|
249
242
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
250
243
|
}, [hiddenSizingItems, maxVisible]);
|
@@ -261,57 +254,57 @@ var BreadcrumbWithOverflow = exports.BreadcrumbWithOverflow = function Breadcrum
|
|
261
254
|
}
|
262
255
|
|
263
256
|
// container resize
|
264
|
-
|
257
|
+
useResizeObserver.useResizeObserver(sizingContainerRef, handleResize);
|
265
258
|
// item resize
|
266
|
-
|
267
|
-
return /*#__PURE__*/
|
268
|
-
className:
|
259
|
+
useResizeObserver.useResizeObserver(breadcrumbItemWithOverflow, handleResize);
|
260
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
261
|
+
className: index["default"](blockClass, className, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__with-items"), displayedBreadcrumbItems.length > 1)),
|
269
262
|
ref: breadcrumbItemWithOverflow
|
270
|
-
}, /*#__PURE__*/
|
271
|
-
className:
|
272
|
-
}, hiddenSizingItems, /*#__PURE__*/
|
273
|
-
className:
|
263
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
264
|
+
className: index["default"](["".concat(blockClass, "__space")])
|
265
|
+
}, hiddenSizingItems, /*#__PURE__*/React__default["default"].createElement(react.Breadcrumb, _rollupPluginBabelHelpers["extends"]({
|
266
|
+
className: index["default"]("".concat(blockClass, "__breadcrumb-container"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__breadcrumb-container-with-items"), displayedBreadcrumbItems.length > 1)),
|
274
267
|
noTrailingSlash: noTrailingSlash
|
275
|
-
}, other), ((_backItem = backItem) === null || _backItem === void 0 ? void 0 : _backItem.href) && (((_backItem2 = backItem) === null || _backItem2 === void 0 ? void 0 : _backItem2.label) || ((_backItem3 = backItem) === null || _backItem3 === void 0 ? void 0 : _backItem3.title)) && /*#__PURE__*/
|
276
|
-
className:
|
277
|
-
}, /*#__PURE__*/
|
268
|
+
}, other), ((_backItem = backItem) === null || _backItem === void 0 ? void 0 : _backItem.href) && (((_backItem2 = backItem) === null || _backItem2 === void 0 ? void 0 : _backItem2.label) || ((_backItem3 = backItem) === null || _backItem3 === void 0 ? void 0 : _backItem3.title)) && /*#__PURE__*/React__default["default"].createElement(react.BreadcrumbItem, {
|
269
|
+
className: index["default"]("".concat(blockClass, "__breadcrumb-back"))
|
270
|
+
}, /*#__PURE__*/React__default["default"].createElement(react.Link, {
|
278
271
|
href: backItem.href,
|
279
272
|
renderIcon: function renderIcon() {
|
280
|
-
return /*#__PURE__*/
|
273
|
+
return /*#__PURE__*/React__default["default"].createElement(react.Tooltip, {
|
281
274
|
align: "right",
|
282
275
|
label: backItem.title || backItem.label,
|
283
276
|
className: "".concat(blockClass, "__back__button ").concat(carbonPrefix, "--icon-tooltip")
|
284
|
-
}, /*#__PURE__*/
|
277
|
+
}, _TooltipTrigger || (_TooltipTrigger = /*#__PURE__*/React__default["default"].createElement(TooltipTrigger.TooltipTrigger, null, /*#__PURE__*/React__default["default"].createElement(icons.ArrowLeft, {
|
285
278
|
size: 16
|
286
|
-
})));
|
279
|
+
}))));
|
287
280
|
}
|
288
281
|
})), displayedBreadcrumbItems)));
|
289
282
|
};
|
290
283
|
|
291
284
|
// Return a placeholder if not released and not enabled by feature flag
|
292
|
-
exports.BreadcrumbWithOverflow =
|
293
|
-
BreadcrumbWithOverflow.propTypes = {
|
294
|
-
breadcrumbs:
|
285
|
+
exports.BreadcrumbWithOverflow = settings.pkg.checkComponentEnabled(exports.BreadcrumbWithOverflow, componentName);
|
286
|
+
exports.BreadcrumbWithOverflow.propTypes = {
|
287
|
+
breadcrumbs: index$1["default"].arrayOf(index$1["default"].shape({
|
295
288
|
/**
|
296
289
|
* Optional string representing the link location for the BreadcrumbItem
|
297
290
|
*/
|
298
|
-
href:
|
291
|
+
href: index$1["default"].string,
|
299
292
|
/**
|
300
293
|
* Provide if this breadcrumb item represents the current page
|
301
294
|
*/
|
302
|
-
isCurrentPage:
|
295
|
+
isCurrentPage: index$1["default"].bool,
|
303
296
|
/**
|
304
297
|
* Key required to render array efficiently
|
305
298
|
*/
|
306
|
-
key:
|
299
|
+
key: index$1["default"].string.isRequired,
|
307
300
|
/**
|
308
301
|
* Pass in content that will be inside of the BreadcrumbItem
|
309
302
|
*/
|
310
|
-
label:
|
303
|
+
label: index$1["default"].node,
|
311
304
|
/**
|
312
305
|
* A string based alternative to the children, required only if children is not of type string.
|
313
306
|
*/
|
314
|
-
title:
|
307
|
+
title: index$1["default"].string.isRequired.if(function (_ref5) {
|
315
308
|
var label = _ref5.label;
|
316
309
|
return typeof label !== 'string';
|
317
310
|
})
|
@@ -319,21 +312,21 @@ BreadcrumbWithOverflow.propTypes = {
|
|
319
312
|
/**
|
320
313
|
* className
|
321
314
|
*/
|
322
|
-
className:
|
315
|
+
className: index$1["default"].string,
|
323
316
|
/**
|
324
317
|
* maxVisible: maximum visible breadcrumb-items before overflow is used (values less than 1 are treated as 1)
|
325
318
|
*/
|
326
|
-
maxVisible:
|
319
|
+
maxVisible: index$1["default"].number,
|
327
320
|
/**
|
328
321
|
* noTrailing slash - same as for Carbon
|
329
322
|
*/
|
330
|
-
noTrailingSlash:
|
323
|
+
noTrailingSlash: index$1["default"].bool,
|
331
324
|
/**
|
332
325
|
* overflowAriaLabel label for open close button overflow used for breadcrumb items that do not fit.
|
333
326
|
*/
|
334
|
-
overflowAriaLabel:
|
327
|
+
overflowAriaLabel: index$1["default"].string.isRequired.if(function (_ref6) {
|
335
328
|
var breadcrumbs = _ref6.breadcrumbs;
|
336
329
|
return breadcrumbs.length > 1;
|
337
330
|
})
|
338
331
|
};
|
339
|
-
BreadcrumbWithOverflow.displayName = componentName;
|
332
|
+
exports.BreadcrumbWithOverflow.displayName = componentName;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { BreadcrumbWithOverflow } from "./BreadcrumbWithOverflow";
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export function ButtonSetWithOverflow({ buttons, className, onWidthChange, buttonSetOverflowLabel, menuOptionsClass, rightAlign, }: {
|
2
|
+
buttons: any;
|
3
|
+
className: any;
|
4
|
+
onWidthChange: any;
|
5
|
+
buttonSetOverflowLabel: any;
|
6
|
+
menuOptionsClass: any;
|
7
|
+
rightAlign: any;
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
9
|
+
export namespace ButtonSetWithOverflow {
|
10
|
+
export namespace propTypes {
|
11
|
+
let buttonSetOverflowLabel: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
12
|
+
let buttons: PropTypes.Validator<any[]>;
|
13
|
+
let className: PropTypes.Requireable<string>;
|
14
|
+
let menuOptionsClass: PropTypes.Requireable<string>;
|
15
|
+
let onWidthChange: PropTypes.Requireable<(...args: any[]) => any>;
|
16
|
+
let rightAlign: PropTypes.Requireable<boolean>;
|
17
|
+
}
|
18
|
+
export { componentName as displayName };
|
19
|
+
}
|
20
|
+
import PropTypes from 'prop-types';
|
21
|
+
declare const componentName: "ButtonSetWithOverflow";
|
22
|
+
export {};
|
@@ -1,57 +1,50 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
8
|
+
'use strict';
|
9
|
+
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
11
|
+
|
12
|
+
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var React = require('react');
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
15
|
+
var index$1 = require('../../node_modules/classnames/index.js');
|
16
|
+
var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
|
17
|
+
var react = require('@carbon/react');
|
18
|
+
var settings = require('../../settings.js');
|
19
|
+
var propsHelper = require('../../global/js/utils/props-helper.js');
|
20
|
+
|
21
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
22
|
+
|
23
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
2
24
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
6
|
-
value: true
|
7
|
-
});
|
8
|
-
exports.ButtonSetWithOverflow = void 0;
|
9
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
10
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
11
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
12
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
13
|
-
var _react = _interopRequireWildcard(require("react"));
|
14
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
15
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
16
|
-
var _useResizeObserver = require("../../global/js/hooks/useResizeObserver");
|
17
|
-
var _react2 = require("@carbon/react");
|
18
|
-
var _settings = require("../../settings");
|
19
|
-
var _propsHelper = require("../../global/js/utils/props-helper");
|
20
25
|
var _excluded = ["isHidden", "buttons"],
|
21
26
|
_excluded2 = ["label", "key", "kind", "id"],
|
22
27
|
_excluded3 = ["buttons"],
|
23
28
|
_excluded4 = ["key", "kind"];
|
24
|
-
|
25
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
26
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
27
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
28
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
29
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
30
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } //
|
31
|
-
// Copyright IBM Corp. 2020, 2021
|
32
|
-
//
|
33
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
34
|
-
// LICENSE file in the root directory of this source tree.
|
35
|
-
//
|
36
|
-
var blockClass = "".concat(_settings.pkg.prefix, "--button-set-with-overflow");
|
29
|
+
var blockClass = "".concat(settings.pkg.prefix, "--button-set-with-overflow");
|
37
30
|
var componentName = 'ButtonSetWithOverflow';
|
38
31
|
var buttonSize = 'md';
|
39
|
-
var ButtonSetWithOverflow =
|
32
|
+
var ButtonSetWithOverflow = function ButtonSetWithOverflow(_ref) {
|
40
33
|
var buttons = _ref.buttons,
|
41
34
|
className = _ref.className,
|
42
35
|
onWidthChange = _ref.onWidthChange,
|
43
36
|
buttonSetOverflowLabel = _ref.buttonSetOverflowLabel,
|
44
37
|
menuOptionsClass = _ref.menuOptionsClass,
|
45
38
|
rightAlign = _ref.rightAlign;
|
46
|
-
var carbonPrefix =
|
47
|
-
var _useState =
|
48
|
-
_useState2 =
|
39
|
+
var carbonPrefix = react.usePrefix();
|
40
|
+
var _useState = React.useState(false),
|
41
|
+
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
49
42
|
showAsOverflow = _useState2[0],
|
50
43
|
setShowAsOverflow = _useState2[1];
|
51
|
-
var spaceAvailableRef =
|
52
|
-
var sizingContainerRefSet =
|
53
|
-
var sizingContainerRefCombo =
|
54
|
-
var sizes =
|
44
|
+
var spaceAvailableRef = React.useRef(null);
|
45
|
+
var sizingContainerRefSet = React.useRef(null);
|
46
|
+
var sizingContainerRefCombo = React.useRef(null);
|
47
|
+
var sizes = React.useRef({});
|
55
48
|
|
56
49
|
/**
|
57
50
|
* checkFullyVisibleItems determines display count based on space available and width of pageActions
|
@@ -71,7 +64,7 @@ var ButtonSetWithOverflow = exports.ButtonSetWithOverflow = function ButtonSetWi
|
|
71
64
|
|
72
65
|
// calculate total width of button set
|
73
66
|
var sizingSetTotalSize = 0;
|
74
|
-
var _iterator =
|
67
|
+
var _iterator = _rollupPluginBabelHelpers.createForOfIteratorHelper(sizingSet),
|
75
68
|
_step;
|
76
69
|
try {
|
77
70
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
@@ -91,7 +84,7 @@ var ButtonSetWithOverflow = exports.ButtonSetWithOverflow = function ButtonSetWi
|
|
91
84
|
sizes.current.maxWidth = sizingSetTotalSize;
|
92
85
|
|
93
86
|
// report min and max width required to host
|
94
|
-
onWidthChange(
|
87
|
+
onWidthChange(_rollupPluginBabelHelpers.objectSpread2({}, sizes.current));
|
95
88
|
}
|
96
89
|
|
97
90
|
// only if space available use ButtonSet.
|
@@ -100,25 +93,25 @@ var ButtonSetWithOverflow = exports.ButtonSetWithOverflow = function ButtonSetWi
|
|
100
93
|
}
|
101
94
|
setShowAsOverflow(newShowAsOverflow);
|
102
95
|
};
|
103
|
-
|
96
|
+
React.useEffect(function () {
|
104
97
|
checkFullyVisibleItems();
|
105
98
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
106
99
|
}, [buttons]);
|
107
|
-
var AButtonSet = /*#__PURE__*/
|
100
|
+
var AButtonSet = /*#__PURE__*/React__default["default"].forwardRef(function (_ref2, ref) {
|
108
101
|
var _ref2$isHidden = _ref2.isHidden,
|
109
102
|
isHidden = _ref2$isHidden === void 0 ? false : _ref2$isHidden,
|
110
103
|
buttons = _ref2.buttons,
|
111
|
-
rest =
|
112
|
-
return /*#__PURE__*/
|
104
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref2, _excluded);
|
105
|
+
return /*#__PURE__*/React__default["default"].createElement(react.ButtonSet, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
113
106
|
ref: ref
|
114
107
|
}), buttons.map(function (_ref3) {
|
115
108
|
var label = _ref3.label,
|
116
109
|
key = _ref3.key,
|
117
110
|
kind = _ref3.kind,
|
118
111
|
id = _ref3.id,
|
119
|
-
other =
|
112
|
+
other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref3, _excluded2);
|
120
113
|
var kindFix = kind === 'default' ? 'primary' : kind;
|
121
|
-
return /*#__PURE__*/
|
114
|
+
return /*#__PURE__*/React__default["default"].createElement(react.Button, _rollupPluginBabelHelpers["extends"]({}, other, {
|
122
115
|
key: key && "button-set-".concat(key),
|
123
116
|
size: buttonSize,
|
124
117
|
type: "button",
|
@@ -132,55 +125,55 @@ var ButtonSetWithOverflow = exports.ButtonSetWithOverflow = function ButtonSetWi
|
|
132
125
|
* isHidden - Used to conditionally change id if one is passed to the `AButtonSet` component
|
133
126
|
* in order to avoid duplicate ids between the visible and hidden button set buttons
|
134
127
|
*/
|
135
|
-
isHidden:
|
128
|
+
isHidden: index["default"].bool
|
136
129
|
};
|
137
|
-
var AButtonMenu = /*#__PURE__*/
|
130
|
+
var AButtonMenu = /*#__PURE__*/React__default["default"].forwardRef(function (_ref4, ref) {
|
138
131
|
var buttons = _ref4.buttons,
|
139
|
-
rest =
|
140
|
-
return /*#__PURE__*/
|
132
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref4, _excluded3);
|
133
|
+
return /*#__PURE__*/React__default["default"].createElement(react.MenuButton, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
141
134
|
ref: ref,
|
142
135
|
label: buttonSetOverflowLabel
|
143
136
|
}), buttons.map(function (_ref5) {
|
144
137
|
var key = _ref5.key,
|
145
138
|
kind = _ref5.kind,
|
146
|
-
other =
|
139
|
+
other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref5, _excluded4);
|
147
140
|
// menu items only come in default and danger flavors
|
148
141
|
var kindFix = kind === 'danger' ? 'danger' : 'default';
|
149
|
-
return /*#__PURE__*/
|
142
|
+
return /*#__PURE__*/React__default["default"].createElement(react.MenuItem, _rollupPluginBabelHelpers["extends"]({}, propsHelper.prepareProps(other, ['iconDescription', 'renderIcon']), {
|
150
143
|
key: key && "button-menu-".concat(key),
|
151
144
|
kind: kindFix
|
152
145
|
}));
|
153
146
|
}).reverse());
|
154
147
|
});
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
return /*#__PURE__*/
|
159
|
-
className:
|
148
|
+
useResizeObserver.useResizeObserver(sizingContainerRefSet, checkFullyVisibleItems);
|
149
|
+
useResizeObserver.useResizeObserver(sizingContainerRefCombo, checkFullyVisibleItems);
|
150
|
+
useResizeObserver.useResizeObserver(spaceAvailableRef, checkFullyVisibleItems);
|
151
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
152
|
+
className: index$1["default"]([blockClass, className, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--right"), rightAlign)]),
|
160
153
|
ref: spaceAvailableRef
|
161
|
-
}, /*#__PURE__*/
|
154
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
162
155
|
className: "".concat(blockClass, "__button-container ").concat(blockClass, "__button-container--hidden")
|
163
|
-
}, /*#__PURE__*/
|
156
|
+
}, /*#__PURE__*/React__default["default"].createElement(AButtonSet, {
|
164
157
|
"aria-hidden": true,
|
165
158
|
ref: sizingContainerRefSet,
|
166
159
|
size: buttonSize,
|
167
160
|
buttons: buttons,
|
168
161
|
isHidden: true
|
169
|
-
})), /*#__PURE__*/
|
162
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
170
163
|
className: "".concat(blockClass, "__button-container ").concat(blockClass, "__button-container--hidden"),
|
171
164
|
"aria-hidden": true
|
172
|
-
}, /*#__PURE__*/
|
165
|
+
}, /*#__PURE__*/React__default["default"].createElement(AButtonMenu, {
|
173
166
|
className: menuOptionsClass,
|
174
167
|
ref: sizingContainerRefCombo,
|
175
168
|
buttons: buttons,
|
176
169
|
size: buttonSize
|
177
|
-
})), /*#__PURE__*/
|
170
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
178
171
|
className: "".concat(blockClass, "__button-container ").concat(blockClass, "__button-container--visible")
|
179
|
-
}, showAsOverflow ? /*#__PURE__*/
|
172
|
+
}, showAsOverflow ? /*#__PURE__*/React__default["default"].createElement(AButtonMenu, {
|
180
173
|
buttons: buttons,
|
181
174
|
size: buttonSize,
|
182
175
|
className: menuOptionsClass
|
183
|
-
}) : /*#__PURE__*/
|
176
|
+
}) : /*#__PURE__*/React__default["default"].createElement(AButtonSet, {
|
184
177
|
className: "".concat(blockClass, "__button-container"),
|
185
178
|
size: buttonSize,
|
186
179
|
buttons: buttons
|
@@ -190,29 +183,31 @@ ButtonSetWithOverflow.propTypes = {
|
|
190
183
|
/**
|
191
184
|
* buttonSetOverflowLabel - used when button set is shown as combo button
|
192
185
|
*/
|
193
|
-
buttonSetOverflowLabel:
|
186
|
+
buttonSetOverflowLabel: index["default"].node.isRequired,
|
194
187
|
/**
|
195
188
|
* Specifies the buttons for the ButtonSetWithOverflow. Each item is specified as an object
|
196
189
|
* with the properties of a Carbon Button plus a label.
|
197
190
|
*
|
198
191
|
* Carbon Button API https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
199
192
|
*/
|
200
|
-
buttons:
|
193
|
+
buttons: index["default"].array.isRequired,
|
201
194
|
/**
|
202
195
|
* className
|
203
196
|
*/
|
204
|
-
className:
|
197
|
+
className: index["default"].string,
|
205
198
|
/**
|
206
199
|
* class name applied to the overflow options
|
207
200
|
*/
|
208
|
-
menuOptionsClass:
|
201
|
+
menuOptionsClass: index["default"].string,
|
209
202
|
/**
|
210
203
|
* onResize reports maxSize on resize
|
211
204
|
*/
|
212
|
-
onWidthChange:
|
205
|
+
onWidthChange: index["default"].func,
|
213
206
|
/**
|
214
207
|
* align buttons to right of available space
|
215
208
|
*/
|
216
|
-
rightAlign:
|
209
|
+
rightAlign: index["default"].bool
|
217
210
|
};
|
218
|
-
ButtonSetWithOverflow.displayName = componentName;
|
211
|
+
ButtonSetWithOverflow.displayName = componentName;
|
212
|
+
|
213
|
+
exports.ButtonSetWithOverflow = ButtonSetWithOverflow;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ButtonSetWithOverflow } from "./ButtonSetWithOverflow";
|