@carbon/ibm-products-styles 2.61.0 → 2.62.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products-styles",
3
3
  "description": "Carbon for IBM Products styles",
4
- "version": "2.61.0",
4
+ "version": "2.62.0",
5
5
  "license": "Apache-2.0",
6
6
  "installConfig": {
7
7
  "hoistingLimits": "none"
@@ -52,7 +52,7 @@
52
52
  "cross-env": "^7.0.3",
53
53
  "glob": "^11.0.1",
54
54
  "jest": "^29.7.0",
55
- "jest-config-ibm-cloud-cognitive": "^1.24.0",
55
+ "jest-config-ibm-cloud-cognitive": "^1.25.0",
56
56
  "jest-environment-jsdom": "^29.7.0",
57
57
  "npm-check-updates": "^17.1.15",
58
58
  "npm-run-all": "^4.1.5",
@@ -61,14 +61,14 @@
61
61
  "yargs": "^17.7.2"
62
62
  },
63
63
  "peerDependencies": {
64
- "@carbon/grid": "^11.31.0",
65
- "@carbon/layout": "^11.29.0",
66
- "@carbon/motion": "^11.24.0",
67
- "@carbon/themes": "^11.46.0",
68
- "@carbon/type": "^11.35.0"
64
+ "@carbon/grid": "^11.34.0",
65
+ "@carbon/layout": "^11.32.0",
66
+ "@carbon/motion": "^11.26.0",
67
+ "@carbon/themes": "^11.50.0",
68
+ "@carbon/type": "^11.38.0"
69
69
  },
70
70
  "dependencies": {
71
71
  "@ibm/telemetry-js": "^1.9.1"
72
72
  },
73
- "gitHead": "1c72b1bd502702356e5276b21005e0d4b8bdfca2"
73
+ "gitHead": "3de1ea266ed33f09120ef615aa418790b7f3c35b"
74
74
  }
@@ -11,6 +11,9 @@
11
11
  @use './variables' as *;
12
12
 
13
13
  .#{$block-class}__sortableColumn {
14
+ /* stylelint-disable-next-line declaration-no-important */
15
+ padding-inline: $spacing-05 !important;
16
+
14
17
  .#{c4p-settings.$carbon-prefix}--table-header-label .header-title {
15
18
  display: inline-block;
16
19
  inline-size: auto;
@@ -108,7 +108,7 @@ $block-size: 38.5rem;
108
108
  .#{$block-class}__header-container {
109
109
  position: sticky;
110
110
  z-index: 2;
111
- padding: $spacing-03 $spacing-05 $spacing-05;
111
+ padding: $spacing-03 $spacing-05;
112
112
  background-color: $layer-01;
113
113
  border-block-end: 1px solid $border-subtle-01;
114
114
  inset-block-start: 0;
@@ -117,9 +117,12 @@ $block-size: 38.5rem;
117
117
  align-items: center;
118
118
  justify-content: space-between;
119
119
  }
120
- .#{$block-class}__do-not-disturb-toggle
120
+ .#{$block-class}__do-not-disturb-toggle {
121
+ padding-block-end: $spacing-03;
122
+
121
123
  .#{c4p-settings.$carbon-prefix}--toggle__label-text {
122
- @include utilities.visually-hidden;
124
+ @include utilities.visually-hidden;
125
+ }
123
126
  }
124
127
  .#{$block-class}__dismiss-button {
125
128
  color: $text-primary;
@@ -140,7 +143,7 @@ $block-size: 38.5rem;
140
143
  background-color: $layer-01;
141
144
  color: $text-secondary;
142
145
  // stylelint-disable-next-line carbon/layout-use
143
- inset-block-start: 4.8125rem;
146
+ inset-block-start: 3.0625rem;
144
147
  }
145
148
  .#{$block-class}__notification:hover,
146
149
  .#{$block-class}__notification:focus {
@@ -345,3 +348,12 @@ $block-size: 38.5rem;
345
348
  }
346
349
  }
347
350
  }
351
+
352
+ .#{$block-class}__header-container:has(
353
+ .#{$block-class}__do-not-disturb-toggle
354
+ ) {
355
+ + .#{$block-class}__main-section .#{$block-class}__time-section-label {
356
+ // stylelint-disable-next-line carbon/layout-use
357
+ inset-block-start: 4.8125rem;
358
+ }
359
+ }
@@ -24,7 +24,24 @@ $popover-block-class: #{c4p-settings.$carbon-prefix}--popover;
24
24
 
25
25
  .#{$block-class} {
26
26
  display: inline-block;
27
- text-align: start;
27
+
28
+ &--truncate {
29
+ display: -webkit-box;
30
+ overflow: hidden;
31
+ -webkit-box-orient: vertical;
32
+ line-height: inherit;
33
+ text-overflow: ellipsis;
34
+ word-break: break-word;
35
+ }
36
+
37
+ button.cds--definition-term {
38
+ border-block-end: none;
39
+ letter-spacing: inherit;
40
+ }
41
+
42
+ .cds--popover-container {
43
+ display: flex;
44
+ }
28
45
  }
29
46
 
30
47
  .#{$block-class}--content {
@@ -37,7 +54,6 @@ $popover-block-class: #{c4p-settings.$carbon-prefix}--popover;
37
54
  overflow: hidden;
38
55
  -webkit-box-orient: vertical;
39
56
  -webkit-line-clamp: 1;
40
- max-inline-size: 80ch;
41
57
  }
42
58
 
43
59
  .#{$block-class}__tooltip > button {
@@ -253,6 +253,7 @@ $motion-duration: $duration-moderate-02;
253
253
  }
254
254
 
255
255
  .#{$block-class}__header-description {
256
+ display: inline-flex;
256
257
  margin-block-start: $spacing-05;
257
258
  max-inline-size: 100%;
258
259
 
@@ -263,28 +264,6 @@ $motion-duration: $duration-moderate-02;
263
264
  }
264
265
  }
265
266
 
266
- .#{$block-class}__description-tooltip .#{$carbon-prefix}--definition-term {
267
- border-block-end: 0;
268
- letter-spacing: inherit;
269
- word-break: break-word;
270
- }
271
-
272
- // overwrites the existing styles to make the popover bigger because in some cases the narrow space can be too constricting for the description
273
- .#{$block-class}__description-tooltip {
274
- display: inline-flex;
275
- .#{$carbon-prefix}--popover-content.#{$carbon-prefix}--definition-tooltip {
276
- max-inline-size: fit-content;
277
- }
278
- }
279
-
280
- .#{$block-class}__description-text {
281
- display: -webkit-box;
282
- overflow: hidden;
283
- -webkit-box-orient: vertical;
284
- -webkit-line-clamp: 2;
285
- line-clamp: 2;
286
- }
287
-
288
267
  &.#{$block-class}--narrow .#{$block-class}__header-description {
289
268
  margin-block-start: $spacing-03;
290
269
  }