@gov-design-system-ce/components 4.0.8-rc23 → 4.1.0-rc03
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/accessibility-c475826b.js +15 -0
- package/dist/cjs/accessibility-c475826b.js.map +1 -0
- package/dist/cjs/attribute-06dc5228.js +102 -0
- package/dist/cjs/attribute-06dc5228.js.map +1 -0
- package/dist/cjs/colors-976f6dff.js +20 -0
- package/dist/cjs/colors-976f6dff.js.map +1 -0
- package/dist/cjs/constants-43c0c51b.js +27 -0
- package/dist/cjs/constants-43c0c51b.js.map +1 -0
- package/dist/cjs/constants-441d1af4.js +27 -0
- package/dist/cjs/constants-441d1af4.js.map +1 -0
- package/dist/cjs/constants-47ba678b.js +18 -0
- package/dist/cjs/constants-47ba678b.js.map +1 -0
- package/dist/cjs/constants-5037cdc9.js +28 -0
- package/dist/cjs/constants-5037cdc9.js.map +1 -0
- package/dist/cjs/constants-861428a4.js +36 -0
- package/dist/cjs/constants-861428a4.js.map +1 -0
- package/dist/cjs/constants-bd0d66ac.js +17 -0
- package/dist/cjs/constants-bd0d66ac.js.map +1 -0
- package/dist/cjs/constants-e1bbb053.js +27 -0
- package/dist/cjs/constants-e1bbb053.js.map +1 -0
- package/dist/cjs/constants-e2807da6.js +36 -0
- package/dist/cjs/constants-e2807da6.js.map +1 -0
- package/dist/cjs/core.cjs.js +2 -2
- package/dist/cjs/form-c1aec07a.js +157 -0
- package/dist/cjs/form-c1aec07a.js.map +1 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js +26 -53
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +12 -35
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +28 -33
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +22 -20
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +19 -22
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +41 -54
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +20 -60
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +47 -33
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +3 -7
- package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +13 -17
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +6 -11
- package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +108 -0
- package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-dropdown.cjs.entry.js +33 -29
- package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +20 -9
- package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +3 -9
- package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +26 -23
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +8 -8
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +33 -31
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +11 -15
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +32 -37
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +6 -10
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +284 -0
- package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-label.cjs.entry.js +2 -6
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +38 -46
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -6
- package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +8 -8
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +32 -32
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +8 -11
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +31 -44
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +33 -32
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +3 -7
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +3 -7
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +43 -18
- package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +40 -47
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +3 -7
- package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +3 -7
- package/dist/cjs/gov-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +19 -7
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +18 -18
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +33 -37
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +6 -10
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +18 -47
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +12 -12
- package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +9 -10
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +45 -45
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +23 -21
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-theme-switch.cjs.entry.js +73 -0
- package/dist/cjs/gov-theme-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tile.cjs.entry.js +13 -11
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +4 -12
- package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +38 -27
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +6 -10
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +17 -21
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +21 -44
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +16 -15
- package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
- package/dist/cjs/gov.log-1e8bab6e.js +21 -0
- package/dist/cjs/gov.log-1e8bab6e.js.map +1 -0
- package/dist/cjs/helpers-2ee3c9e6.js.map +1 -1
- package/dist/cjs/index-1af4880c.js +2029 -0
- package/dist/cjs/index-1af4880c.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/props-b8a955b2.js +16 -0
- package/dist/cjs/props-b8a955b2.js.map +1 -0
- package/dist/cjs/stencil.utils-182382ee.js +11 -0
- package/dist/cjs/stencil.utils-182382ee.js.map +1 -0
- package/dist/cjs/string.utils-2335838f.js +24 -0
- package/dist/cjs/string.utils-2335838f.js.map +1 -0
- package/dist/cjs/template-b070338f.js +133 -0
- package/dist/cjs/template-b070338f.js.map +1 -0
- package/dist/cjs/wcag-31089f70.js +56 -0
- package/dist/cjs/wcag-31089f70.js.map +1 -0
- package/dist/cjs/win-587f4614.js +40 -0
- package/dist/cjs/win-587f4614.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -9
- package/dist/collection/components/gov-accordion/constants.js +4 -6
- package/dist/collection/components/gov-accordion/constants.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +25 -117
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js +6 -117
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +19 -202
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +14 -14
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.js +1 -11
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -1
- package/dist/collection/components/gov-backdrop/constants.js +1 -1
- package/dist/collection/components/gov-backdrop/constants.js.map +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +38 -26
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +20 -31
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/constants.js +9 -10
- package/dist/collection/components/gov-button/button/constants.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +53 -323
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +36 -39
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -1
- package/dist/collection/components/gov-card/constants.js +0 -1
- package/dist/collection/components/gov-card/constants.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +28 -152
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/constants.js +8 -0
- package/dist/collection/components/gov-chip/constants.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +80 -138
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +1 -11
- package/dist/collection/components/gov-container/gov-container.js.map +1 -1
- package/dist/collection/components/gov-control-group/constants.js +2 -2
- package/dist/collection/components/gov-control-group/constants.js.map +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +33 -25
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/constants.js +3 -4
- package/dist/collection/components/gov-cookiebar/constants.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +2 -12
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -1
- package/dist/collection/components/gov-dialog/constants.js +12 -0
- package/dist/collection/components/gov-dialog/constants.js.map +1 -0
- package/dist/collection/components/gov-dialog/gov-dialog.js +318 -0
- package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -0
- package/dist/collection/components/gov-empty/constants.js +3 -2
- package/dist/collection/components/gov-empty/constants.js.map +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +41 -8
- package/dist/collection/components/gov-empty/gov-empty.js.map +1 -1
- package/dist/collection/components/gov-error-code/constants.js +0 -2
- package/dist/collection/components/gov-error-code/constants.js.map +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -11
- package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/constants.js +1 -3
- package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +25 -101
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/constants.js +2 -1
- package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +48 -81
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +4 -14
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -1
- package/dist/collection/components/gov-form/file/constants.js +0 -3
- package/dist/collection/components/gov-form/file/constants.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +32 -89
- package/dist/collection/components/gov-form/file/gov-form-file.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-group.css +38 -197
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -11
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/constants.js +1 -3
- package/dist/collection/components/gov-form/input/constants.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +45 -153
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/label/gov-form-label.js +1 -11
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -1
- package/dist/collection/components/gov-form/message/constants.js +4 -3
- package/dist/collection/components/gov-form/message/constants.js.map +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +42 -27
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/constants.js +1 -3
- package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +31 -138
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -11
- 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 +1 -2
- package/dist/collection/components/gov-form/radio/constants.js.map +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +28 -81
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
- package/dist/collection/components/gov-form/search/constants.js +4 -4
- package/dist/collection/components/gov-form/search/constants.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.js +34 -19
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -1
- package/dist/collection/components/gov-form/select/constants.js +1 -3
- package/dist/collection/components/gov-form/select/constants.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +24 -171
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/constants.js +1 -0
- package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +30 -82
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -11
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -11
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
- package/dist/collection/components/gov-icon/constants.js +15 -0
- package/dist/collection/components/gov-icon/constants.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +52 -23
- 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-infobar/constants.js +7 -4
- package/dist/collection/components/gov-infobar/constants.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +59 -106
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -11
- package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -11
- package/dist/collection/components/gov-layout/gov-layout.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/constants.js +3 -0
- package/dist/collection/components/gov-loading/loading/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +41 -9
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/constants.js +5 -5
- package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +61 -99
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/constants.js +7 -4
- package/dist/collection/components/gov-message/constants.js.map +1 -1
- package/dist/collection/components/gov-message/gov-message.js +39 -24
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-pagination/constants.js +2 -2
- package/dist/collection/components/gov-pagination/constants.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +40 -122
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -11
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
- package/dist/collection/components/gov-stepper/constants.js +5 -8
- package/dist/collection/components/gov-stepper/constants.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +20 -138
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +6 -12
- package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -1
- package/dist/collection/components/gov-tabs/constants.js +4 -2
- package/dist/collection/components/gov-tabs/constants.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +38 -12
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +80 -112
- 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 +8 -0
- package/dist/collection/components/gov-tag/constants.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +47 -52
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +5 -0
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +82 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js +7 -0
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.types.js.map +1 -0
- package/dist/collection/components/gov-tile/constants.js +7 -4
- package/dist/collection/components/gov-tile/constants.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +5 -38
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +64 -12
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-toast/constants.js +7 -4
- package/dist/collection/components/gov-toast/constants.js.map +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +43 -35
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/constants.js +2 -2
- package/dist/collection/components/gov-tooltip/constants.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +10 -20
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +17 -27
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/components/gov-wizard/constants.js +6 -8
- package/dist/collection/components/gov-wizard/constants.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +22 -108
- package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.js +8 -14
- package/dist/collection/components/gov-wizard/gov-wizard.js.map +1 -1
- package/dist/collection/core/constants/colors.js +17 -0
- package/dist/collection/core/constants/colors.js.map +1 -0
- package/dist/collection/core/constants/tokens.js +15 -13
- package/dist/collection/core/constants/tokens.js.map +1 -1
- package/dist/collection/helpers/Accessibility/accessibility.js +10 -0
- package/dist/collection/helpers/Accessibility/accessibility.js.map +1 -0
- package/dist/collection/helpers/Accessibility/attributes.js +54 -0
- package/dist/collection/helpers/Accessibility/attributes.js.map +1 -0
- package/dist/collection/helpers/Dom/attribute.js +41 -0
- package/dist/collection/helpers/Dom/attribute.js.map +1 -0
- package/dist/collection/helpers/Dom/template.js +2 -1
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/helpers/Log/gov.log.js +6 -6
- package/dist/collection/helpers/Log/gov.log.js.map +1 -1
- package/dist/collection/helpers/Validate/wcag.js +4 -3
- package/dist/collection/helpers/Validate/wcag.js.map +1 -1
- package/dist/collection/pages/Accordion.js +111 -50
- package/dist/collection/pages/Accordion.js.map +1 -1
- package/dist/collection/pages/Breadcrumbs.js +27 -2
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/collection/pages/Button.js +616 -530
- package/dist/collection/pages/Button.js.map +1 -1
- package/dist/collection/pages/Card.js +39 -66
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Chip.js +134 -253
- package/dist/collection/pages/Chip.js.map +1 -1
- package/dist/collection/pages/Container.js +6 -0
- package/dist/collection/pages/Container.js.map +1 -1
- package/dist/collection/pages/ControlGroup.js +53 -218
- package/dist/collection/pages/ControlGroup.js.map +1 -1
- package/dist/collection/pages/CookieConsent.js +29 -0
- package/dist/collection/pages/CookieConsent.js.map +1 -0
- package/dist/collection/pages/Dialog.js +56 -0
- package/dist/collection/pages/Dialog.js.map +1 -0
- package/dist/collection/pages/Empty.js +26 -31
- package/dist/collection/pages/Empty.js.map +1 -1
- package/dist/collection/pages/Error.js +7 -5
- package/dist/collection/pages/Error.js.map +1 -1
- package/dist/collection/pages/FormMessage.js +10 -10
- package/dist/collection/pages/FormMessage.js.map +1 -1
- package/dist/collection/pages/Forms.js +1953 -1527
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Home.js +40 -65
- package/dist/collection/pages/Home.js.map +1 -1
- package/dist/collection/pages/Icon.js +22 -0
- package/dist/collection/pages/Icon.js.map +1 -0
- package/dist/collection/pages/Infobar.js +83 -83
- package/dist/collection/pages/Infobar.js.map +1 -1
- package/dist/collection/pages/Layout.js +16 -16
- package/dist/collection/pages/Layout.js.map +1 -1
- package/dist/collection/pages/Loading.js +70 -80
- package/dist/collection/pages/Loading.js.map +1 -1
- package/dist/collection/pages/Message.js +43 -55
- package/dist/collection/pages/Message.js.map +1 -1
- package/dist/collection/pages/Pagination.js +6 -6
- package/dist/collection/pages/Pagination.js.map +1 -1
- package/dist/collection/pages/Stepper.js +45 -30
- package/dist/collection/pages/Stepper.js.map +1 -1
- package/dist/collection/pages/Tabs.js +261 -19
- package/dist/collection/pages/Tabs.js.map +1 -1
- package/dist/collection/pages/Tag.js +47 -127
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Tiles.js +319 -110
- package/dist/collection/pages/Tiles.js.map +1 -1
- package/dist/collection/pages/ToastMessage.js +5 -5
- package/dist/collection/pages/ToastMessage.js.map +1 -1
- package/dist/collection/pages/ToastMessageCountdown.js +5 -5
- package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
- package/dist/collection/pages/Tooltip.js +8 -8
- package/dist/collection/pages/Tooltip.js.map +1 -1
- package/dist/collection/pages/Wizard.js +38 -20
- package/dist/collection/pages/Wizard.js.map +1 -1
- package/dist/collection/utils/stencil.utils.js +2 -2
- package/dist/collection/utils/stencil.utils.js.map +1 -1
- package/dist/collection/utils/string.utils.js +1 -1
- package/dist/collection/utils/string.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-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-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.d.ts +11 -0
- package/dist/components/gov-dialog.js +2 -0
- package/dist/components/gov-dialog.js.map +1 -0
- 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-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 +1 -1
- package/dist/components/gov-form-radio.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-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-skeleton.js.map +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.d.ts +11 -0
- package/dist/components/gov-theme-switch.js +2 -0
- package/dist/components/gov-theme-switch.js.map +1 -0
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-tiles.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-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard-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/index.js +1 -1
- package/dist/components/p-0075138f.js +2 -0
- package/dist/components/p-0075138f.js.map +1 -0
- package/dist/components/p-016bbea6.js.map +1 -1
- package/dist/components/p-08621bdf.js +2 -0
- package/dist/components/p-08621bdf.js.map +1 -0
- package/dist/components/p-0c93dd39.js +2 -0
- package/dist/components/p-0c93dd39.js.map +1 -0
- package/dist/components/p-19c681a3.js +2 -0
- package/dist/components/p-1a0b3b4f.js +2 -0
- package/dist/components/p-1a0b3b4f.js.map +1 -0
- package/dist/components/p-1e82b99e.js +2 -0
- package/dist/components/p-1e82b99e.js.map +1 -0
- package/dist/components/p-255d0471.js +2 -0
- package/dist/components/p-255d0471.js.map +1 -0
- package/dist/components/p-26618322.js +2 -0
- package/dist/components/p-26618322.js.map +1 -0
- package/dist/components/p-2aedc81e.js +2 -0
- package/dist/components/p-2aedc81e.js.map +1 -0
- package/dist/components/p-33d5d1ed.js +2 -0
- package/dist/components/p-33d5d1ed.js.map +1 -0
- package/dist/components/p-3dece5f7.js +2 -0
- package/dist/components/p-3dece5f7.js.map +1 -0
- package/dist/components/p-4a92317f.js +2 -0
- package/dist/components/p-4a92317f.js.map +1 -0
- package/dist/components/p-4ffeb83f.js +2 -0
- package/dist/components/p-4ffeb83f.js.map +1 -0
- package/dist/components/p-565120d5.js +2 -0
- package/dist/components/p-565120d5.js.map +1 -0
- package/dist/components/p-59737af9.js +2 -0
- package/dist/components/p-59737af9.js.map +1 -0
- package/dist/components/p-7501abe8.js +2 -0
- package/dist/components/p-7501abe8.js.map +1 -0
- package/dist/components/p-7f8a24a7.js +2 -0
- package/dist/components/p-7f8a24a7.js.map +1 -0
- package/dist/components/p-95d41a3b.js +2 -0
- package/dist/components/p-95d41a3b.js.map +1 -0
- package/dist/components/p-9a93146e.js +2 -0
- package/dist/components/p-9a93146e.js.map +1 -0
- package/dist/components/p-a14f8877.js +2 -0
- package/dist/components/p-a14f8877.js.map +1 -0
- package/dist/components/p-a5975d22.js +2 -0
- package/dist/components/p-a5975d22.js.map +1 -0
- package/dist/components/p-a99d125a.js +2 -0
- package/dist/components/p-a99d125a.js.map +1 -0
- package/dist/components/p-ae3dada7.js +3 -0
- package/dist/components/p-ae3dada7.js.map +1 -0
- package/dist/components/p-c0bb26c2.js +2 -0
- package/dist/components/p-c0bb26c2.js.map +1 -0
- package/dist/components/p-d4509899.js +2 -0
- package/dist/components/p-d4509899.js.map +1 -0
- package/dist/components/p-dd8d3279.js +2 -0
- package/dist/components/p-dd8d3279.js.map +1 -0
- package/dist/components/p-de3103e8.js +2 -0
- package/dist/components/p-de3103e8.js.map +1 -0
- package/dist/components/p-de8656dd.js +2 -0
- package/dist/components/p-de8656dd.js.map +1 -0
- package/dist/components/p-ded281e6.js +2 -0
- package/dist/components/p-ded281e6.js.map +1 -0
- package/dist/components/p-e3aeaca0.js +2 -0
- package/dist/components/p-e3aeaca0.js.map +1 -0
- package/dist/components/p-edd1417b.js +2 -0
- package/dist/components/p-edd1417b.js.map +1 -0
- package/dist/core/core.css +11473 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0075138f.js +2 -0
- package/dist/core/p-0075138f.js.map +1 -0
- package/dist/core/p-016bbea6.js.map +1 -1
- package/dist/core/p-0225a96a.entry.js +2 -0
- package/dist/core/p-0225a96a.entry.js.map +1 -0
- package/dist/core/p-023787b3.entry.js +2 -0
- package/dist/core/p-023787b3.entry.js.map +1 -0
- package/dist/core/p-033bbbaa.entry.js +2 -0
- package/dist/core/p-033bbbaa.entry.js.map +1 -0
- package/dist/core/p-052cc573.js +2 -0
- package/dist/core/p-0d7b9167.entry.js +2 -0
- package/dist/core/p-0d7b9167.entry.js.map +1 -0
- package/dist/core/p-0ebc8365.entry.js +2 -0
- package/dist/core/p-0ebc8365.entry.js.map +1 -0
- package/dist/core/p-111e1a63.entry.js +2 -0
- package/dist/core/p-111e1a63.entry.js.map +1 -0
- package/dist/core/p-1638b12b.entry.js +2 -0
- package/dist/core/p-1638b12b.entry.js.map +1 -0
- package/dist/core/p-169b67af.js +2 -0
- package/dist/core/p-1bbc10c9.entry.js +2 -0
- package/dist/core/p-1bbc10c9.entry.js.map +1 -0
- package/dist/core/p-21bdd725.entry.js +2 -0
- package/dist/core/p-21bdd725.entry.js.map +1 -0
- package/dist/core/p-235869e6.entry.js +2 -0
- package/dist/core/p-235869e6.entry.js.map +1 -0
- package/dist/core/p-2614044c.js +2 -0
- package/dist/core/p-26618322.js +2 -0
- package/dist/core/p-26618322.js.map +1 -0
- package/dist/core/p-28a7d3f7.js +2 -0
- package/dist/core/p-28a7d3f7.js.map +1 -0
- package/dist/core/p-2ee0d589.entry.js +2 -0
- package/dist/core/p-2ee0d589.entry.js.map +1 -0
- package/dist/core/p-33ecbb38.entry.js +2 -0
- package/dist/core/p-33ecbb38.entry.js.map +1 -0
- package/dist/core/p-35e66bef.entry.js +2 -0
- package/dist/core/p-35e66bef.entry.js.map +1 -0
- package/dist/core/p-378e5294.entry.js +2 -0
- package/dist/core/p-378e5294.entry.js.map +1 -0
- package/dist/core/p-393a281e.entry.js +2 -0
- package/dist/core/p-393a281e.entry.js.map +1 -0
- package/dist/core/p-39d8e408.entry.js +2 -0
- package/dist/core/p-39d8e408.entry.js.map +1 -0
- package/dist/core/p-3a519b02.entry.js +2 -0
- package/dist/core/p-3a519b02.entry.js.map +1 -0
- package/dist/core/p-3db35bee.entry.js +2 -0
- package/dist/core/p-3db35bee.entry.js.map +1 -0
- package/dist/core/p-3ddfbc05.entry.js +2 -0
- package/dist/core/p-3ddfbc05.entry.js.map +1 -0
- package/dist/core/p-3e8b94c2.entry.js +2 -0
- package/dist/core/p-3e8b94c2.entry.js.map +1 -0
- package/dist/core/p-3f5f36e4.entry.js +2 -0
- package/dist/core/p-3f5f36e4.entry.js.map +1 -0
- package/dist/core/p-42d9924c.js +2 -0
- package/dist/core/p-42d9924c.js.map +1 -0
- package/dist/core/p-45a30859.js +2 -0
- package/dist/core/p-4898c95f.entry.js +2 -0
- package/dist/core/p-4898c95f.entry.js.map +1 -0
- package/dist/core/p-4bce896c.js +2 -0
- package/dist/core/p-4bce896c.js.map +1 -0
- package/dist/core/p-4e98412a.entry.js +2 -0
- package/dist/core/p-4e98412a.entry.js.map +1 -0
- package/dist/core/p-59c4574a.entry.js +2 -0
- package/dist/core/p-59c4574a.entry.js.map +1 -0
- package/dist/core/p-5f776da7.entry.js +2 -0
- package/dist/core/p-5f776da7.entry.js.map +1 -0
- package/dist/core/p-60658ae9.js +2 -0
- package/dist/core/p-60658ae9.js.map +1 -0
- package/dist/core/p-69d56f17.js +2 -0
- package/dist/core/p-69d56f17.js.map +1 -0
- package/dist/core/p-6aa40794.js +2 -0
- package/dist/core/p-6aa40794.js.map +1 -0
- package/dist/core/p-74e20474.entry.js +2 -0
- package/dist/core/p-74e20474.entry.js.map +1 -0
- package/dist/core/p-7cd2c877.entry.js +2 -0
- package/dist/core/p-7cd2c877.entry.js.map +1 -0
- package/dist/core/p-8321da17.entry.js +2 -0
- package/dist/core/p-8321da17.entry.js.map +1 -0
- package/dist/core/p-899e504a.entry.js +2 -0
- package/dist/core/p-899e504a.entry.js.map +1 -0
- package/dist/core/p-9100d24f.entry.js +2 -0
- package/dist/core/p-9100d24f.entry.js.map +1 -0
- package/dist/core/p-95d41a3b.js +2 -0
- package/dist/core/p-95d41a3b.js.map +1 -0
- package/dist/core/p-964f1729.entry.js +2 -0
- package/dist/core/p-964f1729.entry.js.map +1 -0
- package/dist/core/p-97927e2a.entry.js +2 -0
- package/dist/core/p-97927e2a.entry.js.map +1 -0
- package/dist/core/p-98091397.entry.js +2 -0
- package/dist/core/p-98091397.entry.js.map +1 -0
- package/dist/core/p-987388fd.entry.js +2 -0
- package/dist/core/p-987388fd.entry.js.map +1 -0
- package/dist/core/p-9ac55bd1.js +2 -0
- package/dist/core/p-9ac55bd1.js.map +1 -0
- package/dist/core/p-9b41ac88.entry.js +2 -0
- package/dist/core/p-9b41ac88.entry.js.map +1 -0
- package/dist/core/p-9d0c3dee.entry.js +2 -0
- package/dist/core/p-9d0c3dee.entry.js.map +1 -0
- package/dist/core/p-9d0f20ec.entry.js +2 -0
- package/dist/core/p-9d0f20ec.entry.js.map +1 -0
- package/dist/core/p-a1e95a5f.js +3 -0
- package/dist/core/p-a1e95a5f.js.map +1 -0
- package/dist/core/p-a21dc94f.js +2 -0
- package/dist/core/p-a21dc94f.js.map +1 -0
- package/dist/core/p-a42514f9.entry.js +2 -0
- package/dist/core/p-a42514f9.entry.js.map +1 -0
- package/dist/core/p-a4886f2d.entry.js +2 -0
- package/dist/core/p-a4886f2d.entry.js.map +1 -0
- package/dist/core/p-a693ffbf.js +2 -0
- package/dist/core/p-a693ffbf.js.map +1 -0
- package/dist/core/p-acff78c5.entry.js +2 -0
- package/dist/core/p-acff78c5.entry.js.map +1 -0
- package/dist/core/p-b215f99f.entry.js +2 -0
- package/dist/core/p-b215f99f.entry.js.map +1 -0
- package/dist/core/p-b48a4aa0.js +2 -0
- package/dist/core/p-b48a4aa0.js.map +1 -0
- package/dist/core/p-bdf1864e.entry.js +2 -0
- package/dist/core/p-bdf1864e.entry.js.map +1 -0
- package/dist/core/p-c5375a8a.entry.js +2 -0
- package/dist/core/p-c5375a8a.entry.js.map +1 -0
- package/dist/core/p-c6431085.entry.js +2 -0
- package/dist/core/p-c6431085.entry.js.map +1 -0
- package/dist/core/p-c990d746.js +2 -0
- package/dist/core/p-c990d746.js.map +1 -0
- package/dist/core/p-ca093025.entry.js +2 -0
- package/dist/core/p-ca093025.entry.js.map +1 -0
- package/dist/core/p-d56632e1.entry.js +2 -0
- package/dist/core/p-d56632e1.entry.js.map +1 -0
- package/dist/core/p-d9a299a4.js +2 -0
- package/dist/core/p-d9a299a4.js.map +1 -0
- package/dist/core/p-e0d428c9.js +2 -0
- package/dist/core/p-e0d428c9.js.map +1 -0
- package/dist/core/p-e3aeaca0.js +2 -0
- package/dist/core/p-e3aeaca0.js.map +1 -0
- package/dist/core/p-e49b1737.entry.js +2 -0
- package/dist/core/p-e49b1737.entry.js.map +1 -0
- package/dist/core/p-e5b95316.entry.js +2 -0
- package/dist/core/p-e5b95316.entry.js.map +1 -0
- package/dist/core/p-e9a6cd71.js +2 -0
- package/dist/core/p-e9a6cd71.js.map +1 -0
- package/dist/core/p-ea6cb030.entry.js +2 -0
- package/dist/core/p-ea6cb030.entry.js.map +1 -0
- package/dist/core/p-eb2af67a.entry.js +2 -0
- package/dist/core/p-eb2af67a.entry.js.map +1 -0
- package/dist/core/p-f0781e29.entry.js +2 -0
- package/dist/core/p-f0781e29.entry.js.map +1 -0
- package/dist/core/p-f4e04e98.entry.js +2 -0
- package/dist/core/p-f4e04e98.entry.js.map +1 -0
- package/dist/core/p-fe147dbf.entry.js +2 -0
- package/dist/core/p-fe147dbf.entry.js.map +1 -0
- package/dist/esm/accessibility-f83c991a.js +13 -0
- package/dist/esm/accessibility-f83c991a.js.map +1 -0
- package/dist/esm/attribute-5561aca4.js +98 -0
- package/dist/esm/attribute-5561aca4.js.map +1 -0
- package/dist/esm/colors-02c1ea96.js +20 -0
- package/dist/esm/colors-02c1ea96.js.map +1 -0
- package/dist/esm/constants-47e20524.js +31 -0
- package/dist/esm/constants-47e20524.js.map +1 -0
- package/dist/esm/constants-48177684.js +23 -0
- package/dist/esm/constants-48177684.js.map +1 -0
- package/dist/esm/constants-501eb756.js +22 -0
- package/dist/esm/constants-501eb756.js.map +1 -0
- package/dist/esm/constants-6d727976.js +15 -0
- package/dist/esm/constants-6d727976.js.map +1 -0
- package/dist/esm/constants-7307438d.js +14 -0
- package/dist/esm/constants-7307438d.js.map +1 -0
- package/dist/esm/constants-990365f1.js +22 -0
- package/dist/esm/constants-990365f1.js.map +1 -0
- package/dist/esm/constants-c716fa44.js +32 -0
- package/dist/esm/constants-c716fa44.js.map +1 -0
- package/dist/esm/constants-d42abf99.js +12 -0
- package/dist/esm/constants-d42abf99.js.map +1 -0
- package/dist/esm/constants-d6418889.js +23 -0
- package/dist/esm/constants-d6418889.js.map +1 -0
- package/dist/esm/constants-f4e4ede6.js +22 -0
- package/dist/esm/constants-f4e4ede6.js.map +1 -0
- package/dist/esm/core.js +3 -3
- package/dist/esm/form-472e078d.js +142 -0
- package/dist/esm/form-472e078d.js.map +1 -0
- package/dist/esm/gov-accordion-item.entry.js +27 -54
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +12 -35
- package/dist/esm/gov-accordion.entry.js.map +1 -1
- package/dist/esm/gov-attachments_3.entry.js +29 -34
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +22 -20
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +19 -22
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +42 -55
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +21 -61
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +47 -33
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +3 -7
- package/dist/esm/gov-container.entry.js.map +1 -1
- package/dist/esm/gov-control-group.entry.js +14 -18
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-cookiebar.entry.js +6 -11
- package/dist/esm/gov-cookiebar.entry.js.map +1 -1
- package/dist/esm/gov-dialog.entry.js +104 -0
- package/dist/esm/gov-dialog.entry.js.map +1 -0
- package/dist/esm/gov-dropdown.entry.js +34 -30
- package/dist/esm/gov-dropdown.entry.js.map +1 -1
- package/dist/esm/gov-empty.entry.js +20 -9
- package/dist/esm/gov-empty.entry.js.map +1 -1
- package/dist/esm/gov-error-code.entry.js +3 -9
- package/dist/esm/gov-error-code.entry.js.map +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +27 -24
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +10 -10
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +34 -32
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +13 -17
- package/dist/esm/gov-form-control.entry.js.map +1 -1
- package/dist/esm/gov-form-file.entry.js +33 -38
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +8 -12
- package/dist/esm/gov-form-group.entry.js.map +1 -1
- package/dist/esm/gov-form-input_2.entry.js +279 -0
- package/dist/esm/gov-form-input_2.entry.js.map +1 -0
- package/dist/esm/gov-form-label.entry.js +4 -8
- package/dist/esm/gov-form-label.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +39 -47
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +2 -6
- package/dist/esm/gov-form-password-power.entry.js.map +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +10 -10
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +33 -33
- package/dist/esm/gov-form-radio.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +9 -12
- package/dist/esm/gov-form-search.entry.js.map +1 -1
- package/dist/esm/gov-form-select.entry.js +32 -45
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +34 -33
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +3 -7
- package/dist/esm/gov-grid-item.entry.js.map +1 -1
- package/dist/esm/gov-grid.entry.js +3 -7
- package/dist/esm/gov-grid.entry.js.map +1 -1
- package/dist/esm/gov-icon.entry.js +43 -18
- package/dist/esm/gov-icon.entry.js.map +1 -1
- package/dist/esm/gov-infobar.entry.js +41 -48
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +3 -7
- package/dist/esm/gov-layout-column.entry.js.map +1 -1
- package/dist/esm/gov-layout.entry.js +3 -7
- package/dist/esm/gov-layout.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +19 -7
- package/dist/esm/gov-loading.entry.js.map +1 -1
- package/dist/esm/gov-message.entry.js +19 -19
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +34 -38
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +7 -11
- package/dist/esm/gov-spacer.entry.js.map +1 -1
- package/dist/esm/gov-stepper-item.entry.js +19 -48
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +13 -13
- package/dist/esm/gov-stepper.entry.js.map +1 -1
- package/dist/esm/gov-tabs-item.entry.js +10 -11
- package/dist/esm/gov-tabs-item.entry.js.map +1 -1
- package/dist/esm/gov-tabs.entry.js +45 -45
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +23 -21
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-theme-switch.entry.js +69 -0
- package/dist/esm/gov-theme-switch.entry.js.map +1 -0
- package/dist/esm/gov-tile.entry.js +13 -11
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-tiles.entry.js +4 -12
- package/dist/esm/gov-tiles.entry.js.map +1 -1
- package/dist/esm/gov-toast.entry.js +39 -28
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +7 -11
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +18 -22
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +22 -45
- package/dist/esm/gov-wizard-item.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +17 -16
- package/dist/esm/gov-wizard.entry.js.map +1 -1
- package/dist/esm/gov.log-6e9faad2.js +19 -0
- package/dist/esm/gov.log-6e9faad2.js.map +1 -0
- package/dist/esm/helpers-5d179d4b.js.map +1 -1
- package/dist/esm/index-d8b4eb6c.js +1997 -0
- package/dist/esm/index-d8b4eb6c.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/props-c82e1abf.js +14 -0
- package/dist/esm/props-c82e1abf.js.map +1 -0
- package/dist/esm/stencil.utils-f3c6c68d.js +9 -0
- package/dist/esm/stencil.utils-f3c6c68d.js.map +1 -0
- package/dist/esm/string.utils-5ce3f551.js +20 -0
- package/dist/esm/string.utils-5ce3f551.js.map +1 -0
- package/dist/esm/template-3d84d705.js +124 -0
- package/dist/esm/template-3d84d705.js.map +1 -0
- package/dist/esm/utils-2b4ef320.js +35 -0
- package/dist/esm/utils-2b4ef320.js.map +1 -0
- package/dist/esm/wcag-fa5ce56c.js +52 -0
- package/dist/esm/wcag-fa5ce56c.js.map +1 -0
- package/dist/esm/win-cec370ad.js +31 -0
- package/dist/esm/win-cec370ad.js.map +1 -0
- package/dist/hydrate/index.js +1276 -1903
- package/dist/hydrate/index.mjs +1276 -1903
- package/dist/stencil.config.js +4 -2
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-accordion/constants.d.ts +4 -7
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +6 -22
- package/dist/types/components/gov-accordion/gov-accordion.d.ts +3 -19
- package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +4 -4
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +8 -4
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +5 -5
- package/dist/types/components/gov-button/button/constants.d.ts +5 -6
- package/dist/types/components/gov-button/button/gov-button.d.ts +13 -70
- package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +5 -4
- package/dist/types/components/gov-card/constants.d.ts +0 -1
- package/dist/types/components/gov-card/gov-card.d.ts +9 -27
- package/dist/types/components/gov-chip/constants.d.ts +8 -0
- package/dist/types/components/gov-chip/gov-chip.d.ts +18 -29
- package/dist/types/components/gov-control-group/constants.d.ts +3 -3
- package/dist/types/components/gov-control-group/gov-control-group.d.ts +7 -3
- package/dist/types/components/gov-cookiebar/constants.d.ts +1 -2
- package/dist/types/components/gov-dialog/constants.d.ts +11 -0
- package/dist/types/components/gov-dialog/gov-dialog.d.ts +67 -0
- package/dist/types/components/gov-empty/constants.d.ts +4 -2
- package/dist/types/components/gov-empty/gov-empty.d.ts +7 -0
- package/dist/types/components/gov-error-code/constants.d.ts +0 -2
- package/dist/types/components/gov-form/autocomplete/constants.d.ts +1 -4
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +7 -19
- package/dist/types/components/gov-form/checkbox/constants.d.ts +2 -1
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +11 -13
- package/dist/types/components/gov-form/file/constants.d.ts +0 -3
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +10 -15
- package/dist/types/components/gov-form/input/constants.d.ts +1 -4
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +13 -29
- package/dist/types/components/gov-form/message/constants.d.ts +6 -4
- package/dist/types/components/gov-form/message/gov-form-message.d.ts +8 -4
- package/dist/types/components/gov-form/multiselect/constants.d.ts +1 -4
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +7 -23
- package/dist/types/components/gov-form/radio/constants.d.ts +1 -2
- package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +7 -12
- package/dist/types/components/gov-form/search/constants.d.ts +6 -5
- package/dist/types/components/gov-form/search/gov-form-search.d.ts +6 -2
- package/dist/types/components/gov-form/select/constants.d.ts +1 -4
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +7 -30
- package/dist/types/components/gov-form/switch/constants.d.ts +1 -0
- package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +7 -14
- package/dist/types/components/gov-icon/constants.d.ts +3 -0
- package/dist/types/components/gov-icon/gov-icon.d.ts +9 -3
- package/dist/types/components/gov-icon/helpers.d.ts +3 -2
- package/dist/types/components/gov-infobar/constants.d.ts +8 -5
- package/dist/types/components/gov-infobar/gov-infobar.d.ts +14 -16
- package/dist/types/components/gov-loading/loading/constants.d.ts +4 -0
- package/dist/types/components/gov-loading/loading/gov-loading.d.ts +7 -0
- package/dist/types/components/gov-loading/skeleton/constants.d.ts +7 -6
- package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +13 -15
- package/dist/types/components/gov-message/constants.d.ts +8 -5
- package/dist/types/components/gov-message/gov-message.d.ts +7 -3
- package/dist/types/components/gov-pagination/constants.d.ts +3 -3
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +11 -22
- package/dist/types/components/gov-spacer/constants.d.ts +1 -1
- package/dist/types/components/gov-stepper/constants.d.ts +6 -9
- package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +5 -22
- package/dist/types/components/gov-stepper/gov-stepper.d.ts +2 -0
- package/dist/types/components/gov-tabs/constants.d.ts +6 -3
- package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +8 -0
- package/dist/types/components/gov-tabs/gov-tabs.d.ts +19 -24
- package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +5 -0
- package/dist/types/components/gov-tag/constants.d.ts +9 -0
- package/dist/types/components/gov-tag/gov-tag.d.ts +9 -8
- package/dist/types/components/gov-theme-switch/constants.d.ts +4 -0
- package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +18 -0
- package/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
- package/dist/types/components/gov-tile/constants.d.ts +8 -4
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +1 -6
- package/dist/types/components/gov-tile/gov-tile.d.ts +13 -0
- package/dist/types/components/gov-toast/constants.d.ts +8 -6
- package/dist/types/components/gov-toast/gov-toast.d.ts +10 -5
- package/dist/types/components/gov-tooltip/constants.d.ts +3 -3
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +2 -2
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +3 -3
- package/dist/types/components/gov-wizard/constants.d.ts +7 -9
- package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +5 -17
- package/dist/types/components/gov-wizard/gov-wizard.d.ts +2 -0
- package/dist/types/components.d.ts +650 -1505
- package/dist/types/core/constants/colors.d.ts +15 -0
- package/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
- package/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
- package/dist/types/helpers/Dom/attribute.d.ts +13 -0
- package/dist/types/helpers/Log/gov.log.d.ts +3 -3
- package/dist/types/helpers/Validate/wcag.d.ts +1 -1
- package/dist/types/pages/CookieConsent.d.ts +3 -0
- package/dist/types/pages/Dialog.d.ts +3 -0
- package/dist/types/pages/Icon.d.ts +3 -0
- package/dist/types/utils/string.utils.d.ts +0 -1
- package/package.json +2 -2
- package/dist/cjs/constants-11f3de8f.js +0 -28
- package/dist/cjs/constants-11f3de8f.js.map +0 -1
- package/dist/cjs/constants-1b3eeb21.js +0 -20
- package/dist/cjs/constants-1b3eeb21.js.map +0 -1
- package/dist/cjs/constants-29b9825f.js +0 -33
- package/dist/cjs/constants-29b9825f.js.map +0 -1
- package/dist/cjs/constants-2f0a11e5.js +0 -30
- package/dist/cjs/constants-2f0a11e5.js.map +0 -1
- package/dist/cjs/constants-4fefc173.js +0 -37
- package/dist/cjs/constants-4fefc173.js.map +0 -1
- package/dist/cjs/constants-7a5540d0.js +0 -26
- package/dist/cjs/constants-7a5540d0.js.map +0 -1
- package/dist/cjs/constants-8f194b53.js +0 -30
- package/dist/cjs/constants-8f194b53.js.map +0 -1
- package/dist/cjs/constants-b7813ab1.js +0 -16
- package/dist/cjs/constants-b7813ab1.js.map +0 -1
- package/dist/cjs/constants-b8a9f758.js +0 -22
- package/dist/cjs/constants-b8a9f758.js.map +0 -1
- package/dist/cjs/constants-d5fe1cee.js +0 -29
- package/dist/cjs/constants-d5fe1cee.js.map +0 -1
- package/dist/cjs/constants-fb915aae.js +0 -21
- package/dist/cjs/constants-fb915aae.js.map +0 -1
- package/dist/cjs/constants-fdc5268a.js +0 -15
- package/dist/cjs/constants-fdc5268a.js.map +0 -1
- package/dist/cjs/form-f93c3a0a.js +0 -163
- package/dist/cjs/form-f93c3a0a.js.map +0 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +0 -199
- package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +0 -47
- package/dist/cjs/gov-lifecycle.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-modal.cjs.entry.js +0 -112
- package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-nav-item.cjs.entry.js +0 -40
- package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-nav.cjs.entry.js +0 -43
- package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +0 -107
- package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -88
- package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +0 -57
- package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +0 -118
- package/dist/cjs/gov-skeleton.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -41
- package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +0 -54
- package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
- package/dist/cjs/gov.log-8887c6bc.js +0 -28
- package/dist/cjs/gov.log-8887c6bc.js.map +0 -1
- package/dist/cjs/index-f53beed1.js +0 -2053
- package/dist/cjs/index-f53beed1.js.map +0 -1
- package/dist/cjs/props-edd0d46f.js +0 -16
- package/dist/cjs/props-edd0d46f.js.map +0 -1
- package/dist/cjs/stencil.utils-07182a8a.js +0 -11
- package/dist/cjs/stencil.utils-07182a8a.js.map +0 -1
- package/dist/cjs/string.utils-b84c81cf.js +0 -25
- package/dist/cjs/string.utils-b84c81cf.js.map +0 -1
- package/dist/cjs/template-431f0737.js +0 -132
- package/dist/cjs/template-431f0737.js.map +0 -1
- package/dist/cjs/variants-85b514ea.js +0 -18
- package/dist/cjs/variants-85b514ea.js.map +0 -1
- package/dist/cjs/wcag-0dfd29b6.js +0 -67
- package/dist/cjs/wcag-0dfd29b6.js.map +0 -1
- package/dist/cjs/win-03714165.js +0 -39
- package/dist/cjs/win-03714165.js.map +0 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -524
- package/dist/collection/components/gov-accordion/gov-accordion.css +0 -240
- package/dist/collection/components/gov-attachments/gov-attachments.css +0 -247
- package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -246
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -321
- package/dist/collection/components/gov-button/button/gov-button.css +0 -1154
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +0 -264
- package/dist/collection/components/gov-card/gov-card.css +0 -377
- package/dist/collection/components/gov-chip/gov-chip.css +0 -1251
- package/dist/collection/components/gov-container/gov-container.css +0 -247
- package/dist/collection/components/gov-control-group/gov-control-group.css +0 -280
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -289
- package/dist/collection/components/gov-empty/gov-empty.css +0 -255
- package/dist/collection/components/gov-error-code/gov-error-code.css +0 -270
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -290
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -402
- package/dist/collection/components/gov-form/control/gov-form-control.css +0 -291
- package/dist/collection/components/gov-form/file/gov-form-file.css +0 -301
- package/dist/collection/components/gov-form/input/gov-form-input.css +0 -523
- package/dist/collection/components/gov-form/label/gov-form-label.css +0 -252
- package/dist/collection/components/gov-form/message/gov-form-message.css +0 -262
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -640
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -275
- package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -401
- package/dist/collection/components/gov-form/search/gov-form-search.css +0 -274
- package/dist/collection/components/gov-form/select/gov-form-select.css +0 -598
- package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -440
- package/dist/collection/components/gov-grid/gov-grid-item.css +0 -437
- package/dist/collection/components/gov-grid/gov-grid.css +0 -256
- package/dist/collection/components/gov-icon/gov-icon.css +0 -250
- package/dist/collection/components/gov-infobar/gov-infobar.css +0 -388
- package/dist/collection/components/gov-layout/gov-layout-column.css +0 -237
- package/dist/collection/components/gov-layout/gov-layout.css +0 -282
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +0 -39
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +0 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -261
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -300
- package/dist/collection/components/gov-message/gov-message.css +0 -319
- package/dist/collection/components/gov-modal/constants.js +0 -15
- package/dist/collection/components/gov-modal/constants.js.map +0 -1
- package/dist/collection/components/gov-modal/gov-modal.css +0 -345
- package/dist/collection/components/gov-modal/gov-modal.js +0 -396
- package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
- package/dist/collection/components/gov-nav/constants.js +0 -9
- package/dist/collection/components/gov-nav/constants.js.map +0 -1
- package/dist/collection/components/gov-nav/gov-nav-item.css +0 -288
- package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
- package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
- package/dist/collection/components/gov-nav/gov-nav.css +0 -254
- package/dist/collection/components/gov-nav/gov-nav.js +0 -98
- package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
- package/dist/collection/components/gov-pagination/gov-pagination.css +0 -394
- package/dist/collection/components/gov-promp/constants.js +0 -13
- package/dist/collection/components/gov-promp/constants.js.map +0 -1
- package/dist/collection/components/gov-promp/gov-prompt.css +0 -348
- package/dist/collection/components/gov-promp/gov-prompt.js +0 -337
- package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
- package/dist/collection/components/gov-side-nav/constants.js +0 -16
- package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -384
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -336
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -237
- package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -171
- package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
- package/dist/collection/components/gov-spacer/gov-spacer.css +0 -302
- package/dist/collection/components/gov-statsbar/constants.js +0 -18
- package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -296
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -66
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -281
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -104
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -467
- package/dist/collection/components/gov-stepper/gov-stepper.css +0 -237
- package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -238
- package/dist/collection/components/gov-tabs/gov-tabs.css +0 -392
- package/dist/collection/components/gov-tag/gov-tag.css +0 -1164
- package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -319
- package/dist/collection/components/gov-tile/gov-tile.css +0 -314
- package/dist/collection/components/gov-toast/gov-toast.css +0 -403
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -348
- package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -241
- package/dist/collection/components/gov-wizard/gov-wizard-item.css +0 -474
- package/dist/collection/components/gov-wizard/gov-wizard.css +0 -240
- package/dist/collection/core/constants/variants.js +0 -15
- package/dist/collection/core/constants/variants.js.map +0 -1
- package/dist/collection/pages/Cookiebar.js +0 -29
- package/dist/collection/pages/Cookiebar.js.map +0 -1
- package/dist/collection/pages/Modal.js +0 -57
- package/dist/collection/pages/Modal.js.map +0 -1
- package/dist/collection/pages/Nav.js +0 -30
- package/dist/collection/pages/Nav.js.map +0 -1
- package/dist/collection/pages/Prompt.js +0 -48
- package/dist/collection/pages/Prompt.js.map +0 -1
- package/dist/collection/pages/SideNav.js +0 -117
- package/dist/collection/pages/SideNav.js.map +0 -1
- package/dist/collection/pages/Statsbar.js +0 -202
- package/dist/collection/pages/Statsbar.js.map +0 -1
- package/dist/components/gov-lifecycle.d.ts +0 -11
- package/dist/components/gov-lifecycle.js +0 -2
- package/dist/components/gov-lifecycle.js.map +0 -1
- package/dist/components/gov-modal.d.ts +0 -11
- package/dist/components/gov-modal.js +0 -2
- package/dist/components/gov-modal.js.map +0 -1
- package/dist/components/gov-nav-item.d.ts +0 -11
- package/dist/components/gov-nav-item.js +0 -2
- package/dist/components/gov-nav-item.js.map +0 -1
- package/dist/components/gov-nav.d.ts +0 -11
- package/dist/components/gov-nav.js +0 -2
- package/dist/components/gov-nav.js.map +0 -1
- package/dist/components/gov-prompt.d.ts +0 -11
- package/dist/components/gov-prompt.js +0 -2
- package/dist/components/gov-prompt.js.map +0 -1
- package/dist/components/gov-side-nav-item.d.ts +0 -11
- package/dist/components/gov-side-nav-item.js +0 -2
- package/dist/components/gov-side-nav-item.js.map +0 -1
- package/dist/components/gov-side-nav.d.ts +0 -11
- package/dist/components/gov-side-nav.js +0 -2
- package/dist/components/gov-side-nav.js.map +0 -1
- package/dist/components/gov-statsbar-item.d.ts +0 -11
- package/dist/components/gov-statsbar-item.js +0 -2
- package/dist/components/gov-statsbar-item.js.map +0 -1
- package/dist/components/gov-statsbar.d.ts +0 -11
- package/dist/components/gov-statsbar.js +0 -2
- package/dist/components/gov-statsbar.js.map +0 -1
- package/dist/components/p-0134b442.js +0 -2
- package/dist/components/p-0134b442.js.map +0 -1
- package/dist/components/p-016118d2.js +0 -2
- package/dist/components/p-016118d2.js.map +0 -1
- package/dist/components/p-03dbb8b1.js +0 -2
- package/dist/components/p-03dbb8b1.js.map +0 -1
- package/dist/components/p-11418445.js +0 -2
- package/dist/components/p-11418445.js.map +0 -1
- package/dist/components/p-145d1fa3.js +0 -2
- package/dist/components/p-145d1fa3.js.map +0 -1
- package/dist/components/p-20fd8011.js +0 -2
- package/dist/components/p-20fd8011.js.map +0 -1
- package/dist/components/p-240c302e.js +0 -2
- package/dist/components/p-240c302e.js.map +0 -1
- package/dist/components/p-2594e525.js +0 -2
- package/dist/components/p-2594e525.js.map +0 -1
- package/dist/components/p-2f537b87.js +0 -2
- package/dist/components/p-2f537b87.js.map +0 -1
- package/dist/components/p-344c72d7.js +0 -2
- package/dist/components/p-3983d290.js +0 -2
- package/dist/components/p-3983d290.js.map +0 -1
- package/dist/components/p-3f704a40.js +0 -2
- package/dist/components/p-3f704a40.js.map +0 -1
- package/dist/components/p-4faa3ba6.js +0 -2
- package/dist/components/p-4faa3ba6.js.map +0 -1
- package/dist/components/p-5262b9ce.js +0 -3
- package/dist/components/p-5262b9ce.js.map +0 -1
- package/dist/components/p-71cec4ef.js +0 -2
- package/dist/components/p-71cec4ef.js.map +0 -1
- package/dist/components/p-74915621.js +0 -2
- package/dist/components/p-74915621.js.map +0 -1
- package/dist/components/p-77a6e3be.js +0 -2
- package/dist/components/p-77a6e3be.js.map +0 -1
- package/dist/components/p-77cdc056.js +0 -2
- package/dist/components/p-77cdc056.js.map +0 -1
- package/dist/components/p-8cf6d23c.js +0 -2
- package/dist/components/p-8cf6d23c.js.map +0 -1
- package/dist/components/p-8dfac7d7.js +0 -2
- package/dist/components/p-8dfac7d7.js.map +0 -1
- package/dist/components/p-9370b15f.js +0 -2
- package/dist/components/p-9370b15f.js.map +0 -1
- package/dist/components/p-94dd1649.js +0 -2
- package/dist/components/p-94dd1649.js.map +0 -1
- package/dist/components/p-9d5a8ed9.js +0 -2
- package/dist/components/p-9d5a8ed9.js.map +0 -1
- package/dist/components/p-b6dd95ba.js +0 -2
- package/dist/components/p-b6dd95ba.js.map +0 -1
- package/dist/components/p-cd6c2938.js +0 -2
- package/dist/components/p-cd6c2938.js.map +0 -1
- package/dist/components/p-ce45c786.js +0 -2
- package/dist/components/p-ce45c786.js.map +0 -1
- package/dist/components/p-d0288df5.js +0 -2
- package/dist/components/p-d0288df5.js.map +0 -1
- package/dist/components/p-d0fe3cd8.js +0 -2
- package/dist/components/p-d0fe3cd8.js.map +0 -1
- package/dist/components/p-d687df8f.js +0 -2
- package/dist/components/p-d687df8f.js.map +0 -1
- package/dist/components/p-e296ca83.js +0 -2
- package/dist/components/p-e296ca83.js.map +0 -1
- package/dist/components/p-e618f1cb.js +0 -2
- package/dist/components/p-e618f1cb.js.map +0 -1
- package/dist/components/p-f0d542f2.js +0 -2
- package/dist/components/p-f0d542f2.js.map +0 -1
- package/dist/core/p-0134b442.js +0 -2
- package/dist/core/p-0134b442.js.map +0 -1
- package/dist/core/p-03dbb8b1.js +0 -2
- package/dist/core/p-03dbb8b1.js.map +0 -1
- package/dist/core/p-06e9e93b.entry.js +0 -2
- package/dist/core/p-06e9e93b.entry.js.map +0 -1
- package/dist/core/p-092b0437.entry.js +0 -2
- package/dist/core/p-092b0437.entry.js.map +0 -1
- package/dist/core/p-1011ca26.entry.js +0 -2
- package/dist/core/p-1011ca26.entry.js.map +0 -1
- package/dist/core/p-107a6a5c.entry.js +0 -2
- package/dist/core/p-107a6a5c.entry.js.map +0 -1
- package/dist/core/p-114a4d0b.entry.js +0 -2
- package/dist/core/p-114a4d0b.entry.js.map +0 -1
- package/dist/core/p-13520b30.entry.js +0 -2
- package/dist/core/p-13520b30.entry.js.map +0 -1
- package/dist/core/p-13ced376.entry.js +0 -2
- package/dist/core/p-13ced376.entry.js.map +0 -1
- package/dist/core/p-1b3143a8.entry.js +0 -2
- package/dist/core/p-1b3143a8.entry.js.map +0 -1
- package/dist/core/p-1bdc04bb.entry.js +0 -2
- package/dist/core/p-1bdc04bb.entry.js.map +0 -1
- package/dist/core/p-208c99c8.entry.js +0 -2
- package/dist/core/p-208c99c8.entry.js.map +0 -1
- package/dist/core/p-20ae3168.entry.js +0 -2
- package/dist/core/p-20ae3168.entry.js.map +0 -1
- package/dist/core/p-20fd8011.js +0 -2
- package/dist/core/p-20fd8011.js.map +0 -1
- package/dist/core/p-2186fcd5.entry.js +0 -2
- package/dist/core/p-2186fcd5.entry.js.map +0 -1
- package/dist/core/p-240659bb.js +0 -3
- package/dist/core/p-240659bb.js.map +0 -1
- package/dist/core/p-240c302e.js +0 -2
- package/dist/core/p-240c302e.js.map +0 -1
- package/dist/core/p-2c3697cf.entry.js +0 -2
- package/dist/core/p-2c3697cf.entry.js.map +0 -1
- package/dist/core/p-2e881577.entry.js +0 -2
- package/dist/core/p-2e881577.entry.js.map +0 -1
- package/dist/core/p-3309aed9.entry.js +0 -2
- package/dist/core/p-3309aed9.entry.js.map +0 -1
- package/dist/core/p-344c72d7.js +0 -2
- package/dist/core/p-348165e2.entry.js +0 -2
- package/dist/core/p-348165e2.entry.js.map +0 -1
- package/dist/core/p-34d7c203.entry.js +0 -2
- package/dist/core/p-34d7c203.entry.js.map +0 -1
- package/dist/core/p-3832de64.entry.js +0 -2
- package/dist/core/p-3832de64.entry.js.map +0 -1
- package/dist/core/p-3983d290.js +0 -2
- package/dist/core/p-3983d290.js.map +0 -1
- package/dist/core/p-3b8fb675.entry.js +0 -2
- package/dist/core/p-3b8fb675.entry.js.map +0 -1
- package/dist/core/p-3ccab2ba.entry.js +0 -2
- package/dist/core/p-3ccab2ba.entry.js.map +0 -1
- package/dist/core/p-3e041d63.entry.js +0 -2
- package/dist/core/p-3e041d63.entry.js.map +0 -1
- package/dist/core/p-3f0dd8fa.js +0 -2
- package/dist/core/p-3f0dd8fa.js.map +0 -1
- package/dist/core/p-4191acf2.js +0 -2
- package/dist/core/p-4191acf2.js.map +0 -1
- package/dist/core/p-45b869ae.js +0 -2
- package/dist/core/p-45b869ae.js.map +0 -1
- package/dist/core/p-4694b4b6.entry.js +0 -2
- package/dist/core/p-4694b4b6.entry.js.map +0 -1
- package/dist/core/p-4700508c.entry.js +0 -2
- package/dist/core/p-4700508c.entry.js.map +0 -1
- package/dist/core/p-489f5c82.entry.js +0 -2
- package/dist/core/p-489f5c82.entry.js.map +0 -1
- package/dist/core/p-4ed064db.entry.js +0 -2
- package/dist/core/p-4ed064db.entry.js.map +0 -1
- package/dist/core/p-4f77a766.entry.js +0 -2
- package/dist/core/p-4f77a766.entry.js.map +0 -1
- package/dist/core/p-4faa3ba6.js +0 -2
- package/dist/core/p-4faa3ba6.js.map +0 -1
- package/dist/core/p-551c9f44.entry.js +0 -2
- package/dist/core/p-551c9f44.entry.js.map +0 -1
- package/dist/core/p-55abc7bc.entry.js +0 -2
- package/dist/core/p-55abc7bc.entry.js.map +0 -1
- package/dist/core/p-55cd3fee.entry.js +0 -2
- package/dist/core/p-55cd3fee.entry.js.map +0 -1
- package/dist/core/p-5c3a0b02.entry.js +0 -2
- package/dist/core/p-5c3a0b02.entry.js.map +0 -1
- package/dist/core/p-64353313.entry.js +0 -2
- package/dist/core/p-64353313.entry.js.map +0 -1
- package/dist/core/p-6789b9d0.entry.js +0 -2
- package/dist/core/p-6789b9d0.entry.js.map +0 -1
- package/dist/core/p-6a82c6a1.entry.js +0 -2
- package/dist/core/p-6a82c6a1.entry.js.map +0 -1
- package/dist/core/p-6c33492a.entry.js +0 -2
- package/dist/core/p-6c33492a.entry.js.map +0 -1
- package/dist/core/p-6d894ec7.entry.js +0 -2
- package/dist/core/p-6d894ec7.entry.js.map +0 -1
- package/dist/core/p-6dfde487.entry.js +0 -2
- package/dist/core/p-6dfde487.entry.js.map +0 -1
- package/dist/core/p-74233183.entry.js +0 -2
- package/dist/core/p-74233183.entry.js.map +0 -1
- package/dist/core/p-77892071.entry.js +0 -2
- package/dist/core/p-77892071.entry.js.map +0 -1
- package/dist/core/p-7a896683.entry.js +0 -2
- package/dist/core/p-7a896683.entry.js.map +0 -1
- package/dist/core/p-7ba4ae8d.entry.js +0 -2
- package/dist/core/p-7ba4ae8d.entry.js.map +0 -1
- package/dist/core/p-7ba4daf4.js +0 -2
- package/dist/core/p-7d011c4b.entry.js +0 -2
- package/dist/core/p-7d011c4b.entry.js.map +0 -1
- package/dist/core/p-7e43f440.entry.js +0 -2
- package/dist/core/p-7e43f440.entry.js.map +0 -1
- package/dist/core/p-802909c5.entry.js +0 -2
- package/dist/core/p-802909c5.entry.js.map +0 -1
- package/dist/core/p-810f0d0c.entry.js +0 -2
- package/dist/core/p-810f0d0c.entry.js.map +0 -1
- package/dist/core/p-828e8bce.entry.js +0 -2
- package/dist/core/p-828e8bce.entry.js.map +0 -1
- package/dist/core/p-87b7b469.entry.js +0 -2
- package/dist/core/p-87b7b469.entry.js.map +0 -1
- package/dist/core/p-8dfac7d7.js +0 -2
- package/dist/core/p-8dfac7d7.js.map +0 -1
- package/dist/core/p-8fb45e7c.entry.js +0 -2
- package/dist/core/p-8fb45e7c.entry.js.map +0 -1
- package/dist/core/p-94dd1649.js +0 -2
- package/dist/core/p-94dd1649.js.map +0 -1
- package/dist/core/p-a3cff495.entry.js +0 -2
- package/dist/core/p-a3cff495.entry.js.map +0 -1
- package/dist/core/p-ab9aff3c.js +0 -2
- package/dist/core/p-ab9aff3c.js.map +0 -1
- package/dist/core/p-ae4321ea.entry.js +0 -2
- package/dist/core/p-ae4321ea.entry.js.map +0 -1
- package/dist/core/p-b2b254b6.entry.js +0 -2
- package/dist/core/p-b2b254b6.entry.js.map +0 -1
- package/dist/core/p-bcdf6cfc.entry.js +0 -2
- package/dist/core/p-bcdf6cfc.entry.js.map +0 -1
- package/dist/core/p-c98fe646.js +0 -2
- package/dist/core/p-c98fe646.js.map +0 -1
- package/dist/core/p-cc83b8cb.entry.js +0 -2
- package/dist/core/p-cc83b8cb.entry.js.map +0 -1
- package/dist/core/p-cd6c2938.js +0 -2
- package/dist/core/p-cd6c2938.js.map +0 -1
- package/dist/core/p-cdaeb7d8.entry.js +0 -2
- package/dist/core/p-cdaeb7d8.entry.js.map +0 -1
- package/dist/core/p-ce45c786.js +0 -2
- package/dist/core/p-ce45c786.js.map +0 -1
- package/dist/core/p-d0288df5.js +0 -2
- package/dist/core/p-d0288df5.js.map +0 -1
- package/dist/core/p-d4b50bcd.entry.js +0 -2
- package/dist/core/p-d4b50bcd.entry.js.map +0 -1
- package/dist/core/p-d4f2d6f9.entry.js +0 -2
- package/dist/core/p-d4f2d6f9.entry.js.map +0 -1
- package/dist/core/p-e0e2e9c1.js +0 -2
- package/dist/core/p-e296ca83.js +0 -2
- package/dist/core/p-e296ca83.js.map +0 -1
- package/dist/core/p-e44a0fee.js +0 -2
- package/dist/core/p-e618f1cb.js +0 -2
- package/dist/core/p-e618f1cb.js.map +0 -1
- package/dist/core/p-e9bcadf1.entry.js +0 -2
- package/dist/core/p-e9bcadf1.entry.js.map +0 -1
- package/dist/core/p-f0d542f2.js +0 -2
- package/dist/core/p-f0d542f2.js.map +0 -1
- package/dist/core/p-f16f9116.entry.js +0 -2
- package/dist/core/p-f16f9116.entry.js.map +0 -1
- package/dist/core/p-f2edcca7.entry.js +0 -2
- package/dist/core/p-f2edcca7.entry.js.map +0 -1
- package/dist/core/p-f6a98765.entry.js +0 -2
- package/dist/core/p-f6a98765.entry.js.map +0 -1
- package/dist/core/p-f9de3c09.entry.js +0 -2
- package/dist/core/p-f9de3c09.entry.js.map +0 -1
- package/dist/core/p-fdead70e.js +0 -2
- package/dist/core/p-fdead70e.js.map +0 -1
- package/dist/core/p-fe8bd4cf.entry.js +0 -2
- package/dist/core/p-fe8bd4cf.entry.js.map +0 -1
- package/dist/esm/constants-0014bc7f.js +0 -24
- package/dist/esm/constants-0014bc7f.js.map +0 -1
- package/dist/esm/constants-122ac484.js +0 -25
- package/dist/esm/constants-122ac484.js.map +0 -1
- package/dist/esm/constants-14f351fd.js +0 -23
- package/dist/esm/constants-14f351fd.js.map +0 -1
- package/dist/esm/constants-1998bac1.js +0 -19
- package/dist/esm/constants-1998bac1.js.map +0 -1
- package/dist/esm/constants-43f10674.js +0 -12
- package/dist/esm/constants-43f10674.js.map +0 -1
- package/dist/esm/constants-4da2b3c0.js +0 -22
- package/dist/esm/constants-4da2b3c0.js.map +0 -1
- package/dist/esm/constants-66db9786.js +0 -25
- package/dist/esm/constants-66db9786.js.map +0 -1
- package/dist/esm/constants-78d0d7ff.js +0 -13
- package/dist/esm/constants-78d0d7ff.js.map +0 -1
- package/dist/esm/constants-a2828485.js +0 -12
- package/dist/esm/constants-a2828485.js.map +0 -1
- package/dist/esm/constants-a5fadb10.js +0 -29
- package/dist/esm/constants-a5fadb10.js.map +0 -1
- package/dist/esm/constants-f63d2d63.js +0 -18
- package/dist/esm/constants-f63d2d63.js.map +0 -1
- package/dist/esm/constants-f6ecfd4e.js +0 -33
- package/dist/esm/constants-f6ecfd4e.js.map +0 -1
- package/dist/esm/constants-f98e7750.js +0 -22
- package/dist/esm/constants-f98e7750.js.map +0 -1
- package/dist/esm/constants-ff234810.js +0 -17
- package/dist/esm/constants-ff234810.js.map +0 -1
- package/dist/esm/form-738c5b12.js +0 -145
- package/dist/esm/form-738c5b12.js.map +0 -1
- package/dist/esm/gov-form-input.entry.js +0 -195
- package/dist/esm/gov-form-input.entry.js.map +0 -1
- package/dist/esm/gov-lifecycle.entry.js +0 -43
- package/dist/esm/gov-lifecycle.entry.js.map +0 -1
- package/dist/esm/gov-modal.entry.js +0 -108
- package/dist/esm/gov-modal.entry.js.map +0 -1
- package/dist/esm/gov-nav-item.entry.js +0 -36
- package/dist/esm/gov-nav-item.entry.js.map +0 -1
- package/dist/esm/gov-nav.entry.js +0 -39
- package/dist/esm/gov-nav.entry.js.map +0 -1
- package/dist/esm/gov-prompt.entry.js +0 -103
- package/dist/esm/gov-prompt.entry.js.map +0 -1
- package/dist/esm/gov-side-nav-item.entry.js +0 -84
- package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
- package/dist/esm/gov-side-nav.entry.js +0 -53
- package/dist/esm/gov-side-nav.entry.js.map +0 -1
- package/dist/esm/gov-skeleton.entry.js +0 -114
- package/dist/esm/gov-skeleton.entry.js.map +0 -1
- package/dist/esm/gov-statsbar-item.entry.js +0 -37
- package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
- package/dist/esm/gov-statsbar.entry.js +0 -50
- package/dist/esm/gov-statsbar.entry.js.map +0 -1
- package/dist/esm/gov.log-431da6b2.js +0 -25
- package/dist/esm/gov.log-431da6b2.js.map +0 -1
- package/dist/esm/index-c5251f2b.js +0 -2022
- package/dist/esm/index-c5251f2b.js.map +0 -1
- package/dist/esm/props-ec3beb91.js +0 -14
- package/dist/esm/props-ec3beb91.js.map +0 -1
- package/dist/esm/stencil.utils-5d8e3d11.js +0 -9
- package/dist/esm/stencil.utils-5d8e3d11.js.map +0 -1
- package/dist/esm/string.utils-1da8f8fb.js +0 -20
- package/dist/esm/string.utils-1da8f8fb.js.map +0 -1
- package/dist/esm/template-94812ab3.js +0 -123
- package/dist/esm/template-94812ab3.js.map +0 -1
- package/dist/esm/utils-e10e994d.js +0 -35
- package/dist/esm/utils-e10e994d.js.map +0 -1
- package/dist/esm/variants-69f013c1.js +0 -18
- package/dist/esm/variants-69f013c1.js.map +0 -1
- package/dist/esm/wcag-169f758a.js +0 -62
- package/dist/esm/wcag-169f758a.js.map +0 -1
- package/dist/esm/win-b64cd8a6.js +0 -31
- package/dist/esm/win-b64cd8a6.js.map +0 -1
- package/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +0 -14
- package/dist/types/components/gov-modal/constants.d.ts +0 -14
- package/dist/types/components/gov-modal/gov-modal.d.ts +0 -78
- package/dist/types/components/gov-nav/constants.d.ts +0 -8
- package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
- package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
- package/dist/types/components/gov-promp/constants.d.ts +0 -12
- package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -66
- package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
- package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
- package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
- package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
- package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
- package/dist/types/core/constants/variants.d.ts +0 -12
- package/dist/types/pages/Cookiebar.d.ts +0 -3
- package/dist/types/pages/Modal.d.ts +0 -3
- package/dist/types/pages/Nav.d.ts +0 -3
- package/dist/types/pages/Prompt.d.ts +0 -3
- package/dist/types/pages/SideNav.d.ts +0 -3
- package/dist/types/pages/Statsbar.d.ts +0 -3
- /package/dist/components/{p-344c72d7.js.map → p-19c681a3.js.map} +0 -0
- /package/dist/core/{p-e44a0fee.js.map → p-052cc573.js.map} +0 -0
- /package/dist/core/{p-344c72d7.js.map → p-169b67af.js.map} +0 -0
- /package/dist/core/{p-7ba4daf4.js.map → p-2614044c.js.map} +0 -0
- /package/dist/core/{p-e0e2e9c1.js.map → p-45a30859.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["validateWcagProp","value","propName","component","undefined","String","length","govWarningLog","validateWcagRef","referenceId","name","strings","referenceIds","splitByWhitespace","Array","isArray","filter","e","trim","documentNode","getElementById","validateWcagLabelFor","inputId","labelledBy","labelEl","querySelector","labelledByEl","validateWcagLabel","label"],"sources":["../../../packages/core/src/helpers/Validate/wcag.ts"],"sourcesContent":["import { govWarningLog } from '../Log/gov.log'\nimport { splitByWhitespace } from '../../utils/string.utils'\nimport { documentNode } from '../Dom/win'\n\nexport const validateWcagProp = (value: string | undefined, propName: string, component: string): void => {\n\tif (value === undefined || String(value).length === 0) {\n\t\tgovWarningLog(`[${component}]: The (${propName}) attribute is important for correct accessibility.`)\n\t}\n}\n\nexport const validateWcagRef = (referenceId: string, name: string, component: string): boolean => {\n\tif (typeof referenceId === 'undefined' || referenceId === undefined) {\n\t\treturn true\n\t}\n\tif (String(referenceId).length === 0) {\n\t\tgovWarningLog(`[${component}]: Attribute (${name}) is defined with an empty value.`)\n\t\treturn false\n\t}\n\tlet strings = []\n\tconst referenceIds = splitByWhitespace(referenceId)\n\tif (Array.isArray(referenceIds)) {\n\t\tstrings = referenceIds.filter(function (e) {\n\t\t\treturn e.trim().length > 0\n\t\t})\n\t}\n\n\treturn !!strings.filter(referenceId => {\n\t\tif (documentNode().getElementById(referenceId) === null) {\n\t\t\t//govWarningLog(`[${component}][${name}]: Reference to element with id (${referenceId}) does not exist.`)\n\t\t\treturn false\n\t\t} else {\n\t\t\treturn true\n\t\t}\n\t}).length\n}\n\nexport const validateWcagLabelFor = (inputId: string, labelledBy: string | undefined, component: string): boolean => {\n\tconst labelEl = documentNode().querySelector(`[for=${inputId}]`)\n\tif (labelEl === null) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl === null) {\n\t\t\tgovWarningLog(`[${component}]: The form element has no defined wcag-label or wcag-labelled-by attribute.`)\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n\nexport const validateWcagLabel = (label: string | undefined, labelledBy: string | undefined, component: string): boolean => {\n\tif (typeof label === 'string' && label.length > 0) {\n\t\treturn true\n\t}\n\tif (typeof labelledBy === 'string' && labelledBy.length > 0) {\n\t\tconst labelledByEl = documentNode().getElementById(labelledBy)\n\t\tif (labelledByEl) {\n\t\t\treturn true\n\t\t}\n\t}\n\tgovWarningLog(`[${component}]: The element has no defined wcag-label or wcag-labelled-by attribute.`)\n\treturn false\n}\n"],"mappings":"kHAIaA,EAAmB,CAACC,EAA2BC,EAAkBC,KAC7E,GAAIF,IAAUG,WAAaC,OAAOJ,GAAOK,SAAW,EAAG,CACtDC,EAAc,IAAIJ,YAAoBD,uD,SAI3BM,EAAkB,CAACC,EAAqBC,EAAcP,KAClE,UAAWM,IAAgB,aAAeA,IAAgBL,UAAW,CACpE,OAAO,I,CAER,GAAIC,OAAOI,GAAaH,SAAW,EAAG,CACrCC,EAAc,IAAIJ,kBAA0BO,sCAC5C,OAAO,K,CAER,IAAIC,EAAU,GACd,MAAMC,EAAeC,EAAkBJ,GACvC,GAAIK,MAAMC,QAAQH,GAAe,CAChCD,EAAUC,EAAaI,QAAO,SAAUC,GACvC,OAAOA,EAAEC,OAAOZ,OAAS,C,IAI3B,QAASK,EAAQK,QAAOP,IACvB,GAAIU,IAAeC,eAAeX,KAAiB,KAAM,CAExD,OAAO,K,KACD,CACN,OAAO,I,KAENH,MAAM,E,MAGGe,EAAuB,CAACC,EAAiBC,EAAgCpB,KACrF,MAAMqB,EAAUL,IAAeM,cAAc,QAAQH,MACrD,GAAIE,IAAY,KAAM,CACrB,MAAME,EAAeP,IAAeC,eAAeG,GACnD,GAAIG,IAAiB,KAAM,CAC1BnB,EAAc,IAAIJ,iFAClB,OAAO,K,EAGT,OAAO,IAAI,E,MAGCwB,EAAoB,CAACC,EAA2BL,EAAgCpB,KAC5F,UAAWyB,IAAU,UAAYA,EAAMtB,OAAS,EAAG,CAClD,OAAO,I,CAER,UAAWiB,IAAe,UAAYA,EAAWjB,OAAS,EAAG,CAC5D,MAAMoB,EAAeP,IAAeC,eAAeG,GACnD,GAAIG,EAAc,CACjB,OAAO,I,EAGTnB,EAAc,IAAIJ,4EAClB,OAAO,KAAK,S","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as t,H as e,c as i,h as s,d as o}from"./p-5262b9ce.js";import{a}from"./p-d687df8f.js";import{v as n}from"./p-344c72d7.js";import{c as r}from"./p-cd6c2938.js";import{d as h,t as l,h as c}from"./p-e0e2e9c1.js";import{F as m,a as d,b as p}from"./p-77a6e3be.js";import{p as u}from"./p-3f704a40.js";import{d as g}from"./p-2f537b87.js";import{d as f}from"./p-2594e525.js";const v='.gov-form-autocomplete__list{margin:0;padding:0}.gov-form-autocomplete__list>.gov-form-autocomplete__item{margin:0;padding:0;background:none}.gov-form-autocomplete__list>.gov-form-autocomplete__item::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-form-autocomplete{position:relative;display:block;width:100%}.gov-form-autocomplete__list{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);position:absolute;top:100%;right:0;left:0;z-index:5;max-height:14.0625rem;margin-top:0.5rem;border:var(--gov-autocomplete-item-hover, 0.0625rem solid var(--gov-color-secondary-500));border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-autocomplete-bg, var(--gov-color-neutral-white));overflow-x:hidden;overflow-y:auto;overscroll-behavior:none}.gov-form-autocomplete__list>.gov-form-autocomplete__item{padding:0.75rem 0.5rem;cursor:pointer}.gov-form-autocomplete__item--empty,.gov-form-autocomplete__item--loading{padding:0.75rem 0.5rem;color:var(--gov-autocomplete-item-disable-color, var(--gov-color-secondary-600))}.gov-form-autocomplete__item--empty .gov-icon,.gov-form-autocomplete__item--empty .gov-spin-animation,.gov-form-autocomplete__item--loading .gov-icon,.gov-form-autocomplete__item--loading .gov-spin-animation{width:12px;height:12px}.gov-form-autocomplete__list:empty{display:none}.gov-form-autocomplete__item[aria-selected=""],.gov-form-autocomplete__item[aria-selected=true i],.gov-form-autocomplete__item[aria-selected="1"]{background:var(--gov-autocomplete-item-select, var(--gov-color-secondary-400))}@media not all and (pointer: coarse){.gov-form-autocomplete__item:hover{background:var(--gov-autocomplete-item-hover, var(--gov-color-primary-100))}}';const y=v;const b=t(class t extends e{constructor(){super();this.__registerHost();this.govFocus=i(this,"gov-focus",7);this.govBlur=i(this,"gov-blur",7);this.govInput=i(this,"gov-input",7);this.govSelect=i(this,"gov-select",7);this.templateResolver=t=>t[this.nameKey];this.value="";this.options=undefined;this.identifier=undefined;this.variant=undefined;this.success=undefined;this.size="m";this.nameKey="name";this.name=undefined;this.required=false;this.disabled=false;this.placeholder=undefined;this.readonly=undefined;this.invalid=undefined;this.minlength=3;this.maxlength=undefined;this.throttleTime=200;this.messageEmpty="Nebyly nalezeny žádné výsledky";this.messageLoading="Načítám...";this.wcagDescribedBy=undefined;this.wcagLabelledBy=undefined;this.wcagOwns=undefined;this.focused=undefined;this.processing=false;this.arrowCounter=-1;this.list=[];this.listBoxId=r("GovListBox")}validateVariant(t){n(d,t,m.root)}validateSize(t){n(p,t,m.root)}watchOptions(t){this.setOptions(u(t)).catch()}onArrowUp(){if(this.arrowCounter>0){this.arrowCounter=this.arrowCounter-1;this.moveToView().finally()}}onArrowDown(){if(this.arrowCounter<this.list.length-1){this.arrowCounter=this.arrowCounter+1;this.moveToView().finally()}}async moveToView(){await h(200);const t=this.listRef.offsetHeight;const e=this.listRef.querySelector('li[aria-selected="true"]');if(e&&t){const t=e.offsetTop;this.listRef.scrollTo({top:t,behavior:"smooth"})}}doSearch(){if(Number.isInteger(this.minlength)&&this.isValueAccepted===false&&this.minlength){this.list=[];this.arrowCounter=-1;this.processing=false;return}if(this.searchCallback){this.processing=true;this.searchCallback(this.value).then((t=>this.list=t)).catch((()=>this.list=[])).finally((()=>{this.arrowCounter=-1;this.processing=false}))}}clearList(){const t=u(this.options);if(t.length===0){this.list=[]}}get isValueAccepted(){if(typeof this.value==="string"){return this.value.length>=this.minlength}else{return false}}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size)}render(){return s(o,{key:"3ade1a0f94261a8530ce85af0a67f0ce5ed067d3",class:m.root,size:this.size,variant:this.variant},s("gov-form-input",{key:"ac6392ffdb77783b45b774dbb00edca83de7370e",placeholder:this.placeholder,name:this.name,disabled:this.disabled,readonly:this.readonly,autocomplete:false,size:this.size,variant:this.variant,required:this.required,invalid:this.invalid,success:this.success,role:"searchbox",value:this.value,minlength:this.minlength,maxlength:this.maxlength,"on-gov-input":l(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),wcagAutocomplete:"list",wcagDescribedBy:this.wcagDescribedBy,wcagLabelledBy:this.wcagLabelledBy,wcagOwns:[this.listBoxId,this.wcagOwns].join(" "),wcagExpanded:this.list.length&&this.focused,ref:t=>this.inputRef=t},s("slot",{key:"adb1c0a349ac9f12e0fb7d2790516a1e7a4cf437",slot:"right-icon",name:"right-icon"})),s("ul",{key:"9d11566e2fda522c662d8af6973cd5f4d155c1ad",class:m.list,role:"listbox","aria-hidden":a(!this.focused),hidden:!this.focused,id:this.listBoxId,ref:t=>this.listRef=t},this.focused&&this.list.length===0&&this.processing===false&&this.isValueAccepted&&this.messageEmpty?s("li",{class:m.empty},this.messageEmpty):null,this.focused&&this.processing===true&&this.isValueAccepted?s("li",{class:m.loading},s("gov-icon",{name:"loader",class:"gov-spin-animation"})," ",this.messageLoading):null,this.focused?this.list.map(((t,e)=>{const i=this.arrowCounter===e;return s("li",{class:m.item,innerHTML:this.templateResolver(t,i),role:"option","aria-posinset":e,tabindex:i?0:-1,"aria-setsize":this.list.length,onTouchStart:t=>this.onSelectHandler(t,e),onMouseDown:t=>this.onSelectHandler(t,e),"aria-selected":a(i)})})):null))}onFocusHandler(t){this.focused=true;this.arrowCounter=-1;if(this.isValueAccepted&&this.searchCallback){this.doSearch()}t.stopPropagation();this.govFocus.emit({originalEvent:t,component:m.root,value:this.value,selected:null})}onBlurHandler(t){this.focused=false;this.clearList();this.arrowCounter=-1;t.stopPropagation();this.govBlur.emit({originalEvent:t,component:m.root,value:this.value,selected:null})}onInputHandler(t){this.value=t.target.value;t.stopPropagation();this.govInput.emit({originalEvent:t,component:m.root,value:this.value,selected:null});this.doSearch()}onSelectHandler(t,e=-1){let i=null;if(e>-1){i=this.list[e]}else if(c(this.arrowCounter,this.list)){i=this.list[this.arrowCounter]}if(i){this.govSelect.emit({component:m.root,value:this.value,selected:i,originalEvent:t});this.clearList();if(c(this.nameKey,i)&&typeof i[this.nameKey]==="string"){this.value=i[this.nameKey]}}}onKeyUpHandler(t){const e=t.detail.originalEvent;t.stopPropagation();e.stopPropagation();if(e.keyCode===38)this.onArrowUp();else if(e.keyCode===40)this.onArrowDown();else if(e.keyCode===13){t.preventDefault();e.preventDefault();this.onSelectHandler(t)}}onKeyDownHandler(t){const e=t.detail.originalEvent;t.stopPropagation();e.stopPropagation();if(e.keyCode===13){t.preventDefault();e.preventDefault()}}async setFocus(t){return this.inputRef.focus(t)}async setBlur(){return this.inputRef.blur()}async setOptions(t){this.list=Array.isArray(t)?t:[];this.arrowCounter=-1}async clearValue(){this.value="";this.inputRef.value="";await this.inputRef.clearValue()}async setProcessing(t){this.processing=t}async setSearchCallback(t){this.searchCallback=t}async setTemplateResolver(t){this.templateResolver=t}get host(){return this}static get watchers(){return{variant:["validateVariant"],size:["validateSize"],options:["watchOptions"]}}static get style(){return y}},[4,"gov-form-autocomplete",{value:[1537],options:[1537],identifier:[1],variant:[1],success:[4],size:[1],nameKey:[1,"name-key"],name:[1],required:[4],disabled:[4],placeholder:[1],readonly:[4],invalid:[4],minlength:[2],maxlength:[2],throttleTime:[2,"throttle-time"],messageEmpty:[1,"message-empty"],messageLoading:[1,"message-loading"],wcagDescribedBy:[1,"wcag-described-by"],wcagLabelledBy:[1,"wcag-labelled-by"],wcagOwns:[1,"wcag-owns"],focused:[32],processing:[32],arrowCounter:[32],list:[32],setFocus:[64],setBlur:[64],setOptions:[64],clearValue:[64],setProcessing:[64],setSearchCallback:[64],setTemplateResolver:[64]},undefined,{variant:["validateVariant"],size:["validateSize"],options:["watchOptions"]}]);function _(){if(typeof customElements==="undefined"){return}const t=["gov-form-autocomplete","gov-form-input","gov-icon"];t.forEach((t=>{switch(t){case"gov-form-autocomplete":if(!customElements.get(t)){customElements.define(t,b)}break;case"gov-form-input":if(!customElements.get(t)){g()}break;case"gov-icon":if(!customElements.get(t)){f()}break}}))}_();export{b as G,_ as d};
|
|
2
|
-
//# sourceMappingURL=p-74915621.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["govFormAutocompleteCss","GovFormAutocompleteStyle0","GovFormAutocomplete","proxyCustomElement","H","constructor","this","templateResolver","item","nameKey","listBoxId","createID","validateVariant","newValue","validateProp","FormAutocompleteVariants","FormAutocompleteClass","root","validateSize","FormAutocompleteSizes","watchOptions","setOptions","propsValueToArray","catch","onArrowUp","arrowCounter","moveToView","finally","onArrowDown","list","length","delay","heightOfList","listRef","offsetHeight","selected","querySelector","offsetTop","scrollTo","top","behavior","doSearch","Number","isInteger","minlength","isValueAccepted","processing","searchCallback","value","then","response","clearList","areOptions","options","componentWillLoad","variant","size","render","h","Host","key","class","placeholder","name","disabled","readonly","autocomplete","required","invalid","success","role","maxlength","throttle","onInputHandler","bind","throttleTime","onKeyUpHandler","onKeyDownHandler","onFocusHandler","onBlurHandler","wcagAutocomplete","wcagDescribedBy","wcagLabelledBy","wcagOwns","join","wcagExpanded","focused","ref","el","inputRef","slot","toBoolAttr","hidden","id","messageEmpty","empty","loading","messageLoading","map","index","isSelected","innerHTML","tabindex","onTouchStart","e","onSelectHandler","onMouseDown","stopPropagation","govFocus","emit","originalEvent","component","govBlur","target","govInput","has","govSelect","event","detail","keyCode","preventDefault","setFocus","focus","setBlur","blur","Array","isArray","clearValue","setProcessing","status","setSearchCallback","callback","setTemplateResolver"],"sources":["../../../packages/core/src/components/gov-form/autocomplete/gov-form-autocomplete.scss?tag=gov-form-autocomplete","../../../packages/core/src/components/gov-form/autocomplete/gov-form-autocomplete.tsx"],"sourcesContent":["$class: \".gov-form-autocomplete\";\n\n#{$class} {\n\t@include base();\n\t&__list {\n\t\t@include typography($font-size-s);\n\t\t@extend %reset-ul;\n\t\tposition: absolute;\n\t\ttop: 100%;\n\t\tright: 0;\n\t\tleft: 0;\n\t\tz-index: 5;\n\t\tmax-height: rem-calc(225);\n\t\tmargin-top: rem-calc(8);\n\t\tborder: $form-autocomplete-border;\n\t\tborder-radius: $border-radius;\n\t\tbackground: $form-autocomplete-bg;\n\t\toverflow-x: hidden;\n\t\toverflow-y: auto;\n\t\toverscroll-behavior: none;\n\t}\n\t&__list > &__item {\n\t\t@extend %reset-ul-li;\n\t\tpadding: rem-calc(12 8);\n\t\tcursor: pointer;\n\t}\n\t&__item {\n\t\t&--empty,\n\t\t&--loading {\n\t\t\tpadding: rem-calc(12 8);\n\t\t\tcolor: $form-autocomplete-item-disable-color;\n\t\t\t& .gov-icon,\n\t\t\t& .gov-spin-animation {\n\t\t\t\twidth: 12px;\n\t\t\t\theight: 12px;\n\t\t\t}\n\t\t}\n\t}\n\n\t// STATES\n\t&__list:empty {\n\t\tdisplay: none;\n\t}\n\n\t// HOVERS\n\t&__item {\n\t\t@include parameter(\"aria-selected\") {\n\t\t\tbackground: $form-autocomplete-item-select-bg;\n\t\t}\n\t\t@include hover() {\n\t\t\tbackground: $form-autocomplete-item-hover-bg;\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {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 {\n\tFormAutocompleteClass,\n\tFormAutocompleteSizes,\n\tFormAutocompleteVariants,\n\tSizesType,\n\tVariantType\n} from './constants'\nimport {FormAutocompleteEvent, GovFormAutocompleteItem} from './gov-form-autocomplete.types'\nimport {propsValueToArray} from \"../../../utils/array.utils\";\n\n@Component({\n\ttag: 'gov-form-autocomplete',\n\tstyleUrl: 'gov-form-autocomplete.scss',\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\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 * Style variation of the form input.\n\t */\n\t@Prop() readonly variant?: VariantType\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() 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 * Custom message for when data is loaded\n\t */\n\t@Prop({attribute: 'message-loading'}) readonly messageLoading: string = 'Načítám...'\n\t/**\n\t * Indicates the id of a component that describes the input.\n\t */\n\t@Prop({attribute: 'wcag-described-by'}) readonly wcagDescribedBy: string\n\t/**\n\t * Indicates the id of a component that labels the input.\n\t */\n\t@Prop({attribute: 'wcag-labelled-by'}) readonly wcagLabelledBy: string\n\t/**\n\t * Same as original parameter\n\t * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-owns\n\t */\n\t@Prop({attribute: 'wcag-owns'}) readonly wcagOwns: string\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\t@State() focused: boolean\n\t@State() processing = false\n\t@State() arrowCounter = -1\n\t@State() list: GovFormAutocompleteItem[] = []\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(FormAutocompleteVariants, newValue, FormAutocompleteClass.root)\n\t}\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\tcomponentWillLoad() {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormAutocompleteClass.root} size={this.size} variant={this.variant}>\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\tvariant={this.variant}\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\twcagAutocomplete={'list'}\n\t\t\t\t\twcagDescribedBy={this.wcagDescribedBy}\n\t\t\t\t\twcagLabelledBy={this.wcagLabelledBy}\n\t\t\t\t\twcagOwns={[this.listBoxId, this.wcagOwns].join(' ')}\n\t\t\t\t\twcagExpanded={this.list.length && this.focused}\n\t\t\t\t\tref={el => (this.inputRef = el as HTMLGovFormInputElement)}\n\t\t\t\t>\n\t\t\t\t\t<slot slot=\"right-icon\" name=\"right-icon\"/>\n\t\t\t\t</gov-form-input>\n\t\t\t\t<ul class={FormAutocompleteClass.list}\n\t\t\t\t\t\trole={'listbox'}\n\t\t\t\t\t\taria-hidden={toBoolAttr(!this.focused)}\n\t\t\t\t\t\thidden={!this.focused}\n\t\t\t\t\t\tid={this.listBoxId}\n\t\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-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>\n\t\t\t\t\t\t\t {this.messageLoading}\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)\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"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{S as o}from"./p-92f420cb.js";import{p as t}from"./p-e0e2e9c1.js";import{V as r}from"./p-03dbb8b1.js";import{F as s}from"./p-f0d542f2.js";import{F as e}from"./p-7ba4daf4.js";const i=t(o,["_M","_L","_XL"]);const a=t(r,["PRIMARY","SECONDARY"]);const m={root:"gov-form-autocomplete",list:"gov-form-autocomplete__list",item:"gov-form-autocomplete__item",empty:"gov-form-autocomplete__item--empty",loading:"gov-form-autocomplete__item--loading"};t(o,["_M","_L","_XL"]);const c={root:"gov-form-control",holder:"gov-form-control__holder",bottom:"gov-form-control__bottom"};const n=t(o,["_S","_M","_L","_XL"]);const _=t(r,["PRIMARY","SECONDARY"]);var l;(function(o){o["COLOR"]="color";o["DATE"]="date";o["DATETIME_LOCAL"]="datetime-local";o["EMAIL"]="email";o["MONTH"]="month";o["NUMBER"]="number";o["PASSWORD"]="password";o["SEARCH"]="search";o["TEL"]="tel";o["TEXT"]="text";o["TIME"]="time";o["URL"]="url";o["WEEK"]="week"})(l||(l={}));var f;(function(o){o["RESET"]="reset"})(f||(f={}));const g={root:"gov-form-input"};const h=t(o,["_S","_M","_L","_XL"]);const p=t(r,["PRIMARY","SECONDARY"]);const u={root:"gov-form-select",icon:"gov-form-select__icon"};const v=t(o,["_M","_L","_XL"]);const d=t(r,["PRIMARY","SECONDARY"]);const b={root:"gov-form-multi-select",wrap:"gov-form-multi-select__wrap",list:"gov-form-multi-select__list",item:"gov-form-multi-select__item"};const L=t(o,["_XS","_S","_M","_L"]);const S={root:"gov-form-switch",holder:"gov-form-switch__holder",input:"gov-form-switch__input",indicator:"gov-form-switch__indicator"};const A=t(o,["_XS","_S","_M","_L"]);const M={root:"gov-form-checkbox",check:"gov-form-checkbox__check",label:"gov-form-checkbox__label"};const R=t(o,["_XS","_S","_M","_L"]);const k={root:"gov-form-radio",holder:"gov-form-radio__holder",input:"gov-form-radio__input",indicator:"gov-form-radio__indicator",label:"gov-form-radio__label"};const w=o=>({get govHost(){return o},passAttrToControl(o,t){if(this.control){this.control.setAttribute(o,t)}},passAttrToLabel(o,t){if(this.label){this.label.setAttribute(o,t)}},get hasGroupChildren(){if(this.control){return this.control.querySelectorAll("gov-form-group > *, gov-form-radio-group > *, gov-form-checkbox-group > *").length>1}return false},get control(){if(this.govHost.name===c.root){return this.govHost.hostElement}return this.govHost.getParent(c.root)},get label(){const o=this.govHost.hostElement.querySelector(`.${e.root}`);if(o){return o}if(this.control){return this.control.querySelector(`.${e.root}`)}return null},get mainElementsInControl(){const o=[u.root,g.root,S.root,M.root,k.root,b.root,m.root];if(this.control){const t=o.map((o=>`${o}:first-of-type`)).join(", ");return Array.from(this.control.querySelectorAll(t))}return[]},get messageElements(){if(this.control){return Array.from(this.control.querySelectorAll(s.root))}return[]}});export{m as F,a,i as b,g as c,_ as d,n as e,M as f,w as g,A as h,c as i,b as j,d as k,v as l,k as m,R as n,u as o,p,h as q,S as r,L as s};
|
|
2
|
-
//# sourceMappingURL=p-77a6e3be.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FormAutocompleteSizes","pick","Sizes","FormAutocompleteVariants","Variants","FormAutocompleteClass","root","list","item","empty","loading","FormControlClass","holder","bottom","FormInputSizes","FormInputVariants","InputTypes","Type","FormInputClass","FormSelectSizes","FormSelectVariants","FormSelectClass","icon","FormMultiselectSizes","FormMultiselectVariants","FormMultiSelectClass","wrap","FormSwitchSizes","FormSwitchClass","input","indicator","FormCheckboxSizes","FormCheckboxClass","check","label","FormRadioSizes","FormRadioClass","govForm","govHost","passAttrToControl","name","value","this","control","setAttribute","passAttrToLabel","hasGroupChildren","querySelectorAll","length","hostElement","getParent","innerLabel","querySelector","FormLabelClass","mainElementsInControl","formElements","elements","map","el","join","Array","from","messageElements","FormMessageClass"],"sources":["../../../packages/core/src/components/gov-form/autocomplete/constants.ts","../../../packages/core/src/components/gov-form/control/constants.ts","../../../packages/core/src/components/gov-form/input/constants.ts","../../../packages/core/src/components/gov-form/select/constants.ts","../../../packages/core/src/components/gov-form/multiselect/constants.ts","../../../packages/core/src/components/gov-form/switch/constants.ts","../../../packages/core/src/components/gov-form/checkbox/constants.ts","../../../packages/core/src/components/gov-form/radio/constants.ts","../../../packages/core/src/helpers/Dom/form.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormAutocompleteSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type SizesType = `${ValueOf<typeof FormAutocompleteSizes>}`\n\nexport const FormAutocompleteVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type VariantType = `${ValueOf<typeof FormAutocompleteVariants>}`\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","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormControlSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormControlSizesType = `${ValueOf<typeof FormControlSizes>}`\n\nexport const FormControlClass = {\n\troot: 'gov-form-control',\n\tholder: 'gov-form-control__holder',\n\tbottom: 'gov-form-control__bottom',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormInputSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type FormInputSizesType = `${ValueOf<typeof FormInputSizes>}`\n\nexport const FormInputVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type FormInputVariantType = `${ValueOf<typeof FormInputVariants>}`\n\nexport enum InputTypes {\n\tCOLOR = 'color',\n\tDATE = 'date',\n\tDATETIME_LOCAL = 'datetime-local',\n\tEMAIL = 'email',\n\tMONTH = 'month',\n\tNUMBER = 'number',\n\tPASSWORD = 'password',\n\tSEARCH = 'search',\n\tTEL = 'tel',\n\tTEXT = 'text',\n\tTIME = 'time',\n\tURL = 'url',\n\tWEEK = 'week',\n}\n\nexport type InputType = `${ValueOf<typeof InputTypes>}`\n\nexport enum Type {\n\tRESET = 'reset',\n}\n\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport const FormInputClass = {\n\troot: 'gov-form-input',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormSelectSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type FormSelectSizesType = `${ValueOf<typeof FormSelectSizes>}`\n\nexport const FormSelectVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type FormSelectVariantType = `${ValueOf<typeof FormSelectVariants>}`\n\nexport const FormSelectClass = {\n\troot: 'gov-form-select',\n\ticon: 'gov-form-select__icon',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormMultiselectSizes = pick(Sizes, ['_M', '_L', '_XL'])\nexport type FormMultiselectSizesType = `${ValueOf<typeof FormMultiselectSizes>}`\n\nexport const FormMultiselectVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type FormMultiselectVariantType = `${ValueOf<typeof FormMultiselectVariants>}`\n\nexport const FormMultiSelectClass = {\n\troot: 'gov-form-multi-select',\n\twrap: 'gov-form-multi-select__wrap',\n\tlist: 'gov-form-multi-select__list',\n\titem: 'gov-form-multi-select__item',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type FormSwitchSizesType = `${ValueOf<typeof FormSwitchSizes>}`\n\nexport const FormSwitchClass = {\n\troot: 'gov-form-switch',\n\tholder: 'gov-form-switch__holder',\n\tinput: 'gov-form-switch__input',\n\tindicator: 'gov-form-switch__indicator',\n}\n","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'])\nexport type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`\n\nexport const FormCheckboxClass = {\n\troot: 'gov-form-checkbox',\n\tcheck: 'gov-form-checkbox__check',\n\tlabel: 'gov-form-checkbox__label',\n}\n","import { Sizes } from '../../../core/constants/sizes'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormRadioSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`\n\nexport const FormRadioClass = {\n\troot: 'gov-form-radio',\n\tholder: 'gov-form-radio__holder',\n\tinput: 'gov-form-radio__input',\n\tindicator: 'gov-form-radio__indicator',\n\tlabel: 'gov-form-radio__label',\n}\n","import { GovHost } from './template.types'\nimport { GovForm } from './form.types'\nimport { FormControlClass } from '../../components/gov-form/control/constants'\nimport { FormInputClass } from '../../components/gov-form/input/constants'\nimport { FormSelectClass } from '../../components/gov-form/select/constants'\nimport { FormMultiSelectClass } from '../../components/gov-form/multiselect/constants'\nimport { FormSwitchClass } from '../../components/gov-form/switch/constants'\nimport { FormCheckboxClass } from '../../components/gov-form/checkbox/constants'\nimport { FormRadioClass } from '../../components/gov-form/radio/constants'\nimport { FormMessageClass } from '../../components/gov-form/message/constants'\nimport { FormAutocompleteClass } from '../../components/gov-form/autocomplete/constants'\nimport { Nullable } from '../../types/interfaces'\nimport { FormLabelClass } from \"../../components/gov-form/label/constants\"\n\nexport const govForm = (govHost: GovHost): GovForm => {\n\treturn {\n\t\tget govHost(): GovHost {\n\t\t\treturn govHost\n\t\t},\n\t\tpassAttrToControl(name: string, value: string): void {\n\t\t\tif (this.control) {\n\t\t\t\tthis.control.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tpassAttrToLabel(name: string, value: string): void {\n\t\t\tif (this.label) {\n\t\t\t\tthis.label.setAttribute(name, value)\n\t\t\t}\n\t\t},\n\t\tget hasGroupChildren(): boolean {\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelectorAll('gov-form-group > *, gov-form-radio-group > *, gov-form-checkbox-group > *').length > 1\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tget control(): Nullable<HTMLGovFormControlElement> {\n\t\t\tif (this.govHost.name === FormControlClass.root) {\n\t\t\t\treturn this.govHost.hostElement\n\t\t\t}\n\t\t\treturn this.govHost.getParent(FormControlClass.root)\n\t\t},\n\t\tget label(): Nullable<HTMLGovFormLabelElement> {\n\t\t\tconst innerLabel = this.govHost.hostElement.querySelector(`.${FormLabelClass.root}`)\n\t\t\tif(innerLabel) {\n\t\t\t\treturn innerLabel\n\t\t\t}\n\t\t\tif (this.control) {\n\t\t\t\treturn this.control.querySelector(`.${FormLabelClass.root}`)\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\t\tget mainElementsInControl(): Element[] {\n\t\t\tconst formElements = [\n\t\t\t\tFormSelectClass.root,\n\t\t\t\tFormInputClass.root,\n\t\t\t\tFormSwitchClass.root,\n\t\t\t\tFormCheckboxClass.root,\n\t\t\t\tFormRadioClass.root,\n\t\t\t\tFormMultiSelectClass.root,\n\t\t\t\tFormAutocompleteClass.root,\n\t\t\t]\n\t\t\tif (this.control) {\n\t\t\t\tconst elements = formElements.map(el => `${el}:first-of-type`).join(', ')\n\t\t\t\treturn Array.from(this.control.querySelectorAll(elements))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\tget messageElements(): HTMLGovFormMessageElement[] {\n\t\t\tif (this.control) {\n\t\t\t\treturn Array.from(this.control.querySelectorAll(FormMessageClass.root))\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as o,H as a,c as e,h as t,d as s}from"./p-5262b9ce.js";import{v as r}from"./p-71cec4ef.js";import{c as i}from"./p-e618f1cb.js";import{d as c}from"./p-e0e2e9c1.js";import{g as n}from"./p-d687df8f.js";const d={root:"gov-backdrop",bg:"gov-backdrop__bg"};const p='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-backdrop__bg{z-index:100;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--gov-backdrop-bg, var(--gov-color-secondary));opacity:var(--gov-backdrop-opacity, 0.45)}.gov-backdrop[inverse=""] .gov-backdrop__bg,.gov-backdrop[inverse=true i] .gov-backdrop__bg,.gov-backdrop[inverse="1"] .gov-backdrop__bg{background-color:var(--gov-backdrop-bg-inverse, var(--gov-color-neutral-white));opacity:var(--gov-backdrop-opacity, 0.8)}';const g=p;const b=o(class o extends a{constructor(){super();this.__registerHost();this.govClick=e(this,"gov-click",7);this.inverse=false;this.wcagLabel=undefined;this.wcagLabelledBy=undefined;this.h=n(this.host)}async componentDidRender(){if(i()){await c(500);await this.validateWcag()}}render(){return t(s,{key:"5bac97ada5dd6033242d8f32f8d8081ffda63b0e",class:this.h.classes(d.root)},t("div",{key:"1ceee80d74a81381a6aee4c042f94d2adc3d8987",role:"button","aria-label":this.wcagLabel,"aria-labelledby":this.wcagLabelledBy,onClick:o=>this.govClick.emit(o),class:d.bg}))}async validateWcag(){r(this.wcagLabel,this.wcagLabelledBy,d.root)}get host(){return this}static get style(){return g}},[0,"gov-backdrop",{inverse:[4],wcagLabel:[1,"wcag-label"],wcagLabelledBy:[1,"wcag-labelled-by"],validateWcag:[64]}]);function l(){if(typeof customElements==="undefined"){return}const o=["gov-backdrop"];o.forEach((o=>{switch(o){case"gov-backdrop":if(!customElements.get(o)){customElements.define(o,b)}break}}))}l();export{b as G,l as d};
|
|
2
|
-
//# sourceMappingURL=p-77cdc056.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["BackdropClass","root","bg","govBackdropCss","GovBackdropStyle0","GovBackdrop","proxyCustomElement","H","constructor","this","h","govHost","host","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","Host","key","class","classes","role","wcagLabel","wcagLabelledBy","onClick","e","govClick","emit","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-backdrop/constants.ts","../../../packages/core/src/components/gov-backdrop/gov-backdrop.scss?tag=gov-backdrop","../../../packages/core/src/components/gov-backdrop/gov-backdrop.tsx"],"sourcesContent":["export const BackdropClass = {\n\troot: 'gov-backdrop',\n\tbg: 'gov-backdrop__bg',\n}\n","/*\n * Backdrop\n */\n\n$class: \".gov-backdrop\";\n\n#{$class} {\n\t&__bg {\n\t\t@include z-index(\"modal\", 0);\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tright: 0;\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tbackground-color: $backdrop-bg;\n\t\topacity: $backdrop-opacity;\n\t}\n\n\t// VARIANTS\n\t@include parameter(\"inverse\") {\n\t\t#{$class} {\n\t\t\t&__bg {\n\t\t\t\tbackground-color: $backdrop-bg-inverse;\n\t\t\t\topacity: $backdrop-opacity-inverse;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Event, EventEmitter, h, Method, Prop, Host, Element } from '@stencil/core'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { BackdropClass } from './constants'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-backdrop',\n\tstyleUrl: 'gov-backdrop.scss',\n})\nexport class GovBackdrop {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBackdropElement\n\t/**\n\t * Determine if component should have inverse colors to be used on dark background.\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Adds accessible label for the backdrop that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Emitted when button clicks.\n\t */\n\t@Event({ eventName: 'gov-click' }) govClick: EventEmitter<MouseEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BackdropClass.root)}>\n\t\t\t\t<div\n\t\t\t\t\trole={'button'}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\t\tonClick={e => this.govClick.emit(e)}\n\t\t\t\t\tclass={BackdropClass.bg}\n\t\t\t\t></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, BackdropClass.root)\n\t}\n}\n"],"mappings":"gNAAO,MAAMA,EAAgB,CAC5BC,KAAM,eACNC,GAAI,oBCFL,MAAMC,EAAiB,oxBACvB,MAAAC,EAAeD,E,MCWFE,EAAWC,EAAA,MAAAD,UAAAE,EAGvB,WAAAC,G,+EAQoC,M,uDAPnCC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAqBvB,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNN,KAAKO,c,EAIb,MAAAC,GACC,OACCP,EAACQ,EAAI,CAAAC,IAAA,2CAACC,MAAOX,KAAKC,EAAEW,QAAQrB,EAAcC,OACzCS,EAAA,OAAAS,IAAA,2CACCG,KAAM,SAAQ,aACFb,KAAKc,UAAS,kBACTd,KAAKe,eACtBC,QAASC,GAAKjB,KAAKkB,SAASC,KAAKF,GACjCN,MAAOpB,EAAcE,K,CAUzB,kBAAMc,GACLa,EAAkBpB,KAAKc,UAAWd,KAAKe,eAAgBxB,EAAcC,K","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as o,c as t,h as i,d as r}from"./p-5262b9ce.js";import{g as s,o as c,p as l,q as n}from"./p-77a6e3be.js";import{g as a,a as g,t as v}from"./p-d687df8f.js";import{c as m}from"./p-e618f1cb.js";import{v as f}from"./p-344c72d7.js";import{b as d,c as h}from"./p-71cec4ef.js";import{c as p}from"./p-cd6c2938.js";import{d as u}from"./p-e0e2e9c1.js";import{p as z}from"./p-3f704a40.js";import{t as w}from"./p-240c302e.js";import{d as x}from"./p-2594e525.js";const b='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-form-select{position:relative;display:flex;width:100%;align-items:center}.gov-form-select .element{position:relative;display:flex;flex:1 1 auto}.gov-form-select input,.gov-form-select select,.gov-form-select textarea{width:100%;border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white));font-family:var(--gov-font-family, "Roboto", sans-serif)}.gov-form-select input:focus,.gov-form-select select:focus,.gov-form-select textarea:focus{outline:none}.gov-form-select input:focus-visible,.gov-form-select select:focus-visible,.gov-form-select textarea:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-select input::-moz-placeholder,.gov-form-select select::-moz-placeholder,.gov-form-select textarea::-moz-placeholder{color:var(--gov-form-placeholder-color, var(--gov-color-secondary-600))}.gov-form-select input::placeholder,.gov-form-select select::placeholder,.gov-form-select textarea::placeholder{color:var(--gov-form-placeholder-color, var(--gov-color-secondary-600))}.gov-form-select textarea{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0.5rem 0.75rem;resize:none}.gov-form-select *[slot=left-icon],.gov-form-select *[slot=right-icon]{position:absolute;top:50%;display:flex;justify-content:center;transform:translateY(-50%);pointer-events:none}.gov-form-select *[slot=left-icon]{left:0}.gov-form-select *[slot=right-icon]{right:0}.gov-form-select *[slot=prefix],.gov-form-select *[slot=sufix]{margin:0}[size=s].gov-form-select{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);gap:0.5rem var(--gov-form-input-core-s-icon-size, 1rem)}[size=s].gov-form-select input,[size=s].gov-form-select select{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);height:var(--gov-form-input-core-s-height, 2rem);padding:var(--gov-form-input-core-s-padding, 0.25rem 0.75rem)}[size=s].gov-form-select *[slot=left-icon],[size=s].gov-form-select *[slot=right-icon]{width:var(--gov-form-input-core-s-icon-size, 1rem);height:var(--gov-form-input-core-s-icon-size, 1rem)}[size=s].gov-form-select *[slot=left-icon]{left:calc((var(--gov-form-input-core-s-icon-padding, 2rem) - var(--gov-form-input-core-s-icon-size, 1rem)) / 2)}[size=s].gov-form-select *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-s-icon-padding, 2rem)}[size=s].gov-form-select *[slot=right-icon]{right:calc((var(--gov-form-input-core-s-icon-padding, 2rem) - var(--gov-form-input-core-s-icon-size, 1rem)) / 2)}[size=s].gov-form-select *[slot=right-icon]~input,[size=s].gov-form-select *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-s-icon-padding, 2rem)}[size=m].gov-form-select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);gap:0.5rem var(--gov-form-input-core-m-icon-size, 1rem)}[size=m].gov-form-select input,[size=m].gov-form-select select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);height:var(--gov-form-input-core-m-height, 2.5rem);padding:var(--gov-form-input-core-m-padding, 0.4375rem 0.75rem)}[size=m].gov-form-select *[slot=left-icon],[size=m].gov-form-select *[slot=right-icon]{width:var(--gov-form-input-core-m-icon-size, 1rem);height:var(--gov-form-input-core-m-icon-size, 1rem)}[size=m].gov-form-select *[slot=left-icon]{left:calc((var(--gov-form-input-core-m-icon-padding, 2.5rem) - var(--gov-form-input-core-m-icon-size, 1rem)) / 2)}[size=m].gov-form-select *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-m-icon-padding, 2.5rem)}[size=m].gov-form-select *[slot=right-icon]{right:calc((var(--gov-form-input-core-m-icon-padding, 2.5rem) - var(--gov-form-input-core-m-icon-size, 1rem)) / 2)}[size=m].gov-form-select *[slot=right-icon]~input,[size=m].gov-form-select *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-m-icon-padding, 2.5rem)}[size=l].gov-form-select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);gap:0.5rem var(--gov-form-input-core-l-icon-size, 1rem)}[size=l].gov-form-select input,[size=l].gov-form-select select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);height:var(--gov-form-input-core-l-height, 3rem);padding:var(--gov-form-input-core-l-padding, 0.6875rem 0.75rem)}[size=l].gov-form-select *[slot=left-icon],[size=l].gov-form-select *[slot=right-icon]{width:var(--gov-form-input-core-l-icon-size, 1rem);height:var(--gov-form-input-core-l-icon-size, 1rem)}[size=l].gov-form-select *[slot=left-icon]{left:calc((var(--gov-form-input-core-l-icon-padding, 2.5rem) - var(--gov-form-input-core-l-icon-size, 1rem)) / 2)}[size=l].gov-form-select *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-l-icon-padding, 2.5rem)}[size=l].gov-form-select *[slot=right-icon]{right:calc((var(--gov-form-input-core-l-icon-padding, 2.5rem) - var(--gov-form-input-core-l-icon-size, 1rem)) / 2)}[size=l].gov-form-select *[slot=right-icon]~input,[size=l].gov-form-select *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-l-icon-padding, 2.5rem)}[size=xl].gov-form-select{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);gap:0.5rem var(--gov-form-input-core-xl-icon-size, 1.25rem)}[size=xl].gov-form-select input,[size=xl].gov-form-select select{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);height:var(--gov-form-input-core-xl-height, 3.5rem);padding:var(--gov-form-input-core-xl-padding, 0.9375rem 1rem 0.875rem)}[size=xl].gov-form-select *[slot=left-icon],[size=xl].gov-form-select *[slot=right-icon]{width:var(--gov-form-input-core-xl-icon-size, 1.25rem);height:var(--gov-form-input-core-xl-icon-size, 1.25rem)}[size=xl].gov-form-select *[slot=left-icon]{left:calc((var(--gov-form-input-core-xl-icon-padding, 3rem) - var(--gov-form-input-core-xl-icon-size, 1.25rem)) / 2)}[size=xl].gov-form-select *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-xl-icon-padding, 3rem)}[size=xl].gov-form-select *[slot=right-icon]{right:calc((var(--gov-form-input-core-xl-icon-padding, 3rem) - var(--gov-form-input-core-xl-icon-size, 1.25rem)) / 2)}[size=xl].gov-form-select *[slot=right-icon]~input,[size=xl].gov-form-select *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-xl-icon-padding, 3rem)}[variant=primary].gov-form-select input,[variant=primary].gov-form-select select,[variant=primary].gov-form-select textarea{color:var(--gov-form-input-color-primary, var(--gov-color-secondary-700));border:var(--gov-form-input-border-primary, 0.0625rem solid var(--gov-color-primary-600))}[variant=primary].gov-form-select *[slot=left-icon],[variant=primary].gov-form-select *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-input-icon-color-primary, var(--gov-color-primary))}[variant=secondary].gov-form-select input,[variant=secondary].gov-form-select select,[variant=secondary].gov-form-select textarea{color:var(--gov-form-input-color-secondary, var(--gov-color-secondary-700));border:var(--gov-form-input-border-secondary, 0.0625rem solid var(--gov-color-secondary-700))}[variant=secondary].gov-form-select *[slot=left-icon],[variant=secondary].gov-form-select *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-input-icon-color-secondary, var(--gov-color-primary))}[disabled=""].gov-form-select,[disabled=true i].gov-form-select,[disabled="1"].gov-form-select{pointer-events:none}[disabled=""].gov-form-select input,[disabled=""].gov-form-select select,[disabled=""].gov-form-select textarea,[disabled=true i].gov-form-select input,[disabled=true i].gov-form-select select,[disabled=true i].gov-form-select textarea,[disabled="1"].gov-form-select input,[disabled="1"].gov-form-select select,[disabled="1"].gov-form-select textarea{border-color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600));background:var(--gov-form-input-disabled-bg, var(--gov-color-secondary-300));color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600))}[disabled=""].gov-form-select *[slot=left-icon],[disabled=""].gov-form-select *[slot=right-icon],[disabled=true i].gov-form-select *[slot=left-icon],[disabled=true i].gov-form-select *[slot=right-icon],[disabled="1"].gov-form-select *[slot=left-icon],[disabled="1"].gov-form-select *[slot=right-icon]{color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600)) !important}[invalid=""].gov-form-select input,[invalid=""].gov-form-select select,[invalid=""].gov-form-select textarea,[invalid=true i].gov-form-select input,[invalid=true i].gov-form-select select,[invalid=true i].gov-form-select textarea,[invalid="1"].gov-form-select input,[invalid="1"].gov-form-select select,[invalid="1"].gov-form-select textarea{border-color:var(--gov-form-state-color-error, var(--gov-color-error));color:var(--gov-form-state-color-error, var(--gov-color-error))}[invalid=""].gov-form-select input::-moz-placeholder,[invalid=""].gov-form-select select::-moz-placeholder,[invalid=""].gov-form-select textarea::-moz-placeholder,[invalid=true i].gov-form-select input::-moz-placeholder,[invalid=true i].gov-form-select select::-moz-placeholder,[invalid=true i].gov-form-select textarea::-moz-placeholder,[invalid="1"].gov-form-select input::-moz-placeholder,[invalid="1"].gov-form-select select::-moz-placeholder,[invalid="1"].gov-form-select textarea::-moz-placeholder{color:var(--gov-form-state-color-error, var(--gov-color-error-300))}[invalid=""].gov-form-select input::placeholder,[invalid=""].gov-form-select select::placeholder,[invalid=""].gov-form-select textarea::placeholder,[invalid=true i].gov-form-select input::placeholder,[invalid=true i].gov-form-select select::placeholder,[invalid=true i].gov-form-select textarea::placeholder,[invalid="1"].gov-form-select input::placeholder,[invalid="1"].gov-form-select select::placeholder,[invalid="1"].gov-form-select textarea::placeholder{color:var(--gov-form-state-color-error, var(--gov-color-error-300))}[invalid=""].gov-form-select *[slot=left-icon],[invalid=""].gov-form-select *[slot=right-icon],[invalid=true i].gov-form-select *[slot=left-icon],[invalid=true i].gov-form-select *[slot=right-icon],[invalid="1"].gov-form-select *[slot=left-icon],[invalid="1"].gov-form-select *[slot=right-icon]{color:var(--gov-form-state-color-error, var(--gov-color-error)) !important}[invalid=""].gov-form-select *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[invalid=true i].gov-form-select *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[invalid="1"].gov-form-select *[slot=right-icon]:not(.icon-validation):not(.icon-arrow){display:none}[success=""].gov-form-select *[slot=right-icon]:not(.icon-arrow),[success=true i].gov-form-select *[slot=right-icon]:not(.icon-arrow),[success="1"].gov-form-select *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-state-color-success, var(--gov-color-success))}[success=""].gov-form-select *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[success=true i].gov-form-select *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[success="1"].gov-form-select *[slot=right-icon]:not(.icon-validation):not(.icon-arrow){display:none}[multiline=""].gov-form-select *[slot=left-icon],[multiline=""].gov-form-select *[slot=right-icon],[multiline=true i].gov-form-select *[slot=left-icon],[multiline=true i].gov-form-select *[slot=right-icon],[multiline="1"].gov-form-select *[slot=left-icon],[multiline="1"].gov-form-select *[slot=right-icon]{display:none}.gov-form-select{background:none}.gov-form-select select{-webkit-appearance:none;-moz-appearance:none}.gov-form-select select::-ms-expand{display:none}[size=s].gov-form-select *[slot=right-icon]{right:var(--gov-form-select-s-arrow-right-position, 0.75rem);width:var(--gov-form-select-s-arrow-size, 0.75rem);height:var(--gov-form-select-s-arrow-size, 0.75rem)}[size=s][invalid=""].gov-form-select .icon-arrow,[size=s][invalid=true i].gov-form-select .icon-arrow,[size=s][invalid="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-s-arrow-right-position, 0.75rem))}[size=s][success=""].gov-form-select .icon-arrow,[size=s][success=true i].gov-form-select .icon-arrow,[size=s][success="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-s-arrow-right-position, 0.75rem))}[size=m].gov-form-select *[slot=right-icon]{right:var(--gov-form-select-m-arrow-right-position, 1rem);width:var(--gov-form-select-m-arrow-size, 0.75rem);height:var(--gov-form-select-m-arrow-size, 0.75rem)}[size=m][invalid=""].gov-form-select .icon-arrow,[size=m][invalid=true i].gov-form-select .icon-arrow,[size=m][invalid="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-m-arrow-right-position, 1rem))}[size=m][success=""].gov-form-select .icon-arrow,[size=m][success=true i].gov-form-select .icon-arrow,[size=m][success="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-m-arrow-right-position, 1rem))}[size=l].gov-form-select *[slot=right-icon]{right:var(--gov-form-select-l-arrow-right-position, 1rem);width:var(--gov-form-select-l-arrow-size, 1rem);height:var(--gov-form-select-l-arrow-size, 1rem)}[size=l][invalid=""].gov-form-select .icon-arrow,[size=l][invalid=true i].gov-form-select .icon-arrow,[size=l][invalid="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-l-arrow-right-position, 1rem))}[size=l][success=""].gov-form-select .icon-arrow,[size=l][success=true i].gov-form-select .icon-arrow,[size=l][success="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-l-arrow-right-position, 1rem))}[size=xl].gov-form-select *[slot=right-icon]{right:var(--gov-form-select-xl-arrow-right-position, 1.3125rem);width:var(--gov-form-select-xl-arrow-size, 1rem);height:var(--gov-form-select-xl-arrow-size, 1rem)}[size=xl][invalid=""].gov-form-select .icon-arrow,[size=xl][invalid=true i].gov-form-select .icon-arrow,[size=xl][invalid="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-xl-arrow-right-position, 1.3125rem))}[size=xl][success=""].gov-form-select .icon-arrow,[size=xl][success=true i].gov-form-select .icon-arrow,[size=xl][success="1"].gov-form-select .icon-arrow{right:calc(3 * var(--gov-form-select-xl-arrow-right-position, 1.3125rem))}[size=s][invalid=""].gov-form-select *[slot=right-icon]~select,[size=s][invalid=""].gov-form-select *[slot=right-icon]~input,[size=s][invalid=true i].gov-form-select *[slot=right-icon]~select,[size=s][invalid=true i].gov-form-select *[slot=right-icon]~input,[size=s][invalid="1"].gov-form-select *[slot=right-icon]~select,[size=s][invalid="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-s-icon-padding, 2rem))}[size=s][success=""].gov-form-select *[slot=right-icon]~select,[size=s][success=""].gov-form-select *[slot=right-icon]~input,[size=s][success=true i].gov-form-select *[slot=right-icon]~select,[size=s][success=true i].gov-form-select *[slot=right-icon]~input,[size=s][success="1"].gov-form-select *[slot=right-icon]~select,[size=s][success="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-s-icon-padding, 2rem))}[size=m][invalid=""].gov-form-select *[slot=right-icon]~select,[size=m][invalid=""].gov-form-select *[slot=right-icon]~input,[size=m][invalid=true i].gov-form-select *[slot=right-icon]~select,[size=m][invalid=true i].gov-form-select *[slot=right-icon]~input,[size=m][invalid="1"].gov-form-select *[slot=right-icon]~select,[size=m][invalid="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-m-icon-padding, 2.5rem))}[size=m][success=""].gov-form-select *[slot=right-icon]~select,[size=m][success=""].gov-form-select *[slot=right-icon]~input,[size=m][success=true i].gov-form-select *[slot=right-icon]~select,[size=m][success=true i].gov-form-select *[slot=right-icon]~input,[size=m][success="1"].gov-form-select *[slot=right-icon]~select,[size=m][success="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-m-icon-padding, 2.5rem))}[size=l][invalid=""].gov-form-select *[slot=right-icon]~select,[size=l][invalid=""].gov-form-select *[slot=right-icon]~input,[size=l][invalid=true i].gov-form-select *[slot=right-icon]~select,[size=l][invalid=true i].gov-form-select *[slot=right-icon]~input,[size=l][invalid="1"].gov-form-select *[slot=right-icon]~select,[size=l][invalid="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-l-icon-padding, 2.5rem))}[size=l][success=""].gov-form-select *[slot=right-icon]~select,[size=l][success=""].gov-form-select *[slot=right-icon]~input,[size=l][success=true i].gov-form-select *[slot=right-icon]~select,[size=l][success=true i].gov-form-select *[slot=right-icon]~input,[size=l][success="1"].gov-form-select *[slot=right-icon]~select,[size=l][success="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-l-icon-padding, 2.5rem))}[size=xl][invalid=""].gov-form-select *[slot=right-icon]~select,[size=xl][invalid=""].gov-form-select *[slot=right-icon]~input,[size=xl][invalid=true i].gov-form-select *[slot=right-icon]~select,[size=xl][invalid=true i].gov-form-select *[slot=right-icon]~input,[size=xl][invalid="1"].gov-form-select *[slot=right-icon]~select,[size=xl][invalid="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-xl-icon-padding, 3rem))}[size=xl][success=""].gov-form-select *[slot=right-icon]~select,[size=xl][success=""].gov-form-select *[slot=right-icon]~input,[size=xl][success=true i].gov-form-select *[slot=right-icon]~select,[size=xl][success=true i].gov-form-select *[slot=right-icon]~input,[size=xl][success="1"].gov-form-select *[slot=right-icon]~select,[size=xl][success="1"].gov-form-select *[slot=right-icon]~input{padding-right:calc(2 * var(--gov-form-input-core-xl-icon-padding, 3rem))}';const y=b;const k=e(class e extends o{constructor(){super();this.__registerHost();this.govFocus=t(this,"gov-focus",7);this.govBlur=t(this,"gov-blur",7);this.govChange=t(this,"gov-change",7);this.value=undefined;this.options=undefined;this.identifier=undefined;this.variant="secondary";this.size="m";this.name=undefined;this.required=false;this.success=undefined;this.disabled=false;this.invalid=undefined;this.wcagActiveDescendant=undefined;this.wcagControls=undefined;this.wcagDescribedBy=undefined;this.wcagLabelledBy=undefined;this.wcagOwns=undefined;this.focused=undefined;this.optionsState=[];this.h=a(this.host);this.f=s(this.h);this.selectId=p("GovSelect")}validateVariant(e){f(l,e,c.root)}validateSize(e){f(n,e,c.root)}watchOptions(e){this.optionsState=z(e)}watchControlAttrs(){this.passControlAttrs()}watchValue(){this.markSelectedValue()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("invalid",g(this.invalid));this.f.passAttrToControl("success",g(this.success));this.f.passAttrToControl("disabled",g(this.disabled));this.f.passAttrToControl("type","select")}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size);this.markSelectedValue();this.optionsState=z(this.options)}async componentDidRender(){this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required));if(m()){await u(500);await this.validateWcag()}w((()=>this.markSelectedValue()))}markSelectedValue(){this.host.querySelectorAll("option").forEach((e=>{if(e.value===this.value){e.setAttribute("selected","selected")}else{e.removeAttribute("selected")}}))}render(){return i(r,{key:"ad730683b3c90c1f843e0b623ccb90620d850f38",class:c.root,size:this.size,variant:this.variant},this.h.hasSlot("prefix")&&i("slot",{key:"a502060ea1fe99bdc99c6d41ec724a028e953936",name:"prefix"}),i("span",{key:"c1145ad7d689eedd3364a036cbbc84e2651bf2f3",class:"element"},i("gov-icon",{key:"4064afe2f528385e0488d9b0d4de823468d5291b",slot:"right-icon",name:"chevron-down",class:"icon-arrow"}),this.h.hasSlot("right-icon")&&!(this.success||this.invalid)&&i("slot",{key:"3be3d76095659ad871ad56c301455d845ad2228c",name:"right-icon"}),this.success&&i("gov-icon",{key:"fa6b68bbd864c09ba5b5dab1118dab5acba21875",slot:"right-icon",class:"icon-validation",name:"check-lg"}),this.invalid&&i("gov-icon",{key:"956ce3b961a6cce2f815a787bc16daed467a519e",slot:"right-icon",class:"icon-validation",name:"exclamation-lg"}),i("select",{key:"f176ad1c96c7b1c2fa080332a82b5c4a0847ceb0",id:this.identifier||this.selectId,onFocus:this.onFocusHandler.bind(this),onChange:this.onChangeHandler.bind(this),onBlur:this.onBlurHandler.bind(this),required:this.required,name:this.name,disabled:this.disabled,ref:e=>this.selectRef=e,"aria-disabled":v(this.disabled),"aria-activedescendant":this.wcagActiveDescendant,"aria-controls":this.wcagControls,"aria-required":v(this.required),"aria-invalid":v(this.invalid),"aria-describedby":this.wcagDescribedBy,"aria-labelledby":this.wcagLabelledBy,"aria-owns":this.wcagOwns},i("slot",{key:"1021bfce70fc2896c420df6e16e36aa63dfe0b37"}),Array.isArray(this.optionsState)&&this.optionsState.map((e=>{var o;return i("option",{value:e.value,selected:e.value===this.value,disabled:e===null||e===void 0?void 0:e.disabled},(o=e.label)!==null&&o!==void 0?o:e.value)})))),this.h.hasSlot("sufix")&&i("slot",{key:"c1900ebfcba04e86829852c2a164a2c3492f1895",name:"sufix"}))}onFocusHandler(e){this.focused=true;this.govFocus.emit({component:c.root,originalEvent:e,value:this.value})}onBlurHandler(e){this.focused=false;this.govBlur.emit({component:c.root,originalEvent:e,value:this.value})}onChangeHandler(e){this.value=e.target.value;e.stopPropagation();this.govChange.emit({component:c.root,originalEvent:e,value:this.value})}async setFocus(e){return this.selectRef.focus(e)}async getRef(){return this.selectRef}async validateWcag(){d(this.wcagActiveDescendant,"wcag-active-descendant",c.root);d(this.wcagControls,"wcag-controls",c.root);d(this.wcagDescribedBy,"wcag-described-by",c.root);d(this.wcagOwns,"wcag-owns",c.root);h(this.identifier||this.selectId,this.wcagLabelledBy,c.root)}get host(){return this}static get watchers(){return{variant:["validateVariant"],size:["validateSize","watchControlAttrs"],options:["watchOptions"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"],value:["watchValue"]}}static get style(){return y}},[4,"gov-form-select",{value:[1537],options:[1537],identifier:[1],variant:[1],size:[1],name:[1],required:[4],success:[4],disabled:[4],invalid:[4],wcagActiveDescendant:[1,"wcag-active-descendant"],wcagControls:[1,"wcag-controls"],wcagDescribedBy:[1,"wcag-described-by"],wcagLabelledBy:[1,"wcag-labelled-by"],wcagOwns:[1,"wcag-owns"],focused:[32],optionsState:[32],setFocus:[64],getRef:[64],validateWcag:[64]},undefined,{variant:["validateVariant"],size:["validateSize","watchControlAttrs"],options:["watchOptions"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"],success:["watchControlAttrs"],value:["watchValue"]}]);function C(){if(typeof customElements==="undefined"){return}const e=["gov-form-select","gov-icon"];e.forEach((e=>{switch(e){case"gov-form-select":if(!customElements.get(e)){customElements.define(e,k)}break;case"gov-icon":if(!customElements.get(e)){x()}break}}))}C();export{k as G,C as d};
|
|
2
|
-
//# sourceMappingURL=p-8cf6d23c.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["govFormSelectCss","GovFormSelectStyle0","GovFormSelect","proxyCustomElement","H","constructor","this","h","govHost","host","f","govForm","selectId","createID","validateVariant","newValue","validateProp","FormSelectVariants","FormSelectClass","root","validateSize","FormSelectSizes","watchOptions","optionsState","propsValueToArray","watchControlAttrs","passControlAttrs","watchValue","markSelectedValue","passAttrToControl","size","toBoolAttr","invalid","success","disabled","componentWillLoad","variant","options","componentDidRender","passAttrToLabel","String","required","canValidateWcagOnRender","delay","validateWcag","tick","querySelectorAll","forEach","option","value","setAttribute","removeAttribute","render","Host","key","class","hasSlot","name","slot","id","identifier","onFocus","onFocusHandler","bind","onChange","onChangeHandler","onBlur","onBlurHandler","ref","el","selectRef","toBoolAttrIfDefined","wcagActiveDescendant","wcagControls","wcagDescribedBy","wcagLabelledBy","wcagOwns","Array","isArray","map","selected","_a","label","e","focused","govFocus","emit","component","originalEvent","govBlur","target","stopPropagation","govChange","setFocus","focus","getRef","validateWcagRef","validateWcagLabelFor"],"sources":["../../../packages/core/src/components/gov-form/select/gov-form-select.scss?tag=gov-form-select","../../../packages/core/src/components/gov-form/select/gov-form-select.tsx"],"sourcesContent":["/*\n * Select\n */\n\n@import \"../select/gov-form-select-core.scss\";\n\n$class: \".gov-form-select\";\n\n#{$class} {\n\t@extend %form-select-core;\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {govForm} from '../../../helpers/Dom/form'\nimport {GovForm} from '../../../helpers/Dom/form.types'\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from '../../../helpers/Dom/template'\nimport {GovHost} from '../../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../../helpers/Dom/win'\nimport {validateProp} from '../../../helpers/Validate/props'\nimport {validateWcagLabelFor, validateWcagRef} from '../../../helpers/Validate/wcag'\nimport {createID} from '../../../utils/string.utils'\nimport {delay} from '../../../utils/utils'\nimport {\n\tFormSelectClass,\n\tFormSelectSizes,\n\tFormSelectSizesType,\n\tFormSelectVariants,\n\tFormSelectVariantType\n} from './constants'\nimport {FormSelectEvent, FormSelectOption} from './gov-form-select.types'\nimport {propsValueToArray} from \"../../../utils/array.utils\";\nimport {tick} from \"../../../utils/stencil.utils\";\n\n@Component({\n\ttag: 'gov-form-select',\n\tstyleUrl: 'gov-form-select.scss',\n})\nexport class GovFormSelect {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate selectRef?: HTMLSelectElement\n\n\tprivate readonly selectId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t\tthis.selectId = createID('GovSelect')\n\t}\n\n\t@Element() host: HTMLGovFormSelectElement\n\t/**\n\t * Value of select\n\t */\n\t@Prop({reflect: true, mutable: true}) value: string\n\t/**\n\t * Options of select\n\t */\n\t@Prop({reflect: true, mutable: true}) options?: string | FormSelectOption[]\n\t/**\n\t * Custom select identifier.\n\t */\n\t@Prop({attribute: 'identifier'}) readonly identifier: string\n\t/**\n\t * Style variation of the form select.\n\t */\n\t@Prop() readonly variant?: FormSelectVariantType = 'secondary'\n\t/**\n\t * Select’s size.\n\t */\n\t@Prop() readonly size?: FormSelectSizesType = 'm'\n\t/**\n\t * Name of the select.\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 * 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 * Makes the select 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() readonly disabled: boolean = false\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 * Indicates the id of a related component’s visually focused element.\n\t */\n\t@Prop({attribute: 'wcag-active-descendant'}) readonly wcagActiveDescendant: string\n\t/**\n\t * Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.\n\t */\n\t@Prop({attribute: 'wcag-controls'}) readonly wcagControls: string\n\t/**\n\t * Indicates the id of a component that describes the input.\n\t */\n\t@Prop({attribute: 'wcag-described-by'}) readonly wcagDescribedBy: string\n\t/**\n\t * Indicates the id of a component that labels the input.\n\t */\n\t@Prop({attribute: 'wcag-labelled-by'}) readonly wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the input.\n\t */\n\t@Prop({attribute: 'wcag-owns'}) readonly wcagOwns: string\n\t/**\n\t * Emitted when the select has focus.\n\t */\n\t@Event({eventName: 'gov-focus'}) govFocus: EventEmitter<FormSelectEvent>\n\t/**\n\t * Emitted when the select loses focus.\n\t */\n\t@Event({eventName: 'gov-blur'}) govBlur: EventEmitter<FormSelectEvent>\n\t/**\n\t * Emitted when the select change value.\n\t */\n\t@Event({eventName: 'gov-change'}) govChange: EventEmitter<FormSelectEvent>\n\t@State() focused: boolean\n\t@State() optionsState: FormSelectOption[] = []\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(FormSelectVariants, newValue, FormSelectClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormSelectSizes, newValue, FormSelectClass.root)\n\t}\n\n\t@Watch('options')\n\twatchOptions(newValue: string | FormSelectOption[]): void {\n\t\tthis.optionsState = propsValueToArray(newValue)\n\t}\n\n\t@Watch('disabled')\n\t@Watch('invalid')\n\t@Watch('success')\n\t@Watch('size')\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@Watch('value')\n\twatchValue(): void {\n\t\tthis.markSelectedValue()\n\t}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl('size', this.size)\n\t\tthis.f.passAttrToControl('invalid', toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl('success', toBoolAttr(this.success))\n\t\tthis.f.passAttrToControl('disabled', toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl('type', 'select')\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\n\t\tthis.markSelectedValue()\n\n\t\tthis.optionsState = propsValueToArray(this.options)\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.passControlAttrs()\n\t\tthis.f.passAttrToLabel('required', String(this.required))\n\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t\ttick(() => this.markSelectedValue())\n\t}\n\n\tprivate markSelectedValue() {\n\t\tthis.host.querySelectorAll('option').forEach((option: HTMLOptionElement) => {\n\t\t\tif (option.value === this.value) {\n\t\t\t\toption.setAttribute('selected', 'selected')\n\t\t\t} else {\n\t\t\t\toption.removeAttribute('selected')\n\t\t\t}\n\t\t})\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormSelectClass.root} size={this.size} variant={this.variant}>\n\t\t\t\t{this.h.hasSlot('prefix') && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"chevron-down\" class=\"icon-arrow\"></gov-icon>\n\t\t\t\t\t{this.h.hasSlot('right-icon') && !(this.success || this.invalid) && <slot name=\"right-icon\"/>}\n\t\t\t\t\t{this.success && <gov-icon slot=\"right-icon\" class=\"icon-validation\" name=\"check-lg\"></gov-icon>}\n\t\t\t\t\t{this.invalid && <gov-icon slot=\"right-icon\" class=\"icon-validation\" name=\"exclamation-lg\"></gov-icon>}\n\t\t\t\t\t<select\n\t\t\t\t\t\tid={this.identifier || this.selectId}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tref={el => (this.selectRef = el as HTMLSelectElement)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\taria-activedescendant={this.wcagActiveDescendant}\n\t\t\t\t\t\taria-controls={this.wcagControls}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-describedby={this.wcagDescribedBy}\n\t\t\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\t\t\taria-owns={this.wcagOwns}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot></slot>\n\t\t\t\t\t\t{Array.isArray(this.optionsState) && this.optionsState.map((option) => {\n\t\t\t\t\t\t\treturn (<option value={option.value} selected={option.value === this.value}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={option?.disabled}>{option.label ?? option.value}</option>)\n\t\t\t\t\t\t})}\n\t\t\t\t\t</select>\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot('sufix') && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormSelectClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tvalue: this.value,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormSelectClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tvalue: this.value,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.value = (e.target as HTMLSelectElement).value\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormSelectClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tvalue: this.value,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.selectRef.focus(options)\n\t}\n\n\t/**\n\t * Returns an instance of the native html select element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLSelectElement> {\n\t\treturn this.selectRef\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagActiveDescendant, 'wcag-active-descendant', FormSelectClass.root)\n\t\tvalidateWcagRef(this.wcagControls, 'wcag-controls', FormSelectClass.root)\n\t\tvalidateWcagRef(this.wcagDescribedBy, 'wcag-described-by', FormSelectClass.root)\n\t\tvalidateWcagRef(this.wcagOwns, 'wcag-owns', FormSelectClass.root)\n\t\tvalidateWcagLabelFor(this.identifier || this.selectId, this.wcagLabelledBy, FormSelectClass.root)\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V as e}from"./p-03dbb8b1.js";import{S as t}from"./p-92f420cb.js";import{p as o}from"./p-e0e2e9c1.js";const p=o(e,["PRIMARY","SECONDARY","WARNING","ERROR","SUCCESS"]);const s=o(t,["_XS","_S","_M"]);const r={root:"gov-stepper"};const i={root:"gov-stepper-item",rootWithAnnot:"gov-stepper-item gov-stepper-item--w-annot",header:"gov-stepper-item__header",title:"gov-stepper-item__title",label:"gov-stepper-item__label",name:"gov-stepper-item__name",annot:"gov-stepper-item__annot",prefix:"gov-stepper-item__prefix",content:"gov-stepper-item__content",suffix:"gov-stepper-item__suffix"};export{i as S,r as a,s as b,p as c};
|
|
2
|
-
//# sourceMappingURL=p-8dfac7d7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StepperVariants","pick","Variants","StepperSizes","Sizes","StepperClass","root","StepperItemClass","rootWithAnnot","header","title","label","name","annot","prefix","content","suffix"],"sources":["../../../packages/core/src/components/gov-stepper/constants.ts"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const StepperVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type StepperVariantType = `${ValueOf<typeof StepperVariants>}`\n\nexport const StepperSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type StepperSizesType = `${ValueOf<typeof StepperSizes>}`\n\nexport const StepperClass = {\n\troot: 'gov-stepper',\n}\n\nexport const StepperItemClass = {\n\troot: 'gov-stepper-item',\n\trootWithAnnot: 'gov-stepper-item gov-stepper-item--w-annot',\n\theader: 'gov-stepper-item__header',\n\ttitle: 'gov-stepper-item__title',\n\tlabel: 'gov-stepper-item__label',\n\tname: 'gov-stepper-item__name',\n\tannot: 'gov-stepper-item__annot',\n\tprefix: 'gov-stepper-item__prefix',\n\tcontent: 'gov-stepper-item__content',\n\tsuffix: 'gov-stepper-item__suffix',\n}\n"],"mappings":"kHAKaA,EAAkBC,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,Y,MAG9EC,EAAeF,EAAKG,EAAO,CAAC,MAAO,KAAM,O,MAGzCC,EAAe,CAC3BC,KAAM,e,MAGMC,EAAmB,CAC/BD,KAAM,mBACNE,cAAe,6CACfC,OAAQ,2BACRC,MAAO,0BACPC,MAAO,0BACPC,KAAM,yBACNC,MAAO,0BACPC,OAAQ,2BACRC,QAAS,4BACTC,OAAQ,mC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{S as o}from"./p-92f420cb.js";import{V as t}from"./p-03dbb8b1.js";import{p as s}from"./p-e0e2e9c1.js";const n=s(o,["_XS","_S","_M","_L","_XL"]);const a=s(t,["PRIMARY","SECONDARY","SUCCESS","ERROR","WARNING"]);var r;(function(o){o["SOLID"]="solid";o["OUTLINED"]="outlined";o["BASE"]="base";o["LINK"]="link"})(r||(r={}));var i;(function(o){o["SUBMIT"]="submit";o["BUTTON"]="button";o["RESET"]="reset"})(i||(i={}));var b;(function(o){o["BLANK"]="_blank";o["SELF"]="_self";o["NEW"]="_new"})(b||(b={}));const c={root:"gov-button",rootWithIcon:"gov-button--w-icon"};export{c as B,i as N,r as T,a,n as b};
|
|
2
|
-
//# sourceMappingURL=p-9370b15f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ButtonSizes","pick","Sizes","ButtonVariants","Variants","Type","NativeType","ButtonTarget","ButtonClass","root","rootWithIcon"],"sources":["../../../packages/core/src/components/gov-button/button/constants.ts"],"sourcesContent":["import { Sizes } from '../../../core/constants/sizes'\nimport { Variants } from '../../../core/constants/variants'\nimport { ValueOf } from '../../../types/interfaces'\nimport { pick } from '../../../utils/utils'\n\nexport const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`\n\nexport const ButtonVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type ButtonVariantType = `${ValueOf<typeof ButtonVariants>}`\n\nexport enum Type {\n\tSOLID = 'solid',\n\tOUTLINED = 'outlined',\n\tBASE = 'base',\n\tLINK = 'link',\n}\n\nexport type TypesType = `${ValueOf<typeof Type>}`\n\nexport enum NativeType {\n\tSUBMIT = 'submit',\n\tBUTTON = 'button',\n\tRESET = 'reset',\n}\n\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport enum ButtonTarget {\n\tBLANK = '_blank',\n\tSELF = '_self',\n\tNEW = '_new',\n}\nexport type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`\n\nexport const ButtonClass = {\n\troot: 'gov-button',\n\trootWithIcon: 'gov-button--w-icon',\n}\n"],"mappings":"kHAKaA,EAAcC,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,Q,MAGpDC,EAAiBF,EAAKG,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,Y,IAG9EC,GAAZ,SAAYA,GACXA,EAAA,iBACAA,EAAA,uBACAA,EAAA,eACAA,EAAA,cACA,EALD,CAAYA,MAAI,K,IASJC,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,mBACAA,EAAA,gBACA,EAJD,CAAYA,MAAU,KAQtB,IAAYC,GAAZ,SAAYA,GACXA,EAAA,kBACAA,EAAA,gBACAA,EAAA,aACA,EAJD,CAAYA,MAAY,K,MAOXC,EAAc,CAC1BC,KAAM,aACNC,aAAc,6B","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as t}from"./p-e0e2e9c1.js";import{V as s}from"./p-03dbb8b1.js";var o;(function(t){t["LEFT"]="left"})(o||(o={}));const a=t(s,["PRIMARY","SECONDARY"]);const r={root:"gov-statsbar",section:"gov-statsbar__section"};const e={root:"gov-statsbar-item",icon:"gov-statsbar-item__icon",number:"gov-statsbar-item__number",text:"gov-statsbar-item__text"};export{a as S,e as a,r as b,o as c};
|
|
2
|
-
//# sourceMappingURL=p-94dd1649.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StatsBarIconPosition","StatsBarVariants","pick","Variants","StatsBarClass","root","section","StatsBarItemClass","icon","number","text"],"sources":["../../../packages/core/src/components/gov-statsbar/constants.tsx"],"sourcesContent":["import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\nimport { Variants } from '../../core/constants/variants'\n\nexport enum StatsBarIconPosition {\n\tLEFT = 'left',\n}\nexport type StatsBarIconPositionType = `${ValueOf<typeof StatsBarIconPosition>}`\n\nexport const StatsBarVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type StatsBarVariantType = `${ValueOf<typeof StatsBarVariants>}`\n\nexport const StatsBarClass = {\n\troot: 'gov-statsbar',\n\tsection: 'gov-statsbar__section',\n}\n\nexport const StatsBarItemClass = {\n\troot: 'gov-statsbar-item',\n\ticon: 'gov-statsbar-item__icon',\n\tnumber: 'gov-statsbar-item__number',\n\ttext: 'gov-statsbar-item__text',\n}\n"],"mappings":"4EAIYA,GAAZ,SAAYA,GACXA,EAAA,cACA,EAFD,CAAYA,MAAoB,K,MAKnBC,EAAmBC,EAAKC,EAAU,CAAC,UAAW,c,MAG9CC,EAAgB,CAC5BC,KAAM,eACNC,QAAS,yB,MAGGC,EAAoB,CAChCF,KAAM,oBACNG,KAAM,0BACNC,OAAQ,4BACRC,KAAM,kC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as o,c as r,h as t,d as n}from"./p-5262b9ce.js";import{v as a}from"./p-344c72d7.js";import{B as i,a as v,T as l,N as s}from"./p-9370b15f.js";import{g as b,p as g,t as u}from"./p-d687df8f.js";import{S as c}from"./p-92f420cb.js";import{b as d,v as p}from"./p-71cec4ef.js";import{c as m}from"./p-e618f1cb.js";import{d as y}from"./p-e0e2e9c1.js";import{p as h}from"./p-016bbea6.js";import{d as k}from"./p-2594e525.js";function w(e){if(typeof e==="string"){return["true","True","TRUE","1"].indexOf(e)!==-1}else if(typeof e==="number"){return e>0}else if(typeof e==="boolean"){return e}else{return e?true:false}}const f='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-button .element{margin:0;padding:0;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;box-sizing:border-box;display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--gov-button-border-width, 0.0625rem) solid transparent;transition:background-color 150ms ease-in-out, border-color 150ms ease-in-out, color 150ms ease-in-out;cursor:inherit;will-change:background-color, border-color}.gov-button .element:focus{outline:none}.gov-button .element .gov-icon{flex:0 0 auto;color:inherit}.gov-button .element>*{display:flex}[hoverable].gov-button .element{cursor:pointer}[hoverable].gov-button .element:focus{outline:none}[hoverable].gov-button .element:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}[hoverable][type=outlined].gov-button .element:focus-visible,[hoverable][type=base].gov-button .element:focus-visible{outline-offset:0}[hoverable][disabled=""].gov-button,[hoverable][disabled=true i].gov-button,[hoverable][disabled="1"].gov-button{cursor:not-allowed}[hoverable][disabled=""].gov-button .element,[hoverable][disabled=true i].gov-button .element,[hoverable][disabled="1"].gov-button .element{pointer-events:none}[expanded=""].gov-button,[expanded=true i].gov-button,[expanded="1"].gov-button{display:block}[expanded=""].gov-button .element,[expanded=true i].gov-button .element,[expanded="1"].gov-button .element{display:flex;width:100%;margin-right:0;margin-left:0}[type=solid][variant=primary].gov-button .element{background-color:var(--gov-button-primary-solid-bg, var(--gov-color-primary));color:var(--gov-button-primary-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][inverse=""].gov-button .element,[type=solid][variant=primary][inverse=true i].gov-button .element,[type=solid][variant=primary][inverse="1"].gov-button .element{color:var(--gov-button-primary-solid-inverse-color, var(--gov-color-primary));background-color:var(--gov-button-primary-solid-inverse-bg, var(--gov-color-primary-200))}[type=solid][variant=primary][inverse=""].gov-button .element:focus-visible,[type=solid][variant=primary][inverse=true i].gov-button .element:focus-visible,[type=solid][variant=primary][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-primary-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=primary][disabled=""].gov-button .element,[type=solid][variant=primary][disabled=true i].gov-button .element,[type=solid][variant=primary][disabled="1"].gov-button .element{background-color:var(--gov-button-primary-solid-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][disabled=""][inverse=""].gov-button .element,[type=solid][variant=primary][disabled=""][inverse=true i].gov-button .element,[type=solid][variant=primary][disabled=""][inverse="1"].gov-button .element,[type=solid][variant=primary][disabled=true i][inverse=""].gov-button .element,[type=solid][variant=primary][disabled=true i][inverse=true i].gov-button .element,[type=solid][variant=primary][disabled=true i][inverse="1"].gov-button .element,[type=solid][variant=primary][disabled="1"][inverse=""].gov-button .element,[type=solid][variant=primary][disabled="1"][inverse=true i].gov-button .element,[type=solid][variant=primary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-primary-solid-inverse-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-solid-inverse-disabled-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=solid][variant=primary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-primary-solid-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-primary-solid-active-bg, var(--gov-color-primary-800))}}@media not all and (pointer: coarse){[type=solid][variant=primary][hoverable][inverse=""].gov-button .element:hover,[type=solid][variant=primary][hoverable][inverse=true i].gov-button .element:hover,[type=solid][variant=primary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-primary-solid-inverse-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=primary][hoverable][inverse=""].gov-button .element:hover:active,[type=solid][variant=primary][hoverable][inverse=true i].gov-button .element:hover:active,[type=solid][variant=primary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-primary-solid-inverse-active-bg, var(--gov-color-primary-800))}}[type=outlined][variant=primary].gov-button .element{color:var(--gov-button-primary-outlined-color, var(--gov-color-primary));border-color:var(--gov-button-primary-outlined-border, var(--gov-color-primary))}[type=outlined][variant=primary][inverse=""].gov-button .element,[type=outlined][variant=primary][inverse=true i].gov-button .element,[type=outlined][variant=primary][inverse="1"].gov-button .element{color:var(--gov-button-primary-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-primary-outlined-inverse-bg, transparent);border-color:var(--gov-button-primary-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=primary][inverse=""].gov-button .element:focus-visible,[type=outlined][variant=primary][inverse=true i].gov-button .element:focus-visible,[type=outlined][variant=primary][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-primary-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=primary][disabled=""].gov-button .element,[type=outlined][variant=primary][disabled=true i].gov-button .element,[type=outlined][variant=primary][disabled="1"].gov-button .element{background-color:var(--gov-button-primary-outlined-disabled-bg, transparent);color:var(--gov-button-primary-outlined-disabled-color, var(--gov-color-primary-400));border-color:var(--gov-button-primary-outlined-disabled-border, var(--gov-color-primary-300))}[type=outlined][variant=primary][disabled=""][inverse=""].gov-button .element,[type=outlined][variant=primary][disabled=""][inverse=true i].gov-button .element,[type=outlined][variant=primary][disabled=""][inverse="1"].gov-button .element,[type=outlined][variant=primary][disabled=true i][inverse=""].gov-button .element,[type=outlined][variant=primary][disabled=true i][inverse=true i].gov-button .element,[type=outlined][variant=primary][disabled=true i][inverse="1"].gov-button .element,[type=outlined][variant=primary][disabled="1"][inverse=""].gov-button .element,[type=outlined][variant=primary][disabled="1"][inverse=true i].gov-button .element,[type=outlined][variant=primary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-primary-outlined-inverse-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-outlined-inverse-disabled-color, var(--gov-color-primary-400));border-color:var(--gov-button-primary-outlined-inverse-disabled-border-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=outlined][variant=primary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-primary-outlined-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-outlined-hover-color, var(--gov-color-primary))}[type=outlined][variant=primary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-primary-outlined-active-bg, var(--gov-color-primary-300))}}@media not all and (pointer: coarse){[type=outlined][variant=primary][hoverable][inverse=""].gov-button .element:hover,[type=outlined][variant=primary][hoverable][inverse=true i].gov-button .element:hover,[type=outlined][variant=primary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-primary-outlined-inverse-hover-bg, var(--gov-color-primary-500));color:var(--gov-button-primary-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=primary][hoverable][inverse=""].gov-button .element:hover:active,[type=outlined][variant=primary][hoverable][inverse=true i].gov-button .element:hover:active,[type=outlined][variant=primary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-primary-outlined-inverse-active-bg, var(--gov-color-primary-400))}}[type=base][variant=primary].gov-button .element{color:var(--gov-button-primary-base-color, var(--gov-color-primary))}[type=base][variant=primary][inverse=""].gov-button .element,[type=base][variant=primary][inverse=true i].gov-button .element,[type=base][variant=primary][inverse="1"].gov-button .element{color:var(--gov-button-primary-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-primary-base-inverse-bg, transparent)}[type=base][variant=primary][disabled=""].gov-button .element,[type=base][variant=primary][disabled=true i].gov-button .element,[type=base][variant=primary][disabled="1"].gov-button .element{color:var(--gov-button-primary-base-disabled-color, var(--gov-color-primary-400))}[type=base][variant=primary][disabled=""][inverse=""].gov-button .element,[type=base][variant=primary][disabled=""][inverse=true i].gov-button .element,[type=base][variant=primary][disabled=""][inverse="1"].gov-button .element,[type=base][variant=primary][disabled=true i][inverse=""].gov-button .element,[type=base][variant=primary][disabled=true i][inverse=true i].gov-button .element,[type=base][variant=primary][disabled=true i][inverse="1"].gov-button .element,[type=base][variant=primary][disabled="1"][inverse=""].gov-button .element,[type=base][variant=primary][disabled="1"][inverse=true i].gov-button .element,[type=base][variant=primary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-primary-base-inverse-disabled-bg, var(--gov-color-primary-300));color:var(--gov-button-primary-base-inverse-disabled-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=base][variant=primary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-primary-base-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-base-hover-color, var(--gov-color-primary))}[type=base][variant=primary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-primary-base-active-bg, var(--gov-color-primary-300))}}@media not all and (pointer: coarse){[type=base][variant=primary][hoverable][inverse=""].gov-button .element:hover,[type=base][variant=primary][hoverable][inverse=true i].gov-button .element:hover,[type=base][variant=primary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-primary-base-inverse-hover-bg, var(--gov-color-primary-500));color:var(--gov-button-primary-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=primary][hoverable][inverse=""].gov-button .element:hover:active,[type=base][variant=primary][hoverable][inverse=true i].gov-button .element:hover:active,[type=base][variant=primary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-primary-base-inverse-active-bg, var(--gov-color-primary-400));color:var(--gov-button-primary-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=primary].gov-button .element{color:var(--gov-button-primary-link-color, var(--gov-color-primary))}[type=link][variant=primary][inverse=""].gov-button .element,[type=link][variant=primary][inverse=true i].gov-button .element,[type=link][variant=primary][inverse="1"].gov-button .element{color:var(--gov-button-primary-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-primary-link-inverse-bg, transparent)}[type=link][variant=primary][disabled=""].gov-button .element,[type=link][variant=primary][disabled=true i].gov-button .element,[type=link][variant=primary][disabled="1"].gov-button .element{color:var(--gov-button-primary-link-disabled-color, var(--gov-color-primary-400))}[type=link][variant=primary][disabled=""][inverse=""].gov-button .element,[type=link][variant=primary][disabled=""][inverse=true i].gov-button .element,[type=link][variant=primary][disabled=""][inverse="1"].gov-button .element,[type=link][variant=primary][disabled=true i][inverse=""].gov-button .element,[type=link][variant=primary][disabled=true i][inverse=true i].gov-button .element,[type=link][variant=primary][disabled=true i][inverse="1"].gov-button .element,[type=link][variant=primary][disabled="1"][inverse=""].gov-button .element,[type=link][variant=primary][disabled="1"][inverse=true i].gov-button .element,[type=link][variant=primary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-primary-link-inverse-disabled-bg, transparent);color:var(--gov-button-primary-link-inverse-disabled-color, var(--gov-color-primary-400))}@media not all and (pointer: coarse){[type=link][variant=primary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-primary-link-hover-bg, transparent);color:var(--gov-button-primary-link-hover-color, var(--gov-color-primary))}[type=link][variant=primary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-primary-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-primary-700))}}@media not all and (pointer: coarse){[type=link][variant=primary][hoverable][inverse=""].gov-button .element:hover,[type=link][variant=primary][hoverable][inverse=true i].gov-button .element:hover,[type=link][variant=primary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-primary-link-inverse-hover-bg, transparent);color:var(--gov-button-primary-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=primary][hoverable][inverse=""].gov-button .element:hover:active,[type=link][variant=primary][hoverable][inverse=true i].gov-button .element:hover:active,[type=link][variant=primary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-primary-link-inverse-active-bg, transparent);color:var(--gov-button-primary-link-inverse-active-color, var(--gov-color-primary-200))}}[type=solid][variant=secondary].gov-button .element{background-color:var(--gov-button-secondary-solid-bg, var(--gov-color-secondary));color:var(--gov-button-secondary-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=secondary][inverse=""].gov-button .element,[type=solid][variant=secondary][inverse=true i].gov-button .element,[type=solid][variant=secondary][inverse="1"].gov-button .element{color:var(--gov-button-secondary-solid-inverse-color, var(--gov-color-secondary));background-color:var(--gov-button-secondary-solid-inverse-bg, var(--gov-color-neutral-white))}[type=solid][variant=secondary][inverse=""].gov-button .element:focus-visible,[type=solid][variant=secondary][inverse=true i].gov-button .element:focus-visible,[type=solid][variant=secondary][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-secondary-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=secondary][disabled=""].gov-button .element,[type=solid][variant=secondary][disabled=true i].gov-button .element,[type=solid][variant=secondary][disabled="1"].gov-button .element{background-color:var(--gov-button-secondary-solid-disabled-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-solid-disabled-color, var(--gov-color-secondary-600))}[type=solid][variant=secondary][disabled=""][inverse=""].gov-button .element,[type=solid][variant=secondary][disabled=""][inverse=true i].gov-button .element,[type=solid][variant=secondary][disabled=""][inverse="1"].gov-button .element,[type=solid][variant=secondary][disabled=true i][inverse=""].gov-button .element,[type=solid][variant=secondary][disabled=true i][inverse=true i].gov-button .element,[type=solid][variant=secondary][disabled=true i][inverse="1"].gov-button .element,[type=solid][variant=secondary][disabled="1"][inverse=""].gov-button .element,[type=solid][variant=secondary][disabled="1"][inverse=true i].gov-button .element,[type=solid][variant=secondary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-secondary-solid-inverse-disabled-bg, var(--gov-color-neutral-white));color:var(--gov-button-secondary-solid-inverse-disabled-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=solid][variant=secondary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-secondary-solid-hover-bg, var(--gov-color-secondary-900));color:var(--gov-button-secondary-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=secondary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-secondary-solid-active-bg, var(--gov-color-secondary))}}@media not all and (pointer: coarse){[type=solid][variant=secondary][hoverable][inverse=""].gov-button .element:hover,[type=solid][variant=secondary][hoverable][inverse=true i].gov-button .element:hover,[type=solid][variant=secondary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-secondary-solid-inverse-hover-bg, var(--gov-color-secondary-600));color:var(--gov-button-secondary-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=secondary][hoverable][inverse=""].gov-button .element:hover:active,[type=solid][variant=secondary][hoverable][inverse=true i].gov-button .element:hover:active,[type=solid][variant=secondary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-secondary-solid-inverse-active-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-solid-inverse-active-color, var(--gov-color-neutral-white))}}[type=outlined][variant=secondary].gov-button .element{color:var(--gov-button-secondary-outlined-color, var(--gov-color-secondary));border-color:var(--gov-button-secondary-outlined-border, var(--gov-color-secondary))}[type=outlined][variant=secondary][inverse=""].gov-button .element,[type=outlined][variant=secondary][inverse=true i].gov-button .element,[type=outlined][variant=secondary][inverse="1"].gov-button .element{color:var(--gov-button-secondary-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-secondary-outlined-inverse-bg, transparent);border-color:var(--gov-button-secondary-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=secondary][inverse=""].gov-button .element:focus-visible,[type=outlined][variant=secondary][inverse=true i].gov-button .element:focus-visible,[type=outlined][variant=secondary][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-secondary-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=secondary][disabled=""].gov-button .element,[type=outlined][variant=secondary][disabled=true i].gov-button .element,[type=outlined][variant=secondary][disabled="1"].gov-button .element{background-color:var(--gov-button-secondary-outlined-disabled-bg, transparent);color:var(--gov-button-secondary-outlined-disabled-color, var(--gov-color-secondary-500));border-color:var(--gov-button-secondary-outlined-disabled-border, var(--gov-color-secondary-500))}[type=outlined][variant=secondary][disabled=""][inverse=""].gov-button .element,[type=outlined][variant=secondary][disabled=""][inverse=true i].gov-button .element,[type=outlined][variant=secondary][disabled=""][inverse="1"].gov-button .element,[type=outlined][variant=secondary][disabled=true i][inverse=""].gov-button .element,[type=outlined][variant=secondary][disabled=true i][inverse=true i].gov-button .element,[type=outlined][variant=secondary][disabled=true i][inverse="1"].gov-button .element,[type=outlined][variant=secondary][disabled="1"][inverse=""].gov-button .element,[type=outlined][variant=secondary][disabled="1"][inverse=true i].gov-button .element,[type=outlined][variant=secondary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-secondary-outlined-inverse-disabled-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-outlined-inverse-disabled-color, var(--gov-color-secondary-600));border-color:var(--gov-button-secondary-outlined-inverse-disabled-border-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=outlined][variant=secondary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-secondary-outlined-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-outlined-hover-color, var(--gov-color-secondary))}[type=outlined][variant=secondary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-secondary-outlined-active-bg, var(--gov-color-secondary-400))}}@media not all and (pointer: coarse){[type=outlined][variant=secondary][hoverable][inverse=""].gov-button .element:hover,[type=outlined][variant=secondary][hoverable][inverse=true i].gov-button .element:hover,[type=outlined][variant=secondary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-secondary-outlined-inverse-hover-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=secondary][hoverable][inverse=""].gov-button .element:hover:active,[type=outlined][variant=secondary][hoverable][inverse=true i].gov-button .element:hover:active,[type=outlined][variant=secondary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-secondary-outlined-inverse-active-bg, var(--gov-color-secondary-600));color:var(--gov-button-secondary-outlined-inverse-active-color, var(--gov-color-secondary))}}[type=base][variant=secondary].gov-button .element{color:var(--gov-button-secondary-base-color, var(--gov-color-secondary))}[type=base][variant=secondary][inverse=""].gov-button .element,[type=base][variant=secondary][inverse=true i].gov-button .element,[type=base][variant=secondary][inverse="1"].gov-button .element{color:var(--gov-button-secondary-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-secondary-base-inverse-bg, transparent)}[type=base][variant=secondary][disabled=""].gov-button .element,[type=base][variant=secondary][disabled=true i].gov-button .element,[type=base][variant=secondary][disabled="1"].gov-button .element{color:var(--gov-button-secondary-base-disabled-color, var(--gov-color-secondary-600))}[type=base][variant=secondary][disabled=""][inverse=""].gov-button .element,[type=base][variant=secondary][disabled=""][inverse=true i].gov-button .element,[type=base][variant=secondary][disabled=""][inverse="1"].gov-button .element,[type=base][variant=secondary][disabled=true i][inverse=""].gov-button .element,[type=base][variant=secondary][disabled=true i][inverse=true i].gov-button .element,[type=base][variant=secondary][disabled=true i][inverse="1"].gov-button .element,[type=base][variant=secondary][disabled="1"][inverse=""].gov-button .element,[type=base][variant=secondary][disabled="1"][inverse=true i].gov-button .element,[type=base][variant=secondary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-secondary-base-inverse-disabled-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-base-inverse-disabled-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=base][variant=secondary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-secondary-base-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-base-hover-color, var(--gov-color-secondary))}[type=base][variant=secondary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-secondary-base-active-bg, var(--gov-color-secondary-400))}}@media not all and (pointer: coarse){[type=base][variant=secondary][hoverable][inverse=""].gov-button .element:hover,[type=base][variant=secondary][hoverable][inverse=true i].gov-button .element:hover,[type=base][variant=secondary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-secondary-base-inverse-hover-bg, var(--gov-color-secondary-700));color:var(--gov-button-secondary-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=secondary][hoverable][inverse=""].gov-button .element:hover:active,[type=base][variant=secondary][hoverable][inverse=true i].gov-button .element:hover:active,[type=base][variant=secondary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-secondary-base-inverse-active-bg, var(--gov-color-secondary-600));color:var(--gov-button-secondary-base-inverse-active-color, var(--gov-color-secondary))}}[type=link][variant=secondary].gov-button .element{color:var(--gov-button-secondary-link-color, var(--gov-color-secondary))}[type=link][variant=secondary][inverse=""].gov-button .element,[type=link][variant=secondary][inverse=true i].gov-button .element,[type=link][variant=secondary][inverse="1"].gov-button .element{color:var(--gov-button-secondary-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-secondary-link-inverse-bg, transparent)}[type=link][variant=secondary][disabled=""].gov-button .element,[type=link][variant=secondary][disabled=true i].gov-button .element,[type=link][variant=secondary][disabled="1"].gov-button .element{color:var(--gov-button-secondary-link-disabled-color, var(--gov-color-secondary-600))}[type=link][variant=secondary][disabled=""][inverse=""].gov-button .element,[type=link][variant=secondary][disabled=""][inverse=true i].gov-button .element,[type=link][variant=secondary][disabled=""][inverse="1"].gov-button .element,[type=link][variant=secondary][disabled=true i][inverse=""].gov-button .element,[type=link][variant=secondary][disabled=true i][inverse=true i].gov-button .element,[type=link][variant=secondary][disabled=true i][inverse="1"].gov-button .element,[type=link][variant=secondary][disabled="1"][inverse=""].gov-button .element,[type=link][variant=secondary][disabled="1"][inverse=true i].gov-button .element,[type=link][variant=secondary][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-secondary-link-inverse-disabled-bg, transparent);color:var(--gov-button-secondary-link-inverse-disabled-color, var(--gov-color-secondary-600))}@media not all and (pointer: coarse){[type=link][variant=secondary][hoverable].gov-button>.element:hover{background-color:var(--gov-button-secondary-link-hover-bg, transparent);color:var(--gov-button-secondary-link-hover-color, var(--gov-color-secondary))}[type=link][variant=secondary][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-secondary-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-secondary))}}@media not all and (pointer: coarse){[type=link][variant=secondary][hoverable][inverse=""].gov-button .element:hover,[type=link][variant=secondary][hoverable][inverse=true i].gov-button .element:hover,[type=link][variant=secondary][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-secondary-link-inverse-hover-bg, transparent);color:var(--gov-button-secondary-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=secondary][hoverable][inverse=""].gov-button .element:hover:active,[type=link][variant=secondary][hoverable][inverse=true i].gov-button .element:hover:active,[type=link][variant=secondary][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-secondary-link-inverse-active-bg, transparent);color:var(--gov-button-secondary-link-inverse-active-color, var(--gov-color-secondary-500))}}[type=solid][variant=error].gov-button .element{background-color:var(--gov-button-error-solid-bg, var(--gov-color-error));color:var(--gov-button-error-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=error][inverse=""].gov-button .element,[type=solid][variant=error][inverse=true i].gov-button .element,[type=solid][variant=error][inverse="1"].gov-button .element{color:var(--gov-button-error-solid-inverse-color, var(--gov-color-error));background-color:var(--gov-button-error-solid-inverse-bg, var(--gov-color-error-200))}[type=solid][variant=error][inverse=""].gov-button .element:focus-visible,[type=solid][variant=error][inverse=true i].gov-button .element:focus-visible,[type=solid][variant=error][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-error-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=error][disabled=""].gov-button .element,[type=solid][variant=error][disabled=true i].gov-button .element,[type=solid][variant=error][disabled="1"].gov-button .element{background-color:var(--gov-button-error-solid-disabled-bg, var(--gov-color-error-200));color:var(--gov-button-error-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=error][disabled=""][inverse=""].gov-button .element,[type=solid][variant=error][disabled=""][inverse=true i].gov-button .element,[type=solid][variant=error][disabled=""][inverse="1"].gov-button .element,[type=solid][variant=error][disabled=true i][inverse=""].gov-button .element,[type=solid][variant=error][disabled=true i][inverse=true i].gov-button .element,[type=solid][variant=error][disabled=true i][inverse="1"].gov-button .element,[type=solid][variant=error][disabled="1"][inverse=""].gov-button .element,[type=solid][variant=error][disabled="1"][inverse=true i].gov-button .element,[type=solid][variant=error][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-error-solid-inverse-disabled-bg, var(--gov-color-error-300));color:var(--gov-button-error-solid-inverse-disabled-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){[type=solid][variant=error][hoverable].gov-button>.element:hover{background-color:var(--gov-button-error-solid-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=error][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-error-solid-active-bg, var(--gov-color-error-600))}}@media not all and (pointer: coarse){[type=solid][variant=error][hoverable][inverse=""].gov-button .element:hover,[type=solid][variant=error][hoverable][inverse=true i].gov-button .element:hover,[type=solid][variant=error][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-error-solid-inverse-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=error][hoverable][inverse=""].gov-button .element:hover:active,[type=solid][variant=error][hoverable][inverse=true i].gov-button .element:hover:active,[type=solid][variant=error][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-error-solid-inverse-active-bg, var(--gov-color-error-600))}}[type=outlined][variant=error].gov-button .element{color:var(--gov-button-error-outlined-color, var(--gov-color-error));border-color:var(--gov-button-error-outlined-border, var(--gov-color-error))}[type=outlined][variant=error][inverse=""].gov-button .element,[type=outlined][variant=error][inverse=true i].gov-button .element,[type=outlined][variant=error][inverse="1"].gov-button .element{color:var(--gov-button-error-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-error-outlined-inverse-bg, transparent);border-color:var(--gov-button-error-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=error][inverse=""].gov-button .element:focus-visible,[type=outlined][variant=error][inverse=true i].gov-button .element:focus-visible,[type=outlined][variant=error][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-error-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=error][disabled=""].gov-button .element,[type=outlined][variant=error][disabled=true i].gov-button .element,[type=outlined][variant=error][disabled="1"].gov-button .element{background-color:var(--gov-button-error-outlined-disabled-bg, transparent);color:var(--gov-button-error-outlined-disabled-color, var(--gov-color-error-200));border-color:var(--gov-button-error-outlined-disabled-border, var(--gov-color-error-200))}[type=outlined][variant=error][disabled=""][inverse=""].gov-button .element,[type=outlined][variant=error][disabled=""][inverse=true i].gov-button .element,[type=outlined][variant=error][disabled=""][inverse="1"].gov-button .element,[type=outlined][variant=error][disabled=true i][inverse=""].gov-button .element,[type=outlined][variant=error][disabled=true i][inverse=true i].gov-button .element,[type=outlined][variant=error][disabled=true i][inverse="1"].gov-button .element,[type=outlined][variant=error][disabled="1"][inverse=""].gov-button .element,[type=outlined][variant=error][disabled="1"][inverse=true i].gov-button .element,[type=outlined][variant=error][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-error-outlined-inverse-disabled-bg, var(--gov-color-error-300));color:var(--gov-button-error-outlined-inverse-disabled-color, var(--gov-color-error-400));border-color:var(--gov-button-error-outlined-inverse-disabled-border-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){[type=outlined][variant=error][hoverable].gov-button>.element:hover{background-color:var(--gov-button-error-outlined-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-outlined-hover-color, var(--gov-color-error))}[type=outlined][variant=error][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-error-outlined-active-bg, var(--gov-color-error-200))}}@media not all and (pointer: coarse){[type=outlined][variant=error][hoverable][inverse=""].gov-button .element:hover,[type=outlined][variant=error][hoverable][inverse=true i].gov-button .element:hover,[type=outlined][variant=error][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-error-outlined-inverse-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=error][hoverable][inverse=""].gov-button .element:hover:active,[type=outlined][variant=error][hoverable][inverse=true i].gov-button .element:hover:active,[type=outlined][variant=error][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-error-outlined-inverse-active-bg, var(--gov-color-error-400))}}[type=base][variant=error].gov-button .element{color:var(--gov-button-error-base-color, var(--gov-color-error))}[type=base][variant=error][inverse=""].gov-button .element,[type=base][variant=error][inverse=true i].gov-button .element,[type=base][variant=error][inverse="1"].gov-button .element{color:var(--gov-button-error-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-error-base-inverse-bg, transparent)}[type=base][variant=error][disabled=""].gov-button .element,[type=base][variant=error][disabled=true i].gov-button .element,[type=base][variant=error][disabled="1"].gov-button .element{color:var(--gov-button-error-base-disabled-color, var(--gov-color-error-200))}[type=base][variant=error][disabled=""][inverse=""].gov-button .element,[type=base][variant=error][disabled=""][inverse=true i].gov-button .element,[type=base][variant=error][disabled=""][inverse="1"].gov-button .element,[type=base][variant=error][disabled=true i][inverse=""].gov-button .element,[type=base][variant=error][disabled=true i][inverse=true i].gov-button .element,[type=base][variant=error][disabled=true i][inverse="1"].gov-button .element,[type=base][variant=error][disabled="1"][inverse=""].gov-button .element,[type=base][variant=error][disabled="1"][inverse=true i].gov-button .element,[type=base][variant=error][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-error-base-inverse-disabled-bg, var(--gov-color-error-300));color:var(--gov-button-error-base-inverse-disabled-color, var(--gov-color-error-400))}@media not all and (pointer: coarse){[type=base][variant=error][hoverable].gov-button>.element:hover{background-color:var(--gov-button-error-base-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-base-hover-color, var(--gov-color-error))}[type=base][variant=error][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-error-base-active-bg, var(--gov-color-error-200))}}@media not all and (pointer: coarse){[type=base][variant=error][hoverable][inverse=""].gov-button .element:hover,[type=base][variant=error][hoverable][inverse=true i].gov-button .element:hover,[type=base][variant=error][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-error-base-inverse-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=error][hoverable][inverse=""].gov-button .element:hover:active,[type=base][variant=error][hoverable][inverse=true i].gov-button .element:hover:active,[type=base][variant=error][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-error-base-inverse-active-bg, var(--gov-color-error-400));color:var(--gov-button-error-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=error].gov-button .element{color:var(--gov-button-error-link-color, var(--gov-color-error))}[type=link][variant=error][inverse=""].gov-button .element,[type=link][variant=error][inverse=true i].gov-button .element,[type=link][variant=error][inverse="1"].gov-button .element{color:var(--gov-button-error-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-error-link-inverse-bg, transparent)}[type=link][variant=error][disabled=""].gov-button .element,[type=link][variant=error][disabled=true i].gov-button .element,[type=link][variant=error][disabled="1"].gov-button .element{color:var(--gov-button-error-link-disabled-color, var(--gov-color-error-200))}[type=link][variant=error][disabled=""][inverse=""].gov-button .element,[type=link][variant=error][disabled=""][inverse=true i].gov-button .element,[type=link][variant=error][disabled=""][inverse="1"].gov-button .element,[type=link][variant=error][disabled=true i][inverse=""].gov-button .element,[type=link][variant=error][disabled=true i][inverse=true i].gov-button .element,[type=link][variant=error][disabled=true i][inverse="1"].gov-button .element,[type=link][variant=error][disabled="1"][inverse=""].gov-button .element,[type=link][variant=error][disabled="1"][inverse=true i].gov-button .element,[type=link][variant=error][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-error-link-inverse-disabled-bg, transparent);color:var(--gov-button-error-link-inverse-disabled-color, var(--gov-color-error-200))}@media not all and (pointer: coarse){[type=link][variant=error][hoverable].gov-button>.element:hover{background-color:var(--gov-button-error-link-hover-bg, transparent);color:var(--gov-button-error-link-hover-color, var(--gov-color-error))}[type=link][variant=error][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-error-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-error-500))}}@media not all and (pointer: coarse){[type=link][variant=error][hoverable][inverse=""].gov-button .element:hover,[type=link][variant=error][hoverable][inverse=true i].gov-button .element:hover,[type=link][variant=error][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-error-link-inverse-hover-bg, transparent);color:var(--gov-button-error-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=error][hoverable][inverse=""].gov-button .element:hover:active,[type=link][variant=error][hoverable][inverse=true i].gov-button .element:hover:active,[type=link][variant=error][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-error-link-inverse-active-bg, transparent);color:var(--gov-button-error-link-inverse-active-color, var(--gov-color-neutral-white))}}[type=solid][variant=success].gov-button .element{background-color:var(--gov-button-success-solid-bg, var(--gov-color-success-500));color:var(--gov-button-success-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=success][inverse=""].gov-button .element,[type=solid][variant=success][inverse=true i].gov-button .element,[type=solid][variant=success][inverse="1"].gov-button .element{color:var(--gov-button-success-solid-inverse-color, var(--gov-color-success));background-color:var(--gov-button-success-solid-inverse-bg, var(--gov-color-success-200))}[type=solid][variant=success][inverse=""].gov-button .element:focus-visible,[type=solid][variant=success][inverse=true i].gov-button .element:focus-visible,[type=solid][variant=success][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-success-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=success][disabled=""].gov-button .element,[type=solid][variant=success][disabled=true i].gov-button .element,[type=solid][variant=success][disabled="1"].gov-button .element{background-color:var(--gov-button-success-solid-disabled-bg, var(--gov-color-success-200));color:var(--gov-button-success-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=success][disabled=""][inverse=""].gov-button .element,[type=solid][variant=success][disabled=""][inverse=true i].gov-button .element,[type=solid][variant=success][disabled=""][inverse="1"].gov-button .element,[type=solid][variant=success][disabled=true i][inverse=""].gov-button .element,[type=solid][variant=success][disabled=true i][inverse=true i].gov-button .element,[type=solid][variant=success][disabled=true i][inverse="1"].gov-button .element,[type=solid][variant=success][disabled="1"][inverse=""].gov-button .element,[type=solid][variant=success][disabled="1"][inverse=true i].gov-button .element,[type=solid][variant=success][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-success-solid-inverse-disabled-bg, var(--gov-color-success-300));color:var(--gov-button-success-solid-inverse-disabled-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=solid][variant=success][hoverable].gov-button>.element:hover{background-color:var(--gov-button-success-solid-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=success][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-success-solid-active-bg, var(--gov-color-success-700))}}@media not all and (pointer: coarse){[type=solid][variant=success][hoverable][inverse=""].gov-button .element:hover,[type=solid][variant=success][hoverable][inverse=true i].gov-button .element:hover,[type=solid][variant=success][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-success-solid-inverse-hover-bg, var(--gov-color-success-700));color:var(--gov-button-success-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=success][hoverable][inverse=""].gov-button .element:hover:active,[type=solid][variant=success][hoverable][inverse=true i].gov-button .element:hover:active,[type=solid][variant=success][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-success-solid-inverse-active-bg, var(--gov-color-success-800))}}[type=outlined][variant=success].gov-button .element{color:var(--gov-button-success-outlined-color, var(--gov-color-success-500));border-color:var(--gov-button-success-outlined-border, var(--gov-color-success-500))}[type=outlined][variant=success][inverse=""].gov-button .element,[type=outlined][variant=success][inverse=true i].gov-button .element,[type=outlined][variant=success][inverse="1"].gov-button .element{color:var(--gov-button-success-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-success-outlined-inverse-bg, transparent);border-color:var(--gov-button-success-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=success][inverse=""].gov-button .element:focus-visible,[type=outlined][variant=success][inverse=true i].gov-button .element:focus-visible,[type=outlined][variant=success][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-success-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=success][disabled=""].gov-button .element,[type=outlined][variant=success][disabled=true i].gov-button .element,[type=outlined][variant=success][disabled="1"].gov-button .element{background-color:var(--gov-button-success-outlined-disabled-bg, transparent);color:var(--gov-button-success-outlined-disabled-color, var(--gov-color-success-300));border-color:var(--gov-button-success-outlined-disabled-border, var(--gov-color-success-300))}[type=outlined][variant=success][disabled=""][inverse=""].gov-button .element,[type=outlined][variant=success][disabled=""][inverse=true i].gov-button .element,[type=outlined][variant=success][disabled=""][inverse="1"].gov-button .element,[type=outlined][variant=success][disabled=true i][inverse=""].gov-button .element,[type=outlined][variant=success][disabled=true i][inverse=true i].gov-button .element,[type=outlined][variant=success][disabled=true i][inverse="1"].gov-button .element,[type=outlined][variant=success][disabled="1"][inverse=""].gov-button .element,[type=outlined][variant=success][disabled="1"][inverse=true i].gov-button .element,[type=outlined][variant=success][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-success-outlined-inverse-disabled-bg, var(--gov-color-success-300));color:var(--gov-button-success-outlined-inverse-disabled-color, var(--gov-color-success-400));border-color:var(--gov-button-success-outlined-inverse-disabled-border-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=outlined][variant=success][hoverable].gov-button>.element:hover{background-color:var(--gov-button-success-outlined-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-outlined-hover-color, var(--gov-color-success-500))}[type=outlined][variant=success][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-success-outlined-active-bg, var(--gov-color-success-200))}}@media not all and (pointer: coarse){[type=outlined][variant=success][hoverable][inverse=""].gov-button .element:hover,[type=outlined][variant=success][hoverable][inverse=true i].gov-button .element:hover,[type=outlined][variant=success][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-success-outlined-inverse-hover-bg, var(--gov-color-success-500));color:var(--gov-button-success-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=success][hoverable][inverse=""].gov-button .element:hover:active,[type=outlined][variant=success][hoverable][inverse=true i].gov-button .element:hover:active,[type=outlined][variant=success][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-success-outlined-inverse-active-bg, var(--gov-color-success-400))}}[type=base][variant=success].gov-button .element{color:var(--gov-button-success-base-color, var(--gov-color-success-500))}[type=base][variant=success][inverse=""].gov-button .element,[type=base][variant=success][inverse=true i].gov-button .element,[type=base][variant=success][inverse="1"].gov-button .element{color:var(--gov-button-success-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-success-base-inverse-bg, transparent)}[type=base][variant=success][disabled=""].gov-button .element,[type=base][variant=success][disabled=true i].gov-button .element,[type=base][variant=success][disabled="1"].gov-button .element{color:var(--gov-button-success-base-disabled-color, var(--gov-color-success-300))}[type=base][variant=success][disabled=""][inverse=""].gov-button .element,[type=base][variant=success][disabled=""][inverse=true i].gov-button .element,[type=base][variant=success][disabled=""][inverse="1"].gov-button .element,[type=base][variant=success][disabled=true i][inverse=""].gov-button .element,[type=base][variant=success][disabled=true i][inverse=true i].gov-button .element,[type=base][variant=success][disabled=true i][inverse="1"].gov-button .element,[type=base][variant=success][disabled="1"][inverse=""].gov-button .element,[type=base][variant=success][disabled="1"][inverse=true i].gov-button .element,[type=base][variant=success][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-success-base-inverse-disabled-bg, var(--gov-color-success-300));color:var(--gov-button-success-base-inverse-disabled-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=base][variant=success][hoverable].gov-button>.element:hover{background-color:var(--gov-button-success-base-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-base-hover-color, var(--gov-color-success-500))}[type=base][variant=success][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-success-base-active-bg, var(--gov-color-success-200))}}@media not all and (pointer: coarse){[type=base][variant=success][hoverable][inverse=""].gov-button .element:hover,[type=base][variant=success][hoverable][inverse=true i].gov-button .element:hover,[type=base][variant=success][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-success-base-inverse-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=success][hoverable][inverse=""].gov-button .element:hover:active,[type=base][variant=success][hoverable][inverse=true i].gov-button .element:hover:active,[type=base][variant=success][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-success-base-inverse-active-bg, var(--gov-color-success-500));color:var(--gov-button-success-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=success].gov-button .element{color:var(--gov-button-success-link-color, var(--gov-color-success-500))}[type=link][variant=success][inverse=""].gov-button .element,[type=link][variant=success][inverse=true i].gov-button .element,[type=link][variant=success][inverse="1"].gov-button .element{color:var(--gov-button-success-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-success-link-inverse-bg, transparent)}[type=link][variant=success][disabled=""].gov-button .element,[type=link][variant=success][disabled=true i].gov-button .element,[type=link][variant=success][disabled="1"].gov-button .element{color:var(--gov-button-success-link-disabled-color, var(--gov-color-success-300))}[type=link][variant=success][disabled=""][inverse=""].gov-button .element,[type=link][variant=success][disabled=""][inverse=true i].gov-button .element,[type=link][variant=success][disabled=""][inverse="1"].gov-button .element,[type=link][variant=success][disabled=true i][inverse=""].gov-button .element,[type=link][variant=success][disabled=true i][inverse=true i].gov-button .element,[type=link][variant=success][disabled=true i][inverse="1"].gov-button .element,[type=link][variant=success][disabled="1"][inverse=""].gov-button .element,[type=link][variant=success][disabled="1"][inverse=true i].gov-button .element,[type=link][variant=success][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-success-link-inverse-disabled-bg, transparent);color:var(--gov-button-success-link-inverse-disabled-color, var(--gov-color-success-400))}@media not all and (pointer: coarse){[type=link][variant=success][hoverable].gov-button>.element:hover{background-color:var(--gov-button-success-link-hover-bg, transparent);color:var(--gov-button-success-link-hover-color, var(--gov-color-success-500))}[type=link][variant=success][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-success-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-success-600))}}@media not all and (pointer: coarse){[type=link][variant=success][hoverable][inverse=""].gov-button .element:hover,[type=link][variant=success][hoverable][inverse=true i].gov-button .element:hover,[type=link][variant=success][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-success-link-inverse-hover-bg, transparent);color:var(--gov-button-success-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=success][hoverable][inverse=""].gov-button .element:hover:active,[type=link][variant=success][hoverable][inverse=true i].gov-button .element:hover:active,[type=link][variant=success][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-success-link-inverse-active-bg, transparent);color:var(--gov-button-success-link-inverse-active-color, var(--gov-color-neutral-white))}}[type=solid][variant=warning].gov-button .element{background-color:var(--gov-button-warning-solid-bg, var(--gov-color-warning-500));color:var(--gov-button-warning-solid-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][inverse=""].gov-button .element,[type=solid][variant=warning][inverse=true i].gov-button .element,[type=solid][variant=warning][inverse="1"].gov-button .element{color:var(--gov-button-warning-solid-inverse-color, var(--gov-color-warning));background-color:var(--gov-button-warning-solid-inverse-bg, var(--gov-color-warning-200))}[type=solid][variant=warning][inverse=""].gov-button .element:focus-visible,[type=solid][variant=warning][inverse=true i].gov-button .element:focus-visible,[type=solid][variant=warning][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-warning-solid-inverse-focus-bg, var(--gov-color-neutral-white))}[type=solid][variant=warning][disabled=""].gov-button .element,[type=solid][variant=warning][disabled=true i].gov-button .element,[type=solid][variant=warning][disabled="1"].gov-button .element{background-color:var(--gov-button-warning-solid-disabled-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-solid-disabled-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][disabled=""][inverse=""].gov-button .element,[type=solid][variant=warning][disabled=""][inverse=true i].gov-button .element,[type=solid][variant=warning][disabled=""][inverse="1"].gov-button .element,[type=solid][variant=warning][disabled=true i][inverse=""].gov-button .element,[type=solid][variant=warning][disabled=true i][inverse=true i].gov-button .element,[type=solid][variant=warning][disabled=true i][inverse="1"].gov-button .element,[type=solid][variant=warning][disabled="1"][inverse=""].gov-button .element,[type=solid][variant=warning][disabled="1"][inverse=true i].gov-button .element,[type=solid][variant=warning][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-warning-solid-inverse-disabled-bg, var(--gov-color-warning-300));color:var(--gov-button-warning-solid-inverse-disabled-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=solid][variant=warning][hoverable].gov-button>.element:hover{background-color:var(--gov-button-warning-solid-hover-bg, var(--gov-color-warning-600));color:var(--gov-button-warning-solid-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-warning-solid-active-bg, var(--gov-color-warning-700))}}@media not all and (pointer: coarse){[type=solid][variant=warning][hoverable][inverse=""].gov-button .element:hover,[type=solid][variant=warning][hoverable][inverse=true i].gov-button .element:hover,[type=solid][variant=warning][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-warning-solid-inverse-hover-bg, var(--gov-color-warning-700));color:var(--gov-button-warning-solid-inverse-hover-color, var(--gov-color-neutral-white))}[type=solid][variant=warning][hoverable][inverse=""].gov-button .element:hover:active,[type=solid][variant=warning][hoverable][inverse=true i].gov-button .element:hover:active,[type=solid][variant=warning][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-warning-solid-inverse-active-bg, var(--gov-color-warning-800))}}[type=outlined][variant=warning].gov-button .element{color:var(--gov-button-warning-outlined-color, var(--gov-color-warning-500));border-color:var(--gov-button-warning-outlined-border, var(--gov-color-warning-500))}[type=outlined][variant=warning][inverse=""].gov-button .element,[type=outlined][variant=warning][inverse=true i].gov-button .element,[type=outlined][variant=warning][inverse="1"].gov-button .element{color:var(--gov-button-warning-outlined-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-warning-outlined-inverse-bg, transparent);border-color:var(--gov-button-warning-outlined-inverse-border, var(--gov-color-neutral-white))}[type=outlined][variant=warning][inverse=""].gov-button .element:focus-visible,[type=outlined][variant=warning][inverse=true i].gov-button .element:focus-visible,[type=outlined][variant=warning][inverse="1"].gov-button .element:focus-visible{background-color:var(--gov-button-warning-outlined-inverse-focus-bg, transparent)}[type=outlined][variant=warning][disabled=""].gov-button .element,[type=outlined][variant=warning][disabled=true i].gov-button .element,[type=outlined][variant=warning][disabled="1"].gov-button .element{background-color:var(--gov-button-warning-outlined-disabled-bg, transparent);color:var(--gov-button-warning-outlined-disabled-color, var(--gov-color-warning));border-color:var(--gov-button-warning-outlined-disabled-border, var(--gov-color-warning))}[type=outlined][variant=warning][disabled=""][inverse=""].gov-button .element,[type=outlined][variant=warning][disabled=""][inverse=true i].gov-button .element,[type=outlined][variant=warning][disabled=""][inverse="1"].gov-button .element,[type=outlined][variant=warning][disabled=true i][inverse=""].gov-button .element,[type=outlined][variant=warning][disabled=true i][inverse=true i].gov-button .element,[type=outlined][variant=warning][disabled=true i][inverse="1"].gov-button .element,[type=outlined][variant=warning][disabled="1"][inverse=""].gov-button .element,[type=outlined][variant=warning][disabled="1"][inverse=true i].gov-button .element,[type=outlined][variant=warning][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-warning-outlined-inverse-disabled-bg, var(--gov-color-warning-300));color:var(--gov-button-warning-outlined-inverse-disabled-color, var(--gov-color-warning-400));border-color:var(--gov-button-warning-outlined-inverse-disabled-border-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=outlined][variant=warning][hoverable].gov-button>.element:hover{background-color:var(--gov-button-warning-outlined-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-outlined-hover-color, var(--gov-color-warning-500))}[type=outlined][variant=warning][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-warning-outlined-active-bg, var(--gov-color-warning-300))}}@media not all and (pointer: coarse){[type=outlined][variant=warning][hoverable][inverse=""].gov-button .element:hover,[type=outlined][variant=warning][hoverable][inverse=true i].gov-button .element:hover,[type=outlined][variant=warning][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-warning-outlined-inverse-hover-bg, var(--gov-color-warning-500));color:var(--gov-button-warning-outlined-inverse-hover-color, var(--gov-color-neutral-white))}[type=outlined][variant=warning][hoverable][inverse=""].gov-button .element:hover:active,[type=outlined][variant=warning][hoverable][inverse=true i].gov-button .element:hover:active,[type=outlined][variant=warning][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-warning-outlined-inverse-active-bg, var(--gov-color-warning-400))}}[type=base][variant=warning].gov-button .element{color:var(--gov-button-warning-base-color, var(--gov-color-warning-500))}[type=base][variant=warning][inverse=""].gov-button .element,[type=base][variant=warning][inverse=true i].gov-button .element,[type=base][variant=warning][inverse="1"].gov-button .element{color:var(--gov-button-warning-base-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-warning-base-inverse-bg, transparent)}[type=base][variant=warning][disabled=""].gov-button .element,[type=base][variant=warning][disabled=true i].gov-button .element,[type=base][variant=warning][disabled="1"].gov-button .element{color:var(--gov-button-warning-base-disabled-color, var(--gov-color-warning))}[type=base][variant=warning][disabled=""][inverse=""].gov-button .element,[type=base][variant=warning][disabled=""][inverse=true i].gov-button .element,[type=base][variant=warning][disabled=""][inverse="1"].gov-button .element,[type=base][variant=warning][disabled=true i][inverse=""].gov-button .element,[type=base][variant=warning][disabled=true i][inverse=true i].gov-button .element,[type=base][variant=warning][disabled=true i][inverse="1"].gov-button .element,[type=base][variant=warning][disabled="1"][inverse=""].gov-button .element,[type=base][variant=warning][disabled="1"][inverse=true i].gov-button .element,[type=base][variant=warning][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-warning-base-inverse-disabled-bg, var(--gov-color-warning-300));color:var(--gov-button-warning-base-inverse-disabled-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=base][variant=warning][hoverable].gov-button>.element:hover{background-color:var(--gov-button-warning-base-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-base-hover-color, var(--gov-color-warning-500))}[type=base][variant=warning][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-warning-base-active-bg, var(--gov-color-warning-300))}}@media not all and (pointer: coarse){[type=base][variant=warning][hoverable][inverse=""].gov-button .element:hover,[type=base][variant=warning][hoverable][inverse=true i].gov-button .element:hover,[type=base][variant=warning][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-warning-base-inverse-hover-bg, var(--gov-color-warning-500));color:var(--gov-button-warning-base-inverse-hover-color, var(--gov-color-neutral-white))}[type=base][variant=warning][hoverable][inverse=""].gov-button .element:hover:active,[type=base][variant=warning][hoverable][inverse=true i].gov-button .element:hover:active,[type=base][variant=warning][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-warning-base-inverse-active-bg, var(--gov-color-warning-400));color:var(--gov-button-warning-base-inverse-active-color, var(--gov-color-neutral-white))}}[type=link][variant=warning].gov-button .element{color:var(--gov-button-warning-link-color, var(--gov-color-warning-500))}[type=link][variant=warning][inverse=""].gov-button .element,[type=link][variant=warning][inverse=true i].gov-button .element,[type=link][variant=warning][inverse="1"].gov-button .element{color:var(--gov-button-warning-link-inverse-color, var(--gov-color-neutral-white));background-color:var(--gov-button-warning-link-inverse-bg, transparent)}[type=link][variant=warning][disabled=""].gov-button .element,[type=link][variant=warning][disabled=true i].gov-button .element,[type=link][variant=warning][disabled="1"].gov-button .element{color:var(--gov-button-warning-link-disabled-color, var(--gov-color-warning))}[type=link][variant=warning][disabled=""][inverse=""].gov-button .element,[type=link][variant=warning][disabled=""][inverse=true i].gov-button .element,[type=link][variant=warning][disabled=""][inverse="1"].gov-button .element,[type=link][variant=warning][disabled=true i][inverse=""].gov-button .element,[type=link][variant=warning][disabled=true i][inverse=true i].gov-button .element,[type=link][variant=warning][disabled=true i][inverse="1"].gov-button .element,[type=link][variant=warning][disabled="1"][inverse=""].gov-button .element,[type=link][variant=warning][disabled="1"][inverse=true i].gov-button .element,[type=link][variant=warning][disabled="1"][inverse="1"].gov-button .element{background-color:var(--gov-button-warning-link-inverse-disabled-bg, transparent);color:var(--gov-button-warning-link-inverse-disabled-color, var(--gov-color-warning-400))}@media not all and (pointer: coarse){[type=link][variant=warning][hoverable].gov-button>.element:hover{background-color:var(--gov-button-warning-link-hover-bg, transparent);color:var(--gov-button-warning-link-hover-color, var(--gov-color-warning-500))}[type=link][variant=warning][hoverable].gov-button>.element:hover:active{background-color:var(--gov-button-warning-link-active-bg, transparent);color:var(--gov-button-primary-link-active-color, var(--gov-color-warning-600))}}@media not all and (pointer: coarse){[type=link][variant=warning][hoverable][inverse=""].gov-button .element:hover,[type=link][variant=warning][hoverable][inverse=true i].gov-button .element:hover,[type=link][variant=warning][hoverable][inverse="1"].gov-button .element:hover{background-color:var(--gov-button-warning-link-inverse-hover-bg, transparent);color:var(--gov-button-warning-link-inverse-hover-color, var(--gov-color-neutral-white))}[type=link][variant=warning][hoverable][inverse=""].gov-button .element:hover:active,[type=link][variant=warning][hoverable][inverse=true i].gov-button .element:hover:active,[type=link][variant=warning][hoverable][inverse="1"].gov-button .element:hover:active{background-color:var(--gov-button-warning-link-inverse-active-bg, transparent);color:var(--gov-button-warning-link-inverse-active-color, var(--gov-color-neutral-white))}}[size=xs].gov-button .element{font-weight:var(--gov-button-text-xs-font-weight, var(--gov-text-xs-font-weight));font-size:var(--gov-button-text-xs-font-size, var(--gov-text-xs-font-size));line-height:var(--gov-button-text-xs-line-height, var(--gov-text-xs-line-height));letter-spacing:var(--gov-button-text-xs-letter-spacing, var(--gov-text-xs-letter-spacing));-moz-column-gap:var(--gov-button-xs-padding-x, 0.625rem);column-gap:var(--gov-button-xs-padding-x, 0.625rem);min-height:var(--gov-button-xs-min-height, 1.5rem);padding:var(--gov-button-xs-padding-y, 0.125rem) var(--gov-button-xs-padding-x, 0.625rem)}[size=xs].gov-button .element .gov-icon{width:var(--gov-button-xs-icon-size, 1rem);height:var(--gov-button-xs-icon-size, 1rem)}[size=s].gov-button .element{font-weight:var(--gov-button-text-xs-font-weight, var(--gov-text-xs-font-weight));font-size:var(--gov-button-text-xs-font-size, var(--gov-text-xs-font-size));line-height:var(--gov-button-text-xs-line-height, var(--gov-text-xs-line-height));letter-spacing:var(--gov-button-text-xs-letter-spacing, var(--gov-text-xs-letter-spacing));-moz-column-gap:var(--gov-button-s-padding-x, 0.75rem);column-gap:var(--gov-button-s-padding-x, 0.75rem);min-height:var(--gov-button-s-min-height, 2rem);padding:var(--gov-button-s-padding-y, 0.25rem) var(--gov-button-s-padding-x, 0.75rem)}[size=s].gov-button .element .gov-icon{width:var(--gov-button-s-icon-size, 1rem);height:var(--gov-button-s-icon-size, 1rem)}[size=m].gov-button .element{font-weight:var(--gov-button-text-s-font-weight, var(--gov-text-s-font-weight));font-size:var(--gov-button-text-s-font-size, var(--gov-text-s-font-size));line-height:var(--gov-button-text-s-line-height, var(--gov-text-s-line-height));letter-spacing:var(--gov-button-text-s-letter-spacing, var(--gov-text-s-letter-spacing));-moz-column-gap:var(--gov-button-m-padding-x, 0.75rem);column-gap:var(--gov-button-m-padding-x, 0.75rem);min-height:var(--gov-button-m-min-height, 2.5rem);padding:var(--gov-button-m-padding-y, 0.375rem) var(--gov-button-m-padding-x, 0.75rem)}[size=m].gov-button .element .gov-icon{width:var(--gov-button-m-icon-size, 1.25rem);height:var(--gov-button-m-icon-size, 1.25rem)}[size=l].gov-button .element{font-weight:var(--gov-button-text-m-font-weight, var(--gov-text-m-font-weight));font-size:var(--gov-button-text-m-font-size, var(--gov-text-m-font-size));line-height:var(--gov-button-text-m-line-height, var(--gov-text-m-line-height));letter-spacing:var(--gov-button-text-m-letter-spacing, var(--gov-text-m-letter-spacing));-moz-column-gap:var(--gov-button-l-padding-x, 1rem);column-gap:var(--gov-button-l-padding-x, 1rem);min-height:var(--gov-button-l-min-height, 3rem);padding:var(--gov-button-l-padding-y, 0.5rem) var(--gov-button-l-padding-x, 1rem)}[size=l].gov-button .element .gov-icon{width:var(--gov-button-l-icon-size, 1.5rem);height:var(--gov-button-l-icon-size, 1.5rem)}[size=xl].gov-button .element{font-weight:var(--gov-button-text-xl-font-weight, var(--gov-text-xl-font-weight));font-size:var(--gov-button-text-xl-font-size, var(--gov-text-xl-font-size));line-height:var(--gov-button-text-xl-line-height, var(--gov-text-xl-line-height));letter-spacing:var(--gov-button-text-xl-letter-spacing, var(--gov-text-xl-letter-spacing));-moz-column-gap:var(--gov-button-xl-padding-x, 1.25rem);column-gap:var(--gov-button-xl-padding-x, 1.25rem);min-height:var(--gov-button-xl-min-height, 3.5rem);padding:var(--gov-button-xl-padding-y, 0.75rem) var(--gov-button-xl-padding-x, 1.25rem)}[size=xl].gov-button .element .gov-icon{width:var(--gov-button-xl-icon-size, 1.75rem);height:var(--gov-button-xl-icon-size, 1.75rem)}.gov-button{display:inline-block}.gov-button .element{border-radius:var(--gov-border-radius, 0.1875rem)}.gov-button[type=link] .element{justify-content:flex-start;align-items:flex-start;text-align:left;min-height:inherit;padding:0 !important;line-height:inherit;text-decoration:underline}@media not all and (pointer: coarse){.gov-button[type=link] .element:hover{text-decoration:none}}.gov-button[loading=true] .element>.gov-icon:not(.gov-spin-animation),.gov-button[loading=true] .element>gov-icon:not(.gov-spin-animation),.gov-button[loading="1"] .element>.gov-icon:not(.gov-spin-animation),.gov-button[loading="1"] .element>gov-icon:not(.gov-spin-animation){display:none}.gov-button[loading=true] .element .gov-icon,.gov-button[loading="1"] .element .gov-icon{margin:0}.gov-button[loading="0"][size=xs] .element:not(:has(>.gov-icon)),.gov-button[loading=false][size=xs] .element:not(:has(>.gov-icon)),.gov-button[loading=""][size=xs] .element:not(:has(>.gov-icon)){padding:var(--gov-button-xs-padding-y, 0.125rem) calc((var(--gov-button-xs-padding-x, 0.625rem) * 3 + var(--gov-button-xs-icon-size, 1rem)) / 2)}.gov-button[size=xs] .element{font-weight:var(--gov-button-xs-font-weight, 700)}.gov-button[loading="0"][size=s] .element:not(:has(>.gov-icon)),.gov-button[loading=false][size=s] .element:not(:has(>.gov-icon)),.gov-button[loading=""][size=s] .element:not(:has(>.gov-icon)){padding:var(--gov-button-s-padding-y, 0.25rem) calc((var(--gov-button-s-padding-x, 0.75rem) * 3 + var(--gov-button-s-icon-size, 1rem)) / 2)}.gov-button[size=s] .element{font-weight:var(--gov-button-s-font-weight, 700)}.gov-button[loading="0"][size=m] .element:not(:has(>.gov-icon)),.gov-button[loading=false][size=m] .element:not(:has(>.gov-icon)),.gov-button[loading=""][size=m] .element:not(:has(>.gov-icon)){padding:var(--gov-button-m-padding-y, 0.375rem) calc((var(--gov-button-m-padding-x, 0.75rem) * 3 + var(--gov-button-m-icon-size, 1.25rem)) / 2)}.gov-button[size=m] .element{font-weight:var(--gov-button-m-font-weight, 700)}.gov-button[loading="0"][size=l] .element:not(:has(>.gov-icon)),.gov-button[loading=false][size=l] .element:not(:has(>.gov-icon)),.gov-button[loading=""][size=l] .element:not(:has(>.gov-icon)){padding:var(--gov-button-l-padding-y, 0.5rem) calc((var(--gov-button-l-padding-x, 1rem) * 3 + var(--gov-button-l-icon-size, 1.5rem)) / 2)}.gov-button[size=l] .element{font-weight:var(--gov-button-l-font-weight, 700)}.gov-button[loading="0"][size=xl] .element:not(:has(>.gov-icon)),.gov-button[loading=false][size=xl] .element:not(:has(>.gov-icon)),.gov-button[loading=""][size=xl] .element:not(:has(>.gov-icon)){padding:var(--gov-button-xl-padding-y, 0.75rem) calc((var(--gov-button-xl-padding-x, 1.25rem) * 3 + var(--gov-button-xl-icon-size, 1.75rem)) / 2)}.gov-button[size=xl] .element{font-weight:var(--gov-button-xl-font-weight, 700)}.gov-button[size=s][type=link] .gov-icon{margin-top:4px}.gov-button[size=m][type=link] .gov-icon{margin-top:2px}';const x=f;var z;(function(e){e["A"]="a";e["BUTTON"]="button"})(z||(z={}));const T=e(class e extends o{constructor(){super();this.__registerHost();this.govClick=r(this,"gov-click",7);this.govFocus=r(this,"gov-focus",7);this.govBlur=r(this,"gov-blur",7);this.hydrated=false;this.variant=undefined;this.size="m";this.type=undefined;this.expanded=false;this.inverse=false;this.name=undefined;this.iconLeft=undefined;this.iconRight=undefined;this.disabled=false;this.nativeType="button";this.href=undefined;this.target=undefined;this.download=undefined;this.hreflang=undefined;this.referrerpolicy=undefined;this.rel=undefined;this.loading=undefined;this.focusable=true;this.identifier=undefined;this.wcagActiveDescendant=undefined;this.wcagControls=undefined;this.wcagDescribedBy=undefined;this.wcagDescription=undefined;this.wcagDetails=undefined;this.wcagExpanded=undefined;this.wcagLabel=undefined;this.wcagLabelledBy=undefined;this.wcagOwns=undefined;this.wcagHasPopup=undefined;this.wcagPressed=undefined;this.wcagCurrent=undefined;this.h=b(this.host)}validateVariant(e){a(v,e,i.root)}validateType(e){a(l,e,i.root)}validateSize(e){a(c,e,i.root)}validateNativeType(e){a(s,e,i.root)}componentWillLoad(){this.validateVariant(this.variant);this.validateType(this.type);this.validateSize(this.size);this.validateNativeType(this.nativeType)}async componentDidRender(){if(m()){await y(500);await this.validateWcag()}}get classNames(){const{h:e}=this;return g([i.root,e.hasSlot("left-icon")&&i.rootWithIcon,e.hasSlot("right-icon")&&i.rootWithIcon])}connectedCallback(){this.hydrated=true}render(){const e=this.href?z.A:z.BUTTON;const o=e===z.A?undefined:this.nativeType;const r=h(this.iconLeft);const a=h(this.iconRight);return t(n,{key:"8ef7951c316e6975d81e167d0a68271f98608f88",hoverable:true,size:this.size,hydrated:this.hydrated,variant:this.variant,class:this.h.classes(this.classNames),type:this.type,inverse:this.inverse},t(e,{key:"1e06725bc0bf8ff6937d6f5905ab64619025ee3c",class:"element",ref:e=>this.triggerRef=e,onClick:this.onClickHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),disabled:this.disabled,id:this.identifier,href:this.href,target:this.target,download:this.download,hreflang:this.hreflang,rel:this.rel,name:this.name,type:o,tabindex:this.focusable?"0":"-1","aria-activedescendant":this.wcagActiveDescendant,"aria-describedby":this.wcagActiveDescendant,"aria-description":this.wcagDescription,"aria-controls":this.wcagControls,"aria-details":this.wcagDetails,"aria-expanded":u(this.wcagExpanded),"aria-label":this.wcagLabel,"aria-labelledby":this.wcagLabelledBy,"aria-owns":this.wcagOwns,"aria-haspopup":u(this.wcagHasPopup),"aria-pressed":u(this.wcagPressed),"aria-disabled":u(this.disabled),"aria-current":this.wcagCurrent},w(this.loading)&&!this.h.hasSlot("right-icon")&&t("gov-icon",{key:"6abed8519dc39f3a3b47c70af96ca23a51b42a68",name:"loader",class:"gov-spin-animation"}),this.h.hasSlot("left-icon")&&t("slot",{key:"1195e55409440fc46edd7f62e8c4d5d024ba4165",name:"left-icon"}),r&&t("gov-icon",{key:"c9876c570544b24146ed25724f415c13172be18a",type:r.type,name:r.name}),t("slot",{key:"961e2821929aaa6ef26666df09ec17a9f52a2c48"}),this.h.hasSlot("right-icon")&&t("slot",{key:"4e163af6668bcbb3e18f8330d9a0f8c3c2f5b361",name:"right-icon"}),a&&t("gov-icon",{key:"1ba65b90a1adb7b2b6febae4097d8e3cccea290b",type:a.type,name:a.name}),w(this.loading)&&this.h.hasSlot("right-icon")&&t("gov-icon",{key:"3f8b66ac9546bf8a46dde01ea8300958d13d8094",name:"loader",class:"gov-spin-animation"})))}onClickHandler(e){e.stopPropagation();if(this.disabled===false){this.govClick.emit({component:i.root,originalEvent:e,ref:this.host})}}onFocusHandler(e){e.stopPropagation();this.govFocus.emit({component:i.root,originalEvent:e,ref:this.host})}onBlurHandler(e){e.stopPropagation();this.govBlur.emit({component:i.root,originalEvent:e,ref:this.host})}async setFocus(){this.triggerRef.focus()}async getTriggerRef(){return this.triggerRef}async validateWcag(){if(this.focusable){d(this.wcagActiveDescendant,"aria-activedescendant",i.root);d(this.wcagControls,"aria-controls",i.root);d(this.wcagDetails,"aria-details",i.root);d(this.wcagOwns,"aria-owns",i.root);d(this.wcagHasPopup,"aria-haspopup",i.root);p(this.wcagLabel,this.wcagLabelledBy,i.root)}}get host(){return this}static get watchers(){return{variant:["validateVariant"],type:["validateType"],size:["validateSize"],nativeType:["validateNativeType"]}}static get style(){return x}},[4,"gov-button",{variant:[513],size:[513],type:[513],expanded:[516],inverse:[516],name:[1],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],disabled:[516],nativeType:[1,"native-type"],href:[1],target:[1],download:[4],hreflang:[1],referrerpolicy:[1],rel:[1],loading:[1],focusable:[4],identifier:[1],wcagActiveDescendant:[1,"wcag-active-descendant"],wcagControls:[1,"wcag-controls"],wcagDescribedBy:[1,"wcag-described-by"],wcagDescription:[1,"wcag-description"],wcagDetails:[1,"wcag-details"],wcagExpanded:[4,"wcag-expanded"],wcagLabel:[1,"wcag-label"],wcagLabelledBy:[1,"wcag-labelled-by"],wcagOwns:[1,"wcag-owns"],wcagHasPopup:[1,"wcag-has-popup"],wcagPressed:[4,"wcag-pressed"],wcagCurrent:[1,"wcag-current"],setFocus:[64],getTriggerRef:[64],validateWcag:[64]},undefined,{variant:["validateVariant"],type:["validateType"],size:["validateSize"],nativeType:["validateNativeType"]}]);function j(){if(typeof customElements==="undefined"){return}const e=["gov-button","gov-icon"];e.forEach((e=>{switch(e){case"gov-button":if(!customElements.get(e)){customElements.define(e,T)}break;case"gov-icon":if(!customElements.get(e)){k()}break}}))}j();export{T as G,j as d};
|
|
2
|
-
//# sourceMappingURL=p-9d5a8ed9.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["toBool","value","indexOf","govButtonCss","GovButtonStyle0","Tags","GovButton","proxyCustomElement","H","constructor","this","hydrated","h","govHost","host","validateVariant","newValue","validateProp","ButtonVariants","ButtonClass","root","validateType","Type","validateSize","Sizes","validateNativeType","NativeType","componentWillLoad","variant","type","size","nativeType","componentDidRender","canValidateWcagOnRender","delay","validateWcag","classNames","prepareClasses","hasSlot","rootWithIcon","connectedCallback","render","Tag","href","A","BUTTON","undefined","iconLeft","prepareIconFormat","iconRight","Host","key","hoverable","class","classes","inverse","ref","el","triggerRef","onClick","onClickHandler","bind","onFocus","onFocusHandler","onBlur","onBlurHandler","disabled","id","identifier","target","download","hreflang","rel","name","tabindex","focusable","wcagActiveDescendant","wcagDescription","wcagControls","wcagDetails","toBoolAttrIfDefined","wcagExpanded","wcagLabel","wcagLabelledBy","wcagOwns","wcagHasPopup","wcagPressed","wcagCurrent","loading","e","stopPropagation","govClick","emit","component","originalEvent","govFocus","govBlur","setFocus","focus","getTriggerRef","validateWcagRef","validateWcagLabel"],"sources":["../../../packages/core/src/utils/bool.utils.ts","../../../packages/core/src/components/gov-button/button/gov-button.scss?tag=gov-button","../../../packages/core/src/components/gov-button/button/gov-button.tsx"],"sourcesContent":["export function toBool(value: any): boolean {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0\n\t} else if (typeof value === 'boolean') {\n\t\treturn value\n\t} else {\n\t\treturn value ? true : false\n\t}\n}\n","/*\n * Button\n */\n\n// Shared definitions - BUTTON & chip\n@import \"gov-button-core\";\n\n.gov-button {\n\t@extend %button-core;\n\tdisplay: inline-block;\n\t.element {\n\t\tborder-radius: #{$border-radius};\n\t}\n\n\t&[type=\"link\"] {\n\t\t.element {\n\t\t\tjustify-content: flex-start;\n\t\t\talign-items: flex-start;\n\t\t\ttext-align: left;\n\t\t\tmin-height: inherit;\n\t\t\tpadding: 0 !important;\n\t\t\tline-height: inherit;\n\t\t\ttext-decoration: underline;\n\t\t\t@include hover() {\n\t\t\t\ttext-decoration: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// STATES\n\t&[loading=\"true\"],\n\t&[loading=\"1\"] {\n\t\t.element {\n\t\t\t> .gov-icon:not(.gov-spin-animation),\n\t\t\t> gov-icon:not(.gov-spin-animation) {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t.gov-icon {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $button-sizes {\n\t\t// Loading state\n\t\t&[loading=\"0\"][size=\"#{$size}\"],\n\t\t&[loading=\"false\"][size=\"#{$size}\"],\n\t\t&[loading=\"\"][size=\"#{$size}\"] {\n\t\t\t.element:not(:has(> .gov-icon)) {\n\t\t\t\tpadding: get(\"padding-y\", $definitions) calc(((get(\"padding-x\", $definitions) * 3) + get(\"icon-size\", $definitions)) / 2);\n\t\t\t}\n\t\t}\n\t\t&[size=\"#{$size}\"] {\n\t\t\t.element {\n\t\t\t\tfont-weight: map-get($definitions, \"font-weight\");\n\t\t\t}\n\t\t}\n\t}\n\t&[size=\"s\"][type=\"link\"] .gov-icon {\n\t\tmargin-top: 4px;\n\t}\n\t&[size=\"m\"][type=\"link\"] .gov-icon {\n\t\tmargin-top: 2px;\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {\n\tButtonClass,\n\tButtonSizesType,\n\tButtonTargetType,\n\tButtonVariants,\n\tButtonVariantType,\n\tNativeType,\n\tNativeTypesType,\n\tType,\n\tTypesType,\n} from \"./constants\"\nimport {govHost, prepareClasses, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {toBool} from \"../../../utils/bool.utils\"\nimport {Sizes} from \"../../../core/constants/sizes\"\nimport {validateWcagLabel, validateWcagRef} from \"../../../helpers/Validate/wcag\"\nimport {canValidateWcagOnRender} from \"../../../helpers/Dom/win\"\nimport {delay} from \"../../../utils/utils\"\nimport {ButtonEvent} from \"./gov-button.types\"\nimport {prepareIconFormat} from \"../../gov-icon/helpers\";\n\nenum Tags {\n\tA = \"a\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-button\",\n\tstyleUrl: \"gov-button.scss\",\n})\nexport class GovButton {\n\tprivate h: GovHost\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovButtonElement\n\n\t/**\n\t * Style variation of the button\n\t */\n\t@Prop({reflect: true}) readonly variant: ButtonVariantType\n\t/**\n\t * Button’s size\n\t */\n\t@Prop({reflect: true}) readonly size?: ButtonSizesType = \"m\"\n\t/**\n\t * Button's type\n\t */\n\t@Prop({reflect: true}) readonly type: TypesType\n\t/**\n\t * Expands the button to fill 100% of the container width\n\t */\n\t@Prop({reflect: true}) readonly expanded: boolean = false\n\t/**\n\t * Determine if component should have inversed colors to be used on dark background\n\t */\n\t@Prop({reflect: true}) readonly inverse: boolean = false\n\t/**\n\t * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-left\"}) readonly iconLeft?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-right\"}) readonly iconRight?: string\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies\n\t */\n\t@Prop({reflect: true}) readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\n\t */\n\t@Prop() readonly nativeType?: NativeTypesType = \"button\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target?: ButtonTargetType\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\n\t */\n\t@Prop() readonly download: boolean\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang\n\t */\n\t@Prop() readonly hreflang: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy\n\t */\n\t@Prop() readonly referrerpolicy: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel\n\t */\n\t@Prop() readonly rel: string\n\t/**\n\t * Indicates whether an asynchronous process is running\n\t */\n\t@Prop() readonly loading: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\n\t */\n\t@Prop() readonly focusable: boolean = true\n\t/**\n\t * Custom button identifier\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the id of a related component’s visually focused element\n\t */\n\t@Prop({attribute: \"wcag-active-descendant\"}) readonly wcagActiveDescendant: string\n\t/**\n\t * Use this property to add an aria-controls attribute to the button. Use the attribute to point to the unique id of the content that the button manages\n\t */\n\t@Prop({attribute: \"wcag-controls\"}) readonly wcagControls: string\n\t/**\n\t * Indicates the id of a component that describes the button\n\t */\n\t@Prop({attribute: \"wcag-described-by\"}) readonly wcagDescribedBy: string\n\t/**\n\t * Aria description the button\n\t */\n\t@Prop({attribute: \"wcag-description\"}) readonly wcagDescription: string\n\t/**\n\t * Details of the component\n\t */\n\t@Prop({attribute: \"wcag-details\"}) readonly wcagDetails: string\n\t/**\n\t * If a button expands or collapses adjacent content, then use the ariaExpanded prop to add the aria-expanded attribute to the button\n\t * Set the value to convey the current expanded (true) or collapsed (false) state of the content\n\t */\n\t@Prop({attribute: \"wcag-expanded\"}) readonly wcagExpanded: boolean\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology\n\t */\n\t@Prop({attribute: \"wcag-label\"}) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: \"wcag-labelled-by\"}) readonly wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component owned by the button\n\t */\n\t@Prop({attribute: \"wcag-owns\"}) readonly wcagOwns: string\n\t/**\n\t * \tUse this property to add an aria-haspopup attribute to a button, if you are using it as a menu button\n\t */\n\t@Prop({attribute: \"wcag-has-popup\"}) readonly wcagHasPopup: string\n\t/**\n\t * Tells screen reader the element is pressed\n\t */\n\t@Prop({attribute: \"wcag-pressed\"}) readonly wcagPressed: boolean\n\t/**\n\t * Indicates the current item within a container or set of related elements\n\t */\n\t@Prop({attribute: \"wcag-current\"}) readonly wcagCurrent: string\n\t/**\n\t * Emitted when the button click\n\t */\n\t@Event({eventName: \"gov-click\"}) govClick: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button has focus\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button loses focus\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<ButtonEvent>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(Type, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"nativeType\")\n\tvalidateNativeType(newValue: string): void {\n\t\tvalidateProp(NativeType, newValue, ButtonClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateType(this.type)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateNativeType(this.nativeType)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tget classNames(): string {\n\t\tconst {h} = this\n\n\t\treturn prepareClasses([ButtonClass.root, h.hasSlot(\"left-icon\") && ButtonClass.rootWithIcon, h.hasSlot(\"right-icon\") && ButtonClass.rootWithIcon])\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : Tags.BUTTON\n\t\tconst nativeType = Tag === Tags.A ? undefined : this.nativeType\n\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\n\t\treturn (\n\t\t\t<Host hoverable={true}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\thydrated={this.hydrated}\n\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\tclass={this.h.classes(this.classNames)}\n\t\t\t\t\t\ttype={this.type} inverse={this.inverse}>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLButtonElement | HTMLLinkElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\tid={this.identifier}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tdownload={this.download}\n\t\t\t\t\threflang={this.hreflang}\n\t\t\t\t\trel={this.rel}\n\t\t\t\t\tname={this.name}\n\t\t\t\t\ttype={nativeType}\n\t\t\t\t\ttabindex={this.focusable ? \"0\" : \"-1\"}\n\t\t\t\t\taria-activedescendant={this.wcagActiveDescendant}\n\t\t\t\t\taria-describedby={this.wcagActiveDescendant}\n\t\t\t\t\taria-description={this.wcagDescription}\n\t\t\t\t\taria-controls={this.wcagControls}\n\t\t\t\t\taria-details={this.wcagDetails}\n\t\t\t\t\taria-expanded={toBoolAttrIfDefined(this.wcagExpanded)}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\t\taria-owns={this.wcagOwns}\n\t\t\t\t\taria-haspopup={toBoolAttrIfDefined(this.wcagHasPopup)}\n\t\t\t\t\taria-pressed={toBoolAttrIfDefined(this.wcagPressed)}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\taria-current={this.wcagCurrent}\n\t\t\t\t>\n\t\t\t\t\t{toBool(this.loading) && !this.h.hasSlot(\"right-icon\") &&\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t{iconLeft && <gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t<slot/>\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{iconRight && <gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t{toBool(this.loading) && this.h.hasSlot(\"right-icon\") &&\n\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false) {\n\t\t\tthis.govClick.emit({\n\t\t\t\tcomponent: ButtonClass.root,\n\t\t\t\toriginalEvent: e,\n\t\t\t\tref: this.host,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\t/**\n\t * Focus button element\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tthis.triggerRef.focus()\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tif (this.focusable) {\n\t\t\tvalidateWcagRef(this.wcagActiveDescendant, \"aria-activedescendant\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagControls, \"aria-controls\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagDetails, \"aria-details\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagOwns, \"aria-owns\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagHasPopup, \"aria-haspopup\", ButtonClass.root)\n\t\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, ButtonClass.root)\n\t\t}\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|