@fattureincloud/fic-design-system 0.19.4 → 0.19.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/dropdown/DropdownImpl.d.ts +1 -1
- package/dist/components/dropdown/types.d.ts +1 -0
- package/dist/components/editableInput/EditableInput.d.ts +7 -6
- package/dist/components/editableInput/components/CustomInput.d.ts +7 -6
- package/dist/components/editableInput/components/TextAreaPopup.d.ts +9 -7
- package/dist/components/tableV3/components/cell/styled.d.ts +1 -1
- package/dist/components/tableV3/components/settings/Settings.d.ts +1 -2
- 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/package.json +11 -10
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { DropdownProps } from './types';
|
3
|
-
declare const DropdownImpl: ({ className, content, disableArrowNavigation, emptyState, fullWidth, isDisabled, maxHeight, maxWidth, minWidthAsTrigger, offsetY, onClose, onOpen, open, outsideTriggers, placement, renderContent, renderTrigger, setOpen, sideButton, title, triggerStyles, usePortal, withPadding, }: DropdownProps) => JSX.Element;
|
3
|
+
declare const DropdownImpl: ({ className, content, disableArrowNavigation, emptyState, fullWidth, isDisabled, maxHeight, maxWidth, minWidthAsTrigger, offsetY, onClose, onOpen, open, outsideTriggers, placement, portalContainer, renderContent, renderTrigger, setOpen, sideButton, title, triggerStyles, usePortal, withPadding, }: DropdownProps) => JSX.Element;
|
4
4
|
export default DropdownImpl;
|
@@ -1,13 +1,14 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export interface EditableInputProps {
|
3
|
-
hover: boolean;
|
4
3
|
content: string | number | null;
|
5
|
-
|
4
|
+
hover: boolean;
|
5
|
+
maxContentLength?: number;
|
6
|
+
offsetY?: number;
|
6
7
|
onChange: (text: string, rowID: number) => void;
|
7
|
-
rowId: number;
|
8
|
-
onOpen?: () => void;
|
9
8
|
onClose?: () => void;
|
10
|
-
|
9
|
+
onOpen?: () => void;
|
10
|
+
rowId: number;
|
11
|
+
unitSymbol?: string | undefined;
|
11
12
|
}
|
12
|
-
declare const EditableInput: ({ content, hover, maxContentLength, onChange, onClose, onOpen, rowId, unitSymbol, }: EditableInputProps) => JSX.Element;
|
13
|
+
declare const EditableInput: ({ content, hover, maxContentLength, offsetY, onChange, onClose, onOpen, rowId, unitSymbol, }: EditableInputProps) => JSX.Element;
|
13
14
|
export default EditableInput;
|
@@ -1,13 +1,14 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
interface Props {
|
3
|
-
hover: boolean;
|
4
3
|
content: string | number | null;
|
5
|
-
|
4
|
+
hover: boolean;
|
5
|
+
maxContentLength?: number;
|
6
|
+
offsetY?: number;
|
6
7
|
onChange: (text: string, rowID: number) => void;
|
7
|
-
rowId: number;
|
8
|
-
onOpen?: () => void;
|
9
8
|
onClose?: () => void;
|
10
|
-
|
9
|
+
onOpen?: () => void;
|
10
|
+
rowId: number;
|
11
|
+
unitSymbol?: string | undefined;
|
11
12
|
}
|
12
|
-
declare const CustomInput: ({ hover,
|
13
|
+
declare const CustomInput: ({ content, hover, maxContentLength, offsetY, onChange, onClose, onOpen, rowId, unitSymbol, }: Props) => JSX.Element;
|
13
14
|
export default CustomInput;
|
@@ -1,13 +1,15 @@
|
|
1
|
-
|
1
|
+
import { MutableRefObject } from 'react';
|
2
2
|
interface Props {
|
3
3
|
content: string | number | null;
|
4
|
-
unitSymbol?: string | undefined;
|
5
|
-
onChange: (text: string, rowID: number) => void;
|
6
|
-
onBlur: () => void;
|
7
|
-
rowId: number;
|
8
|
-
onClose?: () => void;
|
9
4
|
focus: boolean;
|
5
|
+
inputWrapperRef: MutableRefObject<null>;
|
10
6
|
maxContentLength?: number;
|
7
|
+
offsetY?: number;
|
8
|
+
onBlur: () => void;
|
9
|
+
onChange: (text: string, rowID: number) => void;
|
10
|
+
onClose?: () => void;
|
11
|
+
rowId: number;
|
12
|
+
unitSymbol?: string | undefined;
|
11
13
|
}
|
12
|
-
declare const TextAreaPopup: ({
|
14
|
+
declare const TextAreaPopup: ({ content, focus, inputWrapperRef, maxContentLength, offsetY, onBlur, onChange, onClose, rowId, }: Props) => JSX.Element;
|
13
15
|
export default TextAreaPopup;
|
@@ -2,7 +2,6 @@
|
|
2
2
|
import { Table } from '@tanstack/react-table';
|
3
3
|
declare type Props<T> = {
|
4
4
|
table: Table<T>;
|
5
|
-
visible: boolean;
|
6
5
|
};
|
7
|
-
declare const Settings: <T>({ table
|
6
|
+
declare const Settings: <T>({ table }: Props<T>) => JSX.Element | null;
|
8
7
|
export default Settings;
|