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

@10play/phoenix-button

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@10play/phoenix-button - npm Package Compare versions

Comparing version 2.0.19 to 2.0.20

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.20](https://github.com/davixyz/phoenix/compare/v2.0.19...v2.0.20) (2021-04-18)
**Note:** Version bump only for package @10play/phoenix-button
## [2.0.19](https://github.com/davixyz/phoenix/compare/v2.0.18...v2.0.19) (2021-04-18)

@@ -8,0 +16,0 @@

8

dist/phoenix-button.cjs.js

@@ -196,6 +196,8 @@ 'use strict';

isBusy = _ref.isBusy,
className = _ref.className;
return /*#__PURE__*/React__default['default'].createElement("button", {
className = _ref.className,
props = _objectWithoutProperties(_ref, ["children", "isBusy", "className"]);
return /*#__PURE__*/React__default['default'].createElement("button", _extends({}, props, {
className: className
}, /*#__PURE__*/React__default['default'].createElement("div", {
}), /*#__PURE__*/React__default['default'].createElement("div", {
className: "button-content"

@@ -202,0 +204,0 @@ }, isBusy ? /*#__PURE__*/React__default['default'].createElement(Spinner, null) : children));

@@ -187,6 +187,8 @@ import React from 'react';

isBusy = _ref.isBusy,
className = _ref.className;
return /*#__PURE__*/React.createElement("button", {
className = _ref.className,
props = _objectWithoutProperties(_ref, ["children", "isBusy", "className"]);
return /*#__PURE__*/React.createElement("button", _extends({}, props, {
className: className
}, /*#__PURE__*/React.createElement("div", {
}), /*#__PURE__*/React.createElement("div", {
className: "button-content"

@@ -193,0 +195,0 @@ }, isBusy ? /*#__PURE__*/React.createElement(Spinner, null) : children));

import React from 'react';
import styled from 'styled-components';
const ButtonContainer = ({ children, isBusy, className }) => (
<button className={className}>
const ButtonContainer = ({ children, isBusy, className, ...props }) => (
<button {...props} className={className}>
<div className="button-content">

@@ -7,0 +7,0 @@ {isBusy ? <Spinner /> : children}

{
"name": "@10play/phoenix-button",
"version": "2.0.19",
"version": "2.0.20",
"description": "> TODO: description",

@@ -43,3 +43,3 @@ "author": "ZBejavu <67857471+ZBejavu@users.noreply.github.com>",

},
"gitHead": "34578115545df7da0f36d5a7d79d82389ddd2007"
"gitHead": "7bbe987934a7d9e11c9f42d9ca045f500af5272b"
}
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