@gov-design-system-ce/components 4.6.4 → 4.6.5
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/gov-flex_3.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +35 -11
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +7 -2
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/utils/file.utils.js +28 -9
- package/dist/collection/utils/file.utils.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-blockquote.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-collapsible.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-range.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-theme-switch.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/{p-DEthsMuE.js → p-BIB-JMbL.js} +2 -2
- package/dist/components/{p-iTwUkISB.js → p-BVG9PtuQ.js} +2 -2
- package/dist/components/{p-yIpIIG5A.js → p-DV0Pdd1S.js} +2 -2
- package/dist/components/{p-CXPP9vec.js → p-Dj-FiQ37.js} +2 -2
- package/dist/components/{p-pJ_vPAO0.js → p-DlpZtTcv.js} +2 -2
- package/dist/components/{p-DN5pb9xA.js → p-Dw1o8KoZ.js} +2 -2
- package/dist/components/{p-ibUK7mfI.js → p-NU_8kxGz.js} +2 -2
- package/dist/components/{p-C_URF9Su.js → p-o4vVG5sG.js} +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/gov-form-file.entry.esm.js.map +1 -1
- package/dist/core/{p-bec959c4.entry.js → p-002e72bf.entry.js} +2 -2
- package/dist/core/p-441e67f6.entry.js +2 -0
- package/dist/core/p-441e67f6.entry.js.map +1 -0
- package/dist/dist/components/gov-accordion-item.d.ts +11 -0
- package/dist/dist/components/gov-accordion.d.ts +11 -0
- package/dist/dist/components/gov-attachments-item.d.ts +11 -0
- package/dist/dist/components/gov-attachments.d.ts +11 -0
- package/dist/dist/components/gov-backdrop.d.ts +11 -0
- package/dist/dist/components/gov-banner.d.ts +11 -0
- package/dist/dist/components/gov-blockquote.d.ts +11 -0
- package/dist/dist/components/gov-breadcrumbs.d.ts +11 -0
- package/dist/dist/components/gov-button.d.ts +11 -0
- package/dist/dist/components/gov-card.d.ts +11 -0
- package/dist/dist/components/gov-chip.d.ts +11 -0
- package/dist/dist/components/gov-collapsible.d.ts +11 -0
- package/dist/dist/components/gov-container.d.ts +11 -0
- package/dist/dist/components/gov-control-group.d.ts +11 -0
- package/dist/dist/components/gov-cookiebar.d.ts +11 -0
- package/dist/dist/components/gov-dialog.d.ts +11 -0
- package/dist/dist/components/gov-dropdown.d.ts +11 -0
- package/dist/dist/components/gov-empty.d.ts +11 -0
- package/dist/dist/components/gov-error-code.d.ts +11 -0
- package/dist/dist/components/gov-flex.d.ts +11 -0
- package/dist/dist/components/gov-form-autocomplete.d.ts +11 -0
- package/dist/dist/components/gov-form-checkbox-group.d.ts +11 -0
- package/dist/dist/components/gov-form-checkbox.d.ts +11 -0
- package/dist/dist/components/gov-form-control.d.ts +11 -0
- package/dist/dist/components/gov-form-file.d.ts +11 -0
- package/dist/dist/components/gov-form-group.d.ts +11 -0
- package/dist/dist/components/gov-form-input.d.ts +11 -0
- package/dist/dist/components/gov-form-label.d.ts +11 -0
- package/dist/dist/components/gov-form-message.d.ts +11 -0
- package/dist/dist/components/gov-form-multi-select.d.ts +11 -0
- package/dist/dist/components/gov-form-password-power.d.ts +11 -0
- package/dist/dist/components/gov-form-radio-group.d.ts +11 -0
- package/dist/dist/components/gov-form-radio.d.ts +11 -0
- package/dist/dist/components/gov-form-range.d.ts +11 -0
- package/dist/dist/components/gov-form-search.d.ts +11 -0
- package/dist/dist/components/gov-form-select.d.ts +11 -0
- package/dist/dist/components/gov-form-switch.d.ts +11 -0
- package/dist/dist/components/gov-grid-item.d.ts +11 -0
- package/dist/dist/components/gov-grid.d.ts +11 -0
- package/dist/dist/components/gov-icon.d.ts +11 -0
- package/dist/dist/components/gov-infobar.d.ts +11 -0
- package/dist/dist/components/gov-layout-column.d.ts +11 -0
- package/dist/dist/components/gov-layout.d.ts +11 -0
- package/dist/dist/components/gov-lifecycle.d.ts +11 -0
- package/dist/dist/components/gov-link.d.ts +11 -0
- package/dist/dist/components/gov-loading.d.ts +11 -0
- package/dist/dist/components/gov-message.d.ts +11 -0
- package/dist/dist/components/gov-pagination.d.ts +11 -0
- package/dist/dist/components/gov-skeleton.d.ts +11 -0
- package/dist/dist/components/gov-spacer.d.ts +11 -0
- package/dist/dist/components/gov-stepper-item.d.ts +11 -0
- package/dist/dist/components/gov-stepper.d.ts +11 -0
- package/dist/dist/components/gov-tabs-item.d.ts +11 -0
- package/dist/dist/components/gov-tabs.d.ts +11 -0
- package/dist/dist/components/gov-tag.d.ts +11 -0
- package/dist/dist/components/gov-theme-switch.d.ts +11 -0
- package/dist/dist/components/gov-tile.d.ts +11 -0
- package/dist/dist/components/gov-toast.d.ts +11 -0
- package/dist/dist/components/gov-tooltip-content.d.ts +11 -0
- package/dist/dist/components/gov-tooltip.d.ts +11 -0
- package/dist/dist/components/gov-wizard-item.d.ts +11 -0
- package/dist/dist/components/gov-wizard.d.ts +11 -0
- package/dist/dist/components/index.d.ts +35 -0
- package/dist/dist/dist/components/gov-accordion-item.d.ts +11 -0
- package/dist/dist/dist/components/gov-accordion.d.ts +11 -0
- package/dist/dist/dist/components/gov-app.d.ts +11 -0
- package/dist/dist/dist/components/gov-attachments-item.d.ts +11 -0
- package/dist/dist/dist/components/gov-attachments.d.ts +11 -0
- package/dist/dist/dist/components/gov-backdrop.d.ts +11 -0
- package/dist/dist/dist/components/gov-banner.d.ts +11 -0
- package/dist/dist/dist/components/gov-blockquote.d.ts +11 -0
- package/dist/dist/dist/components/gov-breadcrumbs.d.ts +11 -0
- package/dist/dist/dist/components/gov-button.d.ts +11 -0
- package/dist/dist/dist/components/gov-card.d.ts +11 -0
- package/dist/dist/dist/components/gov-chip.d.ts +11 -0
- package/dist/dist/dist/components/gov-collapsible.d.ts +11 -0
- package/dist/dist/dist/components/gov-container.d.ts +11 -0
- package/dist/dist/dist/components/gov-control-group.d.ts +11 -0
- package/dist/dist/dist/components/gov-cookiebar.d.ts +11 -0
- package/dist/dist/dist/components/gov-dialog.d.ts +11 -0
- package/dist/dist/dist/components/gov-dropdown.d.ts +11 -0
- package/dist/dist/dist/components/gov-empty.d.ts +11 -0
- package/dist/dist/dist/components/gov-error-code.d.ts +11 -0
- package/dist/dist/dist/components/gov-flex.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-autocomplete.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-checkbox-group.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-checkbox.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-control.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-file.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-group.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-input.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-label.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-message.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-multi-select.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-password-power.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-radio-group.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-radio.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-range.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-search.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-select.d.ts +11 -0
- package/dist/dist/dist/components/gov-form-switch.d.ts +11 -0
- package/dist/dist/dist/components/gov-grid-item.d.ts +11 -0
- package/dist/dist/dist/components/gov-grid.d.ts +11 -0
- package/dist/dist/dist/components/gov-icon.d.ts +11 -0
- package/dist/dist/dist/components/gov-infobar.d.ts +11 -0
- package/dist/dist/dist/components/gov-layout-column.d.ts +11 -0
- package/dist/dist/dist/components/gov-layout.d.ts +11 -0
- package/dist/dist/dist/components/gov-lifecycle.d.ts +11 -0
- package/dist/dist/dist/components/gov-link.d.ts +11 -0
- package/dist/dist/dist/components/gov-loading.d.ts +11 -0
- package/dist/dist/dist/components/gov-message.d.ts +11 -0
- package/dist/dist/dist/components/gov-pagination.d.ts +11 -0
- package/dist/dist/dist/components/gov-skeleton.d.ts +11 -0
- package/dist/dist/dist/components/gov-spacer.d.ts +11 -0
- package/dist/dist/dist/components/gov-stepper-item.d.ts +11 -0
- package/dist/dist/dist/components/gov-stepper.d.ts +11 -0
- package/dist/dist/dist/components/gov-tabs-item.d.ts +11 -0
- package/dist/dist/dist/components/gov-tabs.d.ts +11 -0
- package/dist/dist/dist/components/gov-tag.d.ts +11 -0
- package/dist/dist/dist/components/gov-theme-switch.d.ts +11 -0
- package/dist/dist/dist/components/gov-tile.d.ts +11 -0
- package/dist/dist/dist/components/gov-toast.d.ts +11 -0
- package/dist/dist/dist/components/gov-tooltip-content.d.ts +11 -0
- package/dist/dist/dist/components/gov-tooltip.d.ts +11 -0
- package/dist/dist/dist/components/gov-wizard-item.d.ts +11 -0
- package/dist/dist/dist/components/gov-wizard.d.ts +11 -0
- package/dist/dist/dist/components/index.d.ts +35 -0
- package/dist/dist/dist/globals.d.ts +2 -0
- package/dist/dist/dist/hydrate/index.d.ts +287 -0
- package/dist/dist/dist/types/components/gov-accordion/constants.d.ts +19 -0
- package/dist/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +43 -0
- package/dist/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +26 -0
- package/dist/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
- package/dist/dist/dist/types/components/gov-attachments/constants.d.ts +11 -0
- package/dist/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
- package/dist/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
- package/dist/dist/dist/types/components/gov-backdrop/constants.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +32 -0
- package/dist/dist/dist/types/components/gov-banner/constants.d.ts +26 -0
- package/dist/dist/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
- package/dist/dist/dist/types/components/gov-blockquote/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
- package/dist/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
- package/dist/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +42 -0
- package/dist/dist/dist/types/components/gov-button/button/constants.d.ts +29 -0
- package/dist/dist/dist/types/components/gov-button/button/gov-button.d.ts +133 -0
- package/dist/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +40 -0
- package/dist/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-card/constants.d.ts +16 -0
- package/dist/dist/dist/types/components/gov-card/gov-card.d.ts +57 -0
- package/dist/dist/dist/types/components/gov-card/interfaces.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-chip/constants.d.ts +21 -0
- package/dist/dist/dist/types/components/gov-chip/gov-chip.d.ts +82 -0
- package/dist/dist/dist/types/components/gov-collapsible/constants.d.ts +18 -0
- package/dist/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
- package/dist/dist/dist/types/components/gov-container/constants.d.ts +3 -0
- package/dist/dist/dist/types/components/gov-container/gov-container.d.ts +6 -0
- package/dist/dist/dist/types/components/gov-control-group/constants.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +24 -0
- package/dist/dist/dist/types/components/gov-cookiebar/constants.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-dialog/constants.d.ts +11 -0
- package/dist/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +70 -0
- package/dist/dist/dist/types/components/gov-empty/constants.d.ts +19 -0
- package/dist/dist/dist/types/components/gov-empty/gov-empty.d.ts +21 -0
- package/dist/dist/dist/types/components/gov-error-code/constants.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
- package/dist/dist/dist/types/components/gov-flex/constants.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-flex/gov-flex.d.ts +39 -0
- package/dist/dist/dist/types/components/gov-form/autocomplete/autocomplete.utils.d.ts +2 -0
- package/dist/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +11 -0
- package/dist/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +158 -0
- package/dist/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
- package/dist/dist/dist/types/components/gov-form/checkbox/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +86 -0
- package/dist/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
- package/dist/dist/dist/types/components/gov-form/control/constants.d.ts +9 -0
- package/dist/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +40 -0
- package/dist/dist/dist/types/components/gov-form/file/constants.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +130 -0
- package/dist/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
- package/dist/dist/dist/types/components/gov-form/group/constants.d.ts +18 -0
- package/dist/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +32 -0
- package/dist/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
- package/dist/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +32 -0
- package/dist/dist/dist/types/components/gov-form/input/constants.d.ts +28 -0
- package/dist/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +178 -0
- package/dist/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-form/label/constants.d.ts +8 -0
- package/dist/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
- package/dist/dist/dist/types/components/gov-form/message/constants.d.ts +11 -0
- package/dist/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +23 -0
- package/dist/dist/dist/types/components/gov-form/multiselect/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +127 -0
- package/dist/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
- package/dist/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
- package/dist/dist/dist/types/components/gov-form/radio/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +83 -0
- package/dist/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
- package/dist/dist/dist/types/components/gov-form/range/constants.d.ts +9 -0
- package/dist/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
- package/dist/dist/dist/types/components/gov-form/search/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +13 -0
- package/dist/dist/dist/types/components/gov-form/select/constants.d.ts +8 -0
- package/dist/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +89 -0
- package/dist/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
- package/dist/dist/dist/types/components/gov-form/switch/constants.d.ts +12 -0
- package/dist/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +81 -0
- package/dist/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
- package/dist/dist/dist/types/components/gov-grid/constants.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +46 -0
- package/dist/dist/dist/types/components/gov-grid/gov-grid.d.ts +19 -0
- package/dist/dist/dist/types/components/gov-icon/constants.d.ts +18 -0
- package/dist/dist/dist/types/components/gov-icon/gov-icon.d.ts +34 -0
- package/dist/dist/dist/types/components/gov-icon/helpers.d.ts +6 -0
- package/dist/dist/dist/types/components/gov-icon/list.d.ts +3 -0
- package/dist/dist/dist/types/components/gov-infobar/constants.d.ts +16 -0
- package/dist/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +51 -0
- package/dist/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-layout/constants.d.ts +20 -0
- package/dist/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
- package/dist/dist/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
- package/dist/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
- package/dist/dist/dist/types/components/gov-link/constants.d.ts +8 -0
- package/dist/dist/dist/types/components/gov-link/gov-link.d.ts +34 -0
- package/dist/dist/dist/types/components/gov-loading/loading/constants.d.ts +9 -0
- package/dist/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +13 -0
- package/dist/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +21 -0
- package/dist/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +46 -0
- package/dist/dist/dist/types/components/gov-message/constants.d.ts +13 -0
- package/dist/dist/dist/types/components/gov-message/gov-message.d.ts +16 -0
- package/dist/dist/dist/types/components/gov-pagination/constants.d.ts +22 -0
- package/dist/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -0
- package/dist/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
- package/dist/dist/dist/types/components/gov-pagination/pagination.d.ts +12 -0
- package/dist/dist/dist/types/components/gov-spacer/constants.d.ts +15 -0
- package/dist/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
- package/dist/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
- package/dist/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
- package/dist/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
- package/dist/dist/dist/types/components/gov-tabs/constants.d.ts +28 -0
- package/dist/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +54 -0
- package/dist/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +70 -0
- package/dist/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +14 -0
- package/dist/dist/dist/types/components/gov-tag/constants.d.ts +12 -0
- package/dist/dist/dist/types/components/gov-tag/gov-tag.d.ts +35 -0
- package/dist/dist/dist/types/components/gov-theme-switch/constants.d.ts +12 -0
- package/dist/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +46 -0
- package/dist/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
- package/dist/dist/dist/types/components/gov-tile/constants.d.ts +13 -0
- package/dist/dist/dist/types/components/gov-tile/gov-tile.d.ts +34 -0
- package/dist/dist/dist/types/components/gov-toast/constants.d.ts +17 -0
- package/dist/dist/dist/types/components/gov-toast/gov-toast.d.ts +58 -0
- package/dist/dist/dist/types/components/gov-tooltip/constants.d.ts +20 -0
- package/dist/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +32 -0
- package/dist/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +61 -0
- package/dist/dist/dist/types/components/gov-wizard/constants.d.ts +19 -0
- package/dist/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +60 -0
- package/dist/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
- package/dist/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +35 -0
- package/dist/dist/dist/types/core/constants/colors.d.ts +13 -0
- package/dist/dist/dist/types/core/constants/sizes.d.ts +13 -0
- package/dist/dist/dist/types/core/constants/tags.d.ts +12 -0
- package/dist/dist/dist/types/core/constants/tokens.d.ts +1 -0
- package/dist/dist/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
- package/dist/dist/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
- package/dist/dist/dist/types/helpers/Dom/attribute.d.ts +13 -0
- package/dist/dist/dist/types/helpers/Dom/document.d.ts +4 -0
- package/dist/dist/dist/types/helpers/Dom/form.d.ts +3 -0
- package/dist/dist/dist/types/helpers/Dom/form.types.d.ts +11 -0
- package/dist/dist/dist/types/helpers/Dom/template.d.ts +10 -0
- package/dist/dist/dist/types/helpers/Dom/template.types.d.ts +14 -0
- package/dist/dist/dist/types/helpers/Dom/win.d.ts +18 -0
- package/dist/dist/dist/types/helpers/Fragment.d.ts +2 -0
- package/dist/dist/dist/types/helpers/Log/gov.log.d.ts +8 -0
- package/dist/dist/dist/types/helpers/Validate/props.d.ts +1 -0
- package/dist/dist/dist/types/helpers/Validate/wcag.d.ts +4 -0
- package/dist/dist/dist/types/index.d.ts +0 -0
- package/dist/dist/dist/types/interfaces.d.ts +1 -0
- package/dist/dist/dist/types/stencil-public-runtime.d.ts +1861 -0
- package/dist/dist/dist/types/types/event.types.d.ts +4 -0
- package/dist/dist/dist/types/types/interfaces.d.ts +2 -0
- package/dist/dist/dist/types/types/typings.d.ts +6 -0
- package/dist/dist/dist/types/utils/array.utils.d.ts +2 -0
- package/dist/dist/dist/types/utils/bool.utils.d.ts +1 -0
- package/dist/dist/dist/types/utils/dom.utils.d.ts +1 -0
- package/dist/dist/dist/types/utils/ds.utils.d.ts +1 -0
- package/dist/dist/dist/types/utils/file.utils.d.ts +3 -0
- package/dist/dist/dist/types/utils/helpers.types.d.ts +49 -0
- package/dist/dist/dist/types/utils/icon.utils.d.ts +4 -0
- package/dist/dist/dist/types/utils/number.utils.d.ts +1 -0
- package/dist/dist/dist/types/utils/object.utils.d.ts +2 -0
- package/dist/dist/dist/types/utils/stencil.utils.d.ts +1 -0
- package/dist/dist/dist/types/utils/string.utils.d.ts +4 -0
- package/dist/dist/dist/types/utils/utils.d.ts +20 -0
- package/dist/dist/globals.d.ts +2 -0
- package/dist/dist/hydrate/index.d.ts +287 -0
- package/dist/dist/types/components/gov-accordion/constants.d.ts +19 -0
- package/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +43 -0
- package/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +26 -0
- package/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
- package/dist/dist/types/components/gov-attachments/constants.d.ts +11 -0
- package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
- package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
- package/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
- package/dist/dist/types/components/gov-backdrop/constants.d.ts +4 -0
- package/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +32 -0
- package/dist/dist/types/components/gov-banner/constants.d.ts +26 -0
- package/dist/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
- package/dist/dist/types/components/gov-blockquote/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
- package/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
- package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
- package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +42 -0
- package/dist/dist/types/components/gov-button/button/constants.d.ts +29 -0
- package/dist/dist/types/components/gov-button/button/gov-button.d.ts +133 -0
- package/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
- package/dist/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +40 -0
- package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
- package/dist/dist/types/components/gov-card/constants.d.ts +16 -0
- package/dist/dist/types/components/gov-card/gov-card.d.ts +57 -0
- package/dist/dist/types/components/gov-card/interfaces.d.ts +4 -0
- package/dist/dist/types/components/gov-chip/constants.d.ts +21 -0
- package/dist/dist/types/components/gov-chip/gov-chip.d.ts +82 -0
- package/dist/dist/types/components/gov-collapsible/constants.d.ts +18 -0
- package/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
- package/dist/dist/types/components/gov-container/constants.d.ts +3 -0
- package/dist/dist/types/components/gov-container/gov-container.d.ts +6 -0
- package/dist/dist/types/components/gov-control-group/constants.d.ts +7 -0
- package/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +24 -0
- package/dist/dist/types/components/gov-cookiebar/constants.d.ts +7 -0
- package/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
- package/dist/dist/types/components/gov-dialog/constants.d.ts +11 -0
- package/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +70 -0
- package/dist/dist/types/components/gov-empty/constants.d.ts +19 -0
- package/dist/dist/types/components/gov-empty/gov-empty.d.ts +21 -0
- package/dist/dist/types/components/gov-error-code/constants.d.ts +4 -0
- package/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
- package/dist/dist/types/components/gov-flex/constants.d.ts +7 -0
- package/dist/dist/types/components/gov-flex/gov-flex.d.ts +39 -0
- package/dist/dist/types/components/gov-form/autocomplete/autocomplete.utils.d.ts +2 -0
- package/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +11 -0
- package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +158 -0
- package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
- package/dist/dist/types/components/gov-form/checkbox/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +86 -0
- package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
- package/dist/dist/types/components/gov-form/control/constants.d.ts +9 -0
- package/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +40 -0
- package/dist/dist/types/components/gov-form/file/constants.d.ts +7 -0
- package/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +130 -0
- package/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
- package/dist/dist/types/components/gov-form/group/constants.d.ts +18 -0
- package/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +32 -0
- package/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
- package/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +7 -0
- package/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +32 -0
- package/dist/dist/types/components/gov-form/input/constants.d.ts +28 -0
- package/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +178 -0
- package/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
- package/dist/dist/types/components/gov-form/label/constants.d.ts +8 -0
- package/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
- package/dist/dist/types/components/gov-form/message/constants.d.ts +11 -0
- package/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +23 -0
- package/dist/dist/types/components/gov-form/multiselect/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +127 -0
- package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +10 -0
- package/dist/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
- package/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
- package/dist/dist/types/components/gov-form/radio/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +83 -0
- package/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
- package/dist/dist/types/components/gov-form/range/constants.d.ts +9 -0
- package/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
- package/dist/dist/types/components/gov-form/search/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +13 -0
- package/dist/dist/types/components/gov-form/select/constants.d.ts +8 -0
- package/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +89 -0
- package/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
- package/dist/dist/types/components/gov-form/switch/constants.d.ts +12 -0
- package/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +81 -0
- package/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
- package/dist/dist/types/components/gov-grid/constants.d.ts +10 -0
- package/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +46 -0
- package/dist/dist/types/components/gov-grid/gov-grid.d.ts +19 -0
- package/dist/dist/types/components/gov-icon/constants.d.ts +18 -0
- package/dist/dist/types/components/gov-icon/gov-icon.d.ts +34 -0
- package/dist/dist/types/components/gov-icon/helpers.d.ts +6 -0
- package/dist/dist/types/components/gov-icon/list.d.ts +3 -0
- package/dist/dist/types/components/gov-infobar/constants.d.ts +16 -0
- package/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +51 -0
- package/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
- package/dist/dist/types/components/gov-layout/constants.d.ts +20 -0
- package/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
- package/dist/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
- package/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
- package/dist/dist/types/components/gov-link/constants.d.ts +8 -0
- package/dist/dist/types/components/gov-link/gov-link.d.ts +34 -0
- package/dist/dist/types/components/gov-loading/loading/constants.d.ts +9 -0
- package/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +13 -0
- package/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +21 -0
- package/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +46 -0
- package/dist/dist/types/components/gov-message/constants.d.ts +13 -0
- package/dist/dist/types/components/gov-message/gov-message.d.ts +16 -0
- package/dist/dist/types/components/gov-pagination/constants.d.ts +22 -0
- package/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -0
- package/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
- package/dist/dist/types/components/gov-pagination/pagination.d.ts +12 -0
- package/dist/dist/types/components/gov-spacer/constants.d.ts +15 -0
- package/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
- package/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
- package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +4 -0
- package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
- package/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
- package/dist/dist/types/components/gov-tabs/constants.d.ts +28 -0
- package/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +54 -0
- package/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +70 -0
- package/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +14 -0
- package/dist/dist/types/components/gov-tag/constants.d.ts +12 -0
- package/dist/dist/types/components/gov-tag/gov-tag.d.ts +35 -0
- package/dist/dist/types/components/gov-theme-switch/constants.d.ts +12 -0
- package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +46 -0
- package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
- package/dist/dist/types/components/gov-tile/constants.d.ts +13 -0
- package/dist/dist/types/components/gov-tile/gov-tile.d.ts +34 -0
- package/dist/dist/types/components/gov-toast/constants.d.ts +17 -0
- package/dist/dist/types/components/gov-toast/gov-toast.d.ts +58 -0
- package/dist/dist/types/components/gov-tooltip/constants.d.ts +20 -0
- package/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +32 -0
- package/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +61 -0
- package/dist/dist/types/components/gov-wizard/constants.d.ts +19 -0
- package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
- package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +60 -0
- package/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
- package/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +35 -0
- package/dist/dist/types/core/constants/colors.d.ts +13 -0
- package/dist/dist/types/core/constants/sizes.d.ts +13 -0
- package/dist/dist/types/core/constants/tags.d.ts +12 -0
- package/dist/dist/types/core/constants/tokens.d.ts +1 -0
- package/dist/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
- package/dist/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
- package/dist/dist/types/helpers/Dom/attribute.d.ts +13 -0
- package/dist/dist/types/helpers/Dom/document.d.ts +4 -0
- package/dist/dist/types/helpers/Dom/form.d.ts +3 -0
- package/dist/dist/types/helpers/Dom/form.types.d.ts +11 -0
- package/dist/dist/types/helpers/Dom/template.d.ts +10 -0
- package/dist/dist/types/helpers/Dom/template.types.d.ts +14 -0
- package/dist/dist/types/helpers/Dom/win.d.ts +18 -0
- package/dist/dist/types/helpers/Fragment.d.ts +2 -0
- package/dist/dist/types/helpers/Log/gov.log.d.ts +8 -0
- package/dist/dist/types/helpers/Validate/props.d.ts +1 -0
- package/dist/dist/types/helpers/Validate/wcag.d.ts +4 -0
- package/dist/dist/types/index.d.ts +0 -0
- package/dist/dist/types/interfaces.d.ts +1 -0
- package/dist/dist/types/stencil-public-runtime.d.ts +1861 -0
- package/dist/dist/types/types/event.types.d.ts +4 -0
- package/dist/dist/types/types/interfaces.d.ts +2 -0
- package/dist/dist/types/types/typings.d.ts +6 -0
- package/dist/dist/types/utils/array.utils.d.ts +2 -0
- package/dist/dist/types/utils/bool.utils.d.ts +1 -0
- package/dist/dist/types/utils/dom.utils.d.ts +1 -0
- package/dist/dist/types/utils/ds.utils.d.ts +1 -0
- package/dist/dist/types/utils/file.utils.d.ts +3 -0
- package/dist/dist/types/utils/helpers.types.d.ts +49 -0
- package/dist/dist/types/utils/icon.utils.d.ts +4 -0
- package/dist/dist/types/utils/number.utils.d.ts +1 -0
- package/dist/dist/types/utils/object.utils.d.ts +2 -0
- package/dist/dist/types/utils/stencil.utils.d.ts +1 -0
- package/dist/dist/types/utils/string.utils.d.ts +4 -0
- package/dist/dist/types/utils/utils.d.ts +20 -0
- package/dist/esm/gov-flex_3.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +35 -11
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/hydrate/index.js +36 -12
- package/dist/hydrate/index.mjs +36 -12
- package/package.json +2 -2
- package/dist/core/p-afe254cb.entry.js +0 -2
- package/dist/core/p-afe254cb.entry.js.map +0 -1
- package/readme.md +0 -9
- /package/dist/components/{p-DEthsMuE.js.map → p-BIB-JMbL.js.map} +0 -0
- /package/dist/components/{p-iTwUkISB.js.map → p-BVG9PtuQ.js.map} +0 -0
- /package/dist/components/{p-yIpIIG5A.js.map → p-DV0Pdd1S.js.map} +0 -0
- /package/dist/components/{p-CXPP9vec.js.map → p-Dj-FiQ37.js.map} +0 -0
- /package/dist/components/{p-pJ_vPAO0.js.map → p-DlpZtTcv.js.map} +0 -0
- /package/dist/components/{p-DN5pb9xA.js.map → p-Dw1o8KoZ.js.map} +0 -0
- /package/dist/components/{p-ibUK7mfI.js.map → p-NU_8kxGz.js.map} +0 -0
- /package/dist/components/{p-C_URF9Su.js.map → p-o4vVG5sG.js.map} +0 -0
- /package/dist/core/{p-bec959c4.entry.js.map → p-002e72bf.entry.js.map} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BannerBackgroundsType, BannerForegroundsType, BannerSizesType, BannerTextColorsType } from "./constants";
|
|
2
|
+
export declare class GovBanner {
|
|
3
|
+
private h;
|
|
4
|
+
constructor();
|
|
5
|
+
host: HTMLGovBannerElement;
|
|
6
|
+
/**
|
|
7
|
+
* Banner’s size.
|
|
8
|
+
*/
|
|
9
|
+
readonly size: BannerSizesType;
|
|
10
|
+
/**
|
|
11
|
+
* Banner’s background
|
|
12
|
+
*/
|
|
13
|
+
readonly background: BannerBackgroundsType;
|
|
14
|
+
/**
|
|
15
|
+
* Banner’s foreground
|
|
16
|
+
*/
|
|
17
|
+
readonly foreground: BannerForegroundsType;
|
|
18
|
+
/**
|
|
19
|
+
* XL Banner’s text color
|
|
20
|
+
*/
|
|
21
|
+
readonly textColor: BannerTextColorsType;
|
|
22
|
+
validateSize(newValue: string): void;
|
|
23
|
+
validateBackground(newValue: string): void;
|
|
24
|
+
validateForeground(newValue: string): void;
|
|
25
|
+
validateTextColor(newValue: string): void;
|
|
26
|
+
componentWillLoad(): void;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ValueOf } from "../../types/interfaces";
|
|
2
|
+
export declare enum BlockquoteType {
|
|
3
|
+
PRIMARY = "primary",
|
|
4
|
+
SUBTLE = "subtle",
|
|
5
|
+
NEUTRAL = "neutral"
|
|
6
|
+
}
|
|
7
|
+
export type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`;
|
|
8
|
+
export declare const BlockquoteClass: {
|
|
9
|
+
root: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BlockquoteTypesType } from "./constants";
|
|
2
|
+
export declare class GovBlockquote {
|
|
3
|
+
private h;
|
|
4
|
+
constructor();
|
|
5
|
+
host: HTMLGovBlockquoteElement;
|
|
6
|
+
/**
|
|
7
|
+
* Blockquote’s type
|
|
8
|
+
*/
|
|
9
|
+
readonly type: BlockquoteTypesType;
|
|
10
|
+
/**
|
|
11
|
+
* Blockquote’s cite url
|
|
12
|
+
*/
|
|
13
|
+
readonly cite: string;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { GovBreadcrumbsChangeEvent } from './gov-breadcrumbs.d';
|
|
3
|
+
export declare class GovBreadcrumbs {
|
|
4
|
+
private inited;
|
|
5
|
+
private h;
|
|
6
|
+
constructor();
|
|
7
|
+
readonly host: HTMLGovBreadcrumbsElement;
|
|
8
|
+
/**
|
|
9
|
+
* Defines whether the components can be collapsible when element doesn't fit in one row.
|
|
10
|
+
*/
|
|
11
|
+
readonly collapsible: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Defines whether the breadcrumbs are open or closed by button
|
|
14
|
+
*/
|
|
15
|
+
readonly isExpanded: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Adds accessible label for the pagination that is only shown for screen readers.
|
|
18
|
+
*/
|
|
19
|
+
readonly accessibleLabel: string;
|
|
20
|
+
/**
|
|
21
|
+
* Indicates the id of a component that labels the pagination.
|
|
22
|
+
*/
|
|
23
|
+
readonly accessibleLabelledBy: string;
|
|
24
|
+
/**
|
|
25
|
+
* Adds an accessible label to display the full breadcrumb navigation that only screen readers can see.
|
|
26
|
+
*/
|
|
27
|
+
readonly accessibleToggleLabel: string;
|
|
28
|
+
/**
|
|
29
|
+
* Called when the Breadcrumbs state changes
|
|
30
|
+
*/
|
|
31
|
+
govChange: EventEmitter<GovBreadcrumbsChangeEvent>;
|
|
32
|
+
expanded: boolean;
|
|
33
|
+
toggleOption: boolean;
|
|
34
|
+
componentDidRender(): Promise<void>;
|
|
35
|
+
private scheduleContentVerification;
|
|
36
|
+
private calculateWidthOfItems;
|
|
37
|
+
render(): any;
|
|
38
|
+
/**
|
|
39
|
+
* Validate the WCAG attributes of the component
|
|
40
|
+
*/
|
|
41
|
+
validateAccessibility(): Promise<void>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Sizes } from '../../../core/constants/sizes';
|
|
2
|
+
import { Colors } from '../../../core/constants/colors';
|
|
3
|
+
import { ValueOf } from '../../../types/interfaces';
|
|
4
|
+
export declare const ButtonSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
|
|
5
|
+
export type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`;
|
|
6
|
+
export declare const ButtonColors: Pick<typeof Colors, "PRIMARY" | "NEUTRAL" | "SECONDARY" | "SUCCESS" | "ERROR" | "WARNING">;
|
|
7
|
+
export type ButtonColorType = `${ValueOf<typeof ButtonColors>}`;
|
|
8
|
+
export declare enum ButtonType {
|
|
9
|
+
SOLID = "solid",
|
|
10
|
+
OUTLINED = "outlined",
|
|
11
|
+
BASE = "base",
|
|
12
|
+
LINK = "link"
|
|
13
|
+
}
|
|
14
|
+
export type ButtonTypesType = `${ValueOf<typeof ButtonType>}`;
|
|
15
|
+
export declare enum NativeType {
|
|
16
|
+
SUBMIT = "submit",
|
|
17
|
+
BUTTON = "button",
|
|
18
|
+
RESET = "reset"
|
|
19
|
+
}
|
|
20
|
+
export type NativeTypesType = `${ValueOf<typeof NativeType>}`;
|
|
21
|
+
export declare enum ButtonTarget {
|
|
22
|
+
BLANK = "_blank",
|
|
23
|
+
SELF = "_self",
|
|
24
|
+
NEW = "_new"
|
|
25
|
+
}
|
|
26
|
+
export type ButtonTargetType = `${ValueOf<typeof ButtonTarget>}`;
|
|
27
|
+
export declare const ButtonClass: {
|
|
28
|
+
root: string;
|
|
29
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ButtonColorType, ButtonSizesType, ButtonTargetType, ButtonTypesType, NativeTypesType } from "./constants";
|
|
3
|
+
import { ButtonEvent } from "./gov-button.types";
|
|
4
|
+
import { Attributes } from "../../../helpers/Dom/attribute";
|
|
5
|
+
export declare class GovButton {
|
|
6
|
+
private h;
|
|
7
|
+
private triggerRef?;
|
|
8
|
+
private attributeObserver;
|
|
9
|
+
private hydrated;
|
|
10
|
+
constructor();
|
|
11
|
+
host: HTMLGovButtonElement;
|
|
12
|
+
/**
|
|
13
|
+
* Style variation of the button
|
|
14
|
+
*/
|
|
15
|
+
readonly color: ButtonColorType;
|
|
16
|
+
/**
|
|
17
|
+
* Button’s size
|
|
18
|
+
*/
|
|
19
|
+
readonly size?: ButtonSizesType;
|
|
20
|
+
/**
|
|
21
|
+
* Button's type
|
|
22
|
+
*/
|
|
23
|
+
readonly type: ButtonTypesType;
|
|
24
|
+
/**
|
|
25
|
+
* Expands the button to fill 100% of the container width
|
|
26
|
+
*/
|
|
27
|
+
readonly expanded: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Expands the button to fill 100% of the container width only on mobile
|
|
30
|
+
*/
|
|
31
|
+
readonly expandedMobile: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* 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
|
|
34
|
+
*/
|
|
35
|
+
readonly name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Makes the button component disabled.
|
|
38
|
+
* This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies
|
|
39
|
+
*/
|
|
40
|
+
readonly disabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Same as original parameter
|
|
43
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type
|
|
44
|
+
*/
|
|
45
|
+
readonly nativeType?: NativeTypesType;
|
|
46
|
+
/**
|
|
47
|
+
* Same as original parameter
|
|
48
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
49
|
+
*/
|
|
50
|
+
readonly href: string;
|
|
51
|
+
/**
|
|
52
|
+
* Same as original parameter
|
|
53
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
54
|
+
*/
|
|
55
|
+
readonly target?: ButtonTargetType;
|
|
56
|
+
/**
|
|
57
|
+
* Same as original parameter
|
|
58
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
|
|
59
|
+
*/
|
|
60
|
+
readonly download: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Same as original parameter
|
|
63
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
|
|
64
|
+
*/
|
|
65
|
+
readonly tab: number;
|
|
66
|
+
/**
|
|
67
|
+
* Same as original parameter
|
|
68
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang
|
|
69
|
+
*/
|
|
70
|
+
readonly hreflang: string;
|
|
71
|
+
/**
|
|
72
|
+
* Same as original parameter
|
|
73
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy
|
|
74
|
+
*/
|
|
75
|
+
readonly referrerpolicy: string;
|
|
76
|
+
/**
|
|
77
|
+
* Same as original parameter
|
|
78
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel
|
|
79
|
+
*/
|
|
80
|
+
readonly rel: string;
|
|
81
|
+
/**
|
|
82
|
+
* Indicates whether an asynchronous process is running
|
|
83
|
+
*/
|
|
84
|
+
readonly loading: string;
|
|
85
|
+
/**
|
|
86
|
+
* Same as original parameter
|
|
87
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable
|
|
88
|
+
*/
|
|
89
|
+
readonly focusable: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Custom button identifier
|
|
92
|
+
*/
|
|
93
|
+
readonly identifier: string;
|
|
94
|
+
/**
|
|
95
|
+
* Emitted when the button click
|
|
96
|
+
*/
|
|
97
|
+
govClick: EventEmitter<ButtonEvent>;
|
|
98
|
+
/**
|
|
99
|
+
* Emitted when the button has focus
|
|
100
|
+
*/
|
|
101
|
+
govFocus: EventEmitter<ButtonEvent>;
|
|
102
|
+
/**
|
|
103
|
+
* Emitted when the button loses focus
|
|
104
|
+
*/
|
|
105
|
+
govBlur: EventEmitter<ButtonEvent>;
|
|
106
|
+
validateColor(newValue: string): void;
|
|
107
|
+
validateType(newValue: string): void;
|
|
108
|
+
validateSize(newValue: string): void;
|
|
109
|
+
validateNativeType(newValue: string): void;
|
|
110
|
+
inheritedAttributes: Attributes;
|
|
111
|
+
componentDidLoad(): void;
|
|
112
|
+
onAriaAttributeChange(attributeName: string, newValue: string): void;
|
|
113
|
+
disconnectedCallback(): void;
|
|
114
|
+
componentWillLoad(): void;
|
|
115
|
+
componentDidRender(): Promise<void>;
|
|
116
|
+
connectedCallback(): void;
|
|
117
|
+
render(): any;
|
|
118
|
+
private onClickHandler;
|
|
119
|
+
private onFocusHandler;
|
|
120
|
+
private onBlurHandler;
|
|
121
|
+
/**
|
|
122
|
+
* Focus button element
|
|
123
|
+
*/
|
|
124
|
+
setFocus(): Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Returns a clickable element instance
|
|
127
|
+
*/
|
|
128
|
+
getRef(): Promise<HTMLLinkElement | HTMLButtonElement>;
|
|
129
|
+
/**
|
|
130
|
+
* Validate the Accessibility attributes of the component
|
|
131
|
+
*/
|
|
132
|
+
validateAccessibility(): Promise<void>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ValueOf } from "../../../types/interfaces";
|
|
2
|
+
export declare enum Position {
|
|
3
|
+
LEFT = "left",
|
|
4
|
+
RIGHT = "right"
|
|
5
|
+
}
|
|
6
|
+
export type PositionType = `${ValueOf<typeof Position>}`;
|
|
7
|
+
export declare const DropdownClass: {
|
|
8
|
+
root: string;
|
|
9
|
+
list: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { Nullable } from "../../../types/interfaces";
|
|
3
|
+
import { PositionType } from "./constants";
|
|
4
|
+
import { DropdownEvent } from "./gov-dropdown.types";
|
|
5
|
+
export declare class GovDropdown {
|
|
6
|
+
private h;
|
|
7
|
+
private readonly listId;
|
|
8
|
+
private readonly controlId;
|
|
9
|
+
constructor();
|
|
10
|
+
host: HTMLGovButtonElement;
|
|
11
|
+
/**
|
|
12
|
+
* Custom trigger identifier
|
|
13
|
+
*/
|
|
14
|
+
readonly identifier: string;
|
|
15
|
+
/**
|
|
16
|
+
* Dropdown state
|
|
17
|
+
*/
|
|
18
|
+
open: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Menu display position
|
|
21
|
+
*/
|
|
22
|
+
readonly position: PositionType;
|
|
23
|
+
/**
|
|
24
|
+
* Emitted when the dropdown change state
|
|
25
|
+
*/
|
|
26
|
+
govChange: EventEmitter<DropdownEvent>;
|
|
27
|
+
watchOpen(): void;
|
|
28
|
+
get trigger(): HTMLGovButtonElement;
|
|
29
|
+
get list(): Nullable<HTMLUListElement>;
|
|
30
|
+
componentWillLoad(): void;
|
|
31
|
+
render(): any;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the current state of the dropdown
|
|
34
|
+
*/
|
|
35
|
+
getState(): Promise<boolean>;
|
|
36
|
+
/**
|
|
37
|
+
* Toggle state of dropdown
|
|
38
|
+
*/
|
|
39
|
+
toggle(): Promise<void>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ValueOf } from "../../types/interfaces";
|
|
2
|
+
export declare enum CardDirection {
|
|
3
|
+
HORIZONTAL = "horizontal",
|
|
4
|
+
VERTICAL = "vertical"
|
|
5
|
+
}
|
|
6
|
+
export type CardDirectionType = `${ValueOf<typeof CardDirection>}`;
|
|
7
|
+
export declare const CardClass: {
|
|
8
|
+
root: string;
|
|
9
|
+
header: string;
|
|
10
|
+
arrow: string;
|
|
11
|
+
inner: string;
|
|
12
|
+
img: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
content: string;
|
|
15
|
+
footer: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { CardDirectionType } from './constants';
|
|
3
|
+
import { GovCardChangeEvent } from './interfaces';
|
|
4
|
+
import { ButtonTargetType } from "../gov-button/button/constants";
|
|
5
|
+
export declare class GovCard {
|
|
6
|
+
private h;
|
|
7
|
+
private readonly headlineId;
|
|
8
|
+
private readonly contentId;
|
|
9
|
+
private hydrated;
|
|
10
|
+
constructor();
|
|
11
|
+
host: HTMLGovCardElement;
|
|
12
|
+
/**
|
|
13
|
+
* Card direction
|
|
14
|
+
*/
|
|
15
|
+
readonly direction: CardDirectionType;
|
|
16
|
+
/**
|
|
17
|
+
* Defines weather the card can be collapsible
|
|
18
|
+
*/
|
|
19
|
+
readonly collapsible: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Defines weather the card can be clickable with hover effect
|
|
22
|
+
*/
|
|
23
|
+
readonly clickable: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Defines whether the card is open or closed
|
|
26
|
+
*/
|
|
27
|
+
open: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Link on whole card
|
|
30
|
+
*/
|
|
31
|
+
readonly href: string;
|
|
32
|
+
/**
|
|
33
|
+
* Same as original parameter
|
|
34
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
35
|
+
*/
|
|
36
|
+
readonly target?: ButtonTargetType;
|
|
37
|
+
/**
|
|
38
|
+
* Adds accessible label for the collapsible button that is only shown for screen readers.
|
|
39
|
+
*/
|
|
40
|
+
accessibleTriggerLabel: string;
|
|
41
|
+
/**
|
|
42
|
+
* A string of identifiers that indicate alternative label elements for collapsible card
|
|
43
|
+
*/
|
|
44
|
+
accessibleTriggerLabelledBy: string;
|
|
45
|
+
/**
|
|
46
|
+
* Called when the card toggle state changes
|
|
47
|
+
*/
|
|
48
|
+
govToggle: EventEmitter<GovCardChangeEvent>;
|
|
49
|
+
componentDidRender(): Promise<void>;
|
|
50
|
+
connectedCallback(): void;
|
|
51
|
+
render(): any;
|
|
52
|
+
private onClickHandler;
|
|
53
|
+
/**
|
|
54
|
+
* Validate the accessible attributes of the component
|
|
55
|
+
*/
|
|
56
|
+
validateAccessibility(): Promise<void>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ValueOf } from '../../types/interfaces';
|
|
2
|
+
import { Sizes } from "../../core/constants/sizes";
|
|
3
|
+
export declare const ChipSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M">;
|
|
4
|
+
export type ChipSizesType = `${ValueOf<typeof ChipSizes>}`;
|
|
5
|
+
export declare enum ChipType {
|
|
6
|
+
SOLID = "solid",
|
|
7
|
+
OUTLINED = "outlined"
|
|
8
|
+
}
|
|
9
|
+
export type ChipTypesType = `${ValueOf<typeof ChipType>}`;
|
|
10
|
+
export declare enum NativeType {
|
|
11
|
+
A = "a",
|
|
12
|
+
SPAN = "span",
|
|
13
|
+
BUTTON = "button"
|
|
14
|
+
}
|
|
15
|
+
export type NativeTypesType = `${ValueOf<typeof NativeType>}`;
|
|
16
|
+
export declare const ChipClass: {
|
|
17
|
+
root: string;
|
|
18
|
+
inner: string;
|
|
19
|
+
hasRight: string;
|
|
20
|
+
hasLeft: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { ChipSizesType, ChipTypesType, NativeTypesType } from "./constants";
|
|
3
|
+
import { ButtonColorType } from "../gov-button/button/constants";
|
|
4
|
+
import { Attributes } from "../../helpers/Dom/attribute";
|
|
5
|
+
export declare class GovChip {
|
|
6
|
+
private triggerRef?;
|
|
7
|
+
private h;
|
|
8
|
+
private readonly chipId;
|
|
9
|
+
private hydrated;
|
|
10
|
+
private attributeObserver;
|
|
11
|
+
constructor();
|
|
12
|
+
host: HTMLGovChipElement;
|
|
13
|
+
/**
|
|
14
|
+
* Makes the chip component disabled.
|
|
15
|
+
*/
|
|
16
|
+
readonly disabled: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Same as original parameter
|
|
19
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href
|
|
20
|
+
*/
|
|
21
|
+
readonly href: string;
|
|
22
|
+
/**
|
|
23
|
+
* Same as original parameter
|
|
24
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
25
|
+
*/
|
|
26
|
+
readonly target: string;
|
|
27
|
+
/**
|
|
28
|
+
* Definition of the button icon on the left. The icon must be defined in the form "type/name".
|
|
29
|
+
*/
|
|
30
|
+
readonly iconStart?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Definition of the button icon on the left. The icon must be defined in the form "type/name".
|
|
33
|
+
*/
|
|
34
|
+
readonly iconEnd?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Chip’s size.
|
|
37
|
+
*/
|
|
38
|
+
readonly size: ChipSizesType;
|
|
39
|
+
/**
|
|
40
|
+
* Used to change the HTML tag in the chip
|
|
41
|
+
*/
|
|
42
|
+
readonly tag: NativeTypesType;
|
|
43
|
+
/**
|
|
44
|
+
* Style variation of the chip.
|
|
45
|
+
*/
|
|
46
|
+
readonly color: ButtonColorType;
|
|
47
|
+
/**
|
|
48
|
+
* Chip’s type
|
|
49
|
+
*/
|
|
50
|
+
readonly type: ChipTypesType;
|
|
51
|
+
/**
|
|
52
|
+
* Same as original parameter
|
|
53
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable
|
|
54
|
+
*/
|
|
55
|
+
readonly focusable: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Custom chip identifier. Otherwise, it will be generated
|
|
58
|
+
*/
|
|
59
|
+
readonly identifier: string;
|
|
60
|
+
/**
|
|
61
|
+
* Emitted when the button click.
|
|
62
|
+
*/
|
|
63
|
+
govClick: EventEmitter<PointerEvent>;
|
|
64
|
+
validateColor(newValue: string): void;
|
|
65
|
+
validateSize(newValue: string): void;
|
|
66
|
+
inheritedAttributes: Attributes;
|
|
67
|
+
componentWillLoad(): void;
|
|
68
|
+
componentDidLoad(): void;
|
|
69
|
+
disconnectedCallback(): void;
|
|
70
|
+
connectedCallback(): void;
|
|
71
|
+
onAriaAttributeChange(attributeName: string, newValue: string): void;
|
|
72
|
+
render(): any;
|
|
73
|
+
private onClickHandler;
|
|
74
|
+
/**
|
|
75
|
+
* Returns a clickable element instance
|
|
76
|
+
*/
|
|
77
|
+
geRef(): Promise<HTMLLinkElement | HTMLButtonElement | HTMLSpanElement>;
|
|
78
|
+
/**
|
|
79
|
+
* Focus button element
|
|
80
|
+
*/
|
|
81
|
+
setFocus(): Promise<void>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Sizes } from "../../core/constants/sizes";
|
|
2
|
+
import { ValueOf } from "../../types/interfaces";
|
|
3
|
+
export declare const CollapsibleSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
|
|
4
|
+
export type CollapsibleSizesType = `${ValueOf<typeof CollapsibleSizes>}`;
|
|
5
|
+
export declare enum CollapsibleDirection {
|
|
6
|
+
DOWN = "down",
|
|
7
|
+
UP = "up"
|
|
8
|
+
}
|
|
9
|
+
export type CollapsibleDirectionType = `${ValueOf<typeof CollapsibleDirection>}`;
|
|
10
|
+
export declare const CollapsibleClass: {
|
|
11
|
+
root: string;
|
|
12
|
+
details: string;
|
|
13
|
+
summary: string;
|
|
14
|
+
title: string;
|
|
15
|
+
arrow: string;
|
|
16
|
+
content: string;
|
|
17
|
+
disabled: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CollapsibleSizesType } from './constants';
|
|
2
|
+
import { Attributes } from "../../helpers/Dom/attribute";
|
|
3
|
+
export declare class GovCollapsible {
|
|
4
|
+
private h;
|
|
5
|
+
private hydrated;
|
|
6
|
+
private readonly triggerId;
|
|
7
|
+
private readonly contentId;
|
|
8
|
+
private attributeObserver;
|
|
9
|
+
constructor();
|
|
10
|
+
host: HTMLGovCollapsibleElement;
|
|
11
|
+
/**
|
|
12
|
+
* Element size.
|
|
13
|
+
*/
|
|
14
|
+
readonly size?: CollapsibleSizesType;
|
|
15
|
+
/**
|
|
16
|
+
* Custom input identifier.
|
|
17
|
+
*/
|
|
18
|
+
readonly identifier: string;
|
|
19
|
+
readonly label: string;
|
|
20
|
+
/**
|
|
21
|
+
* Makes component disabled.
|
|
22
|
+
*/
|
|
23
|
+
readonly disabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Defines whether the collapsible is open or closed
|
|
26
|
+
*/
|
|
27
|
+
open: boolean;
|
|
28
|
+
inheritedAttributes: Attributes;
|
|
29
|
+
validateSize(newValue: string): void;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
componentWillLoad(): void;
|
|
32
|
+
onAriaAttributeChange(attributeName: string, newValue: string): void;
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
render(): any;
|
|
36
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Colors } from '../../core/constants/colors';
|
|
2
|
+
import { ValueOf } from '../../types/interfaces';
|
|
3
|
+
export declare const ControlGroupColors: Pick<typeof Colors, "PRIMARY" | "NEUTRAL" | "ERROR">;
|
|
4
|
+
export type ControlGroupColorType = `${ValueOf<typeof ControlGroupColors>}`;
|
|
5
|
+
export declare const ControlGroupClass: {
|
|
6
|
+
root: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ControlGroupColorType } from "./constants";
|
|
2
|
+
export declare class GovControlGroup {
|
|
3
|
+
private readonly h;
|
|
4
|
+
constructor();
|
|
5
|
+
host: HTMLGovControlGroupElement;
|
|
6
|
+
/**
|
|
7
|
+
* Style variation of the content message.
|
|
8
|
+
*/
|
|
9
|
+
readonly color: ControlGroupColorType;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the display of the border between elements
|
|
12
|
+
*/
|
|
13
|
+
readonly noBorder: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the display of the border between elements
|
|
16
|
+
*/
|
|
17
|
+
readonly noInnerBorder: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the display of elements to full width
|
|
20
|
+
*/
|
|
21
|
+
readonly fitContent: boolean;
|
|
22
|
+
validateColor(newValue: string): void;
|
|
23
|
+
render(): any;
|
|
24
|
+
}
|