tf-checkout-react 1.3.50 → 1.3.51
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/tf-checkout-react.cjs.development.js +6 -2
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +6 -2
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +4 -1
- package/src/components/billing-info-container/utils.ts +1 -2
- package/src/components/common/dist/PhoneNumberField.js +0 -96
|
@@ -2568,7 +2568,7 @@ var getFieldComponent = function getFieldComponent(element) {
|
|
|
2568
2568
|
var type = _get(element, 'type', 'text');
|
|
2569
2569
|
var fieldComponentConfigs = {
|
|
2570
2570
|
checkbox: CheckboxField,
|
|
2571
|
-
select:
|
|
2571
|
+
select: CustomField,
|
|
2572
2572
|
select_multi: SelectField,
|
|
2573
2573
|
phone: PhoneNumberField,
|
|
2574
2574
|
date: DatePickerField,
|
|
@@ -3368,7 +3368,11 @@ var BillingInfoContainer = /*#__PURE__*/React.memo(function (_ref4) {
|
|
|
3368
3368
|
value: item.id,
|
|
3369
3369
|
label: item.name
|
|
3370
3370
|
};
|
|
3371
|
-
}) : element.name === 'state' ?
|
|
3371
|
+
}) : element.name === 'state' ? [{
|
|
3372
|
+
label: element.label,
|
|
3373
|
+
value: '',
|
|
3374
|
+
disabled: true
|
|
3375
|
+
}].concat(states) : element.selectOptions || [],
|
|
3372
3376
|
theme: theme,
|
|
3373
3377
|
defaultCountry: defaultCountry || element.defaultCountry,
|
|
3374
3378
|
dateFormat: element.format,
|