@fluentui-react-native/use-tokens 0.3.4 → 0.4.0
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 +34 -1
- package/CHANGELOG.md +13 -2
- package/package.json +10 -10
- package/src/__snapshots__/useTokens.samples.test.tsx.snap +12 -12
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/use-tokens",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 05 Jun 2023 19:19:50 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/use-tokens_v0.4.0",
|
|
7
|
+
"version": "0.4.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "sanajmi@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/use-tokens",
|
|
13
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325",
|
|
14
|
+
"comment": "Upgrade to React Native 0.71"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/use-tokens",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/immutable-merge to v1.2.0",
|
|
20
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/use-tokens",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/memo-cache to v1.2.0",
|
|
26
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/use-tokens",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/merge-props to v0.6.0",
|
|
32
|
+
"commit": "8c0f9d27e34913da82c00299c12c399877257325"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"date": "Fri, 24 Feb 2023 20:40:00 GMT",
|
|
6
39
|
"tag": "@fluentui-react-native/use-tokens_v0.3.4",
|
|
7
40
|
"version": "0.3.4",
|
|
8
41
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/use-tokens
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 05 Jun 2023 19:19:50 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.4.0
|
|
8
|
+
|
|
9
|
+
Mon, 05 Jun 2023 19:19:50 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Upgrade to React Native 0.71 (sanajmi@microsoft.com)
|
|
14
|
+
- Bump @fluentui-react-native/immutable-merge to v1.2.0
|
|
15
|
+
- Bump @fluentui-react-native/memo-cache to v1.2.0
|
|
16
|
+
- Bump @fluentui-react-native/merge-props to v0.6.0
|
|
17
|
+
|
|
7
18
|
## 0.3.4
|
|
8
19
|
|
|
9
|
-
Fri, 24 Feb 2023 20:
|
|
20
|
+
Fri, 24 Feb 2023 20:40:00 GMT
|
|
10
21
|
|
|
11
22
|
### Patches
|
|
12
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/use-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Utilities and hook function for getting themed tokens for a component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/immutable-merge": "^1.
|
|
31
|
-
"@fluentui-react-native/memo-cache": "^1.
|
|
30
|
+
"@fluentui-react-native/immutable-merge": "^1.2.0",
|
|
31
|
+
"@fluentui-react-native/memo-cache": "^1.2.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@fluentui-react-native/merge-props": "^0.
|
|
35
|
+
"@fluentui-react-native/merge-props": "^0.6.0",
|
|
36
36
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
37
|
-
"@types/jest": "^
|
|
38
|
-
"react": "
|
|
39
|
-
"react-native": "^0.
|
|
37
|
+
"@types/jest": "^29.0.0",
|
|
38
|
+
"react": "18.2.0",
|
|
39
|
+
"react-native": "^0.71.0"
|
|
40
40
|
},
|
|
41
41
|
"rnx-kit": {
|
|
42
42
|
"kitType": "library",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"microsoft/react-native"
|
|
46
46
|
],
|
|
47
47
|
"requirements": [
|
|
48
|
-
"react-native@0.
|
|
48
|
+
"react-native@0.71"
|
|
49
49
|
],
|
|
50
50
|
"capabilities": [
|
|
51
51
|
"core",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"react": "
|
|
60
|
-
"react-native": "^0.
|
|
59
|
+
"react": "18.2.0",
|
|
60
|
+
"react-native": "^0.71.0"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -4,7 +4,7 @@ exports[`useTokens samples Sample1Text rendering with no overrides 1`] = `
|
|
|
4
4
|
<SampleText1>
|
|
5
5
|
<Text
|
|
6
6
|
style={
|
|
7
|
-
|
|
7
|
+
{
|
|
8
8
|
"color": "black",
|
|
9
9
|
"fontFamily": "Arial",
|
|
10
10
|
"fontSize": 12,
|
|
@@ -13,7 +13,7 @@ exports[`useTokens samples Sample1Text rendering with no overrides 1`] = `
|
|
|
13
13
|
>
|
|
14
14
|
<Text
|
|
15
15
|
style={
|
|
16
|
-
|
|
16
|
+
{
|
|
17
17
|
"color": "black",
|
|
18
18
|
"fontFamily": "Arial",
|
|
19
19
|
"fontSize": 12,
|
|
@@ -30,7 +30,7 @@ exports[`useTokens samples Sample1Text rendering with some custom settings in th
|
|
|
30
30
|
<SampleText1>
|
|
31
31
|
<Text
|
|
32
32
|
style={
|
|
33
|
-
|
|
33
|
+
{
|
|
34
34
|
"color": "pink",
|
|
35
35
|
"fontFamily": "Arial",
|
|
36
36
|
"fontSize": 24,
|
|
@@ -39,7 +39,7 @@ exports[`useTokens samples Sample1Text rendering with some custom settings in th
|
|
|
39
39
|
>
|
|
40
40
|
<Text
|
|
41
41
|
style={
|
|
42
|
-
|
|
42
|
+
{
|
|
43
43
|
"color": "pink",
|
|
44
44
|
"fontFamily": "Arial",
|
|
45
45
|
"fontSize": 24,
|
|
@@ -58,7 +58,7 @@ exports[`useTokens samples Sample2Text rendering with defaults and a color overr
|
|
|
58
58
|
<SampleText2>
|
|
59
59
|
<Text
|
|
60
60
|
style={
|
|
61
|
-
|
|
61
|
+
{
|
|
62
62
|
"color": "black",
|
|
63
63
|
"fontFamily": "Arial",
|
|
64
64
|
"fontSize": 12,
|
|
@@ -67,7 +67,7 @@ exports[`useTokens samples Sample2Text rendering with defaults and a color overr
|
|
|
67
67
|
>
|
|
68
68
|
<Text
|
|
69
69
|
style={
|
|
70
|
-
|
|
70
|
+
{
|
|
71
71
|
"color": "black",
|
|
72
72
|
"fontFamily": "Arial",
|
|
73
73
|
"fontSize": 12,
|
|
@@ -83,7 +83,7 @@ exports[`useTokens samples Sample2Text rendering with defaults and a color overr
|
|
|
83
83
|
>
|
|
84
84
|
<Text
|
|
85
85
|
style={
|
|
86
|
-
|
|
86
|
+
{
|
|
87
87
|
"color": "green",
|
|
88
88
|
"fontFamily": "Arial",
|
|
89
89
|
"fontSize": 12,
|
|
@@ -92,7 +92,7 @@ exports[`useTokens samples Sample2Text rendering with defaults and a color overr
|
|
|
92
92
|
>
|
|
93
93
|
<Text
|
|
94
94
|
style={
|
|
95
|
-
|
|
95
|
+
{
|
|
96
96
|
"color": "green",
|
|
97
97
|
"fontFamily": "Arial",
|
|
98
98
|
"fontSize": 12,
|
|
@@ -113,7 +113,7 @@ exports[`useTokens samples Sample2Text rendering with some custom settings in th
|
|
|
113
113
|
<SampleText2>
|
|
114
114
|
<Text
|
|
115
115
|
style={
|
|
116
|
-
|
|
116
|
+
{
|
|
117
117
|
"color": "black",
|
|
118
118
|
"fontFamily": "Helvetica",
|
|
119
119
|
"fontSize": 18,
|
|
@@ -122,7 +122,7 @@ exports[`useTokens samples Sample2Text rendering with some custom settings in th
|
|
|
122
122
|
>
|
|
123
123
|
<Text
|
|
124
124
|
style={
|
|
125
|
-
|
|
125
|
+
{
|
|
126
126
|
"color": "black",
|
|
127
127
|
"fontFamily": "Helvetica",
|
|
128
128
|
"fontSize": 18,
|
|
@@ -138,7 +138,7 @@ exports[`useTokens samples Sample2Text rendering with some custom settings in th
|
|
|
138
138
|
>
|
|
139
139
|
<Text
|
|
140
140
|
style={
|
|
141
|
-
|
|
141
|
+
{
|
|
142
142
|
"color": "purple",
|
|
143
143
|
"fontFamily": "Helvetica",
|
|
144
144
|
"fontSize": 18,
|
|
@@ -147,7 +147,7 @@ exports[`useTokens samples Sample2Text rendering with some custom settings in th
|
|
|
147
147
|
>
|
|
148
148
|
<Text
|
|
149
149
|
style={
|
|
150
|
-
|
|
150
|
+
{
|
|
151
151
|
"color": "purple",
|
|
152
152
|
"fontFamily": "Helvetica",
|
|
153
153
|
"fontSize": 18,
|