{"_id":"@rc-component/tooltip","_rev":"4537759","name":"@rc-component/tooltip","description":"React Tooltip","dist-tags":{"latest":"1.4.0"},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"time":{"modified":"2026-04-09T15:02:24.000Z","created":"2025-01-10T10:08:37.985Z","1.4.0":"2025-11-28T17:14:36.941Z","1.3.4":"2025-11-27T07:48:49.343Z","1.3.3":"2025-09-26T09:52:28.863Z","1.3.2":"2025-09-23T02:41:12.249Z","1.3.1":"2025-09-19T01:41:30.314Z","1.3.0":"2025-09-18T08:01:08.440Z","1.2.2":"2025-09-17T03:11:45.123Z","1.2.1":"2025-08-19T06:46:55.908Z","1.2.0":"2025-05-19T07:18:38.546Z","1.1.0":"2025-02-24T13:54:11.135Z","1.0.0":"2025-01-10T10:08:37.985Z"},"users":{},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"versions":{"1.4.0":{"name":"@rc-component/tooltip","version":"1.4.0","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.7.1","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^6.9.1","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","dumi":"^2.2.13","eslint":"^8.56.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","prettier":"^3.6.2","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.4.0","gitHead":"8e70761bb2d98452a7011bec740f45d903436959","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"c8cf15c6773218a5a36271467f06e663f99c28e7","size":9329,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.4.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.4.0_1764350076770_0.753728754161981"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-28T17:14:36.941Z","publish_time":1764350076941,"_source_registry_name":"default","_cnpm_publish_time":1764350076941},"1.3.4":{"name":"@rc-component/tooltip","version":"1.3.4","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.6.15","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","dumi":"^2.2.13","eslint":"^8.56.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","prettier":"^3.6.2","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.3.4","gitHead":"f6b1a8fbc7909f9a97edc9132ba9eff4b0807d9d","types":"./lib/index.d.ts","_nodeVersion":"22.8.0","_npmVersion":"11.6.0","dist":{"shasum":"2e7a0d841bdee81695a66be3b9d2286545e0ceb5","size":9345,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.3.4.tgz"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.3.4_1764229729160_0.41269279931489855"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-27T07:48:49.343Z","publish_time":1764229729343,"_source_registry_name":"default","_cnpm_publish_time":1764229729343},"1.3.3":{"name":"@rc-component/tooltip","version":"1.3.3","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.6.15","@rc-component/util":"^1.3.0","classnames":"^2.3.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5","prettier":"^3.6.2"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.3.3","gitHead":"191988d9e141614f76055d8cdb7648a8389b15c3","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"3851fa1bb8376f13c6dd2222340984c77a2c5694","size":9443,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.3.3.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.3.3_1758880348677_0.4466862525447588"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-26T09:52:28.863Z","publish_time":1758880348863,"_source_registry_name":"default","_cnpm_publish_time":1758880348863},"1.3.2":{"name":"@rc-component/tooltip","version":"1.3.2","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.6.7","@rc-component/util":"^1.3.0","classnames":"^2.3.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.3.2","gitHead":"0228bedc04d3ed9665ba4131971ade0f06c8f6ec","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"b1bd5100bcafcc632d36c481028764392d10fe8f","size":9412,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.3.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.3.2_1758595272055_0.5319819889894977"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-23T02:41:12.249Z","publish_time":1758595272249,"_source_registry_name":"default","_cnpm_publish_time":1758595272249},"1.3.1":{"name":"@rc-component/tooltip","version":"1.3.1","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.6.7","@rc-component/util":"^1.3.0","classnames":"^2.3.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.3.1","gitHead":"dfc41058d52964c5442632f24693d4c3e435eb60","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"e784cea3187a124ea3acbaf0d4eec779350beec2","size":9364,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.3.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.3.1_1758246090111_0.3437982278743281"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-19T01:41:30.314Z","publish_time":1758246090314,"_source_registry_name":"default","_cnpm_publish_time":1758246090314},"1.3.0":{"name":"@rc-component/tooltip","version":"1.3.0","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.6.4","@rc-component/util":"^1.3.0","classnames":"^2.3.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.3.0","gitHead":"a00cd1a2df8bf6c06d046e4b456fbd6a69dfad2f","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"acf15c1c321947cadcb1e523d4bd57891464a2b3","size":9327,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.3.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.3.0_1758182468262_0.6601872478491475"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-18T08:01:08.440Z","publish_time":1758182468440,"_source_registry_name":"default","_cnpm_publish_time":1758182468440},"1.2.2":{"name":"@rc-component/tooltip","version":"1.2.2","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.6.0","@rc-component/util":"^1.3.0","classnames":"^2.3.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.2.2","gitHead":"1f56aa5e3c91a8d7268c7856bbe8a512903cce4b","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"4961855656433ae2d48c036c4771a30550e28798","size":9229,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.2.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.2.2_1758078704884_0.7009862919078553"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-17T03:11:45.123Z","publish_time":1758078705123,"_source_registry_name":"default","_cnpm_publish_time":1758078705123},"1.2.1":{"name":"@rc-component/tooltip","version":"1.2.1","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/trigger":"^3.0.0","@rc-component/util":"^1.0.1","classnames":"^2.3.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.2.1","gitHead":"3a902d47b25eac4b302723f8cbb7bbf21c9aed18","types":"./lib/index.d.ts","_nodeVersion":"22.8.0","_npmVersion":"10.8.3","dist":{"shasum":"597053b379a07f5a91e48dfde76ad1a95d54f038","size":9144,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.2.1.tgz"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.2.1_1755586015726_0.7320997291086666"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-19T06:46:55.908Z","publish_time":1755586015908,"_source_registry_name":"default","_cnpm_publish_time":1755586015908},"1.2.0":{"name":"@rc-component/tooltip","version":"1.2.0","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"npm run docs:build && gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/trigger":"^3.0.0","@rc-component/util":"^1.0.1","classnames":"^2.3.1"},"devDependencies":{"@rc-component/np":"^1.0.3","@testing-library/react":"^16.3.0","@types/jest":"^29.4.0","@types/node":"^22.15.18","@types/react":"^19.1.4","@types/react-dom":"^19.1.5","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_id":"@rc-component/tooltip@1.2.0","gitHead":"1b789e7a4cbdb8c67334c3a7d1d74620425295ef","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"f89073bf815a7aaaffa5f537b1c676598b2554c9","size":9085,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.2.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.2.0_1747639118334_0.7131814031452597"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T07:18:38.546Z","publish_time":1747639118546,"_source_registry_name":"default","_cnpm_publish_time":1747639118546},"1.1.0":{"name":"@rc-component/tooltip","version":"1.1.0","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile && rc-np","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/father-plugin":"^2.0.1","@rc-component/trigger":"^3.0.0","@rc-component/util":"^1.0.1","classnames":"^2.3.1"},"devDependencies":{"@rc-component/np":"^1.0.3","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.26","@types/react-dom":"^18.0.10","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","rc-test":"^7.0.9","react":"^18.2.0","react-dom":"^18.2.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/tooltip@1.1.0","gitHead":"1f6f3c283420be98c3c4c4f191da0fd7df49b641","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"ac480439ebb9051cd731fc0e48f5f795881d1a72","size":9088,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.1.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.1.0_1740405250968_0.37001762288519346"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-24T13:54:11.135Z","publish_time":1740405251135,"_source_registry_name":"default","_cnpm_publish_time":1740405251135},"1.0.0":{"name":"@rc-component/tooltip","version":"1.0.0","description":"React Tooltip","keywords":["react","react-component","react-tooltip","tooltip"],"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tooltip.git"},"license":"MIT","maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"main":"lib/index","module":"es/index","scripts":{"compile":"father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css","docs:build":"dumi build","docs:deploy":"gh-pages -d dist","lint":"eslint src/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run docs:build","prepare":"dumi setup","prepublishOnly":"npm run compile","postpublish":"npm run docs:build && npm run docs:deploy","start":"dumi dev","test":"rc-test"},"dependencies":{"@babel/runtime":"^7.11.2","@rc-component/father-plugin":"^2.0.1","@rc-component/trigger":"^2.0.0","@rc-component/util":"^1.0.1","classnames":"^2.3.1"},"devDependencies":{"@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.26","@types/react-dom":"^18.0.10","@types/warning":"^3.0.0","cross-env":"^7.0.0","dumi":"^2.2.13","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.0.0","gh-pages":"^3.1.0","less":"^4.1.1","np":"^7.1.0","rc-test":"^7.0.9","react":"^18.2.0","react-dom":"^18.2.0","typescript":"^4.0.5"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_id":"@rc-component/tooltip@1.0.0","gitHead":"77e3928a572eb79734a2bb532f6a6d8a66a3f761","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"9d0262500fa51d9115fd4e2a19f0c955f11cb90b","size":9000,"noattachment":false,"key":"/@rc-component/tooltip/-/@rc-component/tooltip-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tooltip/download/@rc-component/tooltip-1.0.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tooltip_1.0.0_1736503717820_0.346442290023403"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-10T10:08:37.985Z","publish_time":1736503717985,"_source_registry_name":"default","_cnpm_publish_time":1736503717985}},"readme":"# @rc-component/tooltip\n\nReact Tooltip\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/tooltip.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/tooltip\n[github-actions-image]: https://github.com/react-component/tooltip/actions/workflows/react-component-ci.yml/badge.svg\n[github-actions-url]: https://github.com/react-component/tooltip/actions/workflows/react-component-ci.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/tooltip/master.svg?style=flat-square\n[codecov-url]: https://app.codecov.io/gh/react-component/tooltip\n[download-image]: https://img.shields.io/npm/dm/@rc-component/tooltip.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/tooltip\n[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/tooltip\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/tooltip\n[dumi-url]: https://github.com/umijs/dumi\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n\n## Screenshot\n\n<img src=\"https://gtms03.alicdn.com/tps/i3/TB1NQUSHpXXXXaUXFXXlQqyZXXX-1312-572.png\" width=\"600\"/>\n\n## Browsers support\n\n| [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"IE / Edge\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png\" alt=\"Opera\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)</br>Opera |\n| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| IE 8 + ✔                                                                                                                                                                                                        | Firefox 31.0+ ✔                                                                                                                                                                                                   | Chrome 31.0+ ✔                                                                                                                                                                                                | Safari 7.0+ ✔                                                                                                                                                                                                 | Opera 30.0+ ✔                                                                                                                                                                                             |\n\n## Install\n\n[![@rc-component/tooltip](https://nodei.co/npm/@rc-component/tooltip.png)](https://npmjs.org/package/@rc-component/tooltip)\n\n## Usage\n\n```js\nvar Tooltip = require('@rc-component/tooltip');\nvar React = require('react');\nvar ReactDOM = require('react-dom');\n\n// By default, the tooltip has no style.\n// Consider importing the stylesheet it comes with:\n// '@rc-component/tooltip/assets/bootstrap_white.css'\n\nReactDOM.render(\n  <Tooltip placement=\"left\" trigger={['click']} overlay={<span>tooltip</span>}>\n    <a href=\"#\">hover</a>\n  </Tooltip>,\n  container,\n);\n```\n\n## Examples\n\n`npm start` and then go to\n<http://localhost:8000/demo>\n\nOnline demo: https://tooltip-react-component.vercel.app/\n\n## API\n\n### Props\n\n| name                | type                                                               | default             | description                                                                                                                                                      |\n| ------------------- | ------------------------------------------------------------------ | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| trigger             | string \\| string\\[]                                                | 'hover'             | which actions cause tooltip shown. enum of 'hover','click','focus'                                                                                               |\n| visible             | boolean                                                            | false               | whether tooltip is visible                                                                                                                                       |\n| defaultVisible      | boolean                                                            | false               | whether tooltip is visible by default                                                                                                                            |\n| placement           | string                                                             | 'right'             | tooltip placement. enum of 'top','left','right','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom' |\n| motion              | object                                                             |                     | Config popup motion. Please ref demo for example                                                                                                                 |\n| onVisibleChange     | (visible: boolean) => void;                                        |                     | Callback when visible change                                                                                                                                     |\n| afterVisibleChange  | (visible: boolean) => void;                                        |                     | Callback after visible change                                                                                                                                    |\n| overlay             | ReactNode \\| () => ReactNode                                       |                     | tooltip overlay content                                                                                                                                          |\n| overlayStyle        | object                                                             |                     | deprecated, Please use `styles={{ root: {} }}`                                                                                                                   |\n| overlayClassName    | string                                                             |                     | deprecated, Please use `classNames={{ root: {} }}`                                                                                                               |\n| prefixCls           | string                                                             | 'rc-tooltip'        | prefix class name of tooltip                                                                                                                                     |\n| mouseEnterDelay     | number                                                             | 0                   | delay time (in second) before tooltip shows when mouse enter                                                                                                     |\n| mouseLeaveDelay     | number                                                             | 0.1                 | delay time (in second) before tooltip hides when mouse leave                                                                                                     |\n| getTooltipContainer | (triggerNode: HTMLElement) => HTMLElement                          | () => document.body | get container of tooltip, default to body                                                                                                                        |\n| destroyOnHidden     | boolean                                                            | false               | destroy tooltip when it is hidden                                                                                                                                |\n| align               | object                                                             |                     | align config of tooltip. Please ref demo for usage example                                                                                                       |\n| showArrow           | boolean \\| object                                                  | false               | whether to show arrow of tooltip                                                                                                                                 |\n| zIndex              | number                                                             |                     | config popup tooltip zIndex                                                                                                                                      |\n| classNames          | classNames?: { root?: string; container?: string;};                     |                     | Semantic DOM class                                                                                                                                               |\n| styles              | styles?: {root?: React.CSSProperties;container?: React.CSSProperties;}; |                     | Semantic DOM styles                                                                                                                                              |\n\n## Important Note\n\n`Tooltip` requires a child node that accepts an `onMouseEnter`, `onMouseLeave`, `onFocus`, `onClick` event. This means the child node must be a built-in component like `div` or `span`, or a custom component that passes its props to its built-in component child.\n\n## Accessibility\n\nFor accessibility purpose you can use the `id` prop to link your tooltip with another element. For example attaching it to an input element:\n\n```js\n<Tooltip\n    ...\n    id={this.props.name}>\n    <input type=\"text\"\n           ...\n           aria-describedby={this.props.name}/>\n</Tooltip>\n```\n\nIf you do it like this, a screenreader would read the content of your tooltip if you focus the input element.\n\n**NOTE:** `role=\"tooltip\"` is also added to expose the purpose of the tooltip element to a screenreader.\n\n## Development\n\n```bash\nnpm install\nnpm start\n```\n\n## Test Case\n\n```bash\nnpm test\nnpm run chrome-test\n```\n\n## Coverage\n\n```bash\nnpm run coverage\n```\n\n## License\n\n`@rc-component/tooltip` is released under the MIT license.\n","_attachments":{},"homepage":"http://github.com/react-component/tooltip","bugs":{"url":"http://github.com/react-component/tooltip/issues"},"license":"MIT"}