@fluentui/react-text 9.4.11 → 9.4.13
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 +26 -2
- package/lib/components/Text/Text.types.js +3 -1
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js +3 -1
- 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,36 @@
|
|
1
1
|
# Change Log - @fluentui/react-text
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Fri, 15 Mar 2024 21:37:57 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.4.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.13)
|
8
|
+
|
9
|
+
Fri, 15 Mar 2024 21:37:57 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.12..@fluentui/react-text_v9.4.13)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Bump @fluentui/react-shared-contexts to v9.15.1 ([PR #30740](https://github.com/microsoft/fluentui/pull/30740) by beachball)
|
15
|
+
- Bump @fluentui/react-theme to v9.1.18 ([PR #30740](https://github.com/microsoft/fluentui/pull/30740) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v9.18.4 ([PR #30740](https://github.com/microsoft/fluentui/pull/30740) by beachball)
|
17
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.33 ([PR #30740](https://github.com/microsoft/fluentui/pull/30740) by beachball)
|
18
|
+
|
19
|
+
## [9.4.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.12)
|
20
|
+
|
21
|
+
Thu, 07 Mar 2024 19:33:27 GMT
|
22
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.11..@fluentui/react-text_v9.4.12)
|
23
|
+
|
24
|
+
### Patches
|
25
|
+
|
26
|
+
- Bump @fluentui/react-shared-contexts to v9.15.0 ([PR #30687](https://github.com/microsoft/fluentui/pull/30687) by beachball)
|
27
|
+
- Bump @fluentui/react-theme to v9.1.17 ([PR #30687](https://github.com/microsoft/fluentui/pull/30687) by beachball)
|
28
|
+
- Bump @fluentui/react-utilities to v9.18.3 ([PR #30687](https://github.com/microsoft/fluentui/pull/30687) by beachball)
|
29
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.32 ([PR #30687](https://github.com/microsoft/fluentui/pull/30687) by beachball)
|
30
|
+
|
7
31
|
## [9.4.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.11)
|
8
32
|
|
9
|
-
Wed, 28 Feb 2024 02:
|
33
|
+
Wed, 28 Feb 2024 02:34:19 GMT
|
10
34
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.10..@fluentui/react-text_v9.4.11)
|
11
35
|
|
12
36
|
### 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":"AA0FA;;CAEC,GACD,WAMI"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
1
|
+
{"version":3,"sources":["Text.types.js"],"sourcesContent":["/**\n * State used in rendering Text\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
|
package/lib-commonjs/index.js
CHANGED
@@ -9,122 +9,122 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
-
|
13
|
-
return
|
12
|
+
Body1: function() {
|
13
|
+
return _Body1.Body1;
|
14
14
|
},
|
15
|
-
|
16
|
-
return
|
15
|
+
Body1Strong: function() {
|
16
|
+
return _Body1Strong.Body1Strong;
|
17
17
|
},
|
18
|
-
|
19
|
-
return
|
18
|
+
Body1Stronger: function() {
|
19
|
+
return _Body1Stronger.Body1Stronger;
|
20
20
|
},
|
21
|
-
|
22
|
-
return
|
21
|
+
Body2: function() {
|
22
|
+
return _Body2.Body2;
|
23
23
|
},
|
24
|
-
|
25
|
-
return
|
24
|
+
Caption1: function() {
|
25
|
+
return _Caption1.Caption1;
|
26
26
|
},
|
27
|
-
|
28
|
-
return
|
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
|
+
Text: function() {
|
55
|
+
return _Text.Text;
|
56
|
+
},
|
57
|
+
Title1: function() {
|
58
|
+
return _Title1.Title1;
|
59
|
+
},
|
60
|
+
Title2: function() {
|
61
|
+
return _Title2.Title2;
|
62
|
+
},
|
63
|
+
Title3: function() {
|
64
|
+
return _Title3.Title3;
|
29
65
|
},
|
30
66
|
body1ClassNames: function() {
|
31
67
|
return _Body1.body1ClassNames;
|
32
68
|
},
|
33
|
-
Body1Strong: function() {
|
34
|
-
return _Body1Strong.Body1Strong;
|
35
|
-
},
|
36
69
|
body1StrongClassNames: function() {
|
37
70
|
return _Body1Strong.body1StrongClassNames;
|
38
71
|
},
|
39
|
-
Body1Stronger: function() {
|
40
|
-
return _Body1Stronger.Body1Stronger;
|
41
|
-
},
|
42
72
|
body1StrongerClassNames: function() {
|
43
73
|
return _Body1Stronger.body1StrongerClassNames;
|
44
74
|
},
|
45
|
-
Body2: function() {
|
46
|
-
return _Body2.Body2;
|
47
|
-
},
|
48
75
|
body2ClassNames: function() {
|
49
76
|
return _Body2.body2ClassNames;
|
50
77
|
},
|
51
|
-
Caption1: function() {
|
52
|
-
return _Caption1.Caption1;
|
53
|
-
},
|
54
78
|
caption1ClassNames: function() {
|
55
79
|
return _Caption1.caption1ClassNames;
|
56
80
|
},
|
57
|
-
Caption1Strong: function() {
|
58
|
-
return _Caption1Strong.Caption1Strong;
|
59
|
-
},
|
60
81
|
caption1StrongClassNames: function() {
|
61
82
|
return _Caption1Strong.caption1StrongClassNames;
|
62
83
|
},
|
63
|
-
Caption1Stronger: function() {
|
64
|
-
return _Caption1Stronger.Caption1Stronger;
|
65
|
-
},
|
66
84
|
caption1StrongerClassNames: function() {
|
67
85
|
return _Caption1Stronger.caption1StrongerClassNames;
|
68
86
|
},
|
69
|
-
Caption2: function() {
|
70
|
-
return _Caption2.Caption2;
|
71
|
-
},
|
72
87
|
caption2ClassNames: function() {
|
73
88
|
return _Caption2.caption2ClassNames;
|
74
89
|
},
|
75
|
-
Caption2Strong: function() {
|
76
|
-
return _Caption2Strong.Caption2Strong;
|
77
|
-
},
|
78
90
|
caption2StrongClassNames: function() {
|
79
91
|
return _Caption2Strong.caption2StrongClassNames;
|
80
92
|
},
|
81
|
-
Display: function() {
|
82
|
-
return _Display.Display;
|
83
|
-
},
|
84
93
|
displayClassNames: function() {
|
85
94
|
return _Display.displayClassNames;
|
86
95
|
},
|
87
|
-
LargeTitle: function() {
|
88
|
-
return _LargeTitle.LargeTitle;
|
89
|
-
},
|
90
96
|
largeTitleClassNames: function() {
|
91
97
|
return _LargeTitle.largeTitleClassNames;
|
92
98
|
},
|
93
|
-
|
94
|
-
return
|
99
|
+
renderText_unstable: function() {
|
100
|
+
return _Text.renderText_unstable;
|
95
101
|
},
|
96
102
|
subtitle1ClassNames: function() {
|
97
103
|
return _Subtitle1.subtitle1ClassNames;
|
98
104
|
},
|
99
|
-
Subtitle2: function() {
|
100
|
-
return _Subtitle2.Subtitle2;
|
101
|
-
},
|
102
105
|
subtitle2ClassNames: function() {
|
103
106
|
return _Subtitle2.subtitle2ClassNames;
|
104
107
|
},
|
105
|
-
Subtitle2Stronger: function() {
|
106
|
-
return _Subtitle2Stronger.Subtitle2Stronger;
|
107
|
-
},
|
108
108
|
subtitle2StrongerClassNames: function() {
|
109
109
|
return _Subtitle2Stronger.subtitle2StrongerClassNames;
|
110
110
|
},
|
111
|
-
|
112
|
-
return
|
111
|
+
textClassNames: function() {
|
112
|
+
return _Text.textClassNames;
|
113
113
|
},
|
114
114
|
title1ClassNames: function() {
|
115
115
|
return _Title1.title1ClassNames;
|
116
116
|
},
|
117
|
-
Title2: function() {
|
118
|
-
return _Title2.Title2;
|
119
|
-
},
|
120
117
|
title2ClassNames: function() {
|
121
118
|
return _Title2.title2ClassNames;
|
122
119
|
},
|
123
|
-
Title3: function() {
|
124
|
-
return _Title3.Title3;
|
125
|
-
},
|
126
120
|
title3ClassNames: function() {
|
127
121
|
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":["Body1","Body1Strong","Body1Stronger","Body2","Caption1","Caption1Strong","Caption1Stronger","Caption2","Caption2Strong","Display","LargeTitle","Subtitle1","Subtitle2","Subtitle2Stronger","Text","Title1","Title2","Title3","body1ClassNames","body1StrongClassNames","body1StrongerClassNames","body2ClassNames","caption1ClassNames","caption1StrongClassNames","caption1StrongerClassNames","caption2ClassNames","caption2StrongClassNames","displayClassNames","largeTitleClassNames","renderText_unstable","subtitle1ClassNames","subtitle2ClassNames","subtitle2StrongerClassNames","textClassNames","title1ClassNames","title2ClassNames","title3ClassNames","useTextStyles_unstable","useText_unstable"],"mappings":";;;;;;;;;;;IACSA,KAAK;eAALA,YAAK;;IACLC,WAAW;eAAXA,wBAAW;;IACXC,aAAa;eAAbA,4BAAa;;IACbC,KAAK;eAALA,YAAK;;IACLC,QAAQ;eAARA,kBAAQ;;IACRC,cAAc;eAAdA,8BAAc;;IACdC,gBAAgB;eAAhBA,kCAAgB;;IAChBC,QAAQ;eAARA,kBAAQ;;IACRC,cAAc;eAAdA,8BAAc;;IACdC,OAAO;eAAPA,gBAAO;;IACPC,UAAU;eAAVA,sBAAU;;IACVC,SAAS;eAATA,oBAAS;;IACTC,SAAS;eAATA,oBAAS;;IACTC,iBAAiB;eAAjBA,oCAAiB;;IAdjBC,IAAI;eAAJA,UAAI;;IAeJC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IAhBCC,eAAe;eAAfA,sBAAe;;IACTC,qBAAqB;eAArBA,kCAAqB;;IACnBC,uBAAuB;eAAvBA,sCAAuB;;IAC/BC,eAAe;eAAfA,sBAAe;;IACZC,kBAAkB;eAAlBA,4BAAkB;;IACZC,wBAAwB;eAAxBA,wCAAwB;;IACtBC,0BAA0B;eAA1BA,4CAA0B;;IAClCC,kBAAkB;eAAlBA,4BAAkB;;IACZC,wBAAwB;eAAxBA,wCAAwB;;IAC/BC,iBAAiB;eAAjBA,0BAAiB;;IACdC,oBAAoB;eAApBA,gCAAoB;;IAX1BC,mBAAmB;eAAnBA,yBAAmB;;IAYdC,mBAAmB;eAAnBA,8BAAmB;;IACnBC,mBAAmB;eAAnBA,8BAAmB;;IACXC,2BAA2B;eAA3BA,8CAA2B;;IAdnBC,cAAc;eAAdA,oBAAc;;IAejCC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,gBAAgB;eAAhBA,wBAAgB;;IAChBC,gBAAgB;eAAhBA,wBAAgB;;IAjBmBC,sBAAsB;eAAtBA,4BAAsB;;IAAEC,gBAAgB;eAAhBA,sBAAgB;;;sBAAQ;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.13",
|
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.
|
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.1",
|
38
|
+
"@fluentui/react-theme": "^9.1.18",
|
39
|
+
"@fluentui/react-utilities": "^9.18.4",
|
40
|
+
"@fluentui/react-jsx-runtime": "^9.0.33",
|
41
41
|
"@griffel/react": "^1.5.14",
|
42
42
|
"@swc/helpers": "^0.5.1"
|
43
43
|
},
|