@invoicebox/ui 0.1.0-alpha.90 → 0.1.0-alpha.92

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.
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { TProps as PureInputProps } from '../PureInput';
3
- export type TProps = Pick<PureInputProps, 'placeholder' | 'hasBorder'> & {
3
+ export type TProps = Pick<PureInputProps, 'placeholder' | 'hasBorder' | 'autoFocus'> & {
4
4
  value: string;
5
5
  onChange: (value: string) => void;
6
6
  };
@@ -19,7 +19,8 @@ var SearchInput = exports.SearchInput = function SearchInput(_ref) {
19
19
  var onChange = _ref.onChange,
20
20
  placeholder = _ref.placeholder,
21
21
  hasBorder = _ref.hasBorder,
22
- value = _ref.value;
22
+ value = _ref.value,
23
+ autoFocus = _ref.autoFocus;
23
24
  var _useInputFocus = (0, _useInputFocus2.useInputFocus)(),
24
25
  inFocus = _useInputFocus.inFocus,
25
26
  handleFocus = _useInputFocus.handleFocus,
@@ -39,7 +40,8 @@ var SearchInput = exports.SearchInput = function SearchInput(_ref) {
39
40
  value: value,
40
41
  onFocus: handleFocus,
41
42
  onBlur: handleBlur,
42
- inFocus: inFocus
43
+ inFocus: inFocus,
44
+ autoFocus: autoFocus
43
45
  }), /*#__PURE__*/_react["default"].createElement(S.IconWrapper, {
44
46
  $inFocus: inFocus,
45
47
  $palette: palette
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicebox/ui",
3
- "version": "0.1.0-alpha.90",
3
+ "version": "0.1.0-alpha.92",
4
4
  "description": "Invoicebox UI",
5
5
  "license": "Apache License 2.0",
6
6
  "scripts": {
@@ -62,7 +62,7 @@
62
62
  "styled-components": "^6.1.8"
63
63
  },
64
64
  "engines": {
65
- "node": "^16.17.1"
65
+ "node": ">=16.0.0"
66
66
  },
67
67
  "files": [
68
68
  "dist"