@monolith-forensics/monolith-ui 1.1.34 → 1.1.35
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.d.ts +19 -0
- package/dist/Button/index.d.ts +2 -0
- package/dist/Calendar/Calendar.d.ts +15 -0
- package/dist/Calendar/CalendarStyles.d.ts +36 -0
- package/dist/Calendar/calendarHelpers.d.ts +53 -0
- package/dist/Calendar/index.d.ts +1 -0
- package/dist/CheckBox/CheckBox.d.ts +13 -0
- package/dist/CheckBox/index.d.ts +1 -0
- package/dist/DateInput/DateInput.d.ts +24 -0
- package/dist/DateInput/index.d.ts +1 -0
- package/dist/DropDownMenu/DropDownMenu.d.ts +36 -0
- package/dist/DropDownMenu/index.d.ts +1 -0
- package/dist/Error/Error.d.ts +4 -0
- package/dist/Error/index.d.ts +1 -0
- package/dist/FieldLabel/FieldLabel.d.ts +19 -0
- package/dist/FieldLabel/index.d.ts +1 -0
- package/dist/FileInputField/FileInputField.d.ts +19 -0
- package/dist/FileInputField/index.d.ts +1 -0
- package/dist/Flyout/Flyout.d.ts +11 -0
- package/dist/Flyout/FlyoutHeader.d.ts +5 -0
- package/dist/Flyout/FlyoutTitle.d.ts +2 -0
- package/dist/Flyout/index.d.ts +3 -0
- package/dist/FormSection/FormSection.d.ts +9 -0
- package/dist/FormSection/index.d.ts +1 -0
- package/dist/Grid/Grid.d.ts +8 -0
- package/dist/Grid/index.d.ts +1 -0
- package/dist/IconButton/IconButton.d.ts +5 -0
- package/dist/IconButton/index.d.ts +1 -0
- package/dist/Input/Input.d.ts +21 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Modal/Modal.d.ts +14 -0
- package/dist/Modal/index.d.ts +1 -0
- package/dist/MonolithUIProvider/GlobalStyle.d.ts +4 -0
- package/dist/MonolithUIProvider/MonolithUIProvider.d.ts +18 -0
- package/dist/MonolithUIProvider/index.d.ts +3 -0
- package/dist/MonolithUIProvider/useMonolithUITheme.d.ts +3 -0
- package/dist/Pill/Pill.d.ts +11 -0
- package/dist/Pill/index.d.ts +1 -0
- package/dist/SelectBox/SelectBox.d.ts +45 -0
- package/dist/SelectBox/index.d.ts +1 -0
- package/dist/Switch/Switch.d.ts +18 -0
- package/dist/Switch/index.d.ts +1 -0
- package/dist/Table/Table.d.ts +92 -0
- package/dist/Table/index.d.ts +2 -0
- package/dist/TagBox/TagBox.d.ts +39 -0
- package/dist/TagBox/TagBoxStyles.d.ts +11 -0
- package/dist/TagBox/index.d.ts +1 -0
- package/dist/TextArea/TextArea.d.ts +16 -0
- package/dist/TextArea/index.d.ts +1 -0
- package/dist/TextAreaInput/TextAreaInput.d.ts +19 -0
- package/dist/TextAreaInput/index.d.ts +1 -0
- package/dist/TextInput/TextInput.d.ts +13 -0
- package/dist/TextInput/index.d.ts +1 -0
- package/dist/Tooltip/Tooltip.d.ts +12 -0
- package/dist/Tooltip/index.d.ts +1 -0
- package/dist/core/ArrowButton.d.ts +6 -0
- package/dist/core/ClearButton.d.ts +6 -0
- package/dist/core/StyledContent.d.ts +7 -0
- package/dist/core/StyledFloatContainer.d.ts +2 -0
- package/dist/core/Types/Size.d.ts +2 -0
- package/dist/core/Types/Variant.d.ts +2 -0
- package/dist/core/index.d.ts +6 -0
- package/dist/index.d.ts +26 -0
- package/dist/theme/index.d.ts +169 -0
- package/dist/theme/typography.d.ts +45 -0
- package/dist/theme/variants.d.ts +172 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
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;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const TagBoxContainer: 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 TagBoxInner: 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 TagsContainer: 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 TagBoxInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
5
|
+
export declare const Tag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const TagText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const TagKillButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
|
|
8
|
+
ref?: ((instance: SVGSVGElement | 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<SVGSVGElement> | null | undefined;
|
|
9
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
|
|
10
|
+
export declare const TagBoxOptions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
+
export declare const TagBoxOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TagBox";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Size, Variant } from "../core";
|
|
2
|
+
interface TextAreaProps {
|
|
3
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
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<HTMLTextAreaElement>) => void;
|
|
11
|
+
onKeyUp?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const TextArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react-textarea-autosize").TextareaAutosizeProps & import("react").RefAttributes<HTMLTextAreaElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLTextAreaElement | 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<HTMLTextAreaElement> | null | undefined;
|
|
15
|
+
}, TextAreaProps>> & string & Omit<import("react").ForwardRefExoticComponent<import("react-textarea-autosize").TextareaAutosizeProps & import("react").RefAttributes<HTMLTextAreaElement>>, keyof import("react").Component<any, {}, any>>;
|
|
16
|
+
export default TextArea;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TextArea";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Size } from "../core";
|
|
2
|
+
interface TextAreaInputProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
colSpan?: number;
|
|
7
|
+
size?: Size;
|
|
8
|
+
description?: string;
|
|
9
|
+
inputRef?: React.RefObject<HTMLTextAreaElement> | null;
|
|
10
|
+
maxRows?: number;
|
|
11
|
+
minRows?: number;
|
|
12
|
+
onHeightChange?: (height: number, meta: {
|
|
13
|
+
rowHeight: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
cacheMeasurements?: boolean;
|
|
16
|
+
style?: any;
|
|
17
|
+
}
|
|
18
|
+
declare const TextAreaInput: ({ label, error, required, colSpan, size, description, inputRef, maxRows, minRows, onHeightChange, cacheMeasurements, style, }: TextAreaInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default TextAreaInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TextAreaInput";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InputProps } from "../Input/Input";
|
|
2
|
+
import { Size } from "../core";
|
|
3
|
+
interface TextInputProps extends InputProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
size?: Size;
|
|
9
|
+
colSpan?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const TextInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<TextInputProps, never>> & string & Omit<({ className, label, error, required, colSpan, description, size, ...rest }: TextInputProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
13
|
+
export default TextInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TextInput";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
interface TooltipProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
content?: ReactNode;
|
|
6
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
7
|
+
sideOffset?: number;
|
|
8
|
+
align?: "start" | "center" | "end";
|
|
9
|
+
delayDuration?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const Tooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<TooltipProps, never>> & string & Omit<({ className, children, content, side, sideOffset, align, delayDuration, }: TooltipProps) => string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined, keyof import("react").Component<any, {}, any>>;
|
|
12
|
+
export default Tooltip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Tooltip";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface ArrowButtonProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
[key: string]: React.ButtonHTMLAttributes<HTMLButtonElement> | any;
|
|
4
|
+
}
|
|
5
|
+
declare const ArrowButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<ArrowButtonProps, never>> & string & Omit<({ className, ...props }: ArrowButtonProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
6
|
+
export default ArrowButton;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface ClearButtonProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
[key: string]: React.ButtonHTMLAttributes<HTMLButtonElement> | any;
|
|
4
|
+
}
|
|
5
|
+
declare const ClearButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<ClearButtonProps, never>> & string & Omit<({ className, ...props }: ClearButtonProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
6
|
+
export default ClearButton;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import Variant from "./Types/Variant";
|
|
2
|
+
interface StyledContentProps {
|
|
3
|
+
maxDropdownHeight?: number | string;
|
|
4
|
+
variant?: Variant;
|
|
5
|
+
}
|
|
6
|
+
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;
|
|
7
|
+
export default StyledContent;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const StyledFloatContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export default StyledFloatContainer;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as StyledContent } from "./StyledContent";
|
|
2
|
+
export { default as StyledFloatContainer } from "./StyledFloatContainer";
|
|
3
|
+
export { default as ArrowButton } from "./ArrowButton";
|
|
4
|
+
export { default as ClearButton } from "./ClearButton";
|
|
5
|
+
export type { default as Size } from "./Types/Size";
|
|
6
|
+
export type { default as Variant } from "./Types/Variant";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { default as FormSection } from "./FormSection";
|
|
2
|
+
export { default as Grid } from "./Grid";
|
|
3
|
+
export { default as TextInput } from "./TextInput";
|
|
4
|
+
export { default as SelectBox } from "./SelectBox";
|
|
5
|
+
export { default as Button } from "./Button";
|
|
6
|
+
export { default as IconButton } from "./IconButton";
|
|
7
|
+
export { default as DropDownMenu } from "./DropDownMenu";
|
|
8
|
+
export { default as DateInput } from "./DateInput";
|
|
9
|
+
export { default as TextArea } from "./TextArea";
|
|
10
|
+
export { default as TextAreaInput } from "./TextAreaInput";
|
|
11
|
+
export { default as TagBox } from "./TagBox";
|
|
12
|
+
export { default as FieldLabel } from "./FieldLabel";
|
|
13
|
+
export { default as Modal } from "./Modal";
|
|
14
|
+
export { default as Flyout } from "./Flyout";
|
|
15
|
+
export { FlyoutHeader, FlyoutTitle } from "./Flyout";
|
|
16
|
+
export { default as FileInputField } from "./FileInputField";
|
|
17
|
+
export { default as Switch } from "./Switch";
|
|
18
|
+
export { default as CheckBox } from "./CheckBox";
|
|
19
|
+
export { default as Input } from "./Input";
|
|
20
|
+
export { default as Tooltip } from "./Tooltip";
|
|
21
|
+
export { default as Pill } from "./Pill";
|
|
22
|
+
export { default as Calendar } from "./Calendar";
|
|
23
|
+
export { default as Table } from "./Table";
|
|
24
|
+
export { Column } from "./Table";
|
|
25
|
+
export { default as MonolithUIProvider } from "./MonolithUIProvider";
|
|
26
|
+
export { useMonolithUITheme } from "./MonolithUIProvider";
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
export { THEMES as Themes } from "./variants";
|
|
2
|
+
declare const getTheme: (scheme: "LIGHT" | "DARK") => {
|
|
3
|
+
name: string;
|
|
4
|
+
typography: {
|
|
5
|
+
fontFamily: string;
|
|
6
|
+
fontSize: number;
|
|
7
|
+
fontWeightLight: number;
|
|
8
|
+
fontWeightRegular: number;
|
|
9
|
+
fontWeightMedium: number;
|
|
10
|
+
fontWeightBold: number;
|
|
11
|
+
h1: {
|
|
12
|
+
fontSize: string;
|
|
13
|
+
fontWeight: number;
|
|
14
|
+
lineHeight: number;
|
|
15
|
+
};
|
|
16
|
+
h2: {
|
|
17
|
+
fontSize: string;
|
|
18
|
+
fontWeight: number;
|
|
19
|
+
lineHeight: number;
|
|
20
|
+
};
|
|
21
|
+
h3: {
|
|
22
|
+
fontSize: string;
|
|
23
|
+
fontWeight: number;
|
|
24
|
+
lineHeight: number;
|
|
25
|
+
};
|
|
26
|
+
h4: {
|
|
27
|
+
fontSize: string;
|
|
28
|
+
fontWeight: number;
|
|
29
|
+
lineHeight: number;
|
|
30
|
+
};
|
|
31
|
+
h5: {
|
|
32
|
+
fontSize: string;
|
|
33
|
+
fontWeight: number;
|
|
34
|
+
lineHeight: number;
|
|
35
|
+
};
|
|
36
|
+
h6: {
|
|
37
|
+
fontSize: string;
|
|
38
|
+
fontWeight: number;
|
|
39
|
+
lineHeight: number;
|
|
40
|
+
};
|
|
41
|
+
body1: {
|
|
42
|
+
fontSize: number;
|
|
43
|
+
};
|
|
44
|
+
button: {
|
|
45
|
+
textTransform: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
palette: {
|
|
49
|
+
mode: string;
|
|
50
|
+
primary: {
|
|
51
|
+
main: string;
|
|
52
|
+
contrastText: string;
|
|
53
|
+
};
|
|
54
|
+
error: {
|
|
55
|
+
main: string;
|
|
56
|
+
contrastText: string;
|
|
57
|
+
};
|
|
58
|
+
secondary: {
|
|
59
|
+
main: string;
|
|
60
|
+
contrastText: string;
|
|
61
|
+
};
|
|
62
|
+
third: {
|
|
63
|
+
main: string;
|
|
64
|
+
contrastText: string;
|
|
65
|
+
};
|
|
66
|
+
fourth: {
|
|
67
|
+
main: string;
|
|
68
|
+
contrastText: string;
|
|
69
|
+
};
|
|
70
|
+
background: {
|
|
71
|
+
default: string;
|
|
72
|
+
paper: string;
|
|
73
|
+
alt: string;
|
|
74
|
+
secondary: string;
|
|
75
|
+
gradient: string;
|
|
76
|
+
};
|
|
77
|
+
menu: {
|
|
78
|
+
background: string;
|
|
79
|
+
};
|
|
80
|
+
signature: {
|
|
81
|
+
penColor: string;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
backgroundColor: string;
|
|
84
|
+
};
|
|
85
|
+
text: {
|
|
86
|
+
primary: string;
|
|
87
|
+
secondary: string;
|
|
88
|
+
};
|
|
89
|
+
input: {
|
|
90
|
+
background: string;
|
|
91
|
+
border: string;
|
|
92
|
+
borderHover: string;
|
|
93
|
+
borderFocus: string;
|
|
94
|
+
borderError: string;
|
|
95
|
+
borderDisabled: string;
|
|
96
|
+
text: string;
|
|
97
|
+
textDisabled: string;
|
|
98
|
+
placeholder: string;
|
|
99
|
+
};
|
|
100
|
+
textArea: {
|
|
101
|
+
background: string;
|
|
102
|
+
border: string;
|
|
103
|
+
borderHover: string;
|
|
104
|
+
borderFocus: string;
|
|
105
|
+
borderError: string;
|
|
106
|
+
borderDisabled: string;
|
|
107
|
+
text: string;
|
|
108
|
+
textDisabled: string;
|
|
109
|
+
placeholder: string;
|
|
110
|
+
};
|
|
111
|
+
dataGrid: {
|
|
112
|
+
hover: string;
|
|
113
|
+
};
|
|
114
|
+
action: {
|
|
115
|
+
hover: string;
|
|
116
|
+
};
|
|
117
|
+
divider: string;
|
|
118
|
+
};
|
|
119
|
+
header: {
|
|
120
|
+
color: string;
|
|
121
|
+
background: string;
|
|
122
|
+
search: {
|
|
123
|
+
color: string;
|
|
124
|
+
};
|
|
125
|
+
indicator: {
|
|
126
|
+
background: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
footer: {
|
|
130
|
+
color: string;
|
|
131
|
+
background: string;
|
|
132
|
+
};
|
|
133
|
+
sidebar: {
|
|
134
|
+
color: string;
|
|
135
|
+
background: string;
|
|
136
|
+
active: string;
|
|
137
|
+
header: {
|
|
138
|
+
color: string;
|
|
139
|
+
background: string;
|
|
140
|
+
brand: {
|
|
141
|
+
color: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
footer: {
|
|
145
|
+
color: string;
|
|
146
|
+
background: string;
|
|
147
|
+
online: {
|
|
148
|
+
background: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
badge: {
|
|
152
|
+
color: string;
|
|
153
|
+
background: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
scrollbar: {
|
|
157
|
+
track: string;
|
|
158
|
+
thumb: string;
|
|
159
|
+
thumbHover: string;
|
|
160
|
+
};
|
|
161
|
+
mfBorder: {
|
|
162
|
+
primary: string;
|
|
163
|
+
secondary: string;
|
|
164
|
+
};
|
|
165
|
+
zIndex: {
|
|
166
|
+
snackbar: number;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
export default getTheme;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const typography: {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
fontSize: number;
|
|
4
|
+
fontWeightLight: number;
|
|
5
|
+
fontWeightRegular: number;
|
|
6
|
+
fontWeightMedium: number;
|
|
7
|
+
fontWeightBold: number;
|
|
8
|
+
h1: {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
fontWeight: number;
|
|
11
|
+
lineHeight: number;
|
|
12
|
+
};
|
|
13
|
+
h2: {
|
|
14
|
+
fontSize: string;
|
|
15
|
+
fontWeight: number;
|
|
16
|
+
lineHeight: number;
|
|
17
|
+
};
|
|
18
|
+
h3: {
|
|
19
|
+
fontSize: string;
|
|
20
|
+
fontWeight: number;
|
|
21
|
+
lineHeight: number;
|
|
22
|
+
};
|
|
23
|
+
h4: {
|
|
24
|
+
fontSize: string;
|
|
25
|
+
fontWeight: number;
|
|
26
|
+
lineHeight: number;
|
|
27
|
+
};
|
|
28
|
+
h5: {
|
|
29
|
+
fontSize: string;
|
|
30
|
+
fontWeight: number;
|
|
31
|
+
lineHeight: number;
|
|
32
|
+
};
|
|
33
|
+
h6: {
|
|
34
|
+
fontSize: string;
|
|
35
|
+
fontWeight: number;
|
|
36
|
+
lineHeight: number;
|
|
37
|
+
};
|
|
38
|
+
body1: {
|
|
39
|
+
fontSize: number;
|
|
40
|
+
};
|
|
41
|
+
button: {
|
|
42
|
+
textTransform: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default typography;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
export declare const THEMES: {
|
|
2
|
+
DARK: string;
|
|
3
|
+
LIGHT: string;
|
|
4
|
+
};
|
|
5
|
+
declare const variants: {
|
|
6
|
+
name: string;
|
|
7
|
+
typography: {
|
|
8
|
+
fontFamily: string;
|
|
9
|
+
fontSize: number;
|
|
10
|
+
fontWeightLight: number;
|
|
11
|
+
fontWeightRegular: number;
|
|
12
|
+
fontWeightMedium: number;
|
|
13
|
+
fontWeightBold: number;
|
|
14
|
+
h1: {
|
|
15
|
+
fontSize: string;
|
|
16
|
+
fontWeight: number;
|
|
17
|
+
lineHeight: number;
|
|
18
|
+
};
|
|
19
|
+
h2: {
|
|
20
|
+
fontSize: string;
|
|
21
|
+
fontWeight: number;
|
|
22
|
+
lineHeight: number;
|
|
23
|
+
};
|
|
24
|
+
h3: {
|
|
25
|
+
fontSize: string;
|
|
26
|
+
fontWeight: number;
|
|
27
|
+
lineHeight: number;
|
|
28
|
+
};
|
|
29
|
+
h4: {
|
|
30
|
+
fontSize: string;
|
|
31
|
+
fontWeight: number;
|
|
32
|
+
lineHeight: number;
|
|
33
|
+
};
|
|
34
|
+
h5: {
|
|
35
|
+
fontSize: string;
|
|
36
|
+
fontWeight: number;
|
|
37
|
+
lineHeight: number;
|
|
38
|
+
};
|
|
39
|
+
h6: {
|
|
40
|
+
fontSize: string;
|
|
41
|
+
fontWeight: number;
|
|
42
|
+
lineHeight: number;
|
|
43
|
+
};
|
|
44
|
+
body1: {
|
|
45
|
+
fontSize: number;
|
|
46
|
+
};
|
|
47
|
+
button: {
|
|
48
|
+
textTransform: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
palette: {
|
|
52
|
+
mode: string;
|
|
53
|
+
primary: {
|
|
54
|
+
main: string;
|
|
55
|
+
contrastText: string;
|
|
56
|
+
};
|
|
57
|
+
error: {
|
|
58
|
+
main: string;
|
|
59
|
+
contrastText: string;
|
|
60
|
+
};
|
|
61
|
+
secondary: {
|
|
62
|
+
main: string;
|
|
63
|
+
contrastText: string;
|
|
64
|
+
};
|
|
65
|
+
third: {
|
|
66
|
+
main: string;
|
|
67
|
+
contrastText: string;
|
|
68
|
+
};
|
|
69
|
+
fourth: {
|
|
70
|
+
main: string;
|
|
71
|
+
contrastText: string;
|
|
72
|
+
};
|
|
73
|
+
background: {
|
|
74
|
+
default: string;
|
|
75
|
+
paper: string;
|
|
76
|
+
alt: string;
|
|
77
|
+
secondary: string;
|
|
78
|
+
gradient: string;
|
|
79
|
+
};
|
|
80
|
+
menu: {
|
|
81
|
+
background: string;
|
|
82
|
+
};
|
|
83
|
+
signature: {
|
|
84
|
+
penColor: string;
|
|
85
|
+
borderColor: string;
|
|
86
|
+
backgroundColor: string;
|
|
87
|
+
};
|
|
88
|
+
text: {
|
|
89
|
+
primary: string;
|
|
90
|
+
secondary: string;
|
|
91
|
+
};
|
|
92
|
+
input: {
|
|
93
|
+
background: string;
|
|
94
|
+
border: string;
|
|
95
|
+
borderHover: string;
|
|
96
|
+
borderFocus: string;
|
|
97
|
+
borderError: string;
|
|
98
|
+
borderDisabled: string;
|
|
99
|
+
text: string;
|
|
100
|
+
textDisabled: string;
|
|
101
|
+
placeholder: string;
|
|
102
|
+
};
|
|
103
|
+
textArea: {
|
|
104
|
+
background: string;
|
|
105
|
+
border: string;
|
|
106
|
+
borderHover: string;
|
|
107
|
+
borderFocus: string;
|
|
108
|
+
borderError: string;
|
|
109
|
+
borderDisabled: string;
|
|
110
|
+
text: string;
|
|
111
|
+
textDisabled: string;
|
|
112
|
+
placeholder: string;
|
|
113
|
+
};
|
|
114
|
+
dataGrid: {
|
|
115
|
+
hover: string;
|
|
116
|
+
};
|
|
117
|
+
action: {
|
|
118
|
+
hover: string;
|
|
119
|
+
};
|
|
120
|
+
divider: string;
|
|
121
|
+
};
|
|
122
|
+
header: {
|
|
123
|
+
color: string;
|
|
124
|
+
background: string;
|
|
125
|
+
search: {
|
|
126
|
+
color: string;
|
|
127
|
+
};
|
|
128
|
+
indicator: {
|
|
129
|
+
background: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
footer: {
|
|
133
|
+
color: string;
|
|
134
|
+
background: string;
|
|
135
|
+
};
|
|
136
|
+
sidebar: {
|
|
137
|
+
color: string;
|
|
138
|
+
background: string;
|
|
139
|
+
active: string;
|
|
140
|
+
header: {
|
|
141
|
+
color: string;
|
|
142
|
+
background: string;
|
|
143
|
+
brand: {
|
|
144
|
+
color: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
footer: {
|
|
148
|
+
color: string;
|
|
149
|
+
background: string;
|
|
150
|
+
online: {
|
|
151
|
+
background: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
badge: {
|
|
155
|
+
color: string;
|
|
156
|
+
background: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
scrollbar: {
|
|
160
|
+
track: string;
|
|
161
|
+
thumb: string;
|
|
162
|
+
thumbHover: string;
|
|
163
|
+
};
|
|
164
|
+
mfBorder: {
|
|
165
|
+
primary: string;
|
|
166
|
+
secondary: string;
|
|
167
|
+
};
|
|
168
|
+
zIndex: {
|
|
169
|
+
snackbar: number;
|
|
170
|
+
};
|
|
171
|
+
}[];
|
|
172
|
+
export default variants;
|