@ray-js/components 0.3.25-beta-1dd5f2fb → 0.3.26
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.
@@ -1,7 +1,6 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import { PageContainerProps } from './props';
|
3
|
-
declare function PageContainer
|
2
|
+
declare function PageContainer(props: PageContainerProps): JSX.Element;
|
4
3
|
declare namespace PageContainer {
|
5
|
-
var defaultProps: Partial<PageContainerProps
|
4
|
+
var defaultProps: Partial<PageContainerProps>;
|
6
5
|
}
|
7
6
|
export default PageContainer;
|
@@ -1,22 +1,23 @@
|
|
1
1
|
import { BaseProps } from '../types';
|
2
2
|
import * as React from 'react';
|
3
|
-
|
3
|
+
import { BaseEvent } from '@ray-js/remax-tuya/src/types/component';
|
4
|
+
export declare type PageContainerProps = BaseProps & {
|
4
5
|
/** 文本是否可选 */
|
5
6
|
show?: boolean;
|
6
7
|
duration?: number;
|
7
8
|
zIndex?: number;
|
8
9
|
overlay?: boolean;
|
9
|
-
position?: 'top' | 'bottom' | '
|
10
|
+
position?: 'top' | 'bottom' | 'right' | 'center';
|
10
11
|
round?: boolean;
|
11
12
|
overlayStyle?: string;
|
12
13
|
customStyle?: string;
|
13
|
-
onBeforeEnter?: (event:
|
14
|
-
onEnter?: (event:
|
15
|
-
onAfterEnter?: (event:
|
16
|
-
onBeforeLeave?: (event:
|
17
|
-
onLeave?: (event:
|
18
|
-
onAfterLeave?: (event:
|
19
|
-
onClickOverlay?: (event:
|
14
|
+
onBeforeEnter?: (event: BaseEvent) => any;
|
15
|
+
onEnter?: (event: BaseEvent) => any;
|
16
|
+
onAfterEnter?: (event: BaseEvent) => any;
|
17
|
+
onBeforeLeave?: (event: BaseEvent) => any;
|
18
|
+
onLeave?: (event: BaseEvent) => any;
|
19
|
+
onAfterLeave?: (event: BaseEvent) => any;
|
20
|
+
onClickOverlay?: (event: BaseEvent) => any;
|
20
21
|
children?: React.ReactNode | string;
|
21
22
|
};
|
22
|
-
export declare const defaultPageContainerProps: Partial<PageContainerProps
|
23
|
+
export declare const defaultPageContainerProps: Partial<PageContainerProps>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/components",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.26",
|
4
4
|
"description": "Ray basic components",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"watch": "ray start --type=component"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@ray-js/framework-shared": "^0.3.
|
28
|
-
"@ray-js/remax-tuya": "^0.3.
|
27
|
+
"@ray-js/framework-shared": "^0.3.26",
|
28
|
+
"@ray-js/remax-tuya": "^0.3.26",
|
29
29
|
"@remax/macro": "2.15.6",
|
30
30
|
"@remax/wechat": "2.15.6",
|
31
31
|
"antd-mobile": "^5.0.0-beta.17",
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"tuya-panel-switch": "^0.1.1"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@ray-js/cli": "^0.3.
|
45
|
+
"@ray-js/cli": "^0.3.26"
|
46
46
|
},
|
47
47
|
"maintainers": [
|
48
48
|
{
|
@@ -50,6 +50,6 @@
|
|
50
50
|
"email": "tuyafe@tuya.com"
|
51
51
|
}
|
52
52
|
],
|
53
|
-
"gitHead": "
|
53
|
+
"gitHead": "ba26f48be68337b418d7a607e4a15ad417b3b6a6",
|
54
54
|
"repository": {}
|
55
55
|
}
|