@fluentui/react-provider 9.13.15 → 9.13.17

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 CHANGED
@@ -1,12 +1,37 @@
1
1
  # Change Log - @fluentui/react-provider
2
2
 
3
- This log was last generated on Fri, 15 Mar 2024 21:37:57 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 02 Apr 2024 09:41:20 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.13.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.13.17)
8
+
9
+ Tue, 02 Apr 2024 09:41:20 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.13.16..@fluentui/react-provider_v9.13.17)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-shared-contexts to v9.16.0 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
15
+ - Bump @fluentui/react-tabster to v9.19.6 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.18.6 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
17
+ - Bump @fluentui/react-jsx-runtime to v9.0.35 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
18
+
19
+ ## [9.13.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.13.16)
20
+
21
+ Mon, 18 Mar 2024 19:50:46 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.13.15..@fluentui/react-provider_v9.13.16)
23
+
24
+ ### Patches
25
+
26
+ - Bump @fluentui/react-shared-contexts to v9.15.2 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
27
+ - Bump @fluentui/react-tabster to v9.19.5 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
28
+ - Bump @fluentui/react-theme to v9.1.19 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
29
+ - Bump @fluentui/react-utilities to v9.18.5 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
30
+ - Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
31
+
7
32
  ## [9.13.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.13.15)
8
33
 
9
- Fri, 15 Mar 2024 21:37:57 GMT
34
+ Fri, 15 Mar 2024 21:43:49 GMT
10
35
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.13.14..@fluentui/react-provider_v9.13.15)
11
36
 
12
37
  ### Patches
@@ -1 +1 @@
1
- {"version":3,"sources":["FluentProvider.types.ts"],"sourcesContent":["import type { IconDirectionContextValue } from '@fluentui/react-icons';\nimport type {\n OverridesContextValue_unstable as OverridesContextValue,\n ProviderContextValue_unstable as ProviderContextValue,\n TooltipVisibilityContextValue_unstable as TooltipVisibilityContextValue,\n ThemeClassNameContextValue_unstable as ThemeClassNameContextValue,\n ThemeContextValue_unstable as ThemeContextValue,\n CustomStyleHooksContextValue_unstable as CustomStyleHooksContextValue,\n} from '@fluentui/react-shared-contexts';\nimport type { PartialTheme } from '@fluentui/react-theme';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type FluentProviderSlots = {\n root: Slot<'div'>;\n};\n\n// exported for callers to avoid referencing react-shared-context\n// and applying Partial<> when passing custom style hooks.\nexport type FluentProviderCustomStyleHooks = CustomStyleHooksContextValue;\n\nexport type FluentProviderProps = Omit<ComponentProps<FluentProviderSlots>, 'dir'> & {\n /**\n * Passes styles applied to a component down to portals if enabled.\n * @default true\n */\n applyStylesToPortals?: boolean;\n\n /** Sets the hooks for custom styling components. */\n // eslint-disable-next-line @typescript-eslint/naming-convention\n customStyleHooks_unstable?: FluentProviderCustomStyleHooks;\n\n /** Sets the direction of text & generated styles. */\n dir?: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument?: Document;\n\n /** Sets the theme used in a scope. */\n theme?: PartialTheme;\n\n // eslint-disable-next-line @typescript-eslint/naming-convention\n overrides_unstable?: OverridesContextValue;\n};\n\nexport type FluentProviderState = ComponentState<FluentProviderSlots> &\n Pick<FluentProviderProps, 'targetDocument'> &\n Required<\n Pick<FluentProviderProps, 'applyStylesToPortals' | 'customStyleHooks_unstable' | 'dir' | 'overrides_unstable'>\n > & {\n theme: ThemeContextValue;\n themeClassName: string;\n /**\n * Props used to render SSR theme variables style element\n */\n serverStyleProps: {\n /**\n * CSS rule containing CSS variables\n */\n cssRule: string;\n /**\n * Additional attributes applied to the style element\n */\n attributes: Record<string, string>;\n };\n };\n\nexport type FluentProviderContextValues = Pick<\n FluentProviderState,\n 'customStyleHooks_unstable' | 'theme' | 'overrides_unstable'\n> & {\n provider: ProviderContextValue;\n themeClassName: ThemeClassNameContextValue;\n textDirection: 'ltr' | 'rtl';\n iconDirection: IconDirectionContextValue;\n tooltip: TooltipVisibilityContextValue;\n};\n"],"names":[],"mappings":"AAkEA,WASE"}
1
+ {"version":3,"sources":["FluentProvider.types.ts"],"sourcesContent":["import type { IconDirectionContextValue } from '@fluentui/react-icons';\nimport type {\n OverridesContextValue_unstable as OverridesContextValue,\n ProviderContextValue_unstable as ProviderContextValue,\n TooltipVisibilityContextValue_unstable as TooltipVisibilityContextValue,\n ThemeClassNameContextValue_unstable as ThemeClassNameContextValue,\n ThemeContextValue_unstable as ThemeContextValue,\n CustomStyleHooksContextValue_unstable as CustomStyleHooksContextValue,\n} from '@fluentui/react-shared-contexts';\nimport type { PartialTheme } from '@fluentui/react-theme';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type FluentProviderSlots = {\n root: Slot<'div'>;\n};\n\n// exported for callers to avoid referencing react-shared-context\n// and applying Partial<> when passing custom style hooks.\nexport type FluentProviderCustomStyleHooks = CustomStyleHooksContextValue;\n\nexport type FluentProviderProps = Omit<ComponentProps<FluentProviderSlots>, 'dir'> & {\n /**\n * Passes styles applied to a component down to portals if enabled.\n * @default true\n */\n applyStylesToPortals?: boolean;\n\n /** Sets the hooks for custom styling components. */\n // eslint-disable-next-line @typescript-eslint/naming-convention\n customStyleHooks_unstable?: FluentProviderCustomStyleHooks;\n\n /** Sets the direction of text & generated styles. */\n dir?: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument?: Document;\n\n /** Sets the theme used in a scope. */\n theme?: PartialTheme;\n\n // eslint-disable-next-line @typescript-eslint/naming-convention\n overrides_unstable?: OverridesContextValue;\n};\n\nexport type FluentProviderState = ComponentState<FluentProviderSlots> &\n Pick<FluentProviderProps, 'targetDocument'> &\n Required<\n Pick<FluentProviderProps, 'applyStylesToPortals' | 'customStyleHooks_unstable' | 'dir' | 'overrides_unstable'>\n > & {\n theme: ThemeContextValue;\n themeClassName: string;\n /**\n * Props used to render SSR theme variables style element\n */\n serverStyleProps: {\n /**\n * CSS rule containing CSS variables\n */\n cssRule: string;\n /**\n * Additional attributes applied to the style element\n */\n attributes: Record<string, string>;\n };\n };\n\nexport type FluentProviderContextValues = Pick<\n FluentProviderState,\n 'customStyleHooks_unstable' | 'theme' | 'overrides_unstable'\n> & {\n provider: ProviderContextValue;\n themeClassName: ThemeClassNameContextValue;\n textDirection: 'ltr' | 'rtl';\n iconDirection: IconDirectionContextValue;\n tooltip: TooltipVisibilityContextValue;\n};\n"],"names":[],"mappings":"AAAA,WA2EE"}
@@ -9,29 +9,29 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- FluentProvider: function() {
13
- return _FluentProvider.FluentProvider;
14
- },
15
12
  createCSSRuleFromTheme: function() {
16
13
  return _FluentProvider.createCSSRuleFromTheme;
17
14
  },
18
15
  fluentProviderClassNames: function() {
19
16
  return _FluentProvider.fluentProviderClassNames;
20
17
  },
18
+ FluentProvider: function() {
19
+ return _FluentProvider.FluentProvider;
20
+ },
21
21
  renderFluentProvider_unstable: function() {
22
22
  return _FluentProvider.renderFluentProvider_unstable;
23
23
  },
24
24
  useFluentProviderContextValues_unstable: function() {
25
25
  return _FluentProvider.useFluentProviderContextValues_unstable;
26
26
  },
27
+ useFluentProvider_unstable: function() {
28
+ return _FluentProvider.useFluentProvider_unstable;
29
+ },
27
30
  useFluentProviderStyles_unstable: function() {
28
31
  return _FluentProvider.useFluentProviderStyles_unstable;
29
32
  },
30
33
  useFluentProviderThemeStyleTag: function() {
31
34
  return _FluentProvider.useFluentProviderThemeStyleTag;
32
- },
33
- useFluentProvider_unstable: function() {
34
- return _FluentProvider.useFluentProvider_unstable;
35
35
  }
36
36
  });
37
37
  const _FluentProvider = require("./FluentProvider");
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export { createCSSRuleFromTheme, fluentProviderClassNames, FluentProvider, renderFluentProvider_unstable, useFluentProviderContextValues_unstable, useFluentProvider_unstable, useFluentProviderStyles_unstable, useFluentProviderThemeStyleTag } from './FluentProvider';\n"],"names":["FluentProvider","createCSSRuleFromTheme","fluentProviderClassNames","renderFluentProvider_unstable","useFluentProviderContextValues_unstable","useFluentProviderStyles_unstable","useFluentProviderThemeStyleTag","useFluentProvider_unstable"],"mappings":";;;;;;;;;;;IAA2DA,cAAc;eAAdA,8BAAc;;IAAhEC,sBAAsB;eAAtBA,sCAAsB;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IAAkBC,6BAA6B;eAA7BA,6CAA6B;;IAAEC,uCAAuC;eAAvCA,uDAAuC;;IAA8BC,gCAAgC;eAAhCA,gDAAgC;;IAAEC,8BAA8B;eAA9BA,8CAA8B;;IAA5FC,0BAA0B;eAA1BA,0CAA0B;;;gCAA0E"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export { createCSSRuleFromTheme, fluentProviderClassNames, FluentProvider, renderFluentProvider_unstable, useFluentProviderContextValues_unstable, useFluentProvider_unstable, useFluentProviderStyles_unstable, useFluentProviderThemeStyleTag } from './FluentProvider';\n"],"names":["createCSSRuleFromTheme","fluentProviderClassNames","FluentProvider","renderFluentProvider_unstable","useFluentProviderContextValues_unstable","useFluentProvider_unstable","useFluentProviderStyles_unstable","useFluentProviderThemeStyleTag"],"mappings":";;;;;;;;;;;IAASA,sBAAsB;eAAtBA,sCAAsB;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IAAEC,cAAc;eAAdA,8BAAc;;IAAEC,6BAA6B;eAA7BA,6CAA6B;;IAAEC,uCAAuC;eAAvCA,uDAAuC;;IAAEC,0BAA0B;eAA1BA,0CAA0B;;IAAEC,gCAAgC;eAAhCA,gDAAgC;;IAAEC,8BAA8B;eAA9BA,8CAA8B;;;gCAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-provider",
3
- "version": "9.13.15",
3
+ "version": "9.13.17",
4
4
  "description": "Fluent UI React provider component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@fluentui/react-icons": "^2.0.224",
37
- "@fluentui/react-shared-contexts": "^9.15.1",
38
- "@fluentui/react-tabster": "^9.19.4",
39
- "@fluentui/react-theme": "^9.1.18",
40
- "@fluentui/react-utilities": "^9.18.4",
41
- "@fluentui/react-jsx-runtime": "^9.0.33",
37
+ "@fluentui/react-shared-contexts": "^9.16.0",
38
+ "@fluentui/react-tabster": "^9.19.6",
39
+ "@fluentui/react-theme": "^9.1.19",
40
+ "@fluentui/react-utilities": "^9.18.6",
41
+ "@fluentui/react-jsx-runtime": "^9.0.35",
42
42
  "@griffel/core": "^1.14.1",
43
43
  "@griffel/react": "^1.5.14",
44
44
  "@swc/helpers": "^0.5.1"