@fluentui/react-shared-contexts 9.0.0-alpha.7 → 9.0.0-beta.2

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 +573 -1
  2. package/CHANGELOG.md +216 -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,226 @@
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 Wed, 27 Oct 2021 12:12:32 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
8
+
9
+ Wed, 27 Oct 2021 12:12:32 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-beta.2)
11
+
12
+ ### Changes
13
+
14
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
15
+
16
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
17
+
18
+ Wed, 06 Oct 2021 10:37:22 GMT
19
+ [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)
20
+
21
+ ### Changes
22
+
23
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
24
+ - Bump @fluentui/react-theme to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
25
+
26
+ ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
27
+
28
+ Fri, 01 Oct 2021 14:13:08 GMT
29
+ [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)
30
+
31
+ ### Changes
32
+
33
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
34
+ - Bump @fluentui/react-theme to v9.0.0-alpha.26 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
35
+
36
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
37
+
38
+ Wed, 29 Sep 2021 08:06:11 GMT
39
+ [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)
40
+
41
+ ### Changes
42
+
43
+ - Bump @fluentui/react-theme to v9.0.0-alpha.24 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
44
+
45
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
46
+
47
+ Tue, 21 Sep 2021 07:42:34 GMT
48
+ [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)
49
+
50
+ ### Changes
51
+
52
+ - Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
53
+
54
+ ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
55
+
56
+ Fri, 10 Sep 2021 16:31:53 GMT
57
+ [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)
58
+
59
+ ### Changes
60
+
61
+ - 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)
62
+
63
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
64
+
65
+ Tue, 24 Aug 2021 07:34:48 GMT
66
+ [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)
67
+
68
+ ### Changes
69
+
70
+ - Updating TypeScript type-only imports/exports to use import/export syntax. ([PR #19473](https://github.com/microsoft/fluentui/pull/19473) by dzearing@hotmail.com)
71
+
72
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
73
+
74
+ Fri, 20 Aug 2021 07:37:28 GMT
75
+ [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)
76
+
77
+ ### Changes
78
+
79
+ - Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
80
+
81
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
82
+
83
+ Fri, 13 Aug 2021 07:36:34 GMT
84
+ [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)
85
+
86
+ ### Changes
87
+
88
+ - create type for ThemeClassNameContext value and export it ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
89
+
90
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
91
+
92
+ Tue, 03 Aug 2021 07:39:30 GMT
93
+ [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)
94
+
95
+ ### Patches
96
+
97
+ - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
98
+ - Bump @fluentui/test-utilities to v8.0.8 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
99
+ - Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
100
+
101
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
102
+
103
+ Mon, 26 Jul 2021 07:37:30 GMT
104
+ [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)
105
+
106
+ ### Changes
107
+
108
+ - Bump @fluentui/react-theme to v9.0.0-alpha.19 ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
109
+
110
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
111
+
112
+ Fri, 23 Jul 2021 07:38:19 GMT
113
+ [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)
114
+
115
+ ### Changes
116
+
117
+ - Bump @fluentui/react-theme to v9.0.0-alpha.18 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
118
+
119
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
120
+
121
+ Fri, 09 Jul 2021 07:39:31 GMT
122
+ [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)
123
+
124
+ ### Patches
125
+
126
+ - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
127
+ - Bump @fluentui/test-utilities to v8.0.7 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
128
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
129
+
130
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
131
+
132
+ Fri, 02 Jul 2021 07:37:06 GMT
133
+ [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)
134
+
135
+ ### Changes
136
+
137
+ - Bump @fluentui/react-theme to v9.0.0-alpha.16 ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
138
+
139
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
140
+
141
+ Mon, 07 Jun 2021 07:38:15 GMT
142
+ [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)
143
+
144
+ ### Patches
145
+
146
+ - Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
147
+ - Bump @fluentui/test-utilities to v8.0.6 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
148
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
149
+
150
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
151
+
152
+ Fri, 04 Jun 2021 07:37:23 GMT
153
+ [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)
154
+
155
+ ### Changes
156
+
157
+ - 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)
158
+
159
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
160
+
161
+ Thu, 03 Jun 2021 07:36:03 GMT
162
+ [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)
163
+
164
+ ### Changes
165
+
166
+ - Bump @fluentui/react-theme to v9.0.0-alpha.14 ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
167
+
168
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
169
+
170
+ Thu, 20 May 2021 07:41:54 GMT
171
+ [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)
172
+
173
+ ### Patches
174
+
175
+ - Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
176
+ - Bump @fluentui/test-utilities to v8.0.5 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
177
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
178
+
179
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
180
+
181
+ Wed, 19 May 2021 07:34:20 GMT
182
+ [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)
183
+
184
+ ### Changes
185
+
186
+ - chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
187
+
188
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
189
+
190
+ Thu, 13 May 2021 07:36:55 GMT
191
+ [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)
192
+
193
+ ### Changes
194
+
195
+ - set null as default value for ThemeContext ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
196
+
197
+ ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
198
+
199
+ Wed, 12 May 2021 07:36:20 GMT
200
+ [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)
201
+
202
+ ### Changes
203
+
204
+ - Add TooltipContext and TooltipManager interface ([PR #18043](https://github.com/microsoft/fluentui/pull/18043) by behowell@microsoft.com)
205
+
206
+ ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
207
+
208
+ Fri, 30 Apr 2021 07:42:23 GMT
209
+ [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)
210
+
211
+ ### Patches
212
+
213
+ - Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
214
+ - Bump @fluentui/test-utilities to v8.0.4 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
215
+ - Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
216
+
217
+ ### Changes
218
+
219
+ - Upgrade to ts 4.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
220
+
7
221
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
8
222
 
9
- Fri, 23 Apr 2021 07:30:56 GMT
223
+ Fri, 23 Apr 2021 07:37:10 GMT
10
224
  [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
225
 
12
226
  ### 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;