@thecb/components 9.0.0-beta.1 → 9.0.0-beta.11

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.
Files changed (27) hide show
  1. package/dist/index.cjs.js +132 -97
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +4 -4
  4. package/dist/index.esm.js +132 -97
  5. package/dist/index.esm.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/components/atoms/checkbox/Checkbox.js +3 -1
  8. package/src/components/atoms/country-dropdown/CountryDropdown.js +3 -3
  9. package/src/components/atoms/country-dropdown/CountryDropdown.stories.js +0 -1
  10. package/src/components/atoms/display-box/DisplayBox.js +1 -6
  11. package/src/components/atoms/dropdown/Dropdown.js +14 -15
  12. package/src/components/atoms/form-layouts/FormInput.js +2 -3
  13. package/src/components/atoms/form-layouts/index.d.ts +2 -2
  14. package/src/components/atoms/form-select/FormSelect.js +10 -5
  15. package/src/components/atoms/form-select/index.d.ts +2 -2
  16. package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +1 -4
  17. package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +1 -2
  18. package/src/components/molecules/address-form/AddressForm.js +10 -3
  19. package/src/components/molecules/modal/Modal.js +1 -1
  20. package/src/components/molecules/payment-details/PaymentDetails.js +36 -16
  21. package/src/components/molecules/payment-form-card/PaymentFormCard.js +1 -1
  22. package/src/components/molecules/phone-form/PhoneForm.js +2 -0
  23. package/src/components/molecules/registration-form/RegistrationForm.js +5 -0
  24. package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV1.js +2 -4
  25. package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +1 -3
  26. package/src/components/atoms/dropdown/index.d.ts +0 -32
  27. package/src/components/atoms/state-province-dropdown/index.d.ts +0 -26
package/dist/index.d.ts CHANGED
@@ -455,9 +455,9 @@ interface FormInputProps {
455
455
  themeValues?: object;
456
456
  background?: string;
457
457
  customHeight?: string;
458
- autocompleteValue?: string;
458
+ autocompleteValue?: string | null;
459
459
  removeFromValue?: RegExp;
460
- dataQa?: string;
460
+ dataQa?: string | null;
461
461
  }
462
462
 
463
463
  declare const FormInput: React.FC<Expand<FormInputProps> &
@@ -476,9 +476,9 @@ interface FormSelectProps {
476
476
  disabledValues?: string[];
477
477
  themeValues?: object;
478
478
  hasTitles?: boolean;
479
- autocompleteValue?: string;
479
+ autocompleteValue?: string | null;
480
480
  smoothScroll?: boolean;
481
- dataQa?: string;
481
+ dataQa?: string | null;
482
482
  }
483
483
 
484
484
  declare const FormSelect: React.FC<Expand<FormSelectProps> &