@ray-js/smart-ui 2.11.2-beta-3 → 2.11.2-beta-4
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface ComponentBase {
|
|
2
3
|
/**
|
|
3
4
|
* 标识符
|
|
@@ -7,5 +8,9 @@ export interface ComponentBase {
|
|
|
7
8
|
* css 类名
|
|
8
9
|
*/
|
|
9
10
|
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 样式
|
|
13
|
+
*/
|
|
14
|
+
style?: React.CSSProperties;
|
|
10
15
|
}
|
|
11
16
|
export type SmartComponent<Props = {}, Events = {}, EC = {}, Slot = {}> = ComponentBase & Props & Events & EC & Slot;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface ComponentBase {
|
|
2
3
|
/**
|
|
3
4
|
* 标识符
|
|
@@ -7,5 +8,9 @@ export interface ComponentBase {
|
|
|
7
8
|
* css 类名
|
|
8
9
|
*/
|
|
9
10
|
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 样式
|
|
13
|
+
*/
|
|
14
|
+
style?: React.CSSProperties;
|
|
10
15
|
}
|
|
11
16
|
export type SmartComponent<Props = {}, Events = {}, EC = {}, Slot = {}> = ComponentBase & Props & Events & EC & Slot;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.11.2-beta-
|
|
3
|
+
"version": "2.11.2-beta-4",
|
|
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.8",
|
|
45
|
-
"@tuya-miniapp/smart-ui": "2.11.2-beta-
|
|
45
|
+
"@tuya-miniapp/smart-ui": "2.11.2-beta-4",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|