jcicl 0.0.267 → 0.0.271
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/.chunks/ButtonBase.js +1 -1
- package/.chunks/Paper.js +1 -1
- package/.chunks/Popper.js +1 -1
- package/.chunks/Portal.js +2 -2
- package/.chunks/TextField.js +2 -2
- package/.chunks/TransitionGroupContext.js +4 -4
- package/.chunks/useMediaQuery.js +66 -0
- package/.chunks/useSlot.js +6 -6
- package/.chunks/useTheme.js +2 -2
- package/AppContainer/AppContainer.js +1073 -13
- package/AppContainer/index.js +2 -2
- package/DefaultTemplate/DefaultTemplate.js +15 -14
- package/FormFields/FormFields.d.ts +22 -0
- package/FormFields/FormFields.js +34 -0
- package/FormFields/index.d.ts +1 -0
- package/FormFields/index.js +4 -0
- package/FormInput/FormInput.d.ts +1 -1
- package/LabeledCurrencyInput/LabeledCurrencyInput.d.ts +2 -2
- package/LabeledDropdown/LabeledDropdown.js +1 -1
- package/LabeledInput/LabeledInput.d.ts +3 -2
- package/LabeledInput/LabeledInput.js +18 -17
- package/Tooltip/Tooltip.js +2 -2
- package/index.js +5 -5
- package/package.json +1 -1
- package/.chunks/AppContainer.js +0 -1134
package/.chunks/ButtonBase.js
CHANGED
|
@@ -6,7 +6,7 @@ import W, { Children as Oe, isValidElement as G, cloneElement as J } from "react
|
|
|
6
6
|
import { P as e, b as E, a as fe, s as te, u as de, g as je, d as Fe } from "./DefaultPropsProvider.js";
|
|
7
7
|
import { jsx as I, jsxs as $e } from "react/jsx-runtime";
|
|
8
8
|
import { k as ne } from "./emotion-react.browser.esm.js";
|
|
9
|
-
import { d as Ie, _ as Ue, e as ze, f as ue,
|
|
9
|
+
import { d as Ie, _ as Ue, e as ze, f as ue, b as _e, a as ce, c as H, r as Xe } from "./TransitionGroupContext.js";
|
|
10
10
|
import { _ as Ye } from "./emotion-styled.browser.esm.js";
|
|
11
11
|
import { e as Ae } from "./elementTypeAcceptingRef.js";
|
|
12
12
|
import { i as pe } from "./isFocusVisible.js";
|
package/.chunks/Paper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as P from "react";
|
|
2
2
|
import { a as b, g as h, s as g, u as w, b as T, e as u, P as a, d as $, f } from "./DefaultPropsProvider.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as x } from "./useTheme.js";
|
|
4
4
|
import { jsx as O } from "react/jsx-runtime";
|
|
5
5
|
import { m as C } from "./memoTheme.js";
|
|
6
6
|
import { c as N } from "./chainPropTypes.js";
|
package/.chunks/Popper.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as L from "react";
|
|
|
4
4
|
import { jsx as be } from "react/jsx-runtime";
|
|
5
5
|
import { o as ze, P as jt, H as we, c as Dt } from "./Portal.js";
|
|
6
6
|
import { c as Mt } from "./chainPropTypes.js";
|
|
7
|
-
import { r as at,
|
|
7
|
+
import { r as at, a as Ge, u as Je } from "./TransitionGroupContext.js";
|
|
8
8
|
var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start", fe = "end", Ct = "clippingParents", it = "viewport", ie = "popper", Bt = "reference", Ke = /* @__PURE__ */ le.reduce(function(e, t) {
|
|
9
9
|
return e.concat([t + "-" + ee, t + "-" + fe]);
|
|
10
10
|
}, []), st = /* @__PURE__ */ [].concat(le, [Ce]).reduce(function(e, t) {
|
package/.chunks/Portal.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { r as ct, m as pt, a as ft } from "./resolveComponentProps.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as H, _ as dt, e as Et, f as B, b as mt, u as U, s as j } from "./TransitionGroupContext.js";
|
|
5
5
|
import { P as e } from "./DefaultPropsProvider.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as ht } from "./useTheme.js";
|
|
7
7
|
import { jsx as $ } from "react/jsx-runtime";
|
|
8
8
|
import { c as K } from "./chainPropTypes.js";
|
|
9
9
|
import * as xt from "react-dom";
|
package/.chunks/TextField.js
CHANGED
|
@@ -7,9 +7,9 @@ import { o as ge, g as yo, e as go, b as Et, T as Rt, r as St, a as Ro, P as wt,
|
|
|
7
7
|
import { m as ue } from "./memoTheme.js";
|
|
8
8
|
import { c as ro } from "./createSimplePaletteValueFilter.js";
|
|
9
9
|
import { u as Pt } from "./index.js";
|
|
10
|
-
import {
|
|
10
|
+
import { a as Ee, u as oo, r as Pe, c as wo } from "./TransitionGroupContext.js";
|
|
11
11
|
import { e as It } from "./resolveComponentProps.js";
|
|
12
|
-
import { b as Go,
|
|
12
|
+
import { b as Go, a as Nt } from "./useTheme.js";
|
|
13
13
|
import { P as Ft } from "./Paper.js";
|
|
14
14
|
import { c as Mt } from "./chainPropTypes.js";
|
|
15
15
|
import { i as kt } from "./integerPropType.js";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import { u as p } from "./useTheme.js";
|
|
3
|
+
import { g as h } from "./TextField.js";
|
|
4
|
+
import { u as v } from "./TransitionGroupContext.js";
|
|
5
|
+
function g(n, i, e, o, a) {
|
|
6
|
+
const [r, f] = c.useState(() => a && e ? e(n).matches : o ? o(n).matches : i);
|
|
7
|
+
return v(() => {
|
|
8
|
+
if (!e)
|
|
9
|
+
return;
|
|
10
|
+
const u = e(n), t = () => {
|
|
11
|
+
f(u.matches);
|
|
12
|
+
};
|
|
13
|
+
return t(), u.addEventListener("change", t), () => {
|
|
14
|
+
u.removeEventListener("change", t);
|
|
15
|
+
};
|
|
16
|
+
}, [n, e]), r;
|
|
17
|
+
}
|
|
18
|
+
const E = {
|
|
19
|
+
...c
|
|
20
|
+
}, d = E.useSyncExternalStore;
|
|
21
|
+
function S(n, i, e, o, a) {
|
|
22
|
+
const r = c.useCallback(() => i, [i]), f = c.useMemo(() => {
|
|
23
|
+
if (a && e)
|
|
24
|
+
return () => e(n).matches;
|
|
25
|
+
if (o !== null) {
|
|
26
|
+
const {
|
|
27
|
+
matches: s
|
|
28
|
+
} = o(n);
|
|
29
|
+
return () => s;
|
|
30
|
+
}
|
|
31
|
+
return r;
|
|
32
|
+
}, [r, n, o, a, e]), [u, t] = c.useMemo(() => {
|
|
33
|
+
if (e === null)
|
|
34
|
+
return [r, () => () => {
|
|
35
|
+
}];
|
|
36
|
+
const s = e(n);
|
|
37
|
+
return [() => s.matches, (m) => (s.addEventListener("change", m), () => {
|
|
38
|
+
s.removeEventListener("change", m);
|
|
39
|
+
})];
|
|
40
|
+
}, [r, e, n]);
|
|
41
|
+
return d(t, u, f);
|
|
42
|
+
}
|
|
43
|
+
function L(n, i = {}) {
|
|
44
|
+
const e = p(), o = typeof window < "u" && typeof window.matchMedia < "u", {
|
|
45
|
+
defaultMatches: a = !1,
|
|
46
|
+
matchMedia: r = o ? window.matchMedia : null,
|
|
47
|
+
ssrMatchMedia: f = null,
|
|
48
|
+
noSsr: u = !1
|
|
49
|
+
} = h({
|
|
50
|
+
name: "MuiUseMediaQuery",
|
|
51
|
+
props: i,
|
|
52
|
+
theme: e
|
|
53
|
+
});
|
|
54
|
+
process.env.NODE_ENV !== "production" && typeof n == "function" && e === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
|
|
55
|
+
`));
|
|
56
|
+
let t = typeof n == "function" ? n(e) : n;
|
|
57
|
+
t = t.replace(/^@media( ?)/m, "");
|
|
58
|
+
const s = (d !== void 0 ? S : g)(t, a, r, f, u);
|
|
59
|
+
return process.env.NODE_ENV !== "production" && c.useDebugValue({
|
|
60
|
+
query: t,
|
|
61
|
+
match: s
|
|
62
|
+
}), s;
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
L as u
|
|
66
|
+
};
|
package/.chunks/useSlot.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as T, m as h, a as k } from "./resolveComponentProps.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as E } from "./TransitionGroupContext.js";
|
|
3
3
|
function j(o, r) {
|
|
4
4
|
const {
|
|
5
|
-
className:
|
|
5
|
+
className: u,
|
|
6
6
|
elementType: P,
|
|
7
7
|
ownerState: n,
|
|
8
8
|
externalForwardedProps: w,
|
|
@@ -25,14 +25,14 @@ function j(o, r) {
|
|
|
25
25
|
},
|
|
26
26
|
internalRef: y
|
|
27
27
|
} = h({
|
|
28
|
-
className:
|
|
28
|
+
className: u,
|
|
29
29
|
...m,
|
|
30
30
|
externalForwardedProps: o === "root" ? x : void 0,
|
|
31
31
|
externalSlotProps: e
|
|
32
32
|
}), F = E(y, e == null ? void 0 : e.ref, r.ref), f = s ? s(d) : {}, g = {
|
|
33
33
|
...n,
|
|
34
34
|
...f
|
|
35
|
-
}, i = o === "root" ? c || l : c,
|
|
35
|
+
}, i = o === "root" ? c || l : c, S = k(a, {
|
|
36
36
|
...o === "root" && !l && !t[o] && p,
|
|
37
37
|
...o !== "root" && !t[o] && p,
|
|
38
38
|
...d,
|
|
@@ -42,8 +42,8 @@ function j(o, r) {
|
|
|
42
42
|
ref: F
|
|
43
43
|
}, g);
|
|
44
44
|
return Object.keys(f).forEach((C) => {
|
|
45
|
-
delete
|
|
46
|
-
}), [a,
|
|
45
|
+
delete S[C];
|
|
46
|
+
}), [a, S];
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
49
49
|
j as u
|