@carbon/type 11.57.0 → 11.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +64 -145
- package/lib/index.js +70 -151
- package/package.json +5 -5
- package/umd/index.js +165 -248
package/es/index.js
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { baseFontSize, breakpoint, breakpoints, px, rem } from "@carbon/layout";
|
|
2
|
-
|
|
3
2
|
//#region \0rolldown/runtime.js
|
|
4
3
|
var __defProp = Object.defineProperty;
|
|
5
4
|
var __exportAll = (all, no_symbols) => {
|
|
6
5
|
let target = {};
|
|
7
|
-
for (var name in all) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
if (!no_symbols) {
|
|
14
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
-
}
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
11
|
return target;
|
|
17
12
|
};
|
|
18
|
-
|
|
19
13
|
//#endregion
|
|
20
14
|
//#region src/fontFamily.js
|
|
21
15
|
/**
|
|
@@ -35,7 +29,6 @@ function fontFamily(name) {
|
|
|
35
29
|
if (!fontFamilies[name]) throw new Error(`Unable to find font family: \`${name}\`. Expected one of: [${Object.keys(fontFamilies).join(", ")}]`);
|
|
36
30
|
return { fontFamily: fontFamilies[name] };
|
|
37
31
|
}
|
|
38
|
-
|
|
39
32
|
//#endregion
|
|
40
33
|
//#region src/fontWeight.js
|
|
41
34
|
/**
|
|
@@ -53,7 +46,6 @@ function fontWeight(weight) {
|
|
|
53
46
|
if (!fontWeights[weight]) throw new Error(`Unable to find font weight: \`${weight}\`. Expected one of: [${Object.keys(fontWeights).join(", ")}]`);
|
|
54
47
|
return { fontWeight: fontWeights[weight] };
|
|
55
48
|
}
|
|
56
|
-
|
|
57
49
|
//#endregion
|
|
58
50
|
//#region src/print.js
|
|
59
51
|
/**
|
|
@@ -82,7 +74,6 @@ function paramCase(string) {
|
|
|
82
74
|
}
|
|
83
75
|
return result;
|
|
84
76
|
}
|
|
85
|
-
|
|
86
77
|
//#endregion
|
|
87
78
|
//#region src/reset.js
|
|
88
79
|
/**
|
|
@@ -103,7 +94,6 @@ const reset = {
|
|
|
103
94
|
strong: { fontWeight: fontWeights.semibold },
|
|
104
95
|
code: { fontFamily: fontFamilies.mono }
|
|
105
96
|
};
|
|
106
|
-
|
|
107
97
|
//#endregion
|
|
108
98
|
//#region src/scale.js
|
|
109
99
|
/**
|
|
@@ -152,7 +142,6 @@ const scale = [
|
|
|
152
142
|
144,
|
|
153
143
|
156
|
|
154
144
|
];
|
|
155
|
-
|
|
156
145
|
//#endregion
|
|
157
146
|
//#region src/styles.js
|
|
158
147
|
/**
|
|
@@ -640,7 +629,6 @@ const fluidDisplay01 = display01;
|
|
|
640
629
|
const fluidDisplay02 = display02;
|
|
641
630
|
const fluidDisplay03 = display03;
|
|
642
631
|
const fluidDisplay04 = display04;
|
|
643
|
-
|
|
644
632
|
//#endregion
|
|
645
633
|
//#region src/fluid.js
|
|
646
634
|
/**
|
|
@@ -695,134 +683,66 @@ function fluidTypeSize(defaultStyles, fluidBreakpointName, fluidBreakpoints) {
|
|
|
695
683
|
function subtract(a, b) {
|
|
696
684
|
return parseFloat(a) - parseFloat(b);
|
|
697
685
|
}
|
|
698
|
-
|
|
699
|
-
//#endregion
|
|
700
|
-
//#region src/tokens.js
|
|
701
|
-
/**
|
|
702
|
-
* Copyright IBM Corp. 2018, 2023
|
|
703
|
-
*
|
|
704
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
705
|
-
* LICENSE file in the root directory of this source tree.
|
|
706
|
-
*/
|
|
707
|
-
const caption01$1 = "caption01";
|
|
708
|
-
const caption02$1 = "caption02";
|
|
709
|
-
const label01$1 = "label01";
|
|
710
|
-
const label02$1 = "label02";
|
|
711
|
-
const helperText01$1 = "helperText01";
|
|
712
|
-
const helperText02$1 = "helperText02";
|
|
713
|
-
const bodyShort01$1 = "bodyShort01";
|
|
714
|
-
const bodyLong01$1 = "bodyLong01";
|
|
715
|
-
const bodyShort02$1 = "bodyShort02";
|
|
716
|
-
const bodyLong02$1 = "bodyLong02";
|
|
717
|
-
const code01$1 = "code01";
|
|
718
|
-
const code02$1 = "code02";
|
|
719
|
-
const heading01$1 = "heading01";
|
|
720
|
-
const productiveHeading01$1 = "productiveHeading01";
|
|
721
|
-
const heading02$1 = "heading02";
|
|
722
|
-
const productiveHeading02$1 = "productiveHeading02";
|
|
723
|
-
const productiveHeading03$1 = "productiveHeading03";
|
|
724
|
-
const productiveHeading04$1 = "productiveHeading04";
|
|
725
|
-
const productiveHeading05$1 = "productiveHeading05";
|
|
726
|
-
const productiveHeading06$1 = "productiveHeading06";
|
|
727
|
-
const productiveHeading07$1 = "productiveHeading07";
|
|
728
|
-
const expressiveHeading01$1 = "expressiveHeading01";
|
|
729
|
-
const expressiveHeading02$1 = "expressiveHeading02";
|
|
730
|
-
const expressiveHeading03$1 = "expressiveHeading03";
|
|
731
|
-
const expressiveHeading04$1 = "expressiveHeading04";
|
|
732
|
-
const expressiveHeading05$1 = "expressiveHeading05";
|
|
733
|
-
const expressiveHeading06$1 = "expressiveHeading06";
|
|
734
|
-
const expressiveParagraph01$1 = "expressiveParagraph01";
|
|
735
|
-
const quotation01$1 = "quotation01";
|
|
736
|
-
const quotation02$1 = "quotation02";
|
|
737
|
-
const display01$1 = "display01";
|
|
738
|
-
const display02$1 = "display02";
|
|
739
|
-
const display03$1 = "display03";
|
|
740
|
-
const display04$1 = "display04";
|
|
741
|
-
const legal01$1 = "legal01";
|
|
742
|
-
const legal02$1 = "legal02";
|
|
743
|
-
const bodyCompact01$1 = "bodyCompact01";
|
|
744
|
-
const bodyCompact02$1 = "bodyCompact02";
|
|
745
|
-
const body01$1 = "body01";
|
|
746
|
-
const body02$1 = "body02";
|
|
747
|
-
const headingCompact01$1 = "headingCompact01";
|
|
748
|
-
const headingCompact02$1 = "headingCompact02";
|
|
749
|
-
const heading03$1 = "heading03";
|
|
750
|
-
const heading04$1 = "heading04";
|
|
751
|
-
const heading05$1 = "heading05";
|
|
752
|
-
const heading06$1 = "heading06";
|
|
753
|
-
const heading07$1 = "heading07";
|
|
754
|
-
const fluidHeading03$1 = "fluidHeading03";
|
|
755
|
-
const fluidHeading04$1 = "fluidHeading04";
|
|
756
|
-
const fluidHeading05$1 = "fluidHeading05";
|
|
757
|
-
const fluidHeading06$1 = "fluidHeading06";
|
|
758
|
-
const fluidParagraph01$1 = "fluidParagraph01";
|
|
759
|
-
const fluidQuotation01$1 = "fluidQuotation01";
|
|
760
|
-
const fluidQuotation02$1 = "fluidQuotation02";
|
|
761
|
-
const fluidDisplay01$1 = "fluidDisplay01";
|
|
762
|
-
const fluidDisplay02$1 = "fluidDisplay02";
|
|
763
|
-
const fluidDisplay03$1 = "fluidDisplay03";
|
|
764
|
-
const fluidDisplay04$1 = "fluidDisplay04";
|
|
765
686
|
const unstable_tokens = [
|
|
766
|
-
caption01
|
|
767
|
-
caption02
|
|
768
|
-
label01
|
|
769
|
-
label02
|
|
770
|
-
helperText01
|
|
771
|
-
helperText02
|
|
772
|
-
bodyShort01
|
|
773
|
-
bodyLong01
|
|
774
|
-
bodyShort02
|
|
775
|
-
bodyLong02
|
|
776
|
-
code01
|
|
777
|
-
code02
|
|
778
|
-
heading01
|
|
779
|
-
productiveHeading01
|
|
780
|
-
heading02
|
|
781
|
-
productiveHeading02
|
|
782
|
-
productiveHeading03
|
|
783
|
-
productiveHeading04
|
|
784
|
-
productiveHeading05
|
|
785
|
-
productiveHeading06
|
|
786
|
-
productiveHeading07
|
|
787
|
-
expressiveHeading01
|
|
788
|
-
expressiveHeading02
|
|
789
|
-
expressiveHeading03
|
|
790
|
-
expressiveHeading04
|
|
791
|
-
expressiveHeading05
|
|
792
|
-
expressiveHeading06
|
|
793
|
-
expressiveParagraph01
|
|
794
|
-
quotation01
|
|
795
|
-
quotation02
|
|
796
|
-
display01
|
|
797
|
-
display02
|
|
798
|
-
display03
|
|
799
|
-
display04
|
|
800
|
-
legal01
|
|
801
|
-
legal02
|
|
802
|
-
bodyCompact01
|
|
803
|
-
bodyCompact02
|
|
804
|
-
body01
|
|
805
|
-
body02
|
|
806
|
-
headingCompact01
|
|
807
|
-
headingCompact02
|
|
808
|
-
heading03
|
|
809
|
-
heading04
|
|
810
|
-
heading05
|
|
811
|
-
heading06
|
|
812
|
-
heading07
|
|
813
|
-
fluidHeading03
|
|
814
|
-
fluidHeading04
|
|
815
|
-
fluidHeading05
|
|
816
|
-
fluidHeading06
|
|
817
|
-
fluidParagraph01
|
|
818
|
-
fluidQuotation01
|
|
819
|
-
fluidQuotation02
|
|
820
|
-
fluidDisplay01
|
|
821
|
-
fluidDisplay02
|
|
822
|
-
fluidDisplay03
|
|
823
|
-
fluidDisplay04
|
|
687
|
+
"caption01",
|
|
688
|
+
"caption02",
|
|
689
|
+
"label01",
|
|
690
|
+
"label02",
|
|
691
|
+
"helperText01",
|
|
692
|
+
"helperText02",
|
|
693
|
+
"bodyShort01",
|
|
694
|
+
"bodyLong01",
|
|
695
|
+
"bodyShort02",
|
|
696
|
+
"bodyLong02",
|
|
697
|
+
"code01",
|
|
698
|
+
"code02",
|
|
699
|
+
"heading01",
|
|
700
|
+
"productiveHeading01",
|
|
701
|
+
"heading02",
|
|
702
|
+
"productiveHeading02",
|
|
703
|
+
"productiveHeading03",
|
|
704
|
+
"productiveHeading04",
|
|
705
|
+
"productiveHeading05",
|
|
706
|
+
"productiveHeading06",
|
|
707
|
+
"productiveHeading07",
|
|
708
|
+
"expressiveHeading01",
|
|
709
|
+
"expressiveHeading02",
|
|
710
|
+
"expressiveHeading03",
|
|
711
|
+
"expressiveHeading04",
|
|
712
|
+
"expressiveHeading05",
|
|
713
|
+
"expressiveHeading06",
|
|
714
|
+
"expressiveParagraph01",
|
|
715
|
+
"quotation01",
|
|
716
|
+
"quotation02",
|
|
717
|
+
"display01",
|
|
718
|
+
"display02",
|
|
719
|
+
"display03",
|
|
720
|
+
"display04",
|
|
721
|
+
"legal01",
|
|
722
|
+
"legal02",
|
|
723
|
+
"bodyCompact01",
|
|
724
|
+
"bodyCompact02",
|
|
725
|
+
"body01",
|
|
726
|
+
"body02",
|
|
727
|
+
"headingCompact01",
|
|
728
|
+
"headingCompact02",
|
|
729
|
+
"heading03",
|
|
730
|
+
"heading04",
|
|
731
|
+
"heading05",
|
|
732
|
+
"heading06",
|
|
733
|
+
"heading07",
|
|
734
|
+
"fluidHeading03",
|
|
735
|
+
"fluidHeading04",
|
|
736
|
+
"fluidHeading05",
|
|
737
|
+
"fluidHeading06",
|
|
738
|
+
"fluidParagraph01",
|
|
739
|
+
"fluidQuotation01",
|
|
740
|
+
"fluidQuotation02",
|
|
741
|
+
"fluidDisplay01",
|
|
742
|
+
"fluidDisplay02",
|
|
743
|
+
"fluidDisplay03",
|
|
744
|
+
"fluidDisplay04"
|
|
824
745
|
];
|
|
825
|
-
|
|
826
746
|
//#endregion
|
|
827
747
|
//#region src/index.js
|
|
828
748
|
/**
|
|
@@ -831,6 +751,5 @@ const unstable_tokens = [
|
|
|
831
751
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
832
752
|
* LICENSE file in the root directory of this source tree.
|
|
833
753
|
*/
|
|
834
|
-
|
|
835
754
|
//#endregion
|
|
836
|
-
export { body01, body02, bodyCompact01, bodyCompact02, bodyLong01, bodyLong02, bodyShort01, bodyShort02, caption01, caption02, code01, code02, display01, display02, display03, display04, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, fluid, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fontFamilies, fontFamily, fontWeight, fontWeights, getTypeSize, heading01, heading02, heading03, heading04, heading05, heading06, heading07, headingCompact01, headingCompact02, helperText01, helperText02, label01, label02, legal01, legal02, print, productiveHeading01, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, quotation01, quotation02, reset, scale, styles_exports as styles, unstable_tokens };
|
|
755
|
+
export { body01, body02, bodyCompact01, bodyCompact02, bodyLong01, bodyLong02, bodyShort01, bodyShort02, caption01, caption02, code01, code02, display01, display02, display03, display04, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, fluid, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fontFamilies, fontFamily, fontWeight, fontWeights, getTypeSize, heading01, heading02, heading03, heading04, heading05, heading06, heading07, headingCompact01, headingCompact02, helperText01, helperText02, label01, label02, legal01, legal02, print, productiveHeading01, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, quotation01, quotation02, reset, scale, styles_exports as styles, unstable_tokens };
|
package/lib/index.js
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __exportAll = (all, no_symbols) => {
|
|
5
5
|
let target = {};
|
|
6
|
-
for (var name in all) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
if (!no_symbols) {
|
|
13
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
14
|
-
}
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
11
|
return target;
|
|
16
12
|
};
|
|
17
|
-
|
|
18
13
|
//#endregion
|
|
19
14
|
let _carbon_layout = require("@carbon/layout");
|
|
20
|
-
|
|
21
15
|
//#region src/fontFamily.js
|
|
22
16
|
/**
|
|
23
17
|
* Copyright IBM Corp. 2018, 2023
|
|
@@ -36,7 +30,6 @@ function fontFamily(name) {
|
|
|
36
30
|
if (!fontFamilies[name]) throw new Error(`Unable to find font family: \`${name}\`. Expected one of: [${Object.keys(fontFamilies).join(", ")}]`);
|
|
37
31
|
return { fontFamily: fontFamilies[name] };
|
|
38
32
|
}
|
|
39
|
-
|
|
40
33
|
//#endregion
|
|
41
34
|
//#region src/fontWeight.js
|
|
42
35
|
/**
|
|
@@ -54,7 +47,6 @@ function fontWeight(weight) {
|
|
|
54
47
|
if (!fontWeights[weight]) throw new Error(`Unable to find font weight: \`${weight}\`. Expected one of: [${Object.keys(fontWeights).join(", ")}]`);
|
|
55
48
|
return { fontWeight: fontWeights[weight] };
|
|
56
49
|
}
|
|
57
|
-
|
|
58
50
|
//#endregion
|
|
59
51
|
//#region src/print.js
|
|
60
52
|
/**
|
|
@@ -83,7 +75,6 @@ function paramCase(string) {
|
|
|
83
75
|
}
|
|
84
76
|
return result;
|
|
85
77
|
}
|
|
86
|
-
|
|
87
78
|
//#endregion
|
|
88
79
|
//#region src/reset.js
|
|
89
80
|
/**
|
|
@@ -104,7 +95,6 @@ const reset = {
|
|
|
104
95
|
strong: { fontWeight: fontWeights.semibold },
|
|
105
96
|
code: { fontFamily: fontFamilies.mono }
|
|
106
97
|
};
|
|
107
|
-
|
|
108
98
|
//#endregion
|
|
109
99
|
//#region src/scale.js
|
|
110
100
|
/**
|
|
@@ -153,7 +143,6 @@ const scale = [
|
|
|
153
143
|
144,
|
|
154
144
|
156
|
|
155
145
|
];
|
|
156
|
-
|
|
157
146
|
//#endregion
|
|
158
147
|
//#region src/styles.js
|
|
159
148
|
/**
|
|
@@ -641,7 +630,6 @@ const fluidDisplay01 = display01;
|
|
|
641
630
|
const fluidDisplay02 = display02;
|
|
642
631
|
const fluidDisplay03 = display03;
|
|
643
632
|
const fluidDisplay04 = display04;
|
|
644
|
-
|
|
645
633
|
//#endregion
|
|
646
634
|
//#region src/fluid.js
|
|
647
635
|
/**
|
|
@@ -696,134 +684,66 @@ function fluidTypeSize(defaultStyles, fluidBreakpointName, fluidBreakpoints) {
|
|
|
696
684
|
function subtract(a, b) {
|
|
697
685
|
return parseFloat(a) - parseFloat(b);
|
|
698
686
|
}
|
|
699
|
-
|
|
700
|
-
//#endregion
|
|
701
|
-
//#region src/tokens.js
|
|
702
|
-
/**
|
|
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
687
|
const unstable_tokens = [
|
|
767
|
-
caption01
|
|
768
|
-
caption02
|
|
769
|
-
label01
|
|
770
|
-
label02
|
|
771
|
-
helperText01
|
|
772
|
-
helperText02
|
|
773
|
-
bodyShort01
|
|
774
|
-
bodyLong01
|
|
775
|
-
bodyShort02
|
|
776
|
-
bodyLong02
|
|
777
|
-
code01
|
|
778
|
-
code02
|
|
779
|
-
heading01
|
|
780
|
-
productiveHeading01
|
|
781
|
-
heading02
|
|
782
|
-
productiveHeading02
|
|
783
|
-
productiveHeading03
|
|
784
|
-
productiveHeading04
|
|
785
|
-
productiveHeading05
|
|
786
|
-
productiveHeading06
|
|
787
|
-
productiveHeading07
|
|
788
|
-
expressiveHeading01
|
|
789
|
-
expressiveHeading02
|
|
790
|
-
expressiveHeading03
|
|
791
|
-
expressiveHeading04
|
|
792
|
-
expressiveHeading05
|
|
793
|
-
expressiveHeading06
|
|
794
|
-
expressiveParagraph01
|
|
795
|
-
quotation01
|
|
796
|
-
quotation02
|
|
797
|
-
display01
|
|
798
|
-
display02
|
|
799
|
-
display03
|
|
800
|
-
display04
|
|
801
|
-
legal01
|
|
802
|
-
legal02
|
|
803
|
-
bodyCompact01
|
|
804
|
-
bodyCompact02
|
|
805
|
-
body01
|
|
806
|
-
body02
|
|
807
|
-
headingCompact01
|
|
808
|
-
headingCompact02
|
|
809
|
-
heading03
|
|
810
|
-
heading04
|
|
811
|
-
heading05
|
|
812
|
-
heading06
|
|
813
|
-
heading07
|
|
814
|
-
fluidHeading03
|
|
815
|
-
fluidHeading04
|
|
816
|
-
fluidHeading05
|
|
817
|
-
fluidHeading06
|
|
818
|
-
fluidParagraph01
|
|
819
|
-
fluidQuotation01
|
|
820
|
-
fluidQuotation02
|
|
821
|
-
fluidDisplay01
|
|
822
|
-
fluidDisplay02
|
|
823
|
-
fluidDisplay03
|
|
824
|
-
fluidDisplay04
|
|
688
|
+
"caption01",
|
|
689
|
+
"caption02",
|
|
690
|
+
"label01",
|
|
691
|
+
"label02",
|
|
692
|
+
"helperText01",
|
|
693
|
+
"helperText02",
|
|
694
|
+
"bodyShort01",
|
|
695
|
+
"bodyLong01",
|
|
696
|
+
"bodyShort02",
|
|
697
|
+
"bodyLong02",
|
|
698
|
+
"code01",
|
|
699
|
+
"code02",
|
|
700
|
+
"heading01",
|
|
701
|
+
"productiveHeading01",
|
|
702
|
+
"heading02",
|
|
703
|
+
"productiveHeading02",
|
|
704
|
+
"productiveHeading03",
|
|
705
|
+
"productiveHeading04",
|
|
706
|
+
"productiveHeading05",
|
|
707
|
+
"productiveHeading06",
|
|
708
|
+
"productiveHeading07",
|
|
709
|
+
"expressiveHeading01",
|
|
710
|
+
"expressiveHeading02",
|
|
711
|
+
"expressiveHeading03",
|
|
712
|
+
"expressiveHeading04",
|
|
713
|
+
"expressiveHeading05",
|
|
714
|
+
"expressiveHeading06",
|
|
715
|
+
"expressiveParagraph01",
|
|
716
|
+
"quotation01",
|
|
717
|
+
"quotation02",
|
|
718
|
+
"display01",
|
|
719
|
+
"display02",
|
|
720
|
+
"display03",
|
|
721
|
+
"display04",
|
|
722
|
+
"legal01",
|
|
723
|
+
"legal02",
|
|
724
|
+
"bodyCompact01",
|
|
725
|
+
"bodyCompact02",
|
|
726
|
+
"body01",
|
|
727
|
+
"body02",
|
|
728
|
+
"headingCompact01",
|
|
729
|
+
"headingCompact02",
|
|
730
|
+
"heading03",
|
|
731
|
+
"heading04",
|
|
732
|
+
"heading05",
|
|
733
|
+
"heading06",
|
|
734
|
+
"heading07",
|
|
735
|
+
"fluidHeading03",
|
|
736
|
+
"fluidHeading04",
|
|
737
|
+
"fluidHeading05",
|
|
738
|
+
"fluidHeading06",
|
|
739
|
+
"fluidParagraph01",
|
|
740
|
+
"fluidQuotation01",
|
|
741
|
+
"fluidQuotation02",
|
|
742
|
+
"fluidDisplay01",
|
|
743
|
+
"fluidDisplay02",
|
|
744
|
+
"fluidDisplay03",
|
|
745
|
+
"fluidDisplay04"
|
|
825
746
|
];
|
|
826
|
-
|
|
827
747
|
//#endregion
|
|
828
748
|
//#region src/index.js
|
|
829
749
|
/**
|
|
@@ -832,7 +752,6 @@ const unstable_tokens = [
|
|
|
832
752
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
833
753
|
* LICENSE file in the root directory of this source tree.
|
|
834
754
|
*/
|
|
835
|
-
|
|
836
755
|
//#endregion
|
|
837
756
|
exports.body01 = body01;
|
|
838
757
|
exports.body02 = body02;
|
|
@@ -901,10 +820,10 @@ exports.quotation01 = quotation01;
|
|
|
901
820
|
exports.quotation02 = quotation02;
|
|
902
821
|
exports.reset = reset;
|
|
903
822
|
exports.scale = scale;
|
|
904
|
-
Object.defineProperty(exports,
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
823
|
+
Object.defineProperty(exports, "styles", {
|
|
824
|
+
enumerable: true,
|
|
825
|
+
get: function() {
|
|
826
|
+
return styles_exports;
|
|
827
|
+
}
|
|
909
828
|
});
|
|
910
|
-
exports.unstable_tokens = unstable_tokens;
|
|
829
|
+
exports.unstable_tokens = unstable_tokens;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/type",
|
|
3
3
|
"description": "Typography for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.58.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"postinstall": "ibmtelemetry --config=telemetry.yml"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@carbon/grid": "^11.
|
|
45
|
-
"@carbon/layout": "^11.
|
|
44
|
+
"@carbon/grid": "^11.54.0",
|
|
45
|
+
"@carbon/layout": "^11.52.0",
|
|
46
46
|
"@ibm/telemetry-js": "^1.5.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@carbon/cli": "^11.
|
|
49
|
+
"@carbon/cli": "^11.43.0",
|
|
50
50
|
"@carbon/test-utils": "^10.41.0",
|
|
51
51
|
"change-case-all": "^2.1.0",
|
|
52
52
|
"css": "^3.0.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"sassDir": "scss",
|
|
59
59
|
"needs": "^1.3.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "5e89339998bd16c8ddd42e1cc6a2d0c15b3b0af5"
|
|
62
62
|
}
|
package/umd/index.js
CHANGED
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
|
-
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@carbon/layout'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CarbonType = {}), global.CarbonLayout));
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@carbon/layout")) : typeof define === "function" && define.amd ? define(["exports", "@carbon/layout"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.CarbonType = {}, global.CarbonLayout));
|
|
5
3
|
})(this, function(exports, _carbon_layout) {
|
|
6
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
7
|
-
//#region \0rolldown/runtime.js
|
|
4
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
5
|
+
//#region \0rolldown/runtime.js
|
|
8
6
|
var __defProp = Object.defineProperty;
|
|
9
7
|
var __exportAll = (all, no_symbols) => {
|
|
10
8
|
let target = {};
|
|
11
|
-
for (var name in all) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
if (!no_symbols) {
|
|
18
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
-
}
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
20
14
|
return target;
|
|
21
15
|
};
|
|
22
|
-
|
|
23
|
-
//#
|
|
24
|
-
|
|
25
|
-
//#region src/fontFamily.js
|
|
26
|
-
/**
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/fontFamily.js
|
|
18
|
+
/**
|
|
27
19
|
* Copyright IBM Corp. 2018, 2023
|
|
28
20
|
*
|
|
29
21
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -40,10 +32,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
40
32
|
if (!fontFamilies[name]) throw new Error(`Unable to find font family: \`${name}\`. Expected one of: [${Object.keys(fontFamilies).join(", ")}]`);
|
|
41
33
|
return { fontFamily: fontFamilies[name] };
|
|
42
34
|
}
|
|
43
|
-
|
|
44
|
-
//#
|
|
45
|
-
|
|
46
|
-
/**
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/fontWeight.js
|
|
37
|
+
/**
|
|
47
38
|
* Copyright IBM Corp. 2018, 2023
|
|
48
39
|
*
|
|
49
40
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -58,10 +49,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
58
49
|
if (!fontWeights[weight]) throw new Error(`Unable to find font weight: \`${weight}\`. Expected one of: [${Object.keys(fontWeights).join(", ")}]`);
|
|
59
50
|
return { fontWeight: fontWeights[weight] };
|
|
60
51
|
}
|
|
61
|
-
|
|
62
|
-
//#
|
|
63
|
-
|
|
64
|
-
/**
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/print.js
|
|
54
|
+
/**
|
|
65
55
|
* Copyright IBM Corp. 2018, 2023
|
|
66
56
|
*
|
|
67
57
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -87,10 +77,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
87
77
|
}
|
|
88
78
|
return result;
|
|
89
79
|
}
|
|
90
|
-
|
|
91
|
-
//#
|
|
92
|
-
|
|
93
|
-
/**
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/reset.js
|
|
82
|
+
/**
|
|
94
83
|
* Copyright IBM Corp. 2018, 2023
|
|
95
84
|
*
|
|
96
85
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -108,10 +97,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
108
97
|
strong: { fontWeight: fontWeights.semibold },
|
|
109
98
|
code: { fontFamily: fontFamilies.mono }
|
|
110
99
|
};
|
|
111
|
-
|
|
112
|
-
//#
|
|
113
|
-
|
|
114
|
-
/**
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region src/scale.js
|
|
102
|
+
/**
|
|
115
103
|
* Copyright IBM Corp. 2018, 2023
|
|
116
104
|
*
|
|
117
105
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -157,10 +145,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
157
145
|
144,
|
|
158
146
|
156
|
|
159
147
|
];
|
|
160
|
-
|
|
161
|
-
//#
|
|
162
|
-
|
|
163
|
-
/**
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/styles.js
|
|
150
|
+
/**
|
|
164
151
|
* Copyright IBM Corp. 2018, 2023
|
|
165
152
|
*
|
|
166
153
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -645,10 +632,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
645
632
|
const fluidDisplay02 = display02;
|
|
646
633
|
const fluidDisplay03 = display03;
|
|
647
634
|
const fluidDisplay04 = display04;
|
|
648
|
-
|
|
649
|
-
//#
|
|
650
|
-
|
|
651
|
-
/**
|
|
635
|
+
//#endregion
|
|
636
|
+
//#region src/fluid.js
|
|
637
|
+
/**
|
|
652
638
|
* Copyright IBM Corp. 2018, 2023
|
|
653
639
|
*
|
|
654
640
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
@@ -700,216 +686,147 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
700
686
|
function subtract(a, b) {
|
|
701
687
|
return parseFloat(a) - parseFloat(b);
|
|
702
688
|
}
|
|
703
|
-
|
|
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
689
|
const unstable_tokens = [
|
|
771
|
-
caption01
|
|
772
|
-
caption02
|
|
773
|
-
label01
|
|
774
|
-
label02
|
|
775
|
-
helperText01
|
|
776
|
-
helperText02
|
|
777
|
-
bodyShort01
|
|
778
|
-
bodyLong01
|
|
779
|
-
bodyShort02
|
|
780
|
-
bodyLong02
|
|
781
|
-
code01
|
|
782
|
-
code02
|
|
783
|
-
heading01
|
|
784
|
-
productiveHeading01
|
|
785
|
-
heading02
|
|
786
|
-
productiveHeading02
|
|
787
|
-
productiveHeading03
|
|
788
|
-
productiveHeading04
|
|
789
|
-
productiveHeading05
|
|
790
|
-
productiveHeading06
|
|
791
|
-
productiveHeading07
|
|
792
|
-
expressiveHeading01
|
|
793
|
-
expressiveHeading02
|
|
794
|
-
expressiveHeading03
|
|
795
|
-
expressiveHeading04
|
|
796
|
-
expressiveHeading05
|
|
797
|
-
expressiveHeading06
|
|
798
|
-
expressiveParagraph01
|
|
799
|
-
quotation01
|
|
800
|
-
quotation02
|
|
801
|
-
display01
|
|
802
|
-
display02
|
|
803
|
-
display03
|
|
804
|
-
display04
|
|
805
|
-
legal01
|
|
806
|
-
legal02
|
|
807
|
-
bodyCompact01
|
|
808
|
-
bodyCompact02
|
|
809
|
-
body01
|
|
810
|
-
body02
|
|
811
|
-
headingCompact01
|
|
812
|
-
headingCompact02
|
|
813
|
-
heading03
|
|
814
|
-
heading04
|
|
815
|
-
heading05
|
|
816
|
-
heading06
|
|
817
|
-
heading07
|
|
818
|
-
fluidHeading03
|
|
819
|
-
fluidHeading04
|
|
820
|
-
fluidHeading05
|
|
821
|
-
fluidHeading06
|
|
822
|
-
fluidParagraph01
|
|
823
|
-
fluidQuotation01
|
|
824
|
-
fluidQuotation02
|
|
825
|
-
fluidDisplay01
|
|
826
|
-
fluidDisplay02
|
|
827
|
-
fluidDisplay03
|
|
828
|
-
fluidDisplay04
|
|
690
|
+
"caption01",
|
|
691
|
+
"caption02",
|
|
692
|
+
"label01",
|
|
693
|
+
"label02",
|
|
694
|
+
"helperText01",
|
|
695
|
+
"helperText02",
|
|
696
|
+
"bodyShort01",
|
|
697
|
+
"bodyLong01",
|
|
698
|
+
"bodyShort02",
|
|
699
|
+
"bodyLong02",
|
|
700
|
+
"code01",
|
|
701
|
+
"code02",
|
|
702
|
+
"heading01",
|
|
703
|
+
"productiveHeading01",
|
|
704
|
+
"heading02",
|
|
705
|
+
"productiveHeading02",
|
|
706
|
+
"productiveHeading03",
|
|
707
|
+
"productiveHeading04",
|
|
708
|
+
"productiveHeading05",
|
|
709
|
+
"productiveHeading06",
|
|
710
|
+
"productiveHeading07",
|
|
711
|
+
"expressiveHeading01",
|
|
712
|
+
"expressiveHeading02",
|
|
713
|
+
"expressiveHeading03",
|
|
714
|
+
"expressiveHeading04",
|
|
715
|
+
"expressiveHeading05",
|
|
716
|
+
"expressiveHeading06",
|
|
717
|
+
"expressiveParagraph01",
|
|
718
|
+
"quotation01",
|
|
719
|
+
"quotation02",
|
|
720
|
+
"display01",
|
|
721
|
+
"display02",
|
|
722
|
+
"display03",
|
|
723
|
+
"display04",
|
|
724
|
+
"legal01",
|
|
725
|
+
"legal02",
|
|
726
|
+
"bodyCompact01",
|
|
727
|
+
"bodyCompact02",
|
|
728
|
+
"body01",
|
|
729
|
+
"body02",
|
|
730
|
+
"headingCompact01",
|
|
731
|
+
"headingCompact02",
|
|
732
|
+
"heading03",
|
|
733
|
+
"heading04",
|
|
734
|
+
"heading05",
|
|
735
|
+
"heading06",
|
|
736
|
+
"heading07",
|
|
737
|
+
"fluidHeading03",
|
|
738
|
+
"fluidHeading04",
|
|
739
|
+
"fluidHeading05",
|
|
740
|
+
"fluidHeading06",
|
|
741
|
+
"fluidParagraph01",
|
|
742
|
+
"fluidQuotation01",
|
|
743
|
+
"fluidQuotation02",
|
|
744
|
+
"fluidDisplay01",
|
|
745
|
+
"fluidDisplay02",
|
|
746
|
+
"fluidDisplay03",
|
|
747
|
+
"fluidDisplay04"
|
|
829
748
|
];
|
|
830
|
-
|
|
831
|
-
//#
|
|
832
|
-
|
|
833
|
-
/**
|
|
749
|
+
//#endregion
|
|
750
|
+
//#region src/index.js
|
|
751
|
+
/**
|
|
834
752
|
* Copyright IBM Corp. 2018, 2023
|
|
835
753
|
*
|
|
836
754
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
837
755
|
* LICENSE file in the root directory of this source tree.
|
|
838
756
|
*/
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
exports.
|
|
842
|
-
exports.
|
|
843
|
-
exports.
|
|
844
|
-
exports.
|
|
845
|
-
exports.
|
|
846
|
-
exports.
|
|
847
|
-
exports.
|
|
848
|
-
exports.
|
|
849
|
-
exports.
|
|
850
|
-
exports.
|
|
851
|
-
exports.
|
|
852
|
-
exports.
|
|
853
|
-
exports.
|
|
854
|
-
exports.
|
|
855
|
-
exports.
|
|
856
|
-
exports.
|
|
857
|
-
exports.
|
|
858
|
-
exports.
|
|
859
|
-
exports.
|
|
860
|
-
exports.
|
|
861
|
-
exports.
|
|
862
|
-
exports.
|
|
863
|
-
exports.
|
|
864
|
-
exports.
|
|
865
|
-
exports.
|
|
866
|
-
exports.
|
|
867
|
-
exports.
|
|
868
|
-
exports.
|
|
869
|
-
exports.
|
|
870
|
-
exports.
|
|
871
|
-
exports.
|
|
872
|
-
exports.
|
|
873
|
-
exports.
|
|
874
|
-
exports.
|
|
875
|
-
exports.
|
|
876
|
-
exports.
|
|
877
|
-
exports.
|
|
878
|
-
exports.
|
|
879
|
-
exports.
|
|
880
|
-
exports.
|
|
881
|
-
exports.
|
|
882
|
-
exports.
|
|
883
|
-
exports.
|
|
884
|
-
exports.
|
|
885
|
-
exports.
|
|
886
|
-
exports.
|
|
887
|
-
exports.
|
|
888
|
-
exports.
|
|
889
|
-
exports.
|
|
890
|
-
exports.
|
|
891
|
-
exports.
|
|
892
|
-
exports.
|
|
893
|
-
exports.
|
|
894
|
-
exports.
|
|
895
|
-
exports.
|
|
896
|
-
exports.
|
|
897
|
-
exports.
|
|
898
|
-
exports.
|
|
899
|
-
exports.
|
|
900
|
-
exports.
|
|
901
|
-
exports.
|
|
902
|
-
exports.
|
|
903
|
-
exports.
|
|
904
|
-
exports.
|
|
905
|
-
exports.
|
|
906
|
-
exports.
|
|
907
|
-
exports
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
757
|
+
//#endregion
|
|
758
|
+
exports.body01 = body01;
|
|
759
|
+
exports.body02 = body02;
|
|
760
|
+
exports.bodyCompact01 = bodyCompact01;
|
|
761
|
+
exports.bodyCompact02 = bodyCompact02;
|
|
762
|
+
exports.bodyLong01 = bodyLong01;
|
|
763
|
+
exports.bodyLong02 = bodyLong02;
|
|
764
|
+
exports.bodyShort01 = bodyShort01;
|
|
765
|
+
exports.bodyShort02 = bodyShort02;
|
|
766
|
+
exports.caption01 = caption01;
|
|
767
|
+
exports.caption02 = caption02;
|
|
768
|
+
exports.code01 = code01;
|
|
769
|
+
exports.code02 = code02;
|
|
770
|
+
exports.display01 = display01;
|
|
771
|
+
exports.display02 = display02;
|
|
772
|
+
exports.display03 = display03;
|
|
773
|
+
exports.display04 = display04;
|
|
774
|
+
exports.expressiveHeading01 = expressiveHeading01;
|
|
775
|
+
exports.expressiveHeading02 = expressiveHeading02;
|
|
776
|
+
exports.expressiveHeading03 = expressiveHeading03;
|
|
777
|
+
exports.expressiveHeading04 = expressiveHeading04;
|
|
778
|
+
exports.expressiveHeading05 = expressiveHeading05;
|
|
779
|
+
exports.expressiveHeading06 = expressiveHeading06;
|
|
780
|
+
exports.expressiveParagraph01 = expressiveParagraph01;
|
|
781
|
+
exports.fluid = fluid;
|
|
782
|
+
exports.fluidDisplay01 = fluidDisplay01;
|
|
783
|
+
exports.fluidDisplay02 = fluidDisplay02;
|
|
784
|
+
exports.fluidDisplay03 = fluidDisplay03;
|
|
785
|
+
exports.fluidDisplay04 = fluidDisplay04;
|
|
786
|
+
exports.fluidHeading03 = fluidHeading03;
|
|
787
|
+
exports.fluidHeading04 = fluidHeading04;
|
|
788
|
+
exports.fluidHeading05 = fluidHeading05;
|
|
789
|
+
exports.fluidHeading06 = fluidHeading06;
|
|
790
|
+
exports.fluidParagraph01 = fluidParagraph01;
|
|
791
|
+
exports.fluidQuotation01 = fluidQuotation01;
|
|
792
|
+
exports.fluidQuotation02 = fluidQuotation02;
|
|
793
|
+
exports.fontFamilies = fontFamilies;
|
|
794
|
+
exports.fontFamily = fontFamily;
|
|
795
|
+
exports.fontWeight = fontWeight;
|
|
796
|
+
exports.fontWeights = fontWeights;
|
|
797
|
+
exports.getTypeSize = getTypeSize;
|
|
798
|
+
exports.heading01 = heading01;
|
|
799
|
+
exports.heading02 = heading02;
|
|
800
|
+
exports.heading03 = heading03;
|
|
801
|
+
exports.heading04 = heading04;
|
|
802
|
+
exports.heading05 = heading05;
|
|
803
|
+
exports.heading06 = heading06;
|
|
804
|
+
exports.heading07 = heading07;
|
|
805
|
+
exports.headingCompact01 = headingCompact01;
|
|
806
|
+
exports.headingCompact02 = headingCompact02;
|
|
807
|
+
exports.helperText01 = helperText01;
|
|
808
|
+
exports.helperText02 = helperText02;
|
|
809
|
+
exports.label01 = label01;
|
|
810
|
+
exports.label02 = label02;
|
|
811
|
+
exports.legal01 = legal01;
|
|
812
|
+
exports.legal02 = legal02;
|
|
813
|
+
exports.print = print;
|
|
814
|
+
exports.productiveHeading01 = productiveHeading01;
|
|
815
|
+
exports.productiveHeading02 = productiveHeading02;
|
|
816
|
+
exports.productiveHeading03 = productiveHeading03;
|
|
817
|
+
exports.productiveHeading04 = productiveHeading04;
|
|
818
|
+
exports.productiveHeading05 = productiveHeading05;
|
|
819
|
+
exports.productiveHeading06 = productiveHeading06;
|
|
820
|
+
exports.productiveHeading07 = productiveHeading07;
|
|
821
|
+
exports.quotation01 = quotation01;
|
|
822
|
+
exports.quotation02 = quotation02;
|
|
823
|
+
exports.reset = reset;
|
|
824
|
+
exports.scale = scale;
|
|
825
|
+
Object.defineProperty(exports, "styles", {
|
|
826
|
+
enumerable: true,
|
|
827
|
+
get: function() {
|
|
828
|
+
return styles_exports;
|
|
829
|
+
}
|
|
830
|
+
});
|
|
831
|
+
exports.unstable_tokens = unstable_tokens;
|
|
913
832
|
});
|
|
914
|
-
exports.unstable_tokens = unstable_tokens;
|
|
915
|
-
});
|