@ray-js/smart-ui 2.7.4-beta-0 → 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 type SmartLoading = SmartComponent<SmartLoadingProps, {}, SmartLoadingExternalClassName>;
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;
@@ -73,7 +73,7 @@ export interface SmartCircleProps {
73
73
  trackWidth?: number;
74
74
  /**
75
75
  * 遮罩颜色
76
- * @default #ffffff
76
+ * @default transparent
77
77
  */
78
78
  maskColor?: string;
79
79
  /**
@@ -81,5 +81,11 @@ export interface SmartCircleProps {
81
81
  * @default #d3d3d3
82
82
  */
83
83
  trackColor?: string;
84
+ /**
85
+ * 角度偏移量
86
+ * @default -1
87
+ * @version 2.7.4
88
+ */
89
+ angleOffset?: number;
84
90
  }
85
91
  export type SmartCircle = SmartComponent<SmartCircleProps>;
@@ -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 type SmartLoading = SmartComponent<SmartLoadingProps, {}, SmartLoadingExternalClassName>;
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;
@@ -73,7 +73,7 @@ export interface SmartCircleProps {
73
73
  trackWidth?: number;
74
74
  /**
75
75
  * 遮罩颜色
76
- * @default #ffffff
76
+ * @default transparent
77
77
  */
78
78
  maskColor?: string;
79
79
  /**
@@ -81,5 +81,11 @@ export interface SmartCircleProps {
81
81
  * @default #d3d3d3
82
82
  */
83
83
  trackColor?: string;
84
+ /**
85
+ * 角度偏移量
86
+ * @default -1
87
+ * @version 2.7.4
88
+ */
89
+ angleOffset?: number;
84
90
  }
85
91
  export type SmartCircle = SmartComponent<SmartCircleProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.7.4-beta-0",
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-0",
45
+ "@tuya-miniapp/smart-ui": "2.7.4-beta-5",
46
46
  "lodash-es": "^4.17.21"
47
47
  },
48
48
  "devDependencies": {
@@ -53,7 +53,7 @@
53
53
  "@ray-js/code-sandbox": "^0.0.5",
54
54
  "@ray-js/panel-sdk": "^1.13.0",
55
55
  "@ray-js/ray": "^1.5.34",
56
- "@tuya-miniapp/icons": "^2.1.0",
56
+ "@tuya-miniapp/icons": "^2.3.0",
57
57
  "@types/fs-extra": "^9.0.13",
58
58
  "@types/lodash-es": "^4.17.12",
59
59
  "@types/react": "^17.0.25",