@financial-times/n-conversion-forms 27.6.1 → 27.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/n-conversion-forms",
3
- "version": "27.6.1",
3
+ "version": "27.6.2",
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": {
@@ -122,19 +122,21 @@ const deliveryOptionMessages = [
122
122
  deliveryFrequency: [
123
123
  FIVE_DAYS_WEEK_DELIVERY_FREQ,
124
124
  SIX_DAYS_WEEK_DELIVERY_FREQ,
125
+ ONLY_WEEKEND_DELIVERY_FREQ,
125
126
  ],
126
127
  distributorType: HAND_DELIVERY,
127
128
  deliveryOnPublicationDate: true,
128
129
  flightMarket: true,
129
- country: [printRegions.cemeaV1, printRegions.cemeaV2, printRegions.apac],
130
130
  title: 'Hand Delivery',
131
+ country: [printRegions.cemeaV1, printRegions.cemeaV2, printRegions.apac],
131
132
  description:
132
- 'Enjoy the delivery of the newspaper to your home or office address. Please note we fly the newspaper to your location which means delivery is subject to flight delays/cancellations outside of the FT’s control. In those circumstances, your newspaper will be delivered the next delivery day. Please also be aware that your FT weekend will be delivered on Sunday.',
133
+ 'Enjoy delivery of the newspaper to your home or office address. FT Weekend will be delivered on Sunday or Monday.',
133
134
  },
134
135
  {
135
136
  deliveryFrequency: [
136
137
  FIVE_DAYS_WEEK_DELIVERY_FREQ,
137
138
  SIX_DAYS_WEEK_DELIVERY_FREQ,
139
+ ONLY_WEEKEND_DELIVERY_FREQ,
138
140
  ],
139
141
  distributorType: HAND_DELIVERY,
140
142
  deliveryOnPublicationDate: true,
@@ -148,13 +150,29 @@ const deliveryOptionMessages = [
148
150
  deliveryFrequency: [
149
151
  FIVE_DAYS_WEEK_DELIVERY_FREQ,
150
152
  SIX_DAYS_WEEK_DELIVERY_FREQ,
153
+ ONLY_WEEKEND_DELIVERY_FREQ,
151
154
  ],
152
155
  distributorType: MAIL,
153
156
  country: [printRegions.cemeaV1, printRegions.cemeaV2, printRegions.apac],
154
157
  title: 'Mail Delivery',
155
158
  customId: 'ML',
159
+ flightMarket: true,
156
160
  description:
157
- 'We can only deliver the newspaper to your location by postal mail which means your delivery will arrive up to 3 business days after the date of publication and will not include the HTSI Magazine. We also fly the newspaper to your location which means delivery is subject to flight delays/cancellations outside the FT\'s control. If you prefer to read the printed content on the day of publication, please proceed to subscribe to the FT ePaper - a digital replica of the print edition.',
161
+ 'Enjoy delivery of the newspaper to your home or office address. Note this is a postal delivery - expect delivery after the day of publication. If you would prefer to read the newspaper on the day of publication, purchase an FT ePaper subscription, our digital replica of the each daily edition.',
162
+ },
163
+ {
164
+ deliveryFrequency: [
165
+ FIVE_DAYS_WEEK_DELIVERY_FREQ,
166
+ SIX_DAYS_WEEK_DELIVERY_FREQ,
167
+ ONLY_WEEKEND_DELIVERY_FREQ,
168
+ ],
169
+ distributorType: MAIL,
170
+ country: [printRegions.cemeaV1, printRegions.cemeaV2, printRegions.apac],
171
+ title: 'Mail Delivery',
172
+ customId: 'ML',
173
+ flightMarket: false,
174
+ description:
175
+ 'Enjoy delivery of the newspaper to your home or office address one day after publication.',
158
176
  },
159
177
  {
160
178
  deliveryFrequency: [
@@ -162,7 +162,7 @@ describe('Find Custom Delivery Option', () => {
162
162
  title: 'Mail Delivery',
163
163
  customId: 'ML',
164
164
  description:
165
- 'We can only deliver the newspaper to your location by postal mail which means your delivery will arrive up to 3 business days after the date of publication and will not include the HTSI Magazine. We also fly the newspaper to your location which means delivery is subject to flight delays/cancellations outside the FT\'s control. If you prefer to read the printed content on the day of publication, please proceed to subscribe to the FT ePaper - a digital replica of the print edition.',
165
+ 'Enjoy delivery of the newspaper to your home or office address. Note this is a postal delivery - expect delivery after the day of publication. If you would prefer to read the newspaper on the day of publication, purchase an FT ePaper subscription, our digital replica of the each daily edition.',
166
166
  };
167
167
 
168
168
  const deliveryOption = getDeliveryOption(