@fluentui/react-text 0.0.0-nightly-20230222-0421.1 → 0.0.0-nightly-20230223-2115.1
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/.swcrc +33 -0
- package/CHANGELOG.json +9 -9
- package/CHANGELOG.md +7 -7
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js.map +1 -1
- package/lib/Body1Stronger.js.map +1 -1
- package/lib/Body2.js.map +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js.map +1 -1
- package/lib/Caption1Stronger.js.map +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js.map +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js.map +1 -1
- 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/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 +2 -3
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js +12 -12
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js +5 -4
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js +5 -4
- package/lib-commonjs/Body1Strong.js.map +1 -1
- package/lib-commonjs/Body1Stronger.js +5 -4
- package/lib-commonjs/Body1Stronger.js.map +1 -1
- package/lib-commonjs/Body2.js +5 -4
- package/lib-commonjs/Body2.js.map +1 -1
- package/lib-commonjs/Caption1.js +5 -4
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js +5 -4
- package/lib-commonjs/Caption1Strong.js.map +1 -1
- package/lib-commonjs/Caption1Stronger.js +5 -4
- package/lib-commonjs/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/Caption2.js +5 -4
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js +5 -4
- package/lib-commonjs/Caption2Strong.js.map +1 -1
- package/lib-commonjs/Display.js +5 -4
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +5 -4
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +5 -4
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js +5 -4
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js +5 -4
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/Text.js +5 -4
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +5 -4
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +5 -4
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +5 -4
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js +16 -16
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js +3 -2
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js +9 -8
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +15 -18
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js +34 -51
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.js +163 -114
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/Body1.js +34 -25
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js +5 -4
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +34 -25
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js +5 -4
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +34 -25
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js +5 -4
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/Body2.js +34 -25
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js +5 -4
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js +34 -25
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js +5 -4
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +34 -25
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js +5 -4
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +34 -25
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js +5 -4
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js +34 -25
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js +5 -4
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +34 -25
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js +5 -4
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/Display.js +34 -25
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js +5 -4
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +34 -25
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js +5 -4
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +34 -25
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js +5 -4
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +34 -25
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js +5 -4
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +34 -25
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +5 -4
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/Title1.js +34 -25
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js +5 -4
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/Title2.js +34 -25
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js +5 -4
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/Title3.js +34 -25
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js +5 -4
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/createPreset.js +21 -22
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js +69 -256
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -6
package/.swcrc
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json.schemastore.org/swcrc",
|
3
|
+
"env": {
|
4
|
+
"targets": {
|
5
|
+
"chrome": "84",
|
6
|
+
"edge": "84",
|
7
|
+
"firefox": "75",
|
8
|
+
"opera": "73",
|
9
|
+
"safari": "14.1"
|
10
|
+
}
|
11
|
+
},
|
12
|
+
"exclude": [
|
13
|
+
"/testing",
|
14
|
+
"/**/*.cy.ts",
|
15
|
+
"/**/*.cy.tsx",
|
16
|
+
"/**/*.spec.ts",
|
17
|
+
"/**/*.spec.tsx",
|
18
|
+
"/**/*.test.ts",
|
19
|
+
"/**/*.test.tsx"
|
20
|
+
],
|
21
|
+
"jsc": {
|
22
|
+
"parser": {
|
23
|
+
"syntax": "typescript",
|
24
|
+
"tsx": true,
|
25
|
+
"decorators": false,
|
26
|
+
"dynamicImport": false
|
27
|
+
},
|
28
|
+
"target": "es2019",
|
29
|
+
"externalHelpers": true
|
30
|
+
},
|
31
|
+
"minify": false,
|
32
|
+
"sourceMaps": true
|
33
|
+
}
|
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-text",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-text_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Thu, 23 Feb 2023 21:23:20 GMT",
|
6
|
+
"tag": "@fluentui/react-text_v0.0.0-nightly-20230223-2115.1",
|
7
|
+
"version": "0.0.0-nightly-20230223-2115.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,20 +16,20 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-text",
|
19
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230223-2115.1",
|
20
|
+
"commit": "a400eb0e4c7e02093ab7fb103c74a8dcca00f17b"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"author": "beachball",
|
24
24
|
"package": "@fluentui/react-text",
|
25
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
26
|
-
"commit": "
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230223-2115.1",
|
26
|
+
"commit": "a400eb0e4c7e02093ab7fb103c74a8dcca00f17b"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"author": "beachball",
|
30
30
|
"package": "@fluentui/react-text",
|
31
|
-
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
32
|
-
"commit": "
|
31
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230223-2115.1",
|
32
|
+
"commit": "a400eb0e4c7e02093ab7fb103c74a8dcca00f17b"
|
33
33
|
}
|
34
34
|
]
|
35
35
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
# Change Log - @fluentui/react-text
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 23 Feb 2023 21:23:20 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20230223-2115.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v0.0.0-nightly-20230223-2115.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.2.3..@fluentui/react-text_v0.0.0-nightly-
|
9
|
+
Thu, 23 Feb 2023 21:23:20 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.2.3..@fluentui/react-text_v0.0.0-nightly-20230223-2115.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230223-2115.1 ([commit](https://github.com/microsoft/fluentui/commit/a400eb0e4c7e02093ab7fb103c74a8dcca00f17b) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20230223-2115.1 ([commit](https://github.com/microsoft/fluentui/commit/a400eb0e4c7e02093ab7fb103c74a8dcca00f17b) by beachball)
|
17
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230223-2115.1 ([commit](https://github.com/microsoft/fluentui/commit/a400eb0e4c7e02093ab7fb103c74a8dcca00f17b) by beachball)
|
18
18
|
|
19
19
|
## [9.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.2.3)
|
20
20
|
|
package/lib/Body1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Body1.ts"],"sourcesContent":["export * from './components/presets/Body1/index';\n"]}
|
package/lib/Body1Strong.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Body1Strong.ts"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"]}
|
package/lib/Body1Stronger.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Body1Stronger.ts"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"]}
|
package/lib/Body2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Body2.ts"],"sourcesContent":["export * from './components/presets/Body2/index';\n"]}
|
package/lib/Caption1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Caption1.ts"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Caption1Strong.ts"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Caption1Stronger.ts"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"]}
|
package/lib/Caption2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Caption2.ts"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Caption2Strong.ts"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"]}
|
package/lib/Display.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Display.ts"],"sourcesContent":["export * from './components/presets/Display/index';\n"]}
|
package/lib/LargeTitle.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/LargeTitle.ts"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"]}
|
package/lib/Subtitle1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Subtitle1.ts"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"]}
|
package/lib/Subtitle2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Subtitle2.ts"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Subtitle2Stronger.ts"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"]}
|
package/lib/Text.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Text.ts"],"sourcesContent":["export * from './components/Text/index';\n"]}
|
package/lib/Title1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Title1.ts"],"sourcesContent":["export * from './components/presets/Title1/index';\n"]}
|
package/lib/Title2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Title2.ts"],"sourcesContent":["export * from './components/presets/Title2/index';\n"]}
|
package/lib/Title3.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../src/Title3.ts"],"sourcesContent":["export * from './components/presets/Title3/index';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AAAA,
|
1
|
+
{"version":3,"mappings":"AAAA,YAAYA,WAAW;AACvB,SAASC,gBAAgB,QAAQ;AACjC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,sBAAsB,QAAQ;AAIvC;;;AAGA,OAAO,MAAMC,oBAAuCJ,MAAMK,UAAU,CAAC,CAACC,OAAOC,QAAQ;EACnF,MAAMC,QAAQP,iBAAiBK,OAAOC;EAEtCJ,uBAAuBK;EAEvB,OAAON,oBAAoBM;EAC3B;AACF;;AAEAJ,KAAKK,WAAW,GAAG","names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","Text","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA","names":[],"sources":["../../../src/components/Text/Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","names":[],"sources":["../../../src/components/Text/index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles';\n"]}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import _extends from "@swc/helpers/src/_extends.mjs";
|
1
2
|
import * as React from 'react';
|
2
3
|
import { getSlots } from '@fluentui/react-utilities';
|
3
4
|
/**
|
@@ -8,8 +9,6 @@ export const renderText_unstable = state => {
|
|
8
9
|
slots,
|
9
10
|
slotProps
|
10
11
|
} = getSlots(state);
|
11
|
-
return /*#__PURE__*/React.createElement(slots.root, {
|
12
|
-
...slotProps.root
|
13
|
-
});
|
12
|
+
return /*#__PURE__*/React.createElement(slots.root, _extends({}, slotProps.root));
|
14
13
|
};
|
15
14
|
//# sourceMappingURL=renderText.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AAAA,
|
1
|
+
{"version":3,"mappings":";AAAA,YAAYA,WAAW;AACvB,SAASC,QAAQ,QAAQ;AAGzB;;;AAGA,OAAO,MAAMC,sBAAuBC,SAAqB;EACvD,MAAM;IAAEC;IAAOC;EAAS,CAAE,GAAGJ,SAAoBE;EAEjD,oBAAOH,oBAACI,MAAME,IAAI,eAAKD,UAAUC,IAAI;AACvC","names":["React","getSlots","renderText_unstable","state","slots","slotProps","root"],"sources":["../../../src/components/Text/renderText.tsx"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n const { slots, slotProps } = getSlots<TextSlots>(state);\n\n return <slots.root {...slotProps.root} />;\n};\n"]}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as React from 'react';
|
1
2
|
import { getNativeElementProps } from '@fluentui/react-utilities';
|
2
3
|
/**
|
3
4
|
* Create the state required to render Text.
|
@@ -9,7 +10,6 @@ import { getNativeElementProps } from '@fluentui/react-utilities';
|
|
9
10
|
* @param ref - reference to root HTMLElement of Text
|
10
11
|
*/
|
11
12
|
export const useText_unstable = (props, ref) => {
|
12
|
-
var _a;
|
13
13
|
const {
|
14
14
|
wrap,
|
15
15
|
truncate,
|
@@ -22,18 +22,18 @@ export const useText_unstable = (props, ref) => {
|
|
22
22
|
weight,
|
23
23
|
align
|
24
24
|
} = props;
|
25
|
-
const as =
|
25
|
+
const as = props.as ?? 'span';
|
26
26
|
const state = {
|
27
|
-
align: align
|
28
|
-
block: block
|
29
|
-
font: font
|
30
|
-
italic: italic
|
31
|
-
size: size
|
32
|
-
strikethrough: strikethrough
|
33
|
-
truncate: truncate
|
34
|
-
underline: underline
|
35
|
-
weight: weight
|
36
|
-
wrap: wrap
|
27
|
+
align: align ?? 'start',
|
28
|
+
block: block ?? false,
|
29
|
+
font: font ?? 'base',
|
30
|
+
italic: italic ?? false,
|
31
|
+
size: size ?? 300,
|
32
|
+
strikethrough: strikethrough ?? false,
|
33
|
+
truncate: truncate ?? false,
|
34
|
+
underline: underline ?? false,
|
35
|
+
weight: weight ?? 'regular',
|
36
|
+
wrap: wrap ?? true,
|
37
37
|
components: {
|
38
38
|
root: 'span'
|
39
39
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"
|
1
|
+
{"version":3,"mappings":"AAAA,YAAYA,WAAW;AACvB,SAASC,qBAAqB,QAAQ;AAGtC;;;;;;;;;AASA,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC,QAA2C;EAC5F,MAAM;IAAEC;IAAMC;IAAUC;IAAOC;IAAQC;IAAWC;IAAeC;IAAMC;IAAMC;IAAQC;EAAK,CAAE,GAAGX;EAC/F,MAAMY,KAAKZ,MAAMY,EAAE,IAAI;EAEvB,MAAMC,QAAmB;IACvBF,OAAOA,SAAS;IAChBP,OAAOA,SAAS,KAAK;IACrBK,MAAMA,QAAQ;IACdJ,QAAQA,UAAU,KAAK;IACvBG,MAAMA,QAAQ;IACdD,eAAeA,iBAAiB,KAAK;IACrCJ,UAAUA,YAAY,KAAK;IAC3BG,WAAWA,aAAa,KAAK;IAC7BI,QAAQA,UAAU;IAClBR,MAAMA,QAAQ,IAAI;IAElBY,YAAY;MAAEC,MAAM;IAAO;IAE3BA,MAAMjB,sBAAsBc,IAAI;MAC9BX;MACA,GAAGD,KAAK;MACRY;IACF;EACF;EAEA,OAAOC;AACT","names":["React","getNativeElementProps","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","as","state","components","root"],"sources":["../../../src/components/Text/useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n const as = props.as ?? 'span';\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: getNativeElementProps(as, {\n ref,\n ...props,\n as,\n }),\n };\n\n return state;\n};\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AAAA,mBAAqBA,YAAY,EAAEC,UAAU,QAAQ
|
1
|
+
{"version":3,"mappings":"AAAA,mBAAqBA,YAAY,EAAEC,UAAU,QAAQ;AACrD,SAASC,MAAM,QAAQ;AAIvB,OAAO,MAAMC,iBAA4C;EACvDC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;IAAAA;IAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;EAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EA8FlB;AAEA;;;AAGA,OAAO,MAAMC,yBAA0BC,SAAgC;EACrE,MAAMC,SAASJ;EAEfG,MAAMJ,IAAI,CAACM,SAAS,GAAGV,aACrBG,eAAeC,IAAI,EACnBK,OAAOL,IAAI,EACXI,MAAMG,IAAI,KAAK,KAAK,IAAIF,OAAOG,MAAM,EACrCJ,MAAMK,QAAQ,IAAIJ,OAAOI,QAAQ,EACjCL,MAAMM,KAAK,IAAIL,OAAOK,KAAK,EAC3BN,MAAMO,MAAM,IAAIN,OAAOM,MAAM,EAC7BP,MAAMQ,SAAS,IAAIP,OAAOO,SAAS,EACnCR,MAAMS,aAAa,IAAIR,OAAOQ,aAAa,EAC3CT,MAAMQ,SAAS,IAAIR,MAAMS,aAAa,IAAIR,OAAOS,sBAAsB,EACvEV,MAAMW,IAAI,KAAK,OAAOV,OAAOW,OAAO,EACpCZ,MAAMW,IAAI,KAAK,OAAOV,OAAOY,OAAO,EACpCb,MAAMW,IAAI,KAAK,OAAOV,OAAOa,OAAO,EACpCd,MAAMW,IAAI,KAAK,OAAOV,OAAOc,OAAO,EACpCf,MAAMW,IAAI,KAAK,OAAOV,OAAOe,OAAO,EACpChB,MAAMW,IAAI,KAAK,OAAOV,OAAOgB,OAAO,EACpCjB,MAAMW,IAAI,KAAK,OAAOV,OAAOiB,OAAO,EACpClB,MAAMW,IAAI,KAAK,OAAOV,OAAOkB,OAAO,EACpCnB,MAAMW,IAAI,KAAK,QAAQV,OAAOmB,QAAQ,EACtCpB,MAAMqB,IAAI,KAAK,eAAepB,OAAOqB,SAAS,EAC9CtB,MAAMqB,IAAI,KAAK,aAAapB,OAAOsB,OAAO,EAC1CvB,MAAMwB,MAAM,KAAK,YAAYvB,OAAOwB,YAAY,EAChDzB,MAAMwB,MAAM,KAAK,cAAcvB,OAAOyB,cAAc,EACpD1B,MAAMwB,MAAM,KAAK,UAAUvB,OAAO0B,UAAU,EAC5C3B,MAAM4B,KAAK,KAAK,YAAY3B,OAAO4B,WAAW,EAC9C7B,MAAM4B,KAAK,KAAK,SAAS3B,OAAO6B,QAAQ,EACxC9B,MAAM4B,KAAK,KAAK,aAAa3B,OAAO8B,YAAY,EAChD/B,MAAMJ,IAAI,CAACM,SAAS;EAGtB,OAAOF;AACT","names":["mergeClasses","shorthands","tokens","textClassNames","root","useStyles","makeStyles","useTextStyles_unstable","state","styles","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","strikethroughUnderline","size","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","font","monospace","numeric","weight","weightMedium","weightSemibold","weightBold","align","alignCenter","alignEnd","alignJustify"],"sources":["../../../src/components/Text/useTextStyles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.overflow('hidden'),\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,kBAA6C;EACxDC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,qBAA4CN,aAAa;EACpEI;EACAG,WAAWL,gBAAgBC,IAAI;EAC/BK,aAAa;AACf","names":["createPreset","typographyStyles","body1ClassNames","root","useStyles","makeStyles","Body1","className","displayName"],"sources":["../../../../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,wBAAmD;EAC9DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,2BAAkDN,aAAa;EAC1EI;EACAG,WAAWL,sBAAsBC,IAAI;EACrCK,aAAa;AACf","names":["createPreset","typographyStyles","body1StrongClassNames","root","useStyles","makeStyles","Body1Strong","className","displayName"],"sources":["../../../../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,0BAAqD;EAChEC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,6BAAoDN,aAAa;EAC5EI;EACAG,WAAWL,wBAAwBC,IAAI;EACvCK,aAAa;AACf","names":["createPreset","typographyStyles","body1StrongerClassNames","root","useStyles","makeStyles","Body1Stronger","className","displayName"],"sources":["../../../../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,kBAA6C;EACxDC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,qBAA4CN,aAAa;EACpEI;EACAG,WAAWL,gBAAgBC,IAAI;EAC/BK,aAAa;AACf","names":["createPreset","typographyStyles","body2ClassNames","root","useStyles","makeStyles","Body2","className","displayName"],"sources":["../../../../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body2,\n});\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,qBAAgD;EAC3DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,wBAA+CN,aAAa;EACvEI;EACAG,WAAWL,mBAAmBC,IAAI;EAClCK,aAAa;AACf","names":["createPreset","typographyStyles","caption1ClassNames","root","useStyles","makeStyles","Caption1","className","displayName"],"sources":["../../../../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,2BAAsD;EACjEC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,8BAAqDN,aAAa;EAC7EI;EACAG,WAAWL,yBAAyBC,IAAI;EACxCK,aAAa;AACf","names":["createPreset","typographyStyles","caption1StrongClassNames","root","useStyles","makeStyles","Caption1Strong","className","displayName"],"sources":["../../../../src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Strong,\n});\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Caption1Strong/index.ts"],"sourcesContent":["export * from './Caption1Strong';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,6BAAwD;EACnEC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,gCAAuDN,aAAa;EAC/EI;EACAG,WAAWL,2BAA2BC,IAAI;EAC1CK,aAAa;AACf","names":["createPreset","typographyStyles","caption1StrongerClassNames","root","useStyles","makeStyles","Caption1Stronger","className","displayName"],"sources":["../../../../src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Stronger,\n});\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Caption1Stronger/index.ts"],"sourcesContent":["export * from './Caption1Stronger';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,qBAAgD;EAC3DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,wBAA+CN,aAAa;EACvEI;EACAG,WAAWL,mBAAmBC,IAAI;EAClCK,aAAa;AACf","names":["createPreset","typographyStyles","caption2ClassNames","root","useStyles","makeStyles","Caption2","className","displayName"],"sources":["../../../../src/components/presets/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2,\n});\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Caption2/index.ts"],"sourcesContent":["export * from './Caption2';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,2BAAsD;EACjEC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,8BAAqDN,aAAa;EAC7EI;EACAG,WAAWL,yBAAyBC,IAAI;EACxCK,aAAa;AACf","names":["createPreset","typographyStyles","caption2StrongClassNames","root","useStyles","makeStyles","Caption2Strong","className","displayName"],"sources":["../../../../src/components/presets/Caption2Strong/Caption2Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2Strong,\n});\n\n/**\n * Text preset component for the Caption2Strong typography variant\n */\nexport const Caption2Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2StrongClassNames.root,\n displayName: 'Caption2Strong',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Caption2Strong/index.ts"],"sourcesContent":["export * from './Caption2Strong';\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"mappings":"AACA,yBAA2B
|
1
|
+
{"version":3,"mappings":"AACA,yBAA2B;AAC3B,SAASA,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,oBAA+C;EAC1DC,MAAM;AACR;AAEA;;;AAGA,MAAMC,yBAAYC;EAAAA;IAAAA;IAAAA;IAAAA;IAAAA;EAAAA;AAAAA;EAAAA;AAAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,uBAA8CN,aAAa;EACtEI;EACAG,WAAWL,kBAAkBC,IAAI;EACjCK,aAAa;AACf","names":["createPreset","typographyStyles","displayClassNames","root","useStyles","makeStyles","Display","className","displayName"],"sources":["../../../../src/components/presets/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const displayClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Display',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.display,\n});\n\n/**\n * Text preset component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc","names":[],"sources":["../../../../src/components/presets/Display/index.ts"],"sourcesContent":["export * from './Display';\n"]}
|