@fluentui/react-context-selector 9.0.5 → 9.1.1

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,64 @@
2
2
  "name": "@fluentui/react-context-selector",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 20 Oct 2022 08:35:08 GMT",
5
+ "date": "Fri, 11 Nov 2022 14:53:48 GMT",
6
+ "tag": "@fluentui/react-context-selector_v9.1.1",
7
+ "version": "9.1.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "martinhochel@microsoft.com",
12
+ "package": "@fluentui/react-context-selector",
13
+ "commit": "b3907043bd8d7b650c55e8e7c3119b14f2606c38",
14
+ "comment": "fix: create valid export maps"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-context-selector",
19
+ "comment": "Bump @fluentui/react-utilities to v9.2.1",
20
+ "commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 02 Nov 2022 11:57:50 GMT",
27
+ "tag": "@fluentui/react-context-selector_v9.1.0",
28
+ "version": "9.1.0",
29
+ "comments": {
30
+ "minor": [
31
+ {
32
+ "author": "bernardo.sunderhus@gmail.com",
33
+ "package": "@fluentui/react-context-selector",
34
+ "commit": "dac5bf0157a867888de8327e36ae369ea1ac120c",
35
+ "comment": "exposes internal type: ContextSelector"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@fluentui/react-context-selector",
40
+ "comment": "Bump @fluentui/react-utilities to v9.2.0",
41
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "date": "Tue, 25 Oct 2022 22:09:51 GMT",
48
+ "tag": "@fluentui/react-context-selector_v9.0.5",
49
+ "version": "9.0.5",
50
+ "comments": {
51
+ "none": [
52
+ {
53
+ "author": "tristan.watanabe@gmail.com",
54
+ "package": "@fluentui/react-context-selector",
55
+ "commit": "2435ea50f924fa6467a07829f3d4715e545d93c0",
56
+ "comment": "chore: Migrate to new package structure."
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "date": "Thu, 20 Oct 2022 08:39:32 GMT",
6
63
  "tag": "@fluentui/react-context-selector_v9.0.5",
7
64
  "version": "9.0.5",
8
65
  "comments": {
@@ -17,7 +74,7 @@
17
74
  "author": "beachball",
18
75
  "package": "@fluentui/react-context-selector",
19
76
  "comment": "Bump @fluentui/react-utilities to v9.1.2",
20
- "commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
77
+ "commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
21
78
  }
22
79
  ]
23
80
  }
package/CHANGELOG.md CHANGED
@@ -1,18 +1,38 @@
1
1
  # Change Log - @fluentui/react-context-selector
2
2
 
3
- This log was last generated on Thu, 20 Oct 2022 08:35:08 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 11 Nov 2022 14:53:48 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.1)
8
+
9
+ Fri, 11 Nov 2022 14:53:48 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.1.0..@fluentui/react-context-selector_v9.1.1)
11
+
12
+ ### Patches
13
+
14
+ - fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
15
+ - Bump @fluentui/react-utilities to v9.2.1 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
16
+
17
+ ## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.0)
18
+
19
+ Wed, 02 Nov 2022 11:57:50 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.5..@fluentui/react-context-selector_v9.1.0)
21
+
22
+ ### Minor changes
23
+
24
+ - exposes internal type: ContextSelector ([PR #25404](https://github.com/microsoft/fluentui/pull/25404) by bernardo.sunderhus@gmail.com)
25
+ - Bump @fluentui/react-utilities to v9.2.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
26
+
7
27
  ## [9.0.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.5)
8
28
 
9
- Thu, 20 Oct 2022 08:35:08 GMT
29
+ Thu, 20 Oct 2022 08:39:32 GMT
10
30
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.0.4..@fluentui/react-context-selector_v9.0.5)
11
31
 
12
32
  ### Patches
13
33
 
14
34
  - 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 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
35
+ - Bump @fluentui/react-utilities to v9.1.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
16
36
 
17
37
  ## [9.0.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.0.4)
18
38
 
package/dist/index.d.ts CHANGED
@@ -8,9 +8,6 @@ export declare type Context<Value> = React_2.Context<Value> & {
8
8
  Consumer: never;
9
9
  };
10
10
 
11
- /**
12
- * @internal
13
- */
14
11
  export declare type ContextSelector<Value, SelectedValue> = (value: Value) => SelectedValue;
15
12
 
16
13
  /**
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\n/**\n * @internal\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"]}
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,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-context-selector",
3
- "version": "9.0.5",
3
+ "version": "9.1.1",
4
4
  "description": "React useContextSelector hook in userland",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "dist/index.d.ts",
7
+ "typings": "./dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "@fluentui/scripts": "^1.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@fluentui/react-utilities": "^9.1.2",
30
+ "@fluentui/react-utilities": "^9.2.1",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
33
  "peerDependencies": {
@@ -45,9 +45,10 @@
45
45
  },
46
46
  "exports": {
47
47
  ".": {
48
- "types": "./lib/index.d.ts",
48
+ "types": "./dist/index.d.ts",
49
49
  "import": "./lib/index.js",
50
50
  "require": "./lib-commonjs/index.js"
51
- }
51
+ },
52
+ "./package.json": "./package.json"
52
53
  }
53
54
  }