@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,56 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2025, 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
|
+
@keyframes filter-panel-entrance-reduced {
|
|
9
|
+
0% {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
100% {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@keyframes filter-panel-exit-reduced {
|
|
19
|
+
0% {
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
100% {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@keyframes filter-panel-entrance-left {
|
|
29
|
+
0% {
|
|
30
|
+
inline-size: 0;
|
|
31
|
+
opacity: 0;
|
|
32
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
|
33
|
+
transform: translateX(calc(var(--panel-transform) * -1));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
100% {
|
|
37
|
+
inline-size: var(--panel-transform);
|
|
38
|
+
opacity: 1;
|
|
39
|
+
transform: translateX(0);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes filter-panel-exit-left {
|
|
44
|
+
0% {
|
|
45
|
+
inline-size: var(--panel-transform);
|
|
46
|
+
opacity: 1;
|
|
47
|
+
transform: translateX(0);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
100% {
|
|
51
|
+
inline-size: 0;
|
|
52
|
+
opacity: 0;
|
|
53
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
|
54
|
+
transform: translateX(calc(var(--panel-transform) * -1));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 Decorator in this file.
|
|
9
|
+
// Decorator uses the following Carbon components:
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
|
9
|
+
@use '../../global/styles/mixins';
|
|
10
|
+
|
|
11
|
+
@use '../DecoratorBase/decorator-base-mixins' as *;
|
|
12
|
+
@use '../DecoratorBase/decorator-base';
|
|
13
|
+
|
|
14
|
+
// Decorator uses the following Carbon for IBM Products components:
|
|
15
|
+
|
|
16
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
17
|
+
$block-class: #{c4p-settings.$pkg-prefix}--decorator;
|
|
18
|
+
$default: #{$block-class}--default;
|
|
19
|
+
$value: #{$block-class}__value;
|
|
20
|
+
|
|
21
|
+
.#{$default} .#{$value} {
|
|
22
|
+
@include value-divider();
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 DecoratorBase in this file.
|
|
9
|
+
// DecoratorBase uses the following Carbon components:
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
/* stylelint-disable carbon/layout-use */
|
|
9
|
+
|
|
10
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
11
|
+
|
|
12
|
+
// Use value-divider() by default for the component's dividing line.
|
|
13
|
+
@mixin value-divider($top: 0, $bottom: 0, $left: 0, $color: $border-subtle-02) {
|
|
14
|
+
&::after {
|
|
15
|
+
position: absolute;
|
|
16
|
+
border-inline-start: 1px solid #{$color};
|
|
17
|
+
content: '';
|
|
18
|
+
inset-block: #{$top} #{$bottom};
|
|
19
|
+
inset-inline-start: #{$left};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Use label-divider() only when hovering/focusing the label.
|
|
24
|
+
@mixin label-divider(
|
|
25
|
+
// Nudge the line over so it occupies the same space as the value divider.
|
|
26
|
+
$top: -1px,
|
|
27
|
+
$right: -1px,
|
|
28
|
+
$bottom: -1px,
|
|
29
|
+
$color: $border-strong
|
|
30
|
+
) {
|
|
31
|
+
&::after {
|
|
32
|
+
position: absolute;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
border-inline-end: 1px solid #{$color};
|
|
35
|
+
content: '';
|
|
36
|
+
inset-block: #{$top} #{$bottom};
|
|
37
|
+
inset-inline-end: #{$right};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/* stylelint-disable carbon/theme-use */
|
|
2
|
+
/* stylelint-disable carbon/type-use */
|
|
3
|
+
/* stylelint-disable carbon/layout-use */
|
|
4
|
+
/* stylelint-disable function-no-unknown */
|
|
5
|
+
|
|
6
|
+
//
|
|
7
|
+
// Copyright IBM Corp. 2024, 2024
|
|
8
|
+
//
|
|
9
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
10
|
+
// LICENSE file in the root directory of this source tree.
|
|
11
|
+
//
|
|
12
|
+
|
|
13
|
+
// Standard imports.
|
|
14
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
|
15
|
+
@use '../../global/styles/mixins';
|
|
16
|
+
|
|
17
|
+
// DecoratorBase uses the following Carbon for IBM Products components:
|
|
18
|
+
@use '@carbon/layout/scss/convert' as *;
|
|
19
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
20
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
21
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
22
|
+
@use '@carbon/styles/scss/themes';
|
|
23
|
+
@use '@carbon/styles/scss/type';
|
|
24
|
+
|
|
25
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
26
|
+
$block-class: #{c4p-settings.$pkg-prefix}--decorator;
|
|
27
|
+
$icon: #{$block-class}-icon;
|
|
28
|
+
$label: #{$block-class}__label;
|
|
29
|
+
$value: #{$block-class}__value;
|
|
30
|
+
|
|
31
|
+
.#{$block-class}--light {
|
|
32
|
+
@include theme(themes.$g10, true);
|
|
33
|
+
}
|
|
34
|
+
.#{$block-class}--dark {
|
|
35
|
+
@include theme(themes.$g100, true);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// BASE STYLING FOR ALL DECORATORS
|
|
39
|
+
.#{$block-class} {
|
|
40
|
+
display: inline-flex;
|
|
41
|
+
align-items: normal;
|
|
42
|
+
border-radius: $spacing-12;
|
|
43
|
+
max-inline-size: 100%;
|
|
44
|
+
}
|
|
45
|
+
.#{$block-class} .#{$label} {
|
|
46
|
+
@include type.type-style('label-01');
|
|
47
|
+
|
|
48
|
+
position: relative;
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: normal;
|
|
51
|
+
padding: 0 $spacing-03;
|
|
52
|
+
border-width: to-rem(1px) 0 to-rem(1px) to-rem(1px);
|
|
53
|
+
border-style: solid;
|
|
54
|
+
border-color: $border-subtle-02;
|
|
55
|
+
border-radius: $spacing-12 0 0 $spacing-12;
|
|
56
|
+
background-color: $layer-01;
|
|
57
|
+
block-size: $spacing-06;
|
|
58
|
+
color: $text-secondary;
|
|
59
|
+
line-height: 1.8;
|
|
60
|
+
}
|
|
61
|
+
.#{$block-class} .#{$value} {
|
|
62
|
+
@include type.type-style('label-01');
|
|
63
|
+
|
|
64
|
+
position: relative;
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
align-items: normal;
|
|
68
|
+
padding: 0 $spacing-03;
|
|
69
|
+
border-width: to-rem(1px) to-rem(1px) to-rem(1px) 0;
|
|
70
|
+
border-style: solid;
|
|
71
|
+
border-color: $border-subtle-02;
|
|
72
|
+
border-radius: 0 $spacing-12 $spacing-12 0;
|
|
73
|
+
background-color: $layer-01;
|
|
74
|
+
block-size: $spacing-06;
|
|
75
|
+
color: $text-primary;
|
|
76
|
+
line-height: 1.8;
|
|
77
|
+
}
|
|
78
|
+
.#{$block-class} .#{$icon} {
|
|
79
|
+
margin-block-start: to-rem(3px);
|
|
80
|
+
margin-inline-end: $spacing-02;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
//
|
|
84
|
+
// MODIFIER, SMALL
|
|
85
|
+
//
|
|
86
|
+
.#{$block-class}--sm .#{$label} {
|
|
87
|
+
padding: 0 $spacing-02 0 $spacing-03;
|
|
88
|
+
block-size: to-rem(18px);
|
|
89
|
+
line-height: 1.333;
|
|
90
|
+
}
|
|
91
|
+
.#{$block-class}--sm .#{$value} {
|
|
92
|
+
// When "small", the divider takes up 1px of 4px of the available space: so "+1px".
|
|
93
|
+
padding: 0 $spacing-03 0 calc($spacing-02 + 1px);
|
|
94
|
+
block-size: to-rem(18px);
|
|
95
|
+
line-height: 1.333;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
//
|
|
99
|
+
// MODIFIER, TRUNCATION
|
|
100
|
+
//
|
|
101
|
+
.#{$block-class}--truncate-end .#{$value} {
|
|
102
|
+
display: inline;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
text-overflow: ellipsis;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
}
|
|
107
|
+
.#{$block-class}--truncate-start .#{$value} {
|
|
108
|
+
display: inline;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
direction: rtl;
|
|
111
|
+
text-overflow: ellipsis;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
//
|
|
116
|
+
// MAGNITUDE ICON COLORS AND SIZES
|
|
117
|
+
//
|
|
118
|
+
.#{$icon}__magnitude-unknown {
|
|
119
|
+
fill: $icon-secondary;
|
|
120
|
+
}
|
|
121
|
+
.#{$icon}__magnitude-benign {
|
|
122
|
+
fill: $teal-60;
|
|
123
|
+
}
|
|
124
|
+
.#{$icon}__magnitude-low {
|
|
125
|
+
fill: $support-warning;
|
|
126
|
+
}
|
|
127
|
+
.#{$icon}__magnitude-medium {
|
|
128
|
+
fill: $orange-40;
|
|
129
|
+
}
|
|
130
|
+
.#{$icon}__magnitude-high {
|
|
131
|
+
fill: $support-error;
|
|
132
|
+
}
|
|
133
|
+
.#{$icon}__magnitude-critical {
|
|
134
|
+
fill: $support-error;
|
|
135
|
+
}
|
|
136
|
+
.#{$block-class}-disabled svg {
|
|
137
|
+
fill: $icon-on-color-disabled;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// MODIFIER, SMALL ICON
|
|
141
|
+
.#{$block-class} .#{$icon}--sm {
|
|
142
|
+
block-size: $spacing-04;
|
|
143
|
+
inline-size: $spacing-04;
|
|
144
|
+
margin-block-start: to-rem(2.5px);
|
|
145
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 DecoratorDualButton in this file.
|
|
9
|
+
// DecoratorDualButton uses the following Carbon components:
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/* stylelint-disable carbon/theme-use */
|
|
2
|
+
/* stylelint-disable function-no-unknown */
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
// Copyright IBM Corp. 2024, 2024
|
|
6
|
+
//
|
|
7
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
8
|
+
// LICENSE file in the root directory of this source tree.
|
|
9
|
+
//
|
|
10
|
+
|
|
11
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
|
12
|
+
@use '../../global/styles/mixins';
|
|
13
|
+
|
|
14
|
+
@use '../DecoratorBase/decorator-base-mixins' as *;
|
|
15
|
+
@use '../DecoratorBase/decorator-base';
|
|
16
|
+
|
|
17
|
+
// DecoratorDualButton uses the following Carbon for IBM Products components:
|
|
18
|
+
@use '@carbon/layout/scss/convert' as *;
|
|
19
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
20
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
21
|
+
@use '@carbon/styles/scss/type';
|
|
22
|
+
|
|
23
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
24
|
+
$block-class: #{c4p-settings.$pkg-prefix}--decorator;
|
|
25
|
+
$buttons: '#{$block-class}--dual-button:not(.#{$block-class}-disabled)';
|
|
26
|
+
$buttons-disabled: '#{$block-class}--dual-button.#{$block-class}-disabled';
|
|
27
|
+
$icon: #{$block-class}-icon;
|
|
28
|
+
$label: #{$block-class}__label;
|
|
29
|
+
$value: #{$block-class}__value;
|
|
30
|
+
|
|
31
|
+
.#{$buttons} .#{$label} {
|
|
32
|
+
background-color: $layer-02;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.#{$buttons}:not(:hover) .#{$value} {
|
|
36
|
+
@include value-divider();
|
|
37
|
+
}
|
|
38
|
+
.#{$buttons} .#{$value} {
|
|
39
|
+
background-color: $layer-02;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
.#{$buttons} .#{$label}:hover {
|
|
43
|
+
@include label-divider($color: $border-strong);
|
|
44
|
+
|
|
45
|
+
border-color: $border-strong;
|
|
46
|
+
background-color: $layer-hover-02;
|
|
47
|
+
}
|
|
48
|
+
.#{$buttons} .#{$value}:hover {
|
|
49
|
+
@include value-divider($color: $border-strong);
|
|
50
|
+
|
|
51
|
+
border-color: $border-strong;
|
|
52
|
+
background-color: $layer-hover-02;
|
|
53
|
+
}
|
|
54
|
+
.#{$buttons} .#{$label}:focus {
|
|
55
|
+
@include label-divider($color: $focus);
|
|
56
|
+
|
|
57
|
+
border-color: $focus;
|
|
58
|
+
// Disable browser's default "focus" style.
|
|
59
|
+
outline: none;
|
|
60
|
+
}
|
|
61
|
+
.#{$buttons} .#{$value}:focus {
|
|
62
|
+
@include value-divider($color: $focus);
|
|
63
|
+
|
|
64
|
+
border-color: $focus;
|
|
65
|
+
// Disable browser's default "focus" style.
|
|
66
|
+
outline: none;
|
|
67
|
+
}
|
|
68
|
+
.#{$buttons} .#{$label}:active {
|
|
69
|
+
background-color: $layer-hover-02;
|
|
70
|
+
}
|
|
71
|
+
.#{$buttons} .#{$value}:active {
|
|
72
|
+
background-color: $layer-hover-02;
|
|
73
|
+
}
|
|
74
|
+
.#{$buttons-disabled} .#{$label} {
|
|
75
|
+
background-color: $layer-02;
|
|
76
|
+
color: $icon-on-color-disabled;
|
|
77
|
+
}
|
|
78
|
+
.#{$buttons-disabled} .#{$value} {
|
|
79
|
+
@include value-divider();
|
|
80
|
+
|
|
81
|
+
background-color: $layer-02;
|
|
82
|
+
color: $icon-on-color-disabled;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// ICON ENHANCED ACCESSIBILITY
|
|
86
|
+
// Add a border to the icon on hover & active to increase contrast.
|
|
87
|
+
.#{$block-class}--light {
|
|
88
|
+
&.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-low,
|
|
89
|
+
&.#{$buttons} .#{$label}:active .#{$icon}__magnitude-low {
|
|
90
|
+
stroke: $yellow-60;
|
|
91
|
+
stroke-width: 1px;
|
|
92
|
+
}
|
|
93
|
+
// The "diamond-fill/medium" icon has an inner and outer path.
|
|
94
|
+
// Fill the outer path to simulate a 1px border.
|
|
95
|
+
&.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-medium path:first-child,
|
|
96
|
+
&.#{$buttons} .#{$label}:active .#{$icon}__magnitude-medium path:first-child {
|
|
97
|
+
fill: $orange-60;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.#{$block-class}--dark {
|
|
101
|
+
// The "caution/high" icon has an inner and outer path.
|
|
102
|
+
// Fill the outer path to simulate a 1px border.
|
|
103
|
+
&.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-high path:first-child,
|
|
104
|
+
&.#{$buttons} .#{$label}:active .#{$icon}__magnitude-high path:first-child {
|
|
105
|
+
fill: $red-40;
|
|
106
|
+
}
|
|
107
|
+
&.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-critical,
|
|
108
|
+
&.#{$buttons} .#{$label}:active .#{$icon}__magnitude-critical {
|
|
109
|
+
stroke: $red-40;
|
|
110
|
+
stroke-width: to-rem(0.5px);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 DecoratorLink in this file.
|
|
9
|
+
// DecoratorLink uses the following Carbon components:
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
@use '../DecoratorBase/decorator-base-mixins' as *;
|
|
13
|
+
@use '../DecoratorBase/decorator-base';
|
|
14
|
+
|
|
15
|
+
// DecoratorLink uses the following Carbon for IBM Products components:
|
|
16
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
17
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
18
|
+
@use '@carbon/styles/scss/type';
|
|
19
|
+
|
|
20
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
21
|
+
$block-class: #{c4p-settings.$pkg-prefix}--decorator;
|
|
22
|
+
$link: #{$block-class}--link;
|
|
23
|
+
$label: #{$block-class}__label;
|
|
24
|
+
$value: #{$block-class}__value;
|
|
25
|
+
|
|
26
|
+
.#{$link} {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
}
|
|
30
|
+
.#{$link} .#{$label} {
|
|
31
|
+
background-color: $layer-02;
|
|
32
|
+
}
|
|
33
|
+
.#{$link} .#{$value} {
|
|
34
|
+
@include value-divider();
|
|
35
|
+
|
|
36
|
+
background-color: $layer-02;
|
|
37
|
+
color: $link-primary;
|
|
38
|
+
}
|
|
39
|
+
.#{$link}:hover .#{$value} {
|
|
40
|
+
color: $link-primary-hover;
|
|
41
|
+
text-decoration: underline;
|
|
42
|
+
}
|
|
43
|
+
.#{$link}:focus {
|
|
44
|
+
text-decoration: none;
|
|
45
|
+
}
|
|
46
|
+
.#{$link}:focus .#{$value} {
|
|
47
|
+
@include value-divider($color: $focus);
|
|
48
|
+
|
|
49
|
+
border-color: $focus;
|
|
50
|
+
}
|
|
51
|
+
.#{$link}:active .#{$value} {
|
|
52
|
+
color: $text-primary;
|
|
53
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 DecoratorSingleButton in this file.
|
|
9
|
+
// DecoratorSingleButton uses the following Carbon components:
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* stylelint-disable function-no-unknown */
|
|
2
|
+
/* stylelint-disable carbon/theme-use */
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
// Copyright IBM Corp. 2024, 2024
|
|
6
|
+
//
|
|
7
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
8
|
+
// LICENSE file in the root directory of this source tree.
|
|
9
|
+
//
|
|
10
|
+
|
|
11
|
+
// Standard imports.
|
|
12
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
|
13
|
+
@use '../../global/styles/mixins';
|
|
14
|
+
|
|
15
|
+
@use '../DecoratorBase/decorator-base-mixins' as *;
|
|
16
|
+
@use '../DecoratorBase/decorator-base';
|
|
17
|
+
|
|
18
|
+
// DecoratorSingleButton uses the following Carbon for IBM Products components:
|
|
19
|
+
@use '@carbon/layout/scss/convert' as *;
|
|
20
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
21
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
22
|
+
@use '@carbon/styles/scss/type';
|
|
23
|
+
|
|
24
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
25
|
+
$block-class: #{c4p-settings.$pkg-prefix}--decorator;
|
|
26
|
+
$button: '#{$block-class}--single-button:not(.#{$block-class}-disabled)';
|
|
27
|
+
$button-disabled: '#{$block-class}--single-button.#{$block-class}-disabled';
|
|
28
|
+
$icon: #{$block-class}-icon;
|
|
29
|
+
$label: #{$block-class}__label;
|
|
30
|
+
$value: #{$block-class}__value;
|
|
31
|
+
|
|
32
|
+
.#{$button} {
|
|
33
|
+
display: flex;
|
|
34
|
+
padding: 0;
|
|
35
|
+
border: 0;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
.#{$button} .#{$label} {
|
|
39
|
+
background-color: $layer-02;
|
|
40
|
+
}
|
|
41
|
+
.#{$button} .#{$value} {
|
|
42
|
+
@include value-divider();
|
|
43
|
+
|
|
44
|
+
background-color: $layer-02;
|
|
45
|
+
}
|
|
46
|
+
.#{$button}:hover .#{$label} {
|
|
47
|
+
border-color: $border-strong;
|
|
48
|
+
background-color: $layer-hover-02;
|
|
49
|
+
}
|
|
50
|
+
.#{$button}:hover .#{$value} {
|
|
51
|
+
@include value-divider($color: $border-strong);
|
|
52
|
+
|
|
53
|
+
border-color: $border-strong;
|
|
54
|
+
background-color: $layer-hover-02;
|
|
55
|
+
}
|
|
56
|
+
.#{$button}:focus {
|
|
57
|
+
// Disable browser's default "focus" style.
|
|
58
|
+
outline: none;
|
|
59
|
+
}
|
|
60
|
+
.#{$button}:focus .#{$label} {
|
|
61
|
+
border-color: $focus;
|
|
62
|
+
background-color: $layer-02;
|
|
63
|
+
}
|
|
64
|
+
.#{$button}:focus .#{$value} {
|
|
65
|
+
@include value-divider();
|
|
66
|
+
|
|
67
|
+
border-color: $focus;
|
|
68
|
+
background-color: $layer-02;
|
|
69
|
+
}
|
|
70
|
+
.#{$button}:active .#{$label} {
|
|
71
|
+
background-color: $layer-selected-02;
|
|
72
|
+
}
|
|
73
|
+
.#{$button}:active .#{$value} {
|
|
74
|
+
@include value-divider();
|
|
75
|
+
|
|
76
|
+
background-color: $layer-selected-02;
|
|
77
|
+
}
|
|
78
|
+
.#{$button-disabled} {
|
|
79
|
+
padding: 0;
|
|
80
|
+
border: 0;
|
|
81
|
+
cursor: not-allowed;
|
|
82
|
+
}
|
|
83
|
+
.#{$button-disabled} .#{$label} {
|
|
84
|
+
background-color: $layer-02;
|
|
85
|
+
color: $icon-on-color-disabled;
|
|
86
|
+
}
|
|
87
|
+
.#{$button-disabled} .#{$value} {
|
|
88
|
+
@include value-divider();
|
|
89
|
+
|
|
90
|
+
background-color: $layer-02;
|
|
91
|
+
color: $icon-on-color-disabled;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// ICON ENHANCED ACCESSIBILITY
|
|
95
|
+
// Add a border to the icon on hover & active to increase contrast.
|
|
96
|
+
.#{$block-class}--light {
|
|
97
|
+
&.#{$button}:hover .#{$icon}__magnitude-low,
|
|
98
|
+
&.#{$button}:active .#{$icon}__magnitude-low {
|
|
99
|
+
stroke: $yellow-60;
|
|
100
|
+
stroke-width: 1px;
|
|
101
|
+
}
|
|
102
|
+
&.#{$button}:hover .#{$icon}__magnitude-medium path:first-child,
|
|
103
|
+
&.#{$button}:active .#{$icon}__magnitude-medium path:first-child {
|
|
104
|
+
fill: $orange-60;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.#{$block-class}--dark {
|
|
108
|
+
&.#{$button}:hover .#{$icon}__magnitude-high path:first-child,
|
|
109
|
+
&.#{$button}:active .#{$icon}__magnitude-high path:first-child {
|
|
110
|
+
fill: $red-40;
|
|
111
|
+
}
|
|
112
|
+
&.#{$button}:hover .#{$icon}__magnitude-critical,
|
|
113
|
+
&.#{$button}:active .#{$icon}__magnitude-critical {
|
|
114
|
+
stroke: $red-40;
|
|
115
|
+
stroke-width: to-rem(0.5px);
|
|
116
|
+
}
|
|
117
|
+
}
|