@elliemae/ds-mobile 2.0.0-next.8 → 2.0.0-rc.11
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
|
@@ -1,20 +1,21 @@
|
|
|
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
|
|
|
7
7
|
const Header = /*#__PURE__*/styled(Grid).withConfig({
|
|
8
8
|
componentId: "sc-a8tzbi-0"
|
|
9
9
|
})(["height:100%;background:", ";padding:", ";"], props => props.theme.colors.brand['600'], props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xxs));
|
|
10
|
-
const DSMobilePageSearch = withTheme(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
const DSMobilePageSearch = withTheme(_ref => {
|
|
11
|
+
let {
|
|
12
|
+
HeaderContainer = Header,
|
|
13
|
+
SearchContainer = Header,
|
|
14
|
+
searchHeader = null,
|
|
15
|
+
pageTitle = 'Search',
|
|
16
|
+
body = null,
|
|
17
|
+
theme
|
|
18
|
+
} = _ref;
|
|
18
19
|
const rows = [op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.l), 0.81), op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.l), 1.62), 1];
|
|
19
20
|
return /*#__PURE__*/_jsx(Grid, {
|
|
20
21
|
rows: rows,
|
|
@@ -1,35 +1,48 @@
|
|
|
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 { 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
|
import { Header, Section, Toolbar, BodyWrapper } from './Tags.js';
|
|
12
16
|
|
|
13
17
|
const Body = /*#__PURE__*/styled(Grid).withConfig({
|
|
14
18
|
componentId: "sc-1jlvilw-0"
|
|
15
|
-
})(["margin:0 auto;width:100%;@media (min-width:", "){", "}"],
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
})(["margin:0 auto;width:100%;@media (min-width:", "){", "}"], _ref => {
|
|
20
|
+
let {
|
|
21
|
+
theme
|
|
22
|
+
} = _ref;
|
|
23
|
+
return theme.breakpoints.small;
|
|
24
|
+
}, _ref2 => {
|
|
25
|
+
let {
|
|
26
|
+
theme
|
|
27
|
+
} = _ref2;
|
|
28
|
+
return "width: ".concat(op('*', __UNSAFE_SPACE_TO_DIMSUM(theme.space.xxl), 6.25), ";");
|
|
29
|
+
});
|
|
20
30
|
|
|
21
|
-
const PageSummary =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}, void 0,
|
|
31
|
+
const PageSummary = _ref3 => {
|
|
32
|
+
let {
|
|
33
|
+
header = null,
|
|
34
|
+
headerZIndex = 1,
|
|
35
|
+
bodyPrimary = null,
|
|
36
|
+
actions = null,
|
|
37
|
+
actionsZIndex = 1,
|
|
38
|
+
bodySecondary = null
|
|
39
|
+
} = _ref3;
|
|
40
|
+
return /*#__PURE__*/_jsx(DSFullPageContainer, {}, void 0, header && /*#__PURE__*/_jsx(Header, {
|
|
41
|
+
zIndex: headerZIndex
|
|
42
|
+
}, void 0, header), /*#__PURE__*/_jsx(Section, {}, void 0, /*#__PURE__*/_jsx(Grid, {}, void 0, /*#__PURE__*/_jsx(Body, {}, void 0, bodyPrimary)), /*#__PURE__*/_jsx(Toolbar, {
|
|
43
|
+
zIndex: actionsZIndex
|
|
44
|
+
}, void 0, actions), /*#__PURE__*/_jsx(BodyWrapper, {}, void 0, /*#__PURE__*/_jsx(Body, {}, void 0, bodySecondary))));
|
|
45
|
+
};
|
|
33
46
|
|
|
34
47
|
const DSPageSummary = PageSummary;
|
|
35
48
|
|
package/esm/PageSummary/Tags.js
CHANGED
|
@@ -2,14 +2,20 @@ import styled from 'styled-components';
|
|
|
2
2
|
|
|
3
3
|
const Header = /*#__PURE__*/styled.div.withConfig({
|
|
4
4
|
componentId: "sc-1bwtial-0"
|
|
5
|
-
})(["position:fixed;display:grid;top:0;left:0;width:100%;height:64px;z-index:", ";"],
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
})(["position:fixed;display:grid;top:0;left:0;width:100%;height:64px;z-index:", ";"], _ref => {
|
|
6
|
+
let {
|
|
7
|
+
zIndex
|
|
8
|
+
} = _ref;
|
|
9
|
+
return zIndex;
|
|
10
|
+
});
|
|
8
11
|
const Toolbar = /*#__PURE__*/styled.div.withConfig({
|
|
9
12
|
componentId: "sc-1bwtial-1"
|
|
10
|
-
})(["position:sticky;left:0;top:64px;background:", ";z-index:", ";"], props => props.theme.colors.neutral['000'],
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
})(["position:sticky;left:0;top:64px;background:", ";z-index:", ";"], props => props.theme.colors.neutral['000'], _ref2 => {
|
|
14
|
+
let {
|
|
15
|
+
zIndex
|
|
16
|
+
} = _ref2;
|
|
17
|
+
return zIndex;
|
|
18
|
+
});
|
|
13
19
|
const BodyWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
14
20
|
componentId: "sc-1bwtial-2"
|
|
15
21
|
})(["position:relative;display:grid;top:0;left:0;height:100%;"]);
|
package/esm/SideNav/SideNav.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
|
+
import 'core-js/modules/esnext.async-iterator.map.js';
|
|
4
|
+
import 'core-js/modules/esnext.iterator.map.js';
|
|
3
5
|
import { useState } from 'react';
|
|
4
|
-
import { DSBackdrop } from '@elliemae/ds-
|
|
5
|
-
import Close from '@elliemae/ds-icons
|
|
6
|
-
import { DSIconSizes, DSIconColors } from '@elliemae/ds-
|
|
6
|
+
import { DSBackdrop } from '@elliemae/ds-backdrop';
|
|
7
|
+
import { Close } from '@elliemae/ds-icons';
|
|
8
|
+
import { DSIconSizes, DSIconColors } from '@elliemae/ds-icon';
|
|
7
9
|
import { PropTypes, describe } from 'react-desc';
|
|
8
10
|
import { noop } from 'lodash';
|
|
9
11
|
import SvgIcon from '../Icons/EM_logo.js';
|
|
@@ -12,13 +14,14 @@ import { jsx, Fragment } from 'react/jsx-runtime';
|
|
|
12
14
|
|
|
13
15
|
var _span, _Hr, _hr;
|
|
14
16
|
|
|
15
|
-
const DSSideNav =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
const DSSideNav = _ref => {
|
|
18
|
+
let {
|
|
19
|
+
containerProps = {},
|
|
20
|
+
title,
|
|
21
|
+
onClose = noop,
|
|
22
|
+
menuItems = [],
|
|
23
|
+
bottomMenuItems = []
|
|
24
|
+
} = _ref;
|
|
22
25
|
const [selectedMenuItemIdx, setSelectedMenuItem] = useState(-1);
|
|
23
26
|
|
|
24
27
|
const menuItemClick = (idx, text, cb) => {
|
|
@@ -30,32 +33,38 @@ const DSSideNav = ({
|
|
|
30
33
|
};
|
|
31
34
|
|
|
32
35
|
const renderMenuList = () => /*#__PURE__*/jsx(Fragment, {
|
|
33
|
-
children: menuItems.length > 0 ? /*#__PURE__*/_jsx(MenuList, {}, void 0, menuItems.map(({
|
|
36
|
+
children: menuItems.length > 0 ? /*#__PURE__*/_jsx(MenuList, {}, void 0, menuItems.map((_ref2, idx) => {
|
|
37
|
+
let {
|
|
38
|
+
icon,
|
|
39
|
+
text,
|
|
40
|
+
onClick
|
|
41
|
+
} = _ref2;
|
|
42
|
+
return /*#__PURE__*/_jsx("div", {
|
|
43
|
+
className: "menuitem",
|
|
44
|
+
onClick: menuItemClick.bind(null, idx, text, onClick)
|
|
45
|
+
}, idx, /*#__PURE__*/_jsx("div", {
|
|
46
|
+
className: "icon"
|
|
47
|
+
}, void 0, icon), /*#__PURE__*/_jsx("div", {
|
|
48
|
+
className: "text ".concat(idx === selectedMenuItemIdx ? 'active' : '')
|
|
49
|
+
}, void 0, text));
|
|
50
|
+
})) : null
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
const renderBottomMenu = () => /*#__PURE__*/_jsx(MenuList, {}, void 0, bottomMenuItems.map((_ref3, idx) => {
|
|
54
|
+
let {
|
|
34
55
|
icon,
|
|
35
56
|
text,
|
|
36
57
|
onClick
|
|
37
|
-
}
|
|
58
|
+
} = _ref3;
|
|
59
|
+
return /*#__PURE__*/_jsx("div", {
|
|
38
60
|
className: "menuitem",
|
|
39
|
-
onClick:
|
|
61
|
+
onClick: () => onClick(idx, text)
|
|
40
62
|
}, idx, /*#__PURE__*/_jsx("div", {
|
|
41
63
|
className: "icon"
|
|
42
64
|
}, void 0, icon), /*#__PURE__*/_jsx("div", {
|
|
43
|
-
className: "text
|
|
44
|
-
}, void 0, text))
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
const renderBottomMenu = () => /*#__PURE__*/_jsx(MenuList, {}, void 0, bottomMenuItems.map(({
|
|
48
|
-
icon,
|
|
49
|
-
text,
|
|
50
|
-
onClick
|
|
51
|
-
}, idx) => /*#__PURE__*/_jsx("div", {
|
|
52
|
-
className: "menuitem",
|
|
53
|
-
onClick: () => onClick(idx, text)
|
|
54
|
-
}, idx, /*#__PURE__*/_jsx("div", {
|
|
55
|
-
className: "icon"
|
|
56
|
-
}, void 0, icon), /*#__PURE__*/_jsx("div", {
|
|
57
|
-
className: "text"
|
|
58
|
-
}, void 0, text))));
|
|
65
|
+
className: "text"
|
|
66
|
+
}, void 0, text));
|
|
67
|
+
}));
|
|
59
68
|
|
|
60
69
|
return /*#__PURE__*/_jsx(Container, {
|
|
61
70
|
"data-testid": containerProps['data-testid'] || 'global-header-menu'
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import 'react';
|
|
3
3
|
import { useTheme } from '@elliemae/ds-system';
|
|
4
|
-
import { Grid } from '@elliemae/ds-
|
|
4
|
+
import { Grid } from '@elliemae/ds-grid';
|
|
5
5
|
|
|
6
6
|
const rad = 54;
|
|
7
7
|
const cir = 2 * Math.PI * rad;
|
|
8
|
-
const ProgressIndicator =
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const ProgressIndicator = _ref => {
|
|
9
|
+
let {
|
|
10
|
+
progress = 0
|
|
11
|
+
} = _ref;
|
|
11
12
|
const factor = progress / 100;
|
|
12
13
|
const theme = useTheme();
|
|
13
14
|
const dashoffset = cir * (1 - factor);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import 'react';
|
|
3
3
|
import { PropTypes, describe } from 'react-desc';
|
|
4
|
-
import { DSCircularProgressIndicator } from '@elliemae/ds-
|
|
4
|
+
import { DSCircularProgressIndicator } from '@elliemae/ds-circular-progress-indicator';
|
|
5
5
|
import { useTheme } from '@elliemae/ds-system';
|
|
6
6
|
import { useSwipe } from './useSwipe.js';
|
|
7
7
|
import { SwipeContainer, SwipeDrag, LoaderBox, PositionLoader } from './styled.js';
|
|
@@ -10,11 +10,12 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
10
10
|
|
|
11
11
|
var _DSCircularProgressIn;
|
|
12
12
|
|
|
13
|
-
const SwipeToRefresh =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
const SwipeToRefresh = _ref => {
|
|
14
|
+
let {
|
|
15
|
+
children,
|
|
16
|
+
loading,
|
|
17
|
+
onRefresh
|
|
18
|
+
} = _ref;
|
|
18
19
|
const breakpoint = 60;
|
|
19
20
|
const theme = useTheme();
|
|
20
21
|
const swipe = useSwipe({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
|
|
4
|
-
const useSwipe =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
const useSwipe = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
onRefresh,
|
|
7
|
+
breakpoint
|
|
8
|
+
} = _ref;
|
|
8
9
|
const [startingPoint, setStartingPoint] = useState(0);
|
|
9
10
|
const [movingPoint, setMovingPoint] = useState(0);
|
|
10
11
|
const ref = useRef();
|
package/esm/Tabs/index.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
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';
|
|
4
|
-
import { DSTabs, DSTab } from '@elliemae/ds-
|
|
9
|
+
import { DSTabs, DSTab } from '@elliemae/ds-tabs';
|
|
5
10
|
import { jsx } from 'react/jsx-runtime';
|
|
6
11
|
|
|
7
12
|
const _excluded = ["children"],
|
package/esm/index.js
CHANGED
|
@@ -4,8 +4,8 @@ export { DSMobilePageForm, DSPageForm } from './PageForm/PageForm.js';
|
|
|
4
4
|
export { DSPageSummary } from './PageSummary/PageSummary.js';
|
|
5
5
|
export { DSMobileLoadingPage } from './LoadingPage/Page.js';
|
|
6
6
|
export { DSMobilePageSearch, DSPageSearch } from './PageSearch/PageSearch.js';
|
|
7
|
-
export { DSAccordion as DSMobileAccordion, DSAccordionItem as DSMobileAccordionItem, DSAccordionItemWithSchema as DSMobileAccordionItemWithSchema, DSAccordionWithSchema as DSMobileAccordionWithSchema } from '@elliemae/ds-
|
|
8
|
-
export { MobileSeparatorWithSchema } from './MobileSeparator/Separator.js';
|
|
7
|
+
export { DSAccordion as DSMobileAccordion, DSAccordionItem as DSMobileAccordionItem, DSAccordionItemWithSchema as DSMobileAccordionItemWithSchema, DSAccordionWithSchema as DSMobileAccordionWithSchema } from '@elliemae/ds-accordion';
|
|
8
|
+
export { default as DSMobileSeparator, MobileSeparatorWithSchema } from './MobileSeparator/Separator.js';
|
|
9
9
|
export { DSMobileListItem, ListItemWithSchema } from './MobileListItem/MobileListItem.js';
|
|
10
10
|
export { DSMobileTouchable } from './MobileTouchable/MobileTouchable.js';
|
|
11
11
|
export { DSMobileContextMenu, DSMobileContextMenuWithSchema } from './MobileContextMenu/MobileContextMenu.js';
|
|
@@ -14,7 +14,7 @@ export { DSMobileContextMenuGroup, DSMobileContextMenuGroupWithSchema } from './
|
|
|
14
14
|
export { DSMobileFilterbar, FilterbarWithSchema } from './MobileFilterbar/Filterbar.js';
|
|
15
15
|
export { DSMobileFilterbarSort, FilterbarSortWithSchema } from './MobileFilterbar/FilterbarSort.js';
|
|
16
16
|
export { DSMobileFilterbarItem, FilterbarItemWithSchema } from './MobileFilterbar/FilterbarItem.js';
|
|
17
|
-
export { DSMobileActionToolbarWithSchema } from './MobileActionToolbar/MobileActionToolbar.js';
|
|
17
|
+
export { default as DSMobileActionToolbar, DSMobileActionToolbarWithSchema } from './MobileActionToolbar/MobileActionToolbar.js';
|
|
18
18
|
export { DSToolbarItemWithSchema, default as ToolbarItem } from './MobileActionToolbar/MobileActionToolbarItem.js';
|
|
19
19
|
export { default as DSMobileFooter, MobileFooterWithSchema } from './MobileFooter/Footer.js';
|
|
20
20
|
export { DSMobileFooterText, DSMobileFooterTextWithSchema } from './MobileFooter/Text.js';
|
|
@@ -41,3 +41,4 @@ export { DSMobileBanner, DSMobileBannerWithSchema } from './MobileBanner/MobileB
|
|
|
41
41
|
export { MOBILE_BANNER_TYPES } from './MobileBanner/utils/bannerTypes.js';
|
|
42
42
|
export { DSMobileCardWithSchema } from './MobileCard/Card.js';
|
|
43
43
|
export { DSMobileCardGroupWithSchema } from './MobileCard/Group.js';
|
|
44
|
+
export { SubIcons } from './MobileCard/CardIcons.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-mobile",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - System",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -421,20 +421,40 @@
|
|
|
421
421
|
"generateSubmodules": true
|
|
422
422
|
},
|
|
423
423
|
"dependencies": {
|
|
424
|
+
"@elliemae/ds-accordion": "2.0.0-rc.11",
|
|
425
|
+
"@elliemae/ds-backdrop": "2.0.0-rc.11",
|
|
426
|
+
"@elliemae/ds-button": "2.0.0-rc.11",
|
|
427
|
+
"@elliemae/ds-circular-progress-indicator": "2.0.0-rc.11",
|
|
428
|
+
"@elliemae/ds-devutils": "2.0.0-rc.11",
|
|
429
|
+
"@elliemae/ds-form": "2.0.0-rc.11",
|
|
430
|
+
"@elliemae/ds-grid": "2.0.0-rc.11",
|
|
431
|
+
"@elliemae/ds-icon": "2.0.0-rc.11",
|
|
432
|
+
"@elliemae/ds-icons": "2.0.0-rc.11",
|
|
433
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.0.0-rc.11",
|
|
434
|
+
"@elliemae/ds-shared": "2.0.0-rc.11",
|
|
435
|
+
"@elliemae/ds-system": "2.0.0-rc.11",
|
|
436
|
+
"@elliemae/ds-tabs": "2.0.0-rc.11",
|
|
437
|
+
"@elliemae/ds-truncated-expandable-text": "2.0.0-rc.11",
|
|
424
438
|
"polished": "~3.6.7",
|
|
439
|
+
"prop-types": "~15.7.2",
|
|
440
|
+
"react-desc": "~4.1.3",
|
|
425
441
|
"react-window": "~1.8.6",
|
|
426
|
-
"react-window-infinite-loader": "~1.0.
|
|
427
|
-
"styled-system": "~5.1.5"
|
|
442
|
+
"react-window-infinite-loader": "~1.0.5"
|
|
428
443
|
},
|
|
429
444
|
"devDependencies": {
|
|
430
|
-
"@elliemae/pui-theme": "~2.2.
|
|
431
|
-
"
|
|
445
|
+
"@elliemae/pui-theme": "~2.2.5",
|
|
446
|
+
"@testing-library/jest-dom": "~5.15.0",
|
|
447
|
+
"@testing-library/react": "~12.1.2",
|
|
448
|
+
"@testing-library/user-event": "~13.5.0",
|
|
449
|
+
"styled-components": "~5.3.3",
|
|
450
|
+
"styled-system": "~5.1.5"
|
|
432
451
|
},
|
|
433
452
|
"peerDependencies": {
|
|
434
|
-
"@elliemae/pui-theme": "^2.2.
|
|
453
|
+
"@elliemae/pui-theme": "^2.2.5",
|
|
435
454
|
"lodash": "^4.17.21",
|
|
436
455
|
"react": "~17.0.2",
|
|
437
456
|
"react-dom": "^17.0.2",
|
|
438
|
-
"styled-components": "^5.3.
|
|
457
|
+
"styled-components": "^5.3.3",
|
|
458
|
+
"styled-system": "^5.1.5"
|
|
439
459
|
}
|
|
440
460
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DSAccordion as DSMobileAccordion, DSAccordionItem as DSMobileAccordionItem, DSAccordionWithSchema as DSMobileAccordionWithSchema, DSAccordionItemWithSchema as DSMobileAccordionItemWithSchema, } from '@elliemae/ds-
|
|
1
|
+
export { DSAccordion as DSMobileAccordion, DSAccordionItem as DSMobileAccordionItem, DSAccordionWithSchema as DSMobileAccordionWithSchema, DSAccordionItemWithSchema as DSMobileAccordionItemWithSchema, } from '@elliemae/ds-accordion';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSCategoryBox: {
|
|
3
|
-
({ borderTop, actionsRight, title, headerLevel, children
|
|
4
|
+
({ borderTop, actionsRight, title, headerLevel, children }: {
|
|
4
5
|
borderTop?: boolean | undefined;
|
|
5
6
|
actionsRight?: never[] | undefined;
|
|
6
7
|
title: any;
|
|
@@ -15,20 +16,50 @@ declare const DSCategoryBox: {
|
|
|
15
16
|
/**
|
|
16
17
|
* Toggle border top of category box
|
|
17
18
|
*/
|
|
18
|
-
borderTop:
|
|
19
|
+
borderTop: {
|
|
20
|
+
defaultValue<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
19
25
|
/**
|
|
20
26
|
* Array of button icons
|
|
21
27
|
*/
|
|
22
|
-
actionsRight:
|
|
28
|
+
actionsRight: {
|
|
29
|
+
defaultValue<T = unknown>(arg: T): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
23
34
|
/**
|
|
24
35
|
* semantic level of header tag for the title
|
|
25
36
|
*/
|
|
26
|
-
headerLevel:
|
|
37
|
+
headerLevel: {
|
|
38
|
+
defaultValue<T = unknown>(arg: T): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
27
43
|
/**
|
|
28
44
|
* In-box children
|
|
29
45
|
*/
|
|
30
|
-
children:
|
|
46
|
+
children: {
|
|
47
|
+
defaultValue<T = unknown>(arg: T): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
31
52
|
};
|
|
32
53
|
};
|
|
33
|
-
declare const DSCategoryBoxWithSchema:
|
|
54
|
+
declare const DSCategoryBoxWithSchema: {
|
|
55
|
+
(props?: {
|
|
56
|
+
borderTop?: boolean | undefined;
|
|
57
|
+
actionsRight?: never[] | undefined;
|
|
58
|
+
title: any;
|
|
59
|
+
headerLevel?: number | undefined;
|
|
60
|
+
children: any;
|
|
61
|
+
} | undefined): JSX.Element;
|
|
62
|
+
propTypes: unknown;
|
|
63
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
64
|
+
};
|
|
34
65
|
export { DSCategoryBox, DSCategoryBoxWithSchema };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSCollectionBox: {
|
|
3
|
-
({ body, title, headerAction, footerAction, headerLevel
|
|
4
|
+
({ body, title, headerAction, footerAction, headerLevel }: {
|
|
4
5
|
body: any;
|
|
5
6
|
title: any;
|
|
6
7
|
headerAction: any;
|
|
@@ -15,20 +16,50 @@ declare const DSCollectionBox: {
|
|
|
15
16
|
/**
|
|
16
17
|
* Collection box header
|
|
17
18
|
*/
|
|
18
|
-
title:
|
|
19
|
+
title: {
|
|
20
|
+
defaultValue<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
19
25
|
/**
|
|
20
26
|
* Collection box header action, expects a button with size s
|
|
21
27
|
*/
|
|
22
|
-
headerAction:
|
|
28
|
+
headerAction: {
|
|
29
|
+
defaultValue<T = unknown>(arg: T): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
23
34
|
/**
|
|
24
35
|
* Collection box footer action, expects a button with size s
|
|
25
36
|
*/
|
|
26
|
-
footerAction:
|
|
37
|
+
footerAction: {
|
|
38
|
+
defaultValue<T = unknown>(arg: T): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
27
43
|
/**
|
|
28
44
|
* Semantic header tag used for the header title
|
|
29
45
|
*/
|
|
30
|
-
headerLevel:
|
|
46
|
+
headerLevel: {
|
|
47
|
+
defaultValue<T = unknown>(arg: T): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
31
52
|
};
|
|
32
53
|
};
|
|
33
|
-
declare const DSCollectionBoxWithSchema:
|
|
54
|
+
declare const DSCollectionBoxWithSchema: {
|
|
55
|
+
(props?: {
|
|
56
|
+
body: any;
|
|
57
|
+
title: any;
|
|
58
|
+
headerAction: any;
|
|
59
|
+
footerAction: any;
|
|
60
|
+
headerLevel?: number | undefined;
|
|
61
|
+
} | undefined): JSX.Element;
|
|
62
|
+
propTypes: unknown;
|
|
63
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
64
|
+
};
|
|
34
65
|
export { DSCollectionBox, DSCollectionBoxWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSGlobalHeader: {
|
|
3
4
|
({ containerProps, title, lastIcon, onSearchChange, topMenuItems, bottomMenuItems, }: {
|
|
@@ -10,7 +11,12 @@ declare const DSGlobalHeader: {
|
|
|
10
11
|
}): JSX.Element;
|
|
11
12
|
propTypes: {
|
|
12
13
|
/** props to inject to wrapper */
|
|
13
|
-
containerProps:
|
|
14
|
+
containerProps: {
|
|
15
|
+
defaultValue<T = unknown>(arg: T): {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
14
20
|
/**
|
|
15
21
|
* Heading Title
|
|
16
22
|
*/
|
|
@@ -18,20 +24,51 @@ declare const DSGlobalHeader: {
|
|
|
18
24
|
/**
|
|
19
25
|
* Dimsum icon Element
|
|
20
26
|
*/
|
|
21
|
-
lastIcon:
|
|
27
|
+
lastIcon: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
22
33
|
/**
|
|
23
34
|
* Callback function for search change
|
|
24
35
|
*/
|
|
25
|
-
onSearchChange:
|
|
36
|
+
onSearchChange: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
26
42
|
/**
|
|
27
43
|
* Top Menu items array
|
|
28
44
|
*/
|
|
29
|
-
topMenuItems:
|
|
45
|
+
topMenuItems: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
30
51
|
/**
|
|
31
52
|
* Bottom Menu items array
|
|
32
53
|
*/
|
|
33
|
-
bottomMenuItems:
|
|
54
|
+
bottomMenuItems: {
|
|
55
|
+
defaultValue<T = unknown>(arg: T): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
34
60
|
};
|
|
35
61
|
};
|
|
36
|
-
declare const DSGlobalHeaderWithSchema:
|
|
62
|
+
declare const DSGlobalHeaderWithSchema: {
|
|
63
|
+
(props?: {
|
|
64
|
+
containerProps?: {} | undefined;
|
|
65
|
+
title: any;
|
|
66
|
+
lastIcon: any;
|
|
67
|
+
onSearchChange?: ((...args: any[]) => void) | undefined;
|
|
68
|
+
topMenuItems: any;
|
|
69
|
+
bottomMenuItems: any;
|
|
70
|
+
} | undefined): JSX.Element;
|
|
71
|
+
propTypes: unknown;
|
|
72
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
73
|
+
};
|
|
37
74
|
export { DSGlobalHeader, DSGlobalHeaderWithSchema };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const Container: import("styled-components").StyledComponent<"header",
|
|
2
|
-
export declare const SearchWrapper: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const Icon: import("styled-components").StyledComponent<"div",
|
|
4
|
-
export declare const Label: import("styled-components").StyledComponent<"div",
|
|
5
|
-
export declare const RightSection: import("styled-components").StyledComponent<"div",
|
|
6
|
-
export declare const MainSection: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"header", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const SearchWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Icon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const Label: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const RightSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const MainSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|