@fluentui/react-provider 9.8.4 → 9.8.5
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 +16 -1
- package/CHANGELOG.md +11 -2
- package/lib/components/FluentProvider/renderFluentProvider.js +1 -1
- package/lib-commonjs/components/FluentProvider/renderFluentProvider.js +1 -1
- package/lib-commonjs/components/FluentProvider/renderFluentProvider.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,22 @@
|
|
2
2
|
"name": "@fluentui/react-provider",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Thu, 14 Sep 2023 16:40:23 GMT",
|
6
|
+
"tag": "@fluentui/react-provider_v9.8.5",
|
7
|
+
"version": "9.8.5",
|
8
|
+
"comments": {
|
9
|
+
"patch": [
|
10
|
+
{
|
11
|
+
"author": "beachball",
|
12
|
+
"package": "@fluentui/react-provider",
|
13
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.8",
|
14
|
+
"commit": "bad33fa7f241bc772b5bc4c6ee624d6ff6b4a473"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
}
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"date": "Tue, 12 Sep 2023 08:51:34 GMT",
|
6
21
|
"tag": "@fluentui/react-provider_v9.8.4",
|
7
22
|
"version": "9.8.4",
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,21 @@
|
|
1
1
|
# Change Log - @fluentui/react-provider
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 14 Sep 2023 16:40:23 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.8.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.8.5)
|
8
|
+
|
9
|
+
Thu, 14 Sep 2023 16:40:23 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.8.4..@fluentui/react-provider_v9.8.5)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.8 ([PR #29145](https://github.com/microsoft/fluentui/pull/29145) by beachball)
|
15
|
+
|
7
16
|
## [9.8.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.8.4)
|
8
17
|
|
9
|
-
Tue, 12 Sep 2023 08:
|
18
|
+
Tue, 12 Sep 2023 08:51:34 GMT
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.8.3..@fluentui/react-provider_v9.8.4)
|
11
20
|
|
12
21
|
### Patches
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
2
2
|
import { canUseDOM, assertSlots } from '@fluentui/react-utilities';
|
3
3
|
import { TextDirectionProvider } from '@griffel/react';
|
4
4
|
import { OverridesProvider_unstable as OverridesProvider, Provider_unstable as Provider, TooltipVisibilityProvider_unstable as TooltipVisibilityProvider, ThemeProvider_unstable as ThemeProvider, ThemeClassNameProvider_unstable as ThemeClassNameProvider, CustomStyleHooksProvider_unstable as CustomStyleHooksProvider } from '@fluentui/react-shared-contexts';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["renderFluentProvider.js"],"sourcesContent":["
|
1
|
+
{"version":3,"sources":["renderFluentProvider.js"],"sourcesContent":[" import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { canUseDOM, assertSlots } from '@fluentui/react-utilities';\nimport { TextDirectionProvider } from '@griffel/react';\nimport { OverridesProvider_unstable as OverridesProvider, Provider_unstable as Provider, TooltipVisibilityProvider_unstable as TooltipVisibilityProvider, ThemeProvider_unstable as ThemeProvider, ThemeClassNameProvider_unstable as ThemeClassNameProvider, CustomStyleHooksProvider_unstable as CustomStyleHooksProvider } from '@fluentui/react-shared-contexts';\nimport { IconDirectionContextProvider } from '@fluentui/react-icons';\n/**\n * Render the final JSX of FluentProvider\n */ export const renderFluentProvider_unstable = (state, contextValues)=>{\n assertSlots(state);\n // Typescript (vscode) incorrectly references the FluentProviderProps.customStyleHooks_unstable\n // instead of FluentProviderContextValues.customStyleHooks_unstable and thinks it is\n // Partial<CustomStyleHooksContextValue>, so it needs to be cast to Required<CustomStyleHooksContextValue>\n return /*#__PURE__*/ _jsx(Provider, {\n value: contextValues.provider,\n children: /*#__PURE__*/ _jsx(ThemeProvider, {\n value: contextValues.theme,\n children: /*#__PURE__*/ _jsx(ThemeClassNameProvider, {\n value: contextValues.themeClassName,\n children: /*#__PURE__*/ _jsx(CustomStyleHooksProvider, {\n value: contextValues.customStyleHooks_unstable,\n children: /*#__PURE__*/ _jsx(TooltipVisibilityProvider, {\n value: contextValues.tooltip,\n children: /*#__PURE__*/ _jsx(TextDirectionProvider, {\n dir: contextValues.textDirection,\n children: /*#__PURE__*/ _jsx(IconDirectionContextProvider, {\n value: contextValues.iconDirection,\n children: /*#__PURE__*/ _jsx(OverridesProvider, {\n value: contextValues.overrides_unstable,\n children: /*#__PURE__*/ _jsxs(state.root, {\n children: [\n canUseDOM() ? null : /*#__PURE__*/ _jsx(\"style\", {\n // Using dangerous HTML because react can escape characters\n // which can lead to invalid CSS.\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML: {\n __html: state.serverStyleProps.cssRule\n },\n ...state.serverStyleProps.attributes\n }),\n state.root.children\n ]\n })\n })\n })\n })\n })\n })\n })\n })\n });\n};\n"],"names":["renderFluentProvider_unstable","state","contextValues","assertSlots","_jsx","Provider","value","provider","children","ThemeProvider","theme","ThemeClassNameProvider","themeClassName","CustomStyleHooksProvider","customStyleHooks_unstable","TooltipVisibilityProvider","tooltip","TextDirectionProvider","dir","textDirection","IconDirectionContextProvider","iconDirection","OverridesProvider","overrides_unstable","_jsxs","root","canU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B,gBAAgB,CAACC,OAAO;gDAC1C;gDACA,GAAG7B,MAAM4B,gBAAgB,CAACE,UAAU;4CACxC;4CACA9B,MAAMwB,IAAI,CAACjB,QAAQ;yCACtB;oCACL;gCACJ;4BACJ;wBACJ;oBACJ;gBACJ;YACJ;QACJ;IACJ;AACJ"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-provider",
|
3
|
-
"version": "9.8.
|
3
|
+
"version": "9.8.5",
|
4
4
|
"description": "Fluent UI React provider component",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"@fluentui/react-tabster": "^9.12.9",
|
39
39
|
"@fluentui/react-theme": "^9.1.12",
|
40
40
|
"@fluentui/react-utilities": "^9.13.3",
|
41
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
41
|
+
"@fluentui/react-jsx-runtime": "^9.0.8",
|
42
42
|
"@griffel/core": "^1.14.1",
|
43
43
|
"@griffel/react": "^1.5.14",
|
44
44
|
"@swc/helpers": "^0.5.1"
|