@fluentui-react-native/text 0.19.5 → 0.19.7

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,43 @@
2
2
  "name": "@fluentui-react-native/text",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 30 Dec 2022 03:47:32 GMT",
5
+ "date": "Tue, 03 Jan 2023 23:37:25 GMT",
6
+ "tag": "@fluentui-react-native/text_v0.19.7",
7
+ "version": "0.19.7",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "ruaraki@microsoft.com",
12
+ "package": "@fluentui-react-native/text",
13
+ "commit": "4ba3eb0acc4abbce94655bfcc8037f1656c92289",
14
+ "comment": "Fix some links"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Fri, 30 Dec 2022 16:09:27 GMT",
21
+ "tag": "@fluentui-react-native/text_v0.19.6",
22
+ "version": "0.19.6",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "beachball",
27
+ "package": "@fluentui-react-native/text",
28
+ "comment": "Bump @fluentui-react-native/framework to v0.8.30",
29
+ "commit": "8aefb1921c84f220ddf5c5def669c5ab9a036219"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@fluentui-react-native/text",
34
+ "comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.6",
35
+ "commit": "8aefb1921c84f220ddf5c5def669c5ab9a036219"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Fri, 30 Dec 2022 03:49:05 GMT",
6
42
  "tag": "@fluentui-react-native/text_v0.19.5",
7
43
  "version": "0.19.5",
8
44
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,29 @@
1
1
  # Change Log - @fluentui-react-native/text
2
2
 
3
- This log was last generated on Fri, 30 Dec 2022 03:47:32 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 03 Jan 2023 23:37:25 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.19.7
8
+
9
+ Tue, 03 Jan 2023 23:37:25 GMT
10
+
11
+ ### Patches
12
+
13
+ - Fix some links (ruaraki@microsoft.com)
14
+
15
+ ## 0.19.6
16
+
17
+ Fri, 30 Dec 2022 16:09:27 GMT
18
+
19
+ ### Patches
20
+
21
+ - Bump @fluentui-react-native/framework to v0.8.30
22
+ - Bump @fluentui-react-native/interactive-hooks to v0.22.6
23
+
7
24
  ## 0.19.5
8
25
 
9
- Fri, 30 Dec 2022 03:47:32 GMT
26
+ Fri, 30 Dec 2022 03:49:05 GMT
10
27
 
11
28
  ### Patches
12
29
 
package/SPEC.md CHANGED
@@ -23,7 +23,8 @@ Basic example:
23
23
  ```jsx
24
24
  <Text>Hello World</Text>
25
25
  ```
26
- More examples on the [Test pages for Text](../../../apps/fluent-tester/src/TestComponents/TextExperimental). Instructions on running the tester app can be found [here](../../../apps/fluent-tester/README.md).
26
+
27
+ More examples on the [Test pages for Text](../../../apps/fluent-tester/src/TestComponents/TextV1). Instructions on running the tester app can be found [here](../../../apps/fluent-tester/README.md).
27
28
 
28
29
  ## Visual Examples
29
30
 
@@ -57,7 +58,7 @@ Win32:
57
58
 
58
59
  ```jsx
59
60
  const RedCaptionBold = Text.customize({ variant: 'captionStandard', fontWeight: '700', color: '#ff0000' });
60
- <RedCaptionBold>RedCaptionBold</RedCaptionBold>
61
+ <RedCaptionBold>RedCaptionBold</RedCaptionBold>;
61
62
  ```
62
63
 
63
64
  ![Text Variants on win32 example](./assets/Text_example_variants_win32.png)
@@ -84,17 +85,11 @@ V1 `Text` component supports variant types that have preset font family, size, a
84
85
  ```jsx
85
86
  <Text variant={'bodyStandard'}>
86
87
  Press{' '}
87
- <Text
88
- variant={'bodyStandard'}
89
- color="blue"
90
- keyDownEvents={handledNativeKeyboardEvents}
91
- onPress={_onPress2}
92
- onKeyDown={_onKeyDown2}
93
- >
94
- here
88
+ <Text variant={'bodyStandard'} color="blue" keyDownEvents={handledNativeKeyboardEvents} onPress={_onPress2} onKeyDown={_onKeyDown2}>
89
+ here
95
90
  </Text>{' '}
96
91
  to view an alert.
97
- </Text>
92
+ </Text>
98
93
  ```
99
94
 
100
95
  ## API
@@ -211,10 +206,10 @@ export type TextTokens = FontTokens & IForegroundColorTokens & TextStyle;
211
206
 
212
207
  The following is a set of keys that interact with the `Text` component:
213
208
 
214
- | Key | Description |
215
- | ------- | --------------------------------------------------------------- |
216
- | `Tab` | If `onPress` or `focusable` is set, component will gain focus. |
217
- | `Space` | Executes the function passed into the `onPress` prop. |
209
+ | Key | Description |
210
+ | ------- | -------------------------------------------------------------- |
211
+ | `Tab` | If `onPress` or `focusable` is set, component will gain focus. |
212
+ | `Space` | Executes the function passed into the `onPress` prop. |
218
213
 
219
214
  #### Cursor interaction for Pressable Text
220
215
 
@@ -232,4 +227,4 @@ The same behavior as above translated for touch events. This means that there is
232
227
 
233
228
  - Should mix in the accessibility props expected for a `Text` component.
234
229
  - Should be keyboard tabbable and focusable.
235
- - onAccessibilityTap defaults to onPress unless set otherwise
230
+ - onAccessibilityTap defaults to onPress unless set otherwise
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/text",
3
- "version": "0.19.5",
3
+ "version": "0.19.7",
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",
@@ -25,8 +25,8 @@
25
25
  "@uifabricshared/foundation-compose": "^1.12.30",
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",
29
- "@fluentui-react-native/interactive-hooks": ">=0.22.5 <1.0.0",
28
+ "@fluentui-react-native/framework": "0.8.30",
29
+ "@fluentui-react-native/interactive-hooks": ">=0.22.6 <1.0.0",
30
30
  "@fluentui-react-native/theme-tokens": ">=0.22.5 <1.0.0",
31
31
  "@fluentui-react-native/tokens": ">=0.20.2 <1.0.0",
32
32
  "tslib": "^2.3.1"