@invoicebox/ui 0.1.0-alpha.306 → 0.1.0-alpha.308

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.
@@ -9,7 +9,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
9
9
  var Wrapper = exports.Wrapper = _styledComponents["default"].div.withConfig({
10
10
  displayName: "styles__Wrapper",
11
11
  componentId: "sc-1fp3ia8-0"
12
- })(["position:relative;box-sizing:border-box;"]);
12
+ })(["position:relative;box-sizing:border-box;width:100%;"]);
13
13
  var OptionContainer = exports.OptionContainer = _styledComponents["default"].div.withConfig({
14
14
  displayName: "styles__OptionContainer",
15
15
  componentId: "sc-1fp3ia8-1"
@@ -61,7 +61,7 @@ var PureInput = exports.PureInput = /*#__PURE__*/_react["default"].forwardRef(fu
61
61
  $paddingBottom: paddingBottom,
62
62
  $hasError: hasError,
63
63
  $inFocus: inFocus,
64
- $hasBorder: hasBorder && !useModernStyles,
64
+ $hasBorder: hasBorder && (!useModernStyles || hasError),
65
65
  $palette: palette,
66
66
  $borderRadius: borderRadius,
67
67
  onChange: handleChange,
@@ -2,7 +2,7 @@ import styled from 'styled-components';
2
2
  export var Wrapper = styled.div.withConfig({
3
3
  displayName: "styles__Wrapper",
4
4
  componentId: "sc-1fp3ia8-0"
5
- })(["position:relative;box-sizing:border-box;"]);
5
+ })(["position:relative;box-sizing:border-box;width:100%;"]);
6
6
  export var OptionContainer = styled.div.withConfig({
7
7
  displayName: "styles__OptionContainer",
8
8
  componentId: "sc-1fp3ia8-1"
@@ -52,7 +52,7 @@ export var PureInput = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
52
52
  $paddingBottom: paddingBottom,
53
53
  $hasError: hasError,
54
54
  $inFocus: inFocus,
55
- $hasBorder: hasBorder && !useModernStyles,
55
+ $hasBorder: hasBorder && (!useModernStyles || hasError),
56
56
  $palette: palette,
57
57
  $borderRadius: borderRadius,
58
58
  onChange: handleChange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invoicebox/ui",
3
- "version": "0.1.0-alpha.306",
3
+ "version": "0.1.0-alpha.308",
4
4
  "description": "Invoicebox UI",
5
5
  "license": "Apache License 2.0",
6
6
  "scripts": {