@opentinyvue/vue-button 3.22.0 → 3.22.1

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/lib/index.js CHANGED
@@ -114,7 +114,7 @@ var Button = defineComponent({
114
114
  });
115
115
  }
116
116
  });
117
- var version = "3.22.0";
117
+ var version = "3.undefined";
118
118
  Button.install = function(Vue) {
119
119
  Vue.component(Button.name, Button);
120
120
  };
@@ -79,7 +79,7 @@ var classes = {
79
79
  "button-icon": "-mt-0.5 sm:text-base fill-current",
80
80
  "button-icon-default": "text-color-icon-primary hover:text-color-icon-hover active:text-color-icon-active",
81
81
  "button-icon-disabled": "text-color-icon-disabled hover:cursor-not-allowed",
82
- "loading-svg": "animate-spin-2 mr-1 fill-current -left-0.5 -right-0.5 -top-0.5 -bottom-0.5",
82
+ "loading-svg": "animate-spin mr-1 fill-current -left-0.5 -right-0.5 -top-0.5 -bottom-0.5",
83
83
  "button-link": "text-color-link hover:text-color-link-hover active:color-link-hover active:hover:text-color-link-hover sm:hover:text-color-link-hover",
84
84
  "button-banner": " w-[calc(100%-theme(spacing.8))] mx-4"
85
85
  };
@@ -110,7 +110,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
110
110
  disabled: _ctx.state.buttonDisabled || _ctx.loading,
111
111
  autofocus: _ctx.autofocus,
112
112
  type: _ctx.nativeType,
113
- class: _ctx.m(_ctx.gcls("button"), _ctx.gcls(_ctx.banner ? "button-banner" : "button-base-width"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + (_ctx.state.buttonDisabled ? "-disabled" : "")), _ctx.gcls(_ctx.state.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({
113
+ class: _ctx.m(_ctx.gcls("button"), _ctx.gcls(_ctx.banner ? "button-banner" : "button-base-width"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + (_ctx.state.buttonDisabled || _ctx.loading ? "-disabled" : "")), _ctx.gcls(_ctx.state.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({
114
114
  "is-border": _ctx.circle || !(_ctx.type === "text" || _ctx.icon)
115
115
  }), _ctx.gcls({
116
116
  "button-link": _ctx.href
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-button",
3
- "version": "3.22.0",
3
+ "version": "3.22.1",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",