@elliemae/ds-pagination 2.3.0-alpha.4 → 2.3.0-alpha.6
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 → dist/cjs}/Pagination.js +0 -0
- package/{cjs → dist/cjs}/Pagination.js.map +0 -0
- package/{cjs → dist/cjs}/PaginationDataTestID.js +0 -0
- package/{cjs → dist/cjs}/PaginationDataTestID.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/usePaginationSearch.js +0 -0
- package/{cjs → dist/cjs}/hooks/usePaginationSearch.js.map +0 -0
- package/{cjs → dist/cjs}/index.d.js +0 -0
- package/{cjs → dist/cjs}/index.d.js.map +0 -0
- package/{cjs → dist/cjs}/index.js +0 -0
- package/{cjs → dist/cjs}/index.js.map +0 -0
- package/{cjs → dist/cjs}/parts/PageNextButton.js +0 -0
- package/{cjs → dist/cjs}/parts/PageNextButton.js.map +0 -0
- package/{cjs → dist/cjs}/parts/PagePrevButton.js +0 -0
- package/{cjs → dist/cjs}/parts/PagePrevButton.js.map +0 -0
- package/{cjs → dist/cjs}/parts/PaginationContent.js +0 -0
- package/{cjs → dist/cjs}/parts/PaginationContent.js.map +0 -0
- package/{cjs → dist/cjs}/parts/Paginator.js +0 -0
- package/{cjs → dist/cjs}/parts/Paginator.js.map +0 -0
- package/{cjs → dist/cjs}/parts/PerPageSelector.js +0 -0
- package/{cjs → dist/cjs}/parts/PerPageSelector.js.map +0 -0
- package/{cjs → dist/cjs}/props.js +0 -0
- package/{cjs → dist/cjs}/props.js.map +0 -0
- package/{cjs → dist/cjs}/styled.js +0 -0
- package/{cjs → dist/cjs}/styled.js.map +0 -0
- package/{esm → dist/esm}/Pagination.js +0 -0
- package/{esm → dist/esm}/Pagination.js.map +0 -0
- package/{esm → dist/esm}/PaginationDataTestID.js +0 -0
- package/{esm → dist/esm}/PaginationDataTestID.js.map +0 -0
- package/{esm → dist/esm}/hooks/usePaginationSearch.js +0 -0
- package/{esm → dist/esm}/hooks/usePaginationSearch.js.map +0 -0
- package/{esm → dist/esm}/index.d.js +0 -0
- package/{esm → dist/esm}/index.d.js.map +0 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/{esm → dist/esm}/index.js.map +0 -0
- package/{esm → dist/esm}/parts/PageNextButton.js +0 -0
- package/{esm → dist/esm}/parts/PageNextButton.js.map +0 -0
- package/{esm → dist/esm}/parts/PagePrevButton.js +0 -0
- package/{esm → dist/esm}/parts/PagePrevButton.js.map +0 -0
- package/{esm → dist/esm}/parts/PaginationContent.js +0 -0
- package/{esm → dist/esm}/parts/PaginationContent.js.map +0 -0
- package/{esm → dist/esm}/parts/Paginator.js +0 -0
- package/{esm → dist/esm}/parts/Paginator.js.map +0 -0
- package/{esm → dist/esm}/parts/PerPageSelector.js +0 -0
- package/{esm → dist/esm}/parts/PerPageSelector.js.map +0 -0
- package/{esm → dist/esm}/props.js +0 -0
- package/{esm → dist/esm}/props.js.map +0 -0
- package/{esm → dist/esm}/styled.js +0 -0
- package/{esm → dist/esm}/styled.js.map +0 -0
- package/package.json +44 -42
- package/types/Pagination.d.ts +0 -5
- package/types/PaginationDataTestID.d.ts +0 -5
- package/types/hooks/usePaginationSearch.d.ts +0 -1
- package/types/index.d.ts +0 -1
- package/types/parts/PageNextButton.d.ts +0 -3
- package/types/parts/PagePrevButton.d.ts +0 -3
- package/types/parts/PaginationContent.d.ts +0 -3
- package/types/parts/Paginator.d.ts +0 -4
- package/types/parts/PerPageSelector.d.ts +0 -4
- package/types/props.d.ts +0 -75
- package/types/styled.d.ts +0 -14
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,55 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pagination",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pagination",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
14
|
+
"import": "./dist/esm/index.js",
|
|
15
|
+
"require": "./dist/cjs/index.js"
|
|
13
16
|
},
|
|
14
17
|
"./styled": {
|
|
15
|
-
"import": "./esm/styled.js",
|
|
16
|
-
"require": "./cjs/styled.js"
|
|
18
|
+
"import": "./dist/esm/styled.js",
|
|
19
|
+
"require": "./dist/cjs/styled.js"
|
|
17
20
|
},
|
|
18
21
|
"./props": {
|
|
19
|
-
"import": "./esm/props.js",
|
|
20
|
-
"require": "./cjs/props.js"
|
|
22
|
+
"import": "./dist/esm/props.js",
|
|
23
|
+
"require": "./dist/cjs/props.js"
|
|
21
24
|
},
|
|
22
25
|
"./parts/PerPageSelector": {
|
|
23
|
-
"import": "./esm/parts/PerPageSelector.js",
|
|
24
|
-
"require": "./cjs/parts/PerPageSelector.js"
|
|
26
|
+
"import": "./dist/esm/parts/PerPageSelector.js",
|
|
27
|
+
"require": "./dist/cjs/parts/PerPageSelector.js"
|
|
25
28
|
},
|
|
26
29
|
"./parts/Paginator": {
|
|
27
|
-
"import": "./esm/parts/Paginator.js",
|
|
28
|
-
"require": "./cjs/parts/Paginator.js"
|
|
30
|
+
"import": "./dist/esm/parts/Paginator.js",
|
|
31
|
+
"require": "./dist/cjs/parts/Paginator.js"
|
|
29
32
|
},
|
|
30
33
|
"./parts/PaginationContent": {
|
|
31
|
-
"import": "./esm/parts/PaginationContent.js",
|
|
32
|
-
"require": "./cjs/parts/PaginationContent.js"
|
|
34
|
+
"import": "./dist/esm/parts/PaginationContent.js",
|
|
35
|
+
"require": "./dist/cjs/parts/PaginationContent.js"
|
|
33
36
|
},
|
|
34
37
|
"./parts/PagePrevButton": {
|
|
35
|
-
"import": "./esm/parts/PagePrevButton.js",
|
|
36
|
-
"require": "./cjs/parts/PagePrevButton.js"
|
|
38
|
+
"import": "./dist/esm/parts/PagePrevButton.js",
|
|
39
|
+
"require": "./dist/cjs/parts/PagePrevButton.js"
|
|
37
40
|
},
|
|
38
41
|
"./parts/PageNextButton": {
|
|
39
|
-
"import": "./esm/parts/PageNextButton.js",
|
|
40
|
-
"require": "./cjs/parts/PageNextButton.js"
|
|
42
|
+
"import": "./dist/esm/parts/PageNextButton.js",
|
|
43
|
+
"require": "./dist/cjs/parts/PageNextButton.js"
|
|
41
44
|
},
|
|
42
45
|
"./PaginationDataTestID": {
|
|
43
|
-
"import": "./esm/PaginationDataTestID.js",
|
|
44
|
-
"require": "./cjs/PaginationDataTestID.js"
|
|
46
|
+
"import": "./dist/esm/PaginationDataTestID.js",
|
|
47
|
+
"require": "./dist/cjs/PaginationDataTestID.js"
|
|
45
48
|
},
|
|
46
49
|
"./Pagination": {
|
|
47
|
-
"import": "./esm/Pagination.js",
|
|
48
|
-
"require": "./cjs/Pagination.js"
|
|
50
|
+
"import": "./dist/esm/Pagination.js",
|
|
51
|
+
"require": "./dist/cjs/Pagination.js"
|
|
49
52
|
},
|
|
50
53
|
"./hooks/usePaginationSearch": {
|
|
51
|
-
"import": "./esm/hooks/usePaginationSearch.js",
|
|
52
|
-
"require": "./cjs/hooks/usePaginationSearch.js"
|
|
54
|
+
"import": "./dist/esm/hooks/usePaginationSearch.js",
|
|
55
|
+
"require": "./dist/cjs/hooks/usePaginationSearch.js"
|
|
53
56
|
}
|
|
54
57
|
},
|
|
55
58
|
"sideEffects": [
|
|
@@ -61,23 +64,17 @@
|
|
|
61
64
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
62
65
|
},
|
|
63
66
|
"engines": {
|
|
64
|
-
"
|
|
65
|
-
"node": ">=
|
|
67
|
+
"pnpm": ">=6",
|
|
68
|
+
"node": ">=16"
|
|
66
69
|
},
|
|
67
70
|
"author": "ICE MT",
|
|
68
|
-
"scripts": {
|
|
69
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
70
|
-
"prebuild": "exit 0",
|
|
71
|
-
"predev": "exit 0",
|
|
72
|
-
"build": "node ../../scripts/build/build.js"
|
|
73
|
-
},
|
|
74
71
|
"dependencies": {
|
|
75
|
-
"@elliemae/ds-button": "2.3.0-alpha.
|
|
76
|
-
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.
|
|
77
|
-
"@elliemae/ds-grid": "2.3.0-alpha.
|
|
78
|
-
"@elliemae/ds-icons": "2.3.0-alpha.
|
|
79
|
-
"@elliemae/ds-props-helpers": "2.3.0-alpha.
|
|
80
|
-
"@elliemae/ds-utilities": "2.3.0-alpha.
|
|
72
|
+
"@elliemae/ds-button": "2.3.0-alpha.6",
|
|
73
|
+
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.6",
|
|
74
|
+
"@elliemae/ds-grid": "2.3.0-alpha.6",
|
|
75
|
+
"@elliemae/ds-icons": "2.3.0-alpha.6",
|
|
76
|
+
"@elliemae/ds-props-helpers": "2.3.0-alpha.6",
|
|
77
|
+
"@elliemae/ds-utilities": "2.3.0-alpha.6",
|
|
81
78
|
"memoize-one": "~5.1.1",
|
|
82
79
|
"react-desc": "~4.1.3"
|
|
83
80
|
},
|
|
@@ -94,7 +91,12 @@
|
|
|
94
91
|
},
|
|
95
92
|
"publishConfig": {
|
|
96
93
|
"access": "public",
|
|
97
|
-
"
|
|
98
|
-
|
|
94
|
+
"typeSafety": false
|
|
95
|
+
},
|
|
96
|
+
"scripts": {
|
|
97
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
98
|
+
"prebuild": "exit 0",
|
|
99
|
+
"predev": "exit 0",
|
|
100
|
+
"build": "node ../../scripts/build/build.js"
|
|
99
101
|
}
|
|
100
102
|
}
|
package/types/Pagination.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const usePaginationSearch: (pageCount: number, actionRef: React.MutableRefObject<any>) => React.KeyboardEventHandler;
|
package/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Pagination';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DSPaginationProps } from '../index.d';
|
|
3
|
-
declare const PerPageSelector: React.ComponentType<Pick<DSPaginationProps, 'pageSize' | 'onPageSizeChange' | 'perPageOptions' | 'perPageStep' | 'minPerPage' | 'maxPerPage'>>;
|
|
4
|
-
export default PerPageSelector;
|
package/types/props.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
export declare const propTypes: {
|
|
3
|
-
pageCount: {
|
|
4
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
5
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
|
-
};
|
|
7
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
8
|
-
};
|
|
9
|
-
pageIndex: {
|
|
10
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
-
};
|
|
12
|
-
canPreviousPage: {
|
|
13
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
-
};
|
|
15
|
-
canNextPage: {
|
|
16
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
-
};
|
|
18
|
-
pageSize: {
|
|
19
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
20
|
-
};
|
|
21
|
-
showPerPageSelector: {
|
|
22
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
-
};
|
|
24
|
-
perPageOptions: {
|
|
25
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
-
};
|
|
27
|
-
perPageStep: {
|
|
28
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
-
};
|
|
30
|
-
minPerPage: {
|
|
31
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
-
};
|
|
33
|
-
maxPerPage: {
|
|
34
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
-
};
|
|
36
|
-
onPageSizeChange: {
|
|
37
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
-
};
|
|
39
|
-
onPreviousPage: {
|
|
40
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
-
};
|
|
42
|
-
onPageChange: {
|
|
43
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
-
};
|
|
45
|
-
onNextPage: {
|
|
46
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
-
};
|
|
48
|
-
pageDetails: {
|
|
49
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
-
};
|
|
51
|
-
pageDetailsTitle: {
|
|
52
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
-
};
|
|
54
|
-
width: {
|
|
55
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export declare const defaultProps: {
|
|
59
|
-
pageIndex: number;
|
|
60
|
-
canPreviousPage: boolean;
|
|
61
|
-
canNextPage: boolean;
|
|
62
|
-
pageSize: number;
|
|
63
|
-
showPerPageSelector: boolean;
|
|
64
|
-
perPageOptions: number[];
|
|
65
|
-
perPageStep: number;
|
|
66
|
-
minPerPage: number;
|
|
67
|
-
maxPerPage: number;
|
|
68
|
-
onPageSizeChange: () => void;
|
|
69
|
-
onPreviousPage: () => void;
|
|
70
|
-
onNextPage: () => void;
|
|
71
|
-
onPageChange: () => void;
|
|
72
|
-
pageDetails: never[];
|
|
73
|
-
pageDetailsTitle: string;
|
|
74
|
-
width: string;
|
|
75
|
-
};
|
package/types/styled.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TypographyProps } from '@xstyled/styled-components';
|
|
3
|
-
export declare const PaginationContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const PaginationWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const PaginationSeparator: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const PaginationBoldText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, TypographyProps<import("@xstyled/system").Theme>, never>;
|
|
7
|
-
export declare const PaginationDropdownButton: import("styled-components").StyledComponent<{
|
|
8
|
-
(props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
|
|
9
|
-
propTypes: import("react").WeakValidationMap<unknown>;
|
|
10
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
-
export declare const PreviousNextPageButton: import("styled-components").StyledComponent<{
|
|
12
|
-
(props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
|
|
13
|
-
propTypes: import("react").WeakValidationMap<unknown>;
|
|
14
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|