@department-of-veterans-affairs/component-library 54.5.0 → 54.5.1
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/app.bundle.js +1 -1
- package/dist/components/contacts.js +1 -0
- package/dist/components/date-utils.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-a5dce9e6.js → index2.js} +1 -1
- package/dist/components/utils.js +1 -0
- package/dist/components/va-accordion-item.js +1 -1
- package/dist/components/va-accordion-item2.js +1 -0
- package/dist/components/va-accordion.js +1 -1
- package/dist/components/va-accordion2.js +1 -0
- package/dist/components/va-additional-info.js +1 -1
- package/dist/components/va-alert-expandable.js +1 -1
- package/dist/components/va-alert-sign-in.js +1 -1
- package/dist/components/va-alert.js +1 -1
- package/dist/components/va-alert2.js +1 -0
- package/dist/components/va-back-to-top.js +1 -1
- package/dist/components/va-banner.js +1 -1
- package/dist/components/va-breadcrumbs.js +1 -1
- package/dist/components/va-button-icon.js +1 -1
- package/dist/components/va-button-icon2.js +1 -0
- package/dist/components/va-button-pair.js +1 -1
- package/dist/components/va-button-segmented.js +1 -1
- package/dist/components/va-button.js +1 -1
- package/dist/components/va-button2.js +1 -0
- package/dist/components/va-card.js +1 -1
- package/dist/components/va-card2.js +1 -0
- package/dist/components/va-checkbox-group.js +1 -1
- package/dist/components/va-checkbox-group2.js +1 -0
- package/dist/components/va-checkbox.js +1 -1
- package/dist/components/va-checkbox2.js +1 -0
- package/dist/components/va-combo-box.js +1 -1
- package/dist/components/{p-ddb87324.js → va-combo-box2.js} +4 -4
- package/dist/components/va-crisis-line-modal.js +1 -1
- package/dist/components/va-crisis-line-modal2.js +1 -0
- package/dist/components/va-critical-action.js +1 -1
- package/dist/components/va-critical-action2.js +1 -0
- package/dist/components/va-date.js +1 -1
- package/dist/components/va-file-input-multiple.js +1 -1
- package/dist/components/va-file-input.js +1 -1
- package/dist/components/va-file-input2.js +1 -0
- package/dist/components/va-header-minimal.js +1 -1
- package/dist/components/va-icon.js +1 -1
- package/dist/components/va-icon2.js +1 -0
- package/dist/components/va-language-toggle.js +1 -1
- package/dist/components/va-link-action.js +1 -1
- package/dist/components/va-link.js +1 -1
- package/dist/components/va-link2.js +1 -0
- package/dist/components/va-loading-indicator.js +1 -1
- package/dist/components/va-maintenance-banner.js +1 -1
- package/dist/components/va-memorable-date.js +1 -1
- package/dist/components/va-minimal-footer.js +1 -1
- package/dist/components/va-modal.js +1 -1
- package/dist/components/va-modal2.js +1 -0
- package/dist/components/va-need-help.js +1 -1
- package/dist/components/va-notification.js +1 -1
- package/dist/components/va-official-gov-banner.js +1 -1
- package/dist/components/va-official-gov-banner2.js +1 -0
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-on-this-page.js +1 -1
- package/dist/components/va-pagination.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-bar.js +1 -1
- package/dist/components/va-progress-bar2.js +1 -0
- package/dist/components/va-promo-banner.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-segmented-progress-bar.js +1 -1
- package/dist/components/va-select.js +1 -1
- package/dist/components/va-select2.js +1 -0
- package/dist/components/va-service-list-item.js +1 -1
- package/dist/components/va-sidenav-item.js +1 -1
- package/dist/components/va-sidenav-submenu.js +1 -1
- package/dist/components/va-sidenav.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-tab-item.js +1 -1
- package/dist/components/va-tab-panel.js +1 -1
- package/dist/components/va-table-inner.js +1 -1
- package/dist/components/va-table-inner2.js +1 -0
- package/dist/components/va-table-row.js +1 -1
- package/dist/components/va-table.js +1 -1
- package/dist/components/va-tabs.js +1 -1
- package/dist/components/va-tag-status.js +1 -1
- package/dist/components/va-telephone-input.js +1 -1
- package/dist/components/va-telephone.js +1 -1
- package/dist/components/va-telephone2.js +1 -0
- package/dist/components/va-text-input.js +1 -1
- package/dist/components/va-text-input2.js +1 -0
- package/dist/components/va-textarea.js +1 -1
- package/dist/react-bindings/index.d.ts +67 -6
- package/dist/react-bindings/index.js +1 -1
- package/dist/react-bindings/index.js.map +1 -1
- package/dist/react-bindings/index.ts +75 -6
- package/dist/react-bindings/react-component-lib/createComponent.d.ts +10 -0
- package/dist/react-bindings/react-component-lib/createComponent.js +1 -0
- package/dist/react-bindings/react-component-lib/createComponent.js.map +1 -0
- package/dist/react-bindings/react-component-lib/createComponent.tsx +106 -0
- package/dist/react-bindings/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/dist/react-bindings/react-component-lib/createOverlayComponent.js +1 -0
- package/dist/react-bindings/react-component-lib/createOverlayComponent.js.map +1 -0
- package/dist/react-bindings/react-component-lib/createOverlayComponent.tsx +142 -0
- package/dist/react-bindings/react-component-lib/index.d.ts +2 -0
- package/dist/react-bindings/react-component-lib/index.js +1 -0
- package/dist/react-bindings/react-component-lib/index.js.map +1 -0
- package/dist/react-bindings/react-component-lib/index.ts +2 -0
- package/dist/react-bindings/react-component-lib/interfaces.d.ts +29 -0
- package/dist/react-bindings/react-component-lib/interfaces.js +1 -0
- package/dist/react-bindings/react-component-lib/interfaces.js.map +1 -0
- package/dist/react-bindings/react-component-lib/interfaces.ts +34 -0
- package/dist/react-bindings/react-component-lib/utils/attachProps.d.ts +16 -0
- package/dist/react-bindings/react-component-lib/utils/attachProps.js +2 -0
- package/dist/react-bindings/react-component-lib/utils/attachProps.js.LICENSE.txt +4 -0
- package/dist/react-bindings/react-component-lib/utils/attachProps.js.map +1 -0
- package/dist/react-bindings/react-component-lib/utils/attachProps.ts +125 -0
- package/dist/react-bindings/react-component-lib/utils/case.d.ts +2 -0
- package/dist/react-bindings/react-component-lib/utils/case.js +1 -0
- package/dist/react-bindings/react-component-lib/utils/case.js.map +1 -0
- package/dist/react-bindings/react-component-lib/utils/case.ts +7 -0
- package/dist/react-bindings/react-component-lib/utils/dev.d.ts +2 -0
- package/dist/react-bindings/react-component-lib/utils/dev.js +1 -0
- package/dist/react-bindings/react-component-lib/utils/dev.js.map +1 -0
- package/dist/react-bindings/react-component-lib/utils/dev.ts +14 -0
- package/dist/react-bindings/react-component-lib/utils/index.d.ts +10 -0
- package/dist/react-bindings/react-component-lib/utils/index.js +1 -0
- package/dist/react-bindings/react-component-lib/utils/index.js.map +1 -0
- package/dist/react-bindings/react-component-lib/utils/index.tsx +50 -0
- package/package.json +3 -4
- package/Modal.unit.spec.js +0 -1
- package/dist/components/p-169f3a43.js +0 -1
- package/dist/components/p-1cee576c.js +0 -1
- package/dist/components/p-2f76f321.js +0 -1
- package/dist/components/p-3269359a.js +0 -1
- package/dist/components/p-336ee68e.js +0 -1
- package/dist/components/p-44ff6df8.js +0 -1
- package/dist/components/p-4898e7aa.js +0 -1
- package/dist/components/p-63e66cce.js +0 -1
- package/dist/components/p-6a3cf3d7.js +0 -1
- package/dist/components/p-7216b018.js +0 -1
- package/dist/components/p-79aa9cf3.js +0 -1
- package/dist/components/p-7a223b44.js +0 -1
- package/dist/components/p-83458742.js +0 -1
- package/dist/components/p-8979a1dd.js +0 -1
- package/dist/components/p-8dd39312.js +0 -1
- package/dist/components/p-8fcb4dfa.js +0 -1
- package/dist/components/p-9240a389.js +0 -1
- package/dist/components/p-93249001.js +0 -1
- package/dist/components/p-9cd6282d.js +0 -1
- package/dist/components/p-bea05aab.js +0 -1
- package/dist/components/p-c872b7c8.js +0 -1
- package/dist/components/p-d4f5e756.js +0 -1
- package/dist/components/p-d910987e.js +0 -1
- package/dist/components/p-ef5c0d66.js +0 -1
- package/dist/components/p-f78db65e.js +0 -1
- package/dist/react-bindings/components.d.ts +0 -336
- package/dist/react-bindings/components.js +0 -1
- package/dist/react-bindings/components.js.map +0 -1
- package/dist/react-bindings/components.ts +0 -961
- package/format-date.unit.spec.js +0 -1
- package/utilities.unit.spec.js +0 -1
- /package/dist/components/{p-a836c3e1.js → i18next.js} +0 -0
- /package/dist/components/{p-a5dce9e6.js.LICENSE.txt → index2.js.LICENSE.txt} +0 -0
- /package/dist/components/{p-b276cef8.js → parsePhoneNumber_.js} +0 -0
- /package/dist/components/{p-ddb87324.js.LICENSE.txt → va-combo-box2.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as proxyCustomElement,H,d as createEvent,f as forceUpdate,h,F as Fragment,c as Host}from"./p-ef5c0d66.js";import{c as classnames}from"./p-a5dce9e6.js";import"./p-6a3cf3d7.js";import{c as debounce,u as updateScreenReaderCount,e as getMaxLength,f as getCharacterMessage,i as isMessageSet,g as getHeaderLevel}from"./p-44ff6df8.js";import{i as instance}from"./p-a836c3e1.js";const vaTextareaCss='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-textarea,.usa-hint,.usa-input{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-textarea,.usa-input{border-width:1px;border-color:#565c65;border-style:solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:0.5rem;max-width:30rem;padding:0.5rem;width:100%}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-input:disabled,.usa-input[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#454545}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:0;color:GrayText}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:2px solid GrayText}}.usa-input--error{border-width:0.25rem;border-color:#b50909;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-input--success{border-width:0.25rem;border-color:#00a91c;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:0;color:GrayText}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:2px solid GrayText}}.usa-textarea{height:10rem}.usa-character-count__status{display:inline-block;padding-top:0.25rem}.usa-character-count__status.usa-character-count__status--invalid{color:#b50909;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}h1 .usa-label,h2 .usa-label,h3 .usa-label,h4 .usa-label,h5 .usa-label,h6 .usa-label{font-family:inherit;font-size:inherit;font-weight:inherit}h1 .usa-label .usa-label--required,h2 .usa-label .usa-label--required,h3 .usa-label .usa-label--required,h4 .usa-label .usa-label--required,h5 .usa-label .usa-label--required,h6 .usa-label .usa-label--required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}:host{color:var(--vads-color-base);display:block;resize:both;font-family:var(--font-source-sans)}:host(:focus){outline:none !important}.usa-hint{display:block;font-weight:normal}textarea{-webkit-box-sizing:border-box;box-sizing:border-box}',VaTextareaStyle0=vaTextareaCss,VaTextarea$1=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.componentLibraryAnalytics=createEvent(this,"component-library-analytics",7),this.debouncedUpdateScreenReaderCount=debounce(updateScreenReaderCount,1e3),this.handleInput=e=>{const a=e.target;this.value=a.value,this.debouncedUpdateScreenReaderCount(this.charCountElement,this.value,getMaxLength(this.maxlength))},this.handleBlur=()=>{this.enableAnalytics&&this.value&&this.componentLibraryAnalytics.emit({componentName:"va-textarea",action:"blur",details:{label:this.label,value:this.value}})},this.label=void 0,this.error=void 0,this.placeholder=void 0,this.name=void 0,this.required=!1,this.hint=void 0,this.messageAriaDescribedby=void 0,this.maxlength=void 0,this.value=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.charcount=!1}connectedCallback(){instance.on("languageChanged",()=>{forceUpdate(this.el)})}disconnectedCallback(){instance.off("languageChanged")}componentDidRender(){this.charCountElement&&!this.charCountElement.innerText&&(this.charCountElement.innerText=getCharacterMessage(this.value,getMaxLength(this.maxlength)),setTimeout(()=>{this.charCountElement.setAttribute("aria-live","polite")},0))}render(){const{label:e,error:a,placeholder:t,name:r,required:s,value:i,hint:o,charcount:n,messageAriaDescribedby:l,useFormsPattern:d,formHeadingLevel:u,headerAriaDescribedby:c,formHeading:m}=this,b=getMaxLength(this.maxlength),f=`${a?"input-error-message":""} ${n&&b?"charcount-message":""} ${l?"input-message":""}`.trim()||null,p=`${d&&m?"form-question":""} ${d?"form-description":""} ${d&&e?"input-label":""}`.trim()||null,g=getHeaderLevel(this.labelHeaderLevel),v=c?"header-message":null,x=n&&(null==i?void 0:i.length)>b,y=classnames({"usa-label":!0,"usa-label--error":a}),w=classnames({"usa-textarea":!0,"usa-input--error":a}),k=classnames({"usa-hint":!0,"usa-character-count__status":n,"usa-character-count__status--invalid":n&&b&&(null==i?void 0:i.length)>b});let C=null;if("single"===d||"multiple"===d){const e=getHeaderLevel(u);C=h(Fragment,{key:"b362bafa0e2632da58a2538dd5b52a13e979da6d"},m&&h(e,{key:"dbd41a3e3b509a51925677a5b310a86f146e8c20",id:"form-question",part:"form-header"},m),h("div",{key:"70ef66b85b2b9fbe9a20562e66cf86bfa65e54d0",id:"form-description"},h("slot",{key:"dbad1687851beb94a5a295fab983ba54dd6be1a3",name:"form-description"})))}const T=h("label",{key:"bb54caa82dcfdfb77d3c7cc5832617df4ff95a32",htmlFor:"input-type-textarea",id:"input-label",class:y,part:"label"},e,"multiple"===d&&c?h("span",{id:"header-message",class:"usa-sr-only"},h("span",null,e),h("span",null,c)):"multiple"===d?h("span",{id:"header-message",class:"usa-sr-only"},e):c?h("span",{id:"header-message",class:"usa-sr-only"},c):null,s&&h("span",{key:"ea87afc1173b4e2b8e0d37f014b8450a8990a6e0",class:"usa-label--required"}," ",instance.t("required")),o&&h("div",{key:"7a1f89c0e450e868ca11a7056263d241df8166d0",class:"usa-hint"},o));return h(Host,{key:"69068fdacf2dd7bc9ba84f092ddb2e040c86f51a"},C,h("div",{key:"1e6527f2110785d3ae39197338a3b66da5891926",class:"input-wrap"},e&&g?h(g,{part:"header","aria-describedby":v},T):T,h("slot",{key:"86b2f848afdf3419948dd9af5a30171e17f3844a"}),h("span",{key:"d599993ea24ac07b21fb80e2ce97fa9ae700ba11",id:"input-error-message",role:"alert"},a&&h(Fragment,{key:"0cffc5ca7945dc049194a7cb01d50e02af2ca76b"},h("span",{key:"9c764fb507accd478701ec4432f65c49a570374b",class:"usa-sr-only"},instance.t("error")),h("span",{key:"ac36c8f8cf9440f4097c898887179614eef411f3",class:"usa-error-message"},a))),h("textarea",{key:"1a692c621394270187d00a9a517eadddb4b0dc68",class:w,"aria-describedby":f,"aria-invalid":a||x?"true":"false","aria-labelledby":p,onInput:this.handleInput,onBlur:this.handleBlur,id:"input-type-textarea",placeholder:t,name:r,maxLength:n?void 0:b,value:i,part:"input-type-textarea"}),!n&&b&&(null==i?void 0:i.length)>=b&&h("span",{key:"8b523d5a4289a20aa46ae0ca524bb0b806981fd8",class:k,"aria-live":"polite"},instance.t("max-chars",{length:b})),n&&b&&h(Fragment,{key:"bb32ecd7057f987b21ca193738e3f77257d8301c"},h("span",{key:"ef7fe167ae012610f4afc418ba3c8f768265b410","aria-hidden":"true",class:k},getCharacterMessage(this.value,getMaxLength(this.maxlength))),h("span",{key:"1e873a31965705ea31192a1e583705013dbddf9e",id:"charcount-message",class:"usa-sr-only",ref:e=>this.charCountElement=e})),isMessageSet(l)&&h("span",{key:"58684ff6beaf3573b67f6ac8a66128f8fe43687a",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},l)))}get el(){return this}static get style(){return VaTextareaStyle0}},[1,"va-textarea",{label:[1],error:[1],placeholder:[1],name:[1],required:[4],hint:[1],messageAriaDescribedby:[1,"message-aria-describedby"],maxlength:[2],value:[1537],enableAnalytics:[4,"enable-analytics"],labelHeaderLevel:[1,"label-header-level"],headerAriaDescribedby:[1,"header-aria-describedby"],useFormsPattern:[1,"use-forms-pattern"],formHeadingLevel:[2,"form-heading-level"],formHeading:[1,"form-heading"],charcount:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["va-textarea"].forEach(e=>{"va-textarea"===e&&(customElements.get(e)||customElements.define(e,VaTextarea$1))})}const VaTextarea=VaTextarea$1,defineCustomElement=defineCustomElement$1;export{VaTextarea,defineCustomElement};
|
|
1
|
+
import{Build,proxyCustomElement,HTMLElement,createEvent,forceUpdate,h,Fragment,Host}from"@stencil/core/internal/client";import{c as classnames}from"./index2.js";import"./contacts.js";import{e as debounce,u as updateScreenReaderCount,f as getMaxLength,h as getCharacterMessage,i as isMessageSet,g as getHeaderLevel}from"./utils.js";import{i as instance}from"./i18next.js";const vaTextareaCss='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-textarea,.usa-hint,.usa-input{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-textarea,.usa-input{border-width:1px;border-color:#565c65;border-style:solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:0.5rem;max-width:30rem;padding:0.5rem;width:100%}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-input:disabled,.usa-input[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#454545}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:0;color:GrayText}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:2px solid GrayText}}.usa-input--error{border-width:0.25rem;border-color:#b50909;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-input--success{border-width:0.25rem;border-color:#00a91c;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:0;color:GrayText}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:2px solid GrayText}}.usa-textarea{height:10rem}.usa-character-count__status{display:inline-block;padding-top:0.25rem}.usa-character-count__status.usa-character-count__status--invalid{color:#b50909;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}h1 .usa-label,h2 .usa-label,h3 .usa-label,h4 .usa-label,h5 .usa-label,h6 .usa-label{font-family:inherit;font-size:inherit;font-weight:inherit}h1 .usa-label .usa-label--required,h2 .usa-label .usa-label--required,h3 .usa-label .usa-label--required,h4 .usa-label .usa-label--required,h5 .usa-label .usa-label--required,h6 .usa-label .usa-label--required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}:host{color:var(--vads-color-base);display:block;resize:both;font-family:var(--font-source-sans)}:host(:focus){outline:none !important}.usa-hint{display:block;font-weight:normal}textarea{-webkit-box-sizing:border-box;box-sizing:border-box}',VaTextareaStyle0=vaTextareaCss;Build.isTesting&&instance.init({lng:"cimode"});const VaTextarea$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.componentLibraryAnalytics=createEvent(this,"component-library-analytics",7),this.debouncedUpdateScreenReaderCount=debounce(updateScreenReaderCount,1e3),this.handleInput=e=>{const a=e.target;this.value=a.value,this.debouncedUpdateScreenReaderCount(this.charCountElement,this.value,getMaxLength(this.maxlength))},this.handleBlur=()=>{this.enableAnalytics&&this.value&&this.componentLibraryAnalytics.emit({componentName:"va-textarea",action:"blur",details:{label:this.label,value:this.value}})},this.label=void 0,this.error=void 0,this.placeholder=void 0,this.name=void 0,this.required=!1,this.hint=void 0,this.messageAriaDescribedby=void 0,this.maxlength=void 0,this.value=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.charcount=!1}connectedCallback(){instance.on("languageChanged",()=>{forceUpdate(this.el)})}disconnectedCallback(){instance.off("languageChanged")}componentDidRender(){this.charCountElement&&!this.charCountElement.innerText&&(this.charCountElement.innerText=getCharacterMessage(this.value,getMaxLength(this.maxlength)),setTimeout(()=>{this.charCountElement.setAttribute("aria-live","polite")},0))}render(){const{label:e,error:a,placeholder:t,name:r,required:s,value:i,hint:o,charcount:n,messageAriaDescribedby:l,useFormsPattern:d,formHeadingLevel:u,headerAriaDescribedby:c,formHeading:m}=this,b=getMaxLength(this.maxlength),f=`${a?"input-error-message":""} ${n&&b?"charcount-message":""} ${l?"input-message":""}`.trim()||null,p=`${d&&m?"form-question":""} ${d?"form-description":""} ${d&&e?"input-label":""}`.trim()||null,g=getHeaderLevel(this.labelHeaderLevel),v=c?"header-message":null,x=n&&(null==i?void 0:i.length)>b,y=classnames({"usa-label":!0,"usa-label--error":a}),w=classnames({"usa-textarea":!0,"usa-input--error":a}),k=classnames({"usa-hint":!0,"usa-character-count__status":n,"usa-character-count__status--invalid":n&&b&&(null==i?void 0:i.length)>b});let T=null;if("single"===d||"multiple"===d){const e=getHeaderLevel(u);T=h(Fragment,{key:"b362bafa0e2632da58a2538dd5b52a13e979da6d"},m&&h(e,{key:"dbd41a3e3b509a51925677a5b310a86f146e8c20",id:"form-question",part:"form-header"},m),h("div",{key:"70ef66b85b2b9fbe9a20562e66cf86bfa65e54d0",id:"form-description"},h("slot",{key:"dbad1687851beb94a5a295fab983ba54dd6be1a3",name:"form-description"})))}const C=h("label",{key:"bb54caa82dcfdfb77d3c7cc5832617df4ff95a32",htmlFor:"input-type-textarea",id:"input-label",class:y,part:"label"},e,"multiple"===d&&c?h("span",{id:"header-message",class:"usa-sr-only"},h("span",null,e),h("span",null,c)):"multiple"===d?h("span",{id:"header-message",class:"usa-sr-only"},e):c?h("span",{id:"header-message",class:"usa-sr-only"},c):null,s&&h("span",{key:"ea87afc1173b4e2b8e0d37f014b8450a8990a6e0",class:"usa-label--required"}," ",instance.t("required")),o&&h("div",{key:"7a1f89c0e450e868ca11a7056263d241df8166d0",class:"usa-hint"},o));return h(Host,{key:"69068fdacf2dd7bc9ba84f092ddb2e040c86f51a"},T,h("div",{key:"1e6527f2110785d3ae39197338a3b66da5891926",class:"input-wrap"},e&&g?h(g,{part:"header","aria-describedby":v},C):C,h("slot",{key:"86b2f848afdf3419948dd9af5a30171e17f3844a"}),h("span",{key:"d599993ea24ac07b21fb80e2ce97fa9ae700ba11",id:"input-error-message",role:"alert"},a&&h(Fragment,{key:"0cffc5ca7945dc049194a7cb01d50e02af2ca76b"},h("span",{key:"9c764fb507accd478701ec4432f65c49a570374b",class:"usa-sr-only"},instance.t("error")),h("span",{key:"ac36c8f8cf9440f4097c898887179614eef411f3",class:"usa-error-message"},a))),h("textarea",{key:"1a692c621394270187d00a9a517eadddb4b0dc68",class:w,"aria-describedby":f,"aria-invalid":a||x?"true":"false","aria-labelledby":p,onInput:this.handleInput,onBlur:this.handleBlur,id:"input-type-textarea",placeholder:t,name:r,maxLength:n?void 0:b,value:i,part:"input-type-textarea"}),!n&&b&&(null==i?void 0:i.length)>=b&&h("span",{key:"8b523d5a4289a20aa46ae0ca524bb0b806981fd8",class:k,"aria-live":"polite"},instance.t("max-chars",{length:b})),n&&b&&h(Fragment,{key:"bb32ecd7057f987b21ca193738e3f77257d8301c"},h("span",{key:"ef7fe167ae012610f4afc418ba3c8f768265b410","aria-hidden":"true",class:k},getCharacterMessage(this.value,getMaxLength(this.maxlength))),h("span",{key:"1e873a31965705ea31192a1e583705013dbddf9e",id:"charcount-message",class:"usa-sr-only",ref:e=>this.charCountElement=e})),isMessageSet(l)&&h("span",{key:"58684ff6beaf3573b67f6ac8a66128f8fe43687a",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},l)))}get el(){return this}static get style(){return VaTextareaStyle0}},[1,"va-textarea",{label:[1],error:[1],placeholder:[1],name:[1],required:[4],hint:[1],messageAriaDescribedby:[1,"message-aria-describedby"],maxlength:[2],value:[1537],enableAnalytics:[4,"enable-analytics"],labelHeaderLevel:[1,"label-header-level"],headerAriaDescribedby:[1,"header-aria-describedby"],useFormsPattern:[1,"use-forms-pattern"],formHeadingLevel:[2,"form-heading-level"],formHeading:[1,"form-heading"],charcount:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["va-textarea"].forEach(e=>{"va-textarea"===e&&(customElements.get(e)||customElements.define(e,VaTextarea$1))})}const VaTextarea=VaTextarea$1,defineCustomElement=defineCustomElement$1;export{VaTextarea,defineCustomElement};
|
|
@@ -1,6 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
1
|
+
import type { JSX } from '@department-of-veterans-affairs/web-components/dist/types';
|
|
2
|
+
export declare const VaAccordion: import("react").ForwardRefExoticComponent<JSX.VaAccordion & Omit<import("react").HTMLAttributes<HTMLVaAccordionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAccordionElement>>;
|
|
3
|
+
export declare const VaAccordionItem: import("react").ForwardRefExoticComponent<JSX.VaAccordionItem & Omit<import("react").HTMLAttributes<HTMLVaAccordionItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAccordionItemElement>>;
|
|
4
|
+
export declare const VaAdditionalInfo: import("react").ForwardRefExoticComponent<JSX.VaAdditionalInfo & Omit<import("react").HTMLAttributes<HTMLVaAdditionalInfoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAdditionalInfoElement>>;
|
|
5
|
+
export declare const VaAlert: import("react").ForwardRefExoticComponent<JSX.VaAlert & Omit<import("react").HTMLAttributes<HTMLVaAlertElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAlertElement>>;
|
|
6
|
+
export declare const VaAlertExpandable: import("react").ForwardRefExoticComponent<JSX.VaAlertExpandable & Omit<import("react").HTMLAttributes<HTMLVaAlertExpandableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAlertExpandableElement>>;
|
|
7
|
+
export declare const VaAlertSignIn: import("react").ForwardRefExoticComponent<JSX.VaAlertSignIn & Omit<import("react").HTMLAttributes<HTMLVaAlertSignInElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAlertSignInElement>>;
|
|
8
|
+
export declare const VaBackToTop: import("react").ForwardRefExoticComponent<JSX.VaBackToTop & Omit<import("react").HTMLAttributes<HTMLVaBackToTopElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaBackToTopElement>>;
|
|
9
|
+
export declare const VaBanner: import("react").ForwardRefExoticComponent<JSX.VaBanner & Omit<import("react").HTMLAttributes<HTMLVaBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaBannerElement>>;
|
|
10
|
+
export declare const VaBreadcrumbs: import("react").ForwardRefExoticComponent<JSX.VaBreadcrumbs & Omit<import("react").HTMLAttributes<HTMLVaBreadcrumbsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaBreadcrumbsElement>>;
|
|
11
|
+
export declare const VaButton: import("react").ForwardRefExoticComponent<JSX.VaButton & Omit<import("react").HTMLAttributes<HTMLVaButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonElement>>;
|
|
12
|
+
export declare const VaButtonIcon: import("react").ForwardRefExoticComponent<JSX.VaButtonIcon & Omit<import("react").HTMLAttributes<HTMLVaButtonIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonIconElement>>;
|
|
13
|
+
export declare const VaButtonPair: import("react").ForwardRefExoticComponent<JSX.VaButtonPair & Omit<import("react").HTMLAttributes<HTMLVaButtonPairElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonPairElement>>;
|
|
14
|
+
export declare const VaButtonSegmented: import("react").ForwardRefExoticComponent<JSX.VaButtonSegmented & Omit<import("react").HTMLAttributes<HTMLVaButtonSegmentedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonSegmentedElement>>;
|
|
15
|
+
export declare const VaCard: import("react").ForwardRefExoticComponent<JSX.VaCard & Omit<import("react").HTMLAttributes<HTMLVaCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCardElement>>;
|
|
16
|
+
export declare const VaCheckbox: import("react").ForwardRefExoticComponent<JSX.VaCheckbox & Omit<import("react").HTMLAttributes<HTMLVaCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCheckboxElement>>;
|
|
17
|
+
export declare const VaCheckboxGroup: import("react").ForwardRefExoticComponent<JSX.VaCheckboxGroup & Omit<import("react").HTMLAttributes<HTMLVaCheckboxGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCheckboxGroupElement>>;
|
|
18
|
+
export declare const VaComboBox: import("react").ForwardRefExoticComponent<JSX.VaComboBox & Omit<import("react").HTMLAttributes<HTMLVaComboBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaComboBoxElement>>;
|
|
19
|
+
export declare const VaCrisisLineModal: import("react").ForwardRefExoticComponent<JSX.VaCrisisLineModal & Omit<import("react").HTMLAttributes<HTMLVaCrisisLineModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCrisisLineModalElement>>;
|
|
20
|
+
export declare const VaCriticalAction: import("react").ForwardRefExoticComponent<JSX.VaCriticalAction & Omit<import("react").HTMLAttributes<HTMLVaCriticalActionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCriticalActionElement>>;
|
|
21
|
+
export declare const VaDate: import("react").ForwardRefExoticComponent<JSX.VaDate & Omit<import("react").HTMLAttributes<HTMLVaDateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaDateElement>>;
|
|
22
|
+
export declare const VaFileInput: import("react").ForwardRefExoticComponent<JSX.VaFileInput & Omit<import("react").HTMLAttributes<HTMLVaFileInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaFileInputElement>>;
|
|
23
|
+
export declare const VaFileInputMultiple: import("react").ForwardRefExoticComponent<JSX.VaFileInputMultiple & Omit<import("react").HTMLAttributes<HTMLVaFileInputMultipleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaFileInputMultipleElement>>;
|
|
24
|
+
export declare const VaHeaderMinimal: import("react").ForwardRefExoticComponent<JSX.VaHeaderMinimal & Omit<import("react").HTMLAttributes<HTMLVaHeaderMinimalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaHeaderMinimalElement>>;
|
|
25
|
+
export declare const VaIcon: import("react").ForwardRefExoticComponent<JSX.VaIcon & Omit<import("react").HTMLAttributes<HTMLVaIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaIconElement>>;
|
|
26
|
+
export declare const VaLanguageToggle: import("react").ForwardRefExoticComponent<JSX.VaLanguageToggle & Omit<import("react").HTMLAttributes<HTMLVaLanguageToggleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLanguageToggleElement>>;
|
|
27
|
+
export declare const VaLink: import("react").ForwardRefExoticComponent<JSX.VaLink & Omit<import("react").HTMLAttributes<HTMLVaLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLinkElement>>;
|
|
28
|
+
export declare const VaLinkAction: import("react").ForwardRefExoticComponent<JSX.VaLinkAction & Omit<import("react").HTMLAttributes<HTMLVaLinkActionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLinkActionElement>>;
|
|
29
|
+
export declare const VaLoadingIndicator: import("react").ForwardRefExoticComponent<JSX.VaLoadingIndicator & Omit<import("react").HTMLAttributes<HTMLVaLoadingIndicatorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLoadingIndicatorElement>>;
|
|
30
|
+
export declare const VaMaintenanceBanner: import("react").ForwardRefExoticComponent<JSX.VaMaintenanceBanner & Omit<import("react").HTMLAttributes<HTMLVaMaintenanceBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaMaintenanceBannerElement>>;
|
|
31
|
+
export declare const VaMemorableDate: import("react").ForwardRefExoticComponent<JSX.VaMemorableDate & Omit<import("react").HTMLAttributes<HTMLVaMemorableDateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaMemorableDateElement>>;
|
|
32
|
+
export declare const VaMinimalFooter: import("react").ForwardRefExoticComponent<JSX.VaMinimalFooter & Omit<import("react").HTMLAttributes<HTMLVaMinimalFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaMinimalFooterElement>>;
|
|
33
|
+
export declare const VaModal: import("react").ForwardRefExoticComponent<JSX.VaModal & Omit<import("react").HTMLAttributes<HTMLVaModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaModalElement>>;
|
|
34
|
+
export declare const VaNeedHelp: import("react").ForwardRefExoticComponent<JSX.VaNeedHelp & Omit<import("react").HTMLAttributes<HTMLVaNeedHelpElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaNeedHelpElement>>;
|
|
35
|
+
export declare const VaNotification: import("react").ForwardRefExoticComponent<JSX.VaNotification & Omit<import("react").HTMLAttributes<HTMLVaNotificationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaNotificationElement>>;
|
|
36
|
+
export declare const VaOfficialGovBanner: import("react").ForwardRefExoticComponent<JSX.VaOfficialGovBanner & Omit<import("react").HTMLAttributes<HTMLVaOfficialGovBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaOfficialGovBannerElement>>;
|
|
37
|
+
export declare const VaOmbInfo: import("react").ForwardRefExoticComponent<JSX.VaOmbInfo & Omit<import("react").HTMLAttributes<HTMLVaOmbInfoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaOmbInfoElement>>;
|
|
38
|
+
export declare const VaOnThisPage: import("react").ForwardRefExoticComponent<JSX.VaOnThisPage & Omit<import("react").HTMLAttributes<HTMLVaOnThisPageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaOnThisPageElement>>;
|
|
39
|
+
export declare const VaPagination: import("react").ForwardRefExoticComponent<JSX.VaPagination & Omit<import("react").HTMLAttributes<HTMLVaPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaPaginationElement>>;
|
|
40
|
+
export declare const VaPrivacyAgreement: import("react").ForwardRefExoticComponent<JSX.VaPrivacyAgreement & Omit<import("react").HTMLAttributes<HTMLVaPrivacyAgreementElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaPrivacyAgreementElement>>;
|
|
41
|
+
export declare const VaProcessList: import("react").ForwardRefExoticComponent<JSX.VaProcessList & Omit<import("react").HTMLAttributes<HTMLVaProcessListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaProcessListElement>>;
|
|
42
|
+
export declare const VaProcessListItem: import("react").ForwardRefExoticComponent<JSX.VaProcessListItem & Omit<import("react").HTMLAttributes<HTMLVaProcessListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaProcessListItemElement>>;
|
|
43
|
+
export declare const VaProgressBar: import("react").ForwardRefExoticComponent<JSX.VaProgressBar & Omit<import("react").HTMLAttributes<HTMLVaProgressBarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaProgressBarElement>>;
|
|
44
|
+
export declare const VaPromoBanner: import("react").ForwardRefExoticComponent<JSX.VaPromoBanner & Omit<import("react").HTMLAttributes<HTMLVaPromoBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaPromoBannerElement>>;
|
|
45
|
+
export declare const VaRadio: import("react").ForwardRefExoticComponent<JSX.VaRadio & Omit<import("react").HTMLAttributes<HTMLVaRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaRadioElement>>;
|
|
46
|
+
export declare const VaRadioOption: import("react").ForwardRefExoticComponent<JSX.VaRadioOption & Omit<import("react").HTMLAttributes<HTMLVaRadioOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaRadioOptionElement>>;
|
|
47
|
+
export declare const VaSearchFilter: import("react").ForwardRefExoticComponent<JSX.VaSearchFilter & Omit<import("react").HTMLAttributes<HTMLVaSearchFilterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSearchFilterElement>>;
|
|
48
|
+
export declare const VaSearchInput: import("react").ForwardRefExoticComponent<JSX.VaSearchInput & Omit<import("react").HTMLAttributes<HTMLVaSearchInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSearchInputElement>>;
|
|
49
|
+
export declare const VaSegmentedProgressBar: import("react").ForwardRefExoticComponent<JSX.VaSegmentedProgressBar & Omit<import("react").HTMLAttributes<HTMLVaSegmentedProgressBarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSegmentedProgressBarElement>>;
|
|
50
|
+
export declare const VaSelect: import("react").ForwardRefExoticComponent<JSX.VaSelect & Omit<import("react").HTMLAttributes<HTMLVaSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSelectElement>>;
|
|
51
|
+
export declare const VaServiceListItem: import("react").ForwardRefExoticComponent<JSX.VaServiceListItem & Omit<import("react").HTMLAttributes<HTMLVaServiceListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaServiceListItemElement>>;
|
|
52
|
+
export declare const VaSidenav: import("react").ForwardRefExoticComponent<JSX.VaSidenav & Omit<import("react").HTMLAttributes<HTMLVaSidenavElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSidenavElement>>;
|
|
53
|
+
export declare const VaSidenavItem: import("react").ForwardRefExoticComponent<JSX.VaSidenavItem & Omit<import("react").HTMLAttributes<HTMLVaSidenavItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSidenavItemElement>>;
|
|
54
|
+
export declare const VaSidenavSubmenu: import("react").ForwardRefExoticComponent<JSX.VaSidenavSubmenu & Omit<import("react").HTMLAttributes<HTMLVaSidenavSubmenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSidenavSubmenuElement>>;
|
|
55
|
+
export declare const VaStatementOfTruth: import("react").ForwardRefExoticComponent<JSX.VaStatementOfTruth & Omit<import("react").HTMLAttributes<HTMLVaStatementOfTruthElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaStatementOfTruthElement>>;
|
|
56
|
+
export declare const VaSummaryBox: import("react").ForwardRefExoticComponent<JSX.VaSummaryBox & Omit<import("react").HTMLAttributes<HTMLVaSummaryBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSummaryBoxElement>>;
|
|
57
|
+
export declare const VaTabItem: import("react").ForwardRefExoticComponent<JSX.VaTabItem & Omit<import("react").HTMLAttributes<HTMLVaTabItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTabItemElement>>;
|
|
58
|
+
export declare const VaTabPanel: import("react").ForwardRefExoticComponent<JSX.VaTabPanel & Omit<import("react").HTMLAttributes<HTMLVaTabPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTabPanelElement>>;
|
|
59
|
+
export declare const VaTable: import("react").ForwardRefExoticComponent<JSX.VaTable & Omit<import("react").HTMLAttributes<HTMLVaTableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTableElement>>;
|
|
60
|
+
export declare const VaTableInner: import("react").ForwardRefExoticComponent<JSX.VaTableInner & Omit<import("react").HTMLAttributes<HTMLVaTableInnerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTableInnerElement>>;
|
|
61
|
+
export declare const VaTableRow: import("react").ForwardRefExoticComponent<JSX.VaTableRow & Omit<import("react").HTMLAttributes<HTMLVaTableRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTableRowElement>>;
|
|
62
|
+
export declare const VaTabs: import("react").ForwardRefExoticComponent<JSX.VaTabs & Omit<import("react").HTMLAttributes<HTMLVaTabsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTabsElement>>;
|
|
63
|
+
export declare const VaTagStatus: import("react").ForwardRefExoticComponent<JSX.VaTagStatus & Omit<import("react").HTMLAttributes<HTMLVaTagStatusElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTagStatusElement>>;
|
|
64
|
+
export declare const VaTelephone: import("react").ForwardRefExoticComponent<JSX.VaTelephone & Omit<import("react").HTMLAttributes<HTMLVaTelephoneElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTelephoneElement>>;
|
|
65
|
+
export declare const VaTelephoneInput: import("react").ForwardRefExoticComponent<JSX.VaTelephoneInput & Omit<import("react").HTMLAttributes<HTMLVaTelephoneInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTelephoneInputElement>>;
|
|
66
|
+
export declare const VaTextInput: import("react").ForwardRefExoticComponent<JSX.VaTextInput & Omit<import("react").HTMLAttributes<HTMLVaTextInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTextInputElement>>;
|
|
67
|
+
export declare const VaTextarea: import("react").ForwardRefExoticComponent<JSX.VaTextarea & Omit<import("react").HTMLAttributes<HTMLVaTextareaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTextareaElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VaServiceListItem=exports.VaSelect=exports.VaSegmentedProgressBar=exports.VaSearchInput=exports.VaSearchFilter=exports.VaRadioOption=exports.VaRadio=exports.VaPromoBanner=exports.VaProgressBar=exports.VaProcessListItem=exports.VaProcessList=exports.VaPrivacyAgreement=exports.VaPagination=exports.VaOnThisPage=exports.VaOmbInfo=exports.VaOfficialGovBanner=exports.VaNotification=exports.VaNeedHelp=exports.VaModal=exports.VaMinimalFooter=exports.VaMemorableDate=exports.VaMaintenanceBanner=exports.VaLoadingIndicator=exports.VaLinkAction=exports.VaLink=exports.VaLanguageToggle=exports.VaIcon=exports.VaHeaderMinimal=exports.VaFileInputMultiple=exports.VaFileInput=exports.VaDate=exports.VaCriticalAction=exports.VaCrisisLineModal=exports.VaComboBox=exports.VaCheckboxGroup=exports.VaCheckbox=exports.VaCard=exports.VaButtonSegmented=exports.VaButtonPair=exports.VaButtonIcon=exports.VaButton=exports.VaBreadcrumbs=exports.VaBanner=exports.VaBackToTop=exports.VaAlertSignIn=exports.VaAlertExpandable=exports.VaAlert=exports.VaAdditionalInfo=exports.VaAccordionItem=exports.VaAccordion=void 0,exports.VaTextarea=exports.VaTextInput=exports.VaTelephoneInput=exports.VaTelephone=exports.VaTagStatus=exports.VaTabs=exports.VaTableRow=exports.VaTableInner=exports.VaTable=exports.VaTabPanel=exports.VaTabItem=exports.VaSummaryBox=exports.VaStatementOfTruth=exports.VaSidenavSubmenu=exports.VaSidenavItem=exports.VaSidenav=void 0;var react_component_lib_1=require("./react-component-lib");exports.VaAccordion=(0,react_component_lib_1.createReactComponent)("va-accordion"),exports.VaAccordionItem=(0,react_component_lib_1.createReactComponent)("va-accordion-item"),exports.VaAdditionalInfo=(0,react_component_lib_1.createReactComponent)("va-additional-info"),exports.VaAlert=(0,react_component_lib_1.createReactComponent)("va-alert"),exports.VaAlertExpandable=(0,react_component_lib_1.createReactComponent)("va-alert-expandable"),exports.VaAlertSignIn=(0,react_component_lib_1.createReactComponent)("va-alert-sign-in"),exports.VaBackToTop=(0,react_component_lib_1.createReactComponent)("va-back-to-top"),exports.VaBanner=(0,react_component_lib_1.createReactComponent)("va-banner"),exports.VaBreadcrumbs=(0,react_component_lib_1.createReactComponent)("va-breadcrumbs"),exports.VaButton=(0,react_component_lib_1.createReactComponent)("va-button"),exports.VaButtonIcon=(0,react_component_lib_1.createReactComponent)("va-button-icon"),exports.VaButtonPair=(0,react_component_lib_1.createReactComponent)("va-button-pair"),exports.VaButtonSegmented=(0,react_component_lib_1.createReactComponent)("va-button-segmented"),exports.VaCard=(0,react_component_lib_1.createReactComponent)("va-card"),exports.VaCheckbox=(0,react_component_lib_1.createReactComponent)("va-checkbox"),exports.VaCheckboxGroup=(0,react_component_lib_1.createReactComponent)("va-checkbox-group"),exports.VaComboBox=(0,react_component_lib_1.createReactComponent)("va-combo-box"),exports.VaCrisisLineModal=(0,react_component_lib_1.createReactComponent)("va-crisis-line-modal"),exports.VaCriticalAction=(0,react_component_lib_1.createReactComponent)("va-critical-action"),exports.VaDate=(0,react_component_lib_1.createReactComponent)("va-date"),exports.VaFileInput=(0,react_component_lib_1.createReactComponent)("va-file-input"),exports.VaFileInputMultiple=(0,react_component_lib_1.createReactComponent)("va-file-input-multiple"),exports.VaHeaderMinimal=(0,react_component_lib_1.createReactComponent)("va-header-minimal"),exports.VaIcon=(0,react_component_lib_1.createReactComponent)("va-icon"),exports.VaLanguageToggle=(0,react_component_lib_1.createReactComponent)("va-language-toggle"),exports.VaLink=(0,react_component_lib_1.createReactComponent)("va-link"),exports.VaLinkAction=(0,react_component_lib_1.createReactComponent)("va-link-action"),exports.VaLoadingIndicator=(0,react_component_lib_1.createReactComponent)("va-loading-indicator"),exports.VaMaintenanceBanner=(0,react_component_lib_1.createReactComponent)("va-maintenance-banner"),exports.VaMemorableDate=(0,react_component_lib_1.createReactComponent)("va-memorable-date"),exports.VaMinimalFooter=(0,react_component_lib_1.createReactComponent)("va-minimal-footer"),exports.VaModal=(0,react_component_lib_1.createReactComponent)("va-modal"),exports.VaNeedHelp=(0,react_component_lib_1.createReactComponent)("va-need-help"),exports.VaNotification=(0,react_component_lib_1.createReactComponent)("va-notification"),exports.VaOfficialGovBanner=(0,react_component_lib_1.createReactComponent)("va-official-gov-banner"),exports.VaOmbInfo=(0,react_component_lib_1.createReactComponent)("va-omb-info"),exports.VaOnThisPage=(0,react_component_lib_1.createReactComponent)("va-on-this-page"),exports.VaPagination=(0,react_component_lib_1.createReactComponent)("va-pagination"),exports.VaPrivacyAgreement=(0,react_component_lib_1.createReactComponent)("va-privacy-agreement"),exports.VaProcessList=(0,react_component_lib_1.createReactComponent)("va-process-list"),exports.VaProcessListItem=(0,react_component_lib_1.createReactComponent)("va-process-list-item"),exports.VaProgressBar=(0,react_component_lib_1.createReactComponent)("va-progress-bar"),exports.VaPromoBanner=(0,react_component_lib_1.createReactComponent)("va-promo-banner"),exports.VaRadio=(0,react_component_lib_1.createReactComponent)("va-radio"),exports.VaRadioOption=(0,react_component_lib_1.createReactComponent)("va-radio-option"),exports.VaSearchFilter=(0,react_component_lib_1.createReactComponent)("va-search-filter"),exports.VaSearchInput=(0,react_component_lib_1.createReactComponent)("va-search-input"),exports.VaSegmentedProgressBar=(0,react_component_lib_1.createReactComponent)("va-segmented-progress-bar"),exports.VaSelect=(0,react_component_lib_1.createReactComponent)("va-select"),exports.VaServiceListItem=(0,react_component_lib_1.createReactComponent)("va-service-list-item"),exports.VaSidenav=(0,react_component_lib_1.createReactComponent)("va-sidenav"),exports.VaSidenavItem=(0,react_component_lib_1.createReactComponent)("va-sidenav-item"),exports.VaSidenavSubmenu=(0,react_component_lib_1.createReactComponent)("va-sidenav-submenu"),exports.VaStatementOfTruth=(0,react_component_lib_1.createReactComponent)("va-statement-of-truth"),exports.VaSummaryBox=(0,react_component_lib_1.createReactComponent)("va-summary-box"),exports.VaTabItem=(0,react_component_lib_1.createReactComponent)("va-tab-item"),exports.VaTabPanel=(0,react_component_lib_1.createReactComponent)("va-tab-panel"),exports.VaTable=(0,react_component_lib_1.createReactComponent)("va-table"),exports.VaTableInner=(0,react_component_lib_1.createReactComponent)("va-table-inner"),exports.VaTableRow=(0,react_component_lib_1.createReactComponent)("va-table-row"),exports.VaTabs=(0,react_component_lib_1.createReactComponent)("va-tabs"),exports.VaTagStatus=(0,react_component_lib_1.createReactComponent)("va-tag-status"),exports.VaTelephone=(0,react_component_lib_1.createReactComponent)("va-telephone"),exports.VaTelephoneInput=(0,react_component_lib_1.createReactComponent)("va-telephone-input"),exports.VaTextInput=(0,react_component_lib_1.createReactComponent)("va-text-input"),exports.VaTextarea=(0,react_component_lib_1.createReactComponent)("va-textarea");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,6DAA6D;AAMhD,QAAA,WAAW,GAAgB,IAAA,0CAAoB,EAA0C,cAAc,CAAC,CAAC;AACzG,QAAA,eAAe,GAAgB,IAAA,0CAAoB,EAAkD,mBAAmB,CAAC,CAAC;AAC1H,QAAA,gBA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cAAc,CAAC,CAAC;AACtG,QAAA,OAAO,GAAgB,IAAA,0CAAoB,EAAkC,UAAU,CAAC,CAAC;AACzF,QAAA,YAAY,GAAgB,IAAA,0CAAoB,EAA4C,gBAAgB,CAAC,CAAC;AAC9G,QAAA,UAAU,GAAgB,IAAA,0CAAoB,EAAwC,cAAc,CAAC,CAAC;AACtG,QAAA,MAAM,GAAgB,IAAA,0CAAoB,EAAgC,SAAS,CAAC,CAAC;AACrF,QAAA,WAAW,GAAgB,IAAA,0CAAoB,EAA0C,eAAe,CAAC,CAAC;AAC1G,QAAA,WAAW,GAAgB,IAAA,0CAAoB,EAA0C,cAAc,CAAC,CAAC;AACzG,QAAA,gBAAgB,GAAgB,IAAA,0CAAoB,EAAoD,oBAAoB,CAAC,CAAC;AAC9H,QAAA,WAAW,GAAgB,IAAA,0CAAoB,EAA0C,eAAe,CAAC,CAAC;AAC1G,QAAA,UAAU,GAAgB,IAAA,0CAAoB,EAAwC,aAAa,CAAC,CAAC"}
|
|
@@ -1,6 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* auto-generated react proxies */
|
|
4
|
+
import { createReactComponent } from './react-component-lib';
|
|
5
|
+
|
|
6
|
+
import type { JSX } from '@department-of-veterans-affairs/web-components/dist/types';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export const VaAccordion = /*@__PURE__*/createReactComponent<JSX.VaAccordion, HTMLVaAccordionElement>('va-accordion');
|
|
11
|
+
export const VaAccordionItem = /*@__PURE__*/createReactComponent<JSX.VaAccordionItem, HTMLVaAccordionItemElement>('va-accordion-item');
|
|
12
|
+
export const VaAdditionalInfo = /*@__PURE__*/createReactComponent<JSX.VaAdditionalInfo, HTMLVaAdditionalInfoElement>('va-additional-info');
|
|
13
|
+
export const VaAlert = /*@__PURE__*/createReactComponent<JSX.VaAlert, HTMLVaAlertElement>('va-alert');
|
|
14
|
+
export const VaAlertExpandable = /*@__PURE__*/createReactComponent<JSX.VaAlertExpandable, HTMLVaAlertExpandableElement>('va-alert-expandable');
|
|
15
|
+
export const VaAlertSignIn = /*@__PURE__*/createReactComponent<JSX.VaAlertSignIn, HTMLVaAlertSignInElement>('va-alert-sign-in');
|
|
16
|
+
export const VaBackToTop = /*@__PURE__*/createReactComponent<JSX.VaBackToTop, HTMLVaBackToTopElement>('va-back-to-top');
|
|
17
|
+
export const VaBanner = /*@__PURE__*/createReactComponent<JSX.VaBanner, HTMLVaBannerElement>('va-banner');
|
|
18
|
+
export const VaBreadcrumbs = /*@__PURE__*/createReactComponent<JSX.VaBreadcrumbs, HTMLVaBreadcrumbsElement>('va-breadcrumbs');
|
|
19
|
+
export const VaButton = /*@__PURE__*/createReactComponent<JSX.VaButton, HTMLVaButtonElement>('va-button');
|
|
20
|
+
export const VaButtonIcon = /*@__PURE__*/createReactComponent<JSX.VaButtonIcon, HTMLVaButtonIconElement>('va-button-icon');
|
|
21
|
+
export const VaButtonPair = /*@__PURE__*/createReactComponent<JSX.VaButtonPair, HTMLVaButtonPairElement>('va-button-pair');
|
|
22
|
+
export const VaButtonSegmented = /*@__PURE__*/createReactComponent<JSX.VaButtonSegmented, HTMLVaButtonSegmentedElement>('va-button-segmented');
|
|
23
|
+
export const VaCard = /*@__PURE__*/createReactComponent<JSX.VaCard, HTMLVaCardElement>('va-card');
|
|
24
|
+
export const VaCheckbox = /*@__PURE__*/createReactComponent<JSX.VaCheckbox, HTMLVaCheckboxElement>('va-checkbox');
|
|
25
|
+
export const VaCheckboxGroup = /*@__PURE__*/createReactComponent<JSX.VaCheckboxGroup, HTMLVaCheckboxGroupElement>('va-checkbox-group');
|
|
26
|
+
export const VaComboBox = /*@__PURE__*/createReactComponent<JSX.VaComboBox, HTMLVaComboBoxElement>('va-combo-box');
|
|
27
|
+
export const VaCrisisLineModal = /*@__PURE__*/createReactComponent<JSX.VaCrisisLineModal, HTMLVaCrisisLineModalElement>('va-crisis-line-modal');
|
|
28
|
+
export const VaCriticalAction = /*@__PURE__*/createReactComponent<JSX.VaCriticalAction, HTMLVaCriticalActionElement>('va-critical-action');
|
|
29
|
+
export const VaDate = /*@__PURE__*/createReactComponent<JSX.VaDate, HTMLVaDateElement>('va-date');
|
|
30
|
+
export const VaFileInput = /*@__PURE__*/createReactComponent<JSX.VaFileInput, HTMLVaFileInputElement>('va-file-input');
|
|
31
|
+
export const VaFileInputMultiple = /*@__PURE__*/createReactComponent<JSX.VaFileInputMultiple, HTMLVaFileInputMultipleElement>('va-file-input-multiple');
|
|
32
|
+
export const VaHeaderMinimal = /*@__PURE__*/createReactComponent<JSX.VaHeaderMinimal, HTMLVaHeaderMinimalElement>('va-header-minimal');
|
|
33
|
+
export const VaIcon = /*@__PURE__*/createReactComponent<JSX.VaIcon, HTMLVaIconElement>('va-icon');
|
|
34
|
+
export const VaLanguageToggle = /*@__PURE__*/createReactComponent<JSX.VaLanguageToggle, HTMLVaLanguageToggleElement>('va-language-toggle');
|
|
35
|
+
export const VaLink = /*@__PURE__*/createReactComponent<JSX.VaLink, HTMLVaLinkElement>('va-link');
|
|
36
|
+
export const VaLinkAction = /*@__PURE__*/createReactComponent<JSX.VaLinkAction, HTMLVaLinkActionElement>('va-link-action');
|
|
37
|
+
export const VaLoadingIndicator = /*@__PURE__*/createReactComponent<JSX.VaLoadingIndicator, HTMLVaLoadingIndicatorElement>('va-loading-indicator');
|
|
38
|
+
export const VaMaintenanceBanner = /*@__PURE__*/createReactComponent<JSX.VaMaintenanceBanner, HTMLVaMaintenanceBannerElement>('va-maintenance-banner');
|
|
39
|
+
export const VaMemorableDate = /*@__PURE__*/createReactComponent<JSX.VaMemorableDate, HTMLVaMemorableDateElement>('va-memorable-date');
|
|
40
|
+
export const VaMinimalFooter = /*@__PURE__*/createReactComponent<JSX.VaMinimalFooter, HTMLVaMinimalFooterElement>('va-minimal-footer');
|
|
41
|
+
export const VaModal = /*@__PURE__*/createReactComponent<JSX.VaModal, HTMLVaModalElement>('va-modal');
|
|
42
|
+
export const VaNeedHelp = /*@__PURE__*/createReactComponent<JSX.VaNeedHelp, HTMLVaNeedHelpElement>('va-need-help');
|
|
43
|
+
export const VaNotification = /*@__PURE__*/createReactComponent<JSX.VaNotification, HTMLVaNotificationElement>('va-notification');
|
|
44
|
+
export const VaOfficialGovBanner = /*@__PURE__*/createReactComponent<JSX.VaOfficialGovBanner, HTMLVaOfficialGovBannerElement>('va-official-gov-banner');
|
|
45
|
+
export const VaOmbInfo = /*@__PURE__*/createReactComponent<JSX.VaOmbInfo, HTMLVaOmbInfoElement>('va-omb-info');
|
|
46
|
+
export const VaOnThisPage = /*@__PURE__*/createReactComponent<JSX.VaOnThisPage, HTMLVaOnThisPageElement>('va-on-this-page');
|
|
47
|
+
export const VaPagination = /*@__PURE__*/createReactComponent<JSX.VaPagination, HTMLVaPaginationElement>('va-pagination');
|
|
48
|
+
export const VaPrivacyAgreement = /*@__PURE__*/createReactComponent<JSX.VaPrivacyAgreement, HTMLVaPrivacyAgreementElement>('va-privacy-agreement');
|
|
49
|
+
export const VaProcessList = /*@__PURE__*/createReactComponent<JSX.VaProcessList, HTMLVaProcessListElement>('va-process-list');
|
|
50
|
+
export const VaProcessListItem = /*@__PURE__*/createReactComponent<JSX.VaProcessListItem, HTMLVaProcessListItemElement>('va-process-list-item');
|
|
51
|
+
export const VaProgressBar = /*@__PURE__*/createReactComponent<JSX.VaProgressBar, HTMLVaProgressBarElement>('va-progress-bar');
|
|
52
|
+
export const VaPromoBanner = /*@__PURE__*/createReactComponent<JSX.VaPromoBanner, HTMLVaPromoBannerElement>('va-promo-banner');
|
|
53
|
+
export const VaRadio = /*@__PURE__*/createReactComponent<JSX.VaRadio, HTMLVaRadioElement>('va-radio');
|
|
54
|
+
export const VaRadioOption = /*@__PURE__*/createReactComponent<JSX.VaRadioOption, HTMLVaRadioOptionElement>('va-radio-option');
|
|
55
|
+
export const VaSearchFilter = /*@__PURE__*/createReactComponent<JSX.VaSearchFilter, HTMLVaSearchFilterElement>('va-search-filter');
|
|
56
|
+
export const VaSearchInput = /*@__PURE__*/createReactComponent<JSX.VaSearchInput, HTMLVaSearchInputElement>('va-search-input');
|
|
57
|
+
export const VaSegmentedProgressBar = /*@__PURE__*/createReactComponent<JSX.VaSegmentedProgressBar, HTMLVaSegmentedProgressBarElement>('va-segmented-progress-bar');
|
|
58
|
+
export const VaSelect = /*@__PURE__*/createReactComponent<JSX.VaSelect, HTMLVaSelectElement>('va-select');
|
|
59
|
+
export const VaServiceListItem = /*@__PURE__*/createReactComponent<JSX.VaServiceListItem, HTMLVaServiceListItemElement>('va-service-list-item');
|
|
60
|
+
export const VaSidenav = /*@__PURE__*/createReactComponent<JSX.VaSidenav, HTMLVaSidenavElement>('va-sidenav');
|
|
61
|
+
export const VaSidenavItem = /*@__PURE__*/createReactComponent<JSX.VaSidenavItem, HTMLVaSidenavItemElement>('va-sidenav-item');
|
|
62
|
+
export const VaSidenavSubmenu = /*@__PURE__*/createReactComponent<JSX.VaSidenavSubmenu, HTMLVaSidenavSubmenuElement>('va-sidenav-submenu');
|
|
63
|
+
export const VaStatementOfTruth = /*@__PURE__*/createReactComponent<JSX.VaStatementOfTruth, HTMLVaStatementOfTruthElement>('va-statement-of-truth');
|
|
64
|
+
export const VaSummaryBox = /*@__PURE__*/createReactComponent<JSX.VaSummaryBox, HTMLVaSummaryBoxElement>('va-summary-box');
|
|
65
|
+
export const VaTabItem = /*@__PURE__*/createReactComponent<JSX.VaTabItem, HTMLVaTabItemElement>('va-tab-item');
|
|
66
|
+
export const VaTabPanel = /*@__PURE__*/createReactComponent<JSX.VaTabPanel, HTMLVaTabPanelElement>('va-tab-panel');
|
|
67
|
+
export const VaTable = /*@__PURE__*/createReactComponent<JSX.VaTable, HTMLVaTableElement>('va-table');
|
|
68
|
+
export const VaTableInner = /*@__PURE__*/createReactComponent<JSX.VaTableInner, HTMLVaTableInnerElement>('va-table-inner');
|
|
69
|
+
export const VaTableRow = /*@__PURE__*/createReactComponent<JSX.VaTableRow, HTMLVaTableRowElement>('va-table-row');
|
|
70
|
+
export const VaTabs = /*@__PURE__*/createReactComponent<JSX.VaTabs, HTMLVaTabsElement>('va-tabs');
|
|
71
|
+
export const VaTagStatus = /*@__PURE__*/createReactComponent<JSX.VaTagStatus, HTMLVaTagStatusElement>('va-tag-status');
|
|
72
|
+
export const VaTelephone = /*@__PURE__*/createReactComponent<JSX.VaTelephone, HTMLVaTelephoneElement>('va-telephone');
|
|
73
|
+
export const VaTelephoneInput = /*@__PURE__*/createReactComponent<JSX.VaTelephoneInput, HTMLVaTelephoneInputElement>('va-telephone-input');
|
|
74
|
+
export const VaTextInput = /*@__PURE__*/createReactComponent<JSX.VaTextInput, HTMLVaTextInputElement>('va-text-input');
|
|
75
|
+
export const VaTextarea = /*@__PURE__*/createReactComponent<JSX.VaTextarea, HTMLVaTextareaElement>('va-textarea');
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface HTMLStencilElement extends HTMLElement {
|
|
3
|
+
componentOnReady(): Promise<this>;
|
|
4
|
+
}
|
|
5
|
+
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
6
|
+
forwardedRef: React.RefObject<ElementType>;
|
|
7
|
+
ref?: React.Ref<any>;
|
|
8
|
+
}
|
|
9
|
+
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & React.RefAttributes<ElementType>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var __extends=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),__assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)},__createBinding=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding(t,e,r);return __setModuleDefault(t,e),t},__rest=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(exports,"__esModule",{value:!0}),exports.createReactComponent=void 0;var react_1=__importStar(require("react")),utils_1=require("./utils"),createReactComponent=function(e,t,r,n){void 0!==n&&n();var o=(0,utils_1.dashToPascalCase)(e),i=function(t){function n(e){var r=t.call(this,e)||this;return r.setComponentElRef=function(e){r.componentEl=e},r}return __extends(n,t),n.prototype.componentDidMount=function(){this.componentDidUpdate(this.props)},n.prototype.componentDidUpdate=function(e){(0,utils_1.attachProps)(this.componentEl,this.props,e)},n.prototype.render=function(){var t=this.props,n=t.children,o=t.forwardedRef,i=t.style,s=(t.className,t.ref,__rest(t,["children","forwardedRef","style","className","ref"])),a=Object.keys(s).reduce(function(e,t){var r=s[t];if(0===t.indexOf("on")&&t[2]===t[2].toUpperCase()){var n=t.substring(2).toLowerCase();"undefined"!=typeof document&&(0,utils_1.isCoveredByReact)(n)&&(e[t]=r)}else{var o=typeof r;"string"!==o&&"boolean"!==o&&"number"!==o||(e[(0,utils_1.camelToDashCase)(t)]=r)}return e},{});r&&(a=r(this.props,a));var c=__assign(__assign({},a),{ref:(0,utils_1.mergeRefs)(o,this.setComponentElRef),style:i});return(0,react_1.createElement)(e,c,n)},Object.defineProperty(n,"displayName",{get:function(){return o},enumerable:!1,configurable:!0}),n}(react_1.default.Component);return t&&(i.contextType=t),(0,utils_1.createForwardRef)(i,o)};exports.createReactComponent=createReactComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComponent.js","sourceRoot":"","sources":["createComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAE7C,iCAAwH;AAWjH,IAAM,oBAAoB,GAAG,UAMlC,OAAe,EACf,qBAAuD,EACvD,uBAGuB,EACvB,mBAAgC;IAEhC,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QACtC,mBAAmB,EAAE,CAAC;IACxB,CAAC;IAED,IAAM,WAAW,GAAG,IAAA,wBAAgB,EAAC,OAAO,CAAC,CAAC;IAC9C,IAAM,cAAc;QAAiB,2BAAuD;QAO1F,iBAAY,KAA6C;Y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,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;wBACjE,GAAG,CAAC,IAAA,uBAAe,EAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC;oBACrC,CAAC;gBACH,CAAC;gBACD,OAAO,GAAG,CAAC;YACb,CAAC,EAAE,EAAwB,CAAC,CAAC;YAE7B,IAAI,uBAAuB,EAAE,CAAC;gBAC5B,WAAW,GAAG,uBAAuB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;YACjE,CAAC;YAED,IAAM,QAAQ,yBACT,WAAW,KACd,GAAG,EAAE,IAAA,iBAAS,EAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,EACpD,KAAK,OAAA,GACN,CAAC;YAEF;;;;;;eAMG;YACH,OAAO,IAAA,qBAAa,EAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACpD,CAAC;QAED,sBAAW,sBAAW;iBAAtB;gBACE,OAAO,WAAW,CAAC;YACrB,CAAC;;;WAAA;QACH,cAAC;IAAD,CAAC,AAjEsB,CAAc,eAAK,CAAC,SAAS,EAiEnD,CAAC;IAEF,iGAAiG;IACjG,IAAI,qBAAqB,EAAE,CAAC;QAC1B,cAAc,CAAC,WAAW,GAAG,qBAAqB,CAAC;IACrD,CAAC;IAED,OAAO,IAAA,wBAAgB,EAAwB,cAAc,EAAE,WAAW,CAAC,CAAC;AAC9E,CAAC,CAAC;AA5FW,QAAA,oBAAoB,wBA4F/B"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import React, { createElement } from 'react';
|
|
2
|
+
|
|
3
|
+
import { attachProps, camelToDashCase, createForwardRef, dashToPascalCase, isCoveredByReact, mergeRefs } from './utils';
|
|
4
|
+
|
|
5
|
+
export interface HTMLStencilElement extends HTMLElement {
|
|
6
|
+
componentOnReady(): Promise<this>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
10
|
+
forwardedRef: React.RefObject<ElementType>;
|
|
11
|
+
ref?: React.Ref<any>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const createReactComponent = <
|
|
15
|
+
PropType,
|
|
16
|
+
ElementType extends HTMLStencilElement,
|
|
17
|
+
ContextStateType = {},
|
|
18
|
+
ExpandedPropsTypes = {}
|
|
19
|
+
>(
|
|
20
|
+
tagName: string,
|
|
21
|
+
ReactComponentContext?: React.Context<ContextStateType>,
|
|
22
|
+
manipulatePropsFunction?: (
|
|
23
|
+
originalProps: StencilReactInternalProps<ElementType>,
|
|
24
|
+
propsToPass: any
|
|
25
|
+
) => ExpandedPropsTypes,
|
|
26
|
+
defineCustomElement?: () => void
|
|
27
|
+
) => {
|
|
28
|
+
if (defineCustomElement !== undefined) {
|
|
29
|
+
defineCustomElement();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const displayName = dashToPascalCase(tagName);
|
|
33
|
+
const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {
|
|
34
|
+
componentEl!: ElementType;
|
|
35
|
+
|
|
36
|
+
setComponentElRef = (element: ElementType) => {
|
|
37
|
+
this.componentEl = element;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
constructor(props: StencilReactInternalProps<ElementType>) {
|
|
41
|
+
super(props);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
componentDidMount() {
|
|
45
|
+
this.componentDidUpdate(this.props);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
componentDidUpdate(prevProps: StencilReactInternalProps<ElementType>) {
|
|
49
|
+
attachProps(this.componentEl, this.props, prevProps);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
render() {
|
|
53
|
+
const { children, forwardedRef, style, className, ref, ...cProps } = this.props;
|
|
54
|
+
|
|
55
|
+
let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {
|
|
56
|
+
const value = (cProps as any)[name];
|
|
57
|
+
|
|
58
|
+
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
59
|
+
const eventName = name.substring(2).toLowerCase();
|
|
60
|
+
if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
|
|
61
|
+
acc[name] = value;
|
|
62
|
+
}
|
|
63
|
+
} else {
|
|
64
|
+
// we should only render strings, booleans, and numbers as attrs in html.
|
|
65
|
+
// objects, functions, arrays etc get synced via properties on mount.
|
|
66
|
+
const type = typeof value;
|
|
67
|
+
|
|
68
|
+
if (type === 'string' || type === 'boolean' || type === 'number') {
|
|
69
|
+
acc[camelToDashCase(name)] = value;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return acc;
|
|
73
|
+
}, {} as ExpandedPropsTypes);
|
|
74
|
+
|
|
75
|
+
if (manipulatePropsFunction) {
|
|
76
|
+
propsToPass = manipulatePropsFunction(this.props, propsToPass);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {
|
|
80
|
+
...propsToPass,
|
|
81
|
+
ref: mergeRefs(forwardedRef, this.setComponentElRef),
|
|
82
|
+
style,
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* We use createElement here instead of
|
|
87
|
+
* React.createElement to work around a
|
|
88
|
+
* bug in Vite (https://github.com/vitejs/vite/issues/6104).
|
|
89
|
+
* React.createElement causes all elements to be rendered
|
|
90
|
+
* as <tagname> instead of the actual Web Component.
|
|
91
|
+
*/
|
|
92
|
+
return createElement(tagName, newProps, children);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
static get displayName() {
|
|
96
|
+
return displayName;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
// If context was passed to createReactComponent then conditionally add it to the Component Class
|
|
101
|
+
if (ReactComponentContext) {
|
|
102
|
+
ReactComponent.contextType = ReactComponentContext;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return createForwardRef<PropType, ElementType>(ReactComponent, displayName);
|
|
106
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OverlayEventDetail } from './interfaces';
|
|
3
|
+
import { StencilReactForwardedRef } from './utils';
|
|
4
|
+
interface OverlayElement extends HTMLElement {
|
|
5
|
+
present: () => Promise<void>;
|
|
6
|
+
dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
|
|
7
|
+
}
|
|
8
|
+
export interface ReactOverlayProps {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
12
|
+
onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
13
|
+
onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
14
|
+
onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(tagName: string, controller: {
|
|
17
|
+
create: (options: any) => Promise<OverlayType>;
|
|
18
|
+
}, customElement?: any) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
|
|
19
|
+
forwardedRef?: StencilReactForwardedRef<OverlayType>;
|
|
20
|
+
}> & React.RefAttributes<OverlayType>>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var __extends=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),__assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},__assign.apply(this,arguments)},__awaiter=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(o,s){function i(t){try{l(r.next(t))}catch(t){s(t)}}function a(t){try{l(r.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(i,a)}l((r=r.apply(t,e||[])).next())})},__generator=this&&this.__generator||function(t,e){var n,r,o,s,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},__rest=this&&this.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},__importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.createOverlayComponent=void 0;var react_1=__importDefault(require("react")),react_dom_1=__importDefault(require("react-dom")),utils_1=require("./utils"),createOverlayComponent=function(t,e,n){(0,utils_1.defineCustomElement)(t,n);var r=(0,utils_1.dashToPascalCase)(t),o="on".concat(r,"DidDismiss"),s="on".concat(r,"DidPresent"),i="on".concat(r,"WillDismiss"),a="on".concat(r,"WillPresent"),l=!1,p=function(t){function n(e){var n=t.call(this,e)||this;return"undefined"!=typeof document&&(n.el=document.createElement("div")),n.handleDismiss=n.handleDismiss.bind(n),n}return __extends(n,t),Object.defineProperty(n,"displayName",{get:function(){return r},enumerable:!1,configurable:!0}),n.prototype.componentDidMount=function(){this.props.isOpen&&this.present()},n.prototype.componentWillUnmount=function(){this.overlay&&this.overlay.dismiss()},n.prototype.handleDismiss=function(t){this.props.onDidDismiss&&this.props.onDidDismiss(t),(0,utils_1.setRef)(this.props.forwardedRef,null)},n.prototype.shouldComponentUpdate=function(t){return this.overlay&&t.isOpen!==this.props.isOpen&&!1===t.isOpen&&(l=!0),!0},n.prototype.componentDidUpdate=function(t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return this.overlay&&(0,utils_1.attachProps)(this.overlay,this.props,t),t.isOpen!==this.props.isOpen&&!0===this.props.isOpen&&this.present(t),this.overlay&&t.isOpen!==this.props.isOpen&&!1===this.props.isOpen?[4,this.overlay.dismiss()]:[3,2];case 1:e.sent(),l=!1,this.forceUpdate(),e.label=2;case 2:return[2]}})})},n.prototype.present=function(t){return __awaiter(this,void 0,void 0,function(){var n,r,l,p,u,c=this;return __generator(this,function(f){switch(f.label){case 0:return(n=this.props).children,n.isOpen,n.onDidDismiss,n.onDidPresent,n.onWillDismiss,n.onWillPresent,r=__rest(n,["children","isOpen","onDidDismiss","onDidPresent","onWillDismiss","onWillPresent"]),l=__assign(__assign({},r),((u={ref:this.props.forwardedRef})[o]=this.handleDismiss,u[s]=function(t){return c.props.onDidPresent&&c.props.onDidPresent(t)},u[i]=function(t){return c.props.onWillDismiss&&c.props.onWillDismiss(t)},u[a]=function(t){return c.props.onWillPresent&&c.props.onWillPresent(t)},u)),p=this,[4,e.create(__assign(__assign({},l),{component:this.el,componentProps:{}}))];case 1:return p.overlay=f.sent(),(0,utils_1.setRef)(this.props.forwardedRef,this.overlay),(0,utils_1.attachProps)(this.overlay,l,t),[4,this.overlay.present()];case 2:return f.sent(),[2]}})})},n.prototype.render=function(){return react_dom_1.default.createPortal(this.props.isOpen||l?this.props.children:null,this.el)},n}(react_1.default.Component);return react_1.default.forwardRef(function(t,e){return react_1.default.createElement(p,__assign({},t,{forwardedRef:e}))})};exports.createOverlayComponent=createOverlayComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createOverlayComponent.js","sourceRoot":"","sources":["createOverlayComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,wDAAiC;AAGjC,iCAA+G;AAgBxG,IAAM,sBAAsB,GAAG,UACpC,OAAe,EACf,UAA8D,EAC9D,aAAmB;IAEnB,IAAA,2BAAmB,EAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAE5C,IAAM,WAAW,GAAG,IAAA,wBAAgB,EAAC,OAAO,CAAC,CAAC;IAC9C,IAAM,mBAAmB,GAAG,YAAK,WAAW,eAAY,CAAC;IACzD,IAAM,mBAAmB,GAAG,YAAK,WAAW,eAAY,CAAC;IACzD,IAAM,oBAAoB,GAAG,YAA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