@elliemae/ds-mobile 2.0.0-rc.9 → 2.1.0-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.
Files changed (72) hide show
  1. package/cjs/FullPageContainer/FullPageContainer.js +2 -2
  2. package/cjs/FullPageContainer/FullPageContainerScroll.js +2 -2
  3. package/cjs/GlobalHeader/MobileGlobalHeader.js +2 -2
  4. package/cjs/LoadingPage/Page.js +2 -2
  5. package/cjs/MobileActionToolbar/MobileActionToolbarItem.js +2 -2
  6. package/cjs/MobileBanner/MobileBanner.js +2 -2
  7. package/cjs/MobileCard/Card.js +9 -60
  8. package/cjs/MobileCard/props.js +62 -0
  9. package/cjs/MobileContextMenu/MobileContextMenu.js +2 -2
  10. package/cjs/MobileContextMenu/MobileContextMenuGroup.js +2 -2
  11. package/cjs/MobileContextMenu/MobileContextMenuItem.js +2 -2
  12. package/cjs/MobileDatePicker/Input.js +2 -2
  13. package/cjs/MobileDropdownMenu/MobileDropdownInput.js +2 -2
  14. package/cjs/MobileSelectList/MobileSelectList.js +2 -2
  15. package/cjs/MobileSeparator/Separator.js +2 -2
  16. package/cjs/MobileTimePicker/Input.js +2 -2
  17. package/cjs/MobileTouchable/MobileTouchable.js +2 -2
  18. package/cjs/Modal/Modal.js +2 -2
  19. package/cjs/Tabs/index.js +10 -4
  20. package/cjs/Tabs/propTypes.js +28 -0
  21. package/cjs/index.js +2 -0
  22. package/esm/FullPageContainer/FullPageContainer.js +2 -2
  23. package/esm/FullPageContainer/FullPageContainerScroll.js +2 -2
  24. package/esm/GlobalHeader/MobileGlobalHeader.js +2 -2
  25. package/esm/LoadingPage/Page.js +2 -2
  26. package/esm/MobileActionToolbar/MobileActionToolbarItem.js +2 -2
  27. package/esm/MobileBanner/MobileBanner.js +2 -2
  28. package/esm/MobileCard/Card.js +10 -61
  29. package/esm/MobileCard/props.js +58 -0
  30. package/esm/MobileContextMenu/MobileContextMenu.js +2 -2
  31. package/esm/MobileContextMenu/MobileContextMenuGroup.js +2 -2
  32. package/esm/MobileContextMenu/MobileContextMenuItem.js +2 -2
  33. package/esm/MobileDatePicker/Input.js +2 -2
  34. package/esm/MobileDropdownMenu/MobileDropdownInput.js +2 -2
  35. package/esm/MobileSelectList/MobileSelectList.js +2 -2
  36. package/esm/MobileSeparator/Separator.js +2 -2
  37. package/esm/MobileTimePicker/Input.js +2 -2
  38. package/esm/MobileTouchable/MobileTouchable.js +2 -2
  39. package/esm/Modal/Modal.js +2 -2
  40. package/esm/Tabs/index.js +9 -5
  41. package/esm/Tabs/propTypes.js +23 -0
  42. package/esm/index.js +1 -1
  43. package/package.json +23 -15
  44. package/types/CategoryBox/CategoryBox.d.ts +8 -8
  45. package/types/CollectionBox/CollectionBox.d.ts +8 -8
  46. package/types/GlobalHeader/MobileGlobalHeader.d.ts +10 -10
  47. package/types/GroupBox/GroupBox.d.ts +10 -10
  48. package/types/InfiniteLoader/Infiniteloader.d.ts +6 -6
  49. package/types/InfiniteLoader/VirtualizedInfiniteLoader.d.ts +14 -14
  50. package/types/MobileActionToolbar/MobileActionToolbarItem.d.ts +2 -2
  51. package/types/MobileBanner/MobileBanner.d.ts +22 -22
  52. package/types/MobileBanner/propTypes.d.ts +22 -22
  53. package/types/MobileCard/Card.d.ts +14 -17
  54. package/types/MobileCard/ExpandableRegion.d.ts +2 -2
  55. package/types/MobileCard/StyledCard.d.ts +3 -1
  56. package/types/MobileCard/index.d.ts +12 -3
  57. package/types/MobileCard/props.d.ts +118 -0
  58. package/types/MobileContextMenu/MobileContextMenuGroup.d.ts +8 -8
  59. package/types/MobileContextMenu/MobileContextMenuItem.d.ts +16 -16
  60. package/types/MobileDatePicker/MobileDatePicker.d.ts +10 -10
  61. package/types/MobileDropdownMenu/MobileDropdownMenu.d.ts +6 -6
  62. package/types/MobileEmtpyState/MobileEmptyState.d.ts +2 -2
  63. package/types/MobileFilterbar/Filterbar.d.ts +1 -1
  64. package/types/MobileFilterbar/FilterbarItem.d.ts +3 -3
  65. package/types/MobileFilterbar/FilterbarSort.d.ts +1 -1
  66. package/types/MobileFooter/Action.d.ts +6 -6
  67. package/types/MobileTimePicker/MobileTimePicker.d.ts +10 -10
  68. package/types/Modal/Modal.d.ts +8 -8
  69. package/types/SideNav/SideNav.d.ts +8 -8
  70. package/types/SwipeToRefresh/SwipeToRefresh.d.ts +4 -4
  71. package/types/Tabs/index.d.ts +24 -9
  72. package/types/Tabs/propTypes.d.ts +42 -0
@@ -12,10 +12,10 @@ declare const DSGlobalHeader: {
12
12
  propTypes: {
13
13
  /** props to inject to wrapper */
14
14
  containerProps: {
15
- defaultValue<T = unknown>(arg: T): {
15
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
16
16
  deprecated: import("react-desc").PropTypesDescValidator;
17
17
  };
18
- isRequired: import("react-desc").PropTypesDescValidator;
18
+ isRequired: import("react-desc").PropTypesDescValue;
19
19
  };
20
20
  /**
21
21
  * Heading Title
@@ -25,37 +25,37 @@ declare const DSGlobalHeader: {
25
25
  * Dimsum icon Element
26
26
  */
27
27
  lastIcon: {
28
- defaultValue<T = unknown>(arg: T): {
28
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
29
29
  deprecated: import("react-desc").PropTypesDescValidator;
30
30
  };
31
- isRequired: import("react-desc").PropTypesDescValidator;
31
+ isRequired: import("react-desc").PropTypesDescValue;
32
32
  };
33
33
  /**
34
34
  * Callback function for search change
35
35
  */
36
36
  onSearchChange: {
37
- defaultValue<T = unknown>(arg: T): {
37
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
38
38
  deprecated: import("react-desc").PropTypesDescValidator;
39
39
  };
40
- isRequired: import("react-desc").PropTypesDescValidator;
40
+ isRequired: import("react-desc").PropTypesDescValue;
41
41
  };
42
42
  /**
43
43
  * Top Menu items array
44
44
  */
45
45
  topMenuItems: {
46
- defaultValue<T = unknown>(arg: T): {
46
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
47
47
  deprecated: import("react-desc").PropTypesDescValidator;
48
48
  };
49
- isRequired: import("react-desc").PropTypesDescValidator;
49
+ isRequired: import("react-desc").PropTypesDescValue;
50
50
  };
51
51
  /**
52
52
  * Bottom Menu items array
53
53
  */
54
54
  bottomMenuItems: {
55
- defaultValue<T = unknown>(arg: T): {
55
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
56
56
  deprecated: import("react-desc").PropTypesDescValidator;
57
57
  };
58
- isRequired: import("react-desc").PropTypesDescValidator;
58
+ isRequired: import("react-desc").PropTypesDescValue;
59
59
  };
60
60
  };
61
61
  };
@@ -14,28 +14,28 @@ declare const DSGroupBox: {
14
14
  * In-box children
15
15
  */
16
16
  children: {
17
- defaultValue<T = unknown>(arg: T): {
17
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
18
18
  deprecated: import("react-desc").PropTypesDescValidator;
19
19
  };
20
- isRequired: import("react-desc").PropTypesDescValidator;
20
+ isRequired: import("react-desc").PropTypesDescValue;
21
21
  };
22
22
  /**
23
23
  * Title background
24
24
  */
25
25
  background: {
26
- defaultValue<T = unknown>(arg: T): {
26
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
27
27
  deprecated: import("react-desc").PropTypesDescValidator;
28
28
  };
29
- isRequired: import("react-desc").PropTypesDescValidator;
29
+ isRequired: import("react-desc").PropTypesDescValue;
30
30
  };
31
31
  /**
32
32
  * Toggle border top of group box
33
33
  */
34
34
  borderTop: {
35
- defaultValue<T = unknown>(arg: T): {
35
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
36
36
  deprecated: import("react-desc").PropTypesDescValidator;
37
37
  };
38
- isRequired: import("react-desc").PropTypesDescValidator;
38
+ isRequired: import("react-desc").PropTypesDescValue;
39
39
  };
40
40
  /**
41
41
  * Group Box title
@@ -45,19 +45,19 @@ declare const DSGroupBox: {
45
45
  * semantic level of header tag for the title
46
46
  */
47
47
  headerLevel: {
48
- defaultValue<T = unknown>(arg: T): {
48
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
49
49
  deprecated: import("react-desc").PropTypesDescValidator;
50
50
  };
51
- isRequired: import("react-desc").PropTypesDescValidator;
51
+ isRequired: import("react-desc").PropTypesDescValue;
52
52
  };
53
53
  /**
54
54
  * Array of button icons
55
55
  */
56
56
  actionsRight: {
57
- defaultValue<T = unknown>(arg: T): {
57
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
58
58
  deprecated: import("react-desc").PropTypesDescValidator;
59
59
  };
60
- isRequired: import("react-desc").PropTypesDescValidator;
60
+ isRequired: import("react-desc").PropTypesDescValue;
61
61
  };
62
62
  };
63
63
  };
@@ -10,24 +10,24 @@ declare const InfiniteLoader: {
10
10
  propTypes: {
11
11
  /** toggle loading state */
12
12
  isFetching: {
13
- defaultValue<T = unknown>(arg: T): {
13
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
14
14
  deprecated: import("react-desc").PropTypesDescValidator;
15
15
  };
16
- isRequired: import("react-desc").PropTypesDescValidator;
16
+ isRequired: import("react-desc").PropTypesDescValue;
17
17
  };
18
18
  /** callback to fetch new items */
19
19
  fetchData: {
20
- defaultValue<T = unknown>(arg: T): {
20
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
21
21
  deprecated: import("react-desc").PropTypesDescValidator;
22
22
  };
23
- isRequired: import("react-desc").PropTypesDescValidator;
23
+ isRequired: import("react-desc").PropTypesDescValue;
24
24
  };
25
25
  /** row items for infinite loader */
26
26
  children: {
27
- defaultValue<T = unknown>(arg: T): {
27
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
28
28
  deprecated: import("react-desc").PropTypesDescValidator;
29
29
  };
30
- isRequired: import("react-desc").PropTypesDescValidator;
30
+ isRequired: import("react-desc").PropTypesDescValue;
31
31
  };
32
32
  /** infinite loader list height */
33
33
  height: any;
@@ -13,52 +13,52 @@ declare const VirtualizedInfiniteLoader: {
13
13
  propTypes: {
14
14
  /** Function responsible for tracking the loaded state of each item. */
15
15
  isItemLoaded: {
16
- defaultValue<T = unknown>(arg: T): {
16
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
17
17
  deprecated: import("react-desc").PropTypesDescValidator;
18
18
  };
19
- isRequired: import("react-desc").PropTypesDescValidator;
19
+ isRequired: import("react-desc").PropTypesDescValue;
20
20
  };
21
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. */
22
22
  loadMoreItems: {
23
- defaultValue<T = unknown>(arg: T): {
23
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
24
24
  deprecated: import("react-desc").PropTypesDescValidator;
25
25
  };
26
- isRequired: import("react-desc").PropTypesDescValidator;
26
+ isRequired: import("react-desc").PropTypesDescValue;
27
27
  };
28
28
  /** callback to get row item size */
29
29
  getItemSize: {
30
- defaultValue<T = unknown>(arg: T): {
30
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
31
31
  deprecated: import("react-desc").PropTypesDescValidator;
32
32
  };
33
- isRequired: import("react-desc").PropTypesDescValidator;
33
+ isRequired: import("react-desc").PropTypesDescValue;
34
34
  };
35
35
  /** height for the list */
36
36
  height: {
37
- defaultValue<T = unknown>(arg: T): {
37
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
38
38
  deprecated: import("react-desc").PropTypesDescValidator;
39
39
  };
40
- isRequired: import("react-desc").PropTypesDescValidator;
40
+ isRequired: import("react-desc").PropTypesDescValue;
41
41
  };
42
42
  /** flag to know if virtual list should be on loading state */
43
43
  moreItemsLoading: {
44
- defaultValue<T = unknown>(arg: T): {
44
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
45
45
  deprecated: import("react-desc").PropTypesDescValidator;
46
46
  };
47
- isRequired: import("react-desc").PropTypesDescValidator;
47
+ isRequired: import("react-desc").PropTypesDescValue;
48
48
  };
49
49
  /** Row item to render */
50
50
  item: {
51
- defaultValue<T = unknown>(arg: T): {
51
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
52
52
  deprecated: import("react-desc").PropTypesDescValidator;
53
53
  };
54
- isRequired: import("react-desc").PropTypesDescValidator;
54
+ isRequired: import("react-desc").PropTypesDescValue;
55
55
  };
56
56
  /** flag for virtualized list */
57
57
  hasNextPage: {
58
- defaultValue<T = unknown>(arg: T): {
58
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
59
59
  deprecated: import("react-desc").PropTypesDescValidator;
60
60
  };
61
- isRequired: import("react-desc").PropTypesDescValidator;
61
+ isRequired: import("react-desc").PropTypesDescValue;
62
62
  };
63
63
  };
64
64
  };
@@ -9,10 +9,10 @@ declare const ToolbarItem: {
9
9
  propTypes: {
10
10
  /** toolbar item icon */
11
11
  icon: {
12
- defaultValue<T = unknown>(arg: T): {
12
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
13
13
  deprecated: import("react-desc").PropTypesDescValidator;
14
14
  };
15
- isRequired: import("react-desc").PropTypesDescValidator;
15
+ isRequired: import("react-desc").PropTypesDescValue;
16
16
  };
17
17
  };
18
18
  };
@@ -18,70 +18,70 @@ declare const DSMobileBanner: {
18
18
  };
19
19
  propTypes: {
20
20
  type: {
21
- defaultValue<T = unknown>(arg: T): {
21
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
22
22
  deprecated: import("react-desc").PropTypesDescValidator;
23
23
  };
24
- isRequired: import("react-desc").PropTypesDescValidator;
24
+ isRequired: import("react-desc").PropTypesDescValue;
25
25
  };
26
26
  isOpen: {
27
- defaultValue<T = unknown>(arg: T): {
27
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
28
28
  deprecated: import("react-desc").PropTypesDescValidator;
29
29
  };
30
- isRequired: import("react-desc").PropTypesDescValidator;
30
+ isRequired: import("react-desc").PropTypesDescValue;
31
31
  };
32
32
  closeButtonOnClick: {
33
- defaultValue<T = unknown>(arg: T): {
33
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
34
34
  deprecated: import("react-desc").PropTypesDescValidator;
35
35
  };
36
- isRequired: import("react-desc").PropTypesDescValidator;
36
+ isRequired: import("react-desc").PropTypesDescValue;
37
37
  };
38
38
  actionLinkLabel: {
39
- defaultValue<T = unknown>(arg: T): {
39
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
40
40
  deprecated: import("react-desc").PropTypesDescValidator;
41
41
  };
42
- isRequired: import("react-desc").PropTypesDescValidator;
42
+ isRequired: import("react-desc").PropTypesDescValue;
43
43
  };
44
44
  actionLinkHref: {
45
- defaultValue<T = unknown>(arg: T): {
45
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
46
46
  deprecated: import("react-desc").PropTypesDescValidator;
47
47
  };
48
- isRequired: import("react-desc").PropTypesDescValidator;
48
+ isRequired: import("react-desc").PropTypesDescValue;
49
49
  };
50
50
  actionLinkOnClick: {
51
- defaultValue<T = unknown>(arg: T): {
51
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
52
52
  deprecated: import("react-desc").PropTypesDescValidator;
53
53
  };
54
- isRequired: import("react-desc").PropTypesDescValidator;
54
+ isRequired: import("react-desc").PropTypesDescValue;
55
55
  };
56
56
  label: {
57
- defaultValue<T = unknown>(arg: T): {
57
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
58
58
  deprecated: import("react-desc").PropTypesDescValidator;
59
59
  };
60
- isRequired: import("react-desc").PropTypesDescValidator;
60
+ isRequired: import("react-desc").PropTypesDescValue;
61
61
  };
62
62
  body: {
63
- defaultValue<T = unknown>(arg: T): {
63
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
64
64
  deprecated: import("react-desc").PropTypesDescValidator;
65
65
  };
66
- isRequired: import("react-desc").PropTypesDescValidator;
66
+ isRequired: import("react-desc").PropTypesDescValue;
67
67
  };
68
68
  showCloseButton: {
69
- defaultValue<T = unknown>(arg: T): {
69
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
70
70
  deprecated: import("react-desc").PropTypesDescValidator;
71
71
  };
72
- isRequired: import("react-desc").PropTypesDescValidator;
72
+ isRequired: import("react-desc").PropTypesDescValue;
73
73
  };
74
74
  containerProps: {
75
- defaultValue<T = unknown>(arg: T): {
75
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
76
76
  deprecated: import("react-desc").PropTypesDescValidator;
77
77
  };
78
- isRequired: import("react-desc").PropTypesDescValidator;
78
+ isRequired: import("react-desc").PropTypesDescValue;
79
79
  };
80
80
  focusOnOpen: {
81
- defaultValue<T = unknown>(arg: T): {
81
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
82
82
  deprecated: import("react-desc").PropTypesDescValidator;
83
83
  };
84
- isRequired: import("react-desc").PropTypesDescValidator;
84
+ isRequired: import("react-desc").PropTypesDescValue;
85
85
  };
86
86
  };
87
87
  };
@@ -1,69 +1,69 @@
1
1
  /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
2
  export declare const propTypes: {
3
3
  type: {
4
- defaultValue<T = unknown>(arg: T): {
4
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
5
5
  deprecated: import("react-desc").PropTypesDescValidator;
6
6
  };
7
- isRequired: import("react-desc").PropTypesDescValidator;
7
+ isRequired: import("react-desc").PropTypesDescValue;
8
8
  };
9
9
  isOpen: {
10
- defaultValue<T = unknown>(arg: T): {
10
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
11
11
  deprecated: import("react-desc").PropTypesDescValidator;
12
12
  };
13
- isRequired: import("react-desc").PropTypesDescValidator;
13
+ isRequired: import("react-desc").PropTypesDescValue;
14
14
  };
15
15
  closeButtonOnClick: {
16
- defaultValue<T = unknown>(arg: T): {
16
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
17
17
  deprecated: import("react-desc").PropTypesDescValidator;
18
18
  };
19
- isRequired: import("react-desc").PropTypesDescValidator;
19
+ isRequired: import("react-desc").PropTypesDescValue;
20
20
  };
21
21
  actionLinkLabel: {
22
- defaultValue<T = unknown>(arg: T): {
22
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
23
23
  deprecated: import("react-desc").PropTypesDescValidator;
24
24
  };
25
- isRequired: import("react-desc").PropTypesDescValidator;
25
+ isRequired: import("react-desc").PropTypesDescValue;
26
26
  };
27
27
  actionLinkHref: {
28
- defaultValue<T = unknown>(arg: T): {
28
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
29
29
  deprecated: import("react-desc").PropTypesDescValidator;
30
30
  };
31
- isRequired: import("react-desc").PropTypesDescValidator;
31
+ isRequired: import("react-desc").PropTypesDescValue;
32
32
  };
33
33
  actionLinkOnClick: {
34
- defaultValue<T = unknown>(arg: T): {
34
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
35
35
  deprecated: import("react-desc").PropTypesDescValidator;
36
36
  };
37
- isRequired: import("react-desc").PropTypesDescValidator;
37
+ isRequired: import("react-desc").PropTypesDescValue;
38
38
  };
39
39
  label: {
40
- defaultValue<T = unknown>(arg: T): {
40
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
41
41
  deprecated: import("react-desc").PropTypesDescValidator;
42
42
  };
43
- isRequired: import("react-desc").PropTypesDescValidator;
43
+ isRequired: import("react-desc").PropTypesDescValue;
44
44
  };
45
45
  body: {
46
- defaultValue<T = unknown>(arg: T): {
46
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
47
47
  deprecated: import("react-desc").PropTypesDescValidator;
48
48
  };
49
- isRequired: import("react-desc").PropTypesDescValidator;
49
+ isRequired: import("react-desc").PropTypesDescValue;
50
50
  };
51
51
  showCloseButton: {
52
- defaultValue<T = unknown>(arg: T): {
52
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
53
53
  deprecated: import("react-desc").PropTypesDescValidator;
54
54
  };
55
- isRequired: import("react-desc").PropTypesDescValidator;
55
+ isRequired: import("react-desc").PropTypesDescValue;
56
56
  };
57
57
  containerProps: {
58
- defaultValue<T = unknown>(arg: T): {
58
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
59
59
  deprecated: import("react-desc").PropTypesDescValidator;
60
60
  };
61
- isRequired: import("react-desc").PropTypesDescValidator;
61
+ isRequired: import("react-desc").PropTypesDescValue;
62
62
  };
63
63
  focusOnOpen: {
64
- defaultValue<T = unknown>(arg: T): {
64
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
65
65
  deprecated: import("react-desc").PropTypesDescValidator;
66
66
  };
67
- isRequired: import("react-desc").PropTypesDescValidator;
67
+ isRequired: import("react-desc").PropTypesDescValue;
68
68
  };
69
69
  };
@@ -1,28 +1,25 @@
1
1
  /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
2
  import React from 'react';
3
+ import { MobileCardProps } from './props';
3
4
  declare const DSMobileCardWithSchema: {
4
- (props?: {
5
- children: any;
6
- height?: string | undefined;
7
- leftAddOn: any;
8
- leftProp: any;
9
- rightProp: any;
10
- subText: any;
11
- subIcons: any;
12
- details: any;
13
- theme: any;
14
- expandable?: boolean | undefined;
15
- expandedContent: any;
16
- value: any;
17
- } | undefined): JSX.Element;
5
+ (props?: React.PropsWithChildren<MobileCardProps> | undefined): JSX.Element;
18
6
  propTypes: unknown;
19
7
  toTypescript: () => import("react-desc").TypescriptSchema;
20
8
  };
21
9
  export { DSMobileCardWithSchema };
22
10
  declare const _default: React.ForwardRefExoticComponent<{
23
- [x: string]: any;
24
- [x: number]: any;
25
- [x: symbol]: any;
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[];
26
23
  } & {
27
24
  theme?: import("styled-components").DefaultTheme | undefined;
28
25
  }>;
@@ -2,8 +2,8 @@
2
2
  import PropTypes from 'prop-types';
3
3
  export declare const ExpandableRegion: {
4
4
  ({ show, content }: {
5
- show: any;
6
- content: any;
5
+ show: boolean;
6
+ content: JSX.Element | JSX.Element[];
7
7
  }): JSX.Element;
8
8
  propTypes: {
9
9
  show: PropTypes.Requireable<boolean>;
@@ -1 +1,3 @@
1
- export declare const StyledCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const StyledCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
+ minHeight: string;
3
+ }, never>;
@@ -3,9 +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
- [x: string]: any;
7
- [x: number]: any;
8
- [x: symbol]: any;
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[];
9
18
  } & {
10
19
  theme?: import("styled-components").DefaultTheme | undefined;
11
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(arg: import("react-desc").ReactDescPossibleDefaultValues): {
25
+ deprecated: import("react-desc").PropTypesDescValidator;
26
+ };
27
+ isRequired: import("react-desc").PropTypesDescValue;
28
+ };
29
+ /**
30
+ * Defines mobile card title
31
+ */
32
+ children: import("react-desc").PropTypesDescValue;
33
+ /**
34
+ * Wheter if the card is expandable or not
35
+ */
36
+ expandable: {
37
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ isRequired: import("react-desc").PropTypesDescValue;
41
+ };
42
+ /**
43
+ * content to display in expand card section
44
+ */
45
+ expandedContent: {
46
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
47
+ deprecated: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ isRequired: import("react-desc").PropTypesDescValue;
50
+ };
51
+ /**
52
+ * Icon to the left of the card. Size is adjusted automatically.
53
+ */
54
+ leftAddOn: {
55
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
56
+ deprecated: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ isRequired: import("react-desc").PropTypesDescValue;
59
+ };
60
+ /**
61
+ * Pass an element to render left. For example a Button with an icon
62
+ */
63
+ leftProp: {
64
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
65
+ deprecated: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ isRequired: import("react-desc").PropTypesDescValue;
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(arg: import("react-desc").ReactDescPossibleDefaultValues): {
74
+ deprecated: import("react-desc").PropTypesDescValidator;
75
+ };
76
+ isRequired: import("react-desc").PropTypesDescValue;
77
+ };
78
+ /**
79
+ * Pass an array of 1 or 2 strings
80
+ */
81
+ subText: {
82
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
83
+ deprecated: import("react-desc").PropTypesDescValidator;
84
+ };
85
+ isRequired: import("react-desc").PropTypesDescValue;
86
+ };
87
+ /**
88
+ * SubIcons component
89
+ */
90
+ subIcons: {
91
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
92
+ deprecated: import("react-desc").PropTypesDescValidator;
93
+ };
94
+ isRequired: import("react-desc").PropTypesDescValue;
95
+ };
96
+ /**
97
+ * Pass an array of 1, 2 or 3 strings
98
+ */
99
+ details: {
100
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
101
+ deprecated: import("react-desc").PropTypesDescValidator;
102
+ };
103
+ isRequired: import("react-desc").PropTypesDescValue;
104
+ };
105
+ theme: import("react-desc").PropTypesDescValue;
106
+ value: {
107
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
108
+ deprecated: import("react-desc").PropTypesDescValidator;
109
+ };
110
+ isRequired: import("react-desc").PropTypesDescValue;
111
+ };
112
+ cardContent: {
113
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
114
+ deprecated: import("react-desc").PropTypesDescValidator;
115
+ };
116
+ isRequired: import("react-desc").PropTypesDescValue;
117
+ };
118
+ };