@carbon/styles 1.6.0-rc.0 → 1.8.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.6.0-rc.0",
4
+ "version": "1.8.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -34,11 +34,11 @@
34
34
  "dependencies": {
35
35
  "@carbon/colors": "^11.3.0",
36
36
  "@carbon/feature-flags": "^0.8.0",
37
- "@carbon/grid": "^11.3.0",
38
- "@carbon/layout": "^11.3.0",
37
+ "@carbon/grid": "^11.4.0-rc.0",
38
+ "@carbon/layout": "^11.4.0-rc.0",
39
39
  "@carbon/motion": "^11.2.0",
40
- "@carbon/themes": "^11.4.0",
41
- "@carbon/type": "^11.4.0",
40
+ "@carbon/themes": "^11.5.0-rc.0",
41
+ "@carbon/type": "^11.5.0-rc.0",
42
42
  "@ibm/plex": "6.0.0-next.6"
43
43
  },
44
44
  "devDependencies": {
@@ -59,5 +59,5 @@
59
59
  "scss/**/*.css",
60
60
  "css/**/*.css"
61
61
  ],
62
- "gitHead": "82f5f0dcc24dc63a8feebbfb653333ae08425984"
62
+ "gitHead": "24655f8eaf108c43ac036e71360d4d3dc09a3bf4"
63
63
  }
@@ -63,11 +63,7 @@ $aspect-ratios: (
63
63
  $height: list.nth($aspect-ratio, 2);
64
64
 
65
65
  .#{$prefix}--aspect-ratio--#{$width}x#{$height}::before {
66
- @if meta.function-exists('div', 'math') {
67
- padding-top: math.percentage(math.div($height, $width));
68
- } @else {
69
- padding-top: math.percentage(($height / $width));
70
- }
66
+ padding-top: math.percentage(math.div($height, $width));
71
67
  }
72
68
  }
73
69
  }
@@ -348,7 +348,7 @@
348
348
 
349
349
  .#{$prefix}--data-table thead th.#{$prefix}--table-column-checkbox,
350
350
  .#{$prefix}--data-table tbody td.#{$prefix}--table-column-checkbox {
351
- width: 2.5rem;
351
+ min-width: 2.5rem;
352
352
  // spacing between checkbox / chevron and next cell should be 8px / 0.5rem
353
353
  padding-right: rem(4px);
354
354
  padding-left: 1rem;
@@ -367,6 +367,10 @@
367
367
  fill: $icon-secondary;
368
368
  }
369
369
 
370
+ .#{$prefix}--search--expandable.#{$prefix}--search--disabled svg {
371
+ fill: $icon-disabled;
372
+ }
373
+
370
374
  // Windows HCM fix
371
375
  .#{$prefix}--search-close svg,
372
376
  .#{$prefix}--search-magnifier-icon {
@@ -54,7 +54,7 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
54
54
 
55
55
  .#{$prefix}--tab--list {
56
56
  display: flex;
57
- width: 100%;
57
+ width: auto;
58
58
  overflow-x: auto;
59
59
  scroll-behavior: smooth;
60
60
  scrollbar-width: none;
@@ -117,7 +117,7 @@
117
117
  .#{$prefix}--tag--outline {
118
118
  @include tag-theme($background, $text-primary, $layer-hover);
119
119
 
120
- box-shadow: inset 0 0 0 1px $background-inverse;
120
+ box-shadow: 0 0 0 1px $background-inverse;
121
121
  }
122
122
 
123
123
  .#{$prefix}--tag--disabled,
@@ -125,6 +125,8 @@
125
125
  .#{$prefix}--tag--interactive.#{$prefix}--tag--disabled {
126
126
  @include tag-theme($layer, $text-disabled);
127
127
 
128
+ box-shadow: none;
129
+
128
130
  &:hover {
129
131
  cursor: not-allowed;
130
132
  }