@fluentui/react-shared-contexts 9.0.0-alpha.9 → 9.0.0-beta.4

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 (144) hide show
  1. package/CHANGELOG.json +575 -1
  2. package/CHANGELOG.md +211 -2
  3. package/dist/react-shared-contexts.d.ts +5 -8
  4. package/lib/MenuContext/MenuContext.d.ts +1 -1
  5. package/lib/MenuContext/MenuContext.js +3 -3
  6. package/lib/MenuContext/MenuContext.js.map +1 -1
  7. package/lib/MenuContext/index.js.map +1 -1
  8. package/lib/MenuContext/types.d.ts +1 -4
  9. package/lib/MenuContext/types.js.map +1 -1
  10. package/lib/MenuContext.js.map +1 -1
  11. package/lib/ProviderContext/ProviderContext.d.ts +1 -1
  12. package/lib/ProviderContext/ProviderContext.js +4 -4
  13. package/lib/ProviderContext/ProviderContext.js.map +1 -1
  14. package/lib/ProviderContext/ProviderContext.types.js.map +1 -1
  15. package/lib/ProviderContext/index.js.map +1 -1
  16. package/lib/ProviderContext.js.map +1 -1
  17. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +2 -1
  18. package/lib/ThemeClassNameContext/ThemeClassNameContext.js +4 -2
  19. package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  20. package/lib/ThemeClassNameContext/index.js.map +1 -1
  21. package/lib/ThemeClassNameContext.js.map +1 -1
  22. package/lib/ThemeContext/ThemeContext.d.ts +1 -1
  23. package/lib/ThemeContext/ThemeContext.js +2 -2
  24. package/lib/ThemeContext/ThemeContext.js.map +1 -1
  25. package/lib/ThemeContext/ThemeContext.types.d.ts +1 -1
  26. package/lib/ThemeContext/ThemeContext.types.js.map +1 -1
  27. package/lib/ThemeContext/index.js.map +1 -1
  28. package/lib/ThemeContext.js.map +1 -1
  29. package/lib/TooltipContext/TooltipContext.d.ts +0 -2
  30. package/lib/TooltipContext/TooltipContext.js +2 -2
  31. package/lib/TooltipContext/TooltipContext.js.map +1 -1
  32. package/lib/TooltipContext/index.js.map +1 -1
  33. package/lib/TooltipContext.js.map +1 -1
  34. package/lib/index.js.map +1 -1
  35. package/lib/tsdoc-metadata.json +1 -1
  36. package/lib-commonjs/MenuContext/MenuContext.d.ts +1 -1
  37. package/lib-commonjs/MenuContext/MenuContext.js +12 -5
  38. package/lib-commonjs/MenuContext/MenuContext.js.map +1 -1
  39. package/lib-commonjs/MenuContext/index.js +8 -2
  40. package/lib-commonjs/MenuContext/index.js.map +1 -1
  41. package/lib-commonjs/MenuContext/types.d.ts +1 -4
  42. package/lib-commonjs/MenuContext/types.js +4 -1
  43. package/lib-commonjs/MenuContext/types.js.map +1 -1
  44. package/lib-commonjs/MenuContext.js +7 -2
  45. package/lib-commonjs/MenuContext.js.map +1 -1
  46. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +1 -1
  47. package/lib-commonjs/ProviderContext/ProviderContext.js +13 -6
  48. package/lib-commonjs/ProviderContext/ProviderContext.js.map +1 -1
  49. package/lib-commonjs/ProviderContext/ProviderContext.types.js +4 -1
  50. package/lib-commonjs/ProviderContext/ProviderContext.types.js.map +1 -1
  51. package/lib-commonjs/ProviderContext/index.js +8 -2
  52. package/lib-commonjs/ProviderContext/index.js.map +1 -1
  53. package/lib-commonjs/ProviderContext.js +7 -2
  54. package/lib-commonjs/ProviderContext.js.map +1 -1
  55. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +2 -1
  56. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js +12 -4
  57. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  58. package/lib-commonjs/ThemeClassNameContext/index.js +7 -2
  59. package/lib-commonjs/ThemeClassNameContext/index.js.map +1 -1
  60. package/lib-commonjs/ThemeClassNameContext.js +7 -2
  61. package/lib-commonjs/ThemeClassNameContext.js.map +1 -1
  62. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +1 -1
  63. package/lib-commonjs/ThemeContext/ThemeContext.js +11 -4
  64. package/lib-commonjs/ThemeContext/ThemeContext.js.map +1 -1
  65. package/lib-commonjs/ThemeContext/ThemeContext.types.d.ts +1 -1
  66. package/lib-commonjs/ThemeContext/ThemeContext.types.js +4 -1
  67. package/lib-commonjs/ThemeContext/ThemeContext.types.js.map +1 -1
  68. package/lib-commonjs/ThemeContext/index.js +8 -2
  69. package/lib-commonjs/ThemeContext/index.js.map +1 -1
  70. package/lib-commonjs/ThemeContext.js +7 -2
  71. package/lib-commonjs/ThemeContext.js.map +1 -1
  72. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -2
  73. package/lib-commonjs/TooltipContext/TooltipContext.js +9 -4
  74. package/lib-commonjs/TooltipContext/TooltipContext.js.map +1 -1
  75. package/lib-commonjs/TooltipContext/index.js +7 -2
  76. package/lib-commonjs/TooltipContext/index.js.map +1 -1
  77. package/lib-commonjs/TooltipContext.js +7 -2
  78. package/lib-commonjs/TooltipContext.js.map +1 -1
  79. package/lib-commonjs/index.js +11 -2
  80. package/lib-commonjs/index.js.map +1 -1
  81. package/package.json +7 -7
  82. package/config/api-extractor.json +0 -3
  83. package/config/tests.js +0 -6
  84. package/etc/react-shared-contexts.api.md +0 -64
  85. package/just.config.ts +0 -3
  86. package/lib-amd/MenuContext/MenuContext.d.ts +0 -4
  87. package/lib-amd/MenuContext/MenuContext.js +0 -11
  88. package/lib-amd/MenuContext/MenuContext.js.map +0 -1
  89. package/lib-amd/MenuContext/index.d.ts +0 -2
  90. package/lib-amd/MenuContext/index.js +0 -7
  91. package/lib-amd/MenuContext/index.js.map +0 -1
  92. package/lib-amd/MenuContext/types.d.ts +0 -9
  93. package/lib-amd/MenuContext/types.js +0 -5
  94. package/lib-amd/MenuContext/types.js.map +0 -1
  95. package/lib-amd/MenuContext.d.ts +0 -1
  96. package/lib-amd/MenuContext.js +0 -6
  97. package/lib-amd/MenuContext.js.map +0 -1
  98. package/lib-amd/ProviderContext/ProviderContext.d.ts +0 -4
  99. package/lib-amd/ProviderContext/ProviderContext.js +0 -14
  100. package/lib-amd/ProviderContext/ProviderContext.js.map +0 -1
  101. package/lib-amd/ProviderContext/ProviderContext.types.d.ts +0 -6
  102. package/lib-amd/ProviderContext/ProviderContext.types.js +0 -5
  103. package/lib-amd/ProviderContext/ProviderContext.types.js.map +0 -1
  104. package/lib-amd/ProviderContext/index.d.ts +0 -2
  105. package/lib-amd/ProviderContext/index.js +0 -7
  106. package/lib-amd/ProviderContext/index.js.map +0 -1
  107. package/lib-amd/ProviderContext.d.ts +0 -1
  108. package/lib-amd/ProviderContext.js +0 -6
  109. package/lib-amd/ProviderContext.js.map +0 -1
  110. package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -11
  111. package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.js +0 -19
  112. package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.js.map +0 -1
  113. package/lib-amd/ThemeClassNameContext/index.d.ts +0 -1
  114. package/lib-amd/ThemeClassNameContext/index.js +0 -6
  115. package/lib-amd/ThemeClassNameContext/index.js.map +0 -1
  116. package/lib-amd/ThemeClassNameContext.d.ts +0 -1
  117. package/lib-amd/ThemeClassNameContext.js +0 -6
  118. package/lib-amd/ThemeClassNameContext.js.map +0 -1
  119. package/lib-amd/ThemeContext/ThemeContext.d.ts +0 -4
  120. package/lib-amd/ThemeContext/ThemeContext.js +0 -11
  121. package/lib-amd/ThemeContext/ThemeContext.js.map +0 -1
  122. package/lib-amd/ThemeContext/ThemeContext.types.d.ts +0 -3
  123. package/lib-amd/ThemeContext/ThemeContext.types.js +0 -5
  124. package/lib-amd/ThemeContext/ThemeContext.types.js.map +0 -1
  125. package/lib-amd/ThemeContext/index.d.ts +0 -2
  126. package/lib-amd/ThemeContext/index.js +0 -7
  127. package/lib-amd/ThemeContext/index.js.map +0 -1
  128. package/lib-amd/ThemeContext.d.ts +0 -1
  129. package/lib-amd/ThemeContext.js +0 -6
  130. package/lib-amd/ThemeContext.js.map +0 -1
  131. package/lib-amd/TooltipContext/TooltipContext.d.ts +0 -19
  132. package/lib-amd/TooltipContext/TooltipContext.js +0 -11
  133. package/lib-amd/TooltipContext/TooltipContext.js.map +0 -1
  134. package/lib-amd/TooltipContext/index.d.ts +0 -1
  135. package/lib-amd/TooltipContext/index.js +0 -6
  136. package/lib-amd/TooltipContext/index.js.map +0 -1
  137. package/lib-amd/TooltipContext.d.ts +0 -1
  138. package/lib-amd/TooltipContext.js +0 -6
  139. package/lib-amd/TooltipContext.js.map +0 -1
  140. package/lib-amd/index.d.ts +0 -5
  141. package/lib-amd/index.js +0 -10
  142. package/lib-amd/index.js.map +0 -1
  143. package/src/ProviderContext/ProviderContext.types.ts +0 -7
  144. package/src/ThemeContext/ThemeContext.types.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,12 +1,221 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Wed, 12 May 2021 07:33:00 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 25 Nov 2021 08:31:34 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
8
+
9
+ Thu, 25 Nov 2021 08:31:34 GMT
10
+ [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)
11
+
12
+ ### Changes
13
+
14
+ - Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
15
+
16
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
17
+
18
+ Fri, 12 Nov 2021 13:25:32 GMT
19
+ [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)
20
+
21
+ ### Changes
22
+
23
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
24
+ - Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
25
+
26
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
27
+
28
+ Wed, 27 Oct 2021 12:14:24 GMT
29
+ [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)
30
+
31
+ ### Changes
32
+
33
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
34
+
35
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
36
+
37
+ Wed, 06 Oct 2021 10:37:22 GMT
38
+ [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)
39
+
40
+ ### Changes
41
+
42
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
43
+ - Bump @fluentui/react-theme to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
44
+
45
+ ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
46
+
47
+ Fri, 01 Oct 2021 14:13:08 GMT
48
+ [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)
49
+
50
+ ### Changes
51
+
52
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
53
+ - Bump @fluentui/react-theme to v9.0.0-alpha.26 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
54
+
55
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
56
+
57
+ Wed, 29 Sep 2021 08:06:11 GMT
58
+ [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)
59
+
60
+ ### Changes
61
+
62
+ - Bump @fluentui/react-theme to v9.0.0-alpha.24 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
63
+
64
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
65
+
66
+ Tue, 21 Sep 2021 07:42:34 GMT
67
+ [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)
68
+
69
+ ### Changes
70
+
71
+ - Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
72
+
73
+ ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
74
+
75
+ Fri, 10 Sep 2021 16:31:53 GMT
76
+ [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)
77
+
78
+ ### Changes
79
+
80
+ - 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)
81
+
82
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
83
+
84
+ Tue, 24 Aug 2021 07:34:48 GMT
85
+ [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)
86
+
87
+ ### Changes
88
+
89
+ - Updating TypeScript type-only imports/exports to use import/export syntax. ([PR #19473](https://github.com/microsoft/fluentui/pull/19473) by dzearing@hotmail.com)
90
+
91
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
92
+
93
+ Fri, 20 Aug 2021 07:37:28 GMT
94
+ [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)
95
+
96
+ ### Changes
97
+
98
+ - Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
99
+
100
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
101
+
102
+ Fri, 13 Aug 2021 07:36:34 GMT
103
+ [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)
104
+
105
+ ### Changes
106
+
107
+ - create type for ThemeClassNameContext value and export it ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
108
+
109
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
110
+
111
+ Tue, 03 Aug 2021 07:39:30 GMT
112
+ [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)
113
+
114
+ ### Patches
115
+
116
+ - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
117
+ - Bump @fluentui/test-utilities to v8.0.8 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
118
+ - Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
119
+
120
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
121
+
122
+ Mon, 26 Jul 2021 07:37:30 GMT
123
+ [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)
124
+
125
+ ### Changes
126
+
127
+ - Bump @fluentui/react-theme to v9.0.0-alpha.19 ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
128
+
129
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
130
+
131
+ Fri, 23 Jul 2021 07:38:19 GMT
132
+ [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)
133
+
134
+ ### Changes
135
+
136
+ - Bump @fluentui/react-theme to v9.0.0-alpha.18 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
137
+
138
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
139
+
140
+ Fri, 09 Jul 2021 07:39:31 GMT
141
+ [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)
142
+
143
+ ### Patches
144
+
145
+ - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
146
+ - Bump @fluentui/test-utilities to v8.0.7 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
147
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
148
+
149
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
150
+
151
+ Fri, 02 Jul 2021 07:37:06 GMT
152
+ [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)
153
+
154
+ ### Changes
155
+
156
+ - Bump @fluentui/react-theme to v9.0.0-alpha.16 ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
157
+
158
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
159
+
160
+ Mon, 07 Jun 2021 07:38:15 GMT
161
+ [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)
162
+
163
+ ### Patches
164
+
165
+ - Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
166
+ - Bump @fluentui/test-utilities to v8.0.6 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
167
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
168
+
169
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
170
+
171
+ Fri, 04 Jun 2021 07:37:23 GMT
172
+ [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)
173
+
174
+ ### Changes
175
+
176
+ - 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)
177
+
178
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
179
+
180
+ Thu, 03 Jun 2021 07:36:03 GMT
181
+ [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)
182
+
183
+ ### Changes
184
+
185
+ - Bump @fluentui/react-theme to v9.0.0-alpha.14 ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
186
+
187
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
188
+
189
+ Thu, 20 May 2021 07:41:54 GMT
190
+ [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)
191
+
192
+ ### Patches
193
+
194
+ - Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
195
+ - Bump @fluentui/test-utilities to v8.0.5 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
196
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
197
+
198
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
199
+
200
+ Wed, 19 May 2021 07:34:20 GMT
201
+ [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)
202
+
203
+ ### Changes
204
+
205
+ - chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
206
+
207
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
208
+
209
+ Thu, 13 May 2021 07:36:55 GMT
210
+ [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)
211
+
212
+ ### Changes
213
+
214
+ - set null as default value for ThemeContext ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
215
+
7
216
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
8
217
 
9
- Wed, 12 May 2021 07:33:00 GMT
218
+ Wed, 12 May 2021 07:36:20 GMT
10
219
  [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)
11
220
 
12
221
  ### Changes
@@ -1,15 +1,12 @@
1
1
  import * as React_2 from 'react';
2
- import { Theme } from '@fluentui/react-theme';
2
+ import type { Theme } from '@fluentui/react-theme';
3
3
 
4
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_2.Ref<HTMLElement | undefined>;
9
+ target?: React_2.Ref<HTMLElement>;
13
10
  };
14
11
 
15
12
  export declare const ProviderContext: React_2.Context<ProviderContextValue>;
@@ -28,6 +25,8 @@ export declare interface ProviderContextValue {
28
25
  */
29
26
  export declare const ThemeClassNameContext: React_2.Context<string>;
30
27
 
28
+ export declare type ThemeClassNameContextValue = string;
29
+
31
30
  export declare const ThemeContext: React_2.Context<ThemeContextValue>;
32
31
 
33
32
  export declare interface ThemeContextValue extends Theme {
@@ -35,13 +34,11 @@ export declare interface ThemeContextValue extends Theme {
35
34
 
36
35
  /**
37
36
  * Context shared by all of the tooltips in the app
38
- * {@docCategory Tooltip}
39
37
  */
40
38
  export declare const TooltipContext: React_2.Context<TooltipContextType>;
41
39
 
42
40
  /**
43
41
  * The context provided by TooltipProvider
44
- * {@docCategory Tooltip}
45
42
  */
46
43
  export declare type TooltipContextType = {
47
44
  /**
@@ -62,6 +59,6 @@ export declare function useTheme(): ThemeContextValue;
62
59
  /**
63
60
  * @returns CSS class that applies css variables
64
61
  */
65
- export declare function useThemeClassName(): string;
62
+ export declare function useThemeClassName(): ThemeClassNameContextValue;
66
63
 
67
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({});
3
- export var useMenuContext = function () {
4
- return React.useContext(MenuContext);
2
+ export const MenuContext = /*#__PURE__*/React.createContext({});
3
+ export const useMenuContext = () => {
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,MAAM,WAAW,gBAAG,KAAK,CAAC,aAAN,CAAsC,EAAtC,CAApB;AAEP,OAAO,MAAM,cAAc,GAAG,MAAK;AACjC,SAAO,KAAK,CAAC,UAAN,CAAiB,WAAjB,CAAP;AACD,CAFM","sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["MenuContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,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 @@
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 const 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,MAAM,eAAe,gBAAG,KAAK,CAAC,aAAN,CAA0C;AACvE,EAAA,cAAc,EAAE,OAAO,QAAP,KAAoB,QAApB,GAA+B,QAA/B,GAA0C,SADa;AAEvE,EAAA,GAAG,EAAE;AAFkE,CAA1C,CAAxB;AAKP,OAAM,SAAU,SAAV,GAAmB;AACvB,SAAO,KAAK,CAAC,UAAN,CAAiB,eAAjB,CAAP;AACD","sourceRoot":""}
@@ -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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ProviderContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './ProviderContext';\nexport * from './ProviderContext.types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","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 const 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,MAAM,qBAAqB,gBAAG,KAAK,CAAC,aAAN,CAAgD,EAAhD,CAA9B;AAEP;;AAEG;;AACH,OAAM,SAAU,iBAAV,GAA2B;AAC/B,SAAO,KAAK,CAAC,UAAN,CAAiB,qBAAjB,CAAP;AACD","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 const 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,MAAM,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 @@
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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["ThemeContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,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"}
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  /**
3
3
  * The context provided by TooltipProvider
4
- * {@docCategory Tooltip}
5
4
  */
6
5
  export declare type TooltipContextType = {
7
6
  /**
@@ -14,6 +13,5 @@ export declare type TooltipContextType = {
14
13
  };
15
14
  /**
16
15
  * Context shared by all of the tooltips in the app
17
- * {@docCategory Tooltip}
18
16
  */
19
17
  export declare const TooltipContext: React.Context<TooltipContextType>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  /**
3
3
  * Context shared by all of the tooltips in the app
4
- * {@docCategory Tooltip}
5
4
  */
6
- export var TooltipContext = React.createContext({});
5
+
6
+ export const TooltipContext = /*#__PURE__*/React.createContext({});
7
7
  //# sourceMappingURL=TooltipContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipContext.js","sourceRoot":"../src/","sources":["TooltipContext/TooltipContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B;;;GAGG;AACH,MAAM,CAAC,IAAM,cAAc,GAAG,KAAK,CAAC,aAAa,CAAqB,EAAE,CAAC,CAAC","sourcesContent":["import * as React from 'react';\n\n/**\n * The context provided by TooltipProvider\n * {@docCategory Tooltip}\n */\nexport type TooltipContextType = {\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 * {@docCategory Tooltip}\n */\nexport const TooltipContext = React.createContext<TooltipContextType>({});\n"]}
1
+ {"version":3,"sources":["../../src/TooltipContext/TooltipContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAeA;;AAEG;;AACH,OAAO,MAAM,cAAc,gBAAG,KAAK,CAAC,aAAN,CAAwC,EAAxC,CAAvB","sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["TooltipContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './TooltipContext';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/TooltipContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipContext.js","sourceRoot":"../src/","sources":["TooltipContext.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC","sourcesContent":["export * from './TooltipContext/index';\n"]}
1
+ {"version":3,"file":"TooltipContext.js","sourceRoot":"","sources":["../src/TooltipContext.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
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,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './MenuContext';\nexport * from './ThemeContext';\nexport * from './ThemeClassNameContext';\nexport * from './TooltipContext';\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.13.0"
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;
@@ -1,10 +1,17 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
3
6
  exports.useMenuContext = exports.MenuContext = void 0;
4
- var React = require("react");
5
- exports.MenuContext = React.createContext({});
6
- var useMenuContext = function () {
7
- return React.useContext(exports.MenuContext);
7
+
8
+ const React = /*#__PURE__*/require("react");
9
+
10
+ exports.MenuContext = /*#__PURE__*/React.createContext({});
11
+
12
+ const useMenuContext = () => {
13
+ return React.useContext(exports.MenuContext);
8
14
  };
15
+
9
16
  exports.useMenuContext = useMenuContext;
10
17
  //# sourceMappingURL=MenuContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuContext.js","sourceRoot":"../src/","sources":["MenuContext/MenuContext.ts"],"names":[],"mappings":";;;AAAA,6BAA+B;AAGlB,QAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAmB,EAAE,CAAC,CAAC;AAE9D,IAAM,cAAc,GAAG;IAC5B,OAAO,KAAK,CAAC,UAAU,CAAC,mBAAW,CAAC,CAAC;AACvC,CAAC,CAAC;AAFW,QAAA,cAAc,kBAEzB","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,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAGa,OAAA,CAAA,WAAA,gBAAc,KAAK,CAAC,aAAN,CAAsC,EAAtC,CAAd;;AAEN,MAAM,cAAc,GAAG,MAAK;AACjC,SAAO,KAAK,CAAC,UAAN,CAAiB,OAAA,CAAA,WAAjB,CAAP;AACD,CAFM;;AAAM,OAAA,CAAA,cAAA,GAAc,cAAd","sourceRoot":""}
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
4
9
  tslib_1.__exportStar(require("./MenuContext"), exports);
10
+
5
11
  tslib_1.__exportStar(require("./types"), exports);
6
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["MenuContext/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,kDAAwB","sourcesContent":["export * from './MenuContext';\nexport * from './types';\n"]}
1
+ {"version":3,"sources":["../../src/MenuContext/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,SAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -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,3 +1,6 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
3
6
  //# 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,"sources":[],"names":[],"mappings":"","sourceRoot":""}