@fluentui/react-shared-contexts 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.11

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 (126) hide show
  1. package/CHANGELOG.json +288 -8
  2. package/CHANGELOG.md +158 -41
  3. package/dist/index.d.ts +47 -0
  4. package/{lib → dist}/tsdoc-metadata.json +0 -0
  5. package/lib/ProviderContext/ProviderContext.js +4 -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/ProviderContext.js.map +1 -1
  10. package/lib/ThemeClassNameContext/ThemeClassNameContext.js +4 -1
  11. package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  12. package/lib/ThemeClassNameContext/index.js.map +1 -1
  13. package/lib/ThemeClassNameContext.js.map +1 -1
  14. package/lib/ThemeContext/ThemeContext.js +4 -4
  15. package/lib/ThemeContext/ThemeContext.js.map +1 -1
  16. package/lib/ThemeContext/index.js +0 -1
  17. package/lib/ThemeContext/index.js.map +1 -1
  18. package/lib/ThemeContext.js.map +1 -1
  19. package/lib/TooltipVisibilityContext/TooltipContext.js +13 -0
  20. package/lib/TooltipVisibilityContext/TooltipContext.js.map +1 -0
  21. package/lib/{TooltipContext → TooltipVisibilityContext}/index.js +0 -0
  22. package/lib/TooltipVisibilityContext/index.js.map +1 -0
  23. package/lib/TooltipVisibilityContext.js +2 -0
  24. package/lib/TooltipVisibilityContext.js.map +1 -0
  25. package/lib/index.js +4 -5
  26. package/lib/index.js.map +1 -1
  27. package/lib-commonjs/ProviderContext/ProviderContext.js +5 -4
  28. package/lib-commonjs/ProviderContext/ProviderContext.js.map +1 -1
  29. package/lib-commonjs/ProviderContext/index.js +1 -3
  30. package/lib-commonjs/ProviderContext/index.js.map +1 -1
  31. package/lib-commonjs/ProviderContext.js +1 -1
  32. package/lib-commonjs/ProviderContext.js.map +1 -1
  33. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js +5 -4
  34. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  35. package/lib-commonjs/ThemeClassNameContext/index.js +1 -1
  36. package/lib-commonjs/ThemeClassNameContext/index.js.map +1 -1
  37. package/lib-commonjs/ThemeClassNameContext.js +1 -1
  38. package/lib-commonjs/ThemeClassNameContext.js.map +1 -1
  39. package/lib-commonjs/ThemeContext/ThemeContext.js +4 -9
  40. package/lib-commonjs/ThemeContext/ThemeContext.js.map +1 -1
  41. package/lib-commonjs/ThemeContext/index.js +1 -3
  42. package/lib-commonjs/ThemeContext/index.js.map +1 -1
  43. package/lib-commonjs/ThemeContext.js +1 -1
  44. package/lib-commonjs/ThemeContext.js.map +1 -1
  45. package/lib-commonjs/TooltipVisibilityContext/TooltipContext.js +22 -0
  46. package/lib-commonjs/TooltipVisibilityContext/TooltipContext.js.map +1 -0
  47. package/lib-commonjs/{TooltipContext → TooltipVisibilityContext}/index.js +1 -1
  48. package/lib-commonjs/TooltipVisibilityContext/index.js.map +1 -0
  49. package/lib-commonjs/TooltipVisibilityContext.js +10 -0
  50. package/lib-commonjs/TooltipVisibilityContext.js.map +1 -0
  51. package/lib-commonjs/index.js +55 -6
  52. package/lib-commonjs/index.js.map +1 -1
  53. package/package.json +14 -15
  54. package/dist/react-shared-contexts.d.ts +0 -64
  55. package/lib/MenuContext/MenuContext.d.ts +0 -4
  56. package/lib/MenuContext/MenuContext.js +0 -6
  57. package/lib/MenuContext/MenuContext.js.map +0 -1
  58. package/lib/MenuContext/index.d.ts +0 -2
  59. package/lib/MenuContext/index.js +0 -3
  60. package/lib/MenuContext/index.js.map +0 -1
  61. package/lib/MenuContext/types.d.ts +0 -6
  62. package/lib/MenuContext/types.js +0 -2
  63. package/lib/MenuContext/types.js.map +0 -1
  64. package/lib/MenuContext.d.ts +0 -1
  65. package/lib/MenuContext.js +0 -2
  66. package/lib/MenuContext.js.map +0 -1
  67. package/lib/ProviderContext/ProviderContext.d.ts +0 -4
  68. package/lib/ProviderContext/ProviderContext.types.d.ts +0 -6
  69. package/lib/ProviderContext/ProviderContext.types.js +0 -2
  70. package/lib/ProviderContext/ProviderContext.types.js.map +0 -1
  71. package/lib/ProviderContext/index.d.ts +0 -2
  72. package/lib/ProviderContext.d.ts +0 -1
  73. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  74. package/lib/ThemeClassNameContext/index.d.ts +0 -1
  75. package/lib/ThemeClassNameContext.d.ts +0 -1
  76. package/lib/ThemeContext/ThemeContext.d.ts +0 -4
  77. package/lib/ThemeContext/ThemeContext.types.d.ts +0 -3
  78. package/lib/ThemeContext/ThemeContext.types.js +0 -2
  79. package/lib/ThemeContext/ThemeContext.types.js.map +0 -1
  80. package/lib/ThemeContext/index.d.ts +0 -2
  81. package/lib/ThemeContext.d.ts +0 -1
  82. package/lib/TooltipContext/TooltipContext.d.ts +0 -17
  83. package/lib/TooltipContext/TooltipContext.js +0 -7
  84. package/lib/TooltipContext/TooltipContext.js.map +0 -1
  85. package/lib/TooltipContext/index.d.ts +0 -1
  86. package/lib/TooltipContext/index.js.map +0 -1
  87. package/lib/TooltipContext.d.ts +0 -1
  88. package/lib/TooltipContext.js +0 -2
  89. package/lib/TooltipContext.js.map +0 -1
  90. package/lib/index.d.ts +0 -5
  91. package/lib-commonjs/MenuContext/MenuContext.d.ts +0 -4
  92. package/lib-commonjs/MenuContext/MenuContext.js +0 -17
  93. package/lib-commonjs/MenuContext/MenuContext.js.map +0 -1
  94. package/lib-commonjs/MenuContext/index.d.ts +0 -2
  95. package/lib-commonjs/MenuContext/index.js +0 -12
  96. package/lib-commonjs/MenuContext/index.js.map +0 -1
  97. package/lib-commonjs/MenuContext/types.d.ts +0 -6
  98. package/lib-commonjs/MenuContext/types.js +0 -6
  99. package/lib-commonjs/MenuContext/types.js.map +0 -1
  100. package/lib-commonjs/MenuContext.d.ts +0 -1
  101. package/lib-commonjs/MenuContext.js +0 -10
  102. package/lib-commonjs/MenuContext.js.map +0 -1
  103. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +0 -4
  104. package/lib-commonjs/ProviderContext/ProviderContext.types.d.ts +0 -6
  105. package/lib-commonjs/ProviderContext/ProviderContext.types.js +0 -6
  106. package/lib-commonjs/ProviderContext/ProviderContext.types.js.map +0 -1
  107. package/lib-commonjs/ProviderContext/index.d.ts +0 -2
  108. package/lib-commonjs/ProviderContext.d.ts +0 -1
  109. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  110. package/lib-commonjs/ThemeClassNameContext/index.d.ts +0 -1
  111. package/lib-commonjs/ThemeClassNameContext.d.ts +0 -1
  112. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +0 -4
  113. package/lib-commonjs/ThemeContext/ThemeContext.types.d.ts +0 -3
  114. package/lib-commonjs/ThemeContext/ThemeContext.types.js +0 -6
  115. package/lib-commonjs/ThemeContext/ThemeContext.types.js.map +0 -1
  116. package/lib-commonjs/ThemeContext/index.d.ts +0 -2
  117. package/lib-commonjs/ThemeContext.d.ts +0 -1
  118. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -17
  119. package/lib-commonjs/TooltipContext/TooltipContext.js +0 -15
  120. package/lib-commonjs/TooltipContext/TooltipContext.js.map +0 -1
  121. package/lib-commonjs/TooltipContext/index.d.ts +0 -1
  122. package/lib-commonjs/TooltipContext/index.js.map +0 -1
  123. package/lib-commonjs/TooltipContext.d.ts +0 -1
  124. package/lib-commonjs/TooltipContext.js +0 -10
  125. package/lib-commonjs/TooltipContext.js.map +0 -1
  126. package/lib-commonjs/index.d.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,22 +1,139 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Tue, 19 Oct 2021 12:39:14 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 21 Jun 2022 17:09:28 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.0.0-nightly.f81b28ceb3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-nightly.f81b28ceb3.1)
7
+ ## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.11)
8
8
 
9
- Tue, 19 Oct 2021 12:39:14 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.1..@fluentui/react-shared-contexts_v9.0.0-nightly.f81b28ceb3.1)
9
+ Tue, 21 Jun 2022 17:09:28 GMT
10
+ [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)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by email not defined)
15
- - Bump @fluentui/react-theme to v9.0.0-nightly.f81b28ceb3.1 ([commit](https://github.com/microsoft/fluentui/commit/0ae8560ad3e7b4cb03f3f47152dfce2f81523cca) by beachball)
14
+ - Bump @fluentui/react-theme to v9.0.0-rc.10 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
15
+
16
+ ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.10)
17
+
18
+ Tue, 31 May 2022 21:28:45 GMT
19
+ [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)
20
+
21
+ ### Changes
22
+
23
+ - remove unused MenuContext ([PR #23277](https://github.com/microsoft/fluentui/pull/23277) by olfedias@microsoft.com)
24
+ - remove useTheme from exports ([PR #23335](https://github.com/microsoft/fluentui/pull/23335) by me@levithomason.com)
25
+ - mark context hooks and providers to unstable ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by bernardo.sunderhus@gmail.com)
26
+
27
+ ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.9)
28
+
29
+ Mon, 23 May 2022 18:56:51 GMT
30
+ [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)
31
+
32
+ ### Changes
33
+
34
+ - Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
35
+
36
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.8)
37
+
38
+ Mon, 23 May 2022 12:13:38 GMT
39
+ [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)
40
+
41
+ ### Changes
42
+
43
+ - feat: ship rolluped only dts ([PR #22965](https://github.com/microsoft/fluentui/pull/22965) by martinhochel@microsoft.com)
44
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
45
+
46
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.7)
47
+
48
+ Thu, 05 May 2022 18:26:26 GMT
49
+ [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)
50
+
51
+ ### Changes
52
+
53
+ - Removing star exports. ([PR #22808](https://github.com/microsoft/fluentui/pull/22808) by humberto_makoto@hotmail.com)
54
+ - Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
55
+
56
+ ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.6)
57
+
58
+ Wed, 04 May 2022 13:26:54 GMT
59
+ [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)
60
+
61
+ ### Changes
62
+
63
+ - Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
64
+
65
+ ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.5)
66
+
67
+ Tue, 19 Apr 2022 19:16:52 GMT
68
+ [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)
69
+
70
+ ### Changes
71
+
72
+ - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
73
+
74
+ ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.4)
75
+
76
+ Fri, 04 Mar 2022 05:17:29 GMT
77
+ [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)
78
+
79
+ ### Changes
80
+
81
+ - 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)
82
+ - Bump @fluentui/react-theme to v9.0.0-rc.4 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
83
+
84
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.3)
85
+
86
+ Fri, 18 Feb 2022 13:35:34 GMT
87
+ [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)
88
+
89
+ ### Changes
90
+
91
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
92
+ - Bump @fluentui/react-theme to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
93
+
94
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1)
95
+
96
+ Thu, 10 Feb 2022 08:50:48 GMT
97
+ [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)
98
+
99
+ ### Changes
100
+
101
+ - make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
102
+ - 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)
103
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
104
+ - Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
105
+
106
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
107
+
108
+ Thu, 25 Nov 2021 08:34:16 GMT
109
+ [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)
110
+
111
+ ### Changes
112
+
113
+ - Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
114
+
115
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
116
+
117
+ Fri, 12 Nov 2021 13:25:32 GMT
118
+ [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)
119
+
120
+ ### Changes
121
+
122
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
123
+ - Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
124
+
125
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
126
+
127
+ Wed, 27 Oct 2021 12:14:24 GMT
128
+ [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)
129
+
130
+ ### Changes
131
+
132
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
16
133
 
17
134
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
18
135
 
19
- Wed, 06 Oct 2021 10:37:22 GMT
136
+ Wed, 06 Oct 2021 10:37:22 GMT
20
137
  [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)
21
138
 
22
139
  ### Changes
@@ -26,7 +143,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
26
143
 
27
144
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
28
145
 
29
- Fri, 01 Oct 2021 14:13:08 GMT
146
+ Fri, 01 Oct 2021 14:13:08 GMT
30
147
  [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)
31
148
 
32
149
  ### Changes
@@ -36,7 +153,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
36
153
 
37
154
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
38
155
 
39
- Wed, 29 Sep 2021 08:06:11 GMT
156
+ Wed, 29 Sep 2021 08:06:11 GMT
40
157
  [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)
41
158
 
42
159
  ### Changes
@@ -45,7 +162,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
45
162
 
46
163
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
47
164
 
48
- Tue, 21 Sep 2021 07:42:34 GMT
165
+ Tue, 21 Sep 2021 07:42:34 GMT
49
166
  [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)
50
167
 
51
168
  ### Changes
@@ -54,7 +171,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
54
171
 
55
172
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
56
173
 
57
- Fri, 10 Sep 2021 16:31:53 GMT
174
+ Fri, 10 Sep 2021 16:31:53 GMT
58
175
  [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)
59
176
 
60
177
  ### Changes
@@ -63,7 +180,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
63
180
 
64
181
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
65
182
 
66
- Tue, 24 Aug 2021 07:34:48 GMT
183
+ Tue, 24 Aug 2021 07:34:48 GMT
67
184
  [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)
68
185
 
69
186
  ### Changes
@@ -72,7 +189,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
72
189
 
73
190
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
74
191
 
75
- Fri, 20 Aug 2021 07:37:28 GMT
192
+ Fri, 20 Aug 2021 07:37:28 GMT
76
193
  [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)
77
194
 
78
195
  ### Changes
@@ -81,7 +198,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
81
198
 
82
199
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
83
200
 
84
- Fri, 13 Aug 2021 07:36:34 GMT
201
+ Fri, 13 Aug 2021 07:36:34 GMT
85
202
  [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)
86
203
 
87
204
  ### Changes
@@ -90,7 +207,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
90
207
 
91
208
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
92
209
 
93
- Tue, 03 Aug 2021 07:39:30 GMT
210
+ Tue, 03 Aug 2021 07:39:30 GMT
94
211
  [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)
95
212
 
96
213
  ### Patches
@@ -101,7 +218,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
101
218
 
102
219
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
103
220
 
104
- Mon, 26 Jul 2021 07:37:30 GMT
221
+ Mon, 26 Jul 2021 07:37:30 GMT
105
222
  [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)
106
223
 
107
224
  ### Changes
@@ -110,7 +227,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
110
227
 
111
228
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
112
229
 
113
- Fri, 23 Jul 2021 07:38:19 GMT
230
+ Fri, 23 Jul 2021 07:38:19 GMT
114
231
  [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)
115
232
 
116
233
  ### Changes
@@ -119,7 +236,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
119
236
 
120
237
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
121
238
 
122
- Fri, 09 Jul 2021 07:39:31 GMT
239
+ Fri, 09 Jul 2021 07:39:31 GMT
123
240
  [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)
124
241
 
125
242
  ### Patches
@@ -130,7 +247,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
130
247
 
131
248
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
132
249
 
133
- Fri, 02 Jul 2021 07:37:06 GMT
250
+ Fri, 02 Jul 2021 07:37:06 GMT
134
251
  [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)
135
252
 
136
253
  ### Changes
@@ -139,7 +256,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
139
256
 
140
257
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
141
258
 
142
- Mon, 07 Jun 2021 07:38:15 GMT
259
+ Mon, 07 Jun 2021 07:38:15 GMT
143
260
  [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)
144
261
 
145
262
  ### Patches
@@ -150,7 +267,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
150
267
 
151
268
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
152
269
 
153
- Fri, 04 Jun 2021 07:37:23 GMT
270
+ Fri, 04 Jun 2021 07:37:23 GMT
154
271
  [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)
155
272
 
156
273
  ### Changes
@@ -159,7 +276,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
159
276
 
160
277
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
161
278
 
162
- Thu, 03 Jun 2021 07:36:03 GMT
279
+ Thu, 03 Jun 2021 07:36:03 GMT
163
280
  [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)
164
281
 
165
282
  ### Changes
@@ -168,7 +285,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
168
285
 
169
286
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
170
287
 
171
- Thu, 20 May 2021 07:41:54 GMT
288
+ Thu, 20 May 2021 07:41:54 GMT
172
289
  [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)
173
290
 
174
291
  ### Patches
@@ -179,7 +296,7 @@ Thu, 20 May 2021 07:41:54 GMT
179
296
 
180
297
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
181
298
 
182
- Wed, 19 May 2021 07:34:20 GMT
299
+ Wed, 19 May 2021 07:34:20 GMT
183
300
  [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)
184
301
 
185
302
  ### Changes
@@ -188,7 +305,7 @@ Wed, 19 May 2021 07:34:20 GMT
188
305
 
189
306
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
190
307
 
191
- Thu, 13 May 2021 07:36:55 GMT
308
+ Thu, 13 May 2021 07:36:55 GMT
192
309
  [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)
193
310
 
194
311
  ### Changes
@@ -197,7 +314,7 @@ Thu, 13 May 2021 07:36:55 GMT
197
314
 
198
315
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
199
316
 
200
- Wed, 12 May 2021 07:36:20 GMT
317
+ Wed, 12 May 2021 07:36:20 GMT
201
318
  [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)
202
319
 
203
320
  ### Changes
@@ -206,7 +323,7 @@ Wed, 12 May 2021 07:36:20 GMT
206
323
 
207
324
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
208
325
 
209
- Fri, 30 Apr 2021 07:42:23 GMT
326
+ Fri, 30 Apr 2021 07:42:23 GMT
210
327
  [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)
211
328
 
212
329
  ### Patches
@@ -221,7 +338,7 @@ Fri, 30 Apr 2021 07:42:23 GMT
221
338
 
222
339
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
223
340
 
224
- Fri, 23 Apr 2021 07:37:10 GMT
341
+ Fri, 23 Apr 2021 07:37:10 GMT
225
342
  [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)
226
343
 
227
344
  ### Patches
@@ -232,7 +349,7 @@ Fri, 23 Apr 2021 07:37:10 GMT
232
349
 
233
350
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6)
234
351
 
235
- Tue, 20 Apr 2021 07:31:35 GMT
352
+ Tue, 20 Apr 2021 07:31:35 GMT
236
353
  [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)
237
354
 
238
355
  ### Changes
@@ -241,7 +358,7 @@ Tue, 20 Apr 2021 07:31:35 GMT
241
358
 
242
359
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5)
243
360
 
244
- Fri, 16 Apr 2021 18:08:21 GMT
361
+ Fri, 16 Apr 2021 18:08:21 GMT
245
362
  [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)
246
363
 
247
364
  ### Changes
@@ -250,7 +367,7 @@ Fri, 16 Apr 2021 18:08:21 GMT
250
367
 
251
368
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
252
369
 
253
- Thu, 08 Apr 2021 07:33:06 GMT
370
+ Thu, 08 Apr 2021 07:33:06 GMT
254
371
  [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)
255
372
 
256
373
  ### Changes
@@ -259,7 +376,7 @@ Thu, 08 Apr 2021 07:33:06 GMT
259
376
 
260
377
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.3)
261
378
 
262
- Wed, 31 Mar 2021 00:53:43 GMT
379
+ Wed, 31 Mar 2021 00:53:43 GMT
263
380
  [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)
264
381
 
265
382
  ### Patches
@@ -270,7 +387,7 @@ Wed, 31 Mar 2021 00:53:43 GMT
270
387
 
271
388
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.2)
272
389
 
273
- Tue, 30 Mar 2021 07:34:45 GMT
390
+ Tue, 30 Mar 2021 07:34:45 GMT
274
391
  [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)
275
392
 
276
393
  ### Changes
@@ -280,7 +397,7 @@ Tue, 30 Mar 2021 07:34:45 GMT
280
397
 
281
398
  ## [1.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.11)
282
399
 
283
- Mon, 15 Mar 2021 07:36:20 GMT
400
+ Mon, 15 Mar 2021 07:36:20 GMT
284
401
  [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)
285
402
 
286
403
  ### Changes
@@ -289,7 +406,7 @@ Mon, 15 Mar 2021 07:36:20 GMT
289
406
 
290
407
  ## [1.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.10)
291
408
 
292
- Fri, 26 Feb 2021 01:16:27 GMT
409
+ Fri, 26 Feb 2021 01:16:27 GMT
293
410
  [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)
294
411
 
295
412
  ### Patches
@@ -305,7 +422,7 @@ Fri, 26 Feb 2021 01:16:27 GMT
305
422
 
306
423
  ## [1.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.9)
307
424
 
308
- Mon, 22 Feb 2021 12:26:22 GMT
425
+ Mon, 22 Feb 2021 12:26:22 GMT
309
426
  [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)
310
427
 
311
428
  ### Changes
@@ -314,7 +431,7 @@ Mon, 22 Feb 2021 12:26:22 GMT
314
431
 
315
432
  ## [1.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.8)
316
433
 
317
- Thu, 18 Feb 2021 19:38:50 GMT
434
+ Thu, 18 Feb 2021 19:38:50 GMT
318
435
  [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)
319
436
 
320
437
  ### Changes
@@ -323,7 +440,7 @@ Thu, 18 Feb 2021 19:38:50 GMT
323
440
 
324
441
  ## [1.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.7)
325
442
 
326
- Thu, 18 Feb 2021 12:27:34 GMT
443
+ Thu, 18 Feb 2021 12:27:34 GMT
327
444
  [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)
328
445
 
329
446
  ### Changes
@@ -332,7 +449,7 @@ Thu, 18 Feb 2021 12:27:34 GMT
332
449
 
333
450
  ## [1.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.6)
334
451
 
335
- Mon, 15 Feb 2021 12:22:00 GMT
452
+ Mon, 15 Feb 2021 12:22:00 GMT
336
453
  [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)
337
454
 
338
455
  ### Changes
@@ -341,12 +458,12 @@ Mon, 15 Feb 2021 12:22:00 GMT
341
458
 
342
459
  ## [1.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.4)
343
460
 
344
- Thu, 21 Jan 2021 12:36:12 GMT
461
+ Thu, 21 Jan 2021 12:36:12 GMT
345
462
  [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)
346
463
 
347
464
  ### Changes
348
465
 
349
- - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
466
+ - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
350
467
 
351
468
  ## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.1)
352
469
 
@@ -0,0 +1,47 @@
1
+ import * as React_2 from 'react';
2
+ import type { Theme } from '@fluentui/react-theme';
3
+
4
+ export declare const Provider_unstable: React_2.Provider<ProviderContextValue_unstable>;
5
+
6
+ export declare type ProviderContextValue_unstable = {
7
+ /** Sets the direction of text & generated styles. */
8
+ dir: 'ltr' | 'rtl';
9
+ /** Provides the document, can be undefined during SSR render. */
10
+ targetDocument?: Document;
11
+ };
12
+
13
+ export declare type ThemeClassNameContextValue_unstable = string;
14
+
15
+ export declare const ThemeClassNameProvider_unstable: React_2.Provider<string>;
16
+
17
+ export declare const ThemeContext_unstable: React_2.Context<ThemeContextValue_unstable>;
18
+
19
+ export declare type ThemeContextValue_unstable = Theme | Partial<Theme> | undefined;
20
+
21
+ export declare const ThemeProvider_unstable: React_2.Provider<ThemeContextValue_unstable>;
22
+
23
+ /**
24
+ * The context provided by TooltipProvider
25
+ */
26
+ export declare type TooltipVisibilityContextValue_unstable = {
27
+ /**
28
+ * When a tooltip is shown, it sets itself as the visibleTooltip.
29
+ * The next tooltip to become visible can use it to hide the previous tooltip immediately.
30
+ */
31
+ visibleTooltip?: {
32
+ hide: () => void;
33
+ };
34
+ };
35
+
36
+ export declare const TooltipVisibilityProvider_unstable: React_2.Provider<TooltipVisibilityContextValue_unstable>;
37
+
38
+ export declare function useFluent_unstable(): ProviderContextValue_unstable;
39
+
40
+ /**
41
+ * @returns CSS class that applies css variables
42
+ */
43
+ export declare function useThemeClassName_unstable(): ThemeClassNameContextValue_unstable;
44
+
45
+ export declare function useTooltipVisibility_unstable(): TooltipVisibilityContextValue_unstable;
46
+
47
+ export { }
File without changes
@@ -1,8 +1,11 @@
1
1
  import * as React from 'react';
2
- export var ProviderContext = /*#__PURE__*/React.createContext({
2
+ const ProviderContext = /*#__PURE__*/React.createContext({
3
3
  targetDocument: typeof document === 'object' ? document : undefined,
4
4
  dir: 'ltr'
5
5
  });
6
+ export const {
7
+ Provider
8
+ } = ProviderContext;
6
9
  export function useFluent() {
7
10
  return React.useContext(ProviderContext);
8
11
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/ProviderContext/ProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,OAAO,IAAM,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","sourceRoot":""}
1
+ {"version":3,"sources":["ProviderContext/ProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAUA,MAAM,eAAe,gBAAG,KAAK,CAAC,aAAN,CAA0C;AAChE,EAAA,cAAc,EAAE,OAAO,QAAP,KAAoB,QAApB,GAA+B,QAA/B,GAA0C,SADM;AAEhE,EAAA,GAAG,EAAE;AAF2D,CAA1C,CAAxB;AAKA,OAAO,MAAM;AAAE,EAAA;AAAF,IAAe,eAArB;AAEP,OAAM,SAAU,SAAV,GAAmB;AACvB,SAAO,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\nconst ProviderContext = React.createContext<ProviderContextValue>({\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr',\n});\n\nexport const { Provider } = ProviderContext;\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":"","sources":["../../src/ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './ProviderContext';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderContext.js","sourceRoot":"","sources":["../src/ProviderContext.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"ProviderContext.js","sourceRoot":"../src/","sources":["ProviderContext.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './ProviderContext/index';\n"]}
@@ -5,7 +5,10 @@ import * as React from 'react';
5
5
  * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
6
6
  */
7
7
 
8
- export var ThemeClassNameContext = /*#__PURE__*/React.createContext('');
8
+ const ThemeClassNameContext = /*#__PURE__*/React.createContext('');
9
+ export const {
10
+ Provider: ThemeClassNameProvider
11
+ } = ThemeClassNameContext;
9
12
  /**
10
13
  * @returns CSS class that applies css variables
11
14
  */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/ThemeClassNameContext/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAIA;;;;AAIG;;AACH,OAAO,IAAM,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","sourceRoot":""}
1
+ {"version":3,"sources":["ThemeClassNameContext/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAIA;;;;AAIG;;AACH,MAAM,qBAAqB,gBAAG,KAAK,CAAC,aAAN,CAAgD,EAAhD,CAA9B;AAEA,OAAO,MAAM;AAAE,EAAA,QAAQ,EAAE;AAAZ,IAAuC,qBAA7C;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 */\nconst ThemeClassNameContext = React.createContext<ThemeClassNameContextValue>('');\n\nexport const { Provider: ThemeClassNameProvider } = ThemeClassNameContext;\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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ThemeClassNameContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ThemeClassNameContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './ThemeClassNameContext';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeClassNameContext.js","sourceRoot":"","sources":["../src/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"ThemeClassNameContext.js","sourceRoot":"../src/","sources":["ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './ThemeClassNameContext/index';\n"]}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- export var ThemeContext = /*#__PURE__*/React.createContext(null);
3
- export function useTheme() {
4
- return React.useContext(ThemeContext);
5
- }
2
+ export const ThemeContext = /*#__PURE__*/React.createContext(undefined);
3
+ export const {
4
+ Provider: ThemeProvider
5
+ } = ThemeContext;
6
6
  //# sourceMappingURL=ThemeContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/ThemeContext/ThemeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,OAAO,IAAM,YAAY,gBAAG,KAAK,CAAC,aAAN,CAAqB,IAArB,CAArB;AAEP,OAAM,SAAU,QAAV,GAAkB;AACtB,SAAO,KAAK,CAAC,UAAN,CAAiB,YAAjB,CAAP;AACD","sourceRoot":""}
1
+ {"version":3,"sources":["ThemeContext/ThemeContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAKA,OAAO,MAAM,YAAY,gBAAG,KAAK,CAAC,aAAN,CAAuC,SAAvC,CAArB;AAEP,OAAO,MAAM;AAAE,EAAA,QAAQ,EAAE;AAAZ,IAA8B,YAApC","sourcesContent":["import * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\nexport type ThemeContextValue = Theme | Partial<Theme> | undefined;\n\nexport const ThemeContext = React.createContext<ThemeContextValue>(undefined);\n\nexport const { Provider: ThemeProvider } = ThemeContext;\n"],"sourceRoot":"../src/"}
@@ -1,3 +1,2 @@
1
1
  export * from './ThemeContext';
2
- export * from './ThemeContext.types';
3
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ThemeContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ThemeContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './ThemeContext';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../src/ThemeContext.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"ThemeContext.js","sourceRoot":"../src/","sources":["ThemeContext.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './ThemeContext/index';\n"]}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * Context shared by all of the tooltips in the app
4
+ */
5
+
6
+ const TooltipVisibilityContext = /*#__PURE__*/React.createContext({});
7
+ export const {
8
+ Provider: TooltipVisibilityProvider
9
+ } = TooltipVisibilityContext;
10
+ export function useTooltipVisibility() {
11
+ return React.useContext(TooltipVisibilityContext);
12
+ }
13
+ //# sourceMappingURL=TooltipContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["TooltipVisibilityContext/TooltipContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAeA;;AAEG;;AACH,MAAM,wBAAwB,gBAAG,KAAK,CAAC,aAAN,CAAmD,EAAnD,CAAjC;AAEA,OAAO,MAAM;AAAE,EAAA,QAAQ,EAAE;AAAZ,IAA0C,wBAAhD;AAEP,OAAM,SAAU,oBAAV,GAA8B;AAClC,SAAO,KAAK,CAAC,UAAN,CAAiB,wBAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\n\n/**\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 * Context shared by all of the tooltips in the app\n */\nconst TooltipVisibilityContext = React.createContext<TooltipVisibilityContextValue>({});\n\nexport const { Provider: TooltipVisibilityProvider } = TooltipVisibilityContext;\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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TooltipVisibilityContext.js","sourceRoot":"../src/","sources":["TooltipVisibilityContext.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './TooltipVisibilityContext/index';\n"]}
package/lib/index.js CHANGED
@@ -1,6 +1,5 @@
1
- export * from './MenuContext';
2
- export * from './ThemeContext';
3
- export * from './ThemeClassNameContext';
4
- export * from './TooltipContext';
5
- export * from './ProviderContext';
1
+ export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';
2
+ export { ThemeClassNameProvider as ThemeClassNameProvider_unstable, useThemeClassName as useThemeClassName_unstable } from './ThemeClassNameContext';
3
+ export { TooltipVisibilityProvider as TooltipVisibilityProvider_unstable, useTooltipVisibility as useTooltipVisibility_unstable } from './TooltipVisibilityContext';
4
+ export { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';
6
5
  //# sourceMappingURL=index.js.map