@carbon/styles 1.36.0-rc.0 → 1.36.1-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.36.0-rc.0",
4
+ "version": "1.36.1-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -40,11 +40,11 @@
40
40
  "dependencies": {
41
41
  "@carbon/colors": "^11.19.0",
42
42
  "@carbon/feature-flags": "^0.16.0",
43
- "@carbon/grid": "^11.19.0-rc.0",
44
- "@carbon/layout": "^11.19.0-rc.0",
43
+ "@carbon/grid": "^11.19.0",
44
+ "@carbon/layout": "^11.19.0",
45
45
  "@carbon/motion": "^11.15.0",
46
- "@carbon/themes": "^11.24.0-rc.0",
47
- "@carbon/type": "^11.23.0-rc.0",
46
+ "@carbon/themes": "^11.24.0",
47
+ "@carbon/type": "^11.23.0",
48
48
  "@ibm/plex": "6.0.0-next.6"
49
49
  },
50
50
  "devDependencies": {
@@ -65,5 +65,5 @@
65
65
  "scss/**/*.css",
66
66
  "css/**/*.css"
67
67
  ],
68
- "gitHead": "d51dfbb8dc951c6f609561a1e2935e8208bf6e30"
68
+ "gitHead": "30f17c6417c64542e422b7959e6633d8ffa0e061"
69
69
  }
@@ -223,12 +223,13 @@
223
223
  .#{$prefix}--checkbox-group__validation-msg,
224
224
  .#{$prefix}--checkbox__validation-msg {
225
225
  display: none;
226
- align-items: flex-end;
226
+ align-items: flex-start;
227
227
  margin-top: $spacing-02;
228
228
  }
229
229
 
230
230
  .#{$prefix}--checkbox__invalid-icon {
231
- margin: 0 convert.to-rem(1px) 0 convert.to-rem(3px);
231
+ min-width: convert.to-rem(16px);
232
+ margin: convert.to-rem(1px) convert.to-rem(1px) 0 convert.to-rem(3px);
232
233
  fill: $support-error;
233
234
  }
234
235
 
@@ -510,6 +510,10 @@
510
510
  @include type-style('body-compact-01');
511
511
  }
512
512
 
513
+ .#{$prefix}--batch-summary__divider {
514
+ padding-left: $spacing-03;
515
+ }
516
+
513
517
  //-------------------------------------------------
514
518
  //SMALL TOOLBAR
515
519
  //-------------------------------------------------
@@ -63,7 +63,8 @@
63
63
  .#{$prefix}--date-picker__input,
64
64
  .#{$prefix}--multi-select,
65
65
  .#{$prefix}--number__control-btn::before,
66
- .#{$prefix}--number__control-btn::after {
66
+ .#{$prefix}--number__control-btn::after,
67
+ .#{$prefix}--list-box input[role='combobox'] {
67
68
  background-color: $field-02;
68
69
  }
69
70
 
@@ -125,11 +125,11 @@ $notification-action-hover: (
125
125
  values: (
126
126
  (
127
127
  theme: themes.$white,
128
- value: map.get(notification.$notification-background-info, white-theme),
128
+ value: map.get(notification.$notification-action-hover, white-theme),
129
129
  ),
130
130
  (
131
131
  theme: themes.$g10,
132
- value: map.get(notification.$notification-background-info, g-10),
132
+ value: map.get(notification.$notification-action-hover, g-10),
133
133
  ),
134
134
  (
135
135
  theme: themes.$g90,
@@ -125,8 +125,8 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
125
125
  .#{$prefix}--tile--clickable.#{$prefix}--link--disabled
126
126
  .#{$prefix}--tile--disabled-icon {
127
127
  position: absolute;
128
- right: layout.density('padding-inline');
129
- bottom: layout.density('padding-inline');
128
+ inset-block-end: layout.density('padding-inline');
129
+ inset-inline-end: layout.density('padding-inline');
130
130
  }
131
131
 
132
132
  .#{$prefix}--tile--clickable .#{$prefix}--tile--icon {
@@ -157,11 +157,11 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
157
157
 
158
158
  .#{$prefix}--tile__checkmark {
159
159
  position: absolute;
160
- top: layout.density('padding-inline');
161
- right: layout.density('padding-inline');
162
160
  height: 1rem;
163
161
  border: none;
164
162
  background: transparent;
163
+ inset-block-start: layout.density('padding-inline');
164
+ inset-inline-end: layout.density('padding-inline');
165
165
  opacity: 0;
166
166
  transition: $duration-fast-02 motion(standard, productive);
167
167
 
@@ -181,13 +181,13 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
181
181
 
182
182
  .#{$prefix}--tile__chevron {
183
183
  position: absolute;
184
- right: 0;
185
- bottom: 0;
186
184
  display: flex;
187
185
  width: $-icon-container-size;
188
186
  height: $-icon-container-size;
189
187
  align-items: center;
190
188
  justify-content: center;
189
+ inset-block-end: 0;
190
+ inset-inline-end: 0;
191
191
 
192
192
  svg {
193
193
  fill: $icon-primary;
@@ -211,13 +211,13 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
211
211
  @include button-reset.reset;
212
212
 
213
213
  position: absolute;
214
- right: 0;
215
- bottom: 0;
216
214
  display: flex;
217
215
  width: $-icon-container-size;
218
216
  height: $-icon-container-size;
219
217
  align-items: center;
220
218
  justify-content: center;
219
+ inset-block-end: 0;
220
+ inset-inline-end: 0;
221
221
 
222
222
  &:focus {
223
223
  outline: 2px solid $focus;
@@ -239,7 +239,7 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
239
239
  cursor: pointer;
240
240
  font-family: inherit;
241
241
  font-size: inherit;
242
- text-align: left;
242
+ text-align: start;
243
243
  transition: max-height $duration-moderate-01 motion(standard, productive);
244
244
 
245
245
  @include type-style('body-compact-01');
@@ -27,10 +27,7 @@
27
27
 
28
28
  .#{$prefix}--time-picker__select {
29
29
  justify-content: center;
30
-
31
- &:not(:last-of-type) {
32
- margin: 0 $spacing-01;
33
- }
30
+ margin-left: $spacing-01;
34
31
  }
35
32
 
36
33
  .#{$prefix}--time-picker__input {
@@ -26,6 +26,21 @@ $base-font-size: 16px !default;
26
26
  @return math.div($px, $base-font-size) * 1rem;
27
27
  }
28
28
 
29
+ /// This function causes an error when using sass > 1.65.0
30
+ /// Replaced with `to-rem` function
31
+ /// @param {Number} $px - Number with px unit
32
+ /// @return {Number} Number with rem unit
33
+ /// @access public
34
+ /// @deprecated
35
+ /// @group @carbon/layout
36
+ @function rem($px) {
37
+ @if unit($px) != 'px' {
38
+ @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
39
+ }
40
+
41
+ @return math.div($px, $base-font-size) * 1rem;
42
+ }
43
+
29
44
  /// Convert a given px unit to a em unit
30
45
  /// @param {Number} $px - Number with px unit
31
46
  /// @return {Number} Number with em unit