@loopr-ai/craft 0.7.1 → 0.7.3

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 (42) hide show
  1. package/dist/{ButtonBase-fc1e48eb.js → ButtonBase-85c9347b.js} +3 -3
  2. package/dist/{TextField-a534df29.js → TextField-fded06e5.js} +7 -7
  3. package/dist/Tooltip-b926c320.js +2022 -0
  4. package/dist/{TransitionGroupContext-ba502e63.js → TransitionGroupContext-fe9a562f.js} +3 -3
  5. package/dist/ZoomControllers-36e39bb0.js +1432 -0
  6. package/dist/components/cell/AvatarGroup/index.js +3 -3
  7. package/dist/components/cell/Button/index.js +3 -3
  8. package/dist/components/cell/Chip/index.js +5 -5
  9. package/dist/components/cell/ProgressBar/index.js +3 -3
  10. package/dist/components/cell/Search/index.js +2 -2
  11. package/dist/components/cell/Typography/index.js +5 -19
  12. package/dist/components/organ/Form/Form.interfaces.d.ts +8 -6
  13. package/dist/components/organ/Form/Form.styles.d.ts +99 -2
  14. package/dist/components/organ/Form/Form.styles.js +99 -4
  15. package/dist/components/organ/Form/Form.utils.d.ts +1 -0
  16. package/dist/components/organ/Form/Form.utils.js +20 -15
  17. package/dist/components/organ/Form/FormInput.js +517 -0
  18. package/dist/components/organ/Form/index.js +161 -108
  19. package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +2 -2
  20. package/dist/components/organ/ZoomControlWithDrag/index.js +2 -2
  21. package/dist/{createSvgIcon-bb3d4825.js → createSvgIcon-58aa3adf.js} +5 -5
  22. package/dist/{Grow-a906cda2.js → createSvgIcon-f773ce57.js} +4020 -3944
  23. package/dist/{createTheme-ca1567c6.js → createTheme-a4db2989.js} +7 -7
  24. package/dist/{exactProp-3d9df1ae.js → exactProp-d79ccada.js} +1 -1
  25. package/dist/{extendSxProp-fc2654e5.js → extendSxProp-db8b9da5.js} +1 -1
  26. package/dist/global/colors.d.ts +5 -0
  27. package/dist/global/colors.js +11 -6
  28. package/dist/global/constants.d.ts +3 -0
  29. package/dist/global/constants.js +6 -1
  30. package/dist/global/theme.js +1 -1
  31. package/dist/{Typography-65e5f8a8.js → index-03287c17.js} +61 -45
  32. package/dist/main.js +10 -10
  33. package/dist/providers/CraftThemeProvider.js +2 -2
  34. package/dist/{styled-80b57810.js → styled-126c6a62.js} +49 -49
  35. package/dist/{useTheme-16446f25.js → useTheme-573c40a2.js} +1 -1
  36. package/package.json +1 -1
  37. package/dist/Box-8cd400c2.js +0 -58
  38. package/dist/ZoomControllers-8a147df0.js +0 -3390
  39. package/dist/components/organ/Form/FieldInput.js +0 -440
  40. package/dist/createSvgIcon-8e5d9dc7.js +0 -81
  41. package/dist/dividerClasses-0233db5a.js +0 -10
  42. /package/dist/components/organ/Form/{FieldInput.d.ts → FormInput.d.ts} +0 -0
@@ -2204,16 +2204,16 @@ export {
2204
2204
  ue as P,
2205
2205
  se as _,
2206
2206
  U as a,
2207
- bt as b,
2208
- En as c,
2207
+ qr as b,
2208
+ bt as c,
2209
2209
  Ge as d,
2210
- qr as e,
2211
- On as f,
2210
+ On as e,
2211
+ En as f,
2212
2212
  Ft as g,
2213
- vn as h,
2213
+ zr as h,
2214
2214
  oe as i,
2215
- zr as j,
2216
- It as k,
2215
+ It as j,
2216
+ vn as k,
2217
2217
  Fr as l,
2218
2218
  ae as m,
2219
2219
  F as n,
@@ -1,4 +1,4 @@
1
- import { a as n } from "./createTheme-ca1567c6.js";
1
+ import { a as n } from "./createTheme-a4db2989.js";
2
2
  const s = "exact-prop: ​";
3
3
  function u(e) {
4
4
  return process.env.NODE_ENV === "production" ? e : n({}, e, {
@@ -1,4 +1,4 @@
1
- import { _ as a, a as i, d as c, i as f } from "./createTheme-ca1567c6.js";
1
+ import { _ as a, a as i, d as c, i as f } from "./createTheme-a4db2989.js";
2
2
  const x = ["sx"], P = (t) => {
3
3
  var s, o;
4
4
  const n = {
@@ -11,6 +11,11 @@ export declare const customColors: {
11
11
  disabled: string;
12
12
  hover: string;
13
13
  modify: string;
14
+ redLight: string;
15
+ redMedium: string;
16
+ lightGrey: string;
17
+ darkGrey: string;
18
+ borderGrey: string;
14
19
  };
15
20
  export type CustomColors = keyof typeof customColors;
16
21
  export declare function getColorToHex(color: CustomColors): string;
@@ -1,5 +1,5 @@
1
1
  import { defaultTheme as e } from "./theme.js";
2
- const a = {
2
+ const t = {
3
3
  primary: e.palette.primary.main,
4
4
  secondary: e.palette.secondary.main,
5
5
  error: e.palette.error.main,
@@ -11,12 +11,17 @@ const a = {
11
11
  black: "#373131",
12
12
  disabled: "#C4C4C4",
13
13
  hover: "#3C4DBA",
14
- modify: "#EFF3FF"
14
+ modify: "#EFF3FF",
15
+ redLight: "#FEE6DD",
16
+ redMedium: "#fe404c",
17
+ lightGrey: "#F3F7F7",
18
+ darkGrey: "#6F6F6F",
19
+ borderGrey: "#E9F0F0"
15
20
  };
16
- function o(r) {
17
- return a[r];
21
+ function i(r) {
22
+ return t[r];
18
23
  }
19
24
  export {
20
- a as customColors,
21
- o as getColorToHex
25
+ t as customColors,
26
+ i as getColorToHex
22
27
  };
@@ -0,0 +1,3 @@
1
+ export declare const images: {
2
+ success: string;
3
+ };
@@ -1 +1,6 @@
1
-
1
+ const s = {
2
+ success: "../../src/assets/black-tick.svg"
3
+ };
4
+ export {
5
+ s as images
6
+ };
@@ -1,5 +1,5 @@
1
1
  import "../assets/theme.css";
2
- import { c as e } from "../createTheme-ca1567c6.js";
2
+ import { f as e } from "../createTheme-a4db2989.js";
3
3
  const f = {
4
4
  50: "#fffde7",
5
5
  100: "#fff9c4",
@@ -1,42 +1,44 @@
1
- import { g as M, b as f, a as s, _ as W, P as t } from "./createTheme-ca1567c6.js";
2
- import * as C from "react";
3
- import { g as O, a as j, b as P, c as N, e as R } from "./styled-80b57810.js";
4
- import { jsx as _ } from "react/jsx-runtime";
5
- import { e as U } from "./extendSxProp-fc2654e5.js";
6
- function D(a) {
7
- return M("MuiTypography", a);
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import { getColorToHex as M } from "./global/colors.js";
3
+ import { fontCustomizations as W } from "./global/theme.js";
4
+ import { g as O, c as b, a as p, _ as j, P as t } from "./createTheme-a4db2989.js";
5
+ import * as P from "react";
6
+ import { g as N, s as R, a as _, c as U, b as $ } from "./styled-126c6a62.js";
7
+ import { e as z } from "./extendSxProp-db8b9da5.js";
8
+ function D(r) {
9
+ return O("MuiTypography", r);
8
10
  }
9
- O("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
10
- const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], L = (a) => {
11
+ N("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
12
+ const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], L = (r) => {
11
13
  const {
12
14
  align: o,
13
- gutterBottom: r,
15
+ gutterBottom: a,
14
16
  noWrap: e,
15
17
  paragraph: i,
16
18
  variant: n,
17
19
  classes: h
18
- } = a, p = {
19
- root: ["root", n, a.align !== "inherit" && `align${f(o)}`, r && "gutterBottom", e && "noWrap", i && "paragraph"]
20
+ } = r, s = {
21
+ root: ["root", n, r.align !== "inherit" && `align${b(o)}`, a && "gutterBottom", e && "noWrap", i && "paragraph"]
20
22
  };
21
- return R(p, D, h);
22
- }, V = j("span", {
23
+ return $(s, D, h);
24
+ }, V = R("span", {
23
25
  name: "MuiTypography",
24
26
  slot: "Root",
25
- overridesResolver: (a, o) => {
27
+ overridesResolver: (r, o) => {
26
28
  const {
27
- ownerState: r
28
- } = a;
29
- return [o.root, r.variant && o[r.variant], r.align !== "inherit" && o[`align${f(r.align)}`], r.noWrap && o.noWrap, r.gutterBottom && o.gutterBottom, r.paragraph && o.paragraph];
29
+ ownerState: a
30
+ } = r;
31
+ return [o.root, a.variant && o[a.variant], a.align !== "inherit" && o[`align${b(a.align)}`], a.noWrap && o.noWrap, a.gutterBottom && o.gutterBottom, a.paragraph && o.paragraph];
30
32
  }
31
33
  })(({
32
- theme: a,
34
+ theme: r,
33
35
  ownerState: o
34
- }) => s({
36
+ }) => p({
35
37
  margin: 0
36
38
  }, o.variant === "inherit" && {
37
39
  // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
38
40
  font: "inherit"
39
- }, o.variant !== "inherit" && a.typography[o.variant], o.align !== "inherit" && {
41
+ }, o.variant !== "inherit" && r.typography[o.variant], o.align !== "inherit" && {
40
42
  textAlign: o.align
41
43
  }, o.noWrap && {
42
44
  overflow: "hidden",
@@ -58,46 +60,46 @@ const E = ["align", "className", "component", "gutterBottom", "noWrap", "paragra
58
60
  body1: "p",
59
61
  body2: "p",
60
62
  inherit: "p"
61
- }, $ = {
63
+ }, k = {
62
64
  primary: "primary.main",
63
65
  textPrimary: "text.primary",
64
66
  secondary: "secondary.main",
65
67
  textSecondary: "text.secondary",
66
68
  error: "error.main"
67
- }, z = (a) => $[a] || a, b = /* @__PURE__ */ C.forwardRef(function(o, r) {
68
- const e = P({
69
+ }, A = (r) => k[r] || r, d = /* @__PURE__ */ P.forwardRef(function(o, a) {
70
+ const e = _({
69
71
  props: o,
70
72
  name: "MuiTypography"
71
- }), i = z(e.color), n = U(s({}, e, {
73
+ }), i = A(e.color), n = z(p({}, e, {
72
74
  color: i
73
75
  })), {
74
76
  align: h = "inherit",
75
- className: p,
76
- component: l,
77
- gutterBottom: d = !1,
77
+ className: s,
78
+ component: c,
79
+ gutterBottom: T = !1,
78
80
  noWrap: v = !1,
79
- paragraph: c = !1,
80
- variant: g = "body1",
81
+ paragraph: g = !1,
82
+ variant: l = "body1",
81
83
  variantMapping: m = u
82
- } = n, T = W(n, E), y = s({}, n, {
84
+ } = n, x = j(n, E), y = p({}, n, {
83
85
  align: h,
84
86
  color: i,
85
- className: p,
86
- component: l,
87
- gutterBottom: d,
87
+ className: s,
88
+ component: c,
89
+ gutterBottom: T,
88
90
  noWrap: v,
89
- paragraph: c,
90
- variant: g,
91
+ paragraph: g,
92
+ variant: l,
91
93
  variantMapping: m
92
- }), x = l || (c ? "p" : m[g] || u[g]) || "span", B = L(y);
93
- return /* @__PURE__ */ _(V, s({
94
- as: x,
95
- ref: r,
94
+ }), B = c || (g ? "p" : m[l] || u[l]) || "span", C = L(y);
95
+ return /* @__PURE__ */ f(V, p({
96
+ as: B,
97
+ ref: a,
96
98
  ownerState: y,
97
- className: N(B.root, p)
98
- }, T));
99
+ className: U(C.root, s)
100
+ }, x));
99
101
  });
100
- process.env.NODE_ENV !== "production" && (b.propTypes = {
102
+ process.env.NODE_ENV !== "production" && (d.propTypes = {
101
103
  // ----------------------------- Warning --------------------------------
102
104
  // | These PropTypes are generated from the TypeScript type definitions |
103
105
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -172,7 +174,21 @@ process.env.NODE_ENV !== "production" && (b.propTypes = {
172
174
  */
173
175
  variantMapping: t.object
174
176
  });
175
- const w = b;
177
+ const H = d, K = ({
178
+ type: r = "bodyText",
179
+ textColor: o = "black",
180
+ children: a,
181
+ sx: e,
182
+ ...i
183
+ }) => {
184
+ const n = {
185
+ ...W[r],
186
+ color: M(o),
187
+ ...e
188
+ };
189
+ return /* @__PURE__ */ f(H, { sx: n, ...i, children: a });
190
+ };
176
191
  export {
177
- w as M
192
+ H as M,
193
+ K as T
178
194
  };
package/dist/main.js CHANGED
@@ -2,21 +2,21 @@ import { default as a } from "./components/cell/AvatarGroup/index.js";
2
2
  import { default as t } from "./components/cell/Button/index.js";
3
3
  import { default as p } from "./components/cell/Chip/index.js";
4
4
  import { default as s } from "./components/cell/ProgressBar/index.js";
5
- import { default as d } from "./components/cell/Search/index.js";
6
- import { default as x } from "./components/cell/Typography/index.js";
7
- import { default as g } from "./components/organ/Form/index.js";
8
- import { F as y } from "./Form.interfaces-c9b49688.js";
9
- import { default as F } from "./components/organ/ZoomControlWithDrag/index.js";
5
+ import { default as x } from "./components/cell/Search/index.js";
6
+ import { T as l } from "./index-03287c17.js";
7
+ import { default as T } from "./components/organ/Form/index.js";
8
+ import { F as i } from "./Form.interfaces-c9b49688.js";
9
+ import { default as C } from "./components/organ/ZoomControlWithDrag/index.js";
10
10
  import { default as n } from "./providers/CraftThemeProvider.js";
11
11
  export {
12
12
  a as AvatarGroup,
13
13
  t as Button,
14
14
  p as Chip,
15
15
  n as CraftThemeProvider,
16
- g as Form,
17
- y as FormTypes,
16
+ T as Form,
17
+ i as FormTypes,
18
18
  s as ProgressBar,
19
- d as Search,
20
- x as Typography,
21
- F as ZoomControlWithDrag
19
+ x as Search,
20
+ l as Typography,
21
+ C as ZoomControlWithDrag
22
22
  };
@@ -2,9 +2,9 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import { useMemo as O } from "react";
4
4
  import { defaultTheme as P } from "../global/theme.js";
5
- import { P as n, a as c, _ as D, c as j, n as V } from "../createTheme-ca1567c6.js";
5
+ import { P as n, a as c, _ as D, f as j, n as V } from "../createTheme-a4db2989.js";
6
6
  import { c as b, a as g, T as f } from "../useThemeWithoutDefault-188598a8.js";
7
- import { e as v } from "../exactProp-3d9df1ae.js";
7
+ import { e as v } from "../exactProp-d79ccada.js";
8
8
  const l = /* @__PURE__ */ p.createContext(null);
9
9
  process.env.NODE_ENV !== "production" && (l.displayName = "ThemeContext");
10
10
  const E = l;
@@ -1,7 +1,7 @@
1
- import { a as E, g as we, j as re, _ as ne, b as z, s as Ce, c as xe } from "./createTheme-ca1567c6.js";
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 V = { exports: {} }, f = {};
4
+ var j = { exports: {} }, f = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-is.production.min.js
@@ -16,7 +16,7 @@ function De() {
16
16
  if (X)
17
17
  return f;
18
18
  X = 1;
19
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g;
19
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g;
20
20
  g = Symbol.for("react.module.reference");
21
21
  function c(o) {
22
22
  if (typeof o == "object" && o !== null) {
@@ -35,7 +35,7 @@ function De() {
35
35
  case S:
36
36
  case a:
37
37
  case m:
38
- case _:
38
+ case b:
39
39
  case v:
40
40
  case l:
41
41
  return o;
@@ -48,7 +48,7 @@ function De() {
48
48
  }
49
49
  }
50
50
  }
51
- return f.ContextConsumer = a, f.ContextProvider = l, f.Element = e, f.ForwardRef = m, f.Fragment = n, f.Lazy = _, f.Memo = v, f.Portal = t, f.Profiler = i, f.StrictMode = r, f.Suspense = h, f.SuspenseList = p, f.isAsyncMode = function() {
51
+ return f.ContextConsumer = a, f.ContextProvider = l, f.Element = e, f.ForwardRef = m, f.Fragment = n, f.Lazy = b, f.Memo = v, f.Portal = t, f.Profiler = i, f.StrictMode = r, f.Suspense = h, f.SuspenseList = p, f.isAsyncMode = function() {
52
52
  return !1;
53
53
  }, f.isConcurrentMode = function() {
54
54
  return !1;
@@ -63,7 +63,7 @@ function De() {
63
63
  }, f.isFragment = function(o) {
64
64
  return c(o) === n;
65
65
  }, f.isLazy = function(o) {
66
- return c(o) === _;
66
+ return c(o) === b;
67
67
  }, f.isMemo = function(o) {
68
68
  return c(o) === v;
69
69
  }, f.isPortal = function(o) {
@@ -77,7 +77,7 @@ function De() {
77
77
  }, f.isSuspenseList = function(o) {
78
78
  return c(o) === p;
79
79
  }, f.isValidElementType = function(o) {
80
- return typeof o == "string" || typeof o == "function" || o === n || o === i || o === r || o === h || o === p || o === P || typeof o == "object" && o !== null && (o.$$typeof === _ || o.$$typeof === v || o.$$typeof === l || o.$$typeof === a || o.$$typeof === m || o.$$typeof === g || o.getModuleId !== void 0);
80
+ return typeof o == "string" || typeof o == "function" || o === n || o === i || o === r || o === h || o === p || o === P || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === v || o.$$typeof === l || o.$$typeof === a || o.$$typeof === m || o.$$typeof === g || o.getModuleId !== void 0);
81
81
  }, f.typeOf = c, f;
82
82
  }
83
83
  var d = {};
@@ -93,10 +93,10 @@ var d = {};
93
93
  var B;
94
94
  function ze() {
95
95
  return B || (B = 1, process.env.NODE_ENV !== "production" && function() {
96
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g = !1, c = !1, o = !1, T = !1, k = !1, R;
96
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g = !1, c = !1, o = !1, T = !1, k = !1, R;
97
97
  R = Symbol.for("react.module.reference");
98
- function b(s) {
99
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || k || s === r || s === h || s === p || T || s === P || g || c || o || typeof s == "object" && s !== null && (s.$$typeof === _ || s.$$typeof === v || s.$$typeof === l || s.$$typeof === a || s.$$typeof === m || // This needs to include all possible module reference object
98
+ function _(s) {
99
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || k || s === r || s === h || s === p || T || s === P || g || c || o || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === v || s.$$typeof === l || s.$$typeof === a || s.$$typeof === m || // This needs to include all possible module reference object
100
100
  // types supported by any Flight configuration anywhere since
101
101
  // we don't know which Flight build this will end up being used
102
102
  // with.
@@ -104,8 +104,8 @@ function ze() {
104
104
  }
105
105
  function y(s) {
106
106
  if (typeof s == "object" && s !== null) {
107
- var j = s.$$typeof;
108
- switch (j) {
107
+ var V = s.$$typeof;
108
+ switch (V) {
109
109
  case e:
110
110
  var D = s.type;
111
111
  switch (D) {
@@ -121,20 +121,20 @@ function ze() {
121
121
  case S:
122
122
  case a:
123
123
  case m:
124
- case _:
124
+ case b:
125
125
  case v:
126
126
  case l:
127
127
  return W;
128
128
  default:
129
- return j;
129
+ return V;
130
130
  }
131
131
  }
132
132
  case t:
133
- return j;
133
+ return V;
134
134
  }
135
135
  }
136
136
  }
137
- var w = a, O = l, $ = e, C = m, u = n, x = _, L = v, N = t, Y = i, A = r, ue = h, fe = p, q = !1, H = !1;
137
+ var w = a, O = l, $ = e, C = m, u = n, x = b, L = v, N = t, Y = i, A = r, ue = h, fe = p, q = !1, H = !1;
138
138
  function de(s) {
139
139
  return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
140
140
  }
@@ -157,12 +157,12 @@ function ze() {
157
157
  return y(s) === n;
158
158
  }
159
159
  function Se(s) {
160
- return y(s) === _;
160
+ return y(s) === b;
161
161
  }
162
- function be(s) {
162
+ function _e(s) {
163
163
  return y(s) === v;
164
164
  }
165
- function _e(s) {
165
+ function be(s) {
166
166
  return y(s) === t;
167
167
  }
168
168
  function Ee(s) {
@@ -177,24 +177,24 @@ function ze() {
177
177
  function Re(s) {
178
178
  return y(s) === p;
179
179
  }
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 = be, d.isPortal = _e, d.isProfiler = Ee, d.isStrictMode = Te, d.isSuspense = Pe, d.isSuspenseList = Re, d.isValidElementType = b, d.typeOf = y;
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" ? V.exports = De() : V.exports = ze();
184
- var G = V.exports;
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 je(e) {
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 || je(e) || t;
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 Ve(e) {
197
+ function je(e) {
198
198
  if (e != null) {
199
199
  if (typeof e == "string")
200
200
  return e;
@@ -289,19 +289,19 @@ You may have forgotten to import it.`);
289
289
  v.push.apply(v, p);
290
290
  else {
291
291
  process.env.NODE_ENV !== "production" && p[0][0] === void 0 && console.error(Q), v.push(p[0][0]);
292
- for (var _ = p.length, P = 1; P < _; P++)
292
+ for (var b = p.length, P = 1; P < b; P++)
293
293
  process.env.NODE_ENV !== "production" && p[0][P] === void 0 && console.error(Q), v.push(p[P], p[0][P]);
294
294
  }
295
295
  var g = Oe(function(c, o, T) {
296
- var k = h && c.as || i, R = "", b = [], y = c;
296
+ var k = h && c.as || i, R = "", _ = [], y = c;
297
297
  if (c.theme == null) {
298
298
  y = {};
299
299
  for (var w in c)
300
300
  y[w] = c[w];
301
301
  y.theme = F.useContext($e);
302
302
  }
303
- typeof c.className == "string" ? R = Ae(o.registered, b, c.className) : c.className != null && (R = c.className + " ");
304
- var O = Fe(v.concat(b), o.registered, y);
303
+ typeof c.className == "string" ? R = Ae(o.registered, _, c.className) : c.className != null && (R = c.className + " ");
304
+ var O = Fe(v.concat(_), o.registered, y);
305
305
  R += o.key + "-" + O.name, a !== void 0 && (R += " " + a);
306
306
  var $ = h && S === void 0 ? J(k) : m, C = {};
307
307
  for (var u in c)
@@ -572,7 +572,7 @@ function ct(e = {}) {
572
572
  }))
573
573
  }));
574
574
  return l.__mui_systemSx = !0, (a, S = {}) => {
575
- Je(a, (b) => b.filter((y) => !(y != null && y.__mui_systemSx)));
575
+ Je(a, (_) => _.filter((y) => !(y != null && y.__mui_systemSx)));
576
576
  const {
577
577
  name: m,
578
578
  slot: h,
@@ -580,7 +580,7 @@ function ct(e = {}) {
580
580
  skipSx: v,
581
581
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
582
582
  // For more details: https://github.com/mui/material-ui/pull/37908
583
- overridesResolver: _ = lt(te(h))
583
+ overridesResolver: b = lt(te(h))
584
584
  } = S, P = ne(S, tt), g = p !== void 0 ? p : (
585
585
  // TODO v6: remove `Root` in the next major release
586
586
  // For more details: https://github.com/mui/material-ui/pull/37908
@@ -593,15 +593,15 @@ function ct(e = {}) {
593
593
  const k = Ke(a, E({
594
594
  shouldForwardProp: T,
595
595
  label: o
596
- }, P)), R = (b, ...y) => {
596
+ }, P)), R = (_, ...y) => {
597
597
  const w = y ? y.map((u) => typeof u == "function" && u.__emotion_real !== u ? (x) => u(E({}, x, {
598
598
  theme: M(E({}, x, {
599
599
  defaultTheme: n,
600
600
  themeId: t
601
601
  }))
602
602
  })) : u) : [];
603
- let O = b;
604
- m && _ && w.push((u) => {
603
+ let O = _;
604
+ m && b && w.push((u) => {
605
605
  const x = M(E({}, u, {
606
606
  defaultTheme: n,
607
607
  themeId: t
@@ -612,7 +612,7 @@ function ct(e = {}) {
612
612
  N[Y] = typeof A == "function" ? A(E({}, u, {
613
613
  theme: x
614
614
  })) : A;
615
- }), _(u, N);
615
+ }), b(u, N);
616
616
  }
617
617
  return null;
618
618
  }), m && !g && w.push((u) => {
@@ -623,14 +623,14 @@ function ct(e = {}) {
623
623
  return st(u, it(m, x), x, m);
624
624
  }), c || w.push(l);
625
625
  const $ = w.length - y.length;
626
- if (Array.isArray(b) && $ > 0) {
626
+ if (Array.isArray(_) && $ > 0) {
627
627
  const u = new Array($).fill("");
628
- O = [...b, ...u], O.raw = [...b.raw, ...u];
628
+ O = [..._, ...u], O.raw = [..._.raw, ...u];
629
629
  } else
630
- typeof b == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
630
+ typeof _ == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
631
631
  // component stays as a function. This condition makes sure that we do not interpolate functions
632
632
  // which are basically components used as a selectors.
633
- b.__emotion_real !== b && (O = (u) => b(E({}, u, {
633
+ _.__emotion_real !== _ && (O = (u) => _(E({}, u, {
634
634
  theme: M(E({}, u, {
635
635
  defaultTheme: n,
636
636
  themeId: t
@@ -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(${Ve(a)})`), C.displayName = u;
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
  };
@@ -668,7 +668,7 @@ function ft({
668
668
  });
669
669
  }
670
670
  const dt = xe(), ce = dt;
671
- function bt({
671
+ function _t({
672
672
  props: e,
673
673
  name: t
674
674
  }) {
@@ -679,22 +679,22 @@ function bt({
679
679
  themeId: oe
680
680
  });
681
681
  }
682
- const mt = (e) => I(e) && e !== "classes", _t = I, pt = ct({
682
+ const mt = (e) => I(e) && e !== "classes", bt = I, pt = ct({
683
683
  themeId: oe,
684
684
  defaultTheme: ce,
685
685
  rootShouldForwardProp: mt
686
686
  }), Et = pt;
687
687
  export {
688
- Et as a,
689
- bt as b,
688
+ _t as a,
689
+ vt as b,
690
690
  St as c,
691
691
  ce as d,
692
- vt as e,
693
- se as f,
692
+ se as e,
693
+ G as f,
694
694
  gt as g,
695
- G as h,
696
- _t as i,
695
+ bt as h,
696
+ Ke as i,
697
697
  mt as r,
698
- Ke as s,
698
+ Et as s,
699
699
  Qe as u
700
700
  };
@@ -1,5 +1,5 @@
1
1
  import * as o from "react";
2
- import { u as r, d as s } from "./styled-80b57810.js";
2
+ import { u as r, d as s } from "./styled-126c6a62.js";
3
3
  import { T as t } from "./useThemeWithoutDefault-188598a8.js";
4
4
  function a() {
5
5
  const e = r(s);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loopr-ai/craft",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Component library based out of Material UI customized to support Loopr AI products",
5
5
  "homepage": "https://loopr.ai",
6
6
  "author": {