@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.
Files changed (135) hide show
  1. package/dist/Button/Button.js +11 -16
  2. package/dist/Button/index.js +1 -8
  3. package/dist/Calendar/Calendar.js +38 -66
  4. package/dist/Calendar/CalendarStyles.js +19 -25
  5. package/dist/Calendar/calendarHelpers.js +34 -46
  6. package/dist/Calendar/index.js +1 -8
  7. package/dist/CheckBox/CheckBox.js +9 -14
  8. package/dist/CheckBox/index.js +1 -8
  9. package/dist/DateInput/DateInput.js +46 -51
  10. package/dist/DateInput/index.js +1 -8
  11. package/dist/DropDownMenu/DropDownMenu.js +27 -32
  12. package/dist/DropDownMenu/index.js +1 -8
  13. package/dist/Error/Error.js +10 -15
  14. package/dist/Error/index.js +1 -8
  15. package/dist/FieldLabel/FieldLabel.js +8 -37
  16. package/dist/FieldLabel/index.js +1 -8
  17. package/dist/FileInputField/FileInputField.js +11 -16
  18. package/dist/FileInputField/index.js +1 -8
  19. package/dist/Flyout/Flyout.js +14 -18
  20. package/dist/Flyout/FlyoutHeader.js +3 -8
  21. package/dist/Flyout/FlyoutTitle.js +3 -8
  22. package/dist/Flyout/index.js +3 -12
  23. package/dist/FormSection/FormSection.js +8 -13
  24. package/dist/FormSection/index.js +1 -8
  25. package/dist/Grid/Grid.js +5 -10
  26. package/dist/Grid/index.js +1 -8
  27. package/dist/IconButton/IconButton.js +4 -9
  28. package/dist/IconButton/index.js +1 -8
  29. package/dist/Input/Input.js +6 -11
  30. package/dist/Input/index.js +1 -8
  31. package/dist/Modal/Modal.js +16 -20
  32. package/dist/Modal/index.js +1 -8
  33. package/dist/MonolithUIProvider/GlobalStyle.js +3 -5
  34. package/dist/MonolithUIProvider/MonolithUIProvider.js +14 -19
  35. package/dist/MonolithUIProvider/index.js +3 -12
  36. package/dist/MonolithUIProvider/useMonolithUITheme.js +4 -6
  37. package/dist/Pill/Pill.js +9 -14
  38. package/dist/Pill/index.js +1 -8
  39. package/dist/SelectBox/SelectBox.js +44 -50
  40. package/dist/SelectBox/index.js +1 -8
  41. package/dist/Switch/Switch.js +12 -39
  42. package/dist/Switch/index.js +1 -8
  43. package/dist/Table/Table.js +70 -78
  44. package/dist/Table/index.js +2 -10
  45. package/dist/TagBox/TagBox.js +40 -45
  46. package/dist/TagBox/TagBoxStyles.js +11 -17
  47. package/dist/TagBox/index.js +1 -8
  48. package/dist/TextArea/TextArea.js +4 -9
  49. package/dist/TextArea/index.js +1 -8
  50. package/dist/TextAreaInput/TextAreaInput.js +5 -7
  51. package/dist/TextAreaInput/index.js +1 -8
  52. package/dist/TextInput/TextInput.js +7 -12
  53. package/dist/TextInput/index.js +1 -8
  54. package/dist/Tooltip/Tooltip.js +6 -34
  55. package/dist/Tooltip/index.js +1 -8
  56. package/dist/core/ArrowButton.js +8 -13
  57. package/dist/core/ClearButton.js +8 -13
  58. package/dist/core/StyledContent.js +3 -8
  59. package/dist/core/StyledFloatContainer.js +3 -8
  60. package/dist/core/Types/Size.js +1 -2
  61. package/dist/core/Types/Variant.js +1 -2
  62. package/dist/core/index.js +4 -14
  63. package/dist/index.js +26 -59
  64. package/dist/theme/index.js +5 -9
  65. package/dist/theme/typography.js +1 -3
  66. package/dist/theme/variants.js +8 -14
  67. package/package.json +1 -1
  68. package/dist/Button/Button.d.ts +0 -19
  69. package/dist/Button/index.d.ts +0 -2
  70. package/dist/Calendar/Calendar.d.ts +0 -15
  71. package/dist/Calendar/CalendarStyles.d.ts +0 -36
  72. package/dist/Calendar/calendarHelpers.d.ts +0 -53
  73. package/dist/Calendar/index.d.ts +0 -1
  74. package/dist/CheckBox/CheckBox.d.ts +0 -13
  75. package/dist/CheckBox/index.d.ts +0 -1
  76. package/dist/DateInput/DateInput.d.ts +0 -24
  77. package/dist/DateInput/index.d.ts +0 -1
  78. package/dist/DropDownMenu/DropDownMenu.d.ts +0 -36
  79. package/dist/DropDownMenu/index.d.ts +0 -1
  80. package/dist/Error/Error.d.ts +0 -4
  81. package/dist/Error/index.d.ts +0 -1
  82. package/dist/FieldLabel/FieldLabel.d.ts +0 -19
  83. package/dist/FieldLabel/index.d.ts +0 -1
  84. package/dist/FileInputField/FileInputField.d.ts +0 -19
  85. package/dist/FileInputField/index.d.ts +0 -1
  86. package/dist/Flyout/Flyout.d.ts +0 -11
  87. package/dist/Flyout/FlyoutHeader.d.ts +0 -5
  88. package/dist/Flyout/FlyoutTitle.d.ts +0 -2
  89. package/dist/Flyout/index.d.ts +0 -3
  90. package/dist/FormSection/FormSection.d.ts +0 -9
  91. package/dist/FormSection/index.d.ts +0 -1
  92. package/dist/Grid/Grid.d.ts +0 -8
  93. package/dist/Grid/index.d.ts +0 -1
  94. package/dist/IconButton/IconButton.d.ts +0 -5
  95. package/dist/IconButton/index.d.ts +0 -1
  96. package/dist/Input/Input.d.ts +0 -21
  97. package/dist/Input/index.d.ts +0 -1
  98. package/dist/Modal/Modal.d.ts +0 -14
  99. package/dist/Modal/index.d.ts +0 -1
  100. package/dist/MonolithUIProvider/GlobalStyle.d.ts +0 -4
  101. package/dist/MonolithUIProvider/MonolithUIProvider.d.ts +0 -10
  102. package/dist/MonolithUIProvider/index.d.ts +0 -3
  103. package/dist/MonolithUIProvider/useMonolithUITheme.d.ts +0 -2
  104. package/dist/Pill/Pill.d.ts +0 -11
  105. package/dist/Pill/index.d.ts +0 -1
  106. package/dist/SelectBox/SelectBox.d.ts +0 -45
  107. package/dist/SelectBox/index.d.ts +0 -1
  108. package/dist/Switch/Switch.d.ts +0 -18
  109. package/dist/Switch/index.d.ts +0 -1
  110. package/dist/Table/Table.d.ts +0 -91
  111. package/dist/Table/index.d.ts +0 -2
  112. package/dist/TagBox/TagBox.d.ts +0 -39
  113. package/dist/TagBox/TagBoxStyles.d.ts +0 -11
  114. package/dist/TagBox/index.d.ts +0 -1
  115. package/dist/TextArea/TextArea.d.ts +0 -16
  116. package/dist/TextArea/index.d.ts +0 -1
  117. package/dist/TextAreaInput/TextAreaInput.d.ts +0 -19
  118. package/dist/TextAreaInput/index.d.ts +0 -1
  119. package/dist/TextInput/TextInput.d.ts +0 -13
  120. package/dist/TextInput/index.d.ts +0 -1
  121. package/dist/Tooltip/Tooltip.d.ts +0 -12
  122. package/dist/Tooltip/index.d.ts +0 -1
  123. package/dist/core/ArrowButton.d.ts +0 -6
  124. package/dist/core/ClearButton.d.ts +0 -6
  125. package/dist/core/MonolithThemeProvider.d.ts +0 -4
  126. package/dist/core/MonolithThemeProvider.js +0 -20
  127. package/dist/core/StyledContent.d.ts +0 -7
  128. package/dist/core/StyledFloatContainer.d.ts +0 -2
  129. package/dist/core/Types/Size.d.ts +0 -2
  130. package/dist/core/Types/Variant.d.ts +0 -2
  131. package/dist/core/index.d.ts +0 -6
  132. package/dist/index.d.ts +0 -26
  133. package/dist/theme/index.d.ts +0 -168
  134. package/dist/theme/typography.d.ts +0 -45
  135. package/dist/theme/variants.d.ts +0 -172
@@ -1,11 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from "./TagBox";
@@ -1,16 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from "./TextArea";
@@ -1,19 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from "./TextAreaInput";
@@ -1,13 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from "./TextInput";
@@ -1,12 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from "./Tooltip";
@@ -1,6 +0,0 @@
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;
@@ -1,6 +0,0 @@
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;
@@ -1,4 +0,0 @@
1
- export function MonolithThemeProvider({ children, theme }: {
2
- children: any;
3
- theme: any;
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.MonolithThemeProvider = void 0;
7
- const jsx_runtime_1 = require("react/jsx-runtime");
8
- const styled_components_1 = require("styled-components");
9
- const variants_1 = __importDefault(require("@monolith-ui/theme/variants"));
10
- const MonolithThemeProvider = ({ children, theme }) => {
11
- let selectedTheme = theme
12
- ? variants_1.default.find((variant) => variant.name === theme)
13
- : variants_1.default[1]; // Default to dark theme
14
- if (!selectedTheme) {
15
- console.warn(new Error(`The theme ${theme} is not valid`));
16
- selectedTheme = variants_1.default[1]; // Default to dark theme
17
- }
18
- return (0, jsx_runtime_1.jsx)(styled_components_1.ThemeProvider, { theme: selectedTheme, children: children });
19
- };
20
- exports.MonolithThemeProvider = MonolithThemeProvider;
@@ -1,7 +0,0 @@
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;
@@ -1,2 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- type Size = "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
2
- export default Size;
@@ -1,2 +0,0 @@
1
- type Variant = "default" | "contained" | "filled" | "light" | "outlined" | "text" | "subtle";
2
- export default Variant;
@@ -1,6 +0,0 @@
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 DELETED
@@ -1,26 +0,0 @@
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";
@@ -1,168 +0,0 @@
1
- declare const getTheme: (scheme: "light" | "dark") => {
2
- name: string;
3
- typography: {
4
- fontFamily: string;
5
- fontSize: number;
6
- fontWeightLight: number;
7
- fontWeightRegular: number;
8
- fontWeightMedium: number;
9
- fontWeightBold: number;
10
- h1: {
11
- fontSize: string;
12
- fontWeight: number;
13
- lineHeight: number;
14
- };
15
- h2: {
16
- fontSize: string;
17
- fontWeight: number;
18
- lineHeight: number;
19
- };
20
- h3: {
21
- fontSize: string;
22
- fontWeight: number;
23
- lineHeight: number;
24
- };
25
- h4: {
26
- fontSize: string;
27
- fontWeight: number;
28
- lineHeight: number;
29
- };
30
- h5: {
31
- fontSize: string;
32
- fontWeight: number;
33
- lineHeight: number;
34
- };
35
- h6: {
36
- fontSize: string;
37
- fontWeight: number;
38
- lineHeight: number;
39
- };
40
- body1: {
41
- fontSize: number;
42
- };
43
- button: {
44
- textTransform: string;
45
- };
46
- };
47
- palette: {
48
- mode: string;
49
- primary: {
50
- main: string;
51
- contrastText: string;
52
- };
53
- error: {
54
- main: string;
55
- contrastText: string;
56
- };
57
- secondary: {
58
- main: string;
59
- contrastText: string;
60
- };
61
- third: {
62
- main: string;
63
- contrastText: string;
64
- };
65
- fourth: {
66
- main: string;
67
- contrastText: string;
68
- };
69
- background: {
70
- default: string;
71
- paper: string;
72
- alt: string;
73
- secondary: string;
74
- gradient: string;
75
- };
76
- menu: {
77
- background: string;
78
- };
79
- signature: {
80
- penColor: string;
81
- borderColor: string;
82
- backgroundColor: string;
83
- };
84
- text: {
85
- primary: string;
86
- secondary: string;
87
- };
88
- input: {
89
- background: string;
90
- border: string;
91
- borderHover: string;
92
- borderFocus: string;
93
- borderError: string;
94
- borderDisabled: string;
95
- text: string;
96
- textDisabled: string;
97
- placeholder: string;
98
- };
99
- textArea: {
100
- background: string;
101
- border: string;
102
- borderHover: string;
103
- borderFocus: string;
104
- borderError: string;
105
- borderDisabled: string;
106
- text: string;
107
- textDisabled: string;
108
- placeholder: string;
109
- };
110
- dataGrid: {
111
- hover: string;
112
- };
113
- action: {
114
- hover: string;
115
- };
116
- divider: string;
117
- };
118
- header: {
119
- color: string;
120
- background: string;
121
- search: {
122
- color: string;
123
- };
124
- indicator: {
125
- background: string;
126
- };
127
- };
128
- footer: {
129
- color: string;
130
- background: string;
131
- };
132
- sidebar: {
133
- color: string;
134
- background: string;
135
- active: string;
136
- header: {
137
- color: string;
138
- background: string;
139
- brand: {
140
- color: string;
141
- };
142
- };
143
- footer: {
144
- color: string;
145
- background: string;
146
- online: {
147
- background: string;
148
- };
149
- };
150
- badge: {
151
- color: string;
152
- background: string;
153
- };
154
- };
155
- scrollbar: {
156
- track: string;
157
- thumb: string;
158
- thumbHover: string;
159
- };
160
- mfBorder: {
161
- primary: string;
162
- secondary: string;
163
- };
164
- zIndex: {
165
- snackbar: number;
166
- };
167
- } | undefined;
168
- export default getTheme;
@@ -1,45 +0,0 @@
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;
@@ -1,172 +0,0 @@
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;