@elliemae/ds-mobile 3.17.0-next.12 → 3.17.0-next.14
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/dist/cjs/MobileCard/useHeight.js +7 -1
- package/dist/cjs/MobileCard/useHeight.js.map +2 -2
- package/dist/esm/MobileCard/useHeight.js +7 -1
- package/dist/esm/MobileCard/useHeight.js.map +2 -2
- package/dist/types/Accordion/DSMobileAccordion.d.ts +2 -3
- package/dist/types/CategoryBox/CategoryBox.d.ts +1 -2
- package/dist/types/CollectionBox/CollectionBox.d.ts +1 -2
- package/dist/types/FullPageContainer/FullPageContainer.d.ts +1 -2
- package/dist/types/FullPageContainer/FullPageContainerScroll.d.ts +1 -2
- package/dist/types/GlobalHeader/MobileGlobalHeader.d.ts +1 -2
- package/dist/types/GroupBox/GroupBox.d.ts +1 -2
- package/dist/types/Icons/EM_logo.d.ts +1 -2
- package/dist/types/InfiniteLoader/Infiniteloader.d.ts +1 -1
- package/dist/types/InfiniteLoader/Loader.d.ts +1 -2
- package/dist/types/InfiniteLoader/VirtualizedInfiniteLoader.d.ts +1 -2
- package/dist/types/MobileActionToolbar/MobileActionToolbarItem.d.ts +1 -2
- package/dist/types/MobileBanner/MobileBanner.d.ts +1 -2
- package/dist/types/MobileBanner/utils/icons.d.ts +4 -5
- package/dist/types/MobileCard/ActionAddon.d.ts +1 -2
- package/dist/types/MobileCard/CardIcons.d.ts +1 -2
- package/dist/types/MobileCard/ExpandChevron.d.ts +1 -2
- package/dist/types/MobileCard/ExpandableRegion.d.ts +1 -1
- package/dist/types/MobileContextMenu/MobileContextMenuGroup.d.ts +1 -2
- package/dist/types/MobileDatePicker/Input.d.ts +1 -2
- package/dist/types/MobileDatePicker/MobileDatePicker.d.ts +1 -2
- package/dist/types/MobileFilterbar/Filterbar.d.ts +1 -2
- package/dist/types/MobileFilterbar/FilterbarItem.d.ts +1 -2
- package/dist/types/MobileFilterbar/FilterbarSort.d.ts +1 -2
- package/dist/types/MobileFooter/Action.d.ts +1 -2
- package/dist/types/MobileFooter/Footer.d.ts +1 -2
- package/dist/types/MobileFooter/Text.d.ts +1 -2
- package/dist/types/MobileSelectList/styled.d.ts +3 -3
- package/dist/types/MobileSeparator/Separator.d.ts +1 -2
- package/dist/types/MobileTimePicker/Input.d.ts +1 -2
- package/dist/types/MobileTimePicker/MobileTimePicker.d.ts +1 -2
- package/dist/types/Modal/Modal.d.ts +1 -2
- package/dist/types/PageFilter/PageFilter.d.ts +1 -2
- package/dist/types/PageForm/PageForm.d.ts +2 -3
- package/dist/types/PageSummary/PageSummary.d.ts +1 -2
- package/dist/types/SideNav/SideNav.d.ts +1 -2
- package/dist/types/SwipeToRefresh/ProgressIndicator.d.ts +1 -2
- package/dist/types/SwipeToRefresh/ProgressLoader.d.ts +1 -2
- package/dist/types/SwipeToRefresh/SwipeToRefresh.d.ts +1 -2
- package/dist/types/Tabs/index.d.ts +2 -2
- package/package.json +17 -17
|
@@ -35,7 +35,13 @@ var React = __toESM(require("react"));
|
|
|
35
35
|
var import_react = require("react");
|
|
36
36
|
var import_polished = require("polished");
|
|
37
37
|
function getCurrentFont() {
|
|
38
|
-
|
|
38
|
+
const root = document.querySelector(":root");
|
|
39
|
+
if (!root)
|
|
40
|
+
return 13;
|
|
41
|
+
const fontSize = window.getComputedStyle(root).getPropertyValue("font-size");
|
|
42
|
+
if (!fontSize)
|
|
43
|
+
return 13;
|
|
44
|
+
return Number(fontSize.match(/\d+/)[0]);
|
|
39
45
|
}
|
|
40
46
|
function useHeight(ref) {
|
|
41
47
|
const [height, setHeight] = (0, import_react.useState)("0rem");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/MobileCard/useHeight.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { useEffect, useState } from 'react';\nimport { rem } from 'polished';\n\nfunction getCurrentFont() {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAoC;AACpC,sBAAoB;AAEpB,SAAS,iBAAiB;AACxB,
|
|
4
|
+
"sourcesContent": ["import { useEffect, useState } from 'react';\nimport { rem } from 'polished';\n\nfunction getCurrentFont() {\n const root = document.querySelector(':root');\n if (!root) return 13;\n const fontSize = window.getComputedStyle(root).getPropertyValue('font-size');\n if (!fontSize) return 13;\n return Number(fontSize.match(/\\d+/)[0]);\n}\n\nexport function useHeight(ref) {\n const [height, setHeight] = useState('0rem');\n const [currentFont, setCurrentFont] = useState(13);\n useEffect(() => {\n setCurrentFont(getCurrentFont());\n }, []);\n\n useEffect(() => {\n if (ref.current && height !== rem(ref.current.clientHeight, currentFont)) {\n setHeight(rem(ref.current.clientHeight, currentFont));\n }\n }, [ref.current, currentFont]);\n\n return height;\n}\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAoC;AACpC,sBAAoB;AAEpB,SAAS,iBAAiB;AACxB,QAAM,OAAO,SAAS,cAAc,OAAO;AAC3C,MAAI,CAAC;AAAM,WAAO;AAClB,QAAM,WAAW,OAAO,iBAAiB,IAAI,EAAE,iBAAiB,WAAW;AAC3E,MAAI,CAAC;AAAU,WAAO;AACtB,SAAO,OAAO,SAAS,MAAM,KAAK,EAAE,CAAC,CAAC;AACxC;AAEO,SAAS,UAAU,KAAK;AAC7B,QAAM,CAAC,QAAQ,SAAS,QAAI,uBAAS,MAAM;AAC3C,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,EAAE;AACjD,8BAAU,MAAM;AACd,mBAAe,eAAe,CAAC;AAAA,EACjC,GAAG,CAAC,CAAC;AAEL,8BAAU,MAAM;AACd,QAAI,IAAI,WAAW,eAAW,qBAAI,IAAI,QAAQ,cAAc,WAAW,GAAG;AACxE,oBAAU,qBAAI,IAAI,QAAQ,cAAc,WAAW,CAAC;AAAA,IACtD;AAAA,EACF,GAAG,CAAC,IAAI,SAAS,WAAW,CAAC;AAE7B,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,7 +2,13 @@ import * as React from "react";
|
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
import { rem } from "polished";
|
|
4
4
|
function getCurrentFont() {
|
|
5
|
-
|
|
5
|
+
const root = document.querySelector(":root");
|
|
6
|
+
if (!root)
|
|
7
|
+
return 13;
|
|
8
|
+
const fontSize = window.getComputedStyle(root).getPropertyValue("font-size");
|
|
9
|
+
if (!fontSize)
|
|
10
|
+
return 13;
|
|
11
|
+
return Number(fontSize.match(/\d+/)[0]);
|
|
6
12
|
}
|
|
7
13
|
function useHeight(ref) {
|
|
8
14
|
const [height, setHeight] = useState("0rem");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/MobileCard/useHeight.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useEffect, useState } from 'react';\nimport { rem } from 'polished';\n\nfunction getCurrentFont() {\n
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAW,gBAAgB;AACpC,SAAS,WAAW;AAEpB,SAAS,iBAAiB;AACxB,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useEffect, useState } from 'react';\nimport { rem } from 'polished';\n\nfunction getCurrentFont() {\n const root = document.querySelector(':root');\n if (!root) return 13;\n const fontSize = window.getComputedStyle(root).getPropertyValue('font-size');\n if (!fontSize) return 13;\n return Number(fontSize.match(/\\d+/)[0]);\n}\n\nexport function useHeight(ref) {\n const [height, setHeight] = useState('0rem');\n const [currentFont, setCurrentFont] = useState(13);\n useEffect(() => {\n setCurrentFont(getCurrentFont());\n }, []);\n\n useEffect(() => {\n if (ref.current && height !== rem(ref.current.clientHeight, currentFont)) {\n setHeight(rem(ref.current.clientHeight, currentFont));\n }\n }, [ref.current, currentFont]);\n\n return height;\n}\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAW,gBAAgB;AACpC,SAAS,WAAW;AAEpB,SAAS,iBAAiB;AACxB,QAAM,OAAO,SAAS,cAAc,OAAO;AAC3C,MAAI,CAAC;AAAM,WAAO;AAClB,QAAM,WAAW,OAAO,iBAAiB,IAAI,EAAE,iBAAiB,WAAW;AAC3E,MAAI,CAAC;AAAU,WAAO;AACtB,SAAO,OAAO,SAAS,MAAM,KAAK,EAAE,CAAC,CAAC;AACxC;AAEO,SAAS,UAAU,KAAK;AAC7B,QAAM,CAAC,QAAQ,SAAS,IAAI,SAAS,MAAM;AAC3C,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,EAAE;AACjD,YAAU,MAAM;AACd,mBAAe,eAAe,CAAC;AAAA,EACjC,GAAG,CAAC,CAAC;AAEL,YAAU,MAAM;AACd,QAAI,IAAI,WAAW,WAAW,IAAI,IAAI,QAAQ,cAAc,WAAW,GAAG;AACxE,gBAAU,IAAI,IAAI,QAAQ,cAAc,WAAW,CAAC;AAAA,IACtD;AAAA,EACF,GAAG,CAAC,IAAI,SAAS,WAAW,CAAC;AAE7B,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { DSAccordionT } from '@elliemae/ds-accordion';
|
|
3
2
|
type DSMobileAccordionPropsT = Omit<DSAccordionT.Props, 'isDSMobile'>;
|
|
4
3
|
export declare const DSMobileAccordion: {
|
|
5
|
-
({ children, ...props }: DSMobileAccordionPropsT): JSX.Element;
|
|
4
|
+
({ children, ...props }: DSMobileAccordionPropsT): import("react/jsx-runtime.js").JSX.Element;
|
|
6
5
|
displayName: string;
|
|
7
6
|
};
|
|
8
7
|
export declare const DSMobileAccordionItem: {
|
|
9
|
-
({ children, ...props }: DSAccordionT.ItemProps): JSX.Element;
|
|
8
|
+
({ children, ...props }: DSAccordionT.ItemProps): import("react/jsx-runtime.js").JSX.Element;
|
|
10
9
|
displayName: string;
|
|
11
10
|
};
|
|
12
11
|
declare const DSMobileAccordionItemWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSAccordionT.ItemProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSCategoryBox: {
|
|
3
2
|
({ borderTop, actionsRight, title, headerLevel, children }: {
|
|
4
3
|
borderTop?: boolean | undefined;
|
|
@@ -6,7 +5,7 @@ declare const DSCategoryBox: {
|
|
|
6
5
|
title: any;
|
|
7
6
|
headerLevel?: number | undefined;
|
|
8
7
|
children: any;
|
|
9
|
-
}): JSX.Element;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
propTypes: {
|
|
11
10
|
/**
|
|
12
11
|
* Category Box title
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSCollectionBox: {
|
|
3
2
|
({ body, title, headerAction, footerAction, headerLevel }: {
|
|
4
3
|
body: any;
|
|
@@ -6,7 +5,7 @@ declare const DSCollectionBox: {
|
|
|
6
5
|
headerAction: any;
|
|
7
6
|
footerAction: any;
|
|
8
7
|
headerLevel?: number | undefined;
|
|
9
|
-
}): JSX.Element;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
propTypes: {
|
|
11
10
|
/**
|
|
12
11
|
* body inside collection box
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
declare const DSFullPageContainer: {
|
|
4
3
|
({ children, ...props }: {
|
|
5
4
|
[x: string]: any;
|
|
6
5
|
children: any;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
8
7
|
propTypes: {
|
|
9
8
|
children: PropTypes.Requireable<any>;
|
|
10
9
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
declare const DSFullPageContainerScroll: {
|
|
4
3
|
({ style, children, ...props }: {
|
|
5
4
|
[x: string]: any;
|
|
6
5
|
style?: {} | undefined;
|
|
7
6
|
children: any;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
propTypes: {
|
|
10
9
|
children: PropTypes.Requireable<any>;
|
|
11
10
|
style: PropTypes.Requireable<object>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSGlobalHeader: {
|
|
3
2
|
({ containerProps, title, lastIcon, onSearchChange, topMenuItems, bottomMenuItems, }: {
|
|
4
3
|
containerProps?: {} | undefined;
|
|
@@ -7,7 +6,7 @@ declare const DSGlobalHeader: {
|
|
|
7
6
|
onSearchChange?: ((...args: any[]) => void) | undefined;
|
|
8
7
|
topMenuItems: any;
|
|
9
8
|
bottomMenuItems: any;
|
|
10
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
11
10
|
propTypes: {
|
|
12
11
|
/** props to inject to wrapper */
|
|
13
12
|
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSGroupBox: {
|
|
3
2
|
({ children, title, background, headerLevel, actionsRight, borderTop }: {
|
|
4
3
|
children: any;
|
|
@@ -7,7 +6,7 @@ declare const DSGroupBox: {
|
|
|
7
6
|
headerLevel?: number | undefined;
|
|
8
7
|
actionsRight?: never[] | undefined;
|
|
9
8
|
borderTop: any;
|
|
10
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
propTypes: {
|
|
12
11
|
/**
|
|
13
12
|
* In-box children
|
|
@@ -6,6 +6,6 @@ interface Props {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
height?: number | string;
|
|
8
8
|
}
|
|
9
|
-
declare const InfiniteLoader: ({ isFetching, fetchData, children, height, hasMoreItems }: Props) => JSX.Element;
|
|
9
|
+
declare const InfiniteLoader: ({ isFetching, fetchData, children, height, hasMoreItems }: Props) => import("react/jsx-runtime.js").JSX.Element;
|
|
10
10
|
declare const InfiniteLoaderWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<Props>;
|
|
11
11
|
export { InfiniteLoader, InfiniteLoaderWithSchema };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
interface Props {
|
|
4
3
|
isOpen: boolean;
|
|
5
4
|
}
|
|
6
5
|
export declare const Loader: {
|
|
7
|
-
({ isOpen }: Props): JSX.Element;
|
|
6
|
+
({ isOpen }: Props): import("react/jsx-runtime.js").JSX.Element;
|
|
8
7
|
propTypes: {
|
|
9
8
|
isOpen: PropTypes.Requireable<boolean>;
|
|
10
9
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const VirtualizedInfiniteLoader: {
|
|
3
2
|
({ moreItemsLoading, hasNextPage, isItemLoaded, loadMoreItems, getItemSize, height, item: Row, }: {
|
|
4
3
|
moreItemsLoading?: boolean | undefined;
|
|
@@ -8,7 +7,7 @@ declare const VirtualizedInfiniteLoader: {
|
|
|
8
7
|
getItemSize?: (() => number) | undefined;
|
|
9
8
|
height: any;
|
|
10
9
|
item: any;
|
|
11
|
-
}): JSX.Element;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
propTypes: {
|
|
13
12
|
/** Function responsible for tracking the loaded state of each item. */
|
|
14
13
|
isItemLoaded: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { DSMobileBannerT } from './propTypes.js';
|
|
3
2
|
declare const DSMobileBanner: {
|
|
4
|
-
(props: DSMobileBannerT.Props): JSX.Element | null;
|
|
3
|
+
(props: DSMobileBannerT.Props): import("react/jsx-runtime.js").JSX.Element | null;
|
|
5
4
|
propTypes: {
|
|
6
5
|
type: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
7
6
|
isOpen: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const icons: {
|
|
3
|
-
success: JSX.Element;
|
|
4
|
-
info: JSX.Element;
|
|
5
|
-
error: JSX.Element;
|
|
6
|
-
warning: JSX.Element;
|
|
2
|
+
success: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
info: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
error: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
warning: import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
export declare const ActionAddon: {
|
|
4
3
|
({ label, onClick, icon }: {
|
|
5
4
|
label: any;
|
|
6
5
|
onClick: any;
|
|
7
6
|
icon: any;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
propTypes: {
|
|
10
9
|
/**
|
|
11
10
|
* Addon label
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
export declare const SubIcons: {
|
|
4
3
|
({ icons, colors }: {
|
|
5
4
|
icons?: never[] | undefined;
|
|
6
5
|
colors?: never[] | undefined;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
propTypes: {
|
|
9
8
|
/**
|
|
10
9
|
* Array of Icons
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
export declare const ExpandChevron: {
|
|
4
3
|
({ isExpanded, onClick, align }: {
|
|
5
4
|
isExpanded: any;
|
|
6
5
|
onClick: any;
|
|
7
6
|
align: any;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
propTypes: {
|
|
10
9
|
/**
|
|
11
10
|
* Whether if the chevron is expanded or not
|
|
@@ -4,7 +4,7 @@ export declare const ExpandableRegion: {
|
|
|
4
4
|
({ show, content }: {
|
|
5
5
|
show: boolean;
|
|
6
6
|
content: JSX.Element | JSX.Element[];
|
|
7
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
propTypes: {
|
|
9
9
|
show: PropTypes.Requireable<boolean>;
|
|
10
10
|
content: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileContextMenuGroup: {
|
|
3
2
|
({ title, isMulti, singleSelect, children, value: groupValue, selectedItems }: {
|
|
4
3
|
title: any;
|
|
@@ -7,7 +6,7 @@ declare const DSMobileContextMenuGroup: {
|
|
|
7
6
|
children: any;
|
|
8
7
|
value: any;
|
|
9
8
|
selectedItems: any;
|
|
10
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
propTypes: {
|
|
12
11
|
/**
|
|
13
12
|
* Group title
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileDatePicker: {
|
|
3
2
|
({ disabled, value, tabIndex, placeholder, onChange }: {
|
|
4
3
|
disabled: any;
|
|
@@ -6,7 +5,7 @@ declare const DSMobileDatePicker: {
|
|
|
6
5
|
tabIndex: any;
|
|
7
6
|
placeholder: any;
|
|
8
7
|
onChange: any;
|
|
9
|
-
}): JSX.Element;
|
|
8
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
10
9
|
defaultProps: {
|
|
11
10
|
disabled: boolean;
|
|
12
11
|
tabIndex: number;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileFilterbar: {
|
|
3
2
|
({ children }: {
|
|
4
3
|
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
4
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
6
5
|
propTypes: {
|
|
7
6
|
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
8
7
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileFilterbarItem: {
|
|
3
2
|
({ children, onClick }: {
|
|
4
3
|
children: any;
|
|
5
4
|
onClick: any;
|
|
6
|
-
}): JSX.Element;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
propTypes: {
|
|
8
7
|
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
9
8
|
onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileFilterbarSort: {
|
|
3
2
|
({ children }: {
|
|
4
3
|
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
4
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
6
5
|
propTypes: {
|
|
7
6
|
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
8
7
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileFooterAction: {
|
|
3
2
|
({ label, icon, onClick }: {
|
|
4
3
|
label: any;
|
|
5
4
|
icon: any;
|
|
6
5
|
onClick: any;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
propTypes: {
|
|
9
8
|
/** Action label */
|
|
10
9
|
label: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileFooterText: {
|
|
3
2
|
({ children }: {
|
|
4
3
|
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
propTypes: {
|
|
7
6
|
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
8
7
|
};
|
|
@@ -9,6 +9,6 @@ export declare const ListContainer: import("styled-components").StyledComponent<
|
|
|
9
9
|
} & {
|
|
10
10
|
theme?: import("styled-components").DefaultTheme | undefined;
|
|
11
11
|
}, never>;
|
|
12
|
-
export declare const checkbox: JSX.Element;
|
|
13
|
-
export declare const checked: JSX.Element;
|
|
14
|
-
export declare const selectedMark: JSX.Element;
|
|
12
|
+
export declare const checkbox: import("react/jsx-runtime.js").JSX.Element;
|
|
13
|
+
export declare const checked: import("react/jsx-runtime.js").JSX.Element;
|
|
14
|
+
export declare const selectedMark: import("react/jsx-runtime.js").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const MobileSeparator: {
|
|
3
2
|
({ color, direction, type, margin }: {
|
|
4
3
|
color?: string[] | undefined;
|
|
5
4
|
direction?: string | undefined;
|
|
6
5
|
type?: string | undefined;
|
|
7
6
|
margin?: string | undefined;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
propTypes: {
|
|
10
9
|
type: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
10
|
direction: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSMobileTimePicker: {
|
|
3
2
|
({ disabled, value, tabIndex, placeholder, onChange }: {
|
|
4
3
|
disabled: any;
|
|
@@ -6,7 +5,7 @@ declare const DSMobileTimePicker: {
|
|
|
6
5
|
tabIndex: any;
|
|
7
6
|
placeholder: any;
|
|
8
7
|
onChange: any;
|
|
9
|
-
}): JSX.Element;
|
|
8
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
10
9
|
defaultProps: {
|
|
11
10
|
disabled: boolean;
|
|
12
11
|
tabIndex: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const Modal: {
|
|
3
2
|
({ zIndex, title, description, onClose, showSecondaryAction, secondaryActionProps, primaryActionProps, isOpen, children, }: {
|
|
4
3
|
zIndex?: number | undefined;
|
|
@@ -16,7 +15,7 @@ declare const Modal: {
|
|
|
16
15
|
} | undefined;
|
|
17
16
|
isOpen?: boolean | undefined;
|
|
18
17
|
children?: undefined;
|
|
19
|
-
}): JSX.Element | null;
|
|
18
|
+
}): import("react/jsx-runtime.js").JSX.Element | null;
|
|
20
19
|
propTypes: {
|
|
21
20
|
isOpen: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
22
21
|
zIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
declare const DSPageFilter: {
|
|
4
3
|
({ children, breadCrumb, pageTitle, leftProp, rightProp, footerButton, }: {
|
|
@@ -8,7 +7,7 @@ declare const DSPageFilter: {
|
|
|
8
7
|
leftProp?: null | undefined;
|
|
9
8
|
rightProp?: null | undefined;
|
|
10
9
|
footerButton?: null | undefined;
|
|
11
|
-
}): JSX.Element;
|
|
10
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
12
11
|
propTypes: {
|
|
13
12
|
/**
|
|
14
13
|
* Text to render in header title
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
declare const DSPageForm: {
|
|
4
3
|
({ header, body, footer }: {
|
|
5
4
|
header?: null | undefined;
|
|
6
5
|
body?: null | undefined;
|
|
7
6
|
footer?: null | undefined;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
9
8
|
propTypes: {
|
|
10
9
|
header: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
11
10
|
body: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -17,7 +16,7 @@ declare const DSMobilePageForm: {
|
|
|
17
16
|
header?: null | undefined;
|
|
18
17
|
body?: null | undefined;
|
|
19
18
|
footer?: null | undefined;
|
|
20
|
-
}): JSX.Element;
|
|
19
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
21
20
|
propTypes: {
|
|
22
21
|
header: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
23
22
|
body: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
declare const DSPageSummary: {
|
|
4
3
|
({ header, headerZIndex, bodyPrimary, actions, actionsZIndex, bodySecondary, }: {
|
|
@@ -8,7 +7,7 @@ declare const DSPageSummary: {
|
|
|
8
7
|
actions?: null | undefined;
|
|
9
8
|
actionsZIndex?: number | undefined;
|
|
10
9
|
bodySecondary?: null | undefined;
|
|
11
|
-
}): JSX.Element;
|
|
10
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
12
11
|
propTypes: {
|
|
13
12
|
header: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
14
13
|
bodyPrimary: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const DSSideNav: {
|
|
3
2
|
({ containerProps, title, onClose, menuItems, bottomMenuItems }: {
|
|
4
3
|
containerProps?: {} | undefined;
|
|
@@ -6,7 +5,7 @@ declare const DSSideNav: {
|
|
|
6
5
|
onClose?: ((...args: any[]) => void) | undefined;
|
|
7
6
|
menuItems?: never[] | undefined;
|
|
8
7
|
bottomMenuItems?: never[] | undefined;
|
|
9
|
-
}): JSX.Element;
|
|
8
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
10
9
|
propTypes: {
|
|
11
10
|
/** inject props to wrapper element of side nav */
|
|
12
11
|
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
export declare const ProgressIndicator: {
|
|
4
3
|
({ progress }: {
|
|
5
4
|
progress?: number | undefined;
|
|
6
|
-
}): JSX.Element;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
propTypes: {
|
|
8
7
|
progress: PropTypes.Requireable<number>;
|
|
9
8
|
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ProgressLoader: () => JSX.Element;
|
|
1
|
+
export declare const ProgressLoader: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SwipeToRefresh: {
|
|
3
2
|
({ children, loading, onRefresh }: {
|
|
4
3
|
children: any;
|
|
5
4
|
loading: any;
|
|
6
5
|
onRefresh: any;
|
|
7
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
8
7
|
propTypes: {
|
|
9
8
|
/** component inside swipe to refresh container */
|
|
10
9
|
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -3,12 +3,12 @@ import type { DSTabsT, DSTabT } from '@elliemae/ds-tabs';
|
|
|
3
3
|
type DSMobileTabsPropsT = Omit<DSTabsT.InternalProps, 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'>;
|
|
4
4
|
type DSMobileTabPropsT = Omit<DSTabT.Props, 'isDSMobile'>;
|
|
5
5
|
export declare const DSMobileTabs: {
|
|
6
|
-
({ children, ...props }: DSMobileTabsPropsT): JSX.Element;
|
|
6
|
+
({ children, ...props }: DSMobileTabsPropsT): import("react/jsx-runtime.js").JSX.Element;
|
|
7
7
|
propTypes: WeakValidationMap<unknown>;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const DSMobileTab: {
|
|
11
|
-
({ children, ...props }: DSMobileTabPropsT): JSX.Element;
|
|
11
|
+
({ children, ...props }: DSMobileTabPropsT): import("react/jsx-runtime.js").JSX.Element;
|
|
12
12
|
propTypes: WeakValidationMap<unknown>;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-mobile",
|
|
3
|
-
"version": "3.17.0-next.
|
|
3
|
+
"version": "3.17.0-next.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - System",
|
|
6
6
|
"files": [
|
|
@@ -439,22 +439,22 @@
|
|
|
439
439
|
"prop-types": "~15.8.1",
|
|
440
440
|
"react-window": "~1.8.8",
|
|
441
441
|
"react-window-infinite-loader": "~1.0.8",
|
|
442
|
-
"@elliemae/ds-accordion": "3.17.0-next.
|
|
443
|
-
"@elliemae/ds-
|
|
444
|
-
"@elliemae/ds-
|
|
445
|
-
"@elliemae/ds-
|
|
446
|
-
"@elliemae/ds-form": "3.17.0-next.
|
|
447
|
-
"@elliemae/ds-form-checkbox": "3.17.0-next.
|
|
448
|
-
"@elliemae/ds-grid": "3.17.0-next.
|
|
449
|
-
"@elliemae/ds-icon": "3.17.0-next.
|
|
450
|
-
"@elliemae/ds-
|
|
451
|
-
"@elliemae/ds-
|
|
452
|
-
"@elliemae/ds-
|
|
453
|
-
"@elliemae/ds-shared": "3.17.0-next.
|
|
454
|
-
"@elliemae/ds-
|
|
455
|
-
"@elliemae/ds-
|
|
456
|
-
"@elliemae/ds-truncated-expandable-text": "3.17.0-next.
|
|
457
|
-
"@elliemae/ds-utilities": "3.17.0-next.
|
|
442
|
+
"@elliemae/ds-accordion": "3.17.0-next.14",
|
|
443
|
+
"@elliemae/ds-backdrop": "3.17.0-next.14",
|
|
444
|
+
"@elliemae/ds-circular-progress-indicator": "3.17.0-next.14",
|
|
445
|
+
"@elliemae/ds-button": "3.17.0-next.14",
|
|
446
|
+
"@elliemae/ds-form": "3.17.0-next.14",
|
|
447
|
+
"@elliemae/ds-form-checkbox": "3.17.0-next.14",
|
|
448
|
+
"@elliemae/ds-grid": "3.17.0-next.14",
|
|
449
|
+
"@elliemae/ds-icon": "3.17.0-next.14",
|
|
450
|
+
"@elliemae/ds-props-helpers": "3.17.0-next.14",
|
|
451
|
+
"@elliemae/ds-icons": "3.17.0-next.14",
|
|
452
|
+
"@elliemae/ds-indeterminate-progress-indicator": "3.17.0-next.14",
|
|
453
|
+
"@elliemae/ds-shared": "3.17.0-next.14",
|
|
454
|
+
"@elliemae/ds-system": "3.17.0-next.14",
|
|
455
|
+
"@elliemae/ds-tabs": "3.17.0-next.14",
|
|
456
|
+
"@elliemae/ds-truncated-expandable-text": "3.17.0-next.14",
|
|
457
|
+
"@elliemae/ds-utilities": "3.17.0-next.14"
|
|
458
458
|
},
|
|
459
459
|
"devDependencies": {
|
|
460
460
|
"@elliemae/pui-theme": "~2.7.0",
|