@carbon/ibm-products 1.73.1 → 1.73.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index-full-carbon.css +33 -55
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -14
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +24 -41
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -12
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +26 -49
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -14
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +30 -53
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -14
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +3 -3
- package/es/components/AboutModal/AboutModal.js +2 -2
- package/es/components/ActionBar/ActionBar.js +4 -4
- package/es/components/ActionBar/ActionBarItem.js +2 -2
- package/es/components/ActionSet/ActionSet.js +5 -6
- package/es/components/AddSelect/AddSelectBody.js +4 -4
- package/es/components/AddSelect/AddSelectColumn.js +5 -4
- package/es/components/AddSelect/AddSelectFilter.js +2 -2
- package/es/components/AddSelect/AddSelectList.js +2 -3
- package/es/components/AddSelect/AddSelectSidebar.js +1 -1
- package/es/components/AddSelect/add-select-utils.js +7 -6
- package/es/components/AddSelect/hooks/usePath.js +2 -2
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +4 -5
- package/es/components/ButtonMenu/ButtonMenu.js +0 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +5 -5
- package/es/components/Card/Card.js +3 -4
- package/es/components/Card/CardHeader.js +1 -2
- package/es/components/Cascade/Cascade.js +2 -2
- package/es/components/Coachmark/Coachmark.js +1 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +2 -3
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -2
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/es/components/ComboButton/ComboButton.js +2 -2
- package/es/components/CreateFullPage/CreateFullPageStep.js +3 -4
- package/es/components/CreateInfluencer/CreateInfluencer.js +0 -1
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +2 -2
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +3 -4
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +3 -5
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +7 -8
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +4 -5
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +2 -3
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +5 -5
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +4 -4
- package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +4 -4
- package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +1 -2
- package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +0 -1
- package/es/components/DataSpreadsheet/utils/generateData.js +2 -2
- package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +2 -2
- package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +4 -4
- package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +2 -4
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +2 -2
- package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +2 -2
- package/es/components/DataSpreadsheet/utils/selectAllCells.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -2
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +4 -5
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridRow.js +15 -16
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +2 -3
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +3 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +11 -11
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +11 -11
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +3 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +5 -5
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +0 -2
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +5 -5
- package/es/components/Datagrid/Datagrid.stories/common.js +5 -5
- package/es/components/Datagrid/useActionsColumn.js +3 -5
- package/es/components/Datagrid/useColumnCenterAlign.js +2 -2
- package/es/components/Datagrid/useColumnRightAlign.js +2 -2
- package/es/components/Datagrid/useCustomizeColumns.js +2 -2
- package/es/components/Datagrid/useDatagrid.js +2 -2
- package/es/components/Datagrid/useDefaultStringRenderer.js +2 -2
- package/es/components/Datagrid/useDisableSelectRows.js +4 -4
- package/es/components/Datagrid/useExpandedRow.js +2 -2
- package/es/components/Datagrid/useFiltering.js +7 -8
- package/es/components/Datagrid/useFloatingScroll.js +1 -1
- package/es/components/Datagrid/useInitialColumnSort.js +1 -1
- package/es/components/Datagrid/useInlineEdit.js +2 -2
- package/es/components/Datagrid/useNestedRowExpander.js +3 -4
- package/es/components/Datagrid/useNestedRows.js +1 -2
- package/es/components/Datagrid/useRowExpander.js +2 -2
- package/es/components/Datagrid/useRowIsMouseOver.js +2 -2
- package/es/components/Datagrid/useRowRenderer.js +3 -3
- package/es/components/Datagrid/useRowSize.js +2 -2
- package/es/components/Datagrid/useSelectRows.js +4 -5
- package/es/components/Datagrid/useSortableColumns.js +3 -4
- package/es/components/Datagrid/useStickyColumn.js +5 -7
- package/es/components/Datagrid/utils/DatagridPagination.js +0 -1
- package/es/components/Datagrid/utils/filterPropsForTesting.js +2 -3
- package/es/components/Datagrid/utils/makeData.js +5 -5
- package/es/components/EditInPlace/EditInPlace.js +2 -2
- package/es/components/EditSidePanel/EditSidePanel.js +2 -2
- package/es/components/EditTearsheet/EditTearsheetForm.js +1 -2
- package/es/components/EmptyStates/EmptyState.js +2 -2
- package/es/components/EmptyStates/EmptyStateContent.js +2 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +2 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +2 -2
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +2 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +2 -2
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +2 -2
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +2 -2
- package/es/components/ExampleComponent/ExampleComponent.js +2 -2
- package/es/components/ExportModal/ExportModal.js +5 -5
- package/es/components/FilterSummary/FilterSummary.js +3 -3
- package/es/components/HTTPErrors/HTTPErrorContent.js +2 -2
- package/es/components/ImportModal/ImportModal.js +3 -3
- package/es/components/InlineEdit/InlineEdit.js +2 -2
- package/es/components/InlineEditV1/InlineEditV1.js +5 -4
- package/es/components/InlineEditV2/InlineEditV2.js +3 -4
- package/es/components/InlineTip/utils.js +6 -5
- package/es/components/InterstitialScreen/InterstitialScreen.js +4 -5
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +0 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +2 -3
- package/es/components/PageHeader/PageHeader.js +11 -13
- package/es/components/PageHeader/PageHeaderUtils.js +2 -2
- package/es/components/ProductiveCard/ProductiveCard.js +2 -2
- package/es/components/RemoveModal/RemoveModal.js +2 -2
- package/es/components/Saving/Saving.js +6 -6
- package/es/components/SidePanel/SidePanel.js +17 -18
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +2 -2
- package/es/components/TagSet/TagSet.js +4 -4
- package/es/components/TagSet/TagSetModal.js +5 -5
- package/es/components/TagSet/TagSetOverflow.js +1 -2
- package/es/components/Tearsheet/Tearsheet.js +2 -2
- package/es/components/Tearsheet/TearsheetNarrow.js +2 -2
- package/es/components/Tearsheet/TearsheetShell.js +10 -11
- package/es/components/WebTerminal/WebTerminal.js +3 -4
- package/es/global/js/hooks/useCreateComponentFocus.js +1 -1
- package/es/global/js/hooks/useCreateComponentStepChange.js +3 -3
- package/es/global/js/hooks/useFocus.js +4 -4
- package/es/global/js/hooks/useWindowResize.js +2 -2
- package/es/global/js/package-settings.js +2 -3
- package/es/global/js/utils/Wrap.js +3 -3
- package/es/global/js/utils/deepCloneObject.js +4 -3
- package/es/global/js/utils/getNodeTextContent.js +6 -5
- package/es/global/js/utils/motionConstants.js +0 -1
- package/es/global/js/utils/props-helper.js +3 -3
- package/es/global/js/utils/scrollableAncestor.js +3 -3
- package/es/global/js/utils/test-helper.js +1 -1
- package/es/global/js/utils/unwrap-if-fragment.js +6 -6
- package/lib/components/APIKeyModal/APIKeyDownloader.js +4 -5
- package/lib/components/APIKeyModal/APIKeyModal.js +12 -8
- package/lib/components/AboutModal/AboutModal.js +14 -6
- package/lib/components/ActionBar/ActionBar.js +16 -9
- package/lib/components/ActionBar/ActionBarItem.js +12 -5
- package/lib/components/ActionBar/ActionBarOverflowItems.js +3 -4
- package/lib/components/ActionSet/ActionSet.js +15 -8
- package/lib/components/ActionSet/actions.js +4 -7
- package/lib/components/AddSelect/AddSelect.js +9 -5
- package/lib/components/AddSelect/AddSelectBody.js +13 -9
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +1 -2
- package/lib/components/AddSelect/AddSelectColumn.js +12 -8
- package/lib/components/AddSelect/AddSelectFilter.js +10 -6
- package/lib/components/AddSelect/AddSelectList.js +3 -5
- package/lib/components/AddSelect/AddSelectMetaPanel.js +3 -4
- package/lib/components/AddSelect/AddSelectSidebar.js +8 -4
- package/lib/components/AddSelect/AddSelectSort.js +1 -2
- package/lib/components/AddSelect/add-select-utils.js +10 -14
- package/lib/components/AddSelect/hooks/useItemSort.js +2 -3
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/lib/components/AddSelect/hooks/usePath.js +8 -4
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +16 -10
- package/lib/components/ButtonMenu/ButtonMenu.js +10 -3
- package/lib/components/ButtonMenu/ButtonMenuItem.js +1 -2
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +13 -9
- package/lib/components/Card/Card.js +12 -9
- package/lib/components/Card/CardFooter.js +1 -2
- package/lib/components/Card/CardHeader.js +2 -4
- package/lib/components/Carousel/Carousel.js +9 -4
- package/lib/components/Carousel/CarouselItem.js +8 -2
- package/lib/components/Cascade/Cascade.js +11 -7
- package/lib/components/Checklist/Checklist.js +19 -4
- package/lib/components/Checklist/ChecklistChart.js +15 -2
- package/lib/components/Checklist/ChecklistIcon.js +17 -2
- package/lib/components/Coachmark/Coachmark.js +10 -5
- package/lib/components/Coachmark/CoachmarkDragbar.js +11 -4
- package/lib/components/Coachmark/CoachmarkHeader.js +9 -2
- package/lib/components/Coachmark/CoachmarkOverlay.js +11 -4
- package/lib/components/Coachmark/CoachmarkTagline.js +9 -2
- package/lib/components/Coachmark/utils/constants.js +2 -3
- package/lib/components/Coachmark/utils/context.js +3 -5
- package/lib/components/Coachmark/utils/enums.js +4 -7
- package/lib/components/Coachmark/utils/hooks.js +2 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +11 -5
- package/lib/components/CoachmarkButton/CoachmarkButton.js +9 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +12 -6
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +9 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +11 -4
- package/lib/components/CoachmarkStack/CoachmarkStack.js +9 -4
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +10 -5
- package/lib/components/ComboButton/ComboButton.js +11 -6
- package/lib/components/ComboButton/ComboButtonItem/index.js +1 -2
- package/lib/components/CreateFullPage/CreateFullPage.js +14 -8
- package/lib/components/CreateFullPage/CreateFullPageStep.js +12 -8
- package/lib/components/CreateInfluencer/CreateInfluencer.js +1 -3
- package/lib/components/CreateModal/CreateModal.js +10 -3
- package/lib/components/CreateSidePanel/CreateSidePanel.js +12 -4
- package/lib/components/CreateTearsheet/CreateTearsheet.js +11 -8
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +9 -4
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +12 -8
- package/lib/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +11 -5
- package/lib/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +4 -5
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +10 -3
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +14 -9
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +15 -12
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +12 -9
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +2 -3
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +2 -3
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +2 -3
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +4 -6
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +7 -8
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +11 -7
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +2 -3
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +2 -3
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +6 -7
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +3 -5
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +2 -4
- package/lib/components/DataSpreadsheet/utils/generateData.js +4 -5
- package/lib/components/DataSpreadsheet/utils/getCellSize.js +2 -3
- package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +2 -3
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +2 -3
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +9 -5
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +2 -3
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +6 -7
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +9 -7
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +4 -5
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +11 -9
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +2 -3
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +2 -3
- package/lib/components/DataSpreadsheet/utils/selectAllCells.js +9 -5
- package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -2
- package/lib/components/Datagrid/Datagrid/DatagridBody.js +1 -2
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +4 -6
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -2
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +1 -2
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +1 -2
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +12 -9
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +9 -4
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +21 -18
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +11 -6
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +9 -4
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +9 -4
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +9 -4
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +10 -7
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +2 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +3 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +9 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +3 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +10 -6
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +8 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +9 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +4 -6
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -8
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +12 -10
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +15 -30
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +19 -15
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +4 -7
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +3 -5
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +19 -15
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +11 -8
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +10 -6
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +12 -8
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +3 -4
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +10 -5
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +3 -6
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +16 -16
- package/lib/components/Datagrid/Datagrid.stories/CustomizeColumnStory.js +2 -3
- package/lib/components/Datagrid/Datagrid.stories/RowSizeDropdownStory.js +2 -3
- package/lib/components/Datagrid/Datagrid.stories/SelectAllWithToggleStory.js +2 -3
- package/lib/components/Datagrid/Datagrid.stories/common.js +9 -12
- package/lib/components/Datagrid/common-column-ids.js +1 -2
- package/lib/components/Datagrid/useActionsColumn.js +10 -7
- package/lib/components/Datagrid/useColumnCenterAlign.js +8 -4
- package/lib/components/Datagrid/useColumnOrder.js +1 -2
- package/lib/components/Datagrid/useColumnRightAlign.js +8 -4
- package/lib/components/Datagrid/useCustomizeColumns.js +10 -6
- package/lib/components/Datagrid/useDatagrid.js +9 -4
- package/lib/components/Datagrid/useDefaultStringRenderer.js +9 -4
- package/lib/components/Datagrid/useDisableSelectRows.js +5 -6
- package/lib/components/Datagrid/useEditableCell.js +1 -2
- package/lib/components/Datagrid/useExpandedRow.js +8 -4
- package/lib/components/Datagrid/useFiltering.js +13 -10
- package/lib/components/Datagrid/useFlexResize.js +1 -2
- package/lib/components/Datagrid/useFloatingScroll.js +2 -3
- package/lib/components/Datagrid/useFocusRowExpander.js +2 -3
- package/lib/components/Datagrid/useInfiniteScroll.js +1 -2
- package/lib/components/Datagrid/useInitialColumnSort.js +3 -4
- package/lib/components/Datagrid/useInlineEdit.js +5 -6
- package/lib/components/Datagrid/useNestedRowExpander.js +11 -8
- package/lib/components/Datagrid/useNestedRows.js +2 -4
- package/lib/components/Datagrid/useOnRowClick.js +1 -2
- package/lib/components/Datagrid/useParentDimensions.js +1 -2
- package/lib/components/Datagrid/useResizeTable.js +1 -2
- package/lib/components/Datagrid/useRowExpander.js +10 -6
- package/lib/components/Datagrid/useRowIsMouseOver.js +9 -4
- package/lib/components/Datagrid/useRowRenderer.js +4 -5
- package/lib/components/Datagrid/useRowSize.js +9 -4
- package/lib/components/Datagrid/useSelectAllToggle.js +3 -4
- package/lib/components/Datagrid/useSelectRows.js +12 -9
- package/lib/components/Datagrid/useSkeletonRows.js +1 -2
- package/lib/components/Datagrid/useSortableColumns.js +10 -8
- package/lib/components/Datagrid/useStickyColumn.js +11 -9
- package/lib/components/Datagrid/utils/DatagridActions.js +4 -5
- package/lib/components/Datagrid/utils/DatagridPagination.js +2 -4
- package/lib/components/Datagrid/utils/Wrapper.js +2 -3
- package/lib/components/Datagrid/utils/filterPropsForTesting.js +5 -8
- package/lib/components/Datagrid/utils/getArgTypes.js +2 -3
- package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +2 -3
- package/lib/components/Datagrid/utils/getInlineEditColumns.js +3 -5
- package/lib/components/Datagrid/utils/handleFilterTagLabelText.js +2 -3
- package/lib/components/Datagrid/utils/makeData.js +13 -11
- package/lib/components/EditFullPage/EditFullPage.js +9 -2
- package/lib/components/EditInPlace/EditInPlace.js +11 -6
- package/lib/components/EditSidePanel/EditSidePanel.js +12 -4
- package/lib/components/EditTearsheet/EditTearsheet.js +11 -8
- package/lib/components/EditTearsheet/EditTearsheetForm.js +10 -6
- package/lib/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +4 -5
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +9 -2
- package/lib/components/EditUpdateCards/EditUpdateCards.js +9 -2
- package/lib/components/EmptyStates/EmptyState.js +12 -6
- package/lib/components/EmptyStates/EmptyStateContent.js +10 -4
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +11 -4
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +11 -4
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +11 -4
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +11 -4
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +11 -4
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +11 -4
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +9 -2
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +9 -2
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +9 -2
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +9 -2
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +9 -2
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +9 -2
- package/lib/components/ExampleComponent/ExampleComponent.js +14 -6
- package/lib/components/ExampleComponent/useExample.js +1 -2
- package/lib/components/ExportModal/ExportModal.js +14 -10
- package/lib/components/ExpressiveCard/ExpressiveCard.js +3 -4
- package/lib/components/FilterSummary/FilterSummary.js +12 -7
- package/lib/components/Guidebanner/Guidebanner.js +11 -4
- package/lib/components/Guidebanner/GuidebannerElement.js +9 -2
- package/lib/components/Guidebanner/GuidebannerElementButton.js +9 -2
- package/lib/components/Guidebanner/GuidebannerElementLink.js +9 -2
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +9 -2
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +9 -2
- package/lib/components/HTTPErrors/HTTPErrorContent.js +10 -4
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +9 -2
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -2
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -2
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -2
- package/lib/components/ImportModal/ImportModal.js +12 -8
- package/lib/components/InlineEdit/InlineEdit.js +11 -6
- package/lib/components/InlineEditV1/InlineEditV1.js +18 -8
- package/lib/components/InlineEditV2/InlineEditV2.js +13 -10
- package/lib/components/InlineTip/InlineTip.js +11 -4
- package/lib/components/InlineTip/InlineTipButton.js +9 -2
- package/lib/components/InlineTip/InlineTipLink.js +9 -2
- package/lib/components/InlineTip/utils.js +5 -6
- package/lib/components/InterstitialScreen/InterstitialScreen.js +15 -9
- package/lib/components/InterstitialScreen/assets/index.js +4 -8
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +9 -2
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +9 -3
- package/lib/components/ModifiedTabs/ModifiedTabLabelNew.js +1 -2
- package/lib/components/ModifiedTabs/ModifiedTabLabelWithClose.js +1 -2
- package/lib/components/ModifiedTabs/ModifiedTabs.js +3 -4
- package/lib/components/MultiAddSelect/MultiAddSelect.js +3 -4
- package/lib/components/NonLinearReading/NonLinearReading.js +9 -4
- package/lib/components/NotificationsPanel/NotificationsPanel.js +14 -7
- package/lib/components/NotificationsPanel/NotificationsPanel_data.js +1 -2
- package/lib/components/NotificationsPanel/preview-components/UnreadNotificationBell.js +2 -3
- package/lib/components/NotificationsPanel/utils.js +1 -2
- package/lib/components/OptionsTile/OptionsTile.js +12 -4
- package/lib/components/PageHeader/PageHeader.js +21 -20
- package/lib/components/PageHeader/PageHeaderDemo.data.js +3 -4
- package/lib/components/PageHeader/PageHeaderTitle.js +2 -4
- package/lib/components/PageHeader/PageHeaderUtils.js +12 -11
- package/lib/components/ProductiveCard/ProductiveCard.js +11 -7
- package/lib/components/RemoveModal/RemoveModal.js +11 -7
- package/lib/components/Saving/Saving.js +15 -10
- package/lib/components/SidePanel/SidePanel.js +29 -22
- package/lib/components/SidePanel/constants.js +2 -3
- package/lib/components/SidePanel/motion/variants.js +3 -5
- package/lib/components/SingleAddSelect/SingleAddSelect.js +3 -4
- package/lib/components/StatusIcon/StatusIcon.js +7 -2
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +13 -6
- package/lib/components/SteppedAnimatedMedia/assets/index.js +3 -6
- package/lib/components/TagSet/TagSet.js +15 -13
- package/lib/components/TagSet/TagSetModal.js +14 -10
- package/lib/components/TagSet/TagSetOverflow.js +10 -7
- package/lib/components/Tearsheet/Tearsheet.js +13 -6
- package/lib/components/Tearsheet/TearsheetNarrow.js +13 -6
- package/lib/components/Tearsheet/TearsheetShell.js +26 -23
- package/lib/components/Toolbar/Toolbar.js +12 -10
- package/lib/components/Toolbar/ToolbarButton.js +10 -6
- package/lib/components/Toolbar/ToolbarGroup.js +9 -4
- package/lib/components/UserProfileImage/UserProfileImage.js +10 -2
- package/lib/components/WebTerminal/WebTerminal.js +15 -8
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +9 -2
- package/lib/components/WebTerminal/hooks/index.js +6 -9
- package/lib/components/WebTerminal/preview-components/Navigation.js +1 -2
- package/lib/components/WebTerminal/preview-components/documentationLinks.js +2 -3
- package/lib/components/_Canary/Canary.js +11 -2
- package/lib/global/js/hooks/useActiveElement.js +2 -3
- package/lib/global/js/hooks/useClickOutside.js +2 -3
- package/lib/global/js/hooks/useCreateComponentFocus.js +3 -4
- package/lib/global/js/hooks/useCreateComponentStepChange.js +5 -6
- package/lib/global/js/hooks/useFocus.js +6 -7
- package/lib/global/js/hooks/useIsomorphicEffect.js +1 -2
- package/lib/global/js/hooks/usePrefix.js +2 -3
- package/lib/global/js/hooks/usePreviousValue.js +2 -3
- package/lib/global/js/hooks/useResetCreateComponent.js +2 -3
- package/lib/global/js/hooks/useResizeObserver.js +2 -3
- package/lib/global/js/hooks/useRetrieveStepData.js +2 -3
- package/lib/global/js/hooks/useValidCreateStepCount.js +2 -3
- package/lib/global/js/hooks/useWindowResize.js +4 -5
- package/lib/global/js/package-settings.js +9 -6
- package/lib/global/js/utils/ClickListener.js +3 -4
- package/lib/global/js/utils/DisplayBox.js +1 -2
- package/lib/global/js/utils/Wrap.js +12 -5
- package/lib/global/js/utils/deepCloneObject.js +3 -4
- package/lib/global/js/utils/devtools.js +1 -2
- package/lib/global/js/utils/getBezierValues.js +2 -3
- package/lib/global/js/utils/getFocusableElements.js +2 -3
- package/lib/global/js/utils/getNodeTextContent.js +5 -6
- package/lib/global/js/utils/getNumberOfHiddenSteps.js +2 -3
- package/lib/global/js/utils/getScrollbarWidth.js +2 -3
- package/lib/global/js/utils/keyboardNavigation.js +4 -8
- package/lib/global/js/utils/lastIndexInArray.js +2 -3
- package/lib/global/js/utils/motionConstants.js +3 -5
- package/lib/global/js/utils/pconsole.js +8 -15
- package/lib/global/js/utils/props-helper.js +15 -17
- package/lib/global/js/utils/rangeWithCallback.js +2 -3
- package/lib/global/js/utils/scrollableAncestor.js +5 -6
- package/lib/global/js/utils/story-helper.js +6 -11
- package/lib/global/js/utils/test-helper.js +15 -28
- package/lib/global/js/utils/unwrap-if-fragment.js +7 -8
- package/lib/global/js/utils/uuidv4.js +1 -2
- package/lib/global/js/utils/wait.js +1 -2
- package/lib/global/js/utils/wrapFocus.js +1 -2
- package/lib/settings.js +2 -4
- package/package.json +13 -13
- package/scss/components/AboutModal/_about-modal.scss +1 -2
- package/scss/components/Checklist/_checklist.scss +0 -1
- package/scss/components/Coachmark/styles/_coachmark-tagline.scss +1 -4
- package/scss/components/Datagrid/_datagrid.scss +0 -1
- package/scss/components/Datagrid/styles/_datagrid.scss +1 -2
- package/scss/components/SidePanel/_side-panel.scss +1 -4
@@ -13,6 +13,14 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _devtools = require("../../global/js/utils/devtools");
|
14
14
|
var _settings = require("../../settings");
|
15
15
|
var _excluded = ["children", "className"];
|
16
|
+
/**
|
17
|
+
* Copyright IBM Corp. 2022, 2022
|
18
|
+
*
|
19
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
21
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// Carbon and package components we use.
|
17
25
|
/* TODO: @import(s) of carbon components and other package components. */
|
18
26
|
|
@@ -39,7 +47,7 @@ var componentName = 'EditFullPage';
|
|
39
47
|
/**
|
40
48
|
* TODO: A description of the component.
|
41
49
|
*/
|
42
|
-
var EditFullPage = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
50
|
+
var EditFullPage = exports.EditFullPage = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
43
51
|
var children = _ref.children,
|
44
52
|
className = _ref.className,
|
45
53
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
@@ -59,7 +67,6 @@ var EditFullPage = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
59
67
|
});
|
60
68
|
|
61
69
|
// Return a placeholder if not released and not enabled by feature flag
|
62
|
-
exports.EditFullPage = EditFullPage;
|
63
70
|
exports.EditFullPage = EditFullPage = _settings.pkg.checkComponentEnabled(EditFullPage, componentName);
|
64
71
|
|
65
72
|
// The display name of the component, used by React. Note that displayName
|
@@ -14,10 +14,16 @@ var _settings = require("../../settings");
|
|
14
14
|
var _InlineEditV = require("../InlineEditV1");
|
15
15
|
var _InlineEditV2 = require("../InlineEditV2");
|
16
16
|
var _excluded = ["v2"];
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
/**
|
18
|
+
* Copyright IBM Corp. 2022, 2022
|
19
|
+
*
|
20
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
21
|
+
* LICENSE file in the root directory of this source tree.
|
22
|
+
*/
|
23
|
+
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); }
|
24
|
+
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 && {}.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; }
|
25
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
26
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
21
27
|
/**
|
22
28
|
* this is a wrapper component that will allow us to support the rename of InlineEdit to EditInPlace
|
23
29
|
*
|
@@ -27,7 +33,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
27
33
|
*/
|
28
34
|
|
29
35
|
var componentName = 'EditInPlace';
|
30
|
-
var EditInPlace = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
36
|
+
var EditInPlace = exports.EditInPlace = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
31
37
|
var v2 = _ref.v2,
|
32
38
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
33
39
|
var props = _objectSpread(_objectSpread({}, rest), {}, {
|
@@ -38,7 +44,6 @@ var EditInPlace = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
38
44
|
}
|
39
45
|
return /*#__PURE__*/_react.default.createElement(_InlineEditV.InlineEditV1, props);
|
40
46
|
});
|
41
|
-
exports.EditInPlace = EditInPlace;
|
42
47
|
exports.EditInPlace = EditInPlace = _settings.pkg.checkComponentEnabled(EditInPlace, componentName);
|
43
48
|
EditInPlace.displayName = componentName;
|
44
49
|
EditInPlace.propTypes = {
|
@@ -18,8 +18,17 @@ var _SidePanel = require("../SidePanel");
|
|
18
18
|
require("../../global/js/utils/props-helper");
|
19
19
|
var _uuidv = _interopRequireDefault(require("../../global/js/utils/uuidv4"));
|
20
20
|
var _excluded = ["children", "className", "disableSubmit", "formTitle", "formDescription", "onRequestClose", "onRequestSubmit", "open", "placement", "primaryButtonText", "secondaryButtonText", "selectorPrimaryFocus", "selectorPageContent", "size", "slideIn", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2021, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
// Carbon and package components we use.
|
30
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
31
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
32
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
33
|
var blockClass = "".concat(_settings.pkg.prefix, "--edit-side-panel");
|
25
34
|
var componentName = 'EditSidePanel';
|
@@ -35,7 +44,7 @@ var defaults = {
|
|
35
44
|
/**
|
36
45
|
* TODO: A description of the component.
|
37
46
|
*/
|
38
|
-
var EditSidePanel = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
47
|
+
var EditSidePanel = exports.EditSidePanel = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
39
48
|
var children = _ref.children,
|
40
49
|
className = _ref.className,
|
41
50
|
disableSubmit = _ref.disableSubmit,
|
@@ -99,7 +108,6 @@ var EditSidePanel = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
|
|
99
108
|
});
|
100
109
|
|
101
110
|
// Return a placeholder if not released and not enabled by feature flag
|
102
|
-
exports.EditSidePanel = EditSidePanel;
|
103
111
|
exports.EditSidePanel = EditSidePanel = _settings.pkg.checkComponentEnabled(EditSidePanel, componentName);
|
104
112
|
|
105
113
|
// The display name of the component, used by React. Note that displayName
|
@@ -17,28 +17,32 @@ var _settings = require("../../settings");
|
|
17
17
|
var _devtools = require("../../global/js/utils/devtools");
|
18
18
|
var _TearsheetShell = require("../Tearsheet/TearsheetShell");
|
19
19
|
var _excluded = ["cancelButtonText", "children", "className", "description", "influencerWidth", "label", "onClose", "open", "submitButtonText", "title", "verticalPosition", "onHandleModalClick"];
|
20
|
-
|
21
|
-
|
20
|
+
/**
|
21
|
+
* Copyright IBM Corp. 2022, 2022
|
22
|
+
*
|
23
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
25
|
+
*/
|
26
|
+
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); }
|
27
|
+
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 && {}.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; }
|
22
28
|
var componentName = 'EditTearsheet';
|
23
29
|
var blockClass = "".concat(_settings.pkg.prefix, "--tearsheet-edit");
|
24
30
|
|
25
31
|
// This is a general context for the forms container
|
26
32
|
// containing information about the state of the container
|
27
33
|
// and providing some callback methods for forms to use
|
28
|
-
var FormContext = /*#__PURE__*/(0, _react.createContext)(null);
|
34
|
+
var FormContext = exports.FormContext = /*#__PURE__*/(0, _react.createContext)(null);
|
29
35
|
|
30
36
|
// This is a context supplied separately to each form in the container
|
31
37
|
// to let it know what number it is in the sequence of forms
|
32
|
-
exports.
|
33
|
-
var FormNumberContext = /*#__PURE__*/(0, _react.createContext)(0);
|
38
|
+
var FormNumberContext = exports.FormNumberContext = /*#__PURE__*/(0, _react.createContext)(0);
|
34
39
|
|
35
40
|
// Default values for props
|
36
|
-
exports.FormNumberContext = FormNumberContext;
|
37
41
|
var defaults = {
|
38
42
|
verticalPosition: 'normal',
|
39
43
|
influencerWidth: 'narrow'
|
40
44
|
};
|
41
|
-
var EditTearsheet = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
45
|
+
var EditTearsheet = exports.EditTearsheet = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
42
46
|
var cancelButtonText = _ref.cancelButtonText,
|
43
47
|
children = _ref.children,
|
44
48
|
className = _ref.className,
|
@@ -126,7 +130,6 @@ var EditTearsheet = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
126
130
|
});
|
127
131
|
|
128
132
|
// Return a placeholder if not released and not enabled by feature flag
|
129
|
-
exports.EditTearsheet = EditTearsheet;
|
130
133
|
exports.EditTearsheet = EditTearsheet = _settings.pkg.checkComponentEnabled(EditTearsheet, componentName);
|
131
134
|
|
132
135
|
// The display name of the component, used by React. Note that displayName
|
@@ -17,8 +17,14 @@ var _EditTearsheet = require("./EditTearsheet");
|
|
17
17
|
var _settings = require("../../settings");
|
18
18
|
var _pconsole = _interopRequireDefault(require("../../global/js/utils/pconsole"));
|
19
19
|
var _excluded = ["children", "className", "description", "fieldsetLegendText", "hasFieldset", "subtitle", "title"];
|
20
|
-
|
21
|
-
|
20
|
+
/**
|
21
|
+
* Copyright IBM Corp. 2022, 2022
|
22
|
+
*
|
23
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
25
|
+
*/
|
26
|
+
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); }
|
27
|
+
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 && {}.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; }
|
22
28
|
var componentName = 'EditTearsheetForm';
|
23
29
|
var blockClass = "".concat(_settings.pkg.prefix, "--tearsheet-edit__form");
|
24
30
|
|
@@ -26,8 +32,7 @@ var blockClass = "".concat(_settings.pkg.prefix, "--tearsheet-edit__form");
|
|
26
32
|
var defaults = {
|
27
33
|
hasFieldset: true
|
28
34
|
};
|
29
|
-
var EditTearsheetForm = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
30
|
-
var _cx;
|
35
|
+
var EditTearsheetForm = exports.EditTearsheetForm = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
31
36
|
var children = _ref.children,
|
32
37
|
className = _ref.className,
|
33
38
|
description = _ref.description,
|
@@ -40,7 +45,7 @@ var EditTearsheetForm = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
|
|
40
45
|
var formContext = (0, _react.useContext)(_EditTearsheet.FormContext);
|
41
46
|
var formNumber = (0, _react.useContext)(_EditTearsheet.FormNumberContext);
|
42
47
|
return formContext ? /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, rest, {
|
43
|
-
className: (0, _classnames.default)(blockClass, className, (
|
48
|
+
className: (0, _classnames.default)(blockClass, className, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(blockClass, "__form--hidden-form"), formNumber !== (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm)), "".concat(blockClass, "__form--visible-form"), formNumber === (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm))),
|
44
49
|
ref: ref
|
45
50
|
}), /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Row, null, /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Column, {
|
46
51
|
xlg: 12,
|
@@ -60,7 +65,6 @@ var EditTearsheetForm = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
|
|
60
65
|
});
|
61
66
|
|
62
67
|
// Return a placeholder if not released and not enabled by feature flag
|
63
|
-
exports.EditTearsheetForm = EditTearsheetForm;
|
64
68
|
exports.EditTearsheetForm = EditTearsheetForm = _settings.pkg.checkComponentEnabled(EditTearsheetForm, componentName);
|
65
69
|
EditTearsheetForm.propTypes = {
|
66
70
|
/**
|
@@ -13,8 +13,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _EditTearsheet = require("../EditTearsheet");
|
15
15
|
var _EditTearsheetForm = require("../EditTearsheetForm");
|
16
|
-
function _getRequireWildcardCache(
|
17
|
-
function _interopRequireWildcard(
|
16
|
+
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); }
|
17
|
+
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 && {}.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; }
|
18
18
|
/* eslint-disable react/prop-types */
|
19
19
|
/**
|
20
20
|
* Copyright IBM Corp. 2022, 2022
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
24
24
|
*/
|
25
25
|
|
26
26
|
var blockClass = "".concat(_settings.pkg.prefix, "--tearsheet-edit-multi-form");
|
27
|
-
var MultiFormEditTearsheet = function MultiFormEditTearsheet(_ref) {
|
27
|
+
var MultiFormEditTearsheet = exports.MultiFormEditTearsheet = function MultiFormEditTearsheet(_ref) {
|
28
28
|
var cancelButtonText = _ref.cancelButtonText,
|
29
29
|
className = _ref.className,
|
30
30
|
description = _ref.description,
|
@@ -223,5 +223,4 @@ var MultiFormEditTearsheet = function MultiFormEditTearsheet(_ref) {
|
|
223
223
|
value: "one-month",
|
224
224
|
id: "one-month"
|
225
225
|
})))))));
|
226
|
-
};
|
227
|
-
exports.MultiFormEditTearsheet = MultiFormEditTearsheet;
|
226
|
+
};
|
@@ -13,6 +13,14 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _devtools = require("../../global/js/utils/devtools");
|
14
14
|
var _settings = require("../../settings");
|
15
15
|
var _excluded = ["children", "className"];
|
16
|
+
/**
|
17
|
+
* Copyright IBM Corp. 2022, 2022
|
18
|
+
*
|
19
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
21
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// Carbon and package components we use.
|
17
25
|
/* TODO: @import(s) of carbon components and other package components. */
|
18
26
|
|
@@ -39,7 +47,7 @@ var componentName = 'EditTearsheetNarrow';
|
|
39
47
|
/**
|
40
48
|
* TODO: A description of the component.
|
41
49
|
*/
|
42
|
-
var EditTearsheetNarrow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
50
|
+
var EditTearsheetNarrow = exports.EditTearsheetNarrow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
43
51
|
var children = _ref.children,
|
44
52
|
className = _ref.className,
|
45
53
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
@@ -59,7 +67,6 @@ var EditTearsheetNarrow = /*#__PURE__*/_react.default.forwardRef(function (_ref,
|
|
59
67
|
});
|
60
68
|
|
61
69
|
// Return a placeholder if not released and not enabled by feature flag
|
62
|
-
exports.EditTearsheetNarrow = EditTearsheetNarrow;
|
63
70
|
exports.EditTearsheetNarrow = EditTearsheetNarrow = _settings.pkg.checkComponentEnabled(EditTearsheetNarrow, componentName);
|
64
71
|
|
65
72
|
// The display name of the component, used by React. Note that displayName
|
@@ -15,6 +15,14 @@ var _devtools = require("../../global/js/utils/devtools");
|
|
15
15
|
var _settings = require("../../settings");
|
16
16
|
var _ProductiveCard = require("../ProductiveCard");
|
17
17
|
var _excluded = ["actionIcons", "actionsPlacement", "className", "description", "editChildren", "editMode", "label", "previewChildren", "title", "titleSize"];
|
18
|
+
/**
|
19
|
+
* Copyright IBM Corp. 2022, 2022
|
20
|
+
*
|
21
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
23
|
+
*/
|
24
|
+
// Import portions of React that are needed.
|
25
|
+
// Other standard imports.
|
18
26
|
// import { children } from 'cheerio/lib/api/traversing';
|
19
27
|
|
20
28
|
// Carbon and package components we use.
|
@@ -44,7 +52,7 @@ var componentName = 'EditUpdateCards';
|
|
44
52
|
* TODO: A description of the component.
|
45
53
|
*/
|
46
54
|
|
47
|
-
var EditUpdateCards = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
55
|
+
var EditUpdateCards = exports.EditUpdateCards = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
48
56
|
var actionIcons = _ref.actionIcons,
|
49
57
|
actionsPlacement = _ref.actionsPlacement,
|
50
58
|
className = _ref.className,
|
@@ -78,7 +86,6 @@ var EditUpdateCards = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref
|
|
78
86
|
});
|
79
87
|
|
80
88
|
// Return a placeholder if not released and not enabled by feature flag
|
81
|
-
exports.EditUpdateCards = EditUpdateCards;
|
82
89
|
exports.EditUpdateCards = EditUpdateCards = _settings.pkg.checkComponentEnabled(EditUpdateCards, componentName);
|
83
90
|
|
84
91
|
// The display name of the component, used by React. Note that displayName
|
@@ -17,18 +17,25 @@ require("../../global/js/utils/props-helper");
|
|
17
17
|
var _settings = require("../../settings");
|
18
18
|
var _EmptyStateContent = require("./EmptyStateContent");
|
19
19
|
var _excluded = ["action", "className", "illustration", "illustrationDescription", "link", "size", "subtitle", "title"];
|
20
|
-
|
21
|
-
|
20
|
+
/**
|
21
|
+
* Copyright IBM Corp. 2020, 2021
|
22
|
+
*
|
23
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
25
|
+
*/
|
26
|
+
// Import portions of React that are needed.
|
27
|
+
// Other standard imports.
|
28
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
29
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
22
30
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
23
31
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
24
32
|
var componentName = 'EmptyState';
|
25
33
|
|
26
34
|
// Default values for props
|
27
|
-
var defaults = {
|
35
|
+
var defaults = exports.defaults = {
|
28
36
|
size: 'lg'
|
29
37
|
};
|
30
|
-
exports.
|
31
|
-
var EmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
38
|
+
var EmptyState = exports.EmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
32
39
|
var action = _ref.action,
|
33
40
|
className = _ref.className,
|
34
41
|
illustration = _ref.illustration,
|
@@ -59,7 +66,6 @@ var EmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
59
66
|
});
|
60
67
|
|
61
68
|
// Return a placeholder if not released and not enabled by feature flag
|
62
|
-
exports.EmptyState = EmptyState;
|
63
69
|
exports.EmptyState = EmptyState = _settings.pkg.checkComponentEnabled(EmptyState, componentName);
|
64
70
|
EmptyState.propTypes = {
|
65
71
|
/**
|
@@ -12,12 +12,19 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _settings = require("../../settings");
|
13
13
|
var _classnames = _interopRequireDefault(require("classnames"));
|
14
14
|
var _carbonComponentsReact = require("carbon-components-react");
|
15
|
-
function ownKeys(
|
16
|
-
function _objectSpread(
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
|
17
|
+
* Copyright IBM Corp. 2020, 2021
|
18
|
+
*
|
19
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
21
|
+
*/ // Import portions of React that are needed.
|
22
|
+
// Other standard imports.
|
23
|
+
// Carbon and package components we use.
|
17
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
18
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
19
26
|
var componentName = 'EmptyStateContent';
|
20
|
-
var EmptyStateContent = function EmptyStateContent(_ref) {
|
27
|
+
var EmptyStateContent = exports.EmptyStateContent = function EmptyStateContent(_ref) {
|
21
28
|
var action = _ref.action,
|
22
29
|
link = _ref.link,
|
23
30
|
size = _ref.size,
|
@@ -41,7 +48,6 @@ var EmptyStateContent = function EmptyStateContent(_ref) {
|
|
41
48
|
|
42
49
|
// The display name of the component, used by React. Note that displayName
|
43
50
|
// is used in preference to relying on function.name.
|
44
|
-
exports.EmptyStateContent = EmptyStateContent;
|
45
51
|
EmptyStateContent.displayName = componentName;
|
46
52
|
|
47
53
|
// The types and DocGen commentary for the component props,
|
@@ -18,12 +18,20 @@ var _EmptyStateContent = require("../EmptyStateContent");
|
|
18
18
|
var _ErrorIllustration = require("../assets/ErrorIllustration");
|
19
19
|
var _EmptyState = require("../EmptyState");
|
20
20
|
var _excluded = ["action", "className", "illustrationDescription", "illustrationTheme", "link", "size", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2020, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
31
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
25
33
|
var componentName = 'ErrorEmptyState';
|
26
|
-
var ErrorEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
34
|
+
var ErrorEmptyState = exports.ErrorEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
27
35
|
var action = _ref.action,
|
28
36
|
className = _ref.className,
|
29
37
|
illustrationDescription = _ref.illustrationDescription,
|
@@ -51,7 +59,6 @@ var ErrorEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref
|
|
51
59
|
});
|
52
60
|
|
53
61
|
// Return a placeholder if not released and not enabled by feature flag
|
54
|
-
exports.ErrorEmptyState = ErrorEmptyState;
|
55
62
|
exports.ErrorEmptyState = ErrorEmptyState = _settings.pkg.checkComponentEnabled(ErrorEmptyState, componentName);
|
56
63
|
|
57
64
|
// The display name of the component, used by React. Note that displayName
|
@@ -18,12 +18,20 @@ var _EmptyStateContent = require("../EmptyStateContent");
|
|
18
18
|
var _NoDataIllustration = require("../assets/NoDataIllustration");
|
19
19
|
var _EmptyState = require("../EmptyState");
|
20
20
|
var _excluded = ["action", "className", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2020, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
31
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
25
33
|
var componentName = 'NoDataEmptyState';
|
26
|
-
var NoDataEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
34
|
+
var NoDataEmptyState = exports.NoDataEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
27
35
|
var action = _ref.action,
|
28
36
|
className = _ref.className,
|
29
37
|
illustrationTheme = _ref.illustrationTheme,
|
@@ -51,7 +59,6 @@ var NoDataEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, re
|
|
51
59
|
});
|
52
60
|
|
53
61
|
// Return a placeholder if not released and not enabled by feature flag
|
54
|
-
exports.NoDataEmptyState = NoDataEmptyState;
|
55
62
|
exports.NoDataEmptyState = NoDataEmptyState = _settings.pkg.checkComponentEnabled(NoDataEmptyState, componentName);
|
56
63
|
|
57
64
|
// The display name of the component, used by React. Note that displayName
|
@@ -18,12 +18,20 @@ var _EmptyStateContent = require("../EmptyStateContent");
|
|
18
18
|
var _NoTagsIllustration = require("../assets/NoTagsIllustration");
|
19
19
|
var _EmptyState = require("../EmptyState");
|
20
20
|
var _excluded = ["action", "className", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2020, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
31
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
25
33
|
var componentName = 'NoTagsEmptyState';
|
26
|
-
var NoTagsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
34
|
+
var NoTagsEmptyState = exports.NoTagsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
27
35
|
var action = _ref.action,
|
28
36
|
className = _ref.className,
|
29
37
|
illustrationTheme = _ref.illustrationTheme,
|
@@ -51,7 +59,6 @@ var NoTagsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, re
|
|
51
59
|
});
|
52
60
|
|
53
61
|
// Return a placeholder if not released and not enabled by feature flag
|
54
|
-
exports.NoTagsEmptyState = NoTagsEmptyState;
|
55
62
|
exports.NoTagsEmptyState = NoTagsEmptyState = _settings.pkg.checkComponentEnabled(NoTagsEmptyState, componentName);
|
56
63
|
|
57
64
|
// The display name of the component, used by React. Note that displayName
|
@@ -18,12 +18,20 @@ var _EmptyStateContent = require("../EmptyStateContent");
|
|
18
18
|
var _NotFoundIllustration = require("../assets/NotFoundIllustration");
|
19
19
|
var _EmptyState = require("../EmptyState");
|
20
20
|
var _excluded = ["action", "className", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2020, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
31
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
25
33
|
var componentName = 'NotFoundEmptyState';
|
26
|
-
var NotFoundEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
34
|
+
var NotFoundEmptyState = exports.NotFoundEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
27
35
|
var action = _ref.action,
|
28
36
|
className = _ref.className,
|
29
37
|
illustrationTheme = _ref.illustrationTheme,
|
@@ -51,7 +59,6 @@ var NotFoundEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref,
|
|
51
59
|
});
|
52
60
|
|
53
61
|
// Return a placeholder if not released and not enabled by feature flag
|
54
|
-
exports.NotFoundEmptyState = NotFoundEmptyState;
|
55
62
|
exports.NotFoundEmptyState = NotFoundEmptyState = _settings.pkg.checkComponentEnabled(NotFoundEmptyState, componentName);
|
56
63
|
|
57
64
|
// The display name of the component, used by React. Note that displayName
|
@@ -18,12 +18,20 @@ var _EmptyStateContent = require("../EmptyStateContent");
|
|
18
18
|
var _NotificationsIllustration = require("../assets/NotificationsIllustration");
|
19
19
|
var _EmptyState = require("../EmptyState");
|
20
20
|
var _excluded = ["action", "className", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2020, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
31
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
25
33
|
var componentName = 'NotificationsEmptyState';
|
26
|
-
var NotificationsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
34
|
+
var NotificationsEmptyState = exports.NotificationsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
27
35
|
var action = _ref.action,
|
28
36
|
className = _ref.className,
|
29
37
|
illustrationTheme = _ref.illustrationTheme,
|
@@ -51,7 +59,6 @@ var NotificationsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_
|
|
51
59
|
});
|
52
60
|
|
53
61
|
// Return a placeholder if not released and not enabled by feature flag
|
54
|
-
exports.NotificationsEmptyState = NotificationsEmptyState;
|
55
62
|
exports.NotificationsEmptyState = NotificationsEmptyState = _settings.pkg.checkComponentEnabled(NotificationsEmptyState, componentName);
|
56
63
|
|
57
64
|
// The display name of the component, used by React. Note that displayName
|
@@ -18,12 +18,20 @@ var _EmptyStateContent = require("../EmptyStateContent");
|
|
18
18
|
var _UnauthorizedIllustration = require("../assets/UnauthorizedIllustration");
|
19
19
|
var _EmptyState = require("../EmptyState");
|
20
20
|
var _excluded = ["action", "className", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
21
|
-
|
22
|
-
|
21
|
+
/**
|
22
|
+
* Copyright IBM Corp. 2020, 2021
|
23
|
+
*
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
// Import portions of React that are needed.
|
28
|
+
// Other standard imports.
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
23
31
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
25
33
|
var componentName = 'UnauthorizedEmptyState';
|
26
|
-
var UnauthorizedEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
34
|
+
var UnauthorizedEmptyState = exports.UnauthorizedEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
27
35
|
var action = _ref.action,
|
28
36
|
className = _ref.className,
|
29
37
|
illustrationTheme = _ref.illustrationTheme,
|
@@ -51,7 +59,6 @@ var UnauthorizedEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_r
|
|
51
59
|
});
|
52
60
|
|
53
61
|
// Return a placeholder if not released and not enabled by feature flag
|
54
|
-
exports.UnauthorizedEmptyState = UnauthorizedEmptyState;
|
55
62
|
exports.UnauthorizedEmptyState = UnauthorizedEmptyState = _settings.pkg.checkComponentEnabled(UnauthorizedEmptyState, componentName);
|
56
63
|
|
57
64
|
// The display name of the component, used by React. Note that displayName
|