{"bugs":{"url":"https://github.com/aliyun/cloud-design/issues"},"dist":{"shasum":"0e59b2403222e04a342f01b2a88ddf1db7442c6e","tarball":"https://registry.npmjs.org/@alicloudfe/components/-/components-1.4.0-beta.3.tgz","fileCount":766,"integrity":"sha512-ytbWdUlQ7l0hFDgQAqHPmUlmbq0OV6Tqgv7psYnQSuAEK1CUpi4BjYfITvHDaTib8MWefVUOxd+Oqz9L9AfamA==","signatures":[{"sig":"MEYCIQDWWFk4OoqEUPyNA2PFQwOuDhjDXegj1NCxgT+G+jeCswIhAItTSdwWwIbuqD41YJPjjOM/Yk+aBtPQdNxUfCGBOAVn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63605951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKrqwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqq1w//SOBk5ZE5T2eTX8YL5MGLv2UlZkGauwP/vq25F8499p1czpVf\r\npyR13ZAYXj59SuedddqaMq0vPCgaUI2ZkA9OTj8d6Rq6NmVxAg55AZxVCFkF\r\nfGouClpPaA/VfqUjfMRdb1wbIrmT+lxchM8WTtZ7d9wT1MXYtM2GSWgKnB9X\r\nGe8wl9hL/jtKDLPj2r4quKm4JJMjx9xAOnB6o5BX4WJyn+8kH7ldai9w9dUy\r\nZ0pzqutjIRTG+OyfGmrhNDRYNaMhL6twVD569f5omfqVuOF/F4mE2fOv0t0L\r\nu3LvgALHvovLj5Q+Xvc41i1J7opjHlXymP7bcfzp4gv1Wdik4ykTSa7xK9SR\r\nn863eHigAsr2Hun6RiaqZSMyqLo1J88JP6sagxvd7u6mdiMZ9POxHkOxHf0Q\r\nG1reho5m69ozCSYMlDjNUvpMWVsCThgCCrByCDEWRmaYBa/6iM2yGKGT7920\r\n4OsUALHPKdBOEYhk6t29YqHGxd3uO/2v95U7MBN3DgRfArdaAzHbjMawVwwg\r\nhaeRj0Uo8OeJWFyJndXsKaOT5nNx99wNpZfIB0ZUdkZdtPXCt2lLvG9FjSRU\r\naDY71VW20xI2SLxUEDqQq+5lUO4UkV4lqPU3k9cWDQbgC23Utv6mLIzppdqL\r\nTVR/N9Zmlw8SjFCkzMXEug4CDVsQ+m4bqKg=\r\n=iJR7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"@alicloudfe/components","types":"types/index.d.ts","author":{"url":"https://github.com/zuoqi705","name":"zuoqi","email":"1398772969@qq.com"},"module":"es/index.js","readme":"<h1 align=\"center\">\n<a href=\"https://www.npmjs.com/package/@alicloudfe/components\">@alicloudfe/components</a>\n</h1>\n\n<div align=\"center\">阿里云前端基础组件库，由混合云&公有云前端团队共建。 <a href=\"https://aliyun.github.io/cloud-design/#/button\">预览地址</a></div>\n\n\n# 💻 浏览器支持\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# 🚀 快速开始\n## 🛠 安装\n\n### 1.使用 npm 安装\n\n```bash\nnpm install @alicloudfe/components --save\n```\n\n### 2.浏览器直接引用\n\n在浏览器中使用 script 和 link 标签直接引入文件，并使用全局变量 `AliCloudComponents`。我们在 npm 包中提供了 `@alicloudfe/components/dist` 目录下的 `index.js` 和 `hybridcloud.css` / `xconsole.css` 等样式文件，也可以通过 [unpkg](https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/) 进行下载。\n\n```html\n<link rel=\"stylesheet\" href=\"https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/hybridcloud.css\" />\n\n<script src=\"https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/index.js\"></script>\n\n// 以上引入都是引入的最新版本 @alicloudfe/components\n，我们也可以引入固定版本的组件资源，以保证代码稳定\n<script src=\"https://unpkg.alibaba-inc.com/@alicloudfe/components@1.0.12/dist/index.js\"></script>\n```\n\n其中 @alicloudfe/components 默认 external 了这些依赖： `react` 、 `react-dom` 、 `prop-types` 、`moment` \n参考 html 如下：\n```html\n <script src=\"https://unpkg.alipay.com/react@16.14.0/umd/react.development.js\"></script>\n <script src=\"https://unpkg.alipay.com/react-dom@16.14.0/umd/react-dom.development.js\"></script>\n <script src=\"https://unpkg.alipay.com/prop-types@15.7.1/prop-types.js\"></script>\n <script src=\"https://unpkg.alipay.com/moment@2.29.1/moment.js\"></script>\n <script src=\"https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/index.js\"></script>\n```\n\n## ☔️ 依赖\n\n-   `@alicloudfe/components` 基于 `react@16` 开发，目前并不兼容 `react@16` 以下的版本，且将 react/react-dom 作为 peerDependencies，需要用户手动提前安装或引入。\n-   `@alicloudfe/components` 在处理日期时间相关组件逻辑时，使用了 [moment](https://github.com/moment/moment) 库，且将 moment 作为 peerDependencies，需要用户手动提前安装或引入。\n\n## 🔨 示例\n\n```jsx\nimport { Button, DatePicker } from '@alicloudfe/components';\n\nconst App = () => (\n  <>\n    <Button type=\"primary\">PRESS ME</Button>\n    <DatePicker />\n  </>\n);\n```\n\n引入样式：\n\n```jsx\nimport '@alicloudfe/components/dist/hybridcloud.css'; \n```\n\n## 💄关于样式文件\n本组件库没有默认的样式主题，大家可根据业务选择不同的样式文件，目前的主题包括：\n\n- PaaS 侧\n  - `hybridcloud`: 混合云亮色主题\n  - `hybridcloud-dark`: 混合云暗色主题\n  - `xconsole`:公有云 xconsole 主题\n  - `wind`: 公有云 wind（旧版 xconsole） 主题\n\n- SaaS 侧\n  - `yunxiao`: 云效主题\n  - `aone`: Aone 主题\n  - `teamix`: Teamix 主题\n  - `b-design`: Bdesign 主题\n\n对于每一个主题，我们生成了对应的四份样式文件供大家使用，以混合云亮色主题为例：\n- [`hybridcloud.css`](https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/hybridcloud.css) : 全量未压缩样式（组件样式 + css var）\n- [`hybridcloud.min.css`](https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/hybridcloud.min.css) : 全量压缩后样式（组件样式 + css var）\n- [`hybridcloud-no-var.css`](https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/hybridcloud-no-var.css) : 纯组件样式，不包括 css var 定义\n- [`hybridcloud-var.css`](https://unpkg.alibaba-inc.com/@alicloudfe/components/dist/hybridcloud-var.css) : 纯 css var 定义样式文件，用于主题切换\n\n\n## 🔌 相关插件\n\n- [@alicloud/console-toolkit-fusion-css-loader](https://github.com/aliyun/alibabacloud-console-toolkit/tree/preset-demos/packages/fusion-css-loader): 一个 webpack loader，用来修改 fusion 的 css 的选择器类名前缀。比如把 `.next-btn` 的类名修改成 `.my-prefix-btn`。 这样做的目的是，控制 fusion 样式的作用范围，让一个页面中可以同时存在多份不同版本的 fusion，同时不会出现样式冲突。\n\n- [build-plugin-fusion-css](https://www.npmjs.com/package/build-plugin-fusion-css): build-scripts 插件，功能同上，用于 build-scripts 体系\n\n\n# 🤝 参与共建\n一个好的开源组件库是需要不断打磨的，本组件库也是我们和 [fusion](https://github.com/alibaba-fusion/next) 团队共建后的成果，欢迎大家提 PR，或者联系[佐七](https://github.com/zuoqi705)、[萧雨](https://github.com/csr632)成为仓库成员来提 MR。如何贡献请参考[贡献指南](https://github.com/aliyun/cloud-design/blob/master/base-components/docs/CONTRIBUTING.md)。","scripts":{"dev":"vite serve -c ./vite.config.ts","babel":"tsc -p src --outDir ./lib --module commonjs","build":"breezr build --engine webpack","clean":"rm -rf dist lib es types","debug":"npx --node-options=--inspect-brk vite serve -c ./vite.config.ts --force","types":"tsc -p src --emitDeclarationOnly && node ./scripts/add-fusion-type-export","prepare":"npm run clean && concurrently --kill-others-on-fail --success all \"npm:babel\" \"npm:cpy-scss\" \"npm:build-css\" \"npm:babel:esm\" \"npm:build\" \"npm:build-xconsole\" \"npm:types\" && echo \"Prepare package successfully!\"","cpy-comp":"node ./scripts/copy-comp.js","cpy-scss":"cpy \"**/*.scss\" \"../lib\" --cwd=src --parents","gene-def":"node ./scripts/gene-css-def.js","babel:esm":"tsc -p src --outDir ./es --module es2015","build-css":"node ./scripts/build-css.js","sync-demo":"node ./scripts/sync-demo.js","debug-build":"npx --node-options=--inspect vite build -c ./vite.config.ts","demos-build":"rm -rf docs-dist && vite build -c ./vite.config.ts && serve -s docs-dist","demos-deploy":"rm -rf docs-dist && vite build -c ./vite.config.ts --base \"/cloud-design\" && touch ./docs-dist/.nojekyll && gh-pages -d docs-dist -t","update-theme":"node ./scripts/update-theme.js && npm run gene-def","build-css-test":"node ./scripts/filter-css-var.js","build-xconsole":"breezr build --engine webpack --config ./xconsole.breezr.config.js","publish-xconsole":"npm run prepare && cd ./scripts/publish-xconsole && npm run pub && tnpm sync && cd ../publish-wind && npm run pub"},"_npmUser":{"name":"chesstar","email":"2509625275@qq.com"},"homepage":"https://github.com/aliyun/cloud-design#readme","keywords":["aliyun","cloud design","component","ui","ui library","react","components","design","frontend"],"repository":{"url":"git+https://github.com/aliyun/cloud-design.git","type":"git"},"_npmVersion":"6.14.17","description":"A react component library for aliyun","directories":{},"maintainers":[{"name":"yanqianyu.yqy","email":"284989344@qq.com"},{"name":"kiwikang99","email":"861918672@qq.com"},{"name":"zuoqi","email":"1398772969@qq.com"},{"name":"console-fe","email":"console-fe@alibabacloud.com"},{"name":"chesstar","email":"2509625275@qq.com"}],"sideEffects":["dist/*","**/*.scss"],"_nodeVersion":"14.19.3","contributors":[{"url":"https://github.com/zuoqi705","name":"zuoqi","email":"1398772969@qq.com"},{"url":"https://github.com/csr632","name":"csr632"}],"dependencies":{"classnames":"^2.2.6","@alifd/next":"~1.25.48","@teamix/icon":"^1.3.5","react-router-dom":"^5.2.0","react-loading-skeleton":"^2.1.1","hoist-non-react-statics":"^3.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ncp":"^2.0.0","glob":"^7.1.6","sass":"^1.26.10","vite":"^2.3.8","chalk":"^4.1.0","jsonp":"^0.2.1","redux":"^4.0.5","serve":"^11.3.2","lodash":"^4.17.11","rimraf":"^3.0.2","cpy-cli":"^3.1.1","cssnano":"^4.1.10","download":"^8.0.0","fs-extra":"^9.0.1","gh-pages":"^3.1.0","prettier":"^2.0.5","react-dnd":"^7.0.0","solarlunar":"^2.0.7","typescript":"^3.9.7","@mdx-js/mdx":"^1.6.22","postcss-cli":"^7.1.1","react-redux":"^7.2.1","concurrently":"^5.3.0","sass-extract":"^2.1.0","whatwg-fetch":"^3.3.1","@mdx-js/react":"^1.6.22","react-cropper":"^1.3.0","vite-plugin-mdx":"^3.3.1","vite-pages-theme-basic":"^3.0.0","react-copy-to-clipboard":"^5.0.2","react-dnd-html5-backend":"^7.0.0","vite-plugin-react-pages":"^3.0.0","@vitejs/plugin-react-refresh":"^1.3.1","@alicloud/console-toolkit-cli":"^1.2.0","@alicloud/console-components-app-layout":"^1.1.1","@alicloud/console-components-console-menu":"^1.2.5","@alicloud/console-toolkit-preset-official":"^1.2.19","@alicloud/console-toolkit-preset-component":"^1.2.0"},"peerDependencies":{"react":">=16.13.1","moment":"^2.27.0","react-dom":">=16.13.1"},"_npmOperationalInternal":{"tmp":"tmp/components_1.4.0-beta.3_1663744688088_0.3356056491567678","host":"s3://npm-registry-packages"},"_id":"@alicloudfe/components@1.4.0-beta.3","version":"1.4.0-beta.3"}