@ray-js/smart-ui 2.7.4-beta-1 → 2.7.4-beta-2
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.
|
@@ -30,6 +30,13 @@ export interface SmartLoadingProps {
|
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
32
32
|
vertical?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @description 图标颜色
|
|
35
|
+
* @version 2.7.4
|
|
36
|
+
*/
|
|
37
|
+
iconColor?: string;
|
|
33
38
|
}
|
|
34
39
|
export type SmartLoadingExternalClassName = SmartBaseExternalClassName;
|
|
35
|
-
export
|
|
40
|
+
export interface SmartLoadingSlots {
|
|
41
|
+
}
|
|
42
|
+
export type SmartLoading = SmartComponent<SmartLoadingProps, SmartLoadingSlots, SmartLoadingExternalClassName>;
|
|
@@ -81,6 +81,16 @@ export interface SmartToastOptions {
|
|
|
81
81
|
* @version v2.5.0
|
|
82
82
|
*/
|
|
83
83
|
nativeDisabled?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 文字颜色
|
|
86
|
+
* @version 2.7.4
|
|
87
|
+
*/
|
|
88
|
+
textColor?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 图标颜色
|
|
91
|
+
* @version 2.7.4
|
|
92
|
+
*/
|
|
93
|
+
iconColor?: string;
|
|
84
94
|
}
|
|
85
95
|
export declare interface ToastInstance extends SmartToast {
|
|
86
96
|
setData(options: SmartToastOptions): void;
|
|
@@ -30,6 +30,13 @@ export interface SmartLoadingProps {
|
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
32
32
|
vertical?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @description 图标颜色
|
|
35
|
+
* @version 2.7.4
|
|
36
|
+
*/
|
|
37
|
+
iconColor?: string;
|
|
33
38
|
}
|
|
34
39
|
export type SmartLoadingExternalClassName = SmartBaseExternalClassName;
|
|
35
|
-
export
|
|
40
|
+
export interface SmartLoadingSlots {
|
|
41
|
+
}
|
|
42
|
+
export type SmartLoading = SmartComponent<SmartLoadingProps, SmartLoadingSlots, SmartLoadingExternalClassName>;
|
|
@@ -81,6 +81,16 @@ export interface SmartToastOptions {
|
|
|
81
81
|
* @version v2.5.0
|
|
82
82
|
*/
|
|
83
83
|
nativeDisabled?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 文字颜色
|
|
86
|
+
* @version 2.7.4
|
|
87
|
+
*/
|
|
88
|
+
textColor?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 图标颜色
|
|
91
|
+
* @version 2.7.4
|
|
92
|
+
*/
|
|
93
|
+
iconColor?: string;
|
|
84
94
|
}
|
|
85
95
|
export declare interface ToastInstance extends SmartToast {
|
|
86
96
|
setData(options: SmartToastOptions): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.7.4-beta-
|
|
3
|
+
"version": "2.7.4-beta-2",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ray-js/components-ty-slider": "^0.3.4",
|
|
45
|
-
"@tuya-miniapp/smart-ui": "2.7.4-beta-
|
|
45
|
+
"@tuya-miniapp/smart-ui": "2.7.4-beta-5",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|