gantri-components 2.34.0-beta.14 → 2.34.0-beta.16

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.
@@ -1,31 +1,4 @@
1
- import { JSXElementConstructor, PropsWithChildren } from 'react';
2
- import { PagingProps } from '../../../paging/paging.types';
3
- import { SortProps } from './components/sort/sort.types';
4
- export type FiltersProps = {
5
- FiltersContent: JSX.Element;
6
- count: number;
7
- numActive: number;
8
- onApply: () => void;
9
- onClose: () => void;
10
- onReset: () => void;
11
- };
12
- export interface SearchProps {
13
- onSearch: (value: string) => void;
14
- placeholder?: string;
15
- value: string;
16
- }
17
- export interface CustomActionProps {
18
- Component: JSXElementConstructor<Record<never, never>>;
19
- position?: 'left' | 'right';
20
- }
21
- interface TableActionsWrapperProps {
22
- className: string | undefined;
23
- customAction: CustomActionProps | undefined;
24
- filters: FiltersProps | undefined;
25
- paging: PagingProps | undefined;
26
- search: SearchProps | undefined;
27
- sorting: SortProps | undefined;
28
- }
1
+ import { PropsWithChildren } from 'react';
2
+ import { TableActionsWrapperProps } from './table-actions-wrapper.types';
29
3
  /** Wraps the table with relevant components for paging, filters, sort, and table actions. */
30
4
  export declare const TableActionsWrapper: (props: PropsWithChildren<TableActionsWrapperProps>) => JSX.Element;
31
- export {};
@@ -0,0 +1,28 @@
1
+ import { JSXElementConstructor } from 'react';
2
+ import { PagingProps } from '../../../paging/paging.types';
3
+ import { SortProps } from './components/sort/sort.types';
4
+ export type FiltersProps = {
5
+ FiltersContent: JSX.Element;
6
+ count: number;
7
+ numActive: number;
8
+ onApply: () => void;
9
+ onClose: () => void;
10
+ onReset: () => void;
11
+ };
12
+ export interface SearchProps {
13
+ onSearch: (value: string) => void;
14
+ placeholder?: string;
15
+ value: string;
16
+ }
17
+ export interface CustomActionProps {
18
+ Component: JSXElementConstructor<Record<never, never>>;
19
+ position?: 'left' | 'right';
20
+ }
21
+ export interface TableActionsWrapperProps {
22
+ className: string | undefined;
23
+ customAction: CustomActionProps | undefined;
24
+ filters: FiltersProps | undefined;
25
+ paging: PagingProps | undefined;
26
+ search: SearchProps | undefined;
27
+ sorting: SortProps | undefined;
28
+ }
@@ -0,0 +1,3 @@
1
+ export declare const StyledTH: import("styled-components").StyledComponent<"th", import("styled-components").DefaultTheme, {
2
+ size: number;
3
+ }, never>;