@carbon/ibm-products 2.27.0 → 2.28.0-alpha.4
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 +192 -116
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +56 -11
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +192 -116
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +180 -112
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/_virtual/index.js +2 -2
- package/es/components/APIKeyModal/APIKeyModal.js +1 -1
- package/es/components/AboutModal/AboutModal.js +1 -1
- package/es/components/ActionBar/ActionBar.js +1 -1
- package/es/components/ActionBar/ActionBarItem.js +1 -1
- package/es/components/ActionBar/ActionBarOverflowItems.js +1 -1
- package/es/components/ActionSet/ActionSet.js +1 -1
- package/es/components/AddSelect/AddSelectBody.js +1 -1
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
- package/es/components/AddSelect/AddSelectFilter.js +1 -1
- package/es/components/AddSelect/AddSelectList.js +1 -1
- package/es/components/AddSelect/AddSelectRow.js +1 -1
- package/es/components/BigNumbers/BigNumbers.js +1 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
- package/es/components/Card/Card.js +1 -1
- package/es/components/Card/CardFooter.js +1 -1
- package/es/components/Card/CardHeader.js +1 -1
- package/es/components/Carousel/Carousel.js +1 -1
- package/es/components/Carousel/CarouselItem.js +1 -1
- package/es/components/Cascade/Cascade.js +1 -1
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/ChecklistChart.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/Coachmark/Coachmark.js +1 -1
- package/es/components/Coachmark/CoachmarkDragbar.js +1 -1
- package/es/components/Coachmark/CoachmarkHeader.js +1 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +1 -1
- package/es/components/Coachmark/CoachmarkTagline.js +1 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
- package/es/components/CoachmarkButton/CoachmarkButton.js +1 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/es/components/ComboButton/ComboButton.js +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +1 -1
- package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
- package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +8 -2
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +8 -4
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +19 -15
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +8 -8
- package/es/components/Datagrid/Datagrid/addons/Filtering/constants.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +68 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +12 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/es/components/Datagrid/useActionsColumn.js +1 -1
- package/es/components/Datagrid/useColumnCenterAlign.js +1 -1
- package/es/components/Datagrid/useColumnRightAlign.js +1 -1
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -1
- package/es/components/Datagrid/useFiltering.js +48 -47
- package/es/components/Datagrid/useFloatingScroll.js +1 -1
- package/es/components/Datagrid/useInlineEdit.js +1 -1
- package/es/components/Datagrid/useNestedRowExpander.js +1 -1
- package/es/components/Datagrid/useNestedRows.js +1 -1
- package/es/components/Datagrid/useRowExpander.js +1 -1
- package/es/components/Datagrid/useSelectAllToggle.js +1 -1
- package/es/components/Datagrid/useSelectRows.js +2 -2
- package/es/components/Datagrid/useSortableColumns.js +1 -1
- package/es/components/Datagrid/useStickyColumn.js +1 -1
- package/es/components/DelimitedList/DelimitedList.js +1 -1
- package/es/components/EditFullPage/EditFullPage.js +1 -1
- package/es/components/EditInPlace/EditInPlace.js +1 -1
- package/es/components/EditSidePanel/EditSidePanel.js +1 -1
- package/es/components/EditTearsheet/EditTearsheet.js +1 -1
- package/es/components/EditTearsheet/EditTearsheetForm.js +1 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
- package/es/components/EmptyStates/EmptyState.js +1 -1
- package/es/components/EmptyStates/EmptyStateContent.js +1 -1
- package/es/components/EmptyStates/EmptyStateV2.js +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
- package/es/components/ExportModal/ExportModal.js +1 -1
- package/es/components/FilterSummary/FilterSummary.js +1 -1
- package/es/components/FullPageError/FullPageError.js +1 -1
- package/es/components/Guidebanner/Guidebanner.js +1 -1
- package/es/components/Guidebanner/GuidebannerElement.js +1 -1
- package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
- package/es/components/ImportModal/ImportModal.js +1 -1
- package/es/components/InlineTip/InlineTip.js +1 -1
- package/es/components/InlineTip/InlineTipButton.js +1 -1
- package/es/components/InlineTip/InlineTipLink.js +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +1 -1
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/es/components/OptionsTile/OptionsTile.js +1 -1
- package/es/components/PageHeader/PageHeader.js +1 -1
- package/es/components/PageHeader/PageHeaderTitle.js +1 -1
- package/es/components/PageHeader/PageHeaderUtils.js +1 -1
- package/es/components/RemoveModal/RemoveModal.js +1 -1
- package/es/components/Saving/Saving.js +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -1
- package/es/components/SidePanel/SidePanel.js +1 -1
- package/es/components/SimpleHeader/SimpleHeader.js +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/es/components/StringFormatter/StringFormatter.js +1 -1
- package/es/components/TagSet/TagSet.js +1 -1
- package/es/components/TagSet/TagSetModal.js +1 -1
- package/es/components/TagSet/TagSetOverflow.js +1 -1
- package/es/components/Tearsheet/TearsheetShell.js +4 -5
- package/es/components/Toolbar/Toolbar.js +1 -1
- package/es/components/Toolbar/ToolbarButton.js +1 -1
- package/es/components/Toolbar/ToolbarGroup.js +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.js +1 -1
- package/es/components/TruncatedList/TruncatedList.js +1 -1
- package/es/components/UserAvatar/UserAvatar.js +1 -1
- package/es/components/UserProfileImage/UserProfileImage.js +1 -1
- package/es/components/WebTerminal/WebTerminal.js +1 -1
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
- package/es/components/_Canary/Canary.js +1 -1
- package/es/node_modules/prop-types/index.js +1 -1
- package/lib/_virtual/index.js +2 -2
- package/lib/components/APIKeyModal/APIKeyModal.js +50 -49
- package/lib/components/AboutModal/AboutModal.js +17 -16
- package/lib/components/ActionBar/ActionBar.js +16 -15
- package/lib/components/ActionBar/ActionBarItem.js +8 -7
- package/lib/components/ActionBar/ActionBarOverflowItems.js +9 -8
- package/lib/components/ActionSet/ActionSet.js +4 -3
- package/lib/components/AddSelect/AddSelectBody.js +67 -66
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +7 -6
- package/lib/components/AddSelect/AddSelectFilter.js +19 -18
- package/lib/components/AddSelect/AddSelectList.js +7 -6
- package/lib/components/AddSelect/AddSelectRow.js +33 -32
- package/lib/components/BigNumbers/BigNumbers.js +23 -22
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +20 -19
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +3 -2
- package/lib/components/Card/Card.js +5 -4
- package/lib/components/Card/CardFooter.js +22 -21
- package/lib/components/Card/CardHeader.js +27 -26
- package/lib/components/Carousel/Carousel.js +13 -12
- package/lib/components/Carousel/CarouselItem.js +6 -5
- package/lib/components/Cascade/Cascade.js +9 -8
- package/lib/components/Checklist/Checklist.js +33 -32
- package/lib/components/Checklist/ChecklistChart.js +7 -6
- package/lib/components/Checklist/ChecklistIcon.js +7 -6
- package/lib/components/Coachmark/Coachmark.js +21 -20
- package/lib/components/Coachmark/CoachmarkDragbar.js +10 -9
- package/lib/components/Coachmark/CoachmarkHeader.js +8 -7
- package/lib/components/Coachmark/CoachmarkOverlay.js +10 -9
- package/lib/components/Coachmark/CoachmarkTagline.js +8 -7
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +7 -6
- package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -5
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +11 -10
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +8 -7
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +16 -15
- package/lib/components/CoachmarkStack/CoachmarkStack.js +20 -19
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +17 -16
- package/lib/components/ComboButton/ComboButton.js +7 -6
- package/lib/components/CreateFullPage/CreateFullPage.js +29 -28
- package/lib/components/CreateFullPage/CreateFullPageStep.js +18 -17
- package/lib/components/CreateInfluencer/CreateInfluencer.js +13 -12
- package/lib/components/CreateModal/CreateModal.js +16 -15
- package/lib/components/CreateSidePanel/CreateSidePanel.js +21 -20
- package/lib/components/CreateTearsheet/CreateTearsheet.js +27 -20
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +5 -4
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +19 -18
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +21 -20
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +22 -21
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +56 -55
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +39 -38
- package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -6
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +32 -31
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +8 -3
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +6 -5
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -2
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +20 -15
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -3
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +14 -13
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +3 -2
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +6 -5
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +13 -12
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +15 -14
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +25 -24
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +27 -26
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +7 -7
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +2 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +65 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +11 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +15 -14
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +20 -19
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +9 -8
- package/lib/components/Datagrid/useActionsColumn.js +7 -6
- package/lib/components/Datagrid/useColumnCenterAlign.js +3 -2
- package/lib/components/Datagrid/useColumnRightAlign.js +3 -2
- package/lib/components/Datagrid/useDefaultStringRenderer.js +4 -3
- package/lib/components/Datagrid/useFiltering.js +46 -45
- package/lib/components/Datagrid/useFloatingScroll.js +6 -2
- package/lib/components/Datagrid/useInlineEdit.js +4 -3
- package/lib/components/Datagrid/useNestedRowExpander.js +4 -3
- package/lib/components/Datagrid/useNestedRows.js +6 -2
- package/lib/components/Datagrid/useRowExpander.js +3 -2
- package/lib/components/Datagrid/useSelectAllToggle.js +3 -2
- package/lib/components/Datagrid/useSelectRows.js +5 -4
- package/lib/components/Datagrid/useSortableColumns.js +3 -2
- package/lib/components/Datagrid/useStickyColumn.js +4 -3
- package/lib/components/DelimitedList/DelimitedList.js +8 -7
- package/lib/components/EditFullPage/EditFullPage.js +6 -5
- package/lib/components/EditInPlace/EditInPlace.js +23 -22
- package/lib/components/EditSidePanel/EditSidePanel.js +23 -22
- package/lib/components/EditTearsheet/EditTearsheet.js +18 -17
- package/lib/components/EditTearsheet/EditTearsheetForm.js +11 -10
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +6 -5
- package/lib/components/EditUpdateCards/EditUpdateCards.js +31 -30
- package/lib/components/EmptyStates/EmptyState.js +20 -19
- package/lib/components/EmptyStates/EmptyStateContent.js +16 -15
- package/lib/components/EmptyStates/EmptyStateV2.js +20 -19
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +18 -17
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +18 -17
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +18 -17
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +18 -17
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +18 -17
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +18 -17
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +7 -6
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +7 -6
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +7 -6
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +7 -6
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +7 -6
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +7 -6
- package/lib/components/ExportModal/ExportModal.js +30 -29
- package/lib/components/FilterSummary/FilterSummary.js +13 -12
- package/lib/components/FullPageError/FullPageError.js +13 -12
- package/lib/components/Guidebanner/Guidebanner.js +20 -19
- package/lib/components/Guidebanner/GuidebannerElement.js +8 -7
- package/lib/components/Guidebanner/GuidebannerElementButton.js +8 -7
- package/lib/components/Guidebanner/GuidebannerElementLink.js +6 -5
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +11 -10
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +11 -10
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +11 -10
- package/lib/components/ImportModal/ImportModal.js +32 -31
- package/lib/components/InlineTip/InlineTip.js +21 -20
- package/lib/components/InlineTip/InlineTipButton.js +6 -5
- package/lib/components/InlineTip/InlineTipLink.js +6 -5
- package/lib/components/InterstitialScreen/InterstitialScreen.js +13 -12
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +7 -6
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +7 -6
- package/lib/components/NonLinearReading/NonLinearReading.js +9 -8
- package/lib/components/NotificationsPanel/NotificationsPanel.js +59 -58
- package/lib/components/OptionsTile/OptionsTile.js +21 -20
- package/lib/components/PageHeader/PageHeader.js +74 -73
- package/lib/components/PageHeader/PageHeaderTitle.js +21 -20
- package/lib/components/PageHeader/PageHeaderUtils.js +3 -2
- package/lib/components/RemoveModal/RemoveModal.js +22 -21
- package/lib/components/Saving/Saving.js +18 -17
- package/lib/components/SearchBar/SearchBar.js +20 -19
- package/lib/components/SidePanel/SidePanel.js +47 -46
- package/lib/components/SimpleHeader/SimpleHeader.js +17 -16
- package/lib/components/StatusIcon/StatusIcon.js +9 -8
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +7 -6
- package/lib/components/StringFormatter/StringFormatter.js +11 -10
- package/lib/components/TagSet/TagSet.js +21 -20
- package/lib/components/TagSet/TagSetModal.js +13 -12
- package/lib/components/TagSet/TagSetOverflow.js +18 -17
- package/lib/components/Tearsheet/TearsheetShell.js +35 -35
- package/lib/components/Toolbar/Toolbar.js +7 -6
- package/lib/components/Toolbar/ToolbarButton.js +9 -8
- package/lib/components/Toolbar/ToolbarGroup.js +6 -5
- package/lib/components/TooltipTrigger/TooltipTrigger.js +6 -5
- package/lib/components/TruncatedList/TruncatedList.js +14 -13
- package/lib/components/UserAvatar/UserAvatar.js +3 -2
- package/lib/components/UserProfileImage/UserProfileImage.js +3 -2
- package/lib/components/WebTerminal/WebTerminal.js +14 -13
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +5 -4
- package/lib/components/_Canary/Canary.js +6 -5
- package/lib/node_modules/prop-types/index.js +1 -1
- package/package.json +6 -5
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +0 -1
- package/scss/components/Datagrid/styles/_datagrid.scss +61 -4
- package/scss/components/SidePanel/_side-panel.scss +8 -1
- package/scss/components/Tearsheet/_tearsheet.scss +4 -5
- package/es/_virtual/index2.js +0 -10
- package/es/node_modules/classnames/index.js +0 -70
- package/lib/_virtual/index2.js +0 -14
- package/lib/node_modules/classnames/index.js +0 -74
|
@@ -12,9 +12,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
14
|
var react = require('@carbon/react');
|
|
15
|
-
var
|
|
15
|
+
var cx = require('classnames');
|
|
16
16
|
var icons = require('@carbon/react/icons');
|
|
17
|
-
var index
|
|
17
|
+
var index = require('../../node_modules/prop-types/index.js');
|
|
18
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
|
19
19
|
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
|
20
20
|
var settings = require('../../settings.js');
|
|
@@ -23,6 +23,7 @@ var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
|
|
|
23
23
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
24
24
|
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
26
27
|
|
|
27
28
|
var _Loading;
|
|
28
29
|
var _excluded = ["body", "className", "error", "errorMessage", "filename", "hidePasswordLabel", "inputLabel", "inputType", "invalidInputText", "loading", "loadingMessage", "onClose", "onRequestSubmit", "open", "portalTarget", "preformattedExtensions", "preformattedExtensionsLabel", "primaryButtonText", "secondaryButtonText", "showPasswordLabel", "successMessage", "successful", "title", "validExtensions"];
|
|
@@ -126,7 +127,7 @@ exports.ExportModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
126
127
|
onBlur: onBlurHandler
|
|
127
128
|
}, 'data-modal-primary-focus', true);
|
|
128
129
|
return renderPortalUse( /*#__PURE__*/React__default["default"].createElement(react.ComposedModal, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
129
|
-
className:
|
|
130
|
+
className: cx__default["default"](blockClass, className),
|
|
130
131
|
"aria-label": title,
|
|
131
132
|
size: "sm",
|
|
132
133
|
preventCloseOnClickOutside: true
|
|
@@ -194,101 +195,101 @@ exports.ExportModal.propTypes = {
|
|
|
194
195
|
/**
|
|
195
196
|
* Body content for the modal
|
|
196
197
|
*/
|
|
197
|
-
body: index
|
|
198
|
+
body: index["default"].string,
|
|
198
199
|
/**
|
|
199
200
|
* Optional class name
|
|
200
201
|
*/
|
|
201
|
-
className: index
|
|
202
|
+
className: index["default"].string,
|
|
202
203
|
/**
|
|
203
204
|
* specify if an error occurred
|
|
204
205
|
*/
|
|
205
|
-
error: index
|
|
206
|
+
error: index["default"].bool,
|
|
206
207
|
/**
|
|
207
208
|
* messaging to display in the event of an error
|
|
208
209
|
*/
|
|
209
|
-
errorMessage: index
|
|
210
|
+
errorMessage: index["default"].string,
|
|
210
211
|
/**
|
|
211
212
|
* name of the file being exported
|
|
212
213
|
*/
|
|
213
|
-
filename: index
|
|
214
|
+
filename: index["default"].string.isRequired,
|
|
214
215
|
/**
|
|
215
216
|
* label text that's displayed when hovering over visibility toggler to hide key
|
|
216
217
|
*/
|
|
217
|
-
hidePasswordLabel: index
|
|
218
|
+
hidePasswordLabel: index["default"].string,
|
|
218
219
|
/**
|
|
219
220
|
* label for the text input
|
|
220
221
|
*/
|
|
221
|
-
inputLabel: index
|
|
222
|
+
inputLabel: index["default"].string,
|
|
222
223
|
/**
|
|
223
224
|
* specify the type of text input
|
|
224
225
|
*/
|
|
225
|
-
inputType: index
|
|
226
|
+
inputType: index["default"].oneOf(['text', 'password']),
|
|
226
227
|
/**
|
|
227
228
|
* text for an invalid input
|
|
228
229
|
*/
|
|
229
|
-
invalidInputText: index
|
|
230
|
+
invalidInputText: index["default"].string,
|
|
230
231
|
/**
|
|
231
232
|
* specify if the modal is in a loading state
|
|
232
233
|
*/
|
|
233
|
-
loading: index
|
|
234
|
+
loading: index["default"].bool,
|
|
234
235
|
/**
|
|
235
236
|
* message to display during the loading state
|
|
236
237
|
*/
|
|
237
|
-
loadingMessage: index
|
|
238
|
+
loadingMessage: index["default"].string,
|
|
238
239
|
/**
|
|
239
240
|
* Specify a handler for closing modal
|
|
240
241
|
*/
|
|
241
|
-
onClose: index
|
|
242
|
+
onClose: index["default"].func,
|
|
242
243
|
/**
|
|
243
244
|
* Specify a handler for "submitting" modal. Returns the file name
|
|
244
245
|
*/
|
|
245
|
-
onRequestSubmit: index
|
|
246
|
+
onRequestSubmit: index["default"].func,
|
|
246
247
|
/**
|
|
247
248
|
* Specify whether the Modal is currently open
|
|
248
249
|
*/
|
|
249
|
-
open: index
|
|
250
|
+
open: index["default"].bool,
|
|
250
251
|
/**
|
|
251
252
|
* The DOM node the tearsheet should be rendered within. Defaults to document.body.
|
|
252
253
|
*/
|
|
253
|
-
portalTarget: index
|
|
254
|
+
portalTarget: index["default"].node,
|
|
254
255
|
/**
|
|
255
256
|
* Array of extensions to display as radio buttons
|
|
256
257
|
*/
|
|
257
|
-
preformattedExtensions: index
|
|
258
|
-
extension: index
|
|
259
|
-
description: index
|
|
258
|
+
preformattedExtensions: index["default"].arrayOf(index["default"].shape({
|
|
259
|
+
extension: index["default"].string,
|
|
260
|
+
description: index["default"].string
|
|
260
261
|
})),
|
|
261
262
|
/**
|
|
262
263
|
* Label for the preformatted label form group
|
|
263
264
|
*/
|
|
264
|
-
preformattedExtensionsLabel: index
|
|
265
|
+
preformattedExtensionsLabel: index["default"].string,
|
|
265
266
|
/**
|
|
266
267
|
* Specify the text for the primary button
|
|
267
268
|
*/
|
|
268
|
-
primaryButtonText: index
|
|
269
|
+
primaryButtonText: index["default"].string.isRequired,
|
|
269
270
|
/**
|
|
270
271
|
* Specify the text for the secondary button
|
|
271
272
|
*/
|
|
272
|
-
secondaryButtonText: index
|
|
273
|
+
secondaryButtonText: index["default"].string.isRequired,
|
|
273
274
|
/**
|
|
274
275
|
* label text that's displayed when hovering over visibility toggler to show key
|
|
275
276
|
*/
|
|
276
|
-
showPasswordLabel: index
|
|
277
|
+
showPasswordLabel: index["default"].string,
|
|
277
278
|
/**
|
|
278
279
|
* messaging to display if the export was successful
|
|
279
280
|
*/
|
|
280
|
-
successMessage: index
|
|
281
|
+
successMessage: index["default"].string,
|
|
281
282
|
/**
|
|
282
283
|
* specify if the export was successful
|
|
283
284
|
*/
|
|
284
|
-
successful: index
|
|
285
|
+
successful: index["default"].bool,
|
|
285
286
|
/**
|
|
286
287
|
* The text displayed at the top of the modal
|
|
287
288
|
*/
|
|
288
|
-
title: index
|
|
289
|
+
title: index["default"].string.isRequired,
|
|
289
290
|
/**
|
|
290
291
|
* array of valid extensions the file can have
|
|
291
292
|
*/
|
|
292
|
-
validExtensions: index
|
|
293
|
+
validExtensions: index["default"].array
|
|
293
294
|
};
|
|
294
295
|
exports.ExportModal.displayName = componentName;
|
|
@@ -14,8 +14,8 @@ var React = require('react');
|
|
|
14
14
|
var react = require('@carbon/react');
|
|
15
15
|
var framerMotion = require('framer-motion');
|
|
16
16
|
var icons = require('@carbon/react/icons');
|
|
17
|
-
var index
|
|
18
|
-
var
|
|
17
|
+
var index = require('../../node_modules/prop-types/index.js');
|
|
18
|
+
var cx = require('classnames');
|
|
19
19
|
var settings = require('../../settings.js');
|
|
20
20
|
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
|
21
21
|
var motionConstants = require('../../global/js/utils/motionConstants.js');
|
|
@@ -28,6 +28,7 @@ var TagSet = require('../TagSet/TagSet.js');
|
|
|
28
28
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
29
29
|
|
|
30
30
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
31
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
31
32
|
var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
|
|
32
33
|
|
|
33
34
|
var _excluded = ["className", "clearFiltersText", "clearFilters", "filters", "renderLabel", "overflowType", "clearButtonInline"],
|
|
@@ -111,7 +112,7 @@ var FilterSummary = /*#__PURE__*/React__default["default"].forwardRef(function (
|
|
|
111
112
|
showAllTagsLabel: "View all tags",
|
|
112
113
|
tags: tagFilters,
|
|
113
114
|
overflowType: overflowType,
|
|
114
|
-
className:
|
|
115
|
+
className: cx__default["default"](_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__clear-button-inline"), clearButtonInline)),
|
|
115
116
|
containingElementRef: localRef,
|
|
116
117
|
measurementOffset: measurementOffset,
|
|
117
118
|
onOverflowTagChange: function onOverflowTagChange(overflowTags) {
|
|
@@ -134,7 +135,7 @@ var FilterSummary = /*#__PURE__*/React__default["default"].forwardRef(function (
|
|
|
134
135
|
id: filterSummaryId
|
|
135
136
|
}, rest, {
|
|
136
137
|
ref: localRef,
|
|
137
|
-
className:
|
|
138
|
+
className: cx__default["default"]([blockClass, className], _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__expanded"), multiline))
|
|
138
139
|
}), /*#__PURE__*/React__default["default"].createElement(framerMotion.AnimatePresence, {
|
|
139
140
|
mode: "wait",
|
|
140
141
|
exitBeforeEnter: true
|
|
@@ -155,19 +156,19 @@ var FilterSummary = /*#__PURE__*/React__default["default"].forwardRef(function (
|
|
|
155
156
|
onClick: handleViewAll,
|
|
156
157
|
size: "sm"
|
|
157
158
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ChevronDown, {
|
|
158
|
-
className:
|
|
159
|
+
className: cx__default["default"]("".concat(blockClass, "__view-all--chevron"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__view-all--chevron-multiline"), multiline))
|
|
159
160
|
}))));
|
|
160
161
|
});
|
|
161
162
|
var componentName = 'FilterSummary';
|
|
162
163
|
FilterSummary.displayName = componentName;
|
|
163
164
|
FilterSummary.propTypes = {
|
|
164
|
-
className: index
|
|
165
|
-
clearButtonInline: index
|
|
166
|
-
clearFilters: index
|
|
167
|
-
clearFiltersText: index
|
|
168
|
-
filters: index
|
|
169
|
-
overflowType: index
|
|
170
|
-
renderLabel: index
|
|
165
|
+
className: index["default"].string,
|
|
166
|
+
clearButtonInline: index["default"].bool,
|
|
167
|
+
clearFilters: index["default"].func.isRequired,
|
|
168
|
+
clearFiltersText: index["default"].string,
|
|
169
|
+
filters: index["default"].arrayOf(index["default"].object).isRequired,
|
|
170
|
+
overflowType: index["default"].oneOf(['default', 'tag']),
|
|
171
|
+
renderLabel: index["default"].func
|
|
171
172
|
};
|
|
172
173
|
var FilterSummary$1 = FilterSummary;
|
|
173
174
|
|
|
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
|
-
var index
|
|
15
|
-
var
|
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
|
15
|
+
var cx = require('classnames');
|
|
16
16
|
var react = require('@carbon/react');
|
|
17
17
|
var ErrorGenericSVG = require('./assets/ErrorGenericSVG.js');
|
|
18
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
|
@@ -23,6 +23,7 @@ var Error403SVG = require('./assets/Error403SVG.js');
|
|
|
23
23
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
24
24
|
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
26
27
|
|
|
27
28
|
var _excluded = ["children", "className", "description", "errorLabel", "kind", "title"];
|
|
28
29
|
|
|
@@ -66,26 +67,26 @@ exports.FullPageError = /*#__PURE__*/React__default["default"].forwardRef(functi
|
|
|
66
67
|
title: 'Access denied',
|
|
67
68
|
description: 'You are not authorized to access the requested page. Please verify that you are logged in to the hosting environment and your access permissions are correct.',
|
|
68
69
|
svg: /*#__PURE__*/React__default["default"].createElement(Error403SVG.Error403SVG, {
|
|
69
|
-
className:
|
|
70
|
+
className: cx__default["default"]("".concat(blockClass, "__error-svg"), "".concat(blockClass, "__error-403"))
|
|
70
71
|
})
|
|
71
72
|
},
|
|
72
73
|
404: {
|
|
73
74
|
title: 'Page not found',
|
|
74
75
|
description: 'The page you requested has moved or is unavailable, or the specified URL is not valid. Please check the URL or search the site for the requested content.',
|
|
75
76
|
svg: /*#__PURE__*/React__default["default"].createElement(Error404SVG.Error404SVG, {
|
|
76
|
-
className:
|
|
77
|
+
className: cx__default["default"]("".concat(blockClass, "__error-svg"), "".concat(blockClass, "__error-404"))
|
|
77
78
|
})
|
|
78
79
|
},
|
|
79
80
|
custom: {
|
|
80
81
|
title: title,
|
|
81
82
|
description: description,
|
|
82
83
|
svg: /*#__PURE__*/React__default["default"].createElement(ErrorGenericSVG.ErrorGenericSVG, {
|
|
83
|
-
className:
|
|
84
|
+
className: cx__default["default"]("".concat(blockClass, "__error-svg"), "".concat(blockClass, "__error-custom"))
|
|
84
85
|
})
|
|
85
86
|
}
|
|
86
87
|
};
|
|
87
88
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
88
|
-
className:
|
|
89
|
+
className: cx__default["default"](blockClass,
|
|
89
90
|
// Apply the block class to the main HTML element
|
|
90
91
|
className,
|
|
91
92
|
// Apply any supplied class names to the main HTML element.
|
|
@@ -134,28 +135,28 @@ exports.FullPageError.propTypes = {
|
|
|
134
135
|
/**
|
|
135
136
|
* Provide the contents of the FullPageError.
|
|
136
137
|
*/
|
|
137
|
-
children: index
|
|
138
|
+
children: index["default"].node,
|
|
138
139
|
/**
|
|
139
140
|
* Provide an optional class to be applied to the containing node.
|
|
140
141
|
*/
|
|
141
|
-
className: index
|
|
142
|
+
className: index["default"].string,
|
|
142
143
|
/**
|
|
143
144
|
* String that will provide the description for the error code. <br/>
|
|
144
145
|
* This is optional for 403 and 404 kinds, and passing this would override their default descriptions.
|
|
145
146
|
*/
|
|
146
|
-
description: index
|
|
147
|
+
description: index["default"].string.isRequired,
|
|
147
148
|
/**
|
|
148
149
|
* String that will describe the error that occurred
|
|
149
150
|
*/
|
|
150
|
-
errorLabel: index
|
|
151
|
+
errorLabel: index["default"].string.isRequired,
|
|
151
152
|
/**
|
|
152
153
|
* The kind of error page to be displayed, default is custom
|
|
153
154
|
*/
|
|
154
|
-
kind: index
|
|
155
|
+
kind: index["default"].oneOf(['custom', '403', '404']),
|
|
155
156
|
/**
|
|
156
157
|
* This will be for the main title of the FullPageError component
|
|
157
158
|
*/
|
|
158
|
-
title: index
|
|
159
|
+
title: index["default"].string.isRequired
|
|
159
160
|
|
|
160
161
|
/* TODO: add types and DocGen for all props. */
|
|
161
162
|
};
|
|
@@ -11,9 +11,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
|
-
var index$
|
|
15
|
-
var
|
|
16
|
-
var index
|
|
14
|
+
var index$1 = require('../../node_modules/prop-types/index.js');
|
|
15
|
+
var cx = require('classnames');
|
|
16
|
+
var index = require('../../node_modules/@carbon/colors/es/index.js');
|
|
17
17
|
var icons = require('@carbon/react/icons');
|
|
18
18
|
var react = require('@carbon/react');
|
|
19
19
|
var devtools = require('../../global/js/utils/devtools.js');
|
|
@@ -23,6 +23,7 @@ var Carousel = require('../Carousel/Carousel.js');
|
|
|
23
23
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
24
24
|
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
26
27
|
|
|
27
28
|
var _CaretLeft, _CaretRight, _Close;
|
|
28
29
|
var _excluded = ["children", "className", "collapsible", "onClose", "withLeftGutter", "closeIconDescription", "collapseButtonLabel", "expandButtonLabel", "nextIconDescription", "previousIconDescription", "title"];
|
|
@@ -86,7 +87,7 @@ exports.Guidebanner = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
86
87
|
};
|
|
87
88
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
88
89
|
"aria-expanded": !isCollapsed,
|
|
89
|
-
className:
|
|
90
|
+
className: cx__default["default"](blockClass, className, collapsible && "".concat(blockClass, "__collapsible"), isCollapsed && "".concat(blockClass, "__collapsible-collapsed"), withLeftGutter && "".concat(blockClass, "__with-left-gutter")),
|
|
90
91
|
ref: ref
|
|
91
92
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement(icons.Idea, {
|
|
92
93
|
size: 20,
|
|
@@ -99,8 +100,8 @@ exports.Guidebanner = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
99
100
|
// against the Guidebanner's gradient background.
|
|
100
101
|
,
|
|
101
102
|
fadedEdgeColor: {
|
|
102
|
-
left: index
|
|
103
|
-
right: index
|
|
103
|
+
left: index.blue90,
|
|
104
|
+
right: index.purple70
|
|
104
105
|
},
|
|
105
106
|
ref: scrollRef,
|
|
106
107
|
onChangeIsScrollable: function onChangeIsScrollable(value) {
|
|
@@ -110,7 +111,7 @@ exports.Guidebanner = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
110
111
|
setScrollPosition(scrollPercent);
|
|
111
112
|
}
|
|
112
113
|
}, children), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
113
|
-
className:
|
|
114
|
+
className: cx__default["default"]([collapsible || showNavigation ? "".concat(blockClass, "__navigation") : null])
|
|
114
115
|
}, collapsible && /*#__PURE__*/React__default["default"].createElement(react.Button, {
|
|
115
116
|
kind: "ghost",
|
|
116
117
|
size: "md",
|
|
@@ -118,7 +119,7 @@ exports.Guidebanner = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
118
119
|
onClick: handleClickToggle,
|
|
119
120
|
ref: toggleRef
|
|
120
121
|
}, isCollapsed ? expandButtonLabel : collapseButtonLabel), showNavigation && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
121
|
-
className:
|
|
122
|
+
className: cx__default["default"]("".concat(blockClass, "__back-button"), [scrollPosition === 0 ? "".concat(blockClass, "__back-button--disabled") : null])
|
|
122
123
|
}, /*#__PURE__*/React__default["default"].createElement(react.IconButton, {
|
|
123
124
|
align: "top",
|
|
124
125
|
disabled: scrollPosition === 0,
|
|
@@ -131,7 +132,7 @@ exports.Guidebanner = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
131
132
|
}, _CaretLeft || (_CaretLeft = /*#__PURE__*/React__default["default"].createElement(icons.CaretLeft, {
|
|
132
133
|
size: 16
|
|
133
134
|
})))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
134
|
-
className:
|
|
135
|
+
className: cx__default["default"]("".concat(blockClass, "__next-button"), [scrollPosition === 1 ? "".concat(blockClass, "__next-button--disabled") : null])
|
|
135
136
|
}, /*#__PURE__*/React__default["default"].createElement(react.IconButton, {
|
|
136
137
|
align: "top-right",
|
|
137
138
|
disabled: scrollPosition === 1,
|
|
@@ -191,47 +192,47 @@ exports.Guidebanner.propTypes = {
|
|
|
191
192
|
/**
|
|
192
193
|
* Provide an optional class to be applied to the containing node.
|
|
193
194
|
*/
|
|
194
|
-
className: index$
|
|
195
|
+
className: index$1["default"].string,
|
|
195
196
|
/**
|
|
196
197
|
* Tooltip text and aria label for the Close button icon.
|
|
197
198
|
*/
|
|
198
|
-
closeIconDescription: index$
|
|
199
|
+
closeIconDescription: index$1["default"].string,
|
|
199
200
|
/**
|
|
200
201
|
* Text label for the Collapse button.
|
|
201
202
|
*/
|
|
202
|
-
collapseButtonLabel: index$
|
|
203
|
+
collapseButtonLabel: index$1["default"].string,
|
|
203
204
|
/**
|
|
204
205
|
* When true, the Guidebanner will initialize in a collapsed state,
|
|
205
206
|
* showing the title and the Expand button.
|
|
206
207
|
*
|
|
207
208
|
* When expanded, it will show the GuidebannerElement child components and the Collapse button.
|
|
208
209
|
*/
|
|
209
|
-
collapsible: index$
|
|
210
|
+
collapsible: index$1["default"].bool,
|
|
210
211
|
/**
|
|
211
212
|
* Text label for the Expand button.
|
|
212
213
|
*/
|
|
213
|
-
expandButtonLabel: index$
|
|
214
|
+
expandButtonLabel: index$1["default"].string,
|
|
214
215
|
/**
|
|
215
216
|
* Tooltip text and aria label for the Next button icon.
|
|
216
217
|
*/
|
|
217
|
-
nextIconDescription: index$
|
|
218
|
+
nextIconDescription: index$1["default"].string,
|
|
218
219
|
/**
|
|
219
220
|
* If defined, a Close button will render in the top-right corner and a
|
|
220
221
|
* callback function will be triggered when button is clicked.
|
|
221
222
|
*/
|
|
222
|
-
onClose: index$
|
|
223
|
+
onClose: index$1["default"].func,
|
|
223
224
|
/**
|
|
224
225
|
* Tooltip text and aria label for the Back button icon.
|
|
225
226
|
*/
|
|
226
|
-
previousIconDescription: index$
|
|
227
|
+
previousIconDescription: index$1["default"].string,
|
|
227
228
|
/**
|
|
228
229
|
* Title text.
|
|
229
230
|
*/
|
|
230
|
-
title: index$
|
|
231
|
+
title: index$1["default"].string.isRequired,
|
|
231
232
|
/**
|
|
232
233
|
* If true, insert 1 rem of "space" on the left of the component.
|
|
233
234
|
* This will allow the component's content to line up with other
|
|
234
235
|
* content on the page under special circumstances.
|
|
235
236
|
*/
|
|
236
|
-
withLeftGutter: index$
|
|
237
|
+
withLeftGutter: index$1["default"].bool
|
|
237
238
|
};
|
|
@@ -11,14 +11,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
|
-
var index
|
|
15
|
-
var
|
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
|
15
|
+
var cx = require('classnames');
|
|
16
16
|
var devtools = require('../../global/js/utils/devtools.js');
|
|
17
17
|
var settings = require('../../settings.js');
|
|
18
18
|
|
|
19
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
20
20
|
|
|
21
21
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
22
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
22
23
|
|
|
23
24
|
var _excluded = ["button", "className", "description", "title"];
|
|
24
25
|
|
|
@@ -37,7 +38,7 @@ exports.GuidebannerElement = function GuidebannerElement(_ref) {
|
|
|
37
38
|
title = _ref.title,
|
|
38
39
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
39
40
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
40
|
-
className:
|
|
41
|
+
className: cx__default["default"](blockClass, className)
|
|
41
42
|
}, devtools.getDevtoolsProps(componentName)), title && /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
42
43
|
className: "".concat(blockClass, "-title")
|
|
43
44
|
}, title), description && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -62,18 +63,18 @@ exports.GuidebannerElement.propTypes = {
|
|
|
62
63
|
* An optional button can be rendered below the description.
|
|
63
64
|
* This can be a link, button, Coachmark button, etc.
|
|
64
65
|
*/
|
|
65
|
-
button: index
|
|
66
|
+
button: index["default"].node,
|
|
66
67
|
/**
|
|
67
68
|
* Provide an optional class to be applied to the containing node.
|
|
68
69
|
*/
|
|
69
|
-
className: index
|
|
70
|
+
className: index["default"].string,
|
|
70
71
|
/**
|
|
71
72
|
* The description of the element.
|
|
72
73
|
*/
|
|
73
74
|
|
|
74
|
-
description: index
|
|
75
|
+
description: index["default"].oneOfType([index["default"].string, index["default"].node]).isRequired,
|
|
75
76
|
/**
|
|
76
77
|
* The title of the element.
|
|
77
78
|
*/
|
|
78
|
-
title: index
|
|
79
|
+
title: index["default"].string
|
|
79
80
|
};
|
|
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
|
-
var index
|
|
15
|
-
var
|
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
|
15
|
+
var cx = require('classnames');
|
|
16
16
|
var react = require('@carbon/react');
|
|
17
17
|
var icons = require('@carbon/react/icons');
|
|
18
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
|
@@ -21,6 +21,7 @@ var settings = require('../../settings.js');
|
|
|
21
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
22
22
|
|
|
23
23
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
24
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
24
25
|
|
|
25
26
|
var _Crossroads;
|
|
26
27
|
var _excluded = ["children", "className", "type"];
|
|
@@ -39,7 +40,7 @@ exports.GuidebannerElementButton = function GuidebannerElementButton(_ref) {
|
|
|
39
40
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
40
41
|
if (type === 'primary') {
|
|
41
42
|
return /*#__PURE__*/React__default["default"].createElement(react.Button, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
42
|
-
className:
|
|
43
|
+
className: cx__default["default"](blockClass, className),
|
|
43
44
|
iconDescription: 'Crossroads',
|
|
44
45
|
kind: "tertiary",
|
|
45
46
|
renderIcon: function renderIcon() {
|
|
@@ -52,7 +53,7 @@ exports.GuidebannerElementButton = function GuidebannerElementButton(_ref) {
|
|
|
52
53
|
}, devtools.getDevtoolsProps(componentName)), children);
|
|
53
54
|
}
|
|
54
55
|
return /*#__PURE__*/React__default["default"].createElement(react.Button, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
55
|
-
className:
|
|
56
|
+
className: cx__default["default"](blockClass, className),
|
|
56
57
|
kind: "ghost",
|
|
57
58
|
role: "button",
|
|
58
59
|
size: "md"
|
|
@@ -73,16 +74,16 @@ exports.GuidebannerElementButton.propTypes = {
|
|
|
73
74
|
/**
|
|
74
75
|
* Provide the contents of the GuidebannerElementButton.
|
|
75
76
|
*/
|
|
76
|
-
children: index
|
|
77
|
+
children: index["default"].node.isRequired,
|
|
77
78
|
/**
|
|
78
79
|
* Provide an optional class to be applied to the containing node.
|
|
79
80
|
*/
|
|
80
|
-
className: index
|
|
81
|
+
className: index["default"].string,
|
|
81
82
|
/**
|
|
82
83
|
* If type is "primary", then return a tertiary button with the "crossroads" icon,
|
|
83
84
|
* else return a ghost button.
|
|
84
85
|
*/
|
|
85
|
-
type: index
|
|
86
|
+
type: index["default"].string
|
|
86
87
|
|
|
87
88
|
/* TODO: add types and DocGen for all props. */
|
|
88
89
|
};
|
|
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
|
-
var index
|
|
15
|
-
var
|
|
14
|
+
var index = require('../../node_modules/prop-types/index.js');
|
|
15
|
+
var cx = require('classnames');
|
|
16
16
|
var react = require('@carbon/react');
|
|
17
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
|
18
18
|
var settings = require('../../settings.js');
|
|
@@ -20,6 +20,7 @@ var settings = require('../../settings.js');
|
|
|
20
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
21
21
|
|
|
22
22
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
23
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
23
24
|
|
|
24
25
|
var _excluded = ["children", "className"];
|
|
25
26
|
|
|
@@ -35,7 +36,7 @@ exports.GuidebannerElementLink = function GuidebannerElementLink(_ref) {
|
|
|
35
36
|
className = _ref.className,
|
|
36
37
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
37
38
|
return /*#__PURE__*/React__default["default"].createElement(react.Link, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
38
|
-
className:
|
|
39
|
+
className: cx__default["default"](blockClass, className),
|
|
39
40
|
kind: "ghost",
|
|
40
41
|
role: "link",
|
|
41
42
|
size: "md"
|
|
@@ -56,9 +57,9 @@ exports.GuidebannerElementLink.propTypes = {
|
|
|
56
57
|
/**
|
|
57
58
|
* Provide the contents of the GuidebannerElementLink.
|
|
58
59
|
*/
|
|
59
|
-
children: index
|
|
60
|
+
children: index["default"].node.isRequired,
|
|
60
61
|
/**
|
|
61
62
|
* Provide an optional class to be applied to the containing node.
|
|
62
63
|
*/
|
|
63
|
-
className: index
|
|
64
|
+
className: index["default"].string
|
|
64
65
|
};
|
|
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
13
13
|
var React = require('react');
|
|
14
|
-
var
|
|
15
|
-
var index
|
|
14
|
+
var cx = require('classnames');
|
|
15
|
+
var index = require('../../../node_modules/prop-types/index.js');
|
|
16
16
|
var HTTPErrorSvg403 = require('../assets/HTTPErrorSvg403.js');
|
|
17
17
|
var HTTPErrorContent = require('../HTTPErrorContent.js');
|
|
18
18
|
var devtools = require('../../../global/js/utils/devtools.js');
|
|
@@ -21,6 +21,7 @@ var settings = require('../../../settings.js');
|
|
|
21
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
22
22
|
|
|
23
23
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
24
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
24
25
|
|
|
25
26
|
var _excluded = ["className", "description", "errorCodeLabel", "links", "title"];
|
|
26
27
|
|
|
@@ -41,7 +42,7 @@ exports.HTTPError403 = /*#__PURE__*/React__default["default"].forwardRef(functio
|
|
|
41
42
|
title = _ref.title,
|
|
42
43
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
43
44
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
|
44
|
-
className:
|
|
45
|
+
className: cx__default["default"](blockClass, className),
|
|
45
46
|
ref: ref
|
|
46
47
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement(HTTPErrorContent.HTTPErrorContent, {
|
|
47
48
|
description: description,
|
|
@@ -67,30 +68,30 @@ exports.HTTPError403.propTypes = {
|
|
|
67
68
|
/**
|
|
68
69
|
* Provide an optional class to be applied to the containing node
|
|
69
70
|
*/
|
|
70
|
-
className: index
|
|
71
|
+
className: index.propTypesExports.string,
|
|
71
72
|
/**
|
|
72
73
|
* String that will provide the description for the HTTP error code
|
|
73
74
|
*/
|
|
74
|
-
description: index
|
|
75
|
+
description: index.propTypesExports.string.isRequired,
|
|
75
76
|
/**
|
|
76
77
|
* String that will describe the error that occurred
|
|
77
78
|
*/
|
|
78
|
-
errorCodeLabel: index
|
|
79
|
+
errorCodeLabel: index.propTypesExports.string.isRequired,
|
|
79
80
|
/**
|
|
80
81
|
* Links that will display for extra context when receiving particular errors
|
|
81
82
|
*/
|
|
82
|
-
links: index
|
|
83
|
+
links: index.propTypesExports.arrayOf(index.propTypesExports.shape({
|
|
83
84
|
/**
|
|
84
85
|
* The text to display for the link
|
|
85
86
|
*/
|
|
86
|
-
text: index
|
|
87
|
+
text: index.propTypesExports.string.isRequired,
|
|
87
88
|
/**
|
|
88
89
|
* The link's destination
|
|
89
90
|
*/
|
|
90
|
-
href: index
|
|
91
|
+
href: index.propTypesExports.string.isRequired
|
|
91
92
|
})),
|
|
92
93
|
/**
|
|
93
94
|
* This will be for the main title of the HTTP error component
|
|
94
95
|
*/
|
|
95
|
-
title: index
|
|
96
|
+
title: index.propTypesExports.string.isRequired
|
|
96
97
|
};
|