@invoicebox/ui 0.1.0-alpha.170 → 0.1.0-alpha.171
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.
- package/dist/components/form/Autocomplete/components/Autocomplete/index.js +1 -1
- package/dist/components/form/CurrencyInput/CoreCurrencyInput/index.js +1 -1
- package/dist/components/form/DateInput/index.js +1 -1
- package/dist/components/form/PhoneInput/index.js +1 -1
- package/dist/components/form/PositiveIntegerInput/index.js +1 -1
- package/dist/components/form/PureInput/index.js +2 -2
- package/dist/components/form/SearchInput/index.js +1 -1
- package/dist/components/form/Select/components/Input/index.js +1 -1
- package/dist/components/form/TextInput/index.js +1 -1
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ var Autocomplete = exports.Autocomplete = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
53
53
|
_ref$isInputOnlyNumbe = _ref.isInputOnlyNumbers,
|
|
54
54
|
isInputOnlyNumbers = _ref$isInputOnlyNumbe === void 0 ? false : _ref$isInputOnlyNumbe,
|
|
55
55
|
_ref$size = _ref.size,
|
|
56
|
-
size = _ref$size === void 0 ? '
|
|
56
|
+
size = _ref$size === void 0 ? 'M' : _ref$size;
|
|
57
57
|
var isMobile = (0, _useMedia.useMobile)();
|
|
58
58
|
var _useState = (0, _react.useState)(false),
|
|
59
59
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14,7 +14,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
14
14
|
var CoreCurrencyInput = exports.CoreCurrencyInput = function CoreCurrencyInput(_ref) {
|
|
15
15
|
var label = _ref.label,
|
|
16
16
|
_ref$size = _ref.size,
|
|
17
|
-
size = _ref$size === void 0 ? '
|
|
17
|
+
size = _ref$size === void 0 ? 'M' : _ref$size,
|
|
18
18
|
_ref$hasError = _ref.hasError,
|
|
19
19
|
hasError = _ref$hasError === void 0 ? false : _ref$hasError,
|
|
20
20
|
value = _ref.value,
|
|
@@ -40,7 +40,7 @@ var DateInput = exports.DateInput = function DateInput(_ref) {
|
|
|
40
40
|
_ref$withTime = _ref.withTime,
|
|
41
41
|
withTime = _ref$withTime === void 0 ? false : _ref$withTime,
|
|
42
42
|
_ref$size = _ref.size,
|
|
43
|
-
size = _ref$size === void 0 ? '
|
|
43
|
+
size = _ref$size === void 0 ? 'M' : _ref$size;
|
|
44
44
|
var palette = (0, _palette.useComponentPalette)('dateInput');
|
|
45
45
|
var inputRef = (0, _react.useRef)(null);
|
|
46
46
|
var _useState = (0, _react.useState)(false),
|
|
@@ -42,7 +42,7 @@ var PhoneInput = exports.PhoneInput = function PhoneInput(_ref) {
|
|
|
42
42
|
onCountryChange = _ref.onCountryChange,
|
|
43
43
|
pureInputProps = _ref.pureInputProps,
|
|
44
44
|
_ref$size = _ref.size,
|
|
45
|
-
size = _ref$size === void 0 ? '
|
|
45
|
+
size = _ref$size === void 0 ? 'M' : _ref$size;
|
|
46
46
|
var inputRef = (0, _react.useRef)();
|
|
47
47
|
var isMobile = (0, _useMedia.useMobile)();
|
|
48
48
|
var countrySelectOptions = (0, _react.useMemo)(function () {
|
|
@@ -33,7 +33,7 @@ var PositiveIntegerInput = exports.PositiveIntegerInput = function PositiveInteg
|
|
|
33
33
|
onBlur = _ref.onBlur,
|
|
34
34
|
name = _ref.name,
|
|
35
35
|
_ref$size = _ref.size,
|
|
36
|
-
size = _ref$size === void 0 ? '
|
|
36
|
+
size = _ref$size === void 0 ? 'M' : _ref$size;
|
|
37
37
|
var _useInputFocus = (0, _useInputFocus2.useInputFocus)({
|
|
38
38
|
onFocus: onFocus,
|
|
39
39
|
onBlur: onBlur
|
|
@@ -20,9 +20,9 @@ var PureInput = exports.PureInput = /*#__PURE__*/_react["default"].forwardRef(fu
|
|
|
20
20
|
_ref$paddingRight = _ref.paddingRight,
|
|
21
21
|
paddingRight = _ref$paddingRight === void 0 ? 12 : _ref$paddingRight,
|
|
22
22
|
_ref$paddingTop = _ref.paddingTop,
|
|
23
|
-
paddingTop = _ref$paddingTop === void 0 ?
|
|
23
|
+
paddingTop = _ref$paddingTop === void 0 ? 13 : _ref$paddingTop,
|
|
24
24
|
_ref$paddingBottom = _ref.paddingBottom,
|
|
25
|
-
paddingBottom = _ref$paddingBottom === void 0 ?
|
|
25
|
+
paddingBottom = _ref$paddingBottom === void 0 ? 13 : _ref$paddingBottom,
|
|
26
26
|
_ref$hasError = _ref.hasError,
|
|
27
27
|
hasError = _ref$hasError === void 0 ? false : _ref$hasError,
|
|
28
28
|
_ref$inFocus = _ref.inFocus,
|
|
@@ -29,7 +29,7 @@ var SearchInput = exports.SearchInput = /*#__PURE__*/(0, _react.forwardRef)(func
|
|
|
29
29
|
isOnlyNumbers = _ref.isOnlyNumbers,
|
|
30
30
|
maxLength = _ref.maxLength,
|
|
31
31
|
_ref$size = _ref.size,
|
|
32
|
-
size = _ref$size === void 0 ? '
|
|
32
|
+
size = _ref$size === void 0 ? 'M' : _ref$size;
|
|
33
33
|
var _useInputFocus = (0, _useInputFocus2.useInputFocus)({
|
|
34
34
|
onFocus: onFocus,
|
|
35
35
|
onBlur: onBlur
|
|
@@ -28,7 +28,7 @@ var Input = exports.Input = function Input(_ref) {
|
|
|
28
28
|
isOpen = _ref.isOpen,
|
|
29
29
|
onReset = _ref.onReset,
|
|
30
30
|
_ref$size = _ref.size,
|
|
31
|
-
size = _ref$size === void 0 ? '
|
|
31
|
+
size = _ref$size === void 0 ? 'M' : _ref$size;
|
|
32
32
|
var isShowResetIcon = !!value && !!onReset;
|
|
33
33
|
return /*#__PURE__*/_react["default"].createElement(_InputLabel.InputLabel, {
|
|
34
34
|
inFocus: inFocus,
|
|
@@ -30,7 +30,7 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
|
|
|
30
30
|
type = _ref.type,
|
|
31
31
|
children = _ref.children,
|
|
32
32
|
_ref$size = _ref.size,
|
|
33
|
-
size = _ref$size === void 0 ? '
|
|
33
|
+
size = _ref$size === void 0 ? 'M' : _ref$size,
|
|
34
34
|
isOnlyNumbers = _ref.isOnlyNumbers,
|
|
35
35
|
autoFocus = _ref.autoFocus,
|
|
36
36
|
_ref$element = _ref.element,
|