@gov-design-system-ce/components 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Fragment-52846f79.js +7 -0
- package/dist/cjs/Fragment-52846f79.js.map +1 -0
- package/dist/cjs/constants-0488d137.js +22 -0
- package/dist/cjs/constants-0488d137.js.map +1 -0
- package/dist/cjs/constants-0883e74c.js +30 -0
- package/dist/cjs/constants-0883e74c.js.map +1 -0
- package/dist/cjs/constants-0c6c8e11.js +30 -0
- package/dist/cjs/constants-0c6c8e11.js.map +1 -0
- package/dist/cjs/constants-1490a5eb.js +25 -0
- package/dist/cjs/constants-1490a5eb.js.map +1 -0
- package/dist/cjs/constants-20b3f7ee.js +28 -0
- package/dist/cjs/constants-20b3f7ee.js.map +1 -0
- package/dist/cjs/constants-21559414.js +29 -0
- package/dist/cjs/constants-21559414.js.map +1 -0
- package/dist/cjs/constants-23b7a283.js +33 -0
- package/dist/cjs/constants-23b7a283.js.map +1 -0
- package/dist/cjs/constants-2b1c31b8.js +15 -0
- package/dist/cjs/constants-2b1c31b8.js.map +1 -0
- package/dist/cjs/constants-61f8be34.js +26 -0
- package/dist/cjs/constants-61f8be34.js.map +1 -0
- package/dist/cjs/constants-86fb4eb4.js +19 -0
- package/dist/cjs/constants-86fb4eb4.js.map +1 -0
- package/dist/cjs/constants-97eea364.js +14 -0
- package/dist/cjs/constants-97eea364.js.map +1 -0
- package/dist/cjs/constants-adc8268f.js +37 -0
- package/dist/cjs/constants-adc8268f.js.map +1 -0
- package/dist/cjs/constants-caad94b4.js +16 -0
- package/dist/cjs/constants-caad94b4.js.map +1 -0
- package/dist/cjs/constants-ded92f8a.js +13 -0
- package/dist/cjs/constants-ded92f8a.js.map +1 -0
- package/dist/cjs/constants-e47694c4.js +19 -0
- package/dist/cjs/constants-e47694c4.js.map +1 -0
- package/dist/cjs/constants-e8760a84.js +20 -0
- package/dist/cjs/constants-e8760a84.js.map +1 -0
- package/dist/cjs/core.cjs.js +21 -0
- package/dist/cjs/core.cjs.js.map +1 -0
- package/dist/cjs/form-9b8b1740.js +150 -0
- package/dist/cjs/form-9b8b1740.js.map +1 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js +125 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-accordion.cjs.entry.js +77 -0
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-alert.cjs.entry.js +90 -0
- package/dist/cjs/gov-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-app.cjs.entry.js +8439 -0
- package/dist/cjs/gov-app.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-attachments_3.cjs.entry.js +120 -0
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-backdrop.cjs.entry.js +50 -0
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-badge.cjs.entry.js +84 -0
- package/dist/cjs/gov-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +50 -0
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-button.cjs.entry.js +169 -0
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-card.cjs.entry.js +112 -0
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-container.cjs.entry.js +36 -0
- package/dist/cjs/gov-container.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-cookiebar.cjs.entry.js +33 -0
- package/dist/cjs/gov-cookiebar.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-empty.cjs.entry.js +31 -0
- package/dist/cjs/gov-empty.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-error-code.cjs.entry.js +31 -0
- package/dist/cjs/gov-error-code.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +216 -0
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +122 -0
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-control.cjs.entry.js +100 -0
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-file.cjs.entry.js +217 -0
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-group.cjs.entry.js +43 -0
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-input.cjs.entry.js +176 -0
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-label.cjs.entry.js +30 -0
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +204 -0
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-password-power.cjs.entry.js +28 -0
- package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-radio.cjs.entry.js +122 -0
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-search.cjs.entry.js +28 -0
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-select.cjs.entry.js +136 -0
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-switch.cjs.entry.js +122 -0
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-grid-item.cjs.entry.js +30 -0
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-grid.cjs.entry.js +28 -0
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-icon.cjs.entry.js +126 -0
- package/dist/cjs/gov-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-layout-column.cjs.entry.js +25 -0
- package/dist/cjs/gov-layout-column.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-layout.cjs.entry.js +34 -0
- package/dist/cjs/gov-layout.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-loading.cjs.entry.js +31 -0
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-message.cjs.entry.js +43 -0
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-modal.cjs.entry.js +103 -0
- package/dist/cjs/gov-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-nav-item.cjs.entry.js +37 -0
- package/dist/cjs/gov-nav-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-nav.cjs.entry.js +42 -0
- package/dist/cjs/gov-nav.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-pagination.cjs.entry.js +217 -0
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-prompt.cjs.entry.js +103 -0
- package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +85 -0
- package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-side-nav.cjs.entry.js +56 -0
- package/dist/cjs/gov-side-nav.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-skeleton.cjs.entry.js +117 -0
- package/dist/cjs/gov-skeleton.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-spacer.cjs.entry.js +57 -0
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +39 -0
- package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-statsbar.cjs.entry.js +52 -0
- package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-stepper-item.cjs.entry.js +77 -0
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-stepper.cjs.entry.js +50 -0
- package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tabs-item.cjs.entry.js +53 -0
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tabs.cjs.entry.js +189 -0
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tile.cjs.entry.js +50 -0
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tiles.cjs.entry.js +33 -0
- package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-toast.cjs.entry.js +103 -0
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +42 -0
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tooltip.cjs.entry.js +158 -0
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-wizzard-item.cjs.entry.js +110 -0
- package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-wizzard.cjs.entry.js +67 -0
- package/dist/cjs/gov-wizzard.cjs.entry.js.map +1 -0
- package/dist/cjs/gov.log-0c9dca27.js +20 -0
- package/dist/cjs/gov.log-0c9dca27.js.map +1 -0
- package/dist/cjs/index-29ac07f6.js +2325 -0
- package/dist/cjs/index-29ac07f6.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +23 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/props-5f82e4c0.js +16 -0
- package/dist/cjs/props-5f82e4c0.js.map +1 -0
- package/dist/cjs/sizes-79872c2a.js +18 -0
- package/dist/cjs/sizes-79872c2a.js.map +1 -0
- package/dist/cjs/string.utils-0f08c48c.js +24 -0
- package/dist/cjs/string.utils-0f08c48c.js.map +1 -0
- package/dist/cjs/template-e1c4ff78.js +121 -0
- package/dist/cjs/template-e1c4ff78.js.map +1 -0
- package/dist/cjs/utils-c9b1bba3.js +41 -0
- package/dist/cjs/utils-c9b1bba3.js.map +1 -0
- package/dist/cjs/variants-f5ffeef3.js +18 -0
- package/dist/cjs/variants-f5ffeef3.js.map +1 -0
- package/dist/cjs/wcag-6efc0ab7.js +67 -0
- package/dist/cjs/wcag-6efc0ab7.js.map +1 -0
- package/dist/cjs/win-84bda0aa.js +26 -0
- package/dist/cjs/win-84bda0aa.js.map +1 -0
- package/dist/collection/collection-manifest.json +69 -0
- package/dist/collection/components/gov-accordion/constants.js +21 -0
- package/dist/collection/components/gov-accordion/constants.js.map +1 -0
- package/dist/collection/components/gov-accordion/gov-accordion-item.css +484 -0
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +398 -0
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -0
- package/dist/collection/components/gov-accordion/gov-accordion.css +231 -0
- package/dist/collection/components/gov-accordion/gov-accordion.js +222 -0
- package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -0
- package/dist/collection/components/gov-accordion/gov-accordion.types.js +2 -0
- package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +1 -0
- package/dist/collection/components/gov-alert/constants.js +12 -0
- package/dist/collection/components/gov-alert/constants.js.map +1 -0
- package/dist/collection/components/gov-alert/gov-alert.css +392 -0
- package/dist/collection/components/gov-alert/gov-alert.js +241 -0
- package/dist/collection/components/gov-alert/gov-alert.js.map +1 -0
- package/dist/collection/components/gov-alert/gov-alert.types.js +2 -0
- package/dist/collection/components/gov-alert/gov-alert.types.js.map +1 -0
- package/dist/collection/components/gov-app/gov-app.css +240 -0
- package/dist/collection/components/gov-app/gov-app.js +95 -0
- package/dist/collection/components/gov-app/gov-app.js.map +1 -0
- package/dist/collection/components/gov-attachments/constants.js +12 -0
- package/dist/collection/components/gov-attachments/constants.js.map +1 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +252 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +2 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +1 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +121 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -0
- package/dist/collection/components/gov-attachments/gov-attachments.css +238 -0
- package/dist/collection/components/gov-attachments/gov-attachments.js +99 -0
- package/dist/collection/components/gov-attachments/gov-attachments.js.map +1 -0
- package/dist/collection/components/gov-backdrop/constants.js +5 -0
- package/dist/collection/components/gov-backdrop/constants.js.map +1 -0
- package/dist/collection/components/gov-backdrop/gov-backdrop.css +237 -0
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +140 -0
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -0
- package/dist/collection/components/gov-badge/constants.js +13 -0
- package/dist/collection/components/gov-badge/constants.js.map +1 -0
- package/dist/collection/components/gov-badge/gov-badge.css +1206 -0
- package/dist/collection/components/gov-badge/gov-badge.js +284 -0
- package/dist/collection/components/gov-badge/gov-badge.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/constants.js +4 -0
- package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +270 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +2 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +160 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -0
- package/dist/collection/components/gov-button/constants.js +29 -0
- package/dist/collection/components/gov-button/constants.js.map +1 -0
- package/dist/collection/components/gov-button/gov-button.css +1140 -0
- package/dist/collection/components/gov-button/gov-button.js +811 -0
- package/dist/collection/components/gov-button/gov-button.js.map +1 -0
- package/dist/collection/components/gov-button/gov-button.types.js +2 -0
- package/dist/collection/components/gov-button/gov-button.types.js.map +1 -0
- package/dist/collection/components/gov-card/constants.js +14 -0
- package/dist/collection/components/gov-card/constants.js.map +1 -0
- package/dist/collection/components/gov-card/gov-card.css +368 -0
- package/dist/collection/components/gov-card/gov-card.js +307 -0
- package/dist/collection/components/gov-card/gov-card.js.map +1 -0
- package/dist/collection/components/gov-card/interfaces.js +2 -0
- package/dist/collection/components/gov-card/interfaces.js.map +1 -0
- package/dist/collection/components/gov-container/constants.js +4 -0
- package/dist/collection/components/gov-container/constants.js.map +1 -0
- package/dist/collection/components/gov-container/gov-container.css +238 -0
- package/dist/collection/components/gov-container/gov-container.js +58 -0
- package/dist/collection/components/gov-container/gov-container.js.map +1 -0
- package/dist/collection/components/gov-cookiebar/constants.js +9 -0
- package/dist/collection/components/gov-cookiebar/constants.js.map +1 -0
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +280 -0
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +24 -0
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +1 -0
- package/dist/collection/components/gov-empty/constants.js +7 -0
- package/dist/collection/components/gov-empty/constants.js.map +1 -0
- package/dist/collection/components/gov-empty/gov-empty.css +246 -0
- package/dist/collection/components/gov-empty/gov-empty.js +24 -0
- package/dist/collection/components/gov-empty/gov-empty.js.map +1 -0
- package/dist/collection/components/gov-error-code/constants.js +7 -0
- package/dist/collection/components/gov-error-code/constants.js.map +1 -0
- package/dist/collection/components/gov-error-code/gov-error-code.css +261 -0
- package/dist/collection/components/gov-error-code/gov-error-code.js +24 -0
- package/dist/collection/components/gov-error-code/gov-error-code.js.map +1 -0
- package/dist/collection/components/gov-form/autocomplete/constants.js +11 -0
- package/dist/collection/components/gov-form/autocomplete/constants.js.map +1 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +273 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +702 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +2 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +1 -0
- package/dist/collection/components/gov-form/checkbox/constants.js +8 -0
- package/dist/collection/components/gov-form/checkbox/constants.js.map +1 -0
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +389 -0
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +418 -0
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -0
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +2 -0
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +1 -0
- package/dist/collection/components/gov-form/control/constants.js +9 -0
- package/dist/collection/components/gov-form/control/constants.js.map +1 -0
- package/dist/collection/components/gov-form/control/gov-form-control.css +282 -0
- package/dist/collection/components/gov-form/control/gov-form-control.js +234 -0
- package/dist/collection/components/gov-form/control/gov-form-control.js.map +1 -0
- package/dist/collection/components/gov-form/file/constants.js +10 -0
- package/dist/collection/components/gov-form/file/constants.js.map +1 -0
- package/dist/collection/components/gov-form/file/gov-form-file.css +285 -0
- package/dist/collection/components/gov-form/file/gov-form-file.js +625 -0
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -0
- package/dist/collection/components/gov-form/file/gov-form-file.types.js +2 -0
- package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +1 -0
- package/dist/collection/components/gov-form/group/constants.js +7 -0
- package/dist/collection/components/gov-form/group/constants.js.map +1 -0
- package/dist/collection/components/gov-form/group/gov-form-group.css +245 -0
- package/dist/collection/components/gov-form/group/gov-form-group.js +65 -0
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -0
- package/dist/collection/components/gov-form/input/constants.js +29 -0
- package/dist/collection/components/gov-form/input/constants.js.map +1 -0
- package/dist/collection/components/gov-form/input/gov-form-input.css +454 -0
- package/dist/collection/components/gov-form/input/gov-form-input.js +849 -0
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -0
- package/dist/collection/components/gov-form/input/gov-form-input.types.js +2 -0
- package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +1 -0
- package/dist/collection/components/gov-form/label/constants.js +8 -0
- package/dist/collection/components/gov-form/label/constants.js.map +1 -0
- package/dist/collection/components/gov-form/label/gov-form-label.css +234 -0
- package/dist/collection/components/gov-form/label/gov-form-label.js +128 -0
- package/dist/collection/components/gov-form/label/gov-form-label.js.map +1 -0
- package/dist/collection/components/gov-form/message/constants.js +9 -0
- package/dist/collection/components/gov-form/message/constants.js.map +1 -0
- package/dist/collection/components/gov-form/message/gov-form-message.css +253 -0
- package/dist/collection/components/gov-form/message/gov-form-message.js +93 -0
- package/dist/collection/components/gov-form/message/gov-form-message.js.map +1 -0
- package/dist/collection/components/gov-form/multiselect/constants.js +12 -0
- package/dist/collection/components/gov-form/multiselect/constants.js.map +1 -0
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +514 -0
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +557 -0
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -0
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +2 -0
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -0
- package/dist/collection/components/gov-form/password-power/constants.js +6 -0
- package/dist/collection/components/gov-form/password-power/constants.js.map +1 -0
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +265 -0
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +43 -0
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -0
- package/dist/collection/components/gov-form/radio/constants.js +10 -0
- package/dist/collection/components/gov-form/radio/constants.js.map +1 -0
- package/dist/collection/components/gov-form/radio/gov-form-radio.css +388 -0
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +418 -0
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -0
- package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +2 -0
- package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +1 -0
- package/dist/collection/components/gov-form/search/constants.js +6 -0
- package/dist/collection/components/gov-form/search/constants.js.map +1 -0
- package/dist/collection/components/gov-form/search/gov-form-search.css +260 -0
- package/dist/collection/components/gov-form/search/gov-form-search.js +20 -0
- package/dist/collection/components/gov-form/search/gov-form-search.js.map +1 -0
- package/dist/collection/components/gov-form/select/constants.js +10 -0
- package/dist/collection/components/gov-form/select/constants.js.map +1 -0
- package/dist/collection/components/gov-form/select/gov-form-select.css +473 -0
- package/dist/collection/components/gov-form/select/gov-form-select.js +516 -0
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -0
- package/dist/collection/components/gov-form/select/gov-form-select.types.js +2 -0
- package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -0
- package/dist/collection/components/gov-form/switch/constants.js +10 -0
- package/dist/collection/components/gov-form/switch/constants.js.map +1 -0
- package/dist/collection/components/gov-form/switch/gov-form-switch.css +395 -0
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +418 -0
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -0
- package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +2 -0
- package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +1 -0
- package/dist/collection/components/gov-grid/constants.js +7 -0
- package/dist/collection/components/gov-grid/constants.js.map +1 -0
- package/dist/collection/components/gov-grid/gov-grid-item.css +472 -0
- package/dist/collection/components/gov-grid/gov-grid-item.js +119 -0
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -0
- package/dist/collection/components/gov-grid/gov-grid.css +247 -0
- package/dist/collection/components/gov-grid/gov-grid.js +65 -0
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -0
- package/dist/collection/components/gov-icon/constants.js +11 -0
- package/dist/collection/components/gov-icon/constants.js.map +1 -0
- package/dist/collection/components/gov-icon/gov-icon.css +232 -0
- package/dist/collection/components/gov-icon/gov-icon.js +135 -0
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -0
- package/dist/collection/components/gov-icon/list.js +242 -0
- package/dist/collection/components/gov-icon/list.js.map +1 -0
- package/dist/collection/components/gov-layout/constants.js +19 -0
- package/dist/collection/components/gov-layout/constants.js.map +1 -0
- package/dist/collection/components/gov-layout/gov-layout-column.css +228 -0
- package/dist/collection/components/gov-layout/gov-layout-column.js +24 -0
- package/dist/collection/components/gov-layout/gov-layout-column.js.map +1 -0
- package/dist/collection/components/gov-layout/gov-layout.css +273 -0
- package/dist/collection/components/gov-layout/gov-layout.js +100 -0
- package/dist/collection/components/gov-layout/gov-layout.js.map +1 -0
- package/dist/collection/components/gov-loading/loading/constants.js +6 -0
- package/dist/collection/components/gov-loading/loading/constants.js.map +1 -0
- package/dist/collection/components/gov-loading/loading/gov-loading.css +251 -0
- package/dist/collection/components/gov-loading/loading/gov-loading.js +47 -0
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -0
- package/dist/collection/components/gov-loading/skeleton/constants.js +20 -0
- package/dist/collection/components/gov-loading/skeleton/constants.js.map +1 -0
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +291 -0
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +267 -0
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -0
- package/dist/collection/components/gov-message/constants.js +10 -0
- package/dist/collection/components/gov-message/constants.js.map +1 -0
- package/dist/collection/components/gov-message/gov-message.css +310 -0
- package/dist/collection/components/gov-message/gov-message.js +63 -0
- package/dist/collection/components/gov-message/gov-message.js.map +1 -0
- package/dist/collection/components/gov-modal/constants.js +14 -0
- package/dist/collection/components/gov-modal/constants.js.map +1 -0
- package/dist/collection/components/gov-modal/gov-modal.css +335 -0
- package/dist/collection/components/gov-modal/gov-modal.js +324 -0
- package/dist/collection/components/gov-modal/gov-modal.js.map +1 -0
- package/dist/collection/components/gov-nav/constants.js +9 -0
- package/dist/collection/components/gov-nav/constants.js.map +1 -0
- package/dist/collection/components/gov-nav/gov-nav-item.css +279 -0
- package/dist/collection/components/gov-nav/gov-nav-item.js +68 -0
- package/dist/collection/components/gov-nav/gov-nav-item.js.map +1 -0
- package/dist/collection/components/gov-nav/gov-nav.css +245 -0
- package/dist/collection/components/gov-nav/gov-nav.js +97 -0
- package/dist/collection/components/gov-nav/gov-nav.js.map +1 -0
- package/dist/collection/components/gov-pagination/constants.js +21 -0
- package/dist/collection/components/gov-pagination/constants.js.map +1 -0
- package/dist/collection/components/gov-pagination/gov-pagination.css +385 -0
- package/dist/collection/components/gov-pagination/gov-pagination.js +439 -0
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -0
- package/dist/collection/components/gov-pagination/gov-pagination.types.js +2 -0
- package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +1 -0
- package/dist/collection/components/gov-pagination/pagination.js +55 -0
- package/dist/collection/components/gov-pagination/pagination.js.map +1 -0
- package/dist/collection/components/gov-promp/constants.js +13 -0
- package/dist/collection/components/gov-promp/constants.js.map +1 -0
- package/dist/collection/components/gov-promp/gov-prompt.css +338 -0
- package/dist/collection/components/gov-promp/gov-prompt.js +324 -0
- package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -0
- package/dist/collection/components/gov-side-nav/constants.js +16 -0
- package/dist/collection/components/gov-side-nav/constants.js.map +1 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +375 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +2 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +1 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +331 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav.css +228 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav.js +169 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +1 -0
- package/dist/collection/components/gov-spacer/constants.js +15 -0
- package/dist/collection/components/gov-spacer/constants.js.map +1 -0
- package/dist/collection/components/gov-spacer/gov-spacer.css +293 -0
- package/dist/collection/components/gov-spacer/gov-spacer.js +95 -0
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -0
- package/dist/collection/components/gov-statsbar/constants.js +18 -0
- package/dist/collection/components/gov-statsbar/constants.js.map +1 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +287 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +65 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +1 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar.css +272 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +102 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -0
- package/dist/collection/components/gov-stepper/constants.js +21 -0
- package/dist/collection/components/gov-stepper/constants.js.map +1 -0
- package/dist/collection/components/gov-stepper/gov-stepper-item.css +450 -0
- package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +2 -0
- package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +1 -0
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +246 -0
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +1 -0
- package/dist/collection/components/gov-stepper/gov-stepper.css +228 -0
- package/dist/collection/components/gov-stepper/gov-stepper.js +97 -0
- package/dist/collection/components/gov-stepper/gov-stepper.js.map +1 -0
- package/dist/collection/components/gov-tabs/constants.js +25 -0
- package/dist/collection/components/gov-tabs/constants.js.map +1 -0
- package/dist/collection/components/gov-tabs/gov-tabs-item.css +229 -0
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +183 -0
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -0
- package/dist/collection/components/gov-tabs/gov-tabs.css +381 -0
- package/dist/collection/components/gov-tabs/gov-tabs.js +422 -0
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -0
- package/dist/collection/components/gov-tabs/gov-tabs.types.js +2 -0
- package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +1 -0
- package/dist/collection/components/gov-tile/constants.js +10 -0
- package/dist/collection/components/gov-tile/constants.js.map +1 -0
- package/dist/collection/components/gov-tile/container/constants.js +4 -0
- package/dist/collection/components/gov-tile/container/constants.js.map +1 -0
- package/dist/collection/components/gov-tile/container/gov-tiles.css +310 -0
- package/dist/collection/components/gov-tile/container/gov-tiles.js +70 -0
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -0
- package/dist/collection/components/gov-tile/gov-tile.css +326 -0
- package/dist/collection/components/gov-tile/gov-tile.js +99 -0
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -0
- package/dist/collection/components/gov-toast/constants.js +13 -0
- package/dist/collection/components/gov-toast/constants.js.map +1 -0
- package/dist/collection/components/gov-toast/gov-toast.css +394 -0
- package/dist/collection/components/gov-toast/gov-toast.js +267 -0
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -0
- package/dist/collection/components/gov-tooltip/constants.js +19 -0
- package/dist/collection/components/gov-tooltip/constants.js.map +1 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +324 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +63 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip.css +250 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +322 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -0
- package/dist/collection/components/gov-wizzard/constants.js +20 -0
- package/dist/collection/components/gov-wizzard/constants.js.map +1 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +441 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js +2 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.d.js.map +1 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.js +381 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +1 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard.css +231 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard.js +168 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard.js.map +1 -0
- package/dist/collection/core/constants/sizes.js +15 -0
- package/dist/collection/core/constants/sizes.js.map +1 -0
- package/dist/collection/core/constants/tags.js +14 -0
- package/dist/collection/core/constants/tags.js.map +1 -0
- package/dist/collection/core/constants/variants.js +15 -0
- package/dist/collection/core/constants/variants.js.map +1 -0
- package/dist/collection/helpers/Dom/form.js +72 -0
- package/dist/collection/helpers/Dom/form.js.map +1 -0
- package/dist/collection/helpers/Dom/form.types.js +2 -0
- package/dist/collection/helpers/Dom/form.types.js.map +1 -0
- package/dist/collection/helpers/Dom/template.js +110 -0
- package/dist/collection/helpers/Dom/template.js.map +1 -0
- package/dist/collection/helpers/Dom/template.types.js +2 -0
- package/dist/collection/helpers/Dom/template.types.js.map +1 -0
- package/dist/collection/helpers/Dom/win.js +18 -0
- package/dist/collection/helpers/Dom/win.js.map +1 -0
- package/dist/collection/helpers/Fragment.js +2 -0
- package/dist/collection/helpers/Fragment.js.map +1 -0
- package/dist/collection/helpers/Log/gov.log.js +14 -0
- package/dist/collection/helpers/Log/gov.log.js.map +1 -0
- package/dist/collection/helpers/StorybookDocsTemplate.js +9 -0
- package/dist/collection/helpers/StorybookDocsTemplate.js.map +1 -0
- package/dist/collection/helpers/Validate/props.js +10 -0
- package/dist/collection/helpers/Validate/props.js.map +1 -0
- package/dist/collection/helpers/Validate/wcag.js +58 -0
- package/dist/collection/helpers/Validate/wcag.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/pages/Accordion.js +368 -0
- package/dist/collection/pages/Accordion.js.map +1 -0
- package/dist/collection/pages/Alert.js +90 -0
- package/dist/collection/pages/Alert.js.map +1 -0
- package/dist/collection/pages/Badge.js +375 -0
- package/dist/collection/pages/Badge.js.map +1 -0
- package/dist/collection/pages/Breadcrumbs.js +36 -0
- package/dist/collection/pages/Breadcrumbs.js.map +1 -0
- package/dist/collection/pages/Button.js +1277 -0
- package/dist/collection/pages/Button.js.map +1 -0
- package/dist/collection/pages/Card.js +102 -0
- package/dist/collection/pages/Card.js.map +1 -0
- package/dist/collection/pages/Container.js +15 -0
- package/dist/collection/pages/Container.js.map +1 -0
- package/dist/collection/pages/Cookiebar.js +29 -0
- package/dist/collection/pages/Cookiebar.js.map +1 -0
- package/dist/collection/pages/Empty.js +43 -0
- package/dist/collection/pages/Empty.js.map +1 -0
- package/dist/collection/pages/Error.js +16 -0
- package/dist/collection/pages/Error.js.map +1 -0
- package/dist/collection/pages/FormLabel.js +13 -0
- package/dist/collection/pages/FormLabel.js.map +1 -0
- package/dist/collection/pages/FormMessage.js +82 -0
- package/dist/collection/pages/FormMessage.js.map +1 -0
- package/dist/collection/pages/Forms.js +1208 -0
- package/dist/collection/pages/Forms.js.map +1 -0
- package/dist/collection/pages/FormsRestructure.js +13 -0
- package/dist/collection/pages/FormsRestructure.js.map +1 -0
- package/dist/collection/pages/Grid.js +92 -0
- package/dist/collection/pages/Grid.js.map +1 -0
- package/dist/collection/pages/Home.js +9 -0
- package/dist/collection/pages/Home.js.map +1 -0
- package/dist/collection/pages/Layout.js +97 -0
- package/dist/collection/pages/Layout.js.map +1 -0
- package/dist/collection/pages/Loading.js +95 -0
- package/dist/collection/pages/Loading.js.map +1 -0
- package/dist/collection/pages/Message.js +94 -0
- package/dist/collection/pages/Message.js.map +1 -0
- package/dist/collection/pages/Modal.js +57 -0
- package/dist/collection/pages/Modal.js.map +1 -0
- package/dist/collection/pages/Nav.js +30 -0
- package/dist/collection/pages/Nav.js.map +1 -0
- package/dist/collection/pages/Pagination.js +38 -0
- package/dist/collection/pages/Pagination.js.map +1 -0
- package/dist/collection/pages/Prompt.js +48 -0
- package/dist/collection/pages/Prompt.js.map +1 -0
- package/dist/collection/pages/SideNav.js +117 -0
- package/dist/collection/pages/SideNav.js.map +1 -0
- package/dist/collection/pages/Spacer.js +19 -0
- package/dist/collection/pages/Spacer.js.map +1 -0
- package/dist/collection/pages/Statsbar.js +202 -0
- package/dist/collection/pages/Statsbar.js.map +1 -0
- package/dist/collection/pages/Stepper.js +85 -0
- package/dist/collection/pages/Stepper.js.map +1 -0
- package/dist/collection/pages/Tabs.js +323 -0
- package/dist/collection/pages/Tabs.js.map +1 -0
- package/dist/collection/pages/Tiles.js +119 -0
- package/dist/collection/pages/Tiles.js.map +1 -0
- package/dist/collection/pages/ToastMessage.js +47 -0
- package/dist/collection/pages/ToastMessage.js.map +1 -0
- package/dist/collection/pages/ToastMessageCountdown.js +47 -0
- package/dist/collection/pages/ToastMessageCountdown.js.map +1 -0
- package/dist/collection/pages/Tooltip.js +137 -0
- package/dist/collection/pages/Tooltip.js.map +1 -0
- package/dist/collection/pages/Typography.js +75 -0
- package/dist/collection/pages/Typography.js.map +1 -0
- package/dist/collection/pages/Wizzard.js +88 -0
- package/dist/collection/pages/Wizzard.js.map +1 -0
- package/dist/collection/types/event.types.js +2 -0
- package/dist/collection/types/event.types.js.map +1 -0
- package/dist/collection/types/interfaces.js +2 -0
- package/dist/collection/types/interfaces.js.map +1 -0
- package/dist/collection/utils/array.utils.js +7 -0
- package/dist/collection/utils/array.utils.js.map +1 -0
- package/dist/collection/utils/bool.utils.js +15 -0
- package/dist/collection/utils/bool.utils.js.map +1 -0
- package/dist/collection/utils/ds.utils.js +5 -0
- package/dist/collection/utils/ds.utils.js.map +1 -0
- package/dist/collection/utils/file.utils.js +26 -0
- package/dist/collection/utils/file.utils.js.map +1 -0
- package/dist/collection/utils/icon.utils.js +31 -0
- package/dist/collection/utils/icon.utils.js.map +1 -0
- package/dist/collection/utils/number.utils.js +4 -0
- package/dist/collection/utils/number.utils.js.map +1 -0
- package/dist/collection/utils/string.utils.js +17 -0
- package/dist/collection/utils/string.utils.js.map +1 -0
- package/dist/collection/utils/utils.js +35 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/Fragment.js +5 -0
- package/dist/components/Fragment.js.map +1 -0
- package/dist/components/constants.js +25 -0
- package/dist/components/constants.js.map +1 -0
- package/dist/components/constants10.js +19 -0
- package/dist/components/constants10.js.map +1 -0
- package/dist/components/constants11.js +22 -0
- package/dist/components/constants11.js.map +1 -0
- package/dist/components/constants12.js +25 -0
- package/dist/components/constants12.js.map +1 -0
- package/dist/components/constants13.js +29 -0
- package/dist/components/constants13.js.map +1 -0
- package/dist/components/constants14.js +23 -0
- package/dist/components/constants14.js.map +1 -0
- package/dist/components/constants15.js +24 -0
- package/dist/components/constants15.js.map +1 -0
- package/dist/components/constants2.js +15 -0
- package/dist/components/constants2.js.map +1 -0
- package/dist/components/constants3.js +33 -0
- package/dist/components/constants3.js.map +1 -0
- package/dist/components/constants4.js +12 -0
- package/dist/components/constants4.js.map +1 -0
- package/dist/components/constants5.js +13 -0
- package/dist/components/constants5.js.map +1 -0
- package/dist/components/constants6.js +10 -0
- package/dist/components/constants6.js.map +1 -0
- package/dist/components/constants7.js +22 -0
- package/dist/components/constants7.js.map +1 -0
- package/dist/components/constants8.js +17 -0
- package/dist/components/constants8.js.map +1 -0
- package/dist/components/constants9.js +12 -0
- package/dist/components/constants9.js.map +1 -0
- package/dist/components/form.js +150 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/gov-accordion-item.d.ts +11 -0
- package/dist/components/gov-accordion-item.js +156 -0
- package/dist/components/gov-accordion-item.js.map +1 -0
- package/dist/components/gov-accordion.d.ts +11 -0
- package/dist/components/gov-accordion.js +94 -0
- package/dist/components/gov-accordion.js.map +1 -0
- package/dist/components/gov-alert.d.ts +11 -0
- package/dist/components/gov-alert.js +122 -0
- package/dist/components/gov-alert.js.map +1 -0
- package/dist/components/gov-app.d.ts +11 -0
- package/dist/components/gov-app.js +8452 -0
- package/dist/components/gov-app.js.map +1 -0
- package/dist/components/gov-attachments-item.d.ts +11 -0
- package/dist/components/gov-attachments-item.js +8 -0
- package/dist/components/gov-attachments-item.js.map +1 -0
- package/dist/components/gov-attachments-item2.js +69 -0
- package/dist/components/gov-attachments-item2.js.map +1 -0
- package/dist/components/gov-attachments.d.ts +11 -0
- package/dist/components/gov-attachments.js +8 -0
- package/dist/components/gov-attachments.js.map +1 -0
- package/dist/components/gov-attachments2.js +56 -0
- package/dist/components/gov-attachments2.js.map +1 -0
- package/dist/components/gov-backdrop.d.ts +11 -0
- package/dist/components/gov-backdrop.js +8 -0
- package/dist/components/gov-backdrop.js.map +1 -0
- package/dist/components/gov-backdrop2.js +63 -0
- package/dist/components/gov-backdrop2.js.map +1 -0
- package/dist/components/gov-badge.d.ts +11 -0
- package/dist/components/gov-badge.js +8 -0
- package/dist/components/gov-badge.js.map +1 -0
- package/dist/components/gov-badge2.js +100 -0
- package/dist/components/gov-badge2.js.map +1 -0
- package/dist/components/gov-breadcrumbs.d.ts +11 -0
- package/dist/components/gov-breadcrumbs.js +67 -0
- package/dist/components/gov-breadcrumbs.js.map +1 -0
- package/dist/components/gov-button.d.ts +11 -0
- package/dist/components/gov-button.js +8 -0
- package/dist/components/gov-button.js.map +1 -0
- package/dist/components/gov-button2.js +215 -0
- package/dist/components/gov-button2.js.map +1 -0
- package/dist/components/gov-card.d.ts +11 -0
- package/dist/components/gov-card.js +143 -0
- package/dist/components/gov-card.js.map +1 -0
- package/dist/components/gov-container.d.ts +11 -0
- package/dist/components/gov-container.js +51 -0
- package/dist/components/gov-container.js.map +1 -0
- package/dist/components/gov-cookiebar.d.ts +11 -0
- package/dist/components/gov-cookiebar.js +46 -0
- package/dist/components/gov-cookiebar.js.map +1 -0
- package/dist/components/gov-empty.d.ts +11 -0
- package/dist/components/gov-empty.js +44 -0
- package/dist/components/gov-empty.js.map +1 -0
- package/dist/components/gov-error-code.d.ts +11 -0
- package/dist/components/gov-error-code.js +44 -0
- package/dist/components/gov-error-code.js.map +1 -0
- package/dist/components/gov-form-autocomplete.d.ts +11 -0
- package/dist/components/gov-form-autocomplete.js +8 -0
- package/dist/components/gov-form-autocomplete.js.map +1 -0
- package/dist/components/gov-form-autocomplete2.js +261 -0
- package/dist/components/gov-form-autocomplete2.js.map +1 -0
- package/dist/components/gov-form-checkbox.d.ts +11 -0
- package/dist/components/gov-form-checkbox.js +148 -0
- package/dist/components/gov-form-checkbox.js.map +1 -0
- package/dist/components/gov-form-control.d.ts +11 -0
- package/dist/components/gov-form-control.js +114 -0
- package/dist/components/gov-form-control.js.map +1 -0
- package/dist/components/gov-form-file.d.ts +11 -0
- package/dist/components/gov-form-file.js +274 -0
- package/dist/components/gov-form-file.js.map +1 -0
- package/dist/components/gov-form-group.d.ts +11 -0
- package/dist/components/gov-form-group.js +57 -0
- package/dist/components/gov-form-group.js.map +1 -0
- package/dist/components/gov-form-input.d.ts +11 -0
- package/dist/components/gov-form-input.js +8 -0
- package/dist/components/gov-form-input.js.map +1 -0
- package/dist/components/gov-form-input2.js +218 -0
- package/dist/components/gov-form-input2.js.map +1 -0
- package/dist/components/gov-form-label.d.ts +11 -0
- package/dist/components/gov-form-label.js +46 -0
- package/dist/components/gov-form-label.js.map +1 -0
- package/dist/components/gov-form-message.d.ts +11 -0
- package/dist/components/gov-form-message.js +8 -0
- package/dist/components/gov-form-message.js.map +1 -0
- package/dist/components/gov-form-message2.js +57 -0
- package/dist/components/gov-form-message2.js.map +1 -0
- package/dist/components/gov-form-multi-select.d.ts +11 -0
- package/dist/components/gov-form-multi-select.js +257 -0
- package/dist/components/gov-form-multi-select.js.map +1 -0
- package/dist/components/gov-form-password-power.d.ts +11 -0
- package/dist/components/gov-form-password-power.js +43 -0
- package/dist/components/gov-form-password-power.js.map +1 -0
- package/dist/components/gov-form-radio.d.ts +11 -0
- package/dist/components/gov-form-radio.js +142 -0
- package/dist/components/gov-form-radio.js.map +1 -0
- package/dist/components/gov-form-search.d.ts +11 -0
- package/dist/components/gov-form-search.js +41 -0
- package/dist/components/gov-form-search.js.map +1 -0
- package/dist/components/gov-form-select.d.ts +11 -0
- package/dist/components/gov-form-select.js +8 -0
- package/dist/components/gov-form-select.js.map +1 -0
- package/dist/components/gov-form-select2.js +164 -0
- package/dist/components/gov-form-select2.js.map +1 -0
- package/dist/components/gov-form-switch.d.ts +11 -0
- package/dist/components/gov-form-switch.js +142 -0
- package/dist/components/gov-form-switch.js.map +1 -0
- package/dist/components/gov-grid-item.d.ts +11 -0
- package/dist/components/gov-grid-item.js +49 -0
- package/dist/components/gov-grid-item.js.map +1 -0
- package/dist/components/gov-grid.d.ts +11 -0
- package/dist/components/gov-grid.js +44 -0
- package/dist/components/gov-grid.js.map +1 -0
- package/dist/components/gov-icon.d.ts +11 -0
- package/dist/components/gov-icon.js +8 -0
- package/dist/components/gov-icon.js.map +1 -0
- package/dist/components/gov-icon2.js +141 -0
- package/dist/components/gov-icon2.js.map +1 -0
- package/dist/components/gov-layout-column.d.ts +11 -0
- package/dist/components/gov-layout-column.js +38 -0
- package/dist/components/gov-layout-column.js.map +1 -0
- package/dist/components/gov-layout.d.ts +11 -0
- package/dist/components/gov-layout.js +51 -0
- package/dist/components/gov-layout.js.map +1 -0
- package/dist/components/gov-loading.d.ts +11 -0
- package/dist/components/gov-loading.js +58 -0
- package/dist/components/gov-loading.js.map +1 -0
- package/dist/components/gov-message.d.ts +11 -0
- package/dist/components/gov-message.js +57 -0
- package/dist/components/gov-message.js.map +1 -0
- package/dist/components/gov-modal.d.ts +11 -0
- package/dist/components/gov-modal.js +146 -0
- package/dist/components/gov-modal.js.map +1 -0
- package/dist/components/gov-nav-item.d.ts +11 -0
- package/dist/components/gov-nav-item.js +53 -0
- package/dist/components/gov-nav-item.js.map +1 -0
- package/dist/components/gov-nav.d.ts +11 -0
- package/dist/components/gov-nav.js +57 -0
- package/dist/components/gov-nav.js.map +1 -0
- package/dist/components/gov-pagination.d.ts +11 -0
- package/dist/components/gov-pagination.js +263 -0
- package/dist/components/gov-pagination.js.map +1 -0
- package/dist/components/gov-prompt.d.ts +11 -0
- package/dist/components/gov-prompt.js +146 -0
- package/dist/components/gov-prompt.js.map +1 -0
- package/dist/components/gov-side-nav-item.d.ts +11 -0
- package/dist/components/gov-side-nav-item.js +124 -0
- package/dist/components/gov-side-nav-item.js.map +1 -0
- package/dist/components/gov-side-nav.d.ts +11 -0
- package/dist/components/gov-side-nav.js +73 -0
- package/dist/components/gov-side-nav.js.map +1 -0
- package/dist/components/gov-skeleton.d.ts +11 -0
- package/dist/components/gov-skeleton.js +137 -0
- package/dist/components/gov-skeleton.js.map +1 -0
- package/dist/components/gov-spacer.d.ts +11 -0
- package/dist/components/gov-spacer.js +72 -0
- package/dist/components/gov-spacer.js.map +1 -0
- package/dist/components/gov-statsbar-item.d.ts +11 -0
- package/dist/components/gov-statsbar-item.js +51 -0
- package/dist/components/gov-statsbar-item.js.map +1 -0
- package/dist/components/gov-statsbar.d.ts +11 -0
- package/dist/components/gov-statsbar.js +65 -0
- package/dist/components/gov-statsbar.js.map +1 -0
- package/dist/components/gov-stepper-item.d.ts +11 -0
- package/dist/components/gov-stepper-item.js +96 -0
- package/dist/components/gov-stepper-item.js.map +1 -0
- package/dist/components/gov-stepper.d.ts +11 -0
- package/dist/components/gov-stepper.js +61 -0
- package/dist/components/gov-stepper.js.map +1 -0
- package/dist/components/gov-tabs-item.d.ts +11 -0
- package/dist/components/gov-tabs-item.js +73 -0
- package/dist/components/gov-tabs-item.js.map +1 -0
- package/dist/components/gov-tabs.d.ts +11 -0
- package/dist/components/gov-tabs.js +232 -0
- package/dist/components/gov-tabs.js.map +1 -0
- package/dist/components/gov-tile.d.ts +11 -0
- package/dist/components/gov-tile.js +73 -0
- package/dist/components/gov-tile.js.map +1 -0
- package/dist/components/gov-tiles.d.ts +11 -0
- package/dist/components/gov-tiles.js +49 -0
- package/dist/components/gov-tiles.js.map +1 -0
- package/dist/components/gov-toast.d.ts +11 -0
- package/dist/components/gov-toast.js +136 -0
- package/dist/components/gov-toast.js.map +1 -0
- package/dist/components/gov-tooltip-content.d.ts +11 -0
- package/dist/components/gov-tooltip-content.js +54 -0
- package/dist/components/gov-tooltip-content.js.map +1 -0
- package/dist/components/gov-tooltip.d.ts +11 -0
- package/dist/components/gov-tooltip.js +176 -0
- package/dist/components/gov-tooltip.js.map +1 -0
- package/dist/components/gov-wizzard-item.d.ts +11 -0
- package/dist/components/gov-wizzard-item.js +141 -0
- package/dist/components/gov-wizzard-item.js.map +1 -0
- package/dist/components/gov-wizzard.d.ts +11 -0
- package/dist/components/gov-wizzard.js +81 -0
- package/dist/components/gov-wizzard.js.map +1 -0
- package/dist/components/gov.log.js +17 -0
- package/dist/components/gov.log.js.map +1 -0
- package/dist/components/index.d.ts +79 -0
- package/dist/components/index.js +61 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/props.js +14 -0
- package/dist/components/props.js.map +1 -0
- package/dist/components/sizes.js +18 -0
- package/dist/components/sizes.js.map +1 -0
- package/dist/components/string.utils.js +20 -0
- package/dist/components/string.utils.js.map +1 -0
- package/dist/components/template.js +113 -0
- package/dist/components/template.js.map +1 -0
- package/dist/components/utils.js +35 -0
- package/dist/components/utils.js.map +1 -0
- package/dist/components/variants.js +18 -0
- package/dist/components/variants.js.map +1 -0
- package/dist/components/wcag.js +62 -0
- package/dist/components/wcag.js.map +1 -0
- package/dist/components/win.js +22 -0
- package/dist/components/win.js.map +1 -0
- package/dist/core/core.css +1 -0
- package/dist/core/core.esm.js +2 -0
- package/dist/core/core.esm.js.map +1 -0
- package/dist/core/critical.css +480 -0
- package/dist/core/index.esm.js +2 -0
- package/dist/core/index.esm.js.map +1 -0
- package/dist/core/p-005bfb42.entry.js +2 -0
- package/dist/core/p-005bfb42.entry.js.map +1 -0
- package/dist/core/p-034c40ab.entry.js +2 -0
- package/dist/core/p-034c40ab.entry.js.map +1 -0
- package/dist/core/p-03990da5.js +2 -0
- package/dist/core/p-03990da5.js.map +1 -0
- package/dist/core/p-042d5b20.entry.js +2 -0
- package/dist/core/p-042d5b20.entry.js.map +1 -0
- package/dist/core/p-0f0564e8.entry.js +2 -0
- package/dist/core/p-0f0564e8.entry.js.map +1 -0
- package/dist/core/p-1020a160.js +2 -0
- package/dist/core/p-1020a160.js.map +1 -0
- package/dist/core/p-1065b347.entry.js +2 -0
- package/dist/core/p-1065b347.entry.js.map +1 -0
- package/dist/core/p-1ba7bd9f.entry.js +2 -0
- package/dist/core/p-1ba7bd9f.entry.js.map +1 -0
- package/dist/core/p-1c1d0bbe.js +2 -0
- package/dist/core/p-1c1d0bbe.js.map +1 -0
- package/dist/core/p-1def0eb2.entry.js +2 -0
- package/dist/core/p-1def0eb2.entry.js.map +1 -0
- package/dist/core/p-207ba616.entry.js +2 -0
- package/dist/core/p-207ba616.entry.js.map +1 -0
- package/dist/core/p-24636c53.js +2 -0
- package/dist/core/p-24636c53.js.map +1 -0
- package/dist/core/p-26acf964.js +2 -0
- package/dist/core/p-26acf964.js.map +1 -0
- package/dist/core/p-2f88b6d9.entry.js +2 -0
- package/dist/core/p-2f88b6d9.entry.js.map +1 -0
- package/dist/core/p-3464136c.js +2 -0
- package/dist/core/p-3464136c.js.map +1 -0
- package/dist/core/p-354c6a6d.entry.js +2 -0
- package/dist/core/p-354c6a6d.entry.js.map +1 -0
- package/dist/core/p-36be8f6e.js +2 -0
- package/dist/core/p-36be8f6e.js.map +1 -0
- package/dist/core/p-3da88ddb.entry.js +2 -0
- package/dist/core/p-3da88ddb.entry.js.map +1 -0
- package/dist/core/p-3e1a1bd4.entry.js +2 -0
- package/dist/core/p-3e1a1bd4.entry.js.map +1 -0
- package/dist/core/p-3f37ddb6.js +2 -0
- package/dist/core/p-3f37ddb6.js.map +1 -0
- package/dist/core/p-404f469e.js +2 -0
- package/dist/core/p-404f469e.js.map +1 -0
- package/dist/core/p-42636ddf.entry.js +2 -0
- package/dist/core/p-42636ddf.entry.js.map +1 -0
- package/dist/core/p-42db4603.entry.js +2 -0
- package/dist/core/p-42db4603.entry.js.map +1 -0
- package/dist/core/p-45485d1c.js +2 -0
- package/dist/core/p-45485d1c.js.map +1 -0
- package/dist/core/p-4af5e4f4.js +3 -0
- package/dist/core/p-4af5e4f4.js.map +1 -0
- package/dist/core/p-4ce15026.entry.js +2 -0
- package/dist/core/p-4ce15026.entry.js.map +1 -0
- package/dist/core/p-4d257c38.entry.js +2 -0
- package/dist/core/p-4d257c38.entry.js.map +1 -0
- package/dist/core/p-50e94566.entry.js +2 -0
- package/dist/core/p-50e94566.entry.js.map +1 -0
- package/dist/core/p-52dc68aa.entry.js +2 -0
- package/dist/core/p-52dc68aa.entry.js.map +1 -0
- package/dist/core/p-54b17f4d.entry.js +2 -0
- package/dist/core/p-54b17f4d.entry.js.map +1 -0
- package/dist/core/p-55500e5a.js +2 -0
- package/dist/core/p-55500e5a.js.map +1 -0
- package/dist/core/p-561fa17b.js +2 -0
- package/dist/core/p-561fa17b.js.map +1 -0
- package/dist/core/p-5d348765.entry.js +2 -0
- package/dist/core/p-5d348765.entry.js.map +1 -0
- package/dist/core/p-5defdc5e.js +2 -0
- package/dist/core/p-5defdc5e.js.map +1 -0
- package/dist/core/p-5e865538.entry.js +2 -0
- package/dist/core/p-5e865538.entry.js.map +1 -0
- package/dist/core/p-6278531b.js +2 -0
- package/dist/core/p-6278531b.js.map +1 -0
- package/dist/core/p-64ced668.js +2 -0
- package/dist/core/p-64ced668.js.map +1 -0
- package/dist/core/p-67006730.entry.js +2 -0
- package/dist/core/p-67006730.entry.js.map +1 -0
- package/dist/core/p-670b4f93.js +2 -0
- package/dist/core/p-670b4f93.js.map +1 -0
- package/dist/core/p-6aa31f02.entry.js +2 -0
- package/dist/core/p-6aa31f02.entry.js.map +1 -0
- package/dist/core/p-732f74fe.entry.js +2 -0
- package/dist/core/p-732f74fe.entry.js.map +1 -0
- package/dist/core/p-742e37e4.entry.js +2 -0
- package/dist/core/p-742e37e4.entry.js.map +1 -0
- package/dist/core/p-75a4c838.entry.js +2 -0
- package/dist/core/p-75a4c838.entry.js.map +1 -0
- package/dist/core/p-76e2aa52.entry.js +2 -0
- package/dist/core/p-76e2aa52.entry.js.map +1 -0
- package/dist/core/p-7b890c55.entry.js +2 -0
- package/dist/core/p-7b890c55.entry.js.map +1 -0
- package/dist/core/p-7c55677b.entry.js +2 -0
- package/dist/core/p-7c55677b.entry.js.map +1 -0
- package/dist/core/p-80e30702.js +2 -0
- package/dist/core/p-80e30702.js.map +1 -0
- package/dist/core/p-8bebbcc7.entry.js +2 -0
- package/dist/core/p-8bebbcc7.entry.js.map +1 -0
- package/dist/core/p-9144dde1.js +2 -0
- package/dist/core/p-9144dde1.js.map +1 -0
- package/dist/core/p-96a59983.entry.js +2 -0
- package/dist/core/p-96a59983.entry.js.map +1 -0
- package/dist/core/p-9b380ef6.entry.js +2 -0
- package/dist/core/p-9b380ef6.entry.js.map +1 -0
- package/dist/core/p-9cd80b05.js +2 -0
- package/dist/core/p-9cd80b05.js.map +1 -0
- package/dist/core/p-a4d23e73.entry.js +2 -0
- package/dist/core/p-a4d23e73.entry.js.map +1 -0
- package/dist/core/p-a5d69694.js +2 -0
- package/dist/core/p-a5d69694.js.map +1 -0
- package/dist/core/p-a6d14a47.js +2 -0
- package/dist/core/p-a6d14a47.js.map +1 -0
- package/dist/core/p-a89c27c1.entry.js +2 -0
- package/dist/core/p-a89c27c1.entry.js.map +1 -0
- package/dist/core/p-a8ef7292.entry.js +2 -0
- package/dist/core/p-a8ef7292.entry.js.map +1 -0
- package/dist/core/p-a9c57f72.entry.js +2 -0
- package/dist/core/p-a9c57f72.entry.js.map +1 -0
- package/dist/core/p-acfd00a2.entry.js +2 -0
- package/dist/core/p-acfd00a2.entry.js.map +1 -0
- package/dist/core/p-b2275b3d.js +2 -0
- package/dist/core/p-b2275b3d.js.map +1 -0
- package/dist/core/p-b3d9b255.entry.js +2 -0
- package/dist/core/p-b3d9b255.entry.js.map +1 -0
- package/dist/core/p-b3f73e1d.entry.js +2 -0
- package/dist/core/p-b3f73e1d.entry.js.map +1 -0
- package/dist/core/p-b7681cba.entry.js +2 -0
- package/dist/core/p-b7681cba.entry.js.map +1 -0
- package/dist/core/p-bec31703.entry.js +2 -0
- package/dist/core/p-bec31703.entry.js.map +1 -0
- package/dist/core/p-c1c5b496.entry.js +2 -0
- package/dist/core/p-c1c5b496.entry.js.map +1 -0
- package/dist/core/p-c20102ff.js +2 -0
- package/dist/core/p-c20102ff.js.map +1 -0
- package/dist/core/p-c8796c7a.entry.js +2 -0
- package/dist/core/p-c8796c7a.entry.js.map +1 -0
- package/dist/core/p-d389c001.entry.js +2 -0
- package/dist/core/p-d389c001.entry.js.map +1 -0
- package/dist/core/p-d8def432.entry.js +2 -0
- package/dist/core/p-d8def432.entry.js.map +1 -0
- package/dist/core/p-d90a2718.entry.js +2 -0
- package/dist/core/p-d90a2718.entry.js.map +1 -0
- package/dist/core/p-d9b4bc20.entry.js +2 -0
- package/dist/core/p-d9b4bc20.entry.js.map +1 -0
- package/dist/core/p-dc94a1da.entry.js +2 -0
- package/dist/core/p-dc94a1da.entry.js.map +1 -0
- package/dist/core/p-e1e4c8f8.entry.js +2 -0
- package/dist/core/p-e1e4c8f8.entry.js.map +1 -0
- package/dist/core/p-e4bb6100.entry.js +2 -0
- package/dist/core/p-e4bb6100.entry.js.map +1 -0
- package/dist/core/p-e4bb6114.entry.js +2 -0
- package/dist/core/p-e4bb6114.entry.js.map +1 -0
- package/dist/core/p-ebf79ea8.entry.js +2 -0
- package/dist/core/p-ebf79ea8.entry.js.map +1 -0
- package/dist/core/p-edcfb1f7.entry.js +2 -0
- package/dist/core/p-edcfb1f7.entry.js.map +1 -0
- package/dist/core/p-ef79904e.js +2 -0
- package/dist/core/p-ef79904e.js.map +1 -0
- package/dist/core/p-f555fce1.entry.js +2 -0
- package/dist/core/p-f555fce1.entry.js.map +1 -0
- package/dist/core/p-f644cad5.entry.js +2 -0
- package/dist/core/p-f644cad5.entry.js.map +1 -0
- package/dist/core/p-f687452c.js +2 -0
- package/dist/core/p-f687452c.js.map +1 -0
- package/dist/core/p-f7275b59.entry.js +2 -0
- package/dist/core/p-f7275b59.entry.js.map +1 -0
- package/dist/core/p-ff7365ae.js +2 -0
- package/dist/core/p-ff7365ae.js.map +1 -0
- package/dist/core/p-ffb7495c.js +2 -0
- package/dist/core/p-ffb7495c.js.map +1 -0
- package/dist/custom-elements/index.d.ts +387 -0
- package/dist/custom-elements/index.js +2 -0
- package/dist/custom-elements/index.js.map +1 -0
- package/dist/esm/Fragment-8d8d54fb.js +5 -0
- package/dist/esm/Fragment-8d8d54fb.js.map +1 -0
- package/dist/esm/constants-037c35bc.js +22 -0
- package/dist/esm/constants-037c35bc.js.map +1 -0
- package/dist/esm/constants-089b3fdd.js +33 -0
- package/dist/esm/constants-089b3fdd.js.map +1 -0
- package/dist/esm/constants-136d4cd3.js +16 -0
- package/dist/esm/constants-136d4cd3.js.map +1 -0
- package/dist/esm/constants-24dad929.js +29 -0
- package/dist/esm/constants-24dad929.js.map +1 -0
- package/dist/esm/constants-2b14bb01.js +10 -0
- package/dist/esm/constants-2b14bb01.js.map +1 -0
- package/dist/esm/constants-2e8258cf.js +15 -0
- package/dist/esm/constants-2e8258cf.js.map +1 -0
- package/dist/esm/constants-3786b01b.js +22 -0
- package/dist/esm/constants-3786b01b.js.map +1 -0
- package/dist/esm/constants-3df712e2.js +13 -0
- package/dist/esm/constants-3df712e2.js.map +1 -0
- package/dist/esm/constants-78474786.js +25 -0
- package/dist/esm/constants-78474786.js.map +1 -0
- package/dist/esm/constants-ab132d9c.js +25 -0
- package/dist/esm/constants-ab132d9c.js.map +1 -0
- package/dist/esm/constants-ba13b28f.js +17 -0
- package/dist/esm/constants-ba13b28f.js.map +1 -0
- package/dist/esm/constants-bf5a583f.js +24 -0
- package/dist/esm/constants-bf5a583f.js.map +1 -0
- package/dist/esm/constants-d71c09e0.js +12 -0
- package/dist/esm/constants-d71c09e0.js.map +1 -0
- package/dist/esm/constants-ebec7de8.js +12 -0
- package/dist/esm/constants-ebec7de8.js.map +1 -0
- package/dist/esm/constants-f5c21493.js +19 -0
- package/dist/esm/constants-f5c21493.js.map +1 -0
- package/dist/esm/constants-f7b618c2.js +23 -0
- package/dist/esm/constants-f7b618c2.js.map +1 -0
- package/dist/esm/core.js +19 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/form-669a7180.js +135 -0
- package/dist/esm/form-669a7180.js.map +1 -0
- package/dist/esm/gov-accordion-item.entry.js +121 -0
- package/dist/esm/gov-accordion-item.entry.js.map +1 -0
- package/dist/esm/gov-accordion.entry.js +73 -0
- package/dist/esm/gov-accordion.entry.js.map +1 -0
- package/dist/esm/gov-alert.entry.js +86 -0
- package/dist/esm/gov-alert.entry.js.map +1 -0
- package/dist/esm/gov-app.entry.js +8435 -0
- package/dist/esm/gov-app.entry.js.map +1 -0
- package/dist/esm/gov-attachments_3.entry.js +114 -0
- package/dist/esm/gov-attachments_3.entry.js.map +1 -0
- package/dist/esm/gov-backdrop.entry.js +46 -0
- package/dist/esm/gov-backdrop.entry.js.map +1 -0
- package/dist/esm/gov-badge.entry.js +80 -0
- package/dist/esm/gov-badge.entry.js.map +1 -0
- package/dist/esm/gov-breadcrumbs.entry.js +46 -0
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -0
- package/dist/esm/gov-button.entry.js +165 -0
- package/dist/esm/gov-button.entry.js.map +1 -0
- package/dist/esm/gov-card.entry.js +108 -0
- package/dist/esm/gov-card.entry.js.map +1 -0
- package/dist/esm/gov-container.entry.js +32 -0
- package/dist/esm/gov-container.entry.js.map +1 -0
- package/dist/esm/gov-cookiebar.entry.js +29 -0
- package/dist/esm/gov-cookiebar.entry.js.map +1 -0
- package/dist/esm/gov-empty.entry.js +27 -0
- package/dist/esm/gov-empty.entry.js.map +1 -0
- package/dist/esm/gov-error-code.entry.js +27 -0
- package/dist/esm/gov-error-code.entry.js.map +1 -0
- package/dist/esm/gov-form-autocomplete.entry.js +212 -0
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -0
- package/dist/esm/gov-form-checkbox.entry.js +118 -0
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -0
- package/dist/esm/gov-form-control.entry.js +96 -0
- package/dist/esm/gov-form-control.entry.js.map +1 -0
- package/dist/esm/gov-form-file.entry.js +213 -0
- package/dist/esm/gov-form-file.entry.js.map +1 -0
- package/dist/esm/gov-form-group.entry.js +39 -0
- package/dist/esm/gov-form-group.entry.js.map +1 -0
- package/dist/esm/gov-form-input.entry.js +172 -0
- package/dist/esm/gov-form-input.entry.js.map +1 -0
- package/dist/esm/gov-form-label.entry.js +26 -0
- package/dist/esm/gov-form-label.entry.js.map +1 -0
- package/dist/esm/gov-form-multi-select.entry.js +200 -0
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -0
- package/dist/esm/gov-form-password-power.entry.js +24 -0
- package/dist/esm/gov-form-password-power.entry.js.map +1 -0
- package/dist/esm/gov-form-radio.entry.js +118 -0
- package/dist/esm/gov-form-radio.entry.js.map +1 -0
- package/dist/esm/gov-form-search.entry.js +24 -0
- package/dist/esm/gov-form-search.entry.js.map +1 -0
- package/dist/esm/gov-form-select.entry.js +132 -0
- package/dist/esm/gov-form-select.entry.js.map +1 -0
- package/dist/esm/gov-form-switch.entry.js +118 -0
- package/dist/esm/gov-form-switch.entry.js.map +1 -0
- package/dist/esm/gov-grid-item.entry.js +26 -0
- package/dist/esm/gov-grid-item.entry.js.map +1 -0
- package/dist/esm/gov-grid.entry.js +24 -0
- package/dist/esm/gov-grid.entry.js.map +1 -0
- package/dist/esm/gov-icon.entry.js +122 -0
- package/dist/esm/gov-icon.entry.js.map +1 -0
- package/dist/esm/gov-layout-column.entry.js +21 -0
- package/dist/esm/gov-layout-column.entry.js.map +1 -0
- package/dist/esm/gov-layout.entry.js +30 -0
- package/dist/esm/gov-layout.entry.js.map +1 -0
- package/dist/esm/gov-loading.entry.js +27 -0
- package/dist/esm/gov-loading.entry.js.map +1 -0
- package/dist/esm/gov-message.entry.js +39 -0
- package/dist/esm/gov-message.entry.js.map +1 -0
- package/dist/esm/gov-modal.entry.js +99 -0
- package/dist/esm/gov-modal.entry.js.map +1 -0
- package/dist/esm/gov-nav-item.entry.js +33 -0
- package/dist/esm/gov-nav-item.entry.js.map +1 -0
- package/dist/esm/gov-nav.entry.js +38 -0
- package/dist/esm/gov-nav.entry.js.map +1 -0
- package/dist/esm/gov-pagination.entry.js +213 -0
- package/dist/esm/gov-pagination.entry.js.map +1 -0
- package/dist/esm/gov-prompt.entry.js +99 -0
- package/dist/esm/gov-prompt.entry.js.map +1 -0
- package/dist/esm/gov-side-nav-item.entry.js +81 -0
- package/dist/esm/gov-side-nav-item.entry.js.map +1 -0
- package/dist/esm/gov-side-nav.entry.js +52 -0
- package/dist/esm/gov-side-nav.entry.js.map +1 -0
- package/dist/esm/gov-skeleton.entry.js +113 -0
- package/dist/esm/gov-skeleton.entry.js.map +1 -0
- package/dist/esm/gov-spacer.entry.js +53 -0
- package/dist/esm/gov-spacer.entry.js.map +1 -0
- package/dist/esm/gov-statsbar-item.entry.js +35 -0
- package/dist/esm/gov-statsbar-item.entry.js.map +1 -0
- package/dist/esm/gov-statsbar.entry.js +48 -0
- package/dist/esm/gov-statsbar.entry.js.map +1 -0
- package/dist/esm/gov-stepper-item.entry.js +73 -0
- package/dist/esm/gov-stepper-item.entry.js.map +1 -0
- package/dist/esm/gov-stepper.entry.js +46 -0
- package/dist/esm/gov-stepper.entry.js.map +1 -0
- package/dist/esm/gov-tabs-item.entry.js +49 -0
- package/dist/esm/gov-tabs-item.entry.js.map +1 -0
- package/dist/esm/gov-tabs.entry.js +185 -0
- package/dist/esm/gov-tabs.entry.js.map +1 -0
- package/dist/esm/gov-tile.entry.js +46 -0
- package/dist/esm/gov-tile.entry.js.map +1 -0
- package/dist/esm/gov-tiles.entry.js +29 -0
- package/dist/esm/gov-tiles.entry.js.map +1 -0
- package/dist/esm/gov-toast.entry.js +99 -0
- package/dist/esm/gov-toast.entry.js.map +1 -0
- package/dist/esm/gov-tooltip-content.entry.js +38 -0
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -0
- package/dist/esm/gov-tooltip.entry.js +154 -0
- package/dist/esm/gov-tooltip.entry.js.map +1 -0
- package/dist/esm/gov-wizzard-item.entry.js +106 -0
- package/dist/esm/gov-wizzard-item.entry.js.map +1 -0
- package/dist/esm/gov-wizzard.entry.js +63 -0
- package/dist/esm/gov-wizzard.entry.js.map +1 -0
- package/dist/esm/gov.log-af905420.js +17 -0
- package/dist/esm/gov.log-af905420.js.map +1 -0
- package/dist/esm/index-b010bfb4.js +2296 -0
- package/dist/esm/index-b010bfb4.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +19 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/props-789f7529.js +14 -0
- package/dist/esm/props-789f7529.js.map +1 -0
- package/dist/esm/sizes-6c5943b4.js +18 -0
- package/dist/esm/sizes-6c5943b4.js.map +1 -0
- package/dist/esm/string.utils-f268fc6b.js +20 -0
- package/dist/esm/string.utils-f268fc6b.js.map +1 -0
- package/dist/esm/template-10332292.js +113 -0
- package/dist/esm/template-10332292.js.map +1 -0
- package/dist/esm/utils-c057a3fa.js +35 -0
- package/dist/esm/utils-c057a3fa.js.map +1 -0
- package/dist/esm/variants-2b936d58.js +18 -0
- package/dist/esm/variants-2b936d58.js.map +1 -0
- package/dist/esm/wcag-d588d144.js +62 -0
- package/dist/esm/wcag-d588d144.js.map +1 -0
- package/dist/esm/win-9c8460bb.js +22 -0
- package/dist/esm/win-9c8460bb.js.map +1 -0
- package/dist/globals.d.ts +2 -0
- package/dist/hydrate/index.d.ts +217 -0
- package/dist/hydrate/index.js +20393 -0
- package/dist/hydrate/package.json +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.js +68 -0
- package/dist/stencil.config.js.map +1 -0
- package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
- package/dist/types/components/gov-accordion/constants.d.ts +22 -0
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +76 -0
- package/dist/types/components/gov-accordion/gov-accordion.d.ts +42 -0
- package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
- package/dist/types/components/gov-alert/constants.d.ts +12 -0
- package/dist/types/components/gov-alert/gov-alert.d.ts +47 -0
- package/dist/types/components/gov-alert/gov-alert.types.d.ts +4 -0
- package/dist/types/components/gov-app/gov-app.d.ts +38 -0
- package/dist/types/components/gov-attachments/constants.d.ts +11 -0
- package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
- package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
- package/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
- package/dist/types/components/gov-backdrop/constants.d.ts +4 -0
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +28 -0
- package/dist/types/components/gov-badge/constants.d.ts +13 -0
- package/dist/types/components/gov-badge/gov-badge.d.ts +58 -0
- package/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +33 -0
- package/dist/types/components/gov-button/constants.d.ts +30 -0
- package/dist/types/components/gov-button/gov-button.d.ts +168 -0
- package/dist/types/components/gov-button/gov-button.types.d.ts +4 -0
- package/dist/types/components/gov-card/constants.d.ts +13 -0
- package/dist/types/components/gov-card/gov-card.d.ts +60 -0
- package/dist/types/components/gov-card/interfaces.d.ts +4 -0
- package/dist/types/components/gov-container/constants.d.ts +3 -0
- package/dist/types/components/gov-container/gov-container.d.ts +12 -0
- package/dist/types/components/gov-cookiebar/constants.d.ts +8 -0
- package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
- package/dist/types/components/gov-empty/constants.d.ts +6 -0
- package/dist/types/components/gov-empty/gov-empty.d.ts +6 -0
- package/dist/types/components/gov-error-code/constants.d.ts +6 -0
- package/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
- package/dist/types/components/gov-form/autocomplete/constants.d.ts +12 -0
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +134 -0
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
- package/dist/types/components/gov-form/checkbox/constants.d.ts +8 -0
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +85 -0
- package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
- package/dist/types/components/gov-form/control/constants.d.ts +9 -0
- package/dist/types/components/gov-form/control/gov-form-control.d.ts +47 -0
- package/dist/types/components/gov-form/file/constants.d.ts +9 -0
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +122 -0
- package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
- package/dist/types/components/gov-form/group/constants.d.ts +7 -0
- package/dist/types/components/gov-form/group/gov-form-group.d.ts +13 -0
- package/dist/types/components/gov-form/input/constants.d.ts +30 -0
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +171 -0
- package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
- package/dist/types/components/gov-form/label/constants.d.ts +8 -0
- package/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
- package/dist/types/components/gov-form/message/constants.d.ts +9 -0
- package/dist/types/components/gov-form/message/gov-form-message.d.ts +19 -0
- package/dist/types/components/gov-form/multiselect/constants.d.ts +13 -0
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +105 -0
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +8 -0
- package/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
- package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
- package/dist/types/components/gov-form/radio/constants.d.ts +10 -0
- package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +85 -0
- package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
- package/dist/types/components/gov-form/search/constants.d.ts +5 -0
- package/dist/types/components/gov-form/search/gov-form-search.d.ts +4 -0
- package/dist/types/components/gov-form/select/constants.d.ts +11 -0
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +102 -0
- package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +4 -0
- package/dist/types/components/gov-form/switch/constants.d.ts +10 -0
- package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +85 -0
- package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
- package/dist/types/components/gov-grid/constants.d.ts +6 -0
- package/dist/types/components/gov-grid/gov-grid-item.d.ts +26 -0
- package/dist/types/components/gov-grid/gov-grid.d.ts +14 -0
- package/dist/types/components/gov-icon/constants.d.ts +12 -0
- package/dist/types/components/gov-icon/gov-icon.d.ts +24 -0
- package/dist/types/components/gov-icon/list.d.ts +3 -0
- package/dist/types/components/gov-layout/constants.d.ts +20 -0
- package/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
- package/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
- package/dist/types/components/gov-loading/loading/constants.d.ts +5 -0
- package/dist/types/components/gov-loading/loading/gov-loading.d.ts +10 -0
- package/dist/types/components/gov-loading/skeleton/constants.d.ts +20 -0
- package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +52 -0
- package/dist/types/components/gov-message/constants.d.ts +10 -0
- package/dist/types/components/gov-message/gov-message.d.ts +12 -0
- package/dist/types/components/gov-modal/constants.d.ts +13 -0
- package/dist/types/components/gov-modal/gov-modal.d.ts +64 -0
- package/dist/types/components/gov-nav/constants.d.ts +8 -0
- package/dist/types/components/gov-nav/gov-nav-item.d.ts +12 -0
- package/dist/types/components/gov-nav/gov-nav.d.ts +17 -0
- package/dist/types/components/gov-pagination/constants.d.ts +22 -0
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +86 -0
- package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
- package/dist/types/components/gov-pagination/pagination.d.ts +12 -0
- package/dist/types/components/gov-promp/constants.d.ts +12 -0
- package/dist/types/components/gov-promp/gov-prompt.d.ts +64 -0
- package/dist/types/components/gov-side-nav/constants.d.ts +15 -0
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +4 -0
- package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +67 -0
- package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +32 -0
- package/dist/types/components/gov-spacer/constants.d.ts +15 -0
- package/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
- package/dist/types/components/gov-statsbar/constants.d.ts +18 -0
- package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +14 -0
- package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +19 -0
- package/dist/types/components/gov-stepper/constants.d.ts +22 -0
- package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +4 -0
- package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +48 -0
- package/dist/types/components/gov-stepper/gov-stepper.d.ts +20 -0
- package/dist/types/components/gov-tabs/constants.d.ts +25 -0
- package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +37 -0
- package/dist/types/components/gov-tabs/gov-tabs.d.ts +73 -0
- package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +8 -0
- package/dist/types/components/gov-tile/constants.d.ts +9 -0
- package/dist/types/components/gov-tile/container/constants.d.ts +3 -0
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +15 -0
- package/dist/types/components/gov-tile/gov-tile.d.ts +20 -0
- package/dist/types/components/gov-toast/constants.d.ts +14 -0
- package/dist/types/components/gov-toast/gov-toast.d.ts +55 -0
- package/dist/types/components/gov-tooltip/constants.d.ts +20 -0
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +10 -0
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +50 -0
- package/dist/types/components/gov-wizzard/constants.d.ts +21 -0
- package/dist/types/components/gov-wizzard/gov-wizzard-item.d.d.ts +4 -0
- package/dist/types/components/gov-wizzard/gov-wizzard-item.d.ts +73 -0
- package/dist/types/components/gov-wizzard/gov-wizzard.d.ts +33 -0
- package/dist/types/components.d.ts +4061 -0
- package/dist/types/core/constants/sizes.d.ts +13 -0
- package/dist/types/core/constants/tags.d.ts +12 -0
- package/dist/types/core/constants/variants.d.ts +12 -0
- package/dist/types/helpers/Dom/form.d.ts +3 -0
- package/dist/types/helpers/Dom/form.types.d.ts +11 -0
- package/dist/types/helpers/Dom/template.d.ts +10 -0
- package/dist/types/helpers/Dom/template.types.d.ts +12 -0
- package/dist/types/helpers/Dom/win.d.ts +9 -0
- package/dist/types/helpers/Fragment.d.ts +2 -0
- package/dist/types/helpers/Log/gov.log.d.ts +8 -0
- package/dist/types/helpers/StorybookDocsTemplate.d.ts +3 -0
- package/dist/types/helpers/Validate/props.d.ts +1 -0
- package/dist/types/helpers/Validate/wcag.d.ts +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pages/Accordion.d.ts +3 -0
- package/dist/types/pages/Alert.d.ts +3 -0
- package/dist/types/pages/Badge.d.ts +3 -0
- package/dist/types/pages/Breadcrumbs.d.ts +3 -0
- package/dist/types/pages/Button.d.ts +3 -0
- package/dist/types/pages/Card.d.ts +3 -0
- package/dist/types/pages/Container.d.ts +3 -0
- package/dist/types/pages/Cookiebar.d.ts +3 -0
- package/dist/types/pages/Empty.d.ts +3 -0
- package/dist/types/pages/Error.d.ts +3 -0
- package/dist/types/pages/FormLabel.d.ts +3 -0
- package/dist/types/pages/FormMessage.d.ts +3 -0
- package/dist/types/pages/Forms.d.ts +8 -0
- package/dist/types/pages/FormsRestructure.d.ts +3 -0
- package/dist/types/pages/Grid.d.ts +3 -0
- package/dist/types/pages/Home.d.ts +3 -0
- package/dist/types/pages/Layout.d.ts +3 -0
- package/dist/types/pages/Loading.d.ts +3 -0
- package/dist/types/pages/Message.d.ts +3 -0
- package/dist/types/pages/Modal.d.ts +3 -0
- package/dist/types/pages/Nav.d.ts +3 -0
- package/dist/types/pages/Pagination.d.ts +3 -0
- package/dist/types/pages/Prompt.d.ts +3 -0
- package/dist/types/pages/SideNav.d.ts +3 -0
- package/dist/types/pages/Spacer.d.ts +3 -0
- package/dist/types/pages/Statsbar.d.ts +3 -0
- package/dist/types/pages/Stepper.d.ts +3 -0
- package/dist/types/pages/Tabs.d.ts +3 -0
- package/dist/types/pages/Tiles.d.ts +3 -0
- package/dist/types/pages/ToastMessage.d.ts +3 -0
- package/dist/types/pages/ToastMessageCountdown.d.ts +3 -0
- package/dist/types/pages/Tooltip.d.ts +3 -0
- package/dist/types/pages/Typography.d.ts +3 -0
- package/dist/types/pages/Wizzard.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1581 -0
- package/dist/types/types/event.types.d.ts +4 -0
- package/dist/types/types/interfaces.d.ts +2 -0
- package/dist/types/types/typings.d.ts +6 -0
- package/dist/types/utils/array.utils.d.ts +1 -0
- package/dist/types/utils/bool.utils.d.ts +1 -0
- package/dist/types/utils/ds.utils.d.ts +1 -0
- package/dist/types/utils/file.utils.d.ts +3 -0
- package/dist/types/utils/icon.utils.d.ts +4 -0
- package/dist/types/utils/number.utils.d.ts +1 -0
- package/dist/types/utils/string.utils.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +20 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +1 -1
- package/LICENSE +0 -21
- package/readme.md +0 -86
|
@@ -0,0 +1,4061 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { AccordionSizeType, AccordionVariantType } from "./components/gov-accordion/constants";
|
|
9
|
+
import { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/gov-accordion.types";
|
|
10
|
+
import { VariantType } from "./components/gov-alert/constants";
|
|
11
|
+
import { AlertEvent } from "./components/gov-alert/gov-alert.types";
|
|
12
|
+
import { ButtonSizesType, ButtonTargetType, ButtonVariantType, NativeTypesType as NativeTypesType1, TypesType } from "./components/gov-button/constants";
|
|
13
|
+
import { NativeTypesType } from "./components/gov-badge/constants";
|
|
14
|
+
import { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
15
|
+
import { ButtonEvent } from "./components/gov-button/gov-button.types";
|
|
16
|
+
import { GovCardChangeEvent } from "./components/gov-card/interfaces";
|
|
17
|
+
import { SizesType, VariantType as VariantType1 } from "./components/gov-form/autocomplete/constants";
|
|
18
|
+
import { FormAutocompleteEvent, GovFormAutocompleteItem } from "./components/gov-form/autocomplete/gov-form-autocomplete.types";
|
|
19
|
+
import { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants";
|
|
20
|
+
import { FormCheckboxEvent } from "./components/gov-form/checkbox/gov-form-checkbox.types";
|
|
21
|
+
import { FormControlSizesType } from "./components/gov-form/control/constants";
|
|
22
|
+
import { GovFormFileEvent } from "./components/gov-form/file/gov-form-file.types";
|
|
23
|
+
import { FormGroupSizesType } from "./components/gov-form/group/constants";
|
|
24
|
+
import { FormInputSizesType, FormInputVariantType, InputType, Type } from "./components/gov-form/input/constants";
|
|
25
|
+
import { FormInputEvent } from "./components/gov-form/input/gov-form-input.types";
|
|
26
|
+
import { FormLabelSizesTypes } from "./components/gov-form/label/constants";
|
|
27
|
+
import { FormMessageVariantType } from "./components/gov-form/message/constants";
|
|
28
|
+
import { FormMultiselectSizesType, FormMultiselectVariantType } from "./components/gov-form/multiselect/constants";
|
|
29
|
+
import { FormMultiselectEvent } from "./components/gov-form/multiselect/gov-form-multi-select.types";
|
|
30
|
+
import { FormRadioSizesType } from "./components/gov-form/radio/constants";
|
|
31
|
+
import { FormRadioEvent } from "./components/gov-form/radio/gov-form-radio.types";
|
|
32
|
+
import { FormSelectSizesType, FormSelectVariantType } from "./components/gov-form/select/constants";
|
|
33
|
+
import { FormSelectEvent } from "./components/gov-form/select/gov-form-select.types";
|
|
34
|
+
import { FormSwitchSizesType } from "./components/gov-form/switch/constants";
|
|
35
|
+
import { FormSwitchEvent } from "./components/gov-form/switch/gov-form-switch.types";
|
|
36
|
+
import { Type as Type1 } from "./components/gov-icon/constants";
|
|
37
|
+
import { LayoutType, LayoutVariantType } from "./components/gov-layout/constants";
|
|
38
|
+
import { MessageVariantType } from "./components/gov-message/constants";
|
|
39
|
+
import { PaginationSizeType, PaginationType, PaginationVariantType } from "./components/gov-pagination/constants";
|
|
40
|
+
import { PaginationEvent } from "./components/gov-pagination/gov-pagination.types";
|
|
41
|
+
import { GovSideNavItemChangeEvent } from "./components/gov-side-nav/gov-side-nav-item.d";
|
|
42
|
+
import { SkeletonAnimationType, SkeletonShapesType, SkeletonVariantsType } from "./components/gov-loading/skeleton/constants";
|
|
43
|
+
import { SpacerBreakpointsType, SpacerSizeType } from "./components/gov-spacer/constants";
|
|
44
|
+
import { StatsBarIconPositionType, StatsBarVariantType } from "./components/gov-statsbar/constants";
|
|
45
|
+
import { StepperSizesType, StepperVariantType } from "./components/gov-stepper/constants";
|
|
46
|
+
import { GovStepperItemChangeEvent } from "./components/gov-stepper/gov-stepper-item.d";
|
|
47
|
+
import { TabOrientationType, TabType, VariantType as VariantType2 } from "./components/gov-tabs/constants";
|
|
48
|
+
import { Nullable } from "./types/interfaces";
|
|
49
|
+
import { ToastTypesType, ToastVariantType } from "./components/gov-toast/constants";
|
|
50
|
+
import { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./components/gov-tooltip/constants";
|
|
51
|
+
import { WizardSizesType, WizardVariantsType } from "./components/gov-wizzard/constants";
|
|
52
|
+
import { GovWizzardItemChangeEvent } from "./components/gov-wizzard/gov-wizzard-item.d";
|
|
53
|
+
export namespace Components {
|
|
54
|
+
interface GovAccordion {
|
|
55
|
+
/**
|
|
56
|
+
* Accordion item underline
|
|
57
|
+
*/
|
|
58
|
+
"noBorder": boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Accordion’s size.
|
|
61
|
+
*/
|
|
62
|
+
"size"?: AccordionSizeType;
|
|
63
|
+
/**
|
|
64
|
+
* Validate the WCAG attributes of the component
|
|
65
|
+
*/
|
|
66
|
+
"validateWcag": () => Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Style variation of the button.
|
|
69
|
+
*/
|
|
70
|
+
"variant"?: AccordionVariantType;
|
|
71
|
+
/**
|
|
72
|
+
* Adds accessible label for the accordion that is only shown for screen readers.
|
|
73
|
+
*/
|
|
74
|
+
"wcagLabel": string;
|
|
75
|
+
/**
|
|
76
|
+
* String of id's that indicate alternative labels elements
|
|
77
|
+
*/
|
|
78
|
+
"wcagLabelledBy": string;
|
|
79
|
+
}
|
|
80
|
+
interface GovAccordionItem {
|
|
81
|
+
/**
|
|
82
|
+
* Item annotation of the accordion
|
|
83
|
+
*/
|
|
84
|
+
"annotation": string;
|
|
85
|
+
/**
|
|
86
|
+
* Closing the accordion
|
|
87
|
+
*/
|
|
88
|
+
"close": () => Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Returns the current state of the component
|
|
91
|
+
*/
|
|
92
|
+
"currentState": () => Promise<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
95
|
+
*/
|
|
96
|
+
"disabled": boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Custom accordion item identifier. Otherwise, it will be generated
|
|
99
|
+
*/
|
|
100
|
+
"identifier": string;
|
|
101
|
+
/**
|
|
102
|
+
* Defines whether the accordion is open or closed by default
|
|
103
|
+
*/
|
|
104
|
+
"isExpanded": boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Item name of the accordion
|
|
107
|
+
*/
|
|
108
|
+
"label": string;
|
|
109
|
+
/**
|
|
110
|
+
* To remove the main underline of an item
|
|
111
|
+
*/
|
|
112
|
+
"noBorder": boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Opening the accordion
|
|
115
|
+
*/
|
|
116
|
+
"open": () => Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* Accordion’s size.
|
|
119
|
+
*/
|
|
120
|
+
"size"?: AccordionSizeType;
|
|
121
|
+
/**
|
|
122
|
+
* Accordion switch
|
|
123
|
+
*/
|
|
124
|
+
"toggle": () => Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Used to change the HTML tag in the accordion trigger for correct semantic structure
|
|
127
|
+
*/
|
|
128
|
+
"triggerTag": string;
|
|
129
|
+
/**
|
|
130
|
+
* Style variation of the button.
|
|
131
|
+
*/
|
|
132
|
+
"variant"?: AccordionVariantType;
|
|
133
|
+
}
|
|
134
|
+
interface GovAlert {
|
|
135
|
+
/**
|
|
136
|
+
* Displays the option to close the alert
|
|
137
|
+
*/
|
|
138
|
+
"closable"?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Style variation of the button.
|
|
141
|
+
*/
|
|
142
|
+
"headline": string;
|
|
143
|
+
/**
|
|
144
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
145
|
+
*/
|
|
146
|
+
"inverse": boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Validate the WCAG attributes of the component
|
|
149
|
+
*/
|
|
150
|
+
"validateWcag": () => Promise<void>;
|
|
151
|
+
/**
|
|
152
|
+
* Style variation of the button.
|
|
153
|
+
*/
|
|
154
|
+
"variant": VariantType;
|
|
155
|
+
/**
|
|
156
|
+
* Aria label for the closing button. It is mandatory if the alert is closable
|
|
157
|
+
*/
|
|
158
|
+
"wcagCloseLabel": string;
|
|
159
|
+
/**
|
|
160
|
+
* Aria label for the toggle button. It is mandatory if the alert has headline
|
|
161
|
+
*/
|
|
162
|
+
"wcagToggleLabel": string;
|
|
163
|
+
}
|
|
164
|
+
interface GovApp {
|
|
165
|
+
}
|
|
166
|
+
interface GovAttachments {
|
|
167
|
+
/**
|
|
168
|
+
* Label of attachments section
|
|
169
|
+
*/
|
|
170
|
+
"label": string;
|
|
171
|
+
/**
|
|
172
|
+
* Validate the WCAG attributes of the component
|
|
173
|
+
*/
|
|
174
|
+
"validateWcag": () => Promise<void>;
|
|
175
|
+
/**
|
|
176
|
+
* Adds accessible label for the attachment section that is only shown for screen readers.
|
|
177
|
+
*/
|
|
178
|
+
"wcagLabel": string;
|
|
179
|
+
}
|
|
180
|
+
interface GovAttachmentsItem {
|
|
181
|
+
/**
|
|
182
|
+
* Validate the WCAG attributes of the component
|
|
183
|
+
*/
|
|
184
|
+
"validateWcag": () => Promise<void>;
|
|
185
|
+
/**
|
|
186
|
+
* Adds accessible label for the remove button that is only shown for screen readers.
|
|
187
|
+
*/
|
|
188
|
+
"wcagRemoveLabel": string;
|
|
189
|
+
/**
|
|
190
|
+
* Indicates the id of a component that labels the remove button.
|
|
191
|
+
*/
|
|
192
|
+
"wcagRemoveLabelledBy": string;
|
|
193
|
+
}
|
|
194
|
+
interface GovBackdrop {
|
|
195
|
+
/**
|
|
196
|
+
* Determide if component should have inversed colors to be used on dark background.
|
|
197
|
+
*/
|
|
198
|
+
"inverse": boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Validate the WCAG attributes of the component
|
|
201
|
+
*/
|
|
202
|
+
"validateWcag": () => Promise<void>;
|
|
203
|
+
/**
|
|
204
|
+
* Adds accessible label for the backdrop that is only shown for screen readers.
|
|
205
|
+
*/
|
|
206
|
+
"wcagLabel": string;
|
|
207
|
+
/**
|
|
208
|
+
* String of id's that indicate alternative labels elements
|
|
209
|
+
*/
|
|
210
|
+
"wcagLabelledBy": string;
|
|
211
|
+
}
|
|
212
|
+
interface GovBadge {
|
|
213
|
+
/**
|
|
214
|
+
* Makes the badge component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
215
|
+
*/
|
|
216
|
+
"disabled": boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Same as original parameter
|
|
219
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
220
|
+
*/
|
|
221
|
+
"href": string;
|
|
222
|
+
/**
|
|
223
|
+
* Determide if component should have inversed colors to be used on dark background
|
|
224
|
+
*/
|
|
225
|
+
"inverse": boolean;
|
|
226
|
+
/**
|
|
227
|
+
* Badge’s size.
|
|
228
|
+
*/
|
|
229
|
+
"size": ButtonSizesType;
|
|
230
|
+
/**
|
|
231
|
+
* Used to change the HMTL tag in the badge
|
|
232
|
+
*/
|
|
233
|
+
"tag": NativeTypesType;
|
|
234
|
+
/**
|
|
235
|
+
* Same as original parameter
|
|
236
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
237
|
+
*/
|
|
238
|
+
"target": string;
|
|
239
|
+
/**
|
|
240
|
+
* Badges's type
|
|
241
|
+
*/
|
|
242
|
+
"type": TypesType;
|
|
243
|
+
/**
|
|
244
|
+
* Style variation of the badge.
|
|
245
|
+
*/
|
|
246
|
+
"variant": ButtonVariantType;
|
|
247
|
+
/**
|
|
248
|
+
* Adds accessible label for the button that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
|
|
249
|
+
*/
|
|
250
|
+
"wcagLabel": string;
|
|
251
|
+
}
|
|
252
|
+
interface GovBreadcrumbs {
|
|
253
|
+
/**
|
|
254
|
+
* Defines wether the components can be collapsible when element doesn't fit in one row.
|
|
255
|
+
*/
|
|
256
|
+
"collapsible": boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Defines whether the breadcrumbs are open or closed by default
|
|
259
|
+
*/
|
|
260
|
+
"isExpanded": boolean;
|
|
261
|
+
/**
|
|
262
|
+
* Validate the WCAG attributes of the component
|
|
263
|
+
*/
|
|
264
|
+
"validateWcag": () => Promise<void>;
|
|
265
|
+
/**
|
|
266
|
+
* Adds accessible label for the pagination that is only shown for screen readers.
|
|
267
|
+
*/
|
|
268
|
+
"wcagLabel": string;
|
|
269
|
+
/**
|
|
270
|
+
* Indicates the id of a component that labels the pagination.
|
|
271
|
+
*/
|
|
272
|
+
"wcagLabelledBy": string;
|
|
273
|
+
}
|
|
274
|
+
interface GovButton {
|
|
275
|
+
/**
|
|
276
|
+
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies
|
|
277
|
+
*/
|
|
278
|
+
"disabled": boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Same as original parameter
|
|
281
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
|
|
282
|
+
*/
|
|
283
|
+
"download": boolean;
|
|
284
|
+
/**
|
|
285
|
+
* Expands the button to fill 100% of the container width
|
|
286
|
+
*/
|
|
287
|
+
"expanded": boolean;
|
|
288
|
+
/**
|
|
289
|
+
* Same as original parametr
|
|
290
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable
|
|
291
|
+
*/
|
|
292
|
+
"focusable": boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Same as original parameter
|
|
295
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
296
|
+
*/
|
|
297
|
+
"href": string;
|
|
298
|
+
/**
|
|
299
|
+
* Same as original parameter
|
|
300
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang
|
|
301
|
+
*/
|
|
302
|
+
"hreflang": string;
|
|
303
|
+
/**
|
|
304
|
+
* Custom button identifier
|
|
305
|
+
*/
|
|
306
|
+
"identifier": string;
|
|
307
|
+
/**
|
|
308
|
+
* Determine if component should have inversed colors to be used on dark background
|
|
309
|
+
*/
|
|
310
|
+
"inverse": boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Indicates whether an asynchronous process is running
|
|
313
|
+
*/
|
|
314
|
+
"loading": string;
|
|
315
|
+
/**
|
|
316
|
+
* 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
|
|
317
|
+
*/
|
|
318
|
+
"name": string;
|
|
319
|
+
/**
|
|
320
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type
|
|
321
|
+
*/
|
|
322
|
+
"nativeType"?: NativeTypesType1;
|
|
323
|
+
/**
|
|
324
|
+
* Same as original parameter
|
|
325
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy
|
|
326
|
+
*/
|
|
327
|
+
"referrerpolicy": string;
|
|
328
|
+
/**
|
|
329
|
+
* Same as original parameter
|
|
330
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel
|
|
331
|
+
*/
|
|
332
|
+
"rel": string;
|
|
333
|
+
/**
|
|
334
|
+
* Focus button element
|
|
335
|
+
*/
|
|
336
|
+
"setFocus": () => Promise<void>;
|
|
337
|
+
/**
|
|
338
|
+
* Button’s size
|
|
339
|
+
*/
|
|
340
|
+
"size"?: ButtonSizesType;
|
|
341
|
+
/**
|
|
342
|
+
* Same as original parameter
|
|
343
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
344
|
+
*/
|
|
345
|
+
"target"?: ButtonTargetType;
|
|
346
|
+
/**
|
|
347
|
+
* Button's type
|
|
348
|
+
*/
|
|
349
|
+
"type"?: TypesType;
|
|
350
|
+
/**
|
|
351
|
+
* Validate the WCAG attributes of the component
|
|
352
|
+
*/
|
|
353
|
+
"validateWcag": () => Promise<void>;
|
|
354
|
+
/**
|
|
355
|
+
* Style variation of the button
|
|
356
|
+
*/
|
|
357
|
+
"variant"?: ButtonVariantType;
|
|
358
|
+
/**
|
|
359
|
+
* Indicates the id of a related component’s visually focused element
|
|
360
|
+
*/
|
|
361
|
+
"wcagActiveDescendant": string;
|
|
362
|
+
/**
|
|
363
|
+
* 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
|
|
364
|
+
*/
|
|
365
|
+
"wcagControls": string;
|
|
366
|
+
/**
|
|
367
|
+
* Indicates the current item within a container or set of related elements
|
|
368
|
+
*/
|
|
369
|
+
"wcagCurrent": string;
|
|
370
|
+
/**
|
|
371
|
+
* Indicates the id of a component that describes the button
|
|
372
|
+
*/
|
|
373
|
+
"wcagDescribedBy": string;
|
|
374
|
+
/**
|
|
375
|
+
* Aria description the button
|
|
376
|
+
*/
|
|
377
|
+
"wcagDescription": string;
|
|
378
|
+
/**
|
|
379
|
+
* Details of the component
|
|
380
|
+
*/
|
|
381
|
+
"wcagDetails": string;
|
|
382
|
+
/**
|
|
383
|
+
* If a button expands or collapses adjacent content, then use the ariaExpanded prop to add the aria-expanded attribute to the button Set the value to convey the current expanded (true) or collapsed (false) state of the content
|
|
384
|
+
*/
|
|
385
|
+
"wcagExpanded": boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button
|
|
388
|
+
*/
|
|
389
|
+
"wcagHasPopup": string;
|
|
390
|
+
/**
|
|
391
|
+
* Adds accessible label for the button that is only shown for screen readers Typically, this label text replaces the visible text on the button for users who use assistive technology
|
|
392
|
+
*/
|
|
393
|
+
"wcagLabel": string;
|
|
394
|
+
/**
|
|
395
|
+
* String of id's that indicate alternative labels elements
|
|
396
|
+
*/
|
|
397
|
+
"wcagLabelledBy": string;
|
|
398
|
+
/**
|
|
399
|
+
* Indicates the id of a component owned by the button
|
|
400
|
+
*/
|
|
401
|
+
"wcagOwns": string;
|
|
402
|
+
/**
|
|
403
|
+
* Tells screen reader the element is pressed
|
|
404
|
+
*/
|
|
405
|
+
"wcagPressed": string;
|
|
406
|
+
}
|
|
407
|
+
interface GovCard {
|
|
408
|
+
/**
|
|
409
|
+
* Close the card if it is collapsible
|
|
410
|
+
*/
|
|
411
|
+
"close": () => Promise<void>;
|
|
412
|
+
/**
|
|
413
|
+
* Defines wether the card can be collapsible
|
|
414
|
+
*/
|
|
415
|
+
"collapsible": boolean;
|
|
416
|
+
/**
|
|
417
|
+
* Defines whether the card is open or closed by default
|
|
418
|
+
*/
|
|
419
|
+
"expanded": boolean;
|
|
420
|
+
/**
|
|
421
|
+
* Used to change the HMTL tag in the card headline for correct semantic structure
|
|
422
|
+
*/
|
|
423
|
+
"headlineTag": string;
|
|
424
|
+
/**
|
|
425
|
+
* Item label of the card
|
|
426
|
+
*/
|
|
427
|
+
"label": string;
|
|
428
|
+
/**
|
|
429
|
+
* Open the card if it is collapsible
|
|
430
|
+
*/
|
|
431
|
+
"open": () => Promise<void>;
|
|
432
|
+
/**
|
|
433
|
+
* Style variation of the card.
|
|
434
|
+
*/
|
|
435
|
+
"promotion": boolean;
|
|
436
|
+
/**
|
|
437
|
+
* Validate the WCAG attributes of the component
|
|
438
|
+
*/
|
|
439
|
+
"validateWcag": () => Promise<void>;
|
|
440
|
+
/**
|
|
441
|
+
* Adds accessible label for the collapsible button that is only shown for screen readers.
|
|
442
|
+
*/
|
|
443
|
+
"wcagTriggerLabel": string;
|
|
444
|
+
/**
|
|
445
|
+
* A string of identifiers that indicate alternative label elements for collapsible card
|
|
446
|
+
*/
|
|
447
|
+
"wcagTriggerLabelledBy": string;
|
|
448
|
+
}
|
|
449
|
+
interface GovContainer {
|
|
450
|
+
/**
|
|
451
|
+
* Returns slotted children
|
|
452
|
+
* @return
|
|
453
|
+
*/
|
|
454
|
+
"slottedChildren": () => Promise<Node[]>;
|
|
455
|
+
}
|
|
456
|
+
interface GovCookiebar {
|
|
457
|
+
}
|
|
458
|
+
interface GovEmpty {
|
|
459
|
+
}
|
|
460
|
+
interface GovErrorCode {
|
|
461
|
+
}
|
|
462
|
+
interface GovFormAutocomplete {
|
|
463
|
+
/**
|
|
464
|
+
* Clears whisperer value
|
|
465
|
+
*/
|
|
466
|
+
"clearValue": () => Promise<void>;
|
|
467
|
+
/**
|
|
468
|
+
* Makes the input component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
469
|
+
*/
|
|
470
|
+
"disabled": boolean;
|
|
471
|
+
/**
|
|
472
|
+
* Custom input identifier.
|
|
473
|
+
*/
|
|
474
|
+
"identifier": string;
|
|
475
|
+
/**
|
|
476
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
477
|
+
*/
|
|
478
|
+
"invalid": boolean;
|
|
479
|
+
/**
|
|
480
|
+
* Maximum length (number of characters) of value
|
|
481
|
+
*/
|
|
482
|
+
"maxlength": number;
|
|
483
|
+
/**
|
|
484
|
+
* Minimum length (number of characters) of value
|
|
485
|
+
*/
|
|
486
|
+
"minlength": number;
|
|
487
|
+
/**
|
|
488
|
+
* Name of the input.
|
|
489
|
+
*/
|
|
490
|
+
"name": string;
|
|
491
|
+
/**
|
|
492
|
+
* Main key name in the object
|
|
493
|
+
*/
|
|
494
|
+
"nameKey": string;
|
|
495
|
+
/**
|
|
496
|
+
* Text that appears in the form control when it has no value set
|
|
497
|
+
*/
|
|
498
|
+
"placeholder": string;
|
|
499
|
+
/**
|
|
500
|
+
* The value is not editable
|
|
501
|
+
*/
|
|
502
|
+
"readonly": boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
505
|
+
*/
|
|
506
|
+
"required": boolean;
|
|
507
|
+
/**
|
|
508
|
+
* Returns the current state of the component
|
|
509
|
+
*/
|
|
510
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
511
|
+
/**
|
|
512
|
+
* Set a custom asynchronous function for the whisperer
|
|
513
|
+
*/
|
|
514
|
+
"setSearchCallback": (callback: (value: string) => Promise<any>) => Promise<void>;
|
|
515
|
+
/**
|
|
516
|
+
* Setting a custom whisper result template
|
|
517
|
+
* @param callback
|
|
518
|
+
*/
|
|
519
|
+
"setTemplateResolver": (callback: (item: GovFormAutocompleteItem) => string) => Promise<void>;
|
|
520
|
+
/**
|
|
521
|
+
* Input’s size.
|
|
522
|
+
*/
|
|
523
|
+
"size"?: SizesType;
|
|
524
|
+
/**
|
|
525
|
+
* Indicates the entered value of child form element does conform to the format expected by the application.
|
|
526
|
+
*/
|
|
527
|
+
"success": boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Value of input
|
|
530
|
+
*/
|
|
531
|
+
"value": string;
|
|
532
|
+
/**
|
|
533
|
+
* Style variation of the form input.
|
|
534
|
+
*/
|
|
535
|
+
"variant"?: VariantType1;
|
|
536
|
+
/**
|
|
537
|
+
* Indicates the id of a component that describes the input.
|
|
538
|
+
*/
|
|
539
|
+
"wcagDescribedBy": string;
|
|
540
|
+
/**
|
|
541
|
+
* Indicates the id of a component that labels the input.
|
|
542
|
+
*/
|
|
543
|
+
"wcagLabelledBy": string;
|
|
544
|
+
/**
|
|
545
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-owns
|
|
546
|
+
*/
|
|
547
|
+
"wcagOwns": string;
|
|
548
|
+
}
|
|
549
|
+
interface GovFormCheckbox {
|
|
550
|
+
/**
|
|
551
|
+
* Checkbox default state
|
|
552
|
+
*/
|
|
553
|
+
"checked": boolean;
|
|
554
|
+
/**
|
|
555
|
+
* Makes the checkbox component disabled. This prevents users from being able to interact with the checkbox, and conveys its inactive state to assistive technologies.
|
|
556
|
+
*/
|
|
557
|
+
"disabled": boolean;
|
|
558
|
+
/**
|
|
559
|
+
* Returns the reference of the native element
|
|
560
|
+
*/
|
|
561
|
+
"getRef": () => Promise<HTMLInputElement>;
|
|
562
|
+
/**
|
|
563
|
+
* Custom checkbox identifier.
|
|
564
|
+
*/
|
|
565
|
+
"identifier": string;
|
|
566
|
+
/**
|
|
567
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
568
|
+
*/
|
|
569
|
+
"invalid": boolean;
|
|
570
|
+
/**
|
|
571
|
+
* Name of the checkbox.
|
|
572
|
+
*/
|
|
573
|
+
"name": string;
|
|
574
|
+
/**
|
|
575
|
+
* When you can't use the form label.
|
|
576
|
+
*/
|
|
577
|
+
"noLabel": boolean;
|
|
578
|
+
/**
|
|
579
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
580
|
+
*/
|
|
581
|
+
"required": boolean;
|
|
582
|
+
/**
|
|
583
|
+
* Checkboxes size.
|
|
584
|
+
*/
|
|
585
|
+
"size"?: FormCheckboxSizesType;
|
|
586
|
+
/**
|
|
587
|
+
* Validate the WCAG attributes of the component
|
|
588
|
+
*/
|
|
589
|
+
"validateWcag": () => Promise<void>;
|
|
590
|
+
/**
|
|
591
|
+
* Value of checkbox
|
|
592
|
+
*/
|
|
593
|
+
"value": string;
|
|
594
|
+
/**
|
|
595
|
+
* Indicates the id of a component that describes the input.
|
|
596
|
+
*/
|
|
597
|
+
"wcagDescribedBy": string;
|
|
598
|
+
/**
|
|
599
|
+
* Indicates the id of a component that labels the input.
|
|
600
|
+
*/
|
|
601
|
+
"wcagLabelledBy": string;
|
|
602
|
+
}
|
|
603
|
+
interface GovFormControl {
|
|
604
|
+
/**
|
|
605
|
+
* /** Indicates the form element is disabled
|
|
606
|
+
*/
|
|
607
|
+
"disabled": boolean;
|
|
608
|
+
/**
|
|
609
|
+
* Use control as a fieldset for better accessibility. Note: Don't forget to set the legend attribute of the gov-form-label component
|
|
610
|
+
*/
|
|
611
|
+
"fieldset": boolean;
|
|
612
|
+
/**
|
|
613
|
+
* Defines the space between nested components.
|
|
614
|
+
*/
|
|
615
|
+
"gap"?: FormControlSizesType;
|
|
616
|
+
/**
|
|
617
|
+
* Form element identifier
|
|
618
|
+
*/
|
|
619
|
+
"identifier": string;
|
|
620
|
+
/**
|
|
621
|
+
* Indicates the entered value of child form element does not conform to the format expected by the application.
|
|
622
|
+
*/
|
|
623
|
+
"invalid": boolean;
|
|
624
|
+
/**
|
|
625
|
+
* Form element size.
|
|
626
|
+
*/
|
|
627
|
+
"size"?: FormControlSizesType;
|
|
628
|
+
/**
|
|
629
|
+
* /** Indicates the entered value of child form element does conform to the format expected by the application.
|
|
630
|
+
*/
|
|
631
|
+
"success": boolean;
|
|
632
|
+
}
|
|
633
|
+
interface GovFormFile {
|
|
634
|
+
/**
|
|
635
|
+
* Same as original parameter
|
|
636
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
637
|
+
*/
|
|
638
|
+
"accept": string;
|
|
639
|
+
/**
|
|
640
|
+
* Description of the list of attachments
|
|
641
|
+
*/
|
|
642
|
+
"attachmentsLabel": string;
|
|
643
|
+
/**
|
|
644
|
+
* Makes the File component disabled. This prevents users from being able to interact with the File, and conveys its inactive state to assistive technologies.
|
|
645
|
+
*/
|
|
646
|
+
"disabled": boolean;
|
|
647
|
+
/**
|
|
648
|
+
* Show list of attachments
|
|
649
|
+
*/
|
|
650
|
+
"displayAttachments": boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Insert unsupported file error message
|
|
653
|
+
*/
|
|
654
|
+
"errorAccept": string;
|
|
655
|
+
/**
|
|
656
|
+
* Error message when the maximum file size is exceeded
|
|
657
|
+
*/
|
|
658
|
+
"errorSize": string;
|
|
659
|
+
/**
|
|
660
|
+
* Expands the file input to fill 100% of the container width.
|
|
661
|
+
*/
|
|
662
|
+
"expanded": boolean;
|
|
663
|
+
/**
|
|
664
|
+
* Returns the reference of the native area element
|
|
665
|
+
*/
|
|
666
|
+
"getAreaRef": () => Promise<HTMLDivElement>;
|
|
667
|
+
/**
|
|
668
|
+
* Returns the reference of the native element
|
|
669
|
+
*/
|
|
670
|
+
"getRef": () => Promise<HTMLInputElement>;
|
|
671
|
+
/**
|
|
672
|
+
* Custom File identifier.
|
|
673
|
+
*/
|
|
674
|
+
"identifier": string;
|
|
675
|
+
/**
|
|
676
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
677
|
+
*/
|
|
678
|
+
"invalid": boolean;
|
|
679
|
+
/**
|
|
680
|
+
* Maximum embedded file size
|
|
681
|
+
*/
|
|
682
|
+
"maxFileSize": number;
|
|
683
|
+
/**
|
|
684
|
+
* Name of the input.
|
|
685
|
+
*/
|
|
686
|
+
"name": string;
|
|
687
|
+
/**
|
|
688
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
689
|
+
*/
|
|
690
|
+
"required": boolean;
|
|
691
|
+
/**
|
|
692
|
+
* Validate the WCAG attributes of the component
|
|
693
|
+
*/
|
|
694
|
+
"validateWcag": () => Promise<void>;
|
|
695
|
+
/**
|
|
696
|
+
* Adds accessible label for the list of attachments.
|
|
697
|
+
*/
|
|
698
|
+
"wcagAttachmentsLabel": string;
|
|
699
|
+
/**
|
|
700
|
+
* Indicates the id of a component that describes the input.
|
|
701
|
+
*/
|
|
702
|
+
"wcagDescribedBy": string;
|
|
703
|
+
/**
|
|
704
|
+
* Indicates the id of a component that labels the input.
|
|
705
|
+
*/
|
|
706
|
+
"wcagLabelledBy": string;
|
|
707
|
+
/**
|
|
708
|
+
* Adds accessible label for the remove button that is only shown for screen readers.
|
|
709
|
+
*/
|
|
710
|
+
"wcagRemoveLabel": string;
|
|
711
|
+
}
|
|
712
|
+
interface GovFormGroup {
|
|
713
|
+
/**
|
|
714
|
+
* Gap's size.
|
|
715
|
+
*/
|
|
716
|
+
"gap"?: FormGroupSizesType;
|
|
717
|
+
}
|
|
718
|
+
interface GovFormInput {
|
|
719
|
+
/**
|
|
720
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete
|
|
721
|
+
*/
|
|
722
|
+
"autocomplete": boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect
|
|
725
|
+
*/
|
|
726
|
+
"autocorrect": boolean;
|
|
727
|
+
/**
|
|
728
|
+
* Clears input value
|
|
729
|
+
*/
|
|
730
|
+
"clearValue": () => Promise<void>;
|
|
731
|
+
/**
|
|
732
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols
|
|
733
|
+
*/
|
|
734
|
+
"cols": number;
|
|
735
|
+
/**
|
|
736
|
+
* Makes the input component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
737
|
+
*/
|
|
738
|
+
"disabled": boolean;
|
|
739
|
+
/**
|
|
740
|
+
* Returns an instance of the native html input element
|
|
741
|
+
*/
|
|
742
|
+
"getRef": () => Promise<HTMLInputElement>;
|
|
743
|
+
/**
|
|
744
|
+
* Custom input identifier.
|
|
745
|
+
*/
|
|
746
|
+
"identifier": string;
|
|
747
|
+
/**
|
|
748
|
+
* Same as original parameter
|
|
749
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
750
|
+
*/
|
|
751
|
+
"inputType": InputType;
|
|
752
|
+
/**
|
|
753
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
754
|
+
*/
|
|
755
|
+
"invalid": boolean;
|
|
756
|
+
/**
|
|
757
|
+
* Maximum length (number of characters) of value
|
|
758
|
+
*/
|
|
759
|
+
"maxlength": number;
|
|
760
|
+
/**
|
|
761
|
+
* Minimum length (number of characters) of value
|
|
762
|
+
*/
|
|
763
|
+
"minlength": number;
|
|
764
|
+
/**
|
|
765
|
+
* Generates a texarea for the possibility of multiple lines
|
|
766
|
+
*/
|
|
767
|
+
"multiline": boolean;
|
|
768
|
+
/**
|
|
769
|
+
* Name of the input.
|
|
770
|
+
*/
|
|
771
|
+
"name": string;
|
|
772
|
+
/**
|
|
773
|
+
* Text that appears in the form control when it has no value set
|
|
774
|
+
*/
|
|
775
|
+
"placeholder": string;
|
|
776
|
+
/**
|
|
777
|
+
* The value is not editable
|
|
778
|
+
*/
|
|
779
|
+
"readonly": boolean;
|
|
780
|
+
/**
|
|
781
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
782
|
+
*/
|
|
783
|
+
"required": boolean;
|
|
784
|
+
/**
|
|
785
|
+
* Same as original parameter
|
|
786
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role
|
|
787
|
+
*/
|
|
788
|
+
"role": string;
|
|
789
|
+
/**
|
|
790
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows
|
|
791
|
+
*/
|
|
792
|
+
"rows": number;
|
|
793
|
+
/**
|
|
794
|
+
* Returns the current state of the component
|
|
795
|
+
*/
|
|
796
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
797
|
+
/**
|
|
798
|
+
* Sets the ordered value of the element
|
|
799
|
+
*/
|
|
800
|
+
"setValue": (value: string) => Promise<void>;
|
|
801
|
+
/**
|
|
802
|
+
* Input’s size.
|
|
803
|
+
*/
|
|
804
|
+
"size"?: FormInputSizesType;
|
|
805
|
+
/**
|
|
806
|
+
* Indicates the entered value of child form element does conform to the format expected by the application.
|
|
807
|
+
*/
|
|
808
|
+
"success": boolean;
|
|
809
|
+
/**
|
|
810
|
+
* Defineds the visual style of input
|
|
811
|
+
*/
|
|
812
|
+
"type"?: Type;
|
|
813
|
+
/**
|
|
814
|
+
* Validate the WCAG attributes of the component
|
|
815
|
+
*/
|
|
816
|
+
"validateWcag": () => Promise<void>;
|
|
817
|
+
/**
|
|
818
|
+
* Value of input
|
|
819
|
+
*/
|
|
820
|
+
"value": string;
|
|
821
|
+
/**
|
|
822
|
+
* Style variation of the form input.
|
|
823
|
+
*/
|
|
824
|
+
"variant"?: FormInputVariantType;
|
|
825
|
+
/**
|
|
826
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value.
|
|
827
|
+
*/
|
|
828
|
+
"wcagAutocomplete": string;
|
|
829
|
+
/**
|
|
830
|
+
* Indicates the id of a component that describes the input.
|
|
831
|
+
*/
|
|
832
|
+
"wcagDescribedBy": string;
|
|
833
|
+
/**
|
|
834
|
+
* Attribute is set on an element to indicate if a control is expanded or collapsed
|
|
835
|
+
*/
|
|
836
|
+
"wcagExpanded": boolean;
|
|
837
|
+
/**
|
|
838
|
+
* Indicates the id of a component that labels the input.
|
|
839
|
+
*/
|
|
840
|
+
"wcagLabelledBy": string;
|
|
841
|
+
/**
|
|
842
|
+
* Indicates the id of a component that describes the input.
|
|
843
|
+
*/
|
|
844
|
+
"wcagOwns": string;
|
|
845
|
+
}
|
|
846
|
+
interface GovFormLabel {
|
|
847
|
+
/**
|
|
848
|
+
* Identifier for label.
|
|
849
|
+
*/
|
|
850
|
+
"identifier": string;
|
|
851
|
+
/**
|
|
852
|
+
* Use label as a legend for better accessibility. Note: Don't forget to set the fieldset attribute of the gov-form-control component
|
|
853
|
+
*/
|
|
854
|
+
"legend": boolean;
|
|
855
|
+
/**
|
|
856
|
+
* Set whether the input is required or not.
|
|
857
|
+
*/
|
|
858
|
+
"required": boolean;
|
|
859
|
+
/**
|
|
860
|
+
* Label's size.
|
|
861
|
+
*/
|
|
862
|
+
"size"?: FormLabelSizesTypes;
|
|
863
|
+
}
|
|
864
|
+
interface GovFormMessage {
|
|
865
|
+
/**
|
|
866
|
+
* Returns unique identfiier of message
|
|
867
|
+
*/
|
|
868
|
+
"identifier": () => Promise<string>;
|
|
869
|
+
/**
|
|
870
|
+
* Style variation of the message.
|
|
871
|
+
*/
|
|
872
|
+
"variant"?: FormMessageVariantType;
|
|
873
|
+
}
|
|
874
|
+
interface GovFormMultiSelect {
|
|
875
|
+
/**
|
|
876
|
+
* Makes the select component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
877
|
+
*/
|
|
878
|
+
"disabled": boolean;
|
|
879
|
+
/**
|
|
880
|
+
* Returns an instance of the native html select element
|
|
881
|
+
*/
|
|
882
|
+
"getInstance": () => Promise<HTMLSelectElement>;
|
|
883
|
+
/**
|
|
884
|
+
* Custom select identifier.
|
|
885
|
+
*/
|
|
886
|
+
"identifier": string;
|
|
887
|
+
/**
|
|
888
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
889
|
+
*/
|
|
890
|
+
"invalid": boolean;
|
|
891
|
+
/**
|
|
892
|
+
* Name of the select.
|
|
893
|
+
*/
|
|
894
|
+
"name": string;
|
|
895
|
+
/**
|
|
896
|
+
* Custom select placeholder.
|
|
897
|
+
*/
|
|
898
|
+
"placeholder": string;
|
|
899
|
+
/**
|
|
900
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
901
|
+
*/
|
|
902
|
+
"required": boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Returns the current state of the component
|
|
905
|
+
*/
|
|
906
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
907
|
+
/**
|
|
908
|
+
* Sets the ordered value of the element
|
|
909
|
+
*/
|
|
910
|
+
"setValue": (value: string) => Promise<void>;
|
|
911
|
+
/**
|
|
912
|
+
* Select’s size.
|
|
913
|
+
*/
|
|
914
|
+
"size"?: FormMultiselectSizesType;
|
|
915
|
+
/**
|
|
916
|
+
* Validate the WCAG attributes of the component
|
|
917
|
+
*/
|
|
918
|
+
"validateWcag": () => Promise<void>;
|
|
919
|
+
/**
|
|
920
|
+
* Style variation of the form select.
|
|
921
|
+
*/
|
|
922
|
+
"variant"?: FormMultiselectVariantType;
|
|
923
|
+
/**
|
|
924
|
+
* Indicates the id of a component that describes the input.
|
|
925
|
+
*/
|
|
926
|
+
"wcagDescribedBy": string;
|
|
927
|
+
/**
|
|
928
|
+
* Indicates the id of a component that labels the input.
|
|
929
|
+
*/
|
|
930
|
+
"wcagLabelledBy": string;
|
|
931
|
+
/**
|
|
932
|
+
* Indicates the id of a component that describes the input.
|
|
933
|
+
*/
|
|
934
|
+
"wcagOwns": string;
|
|
935
|
+
}
|
|
936
|
+
interface GovFormPasswordPower {
|
|
937
|
+
/**
|
|
938
|
+
* Password power: 0 - none, 1 - weak, 2 - medium, 3 - strong
|
|
939
|
+
*/
|
|
940
|
+
"power": number;
|
|
941
|
+
}
|
|
942
|
+
interface GovFormRadio {
|
|
943
|
+
/**
|
|
944
|
+
* Radio default state
|
|
945
|
+
*/
|
|
946
|
+
"checked": boolean;
|
|
947
|
+
/**
|
|
948
|
+
* Makes the radio component disabled. This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.
|
|
949
|
+
*/
|
|
950
|
+
"disabled": boolean;
|
|
951
|
+
/**
|
|
952
|
+
* Returns the reference of the native element
|
|
953
|
+
*/
|
|
954
|
+
"getRef": () => Promise<HTMLInputElement>;
|
|
955
|
+
/**
|
|
956
|
+
* Custom radio identifier.
|
|
957
|
+
*/
|
|
958
|
+
"identifier": string;
|
|
959
|
+
/**
|
|
960
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
961
|
+
*/
|
|
962
|
+
"invalid": boolean;
|
|
963
|
+
/**
|
|
964
|
+
* Name of the radio.
|
|
965
|
+
*/
|
|
966
|
+
"name": string;
|
|
967
|
+
/**
|
|
968
|
+
* When you can't use the form label.
|
|
969
|
+
*/
|
|
970
|
+
"noLabel": boolean;
|
|
971
|
+
/**
|
|
972
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
973
|
+
*/
|
|
974
|
+
"required": boolean;
|
|
975
|
+
/**
|
|
976
|
+
* Radio's size.
|
|
977
|
+
*/
|
|
978
|
+
"size"?: FormRadioSizesType;
|
|
979
|
+
/**
|
|
980
|
+
* Validate the WCAG attributes of the component
|
|
981
|
+
*/
|
|
982
|
+
"validateWcag": () => Promise<void>;
|
|
983
|
+
/**
|
|
984
|
+
* Value of radio
|
|
985
|
+
*/
|
|
986
|
+
"value": string;
|
|
987
|
+
/**
|
|
988
|
+
* Indicates the id of a component that describes the input.
|
|
989
|
+
*/
|
|
990
|
+
"wcagDescribedBy": string;
|
|
991
|
+
/**
|
|
992
|
+
* Indicates the id of a component that labels the input.
|
|
993
|
+
*/
|
|
994
|
+
"wcagLabelledBy": string;
|
|
995
|
+
}
|
|
996
|
+
interface GovFormSearch {
|
|
997
|
+
}
|
|
998
|
+
interface GovFormSelect {
|
|
999
|
+
/**
|
|
1000
|
+
* Makes the select component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
1001
|
+
*/
|
|
1002
|
+
"disabled": boolean;
|
|
1003
|
+
/**
|
|
1004
|
+
* Returns an instance of the native html select element
|
|
1005
|
+
*/
|
|
1006
|
+
"getRef": () => Promise<HTMLSelectElement>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Custom select identifier.
|
|
1009
|
+
*/
|
|
1010
|
+
"identifier": string;
|
|
1011
|
+
/**
|
|
1012
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
1013
|
+
*/
|
|
1014
|
+
"invalid": boolean;
|
|
1015
|
+
/**
|
|
1016
|
+
* Name of the select.
|
|
1017
|
+
*/
|
|
1018
|
+
"name": string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
1021
|
+
*/
|
|
1022
|
+
"required": boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* Returns the current state of the component
|
|
1025
|
+
*/
|
|
1026
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Sets the ordered value of the element
|
|
1029
|
+
*/
|
|
1030
|
+
"setValue": (value: string) => Promise<void>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Select’s size.
|
|
1033
|
+
*/
|
|
1034
|
+
"size"?: FormSelectSizesType;
|
|
1035
|
+
/**
|
|
1036
|
+
* Validate the WCAG attributes of the component
|
|
1037
|
+
*/
|
|
1038
|
+
"validateWcag": () => Promise<void>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Value of select
|
|
1041
|
+
*/
|
|
1042
|
+
"value": string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Style variation of the form select.
|
|
1045
|
+
*/
|
|
1046
|
+
"variant"?: FormSelectVariantType;
|
|
1047
|
+
/**
|
|
1048
|
+
* Indicates the id of a related component’s visually focused element.
|
|
1049
|
+
*/
|
|
1050
|
+
"wcagActiveDescendant": string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.
|
|
1053
|
+
*/
|
|
1054
|
+
"wcagControls": string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Indicates the id of a component that describes the input.
|
|
1057
|
+
*/
|
|
1058
|
+
"wcagDescribedBy": string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Indicates the id of a component that labels the input.
|
|
1061
|
+
*/
|
|
1062
|
+
"wcagLabelledBy": string;
|
|
1063
|
+
/**
|
|
1064
|
+
* Indicates the id of a component that describes the input.
|
|
1065
|
+
*/
|
|
1066
|
+
"wcagOwns": string;
|
|
1067
|
+
}
|
|
1068
|
+
interface GovFormSwitch {
|
|
1069
|
+
/**
|
|
1070
|
+
* Switch default state
|
|
1071
|
+
*/
|
|
1072
|
+
"checked": boolean;
|
|
1073
|
+
/**
|
|
1074
|
+
* Makes the switch component disabled. This prevents users from being able to interact with the switch, and conveys its inactive state to assistive technologies.
|
|
1075
|
+
*/
|
|
1076
|
+
"disabled": boolean;
|
|
1077
|
+
/**
|
|
1078
|
+
* Returns the reference of the native element
|
|
1079
|
+
*/
|
|
1080
|
+
"getRef": () => Promise<HTMLInputElement>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Custom switch identifier.
|
|
1083
|
+
*/
|
|
1084
|
+
"identifier": string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
1087
|
+
*/
|
|
1088
|
+
"invalid": boolean;
|
|
1089
|
+
/**
|
|
1090
|
+
* Name of the switch.
|
|
1091
|
+
*/
|
|
1092
|
+
"name": string;
|
|
1093
|
+
/**
|
|
1094
|
+
* When you can't use the form label.
|
|
1095
|
+
*/
|
|
1096
|
+
"noLabel": boolean;
|
|
1097
|
+
/**
|
|
1098
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
1099
|
+
*/
|
|
1100
|
+
"required": boolean;
|
|
1101
|
+
/**
|
|
1102
|
+
* Switch's size.
|
|
1103
|
+
*/
|
|
1104
|
+
"size"?: FormSwitchSizesType;
|
|
1105
|
+
/**
|
|
1106
|
+
* Validate the WCAG attributes of the component
|
|
1107
|
+
*/
|
|
1108
|
+
"validateWcag": () => Promise<void>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Value of switch
|
|
1111
|
+
*/
|
|
1112
|
+
"value": string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Indicates the id of a component that describes the input.
|
|
1115
|
+
*/
|
|
1116
|
+
"wcagDescribedBy": string;
|
|
1117
|
+
/**
|
|
1118
|
+
* Indicates the id of a component that labels the input.
|
|
1119
|
+
*/
|
|
1120
|
+
"wcagLabelledBy": string;
|
|
1121
|
+
}
|
|
1122
|
+
interface GovGrid {
|
|
1123
|
+
/**
|
|
1124
|
+
* Horizontal align of cells
|
|
1125
|
+
*/
|
|
1126
|
+
"alignX": string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Vertical align of cells
|
|
1129
|
+
*/
|
|
1130
|
+
"alignY": string;
|
|
1131
|
+
}
|
|
1132
|
+
interface GovGridItem {
|
|
1133
|
+
/**
|
|
1134
|
+
* Cell size as a fraction of 1/12 of the grid size
|
|
1135
|
+
*/
|
|
1136
|
+
"size": string;
|
|
1137
|
+
/**
|
|
1138
|
+
* Cell size for LG media query and up as a fraction of 12 of the grid size
|
|
1139
|
+
*/
|
|
1140
|
+
"sizeLg": string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Cell size for MD media query and up as a fraction of 12 of the grid size
|
|
1143
|
+
*/
|
|
1144
|
+
"sizeMd": string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Cell size for SM media query and up as a fraction of 12 of the grid size
|
|
1147
|
+
*/
|
|
1148
|
+
"sizeSm": string;
|
|
1149
|
+
/**
|
|
1150
|
+
* Cell size for XL media query and up as a fraction of 12 of the grid size
|
|
1151
|
+
*/
|
|
1152
|
+
"sizeXl": string;
|
|
1153
|
+
}
|
|
1154
|
+
interface GovIcon {
|
|
1155
|
+
/**
|
|
1156
|
+
* Name of icon
|
|
1157
|
+
*/
|
|
1158
|
+
"name": string;
|
|
1159
|
+
/**
|
|
1160
|
+
* Type of icon
|
|
1161
|
+
*/
|
|
1162
|
+
"type": Type1;
|
|
1163
|
+
}
|
|
1164
|
+
interface GovLayout {
|
|
1165
|
+
/**
|
|
1166
|
+
* Determine if component should have inverse column order
|
|
1167
|
+
*/
|
|
1168
|
+
"inverse": boolean;
|
|
1169
|
+
/**
|
|
1170
|
+
* Layout type
|
|
1171
|
+
*/
|
|
1172
|
+
"type"?: LayoutType;
|
|
1173
|
+
/**
|
|
1174
|
+
* Layout align
|
|
1175
|
+
*/
|
|
1176
|
+
"variant"?: LayoutVariantType;
|
|
1177
|
+
}
|
|
1178
|
+
interface GovLayoutColumn {
|
|
1179
|
+
}
|
|
1180
|
+
interface GovLoading {
|
|
1181
|
+
/**
|
|
1182
|
+
* Determine if loading is active
|
|
1183
|
+
*/
|
|
1184
|
+
"loading": boolean;
|
|
1185
|
+
}
|
|
1186
|
+
interface GovMessage {
|
|
1187
|
+
/**
|
|
1188
|
+
* Style variation of the content message.
|
|
1189
|
+
*/
|
|
1190
|
+
"variant": MessageVariantType;
|
|
1191
|
+
}
|
|
1192
|
+
interface GovModal {
|
|
1193
|
+
/**
|
|
1194
|
+
* Hiding the modal
|
|
1195
|
+
*/
|
|
1196
|
+
"hide": () => Promise<void>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Title of modal window
|
|
1199
|
+
*/
|
|
1200
|
+
"label": string;
|
|
1201
|
+
/**
|
|
1202
|
+
* Used to change the HTML tag in the modal label for correct semantic structure
|
|
1203
|
+
*/
|
|
1204
|
+
"labelTag": string;
|
|
1205
|
+
/**
|
|
1206
|
+
* Attribute for modal window display
|
|
1207
|
+
*/
|
|
1208
|
+
"open": boolean;
|
|
1209
|
+
/**
|
|
1210
|
+
* Role of modal
|
|
1211
|
+
*/
|
|
1212
|
+
"role": string;
|
|
1213
|
+
/**
|
|
1214
|
+
* Showing the modal
|
|
1215
|
+
*/
|
|
1216
|
+
"show": () => Promise<void>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Validate the WCAG attributes of the component
|
|
1219
|
+
*/
|
|
1220
|
+
"validateWcag": () => Promise<void>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Adds accessible label for the modal close button that is only shown for screen readers.
|
|
1223
|
+
*/
|
|
1224
|
+
"wcagCloseLabel": string;
|
|
1225
|
+
/**
|
|
1226
|
+
* A string of identifiers that indicate alternative label elements for closing the modal window
|
|
1227
|
+
*/
|
|
1228
|
+
"wcagCloseLabelledBy": string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Indicates the id of a component that describes the modal.
|
|
1231
|
+
*/
|
|
1232
|
+
"wcagDescribedBy": string;
|
|
1233
|
+
/**
|
|
1234
|
+
* String of id's that indicate alternative labels elements
|
|
1235
|
+
*/
|
|
1236
|
+
"wcagLabelledBy": string;
|
|
1237
|
+
}
|
|
1238
|
+
interface GovNav {
|
|
1239
|
+
/**
|
|
1240
|
+
* Validate the WCAG attributes of the component
|
|
1241
|
+
*/
|
|
1242
|
+
"validateWcag": () => Promise<void>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Adds accessible label for the accordion that is only shown for screen readers.
|
|
1245
|
+
*/
|
|
1246
|
+
"wcagLabel": string;
|
|
1247
|
+
/**
|
|
1248
|
+
* String of id's that indicate alternative labels elements
|
|
1249
|
+
*/
|
|
1250
|
+
"wcagLabelledBy": string;
|
|
1251
|
+
}
|
|
1252
|
+
interface GovNavItem {
|
|
1253
|
+
/**
|
|
1254
|
+
* Same as original parameter
|
|
1255
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
1256
|
+
*/
|
|
1257
|
+
"href": string;
|
|
1258
|
+
}
|
|
1259
|
+
interface GovPagination {
|
|
1260
|
+
/**
|
|
1261
|
+
* Currently displayed page
|
|
1262
|
+
*/
|
|
1263
|
+
"current": number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Set on active page
|
|
1266
|
+
*/
|
|
1267
|
+
"inverse": boolean;
|
|
1268
|
+
/**
|
|
1269
|
+
* Setting a link to redirect to a given page. The {PAGE} wildcard can be used in the link to replace the page number. Note that in the case of paging through a link, it is always necessary to send to the component the current page where the user is.
|
|
1270
|
+
*/
|
|
1271
|
+
"link": string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Maximum pages displayed for selection
|
|
1274
|
+
*/
|
|
1275
|
+
"maxPages": number;
|
|
1276
|
+
/**
|
|
1277
|
+
* Maximum number of entries per page
|
|
1278
|
+
*/
|
|
1279
|
+
"pageSize": number;
|
|
1280
|
+
/**
|
|
1281
|
+
* Pagination's size
|
|
1282
|
+
*/
|
|
1283
|
+
"size"?: PaginationSizeType;
|
|
1284
|
+
/**
|
|
1285
|
+
* Total count of entries
|
|
1286
|
+
*/
|
|
1287
|
+
"total": number;
|
|
1288
|
+
/**
|
|
1289
|
+
* Pagination type
|
|
1290
|
+
*/
|
|
1291
|
+
"type": PaginationType;
|
|
1292
|
+
/**
|
|
1293
|
+
* Validate the WCAG attributes of the component
|
|
1294
|
+
*/
|
|
1295
|
+
"validateWcag": () => Promise<void>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Style variation of the pagination.
|
|
1298
|
+
*/
|
|
1299
|
+
"variant"?: PaginationVariantType;
|
|
1300
|
+
/**
|
|
1301
|
+
* Adds accessible label for the pagination that is only shown for screen readers.
|
|
1302
|
+
*/
|
|
1303
|
+
"wcagLabel": string;
|
|
1304
|
+
/**
|
|
1305
|
+
* Indicates the id of a component that labels the pagination.
|
|
1306
|
+
*/
|
|
1307
|
+
"wcagLabelledBy": string;
|
|
1308
|
+
/**
|
|
1309
|
+
* Adds accessible label for the page item
|
|
1310
|
+
*/
|
|
1311
|
+
"wcagPageLabel": string;
|
|
1312
|
+
/**
|
|
1313
|
+
* Adds accessible label for the page select
|
|
1314
|
+
*/
|
|
1315
|
+
"wcagSelectLabel": string;
|
|
1316
|
+
}
|
|
1317
|
+
interface GovPrompt {
|
|
1318
|
+
/**
|
|
1319
|
+
* Hiding the modal
|
|
1320
|
+
*/
|
|
1321
|
+
"hide": () => Promise<void>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Title of modal window
|
|
1324
|
+
*/
|
|
1325
|
+
"label": string;
|
|
1326
|
+
/**
|
|
1327
|
+
* Used to change the HTML tag in the modal label for correct semantic structure
|
|
1328
|
+
*/
|
|
1329
|
+
"labelTag": string;
|
|
1330
|
+
/**
|
|
1331
|
+
* Attribute for modal window display
|
|
1332
|
+
*/
|
|
1333
|
+
"open": boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* Role of modal
|
|
1336
|
+
*/
|
|
1337
|
+
"role": string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Showing the modal
|
|
1340
|
+
*/
|
|
1341
|
+
"show": () => Promise<void>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Validate the WCAG attributes of the component
|
|
1344
|
+
*/
|
|
1345
|
+
"validateWcag": () => Promise<void>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Adds accessible label for the modal close button that is only shown for screen readers.
|
|
1348
|
+
*/
|
|
1349
|
+
"wcagCloseLabel": string;
|
|
1350
|
+
/**
|
|
1351
|
+
* A string of identifiers that indicate alternative label elements for closing the modal window
|
|
1352
|
+
*/
|
|
1353
|
+
"wcagCloseLabelledBy": string;
|
|
1354
|
+
/**
|
|
1355
|
+
* Indicates the id of a component that describes the modal.
|
|
1356
|
+
*/
|
|
1357
|
+
"wcagDescribedBy": string;
|
|
1358
|
+
/**
|
|
1359
|
+
* String of id's that indicate alternative labels elements
|
|
1360
|
+
*/
|
|
1361
|
+
"wcagLabelledBy": string;
|
|
1362
|
+
}
|
|
1363
|
+
interface GovSideNav {
|
|
1364
|
+
/**
|
|
1365
|
+
* Determide if component should have compact styles.
|
|
1366
|
+
*/
|
|
1367
|
+
"compact": boolean;
|
|
1368
|
+
/**
|
|
1369
|
+
* Determide if component should have inversed colors to be used on dark background.
|
|
1370
|
+
*/
|
|
1371
|
+
"inverse": boolean;
|
|
1372
|
+
/**
|
|
1373
|
+
* Validate the WCAG attributes of the component
|
|
1374
|
+
*/
|
|
1375
|
+
"validateWcag": () => Promise<void>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Adds accessible label for the sidenav that is only shown for screen readers.
|
|
1378
|
+
*/
|
|
1379
|
+
"wcagLabel": string;
|
|
1380
|
+
/**
|
|
1381
|
+
* String of id's that indicate alternative labels elements
|
|
1382
|
+
*/
|
|
1383
|
+
"wcagLabelledBy": string;
|
|
1384
|
+
}
|
|
1385
|
+
interface GovSideNavItem {
|
|
1386
|
+
/**
|
|
1387
|
+
* Closing the sidenav
|
|
1388
|
+
*/
|
|
1389
|
+
"close": () => Promise<void>;
|
|
1390
|
+
/**
|
|
1391
|
+
* Determide if component should have compact styles.
|
|
1392
|
+
*/
|
|
1393
|
+
"compact": boolean;
|
|
1394
|
+
/**
|
|
1395
|
+
* Defined the count of nested items
|
|
1396
|
+
*/
|
|
1397
|
+
"count": boolean;
|
|
1398
|
+
/**
|
|
1399
|
+
* Returns the current state of the component
|
|
1400
|
+
*/
|
|
1401
|
+
"currentState": () => Promise<boolean>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
1404
|
+
*/
|
|
1405
|
+
"disabled": boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* Same as original parameter
|
|
1408
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
1409
|
+
*/
|
|
1410
|
+
"href": string;
|
|
1411
|
+
/**
|
|
1412
|
+
* Custom sidenav item identifier. Otherwise, it will be generated
|
|
1413
|
+
*/
|
|
1414
|
+
"identifier": string;
|
|
1415
|
+
/**
|
|
1416
|
+
* Determide if component should have inversed colors to be used on dark background
|
|
1417
|
+
*/
|
|
1418
|
+
"inverse": boolean;
|
|
1419
|
+
/**
|
|
1420
|
+
* Defines whether the sidenav is open or closed by default
|
|
1421
|
+
*/
|
|
1422
|
+
"isExpanded": boolean;
|
|
1423
|
+
/**
|
|
1424
|
+
* Item name of the sidenav
|
|
1425
|
+
*/
|
|
1426
|
+
"label": string;
|
|
1427
|
+
/**
|
|
1428
|
+
* Opening the sidenav
|
|
1429
|
+
*/
|
|
1430
|
+
"open": () => Promise<void>;
|
|
1431
|
+
/**
|
|
1432
|
+
* sidenav switch
|
|
1433
|
+
*/
|
|
1434
|
+
"toggle": () => Promise<void>;
|
|
1435
|
+
}
|
|
1436
|
+
interface GovSkeleton {
|
|
1437
|
+
/**
|
|
1438
|
+
* Animation type
|
|
1439
|
+
*/
|
|
1440
|
+
"animation"?: SkeletonAnimationType;
|
|
1441
|
+
/**
|
|
1442
|
+
* Number of rows of current skeleton type
|
|
1443
|
+
*/
|
|
1444
|
+
"count": number;
|
|
1445
|
+
/**
|
|
1446
|
+
* Height of the skeleton ex. 100px, 100%, auto etc.
|
|
1447
|
+
*/
|
|
1448
|
+
"height": string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Shape of the skeleton
|
|
1451
|
+
*/
|
|
1452
|
+
"shape"?: SkeletonShapesType;
|
|
1453
|
+
/**
|
|
1454
|
+
* Validate the WCAG attributes of the component
|
|
1455
|
+
*/
|
|
1456
|
+
"validateWcag": () => Promise<void>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Style variation of the skeleton.
|
|
1459
|
+
*/
|
|
1460
|
+
"variant"?: SkeletonVariantsType;
|
|
1461
|
+
/**
|
|
1462
|
+
* Adds accessible label for the skeleton that is only shown for screen readers.
|
|
1463
|
+
*/
|
|
1464
|
+
"wcagLabel": string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Width of the skeleton ex. 100px, 100%, auto etc.
|
|
1467
|
+
*/
|
|
1468
|
+
"width": string;
|
|
1469
|
+
}
|
|
1470
|
+
interface GovSpacer {
|
|
1471
|
+
/**
|
|
1472
|
+
* Breakpoint
|
|
1473
|
+
*/
|
|
1474
|
+
"breakpoint"?: SpacerBreakpointsType;
|
|
1475
|
+
/**
|
|
1476
|
+
* Spacer’s size
|
|
1477
|
+
*/
|
|
1478
|
+
"size"?: SpacerSizeType;
|
|
1479
|
+
}
|
|
1480
|
+
interface GovStatsbar {
|
|
1481
|
+
/**
|
|
1482
|
+
* Icon’s position
|
|
1483
|
+
*/
|
|
1484
|
+
"iconPosition"?: StatsBarIconPositionType;
|
|
1485
|
+
/**
|
|
1486
|
+
* Style variation
|
|
1487
|
+
*/
|
|
1488
|
+
"variant"?: StatsBarVariantType;
|
|
1489
|
+
}
|
|
1490
|
+
interface GovStatsbarItem {
|
|
1491
|
+
/**
|
|
1492
|
+
* Icon’s position
|
|
1493
|
+
*/
|
|
1494
|
+
"iconPosition"?: StatsBarIconPositionType;
|
|
1495
|
+
}
|
|
1496
|
+
interface GovStepper {
|
|
1497
|
+
/**
|
|
1498
|
+
* Size of stepper
|
|
1499
|
+
*/
|
|
1500
|
+
"size"?: StepperSizesType;
|
|
1501
|
+
}
|
|
1502
|
+
interface GovStepperItem {
|
|
1503
|
+
/**
|
|
1504
|
+
* Item annotation of the stepper
|
|
1505
|
+
*/
|
|
1506
|
+
"annotation": string;
|
|
1507
|
+
/**
|
|
1508
|
+
* Returns the current state of the component
|
|
1509
|
+
*/
|
|
1510
|
+
"currentState": () => Promise<boolean>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Custom stepper item identifier. Otherwise, it will be generated
|
|
1513
|
+
*/
|
|
1514
|
+
"identifier": string;
|
|
1515
|
+
/**
|
|
1516
|
+
* Item name of the stepper
|
|
1517
|
+
*/
|
|
1518
|
+
"label": string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Size of stepper
|
|
1521
|
+
*/
|
|
1522
|
+
"size"?: StepperSizesType;
|
|
1523
|
+
/**
|
|
1524
|
+
* Used to change the HMTL tag in the stepper trigger for correct semantic structure
|
|
1525
|
+
*/
|
|
1526
|
+
"triggerTag": string;
|
|
1527
|
+
/**
|
|
1528
|
+
* Style variation of the button.
|
|
1529
|
+
*/
|
|
1530
|
+
"variant"?: StepperVariantType;
|
|
1531
|
+
}
|
|
1532
|
+
interface GovTabs {
|
|
1533
|
+
/**
|
|
1534
|
+
* Returns the currently selected tabs-item
|
|
1535
|
+
*/
|
|
1536
|
+
"currentTab": () => Promise<Nullable<HTMLGovTabsItemElement>>;
|
|
1537
|
+
/**
|
|
1538
|
+
* Tabs orientation
|
|
1539
|
+
*/
|
|
1540
|
+
"orientation": TabOrientationType;
|
|
1541
|
+
/**
|
|
1542
|
+
* Regenerate tabs controllers
|
|
1543
|
+
*/
|
|
1544
|
+
"refresh": () => Promise<void>;
|
|
1545
|
+
/**
|
|
1546
|
+
* Regenerate tabs controllers
|
|
1547
|
+
*/
|
|
1548
|
+
"setActiveTab": (identifier: string) => Promise<void>;
|
|
1549
|
+
/**
|
|
1550
|
+
* Tabs type
|
|
1551
|
+
*/
|
|
1552
|
+
"type": TabType;
|
|
1553
|
+
/**
|
|
1554
|
+
* Validate the WCAG attributes of the component
|
|
1555
|
+
*/
|
|
1556
|
+
"validateWcag": () => Promise<void>;
|
|
1557
|
+
/**
|
|
1558
|
+
* Style variation of the tab badges.
|
|
1559
|
+
*/
|
|
1560
|
+
"variant"?: VariantType2;
|
|
1561
|
+
/**
|
|
1562
|
+
* Adds accessible label for the tabs that is only shown for screen readers.
|
|
1563
|
+
*/
|
|
1564
|
+
"wcagLabel": string;
|
|
1565
|
+
/**
|
|
1566
|
+
* Indicates the id of a component that labels the tabs.
|
|
1567
|
+
*/
|
|
1568
|
+
"wcagLabelledBy": string;
|
|
1569
|
+
/**
|
|
1570
|
+
* Adds accessible label for the tabs select
|
|
1571
|
+
*/
|
|
1572
|
+
"wcagSelectLabel": string;
|
|
1573
|
+
}
|
|
1574
|
+
interface GovTabsItem {
|
|
1575
|
+
/**
|
|
1576
|
+
* Default selected tab
|
|
1577
|
+
*/
|
|
1578
|
+
"default": boolean;
|
|
1579
|
+
/**
|
|
1580
|
+
* Returns a unique tab content identifier
|
|
1581
|
+
*/
|
|
1582
|
+
"getIdentifier": () => Promise<string>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Returns a unique tab trigger identifier
|
|
1585
|
+
*/
|
|
1586
|
+
"getTriggerIdentifier": () => Promise<string>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Custom tab item identifier. Otherwise, it will be generated
|
|
1589
|
+
*/
|
|
1590
|
+
"identifier": string;
|
|
1591
|
+
/**
|
|
1592
|
+
* Item name of the tab
|
|
1593
|
+
*/
|
|
1594
|
+
"label": string;
|
|
1595
|
+
/**
|
|
1596
|
+
* Set status of tab-item
|
|
1597
|
+
*/
|
|
1598
|
+
"setActiveStatus": (status: boolean) => Promise<void>;
|
|
1599
|
+
/**
|
|
1600
|
+
* Custom tab trigger item identifier. Otherwise, it will be generated
|
|
1601
|
+
*/
|
|
1602
|
+
"triggerIdentifier": string;
|
|
1603
|
+
}
|
|
1604
|
+
interface GovTile {
|
|
1605
|
+
/**
|
|
1606
|
+
* Link on whole tile
|
|
1607
|
+
*/
|
|
1608
|
+
"href": string;
|
|
1609
|
+
/**
|
|
1610
|
+
* Item name
|
|
1611
|
+
*/
|
|
1612
|
+
"name": string;
|
|
1613
|
+
/**
|
|
1614
|
+
* Style variation of the card.
|
|
1615
|
+
*/
|
|
1616
|
+
"promotion": boolean;
|
|
1617
|
+
}
|
|
1618
|
+
interface GovTiles {
|
|
1619
|
+
/**
|
|
1620
|
+
* Number of columns between 1-4
|
|
1621
|
+
*/
|
|
1622
|
+
"columns": number;
|
|
1623
|
+
/**
|
|
1624
|
+
* Tiles border
|
|
1625
|
+
*/
|
|
1626
|
+
"noBorder": boolean;
|
|
1627
|
+
}
|
|
1628
|
+
interface GovToast {
|
|
1629
|
+
/**
|
|
1630
|
+
* Closing button texting instead of icons
|
|
1631
|
+
*/
|
|
1632
|
+
"closeLabel": string;
|
|
1633
|
+
/**
|
|
1634
|
+
* Remove toast from dom
|
|
1635
|
+
*/
|
|
1636
|
+
"destroy": () => Promise<void>;
|
|
1637
|
+
/**
|
|
1638
|
+
* Toast’s gravity
|
|
1639
|
+
*/
|
|
1640
|
+
"gravity": 'top' | 'bottom';
|
|
1641
|
+
/**
|
|
1642
|
+
* Toast’s position
|
|
1643
|
+
*/
|
|
1644
|
+
"position": 'left' | 'center' | 'right';
|
|
1645
|
+
/**
|
|
1646
|
+
* Number of milliseconds to wait before Toast disappear
|
|
1647
|
+
*/
|
|
1648
|
+
"time": number;
|
|
1649
|
+
/**
|
|
1650
|
+
* Toast type
|
|
1651
|
+
*/
|
|
1652
|
+
"type"?: ToastTypesType;
|
|
1653
|
+
/**
|
|
1654
|
+
* Style variation of the toast message.
|
|
1655
|
+
*/
|
|
1656
|
+
"variant"?: ToastVariantType;
|
|
1657
|
+
/**
|
|
1658
|
+
* Aria label for the closing button. It is mandatory if the alert is closable
|
|
1659
|
+
*/
|
|
1660
|
+
"wcagCloseLabel": string;
|
|
1661
|
+
}
|
|
1662
|
+
interface GovTooltip {
|
|
1663
|
+
/**
|
|
1664
|
+
* Hidding the modal
|
|
1665
|
+
*/
|
|
1666
|
+
"hide": () => Promise<void>;
|
|
1667
|
+
/**
|
|
1668
|
+
* Trigger is just an icon
|
|
1669
|
+
*/
|
|
1670
|
+
"icon": boolean;
|
|
1671
|
+
/**
|
|
1672
|
+
* Custom tooltip identifier.
|
|
1673
|
+
*/
|
|
1674
|
+
"identifier": string;
|
|
1675
|
+
/**
|
|
1676
|
+
* Information contained in the tolltip
|
|
1677
|
+
*/
|
|
1678
|
+
"message": string;
|
|
1679
|
+
/**
|
|
1680
|
+
* Tooltip display position
|
|
1681
|
+
*/
|
|
1682
|
+
"position": TooltipPositionType;
|
|
1683
|
+
/**
|
|
1684
|
+
* Showing the modal
|
|
1685
|
+
*/
|
|
1686
|
+
"show": () => Promise<void>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Tooltip’s size.
|
|
1689
|
+
*/
|
|
1690
|
+
"size"?: TooltipSizeType;
|
|
1691
|
+
/**
|
|
1692
|
+
* Style variation of the tooltip
|
|
1693
|
+
*/
|
|
1694
|
+
"variant"?: TooltipVariantType;
|
|
1695
|
+
}
|
|
1696
|
+
interface GovTooltipContent {
|
|
1697
|
+
/**
|
|
1698
|
+
* Indicates display of tooltip content
|
|
1699
|
+
*/
|
|
1700
|
+
"isVisible": boolean;
|
|
1701
|
+
}
|
|
1702
|
+
interface GovWizzard {
|
|
1703
|
+
/**
|
|
1704
|
+
* Size of wizzard
|
|
1705
|
+
*/
|
|
1706
|
+
"size"?: WizardSizesType;
|
|
1707
|
+
/**
|
|
1708
|
+
* Validate the WCAG attributes of the component
|
|
1709
|
+
*/
|
|
1710
|
+
"validateWcag": () => Promise<void>;
|
|
1711
|
+
/**
|
|
1712
|
+
* Adds accessible label for the wizzard that is only shown for screen readers.
|
|
1713
|
+
*/
|
|
1714
|
+
"wcagLabel": string;
|
|
1715
|
+
/**
|
|
1716
|
+
* String of id's that indicate alternative labels elements
|
|
1717
|
+
*/
|
|
1718
|
+
"wcagLabelledBy": string;
|
|
1719
|
+
}
|
|
1720
|
+
interface GovWizzardItem {
|
|
1721
|
+
/**
|
|
1722
|
+
* Item annotation of the wizzard
|
|
1723
|
+
*/
|
|
1724
|
+
"annotation": string;
|
|
1725
|
+
/**
|
|
1726
|
+
* Closing the Wizzard
|
|
1727
|
+
*/
|
|
1728
|
+
"close": () => Promise<void>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Defines wether the wizzard item can be collapsible
|
|
1731
|
+
*/
|
|
1732
|
+
"collapsible": boolean;
|
|
1733
|
+
/**
|
|
1734
|
+
* Returns the current state of the component
|
|
1735
|
+
*/
|
|
1736
|
+
"currentState": () => Promise<boolean>;
|
|
1737
|
+
/**
|
|
1738
|
+
* Makes the wizzard component disabled.
|
|
1739
|
+
*/
|
|
1740
|
+
"disabled": boolean;
|
|
1741
|
+
/**
|
|
1742
|
+
* Custom wizzard item identifier. Otherwise, it will be generated
|
|
1743
|
+
*/
|
|
1744
|
+
"identifier": string;
|
|
1745
|
+
/**
|
|
1746
|
+
* Defines whether the accordion is open or closed by default
|
|
1747
|
+
*/
|
|
1748
|
+
"isExpanded": boolean;
|
|
1749
|
+
/**
|
|
1750
|
+
* Item label of the wizzard
|
|
1751
|
+
*/
|
|
1752
|
+
"label": string;
|
|
1753
|
+
/**
|
|
1754
|
+
* Used to change the HMTL tag in the accordion trigger for correct semantic structure
|
|
1755
|
+
*/
|
|
1756
|
+
"labelTag": string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Opening the Wizzard
|
|
1759
|
+
*/
|
|
1760
|
+
"open": () => Promise<void>;
|
|
1761
|
+
/**
|
|
1762
|
+
* Size of wizzard
|
|
1763
|
+
*/
|
|
1764
|
+
"size"?: WizardSizesType;
|
|
1765
|
+
/**
|
|
1766
|
+
* Wizzard switch
|
|
1767
|
+
*/
|
|
1768
|
+
"toggle": () => Promise<void>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Style variation of the button.
|
|
1771
|
+
*/
|
|
1772
|
+
"variant"?: WizardVariantsType;
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
export interface GovAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
1776
|
+
detail: T;
|
|
1777
|
+
target: HTMLGovAccordionElement;
|
|
1778
|
+
}
|
|
1779
|
+
export interface GovAccordionItemCustomEvent<T> extends CustomEvent<T> {
|
|
1780
|
+
detail: T;
|
|
1781
|
+
target: HTMLGovAccordionItemElement;
|
|
1782
|
+
}
|
|
1783
|
+
export interface GovAlertCustomEvent<T> extends CustomEvent<T> {
|
|
1784
|
+
detail: T;
|
|
1785
|
+
target: HTMLGovAlertElement;
|
|
1786
|
+
}
|
|
1787
|
+
export interface GovAttachmentsItemCustomEvent<T> extends CustomEvent<T> {
|
|
1788
|
+
detail: T;
|
|
1789
|
+
target: HTMLGovAttachmentsItemElement;
|
|
1790
|
+
}
|
|
1791
|
+
export interface GovBackdropCustomEvent<T> extends CustomEvent<T> {
|
|
1792
|
+
detail: T;
|
|
1793
|
+
target: HTMLGovBackdropElement;
|
|
1794
|
+
}
|
|
1795
|
+
export interface GovBadgeCustomEvent<T> extends CustomEvent<T> {
|
|
1796
|
+
detail: T;
|
|
1797
|
+
target: HTMLGovBadgeElement;
|
|
1798
|
+
}
|
|
1799
|
+
export interface GovBreadcrumbsCustomEvent<T> extends CustomEvent<T> {
|
|
1800
|
+
detail: T;
|
|
1801
|
+
target: HTMLGovBreadcrumbsElement;
|
|
1802
|
+
}
|
|
1803
|
+
export interface GovButtonCustomEvent<T> extends CustomEvent<T> {
|
|
1804
|
+
detail: T;
|
|
1805
|
+
target: HTMLGovButtonElement;
|
|
1806
|
+
}
|
|
1807
|
+
export interface GovCardCustomEvent<T> extends CustomEvent<T> {
|
|
1808
|
+
detail: T;
|
|
1809
|
+
target: HTMLGovCardElement;
|
|
1810
|
+
}
|
|
1811
|
+
export interface GovFormAutocompleteCustomEvent<T> extends CustomEvent<T> {
|
|
1812
|
+
detail: T;
|
|
1813
|
+
target: HTMLGovFormAutocompleteElement;
|
|
1814
|
+
}
|
|
1815
|
+
export interface GovFormCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
1816
|
+
detail: T;
|
|
1817
|
+
target: HTMLGovFormCheckboxElement;
|
|
1818
|
+
}
|
|
1819
|
+
export interface GovFormFileCustomEvent<T> extends CustomEvent<T> {
|
|
1820
|
+
detail: T;
|
|
1821
|
+
target: HTMLGovFormFileElement;
|
|
1822
|
+
}
|
|
1823
|
+
export interface GovFormInputCustomEvent<T> extends CustomEvent<T> {
|
|
1824
|
+
detail: T;
|
|
1825
|
+
target: HTMLGovFormInputElement;
|
|
1826
|
+
}
|
|
1827
|
+
export interface GovFormLabelCustomEvent<T> extends CustomEvent<T> {
|
|
1828
|
+
detail: T;
|
|
1829
|
+
target: HTMLGovFormLabelElement;
|
|
1830
|
+
}
|
|
1831
|
+
export interface GovFormMultiSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1832
|
+
detail: T;
|
|
1833
|
+
target: HTMLGovFormMultiSelectElement;
|
|
1834
|
+
}
|
|
1835
|
+
export interface GovFormRadioCustomEvent<T> extends CustomEvent<T> {
|
|
1836
|
+
detail: T;
|
|
1837
|
+
target: HTMLGovFormRadioElement;
|
|
1838
|
+
}
|
|
1839
|
+
export interface GovFormSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1840
|
+
detail: T;
|
|
1841
|
+
target: HTMLGovFormSelectElement;
|
|
1842
|
+
}
|
|
1843
|
+
export interface GovFormSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
1844
|
+
detail: T;
|
|
1845
|
+
target: HTMLGovFormSwitchElement;
|
|
1846
|
+
}
|
|
1847
|
+
export interface GovModalCustomEvent<T> extends CustomEvent<T> {
|
|
1848
|
+
detail: T;
|
|
1849
|
+
target: HTMLGovModalElement;
|
|
1850
|
+
}
|
|
1851
|
+
export interface GovPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
1852
|
+
detail: T;
|
|
1853
|
+
target: HTMLGovPaginationElement;
|
|
1854
|
+
}
|
|
1855
|
+
export interface GovPromptCustomEvent<T> extends CustomEvent<T> {
|
|
1856
|
+
detail: T;
|
|
1857
|
+
target: HTMLGovPromptElement;
|
|
1858
|
+
}
|
|
1859
|
+
export interface GovSideNavCustomEvent<T> extends CustomEvent<T> {
|
|
1860
|
+
detail: T;
|
|
1861
|
+
target: HTMLGovSideNavElement;
|
|
1862
|
+
}
|
|
1863
|
+
export interface GovSideNavItemCustomEvent<T> extends CustomEvent<T> {
|
|
1864
|
+
detail: T;
|
|
1865
|
+
target: HTMLGovSideNavItemElement;
|
|
1866
|
+
}
|
|
1867
|
+
export interface GovStepperCustomEvent<T> extends CustomEvent<T> {
|
|
1868
|
+
detail: T;
|
|
1869
|
+
target: HTMLGovStepperElement;
|
|
1870
|
+
}
|
|
1871
|
+
export interface GovStepperItemCustomEvent<T> extends CustomEvent<T> {
|
|
1872
|
+
detail: T;
|
|
1873
|
+
target: HTMLGovStepperItemElement;
|
|
1874
|
+
}
|
|
1875
|
+
export interface GovTabsCustomEvent<T> extends CustomEvent<T> {
|
|
1876
|
+
detail: T;
|
|
1877
|
+
target: HTMLGovTabsElement;
|
|
1878
|
+
}
|
|
1879
|
+
export interface GovToastCustomEvent<T> extends CustomEvent<T> {
|
|
1880
|
+
detail: T;
|
|
1881
|
+
target: HTMLGovToastElement;
|
|
1882
|
+
}
|
|
1883
|
+
export interface GovWizzardCustomEvent<T> extends CustomEvent<T> {
|
|
1884
|
+
detail: T;
|
|
1885
|
+
target: HTMLGovWizzardElement;
|
|
1886
|
+
}
|
|
1887
|
+
export interface GovWizzardItemCustomEvent<T> extends CustomEvent<T> {
|
|
1888
|
+
detail: T;
|
|
1889
|
+
target: HTMLGovWizzardItemElement;
|
|
1890
|
+
}
|
|
1891
|
+
declare global {
|
|
1892
|
+
interface HTMLGovAccordionElement extends Components.GovAccordion, HTMLStencilElement {
|
|
1893
|
+
}
|
|
1894
|
+
var HTMLGovAccordionElement: {
|
|
1895
|
+
prototype: HTMLGovAccordionElement;
|
|
1896
|
+
new (): HTMLGovAccordionElement;
|
|
1897
|
+
};
|
|
1898
|
+
interface HTMLGovAccordionItemElement extends Components.GovAccordionItem, HTMLStencilElement {
|
|
1899
|
+
}
|
|
1900
|
+
var HTMLGovAccordionItemElement: {
|
|
1901
|
+
prototype: HTMLGovAccordionItemElement;
|
|
1902
|
+
new (): HTMLGovAccordionItemElement;
|
|
1903
|
+
};
|
|
1904
|
+
interface HTMLGovAlertElement extends Components.GovAlert, HTMLStencilElement {
|
|
1905
|
+
}
|
|
1906
|
+
var HTMLGovAlertElement: {
|
|
1907
|
+
prototype: HTMLGovAlertElement;
|
|
1908
|
+
new (): HTMLGovAlertElement;
|
|
1909
|
+
};
|
|
1910
|
+
interface HTMLGovAppElement extends Components.GovApp, HTMLStencilElement {
|
|
1911
|
+
}
|
|
1912
|
+
var HTMLGovAppElement: {
|
|
1913
|
+
prototype: HTMLGovAppElement;
|
|
1914
|
+
new (): HTMLGovAppElement;
|
|
1915
|
+
};
|
|
1916
|
+
interface HTMLGovAttachmentsElement extends Components.GovAttachments, HTMLStencilElement {
|
|
1917
|
+
}
|
|
1918
|
+
var HTMLGovAttachmentsElement: {
|
|
1919
|
+
prototype: HTMLGovAttachmentsElement;
|
|
1920
|
+
new (): HTMLGovAttachmentsElement;
|
|
1921
|
+
};
|
|
1922
|
+
interface HTMLGovAttachmentsItemElement extends Components.GovAttachmentsItem, HTMLStencilElement {
|
|
1923
|
+
}
|
|
1924
|
+
var HTMLGovAttachmentsItemElement: {
|
|
1925
|
+
prototype: HTMLGovAttachmentsItemElement;
|
|
1926
|
+
new (): HTMLGovAttachmentsItemElement;
|
|
1927
|
+
};
|
|
1928
|
+
interface HTMLGovBackdropElement extends Components.GovBackdrop, HTMLStencilElement {
|
|
1929
|
+
}
|
|
1930
|
+
var HTMLGovBackdropElement: {
|
|
1931
|
+
prototype: HTMLGovBackdropElement;
|
|
1932
|
+
new (): HTMLGovBackdropElement;
|
|
1933
|
+
};
|
|
1934
|
+
interface HTMLGovBadgeElement extends Components.GovBadge, HTMLStencilElement {
|
|
1935
|
+
}
|
|
1936
|
+
var HTMLGovBadgeElement: {
|
|
1937
|
+
prototype: HTMLGovBadgeElement;
|
|
1938
|
+
new (): HTMLGovBadgeElement;
|
|
1939
|
+
};
|
|
1940
|
+
interface HTMLGovBreadcrumbsElement extends Components.GovBreadcrumbs, HTMLStencilElement {
|
|
1941
|
+
}
|
|
1942
|
+
var HTMLGovBreadcrumbsElement: {
|
|
1943
|
+
prototype: HTMLGovBreadcrumbsElement;
|
|
1944
|
+
new (): HTMLGovBreadcrumbsElement;
|
|
1945
|
+
};
|
|
1946
|
+
interface HTMLGovButtonElement extends Components.GovButton, HTMLStencilElement {
|
|
1947
|
+
}
|
|
1948
|
+
var HTMLGovButtonElement: {
|
|
1949
|
+
prototype: HTMLGovButtonElement;
|
|
1950
|
+
new (): HTMLGovButtonElement;
|
|
1951
|
+
};
|
|
1952
|
+
interface HTMLGovCardElement extends Components.GovCard, HTMLStencilElement {
|
|
1953
|
+
}
|
|
1954
|
+
var HTMLGovCardElement: {
|
|
1955
|
+
prototype: HTMLGovCardElement;
|
|
1956
|
+
new (): HTMLGovCardElement;
|
|
1957
|
+
};
|
|
1958
|
+
interface HTMLGovContainerElement extends Components.GovContainer, HTMLStencilElement {
|
|
1959
|
+
}
|
|
1960
|
+
var HTMLGovContainerElement: {
|
|
1961
|
+
prototype: HTMLGovContainerElement;
|
|
1962
|
+
new (): HTMLGovContainerElement;
|
|
1963
|
+
};
|
|
1964
|
+
interface HTMLGovCookiebarElement extends Components.GovCookiebar, HTMLStencilElement {
|
|
1965
|
+
}
|
|
1966
|
+
var HTMLGovCookiebarElement: {
|
|
1967
|
+
prototype: HTMLGovCookiebarElement;
|
|
1968
|
+
new (): HTMLGovCookiebarElement;
|
|
1969
|
+
};
|
|
1970
|
+
interface HTMLGovEmptyElement extends Components.GovEmpty, HTMLStencilElement {
|
|
1971
|
+
}
|
|
1972
|
+
var HTMLGovEmptyElement: {
|
|
1973
|
+
prototype: HTMLGovEmptyElement;
|
|
1974
|
+
new (): HTMLGovEmptyElement;
|
|
1975
|
+
};
|
|
1976
|
+
interface HTMLGovErrorCodeElement extends Components.GovErrorCode, HTMLStencilElement {
|
|
1977
|
+
}
|
|
1978
|
+
var HTMLGovErrorCodeElement: {
|
|
1979
|
+
prototype: HTMLGovErrorCodeElement;
|
|
1980
|
+
new (): HTMLGovErrorCodeElement;
|
|
1981
|
+
};
|
|
1982
|
+
interface HTMLGovFormAutocompleteElement extends Components.GovFormAutocomplete, HTMLStencilElement {
|
|
1983
|
+
}
|
|
1984
|
+
var HTMLGovFormAutocompleteElement: {
|
|
1985
|
+
prototype: HTMLGovFormAutocompleteElement;
|
|
1986
|
+
new (): HTMLGovFormAutocompleteElement;
|
|
1987
|
+
};
|
|
1988
|
+
interface HTMLGovFormCheckboxElement extends Components.GovFormCheckbox, HTMLStencilElement {
|
|
1989
|
+
}
|
|
1990
|
+
var HTMLGovFormCheckboxElement: {
|
|
1991
|
+
prototype: HTMLGovFormCheckboxElement;
|
|
1992
|
+
new (): HTMLGovFormCheckboxElement;
|
|
1993
|
+
};
|
|
1994
|
+
interface HTMLGovFormControlElement extends Components.GovFormControl, HTMLStencilElement {
|
|
1995
|
+
}
|
|
1996
|
+
var HTMLGovFormControlElement: {
|
|
1997
|
+
prototype: HTMLGovFormControlElement;
|
|
1998
|
+
new (): HTMLGovFormControlElement;
|
|
1999
|
+
};
|
|
2000
|
+
interface HTMLGovFormFileElement extends Components.GovFormFile, HTMLStencilElement {
|
|
2001
|
+
}
|
|
2002
|
+
var HTMLGovFormFileElement: {
|
|
2003
|
+
prototype: HTMLGovFormFileElement;
|
|
2004
|
+
new (): HTMLGovFormFileElement;
|
|
2005
|
+
};
|
|
2006
|
+
interface HTMLGovFormGroupElement extends Components.GovFormGroup, HTMLStencilElement {
|
|
2007
|
+
}
|
|
2008
|
+
var HTMLGovFormGroupElement: {
|
|
2009
|
+
prototype: HTMLGovFormGroupElement;
|
|
2010
|
+
new (): HTMLGovFormGroupElement;
|
|
2011
|
+
};
|
|
2012
|
+
interface HTMLGovFormInputElement extends Components.GovFormInput, HTMLStencilElement {
|
|
2013
|
+
}
|
|
2014
|
+
var HTMLGovFormInputElement: {
|
|
2015
|
+
prototype: HTMLGovFormInputElement;
|
|
2016
|
+
new (): HTMLGovFormInputElement;
|
|
2017
|
+
};
|
|
2018
|
+
interface HTMLGovFormLabelElement extends Components.GovFormLabel, HTMLStencilElement {
|
|
2019
|
+
}
|
|
2020
|
+
var HTMLGovFormLabelElement: {
|
|
2021
|
+
prototype: HTMLGovFormLabelElement;
|
|
2022
|
+
new (): HTMLGovFormLabelElement;
|
|
2023
|
+
};
|
|
2024
|
+
interface HTMLGovFormMessageElement extends Components.GovFormMessage, HTMLStencilElement {
|
|
2025
|
+
}
|
|
2026
|
+
var HTMLGovFormMessageElement: {
|
|
2027
|
+
prototype: HTMLGovFormMessageElement;
|
|
2028
|
+
new (): HTMLGovFormMessageElement;
|
|
2029
|
+
};
|
|
2030
|
+
interface HTMLGovFormMultiSelectElement extends Components.GovFormMultiSelect, HTMLStencilElement {
|
|
2031
|
+
}
|
|
2032
|
+
var HTMLGovFormMultiSelectElement: {
|
|
2033
|
+
prototype: HTMLGovFormMultiSelectElement;
|
|
2034
|
+
new (): HTMLGovFormMultiSelectElement;
|
|
2035
|
+
};
|
|
2036
|
+
interface HTMLGovFormPasswordPowerElement extends Components.GovFormPasswordPower, HTMLStencilElement {
|
|
2037
|
+
}
|
|
2038
|
+
var HTMLGovFormPasswordPowerElement: {
|
|
2039
|
+
prototype: HTMLGovFormPasswordPowerElement;
|
|
2040
|
+
new (): HTMLGovFormPasswordPowerElement;
|
|
2041
|
+
};
|
|
2042
|
+
interface HTMLGovFormRadioElement extends Components.GovFormRadio, HTMLStencilElement {
|
|
2043
|
+
}
|
|
2044
|
+
var HTMLGovFormRadioElement: {
|
|
2045
|
+
prototype: HTMLGovFormRadioElement;
|
|
2046
|
+
new (): HTMLGovFormRadioElement;
|
|
2047
|
+
};
|
|
2048
|
+
interface HTMLGovFormSearchElement extends Components.GovFormSearch, HTMLStencilElement {
|
|
2049
|
+
}
|
|
2050
|
+
var HTMLGovFormSearchElement: {
|
|
2051
|
+
prototype: HTMLGovFormSearchElement;
|
|
2052
|
+
new (): HTMLGovFormSearchElement;
|
|
2053
|
+
};
|
|
2054
|
+
interface HTMLGovFormSelectElement extends Components.GovFormSelect, HTMLStencilElement {
|
|
2055
|
+
}
|
|
2056
|
+
var HTMLGovFormSelectElement: {
|
|
2057
|
+
prototype: HTMLGovFormSelectElement;
|
|
2058
|
+
new (): HTMLGovFormSelectElement;
|
|
2059
|
+
};
|
|
2060
|
+
interface HTMLGovFormSwitchElement extends Components.GovFormSwitch, HTMLStencilElement {
|
|
2061
|
+
}
|
|
2062
|
+
var HTMLGovFormSwitchElement: {
|
|
2063
|
+
prototype: HTMLGovFormSwitchElement;
|
|
2064
|
+
new (): HTMLGovFormSwitchElement;
|
|
2065
|
+
};
|
|
2066
|
+
interface HTMLGovGridElement extends Components.GovGrid, HTMLStencilElement {
|
|
2067
|
+
}
|
|
2068
|
+
var HTMLGovGridElement: {
|
|
2069
|
+
prototype: HTMLGovGridElement;
|
|
2070
|
+
new (): HTMLGovGridElement;
|
|
2071
|
+
};
|
|
2072
|
+
interface HTMLGovGridItemElement extends Components.GovGridItem, HTMLStencilElement {
|
|
2073
|
+
}
|
|
2074
|
+
var HTMLGovGridItemElement: {
|
|
2075
|
+
prototype: HTMLGovGridItemElement;
|
|
2076
|
+
new (): HTMLGovGridItemElement;
|
|
2077
|
+
};
|
|
2078
|
+
interface HTMLGovIconElement extends Components.GovIcon, HTMLStencilElement {
|
|
2079
|
+
}
|
|
2080
|
+
var HTMLGovIconElement: {
|
|
2081
|
+
prototype: HTMLGovIconElement;
|
|
2082
|
+
new (): HTMLGovIconElement;
|
|
2083
|
+
};
|
|
2084
|
+
interface HTMLGovLayoutElement extends Components.GovLayout, HTMLStencilElement {
|
|
2085
|
+
}
|
|
2086
|
+
var HTMLGovLayoutElement: {
|
|
2087
|
+
prototype: HTMLGovLayoutElement;
|
|
2088
|
+
new (): HTMLGovLayoutElement;
|
|
2089
|
+
};
|
|
2090
|
+
interface HTMLGovLayoutColumnElement extends Components.GovLayoutColumn, HTMLStencilElement {
|
|
2091
|
+
}
|
|
2092
|
+
var HTMLGovLayoutColumnElement: {
|
|
2093
|
+
prototype: HTMLGovLayoutColumnElement;
|
|
2094
|
+
new (): HTMLGovLayoutColumnElement;
|
|
2095
|
+
};
|
|
2096
|
+
interface HTMLGovLoadingElement extends Components.GovLoading, HTMLStencilElement {
|
|
2097
|
+
}
|
|
2098
|
+
var HTMLGovLoadingElement: {
|
|
2099
|
+
prototype: HTMLGovLoadingElement;
|
|
2100
|
+
new (): HTMLGovLoadingElement;
|
|
2101
|
+
};
|
|
2102
|
+
interface HTMLGovMessageElement extends Components.GovMessage, HTMLStencilElement {
|
|
2103
|
+
}
|
|
2104
|
+
var HTMLGovMessageElement: {
|
|
2105
|
+
prototype: HTMLGovMessageElement;
|
|
2106
|
+
new (): HTMLGovMessageElement;
|
|
2107
|
+
};
|
|
2108
|
+
interface HTMLGovModalElement extends Components.GovModal, HTMLStencilElement {
|
|
2109
|
+
}
|
|
2110
|
+
var HTMLGovModalElement: {
|
|
2111
|
+
prototype: HTMLGovModalElement;
|
|
2112
|
+
new (): HTMLGovModalElement;
|
|
2113
|
+
};
|
|
2114
|
+
interface HTMLGovNavElement extends Components.GovNav, HTMLStencilElement {
|
|
2115
|
+
}
|
|
2116
|
+
var HTMLGovNavElement: {
|
|
2117
|
+
prototype: HTMLGovNavElement;
|
|
2118
|
+
new (): HTMLGovNavElement;
|
|
2119
|
+
};
|
|
2120
|
+
interface HTMLGovNavItemElement extends Components.GovNavItem, HTMLStencilElement {
|
|
2121
|
+
}
|
|
2122
|
+
var HTMLGovNavItemElement: {
|
|
2123
|
+
prototype: HTMLGovNavItemElement;
|
|
2124
|
+
new (): HTMLGovNavItemElement;
|
|
2125
|
+
};
|
|
2126
|
+
interface HTMLGovPaginationElement extends Components.GovPagination, HTMLStencilElement {
|
|
2127
|
+
}
|
|
2128
|
+
var HTMLGovPaginationElement: {
|
|
2129
|
+
prototype: HTMLGovPaginationElement;
|
|
2130
|
+
new (): HTMLGovPaginationElement;
|
|
2131
|
+
};
|
|
2132
|
+
interface HTMLGovPromptElement extends Components.GovPrompt, HTMLStencilElement {
|
|
2133
|
+
}
|
|
2134
|
+
var HTMLGovPromptElement: {
|
|
2135
|
+
prototype: HTMLGovPromptElement;
|
|
2136
|
+
new (): HTMLGovPromptElement;
|
|
2137
|
+
};
|
|
2138
|
+
interface HTMLGovSideNavElement extends Components.GovSideNav, HTMLStencilElement {
|
|
2139
|
+
}
|
|
2140
|
+
var HTMLGovSideNavElement: {
|
|
2141
|
+
prototype: HTMLGovSideNavElement;
|
|
2142
|
+
new (): HTMLGovSideNavElement;
|
|
2143
|
+
};
|
|
2144
|
+
interface HTMLGovSideNavItemElement extends Components.GovSideNavItem, HTMLStencilElement {
|
|
2145
|
+
}
|
|
2146
|
+
var HTMLGovSideNavItemElement: {
|
|
2147
|
+
prototype: HTMLGovSideNavItemElement;
|
|
2148
|
+
new (): HTMLGovSideNavItemElement;
|
|
2149
|
+
};
|
|
2150
|
+
interface HTMLGovSkeletonElement extends Components.GovSkeleton, HTMLStencilElement {
|
|
2151
|
+
}
|
|
2152
|
+
var HTMLGovSkeletonElement: {
|
|
2153
|
+
prototype: HTMLGovSkeletonElement;
|
|
2154
|
+
new (): HTMLGovSkeletonElement;
|
|
2155
|
+
};
|
|
2156
|
+
interface HTMLGovSpacerElement extends Components.GovSpacer, HTMLStencilElement {
|
|
2157
|
+
}
|
|
2158
|
+
var HTMLGovSpacerElement: {
|
|
2159
|
+
prototype: HTMLGovSpacerElement;
|
|
2160
|
+
new (): HTMLGovSpacerElement;
|
|
2161
|
+
};
|
|
2162
|
+
interface HTMLGovStatsbarElement extends Components.GovStatsbar, HTMLStencilElement {
|
|
2163
|
+
}
|
|
2164
|
+
var HTMLGovStatsbarElement: {
|
|
2165
|
+
prototype: HTMLGovStatsbarElement;
|
|
2166
|
+
new (): HTMLGovStatsbarElement;
|
|
2167
|
+
};
|
|
2168
|
+
interface HTMLGovStatsbarItemElement extends Components.GovStatsbarItem, HTMLStencilElement {
|
|
2169
|
+
}
|
|
2170
|
+
var HTMLGovStatsbarItemElement: {
|
|
2171
|
+
prototype: HTMLGovStatsbarItemElement;
|
|
2172
|
+
new (): HTMLGovStatsbarItemElement;
|
|
2173
|
+
};
|
|
2174
|
+
interface HTMLGovStepperElement extends Components.GovStepper, HTMLStencilElement {
|
|
2175
|
+
}
|
|
2176
|
+
var HTMLGovStepperElement: {
|
|
2177
|
+
prototype: HTMLGovStepperElement;
|
|
2178
|
+
new (): HTMLGovStepperElement;
|
|
2179
|
+
};
|
|
2180
|
+
interface HTMLGovStepperItemElement extends Components.GovStepperItem, HTMLStencilElement {
|
|
2181
|
+
}
|
|
2182
|
+
var HTMLGovStepperItemElement: {
|
|
2183
|
+
prototype: HTMLGovStepperItemElement;
|
|
2184
|
+
new (): HTMLGovStepperItemElement;
|
|
2185
|
+
};
|
|
2186
|
+
interface HTMLGovTabsElement extends Components.GovTabs, HTMLStencilElement {
|
|
2187
|
+
}
|
|
2188
|
+
var HTMLGovTabsElement: {
|
|
2189
|
+
prototype: HTMLGovTabsElement;
|
|
2190
|
+
new (): HTMLGovTabsElement;
|
|
2191
|
+
};
|
|
2192
|
+
interface HTMLGovTabsItemElement extends Components.GovTabsItem, HTMLStencilElement {
|
|
2193
|
+
}
|
|
2194
|
+
var HTMLGovTabsItemElement: {
|
|
2195
|
+
prototype: HTMLGovTabsItemElement;
|
|
2196
|
+
new (): HTMLGovTabsItemElement;
|
|
2197
|
+
};
|
|
2198
|
+
interface HTMLGovTileElement extends Components.GovTile, HTMLStencilElement {
|
|
2199
|
+
}
|
|
2200
|
+
var HTMLGovTileElement: {
|
|
2201
|
+
prototype: HTMLGovTileElement;
|
|
2202
|
+
new (): HTMLGovTileElement;
|
|
2203
|
+
};
|
|
2204
|
+
interface HTMLGovTilesElement extends Components.GovTiles, HTMLStencilElement {
|
|
2205
|
+
}
|
|
2206
|
+
var HTMLGovTilesElement: {
|
|
2207
|
+
prototype: HTMLGovTilesElement;
|
|
2208
|
+
new (): HTMLGovTilesElement;
|
|
2209
|
+
};
|
|
2210
|
+
interface HTMLGovToastElement extends Components.GovToast, HTMLStencilElement {
|
|
2211
|
+
}
|
|
2212
|
+
var HTMLGovToastElement: {
|
|
2213
|
+
prototype: HTMLGovToastElement;
|
|
2214
|
+
new (): HTMLGovToastElement;
|
|
2215
|
+
};
|
|
2216
|
+
interface HTMLGovTooltipElement extends Components.GovTooltip, HTMLStencilElement {
|
|
2217
|
+
}
|
|
2218
|
+
var HTMLGovTooltipElement: {
|
|
2219
|
+
prototype: HTMLGovTooltipElement;
|
|
2220
|
+
new (): HTMLGovTooltipElement;
|
|
2221
|
+
};
|
|
2222
|
+
interface HTMLGovTooltipContentElement extends Components.GovTooltipContent, HTMLStencilElement {
|
|
2223
|
+
}
|
|
2224
|
+
var HTMLGovTooltipContentElement: {
|
|
2225
|
+
prototype: HTMLGovTooltipContentElement;
|
|
2226
|
+
new (): HTMLGovTooltipContentElement;
|
|
2227
|
+
};
|
|
2228
|
+
interface HTMLGovWizzardElement extends Components.GovWizzard, HTMLStencilElement {
|
|
2229
|
+
}
|
|
2230
|
+
var HTMLGovWizzardElement: {
|
|
2231
|
+
prototype: HTMLGovWizzardElement;
|
|
2232
|
+
new (): HTMLGovWizzardElement;
|
|
2233
|
+
};
|
|
2234
|
+
interface HTMLGovWizzardItemElement extends Components.GovWizzardItem, HTMLStencilElement {
|
|
2235
|
+
}
|
|
2236
|
+
var HTMLGovWizzardItemElement: {
|
|
2237
|
+
prototype: HTMLGovWizzardItemElement;
|
|
2238
|
+
new (): HTMLGovWizzardItemElement;
|
|
2239
|
+
};
|
|
2240
|
+
interface HTMLElementTagNameMap {
|
|
2241
|
+
"gov-accordion": HTMLGovAccordionElement;
|
|
2242
|
+
"gov-accordion-item": HTMLGovAccordionItemElement;
|
|
2243
|
+
"gov-alert": HTMLGovAlertElement;
|
|
2244
|
+
"gov-app": HTMLGovAppElement;
|
|
2245
|
+
"gov-attachments": HTMLGovAttachmentsElement;
|
|
2246
|
+
"gov-attachments-item": HTMLGovAttachmentsItemElement;
|
|
2247
|
+
"gov-backdrop": HTMLGovBackdropElement;
|
|
2248
|
+
"gov-badge": HTMLGovBadgeElement;
|
|
2249
|
+
"gov-breadcrumbs": HTMLGovBreadcrumbsElement;
|
|
2250
|
+
"gov-button": HTMLGovButtonElement;
|
|
2251
|
+
"gov-card": HTMLGovCardElement;
|
|
2252
|
+
"gov-container": HTMLGovContainerElement;
|
|
2253
|
+
"gov-cookiebar": HTMLGovCookiebarElement;
|
|
2254
|
+
"gov-empty": HTMLGovEmptyElement;
|
|
2255
|
+
"gov-error-code": HTMLGovErrorCodeElement;
|
|
2256
|
+
"gov-form-autocomplete": HTMLGovFormAutocompleteElement;
|
|
2257
|
+
"gov-form-checkbox": HTMLGovFormCheckboxElement;
|
|
2258
|
+
"gov-form-control": HTMLGovFormControlElement;
|
|
2259
|
+
"gov-form-file": HTMLGovFormFileElement;
|
|
2260
|
+
"gov-form-group": HTMLGovFormGroupElement;
|
|
2261
|
+
"gov-form-input": HTMLGovFormInputElement;
|
|
2262
|
+
"gov-form-label": HTMLGovFormLabelElement;
|
|
2263
|
+
"gov-form-message": HTMLGovFormMessageElement;
|
|
2264
|
+
"gov-form-multi-select": HTMLGovFormMultiSelectElement;
|
|
2265
|
+
"gov-form-password-power": HTMLGovFormPasswordPowerElement;
|
|
2266
|
+
"gov-form-radio": HTMLGovFormRadioElement;
|
|
2267
|
+
"gov-form-search": HTMLGovFormSearchElement;
|
|
2268
|
+
"gov-form-select": HTMLGovFormSelectElement;
|
|
2269
|
+
"gov-form-switch": HTMLGovFormSwitchElement;
|
|
2270
|
+
"gov-grid": HTMLGovGridElement;
|
|
2271
|
+
"gov-grid-item": HTMLGovGridItemElement;
|
|
2272
|
+
"gov-icon": HTMLGovIconElement;
|
|
2273
|
+
"gov-layout": HTMLGovLayoutElement;
|
|
2274
|
+
"gov-layout-column": HTMLGovLayoutColumnElement;
|
|
2275
|
+
"gov-loading": HTMLGovLoadingElement;
|
|
2276
|
+
"gov-message": HTMLGovMessageElement;
|
|
2277
|
+
"gov-modal": HTMLGovModalElement;
|
|
2278
|
+
"gov-nav": HTMLGovNavElement;
|
|
2279
|
+
"gov-nav-item": HTMLGovNavItemElement;
|
|
2280
|
+
"gov-pagination": HTMLGovPaginationElement;
|
|
2281
|
+
"gov-prompt": HTMLGovPromptElement;
|
|
2282
|
+
"gov-side-nav": HTMLGovSideNavElement;
|
|
2283
|
+
"gov-side-nav-item": HTMLGovSideNavItemElement;
|
|
2284
|
+
"gov-skeleton": HTMLGovSkeletonElement;
|
|
2285
|
+
"gov-spacer": HTMLGovSpacerElement;
|
|
2286
|
+
"gov-statsbar": HTMLGovStatsbarElement;
|
|
2287
|
+
"gov-statsbar-item": HTMLGovStatsbarItemElement;
|
|
2288
|
+
"gov-stepper": HTMLGovStepperElement;
|
|
2289
|
+
"gov-stepper-item": HTMLGovStepperItemElement;
|
|
2290
|
+
"gov-tabs": HTMLGovTabsElement;
|
|
2291
|
+
"gov-tabs-item": HTMLGovTabsItemElement;
|
|
2292
|
+
"gov-tile": HTMLGovTileElement;
|
|
2293
|
+
"gov-tiles": HTMLGovTilesElement;
|
|
2294
|
+
"gov-toast": HTMLGovToastElement;
|
|
2295
|
+
"gov-tooltip": HTMLGovTooltipElement;
|
|
2296
|
+
"gov-tooltip-content": HTMLGovTooltipContentElement;
|
|
2297
|
+
"gov-wizzard": HTMLGovWizzardElement;
|
|
2298
|
+
"gov-wizzard-item": HTMLGovWizzardItemElement;
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2301
|
+
declare namespace LocalJSX {
|
|
2302
|
+
interface GovAccordion {
|
|
2303
|
+
/**
|
|
2304
|
+
* Accordion item underline
|
|
2305
|
+
*/
|
|
2306
|
+
"noBorder"?: boolean;
|
|
2307
|
+
/**
|
|
2308
|
+
* Called when the accordion state changes
|
|
2309
|
+
*/
|
|
2310
|
+
"onGov-change"?: (event: GovAccordionCustomEvent<AccordionEvent>) => void;
|
|
2311
|
+
/**
|
|
2312
|
+
* Accordion’s size.
|
|
2313
|
+
*/
|
|
2314
|
+
"size"?: AccordionSizeType;
|
|
2315
|
+
/**
|
|
2316
|
+
* Style variation of the button.
|
|
2317
|
+
*/
|
|
2318
|
+
"variant"?: AccordionVariantType;
|
|
2319
|
+
/**
|
|
2320
|
+
* Adds accessible label for the accordion that is only shown for screen readers.
|
|
2321
|
+
*/
|
|
2322
|
+
"wcagLabel"?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* String of id's that indicate alternative labels elements
|
|
2325
|
+
*/
|
|
2326
|
+
"wcagLabelledBy"?: string;
|
|
2327
|
+
}
|
|
2328
|
+
interface GovAccordionItem {
|
|
2329
|
+
/**
|
|
2330
|
+
* Item annotation of the accordion
|
|
2331
|
+
*/
|
|
2332
|
+
"annotation"?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
2335
|
+
*/
|
|
2336
|
+
"disabled"?: boolean;
|
|
2337
|
+
/**
|
|
2338
|
+
* Custom accordion item identifier. Otherwise, it will be generated
|
|
2339
|
+
*/
|
|
2340
|
+
"identifier"?: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* Defines whether the accordion is open or closed by default
|
|
2343
|
+
*/
|
|
2344
|
+
"isExpanded"?: boolean;
|
|
2345
|
+
/**
|
|
2346
|
+
* Item name of the accordion
|
|
2347
|
+
*/
|
|
2348
|
+
"label"?: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* To remove the main underline of an item
|
|
2351
|
+
*/
|
|
2352
|
+
"noBorder"?: boolean;
|
|
2353
|
+
/**
|
|
2354
|
+
* Called when the accordion state changes
|
|
2355
|
+
*/
|
|
2356
|
+
"onGov-change"?: (event: GovAccordionItemCustomEvent<AccordionItemEvent>) => void;
|
|
2357
|
+
/**
|
|
2358
|
+
* Accordion’s size.
|
|
2359
|
+
*/
|
|
2360
|
+
"size"?: AccordionSizeType;
|
|
2361
|
+
/**
|
|
2362
|
+
* Used to change the HTML tag in the accordion trigger for correct semantic structure
|
|
2363
|
+
*/
|
|
2364
|
+
"triggerTag"?: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* Style variation of the button.
|
|
2367
|
+
*/
|
|
2368
|
+
"variant"?: AccordionVariantType;
|
|
2369
|
+
}
|
|
2370
|
+
interface GovAlert {
|
|
2371
|
+
/**
|
|
2372
|
+
* Displays the option to close the alert
|
|
2373
|
+
*/
|
|
2374
|
+
"closable"?: boolean;
|
|
2375
|
+
/**
|
|
2376
|
+
* Style variation of the button.
|
|
2377
|
+
*/
|
|
2378
|
+
"headline"?: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
2381
|
+
*/
|
|
2382
|
+
"inverse"?: boolean;
|
|
2383
|
+
/**
|
|
2384
|
+
* Called when the close button is clicked
|
|
2385
|
+
*/
|
|
2386
|
+
"onGov-close"?: (event: GovAlertCustomEvent<AlertEvent>) => void;
|
|
2387
|
+
/**
|
|
2388
|
+
* Style variation of the button.
|
|
2389
|
+
*/
|
|
2390
|
+
"variant"?: VariantType;
|
|
2391
|
+
/**
|
|
2392
|
+
* Aria label for the closing button. It is mandatory if the alert is closable
|
|
2393
|
+
*/
|
|
2394
|
+
"wcagCloseLabel"?: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* Aria label for the toggle button. It is mandatory if the alert has headline
|
|
2397
|
+
*/
|
|
2398
|
+
"wcagToggleLabel"?: string;
|
|
2399
|
+
}
|
|
2400
|
+
interface GovApp {
|
|
2401
|
+
}
|
|
2402
|
+
interface GovAttachments {
|
|
2403
|
+
/**
|
|
2404
|
+
* Label of attachments section
|
|
2405
|
+
*/
|
|
2406
|
+
"label"?: string;
|
|
2407
|
+
/**
|
|
2408
|
+
* Adds accessible label for the attachment section that is only shown for screen readers.
|
|
2409
|
+
*/
|
|
2410
|
+
"wcagLabel"?: string;
|
|
2411
|
+
}
|
|
2412
|
+
interface GovAttachmentsItem {
|
|
2413
|
+
/**
|
|
2414
|
+
* Emitted when the file is removed
|
|
2415
|
+
*/
|
|
2416
|
+
"onGov-remove"?: (event: GovAttachmentsItemCustomEvent<PointerEvent>) => void;
|
|
2417
|
+
/**
|
|
2418
|
+
* Adds accessible label for the remove button that is only shown for screen readers.
|
|
2419
|
+
*/
|
|
2420
|
+
"wcagRemoveLabel"?: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* Indicates the id of a component that labels the remove button.
|
|
2423
|
+
*/
|
|
2424
|
+
"wcagRemoveLabelledBy"?: string;
|
|
2425
|
+
}
|
|
2426
|
+
interface GovBackdrop {
|
|
2427
|
+
/**
|
|
2428
|
+
* Determide if component should have inversed colors to be used on dark background.
|
|
2429
|
+
*/
|
|
2430
|
+
"inverse"?: boolean;
|
|
2431
|
+
/**
|
|
2432
|
+
* Emitted when button clicks.
|
|
2433
|
+
*/
|
|
2434
|
+
"onGov-click"?: (event: GovBackdropCustomEvent<MouseEvent>) => void;
|
|
2435
|
+
/**
|
|
2436
|
+
* Adds accessible label for the backdrop that is only shown for screen readers.
|
|
2437
|
+
*/
|
|
2438
|
+
"wcagLabel"?: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* String of id's that indicate alternative labels elements
|
|
2441
|
+
*/
|
|
2442
|
+
"wcagLabelledBy"?: string;
|
|
2443
|
+
}
|
|
2444
|
+
interface GovBadge {
|
|
2445
|
+
/**
|
|
2446
|
+
* Makes the badge component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
2447
|
+
*/
|
|
2448
|
+
"disabled"?: boolean;
|
|
2449
|
+
/**
|
|
2450
|
+
* Same as original parameter
|
|
2451
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
2452
|
+
*/
|
|
2453
|
+
"href"?: string;
|
|
2454
|
+
/**
|
|
2455
|
+
* Determide if component should have inversed colors to be used on dark background
|
|
2456
|
+
*/
|
|
2457
|
+
"inverse"?: boolean;
|
|
2458
|
+
/**
|
|
2459
|
+
* Emitted when the button click.
|
|
2460
|
+
*/
|
|
2461
|
+
"onGov-click"?: (event: GovBadgeCustomEvent<PointerEvent>) => void;
|
|
2462
|
+
/**
|
|
2463
|
+
* Badge’s size.
|
|
2464
|
+
*/
|
|
2465
|
+
"size"?: ButtonSizesType;
|
|
2466
|
+
/**
|
|
2467
|
+
* Used to change the HMTL tag in the badge
|
|
2468
|
+
*/
|
|
2469
|
+
"tag"?: NativeTypesType;
|
|
2470
|
+
/**
|
|
2471
|
+
* Same as original parameter
|
|
2472
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
2473
|
+
*/
|
|
2474
|
+
"target"?: string;
|
|
2475
|
+
/**
|
|
2476
|
+
* Badges's type
|
|
2477
|
+
*/
|
|
2478
|
+
"type"?: TypesType;
|
|
2479
|
+
/**
|
|
2480
|
+
* Style variation of the badge.
|
|
2481
|
+
*/
|
|
2482
|
+
"variant"?: ButtonVariantType;
|
|
2483
|
+
/**
|
|
2484
|
+
* Adds accessible label for the button that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
|
|
2485
|
+
*/
|
|
2486
|
+
"wcagLabel"?: string;
|
|
2487
|
+
}
|
|
2488
|
+
interface GovBreadcrumbs {
|
|
2489
|
+
/**
|
|
2490
|
+
* Defines wether the components can be collapsible when element doesn't fit in one row.
|
|
2491
|
+
*/
|
|
2492
|
+
"collapsible"?: boolean;
|
|
2493
|
+
/**
|
|
2494
|
+
* Defines whether the breadcrumbs are open or closed by default
|
|
2495
|
+
*/
|
|
2496
|
+
"isExpanded"?: boolean;
|
|
2497
|
+
/**
|
|
2498
|
+
* Called when the Breadrumbs state changes
|
|
2499
|
+
*/
|
|
2500
|
+
"onGov-change"?: (event: GovBreadcrumbsCustomEvent<GovBreadcrumbsChangeEvent>) => void;
|
|
2501
|
+
/**
|
|
2502
|
+
* Adds accessible label for the pagination that is only shown for screen readers.
|
|
2503
|
+
*/
|
|
2504
|
+
"wcagLabel"?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* Indicates the id of a component that labels the pagination.
|
|
2507
|
+
*/
|
|
2508
|
+
"wcagLabelledBy"?: string;
|
|
2509
|
+
}
|
|
2510
|
+
interface GovButton {
|
|
2511
|
+
/**
|
|
2512
|
+
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies
|
|
2513
|
+
*/
|
|
2514
|
+
"disabled"?: boolean;
|
|
2515
|
+
/**
|
|
2516
|
+
* Same as original parameter
|
|
2517
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
|
|
2518
|
+
*/
|
|
2519
|
+
"download"?: boolean;
|
|
2520
|
+
/**
|
|
2521
|
+
* Expands the button to fill 100% of the container width
|
|
2522
|
+
*/
|
|
2523
|
+
"expanded"?: boolean;
|
|
2524
|
+
/**
|
|
2525
|
+
* Same as original parametr
|
|
2526
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable
|
|
2527
|
+
*/
|
|
2528
|
+
"focusable"?: boolean;
|
|
2529
|
+
/**
|
|
2530
|
+
* Same as original parameter
|
|
2531
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
2532
|
+
*/
|
|
2533
|
+
"href"?: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* Same as original parameter
|
|
2536
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang
|
|
2537
|
+
*/
|
|
2538
|
+
"hreflang"?: string;
|
|
2539
|
+
/**
|
|
2540
|
+
* Custom button identifier
|
|
2541
|
+
*/
|
|
2542
|
+
"identifier"?: string;
|
|
2543
|
+
/**
|
|
2544
|
+
* Determine if component should have inversed colors to be used on dark background
|
|
2545
|
+
*/
|
|
2546
|
+
"inverse"?: boolean;
|
|
2547
|
+
/**
|
|
2548
|
+
* Indicates whether an asynchronous process is running
|
|
2549
|
+
*/
|
|
2550
|
+
"loading"?: string;
|
|
2551
|
+
/**
|
|
2552
|
+
* 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
|
|
2553
|
+
*/
|
|
2554
|
+
"name"?: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type
|
|
2557
|
+
*/
|
|
2558
|
+
"nativeType"?: NativeTypesType1;
|
|
2559
|
+
/**
|
|
2560
|
+
* Emitted when the button loses focus
|
|
2561
|
+
*/
|
|
2562
|
+
"onGov-blur"?: (event: GovButtonCustomEvent<ButtonEvent>) => void;
|
|
2563
|
+
/**
|
|
2564
|
+
* Emitted when the button click
|
|
2565
|
+
*/
|
|
2566
|
+
"onGov-click"?: (event: GovButtonCustomEvent<ButtonEvent>) => void;
|
|
2567
|
+
/**
|
|
2568
|
+
* Emitted when the button has focus
|
|
2569
|
+
*/
|
|
2570
|
+
"onGov-focus"?: (event: GovButtonCustomEvent<ButtonEvent>) => void;
|
|
2571
|
+
/**
|
|
2572
|
+
* Same as original parameter
|
|
2573
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy
|
|
2574
|
+
*/
|
|
2575
|
+
"referrerpolicy"?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* Same as original parameter
|
|
2578
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel
|
|
2579
|
+
*/
|
|
2580
|
+
"rel"?: string;
|
|
2581
|
+
/**
|
|
2582
|
+
* Button’s size
|
|
2583
|
+
*/
|
|
2584
|
+
"size"?: ButtonSizesType;
|
|
2585
|
+
/**
|
|
2586
|
+
* Same as original parameter
|
|
2587
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
2588
|
+
*/
|
|
2589
|
+
"target"?: ButtonTargetType;
|
|
2590
|
+
/**
|
|
2591
|
+
* Button's type
|
|
2592
|
+
*/
|
|
2593
|
+
"type"?: TypesType;
|
|
2594
|
+
/**
|
|
2595
|
+
* Style variation of the button
|
|
2596
|
+
*/
|
|
2597
|
+
"variant"?: ButtonVariantType;
|
|
2598
|
+
/**
|
|
2599
|
+
* Indicates the id of a related component’s visually focused element
|
|
2600
|
+
*/
|
|
2601
|
+
"wcagActiveDescendant"?: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* 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
|
|
2604
|
+
*/
|
|
2605
|
+
"wcagControls"?: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* Indicates the current item within a container or set of related elements
|
|
2608
|
+
*/
|
|
2609
|
+
"wcagCurrent"?: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* Indicates the id of a component that describes the button
|
|
2612
|
+
*/
|
|
2613
|
+
"wcagDescribedBy"?: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* Aria description the button
|
|
2616
|
+
*/
|
|
2617
|
+
"wcagDescription"?: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* Details of the component
|
|
2620
|
+
*/
|
|
2621
|
+
"wcagDetails"?: string;
|
|
2622
|
+
/**
|
|
2623
|
+
* If a button expands or collapses adjacent content, then use the ariaExpanded prop to add the aria-expanded attribute to the button Set the value to convey the current expanded (true) or collapsed (false) state of the content
|
|
2624
|
+
*/
|
|
2625
|
+
"wcagExpanded"?: boolean;
|
|
2626
|
+
/**
|
|
2627
|
+
* Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button
|
|
2628
|
+
*/
|
|
2629
|
+
"wcagHasPopup"?: string;
|
|
2630
|
+
/**
|
|
2631
|
+
* Adds accessible label for the button that is only shown for screen readers Typically, this label text replaces the visible text on the button for users who use assistive technology
|
|
2632
|
+
*/
|
|
2633
|
+
"wcagLabel"?: string;
|
|
2634
|
+
/**
|
|
2635
|
+
* String of id's that indicate alternative labels elements
|
|
2636
|
+
*/
|
|
2637
|
+
"wcagLabelledBy"?: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* Indicates the id of a component owned by the button
|
|
2640
|
+
*/
|
|
2641
|
+
"wcagOwns"?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* Tells screen reader the element is pressed
|
|
2644
|
+
*/
|
|
2645
|
+
"wcagPressed"?: string;
|
|
2646
|
+
}
|
|
2647
|
+
interface GovCard {
|
|
2648
|
+
/**
|
|
2649
|
+
* Defines wether the card can be collapsible
|
|
2650
|
+
*/
|
|
2651
|
+
"collapsible"?: boolean;
|
|
2652
|
+
/**
|
|
2653
|
+
* Defines whether the card is open or closed by default
|
|
2654
|
+
*/
|
|
2655
|
+
"expanded"?: boolean;
|
|
2656
|
+
/**
|
|
2657
|
+
* Used to change the HMTL tag in the card headline for correct semantic structure
|
|
2658
|
+
*/
|
|
2659
|
+
"headlineTag"?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* Item label of the card
|
|
2662
|
+
*/
|
|
2663
|
+
"label"?: string;
|
|
2664
|
+
/**
|
|
2665
|
+
* Called when the card toggle state changes
|
|
2666
|
+
*/
|
|
2667
|
+
"onGov-toggle"?: (event: GovCardCustomEvent<GovCardChangeEvent>) => void;
|
|
2668
|
+
/**
|
|
2669
|
+
* Style variation of the card.
|
|
2670
|
+
*/
|
|
2671
|
+
"promotion"?: boolean;
|
|
2672
|
+
/**
|
|
2673
|
+
* Adds accessible label for the collapsible button that is only shown for screen readers.
|
|
2674
|
+
*/
|
|
2675
|
+
"wcagTriggerLabel"?: string;
|
|
2676
|
+
/**
|
|
2677
|
+
* A string of identifiers that indicate alternative label elements for collapsible card
|
|
2678
|
+
*/
|
|
2679
|
+
"wcagTriggerLabelledBy"?: string;
|
|
2680
|
+
}
|
|
2681
|
+
interface GovContainer {
|
|
2682
|
+
}
|
|
2683
|
+
interface GovCookiebar {
|
|
2684
|
+
}
|
|
2685
|
+
interface GovEmpty {
|
|
2686
|
+
}
|
|
2687
|
+
interface GovErrorCode {
|
|
2688
|
+
}
|
|
2689
|
+
interface GovFormAutocomplete {
|
|
2690
|
+
/**
|
|
2691
|
+
* Makes the input component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
2692
|
+
*/
|
|
2693
|
+
"disabled"?: boolean;
|
|
2694
|
+
/**
|
|
2695
|
+
* Custom input identifier.
|
|
2696
|
+
*/
|
|
2697
|
+
"identifier"?: string;
|
|
2698
|
+
/**
|
|
2699
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
2700
|
+
*/
|
|
2701
|
+
"invalid"?: boolean;
|
|
2702
|
+
/**
|
|
2703
|
+
* Maximum length (number of characters) of value
|
|
2704
|
+
*/
|
|
2705
|
+
"maxlength"?: number;
|
|
2706
|
+
/**
|
|
2707
|
+
* Minimum length (number of characters) of value
|
|
2708
|
+
*/
|
|
2709
|
+
"minlength"?: number;
|
|
2710
|
+
/**
|
|
2711
|
+
* Name of the input.
|
|
2712
|
+
*/
|
|
2713
|
+
"name"?: string;
|
|
2714
|
+
/**
|
|
2715
|
+
* Main key name in the object
|
|
2716
|
+
*/
|
|
2717
|
+
"nameKey"?: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* Emitted when the input loses focus.
|
|
2720
|
+
*/
|
|
2721
|
+
"onGov-blur"?: (event: GovFormAutocompleteCustomEvent<FormAutocompleteEvent>) => void;
|
|
2722
|
+
/**
|
|
2723
|
+
* Emitted when the input has focus.
|
|
2724
|
+
*/
|
|
2725
|
+
"onGov-focus"?: (event: GovFormAutocompleteCustomEvent<FormAutocompleteEvent>) => void;
|
|
2726
|
+
/**
|
|
2727
|
+
* Emitted when the input change value.
|
|
2728
|
+
*/
|
|
2729
|
+
"onGov-input"?: (event: GovFormAutocompleteCustomEvent<FormAutocompleteEvent>) => void;
|
|
2730
|
+
/**
|
|
2731
|
+
* Emitted when the input change value.
|
|
2732
|
+
*/
|
|
2733
|
+
"onGov-select"?: (event: GovFormAutocompleteCustomEvent<FormAutocompleteEvent>) => void;
|
|
2734
|
+
/**
|
|
2735
|
+
* Text that appears in the form control when it has no value set
|
|
2736
|
+
*/
|
|
2737
|
+
"placeholder"?: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* The value is not editable
|
|
2740
|
+
*/
|
|
2741
|
+
"readonly"?: boolean;
|
|
2742
|
+
/**
|
|
2743
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
2744
|
+
*/
|
|
2745
|
+
"required"?: boolean;
|
|
2746
|
+
/**
|
|
2747
|
+
* Input’s size.
|
|
2748
|
+
*/
|
|
2749
|
+
"size"?: SizesType;
|
|
2750
|
+
/**
|
|
2751
|
+
* Indicates the entered value of child form element does conform to the format expected by the application.
|
|
2752
|
+
*/
|
|
2753
|
+
"success"?: boolean;
|
|
2754
|
+
/**
|
|
2755
|
+
* Value of input
|
|
2756
|
+
*/
|
|
2757
|
+
"value"?: string;
|
|
2758
|
+
/**
|
|
2759
|
+
* Style variation of the form input.
|
|
2760
|
+
*/
|
|
2761
|
+
"variant"?: VariantType1;
|
|
2762
|
+
/**
|
|
2763
|
+
* Indicates the id of a component that describes the input.
|
|
2764
|
+
*/
|
|
2765
|
+
"wcagDescribedBy"?: string;
|
|
2766
|
+
/**
|
|
2767
|
+
* Indicates the id of a component that labels the input.
|
|
2768
|
+
*/
|
|
2769
|
+
"wcagLabelledBy"?: string;
|
|
2770
|
+
/**
|
|
2771
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-owns
|
|
2772
|
+
*/
|
|
2773
|
+
"wcagOwns"?: string;
|
|
2774
|
+
}
|
|
2775
|
+
interface GovFormCheckbox {
|
|
2776
|
+
/**
|
|
2777
|
+
* Checkbox default state
|
|
2778
|
+
*/
|
|
2779
|
+
"checked"?: boolean;
|
|
2780
|
+
/**
|
|
2781
|
+
* Makes the checkbox component disabled. This prevents users from being able to interact with the checkbox, and conveys its inactive state to assistive technologies.
|
|
2782
|
+
*/
|
|
2783
|
+
"disabled"?: boolean;
|
|
2784
|
+
/**
|
|
2785
|
+
* Custom checkbox identifier.
|
|
2786
|
+
*/
|
|
2787
|
+
"identifier"?: string;
|
|
2788
|
+
/**
|
|
2789
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
2790
|
+
*/
|
|
2791
|
+
"invalid"?: boolean;
|
|
2792
|
+
/**
|
|
2793
|
+
* Name of the checkbox.
|
|
2794
|
+
*/
|
|
2795
|
+
"name"?: string;
|
|
2796
|
+
/**
|
|
2797
|
+
* When you can't use the form label.
|
|
2798
|
+
*/
|
|
2799
|
+
"noLabel"?: boolean;
|
|
2800
|
+
/**
|
|
2801
|
+
* Emitted when the checkbox loses focus.
|
|
2802
|
+
*/
|
|
2803
|
+
"onGov-blur"?: (event: GovFormCheckboxCustomEvent<FormCheckboxEvent>) => void;
|
|
2804
|
+
/**
|
|
2805
|
+
* Emitted when the checkbox change value.
|
|
2806
|
+
*/
|
|
2807
|
+
"onGov-change"?: (event: GovFormCheckboxCustomEvent<FormCheckboxEvent>) => void;
|
|
2808
|
+
/**
|
|
2809
|
+
* Emitted when the checkbox has focus.
|
|
2810
|
+
*/
|
|
2811
|
+
"onGov-focus"?: (event: GovFormCheckboxCustomEvent<FormCheckboxEvent>) => void;
|
|
2812
|
+
/**
|
|
2813
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
2814
|
+
*/
|
|
2815
|
+
"required"?: boolean;
|
|
2816
|
+
/**
|
|
2817
|
+
* Checkboxes size.
|
|
2818
|
+
*/
|
|
2819
|
+
"size"?: FormCheckboxSizesType;
|
|
2820
|
+
/**
|
|
2821
|
+
* Value of checkbox
|
|
2822
|
+
*/
|
|
2823
|
+
"value"?: string;
|
|
2824
|
+
/**
|
|
2825
|
+
* Indicates the id of a component that describes the input.
|
|
2826
|
+
*/
|
|
2827
|
+
"wcagDescribedBy"?: string;
|
|
2828
|
+
/**
|
|
2829
|
+
* Indicates the id of a component that labels the input.
|
|
2830
|
+
*/
|
|
2831
|
+
"wcagLabelledBy"?: string;
|
|
2832
|
+
}
|
|
2833
|
+
interface GovFormControl {
|
|
2834
|
+
/**
|
|
2835
|
+
* /** Indicates the form element is disabled
|
|
2836
|
+
*/
|
|
2837
|
+
"disabled"?: boolean;
|
|
2838
|
+
/**
|
|
2839
|
+
* Use control as a fieldset for better accessibility. Note: Don't forget to set the legend attribute of the gov-form-label component
|
|
2840
|
+
*/
|
|
2841
|
+
"fieldset"?: boolean;
|
|
2842
|
+
/**
|
|
2843
|
+
* Defines the space between nested components.
|
|
2844
|
+
*/
|
|
2845
|
+
"gap"?: FormControlSizesType;
|
|
2846
|
+
/**
|
|
2847
|
+
* Form element identifier
|
|
2848
|
+
*/
|
|
2849
|
+
"identifier"?: string;
|
|
2850
|
+
/**
|
|
2851
|
+
* Indicates the entered value of child form element does not conform to the format expected by the application.
|
|
2852
|
+
*/
|
|
2853
|
+
"invalid"?: boolean;
|
|
2854
|
+
/**
|
|
2855
|
+
* Form element size.
|
|
2856
|
+
*/
|
|
2857
|
+
"size"?: FormControlSizesType;
|
|
2858
|
+
/**
|
|
2859
|
+
* /** Indicates the entered value of child form element does conform to the format expected by the application.
|
|
2860
|
+
*/
|
|
2861
|
+
"success"?: boolean;
|
|
2862
|
+
}
|
|
2863
|
+
interface GovFormFile {
|
|
2864
|
+
/**
|
|
2865
|
+
* Same as original parameter
|
|
2866
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2867
|
+
*/
|
|
2868
|
+
"accept"?: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* Description of the list of attachments
|
|
2871
|
+
*/
|
|
2872
|
+
"attachmentsLabel"?: string;
|
|
2873
|
+
/**
|
|
2874
|
+
* Makes the File component disabled. This prevents users from being able to interact with the File, and conveys its inactive state to assistive technologies.
|
|
2875
|
+
*/
|
|
2876
|
+
"disabled"?: boolean;
|
|
2877
|
+
/**
|
|
2878
|
+
* Show list of attachments
|
|
2879
|
+
*/
|
|
2880
|
+
"displayAttachments"?: boolean;
|
|
2881
|
+
/**
|
|
2882
|
+
* Insert unsupported file error message
|
|
2883
|
+
*/
|
|
2884
|
+
"errorAccept"?: string;
|
|
2885
|
+
/**
|
|
2886
|
+
* Error message when the maximum file size is exceeded
|
|
2887
|
+
*/
|
|
2888
|
+
"errorSize"?: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* Expands the file input to fill 100% of the container width.
|
|
2891
|
+
*/
|
|
2892
|
+
"expanded"?: boolean;
|
|
2893
|
+
/**
|
|
2894
|
+
* Custom File identifier.
|
|
2895
|
+
*/
|
|
2896
|
+
"identifier"?: string;
|
|
2897
|
+
/**
|
|
2898
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
2899
|
+
*/
|
|
2900
|
+
"invalid"?: boolean;
|
|
2901
|
+
/**
|
|
2902
|
+
* Maximum embedded file size
|
|
2903
|
+
*/
|
|
2904
|
+
"maxFileSize"?: number;
|
|
2905
|
+
/**
|
|
2906
|
+
* Name of the input.
|
|
2907
|
+
*/
|
|
2908
|
+
"name"?: string;
|
|
2909
|
+
/**
|
|
2910
|
+
* Called when a new file is added
|
|
2911
|
+
*/
|
|
2912
|
+
"onGov-add-file"?: (event: GovFormFileCustomEvent<GovFormFileEvent>) => void;
|
|
2913
|
+
/**
|
|
2914
|
+
* Emitted when the File loses focus.
|
|
2915
|
+
*/
|
|
2916
|
+
"onGov-blur"?: (event: GovFormFileCustomEvent<GovFormFileEvent>) => void;
|
|
2917
|
+
/**
|
|
2918
|
+
* Called when the list of inserted files is changed
|
|
2919
|
+
*/
|
|
2920
|
+
"onGov-files"?: (event: GovFormFileCustomEvent<GovFormFileEvent>) => void;
|
|
2921
|
+
/**
|
|
2922
|
+
* Emitted when the File has focus.
|
|
2923
|
+
*/
|
|
2924
|
+
"onGov-focus"?: (event: GovFormFileCustomEvent<GovFormFileEvent>) => void;
|
|
2925
|
+
/**
|
|
2926
|
+
* Called when a file is removed from the list
|
|
2927
|
+
*/
|
|
2928
|
+
"onGov-remove-file"?: (event: GovFormFileCustomEvent<GovFormFileEvent>) => void;
|
|
2929
|
+
/**
|
|
2930
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
2931
|
+
*/
|
|
2932
|
+
"required"?: boolean;
|
|
2933
|
+
/**
|
|
2934
|
+
* Adds accessible label for the list of attachments.
|
|
2935
|
+
*/
|
|
2936
|
+
"wcagAttachmentsLabel"?: string;
|
|
2937
|
+
/**
|
|
2938
|
+
* Indicates the id of a component that describes the input.
|
|
2939
|
+
*/
|
|
2940
|
+
"wcagDescribedBy"?: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Indicates the id of a component that labels the input.
|
|
2943
|
+
*/
|
|
2944
|
+
"wcagLabelledBy"?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* Adds accessible label for the remove button that is only shown for screen readers.
|
|
2947
|
+
*/
|
|
2948
|
+
"wcagRemoveLabel"?: string;
|
|
2949
|
+
}
|
|
2950
|
+
interface GovFormGroup {
|
|
2951
|
+
/**
|
|
2952
|
+
* Gap's size.
|
|
2953
|
+
*/
|
|
2954
|
+
"gap"?: FormGroupSizesType;
|
|
2955
|
+
}
|
|
2956
|
+
interface GovFormInput {
|
|
2957
|
+
/**
|
|
2958
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete
|
|
2959
|
+
*/
|
|
2960
|
+
"autocomplete"?: boolean;
|
|
2961
|
+
/**
|
|
2962
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect
|
|
2963
|
+
*/
|
|
2964
|
+
"autocorrect"?: boolean;
|
|
2965
|
+
/**
|
|
2966
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols
|
|
2967
|
+
*/
|
|
2968
|
+
"cols"?: number;
|
|
2969
|
+
/**
|
|
2970
|
+
* Makes the input component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
2971
|
+
*/
|
|
2972
|
+
"disabled"?: boolean;
|
|
2973
|
+
/**
|
|
2974
|
+
* Custom input identifier.
|
|
2975
|
+
*/
|
|
2976
|
+
"identifier"?: string;
|
|
2977
|
+
/**
|
|
2978
|
+
* Same as original parameter
|
|
2979
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
|
|
2980
|
+
*/
|
|
2981
|
+
"inputType"?: InputType;
|
|
2982
|
+
/**
|
|
2983
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
2984
|
+
*/
|
|
2985
|
+
"invalid"?: boolean;
|
|
2986
|
+
/**
|
|
2987
|
+
* Maximum length (number of characters) of value
|
|
2988
|
+
*/
|
|
2989
|
+
"maxlength"?: number;
|
|
2990
|
+
/**
|
|
2991
|
+
* Minimum length (number of characters) of value
|
|
2992
|
+
*/
|
|
2993
|
+
"minlength"?: number;
|
|
2994
|
+
/**
|
|
2995
|
+
* Generates a texarea for the possibility of multiple lines
|
|
2996
|
+
*/
|
|
2997
|
+
"multiline"?: boolean;
|
|
2998
|
+
/**
|
|
2999
|
+
* Name of the input.
|
|
3000
|
+
*/
|
|
3001
|
+
"name"?: string;
|
|
3002
|
+
/**
|
|
3003
|
+
* Emitted when the input loses focus.
|
|
3004
|
+
*/
|
|
3005
|
+
"onGov-blur"?: (event: GovFormInputCustomEvent<FormInputEvent>) => void;
|
|
3006
|
+
/**
|
|
3007
|
+
* Emitted when the input has focus.
|
|
3008
|
+
*/
|
|
3009
|
+
"onGov-focus"?: (event: GovFormInputCustomEvent<FormInputEvent>) => void;
|
|
3010
|
+
/**
|
|
3011
|
+
* Emitted when the input change value.
|
|
3012
|
+
*/
|
|
3013
|
+
"onGov-input"?: (event: GovFormInputCustomEvent<FormInputEvent>) => void;
|
|
3014
|
+
/**
|
|
3015
|
+
* Emitted when the input change value.
|
|
3016
|
+
*/
|
|
3017
|
+
"onGov-keydown"?: (event: GovFormInputCustomEvent<FormInputEvent>) => void;
|
|
3018
|
+
/**
|
|
3019
|
+
* Emitted when the input change value.
|
|
3020
|
+
*/
|
|
3021
|
+
"onGov-keyup"?: (event: GovFormInputCustomEvent<FormInputEvent>) => void;
|
|
3022
|
+
/**
|
|
3023
|
+
* Text that appears in the form control when it has no value set
|
|
3024
|
+
*/
|
|
3025
|
+
"placeholder"?: string;
|
|
3026
|
+
/**
|
|
3027
|
+
* The value is not editable
|
|
3028
|
+
*/
|
|
3029
|
+
"readonly"?: boolean;
|
|
3030
|
+
/**
|
|
3031
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
3032
|
+
*/
|
|
3033
|
+
"required"?: boolean;
|
|
3034
|
+
/**
|
|
3035
|
+
* Same as original parameter
|
|
3036
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role
|
|
3037
|
+
*/
|
|
3038
|
+
"role"?: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows
|
|
3041
|
+
*/
|
|
3042
|
+
"rows"?: number;
|
|
3043
|
+
/**
|
|
3044
|
+
* Input’s size.
|
|
3045
|
+
*/
|
|
3046
|
+
"size"?: FormInputSizesType;
|
|
3047
|
+
/**
|
|
3048
|
+
* Indicates the entered value of child form element does conform to the format expected by the application.
|
|
3049
|
+
*/
|
|
3050
|
+
"success"?: boolean;
|
|
3051
|
+
/**
|
|
3052
|
+
* Defineds the visual style of input
|
|
3053
|
+
*/
|
|
3054
|
+
"type"?: Type;
|
|
3055
|
+
/**
|
|
3056
|
+
* Value of input
|
|
3057
|
+
*/
|
|
3058
|
+
"value"?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* Style variation of the form input.
|
|
3061
|
+
*/
|
|
3062
|
+
"variant"?: FormInputVariantType;
|
|
3063
|
+
/**
|
|
3064
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value.
|
|
3065
|
+
*/
|
|
3066
|
+
"wcagAutocomplete"?: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Indicates the id of a component that describes the input.
|
|
3069
|
+
*/
|
|
3070
|
+
"wcagDescribedBy"?: string;
|
|
3071
|
+
/**
|
|
3072
|
+
* Attribute is set on an element to indicate if a control is expanded or collapsed
|
|
3073
|
+
*/
|
|
3074
|
+
"wcagExpanded"?: boolean;
|
|
3075
|
+
/**
|
|
3076
|
+
* Indicates the id of a component that labels the input.
|
|
3077
|
+
*/
|
|
3078
|
+
"wcagLabelledBy"?: string;
|
|
3079
|
+
/**
|
|
3080
|
+
* Indicates the id of a component that describes the input.
|
|
3081
|
+
*/
|
|
3082
|
+
"wcagOwns"?: string;
|
|
3083
|
+
}
|
|
3084
|
+
interface GovFormLabel {
|
|
3085
|
+
/**
|
|
3086
|
+
* Identifier for label.
|
|
3087
|
+
*/
|
|
3088
|
+
"identifier"?: string;
|
|
3089
|
+
/**
|
|
3090
|
+
* Use label as a legend for better accessibility. Note: Don't forget to set the fieldset attribute of the gov-form-control component
|
|
3091
|
+
*/
|
|
3092
|
+
"legend"?: boolean;
|
|
3093
|
+
/**
|
|
3094
|
+
* Emitted when the label click.
|
|
3095
|
+
*/
|
|
3096
|
+
"onGov-click"?: (event: GovFormLabelCustomEvent<PointerEvent>) => void;
|
|
3097
|
+
/**
|
|
3098
|
+
* Set whether the input is required or not.
|
|
3099
|
+
*/
|
|
3100
|
+
"required"?: boolean;
|
|
3101
|
+
/**
|
|
3102
|
+
* Label's size.
|
|
3103
|
+
*/
|
|
3104
|
+
"size"?: FormLabelSizesTypes;
|
|
3105
|
+
}
|
|
3106
|
+
interface GovFormMessage {
|
|
3107
|
+
/**
|
|
3108
|
+
* Style variation of the message.
|
|
3109
|
+
*/
|
|
3110
|
+
"variant"?: FormMessageVariantType;
|
|
3111
|
+
}
|
|
3112
|
+
interface GovFormMultiSelect {
|
|
3113
|
+
/**
|
|
3114
|
+
* Makes the select component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
3115
|
+
*/
|
|
3116
|
+
"disabled"?: boolean;
|
|
3117
|
+
/**
|
|
3118
|
+
* Custom select identifier.
|
|
3119
|
+
*/
|
|
3120
|
+
"identifier"?: string;
|
|
3121
|
+
/**
|
|
3122
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
3123
|
+
*/
|
|
3124
|
+
"invalid"?: boolean;
|
|
3125
|
+
/**
|
|
3126
|
+
* Name of the select.
|
|
3127
|
+
*/
|
|
3128
|
+
"name"?: string;
|
|
3129
|
+
/**
|
|
3130
|
+
* Emitted when the select loses focus.
|
|
3131
|
+
*/
|
|
3132
|
+
"onGov-blur"?: (event: GovFormMultiSelectCustomEvent<FormMultiselectEvent>) => void;
|
|
3133
|
+
/**
|
|
3134
|
+
* Emitted when the select change value.
|
|
3135
|
+
*/
|
|
3136
|
+
"onGov-change"?: (event: GovFormMultiSelectCustomEvent<FormMultiselectEvent>) => void;
|
|
3137
|
+
/**
|
|
3138
|
+
* Emitted when the select has focus.
|
|
3139
|
+
*/
|
|
3140
|
+
"onGov-focus"?: (event: GovFormMultiSelectCustomEvent<FormMultiselectEvent>) => void;
|
|
3141
|
+
/**
|
|
3142
|
+
* Custom select placeholder.
|
|
3143
|
+
*/
|
|
3144
|
+
"placeholder"?: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
3147
|
+
*/
|
|
3148
|
+
"required"?: boolean;
|
|
3149
|
+
/**
|
|
3150
|
+
* Select’s size.
|
|
3151
|
+
*/
|
|
3152
|
+
"size"?: FormMultiselectSizesType;
|
|
3153
|
+
/**
|
|
3154
|
+
* Style variation of the form select.
|
|
3155
|
+
*/
|
|
3156
|
+
"variant"?: FormMultiselectVariantType;
|
|
3157
|
+
/**
|
|
3158
|
+
* Indicates the id of a component that describes the input.
|
|
3159
|
+
*/
|
|
3160
|
+
"wcagDescribedBy"?: string;
|
|
3161
|
+
/**
|
|
3162
|
+
* Indicates the id of a component that labels the input.
|
|
3163
|
+
*/
|
|
3164
|
+
"wcagLabelledBy"?: string;
|
|
3165
|
+
/**
|
|
3166
|
+
* Indicates the id of a component that describes the input.
|
|
3167
|
+
*/
|
|
3168
|
+
"wcagOwns"?: string;
|
|
3169
|
+
}
|
|
3170
|
+
interface GovFormPasswordPower {
|
|
3171
|
+
/**
|
|
3172
|
+
* Password power: 0 - none, 1 - weak, 2 - medium, 3 - strong
|
|
3173
|
+
*/
|
|
3174
|
+
"power"?: number;
|
|
3175
|
+
}
|
|
3176
|
+
interface GovFormRadio {
|
|
3177
|
+
/**
|
|
3178
|
+
* Radio default state
|
|
3179
|
+
*/
|
|
3180
|
+
"checked"?: boolean;
|
|
3181
|
+
/**
|
|
3182
|
+
* Makes the radio component disabled. This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.
|
|
3183
|
+
*/
|
|
3184
|
+
"disabled"?: boolean;
|
|
3185
|
+
/**
|
|
3186
|
+
* Custom radio identifier.
|
|
3187
|
+
*/
|
|
3188
|
+
"identifier"?: string;
|
|
3189
|
+
/**
|
|
3190
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
3191
|
+
*/
|
|
3192
|
+
"invalid"?: boolean;
|
|
3193
|
+
/**
|
|
3194
|
+
* Name of the radio.
|
|
3195
|
+
*/
|
|
3196
|
+
"name"?: string;
|
|
3197
|
+
/**
|
|
3198
|
+
* When you can't use the form label.
|
|
3199
|
+
*/
|
|
3200
|
+
"noLabel"?: boolean;
|
|
3201
|
+
/**
|
|
3202
|
+
* Emitted when the radio loses focus.
|
|
3203
|
+
*/
|
|
3204
|
+
"onGov-blur"?: (event: GovFormRadioCustomEvent<FormRadioEvent>) => void;
|
|
3205
|
+
/**
|
|
3206
|
+
* Emitted when the radio change value.
|
|
3207
|
+
*/
|
|
3208
|
+
"onGov-change"?: (event: GovFormRadioCustomEvent<FormRadioEvent>) => void;
|
|
3209
|
+
/**
|
|
3210
|
+
* Emitted when the radio has focus.
|
|
3211
|
+
*/
|
|
3212
|
+
"onGov-focus"?: (event: GovFormRadioCustomEvent<FormRadioEvent>) => void;
|
|
3213
|
+
/**
|
|
3214
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
3215
|
+
*/
|
|
3216
|
+
"required"?: boolean;
|
|
3217
|
+
/**
|
|
3218
|
+
* Radio's size.
|
|
3219
|
+
*/
|
|
3220
|
+
"size"?: FormRadioSizesType;
|
|
3221
|
+
/**
|
|
3222
|
+
* Value of radio
|
|
3223
|
+
*/
|
|
3224
|
+
"value"?: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* Indicates the id of a component that describes the input.
|
|
3227
|
+
*/
|
|
3228
|
+
"wcagDescribedBy"?: string;
|
|
3229
|
+
/**
|
|
3230
|
+
* Indicates the id of a component that labels the input.
|
|
3231
|
+
*/
|
|
3232
|
+
"wcagLabelledBy"?: string;
|
|
3233
|
+
}
|
|
3234
|
+
interface GovFormSearch {
|
|
3235
|
+
}
|
|
3236
|
+
interface GovFormSelect {
|
|
3237
|
+
/**
|
|
3238
|
+
* Makes the select component disabled. This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
|
|
3239
|
+
*/
|
|
3240
|
+
"disabled"?: boolean;
|
|
3241
|
+
/**
|
|
3242
|
+
* Custom select identifier.
|
|
3243
|
+
*/
|
|
3244
|
+
"identifier"?: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
3247
|
+
*/
|
|
3248
|
+
"invalid"?: boolean;
|
|
3249
|
+
/**
|
|
3250
|
+
* Name of the select.
|
|
3251
|
+
*/
|
|
3252
|
+
"name"?: string;
|
|
3253
|
+
/**
|
|
3254
|
+
* Emitted when the select loses focus.
|
|
3255
|
+
*/
|
|
3256
|
+
"onGov-blur"?: (event: GovFormSelectCustomEvent<FormSelectEvent>) => void;
|
|
3257
|
+
/**
|
|
3258
|
+
* Emitted when the select change value.
|
|
3259
|
+
*/
|
|
3260
|
+
"onGov-change"?: (event: GovFormSelectCustomEvent<FormSelectEvent>) => void;
|
|
3261
|
+
/**
|
|
3262
|
+
* Emitted when the select has focus.
|
|
3263
|
+
*/
|
|
3264
|
+
"onGov-focus"?: (event: GovFormSelectCustomEvent<FormSelectEvent>) => void;
|
|
3265
|
+
/**
|
|
3266
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
3267
|
+
*/
|
|
3268
|
+
"required"?: boolean;
|
|
3269
|
+
/**
|
|
3270
|
+
* Select’s size.
|
|
3271
|
+
*/
|
|
3272
|
+
"size"?: FormSelectSizesType;
|
|
3273
|
+
/**
|
|
3274
|
+
* Value of select
|
|
3275
|
+
*/
|
|
3276
|
+
"value"?: string;
|
|
3277
|
+
/**
|
|
3278
|
+
* Style variation of the form select.
|
|
3279
|
+
*/
|
|
3280
|
+
"variant"?: FormSelectVariantType;
|
|
3281
|
+
/**
|
|
3282
|
+
* Indicates the id of a related component’s visually focused element.
|
|
3283
|
+
*/
|
|
3284
|
+
"wcagActiveDescendant"?: string;
|
|
3285
|
+
/**
|
|
3286
|
+
* Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.
|
|
3287
|
+
*/
|
|
3288
|
+
"wcagControls"?: string;
|
|
3289
|
+
/**
|
|
3290
|
+
* Indicates the id of a component that describes the input.
|
|
3291
|
+
*/
|
|
3292
|
+
"wcagDescribedBy"?: string;
|
|
3293
|
+
/**
|
|
3294
|
+
* Indicates the id of a component that labels the input.
|
|
3295
|
+
*/
|
|
3296
|
+
"wcagLabelledBy"?: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* Indicates the id of a component that describes the input.
|
|
3299
|
+
*/
|
|
3300
|
+
"wcagOwns"?: string;
|
|
3301
|
+
}
|
|
3302
|
+
interface GovFormSwitch {
|
|
3303
|
+
/**
|
|
3304
|
+
* Switch default state
|
|
3305
|
+
*/
|
|
3306
|
+
"checked"?: boolean;
|
|
3307
|
+
/**
|
|
3308
|
+
* Makes the switch component disabled. This prevents users from being able to interact with the switch, and conveys its inactive state to assistive technologies.
|
|
3309
|
+
*/
|
|
3310
|
+
"disabled"?: boolean;
|
|
3311
|
+
/**
|
|
3312
|
+
* Custom switch identifier.
|
|
3313
|
+
*/
|
|
3314
|
+
"identifier"?: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
3317
|
+
*/
|
|
3318
|
+
"invalid"?: boolean;
|
|
3319
|
+
/**
|
|
3320
|
+
* Name of the switch.
|
|
3321
|
+
*/
|
|
3322
|
+
"name"?: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* When you can't use the form label.
|
|
3325
|
+
*/
|
|
3326
|
+
"noLabel"?: boolean;
|
|
3327
|
+
/**
|
|
3328
|
+
* Emitted when the switch loses focus.
|
|
3329
|
+
*/
|
|
3330
|
+
"onGov-blur"?: (event: GovFormSwitchCustomEvent<FormSwitchEvent>) => void;
|
|
3331
|
+
/**
|
|
3332
|
+
* Emitted when the switch change value.
|
|
3333
|
+
*/
|
|
3334
|
+
"onGov-change"?: (event: GovFormSwitchCustomEvent<FormSwitchEvent>) => void;
|
|
3335
|
+
/**
|
|
3336
|
+
* Emitted when the switch has focus.
|
|
3337
|
+
*/
|
|
3338
|
+
"onGov-focus"?: (event: GovFormSwitchCustomEvent<FormSwitchEvent>) => void;
|
|
3339
|
+
/**
|
|
3340
|
+
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
3341
|
+
*/
|
|
3342
|
+
"required"?: boolean;
|
|
3343
|
+
/**
|
|
3344
|
+
* Switch's size.
|
|
3345
|
+
*/
|
|
3346
|
+
"size"?: FormSwitchSizesType;
|
|
3347
|
+
/**
|
|
3348
|
+
* Value of switch
|
|
3349
|
+
*/
|
|
3350
|
+
"value"?: string;
|
|
3351
|
+
/**
|
|
3352
|
+
* Indicates the id of a component that describes the input.
|
|
3353
|
+
*/
|
|
3354
|
+
"wcagDescribedBy"?: string;
|
|
3355
|
+
/**
|
|
3356
|
+
* Indicates the id of a component that labels the input.
|
|
3357
|
+
*/
|
|
3358
|
+
"wcagLabelledBy"?: string;
|
|
3359
|
+
}
|
|
3360
|
+
interface GovGrid {
|
|
3361
|
+
/**
|
|
3362
|
+
* Horizontal align of cells
|
|
3363
|
+
*/
|
|
3364
|
+
"alignX"?: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Vertical align of cells
|
|
3367
|
+
*/
|
|
3368
|
+
"alignY"?: string;
|
|
3369
|
+
}
|
|
3370
|
+
interface GovGridItem {
|
|
3371
|
+
/**
|
|
3372
|
+
* Cell size as a fraction of 1/12 of the grid size
|
|
3373
|
+
*/
|
|
3374
|
+
"size"?: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* Cell size for LG media query and up as a fraction of 12 of the grid size
|
|
3377
|
+
*/
|
|
3378
|
+
"sizeLg"?: string;
|
|
3379
|
+
/**
|
|
3380
|
+
* Cell size for MD media query and up as a fraction of 12 of the grid size
|
|
3381
|
+
*/
|
|
3382
|
+
"sizeMd"?: string;
|
|
3383
|
+
/**
|
|
3384
|
+
* Cell size for SM media query and up as a fraction of 12 of the grid size
|
|
3385
|
+
*/
|
|
3386
|
+
"sizeSm"?: string;
|
|
3387
|
+
/**
|
|
3388
|
+
* Cell size for XL media query and up as a fraction of 12 of the grid size
|
|
3389
|
+
*/
|
|
3390
|
+
"sizeXl"?: string;
|
|
3391
|
+
}
|
|
3392
|
+
interface GovIcon {
|
|
3393
|
+
/**
|
|
3394
|
+
* Name of icon
|
|
3395
|
+
*/
|
|
3396
|
+
"name"?: string;
|
|
3397
|
+
/**
|
|
3398
|
+
* Type of icon
|
|
3399
|
+
*/
|
|
3400
|
+
"type"?: Type1;
|
|
3401
|
+
}
|
|
3402
|
+
interface GovLayout {
|
|
3403
|
+
/**
|
|
3404
|
+
* Determine if component should have inverse column order
|
|
3405
|
+
*/
|
|
3406
|
+
"inverse"?: boolean;
|
|
3407
|
+
/**
|
|
3408
|
+
* Layout type
|
|
3409
|
+
*/
|
|
3410
|
+
"type"?: LayoutType;
|
|
3411
|
+
/**
|
|
3412
|
+
* Layout align
|
|
3413
|
+
*/
|
|
3414
|
+
"variant"?: LayoutVariantType;
|
|
3415
|
+
}
|
|
3416
|
+
interface GovLayoutColumn {
|
|
3417
|
+
}
|
|
3418
|
+
interface GovLoading {
|
|
3419
|
+
/**
|
|
3420
|
+
* Determine if loading is active
|
|
3421
|
+
*/
|
|
3422
|
+
"loading"?: boolean;
|
|
3423
|
+
}
|
|
3424
|
+
interface GovMessage {
|
|
3425
|
+
/**
|
|
3426
|
+
* Style variation of the content message.
|
|
3427
|
+
*/
|
|
3428
|
+
"variant"?: MessageVariantType;
|
|
3429
|
+
}
|
|
3430
|
+
interface GovModal {
|
|
3431
|
+
/**
|
|
3432
|
+
* Title of modal window
|
|
3433
|
+
*/
|
|
3434
|
+
"label"?: string;
|
|
3435
|
+
/**
|
|
3436
|
+
* Used to change the HTML tag in the modal label for correct semantic structure
|
|
3437
|
+
*/
|
|
3438
|
+
"labelTag"?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* Emitted when modal window closes.
|
|
3441
|
+
*/
|
|
3442
|
+
"onGov-close"?: (event: GovModalCustomEvent<PointerEvent>) => void;
|
|
3443
|
+
/**
|
|
3444
|
+
* Attribute for modal window display
|
|
3445
|
+
*/
|
|
3446
|
+
"open"?: boolean;
|
|
3447
|
+
/**
|
|
3448
|
+
* Role of modal
|
|
3449
|
+
*/
|
|
3450
|
+
"role"?: string;
|
|
3451
|
+
/**
|
|
3452
|
+
* Adds accessible label for the modal close button that is only shown for screen readers.
|
|
3453
|
+
*/
|
|
3454
|
+
"wcagCloseLabel"?: string;
|
|
3455
|
+
/**
|
|
3456
|
+
* A string of identifiers that indicate alternative label elements for closing the modal window
|
|
3457
|
+
*/
|
|
3458
|
+
"wcagCloseLabelledBy"?: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* Indicates the id of a component that describes the modal.
|
|
3461
|
+
*/
|
|
3462
|
+
"wcagDescribedBy"?: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* String of id's that indicate alternative labels elements
|
|
3465
|
+
*/
|
|
3466
|
+
"wcagLabelledBy"?: string;
|
|
3467
|
+
}
|
|
3468
|
+
interface GovNav {
|
|
3469
|
+
/**
|
|
3470
|
+
* Adds accessible label for the accordion that is only shown for screen readers.
|
|
3471
|
+
*/
|
|
3472
|
+
"wcagLabel"?: string;
|
|
3473
|
+
/**
|
|
3474
|
+
* String of id's that indicate alternative labels elements
|
|
3475
|
+
*/
|
|
3476
|
+
"wcagLabelledBy"?: string;
|
|
3477
|
+
}
|
|
3478
|
+
interface GovNavItem {
|
|
3479
|
+
/**
|
|
3480
|
+
* Same as original parameter
|
|
3481
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
3482
|
+
*/
|
|
3483
|
+
"href"?: string;
|
|
3484
|
+
}
|
|
3485
|
+
interface GovPagination {
|
|
3486
|
+
/**
|
|
3487
|
+
* Currently displayed page
|
|
3488
|
+
*/
|
|
3489
|
+
"current"?: number;
|
|
3490
|
+
/**
|
|
3491
|
+
* Set on active page
|
|
3492
|
+
*/
|
|
3493
|
+
"inverse"?: boolean;
|
|
3494
|
+
/**
|
|
3495
|
+
* Setting a link to redirect to a given page. The {PAGE} wildcard can be used in the link to replace the page number. Note that in the case of paging through a link, it is always necessary to send to the component the current page where the user is.
|
|
3496
|
+
*/
|
|
3497
|
+
"link"?: string;
|
|
3498
|
+
/**
|
|
3499
|
+
* Maximum pages displayed for selection
|
|
3500
|
+
*/
|
|
3501
|
+
"maxPages"?: number;
|
|
3502
|
+
/**
|
|
3503
|
+
* Event called when changing the page with the current setting of the whole paging
|
|
3504
|
+
*/
|
|
3505
|
+
"onGov-page"?: (event: GovPaginationCustomEvent<PaginationEvent>) => void;
|
|
3506
|
+
/**
|
|
3507
|
+
* Maximum number of entries per page
|
|
3508
|
+
*/
|
|
3509
|
+
"pageSize"?: number;
|
|
3510
|
+
/**
|
|
3511
|
+
* Pagination's size
|
|
3512
|
+
*/
|
|
3513
|
+
"size"?: PaginationSizeType;
|
|
3514
|
+
/**
|
|
3515
|
+
* Total count of entries
|
|
3516
|
+
*/
|
|
3517
|
+
"total"?: number;
|
|
3518
|
+
/**
|
|
3519
|
+
* Pagination type
|
|
3520
|
+
*/
|
|
3521
|
+
"type"?: PaginationType;
|
|
3522
|
+
/**
|
|
3523
|
+
* Style variation of the pagination.
|
|
3524
|
+
*/
|
|
3525
|
+
"variant"?: PaginationVariantType;
|
|
3526
|
+
/**
|
|
3527
|
+
* Adds accessible label for the pagination that is only shown for screen readers.
|
|
3528
|
+
*/
|
|
3529
|
+
"wcagLabel"?: string;
|
|
3530
|
+
/**
|
|
3531
|
+
* Indicates the id of a component that labels the pagination.
|
|
3532
|
+
*/
|
|
3533
|
+
"wcagLabelledBy"?: string;
|
|
3534
|
+
/**
|
|
3535
|
+
* Adds accessible label for the page item
|
|
3536
|
+
*/
|
|
3537
|
+
"wcagPageLabel"?: string;
|
|
3538
|
+
/**
|
|
3539
|
+
* Adds accessible label for the page select
|
|
3540
|
+
*/
|
|
3541
|
+
"wcagSelectLabel"?: string;
|
|
3542
|
+
}
|
|
3543
|
+
interface GovPrompt {
|
|
3544
|
+
/**
|
|
3545
|
+
* Title of modal window
|
|
3546
|
+
*/
|
|
3547
|
+
"label"?: string;
|
|
3548
|
+
/**
|
|
3549
|
+
* Used to change the HTML tag in the modal label for correct semantic structure
|
|
3550
|
+
*/
|
|
3551
|
+
"labelTag"?: string;
|
|
3552
|
+
/**
|
|
3553
|
+
* Emitted when modal window closes.
|
|
3554
|
+
*/
|
|
3555
|
+
"onGov-close"?: (event: GovPromptCustomEvent<PointerEvent>) => void;
|
|
3556
|
+
/**
|
|
3557
|
+
* Attribute for modal window display
|
|
3558
|
+
*/
|
|
3559
|
+
"open"?: boolean;
|
|
3560
|
+
/**
|
|
3561
|
+
* Role of modal
|
|
3562
|
+
*/
|
|
3563
|
+
"role"?: string;
|
|
3564
|
+
/**
|
|
3565
|
+
* Adds accessible label for the modal close button that is only shown for screen readers.
|
|
3566
|
+
*/
|
|
3567
|
+
"wcagCloseLabel"?: string;
|
|
3568
|
+
/**
|
|
3569
|
+
* A string of identifiers that indicate alternative label elements for closing the modal window
|
|
3570
|
+
*/
|
|
3571
|
+
"wcagCloseLabelledBy"?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* Indicates the id of a component that describes the modal.
|
|
3574
|
+
*/
|
|
3575
|
+
"wcagDescribedBy"?: string;
|
|
3576
|
+
/**
|
|
3577
|
+
* String of id's that indicate alternative labels elements
|
|
3578
|
+
*/
|
|
3579
|
+
"wcagLabelledBy"?: string;
|
|
3580
|
+
}
|
|
3581
|
+
interface GovSideNav {
|
|
3582
|
+
/**
|
|
3583
|
+
* Determide if component should have compact styles.
|
|
3584
|
+
*/
|
|
3585
|
+
"compact"?: boolean;
|
|
3586
|
+
/**
|
|
3587
|
+
* Determide if component should have inversed colors to be used on dark background.
|
|
3588
|
+
*/
|
|
3589
|
+
"inverse"?: boolean;
|
|
3590
|
+
/**
|
|
3591
|
+
* Called when the sidenav state changes
|
|
3592
|
+
*/
|
|
3593
|
+
"onGov-change"?: (event: GovSideNavCustomEvent<GovSideNavItemChangeEvent>) => void;
|
|
3594
|
+
/**
|
|
3595
|
+
* Adds accessible label for the sidenav that is only shown for screen readers.
|
|
3596
|
+
*/
|
|
3597
|
+
"wcagLabel"?: string;
|
|
3598
|
+
/**
|
|
3599
|
+
* String of id's that indicate alternative labels elements
|
|
3600
|
+
*/
|
|
3601
|
+
"wcagLabelledBy"?: string;
|
|
3602
|
+
}
|
|
3603
|
+
interface GovSideNavItem {
|
|
3604
|
+
/**
|
|
3605
|
+
* Determide if component should have compact styles.
|
|
3606
|
+
*/
|
|
3607
|
+
"compact"?: boolean;
|
|
3608
|
+
/**
|
|
3609
|
+
* Defined the count of nested items
|
|
3610
|
+
*/
|
|
3611
|
+
"count"?: boolean;
|
|
3612
|
+
/**
|
|
3613
|
+
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
3614
|
+
*/
|
|
3615
|
+
"disabled"?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Same as original parameter
|
|
3618
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
3619
|
+
*/
|
|
3620
|
+
"href"?: string;
|
|
3621
|
+
/**
|
|
3622
|
+
* Custom sidenav item identifier. Otherwise, it will be generated
|
|
3623
|
+
*/
|
|
3624
|
+
"identifier"?: string;
|
|
3625
|
+
/**
|
|
3626
|
+
* Determide if component should have inversed colors to be used on dark background
|
|
3627
|
+
*/
|
|
3628
|
+
"inverse"?: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* Defines whether the sidenav is open or closed by default
|
|
3631
|
+
*/
|
|
3632
|
+
"isExpanded"?: boolean;
|
|
3633
|
+
/**
|
|
3634
|
+
* Item name of the sidenav
|
|
3635
|
+
*/
|
|
3636
|
+
"label"?: string;
|
|
3637
|
+
/**
|
|
3638
|
+
* Called when the sidenav state changes
|
|
3639
|
+
*/
|
|
3640
|
+
"onGov-change"?: (event: GovSideNavItemCustomEvent<GovSideNavItemChangeEvent>) => void;
|
|
3641
|
+
}
|
|
3642
|
+
interface GovSkeleton {
|
|
3643
|
+
/**
|
|
3644
|
+
* Animation type
|
|
3645
|
+
*/
|
|
3646
|
+
"animation"?: SkeletonAnimationType;
|
|
3647
|
+
/**
|
|
3648
|
+
* Number of rows of current skeleton type
|
|
3649
|
+
*/
|
|
3650
|
+
"count"?: number;
|
|
3651
|
+
/**
|
|
3652
|
+
* Height of the skeleton ex. 100px, 100%, auto etc.
|
|
3653
|
+
*/
|
|
3654
|
+
"height"?: string;
|
|
3655
|
+
/**
|
|
3656
|
+
* Shape of the skeleton
|
|
3657
|
+
*/
|
|
3658
|
+
"shape"?: SkeletonShapesType;
|
|
3659
|
+
/**
|
|
3660
|
+
* Style variation of the skeleton.
|
|
3661
|
+
*/
|
|
3662
|
+
"variant"?: SkeletonVariantsType;
|
|
3663
|
+
/**
|
|
3664
|
+
* Adds accessible label for the skeleton that is only shown for screen readers.
|
|
3665
|
+
*/
|
|
3666
|
+
"wcagLabel"?: string;
|
|
3667
|
+
/**
|
|
3668
|
+
* Width of the skeleton ex. 100px, 100%, auto etc.
|
|
3669
|
+
*/
|
|
3670
|
+
"width"?: string;
|
|
3671
|
+
}
|
|
3672
|
+
interface GovSpacer {
|
|
3673
|
+
/**
|
|
3674
|
+
* Breakpoint
|
|
3675
|
+
*/
|
|
3676
|
+
"breakpoint"?: SpacerBreakpointsType;
|
|
3677
|
+
/**
|
|
3678
|
+
* Spacer’s size
|
|
3679
|
+
*/
|
|
3680
|
+
"size"?: SpacerSizeType;
|
|
3681
|
+
}
|
|
3682
|
+
interface GovStatsbar {
|
|
3683
|
+
/**
|
|
3684
|
+
* Icon’s position
|
|
3685
|
+
*/
|
|
3686
|
+
"iconPosition"?: StatsBarIconPositionType;
|
|
3687
|
+
/**
|
|
3688
|
+
* Style variation
|
|
3689
|
+
*/
|
|
3690
|
+
"variant"?: StatsBarVariantType;
|
|
3691
|
+
}
|
|
3692
|
+
interface GovStatsbarItem {
|
|
3693
|
+
/**
|
|
3694
|
+
* Icon’s position
|
|
3695
|
+
*/
|
|
3696
|
+
"iconPosition"?: StatsBarIconPositionType;
|
|
3697
|
+
}
|
|
3698
|
+
interface GovStepper {
|
|
3699
|
+
/**
|
|
3700
|
+
* Called when the Stepper state changes
|
|
3701
|
+
*/
|
|
3702
|
+
"onGov-change"?: (event: GovStepperCustomEvent<GovStepperItemChangeEvent>) => void;
|
|
3703
|
+
/**
|
|
3704
|
+
* Size of stepper
|
|
3705
|
+
*/
|
|
3706
|
+
"size"?: StepperSizesType;
|
|
3707
|
+
}
|
|
3708
|
+
interface GovStepperItem {
|
|
3709
|
+
/**
|
|
3710
|
+
* Item annotation of the stepper
|
|
3711
|
+
*/
|
|
3712
|
+
"annotation"?: string;
|
|
3713
|
+
/**
|
|
3714
|
+
* Custom stepper item identifier. Otherwise, it will be generated
|
|
3715
|
+
*/
|
|
3716
|
+
"identifier"?: string;
|
|
3717
|
+
/**
|
|
3718
|
+
* Item name of the stepper
|
|
3719
|
+
*/
|
|
3720
|
+
"label"?: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* Called when the accordion state changes
|
|
3723
|
+
*/
|
|
3724
|
+
"onGov-change"?: (event: GovStepperItemCustomEvent<GovStepperItemChangeEvent>) => void;
|
|
3725
|
+
/**
|
|
3726
|
+
* Size of stepper
|
|
3727
|
+
*/
|
|
3728
|
+
"size"?: StepperSizesType;
|
|
3729
|
+
/**
|
|
3730
|
+
* Used to change the HMTL tag in the stepper trigger for correct semantic structure
|
|
3731
|
+
*/
|
|
3732
|
+
"triggerTag"?: string;
|
|
3733
|
+
/**
|
|
3734
|
+
* Style variation of the button.
|
|
3735
|
+
*/
|
|
3736
|
+
"variant"?: StepperVariantType;
|
|
3737
|
+
}
|
|
3738
|
+
interface GovTabs {
|
|
3739
|
+
/**
|
|
3740
|
+
* Emitted when the tab is changed.
|
|
3741
|
+
*/
|
|
3742
|
+
"onGov-change"?: (event: GovTabsCustomEvent<HTMLGovTabsItemElement>) => void;
|
|
3743
|
+
/**
|
|
3744
|
+
* Tabs orientation
|
|
3745
|
+
*/
|
|
3746
|
+
"orientation"?: TabOrientationType;
|
|
3747
|
+
/**
|
|
3748
|
+
* Tabs type
|
|
3749
|
+
*/
|
|
3750
|
+
"type"?: TabType;
|
|
3751
|
+
/**
|
|
3752
|
+
* Style variation of the tab badges.
|
|
3753
|
+
*/
|
|
3754
|
+
"variant"?: VariantType2;
|
|
3755
|
+
/**
|
|
3756
|
+
* Adds accessible label for the tabs that is only shown for screen readers.
|
|
3757
|
+
*/
|
|
3758
|
+
"wcagLabel"?: string;
|
|
3759
|
+
/**
|
|
3760
|
+
* Indicates the id of a component that labels the tabs.
|
|
3761
|
+
*/
|
|
3762
|
+
"wcagLabelledBy"?: string;
|
|
3763
|
+
/**
|
|
3764
|
+
* Adds accessible label for the tabs select
|
|
3765
|
+
*/
|
|
3766
|
+
"wcagSelectLabel"?: string;
|
|
3767
|
+
}
|
|
3768
|
+
interface GovTabsItem {
|
|
3769
|
+
/**
|
|
3770
|
+
* Default selected tab
|
|
3771
|
+
*/
|
|
3772
|
+
"default"?: boolean;
|
|
3773
|
+
/**
|
|
3774
|
+
* Custom tab item identifier. Otherwise, it will be generated
|
|
3775
|
+
*/
|
|
3776
|
+
"identifier"?: string;
|
|
3777
|
+
/**
|
|
3778
|
+
* Item name of the tab
|
|
3779
|
+
*/
|
|
3780
|
+
"label"?: string;
|
|
3781
|
+
/**
|
|
3782
|
+
* Custom tab trigger item identifier. Otherwise, it will be generated
|
|
3783
|
+
*/
|
|
3784
|
+
"triggerIdentifier"?: string;
|
|
3785
|
+
}
|
|
3786
|
+
interface GovTile {
|
|
3787
|
+
/**
|
|
3788
|
+
* Link on whole tile
|
|
3789
|
+
*/
|
|
3790
|
+
"href"?: string;
|
|
3791
|
+
/**
|
|
3792
|
+
* Item name
|
|
3793
|
+
*/
|
|
3794
|
+
"name"?: string;
|
|
3795
|
+
/**
|
|
3796
|
+
* Style variation of the card.
|
|
3797
|
+
*/
|
|
3798
|
+
"promotion"?: boolean;
|
|
3799
|
+
}
|
|
3800
|
+
interface GovTiles {
|
|
3801
|
+
/**
|
|
3802
|
+
* Number of columns between 1-4
|
|
3803
|
+
*/
|
|
3804
|
+
"columns"?: number;
|
|
3805
|
+
/**
|
|
3806
|
+
* Tiles border
|
|
3807
|
+
*/
|
|
3808
|
+
"noBorder"?: boolean;
|
|
3809
|
+
}
|
|
3810
|
+
interface GovToast {
|
|
3811
|
+
/**
|
|
3812
|
+
* Closing button texting instead of icons
|
|
3813
|
+
*/
|
|
3814
|
+
"closeLabel"?: string;
|
|
3815
|
+
/**
|
|
3816
|
+
* Toast’s gravity
|
|
3817
|
+
*/
|
|
3818
|
+
"gravity"?: 'top' | 'bottom';
|
|
3819
|
+
/**
|
|
3820
|
+
* Called when the close button is clicked
|
|
3821
|
+
*/
|
|
3822
|
+
"onGov-close"?: (event: GovToastCustomEvent<string>) => void;
|
|
3823
|
+
/**
|
|
3824
|
+
* Toast’s position
|
|
3825
|
+
*/
|
|
3826
|
+
"position"?: 'left' | 'center' | 'right';
|
|
3827
|
+
/**
|
|
3828
|
+
* Number of milliseconds to wait before Toast disappear
|
|
3829
|
+
*/
|
|
3830
|
+
"time"?: number;
|
|
3831
|
+
/**
|
|
3832
|
+
* Toast type
|
|
3833
|
+
*/
|
|
3834
|
+
"type"?: ToastTypesType;
|
|
3835
|
+
/**
|
|
3836
|
+
* Style variation of the toast message.
|
|
3837
|
+
*/
|
|
3838
|
+
"variant"?: ToastVariantType;
|
|
3839
|
+
/**
|
|
3840
|
+
* Aria label for the closing button. It is mandatory if the alert is closable
|
|
3841
|
+
*/
|
|
3842
|
+
"wcagCloseLabel"?: string;
|
|
3843
|
+
}
|
|
3844
|
+
interface GovTooltip {
|
|
3845
|
+
/**
|
|
3846
|
+
* Trigger is just an icon
|
|
3847
|
+
*/
|
|
3848
|
+
"icon"?: boolean;
|
|
3849
|
+
/**
|
|
3850
|
+
* Custom tooltip identifier.
|
|
3851
|
+
*/
|
|
3852
|
+
"identifier"?: string;
|
|
3853
|
+
/**
|
|
3854
|
+
* Information contained in the tolltip
|
|
3855
|
+
*/
|
|
3856
|
+
"message"?: string;
|
|
3857
|
+
/**
|
|
3858
|
+
* Tooltip display position
|
|
3859
|
+
*/
|
|
3860
|
+
"position"?: TooltipPositionType;
|
|
3861
|
+
/**
|
|
3862
|
+
* Tooltip’s size.
|
|
3863
|
+
*/
|
|
3864
|
+
"size"?: TooltipSizeType;
|
|
3865
|
+
/**
|
|
3866
|
+
* Style variation of the tooltip
|
|
3867
|
+
*/
|
|
3868
|
+
"variant"?: TooltipVariantType;
|
|
3869
|
+
}
|
|
3870
|
+
interface GovTooltipContent {
|
|
3871
|
+
/**
|
|
3872
|
+
* Indicates display of tooltip content
|
|
3873
|
+
*/
|
|
3874
|
+
"isVisible"?: boolean;
|
|
3875
|
+
}
|
|
3876
|
+
interface GovWizzard {
|
|
3877
|
+
/**
|
|
3878
|
+
* Called when the wizzard children state changes
|
|
3879
|
+
*/
|
|
3880
|
+
"onGov-change"?: (event: GovWizzardCustomEvent<GovWizzardItemChangeEvent>) => void;
|
|
3881
|
+
/**
|
|
3882
|
+
* Size of wizzard
|
|
3883
|
+
*/
|
|
3884
|
+
"size"?: WizardSizesType;
|
|
3885
|
+
/**
|
|
3886
|
+
* Adds accessible label for the wizzard that is only shown for screen readers.
|
|
3887
|
+
*/
|
|
3888
|
+
"wcagLabel"?: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* String of id's that indicate alternative labels elements
|
|
3891
|
+
*/
|
|
3892
|
+
"wcagLabelledBy"?: string;
|
|
3893
|
+
}
|
|
3894
|
+
interface GovWizzardItem {
|
|
3895
|
+
/**
|
|
3896
|
+
* Item annotation of the wizzard
|
|
3897
|
+
*/
|
|
3898
|
+
"annotation"?: string;
|
|
3899
|
+
/**
|
|
3900
|
+
* Defines wether the wizzard item can be collapsible
|
|
3901
|
+
*/
|
|
3902
|
+
"collapsible"?: boolean;
|
|
3903
|
+
/**
|
|
3904
|
+
* Makes the wizzard component disabled.
|
|
3905
|
+
*/
|
|
3906
|
+
"disabled"?: boolean;
|
|
3907
|
+
/**
|
|
3908
|
+
* Custom wizzard item identifier. Otherwise, it will be generated
|
|
3909
|
+
*/
|
|
3910
|
+
"identifier"?: string;
|
|
3911
|
+
/**
|
|
3912
|
+
* Defines whether the accordion is open or closed by default
|
|
3913
|
+
*/
|
|
3914
|
+
"isExpanded"?: boolean;
|
|
3915
|
+
/**
|
|
3916
|
+
* Item label of the wizzard
|
|
3917
|
+
*/
|
|
3918
|
+
"label"?: string;
|
|
3919
|
+
/**
|
|
3920
|
+
* Used to change the HMTL tag in the accordion trigger for correct semantic structure
|
|
3921
|
+
*/
|
|
3922
|
+
"labelTag"?: string;
|
|
3923
|
+
/**
|
|
3924
|
+
* Called when the accordion state changes
|
|
3925
|
+
*/
|
|
3926
|
+
"onGov-change"?: (event: GovWizzardItemCustomEvent<GovWizzardItemChangeEvent>) => void;
|
|
3927
|
+
/**
|
|
3928
|
+
* Size of wizzard
|
|
3929
|
+
*/
|
|
3930
|
+
"size"?: WizardSizesType;
|
|
3931
|
+
/**
|
|
3932
|
+
* Style variation of the button.
|
|
3933
|
+
*/
|
|
3934
|
+
"variant"?: WizardVariantsType;
|
|
3935
|
+
}
|
|
3936
|
+
interface IntrinsicElements {
|
|
3937
|
+
"gov-accordion": GovAccordion;
|
|
3938
|
+
"gov-accordion-item": GovAccordionItem;
|
|
3939
|
+
"gov-alert": GovAlert;
|
|
3940
|
+
"gov-app": GovApp;
|
|
3941
|
+
"gov-attachments": GovAttachments;
|
|
3942
|
+
"gov-attachments-item": GovAttachmentsItem;
|
|
3943
|
+
"gov-backdrop": GovBackdrop;
|
|
3944
|
+
"gov-badge": GovBadge;
|
|
3945
|
+
"gov-breadcrumbs": GovBreadcrumbs;
|
|
3946
|
+
"gov-button": GovButton;
|
|
3947
|
+
"gov-card": GovCard;
|
|
3948
|
+
"gov-container": GovContainer;
|
|
3949
|
+
"gov-cookiebar": GovCookiebar;
|
|
3950
|
+
"gov-empty": GovEmpty;
|
|
3951
|
+
"gov-error-code": GovErrorCode;
|
|
3952
|
+
"gov-form-autocomplete": GovFormAutocomplete;
|
|
3953
|
+
"gov-form-checkbox": GovFormCheckbox;
|
|
3954
|
+
"gov-form-control": GovFormControl;
|
|
3955
|
+
"gov-form-file": GovFormFile;
|
|
3956
|
+
"gov-form-group": GovFormGroup;
|
|
3957
|
+
"gov-form-input": GovFormInput;
|
|
3958
|
+
"gov-form-label": GovFormLabel;
|
|
3959
|
+
"gov-form-message": GovFormMessage;
|
|
3960
|
+
"gov-form-multi-select": GovFormMultiSelect;
|
|
3961
|
+
"gov-form-password-power": GovFormPasswordPower;
|
|
3962
|
+
"gov-form-radio": GovFormRadio;
|
|
3963
|
+
"gov-form-search": GovFormSearch;
|
|
3964
|
+
"gov-form-select": GovFormSelect;
|
|
3965
|
+
"gov-form-switch": GovFormSwitch;
|
|
3966
|
+
"gov-grid": GovGrid;
|
|
3967
|
+
"gov-grid-item": GovGridItem;
|
|
3968
|
+
"gov-icon": GovIcon;
|
|
3969
|
+
"gov-layout": GovLayout;
|
|
3970
|
+
"gov-layout-column": GovLayoutColumn;
|
|
3971
|
+
"gov-loading": GovLoading;
|
|
3972
|
+
"gov-message": GovMessage;
|
|
3973
|
+
"gov-modal": GovModal;
|
|
3974
|
+
"gov-nav": GovNav;
|
|
3975
|
+
"gov-nav-item": GovNavItem;
|
|
3976
|
+
"gov-pagination": GovPagination;
|
|
3977
|
+
"gov-prompt": GovPrompt;
|
|
3978
|
+
"gov-side-nav": GovSideNav;
|
|
3979
|
+
"gov-side-nav-item": GovSideNavItem;
|
|
3980
|
+
"gov-skeleton": GovSkeleton;
|
|
3981
|
+
"gov-spacer": GovSpacer;
|
|
3982
|
+
"gov-statsbar": GovStatsbar;
|
|
3983
|
+
"gov-statsbar-item": GovStatsbarItem;
|
|
3984
|
+
"gov-stepper": GovStepper;
|
|
3985
|
+
"gov-stepper-item": GovStepperItem;
|
|
3986
|
+
"gov-tabs": GovTabs;
|
|
3987
|
+
"gov-tabs-item": GovTabsItem;
|
|
3988
|
+
"gov-tile": GovTile;
|
|
3989
|
+
"gov-tiles": GovTiles;
|
|
3990
|
+
"gov-toast": GovToast;
|
|
3991
|
+
"gov-tooltip": GovTooltip;
|
|
3992
|
+
"gov-tooltip-content": GovTooltipContent;
|
|
3993
|
+
"gov-wizzard": GovWizzard;
|
|
3994
|
+
"gov-wizzard-item": GovWizzardItem;
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
export { LocalJSX as JSX };
|
|
3998
|
+
declare module "@stencil/core" {
|
|
3999
|
+
export namespace JSX {
|
|
4000
|
+
interface IntrinsicElements {
|
|
4001
|
+
"gov-accordion": LocalJSX.GovAccordion & JSXBase.HTMLAttributes<HTMLGovAccordionElement>;
|
|
4002
|
+
"gov-accordion-item": LocalJSX.GovAccordionItem & JSXBase.HTMLAttributes<HTMLGovAccordionItemElement>;
|
|
4003
|
+
"gov-alert": LocalJSX.GovAlert & JSXBase.HTMLAttributes<HTMLGovAlertElement>;
|
|
4004
|
+
"gov-app": LocalJSX.GovApp & JSXBase.HTMLAttributes<HTMLGovAppElement>;
|
|
4005
|
+
"gov-attachments": LocalJSX.GovAttachments & JSXBase.HTMLAttributes<HTMLGovAttachmentsElement>;
|
|
4006
|
+
"gov-attachments-item": LocalJSX.GovAttachmentsItem & JSXBase.HTMLAttributes<HTMLGovAttachmentsItemElement>;
|
|
4007
|
+
"gov-backdrop": LocalJSX.GovBackdrop & JSXBase.HTMLAttributes<HTMLGovBackdropElement>;
|
|
4008
|
+
"gov-badge": LocalJSX.GovBadge & JSXBase.HTMLAttributes<HTMLGovBadgeElement>;
|
|
4009
|
+
"gov-breadcrumbs": LocalJSX.GovBreadcrumbs & JSXBase.HTMLAttributes<HTMLGovBreadcrumbsElement>;
|
|
4010
|
+
"gov-button": LocalJSX.GovButton & JSXBase.HTMLAttributes<HTMLGovButtonElement>;
|
|
4011
|
+
"gov-card": LocalJSX.GovCard & JSXBase.HTMLAttributes<HTMLGovCardElement>;
|
|
4012
|
+
"gov-container": LocalJSX.GovContainer & JSXBase.HTMLAttributes<HTMLGovContainerElement>;
|
|
4013
|
+
"gov-cookiebar": LocalJSX.GovCookiebar & JSXBase.HTMLAttributes<HTMLGovCookiebarElement>;
|
|
4014
|
+
"gov-empty": LocalJSX.GovEmpty & JSXBase.HTMLAttributes<HTMLGovEmptyElement>;
|
|
4015
|
+
"gov-error-code": LocalJSX.GovErrorCode & JSXBase.HTMLAttributes<HTMLGovErrorCodeElement>;
|
|
4016
|
+
"gov-form-autocomplete": LocalJSX.GovFormAutocomplete & JSXBase.HTMLAttributes<HTMLGovFormAutocompleteElement>;
|
|
4017
|
+
"gov-form-checkbox": LocalJSX.GovFormCheckbox & JSXBase.HTMLAttributes<HTMLGovFormCheckboxElement>;
|
|
4018
|
+
"gov-form-control": LocalJSX.GovFormControl & JSXBase.HTMLAttributes<HTMLGovFormControlElement>;
|
|
4019
|
+
"gov-form-file": LocalJSX.GovFormFile & JSXBase.HTMLAttributes<HTMLGovFormFileElement>;
|
|
4020
|
+
"gov-form-group": LocalJSX.GovFormGroup & JSXBase.HTMLAttributes<HTMLGovFormGroupElement>;
|
|
4021
|
+
"gov-form-input": LocalJSX.GovFormInput & JSXBase.HTMLAttributes<HTMLGovFormInputElement>;
|
|
4022
|
+
"gov-form-label": LocalJSX.GovFormLabel & JSXBase.HTMLAttributes<HTMLGovFormLabelElement>;
|
|
4023
|
+
"gov-form-message": LocalJSX.GovFormMessage & JSXBase.HTMLAttributes<HTMLGovFormMessageElement>;
|
|
4024
|
+
"gov-form-multi-select": LocalJSX.GovFormMultiSelect & JSXBase.HTMLAttributes<HTMLGovFormMultiSelectElement>;
|
|
4025
|
+
"gov-form-password-power": LocalJSX.GovFormPasswordPower & JSXBase.HTMLAttributes<HTMLGovFormPasswordPowerElement>;
|
|
4026
|
+
"gov-form-radio": LocalJSX.GovFormRadio & JSXBase.HTMLAttributes<HTMLGovFormRadioElement>;
|
|
4027
|
+
"gov-form-search": LocalJSX.GovFormSearch & JSXBase.HTMLAttributes<HTMLGovFormSearchElement>;
|
|
4028
|
+
"gov-form-select": LocalJSX.GovFormSelect & JSXBase.HTMLAttributes<HTMLGovFormSelectElement>;
|
|
4029
|
+
"gov-form-switch": LocalJSX.GovFormSwitch & JSXBase.HTMLAttributes<HTMLGovFormSwitchElement>;
|
|
4030
|
+
"gov-grid": LocalJSX.GovGrid & JSXBase.HTMLAttributes<HTMLGovGridElement>;
|
|
4031
|
+
"gov-grid-item": LocalJSX.GovGridItem & JSXBase.HTMLAttributes<HTMLGovGridItemElement>;
|
|
4032
|
+
"gov-icon": LocalJSX.GovIcon & JSXBase.HTMLAttributes<HTMLGovIconElement>;
|
|
4033
|
+
"gov-layout": LocalJSX.GovLayout & JSXBase.HTMLAttributes<HTMLGovLayoutElement>;
|
|
4034
|
+
"gov-layout-column": LocalJSX.GovLayoutColumn & JSXBase.HTMLAttributes<HTMLGovLayoutColumnElement>;
|
|
4035
|
+
"gov-loading": LocalJSX.GovLoading & JSXBase.HTMLAttributes<HTMLGovLoadingElement>;
|
|
4036
|
+
"gov-message": LocalJSX.GovMessage & JSXBase.HTMLAttributes<HTMLGovMessageElement>;
|
|
4037
|
+
"gov-modal": LocalJSX.GovModal & JSXBase.HTMLAttributes<HTMLGovModalElement>;
|
|
4038
|
+
"gov-nav": LocalJSX.GovNav & JSXBase.HTMLAttributes<HTMLGovNavElement>;
|
|
4039
|
+
"gov-nav-item": LocalJSX.GovNavItem & JSXBase.HTMLAttributes<HTMLGovNavItemElement>;
|
|
4040
|
+
"gov-pagination": LocalJSX.GovPagination & JSXBase.HTMLAttributes<HTMLGovPaginationElement>;
|
|
4041
|
+
"gov-prompt": LocalJSX.GovPrompt & JSXBase.HTMLAttributes<HTMLGovPromptElement>;
|
|
4042
|
+
"gov-side-nav": LocalJSX.GovSideNav & JSXBase.HTMLAttributes<HTMLGovSideNavElement>;
|
|
4043
|
+
"gov-side-nav-item": LocalJSX.GovSideNavItem & JSXBase.HTMLAttributes<HTMLGovSideNavItemElement>;
|
|
4044
|
+
"gov-skeleton": LocalJSX.GovSkeleton & JSXBase.HTMLAttributes<HTMLGovSkeletonElement>;
|
|
4045
|
+
"gov-spacer": LocalJSX.GovSpacer & JSXBase.HTMLAttributes<HTMLGovSpacerElement>;
|
|
4046
|
+
"gov-statsbar": LocalJSX.GovStatsbar & JSXBase.HTMLAttributes<HTMLGovStatsbarElement>;
|
|
4047
|
+
"gov-statsbar-item": LocalJSX.GovStatsbarItem & JSXBase.HTMLAttributes<HTMLGovStatsbarItemElement>;
|
|
4048
|
+
"gov-stepper": LocalJSX.GovStepper & JSXBase.HTMLAttributes<HTMLGovStepperElement>;
|
|
4049
|
+
"gov-stepper-item": LocalJSX.GovStepperItem & JSXBase.HTMLAttributes<HTMLGovStepperItemElement>;
|
|
4050
|
+
"gov-tabs": LocalJSX.GovTabs & JSXBase.HTMLAttributes<HTMLGovTabsElement>;
|
|
4051
|
+
"gov-tabs-item": LocalJSX.GovTabsItem & JSXBase.HTMLAttributes<HTMLGovTabsItemElement>;
|
|
4052
|
+
"gov-tile": LocalJSX.GovTile & JSXBase.HTMLAttributes<HTMLGovTileElement>;
|
|
4053
|
+
"gov-tiles": LocalJSX.GovTiles & JSXBase.HTMLAttributes<HTMLGovTilesElement>;
|
|
4054
|
+
"gov-toast": LocalJSX.GovToast & JSXBase.HTMLAttributes<HTMLGovToastElement>;
|
|
4055
|
+
"gov-tooltip": LocalJSX.GovTooltip & JSXBase.HTMLAttributes<HTMLGovTooltipElement>;
|
|
4056
|
+
"gov-tooltip-content": LocalJSX.GovTooltipContent & JSXBase.HTMLAttributes<HTMLGovTooltipContentElement>;
|
|
4057
|
+
"gov-wizzard": LocalJSX.GovWizzard & JSXBase.HTMLAttributes<HTMLGovWizzardElement>;
|
|
4058
|
+
"gov-wizzard-item": LocalJSX.GovWizzardItem & JSXBase.HTMLAttributes<HTMLGovWizzardItemElement>;
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
}
|