@ray-js/smart-ui 2.7.1-beta-0 → 2.7.1-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.
@@ -111,7 +111,7 @@ export interface SmartDialogInputOptions extends SmartDialogOptions {
111
111
  * 输入内容为空时禁用提交
112
112
  * @version 2.7.0
113
113
  */
114
- emptyDisabled: boolean;
114
+ emptyDisabled?: boolean;
115
115
  /**
116
116
  * 输入框的类型
117
117
  */
@@ -269,6 +269,11 @@ export interface SmartFieldProps {
269
269
  * @default false
270
270
  */
271
271
  interError?: boolean;
272
+ /**
273
+ * 开启事件增强模式,会在 input 和 change 事件额外提供 callback 函数,用于在事件中调用
274
+ * @default false
275
+ */
276
+ extraEventParams?: boolean;
272
277
  }
273
278
  /**
274
279
  * @deprecated
@@ -111,7 +111,7 @@ export interface SmartDialogInputOptions extends SmartDialogOptions {
111
111
  * 输入内容为空时禁用提交
112
112
  * @version 2.7.0
113
113
  */
114
- emptyDisabled: boolean;
114
+ emptyDisabled?: boolean;
115
115
  /**
116
116
  * 输入框的类型
117
117
  */
@@ -269,6 +269,11 @@ export interface SmartFieldProps {
269
269
  * @default false
270
270
  */
271
271
  interError?: boolean;
272
+ /**
273
+ * 开启事件增强模式,会在 input 和 change 事件额外提供 callback 函数,用于在事件中调用
274
+ * @default false
275
+ */
276
+ extraEventParams?: boolean;
272
277
  }
273
278
  /**
274
279
  * @deprecated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.7.1-beta-0",
3
+ "version": "2.7.1-beta-2",
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.4",
45
- "@tuya-miniapp/smart-ui": "2.7.1-beta-0",
45
+ "@tuya-miniapp/smart-ui": "2.7.1-beta-11",
46
46
  "lodash-es": "^4.17.21"
47
47
  },
48
48
  "devDependencies": {