@ray-js/smart-ui 2.11.0-beta-0 → 2.11.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/es/@types/action-sheet/index.d.ts +0 -7
- package/es/@types/bottom-sheet/index.d.ts +0 -7
- package/es/@types/dialog/dialog.d.ts +8 -1
- package/es/@types/dialog/index.d.ts +0 -7
- package/es/@types/popup/index.d.ts +0 -7
- package/lib/@types/action-sheet/index.d.ts +0 -7
- package/lib/@types/bottom-sheet/index.d.ts +0 -7
- package/lib/@types/dialog/dialog.d.ts +8 -1
- package/lib/@types/dialog/index.d.ts +0 -7
- package/lib/@types/popup/index.d.ts +0 -7
- package/package.json +3 -3
|
@@ -118,13 +118,6 @@ export interface SmartActionSheetProps {
|
|
|
118
118
|
* @version v2.6.0
|
|
119
119
|
*/
|
|
120
120
|
useTitleSlot?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
123
|
-
*
|
|
124
|
-
* @default false
|
|
125
|
-
* @version 2.11.1
|
|
126
|
-
*/
|
|
127
|
-
fullCoverView?: boolean;
|
|
128
121
|
}
|
|
129
122
|
export interface SmartActionSheetEvents extends SmartTransitionEvents {
|
|
130
123
|
/**
|
|
@@ -105,13 +105,6 @@ export interface SmartBottomSheetProps {
|
|
|
105
105
|
* @default false
|
|
106
106
|
*/
|
|
107
107
|
lockMaxDrag?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
110
|
-
*
|
|
111
|
-
* @default false
|
|
112
|
-
* @version 2.11.1
|
|
113
|
-
*/
|
|
114
|
-
fullCoverView?: boolean;
|
|
115
108
|
}
|
|
116
109
|
export interface SmartBottomSheetEvents extends SmartTransitionEvents {
|
|
117
110
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="miniprogram-api-typings" />
|
|
3
3
|
/// <reference types="miniprogram-api-typings" />
|
|
4
4
|
import { SmartDialogProps } from './index';
|
|
5
|
-
type SmartDialogCommonProps = Pick<SmartDialogProps, 'title' | 'width' | 'message' | 'theme' | 'overlay' | 'transition' | 'icon' | 'iconColor' | 'iconSize'
|
|
5
|
+
type SmartDialogCommonProps = Pick<SmartDialogProps, 'title' | 'width' | 'message' | 'theme' | 'overlay' | 'transition' | 'icon' | 'iconColor' | 'iconSize'>;
|
|
6
6
|
type AnyObject = {};
|
|
7
7
|
export type SmartDialogOptions = {
|
|
8
8
|
/**
|
|
@@ -94,6 +94,13 @@ export type SmartDialogOptions = {
|
|
|
94
94
|
* @version v2.2.1
|
|
95
95
|
*/
|
|
96
96
|
ignoreQueue?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* 开启弹框期间是否禁用本地手势
|
|
99
|
+
*
|
|
100
|
+
* @default false
|
|
101
|
+
* @version v2.3.8
|
|
102
|
+
*/
|
|
103
|
+
nativeDisabled?: boolean;
|
|
97
104
|
} & SmartDialogCommonProps;
|
|
98
105
|
export interface SmartDialogInputOptions extends SmartDialogOptions {
|
|
99
106
|
/**
|
|
@@ -195,13 +195,6 @@ export interface SmartDialogProps extends SmartOpenTypeProps {
|
|
|
195
195
|
* @version 2.6.3
|
|
196
196
|
*/
|
|
197
197
|
autoClose?: boolean;
|
|
198
|
-
/**
|
|
199
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
200
|
-
*
|
|
201
|
-
* @default false
|
|
202
|
-
* @version 2.11.1
|
|
203
|
-
*/
|
|
204
|
-
fullCoverView?: boolean;
|
|
205
198
|
}
|
|
206
199
|
export interface SmartDialogEvents {
|
|
207
200
|
/**
|
|
@@ -106,13 +106,6 @@ export interface SmartPopupProps {
|
|
|
106
106
|
* @version 2.3.8
|
|
107
107
|
*/
|
|
108
108
|
nativeDisabled?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
111
|
-
*
|
|
112
|
-
* @default false
|
|
113
|
-
* @version 2.11.1
|
|
114
|
-
*/
|
|
115
|
-
fullCoverView?: boolean;
|
|
116
109
|
}
|
|
117
110
|
export interface SmartPopupEvents extends SmartTransitionEvents {
|
|
118
111
|
/**
|
|
@@ -118,13 +118,6 @@ export interface SmartActionSheetProps {
|
|
|
118
118
|
* @version v2.6.0
|
|
119
119
|
*/
|
|
120
120
|
useTitleSlot?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
123
|
-
*
|
|
124
|
-
* @default false
|
|
125
|
-
* @version 2.11.1
|
|
126
|
-
*/
|
|
127
|
-
fullCoverView?: boolean;
|
|
128
121
|
}
|
|
129
122
|
export interface SmartActionSheetEvents extends SmartTransitionEvents {
|
|
130
123
|
/**
|
|
@@ -105,13 +105,6 @@ export interface SmartBottomSheetProps {
|
|
|
105
105
|
* @default false
|
|
106
106
|
*/
|
|
107
107
|
lockMaxDrag?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
110
|
-
*
|
|
111
|
-
* @default false
|
|
112
|
-
* @version 2.11.1
|
|
113
|
-
*/
|
|
114
|
-
fullCoverView?: boolean;
|
|
115
108
|
}
|
|
116
109
|
export interface SmartBottomSheetEvents extends SmartTransitionEvents {
|
|
117
110
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="miniprogram-api-typings" />
|
|
3
3
|
/// <reference types="miniprogram-api-typings" />
|
|
4
4
|
import { SmartDialogProps } from './index';
|
|
5
|
-
type SmartDialogCommonProps = Pick<SmartDialogProps, 'title' | 'width' | 'message' | 'theme' | 'overlay' | 'transition' | 'icon' | 'iconColor' | 'iconSize'
|
|
5
|
+
type SmartDialogCommonProps = Pick<SmartDialogProps, 'title' | 'width' | 'message' | 'theme' | 'overlay' | 'transition' | 'icon' | 'iconColor' | 'iconSize'>;
|
|
6
6
|
type AnyObject = {};
|
|
7
7
|
export type SmartDialogOptions = {
|
|
8
8
|
/**
|
|
@@ -94,6 +94,13 @@ export type SmartDialogOptions = {
|
|
|
94
94
|
* @version v2.2.1
|
|
95
95
|
*/
|
|
96
96
|
ignoreQueue?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* 开启弹框期间是否禁用本地手势
|
|
99
|
+
*
|
|
100
|
+
* @default false
|
|
101
|
+
* @version v2.3.8
|
|
102
|
+
*/
|
|
103
|
+
nativeDisabled?: boolean;
|
|
97
104
|
} & SmartDialogCommonProps;
|
|
98
105
|
export interface SmartDialogInputOptions extends SmartDialogOptions {
|
|
99
106
|
/**
|
|
@@ -195,13 +195,6 @@ export interface SmartDialogProps extends SmartOpenTypeProps {
|
|
|
195
195
|
* @version 2.6.3
|
|
196
196
|
*/
|
|
197
197
|
autoClose?: boolean;
|
|
198
|
-
/**
|
|
199
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
200
|
-
*
|
|
201
|
-
* @default false
|
|
202
|
-
* @version 2.11.1
|
|
203
|
-
*/
|
|
204
|
-
fullCoverView?: boolean;
|
|
205
198
|
}
|
|
206
199
|
export interface SmartDialogEvents {
|
|
207
200
|
/**
|
|
@@ -106,13 +106,6 @@ export interface SmartPopupProps {
|
|
|
106
106
|
* @version 2.3.8
|
|
107
107
|
*/
|
|
108
108
|
nativeDisabled?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* 是否使用 cover-view 包裹弹层,用于覆盖原生组件(如 map、video)时使用
|
|
111
|
-
*
|
|
112
|
-
* @default false
|
|
113
|
-
* @version 2.11.1
|
|
114
|
-
*/
|
|
115
|
-
fullCoverView?: boolean;
|
|
116
109
|
}
|
|
117
110
|
export interface SmartPopupEvents extends SmartTransitionEvents {
|
|
118
111
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.11.0
|
|
3
|
+
"version": "2.11.0",
|
|
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.
|
|
45
|
+
"@tuya-miniapp/smart-ui": "^2.11.0",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -81,4 +81,4 @@
|
|
|
81
81
|
"email": "tuyafe@tuya.com"
|
|
82
82
|
}
|
|
83
83
|
]
|
|
84
|
-
}
|
|
84
|
+
}
|