Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@raiadrogasil/pulso-react-components

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raiadrogasil/pulso-react-components - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1-alhpa.0

15

Button/index.js

@@ -106,3 +106,10 @@ "use strict";

};
return (react_1.default.createElement(Button_styles_1.Container, { onClick: function (event) {
var mainElement = "pulso-button";
var mainClass = mainElement +
" pulso-button--" +
type +
" pulso-button--" +
size +
(inverse ? " pulso-button--inverse" : "");
return (react_1.default.createElement(Button_styles_1.Container, { className: mainClass, onClick: function (event) {
onClick ? onClick(event) : null;

@@ -113,3 +120,3 @@ }, onMouseDown: function (event) {

onMouseUp ? onMouseUp(event) : null;
}, disabled: disabled ? disabled : false, tabIndex: 0, autoFocus: autofocus ? autofocus : false, form: form ? form : undefined, formAction: formaction ? formaction : undefined, formEncType: formenctype ? formenctype : undefined, formMethod: formmethod ? formmethod : undefined, formNoValidate: formnovalidate ? formnovalidate : undefined, formTarget: formtarget ? formtarget : undefined, name: name ? name : undefined, type: buttonType ? buttonType : undefined, value: value ? value : undefined, "data-qa": dataQA ? dataQA : null, "data-collect": dataCollect ? dataCollect : null, "data-collect-info": dataCollectInfo ? dataCollectInfo : null, "data-testid": dataTestId ? dataTestId : null, size: size, buttonType: getButtonStyleType(type), className: "pulso-button" }, type === "icon-only" ||
}, disabled: disabled ? disabled : false, tabIndex: 0, autoFocus: autofocus ? autofocus : false, form: form ? form : undefined, formAction: formaction ? formaction : undefined, formEncType: formenctype ? formenctype : undefined, formMethod: formmethod ? formmethod : undefined, formNoValidate: formnovalidate ? formnovalidate : undefined, formTarget: formtarget ? formtarget : undefined, name: name ? name : undefined, type: buttonType ? buttonType : undefined, value: value ? value : undefined, "data-qa": dataQA ? dataQA : null, "data-collect": dataCollect ? dataCollect : null, "data-collect-info": dataCollectInfo ? dataCollectInfo : null, "data-testid": dataTestId ? dataTestId : null, size: size, buttonType: getButtonStyleType(type) }, type === "icon-only" ||
type === "secondary-icon-only" ||

@@ -119,8 +126,8 @@ type === "conversion-icon-only" ||

type === "white-icon-only" ? (iconName && react_1.default.createElement(Icon_1.default, { size: "medium", symbol: iconName })) : (react_1.default.createElement(react_1.default.Fragment, null,
icon === "leading-icon" && iconName && (react_1.default.createElement(Button_styles_1.IconHolderLeft, null,
icon === "leading-icon" && iconName && (react_1.default.createElement(Button_styles_1.IconHolderLeft, { className: mainElement + "__leading-icon" },
react_1.default.createElement(Icon_1.default, { size: "medium", symbol: iconName }))),
react_1.default.createElement(Button_styles_1.TextHolder, null, label),
icon === "step" && iconName && (react_1.default.createElement(Button_styles_1.IconHolderRight, null,
icon === "step" && iconName && (react_1.default.createElement(Button_styles_1.IconHolderRight, { className: mainElement + "__step" },
react_1.default.createElement(Icon_1.default, { size: "medium", symbol: iconName })))))));
}
exports.default = Button;

@@ -8,3 +8,3 @@ {

},
"version": "2.3.0",
"version": "2.3.1-alhpa.0",
"main": "./index.js",

@@ -11,0 +11,0 @@ "keywords": [

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