@loopr-ai/craft 0.7.0 → 0.7.2
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/Box-8cd400c2.js +58 -0
- package/dist/{ButtonBase-c303b1df.js → ButtonBase-fc1e48eb.js} +3 -3
- package/dist/{Grow-d188a215.js → Grow-a906cda2.js} +5 -5
- package/dist/{TextField-b13f5aff.js → TextField-a534df29.js} +7 -7
- package/dist/{TransitionGroupContext-7cd3ef83.js → TransitionGroupContext-ba502e63.js} +1 -1
- package/dist/{Typography-c0106ed0.js → Typography-65e5f8a8.js} +8 -8
- package/dist/{ZoomControllers-2e737c18.js → ZoomControllers-8a147df0.js} +1065 -1114
- package/dist/components/cell/AvatarGroup/index.js +3 -3
- package/dist/components/cell/Button/index.js +3 -3
- package/dist/components/cell/Chip/index.js +5 -5
- package/dist/components/cell/ProgressBar/index.js +3 -3
- package/dist/components/cell/Search/index.js +2 -2
- package/dist/components/cell/Typography/index.js +1 -1
- package/dist/components/organ/Form/FieldInput.js +115 -113
- package/dist/components/organ/Form/Form.interfaces.d.ts +2 -0
- package/dist/components/organ/Form/Form.styles.d.ts +2 -2
- package/dist/components/organ/Form/Form.styles.js +1 -1
- package/dist/components/organ/Form/Form.utils.d.ts +1 -0
- package/dist/components/organ/Form/Form.utils.js +20 -15
- package/dist/components/organ/Form/index.d.ts +3 -1
- package/dist/components/organ/Form/index.js +84 -72
- package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +3 -2
- package/dist/components/organ/ZoomControlWithDrag/index.js +18 -17
- package/dist/{createSvgIcon-78477fc1.js → createSvgIcon-8e5d9dc7.js} +6 -6
- package/dist/{createSvgIcon-5180e4db.js → createSvgIcon-bb3d4825.js} +5 -5
- package/dist/{createTheme-54078d82.js → createTheme-ca1567c6.js} +4 -4
- package/dist/{dividerClasses-68f129df.js → dividerClasses-0233db5a.js} +2 -2
- package/dist/{exactProp-893ad662.js → exactProp-3d9df1ae.js} +1 -1
- package/dist/{extendSxProp-8c660b3a.js → extendSxProp-fc2654e5.js} +1 -1
- package/dist/global/theme.js +1 -1
- package/dist/providers/CraftThemeProvider.js +2 -2
- package/dist/{styled-2bc0b59e.js → styled-80b57810.js} +38 -38
- package/dist/{useTheme-e2efed29.js → useTheme-16446f25.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { s as h, _ as T, a as B, c as N, C as y, P as e } from "./createTheme-ca1567c6.js";
|
|
2
|
+
import { T as _ } from "./useThemeWithoutDefault-188598a8.js";
|
|
3
|
+
import * as C from "react";
|
|
4
|
+
import { s as P, u as b, c as j } from "./styled-80b57810.js";
|
|
5
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
6
|
+
import { e as E } from "./extendSxProp-fc2654e5.js";
|
|
7
|
+
const O = ["className", "component"];
|
|
8
|
+
function g(m = {}) {
|
|
9
|
+
const {
|
|
10
|
+
themeId: t,
|
|
11
|
+
defaultTheme: d,
|
|
12
|
+
defaultClassName: a = "MuiBox-root",
|
|
13
|
+
generateClassName: r
|
|
14
|
+
} = m, x = P("div", {
|
|
15
|
+
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
|
16
|
+
})(h);
|
|
17
|
+
return /* @__PURE__ */ C.forwardRef(function(f, l) {
|
|
18
|
+
const s = b(d), n = E(f), {
|
|
19
|
+
className: p,
|
|
20
|
+
component: u = "div"
|
|
21
|
+
} = n, i = T(n, O);
|
|
22
|
+
return /* @__PURE__ */ v(x, B({
|
|
23
|
+
as: u,
|
|
24
|
+
ref: l,
|
|
25
|
+
className: j(p, r ? r(a) : a),
|
|
26
|
+
theme: t && s[t] || s
|
|
27
|
+
}, i));
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
const I = N(), c = g({
|
|
31
|
+
themeId: _,
|
|
32
|
+
defaultTheme: I,
|
|
33
|
+
defaultClassName: "MuiBox-root",
|
|
34
|
+
generateClassName: y.generate
|
|
35
|
+
});
|
|
36
|
+
process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
37
|
+
// ----------------------------- Warning --------------------------------
|
|
38
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
39
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
40
|
+
// ----------------------------------------------------------------------
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
44
|
+
children: e.node,
|
|
45
|
+
/**
|
|
46
|
+
* The component used for the root node.
|
|
47
|
+
* Either a string to use a HTML element or a component.
|
|
48
|
+
*/
|
|
49
|
+
component: e.elementType,
|
|
50
|
+
/**
|
|
51
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
52
|
+
*/
|
|
53
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
54
|
+
});
|
|
55
|
+
const G = c;
|
|
56
|
+
export {
|
|
57
|
+
G as B
|
|
58
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Y, _ as ie, P as e, g as Xe } from "./createTheme-
|
|
1
|
+
import { a as Y, _ as ie, P as e, g as Xe } from "./createTheme-ca1567c6.js";
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import W, { Children as Ye, isValidElement as G, cloneElement as J } from "react";
|
|
4
|
-
import { c as x, g as Te,
|
|
4
|
+
import { c as x, g as Te, a as re, b as ye, e as Ae } from "./styled-80b57810.js";
|
|
5
5
|
import { jsx as I, jsxs as qe } from "react/jsx-runtime";
|
|
6
6
|
import { k as se } from "./emotion-react.browser.esm-ff33c213.js";
|
|
7
|
-
import { _ as We, T as de, u as he, c as He, b as H, r as Ge, e as Je } from "./TransitionGroupContext-
|
|
7
|
+
import { _ as We, T as de, u as he, c as He, b as H, r as Ge, e as Je } from "./TransitionGroupContext-ba502e63.js";
|
|
8
8
|
function Qe(t) {
|
|
9
9
|
if (t === void 0)
|
|
10
10
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Vt from "react";
|
|
2
2
|
import rf from "react";
|
|
3
|
-
import { P as se, k as sb, _ as E0, a as _a } from "./createTheme-
|
|
4
|
-
import { c as rT } from "./styled-
|
|
5
|
-
import { _ as cb, T as mT, u as C0, a as aT, s as iT } from "./TransitionGroupContext-
|
|
3
|
+
import { P as se, k as sb, _ as E0, a as _a } from "./createTheme-ca1567c6.js";
|
|
4
|
+
import { c as rT } from "./styled-80b57810.js";
|
|
5
|
+
import { _ as cb, T as mT, u as C0, a as aT, s as iT } from "./TransitionGroupContext-ba502e63.js";
|
|
6
6
|
import { jsx as h0 } from "react/jsx-runtime";
|
|
7
|
-
import { e as fb } from "./exactProp-
|
|
8
|
-
import { u as db } from "./useTheme-
|
|
7
|
+
import { e as fb } from "./exactProp-3d9df1ae.js";
|
|
8
|
+
import { u as db } from "./useTheme-16446f25.js";
|
|
9
9
|
import { c as yT } from "./chainPropTypes-004bf492.js";
|
|
10
10
|
function pb(M) {
|
|
11
11
|
const {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { P as e, g as ie, a as l,
|
|
1
|
+
import { P as e, g as ie, a as l, f as Oo, _ as G, b as ue, m as Wo, n as ao } from "./createTheme-ca1567c6.js";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { u as In, g as le,
|
|
3
|
+
import { u as In, g as le, a as A, b as ce, c as re, e as ae, d as Nn, r as ke, h as co, i as wn } from "./styled-80b57810.js";
|
|
4
4
|
import { jsx as N, jsxs as ge } from "react/jsx-runtime";
|
|
5
|
-
import { o as he, e as uo, a as Se, f as Sn, c as Co, d as Vo, r as kn, g as io, T as Mn, h as Fn, j as Ro, k as $e, P as $n, H as Ge, i as to, G as Ln, b as Po, u as Dn } from "./Grow-
|
|
6
|
-
import { u as po } from "./useTheme-
|
|
7
|
-
import { u as Ce, b as Io, a as fo, e as Uo, r as Ie } from "./TransitionGroupContext-
|
|
8
|
-
import { e as jn } from "./exactProp-
|
|
5
|
+
import { o as he, e as uo, a as Se, f as Sn, c as Co, d as Vo, r as kn, g as io, T as Mn, h as Fn, j as Ro, k as $e, P as $n, H as Ge, i as to, G as Ln, b as Po, u as Dn } from "./Grow-a906cda2.js";
|
|
6
|
+
import { u as po } from "./useTheme-16446f25.js";
|
|
7
|
+
import { u as Ce, b as Io, a as fo, e as Uo, r as Ie } from "./TransitionGroupContext-ba502e63.js";
|
|
8
|
+
import { e as jn } from "./exactProp-3d9df1ae.js";
|
|
9
9
|
import { c as Ho } from "./chainPropTypes-004bf492.js";
|
|
10
|
-
import { c as An } from "./createSvgIcon-
|
|
10
|
+
import { c as An } from "./createSvgIcon-bb3d4825.js";
|
|
11
11
|
import { T as Bn } from "./useThemeWithoutDefault-188598a8.js";
|
|
12
12
|
import { G as _n } from "./emotion-react.browser.esm-ff33c213.js";
|
|
13
13
|
function qo(o) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as M,
|
|
1
|
+
import { g as M, b as f, a as s, _ as W, P as t } from "./createTheme-ca1567c6.js";
|
|
2
2
|
import * as C from "react";
|
|
3
|
-
import { g as O,
|
|
3
|
+
import { g as O, a as j, b as P, c as N, e as R } from "./styled-80b57810.js";
|
|
4
4
|
import { jsx as _ } from "react/jsx-runtime";
|
|
5
|
-
import { e as U } from "./extendSxProp-
|
|
5
|
+
import { e as U } from "./extendSxProp-fc2654e5.js";
|
|
6
6
|
function D(a) {
|
|
7
7
|
return M("MuiTypography", a);
|
|
8
8
|
}
|
|
@@ -64,7 +64,7 @@ const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
64
64
|
secondary: "secondary.main",
|
|
65
65
|
textSecondary: "text.secondary",
|
|
66
66
|
error: "error.main"
|
|
67
|
-
}, z = (a) => $[a] || a,
|
|
67
|
+
}, z = (a) => $[a] || a, b = /* @__PURE__ */ C.forwardRef(function(o, r) {
|
|
68
68
|
const e = P({
|
|
69
69
|
props: o,
|
|
70
70
|
name: "MuiTypography"
|
|
@@ -74,7 +74,7 @@ const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
74
74
|
align: h = "inherit",
|
|
75
75
|
className: p,
|
|
76
76
|
component: l,
|
|
77
|
-
gutterBottom:
|
|
77
|
+
gutterBottom: d = !1,
|
|
78
78
|
noWrap: v = !1,
|
|
79
79
|
paragraph: c = !1,
|
|
80
80
|
variant: g = "body1",
|
|
@@ -84,7 +84,7 @@ const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
84
84
|
color: i,
|
|
85
85
|
className: p,
|
|
86
86
|
component: l,
|
|
87
|
-
gutterBottom:
|
|
87
|
+
gutterBottom: d,
|
|
88
88
|
noWrap: v,
|
|
89
89
|
paragraph: c,
|
|
90
90
|
variant: g,
|
|
@@ -97,7 +97,7 @@ const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
|
|
|
97
97
|
className: N(B.root, p)
|
|
98
98
|
}, T));
|
|
99
99
|
});
|
|
100
|
-
process.env.NODE_ENV !== "production" && (
|
|
100
|
+
process.env.NODE_ENV !== "production" && (b.propTypes = {
|
|
101
101
|
// ----------------------------- Warning --------------------------------
|
|
102
102
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
103
103
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -172,7 +172,7 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
172
172
|
*/
|
|
173
173
|
variantMapping: t.object
|
|
174
174
|
});
|
|
175
|
-
const w =
|
|
175
|
+
const w = b;
|
|
176
176
|
export {
|
|
177
177
|
w as M
|
|
178
178
|
};
|