@fluentui-react-native/text 0.19.13 → 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 CHANGED
@@ -2,7 +2,22 @@
2
2
  "name": "@fluentui-react-native/text",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 20 Jan 2023 18:04:28 GMT",
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",
6
21
  "tag": "@fluentui-react-native/text_v0.19.13",
7
22
  "version": "0.19.13",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @fluentui-react-native/text
2
2
 
3
- This log was last generated on Fri, 20 Jan 2023 18:04:28 GMT and should not be manually modified.
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
+
7
15
  ## 0.19.13
8
16
 
9
- Fri, 20 Jan 2023 18:04:28 GMT
17
+ Fri, 20 Jan 2023 18:06:46 GMT
10
18
 
11
19
  ### Patches
12
20
 
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 V1 supported platforms: win32
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.13",
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",