@fluentui/react-shared-contexts 0.0.0-nightlyff78d1e27a20220217.1 → 0.1.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.
- package/CHANGELOG.json +16 -1003
- package/CHANGELOG.md +13 -370
- package/config/api-extractor.json +3 -0
- package/config/tests.js +10 -0
- package/dist/react-shared-contexts.d.ts +6 -51
- package/etc/react-shared-contexts.api.md +25 -0
- package/just.config.ts +3 -0
- package/lib/MenuContext/MenuContext.d.ts +1 -1
- package/lib/MenuContext/MenuContext.js +3 -3
- package/lib/MenuContext/MenuContext.js.map +1 -1
- package/lib/MenuContext/index.js +0 -1
- package/lib/MenuContext/index.js.map +1 -1
- package/lib/MenuContext/types.d.ts +4 -1
- package/lib/MenuContext/types.js +0 -1
- package/lib/MenuContext/types.js.map +1 -1
- package/lib/MenuContext.d.ts +1 -0
- package/lib/MenuContext.js +1 -0
- package/lib/MenuContext.js.map +1 -1
- package/lib/index.d.ts +1 -4
- package/lib/index.js +1 -4
- package/lib/index.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/lib/version.d.ts +1 -0
- package/lib/version.js +5 -0
- package/lib/version.js.map +1 -0
- package/lib-amd/MenuContext/MenuContext.d.ts +4 -0
- package/lib-amd/MenuContext/MenuContext.js +9 -0
- package/lib-amd/MenuContext/MenuContext.js.map +1 -0
- package/lib-amd/MenuContext/index.d.ts +2 -0
- package/lib-amd/MenuContext/index.js +6 -0
- package/lib-amd/MenuContext/index.js.map +1 -0
- package/lib-amd/MenuContext/types.d.ts +9 -0
- package/lib-amd/MenuContext/types.js +5 -0
- package/lib-amd/MenuContext/types.js.map +1 -0
- package/lib-amd/MenuContext.d.ts +2 -0
- package/lib-amd/MenuContext.js +6 -0
- package/lib-amd/MenuContext.js.map +1 -0
- package/lib-amd/index.d.ts +2 -0
- package/lib-amd/index.js +6 -0
- package/lib-amd/index.js.map +1 -0
- package/lib-amd/version.d.ts +1 -0
- package/lib-amd/version.js +6 -0
- package/lib-amd/version.js.map +1 -0
- package/lib-commonjs/MenuContext/MenuContext.d.ts +1 -1
- package/lib-commonjs/MenuContext/MenuContext.js +5 -14
- package/lib-commonjs/MenuContext/MenuContext.js.map +1 -1
- package/lib-commonjs/MenuContext/index.js +2 -9
- package/lib-commonjs/MenuContext/index.js.map +1 -1
- package/lib-commonjs/MenuContext/types.d.ts +4 -1
- package/lib-commonjs/MenuContext/types.js +1 -4
- package/lib-commonjs/MenuContext/types.js.map +1 -1
- package/lib-commonjs/MenuContext.d.ts +1 -0
- package/lib-commonjs/MenuContext.js +3 -7
- package/lib-commonjs/MenuContext.js.map +1 -1
- package/lib-commonjs/index.d.ts +1 -4
- package/lib-commonjs/index.js +3 -15
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/version.d.ts +1 -0
- package/lib-commonjs/version.js +7 -0
- package/lib-commonjs/version.js.map +1 -0
- package/package.json +19 -19
- package/lib/ProviderContext/ProviderContext.d.ts +0 -4
- package/lib/ProviderContext/ProviderContext.js +0 -9
- package/lib/ProviderContext/ProviderContext.js.map +0 -1
- package/lib/ProviderContext/ProviderContext.types.d.ts +0 -6
- package/lib/ProviderContext/ProviderContext.types.js +0 -2
- package/lib/ProviderContext/ProviderContext.types.js.map +0 -1
- package/lib/ProviderContext/index.d.ts +0 -2
- package/lib/ProviderContext/index.js +0 -3
- package/lib/ProviderContext/index.js.map +0 -1
- package/lib/ProviderContext.d.ts +0 -1
- package/lib/ProviderContext.js +0 -2
- package/lib/ProviderContext.js.map +0 -1
- package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
- package/lib/ThemeClassNameContext/ThemeClassNameContext.js +0 -16
- package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +0 -1
- package/lib/ThemeClassNameContext/index.d.ts +0 -1
- package/lib/ThemeClassNameContext/index.js +0 -2
- package/lib/ThemeClassNameContext/index.js.map +0 -1
- package/lib/ThemeClassNameContext.d.ts +0 -1
- package/lib/ThemeClassNameContext.js +0 -2
- package/lib/ThemeClassNameContext.js.map +0 -1
- package/lib/ThemeContext/ThemeContext.d.ts +0 -4
- package/lib/ThemeContext/ThemeContext.js +0 -6
- package/lib/ThemeContext/ThemeContext.js.map +0 -1
- package/lib/ThemeContext/index.d.ts +0 -1
- package/lib/ThemeContext/index.js +0 -2
- package/lib/ThemeContext/index.js.map +0 -1
- package/lib/ThemeContext.d.ts +0 -1
- package/lib/ThemeContext.js +0 -2
- package/lib/ThemeContext.js.map +0 -1
- package/lib/TooltipContext/TooltipContext.d.ts +0 -17
- package/lib/TooltipContext/TooltipContext.js +0 -7
- package/lib/TooltipContext/TooltipContext.js.map +0 -1
- package/lib/TooltipContext/index.d.ts +0 -1
- package/lib/TooltipContext/index.js +0 -2
- package/lib/TooltipContext/index.js.map +0 -1
- package/lib/TooltipContext.d.ts +0 -1
- package/lib/TooltipContext.js +0 -2
- package/lib/TooltipContext.js.map +0 -1
- package/lib-commonjs/ProviderContext/ProviderContext.d.ts +0 -4
- package/lib-commonjs/ProviderContext/ProviderContext.js +0 -20
- package/lib-commonjs/ProviderContext/ProviderContext.js.map +0 -1
- package/lib-commonjs/ProviderContext/ProviderContext.types.d.ts +0 -6
- package/lib-commonjs/ProviderContext/ProviderContext.types.js +0 -6
- package/lib-commonjs/ProviderContext/ProviderContext.types.js.map +0 -1
- package/lib-commonjs/ProviderContext/index.d.ts +0 -2
- package/lib-commonjs/ProviderContext/index.js +0 -12
- package/lib-commonjs/ProviderContext/index.js.map +0 -1
- package/lib-commonjs/ProviderContext.d.ts +0 -1
- package/lib-commonjs/ProviderContext.js +0 -10
- package/lib-commonjs/ProviderContext.js.map +0 -1
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js +0 -26
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +0 -1
- package/lib-commonjs/ThemeClassNameContext/index.d.ts +0 -1
- package/lib-commonjs/ThemeClassNameContext/index.js +0 -10
- package/lib-commonjs/ThemeClassNameContext/index.js.map +0 -1
- package/lib-commonjs/ThemeClassNameContext.d.ts +0 -1
- package/lib-commonjs/ThemeClassNameContext.js +0 -10
- package/lib-commonjs/ThemeClassNameContext.js.map +0 -1
- package/lib-commonjs/ThemeContext/ThemeContext.d.ts +0 -4
- package/lib-commonjs/ThemeContext/ThemeContext.js +0 -17
- package/lib-commonjs/ThemeContext/ThemeContext.js.map +0 -1
- package/lib-commonjs/ThemeContext/index.d.ts +0 -1
- package/lib-commonjs/ThemeContext/index.js +0 -10
- package/lib-commonjs/ThemeContext/index.js.map +0 -1
- package/lib-commonjs/ThemeContext.d.ts +0 -1
- package/lib-commonjs/ThemeContext.js +0 -10
- package/lib-commonjs/ThemeContext.js.map +0 -1
- package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -17
- package/lib-commonjs/TooltipContext/TooltipContext.js +0 -15
- package/lib-commonjs/TooltipContext/TooltipContext.js.map +0 -1
- package/lib-commonjs/TooltipContext/index.d.ts +0 -1
- package/lib-commonjs/TooltipContext/index.js +0 -10
- package/lib-commonjs/TooltipContext/index.js.map +0 -1
- package/lib-commonjs/TooltipContext.d.ts +0 -1
- package/lib-commonjs/TooltipContext.js +0 -10
- package/lib-commonjs/TooltipContext.js.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,392 +1,35 @@
|
|
1
1
|
# Change Log - @fluentui/react-shared-contexts
|
2
2
|
|
3
|
-
This log was last generated on Thu,
|
3
|
+
This log was last generated on Thu, 19 May 2022 12:26:46 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.
|
7
|
+
## [0.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.1.3)
|
8
8
|
|
9
|
-
Thu,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-
|
11
|
-
|
12
|
-
### Changes
|
13
|
-
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by email not defined)
|
15
|
-
- Bump @fluentui/react-theme to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
|
16
|
-
|
17
|
-
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1)
|
18
|
-
|
19
|
-
Thu, 10 Feb 2022 08:50:48 GMT
|
20
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v9.0.0-rc.1)
|
21
|
-
|
22
|
-
### Changes
|
23
|
-
|
24
|
-
- make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
|
25
|
-
- Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
|
26
|
-
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
27
|
-
- Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
28
|
-
|
29
|
-
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
|
30
|
-
|
31
|
-
Thu, 25 Nov 2021 08:34:16 GMT
|
32
|
-
[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)
|
33
|
-
|
34
|
-
### Changes
|
35
|
-
|
36
|
-
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
37
|
-
|
38
|
-
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
|
39
|
-
|
40
|
-
Fri, 12 Nov 2021 13:25:32 GMT
|
41
|
-
[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)
|
42
|
-
|
43
|
-
### Changes
|
44
|
-
|
45
|
-
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
46
|
-
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
47
|
-
|
48
|
-
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
|
49
|
-
|
50
|
-
Wed, 27 Oct 2021 12:14:24 GMT
|
51
|
-
[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)
|
52
|
-
|
53
|
-
### Changes
|
54
|
-
|
55
|
-
- Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
56
|
-
|
57
|
-
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
|
58
|
-
|
59
|
-
Wed, 06 Oct 2021 10:37:22 GMT
|
60
|
-
[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)
|
61
|
-
|
62
|
-
### Changes
|
63
|
-
|
64
|
-
- Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
|
65
|
-
- Bump @fluentui/react-theme to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
66
|
-
|
67
|
-
## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
|
68
|
-
|
69
|
-
Fri, 01 Oct 2021 14:13:08 GMT
|
70
|
-
[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)
|
71
|
-
|
72
|
-
### Changes
|
73
|
-
|
74
|
-
- Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
|
75
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.26 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
|
76
|
-
|
77
|
-
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
|
78
|
-
|
79
|
-
Wed, 29 Sep 2021 08:06:11 GMT
|
80
|
-
[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)
|
81
|
-
|
82
|
-
### Changes
|
83
|
-
|
84
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.24 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
|
85
|
-
|
86
|
-
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
|
87
|
-
|
88
|
-
Tue, 21 Sep 2021 07:42:34 GMT
|
89
|
-
[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)
|
90
|
-
|
91
|
-
### Changes
|
92
|
-
|
93
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
94
|
-
|
95
|
-
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
|
96
|
-
|
97
|
-
Fri, 10 Sep 2021 16:31:53 GMT
|
98
|
-
[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)
|
99
|
-
|
100
|
-
### Changes
|
101
|
-
|
102
|
-
- 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)
|
103
|
-
|
104
|
-
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
|
105
|
-
|
106
|
-
Tue, 24 Aug 2021 07:34:48 GMT
|
107
|
-
[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)
|
108
|
-
|
109
|
-
### Changes
|
110
|
-
|
111
|
-
- Updating TypeScript type-only imports/exports to use import/export syntax. ([PR #19473](https://github.com/microsoft/fluentui/pull/19473) by dzearing@hotmail.com)
|
112
|
-
|
113
|
-
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
|
114
|
-
|
115
|
-
Fri, 20 Aug 2021 07:37:28 GMT
|
116
|
-
[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)
|
117
|
-
|
118
|
-
### Changes
|
119
|
-
|
120
|
-
- Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
|
121
|
-
|
122
|
-
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
|
123
|
-
|
124
|
-
Fri, 13 Aug 2021 07:36:34 GMT
|
125
|
-
[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)
|
126
|
-
|
127
|
-
### Changes
|
128
|
-
|
129
|
-
- create type for ThemeClassNameContext value and export it ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
|
130
|
-
|
131
|
-
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
|
132
|
-
|
133
|
-
Tue, 03 Aug 2021 07:39:30 GMT
|
134
|
-
[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)
|
135
|
-
|
136
|
-
### Patches
|
137
|
-
|
138
|
-
- Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
|
139
|
-
- Bump @fluentui/test-utilities to v8.0.8 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
|
140
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
|
141
|
-
|
142
|
-
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
|
143
|
-
|
144
|
-
Mon, 26 Jul 2021 07:37:30 GMT
|
145
|
-
[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)
|
146
|
-
|
147
|
-
### Changes
|
148
|
-
|
149
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.19 ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
|
150
|
-
|
151
|
-
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
|
152
|
-
|
153
|
-
Fri, 23 Jul 2021 07:38:19 GMT
|
154
|
-
[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)
|
155
|
-
|
156
|
-
### Changes
|
157
|
-
|
158
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.18 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
|
159
|
-
|
160
|
-
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
|
161
|
-
|
162
|
-
Fri, 09 Jul 2021 07:39:31 GMT
|
163
|
-
[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)
|
164
|
-
|
165
|
-
### Patches
|
166
|
-
|
167
|
-
- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
|
168
|
-
- Bump @fluentui/test-utilities to v8.0.7 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
|
169
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
|
170
|
-
|
171
|
-
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
|
172
|
-
|
173
|
-
Fri, 02 Jul 2021 07:37:06 GMT
|
174
|
-
[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)
|
175
|
-
|
176
|
-
### Changes
|
177
|
-
|
178
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.16 ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
|
179
|
-
|
180
|
-
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
|
181
|
-
|
182
|
-
Mon, 07 Jun 2021 07:38:15 GMT
|
183
|
-
[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)
|
184
|
-
|
185
|
-
### Patches
|
186
|
-
|
187
|
-
- Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
|
188
|
-
- Bump @fluentui/test-utilities to v8.0.6 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
|
189
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
|
190
|
-
|
191
|
-
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
|
192
|
-
|
193
|
-
Fri, 04 Jun 2021 07:37:23 GMT
|
194
|
-
[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)
|
195
|
-
|
196
|
-
### Changes
|
197
|
-
|
198
|
-
- 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)
|
199
|
-
|
200
|
-
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
|
201
|
-
|
202
|
-
Thu, 03 Jun 2021 07:36:03 GMT
|
203
|
-
[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)
|
204
|
-
|
205
|
-
### Changes
|
206
|
-
|
207
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.14 ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
|
208
|
-
|
209
|
-
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
|
210
|
-
|
211
|
-
Thu, 20 May 2021 07:41:54 GMT
|
212
|
-
[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)
|
9
|
+
Thu, 19 May 2022 12:26:46 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v0.1.2..@fluentui/react-shared-contexts_v0.1.3)
|
213
11
|
|
214
12
|
### Patches
|
215
13
|
|
216
|
-
-
|
217
|
-
- Bump @fluentui/test-utilities to v8.0.5 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
|
218
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
|
14
|
+
- Update React compatibility to support React <18.0.0 ([PR #22921](https://github.com/microsoft/fluentui/pull/22921) by tmichon@microsoft.com)
|
219
15
|
|
220
|
-
## [
|
16
|
+
## [0.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.1.2)
|
221
17
|
|
222
|
-
|
223
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-
|
224
|
-
|
225
|
-
### Changes
|
226
|
-
|
227
|
-
- chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
|
228
|
-
|
229
|
-
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
|
230
|
-
|
231
|
-
Thu, 13 May 2021 07:36:55 GMT
|
232
|
-
[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)
|
233
|
-
|
234
|
-
### Changes
|
235
|
-
|
236
|
-
- set null as default value for ThemeContext ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
|
237
|
-
|
238
|
-
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
|
239
|
-
|
240
|
-
Wed, 12 May 2021 07:36:20 GMT
|
241
|
-
[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)
|
242
|
-
|
243
|
-
### Changes
|
244
|
-
|
245
|
-
- Add TooltipContext and TooltipManager interface ([PR #18043](https://github.com/microsoft/fluentui/pull/18043) by behowell@microsoft.com)
|
246
|
-
|
247
|
-
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
|
248
|
-
|
249
|
-
Fri, 30 Apr 2021 07:42:23 GMT
|
250
|
-
[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)
|
18
|
+
Fri, 26 Feb 2021 21:31:33 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v0.1.1..@fluentui/react-shared-contexts_v0.1.2)
|
251
20
|
|
252
21
|
### Patches
|
253
22
|
|
254
|
-
-
|
255
|
-
- Bump @fluentui/test-utilities to v8.0.4 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
|
256
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
|
257
|
-
|
258
|
-
### Changes
|
259
|
-
|
260
|
-
- Upgrade to ts 4.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
|
23
|
+
- Publish packages with names that also exist in master under dist-tag lts-7 ([PR #17191](https://github.com/microsoft/fluentui/pull/17191) by elcraig@microsoft.com)
|
261
24
|
|
262
|
-
## [
|
25
|
+
## [0.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.1.1)
|
263
26
|
|
264
|
-
|
265
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-
|
27
|
+
Tue, 17 Nov 2020 12:27:56 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.1..@fluentui/react-shared-contexts_v0.1.1)
|
266
29
|
|
267
30
|
### Patches
|
268
31
|
|
269
|
-
-
|
270
|
-
- Bump @fluentui/test-utilities to v8.0.3 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
|
271
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
|
272
|
-
|
273
|
-
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6)
|
274
|
-
|
275
|
-
Tue, 20 Apr 2021 07:31:35 GMT
|
276
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.5..@fluentui/react-shared-contexts_v9.0.0-alpha.6)
|
277
|
-
|
278
|
-
### Changes
|
279
|
-
|
280
|
-
- Rename internal document to targetDocument ([PR #17827](https://github.com/microsoft/fluentui/pull/17827) by lingfan.gao@microsoft.com)
|
281
|
-
|
282
|
-
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5)
|
283
|
-
|
284
|
-
Fri, 16 Apr 2021 18:08:21 GMT
|
285
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.4..@fluentui/react-shared-contexts_v9.0.0-alpha.5)
|
286
|
-
|
287
|
-
### Changes
|
288
|
-
|
289
|
-
- Add ThemeClassNameContext for CSS variable class ([PR #17794](https://github.com/microsoft/fluentui/pull/17794) by lingfan.gao@microsoft.com)
|
290
|
-
|
291
|
-
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
|
292
|
-
|
293
|
-
Thu, 08 Apr 2021 07:33:06 GMT
|
294
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.3..@fluentui/react-shared-contexts_v9.0.0-alpha.4)
|
295
|
-
|
296
|
-
### Changes
|
297
|
-
|
298
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.8 ([PR #17676](https://github.com/microsoft/fluentui/pull/17676) by Humberto.Morimoto@microsoft.com)
|
299
|
-
|
300
|
-
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.3)
|
301
|
-
|
302
|
-
Wed, 31 Mar 2021 00:53:43 GMT
|
303
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.2..@fluentui/react-shared-contexts_v9.0.0-alpha.3)
|
304
|
-
|
305
|
-
### Patches
|
306
|
-
|
307
|
-
- Bump @fluentui/eslint-plugin to v1.1.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
|
308
|
-
- Bump @fluentui/test-utilities to v8.0.2 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
|
309
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
|
310
|
-
|
311
|
-
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.2)
|
312
|
-
|
313
|
-
Tue, 30 Mar 2021 07:34:45 GMT
|
314
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.11..@fluentui/react-shared-contexts_v9.0.0-alpha.2)
|
315
|
-
|
316
|
-
### Changes
|
317
|
-
|
318
|
-
- chore: restore "sideEffects" to enable treeshaking ([PR #17584](https://github.com/microsoft/fluentui/pull/17584) by olfedias@microsoft.com)
|
319
|
-
- Lifts ThemeContext and FluentProviderContext to react-shared-contexts ([PR #17586](https://github.com/microsoft/fluentui/pull/17586) by bsunderhus@microsoft.com)
|
320
|
-
|
321
|
-
## [1.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.11)
|
322
|
-
|
323
|
-
Mon, 15 Mar 2021 07:36:20 GMT
|
324
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.10..@fluentui/react-shared-contexts_v1.0.0-beta.11)
|
325
|
-
|
326
|
-
### Changes
|
327
|
-
|
328
|
-
- Remove set-version references ([PR #17381](https://github.com/microsoft/fluentui/pull/17381) by elcraig@microsoft.com)
|
329
|
-
|
330
|
-
## [1.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.10)
|
331
|
-
|
332
|
-
Fri, 26 Feb 2021 01:16:27 GMT
|
333
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.9..@fluentui/react-shared-contexts_v1.0.0-beta.10)
|
334
|
-
|
335
|
-
### Patches
|
336
|
-
|
337
|
-
- Bump @fluentui/eslint-plugin to v1.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
|
338
|
-
- Bump @fluentui/scripts to v1.0.0 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
|
339
|
-
- Bump @fluentui/set-version to v8.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
|
340
|
-
- Bump @fluentui/test-utilities to v8.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
|
341
|
-
|
342
|
-
### Changes
|
343
|
-
|
344
|
-
- Update references to major-bumped packages ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
|
345
|
-
|
346
|
-
## [1.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.9)
|
347
|
-
|
348
|
-
Mon, 22 Feb 2021 12:26:22 GMT
|
349
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.8..@fluentui/react-shared-contexts_v1.0.0-beta.9)
|
350
|
-
|
351
|
-
### Changes
|
352
|
-
|
353
|
-
- Bump @fluentui/test-utilities to v8.0.0-beta.9 ([PR #17061](https://github.com/microsoft/fluentui/pull/17061) by elcraig@microsoft.com)
|
354
|
-
|
355
|
-
## [1.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.8)
|
356
|
-
|
357
|
-
Thu, 18 Feb 2021 19:38:50 GMT
|
358
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.7..@fluentui/react-shared-contexts_v1.0.0-beta.8)
|
359
|
-
|
360
|
-
### Changes
|
361
|
-
|
362
|
-
- Allow React 17 in peerDependencies ([PR #17048](https://github.com/microsoft/fluentui/pull/17048) by elcraig@microsoft.com)
|
363
|
-
|
364
|
-
## [1.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.7)
|
365
|
-
|
366
|
-
Thu, 18 Feb 2021 12:27:34 GMT
|
367
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.6..@fluentui/react-shared-contexts_v1.0.0-beta.7)
|
368
|
-
|
369
|
-
### Changes
|
370
|
-
|
371
|
-
- Bump @fluentui/test-utilities to v8.0.0-beta.7 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
|
372
|
-
|
373
|
-
## [1.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.6)
|
374
|
-
|
375
|
-
Mon, 15 Feb 2021 12:22:00 GMT
|
376
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.5..@fluentui/react-shared-contexts_v1.0.0-beta.6)
|
377
|
-
|
378
|
-
### Changes
|
379
|
-
|
380
|
-
- Bump @fluentui/test-utilities to v8.0.0-beta.6 ([PR #16880](https://github.com/microsoft/fluentui/pull/16880) by xgao@microsoft.com)
|
381
|
-
|
382
|
-
## [1.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.4)
|
383
|
-
|
384
|
-
Thu, 21 Jan 2021 12:36:12 GMT
|
385
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.1..@fluentui/react-shared-contexts_v1.0.0-beta.4)
|
386
|
-
|
387
|
-
### Changes
|
388
|
-
|
389
|
-
- Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
|
32
|
+
- Initial publish of v0 version. ([PR #15956](https://github.com/microsoft/fluentui/pull/15956) by xgao@microsoft.com)
|
390
33
|
|
391
34
|
## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.1)
|
392
35
|
|
package/config/tests.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
/** Jest test setup file. */
|
2
|
+
const { configure } = require('enzyme');
|
3
|
+
const Adapter = require('enzyme-adapter-react-16');
|
4
|
+
|
5
|
+
global.requestAnimationFrame = callback => {
|
6
|
+
setTimeout(callback, 0);
|
7
|
+
};
|
8
|
+
|
9
|
+
// Configure enzyme.
|
10
|
+
configure({ adapter: new Adapter() });
|
@@ -1,61 +1,16 @@
|
|
1
|
-
import * as
|
2
|
-
import type { Theme } from '@fluentui/react-theme';
|
1
|
+
import * as React from 'react';
|
3
2
|
|
4
|
-
export declare const MenuContext:
|
3
|
+
export declare const MenuContext: React.Context<MinimalMenuProps>;
|
5
4
|
|
5
|
+
/**
|
6
|
+
* {@docCategory MenuContext}
|
7
|
+
*/
|
6
8
|
export declare type MinimalMenuProps = {
|
7
9
|
hidden?: boolean;
|
8
10
|
onDismiss?: () => void;
|
9
|
-
target?:
|
11
|
+
target?: React.Ref<HTMLElement | undefined>;
|
10
12
|
};
|
11
13
|
|
12
|
-
export declare const ProviderContext: React_2.Context<ProviderContextValue>;
|
13
|
-
|
14
|
-
export declare interface ProviderContextValue {
|
15
|
-
/** Sets the direction of text & generated styles. */
|
16
|
-
dir: 'ltr' | 'rtl';
|
17
|
-
/** Provides the document, can be undefined during SSR render. */
|
18
|
-
targetDocument?: Document;
|
19
|
-
}
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Used to provide a CSS class that applies theme css variables
|
23
|
-
*
|
24
|
-
* Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
|
25
|
-
*/
|
26
|
-
export declare const ThemeClassNameContext: React_2.Context<string>;
|
27
|
-
|
28
|
-
export declare type ThemeClassNameContextValue = string;
|
29
|
-
|
30
|
-
export declare const ThemeContext: React_2.Context<Theme | Partial<Theme> | undefined>;
|
31
|
-
|
32
|
-
/**
|
33
|
-
* Context shared by all of the tooltips in the app
|
34
|
-
*/
|
35
|
-
export declare const TooltipContext: React_2.Context<TooltipContextType>;
|
36
|
-
|
37
|
-
/**
|
38
|
-
* The context provided by TooltipProvider
|
39
|
-
*/
|
40
|
-
export declare type TooltipContextType = {
|
41
|
-
/**
|
42
|
-
* When a tooltip is shown, it sets itself as the visibleTooltip.
|
43
|
-
* The next tooltip to become visible can use it to hide the previous tooltip immediately.
|
44
|
-
*/
|
45
|
-
visibleTooltip?: {
|
46
|
-
hide: () => void;
|
47
|
-
};
|
48
|
-
};
|
49
|
-
|
50
|
-
export declare function useFluent(): ProviderContextValue;
|
51
|
-
|
52
14
|
export declare const useMenuContext: () => MinimalMenuProps;
|
53
15
|
|
54
|
-
export declare function useTheme(): Theme | Partial<Theme> | undefined;
|
55
|
-
|
56
|
-
/**
|
57
|
-
* @returns CSS class that applies css variables
|
58
|
-
*/
|
59
|
-
export declare function useThemeClassName(): ThemeClassNameContextValue;
|
60
|
-
|
61
16
|
export { }
|
@@ -0,0 +1,25 @@
|
|
1
|
+
## API Report File for "@fluentui/react-shared-contexts"
|
2
|
+
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
4
|
+
|
5
|
+
```ts
|
6
|
+
|
7
|
+
import * as React from 'react';
|
8
|
+
|
9
|
+
// @public (undocumented)
|
10
|
+
export const MenuContext: React.Context<MinimalMenuProps>;
|
11
|
+
|
12
|
+
// @public (undocumented)
|
13
|
+
export type MinimalMenuProps = {
|
14
|
+
hidden?: boolean;
|
15
|
+
onDismiss?: () => void;
|
16
|
+
target?: React.Ref<HTMLElement | undefined>;
|
17
|
+
};
|
18
|
+
|
19
|
+
// @public (undocumented)
|
20
|
+
export const useMenuContext: () => MinimalMenuProps;
|
21
|
+
|
22
|
+
|
23
|
+
// (No @packageDocumentation comment for this package)
|
24
|
+
|
25
|
+
```
|
package/just.config.ts
ADDED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
export
|
3
|
-
export
|
4
|
-
|
2
|
+
export var MenuContext = React.createContext({});
|
3
|
+
export var useMenuContext = function () {
|
4
|
+
return React.useContext(MenuContext);
|
5
5
|
};
|
6
6
|
//# sourceMappingURL=MenuContext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["MenuContext/MenuContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
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"]}
|
package/lib/MenuContext/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["MenuContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC
|
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"]}
|
package/lib/MenuContext/types.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"../src/","sources":["MenuContext/types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport type MinimalMenuProps = {\n hidden?: boolean;\n onDismiss?: () => void;\n target?: React.Ref<HTMLElement>;\n};\n"]}
|
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"]}
|
package/lib/MenuContext.d.ts
CHANGED
package/lib/MenuContext.js
CHANGED
package/lib/MenuContext.js.map
CHANGED
@@ -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":"../src/","sources":["MenuContext.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AAEpC,OAAO,WAAW,CAAC","sourcesContent":["export * from './MenuContext/index';\n\nimport './version';\n"]}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
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;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,OAAO,WAAW,CAAC","sourcesContent":["export * from './MenuContext';\n\nimport './version';\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/lib/version.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/lib/version.js
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
// Do not modify this file; it is generated as part of publish.
|
2
|
+
// The checked in version is a placeholder only and will not be updated.
|
3
|
+
import { setVersion } from '@uifabric/set-version';
|
4
|
+
setVersion('@fluentui/react-shared-contexts', '0.1.2');
|
5
|
+
//# sourceMappingURL=version.js.map
|