@opentinyvue/vue-button 2.25.0 → 2.26.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.
- package/lib/mobile-first.js +3 -3
- package/lib/pc.js +2 -2
- package/package.json +5 -5
- package/src/index.d.ts +2 -1
package/lib/mobile-first.js
CHANGED
|
@@ -70,7 +70,7 @@ var classes = {
|
|
|
70
70
|
"no-round": "rounded",
|
|
71
71
|
"is-round": "rounded-full",
|
|
72
72
|
"is-border": "border-0.5 sm:border",
|
|
73
|
-
"no-circle": "sm:min-w-[theme(spacing.18)] pl-2 pr-2 leading-5",
|
|
73
|
+
"no-circle": "sm:min-w-[theme(spacing.18)] pl-2 pr-2 leading-5.5",
|
|
74
74
|
"is-circle": "sm:min-w-[theme(spacing.18)] sm:rounded-full sm:pl-2 sm:pr-2",
|
|
75
75
|
"button-icon": "-mt-0.5 sm:text-base fill-current",
|
|
76
76
|
"button-icon-default": "text-color-icon-primary hover:text-color-icon-hover active:text-color-icon-active",
|
|
@@ -133,8 +133,8 @@ function __vue2_injectStyles(context) {
|
|
|
133
133
|
this[o] = __cssModules[o];
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
var mobileFirst = /* @__PURE__ */ function() {
|
|
136
|
+
var mobileFirst = /* @__PURE__ */ (function() {
|
|
137
137
|
return __component__.exports;
|
|
138
|
-
}();
|
|
138
|
+
})();
|
|
139
139
|
|
|
140
140
|
export { mobileFirst as default };
|
package/lib/pc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-button",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.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.
|
|
11
|
-
"@opentinyvue/vue-icon": "~2.
|
|
12
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
13
|
-
"@opentinyvue/vue-theme": "~3.
|
|
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"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"types": "index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PropType } from '@opentinyvue/vue-common';
|
|
1
2
|
export declare const buttonProps: {
|
|
2
3
|
/** 展示按钮不同的状态,设置为text则展示为文本按钮。可取值为:'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text' */
|
|
3
4
|
type: {
|
|
@@ -77,7 +78,7 @@ export declare const buttonProps: {
|
|
|
77
78
|
type: PropType<(ev: MouseEvent) => void>;
|
|
78
79
|
};
|
|
79
80
|
tiny_mode: StringConstructor;
|
|
80
|
-
tiny_mode_root: BooleanConstructor;
|
|
81
|
+
tiny_mode_root: BooleanConstructor;
|
|
81
82
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
82
83
|
tiny_renderless: FunctionConstructor;
|
|
83
84
|
tiny_theme: StringConstructor;
|