{"name":"@antv/gui","version":"0.5.0","description":"UI components for AntV G.","license":"MIT","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/gui.min.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"}},"sideEffects":false,"scripts":{"dev":"vite","clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","lint":"NODE_ENV=test && eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check ","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && prettier ./src ./__tests__ --write ","coverage":"jest -w 16 --coverage","test":"run-s test:i","test-live":"cross-env DEBUG_MODE=1 jest --watch","test:u":"NODE_ENV=test && jest --config jest.config.js --coverage","test:i":"NODE_ENV=test && jest --config jest.node.config.js --coverage","build":"run-s clean build:* size","build:umd":"webpack","build:cjs":"tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib","build:esm":"tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","upload":"node scripts/uploadSnapshot.js"},"keywords":["antv","visualization","ui","GUI"],"dependencies":{"@antv/dom-util":"^2.0.3","@antv/g":"^5.15.15","@antv/scale":"^0.4.3","@antv/util":"^3.3.1","d3-array":"^3.2.0","svg-path-parser":"^1.1.0"},"peerDependencies":{"@antv/g":"^5.14.1"},"devDependencies":{"@antv/g":"^5.14.1","@antv/g-canvas":"^1.9.18","@antv/g-svg":"^1.8.27","@antv/g-webgl":"^1.9.6","@antv/g-plugin-control":"^1.9.6","@babel/plugin-proposal-decorators":"^7.20.5","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^12.0.1","@types/d3-array":"^3.0.3","@types/jest":"^26.0.1","@types/jsdom":"^20.0.1","@types/pixelmatch":"^5.2.4","@types/pngjs":"^6.0.1","@types/react":"^16.14.34","@types/react-dom":"^18.0.9","@types/svg-path-parser":"^1.1.2","@types/xmlserializer":"^0.6.3","@typescript-eslint/eslint-plugin":"^4.18.0","@typescript-eslint/parser":"^4.19.0","@vitejs/plugin-react":"^2.2.0","ali-oss":"^6.17.1","archiver":"^5.3.1","antd":"^5.0.2","babel-loader":"^8.2.3","canvas":"2.11.0","core-js":"^3.14.0","cross-env":"^7.0.3","eslint":"^7.22.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.1.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.3.1","gh-pages":"^3.2.3","husky":"^5.0.9","jest":"^26.0.1","jsdom":"^19.0.0","limit-size":"^0.1.4","lint-staged":"^10.5.4","npm-run-all":"^4.1.5","pixelmatch":"^5.3.0","pngjs":"^6.0.0","prettier":"^2.2.1","react":"^16.14.0","react-dom":"^16.11.0","react-i18next":"^11.7.0","regenerator-runtime":"^0.13.7","rimraf":"^3.0.2","ts-jest":"^26.5.1","ts-loader":"^7.0.0","tslib":"^2.0.3","typescript":"^4.3.4","vite":"^3.1.8","webpack":"^4.44.2","webpack-cli":"^4.9.1","xmlserializer":"^0.6.1"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/gui.min.js","limit":"128 Kb","gzip":true},{"path":"dist/gui.min.js","limit":"480 Kb"}],"author":{"name":"AntV","url":"https://antv.vision/"},"repository":{"type":"git","url":"git+https://github.com/antvis/gui.git"},"bugs":{"url":"https://github.com/antvis/gui/issues"},"gitHead":"66063c31e5eba47bfc2d45bb44183a60a389d5ae","homepage":"https://github.com/antvis/gui#readme","_id":"@antv/gui@0.5.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-ZbKhQ3LKM0xFeTV9dU8A63ZslN3te7kD0jQ8KbSD5XfG1eaKYWNFZ4H/7kuKTQyxZZX/67nnWqrOZpKXx7zeMw==","shasum":"4936d26abf47664069a505c4f0f46f013ae6cb76","tarball":"http://registry-npm.ywwl.com/@antv/gui/download/@antv/gui-0.5.0.tgz","fileCount":1271,"unpackedSize":2661797,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFa32xpoM17SJ7mvibP4A0F1oegfG3/zmfauyzz1b3pqAiANTi4+S036kZJaQXCxeaeFDyw6POZi0N159JKdl+6WNQ=="}],"size":513068,"noattachment":false,"key":"/@antv/gui/-/@antv/gui-0.5.0.tgz"},"_npmUser":{"name":"pearmini","email":"subairui@icloud.com"},"directories":{},"maintainers":[{"name":"lvisei","email":"yunji.me@outlook.com"},{"name":"yisi.wang","email":"aptx.wang@gmail.com"},{"name":"basketduck","email":"hiphone96@gmail.com"},{"name":"biupiubiupiu","email":"lcx.seima@gmail.com"},{"name":"flash1","email":"2523863783@qq.com"},{"name":"dreammy23","email":"caomengyuan2015@163.com"},{"name":"laixingui.lxg","email":"laixingui.lxg@alibaba-inc.com"},{"name":"zhangjunjie-loki","email":"zhangjunjie0730@163.com"},{"name":"rainy25ghz","email":"1748420480@qq.com"},{"name":"zeyuwang","email":"zywangx@gmail.com"},{"name":"yanxiong","email":"496845051@qq.com"},{"name":"susiwen8","email":"susiwen8@gmail.com"},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"soundquiet","email":"fulingsun515@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"sakuya223","email":"360965398@qq.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"xdzhao","email":"zhaoxiaodong@zju.edu.cn"},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"wjgogogo","email":"906626481@qq.com"},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"intchous","email":"h.a.p.p.y.y.x.d@163.com"},{"name":"susan_ann","email":"lisuwe_n@163.com"},{"name":"jinke.li","email":"jinke.li666@gmail.com"},{"name":"lzxue","email":"120635640@qq.com"},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":"i@hust.cc"},{"name":"baizn","email":"576375879@qq.com"},{"name":"dengfuping","email":"dengfuping_private@163.com"},{"name":"neoddish","email":"neoddish@outlook.com"},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"zqlu","email":"zqlu.cn@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"pomelo-nwu","email":"czynwu@gmail.com"},{"name":"kopiluwaky","email":"yanyanwang93@gmail.com"},{"name":"ccnuzindex","email":"ccnuzindex@gmail.com"},{"name":"panyuqi","email":"pyqiverson@gmail.com"},{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},{"name":"zengyue","email":"yezengyue@gmail.com"},{"name":"kasmine","email":"736929286@qq.com"},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"l1ud0ngq1","email":"lliudongqi@gmail.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"winniexing","email":"wanyingxing@gmail.com"},{"name":"chenluli","email":"chenluuli@gmail.com"},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"xdddst","email":"deng25st@163.com"},{"name":"semious2020","email":"semious@163.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"nadia_liu","email":"1803275951@qq.com"},{"name":"bbsqq","email":"1491812683@qq.com"},{"name":"mxz96102","email":"mxz96102@qq.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pddpd","email":"pddpengdi@gmail.com"},{"name":"yiqianyao","email":"2912401452@qq.com"},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},{"name":"siqishen","email":"sersishen@gmail.com"},{"name":"boyyangzai","email":"2365539910@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gui_0.5.0_1693300299617_0.08874591201327098"},"_hasShrinkwrap":false,"readme":"<h1 align=\"center\">\n<b>GUI</b>\n</h1>\n\n<div align=\"center\">\n\nUI components for [G](https://github.com/antvis/g).\n\n[![Build Status](https://github.com/antvis/gui/workflows/build/badge.svg?branch=master)](https://github.com/antvis/gui/actions)\n[![Coverage Status](https://img.shields.io/coveralls/github/antvis/gui/master.svg)](https://coveralls.io/github/antvis/GUI?branch=master)\n[![npm Version](https://img.shields.io/npm/v/@antv/gui.svg)](https://www.npmjs.com/package/@antv/gui)\n[![npm Download](https://img.shields.io/npm/dm/@antv/gui.svg)](https://www.npmjs.com/package/@antv/gui)\n[![npm License](https://img.shields.io/npm/l/@antv/gui.svg)](https://www.npmjs.com/package/@antv/gui)\n\n</div>\n\n## ✨ Features\n\n## 📦 Installation\n\n```bash\n$ npm install @antv/gui\n```\n\n## 🔨 Getting Started\n\n```ts\nimport { Canvas } from '@antv/g';\nimport { Renderer } from '@antv/g-canvas';\nimport { Button } from '@antv/gui';\n\n// create a canvas\nconst canvas = new Canvas({\n  container: 'container',\n  width: 600,\n  height: 600,\n  renderer: new Renderer(),\n});\n\n// create a button\nconst button = new Button({\n  /* ... */\n});\n\ncanvas.appendChild(button);\n\n// render it\ncanvas.render();\n```\n\n## 📎 Components\n\n- [API](./docs//api.md)\n- UI components\n  - [Axis](https://github.com/antvis/GUI/blob/master/docs/api/ui/axis.zh.md)\n  - [Legend](https://github.com/antvis/GUI/blob/master/docs/api/ui/legend.zh.md)\n  - [Tooltip](https://github.com/antvis/GUI/blob/master/docs/api/ui/tooltip.zh.md)\n  - [Slider](https://github.com/antvis/GUI/blob/master/docs/api/ui/slider.zh.md)\n  - [Scrollbar](https://github.com/antvis/GUI/blob/master/docs/api/ui/scrollbar.zh.md)\n  - [Button](https://github.com/antvis/GUI/blob/master/docs/api/ui/button.zh.md)\n  - [Checkbox](https://github.com/antvis/GUI/blob/master/docs/api/ui/checkbox.zh.md)\n  - [Navigator](https://github.com/antvis/GUI/blob/master/docs/api/ui/navigator.zh.md)\n  - [Breadcrumb](https://github.com/antvis/GUI/blob/master/docs/api/ui/breadcrumb.zh.md)\n  - [Sparkline](https://github.com/antvis/GUI/blob/master/docs/api/ui/sparkline.zh.md)\n\n## 📮 Contribution\n\n```bash\n$ git clone git@github.com:antvis/gui.git\n\n$ cd gui\n\n$ npm install\n\n$ npm run dev\n```\n\nThen send a pull request after coding.\n\n## 📄 License\n\nMIT@[AntV](https://github.com/antvis).\n","publish_time":1693300299766,"_cnpm_publish_time":1693300299766,"dist-tags":{"beta":"0.1.0-beta.2","latest":"0.5.0"}}