@fluentui/react-tooltip 0.0.0-nightly3082edf34720220208.1 → 0.0.0-nightly43b133e62020220224.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 +172 -52
- package/CHANGELOG.md +48 -15
- package/MIGRATION.md +51 -43
- package/Spec.md +201 -337
- package/dist/react-tooltip.d.ts +20 -11
- package/lib/Tooltip.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.types.d.ts +21 -11
- 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.js.map +1 -1
- package/lib/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib/components/Tooltip/useTooltip.js +21 -30
- package/lib/components/Tooltip/useTooltip.js.map +1 -1
- 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.js.map +1 -1
- package/lib-commonjs/components/Tooltip/Tooltip.types.d.ts +21 -11
- 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.js.map +1 -1
- package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltip.js +21 -30
- package/lib-commonjs/components/Tooltip/useTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.json
CHANGED
@@ -2,17 +2,161 @@
|
|
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": "Thu, 24 Feb 2022 04:13:28 GMT",
|
6
|
+
"tag": "@fluentui/react-tooltip_v0.0.0-nightly43b133e62020220224.1",
|
7
|
+
"version": "0.0.0-nightly43b133e62020220224.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": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-tooltip",
|
19
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly43b133e62020220224.1",
|
20
|
+
"commit": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-tooltip",
|
25
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly43b133e62020220224.1",
|
26
|
+
"commit": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-tooltip",
|
31
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly43b133e62020220224.1",
|
32
|
+
"commit": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-tooltip",
|
37
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly43b133e62020220224.1",
|
38
|
+
"commit": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-tooltip",
|
43
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly43b133e62020220224.1",
|
44
|
+
"commit": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-tooltip",
|
49
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly43b133e62020220224.1",
|
50
|
+
"commit": "27a2c814edc7e5d9bb79037b2fabfff4a516ab8c"
|
51
|
+
}
|
52
|
+
]
|
53
|
+
}
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"date": "Fri, 18 Feb 2022 13:35:36 GMT",
|
57
|
+
"tag": "@fluentui/react-tooltip_v9.0.0-rc.3",
|
58
|
+
"version": "9.0.0-rc.3",
|
59
|
+
"comments": {
|
60
|
+
"prerelease": [
|
61
|
+
{
|
62
|
+
"author": "behowell@microsoft.com",
|
63
|
+
"package": "@fluentui/react-tooltip",
|
64
|
+
"commit": "50ae56ec346d762d66b3d74ed1127943ffda344f",
|
65
|
+
"comment": "Update documentation comments"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"author": "lingfangao@hotmail.com",
|
69
|
+
"package": "@fluentui/react-tooltip",
|
70
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
71
|
+
"comment": "fix: Source maps contain original source code"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"author": "olfedias@microsoft.com",
|
75
|
+
"package": "@fluentui/react-tooltip",
|
76
|
+
"commit": "2bf88fea066244bc078912bb6e45edb960f3b866",
|
77
|
+
"comment": "update trigger implementation to be consistent"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"author": "beachball",
|
81
|
+
"package": "@fluentui/react-tooltip",
|
82
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-rc.3",
|
83
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"author": "beachball",
|
87
|
+
"package": "@fluentui/react-tooltip",
|
88
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-rc.3",
|
89
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"author": "beachball",
|
93
|
+
"package": "@fluentui/react-tooltip",
|
94
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
|
95
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"author": "beachball",
|
99
|
+
"package": "@fluentui/react-tooltip",
|
100
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.3",
|
101
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"author": "beachball",
|
105
|
+
"package": "@fluentui/react-tooltip",
|
106
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
|
107
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"author": "beachball",
|
111
|
+
"package": "@fluentui/react-tooltip",
|
112
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
|
113
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
114
|
+
}
|
115
|
+
]
|
116
|
+
}
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"date": "Thu, 10 Feb 2022 08:50:30 GMT",
|
120
|
+
"tag": "@fluentui/react-tooltip_v9.0.0-rc.1",
|
121
|
+
"version": "9.0.0-rc.1",
|
122
|
+
"comments": {
|
123
|
+
"prerelease": [
|
124
|
+
{
|
125
|
+
"author": "olfedias@microsoft.com",
|
126
|
+
"package": "@fluentui/react-tooltip",
|
127
|
+
"commit": "02e6236e4db8e1b591223475896537e905bf3580",
|
128
|
+
"comment": "BREAKING: implement `content` slot"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"author": "olfedias@microsoft.com",
|
132
|
+
"package": "@fluentui/react-tooltip",
|
133
|
+
"commit": "17c0b18d7983d414095661bf9f57e14c0c22685d",
|
134
|
+
"comment": "Replace make-styles packages with griffel equivalents."
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"author": "behowell@microsoft.com",
|
138
|
+
"package": "@fluentui/react-tooltip",
|
139
|
+
"commit": "58ae40d6817b1fa4e095a94707dfef5050aa4c11",
|
140
|
+
"comment": "Replace `triggerAriaAttribute` prop with `relationship` and make it required with no default"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"author": "behowell@microsoft.com",
|
144
|
+
"package": "@fluentui/react-tooltip",
|
145
|
+
"commit": "f30e7585a8d2abd9db06c4076f39a779008b0eca",
|
146
|
+
"comment": "Update MenuTrigger and Tooltip to work together"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"author": "mgodbolt@microsoft.com",
|
150
|
+
"package": "@fluentui/react-tooltip",
|
151
|
+
"commit": "839ec14849e112b85aa321d034739ec421199141",
|
152
|
+
"comment": "remove export of commons types"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"author": "lingfangao@hotmail.com",
|
156
|
+
"package": "@fluentui/react-tooltip",
|
157
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
158
|
+
"comment": "Bump Fluent UI packages to 9.0.0-rc"
|
159
|
+
},
|
16
160
|
{
|
17
161
|
"author": "behowell@microsoft.com",
|
18
162
|
"package": "@fluentui/react-tooltip",
|
@@ -85,80 +229,44 @@
|
|
85
229
|
"commit": "1513362b9adaae5d7dbda6b364e40e736710a79f",
|
86
230
|
"comment": "Remove Tooltip's inverted prop in favor of the appearance prop"
|
87
231
|
},
|
88
|
-
{
|
89
|
-
"author": "olfedias@microsoft.com",
|
90
|
-
"package": "@fluentui/react-tooltip",
|
91
|
-
"commit": "02e6236e4db8e1b591223475896537e905bf3580",
|
92
|
-
"comment": "BREAKING: implement `content` slot"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"author": "olfedias@microsoft.com",
|
96
|
-
"package": "@fluentui/react-tooltip",
|
97
|
-
"commit": "17c0b18d7983d414095661bf9f57e14c0c22685d",
|
98
|
-
"comment": "Replace make-styles packages with griffel equivalents."
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"author": "behowell@microsoft.com",
|
102
|
-
"package": "@fluentui/react-tooltip",
|
103
|
-
"commit": "58ae40d6817b1fa4e095a94707dfef5050aa4c11",
|
104
|
-
"comment": "Replace `triggerAriaAttribute` prop with `relationship` and make it required with no default"
|
105
|
-
},
|
106
|
-
{
|
107
|
-
"author": "behowell@microsoft.com",
|
108
|
-
"package": "@fluentui/react-tooltip",
|
109
|
-
"commit": "f30e7585a8d2abd9db06c4076f39a779008b0eca",
|
110
|
-
"comment": "Update MenuTrigger and Tooltip to work together"
|
111
|
-
},
|
112
232
|
{
|
113
233
|
"author": "beachball",
|
114
234
|
"package": "@fluentui/react-tooltip",
|
115
|
-
"comment": "Bump @fluentui/react-portal to
|
116
|
-
"commit": "
|
235
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-rc.1",
|
236
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
117
237
|
},
|
118
238
|
{
|
119
239
|
"author": "beachball",
|
120
240
|
"package": "@fluentui/react-tooltip",
|
121
|
-
"comment": "Bump @fluentui/react-positioning to
|
122
|
-
"commit": "
|
241
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-rc.1",
|
242
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
123
243
|
},
|
124
244
|
{
|
125
245
|
"author": "beachball",
|
126
246
|
"package": "@fluentui/react-tooltip",
|
127
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
128
|
-
"commit": "
|
247
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
|
248
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
129
249
|
},
|
130
250
|
{
|
131
251
|
"author": "beachball",
|
132
252
|
"package": "@fluentui/react-tooltip",
|
133
|
-
"comment": "Bump @fluentui/react-theme to
|
134
|
-
"commit": "
|
253
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.1",
|
254
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
135
255
|
},
|
136
256
|
{
|
137
257
|
"author": "beachball",
|
138
258
|
"package": "@fluentui/react-tooltip",
|
139
|
-
"comment": "Bump @fluentui/react-utilities to
|
140
|
-
"commit": "
|
259
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
260
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
141
261
|
},
|
142
262
|
{
|
143
263
|
"author": "beachball",
|
144
264
|
"package": "@fluentui/react-tooltip",
|
145
|
-
"comment": "Bump @fluentui/react-conformance-griffel to
|
146
|
-
"commit": "
|
265
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
|
266
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
147
267
|
}
|
148
268
|
],
|
149
269
|
"none": [
|
150
|
-
{
|
151
|
-
"author": "martinhochel@microsoft.com",
|
152
|
-
"package": "@fluentui/react-tooltip",
|
153
|
-
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
154
|
-
"comment": "chore: use storybook runner for all vNext packages"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"author": "andredias@microsoft.com",
|
158
|
-
"package": "@fluentui/react-tooltip",
|
159
|
-
"commit": "b59f44ed5db37b457476fdb3ec86ff273b776646",
|
160
|
-
"comment": "Migrate package to use solution tsconfigs"
|
161
|
-
},
|
162
270
|
{
|
163
271
|
"author": "olfedias@microsoft.com",
|
164
272
|
"package": "@fluentui/react-tooltip",
|
@@ -170,6 +278,18 @@
|
|
170
278
|
"package": "@fluentui/react-tooltip",
|
171
279
|
"commit": "d892c7f79c543b6008634ecd669b75b5108cad46",
|
172
280
|
"comment": "Remove outdated boilerplate comment in useTooltip"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"author": "martinhochel@microsoft.com",
|
284
|
+
"package": "@fluentui/react-tooltip",
|
285
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
286
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"author": "andredias@microsoft.com",
|
290
|
+
"package": "@fluentui/react-tooltip",
|
291
|
+
"commit": "b59f44ed5db37b457476fdb3ec86ff273b776646",
|
292
|
+
"comment": "Migrate package to use solution tsconfigs"
|
173
293
|
}
|
174
294
|
]
|
175
295
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,17 +1,54 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 24 Feb 2022 04:13:28 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightly43b133e62020220224.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v0.0.0-nightly43b133e62020220224.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-
|
9
|
+
Thu, 24 Feb 2022 04:13:28 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.3..@fluentui/react-tooltip_v0.0.0-nightly43b133e62020220224.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/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by email not defined)
|
15
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly43b133e62020220224.1 ([commit](https://github.com/microsoft/fluentui/commit/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by beachball)
|
16
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly43b133e62020220224.1 ([commit](https://github.com/microsoft/fluentui/commit/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by beachball)
|
17
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly43b133e62020220224.1 ([commit](https://github.com/microsoft/fluentui/commit/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by beachball)
|
18
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly43b133e62020220224.1 ([commit](https://github.com/microsoft/fluentui/commit/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by beachball)
|
19
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly43b133e62020220224.1 ([commit](https://github.com/microsoft/fluentui/commit/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by beachball)
|
20
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly43b133e62020220224.1 ([commit](https://github.com/microsoft/fluentui/commit/27a2c814edc7e5d9bb79037b2fabfff4a516ab8c) by beachball)
|
21
|
+
|
22
|
+
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.3)
|
23
|
+
|
24
|
+
Fri, 18 Feb 2022 13:35:36 GMT
|
25
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-rc.1..@fluentui/react-tooltip_v9.0.0-rc.3)
|
26
|
+
|
27
|
+
### Changes
|
28
|
+
|
29
|
+
- Update documentation comments ([PR #21736](https://github.com/microsoft/fluentui/pull/21736) by behowell@microsoft.com)
|
30
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
31
|
+
- update trigger implementation to be consistent ([PR #21626](https://github.com/microsoft/fluentui/pull/21626) by olfedias@microsoft.com)
|
32
|
+
- Bump @fluentui/react-portal to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
33
|
+
- Bump @fluentui/react-positioning to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
34
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
35
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
36
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
37
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
38
|
+
|
39
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-rc.1)
|
40
|
+
|
41
|
+
Thu, 10 Feb 2022 08:50:30 GMT
|
42
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.5..@fluentui/react-tooltip_v9.0.0-rc.1)
|
43
|
+
|
44
|
+
### Changes
|
45
|
+
|
46
|
+
- BREAKING: implement `content` slot ([PR #21470](https://github.com/microsoft/fluentui/pull/21470) by olfedias@microsoft.com)
|
47
|
+
- Replace make-styles packages with griffel equivalents. ([PR #21422](https://github.com/microsoft/fluentui/pull/21422) by olfedias@microsoft.com)
|
48
|
+
- 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)
|
49
|
+
- Update MenuTrigger and Tooltip to work together ([PR #21495](https://github.com/microsoft/fluentui/pull/21495) by behowell@microsoft.com)
|
50
|
+
- remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
|
51
|
+
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
15
52
|
- Move arrowHeight and tooltipBorderRadius into a shared constants.ts file ([PR #21204](https://github.com/microsoft/fluentui/pull/21204) by behowell@microsoft.com)
|
16
53
|
- 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)
|
17
54
|
- 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)
|
@@ -24,16 +61,12 @@ Tue, 08 Feb 2022 04:14:28 GMT
|
|
24
61
|
- update types related to trigger (allow only React.ReactElement & null) ([PR #21609](https://github.com/microsoft/fluentui/pull/21609) by olfedias@microsoft.com)
|
25
62
|
- Fix tooltip arrow rendering, and add high contrast border around Tooltip ([PR #21086](https://github.com/microsoft/fluentui/pull/21086) by behowell@microsoft.com)
|
26
63
|
- Remove Tooltip's inverted prop in favor of the appearance prop ([PR #21327](https://github.com/microsoft/fluentui/pull/21327) by behowell@microsoft.com)
|
27
|
-
-
|
28
|
-
-
|
29
|
-
-
|
30
|
-
-
|
31
|
-
- Bump @fluentui/react-
|
32
|
-
- Bump @fluentui/react-
|
33
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
|
34
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
|
35
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
|
36
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly3082edf34720220208.1 ([commit](https://github.com/microsoft/fluentui/commit/2995e3262243608331236b8d12b1652c84d313bc) by beachball)
|
64
|
+
- Bump @fluentui/react-portal to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
65
|
+
- Bump @fluentui/react-positioning to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
66
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
67
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
68
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
69
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
37
70
|
|
38
71
|
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.5)
|
39
72
|
|
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`
|