uikit-react-public 0.37.0 → 0.37.2
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/dist/components/Pagination/Pagination.stories.d.ts +1 -0
- package/dist/components/Pagination/PaginationControls.d.ts +2 -1
- package/dist/components/Pagination/__tests__/PaginationControls.test.d.ts +1 -0
- package/dist/components/Pagination/subcomponents/PaginationCompactControls.d.ts +7 -0
- package/dist/components/Pagination/subcomponents/PaginationStandardControls.d.ts +8 -0
- package/dist/components/Pagination/subcomponents/index.d.ts +2 -0
- package/dist/index.js +4626 -4445
- package/lib/components/Pagination/Pagination.stories.tsx +9 -0
- package/lib/components/Pagination/PaginationControls.tsx +17 -245
- package/lib/components/Pagination/__tests__/PaginationControls.test.tsx +213 -0
- package/lib/components/Pagination/subcomponents/PaginationCompactControls.tsx +266 -0
- package/lib/components/Pagination/subcomponents/PaginationStandardControls.tsx +246 -0
- package/lib/components/Pagination/subcomponents/index.ts +2 -0
- package/package.json +5 -5
|
@@ -2,8 +2,9 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
export declare const NAME = "ucl-ukit-pagination__controls";
|
|
3
3
|
export declare const DEFAULT_MAX_BUTTONS = 9;
|
|
4
4
|
export interface PaginationControlsProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
variant?: 'default' | 'compact';
|
|
5
6
|
maxNumberButtons?: number;
|
|
6
7
|
testId?: string;
|
|
7
8
|
}
|
|
8
|
-
declare const _default: import('react').MemoExoticComponent<({ maxNumberButtons, testId, className, }: PaginationControlsProps) => import("react").JSX.Element
|
|
9
|
+
declare const _default: import('react').MemoExoticComponent<({ variant, maxNumberButtons, testId, className, ...props }: PaginationControlsProps) => import("react").JSX.Element>;
|
|
9
10
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface PaginationCompactControlsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
name: string;
|
|
4
|
+
testId: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('react').MemoExoticComponent<({ name, testId, className, ...props }: PaginationCompactControlsProps) => import("react").JSX.Element | null>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface PaginationStandardControlsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
maxNumberButtons: number;
|
|
4
|
+
name: string;
|
|
5
|
+
testId: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('react').MemoExoticComponent<({ maxNumberButtons, name, testId, className, ...props }: PaginationStandardControlsProps) => import("react").JSX.Element | null>;
|
|
8
|
+
export default _default;
|