@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.
- package/lib/index.js +159 -477
- package/package.json +11 -11
- package/scss/grid/modules/_css-grid.scss +9 -1
- package/scss/themes/compat/generated/_themes.scss +192 -192
- package/scss/themes/generated/_mixins.scss +0 -38
- package/scss/themes/generated/_themes.scss +0 -24
- package/scss/themes/generated/_tokens.scss +0 -20
- package/scss/themes/modules/generated/_themes.scss +293 -293
- package/scss/themes/modules/generated/_tokens.scss +8 -8
- package/scss/type/modules/_styles.scss +2 -1
- package/src/__tests__/__snapshots__/PublicAPI-test.js.snap +0 -2
- package/umd/index.js +161 -479
|
@@ -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-
|
|
230
|
-
$link-
|
|
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
|
|
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",
|