@financial-times/n-conversion-forms 40.0.0 → 40.0.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/.toolkitstate/ci.json
CHANGED
|
@@ -180,7 +180,7 @@ exports[`Debug renders with showHelpers 1`] = `
|
|
|
180
180
|
>
|
|
181
181
|
Fill & Submit
|
|
182
182
|
</button>
|
|
183
|
-
<select class="ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-
|
|
183
|
+
<select class="ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-width"
|
|
184
184
|
id="ncf-country"
|
|
185
185
|
onchange="reloadWithSelectedCountry();"
|
|
186
186
|
>
|
package/components/debug.jsx
CHANGED
|
@@ -57,7 +57,7 @@ export function Debug({
|
|
|
57
57
|
''
|
|
58
58
|
);
|
|
59
59
|
const countriesDropDown = `
|
|
60
|
-
<select class="ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-
|
|
60
|
+
<select class="ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-width" id="ncf-country" onchange="reloadWithSelectedCountry();">
|
|
61
61
|
<option value="">Change country</option>
|
|
62
62
|
<hr />
|
|
63
63
|
${optionsToRender}
|
package/dist/debug.jsx
CHANGED
|
@@ -46,7 +46,7 @@ function Debug(_ref) {
|
|
|
46
46
|
var optionsToRender = filteredCountries.reduce(function (options, country) {
|
|
47
47
|
return "".concat(options, " ").concat(country.label ? createOptGroup(country) : createOption(country));
|
|
48
48
|
}, '');
|
|
49
|
-
var countriesDropDown = "\n\t\t<select class=\"ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-
|
|
49
|
+
var countriesDropDown = "\n\t\t<select class=\"ncf__button ncf__button--debug ncf__button--inverse ncf__button--max-width\" id=\"ncf-country\" onchange=\"reloadWithSelectedCountry();\">\n\t\t\t<option value=\"\">Change country</option>\n\t\t\t<hr />\n\t\t\t".concat(optionsToRender, "\n\t\t</select>\n\t");
|
|
50
50
|
var helpers = "\n\t\t<span class=\"ncf__debug-helpers\">\n\t\t\t<button class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"logout();\" title=\"Logout and refresh\">Logout</button>\n\t\t\t<button class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"fillForm();\" title=\"Fill form with debug data\">Fill</button>\n\t\t\t<button class=\"ncf__button ncf__button--debug ncf__button--inverse\" onclick=\"fillForm(); submitForm();\" title=\"Fill form with debug data and submit\">Fill & Submit</button>\n\t\t\t".concat(countriesDropDown, "\n\t\t\t").concat(isTest ? testCards : '', "\n\t\t\t").concat(links.length ? linksString : '', "\n\t\t</span>\n\t");
|
|
51
51
|
var html = {
|
|
52
52
|
__html: "".concat(isTest ? testEnvironment : productionEnvironment).concat(showHelpers ? helpers : '')
|
package/main.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/n-conversion-forms",
|
|
3
|
-
"version": "40.0.
|
|
3
|
+
"version": "40.0.2",
|
|
4
4
|
"description": "Containing jsx components and styles for forms included on Accounts and Acquisition apps (next-signup, next-profile, next-retention, etc).",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|