@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,9 +13,17 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
15
|
var _excluded = ["theme", "size", "alt"];
|
16
|
+
/**
|
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
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
|
-
var ErrorIllustration = function ErrorIllustration(_ref) {
|
26
|
+
var ErrorIllustration = exports.ErrorIllustration = function ErrorIllustration(_ref) {
|
19
27
|
var theme = _ref.theme,
|
20
28
|
size = _ref.size,
|
21
29
|
alt = _ref.alt,
|
@@ -204,7 +212,6 @@ var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
204
212
|
fill: "url(#prefix__e_".concat(svgId, ")")
|
205
213
|
})));
|
206
214
|
};
|
207
|
-
exports.ErrorIllustration = ErrorIllustration;
|
208
215
|
ErrorIllustration.propTypes = {
|
209
216
|
alt: _propTypes.default.string.isRequired,
|
210
217
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
@@ -13,9 +13,17 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
15
|
var _excluded = ["theme", "size", "alt"];
|
16
|
+
/**
|
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
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
|
-
var NoDataIllustration = function NoDataIllustration(_ref) {
|
26
|
+
var NoDataIllustration = exports.NoDataIllustration = function NoDataIllustration(_ref) {
|
19
27
|
var theme = _ref.theme,
|
20
28
|
size = _ref.size,
|
21
29
|
alt = _ref.alt,
|
@@ -167,7 +175,6 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
167
175
|
d: "M40 35.24L11.13 18.57v-.24l.21-.12 28.87 16.67-.21.11v.25zM21.49 33.33l-8.2-4.73.01-5.69 8.19 4.74v5.68z"
|
168
176
|
})));
|
169
177
|
};
|
170
|
-
exports.NoDataIllustration = NoDataIllustration;
|
171
178
|
NoDataIllustration.propTypes = {
|
172
179
|
alt: _propTypes.default.string.isRequired,
|
173
180
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
@@ -13,9 +13,17 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
15
|
var _excluded = ["theme", "size", "alt"];
|
16
|
+
/**
|
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
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
|
-
var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
26
|
+
var NoTagsIllustration = exports.NoTagsIllustration = function NoTagsIllustration(_ref) {
|
19
27
|
var theme = _ref.theme,
|
20
28
|
size = _ref.size,
|
21
29
|
alt = _ref.alt,
|
@@ -474,7 +482,6 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
474
482
|
fill: "url(#prefix__j_".concat(svgId, ")")
|
475
483
|
})));
|
476
484
|
};
|
477
|
-
exports.NoTagsIllustration = NoTagsIllustration;
|
478
485
|
NoTagsIllustration.propTypes = {
|
479
486
|
alt: _propTypes.default.string.isRequired,
|
480
487
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
@@ -13,9 +13,17 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
15
|
var _excluded = ["theme", "size", "alt"];
|
16
|
+
/**
|
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
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
|
-
var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
26
|
+
var NotFoundIllustration = exports.NotFoundIllustration = function NotFoundIllustration(_ref) {
|
19
27
|
var theme = _ref.theme,
|
20
28
|
size = _ref.size,
|
21
29
|
alt = _ref.alt,
|
@@ -351,7 +359,6 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
351
359
|
fill: "url(#prefix__g_".concat(svgId, ")")
|
352
360
|
})));
|
353
361
|
};
|
354
|
-
exports.NotFoundIllustration = NotFoundIllustration;
|
355
362
|
NotFoundIllustration.propTypes = {
|
356
363
|
alt: _propTypes.default.string.isRequired,
|
357
364
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
@@ -13,9 +13,17 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
15
|
var _excluded = ["theme", "size", "alt"];
|
16
|
+
/**
|
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
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
|
-
var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
26
|
+
var NotificationsIllustration = exports.NotificationsIllustration = function NotificationsIllustration(_ref) {
|
19
27
|
var theme = _ref.theme,
|
20
28
|
size = _ref.size,
|
21
29
|
alt = _ref.alt,
|
@@ -322,7 +330,6 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
322
330
|
fill: "url(#prefix__k_".concat(svgId, ")")
|
323
331
|
})));
|
324
332
|
};
|
325
|
-
exports.NotificationsIllustration = NotificationsIllustration;
|
326
333
|
NotificationsIllustration.propTypes = {
|
327
334
|
alt: _propTypes.default.string.isRequired,
|
328
335
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
@@ -13,9 +13,17 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
15
|
var _excluded = ["theme", "size", "alt"];
|
16
|
+
/**
|
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
|
+
*/
|
22
|
+
// Import portions of React that are needed.
|
23
|
+
// Other standard imports.
|
16
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
25
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
|
-
var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
26
|
+
var UnauthorizedIllustration = exports.UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
19
27
|
var theme = _ref.theme,
|
20
28
|
size = _ref.size,
|
21
29
|
alt = _ref.alt,
|
@@ -295,7 +303,6 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
295
303
|
fill: "url(#prefix__h_".concat(svgId, ")")
|
296
304
|
})));
|
297
305
|
};
|
298
|
-
exports.UnauthorizedIllustration = UnauthorizedIllustration;
|
299
306
|
UnauthorizedIllustration.propTypes = {
|
300
307
|
alt: _propTypes.default.string.isRequired,
|
301
308
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
@@ -17,10 +17,19 @@ var _settings = require("../../settings");
|
|
17
17
|
var _useExample3 = _interopRequireDefault(require("./useExample"));
|
18
18
|
var _carbonComponentsReact = require("carbon-components-react");
|
19
19
|
var _excluded = ["borderColor", "boxedBorder", "className", "disabled", "usesExampleHook", "onPrimaryClick", "onSecondaryClick", "primaryButtonLabel", "primaryKind", "secondaryButtonLabel", "secondaryKind", "secondaryIcon", "size", "style"];
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
+
// Carbon and package components we use.
|
29
|
+
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); }
|
30
|
+
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; }
|
31
|
+
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; }
|
32
|
+
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; }
|
24
33
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
25
34
|
var blockClass = "".concat(_settings.pkg.prefix, "--example-component");
|
26
35
|
var componentName = 'ExampleComponent';
|
@@ -37,7 +46,7 @@ var defaults = {
|
|
37
46
|
/**
|
38
47
|
* This is an example component to show relevant conventions and usage.
|
39
48
|
*/
|
40
|
-
var ExampleComponent = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
49
|
+
var ExampleComponent = exports.ExampleComponent = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
41
50
|
var borderColor = _ref.borderColor,
|
42
51
|
boxedBorder = _ref.boxedBorder,
|
43
52
|
className = _ref.className,
|
@@ -107,7 +116,6 @@ var ExampleComponent = /*#__PURE__*/_react.default.forwardRef(function (_ref, re
|
|
107
116
|
});
|
108
117
|
|
109
118
|
// Return a placeholder if not released and not enabled by feature flag.
|
110
|
-
exports.ExampleComponent = ExampleComponent;
|
111
119
|
exports.ExampleComponent = ExampleComponent = _settings.pkg.checkComponentEnabled(ExampleComponent, componentName);
|
112
120
|
|
113
121
|
// The display name of the component, used by React. Note that displayName
|
@@ -18,11 +18,16 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
18
18
|
var _devtools = require("../../global/js/utils/devtools");
|
19
19
|
var _uuidv = _interopRequireDefault(require("../../global/js/utils/uuidv4"));
|
20
20
|
var _settings = require("../../settings");
|
21
|
-
var _excluded = ["body", "className", "error", "errorMessage", "filename", "hidePasswordLabel", "inputLabel", "inputProps", "inputType", "invalidInputText", "loading", "loadingMessage", "onClose", "onRequestSubmit", "open", "preformattedExtensions", "preformattedExtensionsLabel", "primaryButtonText", "secondaryButtonText", "showPasswordLabel", "successMessage", "successful", "title", "validExtensions"];
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
var _excluded = ["body", "className", "error", "errorMessage", "filename", "hidePasswordLabel", "inputLabel", "inputProps", "inputType", "invalidInputText", "loading", "loadingMessage", "onClose", "onRequestSubmit", "open", "preformattedExtensions", "preformattedExtensionsLabel", "primaryButtonText", "secondaryButtonText", "showPasswordLabel", "successMessage", "successful", "title", "validExtensions"]; //
|
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
|
+
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); }
|
28
|
+
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; }
|
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; }
|
26
31
|
var componentName = 'ExportModal';
|
27
32
|
|
28
33
|
// Default values for props
|
@@ -31,7 +36,7 @@ var defaults = {
|
|
31
36
|
preformattedExtensions: Object.freeze([]),
|
32
37
|
validExtensions: Object.freeze([])
|
33
38
|
};
|
34
|
-
var ExportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
39
|
+
var ExportModal = exports.ExportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
35
40
|
var body = _ref.body,
|
36
41
|
className = _ref.className,
|
37
42
|
error = _ref.error,
|
@@ -76,12 +81,12 @@ var ExportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
76
81
|
(0, _react.useEffect)(function () {
|
77
82
|
var _preformattedExtensio;
|
78
83
|
setName(filename);
|
79
|
-
setExtension(preformattedExtensions === null || preformattedExtensions === void 0
|
84
|
+
setExtension(preformattedExtensions === null || preformattedExtensions === void 0 || (_preformattedExtensio = preformattedExtensions[0]) === null || _preformattedExtensio === void 0 ? void 0 : _preformattedExtensio.extension);
|
80
85
|
}, [filename, preformattedExtensions, open]);
|
81
86
|
var onNameChangeHandler = function onNameChangeHandler(evt) {
|
82
87
|
var _inputProps$onChange;
|
83
88
|
setName(evt.target.value);
|
84
|
-
inputProps === null || inputProps === void 0
|
89
|
+
inputProps === null || inputProps === void 0 || (_inputProps$onChange = inputProps.onChange) === null || _inputProps$onChange === void 0 || _inputProps$onChange.call(inputProps, evt);
|
85
90
|
};
|
86
91
|
var onExtensionChangeHandler = function onExtensionChangeHandler(value) {
|
87
92
|
setExtension(value);
|
@@ -89,7 +94,7 @@ var ExportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
89
94
|
var onBlurHandler = function onBlurHandler(evt) {
|
90
95
|
var _inputProps$onBlur;
|
91
96
|
setDirtyInput(true);
|
92
|
-
inputProps === null || inputProps === void 0
|
97
|
+
inputProps === null || inputProps === void 0 || (_inputProps$onBlur = inputProps.onBlur) === null || _inputProps$onBlur === void 0 || _inputProps$onBlur.call(inputProps, evt);
|
93
98
|
};
|
94
99
|
var onSubmitHandler = function onSubmitHandler() {
|
95
100
|
var returnName = extension ? "".concat(filename, ".").concat(extension.toLocaleLowerCase()) : name;
|
@@ -182,7 +187,6 @@ var ExportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
182
187
|
});
|
183
188
|
|
184
189
|
// Return a placeholder if not released and not enabled by feature flag
|
185
|
-
exports.ExportModal = ExportModal;
|
186
190
|
exports.ExportModal = ExportModal = _settings.pkg.checkComponentEnabled(ExportModal, componentName);
|
187
191
|
ExportModal.propTypes = {
|
188
192
|
/**
|
@@ -13,8 +13,8 @@ var _Card = require("../Card");
|
|
13
13
|
var _devtools = require("../../global/js/utils/devtools");
|
14
14
|
var _propsHelper = require("../../global/js/utils/props-helper");
|
15
15
|
var _settings = require("../../settings");
|
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
|
//
|
19
19
|
// Copyright IBM Corp. 2020, 2021
|
20
20
|
//
|
@@ -23,7 +23,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
23
23
|
//
|
24
24
|
|
25
25
|
var componentName = 'ExpressiveCard';
|
26
|
-
var ExpressiveCard = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
26
|
+
var ExpressiveCard = exports.ExpressiveCard = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
27
27
|
var validProps = (0, _propsHelper.prepareProps)(props, ['actionIconsPosition', 'overflowActions', 'productive', 'titleSize']);
|
28
28
|
return /*#__PURE__*/_react.default.createElement(_Card.Card, (0, _extends2.default)({
|
29
29
|
ref: ref
|
@@ -31,7 +31,6 @@ var ExpressiveCard = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
31
31
|
});
|
32
32
|
|
33
33
|
// Return a placeholder if not released and not enabled by feature flag
|
34
|
-
exports.ExpressiveCard = ExpressiveCard;
|
35
34
|
exports.ExpressiveCard = ExpressiveCard = _settings.pkg.checkComponentEnabled(ExpressiveCard, componentName);
|
36
35
|
ExpressiveCard.propTypes = {
|
37
36
|
/**
|
@@ -19,10 +19,16 @@ var _uuidv = _interopRequireDefault(require("../../global/js/utils/uuidv4"));
|
|
19
19
|
var _devtools = require("../../global/js/utils/devtools");
|
20
20
|
var _excluded = ["className", "clearFiltersText", "clearFilters", "filters", "renderLabel", "overflowType", "clearButtonInline"],
|
21
21
|
_excluded2 = ["key", "value"];
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
/**
|
23
|
+
* Copyright IBM Corp. 2022, 2024
|
24
|
+
*
|
25
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
27
|
+
*/
|
28
|
+
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); }
|
29
|
+
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; }
|
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; }
|
26
32
|
var blockClass = "".concat(_settings.pkg.prefix, "--filter-summary");
|
27
33
|
var FilterSummary = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
28
34
|
var _filterSummaryClearBu;
|
@@ -68,7 +74,7 @@ var FilterSummary = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
|
|
68
74
|
overflowType: overflowType,
|
69
75
|
className: (0, _classnames.default)((0, _defineProperty2.default)({}, "".concat(blockClass, "__clear-button-inline"), clearButtonInline)),
|
70
76
|
containingElementRef: localRef,
|
71
|
-
measurementOffset: filterSummaryClearButton === null || filterSummaryClearButton === void 0
|
77
|
+
measurementOffset: filterSummaryClearButton === null || filterSummaryClearButton === void 0 || (_filterSummaryClearBu = filterSummaryClearButton.current) === null || _filterSummaryClearBu === void 0 ? void 0 : _filterSummaryClearBu.offsetWidth
|
72
78
|
}), /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Button, {
|
73
79
|
kind: "ghost",
|
74
80
|
size: "sm",
|
@@ -87,5 +93,4 @@ FilterSummary.propTypes = {
|
|
87
93
|
overflowType: _propTypes.default.oneOf(['default', 'tag']),
|
88
94
|
renderLabel: _propTypes.default.func
|
89
95
|
};
|
90
|
-
var _default = FilterSummary;
|
91
|
-
exports.default = _default;
|
96
|
+
var _default = exports.default = FilterSummary;
|
@@ -19,8 +19,16 @@ var _Carousel = require("../Carousel");
|
|
19
19
|
var _devtools = require("../../global/js/utils/devtools");
|
20
20
|
var _settings = require("../../settings");
|
21
21
|
var _excluded = ["children", "className", "collapsible", "onClose", "withLeftGutter", "closeIconDescription", "collapseButtonLabel", "expandButtonLabel", "nextIconDescription", "previousIconDescription", "title"];
|
22
|
-
|
23
|
-
|
22
|
+
/**
|
23
|
+
* Copyright IBM Corp. 2023, 2023
|
24
|
+
*
|
25
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
27
|
+
*/
|
28
|
+
// Import portions of React that are needed.
|
29
|
+
// Other standard imports.
|
30
|
+
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); }
|
31
|
+
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; }
|
24
32
|
// Carbon and package components we use.
|
25
33
|
/* TODO: @import(s) of carbon components and other package components. */
|
26
34
|
|
@@ -42,7 +50,7 @@ var defaults = {
|
|
42
50
|
* The guide banner sits at the top of a page, or page-level tab,
|
43
51
|
* to introduce foundational concepts related to the page's content.
|
44
52
|
*/
|
45
|
-
var Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
53
|
+
var Guidebanner = exports.Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
46
54
|
var children = _ref.children,
|
47
55
|
className = _ref.className,
|
48
56
|
_ref$collapsible = _ref.collapsible,
|
@@ -154,7 +162,6 @@ var Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
154
162
|
});
|
155
163
|
|
156
164
|
// Return a placeholder if not released and not enabled by feature flag
|
157
|
-
exports.Guidebanner = Guidebanner;
|
158
165
|
exports.Guidebanner = Guidebanner = _settings.pkg.checkComponentEnabled(Guidebanner, componentName);
|
159
166
|
|
160
167
|
// The display name of the component, used by React. Note that displayName
|
@@ -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 = ["button", "className", "description", "title"];
|
16
|
+
/**
|
17
|
+
* Copyright IBM Corp. 2023, 2023
|
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
|
|
@@ -24,7 +32,7 @@ var componentName = 'GuidebannerElement';
|
|
24
32
|
* The GuidebannerElement is a required child component of the Guidebanner,
|
25
33
|
* and acts as a container for a CarouselItem.
|
26
34
|
*/
|
27
|
-
var GuidebannerElement = function GuidebannerElement(_ref) {
|
35
|
+
var GuidebannerElement = exports.GuidebannerElement = function GuidebannerElement(_ref) {
|
28
36
|
var button = _ref.button,
|
29
37
|
className = _ref.className,
|
30
38
|
description = _ref.description,
|
@@ -42,7 +50,6 @@ var GuidebannerElement = function GuidebannerElement(_ref) {
|
|
42
50
|
};
|
43
51
|
|
44
52
|
// Return a placeholder if not released and not enabled by feature flag
|
45
|
-
exports.GuidebannerElement = GuidebannerElement;
|
46
53
|
exports.GuidebannerElement = GuidebannerElement = _settings.pkg.checkComponentEnabled(GuidebannerElement, componentName);
|
47
54
|
|
48
55
|
// The display name of the component, used by React. Note that displayName
|
@@ -15,6 +15,14 @@ var _iconsReact = require("@carbon/icons-react");
|
|
15
15
|
var _devtools = require("../../global/js/utils/devtools");
|
16
16
|
var _settings = require("../../settings");
|
17
17
|
var _excluded = ["children", "className", "type"];
|
18
|
+
/**
|
19
|
+
* Copyright IBM Corp. 2023, 2023
|
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
|
// Carbon and package components we use.
|
19
27
|
/* TODO: @import(s) of carbon components and other package components. */
|
20
28
|
|
@@ -25,7 +33,7 @@ var componentName = 'GuidebannerElementButton';
|
|
25
33
|
/**
|
26
34
|
* One of two buttons styled specifically for the GuidebannerElement.
|
27
35
|
*/
|
28
|
-
var GuidebannerElementButton = function GuidebannerElementButton(_ref) {
|
36
|
+
var GuidebannerElementButton = exports.GuidebannerElementButton = function GuidebannerElementButton(_ref) {
|
29
37
|
var children = _ref.children,
|
30
38
|
className = _ref.className,
|
31
39
|
type = _ref.type,
|
@@ -49,7 +57,6 @@ var GuidebannerElementButton = function GuidebannerElementButton(_ref) {
|
|
49
57
|
};
|
50
58
|
|
51
59
|
// Return a placeholder if not released and not enabled by feature flag
|
52
|
-
exports.GuidebannerElementButton = GuidebannerElementButton;
|
53
60
|
exports.GuidebannerElementButton = GuidebannerElementButton = _settings.pkg.checkComponentEnabled(GuidebannerElementButton, componentName);
|
54
61
|
|
55
62
|
// The display name of the component, used by React. Note that displayName
|
@@ -14,6 +14,14 @@ var _carbonComponentsReact = require("carbon-components-react");
|
|
14
14
|
var _devtools = require("../../global/js/utils/devtools");
|
15
15
|
var _settings = require("../../settings");
|
16
16
|
var _excluded = ["children", "className"];
|
17
|
+
/**
|
18
|
+
* Copyright IBM Corp. 2023, 2023
|
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
|
+
// Import portions of React that are needed.
|
24
|
+
// Other standard imports.
|
17
25
|
// Carbon and package components we use.
|
18
26
|
/* TODO: @import(s) of carbon components and other package components. */
|
19
27
|
|
@@ -24,7 +32,7 @@ var componentName = 'GuidebannerElementLink';
|
|
24
32
|
/**
|
25
33
|
* A link styled specifically for the GuidebannerElement.
|
26
34
|
*/
|
27
|
-
var GuidebannerElementLink = function GuidebannerElementLink(_ref) {
|
35
|
+
var GuidebannerElementLink = exports.GuidebannerElementLink = function GuidebannerElementLink(_ref) {
|
28
36
|
var children = _ref.children,
|
29
37
|
className = _ref.className,
|
30
38
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
@@ -37,7 +45,6 @@ var GuidebannerElementLink = function GuidebannerElementLink(_ref) {
|
|
37
45
|
};
|
38
46
|
|
39
47
|
// Return a placeholder if not released and not enabled by feature flag
|
40
|
-
exports.GuidebannerElementLink = GuidebannerElementLink;
|
41
48
|
exports.GuidebannerElementLink = GuidebannerElementLink = _settings.pkg.checkComponentEnabled(GuidebannerElementLink, componentName);
|
42
49
|
|
43
50
|
// The display name of the component, used by React. Note that displayName
|
@@ -15,10 +15,18 @@ var _HTTPErrorContent = require("../HTTPErrorContent");
|
|
15
15
|
var _devtools = require("../../../global/js/utils/devtools");
|
16
16
|
var _settings = require("../../../settings");
|
17
17
|
var _excluded = ["className", "description", "errorCodeLabel", "links", "title"];
|
18
|
+
/**
|
19
|
+
* Copyright IBM Corp. 2021, 2021
|
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
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
19
27
|
var blockClass = "".concat(_settings.pkg.prefix, "--http-errors");
|
20
28
|
var componentName = 'HTTPError403';
|
21
|
-
var HTTPError403 = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
29
|
+
var HTTPError403 = exports.HTTPError403 = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
22
30
|
var className = _ref.className,
|
23
31
|
description = _ref.description,
|
24
32
|
errorCodeLabel = _ref.errorCodeLabel,
|
@@ -39,7 +47,6 @@ var HTTPError403 = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
39
47
|
});
|
40
48
|
|
41
49
|
// Return a placeholder if not released and not enabled by feature flag
|
42
|
-
exports.HTTPError403 = HTTPError403;
|
43
50
|
exports.HTTPError403 = HTTPError403 = _settings.pkg.checkComponentEnabled(HTTPError403, componentName);
|
44
51
|
|
45
52
|
// The display name of the component, used by React. Note that displayName
|
@@ -15,10 +15,18 @@ var _HTTPErrorContent = require("../HTTPErrorContent");
|
|
15
15
|
var _devtools = require("../../../global/js/utils/devtools");
|
16
16
|
var _settings = require("../../../settings");
|
17
17
|
var _excluded = ["className", "description", "errorCodeLabel", "links", "title"];
|
18
|
+
/**
|
19
|
+
* Copyright IBM Corp. 2021, 2021
|
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
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
19
27
|
var blockClass = "".concat(_settings.pkg.prefix, "--http-errors");
|
20
28
|
var componentName = 'HTTPError404';
|
21
|
-
var HTTPError404 = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
29
|
+
var HTTPError404 = exports.HTTPError404 = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
22
30
|
var className = _ref.className,
|
23
31
|
description = _ref.description,
|
24
32
|
errorCodeLabel = _ref.errorCodeLabel,
|
@@ -39,7 +47,6 @@ var HTTPError404 = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
39
47
|
});
|
40
48
|
|
41
49
|
// Return a placeholder if not released and not enabled by feature flag
|
42
|
-
exports.HTTPError404 = HTTPError404;
|
43
50
|
exports.HTTPError404 = HTTPError404 = _settings.pkg.checkComponentEnabled(HTTPError404, componentName);
|
44
51
|
|
45
52
|
// The display name of the component, used by React. Note that displayName
|
@@ -11,12 +11,19 @@ var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _propTypes = require("prop-types");
|
12
12
|
var _settings = require("../../settings");
|
13
13
|
var _carbonComponentsReact = require("carbon-components-react");
|
14
|
-
function ownKeys(
|
15
|
-
function _objectSpread(
|
14
|
+
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; }
|
15
|
+
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; } /**
|
16
|
+
* Copyright IBM Corp. 2021, 2021
|
17
|
+
*
|
18
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
20
|
+
*/ // Import portions of React that are needed.
|
21
|
+
// Other standard imports.
|
22
|
+
// Carbon and package components we use.
|
16
23
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
24
|
var blockClass = "".concat(_settings.pkg.prefix, "--http-errors");
|
18
25
|
var componentName = 'HTTPErrorContent';
|
19
|
-
var HTTPErrorContent = function HTTPErrorContent(_ref) {
|
26
|
+
var HTTPErrorContent = exports.HTTPErrorContent = function HTTPErrorContent(_ref) {
|
20
27
|
var description = _ref.description,
|
21
28
|
errorCodeLabel = _ref.errorCodeLabel,
|
22
29
|
title = _ref.title,
|
@@ -41,7 +48,6 @@ var HTTPErrorContent = function HTTPErrorContent(_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.HTTPErrorContent = HTTPErrorContent;
|
45
51
|
HTTPErrorContent.displayName = componentName;
|
46
52
|
|
47
53
|
// The types and DocGen commentary for the component props,
|
@@ -15,10 +15,18 @@ var _HTTPErrorContent = require("../HTTPErrorContent");
|
|
15
15
|
var _devtools = require("../../../global/js/utils/devtools");
|
16
16
|
var _settings = require("../../../settings");
|
17
17
|
var _excluded = ["className", "description", "errorCodeLabel", "links", "title"];
|
18
|
+
/**
|
19
|
+
* Copyright IBM Corp. 2021, 2021
|
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
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
19
27
|
var blockClass = "".concat(_settings.pkg.prefix, "--http-errors");
|
20
28
|
var componentName = 'HTTPErrorOther';
|
21
|
-
var HTTPErrorOther = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
29
|
+
var HTTPErrorOther = exports.HTTPErrorOther = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
22
30
|
var className = _ref.className,
|
23
31
|
description = _ref.description,
|
24
32
|
errorCodeLabel = _ref.errorCodeLabel,
|
@@ -39,7 +47,6 @@ var HTTPErrorOther = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
|
|
39
47
|
});
|
40
48
|
|
41
49
|
// Return a placeholder if not released and not enabled by feature flag
|
42
|
-
exports.HTTPErrorOther = HTTPErrorOther;
|
43
50
|
exports.HTTPErrorOther = HTTPErrorOther = _settings.pkg.checkComponentEnabled(HTTPErrorOther, componentName);
|
44
51
|
|
45
52
|
// The display name of the component, used by React. Note that displayName
|