@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.
- package/dist/components/form/select/components/SingleValue.d.ts +5 -0
- package/dist/components/modals/types.d.ts +1 -0
- package/dist/components/newTable/types.d.ts +4 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -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;
|
@@ -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 {
|