@elliemae/ds-mobile 2.0.0-next.8 → 2.0.0-rc.3

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 (138) hide show
  1. package/cjs/Accordion/Accordion.js +5 -5
  2. package/cjs/Accordion/index.js +5 -5
  3. package/cjs/CategoryBox/CategoryBox.js +12 -11
  4. package/cjs/CollectionBox/CollectionBox.js +14 -13
  5. package/cjs/FullPageContainer/FullPageContainer.js +7 -2
  6. package/cjs/FullPageContainer/FullPageContainerScroll.js +7 -2
  7. package/cjs/GlobalHeader/MobileGlobalHeader.js +28 -24
  8. package/cjs/GroupBox/GroupBox.js +13 -12
  9. package/cjs/InfiniteLoader/Infiniteloader.js +11 -9
  10. package/cjs/InfiniteLoader/Loader.js +12 -9
  11. package/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js +49 -22
  12. package/cjs/LoadingPage/Page.js +24 -12
  13. package/cjs/MobileActionToolbar/MobileActionToolbar.js +8 -7
  14. package/cjs/MobileActionToolbar/MobileActionToolbarItem.js +6 -1
  15. package/cjs/MobileBanner/MobileBanner.js +21 -16
  16. package/cjs/MobileBanner/styles.js +128 -59
  17. package/cjs/MobileBanner/utils/icons.js +5 -12
  18. package/cjs/MobileBanner/utils/styleHelpers.js +8 -4
  19. package/cjs/MobileCard/ActionAddon.js +16 -14
  20. package/cjs/MobileCard/Card.js +26 -22
  21. package/cjs/MobileCard/CardIcons.js +21 -16
  22. package/cjs/MobileCard/ExpandChevron.js +8 -10
  23. package/cjs/MobileCard/ExpandableRegion.js +5 -4
  24. package/cjs/MobileCard/Group.js +22 -16
  25. package/cjs/MobileContextMenu/MobileContextMenu.js +33 -25
  26. package/cjs/MobileContextMenu/MobileContextMenuGroup.js +35 -25
  27. package/cjs/MobileContextMenu/MobileContextMenuItem.js +29 -25
  28. package/cjs/MobileDatePicker/Input.js +5 -0
  29. package/cjs/MobileDatePicker/MobileDatePicker.js +15 -16
  30. package/cjs/MobileDropdownMenu/MobileDropdownInput.js +27 -17
  31. package/cjs/MobileDropdownMenu/MobileDropdownMenu.js +19 -16
  32. package/cjs/MobileEmtpyState/MobileEmptyState.js +10 -8
  33. package/cjs/MobileFilterbar/Filterbar.js +13 -10
  34. package/cjs/MobileFilterbar/FilterbarItem.js +15 -12
  35. package/cjs/MobileFilterbar/FilterbarSort.js +17 -14
  36. package/cjs/MobileFooter/Action.js +27 -24
  37. package/cjs/MobileFooter/Footer.js +15 -8
  38. package/cjs/MobileFooter/Text.js +6 -3
  39. package/cjs/MobileListItem/MobileListItem.js +14 -13
  40. package/cjs/MobilePageHeader/MobilePageHeader.js +35 -35
  41. package/cjs/MobileSelectList/MobileSelectList.js +29 -22
  42. package/cjs/MobileSelectList/styled.js +9 -11
  43. package/cjs/MobileSeparator/Separator.js +30 -18
  44. package/cjs/MobileTimePicker/Input.js +5 -0
  45. package/cjs/MobileTimePicker/MobileTimePicker.js +15 -16
  46. package/cjs/MobileTimePicker/MobileTimePicker.stories.js +2 -2
  47. package/cjs/MobileTouchable/MobileTouchable.js +7 -2
  48. package/cjs/Modal/Modal.js +30 -25
  49. package/cjs/Modal/styled.js +7 -7
  50. package/cjs/PageFilter/PageFilter.js +20 -15
  51. package/cjs/PageForm/PageForm.js +22 -15
  52. package/cjs/PageList/PageList.js +12 -11
  53. package/cjs/PageSearch/PageSearch.js +14 -13
  54. package/cjs/PageSummary/PageSummary.js +34 -21
  55. package/cjs/PageSummary/Tags.js +12 -6
  56. package/cjs/SideNav/SideNav.js +42 -34
  57. package/cjs/SwipeToRefresh/ProgressIndicator.js +6 -5
  58. package/cjs/SwipeToRefresh/SwipeToRefresh.js +8 -7
  59. package/cjs/SwipeToRefresh/styled.js +4 -4
  60. package/cjs/SwipeToRefresh/useSwipe.js +5 -4
  61. package/cjs/Tabs/index.js +8 -3
  62. package/cjs/index.js +9 -5
  63. package/esm/Accordion/Accordion.js +1 -1
  64. package/esm/Accordion/index.js +1 -1
  65. package/esm/CategoryBox/CategoryBox.js +9 -8
  66. package/esm/CollectionBox/CollectionBox.js +9 -8
  67. package/esm/FullPageContainer/FullPageContainer.js +6 -1
  68. package/esm/FullPageContainer/FullPageContainerScroll.js +6 -1
  69. package/esm/GlobalHeader/MobileGlobalHeader.js +20 -14
  70. package/esm/GroupBox/GroupBox.js +10 -9
  71. package/esm/InfiniteLoader/Infiniteloader.js +9 -7
  72. package/esm/InfiniteLoader/Loader.js +12 -9
  73. package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +50 -23
  74. package/esm/LoadingPage/Page.js +24 -12
  75. package/esm/MobileActionToolbar/MobileActionToolbar.js +7 -6
  76. package/esm/MobileActionToolbar/MobileActionToolbarItem.js +6 -1
  77. package/esm/MobileBanner/MobileBanner.js +20 -14
  78. package/esm/MobileBanner/styles.js +128 -59
  79. package/esm/MobileBanner/utils/icons.js +1 -4
  80. package/esm/MobileBanner/utils/styleHelpers.js +8 -4
  81. package/esm/MobileCard/ActionAddon.js +16 -13
  82. package/esm/MobileCard/Card.js +20 -16
  83. package/esm/MobileCard/CardIcons.js +20 -15
  84. package/esm/MobileCard/ExpandChevron.js +8 -8
  85. package/esm/MobileCard/ExpandableRegion.js +5 -4
  86. package/esm/MobileCard/Group.js +20 -14
  87. package/esm/MobileContextMenu/MobileContextMenu.js +26 -18
  88. package/esm/MobileContextMenu/MobileContextMenuGroup.js +35 -25
  89. package/esm/MobileContextMenu/MobileContextMenuItem.js +25 -19
  90. package/esm/MobileDatePicker/Input.js +5 -0
  91. package/esm/MobileDatePicker/MobileDatePicker.js +12 -11
  92. package/esm/MobileDropdownMenu/MobileDropdownInput.js +27 -16
  93. package/esm/MobileDropdownMenu/MobileDropdownMenu.js +19 -16
  94. package/esm/MobileEmtpyState/MobileEmptyState.js +10 -7
  95. package/esm/MobileFilterbar/Filterbar.js +13 -10
  96. package/esm/MobileFilterbar/FilterbarItem.js +15 -12
  97. package/esm/MobileFilterbar/FilterbarSort.js +17 -14
  98. package/esm/MobileFooter/Action.js +26 -23
  99. package/esm/MobileFooter/Footer.js +12 -5
  100. package/esm/MobileFooter/Text.js +6 -3
  101. package/esm/MobileListItem/MobileListItem.js +10 -9
  102. package/esm/MobilePageHeader/MobilePageHeader.js +17 -16
  103. package/esm/MobileSelectList/MobileSelectList.js +25 -17
  104. package/esm/MobileSelectList/styled.js +4 -4
  105. package/esm/MobileSeparator/Separator.js +28 -16
  106. package/esm/MobileTimePicker/Input.js +5 -0
  107. package/esm/MobileTimePicker/MobileTimePicker.js +12 -11
  108. package/esm/MobileTimePicker/MobileTimePicker.stories.js +1 -1
  109. package/esm/MobileTouchable/MobileTouchable.js +6 -1
  110. package/esm/Modal/Modal.js +25 -19
  111. package/esm/Modal/styled.js +1 -1
  112. package/esm/PageFilter/PageFilter.js +15 -10
  113. package/esm/PageForm/PageForm.js +18 -11
  114. package/esm/PageList/PageList.js +10 -9
  115. package/esm/PageSearch/PageSearch.js +10 -9
  116. package/esm/PageSummary/PageSummary.js +32 -19
  117. package/esm/PageSummary/Tags.js +12 -6
  118. package/esm/SideNav/SideNav.js +38 -29
  119. package/esm/SwipeToRefresh/ProgressIndicator.js +5 -4
  120. package/esm/SwipeToRefresh/SwipeToRefresh.js +7 -6
  121. package/esm/SwipeToRefresh/styled.js +1 -1
  122. package/esm/SwipeToRefresh/useSwipe.js +5 -4
  123. package/esm/Tabs/index.js +6 -1
  124. package/esm/index.js +4 -3
  125. package/package.json +15 -7
  126. package/types/Accordion/Accordion.d.ts +1 -1
  127. package/types/CategoryBox/CategoryBox.d.ts +1 -1
  128. package/types/CollectionBox/CollectionBox.d.ts +1 -1
  129. package/types/GroupBox/GroupBox.d.ts +1 -1
  130. package/types/InfiniteLoader/Infiniteloader.d.ts +1 -1
  131. package/types/MobileBanner/styles.d.ts +60 -1
  132. package/types/MobileDatePicker/MobileDatePicker.d.ts +1 -1
  133. package/types/MobileSelectList/styled.d.ts +4 -4
  134. package/types/MobileTimePicker/MobileTimePicker.d.ts +1 -1
  135. package/types/Modal/styled.d.ts +7 -6
  136. package/types/SideNav/SideNav.d.ts +1 -1
  137. package/types/SwipeToRefresh/styled.d.ts +4 -3
  138. package/types/index.d.ts +5 -1
@@ -2,7 +2,7 @@ import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
3
  import { PropTypes, describe } from 'react-desc';
4
4
  import styled from 'styled-components';
5
- import { Grid } from '@elliemae/ds-basic/Grid';
5
+ import { Grid } from '@elliemae/ds-grid';
6
6
  import MobileSeparator from '../MobileSeparator/Separator.js';
7
7
  import { jsxs, Fragment } from 'react/jsx-runtime';
8
8
 
@@ -10,19 +10,22 @@ const Separator = /*#__PURE__*/styled.div.withConfig({
10
10
  componentId: "sc-103uq0b-0"
11
11
  })(["& > *{margin-left:0;}"]);
12
12
 
13
- const DSMobileFilterbarSort = ({
14
- children
15
- }) => /*#__PURE__*/jsxs(Fragment, {
16
- children: [children, /*#__PURE__*/_jsx(Grid, {
17
- pb: "xxs",
18
- pt: "xxs",
19
- cols: ['min-content']
20
- }, void 0, /*#__PURE__*/_jsx(Separator, {}, void 0, /*#__PURE__*/_jsx(MobileSeparator, {
21
- margin: "xxs",
22
- direction: "vertical",
23
- color: ['neutral', '300']
24
- })))]
25
- });
13
+ const DSMobileFilterbarSort = _ref => {
14
+ let {
15
+ children
16
+ } = _ref;
17
+ return /*#__PURE__*/jsxs(Fragment, {
18
+ children: [children, /*#__PURE__*/_jsx(Grid, {
19
+ pb: "xxs",
20
+ pt: "xxs",
21
+ cols: ['min-content']
22
+ }, void 0, /*#__PURE__*/_jsx(Separator, {}, void 0, /*#__PURE__*/_jsx(MobileSeparator, {
23
+ margin: "xxs",
24
+ direction: "vertical",
25
+ color: ['neutral', '300']
26
+ })))]
27
+ });
28
+ };
26
29
 
27
30
  const filterbarSortProps = {
28
31
  children: PropTypes.element.description('FilterBar Sort Item').isRequired
@@ -3,34 +3,37 @@ import React from 'react';
3
3
  import styled from 'styled-components';
4
4
  import { typography } from 'styled-system';
5
5
  import { color, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
6
- import { Grid } from '@elliemae/ds-basic/Grid';
6
+ import { Grid } from '@elliemae/ds-grid';
7
7
  import { PropTypes, describe } from 'react-desc';
8
8
 
9
9
  const Label = /*#__PURE__*/styled.span.withConfig({
10
10
  componentId: "sc-1op229o-0"
11
- })(["", " ", " padding-bottom:", ";padding-top:calc( ", " / 2 );"], typography, color('neutral', '800'), props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xxs), props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xxs));
11
+ })(["", " ", " padding-bottom:", ";padding-top:calc(", " / 2);"], typography, color('neutral', '800'), props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xxs), props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xxs));
12
12
 
13
- const DSMobileFooterAction = ({
14
- label,
15
- icon,
16
- onClick
17
- }) => /*#__PURE__*/_jsx(Grid, {
18
- "data-testid": "ds-mobile-footer-action",
19
- rows: ['auto'].concat(label ? 'min-content' : 'none'),
20
- justifyContent: "center",
21
- role: "button",
22
- onClick: onClick
23
- }, void 0, /*#__PURE__*/_jsx(Grid, {
24
- justifyContent: "center",
25
- alignItems: "center"
26
- }, void 0, /*#__PURE__*/React.cloneElement(icon, {
27
- 'data-testid': 'ds-mobile-footer-action-icon',
28
- size: !label ? 'l' : 'm'
29
- })), label && /*#__PURE__*/_jsx(Grid, {
30
- justifyContent: "center"
31
- }, void 0, /*#__PURE__*/_jsx(Label, {
32
- fontSize: "11px"
33
- }, void 0, label)));
13
+ const DSMobileFooterAction = _ref => {
14
+ let {
15
+ label,
16
+ icon,
17
+ onClick
18
+ } = _ref;
19
+ return /*#__PURE__*/_jsx(Grid, {
20
+ "data-testid": "ds-mobile-footer-action",
21
+ rows: ['auto'].concat(label ? 'min-content' : 'none'),
22
+ justifyContent: "center",
23
+ role: "button",
24
+ onClick: onClick
25
+ }, void 0, /*#__PURE__*/_jsx(Grid, {
26
+ justifyContent: "center",
27
+ alignItems: "center"
28
+ }, void 0, /*#__PURE__*/React.cloneElement(icon, {
29
+ 'data-testid': 'ds-mobile-footer-action-icon',
30
+ size: !label ? 'l' : 'm'
31
+ })), label && /*#__PURE__*/_jsx(Grid, {
32
+ justifyContent: "center"
33
+ }, void 0, /*#__PURE__*/_jsx(Label, {
34
+ fontSize: "11px"
35
+ }, void 0, label)));
36
+ };
34
37
 
35
38
  const actionProps = {
36
39
  /** Action label */
@@ -1,9 +1,15 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
+ import 'core-js/modules/esnext.async-iterator.constructor.js';
3
+ import 'core-js/modules/esnext.async-iterator.to-array.js';
4
+ import 'core-js/modules/esnext.iterator.constructor.js';
5
+ import 'core-js/modules/esnext.iterator.to-array.js';
6
+ import 'core-js/modules/esnext.async-iterator.map.js';
7
+ import 'core-js/modules/esnext.iterator.map.js';
2
8
  import React from 'react';
3
9
  import styled from 'styled-components';
4
10
  import { border, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
5
- import { Grid } from '@elliemae/ds-basic/Grid';
6
- import DSButton from '@elliemae/ds-basic/Button';
11
+ import { Grid } from '@elliemae/ds-grid';
12
+ import DSButton from '@elliemae/ds-button';
7
13
  import { PropTypes, describe } from 'react-desc';
8
14
  import { DSMobileFooterText } from './Text.js';
9
15
 
@@ -11,9 +17,10 @@ const FooterWrap = /*#__PURE__*/styled(Grid).withConfig({
11
17
  componentId: "sc-ls5vfg-0"
12
18
  })(["background-color:", ";border-top:", ";height:", ";"], props => props.theme.colors.neutral['000'], props => border(props.theme.colors.neutral[100]), props => "calc(".concat(__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs), " * 7)"));
13
19
 
14
- const MobileFooter = ({
15
- children
16
- }) => {
20
+ const MobileFooter = _ref => {
21
+ let {
22
+ children
23
+ } = _ref;
17
24
  const childArr = React.Children.toArray(children);
18
25
  const isButtonType = childArr[0].type === DSMobileFooterText || childArr[0].type === DSButton;
19
26
 
@@ -8,9 +8,12 @@ const Text = /*#__PURE__*/styled.p.withConfig({
8
8
  componentId: "sc-1v0cqsw-0"
9
9
  })(["margin:auto 0;", " ", " ", ""], truncate(), textStyle('body'), color('neutral', '800'));
10
10
 
11
- const DSMobileFooterText = ({
12
- children
13
- }) => /*#__PURE__*/_jsx(Text, {}, void 0, children);
11
+ const DSMobileFooterText = _ref => {
12
+ let {
13
+ children
14
+ } = _ref;
15
+ return /*#__PURE__*/_jsx(Text, {}, void 0, children);
16
+ };
14
17
 
15
18
  const props = {
16
19
  children: PropTypes.string.isRequired.description('Children')
@@ -2,7 +2,7 @@ import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
3
  import { PropTypes, describe } from 'react-desc';
4
4
  import styled from 'styled-components';
5
- import { Grid } from '@elliemae/ds-basic/Grid';
5
+ import { Grid } from '@elliemae/ds-grid';
6
6
  import { truncate, withTheme, __UNSAFE_SPACE_TO_DIMSUM, border } from '@elliemae/ds-system';
7
7
 
8
8
  const StyledContainer = /*#__PURE__*/styled(Grid).withConfig({
@@ -12,14 +12,15 @@ const StyledTitle = /*#__PURE__*/styled.div.withConfig({
12
12
  componentId: "sc-n7r3qn-1"
13
13
  })(["font-weight:", ";font-size:13px;color:", ";", ""], props => props.theme.fontWeights.semibold, props => props.theme.colors.neutral['800'], truncate());
14
14
 
15
- const MobileListItem = ({
16
- leftAddon = null,
17
- rightAddon = null,
18
- title = '',
19
- value = '',
20
- dataTestid = 'mobile-list-item',
21
- theme
22
- }) => {
15
+ const MobileListItem = _ref => {
16
+ let {
17
+ leftAddon = null,
18
+ rightAddon = null,
19
+ title = '',
20
+ value = '',
21
+ dataTestid = 'mobile-list-item',
22
+ theme
23
+ } = _ref;
23
24
  const cols = [1];
24
25
  if (leftAddon) cols.unshift(__UNSAFE_SPACE_TO_DIMSUM(theme.space.m));
25
26
  if (rightAddon) cols.push(__UNSAFE_SPACE_TO_DIMSUM(theme.space.m));
@@ -3,11 +3,11 @@ import 'core-js/modules/web.dom-collections.iterator.js';
3
3
  import React, { useMemo, useState, useCallback } from 'react';
4
4
  import { PropTypes, describe } from 'react-desc';
5
5
  import styled from 'styled-components';
6
- import { TruncatedExpandableText } from '@elliemae/ds-basic/TruncatedExpandableText';
7
- import { Grid } from '@elliemae/ds-basic/Grid';
6
+ import { TruncatedExpandableText } from '@elliemae/ds-truncated-expandable-text';
7
+ import { Grid } from '@elliemae/ds-grid';
8
8
  import { truncate, withTheme, __UNSAFE_SPACE_TO_DIMSUM, border } from '@elliemae/ds-system';
9
- import ChevronSmallDown from '@elliemae/ds-icons/ChevronSmallDown';
10
- import DSButton from '@elliemae/ds-basic/Button';
9
+ import { ChevronSmallDown } from '@elliemae/ds-icons';
10
+ import DSButton from '@elliemae/ds-button';
11
11
  import MobileSeparator from '../MobileSeparator/Separator.js';
12
12
 
13
13
  var _ChevronSmallDown;
@@ -27,18 +27,19 @@ const Wrapper = /*#__PURE__*/styled(Grid).withConfig({
27
27
  componentId: "sc-1tfu1y9-4"
28
28
  })(["border-bottom:", ";"], props => border(props.theme.colors.neutral['300']));
29
29
 
30
- const MobilePageHeader = ({
31
- pageTitle = null,
32
- contextMenu = null,
33
- firstAction = null,
34
- secondAction = null,
35
- backArrow = null,
36
- breadCrumb = null,
37
- onOpenContextMenu = () => null,
38
- value,
39
- label,
40
- theme
41
- }) => {
30
+ const MobilePageHeader = _ref => {
31
+ let {
32
+ pageTitle = null,
33
+ contextMenu = null,
34
+ firstAction = null,
35
+ secondAction = null,
36
+ backArrow = null,
37
+ breadCrumb = null,
38
+ onOpenContextMenu = () => null,
39
+ value,
40
+ label,
41
+ theme
42
+ } = _ref;
42
43
  const hasValue = value === 0 || value;
43
44
  const countActions = useMemo(() => {
44
45
  let count = 0;
@@ -1,10 +1,17 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
2
  import _jsx from '@babel/runtime/helpers/esm/jsx';
3
3
  import 'core-js/modules/web.dom-collections.iterator.js';
4
+ import 'core-js/modules/esnext.async-iterator.filter.js';
5
+ import 'core-js/modules/esnext.iterator.constructor.js';
6
+ import 'core-js/modules/esnext.iterator.filter.js';
7
+ import 'core-js/modules/esnext.async-iterator.map.js';
8
+ import 'core-js/modules/esnext.iterator.map.js';
9
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
10
+ import 'core-js/modules/esnext.iterator.for-each.js';
4
11
  import React, { useState, useEffect } from 'react';
5
12
  import { noop } from 'lodash';
6
- import { Grid } from '@elliemae/ds-basic/Grid';
7
- import DSTextBox from '@elliemae/ds-basic/form/TextBox';
13
+ import { Grid } from '@elliemae/ds-grid';
14
+ import { DSTextBox } from '@elliemae/ds-form';
8
15
  import { withTheme, op, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
9
16
  import { DSMobileTouchable } from '../MobileTouchable/MobileTouchable.js';
10
17
  import { StyledContainer, HeaderContainer, ListContainer, Footer, checked, checkbox, selectedMark } from './styled.js';
@@ -14,21 +21,22 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
14
21
 
15
22
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
16
23
 
17
- const MobileSelectList = ({
18
- open = false,
19
- header = null,
20
- multiple = false,
21
- onChange = noop,
22
- children,
23
- theme,
24
- zIndex = 1,
25
- useSearch,
26
- onSearch = noop,
27
- dataTestid = 'mobile-select-list',
28
- buttonFooter = null,
29
- onApply = noop,
30
- selecteds: initSelecteds = []
31
- }) => {
24
+ const MobileSelectList = _ref => {
25
+ let {
26
+ open = false,
27
+ header = null,
28
+ multiple = false,
29
+ onChange = noop,
30
+ children,
31
+ theme,
32
+ zIndex = 1,
33
+ useSearch,
34
+ onSearch = noop,
35
+ dataTestid = 'mobile-select-list',
36
+ buttonFooter = null,
37
+ onApply = noop,
38
+ selecteds: initSelecteds = []
39
+ } = _ref;
32
40
  const rows = ['auto', 1];
33
41
  const [selecteds, setSelected] = useState(initSelecteds);
34
42
  const [filter, setFilter] = useState('');
@@ -2,9 +2,9 @@ import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
3
  import { noop } from 'lodash';
4
4
  import styled from 'styled-components';
5
- import { Grid } from '@elliemae/ds-basic/Grid';
6
- import DSCheckbox from '@elliemae/ds-basic/form/Checkbox';
7
- import DSCheckmark from '@elliemae/ds-icons/Checkmark';
5
+ import { Grid } from '@elliemae/ds-grid';
6
+ import { DSCheckbox } from '@elliemae/ds-form';
7
+ import { Checkmark } from '@elliemae/ds-icons';
8
8
  import { border } from '@elliemae/ds-system';
9
9
  import { DSMobileTouchable } from '../MobileTouchable/MobileTouchable.js';
10
10
  import { DSMobileListItem } from '../MobileListItem/MobileListItem.js';
@@ -35,7 +35,7 @@ const checked = /*#__PURE__*/_jsx(DSCheckbox, {
35
35
  pointerEvents: 'none'
36
36
  }
37
37
  });
38
- const selectedMark = /*#__PURE__*/_jsx(DSCheckmark, {
38
+ const selectedMark = /*#__PURE__*/_jsx(Checkmark, {
39
39
  color: ['brand-primary', 600]
40
40
  });
41
41
 
@@ -1,8 +1,13 @@
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.constructor.js';
3
+ import 'core-js/modules/esnext.iterator.filter.js';
4
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
5
+ import 'core-js/modules/esnext.iterator.for-each.js';
1
6
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
7
  import 'react';
3
8
  import { PropTypes, describe } from 'react-desc';
4
9
  import styled from 'styled-components';
5
- import { Grid } from '@elliemae/ds-basic/Grid';
10
+ import { Grid } from '@elliemae/ds-grid';
6
11
  import { jsx } from 'react/jsx-runtime';
7
12
 
8
13
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
@@ -10,22 +15,29 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
10
15
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
11
16
  const Separator = /*#__PURE__*/styled(Grid).withConfig({
12
17
  componentId: "sc-lje3kq-0"
13
- })(["border-top:", ";border-left:", ";"], ({
14
- theme,
15
- color,
16
- borderType
17
- }) => "".concat(theme.colors[color[0]][color[1]], " 1px ").concat(borderType), ({
18
- theme,
19
- color,
20
- borderType
21
- }) => "".concat(theme.colors[color[0]][color[1]], " 1px ").concat(borderType));
18
+ })(["border-top:", ";border-left:", ";"], _ref => {
19
+ let {
20
+ theme,
21
+ color,
22
+ borderType
23
+ } = _ref;
24
+ return "".concat(theme.colors[color[0]][color[1]], " 1px ").concat(borderType);
25
+ }, _ref2 => {
26
+ let {
27
+ theme,
28
+ color,
29
+ borderType
30
+ } = _ref2;
31
+ return "".concat(theme.colors[color[0]][color[1]], " 1px ").concat(borderType);
32
+ });
22
33
 
23
- const MobileSeparator = ({
24
- color = ['neutral', '800'],
25
- direction = 'horizontal',
26
- type = 'solid',
27
- margin = 'xs'
28
- }) => {
34
+ const MobileSeparator = _ref3 => {
35
+ let {
36
+ color = ['neutral', '800'],
37
+ direction = 'horizontal',
38
+ type = 'solid',
39
+ margin = 'xs'
40
+ } = _ref3;
29
41
  const orientation = direction === 'vertical' ? 'height' : 'width';
30
42
  const xORy = direction === 'vertical' ? 'mx' : 'my';
31
43
  const styles = {
@@ -1,3 +1,8 @@
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.constructor.js';
3
+ import 'core-js/modules/esnext.iterator.filter.js';
4
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
5
+ import 'core-js/modules/esnext.iterator.for-each.js';
1
6
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
7
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
8
  import 'react';
@@ -1,21 +1,22 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import { useRef, useEffect, useMemo } from 'react';
3
3
  import { PropTypes, describe } from 'react-desc';
4
- import { DSIconColors } from '@elliemae/ds-basic/Icon';
5
- import RecentDocuments from '@elliemae/ds-icons/RecentDocuments';
6
- import DSButton from '@elliemae/ds-basic/Button';
7
- import DSInputGroup from '@elliemae/ds-basic/form/InputGroup';
4
+ import { DSIconColors } from '@elliemae/ds-icon';
5
+ import { RecentDocuments } from '@elliemae/ds-icons';
6
+ import DSButton from '@elliemae/ds-button';
7
+ import { DSInputGroup } from '@elliemae/ds-form';
8
8
  import { Input } from './Input.js';
9
9
 
10
10
  var _RecentDocuments;
11
11
 
12
- const DSMobileTimePicker = ({
13
- disabled,
14
- value,
15
- tabIndex,
16
- placeholder,
17
- onChange
18
- }) => {
12
+ const DSMobileTimePicker = _ref => {
13
+ let {
14
+ disabled,
15
+ value,
16
+ tabIndex,
17
+ placeholder,
18
+ onChange
19
+ } = _ref;
19
20
  const inputRef = useRef(null);
20
21
  const valueArr = value.split(':');
21
22
  useEffect(() => {
@@ -1,6 +1,6 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
- import { Grid } from '@elliemae/ds-basic/Grid';
3
+ import { Grid } from '@elliemae/ds-grid';
4
4
  import { addDefaultMobileView, PATH_MOBILE_TIME_PICKER, useMobileTimePicker } from '@elliemae/ds-devutils';
5
5
  import { DSMobileTimePicker } from './MobileTimePicker.js';
6
6
 
@@ -1,10 +1,15 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
3
  import 'core-js/modules/web.dom-collections.iterator.js';
4
+ import 'core-js/modules/esnext.async-iterator.filter.js';
5
+ import 'core-js/modules/esnext.iterator.constructor.js';
6
+ import 'core-js/modules/esnext.iterator.filter.js';
7
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
8
+ import 'core-js/modules/esnext.iterator.for-each.js';
4
9
  import { useState, useCallback } from 'react';
5
10
  import { noop } from 'lodash';
6
11
  import styled from 'styled-components';
7
- import { Grid } from '@elliemae/ds-basic/Grid';
12
+ import { Grid } from '@elliemae/ds-grid';
8
13
  import { withTheme } from '@elliemae/ds-system';
9
14
  import { jsx } from 'react/jsx-runtime';
10
15
 
@@ -1,11 +1,16 @@
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.constructor.js';
3
+ import 'core-js/modules/esnext.iterator.filter.js';
4
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
5
+ import 'core-js/modules/esnext.iterator.for-each.js';
1
6
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
7
  import _jsx from '@babel/runtime/helpers/esm/jsx';
3
8
  import 'react';
4
9
  import { PropTypes, describe } from 'react-desc';
5
10
  import { noop } from 'lodash';
6
- import { Grid } from '@elliemae/ds-basic/Grid';
7
- import WarningTriangle from '@elliemae/ds-icons/WarningTriangle';
8
- import DSButton from '@elliemae/ds-basic/Button';
11
+ import { Grid } from '@elliemae/ds-grid';
12
+ import { WarningTriangle } from '@elliemae/ds-icons';
13
+ import DSButton from '@elliemae/ds-button';
9
14
  import { useTheme } from '@elliemae/ds-system';
10
15
  import { BodyFix, BackShadow, ModalPosition, ModalBox, ModalIcon, ModalTitle, ModalDescription } from './styled.js';
11
16
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -16,22 +21,23 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
16
21
 
17
22
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
18
23
 
19
- const Modal = ({
20
- zIndex = 1,
21
- title = '',
22
- description = '',
23
- onClose = noop,
24
- showSecondaryAction = true,
25
- secondaryActionProps = {
26
- onClick: noop,
27
- labelText: 'Cancel'
28
- },
29
- primaryActionProps = {
30
- onClick: noop,
31
- labelText: 'Accept'
32
- },
33
- isOpen = false
34
- }) => {
24
+ const Modal = _ref => {
25
+ let {
26
+ zIndex = 1,
27
+ title = '',
28
+ description = '',
29
+ onClose = noop,
30
+ showSecondaryAction = true,
31
+ secondaryActionProps = {
32
+ onClick: noop,
33
+ labelText: 'Cancel'
34
+ },
35
+ primaryActionProps = {
36
+ onClick: noop,
37
+ labelText: 'Accept'
38
+ },
39
+ isOpen = false
40
+ } = _ref;
35
41
  const theme = useTheme();
36
42
  if (!isOpen) return null;
37
43
  return /*#__PURE__*/jsxs(Fragment, {
@@ -1,5 +1,5 @@
1
1
  import _taggedTemplateLiteral from '@babel/runtime/helpers/esm/taggedTemplateLiteral';
2
- import { Grid } from '@elliemae/ds-basic/Grid';
2
+ import { Grid } from '@elliemae/ds-grid';
3
3
  import styled from 'styled-components';
4
4
  import { createGlobalStyle } from '@elliemae/ds-system';
5
5
 
@@ -1,12 +1,16 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
3
  import styled from 'styled-components';
4
- import { Grid } from '@elliemae/ds-basic/Grid';
4
+ import { Grid } from '@elliemae/ds-grid';
5
5
  import { useTheme, op, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
6
6
  import { DSFullPageContainer } from '../FullPageContainer/FullPageContainer.js';
7
+ import 'core-js/modules/esnext.async-iterator.filter.js';
8
+ import 'core-js/modules/esnext.iterator.constructor.js';
9
+ import 'core-js/modules/esnext.iterator.filter.js';
10
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
11
+ import 'core-js/modules/esnext.iterator.for-each.js';
7
12
  import '@babel/runtime/helpers/esm/defineProperty';
8
13
  import '@babel/runtime/helpers/esm/objectWithoutProperties';
9
- import '@elliemae/ds-basic';
10
14
  import 'react/jsx-runtime';
11
15
 
12
16
  const Header = /*#__PURE__*/styled(Grid).withConfig({
@@ -28,14 +32,15 @@ const Footer = /*#__PURE__*/styled(Grid).withConfig({
28
32
  componentId: "sc-15cmidp-5"
29
33
  })(["display:flex;justify-content:space-around;align-items:center;width:100%;padding:0.67rem;border-top:1px solid ", ";& > button{flex-grow:1;margin:0 0.33rem;}"], props => props.theme.colors.neutral[300]);
30
34
 
31
- const PageFilter = ({
32
- children = null,
33
- breadCrumb = null,
34
- pageTitle = null,
35
- leftProp = null,
36
- rightProp = null,
37
- footerButton = null
38
- }) => {
35
+ const PageFilter = _ref => {
36
+ let {
37
+ children = null,
38
+ breadCrumb = null,
39
+ pageTitle = null,
40
+ leftProp = null,
41
+ rightProp = null,
42
+ footerButton = null
43
+ } = _ref;
39
44
  const theme = useTheme();
40
45
  const headerDimension = theme.space.l;
41
46
  const rows = [headerDimension, 1];
@@ -1,6 +1,6 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
- import { Grid } from '@elliemae/ds-basic/Grid';
3
+ import { Grid } from '@elliemae/ds-grid';
4
4
  import styled from 'styled-components';
5
5
  import { useTheme, op, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
6
6
  import { DSFullPageContainer } from '../FullPageContainer/FullPageContainer.js';
@@ -8,17 +8,24 @@ import { DSFullPageContainerScroll } from '../FullPageContainer/FullPageContaine
8
8
 
9
9
  const Body = /*#__PURE__*/styled(Grid).withConfig({
10
10
  componentId: "sc-1qg3tcm-0"
11
- })(["margin:0 auto;width:100%;@media (min-width:", "){", "}"], ({
12
- theme
13
- }) => theme.breakpoints.small, ({
14
- theme
15
- }) => "width: ".concat(op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 6.25), ";"));
11
+ })(["margin:0 auto;width:100%;@media (min-width:", "){", "}"], _ref => {
12
+ let {
13
+ theme
14
+ } = _ref;
15
+ return theme.breakpoints.small;
16
+ }, _ref2 => {
17
+ let {
18
+ theme
19
+ } = _ref2;
20
+ return "width: ".concat(op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 6.25), ";");
21
+ });
16
22
 
17
- const PageForm = ({
18
- header = null,
19
- body = null,
20
- footer = null
21
- }) => {
23
+ const PageForm = _ref3 => {
24
+ let {
25
+ header = null,
26
+ body = null,
27
+ footer = null
28
+ } = _ref3;
22
29
  const theme = useTheme();
23
30
  const rows = [1];
24
31
  if (header) rows.unshift(op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 1.125));
@@ -1,7 +1,7 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
2
  import 'react';
3
3
  import styled from 'styled-components';
4
- import { Grid } from '@elliemae/ds-basic/Grid';
4
+ import { Grid } from '@elliemae/ds-grid';
5
5
  import { withTheme, op, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
6
6
  import { DSFullPageContainer } from '../FullPageContainer/FullPageContainer.js';
7
7
  import { DSFullPageContainerScroll } from '../FullPageContainer/FullPageContainerScroll.js';
@@ -9,14 +9,15 @@ import { DSFullPageContainerScroll } from '../FullPageContainer/FullPageContaine
9
9
  const PageTitleWrapper = /*#__PURE__*/styled(Grid).withConfig({
10
10
  componentId: "sc-e4h57j-0"
11
11
  })(["min-height:44px;"]);
12
- const DSMobilePageList = withTheme(({
13
- header = null,
14
- pageTitle = null,
15
- filterBar = null,
16
- body = null,
17
- footer = null,
18
- theme
19
- }) => {
12
+ const DSMobilePageList = withTheme(_ref => {
13
+ let {
14
+ header = null,
15
+ pageTitle = null,
16
+ filterBar = null,
17
+ body = null,
18
+ footer = null,
19
+ theme
20
+ } = _ref;
20
21
  const rows = ['auto', op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xl), 0.83), 1];
21
22
  if (header) rows.unshift(__UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl));
22
23
  if (footer) rows.push('56px');