@gov-design-system-ce/components 4.6.0 → 4.6.3
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/Fragment-D4qSkFah.js.map +1 -1
- package/dist/cjs/accessibility-BQJmIVWV.js.map +1 -1
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -1
- package/dist/cjs/array.utils-DOh1gCQS.js.map +1 -1
- package/dist/cjs/attribute-CH1-zDDl.js.map +1 -1
- package/dist/cjs/colors-DgrrxjsX.js.map +1 -1
- package/dist/cjs/constants-357ehBFU.js.map +1 -1
- package/dist/cjs/constants-CFAhiwqu.js.map +1 -1
- package/dist/cjs/constants-CYm8AK_D.js.map +1 -1
- package/dist/cjs/constants-CbBhWRUQ.js.map +1 -1
- package/dist/cjs/constants-ChDSk4SZ.js.map +1 -1
- package/dist/cjs/constants-D6LZ31rS.js.map +1 -1
- package/dist/cjs/constants-DcKnOyW4.js.map +1 -1
- package/dist/cjs/constants-Dmmp9FHy.js.map +1 -1
- package/dist/cjs/constants-WvkMgj1j.js.map +1 -1
- package/dist/cjs/constants-ymB2dvwV.js.map +1 -1
- package/dist/cjs/constants-z2ZSS2je.js.map +1 -1
- package/dist/cjs/form-GgXzZZ-E.js.map +1 -1
- package/dist/cjs/gov-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion-item.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-attachments.gov-attachments-item.gov-form-message.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-banner.cjs.entry.js +2 -2
- package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-banner.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-blockquote.cjs.entry.js +1 -1
- package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-blockquote.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +3 -3
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +1 -1
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/gov-collapsible.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-collapsible.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-control-group.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-cookiebar.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-empty.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-error-code.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-flex.gov-icon.gov-theme-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-flex_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-input.gov-skeleton.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
- package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio-group.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-range.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-range.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-infobar.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-lifecycle.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-link.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-message.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper-item.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs-item.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tooltip.gov-tooltip-content.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/gov-tooltip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.entry.cjs.js.map +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard.entry.cjs.js.map +1 -1
- package/dist/cjs/gov.log-C5EH15b_.js.map +1 -1
- package/dist/cjs/helpers-DmI-ZOAH.js.map +1 -1
- package/dist/cjs/helpers.types-vap8QfRH.js.map +1 -1
- package/dist/cjs/props-CPENhBnM.js.map +1 -1
- package/dist/cjs/sizes-D5zsw2g5.js.map +1 -1
- package/dist/cjs/stencil.utils-8sCYbm34.js.map +1 -1
- package/dist/cjs/string.utils-BG4pUfEi.js.map +1 -1
- package/dist/cjs/template-Cj6PcLmR.js.map +1 -1
- package/dist/cjs/utils-NnC78QR3.js.map +1 -1
- package/dist/cjs/wcag-Bvzxnp5D.js.map +1 -1
- package/dist/collection/components/gov-accordion/constants.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +3 -3
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -1
- package/dist/collection/components/gov-attachments/constants.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.js +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
- package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-banner/constants.js.map +1 -1
- package/dist/collection/components/gov-banner/gov-banner.js +2 -2
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
- package/dist/collection/components/gov-blockquote/constants.js.map +1 -1
- package/dist/collection/components/gov-blockquote/gov-blockquote.js +1 -1
- package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/constants.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +5 -5
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.types.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -1
- package/dist/collection/components/gov-card/constants.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +1 -1
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-card/interfaces.js.map +1 -1
- package/dist/collection/components/gov-chip/constants.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +2 -2
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- package/dist/collection/components/gov-collapsible/constants.js.map +1 -1
- package/dist/collection/components/gov-collapsible/gov-collapsible.js +2 -2
- package/dist/collection/components/gov-collapsible/gov-collapsible.js.map +1 -1
- package/dist/collection/components/gov-container/constants.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +1 -1
- package/dist/collection/components/gov-container/gov-container.js.map +1 -1
- package/dist/collection/components/gov-control-group/constants.js.map +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
- package/dist/collection/components/gov-dialog/constants.js.map +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
- package/dist/collection/components/gov-empty/constants.js.map +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
- package/dist/collection/components/gov-error-code/constants.js.map +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
- package/dist/collection/components/gov-flex/constants.js.map +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +3 -3
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -1
- package/dist/collection/components/gov-form/control/constants.js.map +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +4 -4
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
- package/dist/collection/components/gov-form/file/constants.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +4 -4
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -1
- package/dist/collection/components/gov-form/group/constants.js.map +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-checkbox-group.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.types.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js.map +1 -1
- package/dist/collection/components/gov-form/input/constants.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +6 -6
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -1
- package/dist/collection/components/gov-form/label/constants.js.map +1 -1
- package/dist/collection/components/gov-form/label/gov-form-label.js +2 -2
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
- package/dist/collection/components/gov-form/message/constants.js.map +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +4 -4
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/constants.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -1
- package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +2 -2
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -1
- package/dist/collection/components/gov-form/range/constants.js.map +1 -1
- package/dist/collection/components/gov-form/range/gov-form-range.js +2 -2
- package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -1
- package/dist/collection/components/gov-form/search/constants.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
- package/dist/collection/components/gov-form/select/constants.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +4 -4
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -1
- package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -1
- package/dist/collection/components/gov-grid/constants.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
- package/dist/collection/components/gov-icon/constants.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-icon/helpers.js.map +1 -1
- package/dist/collection/components/gov-icon/list.js.map +1 -1
- package/dist/collection/components/gov-infobar/constants.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +1 -1
- package/dist/collection/components/gov-layout/constants.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -1
- package/dist/collection/components/gov-link/constants.js.map +1 -1
- package/dist/collection/components/gov-link/gov-link.js +1 -1
- package/dist/collection/components/gov-link/gov-link.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/constants.js.map +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-pagination/constants.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -1
- package/dist/collection/components/gov-pagination/pagination.js.map +1 -1
- package/dist/collection/components/gov-spacer/constants.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
- package/dist/collection/components/gov-stepper/stepper/constants.js.map +1 -1
- package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.d.js.map +1 -1
- package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/stepper/gov-stepper-item.js.map +1 -1
- package/dist/collection/components/gov-stepper/stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-stepper/stepper/gov-stepper.js.map +1 -1
- package/dist/collection/components/gov-tabs/constants.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -1
- package/dist/collection/components/gov-tag/constants.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -1
- package/dist/collection/components/gov-tile/constants.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-toast/constants.js.map +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/components/gov-wizard/constants.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
- package/dist/collection/core/constants/colors.js.map +1 -1
- package/dist/collection/core/constants/sizes.js.map +1 -1
- package/dist/collection/core/constants/tags.js.map +1 -1
- package/dist/collection/core/constants/tokens.js.map +1 -1
- package/dist/collection/data/color-definitions.js +500 -494
- package/dist/collection/data/font-definitions.js +132 -132
- package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -1
- package/dist/collection/helpers/Accessibility/attributes.js.map +1 -1
- package/dist/collection/helpers/Dom/attribute.js.map +1 -1
- package/dist/collection/helpers/Dom/document.js.map +1 -1
- package/dist/collection/helpers/Dom/form.js.map +1 -1
- package/dist/collection/helpers/Dom/form.types.js.map +1 -1
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/helpers/Dom/template.types.js.map +1 -1
- package/dist/collection/helpers/Dom/win.js.map +1 -1
- package/dist/collection/helpers/Fragment.js.map +1 -1
- package/dist/collection/helpers/Log/gov.log.js.map +1 -1
- package/dist/collection/helpers/Validate/props.js.map +1 -1
- package/dist/collection/helpers/Validate/wcag.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/types/event.types.js.map +1 -1
- package/dist/collection/types/interfaces.js.map +1 -1
- package/dist/collection/utils/array.utils.js.map +1 -1
- package/dist/collection/utils/bool.utils.js.map +1 -1
- package/dist/collection/utils/dom.utils.js.map +1 -1
- package/dist/collection/utils/ds.utils.js.map +1 -1
- package/dist/collection/utils/file.utils.js.map +1 -1
- package/dist/collection/utils/helpers.types.js.map +1 -1
- package/dist/collection/utils/icon.utils.js.map +1 -1
- package/dist/collection/utils/number.utils.js.map +1 -1
- package/dist/collection/utils/object.utils.js.map +1 -1
- package/dist/collection/utils/stencil.utils.js.map +1 -1
- package/dist/collection/utils/string.utils.js.map +1 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-banner.js +1 -1
- package/dist/components/gov-banner.js.map +1 -1
- package/dist/components/gov-blockquote.js +1 -1
- package/dist/components/gov-blockquote.js.map +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +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-collapsible.js +1 -1
- package/dist/components/gov-collapsible.js.map +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-container.js.map +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-control-group.js.map +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-cookiebar.js.map +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-dialog.js.map +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-dropdown.js.map +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-empty.js.map +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-error-code.js.map +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-checkbox.js.map +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-control.js.map +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-group.js.map +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-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-password-power.js.map +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-radio.js.map +1 -1
- package/dist/components/gov-form-range.js +1 -1
- package/dist/components/gov-form-range.js.map +1 -1
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-grid.js.map +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-layout.js.map +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-lifecycle.js.map +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-message.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper-item.js.map +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-stepper.js.map +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs-item.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tabs.js.map +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-tile.js.map +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard-item.js.map +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/gov-wizard.js.map +1 -1
- package/dist/components/p-4i8qDRtu.js.map +1 -1
- package/dist/components/p-5itQzbON.js.map +1 -1
- package/dist/components/p-9imLQpxb.js.map +1 -1
- package/dist/components/p-B0KFtEn3.js +2 -0
- package/dist/components/p-B0KFtEn3.js.map +1 -0
- package/dist/components/p-B0hcuYXk.js.map +1 -1
- package/dist/components/p-B3tdsiZv.js.map +1 -1
- package/dist/components/p-BKP-F1qP.js.map +1 -1
- package/dist/components/{p-D8QfVS4O.js → p-BNnuBQvo.js} +2 -2
- package/dist/components/p-BNnuBQvo.js.map +1 -0
- package/dist/components/p-BTwdrNoS.js.map +1 -1
- package/dist/components/p-BUmDydor.js.map +1 -1
- package/dist/components/{p-DW1DKFMF.js → p-BZTY3MxF.js} +2 -2
- package/dist/components/p-BZTY3MxF.js.map +1 -0
- package/dist/components/p-BcQO4NH2.js.map +1 -1
- package/dist/components/{p-BJnSrRNH.js → p-BrdXh0mI.js} +2 -2
- package/dist/components/p-BrdXh0mI.js.map +1 -0
- package/dist/components/{p-_FzmpyXv.js → p-Bv5L0j6n.js} +2 -2
- package/dist/components/p-Bv5L0j6n.js.map +1 -0
- package/dist/components/p-C6JN9gdb.js.map +1 -1
- package/dist/components/p-CNqoJU2V.js.map +1 -1
- package/dist/components/p-CQvUntGY.js.map +1 -1
- package/dist/components/p-CUVZZBqo.js.map +1 -1
- package/dist/components/p-CXgom82_.js.map +1 -1
- package/dist/components/p-CZr7GBEo.js.map +1 -1
- package/dist/components/p-CfaJM4SA.js +2 -0
- package/dist/components/p-CfaJM4SA.js.map +1 -0
- package/dist/components/p-Cjg0wpDG.js.map +1 -1
- package/dist/components/p-ClYmjarv.js.map +1 -1
- package/dist/components/p-DBXGhafv.js.map +1 -1
- package/dist/components/{p-Ba8Z-AIX.js → p-DFu5UVoP.js} +2 -2
- package/dist/components/p-DFu5UVoP.js.map +1 -0
- package/dist/components/p-DKo9A5gq.js.map +1 -1
- package/dist/components/{p-9VlKyZSl.js → p-DMVQRz4f.js} +2 -2
- package/dist/components/p-DMVQRz4f.js.map +1 -0
- package/dist/components/{p-2_-up8FX.js → p-DesycS6d.js} +2 -2
- package/dist/components/p-DesycS6d.js.map +1 -0
- package/dist/components/p-DfI_0WW6.js.map +1 -1
- package/dist/components/p-DrPpH_9c.js.map +1 -1
- package/dist/components/p-EeKNA85D.js.map +1 -1
- package/dist/components/p-GYov8gU1.js.map +1 -1
- package/dist/components/p-Nvj7WFs_.js.map +1 -1
- package/dist/components/p-Q99QrOoi.js.map +1 -1
- package/dist/components/p-U40vKHrs.js.map +1 -1
- package/dist/components/{p-DZJk8GrA.js → p-UDT3DloZ.js} +2 -2
- package/dist/components/p-UDT3DloZ.js.map +1 -0
- package/dist/components/{p-CWqMiVYH.js → p-djqfSbq-.js} +2 -2
- package/dist/components/p-djqfSbq-.js.map +1 -0
- package/dist/components/p-vN03FcXN.js.map +1 -1
- package/dist/components/{p-DhGb8cBK.js → p-x3w8Mun_.js} +2 -2
- package/dist/components/p-x3w8Mun_.js.map +1 -0
- package/dist/components/p-yqJEurSE.js +2 -0
- package/dist/components/p-yqJEurSE.js.map +1 -0
- package/dist/core/core.css +38 -38
- package/dist/core/core.esm.js +1 -1
- package/dist/core/gov-accordion-item.entry.esm.js.map +1 -1
- package/dist/core/gov-accordion.entry.esm.js.map +1 -1
- package/dist/core/gov-attachments.gov-attachments-item.gov-form-message.entry.esm.js.map +1 -1
- package/dist/core/gov-backdrop.entry.esm.js.map +1 -1
- package/dist/core/gov-banner.entry.esm.js.map +1 -1
- package/dist/core/gov-blockquote.entry.esm.js.map +1 -1
- package/dist/core/gov-breadcrumbs.entry.esm.js.map +1 -1
- package/dist/core/gov-button.entry.esm.js.map +1 -1
- package/dist/core/gov-card.entry.esm.js.map +1 -1
- package/dist/core/gov-chip.entry.esm.js.map +1 -1
- package/dist/core/gov-collapsible.entry.esm.js.map +1 -1
- package/dist/core/gov-container.entry.esm.js.map +1 -1
- package/dist/core/gov-control-group.entry.esm.js.map +1 -1
- package/dist/core/gov-cookiebar.entry.esm.js.map +1 -1
- package/dist/core/gov-dialog.entry.esm.js.map +1 -1
- package/dist/core/gov-dropdown.entry.esm.js.map +1 -1
- package/dist/core/gov-empty.entry.esm.js.map +1 -1
- package/dist/core/gov-error-code.entry.esm.js.map +1 -1
- package/dist/core/gov-flex.gov-icon.gov-theme-switch.entry.esm.js.map +1 -1
- package/dist/core/gov-form-autocomplete.entry.esm.js.map +1 -1
- package/dist/core/gov-form-checkbox-group.entry.esm.js.map +1 -1
- package/dist/core/gov-form-checkbox.entry.esm.js.map +1 -1
- package/dist/core/gov-form-control.entry.esm.js.map +1 -1
- package/dist/core/gov-form-file.entry.esm.js.map +1 -1
- package/dist/core/gov-form-group.entry.esm.js.map +1 -1
- package/dist/core/gov-form-input.gov-skeleton.entry.esm.js.map +1 -1
- package/dist/core/gov-form-label.entry.esm.js.map +1 -1
- package/dist/core/gov-form-multi-select.entry.esm.js.map +1 -1
- package/dist/core/gov-form-password-power.entry.esm.js.map +1 -1
- package/dist/core/gov-form-radio-group.entry.esm.js.map +1 -1
- package/dist/core/gov-form-radio.entry.esm.js.map +1 -1
- package/dist/core/gov-form-range.entry.esm.js.map +1 -1
- package/dist/core/gov-form-search.entry.esm.js.map +1 -1
- package/dist/core/gov-form-select.entry.esm.js.map +1 -1
- package/dist/core/gov-form-switch.entry.esm.js.map +1 -1
- package/dist/core/gov-grid-item.entry.esm.js.map +1 -1
- package/dist/core/gov-grid.entry.esm.js.map +1 -1
- package/dist/core/gov-infobar.entry.esm.js.map +1 -1
- package/dist/core/gov-layout-column.entry.esm.js.map +1 -1
- package/dist/core/gov-layout.entry.esm.js.map +1 -1
- package/dist/core/gov-lifecycle.entry.esm.js.map +1 -1
- package/dist/core/gov-link.entry.esm.js.map +1 -1
- package/dist/core/gov-loading.entry.esm.js.map +1 -1
- package/dist/core/gov-message.entry.esm.js.map +1 -1
- package/dist/core/gov-pagination.entry.esm.js.map +1 -1
- package/dist/core/gov-spacer.entry.esm.js.map +1 -1
- package/dist/core/gov-stepper-item.entry.esm.js.map +1 -1
- package/dist/core/gov-stepper.entry.esm.js.map +1 -1
- package/dist/core/gov-tabs-item.entry.esm.js.map +1 -1
- package/dist/core/gov-tabs.entry.esm.js.map +1 -1
- package/dist/core/gov-tag.entry.esm.js.map +1 -1
- package/dist/core/gov-tile.entry.esm.js.map +1 -1
- package/dist/core/gov-toast.entry.esm.js.map +1 -1
- package/dist/core/gov-tooltip.gov-tooltip-content.entry.esm.js.map +1 -1
- package/dist/core/gov-wizard-item.entry.esm.js.map +1 -1
- package/dist/core/gov-wizard.entry.esm.js.map +1 -1
- package/dist/core/{p-37f6095e.entry.js → p-04ec45ab.entry.js} +2 -2
- package/dist/core/p-04ec45ab.entry.js.map +1 -0
- package/dist/core/p-0af96cc0.entry.js +2 -0
- package/dist/core/p-0af96cc0.entry.js.map +1 -0
- package/dist/core/{p-b93548cc.entry.js → p-11fc3899.entry.js} +2 -2
- package/dist/core/p-11fc3899.entry.js.map +1 -0
- package/dist/core/{p-67d1e6e2.entry.js → p-157a1636.entry.js} +2 -2
- package/dist/core/p-157a1636.entry.js.map +1 -0
- package/dist/core/p-1626cc67.entry.js +2 -0
- package/dist/core/p-1626cc67.entry.js.map +1 -0
- package/dist/core/{p-46effc25.entry.js → p-187c0eda.entry.js} +2 -2
- package/dist/core/p-187c0eda.entry.js.map +1 -0
- package/dist/core/p-3314505d.entry.js +2 -0
- package/dist/core/p-3314505d.entry.js.map +1 -0
- package/dist/core/p-33209782.entry.js +2 -0
- package/dist/core/p-33209782.entry.js.map +1 -0
- package/dist/core/{p-715c0e2e.entry.js → p-33b462c9.entry.js} +2 -2
- package/dist/core/p-33b462c9.entry.js.map +1 -0
- package/dist/core/{p-f067af74.entry.js → p-3e07bf07.entry.js} +2 -2
- package/dist/core/p-3e07bf07.entry.js.map +1 -0
- package/dist/core/p-3e5ae012.entry.js +2 -0
- package/dist/core/p-3e5ae012.entry.js.map +1 -0
- package/dist/core/p-46824842.entry.js.map +1 -1
- package/dist/core/{p-1375d52d.entry.js → p-469f14db.entry.js} +2 -2
- package/dist/core/p-469f14db.entry.js.map +1 -0
- package/dist/core/p-4c02094d.entry.js +2 -0
- package/dist/core/p-4c02094d.entry.js.map +1 -0
- package/dist/core/{p-6f173022.entry.js → p-4d365881.entry.js} +2 -2
- package/dist/core/p-4d365881.entry.js.map +1 -0
- package/dist/core/p-4d36cd18.entry.js +2 -0
- package/dist/core/p-4d36cd18.entry.js.map +1 -0
- package/dist/core/p-4d902f20.entry.js +2 -0
- package/dist/core/p-4d902f20.entry.js.map +1 -0
- package/dist/core/p-4da8ac1d.entry.js +2 -0
- package/dist/core/p-4da8ac1d.entry.js.map +1 -0
- package/dist/core/p-511eed88.entry.js +2 -0
- package/dist/core/p-511eed88.entry.js.map +1 -0
- package/dist/core/{p-8655fd24.entry.js → p-5305e82e.entry.js} +2 -2
- package/dist/core/p-5305e82e.entry.js.map +1 -0
- package/dist/core/p-558e75a6.entry.js +2 -0
- package/dist/core/p-558e75a6.entry.js.map +1 -0
- package/dist/core/p-5721cf9b.entry.js.map +1 -1
- package/dist/core/p-57ca8ac7.entry.js +2 -0
- package/dist/core/p-57ca8ac7.entry.js.map +1 -0
- package/dist/core/{p-8161e1fe.entry.js → p-5c872d64.entry.js} +2 -2
- package/dist/core/p-5c872d64.entry.js.map +1 -0
- package/dist/core/p-5itQzbON.js.map +1 -1
- package/dist/core/p-65a09763.entry.js +2 -0
- package/dist/core/p-65a09763.entry.js.map +1 -0
- package/dist/core/{p-e7f889c7.entry.js → p-6b44890d.entry.js} +2 -2
- package/dist/core/p-6b44890d.entry.js.map +1 -0
- package/dist/core/p-6d2ce4c7.entry.js +2 -0
- package/dist/core/p-6d2ce4c7.entry.js.map +1 -0
- package/dist/core/{p-b3b517f0.entry.js → p-70b5555f.entry.js} +2 -2
- package/dist/core/p-70b5555f.entry.js.map +1 -0
- package/dist/core/p-73bd93f9.entry.js +2 -0
- package/dist/core/p-73bd93f9.entry.js.map +1 -0
- package/dist/core/p-852310d9.entry.js +2 -0
- package/dist/core/p-852310d9.entry.js.map +1 -0
- package/dist/core/p-90ab65b4.entry.js +2 -0
- package/dist/core/p-90ab65b4.entry.js.map +1 -0
- package/dist/core/{p-2cfa670d.entry.js → p-91cbee1b.entry.js} +2 -2
- package/dist/core/p-91cbee1b.entry.js.map +1 -0
- package/dist/core/p-9d9e9401.entry.js +2 -0
- package/dist/core/p-9d9e9401.entry.js.map +1 -0
- package/dist/core/p-B6CqPcY_.js.map +1 -1
- package/dist/core/p-BUmDydor.js.map +1 -1
- package/dist/core/p-BcQO4NH2.js.map +1 -1
- package/dist/core/p-BjcqOprh.js.map +1 -1
- package/dist/core/p-Bo1ROm5Q.js.map +1 -1
- package/dist/core/p-Bz_RzYFb.js.map +1 -1
- package/dist/core/p-C3R1T_pg.js.map +1 -1
- package/dist/core/p-C6JN9gdb.js.map +1 -1
- package/dist/core/p-CDIRBJsi.js.map +1 -1
- package/dist/core/p-CQvUntGY.js.map +1 -1
- package/dist/core/p-Ccwpa1ck.js.map +1 -1
- package/dist/core/p-CgDnDrq5.js.map +1 -1
- package/dist/core/p-Cjg0wpDG.js.map +1 -1
- package/dist/core/p-CoD1xawt.js.map +1 -1
- package/dist/core/p-Cx3bEC5v.js.map +1 -1
- package/dist/core/p-CzXeijOj.js.map +1 -1
- package/dist/core/p-D4TGB274.js.map +1 -1
- package/dist/core/p-DBXGhafv.js.map +1 -1
- package/dist/core/p-DNztiAH0.js.map +1 -1
- package/dist/core/p-DQuL1Twl.js.map +1 -1
- package/dist/core/p-DYcNEwSZ.js.map +1 -1
- package/dist/core/p-EeKNA85D.js.map +1 -1
- package/dist/core/p-GYov8gU1.js.map +1 -1
- package/dist/core/p-NOJjz9dT.js.map +1 -1
- package/dist/core/p-Q99QrOoi.js.map +1 -1
- package/dist/core/p-U40vKHrs.js.map +1 -1
- package/dist/core/p-a2c61d50.entry.js +2 -0
- package/dist/core/p-a2c61d50.entry.js.map +1 -0
- package/dist/core/p-abb7780e.entry.js +2 -0
- package/dist/core/p-abb7780e.entry.js.map +1 -0
- package/dist/core/p-bd2df430.entry.js +2 -0
- package/dist/core/p-bd2df430.entry.js.map +1 -0
- package/dist/core/p-bd389bfd.entry.js +2 -0
- package/dist/core/p-bd389bfd.entry.js.map +1 -0
- package/dist/core/{p-7387370c.entry.js → p-be9af807.entry.js} +2 -2
- package/dist/core/p-be9af807.entry.js.map +1 -0
- package/dist/core/p-bf573a56.entry.js +2 -0
- package/dist/core/p-bf573a56.entry.js.map +1 -0
- package/dist/core/p-c1b9f1ab.entry.js +2 -0
- package/dist/core/p-c1b9f1ab.entry.js.map +1 -0
- package/dist/core/{p-01bc645f.entry.js → p-c21bc8f9.entry.js} +2 -2
- package/dist/core/p-c21bc8f9.entry.js.map +1 -0
- package/dist/core/{p-dec65494.entry.js → p-c4734357.entry.js} +2 -2
- package/dist/core/p-c4734357.entry.js.map +1 -0
- package/dist/core/p-c6b55c0a.entry.js.map +1 -1
- package/dist/core/p-cd163299.entry.js +2 -0
- package/dist/core/p-cd163299.entry.js.map +1 -0
- package/dist/core/p-d43959a0.entry.js +2 -0
- package/dist/core/p-d43959a0.entry.js.map +1 -0
- package/dist/core/p-d9c574f0.entry.js +2 -0
- package/dist/core/p-d9c574f0.entry.js.map +1 -0
- package/dist/core/p-da997fb3.entry.js +2 -0
- package/dist/core/p-da997fb3.entry.js.map +1 -0
- package/dist/core/{p-017d6340.entry.js → p-db860031.entry.js} +2 -2
- package/dist/core/p-db860031.entry.js.map +1 -0
- package/dist/core/p-def34832.entry.js +2 -0
- package/dist/core/p-def34832.entry.js.map +1 -0
- package/dist/core/p-e30968b3.entry.js +2 -0
- package/dist/core/p-e30968b3.entry.js.map +1 -0
- package/dist/core/{p-e1b2af6b.entry.js → p-e39e5dc7.entry.js} +2 -2
- package/dist/core/p-e39e5dc7.entry.js.map +1 -0
- package/dist/core/p-eb3f6808.entry.js +2 -0
- package/dist/core/p-eb3f6808.entry.js.map +1 -0
- package/dist/core/{p-f58a20af.entry.js → p-eb766437.entry.js} +2 -2
- package/dist/core/p-eb766437.entry.js.map +1 -0
- package/dist/core/{p-495e25d8.entry.js → p-f3887d6d.entry.js} +2 -2
- package/dist/core/p-f3887d6d.entry.js.map +1 -0
- package/dist/core/p-f7bdb44a.entry.js.map +1 -1
- package/dist/core/p-fca7a0d6.entry.js +2 -0
- package/dist/core/p-fca7a0d6.entry.js.map +1 -0
- package/dist/core/p-vN03FcXN.js.map +1 -1
- package/dist/esm/Fragment-5itQzbON.js.map +1 -1
- package/dist/esm/accessibility-wqNV8djF.js.map +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
- package/dist/esm/array.utils-CJ0U_ONv.js.map +1 -1
- package/dist/esm/attribute-Bz_RzYFb.js.map +1 -1
- package/dist/esm/colors-U40vKHrs.js.map +1 -1
- package/dist/esm/constants-BNBB_29K.js.map +1 -1
- package/dist/esm/constants-BegH8u6i.js.map +1 -1
- package/dist/esm/constants-BiWo5BNa.js.map +1 -1
- package/dist/esm/constants-CysDgoMA.js.map +1 -1
- package/dist/esm/constants-DHvN41Ek.js.map +1 -1
- package/dist/esm/constants-DbTQsVRc.js.map +1 -1
- package/dist/esm/constants-Du0ZtfYe.js.map +1 -1
- package/dist/esm/constants-Q99QrOoi.js.map +1 -1
- package/dist/esm/constants-YOtDGTm5.js.map +1 -1
- package/dist/esm/constants-aqe7GX2n.js.map +1 -1
- package/dist/esm/constants-oYp2tkdN.js.map +1 -1
- package/dist/esm/form-DvhJiKwA.js.map +1 -1
- package/dist/esm/gov-accordion-item.entry.js +3 -3
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-accordion.entry.js.map +1 -1
- package/dist/esm/gov-attachments.gov-attachments-item.gov-form-message.entry.js.map +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-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-banner.entry.js +2 -2
- package/dist/esm/gov-banner.entry.js.map +1 -1
- package/dist/esm/gov-blockquote.entry.js +1 -1
- package/dist/esm/gov-blockquote.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +3 -3
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +1 -1
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +2 -2
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-collapsible.entry.js +2 -2
- package/dist/esm/gov-collapsible.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-container.entry.js.map +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js.map +1 -1
- package/dist/esm/gov-dialog.entry.js +1 -1
- package/dist/esm/gov-dialog.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-dropdown.entry.js.map +1 -1
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js.map +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js.map +1 -1
- package/dist/esm/gov-flex.gov-icon.gov-theme-switch.entry.js.map +1 -1
- package/dist/esm/gov-flex_3.entry.js +3 -3
- package/dist/esm/gov-flex_3.entry.js.map +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-control.entry.js.map +1 -1
- package/dist/esm/gov-form-file.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-group.entry.js.map +1 -1
- package/dist/esm/gov-form-input.gov-skeleton.entry.js.map +1 -1
- package/dist/esm/gov-form-input_2.entry.js +6 -6
- package/dist/esm/gov-form-input_2.entry.js.map +1 -1
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-label.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +2 -2
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-password-power.entry.js.map +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +1 -1
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js.map +1 -1
- package/dist/esm/gov-form-range.entry.js +2 -2
- package/dist/esm/gov-form-range.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-search.entry.js.map +1 -1
- package/dist/esm/gov-form-select.entry.js +2 -2
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid-item.entry.js.map +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js.map +1 -1
- package/dist/esm/gov-infobar.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout-column.entry.js.map +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js.map +1 -1
- package/dist/esm/gov-lifecycle.entry.js +1 -1
- package/dist/esm/gov-lifecycle.entry.js.map +1 -1
- package/dist/esm/gov-link.entry.js +1 -1
- package/dist/esm/gov-link.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-loading.entry.js.map +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-spacer.entry.js.map +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js.map +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js.map +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +1 -1
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +1 -1
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip_2.entry.js +3 -3
- package/dist/esm/gov-tooltip_2.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +2 -2
- package/dist/esm/gov-wizard-item.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +1 -1
- package/dist/esm/gov-wizard.entry.js.map +1 -1
- package/dist/esm/gov.log-BtqD9K8d.js.map +1 -1
- package/dist/esm/helpers-GYov8gU1.js.map +1 -1
- package/dist/esm/helpers.types-DNztiAH0.js.map +1 -1
- package/dist/esm/props-CJZgTDla.js.map +1 -1
- package/dist/esm/sizes-BcQO4NH2.js.map +1 -1
- package/dist/esm/stencil.utils-Cjg0wpDG.js.map +1 -1
- package/dist/esm/string.utils-vN03FcXN.js.map +1 -1
- package/dist/esm/template-CoD1xawt.js.map +1 -1
- package/dist/esm/utils-CQvUntGY.js.map +1 -1
- package/dist/esm/wcag-CD6_13JO.js.map +1 -1
- package/dist/globals.d.ts +2 -2
- package/dist/hydrate/index.js +75 -75
- package/dist/hydrate/index.mjs +75 -75
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/interfaces.d.ts +1 -1
- package/dist/types/types/typings.d.ts +6 -6
- package/dist/types/work/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
- package/package.json +29 -29
- package/dist/components/p-2_-up8FX.js.map +0 -1
- package/dist/components/p-9VlKyZSl.js.map +0 -1
- package/dist/components/p-BJnSrRNH.js.map +0 -1
- package/dist/components/p-Ba8Z-AIX.js.map +0 -1
- package/dist/components/p-BnxqJyb_.js +0 -2
- package/dist/components/p-BnxqJyb_.js.map +0 -1
- package/dist/components/p-CJnwyVlG.js +0 -2
- package/dist/components/p-CJnwyVlG.js.map +0 -1
- package/dist/components/p-CWqMiVYH.js.map +0 -1
- package/dist/components/p-CgXcNDpE.js +0 -2
- package/dist/components/p-CgXcNDpE.js.map +0 -1
- package/dist/components/p-D8QfVS4O.js.map +0 -1
- package/dist/components/p-DW1DKFMF.js.map +0 -1
- package/dist/components/p-DZJk8GrA.js.map +0 -1
- package/dist/components/p-DhGb8cBK.js.map +0 -1
- package/dist/components/p-_FzmpyXv.js.map +0 -1
- package/dist/core/p-017d6340.entry.js.map +0 -1
- package/dist/core/p-01bc645f.entry.js.map +0 -1
- package/dist/core/p-0e06af2b.entry.js +0 -2
- package/dist/core/p-0e06af2b.entry.js.map +0 -1
- package/dist/core/p-1375d52d.entry.js.map +0 -1
- package/dist/core/p-264cbd4e.entry.js +0 -2
- package/dist/core/p-264cbd4e.entry.js.map +0 -1
- package/dist/core/p-2cfa670d.entry.js.map +0 -1
- package/dist/core/p-33a62c22.entry.js +0 -2
- package/dist/core/p-33a62c22.entry.js.map +0 -1
- package/dist/core/p-37f6095e.entry.js.map +0 -1
- package/dist/core/p-3cf20b56.entry.js +0 -2
- package/dist/core/p-3cf20b56.entry.js.map +0 -1
- package/dist/core/p-46effc25.entry.js.map +0 -1
- package/dist/core/p-495e25d8.entry.js.map +0 -1
- package/dist/core/p-4aea131f.entry.js +0 -2
- package/dist/core/p-4aea131f.entry.js.map +0 -1
- package/dist/core/p-4ce8e721.entry.js +0 -2
- package/dist/core/p-4ce8e721.entry.js.map +0 -1
- package/dist/core/p-5283672a.entry.js +0 -2
- package/dist/core/p-5283672a.entry.js.map +0 -1
- package/dist/core/p-54209c57.entry.js +0 -2
- package/dist/core/p-54209c57.entry.js.map +0 -1
- package/dist/core/p-56dc11ba.entry.js +0 -2
- package/dist/core/p-56dc11ba.entry.js.map +0 -1
- package/dist/core/p-58911028.entry.js +0 -2
- package/dist/core/p-58911028.entry.js.map +0 -1
- package/dist/core/p-617b0dbe.entry.js +0 -2
- package/dist/core/p-617b0dbe.entry.js.map +0 -1
- package/dist/core/p-6781bfc0.entry.js +0 -2
- package/dist/core/p-6781bfc0.entry.js.map +0 -1
- package/dist/core/p-67d1e6e2.entry.js.map +0 -1
- package/dist/core/p-6e42a12a.entry.js +0 -2
- package/dist/core/p-6e42a12a.entry.js.map +0 -1
- package/dist/core/p-6f173022.entry.js.map +0 -1
- package/dist/core/p-7099beb0.entry.js +0 -2
- package/dist/core/p-7099beb0.entry.js.map +0 -1
- package/dist/core/p-715c0e2e.entry.js.map +0 -1
- package/dist/core/p-7387370c.entry.js.map +0 -1
- package/dist/core/p-768fe015.entry.js +0 -2
- package/dist/core/p-768fe015.entry.js.map +0 -1
- package/dist/core/p-7a3d4b6b.entry.js +0 -2
- package/dist/core/p-7a3d4b6b.entry.js.map +0 -1
- package/dist/core/p-7f4cf2f9.entry.js +0 -2
- package/dist/core/p-7f4cf2f9.entry.js.map +0 -1
- package/dist/core/p-8161e1fe.entry.js.map +0 -1
- package/dist/core/p-820eb0fb.entry.js +0 -2
- package/dist/core/p-820eb0fb.entry.js.map +0 -1
- package/dist/core/p-8655fd24.entry.js.map +0 -1
- package/dist/core/p-8f6172d4.entry.js +0 -2
- package/dist/core/p-8f6172d4.entry.js.map +0 -1
- package/dist/core/p-90cd5ffe.entry.js +0 -2
- package/dist/core/p-90cd5ffe.entry.js.map +0 -1
- package/dist/core/p-98314c19.entry.js +0 -2
- package/dist/core/p-98314c19.entry.js.map +0 -1
- package/dist/core/p-ac962619.entry.js +0 -2
- package/dist/core/p-ac962619.entry.js.map +0 -1
- package/dist/core/p-ae6d0bcd.entry.js +0 -2
- package/dist/core/p-ae6d0bcd.entry.js.map +0 -1
- package/dist/core/p-b3b517f0.entry.js.map +0 -1
- package/dist/core/p-b7306a6f.entry.js +0 -2
- package/dist/core/p-b7306a6f.entry.js.map +0 -1
- package/dist/core/p-b93548cc.entry.js.map +0 -1
- package/dist/core/p-be3bbe06.entry.js +0 -2
- package/dist/core/p-be3bbe06.entry.js.map +0 -1
- package/dist/core/p-cf06a38b.entry.js +0 -2
- package/dist/core/p-cf06a38b.entry.js.map +0 -1
- package/dist/core/p-dec65494.entry.js.map +0 -1
- package/dist/core/p-df09f0be.entry.js +0 -2
- package/dist/core/p-df09f0be.entry.js.map +0 -1
- package/dist/core/p-e0634fae.entry.js +0 -2
- package/dist/core/p-e0634fae.entry.js.map +0 -1
- package/dist/core/p-e1b2af6b.entry.js.map +0 -1
- package/dist/core/p-e29cd545.entry.js +0 -2
- package/dist/core/p-e29cd545.entry.js.map +0 -1
- package/dist/core/p-e5e7abe0.entry.js +0 -2
- package/dist/core/p-e5e7abe0.entry.js.map +0 -1
- package/dist/core/p-e7f889c7.entry.js.map +0 -1
- package/dist/core/p-ebd3d25f.entry.js +0 -2
- package/dist/core/p-ebd3d25f.entry.js.map +0 -1
- package/dist/core/p-f067af74.entry.js.map +0 -1
- package/dist/core/p-f58a20af.entry.js.map +0 -1
- package/dist/core/p-fe3bd57c.entry.js +0 -2
- package/dist/core/p-fe3bd57c.entry.js.map +0 -1
- package/dist/dist/components/gov-accordion-item.d.ts +0 -11
- package/dist/dist/components/gov-accordion.d.ts +0 -11
- package/dist/dist/components/gov-app.d.ts +0 -11
- package/dist/dist/components/gov-attachments-item.d.ts +0 -11
- package/dist/dist/components/gov-attachments.d.ts +0 -11
- package/dist/dist/components/gov-backdrop.d.ts +0 -11
- package/dist/dist/components/gov-banner.d.ts +0 -11
- package/dist/dist/components/gov-blockquote.d.ts +0 -11
- package/dist/dist/components/gov-breadcrumbs.d.ts +0 -11
- package/dist/dist/components/gov-button.d.ts +0 -11
- package/dist/dist/components/gov-card.d.ts +0 -11
- package/dist/dist/components/gov-chip.d.ts +0 -11
- package/dist/dist/components/gov-collapsible.d.ts +0 -11
- package/dist/dist/components/gov-container.d.ts +0 -11
- package/dist/dist/components/gov-control-group.d.ts +0 -11
- package/dist/dist/components/gov-cookiebar.d.ts +0 -11
- package/dist/dist/components/gov-dialog.d.ts +0 -11
- package/dist/dist/components/gov-dropdown.d.ts +0 -11
- package/dist/dist/components/gov-empty.d.ts +0 -11
- package/dist/dist/components/gov-error-code.d.ts +0 -11
- package/dist/dist/components/gov-flex.d.ts +0 -11
- package/dist/dist/components/gov-form-autocomplete.d.ts +0 -11
- package/dist/dist/components/gov-form-checkbox-group.d.ts +0 -11
- package/dist/dist/components/gov-form-checkbox.d.ts +0 -11
- package/dist/dist/components/gov-form-control.d.ts +0 -11
- package/dist/dist/components/gov-form-file.d.ts +0 -11
- package/dist/dist/components/gov-form-group.d.ts +0 -11
- package/dist/dist/components/gov-form-input.d.ts +0 -11
- package/dist/dist/components/gov-form-label.d.ts +0 -11
- package/dist/dist/components/gov-form-message.d.ts +0 -11
- package/dist/dist/components/gov-form-multi-select.d.ts +0 -11
- package/dist/dist/components/gov-form-password-power.d.ts +0 -11
- package/dist/dist/components/gov-form-radio-group.d.ts +0 -11
- package/dist/dist/components/gov-form-radio.d.ts +0 -11
- package/dist/dist/components/gov-form-range.d.ts +0 -11
- package/dist/dist/components/gov-form-search.d.ts +0 -11
- package/dist/dist/components/gov-form-select.d.ts +0 -11
- package/dist/dist/components/gov-form-switch.d.ts +0 -11
- package/dist/dist/components/gov-grid-item.d.ts +0 -11
- package/dist/dist/components/gov-grid.d.ts +0 -11
- package/dist/dist/components/gov-icon.d.ts +0 -11
- package/dist/dist/components/gov-infobar.d.ts +0 -11
- package/dist/dist/components/gov-layout-column.d.ts +0 -11
- package/dist/dist/components/gov-layout.d.ts +0 -11
- package/dist/dist/components/gov-lifecycle.d.ts +0 -11
- package/dist/dist/components/gov-link.d.ts +0 -11
- package/dist/dist/components/gov-loading.d.ts +0 -11
- package/dist/dist/components/gov-message.d.ts +0 -11
- package/dist/dist/components/gov-pagination.d.ts +0 -11
- package/dist/dist/components/gov-skeleton.d.ts +0 -11
- package/dist/dist/components/gov-spacer.d.ts +0 -11
- package/dist/dist/components/gov-stepper-item.d.ts +0 -11
- package/dist/dist/components/gov-stepper.d.ts +0 -11
- package/dist/dist/components/gov-tabs-item.d.ts +0 -11
- package/dist/dist/components/gov-tabs.d.ts +0 -11
- package/dist/dist/components/gov-tag.d.ts +0 -11
- package/dist/dist/components/gov-theme-switch.d.ts +0 -11
- package/dist/dist/components/gov-tile.d.ts +0 -11
- package/dist/dist/components/gov-toast.d.ts +0 -11
- package/dist/dist/components/gov-tooltip-content.d.ts +0 -11
- package/dist/dist/components/gov-tooltip.d.ts +0 -11
- package/dist/dist/components/gov-wizard-item.d.ts +0 -11
- package/dist/dist/components/gov-wizard.d.ts +0 -11
- package/dist/dist/components/index.d.ts +0 -33
- package/dist/dist/dist/components/index.d.ts +0 -33
- package/dist/dist/dist/globals.d.ts +0 -2
- package/dist/dist/dist/hydrate/index.d.ts +0 -273
- package/dist/dist/dist/types/interfaces.d.ts +0 -1
- package/dist/dist/dist/types/stencil-public-runtime.d.ts +0 -1702
- package/dist/dist/globals.d.ts +0 -2
- package/dist/dist/hydrate/index.d.ts +0 -273
- package/dist/dist/types/components/gov-accordion/constants.d.ts +0 -19
- package/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -43
- package/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -26
- package/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
- package/dist/dist/types/components/gov-attachments/constants.d.ts +0 -11
- package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
- package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
- package/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
- package/dist/dist/types/components/gov-backdrop/constants.d.ts +0 -4
- package/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -32
- package/dist/dist/types/components/gov-banner/constants.d.ts +0 -26
- package/dist/dist/types/components/gov-banner/gov-banner.d.ts +0 -28
- package/dist/dist/types/components/gov-blockquote/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +0 -15
- package/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
- package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
- package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -42
- package/dist/dist/types/components/gov-button/button/constants.d.ts +0 -29
- package/dist/dist/types/components/gov-button/button/gov-button.d.ts +0 -133
- package/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +0 -4
- package/dist/dist/types/components/gov-button/dropdown/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +0 -40
- package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +0 -4
- package/dist/dist/types/components/gov-card/constants.d.ts +0 -16
- package/dist/dist/types/components/gov-card/gov-card.d.ts +0 -57
- package/dist/dist/types/components/gov-card/interfaces.d.ts +0 -4
- package/dist/dist/types/components/gov-chip/constants.d.ts +0 -21
- package/dist/dist/types/components/gov-chip/gov-chip.d.ts +0 -82
- package/dist/dist/types/components/gov-collapsible/constants.d.ts +0 -18
- package/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +0 -36
- package/dist/dist/types/components/gov-container/constants.d.ts +0 -3
- package/dist/dist/types/components/gov-container/gov-container.d.ts +0 -6
- package/dist/dist/types/components/gov-control-group/constants.d.ts +0 -7
- package/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +0 -24
- package/dist/dist/types/components/gov-cookiebar/constants.d.ts +0 -7
- package/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
- package/dist/dist/types/components/gov-dialog/constants.d.ts +0 -11
- package/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +0 -70
- package/dist/dist/types/components/gov-empty/constants.d.ts +0 -19
- package/dist/dist/types/components/gov-empty/gov-empty.d.ts +0 -21
- package/dist/dist/types/components/gov-error-code/constants.d.ts +0 -4
- package/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
- package/dist/dist/types/components/gov-flex/constants.d.ts +0 -7
- package/dist/dist/types/components/gov-flex/gov-flex.d.ts +0 -39
- package/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -11
- package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -149
- package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
- package/dist/dist/types/components/gov-form/checkbox/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -86
- package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
- package/dist/dist/types/components/gov-form/control/constants.d.ts +0 -9
- package/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -40
- package/dist/dist/types/components/gov-form/file/constants.d.ts +0 -7
- package/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -129
- package/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
- package/dist/dist/types/components/gov-form/group/constants.d.ts +0 -18
- package/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +0 -32
- package/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -18
- package/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +0 -7
- package/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +0 -32
- package/dist/dist/types/components/gov-form/input/constants.d.ts +0 -28
- package/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -178
- package/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
- package/dist/dist/types/components/gov-form/label/constants.d.ts +0 -8
- package/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
- package/dist/dist/types/components/gov-form/message/constants.d.ts +0 -11
- package/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -23
- package/dist/dist/types/components/gov-form/multiselect/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -127
- package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -10
- package/dist/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
- package/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
- package/dist/dist/types/components/gov-form/radio/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -83
- package/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
- package/dist/dist/types/components/gov-form/range/constants.d.ts +0 -9
- package/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +0 -116
- package/dist/dist/types/components/gov-form/search/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -13
- package/dist/dist/types/components/gov-form/select/constants.d.ts +0 -8
- package/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -89
- package/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -9
- package/dist/dist/types/components/gov-form/switch/constants.d.ts +0 -12
- package/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -81
- package/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
- package/dist/dist/types/components/gov-grid/constants.d.ts +0 -10
- package/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -46
- package/dist/dist/types/components/gov-grid/gov-grid.d.ts +0 -19
- package/dist/dist/types/components/gov-icon/constants.d.ts +0 -18
- package/dist/dist/types/components/gov-icon/gov-icon.d.ts +0 -34
- package/dist/dist/types/components/gov-icon/helpers.d.ts +0 -6
- package/dist/dist/types/components/gov-icon/list.d.ts +0 -3
- package/dist/dist/types/components/gov-infobar/constants.d.ts +0 -16
- package/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +0 -51
- package/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +0 -4
- package/dist/dist/types/components/gov-layout/constants.d.ts +0 -20
- package/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
- package/dist/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
- package/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +0 -14
- package/dist/dist/types/components/gov-link/constants.d.ts +0 -8
- package/dist/dist/types/components/gov-link/gov-link.d.ts +0 -34
- package/dist/dist/types/components/gov-loading/loading/constants.d.ts +0 -9
- package/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -13
- package/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -21
- package/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -46
- package/dist/dist/types/components/gov-message/constants.d.ts +0 -13
- package/dist/dist/types/components/gov-message/gov-message.d.ts +0 -16
- package/dist/dist/types/components/gov-pagination/constants.d.ts +0 -22
- package/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -97
- package/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
- package/dist/dist/types/components/gov-pagination/pagination.d.ts +0 -12
- package/dist/dist/types/components/gov-spacer/constants.d.ts +0 -15
- package/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
- package/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +0 -21
- package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +0 -4
- package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +0 -31
- package/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +0 -22
- package/dist/dist/types/components/gov-tabs/constants.d.ts +0 -28
- package/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -54
- package/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -70
- package/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -14
- package/dist/dist/types/components/gov-tag/constants.d.ts +0 -12
- package/dist/dist/types/components/gov-tag/gov-tag.d.ts +0 -35
- package/dist/dist/types/components/gov-theme-switch/constants.d.ts +0 -12
- package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +0 -46
- package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +0 -10
- package/dist/dist/types/components/gov-tile/constants.d.ts +0 -13
- package/dist/dist/types/components/gov-tile/gov-tile.d.ts +0 -34
- package/dist/dist/types/components/gov-toast/constants.d.ts +0 -17
- package/dist/dist/types/components/gov-toast/gov-toast.d.ts +0 -58
- package/dist/dist/types/components/gov-tooltip/constants.d.ts +0 -20
- package/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -28
- package/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -58
- package/dist/dist/types/components/gov-wizard/constants.d.ts +0 -19
- package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +0 -4
- package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +0 -60
- package/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +0 -4
- package/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +0 -35
- package/dist/dist/types/core/constants/colors.d.ts +0 -13
- package/dist/dist/types/core/constants/sizes.d.ts +0 -13
- package/dist/dist/types/core/constants/tags.d.ts +0 -12
- package/dist/dist/types/core/constants/tokens.d.ts +0 -1
- package/dist/dist/types/helpers/Accessibility/accessibility.d.ts +0 -1
- package/dist/dist/types/helpers/Accessibility/attributes.d.ts +0 -1
- package/dist/dist/types/helpers/Dom/attribute.d.ts +0 -13
- package/dist/dist/types/helpers/Dom/document.d.ts +0 -4
- package/dist/dist/types/helpers/Dom/form.d.ts +0 -3
- package/dist/dist/types/helpers/Dom/form.types.d.ts +0 -11
- package/dist/dist/types/helpers/Dom/template.d.ts +0 -10
- package/dist/dist/types/helpers/Dom/template.types.d.ts +0 -14
- package/dist/dist/types/helpers/Dom/win.d.ts +0 -18
- package/dist/dist/types/helpers/Fragment.d.ts +0 -2
- package/dist/dist/types/helpers/Log/gov.log.d.ts +0 -8
- package/dist/dist/types/helpers/Validate/props.d.ts +0 -1
- package/dist/dist/types/helpers/Validate/wcag.d.ts +0 -4
- package/dist/dist/types/index.d.ts +0 -0
- package/dist/dist/types/interfaces.d.ts +0 -1
- package/dist/dist/types/stencil-public-runtime.d.ts +0 -1702
- package/dist/dist/types/types/event.types.d.ts +0 -4
- package/dist/dist/types/types/interfaces.d.ts +0 -2
- package/dist/dist/types/types/typings.d.ts +0 -6
- package/dist/dist/types/utils/array.utils.d.ts +0 -2
- package/dist/dist/types/utils/bool.utils.d.ts +0 -1
- package/dist/dist/types/utils/dom.utils.d.ts +0 -1
- package/dist/dist/types/utils/ds.utils.d.ts +0 -1
- package/dist/dist/types/utils/file.utils.d.ts +0 -3
- package/dist/dist/types/utils/helpers.types.d.ts +0 -49
- package/dist/dist/types/utils/icon.utils.d.ts +0 -4
- package/dist/dist/types/utils/number.utils.d.ts +0 -1
- package/dist/dist/types/utils/object.utils.d.ts +0 -2
- package/dist/dist/types/utils/stencil.utils.d.ts +0 -1
- package/dist/dist/types/utils/string.utils.d.ts +0 -4
- package/dist/dist/types/utils/utils.d.ts +0 -20
- package/dist/types/Users/KameraT/Desktop/Projects/DIA/Sarka/designSystemFinal/gov-design-system/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-collapsible.js","sourceRoot":"","sources":["../../../../../../src/components/gov-collapsible/gov-collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC7E,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,GAAwB,MAAM,aAAa,CAAA;AACrF,OAAO,EAAC,aAAa,EAAE,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAEjE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,iBAAiB,EAAa,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAC,cAAc,EAAC,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAC,qBAAqB,EAAC,MAAM,2CAA2C,CAAC;AAMhF,MAAM,OAAO,cAAc;IAO1B;QALQ,aAAQ,GAAG,KAAK,CAAA;QAYxB;;WAEG;QACc,SAAI,GAA0B,GAAG,CAAA;QAOlD;;WAEG;QACc,aAAQ,GAAY,KAAK,CAAA;QAC1C;;WAEG;QACuC,SAAI,GAAG,KAAK,CAAA;QAE7C,wBAAmB,GAAe,EAAE,CAAA;QAzB5C,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,SAAS,GAAG,QAAQ,C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gB,CAAC,QAAQ,CAAC,CAAC,EAC1F,IAAI,EAAE,IAAI,CAAC,IAAI;YACjB,iFAAY,KAAK,EAAE,SAAS,EACzB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,IAAI,CAAC,QAAQ,iBACV,CAAC,CAAC,EAAE,EAAE;oBAClB,CAAC,CAAC,eAAe,EAAE,CAAC;oBACpB,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;gBACxB,CAAC,IACG,IAAI,CAAC,mBAAmB,IAC5B,UAAU,EAAE,IAAI,CAAC,SAAS,mBACX,IAAI,CAAC,SAAS,mBACd,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,mBACzB,MAAM;gBACrB,IAAI,CAAC,KAAK;gBACX,iEAAU,IAAI,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,EAC/C,IAAI,EAAC,YAAY,GAAY,CACrB;YAEb,4DAAK,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAClC,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,EAClB,EAAE,EAAE,IAAI,CAAC,SAAS,qBACD,IAAI,CAAC,SAAS,iBAClB,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBACvC,8DAAO,CACF,CACA,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Prop, State, Watch} from '@stencil/core'\
|
|
1
|
+
{"version":3,"file":"gov-collapsible.js","sourceRoot":"","sources":["../../../../../../src/components/gov-collapsible/gov-collapsible.tsx"],"names":[],"mappings":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,IACG,IAAI,CAAC,mBAAmB,IAC5B,UAAU,EAAE,IAAI,CAAC,SAAS,mBACX,IAAI,CAAC,SAAS,mBACd,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,mBACzB,MAAM;gBACrB,IAAI,CAAC,KAAK;gBACX,iEAAU,IAAI,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,EAC/C,IAAI,EAAC,YAAY,GAAY,CACrB;YAEb,4DAAK,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAClC,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,EAClB,EAAE,EAAE,IAAI,CAAC,SAAS,qBACD,IAAI,CAAC,SAAS,iBAClB,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBACvC,8DAAO,CACF,CACA,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Prop, State, Watch} from '@stencil/core'\nimport {CollapsibleClass, CollapsibleSizes, CollapsibleSizesType,} from './constants'\nimport {booleanString, govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {createID} from \"../../utils/string.utils\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n\n@Component({\n\ttag: 'gov-collapsible',\n})\nexport class GovCollapsible {\n\tprivate h: GovHost\n\tprivate hydrated = false\n\tprivate readonly triggerId: string\n\tprivate readonly contentId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.triggerId = createID(\"GovCollapsibleControl\")\n\t\tthis.contentId = createID(\"GovCollapsibleContent\")\n\t}\n\n\t@Element() host: HTMLGovCollapsibleElement\n\t/**\n\t * Element size.\n\t */\n\t@Prop() readonly size?: CollapsibleSizesType = 'm'\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\n\t@Prop() readonly label: string\n\t/**\n\t * Makes component disabled.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Defines whether the collapsible is open or closed\n\t */\n\t@Prop({attribute: \"open\", mutable: true}) open = false\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(CollapsibleSizes, newValue, CollapsibleClass.root)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host hydrated={this.hydrated}\n\t\t\t\t class={this.h.classes([CollapsibleClass.root, this.disabled && CollapsibleClass.disabled])}\n\t\t\t\t size={this.size}>\n\t\t\t\t<gov-button color={'primary'}\n\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\ttype={'link'}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonGov-click={(e) => {\n\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tthis.open = !this.open;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\tidentifier={this.triggerId}\n\t\t\t\t\t\t\taria-controls={this.contentId}\n\t\t\t\t\t\t\taria-expanded={booleanString(this.open)}\n\t\t\t\t\t\t\taria-haspopup=\"true\">\n\t\t\t\t\t{this.label}\n\t\t\t\t\t<gov-icon slot={'icon-end'}\n\t\t\t\t\t\t\t name={this.open ? 'chevron-up' : 'chevron-down'}\n\t\t\t\t\t\t\t type=\"components\"></gov-icon>\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={CollapsibleClass.content}\n\t\t\t\t\t hidden={!this.open}\n\t\t\t\t\t id={this.contentId}\n\t\t\t\t\t aria-labelledby={this.triggerId}\n\t\t\t\t\t aria-hidden={booleanString(!this.open)}>\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-container/constants.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,IAAI,EAAE,eAAe;CACrB,CAAA","sourcesContent":["export const ContainerClass = {\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-container/constants.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,IAAI,EAAE,eAAe;CACrB,CAAA","sourcesContent":["export const ContainerClass = {\n\troot: 'gov-container',\n}\n"]}
|
|
@@ -6,7 +6,7 @@ export class GovContainer {
|
|
|
6
6
|
this.h = govHost(this.host);
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '57f372b12f582a563cd0191ccac3574a54fa026f', class: this.h.classes(ContainerClass.root) }, h("slot", { key: 'ee902cd336fe794ee49d655b59054dbd3c852036' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "gov-container"; }
|
|
12
12
|
static get elementRef() { return "host"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-container.js","sourceRoot":"","sources":["../../../../../../src/components/gov-container/gov-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAK5C,MAAM,OAAO,YAAY;IAGxB;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAID,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC;YAC/C,8DAAQ,CACF,CACP,CAAA;IACF,CAAC;;;CACD","sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\
|
|
1
|
+
{"version":3,"file":"gov-container.js","sourceRoot":"","sources":["../../../../../../src/components/gov-container/gov-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAK5C,MAAM,OAAO,YAAY;IAGxB;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAID,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC;YAC/C,8DAAQ,CACF,CACP,CAAA;IACF,CAAC;;;CACD","sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { ContainerClass } from './constants'\n\n@Component({\n\ttag: 'gov-container',\n})\nexport class GovContainer {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovContainerElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ContainerClass.root)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-control-group/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;AAG/E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,IAAI,EAAE,mBAAmB;CACzB,CAAA","sourcesContent":["import { Colors } from '../../core/constants/colors'\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-control-group/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;AAG/E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,IAAI,EAAE,mBAAmB;CACzB,CAAA","sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\n\nexport const ControlGroupColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR'])\nexport type ControlGroupColorType = `${ValueOf<typeof ControlGroupColors>}`\n\nexport const ControlGroupClass = {\n\troot: 'gov-control-group',\n}\n"]}
|
|
@@ -27,7 +27,7 @@ export class GovControlGroup {
|
|
|
27
27
|
validateProp(Colors, newValue, ControlGroupClass.root);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'be061d7c1f49481bc31a0a8b8222eacc044051e3', class: this.h.classes(ControlGroupClass.root), color: this.color }, h("slot", { key: '1af88c06c1f92db2c34727a87a7acac4abf895c1' })));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "gov-control-group"; }
|
|
33
33
|
static get properties() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-control-group.js","sourceRoot":"","sources":["../../../../../../src/components/gov-control-group/gov-control-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAyB,MAAM,aAAa,CAAA;AAKtE,MAAM,OAAO,eAAe;IAG3B;QAKA;;WAEG;QACc,UAAK,GAA0B,MAAM,CAAC,OAAO,CAAA;QAC9D;;WAEG;QACwC,aAAQ,GAAY,KAAK,CAAA;QACpE;;WAEG;QAC8C,kBAAa,GAAY,KAAK,CAAA;QAC/E;;WAEG;QAC0C,eAAU,GAAY,KAAK,CAAA;QAnBvE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAqBD,aAAa,CAAC,QAAgB;QAC7B,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAA;IACvD,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDACJ,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAC7C,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,8DAAQ,CACF,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, h, Host, Prop, Watch } from \"@stencil/core\"\
|
|
1
|
+
{"version":3,"file":"gov-control-group.js","sourceRoot":"","sources":["../../../../../../src/components/gov-control-group/gov-control-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAyB,MAAM,aAAa,CAAA;AAKtE,MAAM,OAAO,eAAe;IAG3B;QAKA;;WAEG;QACc,UAAK,GAA0B,MAAM,CAAC,OAAO,CAAA;QAC9D;;WAEG;QACwC,aAAQ,GAAY,KAAK,CAAA;QACpE;;WAEG;QAC8C,kBAAa,GAAY,KAAK,CAAA;QAC/E;;WAEG;QAC0C,eAAU,GAAY,KAAK,CAAA;QAnBvE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAqBD,aAAa,CAAC,QAAgB;QAC7B,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAA;IACvD,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDACJ,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAC7C,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,8DAAQ,CACF,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, h, Host, Prop, Watch } from \"@stencil/core\"\nimport { Colors } from \"../../core/constants/colors\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { ControlGroupClass, ControlGroupColorType } from \"./constants\"\n\n@Component({\n\ttag: \"gov-control-group\",\n})\nexport class GovControlGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovControlGroupElement\n\t/**\n\t * Style variation of the content message.\n\t */\n\t@Prop() readonly color: ControlGroupColorType = Colors.NEUTRAL\n\t/**\n\t * Specifies the display of the border between elements\n\t */\n\t@Prop({ attribute: \"no-border\" }) readonly noBorder: boolean = false\n\t/**\n\t * Specifies the display of the border between elements\n\t */\n\t@Prop({ attribute: \"no-inner-border\" }) readonly noInnerBorder: boolean = false\n\t/**\n\t * Specifies the display of elements to full width\n\t */\n\t@Prop({ attribute: \"fit-content\" }) readonly fitContent: boolean = false\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(Colors, newValue, ControlGroupClass.root)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ControlGroupClass.root)}\n\t\t\t\tcolor={this.color}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-cookiebar/constants.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,wBAAwB;IACjC,cAAc,EAAE,iCAAiC;IACjD,gBAAgB,EAAE,mCAAmC;CACrD,CAAA","sourcesContent":["export const CookieConsentClass = {\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-cookiebar/constants.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,wBAAwB;IACjC,cAAc,EAAE,iCAAiC;IACjD,gBAAgB,EAAE,mCAAmC;CACrD,CAAA","sourcesContent":["export const CookieConsentClass = {\n\troot: 'gov-cookiebar',\n\tcontent: 'gov-cookiebar__content',\n\tactions: 'gov-cookiebar__actions',\n\tactionsPrimary: 'gov-cookiebar__actions--primary',\n\tactionsSecondary: 'gov-cookiebar__actions--secondary',\n}\n"]}
|
|
@@ -6,7 +6,7 @@ export class GovCookiebar {
|
|
|
6
6
|
this.h = govHost(this.host);
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '3080237f7f776dbb4f984e7562c42da7634bf0d0', class: this.h.classes(CookieConsentClass.root) }, h("div", { key: '54c4ae5e1ea5249fec0268dc42df515c1fb75e07', class: CookieConsentClass.content }, h("slot", { key: 'ed6fa45135ede9ef8a07c7e2d57076bb9b8ada9f', name: "headline" }), h("slot", { key: 'c9b8eb4aeee524aa94fc91acef36bd7773d85432' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (h("div", { key: '2e323a07712c2981add9181cc0e7f2e4682b5335', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (h("div", { key: 'fc63030056a1f625fe8d8fbc800296b1289afe29', class: CookieConsentClass.actionsPrimary }, h("slot", { key: '785adc2aced7347a3360c769ff3099ee434b3fc8', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (h("div", { key: 'a078d1d4d7c6183bb8827d77cdcf844359d4cbdb', class: CookieConsentClass.actionsSecondary }, h("slot", { key: '85c98084bf4a36f6669f84e35ea3c578edb19fa1', name: "actions-secondary" })))))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "gov-cookiebar"; }
|
|
12
12
|
static get elementRef() { return "host"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-cookiebar.js","sourceRoot":"","sources":["../../../../../../src/components/gov-cookiebar/gov-cookiebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAKhD,MAAM,OAAO,YAAY;IAGxB;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAID,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC;YACnD,4DAAK,KAAK,EAAE,kBAAkB,CAAC,OAAO;gBACrC,6DAAM,IAAI,EAAC,UAAU,GAAG;gBACxB,8DAAQ,CACH;YAEL,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAC9E,4DAAK,KAAK,EAAE,kBAAkB,CAAC,OAAO;gBACpC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CACrC,4DAAK,KAAK,EAAE,kBAAkB,CAAC,cAAc;oBAC5C,6DAAM,IAAI,EAAC,iBAAiB,GAAG,CAC1B,CACN;gBAEA,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,CACvC,4DAAK,KAAK,EAAE,kBAAkB,CAAC,gBAAgB;oBAC9C,6DAAM,IAAI,EAAC,mBAAmB,GAAG,CAC5B,CACN,CACI,CACN,CACK,CACP,CAAA;IACF,CAAC;;;CACD","sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\
|
|
1
|
+
{"version":3,"file":"gov-cookiebar.js","sourceRoot":"","sources":["../../../../../../src/components/gov-cookiebar/gov-cookiebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAKhD,MAAM,OAAO,YAAY;IAGxB;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAID,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC;YACnD,4DAAK,KAAK,EAAE,kBAAkB,CAAC,OAAO;gBACrC,6DAAM,IAAI,EAAC,UAAU,GAAG;gBACxB,8DAAQ,CACH;YAEL,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAC9E,4DAAK,KAAK,EAAE,kBAAkB,CAAC,OAAO;gBACpC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CACrC,4DAAK,KAAK,EAAE,kBAAkB,CAAC,cAAc;oBAC5C,6DAAM,IAAI,EAAC,iBAAiB,GAAG,CAC1B,CACN;gBAEA,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,IAAI,CACvC,4DAAK,KAAK,EAAE,kBAAkB,CAAC,gBAAgB;oBAC9C,6DAAM,IAAI,EAAC,mBAAmB,GAAG,CAC5B,CACN,CACI,CACN,CACK,CACP,CAAA;IACF,CAAC;;;CACD","sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { CookieConsentClass } from './constants'\n\n@Component({\n\ttag: 'gov-cookiebar',\n})\nexport class GovCookiebar {\n\th: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovCookiebarElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(CookieConsentClass.root)}>\n\t\t\t\t<div class={CookieConsentClass.content}>\n\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\n\t\t\t\t{(this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (\n\t\t\t\t\t<div class={CookieConsentClass.actions}>\n\t\t\t\t\t\t{this.h.hasSlot('actions-primary') && (\n\t\t\t\t\t\t\t<div class={CookieConsentClass.actionsPrimary}>\n\t\t\t\t\t\t\t\t<slot name=\"actions-primary\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this.h.hasSlot('actions-secondary') && (\n\t\t\t\t\t\t\t<div class={CookieConsentClass.actionsSecondary}>\n\t\t\t\t\t\t\t\t<slot name=\"actions-secondary\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-dialog/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,OAAO,EAAE,YAAY;CACrB,CAAA","sourcesContent":["export const DialogClass = {\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-dialog/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,OAAO,EAAE,qBAAqB;IAC9B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,OAAO,EAAE,YAAY;CACrB,CAAA","sourcesContent":["export const DialogClass = {\n\troot: 'gov-dialog',\n\tdialog: 'gov-dialog__dialog',\n\tinner: 'gov-dialog__inner',\n\theader: 'gov-dialog__header',\n\ttitle: 'gov-dialog__title',\n\tcontent: 'gov-dialog__content',\n\tclose: 'gov-dialog__close',\n\tfooter: 'gov-dialog__footer',\n\tbodyFix: 'body-fixed',\n}\n"]}
|
|
@@ -109,7 +109,7 @@ export class GovDialog {
|
|
|
109
109
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
110
110
|
}
|
|
111
111
|
render() {
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: '1b4a7fbbf75675be26754a29aeadf8943af6e372', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, h("dialog", { key: '75df8bc2428485b6bc5a2ed21f334ff897a26f19', ref: el => (this.dialogRef = el), 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 }, h("div", { key: '7a8c1ff8172fcb3e2e6ed342baf38018b7603b4c', class: DialogClass.inner }, h("div", { key: 'b84fec4ad89efe420beede090a20bfdff6f47457', class: DialogClass.header }, this.h.hasSlot("icon") && (h("span", { key: '931cc48c446af90837a58bd83bfc30e9c54ad787' }, h("slot", { key: '088523bcc3debf0144195c21faa89f9f5ab8dd31', name: "icon" }))), this.h.hasSlot('title') && (h("span", { key: 'd38ca38a8b269f5a4f18ea2c8b0d833ac1614f43', class: DialogClass.title, id: this.labelId }, h("slot", { key: '7bdc841090ba66fb9dab50d3ae1af8308fd4dddb', name: "title" }))), h("gov-button", { key: '89dddfec62b770915b1e841b65a3727a399ac454', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", size: "m", "on-gov-click": this.onCloseHandler.bind(this) }, h("gov-icon", { key: 'b4446a4fb10351aa2c263c1e09c7f821096e780f', slot: "icon-start", name: "x-lg", type: "components" }))), h("div", { key: '5c2a71245e7cd6e5ffebc317b79c16b299de1674', class: DialogClass.content, id: this.contentId }, h("slot", { key: 'd2bb335499547d7799316f2c9016569375eed7f4' })), this.h.hasSlot('footer') && (h("div", { key: '154d7917e898162f0fdaad2fa4007fccdec820c6', class: DialogClass.footer }, h("slot", { key: '45272652b42b67f1f1bc88f256c20eba35fe1f69', name: "footer" }))))), this.open ? (h("gov-backdrop", { disabled: this.blockBackdropClose, "aria-label": this.accessibleCloseLabel, "aria-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
113
113
|
}
|
|
114
114
|
onCloseHandler(e) {
|
|
115
115
|
e.stopPropagation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-dialog.js","sourceRoot":"","sources":["../../../../../../src/components/gov-dialog/gov-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAC,gBAAgB,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,4BAA4B,CAAA;AAEhF,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAA;AAE3D,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAA;AACvC,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAC;AAC/C,OAAO,EAAC,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAK3D,MAAM,OAAO,SAAS;IASrB;QALQ,aAAQ,GAAG,KAAK,CAAC;QAazB;;WAEG;QACmC,SAAI,GAAG,KAAK,CAAA;QAClD;;WAEG;QAC+B,eAAU,GAAG,KAAK,CAAA;QACpD;;WAEG;QACwC,uBAAkB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,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,CAAC,CAAC,cAAc,EAAE,CAAA;QAClB,IAAI,IAAI,CAAC,UAAU,KAAK,KAAK,EAAE,CAAC;YAC/B,IAAI,CAAC,UAAU,EAAE,CAAA;YACjB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QACtB,CAAC;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,QAAQ;QACb,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACnC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAA;QACpC,CAAC;IACF,CAAC;IAGD;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,eAAe,CAAC,IAAI,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;QACtF,eAAe,CAAC,IAAI,CAAC,qBAAqB,EAAE,yBAAyB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;IACzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\r\nimport {boolToFocusValue, govHost, toBoolAttr} from '../../helpers/Dom/template'\r\nimport {GovHost} from '../../helpers/Dom/template.types'\r\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\r\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\r\nimport {Nullable} from '../../types/interfaces'\r\nimport {createID} from '../../utils/string.utils'\r\nimport {DialogClass} from './constants'\r\nimport {tick} from \"../../utils/stencil.utils\";\r\nimport {getFocusableElements} from \"../../utils/dom.utils\";\r\n\r\n@Component({\r\n\ttag: 'gov-dialog',\r\n})\r\nexport class GovDialog {\r\n\tprivate h: GovHost\r\n\tprivate readonly labelId: string\r\n\tprivate readonly contentId: string\r\n\tprivate hydrated = false;\r\n\tprivate closeCtaRef?: HTMLGovButtonElement\r\n\tprivate dialogRef?: HTMLDialogElement;\r\n\tprivate lastActiveElementRef?: HTMLElement;\r\n\r\n\tconstructor() {\r\n\t\tthis.h = govHost(this.host)\r\n\t\tthis.labelId = createID('GovDialogLabel')\r\n\t\tthis.contentId = createID('GovDialogContent')\r\n\t}\r\n\r\n\t@Element() host: HTMLGovDialogElement\r\n\r\n\t/**\r\n\t * Attribute for dialog window display\r\n\t */\r\n\t@Prop({mutable: true, reflect: true}) open = false\r\n\t/**\r\n\t * Attribute allowing blocking the dialog closing\r\n\t */\r\n\t@Prop({attribute: 'block-close'}) blockClose = false\r\n\t/**\r\n\t * Attribute allowing blocking the backdrop dialog closing\r\n\t */\r\n\t@Prop({attribute: 'block-backdrop-close'}) blockBackdropClose = false\r\n\t/**\r\n\t * Role of dialog\r\n\t */\r\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\r\n\t/**\r\n\t * Used to change the HTML tag in the dialog label for correct semantic structure\r\n\t */\r\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\r\n\t/**\r\n\t * String of id's that indicates alternative labels elements\r\n\t */\r\n\t@Prop({attribute: 'accessible-labelled-by'}) accessibleLabelledBy: string\r\n\t/**\r\n\t * Indicates the id of a component that describes the dialog.\r\n\t */\r\n\t@Prop({attribute: 'accessible-described-by'}) accessibleDescribedBy: string\r\n\t/**\r\n\t * Adds accessible label for the dialog close button that is only shown for screen readers.\r\n\t */\r\n\t@Prop({attribute: 'accessible-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít okno'\r\n\t/**\r\n\t * A string of identifiers that indicate alternative label elements for closing the dialog window\r\n\t */\r\n\t@Prop({attribute: 'accessible-close-labelled-by'}) accessibleCloseLabelledBy: string\r\n\t/**\r\n\t * Emitted when a dialog window closes.\r\n\t */\r\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\r\n\r\n\t@Watch('open')\r\n\twatchOpen(newValue: boolean): void {\r\n\t\tthis.open = newValue\r\n\t\tthis.setFocus().finally()\r\n\r\n\t\tif (!newValue) {\r\n\t\t\tthis.lastActiveElementRef?.focus();\r\n\t\t} else {\r\n\t\t\tthis.focusTrap();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate showDialog() {\r\n\t\tthis.open = true\r\n\t\tdocument.body.classList.add(DialogClass.bodyFix)\r\n\t}\r\n\r\n\tprivate hideDialog() {\r\n\t\tthis.open = false\r\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\r\n\t}\r\n\r\n\tasync componentDidRender() {\r\n\t\tif (canValidateWcagOnRender()) {\r\n\t\t\ttick(() => this.validateAccessibility())\r\n\t\t}\r\n\r\n\t\tif (this.open) {\r\n\t\t\tthis.showDialog()\r\n\t\t} else {\r\n\t\t\tthis.hideDialog()\r\n\t\t}\r\n\t}\r\n\r\n\tprivate focusTrap() {\r\n\t\tif (open && this.dialogRef) {\r\n\t\t\tthis.lastActiveElementRef = document.activeElement as HTMLElement;\r\n\t\t\tconst focusableEls = getFocusableElements(this.dialogRef) as HTMLElement[];\r\n\t\t\tif (focusableEls.length) {\r\n\t\t\t\tfocusableEls[0].focus();\r\n\t\t\t}\r\n\r\n\t\t\tconst handleKeyDown = (e: KeyboardEvent) => {\r\n\t\t\t\tif (e.key === \"Tab\" && this.dialogRef) {\r\n\t\t\t\t\tconst focusableEls = getFocusableElements(this.dialogRef);\r\n\t\t\t\t\tconst firstEl = focusableEls[0] as HTMLElement;\r\n\t\t\t\t\tconst lastEl = focusableEls[focusableEls.length - 1] as HTMLElement;\r\n\r\n\t\t\t\t\tif (!e.shiftKey && document.activeElement === lastEl) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tfirstEl.focus();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (e.shiftKey && document.activeElement === firstEl) {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tlastEl.focus();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (e.key === \"Escape\") {\r\n\t\t\t\t\tif (this.blockClose === false) {\r\n\t\t\t\t\t\tthis.hideDialog();\r\n\t\t\t\t\t\tthis.govClose.emit();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t};\r\n\r\n\t\t\tdocument.addEventListener(\"keydown\", handleKeyDown);\r\n\t\t} else {\r\n\t\t\tthis.lastActiveElementRef?.focus();\r\n\t\t}\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tthis.hydrated = true\r\n\t}\r\n\r\n\tdisconnectedCallback(): void {\r\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host class={this.h.classes(DialogClass.root)} open={this.open} hydrated={this.hydrated}>\r\n\t\t\t\t<dialog\r\n\t\t\t\t\tref={el => (this.dialogRef = el)}\r\n\t\t\t\t\tclass={DialogClass.dialog}\r\n\t\t\t\t\thidden={!this.open}\r\n\t\t\t\t\ttabindex={boolToFocusValue(this.open)}\r\n\t\t\t\t\topen={this.open}\r\n\t\t\t\t\taria-modal=\"true\"\r\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\r\n\t\t\t\t\taria-labelledby={this.accessibleLabelledBy || this.labelId}\r\n\t\t\t\t\taria-describedby={this.accessibleDescribedBy || this.contentId}\r\n\t\t\t\t\trole={this.role}\r\n\t\t\t\t>\r\n\t\t\t\t\t<div class={DialogClass.inner}>\r\n\t\t\t\t\t\t<div class={DialogClass.header}>\r\n\t\t\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\r\n\t\t\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t{this.h.hasSlot('title') && (\r\n\t\t\t\t\t\t\t\t<span class={DialogClass.title} id={this.labelId}>\r\n\t\t\t\t\t\t\t\t\t<slot name=\"title\"/>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t<gov-button\r\n\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\r\n\t\t\t\t\t\t\t\tdisabled={this.blockClose}\r\n\t\t\t\t\t\t\t\tclass={DialogClass.close}\r\n\t\t\t\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\r\n\t\t\t\t\t\t\t\taria-labelledby={this.accessibleCloseLabelledBy}\r\n\t\t\t\t\t\t\t\ttype=\"base\"\r\n\t\t\t\t\t\t\t\tsize=\"m\"\r\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"x-lg\" type=\"components\"></gov-icon>\r\n\t\t\t\t\t\t\t</gov-button>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class={DialogClass.content} id={this.contentId}>\r\n\t\t\t\t\t\t\t<slot/>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t{this.h.hasSlot('footer') && (\r\n\t\t\t\t\t\t\t<div class={DialogClass.footer}>\r\n\t\t\t\t\t\t\t\t<slot name=\"footer\"/>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t)}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</dialog>\r\n\r\n\t\t\t\t{this.open ? (\r\n\t\t\t\t\t<gov-backdrop\r\n\t\t\t\t\t\tdisabled={this.blockBackdropClose}\r\n\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\r\n\t\t\t\t\t\taria-labelled-by={this.accessibleCloseLabelledBy}\r\n\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\r\n\t\t\t\t\t/>\r\n\t\t\t\t) : null}\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\tprivate onCloseHandler(e: PointerEvent) {\r\n\t\te.stopPropagation()\r\n\t\te.preventDefault()\r\n\t\tif (this.blockClose === false) {\r\n\t\t\tthis.hideDialog()\r\n\t\t\tthis.govClose.emit(e)\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Sets the close button to focus\r\n\t */\r\n\t@Method()\r\n\tasync setFocus(): Promise<void> {\r\n\t\tif (this.open && this.closeCtaRef) {\r\n\t\t\tthis.closeCtaRef.setFocus().catch()\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t/**\r\n\t * Validate the WCAG attributes of the component\r\n\t */\r\n\t@Method()\r\n\tasync validateAccessibility(): Promise<void> {\r\n\t\tvalidateWcagRef(this.accessibleLabelledBy, 'accessible-labelled-by', DialogClass.root)\r\n\t\tvalidateWcagRef(this.accessibleDescribedBy, 'accessible-described-by', DialogClass.root)\r\n\t}\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"gov-dialog.js","sourceRoot":"","sources":["../../../../../../src/components/gov-dialog/gov-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAC,gBAAgB,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,4BAA4B,CAAA;AAEhF,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAA;AAE3D,OAAO,EAAC,QA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {boolToFocusValue, govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\nimport {Nullable} from '../../types/interfaces'\nimport {createID} from '../../utils/string.utils'\nimport {DialogClass} from './constants'\nimport {tick} from \"../../utils/stencil.utils\";\nimport {getFocusableElements} from \"../../utils/dom.utils\";\n\n@Component({\n\ttag: 'gov-dialog',\n})\nexport class GovDialog {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\tprivate hydrated = false;\n\tprivate closeCtaRef?: HTMLGovButtonElement\n\tprivate dialogRef?: HTMLDialogElement;\n\tprivate lastActiveElementRef?: HTMLElement;\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovDialogLabel')\n\t\tthis.contentId = createID('GovDialogContent')\n\t}\n\n\t@Element() host: HTMLGovDialogElement\n\n\t/**\n\t * Attribute for dialog window display\n\t */\n\t@Prop({mutable: true, reflect: true}) open = false\n\t/**\n\t * Attribute allowing blocking the dialog closing\n\t */\n\t@Prop({attribute: 'block-close'}) blockClose = false\n\t/**\n\t * Attribute allowing blocking the backdrop dialog closing\n\t */\n\t@Prop({attribute: 'block-backdrop-close'}) blockBackdropClose = false\n\t/**\n\t * Role of dialog\n\t */\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the dialog label for correct semantic structure\n\t */\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicates alternative labels elements\n\t */\n\t@Prop({attribute: 'accessible-labelled-by'}) accessibleLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the dialog.\n\t */\n\t@Prop({attribute: 'accessible-described-by'}) accessibleDescribedBy: string\n\t/**\n\t * Adds accessible label for the dialog close button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the dialog window\n\t */\n\t@Prop({attribute: 'accessible-close-labelled-by'}) accessibleCloseLabelledBy: string\n\t/**\n\t * Emitted when a dialog window closes.\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t\tthis.setFocus().finally()\n\n\t\tif (!newValue) {\n\t\t\tthis.lastActiveElementRef?.focus();\n\t\t} else {\n\t\t\tthis.focusTrap();\n\t\t}\n\t}\n\n\tprivate showDialog() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(DialogClass.bodyFix)\n\t}\n\n\tprivate hideDialog() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\n\t\tif (this.open) {\n\t\t\tthis.showDialog()\n\t\t} else {\n\t\t\tthis.hideDialog()\n\t\t}\n\t}\n\n\tprivate focusTrap() {\n\t\tif (open && this.dialogRef) {\n\t\t\tthis.lastActiveElementRef = document.activeElement as HTMLElement;\n\t\t\tconst focusableEls = getFocusableElements(this.dialogRef) as HTMLElement[];\n\t\t\tif (focusableEls.length) {\n\t\t\t\tfocusableEls[0].focus();\n\t\t\t}\n\n\t\t\tconst handleKeyDown = (e: KeyboardEvent) => {\n\t\t\t\tif (e.key === \"Tab\" && this.dialogRef) {\n\t\t\t\t\tconst focusableEls = getFocusableElements(this.dialogRef);\n\t\t\t\t\tconst firstEl = focusableEls[0] as HTMLElement;\n\t\t\t\t\tconst lastEl = focusableEls[focusableEls.length - 1] as HTMLElement;\n\n\t\t\t\t\tif (!e.shiftKey && document.activeElement === lastEl) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tfirstEl.focus();\n\t\t\t\t\t}\n\t\t\t\t\tif (e.shiftKey && document.activeElement === firstEl) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tlastEl.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (e.key === \"Escape\") {\n\t\t\t\t\tif (this.blockClose === false) {\n\t\t\t\t\t\tthis.hideDialog();\n\t\t\t\t\t\tthis.govClose.emit();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tdocument.addEventListener(\"keydown\", handleKeyDown);\n\t\t} else {\n\t\t\tthis.lastActiveElementRef?.focus();\n\t\t}\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tdocument.body.classList.remove(DialogClass.bodyFix)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(DialogClass.root)} open={this.open} hydrated={this.hydrated}>\n\t\t\t\t<dialog\n\t\t\t\t\tref={el => (this.dialogRef = el)}\n\t\t\t\t\tclass={DialogClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex={boolToFocusValue(this.open)}\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.accessibleLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.accessibleDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={DialogClass.inner}>\n\t\t\t\t\t\t<div class={DialogClass.header}>\n\t\t\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this.h.hasSlot('title') && (\n\t\t\t\t\t\t\t\t<span class={DialogClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t<slot name=\"title\"/>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\n\t\t\t\t\t\t\t\tdisabled={this.blockClose}\n\t\t\t\t\t\t\t\tclass={DialogClass.close}\n\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\t\t\t\taria-labelledby={this.accessibleCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\tsize=\"m\"\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon slot=\"icon-start\" name=\"x-lg\" type=\"components\"></gov-icon>\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={DialogClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t\t<div class={DialogClass.footer}>\n\t\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop\n\t\t\t\t\t\tdisabled={this.blockBackdropClose}\n\t\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\t\taria-labelled-by={this.accessibleCloseLabelledBy}\n\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\te.preventDefault()\n\t\tif (this.blockClose === false) {\n\t\t\tthis.hideDialog()\n\t\t\tthis.govClose.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Sets the close button to focus\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tif (this.open && this.closeCtaRef) {\n\t\t\tthis.closeCtaRef.setFocus().catch()\n\t\t}\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateWcagRef(this.accessibleLabelledBy, 'accessible-labelled-by', DialogClass.root)\n\t\tvalidateWcagRef(this.accessibleDescribedBy, 'accessible-described-by', DialogClass.root)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-empty/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAGjD,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGzD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;AACtB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAGD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAGD,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,oBAAoB;CAC7B,CAAA","sourcesContent":["import {pick} from \"../../utils/utils\";\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-empty/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAGjD,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGzD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;AACtB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAGD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AAChB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAGD,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,oBAAoB;CAC7B,CAAA","sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const EmptySizes = pick(Sizes, ['_S', '_M', '_L'])\nexport type EmptySizesType = `${ValueOf<typeof EmptySizes>}`\n\nexport enum EmptyDirection {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\nexport type EmptyDirectionType = `${ValueOf<typeof EmptyDirection>}`\n\nexport enum EmptyAlign {\n\tLEFT = 'left',\n\tCENTER = 'center',\n\tRIGHT = 'right',\n}\nexport type EmptyAlignType = `${ValueOf<typeof EmptyAlign>}`\n\nexport const EmptyClass = {\n\troot: 'gov-empty',\n\tcontent: 'gov-empty__content',\n}\n"]}
|
|
@@ -26,7 +26,7 @@ export class GovEmpty {
|
|
|
26
26
|
this.validateSize(this.size);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '2c08dd933beb17aa5695fd3c31f1a2981d553c6b', class: this.h.classes(EmptyClass.root), size: this.size, direction: this.direction, align: this.align }, this.h.hasSlot('icon') && (h("slot", { key: 'dae092adf1a711edea387d531ecdd4f1afda0ba1', name: "icon" })), h("div", { key: '2487457ad864261648a488b513118785485ae23d', class: EmptyClass.content }, h("slot", { key: '0cb9198b589954b652c41cde4cf46e82d069d856', name: "headline" }), h("slot", { key: 'd8935cc514b223f0ab536d8d9b7c5d8a23c2126a' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "gov-empty"; }
|
|
32
32
|
static get properties() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-empty.js","sourceRoot":"","sources":["../../../../../../src/components/gov-empty/gov-empty.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACtE,OAAO,EAAiB,UAAU,EAAqC,MAAM,aAAa,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAK1E,MAAM,OAAO,QAAQ;IAGpB;QAKA;;WAEG;QACc,SAAI,GAAoB,GAAG,CAAA;QAC5C;;WAEG;QACc,cAAS,GAAuB,UAAU,CAAA;QAC3D;;WAEG;QACc,UAAK,GAAoB,MAAM,CAAA;QAf/C,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAiBD,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAC5D,CAAC;IAED,iBAAiB;QAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,EACzC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YAClB,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAC1B,6DAAM,IAAI,EAAC,MAAM,GAAG,CACpB;YACD,4DAAK,KAAK,EAAE,UAAU,CAAC,OAAO;gBAC7B,6DAAM,IAAI,EAAC,UAAU,GAAG;gBACxB,8DAAQ,CACH,CACA,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop, Watch} from '@stencil/core'\
|
|
1
|
+
{"version":3,"file":"gov-empty.js","sourceRoot":"","sources":["../../../../../../src/components/gov-empty/gov-empty.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AACtE,OAAO,EAAiB,UAAU,EAAqC,MAAM,aAAa,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAK1E,MAAM,OAAO,QAAQ;IAGpB;QAKA;;WAEG;QACc,SAAI,GAAoB,GAAG,CAAA;QAC5C;;WAEG;QACc,cAAS,GAAuB,UAAU,CAAA;QAC3D;;WAEG;QACc,UAAK,GAAoB,MAAM,CAAA;QAf/C,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAiBD,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAC5D,CAAC;IAED,iBAAiB;QAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,EACzC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YAClB,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAC1B,6DAAM,IAAI,EAAC,MAAM,GAAG,CACpB;YACD,4DAAK,KAAK,EAAE,UAAU,CAAC,OAAO;gBAC7B,6DAAM,IAAI,EAAC,UAAU,GAAG;gBACxB,8DAAQ,CACH,CACA,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop, Watch} from '@stencil/core'\nimport {EmptyAlignType, EmptyClass, EmptyDirectionType, EmptySizesType} from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {AccordionClass, AccordionSizes} from \"../gov-accordion/constants\";\n\n@Component({\n\ttag: 'gov-empty',\n})\nexport class GovEmpty {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovEmptyElement\n\t/**\n\t * Element size.\n\t */\n\t@Prop() readonly size?: EmptySizesType = 'm'\n\t/**\n\t * Element direction\n\t */\n\t@Prop() readonly direction: EmptyDirectionType = \"vertical\"\n\t/**\n\t * Element alignment.\n\t */\n\t@Prop() readonly align?: EmptyAlignType = \"left\"\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(EmptyClass.root)}\n\t\t\t\t size={this.size}\n\t\t\t\t direction={this.direction}\n\t\t\t\t align={this.align}>\n\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t)}\n\t\t\t\t<div class={EmptyClass.content}>\n\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-error-code/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,yBAAyB;CAClC,CAAA","sourcesContent":["export const ErrorCodeClass = {\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-error-code/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,yBAAyB;CAClC,CAAA","sourcesContent":["export const ErrorCodeClass = {\n\troot: 'gov-error-code',\n\tcontent: 'gov-error-code__content',\n}\n"]}
|
|
@@ -6,7 +6,7 @@ export class GovErrorCode {
|
|
|
6
6
|
this.h = govHost(this.host);
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '91bd2740e23ac3070885a2f081d04fe55fe35afa', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (h("slot", { key: 'c8bf87c915ffa7438de195790b19746946839759', name: "icon" })), h("div", { key: '7d68735d01b63f086fdc5d9fadcd3749828f875a', class: ErrorCodeClass.content }, h("slot", { key: '41fb86768c5d44a485c1547eb576bf5339d66dfb', name: "headline" }), h("slot", { key: '4fd846e34ac29cdb5622a36917380cb4d07f62fc' }))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "gov-error-code"; }
|
|
12
12
|
static get elementRef() { return "host"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-error-code.js","sourceRoot":"","sources":["../../../../../../src/components/gov-error-code/gov-error-code.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAMpD,MAAM,OAAO,YAAY;IAGxB;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAID,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAC,QAAQ;YAC7D,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAC1B,6DAAM,IAAI,EAAC,MAAM,GAAG,CACpB;YACD,4DAAK,KAAK,EAAE,cAAc,CAAC,OAAO;gBACjC,6DAAM,IAAI,EAAC,UAAU,GAAG;gBACxB,8DAAQ,CACH,CACD,CACP,CAAA;IACF,CAAC;;;CACD","sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\
|
|
1
|
+
{"version":3,"file":"gov-error-code.js","sourceRoot":"","sources":["../../../../../../src/components/gov-error-code/gov-error-code.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAMpD,MAAM,OAAO,YAAY;IAGxB;QACC,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAID,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAC,QAAQ;YAC7D,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAC1B,6DAAM,IAAI,EAAC,MAAM,GAAG,CACpB;YACD,4DAAK,KAAK,EAAE,cAAc,CAAC,OAAO;gBACjC,6DAAM,IAAI,EAAC,UAAU,GAAG;gBACxB,8DAAQ,CACH,CACD,CACP,CAAA;IACF,CAAC;;;CACD","sourcesContent":["import { Component, Element, h, Host } from '@stencil/core'\nimport { ErrorCodeClass } from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-error-code',\n})\nexport class GovErrorCode {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovErrorCodeElement\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ErrorCodeClass.root)} align=\"center\">\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={ErrorCodeClass.content}>\n\t\t\t\t\t\t<slot name=\"headline\" />\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-flex/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAGjD,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAA;AAG9B,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;CAChB,CAAA","sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-flex/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAGjD,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAA;AAG9B,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;CAChB,CAAA","sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n"]}
|
|
@@ -14,7 +14,7 @@ export class GovFlex {
|
|
|
14
14
|
this.h = govHost(this.host);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'a6d1aed0cf8fd8c94ef83821d142756943bc55f3', class: this.h.classes(FlexClass.root) }, h("slot", { key: '34551ed862ff8384c3eade0d12762847772a0331' })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "gov-flex"; }
|
|
20
20
|
static get properties() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-flex.js","sourceRoot":"","sources":["../../../../../../src/components/gov-flex/gov-flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAC,SAAS,EAAgB,MAAM,aAAa,CAAA;AACpD,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAMlD,MAAM,OAAO,OAAO;IAGnB;QAMA;;WAEG;QACoB,cAAS,GAAyD,KAAK,CAAC;QA+C/F;;WAEG;QAC6B,eAAU,GAAW,MAAM,CAAA;QA1D1D,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA2DD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;YAC1C,8DAAa,CACP,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Prop} from '@stencil/core'\
|
|
1
|
+
{"version":3,"file":"gov-flex.js","sourceRoot":"","sources":["../../../../../../src/components/gov-flex/gov-flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAC,SAAS,EAAgB,MAAM,aAAa,CAAA;AACpD,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAMlD,MAAM,OAAO,OAAO;IAGnB;QAMA;;WAEG;QACoB,cAAS,GAAyD,KAAK,CAAC;QA+C/F;;WAEG;QAC6B,eAAU,GAAW,MAAM,CAAA;QA1D1D,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA2DD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;YAC1C,8DAAa,CACP,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop({reflect: true}) direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\t/**\n\t * Option to turn off responsive\n\t */\n\t@Prop({reflect: true}) readonly responsive: string = \"true\"\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/autocomplete/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAG3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGjF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE,6BAA6B;IACnC,KAAK,EAAE,oCAAoC;IAC3C,OAAO,EAAE,sCAAsC;CAC/C,CAAA","sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/autocomplete/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAG3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGjF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE,6BAA6B;IACnC,KAAK,EAAE,oCAAoC;IAC3C,OAAO,EAAE,sCAAsC;CAC/C,CAAA","sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormAutocompleteSizes = pick(Sizes, ['_XS','_S', '_M', '_L', '_XL'])\nexport type SizesType = `${ValueOf<typeof FormAutocompleteSizes>}`\n\nexport const FormAutocompleteClass = {\n\troot: 'gov-form-autocomplete',\n\tlist: 'gov-form-autocomplete__list',\n\titem: 'gov-form-autocomplete__item',\n\tempty: 'gov-form-autocomplete__item--empty',\n\tloading: 'gov-form-autocomplete__item--loading',\n}\n"]}
|
|
@@ -129,7 +129,7 @@ export class GovFormAutocomplete {
|
|
|
129
129
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: '531610863e3752a4e07f0b6c3b946c475a6420c6', class: FormAutocompleteClass.root, size: this.size }, h("gov-form-input", Object.assign({ key: '82f74fc8139c85cddb4e206c5d82286107135fff', 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) }), h("slot", { key: 'd27f897ff5c405adc14640a7e8508319df7b5ff9', name: "validation-icon" }), h("slot", { key: 'da5ec2879f9c6ba7c57a68cc2515539016a6ec43', name: "icon-end" })), h("ul", { key: 'cbb3514f12fe3c506d7bcf2c3aa86b78303ac398', 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 ? (h("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (h("li", { class: FormAutocompleteClass.loading }, h("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
|
|
133
133
|
const isSelected = this.arrowCounter === index;
|
|
134
134
|
return (h("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) }, h("slot", { name: "list-item-left" }), h("slot", { name: "list-item-right" })));
|
|
135
135
|
}) : null)));
|
|
@@ -425,7 +425,7 @@ export class GovFormAutocomplete {
|
|
|
425
425
|
"optional": false,
|
|
426
426
|
"docs": {
|
|
427
427
|
"tags": [],
|
|
428
|
-
"text": "Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\
|
|
428
|
+
"text": "Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\nWhen using this property you need to also set \u201Cnovalidate\u201D attribute to your form element to prevent browser from displaying its own validation errors."
|
|
429
429
|
},
|
|
430
430
|
"getter": false,
|
|
431
431
|
"setter": false,
|
|
@@ -445,7 +445,7 @@ export class GovFormAutocomplete {
|
|
|
445
445
|
"optional": false,
|
|
446
446
|
"docs": {
|
|
447
447
|
"tags": [],
|
|
448
|
-
"text": "Makes the input component disabled.\
|
|
448
|
+
"text": "Makes the input component disabled.\nThis prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies."
|
|
449
449
|
},
|
|
450
450
|
"getter": false,
|
|
451
451
|
"setter": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-form-autocomplete.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/autocomplete/gov-form-autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC1G,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAE5D,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAC,KAAK,EAAE,GAAG,EAAE,QA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\r\nimport {booleanString, toBoolAttr} from '../../../helpers/Dom/template'\r\nimport {validateProp} from '../../../helpers/Validate/props'\r\nimport {Nullable} from '../../../types/interfaces'\r\nimport {createID} from '../../../utils/string.utils'\r\nimport {delay, has, throttle} from '../../../utils/utils'\r\nimport {FormInputEvent} from '../input/gov-form-input.types'\r\nimport {FormAutocompleteClass, FormAutocompleteSizes, SizesType,} from './constants'\r\nimport {FormAutocompleteEvent, GovFormAutocompleteItem} from './gov-form-autocomplete.types'\r\nimport {propsValueToArray} from \"../../../utils/array.utils\";\r\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\r\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\r\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\r\n\r\n@Component({\r\n\ttag: 'gov-form-autocomplete',\r\n})\r\nexport class GovFormAutocomplete {\r\n\tprivate inputRef?: HTMLGovFormInputElement\r\n\tprivate listRef?: HTMLUListElement\r\n\tprivate readonly listBoxId: string\r\n\tprivate searchCallback: (value: string) => Promise<GovFormAutocompleteItem[]>\r\n\tprivate templateResolver: (item: GovFormAutocompleteItem, selected: boolean) => string = item => item[this.nameKey]\r\n\tprivate attributeObserver: AttributeObserver\r\n\r\n\tconstructor() {\r\n\t\tthis.listBoxId = createID('GovListBox')\r\n\t}\r\n\r\n\t@Element() host: HTMLGovFormInputElement\r\n\t/**\r\n\t * Value of input\r\n\t */\r\n\t@Prop({reflect: true, mutable: true}) value = ''\r\n\t/**\r\n\t * Options of autocomplete\r\n\t */\r\n\t@Prop({reflect: true, mutable: true}) options?: string | GovFormAutocompleteItem[]\r\n\t/**\r\n\t * Custom input identifier.\r\n\t */\r\n\t@Prop({attribute: 'identifier'}) readonly identifier: string\r\n\t/**\r\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\r\n\t */\r\n\t@Prop() readonly success: boolean\r\n\t/**\r\n\t * Input’s size.\r\n\t */\r\n\t@Prop() readonly size?: SizesType = 'm'\r\n\t/**\r\n\t * Main key name in the object\r\n\t */\r\n\t@Prop({attribute: 'name-key'}) readonly nameKey: string = 'name'\r\n\t/**\r\n\t * Name of the input.\r\n\t */\r\n\t@Prop() readonly name: string\r\n\t/**\r\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\r\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\r\n\t */\r\n\t@Prop() readonly required: boolean = false\r\n\t/**\r\n\t * Makes the input component disabled.\r\n\t * This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.\r\n\t */\r\n\t@Prop({reflect: true}) readonly disabled: boolean = false\r\n\t/**\r\n\t * Text that appears in the form control when it has no value set\r\n\t */\r\n\t@Prop() readonly placeholder: string\r\n\t/**\r\n\t * The value is not editable\r\n\t */\r\n\t@Prop() readonly readonly: boolean\r\n\t/**\r\n\t * Indicates the entered value does not conform to the format expected by the application.\r\n\t */\r\n\t@Prop() readonly invalid: boolean\r\n\t/**\r\n\t * Minimum length (number of characters) of value\r\n\t */\r\n\t@Prop() readonly minlength: number = 3\r\n\t/**\r\n\t * Maximum length (number of characters) of value\r\n\t */\r\n\t@Prop() readonly maxlength: number\r\n\t/**\r\n\t * Input throttle in milliseconds\r\n\t */\r\n\t@Prop() readonly throttleTime: number = 200\r\n\t/**\r\n\t * Custom message for when there is a blank sheet\r\n\t */\r\n\t@Prop({attribute: 'message-empty'}) readonly messageEmpty: string = 'Nebyly nalezeny žádné výsledky'\r\n\t/**\r\n\t * Emitted when the input has focus.\r\n\t */\r\n\t@Event({eventName: 'gov-focus'}) govFocus: EventEmitter<FormAutocompleteEvent>\r\n\t/**\r\n\t * Emitted when the input loses focus.\r\n\t */\r\n\t@Event({eventName: 'gov-blur'}) govBlur: EventEmitter<FormAutocompleteEvent>\r\n\t/**\r\n\t * Emitted when the input change value.\r\n\t */\r\n\t@Event({eventName: 'gov-input'}) govInput: EventEmitter<FormAutocompleteEvent>\r\n\t/**\r\n\t * Emitted when the input change value.\r\n\t */\r\n\t@Event({eventName: 'gov-select'}) govSelect: EventEmitter<FormAutocompleteEvent>\r\n\r\n\t@State() focused: boolean\r\n\t@State() processing = false\r\n\t@State() arrowCounter = -1\r\n\t@State() list: GovFormAutocompleteItem[] = []\r\n\t@State() inheritedAttributes: Attributes = {}\r\n\r\n\t@Watch('size')\r\n\tvalidateSize(newValue: string): void {\r\n\t\tvalidateProp(FormAutocompleteSizes, newValue, FormAutocompleteClass.root)\r\n\t}\r\n\r\n\t@Watch('options')\r\n\twatchOptions(newValue: string | GovFormAutocompleteItem[]): void {\r\n\t\tthis.setOptions(propsValueToArray(newValue)).catch()\r\n\t}\r\n\r\n\tprivate onArrowUp() {\r\n\t\tif (this.arrowCounter > 0) {\r\n\t\t\tthis.arrowCounter = this.arrowCounter - 1\r\n\t\t\tthis.moveToView().finally()\r\n\t\t}\r\n\t}\r\n\r\n\tprivate onArrowDown() {\r\n\t\tif (this.arrowCounter < this.list.length - 1) {\r\n\t\t\tthis.arrowCounter = this.arrowCounter + 1\r\n\t\t\tthis.moveToView().finally()\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async moveToView() {\r\n\t\tawait delay(200)\r\n\t\tconst heightOfList = this.listRef.offsetHeight\r\n\t\tconst selected = this.listRef.querySelector('li[aria-selected=\"true\"]') as HTMLUListElement\r\n\t\tif (selected && heightOfList) {\r\n\t\t\tconst offsetTop = selected.offsetTop\r\n\t\t\tthis.listRef.scrollTo({top: offsetTop, behavior: 'smooth'})\r\n\t\t}\r\n\t}\r\n\r\n\tprivate doSearch() {\r\n\t\tif (Number.isInteger(this.minlength) && this.isValueAccepted === false && this.minlength) {\r\n\t\t\tthis.list = []\r\n\t\t\tthis.arrowCounter = -1\r\n\t\t\tthis.processing = false\r\n\t\t\treturn\r\n\t\t}\r\n\t\tif (this.searchCallback) {\r\n\t\t\tthis.processing = true\r\n\t\t\tthis.searchCallback(this.value)\r\n\t\t\t\t.then(response => (this.list = response))\r\n\t\t\t\t.catch(() => (this.list = []))\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tthis.arrowCounter = -1\r\n\t\t\t\t\tthis.processing = false\r\n\t\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n\tprivate clearList() {\r\n\t\tconst areOptions = propsValueToArray<GovFormAutocompleteItem[]>(this.options)\r\n\t\tif (areOptions.length === 0) {\r\n\t\t\tthis.list = []\r\n\t\t}\r\n\t}\r\n\r\n\tget isValueAccepted() {\r\n\t\tif (typeof this.value === 'string') {\r\n\t\t\treturn this.value.length >= this.minlength\r\n\t\t} else {\r\n\t\t\treturn false\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\r\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\r\n\t\t});\r\n\r\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\r\n\t}\r\n\r\n\tcomponentWillLoad() {\r\n\t\tthis.validateSize(this.size)\r\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\r\n\t}\r\n\r\n\tdisconnectedCallback() {\r\n\t\tthis.attributeObserver?.stopObserving();\r\n\t}\r\n\r\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\r\n\t\tthis.host.removeAttribute(attributeName)\r\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host class={FormAutocompleteClass.root} size={this.size}>\r\n\t\t\t\t<gov-form-input\r\n\t\t\t\t\tplaceholder={this.placeholder}\r\n\t\t\t\t\tname={this.name}\r\n\t\t\t\t\tdisabled={this.disabled}\r\n\t\t\t\t\treadonly={this.readonly}\r\n\t\t\t\t\tautocomplete={false}\r\n\t\t\t\t\tsize={this.size}\r\n\t\t\t\t\trequired={this.required}\r\n\t\t\t\t\tinvalid={this.invalid}\r\n\t\t\t\t\tsuccess={this.success}\r\n\t\t\t\t\trole={'searchbox'}\r\n\t\t\t\t\tvalue={this.value}\r\n\t\t\t\t\tminlength={this.minlength}\r\n\t\t\t\t\tmaxlength={this.maxlength}\r\n\t\t\t\t\ton-gov-input={throttle(this.onInputHandler.bind(this), this.throttleTime)}\r\n\t\t\t\t\ton-gov-keyup={this.onKeyUpHandler.bind(this)}\r\n\t\t\t\t\ton-gov-keydown={this.onKeyDownHandler.bind(this)}\r\n\t\t\t\t\ton-gov-focus={this.onFocusHandler.bind(this)}\r\n\t\t\t\t\ton-gov-blur={this.onBlurHandler.bind(this)}\r\n\t\t\t\t\t{...this.inheritedAttributes}\r\n\t\t\t\t\taria-autocomplete={'list'}\r\n\t\t\t\t\taria-owns={[this.listBoxId, this.inheritedAttributes['aria-owns']].join(' ')}\r\n\t\t\t\t\taria-expanded={booleanString(this.list.length && this.focused ? true : false)}\r\n\t\t\t\t\tref={el => (this.inputRef = el as HTMLGovFormInputElement)}\r\n\t\t\t\t>\r\n\t\t\t\t\t<slot name=\"validation-icon\" />\r\n\t\t\t\t\t<slot name=\"icon-end\" />\r\n\t\t\t\t</gov-form-input>\r\n\t\t\t\t<ul class={FormAutocompleteClass.list}\r\n\t\t\t\t\trole={'listbox'}\r\n\t\t\t\t\taria-hidden={toBoolAttr(!this.focused)}\r\n\t\t\t\t\thidden={!this.focused}\r\n\t\t\t\t\tid={this.listBoxId}\r\n\t\t\t\t\tref={el => (this.listRef = el as HTMLUListElement)}>\r\n\t\t\t\t\t{this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (\r\n\t\t\t\t\t\t<li class={FormAutocompleteClass.empty}>{this.messageEmpty}</li>\r\n\t\t\t\t\t) : null}\r\n\t\t\t\t\t{this.focused && this.processing === true && this.isValueAccepted ? (\r\n\t\t\t\t\t\t<li class={FormAutocompleteClass.loading}>\r\n\t\t\t\t\t\t\t<gov-skeleton size=\"m\"></gov-skeleton>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t) : null}\r\n\t\t\t\t\t{this.focused ? this.list.map((item, index) => {\r\n\t\t\t\t\t\tconst isSelected = this.arrowCounter === index\r\n\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t<li\r\n\t\t\t\t\t\t\t\tclass={FormAutocompleteClass.item}\r\n\t\t\t\t\t\t\t\tinnerHTML={this.templateResolver(item, isSelected)}\r\n\t\t\t\t\t\t\t\trole={'option'}\r\n\t\t\t\t\t\t\t\taria-posinset={index}\r\n\t\t\t\t\t\t\t\ttabindex={isSelected ? 0 : -1}\r\n\t\t\t\t\t\t\t\taria-setsize={this.list.length}\r\n\t\t\t\t\t\t\t\tonTouchStart={(e: TouchEvent) => this.onSelectHandler(e, index)}\r\n\t\t\t\t\t\t\t\tonMouseDown={(e: PointerEvent) => this.onSelectHandler(e, index)}\r\n\t\t\t\t\t\t\t\taria-selected={toBoolAttr(isSelected)}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t<slot name=\"list-item-left\"/>\r\n\t\t\t\t\t\t\t\t<slot name=\"list-item-right\"/>\r\n\t\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t)\r\n\t\t\t\t\t}) : null}\r\n\t\t\t\t</ul>\r\n\t\t\t</Host>\r\n\t\t)\r\n\t}\r\n\r\n\tprivate onFocusHandler(e: FocusEvent) {\r\n\t\tthis.focused = true\r\n\t\tthis.arrowCounter = -1\r\n\t\tif (this.isValueAccepted && this.searchCallback) {\r\n\t\t\tthis.doSearch()\r\n\t\t}\r\n\t\te.stopPropagation()\r\n\t\tthis.govFocus.emit({\r\n\t\t\toriginalEvent: e,\r\n\t\t\tcomponent: FormAutocompleteClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tselected: null,\r\n\t\t})\r\n\t}\r\n\r\n\tprivate onBlurHandler(e: FocusEvent) {\r\n\t\tthis.focused = false\r\n\t\tthis.clearList();\r\n\t\tthis.arrowCounter = -1\r\n\t\te.stopPropagation()\r\n\t\tthis.govBlur.emit({\r\n\t\t\toriginalEvent: e,\r\n\t\t\tcomponent: FormAutocompleteClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tselected: null,\r\n\t\t})\r\n\t}\r\n\r\n\tprivate onInputHandler(e: InputEvent) {\r\n\t\tthis.value = (e.target as HTMLGovFormInputElement).value\r\n\t\te.stopPropagation()\r\n\t\tthis.govInput.emit({\r\n\t\t\toriginalEvent: e,\r\n\t\t\tcomponent: FormAutocompleteClass.root,\r\n\t\t\tvalue: this.value,\r\n\t\t\tselected: null,\r\n\t\t})\r\n\t\tthis.doSearch()\r\n\t}\r\n\r\n\tprivate onSelectHandler(e: PointerEvent | CustomEvent | TouchEvent, index = -1) {\r\n\t\tlet selected: Nullable<GovFormAutocompleteItem> = null\r\n\t\tif (index > -1) {\r\n\t\t\tselected = this.list[index]\r\n\t\t} else if (has(this.arrowCounter, this.list)) {\r\n\t\t\tselected = this.list[this.arrowCounter]\r\n\t\t}\r\n\t\tif (selected) {\r\n\t\t\tthis.govSelect.emit({\r\n\t\t\t\tcomponent: FormAutocompleteClass.root,\r\n\t\t\t\tvalue: this.value,\r\n\t\t\t\tselected: selected,\r\n\t\t\t\toriginalEvent: e,\r\n\t\t\t})\r\n\t\t\tthis.clearList();\r\n\t\t\tif (has(this.nameKey, selected) && typeof selected[this.nameKey] === 'string') {\r\n\t\t\t\tthis.value = selected[this.nameKey]\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate onKeyUpHandler(e: CustomEvent) {\r\n\t\tconst event = (e.detail as FormInputEvent).originalEvent as KeyboardEvent\r\n\t\te.stopPropagation()\r\n\t\tevent.stopPropagation()\r\n\t\tif (event.keyCode === 38) this.onArrowUp()\r\n\t\telse if (event.keyCode === 40) this.onArrowDown()\r\n\t\telse if (event.keyCode === 13) {\r\n\t\t\te.preventDefault()\r\n\t\t\tevent.preventDefault()\r\n\t\t\tthis.onSelectHandler(e)\r\n\t\t}\r\n\t}\r\n\r\n\tprivate onKeyDownHandler(e: CustomEvent) {\r\n\t\tconst event = (e.detail as FormInputEvent).originalEvent as KeyboardEvent\r\n\t\te.stopPropagation()\r\n\t\tevent.stopPropagation()\r\n\t\tif (event.keyCode === 13) {\r\n\t\t\te.preventDefault()\r\n\t\t\tevent.preventDefault()\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Focus main input element\r\n\t */\r\n\t@Method()\r\n\tasync setFocus(options?: FocusOptions): Promise<void> {\r\n\t\treturn this.inputRef.focus(options)\r\n\t}\r\n\r\n\t/**\r\n\t * Blur main input element\r\n\t */\r\n\t@Method()\r\n\tasync setBlur(): Promise<void> {\r\n\t\treturn this.inputRef.blur()\r\n\t}\r\n\r\n\t/**\r\n\t * Set options for list\r\n\t */\r\n\t@Method()\r\n\tasync setOptions(options: GovFormAutocompleteItem[]): Promise<void> {\r\n\t\tthis.list = Array.isArray(options) ? options : []\r\n\t\tthis.arrowCounter = -1\r\n\t}\r\n\r\n\t/**\r\n\t * Clears whisperer value\r\n\t */\r\n\t@Method()\r\n\tasync clearValue(): Promise<void> {\r\n\t\tthis.value = ''\r\n\t\tthis.inputRef.value = ''\r\n\r\n\t\tawait this.inputRef.clearValue()\r\n\t}\r\n\r\n\t/**\r\n\t * Clears whisperer value\r\n\t */\r\n\t@Method()\r\n\tasync setProcessing(status: boolean): Promise<void> {\r\n\t\tthis.processing = status\r\n\t}\r\n\r\n\t/**\r\n\t * Set a custom asynchronous function for the whisperer\r\n\t */\r\n\t@Method()\r\n\tasync setSearchCallback(callback: (value: string) => Promise<any>) {\r\n\t\tthis.searchCallback = callback\r\n\t}\r\n\r\n\t/**\r\n\t * Setting a custom whisper result template\r\n\t * @param callback\r\n\t */\r\n\t@Method()\r\n\tasync setTemplateResolver(callback: (item: GovFormAutocompleteItem) => string) {\r\n\t\tthis.templateResolver = callback\r\n\t}\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"gov-form-autocomplete.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/autocomplete/gov-form-autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC1G,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAE5D,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAC,MAAM,sBAAsB,CAAA;AAEzD,OAAO,EAAC,qBAAqB,EAAE,qBAAqB,GAAa,MAAM,aAAa,CAAA;AAEpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAC,iBAAiB,EAAa,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {booleanString, toBoolAttr} from '../../../helpers/Dom/template'\nimport {validateProp} from '../../../helpers/Validate/props'\nimport {Nullable} from '../../../types/interfaces'\nimport {createID} from '../../../utils/string.utils'\nimport {delay, has, throttle} from '../../../utils/utils'\nimport {FormInputEvent} from '../input/gov-form-input.types'\nimport {FormAutocompleteClass, FormAutocompleteSizes, SizesType,} from './constants'\nimport {FormAutocompleteEvent, GovFormAutocompleteItem} from './gov-form-autocomplete.types'\nimport {propsValueToArray} from \"../../../utils/array.utils\";\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: 'gov-form-autocomplete',\n})\nexport class GovFormAutocomplete {\n\tprivate inputRef?: HTMLGovFormInputElement\n\tprivate listRef?: HTMLUListElement\n\tprivate readonly listBoxId: string\n\tprivate searchCallback: (value: string) => Promise<GovFormAutocompleteItem[]>\n\tprivate templateResolver: (item: GovFormAutocompleteItem, selected: boolean) => string = item => item[this.nameKey]\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.listBoxId = createID('GovListBox')\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({reflect: true, mutable: true}) value = ''\n\t/**\n\t * Options of autocomplete\n\t */\n\t@Prop({reflect: true, mutable: true}) options?: string | GovFormAutocompleteItem[]\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({attribute: 'identifier'}) readonly identifier: string\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop() readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: SizesType = 'm'\n\t/**\n\t * Main key name in the object\n\t */\n\t@Prop({attribute: 'name-key'}) readonly nameKey: string = 'name'\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t * This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number = 3\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Input throttle in milliseconds\n\t */\n\t@Prop() readonly throttleTime: number = 200\n\t/**\n\t * Custom message for when there is a blank sheet\n\t */\n\t@Prop({attribute: 'message-empty'}) readonly messageEmpty: string = 'Nebyly nalezeny žádné výsledky'\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({eventName: 'gov-focus'}) govFocus: EventEmitter<FormAutocompleteEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({eventName: 'gov-blur'}) govBlur: EventEmitter<FormAutocompleteEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: 'gov-input'}) govInput: EventEmitter<FormAutocompleteEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({eventName: 'gov-select'}) govSelect: EventEmitter<FormAutocompleteEvent>\n\n\t@State() focused: boolean\n\t@State() processing = false\n\t@State() arrowCounter = -1\n\t@State() list: GovFormAutocompleteItem[] = []\n\t@State() inheritedAttributes: Attributes = {}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormAutocompleteSizes, newValue, FormAutocompleteClass.root)\n\t}\n\n\t@Watch('options')\n\twatchOptions(newValue: string | GovFormAutocompleteItem[]): void {\n\t\tthis.setOptions(propsValueToArray(newValue)).catch()\n\t}\n\n\tprivate onArrowUp() {\n\t\tif (this.arrowCounter > 0) {\n\t\t\tthis.arrowCounter = this.arrowCounter - 1\n\t\t\tthis.moveToView().finally()\n\t\t}\n\t}\n\n\tprivate onArrowDown() {\n\t\tif (this.arrowCounter < this.list.length - 1) {\n\t\t\tthis.arrowCounter = this.arrowCounter + 1\n\t\t\tthis.moveToView().finally()\n\t\t}\n\t}\n\n\tprivate async moveToView() {\n\t\tawait delay(200)\n\t\tconst heightOfList = this.listRef.offsetHeight\n\t\tconst selected = this.listRef.querySelector('li[aria-selected=\"true\"]') as HTMLUListElement\n\t\tif (selected && heightOfList) {\n\t\t\tconst offsetTop = selected.offsetTop\n\t\t\tthis.listRef.scrollTo({top: offsetTop, behavior: 'smooth'})\n\t\t}\n\t}\n\n\tprivate doSearch() {\n\t\tif (Number.isInteger(this.minlength) && this.isValueAccepted === false && this.minlength) {\n\t\t\tthis.list = []\n\t\t\tthis.arrowCounter = -1\n\t\t\tthis.processing = false\n\t\t\treturn\n\t\t}\n\t\tif (this.searchCallback) {\n\t\t\tthis.processing = true\n\t\t\tthis.searchCallback(this.value)\n\t\t\t\t.then(response => (this.list = response))\n\t\t\t\t.catch(() => (this.list = []))\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.arrowCounter = -1\n\t\t\t\t\tthis.processing = false\n\t\t\t\t})\n\t\t}\n\t}\n\n\tprivate clearList() {\n\t\tconst areOptions = propsValueToArray<GovFormAutocompleteItem[]>(this.options)\n\t\tif (areOptions.length === 0) {\n\t\t\tthis.list = []\n\t\t}\n\t}\n\n\tget isValueAccepted() {\n\t\tif (typeof this.value === 'string') {\n\t\t\treturn this.value.length >= this.minlength\n\t\t} else {\n\t\t\treturn false\n\t\t}\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormAutocompleteClass.root} size={this.size}>\n\t\t\t\t<gov-form-input\n\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\tname={this.name}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\treadonly={this.readonly}\n\t\t\t\t\tautocomplete={false}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tinvalid={this.invalid}\n\t\t\t\t\tsuccess={this.success}\n\t\t\t\t\trole={'searchbox'}\n\t\t\t\t\tvalue={this.value}\n\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\ton-gov-input={throttle(this.onInputHandler.bind(this), this.throttleTime)}\n\t\t\t\t\ton-gov-keyup={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\ton-gov-keydown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\ton-gov-focus={this.onFocusHandler.bind(this)}\n\t\t\t\t\ton-gov-blur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\taria-autocomplete={'list'}\n\t\t\t\t\taria-owns={[this.listBoxId, this.inheritedAttributes['aria-owns']].join(' ')}\n\t\t\t\t\taria-expanded={booleanString(this.list.length && this.focused ? true : false)}\n\t\t\t\t\tref={el => (this.inputRef = el as HTMLGovFormInputElement)}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"validation-icon\" />\n\t\t\t\t\t<slot name=\"icon-end\" />\n\t\t\t\t</gov-form-input>\n\t\t\t\t<ul class={FormAutocompleteClass.list}\n\t\t\t\t\trole={'listbox'}\n\t\t\t\t\taria-hidden={toBoolAttr(!this.focused)}\n\t\t\t\t\thidden={!this.focused}\n\t\t\t\t\tid={this.listBoxId}\n\t\t\t\t\tref={el => (this.listRef = el as HTMLUListElement)}>\n\t\t\t\t\t{this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (\n\t\t\t\t\t\t<li class={FormAutocompleteClass.empty}>{this.messageEmpty}</li>\n\t\t\t\t\t) : null}\n\t\t\t\t\t{this.focused && this.processing === true && this.isValueAccepted ? (\n\t\t\t\t\t\t<li class={FormAutocompleteClass.loading}>\n\t\t\t\t\t\t\t<gov-skeleton size=\"m\"></gov-skeleton>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t) : null}\n\t\t\t\t\t{this.focused ? this.list.map((item, index) => {\n\t\t\t\t\t\tconst isSelected = this.arrowCounter === index\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<li\n\t\t\t\t\t\t\t\tclass={FormAutocompleteClass.item}\n\t\t\t\t\t\t\t\tinnerHTML={this.templateResolver(item, isSelected)}\n\t\t\t\t\t\t\t\trole={'option'}\n\t\t\t\t\t\t\t\taria-posinset={index}\n\t\t\t\t\t\t\t\ttabindex={isSelected ? 0 : -1}\n\t\t\t\t\t\t\t\taria-setsize={this.list.length}\n\t\t\t\t\t\t\t\tonTouchStart={(e: TouchEvent) => this.onSelectHandler(e, index)}\n\t\t\t\t\t\t\t\tonMouseDown={(e: PointerEvent) => this.onSelectHandler(e, index)}\n\t\t\t\t\t\t\t\taria-selected={toBoolAttr(isSelected)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<slot name=\"list-item-left\"/>\n\t\t\t\t\t\t\t\t<slot name=\"list-item-right\"/>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t)\n\t\t\t\t\t}) : null}\n\t\t\t\t</ul>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\tthis.focused = true\n\t\tthis.arrowCounter = -1\n\t\tif (this.isValueAccepted && this.searchCallback) {\n\t\t\tthis.doSearch()\n\t\t}\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\toriginalEvent: e,\n\t\t\tcomponent: FormAutocompleteClass.root,\n\t\t\tvalue: this.value,\n\t\t\tselected: null,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\tthis.focused = false\n\t\tthis.clearList();\n\t\tthis.arrowCounter = -1\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\toriginalEvent: e,\n\t\t\tcomponent: FormAutocompleteClass.root,\n\t\t\tvalue: this.value,\n\t\t\tselected: null,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLGovFormInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\toriginalEvent: e,\n\t\t\tcomponent: FormAutocompleteClass.root,\n\t\t\tvalue: this.value,\n\t\t\tselected: null,\n\t\t})\n\t\tthis.doSearch()\n\t}\n\n\tprivate onSelectHandler(e: PointerEvent | CustomEvent | TouchEvent, index = -1) {\n\t\tlet selected: Nullable<GovFormAutocompleteItem> = null\n\t\tif (index > -1) {\n\t\t\tselected = this.list[index]\n\t\t} else if (has(this.arrowCounter, this.list)) {\n\t\t\tselected = this.list[this.arrowCounter]\n\t\t}\n\t\tif (selected) {\n\t\t\tthis.govSelect.emit({\n\t\t\t\tcomponent: FormAutocompleteClass.root,\n\t\t\t\tvalue: this.value,\n\t\t\t\tselected: selected,\n\t\t\t\toriginalEvent: e,\n\t\t\t})\n\t\t\tthis.clearList();\n\t\t\tif (has(this.nameKey, selected) && typeof selected[this.nameKey] === 'string') {\n\t\t\t\tthis.value = selected[this.nameKey]\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate onKeyUpHandler(e: CustomEvent) {\n\t\tconst event = (e.detail as FormInputEvent).originalEvent as KeyboardEvent\n\t\te.stopPropagation()\n\t\tevent.stopPropagation()\n\t\tif (event.keyCode === 38) this.onArrowUp()\n\t\telse if (event.keyCode === 40) this.onArrowDown()\n\t\telse if (event.keyCode === 13) {\n\t\t\te.preventDefault()\n\t\t\tevent.preventDefault()\n\t\t\tthis.onSelectHandler(e)\n\t\t}\n\t}\n\n\tprivate onKeyDownHandler(e: CustomEvent) {\n\t\tconst event = (e.detail as FormInputEvent).originalEvent as KeyboardEvent\n\t\te.stopPropagation()\n\t\tevent.stopPropagation()\n\t\tif (event.keyCode === 13) {\n\t\t\te.preventDefault()\n\t\t\tevent.preventDefault()\n\t\t}\n\t}\n\n\t/**\n\t * Focus main input element\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Blur main input element\n\t */\n\t@Method()\n\tasync setBlur(): Promise<void> {\n\t\treturn this.inputRef.blur()\n\t}\n\n\t/**\n\t * Set options for list\n\t */\n\t@Method()\n\tasync setOptions(options: GovFormAutocompleteItem[]): Promise<void> {\n\t\tthis.list = Array.isArray(options) ? options : []\n\t\tthis.arrowCounter = -1\n\t}\n\n\t/**\n\t * Clears whisperer value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = ''\n\t\tthis.inputRef.value = ''\n\n\t\tawait this.inputRef.clearValue()\n\t}\n\n\t/**\n\t * Clears whisperer value\n\t */\n\t@Method()\n\tasync setProcessing(status: boolean): Promise<void> {\n\t\tthis.processing = status\n\t}\n\n\t/**\n\t * Set a custom asynchronous function for the whisperer\n\t */\n\t@Method()\n\tasync setSearchCallback(callback: (value: string) => Promise<any>) {\n\t\tthis.searchCallback = callback\n\t}\n\n\t/**\n\t * Setting a custom whisper result template\n\t * @param callback\n\t */\n\t@Method()\n\tasync setTemplateResolver(callback: (item: GovFormAutocompleteItem) => string) {\n\t\tthis.templateResolver = callback\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-form-autocomplete.types.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/autocomplete/gov-form-autocomplete.types.ts"],"names":[],"mappings":"","sourcesContent":["import { GovBaseEvent } from \"../../../types/event.types\"\
|
|
1
|
+
{"version":3,"file":"gov-form-autocomplete.types.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/autocomplete/gov-form-autocomplete.types.ts"],"names":[],"mappings":"","sourcesContent":["import { GovBaseEvent } from \"../../../types/event.types\"\nimport { Nullable } from \"../../../types/interfaces\"\n\nexport interface FormAutocompleteEvent extends GovBaseEvent {\n\tvalue: string\n\tselected: Nullable<GovFormAutocompleteItem>\n}\n\nexport interface GovFormAutocompleteItem {\n\t[key: string]: any\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/checkbox/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAG3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAG9E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,0BAA0B;IACjC,aAAa,EAAE,kCAAkC;IACjD,KAAK,EAAE,0BAA0B;CACjC,CAAA","sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../src/components/gov-form/checkbox/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAG3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAG9E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,0BAA0B;IACjC,aAAa,EAAE,kCAAkC;IACjD,KAAK,EAAE,0BAA0B;CACjC,CAAA","sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormCheckboxSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`\n\nexport const FormCheckboxClass = {\n\troot: 'gov-form-checkbox',\n\tcheck: 'gov-form-checkbox__check',\n\tindeterminate: 'gov-form-checkbox__indeterminate',\n\tlabel: 'gov-form-checkbox__label',\n}\n"]}
|
|
@@ -180,7 +180,7 @@ export class GovFormCheckbox {
|
|
|
180
180
|
"optional": false,
|
|
181
181
|
"docs": {
|
|
182
182
|
"tags": [],
|
|
183
|
-
"text": "Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\
|
|
183
|
+
"text": "Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\nWhen using this property you need to also set \u201Cnovalidate\u201D attribute to your form element to prevent browser from displaying its own validation errors."
|
|
184
184
|
},
|
|
185
185
|
"getter": false,
|
|
186
186
|
"setter": false,
|