@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,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSCollectionBox: {
|
|
3
4
|
({ body, title, headerAction, footerAction, headerLevel }: {
|
|
@@ -15,20 +16,50 @@ declare const DSCollectionBox: {
|
|
|
15
16
|
/**
|
|
16
17
|
* Collection box header
|
|
17
18
|
*/
|
|
18
|
-
title:
|
|
19
|
+
title: {
|
|
20
|
+
defaultValue<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
19
25
|
/**
|
|
20
26
|
* Collection box header action, expects a button with size s
|
|
21
27
|
*/
|
|
22
|
-
headerAction:
|
|
28
|
+
headerAction: {
|
|
29
|
+
defaultValue<T = unknown>(arg: T): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
23
34
|
/**
|
|
24
35
|
* Collection box footer action, expects a button with size s
|
|
25
36
|
*/
|
|
26
|
-
footerAction:
|
|
37
|
+
footerAction: {
|
|
38
|
+
defaultValue<T = unknown>(arg: T): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
27
43
|
/**
|
|
28
44
|
* Semantic header tag used for the header title
|
|
29
45
|
*/
|
|
30
|
-
headerLevel:
|
|
46
|
+
headerLevel: {
|
|
47
|
+
defaultValue<T = unknown>(arg: T): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
31
52
|
};
|
|
32
53
|
};
|
|
33
|
-
declare const DSCollectionBoxWithSchema:
|
|
54
|
+
declare const DSCollectionBoxWithSchema: {
|
|
55
|
+
(props?: {
|
|
56
|
+
body: any;
|
|
57
|
+
title: any;
|
|
58
|
+
headerAction: any;
|
|
59
|
+
footerAction: any;
|
|
60
|
+
headerLevel?: number | undefined;
|
|
61
|
+
} | undefined): JSX.Element;
|
|
62
|
+
propTypes: unknown;
|
|
63
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
64
|
+
};
|
|
34
65
|
export { DSCollectionBox, DSCollectionBoxWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSGlobalHeader: {
|
|
3
4
|
({ containerProps, title, lastIcon, onSearchChange, topMenuItems, bottomMenuItems, }: {
|
|
@@ -10,7 +11,12 @@ declare const DSGlobalHeader: {
|
|
|
10
11
|
}): JSX.Element;
|
|
11
12
|
propTypes: {
|
|
12
13
|
/** props to inject to wrapper */
|
|
13
|
-
containerProps:
|
|
14
|
+
containerProps: {
|
|
15
|
+
defaultValue<T = unknown>(arg: T): {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
14
20
|
/**
|
|
15
21
|
* Heading Title
|
|
16
22
|
*/
|
|
@@ -18,20 +24,51 @@ declare const DSGlobalHeader: {
|
|
|
18
24
|
/**
|
|
19
25
|
* Dimsum icon Element
|
|
20
26
|
*/
|
|
21
|
-
lastIcon:
|
|
27
|
+
lastIcon: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
22
33
|
/**
|
|
23
34
|
* Callback function for search change
|
|
24
35
|
*/
|
|
25
|
-
onSearchChange:
|
|
36
|
+
onSearchChange: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
26
42
|
/**
|
|
27
43
|
* Top Menu items array
|
|
28
44
|
*/
|
|
29
|
-
topMenuItems:
|
|
45
|
+
topMenuItems: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
30
51
|
/**
|
|
31
52
|
* Bottom Menu items array
|
|
32
53
|
*/
|
|
33
|
-
bottomMenuItems:
|
|
54
|
+
bottomMenuItems: {
|
|
55
|
+
defaultValue<T = unknown>(arg: T): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
34
60
|
};
|
|
35
61
|
};
|
|
36
|
-
declare const DSGlobalHeaderWithSchema:
|
|
62
|
+
declare const DSGlobalHeaderWithSchema: {
|
|
63
|
+
(props?: {
|
|
64
|
+
containerProps?: {} | undefined;
|
|
65
|
+
title: any;
|
|
66
|
+
lastIcon: any;
|
|
67
|
+
onSearchChange?: ((...args: any[]) => void) | undefined;
|
|
68
|
+
topMenuItems: any;
|
|
69
|
+
bottomMenuItems: any;
|
|
70
|
+
} | undefined): JSX.Element;
|
|
71
|
+
propTypes: unknown;
|
|
72
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
73
|
+
};
|
|
37
74
|
export { DSGlobalHeader, DSGlobalHeaderWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSGroupBox: {
|
|
3
4
|
({ children, title, background, headerLevel, actionsRight, borderTop }: {
|
|
@@ -12,15 +13,30 @@ declare const DSGroupBox: {
|
|
|
12
13
|
/**
|
|
13
14
|
* In-box children
|
|
14
15
|
*/
|
|
15
|
-
children:
|
|
16
|
+
children: {
|
|
17
|
+
defaultValue<T = unknown>(arg: T): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
16
22
|
/**
|
|
17
23
|
* Title background
|
|
18
24
|
*/
|
|
19
|
-
background:
|
|
25
|
+
background: {
|
|
26
|
+
defaultValue<T = unknown>(arg: T): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
20
31
|
/**
|
|
21
32
|
* Toggle border top of group box
|
|
22
33
|
*/
|
|
23
|
-
borderTop:
|
|
34
|
+
borderTop: {
|
|
35
|
+
defaultValue<T = unknown>(arg: T): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
24
40
|
/**
|
|
25
41
|
* Group Box title
|
|
26
42
|
*/
|
|
@@ -28,12 +44,33 @@ declare const DSGroupBox: {
|
|
|
28
44
|
/**
|
|
29
45
|
* semantic level of header tag for the title
|
|
30
46
|
*/
|
|
31
|
-
headerLevel:
|
|
47
|
+
headerLevel: {
|
|
48
|
+
defaultValue<T = unknown>(arg: T): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
32
53
|
/**
|
|
33
54
|
* Array of button icons
|
|
34
55
|
*/
|
|
35
|
-
actionsRight:
|
|
56
|
+
actionsRight: {
|
|
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 DSGroupBoxWithSchema:
|
|
64
|
+
declare const DSGroupBoxWithSchema: {
|
|
65
|
+
(props?: {
|
|
66
|
+
children: any;
|
|
67
|
+
title: any;
|
|
68
|
+
background?: string | undefined;
|
|
69
|
+
headerLevel?: number | undefined;
|
|
70
|
+
actionsRight?: never[] | undefined;
|
|
71
|
+
borderTop: any;
|
|
72
|
+
} | undefined): JSX.Element;
|
|
73
|
+
propTypes: unknown;
|
|
74
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
75
|
+
};
|
|
39
76
|
export { DSGroupBox, DSGroupBoxWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const InfiniteLoader: {
|
|
3
4
|
({ isFetching, fetchData, children, height }: {
|
|
@@ -8,14 +9,38 @@ declare const InfiniteLoader: {
|
|
|
8
9
|
}): JSX.Element;
|
|
9
10
|
propTypes: {
|
|
10
11
|
/** toggle loading state */
|
|
11
|
-
isFetching:
|
|
12
|
+
isFetching: {
|
|
13
|
+
defaultValue<T = unknown>(arg: T): {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
12
18
|
/** callback to fetch new items */
|
|
13
|
-
fetchData:
|
|
19
|
+
fetchData: {
|
|
20
|
+
defaultValue<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
14
25
|
/** row items for infinite loader */
|
|
15
|
-
children:
|
|
26
|
+
children: {
|
|
27
|
+
defaultValue<T = unknown>(arg: T): {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
16
32
|
/** infinite loader list height */
|
|
17
33
|
height: any;
|
|
18
34
|
};
|
|
19
35
|
};
|
|
20
|
-
declare const InfiniteLoaderWithSchema:
|
|
36
|
+
declare const InfiniteLoaderWithSchema: {
|
|
37
|
+
(props?: {
|
|
38
|
+
isFetching: any;
|
|
39
|
+
fetchData: any;
|
|
40
|
+
children: any;
|
|
41
|
+
height?: number | undefined;
|
|
42
|
+
} | undefined): JSX.Element;
|
|
43
|
+
propTypes: unknown;
|
|
44
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
45
|
+
};
|
|
21
46
|
export { InfiniteLoader, InfiniteLoaderWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const VirtualizedInfiniteLoader: {
|
|
3
4
|
({ moreItemsLoading, hasNextPage, isItemLoaded, loadMoreItems, getItemSize, height, item: Row, }: {
|
|
@@ -11,20 +12,67 @@ declare const VirtualizedInfiniteLoader: {
|
|
|
11
12
|
}): JSX.Element;
|
|
12
13
|
propTypes: {
|
|
13
14
|
/** Function responsible for tracking the loaded state of each item. */
|
|
14
|
-
isItemLoaded:
|
|
15
|
+
isItemLoaded: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
15
21
|
/** Callback to be invoked when more rows must be loaded. It should return a Promise that is resolved once all data has finished loading. */
|
|
16
|
-
loadMoreItems:
|
|
22
|
+
loadMoreItems: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
17
28
|
/** callback to get row item size */
|
|
18
|
-
getItemSize:
|
|
29
|
+
getItemSize: {
|
|
30
|
+
defaultValue<T = unknown>(arg: T): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
19
35
|
/** height for the list */
|
|
20
|
-
height:
|
|
36
|
+
height: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
21
42
|
/** flag to know if virtual list should be on loading state */
|
|
22
|
-
moreItemsLoading:
|
|
43
|
+
moreItemsLoading: {
|
|
44
|
+
defaultValue<T = unknown>(arg: T): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
23
49
|
/** Row item to render */
|
|
24
|
-
item:
|
|
50
|
+
item: {
|
|
51
|
+
defaultValue<T = unknown>(arg: T): {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
25
56
|
/** flag for virtualized list */
|
|
26
|
-
hasNextPage:
|
|
57
|
+
hasNextPage: {
|
|
58
|
+
defaultValue<T = unknown>(arg: T): {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
27
63
|
};
|
|
28
64
|
};
|
|
29
|
-
declare const VirtualizedInfiniteLoaderWithSchema:
|
|
65
|
+
declare const VirtualizedInfiniteLoaderWithSchema: {
|
|
66
|
+
(props?: {
|
|
67
|
+
moreItemsLoading?: boolean | undefined;
|
|
68
|
+
hasNextPage?: boolean | undefined;
|
|
69
|
+
isItemLoaded?: (() => boolean) | undefined;
|
|
70
|
+
loadMoreItems: any;
|
|
71
|
+
getItemSize?: (() => number) | undefined;
|
|
72
|
+
height: any;
|
|
73
|
+
item: any;
|
|
74
|
+
} | undefined): JSX.Element;
|
|
75
|
+
propTypes: unknown;
|
|
76
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
77
|
+
};
|
|
30
78
|
export { VirtualizedInfiniteLoader, VirtualizedInfiniteLoaderWithSchema };
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import ToolbarItem from './MobileActionToolbarItem';
|
|
3
4
|
declare const DSMobileActionToolbar: React.ForwardRefExoticComponent<{
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
[x: number]: any;
|
|
7
|
+
[x: symbol]: any;
|
|
6
8
|
} & {
|
|
7
9
|
theme?: import("styled-components").DefaultTheme | undefined;
|
|
8
10
|
}>;
|
|
9
|
-
declare const DSMobileActionToolbarWithSchema:
|
|
11
|
+
declare const DSMobileActionToolbarWithSchema: {
|
|
12
|
+
(props?: ({
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
[x: number]: any;
|
|
15
|
+
[x: symbol]: any;
|
|
16
|
+
} & {
|
|
17
|
+
theme?: import("styled-components").DefaultTheme | undefined;
|
|
18
|
+
}) | undefined): JSX.Element;
|
|
19
|
+
propTypes: unknown;
|
|
20
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
21
|
+
};
|
|
10
22
|
export { ToolbarItem, DSMobileActionToolbarWithSchema };
|
|
11
23
|
export default DSMobileActionToolbar;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const ToolbarItem: {
|
|
3
4
|
({ icon, ...otherProps }: {
|
|
@@ -7,9 +8,21 @@ declare const ToolbarItem: {
|
|
|
7
8
|
displayName: string;
|
|
8
9
|
propTypes: {
|
|
9
10
|
/** toolbar item icon */
|
|
10
|
-
icon:
|
|
11
|
+
icon: {
|
|
12
|
+
defaultValue<T = unknown>(arg: T): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
11
17
|
};
|
|
12
18
|
};
|
|
13
|
-
declare const DSToolbarItemWithSchema:
|
|
19
|
+
declare const DSToolbarItemWithSchema: {
|
|
20
|
+
(props?: {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
icon: any;
|
|
23
|
+
} | undefined): JSX.Element;
|
|
24
|
+
propTypes: unknown;
|
|
25
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
26
|
+
};
|
|
14
27
|
export default ToolbarItem;
|
|
15
28
|
export { DSToolbarItemWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import type { MobileBannerPropsT } from './index.d';
|
|
3
4
|
declare const DSMobileBanner: {
|
|
@@ -16,18 +17,77 @@ declare const DSMobileBanner: {
|
|
|
16
17
|
focusOnOpen: boolean;
|
|
17
18
|
};
|
|
18
19
|
propTypes: {
|
|
19
|
-
type:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
type: {
|
|
21
|
+
defaultValue<T = unknown>(arg: T): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isOpen: {
|
|
27
|
+
defaultValue<T = unknown>(arg: T): {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
closeButtonOnClick: {
|
|
33
|
+
defaultValue<T = unknown>(arg: T): {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
actionLinkLabel: {
|
|
39
|
+
defaultValue<T = unknown>(arg: T): {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
actionLinkHref: {
|
|
45
|
+
defaultValue<T = unknown>(arg: T): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
actionLinkOnClick: {
|
|
51
|
+
defaultValue<T = unknown>(arg: T): {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
label: {
|
|
57
|
+
defaultValue<T = unknown>(arg: T): {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
body: {
|
|
63
|
+
defaultValue<T = unknown>(arg: T): {
|
|
64
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
68
|
+
showCloseButton: {
|
|
69
|
+
defaultValue<T = unknown>(arg: T): {
|
|
70
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
|
+
};
|
|
72
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
containerProps: {
|
|
75
|
+
defaultValue<T = unknown>(arg: T): {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
79
|
+
};
|
|
80
|
+
focusOnOpen: {
|
|
81
|
+
defaultValue<T = unknown>(arg: T): {
|
|
82
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
85
|
+
};
|
|
30
86
|
};
|
|
31
87
|
};
|
|
32
|
-
declare const DSMobileBannerWithSchema:
|
|
88
|
+
declare const DSMobileBannerWithSchema: {
|
|
89
|
+
(props?: MobileBannerPropsT | undefined): JSX.Element;
|
|
90
|
+
propTypes: unknown;
|
|
91
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
92
|
+
};
|
|
33
93
|
export { DSMobileBanner, DSMobileBannerWithSchema };
|
|
@@ -1,13 +1,69 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const propTypes: {
|
|
2
|
-
type:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
type: {
|
|
4
|
+
defaultValue<T = unknown>(arg: T): {
|
|
5
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
|
+
};
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
isOpen: {
|
|
10
|
+
defaultValue<T = unknown>(arg: T): {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
closeButtonOnClick: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
actionLinkLabel: {
|
|
22
|
+
defaultValue<T = unknown>(arg: T): {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
actionLinkHref: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
actionLinkOnClick: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
label: {
|
|
40
|
+
defaultValue<T = unknown>(arg: T): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
body: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
showCloseButton: {
|
|
52
|
+
defaultValue<T = unknown>(arg: T): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
containerProps: {
|
|
58
|
+
defaultValue<T = unknown>(arg: T): {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
focusOnOpen: {
|
|
64
|
+
defaultValue<T = unknown>(arg: T): {
|
|
65
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
13
69
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { StyledBannerContainerT, StyledContentT, StyledInnerContainerT } from './index.d';
|
|
3
2
|
export declare const StyledInnerContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledInnerContainerT, never>;
|
|
4
3
|
export declare const StyledTextContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -7,64 +6,6 @@ export declare const StyledSubTitle: import("styled-components").StyledComponent
|
|
|
7
6
|
export declare const StyledIconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
7
|
export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledContentT, never>;
|
|
9
8
|
export declare const StyledCloseButtonContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
-
export declare const StyledCloseButton: import("styled-components").StyledComponent<
|
|
11
|
-
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
innerRef: any;
|
|
14
|
-
disabled: any;
|
|
15
|
-
buttonType: any;
|
|
16
|
-
fluidWidth: any;
|
|
17
|
-
size: any;
|
|
18
|
-
labelText: any;
|
|
19
|
-
icon: any;
|
|
20
|
-
onBlur: any;
|
|
21
|
-
onClick: any;
|
|
22
|
-
onKeyPress: any;
|
|
23
|
-
leftIcon: any;
|
|
24
|
-
tabIndex: any;
|
|
25
|
-
variant: any;
|
|
26
|
-
intent: any;
|
|
27
|
-
containerProps: any;
|
|
28
|
-
className: any;
|
|
29
|
-
as: any;
|
|
30
|
-
type: any;
|
|
31
|
-
}): JSX.Element;
|
|
32
|
-
defaultProps: {
|
|
33
|
-
disabled: boolean;
|
|
34
|
-
fluidWidth: boolean;
|
|
35
|
-
labelText: string;
|
|
36
|
-
icon: null;
|
|
37
|
-
onBlur: () => null;
|
|
38
|
-
onClick: () => null;
|
|
39
|
-
onKeyPress: () => null;
|
|
40
|
-
leftIcon: null;
|
|
41
|
-
tabIndex: number;
|
|
42
|
-
variant: string;
|
|
43
|
-
containerProps: {};
|
|
44
|
-
as: string;
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
propTypes: {
|
|
48
|
-
tabIndex: any;
|
|
49
|
-
className: any;
|
|
50
|
-
'aria-disabled': any;
|
|
51
|
-
as: any;
|
|
52
|
-
disabled: any;
|
|
53
|
-
fluidWidth: any;
|
|
54
|
-
labelText: any;
|
|
55
|
-
icon: any;
|
|
56
|
-
leftIcon: any;
|
|
57
|
-
buttonType: any;
|
|
58
|
-
size: any;
|
|
59
|
-
type: any;
|
|
60
|
-
variant: any;
|
|
61
|
-
innerRef: any;
|
|
62
|
-
onBlur: any;
|
|
63
|
-
intent: any;
|
|
64
|
-
containerProps: any;
|
|
65
|
-
onClick: any;
|
|
66
|
-
onKeyPress: any;
|
|
67
|
-
};
|
|
68
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const StyledCloseButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
69
10
|
export declare const StyledActionLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
70
11
|
export declare const StyledBannerContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledBannerContainerT, never>;
|