@financial-times/n-conversion-forms 22.0.0 → 22.1.0

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.
@@ -16,7 +16,7 @@ exports[`PaymentTerm When using custom options renders when not using an option
16
16
  class="o-forms-input__label ncf__payment-term__label"
17
17
  >
18
18
  <span class="ncf__payment-term__discount">
19
- Best offer - 33% off RRP
19
+ Best offer
20
20
  </span>
21
21
  <span class="ncf__payment-term__title ncf__payment-term__title--large-price">
22
22
  Annual
@@ -116,8 +116,7 @@ export function PaymentTerm ({
116
116
  return (
117
117
  option.discount && (
118
118
  <span className="ncf__payment-term__discount">
119
- {option.bestOffer ? 'Best offer -' : 'Save'} {option.discount} off
120
- RRP
119
+ {option.bestOffer ? 'Best offer' : `Save ${option.discount} off RRP`}
121
120
  </span>
122
121
  )
123
122
  );
@@ -129,7 +129,7 @@ function PaymentTerm(_ref) {
129
129
  var createDiscount = function createDiscount() {
130
130
  return option.discount && /*#__PURE__*/_react["default"].createElement("span", {
131
131
  className: "ncf__payment-term__discount"
132
- }, option.bestOffer ? 'Best offer -' : 'Save', " ", option.discount, " off RRP");
132
+ }, option.bestOffer ? 'Best offer' : "Save ".concat(option.discount, " off RRP"));
133
133
  };
134
134
 
135
135
  var createDescription = function createDescription() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/n-conversion-forms",
3
- "version": "22.0.0",
3
+ "version": "22.1.0",
4
4
  "description": "Containing jsx components and styles for forms included on Accounts and Acqusition apps (next-signup, next-profile, next-retention, etc).",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {