@opentinyvue/vue-button 2.26.0 → 2.27.0

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.
@@ -34,7 +34,7 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
34
34
 
35
35
  var classes = {
36
36
  "button": "inline-block text-center overflow-hidden overflow-ellipsis whitespace-nowrap transition-button duration-300 delay-[0ms] active:transition-all active:scale-[0.95] active:ease-[cubic-bezier(0.33,0,0.67,1)]",
37
- "button-base-width": "sm:max-w-[theme(spacing.36)]",
37
+ // 'button-base-width': 'sm:max-w-[theme(spacing.36)]',
38
38
  "size-default": "h-10 text-sm sm:h-7",
39
39
  "size-medium": "h-10 text-sm sm:h-8",
40
40
  "size-small": "h-8 text-sm sm:h-7",
@@ -100,7 +100,7 @@ var render = function render2() {
100
100
  var _h = _vm.$createElement;
101
101
  var _c = _vm._self._c || _h;
102
102
  return _c("button", _vm._b({
103
- class: _vm.m(_vm.gcls("button"), _vm.gcls(_vm.banner ? "button-banner" : "button-base-width"), _vm.gcls("size-" + (_vm.size || "default")), _vm.gcls("type-" + (_vm.type || "default") + (_vm.icon ? "-icon" : _vm.state.plain ? "-plain" : "") + (_vm.state.buttonDisabled || _vm.loading ? "-disabled" : "")), _vm.gcls(_vm.state.round ? "is-round" : "no-round"), _vm.gcls(_vm.circle ? "is-circle" : "no-circle"), _vm.gcls({
103
+ class: _vm.m(_vm.gcls("button"), _vm.gcls(_vm.banner ? "button-banner" : ""), _vm.gcls("size-" + (_vm.size || "default")), _vm.gcls("type-" + (_vm.type || "default") + (_vm.icon ? "-icon" : _vm.state.plain ? "-plain" : "") + (_vm.state.buttonDisabled || _vm.loading ? "-disabled" : "")), _vm.gcls(_vm.state.round ? "is-round" : "no-round"), _vm.gcls(_vm.circle ? "is-circle" : "no-circle"), _vm.gcls({
104
104
  "is-border": _vm.circle || !(_vm.type === "text" || _vm.icon)
105
105
  }), _vm.gcls({
106
106
  "button-link": _vm.href
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-button",
3
- "version": "2.26.0",
3
+ "version": "2.27.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-common": "~2.26.0",
11
- "@opentinyvue/vue-icon": "~2.26.0",
12
- "@opentinyvue/vue-renderless": "~3.26.0",
13
- "@opentinyvue/vue-theme": "~3.26.0"
10
+ "@opentinyvue/vue-common": "~2.27.0",
11
+ "@opentinyvue/vue-icon": "~2.27.0",
12
+ "@opentinyvue/vue-renderless": "~3.27.0",
13
+ "@opentinyvue/vue-theme": "~3.27.0"
14
14
  },
15
15
  "license": "MIT",
16
16
  "types": "index.d.ts",
package/src/token.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export declare const classes: {
2
2
  button: string;
3
- 'button-base-width': string;
4
3
  'size-default': string;
5
4
  'size-medium': string;
6
5
  'size-small': string;