@elliemae/ds-side-panel 2.0.0 → 2.1.0-rc.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 +5 -5
- package/types/SidePanel.d.ts +20 -20
- package/types/SidePanelHeader.d.ts +8 -8
- package/types/TemplateBasicPageWithSidePanel.d.ts +18 -18
- package/types/props.d.ts +30 -50
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-side-panel",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Side Panel",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"build": "node ../../scripts/build/build.js"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@elliemae/ds-button": "2.0.
|
|
56
|
-
"@elliemae/ds-grid": "2.0.
|
|
57
|
-
"@elliemae/ds-icons": "2.0.
|
|
58
|
-
"@elliemae/ds-system": "2.0.
|
|
55
|
+
"@elliemae/ds-button": "2.1.0-rc.1",
|
|
56
|
+
"@elliemae/ds-grid": "2.1.0-rc.1",
|
|
57
|
+
"@elliemae/ds-icons": "2.1.0-rc.1",
|
|
58
|
+
"@elliemae/ds-system": "2.1.0-rc.1",
|
|
59
59
|
"react-desc": "~4.1.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
package/types/SidePanel.d.ts
CHANGED
|
@@ -17,64 +17,64 @@ declare const SidePanel: {
|
|
|
17
17
|
propTypes: {
|
|
18
18
|
children: any;
|
|
19
19
|
isOpen: {
|
|
20
|
-
defaultValue
|
|
20
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
21
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
22
|
};
|
|
23
|
-
isRequired: import("react-desc").
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
24
|
};
|
|
25
25
|
footer: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
header: {
|
|
32
|
-
defaultValue
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
33
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
34
|
};
|
|
35
|
-
isRequired: import("react-desc").
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
36
|
};
|
|
37
37
|
panelContent: {
|
|
38
|
-
defaultValue
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
39
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
40
|
};
|
|
41
|
-
isRequired: import("react-desc").
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
42
|
};
|
|
43
43
|
panelWidth: {
|
|
44
|
-
defaultValue
|
|
44
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
45
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
46
|
};
|
|
47
|
-
isRequired: import("react-desc").
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
48
|
};
|
|
49
49
|
widthWhenIsClosed: {
|
|
50
|
-
defaultValue
|
|
50
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
51
51
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
52
|
};
|
|
53
|
-
isRequired: import("react-desc").
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
54
54
|
};
|
|
55
55
|
panelContentOverflow: {
|
|
56
|
-
defaultValue
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
57
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
58
|
};
|
|
59
|
-
isRequired: import("react-desc").
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
60
|
};
|
|
61
61
|
withBorder: {
|
|
62
|
-
defaultValue
|
|
62
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
63
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
64
|
};
|
|
65
|
-
isRequired: import("react-desc").
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
66
|
};
|
|
67
67
|
withBoxShadow: {
|
|
68
|
-
defaultValue
|
|
68
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
69
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
70
|
};
|
|
71
|
-
isRequired: import("react-desc").
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
72
|
};
|
|
73
73
|
noGridInfluencer: {
|
|
74
|
-
defaultValue
|
|
74
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
75
75
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
76
|
};
|
|
77
|
-
isRequired: import("react-desc").
|
|
77
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
defaultProps: {
|
|
@@ -10,31 +10,31 @@ declare const SidePanelHeader: {
|
|
|
10
10
|
propTypes: {
|
|
11
11
|
/** Page title */
|
|
12
12
|
title: {
|
|
13
|
-
defaultValue
|
|
13
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
14
14
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
15
|
};
|
|
16
|
-
isRequired: import("react-desc").
|
|
16
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
17
17
|
};
|
|
18
18
|
/** Action button */
|
|
19
19
|
additionalAction: {
|
|
20
|
-
defaultValue
|
|
20
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
21
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
22
|
};
|
|
23
|
-
isRequired: import("react-desc").
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
24
|
};
|
|
25
25
|
/** Called when the slide collapse */
|
|
26
26
|
onClose: {
|
|
27
|
-
defaultValue
|
|
27
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
28
28
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
29
|
};
|
|
30
|
-
isRequired: import("react-desc").
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
31
31
|
};
|
|
32
32
|
/** Show/Hide close button */
|
|
33
33
|
showClose: {
|
|
34
|
-
defaultValue
|
|
34
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
35
35
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
36
|
};
|
|
37
|
-
isRequired: import("react-desc").
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -18,19 +18,19 @@ declare const TemplateBasicPageWithSidePanel: {
|
|
|
18
18
|
* Global Header
|
|
19
19
|
*/
|
|
20
20
|
globalHeader: {
|
|
21
|
-
defaultValue
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
22
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
23
|
};
|
|
24
|
-
isRequired: import("react-desc").
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Main Header
|
|
28
28
|
*/
|
|
29
29
|
mainHeader: {
|
|
30
|
-
defaultValue
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
31
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
32
|
};
|
|
33
|
-
isRequired: import("react-desc").
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Main content
|
|
@@ -40,64 +40,64 @@ declare const TemplateBasicPageWithSidePanel: {
|
|
|
40
40
|
* Main Footer
|
|
41
41
|
*/
|
|
42
42
|
mainFooter: {
|
|
43
|
-
defaultValue
|
|
43
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
44
44
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
45
|
};
|
|
46
|
-
isRequired: import("react-desc").
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* Should show the slide panel or not
|
|
50
50
|
*/
|
|
51
51
|
isOpen: {
|
|
52
|
-
defaultValue
|
|
52
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
53
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
54
|
};
|
|
55
|
-
isRequired: import("react-desc").
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
58
|
* Footer for Slide Panel
|
|
59
59
|
*/
|
|
60
60
|
panelFooter: {
|
|
61
|
-
defaultValue
|
|
61
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
62
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
63
|
};
|
|
64
|
-
isRequired: import("react-desc").
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
67
|
* Header for Slide Panel instance of SlidePanelHeader
|
|
68
68
|
*/
|
|
69
69
|
panelHeader: {
|
|
70
|
-
defaultValue
|
|
70
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
71
71
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
72
|
};
|
|
73
|
-
isRequired: import("react-desc").
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
74
74
|
};
|
|
75
75
|
/**
|
|
76
76
|
* Content for Slide Panel
|
|
77
77
|
*/
|
|
78
78
|
panelContent: {
|
|
79
|
-
defaultValue
|
|
79
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
80
80
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
81
|
};
|
|
82
|
-
isRequired: import("react-desc").
|
|
82
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* Width of the panel open. eg: 300
|
|
86
86
|
*/
|
|
87
87
|
panelWidth: {
|
|
88
|
-
defaultValue
|
|
88
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
89
89
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
90
90
|
};
|
|
91
|
-
isRequired: import("react-desc").
|
|
91
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
94
|
* Callback
|
|
95
95
|
*/
|
|
96
96
|
onClose: {
|
|
97
|
-
defaultValue
|
|
97
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
98
98
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
99
99
|
};
|
|
100
|
-
isRequired: import("react-desc").
|
|
100
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
};
|
package/types/props.d.ts
CHANGED
|
@@ -8,95 +8,75 @@ export declare const props: {
|
|
|
8
8
|
* Should show the slide panel or not
|
|
9
9
|
*/
|
|
10
10
|
isOpen: {
|
|
11
|
-
defaultValue
|
|
11
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
12
12
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
17
15
|
};
|
|
18
16
|
/**
|
|
19
17
|
* Footer for Slide Panel
|
|
20
18
|
*/
|
|
21
19
|
footer: {
|
|
22
|
-
defaultValue
|
|
20
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
23
21
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
*/
|
|
27
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
24
|
};
|
|
29
25
|
/**
|
|
30
26
|
* Header for Slide Panel instance of SlidePanelHeader
|
|
31
27
|
*/
|
|
32
28
|
header: {
|
|
33
|
-
defaultValue
|
|
29
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
30
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
*/
|
|
38
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
39
33
|
};
|
|
40
34
|
/**
|
|
41
35
|
* Content for Slide Panel
|
|
42
36
|
*/
|
|
43
37
|
panelContent: {
|
|
44
|
-
defaultValue
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
39
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
*/
|
|
49
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
50
42
|
};
|
|
51
43
|
/**
|
|
52
44
|
* Width of the panel open. eg: 300
|
|
53
45
|
*/
|
|
54
46
|
panelWidth: {
|
|
55
|
-
defaultValue
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
56
48
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
*/
|
|
60
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
51
|
};
|
|
62
52
|
widthWhenIsClosed: {
|
|
63
|
-
defaultValue
|
|
53
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
54
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
*/
|
|
68
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
69
57
|
};
|
|
70
58
|
panelContentOverflow: {
|
|
71
|
-
defaultValue
|
|
59
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
72
60
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
*/
|
|
76
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
77
63
|
};
|
|
78
64
|
withBorder: {
|
|
79
|
-
defaultValue
|
|
65
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
80
66
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
*/
|
|
84
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
68
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
85
69
|
};
|
|
86
70
|
withBoxShadow: {
|
|
87
|
-
defaultValue
|
|
71
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
88
72
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
*/
|
|
92
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
93
75
|
};
|
|
94
76
|
noGridInfluencer: {
|
|
95
|
-
defaultValue
|
|
77
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
96
78
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
*/
|
|
100
|
-
isRequired: import("react-desc").PropTypesDescValidator;
|
|
79
|
+
};
|
|
80
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
101
81
|
};
|
|
102
82
|
};
|