@carbon/styles 1.70.0 → 1.71.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/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.71.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"scss/**/*.css",
|
|
76
76
|
"css/**/*.css"
|
|
77
77
|
],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "bd4f60433ff12a7e880a43aeffd71caea62c1e6b"
|
|
79
79
|
}
|
|
@@ -201,10 +201,14 @@
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
// AILabel styles
|
|
204
|
+
.#{$prefix}--select--fluid
|
|
205
|
+
.#{$prefix}--select--decorator
|
|
206
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
207
|
+
> *,
|
|
204
208
|
.#{$prefix}--select--fluid .#{$prefix}--select--slug .#{$prefix}--ai-label,
|
|
205
209
|
.#{$prefix}--select--fluid .#{$prefix}--select--slug .#{$prefix}--slug {
|
|
206
210
|
inset-block-start: convert.to-rem(42px);
|
|
207
|
-
inset-inline-end: $spacing-
|
|
211
|
+
inset-inline-end: $spacing-09;
|
|
208
212
|
}
|
|
209
213
|
|
|
210
214
|
.#{$prefix}--select--fluid
|
|
@@ -283,6 +283,9 @@
|
|
|
283
283
|
|
|
284
284
|
$divider-width: 1px;
|
|
285
285
|
|
|
286
|
+
.#{$prefix}--select--decorator
|
|
287
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
288
|
+
> *,
|
|
286
289
|
.#{$prefix}--select--slug .#{$prefix}--ai-label,
|
|
287
290
|
.#{$prefix}--select--slug .#{$prefix}--slug {
|
|
288
291
|
position: absolute;
|
|
@@ -292,6 +295,12 @@
|
|
|
292
295
|
transform: translateY(-50%);
|
|
293
296
|
}
|
|
294
297
|
|
|
298
|
+
.#{$prefix}--select--decorator
|
|
299
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
300
|
+
> *::after,
|
|
301
|
+
.#{$prefix}--select--decorator
|
|
302
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
303
|
+
> *::before,
|
|
295
304
|
.#{$prefix}--select--slug .#{$prefix}--ai-label::after,
|
|
296
305
|
.#{$prefix}--select--slug .#{$prefix}--ai-label::before,
|
|
297
306
|
.#{$prefix}--select--slug .#{$prefix}--slug::after,
|
|
@@ -303,48 +312,92 @@
|
|
|
303
312
|
inline-size: convert.to-rem(1px);
|
|
304
313
|
}
|
|
305
314
|
|
|
315
|
+
.#{$prefix}--select--decorator
|
|
316
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
317
|
+
> *::before,
|
|
306
318
|
.#{$prefix}--select--slug .#{$prefix}--ai-label::before,
|
|
307
319
|
.#{$prefix}--select--slug .#{$prefix}--slug::before {
|
|
308
320
|
display: none;
|
|
309
321
|
inset-inline-start: calc(-#{$spacing-03} - #{$divider-width});
|
|
310
322
|
}
|
|
311
323
|
|
|
324
|
+
.#{$prefix}--select--decorator
|
|
325
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
326
|
+
> *::after,
|
|
312
327
|
.#{$prefix}--select--slug .#{$prefix}--ai-label::after,
|
|
313
328
|
.#{$prefix}--select--slug .#{$prefix}--slug::after {
|
|
314
329
|
display: block;
|
|
330
|
+
inset-block-start: 0;
|
|
315
331
|
inset-inline-end: calc(-#{$spacing-03} - #{$divider-width});
|
|
316
332
|
}
|
|
317
333
|
|
|
334
|
+
.#{$prefix}--select--decorator
|
|
335
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
336
|
+
> .#{$prefix}--ai-label--revert::before,
|
|
337
|
+
.#{$prefix}--select--slug .#{$prefix}--ai-label--revert::before,
|
|
338
|
+
.#{$prefix}--select--slug .#{$prefix}--slug--revert::before {
|
|
339
|
+
inset-block-start: 0.5rem;
|
|
340
|
+
inset-inline-start: 0;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.#{$prefix}--select--decorator
|
|
344
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
345
|
+
> .#{$prefix}--ai-label--revert,
|
|
346
|
+
.#{$prefix}--select--slug .#{$prefix}--ai-label--revert {
|
|
347
|
+
inset-inline-end: convert.to-rem(41px);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.#{$prefix}--select--decorator .#{$prefix}--ai-label--revert::after,
|
|
318
351
|
.#{$prefix}--select--slug .#{$prefix}--ai-label--revert::after,
|
|
319
352
|
.#{$prefix}--select--slug .#{$prefix}--slug--revert::after {
|
|
320
353
|
inset-block-start: convert.to-rem(8px);
|
|
321
|
-
inset-inline-end:
|
|
354
|
+
inset-inline-end: -($divider-width);
|
|
322
355
|
}
|
|
323
356
|
|
|
324
|
-
.#{$prefix}--select--
|
|
325
|
-
.#{$prefix}--select-input:has(
|
|
326
|
-
|
|
357
|
+
.#{$prefix}--select--decorator
|
|
358
|
+
.#{$prefix}--select-input:has(
|
|
359
|
+
~ .#{$prefix}--select__inner-wrapper--decorator
|
|
327
360
|
),
|
|
328
361
|
.#{$prefix}--select--slug
|
|
329
|
-
.#{$prefix}--select-input:has(~ .#{$prefix}--
|
|
330
|
-
|
|
331
|
-
) {
|
|
332
|
-
@include ai-gradient;
|
|
333
|
-
|
|
362
|
+
.#{$prefix}--select-input:has(~ .#{$prefix}--ai-label),
|
|
363
|
+
.#{$prefix}--select--slug .#{$prefix}--select-input:has(~ .#{$prefix}--slug) {
|
|
334
364
|
padding-inline-end: $spacing-10;
|
|
335
365
|
}
|
|
336
366
|
|
|
367
|
+
.#{$prefix}--select--decorator:has(.#{$prefix}--select__invalid-icon)
|
|
368
|
+
.#{$prefix}--select-input:has(
|
|
369
|
+
~ .#{$prefix}--select__inner-wrapper--decorator
|
|
370
|
+
),
|
|
337
371
|
.#{$prefix}--select--slug:has(.#{$prefix}--select__invalid-icon)
|
|
372
|
+
.#{$prefix}--select-input:has(~ .#{$prefix}--ai-label),
|
|
373
|
+
.#{$prefix}--select--slug:has(.#{$prefix}--select__invalid-icon)
|
|
374
|
+
.#{$prefix}--select-input:has(~ .#{$prefix}--slug) {
|
|
375
|
+
padding-inline-end: $spacing-12;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.#{$prefix}--select--decorator
|
|
379
|
+
.#{$prefix}--select-input:has(
|
|
380
|
+
~ .#{$prefix}--select__inner-wrapper--decorator .#{$prefix}--ai-label
|
|
381
|
+
):not(
|
|
382
|
+
:has(
|
|
383
|
+
~ .#{$prefix}--select__inner-wrapper--decorator
|
|
384
|
+
.#{$prefix}--ai-label--revert
|
|
385
|
+
)
|
|
386
|
+
),
|
|
387
|
+
.#{$prefix}--select--slug
|
|
338
388
|
.#{$prefix}--select-input:has(~ .#{$prefix}--ai-label):not(
|
|
339
389
|
:has(~ .#{$prefix}--ai-label--revert)
|
|
340
390
|
),
|
|
341
|
-
.#{$prefix}--select--slug
|
|
391
|
+
.#{$prefix}--select--slug
|
|
342
392
|
.#{$prefix}--select-input:has(~ .#{$prefix}--slug):not(
|
|
343
393
|
:has(~ .#{$prefix}--slug--revert)
|
|
344
394
|
) {
|
|
345
|
-
|
|
395
|
+
@include ai-gradient;
|
|
346
396
|
}
|
|
347
397
|
|
|
398
|
+
.#{$prefix}--select--decorator:has(.#{$prefix}--select__invalid-icon)
|
|
399
|
+
.#{$prefix}--select__inner-wrapper--decorator
|
|
400
|
+
> *::before,
|
|
348
401
|
.#{$prefix}--select--slug:has(.#{$prefix}--select__invalid-icon)
|
|
349
402
|
.#{$prefix}--ai-label::before,
|
|
350
403
|
.#{$prefix}--select--slug:has(.#{$prefix}--select__invalid-icon)
|
|
@@ -352,6 +405,10 @@
|
|
|
352
405
|
display: block;
|
|
353
406
|
}
|
|
354
407
|
|
|
408
|
+
.#{$prefix}--select--decorator
|
|
409
|
+
.#{$prefix}--select-input__wrapper
|
|
410
|
+
.#{$prefix}--select-input
|
|
411
|
+
~ .#{$prefix}--select__invalid-icon,
|
|
355
412
|
.#{$prefix}--select--slug
|
|
356
413
|
.#{$prefix}--select-input__wrapper[data-invalid]
|
|
357
414
|
.#{$prefix}--select-input
|