@volue/design-colors 2.0.4-next.0 → 3.0.0-next.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.
@@ -0,0 +1,528 @@
1
+ [
2
+ {
3
+ "name": "SURFACE",
4
+ "palette": "surface",
5
+ "textColors": [
6
+ {
7
+ "name": "NEUTRAL",
8
+ "rating": "AAA"
9
+ },
10
+ {
11
+ "name": "NEUTRAL_MODERATE",
12
+ "rating": "AAA"
13
+ },
14
+ {
15
+ "name": "NEUTRAL_SUBTLE",
16
+ "rating": "AA"
17
+ },
18
+ {
19
+ "name": "LINK",
20
+ "rating": "AAA"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "SURFACE_SUBTLE",
26
+ "palette": "surface",
27
+ "textColors": [
28
+ {
29
+ "name": "NEUTRAL",
30
+ "rating": "AAA"
31
+ },
32
+ {
33
+ "name": "NEUTRAL_MODERATE",
34
+ "rating": "AAA"
35
+ },
36
+ {
37
+ "name": "NEUTRAL_SUBTLE",
38
+ "rating": "AA"
39
+ },
40
+ {
41
+ "name": "LINK",
42
+ "rating": "AAA"
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "name": "SURFACE_CONTRAST",
48
+ "palette": "surface",
49
+ "textColors": [
50
+ {
51
+ "name": "INVERSE",
52
+ "rating": "AAA"
53
+ }
54
+ ]
55
+ },
56
+ {
57
+ "name": "NEUTRAL_MINIMAL",
58
+ "palette": "neutral",
59
+ "textColors": [
60
+ {
61
+ "name": "NEUTRAL",
62
+ "rating": "AAA"
63
+ },
64
+ {
65
+ "name": "NEUTRAL_MODERATE",
66
+ "rating": "AAA"
67
+ },
68
+ {
69
+ "name": "NEUTRAL_SUBTLE",
70
+ "rating": "AA"
71
+ },
72
+ {
73
+ "name": "LINK",
74
+ "rating": "AAA"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "name": "NEUTRAL_SUBTLE",
80
+ "palette": "neutral",
81
+ "textColors": [
82
+ {
83
+ "name": "NEUTRAL",
84
+ "rating": "AAA"
85
+ },
86
+ {
87
+ "name": "NEUTRAL_MODERATE",
88
+ "rating": "AAA"
89
+ },
90
+ {
91
+ "name": "NEUTRAL_SUBTLE",
92
+ "rating": "AA"
93
+ },
94
+ {
95
+ "name": "LINK",
96
+ "rating": "AAA"
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "name": "NEUTRAL_MODERATE",
102
+ "palette": "neutral",
103
+ "textColors": [
104
+ {
105
+ "name": "NEUTRAL",
106
+ "rating": "AAA"
107
+ },
108
+ {
109
+ "name": "NEUTRAL_MODERATE",
110
+ "rating": "AAA"
111
+ },
112
+ {
113
+ "name": "NEUTRAL_SUBTLE",
114
+ "rating": "AA"
115
+ },
116
+ {
117
+ "name": "LINK",
118
+ "rating": "AAA"
119
+ }
120
+ ]
121
+ },
122
+ {
123
+ "name": "NEUTRAL",
124
+ "palette": "neutral",
125
+ "textColors": [
126
+ {
127
+ "name": "NEUTRAL",
128
+ "rating": "AAA"
129
+ },
130
+ {
131
+ "name": "NEUTRAL_MODERATE",
132
+ "rating": "AAA"
133
+ },
134
+ {
135
+ "name": "LINK",
136
+ "rating": "AA"
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "name": "NEUTRAL_BOLD",
142
+ "palette": "neutral",
143
+ "textColors": [
144
+ {
145
+ "name": "INVERSE",
146
+ "rating": "AA"
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "name": "NEUTRAL_STRONG",
152
+ "palette": "neutral",
153
+ "textColors": [
154
+ {
155
+ "name": "INVERSE",
156
+ "rating": "AAA"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "name": "NEUTRAL_CONTRAST",
162
+ "palette": "neutral",
163
+ "textColors": [
164
+ {
165
+ "name": "INVERSE",
166
+ "rating": "AAA"
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "name": "ACCENT_MINIMAL",
172
+ "palette": "accent",
173
+ "textColors": [
174
+ {
175
+ "name": "NEUTRAL",
176
+ "rating": "AAA"
177
+ },
178
+ {
179
+ "name": "NEUTRAL_MODERATE",
180
+ "rating": "AAA"
181
+ },
182
+ {
183
+ "name": "NEUTRAL_SUBTLE",
184
+ "rating": "AA"
185
+ },
186
+ {
187
+ "name": "ACCENT",
188
+ "rating": "AAA"
189
+ },
190
+ {
191
+ "name": "ACCENT_MODERATE",
192
+ "rating": "AAA"
193
+ },
194
+ {
195
+ "name": "LINK",
196
+ "rating": "AAA"
197
+ }
198
+ ]
199
+ },
200
+ {
201
+ "name": "ACCENT_SUBTLE",
202
+ "palette": "accent",
203
+ "textColors": [
204
+ {
205
+ "name": "NEUTRAL",
206
+ "rating": "AAA"
207
+ },
208
+ {
209
+ "name": "NEUTRAL_MODERATE",
210
+ "rating": "AAA"
211
+ },
212
+ {
213
+ "name": "NEUTRAL_SUBTLE",
214
+ "rating": "AA"
215
+ },
216
+ {
217
+ "name": "ACCENT",
218
+ "rating": "AAA"
219
+ },
220
+ {
221
+ "name": "ACCENT_MODERATE",
222
+ "rating": "AAA"
223
+ },
224
+ {
225
+ "name": "LINK",
226
+ "rating": "AAA"
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "name": "ACCENT",
232
+ "palette": "accent",
233
+ "textColors": [
234
+ {
235
+ "name": "NEUTRAL",
236
+ "rating": "AAA"
237
+ },
238
+ {
239
+ "name": "NEUTRAL_MODERATE",
240
+ "rating": "AAA"
241
+ },
242
+ {
243
+ "name": "ACCENT",
244
+ "rating": "AAA"
245
+ },
246
+ {
247
+ "name": "ACCENT_MODERATE",
248
+ "rating": "AA"
249
+ },
250
+ {
251
+ "name": "LINK",
252
+ "rating": "AA"
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ "name": "ACCENT_BOLD",
258
+ "palette": "accent",
259
+ "textColors": [
260
+ {
261
+ "name": "NEUTRAL",
262
+ "rating": "AA"
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "name": "ACCENT_STRONG",
268
+ "palette": "accent",
269
+ "textColors": [
270
+ {
271
+ "name": "INVERSE",
272
+ "rating": "AA"
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "name": "INFO_SUBTLE",
278
+ "palette": "info",
279
+ "textColors": [
280
+ {
281
+ "name": "NEUTRAL",
282
+ "rating": "AAA"
283
+ },
284
+ {
285
+ "name": "NEUTRAL_MODERATE",
286
+ "rating": "AAA"
287
+ },
288
+ {
289
+ "name": "NEUTRAL_SUBTLE",
290
+ "rating": "AA"
291
+ },
292
+ {
293
+ "name": "INFO",
294
+ "rating": "AAA"
295
+ },
296
+ {
297
+ "name": "LINK",
298
+ "rating": "AAA"
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "name": "INFO",
304
+ "palette": "info",
305
+ "textColors": [
306
+ {
307
+ "name": "NEUTRAL",
308
+ "rating": "AAA"
309
+ },
310
+ {
311
+ "name": "NEUTRAL_MODERATE",
312
+ "rating": "AAA"
313
+ },
314
+ {
315
+ "name": "NEUTRAL_SUBTLE",
316
+ "rating": "AA"
317
+ },
318
+ {
319
+ "name": "INFO",
320
+ "rating": "AA"
321
+ },
322
+ {
323
+ "name": "LINK",
324
+ "rating": "AAA"
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "name": "INFO_STRONG",
330
+ "palette": "info",
331
+ "textColors": [
332
+ {
333
+ "name": "INVERSE",
334
+ "rating": "AA"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "name": "SUCCESS_SUBTLE",
340
+ "palette": "success",
341
+ "textColors": [
342
+ {
343
+ "name": "NEUTRAL",
344
+ "rating": "AAA"
345
+ },
346
+ {
347
+ "name": "NEUTRAL_MODERATE",
348
+ "rating": "AAA"
349
+ },
350
+ {
351
+ "name": "NEUTRAL_SUBTLE",
352
+ "rating": "AA"
353
+ },
354
+ {
355
+ "name": "SUCCESS",
356
+ "rating": "AA"
357
+ },
358
+ {
359
+ "name": "LINK",
360
+ "rating": "AAA"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "name": "SUCCESS",
366
+ "palette": "success",
367
+ "textColors": [
368
+ {
369
+ "name": "NEUTRAL",
370
+ "rating": "AAA"
371
+ },
372
+ {
373
+ "name": "NEUTRAL_MODERATE",
374
+ "rating": "AAA"
375
+ },
376
+ {
377
+ "name": "NEUTRAL_SUBTLE",
378
+ "rating": "AA"
379
+ },
380
+ {
381
+ "name": "SUCCESS",
382
+ "rating": "AA"
383
+ },
384
+ {
385
+ "name": "LINK",
386
+ "rating": "AAA"
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "name": "SUCCESS_STRONG",
392
+ "palette": "success",
393
+ "textColors": [
394
+ {
395
+ "name": "INVERSE",
396
+ "rating": "AA"
397
+ }
398
+ ]
399
+ },
400
+ {
401
+ "name": "WARNING_SUBTLE",
402
+ "palette": "warning",
403
+ "textColors": [
404
+ {
405
+ "name": "NEUTRAL",
406
+ "rating": "AAA"
407
+ },
408
+ {
409
+ "name": "NEUTRAL_MODERATE",
410
+ "rating": "AAA"
411
+ },
412
+ {
413
+ "name": "NEUTRAL_SUBTLE",
414
+ "rating": "AA"
415
+ },
416
+ {
417
+ "name": "WARNING",
418
+ "rating": "AA"
419
+ },
420
+ {
421
+ "name": "LINK",
422
+ "rating": "AAA"
423
+ }
424
+ ]
425
+ },
426
+ {
427
+ "name": "WARNING",
428
+ "palette": "warning",
429
+ "textColors": [
430
+ {
431
+ "name": "NEUTRAL",
432
+ "rating": "AAA"
433
+ },
434
+ {
435
+ "name": "NEUTRAL_MODERATE",
436
+ "rating": "AAA"
437
+ },
438
+ {
439
+ "name": "NEUTRAL_SUBTLE",
440
+ "rating": "AA"
441
+ },
442
+ {
443
+ "name": "WARNING",
444
+ "rating": "AA"
445
+ },
446
+ {
447
+ "name": "LINK",
448
+ "rating": "AAA"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "name": "WARNING_STRONG",
454
+ "palette": "warning",
455
+ "textColors": [
456
+ {
457
+ "name": "NEUTRAL",
458
+ "rating": "AA"
459
+ },
460
+ {
461
+ "name": "NEUTRAL_MODERATE",
462
+ "rating": "AA"
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "name": "DANGER_SUBTLE",
468
+ "palette": "danger",
469
+ "textColors": [
470
+ {
471
+ "name": "NEUTRAL",
472
+ "rating": "AAA"
473
+ },
474
+ {
475
+ "name": "NEUTRAL_MODERATE",
476
+ "rating": "AAA"
477
+ },
478
+ {
479
+ "name": "NEUTRAL_SUBTLE",
480
+ "rating": "AA"
481
+ },
482
+ {
483
+ "name": "DANGER",
484
+ "rating": "AAA"
485
+ },
486
+ {
487
+ "name": "LINK",
488
+ "rating": "AAA"
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "name": "DANGER",
494
+ "palette": "danger",
495
+ "textColors": [
496
+ {
497
+ "name": "NEUTRAL",
498
+ "rating": "AAA"
499
+ },
500
+ {
501
+ "name": "NEUTRAL_MODERATE",
502
+ "rating": "AAA"
503
+ },
504
+ {
505
+ "name": "NEUTRAL_SUBTLE",
506
+ "rating": "AA"
507
+ },
508
+ {
509
+ "name": "DANGER",
510
+ "rating": "AAA"
511
+ },
512
+ {
513
+ "name": "LINK",
514
+ "rating": "AAA"
515
+ }
516
+ ]
517
+ },
518
+ {
519
+ "name": "DANGER_STRONG",
520
+ "palette": "danger",
521
+ "textColors": [
522
+ {
523
+ "name": "INVERSE",
524
+ "rating": "AA"
525
+ }
526
+ ]
527
+ }
528
+ ]
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "dist/flat.common.js",
3
+ "module": "dist/flat.module.js",
4
+ "types": "../dist/flat.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "dist/generic.common.js",
3
+ "module": "dist/generic.module.js",
4
+ "types": "../dist/generic.d.ts"
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volue/design-colors",
3
- "version": "2.0.4-next.0",
3
+ "version": "3.0.0-next.0",
4
4
  "description": "Color primitives for Volue design primitives",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -11,12 +11,46 @@
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "module": "./dist/index.module.js",
18
+ "default": "./dist/index.common.js"
19
+ },
20
+ "./flat": {
21
+ "types": "./dist/flat.d.ts",
22
+ "module": "./dist/flat.module.js",
23
+ "default": "./dist/flat.common.js"
24
+ },
25
+ "./generic": {
26
+ "types": "./dist/generic.d.ts",
27
+ "module": "./dist/generic.module.js",
28
+ "default": "./dist/generic.common.js"
29
+ },
30
+ "./dist/*": "./dist/*",
31
+ "./package.json": "./package.json"
32
+ },
14
33
  "main": "dist/index.common.js",
15
34
  "module": "dist/index.module.js",
16
- "types": "dist/index.common.d.ts",
35
+ "types": "dist/index.d.ts",
36
+ "typesVersions": {
37
+ "*": {
38
+ "*": [
39
+ "./dist/index.d.ts"
40
+ ],
41
+ "flat": [
42
+ "./dist/flat.d.ts"
43
+ ],
44
+ "generic": [
45
+ "./dist/generic.d.ts"
46
+ ]
47
+ }
48
+ },
17
49
  "sideEffects": false,
18
50
  "files": [
19
51
  "dist",
52
+ "flat",
53
+ "generic",
20
54
  "src"
21
55
  ],
22
56
  "scripts": {
@@ -36,16 +70,17 @@
36
70
  "@fantasy-color/from-hex": "2.1.0",
37
71
  "@fantasy-color/luminance-rgb": "2.1.0",
38
72
  "change-case": "4.1.2",
39
- "eslint": "8.43.0",
73
+ "color2k": "1.2.5",
74
+ "eslint": "8.46.0",
40
75
  "eslint-config-powel": "14.2.1",
41
76
  "eslint-import-resolver-node": "0.3.7",
42
- "eslint-plugin-import": "2.27.5",
77
+ "eslint-plugin-import": "2.28.0",
43
78
  "json-to-ts": "1.7.0",
44
79
  "map-obj": "4.3.0",
45
80
  "npm-run-all": "4.1.5",
46
81
  "prettier": "2.8.8",
47
82
  "rimraf": "3.0.2",
48
83
  "style-dictionary": "3.8.0",
49
- "typescript": "5.1.3"
84
+ "typescript": "5.1.6"
50
85
  }
51
86
  }