@fattureincloud/fic-design-system 0.10.2-tmp → 0.10.2-tmp-3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ interface BodyProps<T> extends Pick<TableProps<T>, 'rowSize' | 'bodyHeight' | 'r
8
8
  pageIndex: number;
9
9
  actionColumnWidth: number;
10
10
  fixedWidthCells: boolean;
11
- columnsBreakpointWidth: string;
11
+ columnsBreakpointWidth: number;
12
12
  }
13
13
  declare const Body: <T>({ rows, rowSize, isLoading, onRowClick, bodyHeight, rowIdHighlight, rowHighlightColor, pageIndex, actionColumnWidth, fixedWidthCells, columnsBreakpointWidth, }: BodyProps<T>) => JSX.Element;
14
14
  export default Body;
@@ -10,7 +10,7 @@ interface Props<T> {
10
10
  onRowClick?: (row: Row<T>) => void;
11
11
  actionColumnWidth: number;
12
12
  fixedWidthCells: boolean;
13
- columnsBreakpointWidth: string;
13
+ columnsBreakpointWidth: number;
14
14
  }
15
15
  declare const Cell: <T>({ cell, row, hover, rowSize, isLoading, onRowClick, actionColumnWidth, fixedWidthCells, columnsBreakpointWidth, }: Props<T>) => JSX.Element;
16
16
  export default Cell;
@@ -9,7 +9,7 @@ declare type Props<CellProps> = {
9
9
  actionColumnWidth: number;
10
10
  onRowClick?: (row: Row<CellProps>) => void;
11
11
  fixedWidthCells: boolean;
12
- columnsBreakpointWidth: string;
12
+ columnsBreakpointWidth: number;
13
13
  } & CustomCellProps & AccessorColumnDef<CellProps> & ActionColumnDef<CellProps> & AdditionalColumnDef<CellProps>;
14
14
  declare const CustomCell: <CellProps>({ content, isEditable, tag, unitSymbol, headline, leadingIcon, avatar, actionType, row, rowSize, onActionChange, isToggled, hover, onChange, trailingMicroTag, minWidth, rowActions, context, onRowClick, maxWidth, align, disableClick, actionColumnWidth, fixedWidthCells, columnsBreakpointWidth, }: Props<CellProps>) => JSX.Element;
15
15
  export default CustomCell;
@@ -4,6 +4,7 @@ interface LoadingCellProps {
4
4
  minWidth?: number;
5
5
  maxWidth?: number;
6
6
  align: 'center' | 'right' | 'left';
7
+ isRowActionCell?: boolean;
7
8
  }
8
- declare const LoadingCell: ({ isActionCell, minWidth, maxWidth, align }: LoadingCellProps) => JSX.Element;
9
+ declare const LoadingCell: ({ isActionCell, minWidth, maxWidth, align, isRowActionCell }: LoadingCellProps) => JSX.Element;
9
10
  export default LoadingCell;
@@ -4,7 +4,7 @@ export declare const Td: import("styled-components").StyledComponent<"div", impo
4
4
  maxWidth?: number | undefined;
5
5
  align?: "center" | "left" | "right" | undefined;
6
6
  fixedWidthCells: boolean;
7
- columnsBreakpointWidth: string;
7
+ columnsBreakpointWidth: number;
8
8
  }, never>;
9
9
  export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
10
  export declare const LeadingIconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -18,7 +18,7 @@ interface HeaderProps<T> {
18
18
  isLoading: boolean;
19
19
  actionColumnWidth: number;
20
20
  fixedWidthCells: boolean;
21
- columnsBreakpointWidth: string;
21
+ columnsBreakpointWidth: number;
22
22
  }
23
23
  declare const Header: <T>({ headerGroup, headerSize, onSort, forceHideSettings, rowSelection, setRowSelection, preSettedTableSettings, onChangeTableSettings, notRemovableColumns, isLoading, actionColumnWidth, fixedWidthCells, columnsBreakpointWidth, }: HeaderProps<T>) => JSX.Element;
24
24
  export default Header;
@@ -16,7 +16,7 @@ interface HeaderCellProps<T> {
16
16
  isLoading: boolean;
17
17
  actionColumnWidth: number;
18
18
  fixedWidthCells: boolean;
19
- columnsBreakpointWidth: string;
19
+ columnsBreakpointWidth: number;
20
20
  }
21
21
  declare const HeaderCell: <T>({ header, headerSize, onSort, customSorted, setCustomSorted, forceHideSettings, rowSelection, setRowSelection, notRemovableColumns, dimensionRow, onChangeTableSettings, isLoading, actionColumnWidth, fixedWidthCells, columnsBreakpointWidth, }: HeaderCellProps<T>) => JSX.Element;
22
22
  export default HeaderCell;
@@ -8,7 +8,7 @@ export declare const Th: import("styled-components").StyledComponent<"div", impo
8
8
  isActionColumn: boolean;
9
9
  isCheckboxColumn: boolean;
10
10
  fixedWidthCells: boolean;
11
- columnsBreakpointWidth: string;
11
+ columnsBreakpointWidth: number;
12
12
  }, never>;
13
13
  export declare const TextHeaderCellWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
14
14
  export declare const ActionCell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -10,7 +10,7 @@ interface TrProps<T> extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLTa
10
10
  rowHighlightColor?: TableProps<T>['rowHighlightColor'];
11
11
  actionColumnWidth: number;
12
12
  fixedWidthCells: boolean;
13
- columnsBreakpointWidth: string;
13
+ columnsBreakpointWidth: number;
14
14
  }
15
15
  declare const Tr: <T>({ row, isLoading, onRowClick, isRowHighlighted, rowHighlightColor, defaultRowSize, actionColumnWidth, fixedWidthCells, columnsBreakpointWidth, }: TrProps<T>) => JSX.Element;
16
16
  export default Tr;
@@ -4,4 +4,6 @@ export declare const ScrollableContent: import("styled-components").StyledCompon
4
4
  export declare const TableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
5
  export declare const SortIndicator: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
6
6
  export declare const PaginationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
- export declare const HeaderBodyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const HeaderBodyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ isLoading: boolean;
9
+ }, never>;
@@ -53,7 +53,7 @@ export interface TableProps<T> {
53
53
  onChangeTableSettings?: onChangeTableSettings;
54
54
  actionColumnWidth?: number;
55
55
  resetPageIndex?: boolean;
56
- columnsBreakpointWidth?: string;
56
+ columnsBreakpointWidth?: number;
57
57
  tableBreakpoint?: number;
58
58
  }
59
59
  export declare type onChangeTableSettings = (key: keyof PreSettedTableSettings, valueChange: Pick<PreSettedTableSettings, 'orderColumns' | 'dimensionRow' | 'notVisibleColumns'>) => void;