Package Exports
- @shgysk8zer0/components/github/user.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shgysk8zer0/components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
components
A collection of custom elements / web components
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@0.0.9/",
"@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.0.5/all.min.js",
"@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.0.5/",
"@shgysk8zer0/konami": "https://unpkg.com/@shgysk8zer0/konami@1.0.9/konami.js",
"@shgysk8zer0/components/": "https://unpkg.com/@shgysk8zer0/components/",
"@kernvalley/components/": "https://unpkg.com/@shgysk8zer0/components/krv/",
"leaflet": "https://unpkg.com/leaflet@1.9.3/dist/leaflet-src.esm.js"
}
}
</script>