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