{"_id":"@11thdeg/cyantype","_rev":"4-42fa98f12088099d5ab5e27bf1d36bc8","name":"@11thdeg/cyantype","dist-tags":{"latest":"1.0.0-alpha.5"},"versions":{"1.0.0-alpha.1":{"name":"@11thdeg/cyantype","version":"1.0.0-alpha.1","description":"A Lit element, that provides a 'textarea' that supports Markdown copy-paste","type":"module","main":"./dist/cyan-type.umd.cjs","module":"./dist/cyan-type.js","types":"./dist/lib/main.d.ts","exports":{".":{"import":"./dist/cyan-type.js","require":"./dist/cyan-type.umd.cjs"}},"keywords":["lit","lit-element","markdown","textarea","copy-paste"],"author":{"name":"Ville Takanen"},"license":"MIT","devDependencies":{"@types/turndown":"^5.0.2","@typescript-eslint/eslint-plugin":"^6.7.0","@typescript-eslint/parser":"^6.7.0","eslint":"^8.49.0","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^1.1.0-next.1","eslint-plugin-wc":"^1.3.2","sass":"^1.68.0","typescript":"^5.2.2","vite":"^4.4.9","vite-plugin-dts":"^3.5.3","vitest":"^0.34.4"},"dependencies":{"lit":"^2.8.0","turndown":"^7.1.2"},"scripts":{"dev":"vite dev --port 4321","build":"vite build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"@11thdeg/cyantype@1.0.0-alpha.1","_integrity":"sha512-sB6HMrpAuYhfhJFw0LhHbdE6BVfKKFBz45R8caIWzDWNUtbRgG6iqbbruopW2kXnz8NiMeTgznvJPx/qLFnEgg==","_resolved":"/private/var/folders/d3/bp3xxpq15k1cp0k2yrl5bjqw0000gq/T/efbbf4948c9f5156ecb4a6c4857760f5/11thdeg-cyantype-1.0.0-alpha.1.tgz","_from":"file:11thdeg-cyantype-1.0.0-alpha.1.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-sB6HMrpAuYhfhJFw0LhHbdE6BVfKKFBz45R8caIWzDWNUtbRgG6iqbbruopW2kXnz8NiMeTgznvJPx/qLFnEgg==","shasum":"27d4f3cabf6237acc0f1849f59de77ee7bd4d90e","tarball":"https://registry.npmjs.org/@11thdeg/cyantype/-/cyantype-1.0.0-alpha.1.tgz","fileCount":13,"unpackedSize":90365,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD13bghAXGQmrrRx9/pXZ3zm2afCrM0xA0/NeK7UMDK1AIgJdkbkKzJ8rW5Mex2ZqD6LFH92k4PdYf3e+Y9OcaKF/0="}]},"_npmUser":{"name":"villetakanen","email":"vitkukissa@gmail.com"},"directories":{},"maintainers":[{"name":"villetakanen","email":"vitkukissa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyantype_1.0.0-alpha.1_1696332351097_0.24220893334134863"},"_hasShrinkwrap":false},"1.0.0-alpha.2":{"name":"@11thdeg/cyantype","version":"1.0.0-alpha.2","description":"A Lit element, that provides a 'textarea' that supports Markdown copy-paste","type":"module","main":"./dist/cyan-type.umd.cjs","module":"./dist/cyan-type.js","types":"./dist/lib/main.d.ts","exports":{".":{"import":"./dist/cyan-type.js","require":"./dist/cyan-type.umd.cjs","types":"./dist/lib/main.d.ts"}},"keywords":["lit","lit-element","markdown","textarea","copy-paste"],"author":{"name":"Ville Takanen"},"license":"MIT","devDependencies":{"@types/turndown":"^5.0.2","@typescript-eslint/eslint-plugin":"^6.7.0","@typescript-eslint/parser":"^6.7.0","eslint":"^8.49.0","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^1.1.0-next.1","eslint-plugin-wc":"^1.3.2","sass":"^1.68.0","typescript":"^5.2.2","vite":"^4.4.9","vite-plugin-dts":"^3.5.3","vitest":"^0.34.4"},"dependencies":{"lit":"^2.8.0","turndown":"^7.1.2"},"scripts":{"dev":"vite dev --port 4321","build":"vite build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"@11thdeg/cyantype@1.0.0-alpha.2","_integrity":"sha512-SNYuleXF4TaXSe24Sye+9t4+myaVrwa1hklbz4dyVvFSWR578F+i6n5f0bhlnF9j6HghpMejex01pVVuZUesRQ==","_resolved":"/private/var/folders/d3/bp3xxpq15k1cp0k2yrl5bjqw0000gq/T/117dd8682f32b9d1e9a0b494e1a0dc8e/11thdeg-cyantype-1.0.0-alpha.2.tgz","_from":"file:11thdeg-cyantype-1.0.0-alpha.2.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-SNYuleXF4TaXSe24Sye+9t4+myaVrwa1hklbz4dyVvFSWR578F+i6n5f0bhlnF9j6HghpMejex01pVVuZUesRQ==","shasum":"fc64ec9b2263fcf17702ad671831d4dea58ebd9e","tarball":"https://registry.npmjs.org/@11thdeg/cyantype/-/cyantype-1.0.0-alpha.2.tgz","fileCount":13,"unpackedSize":90420,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEk3d8vnuj6N4X63Jp5NFv0HcpXLpv3Y4XAo/cvU+iyGAiEA3DhbGtkUhcPS9afT2HhZueTuEPxImKPjLcM7cY6e+C8="}]},"_npmUser":{"name":"villetakanen","email":"vitkukissa@gmail.com"},"directories":{},"maintainers":[{"name":"villetakanen","email":"vitkukissa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyantype_1.0.0-alpha.2_1696335092855_0.7257144661247805"},"_hasShrinkwrap":false},"1.0.0-alpha.3":{"name":"@11thdeg/cyantype","version":"1.0.0-alpha.3","description":"A Lit element, that provides a 'textarea' that supports Markdown copy-paste","type":"module","main":"./dist/cyan-type.umd.cjs","module":"./dist/cyan-type.js","types":"./dist/lib/main.d.ts","exports":{".":{"import":"./dist/cyan-type.js","require":"./dist/cyan-type.umd.cjs"},"./style.css":"./dist/style.css","./index.d.ts":"./dist/lib/main.d.ts"},"keywords":["lit","lit-element","markdown","textarea","copy-paste"],"author":{"name":"Ville Takanen"},"license":"MIT","devDependencies":{"@types/turndown":"^5.0.2","@typescript-eslint/eslint-plugin":"^6.7.0","@typescript-eslint/parser":"^6.7.0","eslint":"^8.49.0","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^1.1.0-next.1","eslint-plugin-wc":"^1.3.2","sass":"^1.68.0","typescript":"^5.2.2","vite":"^4.4.9","vite-plugin-dts":"^3.5.3","vitest":"^0.34.4"},"dependencies":{"lit":"^2.8.0","turndown":"^7.1.2"},"scripts":{"dev":"vite dev --port 4321","build":"vite build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"@11thdeg/cyantype@1.0.0-alpha.3","_integrity":"sha512-Cl4hMM3JZkBmtx2kyGsm6ffqoiLhVqY/TE1B5eyYnzFh0t4wSQxDOAj9sJ5JpU1fEOTpAR6cO1eBUb91kOEZPw==","_resolved":"/private/var/folders/d3/bp3xxpq15k1cp0k2yrl5bjqw0000gq/T/c3ae28ade63bf6274e3bca0e62bc9945/11thdeg-cyantype-1.0.0-alpha.3.tgz","_from":"file:11thdeg-cyantype-1.0.0-alpha.3.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Cl4hMM3JZkBmtx2kyGsm6ffqoiLhVqY/TE1B5eyYnzFh0t4wSQxDOAj9sJ5JpU1fEOTpAR6cO1eBUb91kOEZPw==","shasum":"4b7623b20c48deabfd876471a3ae3cec26aaa6bd","tarball":"https://registry.npmjs.org/@11thdeg/cyantype/-/cyantype-1.0.0-alpha.3.tgz","fileCount":13,"unpackedSize":90464,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYKjVOnwrA0j5IIz7F8T53DUQdDh9nxhmbMivnLn5TyAIhANmcb+srFGL/ug50eb7x7UAiXI+fbqD7oXPQXl8+gc9s"}]},"_npmUser":{"name":"villetakanen","email":"vitkukissa@gmail.com"},"directories":{},"maintainers":[{"name":"villetakanen","email":"vitkukissa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyantype_1.0.0-alpha.3_1696504155255_0.7662949418550007"},"_hasShrinkwrap":false},"1.0.0-alpha.4":{"name":"@11thdeg/cyantype","version":"1.0.0-alpha.4","description":"A Lit element, that provides a 'textarea' that supports Markdown copy-paste","type":"module","module":"./dist/cyan-type.js","types":"./dist/lib/main.d.ts","exports":{"import":"./dist/cyan-type.js","require":"./dist/cyan-type.umd.cjs","style":"./dist/style.css","types":"./dist/lib/main.d.ts"},"keywords":["lit","lit-element","markdown","textarea","copy-paste"],"author":{"name":"Ville Takanen"},"license":"MIT","devDependencies":{"@types/turndown":"^5.0.2","@typescript-eslint/eslint-plugin":"^6.7.0","@typescript-eslint/parser":"^6.7.0","eslint":"^8.49.0","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^1.1.0-next.1","eslint-plugin-wc":"^1.3.2","sass":"^1.68.0","typescript":"^5.2.2","vite":"^4.4.9","vite-plugin-dts":"^3.5.3","vitest":"^0.34.4"},"dependencies":{"lit":"^2.8.0","reasonable-colors":"^0.4.0","turndown":"^7.1.2"},"scripts":{"dev":"vite dev --port 4321","build":"vite build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"@11thdeg/cyantype@1.0.0-alpha.4","_integrity":"sha512-sDJlK/Beq8zp/FougfUsYbx0Q7t3I7nT6SKLQmqKfc/sf20v1bF6wo8qwW+XdF31QVVFWRbaX7hR/jAdR0tupA==","_resolved":"/private/var/folders/d3/bp3xxpq15k1cp0k2yrl5bjqw0000gq/T/f07b3784e9831366d26f05fc7919a811/11thdeg-cyantype-1.0.0-alpha.4.tgz","_from":"file:11thdeg-cyantype-1.0.0-alpha.4.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-sDJlK/Beq8zp/FougfUsYbx0Q7t3I7nT6SKLQmqKfc/sf20v1bF6wo8qwW+XdF31QVVFWRbaX7hR/jAdR0tupA==","shasum":"5d3ce9c4f3fba245fbe4524ef1d82e71048517b8","tarball":"https://registry.npmjs.org/@11thdeg/cyantype/-/cyantype-1.0.0-alpha.4.tgz","fileCount":14,"unpackedSize":95867,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6/VYw2vHAAhwSGTTRtnh5YpzR0Dock8fXIB+K5FH8gAiBxdVrZI6aV3HKvD83mcdWQfa+d/EAXWEx4n/4EzRywuQ=="}]},"_npmUser":{"name":"villetakanen","email":"vitkukissa@gmail.com"},"directories":{},"maintainers":[{"name":"villetakanen","email":"vitkukissa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyantype_1.0.0-alpha.4_1697021547780_0.07173518574578774"},"_hasShrinkwrap":false},"1.0.0-alpha.5":{"name":"@11thdeg/cyantype","version":"1.0.0-alpha.5","description":"A Lit element, that provides a 'textarea' that supports Markdown copy-paste","type":"module","module":"./dist/cyan-type.js","types":"./dist/lib/main.d.ts","exports":{".":{"import":"./dist/cyan-type.js","require":"./dist/cyan-type.umd.cjs"},"./style.css":{"import":"./dist/style.css","require":"./dist/style.css"},"./main.d.ts":{"import":"./dist/lib/main.d.ts","require":"./dist/lib/main.d.ts"}},"keywords":["lit","lit-element","markdown","textarea","copy-paste"],"author":{"name":"Ville Takanen"},"license":"MIT","devDependencies":{"@types/turndown":"^5.0.2","@typescript-eslint/eslint-plugin":"^6.7.0","@typescript-eslint/parser":"^6.7.0","eslint":"^8.49.0","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^1.1.0-next.1","eslint-plugin-wc":"^1.3.2","sass":"^1.68.0","typescript":"^5.2.2","vite":"^4.4.9","vite-plugin-dts":"^3.5.3","vitest":"^0.34.4"},"dependencies":{"lit":"^2.8.0","reasonable-colors":"^0.4.0","turndown":"^7.1.2"},"scripts":{"dev":"vite dev --port 4321","build":"vite build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"@11thdeg/cyantype@1.0.0-alpha.5","_integrity":"sha512-PX/FSq+J9SEsGGN4XIoko/yUc0+iHM6aLCu0zPRn4VnsgPduHB7rdZHeDNQ3jcWodfVk5JrI/Z0IAvJRn3YWjw==","_resolved":"/private/var/folders/d3/bp3xxpq15k1cp0k2yrl5bjqw0000gq/T/8a21faff28f1c511b08097a3c4fb7439/11thdeg-cyantype-1.0.0-alpha.5.tgz","_from":"file:11thdeg-cyantype-1.0.0-alpha.5.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-PX/FSq+J9SEsGGN4XIoko/yUc0+iHM6aLCu0zPRn4VnsgPduHB7rdZHeDNQ3jcWodfVk5JrI/Z0IAvJRn3YWjw==","shasum":"66fa6e903872dfe40f30e5741b321e2709a0d39c","tarball":"https://registry.npmjs.org/@11thdeg/cyantype/-/cyantype-1.0.0-alpha.5.tgz","fileCount":14,"unpackedSize":96026,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWpKUABGh7fSoqPl324euGF90dS89W+r+uGHJxP2hNkQIhAPhGF9TZkZQLIDexvvc/3qgBzhmxFwYfjIuf9Faky1SE"}]},"_npmUser":{"name":"villetakanen","email":"vitkukissa@gmail.com"},"directories":{},"maintainers":[{"name":"villetakanen","email":"vitkukissa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyantype_1.0.0-alpha.5_1697022091519_0.9248741597586085"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-03T11:25:50.994Z","1.0.0-alpha.1":"2023-10-03T11:25:51.277Z","modified":"2023-10-11T11:01:32.009Z","1.0.0-alpha.2":"2023-10-03T12:11:33.040Z","1.0.0-alpha.3":"2023-10-05T11:09:15.527Z","1.0.0-alpha.4":"2023-10-11T10:52:28.011Z","1.0.0-alpha.5":"2023-10-11T11:01:31.769Z"},"maintainers":[{"name":"villetakanen","email":"vitkukissa@gmail.com"}],"description":"A Lit element, that provides a 'textarea' that supports Markdown copy-paste","keywords":["lit","lit-element","markdown","textarea","copy-paste"],"author":{"name":"Ville Takanen"},"license":"MIT","readme":"# Cyantype-editor\n\nA Markdown editor for Cyan. The editor is provided as a lit-based web component - that works\nlike a textarea for form interactions.\n\nEarly alpha. Not ready for production.\n\n## Usage\n\n```html\n<cyantype-editor\n  [info]\n  [toolbar]\n  value=[string]\n  @change\n  @input\n  @blur\n  @keyup></cyantype-editor>\n```\n\n### Attributes\n\n- `info` - Boolean - Show the info bar\n- `toolbar` - Boolean - Show the toolbar\n- `value` - String - The value of the editor\n- `@change` - Event - Fired when the value changes\n- `@input` - Event - Fired when the value changes\n- `@blur` - Event - Fired when the editor loses focus\n- `@keyup` - Event - Fired when a key is released\n\n## Styling\n\nThe package uses Reasonable colors _by default_. These can be overridden as below. <br>\nSee https://reasonable.work/colors/ for more info\n\nThe editor is styled using CSS variables. The following Cyan derived variables\nare available (defaults shown):\n```css\n--cn-page-grid: 24px; /* The grid size, used as base line-height. Fefaults to 24px */\n\n/* Input theming */\n--cn-background-input: --color-yellow-1;\n--cn-background-legend: --color-yellow-2;\n\n--cn-background-input-focus: --color-amber-1;\n\n```\n\nAdditionally, the following CSS variables only affecting this componentn are available:\n```css\n\n```","readmeFilename":"README.md"}