@opentinyvue/vue-button 3.25.0 → 3.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 +1 -1
- package/package.json +5 -5
- package/src/index.d.ts +4 -4
package/lib/mobile-first.js
CHANGED
|
@@ -74,7 +74,7 @@ var classes = {
|
|
|
74
74
|
"no-round": "rounded",
|
|
75
75
|
"is-round": "rounded-full",
|
|
76
76
|
"is-border": "border-0.5 sm:border",
|
|
77
|
-
"no-circle": "sm:min-w-[theme(spacing.18)] pl-2 pr-2 leading-5",
|
|
77
|
+
"no-circle": "sm:min-w-[theme(spacing.18)] pl-2 pr-2 leading-5.5",
|
|
78
78
|
"is-circle": "sm:min-w-[theme(spacing.18)] sm:rounded-full sm:pl-2 sm:pr-2",
|
|
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",
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-button",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.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": "~3.
|
|
11
|
-
"@opentinyvue/vue-icon": "~3.
|
|
12
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
13
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-common": "~3.26.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~3.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;
|
|
@@ -163,7 +164,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
163
164
|
type: PropType<(ev: MouseEvent) => void>;
|
|
164
165
|
};
|
|
165
166
|
tiny_mode: StringConstructor;
|
|
166
|
-
tiny_mode_root: BooleanConstructor;
|
|
167
|
+
tiny_mode_root: BooleanConstructor;
|
|
167
168
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
168
169
|
tiny_renderless: FunctionConstructor;
|
|
169
170
|
tiny_theme: StringConstructor;
|
|
@@ -250,7 +251,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
250
251
|
type: PropType<(ev: MouseEvent) => void>;
|
|
251
252
|
};
|
|
252
253
|
tiny_mode: StringConstructor;
|
|
253
|
-
tiny_mode_root: BooleanConstructor;
|
|
254
|
+
tiny_mode_root: BooleanConstructor;
|
|
254
255
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
255
256
|
tiny_renderless: FunctionConstructor;
|
|
256
257
|
tiny_theme: StringConstructor;
|
|
@@ -265,7 +266,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
265
266
|
type: string;
|
|
266
267
|
loading: boolean;
|
|
267
268
|
circle: boolean;
|
|
268
|
-
onClick: any;
|
|
269
269
|
customClass: string;
|
|
270
270
|
tiny_mode_root: boolean;
|
|
271
271
|
tabindex: string;
|