@elliemae/ds-side-panel 3.0.0-alpha.0 → 3.0.0-alpha.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-side-panel",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Side Panel",
|
|
6
6
|
"files": [
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"indent": 4
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@elliemae/ds-button": "3.0.0-alpha.
|
|
59
|
-
"@elliemae/ds-grid": "3.0.0-alpha.
|
|
60
|
-
"@elliemae/ds-icons": "3.0.0-alpha.
|
|
61
|
-
"@elliemae/ds-system": "3.0.0-alpha.
|
|
58
|
+
"@elliemae/ds-button": "3.0.0-alpha.1",
|
|
59
|
+
"@elliemae/ds-grid": "3.0.0-alpha.1",
|
|
60
|
+
"@elliemae/ds-icons": "3.0.0-alpha.1",
|
|
61
|
+
"@elliemae/ds-system": "3.0.0-alpha.1",
|
|
62
62
|
"react-desc": "~4.1.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
79
79
|
"test": "node ../../scripts/testing/test.mjs",
|
|
80
80
|
"lint": "node ../../scripts/lint.mjs",
|
|
81
|
+
"dts": "node ../../scripts/dts.mjs",
|
|
81
82
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
|
|
82
83
|
}
|
|
83
84
|
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const SidePanel: {
|
|
4
|
-
({ children, isOpen, footer, header, panelContent, panelWidth, panelContentOverflow, widthWhenIsClosed, noGridInfluencer, withBorder, withBoxShadow, }: {
|
|
5
|
-
children: any;
|
|
6
|
-
isOpen: any;
|
|
7
|
-
footer: any;
|
|
8
|
-
header: any;
|
|
9
|
-
panelContent: any;
|
|
10
|
-
panelWidth: any;
|
|
11
|
-
panelContentOverflow: any;
|
|
12
|
-
widthWhenIsClosed: any;
|
|
13
|
-
noGridInfluencer: any;
|
|
14
|
-
withBorder?: boolean | undefined;
|
|
15
|
-
withBoxShadow?: boolean | undefined;
|
|
16
|
-
}): React.ReactElement;
|
|
17
|
-
propTypes: {
|
|
18
|
-
children: any;
|
|
19
|
-
isOpen: {
|
|
20
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
-
};
|
|
23
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
-
};
|
|
25
|
-
footer: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
header: {
|
|
32
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
-
};
|
|
35
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
-
};
|
|
37
|
-
panelContent: {
|
|
38
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
-
};
|
|
41
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
-
};
|
|
43
|
-
panelWidth: {
|
|
44
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
-
};
|
|
47
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
|
-
};
|
|
49
|
-
widthWhenIsClosed: {
|
|
50
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
51
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
-
};
|
|
53
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
54
|
-
};
|
|
55
|
-
panelContentOverflow: {
|
|
56
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
-
};
|
|
59
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
|
-
};
|
|
61
|
-
withBorder: {
|
|
62
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
-
};
|
|
65
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
|
-
};
|
|
67
|
-
withBoxShadow: {
|
|
68
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
-
};
|
|
71
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
|
-
};
|
|
73
|
-
noGridInfluencer: {
|
|
74
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
75
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
-
};
|
|
77
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
defaultProps: {
|
|
81
|
-
isOpen: boolean;
|
|
82
|
-
panelWidth: number;
|
|
83
|
-
widthWhenIsClosed: number;
|
|
84
|
-
panelContentOverflow: string;
|
|
85
|
-
withBorder: boolean;
|
|
86
|
-
withBoxShadow: boolean;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
declare const DSSidePanelWithSchema: {
|
|
90
|
-
(props?: unknown): JSX.Element;
|
|
91
|
-
propTypes: unknown;
|
|
92
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
93
|
-
};
|
|
94
|
-
export { SidePanel, DSSidePanelWithSchema };
|
|
95
|
-
export default SidePanel;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare const SidePanelHeader: {
|
|
4
|
-
({ title, additionalAction, onClose, showClose }: {
|
|
5
|
-
title?: null | undefined;
|
|
6
|
-
additionalAction?: null | undefined;
|
|
7
|
-
onClose?: ((...args: any[]) => void) | undefined;
|
|
8
|
-
showClose?: boolean | undefined;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
propTypes: {
|
|
11
|
-
/** Page title */
|
|
12
|
-
title: {
|
|
13
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
14
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
-
};
|
|
16
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
17
|
-
};
|
|
18
|
-
/** Action button */
|
|
19
|
-
additionalAction: {
|
|
20
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
-
};
|
|
23
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
-
};
|
|
25
|
-
/** Called when the slide collapse */
|
|
26
|
-
onClose: {
|
|
27
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
28
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
-
};
|
|
30
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
31
|
-
};
|
|
32
|
-
/** Show/Hide close button */
|
|
33
|
-
showClose: {
|
|
34
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
35
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
-
};
|
|
37
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
declare const DSSidePanelHeaderWithSchema: {
|
|
42
|
-
(props?: unknown): JSX.Element;
|
|
43
|
-
propTypes: unknown;
|
|
44
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
45
|
-
};
|
|
46
|
-
export { SidePanelHeader, DSSidePanelHeaderWithSchema };
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare const TemplateBasicPageWithSidePanel: {
|
|
4
|
-
({ globalHeader, mainHeader, mainContent, mainFooter, isOpen, onClose, panelFooter, panelHeader, panelContent, panelWidth, }: {
|
|
5
|
-
globalHeader?: null | undefined;
|
|
6
|
-
mainHeader?: null | undefined;
|
|
7
|
-
mainContent: any;
|
|
8
|
-
mainFooter: any;
|
|
9
|
-
isOpen?: boolean | undefined;
|
|
10
|
-
onClose: any;
|
|
11
|
-
panelFooter: any;
|
|
12
|
-
panelHeader: any;
|
|
13
|
-
panelContent: any;
|
|
14
|
-
panelWidth: any;
|
|
15
|
-
}): JSX.Element;
|
|
16
|
-
propTypes: {
|
|
17
|
-
/**
|
|
18
|
-
* Global Header
|
|
19
|
-
*/
|
|
20
|
-
globalHeader: {
|
|
21
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
-
};
|
|
24
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Main Header
|
|
28
|
-
*/
|
|
29
|
-
mainHeader: {
|
|
30
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
-
};
|
|
33
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Main content
|
|
37
|
-
*/
|
|
38
|
-
mainContent: any;
|
|
39
|
-
/**
|
|
40
|
-
* Main Footer
|
|
41
|
-
*/
|
|
42
|
-
mainFooter: {
|
|
43
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
44
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
-
};
|
|
46
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Should show the slide panel or not
|
|
50
|
-
*/
|
|
51
|
-
isOpen: {
|
|
52
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
-
};
|
|
55
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Footer for Slide Panel
|
|
59
|
-
*/
|
|
60
|
-
panelFooter: {
|
|
61
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
-
};
|
|
64
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Header for Slide Panel instance of SlidePanelHeader
|
|
68
|
-
*/
|
|
69
|
-
panelHeader: {
|
|
70
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
71
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
|
-
};
|
|
73
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Content for Slide Panel
|
|
77
|
-
*/
|
|
78
|
-
panelContent: {
|
|
79
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
80
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
|
-
};
|
|
82
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Width of the panel open. eg: 300
|
|
86
|
-
*/
|
|
87
|
-
panelWidth: {
|
|
88
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
89
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
90
|
-
};
|
|
91
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* Callback
|
|
95
|
-
*/
|
|
96
|
-
onClose: {
|
|
97
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
98
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
99
|
-
};
|
|
100
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
declare const DSTemplateBasicPageWithSidePanel: {
|
|
105
|
-
(props?: unknown): JSX.Element;
|
|
106
|
-
propTypes: unknown;
|
|
107
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
108
|
-
};
|
|
109
|
-
export { TemplateBasicPageWithSidePanel, DSTemplateBasicPageWithSidePanel };
|
package/dist/types/index.d.ts
DELETED
package/dist/types/props.d.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
export declare const props: {
|
|
3
|
-
/**
|
|
4
|
-
* Main content
|
|
5
|
-
*/
|
|
6
|
-
children: any;
|
|
7
|
-
/**
|
|
8
|
-
* Should show the slide panel or not
|
|
9
|
-
*/
|
|
10
|
-
isOpen: {
|
|
11
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
12
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
-
};
|
|
14
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Footer for Slide Panel
|
|
18
|
-
*/
|
|
19
|
-
footer: {
|
|
20
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
-
};
|
|
23
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Header for Slide Panel instance of SlidePanelHeader
|
|
27
|
-
*/
|
|
28
|
-
header: {
|
|
29
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
30
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
-
};
|
|
32
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Content for Slide Panel
|
|
36
|
-
*/
|
|
37
|
-
panelContent: {
|
|
38
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
-
};
|
|
41
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Width of the panel open. eg: 300
|
|
45
|
-
*/
|
|
46
|
-
panelWidth: {
|
|
47
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
-
};
|
|
50
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
-
};
|
|
52
|
-
widthWhenIsClosed: {
|
|
53
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
54
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
-
};
|
|
56
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
57
|
-
};
|
|
58
|
-
panelContentOverflow: {
|
|
59
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
60
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
-
};
|
|
62
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
63
|
-
};
|
|
64
|
-
withBorder: {
|
|
65
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
66
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
67
|
-
};
|
|
68
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
69
|
-
};
|
|
70
|
-
withBoxShadow: {
|
|
71
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
72
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
-
};
|
|
74
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
75
|
-
};
|
|
76
|
-
noGridInfluencer: {
|
|
77
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
78
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
79
|
-
};
|
|
80
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
81
|
-
};
|
|
82
|
-
};
|