@elliemae/ds-mobile 2.4.2-rc.1 → 2.4.2-rc.13

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 (76) hide show
  1. package/cjs/CategoryBox/CategoryBox.js +2 -2
  2. package/cjs/CollectionBox/CollectionBox.js +1 -1
  3. package/cjs/FullPageContainer/useMobileHeight.js +0 -1
  4. package/cjs/GlobalHeader/MobileGlobalHeader.js +2 -3
  5. package/cjs/GlobalHeader/styles.js +11 -5
  6. package/cjs/GroupBox/GroupBox.js +2 -2
  7. package/cjs/InfiniteLoader/Infiniteloader.js +2 -4
  8. package/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js +0 -1
  9. package/cjs/LoadingPage/Page.js +0 -1
  10. package/cjs/MobileBanner/MobileBanner.js +11 -14
  11. package/cjs/MobileBanner/styles.js +26 -38
  12. package/cjs/MobileBanner/utils/styleHelpers.js +43 -12
  13. package/cjs/MobileCard/Card.js +1 -1
  14. package/cjs/MobileCard/CardIcons.js +1 -1
  15. package/cjs/MobileCard/ExpandableRegion.js +4 -5
  16. package/cjs/MobileCard/Group.js +2 -2
  17. package/cjs/MobileCard/useHeight.js +0 -1
  18. package/cjs/MobileContextMenu/MobileContextMenu.js +4 -7
  19. package/cjs/MobileContextMenu/MobileContextMenuGroup.js +1 -1
  20. package/cjs/MobileContextMenu/MobileContextMenuItem.js +11 -1
  21. package/cjs/MobileDatePicker/MobileDatePicker.js +1 -1
  22. package/cjs/MobileDropdownMenu/MobileDropdownMenu.js +1 -2
  23. package/cjs/MobileFooter/Footer.js +2 -2
  24. package/cjs/MobileListItem/MobileListItem.js +1 -1
  25. package/cjs/MobilePageHeader/MobilePageHeader.js +1 -2
  26. package/cjs/MobileSelectList/MobileSelectList.js +2 -3
  27. package/cjs/MobileSeparator/Separator.js +2 -2
  28. package/cjs/MobileTimePicker/MobileTimePicker.js +1 -1
  29. package/cjs/MobileTouchable/MobileTouchable.js +2 -3
  30. package/cjs/Modal/Modal.js +2 -2
  31. package/cjs/Modal/styled.js +5 -4
  32. package/cjs/PageForm/PageForm.js +1 -1
  33. package/cjs/PageSummary/PageSummary.js +1 -1
  34. package/cjs/SideNav/SideNav.js +1 -2
  35. package/cjs/SwipeToRefresh/ProgressIndicator.js +4 -4
  36. package/cjs/SwipeToRefresh/SwipeToRefresh.js +2 -2
  37. package/cjs/SwipeToRefresh/useSwipe.js +0 -1
  38. package/esm/CategoryBox/CategoryBox.js +2 -2
  39. package/esm/CollectionBox/CollectionBox.js +1 -1
  40. package/esm/FullPageContainer/useMobileHeight.js +0 -1
  41. package/esm/GlobalHeader/MobileGlobalHeader.js +0 -1
  42. package/esm/GlobalHeader/styles.js +11 -4
  43. package/esm/GroupBox/GroupBox.js +2 -2
  44. package/esm/InfiniteLoader/Infiniteloader.js +2 -4
  45. package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +0 -1
  46. package/esm/LoadingPage/Page.js +0 -1
  47. package/esm/MobileBanner/MobileBanner.js +10 -13
  48. package/esm/MobileBanner/styles.js +27 -39
  49. package/esm/MobileBanner/utils/styleHelpers.js +43 -8
  50. package/esm/MobileCard/Card.js +1 -1
  51. package/esm/MobileCard/CardIcons.js +1 -1
  52. package/esm/MobileCard/ExpandableRegion.js +4 -5
  53. package/esm/MobileCard/Group.js +2 -2
  54. package/esm/MobileCard/useHeight.js +0 -1
  55. package/esm/MobileContextMenu/MobileContextMenu.js +4 -7
  56. package/esm/MobileContextMenu/MobileContextMenuGroup.js +1 -1
  57. package/esm/MobileContextMenu/MobileContextMenuItem.js +11 -1
  58. package/esm/MobileDatePicker/MobileDatePicker.js +1 -1
  59. package/esm/MobileDropdownMenu/MobileDropdownMenu.js +1 -2
  60. package/esm/MobileFooter/Footer.js +2 -2
  61. package/esm/MobileListItem/MobileListItem.js +1 -1
  62. package/esm/MobilePageHeader/MobilePageHeader.js +1 -2
  63. package/esm/MobileSelectList/MobileSelectList.js +2 -3
  64. package/esm/MobileSeparator/Separator.js +2 -2
  65. package/esm/MobileTimePicker/MobileTimePicker.js +1 -1
  66. package/esm/MobileTouchable/MobileTouchable.js +2 -3
  67. package/esm/Modal/Modal.js +2 -2
  68. package/esm/Modal/styled.js +5 -3
  69. package/esm/PageForm/PageForm.js +1 -1
  70. package/esm/PageSummary/PageSummary.js +1 -1
  71. package/esm/SideNav/SideNav.js +1 -2
  72. package/esm/SwipeToRefresh/ProgressIndicator.js +4 -4
  73. package/esm/SwipeToRefresh/SwipeToRefresh.js +2 -2
  74. package/esm/SwipeToRefresh/useSwipe.js +0 -1
  75. package/package.json +14 -14
  76. package/types/MobileBanner/styles.d.ts +3 -1
@@ -20,7 +20,7 @@ const Title = /*#__PURE__*/styled__default["default"].h3.withConfig({
20
20
  })(["font-size:18px;margin:0;color:", ";line-height:inherit;", " font-weight:", ";"], props => props.theme.colors.neutral['700'], dsSystem.truncate(), props => props.theme.fontWeights.semibold);
21
21
  const CategoryBox = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfig({
22
22
  componentId: "sc-iv6vo1-1"
23
- })(["background:", ";border-top:", ";"], props => props.theme.colors.neutral['0'], props => props.borderTop ? "1px solid ".concat(props.theme.colors.neutral['100']) : 'none');
23
+ })(["background:", ";border-top:", ";"], props => props.theme.colors.neutral['0'], props => props.borderTop ? `1px solid ${props.theme.colors.neutral['100']}` : 'none');
24
24
 
25
25
  const DSCategoryBox = _ref => {
26
26
  let {
@@ -42,7 +42,7 @@ const DSCategoryBox = _ref => {
42
42
  pl: "xs",
43
43
  pr: actionsRight.length > 0 ? 'xxs' : 'xs'
44
44
  }, void 0, /*#__PURE__*/_jsx__default["default"](Title, {
45
- as: "h".concat(headerLevel)
45
+ as: `h${headerLevel}`
46
46
  }, void 0, title), hasActions && /*#__PURE__*/_jsx__default["default"](dsGrid.Grid, {
47
47
  cols: lodash.times(actionsRight.length, () => 'auto'),
48
48
  justifySelf: "end"
@@ -53,7 +53,7 @@ const DSCollectionBox = _ref => {
53
53
  alignItems: "center",
54
54
  cols: headerCols
55
55
  }, void 0, title && /*#__PURE__*/_jsx__default["default"](Header, {
56
- as: "h".concat(headerLevel)
56
+ as: `h${headerLevel}`
57
57
  }, void 0, title), headerAction && /*#__PURE__*/_jsx__default["default"](ActionWrap, {
58
58
  justifySelf: "end"
59
59
  }, void 0, headerAction)), /*#__PURE__*/_jsx__default["default"](Body, {}, void 0, body), footerAction && /*#__PURE__*/_jsx__default["default"](Footer, {
@@ -2,7 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('core-js/modules/web.dom-collections.iterator.js');
6
5
  var React = require('react');
7
6
 
8
7
  function useMobileHeight() {
@@ -2,14 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- var _jsx = require('@babel/runtime/helpers/jsx');
7
- require('core-js/modules/web.dom-collections.iterator.js');
8
5
  require('core-js/modules/esnext.async-iterator.filter.js');
9
6
  require('core-js/modules/esnext.iterator.constructor.js');
10
7
  require('core-js/modules/esnext.iterator.filter.js');
11
8
  require('core-js/modules/esnext.async-iterator.for-each.js');
12
9
  require('core-js/modules/esnext.iterator.for-each.js');
10
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
11
+ var _jsx = require('@babel/runtime/helpers/jsx');
13
12
  var React = require('react');
14
13
  var dsIcons = require('@elliemae/ds-icons');
15
14
  var dsForm = require('@elliemae/ds-form');
@@ -2,23 +2,29 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
6
5
  var styled = require('styled-components');
7
6
  var dsSystem = require('@elliemae/ds-system');
8
7
 
9
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
9
 
11
- var _taggedTemplateLiteral__default = /*#__PURE__*/_interopDefaultLegacy(_taggedTemplateLiteral);
12
10
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
13
11
 
14
- var _templateObject, _templateObject2;
15
12
  const Container = /*#__PURE__*/styled__default["default"].header.withConfig({
16
13
  componentId: "sc-1nzpklc-0"
17
14
  })(["width:auto;height:64px;position:fixed;width:100%;background-color:", ";padding:", ";color:", ";"], props => props.theme.colors.brand[700], props => props.theme.space.xs, props => props.theme.colors.neutral['000']);
18
- const growLeft = dsSystem.kfrm(_templateObject || (_templateObject = _taggedTemplateLiteral__default["default"](["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
15
+ const growLeft = dsSystem.kfrm`
16
+ 0% {
17
+ width: 0;
18
+ }
19
+ 100% {
20
+ width: 100%;
21
+ }
22
+ `;
19
23
  const SearchWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
20
24
  componentId: "sc-1nzpklc-1"
21
- })(["background-color:", ";", " float:right;width:100%;border-radius:4px;.dsInput{input{border-radius:2px 0 0 2px;color:", ";border:calc(0.30769rem * 0.25) solid ", " !important;&:focus{border-right:none !important;}&::placeholder{color:", ";}}.em-ds-input__clearable{border:calc(0.30769rem * 0.25) solid ", " !important;}}.dsButton{border-color:", " !important;border-radius:0 2px 2px 0;border-left:none;}svg,svg:not([fill]){fill:", ";}"], props => props.theme.colors.brand[600], dsSystem.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral__default["default"](["\n animation: ", " 1s;\n "])), growLeft), props => props.theme.colors.neutral['000'], props => props.theme.colors.brand[800], props => props.theme.colors.neutral['000'], props => props.theme.colors.brand[800], props => props.theme.colors.brand[800], props => props.theme.colors.neutral['000']);
25
+ })(["background-color:", ";", " float:right;width:100%;border-radius:4px;.dsInput{input{border-radius:2px 0 0 2px;color:", ";border:calc(0.30769rem * 0.25) solid ", " !important;&:focus{border-right:none !important;}&::placeholder{color:", ";}}.em-ds-input__clearable{border:calc(0.30769rem * 0.25) solid ", " !important;}}.dsButton{border-color:", " !important;border-radius:0 2px 2px 0;border-left:none;}svg,svg:not([fill]){fill:", ";}"], props => props.theme.colors.brand[600], dsSystem.css`
26
+ animation: ${growLeft} 1s;
27
+ `, props => props.theme.colors.neutral['000'], props => props.theme.colors.brand[800], props => props.theme.colors.neutral['000'], props => props.theme.colors.brand[800], props => props.theme.colors.brand[800], props => props.theme.colors.neutral['000']);
22
28
  const Icon = /*#__PURE__*/styled__default["default"].div.withConfig({
23
29
  componentId: "sc-1nzpklc-2"
24
30
  })(["margin-right:", ";"], props => props.theme.space.xs);
@@ -20,7 +20,7 @@ const Title = /*#__PURE__*/styled__default["default"].h3.withConfig({
20
20
  })(["font-size:14px;margin:0;", " color:", ";line-height:inherit;text-transform:capitalize;font-weight:", ";"], dsSystem.truncate(), props => props.theme.colors.neutral['700'], props => props.theme.fontWeights.semibold);
21
21
  const GroupBox = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfig({
22
22
  componentId: "sc-1g87w66-1"
23
- })(["background:", ";border-top:", ";"], props => props.background === 'grey' ? props.theme.colors.neutral['050'] : props.theme.colors.neutral['000'], props => props.borderTop ? "1px solid ".concat(props.theme.colors.neutral['100']) : 'none');
23
+ })(["background:", ";border-top:", ";"], props => props.background === 'grey' ? props.theme.colors.neutral['050'] : props.theme.colors.neutral['000'], props => props.borderTop ? `1px solid ${props.theme.colors.neutral['100']}` : 'none');
24
24
 
25
25
  const DSGroupBox = _ref => {
26
26
  let {
@@ -44,7 +44,7 @@ const DSGroupBox = _ref => {
44
44
  pl: "xs",
45
45
  pr: hasActions ? 'xxs' : 'xs'
46
46
  }, void 0, /*#__PURE__*/_jsx__default["default"](Title, {
47
- as: "h".concat(headerLevel)
47
+ as: `h${headerLevel}`
48
48
  }, void 0, title), hasActions && /*#__PURE__*/_jsx__default["default"](dsGrid.Grid, {
49
49
  cols: lodash.times(actionsRight.length, () => 'auto'),
50
50
  justifySelf: "end"
@@ -53,10 +53,8 @@ const InfiniteLoader = _ref => {
53
53
  }
54
54
 
55
55
  return () => {
56
- var _observer$current, _observer$current2;
57
-
58
- (_observer$current = observer.current) === null || _observer$current === void 0 ? void 0 : _observer$current.unobserve(target.current);
59
- (_observer$current2 = observer.current) === null || _observer$current2 === void 0 ? void 0 : _observer$current2.disconnect();
56
+ observer.current?.unobserve(target.current);
57
+ observer.current?.disconnect();
60
58
  };
61
59
  }, [target, observer, fetchData]);
62
60
  return /*#__PURE__*/_jsx__default["default"](dsGrid.Grid, {
@@ -3,7 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _jsx = require('@babel/runtime/helpers/jsx');
6
- require('core-js/modules/web.dom-collections.iterator.js');
7
6
  var React = require('react');
8
7
  var reactDesc = require('react-desc');
9
8
  var RWInfiniteLoader = require('react-window-infinite-loader');
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
6
  var _jsx = require('@babel/runtime/helpers/jsx');
7
- require('core-js/modules/web.dom-collections.iterator.js');
8
7
  require('core-js/modules/esnext.async-iterator.constructor.js');
9
8
  require('core-js/modules/esnext.async-iterator.to-array.js');
10
9
  require('core-js/modules/esnext.iterator.constructor.js');
@@ -2,14 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- var _jsx = require('@babel/runtime/helpers/jsx');
7
- require('core-js/modules/web.dom-collections.iterator.js');
8
5
  require('core-js/modules/esnext.async-iterator.filter.js');
9
6
  require('core-js/modules/esnext.iterator.constructor.js');
10
7
  require('core-js/modules/esnext.iterator.filter.js');
11
8
  require('core-js/modules/esnext.async-iterator.for-each.js');
12
9
  require('core-js/modules/esnext.iterator.for-each.js');
10
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
11
+ var _jsx = require('@babel/runtime/helpers/jsx');
13
12
  var React = require('react');
14
13
  var dsIcons = require('@elliemae/ds-icons');
15
14
  var reactDesc = require('react-desc');
@@ -56,9 +55,7 @@ const DSMobileBanner = _ref => {
56
55
  }, [isAnimating, isOpen]);
57
56
  React.useEffect(() => {
58
57
  if (focusOnOpen && closeRef.current && isOpen) {
59
- var _closeRef$current, _closeRef$current$foc;
60
-
61
- (_closeRef$current = closeRef.current) === null || _closeRef$current === void 0 ? void 0 : (_closeRef$current$foc = _closeRef$current.focus) === null || _closeRef$current$foc === void 0 ? void 0 : _closeRef$current$foc.call(_closeRef$current);
58
+ closeRef.current?.focus?.();
62
59
  }
63
60
  }, [focusOnOpen, isOpen]);
64
61
  React.useLayoutEffect(() => {
@@ -83,21 +80,21 @@ const DSMobileBanner = _ref => {
83
80
  "data-testid": "ds-mobile-banner-icon"
84
81
  }, void 0, icons.icons[type]), /*#__PURE__*/_jsx__default["default"](styles.StyledContent, {
85
82
  showCloseButton: showCloseButton
86
- }, void 0, /*#__PURE__*/_jsx__default["default"](styles.StyledTitle, {}, void 0, label), /*#__PURE__*/_jsx__default["default"](styles.StyledSubTitle, {}, void 0, body, actionLinkLabel && /*#__PURE__*/_jsx__default["default"](styles.StyledActionLink, {
83
+ }, void 0, /*#__PURE__*/_jsx__default["default"](styles.StyledTitle, {}, void 0, label), /*#__PURE__*/_jsx__default["default"](styles.StyledSubTitle, {}, void 0, /*#__PURE__*/_jsx__default["default"](styles.StyledSubTitleText, {}, void 0, body), actionLinkLabel && /*#__PURE__*/_jsx__default["default"](styles.StyledActionLink, {
87
84
  href: actionLinkHref,
88
85
  "data-testid": "ds-mobile-banner-link",
89
86
  onClick: actionLinkOnClick
90
87
  }, void 0, actionLinkLabel))), showCloseButton && /*#__PURE__*/_jsx__default["default"](styles.StyledCloseButtonContainer, {}, void 0, /*#__PURE__*/_jsx__default["default"](styles.StyledCloseButton, {
91
88
  "data-testid": "ds-mobile-banner-close-button",
92
- buttonType: "link",
89
+ buttonType: "icon",
93
90
  onClick: closeButtonOnClick,
94
91
  "aria-label": "Close Banner",
95
- icon: _CloseX || (_CloseX = /*#__PURE__*/_jsx__default["default"](dsIcons.CloseX, {
96
- width: "12px",
97
- height: "12px"
98
- })),
99
- innerRef: closeRef
100
- }))]
92
+ innerRef: closeRef,
93
+ size: "s"
94
+ }, void 0, _CloseX || (_CloseX = /*#__PURE__*/_jsx__default["default"](dsIcons.CloseX, {
95
+ width: "12px",
96
+ height: "12px"
97
+ }))))]
101
98
  })
102
99
  }));
103
100
  };
@@ -10,11 +10,10 @@ var styleHelpers = require('./utils/styleHelpers.js');
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
11
 
12
12
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
13
- var DSButton__default = /*#__PURE__*/_interopDefaultLegacy(DSButton);
14
13
 
15
14
  const StyledInnerContainer = /*#__PURE__*/styled__default["default"].div.withConfig({
16
15
  componentId: "sc-4jnp92-0"
17
- })(["display:flex;min-height:68px;width:100%;background-color:", ";border-bottom:4px solid ", ";transform:translateY(", ");", ";"], _ref => {
16
+ })(["display:flex;min-height:60px;width:100%;background-color:", ";border-bottom:4px solid ", ";transform:translateY(", ");", ";padding:8px 8px 8px 16px;"], _ref => {
18
17
  let {
19
18
  theme
20
19
  } = _ref;
@@ -61,7 +60,7 @@ const StyledTitle = /*#__PURE__*/styled__default["default"].div.withConfig({
61
60
  let {
62
61
  theme
63
62
  } = _ref8;
64
- return theme.space.xxs;
63
+ return theme.space.xxxs;
65
64
  }, _ref9 => {
66
65
  let {
67
66
  theme
@@ -75,7 +74,7 @@ const StyledTitle = /*#__PURE__*/styled__default["default"].div.withConfig({
75
74
  });
76
75
  const StyledSubTitle = /*#__PURE__*/styled__default["default"].div.withConfig({
77
76
  componentId: "sc-4jnp92-3"
78
- })(["font-size:", ";font-weight:", ";"], _ref11 => {
77
+ })(["display:flex;flex-wrap:wrap;justify-content:flex-start;font-size:", ";font-weight:", ";& > *{margin-top:4px;}"], _ref11 => {
79
78
  let {
80
79
  theme
81
80
  } = _ref11;
@@ -88,77 +87,65 @@ const StyledSubTitle = /*#__PURE__*/styled__default["default"].div.withConfig({
88
87
  });
89
88
  const StyledIconContainer = /*#__PURE__*/styled__default["default"].div.withConfig({
90
89
  componentId: "sc-4jnp92-4"
91
- })(["margin-top:10px;margin-right:", ";margin-left:", ";"], _ref13 => {
90
+ })(["margin-right:", ";"], _ref13 => {
92
91
  let {
93
92
  theme
94
93
  } = _ref13;
95
94
  return theme.space.xxs;
96
- }, _ref14 => {
97
- let {
98
- theme
99
- } = _ref14;
100
- return theme.space.xs;
101
95
  });
102
96
  const StyledContent = /*#__PURE__*/styled__default["default"].div.withConfig({
103
97
  componentId: "sc-4jnp92-5"
104
- })(["width:100%;display:flex;flex-direction:column;margin:", " 0;margin-right:", ";"], _ref15 => {
105
- let {
106
- theme
107
- } = _ref15;
108
- return theme.space.xxs2;
109
- }, _ref16 => {
98
+ })(["width:100%;display:flex;flex-direction:column;margin-right:", ";"], _ref14 => {
110
99
  let {
111
100
  showCloseButton
112
- } = _ref16;
101
+ } = _ref14;
113
102
  return !showCloseButton ? '28px' : '0';
114
103
  });
115
104
  const StyledCloseButtonContainer = /*#__PURE__*/styled__default["default"].div.withConfig({
116
105
  componentId: "sc-4jnp92-6"
117
- })(["display:flex;align-items:flex-start;margin-top:6px;margin-right:6px;"]);
118
- const StyledCloseButton = /*#__PURE__*/styled__default["default"](DSButton__default["default"]).withConfig({
106
+ })(["display:flex;align-items:flex-start;"]);
107
+ const StyledSubTitleText = /*#__PURE__*/styled__default["default"].span.withConfig({
119
108
  componentId: "sc-4jnp92-7"
120
- })(["position:relative;&:focus{&:after{display:block;content:' ';position:absolute;top:0;left:0;width:100%;height:100%;border:2px solid ", ";border-radius:2px;pointer-events:none;}}"], _ref17 => {
109
+ })(["margin-right:16px;line-height:1.1;"]);
110
+ const StyledCloseButton = /*#__PURE__*/styled__default["default"](DSButton.DSButtonV2).withConfig({
111
+ componentId: "sc-4jnp92-8"
112
+ })(["position:relative;&:focus{&:after{display:block;content:' ';position:absolute;top:0;left:0;width:100%;height:100%;border:2px solid ", ";border-radius:2px;pointer-events:none;}}"], _ref15 => {
121
113
  let {
122
114
  theme
123
- } = _ref17;
115
+ } = _ref15;
124
116
  return theme.colors.brand[700];
125
117
  });
126
118
  const StyledActionLink = /*#__PURE__*/styled__default["default"].a.withConfig({
127
- componentId: "sc-4jnp92-8"
128
- })(["text-decoration:none;float:right;margin-left:", ";line-height:1.1;font-size:", ";font-weight:", ";color:", ";"], _ref18 => {
129
- let {
130
- theme
131
- } = _ref18;
132
- return theme.space.xs;
133
- }, _ref19 => {
119
+ componentId: "sc-4jnp92-9"
120
+ })(["text-decoration:none;line-height:1.1;font-size:", ";font-weight:", ";color:", ";"], _ref16 => {
134
121
  let {
135
122
  theme
136
- } = _ref19;
123
+ } = _ref16;
137
124
  return dsSystem.toMobile(theme.fontSizes.title[600]);
138
- }, _ref20 => {
125
+ }, _ref17 => {
139
126
  let {
140
127
  theme
141
- } = _ref20;
128
+ } = _ref17;
142
129
  return theme.fontWeights.regular;
143
- }, _ref21 => {
130
+ }, _ref18 => {
144
131
  let {
145
132
  theme
146
- } = _ref21;
133
+ } = _ref18;
147
134
  return theme.colors.brand[600];
148
135
  });
149
136
  const StyledBannerContainer = /*#__PURE__*/styled__default["default"].div.withConfig({
150
- componentId: "sc-4jnp92-9"
151
- })(["overflow:hidden;height:", ";", ";"], _ref22 => {
137
+ componentId: "sc-4jnp92-10"
138
+ })(["overflow:hidden;height:", ";", ";"], _ref19 => {
152
139
  let {
153
140
  isOpen
154
- } = _ref22;
141
+ } = _ref19;
155
142
  return isOpen ? 'auto' : '0px';
156
- }, _ref23 => {
143
+ }, _ref20 => {
157
144
  let {
158
145
  isAnimating,
159
146
  isOpen,
160
147
  height
161
- } = _ref23;
148
+ } = _ref20;
162
149
  return styleHelpers.handleAnimation(isAnimating, isOpen, height);
163
150
  });
164
151
 
@@ -170,5 +157,6 @@ exports.StyledContent = StyledContent;
170
157
  exports.StyledIconContainer = StyledIconContainer;
171
158
  exports.StyledInnerContainer = StyledInnerContainer;
172
159
  exports.StyledSubTitle = StyledSubTitle;
160
+ exports.StyledSubTitleText = StyledSubTitleText;
173
161
  exports.StyledTextContent = StyledTextContent;
174
162
  exports.StyledTitle = StyledTitle;
@@ -2,19 +2,46 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
6
5
  var dsSystem = require('@elliemae/ds-system');
7
6
  var bannerTypes = require('./bannerTypes.js');
8
7
 
9
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
-
11
- var _taggedTemplateLiteral__default = /*#__PURE__*/_interopDefaultLegacy(_taggedTemplateLiteral);
12
-
13
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
14
- const slideIn = dsSystem.kfrm(_templateObject || (_templateObject = _taggedTemplateLiteral__default["default"](["\n 0% {\n transform: translate3d(0, -100%, 0);\n }\n 100% {\n transform: translate3d(0, 0, 0);\n }\n"])));
15
- const slideOut = dsSystem.kfrm(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral__default["default"](["\n 0% {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n 60% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n transform: translate3d(0, -100%, 0);\n }\n"])));
16
- const spanContainer = height => dsSystem.kfrm(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral__default["default"](["\n 0% {\n height: 0px;\n }\n 100% {\n height: ", "px;\n }\n"])), height);
17
- const shrinkContainer = height => dsSystem.kfrm(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral__default["default"](["\n 0% {\n height: ", "px;\n }\n 100% {\n height: 0px;\n }\n"])), height);
8
+ const slideIn = dsSystem.kfrm`
9
+ 0% {
10
+ transform: translate3d(0, -100%, 0);
11
+ }
12
+ 100% {
13
+ transform: translate3d(0, 0, 0);
14
+ }
15
+ `;
16
+ const slideOut = dsSystem.kfrm`
17
+ 0% {
18
+ transform: translate3d(0, 0, 0);
19
+ opacity: 1;
20
+ }
21
+ 60% {
22
+ opacity: 0;
23
+ }
24
+ 100% {
25
+ opacity: 0;
26
+ transform: translate3d(0, -100%, 0);
27
+ }
28
+ `;
29
+ const spanContainer = height => dsSystem.kfrm`
30
+ 0% {
31
+ height: 0px;
32
+ }
33
+ 100% {
34
+ height: ${height}px;
35
+ }
36
+ `;
37
+ const shrinkContainer = height => dsSystem.kfrm`
38
+ 0% {
39
+ height: ${height}px;
40
+ }
41
+ 100% {
42
+ height: 0px;
43
+ }
44
+ `;
18
45
  const handleBorderColor = (type, _ref) => {
19
46
  let {
20
47
  colors
@@ -39,9 +66,13 @@ const handleAnimation = function (isAnimating, isOpen) {
39
66
 
40
67
  if (isAnimating) {
41
68
  if (isOpen) {
42
- return dsSystem.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral__default["default"](["\n animation: ", " 0.5s ease-in;\n "])), height ? spanContainer(height) : slideIn);
69
+ return dsSystem.css`
70
+ animation: ${height ? spanContainer(height) : slideIn} 0.5s ease-in;
71
+ `;
43
72
  } else {
44
- return dsSystem.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral__default["default"](["\n animation: ", " 0.5s ease-in;\n "])), height ? shrinkContainer(height) : slideOut);
73
+ return dsSystem.css`
74
+ animation: ${height ? shrinkContainer(height) : slideOut} 0.5s ease-in;
75
+ `;
45
76
  }
46
77
  }
47
78
  };
@@ -76,7 +76,7 @@ const MobileCard = _ref => {
76
76
  activeValue,
77
77
  onChange
78
78
  } = context;
79
- const selected = activeValue !== undefined && (activeValue === value || (activeValue === null || activeValue === void 0 ? void 0 : activeValue.length) && (activeValue === null || activeValue === void 0 ? void 0 : activeValue.includes(value)));
79
+ const selected = activeValue !== undefined && (activeValue === value || activeValue?.length && activeValue?.includes(value));
80
80
  return /*#__PURE__*/_jsx__default["default"](StyledCard.StyledCard, {
81
81
  "data-testid": "card-wrapper",
82
82
  minHeight: height === 'm' ? dsSystem.__UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl) : dsSystem.__UNSAFE_SPACE_TO_DIMSUM(theme.space.xl)
@@ -31,7 +31,7 @@ const SubIcons = _ref => {
31
31
  /*#__PURE__*/
32
32
  // eslint-disable-next-line react/no-array-index-key
33
33
  _jsx__default["default"](Icon, {
34
- className: "icon-color-".concat(colors[i] || 'muted')
34
+ className: `icon-color-${colors[i] || 'muted'}`
35
35
  }, i)));
36
36
  };
37
37
 
@@ -3,7 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _jsx = require('@babel/runtime/helpers/jsx');
6
- require('core-js/modules/web.dom-collections.iterator.js');
7
6
  var React = require('react');
8
7
  var styled = require('styled-components');
9
8
  var dsSystem = require('@elliemae/ds-system');
@@ -19,10 +18,10 @@ const RegionWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
19
18
  })(["width:100%;height:100%;"]);
20
19
  const Region = /*#__PURE__*/styled__default["default"].div.withConfig({
21
20
  componentId: "sc-mduzz9-1"
22
- })(["display:flex;", " transition:max-height ", " linear;max-height:0;", " align-items:center;", ";border-top:", ";font-weight:", ";"], props => props.hide ? 'visibility: hidden;' : '', props => props.animate ? '0.25s' : '0.20s', props => props.animate ? "\n max-height: ".concat(props.refHeight, "px;\n ") : '', dsSystem.truncate(), props => dsSystem.border(props.theme.colors.neutral['300']), props => props.theme.fontWeights.regular);
21
+ })(["display:flex;", " transition:max-height ", " linear;max-height:0;", " align-items:center;", ";border-top:", ";font-weight:", ";"], props => props.hide ? 'visibility: hidden;' : '', props => props.animate ? '0.25s' : '0.20s', props => props.animate ? `
22
+ max-height: ${props.refHeight}px;
23
+ ` : '', dsSystem.truncate(), props => dsSystem.border(props.theme.colors.neutral['300']), props => props.theme.fontWeights.regular);
23
24
  const ExpandableRegion = _ref => {
24
- var _ref$current;
25
-
26
25
  let {
27
26
  show,
28
27
  content
@@ -44,7 +43,7 @@ const ExpandableRegion = _ref => {
44
43
  return /*#__PURE__*/_jsx__default["default"](Region, {
45
44
  hide: hide // needed to handle transition, `auto` max-height isn't supported
46
45
  ,
47
- refHeight: (ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.scrollHeight) || 9999,
46
+ refHeight: ref?.current?.scrollHeight || 9999,
48
47
  onTransitionEnd: hideOnAnimationEnd,
49
48
  animate: animate
50
49
  }, void 0, /*#__PURE__*/jsxRuntime.jsx(RegionWrapper, {
@@ -27,14 +27,14 @@ const GroupGrid = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfi
27
27
  theme,
28
28
  withTopBorder
29
29
  } = _ref;
30
- return withTopBorder ? "border-top: ".concat(dsSystem.border(theme.colors.neutral['100'])) : '';
30
+ return withTopBorder ? `border-top: ${dsSystem.border(theme.colors.neutral['100'])}` : '';
31
31
  });
32
32
  const GroupTitle = /*#__PURE__*/styled__default["default"].span.withConfig({
33
33
  componentId: "sc-17xukaf-1"
34
34
  })(["", ""], dsSystem.truncate());
35
35
  const GroupTitleGrid = /*#__PURE__*/styled__default["default"].div.withConfig({
36
36
  componentId: "sc-17xukaf-2"
37
- })(["display:flex;justify-content:space-between;padding:0 ", ";font-size:", ";", " font-weight:", ";background-color:", ";border-top:", ";line-height:", ";@media (min-width:1024px){background-color:", ";border-top:", ";}"], props => props.theme.space.xs, props => "calc(".concat(dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m), " / 2)"), dsSystem.color('neutral', '700'), props => props.theme.fontWeights.semibold, props => props.theme.colors.brand['200'], props => dsSystem.border(props.theme.colors.brand['300']), props => dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m), props => props.theme.colors.neutral['080'], props => dsSystem.border(props.theme.colors.neutral['080']));
37
+ })(["display:flex;justify-content:space-between;padding:0 ", ";font-size:", ";", " font-weight:", ";background-color:", ";border-top:", ";line-height:", ";@media (min-width:1024px){background-color:", ";border-top:", ";}"], props => props.theme.space.xs, props => `calc(${dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m)} / 2)`, dsSystem.color('neutral', '700'), props => props.theme.fontWeights.semibold, props => props.theme.colors.brand['200'], props => dsSystem.border(props.theme.colors.brand['300']), props => dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m), props => props.theme.colors.neutral['080'], props => dsSystem.border(props.theme.colors.neutral['080']));
38
38
 
39
39
  const MobileCardGroup = _ref2 => {
40
40
  let {
@@ -2,7 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('core-js/modules/web.dom-collections.iterator.js');
6
5
  var React = require('react');
7
6
  var polished = require('polished');
8
7
 
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
6
  var _jsx = require('@babel/runtime/helpers/jsx');
7
- require('core-js/modules/web.dom-collections.iterator.js');
8
7
  require('core-js/modules/esnext.async-iterator.map.js');
9
8
  require('core-js/modules/esnext.iterator.map.js');
10
9
  require('core-js/modules/esnext.async-iterator.filter.js');
@@ -38,7 +37,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
38
37
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
39
38
  const StyledContainer = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfig({
40
39
  componentId: "sc-15ys5tq-0"
41
- })(["background:", ";z-index:", ";width:", ";position:fixed;bottom:0;left:", ";max-height:90vh;border-top-left-radius:5px;border-top-right-radius:5px;box-shadow:0 0px 24px 0 rgba(0,0,0,0.5),0 0px 11px 0 rgba(0,0,0,0.5);"], props => props.theme.colors.neutral['000'], props => props.zIndex, props => "calc(100% - ".concat(props.theme.space.xs, ")"), props => props.theme.space.xxs);
40
+ })(["background:", ";z-index:", ";width:", ";position:fixed;bottom:0;left:", ";max-height:90vh;border-top-left-radius:5px;border-top-right-radius:5px;box-shadow:0 0px 24px 0 rgba(0,0,0,0.5),0 0px 11px 0 rgba(0,0,0,0.5);"], props => props.theme.colors.neutral['000'], props => props.zIndex, props => `calc(100% - ${props.theme.space.xs})`, props => props.theme.space.xxs);
42
41
  const StyledTitle = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfig({
43
42
  componentId: "sc-15ys5tq-1"
44
43
  })(["font-size:16px;font-weight:", ";color:", ";", " & > span{height:20px;width:20px;}& > span > svg,svg:not([fill]){height:20px;width:20px;fill:", ";}"], props => props.theme.fontWeights.semibold, props => props.theme.colors.neutral['000'], dsSystem.truncate(), props => props.theme.colors.neutral['000']);
@@ -121,9 +120,7 @@ const DSMobileContextMenu = dsSystem.withTheme(_ref => {
121
120
  multiple: multiple,
122
121
  onChange: handleChange
123
122
  }, void 0, React__default["default"].Children.map(children, (child, ii) => {
124
- var _child$type;
125
-
126
- const isGroup = child.type === (_ContextMenuGroup || (_ContextMenuGroup = /*#__PURE__*/_jsx__default["default"](MobileContextMenuGroup.DSMobileContextMenuGroup, {}))).type || ((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.name) === MobileContextMenuGroup.DSMobileContextMenuGroup.componentType || child.type === MobileContextMenuGroup.DSMobileContextMenuGroup.type;
123
+ const isGroup = child.type === (_ContextMenuGroup || (_ContextMenuGroup = /*#__PURE__*/_jsx__default["default"](MobileContextMenuGroup.DSMobileContextMenuGroup, {}))).type || child.type?.name === MobileContextMenuGroup.DSMobileContextMenuGroup.componentType || child.type === MobileContextMenuGroup.DSMobileContextMenuGroup.type;
127
124
  const {
128
125
  onClick = lodash.noop
129
126
  } = child.props;
@@ -132,7 +129,7 @@ const DSMobileContextMenu = dsSystem.withTheme(_ref => {
132
129
  if (singleSelect) isSelected = trueSelected === value;else if (multiple) isSelected = trueSelected.includes(value);
133
130
  return /*#__PURE__*/React__default["default"].cloneElement(child, {
134
131
  value,
135
- key: "cm.".concat(ii),
132
+ key: `cm.${ii}`,
136
133
  isMulti: multiple,
137
134
  singleSelect,
138
135
  isSelected,
@@ -145,7 +142,7 @@ const DSMobileContextMenu = dsSystem.withTheme(_ref => {
145
142
  alignItems: "center"
146
143
  }, void 0, /*#__PURE__*/React__default["default"].cloneElement(buttonFooter, _objectSpread(_objectSpread({}, buttonFooter.props), {}, {
147
144
  containerProps: {
148
- 'data-testid': "".concat(dataTestid, "--btn")
145
+ 'data-testid': `${dataTestid}--btn`
149
146
  },
150
147
  buttonType: 'primary',
151
148
  size: 'l',
@@ -44,7 +44,7 @@ const DSMobileContextMenuGroup = _ref => {
44
44
  const {
45
45
  onClick = lodash.noop
46
46
  } = child.props;
47
- const value = "".concat(groupValue, ":").concat(index);
47
+ const value = `${groupValue}:${index}`;
48
48
  let isSelected;
49
49
  if (singleSelect) isSelected = selectedItems === value;else if (isMulti) isSelected = selectedItems.includes(value);
50
50
  return /*#__PURE__*/React__default["default"].cloneElement(child, {
@@ -39,7 +39,17 @@ const PropWrap = /*#__PURE__*/styled__default["default"](props => /*#__PURE__*/j
39
39
  componentId: "sc-20od94-1"
40
40
  })(["", ""], props => {
41
41
  if (!props.isMulti) {
42
- return "\n & > span {\n height: 18px;\n width: 18px;\n }\n\n & > span > svg {\n height: 18px;\n width: 18px;\n }\n ";
42
+ return `
43
+ & > span {
44
+ height: 18px;
45
+ width: 18px;
46
+ }
47
+
48
+ & > span > svg {
49
+ height: 18px;
50
+ width: 18px;
51
+ }
52
+ `;
43
53
  }
44
54
 
45
55
  return '';
@@ -38,7 +38,7 @@ const DSMobileDatePicker = _ref => {
38
38
  }
39
39
  }, [inputRef.current]);
40
40
  const valueArr = value.split('-');
41
- const displayValue = value && "".concat(valueArr[1], " / ").concat(valueArr[2], " / ").concat(valueArr[0]);
41
+ const displayValue = value && `${valueArr[1]} / ${valueArr[2]} / ${valueArr[0]}`;
42
42
  return /*#__PURE__*/_jsx__default["default"](dsForm.DSInputGroup, {
43
43
  rightAddon: /*#__PURE__*/_jsx__default["default"](DSButton__default["default"], {
44
44
  "aria-label": "Date Picker Button",
@@ -3,7 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _jsx = require('@babel/runtime/helpers/jsx');
6
- require('core-js/modules/web.dom-collections.iterator.js');
7
6
  require('core-js/modules/esnext.async-iterator.map.js');
8
7
  require('core-js/modules/esnext.iterator.map.js');
9
8
  var React = require('react');
@@ -75,7 +74,7 @@ const DSMobileDropdownMenu = _ref => {
75
74
  isGroup: itemsProps.isGroup,
76
75
  isMulti: itemsProps.isMulti,
77
76
  singleSelect: itemsProps.singleSelect
78
- }, 'ddwn'.concat("".concat(i))))) : null]
77
+ }, 'ddwn'.concat(`${i}`)))) : null]
79
78
  });
80
79
  };
81
80
 
@@ -26,7 +26,7 @@ var DSButton__default = /*#__PURE__*/_interopDefaultLegacy(DSButton);
26
26
 
27
27
  const FooterWrap = /*#__PURE__*/styled__default["default"](dsGrid.Grid).withConfig({
28
28
  componentId: "sc-ls5vfg-0"
29
- })(["background-color:", ";border-top:", ";height:", ";"], props => props.theme.colors.neutral['000'], props => dsSystem.border(props.theme.colors.neutral[100]), props => "calc(".concat(dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs), " * 7)"));
29
+ })(["background-color:", ";border-top:", ";height:", ";"], props => props.theme.colors.neutral['000'], props => dsSystem.border(props.theme.colors.neutral[100]), props => `calc(${dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs)} * 7)`);
30
30
 
31
31
  const MobileFooter = _ref => {
32
32
  let {
@@ -40,7 +40,7 @@ const MobileFooter = _ref => {
40
40
  return childArr.length === 1 ? ['90%'] : ['45%', '45%'];
41
41
  }
42
42
 
43
- return childArr.map(() => "".concat(100 / childArr.length, "%"));
43
+ return childArr.map(() => `${100 / childArr.length}%`);
44
44
  };
45
45
 
46
46
  return /*#__PURE__*/_jsx__default["default"](FooterWrap, {}, void 0, /*#__PURE__*/_jsx__default["default"](dsGrid.Grid, {