@elliemae/ds-virtual-list 3.13.1-rc.1 → 3.13.1

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.
@@ -0,0 +1 @@
1
+ export declare const DSVirtualListName = "DSVirtualList";
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { DSVirtualListProps } from './index.d';
3
+ declare const DSVirtualList: React.ComponentType<DSVirtualListProps>;
4
+ declare const DSVirtualListWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<DSVirtualListProps>;
5
+ export { DSVirtualList, DSVirtualListWithSchema };
@@ -0,0 +1,3 @@
1
+ export declare const LIST_DATA_TESTID: {
2
+ CONTAINER: string;
3
+ };
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { VirtualItem } from 'react-virtual';
3
+ import type { DSVirtualListProps } from '../index.d';
4
+ export declare const useVirtualList: (config: DSVirtualListProps) => {
5
+ parentRef: React.MutableRefObject<HTMLDivElement>;
6
+ virtualItems: VirtualItem[];
7
+ filteredChildren: React.ReactNode[];
8
+ totalSize: number;
9
+ };
@@ -0,0 +1 @@
1
+ export * from './VirtualList';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { DSVirtualListProps } from '../index.d';
3
+ /**
4
+ * List component: renders a list of items
5
+ * Accessibility: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/List_role
6
+ *
7
+ * @param {DSVirtualListProps} props
8
+ * @returns JSX
9
+ */
10
+ export declare const List: React.FC<DSVirtualListProps>;
@@ -0,0 +1,12 @@
1
+ export declare const DSVirtualListSchema: {
2
+ children: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
3
+ actionRef: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
4
+ };
5
+ export declare const defaultProps: {
6
+ children: never[];
7
+ actionRef: {
8
+ current: {
9
+ scrollTo: (...args: any[]) => void;
10
+ };
11
+ };
12
+ };
@@ -0,0 +1,5 @@
1
+ export declare const StyledContainerContentList: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
2
+ export declare const StyledVirtualList: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & {
3
+ height: string;
4
+ }, never>;
5
+ export declare const VirtualItemStyled: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-virtual-list",
3
- "version": "3.13.1-rc.1",
3
+ "version": "3.13.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Virtual List",
6
6
  "files": [
@@ -61,8 +61,8 @@
61
61
  "dependencies": {
62
62
  "react-virtual": "~2.10.4",
63
63
  "uid": "^2.0.0",
64
- "@elliemae/ds-system": "3.13.1-rc.1",
65
- "@elliemae/ds-utilities": "3.13.1-rc.1"
64
+ "@elliemae/ds-system": "3.13.1",
65
+ "@elliemae/ds-utilities": "3.13.1"
66
66
  },
67
67
  "devDependencies": {
68
68
  "styled-components": "~5.3.6"