@elliemae/ds-mobile 2.0.0-rc.7 → 2.0.1-rc.0
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/cjs/MobileCard/Card.js +9 -60
- package/cjs/MobileCard/props.js +62 -0
- package/cjs/Tabs/index.js +8 -2
- package/cjs/Tabs/propTypes.js +28 -0
- package/cjs/index.js +2 -0
- package/esm/MobileCard/Card.js +10 -61
- package/esm/MobileCard/props.js +58 -0
- package/esm/Tabs/index.js +7 -3
- package/esm/Tabs/propTypes.js +23 -0
- package/esm/index.js +1 -1
- package/package.json +28 -8
- package/types/CategoryBox/CategoryBox.d.ts +36 -5
- package/types/CollectionBox/CollectionBox.d.ts +36 -5
- package/types/GlobalHeader/MobileGlobalHeader.d.ts +43 -6
- package/types/GroupBox/GroupBox.d.ts +43 -6
- package/types/InfiniteLoader/Infiniteloader.d.ts +29 -4
- package/types/InfiniteLoader/VirtualizedInfiniteLoader.d.ts +56 -8
- package/types/MobileActionToolbar/MobileActionToolbar.d.ts +15 -3
- package/types/MobileActionToolbar/MobileActionToolbarItem.d.ts +15 -2
- package/types/MobileBanner/MobileBanner.d.ts +72 -12
- package/types/MobileBanner/propTypes.d.ts +67 -11
- package/types/MobileBanner/styles.d.ts +1 -60
- package/types/MobileCard/Card.d.ts +19 -12
- package/types/MobileCard/ExpandableRegion.d.ts +2 -2
- package/types/MobileCard/Group.d.ts +17 -7
- package/types/MobileCard/StyledCard.d.ts +3 -1
- package/types/MobileCard/index.d.ts +12 -11
- package/types/MobileCard/props.d.ts +118 -0
- package/types/MobileContextMenu/MobileContextMenu.d.ts +12 -1
- package/types/MobileContextMenu/MobileContextMenuGroup.d.ts +37 -5
- package/types/MobileContextMenu/MobileContextMenuItem.d.ts +54 -9
- package/types/MobileDatePicker/MobileDatePicker.d.ts +42 -6
- package/types/MobileDropdownMenu/MobileDropdownMenu.d.ts +24 -4
- package/types/MobileEmtpyState/MobileEmptyState.d.ts +14 -2
- package/types/MobileFilterbar/Filterbar.d.ts +9 -2
- package/types/MobileFilterbar/FilterbarItem.d.ts +15 -2
- package/types/MobileFilterbar/FilterbarSort.d.ts +9 -2
- package/types/MobileFooter/Action.d.ts +19 -3
- package/types/MobileFooter/Footer.d.ts +8 -1
- package/types/MobileFooter/Text.d.ts +8 -1
- package/types/MobileListItem/MobileListItem.d.ts +16 -6
- package/types/MobilePageHeader/MobilePageHeader.d.ts +20 -10
- package/types/MobileSeparator/Separator.d.ts +23 -5
- package/types/MobileTimePicker/MobileTimePicker.d.ts +31 -5
- package/types/Modal/Modal.d.ts +50 -9
- package/types/SideNav/SideNav.d.ts +25 -4
- package/types/SwipeToRefresh/SwipeToRefresh.d.ts +22 -3
- package/types/Tabs/index.d.ts +24 -9
- package/types/Tabs/propTypes.d.ts +42 -0
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
|
-
|
|
3
|
+
import { MobileCardProps } from './props';
|
|
4
|
+
declare const DSMobileCardWithSchema: {
|
|
5
|
+
(props?: React.PropsWithChildren<MobileCardProps> | undefined): JSX.Element;
|
|
6
|
+
propTypes: unknown;
|
|
7
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
8
|
+
};
|
|
3
9
|
export { DSMobileCardWithSchema };
|
|
4
10
|
declare const _default: React.ForwardRefExoticComponent<{
|
|
5
|
-
height
|
|
6
|
-
children: any;
|
|
7
|
-
details:
|
|
8
|
-
leftProp:
|
|
9
|
-
rightProp:
|
|
10
|
-
value:
|
|
11
|
-
leftAddOn:
|
|
12
|
-
subText:
|
|
13
|
-
subIcons:
|
|
14
|
-
expandable
|
|
15
|
-
expandedContent:
|
|
11
|
+
height: "s" | "m";
|
|
12
|
+
children: ((string | number | boolean | {} | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | React.ReactNode[]) & (boolean | React.ReactChild | React.ReactFragment | React.ReactPortal)) | null | undefined;
|
|
13
|
+
details: string[];
|
|
14
|
+
leftProp: JSX.Element | JSX.Element[];
|
|
15
|
+
rightProp: JSX.Element[];
|
|
16
|
+
value: number;
|
|
17
|
+
leftAddOn: JSX.Element | JSX.Element[];
|
|
18
|
+
subText: string[];
|
|
19
|
+
subIcons: JSX.Element | JSX.Element[];
|
|
20
|
+
expandable: boolean;
|
|
21
|
+
expandedContent: JSX.Element | JSX.Element[];
|
|
22
|
+
cardContent: JSX.Element | JSX.Element[];
|
|
16
23
|
} & {
|
|
17
24
|
theme?: import("styled-components").DefaultTheme | undefined;
|
|
18
25
|
}>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export declare const ExpandableRegion: {
|
|
4
4
|
({ show, content }: {
|
|
5
|
-
show:
|
|
6
|
-
content:
|
|
5
|
+
show: boolean;
|
|
6
|
+
content: JSX.Element | JSX.Element[];
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
propTypes: {
|
|
9
9
|
show: PropTypes.Requireable<boolean>;
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
|
-
declare const DSMobileCardGroupWithSchema:
|
|
3
|
+
declare const DSMobileCardGroupWithSchema: {
|
|
4
|
+
(props?: {
|
|
5
|
+
children: any;
|
|
6
|
+
theme: any;
|
|
7
|
+
title: any;
|
|
8
|
+
action: any;
|
|
9
|
+
activeValue: any;
|
|
10
|
+
allowMultipleOpen?: boolean | undefined;
|
|
11
|
+
onChange?: (() => null) | undefined;
|
|
12
|
+
} | undefined): JSX.Element;
|
|
13
|
+
propTypes: unknown;
|
|
14
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
15
|
+
};
|
|
3
16
|
export { DSMobileCardGroupWithSchema };
|
|
4
17
|
declare const _default: React.ForwardRefExoticComponent<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
activeValue: any;
|
|
9
|
-
action: any;
|
|
10
|
-
allowMultipleOpen?: boolean | undefined;
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
[x: number]: any;
|
|
20
|
+
[x: symbol]: any;
|
|
11
21
|
} & {
|
|
12
22
|
theme?: import("styled-components").DefaultTheme | undefined;
|
|
13
23
|
}>;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export declare const StyledCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
1
|
+
export declare const StyledCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
|
+
minHeight: string;
|
|
3
|
+
}, never>;
|
|
@@ -3,17 +3,18 @@ import MobileCard, { DSMobileCardWithSchema } from './Card';
|
|
|
3
3
|
import { DSMobileCardGroupWithSchema } from './Group';
|
|
4
4
|
import { ActionAddon } from './ActionAddon';
|
|
5
5
|
declare const DSMobileCard: import("react").ForwardRefExoticComponent<{
|
|
6
|
-
height
|
|
7
|
-
children: any;
|
|
8
|
-
details:
|
|
9
|
-
leftProp:
|
|
10
|
-
rightProp:
|
|
11
|
-
value:
|
|
12
|
-
leftAddOn:
|
|
13
|
-
subText:
|
|
14
|
-
subIcons:
|
|
15
|
-
expandable
|
|
16
|
-
expandedContent:
|
|
6
|
+
height: "s" | "m";
|
|
7
|
+
children: ((string | number | boolean | {} | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | import("react").ReactNode[]) & (boolean | import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal)) | null | undefined;
|
|
8
|
+
details: string[];
|
|
9
|
+
leftProp: JSX.Element | JSX.Element[];
|
|
10
|
+
rightProp: JSX.Element[];
|
|
11
|
+
value: number;
|
|
12
|
+
leftAddOn: JSX.Element | JSX.Element[];
|
|
13
|
+
subText: string[];
|
|
14
|
+
subIcons: JSX.Element | JSX.Element[];
|
|
15
|
+
expandable: boolean;
|
|
16
|
+
expandedContent: JSX.Element | JSX.Element[];
|
|
17
|
+
cardContent: JSX.Element | JSX.Element[];
|
|
17
18
|
} & {
|
|
18
19
|
theme?: import("styled-components").DefaultTheme | undefined;
|
|
19
20
|
}>;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { Theme } from '@elliemae/pui-theme';
|
|
4
|
+
export interface MobileCardProps {
|
|
5
|
+
children: React.ReactNode | React.ReactNode[];
|
|
6
|
+
height: 's' | 'm';
|
|
7
|
+
leftAddOn: JSX.Element | JSX.Element[];
|
|
8
|
+
leftProp: JSX.Element | JSX.Element[];
|
|
9
|
+
rightProp: JSX.Element[];
|
|
10
|
+
subText: string[];
|
|
11
|
+
subIcons: JSX.Element | JSX.Element[];
|
|
12
|
+
details: string[];
|
|
13
|
+
theme: Theme;
|
|
14
|
+
value: number;
|
|
15
|
+
expandable: boolean;
|
|
16
|
+
expandedContent: JSX.Element | JSX.Element[];
|
|
17
|
+
cardContent: JSX.Element | JSX.Element[];
|
|
18
|
+
}
|
|
19
|
+
export declare const cardPropsTypes: {
|
|
20
|
+
/**
|
|
21
|
+
* card height
|
|
22
|
+
*/
|
|
23
|
+
height: {
|
|
24
|
+
defaultValue<T = unknown>(arg: T): {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Defines mobile card title
|
|
31
|
+
*/
|
|
32
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
/**
|
|
34
|
+
* Wheter if the card is expandable or not
|
|
35
|
+
*/
|
|
36
|
+
expandable: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* content to display in expand card section
|
|
44
|
+
*/
|
|
45
|
+
expandedContent: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Icon to the left of the card. Size is adjusted automatically.
|
|
53
|
+
*/
|
|
54
|
+
leftAddOn: {
|
|
55
|
+
defaultValue<T = unknown>(arg: T): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Pass an element to render left. For example a Button with an icon
|
|
62
|
+
*/
|
|
63
|
+
leftProp: {
|
|
64
|
+
defaultValue<T = unknown>(arg: T): {
|
|
65
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Pass an array of 1 or 2 elements to render right. For example a Button with an icon
|
|
71
|
+
*/
|
|
72
|
+
rightProp: {
|
|
73
|
+
defaultValue<T = unknown>(arg: T): {
|
|
74
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Pass an array of 1 or 2 strings
|
|
80
|
+
*/
|
|
81
|
+
subText: {
|
|
82
|
+
defaultValue<T = unknown>(arg: T): {
|
|
83
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
|
+
};
|
|
85
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* SubIcons component
|
|
89
|
+
*/
|
|
90
|
+
subIcons: {
|
|
91
|
+
defaultValue<T = unknown>(arg: T): {
|
|
92
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
93
|
+
};
|
|
94
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Pass an array of 1, 2 or 3 strings
|
|
98
|
+
*/
|
|
99
|
+
details: {
|
|
100
|
+
defaultValue<T = unknown>(arg: T): {
|
|
101
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
|
+
};
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
104
|
+
};
|
|
105
|
+
theme: import("react-desc").PropTypesDescValidator;
|
|
106
|
+
value: {
|
|
107
|
+
defaultValue<T = unknown>(arg: T): {
|
|
108
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
109
|
+
};
|
|
110
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
111
|
+
};
|
|
112
|
+
cardContent: {
|
|
113
|
+
defaultValue<T = unknown>(arg: T): {
|
|
114
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
115
|
+
};
|
|
116
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
declare const DSMobileContextMenu: React.ForwardRefExoticComponent<{
|
|
3
4
|
[x: string]: any;
|
|
@@ -6,5 +7,15 @@ declare const DSMobileContextMenu: React.ForwardRefExoticComponent<{
|
|
|
6
7
|
} & {
|
|
7
8
|
theme?: import("styled-components").DefaultTheme | undefined;
|
|
8
9
|
}>;
|
|
9
|
-
declare const DSMobileContextMenuWithSchema:
|
|
10
|
+
declare const DSMobileContextMenuWithSchema: {
|
|
11
|
+
(props?: ({
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
[x: number]: any;
|
|
14
|
+
[x: symbol]: any;
|
|
15
|
+
} & {
|
|
16
|
+
theme?: import("styled-components").DefaultTheme | undefined;
|
|
17
|
+
}) | undefined): JSX.Element;
|
|
18
|
+
propTypes: unknown;
|
|
19
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
20
|
+
};
|
|
10
21
|
export { DSMobileContextMenu, DSMobileContextMenuWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileContextMenuGroup: {
|
|
3
4
|
({ title, isMulti, singleSelect, children, value: groupValue, selectedItems }: {
|
|
@@ -18,15 +19,46 @@ declare const DSMobileContextMenuGroup: {
|
|
|
18
19
|
*/
|
|
19
20
|
children: any;
|
|
20
21
|
/** multi select */
|
|
21
|
-
isMulti:
|
|
22
|
+
isMulti: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
22
28
|
/** single select */
|
|
23
|
-
singleSelect:
|
|
29
|
+
singleSelect: {
|
|
30
|
+
defaultValue<T = unknown>(arg: T): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
24
35
|
/** value for select */
|
|
25
|
-
value:
|
|
36
|
+
value: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
26
42
|
/** selected items, array for multi, string for single */
|
|
27
|
-
selectedItems:
|
|
43
|
+
selectedItems: {
|
|
44
|
+
defaultValue<T = unknown>(arg: T): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
28
49
|
};
|
|
29
50
|
componentType: string;
|
|
30
51
|
};
|
|
31
|
-
declare const DSMobileContextMenuGroupWithSchema:
|
|
52
|
+
declare const DSMobileContextMenuGroupWithSchema: {
|
|
53
|
+
(props?: {
|
|
54
|
+
title: any;
|
|
55
|
+
isMulti: any;
|
|
56
|
+
singleSelect: any;
|
|
57
|
+
children: any;
|
|
58
|
+
value: any;
|
|
59
|
+
selectedItems: any;
|
|
60
|
+
} | undefined): JSX.Element;
|
|
61
|
+
propTypes: unknown;
|
|
62
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
63
|
+
};
|
|
32
64
|
export { DSMobileContextMenuGroup, DSMobileContextMenuGroupWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
interface DSMobileContextMenuItemPropsT {
|
|
3
4
|
label: string;
|
|
@@ -14,24 +15,68 @@ declare const DSMobileContextMenuItem: {
|
|
|
14
15
|
({ label, title, leftProp, isGroup, isMulti, singleSelect, isSelected, onClick, value, }: DSMobileContextMenuItemPropsT): JSX.Element;
|
|
15
16
|
propTypes: {
|
|
16
17
|
/** label */
|
|
17
|
-
label:
|
|
18
|
+
label: {
|
|
19
|
+
defaultValue<T = unknown>(arg: T): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
18
24
|
/** menu item title */
|
|
19
25
|
title: any;
|
|
20
26
|
/** */
|
|
21
|
-
leftProp:
|
|
27
|
+
leftProp: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
22
33
|
/** multi select */
|
|
23
|
-
isMulti:
|
|
34
|
+
isMulti: {
|
|
35
|
+
defaultValue<T = unknown>(arg: T): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
24
40
|
/** */
|
|
25
|
-
singleSelect:
|
|
41
|
+
singleSelect: {
|
|
42
|
+
defaultValue<T = unknown>(arg: T): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
26
47
|
/** */
|
|
27
|
-
isGroup:
|
|
48
|
+
isGroup: {
|
|
49
|
+
defaultValue<T = unknown>(arg: T): {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
28
54
|
/** on click handler */
|
|
29
|
-
onClick:
|
|
55
|
+
onClick: {
|
|
56
|
+
defaultValue<T = unknown>(arg: T): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
30
61
|
/** value for select */
|
|
31
|
-
value:
|
|
62
|
+
value: {
|
|
63
|
+
defaultValue<T = unknown>(arg: T): {
|
|
64
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
32
68
|
/** selected value */
|
|
33
|
-
isSelected:
|
|
69
|
+
isSelected: {
|
|
70
|
+
defaultValue<T = unknown>(arg: T): {
|
|
71
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
34
75
|
};
|
|
35
76
|
};
|
|
36
|
-
declare const DSMobileContextMenuItemWithSchema:
|
|
77
|
+
declare const DSMobileContextMenuItemWithSchema: {
|
|
78
|
+
(props?: DSMobileContextMenuItemPropsT | undefined): JSX.Element;
|
|
79
|
+
propTypes: unknown;
|
|
80
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
81
|
+
};
|
|
37
82
|
export { DSMobileContextMenuItem, DSMobileContextMenuItemWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileDatePicker: {
|
|
3
4
|
({ disabled, value, tabIndex, placeholder, onChange }: {
|
|
@@ -16,24 +17,59 @@ declare const DSMobileDatePicker: {
|
|
|
16
17
|
/**
|
|
17
18
|
* defaults to false
|
|
18
19
|
*/
|
|
19
|
-
disabled:
|
|
20
|
+
disabled: {
|
|
21
|
+
defaultValue<T = unknown>(arg: T): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
20
26
|
/**
|
|
21
27
|
* 0 as default
|
|
22
28
|
*/
|
|
23
|
-
tabIndex:
|
|
29
|
+
tabIndex: {
|
|
30
|
+
defaultValue<T = unknown>(arg: T): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
24
35
|
/**
|
|
25
36
|
* MM / DD / YYYY as default
|
|
26
37
|
*/
|
|
27
|
-
placeholder:
|
|
38
|
+
placeholder: {
|
|
39
|
+
defaultValue<T = unknown>(arg: T): {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
28
44
|
/**
|
|
29
45
|
* onChange handler, receives change event as first argument
|
|
30
46
|
*/
|
|
31
|
-
onChange:
|
|
47
|
+
onChange: {
|
|
48
|
+
defaultValue<T = unknown>(arg: T): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
32
53
|
/**
|
|
33
54
|
* ISO8601 string representing the date in format YYYY-MM-DD or empty string
|
|
34
55
|
*/
|
|
35
|
-
value:
|
|
56
|
+
value: {
|
|
57
|
+
defaultValue<T = unknown>(arg: T): {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
36
62
|
};
|
|
37
63
|
};
|
|
38
|
-
declare const DSMobileDatePickerWithSchema:
|
|
64
|
+
declare const DSMobileDatePickerWithSchema: {
|
|
65
|
+
(props?: {
|
|
66
|
+
disabled: any;
|
|
67
|
+
value: any;
|
|
68
|
+
tabIndex: any;
|
|
69
|
+
placeholder: any;
|
|
70
|
+
onChange: any;
|
|
71
|
+
} | undefined): JSX.Element;
|
|
72
|
+
propTypes: unknown;
|
|
73
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
74
|
+
};
|
|
39
75
|
export { DSMobileDatePicker, DSMobileDatePickerWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
interface OptionT {
|
|
3
4
|
label: string;
|
|
@@ -22,12 +23,31 @@ declare const DSMobileDropdownMenu: {
|
|
|
22
23
|
({ placeholder, options, title, value, itemsProps, }: DSMobileDropdownMenuPropsT): JSX.Element;
|
|
23
24
|
propTypes: {
|
|
24
25
|
/** dropdown menu placeholder */
|
|
25
|
-
placeholder:
|
|
26
|
+
placeholder: {
|
|
27
|
+
defaultValue<T = unknown>(arg: T): {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
26
32
|
/** context menu menu title */
|
|
27
|
-
title:
|
|
33
|
+
title: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
28
39
|
/** context menu options / items */
|
|
29
|
-
options:
|
|
40
|
+
options: {
|
|
41
|
+
defaultValue<T = unknown>(arg: T): {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
30
46
|
};
|
|
31
47
|
};
|
|
32
|
-
declare const DSMobileDropdownMenuWithSchema:
|
|
48
|
+
declare const DSMobileDropdownMenuWithSchema: {
|
|
49
|
+
(props?: DSMobileDropdownMenuPropsT | undefined): JSX.Element;
|
|
50
|
+
propTypes: unknown;
|
|
51
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
52
|
+
};
|
|
33
53
|
export { DSMobileDropdownMenu, DSMobileDropdownMenuWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileEmptyState: {
|
|
3
4
|
({ label }: {
|
|
@@ -5,8 +6,19 @@ declare const DSMobileEmptyState: {
|
|
|
5
6
|
}): JSX.Element;
|
|
6
7
|
propTypes: {
|
|
7
8
|
/** empty state label */
|
|
8
|
-
label:
|
|
9
|
+
label: {
|
|
10
|
+
defaultValue<T = unknown>(arg: T): {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
9
15
|
};
|
|
10
16
|
};
|
|
11
|
-
declare const DSMobileEmptyStateWithSchema:
|
|
17
|
+
declare const DSMobileEmptyStateWithSchema: {
|
|
18
|
+
(props?: {
|
|
19
|
+
label?: string | undefined;
|
|
20
|
+
} | undefined): JSX.Element;
|
|
21
|
+
propTypes: unknown;
|
|
22
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
23
|
+
};
|
|
12
24
|
export { DSMobileEmptyState, DSMobileEmptyStateWithSchema };
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileFilterbar: {
|
|
3
4
|
({ children }: {
|
|
4
5
|
children: any;
|
|
5
6
|
}): JSX.Element;
|
|
6
7
|
propTypes: {
|
|
7
|
-
children:
|
|
8
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
|
-
declare const FilterbarWithSchema:
|
|
11
|
+
declare const FilterbarWithSchema: {
|
|
12
|
+
(props?: {
|
|
13
|
+
children: any;
|
|
14
|
+
} | undefined): JSX.Element;
|
|
15
|
+
propTypes: unknown;
|
|
16
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
17
|
+
};
|
|
11
18
|
export { DSMobileFilterbar, FilterbarWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileFilterbarItem: {
|
|
3
4
|
({ children, onClick }: {
|
|
@@ -5,9 +6,21 @@ declare const DSMobileFilterbarItem: {
|
|
|
5
6
|
onClick: any;
|
|
6
7
|
}): JSX.Element;
|
|
7
8
|
propTypes: {
|
|
9
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
10
|
+
onClick: {
|
|
11
|
+
defaultValue<T = unknown>(arg: T): {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
declare const FilterbarItemWithSchema: {
|
|
19
|
+
(props?: {
|
|
8
20
|
children: any;
|
|
9
21
|
onClick: any;
|
|
10
|
-
};
|
|
22
|
+
} | undefined): JSX.Element;
|
|
23
|
+
propTypes: unknown;
|
|
24
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
11
25
|
};
|
|
12
|
-
declare const FilterbarItemWithSchema: any;
|
|
13
26
|
export { DSMobileFilterbarItem, FilterbarItemWithSchema };
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileFilterbarSort: {
|
|
3
4
|
({ children }: {
|
|
4
5
|
children: any;
|
|
5
6
|
}): JSX.Element;
|
|
6
7
|
propTypes: {
|
|
7
|
-
children:
|
|
8
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
|
-
declare const FilterbarSortWithSchema:
|
|
11
|
+
declare const FilterbarSortWithSchema: {
|
|
12
|
+
(props?: {
|
|
13
|
+
children: any;
|
|
14
|
+
} | undefined): JSX.Element;
|
|
15
|
+
propTypes: unknown;
|
|
16
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
17
|
+
};
|
|
11
18
|
export { DSMobileFilterbarSort, FilterbarSortWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSMobileFooterAction: {
|
|
3
4
|
({ label, icon, onClick }: {
|
|
@@ -7,11 +8,26 @@ declare const DSMobileFooterAction: {
|
|
|
7
8
|
}): JSX.Element;
|
|
8
9
|
propTypes: {
|
|
9
10
|
/** Action label */
|
|
10
|
-
label:
|
|
11
|
+
label: {
|
|
12
|
+
defaultValue<T = unknown>(arg: T): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
11
17
|
/** Action icon */
|
|
12
|
-
icon:
|
|
18
|
+
icon: {
|
|
19
|
+
defaultValue<T = unknown>(arg: T): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
13
24
|
/** onClick callback */
|
|
14
|
-
onClick:
|
|
25
|
+
onClick: {
|
|
26
|
+
defaultValue<T = unknown>(arg: T): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
15
31
|
};
|
|
16
32
|
};
|
|
17
33
|
declare const DSMobileFooterActionWithSchema: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const MobileFooter: {
|
|
3
4
|
({ children }: {
|
|
@@ -10,6 +11,12 @@ declare const MobileFooter: {
|
|
|
10
11
|
children: any;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
|
-
declare const MobileFooterWithSchema:
|
|
14
|
+
declare const MobileFooterWithSchema: {
|
|
15
|
+
(props?: {
|
|
16
|
+
children: any;
|
|
17
|
+
} | undefined): JSX.Element;
|
|
18
|
+
propTypes: unknown;
|
|
19
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
20
|
+
};
|
|
14
21
|
export default MobileFooter;
|
|
15
22
|
export { MobileFooterWithSchema };
|