@fluentui/react-shared-contexts 9.0.0-alpha.7 → 9.0.0-nightly.f81b28ceb3.1

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 (150) hide show
  1. package/CHANGELOG.json +579 -1
  2. package/CHANGELOG.md +217 -2
  3. package/dist/react-shared-contexts.d.ts +28 -11
  4. package/lib/MenuContext/MenuContext.d.ts +1 -1
  5. package/lib/MenuContext/MenuContext.js +2 -2
  6. package/lib/MenuContext/MenuContext.js.map +1 -1
  7. package/lib/MenuContext/index.js +1 -0
  8. package/lib/MenuContext/index.js.map +1 -1
  9. package/lib/MenuContext/types.d.ts +1 -4
  10. package/lib/MenuContext/types.js +1 -0
  11. package/lib/MenuContext/types.js.map +1 -1
  12. package/lib/MenuContext.js.map +1 -1
  13. package/lib/ProviderContext/ProviderContext.d.ts +1 -1
  14. package/lib/ProviderContext/ProviderContext.js +4 -4
  15. package/lib/ProviderContext/ProviderContext.js.map +1 -1
  16. package/lib/ProviderContext/ProviderContext.types.js +1 -0
  17. package/lib/ProviderContext/ProviderContext.types.js.map +1 -1
  18. package/lib/ProviderContext/index.js +1 -0
  19. package/lib/ProviderContext/index.js.map +1 -1
  20. package/lib/ProviderContext.js.map +1 -1
  21. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +2 -1
  22. package/lib/ThemeClassNameContext/ThemeClassNameContext.js +4 -2
  23. package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  24. package/lib/ThemeClassNameContext/index.js.map +1 -1
  25. package/lib/ThemeClassNameContext.js.map +1 -1
  26. package/lib/ThemeContext/ThemeContext.d.ts +1 -1
  27. package/lib/ThemeContext/ThemeContext.js +2 -2
  28. package/lib/ThemeContext/ThemeContext.js.map +1 -1
  29. package/lib/ThemeContext/ThemeContext.types.d.ts +1 -1
  30. package/lib/ThemeContext/ThemeContext.types.js +1 -0
  31. package/lib/ThemeContext/ThemeContext.types.js.map +1 -1
  32. package/lib/ThemeContext/index.js +1 -0
  33. package/lib/ThemeContext/index.js.map +1 -1
  34. package/lib/ThemeContext.js.map +1 -1
  35. package/lib/TooltipContext/TooltipContext.d.ts +17 -0
  36. package/lib/TooltipContext/TooltipContext.js +7 -0
  37. package/lib/TooltipContext/TooltipContext.js.map +1 -0
  38. package/lib/TooltipContext/index.d.ts +1 -0
  39. package/lib/TooltipContext/index.js +2 -0
  40. package/lib/TooltipContext/index.js.map +1 -0
  41. package/lib/TooltipContext.d.ts +1 -0
  42. package/lib/TooltipContext.js +2 -0
  43. package/lib/TooltipContext.js.map +1 -0
  44. package/lib/index.d.ts +1 -0
  45. package/lib/index.js +1 -0
  46. package/lib/index.js.map +1 -1
  47. package/lib/tsdoc-metadata.json +1 -1
  48. package/lib-commonjs/MenuContext/MenuContext.d.ts +1 -1
  49. package/lib-commonjs/MenuContext/MenuContext.js +14 -5
  50. package/lib-commonjs/MenuContext/MenuContext.js.map +1 -1
  51. package/lib-commonjs/MenuContext/index.js +9 -2
  52. package/lib-commonjs/MenuContext/index.js.map +1 -1
  53. package/lib-commonjs/MenuContext/types.d.ts +1 -4
  54. package/lib-commonjs/MenuContext/types.js +4 -1
  55. package/lib-commonjs/MenuContext/types.js.map +1 -1
  56. package/lib-commonjs/MenuContext.js +7 -2
  57. package/lib-commonjs/MenuContext.js.map +1 -1
  58. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +1 -1
  59. package/lib-commonjs/ProviderContext/ProviderContext.js +14 -6
  60. package/lib-commonjs/ProviderContext/ProviderContext.js.map +1 -1
  61. package/lib-commonjs/ProviderContext/ProviderContext.types.js +4 -1
  62. package/lib-commonjs/ProviderContext/ProviderContext.types.js.map +1 -1
  63. package/lib-commonjs/ProviderContext/index.js +9 -2
  64. package/lib-commonjs/ProviderContext/index.js.map +1 -1
  65. package/lib-commonjs/ProviderContext.js +7 -2
  66. package/lib-commonjs/ProviderContext.js.map +1 -1
  67. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +2 -1
  68. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js +13 -4
  69. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  70. package/lib-commonjs/ThemeClassNameContext/index.js +7 -2
  71. package/lib-commonjs/ThemeClassNameContext/index.js.map +1 -1
  72. package/lib-commonjs/ThemeClassNameContext.js +7 -2
  73. package/lib-commonjs/ThemeClassNameContext.js.map +1 -1
  74. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +1 -1
  75. package/lib-commonjs/ThemeContext/ThemeContext.js +12 -4
  76. package/lib-commonjs/ThemeContext/ThemeContext.js.map +1 -1
  77. package/lib-commonjs/ThemeContext/ThemeContext.types.d.ts +1 -1
  78. package/lib-commonjs/ThemeContext/ThemeContext.types.js +4 -1
  79. package/lib-commonjs/ThemeContext/ThemeContext.types.js.map +1 -1
  80. package/lib-commonjs/ThemeContext/index.js +9 -2
  81. package/lib-commonjs/ThemeContext/index.js.map +1 -1
  82. package/lib-commonjs/ThemeContext.js +7 -2
  83. package/lib-commonjs/ThemeContext.js.map +1 -1
  84. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +17 -0
  85. package/lib-commonjs/TooltipContext/TooltipContext.js +15 -0
  86. package/lib-commonjs/TooltipContext/TooltipContext.js.map +1 -0
  87. package/lib-commonjs/TooltipContext/index.d.ts +1 -0
  88. package/lib-commonjs/TooltipContext/index.js +10 -0
  89. package/lib-commonjs/TooltipContext/index.js.map +1 -0
  90. package/lib-commonjs/TooltipContext.d.ts +1 -0
  91. package/lib-commonjs/TooltipContext.js +10 -0
  92. package/lib-commonjs/TooltipContext.js.map +1 -0
  93. package/lib-commonjs/index.d.ts +1 -0
  94. package/lib-commonjs/index.js +12 -2
  95. package/lib-commonjs/index.js.map +1 -1
  96. package/package.json +8 -8
  97. package/config/api-extractor.json +0 -3
  98. package/config/tests.js +0 -6
  99. package/etc/react-shared-contexts.api.md +0 -54
  100. package/just.config.ts +0 -3
  101. package/lib-amd/MenuContext/MenuContext.d.ts +0 -4
  102. package/lib-amd/MenuContext/MenuContext.js +0 -9
  103. package/lib-amd/MenuContext/MenuContext.js.map +0 -1
  104. package/lib-amd/MenuContext/index.d.ts +0 -2
  105. package/lib-amd/MenuContext/index.js +0 -6
  106. package/lib-amd/MenuContext/index.js.map +0 -1
  107. package/lib-amd/MenuContext/types.d.ts +0 -9
  108. package/lib-amd/MenuContext/types.js +0 -5
  109. package/lib-amd/MenuContext/types.js.map +0 -1
  110. package/lib-amd/MenuContext.d.ts +0 -1
  111. package/lib-amd/MenuContext.js +0 -6
  112. package/lib-amd/MenuContext.js.map +0 -1
  113. package/lib-amd/ProviderContext/ProviderContext.d.ts +0 -4
  114. package/lib-amd/ProviderContext/ProviderContext.js +0 -13
  115. package/lib-amd/ProviderContext/ProviderContext.js.map +0 -1
  116. package/lib-amd/ProviderContext/ProviderContext.types.d.ts +0 -6
  117. package/lib-amd/ProviderContext/ProviderContext.types.js +0 -5
  118. package/lib-amd/ProviderContext/ProviderContext.types.js.map +0 -1
  119. package/lib-amd/ProviderContext/index.d.ts +0 -2
  120. package/lib-amd/ProviderContext/index.js +0 -6
  121. package/lib-amd/ProviderContext/index.js.map +0 -1
  122. package/lib-amd/ProviderContext.d.ts +0 -1
  123. package/lib-amd/ProviderContext.js +0 -6
  124. package/lib-amd/ProviderContext.js.map +0 -1
  125. package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -11
  126. package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.js +0 -18
  127. package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.js.map +0 -1
  128. package/lib-amd/ThemeClassNameContext/index.d.ts +0 -1
  129. package/lib-amd/ThemeClassNameContext/index.js +0 -6
  130. package/lib-amd/ThemeClassNameContext/index.js.map +0 -1
  131. package/lib-amd/ThemeClassNameContext.d.ts +0 -1
  132. package/lib-amd/ThemeClassNameContext.js +0 -6
  133. package/lib-amd/ThemeClassNameContext.js.map +0 -1
  134. package/lib-amd/ThemeContext/ThemeContext.d.ts +0 -4
  135. package/lib-amd/ThemeContext/ThemeContext.js +0 -10
  136. package/lib-amd/ThemeContext/ThemeContext.js.map +0 -1
  137. package/lib-amd/ThemeContext/ThemeContext.types.d.ts +0 -3
  138. package/lib-amd/ThemeContext/ThemeContext.types.js +0 -5
  139. package/lib-amd/ThemeContext/ThemeContext.types.js.map +0 -1
  140. package/lib-amd/ThemeContext/index.d.ts +0 -2
  141. package/lib-amd/ThemeContext/index.js +0 -6
  142. package/lib-amd/ThemeContext/index.js.map +0 -1
  143. package/lib-amd/ThemeContext.d.ts +0 -1
  144. package/lib-amd/ThemeContext.js +0 -6
  145. package/lib-amd/ThemeContext.js.map +0 -1
  146. package/lib-amd/index.d.ts +0 -4
  147. package/lib-amd/index.js +0 -9
  148. package/lib-amd/index.js.map +0 -1
  149. package/src/ProviderContext/ProviderContext.types.ts +0 -7
  150. package/src/ThemeContext/ThemeContext.types.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,12 +1,227 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Fri, 23 Apr 2021 07:30:56 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 19 Oct 2021 12:39:14 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)
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)
11
+
12
+ ### Changes
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)
16
+
17
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
18
+
19
+ Wed, 06 Oct 2021 10:37:22 GMT
20
+ [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
+
22
+ ### Changes
23
+
24
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
25
+ - Bump @fluentui/react-theme to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
26
+
27
+ ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
28
+
29
+ Fri, 01 Oct 2021 14:13:08 GMT
30
+ [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
+
32
+ ### Changes
33
+
34
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
35
+ - Bump @fluentui/react-theme to v9.0.0-alpha.26 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
36
+
37
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
38
+
39
+ Wed, 29 Sep 2021 08:06:11 GMT
40
+ [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
+
42
+ ### Changes
43
+
44
+ - Bump @fluentui/react-theme to v9.0.0-alpha.24 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
45
+
46
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
47
+
48
+ Tue, 21 Sep 2021 07:42:34 GMT
49
+ [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
+
51
+ ### Changes
52
+
53
+ - Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
54
+
55
+ ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
56
+
57
+ Fri, 10 Sep 2021 16:31:53 GMT
58
+ [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
+
60
+ ### Changes
61
+
62
+ - chore(v9): Move all internal v9 dependencies from caret to fixed version ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
63
+
64
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
65
+
66
+ Tue, 24 Aug 2021 07:34:48 GMT
67
+ [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
+
69
+ ### Changes
70
+
71
+ - Updating TypeScript type-only imports/exports to use import/export syntax. ([PR #19473](https://github.com/microsoft/fluentui/pull/19473) by dzearing@hotmail.com)
72
+
73
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
74
+
75
+ Fri, 20 Aug 2021 07:37:28 GMT
76
+ [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
+
78
+ ### Changes
79
+
80
+ - Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
81
+
82
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
83
+
84
+ Fri, 13 Aug 2021 07:36:34 GMT
85
+ [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
+
87
+ ### Changes
88
+
89
+ - create type for ThemeClassNameContext value and export it ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
90
+
91
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
92
+
93
+ Tue, 03 Aug 2021 07:39:30 GMT
94
+ [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
+
96
+ ### Patches
97
+
98
+ - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
99
+ - Bump @fluentui/test-utilities to v8.0.8 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
100
+ - Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
101
+
102
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
103
+
104
+ Mon, 26 Jul 2021 07:37:30 GMT
105
+ [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
+
107
+ ### Changes
108
+
109
+ - Bump @fluentui/react-theme to v9.0.0-alpha.19 ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
110
+
111
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
112
+
113
+ Fri, 23 Jul 2021 07:38:19 GMT
114
+ [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
+
116
+ ### Changes
117
+
118
+ - Bump @fluentui/react-theme to v9.0.0-alpha.18 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
119
+
120
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
121
+
122
+ Fri, 09 Jul 2021 07:39:31 GMT
123
+ [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
+
125
+ ### Patches
126
+
127
+ - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
128
+ - Bump @fluentui/test-utilities to v8.0.7 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
129
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
130
+
131
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
132
+
133
+ Fri, 02 Jul 2021 07:37:06 GMT
134
+ [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
+
136
+ ### Changes
137
+
138
+ - Bump @fluentui/react-theme to v9.0.0-alpha.16 ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
139
+
140
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
141
+
142
+ Mon, 07 Jun 2021 07:38:15 GMT
143
+ [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
+
145
+ ### Patches
146
+
147
+ - Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
148
+ - Bump @fluentui/test-utilities to v8.0.6 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
149
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
150
+
151
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
152
+
153
+ Fri, 04 Jun 2021 07:37:23 GMT
154
+ [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
+
156
+ ### Changes
157
+
158
+ - Modifying MinimalMenuProps target prop to only be React.Ref<HTMLElement> instead of React.Ref<HTMLElement | undefined>. ([PR #18168](https://github.com/microsoft/fluentui/pull/18168) by Humberto.Morimoto@microsoft.com)
159
+
160
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
161
+
162
+ Thu, 03 Jun 2021 07:36:03 GMT
163
+ [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
+
165
+ ### Changes
166
+
167
+ - Bump @fluentui/react-theme to v9.0.0-alpha.14 ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
168
+
169
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
170
+
171
+ Thu, 20 May 2021 07:41:54 GMT
172
+ [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
+
174
+ ### Patches
175
+
176
+ - Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
177
+ - Bump @fluentui/test-utilities to v8.0.5 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
178
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
179
+
180
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
181
+
182
+ Wed, 19 May 2021 07:34:20 GMT
183
+ [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
+
185
+ ### Changes
186
+
187
+ - chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
188
+
189
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
190
+
191
+ Thu, 13 May 2021 07:36:55 GMT
192
+ [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
+
194
+ ### Changes
195
+
196
+ - set null as default value for ThemeContext ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
197
+
198
+ ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
199
+
200
+ Wed, 12 May 2021 07:36:20 GMT
201
+ [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
+
203
+ ### Changes
204
+
205
+ - Add TooltipContext and TooltipManager interface ([PR #18043](https://github.com/microsoft/fluentui/pull/18043) by behowell@microsoft.com)
206
+
207
+ ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
208
+
209
+ Fri, 30 Apr 2021 07:42:23 GMT
210
+ [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
+
212
+ ### Patches
213
+
214
+ - Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
215
+ - Bump @fluentui/test-utilities to v8.0.4 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
216
+ - Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
217
+
218
+ ### Changes
219
+
220
+ - Upgrade to ts 4.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
221
+
7
222
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
8
223
 
9
- Fri, 23 Apr 2021 07:30:56 GMT
224
+ Fri, 23 Apr 2021 07:37:10 GMT
10
225
  [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)
11
226
 
12
227
  ### Patches
@@ -1,18 +1,15 @@
1
- import * as React from 'react';
2
- import { Theme } from '@fluentui/react-theme';
1
+ import * as React_2 from 'react';
2
+ import type { Theme } from '@fluentui/react-theme';
3
3
 
4
- export declare const MenuContext: React.Context<MinimalMenuProps>;
4
+ export declare const MenuContext: React_2.Context<MinimalMenuProps>;
5
5
 
6
- /**
7
- * {@docCategory MenuContext}
8
- */
9
6
  export declare type MinimalMenuProps = {
10
7
  hidden?: boolean;
11
8
  onDismiss?: () => void;
12
- target?: React.Ref<HTMLElement | undefined>;
9
+ target?: React_2.Ref<HTMLElement>;
13
10
  };
14
11
 
15
- export declare const ProviderContext: React.Context<ProviderContextValue>;
12
+ export declare const ProviderContext: React_2.Context<ProviderContextValue>;
16
13
 
17
14
  export declare interface ProviderContextValue {
18
15
  /** Sets the direction of text & generated styles. */
@@ -26,13 +23,33 @@ export declare interface ProviderContextValue {
26
23
  *
27
24
  * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
28
25
  */
29
- export declare const ThemeClassNameContext: React.Context<string>;
26
+ export declare const ThemeClassNameContext: React_2.Context<string>;
27
+
28
+ export declare type ThemeClassNameContextValue = string;
30
29
 
31
- export declare const ThemeContext: React.Context<ThemeContextValue>;
30
+ export declare const ThemeContext: React_2.Context<ThemeContextValue>;
32
31
 
33
32
  export declare interface ThemeContextValue extends Theme {
34
33
  }
35
34
 
35
+ /**
36
+ * Context shared by all of the tooltips in the app
37
+ */
38
+ export declare const TooltipContext: React_2.Context<TooltipContextType>;
39
+
40
+ /**
41
+ * The context provided by TooltipProvider
42
+ */
43
+ export declare type TooltipContextType = {
44
+ /**
45
+ * When a tooltip is shown, it sets itself as the visibleTooltip.
46
+ * The next tooltip to become visible can use it to hide the previous tooltip immediately.
47
+ */
48
+ visibleTooltip?: {
49
+ hide: () => void;
50
+ };
51
+ };
52
+
36
53
  export declare function useFluent(): ProviderContextValue;
37
54
 
38
55
  export declare const useMenuContext: () => MinimalMenuProps;
@@ -42,6 +59,6 @@ export declare function useTheme(): ThemeContextValue;
42
59
  /**
43
60
  * @returns CSS class that applies css variables
44
61
  */
45
- export declare function useThemeClassName(): string;
62
+ export declare function useThemeClassName(): ThemeClassNameContextValue;
46
63
 
47
64
  export { }
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import { MinimalMenuProps } from './types';
2
+ import type { MinimalMenuProps } from './types';
3
3
  export declare const MenuContext: React.Context<MinimalMenuProps>;
4
4
  export declare const useMenuContext: () => MinimalMenuProps;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- export var MenuContext = React.createContext({});
2
+ export var MenuContext = /*#__PURE__*/React.createContext({});
3
3
  export var useMenuContext = function () {
4
- return React.useContext(MenuContext);
4
+ return React.useContext(MenuContext);
5
5
  };
6
6
  //# sourceMappingURL=MenuContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuContext.js","sourceRoot":"../src/","sources":["MenuContext/MenuContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,CAAC,IAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAmB,EAAE,CAAC,CAAC;AAErE,MAAM,CAAC,IAAM,cAAc,GAAG;IAC5B,OAAO,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;AACvC,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { MinimalMenuProps } from './types';\n\nexport const MenuContext = React.createContext<MinimalMenuProps>({});\n\nexport const useMenuContext = () => {\n return React.useContext(MenuContext);\n};\n"]}
1
+ {"version":3,"sources":["../../src/MenuContext/MenuContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,OAAO,IAAM,WAAW,gBAAG,KAAK,CAAC,aAAN,CAAsC,EAAtC,CAApB;AAEP,OAAO,IAAM,cAAc,GAAG,YAAA;AAC5B,SAAO,KAAK,CAAC,UAAN,CAAiB,WAAjB,CAAP;AACD,CAFM","sourceRoot":""}
@@ -1,2 +1,3 @@
1
1
  export * from './MenuContext';
2
+ export * from './types';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["MenuContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './MenuContext';\nexport * from './types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/MenuContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import * as React from 'react';
2
- /**
3
- * {@docCategory MenuContext}
4
- */
5
2
  export declare type MinimalMenuProps = {
6
3
  hidden?: boolean;
7
4
  onDismiss?: () => void;
8
- target?: React.Ref<HTMLElement | undefined>;
5
+ target?: React.Ref<HTMLElement>;
9
6
  };
@@ -1 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"../src/","sources":["MenuContext/types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\n/**\n * {@docCategory MenuContext}\n */\nexport type MinimalMenuProps = {\n hidden?: boolean;\n onDismiss?: () => void;\n target?: React.Ref<HTMLElement | undefined>;\n};\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/MenuContext/types.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuContext.js","sourceRoot":"../src/","sources":["MenuContext.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './MenuContext/index';\n"]}
1
+ {"version":3,"file":"MenuContext.js","sourceRoot":"","sources":["../src/MenuContext.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import { ProviderContextValue } from './ProviderContext.types';
2
+ import type { ProviderContextValue } from './ProviderContext.types';
3
3
  export declare const ProviderContext: React.Context<ProviderContextValue>;
4
4
  export declare function useFluent(): ProviderContextValue;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- export var ProviderContext = React.createContext({
3
- targetDocument: typeof document === 'object' ? document : undefined,
4
- dir: 'ltr',
2
+ export var ProviderContext = /*#__PURE__*/React.createContext({
3
+ targetDocument: typeof document === 'object' ? document : undefined,
4
+ dir: 'ltr'
5
5
  });
6
6
  export function useFluent() {
7
- return React.useContext(ProviderContext);
7
+ return React.useContext(ProviderContext);
8
8
  }
9
9
  //# sourceMappingURL=ProviderContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderContext.js","sourceRoot":"../src/","sources":["ProviderContext/ProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,CAAC,IAAM,eAAe,GAAG,KAAK,CAAC,aAAa,CAAuB;IACvE,cAAc,EAAE,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IACnE,GAAG,EAAE,KAAK;CACX,CAAC,CAAC;AAEH,MAAM,UAAU,SAAS;IACvB,OAAO,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;AAC3C,CAAC","sourcesContent":["import * as React from 'react';\nimport { 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"]}
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 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=ProviderContext.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderContext.types.js","sourceRoot":"../src/","sources":["ProviderContext/ProviderContext.types.ts"],"names":[],"mappings":"","sourcesContent":["export interface 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"]}
1
+ {"version":3,"file":"ProviderContext.types.js","sourceRoot":"","sources":["../../src/ProviderContext/ProviderContext.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './ProviderContext';
2
+ export * from './ProviderContext.types';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './ProviderContext';\nexport * from './ProviderContext.types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderContext.js","sourceRoot":"../src/","sources":["ProviderContext.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './ProviderContext/index';\n"]}
1
+ {"version":3,"file":"ProviderContext.js","sourceRoot":"","sources":["../src/ProviderContext.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ export declare type ThemeClassNameContextValue = string;
2
3
  /**
3
4
  * Used to provide a CSS class that applies theme css variables
4
5
  *
@@ -8,4 +9,4 @@ export declare const ThemeClassNameContext: React.Context<string>;
8
9
  /**
9
10
  * @returns CSS class that applies css variables
10
11
  */
11
- export declare function useThemeClassName(): string;
12
+ export declare function useThemeClassName(): ThemeClassNameContextValue;
@@ -4,11 +4,13 @@ import * as React from 'react';
4
4
  *
5
5
  * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
6
6
  */
7
- export var ThemeClassNameContext = React.createContext('');
7
+
8
+ export var ThemeClassNameContext = /*#__PURE__*/React.createContext('');
8
9
  /**
9
10
  * @returns CSS class that applies css variables
10
11
  */
12
+
11
13
  export function useThemeClassName() {
12
- return React.useContext(ThemeClassNameContext);
14
+ return React.useContext(ThemeClassNameContext);
13
15
  }
14
16
  //# sourceMappingURL=ThemeClassNameContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeClassNameContext.js","sourceRoot":"../src/","sources":["ThemeClassNameContext/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;GAIG;AACH,MAAM,CAAC,IAAM,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAAS,EAAE,CAAC,CAAC;AAErE;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,OAAO,KAAK,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;AACjD,CAAC","sourcesContent":["import * as React from 'react';\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<string>('');\n\n/**\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): string {\n return React.useContext(ThemeClassNameContext);\n}\n"]}
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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ThemeClassNameContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './ThemeClassNameContext';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ThemeClassNameContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -1 +1 @@
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
+ {"version":3,"file":"ThemeClassNameContext.js","sourceRoot":"","sources":["../src/ThemeClassNameContext.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ThemeContextValue } from './ThemeContext.types';
2
1
  import * as React from 'react';
2
+ import type { ThemeContextValue } from './ThemeContext.types';
3
3
  export declare const ThemeContext: React.Context<ThemeContextValue>;
4
4
  export declare function useTheme(): ThemeContextValue;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- export var ThemeContext = React.createContext({});
2
+ export var ThemeContext = /*#__PURE__*/React.createContext(null);
3
3
  export function useTheme() {
4
- return React.useContext(ThemeContext);
4
+ return React.useContext(ThemeContext);
5
5
  }
6
6
  //# sourceMappingURL=ThemeContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"../src/","sources":["ThemeContext/ThemeContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,IAAM,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,EAAuB,CAAC,CAAC;AAEzE,MAAM,UAAU,QAAQ;IACtB,OAAO,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import { ThemeContextValue } from './ThemeContext.types';\nimport * as React from 'react';\n\nexport const ThemeContext = React.createContext({} as ThemeContextValue);\n\nexport function useTheme(): ThemeContextValue {\n return React.useContext(ThemeContext);\n}\n"]}
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,3 +1,3 @@
1
- import { Theme } from '@fluentui/react-theme';
1
+ import type { Theme } from '@fluentui/react-theme';
2
2
  export interface ThemeContextValue extends Theme {
3
3
  }
@@ -1 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=ThemeContext.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.types.js","sourceRoot":"../src/","sources":["ThemeContext/ThemeContext.types.ts"],"names":[],"mappings":"","sourcesContent":["import { Theme } from '@fluentui/react-theme';\n\nexport interface ThemeContextValue extends Theme {}\n"]}
1
+ {"version":3,"file":"ThemeContext.types.js","sourceRoot":"","sources":["../../src/ThemeContext/ThemeContext.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './ThemeContext';
2
+ export * from './ThemeContext.types';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ThemeContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './ThemeContext';\nexport * from './ThemeContext.types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ThemeContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"../src/","sources":["ThemeContext.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './ThemeContext/index';\n"]}
1
+ {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../src/ThemeContext.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * The context provided by TooltipProvider
4
+ */
5
+ export declare type TooltipContextType = {
6
+ /**
7
+ * When a tooltip is shown, it sets itself as the visibleTooltip.
8
+ * The next tooltip to become visible can use it to hide the previous tooltip immediately.
9
+ */
10
+ visibleTooltip?: {
11
+ hide: () => void;
12
+ };
13
+ };
14
+ /**
15
+ * Context shared by all of the tooltips in the app
16
+ */
17
+ export declare const TooltipContext: React.Context<TooltipContextType>;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * Context shared by all of the tooltips in the app
4
+ */
5
+
6
+ export var TooltipContext = /*#__PURE__*/React.createContext({});
7
+ //# sourceMappingURL=TooltipContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/TooltipContext/TooltipContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAeA;;AAEG;;AACH,OAAO,IAAM,cAAc,gBAAG,KAAK,CAAC,aAAN,CAAwC,EAAxC,CAAvB","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './TooltipContext';
@@ -0,0 +1,2 @@
1
+ export * from './TooltipContext';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/TooltipContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './TooltipContext/index';
@@ -0,0 +1,2 @@
1
+ export * from './TooltipContext/index';
2
+ //# sourceMappingURL=TooltipContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TooltipContext.js","sourceRoot":"","sources":["../src/TooltipContext.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './MenuContext';
2
2
  export * from './ThemeContext';
3
3
  export * from './ThemeClassNameContext';
4
+ export * from './TooltipContext';
4
5
  export * from './ProviderContext';
package/lib/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './MenuContext';
2
2
  export * from './ThemeContext';
3
3
  export * from './ThemeClassNameContext';
4
+ export * from './TooltipContext';
4
5
  export * from './ProviderContext';
5
6
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './MenuContext';\nexport * from './ThemeContext';\nexport * from './ThemeClassNameContext';\nexport * from './ProviderContext';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.7.1"
8
+ "packageVersion": "7.18.1"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import { MinimalMenuProps } from './types';
2
+ import type { MinimalMenuProps } from './types';
3
3
  export declare const MenuContext: React.Context<MinimalMenuProps>;
4
4
  export declare const useMenuContext: () => MinimalMenuProps;