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

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.