Skip to content

pantoken-root / web-components

web-components ​

Compatibility ​

Target: Web Components. Current format: Custom-element registration and button shadow output. Tested environment: Node 26.10.0 with happy-dom 20.14.5. Real-browser rendering and interaction behavior are not verified.

Full compatibility matrix

Alffa

@pantoken/web-components — rámmi‑agnostalaš custom‑elementat Instructure UI:žii.

register (automatálaš válddá browseras) deffineerá <instui-*> elementtasetti báikki custom‑element‑registrys. Ovtta elementta renderrá matchiva @pantoken/components CSS:s sihke shadow root:s; tokenat leat ovddasuođad custom‑properties mii válddegeahččat shadow‑grensa — gávdnonea @pantoken/css dáhkki dušše fuobmáš.

Lokaliseahttin UI‑sáhttit (kalendára navigašuvnnat, dátuma‑input placeholder, drilldown 'Back' tekstta) galgádeaddit locale, strings dahje dir optioneat register:in. Buorid Canvas‑parity bundla­sesttat ja registerLocalized helper eksportereannu leat maid dát paketás.

Moduála lea Node‑sávdnjalaš: elementta klassat leat deffineerut register:sis, no‑op jus DOM ii leat, nu ahte importeeret SSR:as dahje build:as ii galle čuotnuid HTMLElement.

Registrering ja skuggeutdata leat ovttasvuođain verifiserejuvvon Happy DOM:s; real-browserin geavahusat ii leat dan ovddide .

Interfáčat ​

Variáblat ​

Fuššat ​