@fattureincloud/fic-design-system 0.7.3 → 0.7.5-tmp
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.
- package/dist/components/form/datepicker/types.d.ts +1 -0
- package/dist/components/form/inputText/components/styled.d.ts +2 -0
- package/dist/components/form/inputText/types.d.ts +2 -0
- package/dist/components/newTable/components/cell/customCell/CustomCell.d.ts +1 -1
- package/dist/components/newTable/components/cell/customCell/CustomInput.d.ts +1 -1
- package/dist/components/newTable/components/header/styled.d.ts +1 -0
- package/dist/components/newTable/stories/types.d.ts +1 -0
- package/dist/components/newTable/types.d.ts +7 -5
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/defaultPalette/colors/black.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/blue.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/cyan.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/fuchsia.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/green.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/grey.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/indigo.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/orange.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/pink.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/red.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/white.d.ts +1 -1
- package/dist/styles/defaultPalette/colors/yellow.d.ts +1 -1
- package/package.json +1 -1
@@ -22,5 +22,6 @@ export interface DatePickerImplProps extends Omit<ReactDatePickerProps, 'onChang
|
|
22
22
|
customButtons?: CustomButtonProps[];
|
23
23
|
renderCustomFooter?: RenderCustomFooterType;
|
24
24
|
isPrefilled?: boolean;
|
25
|
+
onChangeManually?: (date: Date | null) => void;
|
25
26
|
}
|
26
27
|
export declare type DatePickerProps = LabelProps & DatePickerImplProps;
|
@@ -10,6 +10,8 @@ export declare const CodeInputWrapper: import("styled-components").StyledCompone
|
|
10
10
|
gap: number | undefined;
|
11
11
|
}, never>;
|
12
12
|
export declare const SingleInputWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
13
|
+
export declare const SeparatorWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
14
|
+
export declare const Separator: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
13
15
|
export declare const TelSelectWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
14
16
|
export declare const TelInputWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
15
17
|
export {};
|
@@ -27,6 +27,8 @@ export declare type InputCodeProps = LabelProps & CommonFormTypes & Omit<HTMLInp
|
|
27
27
|
inputType?: 'code';
|
28
28
|
onChange?: (code: (string | null)[]) => void;
|
29
29
|
style?: CSSProperties;
|
30
|
+
separatorEvery?: number;
|
31
|
+
separator?: JSX.Element;
|
30
32
|
};
|
31
33
|
export declare type InputTelephoneProps = LabelProps & CommonFormTypes & {
|
32
34
|
className?: string;
|
@@ -7,6 +7,6 @@ declare type Props<CellProps> = {
|
|
7
7
|
hover?: boolean;
|
8
8
|
rowSize?: RowSize;
|
9
9
|
onRowClick?: (row: Row<CellProps>) => void;
|
10
|
-
} & CustomCellProps & AccessorColumnDef<CellProps> & ActionColumnDef<CellProps> & AdditionalColumnDef
|
10
|
+
} & CustomCellProps & AccessorColumnDef<CellProps> & ActionColumnDef<CellProps> & AdditionalColumnDef<CellProps>;
|
11
11
|
declare const CustomCell: <CellProps>({ content, isEditable, tag, unitSymbol, headline, leadingIcon, avatar, actionType, row, rowSize, onActionChange, isFavorite, isToggled, hover, onChange, trailingMicroTag, minWidth, rowActions, context, onRowClick, }: Props<CellProps>) => JSX.Element;
|
12
12
|
export default CustomCell;
|
@@ -4,6 +4,6 @@ import { AccessorColumnDef, AdditionalColumnDef, CustomCellProps } from '../../.
|
|
4
4
|
declare type CustomInputProps<CellProps> = {
|
5
5
|
row: Row<CellProps>;
|
6
6
|
hover?: boolean;
|
7
|
-
} & CustomCellProps & Omit<AccessorColumnDef<CellProps>, 'isEditable'> & AdditionalColumnDef
|
7
|
+
} & CustomCellProps & Omit<AccessorColumnDef<CellProps>, 'isEditable'> & AdditionalColumnDef<CellProps>;
|
8
8
|
declare const CustomInput: <CellProps>({ hover, onChange, row, unitSymbol, content, }: CustomInputProps<CellProps>) => JSX.Element;
|
9
9
|
export default CustomInput;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const THead: import("styled-components").StyledComponent<"thead", import("styled-components").DefaultTheme, {}, never>;
|
@@ -37,7 +37,7 @@ export interface TableProps<T> {
|
|
37
37
|
paginationNextText?: string;
|
38
38
|
onPaginationChange?: (pagination: PaginationState) => void;
|
39
39
|
renderEmptyState?: () => JSX.Element;
|
40
|
-
onRowClick?: (row: Row<
|
40
|
+
onRowClick?: (row: Row<T>) => void;
|
41
41
|
}
|
42
42
|
interface SettingsDropdownConfig {
|
43
43
|
settingsTooltip?: TooltipProps;
|
@@ -85,26 +85,28 @@ export declare type ActionColumnDef<T> = {
|
|
85
85
|
rowActions?: RowActions<T>;
|
86
86
|
settingsDropdownConfig?: SettingsDropdownConfig;
|
87
87
|
} & IdentifiedColumnDef<T, CellProps>;
|
88
|
-
export declare type AdditionalColumnDef = {
|
88
|
+
export declare type AdditionalColumnDef<T> = {
|
89
89
|
unitSymbol?: string;
|
90
90
|
minWidth?: number;
|
91
91
|
headerTooltip?: TooltipProps;
|
92
|
+
customCell?: (row: Row<T>) => JSX.Element;
|
92
93
|
};
|
93
94
|
export declare type ColumnsType<T> = ({
|
94
95
|
columnDefType: ColumnDefType.ACCESSOR;
|
95
|
-
columnDef: AccessorColumnDef<T> & AdditionalColumnDef
|
96
|
+
columnDef: AccessorColumnDef<T> & AdditionalColumnDef<T>;
|
96
97
|
} & BaseColumnsType<T>) | ({
|
97
98
|
columnDefType: ColumnDefType.DISPLAY;
|
98
|
-
columnDef: DisplayColumnDef<T, unknown> & AdditionalColumnDef
|
99
|
+
columnDef: DisplayColumnDef<T, unknown> & AdditionalColumnDef<T>;
|
99
100
|
} & BaseColumnsType<T>) | ({
|
100
101
|
columnDefType: ColumnDefType.ACTION;
|
101
|
-
columnDef: ActionColumnDef<T> & AdditionalColumnDef
|
102
|
+
columnDef: ActionColumnDef<T> & AdditionalColumnDef<T>;
|
102
103
|
} & BaseColumnsType<T>) | ({
|
103
104
|
columnDefType: ColumnDefType.GROUP;
|
104
105
|
columnDef: GroupColumnDef<T, unknown>;
|
105
106
|
} & BaseColumnsType<T>);
|
106
107
|
interface BaseColumnsType<T> {
|
107
108
|
key: keyof T | Lowercase<keyof typeof ActionType>;
|
109
|
+
customCell?: () => JSX.Element;
|
108
110
|
}
|
109
111
|
interface CustomCellWithAvatar extends BasicCustomCell {
|
110
112
|
avatar?: AvatarProps;
|