@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,25 @@
|
|
|
1
|
+
import { Component, h } from "@stencil/core";
|
|
2
|
+
export class ContactCardTemplate {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("div", { class: "utrecht-contact-card" },
|
|
5
|
+
h("utrecht-heading-2", null, "Hulp en contact"),
|
|
6
|
+
h("div", { class: "utrecht-contact-card__content" },
|
|
7
|
+
h("div", { class: "utrecht-contact-card__section" },
|
|
8
|
+
h("utrecht-heading-3", null, "Telefoon"),
|
|
9
|
+
h("utrecht-paragraph", { class: "utrecht-contact-card__telephone" },
|
|
10
|
+
h("a", { href: "tel:14-030", class: "utrecht-link utrecht-link--telephone", title: "Telefoonnummer van gemeente Utrecht" }, "14 030")),
|
|
11
|
+
h("utrecht-paragraph", null, "Maandag t/m vrijdag 8.30 \u2013 17.30 uur")),
|
|
12
|
+
h("div", { class: "utrecht-contact-card__section" },
|
|
13
|
+
h("utrecht-heading-3", null, "E-mail"),
|
|
14
|
+
h("utrecht-paragraph", null,
|
|
15
|
+
h("a", { class: "utrecht-link", href: "https://www.utrecht.nl/reactieformulier", title: "Algemeen reactieformulier van de gemeente Utrecht" }, "reactieformulier"))))));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "utrecht-contact-card-template"; }
|
|
18
|
+
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get originalStyleUrls() { return {
|
|
20
|
+
"$": ["stencil.scss"]
|
|
21
|
+
}; }
|
|
22
|
+
static get styleUrls() { return {
|
|
23
|
+
"$": ["stencil.css"]
|
|
24
|
+
}; }
|
|
25
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import clsx from 'clsx';
|
|
2
|
+
|
|
3
|
+
export const defaultArgs = {
|
|
4
|
+
disabled: false,
|
|
5
|
+
focus: false,
|
|
6
|
+
hover: false,
|
|
7
|
+
invalid: false,
|
|
8
|
+
placeholder: '',
|
|
9
|
+
readOnly: false,
|
|
10
|
+
required: false,
|
|
11
|
+
textContent: '',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const TextArea = ({
|
|
15
|
+
disabled = false,
|
|
16
|
+
focus = false,
|
|
17
|
+
hover = false,
|
|
18
|
+
invalid = false,
|
|
19
|
+
placeholder = '',
|
|
20
|
+
readOnly = false,
|
|
21
|
+
required = false,
|
|
22
|
+
textContent = '',
|
|
23
|
+
}) =>
|
|
24
|
+
`<textarea class="${clsx(
|
|
25
|
+
'utrecht-textarea',
|
|
26
|
+
disabled && 'utrecht-textarea--disabled',
|
|
27
|
+
focus && 'utrecht-textarea--focus',
|
|
28
|
+
hover && 'utrecht-textarea--hover',
|
|
29
|
+
invalid && 'utrecht-textarea--invalid',
|
|
30
|
+
readOnly && 'utrecht-textarea--readonly',
|
|
31
|
+
required && 'utrecht-textarea--required',
|
|
32
|
+
)}"${placeholder ? ` placeholder="${placeholder}"` : ''}>${textContent}</textarea>`;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const defaultArgs = {
|
|
2
|
+
disabled: false,
|
|
3
|
+
invalid: false,
|
|
4
|
+
label: '',
|
|
5
|
+
placeholder: '',
|
|
6
|
+
readOnly: false,
|
|
7
|
+
required: false,
|
|
8
|
+
textContent: '',
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export const TextArea = ({
|
|
12
|
+
disabled = false,
|
|
13
|
+
invalid = false,
|
|
14
|
+
label = '',
|
|
15
|
+
placeholder = '',
|
|
16
|
+
readOnly = false,
|
|
17
|
+
required = false,
|
|
18
|
+
textContent = '',
|
|
19
|
+
}) =>
|
|
20
|
+
`<textarea class="utrecht-textarea"${disabled ? ' disabled' : ''}${invalid ? ' aria-invalid="true"' : ''}${
|
|
21
|
+
placeholder ? ` placeholder="${placeholder}"` : ''
|
|
22
|
+
}${readOnly ? ' readonly' : ''}${required ? ' required' : ''}>${textContent}</textarea>`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
export const defaultArgs = {
|
|
9
|
+
disabled: false,
|
|
10
|
+
focus: false,
|
|
11
|
+
invalid: false,
|
|
12
|
+
readOnly: false,
|
|
13
|
+
required: false,
|
|
14
|
+
placeholder: '',
|
|
15
|
+
value: '',
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const TextBox = ({
|
|
19
|
+
disabled = false,
|
|
20
|
+
focus = false,
|
|
21
|
+
invalid = false,
|
|
22
|
+
placeholder = '',
|
|
23
|
+
readOnly = false,
|
|
24
|
+
required = false,
|
|
25
|
+
value = '',
|
|
26
|
+
}) =>
|
|
27
|
+
`<input class="${clsx(
|
|
28
|
+
'utrecht-textbox',
|
|
29
|
+
disabled && 'utrecht-textbox--disabled',
|
|
30
|
+
focus && 'utrecht-textbox--focus',
|
|
31
|
+
invalid && 'utrecht-textbox--invalid',
|
|
32
|
+
readOnly && 'utrecht-textbox--readonly',
|
|
33
|
+
required && 'utrecht-textbox--required',
|
|
34
|
+
)}"${placeholder ? ` placeholder="${placeholder}"` : ''} value="${value}">`;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license EUPL-1.2
|
|
7
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
8
|
+
*/
|
|
9
|
+
.utrecht-textbox {
|
|
10
|
+
background-color: var(--utrecht-textbox-background-color, var(--utrecht-form-input-background-color));
|
|
11
|
+
border-width: var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width));
|
|
12
|
+
border-bottom-width: var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width)));
|
|
13
|
+
border-color: var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color));
|
|
14
|
+
border-radius: var(--utrecht-textbox-border-radius, var(--utrecht-form-input-border-radius, 0));
|
|
15
|
+
border-style: solid;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
color: var(--utrecht-textbox-color, var(--utrecht-form-input-color));
|
|
18
|
+
font-family: var(--utrecht-textbox-font-family, var(--utrecht-form-input-font-family));
|
|
19
|
+
font-size: var(--utrecht-textbox-font-size, var(--utrecht-form-input-font-size, 1em));
|
|
20
|
+
max-inline-size: var(--utrecht-textbox-max-inline-size, var(--utrecht-form-input-max-inline-size));
|
|
21
|
+
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-input-padding-block-end));
|
|
22
|
+
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-input-padding-block-start));
|
|
23
|
+
padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-input-padding-inline-end));
|
|
24
|
+
padding-inline-start: var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-input-padding-inline-start));
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.utrecht-textbox--invalid, .utrecht-textbox--html-input:invalid, .utrecht-textbox--html-input[aria-invalid=true] {
|
|
29
|
+
background-color: var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-input-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-input-background-color))));
|
|
30
|
+
border-color: var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-input-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color))));
|
|
31
|
+
border-width: var(--utrecht-textbox-invalid-border-width, var(--utrecht-form-input-invalid-border-width, var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width))));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.utrecht-textbox--disabled, .utrecht-textbox--html-input:disabled {
|
|
35
|
+
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-input-disabled-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-input-background-color))));
|
|
36
|
+
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-input-disabled-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-input-border-color))));
|
|
37
|
+
color: var(--utrecht-textbox-disabled-color, var(--utrecht-form-input-disabled-color, var(--utrecht-textarea-color, var(--utrecht-form-input-color))));
|
|
38
|
+
cursor: var(--utrecht-action-disabled-cursor);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.utrecht-textbox--focus, .utrecht-textbox--html-input:focus {
|
|
42
|
+
background-color: var(--utrecht-focus-background-color);
|
|
43
|
+
box-shadow: 0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);
|
|
44
|
+
color: var(--utrecht-focus-color, inherit);
|
|
45
|
+
outline-color: var(--utrecht-focus-outline-color, transparent);
|
|
46
|
+
outline-offset: 0;
|
|
47
|
+
outline-style: var(--utrecht-focus-outline-style, solid);
|
|
48
|
+
outline-width: var(--utrecht-focus-outline-width, 0);
|
|
49
|
+
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-input-focus-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-input-background-color))));
|
|
50
|
+
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-input-focus-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-input-border-color))));
|
|
51
|
+
color: var(--utrecht-textbox-focus-color, var(--utrecht-form-input-focus-color, var(--utrecht-textarea-color, var(--utrecht-form-input-color))));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.utrecht-textbox--read-only, .utrecht-textbox--html-input:read-only {
|
|
55
|
+
border-color: var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-input-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color))));
|
|
56
|
+
color: var(--utrecht-textbox-read-only-color, var(--utrecht-form-input-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-input-color))));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.utrecht-textbox__placeholder, .utrecht-textbox--html-input::placeholder {
|
|
60
|
+
color: var(--utrecht-textbox-placeholder-color, var(--utrecht-form-input-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-input-color))));
|
|
61
|
+
opacity: 100%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host {
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([hidden]) {
|
|
69
|
+
display: none !important;
|
|
70
|
+
}
|
|
@@ -0,0 +1,297 @@
|
|
|
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 Textbox {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.autoComplete = "";
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.invalid = false;
|
|
12
|
+
this.min = "";
|
|
13
|
+
this.max = "";
|
|
14
|
+
this.pattern = "";
|
|
15
|
+
this.placeholder = "";
|
|
16
|
+
this.readOnly = false;
|
|
17
|
+
this.required = false;
|
|
18
|
+
this.type = "";
|
|
19
|
+
this.value = "";
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
const { autoComplete, disabled, invalid, min, max, pattern, placeholder, readOnly, required, type, value } = this;
|
|
23
|
+
return (h("input", { class: clsx("utrecht-textbox", "utrecht-textbox--html-input", disabled && "utrecht-textbox--disabled", invalid && "utrecht-textbox--invalid", readOnly && "utrecht-textbox--readonly"), type: type || "text", autoComplete: autoComplete ? autoComplete : null, disabled: disabled, min: min ? min : null, max: max ? max : null, pattern: pattern ? pattern : null, placeholder: placeholder || null, readonly: readOnly, required: required, value: value, onBlur: (evt) => this.utrechtBlur.emit(evt), onChange: (evt) => this.utrechtChange.emit(evt), onFocus: (evt) => this.utrechtFocus.emit(evt), onInput: (evt) => {
|
|
24
|
+
this.value = evt.target.value;
|
|
25
|
+
this.utrechtInput.emit(evt);
|
|
26
|
+
} }));
|
|
27
|
+
}
|
|
28
|
+
static get is() { return "utrecht-textbox"; }
|
|
29
|
+
static get encapsulation() { return "shadow"; }
|
|
30
|
+
static get originalStyleUrls() { return {
|
|
31
|
+
"$": ["stencil.scss"]
|
|
32
|
+
}; }
|
|
33
|
+
static get styleUrls() { return {
|
|
34
|
+
"$": ["stencil.css"]
|
|
35
|
+
}; }
|
|
36
|
+
static get properties() { return {
|
|
37
|
+
"autoComplete": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"mutable": false,
|
|
40
|
+
"complexType": {
|
|
41
|
+
"original": "string",
|
|
42
|
+
"resolved": "string",
|
|
43
|
+
"references": {}
|
|
44
|
+
},
|
|
45
|
+
"required": false,
|
|
46
|
+
"optional": false,
|
|
47
|
+
"docs": {
|
|
48
|
+
"tags": [],
|
|
49
|
+
"text": ""
|
|
50
|
+
},
|
|
51
|
+
"attribute": "autocomplete",
|
|
52
|
+
"reflect": true,
|
|
53
|
+
"defaultValue": "\"\""
|
|
54
|
+
},
|
|
55
|
+
"disabled": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "boolean",
|
|
60
|
+
"resolved": "boolean",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": false,
|
|
64
|
+
"optional": false,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": ""
|
|
68
|
+
},
|
|
69
|
+
"attribute": "disabled",
|
|
70
|
+
"reflect": true,
|
|
71
|
+
"defaultValue": "false"
|
|
72
|
+
},
|
|
73
|
+
"invalid": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "boolean",
|
|
78
|
+
"resolved": "boolean",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": ""
|
|
86
|
+
},
|
|
87
|
+
"attribute": "invalid",
|
|
88
|
+
"reflect": true,
|
|
89
|
+
"defaultValue": "false"
|
|
90
|
+
},
|
|
91
|
+
"min": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "string",
|
|
96
|
+
"resolved": "string",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": ""
|
|
104
|
+
},
|
|
105
|
+
"attribute": "min",
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"defaultValue": "\"\""
|
|
108
|
+
},
|
|
109
|
+
"max": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": ""
|
|
122
|
+
},
|
|
123
|
+
"attribute": "max",
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"defaultValue": "\"\""
|
|
126
|
+
},
|
|
127
|
+
"pattern": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"mutable": false,
|
|
130
|
+
"complexType": {
|
|
131
|
+
"original": "string",
|
|
132
|
+
"resolved": "string",
|
|
133
|
+
"references": {}
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"optional": false,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": ""
|
|
140
|
+
},
|
|
141
|
+
"attribute": "pattern",
|
|
142
|
+
"reflect": false,
|
|
143
|
+
"defaultValue": "\"\""
|
|
144
|
+
},
|
|
145
|
+
"placeholder": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "string",
|
|
150
|
+
"resolved": "string",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": false,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": ""
|
|
158
|
+
},
|
|
159
|
+
"attribute": "placeholder",
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"defaultValue": "\"\""
|
|
162
|
+
},
|
|
163
|
+
"readOnly": {
|
|
164
|
+
"type": "boolean",
|
|
165
|
+
"mutable": false,
|
|
166
|
+
"complexType": {
|
|
167
|
+
"original": "boolean",
|
|
168
|
+
"resolved": "boolean",
|
|
169
|
+
"references": {}
|
|
170
|
+
},
|
|
171
|
+
"required": false,
|
|
172
|
+
"optional": false,
|
|
173
|
+
"docs": {
|
|
174
|
+
"tags": [],
|
|
175
|
+
"text": ""
|
|
176
|
+
},
|
|
177
|
+
"attribute": "readonly",
|
|
178
|
+
"reflect": true,
|
|
179
|
+
"defaultValue": "false"
|
|
180
|
+
},
|
|
181
|
+
"required": {
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"mutable": false,
|
|
184
|
+
"complexType": {
|
|
185
|
+
"original": "boolean",
|
|
186
|
+
"resolved": "boolean",
|
|
187
|
+
"references": {}
|
|
188
|
+
},
|
|
189
|
+
"required": false,
|
|
190
|
+
"optional": false,
|
|
191
|
+
"docs": {
|
|
192
|
+
"tags": [],
|
|
193
|
+
"text": ""
|
|
194
|
+
},
|
|
195
|
+
"attribute": "required",
|
|
196
|
+
"reflect": true,
|
|
197
|
+
"defaultValue": "false"
|
|
198
|
+
},
|
|
199
|
+
"type": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "string",
|
|
204
|
+
"resolved": "string",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": ""
|
|
212
|
+
},
|
|
213
|
+
"attribute": "type",
|
|
214
|
+
"reflect": true,
|
|
215
|
+
"defaultValue": "\"\""
|
|
216
|
+
},
|
|
217
|
+
"value": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"mutable": false,
|
|
220
|
+
"complexType": {
|
|
221
|
+
"original": "string",
|
|
222
|
+
"resolved": "string",
|
|
223
|
+
"references": {}
|
|
224
|
+
},
|
|
225
|
+
"required": false,
|
|
226
|
+
"optional": false,
|
|
227
|
+
"docs": {
|
|
228
|
+
"tags": [],
|
|
229
|
+
"text": ""
|
|
230
|
+
},
|
|
231
|
+
"attribute": "value",
|
|
232
|
+
"reflect": false,
|
|
233
|
+
"defaultValue": "\"\""
|
|
234
|
+
}
|
|
235
|
+
}; }
|
|
236
|
+
static get events() { return [{
|
|
237
|
+
"method": "utrechtBlur",
|
|
238
|
+
"name": "utrechtBlur",
|
|
239
|
+
"bubbles": true,
|
|
240
|
+
"cancelable": true,
|
|
241
|
+
"composed": true,
|
|
242
|
+
"docs": {
|
|
243
|
+
"tags": [],
|
|
244
|
+
"text": ""
|
|
245
|
+
},
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "any",
|
|
248
|
+
"resolved": "any",
|
|
249
|
+
"references": {}
|
|
250
|
+
}
|
|
251
|
+
}, {
|
|
252
|
+
"method": "utrechtChange",
|
|
253
|
+
"name": "utrechtChange",
|
|
254
|
+
"bubbles": true,
|
|
255
|
+
"cancelable": true,
|
|
256
|
+
"composed": true,
|
|
257
|
+
"docs": {
|
|
258
|
+
"tags": [],
|
|
259
|
+
"text": ""
|
|
260
|
+
},
|
|
261
|
+
"complexType": {
|
|
262
|
+
"original": "any",
|
|
263
|
+
"resolved": "any",
|
|
264
|
+
"references": {}
|
|
265
|
+
}
|
|
266
|
+
}, {
|
|
267
|
+
"method": "utrechtFocus",
|
|
268
|
+
"name": "utrechtFocus",
|
|
269
|
+
"bubbles": true,
|
|
270
|
+
"cancelable": true,
|
|
271
|
+
"composed": true,
|
|
272
|
+
"docs": {
|
|
273
|
+
"tags": [],
|
|
274
|
+
"text": ""
|
|
275
|
+
},
|
|
276
|
+
"complexType": {
|
|
277
|
+
"original": "any",
|
|
278
|
+
"resolved": "any",
|
|
279
|
+
"references": {}
|
|
280
|
+
}
|
|
281
|
+
}, {
|
|
282
|
+
"method": "utrechtInput",
|
|
283
|
+
"name": "utrechtInput",
|
|
284
|
+
"bubbles": true,
|
|
285
|
+
"cancelable": true,
|
|
286
|
+
"composed": true,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": ""
|
|
290
|
+
},
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "any",
|
|
293
|
+
"resolved": "any",
|
|
294
|
+
"references": {}
|
|
295
|
+
}
|
|
296
|
+
}]; }
|
|
297
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
|
|
8
|
+
const defaultArgs = {
|
|
9
|
+
distanced: false,
|
|
10
|
+
items: [],
|
|
11
|
+
nested: false,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const UnorderedList = ({ distanced = false, items = [], nested = false }) =>
|
|
15
|
+
`<ul class="${clsx(
|
|
16
|
+
'utrecht-unordered-list',
|
|
17
|
+
distanced && 'utrecht-unordered-list--distanced',
|
|
18
|
+
nested && 'utrecht-unordered-list--nested',
|
|
19
|
+
)}">
|
|
20
|
+
${items
|
|
21
|
+
.map(
|
|
22
|
+
({ items: subItems, textContent }) =>
|
|
23
|
+
` <li class="utrecht-unordered-list__item">${textContent || ''}${
|
|
24
|
+
subItems ? UnorderedList({ nested: true, items: subItems }) : ''
|
|
25
|
+
}</li>`,
|
|
26
|
+
)
|
|
27
|
+
.join('\n')}
|
|
28
|
+
</ul>`;
|