@carbon/ibm-products 2.73.1 → 2.74.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.
Files changed (154) hide show
  1. package/css/index-full-carbon.css +56 -6
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +5 -1
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +56 -6
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +56 -6
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/AboutModal/AboutModal.d.ts +17 -23
  18. package/es/components/AboutModal/AboutModal.js +17 -23
  19. package/es/components/AddSelect/AddSelectBody.js +1 -1
  20. package/es/components/Carousel/Carousel.js +1 -1
  21. package/es/components/Coachmark/Coachmark.d.ts +4 -0
  22. package/es/components/Coachmark/Coachmark.js +9 -2
  23. package/es/components/Coachmark/CoachmarkDragbar.d.ts +0 -4
  24. package/es/components/Coachmark/CoachmarkDragbar.js +2 -6
  25. package/es/components/Coachmark/CoachmarkHeader.d.ts +0 -4
  26. package/es/components/Coachmark/CoachmarkHeader.js +2 -2
  27. package/es/components/Coachmark/CoachmarkTagline.js +5 -3
  28. package/es/components/Coachmark/next/Coachmark/Coachmark.d.ts +1 -22
  29. package/es/components/Coachmark/next/Coachmark/Coachmark.js +14 -29
  30. package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -0
  31. package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +13 -2
  32. package/es/components/Coachmark/next/Coachmark/CoachmarkContent.js +2 -2
  33. package/es/components/Coachmark/next/Coachmark/ContentBody.js +1 -1
  34. package/es/components/Coachmark/next/Coachmark/ContentHeader.js +15 -1
  35. package/es/components/Coachmark/next/Coachmark/context.d.ts +25 -0
  36. package/es/components/Coachmark/next/Coachmark/context.js +28 -0
  37. package/es/components/Coachmark/utils/context.d.ts +2 -2
  38. package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +4 -0
  39. package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -1
  40. package/es/components/CoachmarkStack/CoachmarkStack.d.ts +4 -0
  41. package/es/components/CoachmarkStack/CoachmarkStack.js +7 -1
  42. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +11 -7
  43. package/es/components/ConditionBuilder/ConditionBuilder.js +11 -2
  44. package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +10 -0
  45. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +10 -5
  46. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +14 -3
  47. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -2
  48. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
  49. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +5 -4
  50. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +2 -1
  51. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +8 -2
  52. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +4 -3
  53. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +20 -4
  54. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
  55. package/es/components/ConditionBuilder/index.d.ts +1 -0
  56. package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +12 -7
  57. package/es/components/ConditionBuilder/utils/useDataConfigs.d.ts +1 -1
  58. package/es/components/ConditionBuilder/utils/util.d.ts +1 -1
  59. package/es/components/ConditionBuilder/utils/util.js +2 -2
  60. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
  61. package/es/components/EmptyStates/EmptyState.js +1 -1
  62. package/es/components/EmptyStates/{EmptyStateV2.js → EmptyStateV2.deprecated.js} +1 -1
  63. package/es/components/EmptyStates/index.d.ts +2 -2
  64. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  65. package/es/components/SidePanel/SidePanel.d.ts +1 -0
  66. package/es/components/SidePanel/SidePanel.js +1 -0
  67. package/es/components/StepFlow/StepContext.d.ts +14 -0
  68. package/es/components/StepFlow/StepGroup.d.ts +10 -0
  69. package/es/components/StepFlow/index.d.ts +9 -0
  70. package/es/components/StepFlow/story-assets/SidePanel/Example.d.ts +8 -0
  71. package/es/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +20 -0
  72. package/es/components/StepFlow/story-assets/StepActions.d.ts +23 -0
  73. package/es/components/StepFlow/story-assets/Tearsheet/Example.d.ts +8 -0
  74. package/es/components/StepFlow/story-assets/Tearsheet/StepTearsheet.d.ts +20 -0
  75. package/es/components/StepFlow/types.d.ts +22 -0
  76. package/es/components/TruncatedText/TruncatedText.js +4 -2
  77. package/es/global/js/utils/makeDraggable/makeDraggable.js +28 -0
  78. package/es/index.js +1 -1
  79. package/lib/components/AboutModal/AboutModal.d.ts +17 -23
  80. package/lib/components/AboutModal/AboutModal.js +17 -23
  81. package/lib/components/AddSelect/AddSelectBody.js +1 -1
  82. package/lib/components/Carousel/Carousel.js +1 -1
  83. package/lib/components/Coachmark/Coachmark.d.ts +4 -0
  84. package/lib/components/Coachmark/Coachmark.js +9 -2
  85. package/lib/components/Coachmark/CoachmarkDragbar.d.ts +0 -4
  86. package/lib/components/Coachmark/CoachmarkDragbar.js +2 -6
  87. package/lib/components/Coachmark/CoachmarkHeader.d.ts +0 -4
  88. package/lib/components/Coachmark/CoachmarkHeader.js +2 -2
  89. package/lib/components/Coachmark/CoachmarkTagline.js +5 -3
  90. package/lib/components/Coachmark/next/Coachmark/Coachmark.d.ts +1 -22
  91. package/lib/components/Coachmark/next/Coachmark/Coachmark.js +16 -33
  92. package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -0
  93. package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +13 -2
  94. package/lib/components/Coachmark/next/Coachmark/CoachmarkContent.js +5 -5
  95. package/lib/components/Coachmark/next/Coachmark/ContentBody.js +2 -2
  96. package/lib/components/Coachmark/next/Coachmark/ContentHeader.js +17 -3
  97. package/lib/components/Coachmark/next/Coachmark/context.d.ts +25 -0
  98. package/lib/components/Coachmark/next/Coachmark/context.js +31 -0
  99. package/lib/components/Coachmark/utils/context.d.ts +2 -2
  100. package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +4 -0
  101. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -1
  102. package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +4 -0
  103. package/lib/components/CoachmarkStack/CoachmarkStack.js +7 -1
  104. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +11 -7
  105. package/lib/components/ConditionBuilder/ConditionBuilder.js +11 -2
  106. package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +10 -0
  107. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +10 -5
  108. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +13 -2
  109. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -2
  110. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
  111. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +5 -4
  112. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +2 -1
  113. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +8 -2
  114. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +4 -3
  115. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +20 -4
  116. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
  117. package/lib/components/ConditionBuilder/index.d.ts +1 -0
  118. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +11 -6
  119. package/lib/components/ConditionBuilder/utils/useDataConfigs.d.ts +1 -1
  120. package/lib/components/ConditionBuilder/utils/util.d.ts +1 -1
  121. package/lib/components/ConditionBuilder/utils/util.js +2 -2
  122. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
  123. package/lib/components/EmptyStates/EmptyState.js +2 -2
  124. package/lib/components/EmptyStates/{EmptyStateV2.js → EmptyStateV2.deprecated.js} +2 -2
  125. package/lib/components/EmptyStates/index.d.ts +2 -2
  126. package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
  127. package/lib/components/SidePanel/SidePanel.d.ts +1 -0
  128. package/lib/components/SidePanel/SidePanel.js +1 -0
  129. package/lib/components/StepFlow/StepContext.d.ts +14 -0
  130. package/lib/components/StepFlow/StepGroup.d.ts +10 -0
  131. package/lib/components/StepFlow/index.d.ts +9 -0
  132. package/lib/components/StepFlow/story-assets/SidePanel/Example.d.ts +8 -0
  133. package/lib/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +20 -0
  134. package/lib/components/StepFlow/story-assets/StepActions.d.ts +23 -0
  135. package/lib/components/StepFlow/story-assets/Tearsheet/Example.d.ts +8 -0
  136. package/lib/components/StepFlow/story-assets/Tearsheet/StepTearsheet.d.ts +20 -0
  137. package/lib/components/StepFlow/types.d.ts +22 -0
  138. package/lib/components/TruncatedText/TruncatedText.js +4 -2
  139. package/lib/global/js/utils/makeDraggable/makeDraggable.js +28 -0
  140. package/lib/index.js +2 -2
  141. package/package.json +7 -7
  142. package/scss/components/Coachmark/_coachmark.scss +7 -0
  143. package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +24 -0
  144. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +26 -12
  145. package/scss/components/SidePanel/_side-panel.scss +6 -1
  146. package/scss/components/Tearsheet/_tearsheet.scss +1 -0
  147. package/scss/components/TruncatedText/_truncated-text.scss +1 -0
  148. package/telemetry.yml +1 -1
  149. /package/es/components/EmptyStates/{EmptyStateIllustration.d.ts → EmptyStateIllustration.deprecated.d.ts} +0 -0
  150. /package/es/components/EmptyStates/{EmptyStateIllustration.js → EmptyStateIllustration.deprecated.js} +0 -0
  151. /package/es/components/EmptyStates/{EmptyStateV2.d.ts → EmptyStateV2.deprecated.d.ts} +0 -0
  152. /package/lib/components/EmptyStates/{EmptyStateIllustration.d.ts → EmptyStateIllustration.deprecated.d.ts} +0 -0
  153. /package/lib/components/EmptyStates/{EmptyStateIllustration.js → EmptyStateIllustration.deprecated.js} +0 -0
  154. /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 EmptyStateV2 = require('./components/EmptyStates/EmptyStateV2.js');
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 EmptyStateV2.EmptyStateV2; }
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.73.1",
4
+ "version": "2.74.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": "^6.0.4",
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.31.0",
84
+ "babel-preset-ibm-cloud-cognitive": "^0.32.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.32.0",
93
+ "jest-config-ibm-cloud-cognitive": "^1.33.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.5.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.69.0",
112
+ "@carbon/ibm-products-styles": "^2.70.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": "206630f346c4723f2074936660a4a0dfffb703f5"
134
+ "gitHead": "308b923854caeff69eb77e23e687ca3709d5fe92"
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:hover {
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:hover
95
- .#{$block-class}__item-option__option-content,
96
- .#{$block-class}__item-option__option[aria-selected='true']
97
- .#{$block-class}__item-option__option-content,
98
- .#{$block-class}__item-option__option:hover
99
- + .#{$block-class}__item-option__option
100
- .#{$block-class}__item-option__option-content,
101
- .#{$block-class}__item-option__option[aria-selected='true']
102
- + .#{$block-class}__item-option__option
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
  }
@@ -209,6 +209,7 @@ $motion-duration: $duration-moderate-02;
209
209
  }
210
210
 
211
211
  &.#{$block-class}--wide .#{$block-class}__header {
212
+ overflow: visible;
212
213
  padding: $spacing-06 $spacing-07;
213
214
  margin: 0;
214
215
  background-color: $layer;
@@ -16,6 +16,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--truncated-text;
16
16
  display: -webkit-box;
17
17
  overflow: hidden;
18
18
  -webkit-box-orient: vertical;
19
+ line-height: initial;
19
20
  text-overflow: clip;
20
21
  }
21
22
 
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