@carbon/type 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.
Files changed (44) hide show
  1. package/CHANGELOG.md +525 -0
  2. package/LICENSE +2 -2
  3. package/README.md +25 -21
  4. package/es/index.js +26 -38
  5. package/lib/index.js +31 -37
  6. package/package.json +7 -7
  7. package/scss/_classes.scss +3 -0
  8. package/scss/_font-family.scss +17 -4
  9. package/scss/_inlined/_classes.scss +41 -0
  10. package/scss/_inlined/_font-family.scss +70 -0
  11. package/scss/_inlined/_prefix.scss +11 -0
  12. package/scss/_inlined/_reset.scss +43 -0
  13. package/scss/_inlined/_scale.scss +59 -0
  14. package/scss/_inlined/_styles.scss +673 -0
  15. package/scss/_inlined/font-face/_mono.scss +430 -0
  16. package/scss/_inlined/font-face/_sans.scss +497 -0
  17. package/scss/_inlined/font-face/_serif.scss +430 -0
  18. package/scss/_inlined/font-face/_settings.scss +12 -0
  19. package/scss/_prefix.scss +3 -0
  20. package/scss/_reset.scss +20 -7
  21. package/scss/_scale.scss +16 -5
  22. package/scss/_styles.scss +145 -49
  23. package/scss/font-face/_mono.scss +41 -0
  24. package/scss/font-face/_sans.scss +144 -36
  25. package/scss/font-face/_serif.scss +77 -36
  26. package/scss/font-face/_settings.scss +12 -0
  27. package/scss/index.scss +11 -0
  28. package/scss/type.scss +4 -4
  29. package/scss/vendor/@carbon/import-once/import-once.scss +27 -0
  30. package/scss/vendor/@carbon/import-once/index.scss +8 -0
  31. package/scss/vendor/@carbon/layout/_breakpoint.scss +237 -0
  32. package/scss/vendor/@carbon/layout/_convert.scss +30 -0
  33. package/scss/vendor/@carbon/layout/_key-height.scss +97 -0
  34. package/scss/vendor/@carbon/layout/_mini-unit.scss +23 -0
  35. package/scss/vendor/@carbon/layout/_spacing.scss +328 -0
  36. package/scss/vendor/@carbon/layout/_utilities.scss +41 -0
  37. package/scss/vendor/@carbon/layout/index.scss +8 -0
  38. package/scss/vendor/@carbon/layout/layout.scss +12 -0
  39. package/src/__tests__/__snapshots__/styles-test.js.snap +121 -87
  40. package/src/__tests__/exports-test.js +43 -37
  41. package/src/__tests__/fluid-test.js +0 -1
  42. package/src/reset.js +3 -0
  43. package/src/styles.js +22 -38
  44. package/umd/index.js +31 -37
package/CHANGELOG.md ADDED
@@ -0,0 +1,525 @@
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/type/compare/v10.1.0...v10.1.1) (2019-04-13)
7
+
8
+ **Note:** Version bump only for package @carbon/type
9
+
10
+
11
+
12
+
13
+
14
+ # 10.1.0 (2019-04-12)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **type:** allow type styles to inherit font-family ([#465](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/465)) ([0d06371](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/0d06371))
20
+ * **type:** update step in preview documentation ([#474](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/474)) ([861b6aa](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/861b6aa))
21
+
22
+
23
+ ### Features
24
+
25
+ * **sassdoc:** render Sassdoc in markdown ([#462](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/462)) ([73cea35](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/73cea35)), closes [#470](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/470)
26
+ * **type:** add font-display setting to enhance font loading experience ([#477](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/477)) ([170f15a](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/170f15a))
27
+ * **type:** update fonts to latest version and add greek support for sans ([#457](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/457)) ([ae0ea6e](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/ae0ea6e))
28
+
29
+
30
+
31
+ # 10.0.0 (2019-03-29)
32
+
33
+
34
+
35
+ # 10.0.0-rc.0 (2019-03-27)
36
+
37
+
38
+
39
+ ## 0.0.1-beta.5 (2019-03-25)
40
+
41
+
42
+
43
+ ## 0.0.1-beta.4 (2019-03-22)
44
+
45
+
46
+
47
+ ## 0.0.1-beta.3 (2019-03-22)
48
+
49
+
50
+
51
+ ## 0.0.1-beta.2 (2019-03-19)
52
+
53
+
54
+
55
+ ## 0.0.1-beta.1 (2019-03-13)
56
+
57
+
58
+
59
+ ## 0.0.1-beta.0 (2019-03-07)
60
+
61
+
62
+
63
+ ## 0.0.1-alpha.32 (2019-02-12)
64
+
65
+
66
+ ### Bug Fixes
67
+
68
+ * **type:** $expressive-heading-04 line height at mobile ([#323](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/323)) ([f36a174](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/f36a174))
69
+ * **type:** parseFloat only has one parameter ([#342](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/342)) ([e46685b](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/e46685b))
70
+
71
+
72
+ ### Features
73
+
74
+ * **project:** add carbon namespace to public API ([#300](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/300)) ([1ae6f33](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/1ae6f33))
75
+ * **stylelint-config-elements:** add stylelint ([#333](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/333)) ([94df4a2](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/94df4a2))
76
+ * **type:** add expressive-heading-03 ([#348](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/348)) ([569c86b](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/569c86b))
77
+
78
+
79
+
80
+ ## 0.0.1-alpha.31 (2019-01-28)
81
+
82
+
83
+ ### Features
84
+
85
+ * **type:** update font-face files from google fonts ([#301](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/301)) ([cf58171](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/cf58171))
86
+
87
+
88
+
89
+ ## 0.0.1-alpha.30 (2019-01-22)
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * **type:** change font weight for strong ([#293](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/293)) ([aad0b11](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/aad0b11))
95
+
96
+
97
+ ### Features
98
+
99
+ * **type:** update $expressive-paragraph-01 to light ([#292](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/292)) ([9d7c064](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/9d7c064))
100
+ * **type:** update xlg breakpoint for $expressive-heading-04 ([#285](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/285)) ([413ba23](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/413ba23))
101
+
102
+
103
+
104
+ ## 0.0.1-alpha.29 (2019-01-14)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * **themes:** add in deprecated tokens ([#263](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/263)) ([21b9401](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/21b9401))
110
+
111
+
112
+ ### Features
113
+
114
+ * **type:** add expressive-paragraph-01 token and update other values ([#266](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/266)) ([b8b0bad](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/b8b0bad))
115
+
116
+
117
+
118
+ ## 0.0.1-alpha.28 (2019-01-11)
119
+
120
+
121
+
122
+ ## 0.0.1-alpha.27 (2019-01-10)
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * update jsdocs [@return](https://github.com/return) to [@returns](https://github.com/returns) ([#197](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/197)) ([79cb046](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/79cb046))
128
+ * **type:** update $productive-heading-05 weights to Light (300) ([#219](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/219)) ([6eb3b0a](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/6eb3b0a))
129
+ * **type:** update styles for heading changes ([#232](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/232)) ([ee436e7](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/ee436e7))
130
+
131
+
132
+ ### Features
133
+
134
+ * **bundler:** add support for scss compilation ([#222](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/222)) ([5cfcdb8](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/5cfcdb8))
135
+ * **type:** value update for expressive-heading-04 token ([#202](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/202)) ([9cf96eb](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/9cf96eb))
136
+
137
+
138
+
139
+ ## 0.0.1-alpha.26 (2018-12-13)
140
+
141
+
142
+ ### Features
143
+
144
+ * **type:** conditional CSS class definition ([#174](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/174)) ([a6ceb85](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/a6ceb85)), closes [#143](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/143)
145
+ * **type:** wrap [@font-face](https://github.com/font-face) in mix-in ([#144](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/144)) ([8d77cf8](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/8d77cf8)), closes [#143](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/143)
146
+
147
+
148
+
149
+ ## 0.0.1-alpha.25 (2018-12-11)
150
+
151
+
152
+
153
+ ## 0.0.1-alpha.24 (2018-12-07)
154
+
155
+
156
+ ### Features
157
+
158
+ * **type:** add type classes ([#129](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/129)) ([4025bec](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/4025bec))
159
+
160
+
161
+
162
+ ## 0.0.1-alpha.23 (2018-12-06)
163
+
164
+
165
+ ### Features
166
+
167
+ * **type:** add new token set ([#117](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/117)) ([1138830](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/1138830))
168
+
169
+
170
+
171
+ ## 0.0.1-alpha.22 (2018-12-04)
172
+
173
+
174
+
175
+ ## 0.0.1-alpha.21 (2018-12-04)
176
+
177
+
178
+
179
+ ## 0.0.1-alpha.20 (2018-11-29)
180
+
181
+
182
+
183
+ ## 0.0.1-alpha.19 (2018-11-29)
184
+
185
+
186
+
187
+ ## 0.0.1-alpha.18 (2018-11-28)
188
+
189
+
190
+
191
+ ## 0.0.1-alpha.17 (2018-11-25)
192
+
193
+
194
+
195
+ ## 0.0.1-alpha.16 (2018-11-21)
196
+
197
+
198
+
199
+ ## 0.0.1-alpha.15 (2018-11-21)
200
+
201
+
202
+
203
+ ## 0.0.1-alpha.14 (2018-11-20)
204
+
205
+
206
+
207
+ ## 0.0.1-alpha.13 (2018-11-19)
208
+
209
+
210
+
211
+ ## 0.0.1-alpha.12 (2018-11-18)
212
+
213
+
214
+
215
+ ## 0.0.1-alpha.11 (2018-11-18)
216
+
217
+
218
+
219
+ ## 0.0.1-alpha.10 (2018-11-18)
220
+
221
+
222
+
223
+ ## 0.0.1-alpha.9 (2018-11-18)
224
+
225
+
226
+
227
+ ## 0.0.1-alpha.8 (2018-11-18)
228
+
229
+
230
+ ### Features
231
+
232
+ * **type:** update type values and add additional tokens ([#70](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/70)) ([0dd9c77](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/0dd9c77))
233
+ * add tokens alongside JavaScript output for certain packages ([#72](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/72)) ([6ca03e2](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/6ca03e2))
234
+
235
+
236
+
237
+ ## 0.0.1-alpha.7 (2018-11-14)
238
+
239
+
240
+
241
+ ## 0.0.1-alpha.5 (2018-11-14)
242
+
243
+
244
+
245
+ ## 0.0.1-alpha.4 (2018-11-09)
246
+
247
+
248
+
249
+ ## 0.0.1-alpha.3 (2018-11-09)
250
+
251
+
252
+ ### Bug Fixes
253
+
254
+ * **type:** make responsive styles optional ([37b9fd9](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/37b9fd9))
255
+ * **type:** update type styles for heading tokens ([#41](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/41)) ([ff29349](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/ff29349))
256
+
257
+
258
+ ### Features
259
+
260
+ * **type:** update type package ([#35](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/35)) ([85c68ea](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/85c68ea))
261
+ * update for alpha.3 ([dcbfc59](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/dcbfc59))
262
+
263
+
264
+
265
+ ## 0.0.1-alpha.2 (2018-10-02)
266
+
267
+
268
+ ### Bug Fixes
269
+
270
+ * **icons-react:** update build process and add storybook support ([#34](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/34)) ([c27dbbc](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/c27dbbc))
271
+
272
+
273
+ ### Features
274
+
275
+ * **type:** add type package ([#17](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/17)) ([904462e](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/904462e))
276
+
277
+
278
+
279
+
280
+
281
+ # [10.0.0](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v10.0.0-rc.0...v10.0.0) (2019-03-29)
282
+
283
+
284
+
285
+ # [10.0.0-rc.0](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-beta.5...v10.0.0-rc.0) (2019-03-27)
286
+
287
+
288
+
289
+ ## [0.0.1-beta.5](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-beta.4...v0.0.1-beta.5) (2019-03-25)
290
+
291
+
292
+
293
+ ## [0.0.1-beta.4](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-beta.3...v0.0.1-beta.4) (2019-03-22)
294
+
295
+
296
+
297
+ ## [0.0.1-beta.3](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-beta.2...v0.0.1-beta.3) (2019-03-22)
298
+
299
+
300
+
301
+ ## [0.0.1-beta.2](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-beta.1...v0.0.1-beta.2) (2019-03-19)
302
+
303
+
304
+
305
+ ## [0.0.1-beta.1](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-beta.0...v0.0.1-beta.1) (2019-03-13)
306
+
307
+
308
+
309
+ ## [0.0.1-beta.0](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.32...v0.0.1-beta.0) (2019-03-07)
310
+
311
+
312
+
313
+ ## [0.0.1-alpha.32](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.31...v0.0.1-alpha.32) (2019-02-12)
314
+
315
+
316
+ ### Bug Fixes
317
+
318
+ * **type:** $expressive-heading-04 line height at mobile ([#323](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/323)) ([f36a174](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/f36a174))
319
+ * **type:** parseFloat only has one parameter ([#342](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/342)) ([e46685b](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/e46685b))
320
+
321
+
322
+ ### Features
323
+
324
+ * **project:** add carbon namespace to public API ([#300](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/300)) ([1ae6f33](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/1ae6f33))
325
+ * **stylelint-config-elements:** add stylelint ([#333](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/333)) ([94df4a2](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/94df4a2))
326
+ * **type:** add expressive-heading-03 ([#348](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/348)) ([569c86b](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/569c86b))
327
+
328
+
329
+
330
+ ## [0.0.1-alpha.31](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.30...v0.0.1-alpha.31) (2019-01-28)
331
+
332
+
333
+ ### Features
334
+
335
+ * **type:** update font-face files from google fonts ([#301](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/301)) ([cf58171](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/cf58171))
336
+
337
+
338
+
339
+ ## [0.0.1-alpha.30](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.29...v0.0.1-alpha.30) (2019-01-22)
340
+
341
+
342
+ ### Bug Fixes
343
+
344
+ * **type:** change font weight for strong ([#293](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/293)) ([aad0b11](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/aad0b11))
345
+
346
+
347
+ ### Features
348
+
349
+ * **type:** update $expressive-paragraph-01 to light ([#292](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/292)) ([9d7c064](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/9d7c064))
350
+ * **type:** update xlg breakpoint for $expressive-heading-04 ([#285](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/285)) ([413ba23](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/413ba23))
351
+
352
+
353
+
354
+ ## [0.0.1-alpha.29](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.28...v0.0.1-alpha.29) (2019-01-14)
355
+
356
+
357
+ ### Bug Fixes
358
+
359
+ * **themes:** add in deprecated tokens ([#263](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/263)) ([21b9401](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/21b9401))
360
+
361
+
362
+ ### Features
363
+
364
+ * **type:** add expressive-paragraph-01 token and update other values ([#266](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/266)) ([b8b0bad](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/b8b0bad))
365
+
366
+
367
+
368
+ ## [0.0.1-alpha.28](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.27...v0.0.1-alpha.28) (2019-01-11)
369
+
370
+
371
+
372
+ ## [0.0.1-alpha.27](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.26...v0.0.1-alpha.27) (2019-01-10)
373
+
374
+
375
+ ### Bug Fixes
376
+
377
+ * update jsdocs [@return](https://github.com/return) to [@returns](https://github.com/returns) ([#197](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/197)) ([79cb046](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/79cb046))
378
+ * **type:** update $productive-heading-05 weights to Light (300) ([#219](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/219)) ([6eb3b0a](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/6eb3b0a))
379
+ * **type:** update styles for heading changes ([#232](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/232)) ([ee436e7](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/ee436e7))
380
+
381
+
382
+ ### Features
383
+
384
+ * **bundler:** add support for scss compilation ([#222](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/222)) ([5cfcdb8](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/5cfcdb8))
385
+ * **type:** value update for expressive-heading-04 token ([#202](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/202)) ([9cf96eb](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/9cf96eb))
386
+
387
+
388
+
389
+ ## [0.0.1-alpha.26](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.25...v0.0.1-alpha.26) (2018-12-13)
390
+
391
+
392
+ ### Features
393
+
394
+ * **type:** conditional CSS class definition ([#174](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/174)) ([a6ceb85](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/a6ceb85)), closes [#143](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/143)
395
+ * **type:** wrap [@font-face](https://github.com/font-face) in mix-in ([#144](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/144)) ([8d77cf8](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/8d77cf8)), closes [#143](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/143)
396
+
397
+
398
+
399
+ ## [0.0.1-alpha.25](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.24...v0.0.1-alpha.25) (2018-12-11)
400
+
401
+
402
+
403
+ ## [0.0.1-alpha.24](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.23...v0.0.1-alpha.24) (2018-12-07)
404
+
405
+
406
+ ### Features
407
+
408
+ * **type:** add type classes ([#129](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/129)) ([4025bec](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/4025bec))
409
+
410
+
411
+
412
+ ## [0.0.1-alpha.23](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.22...v0.0.1-alpha.23) (2018-12-06)
413
+
414
+
415
+ ### Features
416
+
417
+ * **type:** add new token set ([#117](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/117)) ([1138830](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/1138830))
418
+
419
+
420
+
421
+ ## [0.0.1-alpha.22](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.21...v0.0.1-alpha.22) (2018-12-04)
422
+
423
+
424
+
425
+ ## [0.0.1-alpha.21](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.20...v0.0.1-alpha.21) (2018-12-04)
426
+
427
+
428
+
429
+ ## [0.0.1-alpha.20](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.19...v0.0.1-alpha.20) (2018-11-29)
430
+
431
+
432
+
433
+ ## [0.0.1-alpha.19](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.18...v0.0.1-alpha.19) (2018-11-29)
434
+
435
+
436
+
437
+ ## [0.0.1-alpha.18](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.17...v0.0.1-alpha.18) (2018-11-28)
438
+
439
+
440
+
441
+ ## [0.0.1-alpha.17](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.16...v0.0.1-alpha.17) (2018-11-25)
442
+
443
+
444
+
445
+ ## [0.0.1-alpha.16](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.15...v0.0.1-alpha.16) (2018-11-21)
446
+
447
+
448
+
449
+ ## [0.0.1-alpha.15](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.14...v0.0.1-alpha.15) (2018-11-21)
450
+
451
+
452
+
453
+ ## [0.0.1-alpha.14](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.13...v0.0.1-alpha.14) (2018-11-20)
454
+
455
+
456
+
457
+ ## [0.0.1-alpha.13](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.12...v0.0.1-alpha.13) (2018-11-19)
458
+
459
+
460
+
461
+ ## [0.0.1-alpha.12](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.11...v0.0.1-alpha.12) (2018-11-18)
462
+
463
+
464
+
465
+ ## [0.0.1-alpha.11](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.10...v0.0.1-alpha.11) (2018-11-18)
466
+
467
+
468
+
469
+ ## [0.0.1-alpha.10](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.9...v0.0.1-alpha.10) (2018-11-18)
470
+
471
+
472
+
473
+ ## [0.0.1-alpha.9](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.8...v0.0.1-alpha.9) (2018-11-18)
474
+
475
+
476
+
477
+ ## [0.0.1-alpha.8](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.7...v0.0.1-alpha.8) (2018-11-18)
478
+
479
+
480
+ ### Features
481
+
482
+ * **type:** update type values and add additional tokens ([#70](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/70)) ([0dd9c77](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/0dd9c77))
483
+ * add tokens alongside JavaScript output for certain packages ([#72](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/72)) ([6ca03e2](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/6ca03e2))
484
+
485
+
486
+
487
+ ## [0.0.1-alpha.7](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.5...v0.0.1-alpha.7) (2018-11-14)
488
+
489
+
490
+
491
+ ## [0.0.1-alpha.5](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.4...v0.0.1-alpha.5) (2018-11-14)
492
+
493
+
494
+
495
+ ## [0.0.1-alpha.4](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.3...v0.0.1-alpha.4) (2018-11-09)
496
+
497
+
498
+
499
+ ## [0.0.1-alpha.3](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.2...v0.0.1-alpha.3) (2018-11-09)
500
+
501
+
502
+ ### Bug Fixes
503
+
504
+ * **type:** make responsive styles optional ([37b9fd9](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/37b9fd9))
505
+ * **type:** update type styles for heading tokens ([#41](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/41)) ([ff29349](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/ff29349))
506
+
507
+
508
+ ### Features
509
+
510
+ * **type:** update type package ([#35](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/35)) ([85c68ea](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/85c68ea))
511
+ * update for alpha.3 ([dcbfc59](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/dcbfc59))
512
+
513
+
514
+
515
+ ## [0.0.1-alpha.2](https://github.com/IBM/carbon-elements/tree/master/packages/type/compare/v0.0.1-alpha.0...v0.0.1-alpha.2) (2018-10-02)
516
+
517
+
518
+ ### Bug Fixes
519
+
520
+ * **icons-react:** update build process and add storybook support ([#34](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/34)) ([c27dbbc](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/c27dbbc))
521
+
522
+
523
+ ### Features
524
+
525
+ * **type:** add type package ([#17](https://github.com/IBM/carbon-elements/tree/master/packages/type/issues/17)) ([904462e](https://github.com/IBM/carbon-elements/tree/master/packages/type/commit/904462e))
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/type
2
2
 
3
- > Typography for digital and software products using the Carbon Design
4
- > System
3
+ > Typography for digital and software products using the Carbon Design System
5
4
 
6
5
  ## Getting started
7
6
 
8
- To install `@carbon/type` in your project, you will need to run the
9
- following command using [npm](https://www.npmjs.com/):
7
+ To install `@carbon/type` 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/type
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/type
@@ -21,9 +20,9 @@ yarn add @carbon/type
21
20
 
22
21
  ## Usage
23
22
 
24
- `@carbon/type` provides a variety of ways to work with typography from
25
- the IBM Design Language. You can use all of these features either in
26
- JavaScript or Sass. These features include:
23
+ `@carbon/type` provides a variety of ways to work with typography from the IBM
24
+ Design Language. You can use all of these features either in JavaScript or Sass.
25
+ These features include:
27
26
 
28
27
  | Feature | Description |
29
28
  | ----------------------------- | ------------------------------------------------------------------------------------------------------------ |
@@ -86,7 +85,7 @@ what we call type styles. These tokens have a variety of properties for styling
86
85
  how text is rendered on a page.
87
86
 
88
87
  You can find a full reference of the type styles that are available
89
- [here](https://next.carbondesignsystem.com/guidelines/typography/productive).
88
+ [here](https://next.carbondesignsystem.com/guidelines/typography/productive) .
90
89
 
91
90
  You can include a token in your Sass file by writing:
92
91
 
@@ -148,9 +147,9 @@ Similarly, you can include IBM Plex Sans and IBM Plex Serif by writing:
148
147
 
149
148
  ### Type classes
150
149
 
151
- The recommended way to style your application will be to use our [type styles](#type-styles).
152
- However, we also offer helper CSS classes for specific use-cases. These are also
153
- helpful when quickly prototyping a project.
150
+ The recommended way to style your application will be to use our
151
+ [type styles](#type-styles). However, we also offer helper CSS classes for
152
+ specific use-cases. These are also helpful when quickly prototyping a project.
154
153
 
155
154
  You can include type classes in your project by writing the following in your
156
155
  Sass file:
@@ -199,7 +198,7 @@ You can also use the `carbon--font-family` mixin to automatically set the
199
198
  }
200
199
  ```
201
200
 
202
- You can see all the available font families in `$carbon--font-families`.
201
+ You can see all the available font families in `$carbon--font-families` .
203
202
 
204
203
  ### Reset
205
204
 
@@ -220,7 +219,7 @@ This reset sets some top-level properties on `html` and `body`, namely
220
219
 
221
220
  A type scale is provided through the `$carbon--type-scale` variable and
222
221
  corresponding `carbon--type-scale` function and mixin. However, for specifying
223
- type styles, the recommendation is to use [type styles](#type-styles).
222
+ type styles, the recommendation is to use [type styles](#type-styles) .
224
223
 
225
224
  If you are looking to use the type scale, you can include all the scale-related
226
225
  utilities and variables by writing the following in your Sass file:
@@ -250,19 +249,24 @@ There is also a `type-scale` mixin that will set `font-size` for your directly:
250
249
  }
251
250
  ```
252
251
 
252
+ ## 📖 API Documentation
253
+
254
+ If you're looking for `@carbon/type` API documentation, check out:
255
+
256
+ - [Sass](./docs/sass.md)
257
+
253
258
  ## 📚 Examples
254
259
 
255
- If you're looking for more examples on how to use `@carbon/type`, we
256
- have some examples that you can check out:
260
+ If you're looking for more examples on how to use `@carbon/type`, we have some
261
+ examples that you can check out:
257
262
 
258
263
  - [Styled-components](./examples/styled-components)
259
264
 
260
265
  ## 🙌 Contributing
261
266
 
262
- We're always looking for contributors to help us fix bugs, build new
263
- features, or help us improve the project documentation. If you're
264
- interested, definitely check out our [Contributing Guide](/.github/CONTRIBUTING.md)
265
- ! 👀
267
+ We're always looking for contributors to help us fix bugs, build new features,
268
+ or help us improve the project documentation. If you're interested, definitely
269
+ check out our [Contributing Guide](/.github/CONTRIBUTING.md) ! 👀
266
270
 
267
271
  ## 📝 License
268
272