@financial-times/n-conversion-forms 27.4.1 → 27.4.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.
|
@@ -11,7 +11,7 @@ exports[`Phone render a disabled phone input 1`] = `
|
|
|
11
11
|
Phone number
|
|
12
12
|
</span>
|
|
13
13
|
<span class="o-forms-title__prompt">
|
|
14
|
-
|
|
14
|
+
We need this for security purposes. We'll never send anything without consent (Use numbers only)
|
|
15
15
|
</span>
|
|
16
16
|
</span>
|
|
17
17
|
<span class="o-forms-input o-forms-input--text">
|
|
@@ -48,7 +48,7 @@ exports[`Phone render a phone input with a label 1`] = `
|
|
|
48
48
|
Phone number
|
|
49
49
|
</span>
|
|
50
50
|
<span class="o-forms-title__prompt">
|
|
51
|
-
|
|
51
|
+
We need this for security purposes. We'll never send anything without consent (Use numbers only)
|
|
52
52
|
</span>
|
|
53
53
|
</span>
|
|
54
54
|
<span class="o-forms-input o-forms-input--text">
|
|
@@ -84,7 +84,7 @@ exports[`Phone render a phone input with a label for B2B 1`] = `
|
|
|
84
84
|
Work phone number
|
|
85
85
|
</span>
|
|
86
86
|
<span class="o-forms-title__prompt">
|
|
87
|
-
|
|
87
|
+
We need this for security purposes. We'll never send anything without consent (Use numbers only)
|
|
88
88
|
</span>
|
|
89
89
|
</span>
|
|
90
90
|
<span class="o-forms-input o-forms-input--text">
|
|
@@ -120,7 +120,7 @@ exports[`Phone render a phone input with error styling 1`] = `
|
|
|
120
120
|
Phone number
|
|
121
121
|
</span>
|
|
122
122
|
<span class="o-forms-title__prompt">
|
|
123
|
-
|
|
123
|
+
We need this for security purposes. We'll never send anything without consent (Use numbers only)
|
|
124
124
|
</span>
|
|
125
125
|
</span>
|
|
126
126
|
<span class="o-forms-input o-forms-input--text o-forms-input--invalid">
|
|
@@ -156,7 +156,7 @@ exports[`Phone render default label if B2B and educational licence 1`] = `
|
|
|
156
156
|
Phone number
|
|
157
157
|
</span>
|
|
158
158
|
<span class="o-forms-title__prompt">
|
|
159
|
-
|
|
159
|
+
We need this for security purposes. We'll never send anything without consent (Use numbers only)
|
|
160
160
|
</span>
|
|
161
161
|
</span>
|
|
162
162
|
<span class="o-forms-input o-forms-input--text">
|
package/components/phone.jsx
CHANGED
|
@@ -39,7 +39,8 @@ export function Phone ({
|
|
|
39
39
|
<span className={fieldTitleClassName}>
|
|
40
40
|
<span className="o-forms-title__main">{labelText}</span>
|
|
41
41
|
<span className="o-forms-title__prompt">
|
|
42
|
-
|
|
42
|
+
We need this for security purposes. We'll never send anything
|
|
43
|
+
without consent (Use numbers only)
|
|
43
44
|
</span>
|
|
44
45
|
</span>
|
|
45
46
|
<span className={inputWrapperClassNames}>
|
package/dist/phone.js
CHANGED
|
@@ -55,7 +55,7 @@ function Phone(_ref) {
|
|
|
55
55
|
className: "o-forms-title__main"
|
|
56
56
|
}, labelText), /*#__PURE__*/_react["default"].createElement("span", {
|
|
57
57
|
className: "o-forms-title__prompt"
|
|
58
|
-
}, "
|
|
58
|
+
}, "We need this for security purposes. We'll never send anything without consent (Use numbers only)")), /*#__PURE__*/_react["default"].createElement("span", {
|
|
59
59
|
className: inputWrapperClassNames
|
|
60
60
|
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
61
61
|
type: "tel",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/n-conversion-forms",
|
|
3
|
-
"version": "27.4.
|
|
3
|
+
"version": "27.4.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": {
|