@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.
- package/cjs/hostComponents/ScrollView/index.d.ts +1 -0
- package/cjs/hostComponents/ScrollView/index.js +1 -0
- package/cjs/hostComponents/ScrollView/node.d.ts +1 -0
- package/cjs/hostComponents/ScrollView/node.js +1 -1
- package/cjs/types/config.d.ts +14 -0
- package/esm/hostComponents/ScrollView/index.d.ts +1 -0
- package/esm/hostComponents/ScrollView/index.js +1 -0
- package/esm/hostComponents/ScrollView/node.d.ts +1 -0
- package/esm/hostComponents/ScrollView/node.js +1 -1
- package/esm/types/config.d.ts +14 -0
- package/package.json +6 -6
@@ -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;
|
@@ -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);
|
package/cjs/types/config.d.ts
CHANGED
@@ -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;
|
@@ -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);
|
package/esm/types/config.d.ts
CHANGED
@@ -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.
|
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.
|
35
|
-
"@ray-core/shared": "^0.4.
|
36
|
-
"@ray-core/types": "^0.4.
|
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.
|
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": "
|
47
|
+
"gitHead": "c230e01c313aca9700e12d14b80488aae9bec3d3"
|
48
48
|
}
|