tf-checkout-react 1.6.6-beta.16 → 1.6.6-beta.17
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/components/addonsContainer/index.d.ts +1 -1
- package/dist/tf-checkout-react.cjs.development.js +4 -4
- 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 +4 -4
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/addonsContainer/index.tsx +4 -4
- package/src/components/paymentContainer/index.tsx +1 -1
|
@@ -12,7 +12,7 @@ export interface IAddonContainterProps {
|
|
|
12
12
|
onCountdownFinish?: () => void;
|
|
13
13
|
onPendingVerification?: () => void;
|
|
14
14
|
samePage?: boolean;
|
|
15
|
-
descriptionTrigger?: "click" | "hover";
|
|
15
|
+
descriptionTrigger?: "click" | "hover" | "always";
|
|
16
16
|
}
|
|
17
17
|
export interface ObjectLiteral {
|
|
18
18
|
[key: string]: any;
|
|
@@ -3588,7 +3588,7 @@ var AddonsContainter = function AddonsContainter(_ref) {
|
|
|
3588
3588
|
className: classNamePrefix + "_product_info_block"
|
|
3589
3589
|
}, React__default.createElement("div", {
|
|
3590
3590
|
className: classNamePrefix + "_product_title"
|
|
3591
|
-
}, addon.name, addon.description && React__default.createElement(React__default.Fragment, null, React__default.createElement("span", {
|
|
3591
|
+
}, addon.name, addon.description && descriptionTrigger !== 'always' && React__default.createElement(React__default.Fragment, null, React__default.createElement("span", {
|
|
3592
3592
|
"aria-hidden": true,
|
|
3593
3593
|
className: "info-icon",
|
|
3594
3594
|
onClick: descriptionTrigger === 'click' ? function () {
|
|
@@ -3616,9 +3616,9 @@ var AddonsContainter = function AddonsContainter(_ref) {
|
|
|
3616
3616
|
className: classNamePrefix + "_product_price"
|
|
3617
3617
|
}, CONFIGS.FEES_STYLE === FEES_STYLES.TRADITIONAL ? addonNormalizedPrice : addOnNormalizedCost, !isAddonFree && CONFIGS.FEES_STYLE === FEES_STYLES.TRADITIONAL && React__default.createElement("span", {
|
|
3618
3618
|
className: classNamePrefix + "_product_fee"
|
|
3619
|
-
},
|
|
3619
|
+
}, addon.feeIncluded ? '(incl. Fees)' : '(excl. Fees)'), !isAddonFree && CONFIGS.FEES_STYLE === FEES_STYLES.DISPLAY_BOTH && React__default.createElement(React__default.Fragment, null, React__default.createElement("span", {
|
|
3620
3620
|
className: classNamePrefix + "_product_fee"
|
|
3621
|
-
}, "(" + addonNormalizedPrice + " with fees)")))), visibleDescription === addon.id && React__default.createElement("div", {
|
|
3621
|
+
}, "(" + addonNormalizedPrice + " with fees)")))), (visibleDescription === addon.id || descriptionTrigger === 'always') && React__default.createElement("div", {
|
|
3622
3622
|
className: classNamePrefix + "_product_desc",
|
|
3623
3623
|
dangerouslySetInnerHTML: createMarkup(addon.description)
|
|
3624
3624
|
}), React__default.createElement("div", {
|
|
@@ -6233,7 +6233,7 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
6233
6233
|
label: 'Add-ons',
|
|
6234
6234
|
id: 'add_ons'
|
|
6235
6235
|
}, {
|
|
6236
|
-
label: 'Total (
|
|
6236
|
+
label: 'Total (incl. fees, card processing and taxes)',
|
|
6237
6237
|
id: 'total',
|
|
6238
6238
|
normalizer: function normalizer(value, currency) {
|
|
6239
6239
|
return currencyNormalizerCreator(createFixedFloatNormalizer(2)(parseFloat(value)), currency);
|