{"name":"@alifd/next","version":"1.19.22-beta","description":"A configurable component library for web built on React.","keywords":["fusion","fusion design","next","component","ui tookit","react","react-components","components","design","frontend"],"homepage":"https://github.com/alibaba-fusion/next","bugs":{"url":"https://github.com/alibaba-fusion/next/issues"},"license":"MIT","main":"index.js","module":"es/index.js","typings":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/alibaba-fusion/next.git"},"sideEffects":["dist/*","es/**/style.js","lib/**/style.js","*.scss"],"scripts":{"report-coverage":"codecov","dev":"node ./scripts/server/index.js","build":"node ./scripts/build/index.js","check":"node ./scripts/check/index.js","create":"node ./scripts/create-new.js","check-sass":"node ./scripts/check/sass.js","docs":"node ./scripts/docs/index.js","api":"node ./scripts/api.js","pack":"node ./scripts/pack.js","pack-adaptor":"node ./scripts/adaptor/build.js","release":"node ./scripts/release/index.js","test":"node --max_old_space_size=8192 ./scripts/test/index.js","test:a11y":"node --max_old_space_size=8192 ./scripts/test/a11y-index.js","order-var":"node ./scripts/order-var.js","eslint":"eslint '@(src|scripts)/**/*.@(js|jsx)' && eslint --fix 'docs/**/@(demo|theme)/*.@(md)'","tslint":"tsc","prettierjs":"prettier --write '@(src|test|scripts)/**/*.@(js|jsx)'","stylelint":"stylelint --fix 'src/**/*.@(css|scss)'","commitmsg":"commitlint -E GIT_PARAMS","precommit":"lint-staged","changelog":"node ./scripts/changelog.js","prepub":"npm run tslint && npm run eslint && npm run stylelint && npm run changelog && npm run build && npm run tslint && npm run check &&  npm run docs && npm run pack && npm run pack -- minimize && npm run pack-adaptor"},"lint-staged":{"types/**/*.d.ts":["npm run tslint --"],"@(src|scripts|docs/*/demo)/**/*.@(js|jsx)":["prettier --write"],"@(src|scripts|docs/*/demo)/**/*.@(js|jsx|md)":["eslint","git add"],"src/**/*.@(css|scss)":["stylelint","git add"]},"dependencies":{"@alifd/field":"~1.3.3","@alifd/validate":"~1.1.4","babel-runtime":"^6.26.0","classnames":"^2.2.3","hoist-non-react-statics":"^2.1.0","prop-types":"^15.6.0","react-lifecycles-compat":"^3.0.4","react-transition-group":"^2.2.1","shallow-element-equals":"^1.0.1"},"devDependencies":{"@alifd/adaptor-generate":"^0.2.3","@alifd/adaptor-helper":"^0.1.3","@alifd/api-extractor":"^3.5.2","@alifd/babel-preset-next":"^2.0.0","@alifd/doc-parser":"^1.0.0","@alifd/dts-generator":"^1.0.3","@alifd/eslint-config-next":"^2.0.0","@alifd/stylelint-config-next":"^1.0.0","@commitlint/cli":"^7.0.0","@no-repeat/sass-mapper":"^0.0.6","@no-repeat/sass-tracker":"^0.1.0","@no-repeat/sassdoc-parser":"^0.0.11","@octokit/rest":"^15.15.1","@types/react":"^16.8.13","autoprefixer":"^7.1.4","axe-core":"~3.2.0","babel-core":"^6.26.0","babel-eslint":"^8.2.3","babel-loader":"^7.0.0","babel-plugin-espower":"^2.3.2","babel-plugin-istanbul":"^4.1.5","babel-polyfill":"^6.26.0","case-sensitive-paths-webpack-plugin":"^2.1.1","chalk":"^2.3.2","cheerio":"^1.0.0-rc.2","chokidar":"^2.0.4","chrome-launcher":"^0.10.2","co":"^4.6.0","console-polyfill":"^0.3.0","conventional-changelog":"^2.0.1","conventional-changelog-alifd":"^1.0.0","css-loader":"^0.28.7","css-split-webpack-plugin":"^0.2.5","ejs":"^2.5.9","enzyme":"^3.3.0","enzyme-adapter-react-16":"~1.10.0","es5-shim":"^4.5.9","es6-promise-polyfill":"^1.2.0","eslint":"^4.19.1","eslint-config-prettier":"^4.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-markdown":"^1.0.0-beta.6","eslint-plugin-react":"7.11.1","expect.js":"^0.3.1","extract-text-webpack-plugin":"^3.0.0","fast-sass-loader":"^1.2.5","fs-extra":"^5.0.0","glob":"^7.1.2","highlight.js":"^9.12.0","html5shiv":"^3.7.3","husky":"^0.14.3","inquirer":"^6.1.0","jsonp":"^0.2.1","karma":"^3.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-mocha":"^1.3.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.26","karma-webdriver-launcher":"^1.0.5","karma-webpack":"^3.0.5","lint-staged":"^7.2.2","loader-utils":"^1.1.0","lodash":"^4.17.5","markdown-it":"^8.4.2","md5":"^2.2.1","minimist":"^1.2.0","mocha":"^3.5.3","moment":"^2.20.1","node-sass":"4.6.0","node-sass-package-importer":"^5.2.0","nunjucks":"^3.2.0","postcss-loader":"^2.0.6","postcss-scss":"1.0.2","power-assert":"^1.5.0","prettier":"1.16.4","promise-polyfill":"^8.1.0","react":"^16.0.0","react-axe":"^3.0.2","react-copy-to-clipboard":"^5.0.1","react-cropper":"^1.0.0","react-dev-utils":"^4.2.1","react-dnd":"^7.0.0","react-dnd-html5-backend":"^7.0.0","react-dom":"^16.0.0","react-redux":"^5.0.7","react-router":"^4.3.1","redux":"^4.0.0","remark":"^9.0.0","sass":"^1.15.2","sassaby-next":"^3.0.0","simulate-event":"^1.4.0","sinon":"^5.0.10","solarlunar":"^2.0.7","style-loader":"^0.18.2","stylelint":"^9.2.1","stylelint-scss":"^3.1.1","tslint":"^5.18.0","typescript":"^3.5.3","webpack":"^3.0.0","webpack-dev-server":"^2.x","whatwg-fetch":"^2.0.3"},"peerDependencies":{"moment":"^2.22.1","react":"^16.0.0","react-dom":"^16.0.0"},"publishConfig":{"access":"public"},"readme":"English | [简体中文](./README.zh-cn.md)\n\n<p align=\"center\">\n  <a href=\"https://fusion.design/\">\n    <img alt=\"Fusion\" src=\"https://img.alicdn.com/tfs/TB1YsoiHVzqK1RjSZFCXXbbxVXa-159-99.svg\" width=\"200\">\n  </a>\n</p>\n\n<p align=\"center\">An enterprise-class UI solution for backend system, aimed at settling the problems like cooperation between designers and front-developers, consistency of product experience and development efficiency.</p>\n\n---\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.org/package/@alifd/next\"><img src=\"https://img.shields.io/npm/v/@alifd/next.svg\"></a>\n  <a href=\"https://www.npmjs.org/package/@alifd/next\"><img src=\"https://img.shields.io/npm/dm/@alifd/next.svg\"></a>\n  <a href=\"https://codecov.io/gh/alibaba-fusion/next\"><img src=\"https://codecov.io/gh/alibaba-fusion/next/branch/master/graph/badge.svg?token=FSufKVDhmT\"></a>\n  <a href=\"https://travis-ci.com/alibaba-fusion/next\"><img src=\"https://travis-ci.com/alibaba-fusion/next.svg?token=KAYresHL1UPaaLzUYyx6&branch=master\"></a>\n  <a href=\"http://makeapullrequest.com\"><img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\"></a>\n  <a href=\"https://github.com/alibaba-fusion/next/blob/master/LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\"></a>\n</p>\n\nYou can customize your own DesignSystem via [Collaboration Platform](https://fusion.design).💖 Designers will receive design materials by [Fusion Cool](https://fusion.design/tool?from=github) - an easy to use plugin on sketch. Developers will get code fragment on [IceWorks](https://fusion.design/tool?from=github). At the same time, the consistency between code and visual manuscript is guaranteed. 😍\n\n![howtouse](https://img.alicdn.com/tfs/TB1dF3BH4TpK1RjSZFMXXbG_VXa-1280-720.gif)\n\n# 🤔 Why use\n\n`@alifd/next` usually used with [Fusion Design](https://fusion.design) to improving designer-developer collaboration and development efficiency. Designer can customize the UI of components and release an npm theme package. Developer can use this theme package directly, and don't need to care about the UI refactoring. It saves the workload of reductive degree review repeatedly with designers, and greatly improves the development efficiency.\n\n![](https://img.alicdn.com/tfs/TB1gia.HkvoK1RjSZFDXXXY3pXa-1286-490.png)\n\n# 💻 Browser Compatibility\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![UC](https://raw.github.com/alrra/browser-logos/master/src/uc/uc_48x48.png) |\n| :--------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------: | :--------------------------------------------------------------------------: |\n|                                            ✔                                             |                                              ✔                                              |                                         ✔                                          |                                                             9+ ✔                                                             |                                            ✔                                             |                                           ✔                                           |                                      ✔                                       |\n\n# 🚀 Quick Start\n\n## 🛠 Install\n\n### 1.Use NPM ( Recommend )\n\n```\nnpm install @alifd/next --save\n```\n\n### 2.Import in Browser\n\nUse the script and link tags in the browser to directly import the file and use the global variable Next. We provide files such as next.js/next.min.js and next.css/next.min.css in the `@alifd/next/dist` directory in the npm package, or via [unpkg](https://unpkg.com/@alifd/next/dist/) Download it.\n\n```html\n<link rel=\"stylesheet\" href=\"https://unpkg.com/@alifd/next/dist/next.css\" />\n\n<script src=\"https://unpkg.com/@alifd/next/dist/next.js\"></script>\n\n// The above ways import latest @alifd/next, we recommend you specify version.\n<script src=\"https://unpkg.com/@alifd/next@1.8.6/dist/next.min.js\"></script>\n\n// Or import as your own static resource\n<script src=\"../build/public/@alifd/next.js\"></script>\n```\n\n## ☔️ Dependencies\n\n-   `@alifd/next` is based on `react@16` development and is currently not compatible with versions below `react@16`. react/react-dom is used as peerDependencies, which requires the user to manually install or import it.\n-   `@alifd/next` use [moment](https://github.com/moment/moment) library to implement date-time related component. moment is also used as peerDependencies, which requires the user to manually install or import it.\n\n## 🎯 Import\n\n### Import All\n\n```js\nimport '@alifd/next/dist/next.css';\n// import '@alifd/next/index.scss';\n\nimport { Button, Input } from '@alifd/next';\n```\n\n### Import module with plugin\n\n#### 1. Import module manually\n\n```js\nimport Button from '@alifd/next/lib/button';\nimport '@alifd/next/lib/button/style';\n```\n\n#### 2. Use with [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) ( Recommend )\n\n```js\n// webpack babel loader option or .babelrc\n{\n    // ...\n    plugins: [\n        [\n            'import',\n            {\n                libraryName: '@alifd/next',\n                style: true,\n            },\n        ],\n    ];\n}\n```\n\nIt will transform code as below\n\n```js\nimport { Button } from '@alifd/next';\n```\n\nTo\n\n```js\nimport Button from '@alifd/next/lib/button';\nimport '@alifd/next/lib/button/style';\n```\n\n## 🔗 Advanced\n\n-   [Use with Theme Package](./site/en-us/theme.md)\n-   [Internationalization](./site/en-us/i18n.md)\n-   [Deploy Font File](./site/en-us/font-deploy.md)\n\n## 🌈 Contributing\n\n-   [Contributing](./site/en-us/contributing.md)\n\n## 📣 Join Group\n\nUse [Dingtalk App](https://www.dingtalk.com/en) scan the Qrcode to join in _Dingtalk Group_ :\n\n<img alt=\"Join the chat at dingtalk\" src=\"https://img.alicdn.com/tfs/TB1r2GoU6DpK1RjSZFrXXa78VXa-620-818.png\" width=\"300\">\n","readmeFilename":"README.md","gitHead":"6ca3bce63ccdedd22128b5e2290166d17ab8cbe3","_id":"@alifd/next@1.19.22-beta","_nodeVersion":"8.11.1","_npmVersion":"6.14.1","dist":{"integrity":"sha512-xPkQxp5VaGE6Z5wBsy9fS27lqvQ/2v+7IJgglDgCTL2fDblr4U4zCLaYiph4nk2A/fhXxNs5N48w18+ojLcAFA==","shasum":"2b528026cda25e9b4b276d2cdba8fa388a2c3ff5","tarball":"http://registry-npm.ywwl.com/@alifd/next/download/@alifd/next-1.19.22-beta.tgz","fileCount":1669,"unpackedSize":18039449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegvM6CRA9TVsSAnZWagAA1SIP/i/WI0LjZ5ZlQBPqAIcP\nrD0Iz2S1vyQJEuUa+ZrFKDpHy8HvcNq1FLg5fAon8f5VCgK9Up0WeQYPCG5d\nq7ArWja+xTQBsfQU39oqdbCYKeXdMvAcb9kKJi4UYbgEc3Zv73q+BXyRcm8b\npvZvySBW4vlmmtN8ie7tRLAhDWA11PvrAkEX07ftpiZmyqhwGfikRA3vUiA4\nvJkRncUGshmrHwrRUDYFcbIqqTkt8TlGSMgklTy1unE/dk3+EsxGh7zxooaC\nEuSL4iPdzsQ1aMA7/U9BUIgaVMjLQAOPOFMzZTk7msCWXY8GEbokWh9DSBo8\nYJ7330a+sEby2pEn8bI8W2aikA7VH3UpJT3xEPdS4yXupSE8OVGP3Kvg2YB+\nBYkgbBYRVlntqnJEq7MguHav9xBxdFpAOHzhUwDsuH1EzZMKKmZtlgCSH5SG\n+yJ2FZE3yEJiKIomo7AdjawxjzpxYhXbF6cSl8nWTqOV0bZW2fgpysLjWcW+\nF5c+A4IU4Tr1MYdboeg9bOrjbL5moqXGYDIwXvTVN7ml9mJGPRjA8crKlsbq\nvAmYMLQy4KFwX2WwgIE6Y2jdq+xImXTo6h2TRmL/A+QbShnlwidHMNthwTG0\nrduPcNlNfpyQnS9AtYISwJCpW3K8m9CudgLU06W5spSCxeg4Ha/wkGOgtI+A\n1m5p\r\n=GmY1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbeR0s6fjkpwgb7IqAG65b00hlnp7JBrXvTcRsqBOkbAiEA+e27nOPhAuDyEZ7Ctl40jSXn2MrevRTOVB+Dl6F+u6o="}],"size":2672253,"noattachment":false,"key":"/@alifd/next/-/@alifd/next-1.19.22-beta.tgz"},"maintainers":[{"email":"njuzhaoguoyan@foxmail.com","name":"aboutblank"},{"email":"bindoon@sina.com","name":"bindoon"},{"email":"myronliu347@gmail.com","name":"myronliu347"}],"_npmUser":{"name":"aboutblank","email":"njuzhaoguoyan@foxmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next_1.19.22-beta_1585640249603_0.9504386937074074"},"_hasShrinkwrap":false,"publish_time":1585640250058,"_cnpm_publish_time":1585640250058,"dist-tags":{"1-17-x":"1.17.13","19x":"1.19.32","alpha":"1.27.1-alpha.1","beta":"1.27.5-beta.1","beta19":"1.19.33","beta2":"1.20.1-beta","latest":"1.27.34","next":"1.27.34"}}