@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.
- package/CHANGELOG.json +575 -1
- package/CHANGELOG.md +211 -2
- package/dist/react-shared-contexts.d.ts +5 -8
- 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.map +1 -1
- package/lib/MenuContext/types.d.ts +1 -4
- package/lib/MenuContext/types.js.map +1 -1
- package/lib/MenuContext.js.map +1 -1
- package/lib/ProviderContext/ProviderContext.d.ts +1 -1
- package/lib/ProviderContext/ProviderContext.js +4 -4
- package/lib/ProviderContext/ProviderContext.js.map +1 -1
- package/lib/ProviderContext/ProviderContext.types.js.map +1 -1
- package/lib/ProviderContext/index.js.map +1 -1
- package/lib/ProviderContext.js.map +1 -1
- package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +2 -1
- package/lib/ThemeClassNameContext/ThemeClassNameContext.js +4 -2
- package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
- package/lib/ThemeClassNameContext/index.js.map +1 -1
- package/lib/ThemeClassNameContext.js.map +1 -1
- package/lib/ThemeContext/ThemeContext.d.ts +1 -1
- package/lib/ThemeContext/ThemeContext.js +2 -2
- package/lib/ThemeContext/ThemeContext.js.map +1 -1
- package/lib/ThemeContext/ThemeContext.types.d.ts +1 -1
- package/lib/ThemeContext/ThemeContext.types.js.map +1 -1
- package/lib/ThemeContext/index.js.map +1 -1
- package/lib/ThemeContext.js.map +1 -1
- package/lib/TooltipContext/TooltipContext.d.ts +0 -2
- package/lib/TooltipContext/TooltipContext.js +2 -2
- package/lib/TooltipContext/TooltipContext.js.map +1 -1
- package/lib/TooltipContext/index.js.map +1 -1
- package/lib/TooltipContext.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/lib-commonjs/MenuContext/MenuContext.d.ts +1 -1
- package/lib-commonjs/MenuContext/MenuContext.js +12 -5
- package/lib-commonjs/MenuContext/MenuContext.js.map +1 -1
- package/lib-commonjs/MenuContext/index.js +8 -2
- package/lib-commonjs/MenuContext/index.js.map +1 -1
- package/lib-commonjs/MenuContext/types.d.ts +1 -4
- package/lib-commonjs/MenuContext/types.js +4 -1
- package/lib-commonjs/MenuContext/types.js.map +1 -1
- package/lib-commonjs/MenuContext.js +7 -2
- package/lib-commonjs/MenuContext.js.map +1 -1
- package/lib-commonjs/ProviderContext/ProviderContext.d.ts +1 -1
- package/lib-commonjs/ProviderContext/ProviderContext.js +13 -6
- package/lib-commonjs/ProviderContext/ProviderContext.js.map +1 -1
- package/lib-commonjs/ProviderContext/ProviderContext.types.js +4 -1
- package/lib-commonjs/ProviderContext/ProviderContext.types.js.map +1 -1
- package/lib-commonjs/ProviderContext/index.js +8 -2
- package/lib-commonjs/ProviderContext/index.js.map +1 -1
- package/lib-commonjs/ProviderContext.js +7 -2
- package/lib-commonjs/ProviderContext.js.map +1 -1
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +2 -1
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js +12 -4
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
- package/lib-commonjs/ThemeClassNameContext/index.js +7 -2
- package/lib-commonjs/ThemeClassNameContext/index.js.map +1 -1
- package/lib-commonjs/ThemeClassNameContext.js +7 -2
- package/lib-commonjs/ThemeClassNameContext.js.map +1 -1
- package/lib-commonjs/ThemeContext/ThemeContext.d.ts +1 -1
- package/lib-commonjs/ThemeContext/ThemeContext.js +11 -4
- package/lib-commonjs/ThemeContext/ThemeContext.js.map +1 -1
- package/lib-commonjs/ThemeContext/ThemeContext.types.d.ts +1 -1
- package/lib-commonjs/ThemeContext/ThemeContext.types.js +4 -1
- package/lib-commonjs/ThemeContext/ThemeContext.types.js.map +1 -1
- package/lib-commonjs/ThemeContext/index.js +8 -2
- package/lib-commonjs/ThemeContext/index.js.map +1 -1
- package/lib-commonjs/ThemeContext.js +7 -2
- package/lib-commonjs/ThemeContext.js.map +1 -1
- package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -2
- package/lib-commonjs/TooltipContext/TooltipContext.js +9 -4
- package/lib-commonjs/TooltipContext/TooltipContext.js.map +1 -1
- package/lib-commonjs/TooltipContext/index.js +7 -2
- package/lib-commonjs/TooltipContext/index.js.map +1 -1
- package/lib-commonjs/TooltipContext.js +7 -2
- package/lib-commonjs/TooltipContext.js.map +1 -1
- package/lib-commonjs/index.js +11 -2
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -7
- package/config/api-extractor.json +0 -3
- package/config/tests.js +0 -6
- package/etc/react-shared-contexts.api.md +0 -64
- package/just.config.ts +0 -3
- package/lib-amd/MenuContext/MenuContext.d.ts +0 -4
- package/lib-amd/MenuContext/MenuContext.js +0 -11
- package/lib-amd/MenuContext/MenuContext.js.map +0 -1
- package/lib-amd/MenuContext/index.d.ts +0 -2
- package/lib-amd/MenuContext/index.js +0 -7
- package/lib-amd/MenuContext/index.js.map +0 -1
- package/lib-amd/MenuContext/types.d.ts +0 -9
- package/lib-amd/MenuContext/types.js +0 -5
- package/lib-amd/MenuContext/types.js.map +0 -1
- package/lib-amd/MenuContext.d.ts +0 -1
- package/lib-amd/MenuContext.js +0 -6
- package/lib-amd/MenuContext.js.map +0 -1
- package/lib-amd/ProviderContext/ProviderContext.d.ts +0 -4
- package/lib-amd/ProviderContext/ProviderContext.js +0 -14
- package/lib-amd/ProviderContext/ProviderContext.js.map +0 -1
- package/lib-amd/ProviderContext/ProviderContext.types.d.ts +0 -6
- package/lib-amd/ProviderContext/ProviderContext.types.js +0 -5
- package/lib-amd/ProviderContext/ProviderContext.types.js.map +0 -1
- package/lib-amd/ProviderContext/index.d.ts +0 -2
- package/lib-amd/ProviderContext/index.js +0 -7
- package/lib-amd/ProviderContext/index.js.map +0 -1
- package/lib-amd/ProviderContext.d.ts +0 -1
- package/lib-amd/ProviderContext.js +0 -6
- package/lib-amd/ProviderContext.js.map +0 -1
- package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -11
- package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.js +0 -19
- package/lib-amd/ThemeClassNameContext/ThemeClassNameContext.js.map +0 -1
- package/lib-amd/ThemeClassNameContext/index.d.ts +0 -1
- package/lib-amd/ThemeClassNameContext/index.js +0 -6
- package/lib-amd/ThemeClassNameContext/index.js.map +0 -1
- package/lib-amd/ThemeClassNameContext.d.ts +0 -1
- package/lib-amd/ThemeClassNameContext.js +0 -6
- package/lib-amd/ThemeClassNameContext.js.map +0 -1
- package/lib-amd/ThemeContext/ThemeContext.d.ts +0 -4
- package/lib-amd/ThemeContext/ThemeContext.js +0 -11
- package/lib-amd/ThemeContext/ThemeContext.js.map +0 -1
- package/lib-amd/ThemeContext/ThemeContext.types.d.ts +0 -3
- package/lib-amd/ThemeContext/ThemeContext.types.js +0 -5
- package/lib-amd/ThemeContext/ThemeContext.types.js.map +0 -1
- package/lib-amd/ThemeContext/index.d.ts +0 -2
- package/lib-amd/ThemeContext/index.js +0 -7
- package/lib-amd/ThemeContext/index.js.map +0 -1
- package/lib-amd/ThemeContext.d.ts +0 -1
- package/lib-amd/ThemeContext.js +0 -6
- package/lib-amd/ThemeContext.js.map +0 -1
- package/lib-amd/TooltipContext/TooltipContext.d.ts +0 -19
- package/lib-amd/TooltipContext/TooltipContext.js +0 -11
- package/lib-amd/TooltipContext/TooltipContext.js.map +0 -1
- package/lib-amd/TooltipContext/index.d.ts +0 -1
- package/lib-amd/TooltipContext/index.js +0 -6
- package/lib-amd/TooltipContext/index.js.map +0 -1
- package/lib-amd/TooltipContext.d.ts +0 -1
- package/lib-amd/TooltipContext.js +0 -6
- package/lib-amd/TooltipContext.js.map +0 -1
- package/lib-amd/index.d.ts +0 -5
- package/lib-amd/index.js +0 -10
- package/lib-amd/index.js.map +0 -1
- package/src/ProviderContext/ProviderContext.types.ts +0 -7
- 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
|
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:
|
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
|
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():
|
62
|
+
export declare function useThemeClassName(): ThemeClassNameContextValue;
|
66
63
|
|
67
64
|
export { }
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
export
|
3
|
-
export
|
4
|
-
|
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,"
|
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":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/MenuContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/MenuContext/types.ts"],"names":[],"mappings":""}
|
package/lib/MenuContext.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenuContext.js","sourceRoot":"
|
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
|
3
|
-
|
4
|
-
|
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
|
-
|
7
|
+
return React.useContext(ProviderContext);
|
8
8
|
}
|
9
9
|
//# sourceMappingURL=ProviderContext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
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":"
|
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":"
|
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":"
|
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():
|
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
|
-
|
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
|
-
|
14
|
+
return React.useContext(ThemeClassNameContext);
|
13
15
|
}
|
14
16
|
//# sourceMappingURL=ThemeClassNameContext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
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":"
|
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":"
|
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
|
2
|
+
export const ThemeContext = /*#__PURE__*/React.createContext(null);
|
3
3
|
export function useTheme() {
|
4
|
-
|
4
|
+
return React.useContext(ThemeContext);
|
5
5
|
}
|
6
6
|
//# sourceMappingURL=ThemeContext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
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 +1 @@
|
|
1
|
-
{"version":3,"file":"ThemeContext.types.js","sourceRoot":"
|
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":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ThemeContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
package/lib/ThemeContext.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ThemeContext.js","sourceRoot":"
|
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
|
-
|
5
|
+
|
6
|
+
export const TooltipContext = /*#__PURE__*/React.createContext({});
|
7
7
|
//# sourceMappingURL=TooltipContext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
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":"
|
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":"
|
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":"
|
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"}
|
package/lib/tsdoc-metadata.json
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
3
6
|
exports.useMenuContext = exports.MenuContext = void 0;
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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,"
|
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
|
-
|
3
|
-
|
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,"
|
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 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":""}
|