@opentinyvue/vue-button 3.22.1 → 3.24.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 +6 -3
- package/src/mobile-first.vue.d.ts +3 -0
- package/src/pc.vue.d.ts +3 -0
package/lib/mobile-first.js
CHANGED
|
@@ -64,7 +64,7 @@ var classes = {
|
|
|
64
64
|
"type-warning-plain": "text-color-warning border-color-warning hover:text-color-warning-hover hover:border-color-warning-hover active:text-color-warning-active active:border-color-warning-active bg-color-bg-1 sm:cursor-pointer",
|
|
65
65
|
"type-danger-plain": "text-color-error border-color-error hover:text-color-error-hover hover:border-color-error-hover active:text-color-error-active active:border-color-error-active bg-color-bg-1 sm:cursor-pointer",
|
|
66
66
|
"type-text-plain": "text-color-brand hover:text-color-brand-hover active:text-color-brand-active",
|
|
67
|
-
"type-default-plain-disabled": "text-color-text-disabled bg-color-bg-1 border-color-
|
|
67
|
+
"type-default-plain-disabled": "text-color-text-disabled bg-color-bg-1 border-color-border-disabled hover:cursor-not-allowed",
|
|
68
68
|
"type-primary-plain-disabled": "text-color-brand-disabled bg-color-bg-1 border-color-brand-disabled hover:cursor-not-allowed",
|
|
69
69
|
"type-success-plain-disabled": "text-color-success-disabled bg-color-bg-1 border-color-success-disabled hover:cursor-not-allowed",
|
|
70
70
|
"type-info-plain-disabled": "text-color-info-secondary-disabled bg-color-bg-1 border-color-info-secondary-disabled hover:cursor-not-allowed",
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-button",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.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.24.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~3.24.0",
|
|
12
|
+
"@opentinyvue/vue-renderless": "~3.24.0",
|
|
13
|
+
"@opentinyvue/vue-theme": "~3.24.0"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"types": "index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -72,10 +72,11 @@ export declare const buttonProps: {
|
|
|
72
72
|
type: PropType<(ev: MouseEvent) => void>;
|
|
73
73
|
};
|
|
74
74
|
tiny_mode: StringConstructor;
|
|
75
|
-
tiny_mode_root: BooleanConstructor;
|
|
75
|
+
tiny_mode_root: BooleanConstructor; /** 是否圆角按钮 */
|
|
76
76
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
77
77
|
tiny_renderless: FunctionConstructor;
|
|
78
78
|
tiny_theme: StringConstructor;
|
|
79
|
+
tiny_mcp_config: ObjectConstructor;
|
|
79
80
|
tiny_chart_theme: ObjectConstructor;
|
|
80
81
|
};
|
|
81
82
|
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
@@ -152,10 +153,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
152
153
|
type: PropType<(ev: MouseEvent) => void>;
|
|
153
154
|
};
|
|
154
155
|
tiny_mode: StringConstructor;
|
|
155
|
-
tiny_mode_root: BooleanConstructor;
|
|
156
|
+
tiny_mode_root: BooleanConstructor; /** 是否圆角按钮 */
|
|
156
157
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
157
158
|
tiny_renderless: FunctionConstructor;
|
|
158
159
|
tiny_theme: StringConstructor;
|
|
160
|
+
tiny_mcp_config: ObjectConstructor;
|
|
159
161
|
tiny_chart_theme: ObjectConstructor;
|
|
160
162
|
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
161
163
|
[key: string]: any;
|
|
@@ -233,10 +235,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
233
235
|
type: PropType<(ev: MouseEvent) => void>;
|
|
234
236
|
};
|
|
235
237
|
tiny_mode: StringConstructor;
|
|
236
|
-
tiny_mode_root: BooleanConstructor;
|
|
238
|
+
tiny_mode_root: BooleanConstructor; /** 是否圆角按钮 */
|
|
237
239
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
238
240
|
tiny_renderless: FunctionConstructor;
|
|
239
241
|
tiny_theme: StringConstructor;
|
|
242
|
+
tiny_mcp_config: ObjectConstructor;
|
|
240
243
|
tiny_chart_theme: ObjectConstructor;
|
|
241
244
|
}>>, {
|
|
242
245
|
disabled: boolean;
|
|
@@ -15,6 +15,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
15
15
|
_constants?: any;
|
|
16
16
|
tiny_theme?: any;
|
|
17
17
|
tiny_chart_theme?: any;
|
|
18
|
+
tiny_mcp_config?: any;
|
|
18
19
|
tabindex?: any;
|
|
19
20
|
round?: any;
|
|
20
21
|
resetTime?: any;
|
|
@@ -39,6 +40,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
39
40
|
_constants?: any;
|
|
40
41
|
tiny_theme?: any;
|
|
41
42
|
tiny_chart_theme?: any;
|
|
43
|
+
tiny_mcp_config?: any;
|
|
42
44
|
tabindex?: any;
|
|
43
45
|
round?: any;
|
|
44
46
|
resetTime?: any;
|
|
@@ -65,6 +67,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
65
67
|
readonly _constants?: any;
|
|
66
68
|
readonly tiny_theme?: any;
|
|
67
69
|
readonly tiny_chart_theme?: any;
|
|
70
|
+
readonly tiny_mcp_config?: any;
|
|
68
71
|
readonly tabindex?: any;
|
|
69
72
|
readonly round?: any;
|
|
70
73
|
readonly resetTime?: any;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
15
15
|
_constants?: any;
|
|
16
16
|
tiny_theme?: any;
|
|
17
17
|
tiny_chart_theme?: any;
|
|
18
|
+
tiny_mcp_config?: any;
|
|
18
19
|
tabindex?: any;
|
|
19
20
|
round?: any;
|
|
20
21
|
resetTime?: any;
|
|
@@ -38,6 +39,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
38
39
|
_constants?: any;
|
|
39
40
|
tiny_theme?: any;
|
|
40
41
|
tiny_chart_theme?: any;
|
|
42
|
+
tiny_mcp_config?: any;
|
|
41
43
|
tabindex?: any;
|
|
42
44
|
round?: any;
|
|
43
45
|
resetTime?: any;
|
|
@@ -63,6 +65,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
63
65
|
readonly _constants?: any;
|
|
64
66
|
readonly tiny_theme?: any;
|
|
65
67
|
readonly tiny_chart_theme?: any;
|
|
68
|
+
readonly tiny_mcp_config?: any;
|
|
66
69
|
readonly tabindex?: any;
|
|
67
70
|
readonly round?: any;
|
|
68
71
|
readonly resetTime?: any;
|