@decisiv/ui-components 2.0.1-alpha.178 → 2.0.1-alpha.180

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.
@@ -78,8 +78,9 @@ var sizeToPaddingX = {
78
78
  };
79
79
 
80
80
  var buttonSizeModifier = function buttonSizeModifier(_ref) {
81
- var size = _ref.size;
82
- return (0, _styledComponents.css)(["font-size:", ";height:", ";padding:0 ", ";"], (0, _rem.default)(sizeToScalarSize[size]), sizeToHeight[size], sizeToPaddingX[size]);
81
+ var size = _ref.size,
82
+ variant = _ref.variant;
83
+ return (0, _styledComponents.css)(["font-size:", ";height:", ";padding:0 ", ";"], (0, _rem.default)(sizeToScalarSize[size]), sizeToHeight[size], variant !== 'ghost' && sizeToPaddingX[size]);
83
84
  };
84
85
 
85
86
  var disabledStyles = function disabledStyles(_ref2) {
@@ -480,7 +480,7 @@ function Combobox(props, ref) {
480
480
  return undefined;
481
481
  }, [internalInputValue, loading, options, translate]);
482
482
  var selectedValuesIds = selectedValues ? selectedValues.map(function (elem) {
483
- return elem.id || '';
483
+ return elem && elem.id || '';
484
484
  }) : undefined;
485
485
  return _react.default.createElement(StyledInputDiv, {
486
486
  maxWidth: maxWidth
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decisiv/ui-components",
3
- "version": "2.0.1-alpha.178+7978735",
3
+ "version": "2.0.1-alpha.180+b4640b4",
4
4
  "description": "Decisiv's design system React components",
5
5
  "author": "Decisiv UI Development Team",
6
6
  "license": "MIT",
@@ -71,5 +71,5 @@
71
71
  "access": "public"
72
72
  },
73
73
  "private": false,
74
- "gitHead": "797873560822df50197eb9218de314ad7ad5d4f3"
74
+ "gitHead": "b4640b45eea5f7d49396c73e4a31fae11360b365"
75
75
  }