@shgysk8zer0/components

0.2.6 • Public • Published

components

A collection of custom elements / web components

CodeQL Node CI Lint Code Base

GitHub license GitHub last commit GitHub release GitHub Sponsors

npm NPM Unpacked Size npm

GitHub followers GitHub forks GitHub stars Twitter Follow

Donate using Liberapay


Requires @shgysk8zer0/polyfills and @shgysk8zer0/kazoo, at least via import map (use @shgysk8zer0/rollup-import). These are not included as dependencies, as it is not intended for use via npm i.

These components require modern & even experimental JS features, and the polyfills are not included here. You may need @shgysk8zer0/polyfills/elementInternals, @shgysk8zer0/polyfills/sanitizer.jsand @shgysk8zer0/trustedTypes.js at minimum (as of 5/2023). To be on the safe side, just import '@shghsk8zer0/polyfills'.

Example import map

<script type="importmap">
{
  "imports": {
    "@shgysk8zer0/kazoo/": "https://unpkg.com/@shgysk8zer0/kazoo@1.0.3/",
    "@shgysk8zer0/konami": "https://unpkg.com/@shgysk8zer0/konami@1.1.1/konami.js",
    "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.3.10/all.min.js",
    "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.3.10/",
    "@shgysk8zer0/jswaggersheets": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/swagger.js",
    "@shgysk8zer0/jswaggersheets/": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/",
    "@shgysk8zer0/jss/": "https://unpkg.com/@shgysk8zer0/jss@1.0.1/",
    "@shgysk8zer0/consts/": "https://unpkg.com/@shgysk8zer0/consts@1.0.8/",
    "@shgysk8zer0/http/": "https://unpkg.com/@shgysk8zer0/http@1.0.5/",
    "@shgysk8zer0/http-status": "https://unpkg.com/@shgysk8zer0/http-status@1.1.1/http-status.js",
    "@aegisjsproject/trusted-types": "https://unpkg.com/@aegisjsproject/trusted-types@1.0.1/bundle.min.js",
    "@aegisjsproject/trusted-types/": "https://unpkg.com/@aegisjsproject/trusted-types@1.0.1/",
    "@aegisjsproject/parsers": "https://unpkg.com/@aegisjsproject/parsers@0.0.8/bundle.min.js",
    "@aegisjsproject/parsers/": "https://unpkg.com/@aegisjsproject/parsers@0.0.8/",
    "@aegisjsproject/sanitizer": "https://unpkg.com/@aegisjsproject/sanitizer@0.1.0/sanitizer.js",
    "@aegisjsproject/sanitizer/": "https://unpkg.com/@aegisjsproject/sanitizer@0.1.0/",
    "@aegisjsproject/core": "https://unpkg.com/@aegisjsproject/core@0.2.13/core.js",
    "@aegisjsproject/core/": "https://unpkg.com/@aegisjsproject/core@0.2.13/",
    "@aegisjsproject/styles": "https://unpkg.com/@aegisjsproject/styles@0.1.1/styles.js",
    "@aegisjsproject/styles/": "https://unpkg.com/@aegisjsproject/styles@0.1.1/",
    "@aegisjsproject/component": "https://unpkg.com/@aegisjsproject/component@0.1.2/component.js",
    "@aegisjsproject/component/": "https://unpkg.com/@aegisjsproject/component@0.1.2/",
    "@aegisjsproject/markdown": "https://unpkg.com/@aegisjsproject/markdown@0.1.2/markdown.js",
    "@aegisjsproject/markdown/": "https://unpkg.com/@aegisjsproject/markdown@0.1.2/",
    "@aegisjsproject/aegis-md": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.2/aegis-md.js",
    "@aegisjsproject/aegis-md/": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.2/",
    "@shgysk8zer0/components/": "https://unpkg.com/@shgysk8zer0/components@0.2.5/",
    "@kernvalley/components/": "https://unpkg.com/@kernvalley/components@1.1.5/",
    "@webcomponents/custom-elements": "https://unpkg.com/@webcomponents/custom-elements@1.6.0/custom-elements.min.js",
    "leaflet": "https://unpkg.com/leaflet@1.9.4/dist/leaflet-src.esm.js",
    "urlpattern-polyfill": "https://unpkg.com/urlpattern-polyfill@10.0.0/index.js",
    "highlight.js": "https://unpkg.com/@highlightjs/cdn-assets@11.9.0/es/core.min.js",
    "highlight.js/": "https://unpkg.com/@highlightjs/cdn-assets@11.9.0/es/",
    "@highlightjs/cdn-assets": "https://unpkg.com/@highlightjs/cdn-assets@11.9.0/es/core.min.js",
    "@highlightjs/cdn-assets/": "https://unpkg.com/@highlightjs/cdn-assets@11.9.0/es/",
    "marked": "https://unpkg.com/marked@12.0.1/lib/marked.esm.js",
    "marked-highlight": "https://unpkg.com/marked-highlight@2.1.1/src/index.js",
    "firebase/": "https://www.gstatic.com/firebasejs/9.23.0/"
    }
}
</script>

Package Sidebar

Install

npm i @shgysk8zer0/components

Weekly Downloads

865

Version

0.2.6

License

MIT

Unpacked Size

2.4 MB

Total Files

118

Last publish

Collaborators

  • shgysk8zer0