@elliemae/ds-mobile 2.4.2-rc.9 → 2.4.2
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.
- package/cjs/CategoryBox/CategoryBox.js +2 -2
- package/cjs/CollectionBox/CollectionBox.js +1 -1
- package/cjs/FullPageContainer/useMobileHeight.js +0 -1
- package/cjs/GlobalHeader/MobileGlobalHeader.js +2 -3
- package/cjs/GlobalHeader/styles.js +11 -5
- package/cjs/GroupBox/GroupBox.js +2 -2
- package/cjs/InfiniteLoader/Infiniteloader.js +2 -4
- package/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js +0 -1
- package/cjs/LoadingPage/Page.js +0 -1
- package/cjs/MobileBanner/MobileBanner.js +3 -6
- package/cjs/MobileBanner/utils/styleHelpers.js +43 -12
- package/cjs/MobileCard/Card.js +1 -1
- package/cjs/MobileCard/CardIcons.js +1 -1
- package/cjs/MobileCard/ExpandableRegion.js +4 -5
- package/cjs/MobileCard/Group.js +2 -2
- package/cjs/MobileCard/useHeight.js +0 -1
- package/cjs/MobileContextMenu/MobileContextMenu.js +4 -7
- package/cjs/MobileContextMenu/MobileContextMenuGroup.js +1 -1
- package/cjs/MobileContextMenu/MobileContextMenuItem.js +11 -1
- package/cjs/MobileDatePicker/MobileDatePicker.js +1 -1
- package/cjs/MobileDropdownMenu/MobileDropdownMenu.js +1 -2
- package/cjs/MobileFooter/Footer.js +2 -2
- package/cjs/MobileListItem/MobileListItem.js +1 -1
- package/cjs/MobilePageHeader/MobilePageHeader.js +1 -2
- package/cjs/MobileSelectList/MobileSelectList.js +2 -3
- package/cjs/MobileSeparator/Separator.js +2 -2
- package/cjs/MobileTimePicker/MobileTimePicker.js +1 -1
- package/cjs/MobileTouchable/MobileTouchable.js +2 -3
- package/cjs/Modal/Modal.js +2 -2
- package/cjs/Modal/styled.js +5 -4
- package/cjs/PageForm/PageForm.js +1 -1
- package/cjs/PageSummary/PageSummary.js +1 -1
- package/cjs/SideNav/SideNav.js +1 -2
- package/cjs/SwipeToRefresh/ProgressIndicator.js +4 -4
- package/cjs/SwipeToRefresh/SwipeToRefresh.js +2 -2
- package/cjs/SwipeToRefresh/useSwipe.js +0 -1
- package/esm/CategoryBox/CategoryBox.js +2 -2
- package/esm/CollectionBox/CollectionBox.js +1 -1
- package/esm/FullPageContainer/useMobileHeight.js +0 -1
- package/esm/GlobalHeader/MobileGlobalHeader.js +0 -1
- package/esm/GlobalHeader/styles.js +11 -4
- package/esm/GroupBox/GroupBox.js +2 -2
- package/esm/InfiniteLoader/Infiniteloader.js +2 -4
- package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +0 -1
- package/esm/LoadingPage/Page.js +0 -1
- package/esm/MobileBanner/MobileBanner.js +1 -4
- package/esm/MobileBanner/utils/styleHelpers.js +43 -8
- package/esm/MobileCard/Card.js +1 -1
- package/esm/MobileCard/CardIcons.js +1 -1
- package/esm/MobileCard/ExpandableRegion.js +4 -5
- package/esm/MobileCard/Group.js +2 -2
- package/esm/MobileCard/useHeight.js +0 -1
- package/esm/MobileContextMenu/MobileContextMenu.js +4 -7
- package/esm/MobileContextMenu/MobileContextMenuGroup.js +1 -1
- package/esm/MobileContextMenu/MobileContextMenuItem.js +11 -1
- package/esm/MobileDatePicker/MobileDatePicker.js +1 -1
- package/esm/MobileDropdownMenu/MobileDropdownMenu.js +1 -2
- package/esm/MobileFooter/Footer.js +2 -2
- package/esm/MobileListItem/MobileListItem.js +1 -1
- package/esm/MobilePageHeader/MobilePageHeader.js +1 -2
- package/esm/MobileSelectList/MobileSelectList.js +2 -3
- package/esm/MobileSeparator/Separator.js +2 -2
- package/esm/MobileTimePicker/MobileTimePicker.js +1 -1
- package/esm/MobileTouchable/MobileTouchable.js +2 -3
- package/esm/Modal/Modal.js +2 -2
- package/esm/Modal/styled.js +5 -3
- package/esm/PageForm/PageForm.js +1 -1
- package/esm/PageSummary/PageSummary.js +1 -1
- package/esm/SideNav/SideNav.js +1 -2
- package/esm/SwipeToRefresh/ProgressIndicator.js +4 -4
- package/esm/SwipeToRefresh/SwipeToRefresh.js +2 -2
- package/esm/SwipeToRefresh/useSwipe.js +0 -1
- 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
|
|
28
|
+
return `width: ${op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 6.25)};`;
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
const PageSummary = _ref3 => {
|
package/esm/SideNav/SideNav.js
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
39
|
-
strokeDashoffset:
|
|
40
|
-
stroke:
|
|
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 :
|
|
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 :
|
|
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", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-mobile",
|
|
3
|
-
"version": "2.4.2
|
|
3
|
+
"version": "2.4.2",
|
|
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
|
|
437
|
-
"@elliemae/ds-backdrop": "2.4.2
|
|
438
|
-
"@elliemae/ds-button": "2.4.2
|
|
439
|
-
"@elliemae/ds-circular-progress-indicator": "2.4.2
|
|
440
|
-
"@elliemae/ds-form": "2.4.2
|
|
441
|
-
"@elliemae/ds-grid": "2.4.2
|
|
442
|
-
"@elliemae/ds-icon": "2.4.2
|
|
443
|
-
"@elliemae/ds-icons": "2.4.2
|
|
444
|
-
"@elliemae/ds-indeterminate-progress-indicator": "2.4.2
|
|
445
|
-
"@elliemae/ds-shared": "2.4.2
|
|
446
|
-
"@elliemae/ds-system": "2.4.2
|
|
447
|
-
"@elliemae/ds-tabs": "2.4.2
|
|
448
|
-
"@elliemae/ds-truncated-expandable-text": "2.4.2
|
|
436
|
+
"@elliemae/ds-accordion": "2.4.2",
|
|
437
|
+
"@elliemae/ds-backdrop": "2.4.2",
|
|
438
|
+
"@elliemae/ds-button": "2.4.2",
|
|
439
|
+
"@elliemae/ds-circular-progress-indicator": "2.4.2",
|
|
440
|
+
"@elliemae/ds-form": "2.4.2",
|
|
441
|
+
"@elliemae/ds-grid": "2.4.2",
|
|
442
|
+
"@elliemae/ds-icon": "2.4.2",
|
|
443
|
+
"@elliemae/ds-icons": "2.4.2",
|
|
444
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.4.2",
|
|
445
|
+
"@elliemae/ds-shared": "2.4.2",
|
|
446
|
+
"@elliemae/ds-system": "2.4.2",
|
|
447
|
+
"@elliemae/ds-tabs": "2.4.2",
|
|
448
|
+
"@elliemae/ds-truncated-expandable-text": "2.4.2",
|
|
449
449
|
"@xstyled/styled-components": "~3.1.1",
|
|
450
450
|
"polished": "~3.6.7",
|
|
451
451
|
"prop-types": "~15.7.2",
|