@fluentui/react-context-selector 9.1.64 → 9.1.66
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.md +20 -2
- package/README.md +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,30 @@
|
|
1
1
|
# Change Log - @fluentui/react-context-selector
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Tue, 10 Sep 2024 10:15:11 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.1.66](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.66)
|
8
|
+
|
9
|
+
Tue, 10 Sep 2024 10:15:11 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.1.65..@fluentui/react-context-selector_v9.1.66)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Bump @fluentui/react-utilities to v9.18.14 ([PR #32494](https://github.com/microsoft/fluentui/pull/32494) by beachball)
|
15
|
+
|
16
|
+
## [9.1.65](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.65)
|
17
|
+
|
18
|
+
Tue, 23 Jul 2024 20:13:14 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.1.64..@fluentui/react-context-selector_v9.1.65)
|
20
|
+
|
21
|
+
### Patches
|
22
|
+
|
23
|
+
- Bump @fluentui/react-utilities to v9.18.13 ([PR #32067](https://github.com/microsoft/fluentui/pull/32067) by beachball)
|
24
|
+
|
7
25
|
## [9.1.64](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.64)
|
8
26
|
|
9
|
-
Mon, 15 Jul 2024 17:
|
27
|
+
Mon, 15 Jul 2024 17:25:26 GMT
|
10
28
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.1.63..@fluentui/react-context-selector_v9.1.64)
|
11
29
|
|
12
30
|
### Patches
|
package/README.md
CHANGED
@@ -45,7 +45,7 @@ const CounterContext = createContext<CounterContextValue>({});
|
|
45
45
|
const CounterProvider = CounterContext.Provider;
|
46
46
|
|
47
47
|
// not necessary but can be a good layer to mock for unit testing
|
48
|
-
const useCounterContext = <T>(selector: ContextSelector<
|
48
|
+
const useCounterContext = <T>(selector: ContextSelector<CounterContextValue, T>) =>
|
49
49
|
useContextSelector(CounterContext, selector);
|
50
50
|
|
51
51
|
const Counter1 = () => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-context-selector",
|
3
|
-
"version": "9.1.
|
3
|
+
"version": "9.1.66",
|
4
4
|
"description": "React useContextSelector hook in userland",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"@fluentui/scripts-tasks": "*"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@fluentui/react-utilities": "^9.18.
|
31
|
+
"@fluentui/react-utilities": "^9.18.14",
|
32
32
|
"@swc/helpers": "^0.5.1"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|