{"bugs":{"url":"https://github.com/aliyun/cloud-design/issues"},"dist":{"shasum":"f11b4cbcf1b9dfc43b17238ba26216ba01db91eb","tarball":"https://registry.npmjs.org/@alicloudfe/components/-/components-1.3.41-beta.13.tgz","fileCount":771,"integrity":"sha512-d2Q297BK0GogVr4BnAWoVwtUYBCV8GIdKApzDeZ/9eFHmelOTMpd6xfj7UZ7gbHrDcQSyQv6ZiCPYwQ7X2WhFw==","signatures":[{"sig":"MEUCIQDePt6zVnYZRoXkQM4sf/JcQOjxCDEjc9qOiJ6OldTFGAIgDrfrw8rypwDyJ6uGUoZAJs8ZvsP9hNBMVbETbHN7AjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67685618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaMNUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonNw//SbvWaP/lfqgpx2kUEaJu/WCjjAtOOe9kWYRldGagMjxd1TSs\r\nXYzkWz6Nu1CaIIkD39KWoD2hCYri3wl+fsoOUHIrpJTRh6TyOfD1sFoEpDsN\r\nnhhu8PDTYpzvXEQya1cFq5/GVckRjy+08V0UalLvvQxcaq1hxV+o+Ssm412Z\r\nLSTugDjL2YH9K9RYdM8Igl/baWfOjWU/xtvrfVJe1nMQSZEIaS1JrPb94iZN\r\nO+HWQIA/0rDJIygOc5OVxlTd2l78FWoEbYB2q4fz5+KVFgmBw7GusxlBaQqU\r\nFy33CjQxJuLbh1WXamY68I5byIZeI6hzXJ6G+faQmpXSYKBPfN1Er6g78mqJ\r\nGTOG5D/0iRYhcwgVyxxOugVHPcYTIr3c+mH1cxaQe5i0rsGQOGPeK7wOjA0u\r\nX/uA5GrKNlV2ecvGcpgT+8DyUkH9nbdtX8MvnD6BmVO4vhczXLYO1l3E34Ea\r\nnvy+j60TdpF2nzrEC+W9nhSg3UHiQBwD5dFVNVCBoI6AJyuVe2Ry0XulI1yS\r\nWbblJyI3VjujK7hOe+lhBPRU6KlxQPL7fQAK1JvzhdaWUmJQuhn+LdkfqcNN\r\nQTjn1ZexCFHaUEZYQuRArZR+c6EvVQeYCD2zXI0fJimMFBkkrw2oRUNXnNit\r\nfJgN3lginxr7vFhlXe7cnVg9QqFOFQO2qVc=\r\n=vx/S\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-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":"yanqianyu.yqy","email":"284989344@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.16","description":"A react component library for aliyun","directories":{},"maintainers":[{"name":"bowei.jbw","email":"bowei.jbw@gmail.com"},{"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.1","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.3.41-beta.13_1667810132302_0.7360766182843494","host":"s3://npm-registry-packages"},"_id":"@alicloudfe/components@1.3.41-beta.13","version":"1.3.41-beta.13"}