@carbon/type 11.60.0-rc.0 → 11.61.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 (44) hide show
  1. package/es/index.js +87 -99
  2. package/lib/__tests__/exports-test.d.ts +1 -0
  3. package/lib/__tests__/fluid-test.d.ts +1 -0
  4. package/lib/__tests__/fontFamily-test.d.ts +1 -0
  5. package/lib/__tests__/fontWeight-test.d.ts +1 -0
  6. package/lib/__tests__/reset-test.d.ts +1 -0
  7. package/lib/__tests__/scale-test.d.ts +1 -0
  8. package/lib/__tests__/styles-test.d.ts +1 -0
  9. package/lib/__tests__/tokens-test.d.ts +1 -0
  10. package/lib/fluid.d.ts +15 -0
  11. package/lib/fontFamily.d.ts +16 -0
  12. package/lib/fontWeight.d.ts +14 -0
  13. package/lib/index.d.ts +15 -0
  14. package/lib/index.js +87 -99
  15. package/lib/print.d.ts +9 -0
  16. package/lib/reset.d.ts +8 -0
  17. package/lib/scale.d.ts +16 -0
  18. package/lib/styles.d.ts +744 -0
  19. package/lib/tokens.d.ts +65 -0
  20. package/lib/types.d.ts +16 -0
  21. package/package.json +11 -8
  22. package/umd/index.js +87 -99
  23. package/src/__tests__/__snapshots__/fontFamily-test.js.snap +0 -13
  24. package/src/__tests__/__snapshots__/fontWeight-test.js.snap +0 -11
  25. package/src/__tests__/__snapshots__/reset-test.js.snap +0 -11
  26. package/src/__tests__/__snapshots__/scale-test.js.snap +0 -29
  27. package/src/__tests__/__snapshots__/styles-test.js.snap +0 -411
  28. package/src/__tests__/exports-test.js +0 -88
  29. package/src/__tests__/fluid-test.js +0 -71
  30. package/src/__tests__/fontFamily-test.js +0 -33
  31. package/src/__tests__/fontWeight-test.js +0 -33
  32. package/src/__tests__/reset-test.js +0 -23
  33. package/src/__tests__/scale-test.js +0 -31
  34. package/src/__tests__/styles-test.js +0 -18
  35. package/src/__tests__/tokens-test.js +0 -21
  36. package/src/fluid.js +0 -86
  37. package/src/fontFamily.js +0 -30
  38. package/src/fontWeight.js +0 -24
  39. package/src/index.js +0 -28
  40. package/src/print.js +0 -36
  41. package/src/reset.js +0 -29
  42. package/src/scale.js +0 -30
  43. package/src/styles.js +0 -488
  44. package/src/tokens.js +0 -129
@@ -0,0 +1,744 @@
1
+ /**
2
+ * Copyright IBM Corp. 2018, 2026
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export declare const caption01: {
8
+ fontSize: string;
9
+ fontWeight: number;
10
+ lineHeight: number;
11
+ letterSpacing: string;
12
+ };
13
+ export declare const caption02: {
14
+ fontSize: string;
15
+ fontWeight: number;
16
+ lineHeight: number;
17
+ letterSpacing: string;
18
+ };
19
+ export declare const label01: {
20
+ fontSize: string;
21
+ fontWeight: number;
22
+ lineHeight: number;
23
+ letterSpacing: string;
24
+ };
25
+ export declare const label02: {
26
+ fontSize: string;
27
+ fontWeight: number;
28
+ lineHeight: number;
29
+ letterSpacing: string;
30
+ };
31
+ export declare const helperText01: {
32
+ fontSize: string;
33
+ lineHeight: number;
34
+ letterSpacing: string;
35
+ };
36
+ export declare const helperText02: {
37
+ fontSize: string;
38
+ lineHeight: number;
39
+ letterSpacing: string;
40
+ };
41
+ export declare const bodyShort01: {
42
+ fontSize: string;
43
+ fontWeight: number;
44
+ lineHeight: number;
45
+ letterSpacing: string;
46
+ };
47
+ export declare const bodyLong01: {
48
+ fontSize: string;
49
+ fontWeight: number;
50
+ lineHeight: number;
51
+ letterSpacing: string;
52
+ };
53
+ export declare const bodyShort02: {
54
+ fontSize: string;
55
+ fontWeight: number;
56
+ lineHeight: number;
57
+ letterSpacing: number;
58
+ };
59
+ export declare const bodyLong02: {
60
+ fontSize: string;
61
+ fontWeight: number;
62
+ lineHeight: number;
63
+ letterSpacing: number;
64
+ };
65
+ export declare const code01: {
66
+ fontFamily: string;
67
+ fontSize: string;
68
+ fontWeight: number;
69
+ lineHeight: number;
70
+ letterSpacing: string;
71
+ };
72
+ export declare const code02: {
73
+ fontFamily: string;
74
+ fontSize: string;
75
+ fontWeight: number;
76
+ lineHeight: number;
77
+ letterSpacing: string;
78
+ };
79
+ export declare const heading01: {
80
+ fontSize: string;
81
+ fontWeight: number;
82
+ lineHeight: number;
83
+ letterSpacing: string;
84
+ };
85
+ export declare const productiveHeading01: {
86
+ fontSize: string;
87
+ fontWeight: number;
88
+ lineHeight: number;
89
+ letterSpacing: string;
90
+ };
91
+ export declare const heading02: {
92
+ fontSize: string;
93
+ fontWeight: number;
94
+ lineHeight: number;
95
+ letterSpacing: number;
96
+ };
97
+ export declare const productiveHeading02: {
98
+ fontSize: string;
99
+ fontWeight: number;
100
+ lineHeight: number;
101
+ letterSpacing: number;
102
+ };
103
+ export declare const productiveHeading03: {
104
+ fontSize: string;
105
+ fontWeight: number;
106
+ lineHeight: number;
107
+ letterSpacing: number;
108
+ };
109
+ export declare const productiveHeading04: {
110
+ fontSize: string;
111
+ fontWeight: number;
112
+ lineHeight: number;
113
+ letterSpacing: number;
114
+ };
115
+ export declare const productiveHeading05: {
116
+ fontSize: string;
117
+ fontWeight: number;
118
+ lineHeight: number;
119
+ letterSpacing: number;
120
+ };
121
+ export declare const productiveHeading06: {
122
+ fontSize: string;
123
+ fontWeight: number;
124
+ lineHeight: number;
125
+ letterSpacing: number;
126
+ };
127
+ export declare const productiveHeading07: {
128
+ fontSize: string;
129
+ fontWeight: number;
130
+ lineHeight: number;
131
+ letterSpacing: number;
132
+ };
133
+ export declare const expressiveHeading01: {
134
+ lineHeight: number;
135
+ fontSize: string;
136
+ fontWeight: number;
137
+ letterSpacing: string;
138
+ };
139
+ export declare const expressiveHeading02: {
140
+ lineHeight: number;
141
+ fontSize: string;
142
+ fontWeight: number;
143
+ letterSpacing: number;
144
+ };
145
+ export declare const expressiveHeading03: {
146
+ fontSize: string;
147
+ fontWeight: number;
148
+ lineHeight: number;
149
+ letterSpacing: number;
150
+ breakpoints: {
151
+ xlg: {
152
+ fontSize: string;
153
+ lineHeight: number;
154
+ };
155
+ max: {
156
+ fontSize: string;
157
+ lineHeight: number;
158
+ };
159
+ };
160
+ };
161
+ export declare const expressiveHeading04: {
162
+ fontSize: string;
163
+ fontWeight: number;
164
+ lineHeight: number;
165
+ letterSpacing: number;
166
+ breakpoints: {
167
+ xlg: {
168
+ fontSize: string;
169
+ fontWeight: number;
170
+ lineHeight: number;
171
+ };
172
+ max: {
173
+ fontSize: string;
174
+ fontWeight: number;
175
+ };
176
+ };
177
+ };
178
+ export declare const expressiveHeading05: {
179
+ fontSize: string;
180
+ fontWeight: number;
181
+ lineHeight: number;
182
+ letterSpacing: number;
183
+ breakpoints: {
184
+ md: {
185
+ fontSize: string;
186
+ fontWeight: number;
187
+ lineHeight: number;
188
+ letterSpacing: number;
189
+ };
190
+ lg: {
191
+ fontSize: string;
192
+ lineHeight: number;
193
+ letterSpacing: number;
194
+ };
195
+ xlg: {
196
+ fontSize: string;
197
+ lineHeight: number;
198
+ letterSpacing: number;
199
+ };
200
+ max: {
201
+ fontSize: string;
202
+ letterSpacing: number;
203
+ };
204
+ };
205
+ };
206
+ export declare const expressiveHeading06: {
207
+ fontSize: string;
208
+ fontWeight: number;
209
+ lineHeight: number;
210
+ letterSpacing: number;
211
+ breakpoints: {
212
+ md: {
213
+ fontSize: string;
214
+ fontWeight: number;
215
+ lineHeight: number;
216
+ letterSpacing: number;
217
+ };
218
+ lg: {
219
+ fontSize: string;
220
+ fontWeight: number;
221
+ lineHeight: number;
222
+ letterSpacing: number;
223
+ };
224
+ xlg: {
225
+ fontSize: string;
226
+ fontWeight: number;
227
+ lineHeight: number;
228
+ letterSpacing: number;
229
+ };
230
+ max: {
231
+ fontSize: string;
232
+ fontWeight: number;
233
+ letterSpacing: number;
234
+ };
235
+ };
236
+ };
237
+ export declare const expressiveParagraph01: {
238
+ fontSize: string;
239
+ fontWeight: number;
240
+ lineHeight: number;
241
+ letterSpacing: number;
242
+ breakpoints: {
243
+ lg: {
244
+ fontSize: string;
245
+ lineHeight: number;
246
+ };
247
+ max: {
248
+ fontSize: string;
249
+ lineHeight: number;
250
+ };
251
+ };
252
+ };
253
+ export declare const quotation01: {
254
+ fontFamily: string;
255
+ fontSize: string;
256
+ fontWeight: number;
257
+ lineHeight: number;
258
+ letterSpacing: number;
259
+ breakpoints: {
260
+ md: {
261
+ fontSize: string;
262
+ fontWeight: number;
263
+ letterSpacing: number;
264
+ };
265
+ lg: {
266
+ fontSize: string;
267
+ fontWeight: number;
268
+ lineHeight: number;
269
+ letterSpacing: number;
270
+ };
271
+ xlg: {
272
+ fontSize: string;
273
+ fontWeight: number;
274
+ lineHeight: number;
275
+ letterSpacing: number;
276
+ };
277
+ max: {
278
+ fontSize: string;
279
+ fontWeight: number;
280
+ lineHeight: number;
281
+ letterSpacing: number;
282
+ };
283
+ };
284
+ };
285
+ export declare const quotation02: {
286
+ fontFamily: string;
287
+ fontSize: string;
288
+ fontWeight: number;
289
+ lineHeight: number;
290
+ letterSpacing: number;
291
+ breakpoints: {
292
+ md: {
293
+ fontSize: string;
294
+ lineHeight: number;
295
+ };
296
+ lg: {
297
+ fontSize: string;
298
+ lineHeight: number;
299
+ };
300
+ xlg: {
301
+ fontSize: string;
302
+ lineHeight: number;
303
+ };
304
+ max: {
305
+ fontSize: string;
306
+ };
307
+ };
308
+ };
309
+ export declare const display01: {
310
+ fontSize: string;
311
+ fontWeight: number;
312
+ lineHeight: number;
313
+ letterSpacing: number;
314
+ breakpoints: {
315
+ md: {
316
+ fontSize: string;
317
+ };
318
+ lg: {
319
+ fontSize: string;
320
+ };
321
+ xlg: {
322
+ fontSize: string;
323
+ lineHeight: number;
324
+ };
325
+ max: {
326
+ fontSize: string;
327
+ lineHeight: number;
328
+ };
329
+ };
330
+ };
331
+ export declare const display02: {
332
+ fontSize: string;
333
+ fontWeight: number;
334
+ lineHeight: number;
335
+ letterSpacing: number;
336
+ breakpoints: {
337
+ md: {
338
+ fontSize: string;
339
+ };
340
+ lg: {
341
+ fontSize: string;
342
+ };
343
+ xlg: {
344
+ fontSize: string;
345
+ lineHeight: number;
346
+ };
347
+ max: {
348
+ fontSize: string;
349
+ lineHeight: number;
350
+ };
351
+ };
352
+ };
353
+ export declare const display03: {
354
+ fontSize: string;
355
+ fontWeight: number;
356
+ lineHeight: number;
357
+ letterSpacing: number;
358
+ breakpoints: {
359
+ md: {
360
+ fontSize: string;
361
+ lineHeight: number;
362
+ };
363
+ lg: {
364
+ fontSize: string;
365
+ lineHeight: number;
366
+ letterSpacing: string;
367
+ };
368
+ xlg: {
369
+ fontSize: string;
370
+ lineHeight: number;
371
+ };
372
+ max: {
373
+ fontSize: string;
374
+ lineHeight: number;
375
+ letterSpacing: string;
376
+ };
377
+ };
378
+ };
379
+ export declare const display04: {
380
+ fontSize: string;
381
+ fontWeight: number;
382
+ lineHeight: number;
383
+ letterSpacing: number;
384
+ breakpoints: {
385
+ md: {
386
+ fontSize: string;
387
+ lineHeight: number;
388
+ };
389
+ lg: {
390
+ fontSize: string;
391
+ lineHeight: number;
392
+ letterSpacing: string;
393
+ };
394
+ xlg: {
395
+ fontSize: string;
396
+ lineHeight: number;
397
+ letterSpacing: string;
398
+ };
399
+ max: {
400
+ fontSize: string;
401
+ lineHeight: number;
402
+ letterSpacing: string;
403
+ };
404
+ };
405
+ };
406
+ export declare const legal01: {
407
+ fontSize: string;
408
+ fontWeight: number;
409
+ lineHeight: number;
410
+ letterSpacing: string;
411
+ };
412
+ export declare const legal02: {
413
+ fontSize: string;
414
+ fontWeight: number;
415
+ lineHeight: number;
416
+ letterSpacing: string;
417
+ };
418
+ export declare const bodyCompact01: {
419
+ fontSize: string;
420
+ fontWeight: number;
421
+ lineHeight: number;
422
+ letterSpacing: string;
423
+ };
424
+ export declare const bodyCompact02: {
425
+ fontSize: string;
426
+ fontWeight: number;
427
+ lineHeight: number;
428
+ letterSpacing: number;
429
+ };
430
+ export declare const body01: {
431
+ fontSize: string;
432
+ fontWeight: number;
433
+ lineHeight: number;
434
+ letterSpacing: string;
435
+ };
436
+ export declare const body02: {
437
+ fontSize: string;
438
+ fontWeight: number;
439
+ lineHeight: number;
440
+ letterSpacing: number;
441
+ };
442
+ export declare const headingCompact01: {
443
+ fontSize: string;
444
+ fontWeight: number;
445
+ lineHeight: number;
446
+ letterSpacing: string;
447
+ };
448
+ export declare const headingCompact02: {
449
+ fontSize: string;
450
+ fontWeight: number;
451
+ lineHeight: number;
452
+ letterSpacing: number;
453
+ };
454
+ export declare const heading03: {
455
+ fontSize: string;
456
+ fontWeight: number;
457
+ lineHeight: number;
458
+ letterSpacing: number;
459
+ };
460
+ export declare const heading04: {
461
+ fontSize: string;
462
+ fontWeight: number;
463
+ lineHeight: number;
464
+ letterSpacing: number;
465
+ };
466
+ export declare const heading05: {
467
+ fontSize: string;
468
+ fontWeight: number;
469
+ lineHeight: number;
470
+ letterSpacing: number;
471
+ };
472
+ export declare const heading06: {
473
+ fontSize: string;
474
+ fontWeight: number;
475
+ lineHeight: number;
476
+ letterSpacing: number;
477
+ };
478
+ export declare const heading07: {
479
+ fontSize: string;
480
+ fontWeight: number;
481
+ lineHeight: number;
482
+ letterSpacing: number;
483
+ };
484
+ export declare const fluidHeading03: {
485
+ fontSize: string;
486
+ fontWeight: number;
487
+ lineHeight: number;
488
+ letterSpacing: number;
489
+ breakpoints: {
490
+ xlg: {
491
+ fontSize: string;
492
+ lineHeight: number;
493
+ };
494
+ max: {
495
+ fontSize: string;
496
+ lineHeight: number;
497
+ };
498
+ };
499
+ };
500
+ export declare const fluidHeading04: {
501
+ fontSize: string;
502
+ fontWeight: number;
503
+ lineHeight: number;
504
+ letterSpacing: number;
505
+ breakpoints: {
506
+ xlg: {
507
+ fontSize: string;
508
+ fontWeight: number;
509
+ lineHeight: number;
510
+ };
511
+ max: {
512
+ fontSize: string;
513
+ fontWeight: number;
514
+ };
515
+ };
516
+ };
517
+ export declare const fluidHeading05: {
518
+ fontSize: string;
519
+ fontWeight: number;
520
+ lineHeight: number;
521
+ letterSpacing: number;
522
+ breakpoints: {
523
+ md: {
524
+ fontSize: string;
525
+ fontWeight: number;
526
+ lineHeight: number;
527
+ letterSpacing: number;
528
+ };
529
+ lg: {
530
+ fontSize: string;
531
+ lineHeight: number;
532
+ letterSpacing: number;
533
+ };
534
+ xlg: {
535
+ fontSize: string;
536
+ lineHeight: number;
537
+ letterSpacing: number;
538
+ };
539
+ max: {
540
+ fontSize: string;
541
+ letterSpacing: number;
542
+ };
543
+ };
544
+ };
545
+ export declare const fluidHeading06: {
546
+ fontSize: string;
547
+ fontWeight: number;
548
+ lineHeight: number;
549
+ letterSpacing: number;
550
+ breakpoints: {
551
+ md: {
552
+ fontSize: string;
553
+ fontWeight: number;
554
+ lineHeight: number;
555
+ letterSpacing: number;
556
+ };
557
+ lg: {
558
+ fontSize: string;
559
+ fontWeight: number;
560
+ lineHeight: number;
561
+ letterSpacing: number;
562
+ };
563
+ xlg: {
564
+ fontSize: string;
565
+ fontWeight: number;
566
+ lineHeight: number;
567
+ letterSpacing: number;
568
+ };
569
+ max: {
570
+ fontSize: string;
571
+ fontWeight: number;
572
+ letterSpacing: number;
573
+ };
574
+ };
575
+ };
576
+ export declare const fluidParagraph01: {
577
+ fontSize: string;
578
+ fontWeight: number;
579
+ lineHeight: number;
580
+ letterSpacing: number;
581
+ breakpoints: {
582
+ lg: {
583
+ fontSize: string;
584
+ lineHeight: number;
585
+ };
586
+ max: {
587
+ fontSize: string;
588
+ lineHeight: number;
589
+ };
590
+ };
591
+ };
592
+ export declare const fluidQuotation01: {
593
+ fontFamily: string;
594
+ fontSize: string;
595
+ fontWeight: number;
596
+ lineHeight: number;
597
+ letterSpacing: number;
598
+ breakpoints: {
599
+ md: {
600
+ fontSize: string;
601
+ fontWeight: number;
602
+ letterSpacing: number;
603
+ };
604
+ lg: {
605
+ fontSize: string;
606
+ fontWeight: number;
607
+ lineHeight: number;
608
+ letterSpacing: number;
609
+ };
610
+ xlg: {
611
+ fontSize: string;
612
+ fontWeight: number;
613
+ lineHeight: number;
614
+ letterSpacing: number;
615
+ };
616
+ max: {
617
+ fontSize: string;
618
+ fontWeight: number;
619
+ lineHeight: number;
620
+ letterSpacing: number;
621
+ };
622
+ };
623
+ };
624
+ export declare const fluidQuotation02: {
625
+ fontFamily: string;
626
+ fontSize: string;
627
+ fontWeight: number;
628
+ lineHeight: number;
629
+ letterSpacing: number;
630
+ breakpoints: {
631
+ md: {
632
+ fontSize: string;
633
+ lineHeight: number;
634
+ };
635
+ lg: {
636
+ fontSize: string;
637
+ lineHeight: number;
638
+ };
639
+ xlg: {
640
+ fontSize: string;
641
+ lineHeight: number;
642
+ };
643
+ max: {
644
+ fontSize: string;
645
+ };
646
+ };
647
+ };
648
+ export declare const fluidDisplay01: {
649
+ fontSize: string;
650
+ fontWeight: number;
651
+ lineHeight: number;
652
+ letterSpacing: number;
653
+ breakpoints: {
654
+ md: {
655
+ fontSize: string;
656
+ };
657
+ lg: {
658
+ fontSize: string;
659
+ };
660
+ xlg: {
661
+ fontSize: string;
662
+ lineHeight: number;
663
+ };
664
+ max: {
665
+ fontSize: string;
666
+ lineHeight: number;
667
+ };
668
+ };
669
+ };
670
+ export declare const fluidDisplay02: {
671
+ fontSize: string;
672
+ fontWeight: number;
673
+ lineHeight: number;
674
+ letterSpacing: number;
675
+ breakpoints: {
676
+ md: {
677
+ fontSize: string;
678
+ };
679
+ lg: {
680
+ fontSize: string;
681
+ };
682
+ xlg: {
683
+ fontSize: string;
684
+ lineHeight: number;
685
+ };
686
+ max: {
687
+ fontSize: string;
688
+ lineHeight: number;
689
+ };
690
+ };
691
+ };
692
+ export declare const fluidDisplay03: {
693
+ fontSize: string;
694
+ fontWeight: number;
695
+ lineHeight: number;
696
+ letterSpacing: number;
697
+ breakpoints: {
698
+ md: {
699
+ fontSize: string;
700
+ lineHeight: number;
701
+ };
702
+ lg: {
703
+ fontSize: string;
704
+ lineHeight: number;
705
+ letterSpacing: string;
706
+ };
707
+ xlg: {
708
+ fontSize: string;
709
+ lineHeight: number;
710
+ };
711
+ max: {
712
+ fontSize: string;
713
+ lineHeight: number;
714
+ letterSpacing: string;
715
+ };
716
+ };
717
+ };
718
+ export declare const fluidDisplay04: {
719
+ fontSize: string;
720
+ fontWeight: number;
721
+ lineHeight: number;
722
+ letterSpacing: number;
723
+ breakpoints: {
724
+ md: {
725
+ fontSize: string;
726
+ lineHeight: number;
727
+ };
728
+ lg: {
729
+ fontSize: string;
730
+ lineHeight: number;
731
+ letterSpacing: string;
732
+ };
733
+ xlg: {
734
+ fontSize: string;
735
+ lineHeight: number;
736
+ letterSpacing: string;
737
+ };
738
+ max: {
739
+ fontSize: string;
740
+ lineHeight: number;
741
+ letterSpacing: string;
742
+ };
743
+ };
744
+ };