@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
@@ -20,31 +20,31 @@ declare const DSMobileContextMenuGroup: {
20
20
  children: any;
21
21
  /** multi select */
22
22
  isMulti: {
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
  /** single select */
29
29
  singleSelect: {
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
  /** value for select */
36
36
  value: {
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
  /** selected items, array for multi, string for single */
43
43
  selectedItems: {
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
  };
50
50
  componentType: string;
@@ -16,61 +16,61 @@ declare const DSMobileContextMenuItem: {
16
16
  propTypes: {
17
17
  /** label */
18
18
  label: {
19
- defaultValue<T = unknown>(arg: T): {
19
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
20
20
  deprecated: import("react-desc").PropTypesDescValidator;
21
21
  };
22
- isRequired: import("react-desc").PropTypesDescValidator;
22
+ isRequired: import("react-desc").PropTypesDescValue;
23
23
  };
24
24
  /** menu item title */
25
25
  title: any;
26
26
  /** */
27
27
  leftProp: {
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
  /** multi select */
34
34
  isMulti: {
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
  singleSelect: {
42
- defaultValue<T = unknown>(arg: T): {
42
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
43
43
  deprecated: import("react-desc").PropTypesDescValidator;
44
44
  };
45
- isRequired: import("react-desc").PropTypesDescValidator;
45
+ isRequired: import("react-desc").PropTypesDescValue;
46
46
  };
47
47
  /** */
48
48
  isGroup: {
49
- defaultValue<T = unknown>(arg: T): {
49
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
50
50
  deprecated: import("react-desc").PropTypesDescValidator;
51
51
  };
52
- isRequired: import("react-desc").PropTypesDescValidator;
52
+ isRequired: import("react-desc").PropTypesDescValue;
53
53
  };
54
54
  /** on click handler */
55
55
  onClick: {
56
- defaultValue<T = unknown>(arg: T): {
56
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
57
57
  deprecated: import("react-desc").PropTypesDescValidator;
58
58
  };
59
- isRequired: import("react-desc").PropTypesDescValidator;
59
+ isRequired: import("react-desc").PropTypesDescValue;
60
60
  };
61
61
  /** value for select */
62
62
  value: {
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
  /** selected value */
69
69
  isSelected: {
70
- defaultValue<T = unknown>(arg: T): {
70
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
71
71
  deprecated: import("react-desc").PropTypesDescValidator;
72
72
  };
73
- isRequired: import("react-desc").PropTypesDescValidator;
73
+ isRequired: import("react-desc").PropTypesDescValue;
74
74
  };
75
75
  };
76
76
  };
@@ -18,46 +18,46 @@ declare const DSMobileDatePicker: {
18
18
  * defaults to false
19
19
  */
20
20
  disabled: {
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
  /**
27
27
  * 0 as default
28
28
  */
29
29
  tabIndex: {
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
  /**
36
36
  * MM / DD / YYYY as default
37
37
  */
38
38
  placeholder: {
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
  /**
45
45
  * onChange handler, receives change event as first argument
46
46
  */
47
47
  onChange: {
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
  * ISO8601 string representing the date in format YYYY-MM-DD or empty string
55
55
  */
56
56
  value: {
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
  };
@@ -24,24 +24,24 @@ declare const DSMobileDropdownMenu: {
24
24
  propTypes: {
25
25
  /** dropdown menu placeholder */
26
26
  placeholder: {
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
  /** context menu menu title */
33
33
  title: {
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
  /** context menu options / items */
40
40
  options: {
41
- defaultValue<T = unknown>(arg: T): {
41
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
42
42
  deprecated: import("react-desc").PropTypesDescValidator;
43
43
  };
44
- isRequired: import("react-desc").PropTypesDescValidator;
44
+ isRequired: import("react-desc").PropTypesDescValue;
45
45
  };
46
46
  };
47
47
  };
@@ -7,10 +7,10 @@ declare const DSMobileEmptyState: {
7
7
  propTypes: {
8
8
  /** empty state label */
9
9
  label: {
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
  };
16
16
  };
@@ -5,7 +5,7 @@ declare const DSMobileFilterbar: {
5
5
  children: any;
6
6
  }): JSX.Element;
7
7
  propTypes: {
8
- children: import("react-desc").PropTypesDescValidator;
8
+ children: import("react-desc").PropTypesDescValue;
9
9
  };
10
10
  };
11
11
  declare const FilterbarWithSchema: {
@@ -6,12 +6,12 @@ declare const DSMobileFilterbarItem: {
6
6
  onClick: any;
7
7
  }): JSX.Element;
8
8
  propTypes: {
9
- children: import("react-desc").PropTypesDescValidator;
9
+ children: import("react-desc").PropTypesDescValue;
10
10
  onClick: {
11
- defaultValue<T = unknown>(arg: T): {
11
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
12
12
  deprecated: import("react-desc").PropTypesDescValidator;
13
13
  };
14
- isRequired: import("react-desc").PropTypesDescValidator;
14
+ isRequired: import("react-desc").PropTypesDescValue;
15
15
  };
16
16
  };
17
17
  };
@@ -5,7 +5,7 @@ declare const DSMobileFilterbarSort: {
5
5
  children: any;
6
6
  }): JSX.Element;
7
7
  propTypes: {
8
- children: import("react-desc").PropTypesDescValidator;
8
+ children: import("react-desc").PropTypesDescValue;
9
9
  };
10
10
  };
11
11
  declare const FilterbarSortWithSchema: {
@@ -9,24 +9,24 @@ declare const DSMobileFooterAction: {
9
9
  propTypes: {
10
10
  /** Action label */
11
11
  label: {
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
  /** Action icon */
18
18
  icon: {
19
- defaultValue<T = unknown>(arg: T): {
19
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
20
20
  deprecated: import("react-desc").PropTypesDescValidator;
21
21
  };
22
- isRequired: import("react-desc").PropTypesDescValidator;
22
+ isRequired: import("react-desc").PropTypesDescValue;
23
23
  };
24
24
  /** onClick callback */
25
25
  onClick: {
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
  };
@@ -19,46 +19,46 @@ declare const DSMobileTimePicker: {
19
19
  * defaults to false
20
20
  */
21
21
  disabled: {
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
  /**
28
28
  * 0 as default
29
29
  */
30
30
  tabIndex: {
31
- defaultValue<T = unknown>(arg: T): {
31
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
32
32
  deprecated: import("react-desc").PropTypesDescValidator;
33
33
  };
34
- isRequired: import("react-desc").PropTypesDescValidator;
34
+ isRequired: import("react-desc").PropTypesDescValue;
35
35
  };
36
36
  /**
37
37
  * HH : MM am as default
38
38
  */
39
39
  placeholder: {
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
  /**
46
46
  * onChange handler, receives change event as first argument
47
47
  */
48
48
  onChange: {
49
- defaultValue<T = unknown>(arg: T): {
49
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
50
50
  deprecated: import("react-desc").PropTypesDescValidator;
51
51
  };
52
- isRequired: import("react-desc").PropTypesDescValidator;
52
+ isRequired: import("react-desc").PropTypesDescValue;
53
53
  };
54
54
  /**
55
55
  * HH:MM string representing the time or empty string
56
56
  */
57
57
  value: {
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
  };
@@ -24,28 +24,28 @@ declare const Modal: {
24
24
  zIndex: {
25
25
  deprecated: import("react-desc").PropTypesDescValidator;
26
26
  };
27
- title: import("react-desc").PropTypesDescValidator;
28
- description: import("react-desc").PropTypesDescValidator;
27
+ title: import("react-desc").PropTypesDescValue;
28
+ description: import("react-desc").PropTypesDescValue;
29
29
  onClose: {
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
  showSecondaryAction: {
36
36
  deprecated: import("react-desc").PropTypesDescValidator;
37
37
  };
38
38
  secondaryActionProps: {
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
  primaryActionProps: {
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
  };
51
51
  };
@@ -11,10 +11,10 @@ declare const DSSideNav: {
11
11
  propTypes: {
12
12
  /** inject props to wrapper element of side nav */
13
13
  containerProps: {
14
- defaultValue<T = unknown>(arg: T): {
14
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
15
15
  deprecated: import("react-desc").PropTypesDescValidator;
16
16
  };
17
- isRequired: import("react-desc").PropTypesDescValidator;
17
+ isRequired: import("react-desc").PropTypesDescValue;
18
18
  };
19
19
  /**
20
20
  * Heading Title
@@ -24,28 +24,28 @@ declare const DSSideNav: {
24
24
  * Callback function when close is menu is triggered
25
25
  */
26
26
  onClose: {
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
  /**
33
33
  * Top Menu items array
34
34
  */
35
35
  menuItems: {
36
- defaultValue<T = unknown>(arg: T): {
36
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
37
37
  deprecated: import("react-desc").PropTypesDescValidator;
38
38
  };
39
- isRequired: import("react-desc").PropTypesDescValidator;
39
+ isRequired: import("react-desc").PropTypesDescValue;
40
40
  };
41
41
  /**
42
42
  * Bottom Menu items array
43
43
  */
44
44
  bottomMenuItems: {
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
  };
51
51
  };
@@ -11,17 +11,17 @@ declare const SwipeToRefresh: {
11
11
  children: any;
12
12
  /** toggle loading state for swipe */
13
13
  loading: {
14
- defaultValue<T = unknown>(arg: T): {
14
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
15
15
  deprecated: import("react-desc").PropTypesDescValidator;
16
16
  };
17
- isRequired: import("react-desc").PropTypesDescValidator;
17
+ isRequired: import("react-desc").PropTypesDescValue;
18
18
  };
19
19
  /** callback on refresh swipe */
20
20
  onRefresh: {
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
  };
27
27
  };
@@ -1,9 +1,24 @@
1
- /// <reference types="react" />
2
- export declare const DSMobileTabs: ({ children, ...props }: {
3
- [x: string]: any;
4
- children: any;
5
- }) => JSX.Element;
6
- export declare const DSMobileTab: ({ children, ...props }: {
7
- [x: string]: any;
8
- children: any;
9
- }) => JSX.Element;
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
+ import type { WeakValidationMap } from 'react';
3
+ import type { DSTabsPropsT, DSTabPropsT } from '@elliemae/ds-tabs';
4
+ declare type DSMobileTabsPropsT = Omit<DSTabsPropsT, 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'>;
5
+ declare type DSMobileTabPropsT = Omit<DSTabPropsT, 'isDSMobile'>;
6
+ export declare const DSMobileTabs: {
7
+ ({ children, ...props }: DSMobileTabsPropsT): JSX.Element;
8
+ propTypes: WeakValidationMap<unknown>;
9
+ };
10
+ export declare const DSMobileTab: {
11
+ ({ children, ...props }: DSMobileTabPropsT): JSX.Element;
12
+ propTypes: WeakValidationMap<unknown>;
13
+ };
14
+ declare const DSMobileTabsWithSchema: {
15
+ (props?: DSMobileTabsPropsT | undefined): JSX.Element;
16
+ propTypes: unknown;
17
+ toTypescript: () => import("react-desc").TypescriptSchema;
18
+ };
19
+ declare const DSMobileTabWithSchema: {
20
+ (props?: DSMobileTabPropsT | undefined): JSX.Element;
21
+ propTypes: unknown;
22
+ toTypescript: () => import("react-desc").TypescriptSchema;
23
+ };
24
+ export { DSMobileTabsWithSchema, DSMobileTabWithSchema };
@@ -0,0 +1,42 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
+ export declare const MobileTabPropTypes: {
3
+ tabId: {
4
+ deprecated: import("react-desc").PropTypesDescValidator;
5
+ };
6
+ title: {
7
+ deprecated: import("react-desc").PropTypesDescValidator;
8
+ };
9
+ required: {
10
+ deprecated: import("react-desc").PropTypesDescValidator;
11
+ };
12
+ disabled: {
13
+ deprecated: import("react-desc").PropTypesDescValidator;
14
+ };
15
+ };
16
+ export declare const MobileTabsPropTypes: {
17
+ onTabChange: {
18
+ deprecated: import("react-desc").PropTypesDescValidator;
19
+ };
20
+ tabBarExtraContent: {
21
+ deprecated: import("react-desc").PropTypesDescValidator;
22
+ };
23
+ onlyRenderActiveTab: {
24
+ deprecated: import("react-desc").PropTypesDescValidator;
25
+ };
26
+ fixedTabsHeaders: {
27
+ deprecated: import("react-desc").PropTypesDescValidator;
28
+ };
29
+ activeTab: {
30
+ deprecated: import("react-desc").PropTypesDescValidator;
31
+ };
32
+ children: import("react-desc").PropTypesDescValue;
33
+ tabsListAriaLabel: {
34
+ deprecated: import("react-desc").PropTypesDescValidator;
35
+ };
36
+ containerProps: {
37
+ deprecated: import("react-desc").PropTypesDescValidator;
38
+ };
39
+ innerRef: {
40
+ deprecated: import("react-desc").PropTypesDescValidator;
41
+ };
42
+ };