@fluentui/react-tooltip 0.0.0-nightly39ce3cbcf120211206.1 → 0.0.0-nightly50ae56ec3420220218.1
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 +189 -24
- package/CHANGELOG.md +45 -14
- package/MIGRATION.md +51 -43
- package/Spec.md +201 -337
- package/dist/react-tooltip.d.ts +38 -48
- package/lib/Tooltip.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts +3 -2
- package/lib/components/Tooltip/Tooltip.js +9 -9
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.types.d.ts +32 -39
- package/lib/components/Tooltip/Tooltip.types.js.map +1 -1
- package/lib/components/Tooltip/index.js.map +1 -1
- package/lib/components/Tooltip/private/constants.d.ts +12 -0
- package/lib/components/Tooltip/private/constants.js +14 -0
- package/lib/components/Tooltip/private/constants.js.map +1 -0
- package/lib/components/Tooltip/renderTooltip.d.ts +1 -1
- package/lib/components/Tooltip/renderTooltip.js +5 -4
- package/lib/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib/components/Tooltip/useTooltip.d.ts +3 -6
- package/lib/components/Tooltip/useTooltip.js +44 -65
- package/lib/components/Tooltip/useTooltip.js.map +1 -1
- package/lib/components/Tooltip/useTooltipStyles.d.ts +1 -1
- package/lib/components/Tooltip/useTooltipStyles.js +38 -25
- package/lib/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Tooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/Tooltip.d.ts +3 -2
- package/lib-commonjs/components/Tooltip/Tooltip.js +8 -7
- package/lib-commonjs/components/Tooltip/Tooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/Tooltip.types.d.ts +32 -39
- package/lib-commonjs/components/Tooltip/Tooltip.types.js.map +1 -1
- package/lib-commonjs/components/Tooltip/index.js.map +1 -1
- package/lib-commonjs/components/Tooltip/private/constants.d.ts +12 -0
- package/lib-commonjs/components/Tooltip/private/constants.js +21 -0
- package/lib-commonjs/components/Tooltip/private/constants.js.map +1 -0
- package/lib-commonjs/components/Tooltip/renderTooltip.d.ts +1 -1
- package/lib-commonjs/components/Tooltip/renderTooltip.js +7 -6
- package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltip.d.ts +3 -6
- package/lib-commonjs/components/Tooltip/useTooltip.js +49 -69
- package/lib-commonjs/components/Tooltip/useTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.d.ts +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js +43 -28
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +9 -11
package/CHANGELOG.json
CHANGED
@@ -2,79 +2,244 @@
|
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-tooltip_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Fri, 18 Feb 2022 04:14:57 GMT",
|
6
|
+
"tag": "@fluentui/react-tooltip_v0.0.0-nightly50ae56ec3420220218.1",
|
7
|
+
"version": "0.0.0-nightly50ae56ec3420220218.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-tooltip",
|
13
|
-
"commit": "
|
13
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "behowell@microsoft.com",
|
18
|
+
"package": "@fluentui/react-tooltip",
|
19
|
+
"commit": "50ae56ec346d762d66b3d74ed1127943ffda344f",
|
20
|
+
"comment": "Update documentation comments"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "lingfangao@hotmail.com",
|
24
|
+
"package": "@fluentui/react-tooltip",
|
25
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
26
|
+
"comment": "fix: Source maps contain original source code"
|
27
|
+
},
|
16
28
|
{
|
17
29
|
"author": "olfedias@microsoft.com",
|
18
30
|
"package": "@fluentui/react-tooltip",
|
19
|
-
"commit": "
|
20
|
-
"comment": "update
|
31
|
+
"commit": "2bf88fea066244bc078912bb6e45edb960f3b866",
|
32
|
+
"comment": "update trigger implementation to be consistent"
|
21
33
|
},
|
22
34
|
{
|
23
35
|
"author": "beachball",
|
24
36
|
"package": "@fluentui/react-tooltip",
|
25
|
-
"comment": "Bump @fluentui/react-
|
26
|
-
"commit": "
|
37
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly50ae56ec3420220218.1",
|
38
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995"
|
27
39
|
},
|
28
40
|
{
|
29
41
|
"author": "beachball",
|
30
42
|
"package": "@fluentui/react-tooltip",
|
31
|
-
"comment": "Bump @fluentui/react-
|
32
|
-
"commit": "
|
43
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly50ae56ec3420220218.1",
|
44
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995"
|
33
45
|
},
|
34
46
|
{
|
35
47
|
"author": "beachball",
|
36
48
|
"package": "@fluentui/react-tooltip",
|
37
|
-
"comment": "Bump @fluentui/react-
|
38
|
-
"commit": "
|
49
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly50ae56ec3420220218.1",
|
50
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995"
|
39
51
|
},
|
40
52
|
{
|
41
53
|
"author": "beachball",
|
42
54
|
"package": "@fluentui/react-tooltip",
|
43
|
-
"comment": "Bump @fluentui/react-
|
44
|
-
"commit": "
|
55
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly50ae56ec3420220218.1",
|
56
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995"
|
45
57
|
},
|
46
58
|
{
|
47
59
|
"author": "beachball",
|
48
60
|
"package": "@fluentui/react-tooltip",
|
49
|
-
"comment": "Bump @fluentui/react-
|
50
|
-
"commit": "
|
61
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly50ae56ec3420220218.1",
|
62
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995"
|
51
63
|
},
|
52
64
|
{
|
53
65
|
"author": "beachball",
|
54
66
|
"package": "@fluentui/react-tooltip",
|
55
|
-
"comment": "Bump @fluentui/react-
|
56
|
-
"commit": "
|
67
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly50ae56ec3420220218.1",
|
68
|
+
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995"
|
69
|
+
}
|
70
|
+
]
|
71
|
+
}
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"date": "Thu, 10 Feb 2022 08:50:30 GMT",
|
75
|
+
"tag": "@fluentui/react-tooltip_v9.0.0-rc.1",
|
76
|
+
"version": "9.0.0-rc.1",
|
77
|
+
"comments": {
|
78
|
+
"prerelease": [
|
79
|
+
{
|
80
|
+
"author": "olfedias@microsoft.com",
|
81
|
+
"package": "@fluentui/react-tooltip",
|
82
|
+
"commit": "02e6236e4db8e1b591223475896537e905bf3580",
|
83
|
+
"comment": "BREAKING: implement `content` slot"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"author": "olfedias@microsoft.com",
|
87
|
+
"package": "@fluentui/react-tooltip",
|
88
|
+
"commit": "17c0b18d7983d414095661bf9f57e14c0c22685d",
|
89
|
+
"comment": "Replace make-styles packages with griffel equivalents."
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"author": "behowell@microsoft.com",
|
93
|
+
"package": "@fluentui/react-tooltip",
|
94
|
+
"commit": "58ae40d6817b1fa4e095a94707dfef5050aa4c11",
|
95
|
+
"comment": "Replace `triggerAriaAttribute` prop with `relationship` and make it required with no default"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"author": "behowell@microsoft.com",
|
99
|
+
"package": "@fluentui/react-tooltip",
|
100
|
+
"commit": "f30e7585a8d2abd9db06c4076f39a779008b0eca",
|
101
|
+
"comment": "Update MenuTrigger and Tooltip to work together"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"author": "mgodbolt@microsoft.com",
|
105
|
+
"package": "@fluentui/react-tooltip",
|
106
|
+
"commit": "839ec14849e112b85aa321d034739ec421199141",
|
107
|
+
"comment": "remove export of commons types"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"author": "lingfangao@hotmail.com",
|
111
|
+
"package": "@fluentui/react-tooltip",
|
112
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
113
|
+
"comment": "Bump Fluent UI packages to 9.0.0-rc"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"author": "behowell@microsoft.com",
|
117
|
+
"package": "@fluentui/react-tooltip",
|
118
|
+
"commit": "caaf3307f864b04369c13fe69d7dc8fe7ab84735",
|
119
|
+
"comment": "Move arrowHeight and tooltipBorderRadius into a shared constants.ts file"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"author": "behowell@microsoft.com",
|
123
|
+
"package": "@fluentui/react-tooltip",
|
124
|
+
"commit": "2aacc839785a2f96d84a959aea207dfdb99116f8",
|
125
|
+
"comment": "Prevent Tooltip from overriding any aria-label, etc. props on its child"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
129
|
+
"package": "@fluentui/react-tooltip",
|
130
|
+
"commit": "9204703d0a42ee34a20ae4cf28952e13872647ba",
|
131
|
+
"comment": "Replacing use of functions in makeStyles with direct use of tokens."
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"author": "behowell@microsoft.com",
|
135
|
+
"package": "@fluentui/react-tooltip",
|
136
|
+
"commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
|
137
|
+
"comment": "Refactor component Slot typings"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"author": "olfedias@microsoft.com",
|
141
|
+
"package": "@fluentui/react-tooltip",
|
142
|
+
"commit": "1bbb753830028fbf133858d523ae2d56ceefeecf",
|
143
|
+
"comment": "update styles to not use CSS shorthands"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"author": "behowell@microsoft.com",
|
147
|
+
"package": "@fluentui/react-tooltip",
|
148
|
+
"commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
|
149
|
+
"comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"author": "behowell@microsoft.com",
|
153
|
+
"package": "@fluentui/react-tooltip",
|
154
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
155
|
+
"comment": "Remove component's shorthandProps array"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
159
|
+
"package": "@fluentui/react-tooltip",
|
160
|
+
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
|
161
|
+
"comment": "Updating based on changes to composition types."
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"author": "behowell@microsoft.com",
|
165
|
+
"package": "@fluentui/react-tooltip",
|
166
|
+
"commit": "97c3818f7faf8733a0cfc9c91f5e94ddb8652d3a",
|
167
|
+
"comment": "Update documentation stories"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"author": "olfedias@microsoft.com",
|
171
|
+
"package": "@fluentui/react-tooltip",
|
172
|
+
"commit": "aa6cfd8ac825b5a280206808101de549a91094fc",
|
173
|
+
"comment": "update types related to trigger (allow only React.ReactElement & null)"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"author": "behowell@microsoft.com",
|
177
|
+
"package": "@fluentui/react-tooltip",
|
178
|
+
"commit": "09804275c7f346db54c33d4ff347bffc33676014",
|
179
|
+
"comment": "Fix tooltip arrow rendering, and add high contrast border around Tooltip"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"author": "behowell@microsoft.com",
|
183
|
+
"package": "@fluentui/react-tooltip",
|
184
|
+
"commit": "1513362b9adaae5d7dbda6b364e40e736710a79f",
|
185
|
+
"comment": "Remove Tooltip's inverted prop in favor of the appearance prop"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"author": "beachball",
|
189
|
+
"package": "@fluentui/react-tooltip",
|
190
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-rc.1",
|
191
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"author": "beachball",
|
195
|
+
"package": "@fluentui/react-tooltip",
|
196
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-rc.1",
|
197
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"author": "beachball",
|
201
|
+
"package": "@fluentui/react-tooltip",
|
202
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
|
203
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
57
204
|
},
|
58
205
|
{
|
59
206
|
"author": "beachball",
|
60
207
|
"package": "@fluentui/react-tooltip",
|
61
|
-
"comment": "Bump @fluentui/
|
62
|
-
"commit": "
|
208
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.1",
|
209
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
63
210
|
},
|
64
211
|
{
|
65
212
|
"author": "beachball",
|
66
213
|
"package": "@fluentui/react-tooltip",
|
67
|
-
"comment": "Bump @fluentui/
|
68
|
-
"commit": "
|
214
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
215
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
69
216
|
},
|
70
217
|
{
|
71
218
|
"author": "beachball",
|
72
219
|
"package": "@fluentui/react-tooltip",
|
73
|
-
"comment": "Bump @fluentui/react-conformance-
|
74
|
-
"commit": "
|
220
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
|
221
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
75
222
|
}
|
76
223
|
],
|
77
224
|
"none": [
|
225
|
+
{
|
226
|
+
"author": "olfedias@microsoft.com",
|
227
|
+
"package": "@fluentui/react-tooltip",
|
228
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
229
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"author": "elcraig@microsoft.com",
|
233
|
+
"package": "@fluentui/react-tooltip",
|
234
|
+
"commit": "d892c7f79c543b6008634ecd669b75b5108cad46",
|
235
|
+
"comment": "Remove outdated boilerplate comment in useTooltip"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"author": "martinhochel@microsoft.com",
|
239
|
+
"package": "@fluentui/react-tooltip",
|
240
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
241
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
242
|
+
},
|
78
243
|
{
|
79
244
|
"author": "andredias@microsoft.com",
|
80
245
|
"package": "@fluentui/react-tooltip",
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,58 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Fri, 18 Feb 2022 04:14:57 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightly50ae56ec3420220218.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v0.0.0-nightly50ae56ec3420220218.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-
|
9
|
+
Fri, 18 Feb 2022 04:14:57 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.1..@fluentui/react-tooltip_v0.0.0-nightly50ae56ec3420220218.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by email not defined)
|
15
|
+
- Update documentation comments ([PR #21736](https://github.com/microsoft/fluentui/pull/21736) by behowell@microsoft.com)
|
16
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
17
|
+
- update trigger implementation to be consistent ([PR #21626](https://github.com/microsoft/fluentui/pull/21626) by olfedias@microsoft.com)
|
18
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball)
|
19
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball)
|
20
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball)
|
21
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball)
|
22
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball)
|
23
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball)
|
24
|
+
|
25
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.1)
|
26
|
+
|
27
|
+
Thu, 10 Feb 2022 08:50:30 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.5..@fluentui/react-tooltip_v9.0.0-rc.1)
|
29
|
+
|
30
|
+
### Changes
|
31
|
+
|
32
|
+
- BREAKING: implement `content` slot ([PR #21470](https://github.com/microsoft/fluentui/pull/21470) by olfedias@microsoft.com)
|
33
|
+
- Replace make-styles packages with griffel equivalents. ([PR #21422](https://github.com/microsoft/fluentui/pull/21422) by olfedias@microsoft.com)
|
34
|
+
- Replace `triggerAriaAttribute` prop with `relationship` and make it required with no default ([PR #21331](https://github.com/microsoft/fluentui/pull/21331) by behowell@microsoft.com)
|
35
|
+
- Update MenuTrigger and Tooltip to work together ([PR #21495](https://github.com/microsoft/fluentui/pull/21495) by behowell@microsoft.com)
|
36
|
+
- remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
|
37
|
+
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
38
|
+
- Move arrowHeight and tooltipBorderRadius into a shared constants.ts file ([PR #21204](https://github.com/microsoft/fluentui/pull/21204) by behowell@microsoft.com)
|
39
|
+
- Prevent Tooltip from overriding any aria-label, etc. props on its child ([PR #21532](https://github.com/microsoft/fluentui/pull/21532) by behowell@microsoft.com)
|
40
|
+
- Replacing use of functions in makeStyles with direct use of tokens. ([PR #21058](https://github.com/microsoft/fluentui/pull/21058) by Humberto.Morimoto@microsoft.com)
|
41
|
+
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
|
15
42
|
- update styles to not use CSS shorthands ([PR #20795](https://github.com/microsoft/fluentui/pull/20795) by olfedias@microsoft.com)
|
16
|
-
-
|
17
|
-
-
|
18
|
-
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
- Bump @fluentui/
|
24
|
-
- Bump @fluentui/react-
|
43
|
+
- BREAKING: 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)
|
44
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
45
|
+
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
46
|
+
- Update documentation stories ([PR #21298](https://github.com/microsoft/fluentui/pull/21298) by behowell@microsoft.com)
|
47
|
+
- update types related to trigger (allow only React.ReactElement & null) ([PR #21609](https://github.com/microsoft/fluentui/pull/21609) by olfedias@microsoft.com)
|
48
|
+
- Fix tooltip arrow rendering, and add high contrast border around Tooltip ([PR #21086](https://github.com/microsoft/fluentui/pull/21086) by behowell@microsoft.com)
|
49
|
+
- Remove Tooltip's inverted prop in favor of the appearance prop ([PR #21327](https://github.com/microsoft/fluentui/pull/21327) by behowell@microsoft.com)
|
50
|
+
- Bump @fluentui/react-portal to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
51
|
+
- Bump @fluentui/react-positioning to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
52
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
53
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
54
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
55
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
25
56
|
|
26
57
|
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.5)
|
27
58
|
|
package/MIGRATION.md
CHANGED
@@ -6,55 +6,63 @@ This Migration guide is a work in progress and is not yet ready for use.
|
|
6
6
|
|
7
7
|
## Migration from v8
|
8
8
|
|
9
|
-
|
9
|
+
TooltipHost is replaced by Tooltip itself, as the wrapper around the element that should receive a tooltip.
|
10
10
|
|
11
11
|
- `Tooltip`
|
12
|
-
- `calloutProps`
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
- `
|
17
|
-
- `
|
18
|
-
|
12
|
+
- `calloutProps`
|
13
|
+
- `isBeakVisible` => `withArrow`
|
14
|
+
- `beakWidth` => Not supported.
|
15
|
+
- `gapSpace` => Not supported.
|
16
|
+
- `doNotLayer` => Not supported. Tooltips are always layered by rendering in a Portal.
|
17
|
+
- `setInitialFocus` => Not supported. Tooltips can't be focused, by design.
|
18
|
+
- `componentRef` => Not supported. Tooltips can be controlled declaratively with props like `visible`, instead of using an imperative API like `componentRef`.
|
19
|
+
- `delay` => `showDelay`
|
20
|
+
- `directionalHint` => `positioning`
|
21
|
+
- `topLeftEdge` => `positioning="above-start"`
|
22
|
+
- `topCenter` => `positioning="above"`
|
23
|
+
- `topRightEdge` => `positioning="above-end"`
|
19
24
|
- `topAutoEdge` => Not supported
|
20
|
-
- `bottomLeftEdge` => `
|
21
|
-
- `bottomCenter` => `
|
22
|
-
- `bottomRightEdge` => `
|
25
|
+
- `bottomLeftEdge` => `positioning="below-start"`
|
26
|
+
- `bottomCenter` => `positioning="below"`
|
27
|
+
- `bottomRightEdge` => `positioning="below-end"`
|
23
28
|
- `bottomAutoEdge` => Not supported
|
24
|
-
- `leftTopEdge` => `
|
25
|
-
- `leftCenter` => `
|
26
|
-
- `leftBottomEdge` => `
|
27
|
-
- `rightTopEdge` => `
|
28
|
-
- `rightCenter` => `
|
29
|
-
- `rightBottomEdge` => `
|
30
|
-
- `directionalHintForRTL` => Automatic based on whether the element is in an RTL context
|
31
|
-
- `maxWidth` =>
|
32
|
-
- `onRenderContent` => Set the
|
33
|
-
- `TooltipHost` =>
|
34
|
-
- `calloutProps` => Not supported
|
29
|
+
- `leftTopEdge` => `positioning="before-top"`
|
30
|
+
- `leftCenter` => `positioning="before"`
|
31
|
+
- `leftBottomEdge` => `positioning="before-bottom"`
|
32
|
+
- `rightTopEdge` => `positioning="after-top"`
|
33
|
+
- `rightCenter` => `positioning="after"`
|
34
|
+
- `rightBottomEdge` => `positioning="after-bottom"`
|
35
|
+
- `directionalHintForRTL` => Automatic based on whether the element is in an RTL context according to `FluentProvider`.
|
36
|
+
- `maxWidth` => Supported only through CSS styling of the `content` slot.
|
37
|
+
- `onRenderContent` => Set the `content` slot to a custom render function.
|
38
|
+
- `TooltipHost` => The tooltip itself is the "host".
|
35
39
|
- `closeDelay` => `hideDelay`
|
36
|
-
- `hostClassName` => Not needed because there is no element rendered by
|
37
|
-
- `onTooltipToggle` =>
|
38
|
-
- `overflowMode` => `
|
39
|
-
- `TooltipOverflowMode.self` => `onlyIfTruncated="true"`
|
40
|
-
- `TooltipOverflowMode.parent` => `onlyIfTruncated="true"` and set `targetRef` to the parent element
|
40
|
+
- `hostClassName` => Not needed because there is no element rendered inline by Tooltip
|
41
|
+
- `onTooltipToggle` => `onVisibleChange`
|
42
|
+
- `overflowMode` => Not supported. If this behavior is needed, the tooltip's visibility can be controlled using the `visible` prop and `onVisibleChange` event.
|
41
43
|
|
42
44
|
## Migration from v0
|
43
45
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
-
|
48
|
-
- `
|
46
|
+
The v9 Tooltip swaps the meaning of children between content and trigger. In v0, Tooltip's children is the tooltip content, and its trigger is a prop. In v9, that is swapped: Tooltip's children is the trigger, and its content is a prop.
|
47
|
+
|
48
|
+
- `Tooltip`
|
49
|
+
- children => `content`
|
50
|
+
- `trigger` => children
|
51
|
+
- `defaultOpen` => Not supported. The tooltip's visibility can be controlled using the `visible` prop and `onVisibleChange` event.
|
52
|
+
- `mountNode` => Not supported
|
53
|
+
- `open` => `visible`
|
54
|
+
- `onOpenChange` => `onVisibleChange`
|
55
|
+
- `pointing` => `withArrow`
|
56
|
+
- `mouseEnterDelay` => `showDelay`
|
49
57
|
- `mouseLeaveDelay` => `hideDelay`
|
50
|
-
- `
|
51
|
-
- `
|
52
|
-
- `
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
58
|
+
- `subtle={true}` = `appearance="normal"` (default)
|
59
|
+
- `subtle={false}` => `appearance="inverted"`
|
60
|
+
- Positioning props are now attributes of the `positioning` prop:
|
61
|
+
- `flipBoundary` => `positioning.flipBoundary`
|
62
|
+
- `offset` => `positioning.offset`
|
63
|
+
- `overflowBoundary` => `positioning.overflowBoundary`
|
64
|
+
- `popperRef` => `positioning.popperRef`
|
65
|
+
- `position` => `positioning.position`
|
66
|
+
- `align` => `positioning.align`
|
67
|
+
- `positionFixed` => `positioning.positionFixed`
|
68
|
+
- `target` => `positioning.target`
|