@utrecht/web-component-library-stencil 4.0.0 → 4.1.1
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/dist/cjs/utrecht-action-group_46.cjs.entry.js +18 -16
- package/dist/cjs/utrecht-action-group_46.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-body.cjs.entry.js +4 -4
- package/dist/cjs/utrecht-body.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-data-list-item.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-html-content.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-html-content.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-progress-list-item.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-progress-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-progress-list.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-progress-sublist-item.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-progress-sublist-item.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-root.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-root.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-sidenav.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-sidenav.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-caption.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-caption.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-container.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-container.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-header.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-header.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-table-row.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-textarea.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/utrecht-textbox.cjs.entry.js +1 -1
- package/dist/cjs/utrecht-textbox.cjs.entry.js.map +1 -1
- package/dist/collection/components/action-group.css +9 -9
- package/dist/collection/components/alert.css +10 -10
- package/dist/collection/components/alert.js +3 -2
- package/dist/collection/components/alert.js.map +1 -1
- package/dist/collection/components/article.css +9 -9
- package/dist/collection/components/backdrop.css +18 -16
- package/dist/collection/components/badge-counter.css +13 -13
- package/dist/collection/components/badge-list.css +9 -9
- package/dist/collection/components/body.css +4 -8
- package/dist/collection/components/body.js +1 -1
- package/dist/collection/components/body.js.map +1 -1
- package/dist/collection/components/breadcrumb-nav.css +36 -24
- package/dist/collection/components/button-group.css +9 -9
- package/dist/collection/components/button-link.css +33 -20
- package/dist/collection/components/button.css +26 -15
- package/dist/collection/components/checkbox.css +25 -14
- package/dist/collection/components/code-block.css +13 -13
- package/dist/collection/components/code.css +9 -9
- package/dist/collection/components/color-sample.css +4 -4
- package/dist/collection/components/column-layout.css +4 -4
- package/dist/collection/components/contact-card-template.css +32 -21
- package/dist/collection/components/custom-checkbox.css +31 -25
- package/dist/collection/components/data-badge.css +11 -11
- package/dist/collection/components/data-list-actions.css +5 -5
- package/dist/collection/components/data-list-item.css +6 -6
- package/dist/collection/components/data-list-key.css +5 -5
- package/dist/collection/components/data-list-value.css +5 -5
- package/dist/collection/components/data-list.css +5 -5
- package/dist/collection/components/digid-button.css +5 -5
- package/dist/collection/components/digid-logo.css +9 -9
- package/dist/collection/components/document.css +9 -9
- package/dist/collection/components/drawer.css +13 -13
- package/dist/collection/components/eherkenning-logo.css +9 -9
- package/dist/collection/components/eidas-logo.css +9 -9
- package/dist/collection/components/emphasis.css +9 -9
- package/dist/collection/components/form-field-checkbox.css +75 -60
- package/dist/collection/components/form-field-description.css +9 -9
- package/dist/collection/components/form-field-error-message.css +4 -4
- package/dist/collection/components/form-field-textarea.css +60 -48
- package/dist/collection/components/form-field-textbox.css +65 -50
- package/dist/collection/components/form-toggle.css +22 -14
- package/dist/collection/components/form.css +4 -4
- package/dist/collection/components/heading-1.css +11 -11
- package/dist/collection/components/heading-2.css +11 -11
- package/dist/collection/components/heading-3.css +11 -11
- package/dist/collection/components/heading-4.css +11 -11
- package/dist/collection/components/heading-5.css +11 -11
- package/dist/collection/components/heading-6.css +11 -11
- package/dist/collection/components/heading-group.css +4 -4
- package/dist/collection/components/heading.css +71 -71
- package/dist/collection/components/html-content.css +445 -315
- package/dist/collection/components/iban-data.css +9 -9
- package/dist/collection/components/icon/generated-direction-inherit.css +9 -9
- package/dist/collection/components/icon/generated.css +4 -4
- package/dist/collection/components/icon.css +4 -4
- package/dist/collection/components/link-button.css +26 -20
- package/dist/collection/components/link.css +27 -15
- package/dist/collection/components/logo-button.css +5 -5
- package/dist/collection/components/logo-image.css +6 -6
- package/dist/collection/components/logo.css +5 -5
- package/dist/collection/components/map-marker.css +4 -4
- package/dist/collection/components/mark.css +9 -9
- package/dist/collection/components/multiline-data.css +4 -4
- package/dist/collection/components/nav-bar.css +4 -4
- package/dist/collection/components/number-badge.css +13 -13
- package/dist/collection/components/number-data.css +7 -3
- package/dist/collection/components/page-body.css +4 -4
- package/dist/collection/components/page-content.css +4 -4
- package/dist/collection/components/page-footer.css +4 -4
- package/dist/collection/components/page-header.css +4 -4
- package/dist/collection/components/page-layout.css +4 -4
- package/dist/collection/components/page.css +9 -9
- package/dist/collection/components/pagination.css +24 -13
- package/dist/collection/components/paragraph.css +9 -9
- package/dist/collection/components/pre-heading.css +4 -4
- package/dist/collection/components/preserve-data.css +4 -4
- package/dist/collection/components/progress-list.css +9 -4
- package/dist/collection/components/root.css +55 -7
- package/dist/collection/components/separator.css +9 -9
- package/dist/collection/components/sidenav.css +18 -11
- package/dist/collection/components/skip-link.css +20 -14
- package/dist/collection/components/spotlight-section.css +9 -9
- package/dist/collection/components/status-badge.css +23 -21
- package/dist/collection/components/surface.css +9 -9
- package/dist/collection/components/table-body.css +5 -5
- package/dist/collection/components/table-caption.css +8 -8
- package/dist/collection/components/table-cell.css +5 -5
- package/dist/collection/components/table-container.css +12 -12
- package/dist/collection/components/table-footer.css +5 -5
- package/dist/collection/components/table-header-cell.css +5 -5
- package/dist/collection/components/table-header.css +5 -6
- package/dist/collection/components/table-row.css +5 -6
- package/dist/collection/components/table.css +5 -5
- package/dist/collection/components/textarea.css +35 -22
- package/dist/collection/components/textbox.css +40 -24
- package/dist/collection/components/top-task-link.css +15 -9
- package/dist/collection/components/top-task-nav.css +5 -5
- package/dist/collection/components/url-data.css +9 -10
- package/dist/components/index.js +1 -1
- package/dist/components/{paragraph.js → p-074337c4.js} +4 -4
- package/dist/components/p-074337c4.js.map +1 -0
- package/dist/components/p-145331fd.js +143 -0
- package/dist/components/p-145331fd.js.map +1 -0
- package/dist/components/p-2f0ff193.js +1304 -0
- package/dist/components/p-2f0ff193.js.map +1 -0
- package/dist/components/{heading-3.js → p-903009d4.js} +4 -4
- package/dist/components/p-903009d4.js.map +1 -0
- package/dist/components/{form-field-description.js → p-ab1c7a3f.js} +4 -4
- package/dist/components/p-ab1c7a3f.js.map +1 -0
- package/dist/components/{heading-2.js → p-b99c32b3.js} +4 -4
- package/dist/components/p-b99c32b3.js.map +1 -0
- package/dist/components/{clsx.js → p-e91d8a25.js} +1 -1
- package/dist/components/p-e91d8a25.js.map +1 -0
- package/dist/components/{digid-logo.js → p-f8fc7c2a.js} +3 -3
- package/dist/components/{digid-logo.js.map → p-f8fc7c2a.js.map} +1 -1
- package/dist/components/utrecht-action-group.js +3 -3
- package/dist/components/utrecht-alert.js +7 -5
- package/dist/components/utrecht-alert.js.map +1 -1
- package/dist/components/utrecht-article.js +2 -2
- package/dist/components/utrecht-backdrop.js +4 -4
- package/dist/components/utrecht-backdrop.js.map +1 -1
- package/dist/components/utrecht-badge-counter.js +2 -2
- package/dist/components/utrecht-badge-list.js +2 -2
- package/dist/components/utrecht-body.js +5 -5
- package/dist/components/utrecht-body.js.map +1 -1
- package/dist/components/utrecht-breadcrumb-nav.js +3 -3
- package/dist/components/utrecht-button-group.js +3 -3
- package/dist/components/utrecht-button-link.js +4 -4
- package/dist/components/utrecht-button-link.js.map +1 -1
- package/dist/components/utrecht-button.js +1 -1
- package/dist/components/utrecht-checkbox.js +3 -3
- package/dist/components/utrecht-code-block.js +2 -2
- package/dist/components/utrecht-code.js +2 -2
- package/dist/components/utrecht-color-sample.js +2 -2
- package/dist/components/utrecht-column-layout.js +2 -2
- package/dist/components/utrecht-contact-card-template.js +5 -5
- package/dist/components/utrecht-custom-checkbox.js +4 -4
- package/dist/components/utrecht-data-badge.js +2 -2
- package/dist/components/utrecht-data-list-actions.js +2 -2
- package/dist/components/utrecht-data-list-item.js +3 -3
- package/dist/components/utrecht-data-list-key.js +2 -2
- package/dist/components/utrecht-data-list-value.js +2 -2
- package/dist/components/utrecht-data-list.js +2 -2
- package/dist/components/utrecht-digid-button.js +3 -3
- package/dist/components/utrecht-digid-logo.js +1 -1
- package/dist/components/utrecht-document.js +2 -2
- package/dist/components/utrecht-drawer.js +3 -3
- package/dist/components/utrecht-eherkenning-logo.js +2 -2
- package/dist/components/utrecht-eidas-logo.js +2 -2
- package/dist/components/utrecht-emphasis.js +2 -2
- package/dist/components/utrecht-flex-wrap-fallback.js +2 -2
- package/dist/components/utrecht-form-field-checkbox.js +5 -5
- package/dist/components/utrecht-form-field-checkbox.js.map +1 -1
- package/dist/components/utrecht-form-field-description.js +1 -1
- package/dist/components/utrecht-form-field-error-message.js +2 -2
- package/dist/components/utrecht-form-field-textarea.js +5 -5
- package/dist/components/utrecht-form-field-textarea.js.map +1 -1
- package/dist/components/utrecht-form-field-textbox.js +5 -5
- package/dist/components/utrecht-form-field-textbox.js.map +1 -1
- package/dist/components/utrecht-form-toggle.js +4 -4
- package/dist/components/utrecht-form-toggle.js.map +1 -1
- package/dist/components/utrecht-form.js +2 -2
- package/dist/components/utrecht-heading-1.js +3 -3
- package/dist/components/utrecht-heading-1.js.map +1 -1
- package/dist/components/utrecht-heading-2.js +1 -1
- package/dist/components/utrecht-heading-3.js +1 -1
- package/dist/components/utrecht-heading-4.js +3 -3
- package/dist/components/utrecht-heading-4.js.map +1 -1
- package/dist/components/utrecht-heading-5.js +3 -3
- package/dist/components/utrecht-heading-5.js.map +1 -1
- package/dist/components/utrecht-heading-6.js +3 -3
- package/dist/components/utrecht-heading-6.js.map +1 -1
- package/dist/components/utrecht-heading-group.js +2 -2
- package/dist/components/utrecht-heading.js +3 -3
- package/dist/components/utrecht-heading.js.map +1 -1
- package/dist/components/utrecht-html-content.js +3 -3
- package/dist/components/utrecht-html-content.js.map +1 -1
- package/dist/components/utrecht-iban-data.js +2 -2
- package/dist/components/utrecht-icon-afspraak-maken.js +2 -2
- package/dist/components/utrecht-icon-afval-container.js +2 -2
- package/dist/components/utrecht-icon-afval-containerpas.js +2 -2
- package/dist/components/utrecht-icon-afval-kalender.js +2 -2
- package/dist/components/utrecht-icon-afval-pmd.js +2 -2
- package/dist/components/utrecht-icon-afval-scheiden.js +2 -2
- package/dist/components/utrecht-icon-afval.js +2 -2
- package/dist/components/utrecht-icon-afvalkalender.js +2 -2
- package/dist/components/utrecht-icon-alleen.js +2 -2
- package/dist/components/utrecht-icon-arrow.js +2 -2
- package/dist/components/utrecht-icon-auto.js +2 -2
- package/dist/components/utrecht-icon-begroting.js +2 -2
- package/dist/components/utrecht-icon-bestemmingsplan.js +2 -2
- package/dist/components/utrecht-icon-betaaldatum.js +2 -2
- package/dist/components/utrecht-icon-bewijsstukken.js +2 -2
- package/dist/components/utrecht-icon-bijstand.js +2 -2
- package/dist/components/utrecht-icon-blad.js +2 -2
- package/dist/components/utrecht-icon-bluesky.js +2 -2
- package/dist/components/utrecht-icon-bouw-projecten.js +2 -2
- package/dist/components/utrecht-icon-bouwproject.js +2 -2
- package/dist/components/utrecht-icon-brandgevaar.js +2 -2
- package/dist/components/utrecht-icon-brief-betalen.js +2 -2
- package/dist/components/utrecht-icon-buurtcentra.js +2 -2
- package/dist/components/utrecht-icon-checkmark.js +2 -2
- package/dist/components/utrecht-icon-chevron-down.js +2 -2
- package/dist/components/utrecht-icon-chevron-left.js +2 -2
- package/dist/components/utrecht-icon-chevron-right.js +2 -2
- package/dist/components/utrecht-icon-chevron-up.js +2 -2
- package/dist/components/utrecht-icon-close.js +2 -2
- package/dist/components/utrecht-icon-coffee.js +2 -2
- package/dist/components/utrecht-icon-college-b-w.js +2 -2
- package/dist/components/utrecht-icon-container-bio.js +2 -2
- package/dist/components/utrecht-icon-container-glas.js +2 -2
- package/dist/components/utrecht-icon-container-groenafval.js +2 -2
- package/dist/components/utrecht-icon-container-met-zak.js +2 -2
- package/dist/components/utrecht-icon-container-papier.js +2 -2
- package/dist/components/utrecht-icon-container-pmd.js +2 -2
- package/dist/components/utrecht-icon-container-restafval.js +2 -2
- package/dist/components/utrecht-icon-container-textiel.js +2 -2
- package/dist/components/utrecht-icon-container.js +2 -2
- package/dist/components/utrecht-icon-cross.js +2 -2
- package/dist/components/utrecht-icon-dakloos.js +2 -2
- package/dist/components/utrecht-icon-dementie.js +2 -2
- package/dist/components/utrecht-icon-documenten.js +2 -2
- package/dist/components/utrecht-icon-duurzaam.js +2 -2
- package/dist/components/utrecht-icon-eenzaamheid.js +2 -2
- package/dist/components/utrecht-icon-eikenprocessie.js +2 -2
- package/dist/components/utrecht-icon-elektrisch-rijden.js +2 -2
- package/dist/components/utrecht-icon-energie-projecten.js +2 -2
- package/dist/components/utrecht-icon-energie-vergoeding.js +2 -2
- package/dist/components/utrecht-icon-energietransitie.js +2 -2
- package/dist/components/utrecht-icon-error.js +2 -2
- package/dist/components/utrecht-icon-evenementen.js +2 -2
- package/dist/components/utrecht-icon-facebook.js +2 -2
- package/dist/components/utrecht-icon-fiets.js +2 -2
- package/dist/components/utrecht-icon-filter.js +2 -2
- package/dist/components/utrecht-icon-flickr.js +2 -2
- package/dist/components/utrecht-icon-geboorte.js +2 -2
- package/dist/components/utrecht-icon-gebruiker-centraal.js +2 -2
- package/dist/components/utrecht-icon-gebruiker-ingelogd.js +2 -2
- package/dist/components/utrecht-icon-gegevenswoordenboek.js +2 -2
- package/dist/components/utrecht-icon-geluid.js +2 -2
- package/dist/components/utrecht-icon-gemeente-locatie.js +2 -2
- package/dist/components/utrecht-icon-gemeenteraad.js +2 -2
- package/dist/components/utrecht-icon-gereedschap.js +2 -2
- package/dist/components/utrecht-icon-gezicht.js +2 -2
- package/dist/components/utrecht-icon-gezin.js +2 -2
- package/dist/components/utrecht-icon-glas-afval.js +2 -2
- package/dist/components/utrecht-icon-glijbaan.js +2 -2
- package/dist/components/utrecht-icon-grafiek.js +2 -2
- package/dist/components/utrecht-icon-groen-projecten.js +2 -2
- package/dist/components/utrecht-icon-grofvuil-ophalen.js +2 -2
- package/dist/components/utrecht-icon-grofvuil.js +2 -2
- package/dist/components/utrecht-icon-hamburger-menu.js +2 -2
- package/dist/components/utrecht-icon-herdenking.js +2 -2
- package/dist/components/utrecht-icon-hondenbelasting.js +2 -2
- package/dist/components/utrecht-icon-horeca.js +2 -2
- package/dist/components/utrecht-icon-horecavergunning.js +2 -2
- package/dist/components/utrecht-icon-huis-en-omgeving.js +2 -2
- package/dist/components/utrecht-icon-huis.js +2 -2
- package/dist/components/utrecht-icon-huishoudelijk-geweld.js +2 -2
- package/dist/components/utrecht-icon-hulp-huishouden.js +2 -2
- package/dist/components/utrecht-icon-hulp-vervoer.js +2 -2
- package/dist/components/utrecht-icon-hulp-zorg.js +2 -2
- package/dist/components/utrecht-icon-hulpmiddelen-gezin.js +2 -2
- package/dist/components/utrecht-icon-hulpverlening.js +2 -2
- package/dist/components/utrecht-icon-idee.js +2 -2
- package/dist/components/utrecht-icon-informatie.js +2 -2
- package/dist/components/utrecht-icon-information.js +2 -2
- package/dist/components/utrecht-icon-innovatie.js +2 -2
- package/dist/components/utrecht-icon-inspraak-inwoners.js +2 -2
- package/dist/components/utrecht-icon-instagram.js +2 -2
- package/dist/components/utrecht-icon-kalender.js +2 -2
- package/dist/components/utrecht-icon-kennis.js +2 -2
- package/dist/components/utrecht-icon-kerstbomen.js +2 -2
- package/dist/components/utrecht-icon-klachten.js +2 -2
- package/dist/components/utrecht-icon-kroon.js +2 -2
- package/dist/components/utrecht-icon-laadpaal.js +2 -2
- package/dist/components/utrecht-icon-language.js +2 -2
- package/dist/components/utrecht-icon-lantaarnpaal-oud.js +2 -2
- package/dist/components/utrecht-icon-lantaarnpaal.js +2 -2
- package/dist/components/utrecht-icon-leren.js +2 -2
- package/dist/components/utrecht-icon-let-op.js +2 -2
- package/dist/components/utrecht-icon-linkedin.js +2 -2
- package/dist/components/utrecht-icon-list-check.js +2 -2
- package/dist/components/utrecht-icon-list-number.js +2 -2
- package/dist/components/utrecht-icon-list.js +2 -2
- package/dist/components/utrecht-icon-loupe.js +2 -2
- package/dist/components/utrecht-icon-mail.js +2 -2
- package/dist/components/utrecht-icon-markt.js +2 -2
- package/dist/components/utrecht-icon-mastodon.js +2 -2
- package/dist/components/utrecht-icon-melding-boom.js +2 -2
- package/dist/components/utrecht-icon-melding-klacht.js +2 -2
- package/dist/components/utrecht-icon-melding-openbareruimte.js +2 -2
- package/dist/components/utrecht-icon-melding-verlichting.js +2 -2
- package/dist/components/utrecht-icon-melding.js +2 -2
- package/dist/components/utrecht-icon-menselijk.js +2 -2
- package/dist/components/utrecht-icon-menu-dot-open.js +2 -2
- package/dist/components/utrecht-icon-menu-dot.js +2 -2
- package/dist/components/utrecht-icon-meterkast.js +2 -2
- package/dist/components/utrecht-icon-milieu-ontheffing.js +2 -2
- package/dist/components/utrecht-icon-milieu-zone.js +2 -2
- package/dist/components/utrecht-icon-minus-vertical.js +2 -2
- package/dist/components/utrecht-icon-minus.js +2 -2
- package/dist/components/utrecht-icon-mobiliteit.js +2 -2
- package/dist/components/utrecht-icon-natuur.js +2 -2
- package/dist/components/utrecht-icon-nieuw-huis.js +2 -2
- package/dist/components/utrecht-icon-nieuwsbrief.js +2 -2
- package/dist/components/utrecht-icon-nummerbord.js +2 -2
- package/dist/components/utrecht-icon-om-het-huis.js +2 -2
- package/dist/components/utrecht-icon-omgeving.js +2 -2
- package/dist/components/utrecht-icon-omgevingsvisie.js +2 -2
- package/dist/components/utrecht-icon-omgevingswet.js +2 -2
- package/dist/components/utrecht-icon-onderhoud.js +2 -2
- package/dist/components/utrecht-icon-ondernemen.js +2 -2
- package/dist/components/utrecht-icon-openingstijden.js +2 -2
- package/dist/components/utrecht-icon-over-de-stad.js +2 -2
- package/dist/components/utrecht-icon-overlijden.js +2 -2
- package/dist/components/utrecht-icon-panden.js +2 -2
- package/dist/components/utrecht-icon-park.js +2 -2
- package/dist/components/utrecht-icon-parkeerkaart.js +2 -2
- package/dist/components/utrecht-icon-parkeervergunning.js +2 -2
- package/dist/components/utrecht-icon-parken.js +2 -2
- package/dist/components/utrecht-icon-parkeren-bedrijven.js +2 -2
- package/dist/components/utrecht-icon-parkeren-betaalautomaat.js +2 -2
- package/dist/components/utrecht-icon-parkeren-betalen.js +2 -2
- package/dist/components/utrecht-icon-parkeren.js +2 -2
- package/dist/components/utrecht-icon-participatie-campagne.js +2 -2
- package/dist/components/utrecht-icon-participatie-like.js +2 -2
- package/dist/components/utrecht-icon-participatie-pitch.js +2 -2
- package/dist/components/utrecht-icon-paspoort.js +2 -2
- package/dist/components/utrecht-icon-phone.js +2 -2
- package/dist/components/utrecht-icon-pinterest.js +2 -2
- package/dist/components/utrecht-icon-presentatie.js +2 -2
- package/dist/components/utrecht-icon-prijskaartje.js +2 -2
- package/dist/components/utrecht-icon-read-aloud.js +2 -2
- package/dist/components/utrecht-icon-report.js +2 -2
- package/dist/components/utrecht-icon-rijbewijs.js +2 -2
- package/dist/components/utrecht-icon-rioolheffing.js +2 -2
- package/dist/components/utrecht-icon-rolstoel.js +2 -2
- package/dist/components/utrecht-icon-schild-gemeente-utrecht.js +2 -2
- package/dist/components/utrecht-icon-search.js +2 -2
- package/dist/components/utrecht-icon-shoppen.js +2 -2
- package/dist/components/utrecht-icon-sinterklaas.js +2 -2
- package/dist/components/utrecht-icon-slechtziende-hoordende.js +2 -2
- package/dist/components/utrecht-icon-sport-en-cultuur.js +2 -2
- package/dist/components/utrecht-icon-sport-voetbal.js +2 -2
- package/dist/components/utrecht-icon-sport.js +2 -2
- package/dist/components/utrecht-icon-standaard-projecten.js +2 -2
- package/dist/components/utrecht-icon-stookverbod.js +2 -2
- package/dist/components/utrecht-icon-strand.js +2 -2
- package/dist/components/utrecht-icon-strooien.js +2 -2
- package/dist/components/utrecht-icon-subsidie-gezin.js +2 -2
- package/dist/components/utrecht-icon-subsidie.js +2 -2
- package/dist/components/utrecht-icon-t-shirt.js +2 -2
- package/dist/components/utrecht-icon-threads.js +2 -2
- package/dist/components/utrecht-icon-thuiswerken.js +2 -2
- package/dist/components/utrecht-icon-toeslag.js +2 -2
- package/dist/components/utrecht-icon-trein.js +2 -2
- package/dist/components/utrecht-icon-trouwen.js +2 -2
- package/dist/components/utrecht-icon-twitter.js +2 -2
- package/dist/components/utrecht-icon-user.js +2 -2
- package/dist/components/utrecht-icon-uw-wijk.js +2 -2
- package/dist/components/utrecht-icon-vaccinatie.js +2 -2
- package/dist/components/utrecht-icon-veilige-wijk.js +2 -2
- package/dist/components/utrecht-icon-vergaderen.js +2 -2
- package/dist/components/utrecht-icon-vergaderendigitaal.js +2 -2
- package/dist/components/utrecht-icon-vergoeding.js +2 -2
- package/dist/components/utrecht-icon-verhuizen.js +2 -2
- package/dist/components/utrecht-icon-verkeers-projecten.js +2 -2
- package/dist/components/utrecht-icon-verkeerslicht.js +2 -2
- package/dist/components/utrecht-icon-verkiezingen.js +2 -2
- package/dist/components/utrecht-icon-verslaving.js +2 -2
- package/dist/components/utrecht-icon-vervoersvoorziening.js +2 -2
- package/dist/components/utrecht-icon-virus.js +2 -2
- package/dist/components/utrecht-icon-vluchtelingen.js +2 -2
- package/dist/components/utrecht-icon-voorzieningen-vervoer.js +2 -2
- package/dist/components/utrecht-icon-vrijwilligerswerk.js +2 -2
- package/dist/components/utrecht-icon-vuilnisbak.js +2 -2
- package/dist/components/utrecht-icon-vuilniszak.js +2 -2
- package/dist/components/utrecht-icon-vuurwerk.js +2 -2
- package/dist/components/utrecht-icon-wandelstok.js +2 -2
- package/dist/components/utrecht-icon-warm.js +2 -2
- package/dist/components/utrecht-icon-warning.js +2 -2
- package/dist/components/utrecht-icon-werken.js +2 -2
- package/dist/components/utrecht-icon-werkzaamheden.js +2 -2
- package/dist/components/utrecht-icon-whatsapp.js +2 -2
- package/dist/components/utrecht-icon-wijk-denkmee.js +2 -2
- package/dist/components/utrecht-icon-wijk-overlast.js +2 -2
- package/dist/components/utrecht-icon-wijk-park.js +2 -2
- package/dist/components/utrecht-icon-wijk-projecten.js +2 -2
- package/dist/components/utrecht-icon-wijk-speelplaats.js +2 -2
- package/dist/components/utrecht-icon-wijk-sport.js +2 -2
- package/dist/components/utrecht-icon-wijk-zwemmen.js +2 -2
- package/dist/components/utrecht-icon-wonen-kosten.js +2 -2
- package/dist/components/utrecht-icon-woning-zoeken.js +2 -2
- package/dist/components/utrecht-icon-x.js +2 -2
- package/dist/components/utrecht-icon-youtube.js +2 -2
- package/dist/components/utrecht-icon-zelfstandig-wonen.js +2 -2
- package/dist/components/utrecht-icon-zoom-minus.js +2 -2
- package/dist/components/utrecht-icon-zoom-plus.js +2 -2
- package/dist/components/utrecht-icon-zoomin.js +2 -2
- package/dist/components/utrecht-icon-zoomout.js +2 -2
- package/dist/components/utrecht-icon-zorg-huis.js +2 -2
- package/dist/components/utrecht-icon-zweefpaal.js +2 -2
- package/dist/components/utrecht-icon-zwemmen.js +2 -2
- package/dist/components/utrecht-icon.js +2 -2
- package/dist/components/utrecht-link-button.js +3 -3
- package/dist/components/utrecht-link.js +2 -2
- package/dist/components/utrecht-logo-button.js +2 -2
- package/dist/components/utrecht-logo-image.js +2 -2
- package/dist/components/utrecht-logo.js +2 -2
- package/dist/components/utrecht-map-marker.js +2 -2
- package/dist/components/utrecht-mark.js +2 -2
- package/dist/components/utrecht-multiline-data.js +2 -2
- package/dist/components/utrecht-nav-bar.js +2 -2
- package/dist/components/utrecht-number-badge.js +2 -2
- package/dist/components/utrecht-number-data.js +2 -2
- package/dist/components/utrecht-page-body.js +2 -2
- package/dist/components/utrecht-page-content.js +2 -2
- package/dist/components/utrecht-page-footer.js +2 -2
- package/dist/components/utrecht-page-header.js +2 -2
- package/dist/components/utrecht-page-layout.js +2 -2
- package/dist/components/utrecht-page.js +2 -2
- package/dist/components/utrecht-pagination.js +3 -3
- package/dist/components/utrecht-paragraph.js +1 -1
- package/dist/components/utrecht-pre-heading.js +2 -2
- package/dist/components/utrecht-preserve-data.js +2 -2
- package/dist/components/utrecht-progress-list-item.js +5 -5
- package/dist/components/utrecht-progress-list-item.js.map +1 -1
- package/dist/components/utrecht-progress-list.js +3 -3
- package/dist/components/utrecht-progress-list.js.map +1 -1
- package/dist/components/utrecht-progress-sublist-item.js +4 -4
- package/dist/components/utrecht-progress-sublist-item.js.map +1 -1
- package/dist/components/utrecht-root.js +3 -3
- package/dist/components/utrecht-root.js.map +1 -1
- package/dist/components/utrecht-separator.js +2 -2
- package/dist/components/utrecht-sidenav.js +4 -4
- package/dist/components/utrecht-sidenav.js.map +1 -1
- package/dist/components/utrecht-skip-link.js +2 -2
- package/dist/components/utrecht-spotlight-section.js +3 -3
- package/dist/components/utrecht-status-badge.js +3 -3
- package/dist/components/utrecht-status-badge.js.map +1 -1
- package/dist/components/utrecht-surface.js +2 -2
- package/dist/components/utrecht-table-body.js +2 -2
- package/dist/components/utrecht-table-caption.js +3 -3
- package/dist/components/utrecht-table-caption.js.map +1 -1
- package/dist/components/utrecht-table-cell.js +2 -2
- package/dist/components/utrecht-table-container.js +3 -3
- package/dist/components/utrecht-table-container.js.map +1 -1
- package/dist/components/utrecht-table-footer.js +2 -2
- package/dist/components/utrecht-table-header-cell.js +2 -2
- package/dist/components/utrecht-table-header.js +3 -3
- package/dist/components/utrecht-table-header.js.map +1 -1
- package/dist/components/utrecht-table-row.js +3 -3
- package/dist/components/utrecht-table-row.js.map +1 -1
- package/dist/components/utrecht-table.js +2 -2
- package/dist/components/utrecht-textarea.js +4 -4
- package/dist/components/utrecht-textarea.js.map +1 -1
- package/dist/components/utrecht-textbox.js +4 -4
- package/dist/components/utrecht-textbox.js.map +1 -1
- package/dist/components/utrecht-top-task-link.js +2 -2
- package/dist/components/utrecht-top-task-nav.js +2 -2
- package/dist/components/utrecht-url-data.js +3 -3
- package/dist/components/utrecht-url-data.js.map +1 -1
- package/dist/esm/utrecht-action-group_46.entry.js +18 -16
- package/dist/esm/utrecht-action-group_46.entry.js.map +1 -1
- package/dist/esm/utrecht-backdrop.entry.js +1 -1
- package/dist/esm/utrecht-backdrop.entry.js.map +1 -1
- package/dist/esm/utrecht-body.entry.js +4 -4
- package/dist/esm/utrecht-body.entry.js.map +1 -1
- package/dist/esm/utrecht-custom-checkbox.entry.js +1 -1
- package/dist/esm/utrecht-data-list-item.entry.js +1 -1
- package/dist/esm/utrecht-form-toggle.entry.js +1 -1
- package/dist/esm/utrecht-form-toggle.entry.js.map +1 -1
- package/dist/esm/utrecht-html-content.entry.js +1 -1
- package/dist/esm/utrecht-html-content.entry.js.map +1 -1
- package/dist/esm/utrecht-progress-list-item.entry.js +1 -1
- package/dist/esm/utrecht-progress-list-item.entry.js.map +1 -1
- package/dist/esm/utrecht-progress-list.entry.js +1 -1
- package/dist/esm/utrecht-progress-list.entry.js.map +1 -1
- package/dist/esm/utrecht-progress-sublist-item.entry.js +1 -1
- package/dist/esm/utrecht-progress-sublist-item.entry.js.map +1 -1
- package/dist/esm/utrecht-root.entry.js +1 -1
- package/dist/esm/utrecht-root.entry.js.map +1 -1
- package/dist/esm/utrecht-sidenav.entry.js +1 -1
- package/dist/esm/utrecht-sidenav.entry.js.map +1 -1
- package/dist/esm/utrecht-table-caption.entry.js +1 -1
- package/dist/esm/utrecht-table-caption.entry.js.map +1 -1
- package/dist/esm/utrecht-table-container.entry.js +1 -1
- package/dist/esm/utrecht-table-container.entry.js.map +1 -1
- package/dist/esm/utrecht-table-header.entry.js +1 -1
- package/dist/esm/utrecht-table-header.entry.js.map +1 -1
- package/dist/esm/utrecht-table-row.entry.js +1 -1
- package/dist/esm/utrecht-table-row.entry.js.map +1 -1
- package/dist/esm/utrecht-textarea.entry.js +1 -1
- package/dist/esm/utrecht-textarea.entry.js.map +1 -1
- package/dist/esm/utrecht-textbox.entry.js +1 -1
- package/dist/esm/utrecht-textbox.entry.js.map +1 -1
- package/dist/types/components/body.d.ts +1 -1
- package/dist/utrecht/p-07df436f.entry.js +2 -0
- package/dist/utrecht/p-07df436f.entry.js.map +1 -0
- package/dist/utrecht/p-0f8a6c5d.entry.js +2 -0
- package/dist/utrecht/{p-341922cc.entry.js.map → p-0f8a6c5d.entry.js.map} +1 -1
- package/dist/utrecht/p-111bc630.entry.js +2 -0
- package/dist/utrecht/{p-b78c917c.entry.js.map → p-111bc630.entry.js.map} +1 -1
- package/dist/utrecht/{p-c8e10e08.entry.js → p-12b51a23.entry.js} +2 -2
- package/dist/utrecht/{p-c8e10e08.entry.js.map → p-12b51a23.entry.js.map} +1 -1
- package/dist/utrecht/p-161ae02f.entry.js +2 -0
- package/dist/utrecht/{p-9bbd5241.entry.js.map → p-161ae02f.entry.js.map} +1 -1
- package/dist/utrecht/p-1c7451c7.entry.js +2 -0
- package/dist/utrecht/{p-9dd388f5.entry.js.map → p-1c7451c7.entry.js.map} +1 -1
- package/dist/utrecht/p-28822e27.entry.js +2 -0
- package/dist/utrecht/{p-082d31b2.entry.js.map → p-28822e27.entry.js.map} +1 -1
- package/dist/utrecht/p-54afb1bf.entry.js +2 -0
- package/dist/utrecht/{p-8061ad92.entry.js.map → p-54afb1bf.entry.js.map} +1 -1
- package/dist/utrecht/p-56bc0920.entry.js +2 -0
- package/dist/utrecht/{p-81d1b4ce.entry.js.map → p-56bc0920.entry.js.map} +1 -1
- package/dist/utrecht/{p-a2f05439.entry.js → p-867b57d2.entry.js} +2 -2
- package/dist/utrecht/{p-a2f05439.entry.js.map → p-867b57d2.entry.js.map} +1 -1
- package/dist/utrecht/p-b06b325e.entry.js +2 -0
- package/dist/utrecht/{p-fc013486.entry.js.map → p-b06b325e.entry.js.map} +1 -1
- package/dist/utrecht/{p-57bd3d72.entry.js → p-d5053155.entry.js} +2 -2
- package/dist/utrecht/p-e26c28d0.entry.js +2 -0
- package/dist/utrecht/{p-c68c6594.entry.js.map → p-e26c28d0.entry.js.map} +1 -1
- package/dist/utrecht/p-e2d5f0a5.entry.js +2 -0
- package/dist/utrecht/{p-975b66b2.entry.js.map → p-e2d5f0a5.entry.js.map} +1 -1
- package/dist/utrecht/p-edc6473f.entry.js +2 -0
- package/dist/utrecht/p-edc6473f.entry.js.map +1 -0
- package/dist/utrecht/p-f516287a.entry.js +2 -0
- package/dist/utrecht/p-f516287a.entry.js.map +1 -0
- package/dist/utrecht/{p-2b5d7416.entry.js → p-f5cdd64f.entry.js} +2 -2
- package/dist/utrecht/{p-4149b6ec.entry.js → p-fdeaad43.entry.js} +2 -2
- package/dist/utrecht/{p-4149b6ec.entry.js.map → p-fdeaad43.entry.js.map} +1 -1
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/package.json +36 -36
- package/dist/components/button.js +0 -143
- package/dist/components/button.js.map +0 -1
- package/dist/components/clsx.js.map +0 -1
- package/dist/components/form-field-description.js.map +0 -1
- package/dist/components/heading-2.js.map +0 -1
- package/dist/components/heading-3.js.map +0 -1
- package/dist/components/paragraph.js.map +0 -1
- package/dist/utrecht/p-082d31b2.entry.js +0 -2
- package/dist/utrecht/p-341922cc.entry.js +0 -2
- package/dist/utrecht/p-8061ad92.entry.js +0 -2
- package/dist/utrecht/p-81d1b4ce.entry.js +0 -2
- package/dist/utrecht/p-975b66b2.entry.js +0 -2
- package/dist/utrecht/p-9bbd5241.entry.js +0 -2
- package/dist/utrecht/p-9dd388f5.entry.js +0 -2
- package/dist/utrecht/p-ae9c1047.entry.js +0 -2
- package/dist/utrecht/p-ae9c1047.entry.js.map +0 -1
- package/dist/utrecht/p-aee3361b.entry.js +0 -2
- package/dist/utrecht/p-aee3361b.entry.js.map +0 -1
- package/dist/utrecht/p-b78c917c.entry.js +0 -2
- package/dist/utrecht/p-c68c6594.entry.js +0 -2
- package/dist/utrecht/p-e04057c0.entry.js +0 -2
- package/dist/utrecht/p-e04057c0.entry.js.map +0 -1
- package/dist/utrecht/p-fc013486.entry.js +0 -2
- /package/dist/utrecht/{p-57bd3d72.entry.js.map → p-d5053155.entry.js.map} +0 -0
- /package/dist/utrecht/{p-2b5d7416.entry.js.map → p-f5cdd64f.entry.js.map} +0 -0
|
@@ -3,20 +3,36 @@
|
|
|
3
3
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
4
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
5
5
|
*/
|
|
6
|
-
/* stylelint-disable-next-line block-no-empty */
|
|
7
6
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
* @license EUPL-1.2
|
|
8
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
9
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @license EUPL-1.2
|
|
13
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
14
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
|
+
*/
|
|
16
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
11
22
|
*/
|
|
23
|
+
/**
|
|
24
|
+
* @license EUPL-1.2
|
|
25
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
26
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @license EUPL-1.2
|
|
30
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
31
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
32
|
+
*/
|
|
12
33
|
/* TODO: Enable ordering properties when the plugin supports logical CSS properties
|
|
13
34
|
* https://github.com/hudochenkov/stylelint-order/pull/162 */
|
|
14
35
|
/* stylelint-disable order/properties-alphabetical-order */
|
|
15
|
-
/**
|
|
16
|
-
* @license EUPL-1.2
|
|
17
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
18
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
19
|
-
*/
|
|
20
36
|
.utrecht-textarea {
|
|
21
37
|
/* Fall back to `resize: vertical` for browsers that don't support `resize: block` */
|
|
22
38
|
background-color: var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color));
|
|
@@ -99,14 +115,6 @@
|
|
|
99
115
|
opacity: 100%;
|
|
100
116
|
}
|
|
101
117
|
|
|
102
|
-
.utrecht-textarea--html-textarea {
|
|
103
|
-
/* The `textarea:read-only` pseudo selector applies to both `<textarea readonly>` and `<textarea disabled>` */
|
|
104
|
-
/*
|
|
105
|
-
* The `textarea:disabled` pseudo selector applies to `<textarea disabled>`, but not to `<textarea aria-disabled="true">`
|
|
106
|
-
*
|
|
107
|
-
* We consider `disabled` more specific than `read-only`, so the `:disabled` selector should come after the `:read-only` selector.
|
|
108
|
-
*/
|
|
109
|
-
}
|
|
110
118
|
.utrecht-textarea--html-textarea:focus {
|
|
111
119
|
background-color: var(--utrecht-textarea-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
|
|
112
120
|
border-color: var(--utrecht-textarea-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
|
|
@@ -140,11 +148,21 @@
|
|
|
140
148
|
border-color: var(--utrecht-textarea-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
|
|
141
149
|
color: var(--utrecht-textarea-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
|
|
142
150
|
}
|
|
151
|
+
.utrecht-textarea--html-textarea {
|
|
152
|
+
/* The `textarea:read-only` pseudo selector applies to both `<textarea readonly>` and `<textarea disabled>` */
|
|
153
|
+
}
|
|
143
154
|
.utrecht-textarea--html-textarea:read-only {
|
|
144
155
|
background-color: var(--utrecht-textarea-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
|
|
145
156
|
border-color: var(--utrecht-textarea-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
|
|
146
157
|
color: var(--utrecht-textarea-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textarea-color, var(--utrecht-form-control-color))));
|
|
147
158
|
}
|
|
159
|
+
.utrecht-textarea--html-textarea {
|
|
160
|
+
/*
|
|
161
|
+
* The `textarea:disabled` pseudo selector applies to `<textarea disabled>`, but not to `<textarea aria-disabled="true">`
|
|
162
|
+
*
|
|
163
|
+
* We consider `disabled` more specific than `read-only`, so the `:disabled` selector should come after the `:read-only` selector.
|
|
164
|
+
*/
|
|
165
|
+
}
|
|
148
166
|
.utrecht-textarea--html-textarea:disabled {
|
|
149
167
|
background-color: var(--utrecht-textarea-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-control-background-color))));
|
|
150
168
|
border-color: var(--utrecht-textarea-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-control-border-color))));
|
|
@@ -157,11 +175,6 @@
|
|
|
157
175
|
opacity: 100%;
|
|
158
176
|
}
|
|
159
177
|
|
|
160
|
-
/**
|
|
161
|
-
* @license EUPL-1.2
|
|
162
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
163
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
164
|
-
*/
|
|
165
178
|
:host {
|
|
166
179
|
display: block;
|
|
167
180
|
}
|
|
@@ -3,20 +3,36 @@
|
|
|
3
3
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
4
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
5
5
|
*/
|
|
6
|
-
/* stylelint-disable-next-line block-no-empty */
|
|
7
6
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
* @license EUPL-1.2
|
|
8
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
9
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @license EUPL-1.2
|
|
13
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
14
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
|
+
*/
|
|
16
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
11
22
|
*/
|
|
23
|
+
/**
|
|
24
|
+
* @license EUPL-1.2
|
|
25
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
26
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @license EUPL-1.2
|
|
30
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
31
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
32
|
+
*/
|
|
12
33
|
/* TODO: Enable ordering properties when the plugin supports logical CSS properties
|
|
13
34
|
* https://github.com/hudochenkov/stylelint-order/pull/162 */
|
|
14
35
|
/* stylelint-disable order/properties-alphabetical-order */
|
|
15
|
-
/**
|
|
16
|
-
* @license EUPL-1.2
|
|
17
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
18
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
19
|
-
*/
|
|
20
36
|
.utrecht-textbox {
|
|
21
37
|
/* The average character inline-size is an approximation, with a default that works for Dutch text.
|
|
22
38
|
* The average might need to be configured specifically, for other scripts (CJK characters)
|
|
@@ -26,11 +42,11 @@
|
|
|
26
42
|
--_utrecht-textbox-value-char: 0.667em + 0.334ch;
|
|
27
43
|
/* Because this element uses `border-box` box-sizing, we need to manually add up the
|
|
28
44
|
* border width, padding width and the content width.
|
|
29
|
-
*
|
|
45
|
+
*
|
|
30
46
|
* Browsers and browser addons can add buttons inside the content box, for example
|
|
31
47
|
* for autocomplete. To avoid overlap between the UI and the text, we reserve
|
|
32
48
|
* some additional pixels to make space. We use 44px in accordance with the WCAG target size.
|
|
33
|
-
*
|
|
49
|
+
*
|
|
34
50
|
* When you are certain an element has no such UI, you can set the `autocomplete-ui-size` to `0px` (not to `0`).
|
|
35
51
|
*/
|
|
36
52
|
--_utrecht-textbox-max-inline-size: calc(
|
|
@@ -49,6 +65,7 @@
|
|
|
49
65
|
border-style: solid;
|
|
50
66
|
box-sizing: border-box;
|
|
51
67
|
color: var(--utrecht-textbox-color, var(--utrecht-form-control-color));
|
|
68
|
+
display: block;
|
|
52
69
|
font-family: var(--utrecht-textbox-font-family, var(--utrecht-form-control-font-family));
|
|
53
70
|
font-size: var(--utrecht-textbox-font-size, var(--utrecht-form-control-font-size, inherit));
|
|
54
71
|
font-weight: var(--utrecht-textbox-font-weight, var(--utrecht-form-control-font-weight, initial)); /* harden with `initial` */
|
|
@@ -57,10 +74,12 @@
|
|
|
57
74
|
min-block-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
58
75
|
min-inline-size: var(--utrecht-pointer-target-min-size, 44px);
|
|
59
76
|
max-inline-size: min(var(--_utrecht-textbox-max-inline-size, 100%), var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size)));
|
|
77
|
+
overflow: hidden;
|
|
60
78
|
padding-block-end: var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));
|
|
61
79
|
padding-block-start: var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));
|
|
62
80
|
padding-inline-end: var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));
|
|
63
81
|
padding-inline-start: var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, initial));
|
|
82
|
+
white-space: nowrap;
|
|
64
83
|
}
|
|
65
84
|
|
|
66
85
|
.utrecht-textbox--invalid {
|
|
@@ -197,14 +216,6 @@
|
|
|
197
216
|
font-variant-ligatures: none;
|
|
198
217
|
}
|
|
199
218
|
|
|
200
|
-
.utrecht-textbox--html-input {
|
|
201
|
-
/* The `input:read-only` pseudo selector applies to both `<input readonly>` and `<input disabled>` */
|
|
202
|
-
/*
|
|
203
|
-
* The `input:disabled` pseudo selector applies to `<input disabled>`, but not to `<input aria-disabled="true">`
|
|
204
|
-
*
|
|
205
|
-
* We consider `disabled` more specific than `read-only`, so the `:disabled` selector should come after the `:read-only` selector.
|
|
206
|
-
*/
|
|
207
|
-
}
|
|
208
219
|
.utrecht-textbox--html-input:focus {
|
|
209
220
|
background-color: var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
210
221
|
border-color: var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
@@ -238,11 +249,21 @@
|
|
|
238
249
|
border-color: var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
239
250
|
color: var(--utrecht-textbox-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
240
251
|
}
|
|
252
|
+
.utrecht-textbox--html-input {
|
|
253
|
+
/* The `input:read-only` pseudo selector applies to both `<input readonly>` and `<input disabled>` */
|
|
254
|
+
}
|
|
241
255
|
.utrecht-textbox--html-input:read-only {
|
|
242
256
|
background-color: var(--utrecht-textbox-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
243
257
|
border-color: var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
244
258
|
color: var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));
|
|
245
259
|
}
|
|
260
|
+
.utrecht-textbox--html-input {
|
|
261
|
+
/*
|
|
262
|
+
* The `input:disabled` pseudo selector applies to `<input disabled>`, but not to `<input aria-disabled="true">`
|
|
263
|
+
*
|
|
264
|
+
* We consider `disabled` more specific than `read-only`, so the `:disabled` selector should come after the `:read-only` selector.
|
|
265
|
+
*/
|
|
266
|
+
}
|
|
246
267
|
.utrecht-textbox--html-input:disabled {
|
|
247
268
|
background-color: var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));
|
|
248
269
|
border-color: var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));
|
|
@@ -266,11 +287,6 @@
|
|
|
266
287
|
font-variant-numeric: lining-nums tabular-nums;
|
|
267
288
|
}
|
|
268
289
|
|
|
269
|
-
/**
|
|
270
|
-
* @license EUPL-1.2
|
|
271
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
272
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
273
|
-
*/
|
|
274
290
|
:host {
|
|
275
291
|
display: block;
|
|
276
292
|
}
|
|
@@ -3,11 +3,22 @@
|
|
|
3
3
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
4
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
5
5
|
*/
|
|
6
|
-
/* stylelint-disable-next-line block-no-empty */
|
|
7
6
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
* @license EUPL-1.2
|
|
8
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
9
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @license EUPL-1.2
|
|
13
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
14
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
15
|
+
*/
|
|
16
|
+
/* stylelint-disable-next-line block-no-empty */
|
|
17
|
+
/* Override the browser focus ring with our own focus ring.
|
|
18
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
19
|
+
*/
|
|
20
|
+
/* Override the browser focus ring with our own focus ring.
|
|
21
|
+
* Use `:where()` so the CSS selector specificity is `0,0,0`.
|
|
11
22
|
*/
|
|
12
23
|
.utrecht-toptask-link {
|
|
13
24
|
--utrecht-icon-color: currentColor;
|
|
@@ -66,11 +77,6 @@
|
|
|
66
77
|
padding-inline-end: var(--utrecht-space-inline-md);
|
|
67
78
|
}
|
|
68
79
|
|
|
69
|
-
/**
|
|
70
|
-
* @license EUPL-1.2
|
|
71
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
72
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
73
|
-
*/
|
|
74
80
|
:host {
|
|
75
81
|
display: block;
|
|
76
82
|
}
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* Copyright (c) 2020-2024 Frameless B.V.
|
|
4
4
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @license EUPL-1.2
|
|
8
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
9
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
10
|
+
*/
|
|
6
11
|
.utrecht-toptask-nav {
|
|
7
12
|
display: flex;
|
|
8
13
|
flex-direction: column;
|
|
@@ -15,11 +20,6 @@
|
|
|
15
20
|
flex-direction: row;
|
|
16
21
|
}
|
|
17
22
|
|
|
18
|
-
/**
|
|
19
|
-
* @license EUPL-1.2
|
|
20
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
21
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
22
|
-
*/
|
|
23
23
|
:host {
|
|
24
24
|
display: block;
|
|
25
25
|
}
|
|
@@ -5,10 +5,15 @@
|
|
|
5
5
|
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
* @license EUPL-1.2
|
|
9
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
10
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @license EUPL-1.2
|
|
14
|
+
* Copyright (c) 2020-2024 Frameless B.V.
|
|
15
|
+
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
16
|
+
*/
|
|
12
17
|
.utrecht-url-data {
|
|
13
18
|
/**
|
|
14
19
|
* `break-inside`: avoid spreading the URL over two columns.
|
|
@@ -37,14 +42,8 @@
|
|
|
37
42
|
font-variant-ligatures: none;
|
|
38
43
|
hyphens: none;
|
|
39
44
|
overflow-wrap: anywhere;
|
|
40
|
-
page-break-inside: avoid;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
/**
|
|
44
|
-
* @license EUPL-1.2
|
|
45
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
46
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
47
|
-
*/
|
|
48
47
|
:host {
|
|
49
48
|
display: inline;
|
|
50
49
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -319,7 +319,7 @@ import { UtrechtTextbox } from './utrecht-textbox.js';
|
|
|
319
319
|
import { UtrechtTopTaskLink } from './utrecht-top-task-link.js';
|
|
320
320
|
import { UtrechtTopTaskNav } from './utrecht-top-task-nav.js';
|
|
321
321
|
import { UtrechtUrlData } from './utrecht-url-data.js';
|
|
322
|
-
export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '
|
|
322
|
+
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-2f0ff193.js';
|
|
323
323
|
|
|
324
324
|
const defineCustomElements = (opts) => {
|
|
325
325
|
if (typeof customElements !== 'undefined') {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { c as clsx } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
|
|
2
|
+
import { c as clsx } from './p-e91d8a25.js';
|
|
3
3
|
|
|
4
4
|
const paragraphCss = ".utrecht-paragraph{color:var(--utrecht-paragraph-color, var(--utrecht-document-color, inherit));font-family:var(--utrecht-paragraph-font-family, var(--utrecht-document-font-family, inherit));font-size:var(--utrecht-paragraph-font-size, var(--utrecht-document-font-size, inherit));font-weight:var(--utrecht-paragraph-font-weight, inherit);line-height:var(--utrecht-paragraph-line-height, var(--utrecht-document-line-height, inherit));margin-block-end:calc(var(--utrecht-space-around, 0) * var(--utrecht-paragraph-margin-block-end, 0));margin-block-start:calc(var(--utrecht-space-around, 0) * var(--utrecht-paragraph-margin-block-start, 0))}.utrecht-paragraph--lead{color:var(--utrecht-paragraph-lead-color, var(--utrecht-paragraph-color, var(--utrecht-document-color, inherit)));font-size:var(--utrecht-paragraph-lead-font-size, var(--utrecht-paragraph-font-size, inherit));font-weight:var(--utrecht-paragraph-lead-font-weight, var(--utrecht-paragraph-font-weight, inherit));line-height:var(--utrecht-paragraph-lead-line-height, var(--utrecht-paragraph-line-height, inherit))}.utrecht-paragraph--small{color:var(--utrecht-paragraph-small-color, var(--utrecht-paragraph-color, var(--utrecht-document-color, inherit)));font-size:var(--utrecht-paragraph-small-font-size, var(--utrecht-paragraph-font-size, inherit));font-weight:var(--utrecht-paragraph-small-font-weight, var(--utrecht-paragraph-font-weight, inherit));line-height:var(--utrecht-paragraph-small-line-height, var(--utrecht-paragraph-line-height, inherit))}.utrecht-paragraph__small{font-size:inherit}.utrecht-paragraph__b{font-weight:inherit}.utrecht-paragraph--distanced{--utrecht-space-around:1}:host{display:block}:host([hidden]){display:none !important}";
|
|
5
5
|
const UtrechtParagraphStyle0 = paragraphCss;
|
|
6
6
|
|
|
7
|
-
const Paragraph = /*@__PURE__*/ proxyCustomElement(class Paragraph extends
|
|
7
|
+
const Paragraph = /*@__PURE__*/ proxyCustomElement(class Paragraph extends H {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
@@ -34,4 +34,4 @@ function defineCustomElement() {
|
|
|
34
34
|
|
|
35
35
|
export { Paragraph as P, defineCustomElement as d };
|
|
36
36
|
|
|
37
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=p-074337c4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-074337c4.js","mappings":";;;AAAA,MAAM,YAAY,GAAG,urDAAurD,CAAC;AAC7sD,+BAAe,YAAY;;MCOd,SAAS;;;;;;;IAMpB,MAAM;QACJ,QACE,4DAAK,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,IAAI,IAAI,yBAAyB,CAAC,IAC3E,8DAAa,CACT,EACN;KACH;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/paragraph.scss?tag=utrecht-paragraph&encapsulation=shadow","src/components/paragraph.tsx"],"sourcesContent":["/**\n * @license EUPL-1.2\n * Copyright (c) 2020-2024 Frameless B.V.\n * Copyright (c) 2021-2024 Gemeente Utrecht\n */\n\n@use \"~@utrecht/paragraph-css/src\" as *;\n\n:host {\n display: block;\n}\n\n:host([hidden]) {\n display: none !important;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport clsx from 'clsx';\n\n@Component({\n tag: 'utrecht-paragraph',\n styleUrl: 'paragraph.scss',\n shadow: true,\n})\nexport class Paragraph {\n /**\n * Lead paragraph\n */\n @Prop() lead: boolean;\n\n render() {\n return (\n <div class={clsx('utrecht-paragraph', this.lead && 'utrecht-paragraph--lead')}>\n <slot></slot>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-2f0ff193.js';
|
|
2
|
+
import { c as clsx } from './p-e91d8a25.js';
|
|
3
|
+
|
|
4
|
+
const buttonCss = ".utrecht-button{--_utrecht-button-background-color:var(\n --_utrecht-button-hint-background-color,\n var(--_utrecht-button-appearance-background-color, var(--utrecht-button-background-color))\n );--_utrecht-button-color:var(\n --_utrecht-button-hint-color,\n var(--_utrecht-button-appearance-color, var(--utrecht-button-color))\n );--_utrecht-button-border-color:var(\n --_utrecht-button-hint-border-color,\n var(--_utrecht-button-appearance-border-color, var(--utrecht-button-border-color, transparent))\n );--_utrecht-button-border-bottom-color:var(\n --_utrecht-button-hint-border-bottom-color,\n var(\n --_utrecht-button-hint-border-color,\n var(\n --_utrecht-button-appearance-border-bottom-color,\n var(\n --_utrecht-button-appearance-border-color,\n var(--utrecht-button-border-bottom-color, var(--utrecht-button-border-color, transparent))\n )\n )\n )\n );--_utrecht-button-disabled-background-color:var(\n --_utrecht-button-hint-disabled-background-color,\n var(\n --_utrecht-button-appearance-disabled-background-color,\n var(--utrecht-button-disabled-background-color, var(--utrecht-button-background-color))\n )\n );--_utrecht-button-disabled-border-color:var(\n --_utrecht-button-hint-disabled-border-color,\n var(\n --_utrecht-button-appearance-disabled-border-color,\n var(--utrecht-button-disabled-border-color, var(--utrecht-button-border-color))\n )\n );--_utrecht-button-disabled-color:var(\n --_utrecht-button-hint-disabled-color,\n var(--_utrecht-button-appearance-disabled-color, var(--utrecht-button-disabled-color, var(--utrecht-button-color)))\n );--_utrecht-button-pressed-background-color:var(\n --_utrecht-button-hint-pressed-background-color,\n var(\n --_utrecht-button-hint-background-color,\n var(\n --_utrecht-button-appearance-pressed-background-color,\n var(\n --_utrecht-button-appearance-background-color,\n var(--utrecht-button-pressed-background-color, var(--utrecht-button-background-color))\n )\n )\n )\n );--_utrecht-button-pressed-border-color:var(\n --_utrecht-button-hint-pressed-border-color,\n var(\n --_utrecht-button-hint-border-color,\n var(\n --_utrecht-button-appearance-pressed-border-color,\n var(\n --_utrecht-button-appearance-border-color,\n var(--utrecht-button-pressed-border-color, var(--utrecht-button-border-color))\n )\n )\n )\n );--_utrecht-button-pressed-color:var(\n --_utrecht-button-hint-pressed-color,\n var(\n --_utrecht-button-hint-color,\n var(\n --_utrecht-button-appearance-pressed-color,\n var(--_utrecht-button-appearance-color, var(--utrecht-button-pressed-color, var(--utrecht-button-color)))\n )\n )\n );--_utrecht-button-focus-background-color:var(\n --_utrecht-button-hint-focus-background-color,\n var(\n --_utrecht-button-hint-background-color,\n var(\n --_utrecht-button-appearance-focus-background-color,\n var(\n --_utrecht-button-appearance-background-color,\n var(--utrecht-button-focus-background-color, var(--utrecht-button-background-color))\n )\n )\n )\n );--_utrecht-button-focus-border-color:var(\n --_utrecht-button-hint-focus-border-color,\n var(\n --_utrecht-button-hint-border-color,\n var(\n --_utrecht-button-appearance-focus-border-color,\n var(\n --_utrecht-button-appearance-border-color,\n var(--utrecht-button-focus-border-color, var(--utrecht-button-border-color))\n )\n )\n )\n );--_utrecht-button-focus-color:var(\n --_utrecht-button-hint-focus-color,\n var(\n --_utrecht-button-hint-color,\n var(\n --_utrecht-button-appearance-focus-color,\n var(--_utrecht-button-appearance-color, var(--utrecht-button-focus-color, var(--utrecht-button-color)))\n )\n )\n );--_utrecht-button-hover-background-color:var(\n --_utrecht-button-hint-hover-background-color,\n var(\n --_utrecht-button-hint-background-color,\n var(\n --_utrecht-button-appearance-hover-background-color,\n var(\n --_utrecht-button-appearance-background-color,\n var(--utrecht-button-hover-background-color, var(--utrecht-button-background-color))\n )\n )\n )\n );--_utrecht-button-hover-border-color:var(\n --_utrecht-button-hint-hover-border-color,\n var(\n --_utrecht-button-hint-border-color,\n var(\n --_utrecht-button-appearance-hover-border-color,\n var(\n --_utrecht-button-appearance-border-color,\n var(--utrecht-button-hover-border-color, var(--utrecht-button-border-color))\n )\n )\n )\n );--_utrecht-button-hover-color:var(\n --_utrecht-button-hint-hover-color,\n var(\n --_utrecht-button-hint-color,\n var(\n --_utrecht-button-appearance-hover-color,\n var(--_utrecht-button-appearance-color, var(--utrecht-button-hover-color, var(--utrecht-button-color)))\n )\n )\n );--_utrecht-button-active-background-color:var(\n --_utrecht-button-hint-active-background-color,\n var(\n --_utrecht-button-hint-background-color,\n var(\n --_utrecht-button-appearance-active-background-color,\n var(\n --_utrecht-button-appearance-background-color,\n var(--utrecht-button-active-background-color, var(--utrecht-button-background-color))\n )\n )\n )\n );--_utrecht-button-active-border-color:var(\n --_utrecht-button-hint-active-border-color,\n var(\n --_utrecht-button-hint-border-color,\n var(\n --_utrecht-button-appearance-active-border-color,\n var(\n --_utrecht-button-appearance-border-color,\n var(--utrecht-button-active-border-color, var(--utrecht-button-border-color))\n )\n )\n )\n );--_utrecht-button-active-color:var(\n --_utrecht-button-hint-active-color,\n var(\n --_utrecht-button-hint-color,\n var(\n --_utrecht-button-appearance-active-color,\n var(--_utrecht-button-appearance-color, var(--utrecht-button-active-color, var(--utrecht-button-color)))\n )\n )\n );--_utrecht-button-border-width:var(--_utrecht-button-appearance-border-width, var(--utrecht-button-border-width, 0));--_utrecht-button-border-block-end-width:var(\n --utrecht-button-border-bottom-width,\n var(--_utrecht-button-border-width, 0)\n );--_utrecht-button-font-size:var(--_utrecht-button-appearance-font-size, var(--utrecht-button-font-size));--_utrecht-button-line-height:var(--_utrecht-button-appearance-line-height, var(--utrecht-button-line-height));--utrecht-icon-size:var(--utrecht-button-icon-size, 1em);align-items:center;background-color:var(--_utrecht-button-background-color);block-size:fit-content;border-block-end-color:var(--_utrecht-button-border-bottom-color);border-block-end-width:var(--_utrecht-button-border-block-end-width);border-color:var(--_utrecht-button-border-color);border-radius:var(--utrecht-button-border-radius);border-style:solid;border-width:var(--_utrecht-button-border-width);box-sizing:border-box;color:var(--_utrecht-button-color);column-gap:var(--utrecht-button-column-gap);cursor:var(--utrecht-action-activate-cursor, revert);display:inline-flex;font-family:var(--utrecht-button-font-family, var(--utrecht-document-font-family));font-size:var(--_utrecht-button-font-size, var(--utrecht-document-font-family, inherit));font-weight:var(--_utrecht-button-appearance-font-weight, var(--utrecht-button-font-weight));inline-size:var(--utrecht-button-inline-size, auto);justify-content:var(--utrecht-button-justify-content, center);line-height:var(--_utrecht-button-line-height);max-inline-size:var(--utrecht-button-max-inline-size, fit-content);min-block-size:var(--utrecht-button-min-block-size, 44px);min-inline-size:var(--utrecht-button-min-inline-size, 44px);padding-block-end:var(--utrecht-button-padding-block-end);padding-block-start:var(--utrecht-button-padding-block-start);padding-inline-end:var(--utrecht-button-padding-inline-end);padding-inline-start:var(--utrecht-button-padding-inline-start);scale:1;text-transform:var(--utrecht-button-text-transform);-webkit-user-select:none;user-select:none}@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){.utrecht-button{--_utrecht-button-disabled-border-color:GrayText;--_utrecht-button-disabled-color:GrayText;background-color:ButtonFace;border-color:buttonborder;color:ButtonText;}}.utrecht-button--distanced{margin-block-end:var(--utrecht-button-margin-block-end);margin-block-start:var(--utrecht-button-margin-block-start);margin-inline-end:var(--utrecht-button-margin-inline-end);margin-inline-start:var(--utrecht-button-margin-inline-start)}.utrecht-button--submit{cursor:var(--utrecht-action-submit-cursor, revert)}.utrecht-button--busy{cursor:var(--utrecht-action-busy-cursor, wait)}.utrecht-button--pressed{background-color:var(--_utrecht-button-pressed-background-color);border-color:var(--_utrecht-button-pressed-border-color);color:var(--_utrecht-button-pressed-color)}.utrecht-button:disabled,.utrecht-button--disabled{background-color:var(--_utrecht-button-disabled-background-color);border-color:var(--_utrecht-button-disabled-border-color);color:var(--_utrecht-button-disabled-color);cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-button--focus-visible{--_utrecht-focus-ring-box-shadow:0 0 0 var(--utrecht-focus-outline-width, 0)\n var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-button--focus:not(.utrecht-button--disabled){background-color:var(--_utrecht-button-focus-background-color);border-color:var(--_utrecht-button-focus-border-color);color:var(--_utrecht-button-focus-color);scale:var(--utrecht-button-focus-scale, 1)}.utrecht-button:focus-visible{--_utrecht-focus-ring-box-shadow:0 0 0 var(--utrecht-focus-outline-width, 0)\n var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-button:focus:not(:disabled,[aria-disabled=true],.utrecht-button--disabled){background-color:var(--_utrecht-button-focus-background-color);border-color:var(--_utrecht-button-focus-border-color);color:var(--_utrecht-button-focus-color);scale:var(--utrecht-button-focus-scale, 1)}.utrecht-button--hover:not(:disabled,.utrecht-button--disabled),.utrecht-button:hover:not(:disabled,[aria-disabled=true],.utrecht-button--disabled){background-color:var(--_utrecht-button-hover-background-color);border-color:var(--_utrecht-button-hover-border-color);color:var(--_utrecht-button-hover-color);scale:var(--utrecht-button-hover-scale, 1)}.utrecht-button:active:not(:disabled,[aria-disabled=true],.utrecht-button--disabled),.utrecht-button--active{background-color:var(--_utrecht-button-active-background-color);border-color:var(--_utrecht-button-active-border-color);color:var(--_utrecht-button-active-color)}.utrecht-button--primary-action{--_utrecht-button-appearance-active-background-color:var(--utrecht-button-primary-action-active-background-color);--_utrecht-button-appearance-active-border-color:var(--utrecht-button-primary-action-active-border-color);--_utrecht-button-appearance-active-color:var(--utrecht-button-primary-action-active-color);--_utrecht-button-appearance-background-color:var(--utrecht-button-primary-action-background-color);--_utrecht-button-appearance-border-color:var(--utrecht-button-primary-action-border-color);--_utrecht-button-appearance-border-width:var(--utrecht-button-primary-action-border-width);--_utrecht-button-appearance-color:var(--utrecht-button-primary-action-color);--_utrecht-button-appearance-font-size:var(--utrecht-button-primary-action-font-size);--_utrecht-button-appearance-font-weight:var(--utrecht-button-primary-action-font-weight);--_utrecht-button-appearance-line-height:var(--utrecht-button-primary-action-line-height);--_utrecht-button-appearance-disabled-background-color:var(--utrecht-button-primary-action-disabled-background-color);--_utrecht-button-appearance-disabled-border-color:var(--utrecht-button-primary-action-disabled-border-color);--_utrecht-button-appearance-disabled-color:var(--utrecht-button-primary-action-disabled-color);--_utrecht-button-appearance-focus-background-color:var(--utrecht-button-primary-action-focus-background-color);--_utrecht-button-appearance-focus-border-color:var(--utrecht-button-primary-action-focus-border-color);--_utrecht-button-appearance-focus-color:var(--utrecht-button-primary-action-focus-color);--_utrecht-button-appearance-hover-background-color:var(--utrecht-button-primary-action-hover-background-color);--_utrecht-button-appearance-hover-border-color:var(--utrecht-button-primary-action-hover-border-color);--_utrecht-button-appearance-hover-color:var(--utrecht-button-primary-action-hover-color);--_utrecht-button-appearance-pressed-background-color:var(--utrecht-button-primary-action-pressed-background-color);--_utrecht-button-appearance-pressed-border-color:var(--utrecht-button-primary-action-pressed-border-color);--_utrecht-button-appearance-pressed-color:var(--utrecht-button-primary-action-pressed-color)}.utrecht-button--secondary-action{--_utrecht-button-appearance-active-background-color:var(--utrecht-button-secondary-action-active-background-color);--_utrecht-button-appearance-active-border-color:var(--utrecht-button-secondary-action-active-border-color);--_utrecht-button-appearance-active-color:var(--utrecht-button-secondary-action-active-color);--_utrecht-button-appearance-background-color:var(--utrecht-button-secondary-action-background-color);--_utrecht-button-appearance-border-color:var(--utrecht-button-secondary-action-border-color);--_utrecht-button-appearance-border-width:var(--utrecht-button-secondary-action-border-width);--_utrecht-button-appearance-color:var(--utrecht-button-secondary-action-color);--_utrecht-button-appearance-font-size:var(--utrecht-button-secondary-action-font-size);--_utrecht-button-appearance-font-weight:var(--utrecht-button-secondary-action-font-weight);--_utrecht-button-appearance-line-height:var(--utrecht-button-secondary-action-line-height);--_utrecht-button-appearance-disabled-background-color:var(--utrecht-button-secondary-action-disabled-background-color);--_utrecht-button-appearance-disabled-border-color:var(--utrecht-button-secondary-action-disabled-border-color);--_utrecht-button-appearance-disabled-color:var(--utrecht-button-secondary-action-disabled-color);--_utrecht-button-appearance-focus-background-color:var(--utrecht-button-secondary-action-focus-background-color);--_utrecht-button-appearance-focus-border-color:var(--utrecht-button-secondary-action-focus-border-color);--_utrecht-button-appearance-focus-color:var(--utrecht-button-secondary-action-focus-color);--_utrecht-button-appearance-hover-background-color:var(--utrecht-button-secondary-action-hover-background-color);--_utrecht-button-appearance-hover-border-color:var(--utrecht-button-secondary-action-hover-border-color);--_utrecht-button-appearance-hover-color:var(--utrecht-button-secondary-action-hover-color);--_utrecht-button-appearance-pressed-background-color:var(--utrecht-button-secondary-action-pressed-background-color);--_utrecht-button-appearance-pressed-border-color:var(--utrecht-button-secondary-action-pressed-border-color);--_utrecht-button-appearance-pressed-color:var(--utrecht-button-secondary-action-pressed-color)}.utrecht-button--subtle{--_utrecht-button-appearance-active-background-color:var(--utrecht-button-subtle-active-background-color);--_utrecht-button-appearance-active-border-color:var(--utrecht-button-subtle-active-border-color);--_utrecht-button-appearance-active-color:var(--utrecht-button-subtle-active-color);--_utrecht-button-appearance-background-color:var(--utrecht-button-subtle-background-color);--_utrecht-button-appearance-border-color:var(--utrecht-button-subtle-border-color);--_utrecht-button-appearance-border-width:var(--utrecht-button-subtle-border-width);--_utrecht-button-appearance-color:var(--utrecht-button-subtle-color);--_utrecht-button-appearance-font-size:var(--utrecht-button-subtle-font-size);--_utrecht-button-appearance-font-weight:var(--utrecht-button-subtle-font-weight);--_utrecht-button-appearance-line-height:var(--utrecht-button-subtle-line-height);--_utrecht-button-appearance-disabled-background-color:var(--utrecht-button-subtle-disabled-background-color);--_utrecht-button-appearance-disabled-border-color:var(--utrecht-button-subtle-disabled-border-color);--_utrecht-button-appearance-disabled-color:var(--utrecht-button-subtle-disabled-color);--_utrecht-button-appearance-focus-background-color:var(--utrecht-button-subtle-focus-background-color);--_utrecht-button-appearance-focus-border-color:var(--utrecht-button-subtle-focus-border-color);--_utrecht-button-appearance-focus-color:var(--utrecht-button-subtle-focus-color);--_utrecht-button-appearance-hover-background-color:var(--utrecht-button-subtle-hover-background-color);--_utrecht-button-appearance-hover-border-color:var(--utrecht-button-subtle-hover-border-color);--_utrecht-button-appearance-hover-color:var(--utrecht-button-subtle-hover-color);--_utrecht-button-appearance-pressed-background-color:var(--utrecht-button-subtle-pressed-background-color);--_utrecht-button-appearance-pressed-border-color:var(--utrecht-button-subtle-pressed-border-color);--_utrecht-button-appearance-pressed-color:var(--utrecht-button-subtle-pressed-color)}.utrecht-button--primary-action.utrecht-button--danger{--_utrecht-button-hint-active-background-color:var(--utrecht-button-primary-action-danger-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-primary-action-danger-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-primary-action-danger-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-primary-action-danger-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-primary-action-danger-border-color);--_utrecht-button-hint-color:var(--utrecht-button-primary-action-danger-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-primary-action-danger-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-primary-action-danger-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-primary-action-danger-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-primary-action-danger-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-primary-action-danger-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-primary-action-danger-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-primary-action-danger-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-primary-action-danger-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-primary-action-danger-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-primary-action-danger-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-primary-action-danger-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-primary-action-danger-pressed-color)}.utrecht-button--primary-action.utrecht-button--ready{--_utrecht-button-hint-active-background-color:var(--utrecht-button-primary-action-ready-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-primary-action-ready-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-primary-action-ready-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-primary-action-ready-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-primary-action-ready-border-color);--_utrecht-button-hint-color:var(--utrecht-button-primary-action-ready-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-primary-action-ready-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-primary-action-ready-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-primary-action-ready-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-primary-action-ready-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-primary-action-ready-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-primary-action-ready-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-primary-action-ready-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-primary-action-ready-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-primary-action-ready-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-primary-action-ready-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-primary-action-ready-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-primary-action-ready-pressed-color)}.utrecht-button--primary-action.utrecht-button--warning{--_utrecht-button-hint-active-background-color:var(--utrecht-button-primary-action-warning-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-primary-action-warning-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-primary-action-warning-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-primary-action-warning-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-primary-action-warning-border-color);--_utrecht-button-hint-color:var(--utrecht-button-primary-action-warning-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-primary-action-warning-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-primary-action-warning-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-primary-action-warning-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-primary-action-warning-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-primary-action-warning-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-primary-action-warning-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-primary-action-warning-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-primary-action-warning-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-primary-action-warning-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-primary-action-warning-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-primary-action-warning-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-primary-action-warning-pressed-color)}.utrecht-button--secondary-action.utrecht-button--danger{--_utrecht-button-hint-active-background-color:var(--utrecht-button-secondary-action-danger-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-secondary-action-danger-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-secondary-action-danger-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-secondary-action-danger-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-secondary-action-danger-border-color);--_utrecht-button-hint-color:var(--utrecht-button-secondary-action-danger-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-secondary-action-danger-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-secondary-action-danger-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-secondary-action-danger-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-secondary-action-danger-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-secondary-action-danger-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-secondary-action-danger-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-secondary-action-danger-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-secondary-action-danger-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-secondary-action-danger-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-secondary-action-danger-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-secondary-action-danger-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-secondary-action-danger-pressed-color)}.utrecht-button--secondary-action.utrecht-button--ready{--_utrecht-button-hint-active-background-color:var(--utrecht-button-secondary-action-ready-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-secondary-action-ready-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-secondary-action-ready-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-secondary-action-ready-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-secondary-action-ready-border-color);--_utrecht-button-hint-color:var(--utrecht-button-secondary-action-ready-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-secondary-action-ready-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-secondary-action-ready-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-secondary-action-ready-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-secondary-action-ready-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-secondary-action-ready-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-secondary-action-ready-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-secondary-action-ready-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-secondary-action-ready-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-secondary-action-ready-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-secondary-action-ready-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-secondary-action-ready-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-secondary-action-ready-pressed-color)}.utrecht-button--secondary-action.utrecht-button--warning{--_utrecht-button-hint-active-background-color:var(--utrecht-button-secondary-action-warning-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-secondary-action-warning-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-secondary-action-warning-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-secondary-action-warning-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-secondary-action-warning-border-color);--_utrecht-button-hint-color:var(--utrecht-button-secondary-action-warning-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-secondary-action-warning-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-secondary-action-warning-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-secondary-action-warning-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-secondary-action-warning-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-secondary-action-warning-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-secondary-action-warning-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-secondary-action-warning-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-secondary-action-warning-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-secondary-action-warning-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-secondary-action-warning-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-secondary-action-warning-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-secondary-action-warning-pressed-color)}.utrecht-button--subtle.utrecht-button--danger{--_utrecht-button-hint-active-background-color:var(--utrecht-button-subtle-danger-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-subtle-danger-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-subtle-danger-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-subtle-danger-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-subtle-danger-border-color);--_utrecht-button-hint-color:var(--utrecht-button-subtle-danger-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-subtle-danger-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-subtle-danger-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-subtle-danger-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-subtle-danger-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-subtle-danger-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-subtle-danger-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-subtle-danger-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-subtle-danger-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-subtle-danger-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-subtle-danger-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-subtle-danger-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-subtle-danger-pressed-color)}.utrecht-button--subtle.utrecht-button--ready{--_utrecht-button-hint-active-background-color:var(--utrecht-button-subtle-ready-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-subtle-ready-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-subtle-ready-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-subtle-ready-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-subtle-ready-border-color);--_utrecht-button-hint-color:var(--utrecht-button-subtle-ready-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-subtle-ready-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-subtle-ready-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-subtle-ready-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-subtle-ready-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-subtle-ready-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-subtle-ready-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-subtle-ready-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-subtle-ready-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-subtle-ready-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-subtle-ready-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-subtle-ready-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-subtle-ready-pressed-color)}.utrecht-button--subtle.utrecht-button--warning{--_utrecht-button-hint-active-background-color:var(--utrecht-button-subtle-warning-active-background-color);--_utrecht-button-hint-active-border-color:var(--utrecht-button-subtle-warning-active-border-color);--_utrecht-button-hint-active-color:var(--utrecht-button-subtle-warning-active-color);--_utrecht-button-hint-background-color:var(--utrecht-button-subtle-warning-background-color);--_utrecht-button-hint-border-color:var(--utrecht-button-subtle-warning-border-color);--_utrecht-button-hint-color:var(--utrecht-button-subtle-warning-color);--_utrecht-button-hint-disabled-background-color:var(\n --utrecht-button-subtle-warning-disabled-background-color\n );--_utrecht-button-hint-disabled-border-color:var(--utrecht-button-subtle-warning-disabled-border-color);--_utrecht-button-hint-disabled-color:var(--utrecht-button-subtle-warning-disabled-color);--_utrecht-button-hint-focus-background-color:var(--utrecht-button-subtle-warning-focus-background-color);--_utrecht-button-hint-focus-border-color:var(--utrecht-button-subtle-warning-focus-border-color);--_utrecht-button-hint-focus-color:var(--utrecht-button-subtle-warning-focus-color);--_utrecht-button-hint-hover-background-color:var(--utrecht-button-subtle-warning-hover-background-color);--_utrecht-button-hint-hover-border-color:var(--utrecht-button-subtle-warning-hover-border-color);--_utrecht-button-hint-hover-color:var(--utrecht-button-subtle-warning-hover-color);--_utrecht-button-hint-pressed-background-color:var(\n --utrecht-button-subtle-warning-pressed-background-color\n );--_utrecht-button-hint-pressed-border-color:var(--utrecht-button-subtle-warning-pressed-border-color);--_utrecht-button-hint-pressed-color:var(--utrecht-button-subtle-warning-pressed-color)}:host{display:inline-block}:host([hidden]){display:none !important}";
|
|
5
|
+
const UtrechtButtonStyle0 = buttonCss;
|
|
6
|
+
|
|
7
|
+
const Button = /*@__PURE__*/ proxyCustomElement(class Button extends H {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.utrechtRequestReset = createEvent(this, "utrechtRequestReset", 7);
|
|
13
|
+
this.utrechtRequestSubmit = createEvent(this, "utrechtRequestSubmit", 7);
|
|
14
|
+
this.appearance = undefined;
|
|
15
|
+
this.busy = undefined;
|
|
16
|
+
this.disabled = undefined;
|
|
17
|
+
this.expanded = undefined;
|
|
18
|
+
this.pressed = undefined;
|
|
19
|
+
this.form = undefined;
|
|
20
|
+
this.formAction = undefined;
|
|
21
|
+
this.formEnctype = undefined;
|
|
22
|
+
this.formMethod = undefined;
|
|
23
|
+
this.formNoValidate = undefined;
|
|
24
|
+
this.formTarget = undefined;
|
|
25
|
+
this.popoverTarget = undefined;
|
|
26
|
+
this.popoverTargetAction = undefined;
|
|
27
|
+
this.name = undefined;
|
|
28
|
+
this.value = undefined;
|
|
29
|
+
this.type = undefined;
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
const handleReset = () => {
|
|
33
|
+
var _a, _b;
|
|
34
|
+
const event = this.utrechtRequestReset.emit();
|
|
35
|
+
if (!event.defaultPrevented) {
|
|
36
|
+
(_b = (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.closest('form')) === null || _b === void 0 ? void 0 : _b.reset();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const handleSubmit = () => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
const event = this.utrechtRequestSubmit.emit();
|
|
42
|
+
if (!event.defaultPrevented) {
|
|
43
|
+
(_b = (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.closest('form')) === null || _b === void 0 ? void 0 : _b.requestSubmit();
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const handleClick = () => {
|
|
47
|
+
if (this.type === 'reset') {
|
|
48
|
+
handleReset();
|
|
49
|
+
}
|
|
50
|
+
else if (this.type === 'submit') {
|
|
51
|
+
handleSubmit();
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const button = this.hostElement.querySelector('button[hidden]');
|
|
55
|
+
if (button) {
|
|
56
|
+
button.click();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
const { hostElement, expanded, pressed, name, value, form, formAction, formEnctype, formTarget, formNoValidate, formMethod, popoverTargetAction, popoverTarget, type, } = this;
|
|
61
|
+
let button = hostElement.querySelector('button[hidden]');
|
|
62
|
+
const needsButton = !!(name ||
|
|
63
|
+
form ||
|
|
64
|
+
formTarget ||
|
|
65
|
+
formEnctype ||
|
|
66
|
+
formMethod ||
|
|
67
|
+
formNoValidate ||
|
|
68
|
+
popoverTarget ||
|
|
69
|
+
popoverTargetAction ||
|
|
70
|
+
type === 'submit');
|
|
71
|
+
if (button && !needsButton) {
|
|
72
|
+
button.parentNode.removeChild(button);
|
|
73
|
+
}
|
|
74
|
+
if (!button && needsButton) {
|
|
75
|
+
button = hostElement.ownerDocument.createElement('button');
|
|
76
|
+
button.hidden = true;
|
|
77
|
+
button.tabIndex = -1;
|
|
78
|
+
button.ariaHidden = 'true';
|
|
79
|
+
hostElement.appendChild(button);
|
|
80
|
+
}
|
|
81
|
+
const setAttribute = (el, name, value) => {
|
|
82
|
+
if (typeof value === 'string') {
|
|
83
|
+
el.setAttribute(name, value);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
el.removeAttribute(name);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
if (button) {
|
|
90
|
+
setAttribute(button, 'name', name);
|
|
91
|
+
setAttribute(button, 'type', type);
|
|
92
|
+
setAttribute(button, 'form', form);
|
|
93
|
+
setAttribute(button, 'formaction', formAction);
|
|
94
|
+
setAttribute(button, 'form', form);
|
|
95
|
+
setAttribute(button, 'formtarget', formTarget);
|
|
96
|
+
setAttribute(button, 'formenctype', formEnctype);
|
|
97
|
+
setAttribute(button, 'formmethod', formMethod);
|
|
98
|
+
setAttribute(button, 'formnovalidate', formNoValidate ? '' : null);
|
|
99
|
+
setAttribute(button, 'popovertargetaction', popoverTargetAction);
|
|
100
|
+
setAttribute(button, 'popovertarget', popoverTarget);
|
|
101
|
+
setAttribute(button, 'type', type);
|
|
102
|
+
button.style.display = 'none';
|
|
103
|
+
button.value = value || '';
|
|
104
|
+
}
|
|
105
|
+
return (h("button", { key: 'f9a03c6eb1802e4c95f586b904d81efab6192bc4', class: clsx('utrecht-button', this.busy && 'utrecht-button--busy', this.disabled && 'utrecht-button--disabled', pressed && 'utrecht-button--pressed', this.type === 'submit' && 'utrecht-button--submit', this.appearance === 'primary-action-button' && 'utrecht-button--primary-action', this.appearance === 'secondary-action-button' && 'utrecht-button--secondary-action', this.appearance === 'subtle-button' && 'utrecht-button--subtle'), "aria-busy": this.busy ? 'true' : null, "aria-expanded": typeof this.expanded === 'boolean' ? String(expanded) : typeof expanded === 'string' ? expanded : null, "aria-pressed": typeof this.pressed === 'boolean' ? String(pressed) : typeof pressed === 'string' ? pressed : null, disabled: this.disabled, type: this.type || 'button', onClick: handleClick }, h("slot", { key: '60bbb545abd7474e87801bce05c50be6b44b3b34', name: "icon" }), h("span", { key: 'd6d6ccb23d86b266b0885104a5355f7a89d0c727', class: "utrecht-button__label" }, h("slot", { key: '0940dbf409384db621f3d7bb895e7f3546da9a19' }))));
|
|
106
|
+
}
|
|
107
|
+
get hostElement() { return this; }
|
|
108
|
+
static get style() { return UtrechtButtonStyle0; }
|
|
109
|
+
}, [1, "utrecht-button", {
|
|
110
|
+
"appearance": [1],
|
|
111
|
+
"busy": [4],
|
|
112
|
+
"disabled": [4],
|
|
113
|
+
"expanded": [8],
|
|
114
|
+
"pressed": [8],
|
|
115
|
+
"form": [513, "readonly"],
|
|
116
|
+
"formAction": [513, "formaction"],
|
|
117
|
+
"formEnctype": [513, "formenctype"],
|
|
118
|
+
"formMethod": [513, "formmethod"],
|
|
119
|
+
"formNoValidate": [516, "formnovalidate"],
|
|
120
|
+
"formTarget": [513, "formtarget"],
|
|
121
|
+
"popoverTarget": [513, "popovertarget"],
|
|
122
|
+
"popoverTargetAction": [513, "popovertargetaction"],
|
|
123
|
+
"name": [1],
|
|
124
|
+
"value": [1],
|
|
125
|
+
"type": [1]
|
|
126
|
+
}]);
|
|
127
|
+
function defineCustomElement() {
|
|
128
|
+
if (typeof customElements === "undefined") {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
const components = ["utrecht-button"];
|
|
132
|
+
components.forEach(tagName => { switch (tagName) {
|
|
133
|
+
case "utrecht-button":
|
|
134
|
+
if (!customElements.get(tagName)) {
|
|
135
|
+
customElements.define(tagName, Button);
|
|
136
|
+
}
|
|
137
|
+
break;
|
|
138
|
+
} });
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export { Button as B, defineCustomElement as d };
|
|
142
|
+
|
|
143
|
+
//# sourceMappingURL=p-145331fd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-145331fd.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,m7kCAAm7kC,CAAC;AACt8kC,4BAAe,SAAS;;MCOX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;IAqBjB,MAAM;QACJ,MAAM,WAAW,GAAG;;YAClB,MAAM,KAAK,GAAG,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;YAC9C,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;gBAC3B,MAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,OAAO,CAAC,MAAM,CAAC,0CAAE,KAAK,EAAE,CAAC;aAC5C;SACF,CAAC;QAEF,MAAM,YAAY,GAAG;;YACnB,MAAM,KAAK,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;YAC/C,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;gBAC3B,MAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,OAAO,CAAC,MAAM,CAAC,0CAAE,aAAa,EAAE,CAAC;aACpD;SACF,CAAC;QAEF,MAAM,WAAW,GAAG;YAClB,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE;gBACzB,WAAW,EAAE,CAAC;aACf;iBAAM,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAE;gBACjC,YAAY,EAAE,CAAC;aAChB;iBAAM;gBACL,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,gBAAgB,CAA6B,CAAC;gBAC5F,IAAI,MAAM,EAAE;oBACV,MAAM,CAAC,KAAK,EAAE,CAAC;iBAChB;aACF;SACF,CAAC;QAEF,MAAM,EACJ,WAAW,EACX,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,IAAI,GACL,GAAG,IAAI,CAAC;QAET,IAAI,MAAM,GAAG,WAAW,CAAC,aAAa,CAAC,gBAAgB,CAA6B,CAAC;QAErF,MAAM,WAAW,GAAG,CAAC,EACnB,IAAI;YACJ,IAAI;YACJ,UAAU;YACV,WAAW;YACX,UAAU;YACV,cAAc;YACd,aAAa;YACb,mBAAmB;YACnB,IAAI,KAAK,QAAQ,CAClB,CAAC;QACF,IAAI,MAAM,IAAI,CAAC,WAAW,EAAE;YAC1B,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;SACvC;QAED,IAAI,CAAC,MAAM,IAAI,WAAW,EAAE;YAC1B,MAAM,GAAG,WAAW,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAC3D,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC;YACrB,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;YACrB,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;YAC3B,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;SACjC;QAED,MAAM,YAAY,GAAG,CAAC,EAAe,EAAE,IAAY,EAAE,KAAqB;YACxE,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;gBAC7B,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;aAC9B;iBAAM;gBACL,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;aAC1B;SACF,CAAC;QAEF,IAAI,MAAM,EAAE;YACV,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YACnC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YACnC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YACnC,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;YAC/C,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YACnC,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;YAC/C,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;YACjD,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;YAC/C,YAAY,CAAC,MAAM,EAAE,gBAAgB,EAAE,cAAc,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;YACnE,YAAY,CAAC,MAAM,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;YACjE,YAAY,CAAC,MAAM,EAAE,eAAe,EAAE,aAAa,CAAC,CAAC;YACrD,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YACnC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;YAC9B,MAAM,CAAC,KAAK,GAAG,KAAK,IAAI,EAAE,CAAC;SAC5B;QAED,QACE,+DACE,KAAK,EAAE,IAAI,CACT,gBAAgB,EAChB,IAAI,CAAC,IAAI,IAAI,sBAAsB,EACnC,IAAI,CAAC,QAAQ,IAAI,0BAA0B,EAC3C,OAAO,IAAI,yBAAyB,EACpC,IAAI,CAAC,IAAI,KAAK,QAAQ,IAAI,wBAAwB,EAClD,IAAI,CAAC,UAAU,KAAK,uBAAuB,IAAI,gCAAgC,EAC/E,IAAI,CAAC,UAAU,KAAK,yBAAyB,IAAI,kCAAkC,EACnF,IAAI,CAAC,UAAU,KAAK,eAAe,IAAI,wBAAwB,CAChE,eACU,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,IAAI,mBAElC,OAAO,IAAI,CAAC,QAAQ,KAAK,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,QAAQ,KAAK,QAAQ,GAAG,QAAQ,GAAG,IAAI,kBAGtG,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,IAAI,EAEpG,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,QAAQ,EAC3B,OAAO,EAAE,WAAW,IAEpB,6DAAM,IAAI,EAAC,MAAM,GAAQ,EACzB,6DAAM,KAAK,EAAC,uBAAuB,IACjC,8DAAa,CACR,CACA,EACT;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/button.scss?tag=utrecht-button&encapsulation=shadow","src/components/button.tsx"],"sourcesContent":["/**\n * @license EUPL-1.2\n * Copyright (c) 2020-2024 Frameless B.V.\n * Copyright (c) 2021-2024 Gemeente Utrecht\n */\n\n@use \"~@utrecht/button-css/src\" as *;\n\n:host {\n display: inline-block;\n}\n\n:host([hidden]) {\n display: none !important;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport clsx from 'clsx';\n\n@Component({\n tag: 'utrecht-button',\n styleUrl: 'button.scss',\n shadow: true,\n})\nexport class Button {\n @Prop() appearance: string;\n @Prop() busy: boolean;\n @Prop() disabled: boolean;\n @Prop() expanded: boolean | string | 'false' | 'true';\n @Prop() pressed: boolean | string | 'false' | 'true';\n @Prop({ attribute: 'readonly', reflect: true }) form: string;\n @Prop({ attribute: 'formaction', reflect: true }) formAction: string;\n @Prop({ attribute: 'formenctype', reflect: true }) formEnctype: string;\n @Prop({ attribute: 'formmethod', reflect: true }) formMethod: string;\n @Prop({ attribute: 'formnovalidate', reflect: true }) formNoValidate: boolean;\n @Prop({ attribute: 'formtarget', reflect: true }) formTarget: string;\n @Prop({ attribute: 'popovertarget', reflect: true }) popoverTarget: string;\n @Prop({ attribute: 'popovertargetaction', reflect: true }) popoverTargetAction: string;\n @Prop() name: string;\n @Prop() value: string;\n @Event({ cancelable: true }) utrechtRequestReset: EventEmitter;\n @Event({ cancelable: true }) utrechtRequestSubmit: EventEmitter;\n @Element() hostElement: HTMLElement;\n @Prop() type: string;\n\n render() {\n const handleReset = () => {\n const event = this.utrechtRequestReset.emit();\n if (!event.defaultPrevented) {\n this.hostElement?.closest('form')?.reset();\n }\n };\n\n const handleSubmit = () => {\n const event = this.utrechtRequestSubmit.emit();\n if (!event.defaultPrevented) {\n this.hostElement?.closest('form')?.requestSubmit();\n }\n };\n\n const handleClick = () => {\n if (this.type === 'reset') {\n handleReset();\n } else if (this.type === 'submit') {\n handleSubmit();\n } else {\n const button = this.hostElement.querySelector('button[hidden]') as HTMLButtonElement | null;\n if (button) {\n button.click();\n }\n }\n };\n\n const {\n hostElement,\n expanded,\n pressed,\n name,\n value,\n form,\n formAction,\n formEnctype,\n formTarget,\n formNoValidate,\n formMethod,\n popoverTargetAction,\n popoverTarget,\n type,\n } = this;\n\n let button = hostElement.querySelector('button[hidden]') as HTMLButtonElement | null;\n\n const needsButton = !!(\n name ||\n form ||\n formTarget ||\n formEnctype ||\n formMethod ||\n formNoValidate ||\n popoverTarget ||\n popoverTargetAction ||\n type === 'submit'\n );\n if (button && !needsButton) {\n button.parentNode.removeChild(button);\n }\n\n if (!button && needsButton) {\n button = hostElement.ownerDocument.createElement('button');\n button.hidden = true;\n button.tabIndex = -1;\n button.ariaHidden = 'true';\n hostElement.appendChild(button);\n }\n\n const setAttribute = (el: HTMLElement, name: string, value?: string | null) => {\n if (typeof value === 'string') {\n el.setAttribute(name, value);\n } else {\n el.removeAttribute(name);\n }\n };\n\n if (button) {\n setAttribute(button, 'name', name);\n setAttribute(button, 'type', type);\n setAttribute(button, 'form', form);\n setAttribute(button, 'formaction', formAction);\n setAttribute(button, 'form', form);\n setAttribute(button, 'formtarget', formTarget);\n setAttribute(button, 'formenctype', formEnctype);\n setAttribute(button, 'formmethod', formMethod);\n setAttribute(button, 'formnovalidate', formNoValidate ? '' : null);\n setAttribute(button, 'popovertargetaction', popoverTargetAction);\n setAttribute(button, 'popovertarget', popoverTarget);\n setAttribute(button, 'type', type);\n button.style.display = 'none';\n button.value = value || '';\n }\n\n return (\n <button\n class={clsx(\n 'utrecht-button',\n this.busy && 'utrecht-button--busy',\n this.disabled && 'utrecht-button--disabled',\n pressed && 'utrecht-button--pressed',\n this.type === 'submit' && 'utrecht-button--submit',\n this.appearance === 'primary-action-button' && 'utrecht-button--primary-action',\n this.appearance === 'secondary-action-button' && 'utrecht-button--secondary-action',\n this.appearance === 'subtle-button' && 'utrecht-button--subtle',\n )}\n aria-busy={this.busy ? 'true' : null}\n aria-expanded={\n typeof this.expanded === 'boolean' ? String(expanded) : typeof expanded === 'string' ? expanded : null\n }\n aria-pressed={\n typeof this.pressed === 'boolean' ? String(pressed) : typeof pressed === 'string' ? pressed : null\n }\n disabled={this.disabled}\n type={this.type || 'button'}\n onClick={handleClick}\n >\n <slot name=\"icon\"></slot>\n <span class=\"utrecht-button__label\">\n <slot></slot>\n </span>\n </button>\n );\n }\n}\n"],"version":3}
|