@fluentui/react-context-selector 9.0.5 → 9.1.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 +38 -2
- package/CHANGELOG.md +13 -3
- package/dist/index.d.ts +0 -3
- package/lib/types.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,43 @@
|
|
2
2
|
"name": "@fluentui/react-context-selector",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Wed, 02 Nov 2022 11:54:51 GMT",
|
6
|
+
"tag": "@fluentui/react-context-selector_v9.1.0",
|
7
|
+
"version": "9.1.0",
|
8
|
+
"comments": {
|
9
|
+
"minor": [
|
10
|
+
{
|
11
|
+
"author": "bernardo.sunderhus@gmail.com",
|
12
|
+
"package": "@fluentui/react-context-selector",
|
13
|
+
"commit": "dac5bf0157a867888de8327e36ae369ea1ac120c",
|
14
|
+
"comment": "exposes internal type: ContextSelector"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-context-selector",
|
19
|
+
"comment": "Bump @fluentui/react-utilities to v9.2.0",
|
20
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"date": "Tue, 25 Oct 2022 22:09:51 GMT",
|
27
|
+
"tag": "@fluentui/react-context-selector_v9.0.5",
|
28
|
+
"version": "9.0.5",
|
29
|
+
"comments": {
|
30
|
+
"none": [
|
31
|
+
{
|
32
|
+
"author": "tristan.watanabe@gmail.com",
|
33
|
+
"package": "@fluentui/react-context-selector",
|
34
|
+
"commit": "2435ea50f924fa6467a07829f3d4715e545d93c0",
|
35
|
+
"comment": "chore: Migrate to new package structure."
|
36
|
+
}
|
37
|
+
]
|
38
|
+
}
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"date": "Thu, 20 Oct 2022 08:39:32 GMT",
|
6
42
|
"tag": "@fluentui/react-context-selector_v9.0.5",
|
7
43
|
"version": "9.0.5",
|
8
44
|
"comments": {
|
@@ -17,7 +53,7 @@
|
|
17
53
|
"author": "beachball",
|
18
54
|
"package": "@fluentui/react-context-selector",
|
19
55
|
"comment": "Bump @fluentui/react-utilities to v9.1.2",
|
20
|
-
"commit": "
|
56
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
21
57
|
}
|
22
58
|
]
|
23
59
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,18 +1,28 @@
|
|
1
1
|
# Change Log - @fluentui/react-context-selector
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 02 Nov 2022 11:54:51 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.0)
|
8
|
+
|
9
|
+
Wed, 02 Nov 2022 11:54:51 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.5..@fluentui/react-context-selector_v9.1.0)
|
11
|
+
|
12
|
+
### Minor changes
|
13
|
+
|
14
|
+
- exposes internal type: ContextSelector ([PR #25404](https://github.com/microsoft/fluentui/pull/25404) by bernardo.sunderhus@gmail.com)
|
15
|
+
- Bump @fluentui/react-utilities to v9.2.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
16
|
+
|
7
17
|
## [9.0.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.5)
|
8
18
|
|
9
|
-
Thu, 20 Oct 2022 08:
|
19
|
+
Thu, 20 Oct 2022 08:39:32 GMT
|
10
20
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.4..@fluentui/react-context-selector_v9.0.5)
|
11
21
|
|
12
22
|
### Patches
|
13
23
|
|
14
24
|
- chore: Bump peer deps to support React 18 ([PR #24972](https://github.com/microsoft/fluentui/pull/24972) by mgodbolt@microsoft.com)
|
15
|
-
- Bump @fluentui/react-utilities to v9.1.2 ([
|
25
|
+
- Bump @fluentui/react-utilities to v9.1.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
16
26
|
|
17
27
|
## [9.0.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.4)
|
18
28
|
|
package/dist/index.d.ts
CHANGED
package/lib/types.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"../src/","sources":["types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type Context<Value> = React.Context<Value> & {\n Provider: React.FC<React.ProviderProps<Value>>;\n Consumer: never;\n};\n\
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"../src/","sources":["types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type Context<Value> = React.Context<Value> & {\n Provider: React.FC<React.ProviderProps<Value>>;\n Consumer: never;\n};\n\nexport type ContextSelector<Value, SelectedValue> = (value: Value) => SelectedValue;\n\n/**\n * @internal\n */\nexport type ContextVersion = number;\n\n/**\n * @internal\n */\nexport type ContextValue<Value> = {\n /** Holds a set of subscribers from components. */\n listeners: ((payload: readonly [ContextVersion, Value]) => void)[];\n\n /** Holds an actual value of React's context that will be propagated down for computations. */\n value: React.MutableRefObject<Value>;\n\n /** A version field is used to sync a context value and consumers. */\n version: React.MutableRefObject<ContextVersion>;\n};\n\n/**\n * @internal\n */\nexport type ContextValues<Value> = ContextValue<Value> & {\n /** List of listners to publish changes */\n listeners: ((payload: readonly [ContextVersion, Record<string, Value>]) => void)[];\n};\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-context-selector",
|
3
|
-
"version": "9.0
|
3
|
+
"version": "9.1.0",
|
4
4
|
"description": "React useContextSelector hook in userland",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@fluentui/scripts": "^1.0.0"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"@fluentui/react-utilities": "^9.
|
30
|
+
"@fluentui/react-utilities": "^9.2.0",
|
31
31
|
"tslib": "^2.1.0"
|
32
32
|
},
|
33
33
|
"peerDependencies": {
|