tg-core-components 6.0.4 → 6.0.5
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.
|
@@ -71,7 +71,10 @@ var PhoneNumberInput = function PhoneNumberInput(props) {
|
|
|
71
71
|
callingCodeSelect.focus.onBlur();
|
|
72
72
|
_onBlur(e);
|
|
73
73
|
},
|
|
74
|
-
status: props.status
|
|
74
|
+
status: props.status,
|
|
75
|
+
leadingLane: [props.selectIcon].filter(function (i) {
|
|
76
|
+
return i;
|
|
77
|
+
}) }),
|
|
75
78
|
(props.callingCodes || []).map(function (c, i) {
|
|
76
79
|
return React.createElement(
|
|
77
80
|
Select.Option,
|
|
@@ -97,6 +100,9 @@ var PhoneNumberInput = function PhoneNumberInput(props) {
|
|
|
97
100
|
_onBlur(e);
|
|
98
101
|
},
|
|
99
102
|
status: props.status,
|
|
103
|
+
leadingLane: [props.inputIcon].filter(function (i) {
|
|
104
|
+
return i;
|
|
105
|
+
}),
|
|
100
106
|
trailingLane: [statusIcons[props.status]].filter(function (i) {
|
|
101
107
|
return i;
|
|
102
108
|
})
|
|
@@ -88,7 +88,10 @@ var PhoneNumberInput = function PhoneNumberInput(props) {
|
|
|
88
88
|
callingCodeSelect.focus.onBlur();
|
|
89
89
|
_onBlur(e);
|
|
90
90
|
},
|
|
91
|
-
status: props.status
|
|
91
|
+
status: props.status,
|
|
92
|
+
leadingLane: [props.selectIcon].filter(function (i) {
|
|
93
|
+
return i;
|
|
94
|
+
}) }),
|
|
92
95
|
(props.callingCodes || []).map(function (c, i) {
|
|
93
96
|
return _react2.default.createElement(
|
|
94
97
|
_common.Select.Option,
|
|
@@ -114,6 +117,9 @@ var PhoneNumberInput = function PhoneNumberInput(props) {
|
|
|
114
117
|
_onBlur(e);
|
|
115
118
|
},
|
|
116
119
|
status: props.status,
|
|
120
|
+
leadingLane: [props.inputIcon].filter(function (i) {
|
|
121
|
+
return i;
|
|
122
|
+
}),
|
|
117
123
|
trailingLane: [_common.statusIcons[props.status]].filter(function (i) {
|
|
118
124
|
return i;
|
|
119
125
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-core-components",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
4
4
|
"description": "tg-core-components",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"webpack": "^3.0.0",
|
|
77
77
|
"webpack-blocks": "^1.0.0"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "376f83774543ad0744a20cf4eaa2e93970763764"
|
|
80
80
|
}
|