@carbon/ibm-products 2.54.0-canary.6 → 2.54.0-canary.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index-full-carbon.css +1341 -674
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +963 -52
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +586 -550
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +667 -555
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/es/components/APIKeyModal/APIKeyModal.d.ts +13 -0
- package/es/components/APIKeyModal/APIKeyModal.js +85 -38
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
- package/es/components/AboutModal/AboutModal.js +3 -6
- package/es/components/AddSelect/hooks/useFocus.js +1 -2
- package/es/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/es/components/AddSelect/hooks/usePath.js +1 -2
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +18 -9
- package/es/components/Card/Card.d.ts +3 -3
- package/es/components/Card/Card.js +23 -18
- package/es/components/Card/CardHeader.d.ts +7 -7
- package/es/components/Card/CardHeader.js +14 -12
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/Coachmark/Coachmark.d.ts +5 -0
- package/es/components/Coachmark/Coachmark.js +11 -3
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +19 -5
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
- package/es/components/ConditionBuilder/utils/util.js +0 -4
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +6 -3
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/Datagrid.js +7 -0
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -4
- package/es/components/Datagrid/useDatagrid.js +2 -2
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/es/components/Datagrid/useEditableCell.js +1 -2
- package/es/components/Datagrid/useFlexResize.js +1 -2
- package/es/components/Datagrid/useFloatingScroll.js +1 -2
- package/es/components/Datagrid/useNestedRowExpander.js +1 -2
- package/es/components/Datagrid/useParentDimensions.js +1 -2
- package/es/components/Datagrid/useResizeTable.js +1 -2
- package/es/components/Datagrid/useRowExpander.js +1 -2
- package/es/components/Datagrid/useRowRenderer.js +1 -2
- package/es/components/Datagrid/useRowSize.js +1 -2
- package/es/components/Datagrid/useSkeletonRows.js +1 -2
- package/es/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
- package/es/components/DecoratorLink/DecoratorLink.d.ts +1 -0
- package/es/components/DecoratorLink/DecoratorLink.js +5 -0
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
- package/es/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/es/components/DescriptionList/DescriptionList.js +5 -0
- package/es/components/EditFullPage/EditFullPage.d.ts +2 -0
- package/es/components/EditFullPage/EditFullPage.js +8 -0
- package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -0
- package/es/components/EditSidePanel/EditSidePanel.js +8 -0
- package/es/components/EditTearsheet/EditTearsheet.d.ts +2 -0
- package/es/components/EditTearsheet/EditTearsheet.js +8 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
- package/es/components/EditUpdateCards/EditUpdateCards.js +8 -0
- package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -0
- package/es/components/EmptyStates/EmptyStateV2.js +7 -0
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NoDataIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +3 -5
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +3 -5
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
- package/es/components/ExpressiveCard/ExpressiveCard.js +5 -5
- package/es/components/FilterPanel/FilterPanel.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanel.js +6 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
- package/es/components/FullPageError/FullPageError.js +7 -7
- package/es/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error403SVG.js +4 -6
- package/es/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error404SVG.js +4 -6
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/es/components/InlineTip/InlineTip.d.ts +5 -0
- package/es/components/InlineTip/InlineTip.js +17 -8
- package/es/components/Nav/Nav.d.ts +3 -0
- package/es/components/Nav/Nav.js +8 -0
- package/es/components/Nav/NavItemLink.js +1 -2
- package/es/components/ProductiveCard/ProductiveCard.d.ts +3 -3
- package/es/components/ProductiveCard/ProductiveCard.js +4 -4
- package/es/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/es/components/StatusIndicator/StatusIndicator.js +5 -0
- package/es/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
- package/es/components/StatusIndicator/StatusIndicatorStep.js +5 -0
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
- package/es/components/Tearsheet/TearsheetShell.js +3 -24
- package/es/global/js/hooks/useFocus.d.ts +1 -0
- package/es/global/js/hooks/useFocus.js +21 -1
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/es/global/js/package-settings.d.ts +1 -1
- package/es/global/js/package-settings.js +1 -1
- package/es/index.js +1 -1
- package/es/settings.d.ts +1 -1
- package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +13 -0
- package/lib/components/APIKeyModal/APIKeyModal.js +83 -34
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
- package/lib/components/AboutModal/AboutModal.js +2 -5
- package/lib/components/AddSelect/hooks/useFocus.js +1 -2
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/lib/components/AddSelect/hooks/usePath.js +1 -2
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +17 -8
- package/lib/components/Card/Card.d.ts +3 -3
- package/lib/components/Card/Card.js +22 -17
- package/lib/components/Card/CardHeader.d.ts +7 -7
- package/lib/components/Card/CardHeader.js +14 -12
- package/lib/components/Checklist/ChecklistChart.js +7 -7
- package/lib/components/Coachmark/Coachmark.d.ts +5 -0
- package/lib/components/Coachmark/Coachmark.js +11 -3
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +18 -4
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
- package/lib/components/ConditionBuilder/utils/util.js +0 -4
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -2
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -0
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/lib/components/Datagrid/useColumnOrder.js +1 -1
- package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/lib/components/Datagrid/useEditableCell.js +1 -2
- package/lib/components/Datagrid/useFlexResize.js +1 -2
- package/lib/components/Datagrid/useFloatingScroll.js +1 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
- package/lib/components/Datagrid/useParentDimensions.js +1 -2
- package/lib/components/Datagrid/useResizeTable.js +1 -2
- package/lib/components/Datagrid/useRowExpander.js +1 -2
- package/lib/components/Datagrid/useRowRenderer.js +1 -2
- package/lib/components/Datagrid/useRowSize.js +1 -2
- package/lib/components/Datagrid/useSkeletonRows.js +1 -2
- package/lib/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
- package/lib/components/DecoratorLink/DecoratorLink.d.ts +1 -0
- package/lib/components/DecoratorLink/DecoratorLink.js +5 -0
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
- package/lib/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/lib/components/DescriptionList/DescriptionList.js +5 -0
- package/lib/components/EditFullPage/EditFullPage.d.ts +2 -0
- package/lib/components/EditFullPage/EditFullPage.js +8 -0
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -0
- package/lib/components/EditSidePanel/EditSidePanel.js +8 -0
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +2 -0
- package/lib/components/EditTearsheet/EditTearsheet.js +8 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.js +8 -0
- package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -0
- package/lib/components/EmptyStates/EmptyStateV2.js +7 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +2 -4
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
- package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -5
- package/lib/components/FilterPanel/FilterPanel.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanel.js +6 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
- package/lib/components/FullPageError/FullPageError.js +7 -7
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error403SVG.js +4 -6
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error404SVG.js +4 -6
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/lib/components/InlineTip/InlineTip.d.ts +5 -0
- package/lib/components/InlineTip/InlineTip.js +17 -8
- package/lib/components/Nav/Nav.d.ts +3 -0
- package/lib/components/Nav/Nav.js +8 -0
- package/lib/components/Nav/NavItemLink.js +1 -2
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +3 -3
- package/lib/components/ProductiveCard/ProductiveCard.js +4 -4
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.js +5 -0
- package/lib/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +5 -0
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
- package/lib/components/Tearsheet/TearsheetShell.js +2 -23
- package/lib/global/js/hooks/useFocus.d.ts +1 -0
- package/lib/global/js/hooks/useFocus.js +21 -0
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/lib/global/js/package-settings.d.ts +1 -1
- package/lib/global/js/package-settings.js +1 -1
- package/lib/index.js +109 -109
- package/lib/settings.d.ts +1 -1
- package/package.json +10 -10
- package/scss/components/APIKeyModal/_api-key-modal.scss +4 -0
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +3 -3
- package/scss/components/Card/_card.scss +19 -5
- package/scss/components/Coachmark/_coachmark-overlay.scss +2 -2
- package/scss/components/Coachmark/_coachmark-tagline.scss +1 -1
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +3 -3
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +2 -2
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -7
- package/scss/components/CreateInfluencer/_create-influencer.scss +2 -2
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -2
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +4 -4
- package/scss/components/Datagrid/styles/_datagrid.scss +21 -14
- package/scss/components/Datagrid/styles/_draggableElement.scss +2 -2
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +1 -1
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +1 -1
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +1 -1
- package/scss/components/Datagrid/styles/_useNestedRows.scss +2 -2
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +2 -2
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +1 -2
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +1 -1
- package/scss/components/DecoratorBase/_decorator-base.scss +3 -3
- package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +1 -1
- package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +1 -1
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +1 -2
- package/scss/components/EditUpdateCards/_edit-update-cards.scss +7 -7
- package/scss/components/FullPageError/_full-page-error.scss +1 -1
- package/scss/components/GetStartedCard/_get-started-card.scss +1 -1
- package/scss/components/Guidebanner/_guidebanner.scss +4 -4
- package/scss/components/HTTPErrors/_http-errors.scss +1 -1
- package/scss/components/InlineTip/_inline-tip.scss +4 -4
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -6
- package/scss/components/NonLinearReading/_non-linear-reading.scss +2 -2
- package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -3
- package/scss/components/OptionsTile/_options-tile.scss +6 -8
- package/scss/components/PageHeader/_page-header.scss +20 -13
- package/scss/components/ProductiveCard/_productive-card.scss +2 -2
- package/scss/components/SidePanel/_side-panel.scss +11 -11
- package/scss/components/StatusIcon/_status-icon.scss +9 -7
- package/scss/components/StatusIndicator/_status-indicator.scss +1 -1
- package/scss/components/Tearsheet/_tearsheet.scss +5 -5
- package/scss/components/UserAvatar/_user-avatar.scss +5 -3
- package/scss/components/UserProfileImage/_user-profile-image.scss +6 -4
- package/scss/components/WebTerminal/_web-terminal.scss +2 -2
- package/scss/components/_index-released-only.scss +1 -0
@@ -15,8 +15,8 @@
|
|
15
15
|
* instead of many individual rules.
|
16
16
|
*/
|
17
17
|
|
18
|
-
/* stylelint-disable carbon/layout-
|
19
|
-
/* stylelint-disable carbon/theme-
|
18
|
+
/* stylelint-disable carbon/layout-use */
|
19
|
+
/* stylelint-disable carbon/theme-use */
|
20
20
|
/* stylelint-disable declaration-no-important */
|
21
21
|
/* stylelint-disable function-no-unknown */
|
22
22
|
/* stylelint-disable max-nesting-depth */
|
@@ -177,7 +177,7 @@ $purple: #7f3ae7;
|
|
177
177
|
}
|
178
178
|
|
179
179
|
.#{$block-class} .#{$block-class}__close-icon {
|
180
|
-
padding: to-rem(6px) 0 0
|
180
|
+
padding: to-rem(6px) 0 0;
|
181
181
|
block-size: $spacing-07;
|
182
182
|
color: $white-0;
|
183
183
|
inline-size: $spacing-07;
|
@@ -221,7 +221,7 @@ $purple: #7f3ae7;
|
|
221
221
|
// Repeating here.
|
222
222
|
svg {
|
223
223
|
position: absolute;
|
224
|
-
right:
|
224
|
+
right: $spacing-05;
|
225
225
|
width: 1rem;
|
226
226
|
height: 1rem;
|
227
227
|
flex-shrink: 0;
|
@@ -87,7 +87,7 @@ $one-grid-column: calc(100% / 16);
|
|
87
87
|
&--container {
|
88
88
|
min-width: 47rem;
|
89
89
|
max-width: 82rem;
|
90
|
-
margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-
|
90
|
+
margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-use
|
91
91
|
background-color: $background;
|
92
92
|
}
|
93
93
|
|
@@ -220,17 +220,17 @@ $one-grid-column: calc(100% / 16);
|
|
220
220
|
height: $spacing-09;
|
221
221
|
padding-left: $spacing-05;
|
222
222
|
border-bottom: 1px solid $border-subtle-01;
|
223
|
-
/* stylelint-disable-next-line carbon/theme-
|
223
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
224
224
|
background-color: $gray-100;
|
225
|
-
/* stylelint-disable-next-line carbon/theme-
|
225
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
226
226
|
color: $gray-10;
|
227
|
-
/* stylelint-disable-next-line carbon/type-
|
227
|
+
/* stylelint-disable-next-line carbon/type-use */
|
228
228
|
font-weight: normal !important; // overrides type style above
|
229
|
-
/* stylelint-disable-next-line carbon/type-
|
229
|
+
/* stylelint-disable-next-line carbon/type-use */
|
230
230
|
line-height: $spacing-09 !important;
|
231
231
|
|
232
232
|
b {
|
233
|
-
/* stylelint-disable-next-line carbon/type-
|
233
|
+
/* stylelint-disable-next-line carbon/type-use */
|
234
234
|
font-weight: 600;
|
235
235
|
}
|
236
236
|
}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
-
/* stylelint-disable carbon/layout-
|
8
|
+
/* stylelint-disable carbon/layout-use */
|
9
9
|
/* stylelint-disable function-no-unknown */
|
10
10
|
|
11
11
|
// Standard imports.
|
@@ -70,7 +70,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
|
|
70
70
|
}
|
71
71
|
// The "up" chevron
|
72
72
|
.#{$block-class} .#{$block-class}__keyword svg {
|
73
|
-
margin: to-rem(1px) 0 0
|
73
|
+
margin: to-rem(1px) 0 0;
|
74
74
|
vertical-align: text-top;
|
75
75
|
}
|
76
76
|
|
@@ -23,7 +23,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
23
23
|
@keyframes fade-in {
|
24
24
|
0% {
|
25
25
|
opacity: 0;
|
26
|
-
// stylelint-disable-next-line carbon/layout-
|
26
|
+
// stylelint-disable-next-line carbon/layout-use
|
27
27
|
transform: translateY(-38.5rem); // the height of the notification panel
|
28
28
|
}
|
29
29
|
|
@@ -41,7 +41,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
41
41
|
|
42
42
|
100% {
|
43
43
|
opacity: 0;
|
44
|
-
// stylelint-disable-next-line carbon/layout-
|
44
|
+
// stylelint-disable-next-line carbon/layout-use
|
45
45
|
transform: translateY(-38.5rem); // the height of the notification panel
|
46
46
|
}
|
47
47
|
}
|
@@ -93,7 +93,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
93
93
|
|
94
94
|
position: sticky;
|
95
95
|
z-index: 2;
|
96
|
-
// stylelint-disable-next-line carbon/layout-
|
96
|
+
// stylelint-disable-next-line carbon/layout-use
|
97
97
|
top: 4.8125rem;
|
98
98
|
padding: $spacing-03 $spacing-05;
|
99
99
|
background-color: $layer-01;
|
@@ -121,12 +121,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
121
121
|
}
|
122
122
|
|
123
123
|
.#{$block-class}__summary--warn svg path[fill='none'] {
|
124
|
-
/* stylelint-disable-next-line carbon/theme-
|
124
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
125
125
|
fill: $black-100;
|
126
126
|
}
|
127
127
|
|
128
128
|
.#{$block-class}__summary--warn svg path[fill='none'] {
|
129
|
-
/* stylelint-disable-next-line carbon/theme-
|
129
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
130
130
|
fill: $black-100;
|
131
131
|
}
|
132
132
|
|
@@ -134,7 +134,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
134
134
|
overflow: hidden;
|
135
135
|
height: max-content;
|
136
136
|
// spacing-05 + toggle width
|
137
|
-
// stylelint-disable-next-line carbon/layout-
|
137
|
+
// stylelint-disable-next-line carbon/layout-use
|
138
138
|
padding-right: calc(#{$spacing-05} + 2rem);
|
139
139
|
text-overflow: ellipsis;
|
140
140
|
white-space: nowrap;
|
@@ -149,7 +149,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
149
149
|
.#{$block-class}__content {
|
150
150
|
padding-right: $spacing-05;
|
151
151
|
// spacing-05 + chevron size + spacing-05
|
152
|
-
// stylelint-disable-next-line carbon/layout-
|
152
|
+
// stylelint-disable-next-line carbon/layout-use
|
153
153
|
padding-left: calc(#{$spacing-05} * 2 + 1rem);
|
154
154
|
}
|
155
155
|
|
@@ -208,14 +208,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
208
208
|
|
209
209
|
.#{$block-class}--lg .#{$block-class}__toggle {
|
210
210
|
// "top" shouldn't be spacing token as it depends on the toggle size
|
211
|
-
|
212
|
-
top: 1rem;
|
211
|
+
top: $spacing-05;
|
213
212
|
}
|
214
213
|
|
215
214
|
.#{$block-class}--xl .#{$block-class}__toggle {
|
216
215
|
// "top" shouldn't be spacing token as it depends on the toggle size
|
217
|
-
|
218
|
-
top: 1.5rem;
|
216
|
+
top: $spacing-06;
|
219
217
|
}
|
220
218
|
|
221
219
|
.#{$block-class}--lg .#{$block-class}__summary {
|
@@ -38,27 +38,27 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
38
38
|
|
39
39
|
@keyframes background-appear {
|
40
40
|
from {
|
41
|
-
/* stylelint-disable-next-line carbon/theme-
|
41
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
42
42
|
background-color: var(--from-color);
|
43
43
|
}
|
44
44
|
|
45
45
|
to {
|
46
|
-
/* stylelint-disable-next-line carbon/theme-
|
46
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
47
47
|
background-color: var(--to-color);
|
48
48
|
}
|
49
49
|
}
|
50
50
|
@keyframes background-and-shadow-appear {
|
51
51
|
from {
|
52
|
-
/* stylelint-disable-next-line carbon/theme-
|
52
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
53
53
|
background-color: var(--from-color);
|
54
|
-
/* stylelint-disable-next-line carbon/theme-
|
54
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
55
55
|
box-shadow: 0 1px 0 var(--from-color);
|
56
56
|
}
|
57
57
|
|
58
58
|
to {
|
59
|
-
/* stylelint-disable-next-line carbon/theme-
|
59
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
60
60
|
background-color: var(--to-color);
|
61
|
-
/* stylelint-disable-next-line carbon/theme-
|
61
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
62
62
|
box-shadow: 0 1px 0 var(--to-color-shadow);
|
63
63
|
}
|
64
64
|
}
|
@@ -69,11 +69,11 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
69
69
|
$to-color: $layer-01,
|
70
70
|
$to-color-shadow: $layer-accent-01
|
71
71
|
) {
|
72
|
-
// stylelint-disable-next-line carbon/theme-
|
72
|
+
// stylelint-disable-next-line carbon/theme-use
|
73
73
|
--from-color: #{$from-color};
|
74
|
-
// stylelint-disable-next-line carbon/theme-
|
74
|
+
// stylelint-disable-next-line carbon/theme-use
|
75
75
|
--to-color: #{$to-color};
|
76
|
-
// stylelint-disable-next-line carbon/theme-
|
76
|
+
// stylelint-disable-next-line carbon/theme-use
|
77
77
|
--to-color-shadow: #{$to-color-shadow};
|
78
78
|
|
79
79
|
position: absolute;
|
@@ -107,7 +107,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
107
107
|
/* z-index used to raise above any position relative content as per Carbon header */
|
108
108
|
/* dropped 1 below Carbon header so as not to overlay the side panel */
|
109
109
|
z-index: $z-index-header-minus;
|
110
|
-
/* stylelint-disable-next-line carbon/layout-
|
110
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
111
111
|
top: var(--#{$block-class}--header-top);
|
112
112
|
display: inline-block; /* cause top/bottom margin to reserve space */
|
113
113
|
width: 100%;
|
@@ -417,7 +417,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
417
417
|
|
418
418
|
.#{$block-class}__breadcrumb-row--has-breadcrumbs
|
419
419
|
+ .#{$block-class}__title-row--sticky {
|
420
|
-
// stylelint-disable-next-line carbon/layout-
|
420
|
+
// stylelint-disable-next-line carbon/layout-use
|
421
421
|
top: calc(
|
422
422
|
var(--#{$block-class}--breadcrumb-top) - var(--title-row-margin-top)
|
423
423
|
);
|
@@ -473,8 +473,10 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
473
473
|
|
474
474
|
.#{$block-class}__title-icon {
|
475
475
|
margin-right: $spacing-04;
|
476
|
-
// stylelint-disable-next-line carbon/layout-
|
477
|
-
transform: translateY(
|
476
|
+
// stylelint-disable-next-line carbon/layout-use
|
477
|
+
transform: translateY(
|
478
|
+
-$spacing-01
|
479
|
+
); // positional tweak requested by design review
|
478
480
|
|
479
481
|
vertical-align: middle;
|
480
482
|
}
|
@@ -667,3 +669,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
667
669
|
.#{$block-class}__button-set-menu-options.#{$carbon-prefix}--overflow-menu-options {
|
668
670
|
z-index: $z-index-header-minus;
|
669
671
|
}
|
672
|
+
|
673
|
+
.#{$block-class}__button-set-menu-options
|
674
|
+
> button.#{$carbon-prefix}--menu-button__trigger {
|
675
|
+
min-inline-size: 0;
|
676
|
+
}
|
@@ -52,9 +52,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
52
52
|
|
53
53
|
.#{$block-class}__actions-header-ghost-button {
|
54
54
|
min-height: $spacing-07;
|
55
|
-
// stylelint-disable-next-line carbon/layout-
|
55
|
+
// stylelint-disable-next-line carbon/layout-use
|
56
56
|
padding-right: calc($spacing-01 + $spacing-03);
|
57
|
-
// stylelint-disable-next-line carbon/layout-
|
57
|
+
// stylelint-disable-next-line carbon/layout-use
|
58
58
|
padding-left: calc($spacing-01 + $spacing-03);
|
59
59
|
|
60
60
|
/* stylelint-disable-next-line max-nesting-depth */
|
@@ -5,6 +5,9 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
+
@use 'sass:list';
|
9
|
+
@use 'sass:map';
|
10
|
+
|
8
11
|
// Other Carbon settings.
|
9
12
|
@use '@carbon/styles/scss/theme' as *;
|
10
13
|
@use '@carbon/styles/scss/spacing' as *;
|
@@ -22,12 +25,11 @@
|
|
22
25
|
// SidePanel uses the following IBM Products components:
|
23
26
|
// ActionSet
|
24
27
|
@use '../ActionSet/action-set';
|
25
|
-
@use 'sass:list';
|
26
28
|
|
27
29
|
$block-class: #{c4p-settings.$pkg-prefix}--side-panel;
|
28
30
|
$action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
29
31
|
|
30
|
-
@mixin setPanelSize($size: map
|
32
|
+
@mixin setPanelSize($size: map.get($side-panel-sizes, md)) {
|
31
33
|
/* any value is single value list */
|
32
34
|
width: list.nth($size, 1);
|
33
35
|
@if list.length($size) > 1 {
|
@@ -51,7 +53,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
51
53
|
@mixin setCommonTitleStyles() {
|
52
54
|
display: -webkit-box;
|
53
55
|
overflow: hidden;
|
54
|
-
/* stylelint-disable-next-line carbon/layout-
|
56
|
+
/* stylelint-disable-next-line carbon/layout-use -- custom css property set below */
|
55
57
|
padding-right: var(--#{$block-class}--title-padding-right);
|
56
58
|
-webkit-box-orient: vertical;
|
57
59
|
-webkit-line-clamp: 2;
|
@@ -121,7 +123,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
121
123
|
|
122
124
|
position: sticky;
|
123
125
|
z-index: 4;
|
124
|
-
/* stylelint-disable-next-line carbon/layout-
|
126
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
125
127
|
top: calc(-1px * var(--#{$block-class}--scroll-animation-distance));
|
126
128
|
min-height: $spacing-08;
|
127
129
|
padding: $spacing-05;
|
@@ -217,7 +219,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
217
219
|
.#{$block-class}__title {
|
218
220
|
position: sticky;
|
219
221
|
z-index: 4;
|
220
|
-
/* stylelint-disable-next-line carbon/layout-
|
222
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
221
223
|
top: var(--#{$block-class}--title-stop);
|
222
224
|
|
223
225
|
/* border-bottom used instead of padding which wrapped text shows through */
|
@@ -234,7 +236,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
234
236
|
}
|
235
237
|
|
236
238
|
.#{$block-class}__title--no-label .#{$block-class}__title-text {
|
237
|
-
/* stylelint-disable-next-line carbon/layout-
|
239
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
238
240
|
transform: translateY(
|
239
241
|
calc(
|
240
242
|
-1 * #{$spacing-05} * var(--#{$block-class}--scroll-animation-progress)
|
@@ -261,13 +263,12 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
261
263
|
@include setCommonTitleStyles();
|
262
264
|
|
263
265
|
position: absolute;
|
264
|
-
/* stylelint-disable-next-line carbon/layout-token-use */
|
265
266
|
top: 0;
|
266
267
|
opacity: var(--#{$block-class}--scroll-animation-progress);
|
267
268
|
}
|
268
269
|
|
269
270
|
.#{$block-class}__title--no-label .#{$block-class}__collapsed-title-text {
|
270
|
-
/* stylelint-disable-next-line carbon/layout-
|
271
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
271
272
|
transform: translateY(
|
272
273
|
calc(
|
273
274
|
#{$spacing-05} * (1 - var(--#{$block-class}--scroll-animation-progress))
|
@@ -409,7 +410,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
409
410
|
}
|
410
411
|
&.#{$block-class}.#{$block-class}--xs
|
411
412
|
.#{$block-class}__actions-container.#{$action-set-block-class}--sm {
|
412
|
-
@include setPanelSize(map
|
413
|
+
@include setPanelSize(map.get($side-panel-sizes, xs));
|
413
414
|
}
|
414
415
|
}
|
415
416
|
|
@@ -453,7 +454,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
453
454
|
height: 1px;
|
454
455
|
padding: 0;
|
455
456
|
border: 0;
|
456
|
-
// stylelint-disable-next-line carbon/layout-
|
457
|
+
// stylelint-disable-next-line carbon/layout-use
|
457
458
|
margin: -1px;
|
458
459
|
clip: rect(0, 0, 0, 0);
|
459
460
|
visibility: inherit;
|
@@ -471,6 +472,5 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
471
472
|
|
472
473
|
.#{$block-class}--has-slug + .#{$block-class}__overlay,
|
473
474
|
.#{$block-class}--has-ai-label + .#{$block-class}__overlay {
|
474
|
-
/* stylelint-disable-next-line carbon/theme-token-use */
|
475
475
|
background-color: $ai-overlay;
|
476
476
|
}
|
@@ -5,6 +5,8 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
+
@use 'sass:map';
|
9
|
+
|
8
10
|
// Standard imports.
|
9
11
|
@use '@carbon/react/scss/colors' as *;
|
10
12
|
@use '../../global/styles/project-settings' as *;
|
@@ -74,8 +76,8 @@ $themes: ('light', 'dark');
|
|
74
76
|
$block-class: #{$pkg-prefix}--status-icon;
|
75
77
|
|
76
78
|
@function carbon-clr($name, $theme: light) {
|
77
|
-
// stylelint-disable-next-line carbon/theme-
|
78
|
-
$color: map
|
79
|
+
// stylelint-disable-next-line carbon/theme-use
|
80
|
+
$color: map.get(map.get($colors, $name), $theme);
|
79
81
|
@return $color;
|
80
82
|
}
|
81
83
|
|
@@ -96,7 +98,7 @@ $block-class: #{$pkg-prefix}--status-icon;
|
|
96
98
|
|
97
99
|
.#{$block-class}--light.#{$block-class}--light-minor-warning,
|
98
100
|
.#{$block-class}--dark.#{$block-class}--dark-minor-warning {
|
99
|
-
// stylelint-disable-next-line carbon/theme-
|
101
|
+
// stylelint-disable-next-line carbon/theme-use
|
100
102
|
fill: $yellow-20;
|
101
103
|
}
|
102
104
|
|
@@ -106,7 +108,7 @@ $block-class: #{$pkg-prefix}--status-icon;
|
|
106
108
|
.#{$block-class}--light.#{$block-class}--light-minor-warning
|
107
109
|
path:nth-of-type(1),
|
108
110
|
.#{$block-class}--dark.#{$block-class}--dark-minor-warning path:nth-of-type(1) {
|
109
|
-
// stylelint-disable-next-line carbon/theme-
|
111
|
+
// stylelint-disable-next-line carbon/theme-use
|
110
112
|
fill: $gray-100;
|
111
113
|
}
|
112
114
|
|
@@ -124,13 +126,13 @@ $block-class: #{$pkg-prefix}--status-icon;
|
|
124
126
|
}
|
125
127
|
// stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
|
126
128
|
animation: rotating 8000ms infinite linear;
|
127
|
-
// stylelint-disable-next-line carbon/theme-
|
129
|
+
// stylelint-disable-next-line carbon/theme-use
|
128
130
|
fill: carbon-clr($icon, $theme);
|
129
131
|
} @else if $icon == running {
|
130
|
-
// stylelint-disable-next-line carbon/theme-
|
132
|
+
// stylelint-disable-next-line carbon/theme-use
|
131
133
|
fill: carbon-clr($icon, $theme);
|
132
134
|
} @else {
|
133
|
-
// stylelint-disable-next-line carbon/theme-
|
135
|
+
// stylelint-disable-next-line carbon/theme-use
|
134
136
|
fill: carbon-clr($icon, $theme);
|
135
137
|
@media (prefers-reduced-motion) {
|
136
138
|
.#{$block-class}--#{$theme}.#{$block-class}--#{$theme-key}-in-progress {
|
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
$block-class: #{$pkg-prefix}--tearsheet;
|
24
24
|
|
25
|
-
// stylelint-disable-next-line carbon/theme-
|
25
|
+
// stylelint-disable-next-line carbon/theme-use
|
26
26
|
$motion-duration: $duration-moderate-02;
|
27
27
|
|
28
28
|
@include block-wrap($block-class) {
|
@@ -105,7 +105,7 @@ $motion-duration: $duration-moderate-02;
|
|
105
105
|
// viewport, capped at 500px to set an upper limit on the movement speed
|
106
106
|
// For the reason for calc() see https://github.com/sass/sass/issues/2849
|
107
107
|
// and https://github.com/sass/node-sass/issues/2815.
|
108
|
-
// stylelint-disable-next-line carbon/layout-
|
108
|
+
// stylelint-disable-next-line carbon/layout-use
|
109
109
|
transform: translate3d(0, calc(min(95vh, 500px)), 0);
|
110
110
|
}
|
111
111
|
|
@@ -289,7 +289,7 @@ $motion-duration: $duration-moderate-02;
|
|
289
289
|
&.#{$block-class}--wide.#{$block-class}--has-ai-label
|
290
290
|
.#{$block-class}__header.#{$block-class}__header--with-close-icon {
|
291
291
|
/* spacing 11 plus additional space for slug/close */
|
292
|
-
/* stylelint-disable-next-line carbon/layout-
|
292
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
293
293
|
padding-inline-end: calc(#{$spacing-11 + $spacing-09});
|
294
294
|
}
|
295
295
|
|
@@ -427,7 +427,6 @@ $motion-duration: $duration-moderate-02;
|
|
427
427
|
|
428
428
|
&.#{$block-class}--has-slug,
|
429
429
|
&.#{$block-class}--has-ai-label {
|
430
|
-
/* stylelint-disable-next-line carbon/theme-token-use */
|
431
430
|
--overlay-color: #{$ai-overlay};
|
432
431
|
}
|
433
432
|
|
@@ -436,7 +435,8 @@ $motion-duration: $duration-moderate-02;
|
|
436
435
|
&.#{$block-class}--has-ai-label:not(.#{$block-class}--has-close)
|
437
436
|
.#{$carbon-prefix}--slug {
|
438
437
|
inset-inline-end: 0;
|
438
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
439
439
|
margin-block: 6px;
|
440
|
-
margin-inline-end:
|
440
|
+
margin-inline-end: $spacing-05;
|
441
441
|
}
|
442
442
|
}
|
@@ -5,6 +5,8 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
+
@use 'sass:map';
|
9
|
+
|
8
10
|
// Standard imports.
|
9
11
|
@use '../../global/styles/project-settings' as *;
|
10
12
|
@use '../../global/styles/mixins';
|
@@ -34,7 +36,7 @@ $sizes: (
|
|
34
36
|
);
|
35
37
|
|
36
38
|
@mixin size($size) {
|
37
|
-
$_size: map
|
39
|
+
$_size: map.get($sizes, $size);
|
38
40
|
|
39
41
|
width: $_size;
|
40
42
|
height: $_size;
|
@@ -60,7 +62,7 @@ $sizes: (
|
|
60
62
|
|
61
63
|
.#{$block-class}__tooltip {
|
62
64
|
&:focus-within .#{$block-class} {
|
63
|
-
// stylelint-disable-next-line carbon/theme-
|
65
|
+
// stylelint-disable-next-line carbon/theme-use
|
64
66
|
outline: 2px solid $focus;
|
65
67
|
outline-offset: 1px;
|
66
68
|
}
|
@@ -72,7 +74,7 @@ $sizes: (
|
|
72
74
|
}
|
73
75
|
|
74
76
|
@mixin setBgColor($color) {
|
75
|
-
// stylelint-disable-next-line carbon/theme-
|
77
|
+
// stylelint-disable-next-line carbon/theme-use
|
76
78
|
background-color: $color;
|
77
79
|
}
|
78
80
|
|
@@ -5,6 +5,8 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
+
@use 'sass:map';
|
9
|
+
|
8
10
|
// Standard imports.
|
9
11
|
@use '@carbon/styles/scss/theme' as *;
|
10
12
|
@use '@carbon/styles/scss/spacing' as *;
|
@@ -24,7 +26,7 @@ $sizes: (
|
|
24
26
|
);
|
25
27
|
|
26
28
|
@mixin size($size) {
|
27
|
-
$_size: map
|
29
|
+
$_size: map.get($sizes, $size);
|
28
30
|
|
29
31
|
width: $_size;
|
30
32
|
height: $_size;
|
@@ -45,9 +47,9 @@ $themes: (
|
|
45
47
|
$theme-keys: map-keys($themes);
|
46
48
|
|
47
49
|
@function carbon-get-background-color($color, $key, $contrast-key) {
|
48
|
-
@return map
|
50
|
+
@return map.get(
|
49
51
|
$carbon-colors,
|
50
|
-
#{$color}#{map
|
52
|
+
#{$color}#{map.get(map.get($themes, $key), #{$contrast-key}-contrast)}
|
51
53
|
);
|
52
54
|
}
|
53
55
|
|
@@ -58,7 +60,7 @@ $theme-keys: map-keys($themes);
|
|
58
60
|
@each $color in $base-colors {
|
59
61
|
@each $contrast-key in $theme-keys {
|
60
62
|
.#{$block-class}--#{$key}.#{$block-class}--#{$contrast-key}-#{$color} {
|
61
|
-
// stylelint-disable-next-line carbon/theme-
|
63
|
+
// stylelint-disable-next-line carbon/theme-use
|
62
64
|
background-color: carbon-get-background-color(
|
63
65
|
$color,
|
64
66
|
$key,
|
@@ -18,7 +18,7 @@ $block-class: #{$pkg-prefix}--web-terminal;
|
|
18
18
|
@keyframes web-terminal-entrance {
|
19
19
|
from {
|
20
20
|
opacity: 0;
|
21
|
-
// stylelint-disable-next-line carbon/layout-
|
21
|
+
// stylelint-disable-next-line carbon/layout-use
|
22
22
|
transform: translateX(#{$web-terminal-width});
|
23
23
|
}
|
24
24
|
|
@@ -36,7 +36,7 @@ $block-class: #{$pkg-prefix}--web-terminal;
|
|
36
36
|
|
37
37
|
to {
|
38
38
|
opacity: 0;
|
39
|
-
// stylelint-disable-next-line carbon/layout-
|
39
|
+
// stylelint-disable-next-line carbon/layout-use
|
40
40
|
transform: translateX(#{$web-terminal-width});
|
41
41
|
}
|
42
42
|
}
|