@utrecht/web-component-library-stencil 1.0.0-alpha.21 → 1.0.0-alpha.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/dist/cjs/{index-4628fffe.js → index-8c6952a4.js} +266 -74
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/utrecht-article.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-backdrop.cjs.entry.js +21 -0
- package/dist/cjs/utrecht-badge-counter.cjs.entry.js +5 -5
- package/dist/cjs/utrecht-badge-data.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-badge-status.cjs.entry.js +4 -4
- package/dist/cjs/utrecht-breadcrumb.cjs.entry.js +23 -0
- package/dist/cjs/utrecht-button_2.cjs.entry.js +58 -0
- package/dist/cjs/utrecht-checkbox.cjs.entry.js +32 -0
- package/dist/cjs/utrecht-contact-card-template.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +52 -0
- package/dist/cjs/utrecht-digid-button.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-document.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-eherkenning-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-eidas-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +34 -0
- package/dist/cjs/utrecht-form-field-description.cjs.entry.js +22 -0
- package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +34 -0
- package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +39 -0
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js +48 -0
- package/dist/cjs/utrecht-heading-1.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading-2_3.cjs.entry.js +46 -0
- package/dist/cjs/utrecht-heading-4.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading-5.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading-6.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-html-content.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-icon-afval.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-arrow.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-checkmark.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-cross.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-error.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-facebook.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-filter.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-information.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-instagram.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-linkedin.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-list.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-loupe.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-melding.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-paspoort.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-rijbewijs.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-toeslag.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-trouwen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-twitter.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-verhuizen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-warning.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-whatsapp.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zoomin.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zoomout.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-logo-button.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-page-content.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-page-footer.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-page-header.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-page.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-pagination.cjs.entry.js +38 -0
- package/dist/cjs/utrecht-separator.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-sidenav.cjs.entry.js +4 -4
- package/dist/cjs/utrecht-textbox.cjs.entry.js +39 -0
- package/dist/cjs/utrecht.cjs.js +3 -3
- package/dist/collection/alternate-lang-nav/css/template.js +12 -0
- package/dist/collection/article/css/template.js +6 -0
- package/dist/collection/article/html/template.js +5 -0
- package/dist/collection/article/{bem.css → web-component/index.css} +12 -1
- package/dist/collection/article/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/article/web-component/template.js +1 -0
- package/dist/collection/backdrop/css/template.js +28 -0
- package/dist/collection/backdrop/web-component/index.css +33 -0
- package/dist/collection/backdrop/web-component/index.stencil.js +40 -0
- package/dist/collection/backdrop/web-component/template.js +17 -0
- package/dist/collection/badge-counter/css/template.js +7 -0
- package/dist/collection/badge-counter/{bem.css → web-component/index.css} +16 -2
- package/dist/collection/badge-counter/{stencil.js → web-component/index.stencil.js} +5 -5
- package/dist/collection/badge-counter/web-component/template.js +4 -0
- package/dist/collection/badge-data/css/template.js +6 -0
- package/dist/collection/badge-data/{bem.css → web-component/index.css} +15 -1
- package/dist/collection/badge-data/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/badge-data/web-component/template.js +1 -0
- package/dist/collection/badge-status/css/template.js +7 -0
- package/dist/collection/badge-status/{bem.css → web-component/index.css} +20 -1
- package/dist/collection/badge-status/{stencil.js → web-component/index.stencil.js} +4 -4
- package/dist/collection/badge-status/web-component/template.js +4 -0
- package/dist/collection/blockquote/css/template.js +24 -0
- package/dist/collection/blockquote/html/template.js +6 -0
- package/dist/collection/breadcrumb/css/template.js +41 -0
- package/dist/collection/breadcrumb/web-component/index.css +242 -0
- package/dist/collection/breadcrumb/web-component/index.stencil.js +62 -0
- package/dist/collection/breadcrumb/web-component/template.js +4 -0
- package/dist/collection/button/bem.js +37 -0
- package/dist/collection/button/html.js +17 -0
- package/dist/collection/button/stencil.css +106 -0
- package/dist/collection/button/stencil.js +93 -5
- package/dist/collection/button-group/css/template.js +13 -0
- package/dist/collection/button-link/css/template.js +25 -0
- package/dist/collection/checkbox/css/template.js +19 -0
- package/dist/collection/checkbox/html/template.js +14 -0
- package/dist/collection/checkbox/web-component/index.css +55 -0
- package/dist/collection/checkbox/web-component/index.stencil.js +164 -0
- package/dist/collection/checkbox/web-component/template.js +8 -0
- package/dist/collection/collection-manifest.json +62 -12
- package/dist/collection/custom-checkbox/css/template.js +46 -0
- package/dist/collection/custom-checkbox/web-component/index.css +184 -0
- package/dist/collection/custom-checkbox/web-component/index.stencil.js +205 -0
- package/dist/collection/custom-checkbox/web-component/template.js +22 -0
- package/dist/collection/digid-button/css/template.js +16 -0
- package/dist/collection/digid-button/web-component/index.css +32 -0
- package/dist/collection/digid-button/web-component/index.stencil.js +41 -0
- package/dist/collection/digid-button/web-component/template.js +1 -0
- package/dist/collection/digid-logo/web-component/index.css +18 -0
- package/dist/collection/digid-logo/web-component/index.stencil.js +23 -0
- package/dist/collection/digid-logo/web-component/template.js +1 -0
- package/dist/collection/document/web-component/index.css +33 -0
- package/dist/collection/document/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/document/web-component/template.js +1 -0
- package/dist/collection/eherkenning-logo/web-component/index.css +18 -0
- package/dist/collection/eherkenning-logo/web-component/index.stencil.js +26 -0
- package/dist/collection/eherkenning-logo/web-component/template.js +1 -0
- package/dist/collection/eidas-logo/web-component/index.css +18 -0
- package/dist/collection/eidas-logo/web-component/index.stencil.js +28 -0
- package/dist/collection/eidas-logo/web-component/template.js +1 -0
- package/dist/collection/emphasis/css/template.js +19 -0
- package/dist/collection/emphasis/html/template.js +20 -0
- package/dist/collection/favicon/html/template.js +1 -0
- package/dist/collection/form-field-checkbox/css/template.js +10 -0
- package/dist/collection/form-field-checkbox/web-component/index.css +106 -0
- package/dist/collection/form-field-checkbox/web-component/index.stencil.js +190 -0
- package/dist/collection/form-field-checkbox/web-component/template.js +18 -0
- package/dist/collection/form-field-checkbox-group/css/template.js +33 -0
- package/dist/collection/form-field-description/css/template.js +15 -0
- package/dist/collection/form-field-description/web-component/index.css +39 -0
- package/dist/collection/form-field-description/web-component/index.stencil.js +44 -0
- package/dist/collection/form-field-description/web-component/template.js +4 -0
- package/dist/collection/form-field-radio/css/template.js +10 -0
- package/dist/collection/form-field-radio-group/css/template.js +20 -0
- package/dist/collection/form-field-textarea/web-component/index.css +128 -0
- package/dist/collection/form-field-textarea/web-component/index.stencil.js +205 -0
- package/dist/collection/form-field-textarea/web-component/template.js +14 -0
- package/dist/collection/form-field-textbox/web-component/index.css +135 -0
- package/dist/collection/form-field-textbox/web-component/index.stencil.js +300 -0
- package/dist/collection/form-field-textbox/web-component/template.js +21 -0
- package/dist/collection/form-fieldset/css/template.js +10 -0
- package/dist/collection/form-fieldset/html/template.js +12 -0
- package/dist/collection/form-label/css/template.js +22 -0
- package/dist/collection/form-label/html/template.js +5 -0
- package/dist/collection/form-toggle/css/template.js +47 -0
- package/dist/collection/form-toggle/web-component/index.css +115 -0
- package/dist/collection/form-toggle/web-component/index.stencil.js +148 -0
- package/dist/collection/form-toggle/web-component/template.js +7 -0
- package/dist/collection/heading/{bem.css → web-component/index.css} +72 -37
- package/dist/collection/heading/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/heading/web-component/template.js +4 -0
- package/dist/collection/heading-1/css/template.js +11 -0
- package/dist/collection/heading-1/html/template.js +4 -0
- package/dist/collection/heading-1/web-component/index.css +34 -0
- package/dist/collection/heading-1/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-1/web-component/template.js +4 -0
- package/dist/collection/heading-2/css/template.js +11 -0
- package/dist/collection/heading-2/html/template.js +4 -0
- package/dist/collection/heading-2/web-component/index.css +34 -0
- package/dist/collection/heading-2/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-2/web-component/template.js +4 -0
- package/dist/collection/heading-3/css/template.js +11 -0
- package/dist/collection/heading-3/html/template.js +4 -0
- package/dist/collection/heading-3/web-component/index.css +34 -0
- package/dist/collection/heading-3/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-3/web-component/template.js +4 -0
- package/dist/collection/heading-4/css/template.js +11 -0
- package/dist/collection/heading-4/html/template.js +4 -0
- package/dist/collection/heading-4/web-component/index.css +34 -0
- package/dist/collection/heading-4/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-4/web-component/template.js +4 -0
- package/dist/collection/heading-5/css/template.js +11 -0
- package/dist/collection/heading-5/html/template.js +4 -0
- package/dist/collection/heading-5/web-component/index.css +34 -0
- package/dist/collection/heading-5/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-5/web-component/template.js +4 -0
- package/dist/collection/heading-6/css/template.js +11 -0
- package/dist/collection/heading-6/html/template.js +4 -0
- package/dist/collection/heading-6/web-component/index.css +34 -0
- package/dist/collection/heading-6/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-6/web-component/template.js +4 -0
- package/dist/collection/html-content/stencil.css +1209 -0
- package/dist/collection/html-content/stencil.js +3 -3
- package/dist/collection/icon/dist/afval.svg +1 -0
- package/dist/collection/icon/dist/arrow.svg +1 -0
- package/dist/collection/icon/dist/checkmark.svg +1 -0
- package/dist/collection/icon/dist/cross.svg +1 -0
- package/dist/collection/icon/dist/error.svg +1 -0
- package/dist/collection/icon/dist/facebook.svg +1 -0
- package/dist/collection/icon/dist/filter.svg +1 -0
- package/dist/collection/icon/dist/information.svg +1 -0
- package/dist/collection/icon/dist/instagram.svg +1 -0
- package/dist/collection/icon/dist/linkedin.svg +1 -0
- package/dist/collection/icon/dist/list.svg +1 -0
- package/dist/collection/icon/dist/loupe.svg +1 -0
- package/dist/collection/icon/dist/melding.svg +1 -0
- package/dist/collection/icon/dist/paspoort.svg +1 -0
- package/dist/collection/icon/dist/rijbewijs.svg +1 -0
- package/dist/collection/icon/dist/toeslag.svg +1 -0
- package/dist/collection/icon/dist/trouwen.svg +1 -0
- package/dist/collection/icon/dist/twitter.svg +1 -0
- package/dist/collection/icon/dist/verhuizen.svg +1 -0
- package/dist/collection/icon/dist/warning.svg +1 -0
- package/dist/collection/icon/dist/whatsapp.svg +1 -0
- package/dist/collection/icon/dist/zoomin.svg +1 -0
- package/dist/collection/icon/dist/zoomout.svg +1 -0
- package/dist/collection/icon/svg/afval.svg +7 -0
- package/dist/collection/icon/svg/arrow.svg +9 -0
- package/dist/collection/icon/svg/checkmark.svg +9 -0
- package/dist/collection/icon/svg/cross.svg +9 -0
- package/dist/collection/icon/svg/error.svg +15 -0
- package/dist/collection/icon/svg/facebook.svg +9 -0
- package/dist/collection/icon/svg/filter.svg +6 -0
- package/dist/collection/icon/svg/information.svg +14 -0
- package/dist/collection/icon/svg/instagram.svg +16 -0
- package/dist/collection/icon/svg/linkedin.svg +14 -0
- package/dist/collection/icon/svg/list.svg +9 -0
- package/dist/collection/icon/svg/loupe.svg +11 -0
- package/dist/collection/icon/svg/melding.svg +5 -0
- package/dist/collection/icon/svg/paspoort.svg +5 -0
- package/dist/collection/icon/svg/rijbewijs.svg +8 -0
- package/dist/collection/icon/svg/toeslag.svg +5 -0
- package/dist/collection/icon/svg/trouwen.svg +4 -0
- package/dist/collection/icon/svg/twitter.svg +9 -0
- package/dist/collection/icon/svg/verhuizen.svg +9 -0
- package/dist/collection/icon/svg/warning.svg +19 -0
- package/dist/collection/icon/svg/whatsapp.svg +9 -0
- package/dist/collection/icon/svg/zoomin.svg +13 -0
- package/dist/collection/icon/svg/zoomout.svg +9 -0
- package/dist/collection/icon/web-component/afval.stencil.js +19 -0
- package/dist/collection/icon/web-component/arrow.stencil.js +17 -0
- package/dist/collection/icon/web-component/checkmark.stencil.js +16 -0
- package/dist/collection/icon/web-component/cross.stencil.js +17 -0
- package/dist/collection/icon/web-component/error.stencil.js +18 -0
- package/dist/collection/icon/web-component/facebook.stencil.js +17 -0
- package/dist/collection/icon/web-component/filter.stencil.js +18 -0
- package/dist/collection/icon/web-component/index.css +20 -0
- package/dist/collection/icon/web-component/information.stencil.js +19 -0
- package/dist/collection/icon/web-component/instagram.stencil.js +19 -0
- package/dist/collection/icon/web-component/linkedin.stencil.js +18 -0
- package/dist/collection/icon/web-component/list.stencil.js +21 -0
- package/dist/collection/icon/web-component/loupe.stencil.js +17 -0
- package/dist/collection/icon/web-component/melding.stencil.js +17 -0
- package/dist/collection/icon/web-component/paspoort.stencil.js +17 -0
- package/dist/collection/icon/web-component/rijbewijs.stencil.js +20 -0
- package/dist/collection/icon/web-component/template.js +7 -0
- package/dist/collection/icon/web-component/toeslag.stencil.js +17 -0
- package/dist/collection/icon/web-component/trouwen.stencil.js +16 -0
- package/dist/collection/icon/web-component/twitter.stencil.js +17 -0
- package/dist/collection/icon/web-component/verhuizen.stencil.js +21 -0
- package/dist/collection/icon/web-component/warning.stencil.js +19 -0
- package/dist/collection/icon/web-component/whatsapp.stencil.js +17 -0
- package/dist/collection/icon/web-component/zoomin.stencil.js +18 -0
- package/dist/collection/icon/web-component/zoomout.stencil.js +17 -0
- package/dist/collection/link/css/template.js +57 -0
- package/dist/collection/link/html/template.js +11 -0
- package/dist/collection/link-button/css/template.js +42 -0
- package/dist/collection/link-list/css/template.js +10 -0
- package/dist/collection/link-social/css/template.js +20 -0
- package/dist/collection/logo/css/template.js +33 -0
- package/dist/collection/logo/web-component/index.css +33 -0
- package/dist/collection/logo/web-component/index.stencil.js +26 -0
- package/dist/collection/logo/web-component/template.js +1 -0
- package/dist/collection/logo-button/css/template.js +17 -0
- package/dist/collection/logo-button/web-component/index.css +31 -0
- package/dist/collection/logo-button/web-component/index.stencil.js +41 -0
- package/dist/collection/logo-button/web-component/template.js +1 -0
- package/dist/collection/mapcontrolbutton/css/template.js +34 -0
- package/dist/collection/menulijst/css/template.js +18 -0
- package/dist/collection/navigatie sidenav/css/template.js +69 -0
- package/dist/collection/navigatie sidenav/web-component/index.css +189 -0
- package/dist/collection/navigatie sidenav/web-component/index.stencil.js +45 -0
- package/dist/collection/navigatie sidenav/web-component/template.js +1 -0
- package/dist/collection/navigatie topnav/css/template.js +26 -0
- package/dist/collection/node_modules/@trysound/sax/lib/sax.js +1413 -0
- package/dist/collection/node_modules/commander/index.js +2217 -0
- package/dist/collection/node_modules/css-tree/data/index.js +103 -0
- package/dist/collection/node_modules/css-tree/dist/csstree.js +12606 -0
- package/dist/collection/node_modules/css-tree/dist/csstree.min.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/common/List.js +576 -0
- package/dist/collection/node_modules/css-tree/lib/common/OffsetToLocation.js +91 -0
- package/dist/collection/node_modules/css-tree/lib/common/SyntaxError.js +82 -0
- package/dist/collection/node_modules/css-tree/lib/common/TokenStream.js +219 -0
- package/dist/collection/node_modules/css-tree/lib/common/adopt-buffer.js +10 -0
- package/dist/collection/node_modules/css-tree/lib/convertor/create.js +28 -0
- package/dist/collection/node_modules/css-tree/lib/convertor/index.js +3 -0
- package/dist/collection/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +14 -0
- package/dist/collection/node_modules/css-tree/lib/definition-syntax/generate.js +129 -0
- package/dist/collection/node_modules/css-tree/lib/definition-syntax/index.js +6 -0
- package/dist/collection/node_modules/css-tree/lib/definition-syntax/parse.js +568 -0
- package/dist/collection/node_modules/css-tree/lib/definition-syntax/tokenizer.js +55 -0
- package/dist/collection/node_modules/css-tree/lib/definition-syntax/walk.js +52 -0
- package/dist/collection/node_modules/css-tree/lib/generator/create.js +66 -0
- package/dist/collection/node_modules/css-tree/lib/generator/index.js +4 -0
- package/dist/collection/node_modules/css-tree/lib/generator/sourceMap.js +95 -0
- package/dist/collection/node_modules/css-tree/lib/index.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/Lexer.js +466 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/error.js +127 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +236 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/generic-urange.js +159 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/generic.js +585 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/index.js +3 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/match-graph.js +455 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/match.js +639 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/prepare-tokens.js +73 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/search.js +65 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/structure.js +163 -0
- package/dist/collection/node_modules/css-tree/lib/lexer/trace.js +79 -0
- package/dist/collection/node_modules/css-tree/lib/parser/create.js +304 -0
- package/dist/collection/node_modules/css-tree/lib/parser/index.js +4 -0
- package/dist/collection/node_modules/css-tree/lib/parser/sequence.js +54 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/atrule/font-face.js +8 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/atrule/import.js +40 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/atrule/index.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/atrule/media.js +12 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/atrule/page.js +12 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/atrule/supports.js +89 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/config/lexer.js +9 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/config/mix.js +140 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/config/parser.js +25 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/config/walker.js +3 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/create.js +77 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/function/expression.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/function/var.js +43 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/index.js +21 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/AnPlusB.js +297 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Atrule.js +107 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +51 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +165 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Block.js +91 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Brackets.js +34 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/CDC.js +19 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/CDO.js +19 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/ClassSelector.js +29 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Combinator.js +55 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Comment.js +36 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Declaration.js +169 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/DeclarationList.js +49 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Dimension.js +29 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Function.js +40 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Hash.js +26 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/IdSelector.js +27 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Identifier.js +20 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/MediaFeature.js +76 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/MediaQuery.js +68 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +36 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Nth.js +51 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Number.js +18 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Operator.js +21 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Parentheses.js +34 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Percentage.js +27 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +61 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +62 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Ratio.js +66 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Raw.js +87 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Rule.js +54 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Selector.js +32 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/SelectorList.js +39 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/String.js +18 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/StyleSheet.js +81 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/TypeSelector.js +53 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +173 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Url.js +69 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/Value.js +19 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +26 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/node/index.js +42 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +9 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +9 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/dir.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/has.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/index.js +12 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/lang.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/matches.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/not.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +1 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/slotted.js +7 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +3 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/scope/default.js +87 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/scope/index.js +5 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/scope/selector.js +80 -0
- package/dist/collection/node_modules/css-tree/lib/syntax/scope/value.js +5 -0
- package/dist/collection/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +249 -0
- package/dist/collection/node_modules/css-tree/lib/tokenizer/const.js +40 -0
- package/dist/collection/node_modules/css-tree/lib/tokenizer/index.js +591 -0
- package/dist/collection/node_modules/css-tree/lib/tokenizer/utils.js +243 -0
- package/dist/collection/node_modules/css-tree/lib/utils/clone.js +21 -0
- package/dist/collection/node_modules/css-tree/lib/utils/createCustomError.js +17 -0
- package/dist/collection/node_modules/css-tree/lib/utils/names.js +104 -0
- package/dist/collection/node_modules/css-tree/lib/walker/create.js +284 -0
- package/dist/collection/node_modules/css-tree/lib/walker/index.js +4 -0
- package/dist/collection/node_modules/mdn-data/api/index.js +3 -0
- package/dist/collection/node_modules/mdn-data/css/index.js +8 -0
- package/dist/collection/node_modules/mdn-data/index.js +5 -0
- package/dist/collection/node_modules/mdn-data/l10n/index.js +3 -0
- package/dist/collection/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/dist/collection/node_modules/source-map/dist/source-map.js +3233 -0
- package/dist/collection/node_modules/source-map/dist/source-map.min.js +2 -0
- package/dist/collection/node_modules/source-map/lib/array-set.js +121 -0
- package/dist/collection/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/dist/collection/node_modules/source-map/lib/base64.js +67 -0
- package/dist/collection/node_modules/source-map/lib/binary-search.js +111 -0
- package/dist/collection/node_modules/source-map/lib/mapping-list.js +79 -0
- package/dist/collection/node_modules/source-map/lib/quick-sort.js +114 -0
- package/dist/collection/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/dist/collection/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/dist/collection/node_modules/source-map/lib/source-node.js +413 -0
- package/dist/collection/node_modules/source-map/lib/util.js +488 -0
- package/dist/collection/node_modules/source-map/source-map.js +8 -0
- package/dist/collection/node_modules/svgo/dist/svgo.browser.js +1 -0
- package/dist/collection/node_modules/svgo/lib/css-tools.js +239 -0
- package/dist/collection/node_modules/svgo/lib/parser.js +259 -0
- package/dist/collection/node_modules/svgo/lib/path.js +347 -0
- package/dist/collection/node_modules/svgo/lib/stringifier.js +326 -0
- package/dist/collection/node_modules/svgo/lib/style.js +283 -0
- package/dist/collection/node_modules/svgo/lib/svgo/coa.js +517 -0
- package/dist/collection/node_modules/svgo/lib/svgo/config.js +138 -0
- package/dist/collection/node_modules/svgo/lib/svgo/css-class-list.js +72 -0
- package/dist/collection/node_modules/svgo/lib/svgo/css-select-adapter.js +120 -0
- package/dist/collection/node_modules/svgo/lib/svgo/css-style-declaration.js +232 -0
- package/dist/collection/node_modules/svgo/lib/svgo/jsAPI.js +443 -0
- package/dist/collection/node_modules/svgo/lib/svgo/plugins.js +109 -0
- package/dist/collection/node_modules/svgo/lib/svgo/tools.js +137 -0
- package/dist/collection/node_modules/svgo/lib/svgo-node.js +106 -0
- package/dist/collection/node_modules/svgo/lib/svgo.js +83 -0
- package/dist/collection/node_modules/svgo/lib/xast.js +102 -0
- package/dist/collection/node_modules/svgo/plugins/_applyTransforms.js +335 -0
- package/dist/collection/node_modules/svgo/plugins/_collections.js +2168 -0
- package/dist/collection/node_modules/svgo/plugins/_path.js +816 -0
- package/dist/collection/node_modules/svgo/plugins/_transforms.js +379 -0
- package/dist/collection/node_modules/svgo/plugins/addAttributesToSVGElement.js +87 -0
- package/dist/collection/node_modules/svgo/plugins/addClassesToSVGElement.js +87 -0
- package/dist/collection/node_modules/svgo/plugins/cleanupAttrs.js +55 -0
- package/dist/collection/node_modules/svgo/plugins/cleanupEnableBackground.js +75 -0
- package/dist/collection/node_modules/svgo/plugins/cleanupIDs.js +297 -0
- package/dist/collection/node_modules/svgo/plugins/cleanupListOfValues.js +154 -0
- package/dist/collection/node_modules/svgo/plugins/cleanupNumericValues.js +113 -0
- package/dist/collection/node_modules/svgo/plugins/collapseGroups.js +135 -0
- package/dist/collection/node_modules/svgo/plugins/convertColors.js +152 -0
- package/dist/collection/node_modules/svgo/plugins/convertEllipseToCircle.js +39 -0
- package/dist/collection/node_modules/svgo/plugins/convertPathData.js +1023 -0
- package/dist/collection/node_modules/svgo/plugins/convertShapeToPath.js +175 -0
- package/dist/collection/node_modules/svgo/plugins/convertStyleToAttrs.js +132 -0
- package/dist/collection/node_modules/svgo/plugins/convertTransform.js +432 -0
- package/dist/collection/node_modules/svgo/plugins/inlineStyles.js +379 -0
- package/dist/collection/node_modules/svgo/plugins/mergePaths.js +104 -0
- package/dist/collection/node_modules/svgo/plugins/mergeStyles.js +93 -0
- package/dist/collection/node_modules/svgo/plugins/minifyStyles.js +148 -0
- package/dist/collection/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +130 -0
- package/dist/collection/node_modules/svgo/plugins/moveGroupAttrsToElems.js +62 -0
- package/dist/collection/node_modules/svgo/plugins/plugins.js +56 -0
- package/dist/collection/node_modules/svgo/plugins/prefixIds.js +241 -0
- package/dist/collection/node_modules/svgo/plugins/preset-default.js +80 -0
- package/dist/collection/node_modules/svgo/plugins/removeAttributesBySelector.js +99 -0
- package/dist/collection/node_modules/svgo/plugins/removeAttrs.js +159 -0
- package/dist/collection/node_modules/svgo/plugins/removeComments.js +31 -0
- package/dist/collection/node_modules/svgo/plugins/removeDesc.js +41 -0
- package/dist/collection/node_modules/svgo/plugins/removeDimensions.js +43 -0
- package/dist/collection/node_modules/svgo/plugins/removeDoctype.js +42 -0
- package/dist/collection/node_modules/svgo/plugins/removeEditorsNSData.js +68 -0
- package/dist/collection/node_modules/svgo/plugins/removeElementsByAttr.js +78 -0
- package/dist/collection/node_modules/svgo/plugins/removeEmptyAttrs.js +33 -0
- package/dist/collection/node_modules/svgo/plugins/removeEmptyContainers.js +58 -0
- package/dist/collection/node_modules/svgo/plugins/removeEmptyText.js +57 -0
- package/dist/collection/node_modules/svgo/plugins/removeHiddenElems.js +318 -0
- package/dist/collection/node_modules/svgo/plugins/removeMetadata.js +29 -0
- package/dist/collection/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +38 -0
- package/dist/collection/node_modules/svgo/plugins/removeOffCanvasPaths.js +138 -0
- package/dist/collection/node_modules/svgo/plugins/removeRasterImages.js +33 -0
- package/dist/collection/node_modules/svgo/plugins/removeScriptElement.js +29 -0
- package/dist/collection/node_modules/svgo/plugins/removeStyleElement.js +29 -0
- package/dist/collection/node_modules/svgo/plugins/removeTitle.js +29 -0
- package/dist/collection/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +218 -0
- package/dist/collection/node_modules/svgo/plugins/removeUnusedNS.js +61 -0
- package/dist/collection/node_modules/svgo/plugins/removeUselessDefs.js +65 -0
- package/dist/collection/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +144 -0
- package/dist/collection/node_modules/svgo/plugins/removeViewBox.js +51 -0
- package/dist/collection/node_modules/svgo/plugins/removeXMLNS.js +30 -0
- package/dist/collection/node_modules/svgo/plugins/removeXMLProcInst.js +30 -0
- package/dist/collection/node_modules/svgo/plugins/reusePaths.js +113 -0
- package/dist/collection/node_modules/svgo/plugins/sortAttrs.js +113 -0
- package/dist/collection/node_modules/svgo/plugins/sortDefsChildren.js +60 -0
- package/dist/collection/ordered-list/css/template.js +11 -0
- package/dist/collection/ordered-list/html/template.js +17 -0
- package/dist/collection/page/css/template.js +6 -0
- package/dist/collection/page/web-component/index.css +30 -0
- package/dist/collection/page/web-component/index.stencil.js +20 -0
- package/dist/collection/page/web-component/template.js +5 -0
- package/dist/collection/page-content/css/template.js +10 -0
- package/dist/collection/page-content/web-component/index.css +31 -0
- package/dist/collection/page-content/web-component/index.stencil.js +20 -0
- package/dist/collection/page-content/web-component/template.js +1 -0
- package/dist/collection/page-footer/css/template.js +7 -0
- package/dist/collection/page-footer/{bem.css → web-component/index.css} +30 -12
- package/dist/collection/page-footer/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/page-footer/web-component/template.js +1 -0
- package/dist/collection/page-header/css/template.js +6 -0
- package/dist/collection/page-header/web-component/index.css +30 -0
- package/dist/collection/page-header/web-component/stencil.js +20 -0
- package/dist/collection/page-header/web-component/template.js +1 -0
- package/dist/collection/pagination/css/template.js +54 -0
- package/dist/collection/pagination/web-component/index.css +118 -0
- package/dist/collection/pagination/web-component/index.stencil.js +110 -0
- package/dist/collection/pagination/web-component/template.js +7 -0
- package/dist/collection/paragraph/css/template.js +22 -0
- package/dist/collection/paragraph/html/template.js +11 -0
- package/dist/collection/paragraph/{bem.css → web-component/index.css} +18 -3
- package/dist/collection/paragraph/{stencil.js → web-component/index.stencil.js} +5 -5
- package/dist/collection/paragraph/web-component/template.js +12 -0
- package/dist/collection/pre-heading/css/template.js +15 -0
- package/dist/collection/radio-button/css/template.js +19 -0
- package/dist/collection/radio-button/html/template.js +19 -0
- package/dist/collection/search-bar/css/template.js +15 -0
- package/dist/collection/select/css/template.js +39 -0
- package/dist/collection/select/html/template.js +26 -0
- package/dist/collection/separator/css/template.js +16 -0
- package/dist/collection/separator/html/template.js +4 -0
- package/dist/collection/separator/{bem.css → web-component/index.css} +18 -4
- package/dist/collection/separator/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/separator/web-component/template.js +1 -0
- package/dist/collection/surface/css/template.js +8 -0
- package/dist/collection/table/html/template.js +41 -0
- package/dist/collection/templates/contact-card-template/css/template.js +30 -0
- package/dist/collection/templates/contact-card-template/web-component/index.css +178 -0
- package/dist/collection/templates/contact-card-template/web-component/index.stencil.js +25 -0
- package/dist/collection/templates/contact-card-template/web-component/template.js +1 -0
- package/dist/collection/textarea/css/template.js +35 -0
- package/dist/collection/textarea/html/template.js +20 -0
- package/dist/collection/textbox/css/template.js +37 -0
- package/dist/collection/textbox/html/template.js +36 -0
- package/dist/collection/textbox/web-component/index.css +98 -0
- package/dist/collection/textbox/web-component/index.stencil.js +297 -0
- package/dist/collection/textbox/web-component/template.js +20 -0
- package/dist/collection/toptask-link/css/template.js +33 -0
- package/dist/collection/toptask-nav/css/template.js +50 -0
- package/dist/collection/unordered-list/css/template.js +28 -0
- package/dist/collection/unordered-list/html/template.js +22 -0
- package/dist/collection/url/css/template.js +14 -0
- package/dist/custom-elements/index.d.ts +300 -0
- package/dist/custom-elements/index.js +1075 -88
- package/dist/esm/{index-73546a7d.js → index-86b2856e.js} +265 -75
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/utrecht-article.entry.js +3 -3
- package/dist/esm/utrecht-backdrop.entry.js +17 -0
- package/dist/esm/utrecht-badge-counter.entry.js +5 -5
- package/dist/esm/utrecht-badge-data.entry.js +3 -3
- package/dist/esm/utrecht-badge-status.entry.js +4 -4
- package/dist/esm/utrecht-breadcrumb.entry.js +19 -0
- package/dist/esm/utrecht-button_2.entry.js +53 -0
- package/dist/esm/utrecht-checkbox.entry.js +28 -0
- package/dist/esm/utrecht-contact-card-template.entry.js +15 -0
- package/dist/esm/utrecht-custom-checkbox.entry.js +48 -0
- package/dist/esm/utrecht-digid-button.entry.js +15 -0
- package/dist/esm/utrecht-document.entry.js +3 -3
- package/dist/esm/utrecht-eherkenning-logo.entry.js +15 -0
- package/dist/esm/utrecht-eidas-logo.entry.js +15 -0
- package/dist/esm/utrecht-form-field-checkbox.entry.js +30 -0
- package/dist/esm/utrecht-form-field-description.entry.js +18 -0
- package/dist/esm/utrecht-form-field-textarea.entry.js +30 -0
- package/dist/esm/utrecht-form-field-textbox.entry.js +35 -0
- package/dist/esm/utrecht-form-toggle.entry.js +44 -0
- package/dist/esm/utrecht-heading-1.entry.js +15 -0
- package/dist/esm/utrecht-heading-2_3.entry.js +40 -0
- package/dist/esm/utrecht-heading-4.entry.js +15 -0
- package/dist/esm/utrecht-heading-5.entry.js +15 -0
- package/dist/esm/utrecht-heading-6.entry.js +15 -0
- package/dist/esm/utrecht-heading.entry.js +3 -3
- package/dist/esm/utrecht-html-content.entry.js +3 -3
- package/dist/esm/utrecht-icon-afval.entry.js +15 -0
- package/dist/esm/utrecht-icon-arrow.entry.js +15 -0
- package/dist/esm/utrecht-icon-checkmark.entry.js +15 -0
- package/dist/esm/utrecht-icon-cross.entry.js +15 -0
- package/dist/esm/utrecht-icon-error.entry.js +15 -0
- package/dist/esm/utrecht-icon-facebook.entry.js +15 -0
- package/dist/esm/utrecht-icon-filter.entry.js +15 -0
- package/dist/esm/utrecht-icon-information.entry.js +15 -0
- package/dist/esm/utrecht-icon-instagram.entry.js +15 -0
- package/dist/esm/utrecht-icon-linkedin.entry.js +15 -0
- package/dist/esm/utrecht-icon-list.entry.js +15 -0
- package/dist/esm/utrecht-icon-loupe.entry.js +15 -0
- package/dist/esm/utrecht-icon-melding.entry.js +15 -0
- package/dist/esm/utrecht-icon-paspoort.entry.js +15 -0
- package/dist/esm/utrecht-icon-rijbewijs.entry.js +15 -0
- package/dist/esm/utrecht-icon-toeslag.entry.js +15 -0
- package/dist/esm/utrecht-icon-trouwen.entry.js +15 -0
- package/dist/esm/utrecht-icon-twitter.entry.js +15 -0
- package/dist/esm/utrecht-icon-verhuizen.entry.js +15 -0
- package/dist/esm/utrecht-icon-warning.entry.js +15 -0
- package/dist/esm/utrecht-icon-whatsapp.entry.js +15 -0
- package/dist/esm/utrecht-icon-zoomin.entry.js +15 -0
- package/dist/esm/utrecht-icon-zoomout.entry.js +15 -0
- package/dist/esm/utrecht-logo-button.entry.js +15 -0
- package/dist/esm/utrecht-logo.entry.js +15 -0
- package/dist/esm/utrecht-page-content.entry.js +15 -0
- package/dist/esm/utrecht-page-footer.entry.js +3 -3
- package/dist/esm/utrecht-page-header.entry.js +15 -0
- package/dist/esm/utrecht-page.entry.js +15 -0
- package/dist/esm/utrecht-pagination.entry.js +34 -0
- package/dist/esm/utrecht-separator.entry.js +3 -3
- package/dist/esm/utrecht-sidenav.entry.js +4 -4
- package/dist/esm/utrecht-textbox.entry.js +35 -0
- package/dist/esm/utrecht.js +3 -3
- package/dist/types/article/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/backdrop/web-component/index.stencil.d.ts +4 -0
- package/dist/types/badge-counter/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/badge-data/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/badge-status/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/breadcrumb/web-component/index.stencil.d.ts +5 -0
- package/dist/types/button/stencil.d.ts +6 -0
- package/dist/types/checkbox/web-component/index.stencil.d.ts +16 -0
- package/dist/types/components.d.ts +792 -0
- package/dist/types/custom-checkbox/web-component/index.stencil.d.ts +17 -0
- package/dist/types/digid-button/web-component/index.stencil.d.ts +9 -0
- package/dist/types/digid-logo/web-component/index.stencil.d.ts +8 -0
- package/dist/types/document/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/eherkenning-logo/web-component/index.stencil.d.ts +8 -0
- package/dist/types/eidas-logo/web-component/index.stencil.d.ts +8 -0
- package/dist/types/form-field-checkbox/web-component/index.stencil.d.ts +18 -0
- package/dist/types/form-field-description/web-component/index.stencil.d.ts +8 -0
- package/dist/types/form-field-textarea/web-component/index.stencil.d.ts +18 -0
- package/dist/types/form-field-textbox/web-component/index.stencil.d.ts +23 -0
- package/dist/types/form-toggle/web-component/index.stencil.d.ts +14 -0
- package/dist/types/heading/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-1/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-2/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-3/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-4/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-5/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-6/web-component/index.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/afval.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/arrow.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/checkmark.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/cross.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/error.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/facebook.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/filter.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/information.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/instagram.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/linkedin.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/list.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/loupe.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/melding.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/paspoort.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/rijbewijs.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/toeslag.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/trouwen.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/twitter.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/verhuizen.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/warning.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/whatsapp.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/zoomin.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/zoomout.stencil.d.ts +3 -0
- package/dist/types/logo/web-component/index.stencil.d.ts +7 -0
- package/dist/types/logo-button/web-component/index.stencil.d.ts +9 -0
- package/dist/types/navigatie sidenav/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/page/web-component/index.stencil.d.ts +7 -0
- package/dist/types/page-content/web-component/index.stencil.d.ts +7 -0
- package/dist/types/page-footer/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/page-header/web-component/stencil.d.ts +7 -0
- package/dist/types/pagination/web-component/index.stencil.d.ts +11 -0
- package/dist/types/paragraph/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/separator/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/stencil-public-runtime.d.ts +189 -186
- package/dist/types/templates/contact-card-template/web-component/index.stencil.d.ts +3 -0
- package/dist/types/textbox/web-component/index.stencil.d.ts +23 -0
- package/dist/utrecht/p-02a37490.entry.js +1 -0
- package/dist/utrecht/p-06370f11.entry.js +1 -0
- package/dist/utrecht/p-0babe0e1.entry.js +1 -0
- package/dist/utrecht/p-0bd956aa.entry.js +1 -0
- package/dist/utrecht/p-0de41080.entry.js +1 -0
- package/dist/utrecht/p-0dff1f3a.entry.js +1 -0
- package/dist/utrecht/p-10ed9dbc.entry.js +1 -0
- package/dist/utrecht/p-1d6f6429.entry.js +1 -0
- package/dist/utrecht/p-1e2310d5.entry.js +1 -0
- package/dist/utrecht/p-20ed6fc5.entry.js +1 -0
- package/dist/utrecht/p-22b0b0ab.entry.js +1 -0
- package/dist/utrecht/p-24f6df95.entry.js +1 -0
- package/dist/utrecht/p-28d9ca01.entry.js +1 -0
- package/dist/utrecht/p-33460a3c.entry.js +1 -0
- package/dist/utrecht/p-3d9f0a68.entry.js +1 -0
- package/dist/utrecht/p-450b6c65.entry.js +1 -0
- package/dist/utrecht/p-45462b1b.entry.js +1 -0
- package/dist/utrecht/p-494a2de2.entry.js +1 -0
- package/dist/utrecht/p-4992cc17.entry.js +1 -0
- package/dist/utrecht/p-52b840b4.entry.js +1 -0
- package/dist/utrecht/p-5a1ae611.entry.js +1 -0
- package/dist/utrecht/p-64b8a7bd.entry.js +1 -0
- package/dist/utrecht/p-6c34702d.entry.js +1 -0
- package/dist/utrecht/p-706f3a46.entry.js +1 -0
- package/dist/utrecht/p-78c8320a.entry.js +1 -0
- package/dist/utrecht/p-7a694b68.entry.js +1 -0
- package/dist/utrecht/p-7bb345f1.entry.js +1 -0
- package/dist/utrecht/p-7e3395e4.entry.js +1 -0
- package/dist/utrecht/p-8410a51f.entry.js +1 -0
- package/dist/utrecht/p-844a51cd.entry.js +1 -0
- package/dist/utrecht/p-847f24f7.entry.js +1 -0
- package/dist/utrecht/p-8ca6b8b1.js +1 -0
- package/dist/utrecht/p-8d742d31.entry.js +1 -0
- package/dist/utrecht/p-9f71d7ad.entry.js +1 -0
- package/dist/utrecht/p-a3ba8266.entry.js +1 -0
- package/dist/utrecht/p-a6e74d71.entry.js +1 -0
- package/dist/utrecht/p-a9446486.entry.js +1 -0
- package/dist/utrecht/p-aa3e8f73.entry.js +1 -0
- package/dist/utrecht/p-aa7f0306.entry.js +1 -0
- package/dist/utrecht/p-afd9a538.entry.js +1 -0
- package/dist/utrecht/p-b34cf79e.entry.js +1 -0
- package/dist/utrecht/p-b51a7258.entry.js +1 -0
- package/dist/utrecht/p-b7635555.entry.js +1 -0
- package/dist/utrecht/p-b97f0d95.entry.js +1 -0
- package/dist/utrecht/p-c0b17517.entry.js +1 -0
- package/dist/utrecht/p-c7c1b303.entry.js +1 -0
- package/dist/utrecht/p-ce352a8d.entry.js +1 -0
- package/dist/utrecht/p-cf06abf1.entry.js +1 -0
- package/dist/utrecht/p-d503851f.entry.js +1 -0
- package/dist/utrecht/p-d7c2ff02.entry.js +1 -0
- package/dist/utrecht/p-dad5dcf5.entry.js +1 -0
- package/dist/utrecht/p-dbfb3e72.entry.js +1 -0
- package/dist/utrecht/p-e24992e2.entry.js +1 -0
- package/dist/utrecht/p-e94ddc39.entry.js +1 -0
- package/dist/utrecht/p-ea583d80.entry.js +1 -0
- package/dist/utrecht/p-edcc904a.entry.js +1 -0
- package/dist/utrecht/p-f430397a.entry.js +1 -0
- package/dist/utrecht/p-f5aec0d3.entry.js +1 -0
- package/dist/utrecht/p-f6477f7f.entry.js +1 -0
- package/dist/utrecht/p-fa00a874.entry.js +1 -0
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/loader/index.d.ts +0 -1
- package/package.json +17 -9
- package/dist/article/stencil.js +0 -21
- package/dist/badge-counter/stencil.js +0 -37
- package/dist/badge-data/stencil.js +0 -25
- package/dist/badge-status/stencil.js +0 -28
- package/dist/button/stencil.js +0 -25
- package/dist/cjs/utrecht-button.cjs.entry.js +0 -20
- package/dist/cjs/utrecht-paragraph.cjs.entry.js +0 -20
- package/dist/collection/button/bem.css +0 -48
- package/dist/collection/document/bem.css +0 -12
- package/dist/collection/html-content/html.css +0 -633
- package/dist/collection/menulijst/pijltje.svg +0 -1
- package/dist/collection/navigatie sidenav/bem.css +0 -248
- package/dist/collection/navigatie sidenav/stencil.js +0 -40
- package/dist/document/stencil.js +0 -21
- package/dist/esm/utrecht-button.entry.js +0 -16
- package/dist/esm/utrecht-paragraph.entry.js +0 -16
- package/dist/heading/stencil.js +0 -50
- package/dist/html-content/stencil.js +0 -25
- package/dist/navigatie sidenav/stencil.js +0 -30
- package/dist/page-footer/stencil.js +0 -25
- package/dist/paragraph/stencil.js +0 -25
- package/dist/separator/stencil.js +0 -20
- package/dist/utrecht/p-3a69515b.entry.js +0 -1
- package/dist/utrecht/p-6f35490c.entry.js +0 -1
- package/dist/utrecht/p-7157cce8.entry.js +0 -1
- package/dist/utrecht/p-7603f427.entry.js +0 -1
- package/dist/utrecht/p-7bb755d1.entry.js +0 -1
- package/dist/utrecht/p-7e18e0f8.entry.js +0 -1
- package/dist/utrecht/p-9e84c97e.js +0 -1
- package/dist/utrecht/p-b5095fed.entry.js +0 -1
- package/dist/utrecht/p-b5aa001b.entry.js +0 -1
- package/dist/utrecht/p-e1d48327.entry.js +0 -1
- package/dist/utrecht/p-e2fb0e03.entry.js +0 -1
- package/dist/utrecht/p-f8adb4e0.entry.js +0 -1
- package/dist/utrecht/p-fc20c5e2.entry.js +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<!-- @license CC0-1.0 -->
|
|
2
|
+
|
|
3
|
+
# Web Components
|
|
4
|
+
|
|
5
|
+
If you want to use the components library, you can use custom elements in your HTML page to render the components. The npm package `@utrecht/web-component-library-stencil` contains the implementation of every web component, but each component will be loaded separately and on-demand, so including the entire component library will not slow down your application.
|
|
6
|
+
|
|
7
|
+
## Getting started
|
|
8
|
+
|
|
9
|
+
Include the Design Token CSS variables:
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@utrecht/design-tokens/dist/index.css" />
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Combine it with the latest Web Components (for convenience you can use the unpkg CDN), for example:
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<script
|
|
19
|
+
src="https://unpkg.com/@utrecht/web-component-library-stencil/dist/utrecht/utrecht.esm.js"
|
|
20
|
+
type="module"
|
|
21
|
+
></script>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Then you can go ahead and see the result:
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<utrecht-html-content class="utrecht-theme">
|
|
28
|
+
<h1>Page styled with NL Design System</h1>
|
|
29
|
+
</utrecht-html-content>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## `Content-Security-Policy`
|
|
33
|
+
|
|
34
|
+
Autodiscovery of the nonce will ensure the CSS for lazy loaded components can be loaded in pages with a strict CSP configuration. To safely configure the nonce, render a `style` element early in the `<head>` of your HTML page, with a cryptographically strong random value in the `nonce` attribute that you must generate for each request. For example:
|
|
35
|
+
|
|
36
|
+
```html
|
|
37
|
+
<html>
|
|
38
|
+
<head>
|
|
39
|
+
<style nonce="2346ad27d7568ba9896f1b7da6b5991251debdf2"></style>
|
|
40
|
+
</head>
|
|
41
|
+
</html>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The nonce must match with the nonce you provide in the `Content-Security-Policy` HTTP header for the web page. For example:
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
Content-Security-Policy: default-src 'self'; style-src 'self' 'nonce-2346ad27d7568ba9896f1b7da6b5991251debdf2'
|
|
48
|
+
Content-Type: text/html
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**You MUST NOT use a hardcoded value for the nonce.** Do not copy the example code as-is.
|
|
@@ -35,8 +35,8 @@ const doc = win.document || { head: {} };
|
|
|
35
35
|
const plt = {
|
|
36
36
|
$flags$: 0,
|
|
37
37
|
$resourcesUrl$: '',
|
|
38
|
-
jmp: h => h(),
|
|
39
|
-
raf: h => requestAnimationFrame(h),
|
|
38
|
+
jmp: (h) => h(),
|
|
39
|
+
raf: (h) => requestAnimationFrame(h),
|
|
40
40
|
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
41
41
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
42
42
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
@@ -45,7 +45,7 @@ const promiseResolve = (v) => Promise.resolve(v);
|
|
|
45
45
|
const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
|
|
46
46
|
try {
|
|
47
47
|
new CSSStyleSheet();
|
|
48
|
-
return typeof
|
|
48
|
+
return typeof new CSSStyleSheet().replace === 'function';
|
|
49
49
|
}
|
|
50
50
|
catch (e) { }
|
|
51
51
|
return false;
|
|
@@ -98,6 +98,11 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
98
98
|
styleElm = doc.createElement('style');
|
|
99
99
|
styleElm.innerHTML = style;
|
|
100
100
|
}
|
|
101
|
+
const nonceElm = styleContainerNode.ownerDocument.querySelector('style[nonce]');
|
|
102
|
+
if (nonceElm) {
|
|
103
|
+
styleElm.setAttribute('nonce', nonceElm.getAttribute('nonce'));
|
|
104
|
+
console.log(`CSP nonce-${nonceElm.getAttribute('nonce')}`);
|
|
105
|
+
}
|
|
101
106
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
102
107
|
}
|
|
103
108
|
if (appliedStyles) {
|
|
@@ -139,6 +144,11 @@ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
|
139
144
|
* Don't add values to these!!
|
|
140
145
|
*/
|
|
141
146
|
const EMPTY_OBJ = {};
|
|
147
|
+
/**
|
|
148
|
+
* Namespaces
|
|
149
|
+
*/
|
|
150
|
+
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
151
|
+
const HTML_NS = 'http://www.w3.org/1999/xhtml';
|
|
142
152
|
const isDef = (v) => v != null;
|
|
143
153
|
const isComplexType = (o) => {
|
|
144
154
|
// https://jsperf.com/typeof-fn-object/5
|
|
@@ -201,7 +211,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
201
211
|
typeof classData !== 'object'
|
|
202
212
|
? classData
|
|
203
213
|
: Object.keys(classData)
|
|
204
|
-
.filter(k => classData[k])
|
|
214
|
+
.filter((k) => classData[k])
|
|
205
215
|
.join(' ');
|
|
206
216
|
}
|
|
207
217
|
}
|
|
@@ -251,16 +261,55 @@ const isHost = (node) => node && node.$tag$ === Host;
|
|
|
251
261
|
const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
252
262
|
if (oldValue !== newValue) {
|
|
253
263
|
let isProp = isMemberInElement(elm, memberName);
|
|
254
|
-
memberName.toLowerCase();
|
|
264
|
+
let ln = memberName.toLowerCase();
|
|
255
265
|
if (memberName === 'class') {
|
|
256
266
|
const classList = elm.classList;
|
|
257
267
|
const oldClasses = parseClassList(oldValue);
|
|
258
268
|
const newClasses = parseClassList(newValue);
|
|
259
|
-
classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
|
|
260
|
-
classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
|
|
269
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
270
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
261
271
|
}
|
|
262
272
|
else if (memberName === 'key')
|
|
263
273
|
;
|
|
274
|
+
else if ((!isProp ) &&
|
|
275
|
+
memberName[0] === 'o' &&
|
|
276
|
+
memberName[1] === 'n') {
|
|
277
|
+
// Event Handlers
|
|
278
|
+
// so if the member name starts with "on" and the 3rd characters is
|
|
279
|
+
// a capital letter, and it's not already a member on the element,
|
|
280
|
+
// then we're assuming it's an event listener
|
|
281
|
+
if (memberName[2] === '-') {
|
|
282
|
+
// on- prefixed events
|
|
283
|
+
// allows to be explicit about the dom event to listen without any magic
|
|
284
|
+
// under the hood:
|
|
285
|
+
// <my-cmp on-click> // listens for "click"
|
|
286
|
+
// <my-cmp on-Click> // listens for "Click"
|
|
287
|
+
// <my-cmp on-ionChange> // listens for "ionChange"
|
|
288
|
+
// <my-cmp on-EVENTS> // listens for "EVENTS"
|
|
289
|
+
memberName = memberName.slice(3);
|
|
290
|
+
}
|
|
291
|
+
else if (isMemberInElement(win, ln)) {
|
|
292
|
+
// standard event
|
|
293
|
+
// the JSX attribute could have been "onMouseOver" and the
|
|
294
|
+
// member name "onmouseover" is on the window's prototype
|
|
295
|
+
// so let's add the listener "mouseover", which is all lowercased
|
|
296
|
+
memberName = ln.slice(2);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
// custom event
|
|
300
|
+
// the JSX attribute could have been "onMyCustomEvent"
|
|
301
|
+
// so let's trim off the "on" prefix and lowercase the first character
|
|
302
|
+
// and add the listener "myCustomEvent"
|
|
303
|
+
// except for the first character, we keep the event name case
|
|
304
|
+
memberName = ln[2] + memberName.slice(3);
|
|
305
|
+
}
|
|
306
|
+
if (oldValue) {
|
|
307
|
+
plt.rel(elm, memberName, oldValue, false);
|
|
308
|
+
}
|
|
309
|
+
if (newValue) {
|
|
310
|
+
plt.ael(elm, memberName, newValue, false);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
264
313
|
else {
|
|
265
314
|
// Set property if it exists and it's not a SVG
|
|
266
315
|
const isComplex = isComplexType(newValue);
|
|
@@ -271,7 +320,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
271
320
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
272
321
|
if (memberName === 'list') {
|
|
273
322
|
isProp = false;
|
|
274
|
-
// tslint:disable-next-line: triple-equals
|
|
275
323
|
}
|
|
276
324
|
else if (oldValue == null || elm[memberName] != n) {
|
|
277
325
|
elm[memberName] = n;
|
|
@@ -305,7 +353,9 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
305
353
|
// if the element passed in is a shadow root, which is a document fragment
|
|
306
354
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
307
355
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
308
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
356
|
+
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
357
|
+
? newVnode.$elm$.host
|
|
358
|
+
: newVnode.$elm$;
|
|
309
359
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
310
360
|
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
311
361
|
{
|
|
@@ -349,11 +399,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
349
399
|
}
|
|
350
400
|
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
351
401
|
// create a slot reference node
|
|
352
|
-
elm = newVNode.$elm$ =
|
|
402
|
+
elm = newVNode.$elm$ =
|
|
403
|
+
doc.createTextNode('');
|
|
353
404
|
}
|
|
354
405
|
else {
|
|
406
|
+
if (!isSvgMode) {
|
|
407
|
+
isSvgMode = newVNode.$tag$ === 'svg';
|
|
408
|
+
}
|
|
355
409
|
// create element
|
|
356
|
-
elm = newVNode.$elm$ = (doc.
|
|
410
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
411
|
+
? 'slot-fb'
|
|
412
|
+
: newVNode.$tag$)
|
|
413
|
+
);
|
|
414
|
+
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
415
|
+
isSvgMode = false;
|
|
416
|
+
}
|
|
357
417
|
// add css classes, attrs, props, listeners, etc.
|
|
358
418
|
{
|
|
359
419
|
updateElement(null, newVNode, isSvgMode);
|
|
@@ -374,6 +434,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
374
434
|
}
|
|
375
435
|
}
|
|
376
436
|
}
|
|
437
|
+
{
|
|
438
|
+
if (newVNode.$tag$ === 'svg') {
|
|
439
|
+
// Only reset the SVG context when we're exiting <svg> element
|
|
440
|
+
isSvgMode = false;
|
|
441
|
+
}
|
|
442
|
+
else if (elm.tagName === 'foreignObject') {
|
|
443
|
+
// Reenter SVG context when we're exiting <foreignObject> element
|
|
444
|
+
isSvgMode = true;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
377
447
|
}
|
|
378
448
|
{
|
|
379
449
|
elm['s-hn'] = hostTagName;
|
|
@@ -586,6 +656,11 @@ const patch = (oldVNode, newVNode) => {
|
|
|
586
656
|
const text = newVNode.$text$;
|
|
587
657
|
let defaultHolder;
|
|
588
658
|
if (text === null) {
|
|
659
|
+
{
|
|
660
|
+
// test if we're rendering an svg element, or still rendering nodes inside of one
|
|
661
|
+
// only add this to the when the compiler sees we're using an svg somewhere
|
|
662
|
+
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
663
|
+
}
|
|
589
664
|
// element node
|
|
590
665
|
{
|
|
591
666
|
if (tag === 'slot')
|
|
@@ -614,6 +689,9 @@ const patch = (oldVNode, newVNode) => {
|
|
|
614
689
|
// no new child vnodes, but there are old child vnodes to remove
|
|
615
690
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
616
691
|
}
|
|
692
|
+
if (isSvgMode && tag === 'svg') {
|
|
693
|
+
isSvgMode = false;
|
|
694
|
+
}
|
|
617
695
|
}
|
|
618
696
|
else if ((defaultHolder = elm['s-cr'])) {
|
|
619
697
|
// this element has slotted content
|
|
@@ -697,7 +775,7 @@ const relocateSlotContent = (elm) => {
|
|
|
697
775
|
// that is suppose to always represent the original content location
|
|
698
776
|
if (isNodeLocatedInSlot(node, slotNameAttr)) {
|
|
699
777
|
// it's possible we've already decided to relocate this node
|
|
700
|
-
relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
|
|
778
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
701
779
|
// made some changes to slots
|
|
702
780
|
// let's make sure we also double check
|
|
703
781
|
// fallbacks are correctly hidden or shown
|
|
@@ -716,9 +794,9 @@ const relocateSlotContent = (elm) => {
|
|
|
716
794
|
});
|
|
717
795
|
}
|
|
718
796
|
if (node['s-sr']) {
|
|
719
|
-
relocateNodes.map(relocateNode => {
|
|
797
|
+
relocateNodes.map((relocateNode) => {
|
|
720
798
|
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
|
|
721
|
-
relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
|
|
799
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
722
800
|
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
723
801
|
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
724
802
|
}
|
|
@@ -726,7 +804,7 @@ const relocateSlotContent = (elm) => {
|
|
|
726
804
|
});
|
|
727
805
|
}
|
|
728
806
|
}
|
|
729
|
-
else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
|
|
807
|
+
else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
730
808
|
// so far this element does not have a slot home, not setting slotRefNode on purpose
|
|
731
809
|
// if we never find a home for this element then we'll need to hide it
|
|
732
810
|
relocateNodes.push({
|
|
@@ -762,6 +840,10 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
762
840
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
763
841
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
764
842
|
hostTagName = hostElm.tagName;
|
|
843
|
+
if (cmpMeta.$attrsToReflect$) {
|
|
844
|
+
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
845
|
+
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
846
|
+
}
|
|
765
847
|
rootVnode.$tag$ = null;
|
|
766
848
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
767
849
|
hostRef.$vnode$ = rootVnode;
|
|
@@ -796,7 +878,8 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
796
878
|
if (!nodeToRelocate['s-ol']) {
|
|
797
879
|
// add a reference node marking this node's original location
|
|
798
880
|
// keep a reference to this node for later lookups
|
|
799
|
-
orgLocationNode =
|
|
881
|
+
orgLocationNode =
|
|
882
|
+
doc.createTextNode('');
|
|
800
883
|
orgLocationNode['s-nr'] = nodeToRelocate;
|
|
801
884
|
nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
|
|
802
885
|
}
|
|
@@ -820,7 +903,8 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
820
903
|
}
|
|
821
904
|
}
|
|
822
905
|
}
|
|
823
|
-
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
906
|
+
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
907
|
+
nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
824
908
|
// we've checked that it's worth while to relocate
|
|
825
909
|
// since that the node to relocate
|
|
826
910
|
// has a different next sibling or parent relocated
|
|
@@ -852,6 +936,27 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
852
936
|
relocateNodes.length = 0;
|
|
853
937
|
}
|
|
854
938
|
};
|
|
939
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
940
|
+
const createEvent = (ref, name, flags) => {
|
|
941
|
+
const elm = getElement(ref);
|
|
942
|
+
return {
|
|
943
|
+
emit: (detail) => {
|
|
944
|
+
return emitEvent(elm, name, {
|
|
945
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
946
|
+
composed: !!(flags & 2 /* Composed */),
|
|
947
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
948
|
+
detail,
|
|
949
|
+
});
|
|
950
|
+
},
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
/**
|
|
954
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
955
|
+
* @param elm the target of the Event
|
|
956
|
+
* @param name the name to give the custom Event
|
|
957
|
+
* @param opts options for configuring a custom Event
|
|
958
|
+
* @returns the custom Event
|
|
959
|
+
*/
|
|
855
960
|
const emitEvent = (elm, name, opts) => {
|
|
856
961
|
const ev = plt.ce(name, opts);
|
|
857
962
|
elm.dispatchEvent(ev);
|
|
@@ -859,7 +964,7 @@ const emitEvent = (elm, name, opts) => {
|
|
|
859
964
|
};
|
|
860
965
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
861
966
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
862
|
-
ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
|
|
967
|
+
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
863
968
|
}
|
|
864
969
|
};
|
|
865
970
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -901,7 +1006,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
901
1006
|
// ok, so turns out there are some child host elements
|
|
902
1007
|
// waiting on this parent element to load
|
|
903
1008
|
// let's fire off all update callbacks waiting
|
|
904
|
-
rc.map(cb => cb());
|
|
1009
|
+
rc.map((cb) => cb());
|
|
905
1010
|
elm['s-rc'] = undefined;
|
|
906
1011
|
}
|
|
907
1012
|
endRender();
|
|
@@ -993,7 +1098,31 @@ const appDidLoad = (who) => {
|
|
|
993
1098
|
const then = (promise, thenFn) => {
|
|
994
1099
|
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
995
1100
|
};
|
|
996
|
-
const addHydratedFlag = (elm) =>
|
|
1101
|
+
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1102
|
+
;
|
|
1103
|
+
/**
|
|
1104
|
+
* Parse a new property value for a given property type.
|
|
1105
|
+
*
|
|
1106
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1107
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1108
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
1109
|
+
* 2. the type stored from `propType`.
|
|
1110
|
+
*
|
|
1111
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1112
|
+
*
|
|
1113
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1114
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1115
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1116
|
+
* ```tsx
|
|
1117
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
1118
|
+
* ```
|
|
1119
|
+
*
|
|
1120
|
+
* HTML prop values on the other hand, will always a string
|
|
1121
|
+
*
|
|
1122
|
+
* @param propValue the new value to coerce to some type
|
|
1123
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
1124
|
+
* @returns the parsed/coerced value
|
|
1125
|
+
*/
|
|
997
1126
|
const parsePropertyValue = (propValue, propType) => {
|
|
998
1127
|
// ensure this value is of the correct prop type
|
|
999
1128
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1026,7 +1155,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1026
1155
|
const flags = hostRef.$flags$;
|
|
1027
1156
|
const instance = hostRef.$lazyInstance$ ;
|
|
1028
1157
|
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1029
|
-
|
|
1158
|
+
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1159
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1160
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1161
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1030
1162
|
// gadzooks! the property's value has changed!!
|
|
1031
1163
|
// set our new value!
|
|
1032
1164
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
@@ -1047,7 +1179,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1047
1179
|
const members = Object.entries(cmpMeta.$members$);
|
|
1048
1180
|
const prototype = Cstr.prototype;
|
|
1049
1181
|
members.map(([memberName, [memberFlags]]) => {
|
|
1050
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1182
|
+
if ((memberFlags & 31 /* Prop */ ||
|
|
1183
|
+
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1051
1184
|
// proxyComponent - prop
|
|
1052
1185
|
Object.defineProperty(prototype, memberName, {
|
|
1053
1186
|
get() {
|
|
@@ -1068,6 +1201,51 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1068
1201
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1069
1202
|
plt.jmp(() => {
|
|
1070
1203
|
const propName = attrNameToPropName.get(attrName);
|
|
1204
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1205
|
+
// in the case where an attribute was set inline.
|
|
1206
|
+
// ```html
|
|
1207
|
+
// <my-component some-attribute="some-value"></my-component>
|
|
1208
|
+
// ```
|
|
1209
|
+
//
|
|
1210
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1211
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1212
|
+
//
|
|
1213
|
+
// ```html
|
|
1214
|
+
// <!-- this component has _not_ been upgraded yet -->
|
|
1215
|
+
// <my-component id="test" some-attribute="some-value"></my-component>
|
|
1216
|
+
// <script>
|
|
1217
|
+
// // grab non-upgraded component
|
|
1218
|
+
// el = document.querySelector("#test");
|
|
1219
|
+
// el.someAttribute = "another-value";
|
|
1220
|
+
// // upgrade component
|
|
1221
|
+
// customElements.define('my-component', MyComponent);
|
|
1222
|
+
// </script>
|
|
1223
|
+
// ```
|
|
1224
|
+
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1225
|
+
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1226
|
+
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1227
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1228
|
+
//
|
|
1229
|
+
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1230
|
+
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
1231
|
+
//
|
|
1232
|
+
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1233
|
+
//
|
|
1234
|
+
// TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
|
|
1235
|
+
// properties here given that this goes against best practices outlined here
|
|
1236
|
+
// https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
|
|
1237
|
+
if (this.hasOwnProperty(propName)) {
|
|
1238
|
+
newValue = this[propName];
|
|
1239
|
+
delete this[propName];
|
|
1240
|
+
}
|
|
1241
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1242
|
+
typeof this[propName] === 'number' &&
|
|
1243
|
+
this[propName] == newValue) {
|
|
1244
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1245
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1246
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1247
|
+
return;
|
|
1248
|
+
}
|
|
1071
1249
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1072
1250
|
});
|
|
1073
1251
|
};
|
|
@@ -1078,6 +1256,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1078
1256
|
.map(([propName, m]) => {
|
|
1079
1257
|
const attrName = m[1] || propName;
|
|
1080
1258
|
attrNameToPropName.set(attrName, propName);
|
|
1259
|
+
if (m[0] & 512 /* ReflectAttr */) {
|
|
1260
|
+
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1261
|
+
}
|
|
1081
1262
|
return attrName;
|
|
1082
1263
|
});
|
|
1083
1264
|
}
|
|
@@ -1141,7 +1322,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1141
1322
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1142
1323
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1143
1324
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1144
|
-
// this is the
|
|
1325
|
+
// this is the initial load and this component it has an ancestor component
|
|
1145
1326
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1146
1327
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1147
1328
|
// this will get fired off when the ancestor component
|
|
@@ -1232,71 +1413,80 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1232
1413
|
let isBootstrapping = true;
|
|
1233
1414
|
Object.assign(plt, options);
|
|
1234
1415
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1235
|
-
lazyBundles.map(lazyBundle =>
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1416
|
+
lazyBundles.map((lazyBundle) => {
|
|
1417
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1418
|
+
const cmpMeta = {
|
|
1419
|
+
$flags$: compactMeta[0],
|
|
1420
|
+
$tagName$: compactMeta[1],
|
|
1421
|
+
$members$: compactMeta[2],
|
|
1422
|
+
$listeners$: compactMeta[3],
|
|
1423
|
+
};
|
|
1424
|
+
{
|
|
1425
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1426
|
+
}
|
|
1427
|
+
{
|
|
1428
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1429
|
+
}
|
|
1430
|
+
const tagName = cmpMeta.$tagName$;
|
|
1431
|
+
const HostElement = class extends HTMLElement {
|
|
1432
|
+
// StencilLazyHost
|
|
1433
|
+
constructor(self) {
|
|
1434
|
+
// @ts-ignore
|
|
1435
|
+
super(self);
|
|
1436
|
+
self = this;
|
|
1437
|
+
registerHost(self, cmpMeta);
|
|
1438
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1439
|
+
// this component is using shadow dom
|
|
1440
|
+
// and this browser supports shadow dom
|
|
1441
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1442
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1259
1443
|
{
|
|
1260
|
-
|
|
1444
|
+
{
|
|
1445
|
+
self.attachShadow({ mode: 'open' });
|
|
1446
|
+
}
|
|
1261
1447
|
}
|
|
1262
1448
|
}
|
|
1263
1449
|
}
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1450
|
+
connectedCallback() {
|
|
1451
|
+
if (appLoadFallback) {
|
|
1452
|
+
clearTimeout(appLoadFallback);
|
|
1453
|
+
appLoadFallback = null;
|
|
1454
|
+
}
|
|
1455
|
+
if (isBootstrapping) {
|
|
1456
|
+
// connectedCallback will be processed once all components have been registered
|
|
1457
|
+
deferredConnectedCallbacks.push(this);
|
|
1458
|
+
}
|
|
1459
|
+
else {
|
|
1460
|
+
plt.jmp(() => connectedCallback(this));
|
|
1461
|
+
}
|
|
1269
1462
|
}
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
deferredConnectedCallbacks.push(this);
|
|
1463
|
+
disconnectedCallback() {
|
|
1464
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1273
1465
|
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1466
|
+
componentOnReady() {
|
|
1467
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1276
1468
|
}
|
|
1469
|
+
};
|
|
1470
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1471
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1472
|
+
cmpTags.push(tagName);
|
|
1473
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1277
1474
|
}
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
}
|
|
1281
|
-
componentOnReady() {
|
|
1282
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1283
|
-
}
|
|
1284
|
-
};
|
|
1285
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1286
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1287
|
-
cmpTags.push(tagName);
|
|
1288
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1289
|
-
}
|
|
1290
|
-
}));
|
|
1475
|
+
});
|
|
1476
|
+
});
|
|
1291
1477
|
{
|
|
1292
1478
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1293
1479
|
visibilityStyle.setAttribute('data-styles', '');
|
|
1480
|
+
const nonceElm = visibilityStyle.ownerDocument.querySelector('style[nonce]');
|
|
1481
|
+
if (nonceElm) {
|
|
1482
|
+
visibilityStyle.setAttribute('nonce', nonceElm.getAttribute('nonce'));
|
|
1483
|
+
}
|
|
1294
1484
|
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1295
1485
|
}
|
|
1296
1486
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1297
1487
|
isBootstrapping = false;
|
|
1298
1488
|
if (deferredConnectedCallbacks.length) {
|
|
1299
|
-
deferredConnectedCallbacks.map(host => host.connectedCallback());
|
|
1489
|
+
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
|
1300
1490
|
}
|
|
1301
1491
|
else {
|
|
1302
1492
|
{
|
|
@@ -1317,7 +1507,7 @@ const registerHost = (elm, cmpMeta) => {
|
|
|
1317
1507
|
$instanceValues$: new Map(),
|
|
1318
1508
|
};
|
|
1319
1509
|
{
|
|
1320
|
-
hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
|
|
1510
|
+
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
1321
1511
|
elm['s-p'] = [];
|
|
1322
1512
|
elm['s-rc'] = [];
|
|
1323
1513
|
}
|
|
@@ -1338,7 +1528,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1338
1528
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1339
1529
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1340
1530
|
/* webpackMode: "lazy" */
|
|
1341
|
-
`./${bundleId}.entry.js${''}`)); }).then(importedModule => {
|
|
1531
|
+
`./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
|
|
1342
1532
|
{
|
|
1343
1533
|
cmpModules.set(bundleId, importedModule);
|
|
1344
1534
|
}
|
|
@@ -1390,6 +1580,8 @@ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
|
1390
1580
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1391
1581
|
|
|
1392
1582
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1583
|
+
exports.createEvent = createEvent;
|
|
1584
|
+
exports.getElement = getElement;
|
|
1393
1585
|
exports.h = h;
|
|
1394
1586
|
exports.promiseResolve = promiseResolve;
|
|
1395
1587
|
exports.registerInstance = registerInstance;
|