@invoicebox/ui 0.1.0-alpha.283 → 0.1.0-alpha.284

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,14 +58,10 @@ var SearchInput = exports.SearchInput = /*#__PURE__*/(0, _react.forwardRef)(func
58
58
  }
59
59
  }, [placeholder, useModernStyles, inFocus]);
60
60
  var inputLabel = (0, _react.useMemo)(function () {
61
- if (useModernStyles) {
62
- if (value || inFocus) {
63
- return placeholder;
64
- } else {
65
- return undefined;
66
- }
67
- } else {
61
+ if (useModernStyles && (value || inFocus)) {
68
62
  return placeholder;
63
+ } else {
64
+ return undefined;
69
65
  }
70
66
  }, [inFocus, placeholder, value, useModernStyles]);
71
67
  return /*#__PURE__*/_react["default"].createElement(_InputLabel.InputLabel, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicebox/ui",
3
- "version": "0.1.0-alpha.283",
3
+ "version": "0.1.0-alpha.284",
4
4
  "description": "Invoicebox UI",
5
5
  "license": "Apache License 2.0",
6
6
  "scripts": {