{"_id":"@rc-component/tabs","_rev":"4537743","name":"@rc-component/tabs","description":"tabs ui component for react","dist-tags":{"latest":"1.8.0"},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"time":{"modified":"2026-04-09T15:02:21.000Z","created":"2025-02-12T09:31:41.750Z","1.8.0":"2026-03-11T10:00:52.614Z","1.7.0":"2025-12-04T09:16:34.501Z","1.6.0":"2025-10-14T02:53:17.594Z","1.5.2":"2025-09-08T09:01:34.291Z","1.5.1":"2025-07-25T03:18:33.790Z","1.5.0":"2025-05-06T03:06:03.837Z","1.4.1":"2025-04-09T03:21:29.697Z","1.4.0":"2025-04-08T13:12:07.278Z","1.3.0":"2025-02-25T07:28:06.014Z","1.2.1":"2025-02-20T11:25:15.146Z","1.2.0":"2025-02-20T07:10:23.934Z","1.1.0":"2025-02-17T08:37:52.110Z","1.0.0":"2025-02-12T09:31:41.750Z"},"users":{},"author":{"name":"yiminghe@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"versions":{"1.8.0":{"name":"@rc-component/tabs","version":"1.8.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d dist","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.2.0","@rc-component/motion":"^1.1.3","@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/enzyme":"^3.10.5","@types/jest":"^30.0.0","@types/node":"^24.5.2","@types/react":"^18.2.42","@types/react-dom":"^18.3.7","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^16.2.3","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"gitHead":"6844fec53cef48854884c14ce917049a4ec96c15","types":"./lib/index.d.ts","_id":"@rc-component/tabs@1.8.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"shasum":"53f7d8ffaeb647e182a3ea0003ea801480b3e3a3","size":24392,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.8.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.8.0_1773223252470_0.6742360802337648"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-11T10:00:52.614Z","publish_time":1773223252614,"_source_registry_name":"default","_cnpm_publish_time":1773223252614},"1.7.0":{"name":"@rc-component/tabs","version":"1.7.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d dist","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.2.0","@rc-component/motion":"^1.1.3","@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/enzyme":"^3.10.5","@types/jest":"^30.0.0","@types/node":"^24.5.2","@types/react":"^18.2.42","@types/react-dom":"^18.3.7","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","@umijs/fabric":"^4.0.1","dumi":"^2.0.0","eslint":"^8.54.0","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^16.2.3","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.7.0","gitHead":"b92cdee57c516972eb2d36802d6272a9783ec114","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"8e74ac1ce42c937a64e07fb91a7f7640560df09a","size":24253,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.7.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.7.0_1764839794354_0.9946447997312551"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-04T09:16:34.501Z","publish_time":1764839794501,"_source_registry_name":"default","_cnpm_publish_time":1764839794501},"1.6.0":{"name":"@rc-component/tabs","version":"1.6.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d dist","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.1.0","@rc-component/motion":"^1.1.3","@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/enzyme":"^3.10.5","@types/jest":"^30.0.0","@types/node":"^24.5.2","@types/react":"^18.2.42","@types/react-dom":"^19.1.3","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^8.31.1","@umijs/fabric":"^4.0.1","cross-env":"^10.1.0","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-unicorn":"^56.0.0","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^16.2.3","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.6.0","gitHead":"84a1bdc2f278ab9fea253fee0fd7999900cd00c3","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"8beb3dc4bed77e6eed592a36df70ff39a6f07269","size":24297,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.6.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.6.0_1760410397377_0.599618427602278"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-14T02:53:17.594Z","publish_time":1760410397594,"_source_registry_name":"default","_cnpm_publish_time":1760410397594},"1.5.2":{"name":"@rc-component/tabs","version":"1.5.2","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d dist","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.3.0","@rc-component/motion":"^1.1.3","classnames":"2.x","@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.1.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^8.31.1","@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/react":"^18.2.42","@types/react-dom":"^19.1.3","@umijs/fabric":"^4.0.1","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.0","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^15.5.0","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.5.2","gitHead":"0c5dbbb24ea9d03bc868ee2a14570998fcaa8f3d","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"db86a7a9b483b66e3426d4d492ac1c2b043f467e","size":24306,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.5.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.5.2_1757322094103_0.4687614646961049"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-08T09:01:34.291Z","publish_time":1757322094291,"_source_registry_name":"default","_cnpm_publish_time":1757322094291},"1.5.1":{"name":"@rc-component/tabs","version":"1.5.1","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d dist","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.1.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^8.31.1","@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/react":"^18.2.42","@types/react-dom":"^19.1.3","@umijs/fabric":"^4.0.1","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.0","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^15.5.0","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.5.1","gitHead":"56274cb0cd1e917ed2bb1fa6be51a2c65a0aeb6c","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"shasum":"c13e3d82178a3fb979e5a9e31dc8f8aaeb04b3f4","size":24311,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.5.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.5.1_1753413513631_0.4212636494481612"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-25T03:18:33.790Z","publish_time":1753413513790,"_source_registry_name":"default","_cnpm_publish_time":1753413513790},"1.5.0":{"name":"@rc-component/tabs","version":"1.5.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d dist","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.1.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^8.31.1","@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.0","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^15.5.0","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.5.0","gitHead":"fe5eabb37fbc78759e1081c40ad81adb9e7ae8f9","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"44ddf6e5db48217dea5626b6a099431515007fa7","size":24148,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.5.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.5.0_1746500763647_0.4563622387326729"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-06T03:06:03.837Z","publish_time":1746500763837,"_source_registry_name":"default","_cnpm_publish_time":1746500763837},"1.4.1":{"name":"@rc-component/tabs","version":"1.4.1","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.1.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^15.5.0","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.4.1","gitHead":"024b41deed25e7ebb34d99b61719b8c8f91f457b","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"53b789b8ec6db36830559bc7a173798e4c067903","size":23976,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.4.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.4.1_1744168889458_0.5984455323565174"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-09T03:21:29.697Z","publish_time":1744168889697,"_source_registry_name":"default","_cnpm_publish_time":1744168889697},"1.4.0":{"name":"@rc-component/tabs","version":"1.4.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test","prepare":"husky && dumi setup"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.1.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","father":"^4.0.0","gh-pages":"^6.1.0","husky":"^9.1.7","less":"^4.1.3","lint-staged":"^15.5.0","prettier":"^3.5.3","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"lint-staged":{"*":"prettier --write --ignore-unknown"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.4.0","gitHead":"db242f19816afcf6c7fa9d1d330d0873350d1cf1","types":"./lib/index.d.ts","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"e104644755699f1a004b3a204d63d8cc169ceb72","size":24102,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.4.0.tgz"},"_npmUser":{"name":"madccc","email":"1075746765@qq.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.4.0_1744117927079_0.7052112906905275"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-08T13:12:07.278Z","publish_time":1744117927278,"_source_registry_name":"default","_cnpm_publish_time":1744117927278},"1.3.0":{"name":"@rc-component/tabs","version":"1.3.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","@rc-component/dropdown":"~1.0.0","@rc-component/menu":"~1.0.0"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^3.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/keyv":"4.2.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","coveralls":"^3.0.6","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","fastclick":"~1.0.6","father":"^4.0.0","gh-pages":"^6.1.0","history":"^5.3.0","immutability-helper":"^3.0.1","less":"^4.1.3","preact-compat":"^3.16.0","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","sortablejs":"^1.7.0","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.3.0","gitHead":"629f13ba97bf0c452b991371a274288ef596bb22","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"00e562f1b01332cadee4cfa3e6b2befcea59190f","size":23979,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.3.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.3.0_1740468485777_0.02465760863172206"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-25T07:28:06.014Z","publish_time":1740468486014,"_source_registry_name":"default","_cnpm_publish_time":1740468486014},"1.2.1":{"name":"@rc-component/tabs","version":"1.2.1","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","rc-dropdown":"~4.2.0","rc-menu":"~9.16.0","rc-motion":"^2.6.2"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^2.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/keyv":"4.2.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","coveralls":"^3.0.6","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","fastclick":"~1.0.6","father":"^4.0.0","gh-pages":"^6.1.0","history":"^5.3.0","immutability-helper":"^3.0.1","less":"^4.1.3","preact-compat":"^3.16.0","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","sortablejs":"^1.7.0","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.2.1","gitHead":"f65defc7c423ddb19cf82a4d576db5367281a237","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"8680e1bb0572a4edf3188428afc40bd6919b42a5","size":23979,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.2.1.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.2.1_1740050714951_0.15138080890871652"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-20T11:25:15.146Z","publish_time":1740050715146,"_source_registry_name":"default","_cnpm_publish_time":1740050715146},"1.2.0":{"name":"@rc-component/tabs","version":"1.2.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","rc-dropdown":"~4.2.0","rc-menu":"~9.16.0","rc-motion":"^2.6.2"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^2.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/keyv":"4.2.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","coveralls":"^3.0.6","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","fastclick":"~1.0.6","father":"^4.0.0","gh-pages":"^6.1.0","history":"^5.3.0","immutability-helper":"^3.0.1","less":"^4.1.3","preact-compat":"^3.16.0","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","sortablejs":"^1.7.0","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.2.0","gitHead":"1bc44a5e8d21fc4ea91f3227073472de5c46c94c","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"bad35b88550196ab0c67de2558b002ce9a18a512","size":23883,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.2.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.2.0_1740035423702_0.8311473316863127"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-20T07:10:23.934Z","publish_time":1740035423934,"_source_registry_name":"default","_cnpm_publish_time":1740035423934},"1.1.0":{"name":"@rc-component/tabs","version":"1.1.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","rc-dropdown":"~4.2.0","rc-menu":"~9.16.0","rc-motion":"^2.6.2"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^2.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/keyv":"4.2.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","coveralls":"^3.0.6","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","fastclick":"~1.0.6","father":"^4.0.0","gh-pages":"^6.1.0","history":"^5.3.0","immutability-helper":"^3.0.1","less":"^4.1.3","preact-compat":"^3.16.0","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","sortablejs":"^1.7.0","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.1.0","gitHead":"ffde754b90a40806f278ffe082c2b9c6fdaa5b68","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"c708cb659aa6b009208da1f0190ea4851c1bcf8b","size":23687,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.1.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.1.0_1739781471915_0.5552751091361046"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-17T08:37:52.110Z","publish_time":1739781472110,"_source_registry_name":"default","_cnpm_publish_time":1739781472110},"1.0.0":{"name":"@rc-component/tabs","version":"1.0.0","description":"tabs ui component for react","keywords":["react","react-component","react-tabs"],"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/tabs.git"},"license":"MIT","author":{"name":"yiminghe@gmail.com"},"main":"./lib/index","module":"./es/index","scripts":{"build":"dumi build","compile":"father build && npm run compile:style","compile:style":"lessc --js assets/index.less assets/index.css","coverage":"father test --coverage","docs:deploy":"gh-pages -d .doc","lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","now-build":"npm run build","prepublishOnly":"npm run lint && npm run test && npm run compile && rc-np","start":"dumi dev","test":"rc-test"},"dependencies":{"@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.2.0","@rc-component/motion":"^1.1.3","classnames":"2.x","rc-dropdown":"~4.2.0","rc-menu":"~9.16.0","rc-motion":"^2.6.2"},"devDependencies":{"@rc-component/father-plugin":"^2.0.0","@rc-component/np":"^1.0.3","@rc-component/trigger":"^2.0.0","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^29.4.0","@types/keyv":"4.2.0","@types/react":"^18.2.42","@types/react-dom":"^18.0.11","@umijs/fabric":"^4.0.1","coveralls":"^3.0.6","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^8.54.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-unicorn":"^56.0.1","fastclick":"~1.0.6","father":"^4.0.0","gh-pages":"^6.1.0","history":"^5.3.0","immutability-helper":"^3.0.1","less":"^4.1.3","preact-compat":"^3.16.0","rc-test":"^7.0.14","react":"^18.0.0","react-dnd":"^10.0.0","react-dnd-html5-backend":"^10.0.0","react-dom":"^18.0.0","react-sticky":"^6.0.3","sortablejs":"^1.7.0","typescript":"^5.3.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"engines":{"node":">=8.x"},"_id":"@rc-component/tabs@1.0.0","gitHead":"1559c3b5f8149f2bf4b8b435b7b7441270ec4fd1","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"5f756f2b0da99d93f31231daf0078b60a5e34ddb","size":23663,"noattachment":false,"key":"/@rc-component/tabs/-/@rc-component/tabs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rc-component/tabs/download/@rc-component/tabs-1.0.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"chenshuai2144","email":""},{"name":"madccc","email":""},{"name":"peachscript","email":""},{"name":"zombiej","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tabs_1.0.0_1739352701579_0.7468650087079034"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-12T09:31:41.750Z","publish_time":1739352701750,"_source_registry_name":"default","_cnpm_publish_time":1739352701750}},"readme":"# rc-tabs\n\n---\n\nReact Tabs component.\n\n[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![Test coverage][codecov-image]][codecov-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-tabs.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-tabs\n[github-actions-image]: https://github.com/react-component/tabs/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/tabs/actions\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/tabs/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/tabs/branch/master\n[download-image]: https://img.shields.io/npm/dm/rc-tabs.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-tabs\n[bundlephobia-url]: https://bundlephobia.com/result?p=rc-tabs\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-tabs\n\n## Screenshot\n\n<img src='https://zos.alipayobjects.com/rmsportal/JwLASrsOYJuFRIt.png' width='408'>\n\n## Example\n\nhttp://localhost:8000/examples\n\nonline example: https://tabs.react-component.now.sh/\n\n## install\n\n[![rc-tabs](https://nodei.co/npm/rc-tabs.png)](https://npmjs.org/package/rc-tabs)\n\n## Feature\n\n### Keyboard\n\n- left and up: tabs to previous tab\n- right and down: tabs to next tab\n\n## Usage\n\n```tsx | pure\nimport Tabs from 'rc-tabs';\nimport ReactDom from 'react-dom';\n\nconst callback = key => {\n  console.log(key);\n};\n\nconst items = [\n  {\n    key: '1',\n    label: 'Google',\n    children: (\n      <div className=\"text-xl\">\n        <p>Lorem Ipsum is simply dummy text of the printing and typesetting</p>\n      </div>\n    ),\n  },\n  {\n    key: '2',\n    label: <p>Amazon</p>,\n    children:\n      'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...',\n    disabled: true,\n  },\n  {\n    key: '3',\n    label: <p>Twitter</p>,\n    children: (\n      <div>\n        \"There is no one who loves pain itself, who seeks after it and wants to have it, simply\n        because it is pain...\"\n      </div>\n    ),\n  },\n];\n\nReactDom.render(\n  <Tabs\n    tabPosition=\"bottom\"\n    items={items}\n    defaultActiveKey=\"1\"\n    className=\"md:w-[70%] w-full mx-auto p-2 border-0\"\n    onChange={callback}\n    style={{ color: 'yellow' }}\n  />,\n  root,\n);\n```\n\n## API\n\n### Tabs\n\n| name | type | default | description |\n| --- | --- | --- | --- |\n| prefixCls | string | `'rc-tabs'` | prefix class name, use to custom style |\n| className | string | - | to define a class name for an element |\n| style | CSS properties | - | object with css properties for styling |\n| items | TabItem[] | [] | configure tab content |\n| id | string | - | unique identifier |\n| defaultActiveKey | string | - | initial active tabPanel's key if activeKey is absent |\n| activeKey | string | - | current active tabPanel's key |\n| direction | `'ltr' or 'rtl'` | `'ltr'` | Layout direction of tabs component |\n| animated | boolean \\| { inkBar: boolean, tabPane: boolean } | `{ inkBar: true, tabPane: false }` | config animation |\n| renderTabBar | (props, TabBarComponent) => ReactElement | - | How to render tab bar |\n| tabBarExtraContent | ReactNode \\| `{ left: ReactNode, right: ReactNode }` | - | config extra content |\n| tabBarGutter | number | 0 | config tab bar gutter |\n| tabBarPosition | `'left' \\| 'right' \\| 'top' \\| 'bottom'` | `'top'` | tab nav 's position |\n| tabBarStyle | style | - | tab nav style |\n| tabPosition | `'left' or 'right' or 'top' or 'bottom'` | `'top'` | tab nav 's position |\n| destroyOnHidden | boolean | false | whether destroy inactive TabPane when change tab |\n| onChange | (key) => void | - | called when tabPanel is changed |\n| onTabClick | (key) => void | - | called when tab click |\n| onTabScroll | ({ direction }) => void | - | called when tab scroll |\n| editable | { onEdit(type: 'add' \\| 'remove', info: { key, event }), showAdd: boolean, removeIcon: ReactNode, addIcon: ReactNode } | - | config tab editable |\n| locale | { dropdownAriaLabel: string, removeAriaLabel: string, addAriaLabel: string } | - | Accessibility locale help text |\n| moreIcon | ReactNode | - | collapse icon |\n\n### TabItem\n\n| name | type | default | description |\n| --- | --- | --- | --- |\n| key | string | - | corresponding to activeKey, should be unique |\n| label | string | - | TabPane's head display text |\n| tab | ReactNode | - | current tab's title corresponding to current tabPane |\n| className | string | - | to define a class name for an element |\n| style | CSS properties | - | object with css properties for styling |\n| disabled | boolean | false | set TabPane disabled |\n| children | ReactNode | - | TabPane's head display content |\n| forceRender | boolean | false | forced render of content in tabs, not lazy render after clicking on tabs |\n| closable | boolean | false | closable feature of tab item |\n| closeIcon | ReactNode | - | Config close icon |\n| prefixCls | string | `'rc-tabs-tab'` | prefix class name, use to custom style |\n| id | string | - | unique identifier |\n| animated | boolean \\| { inkBar: boolean, tabPane: boolean } | `{ inkBar: true, tabPane: false }` | config animation |\n| destroyOnHidden | boolean | false | whether destroy inactive TabPane when change tab |\n| active | boolean | false | active feature of tab item |\n| tabKey | string | - | key linked to tab |\n\n### TabPane(support in older versions)\n\n| name | type | default | description |\n| --- | --- | --- | --- |\n| destroyOnHidden | boolean | false | whether destroy inactive TabPane when change tab |\n| key | string | - | corresponding to activeKey, should be unique |\n| forceRender | boolean | false | forced render of content in tabs, not lazy render after clicking on tabs |\n| tab | ReactNode | - | current tab's title corresponding to current tabPane |\n| closeIcon | ReactNode | - | Config close icon |\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Test Case\n\n```\nnpm test\nnpm run chrome-test\n```\n\n## Coverage\n\n```\nnpm run coverage\n```\n\nopen coverage/ dir\n\n## License\n\nrc-tabs is released under the MIT license.\n\n## FAQ\n\n### Responsive Tabs\n\nThere are 3 cases when handling responsive tabs: ![image](https://user-images.githubusercontent.com/27722486/156315099-7e6eda9d-ab77-4b16-9b49-1727c5ec8b26.png)\n\nWe get hidden tabs through [useVisibleRange.ts](https://github.com/react-component/tabs/blob/master/src/hooks/useVisibleRange.ts). If enconter the third case, in order to make tabs responsive, some tabs should be hidden. So we minus `addSize` when calculating `basicSize` manully, even though there's no addNode in container. In this way, case 3 turns to case 2, tabs become stable again.\n","_attachments":{},"homepage":"http://github.com/react-component/tabs","bugs":{"url":"http://github.com/react-component/tabs/issues"},"license":"MIT"}