@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,32 +1,29 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.deprecatedProps = exports.TearsheetNarrow = void 0;
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
11
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
12
|
-
var _devtools = require("../../global/js/utils/devtools");
|
13
|
-
var _propsHelper = require("../../global/js/utils/props-helper");
|
14
|
-
var _settings = require("../../settings");
|
15
|
-
var _react2 = require("@carbon/react");
|
16
|
-
var _ActionSet = require("../ActionSet");
|
17
|
-
var _TearsheetShell = require("./TearsheetShell");
|
18
|
-
var _excluded = ["verticalPosition"];
|
19
1
|
/**
|
20
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2024
|
21
3
|
*
|
22
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
23
5
|
* LICENSE file in the root directory of this source tree.
|
24
6
|
*/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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 devtools = require('../../global/js/utils/devtools.js');
|
16
|
+
var propsHelper = require('../../global/js/utils/props-helper.js');
|
17
|
+
var settings = require('../../settings.js');
|
18
|
+
var react = require('@carbon/react');
|
19
|
+
var TearsheetShell = require('./TearsheetShell.js');
|
20
|
+
var ActionSet = require('../ActionSet/ActionSet.js');
|
21
|
+
|
22
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
23
|
+
|
24
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
25
|
+
|
26
|
+
var _excluded = ["verticalPosition"];
|
30
27
|
var componentName = 'TearsheetNarrow';
|
31
28
|
|
32
29
|
// NOTE: the component SCSS is not imported here: it is rolled up separately.
|
@@ -44,11 +41,11 @@ var defaults = {
|
|
44
41
|
* A narrow tearsheet comprises 3 zones: a heading area including a title, the
|
45
42
|
* main content area, and a set of action buttons.
|
46
43
|
*/
|
47
|
-
|
44
|
+
exports.TearsheetNarrow = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
48
45
|
var _ref$verticalPosition = _ref.verticalPosition,
|
49
46
|
verticalPosition = _ref$verticalPosition === void 0 ? defaults.verticalPosition : _ref$verticalPosition,
|
50
|
-
rest =
|
51
|
-
return /*#__PURE__*/
|
47
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
48
|
+
return /*#__PURE__*/React__default["default"].createElement(TearsheetShell.TearsheetShell, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, devtools.getDevtoolsProps(componentName)), propsHelper.prepareProps(rest, TearsheetShell.tearsheetShellWideProps)), {}, {
|
52
49
|
verticalPosition: verticalPosition,
|
53
50
|
ref: ref,
|
54
51
|
size: 'narrow'
|
@@ -56,12 +53,12 @@ var TearsheetNarrow = exports.TearsheetNarrow = /*#__PURE__*/_react.default.forw
|
|
56
53
|
});
|
57
54
|
|
58
55
|
// Return a placeholder if not released and not enabled by feature flag
|
59
|
-
exports.TearsheetNarrow =
|
56
|
+
exports.TearsheetNarrow = settings.pkg.checkComponentEnabled(exports.TearsheetNarrow, componentName);
|
60
57
|
|
61
58
|
// The display name of the component, used by React. Note that displayName
|
62
59
|
// is used in preference to relying on function.name.
|
63
|
-
TearsheetNarrow.displayName = componentName;
|
64
|
-
var deprecatedProps =
|
60
|
+
exports.TearsheetNarrow.displayName = componentName;
|
61
|
+
var deprecatedProps = {
|
65
62
|
/**
|
66
63
|
* **Deprecated**
|
67
64
|
*
|
@@ -71,7 +68,7 @@ var deprecatedProps = exports.deprecatedProps = {
|
|
71
68
|
* from below. The 'lower' position (the default) provides a little extra room at the top
|
72
69
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
73
70
|
*/
|
74
|
-
verticalPosition:
|
71
|
+
verticalPosition: index["default"].oneOf(['normal', 'lower'])
|
75
72
|
};
|
76
73
|
|
77
74
|
// The types and DocGen commentary for the component props,
|
@@ -80,7 +77,7 @@ var deprecatedProps = exports.deprecatedProps = {
|
|
80
77
|
|
81
78
|
// Note that the descriptions here should be kept in sync with those for the
|
82
79
|
// corresponding props for Tearsheet and TearsheetShell components.
|
83
|
-
TearsheetNarrow.propTypes =
|
80
|
+
exports.TearsheetNarrow.propTypes = _rollupPluginBabelHelpers.objectSpread2({
|
84
81
|
/**
|
85
82
|
* The navigation actions to be shown as buttons in the action area at the
|
86
83
|
* bottom of the tearsheet. Each action is specified as an object with
|
@@ -94,68 +91,70 @@ TearsheetNarrow.propTypes = _objectSpread({
|
|
94
91
|
*
|
95
92
|
* See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
96
93
|
*/
|
97
|
-
actions:
|
94
|
+
actions: propsHelper.allPropTypes([ActionSet.ActionSet.validateActions(function () {
|
98
95
|
return 'lg';
|
99
|
-
}),
|
100
|
-
kind:
|
101
|
-
label:
|
102
|
-
loading:
|
96
|
+
}), index["default"].arrayOf(index["default"].shape(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, react.Button.propTypes), {}, {
|
97
|
+
kind: index["default"].oneOf(['ghost', 'danger--ghost', 'secondary', 'danger', 'primary']),
|
98
|
+
label: index["default"].string,
|
99
|
+
loading: index["default"].bool,
|
103
100
|
// we duplicate this Button prop to improve the DocGen here
|
104
|
-
onClick:
|
101
|
+
onClick: react.Button.propTypes.onClick
|
105
102
|
})))]),
|
106
103
|
/**
|
107
104
|
* The aria-label for the tearsheet, which is optional.
|
108
105
|
* if it is not passed, the title will be used as the aria-label.
|
109
106
|
*/
|
110
|
-
ariaLabel:
|
107
|
+
ariaLabel: index["default"].string,
|
111
108
|
/**
|
112
109
|
* An optional class or classes to be added to the outermost element.
|
113
110
|
*/
|
114
|
-
className:
|
111
|
+
className: index["default"].string,
|
115
112
|
/**
|
116
113
|
* The accessibility title for the close icon (if shown).
|
117
114
|
*
|
118
115
|
* **Note:** This prop is only required if a close icon is shown, i.e. if
|
119
116
|
* there are a no navigation actions and/or hasCloseIcon is true.
|
120
117
|
*/
|
121
|
-
closeIconDescription:
|
118
|
+
closeIconDescription: index["default"].string.isRequired.if(function (_ref2) {
|
122
119
|
var actions = _ref2.actions,
|
123
120
|
hasCloseIcon = _ref2.hasCloseIcon;
|
124
|
-
return
|
121
|
+
return TearsheetShell.tearsheetHasCloseIcon(actions, hasCloseIcon);
|
125
122
|
}),
|
126
123
|
/**
|
127
124
|
* A description of the flow, displayed in the header area of the tearsheet.
|
128
125
|
*/
|
129
|
-
description:
|
126
|
+
description: index["default"].node,
|
130
127
|
/**
|
131
128
|
* Enable a close icon ('x') in the header area of the tearsheet. By default,
|
132
129
|
* a tearsheet does not display a close icon, but one should be enabled if
|
133
130
|
* the tearsheet is read-only or has no navigation actions (sometimes called
|
134
131
|
* a "passive tearsheet").
|
135
132
|
*/
|
136
|
-
hasCloseIcon:
|
133
|
+
hasCloseIcon: index["default"].bool,
|
137
134
|
/**
|
138
135
|
* A label for the tearsheet, displayed in the header area of the tearsheet
|
139
136
|
* to maintain context for the tearsheet (e.g. as the title changes from page
|
140
137
|
* to page of a multi-page task).
|
141
138
|
*/
|
142
|
-
label:
|
139
|
+
label: index["default"].node,
|
143
140
|
/**
|
144
141
|
* An optional handler that is called when the user closes the tearsheet (by
|
145
142
|
* clicking the close button, if enabled, or clicking outside, if enabled).
|
146
143
|
* Returning `false` here prevents the modal from closing.
|
147
144
|
*/
|
148
|
-
onClose:
|
145
|
+
onClose: index["default"].func,
|
149
146
|
/**
|
150
147
|
* Specifies whether the tearsheet is currently open.
|
151
148
|
*/
|
152
|
-
open:
|
149
|
+
open: index["default"].bool,
|
153
150
|
/**
|
154
151
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
155
152
|
*/
|
156
|
-
portalTarget:
|
153
|
+
portalTarget: TearsheetShell.portalType,
|
157
154
|
/**
|
158
155
|
* The main title of the tearsheet, displayed in the header area.
|
159
156
|
*/
|
160
|
-
title:
|
161
|
-
}, deprecatedProps);
|
157
|
+
title: index["default"].node
|
158
|
+
}, deprecatedProps);
|
159
|
+
|
160
|
+
exports.deprecatedProps = deprecatedProps;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export const tearsheetShellWideProps: string[];
|
2
|
+
export function tearsheetIsPassive(actions: any): boolean;
|
3
|
+
export function tearsheetHasCloseIcon(actions: any, hasCloseIcon: any): any;
|
4
|
+
/**
|
5
|
+
* TearSheetShell is used internally by TearSheet and TearSheetNarrow
|
6
|
+
*
|
7
|
+
* The component is not public.
|
8
|
+
*
|
9
|
+
* See the canvas tab for the component API details.
|
10
|
+
* */
|
11
|
+
export const TearsheetShell: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
12
|
+
export const portalType: PropTypes.Requireable<object>;
|
13
|
+
export namespace deprecatedProps {
|
14
|
+
let verticalPosition: PropTypes.Requireable<string>;
|
15
|
+
}
|
16
|
+
import React from 'react';
|
17
|
+
import PropTypes from 'prop-types';
|
@@ -1,42 +1,35 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
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.tearsheetShellWideProps = exports.tearsheetIsPassive = exports.tearsheetHasCloseIcon = exports.portalType = exports.deprecatedProps = exports.TearsheetShell = void 0;
|
9
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
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 _useResizeObserver2 = require("../../global/js/hooks/useResizeObserver");
|
15
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
16
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
17
|
-
var _settings = require("../../settings");
|
18
|
-
var _pconsole = _interopRequireDefault(require("../../global/js/utils/pconsole"));
|
19
|
-
var _getNodeTextContent = require("../../global/js/utils/getNodeTextContent");
|
20
|
-
var _react2 = require("@carbon/react");
|
21
|
-
var _ActionSet = require("../ActionSet");
|
22
|
-
var _Wrap = require("../../global/js/utils/Wrap");
|
23
|
-
var _usePortalTarget = require("../../global/js/hooks/usePortalTarget");
|
24
|
-
var _excluded = ["actions", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "selectorPrimaryFocus", "size", "portalTarget", "title", "verticalPosition"];
|
25
1
|
/**
|
26
|
-
* Copyright IBM Corp. 2020,
|
2
|
+
* Copyright IBM Corp. 2020, 2024
|
27
3
|
*
|
28
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
29
5
|
* LICENSE file in the root directory of this source tree.
|
30
6
|
*/
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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 useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
|
15
|
+
var index$1 = require('../../node_modules/prop-types/index.js');
|
16
|
+
var index = require('../../node_modules/classnames/index.js');
|
17
|
+
var settings = require('../../settings.js');
|
18
|
+
var pconsole = require('../../global/js/utils/pconsole.js');
|
19
|
+
var getNodeTextContent = require('../../global/js/utils/getNodeTextContent.js');
|
20
|
+
var react = require('@carbon/react');
|
21
|
+
var Wrap = require('../../global/js/utils/Wrap.js');
|
22
|
+
var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
|
23
|
+
var ActionSet = require('../ActionSet/ActionSet.js');
|
24
|
+
|
25
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
26
|
+
|
27
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
28
|
+
|
29
|
+
var _excluded = ["actions", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "selectorPrimaryFocus", "size", "portalTarget", "title", "verticalPosition"];
|
30
|
+
|
38
31
|
// The block part of our conventional BEM class names (bc__E--M).
|
39
|
-
var bc = "".concat(
|
32
|
+
var bc = "".concat(settings.pkg.prefix, "--tearsheet");
|
40
33
|
var componentName = 'TearsheetShell';
|
41
34
|
var maxDepth = 3;
|
42
35
|
|
@@ -54,11 +47,11 @@ var stack = {
|
|
54
47
|
};
|
55
48
|
|
56
49
|
// these props are only applicable when size='wide'
|
57
|
-
var tearsheetShellWideProps =
|
58
|
-
var tearsheetIsPassive =
|
50
|
+
var tearsheetShellWideProps = ['headerActions', 'influencer', 'influencerPosition', 'influencerWidth', 'navigation'];
|
51
|
+
var tearsheetIsPassive = function tearsheetIsPassive(actions) {
|
59
52
|
return !actions || !(actions !== null && actions !== void 0 && actions.length);
|
60
53
|
};
|
61
|
-
var tearsheetHasCloseIcon =
|
54
|
+
var tearsheetHasCloseIcon = function tearsheetHasCloseIcon(actions, hasCloseIcon) {
|
62
55
|
return hasCloseIcon !== null && hasCloseIcon !== void 0 ? hasCloseIcon : tearsheetIsPassive(actions);
|
63
56
|
};
|
64
57
|
|
@@ -69,7 +62,7 @@ var tearsheetHasCloseIcon = exports.tearsheetHasCloseIcon = function tearsheetHa
|
|
69
62
|
*
|
70
63
|
* See the canvas tab for the component API details.
|
71
64
|
* */
|
72
|
-
var TearsheetShell =
|
65
|
+
var TearsheetShell = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
73
66
|
var actions = _ref.actions,
|
74
67
|
ariaLabel = _ref.ariaLabel,
|
75
68
|
children = _ref.children,
|
@@ -90,30 +83,30 @@ var TearsheetShell = exports.TearsheetShell = /*#__PURE__*/_react.default.forwar
|
|
90
83
|
portalTargetIn = _ref.portalTarget,
|
91
84
|
title = _ref.title,
|
92
85
|
verticalPosition = _ref.verticalPosition,
|
93
|
-
rest =
|
94
|
-
var carbonPrefix =
|
86
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
87
|
+
var carbonPrefix = react.usePrefix();
|
95
88
|
var bcModalHeader = "".concat(carbonPrefix, "--modal-header");
|
96
|
-
var renderPortalUse =
|
97
|
-
var localRef =
|
98
|
-
var resizer =
|
89
|
+
var renderPortalUse = usePortalTarget.usePortalTarget(portalTargetIn);
|
90
|
+
var localRef = React.useRef();
|
91
|
+
var resizer = React.useRef(null);
|
99
92
|
var modalRef = ref || localRef;
|
100
|
-
var _useResizeObserver =
|
93
|
+
var _useResizeObserver = useResizeObserver.useResizeObserver(resizer),
|
101
94
|
width = _useResizeObserver.width;
|
102
95
|
var wide = size === 'wide';
|
103
96
|
|
104
97
|
// Keep track of the stack depth and our position in it (1-based, 0=closed)
|
105
|
-
var _useState =
|
106
|
-
_useState2 =
|
98
|
+
var _useState = React.useState(0),
|
99
|
+
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
107
100
|
depth = _useState2[0],
|
108
101
|
setDepth = _useState2[1];
|
109
|
-
var _useState3 =
|
110
|
-
_useState4 =
|
102
|
+
var _useState3 = React.useState(0),
|
103
|
+
_useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
|
111
104
|
position = _useState4[0],
|
112
105
|
setPosition = _useState4[1];
|
113
106
|
|
114
107
|
// Keep a record of the previous value of depth.
|
115
|
-
var prevDepth =
|
116
|
-
|
108
|
+
var prevDepth = React.useRef();
|
109
|
+
React.useEffect(function () {
|
117
110
|
prevDepth.current = depth;
|
118
111
|
});
|
119
112
|
|
@@ -141,7 +134,7 @@ var TearsheetShell = exports.TearsheetShell = /*#__PURE__*/_react.default.forwar
|
|
141
134
|
return element.focus();
|
142
135
|
}, 1);
|
143
136
|
};
|
144
|
-
|
137
|
+
React.useEffect(function () {
|
145
138
|
var notify = function notify() {
|
146
139
|
return stack.all.forEach(function (handler) {
|
147
140
|
handler(Math.min(stack.open.length, maxDepth), stack.open.indexOf(handler) + 1);
|
@@ -193,13 +186,13 @@ var TearsheetShell = exports.TearsheetShell = /*#__PURE__*/_react.default.forwar
|
|
193
186
|
|
194
187
|
// Include an ActionSet if and only if one or more actions is given.
|
195
188
|
var includeActions = actions && (actions === null || actions === void 0 ? void 0 : actions.length) > 0;
|
196
|
-
return renderPortalUse( /*#__PURE__*/
|
197
|
-
"aria-label": ariaLabel ||
|
198
|
-
className:
|
189
|
+
return renderPortalUse( /*#__PURE__*/React__default["default"].createElement(react.ComposedModal, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
190
|
+
"aria-label": ariaLabel || getNodeTextContent.getNodeTextContent(title),
|
191
|
+
className: index["default"](bc, className, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth),
|
199
192
|
// Don't apply this on the initial open of a single tearsheet.
|
200
193
|
depth > 1 || depth === 1 && prevDepth.current > 1), "".concat(bc, "--wide"), wide), "".concat(bc, "--narrow"), !wide)),
|
201
|
-
style:
|
202
|
-
containerClassName:
|
194
|
+
style: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "--".concat(bc, "--stacking-scale-factor-single"), (width - 32) / width), "--".concat(bc, "--stacking-scale-factor-double"), (width - 64) / width),
|
195
|
+
containerClassName: index["default"]("".concat(bc, "__container"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "__container--lower"), verticalPosition === 'lower')),
|
203
196
|
onClose: onClose,
|
204
197
|
open: open,
|
205
198
|
selectorPrimaryFocus: selectorPrimaryFocus,
|
@@ -208,59 +201,59 @@ var TearsheetShell = exports.TearsheetShell = /*#__PURE__*/_react.default.forwar
|
|
208
201
|
ref: modalRef,
|
209
202
|
selectorsFloatingMenus: [".".concat(carbonPrefix, "--overflow-menu-options"), ".".concat(carbonPrefix, "--tooltip"), '.flatpickr-calendar', ".".concat(bc, "__container")],
|
210
203
|
size: "sm"
|
211
|
-
}), includeHeader && /*#__PURE__*/
|
212
|
-
className:
|
213
|
-
closeClassName:
|
204
|
+
}), includeHeader && /*#__PURE__*/React__default["default"].createElement(react.ModalHeader, {
|
205
|
+
className: index["default"]("".concat(bc, "__header"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "__header--with-close-icon"), effectiveHasCloseIcon), "".concat(bc, "__header--with-nav"), navigation)),
|
206
|
+
closeClassName: index["default"](_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "__header--no-close-icon"), !effectiveHasCloseIcon)),
|
214
207
|
closeModal: onClose,
|
215
208
|
iconDescription: closeIconDescription
|
216
|
-
}, /*#__PURE__*/
|
209
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
217
210
|
className: "".concat(bc, "__header-content"),
|
218
|
-
element: wide ?
|
219
|
-
}, /*#__PURE__*/
|
211
|
+
element: wide ? react.Layer : undefined
|
212
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
220
213
|
className: "".concat(bc, "__header-fields")
|
221
|
-
}, /*#__PURE__*/
|
214
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
222
215
|
element: "h2",
|
223
216
|
className: "".concat(bcModalHeader, "__label")
|
224
|
-
}, label), /*#__PURE__*/
|
217
|
+
}, label), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
225
218
|
element: "h3",
|
226
|
-
className:
|
227
|
-
}, title), /*#__PURE__*/
|
219
|
+
className: index["default"]("".concat(bcModalHeader, "__heading"), "".concat(bc, "__heading"))
|
220
|
+
}, title), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
228
221
|
className: "".concat(bc, "__header-description")
|
229
|
-
}, description)), /*#__PURE__*/
|
222
|
+
}, description)), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
230
223
|
className: "".concat(bc, "__header-actions")
|
231
|
-
}, headerActions)), /*#__PURE__*/
|
224
|
+
}, headerActions)), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
232
225
|
className: "".concat(bc, "__header-navigation")
|
233
|
-
}, navigation)), /*#__PURE__*/
|
234
|
-
element:
|
226
|
+
}, navigation)), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
227
|
+
element: react.ModalBody,
|
235
228
|
className: "".concat(bc, "__body")
|
236
|
-
}, /*#__PURE__*/
|
237
|
-
className:
|
229
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
230
|
+
className: index["default"](_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "__influencer"), true), "".concat(bc, "__influencer--wide"), influencerWidth === 'wide')),
|
238
231
|
neverRender: influencerPosition === 'right'
|
239
|
-
}, influencer), /*#__PURE__*/
|
232
|
+
}, influencer), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
240
233
|
className: "".concat(bc, "__right")
|
241
|
-
}, /*#__PURE__*/
|
234
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
242
235
|
className: "".concat(bc, "__main"),
|
243
236
|
alwaysRender: includeActions
|
244
|
-
}, /*#__PURE__*/
|
237
|
+
}, /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
245
238
|
className: "".concat(bc, "__content"),
|
246
239
|
alwaysRender: influencer && influencerPosition === 'right'
|
247
|
-
}, children), /*#__PURE__*/
|
248
|
-
className:
|
240
|
+
}, children), /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
241
|
+
className: index["default"](_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "__influencer"), true), "".concat(bc, "__influencer--wide"), influencerWidth === 'wide')),
|
249
242
|
neverRender: influencerPosition !== 'right'
|
250
|
-
}, influencer)), includeActions && /*#__PURE__*/
|
243
|
+
}, influencer)), includeActions && /*#__PURE__*/React__default["default"].createElement(Wrap.Wrap, {
|
251
244
|
className: "".concat(bc, "__button-container")
|
252
|
-
}, /*#__PURE__*/
|
245
|
+
}, /*#__PURE__*/React__default["default"].createElement(ActionSet.ActionSet, {
|
253
246
|
actions: actions,
|
254
247
|
buttonSize: wide ? '2xl' : null,
|
255
248
|
className: "".concat(bc, "__buttons"),
|
256
249
|
size: wide ? '2xl' : 'lg',
|
257
250
|
"aria-hidden": !open
|
258
|
-
})))), /*#__PURE__*/
|
251
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
259
252
|
className: "".concat(bc, "__resize-detector"),
|
260
253
|
ref: resizer
|
261
254
|
})));
|
262
255
|
} else {
|
263
|
-
|
256
|
+
pconsole["default"].warn('Tearsheet not rendered: maximum stacking depth exceeded.');
|
264
257
|
return null;
|
265
258
|
}
|
266
259
|
});
|
@@ -268,8 +261,8 @@ var TearsheetShell = exports.TearsheetShell = /*#__PURE__*/_react.default.forwar
|
|
268
261
|
// The display name of the component, used by React. Note that displayName
|
269
262
|
// is used in preference to relying on function.name.
|
270
263
|
TearsheetShell.displayName = componentName;
|
271
|
-
var portalType =
|
272
|
-
var deprecatedProps =
|
264
|
+
var portalType = typeof Element === 'undefined' ? index$1["default"].object : index$1["default"].instanceOf(Element);
|
265
|
+
var deprecatedProps = {
|
273
266
|
/**
|
274
267
|
* **Deprecated**
|
275
268
|
*
|
@@ -279,7 +272,7 @@ var deprecatedProps = exports.deprecatedProps = {
|
|
279
272
|
* from below. The 'lower' position (the default) provides a little extra room at the top
|
280
273
|
* to allow an action bar navigation or breadcrumbs to also show through.
|
281
274
|
*/
|
282
|
-
verticalPosition:
|
275
|
+
verticalPosition: index$1["default"].oneOf(['normal', 'lower'])
|
283
276
|
};
|
284
277
|
|
285
278
|
// The types and DocGen commentary for the component props,
|
@@ -288,7 +281,7 @@ var deprecatedProps = exports.deprecatedProps = {
|
|
288
281
|
|
289
282
|
// Note that the descriptions here should be kept in sync with those for the
|
290
283
|
// corresponding props for Tearsheet and TearsheetNarrow components.
|
291
|
-
TearsheetShell.propTypes =
|
284
|
+
TearsheetShell.propTypes = _rollupPluginBabelHelpers.objectSpread2({
|
292
285
|
/**
|
293
286
|
* The actions to be shown as buttons in the action area at the bottom of the
|
294
287
|
* tearsheet. Each action is specified as an object with optional fields
|
@@ -302,31 +295,31 @@ TearsheetShell.propTypes = _objectSpread({
|
|
302
295
|
*
|
303
296
|
* See https://react.carbondesignsystem.com/?path=/docs/components-button--default#component-api
|
304
297
|
*/
|
305
|
-
actions:
|
298
|
+
actions: index$1["default"].arrayOf(
|
306
299
|
// NB we don't include the validator here, as the component wrapping this
|
307
300
|
// one should ensure appropriate validation is done.
|
308
|
-
|
309
|
-
kind:
|
310
|
-
label:
|
311
|
-
loading:
|
301
|
+
index$1["default"].shape(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, react.Button.propTypes), {}, {
|
302
|
+
kind: index$1["default"].oneOf(['ghost', 'danger--ghost', 'secondary', 'danger', 'primary']),
|
303
|
+
label: index$1["default"].string,
|
304
|
+
loading: index$1["default"].bool,
|
312
305
|
// we duplicate this Button prop to improve the DocGen here
|
313
|
-
onClick:
|
306
|
+
onClick: react.Button.propTypes.onClick
|
314
307
|
}))),
|
315
308
|
/**
|
316
309
|
* The main content of the tearsheet.
|
317
310
|
*/
|
318
|
-
children:
|
311
|
+
children: index$1["default"].node,
|
319
312
|
/**
|
320
313
|
* An optional class or classes to be added to the outermost element.
|
321
314
|
*/
|
322
|
-
className:
|
315
|
+
className: index$1["default"].string,
|
323
316
|
/**
|
324
317
|
* The accessibility title for the close icon (if shown).
|
325
318
|
*
|
326
319
|
* **Note:** This prop is only required if a close icon is shown, i.e. if
|
327
320
|
* there are a no navigation actions and/or hasCloseIcon is true.
|
328
321
|
*/
|
329
|
-
closeIconDescription:
|
322
|
+
closeIconDescription: index$1["default"].string.isRequired.if(function (_ref3) {
|
330
323
|
var actions = _ref3.actions,
|
331
324
|
hasCloseIcon = _ref3.hasCloseIcon;
|
332
325
|
return tearsheetHasCloseIcon(actions, hasCloseIcon);
|
@@ -334,7 +327,7 @@ TearsheetShell.propTypes = _objectSpread({
|
|
334
327
|
/**
|
335
328
|
* A description of the flow, displayed in the header area of the tearsheet.
|
336
329
|
*/
|
337
|
-
description:
|
330
|
+
description: index$1["default"].node,
|
338
331
|
/**
|
339
332
|
* Enable a close icon ('x') in the header area of the tearsheet. By default,
|
340
333
|
* (when this prop is omitted, or undefined or null) a tearsheet does not
|
@@ -343,52 +336,52 @@ TearsheetShell.propTypes = _objectSpread({
|
|
343
336
|
* tearsheet"), and that behavior can be overridden if required by setting
|
344
337
|
* this prop to either true or false.
|
345
338
|
*/
|
346
|
-
hasCloseIcon:
|
339
|
+
hasCloseIcon: index$1["default"].bool,
|
347
340
|
/**
|
348
341
|
* The content for the header actions area, displayed alongside the title in
|
349
342
|
* the header area of the tearsheet. This is typically a drop-down, or a set
|
350
343
|
* of small buttons, or similar. NB the headerActions is only applicable for
|
351
344
|
* wide tearsheets.
|
352
345
|
*/
|
353
|
-
headerActions:
|
346
|
+
headerActions: index$1["default"].element,
|
354
347
|
/**
|
355
348
|
* The content for the influencer section of the tearsheet, displayed
|
356
349
|
* alongside the main content. This is typically a menu, or filter, or
|
357
350
|
* progress indicator, or similar. NB the influencer is only applicable for
|
358
351
|
* wide tearsheets.
|
359
352
|
*/
|
360
|
-
influencer:
|
353
|
+
influencer: index$1["default"].element,
|
361
354
|
/**
|
362
355
|
* The position of the influencer section, 'left' or 'right'.
|
363
356
|
*/
|
364
|
-
influencerPosition:
|
357
|
+
influencerPosition: index$1["default"].oneOf(['left', 'right']),
|
365
358
|
/**
|
366
359
|
* The width of the influencer: 'narrow' (the default) is 256px, and 'wide'
|
367
360
|
* is 320px.
|
368
361
|
*/
|
369
|
-
influencerWidth:
|
362
|
+
influencerWidth: index$1["default"].oneOf(['narrow', 'wide']),
|
370
363
|
/**
|
371
364
|
* A label for the tearsheet, displayed in the header area of the tearsheet
|
372
365
|
* to maintain context for the tearsheet (e.g. as the title changes from page
|
373
366
|
* to page of a multi-page task).
|
374
367
|
*/
|
375
|
-
label:
|
368
|
+
label: index$1["default"].node,
|
376
369
|
/**
|
377
370
|
* Navigation content, such as a set of tabs, to be displayed at the bottom
|
378
371
|
* of the header area of the tearsheet. NB the navigation is only applicable
|
379
372
|
* for wide tearsheets.
|
380
373
|
*/
|
381
|
-
navigation:
|
374
|
+
navigation: index$1["default"].element,
|
382
375
|
/**
|
383
376
|
* An optional handler that is called when the user closes the tearsheet (by
|
384
377
|
* clicking the close button, if enabled, or clicking outside, if enabled).
|
385
378
|
* Returning `false` here prevents the modal from closing.
|
386
379
|
*/
|
387
|
-
onClose:
|
380
|
+
onClose: index$1["default"].func,
|
388
381
|
/**
|
389
382
|
* Specifies whether the tearsheet is currently open.
|
390
383
|
*/
|
391
|
-
open:
|
384
|
+
open: index$1["default"].bool,
|
392
385
|
/**
|
393
386
|
* The DOM element that the tearsheet should be rendered within. Defaults to document.body.
|
394
387
|
*/
|
@@ -396,9 +389,16 @@ TearsheetShell.propTypes = _objectSpread({
|
|
396
389
|
/**
|
397
390
|
* Specifies the width of the tearsheet, 'narrow' or 'wide'.
|
398
391
|
*/
|
399
|
-
size:
|
392
|
+
size: index$1["default"].oneOf(['narrow', 'wide']).isRequired,
|
400
393
|
/**
|
401
394
|
* The main title of the tearsheet, displayed in the header area.
|
402
395
|
*/
|
403
|
-
title:
|
404
|
-
}, deprecatedProps);
|
396
|
+
title: index$1["default"].node
|
397
|
+
}, deprecatedProps);
|
398
|
+
|
399
|
+
exports.TearsheetShell = TearsheetShell;
|
400
|
+
exports.deprecatedProps = deprecatedProps;
|
401
|
+
exports.portalType = portalType;
|
402
|
+
exports.tearsheetHasCloseIcon = tearsheetHasCloseIcon;
|
403
|
+
exports.tearsheetIsPassive = tearsheetIsPassive;
|
404
|
+
exports.tearsheetShellWideProps = tearsheetShellWideProps;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export const blockClass: string;
|
2
|
+
export const componentName: "Toolbar";
|
3
|
+
/** Toolbars are a collection of action items that organize a program’s interaction patterns into a series of closely related commands. */
|
4
|
+
export let Toolbar: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
5
|
+
export const ToolbarContext: React.Context<any>;
|
6
|
+
import React from 'react';
|