{"code":"import * as tslib_1 from \"tslib\";\r\nimport { html, LitElement } from '@polymer/lit-element';\r\nimport { component, dispatchChange, property } from '../../util/decorators';\r\nimport CSS from './checkbox-css';\r\nlet Checkbox = class Checkbox extends LitElement {\r\n    _render({ checked }) {\r\n        return html `\n            ${CSS}\n            <label class=\"checkbox\">\n                <input type=\"checkbox\" checked=\"${checked}\" on-change=${(e) => this.checked = e.target.checked}/>\n                <span class=\"check\"></span>\n            </label>\n        `;\r\n    }\r\n};\r\ntslib_1.__decorate([\r\n    property,\r\n    tslib_1.__metadata(\"design:type\", String)\r\n], Checkbox.prototype, \"name\", void 0);\r\ntslib_1.__decorate([\r\n    property,\r\n    tslib_1.__metadata(\"design:type\", String)\r\n], Checkbox.prototype, \"size\", void 0);\r\ntslib_1.__decorate([\r\n    property,\r\n    tslib_1.__metadata(\"design:type\", Boolean)\r\n], Checkbox.prototype, \"checked\", void 0);\r\nCheckbox = tslib_1.__decorate([\r\n    component('zen-checkbox'),\r\n    dispatchChange('checked')\r\n], Checkbox);\r\nexport default Checkbox;\r\n","dts":{"name":"/Users/tristanmatthias/projects/origami/zen/components/Checkbox/Checkbox.d.ts","text":"import { LitElement } from '@polymer/lit-element';\r\nimport { TemplateResult } from 'lit-html';\r\nexport interface props {\r\n    name?: string;\r\n    size?: string;\r\n    checked?: boolean;\r\n}\r\nexport default class Checkbox extends LitElement implements props {\r\n    name?: string;\r\n    size?: string;\r\n    checked?: boolean;\r\n    _render({checked}: props): TemplateResult;\r\n}\r\n"}}
