@carbon/ibm-products 2.27.0 → 2.28.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +229 -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 +229 -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 +217 -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 +2 -2
- 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 +23 -2
- 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 +4 -3
- 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 +25 -3
- 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/scss/components/UserAvatar/_user-avatar.scss +27 -0
- 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
@@ -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 HTTPErrorSvg404 = require('../assets/HTTPErrorSvg404.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.HTTPError404 = /*#__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.HTTPError404.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
|
};
|
@@ -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 HTTPErrorSvgOther = require('../assets/HTTPErrorSvgOther.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.HTTPErrorOther = /*#__PURE__*/React__default["default"].forwardRef(funct
|
|
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.HTTPErrorOther.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
|
};
|
@@ -13,8 +13,8 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
|
|
13
13
|
var React = require('react');
|
14
14
|
var icons = require('@carbon/react/icons');
|
15
15
|
var react = require('@carbon/react');
|
16
|
-
var
|
17
|
-
var index
|
16
|
+
var cx = require('classnames');
|
17
|
+
var index = require('../../node_modules/prop-types/index.js');
|
18
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
19
19
|
var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
|
20
20
|
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
@@ -23,6 +23,7 @@ var settings = require('../../settings.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 = ["accept", "className", "defaultErrorBody", "defaultErrorHeader", "description", "fetchErrorBody", "fetchErrorHeader", "fileDropHeader", "fileDropLabel", "fileUploadLabel", "inputButtonIcon", "inputButtonText", "inputId", "inputLabel", "inputPlaceholder", "invalidFileTypeErrorBody", "invalidFileTypeErrorHeader", "invalidIconDescription", "maxFileSize", "maxFileSizeErrorBody", "maxFileSizeErrorHeader", "onClose", "onRequestSubmit", "open", "portalTarget", "primaryButtonText", "secondaryButtonText", "title"];
|
28
29
|
var componentName = 'ImportModal';
|
@@ -204,7 +205,7 @@ exports.ImportModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
204
205
|
ref: ref
|
205
206
|
}, devtools.getDevtoolsProps(componentName)), {
|
206
207
|
"aria-label": title,
|
207
|
-
className:
|
208
|
+
className: cx__default["default"](blockClass, className),
|
208
209
|
size: "sm",
|
209
210
|
preventCloseOnClickOutside: true,
|
210
211
|
onClose: onCloseHandler
|
@@ -285,114 +286,114 @@ exports.ImportModal.propTypes = {
|
|
285
286
|
/**
|
286
287
|
* Specifies the file types that are valid for importing
|
287
288
|
*/
|
288
|
-
accept: index
|
289
|
+
accept: index["default"].array,
|
289
290
|
/**
|
290
291
|
* Optional class name
|
291
292
|
*/
|
292
|
-
className: index
|
293
|
+
className: index["default"].string,
|
293
294
|
/**
|
294
295
|
* The default message shown for an import error
|
295
296
|
*/
|
296
|
-
defaultErrorBody: index
|
297
|
+
defaultErrorBody: index["default"].string.isRequired,
|
297
298
|
/**
|
298
299
|
* The default header that is displayed to show an error message
|
299
300
|
*/
|
300
|
-
defaultErrorHeader: index
|
301
|
+
defaultErrorHeader: index["default"].string.isRequired,
|
301
302
|
/**
|
302
303
|
* Content that is displayed inside the modal
|
303
304
|
*/
|
304
|
-
description: index
|
305
|
+
description: index["default"].string,
|
305
306
|
/**
|
306
307
|
* Optional error body to display specifically for a fetch error
|
307
308
|
*/
|
308
|
-
fetchErrorBody: index
|
309
|
+
fetchErrorBody: index["default"].string,
|
309
310
|
/**
|
310
311
|
* Optional error header to display specifically for a fetch error
|
311
312
|
*/
|
312
|
-
fetchErrorHeader: index
|
313
|
+
fetchErrorHeader: index["default"].string,
|
313
314
|
/**
|
314
315
|
* Header for the drag and drop box
|
315
316
|
*/
|
316
|
-
fileDropHeader: index
|
317
|
+
fileDropHeader: index["default"].string,
|
317
318
|
/**
|
318
319
|
* Label for the drag and drop box
|
319
320
|
*/
|
320
|
-
fileDropLabel: index
|
321
|
+
fileDropLabel: index["default"].string,
|
321
322
|
/**
|
322
323
|
* Label that appears when a file is uploaded to show number of files (1 / 1)
|
323
324
|
*/
|
324
|
-
fileUploadLabel: index
|
325
|
+
fileUploadLabel: index["default"].string,
|
325
326
|
/**
|
326
327
|
* Button icon for import by url button
|
327
328
|
*/
|
328
|
-
inputButtonIcon: index
|
329
|
+
inputButtonIcon: index["default"].bool,
|
329
330
|
/**
|
330
331
|
* Button text for import by url button
|
331
332
|
*/
|
332
|
-
inputButtonText: index
|
333
|
+
inputButtonText: index["default"].string.isRequired,
|
333
334
|
/**
|
334
335
|
* ID for text input
|
335
336
|
*/
|
336
|
-
inputId: index
|
337
|
+
inputId: index["default"].string,
|
337
338
|
/**
|
338
339
|
* Header to display above import by url
|
339
340
|
*/
|
340
|
-
inputLabel: index
|
341
|
+
inputLabel: index["default"].string,
|
341
342
|
/**
|
342
343
|
* Placeholder for text input
|
343
344
|
*/
|
344
|
-
inputPlaceholder: index
|
345
|
+
inputPlaceholder: index["default"].string,
|
345
346
|
/**
|
346
347
|
* Optional error message to display specifically for a invalid file type error
|
347
348
|
*/
|
348
|
-
invalidFileTypeErrorBody: index
|
349
|
+
invalidFileTypeErrorBody: index["default"].string,
|
349
350
|
/**
|
350
351
|
* Optional error header to display specifically for a invalid file type error
|
351
352
|
*/
|
352
|
-
invalidFileTypeErrorHeader: index
|
353
|
+
invalidFileTypeErrorHeader: index["default"].string,
|
353
354
|
/**
|
354
355
|
* Description for delete file icon
|
355
356
|
*/
|
356
|
-
invalidIconDescription: index
|
357
|
+
invalidIconDescription: index["default"].string,
|
357
358
|
/**
|
358
359
|
* File size limit in bytes
|
359
360
|
*/
|
360
|
-
maxFileSize: index
|
361
|
+
maxFileSize: index["default"].number,
|
361
362
|
/**
|
362
363
|
* Optional error message to display specifically for a max file size error
|
363
364
|
*/
|
364
|
-
maxFileSizeErrorBody: index
|
365
|
+
maxFileSizeErrorBody: index["default"].string,
|
365
366
|
/**
|
366
367
|
* Optional error header to display specifically for a max file size error
|
367
368
|
*/
|
368
|
-
maxFileSizeErrorHeader: index
|
369
|
+
maxFileSizeErrorHeader: index["default"].string,
|
369
370
|
/**
|
370
371
|
* Specify a handler for closing modal
|
371
372
|
*/
|
372
|
-
onClose: index
|
373
|
+
onClose: index["default"].func,
|
373
374
|
/**
|
374
375
|
* Specify a handler for "submitting" modal. Access the imported file via `file => {}`
|
375
376
|
*/
|
376
|
-
onRequestSubmit: index
|
377
|
+
onRequestSubmit: index["default"].func.isRequired,
|
377
378
|
/**
|
378
379
|
* Specify whether the Modal is currently open
|
379
380
|
*/
|
380
|
-
open: index
|
381
|
+
open: index["default"].bool.isRequired,
|
381
382
|
/**
|
382
383
|
* The DOM node the tearsheet should be rendered within. Defaults to document.body.
|
383
384
|
*/
|
384
|
-
portalTarget: index
|
385
|
+
portalTarget: index["default"].node,
|
385
386
|
/**
|
386
387
|
* Specify the text for the primary button
|
387
388
|
*/
|
388
|
-
primaryButtonText: index
|
389
|
+
primaryButtonText: index["default"].string.isRequired,
|
389
390
|
/**
|
390
391
|
* Specify the text for the secondary button
|
391
392
|
*/
|
392
|
-
secondaryButtonText: index
|
393
|
+
secondaryButtonText: index["default"].string.isRequired,
|
393
394
|
/**
|
394
395
|
* The text displayed at the top of the modal
|
395
396
|
*/
|
396
|
-
title: index
|
397
|
+
title: index["default"].string.isRequired
|
397
398
|
};
|
398
399
|
exports.ImportModal.displayName = componentName;
|
@@ -13,8 +13,8 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
|
|
13
13
|
var React = require('react');
|
14
14
|
var icons = require('@carbon/react/icons');
|
15
15
|
var react = require('@carbon/react');
|
16
|
-
var index
|
17
|
-
var
|
16
|
+
var index = require('../../node_modules/prop-types/index.js');
|
17
|
+
var cx = require('classnames');
|
18
18
|
var utils = require('./utils.js');
|
19
19
|
var devtools = require('../../global/js/utils/devtools.js');
|
20
20
|
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
@@ -24,6 +24,7 @@ var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
25
25
|
|
26
26
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
27
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
27
28
|
|
28
29
|
var _Close, _Idea, _Crossroads;
|
29
30
|
var _excluded = ["action", "children", "className", "closeIconDescription", "collapsible", "collapseButtonLabel", "expandButtonLabel", "media", "narrow", "onClick", "onClose", "tertiaryButtonLabel", "title", "withLeftGutter"];
|
@@ -95,7 +96,7 @@ exports.InlineTip = /*#__PURE__*/React__default["default"].forwardRef(function (
|
|
95
96
|
}, [collapsible]);
|
96
97
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
97
98
|
"aria-labelledby": labelId,
|
98
|
-
className:
|
99
|
+
className: cx__default["default"](blockClass, className, collapsible && "".concat(blockClass, "__collapsible"), isCollapsed && "".concat(blockClass, "__collapsible-collapsed"), media && "".concat(blockClass, "__has-media"), [narrow ? "".concat(blockClass, "__narrow") : "".concat(blockClass, "__wide")], withLeftGutter && !narrow && "".concat(blockClass, "__with-left-gutter")),
|
99
100
|
ref: ref,
|
100
101
|
role: "complementary"
|
101
102
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement("div", {
|
@@ -158,36 +159,36 @@ exports.InlineTip.propTypes = {
|
|
158
159
|
* directly below the content. This component comes with pre-styled
|
159
160
|
* elements available to use: `InlineTipLink` and `InlineTipButton`.
|
160
161
|
*/
|
161
|
-
action: index
|
162
|
+
action: index["default"].node,
|
162
163
|
/**
|
163
164
|
* Provide the contents of the InlineTip.
|
164
165
|
*/
|
165
|
-
children: index
|
166
|
+
children: index["default"].node.isRequired,
|
166
167
|
/**
|
167
168
|
* Provide an optional class to be applied to the containing node.
|
168
169
|
*/
|
169
|
-
className: index
|
170
|
+
className: index["default"].string,
|
170
171
|
/**
|
171
172
|
* Tooltip text and aria label for the Close button icon.
|
172
173
|
*/
|
173
|
-
closeIconDescription: index
|
174
|
+
closeIconDescription: index["default"].string,
|
174
175
|
/**
|
175
176
|
* The label for the collapse button.
|
176
177
|
* This button is not visible if `media` is specified.
|
177
178
|
*/
|
178
|
-
collapseButtonLabel: index
|
179
|
+
collapseButtonLabel: index["default"].string,
|
179
180
|
/**
|
180
181
|
* If set to `true`, it will truncate the body text to
|
181
182
|
* one line and expose an expand/collapse button toggle.
|
182
183
|
*
|
183
184
|
* This feature is disabled if `media` is specified.
|
184
185
|
*/
|
185
|
-
collapsible: index
|
186
|
+
collapsible: index["default"].bool,
|
186
187
|
/**
|
187
188
|
* The label for the expand button.
|
188
189
|
* This button is not visible if `media` is specified.
|
189
190
|
*/
|
190
|
-
expandButtonLabel: index
|
191
|
+
expandButtonLabel: index["default"].string,
|
191
192
|
/**
|
192
193
|
* The object describing an image in one of two shapes.
|
193
194
|
* - If a single media element is required, use `{render}`.
|
@@ -195,33 +196,33 @@ exports.InlineTip.propTypes = {
|
|
195
196
|
*
|
196
197
|
* Enabling `media` disables the `collapsible` feature.
|
197
198
|
*/
|
198
|
-
media: index
|
199
|
-
render: index
|
200
|
-
}), index
|
201
|
-
filePaths: index
|
199
|
+
media: index["default"].oneOfType([index["default"].shape({
|
200
|
+
render: index["default"].func
|
201
|
+
}), index["default"].shape({
|
202
|
+
filePaths: index["default"].string
|
202
203
|
})]),
|
203
204
|
/**
|
204
205
|
* Set to `true` to arrange the information in a format
|
205
206
|
* that is easier to read in a limited space.
|
206
207
|
*/
|
207
|
-
narrow: index
|
208
|
+
narrow: index["default"].bool,
|
208
209
|
/**
|
209
210
|
* Function to call when the tertiary button is clicked.
|
210
211
|
*/
|
211
|
-
onClick: index
|
212
|
+
onClick: index["default"].func,
|
212
213
|
/**
|
213
214
|
* Function to call when the InlineTip is closed via the "X" button.
|
214
215
|
*/
|
215
|
-
onClose: index
|
216
|
+
onClose: index["default"].func,
|
216
217
|
/**
|
217
218
|
* Defining the label will show a the tertiary button with the crossroads icon.
|
218
219
|
* You will still need to define the `onClose` method to trigger a callback.
|
219
220
|
*/
|
220
|
-
tertiaryButtonLabel: index
|
221
|
+
tertiaryButtonLabel: index["default"].string,
|
221
222
|
/**
|
222
223
|
* The title of the InlineTip.
|
223
224
|
*/
|
224
|
-
title: index
|
225
|
+
title: index["default"].string.isRequired,
|
225
226
|
/**
|
226
227
|
* If true, insert 1 rem of "space" on the left of the component.
|
227
228
|
* This will allow the component's content to line up with other
|
@@ -229,5 +230,5 @@ exports.InlineTip.propTypes = {
|
|
229
230
|
*
|
230
231
|
* This will only be applied when `narrow` is false.
|
231
232
|
*/
|
232
|
-
withLeftGutter: index
|
233
|
+
withLeftGutter: index["default"].bool
|
233
234
|
};
|
@@ -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
|
|
@@ -37,7 +38,7 @@ exports.InlineTipButton = /*#__PURE__*/React__default["default"].forwardRef(func
|
|
37
38
|
className = _ref.className,
|
38
39
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
39
40
|
return /*#__PURE__*/React__default["default"].createElement(react.Button, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
40
|
-
className:
|
41
|
+
className: cx__default["default"](blockClass, className),
|
41
42
|
ref: ref
|
42
43
|
}, devtools.getDevtoolsProps(componentName), {
|
43
44
|
size: "md",
|
@@ -50,11 +51,11 @@ exports.InlineTipButton.propTypes = {
|
|
50
51
|
/**
|
51
52
|
* Provide the contents of the InlineTipButton.
|
52
53
|
*/
|
53
|
-
children: index
|
54
|
+
children: index["default"].node.isRequired,
|
54
55
|
/**
|
55
56
|
* Provide an optional class to be applied to the containing node.
|
56
57
|
*/
|
57
|
-
className: index
|
58
|
+
className: index["default"].string
|
58
59
|
|
59
60
|
/* TODO: add types and DocGen for all props. */
|
60
61
|
};
|
@@ -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 icons = require('@carbon/react/icons');
|
17
17
|
var react = require('@carbon/react');
|
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 _Launch;
|
26
27
|
var _excluded = ["children", "className"];
|
@@ -39,7 +40,7 @@ exports.InlineTipLink = /*#__PURE__*/React__default["default"].forwardRef(functi
|
|
39
40
|
className = _ref.className,
|
40
41
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
41
42
|
return /*#__PURE__*/React__default["default"].createElement(react.Link, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
42
|
-
className:
|
43
|
+
className: cx__default["default"](blockClass, className),
|
43
44
|
ref: ref
|
44
45
|
}, devtools.getDevtoolsProps(componentName), {
|
45
46
|
renderIcon: function renderIcon() {
|
@@ -55,11 +56,11 @@ exports.InlineTipLink.propTypes = {
|
|
55
56
|
/**
|
56
57
|
* Provide the contents of the InlineTipLink.
|
57
58
|
*/
|
58
|
-
children: index
|
59
|
+
children: index["default"].node.isRequired,
|
59
60
|
/**
|
60
61
|
* Provide an optional class to be applied to the containing node.
|
61
62
|
*/
|
62
|
-
className: index
|
63
|
+
className: index["default"].string
|
63
64
|
|
64
65
|
/* TODO: add types and DocGen for all props. */
|
65
66
|
};
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
14
|
var index = require('../../node_modules/prop-types/index.js');
|
15
|
-
var
|
15
|
+
var cx = require('classnames');
|
16
16
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
17
|
var settings = require('../../settings.js');
|
18
18
|
var lodash = require('lodash');
|
@@ -24,6 +24,7 @@ var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
25
25
|
|
26
26
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
27
|
+
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
27
28
|
|
28
29
|
var _excluded = ["children", "className", "closeIconDescription", "domainName", "hideProgressIndicator", "interstitialAriaLabel", "isFullScreen", "isOpen", "media", "nextButtonLabel", "onClose", "previousButtonLabel", "productName", "headerClassName", "headerTitle", "startButtonLabel", "skipButtonLabel"];
|
29
30
|
|
@@ -186,7 +187,7 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
186
187
|
var renderModal = function renderModal(childElements) {
|
187
188
|
return /*#__PURE__*/React__default["default"].createElement(react.ComposedModal, _rollupPluginBabelHelpers["extends"]({}, rest, {
|
188
189
|
preventCloseOnClickOutside: true,
|
189
|
-
className:
|
190
|
+
className: cx__default["default"](blockClass,
|
190
191
|
// Apply the block class to the main HTML element
|
191
192
|
className // Apply any supplied class names to the main HTML element.
|
192
193
|
),
|
@@ -196,7 +197,7 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
196
197
|
ref: _forwardedRef,
|
197
198
|
"aria-label": interstitialAriaLabel
|
198
199
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement(react.ModalHeader, {
|
199
|
-
className:
|
200
|
+
className: cx__default["default"](headerBlockClass, headerTitle && "".concat(headerBlockClass, "--has-title"), headerClassName),
|
200
201
|
iconDescription: closeIconDescription,
|
201
202
|
buttonOnClick: handleClose
|
202
203
|
}, headerTitle && (_h || (_h = /*#__PURE__*/React__default["default"].createElement("h2", null, headerTitle))), !hideProgressIndicator && /*#__PURE__*/React__default["default"].createElement("div", {
|
@@ -215,7 +216,7 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
215
216
|
};
|
216
217
|
var renderFullScreen = function renderFullScreen(childElements) {
|
217
218
|
return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
|
218
|
-
className:
|
219
|
+
className: cx__default["default"](blockClass,
|
219
220
|
// Apply the block class to the main HTML element
|
220
221
|
className,
|
221
222
|
// Apply any supplied class names to the main HTML element.
|
@@ -223,11 +224,11 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
223
224
|
"aria-label": interstitialAriaLabel,
|
224
225
|
ref: ref
|
225
226
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement("div", {
|
226
|
-
className:
|
227
|
+
className: cx__default["default"]([_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--container"), isFullScreen)])
|
227
228
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
228
229
|
className: "".concat(blockClass, "--header")
|
229
230
|
}, domainName, domainProductDelimiter, _strong || (_strong = /*#__PURE__*/React__default["default"].createElement("strong", null, productName))), /*#__PURE__*/React__default["default"].createElement("header", {
|
230
|
-
className:
|
231
|
+
className: cx__default["default"](headerBlockClass, headerTitle && "".concat(headerBlockClass, "--has-title"), headerClassName)
|
231
232
|
}, headerTitle && (_h2 || (_h2 = /*#__PURE__*/React__default["default"].createElement("h2", null, headerTitle))), !hideProgressIndicator && /*#__PURE__*/React__default["default"].createElement("div", {
|
232
233
|
className: "".concat(blockClass, "--progress")
|
233
234
|
}, /*#__PURE__*/React__default["default"].createElement(react.ProgressIndicator, {
|
@@ -242,20 +243,20 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
242
243
|
};
|
243
244
|
var renderBody = function renderBody() {
|
244
245
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
245
|
-
className:
|
246
|
+
className: cx__default["default"]("".concat(blockClass, "--body")),
|
246
247
|
ref: bodyScrollRef
|
247
248
|
}, mediaIsDefined ? /*#__PURE__*/React__default["default"].createElement(react.FlexGrid, {
|
248
249
|
fullWidth: true,
|
249
|
-
className:
|
250
|
+
className: cx__default["default"]("".concat(blockClass, "--body-grid"))
|
250
251
|
}, /*#__PURE__*/React__default["default"].createElement(react.Row, {
|
251
|
-
className:
|
252
|
+
className: cx__default["default"]("".concat(blockClass, "--body-row"))
|
252
253
|
}, /*#__PURE__*/React__default["default"].createElement(react.Column, {
|
253
254
|
xlg: contentBreakpoints.xlg,
|
254
255
|
lg: contentBreakpoints.lg,
|
255
256
|
md: contentBreakpoints.md,
|
256
257
|
sm: contentBreakpoints.sm
|
257
258
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
258
|
-
className:
|
259
|
+
className: cx__default["default"]("".concat(blockClass, "--content"))
|
259
260
|
}, isMultiStep ? /*#__PURE__*/React__default["default"].createElement("div", {
|
260
261
|
className: "".concat(blockClass, "__carousel")
|
261
262
|
}, /*#__PURE__*/React__default["default"].createElement(Carousel.Carousel, {
|
@@ -266,7 +267,7 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
266
267
|
lg: mediaBreakpoints.lg,
|
267
268
|
md: mediaBreakpoints.md,
|
268
269
|
sm: mediaBreakpoints.sm,
|
269
|
-
className:
|
270
|
+
className: cx__default["default"]("".concat(blockClass, "--media-container"))
|
270
271
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
271
272
|
className: "".concat(blockClass, "--media")
|
272
273
|
}, media.render ? media.render() : /*#__PURE__*/React__default["default"].createElement(SteppedAnimatedMedia.SteppedAnimatedMedia, {
|
@@ -274,7 +275,7 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
|
|
274
275
|
filePaths: media.filePaths,
|
275
276
|
playStep: progStep
|
276
277
|
}))))) : /*#__PURE__*/React__default["default"].createElement("div", {
|
277
|
-
className:
|
278
|
+
className: cx__default["default"]("".concat(blockClass, "--content"))
|
278
279
|
}, isMultiStep ? /*#__PURE__*/React__default["default"].createElement("div", {
|
279
280
|
className: "".concat(blockClass, "__carousel")
|
280
281
|
}, /*#__PURE__*/React__default["default"].createElement(Carousel.Carousel, {
|