@carbon/ibmdotcom-styles 2.25.0 → 2.26.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/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.25.0",
4
+ "version": "2.26.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/ibm-dotcom-styles.min.css",
7
7
  "module": "src/scss",
@@ -48,5 +48,5 @@
48
48
  "sass": "~1.84.0",
49
49
  "sass-loader": "^13.0.0"
50
50
  },
51
- "gitHead": "f3f2a1b80455f6300ce092c729bae016442259ff"
51
+ "gitHead": "2bb6159f2a0e79c36286ccdc3de5a0e77fb54d49"
52
52
  }
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // @license
3
3
  //
4
- // Copyright IBM Corp. 2020, 2023
4
+ // Copyright IBM Corp. 2020, 2025
5
5
  //
6
6
  // This source code is licensed under the Apache-2.0 license found in the
7
7
  // LICENSE file in the root directory of this source tree.
@@ -64,6 +64,12 @@
64
64
  vertical-align: middle;
65
65
  }
66
66
 
67
+ ::slotted(#{$c4d-prefix}-callout-quote:not(:first-child)) {
68
+ @include breakpoint(md) {
69
+ margin-inline-start: 0;
70
+ }
71
+ }
72
+
67
73
  .#{$prefix}--carousel__scroll-container {
68
74
  position: relative;
69
75
  overflow: hidden;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2024
2
+ * Copyright IBM Corp. 2016, 2025
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.
@@ -65,7 +65,6 @@
65
65
  :host(#{$c4d-prefix}-image)[heading] {
66
66
  display: block;
67
67
  margin-block: $spacing-07;
68
- max-inline-size: to-rem(640px);
69
68
 
70
69
  @include breakpoint(md) {
71
70
  margin-block: $spacing-07;
@@ -140,6 +139,8 @@
140
139
  color: $text-helper;
141
140
 
142
141
  margin-block-start: $spacing-03;
142
+
143
+ max-inline-size: to-rem(640px);
143
144
  }
144
145
 
145
146
  :host(#{$c4d-prefix}-image[lightbox-contrast='dark']) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2024
2
+ * Copyright IBM Corp. 2016, 2025
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.
@@ -87,7 +87,7 @@
87
87
  .#{$prefix}--link {
88
88
  display: flex;
89
89
  align-content: flex-start;
90
- padding: $spacing-04 0;
90
+ padding: $spacing-03 0;
91
91
  gap: $spacing-03;
92
92
  inline-size: 100%;
93
93
 
@@ -191,55 +191,71 @@
191
191
  display: inline-block;
192
192
  }
193
193
 
194
+ //Hiding bubble-pointer as bubble-quote is mobible only
194
195
  .#{$prefix}-bubble-quote {
195
- position: relative;
196
- padding: 2.5rem;
197
- border: 1px solid #8d8d8d;
198
- border-radius: 0.25rem;
199
- background: #f4f4f4;
200
- margin-block-end: 3.81rem; /* match svg pointer height */
201
- margin-inline: 0;
196
+ .bubble-pointer {
197
+ display: none;
198
+ }
199
+ }
202
200
 
203
- @include breakpoint-down(md) {
204
- /* mobile inline gutters for the bubble quote */
201
+ //Bubble-quote variation is mobile only
202
+ @include breakpoint-down(md) {
203
+ .#{$prefix}-bubble-quote {
204
+ position: relative;
205
+ padding: 2.5rem;
206
+ border: 1px solid #8d8d8d;
207
+ border-radius: 0.25rem;
208
+ background: #f4f4f4;
209
+ margin-block-end: 3.81rem; /* match svg pointer height */
205
210
  margin-inline: 16px;
206
211
  max-inline-size: calc(100% - 32px);
207
- }
208
212
 
209
- .bubble-pointer {
210
- --fill: #f4f4f4;
211
- --stroke: #8d8d8d;
213
+ .bubble-pointer {
214
+ --fill: #f4f4f4;
215
+ --stroke: #8d8d8d;
212
216
 
213
- position: absolute;
214
- inset-block-start: 100%;
215
- inset-inline-start: 2rem;
217
+ position: absolute;
216
218
 
217
- @include breakpoint-down(md) {
218
- /* adjusting the pointer top position a bit since the max-inline-size calc changes in mobile. */
219
- inset-block-start: calc(100% - 1px);
219
+ display: block;
220
+ inset-block-start: 100%;
221
+ inset-inline-start: 2rem;
220
222
  }
221
- }
222
223
 
223
- .bubble-pointer-fill {
224
- fill: var(--fill);
225
- }
224
+ .bubble-pointer-fill {
225
+ fill: var(--fill);
226
+ }
226
227
 
227
- .bubble-pointer-stroke {
228
- stroke: var(--stroke);
228
+ .bubble-pointer-stroke {
229
+ stroke: var(--stroke);
230
+ }
229
231
  }
230
232
  }
231
233
 
232
- :host([mark-type='bubble-quote']) {
233
- span.cds--quote__mark[part~='mark--opening'] {
234
- z-index: 1;
235
- inset-block-start: 2.5rem;
236
- inset-inline-start: 0.875rem;
234
+ @include breakpoint-down(md) {
235
+ :host([appearance='bubble-quote']),
236
+ :host([appearance='card']) {
237
+ span.cds--quote__mark[part~='mark--opening'] {
238
+ z-index: 1;
239
+ inset-block-start: 2.5rem;
240
+ inset-inline-start: 2.8rem;
241
+ }
242
+ }
243
+ }
237
244
 
238
- @include breakpoint-down(lg) {
239
- inset-inline-start: 1.25rem;
245
+ @include breakpoint-down(md) {
246
+ :host([appearance='bubble-quote'])[mark-type='corner-bracket'],
247
+ :host([appearance='card'])[mark-type='corner-bracket'] {
248
+ span.cds--quote__mark[part~='mark--opening'] {
249
+ inset-inline-start: 2.2rem;
240
250
  }
241
- @include breakpoint-down(md) {
242
- inset-inline-start: 2.8rem;
251
+ }
252
+ }
253
+
254
+ @include breakpoint-up(md) {
255
+ :host([appearance='bubble-quote'])[mark-type='corner-bracket'],
256
+ :host([appearance='card'])[mark-type='corner-bracket'] {
257
+ span.cds--quote__mark[part~='mark--opening'] {
258
+ inset-inline-start: -1.125rem;
243
259
  }
244
260
  }
245
261
  }