{"_id":"@ant-design/happy-work-theme","_rev":"14-975405d3c71605da574317c888801f1a","name":"@ant-design/happy-work-theme","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@ant-design/happy-work-theme","version":"1.0.0","keywords":["react","ant-design","theme"],"author":"","license":"MIT","_id":"@ant-design/happy-work-theme@1.0.0","maintainers":[{"name":"madccc","email":"1075746765@qq.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"vthinkxie","email":"vthinkxie@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"},{"name":"vagusx","email":"onlylae@sina.com"},{"name":"wynterding","email":"wynterding@gmail.com"},{"name":"yutingzhao1991","email":"yutingzhao1991@sina.cn"},{"name":"arvinxx","email":"arvinx@foxmail.com"},{"name":"rdmclin2","email":"rdmclin2@gmail.com"}],"homepage":"https://github.com/ant-design/happy-work-theme","bugs":{"url":"https://github.com/ant-design/happy-work-theme/issues"},"dist":{"shasum":"b18e2d2cb37df496def5c5773c146885c6cac87c","tarball":"https://registry.npmjs.org/@ant-design/happy-work-theme/-/happy-work-theme-1.0.0.tgz","fileCount":19,"integrity":"sha512-BKuz5PZkGZwXqzDwTE9fiHYlpKdDyoGnApEih2MG1GF79/a/YekxBc4tdqocykDtWzt3z1wwmHv8AiB7EUTWsQ==","signatures":[{"sig":"MEUCIQDqRlcDIrPgP1xYogmSa+CM8sW/046NawjB06XOU9DDBAIgWqsaPAfk3P3opOKNGZ7gzvJE6+Np27F45hySDyWyDe4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30881},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"5be1ffb5c3fe62d7e7d0060088c95ea3e102453f","scripts":{"lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","test":"rc-test --no-cache","build":"dumi build","start":"dumi dev","compile":"father build","coverage":"rc-test --coverage","now-build":"npm run build","prepublishOnly":"npm run compile && np --yolo --no-publish"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/ant-design/happy-work-theme.git","type":"git"},"_npmVersion":"8.19.2","description":"Ant Design happy work theme","directories":{},"resolutions":{"@types/react":"^16.9.0","@types/react-dom":"^16.9.0"},"_nodeVersion":"16.17.0","dependencies":{"rc-util":"^5.33.0","rc-motion":"^2.7.3","classnames":"^2.3.2","@babel/runtime":"^7.18.3","@ctrl/tinycolor":"^3.6.0","@ant-design/cssinjs":"^1.16.1"},"_hasShrinkwrap":false,"devDependencies":{"np":"^6.2.0","antd":"^5.8.2","dumi":"^2.1.0","react":"^18.0.0","eslint":"^7.0.0","father":"^4.0.0","rc-test":"^7.0.13","cross-env":"^7.0.1","react-dom":"^18.0.0","typescript":"^4.0.0","@types/jest":"^26.0.15","@types/react":"^16.8.19","@types/react-dom":"^18.0.11","@types/classnames":"^2.2.10","regenerator-runtime":"^0.13.7","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^1.0.0"},"peerDependencies":{"antd":">= 5.8.2","react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/happy-work-theme_1.0.0_1691137406728_0.5484639502554183","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@ant-design/happy-work-theme","version":"1.0.1","keywords":["react","ant-design","theme"],"author":"","license":"MIT","_id":"@ant-design/happy-work-theme@1.0.1","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"},{"name":"arvinxx","email":"arvinx@foxmail.com"},{"name":"madccc","email":"1075746765@qq.com"}],"homepage":"https://github.com/ant-design/happy-work-theme","bugs":{"url":"https://github.com/ant-design/happy-work-theme/issues"},"dist":{"shasum":"230c8a4c55cb3f0066ae220b08aa2632117c7f8f","tarball":"https://registry.npmjs.org/@ant-design/happy-work-theme/-/happy-work-theme-1.0.1.tgz","fileCount":23,"integrity":"sha512-55+Fu6DIly9bATKTRLsJHcax2QiTgSU42sSh0H9N5NOgq7UCSul9v7BSmJ5cFBUgxWp3UoqhEtZQQvroF47OIw==","signatures":[{"sig":"MEYCIQD4ng6epXEsYzifHUNj1TnwLVXc9YZ/GtPvng8EmVE6AgIhAIy39bNYPpGwlyzNwdg/WnDW2TJtZtnSqHdZkkJgv5Tu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34799},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"a9e5ad982b8fad8daac209934e7ce172b7bb3314","scripts":{"lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","test":"rc-test --no-cache","build":"dumi build","start":"dumi dev","compile":"father build","coverage":"rc-test --coverage","now-build":"npm run build","prepublishOnly":"npm run compile && np --yolo --no-publish"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/ant-design/happy-work-theme.git","type":"git"},"_npmVersion":"10.8.2","description":"Ant Design happy work theme","directories":{},"_nodeVersion":"22.5.1","dependencies":{"rc-util":"^5.33.0","rc-motion":"^2.7.3","classnames":"^2.3.2","@babel/runtime":"^7.18.3","@ctrl/tinycolor":"^3.6.0","@ant-design/cssinjs":"^1.16.1"},"_hasShrinkwrap":false,"devDependencies":{"np":"^6.2.0","antd":"^5.8.2","dumi":"^2.1.0","react":"^18","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.13","cross-env":"^7.0.1","react-dom":"^18","typescript":"^4.0.0","@types/jest":"^26.0.15","@types/react":"^18","@types/react-dom":"^18","@types/classnames":"^2.2.10","regenerator-runtime":"^0.13.7","eslint-plugin-unicorn":"^55.0.0","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^1.0.0"},"peerDependencies":{"antd":">= 5.8.2","react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/happy-work-theme_1.0.1_1746694298481_0.8183364939765281","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@ant-design/happy-work-theme","version":"2.0.0","keywords":["react","ant-design","theme"],"author":"","license":"MIT","_id":"@ant-design/happy-work-theme@2.0.0","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"},{"name":"arvinxx","email":"arvinx@foxmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"ranranup123","email":"827743388@qq.com"}],"homepage":"https://github.com/ant-design/happy-work-theme","bugs":{"url":"https://github.com/ant-design/happy-work-theme/issues"},"dist":{"shasum":"b34c7abef9c012649f2429b8396e20d2d7471abb","tarball":"https://registry.npmjs.org/@ant-design/happy-work-theme/-/happy-work-theme-2.0.0.tgz","fileCount":19,"integrity":"sha512-3pvwSOGl9YKkhusTFVsSAouoQPJNsf95I2ooIiUmG/tOkayFUbFqPqMHkMc5Q0XdpfKW+sCr6bCtLdsDnWxaaA==","signatures":[{"sig":"MEUCIFPOq2ExY5YMv3kY6Js45v8FprAJu5ewf3hIXTVmBuSuAiEA26Cj/aOfFoBqym3m49NsD6jtlztYh6zEMXg3CkPFGMY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27641},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"36d84249466b7dd2efe26d9f8021186e7c3226fe","scripts":{"lint":"eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js","test":"rc-test --no-cache","build":"dumi build","start":"dumi dev","compile":"father build","coverage":"rc-test --coverage","now-build":"npm run build","prepublishOnly":"npm run compile && rc-np --yolo --no-publish"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"repository":{"url":"git+https://github.com/ant-design/happy-work-theme.git","type":"git"},"_npmVersion":"11.6.0","description":"Ant Design happy work theme","directories":{},"_nodeVersion":"22.8.0","dependencies":{"clsx":"^2.1.1","@babel/runtime":"^7.18.3","@rc-component/util":"^1.5.0","@ant-design/cssinjs":"^2.0.1","@rc-component/motion":"^1.1.6","@ant-design/fast-color":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^6.1.0","dumi":"^2.1.0","react":"^18","eslint":"^8.56.0","father":"^4.0.0","rc-test":"^7.0.13","cross-env":"^10.1.0","react-dom":"^18","typescript":"^5.0.0","@types/jest":"^26.0.15","@types/node":"^25.0.0","@types/react":"^18","@umijs/fabric":"^4.0.1","@rc-component/np":"^1.0.4","@types/react-dom":"^18","regenerator-runtime":"^0.13.7","eslint-plugin-unicorn":"^55.0.0","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^2.0.0"},"peerDependencies":{"antd":">=6.1.0","react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/happy-work-theme_2.0.0_1765508275508_0.2894482734217452","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2023-08-04T08:23:26.647Z","modified":"2026-04-02T03:57:40.941Z","1.0.0":"2023-08-04T08:23:26.856Z","1.0.1":"2025-05-08T08:51:38.643Z","2.0.0":"2025-12-12T02:57:55.656Z"},"bugs":{"url":"https://github.com/ant-design/happy-work-theme/issues"},"license":"MIT","homepage":"https://github.com/ant-design/happy-work-theme","keywords":["react","ant-design","theme"],"repository":{"url":"git+https://github.com/ant-design/happy-work-theme.git","type":"git"},"description":"Ant Design happy work theme","maintainers":[{"email":"afc163@gmail.com","name":"afc163"},{"email":"smith3816@gmail.com","name":"zombiej"},{"email":"wasd2144@hotmail.com","name":"chenshuai2144"},{"email":"arvinx@foxmail.com","name":"arvinxx"},{"email":"1075746765@qq.com","name":"madccc"}],"readme":"# @ant-design/happy-work-theme\n\nAnt Design Happy Work Theme\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[![Test coverage][codecov-image]][codecov-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: https://img.shields.io/npm/v/@ant-design/happy-work-theme.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@ant-design/happy-work-theme\n[github-actions-image]: https://github.com/ant-design/happy-work-theme/actions/workflows/main.yml/badge.svg\n[github-actions-url]: https://github.com/ant-design/happy-work-theme/actions/workflows/main.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/checkbox/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/checkbox/branch/master\n[david-url]: https://david-dm.org/react-component/checkbox\n[david-image]: https://david-dm.org/react-component/checkbox/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/checkbox?type=dev\n[david-dev-image]: https://david-dm.org/react-component/checkbox/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/@ant-design/happy-work-theme.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@ant-design/happy-work-theme\n[bundlephobia-url]: https://bundlephobia.com/result?p=@ant-design/happy-work-theme\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@ant-design/happy-work-theme\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n[dumi-url]: https://github.com/umijs/dumi\n\n## Install\n\n[![@ant-design/happy-work-theme](https://nodei.co/npm/@ant-design/happy-work-theme.png)](https://npmjs.org/package/@ant-design/happy-work-theme)\n\n## Usage\n\nUse HappyProvider to wrap your app.\n\n```tsx\nimport { HappyProvider } from '@ant-design/happy-work-theme';\nimport { Button, Space, Switch } from 'antd';\nimport React from 'react';\n\nconst desc = 'Happy Work';\n\nconst App: React.FC = () => (\n  <HappyProvider>\n    <Space>\n      <Button type=\"primary\">{desc}</Button>\n      <Switch checkedChildren={desc} unCheckedChildren={desc} />\n    </Space>\n  </HappyProvider>\n);\n\nexport default App;\n```\n\n## API\n\n### HappyProvider\n\nWrapper component will pass config with antd ConfigProvider.\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Test Case\n\n```\nnpm test\nnpm run coverage\n```\n\nopen coverage/ dir\n\n## License\n\n@ant-design/happy-work-theme is released under the MIT license.\n","readmeFilename":"README.md"}