@ray-js/smart-ui 2.7.1-beta-1 → 2.7.1-beta-3

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.
@@ -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
@@ -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-1",
3
+ "version": "2.7.1-beta-3",
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-5",
45
+ "@tuya-miniapp/smart-ui": "2.7.1-beta-12",
46
46
  "lodash-es": "^4.17.21"
47
47
  },
48
48
  "devDependencies": {