@ray-js/smart-ui 2.10.1-beta-5 → 2.11.0-beta-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 +7 -0
- package/es/@types/bottom-sheet/index.d.ts +7 -0
- package/es/@types/dialog/dialog.d.ts +1 -8
- package/es/@types/dialog/index.d.ts +7 -0
- package/es/@types/field/index.d.ts +2 -2
- package/es/@types/index-bar/index.d.ts +2 -2
- package/es/@types/popup/index.d.ts +7 -0
- package/lib/@types/action-sheet/index.d.ts +7 -0
- package/lib/@types/bottom-sheet/index.d.ts +7 -0
- package/lib/@types/dialog/dialog.d.ts +1 -8
- package/lib/@types/dialog/index.d.ts +7 -0
- package/lib/@types/field/index.d.ts +2 -2
- package/lib/@types/index-bar/index.d.ts +2 -2
- package/lib/@types/popup/index.d.ts +7 -0
- package/package.json +3 -3
|
@@ -118,6 +118,13 @@ 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;
|
|
121
128
|
}
|
|
122
129
|
export interface SmartActionSheetEvents extends SmartTransitionEvents {
|
|
123
130
|
/**
|
|
@@ -105,6 +105,13 @@ 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;
|
|
108
115
|
}
|
|
109
116
|
export interface SmartBottomSheetEvents extends SmartTransitionEvents {
|
|
110
117
|
/**
|
|
@@ -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' | 'nativeDisabled' | 'fullCoverView'>;
|
|
6
6
|
type AnyObject = {};
|
|
7
7
|
export type SmartDialogOptions = {
|
|
8
8
|
/**
|
|
@@ -94,13 +94,6 @@ 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;
|
|
104
97
|
} & SmartDialogCommonProps;
|
|
105
98
|
export interface SmartDialogInputOptions extends SmartDialogOptions {
|
|
106
99
|
/**
|
|
@@ -195,6 +195,13 @@ 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;
|
|
198
205
|
}
|
|
199
206
|
export interface SmartDialogEvents {
|
|
200
207
|
/**
|
|
@@ -156,8 +156,8 @@ export interface SmartFieldProps {
|
|
|
156
156
|
* @default false
|
|
157
157
|
*/
|
|
158
158
|
autosize?: boolean | {
|
|
159
|
-
maxHeight?: number;
|
|
160
|
-
minHeight?: number;
|
|
159
|
+
maxHeight?: number | string;
|
|
160
|
+
minHeight?: number | string;
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
163
163
|
* 左侧图标名称或图片链接,可选值见`Icon`组件
|
|
@@ -41,14 +41,14 @@ export interface SmartIndexBarProps {
|
|
|
41
41
|
/**
|
|
42
42
|
* SideBar 字体大小
|
|
43
43
|
*
|
|
44
|
-
* @version 2.
|
|
44
|
+
* @version 2.11.0
|
|
45
45
|
* @default -
|
|
46
46
|
*/
|
|
47
47
|
sidebarFontSize?: string;
|
|
48
48
|
/**
|
|
49
49
|
* SideBar 字体行高
|
|
50
50
|
*
|
|
51
|
-
* @version 2.
|
|
51
|
+
* @version 2.11.0
|
|
52
52
|
* @default -
|
|
53
53
|
*/
|
|
54
54
|
sidebarLineHeight?: string;
|
|
@@ -106,6 +106,13 @@ 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;
|
|
109
116
|
}
|
|
110
117
|
export interface SmartPopupEvents extends SmartTransitionEvents {
|
|
111
118
|
/**
|
|
@@ -118,6 +118,13 @@ 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;
|
|
121
128
|
}
|
|
122
129
|
export interface SmartActionSheetEvents extends SmartTransitionEvents {
|
|
123
130
|
/**
|
|
@@ -105,6 +105,13 @@ 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;
|
|
108
115
|
}
|
|
109
116
|
export interface SmartBottomSheetEvents extends SmartTransitionEvents {
|
|
110
117
|
/**
|
|
@@ -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' | 'nativeDisabled' | 'fullCoverView'>;
|
|
6
6
|
type AnyObject = {};
|
|
7
7
|
export type SmartDialogOptions = {
|
|
8
8
|
/**
|
|
@@ -94,13 +94,6 @@ 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;
|
|
104
97
|
} & SmartDialogCommonProps;
|
|
105
98
|
export interface SmartDialogInputOptions extends SmartDialogOptions {
|
|
106
99
|
/**
|
|
@@ -195,6 +195,13 @@ 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;
|
|
198
205
|
}
|
|
199
206
|
export interface SmartDialogEvents {
|
|
200
207
|
/**
|
|
@@ -156,8 +156,8 @@ export interface SmartFieldProps {
|
|
|
156
156
|
* @default false
|
|
157
157
|
*/
|
|
158
158
|
autosize?: boolean | {
|
|
159
|
-
maxHeight?: number;
|
|
160
|
-
minHeight?: number;
|
|
159
|
+
maxHeight?: number | string;
|
|
160
|
+
minHeight?: number | string;
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
163
163
|
* 左侧图标名称或图片链接,可选值见`Icon`组件
|
|
@@ -41,14 +41,14 @@ export interface SmartIndexBarProps {
|
|
|
41
41
|
/**
|
|
42
42
|
* SideBar 字体大小
|
|
43
43
|
*
|
|
44
|
-
* @version 2.
|
|
44
|
+
* @version 2.11.0
|
|
45
45
|
* @default -
|
|
46
46
|
*/
|
|
47
47
|
sidebarFontSize?: string;
|
|
48
48
|
/**
|
|
49
49
|
* SideBar 字体行高
|
|
50
50
|
*
|
|
51
|
-
* @version 2.
|
|
51
|
+
* @version 2.11.0
|
|
52
52
|
* @default -
|
|
53
53
|
*/
|
|
54
54
|
sidebarLineHeight?: string;
|
|
@@ -106,6 +106,13 @@ 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;
|
|
109
116
|
}
|
|
110
117
|
export interface SmartPopupEvents extends SmartTransitionEvents {
|
|
111
118
|
/**
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0-beta-0",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
7
7
|
"dev": "tsc -w -p tsconfig.build.es.json",
|
|
8
|
-
"build": "rimraf
|
|
8
|
+
"build": "rimraf es lib && tsc -p tsconfig.build.es.json && tsc -p tsconfig.build.lib.json",
|
|
9
9
|
"build:tuya": "yarn build && cd ./example && ray build --target=tuya"
|
|
10
10
|
},
|
|
11
11
|
"main": "lib/index.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.
|
|
45
|
+
"@tuya-miniapp/smart-ui": "2.11.1-beta-0",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|