@elliemae/ds-pagination 2.0.0-rc.6 → 2.0.0
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/package.json +12 -8
- package/types/props.d.ts +55 -17
- package/types/styled.d.ts +2 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pagination",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pagination",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -72,21 +72,25 @@
|
|
|
72
72
|
"build": "node ../../scripts/build/build.js"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@elliemae/ds-
|
|
76
|
-
"@elliemae/ds-
|
|
77
|
-
"@elliemae/ds-
|
|
78
|
-
"@elliemae/ds-
|
|
79
|
-
"@elliemae/ds-
|
|
75
|
+
"@elliemae/ds-button": "2.0.0",
|
|
76
|
+
"@elliemae/ds-dropdownmenu": "2.0.0",
|
|
77
|
+
"@elliemae/ds-grid": "2.0.0",
|
|
78
|
+
"@elliemae/ds-icons": "2.0.0",
|
|
79
|
+
"@elliemae/ds-props-helpers": "2.0.0",
|
|
80
|
+
"@elliemae/ds-utilities": "2.0.0",
|
|
81
|
+
"memoize-one": "~5.1.1",
|
|
80
82
|
"react-desc": "~4.1.3"
|
|
81
83
|
},
|
|
82
84
|
"devDependencies": {
|
|
83
|
-
"styled-components": "~5.3.3"
|
|
85
|
+
"styled-components": "~5.3.3",
|
|
86
|
+
"styled-system": "~5.1.5"
|
|
84
87
|
},
|
|
85
88
|
"peerDependencies": {
|
|
86
89
|
"lodash": "^4.17.21",
|
|
87
90
|
"react": "^17.0.2",
|
|
88
91
|
"react-dom": "^17.0.2",
|
|
89
|
-
"styled-components": "^5.3.3"
|
|
92
|
+
"styled-components": "^5.3.3",
|
|
93
|
+
"styled-system": "^5.1.5"
|
|
90
94
|
},
|
|
91
95
|
"publishConfig": {
|
|
92
96
|
"access": "public",
|
package/types/props.d.ts
CHANGED
|
@@ -1,21 +1,59 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const propTypes: {
|
|
2
|
-
pageCount:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
3
|
+
pageCount: {
|
|
4
|
+
defaultValue<T = unknown>(arg: T): {
|
|
5
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
|
+
};
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
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
|
+
};
|
|
19
57
|
};
|
|
20
58
|
export declare const defaultProps: {
|
|
21
59
|
pageIndex: number;
|
package/types/styled.d.ts
CHANGED
|
@@ -5,45 +5,9 @@ export declare const PaginationSeparator: import("styled-components").StyledComp
|
|
|
5
5
|
export declare const PaginationBoldText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, any, never>;
|
|
6
6
|
export declare const PaginationDropdownButton: import("styled-components").StyledComponent<{
|
|
7
7
|
(props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
|
|
8
|
-
propTypes:
|
|
9
|
-
id: any;
|
|
10
|
-
buttonType: any;
|
|
11
|
-
size: any;
|
|
12
|
-
disabled: any;
|
|
13
|
-
onClick: any;
|
|
14
|
-
onKeyDown: any;
|
|
15
|
-
onBlur: any;
|
|
16
|
-
onFocus: any;
|
|
17
|
-
className: any;
|
|
18
|
-
tabIndex: any;
|
|
19
|
-
innerRef: any;
|
|
20
|
-
'aria-label': any;
|
|
21
|
-
'aria-pressed': any;
|
|
22
|
-
'data-testid': any;
|
|
23
|
-
role: any;
|
|
24
|
-
children: any;
|
|
25
|
-
'data-testemulatestate': any;
|
|
26
|
-
};
|
|
8
|
+
propTypes: import("react").WeakValidationMap<unknown>;
|
|
27
9
|
}, import("styled-components").DefaultTheme, {}, never>;
|
|
28
10
|
export declare const PreviousNextPageButton: import("styled-components").StyledComponent<{
|
|
29
11
|
(props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
|
|
30
|
-
propTypes:
|
|
31
|
-
id: any;
|
|
32
|
-
buttonType: any;
|
|
33
|
-
size: any;
|
|
34
|
-
disabled: any;
|
|
35
|
-
onClick: any;
|
|
36
|
-
onKeyDown: any;
|
|
37
|
-
onBlur: any;
|
|
38
|
-
onFocus: any;
|
|
39
|
-
className: any;
|
|
40
|
-
tabIndex: any;
|
|
41
|
-
innerRef: any;
|
|
42
|
-
'aria-label': any;
|
|
43
|
-
'aria-pressed': any;
|
|
44
|
-
'data-testid': any;
|
|
45
|
-
role: any;
|
|
46
|
-
children: any;
|
|
47
|
-
'data-testemulatestate': any;
|
|
48
|
-
};
|
|
12
|
+
propTypes: import("react").WeakValidationMap<unknown>;
|
|
49
13
|
}, import("styled-components").DefaultTheme, {}, never>;
|