jcicl 0.0.225 → 0.0.229

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.
@@ -13,10 +13,12 @@ import { l as Ae } from "./jocologo.js";
13
13
  import { X as je } from "./Close.js";
14
14
  import { P as t, g as Ue, a as Fe, s as ce, r as Ve, c as Z, u as We, b as _, d as Qe } from "./DefaultPropsProvider.js";
15
15
  import { u as Xe } from "./index.js";
16
- import { b as Ge, e as Ye, H as _e, u as ke, g as Je, T as Ke, r as Ze, c as me } from "./Portal.js";
16
+ import { a as Ge, u as ke } from "./useTheme.js";
17
17
  import { m as Ce } from "./memoTheme.js";
18
- import { g as qe, o as Te, d as eo, M as oo, P as ro } from "./TextField.js";
19
- import { i as to } from "./useSlot.js";
18
+ import { g as Ye, o as Te, d as _e, M as Je } from "./TextField.js";
19
+ import { P as Ke } from "./Paper.js";
20
+ import { i as Ze } from "./integerPropType.js";
21
+ import { e as qe, H as eo, g as oo, T as ro, r as to, a as me } from "./Portal.js";
20
22
  import { c as no } from "./chainPropTypes.js";
21
23
  import { c as io, u as ao } from "./TransitionGroupContext.js";
22
24
  function so(e, o, r, n, c) {
@@ -63,7 +65,7 @@ function ge(e, o = {}) {
63
65
  matchMedia: l = n ? window.matchMedia : null,
64
66
  ssrMatchMedia: u = null,
65
67
  noSsr: f = !1
66
- } = qe({
68
+ } = Ye({
67
69
  name: "MuiUseMediaQuery",
68
70
  props: o,
69
71
  theme: r
@@ -125,12 +127,12 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, r) {
125
127
  style: O,
126
128
  timeout: H = l,
127
129
  // eslint-disable-next-line react/prop-types
128
- TransitionComponent: L = Ke,
130
+ TransitionComponent: L = ro,
129
131
  ...B
130
- } = o, d = x.useRef(null), w = ao(Je(p), d, r), k = (s) => (g) => {
132
+ } = o, d = x.useRef(null), w = ao(oo(p), d, r), k = (s) => (g) => {
131
133
  s && (g === void 0 ? s(d.current) : s(d.current, g));
132
134
  }, y = k((s, g) => {
133
- J(h, s, b), Ze(s), A && A(s, g);
135
+ J(h, s, b), to(s), A && A(s, g);
134
136
  }), m = k((s, g) => {
135
137
  const W = me({
136
138
  timeout: H,
@@ -163,7 +165,7 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, r) {
163
165
  return x.useEffect(() => {
164
166
  if ($ || h === "down" || h === "right")
165
167
  return;
166
- const s = eo(() => {
168
+ const s = _e(() => {
167
169
  d.current && J(h, d.current, b);
168
170
  }), g = Te(d.current);
169
171
  return g.addEventListener("resize", s), () => {
@@ -215,12 +217,12 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
215
217
  /**
216
218
  * A single child content element.
217
219
  */
218
- children: Ye.isRequired,
220
+ children: qe.isRequired,
219
221
  /**
220
222
  * An HTML element, or a function that returns one.
221
223
  * It's used to set the container the Slide is transitioning from.
222
224
  */
223
- container: no(t.oneOfType([_e, t.func]), (e) => {
225
+ container: no(t.oneOfType([eo, t.func]), (e) => {
224
226
  if (e.open) {
225
227
  const o = $e(e.container);
226
228
  if (o && o.nodeType === 1) {
@@ -318,7 +320,7 @@ const Me = (e, o) => {
318
320
  paper: ["paper", `paperAnchor${Z(r)}`, n !== "temporary" && `paperAnchorDocked${Z(r)}`]
319
321
  };
320
322
  return Qe(c, ho, o);
321
- }, fo = ce(oo, {
323
+ }, fo = ce(Je, {
322
324
  name: "MuiDrawer",
323
325
  slot: "Root",
324
326
  overridesResolver: Me
@@ -334,7 +336,7 @@ const Me = (e, o) => {
334
336
  overridesResolver: Me
335
337
  })({
336
338
  flex: "0 0 auto"
337
- }), mo = ce(ro, {
339
+ }), mo = ce(Ke, {
338
340
  name: "MuiDrawer",
339
341
  slot: "Paper",
340
342
  overridesResolver: (e, o) => {
@@ -558,7 +560,7 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
558
560
  * The elevation of the drawer.
559
561
  * @default 16
560
562
  */
561
- elevation: to,
563
+ elevation: Ze,
562
564
  /**
563
565
  * If `true`, the backdrop is not rendered.
564
566
  * @default false
@@ -852,7 +854,7 @@ const xe = se(/* @__PURE__ */ a("path", {
852
854
  background-color: transparent;
853
855
  }
854
856
  `
855
- })), Zo = ({
857
+ })), er = ({
856
858
  navProps: e,
857
859
  appHeaderProps: o = {},
858
860
  userInfo: r,
@@ -1127,6 +1129,6 @@ const xe = se(/* @__PURE__ */ a("path", {
1127
1129
  ] });
1128
1130
  };
1129
1131
  export {
1130
- Zo as A,
1132
+ er as A,
1131
1133
  ge as u
1132
1134
  };
@@ -3265,16 +3265,18 @@ export {
3265
3265
  mr as c,
3266
3266
  Do as d,
3267
3267
  Fn as e,
3268
- lr as f,
3268
+ yo as f,
3269
3269
  tt as g,
3270
3270
  rt as h,
3271
3271
  _o as i,
3272
- ye as j,
3273
- ie as k,
3274
- Br as l,
3275
- yo as m,
3276
- Ro as n,
3272
+ br as j,
3273
+ Ro as k,
3274
+ vr as l,
3275
+ lr as m,
3276
+ ye as n,
3277
+ ie as o,
3277
3278
  On as p,
3279
+ Br as q,
3278
3280
  ko as r,
3279
3281
  Bo as s,
3280
3282
  Fo as u
@@ -0,0 +1,155 @@
1
+ import * as P from "react";
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 { u as x } from "./useTheme.js";
4
+ import { jsx as O } from "react/jsx-runtime";
5
+ import { m as C } from "./memoTheme.js";
6
+ import { c as N } from "./chainPropTypes.js";
7
+ import { i as R } from "./integerPropType.js";
8
+ function j(e) {
9
+ return h("MuiPaper", e);
10
+ }
11
+ b("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
12
+ const E = (e) => {
13
+ const {
14
+ square: o,
15
+ elevation: t,
16
+ variant: s,
17
+ classes: r
18
+ } = e, i = {
19
+ root: ["root", s, !o && "rounded", s === "elevation" && `elevation${t}`]
20
+ };
21
+ return $(i, j, r);
22
+ }, M = g("div", {
23
+ name: "MuiPaper",
24
+ slot: "Root",
25
+ overridesResolver: (e, o) => {
26
+ const {
27
+ ownerState: t
28
+ } = e;
29
+ return [o.root, o[t.variant], !t.square && o.rounded, t.variant === "elevation" && o[`elevation${t.elevation}`]];
30
+ }
31
+ })(C(({
32
+ theme: e
33
+ }) => ({
34
+ backgroundColor: (e.vars || e).palette.background.paper,
35
+ color: (e.vars || e).palette.text.primary,
36
+ transition: e.transitions.create("box-shadow"),
37
+ variants: [{
38
+ props: ({
39
+ ownerState: o
40
+ }) => !o.square,
41
+ style: {
42
+ borderRadius: e.shape.borderRadius
43
+ }
44
+ }, {
45
+ props: {
46
+ variant: "outlined"
47
+ },
48
+ style: {
49
+ border: `1px solid ${(e.vars || e).palette.divider}`
50
+ }
51
+ }, {
52
+ props: {
53
+ variant: "elevation"
54
+ },
55
+ style: {
56
+ boxShadow: "var(--Paper-shadow)",
57
+ backgroundImage: "var(--Paper-overlay)"
58
+ }
59
+ }]
60
+ }))), U = /* @__PURE__ */ P.forwardRef(function(o, t) {
61
+ var c;
62
+ const s = w({
63
+ props: o,
64
+ name: "MuiPaper"
65
+ }), r = x(), {
66
+ className: i,
67
+ component: l = "div",
68
+ elevation: n = 1,
69
+ square: m = !1,
70
+ variant: v = "elevation",
71
+ ...p
72
+ } = s, d = {
73
+ ...s,
74
+ component: l,
75
+ elevation: n,
76
+ square: m,
77
+ variant: v
78
+ }, y = E(d);
79
+ return process.env.NODE_ENV !== "production" && r.shadows[n] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${n}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${n}]\` is defined.`].join(`
80
+ `)), /* @__PURE__ */ O(M, {
81
+ as: l,
82
+ ownerState: d,
83
+ className: T(y.root, i),
84
+ ref: t,
85
+ ...p,
86
+ style: {
87
+ ...v === "elevation" && {
88
+ "--Paper-shadow": (r.vars || r).shadows[n],
89
+ ...r.vars && {
90
+ "--Paper-overlay": (c = r.vars.overlays) == null ? void 0 : c[n]
91
+ },
92
+ ...!r.vars && r.palette.mode === "dark" && {
93
+ "--Paper-overlay": `linear-gradient(${u("#fff", f(n))}, ${u("#fff", f(n))})`
94
+ }
95
+ },
96
+ ...p.style
97
+ }
98
+ });
99
+ });
100
+ process.env.NODE_ENV !== "production" && (U.propTypes = {
101
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
102
+ // │ These PropTypes are generated from the TypeScript type definitions. │
103
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
104
+ // └─────────────────────────────────────────────────────────────────────┘
105
+ /**
106
+ * The content of the component.
107
+ */
108
+ children: a.node,
109
+ /**
110
+ * Override or extend the styles applied to the component.
111
+ */
112
+ classes: a.object,
113
+ /**
114
+ * @ignore
115
+ */
116
+ className: a.string,
117
+ /**
118
+ * The component used for the root node.
119
+ * Either a string to use a HTML element or a component.
120
+ */
121
+ component: a.elementType,
122
+ /**
123
+ * Shadow depth, corresponds to `dp` in the spec.
124
+ * It accepts values between 0 and 24 inclusive.
125
+ * @default 1
126
+ */
127
+ elevation: N(R, (e) => {
128
+ const {
129
+ elevation: o,
130
+ variant: t
131
+ } = e;
132
+ return o > 0 && t === "outlined" ? new Error(`MUI: Combining \`elevation={${o}}\` with \`variant="${t}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
133
+ }),
134
+ /**
135
+ * If `true`, rounded corners are disabled.
136
+ * @default false
137
+ */
138
+ square: a.bool,
139
+ /**
140
+ * @ignore
141
+ */
142
+ style: a.object,
143
+ /**
144
+ * The system prop that allows defining system overrides as well as additional CSS styles.
145
+ */
146
+ sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
147
+ /**
148
+ * The variant to use.
149
+ * @default 'elevation'
150
+ */
151
+ variant: a.oneOfType([a.oneOf(["elevation", "outlined"]), a.string])
152
+ });
153
+ export {
154
+ U as P
155
+ };
package/.chunks/Popper.js CHANGED
@@ -2,7 +2,7 @@ import { u as xt } from "./index.js";
2
2
  import { a as Pt, g as Et, P as i, d as Rt, s as Tt, u as At } from "./DefaultPropsProvider.js";
3
3
  import * as L from "react";
4
4
  import { jsx as be } from "react/jsx-runtime";
5
- import { o as ze, P as jt, H as we, d as Dt } from "./Portal.js";
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
7
  import { r as at, u as Ge, c 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) {