@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,17 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-26eb3bc0.js';
|
|
2
|
+
import { c as clsx } from './clsx.m-071989db.js';
|
|
3
|
+
|
|
4
|
+
const bemCss = ".utrecht-navhtml{font-family:var(--utrecht-font-family-sans-serif)}.utrecht-sidenav{border-block-end:1px solid var(--utrecht-color-grey-80);border-block-start:1px solid var(--utrecht-color-grey-80);margin-block-end:0;margin-block-start:0;padding-block-end:0;padding-block-start:0;width:13rem}.utrecht-sidenav__list{margin-block-end:0;margin-block-start:0.2rem;padding-block-end:0;padding-block-start:0;padding-inline-start:0}.utrecht-sidenav__list ul{margin-block-end:0;padding-block-end:0;padding-block-start:0;padding-inline-start:1.2rem}.utrecht-sidenav__item,.utrecht-sidenav__sibling__item{list-style:none;margin-inline-start:0;position:relative}.utrecht-sidenav__item:last-child{border-block-end:none}.utrecht-sidenav__item span:not(.utrecht-sidenav__item:last-child span,.utrecht-sidenav__item--has-children span:first-of-type){border-block-end:1px solid var(--utrecht-color-grey-80);display:block;margin-inline-start:var(--utrecht-space-inline-sm)}.utrecht-sidenav__item .utrecht-sidenav__link--has-children{padding-block-end:0}.utrecht-sidenav__child__item{list-style:none}.utrecht-sidenav__link,.utrecht-sidenav__link--sibling{color:var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));display:block;margin-inline-start:0;padding-block-end:var(--utrecht-space-block-xs);padding-block-start:var(--utrecht-space-block-xs);padding-inline-end:var(--utrecht-space-inline-3xs);padding-inline-start:var(--utrecht-space-inline-lg);text-decoration:none}.utrecht-sidenav__link--child,.utrecht-sidenav__link--child--current{color:var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));display:block;margin-block-end:0;margin-block-start:0;padding-block-end:var(--utrecht-space-block-2xs);padding-block-start:var(--utrecht-space-block-2xs);padding-inline-end:var(--utrecht-space-inline-3xs);padding-inline-start:var(--utrecht-space-inline-lg);text-decoration:none}.utrecht-sidenav__link::before,.utrecht-sidenav__link--sibling::before{background-color:var(--utrecht-sidenav-item-marker-color);left:26px}.utrecht-sidenav__link--current::before{background-color:var(--utrecht-sidenav-link-hover-color);left:27px}.utrecht-sidenav__link::before,.utrecht-sidenav__link--sibling::before,.utrecht-sidenav__item:last-child .utrecht-sidenav__link--current::before{border-radius:100%;box-shadow:0 0 2px 2px #fff;content:\"\";height:8px;overflow:hidden;position:absolute;top:20px;transform:translateY(-50%) translateX(-2.5ch);width:8px;z-index:10}.utrecht-sidenav__link:hover::before,.utrecht-sidenav__link--sibling:hover::before{background-color:var(--utrecht-sidenav-link-hover-color)}.utrecht-sidenav__item a:hover{color:var(--utrecht-sidenav-link-hover-color, var(--utrecht-link-hover-color, red));text-decoration:underline}.utrecht-sidenav__item--current{color:var(--utrecht-sidenav-item-hover-color, var(--utrecht-link-hover-color, red))}.utrecht-sidenav__link::after,.utrecht-sidenav__item:last-child .utrecht-sidenav__link::after{background:var(--utrecht-sidenav-item-marker-color);bottom:0;content:\"\";display:block;left:3px;overflow:hidden;position:absolute;top:-22px;width:3px;z-index:5}.utrecht-sidenav__item:last-child .utrecht-sidenav__link::after,.utrecht-sidenav__link--current::after,.utrecht-sidenav__item--has-children a::after{height:calc(38px + 2px);min-height:38px}.utrecht-sidenav__item:first-child .utrecht-sidenav__link::after{content:\"\";display:none}.utrecht-sidenav__link--current,.utrecht-sidenav__link--child--current{font-weight:var(--utrecht-typography-weight-scale-bold-font-weight)}.utrecht-sidenav__list--child{margin-block-end:0;margin-block-start:0;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:1.4rem}.utrecht-sidenav__item--child{border:none;list-style:none;position:relative}.utrecht-sidenav__item--child:last-child{border:none}.utrecht-sidenav__link--child::before,.utrecht-sidenav__link--child--current::before{background-color:transparent;border:2px solid var(--utrecht-sidenav-link-color);border-radius:100%;content:\"\";height:4px;left:1.2rem;overflow:hidden;position:absolute;top:16px;transform:translateY(-50%) translateX(-19.5px);width:4px;z-index:10}.utrecht-sidenav__link--child--current::before{background-color:var(--utrecht-sidenav-link-hover-color)}.utrecht-sidenav__link--child:hover::before{background-color:var(--utrecht-sidenav-link-hover-color);border:2px solid var(--utrecht-sidenav-link-hover-color)}.utrecht-sidenav__item--child:first-child .utrecht-sidenav__link--child--current::after,.utrecht-sidenav__link--child::after,.utrecht-sidenav__item .utrecht-sidenav__item--child .utrecht-sidenav__link--child::after,.utrecht-sidenav__item .utrecht-sidenav__link--sibling::after,.utrecht-sidenav__item--sibling:last-child .utrecht-sidenav__link--sibling::after{display:none}.utrecht-sidenav__link:focus,.utrecht-sidenav__link--focus{background-color:var(--utrecht-focus-background-color);box-shadow:0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);color:var(--utrecht-focus-color, inherit);outline-color:var(--utrecht-focus-outline-color, transparent);outline-offset:0;outline-style:var(--utrecht-focus-outline-style, solid);outline-width:var(--utrecht-focus-outline-width, 0)}";
|
|
5
|
+
|
|
6
|
+
const Sidenav = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const items = JSON.parse(this.json);
|
|
12
|
+
return (h("nav", { class: "utrecht-sidenav" }, h("ul", { class: "utrecht-sidenav__list" }, items.map(({ href, title, current, focus, children, sibling, haschildren }) => (h("li", { key: href, class: clsx("utrecht-sidenav__item", sibling && "utrecht-sidenav__item--sibling", haschildren && "utrecht-sidenav__item--has-children") }, h("a", { class: clsx("utrecht-sidenav__link", current && "utrecht-sidenav__link--current", focus && "utrecht-sidenav__link--focus", sibling && "utrecht-sidenav__link--sibling", haschildren && "utrecht-sidenav__link--has-children"), href: href }, title), h("span", null), children ? (h("ul", { class: "utrecht-sidenav__list utrecht-sidenav__list--child" }, children.map(({ href, title, current, focus }) => (h("li", { key: href, class: "utrecht-sidenav__item utrecht-sidenav__item--child" }, h("a", { class: clsx("utrecht-sidenav__link utrecht-sidenav__link--child", current && "utrecht-sidenav__link--current utrecht-sidenav__link--child--current", focus && "utrecht-sidenav__link--focus"), href: href }, title)))))) : ("")))))));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
Sidenav.style = bemCss;
|
|
16
|
+
|
|
17
|
+
export { Sidenav as utrecht_sidenav };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-26eb3bc0.js';
|
|
2
|
+
import { c as clsx } from './clsx.m-071989db.js';
|
|
3
|
+
|
|
4
|
+
const stencilCss = ".utrecht-textbox{background-color:var(--utrecht-textbox-background-color, var(--utrecht-form-input-background-color));border-width:var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width));border-bottom-width:var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width)));border-color:var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color));border-radius:var(--utrecht-textbox-border-radius, var(--utrecht-form-input-border-radius, 0));border-style:solid;box-sizing:border-box;color:var(--utrecht-textbox-color, var(--utrecht-form-input-color));font-family:var(--utrecht-textbox-font-family, var(--utrecht-form-input-font-family));font-size:var(--utrecht-textbox-font-size, var(--utrecht-form-input-font-size, 1em));max-inline-size:var(--utrecht-textbox-max-inline-size, var(--utrecht-form-input-max-inline-size));padding-block-end:var(--utrecht-textbox-padding-block-end, var(--utrecht-form-input-padding-block-end));padding-block-start:var(--utrecht-textbox-padding-block-start, var(--utrecht-form-input-padding-block-start));padding-inline-end:var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-input-padding-inline-end));padding-inline-start:var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-input-padding-inline-start));width:100%}.utrecht-textbox--invalid,.utrecht-textbox--html-input:invalid,.utrecht-textbox--html-input[aria-invalid=true]{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))));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))));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))))}.utrecht-textbox--disabled,.utrecht-textbox--html-input:disabled{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))));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))));color:var(--utrecht-textbox-disabled-color, var(--utrecht-form-input-disabled-color, var(--utrecht-textarea-color, var(--utrecht-form-input-color))));cursor:var(--utrecht-action-disabled-cursor)}.utrecht-textbox--focus,.utrecht-textbox--html-input:focus{background-color:var(--utrecht-focus-background-color);box-shadow:0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);color:var(--utrecht-focus-color, inherit);outline-color:var(--utrecht-focus-outline-color, transparent);outline-offset:0;outline-style:var(--utrecht-focus-outline-style, solid);outline-width:var(--utrecht-focus-outline-width, 0);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))));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))));color:var(--utrecht-textbox-focus-color, var(--utrecht-form-input-focus-color, var(--utrecht-textarea-color, var(--utrecht-form-input-color))))}.utrecht-textbox--read-only,.utrecht-textbox--html-input:read-only{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))));color:var(--utrecht-textbox-read-only-color, var(--utrecht-form-input-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-input-color))))}.utrecht-textbox__placeholder,.utrecht-textbox--html-input::placeholder{color:var(--utrecht-textbox-placeholder-color, var(--utrecht-form-input-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-input-color))));opacity:100%}:host{display:block}:host([hidden]){display:none !important}";
|
|
5
|
+
|
|
6
|
+
const Textbox = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.utrechtBlur = createEvent(this, "utrechtBlur", 7);
|
|
10
|
+
this.utrechtChange = createEvent(this, "utrechtChange", 7);
|
|
11
|
+
this.utrechtFocus = createEvent(this, "utrechtFocus", 7);
|
|
12
|
+
this.utrechtInput = createEvent(this, "utrechtInput", 7);
|
|
13
|
+
this.autoComplete = "";
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
this.invalid = false;
|
|
16
|
+
this.min = "";
|
|
17
|
+
this.max = "";
|
|
18
|
+
this.pattern = "";
|
|
19
|
+
this.placeholder = "";
|
|
20
|
+
this.readOnly = false;
|
|
21
|
+
this.required = false;
|
|
22
|
+
this.type = "";
|
|
23
|
+
this.value = "";
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const { autoComplete, disabled, invalid, min, max, pattern, placeholder, readOnly, required, type, value } = this;
|
|
27
|
+
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) => {
|
|
28
|
+
this.value = evt.target.value;
|
|
29
|
+
this.utrechtInput.emit(evt);
|
|
30
|
+
} }));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
Textbox.style = stencilCss;
|
|
34
|
+
|
|
35
|
+
export { Textbox as utrecht_textbox };
|
package/dist/esm/utrecht.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-26eb3bc0.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["utrecht-article",[[1,"utrecht-article"]]],["utrecht-badge-counter",[[1,"utrecht-badge-counter",{"value":[2],"max":[2],"locale":[1]}]]],["utrecht-badge-data",[[1,"utrecht-badge-data"]]],["utrecht-badge-status",[[1,"utrecht-badge-status",{"status":[1]}]]],["utrecht-
|
|
16
|
+
return bootstrapLazy([["utrecht-contact-card-template",[[1,"utrecht-contact-card-template"]]],["utrecht-digid-button",[[1,"utrecht-digid-button",{"type":[1]}]]],["utrecht-logo-button",[[1,"utrecht-logo-button",{"type":[1]}]]],["utrecht-article",[[1,"utrecht-article"]]],["utrecht-badge-counter",[[1,"utrecht-badge-counter",{"value":[2],"max":[2],"locale":[1]}]]],["utrecht-badge-data",[[1,"utrecht-badge-data"]]],["utrecht-badge-status",[[1,"utrecht-badge-status",{"status":[1]}]]],["utrecht-breadcrumb",[[1,"utrecht-breadcrumb",{"json":[1],"variant":[1]}]]],["utrecht-checkbox",[[1,"utrecht-checkbox",{"disabled":[516],"readOnly":[516,"readonly"],"checked":[4],"value":[1]}]]],["utrecht-document",[[1,"utrecht-document"]]],["utrecht-eherkenning-logo",[[1,"utrecht-eherkenning-logo"]]],["utrecht-eidas-logo",[[1,"utrecht-eidas-logo"]]],["utrecht-form-field-checkbox",[[1,"utrecht-form-field-checkbox",{"label":[4],"disabled":[516],"checked":[516],"invalid":[516],"required":[516],"value":[32]}]]],["utrecht-form-field-description",[[1,"utrecht-form-field-description",{"status":[513]}]]],["utrecht-form-field-textarea",[[1,"utrecht-form-field-textarea",{"disabled":[516],"invalid":[516],"readOnly":[516,"readonly"],"placeholder":[1],"required":[516],"value":[1]}]]],["utrecht-form-field-textbox",[[1,"utrecht-form-field-textbox",{"autoComplete":[513,"autocomplete"],"disabled":[516],"invalid":[516],"min":[1],"max":[1],"pattern":[1],"placeholder":[1],"readOnly":[516,"readonly"],"required":[516],"type":[513],"value":[1]}]]],["utrecht-form-toggle",[[1,"utrecht-form-toggle",{"disabled":[516],"checked":[516]}]]],["utrecht-heading",[[1,"utrecht-heading",{"level":[2]}]]],["utrecht-heading-1",[[1,"utrecht-heading-1"]]],["utrecht-heading-4",[[1,"utrecht-heading-4"]]],["utrecht-heading-5",[[1,"utrecht-heading-5"]]],["utrecht-heading-6",[[1,"utrecht-heading-6"]]],["utrecht-html-content",[[4,"utrecht-html-content"]]],["utrecht-icon-arrow",[[1,"utrecht-icon-arrow"]]],["utrecht-icon-cross",[[1,"utrecht-icon-cross"]]],["utrecht-icon-facebook",[[1,"utrecht-icon-facebook"]]],["utrecht-icon-filter",[[1,"utrecht-icon-filter"]]],["utrecht-icon-instagram",[[1,"utrecht-icon-instagram"]]],["utrecht-icon-linkedin",[[1,"utrecht-icon-linkedin"]]],["utrecht-icon-list",[[1,"utrecht-icon-list"]]],["utrecht-icon-loupe",[[1,"utrecht-icon-loupe"]]],["utrecht-icon-twitter",[[1,"utrecht-icon-twitter"]]],["utrecht-icon-whatsapp",[[1,"utrecht-icon-whatsapp"]]],["utrecht-icon-zoomin",[[1,"utrecht-icon-zoomin"]]],["utrecht-icon-zoomout",[[1,"utrecht-icon-zoomout"]]],["utrecht-logo",[[1,"utrecht-logo"]]],["utrecht-page-footer",[[1,"utrecht-page-footer"]]],["utrecht-pagination",[[1,"utrecht-pagination",{"links":[1],"next":[1],"prev":[1],"currentIndex":[2,"current-index"]}]]],["utrecht-separator",[[1,"utrecht-separator"]]],["utrecht-sidenav",[[1,"utrecht-sidenav",{"json":[1]}]]],["utrecht-textbox",[[1,"utrecht-textbox",{"autoComplete":[513,"autocomplete"],"disabled":[516],"invalid":[516],"min":[1],"max":[1],"pattern":[1],"placeholder":[1],"readOnly":[516,"readonly"],"required":[516],"type":[513],"value":[1]}]]],["utrecht-heading-2_3",[[1,"utrecht-heading-2"],[1,"utrecht-heading-3"],[1,"utrecht-paragraph",{"lead":[4]}]]],["utrecht-button_2",[[1,"utrecht-button",{"busy":[4],"disabled":[4],"type":[1]}],[1,"utrecht-digid-logo"]]]], options);
|
|
17
17
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from "@stencil/core";
|
|
6
|
+
export declare class FormFieldCheckbox {
|
|
7
|
+
label: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
checked: boolean;
|
|
10
|
+
invalid: boolean;
|
|
11
|
+
required: boolean;
|
|
12
|
+
value: string;
|
|
13
|
+
utrechtBlur: EventEmitter;
|
|
14
|
+
utrechtChange: EventEmitter;
|
|
15
|
+
utrechtFocus: EventEmitter;
|
|
16
|
+
utrechtInput: EventEmitter;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
+
};
|
|
11
|
+
import { Component, Event, Prop, State, h } from "@stencil/core";
|
|
12
|
+
import clsx from "clsx";
|
|
13
|
+
let FormFieldCheckbox = class FormFieldCheckbox {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.label = false;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.checked = false;
|
|
18
|
+
this.invalid = false;
|
|
19
|
+
this.required = false;
|
|
20
|
+
this.value = "";
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
const { checked, disabled, invalid, required, value } = this;
|
|
24
|
+
return (h("div", { class: "utrecht-form-field utrecht-form-field--checkbox" },
|
|
25
|
+
h("input", { id: "input", class: clsx("utrecht-checkbox"), type: "checkbox", checked: checked, disabled: disabled, "aria-invalid": invalid, required: required, value: value, onBlur: (evt) => this.utrechtBlur.emit(evt), onChange: (evt) => this.utrechtChange.emit(evt), onFocus: (evt) => this.utrechtFocus.emit(evt), onInput: (evt) => {
|
|
26
|
+
this.checked = evt.target.checked;
|
|
27
|
+
this.utrechtInput.emit(evt);
|
|
28
|
+
} }),
|
|
29
|
+
h("label", { class: clsx("utrecht-form-field__label", "utrecht-form-field__label--checkbox", "utrecht-form-label", "utrecht-form-label--checkbox"), htmlFor: "input" },
|
|
30
|
+
h("slot", null))));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
__decorate([
|
|
34
|
+
Prop()
|
|
35
|
+
], FormFieldCheckbox.prototype, "label", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Prop({ attribute: "disabled", reflect: true })
|
|
38
|
+
], FormFieldCheckbox.prototype, "disabled", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
Prop({ attribute: "checked", reflect: true })
|
|
41
|
+
], FormFieldCheckbox.prototype, "checked", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Prop({ attribute: "invalid", reflect: true })
|
|
44
|
+
], FormFieldCheckbox.prototype, "invalid", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Prop({ attribute: "required", reflect: true })
|
|
47
|
+
], FormFieldCheckbox.prototype, "required", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
State()
|
|
50
|
+
], FormFieldCheckbox.prototype, "value", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Event()
|
|
53
|
+
], FormFieldCheckbox.prototype, "utrechtBlur", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
Event()
|
|
56
|
+
], FormFieldCheckbox.prototype, "utrechtChange", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Event()
|
|
59
|
+
], FormFieldCheckbox.prototype, "utrechtFocus", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
Event()
|
|
62
|
+
], FormFieldCheckbox.prototype, "utrechtInput", void 0);
|
|
63
|
+
FormFieldCheckbox = __decorate([
|
|
64
|
+
Component({
|
|
65
|
+
tag: "utrecht-form-field-checkbox",
|
|
66
|
+
styleUrl: "stencil.scss",
|
|
67
|
+
shadow: true,
|
|
68
|
+
})
|
|
69
|
+
], FormFieldCheckbox);
|
|
70
|
+
export { FormFieldCheckbox };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
+
};
|
|
11
|
+
import { Component, Prop, h } from "@stencil/core";
|
|
12
|
+
import clsx from "clsx";
|
|
13
|
+
let FormFieldDescription = class FormFieldDescription {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.status = null;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const { status } = this;
|
|
19
|
+
return (h("div", { class: clsx("utrecht-form-field-description", status === "valid" && "utrecht-form-field-description--valid", status === "invalid" && "utrecht-form-field-description--invalid") },
|
|
20
|
+
h("slot", null)));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
__decorate([
|
|
24
|
+
Prop({ attribute: "status", reflect: true })
|
|
25
|
+
], FormFieldDescription.prototype, "status", void 0);
|
|
26
|
+
FormFieldDescription = __decorate([
|
|
27
|
+
Component({
|
|
28
|
+
tag: "utrecht-form-field-description",
|
|
29
|
+
styleUrl: "stencil.scss",
|
|
30
|
+
shadow: true,
|
|
31
|
+
})
|
|
32
|
+
], FormFieldDescription);
|
|
33
|
+
export { FormFieldDescription };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from "@stencil/core";
|
|
6
|
+
export declare class FormFieldTextarea {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
invalid: boolean;
|
|
9
|
+
readOnly: boolean;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
value: string;
|
|
13
|
+
utrechtBlur: EventEmitter;
|
|
14
|
+
utrechtChange: EventEmitter;
|
|
15
|
+
utrechtFocus: EventEmitter;
|
|
16
|
+
utrechtInput: EventEmitter;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
+
};
|
|
11
|
+
import { Component, Event, Prop, h } from "@stencil/core";
|
|
12
|
+
import clsx from "clsx";
|
|
13
|
+
let FormFieldTextarea = class FormFieldTextarea {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
this.invalid = false;
|
|
17
|
+
this.readOnly = false;
|
|
18
|
+
this.placeholder = "";
|
|
19
|
+
this.required = false;
|
|
20
|
+
this.value = "";
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
const { disabled, invalid, placeholder, readOnly, required, value } = this;
|
|
24
|
+
return (h("div", { class: "utrecht-form-field utrecht-form-field--textarea" },
|
|
25
|
+
h("textarea", { id: "input", class: clsx("utrecht-textarea", "utrecht-textarea--html-textarea", disabled && "utrecht-textarea--disabled", invalid && "utrecht-textarea--invalid", readOnly && "utrecht-textarea--readonly"), disabled: disabled, placeholder: placeholder || null, readonly: readOnly, required: required, onBlur: (evt) => this.utrechtBlur.emit(evt), onChange: (evt) => this.utrechtChange.emit(evt), onFocus: (evt) => this.utrechtFocus.emit(evt), onInput: (evt) => {
|
|
26
|
+
this.value = evt.target.value;
|
|
27
|
+
this.utrechtInput.emit(evt);
|
|
28
|
+
} }, value),
|
|
29
|
+
h("label", { class: "utrecht-form-field-textarea__label utrecht-form-label", htmlFor: "input" },
|
|
30
|
+
h("slot", null))));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
__decorate([
|
|
34
|
+
Prop({ reflect: true })
|
|
35
|
+
], FormFieldTextarea.prototype, "disabled", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Prop({ reflect: true })
|
|
38
|
+
], FormFieldTextarea.prototype, "invalid", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
Prop({ attribute: "readonly", reflect: true })
|
|
41
|
+
], FormFieldTextarea.prototype, "readOnly", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Prop()
|
|
44
|
+
], FormFieldTextarea.prototype, "placeholder", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Prop({ reflect: true })
|
|
47
|
+
], FormFieldTextarea.prototype, "required", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
Prop()
|
|
50
|
+
], FormFieldTextarea.prototype, "value", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Event()
|
|
53
|
+
], FormFieldTextarea.prototype, "utrechtBlur", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
Event()
|
|
56
|
+
], FormFieldTextarea.prototype, "utrechtChange", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Event()
|
|
59
|
+
], FormFieldTextarea.prototype, "utrechtFocus", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
Event()
|
|
62
|
+
], FormFieldTextarea.prototype, "utrechtInput", void 0);
|
|
63
|
+
FormFieldTextarea = __decorate([
|
|
64
|
+
Component({
|
|
65
|
+
tag: "utrecht-form-field-textarea",
|
|
66
|
+
styleUrl: "stencil.scss",
|
|
67
|
+
shadow: true,
|
|
68
|
+
})
|
|
69
|
+
], FormFieldTextarea);
|
|
70
|
+
export { FormFieldTextarea };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from "@stencil/core";
|
|
6
|
+
export declare class FormFieldTextbox {
|
|
7
|
+
autoComplete: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
invalid: boolean;
|
|
10
|
+
min: string;
|
|
11
|
+
max: string;
|
|
12
|
+
pattern: string;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
readOnly: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
type: string;
|
|
17
|
+
value: string;
|
|
18
|
+
utrechtBlur: EventEmitter;
|
|
19
|
+
utrechtChange: EventEmitter;
|
|
20
|
+
utrechtFocus: EventEmitter;
|
|
21
|
+
utrechtInput: EventEmitter;
|
|
22
|
+
render(): any;
|
|
23
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
+
};
|
|
11
|
+
import { Component, Event, Prop, h } from "@stencil/core";
|
|
12
|
+
import clsx from "clsx";
|
|
13
|
+
let FormFieldTextbox = class FormFieldTextbox {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.autoComplete = "";
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.invalid = false;
|
|
18
|
+
this.min = "";
|
|
19
|
+
this.max = "";
|
|
20
|
+
this.pattern = "";
|
|
21
|
+
this.placeholder = "";
|
|
22
|
+
this.readOnly = false;
|
|
23
|
+
this.required = false;
|
|
24
|
+
this.type = "";
|
|
25
|
+
this.value = "";
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const { autoComplete, disabled, invalid, min, max, pattern, placeholder, readOnly, required, type, value } = this;
|
|
29
|
+
return (h("div", { class: "utrecht-form-field-textbox" },
|
|
30
|
+
h("input", { id: "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) => {
|
|
31
|
+
this.value = evt.target.value;
|
|
32
|
+
this.utrechtInput.emit(evt);
|
|
33
|
+
} }),
|
|
34
|
+
h("label", { class: "utrecht-form-field-textbox__label utrecht-form-label", htmlFor: "input" },
|
|
35
|
+
h("slot", null))));
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
__decorate([
|
|
39
|
+
Prop({ attribute: "autocomplete", reflect: true })
|
|
40
|
+
], FormFieldTextbox.prototype, "autoComplete", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Prop({ reflect: true })
|
|
43
|
+
], FormFieldTextbox.prototype, "disabled", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
Prop({ reflect: true })
|
|
46
|
+
], FormFieldTextbox.prototype, "invalid", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Prop()
|
|
49
|
+
], FormFieldTextbox.prototype, "min", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Prop()
|
|
52
|
+
], FormFieldTextbox.prototype, "max", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Prop()
|
|
55
|
+
], FormFieldTextbox.prototype, "pattern", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
Prop()
|
|
58
|
+
], FormFieldTextbox.prototype, "placeholder", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
Prop({ attribute: "readonly", reflect: true })
|
|
61
|
+
], FormFieldTextbox.prototype, "readOnly", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
Prop({ reflect: true })
|
|
64
|
+
], FormFieldTextbox.prototype, "required", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Prop({ reflect: true })
|
|
67
|
+
], FormFieldTextbox.prototype, "type", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
Prop()
|
|
70
|
+
], FormFieldTextbox.prototype, "value", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
Event()
|
|
73
|
+
], FormFieldTextbox.prototype, "utrechtBlur", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
Event()
|
|
76
|
+
], FormFieldTextbox.prototype, "utrechtChange", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
Event()
|
|
79
|
+
], FormFieldTextbox.prototype, "utrechtFocus", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
Event()
|
|
82
|
+
], FormFieldTextbox.prototype, "utrechtInput", void 0);
|
|
83
|
+
FormFieldTextbox = __decorate([
|
|
84
|
+
Component({
|
|
85
|
+
tag: "utrecht-form-field-textbox",
|
|
86
|
+
styleUrl: "stencil.scss",
|
|
87
|
+
shadow: true,
|
|
88
|
+
})
|
|
89
|
+
], FormFieldTextbox);
|
|
90
|
+
export { FormFieldTextbox };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from "@stencil/core";
|
|
6
|
+
export declare class FormToggle {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
checked: boolean;
|
|
9
|
+
utrechtBlur: EventEmitter;
|
|
10
|
+
utrechtChange: EventEmitter;
|
|
11
|
+
utrechtFocus: EventEmitter;
|
|
12
|
+
utrechtInput: EventEmitter;
|
|
13
|
+
render(): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2
|
|
3
|
+
* Copyright (c) 2021 Robbert Broersma
|
|
4
|
+
*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
+
};
|
|
11
|
+
import { Component, Event, Prop, h } from "@stencil/core";
|
|
12
|
+
import clsx from "clsx";
|
|
13
|
+
let FormToggle = class FormToggle {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.disabled = false;
|
|
16
|
+
this.checked = false;
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const { checked, disabled } = this;
|
|
20
|
+
const toggleInteraction = () => {
|
|
21
|
+
if (!this.disabled) {
|
|
22
|
+
this.checked = !this.checked;
|
|
23
|
+
this.utrechtInput.emit(this);
|
|
24
|
+
this.utrechtChange.emit(this);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const handleClick = () => {
|
|
28
|
+
console.log("click");
|
|
29
|
+
toggleInteraction();
|
|
30
|
+
};
|
|
31
|
+
const handleKeyPress = (evt) => {
|
|
32
|
+
if (evt.code === "Space" || evt.key === " ") {
|
|
33
|
+
// Do not scroll the page using Space when the toggle is focussed
|
|
34
|
+
evt.preventDefault();
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const handleKeyUp = (evt) => {
|
|
38
|
+
if (evt.code === "Space" || evt.key === " ") {
|
|
39
|
+
toggleInteraction();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
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 },
|
|
43
|
+
h("div", { class: "utrecht-form-toggle__label utrecht-form-toggle__label--off" }),
|
|
44
|
+
h("div", { class: "utrecht-form-toggle__label utrecht-form-toggle__label--on" }),
|
|
45
|
+
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") },
|
|
46
|
+
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") }))));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
__decorate([
|
|
50
|
+
Prop({ reflect: true })
|
|
51
|
+
], FormToggle.prototype, "disabled", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
Prop({ reflect: true })
|
|
54
|
+
], FormToggle.prototype, "checked", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
Event()
|
|
57
|
+
], FormToggle.prototype, "utrechtBlur", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Event()
|
|
60
|
+
], FormToggle.prototype, "utrechtChange", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Event()
|
|
63
|
+
], FormToggle.prototype, "utrechtFocus", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
Event()
|
|
66
|
+
], FormToggle.prototype, "utrechtInput", void 0);
|
|
67
|
+
FormToggle = __decorate([
|
|
68
|
+
Component({
|
|
69
|
+
tag: "utrecht-form-toggle",
|
|
70
|
+
styleUrl: "stencil.scss",
|
|
71
|
+
shadow: true,
|
|
72
|
+
})
|
|
73
|
+
], FormToggle);
|
|
74
|
+
export { FormToggle };
|
package/dist/heading/stencil.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, h } from "@stencil/core";
|
|
8
|
+
let Heading1 = class Heading1 {
|
|
9
|
+
render() {
|
|
10
|
+
return (h("h1", { class: "utrecht-heading-1" },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
Heading1 = __decorate([
|
|
15
|
+
Component({
|
|
16
|
+
tag: "utrecht-heading-1",
|
|
17
|
+
styleUrl: "stencil.scss",
|
|
18
|
+
shadow: true,
|
|
19
|
+
})
|
|
20
|
+
], Heading1);
|
|
21
|
+
export { Heading1 };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, h } from "@stencil/core";
|
|
8
|
+
let Heading2 = class Heading2 {
|
|
9
|
+
render() {
|
|
10
|
+
return (h("h2", { class: "utrecht-heading-2" },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
Heading2 = __decorate([
|
|
15
|
+
Component({
|
|
16
|
+
tag: "utrecht-heading-2",
|
|
17
|
+
styleUrl: "stencil.scss",
|
|
18
|
+
shadow: true,
|
|
19
|
+
})
|
|
20
|
+
], Heading2);
|
|
21
|
+
export { Heading2 };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, h } from "@stencil/core";
|
|
8
|
+
let Heading3 = class Heading3 {
|
|
9
|
+
render() {
|
|
10
|
+
return (h("h3", { class: "utrecht-heading-3" },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
Heading3 = __decorate([
|
|
15
|
+
Component({
|
|
16
|
+
tag: "utrecht-heading-3",
|
|
17
|
+
styleUrl: "stencil.scss",
|
|
18
|
+
shadow: true,
|
|
19
|
+
})
|
|
20
|
+
], Heading3);
|
|
21
|
+
export { Heading3 };
|