intelicoreact 0.3.25 → 0.3.27

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.
@@ -58,7 +58,11 @@ var RangeInputs = function RangeInputs(_ref) {
58
58
  isPrice = _ref$isPrice === void 0 ? false : _ref$isPrice,
59
59
  testId = _ref.testId,
60
60
  _ref$withZero = _ref.withZero,
61
- withZero = _ref$withZero === void 0 ? false : _ref$withZero;
61
+ withZero = _ref$withZero === void 0 ? false : _ref$withZero,
62
+ _ref$fromPlaceholder = _ref.fromPlaceholder,
63
+ fromPlaceholder = _ref$fromPlaceholder === void 0 ? '' : _ref$fromPlaceholder,
64
+ _ref$toPlaceholder = _ref.toPlaceholder,
65
+ toPlaceholder = _ref$toPlaceholder === void 0 ? '' : _ref$toPlaceholder;
62
66
 
63
67
  var _useState = (0, _react.useState)({
64
68
  from: '',
@@ -154,7 +158,8 @@ var RangeInputs = function RangeInputs(_ref) {
154
158
  inputToRef.current.select();
155
159
  }
156
160
  }
157
- }
161
+ },
162
+ placeholder: fromPlaceholder
158
163
  })), /*#__PURE__*/_react.default.createElement("div", {
159
164
  className: "".concat(RC, "__input-to")
160
165
  }, /*#__PURE__*/_react.default.createElement("span", {
@@ -172,7 +177,8 @@ var RangeInputs = function RangeInputs(_ref) {
172
177
  error: error.to,
173
178
  onKeyUp: function onKeyUp(code, e) {
174
179
  if (code === 13) inputToRef.current.blur();
175
- }
180
+ },
181
+ placeholder: toPlaceholder
176
182
  }))));
177
183
  };
178
184
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.3.25",
3
+ "version": "0.3.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [