@fluentui/react-text 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.11
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/CHANGELOG.json +542 -16
- package/CHANGELOG.md +206 -52
- package/MIGRATION.md +153 -103
- package/README.md +4 -4
- package/dist/index.d.ts +188 -0
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/Body1.js +2 -0
- package/lib/Body1.js.map +1 -0
- package/lib/Caption1.js +2 -0
- package/lib/Caption1.js.map +1 -0
- package/lib/Caption2.js +2 -0
- package/lib/Caption2.js.map +1 -0
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js +2 -0
- package/lib/Subtitle1.js.map +1 -0
- package/lib/Subtitle2.js +2 -0
- package/lib/Subtitle2.js.map +1 -0
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Body1/Body1.js +31 -0
- package/lib/components/Body1/Body1.js.map +1 -0
- package/lib/components/Body1/index.js +2 -0
- package/lib/components/Body1/index.js.map +1 -0
- package/lib/components/Caption1/Caption1.js +31 -0
- package/lib/components/Caption1/Caption1.js.map +1 -0
- package/lib/components/Caption1/index.js +2 -0
- package/lib/components/Caption1/index.js.map +1 -0
- package/lib/components/Caption2/Caption2.js +31 -0
- package/lib/components/Caption2/Caption2.js.map +1 -0
- package/lib/components/Caption2/index.js +2 -0
- package/lib/components/Caption2/index.js.map +1 -0
- package/lib/components/Display/Display.js +12 -8
- package/lib/components/Display/Display.js.map +1 -1
- package/lib/components/Display/index.js.map +1 -1
- package/lib/components/LargeTitle/LargeTitle.js +12 -8
- package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/LargeTitle/index.js.map +1 -1
- package/lib/components/Subtitle1/Subtitle1.js +31 -0
- package/lib/components/Subtitle1/Subtitle1.js.map +1 -0
- package/lib/components/Subtitle1/index.js +2 -0
- package/lib/components/Subtitle1/index.js.map +1 -0
- package/lib/components/Subtitle2/Subtitle2.js +31 -0
- package/lib/components/Subtitle2/Subtitle2.js.map +1 -0
- package/lib/components/Subtitle2/index.js +2 -0
- package/lib/components/Subtitle2/index.js.map +1 -0
- package/lib/components/Text/Text.js +7 -7
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js +7 -7
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js +28 -27
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.js +17 -11
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/Title1/Title1.js +12 -8
- package/lib/components/Title1/Title1.js.map +1 -1
- package/lib/components/Title1/index.js.map +1 -1
- package/lib/components/Title2/Title2.js +12 -8
- package/lib/components/Title2/Title2.js.map +1 -1
- package/lib/components/Title2/index.js.map +1 -1
- package/lib/components/Title3/Title3.js +12 -8
- package/lib/components/Title3/Title3.js.map +1 -1
- package/lib/components/Title3/index.js.map +1 -1
- package/lib/components/wrapper.js +13 -10
- package/lib/components/wrapper.js.map +1 -1
- package/lib/index.js +11 -10
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js +10 -0
- package/lib-commonjs/Body1.js.map +1 -0
- package/lib-commonjs/Caption1.js +10 -0
- package/lib-commonjs/Caption1.js.map +1 -0
- package/lib-commonjs/Caption2.js +10 -0
- package/lib-commonjs/Caption2.js.map +1 -0
- package/lib-commonjs/Display.js +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +10 -0
- package/lib-commonjs/Subtitle1.js.map +1 -0
- package/lib-commonjs/Subtitle2.js +10 -0
- package/lib-commonjs/Subtitle2.js.map +1 -0
- package/lib-commonjs/Text.js +1 -1
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Body1/Body1.js +41 -0
- package/lib-commonjs/components/Body1/Body1.js.map +1 -0
- package/lib-commonjs/components/Body1/index.js +10 -0
- package/lib-commonjs/components/Body1/index.js.map +1 -0
- package/lib-commonjs/components/Caption1/Caption1.js +41 -0
- package/lib-commonjs/components/Caption1/Caption1.js.map +1 -0
- package/lib-commonjs/components/Caption1/index.js +10 -0
- package/lib-commonjs/components/Caption1/index.js.map +1 -0
- package/lib-commonjs/components/Caption2/Caption2.js +41 -0
- package/lib-commonjs/components/Caption2/Caption2.js.map +1 -0
- package/lib-commonjs/components/Caption2/index.js +10 -0
- package/lib-commonjs/components/Caption2/index.js.map +1 -0
- package/lib-commonjs/components/Display/Display.js +20 -9
- package/lib-commonjs/components/Display/Display.js.map +1 -1
- package/lib-commonjs/components/Display/index.js +1 -1
- package/lib-commonjs/components/Display/index.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.js +20 -9
- package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/index.js +1 -1
- package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/Subtitle1/Subtitle1.js +41 -0
- package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +1 -0
- package/lib-commonjs/components/Subtitle1/index.js +10 -0
- package/lib-commonjs/components/Subtitle1/index.js.map +1 -0
- package/lib-commonjs/components/Subtitle2/Subtitle2.js +41 -0
- package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +1 -0
- package/lib-commonjs/components/Subtitle2/index.js +10 -0
- package/lib-commonjs/components/Subtitle2/index.js.map +1 -0
- package/lib-commonjs/components/Text/Text.js +8 -8
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js +1 -1
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +11 -12
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js +31 -31
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.js +21 -14
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/Title1/Title1.js +20 -9
- package/lib-commonjs/components/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/Title1/index.js +1 -1
- package/lib-commonjs/components/Title1/index.js.map +1 -1
- package/lib-commonjs/components/Title2/Title2.js +20 -9
- package/lib-commonjs/components/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/Title2/index.js +1 -1
- package/lib-commonjs/components/Title2/index.js.map +1 -1
- package/lib-commonjs/components/Title3/Title3.js +20 -9
- package/lib-commonjs/components/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/Title3/index.js +1 -1
- package/lib-commonjs/components/Title3/index.js.map +1 -1
- package/lib-commonjs/components/wrapper.js +14 -11
- package/lib-commonjs/components/wrapper.js.map +1 -1
- package/lib-commonjs/index.js +173 -11
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +18 -22
- package/dist/react-text.d.ts +0 -163
- package/lib/Body.d.ts +0 -1
- package/lib/Body.js +0 -2
- package/lib/Body.js.map +0 -1
- package/lib/Caption.d.ts +0 -1
- package/lib/Caption.js +0 -2
- package/lib/Caption.js.map +0 -1
- package/lib/Display.d.ts +0 -1
- package/lib/Headline.d.ts +0 -1
- package/lib/Headline.js +0 -2
- package/lib/Headline.js.map +0 -1
- package/lib/LargeTitle.d.ts +0 -1
- package/lib/Subheadline.d.ts +0 -1
- package/lib/Subheadline.js +0 -2
- package/lib/Subheadline.js.map +0 -1
- package/lib/Text.d.ts +0 -1
- package/lib/Title1.d.ts +0 -1
- package/lib/Title2.d.ts +0 -1
- package/lib/Title3.d.ts +0 -1
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -16
- package/lib/common/isConformant.js.map +0 -1
- package/lib/components/Body/Body.d.ts +0 -6
- package/lib/components/Body/Body.js +0 -27
- package/lib/components/Body/Body.js.map +0 -1
- package/lib/components/Body/index.d.ts +0 -1
- package/lib/components/Body/index.js +0 -2
- package/lib/components/Body/index.js.map +0 -1
- package/lib/components/Caption/Caption.d.ts +0 -6
- package/lib/components/Caption/Caption.js +0 -27
- package/lib/components/Caption/Caption.js.map +0 -1
- package/lib/components/Caption/index.d.ts +0 -1
- package/lib/components/Caption/index.js +0 -2
- package/lib/components/Caption/index.js.map +0 -1
- package/lib/components/Display/Display.d.ts +0 -6
- package/lib/components/Display/index.d.ts +0 -1
- package/lib/components/Headline/Headline.d.ts +0 -6
- package/lib/components/Headline/Headline.js +0 -27
- package/lib/components/Headline/Headline.js.map +0 -1
- package/lib/components/Headline/index.d.ts +0 -1
- package/lib/components/Headline/index.js +0 -2
- package/lib/components/Headline/index.js.map +0 -1
- package/lib/components/LargeTitle/LargeTitle.d.ts +0 -6
- package/lib/components/LargeTitle/index.d.ts +0 -1
- package/lib/components/Subheadline/Subheadline.d.ts +0 -6
- package/lib/components/Subheadline/Subheadline.js +0 -27
- package/lib/components/Subheadline/Subheadline.js.map +0 -1
- package/lib/components/Subheadline/index.d.ts +0 -1
- package/lib/components/Subheadline/index.js +0 -2
- package/lib/components/Subheadline/index.js.map +0 -1
- package/lib/components/Text/Text.d.ts +0 -6
- package/lib/components/Text/Text.types.d.ts +0 -77
- package/lib/components/Text/index.d.ts +0 -5
- package/lib/components/Text/renderText.d.ts +0 -5
- package/lib/components/Text/useText.d.ts +0 -12
- package/lib/components/Text/useTextStyles.d.ts +0 -5
- package/lib/components/Title1/Title1.d.ts +0 -6
- package/lib/components/Title1/index.d.ts +0 -1
- package/lib/components/Title2/Title2.d.ts +0 -6
- package/lib/components/Title2/index.d.ts +0 -1
- package/lib/components/Title3/Title3.d.ts +0 -6
- package/lib/components/Title3/index.d.ts +0 -1
- package/lib/components/wrapper.d.ts +0 -7
- package/lib/index.d.ts +0 -10
- package/lib/typographyStyles/index.d.ts +0 -2
- package/lib/typographyStyles/index.js +0 -3
- package/lib/typographyStyles/index.js.map +0 -1
- package/lib/typographyStyles/typographyStyles.d.ts +0 -14
- package/lib/typographyStyles/typographyStyles.js +0 -76
- package/lib/typographyStyles/typographyStyles.js.map +0 -1
- package/lib-commonjs/Body.d.ts +0 -1
- package/lib-commonjs/Body.js +0 -10
- package/lib-commonjs/Body.js.map +0 -1
- package/lib-commonjs/Caption.d.ts +0 -1
- package/lib-commonjs/Caption.js +0 -10
- package/lib-commonjs/Caption.js.map +0 -1
- package/lib-commonjs/Display.d.ts +0 -1
- package/lib-commonjs/Headline.d.ts +0 -1
- package/lib-commonjs/Headline.js +0 -10
- package/lib-commonjs/Headline.js.map +0 -1
- package/lib-commonjs/LargeTitle.d.ts +0 -1
- package/lib-commonjs/Subheadline.d.ts +0 -1
- package/lib-commonjs/Subheadline.js +0 -10
- package/lib-commonjs/Subheadline.js.map +0 -1
- package/lib-commonjs/Text.d.ts +0 -1
- package/lib-commonjs/Title1.d.ts +0 -1
- package/lib-commonjs/Title2.d.ts +0 -1
- package/lib-commonjs/Title3.d.ts +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -27
- package/lib-commonjs/common/isConformant.js.map +0 -1
- package/lib-commonjs/components/Body/Body.d.ts +0 -6
- package/lib-commonjs/components/Body/Body.js +0 -30
- package/lib-commonjs/components/Body/Body.js.map +0 -1
- package/lib-commonjs/components/Body/index.d.ts +0 -1
- package/lib-commonjs/components/Body/index.js +0 -10
- package/lib-commonjs/components/Body/index.js.map +0 -1
- package/lib-commonjs/components/Caption/Caption.d.ts +0 -6
- package/lib-commonjs/components/Caption/Caption.js +0 -30
- package/lib-commonjs/components/Caption/Caption.js.map +0 -1
- package/lib-commonjs/components/Caption/index.d.ts +0 -1
- package/lib-commonjs/components/Caption/index.js +0 -10
- package/lib-commonjs/components/Caption/index.js.map +0 -1
- package/lib-commonjs/components/Display/Display.d.ts +0 -6
- package/lib-commonjs/components/Display/index.d.ts +0 -1
- package/lib-commonjs/components/Headline/Headline.d.ts +0 -6
- package/lib-commonjs/components/Headline/Headline.js +0 -30
- package/lib-commonjs/components/Headline/Headline.js.map +0 -1
- package/lib-commonjs/components/Headline/index.d.ts +0 -1
- package/lib-commonjs/components/Headline/index.js +0 -10
- package/lib-commonjs/components/Headline/index.js.map +0 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +0 -6
- package/lib-commonjs/components/LargeTitle/index.d.ts +0 -1
- package/lib-commonjs/components/Subheadline/Subheadline.d.ts +0 -6
- package/lib-commonjs/components/Subheadline/Subheadline.js +0 -30
- package/lib-commonjs/components/Subheadline/Subheadline.js.map +0 -1
- package/lib-commonjs/components/Subheadline/index.d.ts +0 -1
- package/lib-commonjs/components/Subheadline/index.js +0 -10
- package/lib-commonjs/components/Subheadline/index.js.map +0 -1
- package/lib-commonjs/components/Text/Text.d.ts +0 -6
- package/lib-commonjs/components/Text/Text.types.d.ts +0 -77
- package/lib-commonjs/components/Text/index.d.ts +0 -5
- package/lib-commonjs/components/Text/renderText.d.ts +0 -5
- package/lib-commonjs/components/Text/useText.d.ts +0 -12
- package/lib-commonjs/components/Text/useTextStyles.d.ts +0 -5
- package/lib-commonjs/components/Title1/Title1.d.ts +0 -6
- package/lib-commonjs/components/Title1/index.d.ts +0 -1
- package/lib-commonjs/components/Title2/Title2.d.ts +0 -6
- package/lib-commonjs/components/Title2/index.d.ts +0 -1
- package/lib-commonjs/components/Title3/Title3.d.ts +0 -6
- package/lib-commonjs/components/Title3/index.d.ts +0 -1
- package/lib-commonjs/components/wrapper.d.ts +0 -7
- package/lib-commonjs/index.d.ts +0 -10
- package/lib-commonjs/typographyStyles/index.d.ts +0 -2
- package/lib-commonjs/typographyStyles/index.js +0 -11
- package/lib-commonjs/typographyStyles/index.js.map +0 -1
- package/lib-commonjs/typographyStyles/typographyStyles.d.ts +0 -14
- package/lib-commonjs/typographyStyles/typographyStyles.js +0 -109
- package/lib-commonjs/typographyStyles/typographyStyles.js.map +0 -1
package/lib-commonjs/index.js
CHANGED
@@ -3,26 +3,188 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
+
exports.caption2ClassNames = exports.Caption2 = exports.caption1ClassNames = exports.Caption1 = exports.body1ClassNames = exports.Body1 = exports.subtitle2ClassNames = exports.Subtitle2 = exports.subtitle1ClassNames = exports.Subtitle1 = exports.title3ClassNames = exports.Title3 = exports.title2ClassNames = exports.Title2 = exports.title1ClassNames = exports.Title1 = exports.largeTitleClassNames = exports.LargeTitle = exports.displayClassNames = exports.Display = exports.useText_unstable = exports.useTextStyles_unstable = exports.textClassNames = exports.renderText_unstable = exports.Text = void 0;
|
6
7
|
|
7
|
-
var
|
8
|
+
var Text_1 = /*#__PURE__*/require("./Text");
|
8
9
|
|
9
|
-
|
10
|
+
Object.defineProperty(exports, "Text", {
|
11
|
+
enumerable: true,
|
12
|
+
get: function () {
|
13
|
+
return Text_1.Text;
|
14
|
+
}
|
15
|
+
});
|
16
|
+
Object.defineProperty(exports, "renderText_unstable", {
|
17
|
+
enumerable: true,
|
18
|
+
get: function () {
|
19
|
+
return Text_1.renderText_unstable;
|
20
|
+
}
|
21
|
+
});
|
22
|
+
Object.defineProperty(exports, "textClassNames", {
|
23
|
+
enumerable: true,
|
24
|
+
get: function () {
|
25
|
+
return Text_1.textClassNames;
|
26
|
+
}
|
27
|
+
});
|
28
|
+
Object.defineProperty(exports, "useTextStyles_unstable", {
|
29
|
+
enumerable: true,
|
30
|
+
get: function () {
|
31
|
+
return Text_1.useTextStyles_unstable;
|
32
|
+
}
|
33
|
+
});
|
34
|
+
Object.defineProperty(exports, "useText_unstable", {
|
35
|
+
enumerable: true,
|
36
|
+
get: function () {
|
37
|
+
return Text_1.useText_unstable;
|
38
|
+
}
|
39
|
+
});
|
40
|
+
|
41
|
+
var Display_1 = /*#__PURE__*/require("./Display");
|
42
|
+
|
43
|
+
Object.defineProperty(exports, "Display", {
|
44
|
+
enumerable: true,
|
45
|
+
get: function () {
|
46
|
+
return Display_1.Display;
|
47
|
+
}
|
48
|
+
});
|
49
|
+
Object.defineProperty(exports, "displayClassNames", {
|
50
|
+
enumerable: true,
|
51
|
+
get: function () {
|
52
|
+
return Display_1.displayClassNames;
|
53
|
+
}
|
54
|
+
});
|
55
|
+
|
56
|
+
var LargeTitle_1 = /*#__PURE__*/require("./LargeTitle");
|
57
|
+
|
58
|
+
Object.defineProperty(exports, "LargeTitle", {
|
59
|
+
enumerable: true,
|
60
|
+
get: function () {
|
61
|
+
return LargeTitle_1.LargeTitle;
|
62
|
+
}
|
63
|
+
});
|
64
|
+
Object.defineProperty(exports, "largeTitleClassNames", {
|
65
|
+
enumerable: true,
|
66
|
+
get: function () {
|
67
|
+
return LargeTitle_1.largeTitleClassNames;
|
68
|
+
}
|
69
|
+
});
|
70
|
+
|
71
|
+
var Title1_1 = /*#__PURE__*/require("./Title1");
|
72
|
+
|
73
|
+
Object.defineProperty(exports, "Title1", {
|
74
|
+
enumerable: true,
|
75
|
+
get: function () {
|
76
|
+
return Title1_1.Title1;
|
77
|
+
}
|
78
|
+
});
|
79
|
+
Object.defineProperty(exports, "title1ClassNames", {
|
80
|
+
enumerable: true,
|
81
|
+
get: function () {
|
82
|
+
return Title1_1.title1ClassNames;
|
83
|
+
}
|
84
|
+
});
|
85
|
+
|
86
|
+
var Title2_1 = /*#__PURE__*/require("./Title2");
|
10
87
|
|
11
|
-
|
88
|
+
Object.defineProperty(exports, "Title2", {
|
89
|
+
enumerable: true,
|
90
|
+
get: function () {
|
91
|
+
return Title2_1.Title2;
|
92
|
+
}
|
93
|
+
});
|
94
|
+
Object.defineProperty(exports, "title2ClassNames", {
|
95
|
+
enumerable: true,
|
96
|
+
get: function () {
|
97
|
+
return Title2_1.title2ClassNames;
|
98
|
+
}
|
99
|
+
});
|
100
|
+
|
101
|
+
var Title3_1 = /*#__PURE__*/require("./Title3");
|
102
|
+
|
103
|
+
Object.defineProperty(exports, "Title3", {
|
104
|
+
enumerable: true,
|
105
|
+
get: function () {
|
106
|
+
return Title3_1.Title3;
|
107
|
+
}
|
108
|
+
});
|
109
|
+
Object.defineProperty(exports, "title3ClassNames", {
|
110
|
+
enumerable: true,
|
111
|
+
get: function () {
|
112
|
+
return Title3_1.title3ClassNames;
|
113
|
+
}
|
114
|
+
});
|
115
|
+
|
116
|
+
var Subtitle1_1 = /*#__PURE__*/require("./Subtitle1");
|
117
|
+
|
118
|
+
Object.defineProperty(exports, "Subtitle1", {
|
119
|
+
enumerable: true,
|
120
|
+
get: function () {
|
121
|
+
return Subtitle1_1.Subtitle1;
|
122
|
+
}
|
123
|
+
});
|
124
|
+
Object.defineProperty(exports, "subtitle1ClassNames", {
|
125
|
+
enumerable: true,
|
126
|
+
get: function () {
|
127
|
+
return Subtitle1_1.subtitle1ClassNames;
|
128
|
+
}
|
129
|
+
});
|
12
130
|
|
13
|
-
|
131
|
+
var Subtitle2_1 = /*#__PURE__*/require("./Subtitle2");
|
14
132
|
|
15
|
-
|
133
|
+
Object.defineProperty(exports, "Subtitle2", {
|
134
|
+
enumerable: true,
|
135
|
+
get: function () {
|
136
|
+
return Subtitle2_1.Subtitle2;
|
137
|
+
}
|
138
|
+
});
|
139
|
+
Object.defineProperty(exports, "subtitle2ClassNames", {
|
140
|
+
enumerable: true,
|
141
|
+
get: function () {
|
142
|
+
return Subtitle2_1.subtitle2ClassNames;
|
143
|
+
}
|
144
|
+
});
|
16
145
|
|
17
|
-
|
146
|
+
var Body1_1 = /*#__PURE__*/require("./Body1");
|
18
147
|
|
19
|
-
|
148
|
+
Object.defineProperty(exports, "Body1", {
|
149
|
+
enumerable: true,
|
150
|
+
get: function () {
|
151
|
+
return Body1_1.Body1;
|
152
|
+
}
|
153
|
+
});
|
154
|
+
Object.defineProperty(exports, "body1ClassNames", {
|
155
|
+
enumerable: true,
|
156
|
+
get: function () {
|
157
|
+
return Body1_1.body1ClassNames;
|
158
|
+
}
|
159
|
+
});
|
20
160
|
|
21
|
-
|
161
|
+
var Caption1_1 = /*#__PURE__*/require("./Caption1");
|
22
162
|
|
23
|
-
|
163
|
+
Object.defineProperty(exports, "Caption1", {
|
164
|
+
enumerable: true,
|
165
|
+
get: function () {
|
166
|
+
return Caption1_1.Caption1;
|
167
|
+
}
|
168
|
+
});
|
169
|
+
Object.defineProperty(exports, "caption1ClassNames", {
|
170
|
+
enumerable: true,
|
171
|
+
get: function () {
|
172
|
+
return Caption1_1.caption1ClassNames;
|
173
|
+
}
|
174
|
+
});
|
24
175
|
|
25
|
-
|
176
|
+
var Caption2_1 = /*#__PURE__*/require("./Caption2");
|
26
177
|
|
27
|
-
|
178
|
+
Object.defineProperty(exports, "Caption2", {
|
179
|
+
enumerable: true,
|
180
|
+
get: function () {
|
181
|
+
return Caption2_1.Caption2;
|
182
|
+
}
|
183
|
+
});
|
184
|
+
Object.defineProperty(exports, "caption2ClassNames", {
|
185
|
+
enumerable: true,
|
186
|
+
get: function () {
|
187
|
+
return Caption2_1.caption2ClassNames;
|
188
|
+
}
|
189
|
+
});
|
28
190
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,MAAA,gBAAA,OAAA,CAAA,QAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,MAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,MAAA,CAAA,IAAA;AAAI;AAAJ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A,CAAA,eAAA;AAAe;AAAf,CAAA;;AAChB,IAAA,UAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,UAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,UAAA,CAAA,QAAA;AAAQ;AAAR,CAAA;AAAU,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,UAAA,CAAA,kBAAA;AAAkB;AAAlB,CAAA;;AACnB,IAAA,UAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,UAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,UAAA,CAAA,QAAA;AAAQ;AAAR,CAAA;AAAU,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,UAAA,CAAA,kBAAA;AAAkB;AAAlB,CAAA","sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState } from './Text';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption2, caption2ClassNames } from './Caption2';\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-text",
|
3
|
-
"version": "9.0.0-
|
3
|
+
"version": "9.0.0-rc.11",
|
4
4
|
"description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
7
|
-
"typings": "
|
7
|
+
"typings": "dist/index.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
@@ -19,32 +19,22 @@
|
|
19
19
|
"just": "just-scripts",
|
20
20
|
"lint": "just-scripts lint",
|
21
21
|
"start": "yarn storybook",
|
22
|
-
"test": "jest",
|
22
|
+
"test": "jest --passWithNoTests",
|
23
23
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
24
|
-
"build:local": "tsc -p . --module esnext --emitDeclarationOnly && node
|
25
|
-
"storybook": "
|
24
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-text/src && yarn docs",
|
25
|
+
"storybook": "node ../../../scripts/storybook/runner",
|
26
|
+
"type-check": "tsc -b tsconfig.json"
|
26
27
|
},
|
27
28
|
"devDependencies": {
|
28
|
-
"@fluentui/babel-make-styles": "9.0.0-nightly.f81b28ceb3.1",
|
29
29
|
"@fluentui/eslint-plugin": "*",
|
30
|
-
"@fluentui/jest-serializer-make-styles": "9.0.0-nightly.f81b28ceb3.1",
|
31
30
|
"@fluentui/react-conformance": "*",
|
32
|
-
"@fluentui/react-conformance-
|
33
|
-
"@fluentui/scripts": "^1.0.0"
|
34
|
-
"@types/enzyme": "3.10.3",
|
35
|
-
"@types/enzyme-adapter-react-16": "1.0.3",
|
36
|
-
"@types/react": "16.9.42",
|
37
|
-
"@types/react-dom": "16.9.10",
|
38
|
-
"@types/react-test-renderer": "^16.0.0",
|
39
|
-
"enzyme": "~3.10.0",
|
40
|
-
"enzyme-adapter-react-16": "^1.15.0",
|
41
|
-
"react": "16.8.6",
|
42
|
-
"react-dom": "16.8.6",
|
43
|
-
"react-test-renderer": "^16.3.0"
|
31
|
+
"@fluentui/react-conformance-griffel": "9.0.0-beta.8",
|
32
|
+
"@fluentui/scripts": "^1.0.0"
|
44
33
|
},
|
45
34
|
"dependencies": {
|
46
|
-
"@
|
47
|
-
"@fluentui/react-
|
35
|
+
"@griffel/react": "1.1.0",
|
36
|
+
"@fluentui/react-theme": "9.0.0-rc.9",
|
37
|
+
"@fluentui/react-utilities": "9.0.0-rc.10",
|
48
38
|
"tslib": "^2.1.0"
|
49
39
|
},
|
50
40
|
"peerDependencies": {
|
@@ -54,11 +44,17 @@
|
|
54
44
|
"react-dom": ">=16.8.0 <18.0.0"
|
55
45
|
},
|
56
46
|
"beachball": {
|
57
|
-
"tag": "beta",
|
58
47
|
"disallowedChangeTypes": [
|
59
48
|
"major",
|
60
49
|
"minor",
|
61
50
|
"patch"
|
62
51
|
]
|
52
|
+
},
|
53
|
+
"exports": {
|
54
|
+
".": {
|
55
|
+
"types": "./lib/index.d.ts",
|
56
|
+
"import": "./lib/index.js",
|
57
|
+
"require": "./lib-commonjs/index.js"
|
58
|
+
}
|
63
59
|
}
|
64
60
|
}
|
package/dist/react-text.d.ts
DELETED
@@ -1,163 +0,0 @@
|
|
1
|
-
import type { ComponentProps } from '@fluentui/react-utilities';
|
2
|
-
import type { ComponentState } from '@fluentui/react-utilities';
|
3
|
-
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
4
|
-
import type { FunctionComponent } from 'react';
|
5
|
-
import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
|
6
|
-
import * as React_2 from 'react';
|
7
|
-
|
8
|
-
/**
|
9
|
-
* Text wrapper component for the Body typography variant
|
10
|
-
*/
|
11
|
-
declare const Body_2: FunctionComponent<TextWrapperProps>;
|
12
|
-
export { Body_2 as Body }
|
13
|
-
|
14
|
-
/**
|
15
|
-
* Text wrapper component for the Caption typography variant
|
16
|
-
*/
|
17
|
-
export declare const Caption: FunctionComponent<TextWrapperProps>;
|
18
|
-
|
19
|
-
/**
|
20
|
-
* Text wrapper component for the Display typography variant
|
21
|
-
*/
|
22
|
-
export declare const Display: FunctionComponent<TextWrapperProps>;
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Text wrapper component for the Headline typography variant
|
26
|
-
*/
|
27
|
-
export declare const Headline: FunctionComponent<TextWrapperProps>;
|
28
|
-
|
29
|
-
/**
|
30
|
-
* Text wrapper component for the Large Title typography variant
|
31
|
-
*/
|
32
|
-
export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Render the final JSX of Text
|
36
|
-
*/
|
37
|
-
export declare const renderText: (state: TextState) => JSX.Element;
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Text wrapper component for the Subheadline typography variant
|
41
|
-
*/
|
42
|
-
export declare const Subheadline: FunctionComponent<TextWrapperProps>;
|
43
|
-
|
44
|
-
/**
|
45
|
-
* Typography and styling abstraction component used to ensure consistency of text.
|
46
|
-
*/
|
47
|
-
declare const Text_2: ForwardRefComponent<TextProps>;
|
48
|
-
export { Text_2 as Text }
|
49
|
-
|
50
|
-
export declare type TextCommons = {
|
51
|
-
/**
|
52
|
-
* Wraps the text content on white spaces.
|
53
|
-
*
|
54
|
-
* @defaultValue true
|
55
|
-
*/
|
56
|
-
wrap: boolean;
|
57
|
-
/**
|
58
|
-
* Truncate overflowing text for block displays.
|
59
|
-
*
|
60
|
-
* @defaultValue false
|
61
|
-
*/
|
62
|
-
truncate: boolean;
|
63
|
-
/**
|
64
|
-
* Applies a block display for the content.
|
65
|
-
*
|
66
|
-
* @defaultValue false
|
67
|
-
*/
|
68
|
-
block: boolean;
|
69
|
-
/**
|
70
|
-
* Applies the italic font style to the content.
|
71
|
-
*
|
72
|
-
* @defaultValue false
|
73
|
-
*/
|
74
|
-
italic: boolean;
|
75
|
-
/**
|
76
|
-
* Applies the underline text decoration to the content.
|
77
|
-
*
|
78
|
-
* @defaultValue false
|
79
|
-
*/
|
80
|
-
underline: boolean;
|
81
|
-
/**
|
82
|
-
* Applies the strikethrough text decoration to the content.
|
83
|
-
*
|
84
|
-
* @defaultValue false
|
85
|
-
*/
|
86
|
-
strikethrough: boolean;
|
87
|
-
/**
|
88
|
-
* Applies font size and line height based on the theme tokens.
|
89
|
-
*
|
90
|
-
* @defaultValue 300
|
91
|
-
*/
|
92
|
-
size: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
93
|
-
/**
|
94
|
-
* Applies the font family to the content.
|
95
|
-
*
|
96
|
-
* @defaultValue base
|
97
|
-
*/
|
98
|
-
font: 'base' | 'monospace' | 'numeric';
|
99
|
-
/**
|
100
|
-
* Applies font weight to the content.
|
101
|
-
*
|
102
|
-
* @defaultValue regular
|
103
|
-
*/
|
104
|
-
weight: 'regular' | 'medium' | 'semibold';
|
105
|
-
/**
|
106
|
-
* Aligns text based on the parent container.
|
107
|
-
*
|
108
|
-
* @defaultValue start
|
109
|
-
*/
|
110
|
-
align: 'start' | 'center' | 'end' | 'justify';
|
111
|
-
};
|
112
|
-
|
113
|
-
/**
|
114
|
-
* Text Props
|
115
|
-
*/
|
116
|
-
export declare type TextProps = ComponentProps<TextSlots> & Partial<TextCommons>;
|
117
|
-
|
118
|
-
/**
|
119
|
-
* Text slots
|
120
|
-
*/
|
121
|
-
export declare type TextSlots = {
|
122
|
-
root: IntrinsicShorthandProps<'span', 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'pre'>;
|
123
|
-
};
|
124
|
-
|
125
|
-
/**
|
126
|
-
* State used in rendering Text
|
127
|
-
*/
|
128
|
-
export declare type TextState = ComponentState<TextSlots> & TextCommons;
|
129
|
-
|
130
|
-
declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
|
131
|
-
|
132
|
-
/**
|
133
|
-
* Text wrapper component for the Title 1 typography variant
|
134
|
-
*/
|
135
|
-
export declare const Title1: FunctionComponent<TextWrapperProps>;
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Text wrapper component for the Title 2 typography variant
|
139
|
-
*/
|
140
|
-
export declare const Title2: FunctionComponent<TextWrapperProps>;
|
141
|
-
|
142
|
-
/**
|
143
|
-
* Text wrapper component for the Title 3 typography variant
|
144
|
-
*/
|
145
|
-
export declare const Title3: FunctionComponent<TextWrapperProps>;
|
146
|
-
|
147
|
-
/**
|
148
|
-
* Create the state required to render Text.
|
149
|
-
*
|
150
|
-
* The returned state can be modified with hooks such as useTextStyles,
|
151
|
-
* before being passed to renderText.
|
152
|
-
*
|
153
|
-
* @param props - props from this instance of Text
|
154
|
-
* @param ref - reference to root HTMLElement of Text
|
155
|
-
*/
|
156
|
-
export declare const useText: (props: TextProps, ref: React_2.Ref<HTMLElement>) => TextState;
|
157
|
-
|
158
|
-
/**
|
159
|
-
* Apply styling to the Text slots based on the state
|
160
|
-
*/
|
161
|
-
export declare const useTextStyles: (state: TextState) => TextState;
|
162
|
-
|
163
|
-
export { }
|
package/lib/Body.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Body/index';
|
package/lib/Body.js
DELETED
package/lib/Body.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Body.js","sourceRoot":"","sources":["../src/Body.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
package/lib/Caption.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Caption/index';
|
package/lib/Caption.js
DELETED
package/lib/Caption.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Caption.js","sourceRoot":"","sources":["../src/Caption.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
package/lib/Display.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Display/index';
|
package/lib/Headline.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Headline/index';
|
package/lib/Headline.js
DELETED
package/lib/Headline.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../src/Headline.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
package/lib/LargeTitle.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/LargeTitle/index';
|
package/lib/Subheadline.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Subheadline/index';
|
package/lib/Subheadline.js
DELETED
package/lib/Subheadline.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Subheadline.js","sourceRoot":"","sources":["../src/Subheadline.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/lib/Text.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Text/index';
|
package/lib/Title1.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Title1/index';
|
package/lib/Title2.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Title2/index';
|
package/lib/Title3.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Title3/index';
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
|
2
|
-
import makeStylesTests from '@fluentui/react-conformance-make-styles';
|
3
|
-
export function isConformant(testInfo) {
|
4
|
-
var defaultOptions = {
|
5
|
-
asPropHandlesRef: true,
|
6
|
-
componentPath: module.parent.filename.replace('.test', ''),
|
7
|
-
extraTests: makeStylesTests,
|
8
|
-
testOptions: {
|
9
|
-
'make-styles-overrides-win': {
|
10
|
-
callCount: 2
|
11
|
-
}
|
12
|
-
}
|
13
|
-
};
|
14
|
-
baseIsConformant(defaultOptions, testInfo);
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=isConformant.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,MAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,UAAU,EAAE,eAH+C;AAI3D,IAAA,WAAW,EAAE;AACX,mCAA6B;AAC3B,QAAA,SAAS,EAAE;AADgB;AADlB;AAJ8C,GAA7D;AAaA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { __styles } from '@fluentui/react-make-styles';
|
2
|
-
import { typographyStyles } from '../../typographyStyles/index';
|
3
|
-
import { createWrapper } from '../wrapper';
|
4
|
-
/**
|
5
|
-
* Styles for the root slot
|
6
|
-
*/
|
7
|
-
|
8
|
-
var useStyles = /*#__PURE__*/__styles({
|
9
|
-
"root": {
|
10
|
-
"Bahqtrf": "fk6fouc",
|
11
|
-
"Be2twd7": "fkhj508",
|
12
|
-
"Bg96gwp": "f1i3iumi",
|
13
|
-
"Bhrd7zp": "figsok6"
|
14
|
-
}
|
15
|
-
}, {
|
16
|
-
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}"]
|
17
|
-
});
|
18
|
-
/**
|
19
|
-
* Text wrapper component for the Body typography variant
|
20
|
-
*/
|
21
|
-
|
22
|
-
|
23
|
-
export var Body = /*#__PURE__*/createWrapper({
|
24
|
-
useStyles: useStyles,
|
25
|
-
displayName: 'Body'
|
26
|
-
});
|
27
|
-
//# sourceMappingURL=Body.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Body/Body.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,IAAM,IAAI,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAA/D","sourceRoot":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Body';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Body/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { __styles } from '@fluentui/react-make-styles';
|
2
|
-
import { typographyStyles } from '../../typographyStyles/index';
|
3
|
-
import { createWrapper } from '../wrapper';
|
4
|
-
/**
|
5
|
-
* Styles for the root slot
|
6
|
-
*/
|
7
|
-
|
8
|
-
var useStyles = /*#__PURE__*/__styles({
|
9
|
-
"root": {
|
10
|
-
"Bahqtrf": "fk6fouc",
|
11
|
-
"Be2twd7": "fy9rknc",
|
12
|
-
"Bg96gwp": "fwrc4pm",
|
13
|
-
"Bhrd7zp": "figsok6"
|
14
|
-
}
|
15
|
-
}, {
|
16
|
-
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}"]
|
17
|
-
});
|
18
|
-
/**
|
19
|
-
* Text wrapper component for the Caption typography variant
|
20
|
-
*/
|
21
|
-
|
22
|
-
|
23
|
-
export var Caption = /*#__PURE__*/createWrapper({
|
24
|
-
useStyles: useStyles,
|
25
|
-
displayName: 'Caption'
|
26
|
-
});
|
27
|
-
//# sourceMappingURL=Caption.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Caption/Caption.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,IAAM,OAAO,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAlE","sourceRoot":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Caption';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Caption/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Display';
|