@carbon/elements 10.49.0 → 10.52.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.
@@ -88,9 +88,6 @@ $layer-selected-03: _get('layer-selected-03') !default;
88
88
  /// The CSS Custom Property for the `layer-selected-hover-03` token
89
89
  $layer-selected-hover-03: _get('layer-selected-hover-03') !default;
90
90
 
91
- /// The CSS Custom Property for the `layer-disabled` token
92
- $layer-disabled: _get('layer-disabled') !default;
93
-
94
91
  /// The CSS Custom Property for the `layer-selected-inverse` token
95
92
  $layer-selected-inverse: _get('layer-selected-inverse') !default;
96
93
 
@@ -142,9 +139,6 @@ $field-03: _get('field-03') !default;
142
139
  /// The CSS Custom Property for the `field-hover-03` token
143
140
  $field-hover-03: _get('field-hover-03') !default;
144
141
 
145
- /// The CSS Custom Property for the `field-disabled` token
146
- $field-disabled: _get('field-disabled') !default;
147
-
148
142
  /// The CSS Custom Property for the `interactive` token
149
143
  $interactive: _get('interactive') !default;
150
144
 
@@ -223,11 +217,17 @@ $link-primary-hover: _get('link-primary-hover') !default;
223
217
  /// The CSS Custom Property for the `link-secondary` token
224
218
  $link-secondary: _get('link-secondary') !default;
225
219
 
220
+ /// The CSS Custom Property for the `link-visited` token
221
+ $link-visited: _get('link-visited') !default;
222
+
226
223
  /// The CSS Custom Property for the `link-inverse` token
227
224
  $link-inverse: _get('link-inverse') !default;
228
225
 
229
- /// The CSS Custom Property for the `link-visited` token
230
- $link-visited: _get('link-visited') !default;
226
+ /// The CSS Custom Property for the `link-inverse-active` token
227
+ $link-inverse-active: _get('link-inverse-active') !default;
228
+
229
+ /// The CSS Custom Property for the `link-inverse-hover` token
230
+ $link-inverse-hover: _get('link-inverse-hover') !default;
231
231
 
232
232
  /// The CSS Custom Property for the `icon-primary` token
233
233
  $icon-primary: _get('icon-primary') !default;
@@ -8,6 +8,7 @@
8
8
  // stylelint-disable number-max-precision
9
9
 
10
10
  @use 'sass:map';
11
+ @use 'sass:math';
11
12
  @use '@carbon/layout';
12
13
  @use 'font-family';
13
14
  @use 'scale';
@@ -696,7 +697,7 @@ $tokens: (
696
697
  /// @access public
697
698
  /// @group @carbon/type
698
699
  @function strip-unit($value) {
699
- @return $value / ($value * 0 + 1);
700
+ @return math.div($value, $value * 0 + 1);
700
701
  }
701
702
 
702
703
  /// This helper includes fluid type styles for the given token value. Fluid type
@@ -125,7 +125,6 @@ Array [
125
125
  "field",
126
126
  "field01",
127
127
  "field02",
128
- "fieldDisabled",
129
128
  "fieldHover",
130
129
  "fluid",
131
130
  "fluidDisplay01",
@@ -234,7 +233,6 @@ Array [
234
233
  "layerAccentActive",
235
234
  "layerAccentHover",
236
235
  "layerActive",
237
- "layerDisabled",
238
236
  "layerHover",
239
237
  "layerSelected",
240
238
  "layerSelectedDisabled",