@invoicebox/ui 0.1.0-alpha.145 → 0.1.0-alpha.146

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.
@@ -31,7 +31,8 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
31
31
  children = _ref.children,
32
32
  _ref$size = _ref.size,
33
33
  size = _ref$size === void 0 ? 'L' : _ref$size,
34
- isOnlyNumbers = _ref.isOnlyNumbers;
34
+ isOnlyNumbers = _ref.isOnlyNumbers,
35
+ autoFocus = _ref.autoFocus;
35
36
  var _useInputFocus = (0, _useInputFocus2.useInputFocus)({
36
37
  onFocus: onFocus,
37
38
  onBlur: onBlur
@@ -58,6 +59,7 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
58
59
  placeholder: placeholder,
59
60
  paddingRight: paddingRight,
60
61
  type: type,
61
- isOnlyNumbers: isOnlyNumbers
62
+ isOnlyNumbers: isOnlyNumbers,
63
+ autoFocus: autoFocus
62
64
  }, _constants.SIZE_PADDING_MAP[size])), children && /*#__PURE__*/_react["default"].createElement(S.ChildrenWrapper, null, children)));
63
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicebox/ui",
3
- "version": "0.1.0-alpha.145",
3
+ "version": "0.1.0-alpha.146",
4
4
  "description": "Invoicebox UI",
5
5
  "license": "Apache License 2.0",
6
6
  "scripts": {