@elliemae/ds-pagination 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 DSPaginationName = "DSPagination";
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { DSPaginationProps } from './index.d';
3
+ declare const DSPagination: React.ComponentType<DSPaginationProps>;
4
+ declare const DSPaginationWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<DSPaginationProps>;
5
+ export { DSPagination, DSPaginationWithSchema };
@@ -0,0 +1,5 @@
1
+ export declare const PAGINATION_DATA_TESTID: {
2
+ PREVIOUS_BUTTON: string;
3
+ NEXT_BUTTON: string;
4
+ CONTAINER: string;
5
+ };
@@ -0,0 +1 @@
1
+ export declare const usePaginationSearch: (pageCount: number, actionRef: React.MutableRefObject<any>) => React.KeyboardEventHandler;
@@ -0,0 +1 @@
1
+ export * from './Pagination';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { DSPaginationProps } from '../index.d';
3
+ export declare const PageNextButton: React.ComponentType<Required<Pick<DSPaginationProps, 'onNextPage' | 'canNextPage'>>>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { DSPaginationProps } from '../index.d';
3
+ export declare const PagePrevButton: React.ComponentType<Required<Pick<DSPaginationProps, 'onPreviousPage' | 'canPreviousPage'>>>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { DSPaginationProps } from '../index.d';
3
+ export declare const PaginationContent: React.ComponentType<Required<DSPaginationProps>>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface PaginatorPropsT {
3
+ pageIndex: number;
4
+ pageCount: number;
5
+ onPageChange: (page: number) => void;
6
+ pageDetails: string[];
7
+ pageDetailsTitle: string;
8
+ }
9
+ declare const Paginator: React.ComponentType<PaginatorPropsT>;
10
+ export default Paginator;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { DSPaginationProps } from '../index.d';
3
+ declare const PerPageSelector: React.ComponentType<Required<Pick<DSPaginationProps, 'pageSize' | 'onPageSizeChange' | 'perPageOptions' | 'perPageStep' | 'minPerPage' | 'maxPerPage'>>>;
4
+ export default PerPageSelector;
@@ -0,0 +1,20 @@
1
+ import type { WeakValidationMap } from 'react';
2
+ export declare const propTypes: WeakValidationMap<unknown>;
3
+ export declare const defaultProps: {
4
+ pageIndex: number;
5
+ canPreviousPage: boolean;
6
+ canNextPage: boolean;
7
+ pageSize: number;
8
+ showPerPageSelector: boolean;
9
+ perPageOptions: number[];
10
+ perPageStep: number;
11
+ minPerPage: number;
12
+ maxPerPage: number;
13
+ onPageSizeChange: () => null;
14
+ onPreviousPage: () => null;
15
+ onNextPage: () => null;
16
+ onPageChange: () => null;
17
+ pageDetails: never[];
18
+ pageDetailsTitle: string;
19
+ width: string;
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-pagination",
3
- "version": "3.13.1-rc.1",
3
+ "version": "3.13.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Pagination",
6
6
  "files": [
@@ -76,13 +76,13 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "memoize-one": "~6.0.0",
79
- "@elliemae/ds-button": "3.13.1-rc.1",
80
- "@elliemae/ds-dropdownmenu": "3.13.1-rc.1",
81
- "@elliemae/ds-grid": "3.13.1-rc.1",
82
- "@elliemae/ds-icons": "3.13.1-rc.1",
83
- "@elliemae/ds-system": "3.13.1-rc.1",
84
- "@elliemae/ds-truncated-tooltip-text": "3.13.1-rc.1",
85
- "@elliemae/ds-utilities": "3.13.1-rc.1"
79
+ "@elliemae/ds-button": "3.13.1",
80
+ "@elliemae/ds-dropdownmenu": "3.13.1",
81
+ "@elliemae/ds-grid": "3.13.1",
82
+ "@elliemae/ds-system": "3.13.1",
83
+ "@elliemae/ds-truncated-tooltip-text": "3.13.1",
84
+ "@elliemae/ds-utilities": "3.13.1",
85
+ "@elliemae/ds-icons": "3.13.1"
86
86
  },
87
87
  "devDependencies": {
88
88
  "styled-components": "~5.3.6",