{"_id":"@belleui/belle-switch","_rev":"3-0ee6c8bbbfbb329f0ce3c1534d73d696","name":"@belleui/belle-switch","dist-tags":{"latest":"0.0.1-alpha.2"},"versions":{"0.0.1-alpha.0":{"name":"@belleui/belle-switch","version":"0.0.1-alpha.0","description":"<!-- ⚠️ This README has been generated from the file(s) \"/Users/wusong/Code/github-project/belleui/packages/belle-switch/readme/blueprint.md\" ⚠️--><h1 align=\"center\">belleui</h1>","keywords":["web-components","belleui"],"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"homepage":"https://github.com/belleui/belleui/tree/master/packages/belle-switch","license":"MIT","main":"lib/belle-switch.js","module":"lib/belle-switch.js","types":"lib/belle-switch.d.ts","repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/belle-switch"},"publishConfig":{"access":"public"},"dependencies":{"@belleui/belle-lib":"^0.0.1-alpha.0","lit-element":"^2.3.1"},"gitHead":"58cdaea6a0b7ebd66e10c5fbe067c1dfe4452030","bugs":{"url":"https://github.com/belleui/belleui/issues"},"_id":"@belleui/belle-switch@0.0.1-alpha.0","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-/376GUhFx5rmHP1CPXl7FjnlAa4ZeuAPKa3D4FBsLzBCol5ES77WB8yjDbHGT47nzXCJgYffCD3xLPYOY0Hp2g==","shasum":"c7b635a15873735abd5ce3538ec08060b0dab313","tarball":"https://registry.npmjs.org/@belleui/belle-switch/-/belle-switch-0.0.1-alpha.0.tgz","fileCount":10,"unpackedSize":11389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbaTlCRA9TVsSAnZWagAAztgP/3ohVj7WMAJAVw/sqaCw\nnpTHDmAMdRmOHA7KCRvLTVdYhCienZykZeuvrH8r2zCkEn5z2fxLGRk7Tr5G\n9kP27G+ur82kYrmBaVAD+TM/aC0KLkKx0T8DVyPL9vCD9Xbcr8R//7IzWf6g\nWV3m0gm2w/AAFCLFAXF0XksOFLpAe0Lkj6cRNRSJ/5faSghJ67m4uBf+pc4W\nBbkISV6T1xAPL+hncDx+GEncHUVE5Ck30Injjt3zTGadGvQUGeadk4Qu8Dnr\nb90zobapao3QT6ea5k6t5yMySIdjnpnykR5yzk21UZHGvgHLjBDajKysFSuR\n1n4RMlc8xSI67IPS5Ok4zT8ie5hP5k5HOv89S2BkmiZcznY+KwNwtQyp/8KG\nyNlhSSRenbeKddRf1tTcM4GOAkJSEW+7Ev5MoZeFVPXbMx0T6n+EajHSkfIk\nlh3MBxUT4Vk9ADl+6+pFbgWMHNwUTeMqQLsfvca8hvG2SNsi5yeIUIimH19t\nhCc5Y4Yr0AhhHJHs+2+0mlBk9SaJlMLD6x4bHpauraOJmPwHgHkFyI3qkhXM\n8lZ96w3JxPygiDyJMk7yeEKyOkDC8zzbA+dd1gBXY4gl1DnuOybvbHnhqJ4q\ncT1n9BBEZn38nKeBQm2sJP/hVOzYn4IZBpIP6FH+8nQabAuYxCU3/HQaF79r\n2FfA\r\n=9ivJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIud2NEUXTpBtyX33HAdxF59luaqeYhT1rdsZ6tMKWQAiAAumEA/Weprpxpm/r8hPb3zSApOKxX0cU74d2iGg3aPg=="}]},"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-switch_0.0.1-alpha.0_1601021157385_0.43074796100437407"},"_hasShrinkwrap":false},"0.0.1-alpha.1":{"name":"@belleui/belle-switch","version":"0.0.1-alpha.1","description":"[](#belleuibelle-switch)","keywords":["web-components","belleui"],"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"homepage":"https://github.com/belleui/belleui/tree/master/packages/belle-switch","license":"MIT","main":"lib/belle-switch.js","module":"lib/belle-switch.js","types":"lib/belle-switch.d.ts","repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/belle-switch"},"publishConfig":{"access":"public"},"dependencies":{"lit-element":"^2.3.1"},"gitHead":"540a9d3bd74420d1de2b4d9045415fbad9d91c86","bugs":{"url":"https://github.com/belleui/belleui/issues"},"_id":"@belleui/belle-switch@0.0.1-alpha.1","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-HzPrh2yGjmUM22VfBCb4pdZO4H7Rih8fCwFi3E4Ny+8QNHDTCdE2h4yGdxxypH1QOsk/9GNi4sQX7f4TVx9gqw==","shasum":"4f65076e29bb5d23d74493883597bf8d7176698d","tarball":"https://registry.npmjs.org/@belleui/belle-switch/-/belle-switch-0.0.1-alpha.1.tgz","fileCount":8,"unpackedSize":8634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl8CdCRA9TVsSAnZWagAAb4AP/3BXwjTbSGI/4A+9JPWF\nz4aJTcIQDJmHK1LGTfxSbeO1pGljBG7IVvsG2PFn9rOMZzl3Wl8bfe/omEPU\nG8yLszm8gL5q69zF3b08dET+Zs9Ba79YS8M1eLDFK/nj3phW82B2IanLYVHX\n0aglY/vfA91aG9wJO/qnvOX9UpJQRJ1FmWI6OkAsRQBmQRjEBMouf1s5UCFE\nMAfFg0TYkMSahQSuKl8kf9jUPKjV7YzRMmpmSVItO+9Xw2Od9w+xb1A8IYBv\nX4GRLMylpTspTvHVTjn0srJntH4BRCSDOZUUABRr2eVQIRwdL+8Kaj4kSHji\ngSkgCeOSBSJlj5kS32NDD30VUzidIFv0oeBY8ZEfoAd5rG4bxGugFezdWWkH\nLr/blRY7FP4REzzaQNGTfJpErNke5097inPtnqPvm2wBMJ1q6Jy+9xlPtJPM\nQ51LtJCS3Mx/2K7JohHfv0xx3dr9VuVd61ENQkFU9CFZPGjqdezTT/yXJ2M6\nRg6yIbdkOsUdh7K8rplAEa8QsKNrqLrsJdWn+LJNuy5fujtxm/lMzdQHhczZ\nsAHFdJgz33GIWWwYK34PmFUKt7uOxOKUOHNf0Vme6lmO7AXH+nTCAMtpeTIV\nImHBFCQFPXCN3nHJW0hWuzfGN9HayTu6xuCk4+D8O3NxQiPEKGJ/T3WtFPhE\n9Q+C\r\n=Wz/w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6fnyKrQwomldhMez7RYGkkvJSSebA4km7zrTRpoyUcwIhALf/mopwH9u4QI1B3ROXUNYLjPPuPfn+Qnp4V7HhJ/ud"}]},"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-switch_0.0.1-alpha.1_1603780765510_0.31374658290451873"},"_hasShrinkwrap":false},"0.0.1-alpha.2":{"name":"@belleui/belle-switch","version":"0.0.1-alpha.2","description":"[](#belleuibelle-switch)","keywords":["web-components","belleui"],"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"homepage":"https://github.com/belleui/belleui/tree/master/packages/switch","license":"MIT","main":"lib/belle-switch.js","module":"lib/belle-switch.js","types":"lib/belle-switch.d.ts","repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/switch"},"publishConfig":{"access":"public"},"dependencies":{"lit-element":"^2.3.1"},"gitHead":"3664724905e2074a2e3ec3b5bfc8e0489f431a6a","bugs":{"url":"https://github.com/belleui/belleui/issues"},"_id":"@belleui/belle-switch@0.0.1-alpha.2","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-Tly3CONx9ngklraKwHreh3bgQ1ZLATiPbM7NUjsPyTUBTkk6IQQ8+aFmo9hR7xB3/p+hN41rR96xCigLnjCHSw==","shasum":"e7fd2de401883dcae6b041851b9a0feabb3d364b","tarball":"https://registry.npmjs.org/@belleui/belle-switch/-/belle-switch-0.0.1-alpha.2.tgz","fileCount":8,"unpackedSize":8792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd/d5CRA9TVsSAnZWagAA5BEQAJZP5Y4JgUm3yzmJFSvE\nh1IEpkxvSoxdjGUSab4TkxgxTpdt8IH/BDf4oiFT0p7aGv2ZszD+ESmSp1v1\nAmr+oEtkLbjSudoL25QJu5X471j2rW/0QvqCxQd/Dk87BMcgtw/OaIRhaLru\nvQzfA1UksZZ12Eb7LXLn/UAk4Sk4n4h+QDoVh4UfWuVlJmGuHh2o18E//Lbh\nScVhJEdsxPl84+nShHOrA+VqRAHBqKpxS0KPIgAlbV0elZMeWD68F/LaRzZl\n/42DIsMgw65IpQD1xKw7G7h7o1oadd4CxSrOR6BbSkee7keEUyLVeHXLWImv\nGVNmWdP+wAf2iWciPcWJZkMaRFdvq2r7/xSvzszSImLcxYYGUX2kmRAOsdQl\nSEvGhrj1JPkQk3Hs5kX/Dit29FZ8H3BoO2mx5awlGiW8hMG67F4h2DfMmuqJ\no8dxhPrQ2bn/FkbKbtr7Nrm9tvsblKbxvILIevY3ffA8wzwYMO2Zy0Cd3o6N\nRIHR3B6NTdX+97uoehf25I0fj3xSr7fsB8tWVTs9+Xq14Tv3asDi1sT9wIbG\nvfXYjwvz6f33w3SXdgX6zCDZ8f/WOv4lUxFExR6xRMcCZxArBbDE4XffiGui\ng7n7azJptgw2I5+EmODn+pW6Z7HvLnTJHRGryG+JqwoBz70BFg++BjQd+9TT\n1c5C\r\n=96/x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLRL555MLhzxEcVcnPXMDYMBXUWxnGr6QTg2Hp0SZDxAiEA/l08fB6S20fRcOlvFcmD9RB/kQfZwKL+Hr6a+wLSS5o="}]},"_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-switch_0.0.1-alpha.2_1618474873144_0.5579557400988613"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-25T08:05:57.122Z","0.0.1-alpha.0":"2020-09-25T08:05:57.672Z","modified":"2022-04-04T18:20:05.971Z","0.0.1-alpha.1":"2020-10-27T06:39:25.625Z","0.0.1-alpha.2":"2021-04-15T08:21:13.267Z"},"maintainers":[{"name":"simonwu","email":"hi.wuso01@gmail.com"}],"description":"[](#belleuibelle-switch)","homepage":"https://github.com/belleui/belleui/tree/master/packages/switch","keywords":["web-components","belleui"],"repository":{"type":"git","url":"git+https://github.com/belleui/belleui.git","directory":"packages/switch"},"author":{"name":"WUSO01","email":"hi.wuso01@gmail.com"},"bugs":{"url":"https://github.com/belleui/belleui/issues"},"license":"MIT","readme":"[](#belleuibelle-switch)\n\n# @belleui/belle-switch\n\n<p>\n\t\t<a href=\"https://npmcharts.com/compare/@belleui/belle-switch?minimal=true\"><img alt=\"Downloads per month\" src=\"https://img.shields.io/npm/dm/@belleui/belle-switch.svg\" height=\"20\"/></a>\n<a href=\"https://www.npmjs.com/package/@belleui/belle-switch\"><img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@belleui/belle-switch.svg\" height=\"20\"/></a>\n<a href=\"https://github.com/belleui/belleui/blob/master/packages/switch\"><img alt=\"TypeScript\" src=\"https://img.shields.io/npm/types/@belleui/belle-switch\" height=\"20\"/></a>\n<a href=\"https://www.webcomponents.org/element/@belleui/belle-switch\"><img alt=\"Published on webcomponents.org\" src=\"https://img.shields.io/badge/webcomponents.org-published-blue.svg\" height=\"20\"/></a>\n\t</p>\n\n\n\n[](#preview)\n\n## Preview\n\n![screent shot](./image/screenshot.png)\n\n[](#install)\n\n## Install\n\n> npm install @belleui/belle-switch\n\n\n[](#useage)\n\n## Useage\n\n```html\n<belle-switch>Switch</belle-switch>\n<belle-switch disabled>Disabled</belle-switch>\n<belle-switch checked>Checked</belle-switch>\n```\n\n[](#properties)\n\n## Properties\n\n| Property   | Attribute  | Type      | Default | Description |\n|------------|------------|-----------|---------|-------------|\n| `checked`  | `checked`  | `boolean` | false   | 默认是否选中      |\n| `disabled` | `disabled` | `boolean` | false   | 是否禁用        |\n\n\n[](#methods)\n\n## Methods\n\n| Method         | Type       |\n|----------------|------------|\n| `handleChange` | `(): void` |\n\n\n[](#events)\n\n## Events\n\n| Event    | Type                                 |\n|----------|--------------------------------------|\n| `change` | `CustomEvent<{ checked: boolean; }>` |\n\n","readmeFilename":"README.md"}