@happeouikit/buttons
Advanced tools
Comparing version 1.0.11 to 1.0.13
# Changelog | ||
## 1.0.13 | ||
- [Fixed] stop publishing the docs | ||
## 1.0.10 | ||
- [Fixed] stop publishing the docs | ||
## 1.0.9 | ||
@@ -4,0 +12,0 @@ |
@@ -20,7 +20,7 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
if (props.iconPosition) { | ||
return React.createElement(IconStyle, { | ||
return /*#__PURE__*/React.createElement(IconStyle, { | ||
iconPosition: props.iconPosition | ||
}, React.createElement(Icon, iconDimensions)); | ||
}, /*#__PURE__*/React.createElement(Icon, iconDimensions)); | ||
} else { | ||
return React.createElement(Icon, iconDimensions); | ||
return /*#__PURE__*/React.createElement(Icon, iconDimensions); | ||
} | ||
@@ -53,8 +53,8 @@ } | ||
var Text = getTextComponent(size); | ||
return React.createElement("button", props, React.createElement(Wrapper, { | ||
return /*#__PURE__*/React.createElement("button", props, /*#__PURE__*/React.createElement(Wrapper, { | ||
iconPosition: iconPosition | ||
}, React.createElement("span", null, React.createElement(IconGen, { | ||
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(IconGen, { | ||
icon: icon, | ||
iconPosition: iconPosition | ||
})), React.createElement(Text, { | ||
})), /*#__PURE__*/React.createElement(Text, { | ||
color: "inherit" | ||
@@ -157,6 +157,6 @@ }, text))); | ||
}; | ||
return React.createElement(IconButtonBase, _extends({ | ||
return /*#__PURE__*/React.createElement(IconButtonBase, _extends({ | ||
className: className, | ||
isActionIcon: isActionIcon | ||
}, rest), React.createElement(Icon, iconDimensions), withMenu && React.createElement(IconArrowDropDown, null)); | ||
}, rest), /*#__PURE__*/React.createElement(Icon, iconDimensions), withMenu && /*#__PURE__*/React.createElement(IconArrowDropDown, null)); | ||
}; | ||
@@ -163,0 +163,0 @@ var IconButtonBase = styled.button.withConfig({ |
{ | ||
"name": "@happeouikit/buttons", | ||
"version": "1.0.11", | ||
"version": "1.0.13", | ||
"description": "", | ||
@@ -8,4 +8,3 @@ "main": "dist/index.js", | ||
"files": [ | ||
"dist", | ||
"docs" | ||
"dist" | ||
], | ||
@@ -19,5 +18,5 @@ "scripts": { | ||
"dependencies": { | ||
"@happeouikit/colors": "^1.0.1", | ||
"@happeouikit/icons": "^1.0.1", | ||
"@happeouikit/typography": "^1.0.3" | ||
"@happeouikit/colors": "^1.0.2", | ||
"@happeouikit/icons": "^1.0.29", | ||
"@happeouikit/typography": "^1.0.5" | ||
}, | ||
@@ -24,0 +23,0 @@ "peerDependencies": { |
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
11510
6
Updated@happeouikit/colors@^1.0.2
Updated@happeouikit/icons@^1.0.29