@fluentui/global-context 9.0.0-beta.10 → 9.0.0-beta.101
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 +927 -2
- package/lib/global-context-selector.js +24 -33
- package/lib/global-context-selector.js.map +1 -1
- package/lib/global-context.js +24 -33
- package/lib/global-context.js.map +1 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/types.js +1 -2
- package/lib/types.js.map +1 -1
- package/lib/utils.js +2 -4
- package/lib/utils.js.map +1 -1
- package/lib-commonjs/global-context-selector.js +41 -58
- package/lib-commonjs/global-context-selector.js.map +1 -1
- package/lib-commonjs/global-context.js +42 -58
- package/lib-commonjs/global-context.js.map +1 -1
- package/lib-commonjs/index.js +16 -21
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types.js +1 -3
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils.js +11 -12
- package/lib-commonjs/utils.js.map +1 -1
- package/package.json +16 -27
- package/CHANGELOG.json +0 -324
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/global-context",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.101",
|
|
4
4
|
"description": "Extension of React createContext to be a true singleton on the global scope",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -11,34 +11,16 @@
|
|
|
11
11
|
"url": "https://github.com/microsoft/fluentui"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "just-scripts build",
|
|
16
|
-
"bundle-size": "bundle-size measure",
|
|
17
|
-
"clean": "just-scripts clean",
|
|
18
|
-
"code-style": "just-scripts code-style",
|
|
19
|
-
"e2e": "cypress run --component",
|
|
20
|
-
"e2e:local": "cypress open --component",
|
|
21
|
-
"just": "just-scripts",
|
|
22
|
-
"lint": "just-scripts lint",
|
|
23
|
-
"test": "jest --passWithNoTests",
|
|
24
|
-
"type-check": "tsc -b tsconfig.json",
|
|
25
|
-
"generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@fluentui/eslint-plugin": "*",
|
|
29
|
-
"@fluentui/scripts": "^1.0.0"
|
|
30
|
-
},
|
|
31
14
|
"dependencies": {
|
|
32
|
-
"@fluentui/react-context-selector": "^9.
|
|
33
|
-
"@fluentui/react-utilities": "^9.3
|
|
34
|
-
"
|
|
15
|
+
"@fluentui/react-context-selector": "^9.2.16",
|
|
16
|
+
"@fluentui/react-utilities": "^9.26.3",
|
|
17
|
+
"@swc/helpers": "^0.5.1"
|
|
35
18
|
},
|
|
36
19
|
"peerDependencies": {
|
|
37
|
-
"@types/react": ">=16.
|
|
38
|
-
"@types/react-dom": ">=16.
|
|
39
|
-
"react": ">=16.
|
|
40
|
-
"react-dom": ">=16.
|
|
41
|
-
"scheduler": "^0.19.0 || ^0.20.0"
|
|
20
|
+
"@types/react": ">=16.14.0 <20.0.0",
|
|
21
|
+
"@types/react-dom": ">=16.9.0 <20.0.0",
|
|
22
|
+
"react": ">=16.14.0 <20.0.0",
|
|
23
|
+
"react-dom": ">=16.14.0 <20.0.0"
|
|
42
24
|
},
|
|
43
25
|
"beachball": {
|
|
44
26
|
"disallowedChangeTypes": [
|
|
@@ -50,9 +32,16 @@
|
|
|
50
32
|
"exports": {
|
|
51
33
|
".": {
|
|
52
34
|
"types": "./dist/index.d.ts",
|
|
35
|
+
"node": "./lib-commonjs/index.js",
|
|
53
36
|
"import": "./lib/index.js",
|
|
54
37
|
"require": "./lib-commonjs/index.js"
|
|
55
38
|
},
|
|
56
39
|
"./package.json": "./package.json"
|
|
57
|
-
}
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"*.md",
|
|
43
|
+
"dist/*.d.ts",
|
|
44
|
+
"lib",
|
|
45
|
+
"lib-commonjs"
|
|
46
|
+
]
|
|
58
47
|
}
|
package/CHANGELOG.json
DELETED
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fluentui/global-context",
|
|
3
|
-
"entries": [
|
|
4
|
-
{
|
|
5
|
-
"date": "Tue, 20 Dec 2022 14:55:58 GMT",
|
|
6
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.10",
|
|
7
|
-
"version": "9.0.0-beta.10",
|
|
8
|
-
"comments": {
|
|
9
|
-
"prerelease": [
|
|
10
|
-
{
|
|
11
|
-
"author": "beachball",
|
|
12
|
-
"package": "@fluentui/global-context",
|
|
13
|
-
"comment": "Bump @fluentui/react-context-selector to v9.1.3",
|
|
14
|
-
"commit": "e7530bc179fd0e303448083c76a4af41a0e15322"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"author": "beachball",
|
|
18
|
-
"package": "@fluentui/global-context",
|
|
19
|
-
"comment": "Bump @fluentui/react-utilities to v9.3.0",
|
|
20
|
-
"commit": "e7530bc179fd0e303448083c76a4af41a0e15322"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"date": "Thu, 17 Nov 2022 23:05:31 GMT",
|
|
27
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.9",
|
|
28
|
-
"version": "9.0.0-beta.9",
|
|
29
|
-
"comments": {
|
|
30
|
-
"none": [
|
|
31
|
-
{
|
|
32
|
-
"author": "martinhochel@microsoft.com",
|
|
33
|
-
"package": "@fluentui/global-context",
|
|
34
|
-
"commit": "ea768501802d65d63ddc63fff3816fb6b5008ae4",
|
|
35
|
-
"comment": "chore: update package scaffold"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"prerelease": [
|
|
39
|
-
{
|
|
40
|
-
"author": "beachball",
|
|
41
|
-
"package": "@fluentui/global-context",
|
|
42
|
-
"comment": "Bump @fluentui/react-context-selector to v9.1.2",
|
|
43
|
-
"commit": "94e156be5d3b5790d82dccf08c32672733fb9335"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"author": "beachball",
|
|
47
|
-
"package": "@fluentui/global-context",
|
|
48
|
-
"comment": "Bump @fluentui/react-utilities to v9.2.2",
|
|
49
|
-
"commit": "94e156be5d3b5790d82dccf08c32672733fb9335"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"date": "Fri, 11 Nov 2022 14:57:50 GMT",
|
|
56
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.8",
|
|
57
|
-
"version": "9.0.0-beta.8",
|
|
58
|
-
"comments": {
|
|
59
|
-
"prerelease": [
|
|
60
|
-
{
|
|
61
|
-
"author": "martinhochel@microsoft.com",
|
|
62
|
-
"package": "@fluentui/global-context",
|
|
63
|
-
"commit": "b3907043bd8d7b650c55e8e7c3119b14f2606c38",
|
|
64
|
-
"comment": "fix: create valid export maps"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"author": "beachball",
|
|
68
|
-
"package": "@fluentui/global-context",
|
|
69
|
-
"comment": "Bump @fluentui/react-context-selector to v9.1.1",
|
|
70
|
-
"commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"author": "beachball",
|
|
74
|
-
"package": "@fluentui/global-context",
|
|
75
|
-
"comment": "Bump @fluentui/react-utilities to v9.2.1",
|
|
76
|
-
"commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"date": "Wed, 02 Nov 2022 11:58:07 GMT",
|
|
83
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.7",
|
|
84
|
-
"version": "9.0.0-beta.7",
|
|
85
|
-
"comments": {
|
|
86
|
-
"prerelease": [
|
|
87
|
-
{
|
|
88
|
-
"author": "beachball",
|
|
89
|
-
"package": "@fluentui/global-context",
|
|
90
|
-
"comment": "Bump @fluentui/react-context-selector to v9.1.0",
|
|
91
|
-
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"author": "beachball",
|
|
95
|
-
"package": "@fluentui/global-context",
|
|
96
|
-
"comment": "Bump @fluentui/react-utilities to v9.2.0",
|
|
97
|
-
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"date": "Tue, 25 Oct 2022 00:35:27 GMT",
|
|
104
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.6",
|
|
105
|
-
"version": "9.0.0-beta.6",
|
|
106
|
-
"comments": {
|
|
107
|
-
"none": [
|
|
108
|
-
{
|
|
109
|
-
"author": "miroslav.stastny@microsoft.com",
|
|
110
|
-
"package": "@fluentui/global-context",
|
|
111
|
-
"commit": "6ced976a8d0e6a0e2e207da8fe0eb810e2bd19bc",
|
|
112
|
-
"comment": "Update package readme"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"author": "tristan.watanabe@gmail.com",
|
|
116
|
-
"package": "@fluentui/global-context",
|
|
117
|
-
"commit": "07141711530bbdba82fd5198fe4bcef462403f40",
|
|
118
|
-
"comment": "chore: Migrate to new package structure."
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"date": "Thu, 20 Oct 2022 08:39:56 GMT",
|
|
125
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.6",
|
|
126
|
-
"version": "9.0.0-beta.6",
|
|
127
|
-
"comments": {
|
|
128
|
-
"prerelease": [
|
|
129
|
-
{
|
|
130
|
-
"author": "mgodbolt@microsoft.com",
|
|
131
|
-
"package": "@fluentui/global-context",
|
|
132
|
-
"commit": "17096b3137d9d3e7c7443ddc3ce0738b2910a334",
|
|
133
|
-
"comment": "chore: Bump peer deps to support React 18"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"author": "beachball",
|
|
137
|
-
"package": "@fluentui/global-context",
|
|
138
|
-
"comment": "Bump @fluentui/react-context-selector to v9.0.5",
|
|
139
|
-
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"author": "beachball",
|
|
143
|
-
"package": "@fluentui/global-context",
|
|
144
|
-
"comment": "Bump @fluentui/react-utilities to v9.1.2",
|
|
145
|
-
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
146
|
-
}
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"date": "Thu, 13 Oct 2022 11:03:06 GMT",
|
|
152
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.5",
|
|
153
|
-
"version": "9.0.0-beta.5",
|
|
154
|
-
"comments": {
|
|
155
|
-
"prerelease": [
|
|
156
|
-
{
|
|
157
|
-
"author": "beachball",
|
|
158
|
-
"package": "@fluentui/global-context",
|
|
159
|
-
"comment": "Bump @fluentui/react-context-selector to v9.0.4",
|
|
160
|
-
"commit": "cd05c21e62ff37812d614330eb70f97fd978c97a"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"author": "beachball",
|
|
164
|
-
"package": "@fluentui/global-context",
|
|
165
|
-
"comment": "Bump @fluentui/react-utilities to v9.1.1",
|
|
166
|
-
"commit": "cd05c21e62ff37812d614330eb70f97fd978c97a"
|
|
167
|
-
}
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"date": "Thu, 15 Sep 2022 09:49:44 GMT",
|
|
173
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.4",
|
|
174
|
-
"version": "9.0.0-beta.4",
|
|
175
|
-
"comments": {
|
|
176
|
-
"none": [
|
|
177
|
-
{
|
|
178
|
-
"author": "martinhochel@microsoft.com",
|
|
179
|
-
"package": "@fluentui/global-context",
|
|
180
|
-
"commit": "e6cf183695d6d67a24e038c49a876224e5ed35e5",
|
|
181
|
-
"comment": "chore: update package scaffold"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"author": "martinhochel@microsoft.com",
|
|
185
|
-
"package": "@fluentui/global-context",
|
|
186
|
-
"commit": "ba9444d594f3a960cc590eae5237c08bf7c5a07f",
|
|
187
|
-
"comment": "chore: consume cypress.config from it's package boundary"
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
"prerelease": [
|
|
191
|
-
{
|
|
192
|
-
"author": "beachball",
|
|
193
|
-
"package": "@fluentui/global-context",
|
|
194
|
-
"comment": "Bump @fluentui/react-context-selector to v9.0.3",
|
|
195
|
-
"commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"author": "beachball",
|
|
199
|
-
"package": "@fluentui/global-context",
|
|
200
|
-
"comment": "Bump @fluentui/react-utilities to v9.1.0",
|
|
201
|
-
"commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"date": "Wed, 03 Aug 2022 16:03:35 GMT",
|
|
208
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.3",
|
|
209
|
-
"version": "9.0.0-beta.3",
|
|
210
|
-
"comments": {
|
|
211
|
-
"none": [
|
|
212
|
-
{
|
|
213
|
-
"author": "bernardo.sunderhus@gmail.com",
|
|
214
|
-
"package": "@fluentui/global-context",
|
|
215
|
-
"commit": "d966ea3d9169f2e8d69f0d2a4daf86fe4ca328d6",
|
|
216
|
-
"comment": "disables eslint rule @fluentui/no-context-default-value for local component context"
|
|
217
|
-
}
|
|
218
|
-
]
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"date": "Thu, 14 Jul 2022 21:21:07 GMT",
|
|
223
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.3",
|
|
224
|
-
"version": "9.0.0-beta.3",
|
|
225
|
-
"comments": {
|
|
226
|
-
"prerelease": [
|
|
227
|
-
{
|
|
228
|
-
"author": "Humberto.Morimoto@microsoft.com",
|
|
229
|
-
"package": "@fluentui/global-context",
|
|
230
|
-
"commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2",
|
|
231
|
-
"comment": "fix: Fixing bad version bump of @fluentui/react-utilities."
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"author": "beachball",
|
|
235
|
-
"package": "@fluentui/global-context",
|
|
236
|
-
"comment": "Bump @fluentui/react-context-selector to v9.0.2",
|
|
237
|
-
"commit": "79b513146194367544160f364b0a7dd749ed93e4"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"author": "beachball",
|
|
241
|
-
"package": "@fluentui/global-context",
|
|
242
|
-
"comment": "Bump @fluentui/react-utilities to v9.0.2",
|
|
243
|
-
"commit": "79b513146194367544160f364b0a7dd749ed93e4"
|
|
244
|
-
}
|
|
245
|
-
]
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"date": "Thu, 14 Jul 2022 17:06:26 GMT",
|
|
250
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.2",
|
|
251
|
-
"version": "9.0.0-beta.2",
|
|
252
|
-
"comments": {
|
|
253
|
-
"prerelease": [
|
|
254
|
-
{
|
|
255
|
-
"author": "beachball",
|
|
256
|
-
"package": "@fluentui/global-context",
|
|
257
|
-
"comment": "Bump @fluentui/react-context-selector to v9.0.1",
|
|
258
|
-
"commit": "35237381e941c8935b1892c9217096cea3e5601f"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"author": "beachball",
|
|
262
|
-
"package": "@fluentui/global-context",
|
|
263
|
-
"comment": "Bump @fluentui/react-utilities to v9.0.1-0",
|
|
264
|
-
"commit": "35237381e941c8935b1892c9217096cea3e5601f"
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"date": "Tue, 28 Jun 2022 15:14:09 GMT",
|
|
271
|
-
"tag": "@fluentui/global-context_v9.0.0-beta.1",
|
|
272
|
-
"version": "9.0.0-beta.1",
|
|
273
|
-
"comments": {
|
|
274
|
-
"prerelease": [
|
|
275
|
-
{
|
|
276
|
-
"author": "lingfangao@hotmail.com",
|
|
277
|
-
"package": "@fluentui/global-context",
|
|
278
|
-
"commit": "e0aabd850b15adf9c151ebd4e332f7c50ad6cfdf",
|
|
279
|
-
"comment": "Update 9.0.0-rc dependencies to use caret range"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"author": "Humberto.Morimoto@microsoft.com",
|
|
283
|
-
"package": "@fluentui/global-context",
|
|
284
|
-
"commit": "ddf16d80c50d80bc07331b478f567629775f2898",
|
|
285
|
-
"comment": "chore: Adding scheduler as a peer dependency since this package has a dependency on @fluentui/react-context-selector."
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"author": "lingfangao@hotmail.com",
|
|
289
|
-
"package": "@fluentui/global-context",
|
|
290
|
-
"commit": "f36aa2ce92a7ac67bcdc246604d675a91b561e53",
|
|
291
|
-
"comment": "feat: beta release"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"author": "beachball",
|
|
295
|
-
"package": "@fluentui/global-context",
|
|
296
|
-
"comment": "Bump @fluentui/react-context-selector to v9.0.0",
|
|
297
|
-
"commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"author": "beachball",
|
|
301
|
-
"package": "@fluentui/global-context",
|
|
302
|
-
"comment": "Bump @fluentui/react-utilities to v9.0.0",
|
|
303
|
-
"commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
|
|
304
|
-
}
|
|
305
|
-
]
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"date": "Tue, 31 May 2022 21:28:50 GMT",
|
|
310
|
-
"tag": "@fluentui/global-context_v9.0.0-alpha.0",
|
|
311
|
-
"version": "9.0.0-alpha.0",
|
|
312
|
-
"comments": {
|
|
313
|
-
"prerelease": [
|
|
314
|
-
{
|
|
315
|
-
"author": "beachball",
|
|
316
|
-
"package": "@fluentui/global-context",
|
|
317
|
-
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
|
|
318
|
-
"commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
|
|
319
|
-
}
|
|
320
|
-
]
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
]
|
|
324
|
-
}
|