@brightlayer-ui/colors 3.0.1 → 3.1.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/CHANGELOG.md +16 -0
- package/LICENSES.json +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -6
- package/dist/palette.js +13 -15
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v3.1.0 (April 15, 2022)
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added top level export `BLUIColors`.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Changed build module from `commonjs` to `es2020` ([#47](https://github.com/brightlayer-ui/colors/issues/47)).
|
|
12
|
+
|
|
13
|
+
## Package Migration Notice
|
|
14
|
+
|
|
15
|
+
Previous versions listed after this indicator refer to our deprecated `@pxblue` packages.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
3
19
|
## v3.0.1 (October 20, 2021)
|
|
4
20
|
|
|
5
21
|
### Changed
|
package/LICENSES.json
ADDED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
Copyright (c) 2018-present, Eaton
|
|
4
3
|
|
|
@@ -6,8 +5,6 @@ All rights reserved.
|
|
|
6
5
|
|
|
7
6
|
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
8
7
|
**/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__export(require("./palette"));
|
|
8
|
+
export * from './palette';
|
|
9
|
+
import * as BLUIColors_1 from './palette';
|
|
10
|
+
export { BLUIColors_1 as BLUIColors };
|
package/dist/palette.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
1
|
/* Primary Colors / User Interface Colors */
|
|
4
|
-
|
|
2
|
+
export var blue = {
|
|
5
3
|
50: '#e0eff8',
|
|
6
4
|
100: '#b3d7ec',
|
|
7
5
|
200: '#80bde0',
|
|
@@ -14,7 +12,7 @@ exports.blue = {
|
|
|
14
12
|
900: '#004b9e',
|
|
15
13
|
contrastDefaultColor: 'light',
|
|
16
14
|
};
|
|
17
|
-
|
|
15
|
+
export var white = {
|
|
18
16
|
50: '#ffffff',
|
|
19
17
|
100: '#fbfbfb',
|
|
20
18
|
200: '#f7f8f8',
|
|
@@ -27,7 +25,7 @@ exports.white = {
|
|
|
27
25
|
900: '#e2e5e5',
|
|
28
26
|
contrastDefaultColor: 'dark',
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
export var gray = {
|
|
31
29
|
50: '#eef0f0',
|
|
32
30
|
100: '#d5d8da',
|
|
33
31
|
200: '#b9bfc2',
|
|
@@ -40,7 +38,7 @@ exports.gray = {
|
|
|
40
38
|
900: '#424e54',
|
|
41
39
|
contrastDefaultColor: 'light',
|
|
42
40
|
};
|
|
43
|
-
|
|
41
|
+
export var black = {
|
|
44
42
|
50: '#e8eaea',
|
|
45
43
|
100: '#c6cacc',
|
|
46
44
|
200: '#a1a7aa',
|
|
@@ -53,7 +51,7 @@ exports.black = {
|
|
|
53
51
|
900: '#1d2529',
|
|
54
52
|
contrastDefaultColor: 'light',
|
|
55
53
|
};
|
|
56
|
-
|
|
54
|
+
export var darkBlack = {
|
|
57
55
|
50: '#202224',
|
|
58
56
|
100: '#182022',
|
|
59
57
|
200: '#182022',
|
|
@@ -67,9 +65,9 @@ exports.darkBlack = {
|
|
|
67
65
|
contrastDefaultColor: 'light',
|
|
68
66
|
};
|
|
69
67
|
// alias
|
|
70
|
-
|
|
68
|
+
export var vantaBlack = darkBlack;
|
|
71
69
|
/* Status Colors */
|
|
72
|
-
|
|
70
|
+
export var red = {
|
|
73
71
|
50: '#f9e8e8',
|
|
74
72
|
100: '#efc5c5',
|
|
75
73
|
200: '#e59e9e',
|
|
@@ -82,7 +80,7 @@ exports.red = {
|
|
|
82
80
|
900: '#ab1a1a',
|
|
83
81
|
contrastDefaultColor: 'light',
|
|
84
82
|
};
|
|
85
|
-
|
|
83
|
+
export var orange = {
|
|
86
84
|
50: '#feefe4',
|
|
87
85
|
100: '#fcd6bc',
|
|
88
86
|
200: '#fabb90',
|
|
@@ -95,7 +93,7 @@ exports.orange = {
|
|
|
95
93
|
900: '#ec470b',
|
|
96
94
|
contrastDefaultColor: 'light',
|
|
97
95
|
};
|
|
98
|
-
|
|
96
|
+
export var gold = {
|
|
99
97
|
50: '#fdf5e4',
|
|
100
98
|
100: '#fbe6bc',
|
|
101
99
|
200: '#f8d58f',
|
|
@@ -108,7 +106,7 @@ exports.gold = {
|
|
|
108
106
|
900: '#e57f0a',
|
|
109
107
|
contrastDefaultColor: 'dark',
|
|
110
108
|
};
|
|
111
|
-
|
|
109
|
+
export var yellow = {
|
|
112
110
|
50: '#fdf9e6',
|
|
113
111
|
100: '#fbefc1',
|
|
114
112
|
200: '#f8e597',
|
|
@@ -121,7 +119,7 @@ exports.yellow = {
|
|
|
121
119
|
900: '#e5ac12',
|
|
122
120
|
contrastDefaultColor: 'dark',
|
|
123
121
|
};
|
|
124
|
-
|
|
122
|
+
export var green = {
|
|
125
123
|
50: '#e7f6e4',
|
|
126
124
|
100: '#c4e9bc',
|
|
127
125
|
200: '#9cdb90',
|
|
@@ -134,7 +132,7 @@ exports.green = {
|
|
|
134
132
|
900: '#178e0b',
|
|
135
133
|
contrastDefaultColor: 'light',
|
|
136
134
|
};
|
|
137
|
-
|
|
135
|
+
export var lightBlue = {
|
|
138
136
|
50: '#e0f1fd',
|
|
139
137
|
100: '#b3dbfb',
|
|
140
138
|
200: '#80c4f9',
|
|
@@ -147,7 +145,7 @@ exports.lightBlue = {
|
|
|
147
145
|
900: '#0058e8',
|
|
148
146
|
contrastDefaultColor: 'dark',
|
|
149
147
|
};
|
|
150
|
-
|
|
148
|
+
export var purple = {
|
|
151
149
|
50: '#f3e8fd',
|
|
152
150
|
100: '#e0c5fa',
|
|
153
151
|
200: '#cc9ff7',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightlayer-ui/colors",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Brightlayer UI colors for Eaton applications",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
"Brightlayer-UI",
|
|
19
19
|
"colors",
|
|
20
20
|
"Eaton",
|
|
21
|
-
"Power",
|
|
22
|
-
"Xpert",
|
|
23
21
|
"quality",
|
|
24
22
|
"lighting"
|
|
25
23
|
],
|
|
@@ -33,12 +31,13 @@
|
|
|
33
31
|
"@brightlayer-ui/types": "^2.0.0"
|
|
34
32
|
},
|
|
35
33
|
"devDependencies": {
|
|
36
|
-
"typescript": "^
|
|
34
|
+
"typescript": "^4.6.3"
|
|
37
35
|
},
|
|
38
36
|
"files": [
|
|
39
37
|
"package.json",
|
|
40
38
|
"README.md",
|
|
41
39
|
"LICENSE",
|
|
40
|
+
"LICENSES.json",
|
|
42
41
|
"CHANGELOG.md",
|
|
43
42
|
"dist/",
|
|
44
43
|
"palette.scss"
|