@ray-js/smart-ui 2.3.7 → 2.3.8-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.
|
@@ -148,25 +148,25 @@ export interface SmartDateTimePickerProps {
|
|
|
148
148
|
columnsOrder?: number[];
|
|
149
149
|
/**
|
|
150
150
|
* @description 组件动画以及选择回调延迟时间
|
|
151
|
-
* @version 2.3.
|
|
151
|
+
* @version 2.3.7
|
|
152
152
|
* @default 800 (ms)
|
|
153
153
|
*/
|
|
154
154
|
animationTime?: number;
|
|
155
155
|
/**
|
|
156
156
|
* @description 选中项的样式
|
|
157
|
-
* @version 2.3.
|
|
157
|
+
* @version 2.3.7
|
|
158
158
|
*/
|
|
159
159
|
activeStyle?: React.CSSProperties;
|
|
160
160
|
/**
|
|
161
161
|
* @description 设置任意列的样式
|
|
162
|
-
* @version 2.3.
|
|
162
|
+
* @version 2.3.7
|
|
163
163
|
*/
|
|
164
|
-
columnStyles?: Partial<Record<TimeUnitType, React.CSSProperties>>;
|
|
164
|
+
columnStyles?: Partial<Record<TimeUnitType | '12HourClock', React.CSSProperties>>;
|
|
165
165
|
/**
|
|
166
166
|
* @description 设置任意列的文字样式
|
|
167
|
-
* @version 2.3.
|
|
167
|
+
* @version 2.3.7
|
|
168
168
|
*/
|
|
169
|
-
fontStyles?: Partial<Record<TimeUnitType, React.CSSProperties>>;
|
|
169
|
+
fontStyles?: Partial<Record<TimeUnitType | '12HourClock', React.CSSProperties>>;
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* @deprecated
|
|
@@ -159,6 +159,13 @@ export interface SmartDialogProps extends SmartOpenTypeProps {
|
|
|
159
159
|
* @default 'scale'
|
|
160
160
|
*/
|
|
161
161
|
transition?: 'fade' | 'scale' | 'none';
|
|
162
|
+
/**
|
|
163
|
+
* 开启弹框期间是否禁用本地手势
|
|
164
|
+
*
|
|
165
|
+
* @default false
|
|
166
|
+
* @version 2.3.8
|
|
167
|
+
*/
|
|
168
|
+
nativeDisabled?: boolean;
|
|
162
169
|
}
|
|
163
170
|
export interface SmartDialogEvents {
|
|
164
171
|
/**
|
|
@@ -99,6 +99,13 @@ export interface SmartPopupProps {
|
|
|
99
99
|
* @default true
|
|
100
100
|
*/
|
|
101
101
|
lockScroll?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* 开启弹框期间是否禁用本地手势
|
|
104
|
+
*
|
|
105
|
+
* @default false
|
|
106
|
+
* @version 2.3.8
|
|
107
|
+
*/
|
|
108
|
+
nativeDisabled?: boolean;
|
|
102
109
|
}
|
|
103
110
|
export interface SmartPopupEvents extends SmartTransitionEvents {
|
|
104
111
|
/**
|
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.8-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": "
|
|
39
|
+
"@tuya-miniapp/smart-ui": "2.3.8-beta-4",
|
|
40
40
|
"lodash-es": "^4.17.21"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|