@carbon/elements 10.51.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/elements",
|
|
3
3
|
"description": "A collection of design elements in code for the IBM Design Language",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.52.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"clean": "rimraf es lib umd && node tasks/clean.js"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@carbon/colors": "^10.
|
|
39
|
-
"@carbon/grid": "^10.
|
|
40
|
-
"@carbon/icons": "^10.
|
|
38
|
+
"@carbon/colors": "^10.36.0-rc.0",
|
|
39
|
+
"@carbon/grid": "^10.41.0-rc.0",
|
|
40
|
+
"@carbon/icons": "^10.46.0-rc.0",
|
|
41
41
|
"@carbon/import-once": "^10.6.0",
|
|
42
|
-
"@carbon/layout": "^10.
|
|
43
|
-
"@carbon/motion": "^10.
|
|
44
|
-
"@carbon/themes": "^10.
|
|
45
|
-
"@carbon/type": "^10.
|
|
42
|
+
"@carbon/layout": "^10.36.0-rc.0",
|
|
43
|
+
"@carbon/motion": "^10.28.0-rc.0",
|
|
44
|
+
"@carbon/themes": "^10.51.0-rc.0",
|
|
45
|
+
"@carbon/type": "^10.41.0-rc.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@carbon/cli": "^10.
|
|
48
|
+
"@carbon/cli": "^10.33.0-rc.0",
|
|
49
49
|
"fs-extra": "^10.0.0",
|
|
50
50
|
"klaw-sync": "^6.0.0",
|
|
51
51
|
"replace-in-file": "^3.4.2",
|
|
52
52
|
"rimraf": "^3.0.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6f5bca3be0e19dc7590617c704a2834514b3176b"
|
|
55
55
|
}
|
|
@@ -77,6 +77,8 @@ $white: (
|
|
|
77
77
|
layer-selected-hover-03: #d1d1d1,
|
|
78
78
|
layer-selected-inverse: #161616,
|
|
79
79
|
link-inverse: #78a9ff,
|
|
80
|
+
link-inverse-active: #f4f4f4,
|
|
81
|
+
link-inverse-hover: #a6c8ff,
|
|
80
82
|
link-primary: #0f62fe,
|
|
81
83
|
link-primary-hover: #0043ce,
|
|
82
84
|
link-secondary: #0043ce,
|
|
@@ -180,6 +182,8 @@ $g10: (
|
|
|
180
182
|
layer-selected-hover-03: #d1d1d1,
|
|
181
183
|
layer-selected-inverse: #161616,
|
|
182
184
|
link-inverse: #78a9ff,
|
|
185
|
+
link-inverse-active: #f4f4f4,
|
|
186
|
+
link-inverse-hover: #a6c8ff,
|
|
183
187
|
link-primary: #0f62fe,
|
|
184
188
|
link-primary-hover: #0043ce,
|
|
185
189
|
link-secondary: #0043ce,
|
|
@@ -283,6 +287,8 @@ $g90: (
|
|
|
283
287
|
layer-selected-hover-03: #7a7a7a,
|
|
284
288
|
layer-selected-inverse: #f4f4f4,
|
|
285
289
|
link-inverse: #0f62fe,
|
|
290
|
+
link-inverse-active: #161616,
|
|
291
|
+
link-inverse-hover: #0043ce,
|
|
286
292
|
link-primary: #78a9ff,
|
|
287
293
|
link-primary-hover: #a6c8ff,
|
|
288
294
|
link-secondary: #a6c8ff,
|
|
@@ -386,6 +392,8 @@ $g100: (
|
|
|
386
392
|
layer-selected-hover-03: #5e5e5e,
|
|
387
393
|
layer-selected-inverse: #f4f4f4,
|
|
388
394
|
link-inverse: #0f62fe,
|
|
395
|
+
link-inverse-active: #161616,
|
|
396
|
+
link-inverse-hover: #0043ce,
|
|
389
397
|
link-primary: #78a9ff,
|
|
390
398
|
link-primary-hover: #a6c8ff,
|
|
391
399
|
link-secondary: #a6c8ff,
|
|
@@ -217,11 +217,17 @@ $link-primary-hover: _get('link-primary-hover') !default;
|
|
|
217
217
|
/// The CSS Custom Property for the `link-secondary` token
|
|
218
218
|
$link-secondary: _get('link-secondary') !default;
|
|
219
219
|
|
|
220
|
+
/// The CSS Custom Property for the `link-visited` token
|
|
221
|
+
$link-visited: _get('link-visited') !default;
|
|
222
|
+
|
|
220
223
|
/// The CSS Custom Property for the `link-inverse` token
|
|
221
224
|
$link-inverse: _get('link-inverse') !default;
|
|
222
225
|
|
|
223
|
-
/// The CSS Custom Property for the `link-
|
|
224
|
-
$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;
|
|
225
231
|
|
|
226
232
|
/// The CSS Custom Property for the `icon-primary` token
|
|
227
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
|