@carbon/colors 10.0.0-rc.0 → 10.2.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 ADDED
@@ -0,0 +1,489 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [10.1.1](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v10.1.0...v10.1.1) (2019-04-13)
7
+
8
+ **Note:** Version bump only for package @carbon/colors
9
+
10
+
11
+
12
+
13
+
14
+ # 10.1.0 (2019-04-12)
15
+
16
+
17
+ ### Features
18
+
19
+ * **sassdoc:** render Sassdoc in markdown ([#462](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/462)) ([73cea35](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/73cea35)), closes [#470](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/470)
20
+
21
+
22
+
23
+ # 10.0.0 (2019-03-29)
24
+
25
+
26
+
27
+ # 10.0.0-rc.0 (2019-03-27)
28
+
29
+
30
+
31
+ ## 0.0.1-beta.5 (2019-03-25)
32
+
33
+
34
+
35
+ ## 0.0.1-beta.4 (2019-03-22)
36
+
37
+
38
+
39
+ ## 0.0.1-beta.3 (2019-03-22)
40
+
41
+
42
+ ### Features
43
+
44
+ * **test-utils:** make test-utils public ([#446](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/446)) ([7f86f8f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/7f86f8f))
45
+ * **theme:** add theme maps and theme mixin ([#397](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/397)) ([a91e527](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/a91e527))
46
+
47
+
48
+
49
+ ## 0.0.1-beta.2 (2019-03-19)
50
+
51
+
52
+
53
+ ## 0.0.1-beta.1 (2019-03-13)
54
+
55
+
56
+
57
+ ## 0.0.1-beta.0 (2019-03-07)
58
+
59
+
60
+
61
+ ## 0.0.1-alpha.32 (2019-02-12)
62
+
63
+
64
+ ### Bug Fixes
65
+
66
+ * **colors:** change namespace to be consistent with rules ([5b58050](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5b58050))
67
+
68
+
69
+ ### Features
70
+
71
+ * **colors:** update color values ([#328](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/328)) ([83e3e92](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/83e3e92))
72
+
73
+
74
+
75
+ ## 0.0.1-alpha.31 (2019-01-28)
76
+
77
+
78
+
79
+ ## 0.0.1-alpha.30 (2019-01-22)
80
+
81
+
82
+ ### Bug Fixes
83
+
84
+ * **colors:** don't quote grade values in map ([#273](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/273)) ([fa83003](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/fa83003))
85
+
86
+
87
+
88
+ ## 0.0.1-alpha.29 (2019-01-14)
89
+
90
+
91
+ ### Bug Fixes
92
+
93
+ * **themes:** add in deprecated tokens ([#263](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/263)) ([21b9401](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/21b9401))
94
+
95
+
96
+
97
+ ## 0.0.1-alpha.28 (2019-01-11)
98
+
99
+
100
+ ### Bug Fixes
101
+
102
+ * **colors:** add back in ibm-color-map ([#254](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/254)) ([b0ba7f8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/b0ba7f8))
103
+
104
+
105
+
106
+ ## 0.0.1-alpha.27 (2019-01-10)
107
+
108
+
109
+ ### Bug Fixes
110
+
111
+ * **colors:** add all colors to export ([#246](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/246)) ([8b6ac7f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b6ac7f))
112
+ * **colors:** update scss map name ([#198](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/198)) ([4dcb170](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/4dcb170))
113
+
114
+
115
+ ### Features
116
+
117
+ * **bundler:** add support for scss compilation ([#222](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/222)) ([5cfcdb8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5cfcdb8))
118
+
119
+
120
+
121
+ ## 0.0.1-alpha.26 (2018-12-13)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * **colors:** add map with grades to scss output, add black100, white0, yellow20, and orange40 vars ([#141](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/141)) ([6d6bc04](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6d6bc04))
127
+
128
+
129
+
130
+ ## 0.0.1-alpha.25 (2018-12-11)
131
+
132
+
133
+
134
+ ## 0.0.1-alpha.24 (2018-12-07)
135
+
136
+
137
+
138
+ ## 0.0.1-alpha.23 (2018-12-06)
139
+
140
+
141
+
142
+ ## 0.0.1-alpha.22 (2018-12-04)
143
+
144
+
145
+
146
+ ## 0.0.1-alpha.21 (2018-12-04)
147
+
148
+
149
+ ### Features
150
+
151
+ * **colors:** update color and token values ([#107](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/107)) ([63795d6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/63795d6))
152
+
153
+
154
+
155
+ ## 0.0.1-alpha.20 (2018-11-29)
156
+
157
+
158
+
159
+ ## 0.0.1-alpha.19 (2018-11-29)
160
+
161
+
162
+
163
+ ## 0.0.1-alpha.18 (2018-11-28)
164
+
165
+
166
+
167
+ ## 0.0.1-alpha.17 (2018-11-25)
168
+
169
+
170
+
171
+ ## 0.0.1-alpha.16 (2018-11-21)
172
+
173
+
174
+
175
+ ## 0.0.1-alpha.15 (2018-11-21)
176
+
177
+
178
+
179
+ ## 0.0.1-alpha.14 (2018-11-20)
180
+
181
+
182
+
183
+ ## 0.0.1-alpha.13 (2018-11-19)
184
+
185
+
186
+
187
+ ## 0.0.1-alpha.12 (2018-11-18)
188
+
189
+
190
+
191
+ ## 0.0.1-alpha.11 (2018-11-18)
192
+
193
+
194
+
195
+ ## 0.0.1-alpha.10 (2018-11-18)
196
+
197
+
198
+
199
+ ## 0.0.1-alpha.9 (2018-11-18)
200
+
201
+
202
+
203
+ ## 0.0.1-alpha.8 (2018-11-18)
204
+
205
+
206
+ ### Features
207
+
208
+ * add tokens alongside JavaScript output for certain packages ([#72](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/72)) ([6ca03e2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6ca03e2))
209
+
210
+
211
+
212
+ ## 0.0.1-alpha.7 (2018-11-14)
213
+
214
+
215
+
216
+ ## 0.0.1-alpha.5 (2018-11-14)
217
+
218
+
219
+
220
+ ## 0.0.1-alpha.4 (2018-11-09)
221
+
222
+
223
+ ### Bug Fixes
224
+
225
+ * **colors:** update build process to output proper token names ([88d631e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/88d631e))
226
+
227
+
228
+
229
+ ## 0.0.1-alpha.3 (2018-11-09)
230
+
231
+
232
+ ### Features
233
+
234
+ * update for alpha.3 ([dcbfc59](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/dcbfc59))
235
+
236
+
237
+
238
+ ## 0.0.1-alpha.2 (2018-10-02)
239
+
240
+
241
+ ### Features
242
+
243
+ * **icons-react:** add `icons-react` package ([#6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/6)) ([43eb47c](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/43eb47c))
244
+ * **type:** add type package ([#17](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/17)) ([904462e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/904462e))
245
+
246
+
247
+
248
+ ## 0.0.1-alpha.0 (2018-08-30)
249
+
250
+
251
+ ### Features
252
+
253
+ * **colors:** add colors package ([#5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/5)) ([8b4d40e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b4d40e))
254
+
255
+
256
+
257
+
258
+
259
+ # [10.0.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v10.0.0-rc.0...v10.0.0) (2019-03-29)
260
+
261
+
262
+
263
+ # [10.0.0-rc.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.5...v10.0.0-rc.0) (2019-03-27)
264
+
265
+
266
+
267
+ ## [0.0.1-beta.5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.4...v0.0.1-beta.5) (2019-03-25)
268
+
269
+
270
+
271
+ ## [0.0.1-beta.4](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.3...v0.0.1-beta.4) (2019-03-22)
272
+
273
+
274
+
275
+ ## [0.0.1-beta.3](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.2...v0.0.1-beta.3) (2019-03-22)
276
+
277
+
278
+ ### Features
279
+
280
+ * **test-utils:** make test-utils public ([#446](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/446)) ([7f86f8f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/7f86f8f))
281
+ * **theme:** add theme maps and theme mixin ([#397](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/397)) ([a91e527](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/a91e527))
282
+
283
+
284
+
285
+ ## [0.0.1-beta.2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.1...v0.0.1-beta.2) (2019-03-19)
286
+
287
+
288
+
289
+ ## [0.0.1-beta.1](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.0...v0.0.1-beta.1) (2019-03-13)
290
+
291
+
292
+
293
+ ## [0.0.1-beta.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.32...v0.0.1-beta.0) (2019-03-07)
294
+
295
+
296
+
297
+ ## [0.0.1-alpha.32](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.31...v0.0.1-alpha.32) (2019-02-12)
298
+
299
+
300
+ ### Bug Fixes
301
+
302
+ * **colors:** change namespace to be consistent with rules ([5b58050](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5b58050))
303
+
304
+
305
+ ### Features
306
+
307
+ * **colors:** update color values ([#328](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/328)) ([83e3e92](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/83e3e92))
308
+
309
+
310
+
311
+ ## [0.0.1-alpha.31](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.30...v0.0.1-alpha.31) (2019-01-28)
312
+
313
+
314
+
315
+ ## [0.0.1-alpha.30](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.29...v0.0.1-alpha.30) (2019-01-22)
316
+
317
+
318
+ ### Bug Fixes
319
+
320
+ * **colors:** don't quote grade values in map ([#273](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/273)) ([fa83003](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/fa83003))
321
+
322
+
323
+
324
+ ## [0.0.1-alpha.29](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.28...v0.0.1-alpha.29) (2019-01-14)
325
+
326
+
327
+ ### Bug Fixes
328
+
329
+ * **themes:** add in deprecated tokens ([#263](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/263)) ([21b9401](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/21b9401))
330
+
331
+
332
+
333
+ ## [0.0.1-alpha.28](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.27...v0.0.1-alpha.28) (2019-01-11)
334
+
335
+
336
+ ### Bug Fixes
337
+
338
+ * **colors:** add back in ibm-color-map ([#254](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/254)) ([b0ba7f8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/b0ba7f8))
339
+
340
+
341
+
342
+ ## [0.0.1-alpha.27](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.26...v0.0.1-alpha.27) (2019-01-10)
343
+
344
+
345
+ ### Bug Fixes
346
+
347
+ * **colors:** add all colors to export ([#246](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/246)) ([8b6ac7f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b6ac7f))
348
+ * **colors:** update scss map name ([#198](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/198)) ([4dcb170](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/4dcb170))
349
+
350
+
351
+ ### Features
352
+
353
+ * **bundler:** add support for scss compilation ([#222](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/222)) ([5cfcdb8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5cfcdb8))
354
+
355
+
356
+
357
+ ## [0.0.1-alpha.26](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.25...v0.0.1-alpha.26) (2018-12-13)
358
+
359
+
360
+ ### Bug Fixes
361
+
362
+ * **colors:** add map with grades to scss output, add black100, white0, yellow20, and orange40 vars ([#141](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/141)) ([6d6bc04](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6d6bc04))
363
+
364
+
365
+
366
+ ## [0.0.1-alpha.25](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.24...v0.0.1-alpha.25) (2018-12-11)
367
+
368
+
369
+
370
+ ## [0.0.1-alpha.24](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.23...v0.0.1-alpha.24) (2018-12-07)
371
+
372
+
373
+
374
+ ## [0.0.1-alpha.23](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.22...v0.0.1-alpha.23) (2018-12-06)
375
+
376
+
377
+
378
+ ## [0.0.1-alpha.22](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.21...v0.0.1-alpha.22) (2018-12-04)
379
+
380
+
381
+
382
+ ## [0.0.1-alpha.21](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.20...v0.0.1-alpha.21) (2018-12-04)
383
+
384
+
385
+ ### Features
386
+
387
+ * **colors:** update color and token values ([#107](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/107)) ([63795d6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/63795d6))
388
+
389
+
390
+
391
+ ## [0.0.1-alpha.20](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.19...v0.0.1-alpha.20) (2018-11-29)
392
+
393
+
394
+
395
+ ## [0.0.1-alpha.19](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.18...v0.0.1-alpha.19) (2018-11-29)
396
+
397
+
398
+
399
+ ## [0.0.1-alpha.18](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.17...v0.0.1-alpha.18) (2018-11-28)
400
+
401
+
402
+
403
+ ## [0.0.1-alpha.17](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.16...v0.0.1-alpha.17) (2018-11-25)
404
+
405
+
406
+
407
+ ## [0.0.1-alpha.16](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.15...v0.0.1-alpha.16) (2018-11-21)
408
+
409
+
410
+
411
+ ## [0.0.1-alpha.15](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.14...v0.0.1-alpha.15) (2018-11-21)
412
+
413
+
414
+
415
+ ## [0.0.1-alpha.14](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.13...v0.0.1-alpha.14) (2018-11-20)
416
+
417
+
418
+
419
+ ## [0.0.1-alpha.13](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.12...v0.0.1-alpha.13) (2018-11-19)
420
+
421
+
422
+
423
+ ## [0.0.1-alpha.12](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.11...v0.0.1-alpha.12) (2018-11-18)
424
+
425
+
426
+
427
+ ## [0.0.1-alpha.11](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.10...v0.0.1-alpha.11) (2018-11-18)
428
+
429
+
430
+
431
+ ## [0.0.1-alpha.10](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.9...v0.0.1-alpha.10) (2018-11-18)
432
+
433
+
434
+
435
+ ## [0.0.1-alpha.9](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.8...v0.0.1-alpha.9) (2018-11-18)
436
+
437
+
438
+
439
+ ## [0.0.1-alpha.8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.7...v0.0.1-alpha.8) (2018-11-18)
440
+
441
+
442
+ ### Features
443
+
444
+ * add tokens alongside JavaScript output for certain packages ([#72](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/72)) ([6ca03e2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6ca03e2))
445
+
446
+
447
+
448
+ ## [0.0.1-alpha.7](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.5...v0.0.1-alpha.7) (2018-11-14)
449
+
450
+
451
+
452
+ ## [0.0.1-alpha.5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.4...v0.0.1-alpha.5) (2018-11-14)
453
+
454
+
455
+
456
+ ## [0.0.1-alpha.4](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.3...v0.0.1-alpha.4) (2018-11-09)
457
+
458
+
459
+ ### Bug Fixes
460
+
461
+ * **colors:** update build process to output proper token names ([88d631e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/88d631e))
462
+
463
+
464
+
465
+ ## [0.0.1-alpha.3](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.2...v0.0.1-alpha.3) (2018-11-09)
466
+
467
+
468
+ ### Features
469
+
470
+ * update for alpha.3 ([dcbfc59](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/dcbfc59))
471
+
472
+
473
+
474
+ ## [0.0.1-alpha.2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.0...v0.0.1-alpha.2) (2018-10-02)
475
+
476
+
477
+ ### Features
478
+
479
+ * **icons-react:** add `icons-react` package ([#6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/6)) ([43eb47c](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/43eb47c))
480
+ * **type:** add type package ([#17](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/17)) ([904462e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/904462e))
481
+
482
+
483
+
484
+ ## [0.0.1-alpha.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/8b4d40e...v0.0.1-alpha.0) (2018-08-30)
485
+
486
+
487
+ ### Features
488
+
489
+ * **colors:** add colors package ([#5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/5)) ([8b4d40e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b4d40e))
package/LICENSE CHANGED
@@ -178,7 +178,7 @@
178
178
  APPENDIX: How to apply the Apache License to your work.
179
179
 
180
180
  To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
182
  replaced with your own identifying information. (Don't include
183
183
  the brackets!) The text should be enclosed in the appropriate
184
184
  comment syntax for the file format. We also recommend that a
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2018 IBM Corp.
189
+ Copyright 2015 IBM Corp.
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,19 +1,18 @@
1
1
  # @carbon/colors
2
2
 
3
- > Colors for digital and software products using the Carbon Design
4
- > System
3
+ > Colors for digital and software products using the Carbon Design System
5
4
 
6
5
  ## Getting started
7
6
 
8
- To install `@carbon/colors` in your project, you will need to run the
9
- following command using [npm](https://www.npmjs.com/):
7
+ To install `@carbon/colors` in your project, you will need to run the following
8
+ command using [npm](https://www.npmjs.com/):
10
9
 
11
10
  ```bash
12
11
  npm install -S @carbon/colors
13
12
  ```
14
13
 
15
- If you prefer [Yarn](https://yarnpkg.com/en/), use the following
16
- command instead:
14
+ If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
15
+ instead:
17
16
 
18
17
  ```bash
19
18
  yarn add @carbon/colors
@@ -21,8 +20,8 @@ yarn add @carbon/colors
21
20
 
22
21
  ## Usage
23
22
 
24
- You can use the `@carbon/colors` module in your JavaScript, in
25
- addition to your Sass.
23
+ You can use the `@carbon/colors` module in your JavaScript, in addition to your
24
+ Sass.
26
25
 
27
26
  ### Sass
28
27
 
@@ -76,6 +75,7 @@ swatches is also a map, but each key is now the grade. In code, this looks like
76
75
  the following:
77
76
 
78
77
  <!-- prettier-ignore-start -->
78
+
79
79
  ```scss
80
80
  $carbon--colors: (
81
81
  'blue': (
@@ -84,6 +84,7 @@ $carbon--colors: (
84
84
  )
85
85
  );
86
86
  ```
87
+
87
88
  <!-- prettier-ignore-end -->
88
89
 
89
90
  You can include this variable by including `@carbon/colors/scss/colors` or
@@ -94,8 +95,8 @@ calling the `carbon--colors()` mixin directly.
94
95
  If you were originally using a project that had color variables defined as
95
96
  `$ibm-color__<swatch>-<grade>`, or are relying on `$ibm-color-map`, you can also
96
97
  use the entrypoint described above to access these colors. They are meant as an
97
- easier way to help adopt these packages. However, these variables will be removed
98
- in the next release of Carbon.
98
+ easier way to help adopt these packages. However, these variables will be
99
+ removed in the next release of Carbon.
99
100
 
100
101
  Similar to previous efforts, we also provide colors in the formats mentioned
101
102
  above. For example:
@@ -105,8 +106,8 @@ $ibm-color__blue-50;
105
106
  $ibm-color__warm-gray-100;
106
107
  ```
107
108
 
108
- If you would like a mixin to conditionally include these variables,
109
- you can include the mixin by using:
109
+ If you would like a mixin to conditionally include these variables, you can
110
+ include the mixin by using:
110
111
 
111
112
  ```scss
112
113
  @import '@carbon/colors/scss/mixins';
@@ -116,8 +117,8 @@ you can include the mixin by using:
116
117
 
117
118
  ### JavaScript
118
119
 
119
- For JavaScript, you can import and use this module by doing the
120
- following in your code:
120
+ For JavaScript, you can import and use this module by doing the following in
121
+ your code:
121
122
 
122
123
  ```js
123
124
  // ESM
@@ -127,9 +128,8 @@ import { black, blue, warmGray } from '@carbon/colors';
127
128
  const { black, blue, warmGray } = require('@carbon/colors');
128
129
  ```
129
130
 
130
- Each color swatch is exported as a variable, and each color name is
131
- also exported as an object that can be called by specifying grade, for
132
- example:
131
+ Each color swatch is exported as a variable, and each color name is also
132
+ exported as an object that can be called by specifying grade, for example:
133
133
 
134
134
  ```js
135
135
  black;
@@ -137,12 +137,17 @@ blue[50]; // Using the `blue` object.
137
137
  warmGray100; // Using the `warmGray100` variable.
138
138
  ```
139
139
 
140
+ ## 📖 API Documentation
141
+
142
+ If you're looking for `@carbon/colors` API documentation, check out:
143
+
144
+ - [Sass](./docs/sass.md)
145
+
140
146
  ## 🙌 Contributing
141
147
 
142
- We're always looking for contributors to help us fix bugs, build new
143
- features, or help us improve the project documentation. If you're
144
- interested, definitely check out our [Contributing Guide](/.github/CONTRIBUTING.md)
145
- ! 👀
148
+ We're always looking for contributors to help us fix bugs, build new features,
149
+ or help us improve the project documentation. If you're interested, definitely
150
+ check out our [Contributing Guide](/.github/CONTRIBUTING.md) ! 👀
146
151
 
147
152
  ## 📝 License
148
153
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/colors",
3
3
  "description": "Colors for digital and software products using the Carbon Design System",
4
- "version": "10.0.0-rc.0",
4
+ "version": "10.2.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -25,17 +25,18 @@
25
25
  "access": "public"
26
26
  },
27
27
  "scripts": {
28
- "build": "yarn clean && bundler bundle src/index.js --name CarbonColors && node tasks/build.js && bundler check 'scss/*.scss'",
28
+ "build": "yarn clean && bundler bundle src/index.js --name CarbonColors && node tasks/build.js && bundler check 'scss/*.scss' && bundler sassdoc 'scss/*.scss'",
29
29
  "clean": "rimraf css es lib umd scss"
30
30
  },
31
31
  "devDependencies": {
32
- "@carbon/bundler": "10.0.0-rc.0",
33
- "@carbon/cli-reporter": "10.0.0-rc.0",
34
- "@carbon/test-utils": "10.0.0-rc.0",
32
+ "@carbon/bundler": "10.2.0",
33
+ "@carbon/cli-reporter": "10.2.0",
34
+ "@carbon/scss-generator": "10.2.0",
35
+ "@carbon/test-utils": "10.2.0",
35
36
  "change-case": "^3.0.2",
37
+ "core-js": "^3.0.1",
36
38
  "fs-extra": "^7.0.0",
37
39
  "node-sass": "^4.11.0",
38
- "prettier": "^1.14.3",
39
40
  "rimraf": "^2.6.2"
40
41
  },
41
42
  "eyeglass": {
@@ -44,5 +45,5 @@
44
45
  "sassDir": "scss",
45
46
  "needs": "^1.3.0"
46
47
  },
47
- "gitHead": "1d45594d448a22447b2b2685445362438b7c8944"
48
+ "gitHead": "e71825a0cf44f6f41fee7d2b0dd9c57d7bda126a"
48
49
  }
package/scss/colors.scss CHANGED
@@ -1,7 +1,11 @@
1
1
  // Code generated by @carbon/colors. DO NOT EDIT.
2
-
2
+ //
3
+ // Copyright IBM Corp. 2018, 2018
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
3
8
  @import './mixins';
4
-
5
9
  // Deprecated ☠️
6
10
  @include ibm--colors();
7
11
  // Preferred
@@ -0,0 +1,12 @@
1
+ // Code generated by @carbon/colors. DO NOT EDIT.
2
+ //
3
+ // Copyright IBM Corp. 2018, 2018
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
8
+ @import './mixins';
9
+ // Deprecated ☠️
10
+ @include ibm--colors();
11
+ // Preferred
12
+ @include carbon--colors();
package/scss/mixins.scss CHANGED
@@ -1,7 +1,15 @@
1
1
  // Code generated by @carbon/colors. DO NOT EDIT.
2
-
3
- // Deprecated ☠️
4
- @mixin ibm--colors {
2
+ //
3
+ // Copyright IBM Corp. 2018, 2018
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
8
+ /// Define color variables
9
+ /// @access public
10
+ /// @group @carbon/colors
11
+ /// @deprecated Use `$carbon--colors` going forward
12
+ @mixin ibm--colors() {
5
13
  $ibm-color__black-100: #000000 !default !global;
6
14
  $ibm-color__blue-10: #edf4ff !default !global;
7
15
  $ibm-color__blue-20: #c9deff !default !global;
@@ -106,10 +114,9 @@
106
114
  $ibm-color__warm-gray-100: #1a1717 !default !global;
107
115
  $ibm-color__white-0: #ffffff !default !global;
108
116
  $ibm-color__yellow-20: #fdd13a !default !global;
109
-
110
117
  $ibm-color-map: (
111
118
  'black': (
112
- 100: #000000
119
+ 100: #000000,
113
120
  ),
114
121
  'blue': (
115
122
  10: #edf4ff,
@@ -121,7 +128,19 @@
121
128
  70: #054ada,
122
129
  80: #0530ad,
123
130
  90: #061f80,
124
- 100: #051243
131
+ 100: #051243,
132
+ ),
133
+ 'cool-gray': (
134
+ 10: #f2f4f8,
135
+ 20: #d5d9e0,
136
+ 30: #b9bfc7,
137
+ 40: #9fa5ad,
138
+ 50: #868d95,
139
+ 60: #697077,
140
+ 70: #50565b,
141
+ 80: #373d42,
142
+ 90: #242a2e,
143
+ 100: #13171a,
125
144
  ),
126
145
  'coolGray': (
127
146
  10: #f2f4f8,
@@ -133,7 +152,7 @@
133
152
  70: #50565b,
134
153
  80: #373d42,
135
154
  90: #242a2e,
136
- 100: #13171a
155
+ 100: #13171a,
137
156
  ),
138
157
  'cyan': (
139
158
  10: #e3f6ff,
@@ -145,7 +164,7 @@
145
164
  70: #0058a1,
146
165
  80: #003d73,
147
166
  90: #002b50,
148
- 100: #07192b
167
+ 100: #07192b,
149
168
  ),
150
169
  'gray': (
151
170
  10: #f3f3f3,
@@ -157,7 +176,7 @@
157
176
  70: #565656,
158
177
  80: #3d3d3d,
159
178
  90: #282828,
160
- 100: #171717
179
+ 100: #171717,
161
180
  ),
162
181
  'green': (
163
182
  10: #dafbe4,
@@ -169,7 +188,7 @@
169
188
  70: #10642a,
170
189
  80: #054719,
171
190
  90: #01330f,
172
- 100: #081b09
191
+ 100: #081b09,
173
192
  ),
174
193
  'magenta': (
175
194
  10: #fff0f6,
@@ -181,10 +200,10 @@
181
200
  70: #a11950,
182
201
  80: #760a3a,
183
202
  90: #57002b,
184
- 100: #2a0a16
203
+ 100: #2a0a16,
185
204
  ),
186
205
  'orange': (
187
- 40: #fc7b1e
206
+ 40: #fc7b1e,
188
207
  ),
189
208
  'purple': (
190
209
  10: #f7f1ff,
@@ -196,7 +215,7 @@
196
215
  70: #6e32c9,
197
216
  80: #4f2196,
198
217
  90: #38146b,
199
- 100: #1e1033
218
+ 100: #1e1033,
200
219
  ),
201
220
  'red': (
202
221
  10: #fff0f1,
@@ -208,7 +227,7 @@
208
227
  70: #a51920,
209
228
  80: #750e13,
210
229
  90: #570408,
211
- 100: #2c080a
230
+ 100: #2c080a,
212
231
  ),
213
232
  'teal': (
214
233
  10: #dbfbfb,
@@ -220,7 +239,19 @@
220
239
  70: #006161,
221
240
  80: #004548,
222
241
  90: #003137,
223
- 100: #081a1c
242
+ 100: #081a1c,
243
+ ),
244
+ 'warm-gray': (
245
+ 10: #f7f3f1,
246
+ 20: #e0dbda,
247
+ 30: #c1bcbb,
248
+ 40: #a7a2a2,
249
+ 50: #8f8b8b,
250
+ 60: #726e6e,
251
+ 70: #595555,
252
+ 80: #403c3c,
253
+ 90: #2b2828,
254
+ 100: #1a1717,
224
255
  ),
225
256
  'warmGray': (
226
257
  10: #f7f3f1,
@@ -232,18 +263,20 @@
232
263
  70: #595555,
233
264
  80: #403c3c,
234
265
  90: #2b2828,
235
- 100: #1a1717
266
+ 100: #1a1717,
236
267
  ),
237
268
  'white': (
238
- 0: #ffffff
269
+ 0: #ffffff,
239
270
  ),
240
271
  'yellow': (
241
- 20: #fdd13a
242
- )
272
+ 20: #fdd13a,
273
+ ),
243
274
  ) !default !global;
244
275
  }
245
-
246
- @mixin carbon--colors {
276
+ /// Define color variables
277
+ /// @access public
278
+ /// @group @carbon/colors
279
+ @mixin carbon--colors() {
247
280
  $carbon--black-100: #000000 !default !global;
248
281
  $carbon--blue-10: #edf4ff !default !global;
249
282
  $carbon--blue-20: #c9deff !default !global;
@@ -454,7 +487,7 @@
454
487
  $yellow-20: #fdd13a !default !global;
455
488
  $carbon--colors: (
456
489
  'black': (
457
- 100: #000000
490
+ 100: #000000,
458
491
  ),
459
492
  'blue': (
460
493
  10: #edf4ff,
@@ -466,7 +499,19 @@
466
499
  70: #054ada,
467
500
  80: #0530ad,
468
501
  90: #061f80,
469
- 100: #051243
502
+ 100: #051243,
503
+ ),
504
+ 'cool-gray': (
505
+ 10: #f2f4f8,
506
+ 20: #d5d9e0,
507
+ 30: #b9bfc7,
508
+ 40: #9fa5ad,
509
+ 50: #868d95,
510
+ 60: #697077,
511
+ 70: #50565b,
512
+ 80: #373d42,
513
+ 90: #242a2e,
514
+ 100: #13171a,
470
515
  ),
471
516
  'coolGray': (
472
517
  10: #f2f4f8,
@@ -478,7 +523,7 @@
478
523
  70: #50565b,
479
524
  80: #373d42,
480
525
  90: #242a2e,
481
- 100: #13171a
526
+ 100: #13171a,
482
527
  ),
483
528
  'cyan': (
484
529
  10: #e3f6ff,
@@ -490,7 +535,7 @@
490
535
  70: #0058a1,
491
536
  80: #003d73,
492
537
  90: #002b50,
493
- 100: #07192b
538
+ 100: #07192b,
494
539
  ),
495
540
  'gray': (
496
541
  10: #f3f3f3,
@@ -502,7 +547,7 @@
502
547
  70: #565656,
503
548
  80: #3d3d3d,
504
549
  90: #282828,
505
- 100: #171717
550
+ 100: #171717,
506
551
  ),
507
552
  'green': (
508
553
  10: #dafbe4,
@@ -514,7 +559,7 @@
514
559
  70: #10642a,
515
560
  80: #054719,
516
561
  90: #01330f,
517
- 100: #081b09
562
+ 100: #081b09,
518
563
  ),
519
564
  'magenta': (
520
565
  10: #fff0f6,
@@ -526,10 +571,10 @@
526
571
  70: #a11950,
527
572
  80: #760a3a,
528
573
  90: #57002b,
529
- 100: #2a0a16
574
+ 100: #2a0a16,
530
575
  ),
531
576
  'orange': (
532
- 40: #fc7b1e
577
+ 40: #fc7b1e,
533
578
  ),
534
579
  'purple': (
535
580
  10: #f7f1ff,
@@ -541,7 +586,7 @@
541
586
  70: #6e32c9,
542
587
  80: #4f2196,
543
588
  90: #38146b,
544
- 100: #1e1033
589
+ 100: #1e1033,
545
590
  ),
546
591
  'red': (
547
592
  10: #fff0f1,
@@ -553,7 +598,7 @@
553
598
  70: #a51920,
554
599
  80: #750e13,
555
600
  90: #570408,
556
- 100: #2c080a
601
+ 100: #2c080a,
557
602
  ),
558
603
  'teal': (
559
604
  10: #dbfbfb,
@@ -565,7 +610,19 @@
565
610
  70: #006161,
566
611
  80: #004548,
567
612
  90: #003137,
568
- 100: #081a1c
613
+ 100: #081a1c,
614
+ ),
615
+ 'warm-gray': (
616
+ 10: #f7f3f1,
617
+ 20: #e0dbda,
618
+ 30: #c1bcbb,
619
+ 40: #a7a2a2,
620
+ 50: #8f8b8b,
621
+ 60: #726e6e,
622
+ 70: #595555,
623
+ 80: #403c3c,
624
+ 90: #2b2828,
625
+ 100: #1a1717,
569
626
  ),
570
627
  'warmGray': (
571
628
  10: #f7f3f1,
@@ -577,13 +634,13 @@
577
634
  70: #595555,
578
635
  80: #403c3c,
579
636
  90: #2b2828,
580
- 100: #1a1717
637
+ 100: #1a1717,
581
638
  ),
582
639
  'white': (
583
- 0: #ffffff
640
+ 0: #ffffff,
584
641
  ),
585
642
  'yellow': (
586
- 20: #fdd13a
587
- )
643
+ 20: #fdd13a,
644
+ ),
588
645
  ) !default !global;
589
646
  }