@carbon/ibm-products 2.43.2-canary.7 → 2.43.2-canary.70
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 +167 -15
- 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 +215 -5
- 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 +167 -15
- 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 +167 -15
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/Coachmark/Coachmark.js +12 -7
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +13 -11
- package/es/components/CoachmarkStack/CoachmarkStack.js +7 -3
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +8 -4
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +57 -42
- package/es/components/ConditionBuilder/ConditionBuilder.js +81 -24
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +15 -0
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +151 -0
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +3 -1
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +27 -13
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +8 -1
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +29 -7
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +10 -6
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +19 -11
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +9 -11
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +58 -41
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +12 -7
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +26 -8
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +8 -2
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +35 -24
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +37 -36
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +37 -36
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +4 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +67 -33
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +24 -9
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +27 -9
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +13 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +114 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.d.ts → ItemOptionForValueField.d.ts} +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +66 -36
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +5 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +19 -7
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +74 -23
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +3 -1
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +45 -19
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +1 -1
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +120 -29
- package/es/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
- package/es/components/ConditionBuilder/utils/useTranslations.js +26 -0
- package/es/components/ConditionBuilder/utils/util.d.ts +1 -0
- package/es/components/ConditionBuilder/utils/util.js +8 -1
- package/es/components/CreateFullPage/CreateFullPage.js +2 -2
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +20 -0
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +58 -16
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +12 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +22 -6
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
- package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +4 -1
- package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +34 -2
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
- package/es/components/Datagrid/Datagrid/Datagrid.js +4 -9
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
- package/es/components/Datagrid/Datagrid/DatagridRow.js +21 -8
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +6 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +3 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +7 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +21 -16
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +74 -11
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
- package/es/components/Datagrid/types/index.d.ts +44 -8
- package/es/components/Datagrid/useActionsColumn.d.ts +8 -1
- package/es/components/Datagrid/useActionsColumn.js +7 -6
- package/es/components/Datagrid/useColumnRightAlign.d.ts +8 -1
- package/es/components/Datagrid/useColumnRightAlign.js +4 -3
- package/es/components/Datagrid/useCustomizeColumns.d.ts +8 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -3
- package/es/components/Datagrid/useDefaultStringRenderer.js +0 -1
- package/es/components/Datagrid/useInlineEdit.js +12 -2
- package/es/components/Datagrid/useNestedRowExpander.js +1 -3
- package/es/components/Datagrid/useNestedRows.js +32 -13
- package/es/components/Datagrid/useRowExpander.js +1 -3
- package/es/components/Datagrid/useSelectRows.js +2 -1
- package/es/components/Datagrid/useStickyColumn.d.ts +8 -1
- package/es/components/Datagrid/useStickyColumn.js +12 -9
- package/es/components/Decorator/Decorator.js +2 -1
- package/es/components/DecoratorBase/DecoratorBase.js +3 -5
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +2 -1
- package/es/components/DecoratorLink/DecoratorLink.js +2 -1
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +2 -1
- package/es/components/EditInPlace/EditInPlace.d.ts +4 -0
- package/es/components/EditInPlace/EditInPlace.js +21 -10
- package/es/components/EditTearsheet/EditTearsheet.d.ts +7 -2
- package/es/components/EditTearsheet/EditTearsheet.js +44 -10
- package/es/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
- package/es/components/EditTearsheet/EditTearsheetForm.js +3 -0
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +204 -200
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +116 -112
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +110 -106
- package/es/components/Nav/NavItem.js +12 -3
- package/es/components/OptionsTile/OptionsTile.js +11 -6
- package/es/components/PageHeader/PageHeader.js +1 -0
- package/es/components/RemoveModal/RemoveModal.d.ts +4 -0
- package/es/components/RemoveModal/RemoveModal.js +7 -1
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +2 -2
- package/es/components/SidePanel/SidePanel.js +17 -21
- package/es/components/SidePanel/motion/variants.d.ts +4 -6
- package/es/components/SidePanel/motion/variants.js +10 -11
- package/es/components/StatusIndicator/StatusIndicatorStep.js +87 -0
- package/es/components/Tearsheet/Tearsheet.d.ts +8 -1
- package/es/components/Tearsheet/Tearsheet.js +9 -1
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +11 -0
- package/es/components/Tearsheet/TearsheetNarrow.js +12 -0
- package/es/components/Tearsheet/TearsheetShell.d.ts +11 -1
- package/es/components/Tearsheet/TearsheetShell.js +24 -6
- package/es/components/Toolbar/ToolbarButton.js +1 -1
- package/es/components/WebTerminal/WebTerminal.js +10 -12
- package/es/components/index.d.ts +1 -1
- package/es/global/js/hooks/useFocus.d.ts +1 -0
- package/es/global/js/hooks/useFocus.js +5 -2
- package/es/global/js/hooks/usePrefersReducedMotion.js +14 -8
- package/es/global/js/package-settings.d.ts +1 -1
- package/es/global/js/package-settings.js +1 -1
- package/es/index.js +1 -0
- package/es/settings.d.ts +1 -1
- package/lib/components/Coachmark/Coachmark.js +12 -7
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +13 -11
- package/lib/components/CoachmarkStack/CoachmarkStack.js +7 -3
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +8 -4
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +56 -41
- package/lib/components/ConditionBuilder/ConditionBuilder.js +81 -24
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +15 -0
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +160 -0
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +3 -1
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +26 -11
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +8 -1
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +28 -6
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +8 -4
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +18 -10
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +9 -11
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +57 -40
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +12 -7
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +26 -8
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +8 -2
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +34 -24
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +37 -36
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +37 -36
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +4 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +66 -32
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +24 -9
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +28 -10
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +13 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +122 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.d.ts → ItemOptionForValueField.d.ts} +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +63 -33
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +5 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +18 -6
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +72 -21
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +3 -1
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +44 -17
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +1 -1
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +120 -29
- package/lib/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
- package/lib/components/ConditionBuilder/utils/useTranslations.js +30 -0
- package/lib/components/ConditionBuilder/utils/util.d.ts +1 -0
- package/lib/components/ConditionBuilder/utils/util.js +8 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +2 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +20 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +58 -16
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +12 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +22 -6
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +4 -1
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +34 -2
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
- package/lib/components/Datagrid/Datagrid/Datagrid.js +4 -9
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +21 -8
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +6 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +3 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +7 -4
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +21 -16
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +73 -10
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
- package/lib/components/Datagrid/types/index.d.ts +44 -8
- package/lib/components/Datagrid/useActionsColumn.d.ts +8 -1
- package/lib/components/Datagrid/useActionsColumn.js +7 -6
- package/lib/components/Datagrid/useColumnRightAlign.d.ts +8 -1
- package/lib/components/Datagrid/useColumnRightAlign.js +4 -3
- package/lib/components/Datagrid/useCustomizeColumns.d.ts +8 -1
- package/lib/components/Datagrid/useCustomizeColumns.js +4 -3
- package/lib/components/Datagrid/useDefaultStringRenderer.js +0 -1
- package/lib/components/Datagrid/useInlineEdit.js +12 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -3
- package/lib/components/Datagrid/useNestedRows.js +32 -13
- package/lib/components/Datagrid/useRowExpander.js +1 -3
- package/lib/components/Datagrid/useSelectRows.js +2 -1
- package/lib/components/Datagrid/useStickyColumn.d.ts +8 -1
- package/lib/components/Datagrid/useStickyColumn.js +12 -9
- package/lib/components/Decorator/Decorator.js +2 -1
- package/lib/components/DecoratorBase/DecoratorBase.js +3 -5
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +2 -1
- package/lib/components/DecoratorLink/DecoratorLink.js +2 -1
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +2 -1
- package/lib/components/EditInPlace/EditInPlace.d.ts +4 -0
- package/lib/components/EditInPlace/EditInPlace.js +21 -10
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +7 -2
- package/lib/components/EditTearsheet/EditTearsheet.js +43 -9
- package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
- package/lib/components/EditTearsheet/EditTearsheetForm.js +3 -0
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +204 -200
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +116 -112
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +110 -106
- package/lib/components/Nav/NavItem.js +10 -1
- package/lib/components/OptionsTile/OptionsTile.js +11 -6
- package/lib/components/PageHeader/PageHeader.js +1 -0
- package/lib/components/RemoveModal/RemoveModal.d.ts +4 -0
- package/lib/components/RemoveModal/RemoveModal.js +7 -1
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +2 -2
- package/lib/components/SidePanel/SidePanel.js +16 -20
- package/lib/components/SidePanel/motion/variants.d.ts +4 -6
- package/lib/components/SidePanel/motion/variants.js +10 -11
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +94 -0
- package/lib/components/Tearsheet/Tearsheet.d.ts +8 -1
- package/lib/components/Tearsheet/Tearsheet.js +9 -1
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +11 -0
- package/lib/components/Tearsheet/TearsheetNarrow.js +12 -0
- package/lib/components/Tearsheet/TearsheetShell.d.ts +11 -1
- package/lib/components/Tearsheet/TearsheetShell.js +22 -4
- package/lib/components/Toolbar/ToolbarButton.js +1 -1
- package/lib/components/WebTerminal/WebTerminal.js +10 -12
- package/lib/components/index.d.ts +1 -1
- package/lib/global/js/hooks/useFocus.d.ts +1 -0
- package/lib/global/js/hooks/useFocus.js +5 -1
- package/lib/global/js/hooks/usePrefersReducedMotion.js +13 -7
- package/lib/global/js/package-settings.d.ts +1 -1
- package/lib/global/js/package-settings.js +1 -1
- package/lib/index.js +5 -0
- package/lib/settings.d.ts +1 -1
- package/package.json +7 -6
- package/scss/components/ConditionBuilder/_condition-builder.scss +1 -1
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +14 -2
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +31 -2
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +17 -2
- package/scss/components/Datagrid/_datagrid.scss +0 -4
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +13 -0
- package/scss/components/HTTPErrors/_http-errors.scss +77 -0
- package/scss/components/OptionsTile/_options-tile.scss +6 -6
- package/scss/components/SidePanel/_side-panel.scss +1 -1
- package/scss/components/StatusIcon/_status-icon.scss +4 -4
- package/scss/components/StringFormatter/_string-formatter.scss +2 -2
- package/scss/components/UserProfileImage/_user-profile-image.scss +6 -2
- package/scss/components/_index-released-only.scss +1 -0
- package/telemetry.yml +27 -5
- package/es/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
- package/es/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -16
- package/es/global/js/utils/window.d.ts +0 -2
- package/es/global/js/utils/window.js +0 -12
- package/lib/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
- package/lib/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -20
- package/lib/global/js/utils/window.d.ts +0 -2
- package/lib/global/js/utils/window.js +0 -16
@@ -37,7 +37,7 @@ exports.ToolbarButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
37
37
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
38
38
|
var Icon = renderIcon;
|
39
39
|
return /*#__PURE__*/React__default["default"].createElement(react.IconButton, _rollupPluginBabelHelpers["extends"]({
|
40
|
-
align: (
|
40
|
+
align: (_useContext = React.useContext(Toolbar.ToolbarContext)) !== null && _useContext !== void 0 && _useContext.vertical ? 'right' : 'top'
|
41
41
|
}, rest, {
|
42
42
|
label: iconDescription,
|
43
43
|
ref: ref,
|
@@ -19,6 +19,7 @@ var react = require('@carbon/react');
|
|
19
19
|
var carbonMotion = require('@carbon/motion');
|
20
20
|
var index = require('./hooks/index.js');
|
21
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
22
|
+
var usePrefersReducedMotion = require('../../global/js/hooks/usePrefersReducedMotion.js');
|
22
23
|
|
23
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
24
25
|
|
@@ -65,10 +66,7 @@ exports.WebTerminal = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
65
66
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
66
67
|
shouldRender = _useState2[0],
|
67
68
|
setRender = _useState2[1];
|
68
|
-
var
|
69
|
-
matches: true
|
70
|
-
},
|
71
|
-
prefersReducedMotion = _ref2.matches;
|
69
|
+
var shouldReduceMotion = usePrefersReducedMotion["default"]();
|
72
70
|
var webTerminalAnimationName = "".concat(open ? 'web-terminal-entrance' : 'web-terminal-exit forwards', " ").concat(carbonMotion.moderate02);
|
73
71
|
var showDocumentationLinks = React.useMemo(function () {
|
74
72
|
return documentationLinks.length > 0;
|
@@ -101,7 +99,7 @@ exports.WebTerminal = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
101
99
|
If the user prefers reduced motion, we have to manually set render to false
|
102
100
|
because onAnimationEnd will never be called.
|
103
101
|
*/
|
104
|
-
if (
|
102
|
+
if (shouldReduceMotion) {
|
105
103
|
setRender(false);
|
106
104
|
}
|
107
105
|
closeWebTerminal === null || closeWebTerminal === void 0 || closeWebTerminal();
|
@@ -110,7 +108,7 @@ exports.WebTerminal = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
110
108
|
ref: ref,
|
111
109
|
className: cx__default["default"]([blockClass, className, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--open"), open), "".concat(blockClass, "--closed"), !open)]),
|
112
110
|
style: {
|
113
|
-
animation: !
|
111
|
+
animation: !shouldReduceMotion ? webTerminalAnimationName : ''
|
114
112
|
},
|
115
113
|
onAnimationEnd: onAnimationEnd
|
116
114
|
}), /*#__PURE__*/React__default["default"].createElement("header", {
|
@@ -128,15 +126,15 @@ exports.WebTerminal = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
128
126
|
"aria-label": documentationLinksIconDescription,
|
129
127
|
menuOptionsClass: "".concat(blockClass, "__documentation-overflow"),
|
130
128
|
size: "lg"
|
131
|
-
}, documentationLinks.map(function (
|
132
|
-
var rest = _rollupPluginBabelHelpers["extends"]({}, (_rollupPluginBabelHelpers.objectDestructuringEmpty(
|
129
|
+
}, documentationLinks.map(function (_ref3, i) {
|
130
|
+
var rest = _rollupPluginBabelHelpers["extends"]({}, (_rollupPluginBabelHelpers.objectDestructuringEmpty(_ref3), _ref3));
|
133
131
|
return /*#__PURE__*/React__default["default"].createElement(react.OverflowMenuItem, _rollupPluginBabelHelpers["extends"]({
|
134
132
|
key: i
|
135
133
|
}, rest));
|
136
|
-
})), actions.map(function (
|
137
|
-
var renderIcon =
|
138
|
-
onClick =
|
139
|
-
iconDescription =
|
134
|
+
})), actions.map(function (_ref4) {
|
135
|
+
var renderIcon = _ref4.renderIcon,
|
136
|
+
onClick = _ref4.onClick,
|
137
|
+
iconDescription = _ref4.iconDescription;
|
140
138
|
return /*#__PURE__*/React__default["default"].createElement(react.Button, {
|
141
139
|
key: iconDescription,
|
142
140
|
hasIconOnly: true,
|
@@ -50,7 +50,6 @@ export { Nav } from "./Nav";
|
|
50
50
|
export { StringFormatter } from "./StringFormatter";
|
51
51
|
export { UserAvatar } from "./UserAvatar";
|
52
52
|
export { ScrollGradient } from "./ScrollGradient";
|
53
|
-
export { StatusIndicator } from "./StatusIndicator";
|
54
53
|
export { TagOverflow } from "./TagOverflow";
|
55
54
|
export { ActionBar } from "./ActionBar";
|
56
55
|
export { ConditionBuilder } from "./ConditionBuilder";
|
@@ -68,5 +67,6 @@ export { EditTearsheet, EditTearsheetForm } from "./EditTearsheet";
|
|
68
67
|
export { Guidebanner, GuidebannerElement, GuidebannerElementButton, GuidebannerElementLink } from "./Guidebanner";
|
69
68
|
export { InlineTip, InlineTipButton, InlineTipLink } from "./InlineTip";
|
70
69
|
export { DescriptionList, DescriptionListBody, DescriptionListCell, DescriptionListRow } from "./DescriptionList";
|
70
|
+
export { StatusIndicator, StatusIndicatorStep } from "./StatusIndicator";
|
71
71
|
export { FilterPanel, FilterPanelAccordion, FilterPanelAccordionItem, FilterPanelCheckbox, FilterPanelCheckboxWithOverflow, FilterPanelGroup, FilterPanelLabel, FilterPanelSearch } from "./FilterPanel";
|
72
72
|
export { FeatureFlags as unstable_FeatureFlags, useFeatureFlag as unstable_useFeatureFlag, useFeatureFlags as unstable_useFeatureFlags } from "./FeatureFlags";
|
@@ -13,6 +13,9 @@ var react = require('@carbon/react');
|
|
13
13
|
var settings = require('../../../settings.js');
|
14
14
|
var React = require('react');
|
15
15
|
|
16
|
+
var getSpecificElement = function getSpecificElement(parentEl, elementId) {
|
17
|
+
return elementId ? parentEl === null || parentEl === void 0 ? void 0 : parentEl.querySelector(elementId) : null;
|
18
|
+
};
|
16
19
|
var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
|
17
20
|
var carbonPrefix = react.usePrefix();
|
18
21
|
var tearsheetBaseClass = "".concat(settings.pkg.prefix, "--tearsheet");
|
@@ -43,7 +46,7 @@ var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
|
|
43
46
|
var first = (_focusableElements2 = focusableElements) === null || _focusableElements2 === void 0 ? void 0 : _focusableElements2[0];
|
44
47
|
var last = (_focusableElements3 = focusableElements) === null || _focusableElements3 === void 0 ? void 0 : _focusableElements3[((_focusableElements4 = focusableElements) === null || _focusableElements4 === void 0 ? void 0 : _focusableElements4.length) - 1];
|
45
48
|
var all = focusableElements;
|
46
|
-
var specifiedElement =
|
49
|
+
var specifiedElement = getSpecificElement(modalEl, selectorPrimaryFocus);
|
47
50
|
return {
|
48
51
|
first: first,
|
49
52
|
last: last,
|
@@ -88,4 +91,5 @@ var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
|
|
88
91
|
};
|
89
92
|
};
|
90
93
|
|
94
|
+
exports.getSpecificElement = getSpecificElement;
|
91
95
|
exports.useFocus = useFocus;
|
@@ -11,19 +11,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
|
-
var
|
14
|
+
var useIsomorphicEffect = require('./useIsomorphicEffect.js');
|
15
15
|
|
16
16
|
var usePrefersReducedMotion = function usePrefersReducedMotion() {
|
17
17
|
var _useState = React.useState(false),
|
18
18
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
19
19
|
prefersReducedMotion = _useState2[0],
|
20
20
|
setPrefersReducedMotion = _useState2[1];
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
21
|
+
useIsomorphicEffect.useIsomorphicEffect(function () {
|
22
|
+
var mediaQueryList = window.matchMedia('(prefers-reduced-motion: no-preference)');
|
23
|
+
var _window$matchMedia = window.matchMedia('(prefers-reduced-motion: no-preference)'),
|
24
|
+
matches = _window$matchMedia.matches;
|
25
|
+
setPrefersReducedMotion(!matches);
|
26
|
+
var listener = function listener(event) {
|
27
|
+
setPrefersReducedMotion(!event.matches);
|
28
|
+
};
|
29
|
+
mediaQueryList.addEventListener('change', listener);
|
30
|
+
return function () {
|
31
|
+
mediaQueryList.removeEventListener('change', listener);
|
32
|
+
};
|
27
33
|
}, []);
|
28
34
|
return prefersReducedMotion;
|
29
35
|
};
|
@@ -39,6 +39,7 @@ declare namespace defaults {
|
|
39
39
|
let ErrorEmptyState: boolean;
|
40
40
|
let ExportModal: boolean;
|
41
41
|
let ExpressiveCard: boolean;
|
42
|
+
let FullPageError: boolean;
|
42
43
|
let HTTPError403: boolean;
|
43
44
|
let HTTPError404: boolean;
|
44
45
|
let HTTPErrorOther: boolean;
|
@@ -80,7 +81,6 @@ declare namespace defaults {
|
|
80
81
|
let BigNumbers: boolean;
|
81
82
|
let TruncatedList: boolean;
|
82
83
|
let DelimitedList: boolean;
|
83
|
-
let FullPageError: boolean;
|
84
84
|
let ScrollGradient: boolean;
|
85
85
|
let StringFormatter: boolean;
|
86
86
|
let StatusIndicator: boolean;
|
@@ -41,6 +41,7 @@ var defaults = {
|
|
41
41
|
ErrorEmptyState: true,
|
42
42
|
ExportModal: true,
|
43
43
|
ExpressiveCard: true,
|
44
|
+
FullPageError: true,
|
44
45
|
HTTPError403: true,
|
45
46
|
HTTPError404: true,
|
46
47
|
HTTPErrorOther: true,
|
@@ -83,7 +84,6 @@ var defaults = {
|
|
83
84
|
BigNumbers: false,
|
84
85
|
TruncatedList: false,
|
85
86
|
DelimitedList: false,
|
86
|
-
FullPageError: false,
|
87
87
|
ScrollGradient: false,
|
88
88
|
StringFormatter: false,
|
89
89
|
StatusIndicator: false,
|
package/lib/index.js
CHANGED
@@ -126,6 +126,7 @@ var StringFormatter = require('./components/StringFormatter/StringFormatter.js')
|
|
126
126
|
var UserAvatar = require('./components/UserAvatar/UserAvatar.js');
|
127
127
|
var ScrollGradient = require('./components/ScrollGradient/ScrollGradient.js');
|
128
128
|
var StatusIndicator = require('./components/StatusIndicator/StatusIndicator.js');
|
129
|
+
var StatusIndicatorStep = require('./components/StatusIndicator/StatusIndicatorStep.js');
|
129
130
|
var TagOverflow = require('./components/TagOverflow/TagOverflow.js');
|
130
131
|
var ActionBar = require('./components/ActionBar/ActionBar.js');
|
131
132
|
var FilterPanel = require('./components/FilterPanel/FilterPanel.js');
|
@@ -535,6 +536,10 @@ Object.defineProperty(exports, 'StatusIndicator', {
|
|
535
536
|
enumerable: true,
|
536
537
|
get: function () { return StatusIndicator.StatusIndicator; }
|
537
538
|
});
|
539
|
+
Object.defineProperty(exports, 'StatusIndicatorStep', {
|
540
|
+
enumerable: true,
|
541
|
+
get: function () { return StatusIndicatorStep.StatusIndicatorStep; }
|
542
|
+
});
|
538
543
|
Object.defineProperty(exports, 'TagOverflow', {
|
539
544
|
enumerable: true,
|
540
545
|
get: function () { return TagOverflow.TagOverflow; }
|
package/lib/settings.d.ts
CHANGED
@@ -25,6 +25,7 @@ export const pkg: {
|
|
25
25
|
ErrorEmptyState: boolean;
|
26
26
|
ExportModal: boolean;
|
27
27
|
ExpressiveCard: boolean;
|
28
|
+
FullPageError: boolean;
|
28
29
|
HTTPError403: boolean;
|
29
30
|
HTTPError404: boolean;
|
30
31
|
HTTPErrorOther: boolean;
|
@@ -66,7 +67,6 @@ export const pkg: {
|
|
66
67
|
BigNumbers: boolean;
|
67
68
|
TruncatedList: boolean;
|
68
69
|
DelimitedList: boolean;
|
69
|
-
FullPageError: boolean;
|
70
70
|
ScrollGradient: boolean;
|
71
71
|
StringFormatter: boolean;
|
72
72
|
StatusIndicator: boolean;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.43.2-canary.
|
4
|
+
"version": "2.43.2-canary.70+b0f63caf5",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -26,7 +26,8 @@
|
|
26
26
|
"lib",
|
27
27
|
"scss",
|
28
28
|
"flags.js",
|
29
|
-
"telemetry.yml"
|
29
|
+
"telemetry.yml",
|
30
|
+
".playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json"
|
30
31
|
],
|
31
32
|
"keywords": [
|
32
33
|
"carbon",
|
@@ -80,7 +81,7 @@
|
|
80
81
|
"fs-extra": "^11.2.0",
|
81
82
|
"glob": "^10.3.10",
|
82
83
|
"jest": "^29.7.0",
|
83
|
-
"jest-config-ibm-cloud-cognitive": "^1.
|
84
|
+
"jest-config-ibm-cloud-cognitive": "^1.3.0",
|
84
85
|
"jest-environment-jsdom": "^29.7.0",
|
85
86
|
"namor": "^1.1.2",
|
86
87
|
"npm-check-updates": "^16.14.12",
|
@@ -88,14 +89,14 @@
|
|
88
89
|
"rimraf": "^5.0.5",
|
89
90
|
"rollup": "^2.79.1",
|
90
91
|
"rollup-plugin-strip-banner": "^3.0.0",
|
91
|
-
"sass": "^1.
|
92
|
+
"sass": "^1.77.2",
|
92
93
|
"typescript-config-carbon": "^0.2.1",
|
93
94
|
"yargs": "^17.7.2"
|
94
95
|
},
|
95
96
|
"dependencies": {
|
96
97
|
"@babel/runtime": "^7.23.9",
|
97
98
|
"@carbon/feature-flags": "^0.20.0",
|
98
|
-
"@carbon/ibm-products-styles": "^2.
|
99
|
+
"@carbon/ibm-products-styles": "^2.40.0",
|
99
100
|
"@carbon/telemetry": "^0.1.0",
|
100
101
|
"@dnd-kit/core": "^6.0.8",
|
101
102
|
"@dnd-kit/modifiers": "^7.0.0",
|
@@ -119,5 +120,5 @@
|
|
119
120
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
120
121
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
121
122
|
},
|
122
|
-
"gitHead": "
|
123
|
+
"gitHead": "b0f63caf5098caf27f6039ad4d9a8519d7cf63a1"
|
123
124
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@use '@carbon/react/scss/theme' as *;
|
2
2
|
@use '@carbon/react/scss/spacing' as *;
|
3
|
-
@use '@carbon/react/scss/motion'
|
3
|
+
@use '@carbon/react/scss/motion' as *;
|
4
4
|
@use '@carbon/styles/scss/components/tag' as *;
|
5
5
|
@use '@carbon/styles/scss/utilities/focus-outline';
|
6
6
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
@@ -30,7 +30,8 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
30
30
|
.#{$block-class}__condition__deletion-preview
|
31
31
|
.#{$block-class}__button:not(
|
32
32
|
.#{$block-class}__statement-button,
|
33
|
-
.#{$block-class}__connector-button
|
33
|
+
.#{$block-class}__connector-button,
|
34
|
+
.#{$block-class}__add-button
|
34
35
|
) {
|
35
36
|
background-color: $tag-background-red;
|
36
37
|
color: $tag-color-red;
|
@@ -52,8 +53,19 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
52
53
|
text-wrap: nowrap;
|
53
54
|
}
|
54
55
|
.#{$block-class}__group-preview {
|
56
|
+
height: 0;
|
57
|
+
opacity: 0;
|
58
|
+
pointer-events: none;
|
59
|
+
transition: all $duration-moderate-02 motion(exit, expressive);
|
60
|
+
.#{$block-class}__preview-condition {
|
61
|
+
display: flex;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
.#{$block-class}__group-preview-animate {
|
65
|
+
height: auto;
|
55
66
|
opacity: 0.5;
|
56
67
|
pointer-events: none;
|
68
|
+
transition: all $duration-moderate-02 motion(exit, expressive);
|
57
69
|
}
|
58
70
|
.#{$block-class}__connector-disabled {
|
59
71
|
display: flex;
|
@@ -96,7 +96,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
96
96
|
.#{$block-class}__item-date,
|
97
97
|
.#{$block-class}__item-text,
|
98
98
|
.#{$block-class}__item-number,
|
99
|
-
|
99
|
+
.#{$block-class}__item-time {
|
100
100
|
padding-block-end: $spacing-05;
|
101
101
|
padding-inline: $spacing-05;
|
102
102
|
}
|
@@ -212,7 +212,12 @@ $colors: (
|
|
212
212
|
background-color: $layer;
|
213
213
|
}
|
214
214
|
.#{$block-class}__condition-wrapper > :nth-child(1) .#{$block-class}__button,
|
215
|
-
.#{$block-class}__condition-wrapper
|
215
|
+
.#{$block-class}__condition-wrapper
|
216
|
+
> :nth-child(2)
|
217
|
+
.#{$block-class}__button:not(
|
218
|
+
.#{$block-class}__add-button,
|
219
|
+
.#{$block-class}__add-condition-sub-group
|
220
|
+
) {
|
216
221
|
/* stylelint-disable-next-line carbon/theme-token-use */
|
217
222
|
box-shadow: inset 0 #{$spacing-01} 0 0 var(--#{$block-class}__condition-wrapper-color);
|
218
223
|
}
|
@@ -229,3 +234,27 @@ $colors: (
|
|
229
234
|
align-self: center;
|
230
235
|
margin-left: auto;
|
231
236
|
}
|
237
|
+
.#{$block-class}__add-condition-sub-group-wrapper {
|
238
|
+
z-index: -1;
|
239
|
+
width: 0;
|
240
|
+
margin-left: -50%;
|
241
|
+
opacity: 0;
|
242
|
+
pointer-events: none;
|
243
|
+
// stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
|
244
|
+
transition: all linear $duration-fast-02;
|
245
|
+
}
|
246
|
+
.#{$block-class}__add-condition-sub-group-wrapper--show {
|
247
|
+
z-index: 0;
|
248
|
+
width: auto;
|
249
|
+
margin-left: 0;
|
250
|
+
opacity: 1;
|
251
|
+
pointer-events: all;
|
252
|
+
// stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
|
253
|
+
transition: all linear $duration-fast-02;
|
254
|
+
}
|
255
|
+
.#{$block-class}__invalid-input {
|
256
|
+
display: flex;
|
257
|
+
}
|
258
|
+
.#{$block-class}__invalid-input > svg {
|
259
|
+
color: $support-warning;
|
260
|
+
}
|
@@ -98,6 +98,7 @@ $header-cell-background: $layer-accent-01;
|
|
98
98
|
position: sticky;
|
99
99
|
z-index: 4;
|
100
100
|
left: 0;
|
101
|
+
background-color: $background;
|
101
102
|
}
|
102
103
|
.#{$block-class}__td-th.#{$block-class}__td {
|
103
104
|
@include font-family.font-weight('semibold');
|
@@ -200,6 +201,13 @@ $header-cell-background: $layer-accent-01;
|
|
200
201
|
outline: 0;
|
201
202
|
}
|
202
203
|
}
|
204
|
+
|
205
|
+
.#{$block-class}__td-th.#{$block-class}__td_custom {
|
206
|
+
align-items: center;
|
207
|
+
justify-content: center;
|
208
|
+
gap: $spacing-03;
|
209
|
+
}
|
210
|
+
|
203
211
|
.#{$block-class}__selection-area--element {
|
204
212
|
position: absolute;
|
205
213
|
z-index: 2;
|
@@ -251,7 +259,9 @@ $header-cell-background: $layer-accent-01;
|
|
251
259
|
background-color: $background-inverse;
|
252
260
|
}
|
253
261
|
}
|
254
|
-
.#{$block-class}__th--selected-header.#{$block-class}__th
|
262
|
+
.#{$block-class}__th--selected-header.#{$block-class}__th:not(
|
263
|
+
.#{$block-class}__th--active-header-disabledSwapping
|
264
|
+
) {
|
255
265
|
cursor: grab;
|
256
266
|
}
|
257
267
|
.#{$block-class}__th--selected-header-reorder-active.#{$block-class}__th {
|
@@ -267,6 +277,9 @@ $header-cell-background: $layer-accent-01;
|
|
267
277
|
width: $spacing-01;
|
268
278
|
background-color: $background-brand;
|
269
279
|
}
|
280
|
+
.#{$block-class}__th--active-header-disabledSwapping {
|
281
|
+
cursor: pointer;
|
282
|
+
}
|
270
283
|
.#{$block-class}__th--active-header,
|
271
284
|
.#{$block-class}__td-th--active-header.#{$block-class}__td {
|
272
285
|
background-color: $background-selected-hover;
|
@@ -282,7 +295,9 @@ $header-cell-background: $layer-accent-01;
|
|
282
295
|
background-color: $background-inverse;
|
283
296
|
}
|
284
297
|
}
|
285
|
-
.#{$block-class}__th--selected-header.#{$block-class}__th
|
298
|
+
.#{$block-class}__th--selected-header.#{$block-class}__th:not(
|
299
|
+
.#{$block-class}__th--active-header-disabledSwapping
|
300
|
+
) {
|
286
301
|
cursor: grab;
|
287
302
|
}
|
288
303
|
.#{$block-class}__th--selected-header-reorder-active.#{$block-class}__th {
|
@@ -80,6 +80,19 @@ $row-heights: (
|
|
80
80
|
align-items: center;
|
81
81
|
}
|
82
82
|
|
83
|
+
.#{variables.$block-class}__inline-edit--outer-cell-checkbox-focus
|
84
|
+
.cds--checkbox-label::before {
|
85
|
+
outline: $spacing-01 solid $focus;
|
86
|
+
outline-offset: 1px;
|
87
|
+
}
|
88
|
+
|
89
|
+
.#{variables.$block-class}__inline-edit--outer-cell-checkbox {
|
90
|
+
display: flex;
|
91
|
+
height: -webkit-fill-available;
|
92
|
+
justify-content: center;
|
93
|
+
padding-inline: $spacing-05;
|
94
|
+
}
|
95
|
+
|
83
96
|
.#{variables.$block-class}__static--outer-cell {
|
84
97
|
display: flex;
|
85
98
|
height: -webkit-fill-available;
|
@@ -13,6 +13,9 @@
|
|
13
13
|
@use '../../global/styles/project-settings' as c4p-settings;
|
14
14
|
|
15
15
|
$block-class: #{c4p-settings.$pkg-prefix}--http-errors;
|
16
|
+
$block-class-404: #{c4p-settings.$pkg-prefix}--http-errors-404;
|
17
|
+
$block-class-403: #{c4p-settings.$pkg-prefix}--http-errors-403;
|
18
|
+
$block-class-other: #{c4p-settings.$pkg-prefix}--http-errors-other;
|
16
19
|
|
17
20
|
.#{$block-class} .#{$block-class}__content {
|
18
21
|
position: fixed;
|
@@ -66,3 +69,77 @@ $block-class: #{c4p-settings.$pkg-prefix}--http-errors;
|
|
66
69
|
transform: scale(1.5);
|
67
70
|
}
|
68
71
|
}
|
72
|
+
/* stylelint-disable carbon/theme-token-use */
|
73
|
+
|
74
|
+
.#{$block-class-404}__prefix-cls-1 {
|
75
|
+
fill: none;
|
76
|
+
}
|
77
|
+
.#{$block-class-404}__prefix-cls-67 {
|
78
|
+
fill: #697077;
|
79
|
+
}
|
80
|
+
.#{$block-class-404}__prefix-cls-68 {
|
81
|
+
fill: #282828;
|
82
|
+
}
|
83
|
+
.#{$block-class-404}__prefix-cls-69 {
|
84
|
+
fill: #51565c;
|
85
|
+
}
|
86
|
+
.#{$block-class-404}__prefix-cls-70 {
|
87
|
+
fill: #002b50;
|
88
|
+
}
|
89
|
+
.#{$block-class-404}__prefix-cls-71 {
|
90
|
+
fill: #413d3d;
|
91
|
+
}
|
92
|
+
.#{$block-class-404}__prefix-cls-72 {
|
93
|
+
fill: #908b8b;
|
94
|
+
}
|
95
|
+
.#{$block-class-404}__prefix-cls-75 {
|
96
|
+
fill: #a4a4a5;
|
97
|
+
}
|
98
|
+
.#{$block-class-404}__prefix-cls-76 {
|
99
|
+
opacity: 0.15;
|
100
|
+
}
|
101
|
+
.#{$block-class-403}__prefix-cls-1 {
|
102
|
+
fill: none;
|
103
|
+
}
|
104
|
+
.#{$block-class-403}__prefix-cls-80 {
|
105
|
+
mix-blend-mode: multiply;
|
106
|
+
opacity: 0.25;
|
107
|
+
}
|
108
|
+
.#{$block-class-403}__prefix-cls-75 {
|
109
|
+
fill: #595655;
|
110
|
+
}
|
111
|
+
.#{$block-class-403}__prefix-cls-76 {
|
112
|
+
opacity: 0.15;
|
113
|
+
}
|
114
|
+
.#{$block-class-403}__prefix-cls-77 {
|
115
|
+
fill: #373d42;
|
116
|
+
}
|
117
|
+
.#{$block-class-403}__prefix-cls-78 {
|
118
|
+
fill: #002b50;
|
119
|
+
}
|
120
|
+
.#{$block-class-403}__prefix-cls-81 {
|
121
|
+
fill: #2b2828;
|
122
|
+
}
|
123
|
+
.#{$block-class-other}__prefix-cls-1 {
|
124
|
+
fill: none;
|
125
|
+
}
|
126
|
+
.#{$block-class-other}__prefix-cls-69 {
|
127
|
+
fill: #697077;
|
128
|
+
}
|
129
|
+
.#{$block-class-other}__prefix-cls-70 {
|
130
|
+
fill: #282828;
|
131
|
+
}
|
132
|
+
.#{$block-class-other}__prefix-cls-71 {
|
133
|
+
fill: #51565c;
|
134
|
+
}
|
135
|
+
.#{$block-class-other}__prefix-cls-72 {
|
136
|
+
fill: #e0dbda;
|
137
|
+
}
|
138
|
+
.#{$block-class-other}__prefix-cls-73 {
|
139
|
+
fill: #003d73;
|
140
|
+
}
|
141
|
+
.#{$block-class-other}__prefix-cls-75 {
|
142
|
+
opacity: 0.15;
|
143
|
+
}
|
144
|
+
|
145
|
+
/* stylelint-enable */
|
@@ -163,18 +163,18 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
163
163
|
overflow: hidden;
|
164
164
|
}
|
165
165
|
|
166
|
-
.#{$block-class}
|
167
|
-
|
168
|
-
|
166
|
+
.#{$block-class}__summary.#{$block-class}__summary--open:not(
|
167
|
+
.#{$block-class}__summary--closing
|
168
|
+
),
|
169
169
|
.#{$block-class}__summary--hidden {
|
170
170
|
height: 0;
|
171
171
|
margin-top: 0;
|
172
172
|
opacity: 0;
|
173
173
|
}
|
174
174
|
|
175
|
-
.#{$block-class}
|
176
|
-
|
177
|
-
|
175
|
+
.#{$block-class}__chevron.#{$block-class}__chevron--open:not(
|
176
|
+
.#{$block-class}__chevron--closing
|
177
|
+
) {
|
178
178
|
transform: rotate(180deg);
|
179
179
|
}
|
180
180
|
|
@@ -363,7 +363,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
363
363
|
}
|
364
364
|
|
365
365
|
.#{$block-class}__slug-and-close {
|
366
|
-
position:
|
366
|
+
position: absolute;
|
367
367
|
z-index: 10; /* must be higher than title container border bottom */
|
368
368
|
top: 0;
|
369
369
|
right: 0;
|
@@ -73,7 +73,7 @@ $themes: ('light', 'dark');
|
|
73
73
|
|
74
74
|
$block-class: #{$pkg-prefix}--status-icon;
|
75
75
|
|
76
|
-
@function
|
76
|
+
@function carbon-clr($name, $theme: light) {
|
77
77
|
// stylelint-disable-next-line carbon/theme-token-use
|
78
78
|
$color: map-get(map-get($colors, $name), $theme);
|
79
79
|
@return $color;
|
@@ -125,13 +125,13 @@ $block-class: #{$pkg-prefix}--status-icon;
|
|
125
125
|
// stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
|
126
126
|
animation: rotating 8000ms infinite linear;
|
127
127
|
// stylelint-disable-next-line carbon/theme-token-use
|
128
|
-
fill:
|
128
|
+
fill: carbon-clr($icon, $theme);
|
129
129
|
} @else if $icon == running {
|
130
130
|
// stylelint-disable-next-line carbon/theme-token-use
|
131
|
-
fill:
|
131
|
+
fill: carbon-clr($icon, $theme);
|
132
132
|
} @else {
|
133
133
|
// stylelint-disable-next-line carbon/theme-token-use
|
134
|
-
fill:
|
134
|
+
fill: carbon-clr($icon, $theme);
|
135
135
|
@media (prefers-reduced-motion) {
|
136
136
|
.#{$block-class}--#{$theme}.#{$block-class}--#{$theme-key}-in-progress {
|
137
137
|
animation: none;
|
@@ -79,7 +79,7 @@ $popover-block-class: #{c4p-settings.$carbon-prefix}--popover;
|
|
79
79
|
.#{$block-class}
|
80
80
|
.#{$popover-block-class}--top-right
|
81
81
|
.#{$popover-block-class}-caret {
|
82
|
-
/* stylelint-disable-next-line
|
82
|
+
/* stylelint-disable-next-line */
|
83
83
|
inset-block-start: -1px !important;
|
84
84
|
}
|
85
85
|
|
@@ -92,6 +92,6 @@ $popover-block-class: #{c4p-settings.$carbon-prefix}--popover;
|
|
92
92
|
.#{$block-class}
|
93
93
|
.#{$popover-block-class}--bottom-right
|
94
94
|
.#{$popover-block-class}-caret {
|
95
|
-
/* stylelint-disable-next-line
|
95
|
+
/* stylelint-disable-next-line */
|
96
96
|
inset-block-end: -1px !important;
|
97
97
|
}
|
@@ -44,7 +44,7 @@ $themes: (
|
|
44
44
|
|
45
45
|
$theme-keys: map-keys($themes);
|
46
46
|
|
47
|
-
@function
|
47
|
+
@function carbon-get-background-color($color, $key, $contrast-key) {
|
48
48
|
@return map-get(
|
49
49
|
$carbon-colors,
|
50
50
|
#{$color}#{map-get(map-get($themes, $key), #{$contrast-key}-contrast)}
|
@@ -59,7 +59,11 @@ $theme-keys: map-keys($themes);
|
|
59
59
|
@each $contrast-key in $theme-keys {
|
60
60
|
.#{$block-class}--#{$key}.#{$block-class}--#{$contrast-key}-#{$color} {
|
61
61
|
// stylelint-disable-next-line carbon/theme-token-use
|
62
|
-
background-color:
|
62
|
+
background-color: carbon-get-background-color(
|
63
|
+
$color,
|
64
|
+
$key,
|
65
|
+
$contrast-key
|
66
|
+
);
|
63
67
|
}
|
64
68
|
}
|
65
69
|
}
|