@fluentui/react-tooltip 9.0.0-beta.1 → 9.0.0-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/CHANGELOG.json +249 -1
  2. package/CHANGELOG.md +68 -2
  3. package/dist/react-tooltip.d.ts +2 -0
  4. package/lib/common/isConformant.js +1 -1
  5. package/lib/common/isConformant.js.map +1 -1
  6. package/lib/components/Tooltip/Tooltip.js +2 -2
  7. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  8. package/lib/components/Tooltip/index.d.ts +1 -1
  9. package/lib/components/Tooltip/index.js +1 -1
  10. package/lib/components/Tooltip/index.js.map +1 -1
  11. package/lib/components/Tooltip/renderTooltip.js +6 -7
  12. package/lib/components/Tooltip/renderTooltip.js.map +1 -1
  13. package/lib/components/Tooltip/useTooltip.js +69 -79
  14. package/lib/components/Tooltip/useTooltip.js.map +1 -1
  15. package/lib/components/Tooltip/useTooltipStyles.d.ts +1 -0
  16. package/lib/components/Tooltip/useTooltipStyles.js +17 -8
  17. package/lib/components/Tooltip/useTooltipStyles.js.map +1 -1
  18. package/lib-commonjs/Tooltip.js +1 -1
  19. package/lib-commonjs/common/isConformant.js +3 -3
  20. package/lib-commonjs/common/isConformant.js.map +1 -1
  21. package/lib-commonjs/components/Tooltip/Tooltip.js +6 -6
  22. package/lib-commonjs/components/Tooltip/Tooltip.js.map +1 -1
  23. package/lib-commonjs/components/Tooltip/index.d.ts +1 -1
  24. package/lib-commonjs/components/Tooltip/index.js +2 -10
  25. package/lib-commonjs/components/Tooltip/index.js.map +1 -1
  26. package/lib-commonjs/components/Tooltip/renderTooltip.js +9 -11
  27. package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
  28. package/lib-commonjs/components/Tooltip/useTooltip.js +73 -84
  29. package/lib-commonjs/components/Tooltip/useTooltip.js.map +1 -1
  30. package/lib-commonjs/components/Tooltip/useTooltipStyles.d.ts +1 -0
  31. package/lib-commonjs/components/Tooltip/useTooltipStyles.js +21 -11
  32. package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
  33. package/lib-commonjs/index.js +1 -1
  34. package/package.json +10 -11
package/CHANGELOG.json CHANGED
@@ -2,7 +2,255 @@
2
2
  "name": "@fluentui/react-tooltip",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 06 Oct 2021 10:36:00 GMT",
5
+ "date": "Thu, 25 Nov 2021 08:31:35 GMT",
6
+ "tag": "@fluentui/react-tooltip_v9.0.0-beta.5",
7
+ "version": "9.0.0-beta.5",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-tooltip",
13
+ "commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
14
+ "comment": "Add transparent outline to arrow for HC"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-tooltip",
19
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
20
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-tooltip",
25
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
26
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-tooltip",
31
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
32
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-tooltip",
37
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
38
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-tooltip",
43
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
44
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-tooltip",
49
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
50
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-tooltip",
55
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
56
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-tooltip",
61
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
62
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@fluentui/react-tooltip",
67
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
68
+ "commit": "281e8820669214c1ffb9bc75e9b719a3b27fa9b6"
69
+ }
70
+ ]
71
+ }
72
+ },
73
+ {
74
+ "date": "Fri, 12 Nov 2021 13:25:09 GMT",
75
+ "tag": "@fluentui/react-tooltip_v9.0.0-beta.4",
76
+ "version": "9.0.0-beta.4",
77
+ "comments": {
78
+ "none": [
79
+ {
80
+ "author": "lingfangao@hotmail.com",
81
+ "package": "@fluentui/react-tooltip",
82
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
83
+ "comment": "Remove beta release tag"
84
+ }
85
+ ],
86
+ "prerelease": [
87
+ {
88
+ "author": "gcox@microsoft.com",
89
+ "package": "@fluentui/react-tooltip",
90
+ "commit": "d5810cfc819dcb2126ffaa081bf117fcae83dc73",
91
+ "comment": "Updated stories to support codesandbox"
92
+ },
93
+ {
94
+ "author": "olfedias@microsoft.com",
95
+ "package": "@fluentui/react-tooltip",
96
+ "commit": "f078af73d95d0f2c380144a40127bd08e389aa2d",
97
+ "comment": "export static classes for components"
98
+ },
99
+ {
100
+ "author": "gcox@microsoft.com",
101
+ "package": "@fluentui/react-tooltip",
102
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
103
+ "comment": "Updated beta and RC components to ES2019"
104
+ },
105
+ {
106
+ "author": "beachball",
107
+ "package": "@fluentui/react-tooltip",
108
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
109
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
110
+ },
111
+ {
112
+ "author": "beachball",
113
+ "package": "@fluentui/react-tooltip",
114
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
115
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
116
+ },
117
+ {
118
+ "author": "beachball",
119
+ "package": "@fluentui/react-tooltip",
120
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
121
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
122
+ },
123
+ {
124
+ "author": "beachball",
125
+ "package": "@fluentui/react-tooltip",
126
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
127
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
128
+ },
129
+ {
130
+ "author": "beachball",
131
+ "package": "@fluentui/react-tooltip",
132
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.3",
133
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
134
+ },
135
+ {
136
+ "author": "beachball",
137
+ "package": "@fluentui/react-tooltip",
138
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
139
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
140
+ },
141
+ {
142
+ "author": "beachball",
143
+ "package": "@fluentui/react-tooltip",
144
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
145
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
146
+ },
147
+ {
148
+ "author": "beachball",
149
+ "package": "@fluentui/react-tooltip",
150
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
151
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
152
+ },
153
+ {
154
+ "author": "beachball",
155
+ "package": "@fluentui/react-tooltip",
156
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
157
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
158
+ }
159
+ ]
160
+ }
161
+ },
162
+ {
163
+ "date": "Wed, 27 Oct 2021 12:14:23 GMT",
164
+ "tag": "@fluentui/react-tooltip_v9.0.0-beta.3",
165
+ "version": "9.0.0-beta.3",
166
+ "comments": {
167
+ "prerelease": [
168
+ {
169
+ "author": "gcox@microsoft.com",
170
+ "package": "@fluentui/react-tooltip",
171
+ "commit": "75a731d1410685b12a091dcd8a60c318f58260f6",
172
+ "comment": "Removed duplicate 'Tooltip' from story names"
173
+ },
174
+ {
175
+ "author": "peter@draxler.ml",
176
+ "package": "@fluentui/react-tooltip",
177
+ "commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
178
+ "comment": "added styling of documentation"
179
+ },
180
+ {
181
+ "author": "beachball",
182
+ "package": "@fluentui/react-tooltip",
183
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
184
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
185
+ },
186
+ {
187
+ "author": "beachball",
188
+ "package": "@fluentui/react-tooltip",
189
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.3",
190
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
191
+ },
192
+ {
193
+ "author": "beachball",
194
+ "package": "@fluentui/react-tooltip",
195
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.2",
196
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
197
+ },
198
+ {
199
+ "author": "beachball",
200
+ "package": "@fluentui/react-tooltip",
201
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.2",
202
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
203
+ },
204
+ {
205
+ "author": "beachball",
206
+ "package": "@fluentui/react-tooltip",
207
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.2",
208
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
209
+ },
210
+ {
211
+ "author": "beachball",
212
+ "package": "@fluentui/react-tooltip",
213
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
214
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
215
+ },
216
+ {
217
+ "author": "beachball",
218
+ "package": "@fluentui/react-tooltip",
219
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
220
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
221
+ },
222
+ {
223
+ "author": "beachball",
224
+ "package": "@fluentui/react-tooltip",
225
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
226
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
227
+ },
228
+ {
229
+ "author": "beachball",
230
+ "package": "@fluentui/react-tooltip",
231
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
232
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
233
+ }
234
+ ]
235
+ }
236
+ },
237
+ {
238
+ "date": "Tue, 12 Oct 2021 19:45:58 GMT",
239
+ "tag": "@fluentui/react-tooltip_v9.0.0-beta.2",
240
+ "version": "9.0.0-beta.2",
241
+ "comments": {
242
+ "prerelease": [
243
+ {
244
+ "author": "beachball",
245
+ "package": "@fluentui/react-tooltip",
246
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.2",
247
+ "commit": "bdd19e2bb827fc1d8eb329e6ed48cd0542048358"
248
+ }
249
+ ]
250
+ }
251
+ },
252
+ {
253
+ "date": "Wed, 06 Oct 2021 10:37:22 GMT",
6
254
  "tag": "@fluentui/react-tooltip_v9.0.0-beta.1",
7
255
  "version": "9.0.0-beta.1",
8
256
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,78 @@
1
1
  # Change Log - @fluentui/react-tooltip
2
2
 
3
- This log was last generated on Wed, 06 Oct 2021 10:36:00 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 25 Nov 2021 08:31:35 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.5)
8
+
9
+ Thu, 25 Nov 2021 08:31:35 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.4..@fluentui/react-tooltip_v9.0.0-beta.5)
11
+
12
+ ### Changes
13
+
14
+ - Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
15
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
16
+ - Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
17
+ - Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
18
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
19
+ - Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
20
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
21
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
22
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
23
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
24
+
25
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.4)
26
+
27
+ Fri, 12 Nov 2021 13:25:09 GMT
28
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.3..@fluentui/react-tooltip_v9.0.0-beta.4)
29
+
30
+ ### Changes
31
+
32
+ - Updated stories to support codesandbox ([PR #20373](https://github.com/microsoft/fluentui/pull/20373) by gcox@microsoft.com)
33
+ - export static classes for components ([PR #20455](https://github.com/microsoft/fluentui/pull/20455) by olfedias@microsoft.com)
34
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
35
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
36
+ - Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
37
+ - Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
38
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
39
+ - Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
40
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
41
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
42
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
43
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
44
+
45
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.3)
46
+
47
+ Wed, 27 Oct 2021 12:14:23 GMT
48
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.2..@fluentui/react-tooltip_v9.0.0-beta.3)
49
+
50
+ ### Changes
51
+
52
+ - Removed duplicate 'Tooltip' from story names ([PR #20271](https://github.com/microsoft/fluentui/pull/20271) by gcox@microsoft.com)
53
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
54
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
55
+ - Bump @fluentui/react-portal to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
56
+ - Bump @fluentui/react-positioning to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
57
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
58
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
59
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
60
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
61
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
62
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
63
+
64
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.2)
65
+
66
+ Tue, 12 Oct 2021 19:45:58 GMT
67
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-beta.1..@fluentui/react-tooltip_v9.0.0-beta.2)
68
+
69
+ ### Changes
70
+
71
+ - Bump @fluentui/react-portal to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
72
+
7
73
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.0.0-beta.1)
8
74
 
9
- Wed, 06 Oct 2021 10:36:00 GMT
75
+ Wed, 06 Oct 2021 10:37:22 GMT
10
76
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.0.0-alpha.96..@fluentui/react-tooltip_v9.0.0-beta.1)
11
77
 
12
78
  ### Changes
@@ -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
  */
@@ -1,7 +1,7 @@
1
1
  import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
2
2
  import makeStylesTests from '@fluentui/react-conformance-make-styles';
3
3
  export function isConformant(testInfo) {
4
- var defaultOptions = {
4
+ const defaultOptions = {
5
5
  asPropHandlesRef: true,
6
6
  componentPath: module.parent.filename.replace('.test', ''),
7
7
  extraTests: makeStylesTests
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,MAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,UAAU,EAAE;AAH+C,GAA7D;AAMA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,UAAU,EAAE;AAH+C,GAA7D;AAMA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
@@ -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 var Tooltip = /*#__PURE__*/React.forwardRef(function (props, ref) {
10
- var state = useTooltip(props, ref);
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,IAAM,OAAO,gBAAsC,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AACpF,MAAM,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
+ {"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":""}
@@ -2,4 +2,4 @@ export * from './Tooltip';
2
2
  export * from './Tooltip.types';
3
3
  export * from './renderTooltip';
4
4
  export * from './useTooltip';
5
- export { useTooltipStyles } from './useTooltipStyles';
5
+ export * from './useTooltipStyles';
@@ -2,5 +2,5 @@ export * from './Tooltip';
2
2
  export * from './Tooltip.types';
3
3
  export * from './renderTooltip';
4
4
  export * from './useTooltip';
5
- export { useTooltipStyles } from './useTooltipStyles';
5
+ export * from './useTooltipStyles';
6
6
  //# sourceMappingURL=index.js.map
@@ -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,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
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,12 @@ import { getSlots } from '@fluentui/react-utilities';
6
5
  * Render the final JSX of Tooltip
7
6
  */
8
7
 
9
- export var renderTooltip = function (state) {
10
- var _a = getSlots(state, ['root']),
11
- slots = _a.slots,
12
- slotProps = _a.slotProps;
13
-
14
- return /*#__PURE__*/React.createElement(React.Fragment, null, state.root.children, state.shouldRenderTooltip && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(slots.root, __assign({}, slotProps.root), state.withArrow && /*#__PURE__*/React.createElement("div", {
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, Object.assign({}, slotProps.root), state.withArrow && /*#__PURE__*/React.createElement("div", {
15
14
  ref: state.arrowRef,
16
15
  className: state.arrowClassName
17
16
  }), state.content)));
@@ -1 +1 @@
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,IAAM,aAAa,GAAG,UAAC,KAAD,EAAoB;AACzC,MAAA,EAAA,GAAuB,QAAQ,CAAe,KAAf,EAAsB,CAAC,MAAD,CAAtB,CAA/B;AAAA,MAAE,KAAK,GAAA,EAAA,CAAA,KAAP;AAAA,MAAS,SAAS,GAAA,EAAA,CAAA,SAAlB;;AAEN,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,QAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,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":""}
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,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,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":""}