@loopr-ai/craft 0.5.1 → 0.6.0
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/{ButtonBase-262628d1.js → ButtonBase-85c9347b.js} +1 -1
- package/dist/ZoomControllers-7fb8d495.js +3442 -0
- package/dist/components/cell/AvatarGroup/index.js +2 -2
- package/dist/components/cell/Button/index.js +2 -2
- package/dist/components/cell/Chip/index.js +3 -3
- package/dist/components/cell/ProgressBar/index.js +2 -2
- package/dist/components/cell/Search/index.js +4 -4
- package/dist/components/cell/Typography/index.d.ts +2 -1
- package/dist/components/cell/Typography/index.js +1 -1
- package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.d.ts +13 -0
- package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +5 -0
- package/dist/components/organ/ZoomControlWithDrag/index.d.ts +8 -14
- package/dist/components/organ/ZoomControlWithDrag/index.js +44 -3629
- package/dist/{createSvgIcon-5f0c7512.js → createSvgIcon-58aa3adf.js} +1 -1
- package/dist/{createSvgIcon-4ecd3248.js → createSvgIcon-70f9f72b.js} +3 -3
- package/dist/global/theme.d.ts +32 -11
- package/dist/global/theme.js +38 -22
- package/dist/{styled-d4863b7f.js → styled-126c6a62.js} +11 -13
- package/dist/{useTheme-3e8a77bb.js → useTheme-573c40a2.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as b, c as h, _ as w, a as y, P as o } from "./createTheme-a4db2989.js";
|
|
2
2
|
import * as v from "react";
|
|
3
3
|
import { jsxs as C, jsx as z } from "react/jsx-runtime";
|
|
4
|
-
import { g as T, s as N, a as R, c as O, b as B } from "./styled-
|
|
4
|
+
import { g as T, s as N, a as R, c as O, b as B } from "./styled-126c6a62.js";
|
|
5
5
|
function j(e) {
|
|
6
6
|
return b("MuiSvgIcon", e);
|
|
7
7
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { P as ce, a as fa, C as pb, c as vb, j as hb, _ as x0, k as mb } from "./createTheme-a4db2989.js";
|
|
2
|
-
import { c as lT } from "./styled-
|
|
2
|
+
import { c as lT } from "./styled-126c6a62.js";
|
|
3
3
|
import { s as y0, c as g0, b as yb, u as Lm, a as gb, _ as Sb, T as gT } from "./TransitionGroupContext-fe9a562f.js";
|
|
4
4
|
import * as Vt from "react";
|
|
5
5
|
import rf from "react";
|
|
6
6
|
import { jsx as S0 } from "react/jsx-runtime";
|
|
7
7
|
import { e as Eb } from "./exactProp-d79ccada.js";
|
|
8
|
-
import { u as Cb } from "./useTheme-
|
|
8
|
+
import { u as Cb } from "./useTheme-573c40a2.js";
|
|
9
9
|
import { c as ST } from "./chainPropTypes-004bf492.js";
|
|
10
|
-
import { c as Tb } from "./createSvgIcon-
|
|
10
|
+
import { c as Tb } from "./createSvgIcon-58aa3adf.js";
|
|
11
11
|
import { u as Rb } from "./unsupportedProp-3dbf01f6.js";
|
|
12
12
|
function xb(O) {
|
|
13
13
|
const {
|
package/dist/global/theme.d.ts
CHANGED
|
@@ -2,34 +2,55 @@ export declare const defaultTheme: import("@mui/material").Theme;
|
|
|
2
2
|
export declare const fontCustomizations: {
|
|
3
3
|
headingLarge: {
|
|
4
4
|
fontWeight: string;
|
|
5
|
-
fontSize:
|
|
5
|
+
fontSize: {
|
|
6
|
+
sm: string;
|
|
7
|
+
md: string;
|
|
8
|
+
};
|
|
6
9
|
};
|
|
7
10
|
headingMedium: {
|
|
8
11
|
fontWeight: string;
|
|
9
|
-
fontSize:
|
|
12
|
+
fontSize: {
|
|
13
|
+
sm: string;
|
|
14
|
+
md: string;
|
|
15
|
+
};
|
|
10
16
|
};
|
|
11
17
|
headingSmall: {
|
|
12
18
|
fontWeight: string;
|
|
13
|
-
fontSize:
|
|
19
|
+
fontSize: {
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
};
|
|
14
23
|
};
|
|
15
24
|
bodyText: {
|
|
16
25
|
fontWeight: string;
|
|
17
|
-
fontSize:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
26
|
+
fontSize: {
|
|
27
|
+
sm: string;
|
|
28
|
+
md: string;
|
|
29
|
+
};
|
|
21
30
|
};
|
|
22
31
|
boldText: {
|
|
23
32
|
fontWeight: string;
|
|
24
|
-
fontSize:
|
|
33
|
+
fontSize: {
|
|
34
|
+
sm: string;
|
|
35
|
+
md: string;
|
|
36
|
+
};
|
|
25
37
|
};
|
|
26
38
|
subtitleNormal: {
|
|
27
|
-
fontSize:
|
|
39
|
+
fontSize: {
|
|
40
|
+
sm: string;
|
|
41
|
+
md: string;
|
|
42
|
+
};
|
|
28
43
|
};
|
|
29
44
|
subtitleSmall: {
|
|
30
|
-
fontSize:
|
|
45
|
+
fontSize: {
|
|
46
|
+
sm: string;
|
|
47
|
+
md: string;
|
|
48
|
+
};
|
|
31
49
|
};
|
|
32
50
|
helperText: {
|
|
33
|
-
fontSize:
|
|
51
|
+
fontSize: {
|
|
52
|
+
sm: string;
|
|
53
|
+
md: string;
|
|
54
|
+
};
|
|
34
55
|
};
|
|
35
56
|
};
|
package/dist/global/theme.js
CHANGED
|
@@ -16,61 +16,77 @@ const f = {
|
|
|
16
16
|
A400: "#ffea00",
|
|
17
17
|
A700: "#ffd600"
|
|
18
18
|
}, t = f;
|
|
19
|
-
const
|
|
19
|
+
const n = e({
|
|
20
20
|
palette: {
|
|
21
|
+
// define other things related to the theme/color here
|
|
21
22
|
primary: {
|
|
22
23
|
main: "#3C4FE0",
|
|
23
24
|
dark: "#3F4DBA",
|
|
24
25
|
contrastText: "white"
|
|
25
26
|
},
|
|
26
27
|
secondary: {
|
|
27
|
-
// light: yellow[400],
|
|
28
28
|
main: t[500]
|
|
29
|
-
// dark: yellow[700],
|
|
30
|
-
// contrastText: '#fff'
|
|
31
29
|
}
|
|
32
30
|
},
|
|
33
31
|
typography: {
|
|
34
32
|
fontFamily: "DM Sans, sans-serif"
|
|
35
33
|
}
|
|
36
|
-
}),
|
|
34
|
+
}), r = {
|
|
37
35
|
headingLarge: {
|
|
38
36
|
fontWeight: "700",
|
|
39
|
-
fontSize:
|
|
37
|
+
fontSize: {
|
|
38
|
+
sm: "1.375rem",
|
|
39
|
+
md: "1.5rem"
|
|
40
|
+
}
|
|
40
41
|
},
|
|
41
42
|
headingMedium: {
|
|
42
43
|
fontWeight: "700",
|
|
43
|
-
fontSize:
|
|
44
|
+
fontSize: {
|
|
45
|
+
sm: "1.125rem",
|
|
46
|
+
md: "1.25rem"
|
|
47
|
+
}
|
|
44
48
|
},
|
|
45
49
|
headingSmall: {
|
|
46
|
-
fontWeight: "
|
|
47
|
-
fontSize:
|
|
50
|
+
fontWeight: "700",
|
|
51
|
+
fontSize: {
|
|
52
|
+
sm: "1rem",
|
|
53
|
+
md: "1.125rem"
|
|
54
|
+
}
|
|
48
55
|
},
|
|
49
56
|
bodyText: {
|
|
50
57
|
fontWeight: "400",
|
|
51
|
-
fontSize:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
fontSize: "0.875rem"
|
|
58
|
+
fontSize: {
|
|
59
|
+
sm: "0.875rem",
|
|
60
|
+
md: "1rem"
|
|
61
|
+
}
|
|
56
62
|
},
|
|
57
63
|
boldText: {
|
|
58
64
|
fontWeight: "700",
|
|
59
|
-
fontSize:
|
|
65
|
+
fontSize: {
|
|
66
|
+
sm: "0.875rem",
|
|
67
|
+
md: "1rem"
|
|
68
|
+
}
|
|
60
69
|
},
|
|
61
70
|
subtitleNormal: {
|
|
62
|
-
|
|
63
|
-
|
|
71
|
+
fontSize: {
|
|
72
|
+
sm: "0.75rem",
|
|
73
|
+
md: "0.875rem"
|
|
74
|
+
}
|
|
64
75
|
},
|
|
65
76
|
subtitleSmall: {
|
|
66
|
-
|
|
67
|
-
|
|
77
|
+
fontSize: {
|
|
78
|
+
sm: "0.625rem",
|
|
79
|
+
md: "0.75rem"
|
|
80
|
+
}
|
|
68
81
|
},
|
|
69
82
|
helperText: {
|
|
70
|
-
fontSize:
|
|
83
|
+
fontSize: {
|
|
84
|
+
sm: "0.5rem",
|
|
85
|
+
md: "0.625rem"
|
|
86
|
+
}
|
|
71
87
|
}
|
|
72
88
|
};
|
|
73
89
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
90
|
+
n as defaultTheme,
|
|
91
|
+
r as fontCustomizations
|
|
76
92
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as E, g as we, h as re, _ as ne, c as z, s as Ce, f as xe } from "./createTheme-a4db2989.js";
|
|
2
2
|
import { m as ke, w as Oe, a as $e, g as Ae, s as Fe, r as Me, b as Ie, i as Le, c as Ne, T as oe } from "./useThemeWithoutDefault-188598a8.js";
|
|
3
3
|
import * as F from "react";
|
|
4
|
-
var
|
|
4
|
+
var j = { exports: {} }, f = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
7
7
|
* react-is.production.min.js
|
|
@@ -104,8 +104,8 @@ function ze() {
|
|
|
104
104
|
}
|
|
105
105
|
function y(s) {
|
|
106
106
|
if (typeof s == "object" && s !== null) {
|
|
107
|
-
var
|
|
108
|
-
switch (
|
|
107
|
+
var V = s.$$typeof;
|
|
108
|
+
switch (V) {
|
|
109
109
|
case e:
|
|
110
110
|
var D = s.type;
|
|
111
111
|
switch (D) {
|
|
@@ -126,11 +126,11 @@ function ze() {
|
|
|
126
126
|
case l:
|
|
127
127
|
return W;
|
|
128
128
|
default:
|
|
129
|
-
return
|
|
129
|
+
return V;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
case t:
|
|
133
|
-
return
|
|
133
|
+
return V;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
@@ -180,21 +180,21 @@ function ze() {
|
|
|
180
180
|
d.ContextConsumer = w, d.ContextProvider = O, d.Element = $, d.ForwardRef = C, d.Fragment = u, d.Lazy = x, d.Memo = L, d.Portal = N, d.Profiler = Y, d.StrictMode = A, d.Suspense = ue, d.SuspenseList = fe, d.isAsyncMode = de, d.isConcurrentMode = me, d.isContextConsumer = pe, d.isContextProvider = he, d.isElement = ye, d.isForwardRef = ve, d.isFragment = ge, d.isLazy = Se, d.isMemo = _e, d.isPortal = be, d.isProfiler = Ee, d.isStrictMode = Te, d.isSuspense = Pe, d.isSuspenseList = Re, d.isValidElementType = _, d.typeOf = y;
|
|
181
181
|
}()), d;
|
|
182
182
|
}
|
|
183
|
-
process.env.NODE_ENV === "production" ?
|
|
184
|
-
var G =
|
|
183
|
+
process.env.NODE_ENV === "production" ? j.exports = De() : j.exports = ze();
|
|
184
|
+
var G = j.exports;
|
|
185
185
|
const Ye = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
186
|
-
function
|
|
186
|
+
function Ve(e) {
|
|
187
187
|
const t = `${e}`.match(Ye);
|
|
188
188
|
return t && t[1] || "";
|
|
189
189
|
}
|
|
190
190
|
function ie(e, t = "") {
|
|
191
|
-
return e.displayName || e.name ||
|
|
191
|
+
return e.displayName || e.name || Ve(e) || t;
|
|
192
192
|
}
|
|
193
193
|
function K(e, t, n) {
|
|
194
194
|
const r = ie(t);
|
|
195
195
|
return e.displayName || (r !== "" ? `${n}(${r})` : n);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function je(e) {
|
|
198
198
|
if (e != null) {
|
|
199
199
|
if (typeof e == "string")
|
|
200
200
|
return e;
|
|
@@ -639,7 +639,7 @@ function ct(e = {}) {
|
|
|
639
639
|
const C = k(O, ...w);
|
|
640
640
|
if (process.env.NODE_ENV !== "production") {
|
|
641
641
|
let u;
|
|
642
|
-
m && (u = `${m}${z(h || "")}`), u === void 0 && (u = `Styled(${
|
|
642
|
+
m && (u = `${m}${z(h || "")}`), u === void 0 && (u = `Styled(${je(a)})`), C.displayName = u;
|
|
643
643
|
}
|
|
644
644
|
return a.muiName && (C.muiName = a.muiName), C;
|
|
645
645
|
};
|
|
@@ -694,8 +694,6 @@ export {
|
|
|
694
694
|
gt as g,
|
|
695
695
|
bt as h,
|
|
696
696
|
Ke as i,
|
|
697
|
-
ct as j,
|
|
698
|
-
ft as k,
|
|
699
697
|
mt as r,
|
|
700
698
|
Et as s,
|
|
701
699
|
Qe as u
|