@elliemae/ds-mobile 2.0.0-next.7 → 2.0.0-rc.10
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/Accordion/Accordion.js +5 -5
- package/cjs/Accordion/index.js +5 -5
- package/cjs/CategoryBox/CategoryBox.js +12 -11
- package/cjs/CollectionBox/CollectionBox.js +14 -13
- package/cjs/FullPageContainer/FullPageContainer.js +7 -2
- package/cjs/FullPageContainer/FullPageContainerScroll.js +7 -2
- package/cjs/GlobalHeader/MobileGlobalHeader.js +28 -24
- package/cjs/GroupBox/GroupBox.js +13 -12
- package/cjs/InfiniteLoader/Infiniteloader.js +11 -9
- package/cjs/InfiniteLoader/Loader.js +12 -9
- package/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js +49 -22
- package/cjs/LoadingPage/Page.js +24 -12
- package/cjs/MobileActionToolbar/MobileActionToolbar.js +8 -7
- package/cjs/MobileActionToolbar/MobileActionToolbarItem.js +6 -1
- package/cjs/MobileBanner/MobileBanner.js +21 -16
- package/cjs/MobileBanner/styles.js +128 -59
- package/cjs/MobileBanner/utils/icons.js +5 -12
- package/cjs/MobileBanner/utils/styleHelpers.js +8 -4
- package/cjs/MobileCard/ActionAddon.js +16 -14
- package/cjs/MobileCard/Card.js +26 -22
- package/cjs/MobileCard/CardIcons.js +21 -16
- package/cjs/MobileCard/ExpandChevron.js +8 -10
- package/cjs/MobileCard/ExpandableRegion.js +5 -4
- package/cjs/MobileCard/Group.js +22 -16
- package/cjs/MobileContextMenu/MobileContextMenu.js +33 -25
- package/cjs/MobileContextMenu/MobileContextMenuGroup.js +35 -25
- package/cjs/MobileContextMenu/MobileContextMenuItem.js +29 -25
- package/cjs/MobileDatePicker/Input.js +5 -0
- package/cjs/MobileDatePicker/MobileDatePicker.js +15 -16
- package/cjs/MobileDropdownMenu/MobileDropdownInput.js +27 -17
- package/cjs/MobileDropdownMenu/MobileDropdownMenu.js +19 -16
- package/cjs/MobileEmtpyState/MobileEmptyState.js +10 -8
- package/cjs/MobileFilterbar/Filterbar.js +13 -10
- package/cjs/MobileFilterbar/FilterbarItem.js +15 -12
- package/cjs/MobileFilterbar/FilterbarSort.js +17 -14
- package/cjs/MobileFooter/Action.js +27 -24
- package/cjs/MobileFooter/Footer.js +15 -8
- package/cjs/MobileFooter/Text.js +6 -3
- package/cjs/MobileListItem/MobileListItem.js +14 -13
- package/cjs/MobilePageHeader/MobilePageHeader.js +35 -35
- package/cjs/MobileSelectList/MobileSelectList.js +29 -22
- package/cjs/MobileSelectList/styled.js +9 -11
- package/cjs/MobileSeparator/Separator.js +30 -18
- package/cjs/MobileTimePicker/Input.js +5 -0
- package/cjs/MobileTimePicker/MobileTimePicker.js +15 -16
- package/cjs/MobileTimePicker/MobileTimePicker.stories.js +2 -2
- package/cjs/MobileTouchable/MobileTouchable.js +7 -2
- package/cjs/Modal/Modal.js +30 -25
- package/cjs/Modal/styled.js +7 -7
- package/cjs/PageFilter/PageFilter.js +20 -15
- package/cjs/PageForm/PageForm.js +22 -15
- package/cjs/PageList/PageList.js +12 -11
- package/cjs/PageSearch/PageSearch.js +14 -13
- package/cjs/PageSummary/PageSummary.js +34 -21
- package/cjs/PageSummary/Tags.js +12 -6
- package/cjs/SideNav/SideNav.js +42 -34
- package/cjs/SwipeToRefresh/ProgressIndicator.js +6 -5
- package/cjs/SwipeToRefresh/SwipeToRefresh.js +8 -7
- package/cjs/SwipeToRefresh/styled.js +4 -4
- package/cjs/SwipeToRefresh/useSwipe.js +5 -4
- package/cjs/Tabs/index.js +8 -3
- package/cjs/index.js +9 -5
- package/esm/Accordion/Accordion.js +1 -1
- package/esm/Accordion/index.js +1 -1
- package/esm/CategoryBox/CategoryBox.js +9 -8
- package/esm/CollectionBox/CollectionBox.js +9 -8
- package/esm/FullPageContainer/FullPageContainer.js +6 -1
- package/esm/FullPageContainer/FullPageContainerScroll.js +6 -1
- package/esm/GlobalHeader/MobileGlobalHeader.js +20 -14
- package/esm/GroupBox/GroupBox.js +10 -9
- package/esm/InfiniteLoader/Infiniteloader.js +9 -7
- package/esm/InfiniteLoader/Loader.js +12 -9
- package/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +50 -23
- package/esm/LoadingPage/Page.js +24 -12
- package/esm/MobileActionToolbar/MobileActionToolbar.js +7 -6
- package/esm/MobileActionToolbar/MobileActionToolbarItem.js +6 -1
- package/esm/MobileBanner/MobileBanner.js +20 -14
- package/esm/MobileBanner/styles.js +128 -59
- package/esm/MobileBanner/utils/icons.js +1 -4
- package/esm/MobileBanner/utils/styleHelpers.js +8 -4
- package/esm/MobileCard/ActionAddon.js +16 -13
- package/esm/MobileCard/Card.js +20 -16
- package/esm/MobileCard/CardIcons.js +20 -15
- package/esm/MobileCard/ExpandChevron.js +8 -8
- package/esm/MobileCard/ExpandableRegion.js +5 -4
- package/esm/MobileCard/Group.js +20 -14
- package/esm/MobileContextMenu/MobileContextMenu.js +26 -18
- package/esm/MobileContextMenu/MobileContextMenuGroup.js +35 -25
- package/esm/MobileContextMenu/MobileContextMenuItem.js +25 -19
- package/esm/MobileDatePicker/Input.js +5 -0
- package/esm/MobileDatePicker/MobileDatePicker.js +12 -11
- package/esm/MobileDropdownMenu/MobileDropdownInput.js +27 -16
- package/esm/MobileDropdownMenu/MobileDropdownMenu.js +19 -16
- package/esm/MobileEmtpyState/MobileEmptyState.js +10 -7
- package/esm/MobileFilterbar/Filterbar.js +13 -10
- package/esm/MobileFilterbar/FilterbarItem.js +15 -12
- package/esm/MobileFilterbar/FilterbarSort.js +17 -14
- package/esm/MobileFooter/Action.js +26 -23
- package/esm/MobileFooter/Footer.js +12 -5
- package/esm/MobileFooter/Text.js +6 -3
- package/esm/MobileListItem/MobileListItem.js +10 -9
- package/esm/MobilePageHeader/MobilePageHeader.js +17 -16
- package/esm/MobileSelectList/MobileSelectList.js +25 -17
- package/esm/MobileSelectList/styled.js +4 -4
- package/esm/MobileSeparator/Separator.js +28 -16
- package/esm/MobileTimePicker/Input.js +5 -0
- package/esm/MobileTimePicker/MobileTimePicker.js +12 -11
- package/esm/MobileTimePicker/MobileTimePicker.stories.js +1 -1
- package/esm/MobileTouchable/MobileTouchable.js +6 -1
- package/esm/Modal/Modal.js +25 -19
- package/esm/Modal/styled.js +1 -1
- package/esm/PageFilter/PageFilter.js +15 -10
- package/esm/PageForm/PageForm.js +18 -11
- package/esm/PageList/PageList.js +10 -9
- package/esm/PageSearch/PageSearch.js +10 -9
- package/esm/PageSummary/PageSummary.js +32 -19
- package/esm/PageSummary/Tags.js +12 -6
- package/esm/SideNav/SideNav.js +38 -29
- package/esm/SwipeToRefresh/ProgressIndicator.js +5 -4
- package/esm/SwipeToRefresh/SwipeToRefresh.js +7 -6
- package/esm/SwipeToRefresh/styled.js +1 -1
- package/esm/SwipeToRefresh/useSwipe.js +5 -4
- package/esm/Tabs/index.js +6 -1
- package/esm/index.js +4 -3
- package/package.json +27 -7
- package/types/Accordion/Accordion.d.ts +1 -1
- package/types/CategoryBox/CategoryBox.d.ts +37 -6
- package/types/CollectionBox/CollectionBox.d.ts +37 -6
- package/types/GlobalHeader/MobileGlobalHeader.d.ts +43 -6
- package/types/GlobalHeader/styles.d.ts +6 -6
- package/types/GroupBox/GroupBox.d.ts +44 -7
- package/types/InfiniteLoader/Infiniteloader.d.ts +30 -5
- package/types/InfiniteLoader/VirtualizedInfiniteLoader.d.ts +56 -8
- package/types/InfiniteLoader/styled.d.ts +1 -1
- package/types/LoadingPage/Page.d.ts +1 -1
- package/types/MobileActionToolbar/MobileActionToolbar.d.ts +16 -4
- package/types/MobileActionToolbar/MobileActionToolbarItem.d.ts +15 -2
- package/types/MobileBanner/MobileBanner.d.ts +72 -12
- package/types/MobileBanner/propTypes.d.ts +67 -11
- package/types/MobileBanner/styles.d.ts +10 -10
- package/types/MobileCard/Card.d.ts +23 -13
- package/types/MobileCard/Group.d.ts +18 -8
- package/types/MobileCard/StyledCard.d.ts +1 -1
- package/types/MobileCard/index.d.ts +4 -12
- package/types/MobileContextMenu/MobileContextMenu.d.ts +13 -2
- package/types/MobileContextMenu/MobileContextMenuGroup.d.ts +37 -5
- package/types/MobileContextMenu/MobileContextMenuItem.d.ts +54 -9
- package/types/MobileDatePicker/MobileDatePicker.d.ts +43 -7
- package/types/MobileDropdownMenu/MobileDropdownInput.d.ts +2 -2
- package/types/MobileDropdownMenu/MobileDropdownMenu.d.ts +24 -4
- package/types/MobileEmtpyState/MobileEmptyState.d.ts +14 -2
- package/types/MobileFilterbar/Filterbar.d.ts +9 -2
- package/types/MobileFilterbar/FilterbarItem.d.ts +15 -2
- package/types/MobileFilterbar/FilterbarSort.d.ts +9 -2
- package/types/MobileFooter/Action.d.ts +19 -3
- package/types/MobileFooter/Footer.d.ts +8 -1
- package/types/MobileFooter/Text.d.ts +8 -1
- package/types/MobileListItem/MobileListItem.d.ts +17 -7
- package/types/MobilePageHeader/MobilePageHeader.d.ts +21 -11
- package/types/MobileSelectList/MobileSelectList.d.ts +3 -3
- package/types/MobileSelectList/styled.d.ts +5 -5
- package/types/MobileSeparator/Separator.d.ts +23 -5
- package/types/MobileTimePicker/MobileTimePicker.d.ts +32 -6
- package/types/MobileTouchable/MobileTouchable.d.ts +1 -1
- package/types/Modal/Modal.d.ts +50 -9
- package/types/Modal/styled.d.ts +7 -6
- package/types/PageList/PageList.d.ts +2 -2
- package/types/PageSearch/PageSearch.d.ts +2 -2
- package/types/PageSummary/Tags.d.ts +4 -4
- package/types/SideNav/SideNav.d.ts +26 -5
- package/types/SideNav/styles.d.ts +8 -8
- package/types/SwipeToRefresh/SwipeToRefresh.d.ts +22 -3
- package/types/SwipeToRefresh/styled.d.ts +5 -4
- 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-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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-
|
|
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(
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
}, void 0,
|
|
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-
|
|
6
|
-
import DSButton from '@elliemae/ds-
|
|
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
|
-
|
|
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
|
|
package/esm/MobileFooter/Text.js
CHANGED
|
@@ -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
|
-
|
|
13
|
-
|
|
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-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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-
|
|
7
|
-
import { Grid } from '@elliemae/ds-
|
|
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
|
|
10
|
-
import DSButton from '@elliemae/ds-
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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-
|
|
7
|
-
import DSTextBox from '@elliemae/ds-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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-
|
|
6
|
-
import DSCheckbox from '@elliemae/ds-
|
|
7
|
-
import
|
|
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(
|
|
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-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
color,
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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-
|
|
5
|
-
import RecentDocuments from '@elliemae/ds-icons
|
|
6
|
-
import DSButton from '@elliemae/ds-
|
|
7
|
-
import DSInputGroup from '@elliemae/ds-
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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-
|
|
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-
|
|
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
|
|
package/esm/Modal/Modal.js
CHANGED
|
@@ -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-
|
|
7
|
-
import WarningTriangle from '@elliemae/ds-icons
|
|
8
|
-
import DSButton from '@elliemae/ds-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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, {
|
package/esm/Modal/styled.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from '@babel/runtime/helpers/esm/taggedTemplateLiteral';
|
|
2
|
-
import { Grid } from '@elliemae/ds-
|
|
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-
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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];
|
package/esm/PageForm/PageForm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import 'react';
|
|
3
|
-
import { Grid } from '@elliemae/ds-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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));
|
package/esm/PageList/PageList.js
CHANGED
|
@@ -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-
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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');
|