@utrecht/web-component-library-stencil 1.0.0-alpha.9 → 1.0.0-alpha.93
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 +28 -0
- package/dist/article/stencil.d.ts +3 -0
- package/dist/article/stencil.js +1 -1
- package/dist/badge-counter/stencil.d.ts +6 -0
- package/dist/badge-counter/stencil.js +1 -1
- package/dist/badge-data/stencil.d.ts +3 -0
- package/dist/badge-data/stencil.js +1 -1
- package/dist/badge-status/stencil.d.ts +4 -0
- package/dist/badge-status/stencil.js +1 -1
- package/dist/breadcrumb/stencil.d.ts +5 -0
- package/dist/breadcrumb/stencil.js +38 -0
- package/dist/button/stencil.d.ts +10 -0
- package/dist/button/stencil.js +40 -3
- package/dist/checkbox/stencil.d.ts +16 -0
- package/dist/checkbox/stencil.js +59 -0
- package/dist/cjs/{index-04d7da5a.js → index-b96d9af7.js} +213 -25
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/utrecht-article.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-badge-counter.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-badge-data.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-badge-status.cjs.entry.js +3 -3
- 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-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 +49 -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-arrow.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-cross.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-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-twitter.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-footer.cjs.entry.js +3 -3
- 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 +21 -0
- package/dist/cjs/utrecht-textbox.cjs.entry.js +39 -0
- package/dist/cjs/utrecht.cjs.js +3 -3
- package/dist/collection/alternate-lang-link/bem.js +21 -0
- package/dist/collection/alternate-lang-nav/bem.js +12 -0
- package/dist/collection/article/bem.js +6 -0
- package/dist/collection/article/{bem.css → stencil.css} +12 -1
- package/dist/collection/article/stencil.js +2 -2
- package/dist/collection/badge-counter/bem.js +7 -0
- package/dist/collection/badge-counter/{bem.css → stencil.css} +13 -0
- package/dist/collection/badge-counter/stencil.js +2 -2
- package/dist/collection/badge-data/bem.js +6 -0
- package/dist/collection/badge-data/{bem.css → stencil.css} +13 -0
- package/dist/collection/badge-data/stencil.js +2 -2
- package/dist/collection/badge-status/bem.js +7 -0
- package/dist/collection/badge-status/{bem.css → stencil.css} +18 -0
- package/dist/collection/badge-status/stencil.js +2 -2
- package/dist/collection/blockquote/bem.js +24 -0
- package/dist/collection/breadcrumb/bem.js +34 -0
- package/dist/collection/breadcrumb/stencil.css +148 -0
- package/dist/collection/breadcrumb/stencil.js +62 -0
- package/dist/collection/button/bem.js +34 -0
- package/dist/collection/button/html.js +16 -0
- package/dist/collection/button/{bem.css → stencil.css} +56 -19
- package/dist/collection/button/stencil.js +92 -4
- package/dist/collection/checkbox/bem.js +18 -0
- package/dist/collection/checkbox/stencil.css +27 -0
- package/dist/collection/checkbox/stencil.js +164 -0
- package/dist/collection/collection-manifest.json +37 -2
- package/dist/collection/digid-button/bem.js +16 -0
- package/dist/collection/digid-button/stencil.css +31 -0
- package/dist/collection/digid-button/stencil.js +41 -0
- package/dist/collection/digid-logo/stencil.css +18 -0
- package/dist/collection/digid-logo/stencil.js +23 -0
- package/dist/collection/document/{bem.css → stencil.css} +12 -1
- package/dist/collection/document/stencil.js +2 -2
- package/dist/collection/eherkenning-logo/stencil.css +18 -0
- package/dist/collection/eherkenning-logo/stencil.js +26 -0
- package/dist/collection/eidas-logo/stencil.css +18 -0
- package/dist/collection/eidas-logo/stencil.js +28 -0
- package/dist/collection/emphasis/bem.js +19 -0
- package/dist/collection/form-field-checkbox/bem.js +10 -0
- package/dist/collection/form-field-checkbox/stencil.css +76 -0
- package/dist/collection/form-field-checkbox/stencil.js +190 -0
- package/dist/collection/form-field-checkbox-group/bem.js +33 -0
- package/dist/collection/form-field-description/bem.js +14 -0
- package/dist/collection/form-field-description/stencil.css +33 -0
- package/dist/collection/form-field-description/stencil.js +44 -0
- package/dist/collection/form-field-radio/bem.js +10 -0
- package/dist/collection/form-field-radio-group/bem.js +20 -0
- package/dist/collection/form-field-textarea/stencil.css +112 -0
- package/dist/collection/form-field-textarea/stencil.js +205 -0
- package/dist/collection/form-field-textbox/stencil.css +106 -0
- package/dist/collection/form-field-textbox/stencil.js +300 -0
- package/dist/collection/form-fieldset/bem.js +10 -0
- package/dist/collection/form-label/bem.js +22 -0
- package/dist/collection/form-toggle/bem.js +47 -0
- package/dist/collection/form-toggle/stencil.css +115 -0
- package/dist/collection/form-toggle/stencil.js +149 -0
- package/dist/collection/heading/{bem.css → stencil.css} +72 -37
- package/dist/collection/heading/stencil.js +2 -2
- package/dist/collection/heading-1/bem.js +11 -0
- package/dist/collection/heading-1/stencil.css +34 -0
- package/dist/collection/heading-1/stencil.js +15 -0
- package/dist/collection/heading-2/bem.js +11 -0
- package/dist/collection/heading-2/stencil.css +34 -0
- package/dist/collection/heading-2/stencil.js +15 -0
- package/dist/collection/heading-3/bem.js +11 -0
- package/dist/collection/heading-3/stencil.css +34 -0
- package/dist/collection/heading-3/stencil.js +15 -0
- package/dist/collection/heading-4/bem.js +11 -0
- package/dist/collection/heading-4/stencil.css +34 -0
- package/dist/collection/heading-4/stencil.js +15 -0
- package/dist/collection/heading-5/bem.js +11 -0
- package/dist/collection/heading-5/stencil.css +34 -0
- package/dist/collection/heading-5/stencil.js +15 -0
- package/dist/collection/heading-6/bem.js +11 -0
- package/dist/collection/heading-6/stencil.css +34 -0
- package/dist/collection/heading-6/stencil.js +15 -0
- package/dist/collection/html-content/{html.css → stencil.css} +406 -140
- package/dist/collection/html-content/stencil.js +2 -2
- package/dist/collection/icon/arrow.stencil.js +17 -0
- package/dist/collection/icon/cross.stencil.js +17 -0
- package/dist/collection/icon/facebook.stencil.js +17 -0
- package/dist/collection/icon/filter.stencil.js +18 -0
- package/dist/collection/icon/instagram.stencil.js +19 -0
- package/dist/collection/icon/linkedin.stencil.js +18 -0
- package/dist/collection/icon/list.stencil.js +21 -0
- package/dist/collection/icon/loupe.stencil.js +17 -0
- package/dist/collection/icon/stencil.css +20 -0
- package/dist/collection/icon/twitter.stencil.js +17 -0
- package/dist/collection/icon/whatsapp.stencil.js +17 -0
- package/dist/collection/icon/zoomin.stencil.js +18 -0
- package/dist/collection/icon/zoomout.stencil.js +17 -0
- package/dist/collection/link/bem.js +38 -0
- package/dist/collection/link-list/bem.js +10 -0
- package/dist/collection/link-social/bem.js +20 -0
- package/dist/collection/logo/bem.js +33 -0
- package/dist/collection/logo/stencil.css +28 -0
- package/dist/collection/logo/stencil.js +26 -0
- package/dist/collection/logo-button/bem.js +17 -0
- package/dist/collection/logo-button/stencil.css +31 -0
- package/dist/collection/logo-button/stencil.js +41 -0
- package/dist/collection/mapcontrolbutton/bem.js +25 -0
- package/dist/collection/menulijst/bem.js +18 -0
- package/dist/collection/nav-top/bem.js +23 -0
- package/dist/collection/navigatie sidenav/bem.css +240 -0
- package/dist/collection/navigatie sidenav/bem.js +43 -0
- package/dist/collection/navigatie sidenav/stencil.js +40 -0
- package/dist/collection/navigatie topnav/bem.js +25 -0
- package/dist/collection/ordered-list/bem.js +11 -0
- package/dist/collection/page-footer/bem.js +7 -0
- package/dist/collection/page-footer/{bem.css → stencil.css} +22 -12
- package/dist/collection/page-footer/stencil.js +2 -2
- package/dist/collection/pagination/bem.js +54 -0
- package/dist/collection/pagination/stencil.css +118 -0
- package/dist/collection/pagination/stencil.js +110 -0
- package/dist/collection/paragraph/bem.js +17 -0
- package/dist/collection/paragraph/{bem.css → stencil.css} +17 -2
- package/dist/collection/paragraph/stencil.js +2 -2
- package/dist/collection/pre-heading/bem.js +15 -0
- package/dist/collection/radio-button/bem.js +18 -0
- package/dist/collection/search-bar/bem.js +15 -0
- package/dist/collection/select/bem.js +38 -0
- package/dist/collection/separator/bem.js +16 -0
- package/dist/collection/separator/{bem.css → stencil.css} +18 -4
- package/dist/collection/separator/stencil.js +2 -2
- package/dist/collection/templates/contact-card-template/stencil.css +88 -0
- package/dist/collection/templates/contact-card-template/stencil.js +25 -0
- package/dist/collection/textarea/bem.js +32 -0
- package/dist/collection/textarea/html.js +22 -0
- package/dist/collection/textbox/bem.js +34 -0
- package/dist/collection/textbox/stencil.css +70 -0
- package/dist/collection/textbox/stencil.js +297 -0
- package/dist/collection/unordered-list/bem.js +28 -0
- package/dist/custom-elements/index.d.ts +210 -0
- package/dist/custom-elements/index.js +742 -26
- package/dist/digid-button/stencil.d.ts +9 -0
- package/dist/digid-button/stencil.js +31 -0
- package/dist/digid-logo/stencil.d.ts +8 -0
- package/dist/digid-logo/stencil.js +29 -0
- package/dist/document/stencil.d.ts +3 -0
- package/dist/document/stencil.js +1 -1
- package/dist/eherkenning-logo/stencil.d.ts +8 -0
- package/dist/eherkenning-logo/stencil.js +32 -0
- package/dist/eidas-logo/stencil.d.ts +8 -0
- package/dist/eidas-logo/stencil.js +34 -0
- package/dist/esm/{index-7fbac151.js → index-26eb3bc0.js} +212 -26
- package/dist/esm/loader.js +3 -3
- package/dist/esm/utrecht-article.entry.js +3 -3
- package/dist/esm/utrecht-badge-counter.entry.js +3 -3
- package/dist/esm/utrecht-badge-data.entry.js +3 -3
- package/dist/esm/utrecht-badge-status.entry.js +3 -3
- 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-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 +45 -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-arrow.entry.js +15 -0
- package/dist/esm/utrecht-icon-cross.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-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-twitter.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-footer.entry.js +3 -3
- 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 +17 -0
- package/dist/esm/utrecht-textbox.entry.js +35 -0
- package/dist/esm/utrecht.js +3 -3
- package/dist/form-field-checkbox/stencil.d.ts +18 -0
- package/dist/form-field-checkbox/stencil.js +70 -0
- package/dist/form-field-description/stencil.d.ts +8 -0
- package/dist/form-field-description/stencil.js +33 -0
- package/dist/form-field-textarea/stencil.d.ts +18 -0
- package/dist/form-field-textarea/stencil.js +70 -0
- package/dist/form-field-textbox/stencil.d.ts +23 -0
- package/dist/form-field-textbox/stencil.js +90 -0
- package/dist/form-toggle/stencil.d.ts +14 -0
- package/dist/form-toggle/stencil.js +74 -0
- package/dist/heading/stencil.d.ts +7 -0
- package/dist/heading/stencil.js +1 -1
- package/dist/heading-1/stencil.d.ts +3 -0
- package/dist/heading-1/stencil.js +21 -0
- package/dist/heading-2/stencil.d.ts +3 -0
- package/dist/heading-2/stencil.js +21 -0
- package/dist/heading-3/stencil.d.ts +3 -0
- package/dist/heading-3/stencil.js +21 -0
- package/dist/heading-4/stencil.d.ts +3 -0
- package/dist/heading-4/stencil.js +21 -0
- package/dist/heading-5/stencil.d.ts +3 -0
- package/dist/heading-5/stencil.js +21 -0
- package/dist/heading-6/stencil.d.ts +3 -0
- package/dist/heading-6/stencil.js +21 -0
- package/dist/html-content/stencil.d.ts +3 -0
- package/dist/html-content/stencil.js +1 -1
- package/dist/icon/arrow.stencil.d.ts +3 -0
- package/dist/icon/arrow.stencil.js +23 -0
- package/dist/icon/cross.stencil.d.ts +3 -0
- package/dist/icon/cross.stencil.js +23 -0
- package/dist/icon/facebook.stencil.d.ts +3 -0
- package/dist/icon/facebook.stencil.js +23 -0
- package/dist/icon/filter.stencil.d.ts +3 -0
- package/dist/icon/filter.stencil.js +24 -0
- package/dist/icon/instagram.stencil.d.ts +3 -0
- package/dist/icon/instagram.stencil.js +25 -0
- package/dist/icon/linkedin.stencil.d.ts +3 -0
- package/dist/icon/linkedin.stencil.js +24 -0
- package/dist/icon/list.stencil.d.ts +3 -0
- package/dist/icon/list.stencil.js +27 -0
- package/dist/icon/loupe.stencil.d.ts +3 -0
- package/dist/icon/loupe.stencil.js +23 -0
- package/dist/icon/twitter.stencil.d.ts +3 -0
- package/dist/icon/twitter.stencil.js +23 -0
- package/dist/icon/whatsapp.stencil.d.ts +3 -0
- package/dist/icon/whatsapp.stencil.js +23 -0
- package/dist/icon/zoomin.stencil.d.ts +3 -0
- package/dist/icon/zoomin.stencil.js +24 -0
- package/dist/icon/zoomout.stencil.d.ts +3 -0
- package/dist/icon/zoomout.stencil.js +23 -0
- package/dist/logo/stencil.d.ts +7 -0
- package/dist/logo/stencil.js +32 -0
- package/dist/logo-button/stencil.d.ts +9 -0
- package/dist/logo-button/stencil.js +31 -0
- package/dist/navigatie sidenav/stencil.d.ts +4 -0
- package/dist/navigatie sidenav/stencil.js +30 -0
- package/dist/page-footer/stencil.d.ts +7 -0
- package/dist/page-footer/stencil.js +1 -1
- package/dist/pagination/stencil.d.ts +11 -0
- package/dist/pagination/stencil.js +58 -0
- package/dist/paragraph/stencil.d.ts +7 -0
- package/dist/paragraph/stencil.js +1 -1
- package/dist/separator/stencil.d.ts +3 -0
- package/dist/separator/stencil.js +1 -1
- package/dist/templates/contact-card-template/stencil.d.ts +3 -0
- package/dist/templates/contact-card-template/stencil.js +31 -0
- package/dist/textbox/stencil.d.ts +23 -0
- package/dist/textbox/stencil.js +87 -0
- package/dist/types/breadcrumb/stencil.d.ts +5 -0
- package/dist/types/button/stencil.d.ts +6 -0
- package/dist/types/checkbox/stencil.d.ts +16 -0
- package/dist/types/components.d.ts +583 -0
- package/dist/types/digid-button/stencil.d.ts +9 -0
- package/dist/types/digid-logo/stencil.d.ts +8 -0
- package/dist/types/eherkenning-logo/stencil.d.ts +8 -0
- package/dist/types/eidas-logo/stencil.d.ts +8 -0
- package/dist/types/form-field-checkbox/stencil.d.ts +18 -0
- package/dist/types/form-field-description/stencil.d.ts +8 -0
- package/dist/types/form-field-textarea/stencil.d.ts +18 -0
- package/dist/types/form-field-textbox/stencil.d.ts +23 -0
- package/dist/types/form-toggle/stencil.d.ts +14 -0
- package/dist/types/heading-1/stencil.d.ts +3 -0
- package/dist/types/heading-2/stencil.d.ts +3 -0
- package/dist/types/heading-3/stencil.d.ts +3 -0
- package/dist/types/heading-4/stencil.d.ts +3 -0
- package/dist/types/heading-5/stencil.d.ts +3 -0
- package/dist/types/heading-6/stencil.d.ts +3 -0
- package/dist/types/icon/arrow.stencil.d.ts +3 -0
- package/dist/types/icon/cross.stencil.d.ts +3 -0
- package/dist/types/icon/facebook.stencil.d.ts +3 -0
- package/dist/types/icon/filter.stencil.d.ts +3 -0
- package/dist/types/icon/instagram.stencil.d.ts +3 -0
- package/dist/types/icon/linkedin.stencil.d.ts +3 -0
- package/dist/types/icon/list.stencil.d.ts +3 -0
- package/dist/types/icon/loupe.stencil.d.ts +3 -0
- package/dist/types/icon/twitter.stencil.d.ts +3 -0
- package/dist/types/icon/whatsapp.stencil.d.ts +3 -0
- package/dist/types/icon/zoomin.stencil.d.ts +3 -0
- package/dist/types/icon/zoomout.stencil.d.ts +3 -0
- package/dist/types/logo/stencil.d.ts +7 -0
- package/dist/types/logo-button/stencil.d.ts +9 -0
- package/dist/types/navigatie sidenav/stencil.d.ts +4 -0
- package/dist/types/pagination/stencil.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +183 -182
- package/dist/types/templates/contact-card-template/stencil.d.ts +3 -0
- package/dist/types/textbox/stencil.d.ts +23 -0
- package/dist/utrecht/p-023706f2.entry.js +1 -0
- package/dist/utrecht/p-03fb5385.entry.js +1 -0
- package/dist/utrecht/p-0b5df266.entry.js +1 -0
- package/dist/utrecht/p-13e4e5e9.entry.js +1 -0
- package/dist/utrecht/p-17bfa2b7.js +1 -0
- package/dist/utrecht/p-201a5ed5.entry.js +1 -0
- package/dist/utrecht/p-22ccf8ac.entry.js +1 -0
- package/dist/utrecht/p-307b38ed.entry.js +1 -0
- package/dist/utrecht/p-3ba93737.entry.js +1 -0
- package/dist/utrecht/p-3f4d1a2b.entry.js +1 -0
- package/dist/utrecht/p-48e2e522.entry.js +1 -0
- package/dist/utrecht/p-56879b89.entry.js +1 -0
- package/dist/utrecht/p-5a8cd573.entry.js +1 -0
- package/dist/utrecht/p-5b773973.entry.js +1 -0
- package/dist/utrecht/p-6a91f1ce.entry.js +1 -0
- package/dist/utrecht/p-7155ba3f.entry.js +1 -0
- package/dist/utrecht/p-75a89b75.entry.js +1 -0
- package/dist/utrecht/p-75f9997b.entry.js +1 -0
- package/dist/utrecht/p-7d114163.entry.js +1 -0
- package/dist/utrecht/p-837a6fdf.entry.js +1 -0
- package/dist/utrecht/p-8b7d7a03.entry.js +1 -0
- package/dist/utrecht/p-929780fe.entry.js +1 -0
- package/dist/utrecht/p-946a03ad.entry.js +1 -0
- package/dist/utrecht/p-979138fb.entry.js +1 -0
- package/dist/utrecht/p-a7272f16.entry.js +1 -0
- package/dist/utrecht/p-a8f492ae.entry.js +1 -0
- package/dist/utrecht/p-b1425686.entry.js +1 -0
- package/dist/utrecht/p-b4185f2c.entry.js +1 -0
- package/dist/utrecht/p-bb7ee7c6.entry.js +1 -0
- package/dist/utrecht/p-c2699171.entry.js +1 -0
- package/dist/utrecht/p-c3c6dd79.entry.js +1 -0
- package/dist/utrecht/p-c69cf3b0.entry.js +1 -0
- package/dist/utrecht/p-ca5a1b8b.entry.js +1 -0
- package/dist/utrecht/p-d0a14420.entry.js +1 -0
- package/dist/utrecht/p-d27583eb.entry.js +1 -0
- package/dist/utrecht/p-d2a8967c.entry.js +1 -0
- package/dist/utrecht/p-d8528c00.entry.js +1 -0
- package/dist/utrecht/p-d9794f59.entry.js +1 -0
- package/dist/utrecht/p-df90175a.entry.js +1 -0
- package/dist/utrecht/{p-059d8057.entry.js → p-e9ed28bc.entry.js} +1 -1
- package/dist/utrecht/p-ea287a6a.entry.js +1 -0
- package/dist/utrecht/p-eac56ee3.entry.js +1 -0
- package/dist/utrecht/p-f71978aa.entry.js +1 -0
- package/dist/utrecht/p-f8291871.entry.js +1 -0
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/package.json +15 -7
- package/dist/cjs/utrecht-button.cjs.entry.js +0 -20
- package/dist/cjs/utrecht-paragraph.cjs.entry.js +0 -20
- package/dist/esm/utrecht-button.entry.js +0 -16
- package/dist/esm/utrecht-paragraph.entry.js +0 -16
- package/dist/utrecht/p-031700e7.entry.js +0 -1
- package/dist/utrecht/p-031d1e42.entry.js +0 -1
- package/dist/utrecht/p-26a456e1.entry.js +0 -1
- package/dist/utrecht/p-487bef55.entry.js +0 -1
- package/dist/utrecht/p-5eab253d.entry.js +0 -1
- package/dist/utrecht/p-6202d2cd.entry.js +0 -1
- package/dist/utrecht/p-634c1974.js +0 -1
- package/dist/utrecht/p-79c79abf.entry.js +0 -1
- package/dist/utrecht/p-d80edc6f.entry.js +0 -1
- package/dist/utrecht/p-dbb6d147.entry.js +0 -1
- package/dist/utrecht/p-dd661d2b.entry.js +0 -1
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { Component, Event, Prop, h } from "@stencil/core";
|
|
6
|
+
import clsx from "clsx";
|
|
7
|
+
export class FormToggle {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.disabled = false;
|
|
10
|
+
this.checked = false;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const { checked, disabled } = this;
|
|
14
|
+
const toggleInteraction = () => {
|
|
15
|
+
if (!this.disabled) {
|
|
16
|
+
this.checked = !this.checked;
|
|
17
|
+
this.utrechtInput.emit(this);
|
|
18
|
+
this.utrechtChange.emit(this);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
const handleClick = () => {
|
|
22
|
+
console.log("click");
|
|
23
|
+
toggleInteraction();
|
|
24
|
+
};
|
|
25
|
+
const handleKeyPress = (evt) => {
|
|
26
|
+
if (evt.code === "Space" || evt.key === " ") {
|
|
27
|
+
// Do not scroll the page using Space when the toggle is focussed
|
|
28
|
+
evt.preventDefault();
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
const handleKeyUp = (evt) => {
|
|
32
|
+
if (evt.code === "Space" || evt.key === " ") {
|
|
33
|
+
toggleInteraction();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
return (h("div", { class: clsx("utrecht-form-toggle", checked && "utrecht-form-toggle--checked", !checked && "utrecht-form-toggle--not-checked", disabled && "utrecht-form-toggle--disabled"), tabIndex: disabled ? null : 0, "aria-disabled": disabled, onClick: handleClick, onKeyPress: handleKeyPress, onKeyUp: handleKeyUp },
|
|
37
|
+
h("div", { class: "utrecht-form-toggle__label utrecht-form-toggle__label--off" }),
|
|
38
|
+
h("div", { class: "utrecht-form-toggle__label utrecht-form-toggle__label--on" }),
|
|
39
|
+
h("div", { class: clsx("utrecht-form-toggle__track", checked && "utrecht-form-toggle__track--checked", !checked && "utrecht-form-toggle__track--not-checked", disabled && "utrecht-form-toggle__track--disabled") },
|
|
40
|
+
h("div", { class: clsx("utrecht-form-toggle__thumb", checked && "utrecht-form-toggle__thumb--checked", !checked && "utrecht-form-toggle__thumb--not-checked", disabled && "utrecht-form-toggle__thumb--disabled") }))));
|
|
41
|
+
}
|
|
42
|
+
static get is() { return "utrecht-form-toggle"; }
|
|
43
|
+
static get encapsulation() { return "shadow"; }
|
|
44
|
+
static get originalStyleUrls() { return {
|
|
45
|
+
"$": ["stencil.scss"]
|
|
46
|
+
}; }
|
|
47
|
+
static get styleUrls() { return {
|
|
48
|
+
"$": ["stencil.css"]
|
|
49
|
+
}; }
|
|
50
|
+
static get properties() { return {
|
|
51
|
+
"disabled": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"mutable": false,
|
|
54
|
+
"complexType": {
|
|
55
|
+
"original": "boolean",
|
|
56
|
+
"resolved": "boolean",
|
|
57
|
+
"references": {}
|
|
58
|
+
},
|
|
59
|
+
"required": false,
|
|
60
|
+
"optional": false,
|
|
61
|
+
"docs": {
|
|
62
|
+
"tags": [],
|
|
63
|
+
"text": ""
|
|
64
|
+
},
|
|
65
|
+
"attribute": "disabled",
|
|
66
|
+
"reflect": true,
|
|
67
|
+
"defaultValue": "false"
|
|
68
|
+
},
|
|
69
|
+
"checked": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "boolean",
|
|
74
|
+
"resolved": "boolean",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": ""
|
|
82
|
+
},
|
|
83
|
+
"attribute": "checked",
|
|
84
|
+
"reflect": true,
|
|
85
|
+
"defaultValue": "false"
|
|
86
|
+
}
|
|
87
|
+
}; }
|
|
88
|
+
static get events() { return [{
|
|
89
|
+
"method": "utrechtBlur",
|
|
90
|
+
"name": "utrechtBlur",
|
|
91
|
+
"bubbles": true,
|
|
92
|
+
"cancelable": true,
|
|
93
|
+
"composed": true,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": ""
|
|
97
|
+
},
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "any",
|
|
100
|
+
"resolved": "any",
|
|
101
|
+
"references": {}
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
"method": "utrechtChange",
|
|
105
|
+
"name": "utrechtChange",
|
|
106
|
+
"bubbles": true,
|
|
107
|
+
"cancelable": true,
|
|
108
|
+
"composed": true,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": ""
|
|
112
|
+
},
|
|
113
|
+
"complexType": {
|
|
114
|
+
"original": "any",
|
|
115
|
+
"resolved": "any",
|
|
116
|
+
"references": {}
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
"method": "utrechtFocus",
|
|
120
|
+
"name": "utrechtFocus",
|
|
121
|
+
"bubbles": true,
|
|
122
|
+
"cancelable": true,
|
|
123
|
+
"composed": true,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": ""
|
|
127
|
+
},
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "any",
|
|
130
|
+
"resolved": "any",
|
|
131
|
+
"references": {}
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
"method": "utrechtInput",
|
|
135
|
+
"name": "utrechtInput",
|
|
136
|
+
"bubbles": true,
|
|
137
|
+
"cancelable": true,
|
|
138
|
+
"composed": true,
|
|
139
|
+
"docs": {
|
|
140
|
+
"tags": [],
|
|
141
|
+
"text": ""
|
|
142
|
+
},
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "any",
|
|
145
|
+
"resolved": "any",
|
|
146
|
+
"references": {}
|
|
147
|
+
}
|
|
148
|
+
}]; }
|
|
149
|
+
}
|
|
@@ -1,114 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
1
5
|
/**
|
|
2
6
|
* @license EUPL-1.2
|
|
3
7
|
* Copyright (c) 2021 Gemeente Utrecht
|
|
4
8
|
* Copyright (c) 2021 Robbert Broersma
|
|
5
9
|
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
6
10
|
*/
|
|
7
|
-
|
|
8
11
|
.utrecht-heading-1 {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var(--utrecht-heading-font-family, var(--utrecht-document-font-family))
|
|
12
|
-
);
|
|
12
|
+
color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
13
|
+
font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
13
14
|
font-size: var(--utrecht-heading-1-font-size);
|
|
14
15
|
font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
15
16
|
letter-spacing: var(--utrecht-heading-1-letter-spacing);
|
|
16
17
|
line-height: var(--utrecht-heading-1-line-height);
|
|
18
|
+
margin-block-end: 0;
|
|
19
|
+
margin-block-start: 0;
|
|
17
20
|
text-transform: var(--utrecht-heading-1-text-transform, inherit);
|
|
18
|
-
color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
.utrecht-heading-1--distanced {
|
|
22
|
-
margin-block-start: var(--utrecht-heading-1-margin-block-start);
|
|
23
24
|
margin-block-end: var(--utrecht-heading-1-margin-block-end);
|
|
25
|
+
margin-block-start: var(--utrecht-heading-1-margin-block-start);
|
|
24
26
|
}
|
|
25
27
|
|
|
28
|
+
/**
|
|
29
|
+
* @license EUPL-1.2
|
|
30
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
31
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
32
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
33
|
+
*/
|
|
26
34
|
.utrecht-heading-2 {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
var(--utrecht-heading-font-family, var(--utrecht-document-font-family))
|
|
30
|
-
);
|
|
35
|
+
color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
36
|
+
font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
31
37
|
font-size: var(--utrecht-heading-2-font-size);
|
|
32
38
|
font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
33
39
|
letter-spacing: var(--utrecht-heading-2-letter-spacing);
|
|
34
40
|
line-height: var(--utrecht-heading-2-line-height);
|
|
41
|
+
margin-block-end: 0;
|
|
42
|
+
margin-block-start: 0;
|
|
35
43
|
text-transform: var(--utrecht-heading-2-text-transform, inherit);
|
|
36
|
-
color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
37
44
|
}
|
|
38
45
|
|
|
39
46
|
.utrecht-heading-2--distanced {
|
|
40
|
-
margin-block-start: var(--utrecht-heading-2-margin-block-start);
|
|
41
47
|
margin-block-end: var(--utrecht-heading-2-margin-block-end);
|
|
48
|
+
margin-block-start: var(--utrecht-heading-2-margin-block-start);
|
|
42
49
|
}
|
|
43
50
|
|
|
51
|
+
/**
|
|
52
|
+
* @license EUPL-1.2
|
|
53
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
54
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
55
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
56
|
+
*/
|
|
44
57
|
.utrecht-heading-3 {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var(--utrecht-heading-font-family, var(--utrecht-document-font-family))
|
|
48
|
-
);
|
|
58
|
+
color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
59
|
+
font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
49
60
|
font-size: var(--utrecht-heading-3-font-size);
|
|
50
61
|
font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
51
62
|
letter-spacing: var(--utrecht-heading-3-letter-spacing);
|
|
52
63
|
line-height: var(--utrecht-heading-3-line-height);
|
|
64
|
+
margin-block-end: 0;
|
|
65
|
+
margin-block-start: 0;
|
|
53
66
|
text-transform: var(--utrecht-heading-3-text-transform, inherit);
|
|
54
|
-
color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
55
67
|
}
|
|
56
68
|
|
|
57
69
|
.utrecht-heading-3--distanced {
|
|
58
|
-
margin-block-start: var(--utrecht-heading-3-margin-block-start);
|
|
59
70
|
margin-block-end: var(--utrecht-heading-3-margin-block-end);
|
|
71
|
+
margin-block-start: var(--utrecht-heading-3-margin-block-start);
|
|
60
72
|
}
|
|
61
73
|
|
|
74
|
+
/**
|
|
75
|
+
* @license EUPL-1.2
|
|
76
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
77
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
78
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
79
|
+
*/
|
|
62
80
|
.utrecht-heading-4 {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
var(--utrecht-heading-font-family, var(--utrecht-document-font-family))
|
|
66
|
-
);
|
|
81
|
+
color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
82
|
+
font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
67
83
|
font-size: var(--utrecht-heading-4-font-size);
|
|
68
84
|
font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
69
85
|
letter-spacing: var(--utrecht-heading-4-letter-spacing);
|
|
70
86
|
line-height: var(--utrecht-heading-4-line-height);
|
|
87
|
+
margin-block-end: 0;
|
|
88
|
+
margin-block-start: 0;
|
|
71
89
|
text-transform: var(--utrecht-heading-4-text-transform, inherit);
|
|
72
|
-
color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
73
90
|
}
|
|
74
91
|
|
|
75
92
|
.utrecht-heading-4--distanced {
|
|
76
|
-
margin-block-start: var(--utrecht-heading-4-margin-block-start);
|
|
77
93
|
margin-block-end: var(--utrecht-heading-4-margin-block-end);
|
|
94
|
+
margin-block-start: var(--utrecht-heading-4-margin-block-start);
|
|
78
95
|
}
|
|
79
96
|
|
|
97
|
+
/**
|
|
98
|
+
* @license EUPL-1.2
|
|
99
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
100
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
101
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
102
|
+
*/
|
|
80
103
|
.utrecht-heading-5 {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
var(--utrecht-heading-font-family, var(--utrecht-document-font-family))
|
|
84
|
-
);
|
|
104
|
+
color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
105
|
+
font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
85
106
|
font-size: var(--utrecht-heading-5-font-size);
|
|
86
107
|
font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
87
108
|
letter-spacing: var(--utrecht-heading-5-letter-spacing);
|
|
88
109
|
line-height: var(--utrecht-heading-5-line-height);
|
|
110
|
+
margin-block-end: 0;
|
|
111
|
+
margin-block-start: 0;
|
|
89
112
|
text-transform: var(--utrecht-heading-5-text-transform, inherit);
|
|
90
|
-
color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
91
113
|
}
|
|
92
114
|
|
|
93
115
|
.utrecht-heading-5--distanced {
|
|
94
|
-
margin-block-start: var(--utrecht-heading-5-margin-block-start);
|
|
95
116
|
margin-block-end: var(--utrecht-heading-5-margin-block-end);
|
|
117
|
+
margin-block-start: var(--utrecht-heading-5-margin-block-start);
|
|
96
118
|
}
|
|
97
119
|
|
|
120
|
+
/**
|
|
121
|
+
* @license EUPL-1.2
|
|
122
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
123
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
124
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
125
|
+
*/
|
|
98
126
|
.utrecht-heading-6 {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
var(--utrecht-heading-font-family, var(--utrecht-document-font-family))
|
|
102
|
-
);
|
|
127
|
+
color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
128
|
+
font-family: var(--utrecht-heading-6-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
103
129
|
font-size: var(--utrecht-heading-6-font-size);
|
|
104
130
|
font-weight: var(--utrecht-heading-6-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
105
131
|
letter-spacing: var(--utrecht-heading-6-letter-spacing);
|
|
106
132
|
line-height: var(--utrecht-heading-6-line-height);
|
|
133
|
+
margin-block-end: 0;
|
|
134
|
+
margin-block-start: 0;
|
|
107
135
|
text-transform: var(--utrecht-heading-6-text-transform, inherit);
|
|
108
|
-
color: var(--utrecht-heading-6-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
109
136
|
}
|
|
110
137
|
|
|
111
138
|
.utrecht-heading-6--distanced {
|
|
112
|
-
margin-block-start: var(--utrecht-heading-6-margin-block-start);
|
|
113
139
|
margin-block-end: var(--utrecht-heading-6-margin-block-end);
|
|
140
|
+
margin-block-start: var(--utrecht-heading-6-margin-block-start);
|
|
114
141
|
}
|
|
142
|
+
|
|
143
|
+
:host {
|
|
144
|
+
display: block;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
:host([hidden]) {
|
|
148
|
+
display: none !important;
|
|
149
|
+
}
|
|
@@ -33,10 +33,10 @@ export class Heading {
|
|
|
33
33
|
static get is() { return "utrecht-heading"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
35
35
|
static get originalStyleUrls() { return {
|
|
36
|
-
"$": ["
|
|
36
|
+
"$": ["stencil.scss"]
|
|
37
37
|
}; }
|
|
38
38
|
static get styleUrls() { return {
|
|
39
|
-
"$": ["
|
|
39
|
+
"$": ["stencil.css"]
|
|
40
40
|
}; }
|
|
41
41
|
static get properties() { return {
|
|
42
42
|
"level": {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
export const Heading1 = ({ textContent = '', distanced = false }) =>
|
|
9
|
+
`<h1 class="${clsx('utrecht-heading-1', {
|
|
10
|
+
'utrecht-heading-1--distanced': distanced,
|
|
11
|
+
})}">${textContent}</h1>`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license EUPL-1.2
|
|
7
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
8
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
9
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
10
|
+
*/
|
|
11
|
+
.utrecht-heading-1 {
|
|
12
|
+
color: var(--utrecht-heading-1-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
13
|
+
font-family: var(--utrecht-heading-1-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
14
|
+
font-size: var(--utrecht-heading-1-font-size);
|
|
15
|
+
font-weight: var(--utrecht-heading-1-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
16
|
+
letter-spacing: var(--utrecht-heading-1-letter-spacing);
|
|
17
|
+
line-height: var(--utrecht-heading-1-line-height);
|
|
18
|
+
margin-block-end: 0;
|
|
19
|
+
margin-block-start: 0;
|
|
20
|
+
text-transform: var(--utrecht-heading-1-text-transform, inherit);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.utrecht-heading-1--distanced {
|
|
24
|
+
margin-block-end: var(--utrecht-heading-1-margin-block-end);
|
|
25
|
+
margin-block-start: var(--utrecht-heading-1-margin-block-start);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([hidden]) {
|
|
33
|
+
display: none !important;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h } from "@stencil/core";
|
|
2
|
+
export class Heading1 {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("h1", { class: "utrecht-heading-1" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "utrecht-heading-1"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["stencil.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["stencil.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
export const Heading2 = ({ textContent = '', distanced = false }) =>
|
|
9
|
+
`<h2 class="${clsx('utrecht-heading-2', {
|
|
10
|
+
'utrecht-heading-2--distanced': distanced,
|
|
11
|
+
})}">${textContent}</h2>`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license EUPL-1.2
|
|
7
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
8
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
9
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
10
|
+
*/
|
|
11
|
+
.utrecht-heading-2 {
|
|
12
|
+
color: var(--utrecht-heading-2-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
13
|
+
font-family: var(--utrecht-heading-2-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
14
|
+
font-size: var(--utrecht-heading-2-font-size);
|
|
15
|
+
font-weight: var(--utrecht-heading-2-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
16
|
+
letter-spacing: var(--utrecht-heading-2-letter-spacing);
|
|
17
|
+
line-height: var(--utrecht-heading-2-line-height);
|
|
18
|
+
margin-block-end: 0;
|
|
19
|
+
margin-block-start: 0;
|
|
20
|
+
text-transform: var(--utrecht-heading-2-text-transform, inherit);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.utrecht-heading-2--distanced {
|
|
24
|
+
margin-block-end: var(--utrecht-heading-2-margin-block-end);
|
|
25
|
+
margin-block-start: var(--utrecht-heading-2-margin-block-start);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([hidden]) {
|
|
33
|
+
display: none !important;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h } from "@stencil/core";
|
|
2
|
+
export class Heading2 {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("h2", { class: "utrecht-heading-2" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "utrecht-heading-2"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["stencil.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["stencil.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
export const Heading3 = ({ textContent = '', distanced = false }) =>
|
|
9
|
+
`<h3 class="${clsx('utrecht-heading-3', {
|
|
10
|
+
'utrecht-heading-3--distanced': distanced,
|
|
11
|
+
})}">${textContent}</h3>`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license EUPL-1.2
|
|
7
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
8
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
9
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
10
|
+
*/
|
|
11
|
+
.utrecht-heading-3 {
|
|
12
|
+
color: var(--utrecht-heading-3-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
13
|
+
font-family: var(--utrecht-heading-3-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
14
|
+
font-size: var(--utrecht-heading-3-font-size);
|
|
15
|
+
font-weight: var(--utrecht-heading-3-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
16
|
+
letter-spacing: var(--utrecht-heading-3-letter-spacing);
|
|
17
|
+
line-height: var(--utrecht-heading-3-line-height);
|
|
18
|
+
margin-block-end: 0;
|
|
19
|
+
margin-block-start: 0;
|
|
20
|
+
text-transform: var(--utrecht-heading-3-text-transform, inherit);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.utrecht-heading-3--distanced {
|
|
24
|
+
margin-block-end: var(--utrecht-heading-3-margin-block-end);
|
|
25
|
+
margin-block-start: var(--utrecht-heading-3-margin-block-start);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([hidden]) {
|
|
33
|
+
display: none !important;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h } from "@stencil/core";
|
|
2
|
+
export class Heading3 {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("h3", { class: "utrecht-heading-3" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "utrecht-heading-3"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["stencil.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["stencil.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
export const Heading4 = ({ textContent = '', distanced = false }) =>
|
|
9
|
+
`<h4 class="${clsx('utrecht-heading-4', {
|
|
10
|
+
'utrecht-heading-4--distanced': distanced,
|
|
11
|
+
})}">${textContent}</h4>`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license EUPL-1.2
|
|
7
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
8
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
9
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
10
|
+
*/
|
|
11
|
+
.utrecht-heading-4 {
|
|
12
|
+
color: var(--utrecht-heading-4-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
13
|
+
font-family: var(--utrecht-heading-4-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
14
|
+
font-size: var(--utrecht-heading-4-font-size);
|
|
15
|
+
font-weight: var(--utrecht-heading-4-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
16
|
+
letter-spacing: var(--utrecht-heading-4-letter-spacing);
|
|
17
|
+
line-height: var(--utrecht-heading-4-line-height);
|
|
18
|
+
margin-block-end: 0;
|
|
19
|
+
margin-block-start: 0;
|
|
20
|
+
text-transform: var(--utrecht-heading-4-text-transform, inherit);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.utrecht-heading-4--distanced {
|
|
24
|
+
margin-block-end: var(--utrecht-heading-4-margin-block-end);
|
|
25
|
+
margin-block-start: var(--utrecht-heading-4-margin-block-start);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([hidden]) {
|
|
33
|
+
display: none !important;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h } from "@stencil/core";
|
|
2
|
+
export class Heading4 {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("h4", { class: "utrecht-heading-4" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "utrecht-heading-4"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["stencil.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["stencil.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
export const Heading5 = ({ textContent = '', distanced = false }) =>
|
|
9
|
+
`<h5 class="${clsx('utrecht-heading-5', {
|
|
10
|
+
'utrecht-heading-5--distanced': distanced,
|
|
11
|
+
})}">${textContent}</h5>`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license EUPL-1.2
|
|
7
|
+
* Copyright (c) 2021 Gemeente Utrecht
|
|
8
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
9
|
+
* Copyright (c) 2021 The Knights Who Say NIH! B.V.
|
|
10
|
+
*/
|
|
11
|
+
.utrecht-heading-5 {
|
|
12
|
+
color: var(--utrecht-heading-5-color, var(--utrecht-heading-color, var(--utrecht-document-color, inherit)));
|
|
13
|
+
font-family: var(--utrecht-heading-5-font-family, var(--utrecht-heading-font-family, var(--utrecht-document-font-family)));
|
|
14
|
+
font-size: var(--utrecht-heading-5-font-size);
|
|
15
|
+
font-weight: var(--utrecht-heading-5-font-weight, var(--utrecht-heading-font-weight, bold));
|
|
16
|
+
letter-spacing: var(--utrecht-heading-5-letter-spacing);
|
|
17
|
+
line-height: var(--utrecht-heading-5-line-height);
|
|
18
|
+
margin-block-end: 0;
|
|
19
|
+
margin-block-start: 0;
|
|
20
|
+
text-transform: var(--utrecht-heading-5-text-transform, inherit);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.utrecht-heading-5--distanced {
|
|
24
|
+
margin-block-end: var(--utrecht-heading-5-margin-block-end);
|
|
25
|
+
margin-block-start: var(--utrecht-heading-5-margin-block-start);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([hidden]) {
|
|
33
|
+
display: none !important;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h } from "@stencil/core";
|
|
2
|
+
export class Heading5 {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("h5", { class: "utrecht-heading-5" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "utrecht-heading-5"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["stencil.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["stencil.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|