@carbon/type 11.55.0-rc.0 → 11.56.0-rc.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 (4) hide show
  1. package/es/index.js +796 -799
  2. package/lib/index.js +860 -859
  3. package/package.json +5 -5
  4. package/umd/index.js +902 -900
package/umd/index.js CHANGED
@@ -1,913 +1,915 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@carbon/layout')) :
1
+ (function(global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@carbon/layout')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@carbon/layout'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CarbonType = {}, global.CarbonLayout));
5
- })(this, (function (exports, layout) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CarbonType = {}), global.CarbonLayout));
5
+ })(this, function(exports, _carbon_layout) {
6
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7
+ //#region \0rolldown/runtime.js
8
+ var __defProp = Object.defineProperty;
9
+ var __exportAll = (all, no_symbols) => {
10
+ let target = {};
11
+ for (var name in all) {
12
+ __defProp(target, name, {
13
+ get: all[name],
14
+ enumerable: true
15
+ });
16
+ }
17
+ if (!no_symbols) {
18
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
19
+ }
20
+ return target;
21
+ };
6
22
 
7
- /**
8
- * Copyright IBM Corp. 2018, 2023
9
- *
10
- * This source code is licensed under the Apache-2.0 license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
23
+ //#endregion
13
24
 
14
- // Font family fallbacks for: IBM Plex Mono, IBM Plex Sans, IBM Plex Sans
15
- // Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
16
- var fontFamilies = {
17
- mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
18
- sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
19
- sansCondensed: "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
20
- sansHebrew: "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
21
- serif: "'IBM Plex Serif', 'Georgia', Times, serif"
22
- };
23
- function fontFamily(name) {
24
- if (!fontFamilies[name]) {
25
- throw new Error("Unable to find font family: `".concat(name, "`. Expected one of: ") + "[".concat(Object.keys(fontFamilies).join(', '), "]"));
26
- }
27
- return {
28
- fontFamily: fontFamilies[name]
29
- };
30
- }
31
-
32
- /**
33
- * Copyright IBM Corp. 2018, 2023
34
- *
35
- * This source code is licensed under the Apache-2.0 license found in the
36
- * LICENSE file in the root directory of this source tree.
37
- */
38
-
39
- var fontWeights = {
40
- light: 300,
41
- regular: 400,
42
- semibold: 600
43
- };
44
- function fontWeight(weight) {
45
- if (!fontWeights[weight]) {
46
- throw new Error("Unable to find font weight: `".concat(weight, "`. Expected one of: ") + "[".concat(Object.keys(fontWeights).join(', '), "]"));
47
- }
48
- return {
49
- fontWeight: fontWeights[weight]
50
- };
51
- }
25
+ //#region src/fontFamily.js
26
+ /**
27
+ * Copyright IBM Corp. 2018, 2023
28
+ *
29
+ * This source code is licensed under the Apache-2.0 license found in the
30
+ * LICENSE file in the root directory of this source tree.
31
+ */
32
+ const fontFamilies = {
33
+ mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
34
+ sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
35
+ sansCondensed: "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
36
+ sansHebrew: "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
37
+ serif: "'IBM Plex Serif', 'Georgia', Times, serif"
38
+ };
39
+ function fontFamily(name) {
40
+ if (!fontFamilies[name]) throw new Error(`Unable to find font family: \`${name}\`. Expected one of: [${Object.keys(fontFamilies).join(", ")}]`);
41
+ return { fontFamily: fontFamilies[name] };
42
+ }
52
43
 
53
- /**
54
- * Copyright IBM Corp. 2018, 2023
55
- *
56
- * This source code is licensed under the Apache-2.0 license found in the
57
- * LICENSE file in the root directory of this source tree.
58
- */
44
+ //#endregion
45
+ //#region src/fontWeight.js
46
+ /**
47
+ * Copyright IBM Corp. 2018, 2023
48
+ *
49
+ * This source code is licensed under the Apache-2.0 license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */
52
+ const fontWeights = {
53
+ light: 300,
54
+ regular: 400,
55
+ semibold: 600
56
+ };
57
+ function fontWeight(weight) {
58
+ if (!fontWeights[weight]) throw new Error(`Unable to find font weight: \`${weight}\`. Expected one of: [${Object.keys(fontWeights).join(", ")}]`);
59
+ return { fontWeight: fontWeights[weight] };
60
+ }
59
61
 
60
- function print(block) {
61
- return Object.keys(block).reduce(function (acc, key, index) {
62
- // Short-circuit on the foreign key 'breakpoints'. This is used in our
63
- // tokens for fluid type and should not be printed. In the future, we should
64
- // tie this to media query outputs.
65
- if (key === 'breakpoints') {
66
- return acc;
67
- }
68
- var property = "".concat(paramCase(key), ": ").concat(block[key], ";");
69
- if (index === 0) {
70
- return property;
71
- }
72
- return acc + '\n' + property;
73
- }, '');
74
- }
75
- function paramCase(string) {
76
- var result = '';
77
- for (var i = 0; i < string.length; i++) {
78
- var character = string[i];
79
- if (character === character.toUpperCase()) {
80
- result += '-' + character.toLowerCase();
81
- continue;
82
- }
83
- result += character;
84
- }
85
- return result;
86
- }
62
+ //#endregion
63
+ //#region src/print.js
64
+ /**
65
+ * Copyright IBM Corp. 2018, 2023
66
+ *
67
+ * This source code is licensed under the Apache-2.0 license found in the
68
+ * LICENSE file in the root directory of this source tree.
69
+ */
70
+ function print(block) {
71
+ return Object.keys(block).reduce((acc, key, index) => {
72
+ if (key === "breakpoints") return acc;
73
+ const property = `${paramCase(key)}: ${block[key]};`;
74
+ if (index === 0) return property;
75
+ return acc + "\n" + property;
76
+ }, "");
77
+ }
78
+ function paramCase(string) {
79
+ let result = "";
80
+ for (let i = 0; i < string.length; i++) {
81
+ const character = string[i];
82
+ if (character === character.toUpperCase()) {
83
+ result += "-" + character.toLowerCase();
84
+ continue;
85
+ }
86
+ result += character;
87
+ }
88
+ return result;
89
+ }
87
90
 
88
- /**
89
- * Copyright IBM Corp. 2018, 2023
90
- *
91
- * This source code is licensed under the Apache-2.0 license found in the
92
- * LICENSE file in the root directory of this source tree.
93
- */
91
+ //#endregion
92
+ //#region src/reset.js
93
+ /**
94
+ * Copyright IBM Corp. 2018, 2023
95
+ *
96
+ * This source code is licensed under the Apache-2.0 license found in the
97
+ * LICENSE file in the root directory of this source tree.
98
+ */
99
+ const reset = {
100
+ html: { fontSize: (0, _carbon_layout.px)(_carbon_layout.baseFontSize) },
101
+ body: {
102
+ fontFamily: fontFamilies.sans,
103
+ fontWeight: fontWeights.regular,
104
+ textRendering: "optimizeLegibility",
105
+ "-webkit-font-smoothing": "antialiased",
106
+ "-moz-osx-font-smoothing": "grayscale"
107
+ },
108
+ strong: { fontWeight: fontWeights.semibold },
109
+ code: { fontFamily: fontFamilies.mono }
110
+ };
94
111
 
95
- var reset = {
96
- html: {
97
- fontSize: layout.px(layout.baseFontSize)
98
- },
99
- body: {
100
- fontFamily: fontFamilies.sans,
101
- fontWeight: fontWeights.regular,
102
- textRendering: 'optimizeLegibility',
103
- '-webkit-font-smoothing': 'antialiased',
104
- '-moz-osx-font-smoothing': 'grayscale'
105
- },
106
- strong: {
107
- fontWeight: fontWeights.semibold
108
- },
109
- code: {
110
- fontFamily: fontFamilies.mono
111
- }
112
- };
112
+ //#endregion
113
+ //#region src/scale.js
114
+ /**
115
+ * Copyright IBM Corp. 2018, 2023
116
+ *
117
+ * This source code is licensed under the Apache-2.0 license found in the
118
+ * LICENSE file in the root directory of this source tree.
119
+ */
120
+ /**
121
+ * Get the type size for the given step
122
+ * @param {number} step
123
+ * @returns {number}
124
+ */
125
+ function getTypeSize(step) {
126
+ if (step <= 1) return 12;
127
+ return getTypeSize(step - 1) + Math.floor((step - 2) / 4 + 1) * 2;
128
+ }
129
+ /**
130
+ * The default type scale for 23 steps. Inlined as an array here through running
131
+ * the follow step:
132
+ *
133
+ * > Array.from({ length: 23 }, (_, i) => getTypeSize(i + 1))
134
+ */
135
+ const scale = [
136
+ 12,
137
+ 14,
138
+ 16,
139
+ 18,
140
+ 20,
141
+ 24,
142
+ 28,
143
+ 32,
144
+ 36,
145
+ 42,
146
+ 48,
147
+ 54,
148
+ 60,
149
+ 68,
150
+ 76,
151
+ 84,
152
+ 92,
153
+ 102,
154
+ 112,
155
+ 122,
156
+ 132,
157
+ 144,
158
+ 156
159
+ ];
113
160
 
114
- /**
115
- * Copyright IBM Corp. 2018, 2023
116
- *
117
- * This source code is licensed under the Apache-2.0 license found in the
118
- * LICENSE file in the root directory of this source tree.
119
- */
161
+ //#endregion
162
+ //#region src/styles.js
163
+ /**
164
+ * Copyright IBM Corp. 2018, 2023
165
+ *
166
+ * This source code is licensed under the Apache-2.0 license found in the
167
+ * LICENSE file in the root directory of this source tree.
168
+ */
169
+ var styles_exports = /* @__PURE__ */ __exportAll({
170
+ body01: () => body01,
171
+ body02: () => body02,
172
+ bodyCompact01: () => bodyCompact01,
173
+ bodyCompact02: () => bodyCompact02,
174
+ bodyLong01: () => bodyLong01,
175
+ bodyLong02: () => bodyLong02,
176
+ bodyShort01: () => bodyShort01,
177
+ bodyShort02: () => bodyShort02,
178
+ caption01: () => caption01,
179
+ caption02: () => caption02,
180
+ code01: () => code01,
181
+ code02: () => code02,
182
+ display01: () => display01,
183
+ display02: () => display02,
184
+ display03: () => display03,
185
+ display04: () => display04,
186
+ expressiveHeading01: () => expressiveHeading01,
187
+ expressiveHeading02: () => expressiveHeading02,
188
+ expressiveHeading03: () => expressiveHeading03,
189
+ expressiveHeading04: () => expressiveHeading04,
190
+ expressiveHeading05: () => expressiveHeading05,
191
+ expressiveHeading06: () => expressiveHeading06,
192
+ expressiveParagraph01: () => expressiveParagraph01,
193
+ fluidDisplay01: () => fluidDisplay01,
194
+ fluidDisplay02: () => fluidDisplay02,
195
+ fluidDisplay03: () => fluidDisplay03,
196
+ fluidDisplay04: () => fluidDisplay04,
197
+ fluidHeading03: () => fluidHeading03,
198
+ fluidHeading04: () => fluidHeading04,
199
+ fluidHeading05: () => fluidHeading05,
200
+ fluidHeading06: () => fluidHeading06,
201
+ fluidParagraph01: () => fluidParagraph01,
202
+ fluidQuotation01: () => fluidQuotation01,
203
+ fluidQuotation02: () => fluidQuotation02,
204
+ heading01: () => heading01,
205
+ heading02: () => heading02,
206
+ heading03: () => heading03,
207
+ heading04: () => heading04,
208
+ heading05: () => heading05,
209
+ heading06: () => heading06,
210
+ heading07: () => heading07,
211
+ headingCompact01: () => headingCompact01,
212
+ headingCompact02: () => headingCompact02,
213
+ helperText01: () => helperText01,
214
+ helperText02: () => helperText02,
215
+ label01: () => label01,
216
+ label02: () => label02,
217
+ legal01: () => legal01,
218
+ legal02: () => legal02,
219
+ productiveHeading01: () => productiveHeading01,
220
+ productiveHeading02: () => productiveHeading02,
221
+ productiveHeading03: () => productiveHeading03,
222
+ productiveHeading04: () => productiveHeading04,
223
+ productiveHeading05: () => productiveHeading05,
224
+ productiveHeading06: () => productiveHeading06,
225
+ productiveHeading07: () => productiveHeading07,
226
+ quotation01: () => quotation01,
227
+ quotation02: () => quotation02
228
+ });
229
+ const caption01 = {
230
+ fontSize: (0, _carbon_layout.rem)(scale[0]),
231
+ fontWeight: fontWeights.regular,
232
+ lineHeight: 1.33333,
233
+ letterSpacing: (0, _carbon_layout.px)(.32)
234
+ };
235
+ const caption02 = {
236
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
237
+ fontWeight: fontWeights.regular,
238
+ lineHeight: 1.28572,
239
+ letterSpacing: (0, _carbon_layout.px)(.32)
240
+ };
241
+ const label01 = {
242
+ fontSize: (0, _carbon_layout.rem)(scale[0]),
243
+ fontWeight: fontWeights.regular,
244
+ lineHeight: 1.33333,
245
+ letterSpacing: (0, _carbon_layout.px)(.32)
246
+ };
247
+ const label02 = {
248
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
249
+ fontWeight: fontWeights.regular,
250
+ lineHeight: 1.28572,
251
+ letterSpacing: (0, _carbon_layout.px)(.16)
252
+ };
253
+ const helperText01 = {
254
+ fontSize: (0, _carbon_layout.rem)(scale[0]),
255
+ lineHeight: 1.33333,
256
+ letterSpacing: (0, _carbon_layout.px)(.32)
257
+ };
258
+ const helperText02 = {
259
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
260
+ lineHeight: 1.28572,
261
+ letterSpacing: (0, _carbon_layout.px)(.16)
262
+ };
263
+ const bodyShort01 = {
264
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
265
+ fontWeight: fontWeights.regular,
266
+ lineHeight: 1.28572,
267
+ letterSpacing: (0, _carbon_layout.px)(.16)
268
+ };
269
+ const bodyLong01 = {
270
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
271
+ fontWeight: fontWeights.regular,
272
+ lineHeight: 1.42857,
273
+ letterSpacing: (0, _carbon_layout.px)(.16)
274
+ };
275
+ const bodyShort02 = {
276
+ fontSize: (0, _carbon_layout.rem)(scale[2]),
277
+ fontWeight: fontWeights.regular,
278
+ lineHeight: 1.375,
279
+ letterSpacing: 0
280
+ };
281
+ const bodyLong02 = {
282
+ fontSize: (0, _carbon_layout.rem)(scale[2]),
283
+ fontWeight: fontWeights.regular,
284
+ lineHeight: 1.5,
285
+ letterSpacing: 0
286
+ };
287
+ const code01 = {
288
+ fontFamily: fontFamilies.mono,
289
+ fontSize: (0, _carbon_layout.rem)(scale[0]),
290
+ fontWeight: fontWeights.regular,
291
+ lineHeight: 1.33333,
292
+ letterSpacing: (0, _carbon_layout.px)(.32)
293
+ };
294
+ const code02 = {
295
+ fontFamily: fontFamilies.mono,
296
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
297
+ fontWeight: fontWeights.regular,
298
+ lineHeight: 1.42857,
299
+ letterSpacing: (0, _carbon_layout.px)(.32)
300
+ };
301
+ const heading01 = {
302
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
303
+ fontWeight: fontWeights.semibold,
304
+ lineHeight: 1.42857,
305
+ letterSpacing: (0, _carbon_layout.px)(.16)
306
+ };
307
+ const productiveHeading01 = {
308
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
309
+ fontWeight: fontWeights.semibold,
310
+ lineHeight: 1.28572,
311
+ letterSpacing: (0, _carbon_layout.px)(.16)
312
+ };
313
+ const heading02 = {
314
+ fontSize: (0, _carbon_layout.rem)(scale[2]),
315
+ fontWeight: fontWeights.semibold,
316
+ lineHeight: 1.5,
317
+ letterSpacing: 0
318
+ };
319
+ const productiveHeading02 = {
320
+ fontSize: (0, _carbon_layout.rem)(scale[2]),
321
+ fontWeight: fontWeights.semibold,
322
+ lineHeight: 1.375,
323
+ letterSpacing: 0
324
+ };
325
+ const productiveHeading03 = {
326
+ fontSize: (0, _carbon_layout.rem)(scale[4]),
327
+ fontWeight: fontWeights.regular,
328
+ lineHeight: 1.4,
329
+ letterSpacing: 0
330
+ };
331
+ const productiveHeading04 = {
332
+ fontSize: (0, _carbon_layout.rem)(scale[6]),
333
+ fontWeight: fontWeights.regular,
334
+ lineHeight: 1.28572,
335
+ letterSpacing: 0
336
+ };
337
+ const productiveHeading05 = {
338
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
339
+ fontWeight: fontWeights.regular,
340
+ lineHeight: 1.25,
341
+ letterSpacing: 0
342
+ };
343
+ const productiveHeading06 = {
344
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
345
+ fontWeight: fontWeights.light,
346
+ lineHeight: 1.199,
347
+ letterSpacing: 0
348
+ };
349
+ const productiveHeading07 = {
350
+ fontSize: (0, _carbon_layout.rem)(scale[11]),
351
+ fontWeight: fontWeights.light,
352
+ lineHeight: 1.199,
353
+ letterSpacing: 0
354
+ };
355
+ const expressiveHeading01 = {
356
+ ...heading01,
357
+ lineHeight: 1.25
358
+ };
359
+ const expressiveHeading02 = {
360
+ ...heading02,
361
+ lineHeight: 1.5
362
+ };
363
+ const expressiveHeading03 = {
364
+ fontSize: (0, _carbon_layout.rem)(scale[4]),
365
+ fontWeight: fontWeights.regular,
366
+ lineHeight: 1.4,
367
+ letterSpacing: 0,
368
+ breakpoints: {
369
+ xlg: {
370
+ fontSize: (0, _carbon_layout.rem)(scale[4]),
371
+ lineHeight: 1.4
372
+ },
373
+ max: {
374
+ fontSize: (0, _carbon_layout.rem)(scale[5]),
375
+ lineHeight: 1.334
376
+ }
377
+ }
378
+ };
379
+ const expressiveHeading04 = {
380
+ fontSize: (0, _carbon_layout.rem)(scale[6]),
381
+ fontWeight: fontWeights.regular,
382
+ lineHeight: 1.28572,
383
+ letterSpacing: 0,
384
+ breakpoints: {
385
+ xlg: {
386
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
387
+ fontWeight: fontWeights.regular,
388
+ lineHeight: 1.25
389
+ },
390
+ max: {
391
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
392
+ fontWeight: fontWeights.regular
393
+ }
394
+ }
395
+ };
396
+ const expressiveHeading05 = {
397
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
398
+ fontWeight: fontWeights.regular,
399
+ lineHeight: 1.25,
400
+ letterSpacing: 0,
401
+ breakpoints: {
402
+ md: {
403
+ fontSize: (0, _carbon_layout.rem)(scale[8]),
404
+ fontWeight: fontWeights.light,
405
+ lineHeight: 1.22,
406
+ letterSpacing: 0
407
+ },
408
+ lg: {
409
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
410
+ lineHeight: 1.19,
411
+ letterSpacing: 0
412
+ },
413
+ xlg: {
414
+ fontSize: (0, _carbon_layout.rem)(scale[10]),
415
+ lineHeight: 1.17,
416
+ letterSpacing: 0
417
+ },
418
+ max: {
419
+ fontSize: (0, _carbon_layout.rem)(scale[12]),
420
+ letterSpacing: 0
421
+ }
422
+ }
423
+ };
424
+ const expressiveHeading06 = {
425
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
426
+ fontWeight: fontWeights.semibold,
427
+ lineHeight: 1.25,
428
+ letterSpacing: 0,
429
+ breakpoints: {
430
+ md: {
431
+ fontSize: (0, _carbon_layout.rem)(scale[8]),
432
+ fontWeight: fontWeights.semibold,
433
+ lineHeight: 1.22,
434
+ letterSpacing: 0
435
+ },
436
+ lg: {
437
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
438
+ fontWeight: fontWeights.semibold,
439
+ lineHeight: 1.19,
440
+ letterSpacing: 0
441
+ },
442
+ xlg: {
443
+ fontSize: (0, _carbon_layout.rem)(scale[10]),
444
+ fontWeight: fontWeights.semibold,
445
+ lineHeight: 1.17,
446
+ letterSpacing: 0
447
+ },
448
+ max: {
449
+ fontSize: (0, _carbon_layout.rem)(scale[12]),
450
+ fontWeight: fontWeights.semibold,
451
+ letterSpacing: 0
452
+ }
453
+ }
454
+ };
455
+ const expressiveParagraph01 = {
456
+ fontSize: (0, _carbon_layout.rem)(scale[5]),
457
+ fontWeight: fontWeights.light,
458
+ lineHeight: 1.334,
459
+ letterSpacing: 0,
460
+ breakpoints: {
461
+ lg: {
462
+ fontSize: (0, _carbon_layout.rem)(scale[6]),
463
+ lineHeight: 1.28572
464
+ },
465
+ max: {
466
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
467
+ lineHeight: 1.25
468
+ }
469
+ }
470
+ };
471
+ const quotation01 = {
472
+ fontFamily: fontFamilies.serif,
473
+ fontSize: (0, _carbon_layout.rem)(scale[4]),
474
+ fontWeight: fontWeights.regular,
475
+ lineHeight: 1.3,
476
+ letterSpacing: 0,
477
+ breakpoints: {
478
+ md: {
479
+ fontSize: (0, _carbon_layout.rem)(scale[4]),
480
+ fontWeight: fontWeights.regular,
481
+ letterSpacing: 0
482
+ },
483
+ lg: {
484
+ fontSize: (0, _carbon_layout.rem)(scale[5]),
485
+ fontWeight: fontWeights.regular,
486
+ lineHeight: 1.334,
487
+ letterSpacing: 0
488
+ },
489
+ xlg: {
490
+ fontSize: (0, _carbon_layout.rem)(scale[6]),
491
+ fontWeight: fontWeights.regular,
492
+ lineHeight: 1.28572,
493
+ letterSpacing: 0
494
+ },
495
+ max: {
496
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
497
+ fontWeight: fontWeights.regular,
498
+ lineHeight: 1.25,
499
+ letterSpacing: 0
500
+ }
501
+ }
502
+ };
503
+ const quotation02 = {
504
+ fontFamily: fontFamilies.serif,
505
+ fontSize: (0, _carbon_layout.rem)(scale[7]),
506
+ fontWeight: fontWeights.light,
507
+ lineHeight: 1.25,
508
+ letterSpacing: 0,
509
+ breakpoints: {
510
+ md: {
511
+ fontSize: (0, _carbon_layout.rem)(scale[8]),
512
+ lineHeight: 1.22
513
+ },
514
+ lg: {
515
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
516
+ lineHeight: 1.19
517
+ },
518
+ xlg: {
519
+ fontSize: (0, _carbon_layout.rem)(scale[10]),
520
+ lineHeight: 1.17
521
+ },
522
+ max: { fontSize: (0, _carbon_layout.rem)(scale[12]) }
523
+ }
524
+ };
525
+ const display01 = {
526
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
527
+ fontWeight: fontWeights.light,
528
+ lineHeight: 1.19,
529
+ letterSpacing: 0,
530
+ breakpoints: {
531
+ md: { fontSize: (0, _carbon_layout.rem)(scale[9]) },
532
+ lg: { fontSize: (0, _carbon_layout.rem)(scale[11]) },
533
+ xlg: {
534
+ fontSize: (0, _carbon_layout.rem)(scale[12]),
535
+ lineHeight: 1.17
536
+ },
537
+ max: {
538
+ fontSize: (0, _carbon_layout.rem)(scale[14]),
539
+ lineHeight: 1.13
540
+ }
541
+ }
542
+ };
543
+ const display02 = {
544
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
545
+ fontWeight: fontWeights.semibold,
546
+ lineHeight: 1.19,
547
+ letterSpacing: 0,
548
+ breakpoints: {
549
+ md: { fontSize: (0, _carbon_layout.rem)(scale[9]) },
550
+ lg: { fontSize: (0, _carbon_layout.rem)(scale[11]) },
551
+ xlg: {
552
+ fontSize: (0, _carbon_layout.rem)(scale[12]),
553
+ lineHeight: 1.16
554
+ },
555
+ max: {
556
+ fontSize: (0, _carbon_layout.rem)(scale[14]),
557
+ lineHeight: 1.13
558
+ }
559
+ }
560
+ };
561
+ const display03 = {
562
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
563
+ fontWeight: fontWeights.light,
564
+ lineHeight: 1.19,
565
+ letterSpacing: 0,
566
+ breakpoints: {
567
+ md: {
568
+ fontSize: (0, _carbon_layout.rem)(scale[11]),
569
+ lineHeight: 1.18
570
+ },
571
+ lg: {
572
+ fontSize: (0, _carbon_layout.rem)(scale[12]),
573
+ lineHeight: 1.16,
574
+ letterSpacing: (0, _carbon_layout.px)(-.64)
575
+ },
576
+ xlg: {
577
+ fontSize: (0, _carbon_layout.rem)(scale[14]),
578
+ lineHeight: 1.13
579
+ },
580
+ max: {
581
+ fontSize: (0, _carbon_layout.rem)(scale[15]),
582
+ lineHeight: 1.11,
583
+ letterSpacing: (0, _carbon_layout.px)(-.96)
584
+ }
585
+ }
586
+ };
587
+ const display04 = {
588
+ fontSize: (0, _carbon_layout.rem)(scale[9]),
589
+ fontWeight: fontWeights.light,
590
+ lineHeight: 1.19,
591
+ letterSpacing: 0,
592
+ breakpoints: {
593
+ md: {
594
+ fontSize: (0, _carbon_layout.rem)(scale[13]),
595
+ lineHeight: 1.15
596
+ },
597
+ lg: {
598
+ fontSize: (0, _carbon_layout.rem)(scale[16]),
599
+ lineHeight: 1.11,
600
+ letterSpacing: (0, _carbon_layout.px)(-.64)
601
+ },
602
+ xlg: {
603
+ fontSize: (0, _carbon_layout.rem)(scale[19]),
604
+ lineHeight: 1.07,
605
+ letterSpacing: (0, _carbon_layout.px)(-.64)
606
+ },
607
+ max: {
608
+ fontSize: (0, _carbon_layout.rem)(scale[22]),
609
+ lineHeight: 1.05,
610
+ letterSpacing: (0, _carbon_layout.px)(-.96)
611
+ }
612
+ }
613
+ };
614
+ const legal01 = {
615
+ fontSize: (0, _carbon_layout.rem)(scale[0]),
616
+ fontWeight: fontWeights.regular,
617
+ lineHeight: 1.33333,
618
+ letterSpacing: (0, _carbon_layout.px)(.32)
619
+ };
620
+ const legal02 = {
621
+ fontSize: (0, _carbon_layout.rem)(scale[1]),
622
+ fontWeight: fontWeights.regular,
623
+ lineHeight: 1.28572,
624
+ letterSpacing: (0, _carbon_layout.px)(.16)
625
+ };
626
+ const bodyCompact01 = bodyShort01;
627
+ const bodyCompact02 = bodyShort02;
628
+ const body01 = bodyLong01;
629
+ const body02 = bodyLong02;
630
+ const headingCompact01 = productiveHeading01;
631
+ const headingCompact02 = productiveHeading02;
632
+ const heading03 = productiveHeading03;
633
+ const heading04 = productiveHeading04;
634
+ const heading05 = productiveHeading05;
635
+ const heading06 = productiveHeading06;
636
+ const heading07 = productiveHeading07;
637
+ const fluidHeading03 = expressiveHeading03;
638
+ const fluidHeading04 = expressiveHeading04;
639
+ const fluidHeading05 = expressiveHeading05;
640
+ const fluidHeading06 = expressiveHeading06;
641
+ const fluidParagraph01 = expressiveParagraph01;
642
+ const fluidQuotation01 = quotation01;
643
+ const fluidQuotation02 = quotation02;
644
+ const fluidDisplay01 = display01;
645
+ const fluidDisplay02 = display02;
646
+ const fluidDisplay03 = display03;
647
+ const fluidDisplay04 = display04;
120
648
 
121
- /**
122
- * Get the type size for the given step
123
- * @param {number} step
124
- * @returns {number}
125
- */
126
- function getTypeSize(step) {
127
- if (step <= 1) {
128
- return 12;
129
- }
130
- // Yn = Yn-1 + {FLOOR[(n - 2) / 4] + 1} * 2
131
- return getTypeSize(step - 1) + Math.floor((step - 2) / 4 + 1) * 2;
132
- }
649
+ //#endregion
650
+ //#region src/fluid.js
651
+ /**
652
+ * Copyright IBM Corp. 2018, 2023
653
+ *
654
+ * This source code is licensed under the Apache-2.0 license found in the
655
+ * LICENSE file in the root directory of this source tree.
656
+ */
657
+ const breakpointNames = Object.keys(_carbon_layout.breakpoints);
658
+ function next(name) {
659
+ return breakpointNames[breakpointNames.indexOf(name) + 1];
660
+ }
661
+ function fluid(selector) {
662
+ const { breakpoints: fluidBreakpoints, ...styles } = selector;
663
+ if (typeof fluidBreakpoints !== "object") return styles;
664
+ const fluidBreakpointNames = Object.keys(fluidBreakpoints);
665
+ if (fluidBreakpointNames.length === 0) return styles;
666
+ styles.fontSize = fluidTypeSize(styles, "sm", fluidBreakpoints);
667
+ fluidBreakpointNames.forEach((name) => {
668
+ styles[(0, _carbon_layout.breakpoint)(name)] = {
669
+ ...fluidBreakpoints[name],
670
+ fontSize: fluidTypeSize(styles, name, fluidBreakpoints)
671
+ };
672
+ });
673
+ return styles;
674
+ }
675
+ function fluidTypeSize(defaultStyles, fluidBreakpointName, fluidBreakpoints) {
676
+ const breakpoint = _carbon_layout.breakpoints[fluidBreakpointName];
677
+ const fluidBreakpoint = fluidBreakpointName === "sm" ? defaultStyles : fluidBreakpoints[fluidBreakpointName];
678
+ let maxFontSize = defaultStyles.fontSize;
679
+ let minFontSize = defaultStyles.fontSize;
680
+ if (fluidBreakpoint.fontSize) minFontSize = fluidBreakpoint.fontSize;
681
+ let maxViewportWidth = breakpoint.width;
682
+ let minViewportWidth = breakpoint.width;
683
+ let nextBreakpointAvailable = next(fluidBreakpointName);
684
+ let nextFluidBreakpointName = null;
685
+ while (nextBreakpointAvailable) {
686
+ if (fluidBreakpoints[nextBreakpointAvailable]) {
687
+ nextFluidBreakpointName = nextBreakpointAvailable;
688
+ break;
689
+ }
690
+ nextBreakpointAvailable = next(nextBreakpointAvailable);
691
+ }
692
+ if (nextFluidBreakpointName) {
693
+ const nextFluidBreakpoint = _carbon_layout.breakpoints[nextFluidBreakpointName];
694
+ maxFontSize = fluidBreakpoints[nextFluidBreakpointName].fontSize;
695
+ maxViewportWidth = nextFluidBreakpoint.width;
696
+ return `calc(${minFontSize} + ${subtract(maxFontSize, minFontSize)} * ((100vw - ${minViewportWidth}) / ${subtract(maxViewportWidth, minViewportWidth)}))`;
697
+ }
698
+ return minFontSize;
699
+ }
700
+ function subtract(a, b) {
701
+ return parseFloat(a) - parseFloat(b);
702
+ }
133
703
 
134
- /**
135
- * The default type scale for 23 steps. Inlined as an array here through running
136
- * the follow step:
137
- *
138
- * > Array.from({ length: 23 }, (_, i) => getTypeSize(i + 1))
139
- */
140
- var scale = [12, 14, 16, 18, 20, 24, 28, 32, 36, 42, 48, 54, 60, 68, 76, 84, 92, 102, 112, 122, 132, 144, 156];
704
+ //#endregion
705
+ //#region src/tokens.js
706
+ /**
707
+ * Copyright IBM Corp. 2018, 2023
708
+ *
709
+ * This source code is licensed under the Apache-2.0 license found in the
710
+ * LICENSE file in the root directory of this source tree.
711
+ */
712
+ const caption01$1 = "caption01";
713
+ const caption02$1 = "caption02";
714
+ const label01$1 = "label01";
715
+ const label02$1 = "label02";
716
+ const helperText01$1 = "helperText01";
717
+ const helperText02$1 = "helperText02";
718
+ const bodyShort01$1 = "bodyShort01";
719
+ const bodyLong01$1 = "bodyLong01";
720
+ const bodyShort02$1 = "bodyShort02";
721
+ const bodyLong02$1 = "bodyLong02";
722
+ const code01$1 = "code01";
723
+ const code02$1 = "code02";
724
+ const heading01$1 = "heading01";
725
+ const productiveHeading01$1 = "productiveHeading01";
726
+ const heading02$1 = "heading02";
727
+ const productiveHeading02$1 = "productiveHeading02";
728
+ const productiveHeading03$1 = "productiveHeading03";
729
+ const productiveHeading04$1 = "productiveHeading04";
730
+ const productiveHeading05$1 = "productiveHeading05";
731
+ const productiveHeading06$1 = "productiveHeading06";
732
+ const productiveHeading07$1 = "productiveHeading07";
733
+ const expressiveHeading01$1 = "expressiveHeading01";
734
+ const expressiveHeading02$1 = "expressiveHeading02";
735
+ const expressiveHeading03$1 = "expressiveHeading03";
736
+ const expressiveHeading04$1 = "expressiveHeading04";
737
+ const expressiveHeading05$1 = "expressiveHeading05";
738
+ const expressiveHeading06$1 = "expressiveHeading06";
739
+ const expressiveParagraph01$1 = "expressiveParagraph01";
740
+ const quotation01$1 = "quotation01";
741
+ const quotation02$1 = "quotation02";
742
+ const display01$1 = "display01";
743
+ const display02$1 = "display02";
744
+ const display03$1 = "display03";
745
+ const display04$1 = "display04";
746
+ const legal01$1 = "legal01";
747
+ const legal02$1 = "legal02";
748
+ const bodyCompact01$1 = "bodyCompact01";
749
+ const bodyCompact02$1 = "bodyCompact02";
750
+ const body01$1 = "body01";
751
+ const body02$1 = "body02";
752
+ const headingCompact01$1 = "headingCompact01";
753
+ const headingCompact02$1 = "headingCompact02";
754
+ const heading03$1 = "heading03";
755
+ const heading04$1 = "heading04";
756
+ const heading05$1 = "heading05";
757
+ const heading06$1 = "heading06";
758
+ const heading07$1 = "heading07";
759
+ const fluidHeading03$1 = "fluidHeading03";
760
+ const fluidHeading04$1 = "fluidHeading04";
761
+ const fluidHeading05$1 = "fluidHeading05";
762
+ const fluidHeading06$1 = "fluidHeading06";
763
+ const fluidParagraph01$1 = "fluidParagraph01";
764
+ const fluidQuotation01$1 = "fluidQuotation01";
765
+ const fluidQuotation02$1 = "fluidQuotation02";
766
+ const fluidDisplay01$1 = "fluidDisplay01";
767
+ const fluidDisplay02$1 = "fluidDisplay02";
768
+ const fluidDisplay03$1 = "fluidDisplay03";
769
+ const fluidDisplay04$1 = "fluidDisplay04";
770
+ const unstable_tokens = [
771
+ caption01$1,
772
+ caption02$1,
773
+ label01$1,
774
+ label02$1,
775
+ helperText01$1,
776
+ helperText02$1,
777
+ bodyShort01$1,
778
+ bodyLong01$1,
779
+ bodyShort02$1,
780
+ bodyLong02$1,
781
+ code01$1,
782
+ code02$1,
783
+ heading01$1,
784
+ productiveHeading01$1,
785
+ heading02$1,
786
+ productiveHeading02$1,
787
+ productiveHeading03$1,
788
+ productiveHeading04$1,
789
+ productiveHeading05$1,
790
+ productiveHeading06$1,
791
+ productiveHeading07$1,
792
+ expressiveHeading01$1,
793
+ expressiveHeading02$1,
794
+ expressiveHeading03$1,
795
+ expressiveHeading04$1,
796
+ expressiveHeading05$1,
797
+ expressiveHeading06$1,
798
+ expressiveParagraph01$1,
799
+ quotation01$1,
800
+ quotation02$1,
801
+ display01$1,
802
+ display02$1,
803
+ display03$1,
804
+ display04$1,
805
+ legal01$1,
806
+ legal02$1,
807
+ bodyCompact01$1,
808
+ bodyCompact02$1,
809
+ body01$1,
810
+ body02$1,
811
+ headingCompact01$1,
812
+ headingCompact02$1,
813
+ heading03$1,
814
+ heading04$1,
815
+ heading05$1,
816
+ heading06$1,
817
+ heading07$1,
818
+ fluidHeading03$1,
819
+ fluidHeading04$1,
820
+ fluidHeading05$1,
821
+ fluidHeading06$1,
822
+ fluidParagraph01$1,
823
+ fluidQuotation01$1,
824
+ fluidQuotation02$1,
825
+ fluidDisplay01$1,
826
+ fluidDisplay02$1,
827
+ fluidDisplay03$1,
828
+ fluidDisplay04$1
829
+ ];
141
830
 
142
- function _defineProperty(e, r, t) {
143
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
144
- value: t,
145
- enumerable: true,
146
- configurable: true,
147
- writable: true
148
- }) : e[r] = t, e;
149
- }
150
- function ownKeys(e, r) {
151
- var t = Object.keys(e);
152
- if (Object.getOwnPropertySymbols) {
153
- var o = Object.getOwnPropertySymbols(e);
154
- r && (o = o.filter(function (r) {
155
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
156
- })), t.push.apply(t, o);
157
- }
158
- return t;
159
- }
160
- function _objectSpread2(e) {
161
- for (var r = 1; r < arguments.length; r++) {
162
- var t = null != arguments[r] ? arguments[r] : {};
163
- r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
164
- _defineProperty(e, r, t[r]);
165
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
166
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
167
- });
168
- }
169
- return e;
170
- }
171
- function _objectWithoutProperties(e, t) {
172
- if (null == e) return {};
173
- var o,
174
- r,
175
- i = _objectWithoutPropertiesLoose(e, t);
176
- if (Object.getOwnPropertySymbols) {
177
- var n = Object.getOwnPropertySymbols(e);
178
- for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
179
- }
180
- return i;
181
- }
182
- function _objectWithoutPropertiesLoose(r, e) {
183
- if (null == r) return {};
184
- var t = {};
185
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
186
- if (-1 !== e.indexOf(n)) continue;
187
- t[n] = r[n];
188
- }
189
- return t;
190
- }
191
- function _toPrimitive(t, r) {
192
- if ("object" != typeof t || !t) return t;
193
- var e = t[Symbol.toPrimitive];
194
- if (void 0 !== e) {
195
- var i = e.call(t, r);
196
- if ("object" != typeof i) return i;
197
- throw new TypeError("@@toPrimitive must return a primitive value.");
198
- }
199
- return ("string" === r ? String : Number)(t);
200
- }
201
- function _toPropertyKey(t) {
202
- var i = _toPrimitive(t, "string");
203
- return "symbol" == typeof i ? i : i + "";
204
- }
205
- function _typeof(o) {
206
- "@babel/helpers - typeof";
831
+ //#endregion
832
+ //#region src/index.js
833
+ /**
834
+ * Copyright IBM Corp. 2018, 2023
835
+ *
836
+ * This source code is licensed under the Apache-2.0 license found in the
837
+ * LICENSE file in the root directory of this source tree.
838
+ */
207
839
 
208
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
209
- return typeof o;
210
- } : function (o) {
211
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
212
- }, _typeof(o);
840
+ //#endregion
841
+ exports.body01 = body01;
842
+ exports.body02 = body02;
843
+ exports.bodyCompact01 = bodyCompact01;
844
+ exports.bodyCompact02 = bodyCompact02;
845
+ exports.bodyLong01 = bodyLong01;
846
+ exports.bodyLong02 = bodyLong02;
847
+ exports.bodyShort01 = bodyShort01;
848
+ exports.bodyShort02 = bodyShort02;
849
+ exports.caption01 = caption01;
850
+ exports.caption02 = caption02;
851
+ exports.code01 = code01;
852
+ exports.code02 = code02;
853
+ exports.display01 = display01;
854
+ exports.display02 = display02;
855
+ exports.display03 = display03;
856
+ exports.display04 = display04;
857
+ exports.expressiveHeading01 = expressiveHeading01;
858
+ exports.expressiveHeading02 = expressiveHeading02;
859
+ exports.expressiveHeading03 = expressiveHeading03;
860
+ exports.expressiveHeading04 = expressiveHeading04;
861
+ exports.expressiveHeading05 = expressiveHeading05;
862
+ exports.expressiveHeading06 = expressiveHeading06;
863
+ exports.expressiveParagraph01 = expressiveParagraph01;
864
+ exports.fluid = fluid;
865
+ exports.fluidDisplay01 = fluidDisplay01;
866
+ exports.fluidDisplay02 = fluidDisplay02;
867
+ exports.fluidDisplay03 = fluidDisplay03;
868
+ exports.fluidDisplay04 = fluidDisplay04;
869
+ exports.fluidHeading03 = fluidHeading03;
870
+ exports.fluidHeading04 = fluidHeading04;
871
+ exports.fluidHeading05 = fluidHeading05;
872
+ exports.fluidHeading06 = fluidHeading06;
873
+ exports.fluidParagraph01 = fluidParagraph01;
874
+ exports.fluidQuotation01 = fluidQuotation01;
875
+ exports.fluidQuotation02 = fluidQuotation02;
876
+ exports.fontFamilies = fontFamilies;
877
+ exports.fontFamily = fontFamily;
878
+ exports.fontWeight = fontWeight;
879
+ exports.fontWeights = fontWeights;
880
+ exports.getTypeSize = getTypeSize;
881
+ exports.heading01 = heading01;
882
+ exports.heading02 = heading02;
883
+ exports.heading03 = heading03;
884
+ exports.heading04 = heading04;
885
+ exports.heading05 = heading05;
886
+ exports.heading06 = heading06;
887
+ exports.heading07 = heading07;
888
+ exports.headingCompact01 = headingCompact01;
889
+ exports.headingCompact02 = headingCompact02;
890
+ exports.helperText01 = helperText01;
891
+ exports.helperText02 = helperText02;
892
+ exports.label01 = label01;
893
+ exports.label02 = label02;
894
+ exports.legal01 = legal01;
895
+ exports.legal02 = legal02;
896
+ exports.print = print;
897
+ exports.productiveHeading01 = productiveHeading01;
898
+ exports.productiveHeading02 = productiveHeading02;
899
+ exports.productiveHeading03 = productiveHeading03;
900
+ exports.productiveHeading04 = productiveHeading04;
901
+ exports.productiveHeading05 = productiveHeading05;
902
+ exports.productiveHeading06 = productiveHeading06;
903
+ exports.productiveHeading07 = productiveHeading07;
904
+ exports.quotation01 = quotation01;
905
+ exports.quotation02 = quotation02;
906
+ exports.reset = reset;
907
+ exports.scale = scale;
908
+ Object.defineProperty(exports, 'styles', {
909
+ enumerable: true,
910
+ get: function () {
911
+ return styles_exports;
213
912
  }
214
-
215
- var caption01$1 = {
216
- fontSize: layout.rem(scale[0]),
217
- fontWeight: fontWeights.regular,
218
- lineHeight: 1.33333,
219
- letterSpacing: layout.px(0.32)
220
- };
221
- var caption02$1 = {
222
- fontSize: layout.rem(scale[1]),
223
- fontWeight: fontWeights.regular,
224
- lineHeight: 1.28572,
225
- letterSpacing: layout.px(0.32)
226
- };
227
- var label01$1 = {
228
- fontSize: layout.rem(scale[0]),
229
- fontWeight: fontWeights.regular,
230
- lineHeight: 1.33333,
231
- letterSpacing: layout.px(0.32)
232
- };
233
- var label02$1 = {
234
- fontSize: layout.rem(scale[1]),
235
- fontWeight: fontWeights.regular,
236
- lineHeight: 1.28572,
237
- letterSpacing: layout.px(0.16)
238
- };
239
- var helperText01$1 = {
240
- fontSize: layout.rem(scale[0]),
241
- lineHeight: 1.33333,
242
- letterSpacing: layout.px(0.32)
243
- };
244
- var helperText02$1 = {
245
- fontSize: layout.rem(scale[1]),
246
- lineHeight: 1.28572,
247
- letterSpacing: layout.px(0.16)
248
- };
249
- var bodyShort01$1 = {
250
- fontSize: layout.rem(scale[1]),
251
- fontWeight: fontWeights.regular,
252
- lineHeight: 1.28572,
253
- letterSpacing: layout.px(0.16)
254
- };
255
- var bodyLong01$1 = {
256
- fontSize: layout.rem(scale[1]),
257
- fontWeight: fontWeights.regular,
258
- lineHeight: 1.42857,
259
- letterSpacing: layout.px(0.16)
260
- };
261
- var bodyShort02$1 = {
262
- fontSize: layout.rem(scale[2]),
263
- fontWeight: fontWeights.regular,
264
- lineHeight: 1.375,
265
- letterSpacing: 0
266
- };
267
- var bodyLong02$1 = {
268
- fontSize: layout.rem(scale[2]),
269
- fontWeight: fontWeights.regular,
270
- lineHeight: 1.5,
271
- letterSpacing: 0
272
- };
273
- var code01$1 = {
274
- fontFamily: fontFamilies.mono,
275
- fontSize: layout.rem(scale[0]),
276
- fontWeight: fontWeights.regular,
277
- lineHeight: 1.33333,
278
- letterSpacing: layout.px(0.32)
279
- };
280
- var code02$1 = {
281
- fontFamily: fontFamilies.mono,
282
- fontSize: layout.rem(scale[1]),
283
- fontWeight: fontWeights.regular,
284
- lineHeight: 1.42857,
285
- letterSpacing: layout.px(0.32)
286
- };
287
- var heading01$1 = {
288
- fontSize: layout.rem(scale[1]),
289
- fontWeight: fontWeights.semibold,
290
- lineHeight: 1.42857,
291
- letterSpacing: layout.px(0.16)
292
- };
293
- var productiveHeading01$1 = {
294
- fontSize: layout.rem(scale[1]),
295
- fontWeight: fontWeights.semibold,
296
- lineHeight: 1.28572,
297
- letterSpacing: layout.px(0.16)
298
- };
299
- var heading02$1 = {
300
- fontSize: layout.rem(scale[2]),
301
- fontWeight: fontWeights.semibold,
302
- lineHeight: 1.5,
303
- letterSpacing: 0
304
- };
305
- var productiveHeading02$1 = {
306
- fontSize: layout.rem(scale[2]),
307
- fontWeight: fontWeights.semibold,
308
- lineHeight: 1.375,
309
- letterSpacing: 0
310
- };
311
- var productiveHeading03$1 = {
312
- fontSize: layout.rem(scale[4]),
313
- fontWeight: fontWeights.regular,
314
- lineHeight: 1.4,
315
- letterSpacing: 0
316
- };
317
- var productiveHeading04$1 = {
318
- fontSize: layout.rem(scale[6]),
319
- fontWeight: fontWeights.regular,
320
- lineHeight: 1.28572,
321
- letterSpacing: 0
322
- };
323
- var productiveHeading05$1 = {
324
- fontSize: layout.rem(scale[7]),
325
- fontWeight: fontWeights.regular,
326
- lineHeight: 1.25,
327
- letterSpacing: 0
328
- };
329
- var productiveHeading06$1 = {
330
- fontSize: layout.rem(scale[9]),
331
- fontWeight: fontWeights.light,
332
- lineHeight: 1.199,
333
- letterSpacing: 0
334
- };
335
- var productiveHeading07$1 = {
336
- fontSize: layout.rem(scale[11]),
337
- fontWeight: fontWeights.light,
338
- lineHeight: 1.199,
339
- letterSpacing: 0
340
- };
341
- var expressiveHeading01$1 = _objectSpread2(_objectSpread2({}, heading01$1), {}, {
342
- lineHeight: 1.25
343
- });
344
- var expressiveHeading02$1 = _objectSpread2(_objectSpread2({}, heading02$1), {}, {
345
- lineHeight: 1.5
346
- });
347
- var expressiveHeading03$1 = {
348
- fontSize: layout.rem(scale[4]),
349
- fontWeight: fontWeights.regular,
350
- lineHeight: 1.4,
351
- letterSpacing: 0,
352
- breakpoints: {
353
- xlg: {
354
- fontSize: layout.rem(scale[4]),
355
- lineHeight: 1.4
356
- },
357
- max: {
358
- fontSize: layout.rem(scale[5]),
359
- lineHeight: 1.334
360
- }
361
- }
362
- };
363
- var expressiveHeading04$1 = {
364
- fontSize: layout.rem(scale[6]),
365
- fontWeight: fontWeights.regular,
366
- lineHeight: 1.28572,
367
- letterSpacing: 0,
368
- breakpoints: {
369
- xlg: {
370
- fontSize: layout.rem(scale[7]),
371
- fontWeight: fontWeights.regular,
372
- lineHeight: 1.25
373
- },
374
- max: {
375
- fontSize: layout.rem(scale[7]),
376
- fontWeight: fontWeights.regular
377
- }
378
- }
379
- };
380
- var expressiveHeading05$1 = {
381
- fontSize: layout.rem(scale[7]),
382
- fontWeight: fontWeights.regular,
383
- lineHeight: 1.25,
384
- letterSpacing: 0,
385
- breakpoints: {
386
- md: {
387
- fontSize: layout.rem(scale[8]),
388
- fontWeight: fontWeights.light,
389
- lineHeight: 1.22,
390
- letterSpacing: 0
391
- },
392
- lg: {
393
- fontSize: layout.rem(scale[9]),
394
- lineHeight: 1.19,
395
- letterSpacing: 0
396
- },
397
- xlg: {
398
- fontSize: layout.rem(scale[10]),
399
- lineHeight: 1.17,
400
- letterSpacing: 0
401
- },
402
- max: {
403
- fontSize: layout.rem(scale[12]),
404
- letterSpacing: 0
405
- }
406
- }
407
- };
408
- var expressiveHeading06$1 = {
409
- fontSize: layout.rem(scale[7]),
410
- fontWeight: fontWeights.semibold,
411
- lineHeight: 1.25,
412
- letterSpacing: 0,
413
- breakpoints: {
414
- md: {
415
- fontSize: layout.rem(scale[8]),
416
- fontWeight: fontWeights.semibold,
417
- lineHeight: 1.22,
418
- letterSpacing: 0
419
- },
420
- lg: {
421
- fontSize: layout.rem(scale[9]),
422
- fontWeight: fontWeights.semibold,
423
- lineHeight: 1.19,
424
- letterSpacing: 0
425
- },
426
- xlg: {
427
- fontSize: layout.rem(scale[10]),
428
- fontWeight: fontWeights.semibold,
429
- lineHeight: 1.17,
430
- letterSpacing: 0
431
- },
432
- max: {
433
- fontSize: layout.rem(scale[12]),
434
- fontWeight: fontWeights.semibold,
435
- letterSpacing: 0
436
- }
437
- }
438
- };
439
- var expressiveParagraph01$1 = {
440
- fontSize: layout.rem(scale[5]),
441
- fontWeight: fontWeights.light,
442
- lineHeight: 1.334,
443
- letterSpacing: 0,
444
- breakpoints: {
445
- lg: {
446
- fontSize: layout.rem(scale[6]),
447
- lineHeight: 1.28572
448
- },
449
- max: {
450
- fontSize: layout.rem(scale[7]),
451
- lineHeight: 1.25
452
- }
453
- }
454
- };
455
- var quotation01$1 = {
456
- fontFamily: fontFamilies.serif,
457
- fontSize: layout.rem(scale[4]),
458
- fontWeight: fontWeights.regular,
459
- lineHeight: 1.3,
460
- letterSpacing: 0,
461
- breakpoints: {
462
- md: {
463
- fontSize: layout.rem(scale[4]),
464
- fontWeight: fontWeights.regular,
465
- letterSpacing: 0
466
- },
467
- lg: {
468
- fontSize: layout.rem(scale[5]),
469
- fontWeight: fontWeights.regular,
470
- lineHeight: 1.334,
471
- letterSpacing: 0
472
- },
473
- xlg: {
474
- fontSize: layout.rem(scale[6]),
475
- fontWeight: fontWeights.regular,
476
- lineHeight: 1.28572,
477
- letterSpacing: 0
478
- },
479
- max: {
480
- fontSize: layout.rem(scale[7]),
481
- fontWeight: fontWeights.regular,
482
- lineHeight: 1.25,
483
- letterSpacing: 0
484
- }
485
- }
486
- };
487
- var quotation02$1 = {
488
- fontFamily: fontFamilies.serif,
489
- fontSize: layout.rem(scale[7]),
490
- fontWeight: fontWeights.light,
491
- lineHeight: 1.25,
492
- letterSpacing: 0,
493
- breakpoints: {
494
- md: {
495
- fontSize: layout.rem(scale[8]),
496
- lineHeight: 1.22
497
- },
498
- lg: {
499
- fontSize: layout.rem(scale[9]),
500
- lineHeight: 1.19
501
- },
502
- xlg: {
503
- fontSize: layout.rem(scale[10]),
504
- lineHeight: 1.17
505
- },
506
- max: {
507
- fontSize: layout.rem(scale[12])
508
- }
509
- }
510
- };
511
- var display01$1 = {
512
- fontSize: layout.rem(scale[9]),
513
- fontWeight: fontWeights.light,
514
- lineHeight: 1.19,
515
- letterSpacing: 0,
516
- breakpoints: {
517
- md: {
518
- fontSize: layout.rem(scale[9])
519
- },
520
- lg: {
521
- fontSize: layout.rem(scale[11])
522
- },
523
- xlg: {
524
- fontSize: layout.rem(scale[12]),
525
- lineHeight: 1.17
526
- },
527
- max: {
528
- fontSize: layout.rem(scale[14]),
529
- lineHeight: 1.13
530
- }
531
- }
532
- };
533
- var display02$1 = {
534
- fontSize: layout.rem(scale[9]),
535
- fontWeight: fontWeights.semibold,
536
- lineHeight: 1.19,
537
- letterSpacing: 0,
538
- breakpoints: {
539
- md: {
540
- fontSize: layout.rem(scale[9])
541
- },
542
- lg: {
543
- fontSize: layout.rem(scale[11])
544
- },
545
- xlg: {
546
- fontSize: layout.rem(scale[12]),
547
- lineHeight: 1.16
548
- },
549
- max: {
550
- fontSize: layout.rem(scale[14]),
551
- lineHeight: 1.13
552
- }
553
- }
554
- };
555
- var display03$1 = {
556
- fontSize: layout.rem(scale[9]),
557
- fontWeight: fontWeights.light,
558
- lineHeight: 1.19,
559
- letterSpacing: 0,
560
- breakpoints: {
561
- md: {
562
- fontSize: layout.rem(scale[11]),
563
- lineHeight: 1.18
564
- },
565
- lg: {
566
- fontSize: layout.rem(scale[12]),
567
- lineHeight: 1.16,
568
- letterSpacing: layout.px(-0.64)
569
- },
570
- xlg: {
571
- fontSize: layout.rem(scale[14]),
572
- lineHeight: 1.13
573
- },
574
- max: {
575
- fontSize: layout.rem(scale[15]),
576
- lineHeight: 1.11,
577
- letterSpacing: layout.px(-0.96)
578
- }
579
- }
580
- };
581
- var display04$1 = {
582
- fontSize: layout.rem(scale[9]),
583
- fontWeight: fontWeights.light,
584
- lineHeight: 1.19,
585
- letterSpacing: 0,
586
- breakpoints: {
587
- md: {
588
- fontSize: layout.rem(scale[13]),
589
- lineHeight: 1.15
590
- },
591
- lg: {
592
- fontSize: layout.rem(scale[16]),
593
- lineHeight: 1.11,
594
- letterSpacing: layout.px(-0.64)
595
- },
596
- xlg: {
597
- fontSize: layout.rem(scale[19]),
598
- lineHeight: 1.07,
599
- letterSpacing: layout.px(-0.64)
600
- },
601
- max: {
602
- fontSize: layout.rem(scale[22]),
603
- lineHeight: 1.05,
604
- letterSpacing: layout.px(-0.96)
605
- }
606
- }
607
- };
608
-
609
- // Type changes - V11
610
-
611
- // Small styles
612
- // No changes for code-01, code-02, label-01, label-02
613
- var legal01$1 = {
614
- fontSize: layout.rem(scale[0]),
615
- fontWeight: fontWeights.regular,
616
- lineHeight: 1.33333,
617
- letterSpacing: layout.px(0.32)
618
- };
619
- var legal02$1 = {
620
- fontSize: layout.rem(scale[1]),
621
- fontWeight: fontWeights.regular,
622
- lineHeight: 1.28572,
623
- letterSpacing: layout.px(0.16)
624
- };
625
-
626
- // Body styles
627
- var bodyCompact01$1 = bodyShort01$1;
628
- var bodyCompact02$1 = bodyShort02$1;
629
- var body01$1 = bodyLong01$1;
630
- var body02$1 = bodyLong02$1;
631
-
632
- // Fixed heading styles
633
- var headingCompact01$1 = productiveHeading01$1;
634
- var headingCompact02$1 = productiveHeading02$1;
635
- var heading03$1 = productiveHeading03$1;
636
- var heading04$1 = productiveHeading04$1;
637
- var heading05$1 = productiveHeading05$1;
638
- var heading06$1 = productiveHeading06$1;
639
- var heading07$1 = productiveHeading07$1;
640
-
641
- // Fluid heading styles
642
- var fluidHeading03$1 = expressiveHeading03$1;
643
- var fluidHeading04$1 = expressiveHeading04$1;
644
- var fluidHeading05$1 = expressiveHeading05$1;
645
- var fluidHeading06$1 = expressiveHeading06$1;
646
-
647
- // Additional fluid styles
648
- var fluidParagraph01$1 = expressiveParagraph01$1;
649
- var fluidQuotation01$1 = quotation01$1;
650
- var fluidQuotation02$1 = quotation02$1;
651
- var fluidDisplay01$1 = display01$1;
652
- var fluidDisplay02$1 = display02$1;
653
- var fluidDisplay03$1 = display03$1;
654
- var fluidDisplay04$1 = display04$1;
655
-
656
- var styles = /*#__PURE__*/Object.freeze({
657
- __proto__: null,
658
- body01: body01$1,
659
- body02: body02$1,
660
- bodyCompact01: bodyCompact01$1,
661
- bodyCompact02: bodyCompact02$1,
662
- bodyLong01: bodyLong01$1,
663
- bodyLong02: bodyLong02$1,
664
- bodyShort01: bodyShort01$1,
665
- bodyShort02: bodyShort02$1,
666
- caption01: caption01$1,
667
- caption02: caption02$1,
668
- code01: code01$1,
669
- code02: code02$1,
670
- display01: display01$1,
671
- display02: display02$1,
672
- display03: display03$1,
673
- display04: display04$1,
674
- expressiveHeading01: expressiveHeading01$1,
675
- expressiveHeading02: expressiveHeading02$1,
676
- expressiveHeading03: expressiveHeading03$1,
677
- expressiveHeading04: expressiveHeading04$1,
678
- expressiveHeading05: expressiveHeading05$1,
679
- expressiveHeading06: expressiveHeading06$1,
680
- expressiveParagraph01: expressiveParagraph01$1,
681
- fluidDisplay01: fluidDisplay01$1,
682
- fluidDisplay02: fluidDisplay02$1,
683
- fluidDisplay03: fluidDisplay03$1,
684
- fluidDisplay04: fluidDisplay04$1,
685
- fluidHeading03: fluidHeading03$1,
686
- fluidHeading04: fluidHeading04$1,
687
- fluidHeading05: fluidHeading05$1,
688
- fluidHeading06: fluidHeading06$1,
689
- fluidParagraph01: fluidParagraph01$1,
690
- fluidQuotation01: fluidQuotation01$1,
691
- fluidQuotation02: fluidQuotation02$1,
692
- heading01: heading01$1,
693
- heading02: heading02$1,
694
- heading03: heading03$1,
695
- heading04: heading04$1,
696
- heading05: heading05$1,
697
- heading06: heading06$1,
698
- heading07: heading07$1,
699
- headingCompact01: headingCompact01$1,
700
- headingCompact02: headingCompact02$1,
701
- helperText01: helperText01$1,
702
- helperText02: helperText02$1,
703
- label01: label01$1,
704
- label02: label02$1,
705
- legal01: legal01$1,
706
- legal02: legal02$1,
707
- productiveHeading01: productiveHeading01$1,
708
- productiveHeading02: productiveHeading02$1,
709
- productiveHeading03: productiveHeading03$1,
710
- productiveHeading04: productiveHeading04$1,
711
- productiveHeading05: productiveHeading05$1,
712
- productiveHeading06: productiveHeading06$1,
713
- productiveHeading07: productiveHeading07$1,
714
- quotation01: quotation01$1,
715
- quotation02: quotation02$1
716
- });
717
-
718
- var _excluded = ["breakpoints"];
719
- var breakpointNames = Object.keys(layout.breakpoints);
720
- function next(name) {
721
- return breakpointNames[breakpointNames.indexOf(name) + 1];
722
- }
723
- function fluid(selector) {
724
- var fluidBreakpoints = selector.breakpoints,
725
- styles = _objectWithoutProperties(selector, _excluded);
726
- if (_typeof(fluidBreakpoints) !== 'object') {
727
- return styles;
728
- }
729
- var fluidBreakpointNames = Object.keys(fluidBreakpoints);
730
- if (fluidBreakpointNames.length === 0) {
731
- return styles;
732
- }
733
- styles.fontSize = fluidTypeSize(styles, 'sm', fluidBreakpoints);
734
- fluidBreakpointNames.forEach(function (name) {
735
- styles[layout.breakpoint(name)] = _objectSpread2(_objectSpread2({}, fluidBreakpoints[name]), {}, {
736
- fontSize: fluidTypeSize(styles, name, fluidBreakpoints)
737
- });
738
- });
739
- return styles;
740
- }
741
- function fluidTypeSize(defaultStyles, fluidBreakpointName, fluidBreakpoints) {
742
- var breakpoint = layout.breakpoints[fluidBreakpointName];
743
- var fluidBreakpoint = fluidBreakpointName === 'sm' ? defaultStyles : fluidBreakpoints[fluidBreakpointName];
744
- var maxFontSize = defaultStyles.fontSize;
745
- var minFontSize = defaultStyles.fontSize;
746
- if (fluidBreakpoint.fontSize) {
747
- minFontSize = fluidBreakpoint.fontSize;
748
- }
749
- var maxViewportWidth = breakpoint.width;
750
- var minViewportWidth = breakpoint.width;
751
- var nextBreakpointAvailable = next(fluidBreakpointName);
752
- var nextFluidBreakpointName = null;
753
- while (nextBreakpointAvailable) {
754
- if (fluidBreakpoints[nextBreakpointAvailable]) {
755
- nextFluidBreakpointName = nextBreakpointAvailable;
756
- break;
757
- }
758
- nextBreakpointAvailable = next(nextBreakpointAvailable);
759
- }
760
- if (nextFluidBreakpointName) {
761
- var nextFluidBreakpoint = layout.breakpoints[nextFluidBreakpointName];
762
- maxFontSize = fluidBreakpoints[nextFluidBreakpointName].fontSize;
763
- maxViewportWidth = nextFluidBreakpoint.width;
764
- return "calc(".concat(minFontSize, " + ").concat(subtract(maxFontSize, minFontSize), " * ((100vw - ").concat(minViewportWidth, ") / ").concat(subtract(maxViewportWidth, minViewportWidth), "))");
765
- }
766
- return minFontSize;
767
- }
768
- function subtract(a, b) {
769
- return parseFloat(a) - parseFloat(b);
770
- }
771
-
772
- /**
773
- * Copyright IBM Corp. 2018, 2023
774
- *
775
- * This source code is licensed under the Apache-2.0 license found in the
776
- * LICENSE file in the root directory of this source tree.
777
- */
778
-
779
- // Unstable tokens
780
- var caption01 = 'caption01';
781
- var caption02 = 'caption02';
782
- var label01 = 'label01';
783
- var label02 = 'label02';
784
- var helperText01 = 'helperText01';
785
- var helperText02 = 'helperText02';
786
- var bodyShort01 = 'bodyShort01';
787
- var bodyLong01 = 'bodyLong01';
788
- var bodyShort02 = 'bodyShort02';
789
- var bodyLong02 = 'bodyLong02';
790
- var code01 = 'code01';
791
- var code02 = 'code02';
792
- var heading01 = 'heading01';
793
- var productiveHeading01 = 'productiveHeading01';
794
- var heading02 = 'heading02';
795
- var productiveHeading02 = 'productiveHeading02';
796
- var productiveHeading03 = 'productiveHeading03';
797
- var productiveHeading04 = 'productiveHeading04';
798
- var productiveHeading05 = 'productiveHeading05';
799
- var productiveHeading06 = 'productiveHeading06';
800
- var productiveHeading07 = 'productiveHeading07';
801
- var expressiveHeading01 = 'expressiveHeading01';
802
- var expressiveHeading02 = 'expressiveHeading02';
803
- var expressiveHeading03 = 'expressiveHeading03';
804
- var expressiveHeading04 = 'expressiveHeading04';
805
- var expressiveHeading05 = 'expressiveHeading05';
806
- var expressiveHeading06 = 'expressiveHeading06';
807
- var expressiveParagraph01 = 'expressiveParagraph01';
808
- var quotation01 = 'quotation01';
809
- var quotation02 = 'quotation02';
810
- var display01 = 'display01';
811
- var display02 = 'display02';
812
- var display03 = 'display03';
813
- var display04 = 'display04';
814
- // V11 Tokens
815
- var legal01 = 'legal01';
816
- var legal02 = 'legal02';
817
- var bodyCompact01 = 'bodyCompact01';
818
- var bodyCompact02 = 'bodyCompact02';
819
- var body01 = 'body01';
820
- var body02 = 'body02';
821
- var headingCompact01 = 'headingCompact01';
822
- var headingCompact02 = 'headingCompact02';
823
- var heading03 = 'heading03';
824
- var heading04 = 'heading04';
825
- var heading05 = 'heading05';
826
- var heading06 = 'heading06';
827
- var heading07 = 'heading07';
828
- var fluidHeading03 = 'fluidHeading03';
829
- var fluidHeading04 = 'fluidHeading04';
830
- var fluidHeading05 = 'fluidHeading05';
831
- var fluidHeading06 = 'fluidHeading06';
832
- var fluidParagraph01 = 'fluidParagraph01';
833
- var fluidQuotation01 = 'fluidQuotation01';
834
- var fluidQuotation02 = 'fluidQuotation02';
835
- var fluidDisplay01 = 'fluidDisplay01';
836
- var fluidDisplay02 = 'fluidDisplay02';
837
- var fluidDisplay03 = 'fluidDisplay03';
838
- var fluidDisplay04 = 'fluidDisplay04';
839
- var unstable_tokens = [caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04,
840
- // V11 Tokens
841
- legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04];
842
-
843
- exports.body01 = body01$1;
844
- exports.body02 = body02$1;
845
- exports.bodyCompact01 = bodyCompact01$1;
846
- exports.bodyCompact02 = bodyCompact02$1;
847
- exports.bodyLong01 = bodyLong01$1;
848
- exports.bodyLong02 = bodyLong02$1;
849
- exports.bodyShort01 = bodyShort01$1;
850
- exports.bodyShort02 = bodyShort02$1;
851
- exports.caption01 = caption01$1;
852
- exports.caption02 = caption02$1;
853
- exports.code01 = code01$1;
854
- exports.code02 = code02$1;
855
- exports.display01 = display01$1;
856
- exports.display02 = display02$1;
857
- exports.display03 = display03$1;
858
- exports.display04 = display04$1;
859
- exports.expressiveHeading01 = expressiveHeading01$1;
860
- exports.expressiveHeading02 = expressiveHeading02$1;
861
- exports.expressiveHeading03 = expressiveHeading03$1;
862
- exports.expressiveHeading04 = expressiveHeading04$1;
863
- exports.expressiveHeading05 = expressiveHeading05$1;
864
- exports.expressiveHeading06 = expressiveHeading06$1;
865
- exports.expressiveParagraph01 = expressiveParagraph01$1;
866
- exports.fluid = fluid;
867
- exports.fluidDisplay01 = fluidDisplay01$1;
868
- exports.fluidDisplay02 = fluidDisplay02$1;
869
- exports.fluidDisplay03 = fluidDisplay03$1;
870
- exports.fluidDisplay04 = fluidDisplay04$1;
871
- exports.fluidHeading03 = fluidHeading03$1;
872
- exports.fluidHeading04 = fluidHeading04$1;
873
- exports.fluidHeading05 = fluidHeading05$1;
874
- exports.fluidHeading06 = fluidHeading06$1;
875
- exports.fluidParagraph01 = fluidParagraph01$1;
876
- exports.fluidQuotation01 = fluidQuotation01$1;
877
- exports.fluidQuotation02 = fluidQuotation02$1;
878
- exports.fontFamilies = fontFamilies;
879
- exports.fontFamily = fontFamily;
880
- exports.fontWeight = fontWeight;
881
- exports.fontWeights = fontWeights;
882
- exports.getTypeSize = getTypeSize;
883
- exports.heading01 = heading01$1;
884
- exports.heading02 = heading02$1;
885
- exports.heading03 = heading03$1;
886
- exports.heading04 = heading04$1;
887
- exports.heading05 = heading05$1;
888
- exports.heading06 = heading06$1;
889
- exports.heading07 = heading07$1;
890
- exports.headingCompact01 = headingCompact01$1;
891
- exports.headingCompact02 = headingCompact02$1;
892
- exports.helperText01 = helperText01$1;
893
- exports.helperText02 = helperText02$1;
894
- exports.label01 = label01$1;
895
- exports.label02 = label02$1;
896
- exports.legal01 = legal01$1;
897
- exports.legal02 = legal02$1;
898
- exports.print = print;
899
- exports.productiveHeading01 = productiveHeading01$1;
900
- exports.productiveHeading02 = productiveHeading02$1;
901
- exports.productiveHeading03 = productiveHeading03$1;
902
- exports.productiveHeading04 = productiveHeading04$1;
903
- exports.productiveHeading05 = productiveHeading05$1;
904
- exports.productiveHeading06 = productiveHeading06$1;
905
- exports.productiveHeading07 = productiveHeading07$1;
906
- exports.quotation01 = quotation01$1;
907
- exports.quotation02 = quotation02$1;
908
- exports.reset = reset;
909
- exports.scale = scale;
910
- exports.styles = styles;
911
- exports.unstable_tokens = unstable_tokens;
912
-
913
- }));
913
+ });
914
+ exports.unstable_tokens = unstable_tokens;
915
+ });