@magemetrics/ai 0.0.26 → 0.0.28
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/react/ai.js +4222 -4155
- package/dist/react/index.d.ts +11 -12
- package/dist/web-component/{browser-DH4vNXth.js → browser-yp_VhCQy.js} +1 -1
- package/dist/web-component/{web-component-DFk4C9tv.js → web-component-J_lmvPsd.js} +254 -208
- package/dist/web-component/web-component.es.d.ts +4 -0
- package/dist/web-component/web-component.es.js +4 -3
- package/package.json +1 -21
package/dist/react/index.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
+
import { colorsTuple } from '@mantine/core';
|
|
1
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { default as default_2 } from 'react';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { MantineColorsTuple } from '@mantine/core';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
apiKey: string;
|
|
7
|
-
externalJWT: string;
|
|
8
|
-
apiUrl: string;
|
|
9
|
-
display?: string;
|
|
10
|
-
};
|
|
6
|
+
export { colorsTuple }
|
|
11
7
|
|
|
12
8
|
declare type ControlledModalProps = {
|
|
13
9
|
visible: boolean;
|
|
@@ -21,11 +17,6 @@ declare type DisplayControlProps = {
|
|
|
21
17
|
|
|
22
18
|
export declare const logout: () => Promise<void>;
|
|
23
19
|
|
|
24
|
-
export declare const MageMetricsDataTable: default_2.FC<{
|
|
25
|
-
flowId: string;
|
|
26
|
-
flowDataId: number;
|
|
27
|
-
} & AppWrapperProps>;
|
|
28
|
-
|
|
29
20
|
export declare const MageMetricsModal: (props: MageMetricsModalProps) => JSX.Element;
|
|
30
21
|
|
|
31
22
|
declare type MageMetricsModalProps = ComponentPropsWithoutRef<typeof MainModal> & {
|
|
@@ -39,10 +30,18 @@ declare const MainModal: React.FC<{
|
|
|
39
30
|
persist?: PersistenceOptions;
|
|
40
31
|
modal?: ControlledModalProps;
|
|
41
32
|
startOptions?: DisplayControlProps;
|
|
33
|
+
themeColors?: ThemeColors;
|
|
42
34
|
}>;
|
|
43
35
|
|
|
44
36
|
declare type PersistenceOptions = "localStorage" | "queryParam" | "none";
|
|
45
37
|
|
|
38
|
+
declare type ThemeColors = {
|
|
39
|
+
primary: MantineColorsTuple;
|
|
40
|
+
secondary: MantineColorsTuple;
|
|
41
|
+
darkAccent: MantineColorsTuple;
|
|
42
|
+
lightAccent: MantineColorsTuple;
|
|
43
|
+
};
|
|
44
|
+
|
|
46
45
|
export { }
|
|
47
46
|
|
|
48
47
|
|