@fluentui/global-context 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.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.md +17 -7
- package/lib-commonjs/global-context-selector.cjs +3 -3
- package/lib-commonjs/global-context-selector.cjs.map +1 -1
- package/lib-commonjs/global-context.cjs +3 -3
- package/lib-commonjs/global-context.cjs.map +1 -1
- package/lib-commonjs/index.cjs +3 -3
- package/lib-commonjs/index.cjs.map +1 -1
- package/package.json +5 -8
- package/dist/metadata/api/api-root.json +0 -1
- package/dist/metadata/index.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
# Change Log - @fluentui/global-context
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Sat, 31 Oct 2026 11:08:58 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/global-context_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/global-context_v9.0.0-beta.104..@fluentui/global-context_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
|
|
9
|
+
Sat, 31 Oct 2026 11:08:58 GMT
|
|
11
10
|
|
|
12
11
|
### Changes
|
|
13
12
|
|
|
14
|
-
- Release 9.
|
|
15
|
-
- Bump @fluentui/react-context-selector to v9.
|
|
16
|
-
- Bump @fluentui/react-utilities to v9.
|
|
13
|
+
- Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui/react-context-selector to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
- Bump @fluentui/react-utilities to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
|
|
17
|
+
## [9.0.0-beta.105](https://github.com/microsoft/fluentui/tree/@fluentui/global-context_v9.0.0-beta.105)
|
|
18
|
+
|
|
19
|
+
Tue, 22 Sep 2026 11:25:39 GMT
|
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/global-context_v9.0.0-beta.104..@fluentui/global-context_v9.0.0-beta.105)
|
|
21
|
+
|
|
22
|
+
### Changes
|
|
23
|
+
|
|
24
|
+
- fix: remove unused react-dom and @types/react-dom peer dependencies, mark @types/react as optional ([PR #36559](https://github.com/microsoft/fluentui/pull/36559) by martinhochel@microsoft.com)
|
|
25
|
+
- Bump @fluentui/react-context-selector to v9.2.20 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
26
|
+
- Bump @fluentui/react-utilities to v9.26.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
27
|
|
|
18
28
|
## [9.0.0-beta.104](https://github.com/microsoft/fluentui/tree/@fluentui/global-context_v9.0.0-beta.104)
|
|
19
29
|
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
SYMBOL_NAMESPACE
|
|
13
|
+
get SYMBOL_NAMESPACE () {
|
|
14
14
|
return SYMBOL_NAMESPACE;
|
|
15
15
|
},
|
|
16
|
-
createContext
|
|
16
|
+
get createContext () {
|
|
17
17
|
return createContext;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/global-context-selector.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createContext as baseCreateContext } from '@fluentui/react-context-selector';\nimport { canUseDOM } from '@fluentui/react-utilities';\nimport { getMajorVersion } from './utils';\nimport type { GlobalObject } from './types';\n\nconst isBrowser = canUseDOM();\nconst globalObject: GlobalObject = isBrowser\n ? // eslint-disable-next-line @nx/workspace-no-restricted-globals\n window\n : global;\n\n// Identifier for the symbol, for easy idenfitifaction of symbols created by this util\n// Useful for clearning global object during SSR reloads\nexport const SYMBOL_NAMESPACE = 'global-context-selector:';\n\n// During SSR the global object persists with the server process\n// Clean out the global object during server reload during development\nif (!isBrowser && process.env.NODE_ENV !== 'production') {\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n globalSymbols.forEach(sym => {\n if (Symbol.keyFor(sym)?.startsWith(SYMBOL_NAMESPACE)) {\n delete globalObject[sym];\n }\n });\n}\n\n/**\n * Wrapper around @see createContext from \\@fluentui/react-context-selector that implements context registration\n * in the globalThis object to avoid duplicate contexts. Contexts are keyed with\n * a unique sybmol for the package name, version and name of the context.\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol}\n *\n * @param defaultValue - @see React.createContext\n * @param name - name of the context\n * @param packageName - name of the npm package where the module is used\n * @param packageVersion - version of the npm package where the module is used\n * @returns @see React.createContext\n */\nexport const createContext = <T>(\n defaultValue: T,\n name: string,\n packageName: string,\n packageVersion: string,\n): React.Context<T> => {\n // Symbol guaranteed to be unique for the entire runtime\n const sym = Symbol.for(`${SYMBOL_NAMESPACE}${packageName}/${name}/@${getMajorVersion(packageVersion)}`);\n\n // Objects keyed with symbols are not visible with console.log\n // Object symbol properties can't be iterated with `for` or `Object.keys`\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n if (!globalSymbols.includes(sym)) {\n // eslint-disable-next-line @fluentui/no-context-default-value\n globalObject[sym] = baseCreateContext<unknown>(defaultValue);\n }\n\n return globalObject[sym] as React.Context<T>;\n};\n"],"names":["SYMBOL_NAMESPACE","createContext","isBrowser","canUseDOM","globalObject","window","global","process","env","NODE_ENV","globalSymbols","Object","getOwnPropertySymbols","forEach","sym","Symbol","keyFor","startsWith","defaultValue","name","packageName","packageVersion","for","getMajorVersion","includes","baseCreateContext"],"mappings":"AAAA;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../src/global-context-selector.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createContext as baseCreateContext } from '@fluentui/react-context-selector';\nimport { canUseDOM } from '@fluentui/react-utilities';\nimport { getMajorVersion } from './utils';\nimport type { GlobalObject } from './types';\n\nconst isBrowser = canUseDOM();\nconst globalObject: GlobalObject = isBrowser\n ? // eslint-disable-next-line @nx/workspace-no-restricted-globals\n window\n : global;\n\n// Identifier for the symbol, for easy idenfitifaction of symbols created by this util\n// Useful for clearning global object during SSR reloads\nexport const SYMBOL_NAMESPACE = 'global-context-selector:';\n\n// During SSR the global object persists with the server process\n// Clean out the global object during server reload during development\nif (!isBrowser && process.env.NODE_ENV !== 'production') {\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n globalSymbols.forEach(sym => {\n if (Symbol.keyFor(sym)?.startsWith(SYMBOL_NAMESPACE)) {\n delete globalObject[sym];\n }\n });\n}\n\n/**\n * Wrapper around @see createContext from \\@fluentui/react-context-selector that implements context registration\n * in the globalThis object to avoid duplicate contexts. Contexts are keyed with\n * a unique sybmol for the package name, version and name of the context.\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol}\n *\n * @param defaultValue - @see React.createContext\n * @param name - name of the context\n * @param packageName - name of the npm package where the module is used\n * @param packageVersion - version of the npm package where the module is used\n * @returns @see React.createContext\n */\nexport const createContext = <T>(\n defaultValue: T,\n name: string,\n packageName: string,\n packageVersion: string,\n): React.Context<T> => {\n // Symbol guaranteed to be unique for the entire runtime\n const sym = Symbol.for(`${SYMBOL_NAMESPACE}${packageName}/${name}/@${getMajorVersion(packageVersion)}`);\n\n // Objects keyed with symbols are not visible with console.log\n // Object symbol properties can't be iterated with `for` or `Object.keys`\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n if (!globalSymbols.includes(sym)) {\n // eslint-disable-next-line @fluentui/no-context-default-value\n globalObject[sym] = baseCreateContext<unknown>(defaultValue);\n }\n\n return globalObject[sym] as React.Context<T>;\n};\n"],"names":["SYMBOL_NAMESPACE","createContext","isBrowser","canUseDOM","globalObject","window","global","process","env","NODE_ENV","globalSymbols","Object","getOwnPropertySymbols","forEach","sym","Symbol","keyFor","startsWith","defaultValue","name","packageName","packageVersion","for","getMajorVersion","includes","baseCreateContext"],"mappings":"AAAA;;;;;;;;;;;;QAgBaA;eAAAA;;QA0BAC;eAAAA;;;sCAvCsC;gCACzB;uBACM;AAGhC,MAAMC,YAAYC,IAAAA,yBAAS;AAC3B,MAAMC,eAA6BF,YAE/BG,SACAC;AAIG,MAAMN,mBAAmB;AAEhC,gEAAgE;AAChE,sEAAsE;AACtE,IAAI,CAACE,aAAaK,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;IACvD,MAAMC,gBAAgBC,OAAOC,qBAAqB,CAACR;IACnDM,cAAcG,OAAO,CAACC,CAAAA;YAChBC;QAAJ,KAAIA,iBAAAA,OAAOC,MAAM,CAACF,kBAAdC,qCAAAA,eAAoBE,UAAU,CAACjB,mBAAmB;YACpD,OAAOI,YAAY,CAACU,IAAI;QAC1B;IACF;AACF;AAeO,MAAMb,gBAAgB,CAC3BiB,cACAC,MACAC,aACAC;IAEA,wDAAwD;IACxD,MAAMP,MAAMC,OAAOO,GAAG,CAAC,GAAGtB,mBAAmBoB,YAAY,CAAC,EAAED,KAAK,EAAE,EAAEI,IAAAA,sBAAe,EAACF,iBAAiB;IAEtG,8DAA8D;IAC9D,yEAAyE;IACzE,MAAMX,gBAAgBC,OAAOC,qBAAqB,CAACR;IACnD,IAAI,CAACM,cAAcc,QAAQ,CAACV,MAAM;QAChC,8DAA8D;QAC9DV,YAAY,CAACU,IAAI,GAAGW,IAAAA,mCAAiB,EAAUP;IACjD;IAEA,OAAOd,YAAY,CAACU,IAAI;AAC1B"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
SYMBOL_NAMESPACE
|
|
13
|
+
get SYMBOL_NAMESPACE () {
|
|
14
14
|
return SYMBOL_NAMESPACE;
|
|
15
15
|
},
|
|
16
|
-
createContext
|
|
16
|
+
get createContext () {
|
|
17
17
|
return createContext;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/global-context.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { canUseDOM } from '@fluentui/react-utilities';\nimport type { GlobalObject } from './types';\nimport { getMajorVersion } from './utils';\n\nconst isBrowser = canUseDOM();\nconst globalObject: GlobalObject = isBrowser\n ? // eslint-disable-next-line @nx/workspace-no-restricted-globals\n window\n : global;\n\n// Identifier for the symbol, for easy idenfitifaction of symbols created by this util\n// Useful for clearning global object during SSR reloads\nexport const SYMBOL_NAMESPACE = 'global-context:';\n\n// During SSR the global object persists with the server process\n// Clean out the global object during server reload during development\nif (!isBrowser && process.env.NODE_ENV !== 'production') {\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n globalSymbols.forEach(sym => {\n if (Symbol.keyFor(sym)?.startsWith(SYMBOL_NAMESPACE)) {\n delete globalObject[sym];\n }\n });\n}\n\n/**\n * Wrapper around @see React.createContext that implements context registration\n * in the globalThis object to avoid duplicate contexts. Contexts are keyed with\n * a unique sybmol for the package name, version and name of the context.\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol}\n *\n * @param defaultValue - @see React.createContext\n * @param name - name of the context\n * @param packageName - name of the npm package where the module is used\n * @param packageVersion - version of the npm package where the module is used\n * @returns @see React.createContext\n */\nexport const createContext = <T>(\n defaultValue: T,\n name: string,\n packageName: string,\n packageVersion: string,\n): React.Context<T> => {\n // Symbol guaranteed to be unique for the entire runtime\n const sym = Symbol.for(`${SYMBOL_NAMESPACE}${packageName}/${name}/@${getMajorVersion(packageVersion)}`);\n\n // Objects keyed with symbols are not visible with console.log\n // Object symbol properties can't be iterated with `for` or `Object.keys`\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n if (!globalSymbols.includes(sym)) {\n // eslint-disable-next-line @fluentui/no-context-default-value\n globalObject[sym] = React.createContext<unknown>(defaultValue);\n }\n\n return globalObject[sym] as React.Context<T>;\n};\n"],"names":["SYMBOL_NAMESPACE","createContext","isBrowser","canUseDOM","globalObject","window","global","process","env","NODE_ENV","globalSymbols","Object","getOwnPropertySymbols","forEach","sym","Symbol","keyFor","startsWith","defaultValue","name","packageName","packageVersion","for","getMajorVersion","includes","React"],"mappings":"AAAA;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../src/global-context.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { canUseDOM } from '@fluentui/react-utilities';\nimport type { GlobalObject } from './types';\nimport { getMajorVersion } from './utils';\n\nconst isBrowser = canUseDOM();\nconst globalObject: GlobalObject = isBrowser\n ? // eslint-disable-next-line @nx/workspace-no-restricted-globals\n window\n : global;\n\n// Identifier for the symbol, for easy idenfitifaction of symbols created by this util\n// Useful for clearning global object during SSR reloads\nexport const SYMBOL_NAMESPACE = 'global-context:';\n\n// During SSR the global object persists with the server process\n// Clean out the global object during server reload during development\nif (!isBrowser && process.env.NODE_ENV !== 'production') {\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n globalSymbols.forEach(sym => {\n if (Symbol.keyFor(sym)?.startsWith(SYMBOL_NAMESPACE)) {\n delete globalObject[sym];\n }\n });\n}\n\n/**\n * Wrapper around @see React.createContext that implements context registration\n * in the globalThis object to avoid duplicate contexts. Contexts are keyed with\n * a unique sybmol for the package name, version and name of the context.\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol}\n *\n * @param defaultValue - @see React.createContext\n * @param name - name of the context\n * @param packageName - name of the npm package where the module is used\n * @param packageVersion - version of the npm package where the module is used\n * @returns @see React.createContext\n */\nexport const createContext = <T>(\n defaultValue: T,\n name: string,\n packageName: string,\n packageVersion: string,\n): React.Context<T> => {\n // Symbol guaranteed to be unique for the entire runtime\n const sym = Symbol.for(`${SYMBOL_NAMESPACE}${packageName}/${name}/@${getMajorVersion(packageVersion)}`);\n\n // Objects keyed with symbols are not visible with console.log\n // Object symbol properties can't be iterated with `for` or `Object.keys`\n const globalSymbols = Object.getOwnPropertySymbols(globalObject);\n if (!globalSymbols.includes(sym)) {\n // eslint-disable-next-line @fluentui/no-context-default-value\n globalObject[sym] = React.createContext<unknown>(defaultValue);\n }\n\n return globalObject[sym] as React.Context<T>;\n};\n"],"names":["SYMBOL_NAMESPACE","createContext","isBrowser","canUseDOM","globalObject","window","global","process","env","NODE_ENV","globalSymbols","Object","getOwnPropertySymbols","forEach","sym","Symbol","keyFor","startsWith","defaultValue","name","packageName","packageVersion","for","getMajorVersion","includes","React"],"mappings":"AAAA;;;;;;;;;;;;QAeaA;eAAAA;;QA0BAC;eAAAA;;;;iEAvCU;gCACG;uBAEM;AAEhC,MAAMC,YAAYC,IAAAA,yBAAS;AAC3B,MAAMC,eAA6BF,YAE/BG,SACAC;AAIG,MAAMN,mBAAmB;AAEhC,gEAAgE;AAChE,sEAAsE;AACtE,IAAI,CAACE,aAAaK,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;IACvD,MAAMC,gBAAgBC,OAAOC,qBAAqB,CAACR;IACnDM,cAAcG,OAAO,CAACC,CAAAA;YAChBC;QAAJ,KAAIA,iBAAAA,OAAOC,MAAM,CAACF,kBAAdC,qCAAAA,eAAoBE,UAAU,CAACjB,mBAAmB;YACpD,OAAOI,YAAY,CAACU,IAAI;QAC1B;IACF;AACF;AAeO,MAAMb,gBAAgB,CAC3BiB,cACAC,MACAC,aACAC;IAEA,wDAAwD;IACxD,MAAMP,MAAMC,OAAOO,GAAG,CAAC,GAAGtB,mBAAmBoB,YAAY,CAAC,EAAED,KAAK,EAAE,EAAEI,IAAAA,sBAAe,EAACF,iBAAiB;IAEtG,8DAA8D;IAC9D,yEAAyE;IACzE,MAAMX,gBAAgBC,OAAOC,qBAAqB,CAACR;IACnD,IAAI,CAACM,cAAcc,QAAQ,CAACV,MAAM;QAChC,8DAA8D;QAC9DV,YAAY,CAACU,IAAI,GAAGW,OAAMxB,aAAa,CAAUiB;IACnD;IAEA,OAAOd,YAAY,CAACU,IAAI;AAC1B"}
|
package/lib-commonjs/index.cjs
CHANGED
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
createContext
|
|
12
|
+
get createContext () {
|
|
13
13
|
return _globalcontext.createContext;
|
|
14
14
|
},
|
|
15
|
-
createContextSelector
|
|
15
|
+
get createContextSelector () {
|
|
16
16
|
return _globalcontextselector.createContext;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { createContext } from './global-context';\nexport { createContext as createContextSelector } from './global-context-selector';\n"],"names":["createContext","createContextSelector"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { createContext } from './global-context';\nexport { createContext as createContextSelector } from './global-context-selector';\n"],"names":["createContext","createContextSelector"],"mappings":";;;;;;;;;;;QAASA;eAAAA,4BAAa;;QACIC;eAAjBD,oCAAa;;;+BADQ;uCACyB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/global-context",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
4
4
|
"description": "Extension of React createContext to be a true singleton on the global scope",
|
|
5
5
|
"main": "lib-commonjs/index.cjs",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@fluentui/react-context-selector": "9.
|
|
16
|
-
"@fluentui/react-utilities": "9.
|
|
15
|
+
"@fluentui/react-context-selector": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
16
|
+
"@fluentui/react-utilities": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
|
|
17
17
|
"@swc/helpers": "^0.5.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"default": "./lib-commonjs/index.cjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
"./metadata.json": "./dist/metadata/index.json",
|
|
41
40
|
"./package.json": "./package.json"
|
|
42
41
|
},
|
|
43
42
|
"files": [
|
|
@@ -45,9 +44,7 @@
|
|
|
45
44
|
"dist/*.d.ts",
|
|
46
45
|
"dist/*.d.cts",
|
|
47
46
|
"lib",
|
|
48
|
-
"lib-commonjs"
|
|
49
|
-
"dist/metadata"
|
|
47
|
+
"lib-commonjs"
|
|
50
48
|
],
|
|
51
|
-
"type": "module"
|
|
52
|
-
"fluentuiCatalog": "./metadata.json"
|
|
49
|
+
"type": "module"
|
|
53
50
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"completeness":{"status":"complete"},"declarationInputs":[{"conditions":["types","import"],"fingerprint":{"algorithm":"sha256","value":"2617276cffc7f3142f8ee1970def9a3be054bdc4bf7076aeda045906ea8e2fc7"},"path":"dist/index.d.ts"},{"conditions":["types","require"],"fingerprint":{"algorithm":"sha256","value":"2617276cffc7f3142f8ee1970def9a3be054bdc4bf7076aeda045906ea8e2fc7"},"path":"dist/index.d.cts"}],"dependencyInputs":[{"conditions":["types","import"],"declarationFingerprint":{"algorithm":"sha256","value":"0ff1b165090b491f5e1407ae680b9a0bc3806dc56827ec85f93c57390491e732"},"declarationPath":"index.d.ts","entrypoint":".","package":{"name":"@types/react","version":"19.2.2"},"requested":"react"},{"conditions":["types","require"],"declarationFingerprint":{"algorithm":"sha256","value":"0ff1b165090b491f5e1407ae680b9a0bc3806dc56827ec85f93c57390491e732"},"declarationPath":"index.d.ts","entrypoint":".","package":{"name":"@types/react","version":"19.2.2"},"requested":"react"}],"diagnostics":[],"generator":{"name":"@fluentui/api-metadata","version":"0.0.0"},"kind":"api-record","package":{"name":"@fluentui/global-context","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"recordId":"api:root","schema":{"major":1,"revision":5},"symbols":[{"classifications":[{"confidence":"heuristic","evidence":["export name contains Context"],"facet":"context"}],"declarations":[{"documentation":"Wrapper around","id":"symbol:createContext:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"documentation":"Wrapper around","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"defaultValue","optional":false,"rest":false,"type":{"references":[],"text":"T"}},{"name":"name","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageName","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageVersion","optional":false,"rest":false,"type":{"references":[],"text":"string"}}],"returnType":{"references":[],"text":"React_2.Context<T>"},"source":{"end":801,"file":"dist/index.d.ts","start":700},"typeParameters":[{"name":"T"}]}],"source":{"end":801,"file":"dist/index.d.ts","start":685},"type":{"references":[{"end":98,"start":83,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}}],"text":"<T>(defaultValue: T, name: string, packageName: string, packageVersion: string) => React_2.Context<T>"}}],"effectiveType":{"members":[],"signatures":[{"documentation":"Wrapper around","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"defaultValue","optional":false,"rest":false,"type":{"references":[],"text":"T"}},{"name":"name","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageName","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageVersion","optional":false,"rest":false,"type":{"references":[],"text":"string"}}],"returnType":{"references":[],"text":"React_2.Context<T>"},"source":{"end":801,"file":"dist/index.d.ts","start":700},"typeParameters":[{"name":"T"}]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"<T>(defaultValue: T, name: string, packageName: string, packageVersion: string) => React_2.Context<T>"}},"fingerprint":{"algorithm":"sha256","value":"1a7f1f9cf02249f920736404e481a2a29e5210677f8f2154673656e5c621eb57"},"id":"symbol:createContext","name":"createContext","namespaces":["value"],"relationships":[],"type":{"references":[{"end":98,"start":83,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}}],"text":"<T>(defaultValue: T, name: string, packageName: string, packageVersion: string) => React_2.Context<T>"}},{"classifications":[{"confidence":"heuristic","evidence":["export name contains Context"],"facet":"context"}],"declarations":[{"documentation":"Wrapper around","id":"symbol:createContextSelector:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"documentation":"Wrapper around","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"defaultValue","optional":false,"rest":false,"type":{"references":[],"text":"T"}},{"name":"name","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageName","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageVersion","optional":false,"rest":false,"type":{"references":[],"text":"string"}}],"returnType":{"references":[],"text":"React_2.Context<T>"},"source":{"end":1611,"file":"dist/index.d.ts","start":1510},"typeParameters":[{"name":"T"}]}],"source":{"end":1611,"file":"dist/index.d.ts","start":1487},"type":{"references":[{"end":98,"start":83,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}}],"text":"<T>(defaultValue: T, name: string, packageName: string, packageVersion: string) => React_2.Context<T>"}}],"effectiveType":{"members":[],"signatures":[{"documentation":"Wrapper around","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"defaultValue","optional":false,"rest":false,"type":{"references":[],"text":"T"}},{"name":"name","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageName","optional":false,"rest":false,"type":{"references":[],"text":"string"}},{"name":"packageVersion","optional":false,"rest":false,"type":{"references":[],"text":"string"}}],"returnType":{"references":[],"text":"React_2.Context<T>"},"source":{"end":1611,"file":"dist/index.d.ts","start":1510},"typeParameters":[{"name":"T"}]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"<T>(defaultValue: T, name: string, packageName: string, packageVersion: string) => React_2.Context<T>"}},"fingerprint":{"algorithm":"sha256","value":"fb4e0fea1d3cd64ed4898bebde9e3cd952e43bd9a578d28323e9edf4ce131b71"},"id":"symbol:createContextSelector","name":"createContextSelector","namespaces":["value"],"relationships":[],"type":{"references":[{"end":98,"start":83,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}}],"text":"<T>(defaultValue: T, name: string, packageName: string, packageVersion: string) => React_2.Context<T>"}}]}
|
package/dist/metadata/index.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"capabilities":{"api":{"status":"supported"},"effectiveTypes":{"reasons":["checker-derived type strings do not carry semantic reference spans"],"status":"partial"},"guidance":{"reasons":["guidance is outside the declaration generator MVP"],"status":"unsupported"},"search":{"reasons":["search is outside the declaration generator MVP"],"status":"unsupported"}},"completeness":{"api":{"status":"complete"},"guidance":{"reasons":["not generated"],"status":"unavailable"},"search":{"reasons":["not generated"],"status":"unavailable"}},"declarationInputs":[{"conditions":["types","require"],"fingerprint":{"algorithm":"sha256","value":"2617276cffc7f3142f8ee1970def9a3be054bdc4bf7076aeda045906ea8e2fc7"},"path":"dist/index.d.cts"},{"conditions":["types","import"],"fingerprint":{"algorithm":"sha256","value":"2617276cffc7f3142f8ee1970def9a3be054bdc4bf7076aeda045906ea8e2fc7"},"path":"dist/index.d.ts"}],"diagnostics":[],"exports":[{"classifications":[{"confidence":"heuristic","evidence":["export name contains Context"],"facet":"context"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"createContext","exportKind":"named","id":"route:root:createContext:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:createContext"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name contains Context"],"facet":"context"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"createContext","exportKind":"named","id":"route:root:createContext:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:createContext"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name contains Context"],"facet":"context"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"createContextSelector","exportKind":"named","id":"route:root:createContextSelector:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:createContextSelector"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name contains Context"],"facet":"context"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"createContextSelector","exportKind":"named","id":"route:root:createContextSelector:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:createContextSelector"},"typeOnly":false}],"generator":{"name":"@fluentui/api-metadata","version":"0.0.0"},"kind":"package-index","package":{"name":"@fluentui/global-context","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"records":[{"fingerprint":{"algorithm":"sha256","value":"d5a78ad7cf8bb34428708bc43d90da09578f7200daf05d008bf4a29034cc903c"},"id":"api:root","kind":"api","path":"api/api-root.json","symbols":["symbol:createContext","symbol:createContextSelector"]}],"schema":{"major":1,"revision":5},"system":"fluent-v9"}
|