@invoicebox/ui 0.1.0-alpha.113 → 0.1.0-alpha.114

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.
@@ -14,6 +14,7 @@ type TControlProps = {
14
14
  renderOption?: (option: TOption) => ReactNode;
15
15
  children?: ReactNode;
16
16
  inputPaddingLeft?: number;
17
+ inputMaxLength?: number;
17
18
  disabled?: boolean;
18
19
  listHeight?: number;
19
20
  hasError?: boolean;
@@ -46,7 +46,8 @@ var Autocomplete = exports.Autocomplete = /*#__PURE__*/(0, _react.forwardRef)(fu
46
46
  listHeight = _ref$listHeight === void 0 ? 294 : _ref$listHeight,
47
47
  hasError = _ref.hasError,
48
48
  isLoading = _ref.isLoading,
49
- optionsLoader = _ref.optionsLoader;
49
+ optionsLoader = _ref.optionsLoader,
50
+ inputMaxLength = _ref.inputMaxLength;
50
51
  var isMobile = (0, _useMedia.useMobile)();
51
52
  var _useState = (0, _react.useState)(false),
52
53
  _useState2 = _slicedToArray(_useState, 2),
@@ -96,7 +97,8 @@ var Autocomplete = exports.Autocomplete = /*#__PURE__*/(0, _react.forwardRef)(fu
96
97
  name: name,
97
98
  placeholder: placeholder,
98
99
  disabled: disabled,
99
- paddingLeft: inputPaddingLeft
100
+ paddingLeft: inputPaddingLeft,
101
+ maxLength: inputMaxLength
100
102
  }))), /*#__PURE__*/_react["default"].createElement(_Dropdown.Dropdown, {
101
103
  isOpen: isOpen && (!!options.length || !!isLoading),
102
104
  isAutoPosition: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicebox/ui",
3
- "version": "0.1.0-alpha.113",
3
+ "version": "0.1.0-alpha.114",
4
4
  "description": "Invoicebox UI",
5
5
  "license": "Apache License 2.0",
6
6
  "scripts": {