@fattureincloud/fic-design-system 0.4.14 → 0.4.17

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.
@@ -10,6 +10,7 @@ export interface FileUploaderProps {
10
10
  size?: FileUploaderSize;
11
11
  status?: FileUploaderStatus;
12
12
  customPalette?: CustomPalette;
13
+ fixedHeight?: boolean;
13
14
  }
14
- declare const FileUploader: ({ allowedTypes, customPalette, className, maxFileSize, multiple, onDrop, size, status, }: FileUploaderProps) => JSX.Element;
15
+ declare const FileUploader: ({ allowedTypes, customPalette, className, maxFileSize, multiple, onDrop, size, status, fixedHeight, }: FileUploaderProps) => JSX.Element;
15
16
  export default FileUploader;
@@ -4,6 +4,7 @@ interface ContainerProps {
4
4
  status: statuses;
5
5
  size: FileUploaderSize;
6
6
  backgroundColor: paletteColor;
7
+ fixedHeight: boolean;
7
8
  }
8
9
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ContainerProps, never>;
9
10
  export declare const OnDraggingOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ContainerProps, never>;
@@ -2,12 +2,15 @@
2
2
  interface Props {
3
3
  title: string;
4
4
  type: 'success' | 'error' | 'warning' | 'info';
5
- description: string;
6
- question: string;
5
+ description: string | JSX.Element;
6
+ question?: string;
7
7
  actionText: string;
8
+ cancelText?: string;
8
9
  onAction: () => void;
10
+ onCancel?: () => void;
9
11
  isOpen: boolean;
10
12
  setIsOpen: (state: boolean) => void;
13
+ isSmall?: boolean;
11
14
  }
12
15
  export declare const ConfirmationModal: (props: Props) => JSX.Element;
13
16
  export {};
@@ -1,10 +1,11 @@
1
- import { HeaderGroup } from 'react-table';
1
+ import { HeaderGroup, SortingRule } from 'react-table';
2
2
  import { TableData } from '../../types';
3
3
  interface Props<T extends TableData> {
4
4
  scrollBar: number;
5
5
  headerGroups: HeaderGroup<T>[];
6
6
  headerHeight?: number | string;
7
7
  selectedRowsIds?: string[];
8
+ sortBy: SortingRule<T>[];
8
9
  }
9
10
  declare const TableHeader: <T extends TableData>({ headerHeight, headerGroups, scrollBar }: Props<T>) => JSX.Element;
10
11
  export default TableHeader;