@ray-js/smart-ui 2.3.3 → 2.3.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.
|
@@ -33,6 +33,10 @@ export interface SmartTabbarItemProps {
|
|
|
33
33
|
* 链接跳转类型,可选值为 redirectTo、switchTab、reLaunch
|
|
34
34
|
*/
|
|
35
35
|
linkType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 是否禁用
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
36
40
|
}
|
|
37
41
|
export interface SmartTabbarItemSlot {
|
|
38
42
|
/**
|
|
@@ -49,4 +53,7 @@ export interface SmartTabbarItemSlot {
|
|
|
49
53
|
iconActive?: React.ReactNode;
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
|
-
export
|
|
56
|
+
export interface SmartTabbarItemEvent {
|
|
57
|
+
onClick?: () => void;
|
|
58
|
+
}
|
|
59
|
+
export type SmartTabbarItem = SmartComponent<SmartTabbarItemProps, SmartTabbarItemEvent, {}, SmartTabbarItemSlot>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4-beta-2",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ray-js/components-ty-slider": "^0.3.2",
|
|
39
|
-
"@tuya-miniapp/smart-ui": "2.3.
|
|
39
|
+
"@tuya-miniapp/smart-ui": "2.3.4-beta-1",
|
|
40
40
|
"lodash-es": "^4.17.21"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|