@ray-js/adapter 1.2.0-beta.1 → 1.2.1
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 +4 -0
- package/cjs/hostComponents/ScrollView/node.d.ts +4 -0
- package/cjs/hostComponents/ScrollView/node.js +1 -1
- package/esm/hostComponents/ScrollView/index.d.ts +4 -0
- package/esm/hostComponents/ScrollView/node.d.ts +4 -0
- package/esm/hostComponents/ScrollView/node.js +1 -1
- package/package.json +6 -6
|
@@ -20,8 +20,12 @@ export interface ScrollViewProps extends BaseProps {
|
|
|
20
20
|
refresherBackground?: string;
|
|
21
21
|
refresherTriggered: boolean;
|
|
22
22
|
onRefresherPulling?: (event: GenericEvent) => void;
|
|
23
|
+
onRefresherpulling?: (event: GenericEvent) => void;
|
|
23
24
|
onRefresherRefresh?: (event: GenericEvent) => void;
|
|
25
|
+
onRefresherrefresh?: (event: GenericEvent) => void;
|
|
24
26
|
onRefresherRestore?: (event: GenericEvent) => void;
|
|
27
|
+
onRefresherrestore?: (event: GenericEvent) => void;
|
|
25
28
|
onRefresherAbort?: (event: GenericEvent) => void;
|
|
29
|
+
onRefresherabort?: (event: GenericEvent) => void;
|
|
26
30
|
}
|
|
27
31
|
export declare const ScrollView: React.ComponentType<ScrollViewProps>;
|
|
@@ -21,9 +21,13 @@ export declare const alias: {
|
|
|
21
21
|
refresherDefaultStyle: string;
|
|
22
22
|
refresherBackground: string;
|
|
23
23
|
refresherTriggered: string;
|
|
24
|
+
onRefresherPulling: string;
|
|
24
25
|
onRefresherpulling: string;
|
|
26
|
+
onRefresherRefresh: string;
|
|
25
27
|
onRefresherrefresh: string;
|
|
28
|
+
onRefresherRestore: string;
|
|
26
29
|
onRefresherrestore: string;
|
|
30
|
+
onRefresherAbort: string;
|
|
27
31
|
onRefresherabort: string;
|
|
28
32
|
disableScroll: string;
|
|
29
33
|
hoverClass: 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', onRefresherrefresh: 'bindrefresherrefresh', onRefresherrestore: 'bindrefresherrestore', onRefresherabort: 'bindrefresherabort' });
|
|
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' });
|
|
8
8
|
exports.props = Object.values(exports.alias);
|
|
@@ -20,8 +20,12 @@ export interface ScrollViewProps extends BaseProps {
|
|
|
20
20
|
refresherBackground?: string;
|
|
21
21
|
refresherTriggered: boolean;
|
|
22
22
|
onRefresherPulling?: (event: GenericEvent) => void;
|
|
23
|
+
onRefresherpulling?: (event: GenericEvent) => void;
|
|
23
24
|
onRefresherRefresh?: (event: GenericEvent) => void;
|
|
25
|
+
onRefresherrefresh?: (event: GenericEvent) => void;
|
|
24
26
|
onRefresherRestore?: (event: GenericEvent) => void;
|
|
27
|
+
onRefresherrestore?: (event: GenericEvent) => void;
|
|
25
28
|
onRefresherAbort?: (event: GenericEvent) => void;
|
|
29
|
+
onRefresherabort?: (event: GenericEvent) => void;
|
|
26
30
|
}
|
|
27
31
|
export declare const ScrollView: React.ComponentType<ScrollViewProps>;
|
|
@@ -21,9 +21,13 @@ export declare const alias: {
|
|
|
21
21
|
refresherDefaultStyle: string;
|
|
22
22
|
refresherBackground: string;
|
|
23
23
|
refresherTriggered: string;
|
|
24
|
+
onRefresherPulling: string;
|
|
24
25
|
onRefresherpulling: string;
|
|
26
|
+
onRefresherRefresh: string;
|
|
25
27
|
onRefresherrefresh: string;
|
|
28
|
+
onRefresherRestore: string;
|
|
26
29
|
onRefresherrestore: string;
|
|
30
|
+
onRefresherAbort: string;
|
|
27
31
|
onRefresherabort: string;
|
|
28
32
|
disableScroll: string;
|
|
29
33
|
hoverClass: 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', onRefresherrefresh: 'bindrefresherrefresh', onRefresherrestore: 'bindrefresherrestore', onRefresherabort: 'bindrefresherabort' });
|
|
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' });
|
|
5
5
|
export const props = Object.values(alias);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/adapter",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Ray adapter for tuya",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ray"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@ray-js/types": "^1.2.
|
|
24
|
+
"@ray-js/types": "^1.2.1",
|
|
25
25
|
"concurrently": "^6.2.1"
|
|
26
26
|
},
|
|
27
27
|
"maintainers": [
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ray-core/runtime": "^0.
|
|
35
|
-
"@ray-core/shared": "^0.
|
|
36
|
-
"@ray-core/types": "^0.
|
|
34
|
+
"@ray-core/runtime": "^0.2.1",
|
|
35
|
+
"@ray-core/shared": "^0.2.1",
|
|
36
|
+
"@ray-core/types": "^0.2.1"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "2bfdb0b62fdd4fa36e82f661712fc57eccb51f4c",
|
|
39
39
|
"repository": {}
|
|
40
40
|
}
|