@ray-js/smart-ui 2.8.1-beta-15 → 2.9.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.
@@ -99,6 +99,12 @@ export interface SmartBottomSheetProps {
99
99
  * @default true
100
100
  */
101
101
  lockScroll?: boolean;
102
+ /**
103
+ * 是否锁定最大拖拽高度,设置为 `true` 时,拖拽过程中面板高度不会超过 `max-drag-height`
104
+ * @version 2.8.1
105
+ * @default false
106
+ */
107
+ lockMaxDrag?: boolean;
102
108
  }
103
109
  export interface SmartBottomSheetEvents extends SmartTransitionEvents {
104
110
  /**
@@ -99,6 +99,12 @@ export interface SmartBottomSheetProps {
99
99
  * @default true
100
100
  */
101
101
  lockScroll?: boolean;
102
+ /**
103
+ * 是否锁定最大拖拽高度,设置为 `true` 时,拖拽过程中面板高度不会超过 `max-drag-height`
104
+ * @version 2.8.1
105
+ * @default false
106
+ */
107
+ lockMaxDrag?: boolean;
102
108
  }
103
109
  export interface SmartBottomSheetEvents extends SmartTransitionEvents {
104
110
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.8.1-beta-15",
3
+ "version": "2.9.0-beta-0",
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.8.1-beta-15",
45
+ "@tuya-miniapp/smart-ui": "2.9.0-beta-0",
46
46
  "lodash-es": "^4.17.21"
47
47
  },
48
48
  "devDependencies": {