@carbon/styles 1.46.0-rc.0 → 1.47.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.46.0-rc.0",
4
+ "version": "1.47.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -65,5 +65,5 @@
65
65
  "scss/**/*.css",
66
66
  "css/**/*.css"
67
67
  ],
68
- "gitHead": "89fe49b63bf2b4b5902d30f3bfeff2face55897e"
68
+ "gitHead": "c5ffdecd6cac213d5edc6aef7ab9157db1ca17e9"
69
69
  }
@@ -144,7 +144,8 @@ $content-padding: 0 0 0 $spacing-05 !default;
144
144
  }
145
145
 
146
146
  .#{$prefix}--accordion__wrapper {
147
- // Properties for when the accordion closes
147
+ // Properties for when the accordion is closed
148
+ overflow: hidden;
148
149
  padding: 0;
149
150
  max-block-size: 0;
150
151
  opacity: 0;
@@ -153,7 +154,6 @@ $content-padding: 0 0 0 $spacing-05 !default;
153
154
  }
154
155
 
155
156
  .#{$prefix}--accordion__content {
156
- overflow: hidden;
157
157
  padding-inline: layout.density('padding-inline');
158
158
 
159
159
  // Custom breakpoints based on issue #4993
@@ -199,7 +199,8 @@ $content-padding: 0 0 0 $spacing-05 !default;
199
199
  overflow: visible;
200
200
 
201
201
  .#{$prefix}--accordion__wrapper {
202
- // Properties for when the accordion opens
202
+ // Properties for when the accordion is open
203
+ overflow: visible;
203
204
  max-block-size: fit-content;
204
205
  opacity: 1;
205
206
  padding-block: $spacing-03;
@@ -377,6 +377,13 @@
377
377
 
378
378
  // No steppers
379
379
  .#{$prefix}--number--nosteppers input[type='number'] {
380
+ padding-inline-end: 0;
381
+ }
382
+
383
+ .#{$prefix}--number--nosteppers input[type='number'][data-invalid],
384
+ .#{$prefix}--number--nosteppers
385
+ .#{$prefix}--number__input-wrapper--warning
386
+ input[type='number'] {
380
387
  padding-inline-end: convert.to-rem(48px);
381
388
  }
382
389
 
@@ -329,7 +329,7 @@ $progress-indicator-bar-width: 1px inset transparent !default;
329
329
 
330
330
  .#{$prefix}--progress--vertical .#{$prefix}--progress-optional {
331
331
  position: static;
332
- margin: auto 0;
332
+ margin: 0 0 auto;
333
333
  inline-size: 100%;
334
334
  }
335
335