@ray-js/smart-ui 2.8.1-beta-0 → 2.8.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.
@@ -93,6 +93,12 @@ export interface SmartBottomSheetProps {
93
93
  * @default windowHeight * 0.4
94
94
  */
95
95
  closeDragHeight?: number;
96
+ /**
97
+ * 是否锁定背景滚动
98
+ * @version 2.8.1
99
+ * @default true
100
+ */
101
+ lockScroll?: boolean;
96
102
  }
97
103
  export interface SmartBottomSheetEvents extends SmartTransitionEvents {
98
104
  /**
@@ -93,6 +93,12 @@ export interface SmartBottomSheetProps {
93
93
  * @default windowHeight * 0.4
94
94
  */
95
95
  closeDragHeight?: number;
96
+ /**
97
+ * 是否锁定背景滚动
98
+ * @version 2.8.1
99
+ * @default true
100
+ */
101
+ lockScroll?: boolean;
96
102
  }
97
103
  export interface SmartBottomSheetEvents extends SmartTransitionEvents {
98
104
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.8.1-beta-0",
3
+ "version": "2.8.1-beta-2",
4
4
  "description": "轻量、可靠的智能小程序 UI 组件库",
5
5
  "scripts": {
6
6
  "syncMiniappData": "node ./build/syncMiniappData.js",
@@ -41,8 +41,8 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@ray-js/components-ty-slider": "^0.3.4",
45
- "@tuya-miniapp/smart-ui": "2.8.1-beta-0",
44
+ "@ray-js/components-ty-slider": "^0.3.8-beta-3",
45
+ "@tuya-miniapp/smart-ui": "2.8.1-beta-5",
46
46
  "lodash-es": "^4.17.21"
47
47
  },
48
48
  "devDependencies": {