@fluentui/react-shared-contexts 9.0.0-alpha.8 → 9.0.0-beta.3

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