react-tooltip 5.0.0-beta.1 → 5.0.0

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 (97) 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/dist/react-tooltip.cjs.js +3 -6
  6. package/dist/react-tooltip.cjs.min.js +1 -1
  7. package/dist/react-tooltip.esm.js +3 -6
  8. package/dist/react-tooltip.esm.min.js +1 -1
  9. package/dist/react-tooltip.umd.js +3 -6
  10. package/dist/react-tooltip.umd.min.js +1 -1
  11. package/jest.config.ts +214 -0
  12. package/package.json +12 -6
  13. package/tsconfig.json +2 -2
  14. package/.editorconfig +0 -25
  15. package/.github/FUNDING.yml +0 -13
  16. package/.github/workflows/lint.yaml +0 -35
  17. package/.github/workflows/pull-request.yaml +0 -11
  18. package/.github/workflows/release.yaml +0 -30
  19. package/.husky/pre-commit +0 -6
  20. package/.vscode/settings.json +0 -27
  21. package/build/dist/react-tooltip.cjs.js +0 -2909
  22. package/build/dist/react-tooltip.cjs.min.js +0 -6
  23. package/build/dist/react-tooltip.css +0 -73
  24. package/build/dist/react-tooltip.esm.js +0 -2901
  25. package/build/dist/react-tooltip.esm.min.js +0 -6
  26. package/build/dist/react-tooltip.min.css +0 -1
  27. package/build/dist/react-tooltip.umd.js +0 -2913
  28. package/build/dist/react-tooltip.umd.min.js +0 -6
  29. package/build/index.css +0 -79
  30. package/build/index.html +0 -19
  31. package/build/index.js +0 -36190
  32. package/docs/README.md +0 -50
  33. package/docs/babel.config.js +0 -3
  34. package/docs/docs/examples/_category_.json +0 -7
  35. package/docs/docs/examples/basic-examples.mdx +0 -68
  36. package/docs/docs/examples/children.mdx +0 -67
  37. package/docs/docs/examples/content.mdx +0 -80
  38. package/docs/docs/examples/delay.mdx +0 -84
  39. package/docs/docs/examples/events.mdx +0 -85
  40. package/docs/docs/examples/get-content.mdx +0 -58
  41. package/docs/docs/examples/html.mdx +0 -75
  42. package/docs/docs/examples/multiline.mdx +0 -91
  43. package/docs/docs/examples/offset.mdx +0 -69
  44. package/docs/docs/examples/place.mdx +0 -55
  45. package/docs/docs/examples/state.mdx +0 -331
  46. package/docs/docs/examples/styling.mdx +0 -388
  47. package/docs/docs/examples/variant.mdx +0 -100
  48. package/docs/docs/getting-started.mdx +0 -100
  49. package/docs/docs/options.mdx +0 -105
  50. package/docs/docs/upgrade-guide/_category_.json +0 -7
  51. package/docs/docs/upgrade-guide/basic-examples-v4-v5.mdx +0 -119
  52. package/docs/docs/upgrade-guide/changelog-v4-v5.md +0 -86
  53. package/docs/docusaurus.config.js +0 -135
  54. package/docs/package.json +0 -47
  55. package/docs/sidebars.js +0 -33
  56. package/docs/src/components/HomepageFeatures/index.tsx +0 -71
  57. package/docs/src/components/HomepageFeatures/styles.module.css +0 -11
  58. package/docs/src/css/custom.css +0 -74
  59. package/docs/src/pages/index.module.css +0 -35
  60. package/docs/src/pages/index.tsx +0 -45
  61. package/docs/src/pages/markdown-page.md +0 -7
  62. package/docs/static/.nojekyll +0 -0
  63. package/docs/static/img/Octocat.jpg +0 -0
  64. package/docs/static/img/Octocat.png +0 -0
  65. package/docs/static/img/Octocat.svg +0 -9
  66. package/docs/static/img/android-chrome-192x192.png +0 -0
  67. package/docs/static/img/android-chrome-512x512.png +0 -0
  68. package/docs/static/img/apple-touch-icon.png +0 -0
  69. package/docs/static/img/docusaurus.png +0 -0
  70. package/docs/static/img/favicon-16x16.png +0 -0
  71. package/docs/static/img/favicon-32x32.png +0 -0
  72. package/docs/static/img/favicon-old.ico +0 -0
  73. package/docs/static/img/favicon.ico +0 -0
  74. package/docs/static/img/github.svg +0 -1
  75. package/docs/static/img/happy-face-tooltip.png +0 -0
  76. package/docs/static/img/happy-face-tooltip.svg +0 -21
  77. package/docs/static/img/logo-dinossaur.svg +0 -1
  78. package/docs/static/img/logo.png +0 -0
  79. package/docs/static/img/logo.svg +0 -21
  80. package/docs/static/img/only-tooltip-top.png +0 -0
  81. package/docs/static/img/only-tooltip-top.svg +0 -4
  82. package/docs/static/img/only-tooltip.png +0 -0
  83. package/docs/static/img/only-tooltip.svg +0 -4
  84. package/docs/static/img/site.webmanifest +0 -1
  85. package/docs/static/img/undraw_docusaurus_mountain.svg +0 -171
  86. package/docs/static/img/undraw_docusaurus_react.svg +0 -170
  87. package/docs/static/img/undraw_docusaurus_tree.svg +0 -40
  88. package/docs/tsconfig.json +0 -7
  89. package/docs/yarn.lock +0 -7599
  90. package/example-v5/package.json +0 -21
  91. package/example-v5/public/index.html +0 -20
  92. package/example-v5/public/manifest.json +0 -8
  93. package/example-v5/src/App.jsx +0 -908
  94. package/example-v5/src/index.css +0 -238
  95. package/example-v5/src/index.js +0 -15
  96. package/example-v5/src/index.scss +0 -251
  97. package/public/index.html +0 -19
@@ -1,21 +0,0 @@
1
- {
2
- "name": "react-tooltip-example",
3
- "homepage": "https://reacttooltip.github.io/react-tooltip/",
4
- "version": "1.0.0",
5
- "license": "MIT",
6
- "dependencies": {
7
- "gh-pages": "^2.1.1",
8
- "react": "link:../node_modules/react",
9
- "react-dom": "link:../node_modules/react-dom",
10
- "react-scripts": "5.0.1",
11
- "react-tooltip": "link:.."
12
- },
13
- "scripts": {
14
- "start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
15
- "build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
16
- "test": "DISABLE_ESLINT_PLUGIN=true react-scripts test --env=jsdom",
17
- "eject": "react-scripts eject",
18
- "predeploy": "yarn build",
19
- "deploy": "gh-pages -d build"
20
- }
21
- }
@@ -1,20 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
- <meta name="theme-color" content="#000000">
7
-
8
- <link rel="manifest" href="%PUBLIC_URL%/manifest.json">
9
-
10
- <title>react-tooltip</title>
11
- </head>
12
-
13
- <body>
14
- <noscript>
15
- You need to enable JavaScript to run this app.
16
- </noscript>
17
-
18
- <div id="root"></div>
19
- </body>
20
- </html>
@@ -1,8 +0,0 @@
1
- {
2
- "short_name": "react-tooltip",
3
- "name": "react-tooltip",
4
- "start_url": "./index.html",
5
- "display": "standalone",
6
- "theme_color": "#000000",
7
- "background_color": "#ffffff"
8
- }