@invisionag/iris-react-button-group
Advanced tools
Comparing version 4.3.28 to 4.3.29
@@ -127,3 +127,3 @@ module.exports = | ||
var StyledButtonGroup = external_styled_components_default()('div').withConfig({ | ||
const StyledButtonGroup = external_styled_components_default()('div').withConfig({ | ||
displayName: "styles__StyledButtonGroup", | ||
@@ -137,5 +137,3 @@ componentId: "hd4hzo-0" | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
@@ -145,10 +143,8 @@ | ||
var src_ButtonGroup = function ButtonGroup(_ref) { | ||
var children = _ref.children, | ||
className = _ref.className, | ||
props = _objectWithoutProperties(_ref, ["children", "className"]); | ||
var classNames = external_classnames_default()(['iris-button-group', className]); | ||
const ButtonGroup = ({ | ||
children, | ||
className, | ||
...props | ||
}) => { | ||
const classNames = external_classnames_default()(['iris-button-group', className]); | ||
return external_react_default.a.createElement(StyledButtonGroup, _extends({ | ||
@@ -159,8 +155,8 @@ className: classNames | ||
src_ButtonGroup.defaultProps = { | ||
ButtonGroup.defaultProps = { | ||
className: '' | ||
}; | ||
/* harmony default export */ var src = __webpack_exports__["default"] = (src_ButtonGroup); | ||
/* harmony default export */ var src = __webpack_exports__["default"] = (ButtonGroup); | ||
/***/ }) | ||
/******/ ]); |
{ | ||
"name": "@invisionag/iris-react-button-group", | ||
"version": "4.3.28", | ||
"version": "4.3.29", | ||
"main": "dist/index.js", | ||
@@ -11,3 +11,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@invisionag/iris-react-button": "^6.2.28" | ||
"@invisionag/iris-react-button": "^6.2.29" | ||
}, | ||
@@ -17,3 +17,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "1073ccb0ff0dfa260ef73af625bf231b457a3e7d" | ||
"gitHead": "3bbf8d39b7b9d568ec075c8f0b1a250ab257d6e1" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8357
175
1