@fluentui/react-text 9.4.13 → 9.4.14
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.md +14 -2
- package/lib/components/Text/Text.types.js +1 -3
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js +1 -3
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/index.js +58 -58
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
# Change Log - @fluentui/react-text
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 18 Mar 2024 19:44:52 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.4.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.14)
|
8
|
+
|
9
|
+
Mon, 18 Mar 2024 19:44:52 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.13..@fluentui/react-text_v9.4.14)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Bump @fluentui/react-shared-contexts to v9.15.2 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
15
|
+
- Bump @fluentui/react-theme to v9.1.19 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v9.18.5 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
17
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
18
|
+
|
7
19
|
## [9.4.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.13)
|
8
20
|
|
9
|
-
Fri, 15 Mar 2024 21:
|
21
|
+
Fri, 15 Mar 2024 21:43:49 GMT
|
10
22
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.12..@fluentui/react-text_v9.4.13)
|
11
23
|
|
12
24
|
### Patches
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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' | 'strong' | 'b' | 'em' | 'i'>;\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"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["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' | 'strong' | 'b' | 'em' | 'i'>;\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"],"names":[],"mappings":"AAAA,WAmGI"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":[
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/lib-commonjs/index.js
CHANGED
@@ -9,122 +9,122 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
-
Body1: function() {
|
13
|
-
return _Body1.Body1;
|
14
|
-
},
|
15
|
-
Body1Strong: function() {
|
16
|
-
return _Body1Strong.Body1Strong;
|
17
|
-
},
|
18
|
-
Body1Stronger: function() {
|
19
|
-
return _Body1Stronger.Body1Stronger;
|
20
|
-
},
|
21
|
-
Body2: function() {
|
22
|
-
return _Body2.Body2;
|
23
|
-
},
|
24
|
-
Caption1: function() {
|
25
|
-
return _Caption1.Caption1;
|
26
|
-
},
|
27
|
-
Caption1Strong: function() {
|
28
|
-
return _Caption1Strong.Caption1Strong;
|
29
|
-
},
|
30
|
-
Caption1Stronger: function() {
|
31
|
-
return _Caption1Stronger.Caption1Stronger;
|
32
|
-
},
|
33
|
-
Caption2: function() {
|
34
|
-
return _Caption2.Caption2;
|
35
|
-
},
|
36
|
-
Caption2Strong: function() {
|
37
|
-
return _Caption2Strong.Caption2Strong;
|
38
|
-
},
|
39
|
-
Display: function() {
|
40
|
-
return _Display.Display;
|
41
|
-
},
|
42
|
-
LargeTitle: function() {
|
43
|
-
return _LargeTitle.LargeTitle;
|
44
|
-
},
|
45
|
-
Subtitle1: function() {
|
46
|
-
return _Subtitle1.Subtitle1;
|
47
|
-
},
|
48
|
-
Subtitle2: function() {
|
49
|
-
return _Subtitle2.Subtitle2;
|
50
|
-
},
|
51
|
-
Subtitle2Stronger: function() {
|
52
|
-
return _Subtitle2Stronger.Subtitle2Stronger;
|
53
|
-
},
|
54
12
|
Text: function() {
|
55
13
|
return _Text.Text;
|
56
14
|
},
|
57
|
-
|
58
|
-
return
|
15
|
+
renderText_unstable: function() {
|
16
|
+
return _Text.renderText_unstable;
|
59
17
|
},
|
60
|
-
|
61
|
-
return
|
18
|
+
textClassNames: function() {
|
19
|
+
return _Text.textClassNames;
|
62
20
|
},
|
63
|
-
|
64
|
-
return
|
21
|
+
useTextStyles_unstable: function() {
|
22
|
+
return _Text.useTextStyles_unstable;
|
23
|
+
},
|
24
|
+
useText_unstable: function() {
|
25
|
+
return _Text.useText_unstable;
|
26
|
+
},
|
27
|
+
Body1: function() {
|
28
|
+
return _Body1.Body1;
|
65
29
|
},
|
66
30
|
body1ClassNames: function() {
|
67
31
|
return _Body1.body1ClassNames;
|
68
32
|
},
|
33
|
+
Body1Strong: function() {
|
34
|
+
return _Body1Strong.Body1Strong;
|
35
|
+
},
|
69
36
|
body1StrongClassNames: function() {
|
70
37
|
return _Body1Strong.body1StrongClassNames;
|
71
38
|
},
|
39
|
+
Body1Stronger: function() {
|
40
|
+
return _Body1Stronger.Body1Stronger;
|
41
|
+
},
|
72
42
|
body1StrongerClassNames: function() {
|
73
43
|
return _Body1Stronger.body1StrongerClassNames;
|
74
44
|
},
|
45
|
+
Body2: function() {
|
46
|
+
return _Body2.Body2;
|
47
|
+
},
|
75
48
|
body2ClassNames: function() {
|
76
49
|
return _Body2.body2ClassNames;
|
77
50
|
},
|
51
|
+
Caption1: function() {
|
52
|
+
return _Caption1.Caption1;
|
53
|
+
},
|
78
54
|
caption1ClassNames: function() {
|
79
55
|
return _Caption1.caption1ClassNames;
|
80
56
|
},
|
57
|
+
Caption1Strong: function() {
|
58
|
+
return _Caption1Strong.Caption1Strong;
|
59
|
+
},
|
81
60
|
caption1StrongClassNames: function() {
|
82
61
|
return _Caption1Strong.caption1StrongClassNames;
|
83
62
|
},
|
63
|
+
Caption1Stronger: function() {
|
64
|
+
return _Caption1Stronger.Caption1Stronger;
|
65
|
+
},
|
84
66
|
caption1StrongerClassNames: function() {
|
85
67
|
return _Caption1Stronger.caption1StrongerClassNames;
|
86
68
|
},
|
69
|
+
Caption2: function() {
|
70
|
+
return _Caption2.Caption2;
|
71
|
+
},
|
87
72
|
caption2ClassNames: function() {
|
88
73
|
return _Caption2.caption2ClassNames;
|
89
74
|
},
|
75
|
+
Caption2Strong: function() {
|
76
|
+
return _Caption2Strong.Caption2Strong;
|
77
|
+
},
|
90
78
|
caption2StrongClassNames: function() {
|
91
79
|
return _Caption2Strong.caption2StrongClassNames;
|
92
80
|
},
|
81
|
+
Display: function() {
|
82
|
+
return _Display.Display;
|
83
|
+
},
|
93
84
|
displayClassNames: function() {
|
94
85
|
return _Display.displayClassNames;
|
95
86
|
},
|
87
|
+
LargeTitle: function() {
|
88
|
+
return _LargeTitle.LargeTitle;
|
89
|
+
},
|
96
90
|
largeTitleClassNames: function() {
|
97
91
|
return _LargeTitle.largeTitleClassNames;
|
98
92
|
},
|
99
|
-
|
100
|
-
return
|
93
|
+
Subtitle1: function() {
|
94
|
+
return _Subtitle1.Subtitle1;
|
101
95
|
},
|
102
96
|
subtitle1ClassNames: function() {
|
103
97
|
return _Subtitle1.subtitle1ClassNames;
|
104
98
|
},
|
99
|
+
Subtitle2: function() {
|
100
|
+
return _Subtitle2.Subtitle2;
|
101
|
+
},
|
105
102
|
subtitle2ClassNames: function() {
|
106
103
|
return _Subtitle2.subtitle2ClassNames;
|
107
104
|
},
|
105
|
+
Subtitle2Stronger: function() {
|
106
|
+
return _Subtitle2Stronger.Subtitle2Stronger;
|
107
|
+
},
|
108
108
|
subtitle2StrongerClassNames: function() {
|
109
109
|
return _Subtitle2Stronger.subtitle2StrongerClassNames;
|
110
110
|
},
|
111
|
-
|
112
|
-
return
|
111
|
+
Title1: function() {
|
112
|
+
return _Title1.Title1;
|
113
113
|
},
|
114
114
|
title1ClassNames: function() {
|
115
115
|
return _Title1.title1ClassNames;
|
116
116
|
},
|
117
|
+
Title2: function() {
|
118
|
+
return _Title2.Title2;
|
119
|
+
},
|
117
120
|
title2ClassNames: function() {
|
118
121
|
return _Title2.title2ClassNames;
|
119
122
|
},
|
123
|
+
Title3: function() {
|
124
|
+
return _Title3.Title3;
|
125
|
+
},
|
120
126
|
title3ClassNames: function() {
|
121
127
|
return _Title3.title3ClassNames;
|
122
|
-
},
|
123
|
-
useTextStyles_unstable: function() {
|
124
|
-
return _Text.useTextStyles_unstable;
|
125
|
-
},
|
126
|
-
useText_unstable: function() {
|
127
|
-
return _Text.useText_unstable;
|
128
128
|
}
|
129
129
|
});
|
130
130
|
const _Text = require("./Text");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"],"names":["
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"mappings":";;;;;;;;;;;IAASA,IAAI;eAAJA,UAAI;;IAAEC,mBAAmB;eAAnBA,yBAAmB;;IAAEC,cAAc;eAAdA,oBAAc;;IAAEC,sBAAsB;eAAtBA,4BAAsB;;IAAEC,gBAAgB;eAAhBA,sBAAgB;;IACnFC,KAAK;eAALA,YAAK;;IAAEC,eAAe;eAAfA,sBAAe;;IACtBC,WAAW;eAAXA,wBAAW;;IAAEC,qBAAqB;eAArBA,kCAAqB;;IAClCC,aAAa;eAAbA,4BAAa;;IAAEC,uBAAuB;eAAvBA,sCAAuB;;IACtCC,KAAK;eAALA,YAAK;;IAAEC,eAAe;eAAfA,sBAAe;;IACtBC,QAAQ;eAARA,kBAAQ;;IAAEC,kBAAkB;eAAlBA,4BAAkB;;IAC5BC,cAAc;eAAdA,8BAAc;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IACxCC,gBAAgB;eAAhBA,kCAAgB;;IAAEC,0BAA0B;eAA1BA,4CAA0B;;IAC5CC,QAAQ;eAARA,kBAAQ;;IAAEC,kBAAkB;eAAlBA,4BAAkB;;IAC5BC,cAAc;eAAdA,8BAAc;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IACxCC,OAAO;eAAPA,gBAAO;;IAAEC,iBAAiB;eAAjBA,0BAAiB;;IAC1BC,UAAU;eAAVA,sBAAU;;IAAEC,oBAAoB;eAApBA,gCAAoB;;IAChCC,SAAS;eAATA,oBAAS;;IAAEC,mBAAmB;eAAnBA,8BAAmB;;IAC9BC,SAAS;eAATA,oBAAS;;IAAEC,mBAAmB;eAAnBA,8BAAmB;;IAC9BC,iBAAiB;eAAjBA,oCAAiB;;IAAEC,2BAA2B;eAA3BA,8CAA2B;;IAC9CC,MAAM;eAANA,cAAM;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IACxBC,MAAM;eAANA,cAAM;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IACxBC,MAAM;eAANA,cAAM;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;;sBAjBmE;uBAC7D;6BACY;+BACI;uBAChB;0BACM;gCACY;kCACI;0BAChB;gCACY;yBACd;4BACM;2BACF;2BACA;mCACgB;wBACtB;wBACA;wBACA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-text",
|
3
|
-
"version": "9.4.
|
3
|
+
"version": "9.4.14",
|
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",
|
@@ -34,10 +34,10 @@
|
|
34
34
|
"@fluentui/scripts-tasks": "*"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@fluentui/react-shared-contexts": "^9.15.
|
38
|
-
"@fluentui/react-theme": "^9.1.
|
39
|
-
"@fluentui/react-utilities": "^9.18.
|
40
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
37
|
+
"@fluentui/react-shared-contexts": "^9.15.2",
|
38
|
+
"@fluentui/react-theme": "^9.1.19",
|
39
|
+
"@fluentui/react-utilities": "^9.18.5",
|
40
|
+
"@fluentui/react-jsx-runtime": "^9.0.34",
|
41
41
|
"@griffel/react": "^1.5.14",
|
42
42
|
"@swc/helpers": "^0.5.1"
|
43
43
|
},
|