@carbon/styles 1.68.0 → 1.69.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.68.0",
4
+ "version": "1.69.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -67,5 +67,5 @@
67
67
  "scss/**/*.css",
68
68
  "css/**/*.css"
69
69
  ],
70
- "gitHead": "3141442e5ef367667c8f1d379a1b4a23f67992ad"
70
+ "gitHead": "8708f6dfd38bea7d5bd6d14ce34293c014cba87c"
71
71
  }
@@ -45,10 +45,6 @@
45
45
  clip-path $duration-fast-02 motion(standard, productive);
46
46
  }
47
47
 
48
- .#{$prefix}--batch-actions ~ .#{$prefix}--toolbar-content {
49
- clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
50
- }
51
-
52
48
  .#{$prefix}--toolbar-content .#{$prefix}--search .#{$prefix}--search-input {
53
49
  padding: 0 3rem;
54
50
  // For toolbar animation with (esp.) persistent search box
@@ -27,7 +27,7 @@
27
27
  display: inline-grid;
28
28
  align-items: center;
29
29
  grid-gap: 0 convert.to-rem(24px);
30
- grid-template: auto auto / auto min-content;
30
+ grid-template: auto / auto min-content;
31
31
 
32
32
  .#{$prefix}--label {
33
33
  @include type-style('body-compact-01');
@@ -261,6 +261,8 @@
261
261
  .#{$prefix}--list-box__wrapper--fluid
262
262
  .#{$prefix}--skeleton
263
263
  .#{$prefix}--list-box__field {
264
+ @include skeleton;
265
+
264
266
  position: absolute;
265
267
  padding: 0;
266
268
  block-size: convert.to-rem(8px);
@@ -272,6 +274,8 @@
272
274
  .#{$prefix}--list-box__wrapper--fluid
273
275
  .#{$prefix}--skeleton
274
276
  .#{$prefix}--list-box__label {
277
+ @include skeleton;
278
+
275
279
  position: absolute;
276
280
  block-size: convert.to-rem(8px);
277
281
  inline-size: 25%;
@@ -279,16 +283,6 @@
279
283
  inset-inline-start: $spacing-05;
280
284
  }
281
285
 
282
- .#{$prefix}--list-box__wrapper--fluid
283
- .#{$prefix}--skeleton
284
- .#{$prefix}--list-box__field,
285
- .#{$prefix}--list-box__wrapper--fluid
286
- .#{$prefix}--skeleton
287
- .#{$prefix}--list-box__label {
288
- animation: 3000ms ease-in-out skeleton infinite;
289
- background: $skeleton-element;
290
- }
291
-
292
286
  // Slug styles
293
287
  .#{$prefix}--list-box__wrapper--fluid.#{$prefix}--list-box__wrapper--slug
294
288
  .#{$prefix}--slug {
@@ -445,10 +445,12 @@
445
445
  content: '';
446
446
  inline-size: convert.to-rem(1px);
447
447
  }
448
+
448
449
  .#{$prefix}--number__input-wrapper--slug .#{$prefix}--slug::before {
449
450
  display: none;
450
451
  inset-inline-start: convert.to-rem(-16px);
451
452
  }
453
+
452
454
  .#{$prefix}--number__control-btn::after {
453
455
  display: block;
454
456
  inset-inline-end: 0;
@@ -459,19 +461,23 @@
459
461
  display: block;
460
462
  inset-inline-end: $spacing-08;
461
463
  }
464
+
462
465
  .#{$prefix}--number__input-wrapper--slug
463
466
  .#{$prefix}--number__control-btn:focus::before {
464
467
  display: none;
465
468
  }
469
+
466
470
  .#{$prefix}--number__control-btn:hover::after,
467
471
  .#{$prefix}--number__control-btn:hover::before {
468
472
  display: none;
469
473
  inset-inline-end: 0;
470
474
  }
475
+
471
476
  .#{$prefix}--number__input-wrapper:has(.#{$prefix}--number__control-btn:hover)
472
477
  ~ .#{$prefix}--number__input-wrapper--slug::after {
473
478
  display: none;
474
479
  }
480
+
475
481
  .#{$prefix}--number__control-btn:has(.up-icon)::after,
476
482
  .#{$prefix}--number__control-btn:has(.up-icon)::before {
477
483
  display: none;
@@ -480,10 +486,12 @@
480
486
  .#{$prefix}--number__input-wrapper--slug .#{$prefix}--number__invalid {
481
487
  inset-inline-end: $spacing-13 - $spacing-05;
482
488
  }
489
+
483
490
  .#{$prefix}--number__input-wrapper--slug:has(.#{$prefix}--number__invalid)
484
491
  .#{$prefix}--slug::before {
485
492
  display: block;
486
493
  }
494
+
487
495
  .#{$prefix}--number
488
496
  .#{$prefix}--number__input-wrapper--slug
489
497
  input[data-invalid],
@@ -500,17 +508,31 @@
500
508
 
501
509
  padding-inline-end: convert.to-rem(145px);
502
510
  }
511
+
503
512
  // Skeleton State
513
+
504
514
  .#{$prefix}--number.#{$prefix}--skeleton {
505
515
  @include skeleton;
506
516
 
507
- block-size: 2.5rem;
508
517
  inline-size: 100%;
509
518
 
510
519
  input[type='number'] {
511
520
  display: none;
512
521
  }
513
522
  }
523
+
524
+ .#{$prefix}--number.#{$prefix}--skeleton.#{$prefix}--number--sm {
525
+ block-size: $spacing-07;
526
+ }
527
+
528
+ .#{$prefix}--number.#{$prefix}--skeleton.#{$prefix}--number--md {
529
+ block-size: $spacing-08;
530
+ }
531
+
532
+ .#{$prefix}--number.#{$prefix}--skeleton.#{$prefix}--number--lg {
533
+ block-size: $spacing-09;
534
+ }
535
+
514
536
  // Windows HCM fix
515
537
 
516
538
  .#{$prefix}--number__control-btn:hover,
@@ -526,6 +548,7 @@
526
548
  @include high-contrast-mode('icon-fill');
527
549
  }
528
550
  }
551
+
529
552
  .#{$prefix}--number__controls:hover .#{$prefix}--number__control-btn::after {
530
553
  display: none;
531
554
  }
@@ -538,6 +561,7 @@
538
561
  .#{$prefix}--number__control-btn:hover {
539
562
  box-shadow: 0 -1px 0 $ai-border-strong inset;
540
563
  }
564
+
541
565
  //hide dividers on button focus
542
566
  .#{$prefix}--number__controls:focus-within
543
567
  .#{$prefix}--number__control-btn::after {