@department-of-veterans-affairs/component-library 50.5.0 → 51.1.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/141.app.bundle.js +1 -1
- package/dist/1822.app.bundle.js +1 -1
- package/dist/1966.app.bundle.js +1 -1
- package/dist/2205.app.bundle.js +1 -1
- package/dist/2236.app.bundle.js +1 -1
- package/dist/2482.app.bundle.js +1 -1
- package/dist/251.app.bundle.js +1 -1
- package/dist/2986.app.bundle.js +1 -1
- package/dist/323.app.bundle.js +1 -1
- package/dist/3305.app.bundle.js +2 -0
- package/dist/3397.app.bundle.js +1 -1
- package/dist/3589.app.bundle.js +1 -1
- package/dist/4351.app.bundle.js +1 -1
- package/dist/4400.app.bundle.js +1 -1
- package/dist/4475.app.bundle.js +1 -1
- package/dist/4780.app.bundle.js +1 -1
- package/dist/5119.app.bundle.js +1 -1
- package/dist/5663.app.bundle.js +1 -1
- package/dist/5689.app.bundle.js +1 -1
- package/dist/5845.app.bundle.js +1 -1
- package/dist/6308.app.bundle.js +1 -1
- package/dist/6498.app.bundle.js +1 -1
- package/dist/6555.app.bundle.js +1 -1
- package/dist/6650.app.bundle.js +1 -1
- package/dist/6718.app.bundle.js +1 -1
- package/dist/6832.app.bundle.js +1 -1
- package/dist/7166.app.bundle.js +1 -1
- package/dist/7307.app.bundle.js +1 -1
- package/dist/7372.app.bundle.js +1 -1
- package/dist/7481.app.bundle.js +1 -1
- package/dist/7495.app.bundle.js +1 -1
- package/dist/{5760.app.bundle.js → 7508.app.bundle.js} +1 -1
- package/dist/7734.app.bundle.js +1 -1
- package/dist/{4775.app.bundle.js → 8255.app.bundle.js} +2 -2
- package/dist/8255.app.bundle.js.LICENSE.txt +5 -0
- package/dist/8463.app.bundle.js +1 -1
- package/dist/8913.app.bundle.js +1 -1
- package/dist/9186.app.bundle.js +1 -1
- package/dist/9474.app.bundle.js +1 -1
- package/dist/9496.app.bundle.js +1 -1
- package/dist/9851.app.bundle.js +1 -1
- package/dist/app.bundle.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +1 -1
- package/dist/components/types/components.d.ts +261 -126
- package/dist/components/types/index.d.ts +1 -0
- package/dist/components/utils.js +1 -1
- package/dist/components/va-accordion-item2.js +1 -1
- package/dist/components/va-accordion2.js +1 -1
- package/dist/components/va-breadcrumbs.js +1 -1
- package/dist/components/va-button-segmented.d.ts +11 -0
- package/dist/components/va-button-segmented.js +1 -0
- package/dist/components/va-checkbox-group2.js +1 -1
- package/dist/components/va-combo-box2.js +1 -1
- package/dist/components/va-crisis-line-modal2.js +1 -1
- package/dist/components/va-file-input-multiple.js +1 -1
- package/dist/components/va-file-input2.js +1 -1
- package/dist/components/va-header-minimal.js +1 -1
- package/dist/components/va-icon2.js +1 -1
- package/dist/components/va-language-toggle.js +1 -1
- package/dist/components/va-link-action.js +1 -1
- package/dist/components/va-loading-indicator.js +1 -1
- package/dist/components/va-minimal-footer.js +1 -1
- package/dist/components/va-need-help.js +1 -1
- package/dist/components/va-official-gov-banner2.js +1 -1
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-privacy-agreement.js +1 -1
- package/dist/components/va-process-list-item.js +1 -1
- package/dist/components/va-process-list.js +1 -1
- package/dist/components/va-progress-bar2.js +1 -1
- package/dist/components/va-radio-option.js +1 -1
- package/dist/components/va-radio.js +1 -1
- package/dist/components/va-search-filter.js +1 -1
- package/dist/components/va-search-input.js +1 -1
- package/dist/components/va-select2.js +1 -1
- package/dist/components/va-statement-of-truth.js +1 -1
- package/dist/components/va-summary-box.js +1 -1
- package/dist/components/va-table-inner2.js +1 -1
- package/dist/components/va-table-row.js +1 -1
- package/dist/components/va-table.js +1 -1
- package/dist/components/{va-input-telephone.d.ts → va-telephone-input.d.ts} +4 -4
- package/dist/components/{va-input-telephone.js → va-telephone-input.js} +1 -1
- package/dist/components/va-telephone2.js +1 -1
- package/dist/components/va-textarea.js +1 -1
- package/dist/img/test.svg +5 -0
- package/dist/main.css +1 -1
- package/dist/react-bindings/index.d.ts +2 -1
- package/dist/react-bindings/index.js +1 -1
- package/dist/react-bindings/index.js.map +1 -1
- package/dist/react-bindings/index.ts +2 -1
- package/package.json +2 -2
- /package/dist/{4775.app.bundle.js.LICENSE.txt → 3305.app.bundle.js.LICENSE.txt} +0 -0
|
@@ -23,6 +23,8 @@ export { VaButtonIcon as VaButtonIcon } from '../types/components/va-button-icon
|
|
|
23
23
|
export { defineCustomElement as defineCustomElementVaButtonIcon } from './va-button-icon';
|
|
24
24
|
export { VaButtonPair as VaButtonPair } from '../types/components/va-button-pair/va-button-pair';
|
|
25
25
|
export { defineCustomElement as defineCustomElementVaButtonPair } from './va-button-pair';
|
|
26
|
+
export { VaButtonSegmented as VaButtonSegmented } from '../types/components/va-button-segmented/va-button-segmented';
|
|
27
|
+
export { defineCustomElement as defineCustomElementVaButtonSegmented } from './va-button-segmented';
|
|
26
28
|
export { VaCard as VaCard } from '../types/components/va-card/va-card';
|
|
27
29
|
export { defineCustomElement as defineCustomElementVaCard } from './va-card';
|
|
28
30
|
export { VaCheckbox as VaCheckbox } from '../types/components/va-checkbox/va-checkbox';
|
|
@@ -45,8 +47,6 @@ export { VaHeaderMinimal as VaHeaderMinimal } from '../types/components/va-heade
|
|
|
45
47
|
export { defineCustomElement as defineCustomElementVaHeaderMinimal } from './va-header-minimal';
|
|
46
48
|
export { VaIcon as VaIcon } from '../types/components/va-icon/va-icon';
|
|
47
49
|
export { defineCustomElement as defineCustomElementVaIcon } from './va-icon';
|
|
48
|
-
export { VaInputTelephone as VaInputTelephone } from '../types/components/va-input-telephone/va-input-telephone';
|
|
49
|
-
export { defineCustomElement as defineCustomElementVaInputTelephone } from './va-input-telephone';
|
|
50
50
|
export { VaLanguageToggle as VaLanguageToggle } from '../types/components/va-language-toggle/va-language-toggle';
|
|
51
51
|
export { defineCustomElement as defineCustomElementVaLanguageToggle } from './va-language-toggle';
|
|
52
52
|
export { VaLink as VaLink } from '../types/components/va-link/va-link';
|
|
@@ -111,6 +111,8 @@ export { VaTableRow as VaTableRow } from '../types/components/va-table/va-table-
|
|
|
111
111
|
export { defineCustomElement as defineCustomElementVaTableRow } from './va-table-row';
|
|
112
112
|
export { VaTelephone as VaTelephone } from '../types/components/va-telephone/va-telephone';
|
|
113
113
|
export { defineCustomElement as defineCustomElementVaTelephone } from './va-telephone';
|
|
114
|
+
export { VaTelephoneInput as VaTelephoneInput } from '../types/components/va-telephone-input/va-telephone-input';
|
|
115
|
+
export { defineCustomElement as defineCustomElementVaTelephoneInput } from './va-telephone-input';
|
|
114
116
|
export { VaTextInput as VaTextInput } from '../types/components/va-text-input/va-text-input';
|
|
115
117
|
export { defineCustomElement as defineCustomElementVaTextInput } from './va-text-input';
|
|
116
118
|
export { VaTextarea as VaTextarea } from '../types/components/va-textarea/va-textarea';
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{getAssetPath,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";import"./i18n-setup.js";export{C as CONTACTS,c as contactsMap}from"./contacts.js";export{VaAccordion,defineCustomElement as defineCustomElementVaAccordion}from"./va-accordion.js";export{VaAccordionItem,defineCustomElement as defineCustomElementVaAccordionItem}from"./va-accordion-item.js";export{VaAdditionalInfo,defineCustomElement as defineCustomElementVaAdditionalInfo}from"./va-additional-info.js";export{VaAlert,defineCustomElement as defineCustomElementVaAlert}from"./va-alert.js";export{VaAlertExpandable,defineCustomElement as defineCustomElementVaAlertExpandable}from"./va-alert-expandable.js";export{VaAlertSignIn,defineCustomElement as defineCustomElementVaAlertSignIn}from"./va-alert-sign-in.js";export{VaBackToTop,defineCustomElement as defineCustomElementVaBackToTop}from"./va-back-to-top.js";export{VaBanner,defineCustomElement as defineCustomElementVaBanner}from"./va-banner.js";export{VaBreadcrumbs,defineCustomElement as defineCustomElementVaBreadcrumbs}from"./va-breadcrumbs.js";export{VaButton,defineCustomElement as defineCustomElementVaButton}from"./va-button.js";export{VaButtonIcon,defineCustomElement as defineCustomElementVaButtonIcon}from"./va-button-icon.js";export{VaButtonPair,defineCustomElement as defineCustomElementVaButtonPair}from"./va-button-pair.js";export{VaCard,defineCustomElement as defineCustomElementVaCard}from"./va-card.js";export{VaCheckbox,defineCustomElement as defineCustomElementVaCheckbox}from"./va-checkbox.js";export{VaCheckboxGroup,defineCustomElement as defineCustomElementVaCheckboxGroup}from"./va-checkbox-group.js";export{VaComboBox,defineCustomElement as defineCustomElementVaComboBox}from"./va-combo-box.js";export{VaCrisisLineModal,defineCustomElement as defineCustomElementVaCrisisLineModal}from"./va-crisis-line-modal.js";export{VaCriticalAction,defineCustomElement as defineCustomElementVaCriticalAction}from"./va-critical-action.js";export{VaDate,defineCustomElement as defineCustomElementVaDate}from"./va-date.js";export{VaFileInput,defineCustomElement as defineCustomElementVaFileInput}from"./va-file-input.js";export{VaFileInputMultiple,defineCustomElement as defineCustomElementVaFileInputMultiple}from"./va-file-input-multiple.js";export{VaHeaderMinimal,defineCustomElement as defineCustomElementVaHeaderMinimal}from"./va-header-minimal.js";export{VaIcon,defineCustomElement as defineCustomElementVaIcon}from"./va-icon.js";export{
|
|
1
|
+
export{getAssetPath,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";import"./i18n-setup.js";export{C as CONTACTS,c as contactsMap}from"./contacts.js";export{i as initIconSpriteLocation}from"./va-icon2.js";export{VaAccordion,defineCustomElement as defineCustomElementVaAccordion}from"./va-accordion.js";export{VaAccordionItem,defineCustomElement as defineCustomElementVaAccordionItem}from"./va-accordion-item.js";export{VaAdditionalInfo,defineCustomElement as defineCustomElementVaAdditionalInfo}from"./va-additional-info.js";export{VaAlert,defineCustomElement as defineCustomElementVaAlert}from"./va-alert.js";export{VaAlertExpandable,defineCustomElement as defineCustomElementVaAlertExpandable}from"./va-alert-expandable.js";export{VaAlertSignIn,defineCustomElement as defineCustomElementVaAlertSignIn}from"./va-alert-sign-in.js";export{VaBackToTop,defineCustomElement as defineCustomElementVaBackToTop}from"./va-back-to-top.js";export{VaBanner,defineCustomElement as defineCustomElementVaBanner}from"./va-banner.js";export{VaBreadcrumbs,defineCustomElement as defineCustomElementVaBreadcrumbs}from"./va-breadcrumbs.js";export{VaButton,defineCustomElement as defineCustomElementVaButton}from"./va-button.js";export{VaButtonIcon,defineCustomElement as defineCustomElementVaButtonIcon}from"./va-button-icon.js";export{VaButtonPair,defineCustomElement as defineCustomElementVaButtonPair}from"./va-button-pair.js";export{VaButtonSegmented,defineCustomElement as defineCustomElementVaButtonSegmented}from"./va-button-segmented.js";export{VaCard,defineCustomElement as defineCustomElementVaCard}from"./va-card.js";export{VaCheckbox,defineCustomElement as defineCustomElementVaCheckbox}from"./va-checkbox.js";export{VaCheckboxGroup,defineCustomElement as defineCustomElementVaCheckboxGroup}from"./va-checkbox-group.js";export{VaComboBox,defineCustomElement as defineCustomElementVaComboBox}from"./va-combo-box.js";export{VaCrisisLineModal,defineCustomElement as defineCustomElementVaCrisisLineModal}from"./va-crisis-line-modal.js";export{VaCriticalAction,defineCustomElement as defineCustomElementVaCriticalAction}from"./va-critical-action.js";export{VaDate,defineCustomElement as defineCustomElementVaDate}from"./va-date.js";export{VaFileInput,defineCustomElement as defineCustomElementVaFileInput}from"./va-file-input.js";export{VaFileInputMultiple,defineCustomElement as defineCustomElementVaFileInputMultiple}from"./va-file-input-multiple.js";export{VaHeaderMinimal,defineCustomElement as defineCustomElementVaHeaderMinimal}from"./va-header-minimal.js";export{VaIcon,defineCustomElement as defineCustomElementVaIcon}from"./va-icon.js";export{VaLanguageToggle,defineCustomElement as defineCustomElementVaLanguageToggle}from"./va-language-toggle.js";export{VaLink,defineCustomElement as defineCustomElementVaLink}from"./va-link.js";export{VaLinkAction,defineCustomElement as defineCustomElementVaLinkAction}from"./va-link-action.js";export{VaLoadingIndicator,defineCustomElement as defineCustomElementVaLoadingIndicator}from"./va-loading-indicator.js";export{VaMaintenanceBanner,defineCustomElement as defineCustomElementVaMaintenanceBanner}from"./va-maintenance-banner.js";export{VaMemorableDate,defineCustomElement as defineCustomElementVaMemorableDate}from"./va-memorable-date.js";export{VaMinimalFooter,defineCustomElement as defineCustomElementVaMinimalFooter}from"./va-minimal-footer.js";export{VaModal,defineCustomElement as defineCustomElementVaModal}from"./va-modal.js";export{VaNeedHelp,defineCustomElement as defineCustomElementVaNeedHelp}from"./va-need-help.js";export{VaNotification,defineCustomElement as defineCustomElementVaNotification}from"./va-notification.js";export{VaOfficialGovBanner,defineCustomElement as defineCustomElementVaOfficialGovBanner}from"./va-official-gov-banner.js";export{VaOmbInfo,defineCustomElement as defineCustomElementVaOmbInfo}from"./va-omb-info.js";export{VaOnThisPage,defineCustomElement as defineCustomElementVaOnThisPage}from"./va-on-this-page.js";export{VaPagination,defineCustomElement as defineCustomElementVaPagination}from"./va-pagination.js";export{VaPrivacyAgreement,defineCustomElement as defineCustomElementVaPrivacyAgreement}from"./va-privacy-agreement.js";export{VaProcessList,defineCustomElement as defineCustomElementVaProcessList}from"./va-process-list.js";export{VaProcessListItem,defineCustomElement as defineCustomElementVaProcessListItem}from"./va-process-list-item.js";export{VaProgressBar,defineCustomElement as defineCustomElementVaProgressBar}from"./va-progress-bar.js";export{VaPromoBanner,defineCustomElement as defineCustomElementVaPromoBanner}from"./va-promo-banner.js";export{VaRadio,defineCustomElement as defineCustomElementVaRadio}from"./va-radio.js";export{VaRadioOption,defineCustomElement as defineCustomElementVaRadioOption}from"./va-radio-option.js";export{VaSearchFilter,defineCustomElement as defineCustomElementVaSearchFilter}from"./va-search-filter.js";export{VaSearchInput,defineCustomElement as defineCustomElementVaSearchInput}from"./va-search-input.js";export{VaSegmentedProgressBar,defineCustomElement as defineCustomElementVaSegmentedProgressBar}from"./va-segmented-progress-bar.js";export{VaSelect,defineCustomElement as defineCustomElementVaSelect}from"./va-select.js";export{VaServiceListItem,defineCustomElement as defineCustomElementVaServiceListItem}from"./va-service-list-item.js";export{VaStatementOfTruth,defineCustomElement as defineCustomElementVaStatementOfTruth}from"./va-statement-of-truth.js";export{VaSummaryBox,defineCustomElement as defineCustomElementVaSummaryBox}from"./va-summary-box.js";export{VaTable,defineCustomElement as defineCustomElementVaTable}from"./va-table.js";export{VaTableInner,defineCustomElement as defineCustomElementVaTableInner}from"./va-table-inner.js";export{VaTableRow,defineCustomElement as defineCustomElementVaTableRow}from"./va-table-row.js";export{VaTelephone,defineCustomElement as defineCustomElementVaTelephone}from"./va-telephone.js";export{VaTelephoneInput,defineCustomElement as defineCustomElementVaTelephoneInput}from"./va-telephone-input.js";export{VaTextInput,defineCustomElement as defineCustomElementVaTextInput}from"./va-text-input.js";export{VaTextarea,defineCustomElement as defineCustomElementVaTextarea}from"./va-textarea.js";export{i as i18next}from"./i18next.js";
|
|
@@ -6,15 +6,17 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { Breadcrumb } from "./components/va-breadcrumbs/va-breadcrumbs";
|
|
9
|
+
import { ButtonItem } from "./components/va-button-segmented/va-button-segmented.types";
|
|
9
10
|
import { UploadedFile } from "./components/va-file-input/uploadedFile";
|
|
10
|
-
import { CountryCode } from "libphonenumber-js/min";
|
|
11
11
|
import { Filter } from "./components/va-search-filter/va-search-filter";
|
|
12
12
|
import { OptionalLink, ServiceAction, ServiceDetails } from "./components/va-service-list-item/va-service-list-item";
|
|
13
|
+
import { CountryCode } from "libphonenumber-js/min";
|
|
13
14
|
export { Breadcrumb } from "./components/va-breadcrumbs/va-breadcrumbs";
|
|
15
|
+
export { ButtonItem } from "./components/va-button-segmented/va-button-segmented.types";
|
|
14
16
|
export { UploadedFile } from "./components/va-file-input/uploadedFile";
|
|
15
|
-
export { CountryCode } from "libphonenumber-js/min";
|
|
16
17
|
export { Filter } from "./components/va-search-filter/va-search-filter";
|
|
17
18
|
export { OptionalLink, ServiceAction, ServiceDetails } from "./components/va-service-list-item/va-service-list-item";
|
|
19
|
+
export { CountryCode } from "libphonenumber-js/min";
|
|
18
20
|
export namespace Components {
|
|
19
21
|
/**
|
|
20
22
|
* @componentName Accordion
|
|
@@ -48,6 +50,10 @@ export namespace Components {
|
|
|
48
50
|
* The accordion item header text
|
|
49
51
|
*/
|
|
50
52
|
"header"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Optional text that will be read by screen readers in addition to the header text.
|
|
55
|
+
*/
|
|
56
|
+
"headerSrOnly"?: string;
|
|
51
57
|
/**
|
|
52
58
|
* Header level for button wrapper. Must be between 1 and 6
|
|
53
59
|
*/
|
|
@@ -365,6 +371,30 @@ export namespace Components {
|
|
|
365
371
|
*/
|
|
366
372
|
"update"?: boolean;
|
|
367
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* @componentName Button Segmented
|
|
376
|
+
* @maturityCategory caution
|
|
377
|
+
* @maturityLevel candidate
|
|
378
|
+
* @guidanceHref button/button-segmented
|
|
379
|
+
*/
|
|
380
|
+
interface VaButtonSegmented {
|
|
381
|
+
/**
|
|
382
|
+
* An array of objects defining the labels and values for each button. The recommended structure is: `{ label: string, value?: string }`, with the `label` property being required. The `value` property is optional and can be used to store additional information about the button. The maximum number of buttons allowed is four.
|
|
383
|
+
*/
|
|
384
|
+
"buttons": Array<ButtonItem>;
|
|
385
|
+
/**
|
|
386
|
+
* If `true`, the component-library-analytics event is disabled.
|
|
387
|
+
*/
|
|
388
|
+
"disableAnalytics"?: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* The aria-label for the button group, used for accessibility. Not required, but recommended.
|
|
391
|
+
*/
|
|
392
|
+
"label": string;
|
|
393
|
+
/**
|
|
394
|
+
* The index of the selected button.
|
|
395
|
+
*/
|
|
396
|
+
"selected": number;
|
|
397
|
+
}
|
|
368
398
|
/**
|
|
369
399
|
* @componentName Card
|
|
370
400
|
* @maturityCategory use
|
|
@@ -487,6 +517,10 @@ export namespace Components {
|
|
|
487
517
|
* Insert a header with defined level inside the label (legend)
|
|
488
518
|
*/
|
|
489
519
|
"labelHeaderLevel"?: string;
|
|
520
|
+
/**
|
|
521
|
+
* Optional text that will be read by screen readers in addition to the label text.
|
|
522
|
+
*/
|
|
523
|
+
"labelSrOnly"?: string;
|
|
490
524
|
/**
|
|
491
525
|
* An optional message that will be read by screen readers when a checkbox is focused.
|
|
492
526
|
*/
|
|
@@ -786,46 +820,13 @@ export namespace Components {
|
|
|
786
820
|
*/
|
|
787
821
|
"size"?: number;
|
|
788
822
|
/**
|
|
789
|
-
*
|
|
790
|
-
*/
|
|
791
|
-
"srtext"?: string;
|
|
792
|
-
}
|
|
793
|
-
/**
|
|
794
|
-
* @componentName Input Telephone
|
|
795
|
-
* @maturityCategory caution
|
|
796
|
-
* @maturityLevel candidate
|
|
797
|
-
* @guidanceHref form/telephone-input
|
|
798
|
-
* @translations English
|
|
799
|
-
*/
|
|
800
|
-
interface VaInputTelephone {
|
|
801
|
-
/**
|
|
802
|
-
* The telephone contact information
|
|
823
|
+
* The location (url) of the icon sprite file. If not set, uses the global or default location. The path must be loaded from the same origin as you application, cannot traverse the file system using `..` and must be a `.svg` file.
|
|
803
824
|
*/
|
|
804
|
-
"
|
|
825
|
+
"spriteLocation"?: string;
|
|
805
826
|
/**
|
|
806
|
-
*
|
|
807
|
-
*/
|
|
808
|
-
"country"?: CountryCode;
|
|
809
|
-
/**
|
|
810
|
-
* The error for the component
|
|
811
|
-
*/
|
|
812
|
-
"error"?: string;
|
|
813
|
-
/**
|
|
814
|
-
* Hint string text
|
|
815
|
-
*/
|
|
816
|
-
"hint"?: string;
|
|
817
|
-
/**
|
|
818
|
-
* Label text for the component
|
|
819
|
-
*/
|
|
820
|
-
"label"?: string;
|
|
821
|
-
/**
|
|
822
|
-
* Whether the country select should be included. Set to true to exclude it.
|
|
823
|
-
*/
|
|
824
|
-
"noCountry"?: boolean;
|
|
825
|
-
/**
|
|
826
|
-
* Render marker indicating field is required.
|
|
827
|
+
* Screen-reader text if the icon has semantic meaning and is not purely decorative.
|
|
827
828
|
*/
|
|
828
|
-
"
|
|
829
|
+
"srtext"?: string;
|
|
829
830
|
}
|
|
830
831
|
/**
|
|
831
832
|
* @componentName Language Toggle
|
|
@@ -1377,8 +1378,8 @@ export namespace Components {
|
|
|
1377
1378
|
}
|
|
1378
1379
|
/**
|
|
1379
1380
|
* @componentName Banner - Promo
|
|
1380
|
-
* @maturityCategory
|
|
1381
|
-
* @maturityLevel
|
|
1381
|
+
* @maturityCategory dont_use
|
|
1382
|
+
* @maturityLevel deprecated
|
|
1382
1383
|
* @guidanceHref banner/promo
|
|
1383
1384
|
*/
|
|
1384
1385
|
interface VaPromoBanner {
|
|
@@ -1724,6 +1725,10 @@ export namespace Components {
|
|
|
1724
1725
|
* An optional custom header for the component
|
|
1725
1726
|
*/
|
|
1726
1727
|
"heading": string;
|
|
1728
|
+
/**
|
|
1729
|
+
* Removes the legal notice text. Use this property when there are multiple statement of truth components on the page to avoid redundancy.
|
|
1730
|
+
*/
|
|
1731
|
+
"hideLegalNote": boolean;
|
|
1727
1732
|
/**
|
|
1728
1733
|
* The error to be applied to the va-text-input element
|
|
1729
1734
|
*/
|
|
@@ -1880,6 +1885,47 @@ export namespace Components {
|
|
|
1880
1885
|
*/
|
|
1881
1886
|
"vanity"?: string;
|
|
1882
1887
|
}
|
|
1888
|
+
/**
|
|
1889
|
+
* @componentName Telephone Input
|
|
1890
|
+
* @maturityCategory caution
|
|
1891
|
+
* @maturityLevel candidate
|
|
1892
|
+
* @guidanceHref form/telephone-input
|
|
1893
|
+
* @translations English
|
|
1894
|
+
*/
|
|
1895
|
+
interface VaTelephoneInput {
|
|
1896
|
+
/**
|
|
1897
|
+
* The telephone contact information
|
|
1898
|
+
*/
|
|
1899
|
+
"contact"?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
* The 2 letter ISO country code for a country
|
|
1902
|
+
*/
|
|
1903
|
+
"country"?: CountryCode;
|
|
1904
|
+
/**
|
|
1905
|
+
* The error for the component
|
|
1906
|
+
*/
|
|
1907
|
+
"error"?: string;
|
|
1908
|
+
/**
|
|
1909
|
+
* Hint string text
|
|
1910
|
+
*/
|
|
1911
|
+
"hint"?: string;
|
|
1912
|
+
/**
|
|
1913
|
+
* Label text for the component
|
|
1914
|
+
*/
|
|
1915
|
+
"label"?: string;
|
|
1916
|
+
/**
|
|
1917
|
+
* Whether the country select should be included. Set to true to exclude it.
|
|
1918
|
+
*/
|
|
1919
|
+
"noCountry"?: boolean;
|
|
1920
|
+
/**
|
|
1921
|
+
* Render marker indicating field is required.
|
|
1922
|
+
*/
|
|
1923
|
+
"required"?: boolean;
|
|
1924
|
+
/**
|
|
1925
|
+
* If true, this prop instructs the component to display error messages in response to the internal error state. If false, error messages must be passed in from consumer.
|
|
1926
|
+
*/
|
|
1927
|
+
"showInternalErrors"?: boolean;
|
|
1928
|
+
}
|
|
1883
1929
|
/**
|
|
1884
1930
|
* @nativeHandler onInput
|
|
1885
1931
|
* @nativeHandler onBlur
|
|
@@ -2140,6 +2186,10 @@ export interface VaButtonPairCustomEvent<T> extends CustomEvent<T> {
|
|
|
2140
2186
|
detail: T;
|
|
2141
2187
|
target: HTMLVaButtonPairElement;
|
|
2142
2188
|
}
|
|
2189
|
+
export interface VaButtonSegmentedCustomEvent<T> extends CustomEvent<T> {
|
|
2190
|
+
detail: T;
|
|
2191
|
+
target: HTMLVaButtonSegmentedElement;
|
|
2192
|
+
}
|
|
2143
2193
|
export interface VaCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
2144
2194
|
detail: T;
|
|
2145
2195
|
target: HTMLVaCheckboxElement;
|
|
@@ -2164,10 +2214,6 @@ export interface VaFileInputMultipleCustomEvent<T> extends CustomEvent<T> {
|
|
|
2164
2214
|
detail: T;
|
|
2165
2215
|
target: HTMLVaFileInputMultipleElement;
|
|
2166
2216
|
}
|
|
2167
|
-
export interface VaInputTelephoneCustomEvent<T> extends CustomEvent<T> {
|
|
2168
|
-
detail: T;
|
|
2169
|
-
target: HTMLVaInputTelephoneElement;
|
|
2170
|
-
}
|
|
2171
2217
|
export interface VaLanguageToggleCustomEvent<T> extends CustomEvent<T> {
|
|
2172
2218
|
detail: T;
|
|
2173
2219
|
target: HTMLVaLanguageToggleElement;
|
|
@@ -2260,6 +2306,10 @@ export interface VaTelephoneCustomEvent<T> extends CustomEvent<T> {
|
|
|
2260
2306
|
detail: T;
|
|
2261
2307
|
target: HTMLVaTelephoneElement;
|
|
2262
2308
|
}
|
|
2309
|
+
export interface VaTelephoneInputCustomEvent<T> extends CustomEvent<T> {
|
|
2310
|
+
detail: T;
|
|
2311
|
+
target: HTMLVaTelephoneInputElement;
|
|
2312
|
+
}
|
|
2263
2313
|
export interface VaTextInputCustomEvent<T> extends CustomEvent<T> {
|
|
2264
2314
|
detail: T;
|
|
2265
2315
|
target: HTMLVaTextInputElement;
|
|
@@ -2521,6 +2571,30 @@ declare global {
|
|
|
2521
2571
|
prototype: HTMLVaButtonPairElement;
|
|
2522
2572
|
new (): HTMLVaButtonPairElement;
|
|
2523
2573
|
};
|
|
2574
|
+
interface HTMLVaButtonSegmentedElementEventMap {
|
|
2575
|
+
"vaButtonClick": any;
|
|
2576
|
+
"component-library-analytics": any;
|
|
2577
|
+
}
|
|
2578
|
+
/**
|
|
2579
|
+
* @componentName Button Segmented
|
|
2580
|
+
* @maturityCategory caution
|
|
2581
|
+
* @maturityLevel candidate
|
|
2582
|
+
* @guidanceHref button/button-segmented
|
|
2583
|
+
*/
|
|
2584
|
+
interface HTMLVaButtonSegmentedElement extends Components.VaButtonSegmented, HTMLStencilElement {
|
|
2585
|
+
addEventListener<K extends keyof HTMLVaButtonSegmentedElementEventMap>(type: K, listener: (this: HTMLVaButtonSegmentedElement, ev: VaButtonSegmentedCustomEvent<HTMLVaButtonSegmentedElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2586
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2587
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2588
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2589
|
+
removeEventListener<K extends keyof HTMLVaButtonSegmentedElementEventMap>(type: K, listener: (this: HTMLVaButtonSegmentedElement, ev: VaButtonSegmentedCustomEvent<HTMLVaButtonSegmentedElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2590
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2591
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2592
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2593
|
+
}
|
|
2594
|
+
var HTMLVaButtonSegmentedElement: {
|
|
2595
|
+
prototype: HTMLVaButtonSegmentedElement;
|
|
2596
|
+
new (): HTMLVaButtonSegmentedElement;
|
|
2597
|
+
};
|
|
2524
2598
|
/**
|
|
2525
2599
|
* @componentName Card
|
|
2526
2600
|
* @maturityCategory use
|
|
@@ -2732,30 +2806,6 @@ declare global {
|
|
|
2732
2806
|
prototype: HTMLVaIconElement;
|
|
2733
2807
|
new (): HTMLVaIconElement;
|
|
2734
2808
|
};
|
|
2735
|
-
interface HTMLVaInputTelephoneElementEventMap {
|
|
2736
|
-
"vaContact": any;
|
|
2737
|
-
}
|
|
2738
|
-
/**
|
|
2739
|
-
* @componentName Input Telephone
|
|
2740
|
-
* @maturityCategory caution
|
|
2741
|
-
* @maturityLevel candidate
|
|
2742
|
-
* @guidanceHref form/telephone-input
|
|
2743
|
-
* @translations English
|
|
2744
|
-
*/
|
|
2745
|
-
interface HTMLVaInputTelephoneElement extends Components.VaInputTelephone, HTMLStencilElement {
|
|
2746
|
-
addEventListener<K extends keyof HTMLVaInputTelephoneElementEventMap>(type: K, listener: (this: HTMLVaInputTelephoneElement, ev: VaInputTelephoneCustomEvent<HTMLVaInputTelephoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2747
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2748
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2749
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2750
|
-
removeEventListener<K extends keyof HTMLVaInputTelephoneElementEventMap>(type: K, listener: (this: HTMLVaInputTelephoneElement, ev: VaInputTelephoneCustomEvent<HTMLVaInputTelephoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2751
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2752
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2753
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2754
|
-
}
|
|
2755
|
-
var HTMLVaInputTelephoneElement: {
|
|
2756
|
-
prototype: HTMLVaInputTelephoneElement;
|
|
2757
|
-
new (): HTMLVaInputTelephoneElement;
|
|
2758
|
-
};
|
|
2759
2809
|
interface HTMLVaLanguageToggleElementEventMap {
|
|
2760
2810
|
"vaLanguageToggle": any;
|
|
2761
2811
|
"component-library-analytics": any;
|
|
@@ -3119,8 +3169,8 @@ declare global {
|
|
|
3119
3169
|
}
|
|
3120
3170
|
/**
|
|
3121
3171
|
* @componentName Banner - Promo
|
|
3122
|
-
* @maturityCategory
|
|
3123
|
-
* @maturityLevel
|
|
3172
|
+
* @maturityCategory dont_use
|
|
3173
|
+
* @maturityLevel deprecated
|
|
3124
3174
|
* @guidanceHref banner/promo
|
|
3125
3175
|
*/
|
|
3126
3176
|
interface HTMLVaPromoBannerElement extends Components.VaPromoBanner, HTMLStencilElement {
|
|
@@ -3388,6 +3438,30 @@ declare global {
|
|
|
3388
3438
|
prototype: HTMLVaTelephoneElement;
|
|
3389
3439
|
new (): HTMLVaTelephoneElement;
|
|
3390
3440
|
};
|
|
3441
|
+
interface HTMLVaTelephoneInputElementEventMap {
|
|
3442
|
+
"vaContact": any;
|
|
3443
|
+
}
|
|
3444
|
+
/**
|
|
3445
|
+
* @componentName Telephone Input
|
|
3446
|
+
* @maturityCategory caution
|
|
3447
|
+
* @maturityLevel candidate
|
|
3448
|
+
* @guidanceHref form/telephone-input
|
|
3449
|
+
* @translations English
|
|
3450
|
+
*/
|
|
3451
|
+
interface HTMLVaTelephoneInputElement extends Components.VaTelephoneInput, HTMLStencilElement {
|
|
3452
|
+
addEventListener<K extends keyof HTMLVaTelephoneInputElementEventMap>(type: K, listener: (this: HTMLVaTelephoneInputElement, ev: VaTelephoneInputCustomEvent<HTMLVaTelephoneInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3453
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3454
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3455
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3456
|
+
removeEventListener<K extends keyof HTMLVaTelephoneInputElementEventMap>(type: K, listener: (this: HTMLVaTelephoneInputElement, ev: VaTelephoneInputCustomEvent<HTMLVaTelephoneInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3457
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3458
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3459
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3460
|
+
}
|
|
3461
|
+
var HTMLVaTelephoneInputElement: {
|
|
3462
|
+
prototype: HTMLVaTelephoneInputElement;
|
|
3463
|
+
new (): HTMLVaTelephoneInputElement;
|
|
3464
|
+
};
|
|
3391
3465
|
interface HTMLVaTextInputElementEventMap {
|
|
3392
3466
|
"component-library-analytics": any;
|
|
3393
3467
|
}
|
|
@@ -3456,6 +3530,7 @@ declare global {
|
|
|
3456
3530
|
"va-button": HTMLVaButtonElement;
|
|
3457
3531
|
"va-button-icon": HTMLVaButtonIconElement;
|
|
3458
3532
|
"va-button-pair": HTMLVaButtonPairElement;
|
|
3533
|
+
"va-button-segmented": HTMLVaButtonSegmentedElement;
|
|
3459
3534
|
"va-card": HTMLVaCardElement;
|
|
3460
3535
|
"va-checkbox": HTMLVaCheckboxElement;
|
|
3461
3536
|
"va-checkbox-group": HTMLVaCheckboxGroupElement;
|
|
@@ -3467,7 +3542,6 @@ declare global {
|
|
|
3467
3542
|
"va-file-input-multiple": HTMLVaFileInputMultipleElement;
|
|
3468
3543
|
"va-header-minimal": HTMLVaHeaderMinimalElement;
|
|
3469
3544
|
"va-icon": HTMLVaIconElement;
|
|
3470
|
-
"va-input-telephone": HTMLVaInputTelephoneElement;
|
|
3471
3545
|
"va-language-toggle": HTMLVaLanguageToggleElement;
|
|
3472
3546
|
"va-link": HTMLVaLinkElement;
|
|
3473
3547
|
"va-link-action": HTMLVaLinkActionElement;
|
|
@@ -3500,6 +3574,7 @@ declare global {
|
|
|
3500
3574
|
"va-table-inner": HTMLVaTableInnerElement;
|
|
3501
3575
|
"va-table-row": HTMLVaTableRowElement;
|
|
3502
3576
|
"va-telephone": HTMLVaTelephoneElement;
|
|
3577
|
+
"va-telephone-input": HTMLVaTelephoneInputElement;
|
|
3503
3578
|
"va-text-input": HTMLVaTextInputElement;
|
|
3504
3579
|
"va-textarea": HTMLVaTextareaElement;
|
|
3505
3580
|
}
|
|
@@ -3545,6 +3620,10 @@ declare namespace LocalJSX {
|
|
|
3545
3620
|
* The accordion item header text
|
|
3546
3621
|
*/
|
|
3547
3622
|
"header"?: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* Optional text that will be read by screen readers in addition to the header text.
|
|
3625
|
+
*/
|
|
3626
|
+
"headerSrOnly"?: string;
|
|
3548
3627
|
/**
|
|
3549
3628
|
* Header level for button wrapper. Must be between 1 and 6
|
|
3550
3629
|
*/
|
|
@@ -3918,6 +3997,38 @@ declare namespace LocalJSX {
|
|
|
3918
3997
|
*/
|
|
3919
3998
|
"update"?: boolean;
|
|
3920
3999
|
}
|
|
4000
|
+
/**
|
|
4001
|
+
* @componentName Button Segmented
|
|
4002
|
+
* @maturityCategory caution
|
|
4003
|
+
* @maturityLevel candidate
|
|
4004
|
+
* @guidanceHref button/button-segmented
|
|
4005
|
+
*/
|
|
4006
|
+
interface VaButtonSegmented {
|
|
4007
|
+
/**
|
|
4008
|
+
* An array of objects defining the labels and values for each button. The recommended structure is: `{ label: string, value?: string }`, with the `label` property being required. The `value` property is optional and can be used to store additional information about the button. The maximum number of buttons allowed is four.
|
|
4009
|
+
*/
|
|
4010
|
+
"buttons": Array<ButtonItem>;
|
|
4011
|
+
/**
|
|
4012
|
+
* If `true`, the component-library-analytics event is disabled.
|
|
4013
|
+
*/
|
|
4014
|
+
"disableAnalytics"?: boolean;
|
|
4015
|
+
/**
|
|
4016
|
+
* The aria-label for the button group, used for accessibility. Not required, but recommended.
|
|
4017
|
+
*/
|
|
4018
|
+
"label"?: string;
|
|
4019
|
+
/**
|
|
4020
|
+
* The event used to track usage of the component.
|
|
4021
|
+
*/
|
|
4022
|
+
"onComponent-library-analytics"?: (event: VaButtonSegmentedCustomEvent<any>) => void;
|
|
4023
|
+
/**
|
|
4024
|
+
* Event emitted when selected button changes (a button is clicked).
|
|
4025
|
+
*/
|
|
4026
|
+
"onVaButtonClick"?: (event: VaButtonSegmentedCustomEvent<any>) => void;
|
|
4027
|
+
/**
|
|
4028
|
+
* The index of the selected button.
|
|
4029
|
+
*/
|
|
4030
|
+
"selected"?: number;
|
|
4031
|
+
}
|
|
3921
4032
|
/**
|
|
3922
4033
|
* @componentName Card
|
|
3923
4034
|
* @maturityCategory use
|
|
@@ -4048,6 +4159,10 @@ declare namespace LocalJSX {
|
|
|
4048
4159
|
* Insert a header with defined level inside the label (legend)
|
|
4049
4160
|
*/
|
|
4050
4161
|
"labelHeaderLevel"?: string;
|
|
4162
|
+
/**
|
|
4163
|
+
* Optional text that will be read by screen readers in addition to the label text.
|
|
4164
|
+
*/
|
|
4165
|
+
"labelSrOnly"?: string;
|
|
4051
4166
|
/**
|
|
4052
4167
|
* An optional message that will be read by screen readers when a checkbox is focused.
|
|
4053
4168
|
*/
|
|
@@ -4383,50 +4498,13 @@ declare namespace LocalJSX {
|
|
|
4383
4498
|
*/
|
|
4384
4499
|
"size"?: number;
|
|
4385
4500
|
/**
|
|
4386
|
-
*
|
|
4387
|
-
*/
|
|
4388
|
-
"srtext"?: string;
|
|
4389
|
-
}
|
|
4390
|
-
/**
|
|
4391
|
-
* @componentName Input Telephone
|
|
4392
|
-
* @maturityCategory caution
|
|
4393
|
-
* @maturityLevel candidate
|
|
4394
|
-
* @guidanceHref form/telephone-input
|
|
4395
|
-
* @translations English
|
|
4396
|
-
*/
|
|
4397
|
-
interface VaInputTelephone {
|
|
4398
|
-
/**
|
|
4399
|
-
* The telephone contact information
|
|
4400
|
-
*/
|
|
4401
|
-
"contact"?: string;
|
|
4402
|
-
/**
|
|
4403
|
-
* The 2 letter ISO country code for a country
|
|
4404
|
-
*/
|
|
4405
|
-
"country"?: CountryCode;
|
|
4406
|
-
/**
|
|
4407
|
-
* The error for the component
|
|
4408
|
-
*/
|
|
4409
|
-
"error"?: string;
|
|
4410
|
-
/**
|
|
4411
|
-
* Hint string text
|
|
4412
|
-
*/
|
|
4413
|
-
"hint"?: string;
|
|
4414
|
-
/**
|
|
4415
|
-
* Label text for the component
|
|
4501
|
+
* The location (url) of the icon sprite file. If not set, uses the global or default location. The path must be loaded from the same origin as you application, cannot traverse the file system using `..` and must be a `.svg` file.
|
|
4416
4502
|
*/
|
|
4417
|
-
"
|
|
4503
|
+
"spriteLocation"?: string;
|
|
4418
4504
|
/**
|
|
4419
|
-
*
|
|
4420
|
-
*/
|
|
4421
|
-
"noCountry"?: boolean;
|
|
4422
|
-
/**
|
|
4423
|
-
* The event emitted when the contact changes
|
|
4424
|
-
*/
|
|
4425
|
-
"onVaContact"?: (event: VaInputTelephoneCustomEvent<any>) => void;
|
|
4426
|
-
/**
|
|
4427
|
-
* Render marker indicating field is required.
|
|
4505
|
+
* Screen-reader text if the icon has semantic meaning and is not purely decorative.
|
|
4428
4506
|
*/
|
|
4429
|
-
"
|
|
4507
|
+
"srtext"?: string;
|
|
4430
4508
|
}
|
|
4431
4509
|
/**
|
|
4432
4510
|
* @componentName Language Toggle
|
|
@@ -5070,8 +5148,8 @@ declare namespace LocalJSX {
|
|
|
5070
5148
|
}
|
|
5071
5149
|
/**
|
|
5072
5150
|
* @componentName Banner - Promo
|
|
5073
|
-
* @maturityCategory
|
|
5074
|
-
* @maturityLevel
|
|
5151
|
+
* @maturityCategory dont_use
|
|
5152
|
+
* @maturityLevel deprecated
|
|
5075
5153
|
* @guidanceHref banner/promo
|
|
5076
5154
|
*/
|
|
5077
5155
|
interface VaPromoBanner {
|
|
@@ -5473,6 +5551,10 @@ declare namespace LocalJSX {
|
|
|
5473
5551
|
* An optional custom header for the component
|
|
5474
5552
|
*/
|
|
5475
5553
|
"heading"?: string;
|
|
5554
|
+
/**
|
|
5555
|
+
* Removes the legal notice text. Use this property when there are multiple statement of truth components on the page to avoid redundancy.
|
|
5556
|
+
*/
|
|
5557
|
+
"hideLegalNote"?: boolean;
|
|
5476
5558
|
/**
|
|
5477
5559
|
* The error to be applied to the va-text-input element
|
|
5478
5560
|
*/
|
|
@@ -5649,6 +5731,51 @@ declare namespace LocalJSX {
|
|
|
5649
5731
|
*/
|
|
5650
5732
|
"vanity"?: string;
|
|
5651
5733
|
}
|
|
5734
|
+
/**
|
|
5735
|
+
* @componentName Telephone Input
|
|
5736
|
+
* @maturityCategory caution
|
|
5737
|
+
* @maturityLevel candidate
|
|
5738
|
+
* @guidanceHref form/telephone-input
|
|
5739
|
+
* @translations English
|
|
5740
|
+
*/
|
|
5741
|
+
interface VaTelephoneInput {
|
|
5742
|
+
/**
|
|
5743
|
+
* The telephone contact information
|
|
5744
|
+
*/
|
|
5745
|
+
"contact"?: string;
|
|
5746
|
+
/**
|
|
5747
|
+
* The 2 letter ISO country code for a country
|
|
5748
|
+
*/
|
|
5749
|
+
"country"?: CountryCode;
|
|
5750
|
+
/**
|
|
5751
|
+
* The error for the component
|
|
5752
|
+
*/
|
|
5753
|
+
"error"?: string;
|
|
5754
|
+
/**
|
|
5755
|
+
* Hint string text
|
|
5756
|
+
*/
|
|
5757
|
+
"hint"?: string;
|
|
5758
|
+
/**
|
|
5759
|
+
* Label text for the component
|
|
5760
|
+
*/
|
|
5761
|
+
"label"?: string;
|
|
5762
|
+
/**
|
|
5763
|
+
* Whether the country select should be included. Set to true to exclude it.
|
|
5764
|
+
*/
|
|
5765
|
+
"noCountry"?: boolean;
|
|
5766
|
+
/**
|
|
5767
|
+
* The event emitted when the contact changes
|
|
5768
|
+
*/
|
|
5769
|
+
"onVaContact"?: (event: VaTelephoneInputCustomEvent<any>) => void;
|
|
5770
|
+
/**
|
|
5771
|
+
* Render marker indicating field is required.
|
|
5772
|
+
*/
|
|
5773
|
+
"required"?: boolean;
|
|
5774
|
+
/**
|
|
5775
|
+
* If true, this prop instructs the component to display error messages in response to the internal error state. If false, error messages must be passed in from consumer.
|
|
5776
|
+
*/
|
|
5777
|
+
"showInternalErrors"?: boolean;
|
|
5778
|
+
}
|
|
5652
5779
|
/**
|
|
5653
5780
|
* @nativeHandler onInput
|
|
5654
5781
|
* @nativeHandler onBlur
|
|
@@ -5889,6 +6016,7 @@ declare namespace LocalJSX {
|
|
|
5889
6016
|
"va-button": VaButton;
|
|
5890
6017
|
"va-button-icon": VaButtonIcon;
|
|
5891
6018
|
"va-button-pair": VaButtonPair;
|
|
6019
|
+
"va-button-segmented": VaButtonSegmented;
|
|
5892
6020
|
"va-card": VaCard;
|
|
5893
6021
|
"va-checkbox": VaCheckbox;
|
|
5894
6022
|
"va-checkbox-group": VaCheckboxGroup;
|
|
@@ -5900,7 +6028,6 @@ declare namespace LocalJSX {
|
|
|
5900
6028
|
"va-file-input-multiple": VaFileInputMultiple;
|
|
5901
6029
|
"va-header-minimal": VaHeaderMinimal;
|
|
5902
6030
|
"va-icon": VaIcon;
|
|
5903
|
-
"va-input-telephone": VaInputTelephone;
|
|
5904
6031
|
"va-language-toggle": VaLanguageToggle;
|
|
5905
6032
|
"va-link": VaLink;
|
|
5906
6033
|
"va-link-action": VaLinkAction;
|
|
@@ -5933,6 +6060,7 @@ declare namespace LocalJSX {
|
|
|
5933
6060
|
"va-table-inner": VaTableInner;
|
|
5934
6061
|
"va-table-row": VaTableRow;
|
|
5935
6062
|
"va-telephone": VaTelephone;
|
|
6063
|
+
"va-telephone-input": VaTelephoneInput;
|
|
5936
6064
|
"va-text-input": VaTextInput;
|
|
5937
6065
|
"va-textarea": VaTextarea;
|
|
5938
6066
|
}
|
|
@@ -6017,6 +6145,13 @@ declare module "@stencil/core" {
|
|
|
6017
6145
|
* @guidanceHref button/button-pair
|
|
6018
6146
|
*/
|
|
6019
6147
|
"va-button-pair": LocalJSX.VaButtonPair & JSXBase.HTMLAttributes<HTMLVaButtonPairElement>;
|
|
6148
|
+
/**
|
|
6149
|
+
* @componentName Button Segmented
|
|
6150
|
+
* @maturityCategory caution
|
|
6151
|
+
* @maturityLevel candidate
|
|
6152
|
+
* @guidanceHref button/button-segmented
|
|
6153
|
+
*/
|
|
6154
|
+
"va-button-segmented": LocalJSX.VaButtonSegmented & JSXBase.HTMLAttributes<HTMLVaButtonSegmentedElement>;
|
|
6020
6155
|
/**
|
|
6021
6156
|
* @componentName Card
|
|
6022
6157
|
* @maturityCategory use
|
|
@@ -6102,14 +6237,6 @@ declare module "@stencil/core" {
|
|
|
6102
6237
|
* @maturityLevel available
|
|
6103
6238
|
*/
|
|
6104
6239
|
"va-icon": LocalJSX.VaIcon & JSXBase.HTMLAttributes<HTMLVaIconElement>;
|
|
6105
|
-
/**
|
|
6106
|
-
* @componentName Input Telephone
|
|
6107
|
-
* @maturityCategory caution
|
|
6108
|
-
* @maturityLevel candidate
|
|
6109
|
-
* @guidanceHref form/telephone-input
|
|
6110
|
-
* @translations English
|
|
6111
|
-
*/
|
|
6112
|
-
"va-input-telephone": LocalJSX.VaInputTelephone & JSXBase.HTMLAttributes<HTMLVaInputTelephoneElement>;
|
|
6113
6240
|
/**
|
|
6114
6241
|
* @componentName Language Toggle
|
|
6115
6242
|
* @maturityCategory caution
|
|
@@ -6226,8 +6353,8 @@ declare module "@stencil/core" {
|
|
|
6226
6353
|
"va-progress-bar": LocalJSX.VaProgressBar & JSXBase.HTMLAttributes<HTMLVaProgressBarElement>;
|
|
6227
6354
|
/**
|
|
6228
6355
|
* @componentName Banner - Promo
|
|
6229
|
-
* @maturityCategory
|
|
6230
|
-
* @maturityLevel
|
|
6356
|
+
* @maturityCategory dont_use
|
|
6357
|
+
* @maturityLevel deprecated
|
|
6231
6358
|
* @guidanceHref banner/promo
|
|
6232
6359
|
*/
|
|
6233
6360
|
"va-promo-banner": LocalJSX.VaPromoBanner & JSXBase.HTMLAttributes<HTMLVaPromoBannerElement>;
|
|
@@ -6310,6 +6437,14 @@ declare module "@stencil/core" {
|
|
|
6310
6437
|
* @maturityLevel best_practice
|
|
6311
6438
|
*/
|
|
6312
6439
|
"va-telephone": LocalJSX.VaTelephone & JSXBase.HTMLAttributes<HTMLVaTelephoneElement>;
|
|
6440
|
+
/**
|
|
6441
|
+
* @componentName Telephone Input
|
|
6442
|
+
* @maturityCategory caution
|
|
6443
|
+
* @maturityLevel candidate
|
|
6444
|
+
* @guidanceHref form/telephone-input
|
|
6445
|
+
* @translations English
|
|
6446
|
+
*/
|
|
6447
|
+
"va-telephone-input": LocalJSX.VaTelephoneInput & JSXBase.HTMLAttributes<HTMLVaTelephoneInputElement>;
|
|
6313
6448
|
/**
|
|
6314
6449
|
* @nativeHandler onInput
|
|
6315
6450
|
* @nativeHandler onBlur
|