@fluentui/react-tooltip 9.0.0-rc.9 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.json +365 -1
  2. package/CHANGELOG.md +116 -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 +19 -16
  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 +18 -15
  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,371 @@
2
2
  "name": "@fluentui/react-tooltip",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 05 May 2022 18:24:37 GMT",
5
+ "date": "Thu, 14 Jul 2022 17:03:34 GMT",
6
+ "tag": "@fluentui/react-tooltip_v9.0.2",
7
+ "version": "9.0.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-tooltip",
13
+ "commit": "6ff3fb3cfb5d81d3db822f675a4ab0fb8be9559a",
14
+ "comment": "fix: update `shouldRenderTooltip` to handle SSR"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-tooltip",
19
+ "comment": "Bump @fluentui/react-portal to v9.0.2",
20
+ "commit": "fd9308f35ec9b2c7f7fdbfce62f9a94ca00d6536"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-tooltip",
25
+ "comment": "Bump @fluentui/react-positioning to v9.1.0",
26
+ "commit": "fd9308f35ec9b2c7f7fdbfce62f9a94ca00d6536"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-tooltip",
31
+ "comment": "Bump @fluentui/react-utilities to v9.0.1-0",
32
+ "commit": "fd9308f35ec9b2c7f7fdbfce62f9a94ca00d6536"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-tooltip",
37
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.11",
38
+ "commit": "fd9308f35ec9b2c7f7fdbfce62f9a94ca00d6536"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Tue, 28 Jun 2022 17:39:54 GMT",
45
+ "tag": "@fluentui/react-tooltip_v9.0.1",
46
+ "version": "9.0.1",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "lingfangao@hotmail.com",
51
+ "package": "@fluentui/react-tooltip",
52
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b",
53
+ "comment": "fix: Use caret dependency range for Griffel"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui/react-tooltip",
58
+ "comment": "Bump @fluentui/react-portal to v9.0.1",
59
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui/react-tooltip",
64
+ "comment": "Bump @fluentui/react-positioning to v9.0.1",
65
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui/react-tooltip",
70
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.10",
71
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
72
+ }
73
+ ]
74
+ }
75
+ },
76
+ {
77
+ "date": "Tue, 28 Jun 2022 15:13:24 GMT",
78
+ "tag": "@fluentui/react-tooltip_v9.0.0",
79
+ "version": "9.0.0",
80
+ "comments": {
81
+ "prerelease": [
82
+ {
83
+ "author": "lingfangao@hotmail.com",
84
+ "package": "@fluentui/react-tooltip",
85
+ "commit": "e0aabd850b15adf9c151ebd4e332f7c50ad6cfdf",
86
+ "comment": "Update 9.0.0-rc dependencies to use caret range"
87
+ },
88
+ {
89
+ "author": "lingfangao@hotmail.com",
90
+ "package": "@fluentui/react-tooltip",
91
+ "commit": "675acea49c97f10837ddee9b8c4350ca27750125",
92
+ "comment": "Bump Griffel dependencies"
93
+ }
94
+ ],
95
+ "patch": [
96
+ {
97
+ "author": "lingfangao@hotmail.com",
98
+ "package": "@fluentui/react-tooltip",
99
+ "commit": "c7b1348bdad7aa883c29bfbc96ef2a32e6ebc7dd",
100
+ "comment": "feat: Initial 9.0.0 release"
101
+ },
102
+ {
103
+ "author": "beachball",
104
+ "package": "@fluentui/react-tooltip",
105
+ "comment": "Bump @fluentui/react-portal to v9.0.0",
106
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
107
+ },
108
+ {
109
+ "author": "beachball",
110
+ "package": "@fluentui/react-tooltip",
111
+ "comment": "Bump @fluentui/react-positioning to v9.0.0",
112
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
113
+ },
114
+ {
115
+ "author": "beachball",
116
+ "package": "@fluentui/react-tooltip",
117
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0",
118
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
119
+ },
120
+ {
121
+ "author": "beachball",
122
+ "package": "@fluentui/react-tooltip",
123
+ "comment": "Bump @fluentui/react-theme to v9.0.0",
124
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
125
+ },
126
+ {
127
+ "author": "beachball",
128
+ "package": "@fluentui/react-tooltip",
129
+ "comment": "Bump @fluentui/react-utilities to v9.0.0",
130
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
131
+ },
132
+ {
133
+ "author": "beachball",
134
+ "package": "@fluentui/react-tooltip",
135
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9",
136
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
137
+ }
138
+ ],
139
+ "none": [
140
+ {
141
+ "author": "mgodbolt@microsoft.com",
142
+ "package": "@fluentui/react-tooltip",
143
+ "commit": "65acf47a55095642d98116d2eb20ca6bae6e5a04",
144
+ "comment": "chore: update tooltip to index based stories"
145
+ }
146
+ ]
147
+ }
148
+ },
149
+ {
150
+ "date": "Thu, 23 Jun 2022 14:25:31 GMT",
151
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.14",
152
+ "version": "9.0.0-rc.14",
153
+ "comments": {
154
+ "prerelease": [
155
+ {
156
+ "author": "beachball",
157
+ "package": "@fluentui/react-tooltip",
158
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.14",
159
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
160
+ },
161
+ {
162
+ "author": "beachball",
163
+ "package": "@fluentui/react-tooltip",
164
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.12",
165
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
166
+ },
167
+ {
168
+ "author": "beachball",
169
+ "package": "@fluentui/react-tooltip",
170
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.11",
171
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
172
+ },
173
+ {
174
+ "author": "beachball",
175
+ "package": "@fluentui/react-tooltip",
176
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.10",
177
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
178
+ }
179
+ ]
180
+ }
181
+ },
182
+ {
183
+ "date": "Tue, 31 May 2022 21:28:49 GMT",
184
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.13",
185
+ "version": "9.0.0-rc.13",
186
+ "comments": {
187
+ "prerelease": [
188
+ {
189
+ "author": "olfedias@microsoft.com",
190
+ "package": "@fluentui/react-tooltip",
191
+ "commit": "0a5e9fa77a72eecafdd07034ccdc0b95fd49877c",
192
+ "comment": "chore: Update Griffel to latest version"
193
+ },
194
+ {
195
+ "author": "bernardo.sunderhus@gmail.com",
196
+ "package": "@fluentui/react-tooltip",
197
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd",
198
+ "comment": "updates import to react-shared-components"
199
+ },
200
+ {
201
+ "author": "beachball",
202
+ "package": "@fluentui/react-tooltip",
203
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.13",
204
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
205
+ },
206
+ {
207
+ "author": "beachball",
208
+ "package": "@fluentui/react-tooltip",
209
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.11",
210
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
211
+ },
212
+ {
213
+ "author": "beachball",
214
+ "package": "@fluentui/react-tooltip",
215
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.10",
216
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
217
+ },
218
+ {
219
+ "author": "beachball",
220
+ "package": "@fluentui/react-tooltip",
221
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
222
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
223
+ },
224
+ {
225
+ "author": "beachball",
226
+ "package": "@fluentui/react-tooltip",
227
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8",
228
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
229
+ }
230
+ ]
231
+ }
232
+ },
233
+ {
234
+ "date": "Thu, 26 May 2022 21:01:32 GMT",
235
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.12",
236
+ "version": "9.0.0-rc.12",
237
+ "comments": {
238
+ "prerelease": [
239
+ {
240
+ "author": "beachball",
241
+ "package": "@fluentui/react-tooltip",
242
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.12",
243
+ "commit": "3cf55ce998048554bf6a550de44403843ea8ede0"
244
+ }
245
+ ]
246
+ }
247
+ },
248
+ {
249
+ "date": "Mon, 23 May 2022 18:56:50 GMT",
250
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.11",
251
+ "version": "9.0.0-rc.11",
252
+ "comments": {
253
+ "prerelease": [
254
+ {
255
+ "author": "esteban.230@hotmail.com",
256
+ "package": "@fluentui/react-tooltip",
257
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
258
+ "comment": "Removing <componentName>ClassName exports."
259
+ },
260
+ {
261
+ "author": "lingfangao@hotmail.com",
262
+ "package": "@fluentui/react-tooltip",
263
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
264
+ "comment": "BREAKING: changes to positioning prop"
265
+ },
266
+ {
267
+ "author": "beachball",
268
+ "package": "@fluentui/react-tooltip",
269
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.11",
270
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
271
+ },
272
+ {
273
+ "author": "beachball",
274
+ "package": "@fluentui/react-tooltip",
275
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.10",
276
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
277
+ },
278
+ {
279
+ "author": "beachball",
280
+ "package": "@fluentui/react-tooltip",
281
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.9",
282
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
283
+ },
284
+ {
285
+ "author": "beachball",
286
+ "package": "@fluentui/react-tooltip",
287
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
288
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
289
+ },
290
+ {
291
+ "author": "beachball",
292
+ "package": "@fluentui/react-tooltip",
293
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7",
294
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
295
+ }
296
+ ]
297
+ }
298
+ },
299
+ {
300
+ "date": "Mon, 23 May 2022 12:13:56 GMT",
301
+ "tag": "@fluentui/react-tooltip_v9.0.0-rc.10",
302
+ "version": "9.0.0-rc.10",
303
+ "comments": {
304
+ "prerelease": [
305
+ {
306
+ "author": "Humberto.Morimoto@microsoft.com",
307
+ "package": "@fluentui/react-tooltip",
308
+ "commit": "13543c30b0a05b61cb8d75c804d9b2aee45a8ae5",
309
+ "comment": "Removing TooltipCommons type."
310
+ },
311
+ {
312
+ "author": "martinhochel@microsoft.com",
313
+ "package": "@fluentui/react-tooltip",
314
+ "commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
315
+ "comment": "feat: ship rolluped only dts"
316
+ },
317
+ {
318
+ "author": "olfedias@microsoft.com",
319
+ "package": "@fluentui/react-tooltip",
320
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
321
+ "comment": "chore: Update Griffel to latest version"
322
+ },
323
+ {
324
+ "author": "olfedias@microsoft.com",
325
+ "package": "@fluentui/react-tooltip",
326
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
327
+ "comment": "chore: Update Griffel to latest version"
328
+ },
329
+ {
330
+ "author": "beachball",
331
+ "package": "@fluentui/react-tooltip",
332
+ "comment": "Bump @fluentui/react-portal to v9.0.0-rc.10",
333
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
334
+ },
335
+ {
336
+ "author": "beachball",
337
+ "package": "@fluentui/react-tooltip",
338
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-rc.9",
339
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
340
+ },
341
+ {
342
+ "author": "beachball",
343
+ "package": "@fluentui/react-tooltip",
344
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.8",
345
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
346
+ },
347
+ {
348
+ "author": "beachball",
349
+ "package": "@fluentui/react-tooltip",
350
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
351
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
352
+ },
353
+ {
354
+ "author": "beachball",
355
+ "package": "@fluentui/react-tooltip",
356
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
357
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
358
+ },
359
+ {
360
+ "author": "beachball",
361
+ "package": "@fluentui/react-tooltip",
362
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6",
363
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
364
+ }
365
+ ]
366
+ }
367
+ },
368
+ {
369
+ "date": "Thu, 05 May 2022 18:26:30 GMT",
6
370
  "tag": "@fluentui/react-tooltip_v9.0.0-rc.9",
7
371
  "version": "9.0.0-rc.9",
8
372
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,126 @@
1
1
  # Change Log - @fluentui/react-tooltip
2
2
 
3
- This log was last generated on Thu, 05 May 2022 18:24:37 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 14 Jul 2022 17:03:34 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.2)
8
+
9
+ Thu, 14 Jul 2022 17:03:34 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.1..@fluentui/react-tooltip_v9.0.2)
11
+
12
+ ### Patches
13
+
14
+ - fix: update `shouldRenderTooltip` to handle SSR ([PR #23612](https://github.com/microsoft/fluentui/pull/23612) by lingfangao@hotmail.com)
15
+ - Bump @fluentui/react-portal to v9.0.2 ([PR #23909](https://github.com/microsoft/fluentui/pull/23909) by beachball)
16
+ - Bump @fluentui/react-positioning to v9.1.0 ([PR #23909](https://github.com/microsoft/fluentui/pull/23909) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.0.1-0 ([PR #23909](https://github.com/microsoft/fluentui/pull/23909) by beachball)
18
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.11 ([PR #23909](https://github.com/microsoft/fluentui/pull/23909) by beachball)
19
+
20
+ ## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.1)
21
+
22
+ Tue, 28 Jun 2022 17:39:54 GMT
23
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0..@fluentui/react-tooltip_v9.0.1)
24
+
25
+ ### Patches
26
+
27
+ - fix: Use caret dependency range for Griffel ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by lingfangao@hotmail.com)
28
+ - Bump @fluentui/react-portal to v9.0.1 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
29
+ - Bump @fluentui/react-positioning to v9.0.1 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
30
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.10 ([PR #23754](https://github.com/microsoft/fluentui/pull/23754) by beachball)
31
+
32
+ ## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0)
33
+
34
+ Tue, 28 Jun 2022 15:13:24 GMT
35
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.14..@fluentui/react-tooltip_v9.0.0)
36
+
37
+ ### Patches
38
+
39
+ - feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
40
+ - Bump @fluentui/react-portal to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
41
+ - Bump @fluentui/react-positioning to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
42
+ - Bump @fluentui/react-shared-contexts to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
43
+ - Bump @fluentui/react-theme to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
44
+ - Bump @fluentui/react-utilities to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
45
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
46
+
47
+ ### Changes
48
+
49
+ - Update 9.0.0-rc dependencies to use caret range ([PR #23732](https://github.com/microsoft/fluentui/pull/23732) by lingfangao@hotmail.com)
50
+ - Bump Griffel dependencies ([PR #23688](https://github.com/microsoft/fluentui/pull/23688) by lingfangao@hotmail.com)
51
+
52
+ ## [9.0.0-rc.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.14)
53
+
54
+ Thu, 23 Jun 2022 14:25:31 GMT
55
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.13..@fluentui/react-tooltip_v9.0.0-rc.14)
56
+
57
+ ### Changes
58
+
59
+ - Bump @fluentui/react-portal to v9.0.0-rc.14 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
60
+ - Bump @fluentui/react-positioning to v9.0.0-rc.12 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
61
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.11 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
62
+ - Bump @fluentui/react-theme to v9.0.0-rc.10 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
63
+
64
+ ## [9.0.0-rc.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.13)
65
+
66
+ Tue, 31 May 2022 21:28:49 GMT
67
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.12..@fluentui/react-tooltip_v9.0.0-rc.13)
68
+
69
+ ### Changes
70
+
71
+ - chore: Update Griffel to latest version ([PR #23275](https://github.com/microsoft/fluentui/pull/23275) by olfedias@microsoft.com)
72
+ - updates import to react-shared-components ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by bernardo.sunderhus@gmail.com)
73
+ - Bump @fluentui/react-portal to v9.0.0-rc.13 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
74
+ - Bump @fluentui/react-positioning to v9.0.0-rc.11 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
75
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
76
+ - Bump @fluentui/react-utilities to v9.0.0-rc.10 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
77
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8 ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by beachball)
78
+
79
+ ## [9.0.0-rc.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.12)
80
+
81
+ Thu, 26 May 2022 21:01:32 GMT
82
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.11..@fluentui/react-tooltip_v9.0.0-rc.12)
83
+
84
+ ### Changes
85
+
86
+ - Bump @fluentui/react-portal to v9.0.0-rc.12 ([PR #23267](https://github.com/microsoft/fluentui/pull/23267) by beachball)
87
+
88
+ ## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.11)
89
+
90
+ Mon, 23 May 2022 18:56:50 GMT
91
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.10..@fluentui/react-tooltip_v9.0.0-rc.11)
92
+
93
+ ### Changes
94
+
95
+ - Removing <componentName>ClassName exports. ([PR #23092](https://github.com/microsoft/fluentui/pull/23092) by esteban.230@hotmail.com)
96
+ - BREAKING: changes to positioning prop ([PR #23092](https://github.com/microsoft/fluentui/pull/23092) by lingfangao@hotmail.com)
97
+ - Bump @fluentui/react-portal to v9.0.0-rc.11 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
98
+ - Bump @fluentui/react-positioning to v9.0.0-rc.10 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
99
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
100
+ - Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
101
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
102
+
103
+ ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.10)
104
+
105
+ Mon, 23 May 2022 12:13:56 GMT
106
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.9..@fluentui/react-tooltip_v9.0.0-rc.10)
107
+
108
+ ### Changes
109
+
110
+ - Removing TooltipCommons type. ([PR #22953](https://github.com/microsoft/fluentui/pull/22953) by Humberto.Morimoto@microsoft.com)
111
+ - feat: ship rolluped only dts ([PR #22828](https://github.com/microsoft/fluentui/pull/22828) by martinhochel@microsoft.com)
112
+ - chore: Update Griffel to latest version ([PR #23029](https://github.com/microsoft/fluentui/pull/23029) by olfedias@microsoft.com)
113
+ - chore: Update Griffel to latest version ([PR #22894](https://github.com/microsoft/fluentui/pull/22894) by olfedias@microsoft.com)
114
+ - Bump @fluentui/react-portal to v9.0.0-rc.10 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
115
+ - Bump @fluentui/react-positioning to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
116
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
117
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
118
+ - Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
119
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
120
+
7
121
  ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.9)
8
122
 
9
- Thu, 05 May 2022 18:24:37 GMT
123
+ Thu, 05 May 2022 18:26:30 GMT
10
124
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.8..@fluentui/react-tooltip_v9.0.0-rc.9)
11
125
 
12
126
  ### 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
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,SAAS,mBAAT,QAAoC,cAApC;AACA,SAAS,sBAAT,QAAuC,iBAAvC;AACA,SAAS,yBAAT,QAA0C,oBAA1C;AAIA;;AAEG;;AACH,OAAO,MAAM,OAAO,GAAoD,KAAK,IAAG;AAC9E,QAAM,KAAK,GAAG,mBAAmB,CAAC,KAAD,CAAjC;AAEA,EAAA,yBAAyB,CAAC,KAAD,CAAzB;AACA,SAAO,sBAAsB,CAAC,KAAD,CAA7B;AACD,CALM;AAOP,OAAO,CAAC,WAAR,GAAsB,SAAtB;AACA,OAAO,CAAC,wBAAR,GAAmC,IAAnC","sourcesContent":["import * as React from 'react';\nimport { useTooltip_unstable } from './useTooltip';\nimport { renderTooltip_unstable } from './renderTooltip';\nimport { useTooltipStyles_unstable } from './useTooltipStyles';\nimport type { TooltipProps } from './Tooltip.types';\nimport type { FluentTriggerComponent } from '@fluentui/react-utilities';\n\n/**\n * A tooltip provides light weight contextual information on top of its target element.\n */\nexport const Tooltip: React.FC<TooltipProps> & FluentTriggerComponent = props => {\n const state = useTooltip_unstable(props);\n\n useTooltipStyles_unstable(state);\n return renderTooltip_unstable(state);\n};\n\nTooltip.displayName = 'Tooltip';\nTooltip.isFluentTriggerComponent = true;\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,SAAS,mBAAT,QAAoC,cAApC;AACA,SAAS,sBAAT,QAAuC,iBAAvC;AACA,SAAS,yBAAT,QAA0C,oBAA1C;AAIA;;AAEG;;AACH,OAAO,MAAM,OAAO,GAAoD,KAAK,IAAG;EAC9E,MAAM,KAAK,GAAG,mBAAmB,CAAC,KAAD,CAAjC;EAEA,yBAAyB,CAAC,KAAD,CAAzB;EACA,OAAO,sBAAsB,CAAC,KAAD,CAA7B;AACD,CALM;AAOP,OAAO,CAAC,WAAR,GAAsB,SAAtB;AACA,OAAO,CAAC,wBAAR,GAAmC,IAAnC","sourcesContent":["import * as React from 'react';\nimport { useTooltip_unstable } from './useTooltip';\nimport { renderTooltip_unstable } from './renderTooltip';\nimport { useTooltipStyles_unstable } from './useTooltipStyles';\nimport type { TooltipProps } from './Tooltip.types';\nimport type { FluentTriggerComponent } from '@fluentui/react-utilities';\n\n/**\n * A tooltip provides light weight contextual information on top of its target element.\n */\nexport const Tooltip: React.FC<TooltipProps> & FluentTriggerComponent = props => {\n const state = useTooltip_unstable(props);\n\n useTooltipStyles_unstable(state);\n return renderTooltip_unstable(state);\n};\n\nTooltip.displayName = 'Tooltip';\nTooltip.isFluentTriggerComponent = true;\n"],"sourceRoot":"../src/"}