@fluentui/react-context-selector 9.0.0-rc.5 → 9.0.0-rc.8
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 +86 -1
- package/CHANGELOG.md +80 -50
- package/dist/{react-context-selector.d.ts → index.d.ts} +0 -0
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.js +0 -4
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -15
- package/lib/createContext.d.ts +0 -2
- package/lib/index.d.ts +0 -4
- package/lib/types.d.ts +0 -19
- package/lib/useContextSelector.d.ts +0 -7
- package/lib/useHasParentContext.d.ts +0 -9
- package/lib-commonjs/createContext.d.ts +0 -2
- package/lib-commonjs/index.d.ts +0 -4
- package/lib-commonjs/types.d.ts +0 -19
- package/lib-commonjs/useContextSelector.d.ts +0 -7
- package/lib-commonjs/useHasParentContext.d.ts +0 -9
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,92 @@
|
|
2
2
|
"name": "@fluentui/react-context-selector",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Thu, 05 May 2022 18:24:30 GMT",
|
6
|
+
"tag": "@fluentui/react-context-selector_v9.0.0-rc.8",
|
7
|
+
"version": "9.0.0-rc.8",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "martinhochel@microsoft.com",
|
12
|
+
"package": "@fluentui/react-context-selector",
|
13
|
+
"commit": "e465622ca241f3dd0534da50823a51e7311fd9ef",
|
14
|
+
"comment": "feat: ship rolluped only dts"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "humberto_makoto@hotmail.com",
|
18
|
+
"package": "@fluentui/react-context-selector",
|
19
|
+
"commit": "982f68bd9b216ed71dc5e4fb7e77b56e73a8a468",
|
20
|
+
"comment": "Removing star exports."
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-context-selector",
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
|
26
|
+
"commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
|
27
|
+
}
|
28
|
+
]
|
29
|
+
}
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"date": "Wed, 04 May 2022 13:26:42 GMT",
|
33
|
+
"tag": "@fluentui/react-context-selector_v9.0.0-rc.7",
|
34
|
+
"version": "9.0.0-rc.7",
|
35
|
+
"comments": {
|
36
|
+
"none": [
|
37
|
+
{
|
38
|
+
"author": "tristan.watanabe@gmail.com",
|
39
|
+
"package": "@fluentui/react-context-selector",
|
40
|
+
"commit": "8997f88bdd280b6831338d6c231b387fd554046e",
|
41
|
+
"comment": "react-context-selector: Move to new common folder."
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"prerelease": [
|
45
|
+
{
|
46
|
+
"author": "beachball",
|
47
|
+
"package": "@fluentui/react-context-selector",
|
48
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
|
49
|
+
"commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
|
50
|
+
}
|
51
|
+
]
|
52
|
+
}
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"date": "Tue, 19 Apr 2022 19:17:22 GMT",
|
56
|
+
"tag": "@fluentui/react-context-selector_v9.0.0-rc.6",
|
57
|
+
"version": "9.0.0-rc.6",
|
58
|
+
"comments": {
|
59
|
+
"none": [
|
60
|
+
{
|
61
|
+
"author": "elcraig@microsoft.com",
|
62
|
+
"package": "@fluentui/react-context-selector",
|
63
|
+
"commit": "b48c03cff249019cf845af18a7f63dacf46d5218",
|
64
|
+
"comment": "Hoist react-is devDependencies to the repo root"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"author": "mgodbolt@microsoft.com",
|
68
|
+
"package": "@fluentui/react-context-selector",
|
69
|
+
"commit": "905e46db07ada986fd7885531f72a71b7bbaabdc",
|
70
|
+
"comment": "create v9 api extractor config and set all v9 packags to use it, suppress forgotten export"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"prerelease": [
|
74
|
+
{
|
75
|
+
"author": "elcraig@microsoft.com",
|
76
|
+
"package": "@fluentui/react-context-selector",
|
77
|
+
"commit": "b7f17e976f9e058f39c9fce4f0f9bb6eb4dfa577",
|
78
|
+
"comment": "Move `scheduler` to a peer dependency and allow appropriate versions for React 16 or 17"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"author": "beachball",
|
82
|
+
"package": "@fluentui/react-context-selector",
|
83
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
|
84
|
+
"commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
|
85
|
+
}
|
86
|
+
]
|
87
|
+
}
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"date": "Fri, 04 Mar 2022 05:17:36 GMT",
|
6
91
|
"tag": "@fluentui/react-context-selector_v9.0.0-rc.5",
|
7
92
|
"version": "9.0.0-rc.5",
|
8
93
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,42 @@
|
|
1
1
|
# Change Log - @fluentui/react-context-selector
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 05 May 2022 18:24:30 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.8)
|
8
|
+
|
9
|
+
Thu, 05 May 2022 18:24:30 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-rc.7..@fluentui/react-context-selector_v9.0.0-rc.8)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- feat: ship rolluped only dts ([PR #22823](https://github.com/microsoft/fluentui/pull/22823) by martinhochel@microsoft.com)
|
15
|
+
- Removing star exports. ([PR #22801](https://github.com/microsoft/fluentui/pull/22801) by humberto_makoto@hotmail.com)
|
16
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
|
17
|
+
|
18
|
+
## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.7)
|
19
|
+
|
20
|
+
Wed, 04 May 2022 13:26:42 GMT
|
21
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-rc.6..@fluentui/react-context-selector_v9.0.0-rc.7)
|
22
|
+
|
23
|
+
### Changes
|
24
|
+
|
25
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
|
26
|
+
|
27
|
+
## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.6)
|
28
|
+
|
29
|
+
Tue, 19 Apr 2022 19:17:22 GMT
|
30
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-rc.5..@fluentui/react-context-selector_v9.0.0-rc.6)
|
31
|
+
|
32
|
+
### Changes
|
33
|
+
|
34
|
+
- Move `scheduler` to a peer dependency and allow appropriate versions for React 16 or 17 ([PR #21769](https://github.com/microsoft/fluentui/pull/21769) by elcraig@microsoft.com)
|
35
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
|
36
|
+
|
7
37
|
## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.5)
|
8
38
|
|
9
|
-
Fri, 04 Mar 2022 05:
|
39
|
+
Fri, 04 Mar 2022 05:17:36 GMT
|
10
40
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-rc.4..@fluentui/react-context-selector_v9.0.0-rc.5)
|
11
41
|
|
12
42
|
### Changes
|
@@ -16,7 +46,7 @@ Fri, 04 Mar 2022 05:15:50 GMT
|
|
16
46
|
|
17
47
|
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.4)
|
18
48
|
|
19
|
-
Tue, 01 Mar 2022 02:17:40 GMT
|
49
|
+
Tue, 01 Mar 2022 02:17:40 GMT
|
20
50
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-rc.3..@fluentui/react-context-selector_v9.0.0-rc.4)
|
21
51
|
|
22
52
|
### Changes
|
@@ -25,7 +55,7 @@ Tue, 01 Mar 2022 02:17:40 GMT
|
|
25
55
|
|
26
56
|
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.3)
|
27
57
|
|
28
|
-
Fri, 18 Feb 2022 13:35:31 GMT
|
58
|
+
Fri, 18 Feb 2022 13:35:31 GMT
|
29
59
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-rc.1..@fluentui/react-context-selector_v9.0.0-rc.3)
|
30
60
|
|
31
61
|
### Changes
|
@@ -35,7 +65,7 @@ Fri, 18 Feb 2022 13:35:31 GMT
|
|
35
65
|
|
36
66
|
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-rc.1)
|
37
67
|
|
38
|
-
Thu, 10 Feb 2022 08:51:09 GMT
|
68
|
+
Thu, 10 Feb 2022 08:51:09 GMT
|
39
69
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-beta.4..@fluentui/react-context-selector_v9.0.0-rc.1)
|
40
70
|
|
41
71
|
### Changes
|
@@ -46,7 +76,7 @@ Thu, 10 Feb 2022 08:51:09 GMT
|
|
46
76
|
|
47
77
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-beta.4)
|
48
78
|
|
49
|
-
Thu, 25 Nov 2021 08:34:13 GMT
|
79
|
+
Thu, 25 Nov 2021 08:34:13 GMT
|
50
80
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-beta.3..@fluentui/react-context-selector_v9.0.0-beta.4)
|
51
81
|
|
52
82
|
### Changes
|
@@ -55,7 +85,7 @@ Thu, 25 Nov 2021 08:34:13 GMT
|
|
55
85
|
|
56
86
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-beta.3)
|
57
87
|
|
58
|
-
Fri, 12 Nov 2021 13:25:22 GMT
|
88
|
+
Fri, 12 Nov 2021 13:25:22 GMT
|
59
89
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-beta.2..@fluentui/react-context-selector_v9.0.0-beta.3)
|
60
90
|
|
61
91
|
### Changes
|
@@ -65,7 +95,7 @@ Fri, 12 Nov 2021 13:25:22 GMT
|
|
65
95
|
|
66
96
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-beta.2)
|
67
97
|
|
68
|
-
Wed, 27 Oct 2021 12:14:24 GMT
|
98
|
+
Wed, 27 Oct 2021 12:14:24 GMT
|
69
99
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-beta.1..@fluentui/react-context-selector_v9.0.0-beta.2)
|
70
100
|
|
71
101
|
### Changes
|
@@ -74,7 +104,7 @@ Wed, 27 Oct 2021 12:14:24 GMT
|
|
74
104
|
|
75
105
|
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-beta.1)
|
76
106
|
|
77
|
-
Wed, 06 Oct 2021 10:37:22 GMT
|
107
|
+
Wed, 06 Oct 2021 10:37:22 GMT
|
78
108
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.39..@fluentui/react-context-selector_v9.0.0-beta.1)
|
79
109
|
|
80
110
|
### Changes
|
@@ -84,7 +114,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
|
|
84
114
|
|
85
115
|
## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.39)
|
86
116
|
|
87
|
-
Tue, 05 Oct 2021 09:28:07 GMT
|
117
|
+
Tue, 05 Oct 2021 09:28:07 GMT
|
88
118
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.38..@fluentui/react-context-selector_v9.0.0-alpha.39)
|
89
119
|
|
90
120
|
### Changes
|
@@ -93,7 +123,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
|
|
93
123
|
|
94
124
|
## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.38)
|
95
125
|
|
96
|
-
Fri, 01 Oct 2021 14:13:08 GMT
|
126
|
+
Fri, 01 Oct 2021 14:13:08 GMT
|
97
127
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.36..@fluentui/react-context-selector_v9.0.0-alpha.38)
|
98
128
|
|
99
129
|
### Changes
|
@@ -103,7 +133,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
|
|
103
133
|
|
104
134
|
## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.36)
|
105
135
|
|
106
|
-
Mon, 27 Sep 2021 08:06:00 GMT
|
136
|
+
Mon, 27 Sep 2021 08:06:00 GMT
|
107
137
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.35..@fluentui/react-context-selector_v9.0.0-alpha.36)
|
108
138
|
|
109
139
|
### Changes
|
@@ -112,7 +142,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
|
|
112
142
|
|
113
143
|
## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.35)
|
114
144
|
|
115
|
-
Fri, 24 Sep 2021 09:17:17 GMT
|
145
|
+
Fri, 24 Sep 2021 09:17:17 GMT
|
116
146
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.34..@fluentui/react-context-selector_v9.0.0-alpha.35)
|
117
147
|
|
118
148
|
### Changes
|
@@ -121,7 +151,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
|
|
121
151
|
|
122
152
|
## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.34)
|
123
153
|
|
124
|
-
Thu, 23 Sep 2021 08:21:34 GMT
|
154
|
+
Thu, 23 Sep 2021 08:21:34 GMT
|
125
155
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.33..@fluentui/react-context-selector_v9.0.0-alpha.34)
|
126
156
|
|
127
157
|
### Changes
|
@@ -130,7 +160,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
|
|
130
160
|
|
131
161
|
## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.33)
|
132
162
|
|
133
|
-
Wed, 22 Sep 2021 10:10:07 GMT
|
163
|
+
Wed, 22 Sep 2021 10:10:07 GMT
|
134
164
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.32..@fluentui/react-context-selector_v9.0.0-alpha.33)
|
135
165
|
|
136
166
|
### Changes
|
@@ -139,7 +169,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
|
|
139
169
|
|
140
170
|
## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.32)
|
141
171
|
|
142
|
-
Fri, 17 Sep 2021 07:35:26 GMT
|
172
|
+
Fri, 17 Sep 2021 07:35:26 GMT
|
143
173
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.31..@fluentui/react-context-selector_v9.0.0-alpha.32)
|
144
174
|
|
145
175
|
### Changes
|
@@ -148,7 +178,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
|
|
148
178
|
|
149
179
|
## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.31)
|
150
180
|
|
151
|
-
Thu, 16 Sep 2021 07:38:39 GMT
|
181
|
+
Thu, 16 Sep 2021 07:38:39 GMT
|
152
182
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.30..@fluentui/react-context-selector_v9.0.0-alpha.31)
|
153
183
|
|
154
184
|
### Changes
|
@@ -157,7 +187,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
|
|
157
187
|
|
158
188
|
## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.30)
|
159
189
|
|
160
|
-
Tue, 14 Sep 2021 20:09:02 GMT
|
190
|
+
Tue, 14 Sep 2021 20:09:02 GMT
|
161
191
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.29..@fluentui/react-context-selector_v9.0.0-alpha.30)
|
162
192
|
|
163
193
|
### Changes
|
@@ -166,7 +196,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
|
|
166
196
|
|
167
197
|
## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.29)
|
168
198
|
|
169
|
-
Fri, 10 Sep 2021 16:31:53 GMT
|
199
|
+
Fri, 10 Sep 2021 16:31:53 GMT
|
170
200
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.28..@fluentui/react-context-selector_v9.0.0-alpha.29)
|
171
201
|
|
172
202
|
### Changes
|
@@ -176,7 +206,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
|
|
176
206
|
|
177
207
|
## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.28)
|
178
208
|
|
179
|
-
Fri, 10 Sep 2021 07:39:51 GMT
|
209
|
+
Fri, 10 Sep 2021 07:39:51 GMT
|
180
210
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.27..@fluentui/react-context-selector_v9.0.0-alpha.28)
|
181
211
|
|
182
212
|
### Changes
|
@@ -185,7 +215,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
|
|
185
215
|
|
186
216
|
## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.27)
|
187
217
|
|
188
|
-
Mon, 06 Sep 2021 07:34:53 GMT
|
218
|
+
Mon, 06 Sep 2021 07:34:53 GMT
|
189
219
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.26..@fluentui/react-context-selector_v9.0.0-alpha.27)
|
190
220
|
|
191
221
|
### Changes
|
@@ -194,7 +224,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
|
|
194
224
|
|
195
225
|
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.26)
|
196
226
|
|
197
|
-
Wed, 01 Sep 2021 07:39:56 GMT
|
227
|
+
Wed, 01 Sep 2021 07:39:56 GMT
|
198
228
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.25..@fluentui/react-context-selector_v9.0.0-alpha.26)
|
199
229
|
|
200
230
|
### Changes
|
@@ -203,7 +233,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
|
|
203
233
|
|
204
234
|
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.25)
|
205
235
|
|
206
|
-
Tue, 31 Aug 2021 07:37:47 GMT
|
236
|
+
Tue, 31 Aug 2021 07:37:47 GMT
|
207
237
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.24..@fluentui/react-context-selector_v9.0.0-alpha.25)
|
208
238
|
|
209
239
|
### Changes
|
@@ -212,7 +242,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
|
|
212
242
|
|
213
243
|
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.24)
|
214
244
|
|
215
|
-
Fri, 20 Aug 2021 07:37:28 GMT
|
245
|
+
Fri, 20 Aug 2021 07:37:28 GMT
|
216
246
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.23..@fluentui/react-context-selector_v9.0.0-alpha.24)
|
217
247
|
|
218
248
|
### Changes
|
@@ -221,7 +251,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
|
|
221
251
|
|
222
252
|
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.23)
|
223
253
|
|
224
|
-
Thu, 19 Aug 2021 07:41:35 GMT
|
254
|
+
Thu, 19 Aug 2021 07:41:35 GMT
|
225
255
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.22..@fluentui/react-context-selector_v9.0.0-alpha.23)
|
226
256
|
|
227
257
|
### Changes
|
@@ -230,7 +260,7 @@ Thu, 19 Aug 2021 07:41:35 GMT
|
|
230
260
|
|
231
261
|
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.22)
|
232
262
|
|
233
|
-
Fri, 06 Aug 2021 07:35:14 GMT
|
263
|
+
Fri, 06 Aug 2021 07:35:14 GMT
|
234
264
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.21..@fluentui/react-context-selector_v9.0.0-alpha.22)
|
235
265
|
|
236
266
|
### Changes
|
@@ -239,7 +269,7 @@ Fri, 06 Aug 2021 07:35:14 GMT
|
|
239
269
|
|
240
270
|
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.21)
|
241
271
|
|
242
|
-
Tue, 03 Aug 2021 07:39:30 GMT
|
272
|
+
Tue, 03 Aug 2021 07:39:30 GMT
|
243
273
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.20..@fluentui/react-context-selector_v9.0.0-alpha.21)
|
244
274
|
|
245
275
|
### Patches
|
@@ -253,7 +283,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
|
|
253
283
|
|
254
284
|
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.20)
|
255
285
|
|
256
|
-
Mon, 02 Aug 2021 07:36:20 GMT
|
286
|
+
Mon, 02 Aug 2021 07:36:20 GMT
|
257
287
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.19..@fluentui/react-context-selector_v9.0.0-alpha.20)
|
258
288
|
|
259
289
|
### Changes
|
@@ -262,7 +292,7 @@ Mon, 02 Aug 2021 07:36:20 GMT
|
|
262
292
|
|
263
293
|
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.19)
|
264
294
|
|
265
|
-
Fri, 23 Jul 2021 07:38:19 GMT
|
295
|
+
Fri, 23 Jul 2021 07:38:19 GMT
|
266
296
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.18..@fluentui/react-context-selector_v9.0.0-alpha.19)
|
267
297
|
|
268
298
|
### Changes
|
@@ -271,7 +301,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
|
|
271
301
|
|
272
302
|
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.18)
|
273
303
|
|
274
|
-
Thu, 22 Jul 2021 07:36:55 GMT
|
304
|
+
Thu, 22 Jul 2021 07:36:55 GMT
|
275
305
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.17..@fluentui/react-context-selector_v9.0.0-alpha.18)
|
276
306
|
|
277
307
|
### Changes
|
@@ -280,7 +310,7 @@ Thu, 22 Jul 2021 07:36:55 GMT
|
|
280
310
|
|
281
311
|
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.17)
|
282
312
|
|
283
|
-
Thu, 15 Jul 2021 07:36:18 GMT
|
313
|
+
Thu, 15 Jul 2021 07:36:18 GMT
|
284
314
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.16..@fluentui/react-context-selector_v9.0.0-alpha.17)
|
285
315
|
|
286
316
|
### Changes
|
@@ -289,7 +319,7 @@ Thu, 15 Jul 2021 07:36:18 GMT
|
|
289
319
|
|
290
320
|
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.16)
|
291
321
|
|
292
|
-
Fri, 09 Jul 2021 07:39:31 GMT
|
322
|
+
Fri, 09 Jul 2021 07:39:31 GMT
|
293
323
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.15..@fluentui/react-context-selector_v9.0.0-alpha.16)
|
294
324
|
|
295
325
|
### Patches
|
@@ -303,7 +333,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
|
|
303
333
|
|
304
334
|
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.15)
|
305
335
|
|
306
|
-
Fri, 02 Jul 2021 23:15:55 GMT
|
336
|
+
Fri, 02 Jul 2021 23:15:55 GMT
|
307
337
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.14..@fluentui/react-context-selector_v9.0.0-alpha.15)
|
308
338
|
|
309
339
|
### Changes
|
@@ -312,7 +342,7 @@ Fri, 02 Jul 2021 23:15:55 GMT
|
|
312
342
|
|
313
343
|
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.14)
|
314
344
|
|
315
|
-
Fri, 02 Jul 2021 07:37:06 GMT
|
345
|
+
Fri, 02 Jul 2021 07:37:06 GMT
|
316
346
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.13..@fluentui/react-context-selector_v9.0.0-alpha.14)
|
317
347
|
|
318
348
|
### Changes
|
@@ -321,7 +351,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
|
|
321
351
|
|
322
352
|
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.13)
|
323
353
|
|
324
|
-
Tue, 15 Jun 2021 07:40:20 GMT
|
354
|
+
Tue, 15 Jun 2021 07:40:20 GMT
|
325
355
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.12..@fluentui/react-context-selector_v9.0.0-alpha.13)
|
326
356
|
|
327
357
|
### Changes
|
@@ -330,7 +360,7 @@ Tue, 15 Jun 2021 07:40:20 GMT
|
|
330
360
|
|
331
361
|
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.12)
|
332
362
|
|
333
|
-
Mon, 07 Jun 2021 07:38:15 GMT
|
363
|
+
Mon, 07 Jun 2021 07:38:15 GMT
|
334
364
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.11..@fluentui/react-context-selector_v9.0.0-alpha.12)
|
335
365
|
|
336
366
|
### Patches
|
@@ -344,7 +374,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
|
|
344
374
|
|
345
375
|
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.11)
|
346
376
|
|
347
|
-
Fri, 04 Jun 2021 07:37:23 GMT
|
377
|
+
Fri, 04 Jun 2021 07:37:23 GMT
|
348
378
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.10..@fluentui/react-context-selector_v9.0.0-alpha.11)
|
349
379
|
|
350
380
|
### Changes
|
@@ -353,7 +383,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
|
|
353
383
|
|
354
384
|
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.10)
|
355
385
|
|
356
|
-
Wed, 26 May 2021 07:35:43 GMT
|
386
|
+
Wed, 26 May 2021 07:35:43 GMT
|
357
387
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.9..@fluentui/react-context-selector_v9.0.0-alpha.10)
|
358
388
|
|
359
389
|
### Changes
|
@@ -362,7 +392,7 @@ Wed, 26 May 2021 07:35:43 GMT
|
|
362
392
|
|
363
393
|
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.9)
|
364
394
|
|
365
|
-
Fri, 21 May 2021 07:34:54 GMT
|
395
|
+
Fri, 21 May 2021 07:34:54 GMT
|
366
396
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.8..@fluentui/react-context-selector_v9.0.0-alpha.9)
|
367
397
|
|
368
398
|
### Changes
|
@@ -371,7 +401,7 @@ Fri, 21 May 2021 07:34:54 GMT
|
|
371
401
|
|
372
402
|
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.8)
|
373
403
|
|
374
|
-
Thu, 20 May 2021 07:41:54 GMT
|
404
|
+
Thu, 20 May 2021 07:41:54 GMT
|
375
405
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.7..@fluentui/react-context-selector_v9.0.0-alpha.8)
|
376
406
|
|
377
407
|
### Patches
|
@@ -385,7 +415,7 @@ Thu, 20 May 2021 07:41:54 GMT
|
|
385
415
|
|
386
416
|
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.7)
|
387
417
|
|
388
|
-
Wed, 19 May 2021 07:34:20 GMT
|
418
|
+
Wed, 19 May 2021 07:34:20 GMT
|
389
419
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.6..@fluentui/react-context-selector_v9.0.0-alpha.7)
|
390
420
|
|
391
421
|
### Changes
|
@@ -394,7 +424,7 @@ Wed, 19 May 2021 07:34:20 GMT
|
|
394
424
|
|
395
425
|
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.6)
|
396
426
|
|
397
|
-
Mon, 03 May 2021 07:45:19 GMT
|
427
|
+
Mon, 03 May 2021 07:45:19 GMT
|
398
428
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.5..@fluentui/react-context-selector_v9.0.0-alpha.6)
|
399
429
|
|
400
430
|
### Changes
|
@@ -403,7 +433,7 @@ Mon, 03 May 2021 07:45:19 GMT
|
|
403
433
|
|
404
434
|
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.5)
|
405
435
|
|
406
|
-
Fri, 30 Apr 2021 07:42:23 GMT
|
436
|
+
Fri, 30 Apr 2021 07:42:23 GMT
|
407
437
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.4..@fluentui/react-context-selector_v9.0.0-alpha.5)
|
408
438
|
|
409
439
|
### Patches
|
@@ -417,7 +447,7 @@ Fri, 30 Apr 2021 07:42:23 GMT
|
|
417
447
|
|
418
448
|
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.4)
|
419
449
|
|
420
|
-
Fri, 23 Apr 2021 07:37:10 GMT
|
450
|
+
Fri, 23 Apr 2021 07:37:10 GMT
|
421
451
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.3..@fluentui/react-context-selector_v9.0.0-alpha.4)
|
422
452
|
|
423
453
|
### Patches
|
@@ -431,7 +461,7 @@ Fri, 23 Apr 2021 07:37:10 GMT
|
|
431
461
|
|
432
462
|
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.3)
|
433
463
|
|
434
|
-
Thu, 22 Apr 2021 07:33:28 GMT
|
464
|
+
Thu, 22 Apr 2021 07:33:28 GMT
|
435
465
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.2..@fluentui/react-context-selector_v9.0.0-alpha.3)
|
436
466
|
|
437
467
|
### Changes
|
@@ -440,7 +470,7 @@ Thu, 22 Apr 2021 07:33:28 GMT
|
|
440
470
|
|
441
471
|
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.2)
|
442
472
|
|
443
|
-
Wed, 31 Mar 2021 00:53:43 GMT
|
473
|
+
Wed, 31 Mar 2021 00:53:43 GMT
|
444
474
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.0-alpha.1..@fluentui/react-context-selector_v9.0.0-alpha.2)
|
445
475
|
|
446
476
|
### Patches
|
@@ -450,7 +480,7 @@ Wed, 31 Mar 2021 00:53:43 GMT
|
|
450
480
|
|
451
481
|
## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.0-alpha.1)
|
452
482
|
|
453
|
-
Tue, 30 Mar 2021 07:34:45 GMT
|
483
|
+
Tue, 30 Mar 2021 07:34:45 GMT
|
454
484
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v0.53.4..@fluentui/react-context-selector_v9.0.0-alpha.1)
|
455
485
|
|
456
486
|
### Changes
|
@@ -460,7 +490,7 @@ Tue, 30 Mar 2021 07:34:45 GMT
|
|
460
490
|
|
461
491
|
## [0.53.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v0.53.4)
|
462
492
|
|
463
|
-
Mon, 15 Mar 2021 07:36:20 GMT
|
493
|
+
Mon, 15 Mar 2021 07:36:20 GMT
|
464
494
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v0.53.3..@fluentui/react-context-selector_v0.53.4)
|
465
495
|
|
466
496
|
### Patches
|
@@ -469,7 +499,7 @@ Mon, 15 Mar 2021 07:36:20 GMT
|
|
469
499
|
|
470
500
|
## [0.53.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v0.53.3)
|
471
501
|
|
472
|
-
Fri, 26 Feb 2021 01:16:27 GMT
|
502
|
+
Fri, 26 Feb 2021 01:16:27 GMT
|
473
503
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v0.53.2..@fluentui/react-context-selector_v0.53.3)
|
474
504
|
|
475
505
|
### Patches
|
@@ -478,7 +508,7 @@ Fri, 26 Feb 2021 01:16:27 GMT
|
|
478
508
|
|
479
509
|
## [0.53.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v0.53.2)
|
480
510
|
|
481
|
-
Mon, 22 Feb 2021 12:26:22 GMT
|
511
|
+
Mon, 22 Feb 2021 12:26:22 GMT
|
482
512
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v0.53.0..@fluentui/react-context-selector_v0.53.2)
|
483
513
|
|
484
514
|
### Patches
|
File without changes
|
File without changes
|
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export { createContext } from './createContext';\nexport { useContextSelector } from './useContextSelector';\nexport { useHasParentContext } from './useHasParentContext';\nexport type { Context, ContextSelector, ContextValue, ContextValues, ContextVersion } from './types';\n"]}
|
package/lib-commonjs/index.js
CHANGED
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.useHasParentContext = exports.useContextSelector = exports.createContext = void 0;
|
7
7
|
|
8
|
-
const tslib_1 = /*#__PURE__*/require("tslib");
|
9
|
-
|
10
8
|
var createContext_1 = /*#__PURE__*/require("./createContext");
|
11
9
|
|
12
10
|
Object.defineProperty(exports, "createContext", {
|
@@ -33,6 +31,4 @@ Object.defineProperty(exports, "useHasParentContext", {
|
|
33
31
|
return useHasParentContext_1.useHasParentContext;
|
34
32
|
}
|
35
33
|
});
|
36
|
-
|
37
|
-
tslib_1.__exportStar(require("./types"), exports);
|
38
34
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,eAAA,gBAAA,OAAA,CAAA,iBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,eAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,eAAA,CAAA,aAAA;AAAa;AAAb,CAAA;;AACT,IAAA,oBAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,oBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,oBAAA,CAAA,kBAAA;AAAkB;AAAlB,CAAA;;AACT,IAAA,qBAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,qBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,qBAAA,CAAA,mBAAA;AAAmB;AAAnB,CAAA","sourcesContent":["export { createContext } from './createContext';\nexport { useContextSelector } from './useContextSelector';\nexport { useHasParentContext } from './useHasParentContext';\nexport type { Context, ContextSelector, ContextValue, ContextValues, ContextVersion } from './types';\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-context-selector",
|
3
|
-
"version": "9.0.0-rc.
|
3
|
+
"version": "9.0.0-rc.8",
|
4
4
|
"description": "React useContextSelector hook in userland",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
7
|
-
"typings": "
|
7
|
+
"typings": "dist/index.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
@@ -19,31 +19,23 @@
|
|
19
19
|
"lint": "just-scripts lint",
|
20
20
|
"test": "jest --passWithNoTests",
|
21
21
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
22
|
-
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node
|
22
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-context-selector/src && yarn docs",
|
23
23
|
"type-check": "tsc -b tsconfig.json"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@fluentui/eslint-plugin": "*",
|
27
|
-
"@fluentui/scripts": "^1.0.0"
|
28
|
-
"@types/scheduler": "^0.16.1",
|
29
|
-
"@types/react": "16.9.42",
|
30
|
-
"@types/react-dom": "16.9.10",
|
31
|
-
"@types/react-test-renderer": "^16.0.0",
|
32
|
-
"react": "16.8.6",
|
33
|
-
"react-dom": "16.8.6",
|
34
|
-
"react-is": "^16.6.3",
|
35
|
-
"react-test-renderer": "^16.3.0"
|
27
|
+
"@fluentui/scripts": "^1.0.0"
|
36
28
|
},
|
37
29
|
"dependencies": {
|
38
|
-
"@fluentui/react-utilities": "9.0.0-rc.
|
39
|
-
"scheduler": "^0.20.1",
|
30
|
+
"@fluentui/react-utilities": "9.0.0-rc.8",
|
40
31
|
"tslib": "^2.1.0"
|
41
32
|
},
|
42
33
|
"peerDependencies": {
|
43
34
|
"@types/react": ">=16.8.0 <18.0.0",
|
44
35
|
"@types/react-dom": ">=16.8.0 <18.0.0",
|
45
36
|
"react": ">=16.8.0 <18.0.0",
|
46
|
-
"react-dom": ">=16.8.0 <18.0.0"
|
37
|
+
"react-dom": ">=16.8.0 <18.0.0",
|
38
|
+
"scheduler": "^0.19.0 || ^0.20.0"
|
47
39
|
},
|
48
40
|
"beachball": {
|
49
41
|
"disallowedChangeTypes": [
|
package/lib/createContext.d.ts
DELETED
package/lib/index.d.ts
DELETED
package/lib/types.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
export declare type Context<Value> = React.Context<Value> & {
|
3
|
-
Provider: React.FC<React.ProviderProps<Value>>;
|
4
|
-
Consumer: never;
|
5
|
-
};
|
6
|
-
export declare type ContextSelector<Value, SelectedValue> = (value: Value) => SelectedValue;
|
7
|
-
export declare type ContextVersion = number;
|
8
|
-
export declare type ContextValue<Value> = {
|
9
|
-
/** Holds a set of subscribers from components. */
|
10
|
-
listeners: ((payload: readonly [ContextVersion, Value]) => void)[];
|
11
|
-
/** Holds an actual value of React's context that will be propagated down for computations. */
|
12
|
-
value: React.MutableRefObject<Value>;
|
13
|
-
/** A version field is used to sync a context value and consumers. */
|
14
|
-
version: React.MutableRefObject<ContextVersion>;
|
15
|
-
};
|
16
|
-
export declare type ContextValues<Value> = ContextValue<Value> & {
|
17
|
-
/** List of listners to publish changes */
|
18
|
-
listeners: ((payload: readonly [ContextVersion, Record<string, Value>]) => void)[];
|
19
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Context, ContextSelector } from './types';
|
2
|
-
/**
|
3
|
-
* This hook returns context selected value by selector.
|
4
|
-
* It will only accept context created by `createContext`.
|
5
|
-
* It will trigger re-render if only the selected value is referencially changed.
|
6
|
-
*/
|
7
|
-
export declare const useContextSelector: <Value, SelectedValue>(context: Context<Value>, selector: ContextSelector<Value, SelectedValue>) => SelectedValue;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Context } from './types';
|
2
|
-
/**
|
3
|
-
* Utility hook for contexts created by react-context-selector to determine if a parent context exists
|
4
|
-
* WARNING: This hook will not work for native React contexts
|
5
|
-
*
|
6
|
-
* @param context - context created by react-context-selector
|
7
|
-
* @returns whether the hook is wrapped by a parent context
|
8
|
-
*/
|
9
|
-
export declare function useHasParentContext<Value>(context: Context<Value>): boolean;
|
package/lib-commonjs/index.d.ts
DELETED
package/lib-commonjs/types.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
export declare type Context<Value> = React.Context<Value> & {
|
3
|
-
Provider: React.FC<React.ProviderProps<Value>>;
|
4
|
-
Consumer: never;
|
5
|
-
};
|
6
|
-
export declare type ContextSelector<Value, SelectedValue> = (value: Value) => SelectedValue;
|
7
|
-
export declare type ContextVersion = number;
|
8
|
-
export declare type ContextValue<Value> = {
|
9
|
-
/** Holds a set of subscribers from components. */
|
10
|
-
listeners: ((payload: readonly [ContextVersion, Value]) => void)[];
|
11
|
-
/** Holds an actual value of React's context that will be propagated down for computations. */
|
12
|
-
value: React.MutableRefObject<Value>;
|
13
|
-
/** A version field is used to sync a context value and consumers. */
|
14
|
-
version: React.MutableRefObject<ContextVersion>;
|
15
|
-
};
|
16
|
-
export declare type ContextValues<Value> = ContextValue<Value> & {
|
17
|
-
/** List of listners to publish changes */
|
18
|
-
listeners: ((payload: readonly [ContextVersion, Record<string, Value>]) => void)[];
|
19
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Context, ContextSelector } from './types';
|
2
|
-
/**
|
3
|
-
* This hook returns context selected value by selector.
|
4
|
-
* It will only accept context created by `createContext`.
|
5
|
-
* It will trigger re-render if only the selected value is referencially changed.
|
6
|
-
*/
|
7
|
-
export declare const useContextSelector: <Value, SelectedValue>(context: Context<Value>, selector: ContextSelector<Value, SelectedValue>) => SelectedValue;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Context } from './types';
|
2
|
-
/**
|
3
|
-
* Utility hook for contexts created by react-context-selector to determine if a parent context exists
|
4
|
-
* WARNING: This hook will not work for native React contexts
|
5
|
-
*
|
6
|
-
* @param context - context created by react-context-selector
|
7
|
-
* @returns whether the hook is wrapped by a parent context
|
8
|
-
*/
|
9
|
-
export declare function useHasParentContext<Value>(context: Context<Value>): boolean;
|