@gov-design-system-ce/components 4.1.1 → 4.1.2
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/core.cjs.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +9 -6
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/{gov-flex_4.cjs.entry.js → gov-flex_3.cjs.entry.js} +11 -28
- package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
- package/dist/cjs/gov-form-label.cjs.entry.js +27 -0
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +2 -1
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
- package/dist/cjs/index-7ff4447c.js +6 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +2 -7
- package/dist/collection/components/gov-card/constants.js +7 -4
- package/dist/collection/components/gov-card/constants.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +16 -10
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +2 -2
- package/dist/collection/components/gov-container/gov-container.js +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
- package/dist/collection/components/gov-flex/constants.js +2 -0
- package/dist/collection/components/gov-flex/constants.js.map +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js +33 -9
- package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +3 -8
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
- package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
- package/dist/collection/components/gov-link/gov-link.js +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +20 -1
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +0 -2
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +32 -9
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/pages/Card.js +22 -37
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Flex.js +62 -0
- package/dist/collection/pages/Flex.js.map +1 -0
- package/dist/collection/pages/Forms.js +5 -5
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Tag.js +30 -23
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-flex.js +1 -1
- package/dist/components/gov-flex.js.map +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox-group.js +1 -1
- package/dist/components/gov-form-checkbox-group.js.map +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-label.js.map +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-radio-group.js +1 -1
- package/dist/components/gov-form-radio-group.js.map +1 -1
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-link.js.map +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tag.js.map +1 -1
- package/dist/components/gov-theme-switch.js +1 -1
- package/dist/components/gov-theme-switch.js.map +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-46c567fd.js → p-18ab0d24.js} +2 -2
- package/dist/components/p-28776006.js +2 -0
- package/dist/components/{p-b95ebe8c.js.map → p-28776006.js.map} +1 -1
- package/dist/components/p-40c2fb42.js +2 -0
- package/dist/components/{p-1eb9c053.js.map → p-40c2fb42.js.map} +1 -1
- package/dist/components/{p-283b66c3.js → p-48c4d5c8.js} +2 -2
- package/dist/components/{p-318d89bd.js → p-b25af2cf.js} +2 -2
- package/dist/components/{p-ac359044.js → p-b97d8edd.js} +2 -2
- package/dist/components/p-c438a723.js +2 -0
- package/dist/components/{p-a6be4769.js → p-ce90ff14.js} +2 -2
- package/dist/components/p-d962bf44.js +2 -0
- package/dist/core/core.css +438 -273
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-c916d0d2.entry.js → p-0dac0792.entry.js} +2 -2
- package/dist/core/{p-b7cfe254.entry.js → p-12d1e5bc.entry.js} +2 -2
- package/dist/core/p-182d03c1.entry.js +2 -0
- package/dist/core/p-2496f2a5.entry.js +2 -0
- package/dist/core/{p-e61aa53b.entry.js.map → p-2496f2a5.entry.js.map} +1 -1
- package/dist/core/p-29d16111.entry.js +2 -0
- package/dist/core/{p-019e967c.entry.js.map → p-29d16111.entry.js.map} +1 -1
- package/dist/core/p-2b51b8e8.entry.js +2 -0
- package/dist/core/p-2b51b8e8.entry.js.map +1 -0
- package/dist/core/p-2bde147f.entry.js +2 -0
- package/dist/core/{p-bdc51179.entry.js.map → p-2bde147f.entry.js.map} +1 -1
- package/dist/core/{p-ed833334.entry.js → p-2e21a994.entry.js} +2 -2
- package/dist/core/p-3df6c6cd.entry.js +2 -0
- package/dist/core/p-436e7690.entry.js +2 -0
- package/dist/core/p-467f778b.entry.js +2 -0
- package/dist/core/p-4d81039c.entry.js +2 -0
- package/dist/core/p-520ac994.entry.js +2 -0
- package/dist/core/p-53fa7648.entry.js +2 -0
- package/dist/core/{p-5c9e6275.entry.js.map → p-53fa7648.entry.js.map} +1 -1
- package/dist/core/{p-0fdd8929.entry.js → p-581c8075.entry.js} +2 -2
- package/dist/core/{p-d836fcde.entry.js → p-5a92b9d9.entry.js} +2 -2
- package/dist/core/{p-8506b611.js → p-5fbde4f9.js} +2 -2
- package/dist/core/{p-9fe35463.entry.js → p-605e72b1.entry.js} +2 -2
- package/dist/core/{p-3cb36bae.entry.js → p-64dc1cdb.entry.js} +2 -2
- package/dist/core/{p-7e04730a.entry.js → p-6603e3df.entry.js} +2 -2
- package/dist/core/p-6f260a90.entry.js +2 -0
- package/dist/core/{p-c054f955.entry.js.map → p-6f260a90.entry.js.map} +1 -1
- package/dist/core/{p-bcb45a18.entry.js → p-71dc8171.entry.js} +2 -2
- package/dist/core/p-87562d9e.entry.js +2 -0
- package/dist/core/{p-6bb37fe2.entry.js.map → p-87562d9e.entry.js.map} +1 -1
- package/dist/core/p-88b69d30.entry.js +2 -0
- package/dist/core/{p-bc966c46.entry.js.map → p-88b69d30.entry.js.map} +1 -1
- package/dist/core/{p-ed8fc183.entry.js → p-8ece244d.entry.js} +2 -2
- package/dist/core/{p-561718cd.entry.js → p-913331e8.entry.js} +2 -2
- package/dist/core/p-979b03eb.entry.js +2 -0
- package/dist/core/{p-da7f1e11.entry.js.map → p-979b03eb.entry.js.map} +1 -1
- package/dist/core/{p-97a9725d.entry.js → p-97c65665.entry.js} +2 -2
- package/dist/core/p-97e8b4b3.entry.js +2 -0
- package/dist/core/{p-439b66a5.entry.js.map → p-97e8b4b3.entry.js.map} +1 -1
- package/dist/core/{p-d65cef62.entry.js → p-abefa59b.entry.js} +2 -2
- package/dist/core/{p-72130a8f.entry.js → p-aeab9c1a.entry.js} +2 -2
- package/dist/core/{p-ccec8019.entry.js → p-af9fe91a.entry.js} +2 -2
- package/dist/core/p-b0d1073c.entry.js +2 -0
- package/dist/core/{p-b923a8d9.entry.js.map → p-b0d1073c.entry.js.map} +1 -1
- package/dist/core/p-b245d627.entry.js +2 -0
- package/dist/core/{p-56dc370d.entry.js.map → p-b245d627.entry.js.map} +1 -1
- package/dist/core/p-b2abc2fc.entry.js +2 -0
- package/dist/core/{p-3d6edb09.entry.js.map → p-b2abc2fc.entry.js.map} +1 -1
- package/dist/core/{p-0be19b89.entry.js → p-b4cf97ab.entry.js} +2 -2
- package/dist/core/p-b766810e.entry.js +2 -0
- package/dist/core/p-b766810e.entry.js.map +1 -0
- package/dist/core/p-bc0ed2c1.entry.js +2 -0
- package/dist/core/{p-dea64896.entry.js → p-bf8529f8.entry.js} +2 -2
- package/dist/core/{p-1200a32d.entry.js → p-cd988543.entry.js} +2 -2
- package/dist/core/p-d2b11492.entry.js +2 -0
- package/dist/core/{p-41c6b262.entry.js.map → p-d2b11492.entry.js.map} +1 -1
- package/dist/core/p-d3f7d3d5.entry.js +2 -0
- package/dist/core/p-d6e972c0.entry.js +2 -0
- package/dist/core/p-d952e56f.entry.js +2 -0
- package/dist/core/p-eaa83b2f.entry.js +2 -0
- package/dist/core/p-ebc318d7.entry.js +2 -0
- package/dist/core/p-ebeb1a03.entry.js +2 -0
- package/dist/core/{p-04fa0ab5.entry.js.map → p-ebeb1a03.entry.js.map} +1 -1
- package/dist/core/{p-432c3875.entry.js → p-ee0f3bd9.entry.js} +2 -2
- package/dist/core/p-ee7af1ab.entry.js +2 -0
- package/dist/core/{p-2739fa61.entry.js.map → p-ee7af1ab.entry.js.map} +1 -1
- package/dist/core/{p-f7a4da9d.entry.js → p-eeee2325.entry.js} +2 -2
- package/dist/core/p-f83b9da5.entry.js +2 -0
- package/dist/core/{p-4c5f6299.entry.js.map → p-f83b9da5.entry.js.map} +1 -1
- package/dist/core/p-fa161f10.entry.js +2 -0
- package/dist/core/{p-e834ee73.entry.js → p-fa5b72de.entry.js} +2 -2
- package/dist/core/p-fb8c019a.entry.js +2 -0
- package/dist/core/p-fb8c019a.entry.js.map +1 -0
- package/dist/core/p-ff609d0e.entry.js +2 -0
- package/dist/esm/core.js +3 -3
- package/dist/esm/gov-accordion-item.entry.js +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +3 -3
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +1 -1
- package/dist/esm/gov-button.entry.js +1 -1
- package/dist/esm/gov-card.entry.js +10 -7
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +3 -3
- package/dist/esm/gov-container.entry.js +2 -2
- package/dist/esm/gov-control-group.entry.js +2 -2
- package/dist/esm/gov-cookiebar.entry.js +2 -2
- package/dist/esm/gov-dialog.entry.js +2 -2
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +2 -2
- package/dist/esm/gov-error-code.entry.js +2 -2
- package/dist/esm/{gov-flex_4.entry.js → gov-flex_3.entry.js} +13 -29
- package/dist/esm/gov-flex_3.entry.js.map +1 -0
- package/dist/esm/gov-form-autocomplete.entry.js +2 -2
- package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +1 -1
- package/dist/esm/gov-form-control.entry.js +2 -2
- package/dist/esm/gov-form-file.entry.js +2 -2
- package/dist/esm/gov-form-group.entry.js +2 -2
- package/dist/esm/gov-form-input_2.entry.js +7 -7
- package/dist/esm/gov-form-label.entry.js +23 -0
- package/dist/esm/gov-form-label.entry.js.map +1 -0
- package/dist/esm/gov-form-multi-select.entry.js +3 -3
- package/dist/esm/gov-form-password-power.entry.js +2 -2
- package/dist/esm/gov-form-radio-group.entry.js +3 -3
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +1 -1
- package/dist/esm/gov-form-search.entry.js +2 -2
- package/dist/esm/gov-form-select.entry.js +3 -3
- package/dist/esm/gov-form-switch.entry.js +1 -1
- package/dist/esm/gov-grid-item.entry.js +2 -2
- package/dist/esm/gov-grid.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +3 -3
- package/dist/esm/gov-layout-column.entry.js +2 -2
- package/dist/esm/gov-layout.entry.js +2 -2
- package/dist/esm/gov-lifecycle.entry.js +2 -2
- package/dist/esm/gov-link.entry.js +2 -2
- package/dist/esm/gov-loading.entry.js +2 -2
- package/dist/esm/gov-message.entry.js +2 -2
- package/dist/esm/gov-pagination.entry.js +1 -1
- package/dist/esm/gov-spacer.entry.js +2 -2
- package/dist/esm/gov-stepper-item.entry.js +2 -2
- package/dist/esm/gov-stepper.entry.js +2 -2
- package/dist/esm/gov-tabs-item.entry.js +2 -2
- package/dist/esm/gov-tabs.entry.js +2 -2
- package/dist/esm/gov-tag.entry.js +3 -2
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +2 -2
- package/dist/esm/gov-tiles.entry.js +2 -2
- package/dist/esm/gov-toast.entry.js +2 -2
- package/dist/esm/gov-tooltip-content.entry.js +2 -2
- package/dist/esm/gov-tooltip.entry.js +3 -3
- package/dist/esm/gov-wizard-item.entry.js +3 -3
- package/dist/esm/gov-wizard.entry.js +2 -2
- package/dist/esm/{index-c263e031.js → index-8dc58a1a.js} +8 -4
- package/dist/esm/{index-c263e031.js.map → index-8dc58a1a.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/hydrate/index.js +83 -76
- package/dist/hydrate/index.mjs +83 -76
- package/dist/types/components/gov-card/constants.d.ts +8 -4
- package/dist/types/components/gov-card/gov-card.d.ts +3 -2
- package/dist/types/components/gov-flex/constants.d.ts +4 -0
- package/dist/types/components/gov-flex/gov-flex.d.ts +9 -7
- package/dist/types/components/gov-tag/gov-tag.d.ts +4 -0
- package/dist/types/components/gov-theme-switch/constants.d.ts +0 -2
- package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +8 -4
- package/dist/types/components.d.ts +50 -22
- package/dist/types/pages/Flex.d.ts +3 -0
- package/package.json +1 -1
- package/dist/cjs/gov-flex_4.cjs.entry.js.map +0 -1
- package/dist/components/p-1eb9c053.js +0 -2
- package/dist/components/p-3d7a21b5.js +0 -2
- package/dist/components/p-68a1aaec.js +0 -2
- package/dist/components/p-68a1aaec.js.map +0 -1
- package/dist/components/p-a6b7a6c2.js +0 -2
- package/dist/components/p-b95ebe8c.js +0 -2
- package/dist/core/p-00d153bf.entry.js +0 -2
- package/dist/core/p-019e967c.entry.js +0 -2
- package/dist/core/p-04fa0ab5.entry.js +0 -2
- package/dist/core/p-22fa411d.entry.js +0 -2
- package/dist/core/p-2739fa61.entry.js +0 -2
- package/dist/core/p-30eaeeec.entry.js +0 -2
- package/dist/core/p-3d6edb09.entry.js +0 -2
- package/dist/core/p-3f6a2d20.entry.js +0 -2
- package/dist/core/p-3f6a2d20.entry.js.map +0 -1
- package/dist/core/p-41c6b262.entry.js +0 -2
- package/dist/core/p-439b66a5.entry.js +0 -2
- package/dist/core/p-4b90fbc4.entry.js +0 -2
- package/dist/core/p-4c5f6299.entry.js +0 -2
- package/dist/core/p-535316b4.entry.js +0 -2
- package/dist/core/p-5396935e.entry.js +0 -2
- package/dist/core/p-56dc370d.entry.js +0 -2
- package/dist/core/p-5b2131c1.entry.js +0 -2
- package/dist/core/p-5c9e6275.entry.js +0 -2
- package/dist/core/p-65e67731.entry.js +0 -2
- package/dist/core/p-6bb37fe2.entry.js +0 -2
- package/dist/core/p-6e457b3d.entry.js +0 -2
- package/dist/core/p-7b7e502b.entry.js +0 -2
- package/dist/core/p-9c2c5447.entry.js +0 -2
- package/dist/core/p-9c2c5447.entry.js.map +0 -1
- package/dist/core/p-b923a8d9.entry.js +0 -2
- package/dist/core/p-bc966c46.entry.js +0 -2
- package/dist/core/p-bdc51179.entry.js +0 -2
- package/dist/core/p-c054f955.entry.js +0 -2
- package/dist/core/p-cd2d335d.entry.js +0 -2
- package/dist/core/p-da7f1e11.entry.js +0 -2
- package/dist/core/p-e61aa53b.entry.js +0 -2
- package/dist/core/p-ea44d447.entry.js +0 -2
- package/dist/core/p-f4bcf817.entry.js +0 -2
- package/dist/core/p-f4dac942.entry.js +0 -2
- package/dist/esm/gov-flex_4.entry.js.map +0 -1
- /package/dist/components/{p-46c567fd.js.map → p-18ab0d24.js.map} +0 -0
- /package/dist/components/{p-283b66c3.js.map → p-48c4d5c8.js.map} +0 -0
- /package/dist/components/{p-318d89bd.js.map → p-b25af2cf.js.map} +0 -0
- /package/dist/components/{p-ac359044.js.map → p-b97d8edd.js.map} +0 -0
- /package/dist/components/{p-a6b7a6c2.js.map → p-c438a723.js.map} +0 -0
- /package/dist/components/{p-a6be4769.js.map → p-ce90ff14.js.map} +0 -0
- /package/dist/components/{p-3d7a21b5.js.map → p-d962bf44.js.map} +0 -0
- /package/dist/core/{p-c916d0d2.entry.js.map → p-0dac0792.entry.js.map} +0 -0
- /package/dist/core/{p-b7cfe254.entry.js.map → p-12d1e5bc.entry.js.map} +0 -0
- /package/dist/core/{p-22fa411d.entry.js.map → p-182d03c1.entry.js.map} +0 -0
- /package/dist/core/{p-ed833334.entry.js.map → p-2e21a994.entry.js.map} +0 -0
- /package/dist/core/{p-30eaeeec.entry.js.map → p-3df6c6cd.entry.js.map} +0 -0
- /package/dist/core/{p-5396935e.entry.js.map → p-436e7690.entry.js.map} +0 -0
- /package/dist/core/{p-6e457b3d.entry.js.map → p-467f778b.entry.js.map} +0 -0
- /package/dist/core/{p-7b7e502b.entry.js.map → p-4d81039c.entry.js.map} +0 -0
- /package/dist/core/{p-cd2d335d.entry.js.map → p-520ac994.entry.js.map} +0 -0
- /package/dist/core/{p-0fdd8929.entry.js.map → p-581c8075.entry.js.map} +0 -0
- /package/dist/core/{p-d836fcde.entry.js.map → p-5a92b9d9.entry.js.map} +0 -0
- /package/dist/core/{p-8506b611.js.map → p-5fbde4f9.js.map} +0 -0
- /package/dist/core/{p-9fe35463.entry.js.map → p-605e72b1.entry.js.map} +0 -0
- /package/dist/core/{p-3cb36bae.entry.js.map → p-64dc1cdb.entry.js.map} +0 -0
- /package/dist/core/{p-7e04730a.entry.js.map → p-6603e3df.entry.js.map} +0 -0
- /package/dist/core/{p-bcb45a18.entry.js.map → p-71dc8171.entry.js.map} +0 -0
- /package/dist/core/{p-ed8fc183.entry.js.map → p-8ece244d.entry.js.map} +0 -0
- /package/dist/core/{p-561718cd.entry.js.map → p-913331e8.entry.js.map} +0 -0
- /package/dist/core/{p-97a9725d.entry.js.map → p-97c65665.entry.js.map} +0 -0
- /package/dist/core/{p-d65cef62.entry.js.map → p-abefa59b.entry.js.map} +0 -0
- /package/dist/core/{p-72130a8f.entry.js.map → p-aeab9c1a.entry.js.map} +0 -0
- /package/dist/core/{p-ccec8019.entry.js.map → p-af9fe91a.entry.js.map} +0 -0
- /package/dist/core/{p-0be19b89.entry.js.map → p-b4cf97ab.entry.js.map} +0 -0
- /package/dist/core/{p-5b2131c1.entry.js.map → p-bc0ed2c1.entry.js.map} +0 -0
- /package/dist/core/{p-dea64896.entry.js.map → p-bf8529f8.entry.js.map} +0 -0
- /package/dist/core/{p-1200a32d.entry.js.map → p-cd988543.entry.js.map} +0 -0
- /package/dist/core/{p-f4dac942.entry.js.map → p-d3f7d3d5.entry.js.map} +0 -0
- /package/dist/core/{p-00d153bf.entry.js.map → p-d6e972c0.entry.js.map} +0 -0
- /package/dist/core/{p-4b90fbc4.entry.js.map → p-d952e56f.entry.js.map} +0 -0
- /package/dist/core/{p-65e67731.entry.js.map → p-eaa83b2f.entry.js.map} +0 -0
- /package/dist/core/{p-ea44d447.entry.js.map → p-ebc318d7.entry.js.map} +0 -0
- /package/dist/core/{p-432c3875.entry.js.map → p-ee0f3bd9.entry.js.map} +0 -0
- /package/dist/core/{p-f7a4da9d.entry.js.map → p-eeee2325.entry.js.map} +0 -0
- /package/dist/core/{p-535316b4.entry.js.map → p-fa161f10.entry.js.map} +0 -0
- /package/dist/core/{p-e834ee73.entry.js.map → p-fa5b72de.entry.js.map} +0 -0
- /package/dist/core/{p-f4bcf817.entry.js.map → p-ff609d0e.entry.js.map} +0 -0
package/dist/hydrate/index.js
CHANGED
|
@@ -2779,7 +2779,7 @@ class GovAttachments {
|
|
|
2779
2779
|
}; }
|
|
2780
2780
|
}
|
|
2781
2781
|
|
|
2782
|
-
const govAttachmentsItemCss = "
|
|
2782
|
+
const govAttachmentsItemCss = "gov-attachments-item,.gov-attachments-item{position:relative;display:flex;width:100%;gap:var(--spacing-s)}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s)}gov-attachments-item__name,.gov-attachments-item__name{display:flex;gap:var(--spacing-s);flex-wrap:wrap;align-items:center;margin:0;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span,.gov-attachments-item__name span{font-size:var(--font-size-xs);line-height:var(--height-line-xs);letter-spacing:0.0125rem;font-weight:400;color:var(--decor-color, var(--text-secondary))}";
|
|
2783
2783
|
var GovAttachmentsItemStyle0 = govAttachmentsItemCss;
|
|
2784
2784
|
|
|
2785
2785
|
class GovAttachmentsItem {
|
|
@@ -3160,17 +3160,20 @@ class GovButton {
|
|
|
3160
3160
|
}; }
|
|
3161
3161
|
}
|
|
3162
3162
|
|
|
3163
|
+
var CardDirection;
|
|
3164
|
+
(function (CardDirection) {
|
|
3165
|
+
CardDirection["HORIZONTAL"] = "horizontal";
|
|
3166
|
+
CardDirection["VERTICAL"] = "vertical";
|
|
3167
|
+
})(CardDirection || (CardDirection = {}));
|
|
3163
3168
|
const CardClass = {
|
|
3164
3169
|
root: 'gov-card',
|
|
3165
3170
|
header: 'gov-card__header',
|
|
3166
|
-
|
|
3171
|
+
arrow: 'gov-card__arrow',
|
|
3167
3172
|
inner: 'gov-card__inner',
|
|
3168
3173
|
img: 'gov-card__img',
|
|
3169
|
-
main: 'gov-card__main',
|
|
3170
3174
|
icon: 'gov-card__icon',
|
|
3171
|
-
|
|
3175
|
+
content: 'gov-card__content',
|
|
3172
3176
|
footer: 'gov-card__footer',
|
|
3173
|
-
arrow: 'gov-card__arrow',
|
|
3174
3177
|
};
|
|
3175
3178
|
|
|
3176
3179
|
class GovCard {
|
|
@@ -3178,7 +3181,7 @@ class GovCard {
|
|
|
3178
3181
|
registerInstance(this, hostRef);
|
|
3179
3182
|
this.govToggle = createEvent(this, "gov-toggle", 7);
|
|
3180
3183
|
this.hydrated = false;
|
|
3181
|
-
this.
|
|
3184
|
+
this.direction = "vertical";
|
|
3182
3185
|
this.collapsible = false;
|
|
3183
3186
|
this.open = true;
|
|
3184
3187
|
this.accessibleTriggerLabel = undefined;
|
|
@@ -3197,7 +3200,7 @@ class GovCard {
|
|
|
3197
3200
|
this.hydrated = true;
|
|
3198
3201
|
}
|
|
3199
3202
|
render() {
|
|
3200
|
-
return (hAsync(Host, { key: '
|
|
3203
|
+
return (hAsync(Host, { key: '16ef4ffbb0a84bb231008f4f52a4ffe1f2f809d8', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), direction: this.direction, hydrated: this.hydrated }, this.collapsible ? (hAsync("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, hAsync("slot", { name: "headline" }), hAsync("gov-icon", { class: CardClass.arrow, name: "chevron-down", type: "components" }))) : this.h.hasSlot("headline") ? (hAsync("div", { class: CardClass.header }, hAsync("slot", { name: "headline" }))) : null, hAsync("div", { key: '749f6e4b624f4cdda53d2e3433b451d56c742667', class: CardClass.inner, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined }, this.h.hasSlot('img') && (hAsync("div", { key: 'f4b953ddf9b4f59bc111b512bb3de3510b28af7f', class: CardClass.img }, hAsync("slot", { key: '2867a29e49e67aff041ac0705527c5f76f4a019e', name: "img" }))), this.h.hasSlot('icon') && (hAsync("div", { key: '8c8e55d3faff7cfbd6abe698cd8801f7fc41dbad', class: CardClass.icon }, hAsync("slot", { key: '4d9eaeb0b3af65e4bf5de75090f9346942069e86', name: "icon" }))), hAsync("div", { key: '77a9a065fb2803b5f39f1b5716d9810c04b6971b', class: CardClass.content }, hAsync("slot", { key: 'acec7d3d4b6ac5533e5df218fe38e26147c440d8' })), this.h.hasSlot('footer') && (hAsync("div", { key: '1e63a0811f487e18cbbef8b045651c0e5b745f37', class: CardClass.footer }, hAsync("slot", { key: '4bffc12bffb3e29527aad38b6edbe8c00527a843', name: "footer" }))))));
|
|
3201
3204
|
}
|
|
3202
3205
|
onClickHandler(e) {
|
|
3203
3206
|
e.stopPropagation();
|
|
@@ -3219,7 +3222,7 @@ class GovCard {
|
|
|
3219
3222
|
"$flags$": 4,
|
|
3220
3223
|
"$tagName$": "gov-card",
|
|
3221
3224
|
"$members$": {
|
|
3222
|
-
"
|
|
3225
|
+
"direction": [1],
|
|
3223
3226
|
"collapsible": [4],
|
|
3224
3227
|
"open": [1540],
|
|
3225
3228
|
"accessibleTriggerLabel": [1, "accessible-label"],
|
|
@@ -3317,11 +3320,11 @@ class GovChip {
|
|
|
3317
3320
|
const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
|
|
3318
3321
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
3319
3322
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
3320
|
-
return (hAsync(Host, { key: '
|
|
3323
|
+
return (hAsync(Host, { key: '35148b293a6ae608eb1c4e0db06bbfff8b9fdca7', class: this.h.classes([
|
|
3321
3324
|
ChipClass.root,
|
|
3322
3325
|
this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
|
|
3323
3326
|
this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
|
|
3324
|
-
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '
|
|
3327
|
+
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '01ba70f91c8be428f91ca4744d093e408dd5acbe', class: "element", href: this.href, target: this.target, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), tabindex: (this.h.hasSlot("left") || this.h.hasSlot("right") || this.disabled) && !this.focusable ? "-1" : "0", id: this.identifier || this.chipId, type: nativeType }, this.inheritedAttributes, { "aria-disabled": this.disabled }), hAsync("slot", { key: '28acde76889a8b529dae69b1e55f5f3db51b8e25', name: "left" }), hAsync("slot", { key: '1c8fc171656757933a0bb0568a335ee11c09ce6f', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'b2e91ec6724f3ad50433c10597c44f50826dfcfe', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '0a37763084f9a0b7269efe6cc6ebd71161890861' }), hAsync("slot", { key: '5b37c8b8350ed2ead0a85d81ed0ba22295b3679e', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '22dfae0ca565fddaa10e6179dc7d0ef38839764f', type: iconEnd.type, name: iconEnd.name })), hAsync("slot", { key: 'fe177d273f38e81cc9ffc686c62e05bd466c1fe8', name: "right" }))));
|
|
3325
3328
|
}
|
|
3326
3329
|
onClickHandler(e) {
|
|
3327
3330
|
e.stopPropagation();
|
|
@@ -3381,7 +3384,7 @@ class GovContainer {
|
|
|
3381
3384
|
this.h = govHost(this.host);
|
|
3382
3385
|
}
|
|
3383
3386
|
render() {
|
|
3384
|
-
return (hAsync(Host, { key: '
|
|
3387
|
+
return (hAsync(Host, { key: '0844c86e0eacd5f89bcfcad2b60e56da0097b506', class: this.h.classes(ContainerClass.root) }, hAsync("slot", { key: '5cd801a016968be5968a3598d3efa3b222953120' })));
|
|
3385
3388
|
}
|
|
3386
3389
|
get host() { return getElement(this); }
|
|
3387
3390
|
static get cmpMeta() { return {
|
|
@@ -3411,7 +3414,7 @@ class GovControlGroup {
|
|
|
3411
3414
|
validateProp(Colors, newValue, ControlGroupClass.root);
|
|
3412
3415
|
}
|
|
3413
3416
|
render() {
|
|
3414
|
-
return (hAsync(Host, { key: '
|
|
3417
|
+
return (hAsync(Host, { key: 'bee513bb064b3a276eaede7f93ed12b97edb7adb', class: this.h.classes(ControlGroupClass.root), color: this.color }, hAsync("slot", { key: 'adba55ccd38d432ae11fa4967996d8bcaf552427' })));
|
|
3415
3418
|
}
|
|
3416
3419
|
get host() { return getElement(this); }
|
|
3417
3420
|
static get watchers() { return {
|
|
@@ -3445,7 +3448,7 @@ class GovCookiebar {
|
|
|
3445
3448
|
this.h = govHost(this.host);
|
|
3446
3449
|
}
|
|
3447
3450
|
render() {
|
|
3448
|
-
return (hAsync(Host, { key: '
|
|
3451
|
+
return (hAsync(Host, { key: '311f0da16d86ab548e90e8f7be69d23d88a71ae4', class: this.h.classes(CookieConsentClass.root) }, hAsync("div", { key: 'f371e0bfa5ad8b2195aec2fd0c02f86fb81d58ff', class: CookieConsentClass.content }, hAsync("slot", { key: '96433ca7228d4bf61bfc6dc041bc519c83f56109', name: "headline" }), hAsync("slot", { key: '4fa8e397eba029f55329d0ca6d24044ae7c9a513' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (hAsync("div", { key: 'a1d5e5d03d8d89bceb65f45f75d7dc3d446d1b62', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (hAsync("div", { key: '4ee2b3b82b91bdfb3d87a7bc34e9b0d4e2fc4f33', class: CookieConsentClass.actionsPrimary }, hAsync("slot", { key: '7c0cbf9c5f334cffa4a4eb3f2af9a05bfc8af208', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (hAsync("div", { key: 'e40a9f403e994584f53df9e0d84e27aa08c849e2', class: CookieConsentClass.actionsSecondary }, hAsync("slot", { key: '5a2bc741413334a0f08bf2d17b94d1c51b5c3f69', name: "actions-secondary" })))))));
|
|
3449
3452
|
}
|
|
3450
3453
|
get host() { return getElement(this); }
|
|
3451
3454
|
static get cmpMeta() { return {
|
|
@@ -3518,7 +3521,7 @@ class GovDialog {
|
|
|
3518
3521
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
3519
3522
|
}
|
|
3520
3523
|
render() {
|
|
3521
|
-
return (hAsync(Host, { key: '
|
|
3524
|
+
return (hAsync(Host, { key: 'c3b65521da7837b81972262ecf614d3c12f14bb3', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, hAsync("dialog", { key: '98b6d6db6fc9bd35760c03586548cc8a2470752a', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, hAsync("div", { key: 'a8517c656ef3d3e3cf17bc9914e268a20b0e0e4b', class: DialogClass.inner }, hAsync("div", { key: '3ba16e3bafe7936f0c0a999d45d5efdd64291ec3', class: DialogClass.header }, hAsync("slot", { key: '736a0a11d601e9f522e69369ffa0f276c9673803', name: "icon" }), this.h.hasSlot('title') && (hAsync("span", { key: '5505a53174c82c1faf73ed500c5672f2dc8ea83b', class: DialogClass.title, id: this.labelId }, hAsync("slot", { key: '391dd6236c23c14e62c8c97a94c5733409939c32', name: "title" }))), hAsync("gov-button", { key: '867505a691e69da09808350fc7eefb51974005ba', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { key: '6fe742ccf5aca7f27cac627373a338d46bbccfda', slot: "icon-start", name: "x-lg", type: "components" }))), hAsync("div", { key: '9d9d6a45d79215ba5415512405ce7577d6a1dc26', class: DialogClass.content, id: this.contentId }, hAsync("slot", { key: 'f9b32ee565586b3741c166a0aa14ca1d1c55f032' })), this.h.hasSlot('footer') && (hAsync("div", { key: '8628b46f0196f38f7d2f273f0860a7c6cee62655', class: DialogClass.footer }, hAsync("slot", { key: '0742967012eab82c36f9dfe0f3b43213be8bcd47', name: "footer" }))))), this.open ? (hAsync("gov-backdrop", { disabled: this.blockBackdropClose, "aria-label": this.accessibleCloseLabel, "aria-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
3522
3525
|
}
|
|
3523
3526
|
onCloseHandler(e) {
|
|
3524
3527
|
e.stopPropagation();
|
|
@@ -3729,7 +3732,7 @@ class GovEmpty {
|
|
|
3729
3732
|
this.validateSize(this.size);
|
|
3730
3733
|
}
|
|
3731
3734
|
render() {
|
|
3732
|
-
return (hAsync(Host, { key: '
|
|
3735
|
+
return (hAsync(Host, { key: '3346bc91e4af67ca885ec89364d3caed0553f87c', class: this.h.classes(EmptyClass.root), size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: '6ae5bf19e792bc94fedaa9fe3a56cafa103356f4', name: "icon" })), hAsync("div", { key: '3cb5595ef6de22c590844902d5fe59a2066b0bf7', class: EmptyClass.content }, hAsync("slot", { key: 'dedf42aac4d7a4304a0eeeae7e5a7e1be8e4aac5', name: "headline" }), hAsync("slot", { key: '0d061d5b70d90c3bf6446ff78618e6506446bde2' }))));
|
|
3733
3736
|
}
|
|
3734
3737
|
get host() { return getElement(this); }
|
|
3735
3738
|
static get watchers() { return {
|
|
@@ -3758,7 +3761,7 @@ class GovErrorCode {
|
|
|
3758
3761
|
this.h = govHost(this.host);
|
|
3759
3762
|
}
|
|
3760
3763
|
render() {
|
|
3761
|
-
return (hAsync(Host, { key: '
|
|
3764
|
+
return (hAsync(Host, { key: 'c47e051194598ee060955a36959d11340b66dadc', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (hAsync("slot", { key: '510cdd27231b580403e76154d263af37877bd7b3', name: "icon" })), hAsync("div", { key: '1b65726c29093652b1f2b6470669cedb5b951c7b', class: ErrorCodeClass.content }, hAsync("slot", { key: 'd5fb45bfdfd4cc096e9f4ed213f0b50baaf225e6', name: "headline" }), hAsync("slot", { key: '1950c6c8b034319c3d499b3470b4a2e0e1c7855a' }))));
|
|
3762
3765
|
}
|
|
3763
3766
|
get host() { return getElement(this); }
|
|
3764
3767
|
static get cmpMeta() { return {
|
|
@@ -3784,10 +3787,11 @@ class GovFlex {
|
|
|
3784
3787
|
this.wrap = undefined;
|
|
3785
3788
|
this.alignContent = undefined;
|
|
3786
3789
|
this.alignSelf = undefined;
|
|
3790
|
+
this.gap = undefined;
|
|
3787
3791
|
this.h = govHost(this.host);
|
|
3788
3792
|
}
|
|
3789
3793
|
render() {
|
|
3790
|
-
return (hAsync(Host, { key: '
|
|
3794
|
+
return (hAsync(Host, { key: '08c1591134f0b5c95a18ac9e1d3723c12d9bc47b', class: this.h.classes(FlexClass.root) }, hAsync("slot", { key: 'b66fb8ffa35b0fb98eed3440a55a92a1bd97eb76' })));
|
|
3791
3795
|
}
|
|
3792
3796
|
get host() { return getElement(this); }
|
|
3793
3797
|
static get cmpMeta() { return {
|
|
@@ -3799,11 +3803,12 @@ class GovFlex {
|
|
|
3799
3803
|
"alignItems": [513, "align-items"],
|
|
3800
3804
|
"wrap": [513],
|
|
3801
3805
|
"alignContent": [513, "align-content"],
|
|
3802
|
-
"alignSelf": [513, "align-self"]
|
|
3806
|
+
"alignSelf": [513, "align-self"],
|
|
3807
|
+
"gap": [513]
|
|
3803
3808
|
},
|
|
3804
3809
|
"$listeners$": undefined,
|
|
3805
3810
|
"$lazyBundleId$": "-",
|
|
3806
|
-
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"]]
|
|
3811
|
+
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"]]
|
|
3807
3812
|
}; }
|
|
3808
3813
|
}
|
|
3809
3814
|
|
|
@@ -3960,7 +3965,7 @@ class GovFormAutocomplete {
|
|
|
3960
3965
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3961
3966
|
}
|
|
3962
3967
|
render() {
|
|
3963
|
-
return (hAsync(Host, { key: '
|
|
3968
|
+
return (hAsync(Host, { key: 'a8bf269f28c969a01b9d6fd884b5e6dd253905f6', class: FormAutocompleteClass.root, size: this.size }, hAsync("gov-form-input", Object.assign({ key: '13797f47506657569fe824ecb8d82f54cdd7f62e', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), hAsync("slot", { key: 'aa60e7afc9f03418525f40f54989c56ac817a08a', name: "validation-icon" }), hAsync("slot", { key: 'fd1aa38d3f92793689e7238c4cc7b11fdb6d7c83', name: "icon-end" })), hAsync("ul", { key: 'f721a4bebd03c2837604e42d4ece440f2668e4db', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (hAsync("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (hAsync("li", { class: FormAutocompleteClass.loading }, hAsync("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
|
|
3964
3969
|
const isSelected = this.arrowCounter === index;
|
|
3965
3970
|
return (hAsync("li", { class: FormAutocompleteClass.item, innerHTML: this.templateResolver(item, isSelected), role: 'option', "aria-posinset": index, tabindex: isSelected ? 0 : -1, "aria-setsize": this.list.length, onTouchStart: (e) => this.onSelectHandler(e, index), onMouseDown: (e) => this.onSelectHandler(e, index), "aria-selected": toBoolAttr(isSelected) }, hAsync("slot", { name: "list-item-left" }), hAsync("slot", { name: "list-item-right" })));
|
|
3966
3971
|
}) : null)));
|
|
@@ -4435,7 +4440,7 @@ const FormCheckboxGroupClass = {
|
|
|
4435
4440
|
root: 'gov-form-checkbox-group',
|
|
4436
4441
|
};
|
|
4437
4442
|
|
|
4438
|
-
const govFormGroupCss$1 = "
|
|
4443
|
+
const govFormGroupCss$1 = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-s-nudge))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-m-nudge))}";
|
|
4439
4444
|
var GovFormCheckboxGroupStyle0 = govFormGroupCss$1;
|
|
4440
4445
|
|
|
4441
4446
|
class GovFormCheckboxGroup {
|
|
@@ -4492,7 +4497,7 @@ class GovFormCheckboxGroup {
|
|
|
4492
4497
|
});
|
|
4493
4498
|
}
|
|
4494
4499
|
render() {
|
|
4495
|
-
return (hAsync(Host, { key: '
|
|
4500
|
+
return (hAsync(Host, { key: '7f71876a9b72b688bb354a1477153bd8d1b5ad05', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '2b3ce2b04ab3a2e55128a6d8c00a1d41217061f6' })));
|
|
4496
4501
|
}
|
|
4497
4502
|
get host() { return getElement(this); }
|
|
4498
4503
|
static get watchers() { return {
|
|
@@ -4559,7 +4564,7 @@ class GovFormControl {
|
|
|
4559
4564
|
}
|
|
4560
4565
|
render() {
|
|
4561
4566
|
const Tag = this.fieldset ? "fieldset" : "div";
|
|
4562
|
-
return (hAsync(Host, { key: '
|
|
4567
|
+
return (hAsync(Host, { key: 'ca3d81a16858cbe4b2c06580cb2e9523a77191be', size: this.size, class: this.h.classes(FormControlClass.root) }, hAsync(Tag, { key: '4b2bdfbc3c227b910660596d5815c70ef8fa22dd', class: FormControlClass.holder }, this.h.hasSlot("top") && hAsync("slot", { key: '21e1b5d8e989e6e4ecf9795a2d9d3ccd6dc29543', name: "top" }), hAsync("slot", { key: 'd2acefce44c05404f9d1ce224f7f259361423d82' }), this.h.hasSlot("bottom") && (hAsync("div", { key: 'e5c095ee40f41623e9f6a871e29724be42a8be8f', class: FormControlClass.bottom }, hAsync("slot", { key: '941873ca1268fca177d3ff92b10a205dea0faad3', name: "bottom" }))))));
|
|
4563
4568
|
}
|
|
4564
4569
|
get host() { return getElement(this); }
|
|
4565
4570
|
static get cmpMeta() { return {
|
|
@@ -4747,7 +4752,7 @@ class GovFormFile {
|
|
|
4747
4752
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4748
4753
|
}
|
|
4749
4754
|
render() {
|
|
4750
|
-
return (hAsync(Host, { key: '
|
|
4755
|
+
return (hAsync(Host, { key: '92ee90aa5d8d28d310c0229ce513be88edafd68d', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { key: 'ada51c64168a7cb4dcb4f123e7f74fe401b63c82', class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", { key: '77a4e7096f1949c8c284b0d6607ffd96567669ef' }), hAsync("input", Object.assign({ key: '63382d1ccfc1254b9073923713677af25ed0fed3', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (hAsync("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, hAsync("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, hAsync("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
|
|
4751
4756
|
}
|
|
4752
4757
|
onRemoveFileHandler(file) {
|
|
4753
4758
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -4861,7 +4866,7 @@ class GovFormGroup {
|
|
|
4861
4866
|
this.validateOrientation(this.orientation);
|
|
4862
4867
|
}
|
|
4863
4868
|
render() {
|
|
4864
|
-
return (hAsync(Host, { key: '
|
|
4869
|
+
return (hAsync(Host, { key: 'b7a379997ac1f4080471c42c23cad6f0ed055fd7', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, hAsync("slot", { key: 'a36809822e81913ec6c8cabdee9eaf64c9f9f471' })));
|
|
4865
4870
|
}
|
|
4866
4871
|
get host() { return getElement(this); }
|
|
4867
4872
|
static get watchers() { return {
|
|
@@ -4965,11 +4970,11 @@ class GovFormInput {
|
|
|
4965
4970
|
}
|
|
4966
4971
|
render() {
|
|
4967
4972
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4968
|
-
return (hAsync(Host, { key: '
|
|
4969
|
-
hAsync("div", { key: '
|
|
4970
|
-
hAsync("div", { key: '
|
|
4971
|
-
hAsync("gov-icon", { key: '
|
|
4972
|
-
hAsync("gov-icon", { key: '
|
|
4973
|
+
return (hAsync(Host, { key: '8b60864f0792fe1946d4b7cb6489cff0ffc767e1', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: '4d5d0bb755acbb42033f572633e4969c8e6e8b36', name: "prefix" }), hAsync("span", { key: 'eaac4a690052077ca631ae1e9c69a65518a1902f', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
|
|
4974
|
+
hAsync("div", { key: 'e8be567c923c023bce7d0ebf0cccff592ac15c5a', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, hAsync("slot", { key: '4c76013e8a7db99b43e7b8f426f3907d89708b5a', name: "icon-start" })), hAsync(Tag, Object.assign({ key: '22e1714e66085290e7fe984a4672512324143397', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
|
|
4975
|
+
hAsync("div", { key: '19ab7fe83fcecde7a506f21611fae64126464b88', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
|
|
4976
|
+
hAsync("gov-icon", { key: '9dd7b8413b351d957a63f7df09aee8b6e3e0ac53', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
|
|
4977
|
+
hAsync("gov-icon", { key: '06540c7f7cf3c0fbdab8b5a63aba35cf7a78df3a', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && hAsync("slot", { key: '8cb1103f101fa9bd5719f1657ae1a404fc3882f4', name: "icon-end" }), this.inputType === 'password' ? (hAsync("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, hAsync("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && hAsync("slot", { key: '78308cfef71f34839d86af88df5dadb28c01adf1', name: "sufix" })));
|
|
4973
4978
|
}
|
|
4974
4979
|
onFocusHandler(e) {
|
|
4975
4980
|
e.stopPropagation();
|
|
@@ -5101,7 +5106,7 @@ class GovFormLabel {
|
|
|
5101
5106
|
}
|
|
5102
5107
|
render() {
|
|
5103
5108
|
const Tag = this.legend ? 'legend' : 'label';
|
|
5104
|
-
return (hAsync(Host, { key: '
|
|
5109
|
+
return (hAsync(Host, { key: '3f52c93a7721a458d430874b447421f7a5d30a41', class: FormLabelClass.root, size: this.size }, hAsync(Tag, { key: 'c122a9bce9b9a98b0c8c336190b70bc4bf5389cf', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, hAsync("slot", { key: 'de892d47334dbd3448a33d18586c77248b08b036' }), this.required ? hAsync("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
|
|
5105
5110
|
}
|
|
5106
5111
|
static get cmpMeta() { return {
|
|
5107
5112
|
"$flags$": 4,
|
|
@@ -5133,7 +5138,7 @@ class GovFormMessage {
|
|
|
5133
5138
|
this.validateColor(this.color);
|
|
5134
5139
|
}
|
|
5135
5140
|
render() {
|
|
5136
|
-
return (hAsync(Host, { key: '
|
|
5141
|
+
return (hAsync(Host, { key: '86a59a0001123abc4ff9350657f71e4e4ac1b0c5', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: '94f919d5d79ab453be3cccab92e695c9a9a79276', name: "icon" })), hAsync("span", { key: 'e112ca627b1d4deef23eb1567bcbb014a82388d9', id: this.messageId, class: FormMessageClass.content }, hAsync("slot", { key: '1733f5e338c14f5d353a77266359033b42469eff' }))));
|
|
5137
5142
|
}
|
|
5138
5143
|
/**
|
|
5139
5144
|
* Returns unique identifier of message
|
|
@@ -5322,11 +5327,11 @@ class GovFormMultiSelect {
|
|
|
5322
5327
|
});
|
|
5323
5328
|
}
|
|
5324
5329
|
render() {
|
|
5325
|
-
return (hAsync(Host, { key: '
|
|
5330
|
+
return (hAsync(Host, { key: 'e112f9d20d170e70616fd4f089b93dd040e737fa', class: FormMultiSelectClass.root, size: this.size }, hAsync("div", { key: 'ffc5af48051e7d24559e0c77a595b48e287771f5', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && hAsync("slot", { key: '3c22442cfbcb010f240a014ba7c9c48ec4522555', name: "prefix" }), hAsync("gov-form-autocomplete", { key: 'c02857a7ea06c203aa94b317837ea2c7c921b505', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && hAsync("gov-icon", { key: '2b06057b6343fce21d08731f5a6675ffccfa3f6e', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '6f33cb3764c0df058b0743ba617c950cf7909cdc', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '05be66ee199dee177d0b18a7a6a59e25a724571f', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), hAsync("select", Object.assign({ key: 'd50fe47c2c859561b8aba62e6d6dedd7bceed6ae', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), hAsync("slot", { key: 'cf2ebfd8dc2cdf49c3581ba0ba3fff959a50a221' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5326
5331
|
var _a;
|
|
5327
5332
|
const selectedOption = this.selectedValueIndex(option.value);
|
|
5328
5333
|
return (hAsync("option", { value: option.value, selected: selectedOption > -1, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5329
|
-
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5334
|
+
})), this.h.hasSlot('sufix') && hAsync("slot", { key: 'dddc8a99daeb345be9d778ade22622ae9ed35769', name: "sufix" })), this.hideSelectedList === false ? (hAsync("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
5330
5335
|
var _a, _b;
|
|
5331
5336
|
const option = this.getOption(selected);
|
|
5332
5337
|
if (!option)
|
|
@@ -5436,7 +5441,7 @@ class GovFormPasswordPower {
|
|
|
5436
5441
|
this.power = undefined;
|
|
5437
5442
|
}
|
|
5438
5443
|
render() {
|
|
5439
|
-
return (hAsync(Host, { key: '
|
|
5444
|
+
return (hAsync(Host, { key: 'ca17606a7f29175d97da93daed3005a27b38d607', class: FormPasswordPowerClass.root }, hAsync("span", { key: 'b2b80382c10034b88adb971db02c7e3f901453ee', class: FormPasswordPowerClass.bar }, hAsync("span", { key: '0c0de35b5c257c175281792765d3fec89f5ee498' }), hAsync("span", { key: '92847bc51174d38543a2e0f9a1a7c3ba37fec6f4' }), hAsync("span", { key: '7cc7a9cbda4c54c4d1269874a1f8d2b91e533bad' })), hAsync("span", { key: 'de62cf845c51d870e4fa1b1b6156348be8460d6b', class: FormPasswordPowerClass.text }, hAsync("slot", { key: '8132df44d6ce3f83f89d1d45b34c182850663571' }))));
|
|
5440
5445
|
}
|
|
5441
5446
|
static get cmpMeta() { return {
|
|
5442
5447
|
"$flags$": 4,
|
|
@@ -5581,7 +5586,7 @@ class GovFormRadio {
|
|
|
5581
5586
|
}; }
|
|
5582
5587
|
}
|
|
5583
5588
|
|
|
5584
|
-
const govFormGroupCss = "
|
|
5589
|
+
const govFormGroupCss = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-s-nudge))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-m-nudge))}";
|
|
5585
5590
|
var GovFormRadioGroupStyle0 = govFormGroupCss;
|
|
5586
5591
|
|
|
5587
5592
|
class GovFormRadioGroup {
|
|
@@ -5628,7 +5633,7 @@ class GovFormRadioGroup {
|
|
|
5628
5633
|
});
|
|
5629
5634
|
}
|
|
5630
5635
|
render() {
|
|
5631
|
-
return (hAsync(Host, { key: '
|
|
5636
|
+
return (hAsync(Host, { key: '0526062e74e480edc22bdbbdf8c1f82a91ff463d', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: 'f11696b75d4f0c4bc72da3ca70d3111825edd36a' })));
|
|
5632
5637
|
}
|
|
5633
5638
|
get host() { return getElement(this); }
|
|
5634
5639
|
static get watchers() { return {
|
|
@@ -5663,7 +5668,7 @@ class GovFormSearch {
|
|
|
5663
5668
|
this.color = 'neutral';
|
|
5664
5669
|
}
|
|
5665
5670
|
render() {
|
|
5666
|
-
return (hAsync(Host, { key: '
|
|
5671
|
+
return (hAsync(Host, { key: '05f033c30dffd615b36b181535329704d46665ae', class: FormSearchClass.root, color: this.color, size: this.size }, hAsync("slot", { key: '7c7fb4e2d90ace38aef4b63454e1f9513903977c', name: "input" }), hAsync("slot", { key: '92484cbbbae29ba45bb963f80da8237d9406a91b', name: "button-erase" }), hAsync("slot", { key: '92ebb818ee922d790534ffb7816be400ff4a1f98', name: "button" })));
|
|
5667
5672
|
}
|
|
5668
5673
|
get host() { return getElement(this); }
|
|
5669
5674
|
static get cmpMeta() { return {
|
|
@@ -5755,10 +5760,10 @@ class GovFormSelect {
|
|
|
5755
5760
|
});
|
|
5756
5761
|
}
|
|
5757
5762
|
render() {
|
|
5758
|
-
return (hAsync(Host, { key: '
|
|
5763
|
+
return (hAsync(Host, { key: '1c2fb05a5cff0e1b1208130cc11568423f5a78a0', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && hAsync("slot", { key: '3dadb5773f1a2abe0c54f6ee45bb3a404fc99a5b', name: "prefix" }), hAsync("span", { key: '82bc3345147debd858c5f0eb4dd9c58faf168d5d', class: "element" }, hAsync("select", Object.assign({ key: 'ee77d1768a549faa0e94025eb5b08390c49d2d32', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), hAsync("slot", { key: '2c6e5a91381a7a9819b92aa7844a8d512aed9577' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5759
5764
|
var _a;
|
|
5760
5765
|
return (hAsync("option", { value: option.value, selected: option.value === this.value, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5761
|
-
})), this.success && hAsync("gov-icon", { key: '
|
|
5766
|
+
})), this.success && hAsync("gov-icon", { key: 'b08abba818740a7250956bf03962fb86eade55c2', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '5b9c0a3e7f7b6b678880b2e17e43ae702fff023b', class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '8b9afa5ebf08b1dd680aac751f8a0559b83132fc', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && hAsync("slot", { key: '9178ca16301992f32c30f3609a388a2251d3bf85', name: "sufix" })));
|
|
5762
5767
|
}
|
|
5763
5768
|
onFocusHandler(e) {
|
|
5764
5769
|
this.focused = true;
|
|
@@ -5979,7 +5984,7 @@ class GovGrid {
|
|
|
5979
5984
|
}
|
|
5980
5985
|
// vertical / horizontal align
|
|
5981
5986
|
render() {
|
|
5982
|
-
return (hAsync(Host, { key: '
|
|
5987
|
+
return (hAsync(Host, { key: 'd2f4e42a186e0d8020abc96ef3ca0956e1492d05', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, hAsync("slot", { key: '46c60ccdda81ce271aeaca46bead1bf33e22c041' })));
|
|
5983
5988
|
}
|
|
5984
5989
|
get host() { return getElement(this); }
|
|
5985
5990
|
static get cmpMeta() { return {
|
|
@@ -6006,7 +6011,7 @@ class GovGridItem {
|
|
|
6006
6011
|
this.h = govHost(this.host);
|
|
6007
6012
|
}
|
|
6008
6013
|
render() {
|
|
6009
|
-
return (hAsync(Host, { key: '
|
|
6014
|
+
return (hAsync(Host, { key: 'e1dc6e3517618361ab3b5e3ad499a5bbbaae3d6a', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, hAsync("slot", { key: '53780db95fa728f252302cb86923ad9e9fcd9b66' })));
|
|
6010
6015
|
}
|
|
6011
6016
|
get host() { return getElement(this); }
|
|
6012
6017
|
static get cmpMeta() { return {
|
|
@@ -6049,7 +6054,7 @@ const IconClass = {
|
|
|
6049
6054
|
holder: 'gov-icon__holder',
|
|
6050
6055
|
};
|
|
6051
6056
|
|
|
6052
|
-
const version = "4.1.
|
|
6057
|
+
const version = "4.1.2";
|
|
6053
6058
|
|
|
6054
6059
|
const dsVersion = () => {
|
|
6055
6060
|
return version;
|
|
@@ -6271,8 +6276,8 @@ class GovInfobar {
|
|
|
6271
6276
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6272
6277
|
}
|
|
6273
6278
|
render() {
|
|
6274
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6275
|
-
return (hAsync(Host, { key: '
|
|
6279
|
+
const closeButton = (hAsync("gov-button", { key: '2d0597a56f6edb97e7feff654ba98885fa48033a', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, hAsync("gov-icon", { key: 'c17ba542b02a4910a136eec6cb4556d1857dffb2', name: "x-lg", type: "components" })));
|
|
6280
|
+
return (hAsync(Host, { key: 'd71d1b8ffe158de90f3fb520bd996a8246988d3d', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '12cce82faa13fa39135fe92b0ab61bc2b01fa083', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), hAsync("slot", { key: 'bc48d4e5dfad03cd9c54054225a4c3db0ec09cd9', name: "icon" }), hAsync("div", { key: '70422e59cb69504d1aca5d45b9f9700b35b344f0', class: InfobarClass.content }, this.h.hasSlot('headline') ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("slot", { name: "headline" }), hAsync("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null))), this.closable && closeButton)));
|
|
6276
6281
|
}
|
|
6277
6282
|
onCloseHandler(e) {
|
|
6278
6283
|
this.govClose.emit({
|
|
@@ -6341,7 +6346,7 @@ class GovLayout {
|
|
|
6341
6346
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6342
6347
|
}
|
|
6343
6348
|
render() {
|
|
6344
|
-
return (hAsync(Host, { key: '
|
|
6349
|
+
return (hAsync(Host, { key: 'c35fc39e07229363bdf36be5856165e7e8eb7985', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'dc50cf9cba8bd4e879291fddfbd41955f2d10330', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: '017a329c119529d3893e187b6a8bbccfbbc76679' }))));
|
|
6345
6350
|
}
|
|
6346
6351
|
get host() { return getElement(this); }
|
|
6347
6352
|
static get cmpMeta() { return {
|
|
@@ -6364,7 +6369,7 @@ class GovLayoutColumn {
|
|
|
6364
6369
|
this.h = govHost(this.host);
|
|
6365
6370
|
}
|
|
6366
6371
|
render() {
|
|
6367
|
-
return (hAsync(Host, { key: '
|
|
6372
|
+
return (hAsync(Host, { key: 'ebef4ca76b1308a566c862b5a49eecf1eb3fce99', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'aaeefeb1a56b294d91b1327fd52eb16486cfb918' })));
|
|
6368
6373
|
}
|
|
6369
6374
|
get host() { return getElement(this); }
|
|
6370
6375
|
static get cmpMeta() { return {
|
|
@@ -6410,7 +6415,7 @@ class GovLifecycle {
|
|
|
6410
6415
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6411
6416
|
}
|
|
6412
6417
|
render() {
|
|
6413
|
-
return (hAsync(Host, { key: '
|
|
6418
|
+
return (hAsync(Host, { key: '506eabaae01ae888fa838c10572e55bbe6fb7015', identifier: this.uniqueId }, hAsync("span", { key: '7604a29214fdffb1a470d83d7db37a583e5072ed' }, "lifecycle ", this.uniqueId)));
|
|
6414
6419
|
}
|
|
6415
6420
|
static get cmpMeta() { return {
|
|
6416
6421
|
"$flags$": 0,
|
|
@@ -6449,7 +6454,7 @@ class GovLink {
|
|
|
6449
6454
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6450
6455
|
}
|
|
6451
6456
|
render() {
|
|
6452
|
-
return (hAsync(Host, { key: '
|
|
6457
|
+
return (hAsync(Host, { key: '233af48c179501fe03ee2e5931806e1955913b59', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: '679067805205d76500979620b1ef4405139bb339', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), hAsync("slot", { key: 'd24c4ab99451f317a453c8131bd0506606322553', name: "icon-start" }), hAsync("slot", { key: '276923f48cdc13985115e8d4e8860a2fb0c692e2' }), this.external ? hAsync("gov-icon", { name: "box-arrow-up-right", type: "components" }) : hAsync("slot", { name: "icon-end" }))));
|
|
6453
6458
|
}
|
|
6454
6459
|
get host() { return getElement(this); }
|
|
6455
6460
|
static get watchers() { return {
|
|
@@ -6491,7 +6496,7 @@ class GovLoading {
|
|
|
6491
6496
|
this.validateSize(this.size);
|
|
6492
6497
|
}
|
|
6493
6498
|
render() {
|
|
6494
|
-
return (hAsync(Host, { key: '
|
|
6499
|
+
return (hAsync(Host, { key: '4c33339523674f2f2415dfb326131858de9eecf9', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '8c25628dd3072fd89665ccfedb9596383181b13d', class: LoadingClass.content }, hAsync("gov-icon", { key: 'a9969874350b5316c61a94b12d41a0130eeded0f', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: '14c716ecc352a0d947a6e3d932d2ab9075dedb97' })), hAsync("gov-backdrop", { key: '507610e5a61b34be2166fb4a30539a134dc1b262', inverse: true })));
|
|
6495
6500
|
}
|
|
6496
6501
|
get host() { return getElement(this); }
|
|
6497
6502
|
static get watchers() { return {
|
|
@@ -6531,7 +6536,7 @@ class GovMessage {
|
|
|
6531
6536
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6532
6537
|
}
|
|
6533
6538
|
render() {
|
|
6534
|
-
return (hAsync(Host, { key: '
|
|
6539
|
+
return (hAsync(Host, { key: 'b9e06c8f94940edf9d2c60119c35ec32baa23fc9', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("slot", { key: 'd478f414de8eaa276cc867ae5bb325c1090b08ac', name: "icon" })), hAsync("div", { key: 'd5a113ca4061b445c583fb1b4f22fff594570b1e', class: MessageClass.content }, hAsync("slot", { key: 'e9be2f4ff3603c5f77d46e042455174e6ccfb7be' }))));
|
|
6535
6540
|
}
|
|
6536
6541
|
get host() { return getElement(this); }
|
|
6537
6542
|
static get watchers() { return {
|
|
@@ -6855,7 +6860,7 @@ class GovSkeleton {
|
|
|
6855
6860
|
return Object.assign({}, dimenssionsStyles);
|
|
6856
6861
|
}
|
|
6857
6862
|
render() {
|
|
6858
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
6863
|
+
return (hAsync(Host, Object.assign({ key: '175dad78f57ee2e44fe3097e0595f59254e1003b', size: this.size, color: this.color, class: {
|
|
6859
6864
|
[SkeletonClass.root]: true,
|
|
6860
6865
|
circle: this.shape === "circle",
|
|
6861
6866
|
line: this.shape === "line",
|
|
@@ -6918,7 +6923,7 @@ class GovSpacer {
|
|
|
6918
6923
|
this.validateBreakpoint(this.breakpoint);
|
|
6919
6924
|
}
|
|
6920
6925
|
render() {
|
|
6921
|
-
return hAsync(Host, { key: '
|
|
6926
|
+
return hAsync(Host, { key: '23aedb7f3b112a356319aba076eedf9a4743e25b', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6922
6927
|
}
|
|
6923
6928
|
get host() { return getElement(this); }
|
|
6924
6929
|
static get watchers() { return {
|
|
@@ -6980,7 +6985,7 @@ class GovStepper {
|
|
|
6980
6985
|
this.hydrated = true;
|
|
6981
6986
|
}
|
|
6982
6987
|
render() {
|
|
6983
|
-
return (hAsync(Host, { key: '
|
|
6988
|
+
return (hAsync(Host, { key: '0815470dbe86e888ab922139e6f02347f89f4700', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '2585c79a48236a8c2d333a437beb4d7f1d9d9d6c' })));
|
|
6984
6989
|
}
|
|
6985
6990
|
get host() { return getElement(this); }
|
|
6986
6991
|
static get watchers() { return {
|
|
@@ -7022,7 +7027,7 @@ class GovStepperItem {
|
|
|
7022
7027
|
render() {
|
|
7023
7028
|
const triggerId = this.identifier || this.triggerId;
|
|
7024
7029
|
const contentId = this.contentId;
|
|
7025
|
-
return (hAsync(Host, { key: '
|
|
7030
|
+
return (hAsync(Host, { key: 'c24400b8ee5917005e6e3a21f47024c7ebad2960', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (hAsync("span", { key: '010401daa60b44eed322de007fdd6e4ca035ff8d', class: StepperItemClass.prefix }, hAsync("slot", { key: '27287e54365c7e72e01dd21f8d07f7144dc03f3c', name: "prefix" }))), hAsync("div", { key: 'b50e23ee80b270bb5bb781c46e2cf2de73cad1bb' }, hAsync("span", { key: '84500822ca2e529bff5e5cf4eb7ac7c9f0fc9d97', class: StepperItemClass.headline }, hAsync("slot", { key: '18410e07be87715a96540789a82403bfab45e55c', name: "headline" })), hAsync("slot", { key: 'dd2c20b9f07d2bcbf4223eca8de0d7592d178e86', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: 'cd34d17b5a14816dd91ee84f91a14217952bcfe5', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: 'c90f411f8d63c6381f55a0e6ac819369a9bfd2e5', name: "content" }))))));
|
|
7026
7031
|
}
|
|
7027
7032
|
get host() { return getElement(this); }
|
|
7028
7033
|
static get watchers() { return {
|
|
@@ -7173,7 +7178,7 @@ class GovTabs {
|
|
|
7173
7178
|
});
|
|
7174
7179
|
}
|
|
7175
7180
|
render() {
|
|
7176
|
-
return (hAsync(Host, { key: '
|
|
7181
|
+
return (hAsync(Host, { key: '4efcbedcc355a74456cc899bc48c7aaf8c604c12', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, hAsync("div", Object.assign({ key: 'a64d1a7cadd5950ebc687c3f3d741ea0a59a3684', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: 'adab5148c97b041e11f3e7d11a4d87492df5320a', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), hAsync("slot", { key: '2a3720ce9449d62ecd1d58bac806bf356d37375a' })));
|
|
7177
7182
|
}
|
|
7178
7183
|
getCurrentTab() {
|
|
7179
7184
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7306,7 +7311,7 @@ class GovTabsItem {
|
|
|
7306
7311
|
}
|
|
7307
7312
|
}
|
|
7308
7313
|
render() {
|
|
7309
|
-
return (hAsync(Host, { key: '
|
|
7314
|
+
return (hAsync(Host, { key: '89b01b0d025a89f89085dba24db6b8fadcd97e68', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: '8868371d0da63c1727c8b3a55b930a4d0ce30a3c', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, hAsync("slot", { key: '0d47bea8c416b1c57aac006f9eea9101ade9427d' }))));
|
|
7310
7315
|
}
|
|
7311
7316
|
/**
|
|
7312
7317
|
* Returns a unique tab content identifier
|
|
@@ -7378,6 +7383,7 @@ class GovTag {
|
|
|
7378
7383
|
this.size = TagSizes._S;
|
|
7379
7384
|
this.color = ButtonColors.PRIMARY;
|
|
7380
7385
|
this.type = undefined;
|
|
7386
|
+
this.expanded = false;
|
|
7381
7387
|
this.h = govHost(this.host);
|
|
7382
7388
|
}
|
|
7383
7389
|
validateColor(newValue) {
|
|
@@ -7393,7 +7399,7 @@ class GovTag {
|
|
|
7393
7399
|
render() {
|
|
7394
7400
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7395
7401
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7396
|
-
return (hAsync(Host, { key: '
|
|
7402
|
+
return (hAsync(Host, { key: '8865709f2568a754160000138f413f352409e248', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: '4ae6dc1d60a207510de61c2391af9eb268dd3588', class: "element" }, hAsync("slot", { key: 'f08057eb346b918d1be45ad7561a71bac54237aa', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: '37554fce04335c45bb724efeb5e7701513336b7b', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: 'b66970bf42b9fd9217cb2e3a03c2f47c608b14a5' }), hAsync("slot", { key: '85bf0010dac55b808bba5a442d977e8538f93d3a', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '70bf541bac6a69871618cb520c7008099aa6f341', type: iconEnd.type, name: iconEnd.name })))));
|
|
7397
7403
|
}
|
|
7398
7404
|
get host() { return getElement(this); }
|
|
7399
7405
|
static get watchers() { return {
|
|
@@ -7408,11 +7414,12 @@ class GovTag {
|
|
|
7408
7414
|
"iconEnd": [1, "icon-end"],
|
|
7409
7415
|
"size": [513],
|
|
7410
7416
|
"color": [513],
|
|
7411
|
-
"type": [513]
|
|
7417
|
+
"type": [513],
|
|
7418
|
+
"expanded": [516]
|
|
7412
7419
|
},
|
|
7413
7420
|
"$listeners$": undefined,
|
|
7414
7421
|
"$lazyBundleId$": "-",
|
|
7415
|
-
"$attrsToReflect$": [["size", "size"], ["color", "color"], ["type", "type"]]
|
|
7422
|
+
"$attrsToReflect$": [["size", "size"], ["color", "color"], ["type", "type"], ["expanded", "expanded"]]
|
|
7416
7423
|
}; }
|
|
7417
7424
|
}
|
|
7418
7425
|
|
|
@@ -7422,8 +7429,6 @@ const ThemeSwitchClass = {
|
|
|
7422
7429
|
indicator: 'gov-theme-switch__indicator',
|
|
7423
7430
|
iconLight: 'gov-theme-switch__icon-light',
|
|
7424
7431
|
iconDark: 'gov-theme-switch__icon-dark',
|
|
7425
|
-
labelLight: 'gov-theme-switch__label-light',
|
|
7426
|
-
labelDark: 'gov-theme-switch__label-dark',
|
|
7427
7432
|
};
|
|
7428
7433
|
const ATTRIBUTE_THEME_NAME = 'data-theme';
|
|
7429
7434
|
|
|
@@ -7447,10 +7452,11 @@ class GovThemeSwitch {
|
|
|
7447
7452
|
});
|
|
7448
7453
|
};
|
|
7449
7454
|
this.size = "m";
|
|
7450
|
-
this.
|
|
7451
|
-
this.
|
|
7452
|
-
this.
|
|
7453
|
-
this.
|
|
7455
|
+
this.displayLabel = false;
|
|
7456
|
+
this.ariaLabelLight = "Přenout na tmavý mód";
|
|
7457
|
+
this.ariaLabelDark = "Přepnout na světlý mód";
|
|
7458
|
+
this.labelLight = "Světlý mód";
|
|
7459
|
+
this.labelDark = "Tmavý mód";
|
|
7454
7460
|
this.theme = ThemeList.auto;
|
|
7455
7461
|
this.h = govHost(this.host);
|
|
7456
7462
|
}
|
|
@@ -7495,7 +7501,7 @@ class GovThemeSwitch {
|
|
|
7495
7501
|
if (this.theme === ThemeList.auto) {
|
|
7496
7502
|
isDark = this.isSystemPrefersColorDark;
|
|
7497
7503
|
}
|
|
7498
|
-
return (hAsync(Host, { key: '
|
|
7504
|
+
return (hAsync(Host, { key: '784ed0513ea1436bb754dc82691646422789783b', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: 'd4abc155a8ae8f07d0a49c378e295c3ab57318d4', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '7f713875d5618acc919702cdc60e9db58dfb9db5' }, hAsync("span", { key: '0b57c0153047ef292b6bdc43b49e5a1a9cdc17e1', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: 'ae2c751435a2bc9c1e9f8dfa4ca52e13943ada9b', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: '7a4ee602a37742ab94dcee47a7c4970d5dce5bb6', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel && (isDark ? this.labelDark : this.labelLight)))));
|
|
7499
7505
|
}
|
|
7500
7506
|
get host() { return getElement(this); }
|
|
7501
7507
|
static get watchers() { return {
|
|
@@ -7507,6 +7513,7 @@ class GovThemeSwitch {
|
|
|
7507
7513
|
"$tagName$": "gov-theme-switch",
|
|
7508
7514
|
"$members$": {
|
|
7509
7515
|
"size": [1],
|
|
7516
|
+
"displayLabel": [4, "display-label"],
|
|
7510
7517
|
"ariaLabelLight": [1, "aria-label-light"],
|
|
7511
7518
|
"ariaLabelDark": [1, "aria-label-dark"],
|
|
7512
7519
|
"labelLight": [1, "label-light"],
|
|
@@ -7541,7 +7548,7 @@ class GovTile {
|
|
|
7541
7548
|
this.h = govHost(this.host);
|
|
7542
7549
|
}
|
|
7543
7550
|
render() {
|
|
7544
|
-
return (hAsync(Host, { key: '
|
|
7551
|
+
return (hAsync(Host, { key: 'c766f3d54f15e5a49a877fa2e67593d084f487f7', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: 'd07b106d781fead65a124c82d11ebe991fddfece', name: "icon" }), hAsync("div", { key: 'eeee0397b4384a473f3782750d1e04f0c8c7894d', class: TileClass.content }, hAsync("div", { key: 'f4081902e55b964b1ebbdd43f7b189f83dce8690', class: TileClass.text }, hAsync("div", { key: '3bf8cf35db6f667de7c278786787e38b1392a5b2', class: TileClass.title }, this.href ? (hAsync(Fragment$1, null, hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, hAsync("slot", { name: "title" })), hAsync("span", { class: TileClass.icon }, hAsync("gov-icon", { name: "chevron-right", type: "components" })))) : (hAsync("slot", { name: "title" }))), hAsync("div", { key: '088f60531285a1457277352a011766f809d9280d', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: '8d4a612e3aff054a60ec1030eb5a28903595ea6a' }))), hAsync("slot", { key: 'f7610d06a6d951b3a24f2e129342bb82c5e9d767', name: "button" }))));
|
|
7545
7552
|
}
|
|
7546
7553
|
/**
|
|
7547
7554
|
* Returns a clickable element instance
|
|
@@ -7578,7 +7585,7 @@ class GovTiles {
|
|
|
7578
7585
|
this.h = govHost(this.host);
|
|
7579
7586
|
}
|
|
7580
7587
|
render() {
|
|
7581
|
-
return (hAsync(Host, { key: '
|
|
7588
|
+
return (hAsync(Host, { key: '18eb380e2fe62b54a90c5c758c62c985107c98d4', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '9746ede80d0daa8776208afb5cef44b7adb0d7fc' })));
|
|
7582
7589
|
}
|
|
7583
7590
|
get host() { return getElement(this); }
|
|
7584
7591
|
static get cmpMeta() { return {
|
|
@@ -7657,7 +7664,7 @@ class GovToast {
|
|
|
7657
7664
|
}
|
|
7658
7665
|
}
|
|
7659
7666
|
render() {
|
|
7660
|
-
return (hAsync(Host, { key: '
|
|
7667
|
+
return (hAsync(Host, { key: '632972ed59aac0d696428d6f32e6c99615ccf687', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (hAsync("span", { key: 'da93a05f1976eeb4e356160fd0daea409b836a05', class: ToastClass.icon }, hAsync("slot", { key: 'd374f5dea570b27643d960e65d0d5b2c710cb2b4', name: "icon" }))), hAsync("div", Object.assign({ key: '1680aff627c809348ae7812ab72a34dbad33a368', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: '8208b697e9fbefd964a17c6bfdb06d3a5ff9d2f2' })), hAsync("gov-button", { key: '9f05e19a672f66c2203a5556370e12e2ce7819f7', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : hAsync("gov-icon", { name: "x-lg", type: "components" })), hAsync("div", { key: 'a954d22ce3a0e06e2d17aa14903dae7264d9e03c', class: ToastClass.timer })));
|
|
7661
7668
|
}
|
|
7662
7669
|
onCloseHandler() {
|
|
7663
7670
|
this.govClose.emit(this.toastId);
|
|
@@ -7914,11 +7921,11 @@ class GovTooltip {
|
|
|
7914
7921
|
}
|
|
7915
7922
|
render() {
|
|
7916
7923
|
var _a;
|
|
7917
|
-
return (hAsync(Host, { key: '
|
|
7924
|
+
return (hAsync(Host, { key: '2e96da1a9d7afd70abb4ffd2e979210cc179680e', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '9c9c06d716556faa56f5ba9a952ea867c5533b2b', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7918
7925
|
if (this.persist === false) {
|
|
7919
7926
|
this.hideTooltip();
|
|
7920
7927
|
}
|
|
7921
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
7928
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '29549049c0bfbe311980aa6a630ff9eff8e35f40' }))));
|
|
7922
7929
|
}
|
|
7923
7930
|
/**
|
|
7924
7931
|
* Showing the modal
|
|
@@ -7989,7 +7996,7 @@ class GovTooltipContent {
|
|
|
7989
7996
|
}
|
|
7990
7997
|
}
|
|
7991
7998
|
render() {
|
|
7992
|
-
return (hAsync(Host, { key: '
|
|
7999
|
+
return (hAsync(Host, { key: '965998f4788ddd5dffd01b53073a001023cd9037', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: 'fe9d1ee13a11077947492341836f8f25c1f8881f' }), this.persist ? (hAsync("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, hAsync("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
7993
8000
|
}
|
|
7994
8001
|
get host() { return getElement(this); }
|
|
7995
8002
|
static get watchers() { return {
|
|
@@ -8063,7 +8070,7 @@ class GovWizard {
|
|
|
8063
8070
|
this.hydrated = true;
|
|
8064
8071
|
}
|
|
8065
8072
|
render() {
|
|
8066
|
-
return (hAsync(Host, { key: '
|
|
8073
|
+
return (hAsync(Host, { key: 'd75ce2d5499cef41ac6b316f313b0c5c446d0b55', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'ea151639d058fa4e50427a893fa167969a453d39' })));
|
|
8067
8074
|
}
|
|
8068
8075
|
/**
|
|
8069
8076
|
* Validate the WCAG attributes of the component
|
|
@@ -8125,8 +8132,8 @@ class GovWizardItem {
|
|
|
8125
8132
|
render() {
|
|
8126
8133
|
const triggerId = this.identifier || this.triggerId;
|
|
8127
8134
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8128
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8129
|
-
return (hAsync(Host, { key: '
|
|
8135
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: 'abdd15cfa834f393b29335ea2bda28cd1dfeef46', class: WizardItemClass.prefix }, hAsync("slot", { key: '123c495809091879ab3d985b9bcb4a22005e4b75', name: "prefix" })));
|
|
8136
|
+
return (hAsync(Host, { key: '463384ea408a20992bf6f30f142fce7146fabf53', class: this.h.classes(WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, hAsync("div", { key: '0b60621607cd8c48fe05fd1755f9f7b8514d425d', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (hAsync(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
8130
8137
|
e.preventDefault();
|
|
8131
8138
|
e.stopPropagation();
|
|
8132
8139
|
this.toggle();
|