@carbon/ibmdotcom-styles 2.49.0 → 2.50.1

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/ibmdotcom-styles",
3
3
  "description": "Carbon for IBM.com Styles",
4
- "version": "2.49.0",
4
+ "version": "2.50.1",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/ibm-dotcom-styles.min.css",
7
7
  "module": "src/scss",
@@ -31,13 +31,13 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@carbon/icons-react": "11.80.0",
34
- "@carbon/layout": "11.49.0",
34
+ "@carbon/layout": "11.52.0",
35
35
  "@carbon/styles": "1.65.0",
36
36
  "@carbon/type": "11.56.0",
37
37
  "@ibm/telemetry-js": "^1.5.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@carbon/themes": "11.72.0",
40
+ "@carbon/themes": "11.73.0",
41
41
  "del": "^6.0.0",
42
42
  "gulp": "^4.0.2",
43
43
  "gulp-autoprefixer": "^6.1.0",
@@ -48,5 +48,5 @@
48
48
  "sass": "~1.99.0",
49
49
  "sass-loader": "^13.0.0"
50
50
  },
51
- "gitHead": "ec99dc47af545a8ebac1c8f10da9d8cdc15cff9b"
51
+ "gitHead": "90004ae02a5848126f877e64512cb6d6464fba18"
52
52
  }
@@ -222,7 +222,7 @@
222
222
  }
223
223
  }
224
224
 
225
- ::slotted(#{$c4d-prefix}-video-player-container) {
225
+ ::slotted(#{$c4d-prefix}-video-player-container-v7) {
226
226
  inline-size: 100%;
227
227
  }
228
228
  }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2022, 2025
2
+ // Copyright IBM Corp. 2022, 2026
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -12,6 +12,7 @@
12
12
  @use '@carbon/styles/scss/spacing' as *;
13
13
  @use '@carbon/styles/scss/theme' as *;
14
14
  @use '@carbon/styles/scss/type' as *;
15
+ @use '@carbon/styles/scss/colors' as *;
15
16
  @use '../../globals/vars' as *;
16
17
  @use '../../globals/imports' as *;
17
18
  @use '../button-group' as *;
@@ -130,6 +131,21 @@
130
131
  }
131
132
  }
132
133
 
134
+ :host(#{$c4d-prefix}-pricing-table-group) tr {
135
+ border: none;
136
+ border-radius: 4px;
137
+ background-color: $purple-20;
138
+
139
+ @include breakpoint-down(lg) {
140
+ box-shadow: 50vw 0 $purple-20;
141
+ }
142
+
143
+ &::after {
144
+ background-color: $purple-20;
145
+ block-size: 0;
146
+ }
147
+ }
148
+
133
149
  .#{$prefix}--pricing-table-header-row,
134
150
  .#{$prefix}--pricing-table-row,
135
151
  :host(#{$c4d-prefix}-pricing-table-header-row),
@@ -159,7 +175,7 @@
159
175
  background-color: $background;
160
176
 
161
177
  &.highlighted {
162
- background-color: $layer-01;
178
+ background-color: $purple-10;
163
179
  }
164
180
 
165
181
  .#{$prefix}--pricing-table-cell-inner {
@@ -261,7 +277,7 @@
261
277
 
262
278
  :host(#{$c4d-prefix}-pricing-table-cell[icon]) {
263
279
  &[icon='checkmark'] svg {
264
- color: $support-success;
280
+ color: $purple-60;
265
281
  }
266
282
 
267
283
  svg {
@@ -278,7 +294,8 @@
278
294
 
279
295
  display: none;
280
296
  padding: $spacing-03 $spacing-05;
281
- background-color: $border-inverse;
297
+ border-radius: 4px 4px 0 0;
298
+ background-color: $purple-60;
282
299
  color: $icon-inverse;
283
300
  inset-block-end: 100%;
284
301
  inset-inline: 0;
@@ -287,7 +304,9 @@
287
304
  .#{$prefix}--pricing-table-header-cell-headline,
288
305
  :host(#{$c4d-prefix}-pricing-table-header-cell-headline) {
289
306
  display: block;
290
- // @include type-style('fluid-heading-03');
307
+
308
+ @include type-style('heading-03');
309
+
291
310
  color: $text-primary;
292
311
  }
293
312
 
@@ -369,4 +388,10 @@
369
388
  :host(.overflowing-left) .overflow-indicator.left {
370
389
  opacity: 1;
371
390
  }
391
+
392
+ :host([last-row]) {
393
+ ::slotted(.highlighted) {
394
+ border-radius: 0 0 10px 10px;
395
+ }
396
+ }
372
397
  }
@@ -22,11 +22,11 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
22
22
  @mixin video-player {
23
23
  // Make the video player container a block for purposes of the intersection
24
24
  // observer.
25
- :host(#{$c4d-prefix}-video-player-container) {
25
+ :host(#{$c4d-prefix}-video-player-container-v7) {
26
26
  display: block;
27
27
  }
28
28
 
29
- :host(#{$c4d-prefix}-video-player),
29
+ :host(#{$c4d-prefix}-video-player-v7),
30
30
  .#{$c4d-prefix}--video-player {
31
31
  color: var(--#{$c4d-prefix}--video-caption--color, $text-secondary);
32
32
 
@@ -40,7 +40,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
40
40
  }
41
41
  }
42
42
 
43
- :host(#{$c4d-prefix}-video-player[background-mode]),
43
+ :host(#{$c4d-prefix}-video-player-v7[background-mode]),
44
44
  .#{$c4d-prefix}--video-player[background-mode] {
45
45
  .#{$c4d-prefix}--video-player__video-container {
46
46
  block-size: 100%;
@@ -55,6 +55,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
55
55
  ::slotted(.#{$c4d-prefix}--video-player__video),
56
56
  .#{$c4d-prefix}--video-player__video {
57
57
  aspect-ratio: var(--native-file-aspect-ratio, 16 / 9);
58
+ block-size: 100%;
58
59
  inset: 50% 0 0 50%;
59
60
  min-block-size: 100%;
60
61
  min-inline-size: 100%;
@@ -84,7 +85,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
84
85
  outline: $spacing-01 solid $focus;
85
86
  }
86
87
 
87
- :host(#{$c4d-prefix}-video-player) #{$c4d-prefix}-image,
88
+ :host(#{$c4d-prefix}-video-player-v7) #{$c4d-prefix}-image,
88
89
  .#{$c4d-prefix}--video-player .#{$c4d-prefix}--image {
89
90
  position: relative;
90
91
  block-size: 100%;
@@ -208,7 +209,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
208
209
  }
209
210
  }
210
211
 
211
- :host(#{$c4d-prefix}-video-player)
212
+ :host(#{$c4d-prefix}-video-player-v7)
212
213
  .#{$c4d-prefix}--video-player__image-overlay,
213
214
  .#{$c4d-prefix}--video-player .#{$c4d-prefix}--video-player__image-overlay {
214
215
  &:active {
@@ -263,7 +264,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
263
264
 
264
265
  // Prevent any pointer events from getting through to the slotted player div
265
266
  // when in intersection mode.
266
- :host(#{$c4d-prefix}-video-player[intersection-mode]) {
267
+ :host(#{$c4d-prefix}-video-player-v7[intersection-mode]) {
267
268
  ::slotted(.#{$c4d-prefix}--video-player__video) {
268
269
  pointer-events: none;
269
270
  }