@bdt-component-library/button-icon
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -30,4 +30,4 @@ import React__default__default, { createElement } from 'react'; | ||
var css_248z = ".bui-3RRsQk{min-width:0}.bui-3RRsQk span{top:0}.bui-3RRsQk svg{margin:0;padding:0;max-height:none}.bui-1r9-2B{height:32px;width:32px}.bui-1r9-2B svg{height:16px;width:16px}.bui-3pn5-j{height:48px;width:48px}.bui-3pn5-j svg{height:20px;width:20px}.bui-EpTbPq{height:72px;width:72px}.bui-EpTbPq svg{height:32px;width:32px}.bui-2IAIC4{border-radius:9999px}"; | ||
var Styles = {"buttonIcon":"bui-3RRsQk","small":"bui-1r9-2B","medium":"bui-3pn5-j","large":"bui-EpTbPq","circle":"bui-2IAIC4"}; | ||
var css_248z = ".bui-22VB-3{min-width:0!important}.bui-22VB-3 span{top:0}.bui-22VB-3 svg{margin:0;padding:0;max-height:none}.bui-1r9-2B{height:32px;width:32px}.bui-1r9-2B svg{height:16px;width:16px}.bui-3pn5-j{height:48px;width:48px}.bui-3pn5-j svg{height:20px;width:20px}.bui-EpTbPq{height:72px;width:72px}.bui-EpTbPq svg{height:32px;width:32px}.bui-2IAIC4{border-radius:9999px}"; | ||
var Styles = {"button-icon":"bui-22VB-3","small":"bui-1r9-2B","medium":"bui-3pn5-j","large":"bui-EpTbPq","circle":"bui-2IAIC4"}; | ||
styleInject(css_248z); | ||
@@ -162,7 +162,7 @@ | ||
const classNames$1 = require("classNames"); | ||
const classNames$1 = require("classnames"); | ||
const ButtonIcon = props => { | ||
const { variant = "solid", className, disabled, loading, icon, onClick, label, shape = "circle", size = "small" } = props; | ||
return (createElement(Button, { variant: variant, className: classNames$1({ | ||
[Styles.buttonIcon]: true, | ||
[Styles["button-icon"]]: true, | ||
[Styles[size]]: true, | ||
@@ -169,0 +169,0 @@ [Styles[shape]]: true, |
@@ -37,4 +37,4 @@ 'use strict'; | ||
var css_248z = ".bui-3RRsQk{min-width:0}.bui-3RRsQk span{top:0}.bui-3RRsQk svg{margin:0;padding:0;max-height:none}.bui-1r9-2B{height:32px;width:32px}.bui-1r9-2B svg{height:16px;width:16px}.bui-3pn5-j{height:48px;width:48px}.bui-3pn5-j svg{height:20px;width:20px}.bui-EpTbPq{height:72px;width:72px}.bui-EpTbPq svg{height:32px;width:32px}.bui-2IAIC4{border-radius:9999px}"; | ||
var Styles = {"buttonIcon":"bui-3RRsQk","small":"bui-1r9-2B","medium":"bui-3pn5-j","large":"bui-EpTbPq","circle":"bui-2IAIC4"}; | ||
var css_248z = ".bui-22VB-3{min-width:0!important}.bui-22VB-3 span{top:0}.bui-22VB-3 svg{margin:0;padding:0;max-height:none}.bui-1r9-2B{height:32px;width:32px}.bui-1r9-2B svg{height:16px;width:16px}.bui-3pn5-j{height:48px;width:48px}.bui-3pn5-j svg{height:20px;width:20px}.bui-EpTbPq{height:72px;width:72px}.bui-EpTbPq svg{height:32px;width:32px}.bui-2IAIC4{border-radius:9999px}"; | ||
var Styles = {"button-icon":"bui-22VB-3","small":"bui-1r9-2B","medium":"bui-3pn5-j","large":"bui-EpTbPq","circle":"bui-2IAIC4"}; | ||
styleInject(css_248z); | ||
@@ -169,7 +169,7 @@ | ||
const classNames$1 = require("classNames"); | ||
const classNames$1 = require("classnames"); | ||
const ButtonIcon = props => { | ||
const { variant = "solid", className, disabled, loading, icon, onClick, label, shape = "circle", size = "small" } = props; | ||
return (React__default.createElement(Button, { variant: variant, className: classNames$1({ | ||
[Styles.buttonIcon]: true, | ||
[Styles["button-icon"]]: true, | ||
[Styles[size]]: true, | ||
@@ -176,0 +176,0 @@ [Styles[shape]]: true, |
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "0.1.2", | ||
"tag": "@bdt-component-library/button-icon_v0.1.2", | ||
"date": "Tue, 23 Feb 2021 20:14:08 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Fix button icon sizing" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "0.1.1", | ||
@@ -7,0 +19,0 @@ "tag": "@bdt-component-library/button-icon_v0.1.1", |
# Change Log - @bdt-component-library/button-icon | ||
This log was last generated on Thu, 18 Feb 2021 17:07:42 GMT and should not be manually modified. | ||
This log was last generated on Tue, 23 Feb 2021 20:14:08 GMT and should not be manually modified. | ||
## 0.1.2 | ||
Tue, 23 Feb 2021 20:14:08 GMT | ||
### Patches | ||
- Fix button icon sizing | ||
## 0.1.1 | ||
@@ -6,0 +13,0 @@ Thu, 18 Feb 2021 17:07:42 GMT |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "ButtonIcon component", | ||
@@ -30,3 +30,3 @@ "author": "BDT", | ||
"prettier:check": "prettier --list-different *.{js,ts,tsx,css}", | ||
"safe-push": "yarn test && yarn lint:all && yarn build", | ||
"pre-publish": "yarn test && yarn lint && yarn build", | ||
"stylelint:check": "stylelint \"*.css\"", | ||
@@ -39,3 +39,3 @@ "test": "jest", | ||
"pre-push": [ | ||
"npm run safe-push" | ||
"npm run pre-publish" | ||
] | ||
@@ -42,0 +42,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
64310
491