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