@fluentui/react-tooltip 0.0.0-nightly050f89bf0020211102.1 → 0.0.0-nightly07d9ed6d1b20211221.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 +188 -22
- package/CHANGELOG.md +52 -14
- package/dist/react-tooltip.d.ts +2 -0
- package/lib/components/Tooltip/Tooltip.js +2 -2
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/Tooltip/index.js +1 -1
- package/lib/components/Tooltip/index.js.map +1 -1
- package/lib/components/Tooltip/renderTooltip.js +7 -7
- package/lib/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib/components/Tooltip/useTooltip.js +69 -79
- package/lib/components/Tooltip/useTooltip.js.map +1 -1
- package/lib/components/Tooltip/useTooltipStyles.d.ts +1 -0
- package/lib/components/Tooltip/useTooltipStyles.js +31 -17
- package/lib/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/lib-commonjs/Tooltip.js +1 -1
- package/lib-commonjs/components/Tooltip/Tooltip.js +6 -6
- package/lib-commonjs/components/Tooltip/Tooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/index.d.ts +1 -1
- package/lib-commonjs/components/Tooltip/index.js +2 -10
- package/lib-commonjs/components/Tooltip/index.js.map +1 -1
- package/lib-commonjs/components/Tooltip/renderTooltip.js +10 -11
- package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltip.js +73 -84
- package/lib-commonjs/components/Tooltip/useTooltip.js.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.d.ts +1 -0
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js +34 -19
- package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
- package/lib-commonjs/index.js +1 -1
- package/package.json +14 -14
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -11
- package/lib/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -22
- package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,76 +2,242 @@
|
|
2
2
|
"name": "@fluentui/react-tooltip",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Tue,
|
6
|
-
"tag": "@fluentui/react-tooltip_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Tue, 21 Dec 2021 04:16:38 GMT",
|
6
|
+
"tag": "@fluentui/react-tooltip_v0.0.0-nightly07d9ed6d1b20211221.1",
|
7
|
+
"version": "0.0.0-nightly07d9ed6d1b20211221.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": "6e6f95bef032550f051ca8b80e4674e69f9edaa8",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-tooltip",
|
19
|
+
"commit": "1bbb753830028fbf133858d523ae2d56ceefeecf",
|
20
|
+
"comment": "update styles to not use CSS shorthands"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-tooltip",
|
25
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
|
26
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-tooltip",
|
31
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly07d9ed6d1b20211221.1",
|
32
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-tooltip",
|
37
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly07d9ed6d1b20211221.1",
|
38
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-tooltip",
|
43
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly07d9ed6d1b20211221.1",
|
44
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-tooltip",
|
49
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly07d9ed6d1b20211221.1",
|
50
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-tooltip",
|
55
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly07d9ed6d1b20211221.1",
|
56
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-tooltip",
|
61
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
|
62
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-tooltip",
|
67
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
|
68
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"author": "beachball",
|
72
|
+
"package": "@fluentui/react-tooltip",
|
73
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1",
|
74
|
+
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"none": [
|
78
|
+
{
|
79
|
+
"author": "andredias@microsoft.com",
|
80
|
+
"package": "@fluentui/react-tooltip",
|
81
|
+
"commit": "b59f44ed5db37b457476fdb3ec86ff273b776646",
|
82
|
+
"comment": "Migrate package to use solution tsconfigs"
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"date": "Thu, 25 Nov 2021 08:34:17 GMT",
|
89
|
+
"tag": "@fluentui/react-tooltip_v9.0.0-beta.5",
|
90
|
+
"version": "9.0.0-beta.5",
|
91
|
+
"comments": {
|
92
|
+
"prerelease": [
|
93
|
+
{
|
94
|
+
"author": "lingfangao@hotmail.com",
|
95
|
+
"package": "@fluentui/react-tooltip",
|
96
|
+
"commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
|
97
|
+
"comment": "Add transparent outline to arrow for HC"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"author": "beachball",
|
101
|
+
"package": "@fluentui/react-tooltip",
|
102
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
103
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"author": "beachball",
|
107
|
+
"package": "@fluentui/react-tooltip",
|
108
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
109
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"author": "beachball",
|
113
|
+
"package": "@fluentui/react-tooltip",
|
114
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
115
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"author": "beachball",
|
119
|
+
"package": "@fluentui/react-tooltip",
|
120
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
121
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"author": "beachball",
|
125
|
+
"package": "@fluentui/react-tooltip",
|
126
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
|
127
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"author": "beachball",
|
131
|
+
"package": "@fluentui/react-tooltip",
|
132
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
133
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"author": "beachball",
|
137
|
+
"package": "@fluentui/react-tooltip",
|
138
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
139
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"author": "beachball",
|
143
|
+
"package": "@fluentui/react-tooltip",
|
144
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
145
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"author": "beachball",
|
149
|
+
"package": "@fluentui/react-tooltip",
|
150
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
151
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
152
|
+
}
|
153
|
+
]
|
154
|
+
}
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"date": "Fri, 12 Nov 2021 13:25:09 GMT",
|
158
|
+
"tag": "@fluentui/react-tooltip_v9.0.0-beta.4",
|
159
|
+
"version": "9.0.0-beta.4",
|
160
|
+
"comments": {
|
161
|
+
"none": [
|
162
|
+
{
|
163
|
+
"author": "lingfangao@hotmail.com",
|
164
|
+
"package": "@fluentui/react-tooltip",
|
165
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
166
|
+
"comment": "Remove beta release tag"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"prerelease": [
|
16
170
|
{
|
17
171
|
"author": "gcox@microsoft.com",
|
18
172
|
"package": "@fluentui/react-tooltip",
|
19
173
|
"commit": "d5810cfc819dcb2126ffaa081bf117fcae83dc73",
|
20
174
|
"comment": "Updated stories to support codesandbox"
|
21
175
|
},
|
176
|
+
{
|
177
|
+
"author": "olfedias@microsoft.com",
|
178
|
+
"package": "@fluentui/react-tooltip",
|
179
|
+
"commit": "f078af73d95d0f2c380144a40127bd08e389aa2d",
|
180
|
+
"comment": "export static classes for components"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"author": "gcox@microsoft.com",
|
184
|
+
"package": "@fluentui/react-tooltip",
|
185
|
+
"commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
|
186
|
+
"comment": "Updated beta and RC components to ES2019"
|
187
|
+
},
|
22
188
|
{
|
23
189
|
"author": "beachball",
|
24
190
|
"package": "@fluentui/react-tooltip",
|
25
|
-
"comment": "Bump @fluentui/react-make-styles to
|
26
|
-
"commit": "
|
191
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
192
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
27
193
|
},
|
28
194
|
{
|
29
195
|
"author": "beachball",
|
30
196
|
"package": "@fluentui/react-tooltip",
|
31
|
-
"comment": "Bump @fluentui/react-portal to
|
32
|
-
"commit": "
|
197
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
|
198
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
33
199
|
},
|
34
200
|
{
|
35
201
|
"author": "beachball",
|
36
202
|
"package": "@fluentui/react-tooltip",
|
37
|
-
"comment": "Bump @fluentui/react-positioning to
|
38
|
-
"commit": "
|
203
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
|
204
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
39
205
|
},
|
40
206
|
{
|
41
207
|
"author": "beachball",
|
42
208
|
"package": "@fluentui/react-tooltip",
|
43
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
44
|
-
"commit": "
|
209
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
210
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
45
211
|
},
|
46
212
|
{
|
47
213
|
"author": "beachball",
|
48
214
|
"package": "@fluentui/react-tooltip",
|
49
|
-
"comment": "Bump @fluentui/react-theme to
|
50
|
-
"commit": "
|
215
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.3",
|
216
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
51
217
|
},
|
52
218
|
{
|
53
219
|
"author": "beachball",
|
54
220
|
"package": "@fluentui/react-tooltip",
|
55
|
-
"comment": "Bump @fluentui/react-utilities to
|
56
|
-
"commit": "
|
221
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
222
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
57
223
|
},
|
58
224
|
{
|
59
225
|
"author": "beachball",
|
60
226
|
"package": "@fluentui/react-tooltip",
|
61
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
62
|
-
"commit": "
|
227
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
228
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
63
229
|
},
|
64
230
|
{
|
65
231
|
"author": "beachball",
|
66
232
|
"package": "@fluentui/react-tooltip",
|
67
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
68
|
-
"commit": "
|
233
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
234
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
69
235
|
},
|
70
236
|
{
|
71
237
|
"author": "beachball",
|
72
238
|
"package": "@fluentui/react-tooltip",
|
73
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
74
|
-
"commit": "
|
239
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
240
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
75
241
|
}
|
76
242
|
]
|
77
243
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,65 @@
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
2
2
|
|
3
|
-
This log was last generated on Tue,
|
3
|
+
This log was last generated on Tue, 21 Dec 2021 04:16:38 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightly07d9ed6d1b20211221.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v0.0.0-nightly07d9ed6d1b20211221.1)
|
8
8
|
|
9
|
-
Tue,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.
|
9
|
+
Tue, 21 Dec 2021 04:16:38 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.5..@fluentui/react-tooltip_v0.0.0-nightly07d9ed6d1b20211221.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by email not defined)
|
15
|
+
- update styles to not use CSS shorthands ([PR #20795](https://github.com/microsoft/fluentui/pull/20795) by olfedias@microsoft.com)
|
16
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
17
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
18
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
20
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
22
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
23
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
24
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by beachball)
|
25
|
+
|
26
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.5)
|
27
|
+
|
28
|
+
Thu, 25 Nov 2021 08:34:17 GMT
|
29
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.4..@fluentui/react-tooltip_v9.0.0-beta.5)
|
30
|
+
|
31
|
+
### Changes
|
32
|
+
|
33
|
+
- Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
|
34
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
35
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
36
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
37
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
38
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
39
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
40
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
41
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
42
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
43
|
+
|
44
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.4)
|
45
|
+
|
46
|
+
Fri, 12 Nov 2021 13:25:09 GMT
|
47
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.3..@fluentui/react-tooltip_v9.0.0-beta.4)
|
11
48
|
|
12
49
|
### Changes
|
13
50
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by email not defined)
|
15
51
|
- Updated stories to support codesandbox ([PR #20373](https://github.com/microsoft/fluentui/pull/20373) by gcox@microsoft.com)
|
16
|
-
-
|
17
|
-
-
|
18
|
-
- Bump @fluentui/react-
|
19
|
-
- Bump @fluentui/react-
|
20
|
-
- Bump @fluentui/react-
|
21
|
-
- Bump @fluentui/react-
|
22
|
-
- Bump @fluentui/
|
23
|
-
- Bump @fluentui/
|
24
|
-
- Bump @fluentui/
|
52
|
+
- export static classes for components ([PR #20455](https://github.com/microsoft/fluentui/pull/20455) by olfedias@microsoft.com)
|
53
|
+
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
54
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
55
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
56
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
57
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
58
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
59
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
60
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
61
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
62
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
25
63
|
|
26
64
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.3)
|
27
65
|
|
package/dist/react-tooltip.d.ts
CHANGED
@@ -22,6 +22,8 @@ export declare const renderTooltip: (state: TooltipState) => JSX.Element;
|
|
22
22
|
*/
|
23
23
|
export declare const Tooltip: ForwardRefComponent<TooltipProps>;
|
24
24
|
|
25
|
+
export declare const tooltipClassName = "fui-Tooltip";
|
26
|
+
|
25
27
|
/**
|
26
28
|
* Properties and state for Tooltip
|
27
29
|
*/
|
@@ -6,8 +6,8 @@ import { useTooltipStyles } from './useTooltipStyles';
|
|
6
6
|
* A tooltip provides light weight contextual information on top of its target element.
|
7
7
|
*/
|
8
8
|
|
9
|
-
export
|
10
|
-
|
9
|
+
export const Tooltip = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
|
+
const state = useTooltip(props, ref);
|
11
11
|
useTooltipStyles(state);
|
12
12
|
return renderTooltip(state);
|
13
13
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,UAAT,QAA2B,cAA3B;AACA,SAAS,aAAT,QAA8B,iBAA9B;AACA,SAAS,gBAAT,QAAiC,oBAAjC;AAIA;;AAEG;;AACH,OAAO,
|
1
|
+
{"version":3,"sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,UAAT,QAA2B,cAA3B;AACA,SAAS,aAAT,QAA8B,iBAA9B;AACA,SAAS,gBAAT,QAAiC,oBAAjC;AAIA;;AAEG;;AACH,OAAO,MAAM,OAAO,gBAAsC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACxF,QAAM,KAAK,GAAG,UAAU,CAAC,KAAD,EAAQ,GAAR,CAAxB;AAEA,EAAA,gBAAgB,CAAC,KAAD,CAAhB;AACA,SAAO,aAAa,CAAC,KAAD,CAApB;AACD,CALyD,CAAnD;AAOP,OAAO,CAAC,WAAR,GAAsB,SAAtB","sourceRoot":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { __assign } from "tslib";
|
2
1
|
import * as React from 'react';
|
3
2
|
import { Portal } from '@fluentui/react-portal';
|
4
3
|
import { getSlots } from '@fluentui/react-utilities';
|
@@ -6,12 +5,13 @@ import { getSlots } from '@fluentui/react-utilities';
|
|
6
5
|
* Render the final JSX of Tooltip
|
7
6
|
*/
|
8
7
|
|
9
|
-
export
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, state.root.children, state.shouldRenderTooltip && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(slots.root,
|
8
|
+
export const renderTooltip = state => {
|
9
|
+
const {
|
10
|
+
slots,
|
11
|
+
slotProps
|
12
|
+
} = getSlots(state, ['root']);
|
13
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, state.root.children, state.shouldRenderTooltip && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
14
|
+
}, state.withArrow && /*#__PURE__*/React.createElement("div", {
|
15
15
|
ref: state.arrowRef,
|
16
16
|
className: state.arrowClassName
|
17
17
|
}), state.content)));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Tooltip/renderTooltip.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../src/components/Tooltip/renderTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,MAAT,QAAuB,wBAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,aAAa,GAAI,KAAD,IAAwB;AACnD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAe,KAAf,EAAsB,CAAC,MAAD,CAAtB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAA,KAAA,CAAA,QAAA,EAAA,IAAA,EACG,KAAK,CAAC,IAAN,CAAW,QADd,EAEG,KAAK,CAAC,mBAAN,iBACC,KAAA,CAAA,aAAA,CAAC,MAAD,EAAO,IAAP,eACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,SAAN,iBAAmB,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,GAAG,EAAE,KAAK,CAAC,QAAhB;AAA0B,IAAA,SAAS,EAAE,KAAK,CAAC;AAA3C,GAAA,CADtB,EAEG,KAAK,CAAC,OAFT,CADF,CAHJ,CADF;AAaD,CAhBM","sourceRoot":""}
|