api-viewer-element
api-viewer-element copied to clipboard
API documentation and live playground for Web Components. Based on Custom Elements Manifest format
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...
Turned out there was a bug and filtered elements were not respected in `getElementData`, resulting in a first element in the original manifest to take priority over the first in...
given ```json { "schemaVersion": "1.0.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "rh-jazz-hands.js", "declarations": [ { "kind": "class", "description": "Jazz Hands", "name": "RhJazzHands", "slots": [ { "description": "Place element...
In my case `` is being rendered into the site, but it displays the following:  What does the json file has to look like,...
CEM [recently](https://github.com/webcomponents/custom-elements-manifest/pull/89#pullrequestreview-824415393) got a `deprecated` flag on most entities. It can either be a boolean or a string deprecation reason. We should support `deprecated` in the props, slots, events, methods,...
current: ```html ``` desired (in addition to src, as an option): ```html { "schemaVersion": 1.0.0, "readme": "..." } ``` or: ```js document.querySelector('api-viewer').manifest = { "schemaVersion": 1.0.0, "readme": "..." } ```
Hi, just tried api-viewer but could not get how to pass an array to an element The element, written in lit expects a property to be passed as array. It...
Currently, we rely on prop-drilling to pass state among components. Ideally, we would use something like the [Context API Community Protocol](https://github.com/webcomponents-cg/community-protocols/blob/main/proposals/context.md) to manage state and avoid prop-drilling. This may be...
currently, knobs are stored alongside the manifest format for each member. Ideally, knobs should have their own unique data format and reference their associated members by name and type. knob...
web component may render differently than its origin html snippet (eager attributes). in such cases authors might want source to freeze this programmatic mutation of dom tree is probably an...