@loopr-ai/craft 0.2.0 → 0.4.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.
@@ -1,7 +1,7 @@
1
- import { _ as E, g as we, h as re, a as ne, c as z, s as Ce, e as xe } from "./createTheme-eb26b87a.js";
1
+ import { _ as E, g as we, h as re, a as ne, c as z, s as Ce, f as xe } from "./createTheme-f511f0cd.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 j = { exports: {} }, f = {};
4
+ var V = { 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 V = s.$$typeof;
108
- switch (V) {
107
+ var j = s.$$typeof;
108
+ switch (j) {
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 V;
129
+ return j;
130
130
  }
131
131
  }
132
132
  case t:
133
- return V;
133
+ return j;
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" ? j.exports = De() : j.exports = ze();
184
- var G = j.exports;
183
+ process.env.NODE_ENV === "production" ? V.exports = De() : V.exports = ze();
184
+ var G = V.exports;
185
185
  const Ye = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
186
- function Ve(e) {
186
+ function je(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 || Ve(e) || t;
191
+ return e.displayName || e.name || je(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 je(e) {
197
+ function Ve(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(${je(a)})`), C.displayName = u;
642
+ m && (u = `${m}${z(h || "")}`), u === void 0 && (u = `Styled(${Ve(a)})`), C.displayName = u;
643
643
  }
644
644
  return a.muiName && (C.muiName = a.muiName), C;
645
645
  };
@@ -692,7 +692,9 @@ export {
692
692
  se as e,
693
693
  G as f,
694
694
  gt as g,
695
- bt as h,
695
+ ct as h,
696
+ ft as i,
697
+ bt as j,
696
698
  mt as r,
697
699
  Et as s,
698
700
  Qe as u
@@ -0,0 +1,9 @@
1
+ function p(n, e, t, u, o) {
2
+ if (process.env.NODE_ENV === "production")
3
+ return null;
4
+ const r = o || e;
5
+ return typeof n[e] < "u" ? new Error(`The prop \`${r}\` is not supported. Please remove it.`) : null;
6
+ }
7
+ export {
8
+ p as u
9
+ };
@@ -1,5 +1,5 @@
1
1
  import * as o from "react";
2
- import { u as r, d as s } from "./styled-b8bfdd6b.js";
2
+ import { u as r, d as s } from "./styled-9f5c49f8.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.2.0",
3
+ "version": "0.4.0",
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": {
@@ -66,6 +66,7 @@
66
66
  "@emotion/styled": "^11.11.0",
67
67
  "@fontsource/dm-sans": "^5.0.12",
68
68
  "@mui/icons-material": "^5.14.9",
69
- "@mui/material": "^5.14.8"
69
+ "@mui/material": "^5.14.8",
70
+ "react-zoom-pan-pinch": "^3.1.0"
70
71
  }
71
72
  }