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.
@@ -3581,7 +3581,7 @@ var AddonsContainter = function AddonsContainter(_ref) {
3581
3581
  className: classNamePrefix + "_product_info_block"
3582
3582
  }, React.createElement("div", {
3583
3583
  className: classNamePrefix + "_product_title"
3584
- }, addon.name, addon.description && React.createElement(React.Fragment, null, React.createElement("span", {
3584
+ }, addon.name, addon.description && descriptionTrigger !== 'always' && React.createElement(React.Fragment, null, React.createElement("span", {
3585
3585
  "aria-hidden": true,
3586
3586
  className: "info-icon",
3587
3587
  onClick: descriptionTrigger === 'click' ? function () {
@@ -3609,9 +3609,9 @@ var AddonsContainter = function AddonsContainter(_ref) {
3609
3609
  className: classNamePrefix + "_product_price"
3610
3610
  }, CONFIGS.FEES_STYLE === FEES_STYLES.TRADITIONAL ? addonNormalizedPrice : addOnNormalizedCost, !isAddonFree && CONFIGS.FEES_STYLE === FEES_STYLES.TRADITIONAL && React.createElement("span", {
3611
3611
  className: classNamePrefix + "_product_fee"
3612
- }, "(" + addonNormalizedPrice + " with fees)"), !isAddonFree && CONFIGS.FEES_STYLE === FEES_STYLES.DISPLAY_BOTH && React.createElement(React.Fragment, null, React.createElement("span", {
3612
+ }, addon.feeIncluded ? '(incl. Fees)' : '(excl. Fees)'), !isAddonFree && CONFIGS.FEES_STYLE === FEES_STYLES.DISPLAY_BOTH && React.createElement(React.Fragment, null, React.createElement("span", {
3613
3613
  className: classNamePrefix + "_product_fee"
3614
- }, "(" + addonNormalizedPrice + " with fees)")))), visibleDescription === addon.id && React.createElement("div", {
3614
+ }, "(" + addonNormalizedPrice + " with fees)")))), (visibleDescription === addon.id || descriptionTrigger === 'always') && React.createElement("div", {
3615
3615
  className: classNamePrefix + "_product_desc",
3616
3616
  dangerouslySetInnerHTML: createMarkup(addon.description)
3617
3617
  }), React.createElement("div", {
@@ -6226,7 +6226,7 @@ var PaymentContainer = function PaymentContainer(_ref) {
6226
6226
  label: 'Add-ons',
6227
6227
  id: 'add_ons'
6228
6228
  }, {
6229
- label: 'Total (2.5% merchant processing fee)',
6229
+ label: 'Total (incl. fees, card processing and taxes)',
6230
6230
  id: 'total',
6231
6231
  normalizer: function normalizer(value, currency) {
6232
6232
  return currencyNormalizerCreator(createFixedFloatNormalizer(2)(parseFloat(value)), currency);