@ray-js/adapter 1.6.31 → 1.7.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.
@@ -36,6 +36,7 @@ export interface ScrollViewProps extends BaseProps {
36
36
  refresherDefaultStyle?: string;
37
37
  refresherBackground?: string;
38
38
  refresherTriggered?: boolean;
39
+ hideScrollbar?: boolean;
39
40
  onRefresherPulling?: (event: GenericEvent & {
40
41
  type: 'refresherpulling';
41
42
  origin: any;
@@ -14,4 +14,5 @@ exports.ScrollView.defaultProps = {
14
14
  refresherDefaultStyle: 'black',
15
15
  refresherBackground: '#FFF',
16
16
  refresherTriggered: false,
17
+ hideScrollbar: false,
17
18
  };
@@ -21,6 +21,7 @@ export declare const alias: {
21
21
  refresherDefaultStyle: string;
22
22
  refresherBackground: string;
23
23
  refresherTriggered: string;
24
+ hideScrollbar: string;
24
25
  onRefresherPulling: string;
25
26
  onRefresherpulling: string;
26
27
  onRefresherRefresh: string;
@@ -4,5 +4,5 @@ exports.props = exports.alias = void 0;
4
4
  const universal_1 = require("../universal");
5
5
  exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', scrollX: 'scroll-x', scrollY: 'scroll-y', upperThreshold: 'upper-threshold', lowerThreshold: 'lower-threshold', scrollTop: 'scroll-top', scrollLeft: 'scroll-left', scrollIntoView: 'scroll-into-view', scrollWithAnimation: 'scroll-with-animation', enableBackToTop: 'enable-back-to-top', enableFlex: 'enable-flex', onScrollToUpper: 'bindscrolltoupper', onScrollToLower: 'bindscrolltolower', onScroll: 'bindscroll',
6
6
  /* 0.9.3新增 */
7
- refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', onRefresherPulling: 'bindrefresherpulling', onRefresherpulling: 'bindrefresherpulling', onRefresherRefresh: 'bindrefresherrefresh', onRefresherrefresh: 'bindrefresherrefresh', onRefresherRestore: 'bindrefresherrestore', onRefresherrestore: 'bindrefresherrestore', onRefresherAbort: 'bindrefresherabort', onRefresherabort: 'bindrefresherabort' });
7
+ refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', onRefresherPulling: 'bindrefresherpulling', onRefresherpulling: 'bindrefresherpulling', onRefresherRefresh: 'bindrefresherrefresh', onRefresherrefresh: 'bindrefresherrefresh', onRefresherRestore: 'bindrefresherrestore', onRefresherrestore: 'bindrefresherrestore', onRefresherAbort: 'bindrefresherabort', onRefresherabort: 'bindrefresherabort' });
8
8
  exports.props = Object.values(exports.alias);
@@ -77,6 +77,20 @@ export interface AppConfig {
77
77
  */
78
78
  window?: Window;
79
79
  networkTimeout?: NetworkTimeout;
80
+ subPackages?: Array<{
81
+ /**
82
+ * 分包根目录
83
+ */
84
+ root: string;
85
+ /**
86
+ * 分包页面路径
87
+ */
88
+ pages: string[];
89
+ /**
90
+ * 是否独立分包
91
+ */
92
+ independent?: boolean;
93
+ }>;
80
94
  }
81
95
  interface TabBar {
82
96
  /**
@@ -36,6 +36,7 @@ export interface ScrollViewProps extends BaseProps {
36
36
  refresherDefaultStyle?: string;
37
37
  refresherBackground?: string;
38
38
  refresherTriggered?: boolean;
39
+ hideScrollbar?: boolean;
39
40
  onRefresherPulling?: (event: GenericEvent & {
40
41
  type: 'refresherpulling';
41
42
  origin: any;
@@ -11,4 +11,5 @@ ScrollView.defaultProps = {
11
11
  refresherDefaultStyle: 'black',
12
12
  refresherBackground: '#FFF',
13
13
  refresherTriggered: false,
14
+ hideScrollbar: false,
14
15
  };
@@ -21,6 +21,7 @@ export declare const alias: {
21
21
  refresherDefaultStyle: string;
22
22
  refresherBackground: string;
23
23
  refresherTriggered: string;
24
+ hideScrollbar: string;
24
25
  onRefresherPulling: string;
25
26
  onRefresherpulling: string;
26
27
  onRefresherRefresh: string;
@@ -1,5 +1,5 @@
1
1
  import { universalAlias } from '../universal';
2
2
  export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', scrollX: 'scroll-x', scrollY: 'scroll-y', upperThreshold: 'upper-threshold', lowerThreshold: 'lower-threshold', scrollTop: 'scroll-top', scrollLeft: 'scroll-left', scrollIntoView: 'scroll-into-view', scrollWithAnimation: 'scroll-with-animation', enableBackToTop: 'enable-back-to-top', enableFlex: 'enable-flex', onScrollToUpper: 'bindscrolltoupper', onScrollToLower: 'bindscrolltolower', onScroll: 'bindscroll',
3
3
  /* 0.9.3新增 */
4
- refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', onRefresherPulling: 'bindrefresherpulling', onRefresherpulling: 'bindrefresherpulling', onRefresherRefresh: 'bindrefresherrefresh', onRefresherrefresh: 'bindrefresherrefresh', onRefresherRestore: 'bindrefresherrestore', onRefresherrestore: 'bindrefresherrestore', onRefresherAbort: 'bindrefresherabort', onRefresherabort: 'bindrefresherabort' });
4
+ refresherEnabled: 'refresher-enabled', refresherThreshold: 'refresher-threshold', refresherDefaultStyle: 'refresher-default-style', refresherBackground: 'refresher-background', refresherTriggered: 'refresher-triggered', hideScrollbar: 'hide-scrollbar', onRefresherPulling: 'bindrefresherpulling', onRefresherpulling: 'bindrefresherpulling', onRefresherRefresh: 'bindrefresherrefresh', onRefresherrefresh: 'bindrefresherrefresh', onRefresherRestore: 'bindrefresherrestore', onRefresherrestore: 'bindrefresherrestore', onRefresherAbort: 'bindrefresherabort', onRefresherabort: 'bindrefresherabort' });
5
5
  export const props = Object.values(alias);
@@ -77,6 +77,20 @@ export interface AppConfig {
77
77
  */
78
78
  window?: Window;
79
79
  networkTimeout?: NetworkTimeout;
80
+ subPackages?: Array<{
81
+ /**
82
+ * 分包根目录
83
+ */
84
+ root: string;
85
+ /**
86
+ * 分包页面路径
87
+ */
88
+ pages: string[];
89
+ /**
90
+ * 是否独立分包
91
+ */
92
+ independent?: boolean;
93
+ }>;
80
94
  }
81
95
  interface TabBar {
82
96
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "1.6.31",
3
+ "version": "1.7.0",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -31,12 +31,12 @@
31
31
  "watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
32
32
  },
33
33
  "dependencies": {
34
- "@ray-core/runtime": "^0.4.8",
35
- "@ray-core/shared": "^0.4.8",
36
- "@ray-core/types": "^0.4.8"
34
+ "@ray-core/runtime": "^0.4.9",
35
+ "@ray-core/shared": "^0.4.9",
36
+ "@ray-core/types": "^0.4.9"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/types": "1.6.31",
39
+ "@ray-js/types": "1.7.0",
40
40
  "concurrently": "^6.5.1"
41
41
  },
42
42
  "publishConfig": {
@@ -44,5 +44,5 @@
44
44
  "registry": "https://registry.npmjs.com"
45
45
  },
46
46
  "esnext": "./esm/index.js",
47
- "gitHead": "4ffefb3e007defc7433b6fccb0a380a153e8120e"
47
+ "gitHead": "c230e01c313aca9700e12d14b80488aae9bec3d3"
48
48
  }