@pathscale/ui 0.0.62 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4223,7 +4223,7 @@ const Button = (props)=>{
|
|
|
4223
4223
|
"aria-haspopup",
|
|
4224
4224
|
"aria-role"
|
|
4225
4225
|
]);
|
|
4226
|
-
const classes = ()=>twMerge("btn",
|
|
4226
|
+
const classes = ()=>twMerge("btn", clsx((local.startIcon && !local.loading || local.endIcon) && "gap-2", {
|
|
4227
4227
|
"btn-xl": "xl" === local.size,
|
|
4228
4228
|
"btn-lg": "lg" === local.size,
|
|
4229
4229
|
"btn-md": "md" === local.size,
|
|
@@ -4251,7 +4251,7 @@ const Button = (props)=>{
|
|
|
4251
4251
|
"no-animation": !local.animation,
|
|
4252
4252
|
"btn-active": local.active,
|
|
4253
4253
|
"btn-disabled": local.disabled
|
|
4254
|
-
}));
|
|
4254
|
+
}), local.class, local.className);
|
|
4255
4255
|
const Tag = local.as || "button";
|
|
4256
4256
|
if (Button_VoidElementList.includes(Tag)) return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
4257
4257
|
component: Tag
|