@carbon/ibm-products 1.25.1 → 2.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +24548 -24333
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +10 -12
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +5770 -2820
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +10 -12
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +10407 -4482
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +10 -12
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +10786 -14938
- package/css/index.css.map +1 -1
- package/css/index.min.css +10 -12
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +14 -6
- package/es/components/AboutModal/AboutModal.js +37 -10
- package/es/components/ActionBar/ActionBar.js +4 -3
- package/es/components/ActionBar/ActionBarItem.js +15 -13
- package/es/components/ActionBar/ActionBarOverflowItems.js +3 -2
- package/es/components/ActionSet/ActionSet.js +6 -6
- package/es/components/AddSelect/AddSelect.js +4 -2
- package/es/components/AddSelect/AddSelectBody.js +12 -6
- package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
- package/es/components/AddSelect/AddSelectColumn.js +21 -10
- package/es/components/AddSelect/AddSelectFilter.js +8 -3
- package/es/components/AddSelect/AddSelectList.js +17 -7
- package/es/components/AddSelect/AddSelectMetaPanel.js +8 -3
- package/es/components/AddSelect/AddSelectSidebar.js +1 -1
- package/es/components/AddSelect/AddSelectSort.js +20 -8
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +24 -13
- package/es/components/ButtonMenu/ButtonMenu.js +15 -6
- package/es/components/ButtonMenu/ButtonMenuItem.js +1 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +7 -5
- package/es/components/Card/Card.js +12 -10
- package/es/components/Card/CardFooter.js +3 -3
- package/es/components/Cascade/Cascade.js +1 -1
- package/es/components/ComboButton/ComboButton.js +11 -3
- package/es/components/CreateFullPage/CreateFullPage.js +4 -4
- 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 +3 -3
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +4 -2
- package/es/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +14 -5
- package/es/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +11 -4
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -3
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridHead.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +12 -5
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.js +4 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +8 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +7 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +10 -10
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +23 -26
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/CustomizeColumnStory.js +0 -0
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/LeftPanelStory.js +0 -0
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/RowSizeDropdownStory.js +0 -0
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/SelectAllWithToggleStory.js +0 -0
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/StickyActionsColumnStory.js +0 -0
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/common.js +0 -0
- package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/index.js +2 -2
- package/es/components/Datagrid/useActionsColumn.js +1 -1
- package/es/components/Datagrid/useRowExpander.js +6 -2
- package/es/components/Datagrid/useSelectRows.js +4 -3
- package/es/components/Datagrid/useSortableColumns.js +19 -8
- package/es/components/EditSidePanel/EditSidePanel.js +2 -2
- package/es/components/EditTearsheet/EditTearsheet.js +1 -1
- package/es/components/EditTearsheet/EditTearsheetForm.js +4 -2
- package/es/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +9 -9
- package/es/components/EmptyStates/EmptyState.js +1 -1
- package/es/components/EmptyStates/EmptyStateContent.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/ExampleComponent/ExampleComponent.js +4 -4
- package/es/components/ExportModal/ExportModal.js +7 -4
- package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
- package/es/components/ImportModal/ImportModal.js +12 -6
- package/es/components/InlineEdit/InlineEdit.js +27 -15
- package/es/components/ModifiedTabs/ModifiedTabLabelNew.js +9 -5
- package/es/components/ModifiedTabs/ModifiedTabLabelWithClose.js +13 -15
- package/es/components/ModifiedTabs/ModifiedTabs.js +64 -42
- package/es/components/MultiAddSelect/MultiAddSelect.js +2 -2
- package/es/components/NotificationsPanel/NotificationsPanel.js +32 -18
- package/es/components/OptionsTile/OptionsTile.js +15 -9
- package/es/components/PageHeader/PageHeader.js +13 -9
- package/es/components/PageHeader/PageHeaderTitle.js +1 -1
- package/es/components/PageHeader/PageHeaderUtils.js +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +5 -0
- package/es/components/RemoveModal/RemoveModal.js +3 -2
- package/es/components/Saving/Saving.js +26 -8
- package/es/components/SidePanel/SidePanel.js +18 -10
- package/es/components/StatusIcon/StatusIcon.js +294 -74
- package/es/components/TagSet/TagSet.js +6 -15
- package/es/components/TagSet/TagSetModal.js +4 -3
- package/es/components/TagSet/TagSetOverflow.js +37 -34
- package/es/components/TagSet/constants.js +20 -0
- package/es/components/Tearsheet/Tearsheet.js +2 -2
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/es/components/Tearsheet/TearsheetShell.js +11 -9
- package/es/components/Toolbar/Toolbar.js +2 -1
- package/es/components/Toolbar/ToolbarButton.js +22 -13
- package/es/components/UserProfileImage/UserProfileImage.js +38 -13
- package/es/components/WebTerminal/WebTerminal.js +15 -6
- package/es/components/WebTerminal/preview-components/Navigation.js +11 -5
- package/es/components/_Canary/Canary.js +1 -1
- package/es/global/js/hooks/index.js +1 -1
- package/es/global/js/utils/test-helper.js +2 -1
- package/es/settings.js +2 -10
- package/lib/components/APIKeyModal/APIKeyModal.js +25 -17
- package/lib/components/AboutModal/AboutModal.js +43 -15
- package/lib/components/ActionBar/ActionBar.js +6 -5
- package/lib/components/ActionBar/ActionBarItem.js +15 -13
- package/lib/components/ActionBar/ActionBarOverflowItems.js +5 -4
- package/lib/components/ActionSet/ActionSet.js +13 -13
- package/lib/components/AddSelect/AddSelect.js +4 -2
- package/lib/components/AddSelect/AddSelectBody.js +13 -7
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +3 -3
- package/lib/components/AddSelect/AddSelectColumn.js +23 -13
- package/lib/components/AddSelect/AddSelectFilter.js +16 -10
- package/lib/components/AddSelect/AddSelectList.js +26 -15
- package/lib/components/AddSelect/AddSelectMetaPanel.js +9 -3
- package/lib/components/AddSelect/AddSelectSidebar.js +4 -4
- package/lib/components/AddSelect/AddSelectSort.js +22 -9
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +29 -19
- package/lib/components/ButtonMenu/ButtonMenu.js +18 -9
- package/lib/components/ButtonMenu/ButtonMenuItem.js +3 -3
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +10 -8
- package/lib/components/Card/Card.js +15 -13
- package/lib/components/Card/CardFooter.js +5 -5
- package/lib/components/Cascade/Cascade.js +2 -2
- package/lib/components/ComboButton/ComboButton.js +21 -13
- package/lib/components/CreateFullPage/CreateFullPage.js +8 -8
- package/lib/components/CreateFullPage/CreateFullPageStep.js +2 -2
- package/lib/components/CreateInfluencer/CreateInfluencer.js +3 -3
- package/lib/components/CreateModal/CreateModal.js +7 -7
- package/lib/components/CreateSidePanel/CreateSidePanel.js +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheet.js +3 -3
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -3
- package/lib/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +27 -18
- package/lib/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +26 -19
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -4
- package/lib/components/Datagrid/Datagrid/Datagrid.js +3 -3
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -4
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +3 -3
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +4 -4
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +15 -8
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +2 -2
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +3 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +10 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +7 -3
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +9 -9
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +24 -27
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/CustomizeColumnStory.js +0 -0
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/LeftPanelStory.js +0 -0
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/RowSizeDropdownStory.js +0 -0
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/SelectAllWithToggleStory.js +0 -0
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/StickyActionsColumnStory.js +0 -0
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/common.js +0 -0
- package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/index.js +2 -2
- package/lib/components/Datagrid/useActionsColumn.js +4 -4
- package/lib/components/Datagrid/useRowExpander.js +5 -1
- package/lib/components/Datagrid/useSelectRows.js +4 -3
- package/lib/components/Datagrid/useSortableColumns.js +20 -8
- package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
- package/lib/components/EditTearsheet/EditTearsheet.js +5 -5
- package/lib/components/EditTearsheet/EditTearsheetForm.js +5 -3
- package/lib/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +21 -21
- package/lib/components/EmptyStates/EmptyState.js +4 -4
- package/lib/components/EmptyStates/EmptyStateContent.js +6 -6
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +4 -4
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +4 -4
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +4 -4
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +4 -4
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +4 -4
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +4 -4
- package/lib/components/ExampleComponent/ExampleComponent.js +7 -7
- package/lib/components/ExportModal/ExportModal.js +17 -14
- package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/lib/components/HTTPErrors/HTTPErrorContent.js +3 -3
- package/lib/components/ImportModal/ImportModal.js +19 -14
- package/lib/components/InlineEdit/InlineEdit.js +26 -14
- package/lib/components/ModifiedTabs/ModifiedTabLabelNew.js +10 -4
- package/lib/components/ModifiedTabs/ModifiedTabLabelWithClose.js +14 -14
- package/lib/components/ModifiedTabs/ModifiedTabs.js +66 -45
- package/lib/components/MultiAddSelect/MultiAddSelect.js +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +37 -23
- package/lib/components/OptionsTile/OptionsTile.js +15 -9
- package/lib/components/PageHeader/PageHeader.js +33 -29
- package/lib/components/PageHeader/PageHeaderTitle.js +2 -2
- package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
- package/lib/components/ProductiveCard/ProductiveCard.js +5 -0
- package/lib/components/RemoveModal/RemoveModal.js +9 -8
- package/lib/components/Saving/Saving.js +28 -10
- package/lib/components/SidePanel/SidePanel.js +22 -14
- package/lib/components/StatusIcon/StatusIcon.js +300 -75
- package/lib/components/TagSet/TagSet.js +8 -17
- package/lib/components/TagSet/TagSetModal.js +10 -9
- package/lib/components/TagSet/TagSetOverflow.js +38 -35
- package/lib/components/TagSet/constants.js +27 -0
- package/lib/components/Tearsheet/Tearsheet.js +4 -4
- package/lib/components/Tearsheet/TearsheetNarrow.js +3 -3
- package/lib/components/Tearsheet/TearsheetShell.js +13 -12
- package/lib/components/Toolbar/Toolbar.js +3 -1
- package/lib/components/Toolbar/ToolbarButton.js +20 -10
- package/lib/components/UserProfileImage/UserProfileImage.js +37 -12
- package/lib/components/WebTerminal/WebTerminal.js +19 -10
- package/lib/components/WebTerminal/preview-components/Navigation.js +13 -7
- package/lib/components/_Canary/Canary.js +2 -2
- package/lib/global/js/utils/test-helper.js +2 -1
- package/lib/settings.js +2 -11
- package/package.json +11 -12
- package/scss/components/APIKeyModal/_api-key-modal.scss +44 -55
- package/scss/components/APIKeyModal/_carbon-imports.scss +15 -0
- package/scss/components/APIKeyModal/_index-with-carbon.scss +9 -0
- package/scss/components/APIKeyModal/_index.scss +1 -1
- package/scss/components/APIKeyModal/_storybook-styles.scss +10 -8
- package/scss/components/AboutModal/_about-modal.scss +120 -112
- package/scss/components/AboutModal/_carbon-imports.scss +11 -0
- package/scss/components/AboutModal/_index-with-carbon.scss +9 -0
- package/scss/components/AboutModal/_index.scss +1 -1
- package/scss/components/AboutModal/_storybook-styles.scss +2 -1
- package/scss/components/ActionBar/_action-bar.scss +35 -47
- package/scss/components/ActionBar/_carbon-imports.scss +11 -0
- package/scss/components/ActionBar/_index-with-carbon.scss +9 -0
- package/scss/components/ActionBar/_index.scss +1 -1
- package/scss/components/ActionBar/_storybook-styles.scss +1 -1
- package/scss/components/ActionSet/_action-set.scss +88 -96
- package/scss/components/ActionSet/_carbon-imports.scss +11 -0
- package/scss/components/ActionSet/_index-with-carbon.scss +9 -0
- package/scss/components/ActionSet/_index.scss +1 -1
- package/scss/components/ActionSet/_storybook-styles.scss +3 -3
- package/scss/components/AddSelect/_add-select.scss +288 -278
- package/scss/components/AddSelect/_carbon-imports.scss +19 -0
- package/scss/components/AddSelect/_index-with-carbon.scss +9 -0
- package/scss/components/AddSelect/_index.scss +1 -1
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +58 -64
- package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +12 -0
- package/scss/components/BreadcrumbWithOverflow/_index-with-carbon.scss +9 -0
- package/scss/components/BreadcrumbWithOverflow/_index.scss +1 -1
- package/scss/components/BreadcrumbWithOverflow/_storybook-styles.scss +1 -1
- package/scss/components/ButtonMenu/_button-menu.scss +12 -19
- package/scss/components/ButtonMenu/_carbon-imports.scss +9 -0
- package/scss/components/ButtonMenu/_index-with-carbon.scss +9 -0
- package/scss/components/ButtonMenu/_index.scss +1 -1
- package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +24 -34
- package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +10 -0
- package/scss/components/ButtonSetWithOverflow/_index-with-carbon.scss +9 -0
- package/scss/components/ButtonSetWithOverflow/_index.scss +1 -1
- package/scss/components/ButtonSetWithOverflow/_storybook-styles.scss +1 -1
- package/scss/components/Card/_carbon-imports.scss +11 -0
- package/scss/components/Card/_card.scss +107 -114
- package/scss/components/Card/_index-with-carbon.scss +9 -0
- package/scss/components/Card/_index.scss +1 -3
- package/scss/components/Cascade/_carbon-imports.scss +6 -0
- package/scss/components/Cascade/_cascade.scss +30 -34
- package/scss/components/Cascade/_index-with-carbon.scss +9 -0
- package/scss/components/Cascade/_index.scss +1 -1
- package/scss/components/Cascade/_storybook-styles.scss +6 -5
- package/scss/components/ComboButton/_carbon-imports.scss +11 -0
- package/scss/components/ComboButton/_combo-button.scss +57 -46
- package/scss/components/ComboButton/_index-with-carbon.scss +9 -0
- package/scss/components/ComboButton/_index.scss +1 -1
- package/scss/components/CreateFullPage/_carbon-imports.scss +17 -0
- package/scss/components/CreateFullPage/_create-full-page.scss +134 -140
- package/scss/components/CreateFullPage/_index-with-carbon.scss +9 -0
- package/scss/components/CreateFullPage/_index.scss +1 -1
- package/scss/components/CreateFullPage/_storybook-styles.scss +26 -10
- package/scss/components/CreateInfluencer/_carbon-imports.scss +10 -0
- package/scss/components/CreateInfluencer/_create-influencer.scss +65 -70
- package/scss/components/CreateInfluencer/_index-with-carbon.scss +9 -0
- package/scss/components/CreateInfluencer/_index.scss +1 -1
- package/scss/components/CreateModal/_carbon-imports.scss +12 -0
- package/scss/components/CreateModal/_create-modal.scss +56 -59
- package/scss/components/CreateModal/_index-with-carbon.scss +9 -0
- package/scss/components/CreateModal/_index.scss +1 -1
- package/scss/components/CreateModal/_storybook-styles.scss +24 -21
- package/scss/components/CreateSidePanel/_carbon-imports.scss +10 -0
- package/scss/components/CreateSidePanel/_create-side-panel.scss +65 -71
- package/scss/components/CreateSidePanel/_index-with-carbon.scss +9 -0
- package/scss/components/CreateSidePanel/_index.scss +1 -1
- package/scss/components/CreateSidePanel/_storybook-styles.scss +8 -6
- package/scss/components/CreateTearsheet/_carbon-imports.scss +10 -0
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +116 -98
- package/scss/components/CreateTearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/CreateTearsheet/_index.scss +1 -1
- package/scss/components/CreateTearsheet/_storybook-styles.scss +14 -11
- package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +10 -0
- package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +36 -44
- package/scss/components/CreateTearsheetNarrow/_index-with-carbon.scss +9 -0
- package/scss/components/CreateTearsheetNarrow/_index.scss +1 -1
- package/scss/components/CreateTearsheetNarrow/_storybook-styles.scss +7 -6
- package/scss/components/DataSpreadsheet/_carbon-imports.scss +6 -0
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +217 -173
- package/scss/components/DataSpreadsheet/_index-with-carbon.scss +9 -0
- package/scss/components/DataSpreadsheet/_index.scss +1 -1
- package/scss/components/Datagrid/_carbon-imports.scss +6 -0
- package/scss/components/Datagrid/_datagrid.scss +29 -36
- package/scss/components/Datagrid/_index-with-carbon.scss +9 -0
- package/scss/components/Datagrid/_index.scss +1 -1
- package/scss/components/Datagrid/_storybook-styles.scss +15 -11
- package/scss/components/Datagrid/styles/_datagrid.scss +62 -59
- package/scss/components/Datagrid/styles/_draggableElement.scss +15 -13
- package/scss/components/Datagrid/styles/_index.scss +13 -13
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +5 -4
- package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +2 -1
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +5 -5
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +14 -7
- package/scss/components/Datagrid/styles/_useNestedRows.scss +6 -3
- package/scss/components/Datagrid/styles/_useNestedTable.scss +15 -9
- package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +6 -5
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +14 -12
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +10 -9
- package/scss/components/Datagrid/styles/_variables.scss +3 -2
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsModal.scss +15 -11
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +9 -7
- package/scss/components/EditFullPage/_edit-full-page.scss +9 -17
- package/scss/components/EditSidePanel/_carbon-imports.scss +9 -0
- package/scss/components/EditSidePanel/_edit-side-panel.scss +45 -54
- package/scss/components/EditSidePanel/_index-with-carbon.scss +9 -0
- package/scss/components/EditSidePanel/_index.scss +1 -1
- package/scss/components/EditSidePanel/_storybook-styles.scss +3 -1
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +95 -93
- package/scss/components/EditTearsheet/_storybook-styles.scss +15 -11
- package/scss/components/EditTearsheetNarrow/_edit-tearsheet-narrow.scss +9 -17
- package/scss/components/EmptyStates/_carbon-imports.scss +11 -0
- package/scss/components/EmptyStates/_empty-state.scss +38 -48
- package/scss/components/EmptyStates/_index-with-carbon.scss +9 -0
- package/scss/components/EmptyStates/_index.scss +1 -1
- package/scss/components/ExampleComponent/_carbon-imports.scss +10 -0
- package/scss/components/ExampleComponent/_example-component.scss +15 -26
- package/scss/components/ExampleComponent/_index-with-carbon.scss +9 -0
- package/scss/components/ExampleComponent/_index.scss +1 -1
- package/scss/components/ExportModal/_carbon-imports.scss +16 -0
- package/scss/components/ExportModal/_export-modal.scss +41 -48
- package/scss/components/ExportModal/_index-with-carbon.scss +9 -0
- package/scss/components/ExportModal/_index.scss +1 -1
- package/scss/components/ExpressiveCard/_carbon-imports.scss +6 -0
- package/scss/components/ExpressiveCard/_expressive-card.scss +7 -14
- package/scss/components/ExpressiveCard/_index-with-carbon.scss +9 -0
- package/scss/components/ExpressiveCard/_index.scss +1 -1
- package/scss/components/ExpressiveCard/_storybook-styles.scss +6 -5
- package/scss/components/HTTPErrors/_carbon-imports.scss +10 -0
- package/scss/components/HTTPErrors/_http-errors.scss +48 -56
- package/scss/components/HTTPErrors/_index-with-carbon.scss +9 -0
- package/scss/components/HTTPErrors/_index.scss +1 -1
- package/scss/components/ImportModal/_carbon-imports.scss +14 -0
- package/scss/components/ImportModal/_import-modal.scss +72 -77
- package/scss/components/ImportModal/_index-with-carbon.scss +9 -0
- package/scss/components/ImportModal/_index.scss +1 -1
- package/scss/components/InlineEdit/_carbon-imports.scss +6 -0
- package/scss/components/InlineEdit/_index-with-carbon.scss +9 -0
- package/scss/components/InlineEdit/_index.scss +1 -1
- package/scss/components/InlineEdit/_inline-edit.scss +261 -237
- package/scss/components/InlineEdit/_storybook-styles.scss +7 -3
- package/scss/components/ModifiedTabs/_carbon-imports.scss +10 -0
- package/scss/components/ModifiedTabs/_index-with-carbon.scss +9 -0
- package/scss/components/ModifiedTabs/_index.scss +8 -1
- package/scss/components/ModifiedTabs/_modified-tabs.scss +38 -16
- package/scss/components/MultiAddSelect/_carbon-imports.scss +6 -0
- package/scss/components/MultiAddSelect/_index-with-carbon.scss +9 -0
- package/scss/components/MultiAddSelect/_index.scss +8 -1
- package/scss/components/MultiAddSelect/_multi-add-select.scss +1 -1
- package/scss/components/NotificationsPanel/_carbon-imports.scss +12 -0
- package/scss/components/NotificationsPanel/_index-with-carbon.scss +9 -0
- package/scss/components/NotificationsPanel/_index.scss +1 -1
- package/scss/components/NotificationsPanel/_notifications-panel.scss +241 -237
- package/scss/components/NotificationsPanel/_storybook-styles.scss +9 -0
- package/scss/components/OptionsTile/_carbon-imports.scss +10 -0
- package/scss/components/OptionsTile/_index-with-carbon.scss +9 -0
- package/scss/components/OptionsTile/_index.scss +1 -1
- package/scss/components/OptionsTile/_options-tile.scss +173 -171
- package/scss/components/OptionsTile/_storybook-styles.scss +7 -4
- package/scss/components/PageHeader/_carbon-imports.scss +13 -0
- package/scss/components/PageHeader/_index-with-carbon.scss +9 -0
- package/scss/components/PageHeader/_index.scss +1 -1
- package/scss/components/PageHeader/_page-header.scss +449 -461
- package/scss/components/PageHeader/_storybook-styles.scss +15 -11
- package/scss/components/ProductiveCard/_carbon-imports.scss +6 -0
- package/scss/components/ProductiveCard/_index-with-carbon.scss +9 -0
- package/scss/components/ProductiveCard/_index.scss +1 -1
- package/scss/components/ProductiveCard/_productive-card.scss +43 -48
- package/scss/components/ProductiveCard/_storybook-styles.scss +7 -6
- package/scss/components/RemoveModal/_carbon-imports.scss +12 -0
- package/scss/components/RemoveModal/_index-with-carbon.scss +9 -0
- package/scss/components/RemoveModal/_index.scss +1 -1
- package/scss/components/RemoveModal/_remove-modal.scss +17 -26
- package/scss/components/Saving/_carbon-imports.scss +11 -0
- package/scss/components/Saving/_index-with-carbon.scss +9 -0
- package/scss/components/Saving/_index.scss +1 -1
- package/scss/components/Saving/_saving.scss +19 -27
- package/scss/components/Saving/_storybook-styles.scss +1 -1
- package/scss/components/SidePanel/_carbon-imports.scss +10 -0
- package/scss/components/SidePanel/_index-with-carbon.scss +9 -0
- package/scss/components/SidePanel/_index.scss +1 -1
- package/scss/components/SidePanel/_side-panel-variables.scss +1 -1
- package/scss/components/SidePanel/_side-panel.scss +402 -392
- package/scss/components/SidePanel/_storybook-styles.scss +6 -4
- package/scss/components/SingleAddSelect/_carbon-imports.scss +6 -0
- package/scss/components/SingleAddSelect/_index-with-carbon.scss +9 -0
- package/scss/components/SingleAddSelect/_index.scss +1 -1
- package/scss/components/SingleAddSelect/_single-add-select.scss +1 -1
- package/scss/components/StatusIcon/_carbon-imports.scss +6 -0
- package/scss/components/StatusIcon/_index-with-carbon.scss +9 -0
- package/scss/components/StatusIcon/_index.scss +1 -1
- package/scss/components/StatusIcon/_status-icon.scss +30 -27
- package/scss/components/TagSet/_carbon-imports.scss +14 -0
- package/scss/components/TagSet/_index-with-carbon.scss +9 -0
- package/scss/components/TagSet/_index.scss +1 -1
- package/scss/components/TagSet/_storybook-styles.scss +1 -1
- package/scss/components/TagSet/_tag-set.scss +141 -129
- package/scss/components/Tearsheet/_carbon-imports.scss +10 -0
- package/scss/components/Tearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/Tearsheet/_index.scss +1 -1
- package/scss/components/Tearsheet/_storybook-styles.scss +6 -5
- package/scss/components/Tearsheet/_tearsheet.scss +269 -263
- package/scss/components/Toolbar/_carbon-imports.scss +8 -0
- package/scss/components/Toolbar/_index-with-carbon.scss +9 -0
- package/scss/components/Toolbar/_index.scss +1 -1
- package/scss/components/Toolbar/_toolbar.scss +53 -56
- package/scss/components/UserProfileImage/_carbon-imports.scss +10 -0
- package/scss/components/UserProfileImage/_color-map.scss +30 -30
- package/scss/components/UserProfileImage/_index-with-carbon.scss +9 -0
- package/scss/components/UserProfileImage/_index.scss +1 -1
- package/scss/components/UserProfileImage/_user-profile-image.scss +83 -79
- package/scss/components/WebTerminal/_carbon-imports.scss +6 -0
- package/scss/components/WebTerminal/_index-with-carbon.scss +9 -0
- package/scss/components/WebTerminal/_index.scss +1 -1
- package/scss/components/WebTerminal/_storybook-styles.scss +12 -2
- package/scss/components/WebTerminal/_web-terminal.scss +16 -5
- package/scss/components/_Canary/_canary.scss +2 -4
- package/scss/components/_index-released-only-with-carbon.scss +35 -0
- package/scss/components/_index-released-only.scss +26 -26
- package/scss/components/_index-with-carbon.scss +47 -0
- package/scss/components/_index.scss +40 -40
- package/scss/global/styles/_display-box.scss +9 -5
- package/scss/global/styles/_project-settings.scss +2 -18
- package/scss/index-full-carbon.scss +4 -5
- package/scss/index-without-carbon-released-only.scss +5 -6
- package/scss/index-without-carbon.scss +5 -6
- package/scss/index.scss +4 -4
- package/scss/global/styles/_generate-carbon-modules.scss +0 -14
@@ -5,32 +5,32 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
-
// Standard imports.
|
9
|
-
@import '../../global/styles/project-settings';
|
10
|
-
@import '../../global/styles/mixins';
|
11
|
-
|
12
8
|
// Other Carbon settings.
|
13
|
-
@
|
9
|
+
@use '@carbon/styles/scss/theme' as *;
|
10
|
+
@use '@carbon/styles/scss/breakpoint' as *;
|
11
|
+
@use '@carbon/styles/scss/grid/flexbox';
|
12
|
+
@use '@carbon/styles/scss/motion' as *;
|
13
|
+
@use '@carbon/styles/scss/spacing' as *;
|
14
|
+
@use '@carbon/styles/scss/type';
|
15
|
+
@use '@carbon/styles/scss/utilities';
|
14
16
|
|
15
|
-
//
|
16
|
-
|
17
|
-
@
|
18
|
-
@import 'carbon-components/scss/components/button/button';
|
19
|
-
@import 'carbon-components/scss/components/skeleton/skeleton-text';
|
20
|
-
@import 'carbon-components/scss/components/tag/tag';
|
17
|
+
// Standard imports.
|
18
|
+
@use '../../global/styles/project-settings' as *;
|
19
|
+
@use '../../global/styles/mixins' as *;
|
21
20
|
|
22
21
|
// PageHeader uses the following IBM Products components:
|
23
22
|
// ActionBar, BreadcrumbWithOverflow, TagSet, ButtonSetWithOverflow
|
24
|
-
@
|
25
|
-
@
|
26
|
-
@
|
27
|
-
@
|
23
|
+
@use '../ActionBar/action-bar';
|
24
|
+
@use '../BreadcrumbWithOverflow/breadcrumb-with-overflow';
|
25
|
+
@use '../TagSet/tag-set';
|
26
|
+
@use '../ButtonSetWithOverflow/button-set-with-overflow';
|
28
27
|
|
29
28
|
$block-class: #{$pkg-prefix}--page-header;
|
30
29
|
$breadcrumb-block-class: #{$pkg-prefix}--breadcrumb-with-overflow;
|
31
30
|
|
32
31
|
$raised-z-index: 99;
|
33
|
-
|
32
|
+
/* stylelint-disable-next-line function-no-unknown */
|
33
|
+
$z-index-header-minus: utilities.z('header') - 1;
|
34
34
|
|
35
35
|
$left-section-std-width: 60%;
|
36
36
|
$right-section-std-width: 100% - $left-section-std-width;
|
@@ -66,9 +66,9 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
66
66
|
|
67
67
|
@mixin appearingBackground(
|
68
68
|
$with-shadow: false,
|
69
|
-
$from-color: $
|
70
|
-
$to-color: $
|
71
|
-
$to-color-shadow: $
|
69
|
+
$from-color: $background,
|
70
|
+
$to-color: $layer-01,
|
71
|
+
$to-color-shadow: $layer-accent-01
|
72
72
|
) {
|
73
73
|
// stylelint-disable-next-line carbon/theme-token-use
|
74
74
|
--from-color: #{$from-color};
|
@@ -92,7 +92,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
92
92
|
$animation: background-and-shadow-appear;
|
93
93
|
}
|
94
94
|
|
95
|
-
|
95
|
+
/* stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use -- non-standard duration used */
|
96
96
|
animation: $animation $duration linear paused forwards;
|
97
97
|
// Added separately for clarity
|
98
98
|
animation-delay: calc(
|
@@ -101,569 +101,557 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
101
101
|
content: '';
|
102
102
|
}
|
103
103
|
|
104
|
-
@
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
}
|
104
|
+
@include block-wrap($block-class) {
|
105
|
+
&.#{$block-class} {
|
106
|
+
/* Bleed class for the background */
|
107
|
+
position: sticky;
|
108
|
+
/* z-index used to raise above any position relative content as per Carbon header */
|
109
|
+
/* dropped 1 below Carbon header so as not to overlay the side panel */
|
110
|
+
z-index: $z-index-header-minus;
|
111
|
+
/* stylelint-disable-next-line carbon/layout-token-use */
|
112
|
+
top: var(--#{$block-class}--header-top);
|
113
|
+
display: inline-block; /* cause top/bottom margin to reserve space */
|
114
|
+
width: 100%;
|
115
|
+
background-color: $background;
|
116
|
+
color: $text-primary;
|
117
|
+
|
118
|
+
/* custom props */
|
119
|
+
--#{$block-class}--breadcrumb-title-visibility: hidden;
|
120
|
+
--#{$block-class}--breadcrumb-title-opacity: 1;
|
121
|
+
--#{$block-class}--breadcrumb-top: 0; //1
|
122
|
+
--#{$block-class}--background-opacity: 1;
|
123
|
+
--#{$block-class}--breadcrumb-title-top: initial;
|
124
|
+
--#{$block-class}--button-set-in-breadcrumb-width-px: initial;
|
125
|
+
--#{$block-class}--navigation-buffer-top: $spacing-06;
|
126
|
+
}
|
128
127
|
|
129
|
-
|
130
|
-
|
131
|
-
|
128
|
+
&.#{$block-class}--has-navigation-tags-only {
|
129
|
+
--#{$block-class}--navigation-buffer-top: $spacing-04;
|
130
|
+
}
|
132
131
|
|
133
|
-
|
134
|
-
|
132
|
+
&::before {
|
133
|
+
@include appearingBackground(true);
|
135
134
|
|
136
|
-
|
137
|
-
|
135
|
+
z-index: -1;
|
136
|
+
}
|
138
137
|
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
138
|
+
.#{$block-class}--width--xl {
|
139
|
+
padding-right: $spacing-07;
|
140
|
+
padding-left: $spacing-07;
|
141
|
+
}
|
143
142
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
143
|
+
.#{$block-class}__breadcrumb-row {
|
144
|
+
position: sticky;
|
145
|
+
z-index: $raised-z-index;
|
146
|
+
top: var(--#{$block-class}--breadcrumb-top); //2
|
147
|
+
min-height: $spacing-08;
|
149
148
|
|
150
|
-
|
151
|
-
|
152
|
-
}
|
149
|
+
+ .#{$block-class}__last-row-buffer--active {
|
150
|
+
height: $spacing-02;
|
153
151
|
}
|
152
|
+
}
|
154
153
|
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
154
|
+
.#{$block-class}__breadcrumb-row:not(.#{$block-class}__breadcrumb-row--has-action-bar) {
|
155
|
+
// lifts up page title when there is no action bar
|
156
|
+
min-height: $spacing-07;
|
157
|
+
}
|
159
158
|
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
159
|
+
.#{$block-class}__breadcrumb-row--container {
|
160
|
+
display: flex;
|
161
|
+
min-width: 100%;
|
162
|
+
flex-wrap: nowrap;
|
163
|
+
}
|
165
164
|
|
165
|
+
.#{$block-class}__has-page-actions-without-action-bar {
|
166
|
+
// NOTE: the extra spacing accounts for carbon margins
|
167
|
+
min-width: calc(0.6 * (100% + 2 * #{$spacing-05}));
|
168
|
+
max-width: calc(0.6 * (100% + 2 * #{$spacing-05}));
|
169
|
+
}
|
170
|
+
|
171
|
+
.#{$block-class}__has-page-actions-without-action-bar
|
166
172
|
.#{$block-class}__has-page-actions-without-action-bar {
|
167
|
-
|
168
|
-
|
169
|
-
max-width: calc(0.6 * (100% + 2 * #{$spacing-05}));
|
170
|
-
}
|
173
|
+
min-width: 100%;
|
174
|
+
}
|
171
175
|
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
+
.#{$block-class}__breadcrumb-row--has-action-bar
|
177
|
+
.#{$block-class}__breadcrumb-row--container {
|
178
|
+
min-width: calc(
|
179
|
+
100% +
|
180
|
+
(
|
181
|
+
var(--#{$block-class}--width-px) -
|
182
|
+
var(--#{$block-class}--breadcrumb-row-width-px)
|
183
|
+
) / 2
|
184
|
+
);
|
185
|
+
}
|
186
|
+
.#{$block-class}__breadcrumb-row::after {
|
187
|
+
position: absolute;
|
188
|
+
bottom: 0;
|
189
|
+
left: 50%;
|
190
|
+
display: block;
|
191
|
+
width: 50vw;
|
192
|
+
height: 1px;
|
193
|
+
/* creates a full width box shadow without causing scroll */
|
194
|
+
box-shadow: 0 1px 0 0 $layer-accent-01, 0 1px 0 0 $layer-accent-01;
|
195
|
+
content: '';
|
196
|
+
opacity: 0;
|
197
|
+
transform: translateX(-50%) scaleX(1);
|
198
|
+
// stylelint-disable-next-line carbon/motion-easing-use
|
199
|
+
transition: all $duration-moderate-01 ease-out;
|
200
|
+
}
|
176
201
|
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
var(--#{$block-class}--breadcrumb-row-width-px)
|
184
|
-
) / 2
|
185
|
-
);
|
186
|
-
}
|
187
|
-
.#{$block-class}__breadcrumb-row::after {
|
188
|
-
position: absolute;
|
189
|
-
bottom: 0;
|
190
|
-
left: 50%;
|
191
|
-
display: block;
|
192
|
-
width: 50vw;
|
193
|
-
height: 1px;
|
194
|
-
/* creates a full width box shadow without causing scroll */
|
195
|
-
box-shadow: 0 1px 0 0 $ui-03, 0 1px 0 0 $ui-03;
|
196
|
-
content: '';
|
197
|
-
opacity: 0;
|
198
|
-
transform: translateX(-50%) scaleX(1);
|
199
|
-
// stylelint-disable-next-line carbon/motion-easing-use
|
200
|
-
transition: all $duration--moderate-01 ease-out;
|
201
|
-
}
|
202
|
+
.#{$block-class}__breadcrumb-row--next-to-tabs:not(.#{$block-class}__has-page-actions-without-action-bar)::after,
|
203
|
+
.#{$block-class}__breadcrumb-row--has-action-bar::after {
|
204
|
+
/* creates a full width box shadow without causing scroll */
|
205
|
+
box-shadow: 25vw 1px 0 0 $layer-accent-01, -25vw 1px 0 0 $layer-accent-01;
|
206
|
+
opacity: 1;
|
207
|
+
}
|
202
208
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
box-shadow: 25vw 1px 0 0 $ui-03, -25vw 1px 0 0 $ui-03;
|
207
|
-
opacity: 1;
|
208
|
-
}
|
209
|
+
.#{$block-class}__breadcrumb-container {
|
210
|
+
width: 100%;
|
211
|
+
}
|
209
212
|
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
+
.#{$block-class}__action-bar-column {
|
214
|
+
display: none;
|
215
|
+
}
|
213
216
|
|
217
|
+
.#{$block-class}__breadcrumb-row--has-breadcrumbs
|
214
218
|
.#{$block-class}__action-bar-column {
|
215
|
-
|
219
|
+
// back button displayed only
|
220
|
+
max-width: $right-section-alt-width;
|
221
|
+
flex: 0 1 $right-section-alt-width;
|
222
|
+
|
223
|
+
@include breakpoint(md) {
|
224
|
+
max-width: $right-section-std-width;
|
225
|
+
flex: 1 0 $right-section-std-width;
|
216
226
|
}
|
227
|
+
}
|
217
228
|
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
flex: 0 1 $right-section-alt-width;
|
229
|
+
.#{$block-class}__breadcrumb-row--has-action-bar
|
230
|
+
.#{$block-class}__action-bar-column {
|
231
|
+
display: initial;
|
232
|
+
}
|
223
233
|
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
}
|
234
|
+
.#{$block-class}__action-bar-column-content {
|
235
|
+
display: flex;
|
236
|
+
justify-content: flex-end;
|
237
|
+
white-space: nowrap;
|
229
238
|
|
230
|
-
|
231
|
-
|
232
|
-
display: initial;
|
239
|
+
@include breakpoint-up('lg') {
|
240
|
+
flex-wrap: nowrap; /* assume enough space */
|
233
241
|
}
|
242
|
+
}
|
234
243
|
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
244
|
+
.#{$block-class}__breadcrumb-row .#{$block-class}__page-actions {
|
245
|
+
position: relative;
|
246
|
+
display: inline-block;
|
247
|
+
width: 100%;
|
248
|
+
max-width: var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
249
|
+
flex: 1 1 var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
250
|
+
opacity: 0;
|
251
|
+
transition: opacity $duration-moderate-02 motion('entrance', 'productive');
|
252
|
+
visibility: hidden;
|
253
|
+
white-space: nowrap;
|
254
|
+
}
|
239
255
|
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
256
|
+
.#{$block-class}__breadcrumb-row
|
257
|
+
.#{$block-class}__page-actions--in-breadcrumb {
|
258
|
+
opacity: 1;
|
259
|
+
visibility: visible;
|
260
|
+
}
|
244
261
|
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
max-width: var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
250
|
-
flex: 1 1 var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
251
|
-
opacity: 0;
|
252
|
-
transition: opacity $duration--moderate-02
|
253
|
-
carbon--motion('entrance', 'productive');
|
254
|
-
visibility: hidden;
|
255
|
-
white-space: nowrap;
|
256
|
-
}
|
262
|
+
.#{$block-class}__breadcrumb-column {
|
263
|
+
overflow: hidden; /* required for ellipsis in title, title not visible in breadcrumb with back arrow */
|
264
|
+
max-width: 100%;
|
265
|
+
flex: 0 0 100%;
|
257
266
|
|
258
|
-
|
259
|
-
|
260
|
-
opacity: 1;
|
261
|
-
visibility: visible;
|
267
|
+
@include breakpoint(md) {
|
268
|
+
overflow: hidden; /* required for ellipsis in title, title not visible in breadcrumb with back arrow */
|
262
269
|
}
|
270
|
+
}
|
263
271
|
|
272
|
+
.#{$block-class}__breadcrumb-row--has-action-bar.#{$block-class}__breadcrumb-row
|
264
273
|
.#{$block-class}__breadcrumb-column {
|
265
|
-
|
266
|
-
|
267
|
-
|
274
|
+
// back button displayed only
|
275
|
+
max-width: $left-section-alt-width;
|
276
|
+
flex: 0 1 $left-section-alt-width;
|
268
277
|
|
269
|
-
|
270
|
-
|
271
|
-
|
278
|
+
@include breakpoint(md) {
|
279
|
+
max-width: $left-section-std-width;
|
280
|
+
flex: 0 1 $left-section-std-width;
|
272
281
|
}
|
282
|
+
}
|
273
283
|
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
@include carbon--breakpoint(md) {
|
281
|
-
max-width: $left-section-std-width;
|
282
|
-
flex: 0 1 $left-section-std-width;
|
283
|
-
}
|
284
|
-
}
|
284
|
+
.#{$block-class}__has-page-actions-without-action-bar.#{$block-class}__breadcrumb-row
|
285
|
+
.#{$block-class}__breadcrumb-column {
|
286
|
+
// the width of the breadcrumb column is adjusted elsewhere to compensate
|
287
|
+
max-width: 100%;
|
288
|
+
flex: 0 1 100%;
|
289
|
+
}
|
285
290
|
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
flex: 0 1 100%;
|
291
|
-
}
|
291
|
+
.#{$block-class}__breadcrumb-column--background,
|
292
|
+
.#{$block-class}__action-bar-column--background {
|
293
|
+
position: relative;
|
294
|
+
}
|
292
295
|
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
296
|
+
.#{$block-class}__breadcrumb-column--background::before,
|
297
|
+
.#{$block-class}__action-bar-column--background::before {
|
298
|
+
@include appearingBackground();
|
299
|
+
}
|
297
300
|
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
}
|
301
|
+
.#{$block-class}__action-bar-column--influenced-by-collapse-button {
|
302
|
+
padding-right: $spacing-08;
|
303
|
+
}
|
302
304
|
|
303
|
-
|
304
|
-
|
305
|
-
}
|
305
|
+
.#{$block-class}__breadcrumb {
|
306
|
+
@include type.type-style('label-01');
|
306
307
|
|
307
|
-
|
308
|
-
|
308
|
+
padding-top: $spacing-04;
|
309
|
+
}
|
309
310
|
|
311
|
+
.#{$block-class}--breadcrumb.#{$breadcrumb-block-class}__with-items {
|
312
|
+
padding-top: 0;
|
313
|
+
@include breakpoint(md) {
|
310
314
|
padding-top: $spacing-04;
|
311
315
|
}
|
316
|
+
}
|
312
317
|
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
padding-top: $spacing-04;
|
317
|
-
}
|
318
|
-
}
|
318
|
+
.#{$block-class}__breadcrumb .#{$carbon-prefix}--breadcrumb-item {
|
319
|
+
margin-right: $spacing-02;
|
320
|
+
}
|
319
321
|
|
320
|
-
|
321
|
-
|
322
|
-
|
322
|
+
.#{$block-class}__breadcrumb .#{$carbon-prefix}--breadcrumb-item::after {
|
323
|
+
margin-left: $spacing-02;
|
324
|
+
}
|
323
325
|
|
324
|
-
|
325
|
-
|
326
|
-
}
|
326
|
+
.#{$block-class}__breadcrumb .#{$carbon-prefix}--breadcrumb-item,
|
327
|
+
.#{$block-class}__breadcrumb
|
328
|
+
.#{$carbon-prefix}--breadcrumb-item
|
329
|
+
.#{$carbon-prefix}--link {
|
330
|
+
@include type.type-style('label-01');
|
331
|
+
}
|
332
|
+
|
333
|
+
.#{$block-class}__breadcrumb-title {
|
334
|
+
position: relative;
|
327
335
|
|
328
|
-
.#{$block-class}__breadcrumb
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
336
|
+
&:not(.#{$block-class}__breadcrumb-title--pre-collapsed) {
|
337
|
+
opacity: var(--#{$block-class}--breadcrumb-title-opacity);
|
338
|
+
|
339
|
+
transform: translateY(var(--#{$block-class}--breadcrumb-title-top));
|
340
|
+
visibility: var(--#{$block-class}--breadcrumb-title-visibility);
|
333
341
|
}
|
342
|
+
}
|
334
343
|
|
335
|
-
|
336
|
-
|
344
|
+
.#{$block-class}__breadcrumb-container--hidden
|
345
|
+
.#{$block-class}__breadcrumb-title.#{$block-class}__breadcrumb-title {
|
346
|
+
overflow: initial;
|
347
|
+
}
|
337
348
|
|
338
|
-
|
339
|
-
|
349
|
+
.#{$block-class}__action-bar {
|
350
|
+
width: 100%;
|
351
|
+
max-width: var(--#{$block-class}--max-action-bar-width-px);
|
352
|
+
flex: 1 1 var(--#{$block-class}--max-action-bar-width-px);
|
353
|
+
padding-top: $spacing-04;
|
354
|
+
margin-top: calc(-1 * #{$spacing-04}); /* align with breadcrumb */
|
355
|
+
vertical-align: top;
|
356
|
+
white-space: nowrap;
|
357
|
+
}
|
340
358
|
|
341
|
-
|
359
|
+
.#{$block-class}__title-row {
|
360
|
+
margin-top: 0;
|
361
|
+
margin-bottom: 0;
|
362
|
+
transform: translateY(
|
363
|
+
$spacing-01
|
364
|
+
); // position adjusted for editable title focus outline
|
342
365
|
|
343
|
-
|
344
|
-
|
366
|
+
@include breakpoint-up('md') {
|
367
|
+
flex-wrap: nowrap; /* assume enough space */
|
345
368
|
}
|
346
369
|
|
347
|
-
|
348
|
-
|
349
|
-
|
370
|
+
&.#{$block-class}__title-row--under-action-bar {
|
371
|
+
margin-top: $spacing-05;
|
372
|
+
transform: translateY(0); // Not needed under action bar
|
350
373
|
}
|
351
374
|
|
352
|
-
.#{$block-class}
|
353
|
-
|
354
|
-
max-width: var(--#{$block-class}--max-action-bar-width-px);
|
355
|
-
flex: 1 1 var(--#{$block-class}--max-action-bar-width-px);
|
356
|
-
padding-top: $spacing-04;
|
357
|
-
margin-top: calc(-1 * #{$spacing-04}); /* align with breadcrumb */
|
358
|
-
vertical-align: top;
|
359
|
-
white-space: nowrap;
|
375
|
+
+ .#{$block-class}__last-row-buffer--active {
|
376
|
+
height: $spacing-07;
|
360
377
|
}
|
361
378
|
|
362
|
-
|
363
|
-
margin-
|
364
|
-
|
365
|
-
transform: translateY(
|
366
|
-
$spacing-01
|
367
|
-
); // position adjusted for editable title focus outline
|
368
|
-
|
369
|
-
@include carbon--breakpoint-up('md') {
|
370
|
-
flex-wrap: nowrap; /* assume enough space */
|
371
|
-
}
|
372
|
-
|
373
|
-
&.#{$block-class}__title-row--under-action-bar {
|
374
|
-
margin-top: $spacing-05;
|
375
|
-
transform: translateY(0); // Not needed under action bar
|
376
|
-
}
|
379
|
+
&.#{$block-class}__title-row--spacing-below-03 {
|
380
|
+
margin-bottom: $spacing-03;
|
381
|
+
}
|
377
382
|
|
383
|
+
&.#{$block-class}__title-row--spacing-below-05 {
|
378
384
|
+ .#{$block-class}__last-row-buffer--active {
|
379
|
-
height: $spacing-
|
380
|
-
}
|
381
|
-
|
382
|
-
&.#{$block-class}__title-row--spacing-below-03 {
|
383
|
-
margin-bottom: $spacing-03;
|
384
|
-
}
|
385
|
-
|
386
|
-
&.#{$block-class}__title-row--spacing-below-05 {
|
387
|
-
+ .#{$block-class}__last-row-buffer--active {
|
388
|
-
height: $spacing-05;
|
389
|
-
}
|
390
|
-
}
|
391
|
-
|
392
|
-
&.#{$block-class}__title-row--spacing-below-06 {
|
393
|
-
margin-bottom: $spacing-06;
|
394
|
-
}
|
395
|
-
|
396
|
-
&.#{$block-class}__title-row--no-breadcrumb-row {
|
397
|
-
margin-top: $spacing-07;
|
385
|
+
height: $spacing-05;
|
398
386
|
}
|
399
387
|
}
|
400
388
|
|
401
|
-
&.#{$block-class}--
|
402
|
-
|
403
|
-
+ .#{$block-class}__last-row-buffer--active {
|
404
|
-
height: calc(#{$spacing-06});
|
389
|
+
&.#{$block-class}__title-row--spacing-below-06 {
|
390
|
+
margin-bottom: $spacing-06;
|
405
391
|
}
|
406
392
|
|
407
|
-
&.#{$block-class}--
|
408
|
-
|
409
|
-
+ .#{$block-class}__last-row-buffer--active {
|
410
|
-
height: calc(#{$spacing-05});
|
393
|
+
&.#{$block-class}__title-row--no-breadcrumb-row {
|
394
|
+
margin-top: $spacing-07;
|
411
395
|
}
|
396
|
+
}
|
412
397
|
|
413
|
-
|
414
|
-
|
415
|
-
}
|
398
|
+
&.#{$block-class}--has-navigation
|
399
|
+
.#{$block-class}__title-row
|
400
|
+
+ .#{$block-class}__last-row-buffer--active {
|
401
|
+
height: calc(#{$spacing-06});
|
402
|
+
}
|
416
403
|
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
404
|
+
&.#{$block-class}--has-navigation-tags-only
|
405
|
+
.#{$block-class}__title-row
|
406
|
+
+ .#{$block-class}__last-row-buffer--active {
|
407
|
+
height: calc(#{$spacing-05});
|
408
|
+
}
|
422
409
|
|
423
|
-
|
424
|
-
|
425
|
-
|
410
|
+
.#{$block-class}__title-row--sticky {
|
411
|
+
position: sticky;
|
412
|
+
}
|
426
413
|
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
414
|
+
.#{$block-class}__breadcrumb-row--has-breadcrumbs
|
415
|
+
+ .#{$block-class}__title-row--sticky {
|
416
|
+
// top: 0;
|
417
|
+
top: var(--#{$block-class}--breadcrumb-top); //2
|
418
|
+
}
|
432
419
|
|
433
|
-
|
434
|
-
|
420
|
+
.#{$block-class}__title-column {
|
421
|
+
min-height: 40px;
|
422
|
+
flex: 0 0 100%;
|
435
423
|
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
white-space: nowrap;
|
424
|
+
@include breakpoint-up('md') {
|
425
|
+
max-width: $left-section-std-width;
|
426
|
+
flex: 1 0 $left-section-std-width;
|
440
427
|
}
|
428
|
+
}
|
441
429
|
|
442
|
-
|
443
|
-
|
444
|
-
// stylelint-disable-next-line carbon/layout-token-use
|
445
|
-
transform: translateY(-2px);
|
446
|
-
}
|
430
|
+
.#{$block-class}__title {
|
431
|
+
@include type.type-style('productive-heading-04');
|
447
432
|
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
margin-left: calc(-1 * #{$spacing-05});
|
454
|
-
}
|
433
|
+
min-height: $spacing-08;
|
434
|
+
overflow-x: hidden;
|
435
|
+
text-overflow: ellipsis;
|
436
|
+
white-space: nowrap;
|
437
|
+
}
|
455
438
|
|
456
|
-
|
457
|
-
|
458
|
-
|
439
|
+
.#{$block-class}__title .#{$pkg-prefix}--inline-edit__value {
|
440
|
+
// The heading text sits 2px pixels lower in the inline edit which is aligned center
|
441
|
+
// stylelint-disable-next-line carbon/layout-token-use
|
442
|
+
transform: translateY(-2px);
|
443
|
+
}
|
459
444
|
|
460
|
-
|
461
|
-
|
462
|
-
|
445
|
+
.#{$block-class}__title--editable {
|
446
|
+
display: flex;
|
447
|
+
overflow: visible;
|
448
|
+
// move to match non-editable version position
|
449
|
+
margin-top: calc(-1 * #{$spacing-01});
|
450
|
+
margin-left: calc(-1 * #{$spacing-05});
|
451
|
+
}
|
463
452
|
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
transform: translateY(
|
468
|
-
-2px
|
469
|
-
); // positional tweak requested by design review
|
453
|
+
.#{$block-class}__title-skeleton {
|
454
|
+
height: $spacing-07;
|
455
|
+
}
|
470
456
|
|
471
|
-
|
472
|
-
}
|
457
|
+
.#{$block-class}__title--fades {
|
458
|
+
opacity: calc(1 - var(--#{$block-class}--breadcrumb-title-opacity));
|
459
|
+
}
|
473
460
|
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
461
|
+
.#{$block-class}__title-icon {
|
462
|
+
margin-right: $spacing-04;
|
463
|
+
// stylelint-disable-next-line carbon/layout-token-use
|
464
|
+
transform: translateY(-2px); // positional tweak requested by design review
|
478
465
|
|
479
|
-
|
480
|
-
|
481
|
-
flex: 0 1 $right-section-std-width;
|
482
|
-
margin-top: 0;
|
483
|
-
}
|
484
|
-
}
|
466
|
+
vertical-align: middle;
|
467
|
+
}
|
485
468
|
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
}
|
469
|
+
.#{$block-class}__page-actions {
|
470
|
+
flex: 0 0 100%;
|
471
|
+
margin-top: $spacing-05;
|
472
|
+
white-space: nowrap;
|
491
473
|
|
492
|
-
|
474
|
+
@include breakpoint-up('md') {
|
475
|
+
max-width: $right-section-std-width;
|
476
|
+
flex: 0 1 $right-section-std-width;
|
493
477
|
margin-top: 0;
|
494
478
|
}
|
479
|
+
}
|
495
480
|
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
}
|
502
|
-
}
|
481
|
+
.#{$block-class}__page-actions
|
482
|
+
.#{$carbon-prefix}--btn-set
|
483
|
+
.#{$carbon-prefix}--btn {
|
484
|
+
width: initial;
|
485
|
+
}
|
503
486
|
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
transition: all $duration--fast-02
|
508
|
-
carbon--motion('entrance', 'productive');
|
509
|
-
transition-property: opacity, visibility;
|
510
|
-
visibility: visible;
|
511
|
-
}
|
487
|
+
.#{$block-class}__action-bar-column .#{$block-class}__page-actions {
|
488
|
+
margin-top: 0;
|
489
|
+
}
|
512
490
|
|
513
|
-
|
514
|
-
|
515
|
-
}
|
491
|
+
.#{$block-class}__page-actions-container {
|
492
|
+
justify-content: flex-start;
|
516
493
|
|
517
|
-
|
518
|
-
position: relative; // ensure appears over ::before
|
519
|
-
display: flex;
|
520
|
-
overflow: hidden;
|
521
|
-
width: 100%;
|
522
|
-
height: 100%;
|
494
|
+
@include breakpoint-up('md') {
|
523
495
|
justify-content: flex-end;
|
524
496
|
}
|
497
|
+
}
|
525
498
|
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
overflow: hidden;
|
534
|
-
max-width: 100%;
|
535
|
-
margin-top: $spacing-03;
|
536
|
-
|
537
|
-
-webkit-box-orient: vertical;
|
538
|
-
-webkit-line-clamp: 2;
|
499
|
+
.#{$block-class}__title-row .#{$block-class}__page-actions {
|
500
|
+
position: relative;
|
501
|
+
opacity: 1;
|
502
|
+
transition: all $duration-fast-02 motion('entrance', 'productive');
|
503
|
+
transition-property: opacity, visibility;
|
504
|
+
visibility: visible;
|
505
|
+
}
|
539
506
|
|
540
|
-
|
541
|
-
|
542
|
-
|
507
|
+
.#{$block-class}__title-row .#{$block-class}__page-actions::before {
|
508
|
+
@include appearingBackground();
|
509
|
+
}
|
543
510
|
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
511
|
+
.#{$block-class}__page-actions-content {
|
512
|
+
position: relative; // ensure appears over ::before
|
513
|
+
display: flex;
|
514
|
+
overflow: hidden;
|
515
|
+
width: 100%;
|
516
|
+
height: 100%;
|
517
|
+
justify-content: flex-end;
|
518
|
+
}
|
548
519
|
|
549
|
-
|
550
|
-
|
551
|
-
|
520
|
+
.#{$block-class}__title-row .#{$block-class}__page-actions--in-breadcrumb {
|
521
|
+
opacity: 0;
|
522
|
+
visibility: hidden;
|
523
|
+
}
|
552
524
|
|
553
|
-
|
554
|
-
|
525
|
+
.#{$block-class}__subtitle-row {
|
526
|
+
display: -webkit-box;
|
527
|
+
overflow: hidden;
|
528
|
+
max-width: 100%;
|
529
|
+
margin-top: $spacing-03;
|
555
530
|
|
556
|
-
|
531
|
+
-webkit-box-orient: vertical;
|
532
|
+
-webkit-line-clamp: 2;
|
557
533
|
|
558
|
-
|
559
|
-
|
560
|
-
}
|
534
|
+
@include breakpoint-up('md') {
|
535
|
+
max-width: $left-section-std-width;
|
561
536
|
}
|
562
537
|
|
563
|
-
|
564
|
-
|
538
|
+
+ .#{$block-class}__last-row-buffer--active {
|
539
|
+
height: $spacing-05;
|
565
540
|
}
|
541
|
+
}
|
566
542
|
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
}
|
543
|
+
.#{$block-class}__subtitle {
|
544
|
+
@include type.type-style('body-long-01');
|
545
|
+
}
|
571
546
|
|
572
|
-
|
573
|
-
|
574
|
-
margin-top: 0;
|
547
|
+
.#{$block-class}__available-row {
|
548
|
+
@include type.type-style('body-long-01');
|
575
549
|
|
576
|
-
|
577
|
-
box-sizing: content-box;
|
578
|
-
padding-bottom: $spacing-05;
|
579
|
-
}
|
580
|
-
}
|
550
|
+
margin-top: $spacing-03;
|
581
551
|
|
582
|
-
.#{$block-class}
|
583
|
-
|
552
|
+
+ .#{$block-class}__last-row-buffer--active {
|
553
|
+
height: $spacing-05;
|
584
554
|
}
|
555
|
+
}
|
585
556
|
|
586
|
-
|
587
|
-
|
588
|
-
|
557
|
+
.#{$block-class}__title-row + .#{$block-class}__available-row {
|
558
|
+
margin-top: $spacing-05;
|
559
|
+
}
|
589
560
|
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
}
|
561
|
+
.#{$block-class}__available-row * {
|
562
|
+
// default content of available row to body-long-01
|
563
|
+
@include type.type-style('body-long-01');
|
564
|
+
}
|
595
565
|
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
flex: 1 0 $right-section-alt-width;
|
600
|
-
align-items: center;
|
601
|
-
justify-content: flex-end;
|
602
|
-
padding-top: $spacing-02;
|
603
|
-
// allow space for expand/collapse if we have a background
|
604
|
-
padding-right: $spacing-07;
|
605
|
-
padding-bottom: $spacing-02;
|
606
|
-
text-align: right;
|
607
|
-
white-space: nowrap;
|
608
|
-
|
609
|
-
@include carbon--breakpoint(md) {
|
610
|
-
padding-right: $spacing-05;
|
611
|
-
}
|
612
|
-
}
|
566
|
+
.#{$block-class}__navigation-row {
|
567
|
+
flex-wrap: wrap-reverse;
|
568
|
+
margin-top: 0;
|
613
569
|
|
614
|
-
.#{$
|
615
|
-
|
616
|
-
padding-
|
617
|
-
padding-bottom: $spacing-04;
|
618
|
-
margin-left: calc(-1 * #{$spacing-02});
|
619
|
-
text-align: initial;
|
570
|
+
.#{$carbon-prefix}--content-switcher {
|
571
|
+
box-sizing: content-box;
|
572
|
+
padding-bottom: $spacing-05;
|
620
573
|
}
|
574
|
+
}
|
621
575
|
|
622
|
-
|
623
|
-
|
624
|
-
|
576
|
+
.#{$block-class}__navigation-row .#{$carbon-prefix}--tab-content {
|
577
|
+
display: none; /* need to figure out how to handle the tab content */
|
578
|
+
}
|
625
579
|
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
right: 0;
|
630
|
-
bottom: 0;
|
631
|
-
}
|
580
|
+
.#{$block-class}__navigation-tabs {
|
581
|
+
margin-left: calc(-1 * #{$spacing-05});
|
582
|
+
}
|
632
583
|
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
584
|
+
.#{$block-class}__navigation-row--has-tags .#{$block-class}__navigation-tabs {
|
585
|
+
max-width: $left-section-alt-width;
|
586
|
+
flex: 0 1 $left-section-alt-width;
|
587
|
+
}
|
637
588
|
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
589
|
+
.#{$block-class}__navigation-tags {
|
590
|
+
display: flex;
|
591
|
+
max-width: $right-section-alt-width;
|
592
|
+
flex: 1 0 $right-section-alt-width;
|
593
|
+
align-items: center;
|
594
|
+
justify-content: flex-end;
|
595
|
+
padding-top: $spacing-02;
|
596
|
+
// allow space for expand/collapse if we have a background
|
597
|
+
padding-right: $spacing-07;
|
598
|
+
padding-bottom: $spacing-02;
|
599
|
+
text-align: right;
|
600
|
+
white-space: nowrap;
|
601
|
+
|
602
|
+
@include breakpoint(md) {
|
603
|
+
padding-right: $spacing-05;
|
642
604
|
}
|
643
605
|
}
|
644
606
|
|
645
|
-
|
646
|
-
|
607
|
+
.#{$block-class}__navigation-tags--tags-only {
|
608
|
+
justify-content: flex-start;
|
609
|
+
padding-top: 0;
|
610
|
+
padding-bottom: $spacing-04;
|
611
|
+
margin-left: calc(-1 * #{$spacing-02});
|
612
|
+
text-align: initial;
|
647
613
|
}
|
648
614
|
|
649
|
-
.#{$block-class}
|
650
|
-
|
651
|
-
position: var(--#{$block-class}--tagset-tooltip-position) !important;
|
652
|
-
// stylelint-disable-next-line
|
653
|
-
top: var(--#{$block-class}--tagset-tooltip-offset) !important;
|
615
|
+
.#{$block-class}__navigation-row .#{$carbon-prefix}--content-switcher-btn {
|
616
|
+
background-color: $background;
|
654
617
|
}
|
655
618
|
|
656
|
-
.#{$
|
657
|
-
|
619
|
+
.#{$carbon-prefix}--btn.#{$carbon-prefix}--btn--icon-only.#{$block-class}__collapse-expand-toggle {
|
620
|
+
position: absolute;
|
621
|
+
z-index: $raised-z-index + 1;
|
622
|
+
right: 0;
|
623
|
+
bottom: 0;
|
658
624
|
}
|
659
625
|
|
660
|
-
.#{$block-class}
|
661
|
-
|
662
|
-
|
663
|
-
z-index: $z-index-header-minus;
|
626
|
+
.#{$block-class}__collapse-expand-toggle .#{$carbon-prefix}--btn__icon {
|
627
|
+
// transform: rotate(-90deg); // accordion does this, but it feels odd in page header
|
628
|
+
transition: all $duration-slow-01 motion(standard, productive);
|
664
629
|
}
|
630
|
+
|
631
|
+
.#{$block-class}__collapse-expand-toggle--collapsed
|
632
|
+
.#{$carbon-prefix}--btn__icon {
|
633
|
+
// transform: rotate(90deg);
|
634
|
+
transform: scaleY(-1);
|
635
|
+
}
|
636
|
+
}
|
637
|
+
|
638
|
+
:root {
|
639
|
+
--#{$block-class}--tagset-tooltip-offset: 0;
|
640
|
+
}
|
641
|
+
|
642
|
+
.#{$block-class}__tagset-tooltip.#{$block-class}__tagset-tooltip {
|
643
|
+
// stylelint-disable-next-line
|
644
|
+
position: var(--#{$block-class}--tagset-tooltip-position) !important;
|
645
|
+
// stylelint-disable-next-line
|
646
|
+
top: var(--#{$block-class}--tagset-tooltip-offset) !important;
|
647
|
+
}
|
648
|
+
|
649
|
+
.#{$block-class}__navigation-tags-overflow.#{$carbon-prefix}--tooltip {
|
650
|
+
z-index: $z-index-header-minus;
|
665
651
|
}
|
666
652
|
|
667
|
-
|
668
|
-
|
653
|
+
.#{$block-class}__action-bar-menu-options.#{$carbon-prefix}--overflow-menu-options,
|
654
|
+
.#{$carbon-prefix}--breadcrumb-menu-options.#{$carbon-prefix}--overflow-menu-options,
|
655
|
+
.#{$block-class}__button-set-menu-options.#{$carbon-prefix}--overflow-menu-options {
|
656
|
+
z-index: $z-index-header-minus;
|
669
657
|
}
|