Socket
Socket
Sign inDemoInstall

@happeouikit/buttons

Package Overview
Dependencies
Maintainers
10
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@happeouikit/buttons - npm Package Compare versions

Comparing version 1.0.11 to 1.0.13

8

CHANGELOG.md
# Changelog
## 1.0.13
- [Fixed] stop publishing the docs
## 1.0.10
- [Fixed] stop publishing the docs
## 1.0.9

@@ -4,0 +12,0 @@

16

dist/Buttons.js

@@ -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": {

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