{"_id":"@belleui/belle-button","_rev":"3-2d363638f56dbd47be2471cbc5118a3d","name":"@belleui/belle-button","dist-tags":{"latest":"0.0.1-alpha.2"},"versions":{"0.0.1-alpha.0":{"name":"@belleui/belle-button","version":"0.0.1-alpha.0","description":"button","keywords":["button","web-components","belleui"],"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"homepage":"https://github.com/belleui/belleui/tree/master/packages/belle-button","license":"MIT","main":"lib/belle-button.js","module":"lib/belle-button.js","types":"lib/belle-button.d.ts","repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/belle-button"},"publishConfig":{"access":"public"},"dependencies":{"lit-element":"^2.3.1"},"gitHead":"58cdaea6a0b7ebd66e10c5fbe067c1dfe4452030","bugs":{"url":"https://github.com/belleui/belleui/issues"},"_id":"@belleui/belle-button@0.0.1-alpha.0","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-6HXNgJKR7lhTN9MeCkHvdqIL8LCnNynyEx6hNIDKANwjcWEvbULys3bwEgoRjVi4NO2HfUDknfei5ve+6UIPKA==","shasum":"4dd48a8620d105249c27b4eb5f943b0c425f9323","tarball":"https://registry.npmjs.org/@belleui/belle-button/-/belle-button-0.0.1-alpha.0.tgz","fileCount":10,"unpackedSize":15549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbaTZCRA9TVsSAnZWagAArmgP/A5mLwyeYXmXhmW2F8nf\n8MH2Ik7Nw691WXfCwW9O4HompOadyWWL8VzEt2yNyWRspCe7YWsmbQJxwd8I\ncdfBJdSy+6WY2KX5gt3iXoXSDVyY9Xu0aBHGgoN3SMzZHKJQTT+rtUTDjm/5\nk7CZwaEPfaBLmbLC9idT2tkkz3BLw4xnBMin3B+NjPjm9f5d25tw4flxEdwv\nHZyqHAGzCoUJKvFKdc7v77qLnS5YDQ+ks8KhX0F3KKtf9EqOMgyooTuEbkyb\niMUcEOC8QTsh0owaUI2InYFyirnZcnXVe30E9mnRrDBzmwsRAcHoVYTqwsZ/\npPqTtFg2bDK4SqCloLracuRKtVkm4t0Z4Y6EzbM06VErRAjoJXg1/bRC6aAk\n2GcrYdkNvuIfrm36dDBG9jWQXDnajDX8gWKzbzuJACSf5eGkWJ0hoIVW5RRL\nslvEA6EH95uZ0f/3VmFqBNRShY0KOCjkQ6PVmXE8Xp94SKkxfjuCgkXETAaO\n4wdoXI+Ec2if5TLB25Y16PN9Y9sHc0sfIPoH+BiwF0fKRKpBM9CgLiv+mDE3\nizlTstlHZVa1G1lMoVvS772IgFkQXDsDCkKbp5zAf+EyLM65bgUfTLla/Vyd\nzwXd0qNL6ZRTbujgrfSJvX0KHUr6S6MlCWvdHMsQ0hoBrshKebrj7o38WHuV\ngvAC\r\n=cwNd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbnCOplS7UJMynfclI6B/yZBDYkAL/DowOW9GfpARRlgIgRqsKKeedR1gUVLH7Fx8KthCc5RKv3+O4/yN2u5bepuw="}]},"maintainers":[{"name":"simonwu","email":"hi.wuso01@gmail.com"}],"_npmUser":{"name":"simonwu","email":"hi.wuso01@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/belle-button_0.0.1-alpha.0_1601021145489_0.7183326308255198"},"_hasShrinkwrap":false},"0.0.1-alpha.1":{"name":"@belleui/belle-button","version":"0.0.1-alpha.1","description":"button","keywords":["button","web-components","belleui"],"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"homepage":"https://github.com/belleui/belleui/tree/master/packages/belle-button","license":"MIT","main":"lib/belle-button.js","module":"lib/belle-button.js","types":"lib/belle-button.d.ts","repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/belle-button"},"publishConfig":{"access":"public"},"dependencies":{"lit-element":"^2.3.1"},"gitHead":"540a9d3bd74420d1de2b4d9045415fbad9d91c86","bugs":{"url":"https://github.com/belleui/belleui/issues"},"_id":"@belleui/belle-button@0.0.1-alpha.1","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-OdA0+1J0sE87gtG2v+YpU0dSLBS1saXL7Vh9fDQmz1fciOzIK6S68aNnSocPU5rFvOlbIV6CCz3G0mckcvNX5Q==","shasum":"30c6a320e586a11ce8407e3de234924aee7c76c3","tarball":"https://registry.npmjs.org/@belleui/belle-button/-/belle-button-0.0.1-alpha.1.tgz","fileCount":8,"unpackedSize":11388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl8CZCRA9TVsSAnZWagAAZ1UP/A1HxwAJErnkoedg63vt\nKEnqi4ofJsQFo56b1NXKwQyFjUcwQjPJ5GKCe2XaxLXzHY40cPdfwHWhz+Ld\nMC6amHMOdyAhU1bhFCCetlPfZPb/JiwNfJyUzYl7jiiQJ0jQAWMv/iRlDhjm\nljJHOMh0bgrKF1brqhVCvHNmhodCEIPSRICU5OPiVmVCRnoYGD0jmVyV2QOs\naXd/iBn3dNuZutXHaVIVZae256mFV+BkKrYHuLsPIswaC8+J7nxs0Ymdgj2P\nX512prHRiLOgX2GRuGheBMrQLfvDNfBO9VjPhO3P42YFTOOZmJ4skQDAl7yu\npihzUho9IJrQylbbwQzKxfzxjO4OLFBMqr3Kd59Jw+lPyaRUBMUHOl9rhT7d\nzFSCs3gE51HVrHYE6In4//JzEdyT+xrZvyTYhezyhkgyx4V0KJUpkUGI/D/J\nrbXxhowlfH/FuGLEh1144saam3nCiXGM7MUQl8qD60SS6xmYLtkI9ZMPwxnW\n+Dg2p+RqrxOh6vzfyE3Phc+CdczP0uW2R7KRfL67nt0zpMtwvAUFYdzCribZ\nsWEkf+H8ljk1e2au+QIrIkTSVvuf7jGOHdZTl9grazdcYLGbWwZc1r0UXr9u\nkQogKI1PWRqiDQvde4gv+QFeAYV7wniPWlmlyXwPeUqUIBCh3T4Gj5sEmhIT\n/SQT\r\n=Juc9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6OjBC8zV7lOHqgJP/KYPWmcWoLYVtgjuBg9n0Xn9siAiA4V9A8/LncUBihhI1f9jYM+4ErHAzuUquPkrh3VTx/yA=="}]},"maintainers":[{"name":"simonwu","email":"hi.wuso01@gmail.com"}],"_npmUser":{"name":"simonwu","email":"hi.wuso01@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/belle-button_0.0.1-alpha.1_1603780760998_0.6074134409331946"},"_hasShrinkwrap":false},"0.0.1-alpha.2":{"name":"@belleui/belle-button","version":"0.0.1-alpha.2","description":"button","keywords":["button","web-components","belleui"],"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"homepage":"https://github.com/belleui/belleui/tree/master/packages/button","license":"MIT","main":"lib/belle-button.js","module":"lib/belle-button.js","types":"lib/belle-button.d.ts","repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/button"},"publishConfig":{"access":"public"},"dependencies":{"lit-element":"^2.3.1"},"gitHead":"3664724905e2074a2e3ec3b5bfc8e0489f431a6a","bugs":{"url":"https://github.com/belleui/belleui/issues"},"_id":"@belleui/belle-button@0.0.1-alpha.2","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-GL5MbUKUjGcW3x657mou6W3cwpmclrIDVjWaXY7HXr+1+hdDCMX/6PRGXcRu9CG2QfrdDd8XsEWJ5kPOF12XuQ==","shasum":"c7c6ad446b706b6b8cdbc02b02a575b6dbc0e030","tarball":"https://registry.npmjs.org/@belleui/belle-button/-/belle-button-0.0.1-alpha.2.tgz","fileCount":8,"unpackedSize":13123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd/dyCRA9TVsSAnZWagAAsPUQAJxKWRWjGvXM/IsUdyIs\nEdOkoQP058uIu5UQAKLOiBXhxGfcv+QSWh+eNeLi/hrI00sewfPPkZBQJdXh\n877tParodgjNCVPjP4EHAJjDtiPUSCXVMMNvjeRtmwHd17Crk7DCyY9RaNi7\nUylM35B0WHHojhCawnmoQqeXHdRnJ7ew4Tann7eULt6iK1EXu3kDCtZ9qw+v\nQdSLa3z8OjA38O8S7XBXWTCM2Hmu9OD+mSw25P7Qmc0oAWznZVWqN3yIbnK1\npRwrO9NX5cx+YjsZtdlI9JrFeZ1G3vGPmZQFwHCfde0UTm2pPrn+NF/UuyXe\nLhHYOOejWqI3MwdP8JldUoza99fy6ZJjFA19vs4ewEc4QbBZXqUsE+FYFla8\n8aB1g3EMXxI0el7ON0VGNCCSwuexxDJYfut+XZlmOgAI4Ep7HPx0aHO0NDV3\nZPkLc71AKoOtNFK6g8CBAYnNqTn0zZP0hiGfde6vwSNTl3oVBeVpGWPSRPsv\n+cXXt3SUAgZdwpjwKExXVWPfWWGOudaxQYMJtbcrb6VYWlbpn8Pk4XQaSBPF\nz0ATOgCV9e53nxX7zBQKZDP/M647Gzo4gf4TqNzCoWlrbOqTJt63ejwRedGk\nrz5RUpY8Ld5lqhkaNlLRlHy5ZMTHK8habT8TKLT/qEvxtSDG7x1uob1PAjyg\n3mkb\r\n=P6nY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBiKilxxxlOMFNLIjTpsYWg0NbM/9A5UbVWgmtGb2CEFAiAi2gONl/VI7NvS1arA1zTFxxV24Ka4/z8wABs8hmY2jA=="}]},"_npmUser":{"name":"simonwu","email":"hi.wuso01@gmail.com"},"directories":{},"maintainers":[{"name":"simonwu","email":"hi.wuso01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/belle-button_0.0.1-alpha.2_1618474866174_0.6844506230337792"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-25T08:05:45.052Z","0.0.1-alpha.0":"2020-09-25T08:05:45.604Z","modified":"2022-04-04T18:20:04.331Z","0.0.1-alpha.1":"2020-10-27T06:39:21.120Z","0.0.1-alpha.2":"2021-04-15T08:21:06.300Z"},"maintainers":[{"name":"simonwu","email":"hi.wuso01@gmail.com"}],"description":"button","homepage":"https://github.com/belleui/belleui/tree/master/packages/button","keywords":["button","web-components","belleui"],"repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/button"},"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"bugs":{"url":"https://github.com/belleui/belleui/issues"},"license":"MIT","readme":"[](#belleuibelle-button)\n\n# @belleui/belle-button\n\n<p>\n\t\t<a href=\"https://npmcharts.com/compare/@belleui/belle-button?minimal=true\"><img alt=\"Downloads per month\" src=\"https://img.shields.io/npm/dm/@belleui/belle-button.svg\" height=\"20\"/></a>\n<a href=\"https://www.npmjs.com/package/@belleui/belle-button\"><img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@belleui/belle-button.svg\" height=\"20\"/></a>\n<a href=\"https://github.com/belleui/belleui/blob/master/packages/button\"><img alt=\"TypeScript\" src=\"https://img.shields.io/npm/types/@belleui/belle-button\" height=\"20\"/></a>\n<a href=\"https://www.webcomponents.org/element/@belleui/belle-button\"><img alt=\"Published on webcomponents.org\" src=\"https://img.shields.io/badge/webcomponents.org-published-blue.svg\" height=\"20\"/></a>\n</p>\n\n\n\n[](#preview)\n\n## Preview\n\n![screent shot](./image/screenshot.png)\n\n[](#demo)\n\n## Demo\n\n[Click to view demo](https://codesandbox.io/s/belleui-react-demo-iet3z?file=/src/index.js)\n\n[](#install)\n\n## Install\n\n> npm install @belleui/belle-button\n\n\n[](#useage)\n\n## Useage\n\n```html\n<belle-button>Default</belle-button>\n<belle-button type=\"primary\">Primary</belle-button>\n<belle-button outline>Outline</belle-button>\n<belle-button disabled>Disabled</belle-button>\n```\n\n[](#properties)\n\n## Properties\n\n| Property   | Attribute  | Type      | Default   | Description |\n|------------|------------|-----------|-----------|-------------|\n| `disabled` | `disabled` | `boolean` | false     | 是否禁用按钮      |\n| `outline`  | `outline`  | `boolean` | false     | 只显示外边框      |\n| `loading`  | `loading`  | `boolean` | false     | 是否显示loading   |\n| `type`     | `type`     | `string`  | \"default\" | 按钮的类型       |\n\n\n[](#slots)\n\n## Slots\n\n| Name | Description         |\n|------|---------------------|\n|      | 默认插槽，按钮文字或者其他html标签 |\n\n\n[](#css-custom-properties)\n\n## CSS Custom Properties\n\n| Property                   | Default        | Description     |\n|----------------------------|----------------|-----------------|\n| `--background-color`       |                | 背景颜色            |\n| `--border-color`           |                | border颜色        |\n| `--border-radis`           | \"6px\"          | 圆角              |\n| `--font-color`             |                | 按钮字体颜色          |\n| `--hover-background-color` |                | hover时按钮背景颜色    |\n| `--hover-border-color`     |                | hover时border的颜色 |\n| `--hover-font-color`       | \"--font-color\" | hover时字体的颜色     |\n\n","readmeFilename":"README.md"}