@ray-js/smart-ui 2.3.8-beta-1 → 2.3.8

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.
@@ -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
  /**
@@ -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
  /**
@@ -24,6 +24,12 @@ export interface SmartRadioGroupProps {
24
24
  * 子元素节点
25
25
  */
26
26
  children?: React.ReactNode;
27
+ /**
28
+ * 是否阻止默认UI更新事件
29
+ * @default false
30
+ * @version 2.3.8
31
+ */
32
+ preventDefault?: boolean;
27
33
  }
28
34
  /**
29
35
  * @deprecated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.3.8-beta-1",
3
+ "version": "2.3.8",
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.8-beta-2",
39
+ "@tuya-miniapp/smart-ui": "^2.3.8",
40
40
  "lodash-es": "^4.17.21"
41
41
  },
42
42
  "devDependencies": {