react-tooltip 5.0.0-beta.1 → 5.0.0-beta.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 (125) hide show
  1. package/.eslintrc.json +2 -1
  2. package/CODE_OF_CONDUCT.md +53 -0
  3. package/LICENSE +1 -2
  4. package/README.md +30 -152
  5. package/coverage/clover.xml +610 -0
  6. package/coverage/coverage-final.json +11 -0
  7. package/coverage/lcov-report/base.css +224 -0
  8. package/coverage/lcov-report/block-navigation.js +87 -0
  9. package/coverage/lcov-report/components/Tooltip/Tooltip.tsx.html +646 -0
  10. package/coverage/lcov-report/components/Tooltip/index.html +146 -0
  11. package/coverage/lcov-report/components/Tooltip/index.ts.html +88 -0
  12. package/coverage/lcov-report/components/Tooltip/styles.module.css.html +277 -0
  13. package/coverage/lcov-report/components/TooltipContent/TooltipContent.tsx.html +109 -0
  14. package/coverage/lcov-report/components/TooltipContent/index.html +131 -0
  15. package/coverage/lcov-report/components/TooltipContent/index.ts.html +88 -0
  16. package/coverage/lcov-report/components/TooltipController/TooltipController.tsx.html +664 -0
  17. package/coverage/lcov-report/components/TooltipController/constants.ts.html +118 -0
  18. package/coverage/lcov-report/components/TooltipController/index.html +146 -0
  19. package/coverage/lcov-report/components/TooltipController/index.ts.html +88 -0
  20. package/coverage/lcov-report/favicon.png +0 -0
  21. package/coverage/lcov-report/index.html +161 -0
  22. package/coverage/lcov-report/prettify.css +1 -0
  23. package/coverage/lcov-report/prettify.js +2 -0
  24. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  25. package/coverage/lcov-report/sorter.js +196 -0
  26. package/coverage/lcov-report/sum.js.html +97 -0
  27. package/coverage/lcov-report/sum.ts.html +100 -0
  28. package/coverage/lcov-report/test/index.html +116 -0
  29. package/coverage/lcov-report/test/sum.ts.html +100 -0
  30. package/coverage/lcov-report/utils/compute-positions.ts.html +277 -0
  31. package/coverage/lcov-report/utils/debounce.ts.html +181 -0
  32. package/coverage/lcov-report/utils/index.html +131 -0
  33. package/coverage/lcov.info +729 -0
  34. package/dist/react-tooltip.cjs.js +3 -6
  35. package/dist/react-tooltip.cjs.min.js +1 -1
  36. package/dist/react-tooltip.esm.js +3 -6
  37. package/dist/react-tooltip.esm.min.js +1 -1
  38. package/dist/react-tooltip.umd.js +3 -6
  39. package/dist/react-tooltip.umd.min.js +1 -1
  40. package/jest.config.ts +214 -0
  41. package/package.json +12 -4
  42. package/tsconfig.json +2 -2
  43. package/.github/FUNDING.yml +0 -13
  44. package/.github/workflows/lint.yaml +0 -35
  45. package/.github/workflows/pull-request.yaml +0 -11
  46. package/.github/workflows/release.yaml +0 -30
  47. package/.husky/pre-commit +0 -6
  48. package/.vscode/settings.json +0 -27
  49. package/build/dist/react-tooltip.cjs.js +0 -2909
  50. package/build/dist/react-tooltip.cjs.min.js +0 -6
  51. package/build/dist/react-tooltip.css +0 -73
  52. package/build/dist/react-tooltip.esm.js +0 -2901
  53. package/build/dist/react-tooltip.esm.min.js +0 -6
  54. package/build/dist/react-tooltip.min.css +0 -1
  55. package/build/dist/react-tooltip.umd.js +0 -2913
  56. package/build/dist/react-tooltip.umd.min.js +0 -6
  57. package/build/index.css +0 -79
  58. package/build/index.html +0 -19
  59. package/build/index.js +0 -36190
  60. package/docs/README.md +0 -50
  61. package/docs/babel.config.js +0 -3
  62. package/docs/docs/examples/_category_.json +0 -7
  63. package/docs/docs/examples/basic-examples.mdx +0 -68
  64. package/docs/docs/examples/children.mdx +0 -67
  65. package/docs/docs/examples/content.mdx +0 -80
  66. package/docs/docs/examples/delay.mdx +0 -84
  67. package/docs/docs/examples/events.mdx +0 -85
  68. package/docs/docs/examples/get-content.mdx +0 -58
  69. package/docs/docs/examples/html.mdx +0 -75
  70. package/docs/docs/examples/multiline.mdx +0 -91
  71. package/docs/docs/examples/offset.mdx +0 -69
  72. package/docs/docs/examples/place.mdx +0 -55
  73. package/docs/docs/examples/state.mdx +0 -331
  74. package/docs/docs/examples/styling.mdx +0 -388
  75. package/docs/docs/examples/variant.mdx +0 -100
  76. package/docs/docs/getting-started.mdx +0 -100
  77. package/docs/docs/options.mdx +0 -105
  78. package/docs/docs/upgrade-guide/_category_.json +0 -7
  79. package/docs/docs/upgrade-guide/basic-examples-v4-v5.mdx +0 -119
  80. package/docs/docs/upgrade-guide/changelog-v4-v5.md +0 -86
  81. package/docs/docusaurus.config.js +0 -135
  82. package/docs/package.json +0 -47
  83. package/docs/sidebars.js +0 -33
  84. package/docs/src/components/HomepageFeatures/index.tsx +0 -71
  85. package/docs/src/components/HomepageFeatures/styles.module.css +0 -11
  86. package/docs/src/css/custom.css +0 -74
  87. package/docs/src/pages/index.module.css +0 -35
  88. package/docs/src/pages/index.tsx +0 -45
  89. package/docs/src/pages/markdown-page.md +0 -7
  90. package/docs/static/.nojekyll +0 -0
  91. package/docs/static/img/Octocat.jpg +0 -0
  92. package/docs/static/img/Octocat.png +0 -0
  93. package/docs/static/img/Octocat.svg +0 -9
  94. package/docs/static/img/android-chrome-192x192.png +0 -0
  95. package/docs/static/img/android-chrome-512x512.png +0 -0
  96. package/docs/static/img/apple-touch-icon.png +0 -0
  97. package/docs/static/img/docusaurus.png +0 -0
  98. package/docs/static/img/favicon-16x16.png +0 -0
  99. package/docs/static/img/favicon-32x32.png +0 -0
  100. package/docs/static/img/favicon-old.ico +0 -0
  101. package/docs/static/img/favicon.ico +0 -0
  102. package/docs/static/img/github.svg +0 -1
  103. package/docs/static/img/happy-face-tooltip.png +0 -0
  104. package/docs/static/img/happy-face-tooltip.svg +0 -21
  105. package/docs/static/img/logo-dinossaur.svg +0 -1
  106. package/docs/static/img/logo.png +0 -0
  107. package/docs/static/img/logo.svg +0 -21
  108. package/docs/static/img/only-tooltip-top.png +0 -0
  109. package/docs/static/img/only-tooltip-top.svg +0 -4
  110. package/docs/static/img/only-tooltip.png +0 -0
  111. package/docs/static/img/only-tooltip.svg +0 -4
  112. package/docs/static/img/site.webmanifest +0 -1
  113. package/docs/static/img/undraw_docusaurus_mountain.svg +0 -171
  114. package/docs/static/img/undraw_docusaurus_react.svg +0 -170
  115. package/docs/static/img/undraw_docusaurus_tree.svg +0 -40
  116. package/docs/tsconfig.json +0 -7
  117. package/docs/yarn.lock +0 -7599
  118. package/example-v5/package.json +0 -21
  119. package/example-v5/public/index.html +0 -20
  120. package/example-v5/public/manifest.json +0 -8
  121. package/example-v5/src/App.jsx +0 -908
  122. package/example-v5/src/index.css +0 -238
  123. package/example-v5/src/index.js +0 -15
  124. package/example-v5/src/index.scss +0 -251
  125. package/public/index.html +0 -19
@@ -0,0 +1,610 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1670018348372" clover="3.2.0">
3
+ <project timestamp="1670018348372" name="All files">
4
+ <metrics statements="562" coveredstatements="366" conditionals="35" coveredconditionals="27" methods="21" coveredmethods="10" elements="618" coveredelements="403" complexity="0" loc="562" ncloc="562" packages="4" files="10" classes="10"/>
5
+ <package name="components.Tooltip">
6
+ <metrics statements="252" coveredstatements="166" conditionals="12" coveredconditionals="9" methods="10" coveredmethods="3"/>
7
+ <file name="Tooltip.tsx" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/Tooltip/Tooltip.tsx">
8
+ <metrics statements="187" coveredstatements="101" conditionals="9" coveredconditionals="6" methods="8" coveredmethods="1"/>
9
+ <line num="1" count="1" type="stmt"/>
10
+ <line num="2" count="1" type="stmt"/>
11
+ <line num="3" count="1" type="stmt"/>
12
+ <line num="4" count="1" type="stmt"/>
13
+ <line num="5" count="1" type="stmt"/>
14
+ <line num="6" count="1" type="stmt"/>
15
+ <line num="7" count="1" type="stmt"/>
16
+ <line num="8" count="1" type="stmt"/>
17
+ <line num="9" count="1" type="cond" truecount="1" falsecount="0"/>
18
+ <line num="10" count="5" type="stmt"/>
19
+ <line num="11" count="5" type="stmt"/>
20
+ <line num="12" count="5" type="stmt"/>
21
+ <line num="13" count="5" type="stmt"/>
22
+ <line num="14" count="5" type="stmt"/>
23
+ <line num="15" count="5" type="stmt"/>
24
+ <line num="16" count="5" type="stmt"/>
25
+ <line num="17" count="5" type="stmt"/>
26
+ <line num="18" count="5" type="stmt"/>
27
+ <line num="19" count="5" type="stmt"/>
28
+ <line num="20" count="5" type="stmt"/>
29
+ <line num="21" count="5" type="stmt"/>
30
+ <line num="22" count="5" type="stmt"/>
31
+ <line num="23" count="5" type="stmt"/>
32
+ <line num="24" count="5" type="stmt"/>
33
+ <line num="25" count="5" type="stmt"/>
34
+ <line num="26" count="5" type="stmt"/>
35
+ <line num="27" count="5" type="stmt"/>
36
+ <line num="28" count="5" type="stmt"/>
37
+ <line num="29" count="5" type="stmt"/>
38
+ <line num="30" count="5" type="stmt"/>
39
+ <line num="31" count="5" type="stmt"/>
40
+ <line num="32" count="5" type="stmt"/>
41
+ <line num="33" count="5" type="stmt"/>
42
+ <line num="34" count="5" type="stmt"/>
43
+ <line num="35" count="5" type="stmt"/>
44
+ <line num="36" count="5" type="stmt"/>
45
+ <line num="37" count="5" type="stmt"/>
46
+ <line num="38" count="0" type="stmt"/>
47
+ <line num="39" count="0" type="stmt"/>
48
+ <line num="40" count="0" type="stmt"/>
49
+ <line num="41" count="0" type="stmt"/>
50
+ <line num="42" count="0" type="stmt"/>
51
+ <line num="43" count="0" type="stmt"/>
52
+ <line num="44" count="5" type="stmt"/>
53
+ <line num="45" count="5" type="stmt"/>
54
+ <line num="46" count="0" type="stmt"/>
55
+ <line num="47" count="0" type="stmt"/>
56
+ <line num="48" count="0" type="stmt"/>
57
+ <line num="49" count="0" type="stmt"/>
58
+ <line num="50" count="0" type="stmt"/>
59
+ <line num="51" count="0" type="stmt"/>
60
+ <line num="52" count="0" type="stmt"/>
61
+ <line num="53" count="0" type="stmt"/>
62
+ <line num="54" count="5" type="stmt"/>
63
+ <line num="55" count="5" type="stmt"/>
64
+ <line num="56" count="0" type="stmt"/>
65
+ <line num="57" count="0" type="stmt"/>
66
+ <line num="58" count="0" type="stmt"/>
67
+ <line num="59" count="0" type="stmt"/>
68
+ <line num="60" count="0" type="stmt"/>
69
+ <line num="61" count="0" type="stmt"/>
70
+ <line num="62" count="0" type="stmt"/>
71
+ <line num="63" count="0" type="stmt"/>
72
+ <line num="64" count="5" type="stmt"/>
73
+ <line num="65" count="5" type="stmt"/>
74
+ <line num="66" count="0" type="stmt"/>
75
+ <line num="67" count="0" type="stmt"/>
76
+ <line num="68" count="0" type="stmt"/>
77
+ <line num="69" count="0" type="stmt"/>
78
+ <line num="70" count="0" type="stmt"/>
79
+ <line num="71" count="0" type="stmt"/>
80
+ <line num="72" count="0" type="stmt"/>
81
+ <line num="73" count="0" type="stmt"/>
82
+ <line num="74" count="0" type="stmt"/>
83
+ <line num="75" count="0" type="stmt"/>
84
+ <line num="76" count="5" type="stmt"/>
85
+ <line num="77" count="5" type="stmt"/>
86
+ <line num="78" count="0" type="stmt"/>
87
+ <line num="79" count="0" type="stmt"/>
88
+ <line num="80" count="0" type="stmt"/>
89
+ <line num="81" count="0" type="stmt"/>
90
+ <line num="82" count="0" type="stmt"/>
91
+ <line num="83" count="0" type="stmt"/>
92
+ <line num="84" count="0" type="stmt"/>
93
+ <line num="85" count="0" type="stmt"/>
94
+ <line num="86" count="0" type="stmt"/>
95
+ <line num="87" count="0" type="stmt"/>
96
+ <line num="88" count="0" type="stmt"/>
97
+ <line num="89" count="0" type="stmt"/>
98
+ <line num="90" count="0" type="stmt"/>
99
+ <line num="91" count="0" type="stmt"/>
100
+ <line num="92" count="0" type="stmt"/>
101
+ <line num="93" count="0" type="stmt"/>
102
+ <line num="94" count="5" type="stmt"/>
103
+ <line num="95" count="5" type="stmt"/>
104
+ <line num="96" count="0" type="stmt"/>
105
+ <line num="97" count="0" type="stmt"/>
106
+ <line num="98" count="0" type="stmt"/>
107
+ <line num="99" count="0" type="stmt"/>
108
+ <line num="100" count="0" type="stmt"/>
109
+ <line num="101" count="0" type="stmt"/>
110
+ <line num="102" count="5" type="stmt"/>
111
+ <line num="103" count="5" type="stmt"/>
112
+ <line num="104" count="5" type="stmt"/>
113
+ <line num="105" count="5" type="stmt"/>
114
+ <line num="106" count="5" type="stmt"/>
115
+ <line num="107" count="5" type="stmt"/>
116
+ <line num="108" count="5" type="cond" truecount="1" falsecount="0"/>
117
+ <line num="109" count="4" type="stmt"/>
118
+ <line num="110" count="4" type="stmt"/>
119
+ <line num="111" count="4" type="stmt"/>
120
+ <line num="112" count="4" type="stmt"/>
121
+ <line num="113" count="4" type="stmt"/>
122
+ <line num="114" count="4" type="stmt"/>
123
+ <line num="115" count="0" type="cond" truecount="0" falsecount="1"/>
124
+ <line num="116" count="0" type="stmt"/>
125
+ <line num="117" count="0" type="stmt"/>
126
+ <line num="118" count="0" type="stmt"/>
127
+ <line num="119" count="0" type="stmt"/>
128
+ <line num="120" count="0" type="stmt"/>
129
+ <line num="121" count="0" type="stmt"/>
130
+ <line num="122" count="0" type="stmt"/>
131
+ <line num="123" count="0" type="stmt"/>
132
+ <line num="124" count="0" type="stmt"/>
133
+ <line num="125" count="0" type="stmt"/>
134
+ <line num="126" count="0" type="stmt"/>
135
+ <line num="127" count="0" type="stmt"/>
136
+ <line num="128" count="0" type="stmt"/>
137
+ <line num="129" count="0" type="stmt"/>
138
+ <line num="130" count="0" type="stmt"/>
139
+ <line num="131" count="0" type="stmt"/>
140
+ <line num="132" count="0" type="stmt"/>
141
+ <line num="133" count="0" type="stmt"/>
142
+ <line num="134" count="0" type="stmt"/>
143
+ <line num="135" count="0" type="stmt"/>
144
+ <line num="136" count="0" type="stmt"/>
145
+ <line num="137" count="0" type="stmt"/>
146
+ <line num="138" count="0" type="stmt"/>
147
+ <line num="139" count="0" type="stmt"/>
148
+ <line num="140" count="5" type="stmt"/>
149
+ <line num="141" count="5" type="stmt"/>
150
+ <line num="142" count="5" type="cond" truecount="1" falsecount="0"/>
151
+ <line num="143" count="4" type="stmt"/>
152
+ <line num="144" count="4" type="stmt"/>
153
+ <line num="145" count="4" type="stmt"/>
154
+ <line num="146" count="4" type="stmt"/>
155
+ <line num="147" count="4" type="stmt"/>
156
+ <line num="148" count="4" type="stmt"/>
157
+ <line num="149" count="4" type="stmt"/>
158
+ <line num="150" count="4" type="stmt"/>
159
+ <line num="151" count="4" type="cond" truecount="1" falsecount="0"/>
160
+ <line num="152" count="4" type="cond" truecount="0" falsecount="1"/>
161
+ <line num="153" count="0" type="stmt"/>
162
+ <line num="154" count="0" type="stmt"/>
163
+ <line num="155" count="4" type="stmt"/>
164
+ <line num="156" count="4" type="cond" truecount="0" falsecount="1"/>
165
+ <line num="157" count="0" type="stmt"/>
166
+ <line num="158" count="0" type="stmt"/>
167
+ <line num="159" count="4" type="stmt"/>
168
+ <line num="160" count="4" type="stmt"/>
169
+ <line num="161" count="4" type="stmt"/>
170
+ <line num="162" count="0" type="stmt"/>
171
+ <line num="163" count="0" type="stmt"/>
172
+ <line num="164" count="0" type="stmt"/>
173
+ <line num="165" count="5" type="stmt"/>
174
+ <line num="166" count="5" type="stmt"/>
175
+ <line num="167" count="5" type="stmt"/>
176
+ <line num="168" count="5" type="stmt"/>
177
+ <line num="169" count="5" type="stmt"/>
178
+ <line num="170" count="5" type="stmt"/>
179
+ <line num="171" count="5" type="stmt"/>
180
+ <line num="172" count="5" type="stmt"/>
181
+ <line num="173" count="5" type="stmt"/>
182
+ <line num="174" count="5" type="stmt"/>
183
+ <line num="175" count="5" type="stmt"/>
184
+ <line num="176" count="5" type="stmt"/>
185
+ <line num="177" count="5" type="cond" truecount="2" falsecount="0"/>
186
+ <line num="178" count="5" type="stmt"/>
187
+ <line num="179" count="5" type="stmt"/>
188
+ <line num="180" count="5" type="stmt"/>
189
+ <line num="181" count="5" type="stmt"/>
190
+ <line num="182" count="5" type="stmt"/>
191
+ <line num="183" count="5" type="stmt"/>
192
+ <line num="184" count="5" type="stmt"/>
193
+ <line num="185" count="5" type="stmt"/>
194
+ <line num="186" count="1" type="stmt"/>
195
+ <line num="187" count="1" type="stmt"/>
196
+ </file>
197
+ <file name="index.ts" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/Tooltip/index.ts">
198
+ <metrics statements="1" coveredstatements="1" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
199
+ <line num="1" count="1" type="cond" truecount="1" falsecount="0"/>
200
+ </file>
201
+ <file name="styles.module.css" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/Tooltip/styles.module.css">
202
+ <metrics statements="64" coveredstatements="64" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
203
+ <line num="1" count="1" type="cond" truecount="2" falsecount="0"/>
204
+ <line num="2" count="1" type="stmt"/>
205
+ <line num="3" count="1" type="stmt"/>
206
+ <line num="4" count="1" type="stmt"/>
207
+ <line num="5" count="1" type="stmt"/>
208
+ <line num="6" count="1" type="stmt"/>
209
+ <line num="7" count="1" type="stmt"/>
210
+ <line num="8" count="1" type="stmt"/>
211
+ <line num="9" count="1" type="stmt"/>
212
+ <line num="10" count="1" type="stmt"/>
213
+ <line num="11" count="1" type="stmt"/>
214
+ <line num="12" count="1" type="stmt"/>
215
+ <line num="13" count="1" type="stmt"/>
216
+ <line num="14" count="1" type="stmt"/>
217
+ <line num="15" count="1" type="stmt"/>
218
+ <line num="16" count="1" type="stmt"/>
219
+ <line num="17" count="1" type="stmt"/>
220
+ <line num="18" count="1" type="stmt"/>
221
+ <line num="19" count="1" type="stmt"/>
222
+ <line num="20" count="1" type="stmt"/>
223
+ <line num="21" count="1" type="stmt"/>
224
+ <line num="22" count="1" type="stmt"/>
225
+ <line num="23" count="1" type="stmt"/>
226
+ <line num="24" count="1" type="stmt"/>
227
+ <line num="25" count="1" type="stmt"/>
228
+ <line num="26" count="1" type="stmt"/>
229
+ <line num="27" count="1" type="stmt"/>
230
+ <line num="28" count="1" type="stmt"/>
231
+ <line num="29" count="1" type="stmt"/>
232
+ <line num="30" count="1" type="stmt"/>
233
+ <line num="31" count="1" type="stmt"/>
234
+ <line num="32" count="1" type="stmt"/>
235
+ <line num="33" count="1" type="stmt"/>
236
+ <line num="34" count="1" type="stmt"/>
237
+ <line num="35" count="1" type="stmt"/>
238
+ <line num="36" count="1" type="stmt"/>
239
+ <line num="37" count="1" type="stmt"/>
240
+ <line num="38" count="1" type="stmt"/>
241
+ <line num="39" count="1" type="stmt"/>
242
+ <line num="40" count="1" type="stmt"/>
243
+ <line num="41" count="1" type="stmt"/>
244
+ <line num="42" count="1" type="stmt"/>
245
+ <line num="43" count="1" type="stmt"/>
246
+ <line num="44" count="1" type="stmt"/>
247
+ <line num="45" count="1" type="stmt"/>
248
+ <line num="46" count="1" type="stmt"/>
249
+ <line num="47" count="1" type="stmt"/>
250
+ <line num="48" count="1" type="stmt"/>
251
+ <line num="49" count="1" type="stmt"/>
252
+ <line num="50" count="1" type="stmt"/>
253
+ <line num="51" count="1" type="stmt"/>
254
+ <line num="52" count="1" type="stmt"/>
255
+ <line num="53" count="1" type="stmt"/>
256
+ <line num="54" count="1" type="stmt"/>
257
+ <line num="55" count="1" type="stmt"/>
258
+ <line num="56" count="1" type="stmt"/>
259
+ <line num="57" count="1" type="stmt"/>
260
+ <line num="58" count="1" type="stmt"/>
261
+ <line num="59" count="1" type="stmt"/>
262
+ <line num="60" count="1" type="stmt"/>
263
+ <line num="61" count="1" type="stmt"/>
264
+ <line num="62" count="1" type="stmt"/>
265
+ <line num="63" count="1" type="stmt"/>
266
+ <line num="64" count="1" type="stmt"/>
267
+ </file>
268
+ </package>
269
+ <package name="components.TooltipContent">
270
+ <metrics statements="9" coveredstatements="9" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
271
+ <file name="TooltipContent.tsx" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/TooltipContent/TooltipContent.tsx">
272
+ <metrics statements="8" coveredstatements="8" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
273
+ <line num="1" count="1" type="stmt"/>
274
+ <line num="2" count="1" type="stmt"/>
275
+ <line num="3" count="1" type="stmt"/>
276
+ <line num="4" count="1" type="cond" truecount="1" falsecount="0"/>
277
+ <line num="5" count="1" type="stmt"/>
278
+ <line num="6" count="1" type="stmt"/>
279
+ <line num="7" count="1" type="stmt"/>
280
+ <line num="8" count="1" type="stmt"/>
281
+ </file>
282
+ <file name="index.ts" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/TooltipContent/index.ts">
283
+ <metrics statements="1" coveredstatements="1" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
284
+ <line num="1" count="1" type="cond" truecount="1" falsecount="0"/>
285
+ </file>
286
+ </package>
287
+ <package name="components.TooltipController">
288
+ <metrics statements="205" coveredstatements="95" conditionals="8" coveredconditionals="5" methods="6" coveredmethods="2"/>
289
+ <file name="TooltipController.tsx" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/TooltipController/TooltipController.tsx">
290
+ <metrics statements="193" coveredstatements="83" conditionals="7" coveredconditionals="4" methods="5" coveredmethods="1"/>
291
+ <line num="1" count="1" type="stmt"/>
292
+ <line num="2" count="1" type="stmt"/>
293
+ <line num="3" count="1" type="stmt"/>
294
+ <line num="4" count="1" type="stmt"/>
295
+ <line num="5" count="1" type="stmt"/>
296
+ <line num="6" count="1" type="stmt"/>
297
+ <line num="7" count="1" type="stmt"/>
298
+ <line num="8" count="1" type="stmt"/>
299
+ <line num="9" count="1" type="stmt"/>
300
+ <line num="10" count="1" type="stmt"/>
301
+ <line num="11" count="1" type="stmt"/>
302
+ <line num="12" count="1" type="cond" truecount="1" falsecount="0"/>
303
+ <line num="13" count="5" type="stmt"/>
304
+ <line num="14" count="5" type="stmt"/>
305
+ <line num="15" count="5" type="stmt"/>
306
+ <line num="16" count="5" type="stmt"/>
307
+ <line num="17" count="5" type="stmt"/>
308
+ <line num="18" count="5" type="stmt"/>
309
+ <line num="19" count="5" type="stmt"/>
310
+ <line num="20" count="5" type="stmt"/>
311
+ <line num="21" count="5" type="stmt"/>
312
+ <line num="22" count="5" type="stmt"/>
313
+ <line num="23" count="5" type="stmt"/>
314
+ <line num="24" count="5" type="stmt"/>
315
+ <line num="25" count="5" type="stmt"/>
316
+ <line num="26" count="5" type="stmt"/>
317
+ <line num="27" count="5" type="stmt"/>
318
+ <line num="28" count="5" type="stmt"/>
319
+ <line num="29" count="5" type="stmt"/>
320
+ <line num="30" count="5" type="stmt"/>
321
+ <line num="31" count="5" type="cond" truecount="1" falsecount="0"/>
322
+ <line num="32" count="5" type="stmt"/>
323
+ <line num="33" count="5" type="stmt"/>
324
+ <line num="34" count="5" type="stmt"/>
325
+ <line num="35" count="5" type="stmt"/>
326
+ <line num="36" count="5" type="stmt"/>
327
+ <line num="37" count="5" type="stmt"/>
328
+ <line num="38" count="5" type="stmt"/>
329
+ <line num="39" count="5" type="stmt"/>
330
+ <line num="40" count="5" type="stmt"/>
331
+ <line num="41" count="5" type="stmt"/>
332
+ <line num="42" count="0" type="stmt"/>
333
+ <line num="43" count="0" type="stmt"/>
334
+ <line num="44" count="0" type="stmt"/>
335
+ <line num="45" count="0" type="stmt"/>
336
+ <line num="46" count="0" type="stmt"/>
337
+ <line num="47" count="0" type="stmt"/>
338
+ <line num="48" count="0" type="stmt"/>
339
+ <line num="49" count="0" type="stmt"/>
340
+ <line num="50" count="0" type="stmt"/>
341
+ <line num="51" count="0" type="stmt"/>
342
+ <line num="52" count="5" type="stmt"/>
343
+ <line num="53" count="5" type="stmt"/>
344
+ <line num="54" count="0" type="stmt"/>
345
+ <line num="55" count="0" type="stmt"/>
346
+ <line num="56" count="0" type="stmt"/>
347
+ <line num="57" count="0" type="stmt"/>
348
+ <line num="58" count="0" type="stmt"/>
349
+ <line num="59" count="0" type="stmt"/>
350
+ <line num="60" count="0" type="stmt"/>
351
+ <line num="61" count="0" type="stmt"/>
352
+ <line num="62" count="0" type="stmt"/>
353
+ <line num="63" count="0" type="stmt"/>
354
+ <line num="64" count="0" type="stmt"/>
355
+ <line num="65" count="0" type="stmt"/>
356
+ <line num="66" count="0" type="stmt"/>
357
+ <line num="67" count="0" type="stmt"/>
358
+ <line num="68" count="0" type="stmt"/>
359
+ <line num="69" count="0" type="stmt"/>
360
+ <line num="70" count="0" type="stmt"/>
361
+ <line num="71" count="0" type="stmt"/>
362
+ <line num="72" count="0" type="stmt"/>
363
+ <line num="73" count="0" type="stmt"/>
364
+ <line num="74" count="0" type="stmt"/>
365
+ <line num="75" count="0" type="stmt"/>
366
+ <line num="76" count="0" type="stmt"/>
367
+ <line num="77" count="0" type="stmt"/>
368
+ <line num="78" count="0" type="stmt"/>
369
+ <line num="79" count="0" type="stmt"/>
370
+ <line num="80" count="0" type="stmt"/>
371
+ <line num="81" count="0" type="stmt"/>
372
+ <line num="82" count="0" type="stmt"/>
373
+ <line num="83" count="0" type="stmt"/>
374
+ <line num="84" count="0" type="stmt"/>
375
+ <line num="85" count="0" type="stmt"/>
376
+ <line num="86" count="0" type="stmt"/>
377
+ <line num="87" count="0" type="stmt"/>
378
+ <line num="88" count="0" type="stmt"/>
379
+ <line num="89" count="0" type="stmt"/>
380
+ <line num="90" count="0" type="stmt"/>
381
+ <line num="91" count="0" type="stmt"/>
382
+ <line num="92" count="0" type="stmt"/>
383
+ <line num="93" count="0" type="stmt"/>
384
+ <line num="94" count="0" type="stmt"/>
385
+ <line num="95" count="0" type="stmt"/>
386
+ <line num="96" count="0" type="stmt"/>
387
+ <line num="97" count="0" type="stmt"/>
388
+ <line num="98" count="0" type="stmt"/>
389
+ <line num="99" count="0" type="stmt"/>
390
+ <line num="100" count="0" type="stmt"/>
391
+ <line num="101" count="0" type="stmt"/>
392
+ <line num="102" count="0" type="stmt"/>
393
+ <line num="103" count="0" type="stmt"/>
394
+ <line num="104" count="0" type="stmt"/>
395
+ <line num="105" count="0" type="stmt"/>
396
+ <line num="106" count="0" type="stmt"/>
397
+ <line num="107" count="0" type="stmt"/>
398
+ <line num="108" count="0" type="stmt"/>
399
+ <line num="109" count="5" type="stmt"/>
400
+ <line num="110" count="5" type="stmt"/>
401
+ <line num="111" count="0" type="stmt"/>
402
+ <line num="112" count="0" type="stmt"/>
403
+ <line num="113" count="0" type="stmt"/>
404
+ <line num="114" count="0" type="stmt"/>
405
+ <line num="115" count="0" type="stmt"/>
406
+ <line num="116" count="0" type="stmt"/>
407
+ <line num="117" count="0" type="stmt"/>
408
+ <line num="118" count="0" type="stmt"/>
409
+ <line num="119" count="5" type="stmt"/>
410
+ <line num="120" count="5" type="cond" truecount="1" falsecount="0"/>
411
+ <line num="121" count="4" type="cond" truecount="1" falsecount="0"/>
412
+ <line num="122" count="2" type="stmt"/>
413
+ <line num="123" count="2" type="stmt"/>
414
+ <line num="124" count="2" type="stmt"/>
415
+ <line num="125" count="2" type="stmt"/>
416
+ <line num="126" count="2" type="stmt"/>
417
+ <line num="127" count="2" type="stmt"/>
418
+ <line num="128" count="2" type="stmt"/>
419
+ <line num="129" count="2" type="stmt"/>
420
+ <line num="130" count="2" type="stmt"/>
421
+ <line num="131" count="2" type="stmt"/>
422
+ <line num="132" count="0" type="cond" truecount="0" falsecount="1"/>
423
+ <line num="133" count="4" type="cond" truecount="0" falsecount="1"/>
424
+ <line num="134" count="0" type="stmt"/>
425
+ <line num="135" count="0" type="stmt"/>
426
+ <line num="136" count="0" type="stmt"/>
427
+ <line num="137" count="0" type="stmt"/>
428
+ <line num="138" count="0" type="stmt"/>
429
+ <line num="139" count="0" type="stmt"/>
430
+ <line num="140" count="0" type="stmt"/>
431
+ <line num="141" count="0" type="stmt"/>
432
+ <line num="142" count="0" type="stmt"/>
433
+ <line num="143" count="0" type="stmt"/>
434
+ <line num="144" count="0" type="stmt"/>
435
+ <line num="145" count="0" type="stmt"/>
436
+ <line num="146" count="0" type="stmt"/>
437
+ <line num="147" count="0" type="stmt"/>
438
+ <line num="148" count="0" type="stmt"/>
439
+ <line num="149" count="0" type="stmt"/>
440
+ <line num="150" count="0" type="stmt"/>
441
+ <line num="151" count="0" type="stmt"/>
442
+ <line num="152" count="0" type="stmt"/>
443
+ <line num="153" count="0" type="stmt"/>
444
+ <line num="154" count="0" type="stmt"/>
445
+ <line num="155" count="0" type="stmt"/>
446
+ <line num="156" count="0" type="stmt"/>
447
+ <line num="157" count="0" type="stmt"/>
448
+ <line num="158" count="0" type="stmt"/>
449
+ <line num="159" count="0" type="stmt"/>
450
+ <line num="160" count="0" type="stmt"/>
451
+ <line num="161" count="0" type="stmt"/>
452
+ <line num="162" count="0" type="stmt"/>
453
+ <line num="163" count="0" type="stmt"/>
454
+ <line num="164" count="0" type="stmt"/>
455
+ <line num="165" count="0" type="stmt"/>
456
+ <line num="166" count="0" type="stmt"/>
457
+ <line num="167" count="0" type="stmt"/>
458
+ <line num="168" count="0" type="stmt"/>
459
+ <line num="169" count="0" type="stmt"/>
460
+ <line num="170" count="5" type="stmt"/>
461
+ <line num="171" count="5" type="stmt"/>
462
+ <line num="172" count="5" type="stmt"/>
463
+ <line num="173" count="5" type="stmt"/>
464
+ <line num="174" count="5" type="stmt"/>
465
+ <line num="175" count="5" type="stmt"/>
466
+ <line num="176" count="5" type="stmt"/>
467
+ <line num="177" count="5" type="stmt"/>
468
+ <line num="178" count="5" type="stmt"/>
469
+ <line num="179" count="5" type="stmt"/>
470
+ <line num="180" count="5" type="stmt"/>
471
+ <line num="181" count="5" type="stmt"/>
472
+ <line num="182" count="5" type="stmt"/>
473
+ <line num="183" count="5" type="stmt"/>
474
+ <line num="184" count="5" type="stmt"/>
475
+ <line num="185" count="5" type="stmt"/>
476
+ <line num="186" count="5" type="stmt"/>
477
+ <line num="187" count="5" type="stmt"/>
478
+ <line num="188" count="5" type="stmt"/>
479
+ <line num="189" count="5" type="stmt"/>
480
+ <line num="190" count="5" type="cond" truecount="0" falsecount="1"/>
481
+ <line num="191" count="5" type="stmt"/>
482
+ <line num="192" count="1" type="stmt"/>
483
+ <line num="193" count="1" type="stmt"/>
484
+ </file>
485
+ <file name="constants.ts" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/TooltipController/constants.ts">
486
+ <metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
487
+ <line num="1" count="1" type="stmt"/>
488
+ <line num="2" count="1" type="stmt"/>
489
+ <line num="3" count="1" type="stmt"/>
490
+ <line num="4" count="1" type="stmt"/>
491
+ <line num="5" count="1" type="stmt"/>
492
+ <line num="6" count="1" type="stmt"/>
493
+ <line num="7" count="1" type="stmt"/>
494
+ <line num="8" count="1" type="stmt"/>
495
+ <line num="9" count="1" type="stmt"/>
496
+ <line num="10" count="1" type="stmt"/>
497
+ <line num="11" count="1" type="stmt"/>
498
+ </file>
499
+ <file name="index.ts" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/components/TooltipController/index.ts">
500
+ <metrics statements="1" coveredstatements="1" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
501
+ <line num="1" count="1" type="cond" truecount="1" falsecount="0"/>
502
+ </file>
503
+ </package>
504
+ <package name="utils">
505
+ <metrics statements="96" coveredstatements="96" conditionals="13" coveredconditionals="11" methods="3" coveredmethods="3"/>
506
+ <file name="compute-positions.ts" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/utils/compute-positions.ts">
507
+ <metrics statements="64" coveredstatements="64" conditionals="10" coveredconditionals="8" methods="1" coveredmethods="1"/>
508
+ <line num="1" count="1" type="stmt"/>
509
+ <line num="2" count="1" type="stmt"/>
510
+ <line num="3" count="1" type="stmt"/>
511
+ <line num="4" count="1" type="cond" truecount="1" falsecount="0"/>
512
+ <line num="5" count="8" type="stmt"/>
513
+ <line num="6" count="8" type="stmt"/>
514
+ <line num="7" count="8" type="stmt"/>
515
+ <line num="8" count="8" type="stmt"/>
516
+ <line num="9" count="8" type="stmt"/>
517
+ <line num="10" count="8" type="stmt"/>
518
+ <line num="11" count="8" type="cond" truecount="1" falsecount="0"/>
519
+ <line num="12" count="5" type="stmt"/>
520
+ <line num="13" count="5" type="stmt"/>
521
+ <line num="14" count="5" type="stmt"/>
522
+ <line num="15" count="5" type="stmt"/>
523
+ <line num="16" count="5" type="stmt"/>
524
+ <line num="17" count="3" type="cond" truecount="1" falsecount="0"/>
525
+ <line num="18" count="8" type="cond" truecount="1" falsecount="0"/>
526
+ <line num="19" count="1" type="stmt"/>
527
+ <line num="20" count="1" type="stmt"/>
528
+ <line num="21" count="2" type="cond" truecount="1" falsecount="0"/>
529
+ <line num="22" count="2" type="stmt"/>
530
+ <line num="23" count="2" type="stmt"/>
531
+ <line num="24" count="8" type="cond" truecount="1" falsecount="0"/>
532
+ <line num="25" count="1" type="stmt"/>
533
+ <line num="26" count="1" type="stmt"/>
534
+ <line num="27" count="1" type="stmt"/>
535
+ <line num="28" count="1" type="stmt"/>
536
+ <line num="29" count="1" type="stmt"/>
537
+ <line num="30" count="1" type="cond" truecount="1" falsecount="0"/>
538
+ <line num="31" count="1" type="stmt"/>
539
+ <line num="32" count="1" type="stmt"/>
540
+ <line num="33" count="1" type="stmt"/>
541
+ <line num="34" count="1" type="stmt"/>
542
+ <line num="35" count="1" type="stmt"/>
543
+ <line num="36" count="1" type="stmt"/>
544
+ <line num="37" count="1" type="stmt"/>
545
+ <line num="38" count="1" type="stmt"/>
546
+ <line num="39" count="1" type="stmt"/>
547
+ <line num="40" count="1" type="stmt"/>
548
+ <line num="41" count="1" type="stmt"/>
549
+ <line num="42" count="1" type="stmt"/>
550
+ <line num="43" count="1" type="stmt"/>
551
+ <line num="44" count="1" type="cond" truecount="0" falsecount="1"/>
552
+ <line num="45" count="1" type="cond" truecount="0" falsecount="1"/>
553
+ <line num="46" count="1" type="stmt"/>
554
+ <line num="47" count="1" type="stmt"/>
555
+ <line num="48" count="1" type="stmt"/>
556
+ <line num="49" count="1" type="stmt"/>
557
+ <line num="50" count="1" type="stmt"/>
558
+ <line num="51" count="1" type="stmt"/>
559
+ <line num="52" count="1" type="stmt"/>
560
+ <line num="53" count="1" type="stmt"/>
561
+ <line num="54" count="1" type="stmt"/>
562
+ <line num="55" count="1" type="stmt"/>
563
+ <line num="56" count="1" type="stmt"/>
564
+ <line num="57" count="1" type="stmt"/>
565
+ <line num="58" count="1" type="stmt"/>
566
+ <line num="59" count="1" type="cond" truecount="1" falsecount="0"/>
567
+ <line num="60" count="1" type="stmt"/>
568
+ <line num="61" count="1" type="stmt"/>
569
+ <line num="62" count="1" type="stmt"/>
570
+ <line num="63" count="1" type="stmt"/>
571
+ <line num="64" count="1" type="stmt"/>
572
+ </file>
573
+ <file name="debounce.ts" path="/Users/danielbarion/Desktop/Daniel/react-tooltip/src/utils/debounce.ts">
574
+ <metrics statements="32" coveredstatements="32" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
575
+ <line num="1" count="1" type="stmt"/>
576
+ <line num="2" count="1" type="stmt"/>
577
+ <line num="3" count="1" type="stmt"/>
578
+ <line num="4" count="1" type="stmt"/>
579
+ <line num="5" count="1" type="stmt"/>
580
+ <line num="6" count="1" type="stmt"/>
581
+ <line num="7" count="1" type="stmt"/>
582
+ <line num="8" count="1" type="stmt"/>
583
+ <line num="9" count="1" type="stmt"/>
584
+ <line num="10" count="1" type="cond" truecount="1" falsecount="0"/>
585
+ <line num="11" count="11" type="stmt"/>
586
+ <line num="12" count="11" type="stmt"/>
587
+ <line num="13" count="11" type="cond" truecount="1" falsecount="0"/>
588
+ <line num="14" count="100" type="stmt"/>
589
+ <line num="15" count="100" type="stmt"/>
590
+ <line num="16" count="100" type="stmt"/>
591
+ <line num="17" count="100" type="stmt"/>
592
+ <line num="18" count="100" type="cond" truecount="1" falsecount="0"/>
593
+ <line num="19" count="1" type="stmt"/>
594
+ <line num="20" count="1" type="stmt"/>
595
+ <line num="21" count="1" type="stmt"/>
596
+ <line num="22" count="1" type="stmt"/>
597
+ <line num="23" count="1" type="stmt"/>
598
+ <line num="24" count="100" type="stmt"/>
599
+ <line num="25" count="100" type="stmt"/>
600
+ <line num="26" count="100" type="stmt"/>
601
+ <line num="27" count="100" type="stmt"/>
602
+ <line num="28" count="100" type="stmt"/>
603
+ <line num="29" count="100" type="stmt"/>
604
+ <line num="30" count="11" type="stmt"/>
605
+ <line num="31" count="1" type="stmt"/>
606
+ <line num="32" count="1" type="stmt"/>
607
+ </file>
608
+ </package>
609
+ </project>
610
+ </coverage>