@department-of-veterans-affairs/component-library 46.1.3 → 46.3.0
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/1185.app.bundle.js +1 -1
- package/dist/1185.app.bundle.js.LICENSE.txt +4 -4
- package/dist/1279.app.bundle.js +1 -1
- package/dist/1652.app.bundle.js +1 -1
- package/dist/2108.app.bundle.js +1 -1
- package/dist/2108.app.bundle.js.LICENSE.txt +4 -4
- package/dist/2305.app.bundle.js +1 -1
- package/dist/2305.app.bundle.js.LICENSE.txt +4 -4
- package/dist/2843.app.bundle.js +1 -1
- package/dist/3389.app.bundle.js +1 -1
- package/dist/3389.app.bundle.js.LICENSE.txt +4 -4
- package/dist/3476.app.bundle.js +1 -1
- package/dist/3476.app.bundle.js.LICENSE.txt +4 -4
- package/dist/3499.app.bundle.js +1 -1
- package/dist/360.app.bundle.js +1 -1
- package/dist/360.app.bundle.js.LICENSE.txt +4 -4
- package/dist/3661.app.bundle.js +1 -1
- package/dist/383.app.bundle.js +1 -1
- package/dist/383.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4104.app.bundle.js +1 -1
- package/dist/4181.app.bundle.js +1 -1
- package/dist/4181.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4317.app.bundle.js +1 -1
- package/dist/4317.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4437.app.bundle.js +1 -1
- package/dist/4818.app.bundle.js +1 -1
- package/dist/4818.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4846.app.bundle.js +1 -1
- package/dist/4859.app.bundle.js +1 -1
- package/dist/5154.app.bundle.js +1 -1
- package/dist/5232.app.bundle.js +1 -1
- package/dist/5254.app.bundle.js +1 -0
- package/dist/529.app.bundle.js +1 -1
- package/dist/529.app.bundle.js.LICENSE.txt +4 -4
- package/dist/5434.app.bundle.js +1 -1
- package/dist/5669.app.bundle.js +1 -1
- package/dist/5669.app.bundle.js.LICENSE.txt +4 -4
- package/dist/569.app.bundle.js +1 -1
- package/dist/569.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6166.app.bundle.js +1 -1
- package/dist/6171.app.bundle.js +1 -1
- package/dist/6171.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6205.app.bundle.js +1 -1
- package/dist/6205.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6391.app.bundle.js +1 -1
- package/dist/6391.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6569.app.bundle.js +1 -1
- package/dist/6569.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6596.app.bundle.js +1 -1
- package/dist/6596.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6734.app.bundle.js +1 -1
- package/dist/6874.app.bundle.js +1 -1
- package/dist/6998.app.bundle.js +1 -1
- package/dist/6998.app.bundle.js.LICENSE.txt +4 -4
- package/dist/7061.app.bundle.js +1 -0
- package/dist/7375.app.bundle.js +1 -1
- package/dist/7454.app.bundle.js +1 -1
- package/dist/7454.app.bundle.js.LICENSE.txt +4 -4
- package/dist/7485.app.bundle.js +2 -0
- package/dist/7485.app.bundle.js.LICENSE.txt +5 -0
- package/dist/753.app.bundle.js +1 -1
- package/dist/753.app.bundle.js.LICENSE.txt +4 -4
- package/dist/783.app.bundle.js +1 -1
- package/dist/8214.app.bundle.js +1 -1
- package/dist/8509.app.bundle.js +1 -1
- package/dist/8509.app.bundle.js.LICENSE.txt +4 -4
- package/dist/8716.app.bundle.js +1 -1
- package/dist/8716.app.bundle.js.LICENSE.txt +4 -4
- package/dist/876.app.bundle.js +1 -1
- package/dist/9262.app.bundle.js +1 -1
- package/dist/9262.app.bundle.js.LICENSE.txt +4 -4
- package/dist/934.app.bundle.js +1 -1
- package/dist/934.app.bundle.js.LICENSE.txt +4 -4
- package/dist/9370.app.bundle.js +1 -1
- package/dist/9370.app.bundle.js.LICENSE.txt +4 -4
- package/dist/9398.app.bundle.js +1 -1
- package/dist/9727.app.bundle.js +1 -1
- package/dist/9727.app.bundle.js.LICENSE.txt +4 -4
- package/dist/9893.app.bundle.js +1 -1
- package/dist/app.bundle.js +1 -1
- package/dist/components/date-utils.js +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/types/components.d.ts +457 -2
- package/dist/components/types/contacts.d.ts +105 -105
- package/dist/components/types/stencil-public-runtime.d.ts +49 -15
- package/dist/components/va-accordion-item.d.ts +2 -2
- package/dist/components/va-accordion-item.js +1 -1
- package/dist/components/va-accordion.d.ts +2 -2
- package/dist/components/va-accordion.js +1 -1
- package/dist/components/va-additional-info.d.ts +2 -2
- package/dist/components/va-additional-info.js +1 -1
- package/dist/components/va-alert-expandable.d.ts +2 -2
- package/dist/components/va-alert-expandable.js +1 -1
- package/dist/components/va-alert.d.ts +2 -2
- package/dist/components/va-alert2.js +1 -1
- package/dist/components/va-back-to-top.d.ts +2 -2
- package/dist/components/va-back-to-top.js +1 -1
- package/dist/components/va-banner.d.ts +2 -2
- package/dist/components/va-banner.js +1 -1
- package/dist/components/va-breadcrumbs.d.ts +2 -2
- package/dist/components/va-breadcrumbs.js +1 -1
- package/dist/components/va-button-icon.d.ts +2 -2
- package/dist/components/va-button-icon2.js +1 -1
- package/dist/components/va-button-pair.d.ts +2 -2
- package/dist/components/va-button-pair.js +1 -1
- package/dist/components/va-button.d.ts +2 -2
- package/dist/components/va-button2.js +1 -1
- package/dist/components/va-card.d.ts +2 -2
- package/dist/components/va-card2.js +1 -1
- package/dist/components/va-checkbox-group.d.ts +2 -2
- package/dist/components/va-checkbox-group.js +1 -1
- package/dist/components/va-checkbox.d.ts +2 -2
- package/dist/components/va-checkbox2.js +1 -1
- package/dist/components/va-crisis-line-modal.d.ts +2 -2
- package/dist/components/va-crisis-line-modal2.js +1 -1
- package/dist/components/va-date.d.ts +2 -2
- package/dist/components/va-date.js +1 -1
- package/dist/components/va-file-input-multiple.d.ts +2 -2
- package/dist/components/va-file-input-multiple.js +1 -1
- package/dist/components/va-file-input.d.ts +2 -2
- package/dist/components/va-file-input2.js +1 -1
- package/dist/components/va-header-minimal.d.ts +2 -2
- package/dist/components/va-header-minimal.js +1 -1
- package/dist/components/va-icon.d.ts +2 -2
- package/dist/components/va-icon2.js +1 -1
- package/dist/components/va-link-action.d.ts +2 -2
- package/dist/components/va-link-action.js +1 -1
- package/dist/components/va-link.d.ts +2 -2
- package/dist/components/va-link2.js +1 -1
- package/dist/components/va-loading-indicator.d.ts +2 -2
- package/dist/components/va-loading-indicator.js +1 -1
- package/dist/components/va-maintenance-banner.d.ts +2 -2
- package/dist/components/va-maintenance-banner.js +1 -1
- package/dist/components/va-memorable-date.d.ts +2 -2
- package/dist/components/va-memorable-date.js +1 -1
- package/dist/components/va-minimal-footer.d.ts +2 -2
- package/dist/components/va-minimal-footer.js +1 -1
- package/dist/components/va-modal.d.ts +2 -2
- package/dist/components/va-modal2.js +1 -1
- package/dist/components/va-need-help.d.ts +2 -2
- package/dist/components/va-need-help.js +1 -1
- package/dist/components/va-notification.d.ts +2 -2
- package/dist/components/va-notification.js +1 -1
- package/dist/components/va-official-gov-banner.d.ts +2 -2
- package/dist/components/va-official-gov-banner2.js +1 -1
- package/dist/components/va-omb-info.d.ts +2 -2
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-on-this-page.d.ts +2 -2
- package/dist/components/va-on-this-page.js +1 -1
- package/dist/components/va-pagination.d.ts +2 -2
- package/dist/components/va-pagination.js +1 -1
- package/dist/components/va-privacy-agreement.d.ts +2 -2
- package/dist/components/va-privacy-agreement.js +1 -1
- package/dist/components/va-process-list-item.d.ts +2 -2
- package/dist/components/va-process-list-item.js +1 -1
- package/dist/components/va-process-list.d.ts +2 -2
- package/dist/components/va-process-list.js +1 -1
- package/dist/components/va-progress-bar.d.ts +2 -2
- package/dist/components/va-progress-bar.js +1 -1
- package/dist/components/va-promo-banner.d.ts +2 -2
- package/dist/components/va-promo-banner.js +1 -1
- package/dist/components/va-radio-option.d.ts +2 -2
- package/dist/components/va-radio-option.js +1 -1
- package/dist/components/va-radio.d.ts +2 -2
- package/dist/components/va-radio.js +1 -1
- package/dist/components/va-search-input.d.ts +2 -2
- package/dist/components/va-search-input.js +1 -1
- package/dist/components/va-segmented-progress-bar.d.ts +2 -2
- package/dist/components/va-segmented-progress-bar.js +1 -1
- package/dist/components/va-select.d.ts +2 -2
- package/dist/components/va-select2.js +1 -1
- package/dist/components/va-statement-of-truth.d.ts +2 -2
- package/dist/components/va-statement-of-truth.js +1 -1
- package/dist/components/va-summary-box.d.ts +2 -2
- package/dist/components/va-summary-box.js +1 -1
- package/dist/components/va-table-inner.d.ts +2 -2
- package/dist/components/va-table-inner2.js +1 -1
- package/dist/components/va-table-row.d.ts +2 -2
- package/dist/components/va-table-row.js +1 -1
- package/dist/components/va-table.d.ts +2 -2
- package/dist/components/va-table.js +1 -1
- package/dist/components/va-telephone.d.ts +2 -2
- package/dist/components/va-telephone2.js +1 -1
- package/dist/components/va-text-input.d.ts +2 -2
- package/dist/components/va-text-input2.js +1 -1
- package/dist/components/va-textarea.d.ts +2 -2
- package/dist/components/va-textarea.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -2
- package/dist/2259.app.bundle.js +0 -1
- package/dist/2963.app.bundle.js +0 -1
- package/dist/3270.app.bundle.js +0 -2
- package/dist/3270.app.bundle.js.LICENSE.txt +0 -11
- package/dist/5285.app.bundle.js +0 -2
- package/dist/5285.app.bundle.js.LICENSE.txt +0 -5
- package/dist/9452.app.bundle.js +0 -1
- package/dist/9970.app.bundle.js +0 -2
- package/dist/9970.app.bundle.js.LICENSE.txt +0 -17
|
@@ -426,6 +426,10 @@ export namespace Components {
|
|
|
426
426
|
* Insert a header with defined level inside the label (legend)
|
|
427
427
|
*/
|
|
428
428
|
"labelHeaderLevel"?: string;
|
|
429
|
+
/**
|
|
430
|
+
* An optional message that will be read by screen readers when a checkbox is focused.
|
|
431
|
+
*/
|
|
432
|
+
"messageAriaDescribedby"?: string;
|
|
429
433
|
/**
|
|
430
434
|
* Whether or not this input field is required.
|
|
431
435
|
*/
|
|
@@ -701,6 +705,10 @@ export namespace Components {
|
|
|
701
705
|
* The href attribute of the anchor.
|
|
702
706
|
*/
|
|
703
707
|
"href": string;
|
|
708
|
+
/**
|
|
709
|
+
* This provides an aria-label to the link, if present
|
|
710
|
+
*/
|
|
711
|
+
"label"?: string;
|
|
704
712
|
/**
|
|
705
713
|
* An optional message that will be read by screen readers when the link is focused.
|
|
706
714
|
*/
|
|
@@ -712,7 +720,7 @@ export namespace Components {
|
|
|
712
720
|
/**
|
|
713
721
|
* The type of the link, which determines its style. Can be 'primary', 'secondary', or 'reverse'.
|
|
714
722
|
*/
|
|
715
|
-
"type":
|
|
723
|
+
"type": 'primary' | 'secondary' | 'reverse';
|
|
716
724
|
}
|
|
717
725
|
/**
|
|
718
726
|
* @componentName Loading indicator
|
|
@@ -1367,6 +1375,10 @@ export namespace Components {
|
|
|
1367
1375
|
* Whether or not this is a required field.
|
|
1368
1376
|
*/
|
|
1369
1377
|
"required"?: boolean;
|
|
1378
|
+
/**
|
|
1379
|
+
* Whether an error message should be shown - set to false when this component is used inside va-date or va-memorable-date in which the error for the va-select will be rendered outside of va-select
|
|
1380
|
+
*/
|
|
1381
|
+
"showError"?: boolean;
|
|
1370
1382
|
/**
|
|
1371
1383
|
* Selected value (will get updated on select).
|
|
1372
1384
|
*/
|
|
@@ -1866,6 +1878,9 @@ export interface VaTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
|
1866
1878
|
target: HTMLVaTextareaElement;
|
|
1867
1879
|
}
|
|
1868
1880
|
declare global {
|
|
1881
|
+
interface HTMLVaAccordionElementEventMap {
|
|
1882
|
+
"component-library-analytics": any;
|
|
1883
|
+
}
|
|
1869
1884
|
/**
|
|
1870
1885
|
* @componentName Accordion
|
|
1871
1886
|
* @accordionItemToggled This event is fired when an accordion item is opened or closed
|
|
@@ -1876,45 +1891,99 @@ declare global {
|
|
|
1876
1891
|
* @translations Tagalog
|
|
1877
1892
|
*/
|
|
1878
1893
|
interface HTMLVaAccordionElement extends Components.VaAccordion, HTMLStencilElement {
|
|
1894
|
+
addEventListener<K extends keyof HTMLVaAccordionElementEventMap>(type: K, listener: (this: HTMLVaAccordionElement, ev: VaAccordionCustomEvent<HTMLVaAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1895
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1896
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1897
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1898
|
+
removeEventListener<K extends keyof HTMLVaAccordionElementEventMap>(type: K, listener: (this: HTMLVaAccordionElement, ev: VaAccordionCustomEvent<HTMLVaAccordionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1899
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1900
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1901
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1879
1902
|
}
|
|
1880
1903
|
var HTMLVaAccordionElement: {
|
|
1881
1904
|
prototype: HTMLVaAccordionElement;
|
|
1882
1905
|
new (): HTMLVaAccordionElement;
|
|
1883
1906
|
};
|
|
1907
|
+
interface HTMLVaAccordionItemElementEventMap {
|
|
1908
|
+
"accordionItemToggled": any;
|
|
1909
|
+
}
|
|
1884
1910
|
interface HTMLVaAccordionItemElement extends Components.VaAccordionItem, HTMLStencilElement {
|
|
1911
|
+
addEventListener<K extends keyof HTMLVaAccordionItemElementEventMap>(type: K, listener: (this: HTMLVaAccordionItemElement, ev: VaAccordionItemCustomEvent<HTMLVaAccordionItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1912
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1913
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1914
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1915
|
+
removeEventListener<K extends keyof HTMLVaAccordionItemElementEventMap>(type: K, listener: (this: HTMLVaAccordionItemElement, ev: VaAccordionItemCustomEvent<HTMLVaAccordionItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1916
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1917
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1918
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1885
1919
|
}
|
|
1886
1920
|
var HTMLVaAccordionItemElement: {
|
|
1887
1921
|
prototype: HTMLVaAccordionItemElement;
|
|
1888
1922
|
new (): HTMLVaAccordionItemElement;
|
|
1889
1923
|
};
|
|
1924
|
+
interface HTMLVaAdditionalInfoElementEventMap {
|
|
1925
|
+
"component-library-analytics": any;
|
|
1926
|
+
}
|
|
1890
1927
|
/**
|
|
1891
1928
|
* @componentName Additional info
|
|
1892
1929
|
* @maturityCategory use
|
|
1893
1930
|
* @maturityLevel deployed
|
|
1894
1931
|
*/
|
|
1895
1932
|
interface HTMLVaAdditionalInfoElement extends Components.VaAdditionalInfo, HTMLStencilElement {
|
|
1933
|
+
addEventListener<K extends keyof HTMLVaAdditionalInfoElementEventMap>(type: K, listener: (this: HTMLVaAdditionalInfoElement, ev: VaAdditionalInfoCustomEvent<HTMLVaAdditionalInfoElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1934
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1935
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1936
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1937
|
+
removeEventListener<K extends keyof HTMLVaAdditionalInfoElementEventMap>(type: K, listener: (this: HTMLVaAdditionalInfoElement, ev: VaAdditionalInfoCustomEvent<HTMLVaAdditionalInfoElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1938
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1939
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1940
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1896
1941
|
}
|
|
1897
1942
|
var HTMLVaAdditionalInfoElement: {
|
|
1898
1943
|
prototype: HTMLVaAdditionalInfoElement;
|
|
1899
1944
|
new (): HTMLVaAdditionalInfoElement;
|
|
1900
1945
|
};
|
|
1946
|
+
interface HTMLVaAlertElementEventMap {
|
|
1947
|
+
"va-component-did-load": any;
|
|
1948
|
+
"closeEvent": any;
|
|
1949
|
+
"component-library-analytics": any;
|
|
1950
|
+
}
|
|
1901
1951
|
/**
|
|
1902
1952
|
* @componentName Alert
|
|
1903
1953
|
* @maturityCategory use
|
|
1904
1954
|
* @maturityLevel best_practice
|
|
1905
1955
|
*/
|
|
1906
1956
|
interface HTMLVaAlertElement extends Components.VaAlert, HTMLStencilElement {
|
|
1957
|
+
addEventListener<K extends keyof HTMLVaAlertElementEventMap>(type: K, listener: (this: HTMLVaAlertElement, ev: VaAlertCustomEvent<HTMLVaAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1958
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1959
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1960
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1961
|
+
removeEventListener<K extends keyof HTMLVaAlertElementEventMap>(type: K, listener: (this: HTMLVaAlertElement, ev: VaAlertCustomEvent<HTMLVaAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1962
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1963
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1964
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1907
1965
|
}
|
|
1908
1966
|
var HTMLVaAlertElement: {
|
|
1909
1967
|
prototype: HTMLVaAlertElement;
|
|
1910
1968
|
new (): HTMLVaAlertElement;
|
|
1911
1969
|
};
|
|
1970
|
+
interface HTMLVaAlertExpandableElementEventMap {
|
|
1971
|
+
"component-library-analytics": any;
|
|
1972
|
+
}
|
|
1912
1973
|
/**
|
|
1913
1974
|
* @componentName Alert - expandable
|
|
1914
1975
|
* @maturityCategory caution
|
|
1915
1976
|
* @maturityLevel candidate
|
|
1916
1977
|
*/
|
|
1917
1978
|
interface HTMLVaAlertExpandableElement extends Components.VaAlertExpandable, HTMLStencilElement {
|
|
1979
|
+
addEventListener<K extends keyof HTMLVaAlertExpandableElementEventMap>(type: K, listener: (this: HTMLVaAlertExpandableElement, ev: VaAlertExpandableCustomEvent<HTMLVaAlertExpandableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1980
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1981
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1982
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1983
|
+
removeEventListener<K extends keyof HTMLVaAlertExpandableElementEventMap>(type: K, listener: (this: HTMLVaAlertExpandableElement, ev: VaAlertExpandableCustomEvent<HTMLVaAlertExpandableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1984
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1985
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1986
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1918
1987
|
}
|
|
1919
1988
|
var HTMLVaAlertExpandableElement: {
|
|
1920
1989
|
prototype: HTMLVaAlertExpandableElement;
|
|
@@ -1931,28 +2000,54 @@ declare global {
|
|
|
1931
2000
|
prototype: HTMLVaBackToTopElement;
|
|
1932
2001
|
new (): HTMLVaBackToTopElement;
|
|
1933
2002
|
};
|
|
2003
|
+
interface HTMLVaBannerElementEventMap {
|
|
2004
|
+
"component-library-analytics": any;
|
|
2005
|
+
}
|
|
1934
2006
|
/**
|
|
1935
2007
|
* @componentName Banner
|
|
1936
2008
|
* @maturityCategory use
|
|
1937
2009
|
* @maturityLevel deployed
|
|
1938
2010
|
*/
|
|
1939
2011
|
interface HTMLVaBannerElement extends Components.VaBanner, HTMLStencilElement {
|
|
2012
|
+
addEventListener<K extends keyof HTMLVaBannerElementEventMap>(type: K, listener: (this: HTMLVaBannerElement, ev: VaBannerCustomEvent<HTMLVaBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2013
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2014
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2015
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2016
|
+
removeEventListener<K extends keyof HTMLVaBannerElementEventMap>(type: K, listener: (this: HTMLVaBannerElement, ev: VaBannerCustomEvent<HTMLVaBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2017
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2018
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2019
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1940
2020
|
}
|
|
1941
2021
|
var HTMLVaBannerElement: {
|
|
1942
2022
|
prototype: HTMLVaBannerElement;
|
|
1943
2023
|
new (): HTMLVaBannerElement;
|
|
1944
2024
|
};
|
|
2025
|
+
interface HTMLVaBreadcrumbsElementEventMap {
|
|
2026
|
+
"component-library-analytics": any;
|
|
2027
|
+
"routeChange": { href: string };
|
|
2028
|
+
}
|
|
1945
2029
|
/**
|
|
1946
2030
|
* @componentName Breadcrumbs
|
|
1947
2031
|
* @maturityCategory use
|
|
1948
2032
|
* @maturityLevel deployed
|
|
1949
2033
|
*/
|
|
1950
2034
|
interface HTMLVaBreadcrumbsElement extends Components.VaBreadcrumbs, HTMLStencilElement {
|
|
2035
|
+
addEventListener<K extends keyof HTMLVaBreadcrumbsElementEventMap>(type: K, listener: (this: HTMLVaBreadcrumbsElement, ev: VaBreadcrumbsCustomEvent<HTMLVaBreadcrumbsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2036
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2037
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2038
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2039
|
+
removeEventListener<K extends keyof HTMLVaBreadcrumbsElementEventMap>(type: K, listener: (this: HTMLVaBreadcrumbsElement, ev: VaBreadcrumbsCustomEvent<HTMLVaBreadcrumbsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2040
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2041
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2042
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1951
2043
|
}
|
|
1952
2044
|
var HTMLVaBreadcrumbsElement: {
|
|
1953
2045
|
prototype: HTMLVaBreadcrumbsElement;
|
|
1954
2046
|
new (): HTMLVaBreadcrumbsElement;
|
|
1955
2047
|
};
|
|
2048
|
+
interface HTMLVaButtonElementEventMap {
|
|
2049
|
+
"component-library-analytics": any;
|
|
2050
|
+
}
|
|
1956
2051
|
/**
|
|
1957
2052
|
* @componentName Button
|
|
1958
2053
|
* @nativeHandler onClick
|
|
@@ -1960,11 +2055,22 @@ declare global {
|
|
|
1960
2055
|
* @maturityLevel candidate
|
|
1961
2056
|
*/
|
|
1962
2057
|
interface HTMLVaButtonElement extends Components.VaButton, HTMLStencilElement {
|
|
2058
|
+
addEventListener<K extends keyof HTMLVaButtonElementEventMap>(type: K, listener: (this: HTMLVaButtonElement, ev: VaButtonCustomEvent<HTMLVaButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2059
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2060
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2061
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2062
|
+
removeEventListener<K extends keyof HTMLVaButtonElementEventMap>(type: K, listener: (this: HTMLVaButtonElement, ev: VaButtonCustomEvent<HTMLVaButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2063
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2064
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2065
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1963
2066
|
}
|
|
1964
2067
|
var HTMLVaButtonElement: {
|
|
1965
2068
|
prototype: HTMLVaButtonElement;
|
|
1966
2069
|
new (): HTMLVaButtonElement;
|
|
1967
2070
|
};
|
|
2071
|
+
interface HTMLVaButtonIconElementEventMap {
|
|
2072
|
+
"component-library-analytics": any;
|
|
2073
|
+
}
|
|
1968
2074
|
/**
|
|
1969
2075
|
* @componentName Button - Icon
|
|
1970
2076
|
* @nativeHandler onClick
|
|
@@ -1972,11 +2078,24 @@ declare global {
|
|
|
1972
2078
|
* @maturityLevel candidate
|
|
1973
2079
|
*/
|
|
1974
2080
|
interface HTMLVaButtonIconElement extends Components.VaButtonIcon, HTMLStencilElement {
|
|
2081
|
+
addEventListener<K extends keyof HTMLVaButtonIconElementEventMap>(type: K, listener: (this: HTMLVaButtonIconElement, ev: VaButtonIconCustomEvent<HTMLVaButtonIconElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2082
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2083
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2084
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2085
|
+
removeEventListener<K extends keyof HTMLVaButtonIconElementEventMap>(type: K, listener: (this: HTMLVaButtonIconElement, ev: VaButtonIconCustomEvent<HTMLVaButtonIconElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2086
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2087
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2088
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1975
2089
|
}
|
|
1976
2090
|
var HTMLVaButtonIconElement: {
|
|
1977
2091
|
prototype: HTMLVaButtonIconElement;
|
|
1978
2092
|
new (): HTMLVaButtonIconElement;
|
|
1979
2093
|
};
|
|
2094
|
+
interface HTMLVaButtonPairElementEventMap {
|
|
2095
|
+
"primaryClick": any;
|
|
2096
|
+
"secondaryClick": any;
|
|
2097
|
+
"component-library-analytics": any;
|
|
2098
|
+
}
|
|
1980
2099
|
/**
|
|
1981
2100
|
* @componentName Button pair
|
|
1982
2101
|
* @maturityCategory caution
|
|
@@ -1984,6 +2103,14 @@ declare global {
|
|
|
1984
2103
|
* @guidanceHref button/button-pair
|
|
1985
2104
|
*/
|
|
1986
2105
|
interface HTMLVaButtonPairElement extends Components.VaButtonPair, HTMLStencilElement {
|
|
2106
|
+
addEventListener<K extends keyof HTMLVaButtonPairElementEventMap>(type: K, listener: (this: HTMLVaButtonPairElement, ev: VaButtonPairCustomEvent<HTMLVaButtonPairElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2107
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2108
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2109
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2110
|
+
removeEventListener<K extends keyof HTMLVaButtonPairElementEventMap>(type: K, listener: (this: HTMLVaButtonPairElement, ev: VaButtonPairCustomEvent<HTMLVaButtonPairElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2111
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2112
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2113
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1987
2114
|
}
|
|
1988
2115
|
var HTMLVaButtonPairElement: {
|
|
1989
2116
|
prototype: HTMLVaButtonPairElement;
|
|
@@ -2000,6 +2127,10 @@ declare global {
|
|
|
2000
2127
|
prototype: HTMLVaCardElement;
|
|
2001
2128
|
new (): HTMLVaCardElement;
|
|
2002
2129
|
};
|
|
2130
|
+
interface HTMLVaCheckboxElementEventMap {
|
|
2131
|
+
"vaChange": any;
|
|
2132
|
+
"component-library-analytics": any;
|
|
2133
|
+
}
|
|
2003
2134
|
/**
|
|
2004
2135
|
* @nativeHandler onBlur
|
|
2005
2136
|
* @componentName Checkbox
|
|
@@ -2011,11 +2142,22 @@ declare global {
|
|
|
2011
2142
|
* @translations Tagalog
|
|
2012
2143
|
*/
|
|
2013
2144
|
interface HTMLVaCheckboxElement extends Components.VaCheckbox, HTMLStencilElement {
|
|
2145
|
+
addEventListener<K extends keyof HTMLVaCheckboxElementEventMap>(type: K, listener: (this: HTMLVaCheckboxElement, ev: VaCheckboxCustomEvent<HTMLVaCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2146
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2147
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2148
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2149
|
+
removeEventListener<K extends keyof HTMLVaCheckboxElementEventMap>(type: K, listener: (this: HTMLVaCheckboxElement, ev: VaCheckboxCustomEvent<HTMLVaCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2150
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2151
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2152
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2014
2153
|
}
|
|
2015
2154
|
var HTMLVaCheckboxElement: {
|
|
2016
2155
|
prototype: HTMLVaCheckboxElement;
|
|
2017
2156
|
new (): HTMLVaCheckboxElement;
|
|
2018
2157
|
};
|
|
2158
|
+
interface HTMLVaCheckboxGroupElementEventMap {
|
|
2159
|
+
"component-library-analytics": any;
|
|
2160
|
+
}
|
|
2019
2161
|
/**
|
|
2020
2162
|
* @vaChange The event emitted when the input value changes.
|
|
2021
2163
|
* @componentName Checkbox group
|
|
@@ -2027,6 +2169,14 @@ declare global {
|
|
|
2027
2169
|
* @translations Tagalog
|
|
2028
2170
|
*/
|
|
2029
2171
|
interface HTMLVaCheckboxGroupElement extends Components.VaCheckboxGroup, HTMLStencilElement {
|
|
2172
|
+
addEventListener<K extends keyof HTMLVaCheckboxGroupElementEventMap>(type: K, listener: (this: HTMLVaCheckboxGroupElement, ev: VaCheckboxGroupCustomEvent<HTMLVaCheckboxGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2173
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2174
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2175
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2176
|
+
removeEventListener<K extends keyof HTMLVaCheckboxGroupElementEventMap>(type: K, listener: (this: HTMLVaCheckboxGroupElement, ev: VaCheckboxGroupCustomEvent<HTMLVaCheckboxGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2177
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2178
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2179
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2030
2180
|
}
|
|
2031
2181
|
var HTMLVaCheckboxGroupElement: {
|
|
2032
2182
|
prototype: HTMLVaCheckboxGroupElement;
|
|
@@ -2043,6 +2193,11 @@ declare global {
|
|
|
2043
2193
|
prototype: HTMLVaCrisisLineModalElement;
|
|
2044
2194
|
new (): HTMLVaCrisisLineModalElement;
|
|
2045
2195
|
};
|
|
2196
|
+
interface HTMLVaDateElementEventMap {
|
|
2197
|
+
"dateChange": any;
|
|
2198
|
+
"dateBlur": any;
|
|
2199
|
+
"component-library-analytics": any;
|
|
2200
|
+
}
|
|
2046
2201
|
/**
|
|
2047
2202
|
* @componentName Date input
|
|
2048
2203
|
* @maturityCategory use
|
|
@@ -2050,11 +2205,23 @@ declare global {
|
|
|
2050
2205
|
* @guidanceHref form/date-input
|
|
2051
2206
|
*/
|
|
2052
2207
|
interface HTMLVaDateElement extends Components.VaDate, HTMLStencilElement {
|
|
2208
|
+
addEventListener<K extends keyof HTMLVaDateElementEventMap>(type: K, listener: (this: HTMLVaDateElement, ev: VaDateCustomEvent<HTMLVaDateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2209
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2210
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2211
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2212
|
+
removeEventListener<K extends keyof HTMLVaDateElementEventMap>(type: K, listener: (this: HTMLVaDateElement, ev: VaDateCustomEvent<HTMLVaDateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2213
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2214
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2215
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2053
2216
|
}
|
|
2054
2217
|
var HTMLVaDateElement: {
|
|
2055
2218
|
prototype: HTMLVaDateElement;
|
|
2056
2219
|
new (): HTMLVaDateElement;
|
|
2057
2220
|
};
|
|
2221
|
+
interface HTMLVaFileInputElementEventMap {
|
|
2222
|
+
"vaChange": any;
|
|
2223
|
+
"component-library-analytics": any;
|
|
2224
|
+
}
|
|
2058
2225
|
/**
|
|
2059
2226
|
* @componentName File input
|
|
2060
2227
|
* @maturityCategory caution
|
|
@@ -2062,11 +2229,22 @@ declare global {
|
|
|
2062
2229
|
* @guidanceHref form/file-input
|
|
2063
2230
|
*/
|
|
2064
2231
|
interface HTMLVaFileInputElement extends Components.VaFileInput, HTMLStencilElement {
|
|
2232
|
+
addEventListener<K extends keyof HTMLVaFileInputElementEventMap>(type: K, listener: (this: HTMLVaFileInputElement, ev: VaFileInputCustomEvent<HTMLVaFileInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2233
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2234
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2235
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2236
|
+
removeEventListener<K extends keyof HTMLVaFileInputElementEventMap>(type: K, listener: (this: HTMLVaFileInputElement, ev: VaFileInputCustomEvent<HTMLVaFileInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2237
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2238
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2239
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2065
2240
|
}
|
|
2066
2241
|
var HTMLVaFileInputElement: {
|
|
2067
2242
|
prototype: HTMLVaFileInputElement;
|
|
2068
2243
|
new (): HTMLVaFileInputElement;
|
|
2069
2244
|
};
|
|
2245
|
+
interface HTMLVaFileInputMultipleElementEventMap {
|
|
2246
|
+
"vaMultipleChange": any;
|
|
2247
|
+
}
|
|
2070
2248
|
/**
|
|
2071
2249
|
* A component that manages multiple file inputs, allowing users to upload several files.
|
|
2072
2250
|
* It supports adding, changing, and removing files with dynamic error handling.
|
|
@@ -2076,6 +2254,14 @@ declare global {
|
|
|
2076
2254
|
* @guidanceHref form/file-input-multiple
|
|
2077
2255
|
*/
|
|
2078
2256
|
interface HTMLVaFileInputMultipleElement extends Components.VaFileInputMultiple, HTMLStencilElement {
|
|
2257
|
+
addEventListener<K extends keyof HTMLVaFileInputMultipleElementEventMap>(type: K, listener: (this: HTMLVaFileInputMultipleElement, ev: VaFileInputMultipleCustomEvent<HTMLVaFileInputMultipleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2258
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2259
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2260
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2261
|
+
removeEventListener<K extends keyof HTMLVaFileInputMultipleElementEventMap>(type: K, listener: (this: HTMLVaFileInputMultipleElement, ev: VaFileInputMultipleCustomEvent<HTMLVaFileInputMultipleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2262
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2263
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2264
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2079
2265
|
}
|
|
2080
2266
|
var HTMLVaFileInputMultipleElement: {
|
|
2081
2267
|
prototype: HTMLVaFileInputMultipleElement;
|
|
@@ -2104,50 +2290,100 @@ declare global {
|
|
|
2104
2290
|
prototype: HTMLVaIconElement;
|
|
2105
2291
|
new (): HTMLVaIconElement;
|
|
2106
2292
|
};
|
|
2293
|
+
interface HTMLVaLinkElementEventMap {
|
|
2294
|
+
"component-library-analytics": any;
|
|
2295
|
+
}
|
|
2107
2296
|
/**
|
|
2108
2297
|
* @componentName Link
|
|
2109
2298
|
* @maturityCategory caution
|
|
2110
2299
|
* @maturityLevel candidate
|
|
2111
2300
|
*/
|
|
2112
2301
|
interface HTMLVaLinkElement extends Components.VaLink, HTMLStencilElement {
|
|
2302
|
+
addEventListener<K extends keyof HTMLVaLinkElementEventMap>(type: K, listener: (this: HTMLVaLinkElement, ev: VaLinkCustomEvent<HTMLVaLinkElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2303
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2304
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2305
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2306
|
+
removeEventListener<K extends keyof HTMLVaLinkElementEventMap>(type: K, listener: (this: HTMLVaLinkElement, ev: VaLinkCustomEvent<HTMLVaLinkElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2307
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2308
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2309
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2113
2310
|
}
|
|
2114
2311
|
var HTMLVaLinkElement: {
|
|
2115
2312
|
prototype: HTMLVaLinkElement;
|
|
2116
2313
|
new (): HTMLVaLinkElement;
|
|
2117
2314
|
};
|
|
2315
|
+
interface HTMLVaLinkActionElementEventMap {
|
|
2316
|
+
"component-library-analytics": any;
|
|
2317
|
+
}
|
|
2118
2318
|
/**
|
|
2119
2319
|
* @componentName Link - Action
|
|
2120
2320
|
* @maturityCategory caution
|
|
2121
2321
|
* @maturityLevel candidate
|
|
2122
2322
|
*/
|
|
2123
2323
|
interface HTMLVaLinkActionElement extends Components.VaLinkAction, HTMLStencilElement {
|
|
2324
|
+
addEventListener<K extends keyof HTMLVaLinkActionElementEventMap>(type: K, listener: (this: HTMLVaLinkActionElement, ev: VaLinkActionCustomEvent<HTMLVaLinkActionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2325
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2326
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2327
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2328
|
+
removeEventListener<K extends keyof HTMLVaLinkActionElementEventMap>(type: K, listener: (this: HTMLVaLinkActionElement, ev: VaLinkActionCustomEvent<HTMLVaLinkActionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2329
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2330
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2331
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2124
2332
|
}
|
|
2125
2333
|
var HTMLVaLinkActionElement: {
|
|
2126
2334
|
prototype: HTMLVaLinkActionElement;
|
|
2127
2335
|
new (): HTMLVaLinkActionElement;
|
|
2128
2336
|
};
|
|
2337
|
+
interface HTMLVaLoadingIndicatorElementEventMap {
|
|
2338
|
+
"component-library-analytics": any;
|
|
2339
|
+
}
|
|
2129
2340
|
/**
|
|
2130
2341
|
* @componentName Loading indicator
|
|
2131
2342
|
* @maturityCategory use
|
|
2132
2343
|
* @maturityLevel best_practice
|
|
2133
2344
|
*/
|
|
2134
2345
|
interface HTMLVaLoadingIndicatorElement extends Components.VaLoadingIndicator, HTMLStencilElement {
|
|
2346
|
+
addEventListener<K extends keyof HTMLVaLoadingIndicatorElementEventMap>(type: K, listener: (this: HTMLVaLoadingIndicatorElement, ev: VaLoadingIndicatorCustomEvent<HTMLVaLoadingIndicatorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2347
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2348
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2349
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2350
|
+
removeEventListener<K extends keyof HTMLVaLoadingIndicatorElementEventMap>(type: K, listener: (this: HTMLVaLoadingIndicatorElement, ev: VaLoadingIndicatorCustomEvent<HTMLVaLoadingIndicatorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2351
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2352
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2353
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2135
2354
|
}
|
|
2136
2355
|
var HTMLVaLoadingIndicatorElement: {
|
|
2137
2356
|
prototype: HTMLVaLoadingIndicatorElement;
|
|
2138
2357
|
new (): HTMLVaLoadingIndicatorElement;
|
|
2139
2358
|
};
|
|
2359
|
+
interface HTMLVaMaintenanceBannerElementEventMap {
|
|
2360
|
+
"closeEvent": any;
|
|
2361
|
+
"component-library-analytics": any;
|
|
2362
|
+
}
|
|
2140
2363
|
/**
|
|
2141
2364
|
* @componentName Banner - Maintenance
|
|
2142
2365
|
* @maturityCategory caution
|
|
2143
2366
|
* @maturityLevel available
|
|
2144
2367
|
*/
|
|
2145
2368
|
interface HTMLVaMaintenanceBannerElement extends Components.VaMaintenanceBanner, HTMLStencilElement {
|
|
2369
|
+
addEventListener<K extends keyof HTMLVaMaintenanceBannerElementEventMap>(type: K, listener: (this: HTMLVaMaintenanceBannerElement, ev: VaMaintenanceBannerCustomEvent<HTMLVaMaintenanceBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2370
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2371
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2372
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2373
|
+
removeEventListener<K extends keyof HTMLVaMaintenanceBannerElementEventMap>(type: K, listener: (this: HTMLVaMaintenanceBannerElement, ev: VaMaintenanceBannerCustomEvent<HTMLVaMaintenanceBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2374
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2375
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2376
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2146
2377
|
}
|
|
2147
2378
|
var HTMLVaMaintenanceBannerElement: {
|
|
2148
2379
|
prototype: HTMLVaMaintenanceBannerElement;
|
|
2149
2380
|
new (): HTMLVaMaintenanceBannerElement;
|
|
2150
2381
|
};
|
|
2382
|
+
interface HTMLVaMemorableDateElementEventMap {
|
|
2383
|
+
"dateChange": any;
|
|
2384
|
+
"dateBlur": any;
|
|
2385
|
+
"component-library-analytics": any;
|
|
2386
|
+
}
|
|
2151
2387
|
/**
|
|
2152
2388
|
* @componentName Memorable date
|
|
2153
2389
|
* @maturityCategory caution
|
|
@@ -2157,6 +2393,14 @@ declare global {
|
|
|
2157
2393
|
* @translations Spanish
|
|
2158
2394
|
*/
|
|
2159
2395
|
interface HTMLVaMemorableDateElement extends Components.VaMemorableDate, HTMLStencilElement {
|
|
2396
|
+
addEventListener<K extends keyof HTMLVaMemorableDateElementEventMap>(type: K, listener: (this: HTMLVaMemorableDateElement, ev: VaMemorableDateCustomEvent<HTMLVaMemorableDateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2397
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2398
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2399
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2400
|
+
removeEventListener<K extends keyof HTMLVaMemorableDateElementEventMap>(type: K, listener: (this: HTMLVaMemorableDateElement, ev: VaMemorableDateCustomEvent<HTMLVaMemorableDateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2401
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2402
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2403
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2160
2404
|
}
|
|
2161
2405
|
var HTMLVaMemorableDateElement: {
|
|
2162
2406
|
prototype: HTMLVaMemorableDateElement;
|
|
@@ -2173,6 +2417,12 @@ declare global {
|
|
|
2173
2417
|
prototype: HTMLVaMinimalFooterElement;
|
|
2174
2418
|
new (): HTMLVaMinimalFooterElement;
|
|
2175
2419
|
};
|
|
2420
|
+
interface HTMLVaModalElementEventMap {
|
|
2421
|
+
"closeEvent": any;
|
|
2422
|
+
"primaryButtonClick": any;
|
|
2423
|
+
"secondaryButtonClick": any;
|
|
2424
|
+
"component-library-analytics": any;
|
|
2425
|
+
}
|
|
2176
2426
|
/**
|
|
2177
2427
|
* @click Used to detect clicks outside of modal contents to close modal.
|
|
2178
2428
|
* @keydown Used to detect Escape key to close modal.
|
|
@@ -2181,6 +2431,14 @@ declare global {
|
|
|
2181
2431
|
* @maturityLevel deployed
|
|
2182
2432
|
*/
|
|
2183
2433
|
interface HTMLVaModalElement extends Components.VaModal, HTMLStencilElement {
|
|
2434
|
+
addEventListener<K extends keyof HTMLVaModalElementEventMap>(type: K, listener: (this: HTMLVaModalElement, ev: VaModalCustomEvent<HTMLVaModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2435
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2436
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2437
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2438
|
+
removeEventListener<K extends keyof HTMLVaModalElementEventMap>(type: K, listener: (this: HTMLVaModalElement, ev: VaModalCustomEvent<HTMLVaModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2439
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2440
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2441
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2184
2442
|
}
|
|
2185
2443
|
var HTMLVaModalElement: {
|
|
2186
2444
|
prototype: HTMLVaModalElement;
|
|
@@ -2198,23 +2456,46 @@ declare global {
|
|
|
2198
2456
|
prototype: HTMLVaNeedHelpElement;
|
|
2199
2457
|
new (): HTMLVaNeedHelpElement;
|
|
2200
2458
|
};
|
|
2459
|
+
interface HTMLVaNotificationElementEventMap {
|
|
2460
|
+
"closeEvent": any;
|
|
2461
|
+
"component-library-analytics": any;
|
|
2462
|
+
}
|
|
2201
2463
|
/**
|
|
2202
2464
|
* @componentName Notification
|
|
2203
2465
|
* @maturityCategory dont_use
|
|
2204
2466
|
* @maturityLevel deprecated
|
|
2205
2467
|
*/
|
|
2206
2468
|
interface HTMLVaNotificationElement extends Components.VaNotification, HTMLStencilElement {
|
|
2469
|
+
addEventListener<K extends keyof HTMLVaNotificationElementEventMap>(type: K, listener: (this: HTMLVaNotificationElement, ev: VaNotificationCustomEvent<HTMLVaNotificationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2470
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2471
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2472
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2473
|
+
removeEventListener<K extends keyof HTMLVaNotificationElementEventMap>(type: K, listener: (this: HTMLVaNotificationElement, ev: VaNotificationCustomEvent<HTMLVaNotificationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2474
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2475
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2476
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2207
2477
|
}
|
|
2208
2478
|
var HTMLVaNotificationElement: {
|
|
2209
2479
|
prototype: HTMLVaNotificationElement;
|
|
2210
2480
|
new (): HTMLVaNotificationElement;
|
|
2211
2481
|
};
|
|
2482
|
+
interface HTMLVaOfficialGovBannerElementEventMap {
|
|
2483
|
+
"component-library-analytics": any;
|
|
2484
|
+
}
|
|
2212
2485
|
/**
|
|
2213
2486
|
* @componentName Banner - Official Gov
|
|
2214
2487
|
* @maturityCategory caution
|
|
2215
2488
|
* @maturityLevel candidate
|
|
2216
2489
|
*/
|
|
2217
2490
|
interface HTMLVaOfficialGovBannerElement extends Components.VaOfficialGovBanner, HTMLStencilElement {
|
|
2491
|
+
addEventListener<K extends keyof HTMLVaOfficialGovBannerElementEventMap>(type: K, listener: (this: HTMLVaOfficialGovBannerElement, ev: VaOfficialGovBannerCustomEvent<HTMLVaOfficialGovBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2492
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2493
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2494
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2495
|
+
removeEventListener<K extends keyof HTMLVaOfficialGovBannerElementEventMap>(type: K, listener: (this: HTMLVaOfficialGovBannerElement, ev: VaOfficialGovBannerCustomEvent<HTMLVaOfficialGovBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2496
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2497
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2498
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2218
2499
|
}
|
|
2219
2500
|
var HTMLVaOfficialGovBannerElement: {
|
|
2220
2501
|
prototype: HTMLVaOfficialGovBannerElement;
|
|
@@ -2231,6 +2512,9 @@ declare global {
|
|
|
2231
2512
|
prototype: HTMLVaOmbInfoElement;
|
|
2232
2513
|
new (): HTMLVaOmbInfoElement;
|
|
2233
2514
|
};
|
|
2515
|
+
interface HTMLVaOnThisPageElementEventMap {
|
|
2516
|
+
"component-library-analytics": any;
|
|
2517
|
+
}
|
|
2234
2518
|
/**
|
|
2235
2519
|
* @componentName On this page
|
|
2236
2520
|
* @maturityCategory use
|
|
@@ -2240,28 +2524,60 @@ declare global {
|
|
|
2240
2524
|
* @translations Tagalog
|
|
2241
2525
|
*/
|
|
2242
2526
|
interface HTMLVaOnThisPageElement extends Components.VaOnThisPage, HTMLStencilElement {
|
|
2527
|
+
addEventListener<K extends keyof HTMLVaOnThisPageElementEventMap>(type: K, listener: (this: HTMLVaOnThisPageElement, ev: VaOnThisPageCustomEvent<HTMLVaOnThisPageElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2528
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2529
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2530
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2531
|
+
removeEventListener<K extends keyof HTMLVaOnThisPageElementEventMap>(type: K, listener: (this: HTMLVaOnThisPageElement, ev: VaOnThisPageCustomEvent<HTMLVaOnThisPageElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2532
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2533
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2534
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2243
2535
|
}
|
|
2244
2536
|
var HTMLVaOnThisPageElement: {
|
|
2245
2537
|
prototype: HTMLVaOnThisPageElement;
|
|
2246
2538
|
new (): HTMLVaOnThisPageElement;
|
|
2247
2539
|
};
|
|
2540
|
+
interface HTMLVaPaginationElementEventMap {
|
|
2541
|
+
"pageSelect": any;
|
|
2542
|
+
"component-library-analytics": any;
|
|
2543
|
+
}
|
|
2248
2544
|
/**
|
|
2249
2545
|
* @componentName Pagination
|
|
2250
2546
|
* @maturityCategory use
|
|
2251
2547
|
* @maturityLevel deployed
|
|
2252
2548
|
*/
|
|
2253
2549
|
interface HTMLVaPaginationElement extends Components.VaPagination, HTMLStencilElement {
|
|
2550
|
+
addEventListener<K extends keyof HTMLVaPaginationElementEventMap>(type: K, listener: (this: HTMLVaPaginationElement, ev: VaPaginationCustomEvent<HTMLVaPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2551
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2552
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2553
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2554
|
+
removeEventListener<K extends keyof HTMLVaPaginationElementEventMap>(type: K, listener: (this: HTMLVaPaginationElement, ev: VaPaginationCustomEvent<HTMLVaPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2555
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2556
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2557
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2254
2558
|
}
|
|
2255
2559
|
var HTMLVaPaginationElement: {
|
|
2256
2560
|
prototype: HTMLVaPaginationElement;
|
|
2257
2561
|
new (): HTMLVaPaginationElement;
|
|
2258
2562
|
};
|
|
2563
|
+
interface HTMLVaPrivacyAgreementElementEventMap {
|
|
2564
|
+
"component-library-analytics": any;
|
|
2565
|
+
"vaChange": any;
|
|
2566
|
+
}
|
|
2259
2567
|
/**
|
|
2260
2568
|
* @componentName Privacy agreement
|
|
2261
2569
|
* @maturityCategory caution
|
|
2262
2570
|
* @maturityLevel available
|
|
2263
2571
|
*/
|
|
2264
2572
|
interface HTMLVaPrivacyAgreementElement extends Components.VaPrivacyAgreement, HTMLStencilElement {
|
|
2573
|
+
addEventListener<K extends keyof HTMLVaPrivacyAgreementElementEventMap>(type: K, listener: (this: HTMLVaPrivacyAgreementElement, ev: VaPrivacyAgreementCustomEvent<HTMLVaPrivacyAgreementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2574
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2575
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2576
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2577
|
+
removeEventListener<K extends keyof HTMLVaPrivacyAgreementElementEventMap>(type: K, listener: (this: HTMLVaPrivacyAgreementElement, ev: VaPrivacyAgreementCustomEvent<HTMLVaPrivacyAgreementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2578
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2579
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2580
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2265
2581
|
}
|
|
2266
2582
|
var HTMLVaPrivacyAgreementElement: {
|
|
2267
2583
|
prototype: HTMLVaPrivacyAgreementElement;
|
|
@@ -2284,17 +2600,32 @@ declare global {
|
|
|
2284
2600
|
prototype: HTMLVaProcessListItemElement;
|
|
2285
2601
|
new (): HTMLVaProcessListItemElement;
|
|
2286
2602
|
};
|
|
2603
|
+
interface HTMLVaProgressBarElementEventMap {
|
|
2604
|
+
"component-library-analytics": any;
|
|
2605
|
+
}
|
|
2287
2606
|
/**
|
|
2288
2607
|
* @componentName Progress bar - activity
|
|
2289
2608
|
* @maturityCategory use
|
|
2290
2609
|
* @maturityLevel deployed
|
|
2291
2610
|
*/
|
|
2292
2611
|
interface HTMLVaProgressBarElement extends Components.VaProgressBar, HTMLStencilElement {
|
|
2612
|
+
addEventListener<K extends keyof HTMLVaProgressBarElementEventMap>(type: K, listener: (this: HTMLVaProgressBarElement, ev: VaProgressBarCustomEvent<HTMLVaProgressBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2613
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2614
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2615
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2616
|
+
removeEventListener<K extends keyof HTMLVaProgressBarElementEventMap>(type: K, listener: (this: HTMLVaProgressBarElement, ev: VaProgressBarCustomEvent<HTMLVaProgressBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2617
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2618
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2619
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2293
2620
|
}
|
|
2294
2621
|
var HTMLVaProgressBarElement: {
|
|
2295
2622
|
prototype: HTMLVaProgressBarElement;
|
|
2296
2623
|
new (): HTMLVaProgressBarElement;
|
|
2297
2624
|
};
|
|
2625
|
+
interface HTMLVaPromoBannerElementEventMap {
|
|
2626
|
+
"closeEvent": any;
|
|
2627
|
+
"component-library-analytics": any;
|
|
2628
|
+
}
|
|
2298
2629
|
/**
|
|
2299
2630
|
* @componentName Banner - Promo
|
|
2300
2631
|
* @maturityCategory use
|
|
@@ -2302,11 +2633,23 @@ declare global {
|
|
|
2302
2633
|
* @guidanceHref banner/promo
|
|
2303
2634
|
*/
|
|
2304
2635
|
interface HTMLVaPromoBannerElement extends Components.VaPromoBanner, HTMLStencilElement {
|
|
2636
|
+
addEventListener<K extends keyof HTMLVaPromoBannerElementEventMap>(type: K, listener: (this: HTMLVaPromoBannerElement, ev: VaPromoBannerCustomEvent<HTMLVaPromoBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2637
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2638
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2639
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2640
|
+
removeEventListener<K extends keyof HTMLVaPromoBannerElementEventMap>(type: K, listener: (this: HTMLVaPromoBannerElement, ev: VaPromoBannerCustomEvent<HTMLVaPromoBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2641
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2642
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2643
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2305
2644
|
}
|
|
2306
2645
|
var HTMLVaPromoBannerElement: {
|
|
2307
2646
|
prototype: HTMLVaPromoBannerElement;
|
|
2308
2647
|
new (): HTMLVaPromoBannerElement;
|
|
2309
2648
|
};
|
|
2649
|
+
interface HTMLVaRadioElementEventMap {
|
|
2650
|
+
"component-library-analytics": any;
|
|
2651
|
+
"vaValueChange": any;
|
|
2652
|
+
}
|
|
2310
2653
|
/**
|
|
2311
2654
|
* @keydown The event emitted when a key is pressed.
|
|
2312
2655
|
* @radioOptionSelected The event emitted when the selected option value changes.
|
|
@@ -2319,28 +2662,61 @@ declare global {
|
|
|
2319
2662
|
* @translations Tagalog
|
|
2320
2663
|
*/
|
|
2321
2664
|
interface HTMLVaRadioElement extends Components.VaRadio, HTMLStencilElement {
|
|
2665
|
+
addEventListener<K extends keyof HTMLVaRadioElementEventMap>(type: K, listener: (this: HTMLVaRadioElement, ev: VaRadioCustomEvent<HTMLVaRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2666
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2667
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2668
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2669
|
+
removeEventListener<K extends keyof HTMLVaRadioElementEventMap>(type: K, listener: (this: HTMLVaRadioElement, ev: VaRadioCustomEvent<HTMLVaRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2670
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2671
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2672
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2322
2673
|
}
|
|
2323
2674
|
var HTMLVaRadioElement: {
|
|
2324
2675
|
prototype: HTMLVaRadioElement;
|
|
2325
2676
|
new (): HTMLVaRadioElement;
|
|
2326
2677
|
};
|
|
2678
|
+
interface HTMLVaRadioOptionElementEventMap {
|
|
2679
|
+
"radioOptionSelected": any;
|
|
2680
|
+
}
|
|
2327
2681
|
interface HTMLVaRadioOptionElement extends Components.VaRadioOption, HTMLStencilElement {
|
|
2682
|
+
addEventListener<K extends keyof HTMLVaRadioOptionElementEventMap>(type: K, listener: (this: HTMLVaRadioOptionElement, ev: VaRadioOptionCustomEvent<HTMLVaRadioOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2683
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2684
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2685
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2686
|
+
removeEventListener<K extends keyof HTMLVaRadioOptionElementEventMap>(type: K, listener: (this: HTMLVaRadioOptionElement, ev: VaRadioOptionCustomEvent<HTMLVaRadioOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2687
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2688
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2689
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2328
2690
|
}
|
|
2329
2691
|
var HTMLVaRadioOptionElement: {
|
|
2330
2692
|
prototype: HTMLVaRadioOptionElement;
|
|
2331
2693
|
new (): HTMLVaRadioOptionElement;
|
|
2332
2694
|
};
|
|
2695
|
+
interface HTMLVaSearchInputElementEventMap {
|
|
2696
|
+
"component-library-analytics": any;
|
|
2697
|
+
}
|
|
2333
2698
|
/**
|
|
2334
2699
|
* @componentName Search input
|
|
2335
2700
|
* @maturityCategory use
|
|
2336
2701
|
* @maturityLevel deployed
|
|
2337
2702
|
*/
|
|
2338
2703
|
interface HTMLVaSearchInputElement extends Components.VaSearchInput, HTMLStencilElement {
|
|
2704
|
+
addEventListener<K extends keyof HTMLVaSearchInputElementEventMap>(type: K, listener: (this: HTMLVaSearchInputElement, ev: VaSearchInputCustomEvent<HTMLVaSearchInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2705
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2706
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2707
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2708
|
+
removeEventListener<K extends keyof HTMLVaSearchInputElementEventMap>(type: K, listener: (this: HTMLVaSearchInputElement, ev: VaSearchInputCustomEvent<HTMLVaSearchInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2709
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2710
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2711
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2339
2712
|
}
|
|
2340
2713
|
var HTMLVaSearchInputElement: {
|
|
2341
2714
|
prototype: HTMLVaSearchInputElement;
|
|
2342
2715
|
new (): HTMLVaSearchInputElement;
|
|
2343
2716
|
};
|
|
2717
|
+
interface HTMLVaSegmentedProgressBarElementEventMap {
|
|
2718
|
+
"component-library-analytics": any;
|
|
2719
|
+
}
|
|
2344
2720
|
/**
|
|
2345
2721
|
* @componentName Progress bar - segmented
|
|
2346
2722
|
* @maturityCategory use
|
|
@@ -2348,11 +2724,24 @@ declare global {
|
|
|
2348
2724
|
* @guidanceHref form/progress-bar-segmented
|
|
2349
2725
|
*/
|
|
2350
2726
|
interface HTMLVaSegmentedProgressBarElement extends Components.VaSegmentedProgressBar, HTMLStencilElement {
|
|
2727
|
+
addEventListener<K extends keyof HTMLVaSegmentedProgressBarElementEventMap>(type: K, listener: (this: HTMLVaSegmentedProgressBarElement, ev: VaSegmentedProgressBarCustomEvent<HTMLVaSegmentedProgressBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2728
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2729
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2730
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2731
|
+
removeEventListener<K extends keyof HTMLVaSegmentedProgressBarElementEventMap>(type: K, listener: (this: HTMLVaSegmentedProgressBarElement, ev: VaSegmentedProgressBarCustomEvent<HTMLVaSegmentedProgressBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2732
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2733
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2734
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2351
2735
|
}
|
|
2352
2736
|
var HTMLVaSegmentedProgressBarElement: {
|
|
2353
2737
|
prototype: HTMLVaSegmentedProgressBarElement;
|
|
2354
2738
|
new (): HTMLVaSegmentedProgressBarElement;
|
|
2355
2739
|
};
|
|
2740
|
+
interface HTMLVaSelectElementEventMap {
|
|
2741
|
+
"vaKeyDown": any;
|
|
2742
|
+
"vaSelect": any;
|
|
2743
|
+
"component-library-analytics": any;
|
|
2744
|
+
}
|
|
2356
2745
|
/**
|
|
2357
2746
|
* @nativeHandler onKeyDown
|
|
2358
2747
|
* @componentName Select
|
|
@@ -2363,17 +2752,38 @@ declare global {
|
|
|
2363
2752
|
* @translations Spanish
|
|
2364
2753
|
*/
|
|
2365
2754
|
interface HTMLVaSelectElement extends Components.VaSelect, HTMLStencilElement {
|
|
2755
|
+
addEventListener<K extends keyof HTMLVaSelectElementEventMap>(type: K, listener: (this: HTMLVaSelectElement, ev: VaSelectCustomEvent<HTMLVaSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2756
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2757
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2758
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2759
|
+
removeEventListener<K extends keyof HTMLVaSelectElementEventMap>(type: K, listener: (this: HTMLVaSelectElement, ev: VaSelectCustomEvent<HTMLVaSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2760
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2761
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2762
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2366
2763
|
}
|
|
2367
2764
|
var HTMLVaSelectElement: {
|
|
2368
2765
|
prototype: HTMLVaSelectElement;
|
|
2369
2766
|
new (): HTMLVaSelectElement;
|
|
2370
2767
|
};
|
|
2768
|
+
interface HTMLVaStatementOfTruthElementEventMap {
|
|
2769
|
+
"vaInputChange": any;
|
|
2770
|
+
"vaInputBlur": any;
|
|
2771
|
+
"vaCheckboxChange": any;
|
|
2772
|
+
}
|
|
2371
2773
|
/**
|
|
2372
2774
|
* @componentName Statement of truth
|
|
2373
2775
|
* @maturityCategory caution
|
|
2374
2776
|
* @maturityLevel candidate
|
|
2375
2777
|
*/
|
|
2376
2778
|
interface HTMLVaStatementOfTruthElement extends Components.VaStatementOfTruth, HTMLStencilElement {
|
|
2779
|
+
addEventListener<K extends keyof HTMLVaStatementOfTruthElementEventMap>(type: K, listener: (this: HTMLVaStatementOfTruthElement, ev: VaStatementOfTruthCustomEvent<HTMLVaStatementOfTruthElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2780
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2781
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2782
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2783
|
+
removeEventListener<K extends keyof HTMLVaStatementOfTruthElementEventMap>(type: K, listener: (this: HTMLVaStatementOfTruthElement, ev: VaStatementOfTruthCustomEvent<HTMLVaStatementOfTruthElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2784
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2785
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2786
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2377
2787
|
}
|
|
2378
2788
|
var HTMLVaStatementOfTruthElement: {
|
|
2379
2789
|
prototype: HTMLVaStatementOfTruthElement;
|
|
@@ -2413,17 +2823,31 @@ declare global {
|
|
|
2413
2823
|
prototype: HTMLVaTableRowElement;
|
|
2414
2824
|
new (): HTMLVaTableRowElement;
|
|
2415
2825
|
};
|
|
2826
|
+
interface HTMLVaTelephoneElementEventMap {
|
|
2827
|
+
"component-library-analytics": any;
|
|
2828
|
+
}
|
|
2416
2829
|
/**
|
|
2417
2830
|
* @componentName Telephone
|
|
2418
2831
|
* @maturityCategory use
|
|
2419
2832
|
* @maturityLevel best_practice
|
|
2420
2833
|
*/
|
|
2421
2834
|
interface HTMLVaTelephoneElement extends Components.VaTelephone, HTMLStencilElement {
|
|
2835
|
+
addEventListener<K extends keyof HTMLVaTelephoneElementEventMap>(type: K, listener: (this: HTMLVaTelephoneElement, ev: VaTelephoneCustomEvent<HTMLVaTelephoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2836
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2837
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2838
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2839
|
+
removeEventListener<K extends keyof HTMLVaTelephoneElementEventMap>(type: K, listener: (this: HTMLVaTelephoneElement, ev: VaTelephoneCustomEvent<HTMLVaTelephoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2840
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2841
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2842
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2422
2843
|
}
|
|
2423
2844
|
var HTMLVaTelephoneElement: {
|
|
2424
2845
|
prototype: HTMLVaTelephoneElement;
|
|
2425
2846
|
new (): HTMLVaTelephoneElement;
|
|
2426
2847
|
};
|
|
2848
|
+
interface HTMLVaTextInputElementEventMap {
|
|
2849
|
+
"component-library-analytics": any;
|
|
2850
|
+
}
|
|
2427
2851
|
/**
|
|
2428
2852
|
* @nativeHandler onInput
|
|
2429
2853
|
* @nativeHandler onBlur
|
|
@@ -2436,11 +2860,22 @@ declare global {
|
|
|
2436
2860
|
* @translations Tagalog
|
|
2437
2861
|
*/
|
|
2438
2862
|
interface HTMLVaTextInputElement extends Components.VaTextInput, HTMLStencilElement {
|
|
2863
|
+
addEventListener<K extends keyof HTMLVaTextInputElementEventMap>(type: K, listener: (this: HTMLVaTextInputElement, ev: VaTextInputCustomEvent<HTMLVaTextInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2864
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2865
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2866
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2867
|
+
removeEventListener<K extends keyof HTMLVaTextInputElementEventMap>(type: K, listener: (this: HTMLVaTextInputElement, ev: VaTextInputCustomEvent<HTMLVaTextInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2868
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2869
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2870
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2439
2871
|
}
|
|
2440
2872
|
var HTMLVaTextInputElement: {
|
|
2441
2873
|
prototype: HTMLVaTextInputElement;
|
|
2442
2874
|
new (): HTMLVaTextInputElement;
|
|
2443
2875
|
};
|
|
2876
|
+
interface HTMLVaTextareaElementEventMap {
|
|
2877
|
+
"component-library-analytics": any;
|
|
2878
|
+
}
|
|
2444
2879
|
/**
|
|
2445
2880
|
* @nativeHandler onInput
|
|
2446
2881
|
* @nativeHandler onBlur
|
|
@@ -2452,6 +2887,14 @@ declare global {
|
|
|
2452
2887
|
* @translations Spanish
|
|
2453
2888
|
*/
|
|
2454
2889
|
interface HTMLVaTextareaElement extends Components.VaTextarea, HTMLStencilElement {
|
|
2890
|
+
addEventListener<K extends keyof HTMLVaTextareaElementEventMap>(type: K, listener: (this: HTMLVaTextareaElement, ev: VaTextareaCustomEvent<HTMLVaTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2891
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2892
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2893
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2894
|
+
removeEventListener<K extends keyof HTMLVaTextareaElementEventMap>(type: K, listener: (this: HTMLVaTextareaElement, ev: VaTextareaCustomEvent<HTMLVaTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2895
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2896
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2897
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2455
2898
|
}
|
|
2456
2899
|
var HTMLVaTextareaElement: {
|
|
2457
2900
|
prototype: HTMLVaTextareaElement;
|
|
@@ -2998,6 +3441,10 @@ declare namespace LocalJSX {
|
|
|
2998
3441
|
* Insert a header with defined level inside the label (legend)
|
|
2999
3442
|
*/
|
|
3000
3443
|
"labelHeaderLevel"?: string;
|
|
3444
|
+
/**
|
|
3445
|
+
* An optional message that will be read by screen readers when a checkbox is focused.
|
|
3446
|
+
*/
|
|
3447
|
+
"messageAriaDescribedby"?: string;
|
|
3001
3448
|
/**
|
|
3002
3449
|
* The event used to track usage of the component. This is emitted when an input value changes and enableAnalytics is true.
|
|
3003
3450
|
*/
|
|
@@ -3305,6 +3752,10 @@ declare namespace LocalJSX {
|
|
|
3305
3752
|
* The href attribute of the anchor.
|
|
3306
3753
|
*/
|
|
3307
3754
|
"href": string;
|
|
3755
|
+
/**
|
|
3756
|
+
* This provides an aria-label to the link, if present
|
|
3757
|
+
*/
|
|
3758
|
+
"label"?: string;
|
|
3308
3759
|
/**
|
|
3309
3760
|
* An optional message that will be read by screen readers when the link is focused.
|
|
3310
3761
|
*/
|
|
@@ -3320,7 +3771,7 @@ declare namespace LocalJSX {
|
|
|
3320
3771
|
/**
|
|
3321
3772
|
* The type of the link, which determines its style. Can be 'primary', 'secondary', or 'reverse'.
|
|
3322
3773
|
*/
|
|
3323
|
-
"type"?:
|
|
3774
|
+
"type"?: 'primary' | 'secondary' | 'reverse';
|
|
3324
3775
|
}
|
|
3325
3776
|
/**
|
|
3326
3777
|
* @componentName Loading indicator
|
|
@@ -4091,6 +4542,10 @@ declare namespace LocalJSX {
|
|
|
4091
4542
|
* Whether or not this is a required field.
|
|
4092
4543
|
*/
|
|
4093
4544
|
"required"?: boolean;
|
|
4545
|
+
/**
|
|
4546
|
+
* Whether an error message should be shown - set to false when this component is used inside va-date or va-memorable-date in which the error for the va-select will be rendered outside of va-select
|
|
4547
|
+
*/
|
|
4548
|
+
"showError"?: boolean;
|
|
4094
4549
|
/**
|
|
4095
4550
|
* Selected value (will get updated on select).
|
|
4096
4551
|
*/
|