@elliemae/ds-page-header 2.3.0-alpha.8 → 2.3.0-alpha.9
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/dist/types/DSPageHeader.d.ts +2 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/v1/DSPageHeader.d.ts +124 -0
- package/dist/types/v1/DropdownTitle.d.ts +13 -0
- package/dist/types/v1/EditableTitle.d.ts +16 -0
- package/dist/types/v1/PageHeaderImpl.d.ts +21 -0
- package/dist/types/v1/Title.d.ts +5 -0
- package/dist/types/v1/TitleWrapper.d.ts +3 -0
- package/dist/types/v2/PageHeader.d.ts +86 -0
- package/dist/types/v2/components/PageHeaderBack/PageHeaderBack.d.ts +5 -0
- package/dist/types/v2/components/PageHeaderEditableTitle/PageHeaderEditableTitle.d.ts +72 -0
- package/dist/types/v2/components/PageHeaderMenu/PageHeaderMenu.d.ts +5 -0
- package/dist/types/v2/components/PageHeaderSummary/PageHeaderSummary.d.ts +31 -0
- package/dist/types/v2/components/PageHeaderTitle/PageHeaderTitle.d.ts +31 -0
- package/dist/types/v2/components/PageHeaderToolbar/PageHeaderToolbar.d.ts +5 -0
- package/dist/types/v2/components/blocks.d.ts +9 -0
- package/dist/types/v2/props.d.ts +69 -0
- package/dist/types/v2/tests/utils.d.ts +56 -0
- package/package.json +11 -11
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './v1/DSPageHeader';
|
|
2
|
+
export * from './v2/PageHeader';
|
|
3
|
+
export { DSPageHeaderSummaryWithSchema } from './v2/components/PageHeaderSummary/PageHeaderSummary';
|
|
4
|
+
export { DSPageHeaderTitleWithSchema } from './v2/components/PageHeaderTitle/PageHeaderTitle';
|
|
5
|
+
export { DSPageHeaderEditableTitleWithSchema } from './v2/components/PageHeaderEditableTitle/PageHeaderEditableTitle';
|
|
6
|
+
export { default } from './v1/DSPageHeader';
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const DSPageHeader: {
|
|
4
|
+
({ containerProps, renderToolbar, withBottomSeparator, title, titleOptions, onSelectOption, subtitle, optionsSelection, onGoToPreviousPage, previousPage, editable, editing, titleInputProps, zIndex, optionsMinWidth, ...otherProps }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
containerProps?: {} | undefined;
|
|
7
|
+
renderToolbar?: undefined;
|
|
8
|
+
withBottomSeparator?: boolean | undefined;
|
|
9
|
+
title?: string | undefined;
|
|
10
|
+
titleOptions?: undefined;
|
|
11
|
+
onSelectOption?: (() => null) | undefined;
|
|
12
|
+
subtitle?: string | undefined;
|
|
13
|
+
optionsSelection?: {} | undefined;
|
|
14
|
+
onGoToPreviousPage?: (() => null) | undefined;
|
|
15
|
+
previousPage: any;
|
|
16
|
+
editable?: boolean | undefined;
|
|
17
|
+
editing?: undefined;
|
|
18
|
+
titleInputProps?: {} | undefined;
|
|
19
|
+
zIndex?: number | undefined;
|
|
20
|
+
optionsMinWidth?: undefined;
|
|
21
|
+
}): JSX.Element;
|
|
22
|
+
propTypes: {
|
|
23
|
+
version: {
|
|
24
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
|
+
};
|
|
29
|
+
containerProps: {
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
|
+
};
|
|
35
|
+
renderToolbar: {
|
|
36
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
|
+
};
|
|
41
|
+
withBottomSeparator: {
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
|
+
};
|
|
47
|
+
title: {
|
|
48
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
|
+
};
|
|
53
|
+
titleOptions: {
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
+
};
|
|
59
|
+
onSelectOption: {
|
|
60
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
61
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
64
|
+
};
|
|
65
|
+
subtitle: {
|
|
66
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
|
+
};
|
|
71
|
+
optionsSelection: {
|
|
72
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
73
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
76
|
+
};
|
|
77
|
+
editable: {
|
|
78
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
79
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
+
};
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
82
|
+
};
|
|
83
|
+
editing: {
|
|
84
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
|
+
};
|
|
89
|
+
titleInputProps: {
|
|
90
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
91
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
92
|
+
};
|
|
93
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
94
|
+
};
|
|
95
|
+
previousPage: {
|
|
96
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
97
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
98
|
+
};
|
|
99
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
100
|
+
};
|
|
101
|
+
onGoToPreviousPage: {
|
|
102
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
103
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
104
|
+
};
|
|
105
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
106
|
+
};
|
|
107
|
+
zIndex: {
|
|
108
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
109
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
110
|
+
};
|
|
111
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
112
|
+
};
|
|
113
|
+
/** min width for options dropdown menu */
|
|
114
|
+
optionsMinWidth: {
|
|
115
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
116
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
118
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
declare const DSPageHeaderV1WithSchema: any;
|
|
123
|
+
export { DSPageHeader, DSPageHeaderV1WithSchema };
|
|
124
|
+
export default DSPageHeader;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare function DropdownTitle({ titleComponent, onSelectOption, options, optionsMinWidth, selection, zIndex }: {
|
|
3
|
+
titleComponent: any;
|
|
4
|
+
onSelectOption: any;
|
|
5
|
+
options: any;
|
|
6
|
+
optionsMinWidth: any;
|
|
7
|
+
selection: any;
|
|
8
|
+
zIndex: any;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
declare namespace DropdownTitle {
|
|
11
|
+
var propTypes: {};
|
|
12
|
+
}
|
|
13
|
+
export default DropdownTitle;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
declare function EditableTitle({ children: value, editing: editingProp, titleInputProps, }: {
|
|
4
|
+
children: any;
|
|
5
|
+
editing: any;
|
|
6
|
+
titleInputProps: any;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
declare namespace EditableTitle {
|
|
9
|
+
var propTypes: {
|
|
10
|
+
/** The title text */
|
|
11
|
+
children: PropTypes.Requireable<string>;
|
|
12
|
+
/** Whether the title is editing or not */
|
|
13
|
+
editing: PropTypes.Requireable<boolean>;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export default EditableTitle;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare function PageHeaderImpl({ containerProps, className, title, titleOptions, renderToolbar, breadcrumbs, previousPage, onGoToPreviousPage, subtitle, withBottomSeparator, onSelectOption, optionsSelection, optionsMinWidth, editable, titleInputProps, editing, zIndex, }: {
|
|
3
|
+
containerProps: any;
|
|
4
|
+
className: any;
|
|
5
|
+
title: any;
|
|
6
|
+
titleOptions: any;
|
|
7
|
+
renderToolbar: any;
|
|
8
|
+
breadcrumbs?: never[] | undefined;
|
|
9
|
+
previousPage: any;
|
|
10
|
+
onGoToPreviousPage?: (() => null) | undefined;
|
|
11
|
+
subtitle?: string | undefined;
|
|
12
|
+
withBottomSeparator: any;
|
|
13
|
+
onSelectOption: any;
|
|
14
|
+
optionsSelection: any;
|
|
15
|
+
optionsMinWidth: any;
|
|
16
|
+
editable?: boolean | undefined;
|
|
17
|
+
titleInputProps: any;
|
|
18
|
+
editing?: undefined;
|
|
19
|
+
zIndex: any;
|
|
20
|
+
}): JSX.Element;
|
|
21
|
+
export default PageHeaderImpl;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { PageHeaderTitle } from './components/PageHeaderTitle/PageHeaderTitle';
|
|
4
|
+
import { PageHeaderEditableTitle } from './components/PageHeaderEditableTitle/PageHeaderEditableTitle';
|
|
5
|
+
import { PageHeaderSummary } from './components/PageHeaderSummary/PageHeaderSummary';
|
|
6
|
+
import { PageHeaderMenu } from './components/PageHeaderMenu/PageHeaderMenu';
|
|
7
|
+
declare const PageHeaderCustomRenderer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
declare const DSPageHeaderV2: {
|
|
9
|
+
({ containerProps, breadcrumbs, pageTitle, backarrow, summary, toolbar, menu, withBottomSeparator, }: {
|
|
10
|
+
containerProps: any;
|
|
11
|
+
breadcrumbs: any;
|
|
12
|
+
pageTitle: any;
|
|
13
|
+
backarrow: any;
|
|
14
|
+
summary: any;
|
|
15
|
+
toolbar: any;
|
|
16
|
+
menu: any;
|
|
17
|
+
withBottomSeparator: any;
|
|
18
|
+
}): JSX.Element;
|
|
19
|
+
propTypes: {
|
|
20
|
+
containerProps: {
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
|
+
};
|
|
26
|
+
breadcrumbs: {
|
|
27
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
31
|
+
};
|
|
32
|
+
pageTitle: {
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
+
};
|
|
38
|
+
backarrow: {
|
|
39
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
43
|
+
};
|
|
44
|
+
summary: {
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
|
+
};
|
|
50
|
+
toolbar: {
|
|
51
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
55
|
+
};
|
|
56
|
+
menu: {
|
|
57
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
|
+
};
|
|
62
|
+
withBottomSeparator: {
|
|
63
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
defaultProps: {
|
|
70
|
+
containerProps: {};
|
|
71
|
+
breadcrumbs: null;
|
|
72
|
+
pageTitle: null;
|
|
73
|
+
backarrow: null;
|
|
74
|
+
summary: null;
|
|
75
|
+
toolbar: null;
|
|
76
|
+
menu: null;
|
|
77
|
+
withBottomSeparator: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
declare const DSPageHeaderWithSchema: {
|
|
81
|
+
(props?: unknown): JSX.Element;
|
|
82
|
+
propTypes: unknown;
|
|
83
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
84
|
+
};
|
|
85
|
+
export { DSPageHeaderV2, PageHeaderTitle, PageHeaderEditableTitle, PageHeaderSummary, PageHeaderMenu, PageHeaderCustomRenderer, DSPageHeaderWithSchema, };
|
|
86
|
+
export default DSPageHeaderV2;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export declare const PageHeaderEditableTitle: {
|
|
4
|
+
({ children: value, editing: editingProp, onBlur, onChange, onFocus, onMouseOut, showMarker, ...rest }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
children: any;
|
|
7
|
+
editing?: boolean | undefined;
|
|
8
|
+
onBlur?: ((...args: any[]) => void) | undefined;
|
|
9
|
+
onChange?: ((...args: any[]) => void) | undefined;
|
|
10
|
+
onFocus?: ((...args: any[]) => void) | undefined;
|
|
11
|
+
onMouseOut?: ((...args: any[]) => void) | undefined;
|
|
12
|
+
showMarker?: boolean | undefined;
|
|
13
|
+
}): JSX.Element;
|
|
14
|
+
propTypes: {
|
|
15
|
+
/** The title text */
|
|
16
|
+
children: {
|
|
17
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
21
|
+
};
|
|
22
|
+
/** Whether the title is editing or not */
|
|
23
|
+
editing: {
|
|
24
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
|
+
};
|
|
29
|
+
/** Show error marker */
|
|
30
|
+
showMarker: {
|
|
31
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
35
|
+
};
|
|
36
|
+
/** blur callback */
|
|
37
|
+
onBlur: {
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
+
};
|
|
43
|
+
/** on change handler */
|
|
44
|
+
onChange: {
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
|
+
};
|
|
50
|
+
/** on focus handler */
|
|
51
|
+
onFocus: {
|
|
52
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
|
+
};
|
|
57
|
+
/** mouse out of component handler */
|
|
58
|
+
onMouseOut: {
|
|
59
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
60
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
declare const DSPageHeaderEditableTitleWithSchema: {
|
|
67
|
+
(props?: unknown): JSX.Element;
|
|
68
|
+
propTypes: unknown;
|
|
69
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
70
|
+
};
|
|
71
|
+
export default PageHeaderEditableTitle;
|
|
72
|
+
export { DSPageHeaderEditableTitleWithSchema };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const PageHeaderSummary: {
|
|
4
|
+
({ value, label, ...rest }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
value?: null | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
propTypes: {
|
|
10
|
+
/** value for page header summary */
|
|
11
|
+
value: {
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
+
};
|
|
17
|
+
/** label attached to value */
|
|
18
|
+
label: {
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const DSPageHeaderSummaryWithSchema: {
|
|
27
|
+
(props?: unknown): JSX.Element;
|
|
28
|
+
propTypes: unknown;
|
|
29
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
30
|
+
};
|
|
31
|
+
export { PageHeaderSummary, DSPageHeaderSummaryWithSchema };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const PageHeaderTitle: {
|
|
4
|
+
({ children, showMarker, ...rest }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
children: any;
|
|
7
|
+
showMarker?: boolean | undefined;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
propTypes: {
|
|
10
|
+
/** page header title string */
|
|
11
|
+
children: {
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
+
};
|
|
17
|
+
/** show required mark */
|
|
18
|
+
showMarker: {
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const DSPageHeaderTitleWithSchema: {
|
|
27
|
+
(props?: unknown): JSX.Element;
|
|
28
|
+
propTypes: unknown;
|
|
29
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
30
|
+
};
|
|
31
|
+
export { PageHeaderTitle, DSPageHeaderTitleWithSchema };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { cssPrefix } from '@elliemae/ds-classnames';
|
|
3
|
+
export declare const PageHeaderTitleWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
4
|
+
export declare const EditableTitleComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
5
|
+
export declare const PageHeaderBackWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
6
|
+
export declare const PageHeaderSummaryWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
7
|
+
export declare const PageHeaderMenuWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
8
|
+
export declare const PageHeaderToolbarWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
9
|
+
export { cssPrefix };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
export declare const navProps: {
|
|
3
|
+
/** props injected to wrapper of page header */
|
|
4
|
+
containerProps: {
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
|
+
};
|
|
10
|
+
/** breadcrumbs component */
|
|
11
|
+
breadcrumbs: {
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
+
};
|
|
17
|
+
/** PageHeaderTitle component */
|
|
18
|
+
pageTitle: {
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
+
};
|
|
24
|
+
/** back arrow component */
|
|
25
|
+
backarrow: {
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
+
};
|
|
31
|
+
/** PageHeaderSummary component */
|
|
32
|
+
summary: {
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
+
};
|
|
38
|
+
/** toolbar component */
|
|
39
|
+
toolbar: {
|
|
40
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
|
+
};
|
|
45
|
+
/** PageHeaderMenu component */
|
|
46
|
+
menu: {
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
+
};
|
|
52
|
+
/** Border bottom below the page header */
|
|
53
|
+
withBottomSeparator: {
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare const defaultProps: {
|
|
61
|
+
containerProps: {};
|
|
62
|
+
breadcrumbs: null;
|
|
63
|
+
pageTitle: null;
|
|
64
|
+
backarrow: null;
|
|
65
|
+
summary: null;
|
|
66
|
+
toolbar: null;
|
|
67
|
+
menu: null;
|
|
68
|
+
withBottomSeparator: boolean;
|
|
69
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export const options: {
|
|
2
|
+
type: string;
|
|
3
|
+
id: string;
|
|
4
|
+
multi: boolean;
|
|
5
|
+
closeOnClick: boolean;
|
|
6
|
+
interactionType: string;
|
|
7
|
+
items: ({
|
|
8
|
+
id: string;
|
|
9
|
+
selectable: boolean;
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
rightAddonType: string;
|
|
13
|
+
interactionType: string;
|
|
14
|
+
subItems: ({
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
onClick: (e: any) => void;
|
|
18
|
+
type?: undefined;
|
|
19
|
+
subItems?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
id: string;
|
|
22
|
+
type: string;
|
|
23
|
+
label: string;
|
|
24
|
+
onClick: (e: any) => void;
|
|
25
|
+
subItems: {
|
|
26
|
+
id: string;
|
|
27
|
+
label: string;
|
|
28
|
+
onClick: (e: any) => void;
|
|
29
|
+
}[];
|
|
30
|
+
})[];
|
|
31
|
+
} | {
|
|
32
|
+
id: string;
|
|
33
|
+
type: string;
|
|
34
|
+
label: string;
|
|
35
|
+
rightAddonType: string;
|
|
36
|
+
interactionType: string;
|
|
37
|
+
subItems: ({
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
onClick: (e: any) => void;
|
|
41
|
+
type?: undefined;
|
|
42
|
+
subItems?: undefined;
|
|
43
|
+
} | {
|
|
44
|
+
id: string;
|
|
45
|
+
type: string;
|
|
46
|
+
label: string;
|
|
47
|
+
onClick: (e: any) => void;
|
|
48
|
+
subItems: {
|
|
49
|
+
id: string;
|
|
50
|
+
label: string;
|
|
51
|
+
onClick: (e: any) => void;
|
|
52
|
+
}[];
|
|
53
|
+
})[];
|
|
54
|
+
selectable?: undefined;
|
|
55
|
+
})[];
|
|
56
|
+
}[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-page-header",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Page Header",
|
|
6
6
|
"files": [
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
},
|
|
98
98
|
"author": "ICE MT",
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@elliemae/ds-breadcrumb": "2.3.0-alpha.
|
|
101
|
-
"@elliemae/ds-button": "2.3.0-alpha.
|
|
102
|
-
"@elliemae/ds-classnames": "2.3.0-alpha.
|
|
103
|
-
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.
|
|
104
|
-
"@elliemae/ds-form": "2.3.0-alpha.
|
|
105
|
-
"@elliemae/ds-grid": "2.3.0-alpha.
|
|
106
|
-
"@elliemae/ds-icon": "2.3.0-alpha.
|
|
107
|
-
"@elliemae/ds-icons": "2.3.0-alpha.
|
|
108
|
-
"@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.
|
|
109
|
-
"@elliemae/ds-utilities": "2.3.0-alpha.
|
|
100
|
+
"@elliemae/ds-breadcrumb": "2.3.0-alpha.9",
|
|
101
|
+
"@elliemae/ds-button": "2.3.0-alpha.9",
|
|
102
|
+
"@elliemae/ds-classnames": "2.3.0-alpha.9",
|
|
103
|
+
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.9",
|
|
104
|
+
"@elliemae/ds-form": "2.3.0-alpha.9",
|
|
105
|
+
"@elliemae/ds-grid": "2.3.0-alpha.9",
|
|
106
|
+
"@elliemae/ds-icon": "2.3.0-alpha.9",
|
|
107
|
+
"@elliemae/ds-icons": "2.3.0-alpha.9",
|
|
108
|
+
"@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.9",
|
|
109
|
+
"@elliemae/ds-utilities": "2.3.0-alpha.9",
|
|
110
110
|
"prop-types": "~15.7.2",
|
|
111
111
|
"react-desc": "~4.1.3"
|
|
112
112
|
},
|