@monolith-forensics/monolith-ui 1.1.30 → 1.1.32
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/Button/Button.js +11 -16
- package/dist/Button/index.js +1 -8
- package/dist/Calendar/Calendar.js +38 -66
- package/dist/Calendar/CalendarStyles.js +19 -25
- package/dist/Calendar/calendarHelpers.js +34 -46
- package/dist/Calendar/index.js +1 -8
- package/dist/CheckBox/CheckBox.js +9 -14
- package/dist/CheckBox/index.js +1 -8
- package/dist/DateInput/DateInput.js +46 -51
- package/dist/DateInput/index.js +1 -8
- package/dist/DropDownMenu/DropDownMenu.js +27 -32
- package/dist/DropDownMenu/index.js +1 -8
- package/dist/Error/Error.js +10 -15
- package/dist/Error/index.js +1 -8
- package/dist/FieldLabel/FieldLabel.js +8 -37
- package/dist/FieldLabel/index.js +1 -8
- package/dist/FileInputField/FileInputField.js +11 -16
- package/dist/FileInputField/index.js +1 -8
- package/dist/Flyout/Flyout.js +14 -18
- package/dist/Flyout/FlyoutHeader.js +3 -8
- package/dist/Flyout/FlyoutTitle.js +3 -8
- package/dist/Flyout/index.js +3 -12
- package/dist/FormSection/FormSection.js +8 -13
- package/dist/FormSection/index.js +1 -8
- package/dist/Grid/Grid.js +5 -10
- package/dist/Grid/index.js +1 -8
- package/dist/IconButton/IconButton.js +4 -9
- package/dist/IconButton/index.js +1 -8
- package/dist/Input/Input.js +6 -11
- package/dist/Input/index.js +1 -8
- package/dist/Modal/Modal.js +16 -20
- package/dist/Modal/index.js +1 -8
- package/dist/MonolithUIProvider/GlobalStyle.js +3 -5
- package/dist/MonolithUIProvider/MonolithUIProvider.js +14 -19
- package/dist/MonolithUIProvider/index.js +3 -12
- package/dist/MonolithUIProvider/useMonolithUITheme.js +4 -6
- package/dist/Pill/Pill.js +9 -14
- package/dist/Pill/index.js +1 -8
- package/dist/SelectBox/SelectBox.js +44 -50
- package/dist/SelectBox/index.js +1 -8
- package/dist/Switch/Switch.js +12 -39
- package/dist/Switch/index.js +1 -8
- package/dist/Table/Table.js +70 -78
- package/dist/Table/index.js +2 -10
- package/dist/TagBox/TagBox.js +40 -45
- package/dist/TagBox/TagBoxStyles.js +11 -17
- package/dist/TagBox/index.js +1 -8
- package/dist/TextArea/TextArea.js +4 -9
- package/dist/TextArea/index.js +1 -8
- package/dist/TextAreaInput/TextAreaInput.js +5 -7
- package/dist/TextAreaInput/index.js +1 -8
- package/dist/TextInput/TextInput.js +7 -12
- package/dist/TextInput/index.js +1 -8
- package/dist/Tooltip/Tooltip.js +6 -34
- package/dist/Tooltip/index.js +1 -8
- package/dist/core/ArrowButton.js +8 -13
- package/dist/core/ClearButton.js +8 -13
- package/dist/core/StyledContent.js +3 -8
- package/dist/core/StyledFloatContainer.js +3 -8
- package/dist/core/Types/Size.js +1 -2
- package/dist/core/Types/Variant.js +1 -2
- package/dist/core/index.js +4 -14
- package/dist/index.js +26 -59
- package/dist/theme/index.js +5 -9
- package/dist/theme/typography.js +1 -3
- package/dist/theme/variants.js +8 -14
- package/package.json +1 -1
- package/dist/Button/Button.d.ts +0 -19
- package/dist/Button/index.d.ts +0 -2
- package/dist/Calendar/Calendar.d.ts +0 -15
- package/dist/Calendar/CalendarStyles.d.ts +0 -36
- package/dist/Calendar/calendarHelpers.d.ts +0 -53
- package/dist/Calendar/index.d.ts +0 -1
- package/dist/CheckBox/CheckBox.d.ts +0 -13
- package/dist/CheckBox/index.d.ts +0 -1
- package/dist/DateInput/DateInput.d.ts +0 -24
- package/dist/DateInput/index.d.ts +0 -1
- package/dist/DropDownMenu/DropDownMenu.d.ts +0 -36
- package/dist/DropDownMenu/index.d.ts +0 -1
- package/dist/Error/Error.d.ts +0 -4
- package/dist/Error/index.d.ts +0 -1
- package/dist/FieldLabel/FieldLabel.d.ts +0 -19
- package/dist/FieldLabel/index.d.ts +0 -1
- package/dist/FileInputField/FileInputField.d.ts +0 -19
- package/dist/FileInputField/index.d.ts +0 -1
- package/dist/Flyout/Flyout.d.ts +0 -11
- package/dist/Flyout/FlyoutHeader.d.ts +0 -5
- package/dist/Flyout/FlyoutTitle.d.ts +0 -2
- package/dist/Flyout/index.d.ts +0 -3
- package/dist/FormSection/FormSection.d.ts +0 -9
- package/dist/FormSection/index.d.ts +0 -1
- package/dist/Grid/Grid.d.ts +0 -8
- package/dist/Grid/index.d.ts +0 -1
- package/dist/IconButton/IconButton.d.ts +0 -5
- package/dist/IconButton/index.d.ts +0 -1
- package/dist/Input/Input.d.ts +0 -21
- package/dist/Input/index.d.ts +0 -1
- package/dist/Modal/Modal.d.ts +0 -14
- package/dist/Modal/index.d.ts +0 -1
- package/dist/MonolithUIProvider/GlobalStyle.d.ts +0 -4
- package/dist/MonolithUIProvider/MonolithUIProvider.d.ts +0 -10
- package/dist/MonolithUIProvider/index.d.ts +0 -3
- package/dist/MonolithUIProvider/useMonolithUITheme.d.ts +0 -2
- package/dist/Pill/Pill.d.ts +0 -11
- package/dist/Pill/index.d.ts +0 -1
- package/dist/SelectBox/SelectBox.d.ts +0 -45
- package/dist/SelectBox/index.d.ts +0 -1
- package/dist/Switch/Switch.d.ts +0 -18
- package/dist/Switch/index.d.ts +0 -1
- package/dist/Table/Table.d.ts +0 -91
- package/dist/Table/index.d.ts +0 -2
- package/dist/TagBox/TagBox.d.ts +0 -39
- package/dist/TagBox/TagBoxStyles.d.ts +0 -11
- package/dist/TagBox/index.d.ts +0 -1
- package/dist/TextArea/TextArea.d.ts +0 -16
- package/dist/TextArea/index.d.ts +0 -1
- package/dist/TextAreaInput/TextAreaInput.d.ts +0 -19
- package/dist/TextAreaInput/index.d.ts +0 -1
- package/dist/TextInput/TextInput.d.ts +0 -13
- package/dist/TextInput/index.d.ts +0 -1
- package/dist/Tooltip/Tooltip.d.ts +0 -12
- package/dist/Tooltip/index.d.ts +0 -1
- package/dist/core/ArrowButton.d.ts +0 -6
- package/dist/core/ClearButton.d.ts +0 -6
- package/dist/core/MonolithThemeProvider.d.ts +0 -4
- package/dist/core/MonolithThemeProvider.js +0 -20
- package/dist/core/StyledContent.d.ts +0 -7
- package/dist/core/StyledFloatContainer.d.ts +0 -2
- package/dist/core/Types/Size.d.ts +0 -2
- package/dist/core/Types/Variant.d.ts +0 -2
- package/dist/core/index.d.ts +0 -6
- package/dist/index.d.ts +0 -26
- package/dist/theme/index.d.ts +0 -168
- package/dist/theme/typography.d.ts +0 -45
- package/dist/theme/variants.d.ts +0 -172
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface CalendarProps {
|
|
2
|
-
defaultValue?: Date;
|
|
3
|
-
value?: Date | null;
|
|
4
|
-
onChange?: (date: Date | null) => void;
|
|
5
|
-
hourFormat?: "12" | "24";
|
|
6
|
-
includeTime?: boolean;
|
|
7
|
-
clearable?: boolean;
|
|
8
|
-
min?: Date;
|
|
9
|
-
max?: Date;
|
|
10
|
-
}
|
|
11
|
-
declare const Calendar: {
|
|
12
|
-
({ defaultValue, value, onChange, hourFormat, includeTime, clearable, min, max, }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export default Calendar;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const MainContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
export declare const CalendarContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const CalendarHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const CalendarGrid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
export declare const CalendarMonth: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
-
interface CalendarCellProps {
|
|
7
|
-
index?: number;
|
|
8
|
-
inMonth?: boolean | 0;
|
|
9
|
-
"data-disabled"?: boolean | 0;
|
|
10
|
-
key: string | null;
|
|
11
|
-
title?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const CalendarCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CalendarCellProps>> & string;
|
|
14
|
-
export declare const CalendarDay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof CalendarCellProps> & CalendarCellProps, "ref"> & {
|
|
15
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
-
}, CalendarCellProps>> & string;
|
|
17
|
-
export declare const CalendarDate: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof CalendarCellProps> & CalendarCellProps, "ref"> & {
|
|
18
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
19
|
-
}, CalendarCellProps>> & string;
|
|
20
|
-
export declare const HighlightedCalendarDate: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof CalendarCellProps> & CalendarCellProps, "ref"> & {
|
|
21
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
-
}, keyof CalendarCellProps> & CalendarCellProps, CalendarCellProps>> & string;
|
|
23
|
-
export declare const TodayCalendarDate: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof CalendarCellProps> & CalendarCellProps, "ref"> & {
|
|
24
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
25
|
-
}, keyof CalendarCellProps> & CalendarCellProps, keyof CalendarCellProps> & CalendarCellProps, CalendarCellProps>> & string;
|
|
26
|
-
export declare const TimeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
27
|
-
export declare const TimePickerContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
28
|
-
export declare const TimeHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
29
|
-
export declare const TimeHourSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
30
|
-
export declare const TimeMinuteSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
31
|
-
export declare const TimeItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
32
|
-
export declare const TimeItemActive: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
33
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
34
|
-
}, never>> & string;
|
|
35
|
-
export declare const NoValueButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
36
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const THIS_YEAR: number;
|
|
2
|
-
export declare const THIS_MONTH: number;
|
|
3
|
-
export declare const HOURS24: {
|
|
4
|
-
value: number;
|
|
5
|
-
label: string;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const HOURS12: {
|
|
8
|
-
value: number;
|
|
9
|
-
label: string;
|
|
10
|
-
}[];
|
|
11
|
-
export declare const MINUTES: (string | number)[];
|
|
12
|
-
export declare const WEEK_DAYS: {
|
|
13
|
-
Sunday: string;
|
|
14
|
-
Monday: string;
|
|
15
|
-
Tuesday: string;
|
|
16
|
-
Wednesday: string;
|
|
17
|
-
Thursday: string;
|
|
18
|
-
Friday: string;
|
|
19
|
-
Saturday: string;
|
|
20
|
-
};
|
|
21
|
-
export type WeekDay = keyof typeof WEEK_DAYS;
|
|
22
|
-
export declare const CALENDAR_MONTHS: {
|
|
23
|
-
January: string;
|
|
24
|
-
February: string;
|
|
25
|
-
March: string;
|
|
26
|
-
April: string;
|
|
27
|
-
May: string;
|
|
28
|
-
June: string;
|
|
29
|
-
July: string;
|
|
30
|
-
August: string;
|
|
31
|
-
September: string;
|
|
32
|
-
October: string;
|
|
33
|
-
November: string;
|
|
34
|
-
December: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const CALENDAR_WEEKS = 6;
|
|
37
|
-
export declare const zeroPad: (value: number, length: number) => string;
|
|
38
|
-
export declare const getMonthDays: (month?: number, year?: number) => 29 | 28 | 30 | 31;
|
|
39
|
-
export declare const getMonthFirstDay: (month?: number, year?: number) => number;
|
|
40
|
-
export declare const isDate: (date: Date) => boolean;
|
|
41
|
-
export declare const isSameMonth: (date: Date, basedate?: Date) => boolean;
|
|
42
|
-
export declare const isSameDay: (date: Date, basedate?: Date) => boolean;
|
|
43
|
-
export declare const getDateISO: (date: Date) => string | null;
|
|
44
|
-
export declare const getPreviousMonth: (month: number, year: number) => {
|
|
45
|
-
month: number;
|
|
46
|
-
year: number;
|
|
47
|
-
};
|
|
48
|
-
export declare const getNextMonth: (month: number, year: number) => {
|
|
49
|
-
month: number;
|
|
50
|
-
year: number;
|
|
51
|
-
};
|
|
52
|
-
declare const calendarBuilder: (month?: number, year?: number) => (string | number)[][];
|
|
53
|
-
export default calendarBuilder;
|
package/dist/Calendar/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Calendar";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from "react";
|
|
2
|
-
import { Size } from "../core";
|
|
3
|
-
interface CheckBoxProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
size?: Size;
|
|
6
|
-
defaultValue?: boolean;
|
|
7
|
-
value?: boolean | undefined;
|
|
8
|
-
partialCheck?: boolean;
|
|
9
|
-
onChange?: (value: boolean) => void;
|
|
10
|
-
style?: CSSProperties;
|
|
11
|
-
}
|
|
12
|
-
declare const CheckBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<CheckBoxProps, never>> & string & Omit<({ className, defaultValue, value, partialCheck, onChange, }: CheckBoxProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
13
|
-
export default CheckBox;
|
package/dist/CheckBox/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./CheckBox";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Size, Variant } from "../core";
|
|
3
|
-
interface DateInputProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
defaultValue?: string | null | undefined;
|
|
6
|
-
format?: string;
|
|
7
|
-
label?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
arrow?: boolean;
|
|
10
|
-
size?: Size;
|
|
11
|
-
variant?: Variant;
|
|
12
|
-
clearable?: boolean;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
onChange?: (value: string | null) => void;
|
|
15
|
-
min?: Date;
|
|
16
|
-
max?: Date;
|
|
17
|
-
error?: string;
|
|
18
|
-
width?: string;
|
|
19
|
-
enableCalendar?: boolean;
|
|
20
|
-
utc?: boolean;
|
|
21
|
-
closeOnSelect?: boolean;
|
|
22
|
-
}
|
|
23
|
-
declare const DateInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<DateInputProps, never>> & string & Omit<({ className, defaultValue, format, label, description, arrow, size, variant, clearable, required, onChange, min, max, error, enableCalendar, utc, closeOnSelect, }: DateInputProps) => import("react/jsx-runtime").JSX.Element, keyof React.Component<any, {}, any>>;
|
|
24
|
-
export default DateInput;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./DateInput";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentType, ReactNode, UIEvent } from "react";
|
|
2
|
-
import { ButtonProps } from "../Button";
|
|
3
|
-
import { Size, Variant } from "../core";
|
|
4
|
-
interface StyledContentProps {
|
|
5
|
-
maxDropdownHeight?: number | string;
|
|
6
|
-
variant?: Variant;
|
|
7
|
-
}
|
|
8
|
-
declare const StyledContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledContentProps>> & string;
|
|
9
|
-
interface DropDownItem {
|
|
10
|
-
toLowerCase?: () => string;
|
|
11
|
-
label: string;
|
|
12
|
-
value: string;
|
|
13
|
-
data?: any;
|
|
14
|
-
}
|
|
15
|
-
interface DropDownMenuProps {
|
|
16
|
-
className?: string;
|
|
17
|
-
children?: ReactNode;
|
|
18
|
-
data?: DropDownItem[];
|
|
19
|
-
variant?: Variant;
|
|
20
|
-
defaultValue?: DropDownItem[];
|
|
21
|
-
multiselect?: boolean;
|
|
22
|
-
size?: Size;
|
|
23
|
-
title?: string;
|
|
24
|
-
TooltipContent?: ComponentType<any>;
|
|
25
|
-
renderOption?: (item: DropDownItem) => ReactNode;
|
|
26
|
-
onChange?: (selected: DropDownItem[], diff: DropDownItem[]) => void;
|
|
27
|
-
onItemSelect?: (item: DropDownItem) => void;
|
|
28
|
-
onScroll?: (e: UIEvent<HTMLDivElement>) => void;
|
|
29
|
-
loading?: boolean;
|
|
30
|
-
arrow?: boolean;
|
|
31
|
-
searchable?: boolean;
|
|
32
|
-
dropDownProps?: ComponentPropsWithoutRef<typeof StyledContent>;
|
|
33
|
-
buttonProps?: ButtonProps;
|
|
34
|
-
}
|
|
35
|
-
declare const DropDownMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<DropDownMenuProps, never>> & string & Omit<({ className, children, data, variant, defaultValue, multiselect, size, TooltipContent, renderOption, onChange, onItemSelect, onScroll, loading, arrow, searchable, dropDownProps, buttonProps, }: DropDownMenuProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
36
|
-
export default DropDownMenu;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./DropDownMenu";
|
package/dist/Error/Error.d.ts
DELETED
package/dist/Error/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Error";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Size } from "../core";
|
|
3
|
-
interface InfoComponentProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
description?: string;
|
|
7
|
-
label?: string | ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const InfoComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<InfoComponentProps, never>> & string & Omit<({ className, children, description, label }: InfoComponentProps) => string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined, keyof import("react").Component<any, {}, any>>;
|
|
10
|
-
interface FieldLabelProps {
|
|
11
|
-
className?: string;
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
error?: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
size?: Size;
|
|
16
|
-
asterisk?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const FieldLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<FieldLabelProps, never>> & string & Omit<({ className, children, error, description, size, }: FieldLabelProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
19
|
-
export default FieldLabel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./FieldLabel";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode, HTMLAttributes } from "react";
|
|
2
|
-
import { DropzoneOptions } from "react-dropzone";
|
|
3
|
-
import { Size, Variant } from "../core";
|
|
4
|
-
interface FileInputFieldProps {
|
|
5
|
-
className?: string;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
variant?: Variant;
|
|
8
|
-
label?: string;
|
|
9
|
-
error?: string;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
size?: Size;
|
|
12
|
-
onChange?: (files: File[]) => void;
|
|
13
|
-
onFocus?: () => void;
|
|
14
|
-
dropZoneOptions?: DropzoneOptions;
|
|
15
|
-
colSpan?: number;
|
|
16
|
-
style?: HTMLAttributes<HTMLDivElement>;
|
|
17
|
-
}
|
|
18
|
-
declare const FileInputField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<FileInputFieldProps, never>> & string & Omit<({ className, children, label, error, required, size, onChange, onFocus, dropZoneOptions, colSpan, style, }: FileInputFieldProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
19
|
-
export default FileInputField;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./FileInputField";
|
package/dist/Flyout/Flyout.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface FlyoutProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
open?: boolean;
|
|
5
|
-
onClose?: () => void;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
closeOnOutsideClick?: boolean;
|
|
8
|
-
showCloseButton?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const Flyout: React.FC<FlyoutProps>;
|
|
11
|
-
export default Flyout;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
interface FlyoutHeaderProps {
|
|
2
|
-
hasBorder?: boolean;
|
|
3
|
-
}
|
|
4
|
-
declare const FlyoutHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FlyoutHeaderProps>> & string;
|
|
5
|
-
export default FlyoutHeader;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const FlyoutTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
2
|
-
export default FlyoutTitle;
|
package/dist/Flyout/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
interface FormSectionProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
defaultOpen?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const FormSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<FormSectionProps, never>> & string & Omit<({ className, title, children, defaultOpen }: FormSectionProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
9
|
-
export default FormSection;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./FormSection";
|
package/dist/Grid/Grid.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface GridProps {
|
|
2
|
-
className?: string;
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
col?: number;
|
|
5
|
-
width?: string | number;
|
|
6
|
-
}
|
|
7
|
-
declare const Grid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<GridProps, never>> & string & Omit<({ className, children }: GridProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
8
|
-
export default Grid;
|
package/dist/Grid/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Grid";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from "../Button/Button.js";
|
|
2
|
-
declare const IconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
-
}, ButtonProps>> & string & Omit<import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
5
|
-
export default IconButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./IconButton";
|
package/dist/Input/Input.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Size, Variant } from "../core";
|
|
2
|
-
export interface InputProps {
|
|
3
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
4
|
-
className?: string;
|
|
5
|
-
size?: Size;
|
|
6
|
-
variant?: Variant;
|
|
7
|
-
width?: string | number | null | undefined;
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
-
onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
12
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
13
|
-
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
14
|
-
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
15
|
-
autoFocus?: boolean;
|
|
16
|
-
readOnly?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const Input: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
19
|
-
ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
20
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
21
|
-
export default Input;
|
package/dist/Input/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Input";
|
package/dist/Modal/Modal.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface ModalProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
open?: boolean;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
showCloseButton?: boolean;
|
|
7
|
-
FocusProps?: any;
|
|
8
|
-
}
|
|
9
|
-
declare const Modal: {
|
|
10
|
-
({ children, open, onClose, style, showCloseButton, FocusProps, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
12
|
-
SubTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
13
|
-
};
|
|
14
|
-
export default Modal;
|
package/dist/Modal/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Modal";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DefaultTheme } from "styled-components";
|
|
2
|
-
import React from "react";
|
|
3
|
-
export declare const MonolithUIContext: React.Context<DefaultTheme | undefined>;
|
|
4
|
-
interface MonolithUIProviderProps {
|
|
5
|
-
children: React.ReactNode | React.ReactNode[];
|
|
6
|
-
theme?: DefaultTheme;
|
|
7
|
-
defaultColorScheme?: "light" | "dark";
|
|
8
|
-
}
|
|
9
|
-
declare const MonolithUIProvider: ({ children, theme, defaultColorScheme, }: MonolithUIProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default MonolithUIProvider;
|
package/dist/Pill/Pill.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Size } from "../core";
|
|
3
|
-
interface PillProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
size?: Size;
|
|
7
|
-
showRemoveIcon?: boolean;
|
|
8
|
-
onRemove?: () => void;
|
|
9
|
-
}
|
|
10
|
-
declare const Pill: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<PillProps, never>> & string & Omit<({ className, children, size, showRemoveIcon, onRemove, }: PillProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
11
|
-
export default Pill;
|
package/dist/Pill/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Pill";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Size, Variant } from "../core";
|
|
3
|
-
export declare const StyledInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
width?: string | number | null;
|
|
5
|
-
}>> & string;
|
|
6
|
-
type Option = {
|
|
7
|
-
label: string;
|
|
8
|
-
value: any;
|
|
9
|
-
group?: string;
|
|
10
|
-
data?: any;
|
|
11
|
-
};
|
|
12
|
-
interface SelectBoxProps {
|
|
13
|
-
className?: string;
|
|
14
|
-
defaultValue?: Option | string;
|
|
15
|
-
data?: Option[] | string[];
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
arrow?: boolean;
|
|
18
|
-
onChange?: (value: any, item: any) => void;
|
|
19
|
-
onSearch?: (value: string) => void;
|
|
20
|
-
searchFn?: (value: string) => void;
|
|
21
|
-
onScroll?: (e: any) => void;
|
|
22
|
-
loading?: boolean;
|
|
23
|
-
onItemAdded?: (item: any) => void;
|
|
24
|
-
size?: Size;
|
|
25
|
-
variant?: Variant;
|
|
26
|
-
width?: string | number | null;
|
|
27
|
-
allowCustomValue?: boolean;
|
|
28
|
-
searchable?: boolean;
|
|
29
|
-
clearable?: boolean;
|
|
30
|
-
label?: string;
|
|
31
|
-
description?: string;
|
|
32
|
-
required?: boolean;
|
|
33
|
-
error?: string;
|
|
34
|
-
openOnFocus?: boolean;
|
|
35
|
-
renderOption?: (item: Option | string) => ReactNode;
|
|
36
|
-
actionComponent?: JSX.Element;
|
|
37
|
-
focused?: boolean;
|
|
38
|
-
grouped?: boolean;
|
|
39
|
-
TooltipContent?: React.FC<{
|
|
40
|
-
data: any;
|
|
41
|
-
}>;
|
|
42
|
-
DropDownProps?: any;
|
|
43
|
-
}
|
|
44
|
-
declare const SelectBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<SelectBoxProps, never>> & string & Omit<({ className, data, placeholder, arrow, onChange, onSearch, searchFn, onScroll, loading, defaultValue, onItemAdded, size, variant, width, allowCustomValue, searchable, clearable, label, description, required, error, openOnFocus, renderOption, actionComponent, focused, grouped, TooltipContent, DropDownProps, }: SelectBoxProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
45
|
-
export default SelectBox;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./SelectBox";
|
package/dist/Switch/Switch.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from "react";
|
|
2
|
-
import { Size } from "../core";
|
|
3
|
-
interface SwitchProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
onChange: (e: any) => void;
|
|
6
|
-
size?: Size;
|
|
7
|
-
label?: string;
|
|
8
|
-
labelPosition?: "left" | "right";
|
|
9
|
-
description?: string;
|
|
10
|
-
error?: string;
|
|
11
|
-
required?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
defaultValue?: boolean;
|
|
14
|
-
value?: boolean;
|
|
15
|
-
style?: CSSProperties;
|
|
16
|
-
}
|
|
17
|
-
declare const Switch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<SwitchProps, never>> & string & Omit<({ className, onChange, size, label, labelPosition, description, error, required, disabled, defaultValue, value, style, ...other }: SwitchProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
18
|
-
export default Switch;
|
package/dist/Switch/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./Switch";
|
package/dist/Table/Table.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import "overlayscrollbars/overlayscrollbars.css";
|
|
2
|
-
interface ColumnProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
key?: string | number;
|
|
5
|
-
dataField: string;
|
|
6
|
-
caption: string;
|
|
7
|
-
columnId?: string | number;
|
|
8
|
-
allowSorting?: boolean;
|
|
9
|
-
allowReorder?: boolean;
|
|
10
|
-
resizeEnabled?: boolean;
|
|
11
|
-
width?: number;
|
|
12
|
-
sorting?: {
|
|
13
|
-
active: boolean;
|
|
14
|
-
direction: "asc" | "desc";
|
|
15
|
-
};
|
|
16
|
-
format?: {
|
|
17
|
-
type: string;
|
|
18
|
-
};
|
|
19
|
-
props?: any;
|
|
20
|
-
render: (data: any, options: any) => React.ReactNode;
|
|
21
|
-
componentType?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const Column: {
|
|
24
|
-
({ dataField, caption, columnId, sorting, format, componentType, }: ColumnProps): null;
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
27
|
-
interface onResizeProps {
|
|
28
|
-
columns: {
|
|
29
|
-
dataField: string;
|
|
30
|
-
width: number;
|
|
31
|
-
}[];
|
|
32
|
-
}
|
|
33
|
-
type SelectionState = "all" | "none" | "someIncluded" | "someExcluded";
|
|
34
|
-
interface TableInstanceProps {
|
|
35
|
-
setTableInstance: (e: any) => void;
|
|
36
|
-
toggleCompact: () => void;
|
|
37
|
-
toggleStripes: () => void;
|
|
38
|
-
isCompact: boolean;
|
|
39
|
-
isStriped: boolean;
|
|
40
|
-
getVirtualSelectionTotal: () => number;
|
|
41
|
-
getSelectedRows: () => any[];
|
|
42
|
-
getExcludedRows: () => any[];
|
|
43
|
-
getSelectionState: () => SelectionState;
|
|
44
|
-
clearSelections: () => void;
|
|
45
|
-
onColumnResize: (e: onResizeProps) => void;
|
|
46
|
-
}
|
|
47
|
-
export declare const useTable: () => {
|
|
48
|
-
setTableInstance: import("react").Dispatch<import("react").SetStateAction<TableInstanceProps | null>>;
|
|
49
|
-
toggleCompact: () => void | undefined;
|
|
50
|
-
toggleStripes: () => void | undefined;
|
|
51
|
-
isCompact: boolean;
|
|
52
|
-
isStriped: boolean;
|
|
53
|
-
getVirtualSelectionTotal: () => number;
|
|
54
|
-
getSelectedRows: () => any[];
|
|
55
|
-
getExcludedRows: () => any[];
|
|
56
|
-
getSelectionState: () => {};
|
|
57
|
-
clearSelections: () => void | undefined;
|
|
58
|
-
onColumnResize: (e: onResizeProps) => void | undefined;
|
|
59
|
-
};
|
|
60
|
-
interface TableProps {
|
|
61
|
-
className?: string;
|
|
62
|
-
children: React.ReactNode | React.ReactNode[];
|
|
63
|
-
data: {
|
|
64
|
-
[key: string]: any;
|
|
65
|
-
}[];
|
|
66
|
-
rowHeight?: number;
|
|
67
|
-
headerHeight?: number;
|
|
68
|
-
tableInstance?: TableInstanceProps;
|
|
69
|
-
queryKey?: any;
|
|
70
|
-
totalRecords?: number;
|
|
71
|
-
compact?: boolean;
|
|
72
|
-
focusedRow?: {
|
|
73
|
-
[key: string]: any;
|
|
74
|
-
};
|
|
75
|
-
keyValue?: string;
|
|
76
|
-
onScroll?: (e: any) => void;
|
|
77
|
-
allowColumnResize?: boolean;
|
|
78
|
-
allowColumnReorder?: boolean;
|
|
79
|
-
showActionColumn?: boolean;
|
|
80
|
-
showSelection?: boolean;
|
|
81
|
-
selectAll?: boolean;
|
|
82
|
-
reloadFn?: () => void;
|
|
83
|
-
onColumnReorder?: (e: any) => void;
|
|
84
|
-
onSelectionChanged?: (e: any) => void;
|
|
85
|
-
onActionButtonClick?: (e: any) => void;
|
|
86
|
-
onHeaderClick?: (e: any) => void;
|
|
87
|
-
onColumnResize?: (e: any) => void;
|
|
88
|
-
onRowUpdated?: (e: any) => void;
|
|
89
|
-
}
|
|
90
|
-
declare const Table: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<TableProps, never>> & string & Omit<({ className, children, data, rowHeight, headerHeight, tableInstance, queryKey, totalRecords, compact, focusedRow, keyValue, onScroll, allowColumnResize, allowColumnReorder, showActionColumn, showSelection, selectAll, reloadFn, onColumnReorder, onSelectionChanged, onActionButtonClick, onHeaderClick, onColumnResize, onRowUpdated, }: TableProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
91
|
-
export default Table;
|
package/dist/Table/index.d.ts
DELETED
package/dist/TagBox/TagBox.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Variant, Size } from "../core";
|
|
3
|
-
type Option = {
|
|
4
|
-
label: string;
|
|
5
|
-
value: any;
|
|
6
|
-
group?: string;
|
|
7
|
-
data?: any;
|
|
8
|
-
};
|
|
9
|
-
interface TagBoxProps {
|
|
10
|
-
className?: string;
|
|
11
|
-
data?: Option[] | string[];
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
arrow?: boolean;
|
|
14
|
-
defaultValue?: Option[];
|
|
15
|
-
grouped?: boolean;
|
|
16
|
-
searchFn?: (value: string) => void;
|
|
17
|
-
onChange?: (value: any[]) => void;
|
|
18
|
-
onScroll?: () => void;
|
|
19
|
-
onSearch?: (value: string) => void;
|
|
20
|
-
onItemAdded?: (value: any) => void;
|
|
21
|
-
size?: Size;
|
|
22
|
-
variant?: Variant;
|
|
23
|
-
width?: string;
|
|
24
|
-
allowCustomValue?: boolean;
|
|
25
|
-
searchable?: boolean;
|
|
26
|
-
clearable?: boolean;
|
|
27
|
-
openOnFocus?: boolean;
|
|
28
|
-
label?: string;
|
|
29
|
-
description?: string;
|
|
30
|
-
required?: boolean;
|
|
31
|
-
error?: string;
|
|
32
|
-
loading?: boolean;
|
|
33
|
-
renderOption?: (item: Option | string) => ReactNode;
|
|
34
|
-
TooltipContent?: (props: {
|
|
35
|
-
data: any;
|
|
36
|
-
}) => JSX.Element;
|
|
37
|
-
}
|
|
38
|
-
declare const TagBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<TagBoxProps, never>> & string & Omit<({ className, data, placeholder, arrow, defaultValue, grouped, searchFn, onChange, onScroll, onSearch, onItemAdded, size, variant, width, allowCustomValue, searchable, clearable, openOnFocus, label, description, required, error, loading, renderOption, TooltipContent, }: TagBoxProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
39
|
-
export default TagBox;
|