@owlui/button
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -17,3 +17,5 @@ import "./owl.button.css"; | ||
$parcel$export($a61e43b4c6f05bdc$exports, "owlui-button-default_default", () => $a61e43b4c6f05bdc$export$7089dcdbd28bbfdf, (v) => $a61e43b4c6f05bdc$export$7089dcdbd28bbfdf = v); | ||
$parcel$export($a61e43b4c6f05bdc$exports, "owlui-button-default_default--primary", () => $a61e43b4c6f05bdc$export$753cec0aaf0b87a7, (v) => $a61e43b4c6f05bdc$export$753cec0aaf0b87a7 = v); | ||
$parcel$export($a61e43b4c6f05bdc$exports, "owlui-button-default_dark", () => $a61e43b4c6f05bdc$export$c34d447d6f5bc9b9, (v) => $a61e43b4c6f05bdc$export$c34d447d6f5bc9b9 = v); | ||
$parcel$export($a61e43b4c6f05bdc$exports, "owlui-button-default_dark--primary", () => $a61e43b4c6f05bdc$export$9e7925951cd25971, (v) => $a61e43b4c6f05bdc$export$9e7925951cd25971 = v); | ||
$parcel$export($a61e43b4c6f05bdc$exports, "owlui-button-default--large", () => $a61e43b4c6f05bdc$export$a3298c9e6a673728, (v) => $a61e43b4c6f05bdc$export$a3298c9e6a673728 = v); | ||
@@ -24,3 +26,5 @@ $parcel$export($a61e43b4c6f05bdc$exports, "owlui-button-default--medium", () => $a61e43b4c6f05bdc$export$a4738c89ca1d0550, (v) => $a61e43b4c6f05bdc$export$a4738c89ca1d0550 = v); | ||
var $a61e43b4c6f05bdc$export$7089dcdbd28bbfdf; | ||
var $a61e43b4c6f05bdc$export$753cec0aaf0b87a7; | ||
var $a61e43b4c6f05bdc$export$c34d447d6f5bc9b9; | ||
var $a61e43b4c6f05bdc$export$9e7925951cd25971; | ||
var $a61e43b4c6f05bdc$export$a3298c9e6a673728; | ||
@@ -31,3 +35,5 @@ var $a61e43b4c6f05bdc$export$a4738c89ca1d0550; | ||
$a61e43b4c6f05bdc$export$7089dcdbd28bbfdf = "owlui-button-default_default"; | ||
$a61e43b4c6f05bdc$export$753cec0aaf0b87a7 = "owlui-button-default_default--primary"; | ||
$a61e43b4c6f05bdc$export$c34d447d6f5bc9b9 = "owlui-button-default_dark"; | ||
$a61e43b4c6f05bdc$export$9e7925951cd25971 = "owlui-button-default_dark--primary"; | ||
$a61e43b4c6f05bdc$export$a3298c9e6a673728 = "owlui-button-default--large"; | ||
@@ -41,15 +47,15 @@ $a61e43b4c6f05bdc$export$a4738c89ca1d0550 = "owlui-button-default--medium"; | ||
const { children: children } = props; | ||
let modulePrefix = props.prefix; | ||
let theme = props.theme; | ||
let appearance = props.appearance; | ||
let theme = props.theme; | ||
let size = props.size; | ||
let modulePrefix = props.prefix; | ||
if (modulePrefix === undefined) modulePrefix = ''; | ||
if (theme === undefined) theme = 'default'; | ||
if (appearance === undefined) appearance = 'primary'; | ||
if (theme === undefined) theme = 'default'; | ||
if (size === undefined) size = 'medium'; | ||
if (modulePrefix === undefined) modulePrefix = ''; | ||
return(/*#__PURE__*/ $aHNt6$jsx("button", { | ||
className: [ | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($a61e43b4c6f05bdc$exports))[$acf3a94bec568781$var$baseClass], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($a61e43b4c6f05bdc$exports))[`${$acf3a94bec568781$var$baseClass}_${appearance}`], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($a61e43b4c6f05bdc$exports))[`${$acf3a94bec568781$var$baseClass}_${theme}`], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($a61e43b4c6f05bdc$exports))[`${$acf3a94bec568781$var$baseClass}_${theme}--${appearance}`], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($a61e43b4c6f05bdc$exports))[`${$acf3a94bec568781$var$baseClass}--${size}`] | ||
@@ -56,0 +62,0 @@ ].join(' '), |
@@ -26,3 +26,5 @@ require("./owl.button.css"); | ||
$parcel$export($57105bfc6396691f$exports, "owlui-button-default_default", () => $57105bfc6396691f$export$7089dcdbd28bbfdf, (v) => $57105bfc6396691f$export$7089dcdbd28bbfdf = v); | ||
$parcel$export($57105bfc6396691f$exports, "owlui-button-default_default--primary", () => $57105bfc6396691f$export$753cec0aaf0b87a7, (v) => $57105bfc6396691f$export$753cec0aaf0b87a7 = v); | ||
$parcel$export($57105bfc6396691f$exports, "owlui-button-default_dark", () => $57105bfc6396691f$export$c34d447d6f5bc9b9, (v) => $57105bfc6396691f$export$c34d447d6f5bc9b9 = v); | ||
$parcel$export($57105bfc6396691f$exports, "owlui-button-default_dark--primary", () => $57105bfc6396691f$export$9e7925951cd25971, (v) => $57105bfc6396691f$export$9e7925951cd25971 = v); | ||
$parcel$export($57105bfc6396691f$exports, "owlui-button-default--large", () => $57105bfc6396691f$export$a3298c9e6a673728, (v) => $57105bfc6396691f$export$a3298c9e6a673728 = v); | ||
@@ -33,3 +35,5 @@ $parcel$export($57105bfc6396691f$exports, "owlui-button-default--medium", () => $57105bfc6396691f$export$a4738c89ca1d0550, (v) => $57105bfc6396691f$export$a4738c89ca1d0550 = v); | ||
var $57105bfc6396691f$export$7089dcdbd28bbfdf; | ||
var $57105bfc6396691f$export$753cec0aaf0b87a7; | ||
var $57105bfc6396691f$export$c34d447d6f5bc9b9; | ||
var $57105bfc6396691f$export$9e7925951cd25971; | ||
var $57105bfc6396691f$export$a3298c9e6a673728; | ||
@@ -40,3 +44,5 @@ var $57105bfc6396691f$export$a4738c89ca1d0550; | ||
$57105bfc6396691f$export$7089dcdbd28bbfdf = "owlui-button-default_default"; | ||
$57105bfc6396691f$export$753cec0aaf0b87a7 = "owlui-button-default_default--primary"; | ||
$57105bfc6396691f$export$c34d447d6f5bc9b9 = "owlui-button-default_dark"; | ||
$57105bfc6396691f$export$9e7925951cd25971 = "owlui-button-default_dark--primary"; | ||
$57105bfc6396691f$export$a3298c9e6a673728 = "owlui-button-default--large"; | ||
@@ -50,15 +56,15 @@ $57105bfc6396691f$export$a4738c89ca1d0550 = "owlui-button-default--medium"; | ||
const { children: children } = props; | ||
let modulePrefix = props.prefix; | ||
let theme = props.theme; | ||
let appearance = props.appearance; | ||
let theme = props.theme; | ||
let size = props.size; | ||
let modulePrefix = props.prefix; | ||
if (modulePrefix === undefined) modulePrefix = ''; | ||
if (theme === undefined) theme = 'default'; | ||
if (appearance === undefined) appearance = 'primary'; | ||
if (theme === undefined) theme = 'default'; | ||
if (size === undefined) size = 'medium'; | ||
if (modulePrefix === undefined) modulePrefix = ''; | ||
return(/*#__PURE__*/ $UCHRt$reactjsxruntime.jsx("button", { | ||
className: [ | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($57105bfc6396691f$exports))[$e5f0f5050708947d$var$baseClass], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($57105bfc6396691f$exports))[`${$e5f0f5050708947d$var$baseClass}_${appearance}`], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($57105bfc6396691f$exports))[`${$e5f0f5050708947d$var$baseClass}_${theme}`], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($57105bfc6396691f$exports))[`${$e5f0f5050708947d$var$baseClass}_${theme}--${appearance}`], | ||
modulePrefix + (/*@__PURE__*/$parcel$interopDefault($57105bfc6396691f$exports))[`${$e5f0f5050708947d$var$baseClass}--${size}`] | ||
@@ -65,0 +71,0 @@ ].join(' '), |
{ | ||
"name": "@owlui/button", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "", | ||
@@ -34,6 +34,6 @@ "homepage": "https://github.com/EEBOS/owl-ui/tree/main/packages/button#readme", | ||
"dependencies": { | ||
"@owlui/theme": "^0.0.13", | ||
"@owlui/typings": "^0.0.13" | ||
"@owlui/theme": "^0.0.14", | ||
"@owlui/typings": "^0.0.14" | ||
}, | ||
"gitHead": "a36cc508b2c1553ec7edfcdd8acf0fca28127704" | ||
"gitHead": "dc47b6b0fdc163abdd8c8dffe63d8fa3aa45dc40" | ||
} |
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
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
28500
337
+ Added@owlui/theme@0.0.14(transitive)
+ Added@owlui/typings@0.0.14(transitive)
- Removed@owlui/theme@0.0.13(transitive)
- Removed@owlui/typings@0.0.13(transitive)
Updated@owlui/theme@^0.0.14
Updated@owlui/typings@^0.0.14