@carbon/ibm-products-styles 2.77.0-rc.0 → 2.78.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/config-dev.css +8 -0
- package/css/config-dev.css.map +1 -0
- package/css/config.css +8 -0
- package/css/config.css.map +1 -0
- package/css/index-full-carbon.css +46381 -0
- package/css/index-full-carbon.css.map +1 -0
- package/css/index-full-carbon.min.css +1 -0
- package/css/index-full-carbon.min.css.map +1 -0
- package/css/index-without-carbon-released-only.css +12851 -0
- package/css/index-without-carbon-released-only.css.map +1 -0
- package/css/index-without-carbon-released-only.min.css +1 -0
- package/css/index-without-carbon-released-only.min.css.map +1 -0
- package/css/index-without-carbon.css +19335 -0
- package/css/index-without-carbon.css.map +1 -0
- package/css/index-without-carbon.min.css +1 -0
- package/css/index-without-carbon.min.css.map +1 -0
- package/css/index.css +28233 -0
- package/css/index.css.map +1 -0
- package/css/index.min.css +1 -0
- package/css/index.min.css.map +1 -0
- package/package.json +3 -3
- package/scss/components/APIKeyModal/_api-key-modal.scss +56 -0
- 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 +10 -0
- package/scss/components/AboutModal/_about-modal.scss +101 -0
- 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 +8 -0
- package/scss/components/ActionBar/_action-bar.scss +51 -0
- 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 +8 -0
- package/scss/components/ActionSet/_action-set.scss +126 -0
- 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 +8 -0
- package/scss/components/AddSelect/_add-select.scss +468 -0
- 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 +10 -0
- package/scss/components/BigNumber/_big-number.scss +157 -0
- package/scss/components/BigNumber/_carbon-imports.scss +11 -0
- package/scss/components/BigNumber/_index-with-carbon.scss +9 -0
- package/scss/components/BigNumber/_index.scss +8 -0
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +96 -0
- 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 +8 -0
- package/scss/components/ButtonMenu/_button-menu.scss +60 -0
- 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 +8 -0
- package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +42 -0
- 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 +8 -0
- package/scss/components/Card/_carbon-imports.scss +11 -0
- package/scss/components/Card/_card.scss +238 -0
- package/scss/components/Card/_index-with-carbon.scss +9 -0
- package/scss/components/Card/_index.scss +8 -0
- package/scss/components/Carousel/_carbon-imports.scss +6 -0
- package/scss/components/Carousel/_carousel.scss +76 -0
- package/scss/components/Carousel/_index-with-carbon.scss +9 -0
- package/scss/components/Carousel/_index.scss +8 -0
- package/scss/components/Cascade/_carbon-imports.scss +6 -0
- package/scss/components/Cascade/_cascade.scss +47 -0
- package/scss/components/Cascade/_index-with-carbon.scss +9 -0
- package/scss/components/Cascade/_index.scss +10 -0
- package/scss/components/Checklist/_carbon-imports.scss +11 -0
- package/scss/components/Checklist/_checklist.scss +217 -0
- package/scss/components/Checklist/_index-with-carbon.scss +9 -0
- package/scss/components/Checklist/_index.scss +8 -0
- package/scss/components/Coachmark/_bubble.scss +61 -0
- package/scss/components/Coachmark/_carbon-imports.scss +10 -0
- package/scss/components/Coachmark/_coachmark-beacon.scss +164 -0
- package/scss/components/Coachmark/_coachmark-dragbar.scss +26 -0
- package/scss/components/Coachmark/_coachmark-header.scss +20 -0
- package/scss/components/Coachmark/_coachmark-overlay.scss +376 -0
- package/scss/components/Coachmark/_coachmark-tagline.scss +143 -0
- package/scss/components/Coachmark/_coachmark.scss +53 -0
- package/scss/components/Coachmark/_index-with-carbon.scss +9 -0
- package/scss/components/Coachmark/_index.scss +8 -0
- package/scss/components/CoachmarkBeacon/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +164 -0
- package/scss/components/CoachmarkBeacon/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkBeacon/_index.scss +8 -0
- package/scss/components/CoachmarkButton/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkButton/_coachmark-button.scss +25 -0
- package/scss/components/CoachmarkButton/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkButton/_index.scss +8 -0
- package/scss/components/CoachmarkFixed/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +25 -0
- package/scss/components/CoachmarkFixed/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkFixed/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElement/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +52 -0
- package/scss/components/CoachmarkOverlayElement/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElements/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +48 -0
- package/scss/components/CoachmarkOverlayElements/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
- package/scss/components/CoachmarkStack/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +133 -0
- package/scss/components/CoachmarkStack/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkStack/_index.scss +8 -0
- package/scss/components/ComboButton/_carbon-imports.scss +11 -0
- package/scss/components/ComboButton/_combo-button.scss +78 -0
- package/scss/components/ComboButton/_index-with-carbon.scss +9 -0
- package/scss/components/ComboButton/_index.scss +10 -0
- package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
- package/scss/components/ConditionBuilder/_condition-builder.scss +79 -0
- package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
- package/scss/components/ConditionBuilder/_index.scss +8 -0
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +114 -0
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +322 -0
- package/scss/components/ConditionBuilder/styles/_index.scss +9 -0
- package/scss/components/CreateFullPage/_carbon-imports.scss +17 -0
- package/scss/components/CreateFullPage/_create-full-page.scss +188 -0
- package/scss/components/CreateFullPage/_index-with-carbon.scss +9 -0
- package/scss/components/CreateFullPage/_index.scss +8 -0
- package/scss/components/CreateInfluencer/_carbon-imports.scss +10 -0
- package/scss/components/CreateInfluencer/_create-influencer.scss +93 -0
- package/scss/components/CreateInfluencer/_index-with-carbon.scss +9 -0
- package/scss/components/CreateInfluencer/_index.scss +8 -0
- package/scss/components/CreateModal/_carbon-imports.scss +12 -0
- package/scss/components/CreateModal/_create-modal.scss +78 -0
- package/scss/components/CreateModal/_index-with-carbon.scss +9 -0
- package/scss/components/CreateModal/_index.scss +8 -0
- package/scss/components/CreateSidePanel/_carbon-imports.scss +10 -0
- package/scss/components/CreateSidePanel/_create-side-panel.scss +56 -0
- package/scss/components/CreateSidePanel/_index-with-carbon.scss +9 -0
- package/scss/components/CreateSidePanel/_index.scss +8 -0
- package/scss/components/CreateTearsheet/_carbon-imports.scss +10 -0
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +165 -0
- package/scss/components/CreateTearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/CreateTearsheet/_index.scss +8 -0
- package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +10 -0
- package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +61 -0
- package/scss/components/CreateTearsheetNarrow/_index-with-carbon.scss +9 -0
- package/scss/components/CreateTearsheetNarrow/_index.scss +8 -0
- package/scss/components/DataSpreadsheet/_carbon-imports.scss +6 -0
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +310 -0
- package/scss/components/DataSpreadsheet/_index-with-carbon.scss +9 -0
- package/scss/components/DataSpreadsheet/_index.scss +8 -0
- package/scss/components/Datagrid/_carbon-imports.scss +6 -0
- package/scss/components/Datagrid/_datagrid.scss +86 -0
- package/scss/components/Datagrid/_index-with-carbon.scss +9 -0
- package/scss/components/Datagrid/_index.scss +8 -0
- package/scss/components/Datagrid/styles/_datagrid.scss +1006 -0
- package/scss/components/Datagrid/styles/_draggableElement.scss +120 -0
- package/scss/components/Datagrid/styles/_index.scss +22 -0
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +42 -0
- package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +19 -0
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +28 -0
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +101 -0
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +445 -0
- package/scss/components/Datagrid/styles/_useNestedRows.scss +128 -0
- package/scss/components/Datagrid/styles/_useNestedTable.scss +36 -0
- package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +37 -0
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +85 -0
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +72 -0
- package/scss/components/Datagrid/styles/_variables.scss +10 -0
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +77 -0
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +110 -0
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +218 -0
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +94 -0
- package/scss/components/Datagrid/styles/addons/_animations.scss +56 -0
- package/scss/components/Decorator/_carbon-imports.scss +9 -0
- package/scss/components/Decorator/_decorator.scss +23 -0
- package/scss/components/Decorator/_index-with-carbon.scss +9 -0
- package/scss/components/Decorator/_index.scss +8 -0
- package/scss/components/DecoratorBase/_carbon-imports.scss +9 -0
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +39 -0
- package/scss/components/DecoratorBase/_decorator-base.scss +145 -0
- package/scss/components/DecoratorBase/_index-with-carbon.scss +9 -0
- package/scss/components/DecoratorBase/_index.scss +8 -0
- package/scss/components/DecoratorDualButton/_carbon-imports.scss +9 -0
- package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +112 -0
- package/scss/components/DecoratorDualButton/_index-with-carbon.scss +9 -0
- package/scss/components/DecoratorDualButton/_index.scss +8 -0
- package/scss/components/DecoratorLink/_carbon-imports.scss +9 -0
- package/scss/components/DecoratorLink/_decorator-link.scss +53 -0
- package/scss/components/DecoratorLink/_index-with-carbon.scss +9 -0
- package/scss/components/DecoratorLink/_index.scss +8 -0
- package/scss/components/DecoratorSingleButton/_carbon-imports.scss +9 -0
- package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +117 -0
- package/scss/components/DecoratorSingleButton/_index-with-carbon.scss +9 -0
- package/scss/components/DecoratorSingleButton/_index.scss +8 -0
- package/scss/components/DelimitedList/_carbon-imports.scss +9 -0
- package/scss/components/DelimitedList/_delimited-list.scss +27 -0
- package/scss/components/DelimitedList/_index-with-carbon.scss +9 -0
- package/scss/components/DelimitedList/_index.scss +8 -0
- package/scss/components/DescriptionList/_carbon-imports.scss +9 -0
- package/scss/components/DescriptionList/_description-list.scss +103 -0
- package/scss/components/DescriptionList/_index-with-carbon.scss +9 -0
- package/scss/components/DescriptionList/_index.scss +8 -0
- package/scss/components/EditFullPage/_edit-full-page.scss +26 -0
- package/scss/components/EditFullPage/_index.scss +8 -0
- package/scss/components/EditInPlace/_carbon-imports.scss +9 -0
- package/scss/components/EditInPlace/_edit-in-place.scss +154 -0
- package/scss/components/EditInPlace/_index-with-carbon.scss +9 -0
- package/scss/components/EditInPlace/_index.scss +10 -0
- package/scss/components/EditSidePanel/_carbon-imports.scss +9 -0
- package/scss/components/EditSidePanel/_edit-side-panel.scss +48 -0
- package/scss/components/EditSidePanel/_index-with-carbon.scss +9 -0
- package/scss/components/EditSidePanel/_index.scss +8 -0
- package/scss/components/EditTearsheet/_carbon-imports.scss +9 -0
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +134 -0
- package/scss/components/EditTearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/EditTearsheet/_index.scss +8 -0
- package/scss/components/EditTearsheetNarrow/_edit-tearsheet-narrow.scss +26 -0
- package/scss/components/EditTearsheetNarrow/_index.scss +8 -0
- package/scss/components/EditUpdateCards/_carbon-imports.scss +9 -0
- package/scss/components/EditUpdateCards/_edit-update-cards.scss +95 -0
- package/scss/components/EditUpdateCards/_index-with-carbon.scss +9 -0
- package/scss/components/EditUpdateCards/_index.scss +8 -0
- package/scss/components/EmptyStates/_carbon-imports.scss +11 -0
- package/scss/components/EmptyStates/_empty-state.scss +85 -0
- package/scss/components/EmptyStates/_index-with-carbon.scss +9 -0
- package/scss/components/EmptyStates/_index.scss +8 -0
- package/scss/components/ExampleComponent/_carbon-imports.scss +10 -0
- package/scss/components/ExampleComponent/_example-component.scss +28 -0
- package/scss/components/ExampleComponent/_index-with-carbon.scss +9 -0
- package/scss/components/ExampleComponent/_index.scss +8 -0
- package/scss/components/ExportModal/_carbon-imports.scss +16 -0
- package/scss/components/ExportModal/_export-modal.scss +46 -0
- package/scss/components/ExportModal/_index-with-carbon.scss +9 -0
- package/scss/components/ExportModal/_index.scss +10 -0
- package/scss/components/ExpressiveCard/_carbon-imports.scss +6 -0
- package/scss/components/ExpressiveCard/_expressive-card.scss +18 -0
- package/scss/components/ExpressiveCard/_index-with-carbon.scss +9 -0
- package/scss/components/ExpressiveCard/_index.scss +10 -0
- package/scss/components/FilterPanel/_carbon-imports.scss +14 -0
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +54 -0
- package/scss/components/FilterPanel/_filter-panel-accordion.scss +6 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +60 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +53 -0
- package/scss/components/FilterPanel/_filter-panel-group.scss +37 -0
- package/scss/components/FilterPanel/_filter-panel-label.scss +39 -0
- package/scss/components/FilterPanel/_filter-panel-search.scss +40 -0
- package/scss/components/FilterPanel/_filter-panel.scss +30 -0
- package/scss/components/FilterPanel/_index-with-carbon.scss +16 -0
- package/scss/components/FilterPanel/_index.scss +15 -0
- package/scss/components/FilterSummary/_filter-summary.scss +55 -0
- package/scss/components/FilterSummary/_index.scss +10 -0
- package/scss/components/FullPageError/_carbon-imports.scss +9 -0
- package/scss/components/FullPageError/_full-page-error.scss +87 -0
- package/scss/components/FullPageError/_index-with-carbon.scss +9 -0
- package/scss/components/FullPageError/_index.scss +8 -0
- package/scss/components/GetStartedCard/_carbon-imports.scss +9 -0
- package/scss/components/GetStartedCard/_get-started-card.scss +133 -0
- package/scss/components/GetStartedCard/_index-with-carbon.scss +9 -0
- package/scss/components/GetStartedCard/_index.scss +8 -0
- package/scss/components/Guidebanner/_carbon-imports.scss +6 -0
- package/scss/components/Guidebanner/_guidebanner.scss +274 -0
- package/scss/components/Guidebanner/_index-with-carbon.scss +9 -0
- package/scss/components/Guidebanner/_index.scss +8 -0
- package/scss/components/HTTPErrors/_carbon-imports.scss +10 -0
- package/scss/components/HTTPErrors/_http-errors.scss +145 -0
- package/scss/components/HTTPErrors/_index-with-carbon.scss +9 -0
- package/scss/components/HTTPErrors/_index.scss +8 -0
- package/scss/components/ImportModal/_carbon-imports.scss +14 -0
- package/scss/components/ImportModal/_import-modal.scss +82 -0
- package/scss/components/ImportModal/_index-with-carbon.scss +9 -0
- package/scss/components/ImportModal/_index.scss +8 -0
- package/scss/components/InlineTip/_index.scss +8 -0
- package/scss/components/InlineTip/_inline-tip.scss +242 -0
- package/scss/components/InterstitialScreen/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreen/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreen/_index.scss +8 -0
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +158 -0
- 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 -0
- package/scss/components/MultiAddSelect/_multi-add-select.scss +8 -0
- package/scss/components/Nav/_carbon-imports.scss +9 -0
- package/scss/components/Nav/_index-with-carbon.scss +9 -0
- package/scss/components/Nav/_index.scss +8 -0
- package/scss/components/Nav/_nav.scss +254 -0
- package/scss/components/NonLinearReading/_carbon-imports.scss +6 -0
- package/scss/components/NonLinearReading/_index-with-carbon.scss +9 -0
- package/scss/components/NonLinearReading/_index.scss +8 -0
- package/scss/components/NonLinearReading/_non-linear-reading.scss +126 -0
- 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 +8 -0
- package/scss/components/NotificationsPanel/_notifications-panel.scss +359 -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 +8 -0
- package/scss/components/OptionsTile/_options-tile.scss +226 -0
- 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 +10 -0
- package/scss/components/PageHeader/_page-header.scss +1116 -0
- 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 +10 -0
- package/scss/components/ProductiveCard/_productive-card.scss +116 -0
- 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 +10 -0
- package/scss/components/RemoveModal/_remove-modal.scss +27 -0
- 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 +10 -0
- package/scss/components/Saving/_saving.scss +40 -0
- package/scss/components/ScrollGradient/_carbon-imports.scss +9 -0
- package/scss/components/ScrollGradient/_index-with-carbon.scss +9 -0
- package/scss/components/ScrollGradient/_index.scss +8 -0
- package/scss/components/ScrollGradient/_scroll-gradient.scss +132 -0
- package/scss/components/SearchBar/_carbon-imports.scss +9 -0
- package/scss/components/SearchBar/_index-with-carbon.scss +9 -0
- package/scss/components/SearchBar/_index.scss +8 -0
- package/scss/components/SearchBar/_search-bar.scss +26 -0
- package/scss/components/SidePanel/_animations.scss +78 -0
- 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 +8 -0
- package/scss/components/SidePanel/_side-panel-variables.scss +15 -0
- package/scss/components/SidePanel/_side-panel.scss +626 -0
- package/scss/components/SimpleHeader/_carbon-imports.scss +11 -0
- package/scss/components/SimpleHeader/_index-with-carbon.scss +9 -0
- package/scss/components/SimpleHeader/_index.scss +10 -0
- package/scss/components/SimpleHeader/_simple-header.scss +37 -0
- 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 +8 -0
- package/scss/components/SingleAddSelect/_single-add-select.scss +8 -0
- 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 +8 -0
- package/scss/components/StatusIcon/_status-icon.scss +146 -0
- package/scss/components/StatusIndicator/_carbon-imports.scss +12 -0
- package/scss/components/StatusIndicator/_index-with-carbon.scss +9 -0
- package/scss/components/StatusIndicator/_index.scss +8 -0
- package/scss/components/StatusIndicator/_status-indicator.scss +93 -0
- package/scss/components/StringFormatter/_carbon-imports.scss +10 -0
- package/scss/components/StringFormatter/_index-with-carbon.scss +9 -0
- package/scss/components/StringFormatter/_index.scss +8 -0
- package/scss/components/StringFormatter/_string-formatter.scss +112 -0
- package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
- package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
- package/scss/components/TagOverflow/_index.scss +8 -0
- package/scss/components/TagOverflow/_tag-overflow.scss +197 -0
- 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 +8 -0
- package/scss/components/TagSet/_tag-set.scss +189 -0
- package/scss/components/Tearsheet/_carbon-imports.scss +11 -0
- package/scss/components/Tearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/Tearsheet/_index.scss +8 -0
- package/scss/components/Tearsheet/_tearsheet.scss +464 -0
- package/scss/components/Tearsheet/_tearsheet_next.scss +530 -0
- 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 +8 -0
- package/scss/components/Toolbar/_toolbar.scss +75 -0
- package/scss/components/TooltipTrigger/_index-with-carbon.scss +8 -0
- package/scss/components/TooltipTrigger/_index.scss +8 -0
- package/scss/components/TooltipTrigger/_tooltip-trigger.scss +29 -0
- package/scss/components/TruncatedList/_carbon-imports.scss +9 -0
- package/scss/components/TruncatedList/_index-with-carbon.scss +9 -0
- package/scss/components/TruncatedList/_index.scss +8 -0
- package/scss/components/TruncatedList/_truncated-list.scss +51 -0
- package/scss/components/TruncatedText/_carbon-imports.scss +6 -0
- package/scss/components/TruncatedText/_index-with-carbon.scss +9 -0
- package/scss/components/TruncatedText/_index.scss +8 -0
- package/scss/components/TruncatedText/_truncated-text.scss +27 -0
- package/scss/components/UserAvatar/_carbon-imports.scss +10 -0
- package/scss/components/UserAvatar/_index-with-carbon.scss +9 -0
- package/scss/components/UserAvatar/_index.scss +8 -0
- package/scss/components/UserAvatar/_user-avatar.scss +153 -0
- package/scss/components/UserProfileImage/_carbon-imports.scss +10 -0
- package/scss/components/UserProfileImage/_color-map.scss +39 -0
- package/scss/components/UserProfileImage/_index-with-carbon.scss +9 -0
- package/scss/components/UserProfileImage/_index.scss +8 -0
- package/scss/components/UserProfileImage/_user-profile-image.scss +162 -0
- package/scss/components/WebTerminal/_carbon-imports.scss +12 -0
- package/scss/components/WebTerminal/_index-with-carbon.scss +9 -0
- package/scss/components/WebTerminal/_index.scss +8 -0
- package/scss/components/WebTerminal/_web-terminal.scss +110 -0
- package/scss/components/_Canary/_canary.scss +6 -0
- package/scss/components/_Canary/_carbon-imports.scss +7 -0
- package/scss/components/_Canary/_index-with-carbon.scss +8 -0
- package/scss/components/_Canary/_index.scss +7 -0
- package/scss/components/_index-released-only-with-carbon.scss +40 -0
- package/scss/components/_index-released-only.scss +44 -0
- package/scss/components/_index-with-carbon.scss +80 -0
- package/scss/components/_index.scss +85 -0
- package/scss/config-dev.scss +10 -0
- package/scss/config.scss +8 -0
- package/scss/global/decorators/_side-panel-decorator.scss +53 -0
- package/scss/global/styles/_display-box.scss +65 -0
- package/scss/global/styles/_imported-carbon-modules.scss +25 -0
- package/scss/global/styles/_mixins.scss +22 -0
- package/scss/global/styles/_project-settings.scss +10 -0
- package/scss/index-full-carbon.scss +10 -0
- package/scss/index-without-carbon-released-only.scss +12 -0
- package/scss/index-without-carbon.scss +12 -0
- package/scss/index.scss +10 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2024, 2024
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
// Standard imports.
|
|
9
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
|
10
|
+
@use '../../global/styles/mixins';
|
|
11
|
+
|
|
12
|
+
// Other Carbon settings if needed
|
|
13
|
+
@use '@carbon/styles/scss/motion' as *;
|
|
14
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
15
|
+
|
|
16
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
17
|
+
$block-class: #{c4p-settings.$pkg-prefix}--truncated-list;
|
|
18
|
+
|
|
19
|
+
.#{$block-class}__list {
|
|
20
|
+
/* stylelint-disable-next-line carbon/motion-duration-use */
|
|
21
|
+
transition: height 240ms motion(exit, productive);
|
|
22
|
+
|
|
23
|
+
/* stylelint-disable-next-line max-nesting-depth */
|
|
24
|
+
@media (prefers-reduced-motion: reduce) {
|
|
25
|
+
transition: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.#{$block-class}--expanded .#{$block-class}__list {
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
@supports (overflow-block: auto) {
|
|
32
|
+
overflow-block: auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.#{$block-class}--expanded-all .#{$block-class}__list {
|
|
37
|
+
overflow-y: hidden;
|
|
38
|
+
@supports (overflow-block: hidden) {
|
|
39
|
+
overflow-block: hidden;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.#{c4p-settings.$carbon-prefix}--btn.#{$block-class}__button {
|
|
44
|
+
padding: 0;
|
|
45
|
+
inline-size: 100%;
|
|
46
|
+
margin-block-start: $spacing-02;
|
|
47
|
+
min-block-size: auto;
|
|
48
|
+
}
|
|
49
|
+
.#{c4p-settings.$carbon-prefix}--btn.#{$block-class}__button:hover {
|
|
50
|
+
background: transparent;
|
|
51
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2025
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
|
9
|
+
@use '../../global/styles/mixins';
|
|
10
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
11
|
+
|
|
12
|
+
$block-class: #{c4p-settings.$pkg-prefix}--truncated-text;
|
|
13
|
+
|
|
14
|
+
.#{$block-class} {
|
|
15
|
+
&__text-content {
|
|
16
|
+
display: -webkit-box;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
-webkit-box-orient: vertical;
|
|
19
|
+
line-height: initial;
|
|
20
|
+
text-overflow: clip;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__expand-toggle {
|
|
24
|
+
color: $link-primary;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2024, 2024
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
// Import any Carbon component styles used from UserAvatar in this file.
|
|
9
|
+
// UserAvatar uses the following Carbon components:
|
|
10
|
+
@use '@carbon/styles/scss/components/tooltip';
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2024, 2025
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@use 'sass:map';
|
|
9
|
+
|
|
10
|
+
// Standard imports.
|
|
11
|
+
@use '../../global/styles/project-settings' as *;
|
|
12
|
+
@use '../../global/styles/mixins';
|
|
13
|
+
@use '@carbon/colors' as *;
|
|
14
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
15
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
16
|
+
@use '@carbon/styles/scss/type';
|
|
17
|
+
|
|
18
|
+
$block-class: #{$pkg-prefix}--user-avatar;
|
|
19
|
+
|
|
20
|
+
$sizes: (
|
|
21
|
+
xl: $spacing-10,
|
|
22
|
+
lg: $spacing-09,
|
|
23
|
+
md: $spacing-07,
|
|
24
|
+
sm: $spacing-06,
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
@mixin size($size) {
|
|
28
|
+
$_size: map.get($sizes, $size);
|
|
29
|
+
|
|
30
|
+
block-size: $_size;
|
|
31
|
+
|
|
32
|
+
inline-size: $_size;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.#{$block-class} {
|
|
36
|
+
position: relative;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
border: 0.5px solid transparent;
|
|
41
|
+
border-radius: 100%;
|
|
42
|
+
block-size: 4rem;
|
|
43
|
+
color: $text-inverse;
|
|
44
|
+
inline-size: 4rem;
|
|
45
|
+
outline: none;
|
|
46
|
+
outline-offset: 3px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.#{$block-class} svg {
|
|
50
|
+
color: $icon-inverse;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.#{$block-class}__tooltip {
|
|
54
|
+
&:focus-within .#{$block-class} {
|
|
55
|
+
// stylelint-disable-next-line carbon/theme-use
|
|
56
|
+
outline: 2px solid $focus;
|
|
57
|
+
outline-offset: 1px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin photo-styling {
|
|
62
|
+
border-radius: 100%;
|
|
63
|
+
object-fit: fill;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@mixin setBgColor($color) {
|
|
67
|
+
// stylelint-disable-next-line carbon/theme-use
|
|
68
|
+
background-color: $color;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//this mixin allows you to set background color based on the lighter themes such as g10 and white
|
|
72
|
+
@mixin setLightBg($order, $color) {
|
|
73
|
+
:root .#{$block-class}--#{$order},
|
|
74
|
+
.#{$carbon-prefix}--g10 .#{$block-class}--#{$order},
|
|
75
|
+
.#{$carbon-prefix}--white .#{$block-class}--#{$order} {
|
|
76
|
+
@include setBgColor($color);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
//this mixin allows you to set background color based on the darker themes such as g90 and g100
|
|
81
|
+
@mixin setDarkBg($order, $color) {
|
|
82
|
+
.#{$carbon-prefix}--g90 .#{$block-class}--#{$order},
|
|
83
|
+
.#{$carbon-prefix}--g100 .#{$block-class}--#{$order} {
|
|
84
|
+
@include setBgColor($color);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@include setLightBg(order-1-cyan, $cyan-60);
|
|
89
|
+
@include setLightBg(order-2-gray, $gray-60);
|
|
90
|
+
@include setLightBg(order-3-green, $green-60);
|
|
91
|
+
@include setLightBg(order-4-magenta, $magenta-60);
|
|
92
|
+
@include setLightBg(order-5-purple, $purple-60);
|
|
93
|
+
@include setLightBg(order-6-teal, $teal-60);
|
|
94
|
+
@include setLightBg(order-7-cyan, $cyan-80);
|
|
95
|
+
@include setLightBg(order-8-gray, $gray-80);
|
|
96
|
+
@include setLightBg(order-9-green, $green-80);
|
|
97
|
+
@include setLightBg(order-10-magenta, $magenta-80);
|
|
98
|
+
@include setLightBg(order-11-purple, $purple-80);
|
|
99
|
+
@include setLightBg(order-12-teal, $teal-80);
|
|
100
|
+
|
|
101
|
+
@include setDarkBg(order-1-cyan, $cyan-50);
|
|
102
|
+
@include setDarkBg(order-2-gray, $gray-50);
|
|
103
|
+
@include setDarkBg(order-3-green, $green-50);
|
|
104
|
+
@include setDarkBg(order-4-magenta, $magenta-50);
|
|
105
|
+
@include setDarkBg(order-5-purple, $purple-50);
|
|
106
|
+
@include setDarkBg(order-6-teal, $teal-50);
|
|
107
|
+
@include setDarkBg(order-7-cyan, $cyan-30);
|
|
108
|
+
@include setDarkBg(order-8-gray, $gray-30);
|
|
109
|
+
@include setDarkBg(order-9-green, $green-30);
|
|
110
|
+
@include setDarkBg(order-10-magenta, $magenta-30);
|
|
111
|
+
@include setDarkBg(order-11-purple, $purple-30);
|
|
112
|
+
@include setDarkBg(order-12-teal, $teal-30);
|
|
113
|
+
|
|
114
|
+
.#{$block-class}--xl {
|
|
115
|
+
@include size('xl');
|
|
116
|
+
@include type.type-style('heading-04');
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.#{$block-class}--lg {
|
|
120
|
+
@include size('lg');
|
|
121
|
+
@include type.type-style('heading-03');
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.#{$block-class}--md {
|
|
125
|
+
@include size('md');
|
|
126
|
+
@include type.type-style('body-compact-01');
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.#{$block-class}--sm {
|
|
130
|
+
@include size('sm');
|
|
131
|
+
@include type.type-style('label-01');
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.#{$block-class}__photo {
|
|
135
|
+
border-radius: 100%;
|
|
136
|
+
object-fit: contain;
|
|
137
|
+
}
|
|
138
|
+
.#{$block-class}__photo--xl {
|
|
139
|
+
@include photo-styling;
|
|
140
|
+
@include size('xl');
|
|
141
|
+
}
|
|
142
|
+
.#{$block-class}__photo--lg {
|
|
143
|
+
@include photo-styling;
|
|
144
|
+
@include size('lg');
|
|
145
|
+
}
|
|
146
|
+
.#{$block-class}__photo--md {
|
|
147
|
+
@include photo-styling;
|
|
148
|
+
@include size('md');
|
|
149
|
+
}
|
|
150
|
+
.#{$block-class}__photo--sm {
|
|
151
|
+
@include photo-styling;
|
|
152
|
+
@include size('sm');
|
|
153
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2022, 2022
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
// UserProfileImage uses the following Carbon components:
|
|
9
|
+
// IconButton
|
|
10
|
+
@use '@carbon/styles/scss/components/button';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2021, 2022
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
9
|
+
|
|
10
|
+
$carbon-colors: (
|
|
11
|
+
'blue30': $blue-30,
|
|
12
|
+
'blue50': $blue-50,
|
|
13
|
+
'blue60': $blue-60,
|
|
14
|
+
'blue80': $blue-80,
|
|
15
|
+
'cyan30': $cyan-30,
|
|
16
|
+
'cyan50': $cyan-50,
|
|
17
|
+
'cyan60': $cyan-60,
|
|
18
|
+
'cyan80': $cyan-80,
|
|
19
|
+
'gray30': $gray-30,
|
|
20
|
+
'gray50': $gray-50,
|
|
21
|
+
'gray60': $gray-60,
|
|
22
|
+
'gray80': $gray-80,
|
|
23
|
+
'green30': $green-30,
|
|
24
|
+
'green50': $green-50,
|
|
25
|
+
'green60': $green-60,
|
|
26
|
+
'green80': $green-80,
|
|
27
|
+
'magenta30': $magenta-30,
|
|
28
|
+
'magenta50': $magenta-50,
|
|
29
|
+
'magenta60': $magenta-60,
|
|
30
|
+
'magenta80': $magenta-80,
|
|
31
|
+
'purple30': $purple-30,
|
|
32
|
+
'purple50': $purple-50,
|
|
33
|
+
'purple60': $purple-60,
|
|
34
|
+
'purple80': $purple-80,
|
|
35
|
+
'teal30': $teal-30,
|
|
36
|
+
'teal50': $teal-50,
|
|
37
|
+
'teal60': $teal-60,
|
|
38
|
+
'teal80': $teal-80,
|
|
39
|
+
);
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2021, 2021
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@use 'sass:map';
|
|
9
|
+
|
|
10
|
+
// Standard imports.
|
|
11
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
13
|
+
@use '@carbon/styles/scss/type';
|
|
14
|
+
@use '@carbon/type/scss/font-family';
|
|
15
|
+
@use '../../global/styles/project-settings' as *;
|
|
16
|
+
@use './color-map' as *;
|
|
17
|
+
|
|
18
|
+
$block-class: #{$pkg-prefix}--user-profile-image;
|
|
19
|
+
|
|
20
|
+
$sizes: (
|
|
21
|
+
xl: $spacing-10,
|
|
22
|
+
lg: $spacing-07,
|
|
23
|
+
md: $spacing-06,
|
|
24
|
+
sm: calc(#{$spacing-05} + #{$spacing-02}),
|
|
25
|
+
xs: $spacing-05,
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
@mixin size($size) {
|
|
29
|
+
$_size: map.get($sizes, $size);
|
|
30
|
+
|
|
31
|
+
block-size: $_size;
|
|
32
|
+
|
|
33
|
+
inline-size: $_size;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
$base-colors: 'cyan', 'gray', 'green', 'magenta', 'purple', 'teal';
|
|
37
|
+
$themes: (
|
|
38
|
+
'light': (
|
|
39
|
+
'light-contrast': 60,
|
|
40
|
+
'dark-contrast': 80,
|
|
41
|
+
),
|
|
42
|
+
'dark': (
|
|
43
|
+
'light-contrast': 50,
|
|
44
|
+
'dark-contrast': 30,
|
|
45
|
+
),
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
$theme-keys: map-keys($themes);
|
|
49
|
+
|
|
50
|
+
@function carbon-get-background-color($color, $key, $contrast-key) {
|
|
51
|
+
@return map.get(
|
|
52
|
+
$carbon-colors,
|
|
53
|
+
#{$color}#{map.get(map.get($themes, $key), #{$contrast-key}-contrast)}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@each $key in $theme-keys {
|
|
58
|
+
.#{$block-class}--#{$key} {
|
|
59
|
+
color: $layer-01;
|
|
60
|
+
}
|
|
61
|
+
@each $color in $base-colors {
|
|
62
|
+
@each $contrast-key in $theme-keys {
|
|
63
|
+
.#{$block-class}--#{$key}.#{$block-class}--#{$contrast-key}-#{$color} {
|
|
64
|
+
// stylelint-disable-next-line carbon/theme-use
|
|
65
|
+
background-color: carbon-get-background-color(
|
|
66
|
+
$color,
|
|
67
|
+
$key,
|
|
68
|
+
$contrast-key
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.#{$carbon-prefix}--tooltip__trigger.#{$block-class}__tooltip,
|
|
76
|
+
.#{$block-class}__tooltip.#{$carbon-prefix}--btn--ghost:not([disabled]) svg {
|
|
77
|
+
/* stylelint-disable-next-line max-nesting-depth */
|
|
78
|
+
&:hover,
|
|
79
|
+
&:focus {
|
|
80
|
+
/* stylelint-disable-next-line max-nesting-depth */
|
|
81
|
+
svg {
|
|
82
|
+
fill: $layer-01;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.#{$block-class} {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
border-radius: 100%;
|
|
93
|
+
text-transform: uppercase;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.#{$block-class}__tooltip.#{$carbon-prefix}--btn--md.#{$carbon-prefix}--btn--icon-only {
|
|
97
|
+
padding: 0;
|
|
98
|
+
border-radius: 50%;
|
|
99
|
+
min-block-size: auto;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.#{$carbon-prefix}--btn--ghost.#{$block-class}__tooltip:focus {
|
|
103
|
+
border: 0;
|
|
104
|
+
box-shadow: 0 0 0 $spacing-02 $focus;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.#{$carbon-prefix}--tooltip__trigger .#{$block-class} svg,
|
|
108
|
+
.#{$block-class}__tooltip.#{$carbon-prefix}--btn--ghost:not([disabled]) svg {
|
|
109
|
+
fill: $layer-01;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.#{$block-class}__photo {
|
|
113
|
+
border-radius: 100%;
|
|
114
|
+
inline-size: 100%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.#{$block-class}__photo--xl {
|
|
118
|
+
@include size('xl');
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.#{$block-class}__photo--lg {
|
|
122
|
+
@include size('lg');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.#{$block-class}__photo--md {
|
|
126
|
+
@include size('md');
|
|
127
|
+
}
|
|
128
|
+
.#{$block-class}__photo--sm {
|
|
129
|
+
@include size('sm');
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.#{$block-class}__photo--xs {
|
|
133
|
+
@include size('xs');
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.#{$block-class}--xl {
|
|
137
|
+
@include size('xl');
|
|
138
|
+
@include type.type-style('heading-04');
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.#{$block-class}--lg {
|
|
142
|
+
@include size('lg');
|
|
143
|
+
@include type.type-style('body-compact-01');
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.#{$block-class}--md {
|
|
147
|
+
@include size('md');
|
|
148
|
+
@include type.type-style('label-01');
|
|
149
|
+
@include font-family.font-weight('semibold');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.#{$block-class}--sm {
|
|
153
|
+
@include size('sm');
|
|
154
|
+
@include type.type-style('label-01');
|
|
155
|
+
@include font-family.font-weight('semibold');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.#{$block-class}--xs {
|
|
159
|
+
@include size('xs');
|
|
160
|
+
@include type.type-style('label-01');
|
|
161
|
+
@include font-family.font-weight('semibold');
|
|
162
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2022, 2022
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
// WebTerminal uses the following Carbon components:
|
|
9
|
+
// Button
|
|
10
|
+
// OverflowMenu
|
|
11
|
+
@use '@carbon/styles/scss/components/button';
|
|
12
|
+
@use '@carbon/styles/scss/components/overflow-menu';
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2020, 2022
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
// Standard imports.
|
|
9
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
10
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
+
@use '@carbon/styles/scss/motion' as *;
|
|
12
|
+
@use '@carbon/styles/scss/themes' as *;
|
|
13
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
14
|
+
@use '../../global/styles/project-settings' as *;
|
|
15
|
+
|
|
16
|
+
$web-terminal-width: 40rem; // 640px
|
|
17
|
+
$block-class: #{$pkg-prefix}--web-terminal;
|
|
18
|
+
|
|
19
|
+
@keyframes web-terminal-entrance {
|
|
20
|
+
from {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
// stylelint-disable-next-line carbon/layout-use
|
|
23
|
+
transform: translateX(#{$web-terminal-width});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
to {
|
|
27
|
+
opacity: 1;
|
|
28
|
+
transform: translateX(0);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@keyframes web-terminal-exit {
|
|
33
|
+
from {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
transform: translateX(0);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
to {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
// stylelint-disable-next-line carbon/layout-use
|
|
41
|
+
transform: translateX(#{$web-terminal-width});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
The reason for not using theme tokens in the web terminal
|
|
47
|
+
component is because we want these colors to always be the same
|
|
48
|
+
despite of which carbon theme the user has.
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
.#{$block-class}--open {
|
|
52
|
+
animation: web-terminal-entrance $duration-moderate-02 motion(standard);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.#{$block-class}--closed {
|
|
56
|
+
animation: web-terminal-exit forwards $duration-moderate-02 motion(standard);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.#{$block-class} {
|
|
60
|
+
@include theme($g90);
|
|
61
|
+
|
|
62
|
+
position: fixed;
|
|
63
|
+
block-size: calc(100vh - #{$spacing-09});
|
|
64
|
+
border-inline-start: 1px solid $gray-90;
|
|
65
|
+
color: $text-primary;
|
|
66
|
+
inline-size: 100%;
|
|
67
|
+
inset-block-start: $spacing-09;
|
|
68
|
+
inset-inline-end: 0;
|
|
69
|
+
max-inline-size: $web-terminal-width;
|
|
70
|
+
|
|
71
|
+
@media (prefers-reduced-motion) {
|
|
72
|
+
animation: none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.#{$block-class}__bar {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: space-between;
|
|
80
|
+
background-color: $background;
|
|
81
|
+
block-size: 3rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.#{$block-class}__actions {
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.#{$block-class}__documentation-overflow {
|
|
89
|
+
@include theme($g100);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.#{$block-class}__documentation-overflow
|
|
93
|
+
.#{$carbon-prefix}--overflow-menu-options__btn {
|
|
94
|
+
text-decoration: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Terminal body styles
|
|
98
|
+
.#{$block-class}__body {
|
|
99
|
+
block-size: calc(100vh - #{$spacing-09});
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Terminal wrapper styles
|
|
103
|
+
.#{$block-class}-content-wrapper {
|
|
104
|
+
block-size: 100%;
|
|
105
|
+
inline-size: 100vw;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.#{$block-class}-content-wrapper--open {
|
|
109
|
+
inline-size: calc(100vw - #{$web-terminal-width});
|
|
110
|
+
}
|