@gov-design-system-ce/components 4.0.8-rc22 → 4.1.0-rc02
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-app_2.cjs.entry.js +9891 -0
- package/dist/cjs/gov-app_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-attachments_3.cjs.entry.js +27 -32
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +21 -19
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +18 -21
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +40 -53
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +19 -59
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +46 -32
- 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 +32 -28
- 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 +25 -22
- 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 +32 -30
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +10 -14
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +31 -36
- 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 +37 -45
- 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 +31 -31
- 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 +30 -43
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +32 -31
- 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 +32 -36
- 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 +17 -46
- 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 +8 -9
- 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-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 +37 -26
- 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 +16 -20
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +20 -43
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +15 -14
- 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/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 +3 -8
- 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-app/gov-app.css +68 -0
- package/dist/collection/components/gov-app/gov-app.js +93 -0
- package/dist/collection/components/gov-app/gov-app.js.map +1 -0
- 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/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-app.d.ts +11 -0
- package/dist/components/gov-app.js +2 -0
- package/dist/components/gov-app.js.map +1 -0
- 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-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-2da35aa8.js +2 -0
- package/dist/components/p-2da35aa8.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-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-5caf1fe1.js +2 -0
- package/dist/components/p-5caf1fe1.js.map +1 -0
- package/dist/components/p-6e19816b.js +2 -0
- package/dist/components/p-6e19816b.js.map +1 -0
- package/dist/components/p-736e4917.js +2 -0
- package/dist/components/p-736e4917.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-9a93146e.js +2 -0
- package/dist/components/p-9a93146e.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-ae7e6127.js +2 -0
- package/dist/components/p-ae7e6127.js.map +1 -0
- package/dist/components/p-c9a15c52.js +2 -0
- package/dist/components/p-c9a15c52.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-ded281e6.js +2 -0
- package/dist/components/p-ded281e6.js.map +1 -0
- package/dist/components/p-e183a7c7.js +2 -0
- package/dist/components/p-e183a7c7.js.map +1 -0
- package/dist/components/p-e20bb5dc.js +2 -0
- package/dist/components/p-e20bb5dc.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-e9b35956.js +2 -0
- package/dist/components/p-e9b35956.js.map +1 -0
- package/dist/components/p-edd1417b.js +2 -0
- package/dist/components/p-edd1417b.js.map +1 -0
- package/dist/components/p-fe1842da.js +2 -0
- package/dist/components/p-fe1842da.js.map +1 -0
- package/dist/components/p-ff0cf148.js +2 -0
- package/dist/components/p-ff0cf148.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-006e52f1.entry.js +2 -0
- package/dist/core/p-006e52f1.entry.js.map +1 -0
- 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-023787b3.entry.js +2 -0
- package/dist/core/p-023787b3.entry.js.map +1 -0
- package/dist/core/p-052cc573.js +2 -0
- package/dist/core/p-0a952b3c.entry.js +2 -0
- package/dist/core/p-0a952b3c.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-169b67af.js +2 -0
- package/dist/core/p-17015e36.entry.js +2 -0
- package/dist/core/p-17015e36.entry.js.map +1 -0
- package/dist/core/p-182189d2.entry.js +2 -0
- package/dist/core/p-182189d2.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-2ed3afef.entry.js +2 -0
- package/dist/core/p-2ed3afef.entry.js.map +1 -0
- package/dist/core/p-2effdd60.entry.js +2 -0
- package/dist/core/p-2effdd60.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-3f2b803c.entry.js +2 -0
- package/dist/core/p-3f2b803c.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-477a5027.entry.js +2 -0
- package/dist/core/p-477a5027.entry.js.map +1 -0
- package/dist/core/p-47e364bb.entry.js +2 -0
- package/dist/core/p-47e364bb.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-5c88f415.entry.js +2 -0
- package/dist/core/p-5c88f415.entry.js.map +1 -0
- package/dist/core/p-5dc0af54.entry.js +2 -0
- package/dist/core/p-5dc0af54.entry.js.map +1 -0
- package/dist/core/p-5dcbfca3.entry.js +2 -0
- package/dist/core/p-5dcbfca3.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-663d3db2.entry.js +2 -0
- package/dist/core/p-663d3db2.entry.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-6b42a387.entry.js +2 -0
- package/dist/core/p-6b42a387.entry.js.map +1 -0
- package/dist/core/p-6d772ff9.entry.js +2 -0
- package/dist/core/p-6d772ff9.entry.js.map +1 -0
- package/dist/core/p-6ed147a6.entry.js +2 -0
- package/dist/core/p-6ed147a6.entry.js.map +1 -0
- package/dist/core/p-74e9ad9d.entry.js +2 -0
- package/dist/core/p-74e9ad9d.entry.js.map +1 -0
- package/dist/core/p-7cf554e6.entry.js +2 -0
- package/dist/core/p-7cf554e6.entry.js.map +1 -0
- package/dist/core/p-81b0848c.entry.js +2 -0
- package/dist/core/p-81b0848c.entry.js.map +1 -0
- package/dist/core/p-83039b10.entry.js +2 -0
- package/dist/core/p-83039b10.entry.js.map +1 -0
- package/dist/core/p-904de5e6.entry.js +2 -0
- package/dist/core/p-904de5e6.entry.js.map +1 -0
- package/dist/core/p-91a9cd24.entry.js +2 -0
- package/dist/core/p-91a9cd24.entry.js.map +1 -0
- package/dist/core/p-963f9fcd.entry.js +2 -0
- package/dist/core/p-963f9fcd.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-9d0f20ec.entry.js +2 -0
- package/dist/core/p-9d0f20ec.entry.js.map +1 -0
- package/dist/core/p-9dde00d8.entry.js +2 -0
- package/dist/core/p-9dde00d8.entry.js.map +1 -0
- package/dist/core/p-9ff8f059.entry.js +2 -0
- package/dist/core/p-9ff8f059.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-a1ebb4da.entry.js +2 -0
- package/dist/core/p-a1ebb4da.entry.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-a53a277a.entry.js +2 -0
- package/dist/core/p-a53a277a.entry.js.map +1 -0
- package/dist/core/p-a5489b0e.entry.js +2 -0
- package/dist/core/p-a5489b0e.entry.js.map +1 -0
- package/dist/core/p-a54f1db9.entry.js +2 -0
- package/dist/core/p-a54f1db9.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-aa8adc45.entry.js +2 -0
- package/dist/core/p-aa8adc45.entry.js.map +1 -0
- package/dist/core/p-ab9ae7ba.entry.js +2 -0
- package/dist/core/p-ab9ae7ba.entry.js.map +1 -0
- package/dist/core/p-b3acb156.entry.js +2 -0
- package/dist/core/p-b3acb156.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-b55fc943.entry.js +2 -0
- package/dist/core/p-b55fc943.entry.js.map +1 -0
- package/dist/core/p-b838bb27.entry.js +2 -0
- package/dist/core/p-b838bb27.entry.js.map +1 -0
- package/dist/core/p-c214c202.entry.js +2 -0
- package/dist/core/p-c214c202.entry.js.map +1 -0
- package/dist/core/p-c4c7cb24.entry.js +2 -0
- package/dist/core/p-c4c7cb24.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-d2351924.entry.js +2 -0
- package/dist/core/p-d2351924.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-db940455.entry.js +2 -0
- package/dist/core/p-db940455.entry.js.map +1 -0
- package/dist/core/p-dc3fab19.entry.js +2 -0
- package/dist/core/p-dc3fab19.entry.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-e134b123.entry.js +2 -0
- package/dist/core/p-e134b123.entry.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-e4978aab.entry.js +2 -0
- package/dist/core/p-e4978aab.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-edc05eff.entry.js +2 -0
- package/dist/core/p-edc05eff.entry.js.map +1 -0
- package/dist/core/p-eeb9cb73.entry.js +2 -0
- package/dist/core/p-eeb9cb73.entry.js.map +1 -0
- package/dist/core/p-f141ad5e.entry.js +2 -0
- package/dist/core/p-f141ad5e.entry.js.map +1 -0
- package/dist/core/p-f1be099b.entry.js +2 -0
- package/dist/core/p-f1be099b.entry.js.map +1 -0
- package/dist/core/p-f456bd71.entry.js +2 -0
- package/dist/core/p-f456bd71.entry.js.map +1 -0
- package/dist/core/p-fa7caad6.entry.js +2 -0
- package/dist/core/p-fa7caad6.entry.js.map +1 -0
- package/dist/core/p-fc90bf06.entry.js +2 -0
- package/dist/core/p-fc90bf06.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-app_2.entry.js +9886 -0
- package/dist/esm/gov-app_2.entry.js.map +1 -0
- package/dist/esm/gov-attachments_3.entry.js +28 -33
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +21 -19
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +18 -21
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +41 -54
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +20 -60
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +46 -32
- 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 +33 -29
- 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 +26 -23
- 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 +33 -31
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +12 -16
- package/dist/esm/gov-form-control.entry.js.map +1 -1
- package/dist/esm/gov-form-file.entry.js +32 -37
- 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 +38 -46
- 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 +32 -32
- 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 +31 -44
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +33 -32
- 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 +33 -37
- 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 +18 -47
- 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 +9 -10
- 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-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 +38 -27
- 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 +17 -21
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +21 -44
- package/dist/esm/gov-wizard-item.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +16 -15
- 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/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 +11179 -1929
- package/dist/hydrate/index.mjs +11179 -1929
- 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-app/gov-app.d.ts +37 -0
- 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 +662 -1491
- 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/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-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-cfb57f19.js +0 -2044
- package/dist/cjs/index-cfb57f19.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/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-53ebeed1.js +0 -67
- package/dist/cjs/wcag-53ebeed1.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-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-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-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-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-3cf3af92.js +0 -2
- package/dist/components/p-3cf3af92.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-4489a1da.js +0 -2
- package/dist/components/p-4489a1da.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-6207f7b0.js +0 -2
- package/dist/components/p-6207f7b0.js.map +0 -1
- package/dist/components/p-65cd1f0c.js +0 -2
- package/dist/components/p-65cd1f0c.js.map +0 -1
- package/dist/components/p-6b0471a8.js +0 -2
- package/dist/components/p-6b0471a8.js.map +0 -1
- package/dist/components/p-6cdf3f51.js +0 -2
- package/dist/components/p-6cdf3f51.js.map +0 -1
- package/dist/components/p-6e263e52.js +0 -2
- package/dist/components/p-6e263e52.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-8df7c635.js +0 -2
- package/dist/components/p-8df7c635.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-92c6c6aa.js +0 -2
- package/dist/components/p-92c6c6aa.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-b5bbb1eb.js +0 -2
- package/dist/components/p-b5bbb1eb.js.map +0 -1
- package/dist/components/p-bb979e0e.js +0 -2
- package/dist/components/p-bb979e0e.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-d6759ac3.js +0 -3
- package/dist/components/p-d6759ac3.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-02745628.entry.js +0 -2
- package/dist/core/p-02745628.entry.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-04e48d5d.entry.js +0 -2
- package/dist/core/p-04e48d5d.entry.js.map +0 -1
- package/dist/core/p-0790a27c.entry.js +0 -2
- package/dist/core/p-0790a27c.entry.js.map +0 -1
- package/dist/core/p-0a5b0f7d.js +0 -3
- package/dist/core/p-0a5b0f7d.js.map +0 -1
- package/dist/core/p-0dd510d0.entry.js +0 -2
- package/dist/core/p-0dd510d0.entry.js.map +0 -1
- package/dist/core/p-1046221c.entry.js +0 -2
- package/dist/core/p-1046221c.entry.js.map +0 -1
- package/dist/core/p-13a80dc5.entry.js +0 -2
- package/dist/core/p-13a80dc5.entry.js.map +0 -1
- package/dist/core/p-185a46b9.entry.js +0 -2
- package/dist/core/p-185a46b9.entry.js.map +0 -1
- package/dist/core/p-1b212799.entry.js +0 -2
- package/dist/core/p-1b212799.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-212e297e.entry.js +0 -2
- package/dist/core/p-212e297e.entry.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-272ef734.entry.js +0 -2
- package/dist/core/p-272ef734.entry.js.map +0 -1
- package/dist/core/p-290773da.entry.js +0 -2
- package/dist/core/p-290773da.entry.js.map +0 -1
- package/dist/core/p-2cdb5670.entry.js +0 -3
- package/dist/core/p-2cdb5670.entry.js.map +0 -1
- package/dist/core/p-2db35d0f.entry.js +0 -2
- package/dist/core/p-2db35d0f.entry.js.map +0 -1
- package/dist/core/p-2e647c00.entry.js +0 -2
- package/dist/core/p-2e647c00.entry.js.map +0 -1
- package/dist/core/p-2fb0e1cf.entry.js +0 -2
- package/dist/core/p-2fb0e1cf.entry.js.map +0 -1
- package/dist/core/p-31a7316b.entry.js +0 -2
- package/dist/core/p-31a7316b.entry.js.map +0 -1
- package/dist/core/p-33b1f5d8.entry.js +0 -2
- package/dist/core/p-33b1f5d8.entry.js.map +0 -1
- package/dist/core/p-344c72d7.js +0 -2
- package/dist/core/p-3483a6e8.entry.js +0 -2
- package/dist/core/p-3483a6e8.entry.js.map +0 -1
- package/dist/core/p-34cf509a.entry.js +0 -2
- package/dist/core/p-34cf509a.entry.js.map +0 -1
- package/dist/core/p-36425101.entry.js +0 -2
- package/dist/core/p-36425101.entry.js.map +0 -1
- package/dist/core/p-36ee24f8.entry.js +0 -2
- package/dist/core/p-36ee24f8.entry.js.map +0 -1
- package/dist/core/p-389edb54.entry.js +0 -2
- package/dist/core/p-389edb54.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-3e3a1607.entry.js +0 -2
- package/dist/core/p-3e3a1607.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-3f62cf30.entry.js +0 -2
- package/dist/core/p-3f62cf30.entry.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-4532cea6.entry.js +0 -2
- package/dist/core/p-4532cea6.entry.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-4dbaff99.entry.js +0 -2
- package/dist/core/p-4dbaff99.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-5462e282.entry.js +0 -2
- package/dist/core/p-5462e282.entry.js.map +0 -1
- package/dist/core/p-5d33cb6e.entry.js +0 -2
- package/dist/core/p-5d33cb6e.entry.js.map +0 -1
- package/dist/core/p-5e04679a.entry.js +0 -2
- package/dist/core/p-5e04679a.entry.js.map +0 -1
- package/dist/core/p-5e7e7cb1.entry.js +0 -2
- package/dist/core/p-5e7e7cb1.entry.js.map +0 -1
- package/dist/core/p-5facceb9.entry.js +0 -2
- package/dist/core/p-5facceb9.entry.js.map +0 -1
- package/dist/core/p-650ac6c6.entry.js +0 -2
- package/dist/core/p-650ac6c6.entry.js.map +0 -1
- package/dist/core/p-6977b168.entry.js +0 -2
- package/dist/core/p-6977b168.entry.js.map +0 -1
- package/dist/core/p-6be9b50d.entry.js +0 -3
- package/dist/core/p-6be9b50d.entry.js.map +0 -1
- package/dist/core/p-6c745c3e.entry.js +0 -2
- package/dist/core/p-6c745c3e.entry.js.map +0 -1
- package/dist/core/p-718d0198.entry.js +0 -2
- package/dist/core/p-718d0198.entry.js.map +0 -1
- package/dist/core/p-753e4861.entry.js +0 -3
- package/dist/core/p-753e4861.entry.js.map +0 -1
- package/dist/core/p-761c33c7.entry.js +0 -2
- package/dist/core/p-761c33c7.entry.js.map +0 -1
- package/dist/core/p-7695610a.entry.js +0 -2
- package/dist/core/p-7695610a.entry.js.map +0 -1
- package/dist/core/p-7ba4daf4.js +0 -2
- package/dist/core/p-7d1dd58a.entry.js +0 -2
- package/dist/core/p-7d1dd58a.entry.js.map +0 -1
- package/dist/core/p-8ab827a1.entry.js +0 -2
- package/dist/core/p-8ab827a1.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-92b7481f.js +0 -2
- package/dist/core/p-92b7481f.js.map +0 -1
- package/dist/core/p-92f752e1.entry.js +0 -3
- package/dist/core/p-92f752e1.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-a50b306f.entry.js +0 -2
- package/dist/core/p-a50b306f.entry.js.map +0 -1
- package/dist/core/p-aaabf6a4.entry.js +0 -2
- package/dist/core/p-aaabf6a4.entry.js.map +0 -1
- package/dist/core/p-ab2f6b4d.entry.js +0 -2
- package/dist/core/p-ab2f6b4d.entry.js.map +0 -1
- package/dist/core/p-ab9d9655.entry.js +0 -2
- package/dist/core/p-ab9d9655.entry.js.map +0 -1
- package/dist/core/p-aba11ab4.entry.js +0 -2
- package/dist/core/p-aba11ab4.entry.js.map +0 -1
- package/dist/core/p-b58ed9ce.entry.js +0 -2
- package/dist/core/p-b58ed9ce.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-cc3c6319.entry.js +0 -2
- package/dist/core/p-cc3c6319.entry.js.map +0 -1
- package/dist/core/p-cce125de.entry.js +0 -2
- package/dist/core/p-cce125de.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-d2fc217d.entry.js +0 -2
- package/dist/core/p-d2fc217d.entry.js.map +0 -1
- package/dist/core/p-dbde347f.entry.js +0 -2
- package/dist/core/p-dbde347f.entry.js.map +0 -1
- package/dist/core/p-e0e2e9c1.js +0 -2
- package/dist/core/p-e21b402c.entry.js +0 -3
- package/dist/core/p-e21b402c.entry.js.map +0 -1
- 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-eb059ce6.entry.js +0 -2
- package/dist/core/p-eb059ce6.entry.js.map +0 -1
- package/dist/core/p-eb403270.entry.js +0 -2
- package/dist/core/p-eb403270.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-f11f707f.entry.js +0 -2
- package/dist/core/p-f11f707f.entry.js.map +0 -1
- package/dist/core/p-f54fe20e.entry.js +0 -2
- package/dist/core/p-f54fe20e.entry.js.map +0 -1
- package/dist/core/p-f9e6f776.entry.js +0 -3
- package/dist/core/p-f9e6f776.entry.js.map +0 -1
- package/dist/core/p-f9fee460.entry.js +0 -2
- package/dist/core/p-f9fee460.entry.js.map +0 -1
- package/dist/core/p-fc3d4a73.entry.js +0 -3
- package/dist/core/p-fc3d4a73.entry.js.map +0 -1
- package/dist/core/p-fdead70e.js +0 -2
- package/dist/core/p-fdead70e.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-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-b44c6c92.js +0 -2013
- package/dist/esm/index-b44c6c92.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/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-6ad92279.js +0 -62
- package/dist/esm/wcag-6ad92279.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-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":["toBool","value","indexOf","govButtonCss","GovButtonStyle0","Tags","GovButton","constructor","hostRef","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":"2dAAgBA,EAAOC,GACtB,UAAWA,IAAU,SAAU,CAC9B,MAAO,CAAC,OAAQ,OAAQ,OAAQ,KAAKC,QAAQD,MAAY,C,MACnD,UAAWA,IAAU,SAAU,CACrC,OAAOA,EAAQ,C,MACT,UAAWA,IAAU,UAAW,CACtC,OAAOA,C,KACD,CACN,OAAOA,EAAQ,KAAO,K,CAExB,CCVA,MAAME,EAAe,uqxEACrB,MAAAC,EAAeD,ECsBf,IAAKE,GAAL,SAAKA,GACJA,EAAA,SACAA,EAAA,kBACA,EAHD,CAAKA,MAAI,K,MASIC,EAAS,MAKrB,WAAAC,CAAAC,G,oHAFQC,KAAAC,SAAW,M,iCAesC,I,kCAQL,M,aAID,M,mFAiBC,M,gBAKJ,S,iLAuCV,K,gXArFrCD,KAAKE,EAAIC,EAAQH,KAAKI,K,CA0JvB,eAAAC,CAAgBC,GACfC,EAAaC,EAAgBF,EAAUG,EAAYC,K,CAIpD,YAAAC,CAAaL,GACZC,EAAaK,EAAMN,EAAUG,EAAYC,K,CAI1C,YAAAG,CAAaP,GACZC,EAAaO,EAAOR,EAAUG,EAAYC,K,CAI3C,kBAAAK,CAAmBT,GAClBC,EAAaS,EAAYV,EAAUG,EAAYC,K,CAGhD,iBAAAO,GACCjB,KAAKK,gBAAgBL,KAAKkB,SAC1BlB,KAAKW,aAAaX,KAAKmB,MACvBnB,KAAKa,aAAab,KAAKoB,MACvBpB,KAAKe,mBAAmBf,KAAKqB,W,CAG9B,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNxB,KAAKyB,c,EAIb,cAAIC,GACH,MAAMxB,EAACA,GAAKF,KAEZ,OAAO2B,EAAe,CAAClB,EAAYC,KAAMR,EAAE0B,QAAQ,cAAgBnB,EAAYoB,aAAc3B,EAAE0B,QAAQ,eAAiBnB,EAAYoB,c,CAGrI,iBAAAC,GACC9B,KAAKC,SAAW,I,CAGjB,MAAA8B,GACC,MAAMC,EAAMhC,KAAKiC,KAAOrC,EAAKsC,EAAItC,EAAKuC,OACtC,MAAMd,EAAaW,IAAQpC,EAAKsC,EAAIE,UAAYpC,KAAKqB,WAErD,MAAMgB,EAAWC,EAAkBtC,KAAKqC,UACxC,MAAME,EAAYD,EAAkBtC,KAAKuC,WAEzC,OACCrC,EAACsC,EAAI,CAAAC,IAAA,2CAACC,UAAW,KACdtB,KAAMpB,KAAKoB,KACXnB,SAAUD,KAAKC,SACfiB,QAASlB,KAAKkB,QACdyB,MAAO3C,KAAKE,EAAE0C,QAAQ5C,KAAK0B,YAC3BP,KAAMnB,KAAKmB,KAAM0B,QAAS7C,KAAK6C,SACjC3C,EAAC8B,EAAG,CAAAS,IAAA,2CACHE,MAAM,UACNG,IAAKC,GAAO/C,KAAKgD,WAAaD,EAC9BE,QAASjD,KAAKkD,eAAeC,KAAKnD,MAClCoD,QAASpD,KAAKqD,eAAeF,KAAKnD,MAClCsD,OAAQtD,KAAKuD,cAAcJ,KAAKnD,MAChCwD,SAAUxD,KAAKwD,SACfC,GAAIzD,KAAK0D,WACTzB,KAAMjC,KAAKiC,KACX0B,OAAQ3D,KAAK2D,OACbC,SAAU5D,KAAK4D,SACfC,SAAU7D,KAAK6D,SACfC,IAAK9D,KAAK8D,IACVC,KAAM/D,KAAK+D,KACX5C,KAAME,EACN2C,SAAUhE,KAAKiE,UAAY,IAAM,KAAI,wBACdjE,KAAKkE,qBAAoB,mBAC9BlE,KAAKkE,qBAAoB,mBACzBlE,KAAKmE,gBAAe,gBACvBnE,KAAKoE,aAAY,eAClBpE,KAAKqE,YAAW,gBACfC,EAAoBtE,KAAKuE,cAAa,aACzCvE,KAAKwE,UAAS,kBACTxE,KAAKyE,eAAc,YACzBzE,KAAK0E,SAAQ,gBACTJ,EAAoBtE,KAAK2E,cAAa,eACvCL,EAAoBtE,KAAK4E,aAAY,gBACpCN,EAAoBtE,KAAKwD,UAAS,eACnCxD,KAAK6E,aAElBtF,EAAOS,KAAK8E,WAAa9E,KAAKE,EAAE0B,QAAQ,eACxC1B,EAAA,YAAAuC,IAAA,2CAAUsB,KAAK,SAASpB,MAAM,uBAC9B3C,KAAKE,EAAE0B,QAAQ,cAAgB1B,EAAA,QAAAuC,IAAA,2CAAMsB,KAAK,cAC1C1B,GAAYnC,EAAA,YAAAuC,IAAA,2CAAUtB,KAAMkB,EAASlB,KAAM4C,KAAM1B,EAAS0B,OAC3D7D,EAAA,QAAAuC,IAAA,6CACCzC,KAAKE,EAAE0B,QAAQ,eAAiB1B,EAAA,QAAAuC,IAAA,2CAAMsB,KAAK,eAC3CxB,GAAarC,EAAA,YAAAuC,IAAA,2CAAUtB,KAAMoB,EAAUpB,KAAM4C,KAAMxB,EAAUwB,OAC7DxE,EAAOS,KAAK8E,UAAY9E,KAAKE,EAAE0B,QAAQ,eACvC1B,EAAA,YAAAuC,IAAA,2CAAUsB,KAAK,SAASpB,MAAM,wB,CAM3B,cAAAO,CAAe6B,GACtBA,EAAEC,kBACF,GAAIhF,KAAKwD,WAAa,MAAO,CAC5BxD,KAAKiF,SAASC,KAAK,CAClBC,UAAW1E,EAAYC,KACvB0E,cAAeL,EACfjC,IAAK9C,KAAKI,M,EAKL,cAAAiD,CAAe0B,GACtBA,EAAEC,kBACFhF,KAAKqF,SAASH,KAAK,CAClBC,UAAW1E,EAAYC,KACvB0E,cAAeL,EACfjC,IAAK9C,KAAKI,M,CAIJ,aAAAmD,CAAcwB,GACrBA,EAAEC,kBACFhF,KAAKsF,QAAQJ,KAAK,CACjBC,UAAW1E,EAAYC,KACvB0E,cAAeL,EACfjC,IAAK9C,KAAKI,M,CAQZ,cAAMmF,GACLvF,KAAKgD,WAAWwC,O,CAOjB,mBAAMC,GACL,OAAOzF,KAAKgD,U,CAOb,kBAAMvB,GACL,GAAIzB,KAAKiE,UAAW,CACnByB,EAAgB1F,KAAKkE,qBAAsB,wBAAyBzD,EAAYC,MAChFgF,EAAgB1F,KAAKoE,aAAc,gBAAiB3D,EAAYC,MAChEgF,EAAgB1F,KAAKqE,YAAa,eAAgB5D,EAAYC,MAC9DgF,EAAgB1F,KAAK0E,SAAU,YAAajE,EAAYC,MACxDgF,EAAgB1F,KAAK2E,aAAc,gBAAiBlE,EAAYC,MAChEiF,EAAkB3F,KAAKwE,UAAWxE,KAAKyE,eAAgBhE,EAAYC,K","ignoreList":[]}
|
package/dist/core/p-f0d542f2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V as o}from"./p-03dbb8b1.js";import{p as s}from"./p-e0e2e9c1.js";const e=s(o,["SECONDARY","SUCCESS","ERROR","WARNING"]);const m={root:"gov-form-message",content:"gov-form-message__content",icon:"gov-form-message__icon"};export{m as F,e as a};
|
|
2
|
-
//# sourceMappingURL=p-f0d542f2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FormMessageVariants","pick","Variants","FormMessageClass","root","content","icon"],"sources":["../../../packages/core/src/components/gov-form/message/constants.ts"],"sourcesContent":["import { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormMessageVariants = pick(Variants, ['SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type FormMessageVariantType = `${ValueOf<typeof FormMessageVariants>}`\n\nexport const FormMessageClass = {\n\troot: 'gov-form-message',\n\tcontent: 'gov-form-message__content',\n\ticon: 'gov-form-message__icon',\n}\n"],"mappings":"8EAIaA,EAAsBC,EAAKC,EAAU,CAAC,YAAa,UAAW,QAAS,Y,MAGvEC,EAAmB,CAC/BC,KAAM,mBACNC,QAAS,4BACTC,KAAM,iC","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,a,g}from"./p-0a5b0f7d.js";import{a as e,b as p,c as i}from"./p-e44a0fee.js";import{g as t}from"./p-4191acf2.js";import{v as m}from"./p-344c72d7.js";import"./p-e0e2e9c1.js";import"./p-92f420cb.js";import"./p-e296ca83.js";import"./p-e618f1cb.js";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-form-group,gov-form-radio-group,gov-form-checkbox-group,.gov-form-group{position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap="2xs"],gov-form-radio-group[gap="2xs"],gov-form-checkbox-group[gap="2xs"],.gov-form-group[gap="2xs"]{gap:0.25rem}gov-form-group[gap=xs],gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-group[gap=xs]{gap:0.5rem}gov-form-group[gap=s],gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-group[gap=s]{gap:0.75rem}gov-form-group[gap=m],gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-group[gap=m]{gap:1rem}gov-form-group[gap=l],gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-group[gap=l]{gap:1.25rem}';const s=f;const n=class{constructor(r){o(this,r);this.gap=undefined;this.orientation="vertical";this.h=t(this.host)}validateGap(o){if(o){m(p,o,e.root)}}validateOrientation(o){if(o){m(i,o,e.root)}}componentWillLoad(){this.validateGap(this.gap);this.validateOrientation(this.orientation)}render(){return r(a,{key:"c1cac99c54a7c4fed7c0b4eabf40de9b7cff3d9f",gap:this.gap,class:this.h.classes(e.root)},r("slot",{key:"2a642d8ecdea27ae8bc4a23b595fd4cc256f87cb"}))}get host(){return g(this)}static get watchers(){return{gap:["validateGap"],orientation:["validateOrientation"]}}};n.style=s;export{n as gov_form_group};
|
|
2
|
-
//# sourceMappingURL=p-f11f707f.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["govFormGroupCss","GovFormGroupStyle0","GovFormGroup","constructor","hostRef","undefined","this","h","govHost","host","validateGap","newValue","validateProp","FormGroupSizes","FormGroupClass","root","validateOrientation","FormGroupOrientation","componentWillLoad","gap","orientation","render","Host","key","class","classes"],"sources":["../../../packages/core/src/components/gov-form/group/gov-form-group.scss?tag=gov-form-group","../../../packages/core/src/components/gov-form/group/gov-form-group.tsx"],"sourcesContent":["$class: \".gov-form-group\";\n\ngov-form-group, gov-form-radio-group, gov-form-checkbox-group, #{$class} {\n\t@include base(flex);\n\tflex-direction: column;\n\talign-items: flex-start;\n\t.gov-form-label__label {\n\t\tmargin: 0;\n\t}\n\n\t&[orientation=\"horizontal\"] {\n\t\tflex-direction: row;\n\t\tflex-wrap: wrap;\n\t\t.gov-form-label__label {\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@each $gap, $definitions in $form-group-gaps {\n\t\t&[gap=\"#{$gap}\"] {\n\t\t\tgap: get($gap, $sizes);\n\t\t}\n\t}\n}\n","import {Component, Element, h, Host, Prop, Watch} from \"@stencil/core\"\nimport {\n FormGroupClass,\n FormGroupOrientation,\n FormGroupOrientationType,\n FormGroupSizes,\n FormGroupSizesType\n} from \"./constants\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govHost} from \"../../../helpers/Dom/template\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\n\n@Component({\n tag: \"gov-form-group\",\n styleUrl: \"gov-form-group.scss\",\n})\nexport class GovFormGroup {\n private readonly h: GovHost\n\n constructor() {\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovFormGroupElement\n /**\n * Gap's size.\n */\n @Prop() readonly gap?: FormGroupSizesType = undefined\n /**\n * Elements orientation\n */\n @Prop() readonly orientation?: FormGroupOrientationType = 'vertical'\n\n @Watch(\"gap\")\n validateGap(newValue: string): void {\n if (newValue) {\n validateProp(FormGroupSizes, newValue, FormGroupClass.root)\n }\n }\n\n @Watch(\"orientation\")\n validateOrientation(newValue: string): void {\n if (newValue) {\n validateProp(FormGroupOrientation, newValue, FormGroupClass.root)\n }\n }\n\n componentWillLoad(): void {\n this.validateGap(this.gap)\n this.validateOrientation(this.orientation)\n }\n\n\n\n render() {\n return (\n <Host gap={this.gap} class={this.h.classes(FormGroupClass.root)}>\n <slot></slot>\n </Host>\n )\n }\n}\n"],"mappings":"yQAAA,MAAMA,EAAkB,0uDACxB,MAAAC,EAAeD,E,MCeFE,EAAY,MAGvB,WAAAC,CAAAC,G,mBAQ4CC,U,iBAIc,WAXxDC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAcxB,WAAAC,CAAYC,GACV,GAAIA,EAAU,CACZC,EAAaC,EAAgBF,EAAUG,EAAeC,K,EAK1D,mBAAAC,CAAoBL,GAClB,GAAIA,EAAU,CACZC,EAAaK,EAAsBN,EAAUG,EAAeC,K,EAIhE,iBAAAG,GACEZ,KAAKI,YAAYJ,KAAKa,KACtBb,KAAKU,oBAAoBV,KAAKc,Y,CAKhC,MAAAC,GACE,OACEd,EAACe,EAAI,CAAAC,IAAA,2CAACJ,IAAKb,KAAKa,IAAKK,MAAOlB,KAAKC,EAAEkB,QAAQX,EAAeC,OACxDR,EAAA,QAAAgB,IAAA,6C","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,a}from"./p-0a5b0f7d.js";const e={root:"gov-form-password-power",bar:"gov-form-password-power__bar",text:"gov-form-password-power__text"};const s='.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-password-power{display:flex;align-items:center;width:100%;gap:1.5rem;height:1.5rem}.gov-form-password-power__bar{display:flex;gap:0.25rem;width:100%}.gov-form-password-power__bar span{display:inline-block;width:100%;height:var(--gov-form-password-power-height, 0.25rem);border-radius:var(--gov-form-password-power-radius, 0.125rem);background-color:var(--gov-form-password-power-color, var(--gov-color-secondary-600))}.gov-form-password-power__text{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);text-align:right;flex-basis:3.5rem}.gov-form-password-power[power="1"]{color:var(--gov-form-password-power-color-weak, var(--gov-color-error))}.gov-form-password-power[power="1"] .gov-form-password-power__bar span:nth-child(1){background-color:var(--gov-form-password-power-color-weak, var(--gov-color-error))}.gov-form-password-power[power="2"]{color:var(--gov-form-password-power-color-medium, var(--gov-color-warning-500))}.gov-form-password-power[power="2"] .gov-form-password-power__bar span:nth-child(1),.gov-form-password-power[power="2"] .gov-form-password-power__bar span:nth-child(2){background-color:var(--gov-form-password-power-color-medium, var(--gov-color-warning-500))}.gov-form-password-power[power="3"]{color:var(--gov-form-password-power-color-strong, var(--gov-color-success-500))}.gov-form-password-power[power="3"] .gov-form-password-power__bar span{background-color:var(--gov-form-password-power-color-strong, var(--gov-color-success-500))}';const p=s;const w=class{constructor(r){o(this,r);this.power=undefined}render(){return r(a,{key:"f17c12404219732174f6ef2db409a88a8b30319f",class:e.root},r("span",{key:"3dda22e7434b9783d3307bdf71a340f20c81fc96",class:e.bar},r("span",{key:"10723ad48b9610953ed34cff856481fc16c6914f"}),r("span",{key:"e3c884bfe955641f3e5fdeae9e2f3e1aa70ae038"}),r("span",{key:"925fe711de661b4a97ae8cda4f45c440929205e5"})),r("span",{key:"9f88b9cf2b3aea76d01077086671ba37e327c3b0",class:e.text},r("slot",{key:"0d8db0f5b06e4f8783fd25a40f4488eccf3d9af2"})))}};w.style=p;export{w as gov_form_password_power};
|
|
2
|
-
//# sourceMappingURL=p-f54fe20e.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FormPasswordPowerClass","root","bar","text","govFormPasswordPowerCss","GovFormPasswordPowerStyle0","GovFormPasswordPower","render","h","Host","key","class"],"sources":["../../../packages/core/src/components/gov-form/password-power/constants.ts","../../../packages/core/src/components/gov-form/password-power/gov-form-password-power.scss?tag=gov-form-password-power","../../../packages/core/src/components/gov-form/password-power/gov-form-password-power.tsx"],"sourcesContent":["export const FormPasswordPowerClass = {\n\troot: 'gov-form-password-power',\n bar: 'gov-form-password-power__bar',\n text: 'gov-form-password-power__text',\n}\n","$class: \".gov-form-password-power\";\n\n#{$class} {\n display: flex;\n align-items: center;\n width: 100%;\n gap: rem-calc(24);\n height: rem-calc(24);\n &__bar {\n display: flex;\n gap: rem-calc(4);\n width: 100%;\n span {\n display: inline-block;\n width: 100%;\n height: $form-password-power-height;\n border-radius: $form-password-power-radius;\n background-color: $form-password-power-color;\n }\n }\n &__text {\n @include typography($font-size-s);\n text-align: right;\n flex-basis: rem-calc(56);\n }\n\n // STATES\n &[power=\"1\"] {\n color: $form-password-power-color-weak;\n #{$class}__bar {\n span:nth-child(1) {\n background-color: $form-password-power-color-weak;\n }\n }\n }\n &[power=\"2\"] {\n color: $form-password-power-color-medium;\n #{$class}__bar {\n span:nth-child(1),\n span:nth-child(2) {\n background-color: $form-password-power-color-medium;\n }\n }\n }\n &[power=\"3\"] {\n color: $form-password-power-color-strong;\n #{$class}__bar {\n span {\n background-color: $form-password-power-color-strong;\n }\n }\n }\n}\n","import {Component, h, Host, Prop} from '@stencil/core'\nimport {FormPasswordPowerClass} from './constants'\n\n@Component({\n\ttag: 'gov-form-password-power',\n\tstyleUrl: 'gov-form-password-power.scss',\n})\nexport class GovFormPasswordPower {\n\t/**\n\t * Password power: 0 - none, 1 - weak, 2 - medium, 3 - strong\n\t */\n\t@Prop({reflect: true}) readonly power: number\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={FormPasswordPowerClass.root}>\n\t\t\t\t\t<span class={FormPasswordPowerClass.bar}>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t\t\t<span></span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class={FormPasswordPowerClass.text}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"6CAAO,MAAMA,EAAyB,CACrCC,KAAM,0BACHC,IAAK,+BACLC,KAAM,iCCHV,MAAMC,EAA0B,i5DAChC,MAAAC,EAAeD,E,MCMFE,EAAoB,M,8CAMhC,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAOX,EAAuBC,MAClCO,EAAA,QAAAE,IAAA,2CAAMC,MAAOX,EAAuBE,KAClCM,EAAA,QAAAE,IAAA,6CACAF,EAAA,QAAAE,IAAA,6CACAF,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMC,MAAOX,EAAuBG,MAClCK,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{r as o,c as a,h as e,a as t,g as i}from"./p-0a5b0f7d.js";import{g as s,c as d,a as r}from"./p-4191acf2.js";import{c as l}from"./p-e618f1cb.js";import{a as n}from"./p-e296ca83.js";import{a as c}from"./p-92b7481f.js";import{c as m}from"./p-95d41a3b.js";import{d as g}from"./p-e0e2e9c1.js";import{M as h}from"./p-0134b442.js";const v='.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-modal{display:none}.gov-modal__dialog{z-index:101;position:fixed;top:50%;left:50%;display:flex;justify-content:center;align-items:center;width:100%;max-width:var(--gov-modal-max-width, 52.5rem);height:100%;padding:0.5rem;border:none;background:transparent;transform:translate(-50%, -50%);pointer-events:none}.gov-modal__inner{position:relative;display:flex;flex-direction:column;width:100%;max-height:100%;border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-modal-bg, var(--gov-color-neutral-white));overflow:hidden;pointer-events:auto;box-shadow:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24)}.gov-modal__header{display:flex;gap:1rem;align-items:flex-start;padding:1.5rem 1rem;border-bottom:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__icon{flex:0 0 auto;padding-top:calc((var(--gov-text-3xl-font-size) * 1.5 - 1.5rem) / 2)}.gov-modal__icon>*{width:1.5rem;height:1.5rem}.gov-modal__title{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing);margin:0}.gov-modal__close{flex:0 0 auto;margin-left:auto}.gov-modal__content{height:100%;padding:1.5rem 1rem;color:var(--gov-modal-text-color, var(--gov-color-secondary-700));overflow:auto}.gov-modal__content>*:last-child{margin-bottom:0}.gov-modal__footer,.gov-modal__actions{padding:1.5rem 1rem;border-top:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__actions{display:flex;gap:0.5rem 1rem;flex-wrap:wrap;justify-content:flex-end}.gov-modal__dialog:focus .gov-modal__inner{outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base)}.gov-modal[open=""],.gov-modal[open=true i],.gov-modal[open="1"]{display:block}@media (min-width: 30em){.gov-modal__dialog{max-width:calc(var(--gov-modal-max-width, 52.5rem) + 3rem);padding:1.5rem}.gov-modal__dialog:focus{outline-offset:-1.5rem}.gov-modal__inner{box-shadow:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}.gov-modal--prompt .gov-modal__dialog{max-width:calc(var(--gov-modal-prompt-max-width, 33.125rem) + 3rem)}}@media (min-width: 48em){.gov-modal__header{gap:1.25rem;padding:2rem 2.5rem 2rem 3rem}.gov-modal__content{padding:2rem 3rem}.gov-modal__footer{padding:1rem 3rem}.gov-modal--prompt .gov-modal__header,.gov-modal--prompt .gov-modal__content,.gov-modal--prompt .gov-modal__footer,.gov-modal--prompt .gov-modal__actions{padding:1.5rem}}';const f=v;const p=class{constructor(e){o(this,e);this.govClose=a(this,"gov-close",7);this.open=false;this.blockClose=false;this.blockBackdropClose=false;this.blockButtonClose=false;this.label=undefined;this.role="dialog";this.labelTag="h2";this.wcagLabelledBy=undefined;this.wcagDescribedBy=undefined;this.accessibleCloseLabel="Zavřít okno";this.wcagCloseLabelledBy=undefined;this.h=s(this.host);this.labelId=m("GovModalLabel");this.contentId=m("GovModalContent")}validateLabelTag(o){const a=["h1","h2","h3","h4","h5","h6"];if(o){if(!a.includes(o)){n(`[${h.root}]: Tag ${o} is not allowed.`)}}}watchOpen(o){this.open=o;if(o&&this.closeCtaRef){this.closeCtaRef.setFocus().catch()}}showModal(){this.open=true;document.body.classList.add(h.bodyFix)}hideModal(){this.open=false;document.body.classList.remove(h.bodyFix)}async componentWillRender(){if(this.open){this.showModal()}else{this.hideModal()}}async componentDidRender(){if(l()){await g(500);await this.validateWcag()}}render(){const o=this.labelTag;return e(t,{key:"e1525cfa3cdd7b0efeb2385b25a04ea8dbd49bc7",class:this.h.classes(h.root),open:this.open},e("dialog",{key:"a1116333c938d11049de61a9531109f346297734",class:h.dialog,hidden:!this.open,tabindex:d(this.open),open:this.open,"aria-modal":"true","aria-hidden":r(!this.open),"aria-labelledby":this.wcagLabelledBy||this.labelId,"aria-describedby":this.wcagDescribedBy||this.contentId,role:this.role},e("div",{key:"952ca6b5e7d1f4dcc59e09c1495f9aa9a96e56fb",class:h.inner},e("div",{key:"b00890579ccd683cd171a6200e972e0f02b5b4d3",class:h.header},this.h.hasSlot("icon")&&e("div",{key:"7bcf03a0f1c475b0c3553854c885b3d0900894db",class:h.icon},e("slot",{key:"527c8a9e77dbb2568510b6765634db0234039f8f",name:"icon"})),this.label&&e(o,{key:"c96b0339fcc61ba3f834d35926f6ef13419a901a",class:h.title,id:this.labelId},this.label),!(this.blockButtonClose||this.blockClose)?e("gov-button",{ref:o=>this.closeCtaRef=o,disabled:this.blockClose,class:h.close,variant:"primary",wcagLabel:this.accessibleCloseLabel,wcagLabelledBy:this.wcagCloseLabelledBy,type:"base","on-gov-click":this.onCloseHandler.bind(this)},e("gov-icon",{name:"x-lg"})):null),e("div",{key:"47e940a5bf64b87ec065f6c0977546603ca9bb11",class:h.content,id:this.contentId},e("slot",{key:"bc97ebe004ffb446c71a4bc0c8086af5d63cf3ec"})),this.h.hasSlot("footer")&&e("div",{key:"c48e97d8c9f597cc544d5e567cb0d679186b868e",class:h.footer},e("slot",{key:"7c9165dca0a9e20eef86e1937704c0f4154fcfb8",name:"footer"})))),this.open?e("gov-backdrop",{"wcag-label":this.accessibleCloseLabel,"wcag-labelled-by":this.wcagCloseLabelledBy,"on-gov-click":o=>!this.blockBackdropClose&&this.onCloseHandler(o)}):null)}onCloseHandler(o){o.stopPropagation();if(this.blockClose===false){this.hideModal();this.govClose.emit(o)}}async show(){this.showModal()}async hide(){this.hideModal()}async validateWcag(){c(this.wcagLabelledBy,"wcag-labelled-by",h.root);c(this.wcagDescribedBy,"wcag-described-by",h.root)}get host(){return i(this)}static get watchers(){return{labelTag:["validateLabelTag"],open:["watchOpen"]}}};p.style=f;export{p as gov_modal};
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=p-f9e6f776.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["govModalCss","GovModalStyle0","GovModal","constructor","hostRef","this","h","govHost","host","labelId","createID","contentId","validateLabelTag","newValue","validTags","includes","govErrorLog","ModalClass","root","watchOpen","open","closeCtaRef","setFocus","catch","showModal","document","body","classList","add","bodyFix","hideModal","remove","componentWillRender","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","LabelTag","labelTag","Host","key","class","classes","dialog","hidden","tabindex","boolToFocusValue","toBoolAttr","wcagLabelledBy","wcagDescribedBy","role","inner","header","hasSlot","icon","name","label","title","id","blockButtonClose","blockClose","ref","el","disabled","close","variant","wcagLabel","accessibleCloseLabel","wcagCloseLabelledBy","type","onCloseHandler","bind","content","footer","e","blockBackdropClose","stopPropagation","govClose","emit","show","hide","validateWcagRef"],"sources":["../../../packages/core/src/components/gov-modal/gov-modal.scss?tag=gov-modal","../../../packages/core/src/components/gov-modal/gov-modal.tsx"],"sourcesContent":["/*\n * Modal\n */\n\n$class: \".gov-modal\";\n\n#{$class} {\n\tdisplay: none;\n\n\t&__dialog {\n\t\t@include z-index(\"modal\", 1);\n\t\tposition: fixed;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 100%;\n\t\tmax-width: $modal-max-width;\n\t\theight: 100%;\n\t\tpadding: rem-calc(8);\n\t\tborder: none;\n\t\tbackground: transparent;\n\t\ttransform: translate(-50%, -50%);\n\t\tpointer-events: none;\n\t}\n\n\t&__inner {\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\twidth: 100%;\n\t\tmax-height: 100%;\n\t\tborder-radius: $border-radius;\n\t\tbackground: $modal-bg;\n\t\toverflow: hidden;\n\t\tpointer-events: auto;\n\t\tbox-shadow: get($shadow-l, $shadows);\n\t}\n\n\t&__header {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\talign-items: flex-start;\n\t\tpadding: rem-calc(24 16);\n\t\tborder-bottom: $modal-border;\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 auto;\n\t\tpadding-top: calc(((var(--gov-text-#{$font-size-3xl}-font-size) * 1.5) - rem-calc(24)) / 2);\n\n\t\t& > * {\n\t\t\twidth: rem-calc(24);\n\t\t\theight: rem-calc(24);\n\t\t}\n\t}\n\n\t&__title {\n\t\t@include typography($font-size-3xl);\n\t\tmargin: 0;\n\t}\n\n\t&__close {\n\t\tflex: 0 0 auto;\n\t\tmargin-left: auto;\n\t}\n\n\t&__content {\n\t\t@include reset-last-margin();\n\t\theight: 100%;\n\t\tpadding: rem-calc(24 16);\n\t\tcolor: $modal-text-color;\n\t\toverflow: auto;\n\t}\n\n\t&__footer,\n\t&__actions {\n\t\tpadding: rem-calc(24 16);\n\t\tborder-top: $modal-border;\n\t}\n\n\t&__actions {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(8 16);\n\t\tflex-wrap: wrap;\n\t\tjustify-content: flex-end;\n\t}\n\n\t// STATES\n\t&__dialog:focus &__inner {\n\t\toutline: $outline;\n\t}\n\n\t@include parameter(\"open\") {\n\t\tdisplay: block;\n\t}\n\n\t// MQ\n\t@include mq($from: sm) {\n\t\t&__dialog {\n\t\t\tmax-width: calc($modal-max-width + 2 * rem-calc(24));\n\t\t\tpadding: rem-calc(24);\n\n\t\t\t&:focus {\n\t\t\t\toutline-offset: rem-calc(-24);\n\t\t\t}\n\t\t}\n\t\t&__inner {\n\t\t\tbox-shadow: get($shadow-xl, $shadows);\n\t\t}\n\n\t\t// VARIANTS\n\t\t&--prompt &__dialog {\n\t\t\tmax-width: calc($modal-prompt-max-width + 2 * rem-calc(24));\n\t\t}\n\t}\n\t@include mq($from: md) {\n\t\t&__header {\n\t\t\tgap: rem-calc(20);\n\t\t\tpadding: rem-calc(32 40 32 48);\n\t\t}\n\t\t&__content {\n\t\t\tpadding: rem-calc(32 48);\n\t\t}\n\t\t&__footer {\n\t\t\tpadding: rem-calc(16 48);\n\t\t}\n\n\t\t// VARIANTS\n\t\t&--prompt {\n\t\t\t#{$class} {\n\t\t\t\t&__header,\n\t\t\t\t&__content,\n\t\t\t\t&__footer,\n\t\t\t\t&__actions {\n\t\t\t\t\tpadding: rem-calc(24);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {boolToFocusValue, govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {govErrorLog} from '../../helpers/Log/gov.log'\nimport {validateWcagRef} from '../../helpers/Validate/wcag'\nimport {Nullable} from '../../types/interfaces'\nimport {createID} from '../../utils/string.utils'\nimport {delay} from '../../utils/utils'\nimport {ModalClass} from './constants'\n\n@Component({\n\ttag: 'gov-modal',\n\tstyleUrl: 'gov-modal.scss',\n})\nexport class GovModal {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\tprivate closeCtaRef?: HTMLGovButtonElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovModalLabel')\n\t\tthis.contentId = createID('GovModalContent')\n\t}\n\n\t@Element() host: HTMLGovModalElement\n\n\t/**\n\t * Attribute for modal window display\n\t */\n\t@Prop({mutable: true}) open = false\n\t/**\n\t * Attribute allowing blocking the modal closing\n\t */\n\t@Prop() blockClose = false\n\t/**\n\t * Attribute allowing blocking the modal backdrop closing\n\t */\n\t@Prop() blockBackdropClose = false\n\t/**\n\t * Attribute allowing blocking the modal button closing\n\t */\n\t@Prop() blockButtonClose = false\n\t/**\n\t * Title of modal window\n\t */\n\t@Prop() label: string\n\t/**\n\t * Role of modal\n\t */\n\t@Prop({attribute: 'role'}) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the modal label for correct semantic structure\n\t */\n\t@Prop({attribute: 'label-tag'}) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'wcag-labelled-by'}) wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the modal.\n\t */\n\t@Prop({attribute: 'wcag-described-by'}) wcagDescribedBy: string\n\t/**\n\t * Adds accessible label for the modal close button that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'wcag-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the modal window\n\t */\n\t@Prop({attribute: 'wcag-close-labelled-by'}) wcagCloseLabelledBy: string\n\t/**\n\t * Emitted when modal window closes.\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('labelTag')\n\tvalidateLabelTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t\tif (newValue && this.closeCtaRef) {\n\t\t\tthis.closeCtaRef.setFocus().catch()\n\t\t}\n\t}\n\n\tprivate showModal() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(ModalClass.bodyFix)\n\t}\n\n\tprivate hideModal() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(ModalClass.bodyFix)\n\t}\n\n\tasync componentWillRender() {\n\t\tif (this.open) {\n\t\t\tthis.showModal()\n\t\t} else {\n\t\t\tthis.hideModal()\n\t\t}\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\trender() {\n\t\tconst LabelTag = this.labelTag\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ModalClass.root)} open={this.open}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={ModalClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex={boolToFocusValue(this.open)}\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.wcagDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={ModalClass.inner}>\n\t\t\t\t\t\t<div class={ModalClass.header}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<div class={ModalClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this.label && (\n\t\t\t\t\t\t\t\t<LabelTag class={ModalClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t{this.label}\n\t\t\t\t\t\t\t\t</LabelTag>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{!(this.blockButtonClose || this.blockClose) ? (\n\t\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\t\tref={el => (this.closeCtaRef = el)}\n\t\t\t\t\t\t\t\t\tdisabled={this.blockClose}\n\t\t\t\t\t\t\t\t\tclass={ModalClass.close}\n\t\t\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\t\t\twcagLabel={this.accessibleCloseLabel}\n\t\t\t\t\t\t\t\t\twcagLabelledBy={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<gov-icon name=\"x-lg\"/>\n\t\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{this.h.hasSlot('footer') && (\n\t\t\t\t\t\t\t<div class={ModalClass.footer}>\n\t\t\t\t\t\t\t\t<slot name=\"footer\"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop wcag-label={this.accessibleCloseLabel}\n\t\t\t\t\t\t\t\t\t\t\t\twcag-labelled-by={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\t\t\t\t\ton-gov-click={(e) => !this.blockBackdropClose && this.onCloseHandler(e)}/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\tif (this.blockClose === false) {\n\t\t\tthis.hideModal()\n\t\t\tthis.govClose.emit(e)\n\t\t}\n\t}\n\n\t/**\n\t * Showing the modal\n\t */\n\t@Method()\n\tasync show(): Promise<void> {\n\t\tthis.showModal()\n\t}\n\n\t/**\n\t * Hiding the modal\n\t */\n\t@Method()\n\tasync hide(): Promise<void> {\n\t\tthis.hideModal()\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.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root)\n\t\tvalidateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root)\n\t}\n}\n"],"mappings":"0UAAA,MAAMA,EAAc,wyFACpB,MAAAC,EAAeD,E,MCcFE,EAAQ,MAMpB,WAAAC,CAAAC,G,wDAW8B,M,gBAIT,M,wBAIQ,M,sBAIF,M,+BAQyB,S,cAIQ,K,iFAYa,c,mCA9CxEC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,QAAUC,EAAS,iBACxBL,KAAKM,UAAYD,EAAS,kB,CAuD3B,gBAAAE,CAAiBC,GAChB,MAAMC,EAAY,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,MACjD,GAAID,EAAU,CACb,IAAKC,EAAUC,SAASF,GAAW,CAClCG,EAAY,IAAIC,EAAWC,cAAcL,oB,GAM5C,SAAAM,CAAUN,GACTR,KAAKe,KAAOP,EACZ,GAAIA,GAAYR,KAAKgB,YAAa,CACjChB,KAAKgB,YAAYC,WAAWC,O,EAItB,SAAAC,GACPnB,KAAKe,KAAO,KACZK,SAASC,KAAKC,UAAUC,IAAIX,EAAWY,Q,CAGhC,SAAAC,GACPzB,KAAKe,KAAO,MACZK,SAASC,KAAKC,UAAUI,OAAOd,EAAWY,Q,CAG3C,yBAAMG,GACL,GAAI3B,KAAKe,KAAM,CACdf,KAAKmB,W,KACC,CACNnB,KAAKyB,W,EAIP,wBAAMG,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACN9B,KAAK+B,c,EAIb,MAAAC,GACC,MAAMC,EAAWjC,KAAKkC,SACtB,OACCjC,EAACkC,EAAI,CAAAC,IAAA,2CAACC,MAAOrC,KAAKC,EAAEqC,QAAQ1B,EAAWC,MAAOE,KAAMf,KAAKe,MACxDd,EAAA,UAAAmC,IAAA,2CACCC,MAAOzB,EAAW2B,OAClBC,QAASxC,KAAKe,KACd0B,SAAUC,EAAiB1C,KAAKe,MAChCA,KAAMf,KAAKe,KAAI,aACJ,OAAM,cACJ4B,GAAY3C,KAAKe,MAAK,kBAClBf,KAAK4C,gBAAkB5C,KAAKI,QAAO,mBAClCJ,KAAK6C,iBAAmB7C,KAAKM,UAC/CwC,KAAM9C,KAAK8C,MAEX7C,EAAA,OAAAmC,IAAA,2CAAKC,MAAOzB,EAAWmC,OACtB9C,EAAA,OAAAmC,IAAA,2CAAKC,MAAOzB,EAAWoC,QACrBhD,KAAKC,EAAEgD,QAAQ,SACfhD,EAAA,OAAAmC,IAAA,2CAAKC,MAAOzB,EAAWsC,MACtBjD,EAAA,QAAAmC,IAAA,2CAAMe,KAAK,UAGZnD,KAAKoD,OACLnD,EAACgC,EAAQ,CAAAG,IAAA,2CAACC,MAAOzB,EAAWyC,MAAOC,GAAItD,KAAKI,SAC1CJ,KAAKoD,SAGLpD,KAAKuD,kBAAoBvD,KAAKwD,YAChCvD,EAAA,cACCwD,IAAKC,GAAO1D,KAAKgB,YAAc0C,EAC/BC,SAAU3D,KAAKwD,WACfnB,MAAOzB,EAAWgD,MAClBC,QAAQ,UACRC,UAAW9D,KAAK+D,eAChBnB,eAAgB5C,KAAKgE,oBACrBC,KAAK,OAAM,eACGjE,KAAKkE,eAAeC,KAAKnE,OAEvCC,EAAA,YAAUkD,KAAK,UAEb,MAELlD,EAAA,OAAAmC,IAAA,2CAAKC,MAAOzB,EAAWwD,QAASd,GAAItD,KAAKM,WACxCL,EAAA,QAAAmC,IAAA,8CAEApC,KAAKC,EAAEgD,QAAQ,WACfhD,EAAA,OAAAmC,IAAA,2CAAKC,MAAOzB,EAAWyD,QACtBpE,EAAA,QAAAmC,IAAA,2CAAMe,KAAK,cAMdnD,KAAKe,KACLd,EAAA,6BAA0BD,KAAK+D,eAAc,mBACpB/D,KAAKgE,oBAAmB,eAC3BM,IAAOtE,KAAKuE,oBAAsBvE,KAAKkE,eAAeI,KACzE,K,CAKC,cAAAJ,CAAeI,GACtBA,EAAEE,kBACF,GAAIxE,KAAKwD,aAAe,MAAO,CAC9BxD,KAAKyB,YACLzB,KAAKyE,SAASC,KAAKJ,E,EAQrB,UAAMK,GACL3E,KAAKmB,W,CAON,UAAMyD,GACL5E,KAAKyB,W,CAON,kBAAMM,GACL8C,EAAgB7E,KAAK4C,eAAgB,mBAAoBhC,EAAWC,MACpEgE,EAAgB7E,KAAK6C,gBAAiB,oBAAqBjC,EAAWC,K","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r,h as o,a,g as e}from"./p-0a5b0f7d.js";import{V as t}from"./p-03dbb8b1.js";import{g as n}from"./p-4191acf2.js";import{v as s}from"./p-344c72d7.js";import{p as i}from"./p-e0e2e9c1.js";import"./p-e296ca83.js";import"./p-e618f1cb.js";i(t,["PRIMARY","SECONDARY","SUCCESS","ERROR","WARNING"]);const c={root:"gov-control-group"};const g=".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-control-group{position:relative;display:flex;width:100%;align-items:center;border-radius:var(--gov-control-group-border-radius, 0.25rem)}.gov-control-group .element *,.gov-control-group .gov-button .element{border:none !important;border-radius:0}.gov-control-group[variant=primary]{border:var(--gov-control-group-border-primary, 0.0625rem solid var(--gov-color-primary-600))}.gov-control-group[variant=primary]>*{border-right:var(--gov-control-group-border-primary, 0.0625rem solid var(--gov-color-primary-600))}.gov-control-group[variant=secondary]{border:var(--gov-control-group-border-secondary, 0.0625rem solid var(--gov-color-secondary-700))}.gov-control-group[variant=secondary]>*{border-right:var(--gov-control-group-border-secondary, 0.0625rem solid var(--gov-color-secondary-700))}.gov-control-group[variant=success]{border:var(--gov-control-group-border-success, 0.0625rem solid var(--gov-color-success-500))}.gov-control-group[variant=success]>*{border-right:var(--gov-control-group-border-success, 0.0625rem solid var(--gov-color-success-500))}.gov-control-group[variant=warning]{border:var(--gov-control-group-border-warning, 0.0625rem solid var(--gov-color-warning-500))}.gov-control-group[variant=warning]>*{border-right:var(--gov-control-group-border-warning, 0.0625rem solid var(--gov-color-warning-500))}.gov-control-group[variant=error]{border:var(--gov-control-group-border-error, 0.0625rem solid var(--gov-color-error-400))}.gov-control-group[variant=error]>*{border-right:var(--gov-control-group-border-error, 0.0625rem solid var(--gov-color-error-400))}.gov-control-group>*:last-child{border-right:none}.gov-control-group.no-border>*{border-right:none}";const v=g;const d=class{constructor(o){r(this,o);this.variant=t.PRIMARY;this.noBorder=false;this.h=n(this.host)}validateVariant(r){s(t,r,c.root)}render(){const r=this.noBorder===true?"no-border":undefined;return o(a,{key:"bcc85d1e3452c30c4e3e64f26c8cc04645ab1aaf",class:this.h.classes([c.root,r]),variant:this.variant},o("slot",{key:"21984ed0f64cdae936cdd8fb22615e96c0910bec"}))}get host(){return e(this)}static get watchers(){return{variant:["validateVariant"]}}};d.style=v;export{d as gov_control_group};
|
|
2
|
-
//# sourceMappingURL=p-f9fee460.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["pick","Variants","ControlGroupClass","root","govControlGroupCss","GovControlGroupStyle0","GovControlGroup","constructor","hostRef","PRIMARY","this","h","govHost","host","validateVariant","newValue","validateProp","render","noBorder","undefined","Host","key","class","classes","variant"],"sources":["../../../packages/core/src/components/gov-control-group/constants.ts","../../../packages/core/src/components/gov-control-group/gov-control-group.scss?tag=gov-control-group","../../../packages/core/src/components/gov-control-group/gov-control-group.tsx"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\n\nexport const ControlGroupVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type ControlGroupVariantType = `${ValueOf<typeof ControlGroupVariants>}`\n\nexport const ControlGroupClass = {\n\troot: 'gov-control-group',\n}\n","/*\n * Control group\n */\n\n$class: \".gov-control-group\";\n\n#{$class} {\n\t@include base(flex);\n\talign-items: center;\n\tborder-radius: $control-group-border-radius;\n\t.element *,\n\t.gov-button .element {\n\t\tborder: none !important;\n\t\tborder-radius: 0;\n\t}\n\n\t// VARIANTS\n\t@each $variant, $definitions in $control-group-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\tborder: get(\"border\", $definitions);\n\t\t\t> * {\n\t\t\t\tborder-right: get(\"border\", $definitions);\n\t\t\t}\n\t\t}\n\t}\n\n\t> * {\n\t\t&:last-child {\n\t\t\tborder-right: none;\n\t\t}\n\t}\n\t&.no-border {\n\t\t> * {\n\t\t\tborder-right: none;\n\t\t}\n\t}\n}\n\n","import { Component, Element, h, Host, Prop, Watch } from \"@stencil/core\"\nimport { Variants } from \"../../core/constants/variants\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { ControlGroupClass, ControlGroupVariantType } from \"./constants\"\n\n@Component({\n\ttag: \"gov-control-group\",\n\tstyleUrl: \"gov-control-group.scss\",\n})\nexport class GovControlGroup {\n\tprivate readonly h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovControlGroupElement\n\t/**\n\t * Style variation of the content message.\n\t */\n\t@Prop() readonly variant: ControlGroupVariantType = Variants.PRIMARY\n\t/**\n\t * Specifies the display of the border between elements\n\t */\n\t@Prop({ attribute: \"no-border\" }) readonly noBorder: boolean = false\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(Variants, newValue, ControlGroupClass.root)\n\t}\n\n\trender() {\n\t\tconst noBorder = this.noBorder === true ? \"no-border\" : undefined\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([ControlGroupClass.root, noBorder])}\n\t\t\t\tvariant={this.variant}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"+OAIoCA,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,YAGzF,MAAMC,EAAoB,CAChCC,KAAM,qBCRP,MAAMC,EAAqB,y+DAC3B,MAAAC,EAAeD,E,MCUFE,EAAe,MAG3B,WAAAC,CAAAC,G,uBAQoDP,EAASQ,Q,cAIE,MAX9DC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAcvB,eAAAC,CAAgBC,GACfC,EAAaf,EAAUc,EAAUb,EAAkBC,K,CAGpD,MAAAc,GACC,MAAMC,EAAWR,KAAKQ,WAAa,KAAO,YAAcC,UACxD,OACCR,EAACS,EAAI,CAAAC,IAAA,2CACJC,MAAOZ,KAAKC,EAAEY,QAAQ,CAACrB,EAAkBC,KAAMe,IAC/CM,QAASd,KAAKc,SACdb,EAAA,QAAAU,IAAA,6C","ignoreList":[]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{r as o,c as r,h as a,a as n,g as i}from"./p-0a5b0f7d.js";import{g as e,a as v}from"./p-4191acf2.js";import{c as t}from"./p-e618f1cb.js";import{F as c}from"./p-1c1d0bbe.js";import{v as s}from"./p-344c72d7.js";import{c as g}from"./p-92b7481f.js";import{p as b,d as f}from"./p-e0e2e9c1.js";import{V as l}from"./p-03dbb8b1.js";import"./p-e296ca83.js";import"./p-95d41a3b.js";const d=b(l,["PRIMARY","SECONDARY","WARNING","ERROR","SUCCESS"]);const _={root:"gov-infobar",section:"gov-infobar__section",icon:"gov-infobar__icon",content:"gov-infobar__content",closable:"gov-infobar__content--closable",headline:"gov-infobar__headline",close:"gov-infobar__close"};const h='.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-infobar{position:relative;display:block;width:100%}.gov-infobar__section{display:flex;gap:1rem;padding:1rem}.gov-infobar__icon{flex:0 0 auto}.gov-infobar__icon>*{width:1.25rem;height:1.25rem}.gov-infobar__headline{display:flex;gap:1rem}.gov-infobar__headline+div{margin-top:0.5rem}.gov-infobar__headline p{margin-bottom:0}.gov-infobar__headline gov-button{margin-top:-0.25rem}.gov-infobar__content{width:100%}.gov-infobar__content>*:last-child{margin-bottom:0}.gov-infobar__content--closable{padding-right:3.5rem}.gov-infobar__content p{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)}.gov-infobar__content a{color:inherit}@media not all and (pointer: coarse){.gov-infobar__content a:hover{color:inherit}}.gov-infobar__content a .gov-icon{color:inherit}.gov-infobar__close{position:absolute;top:0.875rem;right:1rem}.gov-infobar[variant=warning]{background-color:var(--gov-infobar-warning-bg-color, var(--gov-color-warning))}.gov-infobar[variant=warning] .gov-infobar__icon{color:var(--gov-infobar-warning-icon-color, var(--gov-color-secondary))}.gov-infobar[variant=warning] .gov-infobar__content{color:var(--gov-infobar-warning-text-color, var(--gov-color-secondary))}.gov-infobar[variant=warning][inverse=""],.gov-infobar[variant=warning][inverse=true i],.gov-infobar[variant=warning][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=warning][inverse=""] .gov-infobar__icon,.gov-infobar[variant=warning][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=warning][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-warning-bg-color, var(--gov-color-warning))}.gov-infobar[variant=warning][inverse=""] .gov-infobar__content,.gov-infobar[variant=warning][inverse=true i] .gov-infobar__content,.gov-infobar[variant=warning][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=error]{background-color:var(--gov-infobar-error-bg-color, var(--gov-color-error))}.gov-infobar[variant=error] .gov-infobar__icon{color:var(--gov-infobar-error-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=error] .gov-infobar__content{color:var(--gov-infobar-error-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=error][inverse=""],.gov-infobar[variant=error][inverse=true i],.gov-infobar[variant=error][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=error][inverse=""] .gov-infobar__icon,.gov-infobar[variant=error][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=error][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-error-bg-color, var(--gov-color-error))}.gov-infobar[variant=error][inverse=""] .gov-infobar__content,.gov-infobar[variant=error][inverse=true i] .gov-infobar__content,.gov-infobar[variant=error][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=secondary]{background-color:var(--gov-infobar-secondary-bg-color, var(--gov-color-secondary))}.gov-infobar[variant=secondary] .gov-infobar__icon{color:var(--gov-infobar-secondary-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=secondary] .gov-infobar__content{color:var(--gov-infobar-secondary-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=secondary][inverse=""],.gov-infobar[variant=secondary][inverse=true i],.gov-infobar[variant=secondary][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=secondary][inverse=""] .gov-infobar__icon,.gov-infobar[variant=secondary][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=secondary][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-secondary-bg-color, var(--gov-color-secondary))}.gov-infobar[variant=secondary][inverse=""] .gov-infobar__content,.gov-infobar[variant=secondary][inverse=true i] .gov-infobar__content,.gov-infobar[variant=secondary][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=success]{background-color:var(--gov-infobar-success-bg-color, var(--gov-color-success-500))}.gov-infobar[variant=success] .gov-infobar__icon{color:var(--gov-infobar-success-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=success] .gov-infobar__content{color:var(--gov-infobar-success-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=success][inverse=""],.gov-infobar[variant=success][inverse=true i],.gov-infobar[variant=success][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=success][inverse=""] .gov-infobar__icon,.gov-infobar[variant=success][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=success][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-success-bg-color, var(--gov-color-success-500))}.gov-infobar[variant=success][inverse=""] .gov-infobar__content,.gov-infobar[variant=success][inverse=true i] .gov-infobar__content,.gov-infobar[variant=success][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=primary]{background-color:var(--gov-infobar-primary-bg-color, var(--gov-color-primary))}.gov-infobar[variant=primary] .gov-infobar__icon{color:var(--gov-infobar-primary-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=primary] .gov-infobar__content{color:var(--gov-infobar-primary-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=primary][inverse=""],.gov-infobar[variant=primary][inverse=true i],.gov-infobar[variant=primary][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=primary][inverse=""] .gov-infobar__icon,.gov-infobar[variant=primary][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=primary][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-primary-bg-color, var(--gov-color-primary))}.gov-infobar[variant=primary][inverse=""] .gov-infobar__content,.gov-infobar[variant=primary][inverse=true i] .gov-infobar__content,.gov-infobar[variant=primary][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}';const m=h;const p=class{constructor(a){o(this,a);this.govClose=r(this,"gov-close",7);this.headline=undefined;this.variant="primary";this.role=undefined;this.inverse=false;this.accessibleCloseLabel="Zavřít informační lištu";this.accessibleToggleLabel="Zobrazit více informací";this.closable=false;this.toggleContent=false;this.h=e(this.host)}validateVariant(o){s(d,o,_.root)}componentWillLoad(){this.validateVariant(this.variant)}async componentDidRender(){if(t()){await f(500);await this.validateWcag()}}render(){let o=!this.inverse;let r=this.inverse?"secondary":this.variant;if(this.variant=="warning"){o=false;r="secondary"}const i=a("div",{key:"77b4d53e93469ca4325f5af65c8fc90efa44e821",class:_.close},a("gov-button",{key:"5e8fc17fb25637229c1d5c122edb032ac9eade08",size:"s",wcagLabel:this.accessibleCloseLabel,type:"base",variant:r,inverse:o,"on-gov-click":this.onCloseHandler.bind(this)},a("gov-icon",{key:"45a33018478d0ef04211313a10857a7d2ad6e66a",name:"x-lg"})));return a(n,{key:"bbcca556a269756e86610ac5730d780afc10dd1f",class:this.h.classes(_.root),variant:this.variant},a("section",{key:"03af203186f5dabafa3871a27ecef1064dc62138",class:_.section,role:this.role},this.h.hasSlot("icon")&&a("div",{key:"2aa3131f8489eb94a3cf18c58af98c25ea6c6295",class:_.icon},a("slot",{key:"4c81fa3be4aff480578222c3e65f84e51117b221",name:"icon"})),a("div",{key:"190f4f6b6d5b6962551e310a081f765b572b24e9",class:_.content+(this.closable?" "+_.closable:"")},this.headline?a(c,null,a("div",{class:_.headline},a("p",null,this.headline),a("gov-button",{size:"s",wcagLabel:this.accessibleToggleLabel,type:"base",variant:r,inverse:o,"on-gov-click":()=>this.toggleContent=!this.toggleContent},a("gov-icon",{name:this.toggleContent?"chevron-up":"chevron-down"}))),a("div",{hidden:!this.toggleContent,"aria-hidden":v(this.toggleContent)},a("slot",null))):a("slot",null))),this.closable&&i)}onCloseHandler(o){this.govClose.emit({component:_.root,ref:this.host,originalEvent:o})}async validateWcag(){if(this.closable){g(this.accessibleCloseLabel,"wcag-close-label",_.root)}if(this.headline){g(this.accessibleToggleLabel,"wcag-toggle-label",_.root)}}get host(){return i(this)}static get watchers(){return{variant:["validateVariant"]}}};p.style=m;export{p as gov_infobar};
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=p-fc3d4a73.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["InfobarVariants","pick","Variants","InfobarClass","root","section","icon","content","closable","headline","close","govInfobarCss","GovInfobarStyle0","GovInfobar","constructor","hostRef","undefined","this","h","govHost","host","validateVariant","newValue","validateProp","componentWillLoad","variant","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","inverse","closeButton","key","class","size","wcagLabel","accessibleCloseLabel","type","onCloseHandler","bind","name","Host","classes","role","hasSlot","Fragment","accessibleToggleLabel","toggleContent","hidden","toBoolAttr","e","govClose","emit","component","ref","originalEvent","validateWcagProp"],"sources":["../../../packages/core/src/components/gov-infobar/constants.ts","../../../packages/core/src/components/gov-infobar/gov-infobar.scss?tag=gov-infobar","../../../packages/core/src/components/gov-infobar/gov-infobar.tsx"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const InfobarVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type VariantType = `${ValueOf<typeof InfobarVariants>}`\n\nexport const InfobarClass = {\n\troot: 'gov-infobar',\n\tsection: 'gov-infobar__section',\n\ticon: 'gov-infobar__icon',\n\tcontent: 'gov-infobar__content',\n\tclosable: 'gov-infobar__content--closable',\n\theadline: 'gov-infobar__headline',\n\tclose: 'gov-infobar__close',\n}\n","/*\n * Infobar\n */\n\n$class: \".gov-infobar\";\n\n#{$class} {\n\t@include base();\n\n\t&__section {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tpadding: rem-calc(16);\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 auto;\n\n\t\t& > * {\n\t\t\twidth: rem-calc(20);\n\t\t\theight: rem-calc(20);\n\t\t}\n\t}\n\n\t&__headline {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\n\t\t+ div {\n\t\t\tmargin-top: rem-calc(8);\n\t\t}\n\n\t\tp {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\tgov-button {\n\t\t\tmargin-top: rem-calc(-4);\n\t\t}\n\t}\n\n\t&__content {\n\t\t@include reset-last-margin();\n\t\twidth: 100%;\n\n\t\t&--closable {\n\t\t\tpadding-right: rem-calc(56);\n\t\t}\n\n\t\tp {\n\t\t\t@include typography($font-size-m);\n\t\t}\n\n\t\ta {\n\t\t\tcolor: inherit;\n\t\t\t@include hover() {\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t\t.gov-icon {\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__close {\n\t\tposition: absolute;\n\t\ttop: rem-calc(14);\n\t\tright: rem-calc(16);\n\t}\n\n\t// VARIANTS\n\t@each $variant, $definitions in $infobar-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\tbackground-color: get(\"bg-color\", $definitions);\n\n\t\t\t#{$class} {\n\t\t\t\t&__icon {\n\t\t\t\t\tcolor: get(\"icon-color\", $definitions);\n\t\t\t\t}\n\n\t\t\t\t&__content {\n\t\t\t\t\tcolor: get(\"text-color\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@if deep-map-check($definitions, \"border\") {\n\t\t\t\tborder-bottom: $infobar-border;\n\t\t\t}\n\n\t\t\t// STATES\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tborder-bottom: $infobar-border;\n\t\t\t\tbackground-color: $infobar-inverse-bg;\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__icon {\n\t\t\t\t\t\tcolor: get(\"bg-color\", $definitions);\n\t\t\t\t\t}\n\n\t\t\t\t\t&__content {\n\t\t\t\t\t\tcolor: $infobar-inverse-color;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from '@stencil/core'\nimport {govHost, toBoolAttr} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport Fragment from '../../helpers/Fragment'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {validateWcagProp} from '../../helpers/Validate/wcag'\nimport {delay} from '../../utils/utils'\nimport {ButtonEvent} from '../gov-button/button/gov-button.types'\nimport {InfobarClass, InfobarVariants, VariantType} from './constants'\nimport {InfobarEvent} from './gov-infobar.types'\n\n@Component({\n\ttag: 'gov-infobar',\n\tstyleUrl: 'gov-infobar.scss',\n})\nexport class GovInfobar {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovInfobarElement\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly headline: string\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant: VariantType = 'primary'\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly role: HTMLElement['role'] = undefined\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 * Aria label for the closing button. It is mandatory if the infobar is closable\n\t */\n\t@Prop({attribute: 'wcag-close-label'}) readonly accessibleCloseLabel: string = 'Zavřít informační lištu'\n\t/**\n\t * Aria label for the toggle button. It is mandatory if the infobar has headline\n\t */\n\t@Prop({attribute: 'wcag-toggle-label'}) readonly accessibleToggleLabel: string = 'Zobrazit více informací'\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: 'gov-close'}) govClose: EventEmitter<InfobarEvent>\n\t/**\n\t * Displays the option to close the infobar\n\t */\n\t@Prop() readonly closable?: boolean = false\n\n\t@State() toggleContent = false\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(InfobarVariants, newValue, InfobarClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\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\trender() {\n\t\tlet inverse = !this.inverse\n\t\tlet variant = this.inverse ? 'secondary' : this.variant\n\n\t\tif (this.variant == 'warning') {\n\t\t\tinverse = false\n\t\t\tvariant = 'secondary'\n\t\t}\n\n\t\tconst closeButton = (\n\t\t\t<div class={InfobarClass.close}>\n\t\t\t\t<gov-button size=\"s\" wcagLabel={this.accessibleCloseLabel} type=\"base\" variant={variant} inverse={inverse}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}>\n\t\t\t\t\t<gov-icon name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</div>\n\t\t)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(InfobarClass.root)} variant={this.variant}>\n\t\t\t\t<section class={InfobarClass.section} role={this.role}>\n\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t<div class={InfobarClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={InfobarClass.content + (this.closable ? ' ' + InfobarClass.closable : '')}>\n\t\t\t\t\t\t{this.headline ? (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t<div class={InfobarClass.headline}>\n\t\t\t\t\t\t\t\t\t<p>{this.headline}</p>\n\t\t\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\t\t\tsize=\"s\"\n\t\t\t\t\t\t\t\t\t\twcagLabel={this.accessibleToggleLabel}\n\t\t\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\t\t\tvariant={variant}\n\t\t\t\t\t\t\t\t\t\tinverse={inverse}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => (this.toggleContent = !this.toggleContent)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<gov-icon name={this.toggleContent ? 'chevron-up' : 'chevron-down'}></gov-icon>\n\t\t\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div hidden={!this.toggleContent} aria-hidden={toBoolAttr(this.toggleContent)}>\n\t\t\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<slot/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</section>\n\t\t\t\t{this.closable && closeButton}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tonCloseHandler(e: CustomEvent<ButtonEvent>) {\n\t\tthis.govClose.emit({\n\t\t\tcomponent: InfobarClass.root,\n\t\t\tref: this.host,\n\t\t\toriginalEvent: e,\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\tif (this.closable) {\n\t\t\tvalidateWcagProp(this.accessibleCloseLabel, 'wcag-close-label', InfobarClass.root)\n\t\t}\n\t\tif (this.headline) {\n\t\t\tvalidateWcagProp(this.accessibleToggleLabel, 'wcag-toggle-label', InfobarClass.root)\n\t\t}\n\t}\n}\n"],"mappings":"0XAIO,MAAMA,EAAkBC,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,YAGpF,MAAMC,EAAe,CAC3BC,KAAM,cACNC,QAAS,uBACTC,KAAM,oBACNC,QAAS,uBACTC,SAAU,iCACVC,SAAU,wBACVC,MAAO,sBCdR,MAAMC,EAAgB,uiOACtB,MAAAC,EAAeD,E,MCeFE,EAAU,MAGtB,WAAAC,CAAAC,G,mFAawC,U,UAIKC,U,aAIT,M,oBAIqC,0B,qBAIE,0B,cAQrC,M,mBAEb,MAtCxBC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAyCvB,eAAAC,CAAgBC,GACfC,EAAavB,EAAiBsB,EAAUnB,EAAaC,K,CAGtD,iBAAAoB,GACCP,KAAKI,gBAAgBJ,KAAKQ,Q,CAG3B,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNX,KAAKY,c,EAIb,MAAAC,GACC,IAAIC,GAAWd,KAAKc,QACpB,IAAIN,EAAUR,KAAKc,QAAU,YAAcd,KAAKQ,QAEhD,GAAIR,KAAKQ,SAAW,UAAW,CAC9BM,EAAU,MACVN,EAAU,W,CAGX,MAAMO,EACLd,EAAA,OAAAe,IAAA,2CAAKC,MAAO/B,EAAaO,OACxBQ,EAAA,cAAAe,IAAA,2CAAYE,KAAK,IAAIC,UAAWnB,KAAKoB,eAAgBC,KAAK,OAAOb,QAASA,EAASM,QAASA,EAAO,eAC/Ed,KAAKsB,eAAeC,KAAKvB,OAC5CC,EAAA,YAAAe,IAAA,2CAAUQ,KAAK,WAKlB,OACCvB,EAACwB,EAAI,CAAAT,IAAA,2CAACC,MAAOjB,KAAKC,EAAEyB,QAAQxC,EAAaC,MAAOqB,QAASR,KAAKQ,SAC7DP,EAAA,WAAAe,IAAA,2CAASC,MAAO/B,EAAaE,QAASuC,KAAM3B,KAAK2B,MAC/C3B,KAAKC,EAAE2B,QAAQ,SACf3B,EAAA,OAAAe,IAAA,2CAAKC,MAAO/B,EAAaG,MACxBY,EAAA,QAAAe,IAAA,2CAAMQ,KAAK,UAGbvB,EAAA,OAAAe,IAAA,2CAAKC,MAAO/B,EAAaI,SAAWU,KAAKT,SAAW,IAAML,EAAaK,SAAW,KAChFS,KAAKR,SACLS,EAAC4B,EAAQ,KACR5B,EAAA,OAAKgB,MAAO/B,EAAaM,UACxBS,EAAA,SAAID,KAAKR,UACTS,EAAA,cACCiB,KAAK,IACLC,UAAWnB,KAAK8B,gBAChBT,KAAK,OACLb,QAASA,EACTM,QAASA,EAAO,eACF,IAAOd,KAAK+B,eAAiB/B,KAAK+B,eAEhD9B,EAAA,YAAUuB,KAAMxB,KAAK+B,cAAgB,aAAe,mBAGtD9B,EAAA,OAAK+B,QAAShC,KAAK+B,cAAa,cAAeE,EAAWjC,KAAK+B,gBAC9D9B,EAAA,eAIFA,EAAA,eAIFD,KAAKT,UAAYwB,E,CAKrB,cAAAO,CAAeY,GACdlC,KAAKmC,SAASC,KAAK,CAClBC,UAAWnD,EAAaC,KACxBmD,IAAKtC,KAAKG,KACVoC,cAAeL,G,CAQjB,kBAAMtB,GACL,GAAIZ,KAAKT,SAAU,CAClBiD,EAAiBxC,KAAKoB,eAAgB,mBAAoBlC,EAAaC,K,CAExE,GAAIa,KAAKR,SAAU,CAClBgD,EAAiBxC,KAAK8B,gBAAiB,oBAAqB5C,EAAaC,K","ignoreList":[]}
|
package/dist/core/p-fdead70e.js
DELETED
|
@@ -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,n as a,a as b};
|
|
2
|
-
//# sourceMappingURL=p-fdead70e.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,24 +0,0 @@
|
|
|
1
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
2
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
3
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
4
|
-
|
|
5
|
-
const WizardVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS']);
|
|
6
|
-
const WizardSizes = pick(Sizes, ['_XS', '_S', '_M']);
|
|
7
|
-
const WizardClass = {
|
|
8
|
-
root: 'gov-wizard',
|
|
9
|
-
};
|
|
10
|
-
const WizardItemClass = {
|
|
11
|
-
root: 'gov-wizard-item',
|
|
12
|
-
header: 'gov-wizard-item__header',
|
|
13
|
-
arrow: 'gov-wizard-item__arrow',
|
|
14
|
-
title: 'gov-wizard-item__title',
|
|
15
|
-
name: 'gov-wizard-item__name',
|
|
16
|
-
label: 'gov-wizard-item__label',
|
|
17
|
-
annot: 'gov-wizard-item__annot',
|
|
18
|
-
prefix: 'gov-wizard-item__prefix',
|
|
19
|
-
content: 'gov-wizard-item__content',
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export { WizardItemClass as W, WizardClass as a, WizardSizes as b, WizardVariants as c };
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=constants-0014bc7f.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-0014bc7f.js","mappings":";;;;MAKa,cAAc,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;MAGxF,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,EAAC;MAG9C,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;EAClB;MAEY,eAAe,GAAG;IAC9B,IAAI,EAAE,iBAAiB;IACvB,MAAM,EAAE,yBAAyB;IACjC,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,uBAAuB;IAC7B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,yBAAyB;IACjC,OAAO,EAAE,0BAA0B;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-wizard/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 WizardVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type WizardVariantsType = `${ValueOf<typeof WizardVariants>}`\n\nexport const WizardSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type WizardSizesType = `${ValueOf<typeof WizardSizes>}`\n\nexport const WizardClass = {\n\troot: 'gov-wizard',\n}\n\nexport const WizardItemClass = {\n\troot: 'gov-wizard-item',\n\theader: 'gov-wizard-item__header',\n\tarrow: 'gov-wizard-item__arrow',\n\ttitle: 'gov-wizard-item__title',\n\tname: 'gov-wizard-item__name',\n\tlabel: 'gov-wizard-item__label',\n\tannot: 'gov-wizard-item__annot',\n\tprefix: 'gov-wizard-item__prefix',\n\tcontent: 'gov-wizard-item__content',\n}\n"],"version":3}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
2
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
3
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
4
|
-
|
|
5
|
-
const StepperVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS']);
|
|
6
|
-
const StepperSizes = pick(Sizes, ['_XS', '_S', '_M']);
|
|
7
|
-
const StepperClass = {
|
|
8
|
-
root: 'gov-stepper',
|
|
9
|
-
};
|
|
10
|
-
const StepperItemClass = {
|
|
11
|
-
root: 'gov-stepper-item',
|
|
12
|
-
rootWithAnnot: 'gov-stepper-item gov-stepper-item--w-annot',
|
|
13
|
-
header: 'gov-stepper-item__header',
|
|
14
|
-
title: 'gov-stepper-item__title',
|
|
15
|
-
label: 'gov-stepper-item__label',
|
|
16
|
-
name: 'gov-stepper-item__name',
|
|
17
|
-
annot: 'gov-stepper-item__annot',
|
|
18
|
-
prefix: 'gov-stepper-item__prefix',
|
|
19
|
-
content: 'gov-stepper-item__content',
|
|
20
|
-
suffix: 'gov-stepper-item__suffix',
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { StepperItemClass as S, StepperClass as a, StepperSizes as b, StepperVariants as c };
|
|
24
|
-
|
|
25
|
-
//# sourceMappingURL=constants-122ac484.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-122ac484.js","mappings":";;;;MAKa,eAAe,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;MAGzF,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,EAAC;MAG/C,YAAY,GAAG;IAC3B,IAAI,EAAE,aAAa;EACnB;MAEY,gBAAgB,GAAG;IAC/B,IAAI,EAAE,kBAAkB;IACxB,aAAa,EAAE,4CAA4C;IAC3D,MAAM,EAAE,0BAA0B;IAClC,KAAK,EAAE,yBAAyB;IAChC,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,wBAAwB;IAC9B,KAAK,EAAE,yBAAyB;IAChC,MAAM,EAAE,0BAA0B;IAClC,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,0BAA0B;;;;;","names":[],"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"],"version":3}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
2
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
3
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
4
|
-
|
|
5
|
-
const TooltipVariant = pick(Variants, ['PRIMARY', 'SECONDARY']);
|
|
6
|
-
const TooltipSize = pick(Sizes, ['_S', '_M', '_L']);
|
|
7
|
-
var TooltipPosition;
|
|
8
|
-
(function (TooltipPosition) {
|
|
9
|
-
TooltipPosition["TOP"] = "top";
|
|
10
|
-
TooltipPosition["RIGHT"] = "right";
|
|
11
|
-
TooltipPosition["BOTTOM"] = "bottom";
|
|
12
|
-
TooltipPosition["LEFT"] = "left";
|
|
13
|
-
})(TooltipPosition || (TooltipPosition = {}));
|
|
14
|
-
const TooltipClass = {
|
|
15
|
-
root: 'gov-tooltip',
|
|
16
|
-
};
|
|
17
|
-
const TooltipContentClass = {
|
|
18
|
-
root: 'gov-tooltip-content',
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { TooltipVariant as T, TooltipSize as a, TooltipContentClass as b, TooltipPosition as c, TooltipClass as d };
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=constants-14f351fd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-14f351fd.js","mappings":";;;;MAKa,cAAc,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,EAAC;MAGzD,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAC;IAG9C;AAAZ,WAAY,eAAe;IAC1B,8BAAW,CAAA;IACX,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,gCAAa,CAAA;AACd,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;MAGY,YAAY,GAAG;IAC3B,IAAI,EAAE,aAAa;EACnB;MAEY,mBAAmB,GAAG;IAClC,IAAI,EAAE,qBAAqB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-tooltip/constants.tsx"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { Sizes } from '../../core/constants/sizes'\nimport { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils'\n\nexport const TooltipVariant = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type TooltipVariantType = `${ValueOf<typeof TooltipVariant>}`\n\nexport const TooltipSize = pick(Sizes, ['_S', '_M', '_L'])\nexport type TooltipSizeType = `${ValueOf<typeof TooltipSize>}`\n\nexport enum TooltipPosition {\n\tTOP = 'top',\n\tRIGHT = 'right',\n\tBOTTOM = 'bottom',\n\tLEFT = 'left',\n}\nexport type TooltipPositionType = `${ValueOf<typeof TooltipPosition>}`\n\nexport const TooltipClass = {\n\troot: 'gov-tooltip',\n}\n\nexport const TooltipContentClass = {\n\troot: 'gov-tooltip-content',\n}\n"],"version":3}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const SideNavClass = {
|
|
2
|
-
root: 'gov-side-nav',
|
|
3
|
-
aside: 'gov-side-nav__aside',
|
|
4
|
-
};
|
|
5
|
-
const SideNavItemClass = {
|
|
6
|
-
root: 'gov-side-nav-item',
|
|
7
|
-
rootWithIcon: 'gov-side-nav-item--w-icon',
|
|
8
|
-
header: 'gov-side-nav-item__header',
|
|
9
|
-
icon: 'gov-side-nav-item__icon',
|
|
10
|
-
name: 'gov-side-nav-item__name',
|
|
11
|
-
label: 'gov-side-nav-item__label',
|
|
12
|
-
arrow: 'gov-side-nav-item__arrow',
|
|
13
|
-
chip: 'gov-side-nav-item__chip',
|
|
14
|
-
content: 'gov-side-nav-item__content',
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { SideNavItemClass as S, SideNavClass as a };
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=constants-1998bac1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-1998bac1.js","mappings":"MAAa,YAAY,GAAG;IAC3B,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,qBAAqB;EAC5B;MAEY,gBAAgB,GAAG;IAC/B,IAAI,EAAE,mBAAmB;IACzB,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE,2BAA2B;IACnC,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE,yBAAyB;IAC/B,KAAK,EAAE,0BAA0B;IACjC,KAAK,EAAE,0BAA0B;IACjC,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,4BAA4B;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-side-nav/constants.ts"],"sourcesContent":["export const SideNavClass = {\n\troot: 'gov-side-nav',\n\taside: 'gov-side-nav__aside',\n}\n\nexport const SideNavItemClass = {\n\troot: 'gov-side-nav-item',\n\trootWithIcon: 'gov-side-nav-item--w-icon',\n\theader: 'gov-side-nav-item__header',\n\ticon: 'gov-side-nav-item__icon',\n\tname: 'gov-side-nav-item__name',\n\tlabel: 'gov-side-nav-item__label',\n\tarrow: 'gov-side-nav-item__arrow',\n\tchip: 'gov-side-nav-item__chip',\n\tcontent: 'gov-side-nav-item__content',\n}\n"],"version":3}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
2
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
3
|
-
|
|
4
|
-
pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
5
|
-
const FormLabelClass = {
|
|
6
|
-
root: 'gov-form-label',
|
|
7
|
-
label: 'gov-form-label__label',
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export { FormLabelClass as F };
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=constants-43f10674.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-43f10674.js","mappings":";;;AAI8B,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAC;MAG9D,cAAc,GAAG;IAC7B,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,uBAAuB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/label/constants.ts"],"sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Sizes } from \"../../../core/constants/sizes\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const FormLabelSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type FormLabelSizesTypes = `${ValueOf<typeof FormLabelSizes>}`\n\nexport const FormLabelClass = {\n\troot: 'gov-form-label',\n\tlabel: 'gov-form-label__label',\n}\n"],"version":3}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
2
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
3
|
-
|
|
4
|
-
const FormGroupSizes = pick(Sizes, ['_2XS', '_XS', '_S', '_M', '_L']);
|
|
5
|
-
var FormGroupOrientation;
|
|
6
|
-
(function (FormGroupOrientation) {
|
|
7
|
-
FormGroupOrientation["HORIZONTAL"] = "horizontal";
|
|
8
|
-
FormGroupOrientation["VERTICAL"] = "vertical";
|
|
9
|
-
})(FormGroupOrientation || (FormGroupOrientation = {}));
|
|
10
|
-
const FormGroupClass = {
|
|
11
|
-
root: 'gov-form-group',
|
|
12
|
-
};
|
|
13
|
-
const FormRadioGroupClass = {
|
|
14
|
-
root: 'gov-form-radio-group',
|
|
15
|
-
};
|
|
16
|
-
const FormCheckboxGroupClass = {
|
|
17
|
-
root: 'gov-form-checkbox-group',
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { FormCheckboxGroupClass as F, FormGroupClass as a, FormGroupSizes as b, FormGroupOrientation as c, FormRadioGroupClass as d };
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=constants-4da2b3c0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-4da2b3c0.js","mappings":";;;MAIa,cAAc,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAC;IAGhE;AAAZ,WAAY,oBAAoB;IAC/B,iDAAyB,CAAA;IACzB,6CAAqB,CAAA;AACtB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B;MAGY,cAAc,GAAG;IAC7B,IAAI,EAAE,gBAAgB;EACtB;MAEY,mBAAmB,GAAG;IAClC,IAAI,EAAE,sBAAsB;EAC5B;MAEY,sBAAsB,GAAG;IACrC,IAAI,EAAE,yBAAyB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/group/constants.ts"],"sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Sizes } from \"../../../core/constants/sizes\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const FormGroupSizes = pick(Sizes, ['_2XS', '_XS', '_S', '_M', '_L'])\nexport type FormGroupSizesType = `${ValueOf<typeof FormGroupSizes>}`\n\nexport enum FormGroupOrientation {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\nexport type FormGroupOrientationType = `${ValueOf<typeof FormGroupOrientation>}`\n\nexport const FormGroupClass = {\n\troot: 'gov-form-group',\n}\n\nexport const FormRadioGroupClass = {\n\troot: 'gov-form-radio-group',\n}\n\nexport const FormCheckboxGroupClass = {\n\troot: 'gov-form-checkbox-group',\n}\n"],"version":3}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
2
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
3
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
4
|
-
|
|
5
|
-
const AccordionSizes = pick(Sizes, ['_XS', '_S', '_M', '_L']);
|
|
6
|
-
const AccordionVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'CUSTOM']);
|
|
7
|
-
const AccordionClass = {
|
|
8
|
-
root: 'gov-accordion',
|
|
9
|
-
};
|
|
10
|
-
const AccordionItemClass = {
|
|
11
|
-
root: 'gov-accordion-item',
|
|
12
|
-
header: 'gov-accordion-item__header',
|
|
13
|
-
icon: 'gov-accordion-item__icon',
|
|
14
|
-
title: 'gov-accordion-item__title',
|
|
15
|
-
label: 'gov-accordion-item__label',
|
|
16
|
-
annotation: 'gov-accordion-item__annotation',
|
|
17
|
-
suffix: 'gov-accordion-item__suffix',
|
|
18
|
-
right: 'gov-accordion-item__right',
|
|
19
|
-
arrow: 'gov-accordion-item__arrow',
|
|
20
|
-
content: 'gov-accordion-item__content',
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { AccordionItemClass as A, AccordionClass as a, AccordionSizes as b, AccordionVariants as c };
|
|
24
|
-
|
|
25
|
-
//# sourceMappingURL=constants-66db9786.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-66db9786.js","mappings":";;;;MAKa,cAAc,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAC;MAGvD,iBAAiB,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAC;MAGtE,cAAc,GAAG;IAC7B,IAAI,EAAE,eAAe;EACrB;MAEY,kBAAkB,GAAG;IACjC,IAAI,EAAE,oBAAoB;IAC1B,MAAM,EAAE,4BAA4B;IACpC,IAAI,EAAE,0BAA0B;IAChC,KAAK,EAAE,2BAA2B;IAClC,KAAK,EAAE,2BAA2B;IAClC,UAAU,EAAE,gCAAgC;IAC5C,MAAM,EAAE,4BAA4B;IACpC,KAAK,EAAE,2BAA2B;IAClC,KAAK,EAAE,2BAA2B;IAClC,OAAO,EAAE,6BAA6B;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-accordion/constants.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 AccordionSizes = pick(Sizes, ['_XS', '_S', '_M', '_L'])\nexport type AccordionSizeType = `${ValueOf<typeof AccordionSizes>}`\n\nexport const AccordionVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'CUSTOM'])\nexport type AccordionVariantType = `${ValueOf<typeof AccordionVariants>}`\n\nexport const AccordionClass = {\n\troot: 'gov-accordion',\n}\n\nexport const AccordionItemClass = {\n\troot: 'gov-accordion-item',\n\theader: 'gov-accordion-item__header',\n\ticon: 'gov-accordion-item__icon',\n\ttitle: 'gov-accordion-item__title',\n\tlabel: 'gov-accordion-item__label',\n\tannotation: 'gov-accordion-item__annotation',\n\tsuffix: 'gov-accordion-item__suffix',\n\tright: 'gov-accordion-item__right',\n\tarrow: 'gov-accordion-item__arrow',\n\tcontent: 'gov-accordion-item__content',\n}\n"],"version":3}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
2
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
3
|
-
|
|
4
|
-
const FormMessageVariants = pick(Variants, ['SECONDARY', 'SUCCESS', 'ERROR', 'WARNING']);
|
|
5
|
-
const FormMessageClass = {
|
|
6
|
-
root: 'gov-form-message',
|
|
7
|
-
content: 'gov-form-message__content',
|
|
8
|
-
icon: 'gov-form-message__icon',
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { FormMessageClass as F, FormMessageVariants as a };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=constants-78d0d7ff.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-78d0d7ff.js","mappings":";;;MAIa,mBAAmB,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;MAGlF,gBAAgB,GAAG;IAC/B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,2BAA2B;IACpC,IAAI,EAAE,wBAAwB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-form/message/constants.ts"],"sourcesContent":["import { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const FormMessageVariants = pick(Variants, ['SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type FormMessageVariantType = `${ValueOf<typeof FormMessageVariants>}`\n\nexport const FormMessageClass = {\n\troot: 'gov-form-message',\n\tcontent: 'gov-form-message__content',\n\ticon: 'gov-form-message__icon',\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-a2828485.js","mappings":"MAAa,QAAQ,GAAG;IACvB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,cAAc;EACnB;MAEY,YAAY,GAAG;IAC3B,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,oBAAoB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-nav/constants.ts"],"sourcesContent":["export const NavClass = {\n\troot: 'gov-nav',\n\tnav: 'gov-nav__nav',\n}\n\nexport const NavItemClass = {\n\troot: 'gov-nav-item',\n\tlink: 'gov-nav-item__link',\n}\n"],"version":3}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
2
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
3
|
-
|
|
4
|
-
const TabVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING']);
|
|
5
|
-
var TabTypes;
|
|
6
|
-
(function (TabTypes) {
|
|
7
|
-
TabTypes["TEXT"] = "text";
|
|
8
|
-
TabTypes["CHIP"] = "chip";
|
|
9
|
-
})(TabTypes || (TabTypes = {}));
|
|
10
|
-
var TabOrientation;
|
|
11
|
-
(function (TabOrientation) {
|
|
12
|
-
TabOrientation["HORIZONTAL"] = "horizontal";
|
|
13
|
-
TabOrientation["VERTICAL"] = "vertical";
|
|
14
|
-
})(TabOrientation || (TabOrientation = {}));
|
|
15
|
-
const TabsClass = {
|
|
16
|
-
root: 'gov-tabs',
|
|
17
|
-
tabs: 'gov-tabs__tabs',
|
|
18
|
-
list: 'gov-tabs__list',
|
|
19
|
-
item: 'gov-tabs__item',
|
|
20
|
-
btn: 'gov-tabs__btn',
|
|
21
|
-
};
|
|
22
|
-
const TabsItemClass = {
|
|
23
|
-
root: 'gov-tabs-item',
|
|
24
|
-
inner: 'gov-tabs-item__inner',
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export { TabsItemClass as T, TabsClass as a, TabTypes as b, TabVariants as c };
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=constants-a5fadb10.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-a5fadb10.js","mappings":";;;MAIa,WAAW,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,EAAC;IAGtF;AAAZ,WAAY,QAAQ;IACnB,yBAAa,CAAA;IACb,yBAAa,CAAA;AACd,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAID,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;AACtB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;MAIY,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,gBAAgB;IACtB,GAAG,EAAE,eAAe;EACpB;MAEY,aAAa,GAAG;IAC5B,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,sBAAsB;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-tabs/constants.ts"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const TabVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING'])\nexport type VariantType = `${ValueOf<typeof TabVariants>}`\n\nexport enum TabTypes {\n\tTEXT = 'text',\n\tCHIP = 'chip',\n}\n\nexport type TabType = `${ValueOf<typeof TabTypes>}`\n\nexport enum TabOrientation {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\n\nexport type TabOrientationType = `${ValueOf<typeof TabOrientation>}`\n\nexport const TabsClass = {\n\troot: 'gov-tabs',\n\ttabs: 'gov-tabs__tabs',\n\tlist: 'gov-tabs__list',\n\titem: 'gov-tabs__item',\n\tbtn: 'gov-tabs__btn',\n}\n\nexport const TabsItemClass = {\n\troot: 'gov-tabs-item',\n\tinner: 'gov-tabs-item__inner',\n}\n"],"version":3}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const ModalClass = {
|
|
2
|
-
root: 'gov-modal',
|
|
3
|
-
rootPrompt: 'gov-modal gov-modal--prompt',
|
|
4
|
-
dialog: 'gov-modal__dialog',
|
|
5
|
-
inner: 'gov-modal__inner',
|
|
6
|
-
header: 'gov-modal__header',
|
|
7
|
-
icon: 'gov-modal__icon',
|
|
8
|
-
title: 'gov-modal__title',
|
|
9
|
-
content: 'gov-modal__content',
|
|
10
|
-
close: 'gov-modal__close',
|
|
11
|
-
footer: 'gov-modal__footer',
|
|
12
|
-
actions: 'gov-modal__actions',
|
|
13
|
-
bodyFix: 'body-fixed',
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export { ModalClass as M };
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=constants-f63d2d63.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"constants-f63d2d63.js","mappings":"MAAa,UAAU,GAAG;IACzB,IAAI,EAAE,WAAW;IACjB,UAAU,EAAE,6BAA6B;IACzC,MAAM,EAAE,mBAAmB;IAC3B,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,kBAAkB;IACzB,OAAO,EAAE,oBAAoB;IAC7B,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,YAAY;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-modal/constants.ts"],"sourcesContent":["export const ModalClass = {\n\troot: 'gov-modal',\n\trootPrompt: 'gov-modal gov-modal--prompt',\n\tdialog: 'gov-modal__dialog',\n\tinner: 'gov-modal__inner',\n\theader: 'gov-modal__header',\n\ticon: 'gov-modal__icon',\n\ttitle: 'gov-modal__title',\n\tcontent: 'gov-modal__content',\n\tclose: 'gov-modal__close',\n\tfooter: 'gov-modal__footer',\n\tactions: 'gov-modal__actions',\n\tbodyFix: 'body-fixed',\n}\n"],"version":3}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { S as Sizes } from './sizes-5b9e579f.js';
|
|
2
|
-
import { V as Variants } from './variants-69f013c1.js';
|
|
3
|
-
import { p as pick } from './utils-e10e994d.js';
|
|
4
|
-
|
|
5
|
-
const ButtonSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
6
|
-
const ButtonVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'SUCCESS', 'ERROR', 'WARNING']);
|
|
7
|
-
var Type;
|
|
8
|
-
(function (Type) {
|
|
9
|
-
Type["SOLID"] = "solid";
|
|
10
|
-
Type["OUTLINED"] = "outlined";
|
|
11
|
-
Type["BASE"] = "base";
|
|
12
|
-
Type["LINK"] = "link";
|
|
13
|
-
})(Type || (Type = {}));
|
|
14
|
-
var NativeType;
|
|
15
|
-
(function (NativeType) {
|
|
16
|
-
NativeType["SUBMIT"] = "submit";
|
|
17
|
-
NativeType["BUTTON"] = "button";
|
|
18
|
-
NativeType["RESET"] = "reset";
|
|
19
|
-
})(NativeType || (NativeType = {}));
|
|
20
|
-
var ButtonTarget;
|
|
21
|
-
(function (ButtonTarget) {
|
|
22
|
-
ButtonTarget["BLANK"] = "_blank";
|
|
23
|
-
ButtonTarget["SELF"] = "_self";
|
|
24
|
-
ButtonTarget["NEW"] = "_new";
|
|
25
|
-
})(ButtonTarget || (ButtonTarget = {}));
|
|
26
|
-
const ButtonClass = {
|
|
27
|
-
root: 'gov-button',
|
|
28
|
-
rootWithIcon: 'gov-button--w-icon',
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export { ButtonClass as B, NativeType as N, Type as T, ButtonSizes as a, ButtonVariants as b };
|
|
32
|
-
|
|
33
|
-
//# sourceMappingURL=constants-f6ecfd4e.js.map
|