@carbon/elements 11.0.0-rc.0 → 11.0.2
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/es/index.js +1 -1
- package/index.scss +13 -0
- package/lib/index.js +0 -4
- package/package.json +12 -12
- package/src/__tests__/__snapshots__/PublicAPI-test.js.snap +0 -1
- package/src/index.js +0 -1
- package/umd/index.js +0 -4
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { black, black100, blue, blue10, blue100, blue20, blue30, blue40, blue50, blue60, blue70, blue80, blue90, colors, coolGray, coolGray10, coolGray100, coolGray20, coolGray30, coolGray40, coolGray50, coolGray60, coolGray70, coolGray80, coolGray90, cyan, cyan10, cyan100, cyan20, cyan30, cyan40, cyan50, cyan60, cyan70, cyan80, cyan90, gray, gray10, gray100, gray20, gray30, gray40, gray50, gray60, gray70, gray80, gray90, green, green10, green100, green20, green30, green40, green50, green60, green70, green80, green90, magenta, magenta10, magenta100, magenta20, magenta30, magenta40, magenta50, magenta60, magenta70, magenta80, magenta90, orange, orange40, orange60, orange70, purple, purple10, purple100, purple20, purple30, purple40, purple50, purple60, purple70, purple80, purple90, red, red10, red100, red20, red30, red40, red50, red60, red70, red80, red90, rgba, teal, teal10, teal100, teal20, teal30, teal40, teal50, teal60, teal70, teal80, teal90, warmGray, warmGray10, warmGray100, warmGray20, warmGray30, warmGray40, warmGray50, warmGray60, warmGray70, warmGray80, warmGray90, white0, yellow, yellow20, yellow30, yellow40, yellow50 } from '@carbon/colors';
|
|
2
2
|
export { fluid, fontFamilies, fontFamily, fontWeight, fontWeights, getTypeSize, print, reset, scale, styles, unstable_tokens } from '@carbon/type';
|
|
3
|
-
export { baseFontSize, breakpoint, breakpointDown, breakpointUp, breakpoints, container, em, fluidSpacing, iconSize,
|
|
3
|
+
export { baseFontSize, breakpoint, breakpointDown, breakpointUp, breakpoints, container, em, fluidSpacing, iconSize, miniUnit, miniUnits, px, rem, spacing } from '@carbon/layout';
|
|
4
4
|
export * from '@carbon/themes';
|
|
5
5
|
export { easings, fast01, fast02, moderate01, moderate02, motion, slow01, slow02 } from '@carbon/motion';
|
package/index.scss
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2018, 2018
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@forward '@carbon/colors';
|
|
9
|
+
@forward '@carbon/themes';
|
|
10
|
+
@forward '@carbon/layout';
|
|
11
|
+
@forward '@carbon/grid' hide $prefix;
|
|
12
|
+
@forward '@carbon/type' hide $prefix;
|
|
13
|
+
@forward '@carbon/motion';
|
package/lib/index.js
CHANGED
|
@@ -586,10 +586,6 @@ Object.defineProperty(exports, 'iconSize', {
|
|
|
586
586
|
enumerable: true,
|
|
587
587
|
get: function () { return layout.iconSize; }
|
|
588
588
|
});
|
|
589
|
-
Object.defineProperty(exports, 'layout', {
|
|
590
|
-
enumerable: true,
|
|
591
|
-
get: function () { return layout.layout; }
|
|
592
|
-
});
|
|
593
589
|
Object.defineProperty(exports, 'miniUnit', {
|
|
594
590
|
enumerable: true,
|
|
595
591
|
get: function () { return layout.miniUnit; }
|
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": "11.0.
|
|
4
|
+
"version": "11.0.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"es",
|
|
16
16
|
"lib",
|
|
17
|
-
"scss",
|
|
18
17
|
"src",
|
|
19
|
-
"umd"
|
|
18
|
+
"umd",
|
|
19
|
+
"index.scss"
|
|
20
20
|
],
|
|
21
21
|
"keywords": [
|
|
22
22
|
"ibm",
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
"clean": "rimraf es lib umd"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@carbon/colors": "^11.0.0
|
|
39
|
-
"@carbon/grid": "^11.0.0
|
|
40
|
-
"@carbon/icons": "^11.0.
|
|
41
|
-
"@carbon/layout": "^11.0.0
|
|
42
|
-
"@carbon/motion": "^11.0.0
|
|
43
|
-
"@carbon/themes": "^11.0.
|
|
44
|
-
"@carbon/type": "^11.0.0
|
|
38
|
+
"@carbon/colors": "^11.0.0",
|
|
39
|
+
"@carbon/grid": "^11.0.0",
|
|
40
|
+
"@carbon/icons": "^11.0.1",
|
|
41
|
+
"@carbon/layout": "^11.0.0",
|
|
42
|
+
"@carbon/motion": "^11.0.0",
|
|
43
|
+
"@carbon/themes": "^11.0.1",
|
|
44
|
+
"@carbon/type": "^11.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@carbon/cli": "^11.0.0
|
|
47
|
+
"@carbon/cli": "^11.0.0",
|
|
48
48
|
"fs-extra": "^10.0.0",
|
|
49
49
|
"klaw-sync": "^6.0.0",
|
|
50
50
|
"replace-in-file": "^3.4.2",
|
|
51
51
|
"rimraf": "^3.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "28e70f9534f5b07a5d23ef1350d362203b1155af"
|
|
54
54
|
}
|
package/src/index.js
CHANGED
package/umd/index.js
CHANGED
|
@@ -580,10 +580,6 @@
|
|
|
580
580
|
enumerable: true,
|
|
581
581
|
get: function () { return layout.iconSize; }
|
|
582
582
|
});
|
|
583
|
-
Object.defineProperty(exports, 'layout', {
|
|
584
|
-
enumerable: true,
|
|
585
|
-
get: function () { return layout.layout; }
|
|
586
|
-
});
|
|
587
583
|
Object.defineProperty(exports, 'miniUnit', {
|
|
588
584
|
enumerable: true,
|
|
589
585
|
get: function () { return layout.miniUnit; }
|