Socket
Socket
Sign inDemoInstall

vcc-ui

Package Overview
Dependencies
Maintainers
12
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vcc-ui - npm Package Compare versions

Comparing version 3.9.0 to 3.9.1

6

dist/components/icon-button/IconButton.js

@@ -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,

5

dist/components/icon/Icon.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc