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.
@@ -12,4 +12,5 @@ export default meta;
12
12
  type Story = StoryObj<typeof meta>;
13
13
  export declare const Default: Story;
14
14
  export declare const FewPages: Story;
15
+ export declare const Compact: Story;
15
16
  export declare const ItemsInfo: Story;
@@ -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 | null>;
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,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;
@@ -0,0 +1,2 @@
1
+ export { default as PaginationCompactControls } from './PaginationCompactControls';
2
+ export { default as PaginationStandardControls } from './PaginationStandardControls';