@loopr-ai/craft 0.7.6 → 0.8.1
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-85c9347b.js → ButtonBase-08b16b61.js} +3 -3
- package/dist/{TextField-fded06e5.js → TextField-f61d210a.js} +8 -7
- package/dist/{Tooltip-b926c320.js → Tooltip-e797a425.js} +6 -6
- package/dist/{TransitionGroupContext-fe9a562f.js → TransitionGroupContext-0e899f4c.js} +1 -1
- package/dist/{ZoomControllers-36e39bb0.js → ZoomControllers-d04c25f8.js} +5 -5
- 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/Form.interfaces.d.ts +11 -3
- package/dist/components/organ/Form/Form.styles.d.ts +7 -2
- package/dist/components/organ/Form/Form.styles.js +9 -4
- package/dist/components/organ/Form/FormInput.d.ts +1 -0
- package/dist/components/organ/Form/FormInput.js +1284 -270
- package/dist/components/organ/Form/index.d.ts +4 -2
- package/dist/components/organ/Form/index.js +74 -66
- package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +2 -2
- package/dist/components/organ/ZoomControlWithDrag/index.js +2 -2
- package/dist/{createSvgIcon-f773ce57.js → createSvgIcon-45340b5e.js} +17 -17
- package/dist/{createSvgIcon-58aa3adf.js → createSvgIcon-5aac746d.js} +2 -2
- package/dist/{createTheme-a4db2989.js → createTheme-759a022d.js} +507 -477
- package/dist/{exactProp-d79ccada.js → exactProp-23d6a154.js} +1 -1
- package/dist/{extendSxProp-db8b9da5.js → extendSxProp-cf8fd923.js} +1 -1
- package/dist/global/theme.js +1 -1
- package/dist/{index-03287c17.js → index-c9c32237.js} +3 -3
- package/dist/main.js +1 -1
- package/dist/providers/CraftThemeProvider.js +2 -2
- package/dist/{styled-126c6a62.js → styled-78608e1f.js} +16 -14
- package/dist/{useTheme-573c40a2.js → useTheme-8906bd79.js} +1 -1
- package/package.json +1 -1
package/dist/global/theme.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { getColorToHex as M } from "./global/colors.js";
|
|
3
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-
|
|
4
|
+
import { g as O, c as b, a as p, _ as j, P as t } from "./createTheme-759a022d.js";
|
|
5
5
|
import * as P from "react";
|
|
6
|
-
import { g as N, s as R, a as _, c as U, b as $ } from "./styled-
|
|
7
|
-
import { e as z } from "./extendSxProp-
|
|
6
|
+
import { g as N, s as R, a as _, c as U, b as $ } from "./styled-78608e1f.js";
|
|
7
|
+
import { e as z } from "./extendSxProp-cf8fd923.js";
|
|
8
8
|
function D(r) {
|
|
9
9
|
return O("MuiTypography", r);
|
|
10
10
|
}
|
package/dist/main.js
CHANGED
|
@@ -3,7 +3,7 @@ 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
5
|
import { default as x } from "./components/cell/Search/index.js";
|
|
6
|
-
import { T as l } from "./index-
|
|
6
|
+
import { T as l } from "./index-c9c32237.js";
|
|
7
7
|
import { default as T } from "./components/organ/Form/index.js";
|
|
8
8
|
import { F as i } from "./Form.interfaces-c9b49688.js";
|
|
9
9
|
import { default as C } from "./components/organ/ZoomControlWithDrag/index.js";
|
|
@@ -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, f as j,
|
|
5
|
+
import { P as n, a as c, _ as D, f as j, m as V } from "../createTheme-759a022d.js";
|
|
6
6
|
import { c as b, a as g, T as f } from "../useThemeWithoutDefault-188598a8.js";
|
|
7
|
-
import { e as v } from "../exactProp-
|
|
7
|
+
import { e as v } from "../exactProp-23d6a154.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, h as re, _ as ne, c as z, s as Ce, f as xe } from "./createTheme-
|
|
1
|
+
import { a as E, g as we, h as re, _ as ne, c as z, s as Ce, f as xe } from "./createTheme-759a022d.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 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
|
|
108
|
-
switch (
|
|
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
|
|
129
|
+
return j;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
case t:
|
|
133
|
-
return
|
|
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" ?
|
|
184
|
-
var G =
|
|
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
|
|
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 ||
|
|
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
|
|
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(${
|
|
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,8 +692,10 @@ export {
|
|
|
692
692
|
se as e,
|
|
693
693
|
G as f,
|
|
694
694
|
gt as g,
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
ct as h,
|
|
696
|
+
ft as i,
|
|
697
|
+
bt as j,
|
|
698
|
+
Ke as k,
|
|
697
699
|
mt as r,
|
|
698
700
|
Et as s,
|
|
699
701
|
Qe as u
|