@hero-design/colors 7.2.0 → 7.2.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.
@@ -0,0 +1,7 @@
1
+ @hero-design/colors:build: cache hit, replaying output c573afca7b7790b7
2
+ @hero-design/colors:build: $ yarn build:js && yarn build:types
3
+ @hero-design/colors:build: $ rollup -c
4
+ @hero-design/colors:build: 
5
+ @hero-design/colors:build: src/index.ts → lib/index.js, es/index.js...
6
+ @hero-design/colors:build: created lib/index.js, es/index.js in 3.7s
7
+ @hero-design/colors:build: $ tsc --emitDeclarationOnly
File without changes
package/es/index.js CHANGED
@@ -65,6 +65,7 @@ const palette = {
65
65
  smaltDark75: '#000d20',
66
66
  smaltLight30: '#4d72a6',
67
67
  smaltLight45: '#7390b9',
68
+ smaltLight75: '#bfcddf',
68
69
  smaltLight90: '#e6ebf2',
69
70
  violet: '#7622d7',
70
71
  violetDark15: '#641db7',
@@ -82,40 +83,5 @@ const palette = {
82
83
  yellowLight60: '#fdf1a1',
83
84
  yellowLight90: '#fffbe8'
84
85
  };
85
- const systemPalette = {
86
- primary: palette.violet,
87
- primaryDark: palette.violetDark30,
88
- primaryLight: palette.violetLight30,
89
- primaryBackground: palette.violetLight90,
90
- platformBackground: palette.greyLight85,
91
- backgroundDark: palette.black,
92
- backgroundLight: palette.white,
93
- info: palette.dodgerBlue,
94
- infoDark: palette.dodgerBlueDark30,
95
- infoLight: palette.dodgerBlueLight30,
96
- infoBackground: palette.dodgerBlueLight90,
97
- success: palette.green,
98
- successDark: palette.greenDark30,
99
- successLight: palette.greenLight30,
100
- successBackground: palette.greenLight90,
101
- danger: palette.red,
102
- dangerDark: palette.redDark30,
103
- dangerLight: palette.redLight30,
104
- dangerBackground: palette.redLight90,
105
- warning: palette.orange,
106
- warningDark: palette.orangeDark30,
107
- warningLight: palette.orangeLight30,
108
- warningBackground: palette.orangeLight90,
109
- error: palette.pink,
110
- errorDark: palette.pinkDark30,
111
- errorLight: palette.pinkLight30,
112
- errorBackground: palette.pinkLight90,
113
- headingText: palette.black,
114
- text: palette.greyDark45,
115
- subduedText: palette.greyDark30,
116
- disabledText: palette.grey,
117
- outline: palette.greyLight60,
118
- disabledBackground: palette.greyLight60
119
- };
120
86
 
121
- export { palette, systemPalette };
87
+ export { palette as default };
package/lib/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const palette = {
6
4
  black: '#000000',
7
5
  blue: '#1dbeee',
@@ -69,6 +67,7 @@ const palette = {
69
67
  smaltDark75: '#000d20',
70
68
  smaltLight30: '#4d72a6',
71
69
  smaltLight45: '#7390b9',
70
+ smaltLight75: '#bfcddf',
72
71
  smaltLight90: '#e6ebf2',
73
72
  violet: '#7622d7',
74
73
  violetDark15: '#641db7',
@@ -86,41 +85,5 @@ const palette = {
86
85
  yellowLight60: '#fdf1a1',
87
86
  yellowLight90: '#fffbe8'
88
87
  };
89
- const systemPalette = {
90
- primary: palette.violet,
91
- primaryDark: palette.violetDark30,
92
- primaryLight: palette.violetLight30,
93
- primaryBackground: palette.violetLight90,
94
- platformBackground: palette.greyLight85,
95
- backgroundDark: palette.black,
96
- backgroundLight: palette.white,
97
- info: palette.dodgerBlue,
98
- infoDark: palette.dodgerBlueDark30,
99
- infoLight: palette.dodgerBlueLight30,
100
- infoBackground: palette.dodgerBlueLight90,
101
- success: palette.green,
102
- successDark: palette.greenDark30,
103
- successLight: palette.greenLight30,
104
- successBackground: palette.greenLight90,
105
- danger: palette.red,
106
- dangerDark: palette.redDark30,
107
- dangerLight: palette.redLight30,
108
- dangerBackground: palette.redLight90,
109
- warning: palette.orange,
110
- warningDark: palette.orangeDark30,
111
- warningLight: palette.orangeLight30,
112
- warningBackground: palette.orangeLight90,
113
- error: palette.pink,
114
- errorDark: palette.pinkDark30,
115
- errorLight: palette.pinkLight30,
116
- errorBackground: palette.pinkLight90,
117
- headingText: palette.black,
118
- text: palette.greyDark45,
119
- subduedText: palette.greyDark30,
120
- disabledText: palette.grey,
121
- outline: palette.greyLight60,
122
- disabledBackground: palette.greyLight60
123
- };
124
88
 
125
- exports.palette = palette;
126
- exports.systemPalette = systemPalette;
89
+ module.exports = palette;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/colors",
3
- "version": "7.2.0",
3
+ "version": "7.2.2",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
package/rollup.config.js CHANGED
@@ -12,6 +12,7 @@ export default {
12
12
  {
13
13
  file: pkg.main,
14
14
  format: 'cjs',
15
+ exports: 'default',
15
16
  },
16
17
  {
17
18
  file: pkg.module,
package/src/index.ts CHANGED
@@ -65,6 +65,7 @@ const palette = {
65
65
  smaltDark75: '#000d20',
66
66
  smaltLight30: '#4d72a6',
67
67
  smaltLight45: '#7390b9',
68
+ smaltLight75: '#bfcddf',
68
69
  smaltLight90: '#e6ebf2',
69
70
  violet: '#7622d7',
70
71
  violetDark15: '#641db7',
@@ -83,40 +84,4 @@ const palette = {
83
84
  yellowLight90: '#fffbe8',
84
85
  };
85
86
 
86
- const systemPalette = {
87
- primary: palette.violet,
88
- primaryDark: palette.violetDark30,
89
- primaryLight: palette.violetLight30,
90
- primaryBackground: palette.violetLight90,
91
- platformBackground: palette.greyLight85,
92
- backgroundDark: palette.black,
93
- backgroundLight: palette.white,
94
- info: palette.dodgerBlue,
95
- infoDark: palette.dodgerBlueDark30,
96
- infoLight: palette.dodgerBlueLight30,
97
- infoBackground: palette.dodgerBlueLight90,
98
- success: palette.green,
99
- successDark: palette.greenDark30,
100
- successLight: palette.greenLight30,
101
- successBackground: palette.greenLight90,
102
- danger: palette.red,
103
- dangerDark: palette.redDark30,
104
- dangerLight: palette.redLight30,
105
- dangerBackground: palette.redLight90,
106
- warning: palette.orange,
107
- warningDark: palette.orangeDark30,
108
- warningLight: palette.orangeLight30,
109
- warningBackground: palette.orangeLight90,
110
- error: palette.pink,
111
- errorDark: palette.pinkDark30,
112
- errorLight: palette.pinkLight30,
113
- errorBackground: palette.pinkLight90,
114
- headingText: palette.black,
115
- text: palette.greyDark45,
116
- subduedText: palette.greyDark30,
117
- disabledText: palette.grey,
118
- outline: palette.greyLight60,
119
- disabledBackground: palette.greyLight60,
120
- };
121
-
122
- export { palette, systemPalette };
87
+ export default palette;
package/types/index.d.ts CHANGED
@@ -65,6 +65,7 @@ declare const palette: {
65
65
  smaltDark75: string;
66
66
  smaltLight30: string;
67
67
  smaltLight45: string;
68
+ smaltLight75: string;
68
69
  smaltLight90: string;
69
70
  violet: string;
70
71
  violetDark15: string;
@@ -82,39 +83,4 @@ declare const palette: {
82
83
  yellowLight60: string;
83
84
  yellowLight90: string;
84
85
  };
85
- declare const systemPalette: {
86
- primary: string;
87
- primaryDark: string;
88
- primaryLight: string;
89
- primaryBackground: string;
90
- platformBackground: string;
91
- backgroundDark: string;
92
- backgroundLight: string;
93
- info: string;
94
- infoDark: string;
95
- infoLight: string;
96
- infoBackground: string;
97
- success: string;
98
- successDark: string;
99
- successLight: string;
100
- successBackground: string;
101
- danger: string;
102
- dangerDark: string;
103
- dangerLight: string;
104
- dangerBackground: string;
105
- warning: string;
106
- warningDark: string;
107
- warningLight: string;
108
- warningBackground: string;
109
- error: string;
110
- errorDark: string;
111
- errorLight: string;
112
- errorBackground: string;
113
- headingText: string;
114
- text: string;
115
- subduedText: string;
116
- disabledText: string;
117
- outline: string;
118
- disabledBackground: string;
119
- };
120
- export { palette, systemPalette };
86
+ export default palette;