@fluentui/react-tooltip 9.0.0-rc.8 → 9.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/CHANGELOG.json +371 -1
  2. package/CHANGELOG.md +117 -2
  3. package/dist/index.d.ts +42 -51
  4. package/{lib → dist}/tsdoc-metadata.json +0 -0
  5. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  6. package/lib/components/Tooltip/Tooltip.types.js.map +1 -1
  7. package/lib/components/Tooltip/renderTooltip.js.map +1 -1
  8. package/lib/components/Tooltip/useTooltip.js +11 -11
  9. package/lib/components/Tooltip/useTooltip.js.map +1 -1
  10. package/lib/components/Tooltip/useTooltipStyles.js +17 -24
  11. package/lib/components/Tooltip/useTooltipStyles.js.map +1 -1
  12. package/lib/index.js +1 -2
  13. package/lib/index.js.map +1 -1
  14. package/lib-commonjs/components/Tooltip/Tooltip.js.map +1 -1
  15. package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
  16. package/lib-commonjs/components/Tooltip/useTooltip.js +10 -10
  17. package/lib-commonjs/components/Tooltip/useTooltip.js.map +1 -1
  18. package/lib-commonjs/components/Tooltip/useTooltipStyles.js +18 -25
  19. package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
  20. package/lib-commonjs/index.js +1 -8
  21. package/lib-commonjs/index.js.map +1 -1
  22. package/package.json +10 -12
  23. package/lib/Tooltip.d.ts +0 -1
  24. package/lib/components/Tooltip/Tooltip.d.ts +0 -7
  25. package/lib/components/Tooltip/Tooltip.types.d.ts +0 -118
  26. package/lib/components/Tooltip/index.d.ts +0 -5
  27. package/lib/components/Tooltip/private/constants.d.ts +0 -12
  28. package/lib/components/Tooltip/renderTooltip.d.ts +0 -5
  29. package/lib/components/Tooltip/useTooltip.d.ts +0 -10
  30. package/lib/components/Tooltip/useTooltipStyles.d.ts +0 -11
  31. package/lib/index.d.ts +0 -2
  32. package/lib-commonjs/Tooltip.d.ts +0 -1
  33. package/lib-commonjs/components/Tooltip/Tooltip.d.ts +0 -7
  34. package/lib-commonjs/components/Tooltip/Tooltip.types.d.ts +0 -118
  35. package/lib-commonjs/components/Tooltip/index.d.ts +0 -5
  36. package/lib-commonjs/components/Tooltip/private/constants.d.ts +0 -12
  37. package/lib-commonjs/components/Tooltip/renderTooltip.d.ts +0 -5
  38. package/lib-commonjs/components/Tooltip/useTooltip.d.ts +0 -10
  39. package/lib-commonjs/components/Tooltip/useTooltipStyles.d.ts +0 -11
  40. package/lib-commonjs/index.d.ts +0 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,377 @@
2
2
  "name": "@fluentui/react-tooltip",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 04 May 2022 13:24:03 GMT",
5
+ "date": "Tue, 28 Jun 2022 17:37:54 GMT",
6
+ "tag": "@fluentui/react-tooltip_v9.0.1",
7
+ "version": "9.0.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-tooltip",
13
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b",
14
+ "comment": "fix: Use caret dependency range for Griffel"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-tooltip",
19
+ "comment": "Bump @fluentui/react-portal to v9.0.1",
20
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-tooltip",
25
+ "comment": "Bump @fluentui/react-positioning to v9.0.1",
26
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-tooltip",
31
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.10",
32
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ {
38
+ "date": "Tue, 28 Jun 2022 15:13:24 GMT",
39
+ "tag": "@fluentui/react-tooltip_v9.0.0",
40
+ "version": "9.0.0",
41
+ "comments": {
42
+ "prerelease": [
43
+ {
44
+ "author": "lingfangao@hotmail.com",
45
+ "package": "@fluentui/react-tooltip",
46
+ "commit": "e0aabd850b15adf9c151ebd4e332f7c50ad6cfdf",
47
+ "comment": "Update 9.0.0-rc dependencies to use caret range"
48
+ },
49
+ {
50
+ "author": "lingfangao@hotmail.com",
51
+ "package": "@fluentui/react-tooltip",
52
+ "commit": "675acea49c97f10837ddee9b8c4350ca27750125",
53
+ "comment": "Bump Griffel dependencies"
54
+ }
55
+ ],
56
+ "patch": [
57
+ {
58
+ "author": "lingfangao@hotmail.com",
59
+ "package": "@fluentui/react-tooltip",
60
+ "commit": "c7b1348bdad7aa883c29bfbc96ef2a32e6ebc7dd",
61
+ "comment": "feat: Initial 9.0.0 release"
62
+ },
63
+ {
64
+ "author": "beachball",
65
+ "package": "@fluentui/react-tooltip",
66
+ "comment": "Bump @fluentui/react-portal to v9.0.0",
67
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
68
+ },
69
+ {
70
+ "author": "beachball",
71
+ "package": "@fluentui/react-tooltip",
72
+ "comment": "Bump @fluentui/react-positioning to v9.0.0",
73
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
74
+ },
75
+ {
76
+ "author": "beachball",
77
+ "package": "@fluentui/react-tooltip",
78
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0",
79
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
80
+ },
81
+ {
82
+ "author": "beachball",
83
+ "package": "@fluentui/react-tooltip",
84
+ "comment": "Bump @fluentui/react-theme to v9.0.0",
85
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
86
+ },
87
+ {
88
+ "author": "beachball",
89
+ "package": "@fluentui/react-tooltip",
90
+ "comment": "Bump @fluentui/react-utilities to v9.0.0",
91
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
92
+ },
93
+ {
94
+ "author": "beachball",
95
+ "package": "@fluentui/react-tooltip",
96
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9",
97
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
98
+ }
99
+ ],
100
+ "none": [
101
+ {
102
+ "author": "mgodbolt@microsoft.com",
103
+ "package": "@fluentui/react-tooltip",
104
+ "commit": "65acf47a55095642d98116d2eb20ca6bae6e5a04",
105
+ "comment": "chore: update tooltip to index based stories"
106
+ }
107
+ ]
108
+ }
109
+ },
110
+ {
111
+ "date": "Thu, 23 Jun 2022 14:25:31 GMT",
112
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.14",
113
+ "version": "9.0.0-rc.14",
114
+ "comments": {
115
+ "prerelease": [
116
+ {
117
+ "author": "beachball",
118
+ "package": "@fluentui/react-tooltip",
119
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.14",
120
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
121
+ },
122
+ {
123
+ "author": "beachball",
124
+ "package": "@fluentui/react-tooltip",
125
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.12",
126
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
127
+ },
128
+ {
129
+ "author": "beachball",
130
+ "package": "@fluentui/react-tooltip",
131
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.11",
132
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
133
+ },
134
+ {
135
+ "author": "beachball",
136
+ "package": "@fluentui/react-tooltip",
137
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.10",
138
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
139
+ }
140
+ ]
141
+ }
142
+ },
143
+ {
144
+ "date": "Tue, 31 May 2022 21:28:49 GMT",
145
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.13",
146
+ "version": "9.0.0-rc.13",
147
+ "comments": {
148
+ "prerelease": [
149
+ {
150
+ "author": "olfedias@microsoft.com",
151
+ "package": "@fluentui/react-tooltip",
152
+ "commit": "0a5e9fa77a72eecafdd07034ccdc0b95fd49877c",
153
+ "comment": "chore: Update Griffel to latest version"
154
+ },
155
+ {
156
+ "author": "bernardo.sunderhus@gmail.com",
157
+ "package": "@fluentui/react-tooltip",
158
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd",
159
+ "comment": "updates import to react-shared-components"
160
+ },
161
+ {
162
+ "author": "beachball",
163
+ "package": "@fluentui/react-tooltip",
164
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.13",
165
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
166
+ },
167
+ {
168
+ "author": "beachball",
169
+ "package": "@fluentui/react-tooltip",
170
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.11",
171
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
172
+ },
173
+ {
174
+ "author": "beachball",
175
+ "package": "@fluentui/react-tooltip",
176
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.10",
177
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
178
+ },
179
+ {
180
+ "author": "beachball",
181
+ "package": "@fluentui/react-tooltip",
182
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
183
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
184
+ },
185
+ {
186
+ "author": "beachball",
187
+ "package": "@fluentui/react-tooltip",
188
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8",
189
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
190
+ }
191
+ ]
192
+ }
193
+ },
194
+ {
195
+ "date": "Thu, 26 May 2022 21:01:32 GMT",
196
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.12",
197
+ "version": "9.0.0-rc.12",
198
+ "comments": {
199
+ "prerelease": [
200
+ {
201
+ "author": "beachball",
202
+ "package": "@fluentui/react-tooltip",
203
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.12",
204
+ "commit": "3cf55ce998048554bf6a550de44403843ea8ede0"
205
+ }
206
+ ]
207
+ }
208
+ },
209
+ {
210
+ "date": "Mon, 23 May 2022 18:56:50 GMT",
211
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.11",
212
+ "version": "9.0.0-rc.11",
213
+ "comments": {
214
+ "prerelease": [
215
+ {
216
+ "author": "esteban.230@hotmail.com",
217
+ "package": "@fluentui/react-tooltip",
218
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
219
+ "comment": "Removing <componentName>ClassName exports."
220
+ },
221
+ {
222
+ "author": "lingfangao@hotmail.com",
223
+ "package": "@fluentui/react-tooltip",
224
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
225
+ "comment": "BREAKING: changes to positioning prop"
226
+ },
227
+ {
228
+ "author": "beachball",
229
+ "package": "@fluentui/react-tooltip",
230
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.11",
231
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
232
+ },
233
+ {
234
+ "author": "beachball",
235
+ "package": "@fluentui/react-tooltip",
236
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.10",
237
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
238
+ },
239
+ {
240
+ "author": "beachball",
241
+ "package": "@fluentui/react-tooltip",
242
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.9",
243
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
244
+ },
245
+ {
246
+ "author": "beachball",
247
+ "package": "@fluentui/react-tooltip",
248
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
249
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
250
+ },
251
+ {
252
+ "author": "beachball",
253
+ "package": "@fluentui/react-tooltip",
254
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7",
255
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
256
+ }
257
+ ]
258
+ }
259
+ },
260
+ {
261
+ "date": "Mon, 23 May 2022 12:13:56 GMT",
262
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.10",
263
+ "version": "9.0.0-rc.10",
264
+ "comments": {
265
+ "prerelease": [
266
+ {
267
+ "author": "Humberto.Morimoto@microsoft.com",
268
+ "package": "@fluentui/react-tooltip",
269
+ "commit": "13543c30b0a05b61cb8d75c804d9b2aee45a8ae5",
270
+ "comment": "Removing TooltipCommons type."
271
+ },
272
+ {
273
+ "author": "martinhochel@microsoft.com",
274
+ "package": "@fluentui/react-tooltip",
275
+ "commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
276
+ "comment": "feat: ship rolluped only dts"
277
+ },
278
+ {
279
+ "author": "olfedias@microsoft.com",
280
+ "package": "@fluentui/react-tooltip",
281
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
282
+ "comment": "chore: Update Griffel to latest version"
283
+ },
284
+ {
285
+ "author": "olfedias@microsoft.com",
286
+ "package": "@fluentui/react-tooltip",
287
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
288
+ "comment": "chore: Update Griffel to latest version"
289
+ },
290
+ {
291
+ "author": "beachball",
292
+ "package": "@fluentui/react-tooltip",
293
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.10",
294
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
295
+ },
296
+ {
297
+ "author": "beachball",
298
+ "package": "@fluentui/react-tooltip",
299
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.9",
300
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
301
+ },
302
+ {
303
+ "author": "beachball",
304
+ "package": "@fluentui/react-tooltip",
305
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.8",
306
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
307
+ },
308
+ {
309
+ "author": "beachball",
310
+ "package": "@fluentui/react-tooltip",
311
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
312
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
313
+ },
314
+ {
315
+ "author": "beachball",
316
+ "package": "@fluentui/react-tooltip",
317
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
318
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
319
+ },
320
+ {
321
+ "author": "beachball",
322
+ "package": "@fluentui/react-tooltip",
323
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6",
324
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
325
+ }
326
+ ]
327
+ }
328
+ },
329
+ {
330
+ "date": "Thu, 05 May 2022 18:26:30 GMT",
331
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.9",
332
+ "version": "9.0.0-rc.9",
333
+ "comments": {
334
+ "prerelease": [
335
+ {
336
+ "author": "beachball",
337
+ "package": "@fluentui/react-tooltip",
338
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.9",
339
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
340
+ },
341
+ {
342
+ "author": "beachball",
343
+ "package": "@fluentui/react-tooltip",
344
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.8",
345
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
346
+ },
347
+ {
348
+ "author": "beachball",
349
+ "package": "@fluentui/react-tooltip",
350
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.7",
351
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
352
+ },
353
+ {
354
+ "author": "beachball",
355
+ "package": "@fluentui/react-tooltip",
356
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
357
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
358
+ },
359
+ {
360
+ "author": "beachball",
361
+ "package": "@fluentui/react-tooltip",
362
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
363
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
364
+ },
365
+ {
366
+ "author": "beachball",
367
+ "package": "@fluentui/react-tooltip",
368
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5",
369
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
370
+ }
371
+ ]
372
+ }
373
+ },
374
+ {
375
+ "date": "Wed, 04 May 2022 13:26:36 GMT",
6
376
  "tag": "@fluentui/react-tooltip_v9.0.0-rc.8",
7
377
  "version": "9.0.0-rc.8",
8
378
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,127 @@
1
1
  # Change Log - @fluentui/react-tooltip
2
2
 
3
- This log was last generated on Wed, 04 May 2022 13:24:03 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 28 Jun 2022 17:37:54 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.1)
8
+
9
+ Tue, 28 Jun 2022 17:37:54 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0..@fluentui/react-tooltip_v9.0.1)
11
+
12
+ ### Patches
13
+
14
+ - fix: Use caret dependency range for Griffel ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by lingfangao@hotmail.com)
15
+ - Bump @fluentui/react-portal to v9.0.1 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
16
+ - Bump @fluentui/react-positioning to v9.0.1 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
17
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.10 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
18
+
19
+ ## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0)
20
+
21
+ Tue, 28 Jun 2022 15:13:24 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.14..@fluentui/react-tooltip_v9.0.0)
23
+
24
+ ### Patches
25
+
26
+ - feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
27
+ - Bump @fluentui/react-portal to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
28
+ - Bump @fluentui/react-positioning to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
29
+ - Bump @fluentui/react-shared-contexts to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
30
+ - Bump @fluentui/react-theme to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
31
+ - Bump @fluentui/react-utilities to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
32
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
33
+
34
+ ### Changes
35
+
36
+ - Update 9.0.0-rc dependencies to use caret range ([PR #23732](https://github.com/microsoft/fluentui/pull/23732) by lingfangao@hotmail.com)
37
+ - Bump Griffel dependencies ([PR #23688](https://github.com/microsoft/fluentui/pull/23688) by lingfangao@hotmail.com)
38
+
39
+ ## [9.0.0-rc.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.14)
40
+
41
+ Thu, 23 Jun 2022 14:25:31 GMT
42
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.13..@fluentui/react-tooltip_v9.0.0-rc.14)
43
+
44
+ ### Changes
45
+
46
+ - Bump @fluentui/react-portal to v9.0.0-rc.14 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
47
+ - Bump @fluentui/react-positioning to v9.0.0-rc.12 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
48
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.11 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
49
+ - Bump @fluentui/react-theme to v9.0.0-rc.10 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
50
+
51
+ ## [9.0.0-rc.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.13)
52
+
53
+ Tue, 31 May 2022 21:28:49 GMT
54
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.12..@fluentui/react-tooltip_v9.0.0-rc.13)
55
+
56
+ ### Changes
57
+
58
+ - chore: Update Griffel to latest version ([PR #23275](https://github.com/microsoft/fluentui/pull/23275) by olfedias@microsoft.com)
59
+ - updates import to react-shared-components ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by bernardo.sunderhus@gmail.com)
60
+ - Bump @fluentui/react-portal to v9.0.0-rc.13 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
61
+ - Bump @fluentui/react-positioning to v9.0.0-rc.11 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
62
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
63
+ - Bump @fluentui/react-utilities to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
64
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
65
+
66
+ ## [9.0.0-rc.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.12)
67
+
68
+ Thu, 26 May 2022 21:01:32 GMT
69
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.11..@fluentui/react-tooltip_v9.0.0-rc.12)
70
+
71
+ ### Changes
72
+
73
+ - Bump @fluentui/react-portal to v9.0.0-rc.12 ([PR #23267](https://github.com/microsoft/fluentui/pull/23267) by beachball)
74
+
75
+ ## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.11)
76
+
77
+ Mon, 23 May 2022 18:56:50 GMT
78
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.10..@fluentui/react-tooltip_v9.0.0-rc.11)
79
+
80
+ ### Changes
81
+
82
+ - Removing <componentName>ClassName exports. ([PR #23092](https://github.com/microsoft/fluentui/pull/23092) by esteban.230@hotmail.com)
83
+ - BREAKING: changes to positioning prop ([PR #23092](https://github.com/microsoft/fluentui/pull/23092) by lingfangao@hotmail.com)
84
+ - Bump @fluentui/react-portal to v9.0.0-rc.11 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
85
+ - Bump @fluentui/react-positioning to v9.0.0-rc.10 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
86
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
87
+ - Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
88
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
89
+
90
+ ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.10)
91
+
92
+ Mon, 23 May 2022 12:13:56 GMT
93
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.9..@fluentui/react-tooltip_v9.0.0-rc.10)
94
+
95
+ ### Changes
96
+
97
+ - Removing TooltipCommons type. ([PR #22953](https://github.com/microsoft/fluentui/pull/22953) by Humberto.Morimoto@microsoft.com)
98
+ - feat: ship rolluped only dts ([PR #22828](https://github.com/microsoft/fluentui/pull/22828) by martinhochel@microsoft.com)
99
+ - chore: Update Griffel to latest version ([PR #23029](https://github.com/microsoft/fluentui/pull/23029) by olfedias@microsoft.com)
100
+ - chore: Update Griffel to latest version ([PR #22894](https://github.com/microsoft/fluentui/pull/22894) by olfedias@microsoft.com)
101
+ - Bump @fluentui/react-portal to v9.0.0-rc.10 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
102
+ - Bump @fluentui/react-positioning to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
103
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
104
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
105
+ - Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
106
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
107
+
108
+ ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.9)
109
+
110
+ Thu, 05 May 2022 18:26:30 GMT
111
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.8..@fluentui/react-tooltip_v9.0.0-rc.9)
112
+
113
+ ### Changes
114
+
115
+ - Bump @fluentui/react-portal to v9.0.0-rc.9 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
116
+ - Bump @fluentui/react-positioning to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
117
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
118
+ - Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
119
+ - Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
120
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
121
+
7
122
  ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.8)
8
123
 
9
- Wed, 04 May 2022 13:24:03 GMT
124
+ Wed, 04 May 2022 13:26:36 GMT
10
125
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.7..@fluentui/react-tooltip_v9.0.0-rc.8)
11
126
 
12
127
  ### Changes
package/dist/index.d.ts CHANGED
@@ -24,87 +24,78 @@ export declare const renderTooltip_unstable: (state: TooltipState) => JSX.Elemen
24
24
  */
25
25
  export declare const Tooltip: React_2.FC<TooltipProps> & FluentTriggerComponent;
26
26
 
27
- /**
28
- * @deprecated Use `tooltipClassNames.root` instead.
29
- */
30
- export declare const tooltipClassName = "fui-Tooltip";
31
-
32
27
  export declare const tooltipClassNames: SlotClassNames<TooltipSlots>;
33
28
 
34
29
  /**
35
- * Properties and state for Tooltip
30
+ * Properties for Tooltip
36
31
  */
37
- declare type TooltipCommons = Pick<PortalProps, 'mountNode'> & {
38
- /**
39
- * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.
40
- *
41
- * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons
42
- * displaying only an icon, for example.
43
- * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.
44
- * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to
45
- * screen readers, and should only be used if the tooltip's text is available by some other means.
46
- */
47
- relationship: 'label' | 'description' | 'inaccessible';
32
+ export declare type TooltipProps = ComponentProps<TooltipSlots> & Pick<PortalProps, 'mountNode'> & {
48
33
  /**
49
34
  * The tooltip's visual appearance.
50
35
  * * `normal` - Uses the theme's background and text colors.
51
36
  * * `inverted` - Higher contrast variant that uses the theme's inverted colors.
52
37
  *
53
- * @defaultvalue normal
38
+ * @default normal
54
39
  */
55
40
  appearance?: 'normal' | 'inverted';
56
41
  /**
57
- * Render an arrow pointing to the target element
42
+ * The tooltip can have a single JSX child, or a render function that accepts TooltipTriggerProps.
58
43
  *
59
- * @defaultvalue false
44
+ * If no child is provided, the tooltip's target must be set with the `positioning` prop, and its
45
+ * visibility must be controlled with the `visible` prop.
60
46
  */
61
- withArrow?: boolean;
47
+ children?: (React_2.ReactElement & {
48
+ ref?: React_2.Ref<unknown>;
49
+ }) | ((props: TooltipTriggerProps) => React_2.ReactElement | null) | null;
62
50
  /**
63
- * Configure the positioning of the tooltip
51
+ * Delay before the tooltip is hidden, in milliseconds.
64
52
  *
65
- * @defaultvalue above
53
+ * @default 250
66
54
  */
67
- positioning?: PositioningShorthand;
55
+ hideDelay?: number;
68
56
  /**
69
- * Control the tooltip's visibility programatically.
70
- *
71
- * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.
57
+ * Notification when the visibility of the tooltip is changing
58
+ */
59
+ onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;
60
+ /**
61
+ * Configure the positioning of the tooltip
72
62
  *
73
- * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the
74
- * trigger (child) element.
63
+ * @default above
75
64
  */
76
- visible?: boolean;
65
+ positioning?: PositioningShorthand;
77
66
  /**
78
- * Notification when the visibility of the tooltip is changing
67
+ * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.
68
+ *
69
+ * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons
70
+ * displaying only an icon, for example.
71
+ * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.
72
+ * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to
73
+ * screen readers, and should only be used if the tooltip's text is available by some other means.
79
74
  */
80
- onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;
75
+ relationship: 'label' | 'description' | 'inaccessible';
81
76
  /**
82
77
  * Delay before the tooltip is shown, in milliseconds.
83
78
  *
84
- * @defaultvalue 250
79
+ * @default 250
85
80
  */
86
- showDelay: number;
81
+ showDelay?: number;
87
82
  /**
88
- * Delay before the tooltip is hidden, in milliseconds.
83
+ * Control the tooltip's visibility programatically.
84
+ *
85
+ * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.
89
86
  *
90
- * @defaultvalue 250
87
+ * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the
88
+ * trigger (child) element.
89
+ *
90
+ * @default false
91
91
  */
92
- hideDelay: number;
93
- };
94
-
95
- /**
96
- * Properties for Tooltip
97
- */
98
- export declare type TooltipProps = ComponentProps<TooltipSlots> & Partial<Omit<TooltipCommons, 'relationship'>> & Pick<TooltipCommons, 'relationship'> & {
92
+ visible?: boolean;
99
93
  /**
100
- * The tooltip can have a single JSX child, or a render function that accepts TooltipTriggerProps.
94
+ * Render an arrow pointing to the target element
101
95
  *
102
- * If no child is provided, the tooltip's target must be set with the `positioning` prop, and its
103
- * visibility must be controlled with the `visible` prop.
96
+ * @default false
104
97
  */
105
- children?: (React_2.ReactElement & {
106
- ref?: React_2.Ref<unknown>;
107
- }) | ((props: TooltipTriggerProps) => React_2.ReactElement | null) | null;
98
+ withArrow?: boolean;
108
99
  };
109
100
 
110
101
  /**
@@ -120,7 +111,7 @@ export declare type TooltipSlots = {
120
111
  /**
121
112
  * State used in rendering Tooltip
122
113
  */
123
- export declare type TooltipState = ComponentState<TooltipSlots> & TooltipCommons & {
114
+ export declare type TooltipState = ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {
124
115
  children?: React_2.ReactElement | null;
125
116
  /**
126
117
  * Whether the tooltip should be rendered to the DOM.
@@ -141,7 +132,7 @@ export declare type TooltipState = ComponentState<TooltipSlots> & TooltipCommons
141
132
  */
142
133
  export declare type TooltipTriggerProps = {
143
134
  ref?: React_2.Ref<never>;
144
- } & Pick<React_2.HTMLAttributes<HTMLElement>, 'onPointerEnter' | 'onPointerLeave' | 'onFocus' | 'onBlur' | 'aria-describedby' | 'aria-labelledby' | 'aria-label'>;
135
+ } & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave'>;
145
136
 
146
137
  /**
147
138
  * Create the state required to render Tooltip.
File without changes