@fattureincloud/fic-design-system 0.7.11 → 0.7.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SingleValueProps } from 'react-select';
3
+ import { OptionType } from './Option';
4
+ declare const SingleValue: <O extends OptionType = OptionType>({ data: { icon, label }, }: SingleValueProps<O, import("react-select").GroupTypeBase<O>>) => JSX.Element;
5
+ export default SingleValue;
@@ -27,6 +27,7 @@ export interface ModalPropsInterface {
27
27
  overlayEl: Element;
28
28
  contentEl: HTMLDivElement;
29
29
  }) => void;
30
+ isConfirmModal?: boolean;
30
31
  }
31
32
  export interface StyledModalBoxProps {
32
33
  isFullscreen?: boolean;
@@ -63,13 +63,15 @@ export declare enum ColumnDefType {
63
63
  GROUP = "group",
64
64
  ACTION = "action"
65
65
  }
66
- interface ExtraColumnDef<T> extends IdentifiedColumnDef<T, CellProps> {
66
+ interface ExtraColumnDef<T> extends Omit<IdentifiedColumnDef<T, CellProps>, 'header'> {
67
67
  isEditable: boolean;
68
68
  onChange: (text: string, row: Row<T>) => void;
69
+ header?: IdentifiedColumnDef<T, CellProps>['header'] | JSX.Element;
69
70
  }
70
- interface InitalColumnDef<T> extends IdentifiedColumnDef<T, CellProps> {
71
+ interface InitalColumnDef<T> extends Omit<IdentifiedColumnDef<T, CellProps>, 'header'> {
71
72
  isEditable?: false;
72
73
  onChange?: never;
74
+ header?: IdentifiedColumnDef<T, CellProps>['header'] | JSX.Element;
73
75
  }
74
76
  export declare type AccessorColumnDef<T> = InitalColumnDef<T> | ExtraColumnDef<T>;
75
77
  export declare enum ActionType {