@elliemae/ds-mobile 2.4.2-rc.12 → 2.4.2-rc.15

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 (73) 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 +3 -6
  11. package/cjs/MobileBanner/utils/styleHelpers.js +43 -12
  12. package/cjs/MobileCard/Card.js +1 -1
  13. package/cjs/MobileCard/CardIcons.js +1 -1
  14. package/cjs/MobileCard/ExpandableRegion.js +4 -5
  15. package/cjs/MobileCard/Group.js +2 -2
  16. package/cjs/MobileCard/useHeight.js +0 -1
  17. package/cjs/MobileContextMenu/MobileContextMenu.js +4 -7
  18. package/cjs/MobileContextMenu/MobileContextMenuGroup.js +1 -1
  19. package/cjs/MobileContextMenu/MobileContextMenuItem.js +11 -1
  20. package/cjs/MobileDatePicker/MobileDatePicker.js +1 -1
  21. package/cjs/MobileDropdownMenu/MobileDropdownMenu.js +1 -2
  22. package/cjs/MobileFooter/Footer.js +2 -2
  23. package/cjs/MobileListItem/MobileListItem.js +1 -1
  24. package/cjs/MobilePageHeader/MobilePageHeader.js +1 -2
  25. package/cjs/MobileSelectList/MobileSelectList.js +2 -3
  26. package/cjs/MobileSeparator/Separator.js +2 -2
  27. package/cjs/MobileTimePicker/MobileTimePicker.js +1 -1
  28. package/cjs/MobileTouchable/MobileTouchable.js +2 -3
  29. package/cjs/Modal/Modal.js +2 -2
  30. package/cjs/Modal/styled.js +5 -4
  31. package/cjs/PageForm/PageForm.js +1 -1
  32. package/cjs/PageSummary/PageSummary.js +1 -1
  33. package/cjs/SideNav/SideNav.js +1 -2
  34. package/cjs/SwipeToRefresh/ProgressIndicator.js +4 -4
  35. package/cjs/SwipeToRefresh/SwipeToRefresh.js +2 -2
  36. package/cjs/SwipeToRefresh/useSwipe.js +0 -1
  37. package/esm/CategoryBox/CategoryBox.js +2 -2
  38. package/esm/CollectionBox/CollectionBox.js +1 -1
  39. package/esm/FullPageContainer/useMobileHeight.js +0 -1
  40. package/esm/GlobalHeader/MobileGlobalHeader.js +0 -1
  41. package/esm/GlobalHeader/styles.js +11 -4
  42. package/esm/GroupBox/GroupBox.js +2 -2
  43. package/esm/InfiniteLoader/Infiniteloader.js +2 -4
  44. package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +0 -1
  45. package/esm/LoadingPage/Page.js +0 -1
  46. package/esm/MobileBanner/MobileBanner.js +1 -4
  47. package/esm/MobileBanner/utils/styleHelpers.js +43 -8
  48. package/esm/MobileCard/Card.js +1 -1
  49. package/esm/MobileCard/CardIcons.js +1 -1
  50. package/esm/MobileCard/ExpandableRegion.js +4 -5
  51. package/esm/MobileCard/Group.js +2 -2
  52. package/esm/MobileCard/useHeight.js +0 -1
  53. package/esm/MobileContextMenu/MobileContextMenu.js +4 -7
  54. package/esm/MobileContextMenu/MobileContextMenuGroup.js +1 -1
  55. package/esm/MobileContextMenu/MobileContextMenuItem.js +11 -1
  56. package/esm/MobileDatePicker/MobileDatePicker.js +1 -1
  57. package/esm/MobileDropdownMenu/MobileDropdownMenu.js +1 -2
  58. package/esm/MobileFooter/Footer.js +2 -2
  59. package/esm/MobileListItem/MobileListItem.js +1 -1
  60. package/esm/MobilePageHeader/MobilePageHeader.js +1 -2
  61. package/esm/MobileSelectList/MobileSelectList.js +2 -3
  62. package/esm/MobileSeparator/Separator.js +2 -2
  63. package/esm/MobileTimePicker/MobileTimePicker.js +1 -1
  64. package/esm/MobileTouchable/MobileTouchable.js +2 -3
  65. package/esm/Modal/Modal.js +2 -2
  66. package/esm/Modal/styled.js +5 -3
  67. package/esm/PageForm/PageForm.js +1 -1
  68. package/esm/PageSummary/PageSummary.js +1 -1
  69. package/esm/SideNav/SideNav.js +1 -2
  70. package/esm/SwipeToRefresh/ProgressIndicator.js +4 -4
  71. package/esm/SwipeToRefresh/SwipeToRefresh.js +2 -2
  72. package/esm/SwipeToRefresh/useSwipe.js +0 -1
  73. package/package.json +14 -14
@@ -25,7 +25,7 @@ const Body = /*#__PURE__*/styled(Grid).withConfig({
25
25
  let {
26
26
  theme
27
27
  } = _ref2;
28
- return "width: ".concat(op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 6.25), ";");
28
+ return `width: ${op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 6.25)};`;
29
29
  });
30
30
 
31
31
  const PageSummary = _ref3 => {
@@ -1,5 +1,4 @@
1
1
  import _jsx from '@babel/runtime/helpers/esm/jsx';
2
- import 'core-js/modules/web.dom-collections.iterator.js';
3
2
  import 'core-js/modules/esnext.async-iterator.map.js';
4
3
  import 'core-js/modules/esnext.iterator.map.js';
5
4
  import { useState } from 'react';
@@ -45,7 +44,7 @@ const DSSideNav = _ref => {
45
44
  }, idx, /*#__PURE__*/_jsx("div", {
46
45
  className: "icon"
47
46
  }, void 0, icon), /*#__PURE__*/_jsx("div", {
48
- className: "text ".concat(idx === selectedMenuItemIdx ? 'active' : '')
47
+ className: `text ${idx === selectedMenuItemIdx ? 'active' : ''}`
49
48
  }, void 0, text));
50
49
  })) : null
51
50
  });
@@ -28,16 +28,16 @@ const ProgressIndicator = _ref => {
28
28
  r: "54",
29
29
  fill: "none",
30
30
  strokeWidth: "12",
31
- stroke: "".concat(theme.colors.neutral[100])
31
+ stroke: `${theme.colors.neutral[100]}`
32
32
  }), /*#__PURE__*/_jsx("circle", {
33
33
  cx: "60",
34
34
  cy: "60",
35
35
  r: "54",
36
36
  strokeWidth: "12",
37
37
  fill: "none",
38
- strokeDasharray: "".concat(cir, "px"),
39
- strokeDashoffset: "".concat(dashoffset, "px"),
40
- stroke: "".concat(theme.colors.brand[600]),
38
+ strokeDasharray: `${cir}px`,
39
+ strokeDashoffset: `${dashoffset}px`,
40
+ stroke: `${theme.colors.brand[600]}`,
41
41
  strokeLinecap: "round"
42
42
  })));
43
43
  };
@@ -30,14 +30,14 @@ const SwipeToRefresh = _ref => {
30
30
  onTouchMove: swipe.touchMove,
31
31
  ref: swipe.ref,
32
32
  children: [/*#__PURE__*/_jsx(LoaderBox, {
33
- height: loading ? theme.space.m : "".concat(swipe.height, "px"),
33
+ height: loading ? theme.space.m : `${swipe.height}px`,
34
34
  alignItems: "flex-start",
35
35
  "data-testid": "loader-box"
36
36
  }, void 0, /*#__PURE__*/_jsx(PositionLoader, {
37
37
  height: theme.space.m,
38
38
  justifyContent: "center",
39
39
  alignItems: "center",
40
- mt: swipe.height > 40 || loading ? 0 : "".concat(swipe.height - 40, "px")
40
+ mt: swipe.height > 40 || loading ? 0 : `${swipe.height - 40}px`
41
41
  }, void 0, loading ? _DSCircularProgressIn || (_DSCircularProgressIn = /*#__PURE__*/_jsx(DSCircularProgressIndicator, {})) : /*#__PURE__*/_jsx(ProgressIndicator, {
42
42
  progress: progress
43
43
  }))), /*#__PURE__*/jsx("div", {
@@ -1,4 +1,3 @@
1
- import 'core-js/modules/web.dom-collections.iterator.js';
2
1
  import { useState, useRef } from 'react';
3
2
 
4
3
  const useSwipe = _ref => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-mobile",
3
- "version": "2.4.2-rc.12",
3
+ "version": "2.4.2-rc.15",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - System",
6
6
  "module": "./esm/index.js",
@@ -433,19 +433,19 @@
433
433
  "generateSubmodules": true
434
434
  },
435
435
  "dependencies": {
436
- "@elliemae/ds-accordion": "2.4.2-rc.12",
437
- "@elliemae/ds-backdrop": "2.4.2-rc.12",
438
- "@elliemae/ds-button": "2.4.2-rc.12",
439
- "@elliemae/ds-circular-progress-indicator": "2.4.2-rc.12",
440
- "@elliemae/ds-form": "2.4.2-rc.12",
441
- "@elliemae/ds-grid": "2.4.2-rc.12",
442
- "@elliemae/ds-icon": "2.4.2-rc.12",
443
- "@elliemae/ds-icons": "2.4.2-rc.12",
444
- "@elliemae/ds-indeterminate-progress-indicator": "2.4.2-rc.12",
445
- "@elliemae/ds-shared": "2.4.2-rc.12",
446
- "@elliemae/ds-system": "2.4.2-rc.12",
447
- "@elliemae/ds-tabs": "2.4.2-rc.12",
448
- "@elliemae/ds-truncated-expandable-text": "2.4.2-rc.12",
436
+ "@elliemae/ds-accordion": "2.4.2-rc.15",
437
+ "@elliemae/ds-backdrop": "2.4.2-rc.15",
438
+ "@elliemae/ds-button": "2.4.2-rc.15",
439
+ "@elliemae/ds-circular-progress-indicator": "2.4.2-rc.15",
440
+ "@elliemae/ds-form": "2.4.2-rc.15",
441
+ "@elliemae/ds-grid": "2.4.2-rc.15",
442
+ "@elliemae/ds-icon": "2.4.2-rc.15",
443
+ "@elliemae/ds-icons": "2.4.2-rc.15",
444
+ "@elliemae/ds-indeterminate-progress-indicator": "2.4.2-rc.15",
445
+ "@elliemae/ds-shared": "2.4.2-rc.15",
446
+ "@elliemae/ds-system": "2.4.2-rc.15",
447
+ "@elliemae/ds-tabs": "2.4.2-rc.15",
448
+ "@elliemae/ds-truncated-expandable-text": "2.4.2-rc.15",
449
449
  "@xstyled/styled-components": "~3.1.1",
450
450
  "polished": "~3.6.7",
451
451
  "prop-types": "~15.7.2",