Comparing version 3.9.0 to 3.9.1
@@ -65,3 +65,5 @@ "use strict"; | ||
src: defaultIcon, | ||
role: "presentation", | ||
className: css({ | ||
display: 'inline-block', | ||
backgroundPosition: 'center', | ||
@@ -71,3 +73,5 @@ backgroundSize: `${(0, _sizeToRem.pxToRem)(iconSize)} ${(0, _sizeToRem.pxToRem)(iconSize)}`, | ||
height: (0, _sizeToRem.pxToRem)(iconSize), | ||
width: (0, _sizeToRem.pxToRem)(iconSize) | ||
width: (0, _sizeToRem.pxToRem)(iconSize), | ||
// Workaround Chrome bug with SVG <view> rendering | ||
objectFit: 'fill' | ||
}), | ||
@@ -74,0 +78,0 @@ height: iconSize, |
@@ -32,4 +32,7 @@ "use strict"; | ||
className: css({ | ||
display: 'inline-block', | ||
width: (0, _sizeToRem.pxToRem)(size), | ||
height: (0, _sizeToRem.pxToRem)(size) | ||
height: (0, _sizeToRem.pxToRem)(size), | ||
// Workaround Chrome bug with SVG <view> rendering | ||
objectFit: 'fill' | ||
}) | ||
@@ -36,0 +39,0 @@ }); |
@@ -87,5 +87,6 @@ "use strict"; | ||
'aria-describedby': describedBy | ||
}), (isEmpty || allowEmpty) && /*#__PURE__*/_react.default.createElement("option", { | ||
}), /*#__PURE__*/_react.default.createElement("option", { | ||
disabled: !allowEmpty, | ||
value: "" | ||
value: "", | ||
hidden: !(isEmpty || allowEmpty) | ||
}), children), /*#__PURE__*/_react.default.createElement(_block.Block, { | ||
@@ -92,0 +93,0 @@ as: "label", |
@@ -56,3 +56,5 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
src: defaultIcon, | ||
role: "presentation", | ||
className: css({ | ||
display: 'inline-block', | ||
backgroundPosition: 'center', | ||
@@ -62,3 +64,5 @@ backgroundSize: `${pxToRem(iconSize)} ${pxToRem(iconSize)}`, | ||
height: pxToRem(iconSize), | ||
width: pxToRem(iconSize) | ||
width: pxToRem(iconSize), | ||
// Workaround Chrome bug with SVG <view> rendering | ||
objectFit: 'fill' | ||
}), | ||
@@ -65,0 +69,0 @@ height: iconSize, |
@@ -25,4 +25,7 @@ import React from 'react'; | ||
className: css({ | ||
display: 'inline-block', | ||
width: pxToRem(size), | ||
height: pxToRem(size) | ||
height: pxToRem(size), | ||
// Workaround Chrome bug with SVG <view> rendering | ||
objectFit: 'fill' | ||
}) | ||
@@ -29,0 +32,0 @@ }); |
@@ -80,5 +80,6 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
'aria-describedby': describedBy | ||
}), (isEmpty || allowEmpty) && /*#__PURE__*/React.createElement("option", { | ||
}), /*#__PURE__*/React.createElement("option", { | ||
disabled: !allowEmpty, | ||
value: "" | ||
value: "", | ||
hidden: !(isEmpty || allowEmpty) | ||
}), children), /*#__PURE__*/React.createElement(Block, { | ||
@@ -85,0 +86,0 @@ as: "label", |
{ | ||
"name": "vcc-ui", | ||
"version": "3.9.0", | ||
"version": "3.9.1", | ||
"license": "UNLICENSED", | ||
@@ -89,3 +89,3 @@ "description": "A React library for building user interfaces at Volvo Cars", | ||
"shelljs": "0.8.5", | ||
"typescript": "4.9.3", | ||
"typescript": "4.9.4", | ||
"vcc-ui-docs-utils": "workspace:*" | ||
@@ -92,0 +92,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
533292
15339