@fluentui-react-native/text 0.19.12 → 0.19.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.json +49 -1
- package/CHANGELOG.md +21 -2
- package/README.md +14 -1
- package/package.json +5 -5
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,55 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/text",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 20 Jan 2023 21:47:57 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/text_v0.19.14",
|
|
7
|
+
"version": "0.19.14",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "adgleitm@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/text",
|
|
13
|
+
"commit": "deddda487f4054e6d16f9fca34cedd2b8547da65",
|
|
14
|
+
"comment": "Move Text part of typography docs to Text README"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 20 Jan 2023 18:06:46 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/text_v0.19.13",
|
|
22
|
+
"version": "0.19.13",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "beachball",
|
|
27
|
+
"package": "@fluentui-react-native/text",
|
|
28
|
+
"comment": "Bump @uifabricshared/foundation-compose to v1.12.35",
|
|
29
|
+
"commit": "c1e32c4ac99ccc1dd2b4279b970e9d3b2507b1db"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/text",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/framework to v0.8.35",
|
|
35
|
+
"commit": "c1e32c4ac99ccc1dd2b4279b970e9d3b2507b1db"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/text",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.12",
|
|
41
|
+
"commit": "c1e32c4ac99ccc1dd2b4279b970e9d3b2507b1db"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/text",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.23.2",
|
|
47
|
+
"commit": "c1e32c4ac99ccc1dd2b4279b970e9d3b2507b1db"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"date": "Wed, 18 Jan 2023 01:55:11 GMT",
|
|
6
54
|
"tag": "@fluentui-react-native/text_v0.19.12",
|
|
7
55
|
"version": "0.19.12",
|
|
8
56
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/text
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 20 Jan 2023 21:47:57 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.19.14
|
|
8
|
+
|
|
9
|
+
Fri, 20 Jan 2023 21:47:57 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Move Text part of typography docs to Text README (adgleitm@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.19.13
|
|
16
|
+
|
|
17
|
+
Fri, 20 Jan 2023 18:06:46 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @uifabricshared/foundation-compose to v1.12.35
|
|
22
|
+
- Bump @fluentui-react-native/framework to v0.8.35
|
|
23
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.22.12
|
|
24
|
+
- Bump @fluentui-react-native/theme-tokens to v0.23.2
|
|
25
|
+
|
|
7
26
|
## 0.19.12
|
|
8
27
|
|
|
9
|
-
Wed, 18 Jan 2023 01:
|
|
28
|
+
Wed, 18 Jan 2023 01:55:11 GMT
|
|
10
29
|
|
|
11
30
|
### Patches
|
|
12
31
|
|
package/README.md
CHANGED
|
@@ -2,4 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
A cross-platform Text component using the Fluent Design System.
|
|
4
4
|
|
|
5
|
-
Text
|
|
5
|
+
Text elements can be specified either by passing a `variant` [typography token](../../../docs/pages/Theming/Tokens/Basics.md#typography) into a `TextV1` element or by using predefined JSX types. For example:
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import { Body1, TextV1 } from '@fluentui-react-native/text';
|
|
9
|
+
|
|
10
|
+
const myText = <TextV1 variant="body1">Here is some body text</TextV1>;
|
|
11
|
+
const moreText = <Body1>Here is some more body text</Body1>;
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
The former is better if you want to have more fine control over the appearance of your text, while the latter is better if you're looking for the simplest way to add a pre-styled text component.
|
|
15
|
+
|
|
16
|
+
See [SPEC.md](./SPEC.md) for more implementation details.
|
|
17
|
+
|
|
18
|
+
Text V1 supported platforms: win32
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/text",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.14",
|
|
4
4
|
"description": "A cross-platform Text component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"directory": "packages/components/text"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@uifabricshared/foundation-compose": "^1.12.
|
|
25
|
+
"@uifabricshared/foundation-compose": "^1.12.35",
|
|
26
26
|
"@fluentui-react-native/adapters": ">=0.10.0 <1.0.0",
|
|
27
27
|
"@fluentui-react-native/experimental-native-font-metrics": "^0.3.0",
|
|
28
|
-
"@fluentui-react-native/framework": "0.8.
|
|
29
|
-
"@fluentui-react-native/interactive-hooks": ">=0.22.
|
|
30
|
-
"@fluentui-react-native/theme-tokens": ">=0.23.
|
|
28
|
+
"@fluentui-react-native/framework": "0.8.35",
|
|
29
|
+
"@fluentui-react-native/interactive-hooks": ">=0.22.12 <1.0.0",
|
|
30
|
+
"@fluentui-react-native/theme-tokens": ">=0.23.2 <1.0.0",
|
|
31
31
|
"@fluentui-react-native/tokens": ">=0.20.4 <1.0.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|