@carbon/ibm-products 2.73.1-rc.0 → 2.74.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index-full-carbon.css +56 -6
- 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 +5 -1
- 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 +56 -6
- 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 +56 -6
- 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/AboutModal/AboutModal.d.ts +17 -23
- package/es/components/AboutModal/AboutModal.js +17 -23
- package/es/components/AddSelect/AddSelectBody.js +1 -1
- package/es/components/Carousel/Carousel.js +1 -1
- package/es/components/Coachmark/Coachmark.d.ts +4 -0
- package/es/components/Coachmark/Coachmark.js +9 -2
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +0 -4
- package/es/components/Coachmark/CoachmarkDragbar.js +2 -6
- package/es/components/Coachmark/CoachmarkHeader.d.ts +0 -4
- package/es/components/Coachmark/CoachmarkHeader.js +2 -2
- package/es/components/Coachmark/CoachmarkTagline.js +5 -3
- package/es/components/Coachmark/next/Coachmark/Coachmark.d.ts +1 -22
- package/es/components/Coachmark/next/Coachmark/Coachmark.js +14 -29
- package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -0
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +13 -2
- package/es/components/Coachmark/next/Coachmark/CoachmarkContent.js +2 -2
- package/es/components/Coachmark/next/Coachmark/ContentBody.js +1 -1
- package/es/components/Coachmark/next/Coachmark/ContentHeader.js +15 -1
- package/es/components/Coachmark/next/Coachmark/context.d.ts +25 -0
- package/es/components/Coachmark/next/Coachmark/context.js +28 -0
- package/es/components/Coachmark/utils/context.d.ts +2 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +4 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -1
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +4 -0
- package/es/components/CoachmarkStack/CoachmarkStack.js +7 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +11 -7
- package/es/components/ConditionBuilder/ConditionBuilder.js +11 -2
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +10 -0
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +10 -5
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +14 -3
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +5 -4
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +8 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +4 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +20 -4
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
- package/es/components/ConditionBuilder/index.d.ts +1 -0
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +12 -7
- package/es/components/ConditionBuilder/utils/useDataConfigs.d.ts +1 -1
- package/es/components/ConditionBuilder/utils/util.d.ts +1 -1
- package/es/components/ConditionBuilder/utils/util.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
- package/es/components/EmptyStates/EmptyState.js +1 -1
- package/es/components/EmptyStates/{EmptyStateV2.js → EmptyStateV2.deprecated.js} +1 -1
- package/es/components/EmptyStates/index.d.ts +2 -2
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/es/components/SidePanel/SidePanel.d.ts +1 -0
- package/es/components/SidePanel/SidePanel.js +1 -0
- package/es/components/StepFlow/StepContext.d.ts +14 -0
- package/es/components/StepFlow/StepGroup.d.ts +10 -0
- package/es/components/StepFlow/index.d.ts +9 -0
- package/es/components/StepFlow/story-assets/SidePanel/Example.d.ts +8 -0
- package/es/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +20 -0
- package/es/components/StepFlow/story-assets/StepActions.d.ts +23 -0
- package/es/components/StepFlow/story-assets/Tearsheet/Example.d.ts +8 -0
- package/es/components/StepFlow/story-assets/Tearsheet/StepTearsheet.d.ts +20 -0
- package/es/components/StepFlow/types.d.ts +22 -0
- package/es/components/TruncatedText/TruncatedText.js +4 -2
- package/es/global/js/utils/makeDraggable/makeDraggable.js +28 -0
- package/es/index.js +1 -1
- package/lib/components/AboutModal/AboutModal.d.ts +17 -23
- package/lib/components/AboutModal/AboutModal.js +17 -23
- package/lib/components/AddSelect/AddSelectBody.js +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Coachmark/Coachmark.d.ts +4 -0
- package/lib/components/Coachmark/Coachmark.js +9 -2
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +0 -4
- package/lib/components/Coachmark/CoachmarkDragbar.js +2 -6
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +0 -4
- package/lib/components/Coachmark/CoachmarkHeader.js +2 -2
- package/lib/components/Coachmark/CoachmarkTagline.js +5 -3
- package/lib/components/Coachmark/next/Coachmark/Coachmark.d.ts +1 -22
- package/lib/components/Coachmark/next/Coachmark/Coachmark.js +16 -33
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -0
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +13 -2
- package/lib/components/Coachmark/next/Coachmark/CoachmarkContent.js +5 -5
- package/lib/components/Coachmark/next/Coachmark/ContentBody.js +2 -2
- package/lib/components/Coachmark/next/Coachmark/ContentHeader.js +17 -3
- package/lib/components/Coachmark/next/Coachmark/context.d.ts +25 -0
- package/lib/components/Coachmark/next/Coachmark/context.js +31 -0
- package/lib/components/Coachmark/utils/context.d.ts +2 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +4 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +4 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.js +7 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +11 -7
- package/lib/components/ConditionBuilder/ConditionBuilder.js +11 -2
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +10 -0
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +10 -5
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +13 -2
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +5 -4
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +8 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +4 -3
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +20 -4
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
- package/lib/components/ConditionBuilder/index.d.ts +1 -0
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +11 -6
- package/lib/components/ConditionBuilder/utils/useDataConfigs.d.ts +1 -1
- package/lib/components/ConditionBuilder/utils/util.d.ts +1 -1
- package/lib/components/ConditionBuilder/utils/util.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
- package/lib/components/EmptyStates/EmptyState.js +2 -2
- package/lib/components/EmptyStates/{EmptyStateV2.js → EmptyStateV2.deprecated.js} +2 -2
- package/lib/components/EmptyStates/index.d.ts +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/lib/components/SidePanel/SidePanel.d.ts +1 -0
- package/lib/components/SidePanel/SidePanel.js +1 -0
- package/lib/components/StepFlow/StepContext.d.ts +14 -0
- package/lib/components/StepFlow/StepGroup.d.ts +10 -0
- package/lib/components/StepFlow/index.d.ts +9 -0
- package/lib/components/StepFlow/story-assets/SidePanel/Example.d.ts +8 -0
- package/lib/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +20 -0
- package/lib/components/StepFlow/story-assets/StepActions.d.ts +23 -0
- package/lib/components/StepFlow/story-assets/Tearsheet/Example.d.ts +8 -0
- package/lib/components/StepFlow/story-assets/Tearsheet/StepTearsheet.d.ts +20 -0
- package/lib/components/StepFlow/types.d.ts +22 -0
- package/lib/components/TruncatedText/TruncatedText.js +4 -2
- package/lib/global/js/utils/makeDraggable/makeDraggable.js +28 -0
- package/lib/index.js +2 -2
- package/package.json +7 -7
- package/scss/components/Coachmark/_coachmark.scss +7 -0
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +24 -0
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +26 -12
- package/scss/components/SidePanel/_side-panel.scss +6 -1
- package/scss/components/Tearsheet/_tearsheet.scss +1 -0
- package/scss/components/TruncatedText/_truncated-text.scss +1 -0
- package/telemetry.yml +1 -1
- /package/es/components/EmptyStates/{EmptyStateIllustration.d.ts → EmptyStateIllustration.deprecated.d.ts} +0 -0
- /package/es/components/EmptyStates/{EmptyStateIllustration.js → EmptyStateIllustration.deprecated.js} +0 -0
- /package/es/components/EmptyStates/{EmptyStateV2.d.ts → EmptyStateV2.deprecated.d.ts} +0 -0
- /package/lib/components/EmptyStates/{EmptyStateIllustration.d.ts → EmptyStateIllustration.deprecated.d.ts} +0 -0
- /package/lib/components/EmptyStates/{EmptyStateIllustration.js → EmptyStateIllustration.deprecated.js} +0 -0
- /package/lib/components/EmptyStates/{EmptyStateV2.d.ts → EmptyStateV2.deprecated.d.ts} +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2025, 2025
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
import { Dispatch, SetStateAction } from 'react';
|
8
|
+
export type StepContextType = StepState;
|
9
|
+
interface formStateType {
|
10
|
+
[key: string]: any;
|
11
|
+
}
|
12
|
+
export interface StepState {
|
13
|
+
formState: formStateType;
|
14
|
+
setFormState: Dispatch<SetStateAction<formStateType>>;
|
15
|
+
totalSteps: number | undefined;
|
16
|
+
setTotalSteps: Dispatch<SetStateAction<number | undefined>>;
|
17
|
+
currentStep: number;
|
18
|
+
handleGoToStep: (a: number) => void;
|
19
|
+
handleNext: () => void;
|
20
|
+
handlePrevious: () => void;
|
21
|
+
}
|
22
|
+
export {};
|
@@ -56,12 +56,14 @@ exports.TruncatedText = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
56
56
|
handleExpand();
|
57
57
|
}
|
58
58
|
};
|
59
|
-
const valueBody = /*#__PURE__*/React.createElement("span", {
|
59
|
+
const valueBody = /*#__PURE__*/React.createElement("span", _rollupPluginBabelHelpers.extends({}, type === 'tooltip' ? {
|
60
|
+
role: 'button'
|
61
|
+
} : {}, {
|
60
62
|
ref: contentRef,
|
61
63
|
className: textContentClasses,
|
62
64
|
id: id,
|
63
65
|
style: textContentStyles
|
64
|
-
}, value);
|
66
|
+
}), value);
|
65
67
|
const tooltipVariant = /*#__PURE__*/React.createElement(react.Tooltip, {
|
66
68
|
align: align,
|
67
69
|
autoAlign: autoAlign,
|
@@ -34,7 +34,29 @@ function makeDraggable(_ref) {
|
|
34
34
|
let isDragging = false;
|
35
35
|
let offsetX = 0;
|
36
36
|
let offsetY = 0;
|
37
|
+
function dispatch(type) {
|
38
|
+
let detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
39
|
+
el.dispatchEvent(new CustomEvent(type, {
|
40
|
+
detail,
|
41
|
+
bubbles: true
|
42
|
+
}));
|
43
|
+
}
|
37
44
|
function onKeyDown(e) {
|
45
|
+
if (e.key === 'Enter') {
|
46
|
+
isDragging = !isDragging;
|
47
|
+
}
|
48
|
+
if (isDragging) {
|
49
|
+
dispatch('dragstart', {
|
50
|
+
keyboard: true
|
51
|
+
});
|
52
|
+
} else {
|
53
|
+
dispatch('dragend', {
|
54
|
+
keyboard: true
|
55
|
+
});
|
56
|
+
}
|
57
|
+
if (!isDragging) {
|
58
|
+
return;
|
59
|
+
}
|
38
60
|
const distance = e.shiftKey ? shiftDragStep ?? 32 : dragStep ?? 8;
|
39
61
|
switch (e.key) {
|
40
62
|
case 'Enter':
|
@@ -63,6 +85,9 @@ function makeDraggable(_ref) {
|
|
63
85
|
offsetX = e.clientX - el.offsetLeft;
|
64
86
|
offsetY = e.clientY - el.offsetTop;
|
65
87
|
isDragging = true;
|
88
|
+
dispatch('dragstart', {
|
89
|
+
mouse: true
|
90
|
+
});
|
66
91
|
document.addEventListener('mousemove', onMouseMove);
|
67
92
|
document.addEventListener('mouseup', onMouseUp, {
|
68
93
|
once: true
|
@@ -80,6 +105,9 @@ function makeDraggable(_ref) {
|
|
80
105
|
return;
|
81
106
|
}
|
82
107
|
isDragging = false;
|
108
|
+
dispatch('dragend', {
|
109
|
+
mouse: true
|
110
|
+
});
|
83
111
|
document.removeEventListener('mousemove', onMouseMove);
|
84
112
|
}
|
85
113
|
if (dragHandle) {
|
package/lib/index.js
CHANGED
@@ -23,7 +23,7 @@ var CreateTearsheetStep = require('./components/CreateTearsheet/CreateTearsheetS
|
|
23
23
|
var CreateTearsheetDivider = require('./components/CreateTearsheet/CreateTearsheetDivider.js');
|
24
24
|
var CreateTearsheetNarrow = require('./components/CreateTearsheetNarrow/CreateTearsheetNarrow.js');
|
25
25
|
var EmptyState = require('./components/EmptyStates/EmptyState.js');
|
26
|
-
var
|
26
|
+
var EmptyStateV2_deprecated = require('./components/EmptyStates/EmptyStateV2.deprecated.js');
|
27
27
|
var ErrorEmptyState = require('./components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js');
|
28
28
|
var NoDataEmptyState = require('./components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js');
|
29
29
|
var NoTagsEmptyState = require('./components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js');
|
@@ -199,7 +199,7 @@ Object.defineProperty(exports, "EmptyState", {
|
|
199
199
|
});
|
200
200
|
Object.defineProperty(exports, "EmptyStateV2", {
|
201
201
|
enumerable: true,
|
202
|
-
get: function () { return
|
202
|
+
get: function () { return EmptyStateV2_deprecated.EmptyStateV2; }
|
203
203
|
});
|
204
204
|
Object.defineProperty(exports, "ErrorEmptyState", {
|
205
205
|
enumerable: true,
|
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.
|
4
|
+
"version": "2.74.0-rc.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"@babel/preset-typescript": "^7.26.0",
|
71
71
|
"@ibm/telemetry-js-config-generator": "^2.0.1",
|
72
72
|
"@percy/cli": "^1.31.0",
|
73
|
-
"@percy/storybook": "^
|
73
|
+
"@percy/storybook": "^9.0.0",
|
74
74
|
"@rollup/plugin-babel": "^6.0.4",
|
75
75
|
"@rollup/plugin-commonjs": "^28.0.3",
|
76
76
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"@storybook/react-vite": "^9.0.13",
|
82
82
|
"@types/react-table": "^7.7.20",
|
83
83
|
"babel-plugin-dev-expression": "^0.2.3",
|
84
|
-
"babel-preset-ibm-cloud-cognitive": "^0.
|
84
|
+
"babel-preset-ibm-cloud-cognitive": "^0.32.0-rc.0",
|
85
85
|
"chalk": "^4.1.2",
|
86
86
|
"change-case": "5.4.4",
|
87
87
|
"classnames": "^2.5.1",
|
@@ -90,7 +90,7 @@
|
|
90
90
|
"fs-extra": "^11.3.0",
|
91
91
|
"glob": "^11.0.1",
|
92
92
|
"jest": "^29.7.0",
|
93
|
-
"jest-config-ibm-cloud-cognitive": "^1.
|
93
|
+
"jest-config-ibm-cloud-cognitive": "^1.33.0-rc.0",
|
94
94
|
"jest-environment-jsdom": "^29.7.0",
|
95
95
|
"namor": "^1.1.2",
|
96
96
|
"npm-run-all": "^4.1.5",
|
@@ -101,7 +101,7 @@
|
|
101
101
|
"rollup-plugin-strip-banner": "^3.1.0",
|
102
102
|
"sass": "^1.85.1",
|
103
103
|
"storybook": "^9.0.8",
|
104
|
-
"typescript-config-carbon": "^0.
|
104
|
+
"typescript-config-carbon": "^0.6.0",
|
105
105
|
"vite": "^7.0.0",
|
106
106
|
"yargs": "^18.0.0"
|
107
107
|
},
|
@@ -109,7 +109,7 @@
|
|
109
109
|
"@babel/runtime": "^7.26.10",
|
110
110
|
"@carbon-labs/react-resizer": "^0.6.0",
|
111
111
|
"@carbon/feature-flags": "^0.28.1",
|
112
|
-
"@carbon/ibm-products-styles": "^2.
|
112
|
+
"@carbon/ibm-products-styles": "^2.70.0-rc.0",
|
113
113
|
"@carbon/telemetry": "^0.1.0",
|
114
114
|
"@carbon/utilities": "^0.7.0",
|
115
115
|
"@carbon/utilities-react": "0.10.0",
|
@@ -131,5 +131,5 @@
|
|
131
131
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0",
|
132
132
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0"
|
133
133
|
},
|
134
|
-
"gitHead": "
|
134
|
+
"gitHead": "c25fcbe02058e6ad4d9e701466eb540f5ee24833"
|
135
135
|
}
|
@@ -9,6 +9,8 @@
|
|
9
9
|
@use '../../global/styles/project-settings' as c4p-settings;
|
10
10
|
@use '../../global/styles/mixins';
|
11
11
|
@use '@carbon/styles/scss/config';
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
13
|
+
@use '@carbon/styles/scss/theme' as *;
|
12
14
|
|
13
15
|
@use './coachmark-dragbar';
|
14
16
|
@use './coachmark-header';
|
@@ -43,4 +45,9 @@ $block-class-next: #{c4p-settings.$pkg-prefix}--coachmark__next;
|
|
43
45
|
margin-inline-end: auto;
|
44
46
|
}
|
45
47
|
}
|
48
|
+
.#{$block-class-next}--content-header--is-dragging {
|
49
|
+
border-radius: 0;
|
50
|
+
box-shadow: 0 0 0 $spacing-02 $icon-inverse;
|
51
|
+
outline: $spacing-01 solid $background-inverse;
|
52
|
+
}
|
46
53
|
}
|
@@ -88,3 +88,27 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
88
88
|
> .#{$block-class}__groupConnector {
|
89
89
|
margin-block-end: 0;
|
90
90
|
}
|
91
|
+
|
92
|
+
.#{$block-class}__readonly {
|
93
|
+
.#{$block-class}__condition-inner-block,
|
94
|
+
.#{$block-class}__connector,
|
95
|
+
.#{$block-class}__action-block,
|
96
|
+
.#{$block-class}__add-condition-wrapper,
|
97
|
+
.#{$block-class}__groupConnector {
|
98
|
+
background: transparent;
|
99
|
+
box-shadow: inset 0 0 0 1px $border-subtle-00;
|
100
|
+
|
101
|
+
button {
|
102
|
+
background: transparent;
|
103
|
+
cursor: default;
|
104
|
+
|
105
|
+
svg {
|
106
|
+
color: $icon-disabled;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.#{$block-class}__condition-inner-block {
|
113
|
+
display: flex;
|
114
|
+
}
|
@@ -61,7 +61,23 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
61
61
|
padding-inline: $spacing-05;
|
62
62
|
}
|
63
63
|
|
64
|
-
.#{$block-class}__item-option__option
|
64
|
+
.#{$block-class}__item-option__option[aria-disabled] {
|
65
|
+
color: $text-disabled;
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
cursor: not-allowed;
|
69
|
+
}
|
70
|
+
|
71
|
+
&:focus {
|
72
|
+
cursor: not-allowed;
|
73
|
+
outline: none;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.#{$block-class}__item-option__option[aria-hidden] {
|
77
|
+
display: none;
|
78
|
+
}
|
79
|
+
|
80
|
+
.#{$block-class}__item-option__option:not([aria-disabled]):hover {
|
65
81
|
background-color: $layer-hover;
|
66
82
|
}
|
67
83
|
|
@@ -91,17 +107,15 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
91
107
|
border-block-start: 0.0625rem solid $border-subtle;
|
92
108
|
}
|
93
109
|
|
94
|
-
.#{$block-class}__item-option__option:
|
95
|
-
|
96
|
-
|
97
|
-
.#{$block-class}__item-option__option
|
98
|
-
.#{$block-class}__item-option__option
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
.#{$block-class}__item-option__option-content {
|
104
|
-
border-block-start-color: transparent;
|
110
|
+
.#{$block-class}__item-option__option:not([aria-disabled]) {
|
111
|
+
&:hover,
|
112
|
+
&[aria-selected='true'],
|
113
|
+
&:hover + .#{$block-class}__item-option__option,
|
114
|
+
&[aria-selected='true'] + .#{$block-class}__item-option__option {
|
115
|
+
.#{$block-class}__item-option__option-content {
|
116
|
+
border-block-start-color: transparent;
|
117
|
+
}
|
118
|
+
}
|
105
119
|
}
|
106
120
|
|
107
121
|
.#{$block-class}__item-option__option[aria-selected='true'] {
|
@@ -188,11 +188,16 @@ $clabs-prefix: 'clabs';
|
|
188
188
|
--#{$block-class}--actions-height: #{$spacing-09};
|
189
189
|
}
|
190
190
|
|
191
|
-
&.#{$block-class}--slide-in,
|
192
191
|
&:not(.#{$block-class}--has-overlay) {
|
193
192
|
box-shadow: 0 $spacing-01 $spacing-02 $overlay;
|
194
193
|
}
|
195
194
|
|
195
|
+
// Slide-in panels should use border not shadows since they don’t layer
|
196
|
+
&.#{$block-class}--slide-in,
|
197
|
+
&.#{$block-class}--slide-in:not(.#{$block-class}--has-overlay) {
|
198
|
+
box-shadow: none;
|
199
|
+
}
|
200
|
+
|
196
201
|
.#{$block-class}__actions-container {
|
197
202
|
inline-size: 100%;
|
198
203
|
}
|
package/telemetry.yml
CHANGED
@@ -295,6 +295,7 @@ collect:
|
|
295
295
|
- productive
|
296
296
|
- radio
|
297
297
|
- reactTableFiltersState
|
298
|
+
- readOnly
|
298
299
|
- readOnlyTable
|
299
300
|
- renderIcon
|
300
301
|
- renderMedia
|
@@ -537,7 +538,6 @@ collect:
|
|
537
538
|
- toggleLabel
|
538
539
|
- toggleLabelAlign
|
539
540
|
# Coachmark
|
540
|
-
- defaultOpen
|
541
541
|
- floating
|
542
542
|
- isOpenByDefault
|
543
543
|
- overlayClassName
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|