@nimbus-ds/components 5.23.0-rc.1 → 5.24.0-rc.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.
- package/CHANGELOG.md +14 -0
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.d.ts +60 -0
- package/dist/Alert/index.js +1 -1
- package/dist/Box/index.d.ts +6 -3
- package/dist/Button/index.d.ts +1 -1
- package/dist/CHANGELOG.md +14 -0
- package/dist/Chip/index.d.ts +59 -0
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.d.ts +98 -0
- package/dist/FileUploader/index.js +1 -1
- package/dist/Icon/index.d.ts +120 -0
- package/dist/Icon/index.js +1 -1
- package/dist/IconButton/index.d.ts +7 -0
- package/dist/IconButton/index.js +1 -1
- package/dist/Input/index.d.ts +76 -0
- package/dist/Input/index.js +1 -1
- package/dist/Link/index.d.ts +115 -0
- package/dist/Modal/index.d.ts +232 -0
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.d.ts +107 -0
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.d.ts +41 -0
- package/dist/Pagination/index.js +1 -1
- package/dist/Popover/index.d.ts +165 -0
- package/dist/Radio/index.d.ts +62 -0
- package/dist/ScrollPane/index.d.ts +889 -0
- package/dist/SegmentedControl/index.d.ts +6 -3
- package/dist/Select/index.d.ts +81 -0
- package/dist/Select/index.js +1 -1
- package/dist/Skeleton/index.d.ts +31 -0
- package/dist/Spinner/index.d.ts +53 -0
- package/dist/Stepper/index.d.ts +869 -0
- package/dist/Stepper/index.js +1 -1
- package/dist/Thumbnail/index.d.ts +73 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Toast/index.d.ts +56 -0
- package/dist/Toast/index.js +1 -1
- package/dist/Tooltip/index.d.ts +46 -0
- package/dist/index.d.ts +14 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v7.2.0
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { HTMLAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export interface PaginationItemData {
|
|
7
|
+
pageNumber: number | string;
|
|
8
|
+
isCurrent: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface PaginationProperties {
|
|
11
|
+
/**
|
|
12
|
+
* The currently selected page.
|
|
13
|
+
*/
|
|
14
|
+
activePage: number;
|
|
15
|
+
/**
|
|
16
|
+
* The total number of pages.
|
|
17
|
+
*/
|
|
18
|
+
pageCount: number;
|
|
19
|
+
/**
|
|
20
|
+
* Called with event and page number when a page is clicked.
|
|
21
|
+
* @TJS-type (page: number) => void;
|
|
22
|
+
*/
|
|
23
|
+
onPageChange: (page: number) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Determines whether page numbers should be shown.
|
|
26
|
+
* @default true
|
|
27
|
+
*/
|
|
28
|
+
showNumbers?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Custom render function for pagination items.
|
|
31
|
+
*/
|
|
32
|
+
renderItem?: (item: PaginationItemData) => React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export type PaginationProps = PaginationProperties & HTMLAttributes<HTMLElement>;
|
|
35
|
+
export declare const Pagination: React.FC<PaginationProps>;
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
Pagination as default,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export {};
|