@highlight-ui/button
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -52,3 +52,3 @@ 'use strict'; | ||
var styles = {"button":"Button-module__3Rp1BYXs__v3-1-1","buttonInner":"Button-module__3ZNLhdsJ__v3-1-1","iconOnly":"Button-module__3-vgpZJs__v3-1-1","block":"Button-module__1xc1DTHJ__v3-1-1","default":"Button-module__2Kmo3l-q__v3-1-1","focus":"Button-module__39s3axLP__v3-1-1","active":"Button-module__3WXlxxv-__v3-1-1","disabled":"Button-module__yB64MUUF__v3-1-1","primary":"Button-module__2nxVbZSO__v3-1-1","success":"Button-module__2WMN2Up2__v3-1-1","info":"Button-module__3Ll-h-cW__v3-1-1","warning":"Button-module__2Ma4TaUU__v3-1-1","warning-light":"Button-module__2HCrlzv6__v3-1-1","danger":"Button-module__3Eex2siA__v3-1-1","dark":"Button-module__MqwKA-Vc__v3-1-1","light":"Button-module__iJhDdOHm__v3-1-1","defaultOutline":"Button-module__2tKStPHe__v3-1-1","hover":"Button-module__YUN3Kf-p__v3-1-1","link":"Button-module__2KZcoTpE__v3-1-1"}; | ||
var styles = {"button":"Button-module__3Rp1BYXs__v3-1-2","buttonInner":"Button-module__3ZNLhdsJ__v3-1-2","iconOnly":"Button-module__3-vgpZJs__v3-1-2","block":"Button-module__1xc1DTHJ__v3-1-2","default":"Button-module__2Kmo3l-q__v3-1-2","focus":"Button-module__39s3axLP__v3-1-2","active":"Button-module__3WXlxxv-__v3-1-2","disabled":"Button-module__yB64MUUF__v3-1-2","primary":"Button-module__2nxVbZSO__v3-1-2","success":"Button-module__2WMN2Up2__v3-1-2","info":"Button-module__3Ll-h-cW__v3-1-2","warning":"Button-module__2Ma4TaUU__v3-1-2","warning-light":"Button-module__2HCrlzv6__v3-1-2","danger":"Button-module__3Eex2siA__v3-1-2","dark":"Button-module__MqwKA-Vc__v3-1-2","light":"Button-module__iJhDdOHm__v3-1-2","defaultOutline":"Button-module__2tKStPHe__v3-1-2","hover":"Button-module__YUN3Kf-p__v3-1-2","link":"Button-module__2KZcoTpE__v3-1-2"}; | ||
@@ -66,4 +66,4 @@ function ButtonWithRef(_a, ref) { | ||
}; | ||
return React__default['default'].createElement(tag, __assign(__assign(__assign({}, remainingProps), utilsCommons.parseMetadata(metadata)), { className: containerClass, disabled: disabled, onClick: disabled ? undefined : focusAwareOnClick, type: tag === 'button' ? type : undefined, ref: ref }), loading ? (React__default['default'].createElement(Icon__default['default'], { name: "spinner-third", size: 15, spin: true })) : (React__default['default'].createElement("div", { className: styles.buttonInner }, | ||
icon && React__default['default'].createElement(Icon__default['default'], { name: icon, size: 14 }), | ||
return React__default['default'].createElement(tag, __assign(__assign(__assign({}, remainingProps), utilsCommons.parseMetadata(metadata)), { className: containerClass, disabled: disabled, onClick: disabled ? undefined : focusAwareOnClick, type: tag === 'button' ? type : undefined, ref: ref }), loading ? (React__default['default'].createElement(Icon__default['default'], { name: "spinner-third", size: 15, spin: true, type: "solid" })) : (React__default['default'].createElement("div", { className: styles.buttonInner }, | ||
icon && React__default['default'].createElement(Icon__default['default'], { name: icon, size: 14, type: "solid" }), | ||
children && React__default['default'].createElement("div", { className: styles.buttonContent }, children)))); | ||
@@ -70,0 +70,0 @@ } |
@@ -44,3 +44,3 @@ import React from 'react'; | ||
var styles = {"button":"Button-module__3Rp1BYXs__v3-1-1","buttonInner":"Button-module__3ZNLhdsJ__v3-1-1","iconOnly":"Button-module__3-vgpZJs__v3-1-1","block":"Button-module__1xc1DTHJ__v3-1-1","default":"Button-module__2Kmo3l-q__v3-1-1","focus":"Button-module__39s3axLP__v3-1-1","active":"Button-module__3WXlxxv-__v3-1-1","disabled":"Button-module__yB64MUUF__v3-1-1","primary":"Button-module__2nxVbZSO__v3-1-1","success":"Button-module__2WMN2Up2__v3-1-1","info":"Button-module__3Ll-h-cW__v3-1-1","warning":"Button-module__2Ma4TaUU__v3-1-1","warning-light":"Button-module__2HCrlzv6__v3-1-1","danger":"Button-module__3Eex2siA__v3-1-1","dark":"Button-module__MqwKA-Vc__v3-1-1","light":"Button-module__iJhDdOHm__v3-1-1","defaultOutline":"Button-module__2tKStPHe__v3-1-1","hover":"Button-module__YUN3Kf-p__v3-1-1","link":"Button-module__2KZcoTpE__v3-1-1"}; | ||
var styles = {"button":"Button-module__3Rp1BYXs__v3-1-2","buttonInner":"Button-module__3ZNLhdsJ__v3-1-2","iconOnly":"Button-module__3-vgpZJs__v3-1-2","block":"Button-module__1xc1DTHJ__v3-1-2","default":"Button-module__2Kmo3l-q__v3-1-2","focus":"Button-module__39s3axLP__v3-1-2","active":"Button-module__3WXlxxv-__v3-1-2","disabled":"Button-module__yB64MUUF__v3-1-2","primary":"Button-module__2nxVbZSO__v3-1-2","success":"Button-module__2WMN2Up2__v3-1-2","info":"Button-module__3Ll-h-cW__v3-1-2","warning":"Button-module__2Ma4TaUU__v3-1-2","warning-light":"Button-module__2HCrlzv6__v3-1-2","danger":"Button-module__3Eex2siA__v3-1-2","dark":"Button-module__MqwKA-Vc__v3-1-2","light":"Button-module__iJhDdOHm__v3-1-2","defaultOutline":"Button-module__2tKStPHe__v3-1-2","hover":"Button-module__YUN3Kf-p__v3-1-2","link":"Button-module__2KZcoTpE__v3-1-2"}; | ||
@@ -58,4 +58,4 @@ function ButtonWithRef(_a, ref) { | ||
}; | ||
return React.createElement(tag, __assign(__assign(__assign({}, remainingProps), parseMetadata(metadata)), { className: containerClass, disabled: disabled, onClick: disabled ? undefined : focusAwareOnClick, type: tag === 'button' ? type : undefined, ref: ref }), loading ? (React.createElement(Icon, { name: "spinner-third", size: 15, spin: true })) : (React.createElement("div", { className: styles.buttonInner }, | ||
icon && React.createElement(Icon, { name: icon, size: 14 }), | ||
return React.createElement(tag, __assign(__assign(__assign({}, remainingProps), parseMetadata(metadata)), { className: containerClass, disabled: disabled, onClick: disabled ? undefined : focusAwareOnClick, type: tag === 'button' ? type : undefined, ref: ref }), loading ? (React.createElement(Icon, { name: "spinner-third", size: 15, spin: true, type: "solid" })) : (React.createElement("div", { className: styles.buttonInner }, | ||
icon && React.createElement(Icon, { name: icon, size: 14, type: "solid" }), | ||
children && React.createElement("div", { className: styles.buttonContent }, children)))); | ||
@@ -62,0 +62,0 @@ } |
{ | ||
"name": "@highlight-ui/button", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "The button", | ||
@@ -61,3 +61,3 @@ "author": "Personio GmbH", | ||
}, | ||
"gitHead": "27558c2985c1d79606457ba33e35372b567618a1" | ||
"gitHead": "3d560d522c84dcd906d40a18f428de3317a9a63f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
72084