@carbon/ibm-products 2.24.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 +219 -111
- 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 +73 -111
- 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 +219 -111
- 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 +219 -111
- 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 +35 -36
- 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 +32 -28
- package/es/components/Card/index.d.ts +3 -0
- package/es/components/Carousel/Carousel.d.ts +18 -0
- package/es/components/Carousel/Carousel.js +21 -20
- 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 +21 -20
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkDragbar.js +19 -20
- package/es/components/Coachmark/CoachmarkHeader.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkHeader.js +16 -17
- package/es/components/Coachmark/CoachmarkOverlay.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkOverlay.js +26 -29
- package/es/components/Coachmark/CoachmarkTagline.d.ts +6 -0
- package/es/components/Coachmark/CoachmarkTagline.js +23 -22
- 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 +12 -3
- package/es/components/Coachmark/utils/context.d.ts +2 -0
- package/es/components/Coachmark/utils/context.js +13 -3
- package/es/components/Coachmark/utils/enums.d.ts +23 -0
- package/es/components/Coachmark/utils/enums.js +11 -9
- package/es/components/Coachmark/utils/hooks.d.ts +9 -0
- package/es/components/Coachmark/utils/hooks.js +11 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +5 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +20 -20
- package/es/components/CoachmarkBeacon/index.d.ts +1 -0
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +5 -0
- package/es/components/CoachmarkButton/CoachmarkButton.js +17 -17
- package/es/components/CoachmarkButton/index.d.ts +1 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +8 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +21 -24
- package/es/components/CoachmarkFixed/index.d.ts +1 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +7 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +17 -18
- package/es/components/CoachmarkOverlayElement/index.d.ts +1 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +6 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +27 -33
- package/es/components/CoachmarkOverlayElements/index.d.ts +1 -0
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +8 -0
- package/es/components/CoachmarkStack/CoachmarkStack.js +22 -24
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +6 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +31 -30
- 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 +17 -16
- 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 +24 -22
- 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 +9 -7
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +27 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +21 -19
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +36 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +17 -18
- 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 +22 -24
- 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 +12 -14
- 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 +21 -25
- 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 +21 -25
- 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 +21 -25
- 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 +21 -25
- 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 +21 -25
- 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 +21 -25
- 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 +61 -60
- package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NoDataIllustration.js +51 -50
- package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +122 -121
- package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +92 -91
- package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +89 -88
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +15 -0
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +82 -81
- 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 +53 -59
- package/es/components/InterstitialScreen/index.d.ts +1 -0
- package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +5 -0
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +13 -14
- package/es/components/InterstitialScreenView/index.d.ts +1 -0
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +5 -0
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +15 -17
- 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 +17 -15
- 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 +17 -22
- 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 +25 -11
- 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 -93
- 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 +65 -60
- package/lib/components/Card/index.d.ts +3 -0
- package/lib/components/Carousel/Carousel.d.ts +18 -0
- package/lib/components/Carousel/Carousel.js +60 -58
- 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 +72 -74
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkDragbar.js +49 -49
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkHeader.js +38 -37
- package/lib/components/Coachmark/CoachmarkOverlay.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkOverlay.js +58 -63
- package/lib/components/Coachmark/CoachmarkTagline.d.ts +6 -0
- package/lib/components/Coachmark/CoachmarkTagline.js +44 -41
- 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 +29 -21
- package/lib/components/Coachmark/utils/context.d.ts +2 -0
- package/lib/components/Coachmark/utils/context.js +20 -11
- package/lib/components/Coachmark/utils/enums.d.ts +23 -0
- package/lib/components/Coachmark/utils/enums.js +16 -15
- package/lib/components/Coachmark/utils/hooks.d.ts +9 -0
- package/lib/components/Coachmark/utils/hooks.js +25 -17
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +5 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +40 -38
- package/lib/components/CoachmarkBeacon/index.d.ts +1 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +5 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.js +38 -35
- package/lib/components/CoachmarkButton/index.d.ts +1 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +8 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +63 -66
- package/lib/components/CoachmarkFixed/index.d.ts +1 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +7 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +36 -35
- package/lib/components/CoachmarkOverlayElement/index.d.ts +1 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +6 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +68 -74
- package/lib/components/CoachmarkOverlayElements/index.d.ts +1 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +8 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.js +77 -78
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +6 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +69 -68
- 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 +37 -36
- 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 +45 -28
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +27 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +49 -48
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +36 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +59 -59
- 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 +40 -40
- 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 +34 -35
- 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 +51 -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 +51 -53
- 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 +51 -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 +51 -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 +51 -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 +51 -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 +80 -74
- package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +70 -64
- package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +141 -135
- package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +111 -105
- package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +108 -102
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +15 -0
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +101 -95
- 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 +122 -129
- package/lib/components/InterstitialScreen/index.d.ts +1 -0
- package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +5 -0
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +35 -32
- package/lib/components/InterstitialScreenView/index.d.ts +1 -0
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +5 -0
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +36 -34
- 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 +37 -29
- 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 +56 -61
- 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 +34 -19
- 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 +36 -22
- 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/SidePanel/_side-panel.scss +36 -44
- 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 +3 -0
- package/scss/components/_index.scss +3 -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/Coachmark/index.js +0 -10
- package/es/components/Coachmark/utils/helpers.js +0 -11
- package/es/components/CoachmarkBeacon/index.js +0 -8
- package/es/components/CoachmarkButton/index.js +0 -8
- package/es/components/CoachmarkFixed/index.js +0 -8
- package/es/components/CoachmarkOverlayElement/index.js +0 -8
- package/es/components/CoachmarkOverlayElements/index.js +0 -8
- package/es/components/CoachmarkStack/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/InterstitialScreen/index.js +0 -8
- package/es/components/InterstitialScreenView/index.js +0 -8
- package/es/components/InterstitialScreenViewModule/index.js +0 -8
- 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/SearchBar/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 -60
- 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/Coachmark/index.js +0 -38
- package/lib/components/Coachmark/utils/helpers.js +0 -17
- package/lib/components/CoachmarkBeacon/index.js +0 -12
- package/lib/components/CoachmarkButton/index.js +0 -12
- package/lib/components/CoachmarkFixed/index.js +0 -12
- package/lib/components/CoachmarkOverlayElement/index.js +0 -12
- package/lib/components/CoachmarkOverlayElements/index.js +0 -12
- package/lib/components/CoachmarkStack/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/InterstitialScreen/index.js +0 -12
- package/lib/components/InterstitialScreenView/index.js +0 -12
- package/lib/components/InterstitialScreenViewModule/index.js +0 -12
- 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/SearchBar/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 -640
- 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,363 +0,0 @@
|
|
1
|
-
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
2
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
3
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
4
|
-
//
|
5
|
-
// Copyright IBM Corp. 2021, 2021
|
6
|
-
//
|
7
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
8
|
-
// LICENSE file in the root directory of this source tree.
|
9
|
-
//
|
10
|
-
|
11
|
-
var _require = require('child_process'),
|
12
|
-
execFileSync = _require.execFileSync;
|
13
|
-
var _require2 = require('path'),
|
14
|
-
resolve = _require2.resolve;
|
15
|
-
var r = function r(file) {
|
16
|
-
return resolve(__dirname, file);
|
17
|
-
};
|
18
|
-
var loadPath1 = r('../../../../node_modules');
|
19
|
-
var loadPath2 = r('../../../../../../node_modules');
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Check that an SCSS file compiles correctly. This function does not return
|
23
|
-
* a value, but if the SCSS file does not compile it will throw an Error
|
24
|
-
* containing details of the compilation failure.
|
25
|
-
* @param {string} file fully qualified file name of the SCSS file to check.
|
26
|
-
*/
|
27
|
-
export var scssCheck = function scssCheck(file) {
|
28
|
-
// We use the sass cli because this is currently much faster than using
|
29
|
-
// the API owing to the overhead of @import resolution through the API.
|
30
|
-
// When the sass API is revised it may be feasible to switch back to
|
31
|
-
// using the API for SCSS compilation and checking.
|
32
|
-
execFileSync('sass', ['--style=expanded', '--no-source-map', '--load-path', loadPath1, '--load-path', loadPath2, file], {
|
33
|
-
stdio: ['ignore', 'ignore', 'pipe']
|
34
|
-
});
|
35
|
-
};
|
36
|
-
|
37
|
-
/**
|
38
|
-
* Compile an SCSS file, and return the compiled CSS as a String. If the SCSS
|
39
|
-
* file does not compile this function will throw an Error containing details
|
40
|
-
* of the compilation failure.
|
41
|
-
* @param {string} file fully qualified file name of the SCSS file to compile.
|
42
|
-
*/
|
43
|
-
export var scssCompile = function scssCompile(file) {
|
44
|
-
var compressed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
45
|
-
return (
|
46
|
-
// We use the sass cli because this is currently much faster than using
|
47
|
-
// the API owing to the overhead of @import resolution through the API.
|
48
|
-
// When the sass API is revised it may be feasible to switch back to
|
49
|
-
// using the API for SCSS compilation and checking.
|
50
|
-
execFileSync('sass', [compressed ? '--style=compressed' : '--style=expanded', '--no-source-map', '--load-path', loadPath1, '--load-path', loadPath2, file], {
|
51
|
-
stdio: ['ignore', 'pipe', 'pipe'],
|
52
|
-
maxBuffer: 1024 * 1024 * 1.5
|
53
|
-
}).toString()
|
54
|
-
);
|
55
|
-
};
|
56
|
-
|
57
|
-
/**
|
58
|
-
* A helper function to mock properties of the HTML element prototype.
|
59
|
-
* @param {*} options An object containing one or more properties, being the
|
60
|
-
* names of properties to add/replace in the HTML element prototype along with
|
61
|
-
* a property descriptor to apply. The property descriptor may contain a value
|
62
|
-
* field, and optionally a writable flag, or it may contain a get and/or a set
|
63
|
-
* method. Other property descriptor fields may also be included, but each
|
64
|
-
* mocked property will always be made configurable (in order to enable the
|
65
|
-
* mock to be restored later).
|
66
|
-
* @returns An object containing a mockRestore function which will return all
|
67
|
-
* replaced properties to their original states and remove all added properties.
|
68
|
-
* This function should be called after tests in order not to pollute other
|
69
|
-
* tests with the installed mocks.
|
70
|
-
*/
|
71
|
-
var hep = HTMLElement.prototype;
|
72
|
-
export var mockHTMLElement = function mockHTMLElement(options) {
|
73
|
-
var originals = {};
|
74
|
-
for (var option in options) {
|
75
|
-
originals[option] = Object.getOwnPropertyDescriptor(hep, option);
|
76
|
-
Object.defineProperty(hep, option,
|
77
|
-
// Ensure we'll be able to restore or delete the property later
|
78
|
-
Object.assign({}, options[option], {
|
79
|
-
configurable: true
|
80
|
-
}));
|
81
|
-
}
|
82
|
-
return {
|
83
|
-
mockRestore: function mockRestore() {
|
84
|
-
for (var _option in options) {
|
85
|
-
if (originals[_option]) {
|
86
|
-
Object.defineProperty(hep, _option, originals[_option]);
|
87
|
-
} else {
|
88
|
-
delete hep[_option];
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
};
|
93
|
-
};
|
94
|
-
|
95
|
-
// a utility function used by expectWarn/Error to convert an argument
|
96
|
-
// match element to an expect matcher
|
97
|
-
var makeMatcher = function makeMatcher(arg) {
|
98
|
-
return typeof arg === 'string' ? expect.stringContaining(arg) : arg instanceof RegExp ? expect.stringMatching(arg) : arg;
|
99
|
-
};
|
100
|
-
|
101
|
-
// a utility function used by expectWarn/Error to convert a single argument
|
102
|
-
// match or an array of argument matches to an array of expect matchers
|
103
|
-
var makeMatcherArray = function makeMatcherArray(args) {
|
104
|
-
return Array.isArray(args) ? args.map(function (arg) {
|
105
|
-
return makeMatcher(arg);
|
106
|
-
}) : [makeMatcher(args)];
|
107
|
-
};
|
108
|
-
|
109
|
-
/**
|
110
|
-
* A helper function to enable a test to expect a single call to
|
111
|
-
* console.warn, for example when intentionally using a deprecated prop
|
112
|
-
* or supplying invalid parameters for the purposes of the test.
|
113
|
-
* @param {string|regex|function|[]} message the expected parameters for the call to
|
114
|
-
* console.warn, which must be called exactly once. A single string or regex or an
|
115
|
-
* expect matcher can be used to match a single-argument call to console.warn (most common),
|
116
|
-
* while an array of strings and/or regex and/or expect matchers can be used to match a
|
117
|
-
* multiple-argument call. Strings can be full or substring matches to the corresponding
|
118
|
-
* argument.
|
119
|
-
* @param {Function} test the test function to call, during which the call to
|
120
|
-
* console.warn will be expected.
|
121
|
-
*/
|
122
|
-
export var expectWarn = function expectWarn(message, test) {
|
123
|
-
var warn = jest.spyOn(console, 'warn').mockImplementation(jest.fn());
|
124
|
-
var result = test();
|
125
|
-
expect(warn).toBeCalledTimes(1);
|
126
|
-
// expect(warn).toHaveBeenCalledWith(...makeMatcherArray(message));
|
127
|
-
warn.mockRestore();
|
128
|
-
return result;
|
129
|
-
};
|
130
|
-
|
131
|
-
/**
|
132
|
-
* An async version of expectWarn which awaits the test function and expects the call
|
133
|
-
* to console.warn to have been made.
|
134
|
-
*/
|
135
|
-
export var expectWarnAsync = /*#__PURE__*/function () {
|
136
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(message, test) {
|
137
|
-
var _expect;
|
138
|
-
var warn;
|
139
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
140
|
-
while (1) switch (_context.prev = _context.next) {
|
141
|
-
case 0:
|
142
|
-
warn = jest.spyOn(console, 'warn').mockImplementation(jest.fn());
|
143
|
-
_context.next = 3;
|
144
|
-
return test();
|
145
|
-
case 3:
|
146
|
-
expect(warn).toBeCalledTimes(1);
|
147
|
-
(_expect = expect(warn)).toHaveBeenCalledWith.apply(_expect, _toConsumableArray(makeMatcherArray(message)));
|
148
|
-
warn.mockRestore();
|
149
|
-
case 6:
|
150
|
-
case "end":
|
151
|
-
return _context.stop();
|
152
|
-
}
|
153
|
-
}, _callee);
|
154
|
-
}));
|
155
|
-
return function expectWarnAsync(_x, _x2) {
|
156
|
-
return _ref.apply(this, arguments);
|
157
|
-
};
|
158
|
-
}();
|
159
|
-
|
160
|
-
/**
|
161
|
-
* A helper function to enable a test to expect multiple calls to
|
162
|
-
* console.warn, for example when intentionally using a deprecated prop
|
163
|
-
* or supplying invalid parameters for the purposes of the test.
|
164
|
-
* @param {[]} messages the expected parameters for successive calls to console.warn,
|
165
|
-
* which must be called exactly as many times as there are elements in the array.
|
166
|
-
* Each element of the array can either be a string or a regex or an expect matcher,
|
167
|
-
* all of which can be used to match a single-argument call to console.warn (most common),
|
168
|
-
* or can be an array of strings and/or regex and/or expect matchers, to match a
|
169
|
-
* multiple-argument call. Strings can be full or substring matches to the corresponding
|
170
|
-
* argument.
|
171
|
-
* @param {Function} test the test function to call, during which the calls to
|
172
|
-
* console.warn will be expected.
|
173
|
-
*/
|
174
|
-
export var expectMultipleWarn = /*#__PURE__*/function () {
|
175
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(messages, test) {
|
176
|
-
var warn, result;
|
177
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
178
|
-
while (1) switch (_context2.prev = _context2.next) {
|
179
|
-
case 0:
|
180
|
-
warn = jest.spyOn(console, 'warn').mockImplementation(jest.fn());
|
181
|
-
_context2.next = 3;
|
182
|
-
return test();
|
183
|
-
case 3:
|
184
|
-
result = _context2.sent;
|
185
|
-
expect(warn).toBeCalledTimes(messages.length);
|
186
|
-
// TODO: React 18 update - console messages appear to be failing with calls that look like printf props
|
187
|
-
// messages.forEach((args, index) =>
|
188
|
-
// expect(warn).toHaveBeenNthCalledWith(index + 1, ...makeMatcherArray(args))
|
189
|
-
// );
|
190
|
-
warn.mockRestore();
|
191
|
-
return _context2.abrupt("return", result);
|
192
|
-
case 7:
|
193
|
-
case "end":
|
194
|
-
return _context2.stop();
|
195
|
-
}
|
196
|
-
}, _callee2);
|
197
|
-
}));
|
198
|
-
return function expectMultipleWarn(_x3, _x4) {
|
199
|
-
return _ref2.apply(this, arguments);
|
200
|
-
};
|
201
|
-
}();
|
202
|
-
export var checkLogging = function checkLogging(mockedThing, message) {
|
203
|
-
if (message) {
|
204
|
-
expect(mockedThing).toBeCalled();
|
205
|
-
// TODO: React 18 update - console messages appear to be failing with calls that look like printf props
|
206
|
-
// expect(mockedThing).toHaveBeenCalledWith(1, ...makeMatcherArray(message));
|
207
|
-
}
|
208
|
-
};
|
209
|
-
|
210
|
-
/**
|
211
|
-
* A helper function to enable a test to expect a single call to
|
212
|
-
* console.error, for example when intentionally omitting a required prop
|
213
|
-
* or supplying an invalid prop type or value for the purposes of the test.
|
214
|
-
* @param {errors: {string|regex|function|[]}, warnings: {string|regex|function|[]}} messages the expected parameters for the call to
|
215
|
-
* console.error or console.warn, which must be called exactly once. A single string or regex or an
|
216
|
-
* expect matcher can be used to match a single-argument call to console.error (most common),
|
217
|
-
* while an array of strings and/or regex and/or expect matchers can be used to match a
|
218
|
-
* multiple-argument call. Strings can be full or substring matches to the corresponding
|
219
|
-
* argument.
|
220
|
-
* @param {Function} test the test function to call, during which the call to
|
221
|
-
* console.error will be expected.
|
222
|
-
*/
|
223
|
-
export var expectLogging = /*#__PURE__*/function () {
|
224
|
-
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref3, test) {
|
225
|
-
var errors, warnings, error, warn, result;
|
226
|
-
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
227
|
-
while (1) switch (_context3.prev = _context3.next) {
|
228
|
-
case 0:
|
229
|
-
errors = _ref3.errors, warnings = _ref3.warnings;
|
230
|
-
error = jest.spyOn(console, 'error').mockImplementation(jest.fn());
|
231
|
-
warn = jest.spyOn(console, 'warn').mockImplementation(jest.fn());
|
232
|
-
_context3.next = 5;
|
233
|
-
return test();
|
234
|
-
case 5:
|
235
|
-
result = _context3.sent;
|
236
|
-
checkLogging(error, errors);
|
237
|
-
checkLogging(warn, warnings);
|
238
|
-
error.mockRestore();
|
239
|
-
warn.mockRestore();
|
240
|
-
return _context3.abrupt("return", result);
|
241
|
-
case 11:
|
242
|
-
case "end":
|
243
|
-
return _context3.stop();
|
244
|
-
}
|
245
|
-
}, _callee3);
|
246
|
-
}));
|
247
|
-
return function expectLogging(_x5, _x6) {
|
248
|
-
return _ref4.apply(this, arguments);
|
249
|
-
};
|
250
|
-
}();
|
251
|
-
|
252
|
-
/**
|
253
|
-
* A helper function to enable a test to expect a single call to
|
254
|
-
* console.error, for example when intentionally omitting a required prop
|
255
|
-
* or supplying an invalid prop type or value for the purposes of the test.
|
256
|
-
* @param {string|regex|function|[]} message the expected parameters for the call to
|
257
|
-
* console.error, which must be called exactly once. A single string or regex or an
|
258
|
-
* expect matcher can be used to match a single-argument call to console.error (most common),
|
259
|
-
* while an array of strings and/or regex and/or expect matchers can be used to match a
|
260
|
-
* multiple-argument call. Strings can be full or substring matches to the corresponding
|
261
|
-
* argument.
|
262
|
-
* @param {Function} test the test function to call, during which the call to
|
263
|
-
* console.error will be expected.
|
264
|
-
*/
|
265
|
-
export var expectError = function expectError(message, test) {
|
266
|
-
var error = jest.spyOn(console, 'error').mockImplementation(jest.fn());
|
267
|
-
var result = test();
|
268
|
-
checkLogging(error, message);
|
269
|
-
error.mockRestore();
|
270
|
-
return result;
|
271
|
-
};
|
272
|
-
|
273
|
-
/**
|
274
|
-
* A helper function to enable a test to expect multiple calls to
|
275
|
-
* console.warn, for example when intentionally using a deprecated prop
|
276
|
-
* or supplying invalid parameters for the purposes of the test.
|
277
|
-
* @param {[]} messages the expected parameters for successive calls to console.error,
|
278
|
-
* which must be called exactly as many times as there are elements in the array.
|
279
|
-
* Each element of the array can either be a string or a regex or an expect matcher,
|
280
|
-
* all of which can be used to match a single-argument call to console.error (most common),
|
281
|
-
* or can be an array of strings and/or regex and/or expect matchers, to match a
|
282
|
-
* multiple-argument call. Strings can be full or substring matches to the corresponding
|
283
|
-
* argument.
|
284
|
-
* @param {Function} test the test function to call, during which the calls to
|
285
|
-
* console.error will be expected.
|
286
|
-
*/
|
287
|
-
export var expectMultipleError = /*#__PURE__*/function () {
|
288
|
-
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(messages, test) {
|
289
|
-
var error, result;
|
290
|
-
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
291
|
-
while (1) switch (_context4.prev = _context4.next) {
|
292
|
-
case 0:
|
293
|
-
// const jestFn = jest.fn();
|
294
|
-
error = jest.spyOn(global.console, 'error').mockImplementation(jest.fn()); // const error = jest.spyOn(console, 'error').mockImplementation((...args) => {
|
295
|
-
// console.log(args);
|
296
|
-
// return jestFn();
|
297
|
-
// });
|
298
|
-
_context4.next = 3;
|
299
|
-
return test();
|
300
|
-
case 3:
|
301
|
-
result = _context4.sent;
|
302
|
-
expect(error).toBeCalledTimes(messages.length);
|
303
|
-
|
304
|
-
// TODO: React 18 update - console messages appear to be failing with calls that look like printf props
|
305
|
-
// messages.forEach((args, index) =>
|
306
|
-
// expect(error).toHaveBeenNthCalledWith(index + 1, ...makeMatcherArray(args))
|
307
|
-
// );
|
308
|
-
error.mockRestore();
|
309
|
-
return _context4.abrupt("return", result);
|
310
|
-
case 7:
|
311
|
-
case "end":
|
312
|
-
return _context4.stop();
|
313
|
-
}
|
314
|
-
}, _callee4);
|
315
|
-
}));
|
316
|
-
return function expectMultipleError(_x7, _x8) {
|
317
|
-
return _ref5.apply(this, arguments);
|
318
|
-
};
|
319
|
-
}();
|
320
|
-
|
321
|
-
/**
|
322
|
-
* Return an expect matcher for a prop deprecation, suitable to pass to expectWarn
|
323
|
-
* or expectMultipleWarn.
|
324
|
-
* @param {string} propName the prop name that is deprecated, or a matching regex
|
325
|
-
* @param {string} componentName the component name on which the prop is defined, or a matching regex
|
326
|
-
*/
|
327
|
-
export var deprecated = function deprecated(propName, componentName) {
|
328
|
-
var additionalInfo = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
|
329
|
-
return expect.stringMatching(new RegExp("^The prop `".concat(propName, "` of `").concat(componentName, "` has been deprecated and will soon be removed. ").concat(additionalInfo)));
|
330
|
-
};
|
331
|
-
|
332
|
-
/**
|
333
|
-
* Return an expect matcher for a prop usage deprecation, suitable to pass to expectWarn
|
334
|
-
* or expectMultipleWarn.
|
335
|
-
* @param {string} propName the prop name whose usage has changed
|
336
|
-
* @param {string} componentName the component name on which the prop is defined
|
337
|
-
*/
|
338
|
-
export var deprecatedUsage = function deprecatedUsage(propName, componentName) {
|
339
|
-
var additionalInfo = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
|
340
|
-
return expect.stringMatching(new RegExp("^The usage of the prop `".concat(propName, "` of `").concat(componentName, "` has been changed and support for the old usage will soon be removed. ").concat(additionalInfo)));
|
341
|
-
};
|
342
|
-
|
343
|
-
/**
|
344
|
-
* Return an expect matcher for a missing required prop, suitable to pass to expectError
|
345
|
-
* or expectMultipleError.
|
346
|
-
* @param {string} propName the prop name that is required, or a matching regex
|
347
|
-
* @param {string} componentName the component name on which the prop is defined, or a matching regex
|
348
|
-
*/
|
349
|
-
export var required = function required(propName, componentName) {
|
350
|
-
return expect.stringMatching(new RegExp("^Warning: Failed prop type: The prop `".concat(propName, "` is marked as required in `").concat(componentName, "`, but its value is `(.*)`.")));
|
351
|
-
};
|
352
|
-
|
353
|
-
/**
|
354
|
-
* Return an expect matcher for an invalid prop, suitable to pass to expectError
|
355
|
-
* or expectMultipleError.
|
356
|
-
* @param {string} propName the prop name that is invalid, or a matching regex
|
357
|
-
* @param {string} componentName the component name on which the prop is defined, or a matching regex
|
358
|
-
* @param {string} suppliedType the type that is being supplied, or a matching regex
|
359
|
-
* @param {string} expectedType the type that is expected, or a matching regex
|
360
|
-
*/
|
361
|
-
export var invalid = function invalid(propName, componentName, suppliedType, expectedType) {
|
362
|
-
return expect.stringMatching(new RegExp("^Warning: Failed prop type: Invalid prop `".concat(propName, "` of type `").concat(suppliedType, "` supplied to `").concat(componentName, "`, expected `").concat(expectedType, "`.")));
|
363
|
-
};
|
@@ -1,63 +0,0 @@
|
|
1
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
2
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
3
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
4
|
-
import React from 'react';
|
5
|
-
|
6
|
-
/**
|
7
|
-
* unwrapIfFragment - walks the passed children unwrapping fragments
|
8
|
-
* to create a flat array of all children
|
9
|
-
*/
|
10
|
-
var unwrapIfFragment = function unwrapIfFragment(children) {
|
11
|
-
// When passed one of the following
|
12
|
-
// - A fragment with zero or more children *1
|
13
|
-
// - An array with zero or more children *1
|
14
|
-
// - A single node
|
15
|
-
// *1 - The children of the above can be any of the above
|
16
|
-
// Outputs - A flat array of child nodes
|
17
|
-
var newChildArray = [];
|
18
|
-
var isFragment = function isFragment(item) {
|
19
|
-
return item && item.type === React.Fragment;
|
20
|
-
};
|
21
|
-
var addChildren = function addChildren(children) {
|
22
|
-
var loopOver = function loopOver(children) {
|
23
|
-
// children may be a single item
|
24
|
-
var _children = Array.isArray(children) ? children : [children];
|
25
|
-
var _iterator = _createForOfIteratorHelper(_children),
|
26
|
-
_step;
|
27
|
-
try {
|
28
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
29
|
-
var child = _step.value;
|
30
|
-
addChildren(child);
|
31
|
-
}
|
32
|
-
} catch (err) {
|
33
|
-
_iterator.e(err);
|
34
|
-
} finally {
|
35
|
-
_iterator.f();
|
36
|
-
}
|
37
|
-
};
|
38
|
-
|
39
|
-
// children is nothing, one fragment, array with one or more children, or a single item
|
40
|
-
if (!children) {
|
41
|
-
return;
|
42
|
-
}
|
43
|
-
if (isFragment(children)) {
|
44
|
-
loopOver(children.props.children);
|
45
|
-
} else {
|
46
|
-
if (Array.isArray(children)) {
|
47
|
-
loopOver(children);
|
48
|
-
} else {
|
49
|
-
newChildArray.push(children);
|
50
|
-
}
|
51
|
-
}
|
52
|
-
};
|
53
|
-
|
54
|
-
// nothing, one fragment, array with one or more children, or a single item
|
55
|
-
addChildren(children);
|
56
|
-
|
57
|
-
// wrapping with React.Children caters for any missing keys
|
58
|
-
var keyedChildren = React.Children.map(newChildArray, function (child) {
|
59
|
-
return child;
|
60
|
-
});
|
61
|
-
return keyedChildren;
|
62
|
-
};
|
63
|
-
export default unwrapIfFragment;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import uuidv4 from './uuidv4';
|
2
|
-
describe('uuidv4', function () {
|
3
|
-
beforeEach(function () {
|
4
|
-
jest.resetAllMocks();
|
5
|
-
});
|
6
|
-
it('Uses Math.random when window is not defined', function () {
|
7
|
-
var _window = window,
|
8
|
-
crypto = _window.crypto;
|
9
|
-
delete window.crypto;
|
10
|
-
var mockMath = Object.create(global.Math);
|
11
|
-
var mockMathRandom = jest.fn().mockReturnValue(0.5);
|
12
|
-
mockMath.random = mockMathRandom;
|
13
|
-
global.Math = mockMath;
|
14
|
-
expect(uuidv4()).toEqual('98888888-9888-4888-a888-988888888888');
|
15
|
-
window.crypto = crypto;
|
16
|
-
});
|
17
|
-
it('Uses crypto from window when window is defined', function () {
|
18
|
-
var mGetRandomValues = jest.fn().mockReturnValue(new Uint32Array(10));
|
19
|
-
Object.defineProperty(window, 'crypto', {
|
20
|
-
value: {
|
21
|
-
getRandomValues: mGetRandomValues
|
22
|
-
}
|
23
|
-
});
|
24
|
-
expect(uuidv4()).toEqual('10000000-1000-4000-8000-100000000000');
|
25
|
-
expect(mGetRandomValues).toBeCalledWith(new Uint8Array(1));
|
26
|
-
});
|
27
|
-
});
|
@@ -1,36 +0,0 @@
|
|
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.default = void 0;
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
10
|
-
var _StoryDocsPage = require("../../global/js/utils/StoryDocsPage");
|
11
|
-
var _blocks = require("@storybook/blocks");
|
12
|
-
var _storyHelper = require("../../global/js/utils/story-helper");
|
13
|
-
var stories = _interopRequireWildcard(require("./APIKeyModal.stories"));
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
16
|
-
var DocsPage = function DocsPage() {
|
17
|
-
var _useOf = (0, _blocks.useOf)('meta', ['meta']),
|
18
|
-
csfFile = _useOf.csfFile;
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_StoryDocsPage.StoryDocsPage, {
|
20
|
-
altGuidelinesHref: [(0, _storyHelper.storyDocsGuidelines)(csfFile), {
|
21
|
-
href: 'https://www.carbondesignsystem.com/components/modal/usage',
|
22
|
-
label: 'Carbon Modal usage guidelines'
|
23
|
-
}, {
|
24
|
-
href: 'https://react.carbondesignsystem.com/?path=/docs/modal--default',
|
25
|
-
label: 'Carbon Modal documentation'
|
26
|
-
}],
|
27
|
-
blocks: [{
|
28
|
-
story: stories.Edit,
|
29
|
-
description: "API key creation / generation is assumed to be the default mode for this modal.\nTo enable key editing you have to set the `edit` prop to true and supply any\nother edit related props with the relevant input."
|
30
|
-
}, {
|
31
|
-
description: "By default generate and edit only supply a name input for your key. If you need additional input you should use custom steps",
|
32
|
-
story: stories.CustomEdit
|
33
|
-
}]
|
34
|
-
});
|
35
|
-
};
|
36
|
-
var _default = exports.default = DocsPage;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "APIKeyModal", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _APIKeyModal.APIKeyModal;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
var _APIKeyModal = require("./APIKeyModal");
|
@@ -1,31 +0,0 @@
|
|
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.default = void 0;
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
10
|
-
var _StoryDocsPage = require("../../global/js/utils/StoryDocsPage");
|
11
|
-
var stories = _interopRequireWildcard(require("./AboutModal.stories"));
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
14
|
-
var DocsPage = function DocsPage() {
|
15
|
-
return /*#__PURE__*/_react.default.createElement(_StoryDocsPage.StoryDocsPage, {
|
16
|
-
guidelinesHref: "https://pages.github.ibm.com/cdai-design/pal/patterns/about-modal/usage",
|
17
|
-
blocks: [{
|
18
|
-
story: stories.aboutModal
|
19
|
-
}, {
|
20
|
-
story: stories.fullyLoaded
|
21
|
-
}, {
|
22
|
-
title: 'Overriding the Carbon theme',
|
23
|
-
description: 'The design recommendation is to use a dark theme for the AboutModal if the application is currently using a light theme, and vice versa. The theme applied to the AboutModal can easily be customized as follows:',
|
24
|
-
source: {
|
25
|
-
language: 'css',
|
26
|
-
code: ".#{$pkg-prefix}--about-modal {\n @include carbon--theme(\n $theme: $carbon--theme--g90\n );\n}"
|
27
|
-
}
|
28
|
-
}]
|
29
|
-
});
|
30
|
-
};
|
31
|
-
var _default = exports.default = DocsPage;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "AboutModal", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _AboutModal.AboutModal;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
var _AboutModal = require("./AboutModal");
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "ActionBar", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _ActionBar.ActionBar;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "ActionBarItem", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _ActionBarItem.ActionBarItem;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
var _ActionBar = require("./ActionBar");
|
19
|
-
var _ActionBarItem = require("./ActionBarItem");
|
@@ -1,61 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.actionsOptions = exports.actionsMapping = exports.actionsLabels = void 0;
|
7
|
-
/**
|
8
|
-
* Copyright IBM Corp. 2021, 2021
|
9
|
-
*
|
10
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
11
|
-
* LICENSE file in the root directory of this source tree.
|
12
|
-
*/
|
13
|
-
|
14
|
-
var actionsOptions = exports.actionsOptions = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
15
|
-
var actionsLabels = exports.actionsLabels = {
|
16
|
-
0: 'None',
|
17
|
-
1: 'One button',
|
18
|
-
2: 'A danger button',
|
19
|
-
3: 'A ghost button',
|
20
|
-
4: 'Two buttons',
|
21
|
-
5: 'Two buttons with one ghost',
|
22
|
-
6: 'Three buttons',
|
23
|
-
7: 'Three buttons with one ghost',
|
24
|
-
8: 'Three buttons with one danger',
|
25
|
-
9: 'Four buttons with one ghost',
|
26
|
-
10: 'Four buttons with two danger'
|
27
|
-
};
|
28
|
-
var actionsMapping = exports.actionsMapping = function actionsMapping(labels, action) {
|
29
|
-
var _labels$primary, _labels$danger, _labels$secondary, _labels$secondary2, _labels$dangerGhost, _labels$ghost;
|
30
|
-
var act = function act(label, kind, key) {
|
31
|
-
var actionCall = action && action("Click on '".concat(label, "'"));
|
32
|
-
return {
|
33
|
-
label: label,
|
34
|
-
kind: kind,
|
35
|
-
key: key,
|
36
|
-
onClick: actionCall && function (evt) {
|
37
|
-
evt && evt.persist();
|
38
|
-
actionCall(evt);
|
39
|
-
}
|
40
|
-
};
|
41
|
-
};
|
42
|
-
var primary = act((_labels$primary = labels === null || labels === void 0 ? void 0 : labels.primary) !== null && _labels$primary !== void 0 ? _labels$primary : 'Primary', 'primary', 1);
|
43
|
-
var danger = act((_labels$danger = labels === null || labels === void 0 ? void 0 : labels.danger) !== null && _labels$danger !== void 0 ? _labels$danger : 'Danger', 'danger', 2);
|
44
|
-
var secondary = act((_labels$secondary = labels === null || labels === void 0 ? void 0 : labels.secondary) !== null && _labels$secondary !== void 0 ? _labels$secondary : 'Secondary', 'secondary', 3);
|
45
|
-
var secondary2 = act((_labels$secondary2 = labels === null || labels === void 0 ? void 0 : labels.secondary2) !== null && _labels$secondary2 !== void 0 ? _labels$secondary2 : 'Secondary', 'secondary', 4);
|
46
|
-
var dangerGhost = act((_labels$dangerGhost = labels === null || labels === void 0 ? void 0 : labels.dangerGhost) !== null && _labels$dangerGhost !== void 0 ? _labels$dangerGhost : 'Danger-ghost', 'danger--ghost', 5);
|
47
|
-
var ghost = act((_labels$ghost = labels === null || labels === void 0 ? void 0 : labels.ghost) !== null && _labels$ghost !== void 0 ? _labels$ghost : 'Ghost', 'ghost', 6);
|
48
|
-
return {
|
49
|
-
0: [],
|
50
|
-
1: [primary],
|
51
|
-
2: [danger],
|
52
|
-
3: [ghost],
|
53
|
-
4: [primary, secondary],
|
54
|
-
5: [primary, ghost],
|
55
|
-
6: [primary, secondary, secondary2],
|
56
|
-
7: [primary, secondary, ghost],
|
57
|
-
8: [danger, secondary, ghost],
|
58
|
-
9: [primary, secondary, secondary2, ghost],
|
59
|
-
10: [danger, secondary, secondary2, dangerGhost]
|
60
|
-
};
|
61
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "ActionSet", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _ActionSet.ActionSet;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
var _ActionSet = require("./ActionSet");
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "AddSelect", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _AddSelect.AddSelect;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
var _AddSelect = require("./AddSelect");
|