@thecb/components 8.4.11-beta.9 → 9.0.0-beta.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/index.cjs.js +223 -160
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.esm.js +223 -160
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/alert/Alert.js +1 -0
- package/src/components/atoms/checkbox/Checkbox.js +4 -3
- package/src/components/atoms/country-dropdown/CountryDropdown.js +2 -2
- package/src/components/atoms/country-dropdown/CountryDropdown.stories.js +0 -1
- package/src/components/atoms/display-box/DisplayBox.js +7 -1
- package/src/components/atoms/dropdown/Dropdown.js +25 -19
- package/src/components/atoms/dropdown/index.d.ts +32 -0
- package/src/components/atoms/form-layouts/FormInput.js +25 -11
- package/src/components/atoms/form-layouts/index.d.ts +8 -0
- package/src/components/atoms/form-select/FormSelect.js +20 -9
- package/src/components/atoms/form-select/index.d.ts +7 -0
- package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +5 -2
- package/src/components/atoms/state-province-dropdown/index.d.ts +26 -0
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +4 -1
- package/src/components/molecules/address-form/AddressForm.js +12 -16
- package/src/components/molecules/change-password-form/ChangePasswordForm.js +3 -3
- package/src/components/molecules/edit-name-form/EditNameForm.js +4 -2
- package/src/components/molecules/email-form/EmailForm.js +2 -1
- package/src/components/molecules/forgot-password-form/ForgotPasswordForm.js +1 -1
- package/src/components/molecules/login-form/LoginForm.js +2 -2
- package/src/components/molecules/modal/Modal.js +3 -2
- package/src/components/molecules/payment-form-ach/PaymentFormACH.js +13 -5
- package/src/components/molecules/payment-form-card/PaymentFormCard.js +12 -5
- package/src/components/molecules/phone-form/PhoneForm.js +2 -3
- package/src/components/molecules/registration-form/RegistrationForm.js +5 -5
- package/src/components/molecules/reset-password-form/ResetPasswordForm.js +2 -2
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV1.js +4 -2
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +14 -10
package/dist/index.d.ts
CHANGED
|
@@ -450,6 +450,14 @@ interface FormInputProps {
|
|
|
450
450
|
labelTextWhenNoError?: string;
|
|
451
451
|
showErrors?: boolean;
|
|
452
452
|
type?: string;
|
|
453
|
+
formatter?: string | null;
|
|
454
|
+
decorator?: boolean;
|
|
455
|
+
themeValues?: object;
|
|
456
|
+
background?: string;
|
|
457
|
+
customHeight?: string;
|
|
458
|
+
autocompleteValue?: string;
|
|
459
|
+
removeFromValue?: RegExp;
|
|
460
|
+
dataQa?: string;
|
|
453
461
|
}
|
|
454
462
|
|
|
455
463
|
declare const FormInput: React.FC<Expand<FormInputProps> &
|
|
@@ -464,6 +472,13 @@ interface FormSelectProps {
|
|
|
464
472
|
showErrors?: boolean;
|
|
465
473
|
errorMessages?: ErrorMessageDictionary;
|
|
466
474
|
field?: Field;
|
|
475
|
+
onChange?: (event: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
476
|
+
disabledValues?: string[];
|
|
477
|
+
themeValues?: object;
|
|
478
|
+
hasTitles?: boolean;
|
|
479
|
+
autocompleteValue?: string;
|
|
480
|
+
smoothScroll?: boolean;
|
|
481
|
+
dataQa?: string;
|
|
467
482
|
}
|
|
468
483
|
|
|
469
484
|
declare const FormSelect: React.FC<Expand<FormSelectProps> &
|