@fluentui/react-shared-contexts 0.0.0-nightlyff78d1e27a20220217.1 → 0.0.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.
Files changed (103) hide show
  1. package/CHANGELOG.json +215 -8
  2. package/CHANGELOG.md +138 -46
  3. package/dist/index.d.ts +67 -0
  4. package/{lib → dist}/tsdoc-metadata.json +0 -0
  5. package/lib/ProviderContext/ProviderContext.js +10 -1
  6. package/lib/ProviderContext/ProviderContext.js.map +1 -1
  7. package/lib/ProviderContext/index.js +0 -1
  8. package/lib/ProviderContext/index.js.map +1 -1
  9. package/lib/ThemeClassNameContext/ThemeClassNameContext.js +4 -1
  10. package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  11. package/lib/ThemeContext/ThemeContext.js +9 -3
  12. package/lib/ThemeContext/ThemeContext.js.map +1 -1
  13. package/lib/TooltipVisibilityContext/TooltipContext.js +20 -0
  14. package/lib/TooltipVisibilityContext/TooltipContext.js.map +1 -0
  15. package/lib/{TooltipContext → TooltipVisibilityContext}/index.js +0 -0
  16. package/lib/TooltipVisibilityContext/index.js.map +1 -0
  17. package/lib/TooltipVisibilityContext.js +2 -0
  18. package/lib/TooltipVisibilityContext.js.map +1 -0
  19. package/lib/index.js +4 -5
  20. package/lib/index.js.map +1 -1
  21. package/lib-commonjs/ProviderContext/ProviderContext.js +12 -3
  22. package/lib-commonjs/ProviderContext/ProviderContext.js.map +1 -1
  23. package/lib-commonjs/ProviderContext/index.js +0 -2
  24. package/lib-commonjs/ProviderContext/index.js.map +1 -1
  25. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js +6 -3
  26. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  27. package/lib-commonjs/ThemeContext/ThemeContext.js +9 -6
  28. package/lib-commonjs/ThemeContext/ThemeContext.js.map +1 -1
  29. package/lib-commonjs/TooltipVisibilityContext/TooltipContext.js +30 -0
  30. package/lib-commonjs/TooltipVisibilityContext/TooltipContext.js.map +1 -0
  31. package/lib-commonjs/{TooltipContext → TooltipVisibilityContext}/index.js +0 -0
  32. package/lib-commonjs/TooltipVisibilityContext/index.js.map +1 -0
  33. package/lib-commonjs/{TooltipContext.js → TooltipVisibilityContext.js} +2 -2
  34. package/lib-commonjs/TooltipVisibilityContext.js.map +1 -0
  35. package/lib-commonjs/index.js +55 -6
  36. package/lib-commonjs/index.js.map +1 -1
  37. package/package.json +13 -16
  38. package/dist/react-shared-contexts.d.ts +0 -61
  39. package/lib/MenuContext/MenuContext.d.ts +0 -4
  40. package/lib/MenuContext/MenuContext.js +0 -6
  41. package/lib/MenuContext/MenuContext.js.map +0 -1
  42. package/lib/MenuContext/index.d.ts +0 -2
  43. package/lib/MenuContext/index.js +0 -3
  44. package/lib/MenuContext/index.js.map +0 -1
  45. package/lib/MenuContext/types.d.ts +0 -6
  46. package/lib/MenuContext/types.js +0 -2
  47. package/lib/MenuContext/types.js.map +0 -1
  48. package/lib/MenuContext.d.ts +0 -1
  49. package/lib/MenuContext.js +0 -2
  50. package/lib/MenuContext.js.map +0 -1
  51. package/lib/ProviderContext/ProviderContext.d.ts +0 -4
  52. package/lib/ProviderContext/ProviderContext.types.d.ts +0 -6
  53. package/lib/ProviderContext/ProviderContext.types.js +0 -2
  54. package/lib/ProviderContext/ProviderContext.types.js.map +0 -1
  55. package/lib/ProviderContext/index.d.ts +0 -2
  56. package/lib/ProviderContext.d.ts +0 -1
  57. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  58. package/lib/ThemeClassNameContext/index.d.ts +0 -1
  59. package/lib/ThemeClassNameContext.d.ts +0 -1
  60. package/lib/ThemeContext/ThemeContext.d.ts +0 -4
  61. package/lib/ThemeContext/index.d.ts +0 -1
  62. package/lib/ThemeContext.d.ts +0 -1
  63. package/lib/TooltipContext/TooltipContext.d.ts +0 -17
  64. package/lib/TooltipContext/TooltipContext.js +0 -7
  65. package/lib/TooltipContext/TooltipContext.js.map +0 -1
  66. package/lib/TooltipContext/index.d.ts +0 -1
  67. package/lib/TooltipContext/index.js.map +0 -1
  68. package/lib/TooltipContext.d.ts +0 -1
  69. package/lib/TooltipContext.js +0 -2
  70. package/lib/TooltipContext.js.map +0 -1
  71. package/lib/index.d.ts +0 -5
  72. package/lib-commonjs/MenuContext/MenuContext.d.ts +0 -4
  73. package/lib-commonjs/MenuContext/MenuContext.js +0 -17
  74. package/lib-commonjs/MenuContext/MenuContext.js.map +0 -1
  75. package/lib-commonjs/MenuContext/index.d.ts +0 -2
  76. package/lib-commonjs/MenuContext/index.js +0 -12
  77. package/lib-commonjs/MenuContext/index.js.map +0 -1
  78. package/lib-commonjs/MenuContext/types.d.ts +0 -6
  79. package/lib-commonjs/MenuContext/types.js +0 -6
  80. package/lib-commonjs/MenuContext/types.js.map +0 -1
  81. package/lib-commonjs/MenuContext.d.ts +0 -1
  82. package/lib-commonjs/MenuContext.js +0 -10
  83. package/lib-commonjs/MenuContext.js.map +0 -1
  84. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +0 -4
  85. package/lib-commonjs/ProviderContext/ProviderContext.types.d.ts +0 -6
  86. package/lib-commonjs/ProviderContext/ProviderContext.types.js +0 -6
  87. package/lib-commonjs/ProviderContext/ProviderContext.types.js.map +0 -1
  88. package/lib-commonjs/ProviderContext/index.d.ts +0 -2
  89. package/lib-commonjs/ProviderContext.d.ts +0 -1
  90. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  91. package/lib-commonjs/ThemeClassNameContext/index.d.ts +0 -1
  92. package/lib-commonjs/ThemeClassNameContext.d.ts +0 -1
  93. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +0 -4
  94. package/lib-commonjs/ThemeContext/index.d.ts +0 -1
  95. package/lib-commonjs/ThemeContext.d.ts +0 -1
  96. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -17
  97. package/lib-commonjs/TooltipContext/TooltipContext.js +0 -15
  98. package/lib-commonjs/TooltipContext/TooltipContext.js.map +0 -1
  99. package/lib-commonjs/TooltipContext/index.d.ts +0 -1
  100. package/lib-commonjs/TooltipContext/index.js.map +0 -1
  101. package/lib-commonjs/TooltipContext.d.ts +0 -1
  102. package/lib-commonjs/TooltipContext.js.map +0 -1
  103. package/lib-commonjs/index.d.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,34 +1,126 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Thu, 17 Feb 2022 11:41:14 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 28 Jun 2022 04:31:16 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlyff78d1e27a20220217.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightlyff78d1e27a20220217.1)
7
+ ## [0.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0)
8
8
 
9
- Thu, 17 Feb 2022 11:41:14 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.1..@fluentui/react-shared-contexts_v0.0.0-nightlyff78d1e27a20220217.1)
9
+ Tue, 28 Jun 2022 04:31:16 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.11..@fluentui/react-shared-contexts_v0.0.0)
11
+
12
+ ### Patches
13
+
14
+ - feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
15
+ - Bump @fluentui/react-theme to v0.0.0 ([commit](https://github.com/microsoft/fluentui/commit/3dd54b72d321c3345a21b4175ffe89e7c457c094) by beachball)
16
+
17
+ ### Changes
18
+
19
+ - chore: Mark teams-prg owned APIs with @internal ([PR #23689](https://github.com/microsoft/fluentui/pull/23689) by lingfangao@hotmail.com)
20
+ - Update 9.0.0-rc dependencies to use caret range ([PR #23732](https://github.com/microsoft/fluentui/pull/23732) by lingfangao@hotmail.com)
21
+
22
+ ## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.11)
23
+
24
+ Thu, 23 Jun 2022 14:25:31 GMT
25
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.10..@fluentui/react-shared-contexts_v9.0.0-rc.11)
26
+
27
+ ### Changes
28
+
29
+ - Bump @fluentui/react-theme to v9.0.0-rc.10 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
30
+
31
+ ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.10)
32
+
33
+ Tue, 31 May 2022 21:28:45 GMT
34
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.9..@fluentui/react-shared-contexts_v9.0.0-rc.10)
35
+
36
+ ### Changes
37
+
38
+ - remove unused MenuContext ([PR #23277](https://github.com/microsoft/fluentui/pull/23277) by olfedias@microsoft.com)
39
+ - remove useTheme from exports ([PR #23335](https://github.com/microsoft/fluentui/pull/23335) by me@levithomason.com)
40
+ - mark context hooks and providers to unstable ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by bernardo.sunderhus@gmail.com)
41
+
42
+ ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.9)
43
+
44
+ Mon, 23 May 2022 18:56:51 GMT
45
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.8..@fluentui/react-shared-contexts_v9.0.0-rc.9)
46
+
47
+ ### Changes
48
+
49
+ - Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
50
+
51
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.8)
52
+
53
+ Mon, 23 May 2022 12:13:38 GMT
54
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.7..@fluentui/react-shared-contexts_v9.0.0-rc.8)
55
+
56
+ ### Changes
57
+
58
+ - feat: ship rolluped only dts ([PR #22965](https://github.com/microsoft/fluentui/pull/22965) by martinhochel@microsoft.com)
59
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
60
+
61
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.7)
62
+
63
+ Thu, 05 May 2022 18:26:26 GMT
64
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.6..@fluentui/react-shared-contexts_v9.0.0-rc.7)
65
+
66
+ ### Changes
67
+
68
+ - Removing star exports. ([PR #22808](https://github.com/microsoft/fluentui/pull/22808) by humberto_makoto@hotmail.com)
69
+ - Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
70
+
71
+ ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.6)
72
+
73
+ Wed, 04 May 2022 13:26:54 GMT
74
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.5..@fluentui/react-shared-contexts_v9.0.0-rc.6)
75
+
76
+ ### Changes
77
+
78
+ - Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
79
+
80
+ ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.5)
81
+
82
+ Tue, 19 Apr 2022 19:16:52 GMT
83
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.4..@fluentui/react-shared-contexts_v9.0.0-rc.5)
84
+
85
+ ### Changes
86
+
87
+ - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
88
+
89
+ ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.4)
90
+
91
+ Fri, 04 Mar 2022 05:17:29 GMT
92
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.3..@fluentui/react-shared-contexts_v9.0.0-rc.4)
93
+
94
+ ### Changes
95
+
96
+ - Adding explicit export maps on all consumer packages for FUIR 8 and 9. ([PR #21508](https://github.com/microsoft/fluentui/pull/21508) by dzearing@microsoft.com)
97
+ - Bump @fluentui/react-theme to v9.0.0-rc.4 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
98
+
99
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.3)
100
+
101
+ Fri, 18 Feb 2022 13:35:34 GMT
102
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.1..@fluentui/react-shared-contexts_v9.0.0-rc.3)
11
103
 
12
104
  ### Changes
13
105
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by email not defined)
15
- - Bump @fluentui/react-theme to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
106
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
107
+ - Bump @fluentui/react-theme to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
16
108
 
17
109
  ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1)
18
110
 
19
- Thu, 10 Feb 2022 08:50:48 GMT
111
+ Thu, 10 Feb 2022 08:50:48 GMT
20
112
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v9.0.0-rc.1)
21
113
 
22
114
  ### Changes
23
115
 
24
116
  - make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
25
- - Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
117
+ - Rename component hooks add the suffix \_unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
26
118
  - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
27
119
  - Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
28
120
 
29
121
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
30
122
 
31
- Thu, 25 Nov 2021 08:34:16 GMT
123
+ Thu, 25 Nov 2021 08:34:16 GMT
32
124
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.3..@fluentui/react-shared-contexts_v9.0.0-beta.4)
33
125
 
34
126
  ### Changes
@@ -37,7 +129,7 @@ Thu, 25 Nov 2021 08:34:16 GMT
37
129
 
38
130
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
39
131
 
40
- Fri, 12 Nov 2021 13:25:32 GMT
132
+ Fri, 12 Nov 2021 13:25:32 GMT
41
133
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.2..@fluentui/react-shared-contexts_v9.0.0-beta.3)
42
134
 
43
135
  ### Changes
@@ -47,7 +139,7 @@ Fri, 12 Nov 2021 13:25:32 GMT
47
139
 
48
140
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
49
141
 
50
- Wed, 27 Oct 2021 12:14:24 GMT
142
+ Wed, 27 Oct 2021 12:14:24 GMT
51
143
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.1..@fluentui/react-shared-contexts_v9.0.0-beta.2)
52
144
 
53
145
  ### Changes
@@ -56,7 +148,7 @@ Wed, 27 Oct 2021 12:14:24 GMT
56
148
 
57
149
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
58
150
 
59
- Wed, 06 Oct 2021 10:37:22 GMT
151
+ Wed, 06 Oct 2021 10:37:22 GMT
60
152
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.28..@fluentui/react-shared-contexts_v9.0.0-beta.1)
61
153
 
62
154
  ### Changes
@@ -66,7 +158,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
66
158
 
67
159
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
68
160
 
69
- Fri, 01 Oct 2021 14:13:08 GMT
161
+ Fri, 01 Oct 2021 14:13:08 GMT
70
162
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.26..@fluentui/react-shared-contexts_v9.0.0-alpha.28)
71
163
 
72
164
  ### Changes
@@ -76,7 +168,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
76
168
 
77
169
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
78
170
 
79
- Wed, 29 Sep 2021 08:06:11 GMT
171
+ Wed, 29 Sep 2021 08:06:11 GMT
80
172
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.25..@fluentui/react-shared-contexts_v9.0.0-alpha.26)
81
173
 
82
174
  ### Changes
@@ -85,7 +177,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
85
177
 
86
178
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
87
179
 
88
- Tue, 21 Sep 2021 07:42:34 GMT
180
+ Tue, 21 Sep 2021 07:42:34 GMT
89
181
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.24..@fluentui/react-shared-contexts_v9.0.0-alpha.25)
90
182
 
91
183
  ### Changes
@@ -94,7 +186,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
94
186
 
95
187
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
96
188
 
97
- Fri, 10 Sep 2021 16:31:53 GMT
189
+ Fri, 10 Sep 2021 16:31:53 GMT
98
190
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.23..@fluentui/react-shared-contexts_v9.0.0-alpha.24)
99
191
 
100
192
  ### Changes
@@ -103,7 +195,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
103
195
 
104
196
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
105
197
 
106
- Tue, 24 Aug 2021 07:34:48 GMT
198
+ Tue, 24 Aug 2021 07:34:48 GMT
107
199
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.22..@fluentui/react-shared-contexts_v9.0.0-alpha.23)
108
200
 
109
201
  ### Changes
@@ -112,7 +204,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
112
204
 
113
205
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
114
206
 
115
- Fri, 20 Aug 2021 07:37:28 GMT
207
+ Fri, 20 Aug 2021 07:37:28 GMT
116
208
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.21..@fluentui/react-shared-contexts_v9.0.0-alpha.22)
117
209
 
118
210
  ### Changes
@@ -121,7 +213,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
121
213
 
122
214
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
123
215
 
124
- Fri, 13 Aug 2021 07:36:34 GMT
216
+ Fri, 13 Aug 2021 07:36:34 GMT
125
217
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.20..@fluentui/react-shared-contexts_v9.0.0-alpha.21)
126
218
 
127
219
  ### Changes
@@ -130,7 +222,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
130
222
 
131
223
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
132
224
 
133
- Tue, 03 Aug 2021 07:39:30 GMT
225
+ Tue, 03 Aug 2021 07:39:30 GMT
134
226
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.19..@fluentui/react-shared-contexts_v9.0.0-alpha.20)
135
227
 
136
228
  ### Patches
@@ -141,7 +233,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
141
233
 
142
234
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
143
235
 
144
- Mon, 26 Jul 2021 07:37:30 GMT
236
+ Mon, 26 Jul 2021 07:37:30 GMT
145
237
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.18..@fluentui/react-shared-contexts_v9.0.0-alpha.19)
146
238
 
147
239
  ### Changes
@@ -150,7 +242,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
150
242
 
151
243
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
152
244
 
153
- Fri, 23 Jul 2021 07:38:19 GMT
245
+ Fri, 23 Jul 2021 07:38:19 GMT
154
246
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.17..@fluentui/react-shared-contexts_v9.0.0-alpha.18)
155
247
 
156
248
  ### Changes
@@ -159,7 +251,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
159
251
 
160
252
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
161
253
 
162
- Fri, 09 Jul 2021 07:39:31 GMT
254
+ Fri, 09 Jul 2021 07:39:31 GMT
163
255
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.16..@fluentui/react-shared-contexts_v9.0.0-alpha.17)
164
256
 
165
257
  ### Patches
@@ -170,7 +262,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
170
262
 
171
263
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
172
264
 
173
- Fri, 02 Jul 2021 07:37:06 GMT
265
+ Fri, 02 Jul 2021 07:37:06 GMT
174
266
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.15..@fluentui/react-shared-contexts_v9.0.0-alpha.16)
175
267
 
176
268
  ### Changes
@@ -179,7 +271,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
179
271
 
180
272
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
181
273
 
182
- Mon, 07 Jun 2021 07:38:15 GMT
274
+ Mon, 07 Jun 2021 07:38:15 GMT
183
275
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.14..@fluentui/react-shared-contexts_v9.0.0-alpha.15)
184
276
 
185
277
  ### Patches
@@ -190,7 +282,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
190
282
 
191
283
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
192
284
 
193
- Fri, 04 Jun 2021 07:37:23 GMT
285
+ Fri, 04 Jun 2021 07:37:23 GMT
194
286
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.13..@fluentui/react-shared-contexts_v9.0.0-alpha.14)
195
287
 
196
288
  ### Changes
@@ -199,7 +291,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
199
291
 
200
292
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
201
293
 
202
- Thu, 03 Jun 2021 07:36:03 GMT
294
+ Thu, 03 Jun 2021 07:36:03 GMT
203
295
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.12..@fluentui/react-shared-contexts_v9.0.0-alpha.13)
204
296
 
205
297
  ### Changes
@@ -208,7 +300,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
208
300
 
209
301
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
210
302
 
211
- Thu, 20 May 2021 07:41:54 GMT
303
+ Thu, 20 May 2021 07:41:54 GMT
212
304
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.11..@fluentui/react-shared-contexts_v9.0.0-alpha.12)
213
305
 
214
306
  ### Patches
@@ -219,7 +311,7 @@ Thu, 20 May 2021 07:41:54 GMT
219
311
 
220
312
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
221
313
 
222
- Wed, 19 May 2021 07:34:20 GMT
314
+ Wed, 19 May 2021 07:34:20 GMT
223
315
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.10..@fluentui/react-shared-contexts_v9.0.0-alpha.11)
224
316
 
225
317
  ### Changes
@@ -228,7 +320,7 @@ Wed, 19 May 2021 07:34:20 GMT
228
320
 
229
321
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
230
322
 
231
- Thu, 13 May 2021 07:36:55 GMT
323
+ Thu, 13 May 2021 07:36:55 GMT
232
324
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.9..@fluentui/react-shared-contexts_v9.0.0-alpha.10)
233
325
 
234
326
  ### Changes
@@ -237,7 +329,7 @@ Thu, 13 May 2021 07:36:55 GMT
237
329
 
238
330
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
239
331
 
240
- Wed, 12 May 2021 07:36:20 GMT
332
+ Wed, 12 May 2021 07:36:20 GMT
241
333
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.8..@fluentui/react-shared-contexts_v9.0.0-alpha.9)
242
334
 
243
335
  ### Changes
@@ -246,7 +338,7 @@ Wed, 12 May 2021 07:36:20 GMT
246
338
 
247
339
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
248
340
 
249
- Fri, 30 Apr 2021 07:42:23 GMT
341
+ Fri, 30 Apr 2021 07:42:23 GMT
250
342
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.7..@fluentui/react-shared-contexts_v9.0.0-alpha.8)
251
343
 
252
344
  ### Patches
@@ -261,7 +353,7 @@ Fri, 30 Apr 2021 07:42:23 GMT
261
353
 
262
354
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
263
355
 
264
- Fri, 23 Apr 2021 07:37:10 GMT
356
+ Fri, 23 Apr 2021 07:37:10 GMT
265
357
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.6..@fluentui/react-shared-contexts_v9.0.0-alpha.7)
266
358
 
267
359
  ### Patches
@@ -272,7 +364,7 @@ Fri, 23 Apr 2021 07:37:10 GMT
272
364
 
273
365
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6)
274
366
 
275
- Tue, 20 Apr 2021 07:31:35 GMT
367
+ Tue, 20 Apr 2021 07:31:35 GMT
276
368
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.5..@fluentui/react-shared-contexts_v9.0.0-alpha.6)
277
369
 
278
370
  ### Changes
@@ -281,7 +373,7 @@ Tue, 20 Apr 2021 07:31:35 GMT
281
373
 
282
374
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5)
283
375
 
284
- Fri, 16 Apr 2021 18:08:21 GMT
376
+ Fri, 16 Apr 2021 18:08:21 GMT
285
377
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.4..@fluentui/react-shared-contexts_v9.0.0-alpha.5)
286
378
 
287
379
  ### Changes
@@ -290,7 +382,7 @@ Fri, 16 Apr 2021 18:08:21 GMT
290
382
 
291
383
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
292
384
 
293
- Thu, 08 Apr 2021 07:33:06 GMT
385
+ Thu, 08 Apr 2021 07:33:06 GMT
294
386
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.3..@fluentui/react-shared-contexts_v9.0.0-alpha.4)
295
387
 
296
388
  ### Changes
@@ -299,7 +391,7 @@ Thu, 08 Apr 2021 07:33:06 GMT
299
391
 
300
392
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.3)
301
393
 
302
- Wed, 31 Mar 2021 00:53:43 GMT
394
+ Wed, 31 Mar 2021 00:53:43 GMT
303
395
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.2..@fluentui/react-shared-contexts_v9.0.0-alpha.3)
304
396
 
305
397
  ### Patches
@@ -310,7 +402,7 @@ Wed, 31 Mar 2021 00:53:43 GMT
310
402
 
311
403
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.2)
312
404
 
313
- Tue, 30 Mar 2021 07:34:45 GMT
405
+ Tue, 30 Mar 2021 07:34:45 GMT
314
406
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.11..@fluentui/react-shared-contexts_v9.0.0-alpha.2)
315
407
 
316
408
  ### Changes
@@ -320,7 +412,7 @@ Tue, 30 Mar 2021 07:34:45 GMT
320
412
 
321
413
  ## [1.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.11)
322
414
 
323
- Mon, 15 Mar 2021 07:36:20 GMT
415
+ Mon, 15 Mar 2021 07:36:20 GMT
324
416
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.10..@fluentui/react-shared-contexts_v1.0.0-beta.11)
325
417
 
326
418
  ### Changes
@@ -329,7 +421,7 @@ Mon, 15 Mar 2021 07:36:20 GMT
329
421
 
330
422
  ## [1.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.10)
331
423
 
332
- Fri, 26 Feb 2021 01:16:27 GMT
424
+ Fri, 26 Feb 2021 01:16:27 GMT
333
425
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.9..@fluentui/react-shared-contexts_v1.0.0-beta.10)
334
426
 
335
427
  ### Patches
@@ -345,7 +437,7 @@ Fri, 26 Feb 2021 01:16:27 GMT
345
437
 
346
438
  ## [1.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.9)
347
439
 
348
- Mon, 22 Feb 2021 12:26:22 GMT
440
+ Mon, 22 Feb 2021 12:26:22 GMT
349
441
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.8..@fluentui/react-shared-contexts_v1.0.0-beta.9)
350
442
 
351
443
  ### Changes
@@ -354,7 +446,7 @@ Mon, 22 Feb 2021 12:26:22 GMT
354
446
 
355
447
  ## [1.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.8)
356
448
 
357
- Thu, 18 Feb 2021 19:38:50 GMT
449
+ Thu, 18 Feb 2021 19:38:50 GMT
358
450
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.7..@fluentui/react-shared-contexts_v1.0.0-beta.8)
359
451
 
360
452
  ### Changes
@@ -363,7 +455,7 @@ Thu, 18 Feb 2021 19:38:50 GMT
363
455
 
364
456
  ## [1.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.7)
365
457
 
366
- Thu, 18 Feb 2021 12:27:34 GMT
458
+ Thu, 18 Feb 2021 12:27:34 GMT
367
459
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.6..@fluentui/react-shared-contexts_v1.0.0-beta.7)
368
460
 
369
461
  ### Changes
@@ -372,7 +464,7 @@ Thu, 18 Feb 2021 12:27:34 GMT
372
464
 
373
465
  ## [1.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.6)
374
466
 
375
- Mon, 15 Feb 2021 12:22:00 GMT
467
+ Mon, 15 Feb 2021 12:22:00 GMT
376
468
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.5..@fluentui/react-shared-contexts_v1.0.0-beta.6)
377
469
 
378
470
  ### Changes
@@ -381,12 +473,12 @@ Mon, 15 Feb 2021 12:22:00 GMT
381
473
 
382
474
  ## [1.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.4)
383
475
 
384
- Thu, 21 Jan 2021 12:36:12 GMT
476
+ Thu, 21 Jan 2021 12:36:12 GMT
385
477
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.1..@fluentui/react-shared-contexts_v1.0.0-beta.4)
386
478
 
387
479
  ### Changes
388
480
 
389
- - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
481
+ - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
390
482
 
391
483
  ## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.1)
392
484
 
@@ -0,0 +1,67 @@
1
+ import * as React_2 from 'react';
2
+ import type { Theme } from '@fluentui/react-theme';
3
+
4
+ /**
5
+ * @internal
6
+ */
7
+ export declare const Provider_unstable: React_2.Provider<ProviderContextValue_unstable>;
8
+
9
+ export declare type ProviderContextValue_unstable = {
10
+ /** Sets the direction of text & generated styles. */
11
+ dir: 'ltr' | 'rtl';
12
+ /** Provides the document, can be undefined during SSR render. */
13
+ targetDocument?: Document;
14
+ };
15
+
16
+ export declare type ThemeClassNameContextValue_unstable = string;
17
+
18
+ export declare const ThemeClassNameProvider_unstable: React_2.Provider<string>;
19
+
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const ThemeContext_unstable: React_2.Context<ThemeContextValue_unstable>;
24
+
25
+ /**
26
+ * @internal
27
+ */
28
+ export declare type ThemeContextValue_unstable = Theme | Partial<Theme> | undefined;
29
+
30
+ /**
31
+ * @internal
32
+ */
33
+ export declare const ThemeProvider_unstable: React_2.Provider<ThemeContextValue_unstable>;
34
+
35
+ /**
36
+ * @internal
37
+ * The context provided by TooltipProvider
38
+ */
39
+ export declare type TooltipVisibilityContextValue_unstable = {
40
+ /**
41
+ * When a tooltip is shown, it sets itself as the visibleTooltip.
42
+ * The next tooltip to become visible can use it to hide the previous tooltip immediately.
43
+ */
44
+ visibleTooltip?: {
45
+ hide: () => void;
46
+ };
47
+ };
48
+
49
+ /**
50
+ * @internal
51
+ */
52
+ export declare const TooltipVisibilityProvider_unstable: React_2.Provider<TooltipVisibilityContextValue_unstable>;
53
+
54
+ export declare function useFluent_unstable(): ProviderContextValue_unstable;
55
+
56
+ /**
57
+ * @internal
58
+ * @returns CSS class that applies css variables
59
+ */
60
+ export declare function useThemeClassName_unstable(): ThemeClassNameContextValue_unstable;
61
+
62
+ /**
63
+ * @internal
64
+ */
65
+ export declare function useTooltipVisibility_unstable(): TooltipVisibilityContextValue_unstable;
66
+
67
+ export { }
File without changes
@@ -1,8 +1,17 @@
1
1
  import * as React from 'react';
2
- export const ProviderContext = /*#__PURE__*/React.createContext({
2
+ /**
3
+ * @internal
4
+ */
5
+
6
+ const ProviderContext = /*#__PURE__*/React.createContext({
3
7
  targetDocument: typeof document === 'object' ? document : undefined,
4
8
  dir: 'ltr'
5
9
  });
10
+ /**
11
+ * @internal
12
+ */
13
+
14
+ export const Provider = ProviderContext.Provider;
6
15
  export function useFluent() {
7
16
  return React.useContext(ProviderContext);
8
17
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["ProviderContext/ProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,OAAO,MAAM,eAAe,gBAAG,KAAK,CAAC,aAAN,CAA0C;AACvE,EAAA,cAAc,EAAE,OAAO,QAAP,KAAoB,QAApB,GAA+B,QAA/B,GAA0C,SADa;AAEvE,EAAA,GAAG,EAAE;AAFkE,CAA1C,CAAxB;AAKP,OAAM,SAAU,SAAV,GAAmB;AACvB,SAAO,KAAK,CAAC,UAAN,CAAiB,eAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\nimport type { ProviderContextValue } from './ProviderContext.types';\n\nexport const ProviderContext = React.createContext<ProviderContextValue>({\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr',\n});\n\nexport function useFluent(): ProviderContextValue {\n return React.useContext(ProviderContext);\n}\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["ProviderContext/ProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAUA;;AAEG;;AACH,MAAM,eAAe,gBAAG,KAAK,CAAC,aAAN,CAA0C;EAChE,cAAc,EAAE,OAAO,QAAP,KAAoB,QAApB,GAA+B,QAA/B,GAA0C,SADM;EAEhE,GAAG,EAAE;AAF2D,CAA1C,CAAxB;AAKA;;AAEG;;AACH,OAAO,MAAM,QAAQ,GAAG,eAAe,CAAC,QAAjC;AAEP,OAAM,SAAU,SAAV,GAAmB;EACvB,OAAO,KAAK,CAAC,UAAN,CAAiB,eAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\n\nexport type ProviderContextValue = {\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\n/**\n * @internal\n */\nconst ProviderContext = React.createContext<ProviderContextValue>({\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr',\n});\n\n/**\n * @internal\n */\nexport const Provider = ProviderContext.Provider;\n\nexport function useFluent(): ProviderContextValue {\n return React.useContext(ProviderContext);\n}\n"],"sourceRoot":"../src/"}
@@ -1,3 +1,2 @@
1
1
  export * from './ProviderContext';
2
- export * from './ProviderContext.types';
3
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './ProviderContext';\nexport * from './ProviderContext.types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './ProviderContext';\n"]}
@@ -1,12 +1,15 @@
1
1
  import * as React from 'react';
2
2
  /**
3
+ * @internal
3
4
  * Used to provide a CSS class that applies theme css variables
4
5
  *
5
6
  * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
6
7
  */
7
8
 
8
- export const ThemeClassNameContext = /*#__PURE__*/React.createContext('');
9
+ const ThemeClassNameContext = /*#__PURE__*/React.createContext('');
10
+ export const ThemeClassNameProvider = ThemeClassNameContext.Provider;
9
11
  /**
12
+ * @internal
10
13
  * @returns CSS class that applies css variables
11
14
  */
12
15
 
@@ -1 +1 @@
1
- {"version":3,"sources":["ThemeClassNameContext/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAIA;;;;AAIG;;AACH,OAAO,MAAM,qBAAqB,gBAAG,KAAK,CAAC,aAAN,CAAgD,EAAhD,CAA9B;AAEP;;AAEG;;AACH,OAAM,SAAU,iBAAV,GAA2B;AAC/B,SAAO,KAAK,CAAC,UAAN,CAAiB,qBAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * Used to provide a CSS class that applies theme css variables\n *\n * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals\n */\nexport const ThemeClassNameContext = React.createContext<ThemeClassNameContextValue>('');\n\n/**\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): ThemeClassNameContextValue {\n return React.useContext(ThemeClassNameContext);\n}\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["ThemeClassNameContext/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAIA;;;;;AAKG;;AACH,MAAM,qBAAqB,gBAAG,KAAK,CAAC,aAAN,CAAgD,EAAhD,CAA9B;AAEA,OAAO,MAAM,sBAAsB,GAAG,qBAAqB,CAAC,QAArD;AAEP;;;AAGG;;AACH,OAAM,SAAU,iBAAV,GAA2B;EAC/B,OAAO,KAAK,CAAC,UAAN,CAAiB,qBAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * @internal\n * Used to provide a CSS class that applies theme css variables\n *\n * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals\n */\nconst ThemeClassNameContext = React.createContext<ThemeClassNameContextValue>('');\n\nexport const ThemeClassNameProvider = ThemeClassNameContext.Provider;\n\n/**\n * @internal\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): ThemeClassNameContextValue {\n return React.useContext(ThemeClassNameContext);\n}\n"],"sourceRoot":"../src/"}
@@ -1,6 +1,12 @@
1
1
  import * as React from 'react';
2
+ /**
3
+ * @internal
4
+ */
5
+
2
6
  export const ThemeContext = /*#__PURE__*/React.createContext(undefined);
3
- export function useTheme() {
4
- return React.useContext(ThemeContext);
5
- }
7
+ /**
8
+ * @internal
9
+ */
10
+
11
+ export const ThemeProvider = ThemeContext.Provider;
6
12
  //# sourceMappingURL=ThemeContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["ThemeContext/ThemeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,OAAO,MAAM,YAAY,gBAAG,KAAK,CAAC,aAAN,CAAwD,SAAxD,CAArB;AAEP,OAAM,SAAU,QAAV,GAAkB;AACtB,SAAO,KAAK,CAAC,UAAN,CAAiB,YAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\nexport const ThemeContext = React.createContext<Theme | Partial<Theme> | undefined>(undefined);\n\nexport function useTheme(): Theme | Partial<Theme> | undefined {\n return React.useContext(ThemeContext);\n}\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["ThemeContext/ThemeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAQA;;AAEG;;AACH,OAAO,MAAM,YAAY,gBAAG,KAAK,CAAC,aAAN,CAAuC,SAAvC,CAArB;AAEP;;AAEG;;AACH,OAAO,MAAM,aAAa,GAAG,YAAY,CAAC,QAAnC","sourcesContent":["import * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\n/**\n * @internal\n */\nexport type ThemeContextValue = Theme | Partial<Theme> | undefined;\n\n/**\n * @internal\n */\nexport const ThemeContext = React.createContext<ThemeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const ThemeProvider = ThemeContext.Provider;\n"],"sourceRoot":"../src/"}
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * @internal
4
+ * Context shared by all of the tooltips in the app
5
+ */
6
+
7
+ const TooltipVisibilityContext = /*#__PURE__*/React.createContext({});
8
+ /**
9
+ * @internal
10
+ */
11
+
12
+ export const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;
13
+ /**
14
+ * @internal
15
+ */
16
+
17
+ export function useTooltipVisibility() {
18
+ return React.useContext(TooltipVisibilityContext);
19
+ }
20
+ //# sourceMappingURL=TooltipContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["TooltipVisibilityContext/TooltipContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAgBA;;;AAGG;;AACH,MAAM,wBAAwB,gBAAG,KAAK,CAAC,aAAN,CAAmD,EAAnD,CAAjC;AAEA;;AAEG;;AACH,OAAO,MAAM,yBAAyB,GAAG,wBAAwB,CAAC,QAA3D;AAEP;;AAEG;;AACH,OAAM,SAAU,oBAAV,GAA8B;EAClC,OAAO,KAAK,CAAC,UAAN,CAAiB,wBAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n * The context provided by TooltipProvider\n */\nexport type TooltipVisibilityContextValue = {\n /**\n * When a tooltip is shown, it sets itself as the visibleTooltip.\n * The next tooltip to become visible can use it to hide the previous tooltip immediately.\n */\n visibleTooltip?: {\n hide: () => void;\n };\n};\n\n/**\n * @internal\n * Context shared by all of the tooltips in the app\n */\nconst TooltipVisibilityContext = React.createContext<TooltipVisibilityContextValue>({});\n\n/**\n * @internal\n */\nexport const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;\n\n/**\n * @internal\n */\nexport function useTooltipVisibility(): TooltipVisibilityContextValue {\n return React.useContext(TooltipVisibilityContext);\n}\n"],"sourceRoot":"../src/"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["TooltipVisibilityContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './TooltipContext';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './TooltipVisibilityContext/index';
2
+ //# sourceMappingURL=TooltipVisibilityContext.js.map