treege 0.6.2 → 0.6.4

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/treege/releases)
2
2
 
3
- ## v0.6.2
4
- - Upgrade design system
3
+ ## v0.6.4
4
+ - Improve theme options
@@ -0,0 +1,3 @@
1
+ import type { ThemeOptions } from "design-system-tracktor";
2
+ declare const darkTheme: ThemeOptions;
3
+ export default darkTheme;
@@ -1,12 +1,10 @@
1
1
  declare const colors: {
2
- backgroundPrimary: string;
3
- borderLight: string;
4
- borderMedium: string;
5
- error: string;
2
+ background: string;
3
+ borderBlue: string;
4
+ borderGrey: string;
6
5
  grey500: string;
7
- primaryMain: string;
8
- secondaryLight: string;
9
- secondaryMain: string;
10
- tertiaryMain: string;
6
+ primary: string;
7
+ secondary: string;
8
+ tertiary: string;
11
9
  };
12
10
  export default colors;
@@ -5,7 +5,7 @@ export declare const snackbarReducerActionType: {
5
5
  };
6
6
  export declare const openSnackbar: (message: SnackbarState["message"], severity?: SnackbarState["severity"]) => {
7
7
  message: string | undefined;
8
- severity: "error" | "warning" | "info" | "success";
8
+ severity: "success" | "error" | "info" | "warning";
9
9
  type: "openSnackbar";
10
10
  };
11
11
  export declare const closeSnackbar: () => {
@@ -18,6 +18,6 @@ declare const snackbarReducer: (snackbar: SnackbarState, action: any) => {
18
18
  } | {
19
19
  open: boolean;
20
20
  message?: string | undefined;
21
- severity?: ("error" | "warning" | "info" | "success") | undefined;
21
+ severity?: ("success" | "error" | "info" | "warning") | undefined;
22
22
  };
23
23
  export default snackbarReducer;
@@ -40,7 +40,7 @@ declare const useFormTreeCardMutation: () => {
40
40
  required: boolean;
41
41
  step: string;
42
42
  treeSelected: string;
43
- type: "number" | "text" | "email" | "file" | "password" | "tel" | "address" | "url" | "date" | "time" | "switch" | "checkbox" | "radio" | "select" | "hidden" | "tree";
43
+ type: "number" | "text" | "address" | "select" | "time" | "switch" | "hidden" | "checkbox" | "radio" | "tree" | "tel" | "url" | "email" | "file" | "password" | "date";
44
44
  uniqueNameErrorMessage: string;
45
45
  values: {
46
46
  id: string;