@moderneinc/neo-design 1.2.3 → 1.2.5
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/dist/breakpoints.js +34 -6
- package/dist/colors.css +2 -0
- package/dist/colors.js +68 -10
- package/dist/index.esm.js +8 -8
- package/dist/index.js +30 -32
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -3
- package/dist/semantic-colors.css +37 -6
- package/dist/semantic-colors.js +666 -112
- package/dist/typography.css +13 -12
- package/dist/typography.js +76 -76
- package/package.json +2 -4
- package/dist/colors.json +0 -104
- package/dist/semantic-colors.json +0 -98
- package/dist/typography.json +0 -30
package/dist/breakpoints.js
CHANGED
|
@@ -4,18 +4,46 @@
|
|
|
4
4
|
* @generated
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @typedef {{ }} Xl
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @type {Xl}
|
|
13
|
+
*/
|
|
7
14
|
export const xl = 1920;
|
|
8
15
|
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {{ }} Lg
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @type {Lg}
|
|
22
|
+
*/
|
|
9
23
|
export const lg = 1280;
|
|
10
24
|
|
|
25
|
+
/**
|
|
26
|
+
* @typedef {{ }} Md
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @type {Md}
|
|
31
|
+
*/
|
|
11
32
|
export const md = 960;
|
|
12
33
|
|
|
34
|
+
/**
|
|
35
|
+
* @typedef {{ }} Sm
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @type {Sm}
|
|
40
|
+
*/
|
|
13
41
|
export const sm = 600;
|
|
14
42
|
|
|
15
|
-
// Default export with all
|
|
43
|
+
// Default export with all color groups
|
|
16
44
|
export default {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
45
|
+
xl,
|
|
46
|
+
lg,
|
|
47
|
+
md,
|
|
48
|
+
sm
|
|
49
|
+
};
|
package/dist/colors.css
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
--neo-digital-blue-200: #b6bfff;
|
|
5
5
|
--neo-digital-blue-300: #8d99ff;
|
|
6
6
|
--neo-digital-blue-400: #626eff;
|
|
7
|
+
/* primary color */
|
|
7
8
|
--neo-digital-blue-500: #2f42ff;
|
|
8
9
|
--neo-digital-blue-600: #2637e6;
|
|
9
10
|
--neo-digital-blue-700: #1e2ec2;
|
|
10
11
|
--neo-digital-blue-800: #131e7a;
|
|
11
12
|
--neo-digital-blue-900: #000855;
|
|
13
|
+
/* primary color */
|
|
12
14
|
--neo-digital-blue-main: #2f42ff;
|
|
13
15
|
--neo-digital-green-50: #f3fff5;
|
|
14
16
|
--neo-digital-green-100: #cfffd7;
|
package/dist/colors.js
CHANGED
|
@@ -4,20 +4,36 @@
|
|
|
4
4
|
* @generated
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @typedef {{ 50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} DigitalBlue
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @type {DigitalBlue}
|
|
13
|
+
*/
|
|
7
14
|
export const digitalBlue = {
|
|
8
15
|
"50": "#f2f3ff",
|
|
9
16
|
"100": "#dce0ff",
|
|
10
17
|
"200": "#b6bfff",
|
|
11
18
|
"300": "#8d99ff",
|
|
12
19
|
"400": "#626eff",
|
|
20
|
+
/** primary color */
|
|
13
21
|
"500": "#2f42ff",
|
|
14
22
|
"600": "#2637e6",
|
|
15
23
|
"700": "#1e2ec2",
|
|
16
24
|
"800": "#131e7a",
|
|
17
25
|
"900": "#000855",
|
|
26
|
+
/** primary color */
|
|
18
27
|
"main": "#2f42ff"
|
|
19
28
|
};
|
|
20
29
|
|
|
30
|
+
/**
|
|
31
|
+
* @typedef {{ 50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} DigitalGreen
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @type {DigitalGreen}
|
|
36
|
+
*/
|
|
21
37
|
export const digitalGreen = {
|
|
22
38
|
"50": "#f3fff5",
|
|
23
39
|
"100": "#cfffd7",
|
|
@@ -32,6 +48,13 @@ export const digitalGreen = {
|
|
|
32
48
|
"main": "#5ec46f"
|
|
33
49
|
};
|
|
34
50
|
|
|
51
|
+
/**
|
|
52
|
+
* @typedef {{ 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} Gold
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @type {Gold}
|
|
57
|
+
*/
|
|
35
58
|
export const gold = {
|
|
36
59
|
"100": "#fbf1d2",
|
|
37
60
|
"200": "#f7e3a5",
|
|
@@ -45,6 +68,13 @@ export const gold = {
|
|
|
45
68
|
"main": "#ecb81f"
|
|
46
69
|
};
|
|
47
70
|
|
|
71
|
+
/**
|
|
72
|
+
* @typedef {{ 50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} Grey
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @type {Grey}
|
|
77
|
+
*/
|
|
48
78
|
export const grey = {
|
|
49
79
|
"50": "#f9fafb",
|
|
50
80
|
"100": "#f3f4f6",
|
|
@@ -59,6 +89,13 @@ export const grey = {
|
|
|
59
89
|
"main": "#6b7280"
|
|
60
90
|
};
|
|
61
91
|
|
|
92
|
+
/**
|
|
93
|
+
* @typedef {{ 50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} Orange
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @type {Orange}
|
|
98
|
+
*/
|
|
62
99
|
export const orange = {
|
|
63
100
|
"50": "#fff8e5",
|
|
64
101
|
"100": "#ffebb7",
|
|
@@ -73,6 +110,13 @@ export const orange = {
|
|
|
73
110
|
"main": "#ffb800"
|
|
74
111
|
};
|
|
75
112
|
|
|
113
|
+
/**
|
|
114
|
+
* @typedef {{ 50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} Red
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @type {Red}
|
|
119
|
+
*/
|
|
76
120
|
export const red = {
|
|
77
121
|
"50": "#ffedef",
|
|
78
122
|
"100": "#ffc6cd",
|
|
@@ -87,6 +131,13 @@ export const red = {
|
|
|
87
131
|
"main": "#cb3446"
|
|
88
132
|
};
|
|
89
133
|
|
|
134
|
+
/**
|
|
135
|
+
* @typedef {{ 50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} TealGreen
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @type {TealGreen}
|
|
140
|
+
*/
|
|
90
141
|
export const tealGreen = {
|
|
91
142
|
"50": "#eefffa",
|
|
92
143
|
"100": "#c9fff1",
|
|
@@ -101,6 +152,13 @@ export const tealGreen = {
|
|
|
101
152
|
"main": "#3bcca6"
|
|
102
153
|
};
|
|
103
154
|
|
|
155
|
+
/**
|
|
156
|
+
* @typedef {{ 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, main: string }} Violet
|
|
157
|
+
*/
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @type {Violet}
|
|
161
|
+
*/
|
|
104
162
|
export const violet = {
|
|
105
163
|
"100": "#ebd5f1",
|
|
106
164
|
"200": "#d6ace3",
|
|
@@ -114,14 +172,14 @@ export const violet = {
|
|
|
114
172
|
"main": "#992fb9"
|
|
115
173
|
};
|
|
116
174
|
|
|
117
|
-
// Default export with all
|
|
175
|
+
// Default export with all color groups
|
|
118
176
|
export default {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
};
|
|
177
|
+
digitalBlue,
|
|
178
|
+
digitalGreen,
|
|
179
|
+
gold,
|
|
180
|
+
grey,
|
|
181
|
+
orange,
|
|
182
|
+
red,
|
|
183
|
+
tealGreen,
|
|
184
|
+
violet
|
|
185
|
+
};
|
package/dist/index.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
export {
|
|
1
|
+
import * as breakpoints_js from './breakpoints.js';
|
|
2
|
+
export { breakpoints_js as breakpoints };
|
|
3
|
+
import * as colors_js from './colors.js';
|
|
4
|
+
export { colors_js as colors };
|
|
5
|
+
import * as semanticColors_js from './semantic-colors.js';
|
|
6
|
+
export { semanticColors_js as semanticColors };
|
|
7
|
+
import * as typography_js from './typography.js';
|
|
8
|
+
export { typography_js as typography };
|
|
9
9
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var breakpoints_js = require('
|
|
4
|
-
var colors_js = require('
|
|
5
|
-
var semanticColors_js = require('
|
|
6
|
-
var typography_js = require('
|
|
3
|
+
var breakpoints_js = require('./breakpoints.js');
|
|
4
|
+
var colors_js = require('./colors.js');
|
|
5
|
+
var semanticColors_js = require('./semantic-colors.js');
|
|
6
|
+
var typography_js = require('./typography.js');
|
|
7
7
|
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
8
24
|
|
|
25
|
+
var breakpoints_js__namespace = /*#__PURE__*/_interopNamespaceDefault(breakpoints_js);
|
|
26
|
+
var colors_js__namespace = /*#__PURE__*/_interopNamespaceDefault(colors_js);
|
|
27
|
+
var semanticColors_js__namespace = /*#__PURE__*/_interopNamespaceDefault(semanticColors_js);
|
|
28
|
+
var typography_js__namespace = /*#__PURE__*/_interopNamespaceDefault(typography_js);
|
|
9
29
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return breakpoints_js[k]; }
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
Object.keys(colors_js).forEach(function (k) {
|
|
21
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () { return colors_js[k]; }
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
Object.keys(semanticColors_js).forEach(function (k) {
|
|
27
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () { return semanticColors_js[k]; }
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
Object.keys(typography_js).forEach(function (k) {
|
|
33
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () { return typography_js[k]; }
|
|
36
|
-
});
|
|
37
|
-
});
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.breakpoints = breakpoints_js__namespace;
|
|
33
|
+
exports.colors = colors_js__namespace;
|
|
34
|
+
exports.semanticColors = semanticColors_js__namespace;
|
|
35
|
+
exports.typography = typography_js__namespace;
|
|
38
36
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/package.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "biome format --write src",
|
|
28
28
|
"knip": "knip",
|
|
29
29
|
"knip:production": "knip --production",
|
|
30
|
-
"check:all": "npm run format && npm run lint:fix && npm run knip",
|
|
30
|
+
"check:all": "npm run format && npm run lint:fix && npm run knip && npm run test:run",
|
|
31
31
|
"build-storybook": "storybook build",
|
|
32
32
|
"dev-storybook": "storybook dev -p 6006",
|
|
33
33
|
"storybook": "npm run dev-storybook"
|
|
@@ -50,9 +50,7 @@
|
|
|
50
50
|
"@biomejs/biome": "2.2.4",
|
|
51
51
|
"@rollup/plugin-json": "6.1.0",
|
|
52
52
|
"@rollup/plugin-node-resolve": "16.0.1",
|
|
53
|
-
"@semantic-release/changelog": "6.0.3",
|
|
54
53
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
55
|
-
"@semantic-release/git": "10.0.1",
|
|
56
54
|
"@semantic-release/github": "11.0.6",
|
|
57
55
|
"@semantic-release/npm": "12.0.2",
|
|
58
56
|
"@semantic-release/release-notes-generator": "14.1.0",
|
package/dist/semantic-colors.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--neo-base-primatives-blue: #2f42ff;
|
|
2
3
|
--neo-activity-recipe-run: #992fb9;
|
|
3
4
|
--neo-activity-commit-job: #2f42ff;
|
|
4
5
|
--neo-activity-visualization: #27aa88;
|
|
@@ -32,6 +33,36 @@
|
|
|
32
33
|
--neo-icons-disabled: #9ca3af;
|
|
33
34
|
--neo-icons-placeholder: #4b5563;
|
|
34
35
|
--neo-icons-checkbox: #4b5563;
|
|
36
|
+
--neo-base-digital-blue-900: #000855;
|
|
37
|
+
--neo-base-digital-blue-800: #131e7a;
|
|
38
|
+
--neo-base-digital-blue-700: #1e2ec2;
|
|
39
|
+
--neo-base-digital-blue-600: #2637e6;
|
|
40
|
+
--neo-base-digital-blue-500: #2f42ff;
|
|
41
|
+
--neo-base-digital-blue-400: #626eff;
|
|
42
|
+
--neo-base-digital-blue-300: #8d99ff;
|
|
43
|
+
--neo-base-digital-blue-200: #b6bfff;
|
|
44
|
+
--neo-base-digital-blue-100: #dce0ff;
|
|
45
|
+
--neo-base-digital-blue-50: #f2f3ff;
|
|
46
|
+
--neo-base-grey-grey-900: #111827;
|
|
47
|
+
--neo-base-grey-grey-800: #1f2937;
|
|
48
|
+
--neo-base-grey-grey-700: #374151;
|
|
49
|
+
--neo-base-grey-grey-600: #4b5563;
|
|
50
|
+
--neo-base-grey-grey-500: #6b7280;
|
|
51
|
+
--neo-base-grey-grey-400: #9ca3af;
|
|
52
|
+
--neo-base-grey-grey-300: #d1d5db;
|
|
53
|
+
--neo-base-grey-grey-200: #e5e7eb;
|
|
54
|
+
--neo-base-grey-grey-100: #f3f4f6;
|
|
55
|
+
--neo-base-grey-grey-50: #f9fafb;
|
|
56
|
+
--neo-base-digital-green-digital-green-50: #f3fff5;
|
|
57
|
+
--neo-base-digital-green-digital-green-100: #cfffd7;
|
|
58
|
+
--neo-base-digital-green-digital-green-600: #4ca75a;
|
|
59
|
+
--neo-base-digital-green-digital-green-700: #3b8948;
|
|
60
|
+
--neo-base-red-red-50: #ffedef;
|
|
61
|
+
--neo-base-red-red-100: #ffc6cd;
|
|
62
|
+
--neo-base-red-red-400: #ed4a5d;
|
|
63
|
+
--neo-base-red-red-500: #cb3446;
|
|
64
|
+
--neo-base-teal-green-teal-green-500: #3bcca6;
|
|
65
|
+
--neo-base-teal-green-teal-green-600: #27aa88;
|
|
35
66
|
--neo-status-success-dark: #4ca75a;
|
|
36
67
|
--neo-status-warning-dark: #ffb800;
|
|
37
68
|
--neo-status-error-dark: #cb3446;
|
|
@@ -73,10 +104,10 @@
|
|
|
73
104
|
--neo-typography-tooltip: #ffffff;
|
|
74
105
|
--neo-data-green: #4ca75a;
|
|
75
106
|
--neo-data-yellow: #fdda04;
|
|
76
|
-
--neo-data-
|
|
77
|
-
--neo-data-
|
|
78
|
-
--neo-data-
|
|
79
|
-
--neo-data-
|
|
80
|
-
--neo-data-
|
|
81
|
-
--neo-data-
|
|
107
|
+
--neo-data-orange-1: #ffc008;
|
|
108
|
+
--neo-data-orange-2: #ff9800;
|
|
109
|
+
--neo-data-orange-3: #f9a91b;
|
|
110
|
+
--neo-data-red-1: #ff5c24;
|
|
111
|
+
--neo-data-red-2: #ed4134;
|
|
112
|
+
--neo-data-red-3: #cb3446;
|
|
82
113
|
}
|