@elliemae/ds-side-panel 3.13.1-rc.1 → 3.13.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.
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { DSSidePanelT } from './react-desc-prop-types';
3
+ declare const SidePanel: React.ComponentType<DSSidePanelT.Props>;
4
+ declare const DSSidePanelWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<DSSidePanelT.Props>;
5
+ export { SidePanel, DSSidePanelWithSchema };
6
+ export default SidePanel;
@@ -0,0 +1,26 @@
1
+ declare const SidePanelHeader: {
2
+ ({ title, additionalAction, onClose, showClose }: {
3
+ title?: null | undefined;
4
+ additionalAction?: null | undefined;
5
+ onClose?: ((...args: any[]) => void) | undefined;
6
+ showClose?: boolean | undefined;
7
+ }): JSX.Element;
8
+ propTypes: {
9
+ /** Page title */
10
+ title: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
11
+ /** Action button */
12
+ additionalAction: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
13
+ /** Called when the slide collapse */
14
+ onClose: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
15
+ /** Show/Hide close button */
16
+ showClose: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
17
+ };
18
+ displayName: string;
19
+ };
20
+ declare const DSSidePanelHeaderWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
21
+ title?: null | undefined;
22
+ additionalAction?: null | undefined;
23
+ onClose?: ((...args: any[]) => void) | undefined;
24
+ showClose?: boolean | undefined;
25
+ }>;
26
+ export { SidePanelHeader, DSSidePanelHeaderWithSchema };
@@ -0,0 +1,70 @@
1
+ declare const TemplateBasicPageWithSidePanel: {
2
+ ({ globalHeader, mainHeader, mainContent, mainFooter, isOpen, onClose, panelFooter, panelHeader, panelContent, panelWidth, }: {
3
+ globalHeader?: null | undefined;
4
+ mainHeader?: null | undefined;
5
+ mainContent: any;
6
+ mainFooter: any;
7
+ isOpen?: boolean | undefined;
8
+ onClose: any;
9
+ panelFooter: any;
10
+ panelHeader: any;
11
+ panelContent: any;
12
+ panelWidth: any;
13
+ }): JSX.Element;
14
+ propTypes: {
15
+ /**
16
+ * Global Header
17
+ */
18
+ globalHeader: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
19
+ /**
20
+ * Main Header
21
+ */
22
+ mainHeader: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
23
+ /**
24
+ * Main content
25
+ */
26
+ mainContent: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
27
+ /**
28
+ * Main Footer
29
+ */
30
+ mainFooter: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
31
+ /**
32
+ * Should show the slide panel or not
33
+ */
34
+ isOpen: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
35
+ /**
36
+ * Footer for Slide Panel
37
+ */
38
+ panelFooter: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
39
+ /**
40
+ * Header for Slide Panel instance of SlidePanelHeader
41
+ */
42
+ panelHeader: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
43
+ /**
44
+ * Content for Slide Panel
45
+ */
46
+ panelContent: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
47
+ /**
48
+ * Width of the panel open. eg: 300
49
+ */
50
+ panelWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
51
+ /**
52
+ * Callback
53
+ */
54
+ onClose: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
55
+ };
56
+ displayName: string;
57
+ };
58
+ declare const DSTemplateBasicPageWithSidePanel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
59
+ globalHeader?: null | undefined;
60
+ mainHeader?: null | undefined;
61
+ mainContent: any;
62
+ mainFooter: any;
63
+ isOpen?: boolean | undefined;
64
+ onClose: any;
65
+ panelFooter: any;
66
+ panelHeader: any;
67
+ panelContent: any;
68
+ panelWidth: any;
69
+ }>;
70
+ export { TemplateBasicPageWithSidePanel, DSTemplateBasicPageWithSidePanel };
@@ -0,0 +1,4 @@
1
+ export * from './SidePanel';
2
+ export * from './SidePanelHeader';
3
+ export * from './TemplateBasicPageWithSidePanel';
4
+ export { default } from './SidePanel';
@@ -0,0 +1,22 @@
1
+ import type { WeakValidationMap } from 'react';
2
+ import type React from 'react';
3
+ import type { GlobalAttributesT, XstyledProps } from '@elliemae/ds-utilities';
4
+ export declare namespace DSSidePanelT {
5
+ interface IProps {
6
+ children?: React.ReactNode;
7
+ isOpen: boolean;
8
+ footer?: React.ReactNode;
9
+ header?: React.ReactNode;
10
+ panelContent?: React.ReactNode;
11
+ panelWidth: number;
12
+ widthWhenIsClosed: number;
13
+ panelContentOverflow: 'auto' | 'hidden';
14
+ withBorder: boolean;
15
+ withBoxShadow: boolean;
16
+ noGridInfluencer?: boolean;
17
+ }
18
+ interface Props extends IProps, Omit<GlobalAttributesT<HTMLDivElement>, keyof IProps>, XstyledProps {
19
+ }
20
+ }
21
+ export declare const defaultProps: DSSidePanelT.Props;
22
+ export declare const DSInputTextPropTypes: WeakValidationMap<unknown>;
@@ -0,0 +1 @@
1
+ export declare const useDelayedOpen: (isOpen: boolean) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-side-panel",
3
- "version": "3.13.1-rc.1",
3
+ "version": "3.13.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Side Panel",
6
6
  "files": [
@@ -55,11 +55,11 @@
55
55
  "indent": 4
56
56
  },
57
57
  "dependencies": {
58
- "@elliemae/ds-button": "3.13.1-rc.1",
59
- "@elliemae/ds-grid": "3.13.1-rc.1",
60
- "@elliemae/ds-icons": "3.13.1-rc.1",
61
- "@elliemae/ds-system": "3.13.1-rc.1",
62
- "@elliemae/ds-utilities": "3.13.1-rc.1"
58
+ "@elliemae/ds-button": "3.13.1",
59
+ "@elliemae/ds-utilities": "3.13.1",
60
+ "@elliemae/ds-grid": "3.13.1",
61
+ "@elliemae/ds-icons": "3.13.1",
62
+ "@elliemae/ds-system": "3.13.1"
63
63
  },
64
64
  "devDependencies": {
65
65
  "styled-components": "~5.3.6"