jcicl 0.0.143 → 0.0.145
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/Portal.js +332 -440
- package/.chunks/TextField.js +907 -979
- package/.chunks/TransitionGroupContext.js +2 -2
- package/.chunks/index.js +114 -0
- package/.chunks/useSlot.js +79 -0
- package/Accordion/Accordion.js +9 -10
- package/AppContainer/AppContainer.js +101 -99
- package/Pagination/Pagination.d.ts +6 -0
- package/Pagination/Pagination.js +781 -0
- package/Pagination/index.d.ts +1 -0
- package/Pagination/index.js +1 -0
- package/Tooltip/Tooltip.js +80 -79
- package/package.json +1 -1
|
@@ -11,32 +11,34 @@ import { Button as K } from "../Button/Button.js";
|
|
|
11
11
|
import i from "../theme.js";
|
|
12
12
|
import { l as je } from "../.chunks/jocologo.js";
|
|
13
13
|
import { X as Ue } from "../.chunks/Close.js";
|
|
14
|
-
import { P as
|
|
15
|
-
import { u as Ge
|
|
14
|
+
import { P as t, g as Fe, a as Ve, s as ce, r as We, c as Z, u as Qe, b as _, d as Xe } from "../.chunks/DefaultPropsProvider.js";
|
|
15
|
+
import { u as Ge } from "../.chunks/index.js";
|
|
16
|
+
import { u as Ye, e as _e, H as Je, a as ke, g as Ke, T as Ze, r as qe, b as me } from "../.chunks/Portal.js";
|
|
16
17
|
import { m as Ce } from "../.chunks/memoTheme.js";
|
|
17
|
-
import { g as eo, o as Te, d as oo, M as
|
|
18
|
+
import { g as eo, o as Te, d as oo, M as ro, P as to } from "../.chunks/TextField.js";
|
|
19
|
+
import { i as no } from "../.chunks/useSlot.js";
|
|
18
20
|
import { c as io } from "../.chunks/chainPropTypes.js";
|
|
19
|
-
import {
|
|
20
|
-
function co(e, o,
|
|
21
|
-
const [l, u] = x.useState(() => c &&
|
|
21
|
+
import { a as ao, u as so } from "../.chunks/TransitionGroupContext.js";
|
|
22
|
+
function co(e, o, r, n, c) {
|
|
23
|
+
const [l, u] = x.useState(() => c && r ? r(e).matches : n ? n(e).matches : o);
|
|
22
24
|
return ao(() => {
|
|
23
|
-
if (!
|
|
25
|
+
if (!r)
|
|
24
26
|
return;
|
|
25
|
-
const f =
|
|
27
|
+
const f = r(e), p = () => {
|
|
26
28
|
u(f.matches);
|
|
27
29
|
};
|
|
28
30
|
return p(), f.addEventListener("change", p), () => {
|
|
29
31
|
f.removeEventListener("change", p);
|
|
30
32
|
};
|
|
31
|
-
}, [e,
|
|
33
|
+
}, [e, r]), l;
|
|
32
34
|
}
|
|
33
35
|
const lo = {
|
|
34
36
|
...x
|
|
35
37
|
}, $e = lo.useSyncExternalStore;
|
|
36
|
-
function po(e, o,
|
|
38
|
+
function po(e, o, r, n, c) {
|
|
37
39
|
const l = x.useCallback(() => o, [o]), u = x.useMemo(() => {
|
|
38
|
-
if (c &&
|
|
39
|
-
return () =>
|
|
40
|
+
if (c && r)
|
|
41
|
+
return () => r(e).matches;
|
|
40
42
|
if (n !== null) {
|
|
41
43
|
const {
|
|
42
44
|
matches: h
|
|
@@ -44,19 +46,19 @@ function po(e, o, t, n, c) {
|
|
|
44
46
|
return () => h;
|
|
45
47
|
}
|
|
46
48
|
return l;
|
|
47
|
-
}, [l, e, n, c,
|
|
48
|
-
if (
|
|
49
|
+
}, [l, e, n, c, r]), [f, p] = x.useMemo(() => {
|
|
50
|
+
if (r === null)
|
|
49
51
|
return [l, () => () => {
|
|
50
52
|
}];
|
|
51
|
-
const h =
|
|
53
|
+
const h = r(e);
|
|
52
54
|
return [() => h.matches, ($) => (h.addEventListener("change", $), () => {
|
|
53
55
|
h.removeEventListener("change", $);
|
|
54
56
|
})];
|
|
55
|
-
}, [l,
|
|
57
|
+
}, [l, r, e]);
|
|
56
58
|
return $e(p, f, u);
|
|
57
59
|
}
|
|
58
60
|
function ge(e, o = {}) {
|
|
59
|
-
const
|
|
61
|
+
const r = Ye(), n = typeof window < "u" && typeof window.matchMedia < "u", {
|
|
60
62
|
defaultMatches: c = !1,
|
|
61
63
|
matchMedia: l = n ? window.matchMedia : null,
|
|
62
64
|
ssrMatchMedia: u = null,
|
|
@@ -64,11 +66,11 @@ function ge(e, o = {}) {
|
|
|
64
66
|
} = eo({
|
|
65
67
|
name: "MuiUseMediaQuery",
|
|
66
68
|
props: o,
|
|
67
|
-
theme:
|
|
69
|
+
theme: r
|
|
68
70
|
});
|
|
69
|
-
process.env.NODE_ENV !== "production" && typeof e == "function" &&
|
|
71
|
+
process.env.NODE_ENV !== "production" && typeof e == "function" && r === 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(`
|
|
70
72
|
`));
|
|
71
|
-
let p = typeof e == "function" ? e(
|
|
73
|
+
let p = typeof e == "function" ? e(r) : e;
|
|
72
74
|
p = p.replace(/^@media( ?)/m, "");
|
|
73
75
|
const h = ($e !== void 0 ? po : co)(p, c, l, u, f);
|
|
74
76
|
return process.env.NODE_ENV !== "production" && x.useDebugValue({
|
|
@@ -76,8 +78,8 @@ function ge(e, o = {}) {
|
|
|
76
78
|
match: h
|
|
77
79
|
}), h;
|
|
78
80
|
}
|
|
79
|
-
function ho(e, o,
|
|
80
|
-
const n = o.getBoundingClientRect(), c =
|
|
81
|
+
function ho(e, o, r) {
|
|
82
|
+
const n = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(), l = Te(o);
|
|
81
83
|
let u;
|
|
82
84
|
if (o.fakeTransform)
|
|
83
85
|
u = o.fakeTransform;
|
|
@@ -95,11 +97,11 @@ function ho(e, o, t) {
|
|
|
95
97
|
function Pe(e) {
|
|
96
98
|
return typeof e == "function" ? e() : e;
|
|
97
99
|
}
|
|
98
|
-
function J(e, o,
|
|
99
|
-
const n = Pe(
|
|
100
|
+
function J(e, o, r) {
|
|
101
|
+
const n = Pe(r), c = ho(e, o, n);
|
|
100
102
|
c && (o.style.webkitTransform = c, o.style.transform = c);
|
|
101
103
|
}
|
|
102
|
-
const Ee = /* @__PURE__ */ x.forwardRef(function(o,
|
|
104
|
+
const Ee = /* @__PURE__ */ x.forwardRef(function(o, r) {
|
|
103
105
|
const n = ke(), c = {
|
|
104
106
|
enter: n.transitions.easing.easeOut,
|
|
105
107
|
exit: n.transitions.easing.sharp
|
|
@@ -123,12 +125,12 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
|
|
|
123
125
|
style: L,
|
|
124
126
|
timeout: H = l,
|
|
125
127
|
// eslint-disable-next-line react/prop-types
|
|
126
|
-
TransitionComponent: O =
|
|
128
|
+
TransitionComponent: O = Ze,
|
|
127
129
|
...B
|
|
128
|
-
} = o, d = x.useRef(null), w = so(
|
|
130
|
+
} = o, d = x.useRef(null), w = so(Ke(p), d, r), k = (s) => (g) => {
|
|
129
131
|
s && (g === void 0 ? s(d.current) : s(d.current, g));
|
|
130
132
|
}, y = k((s, g) => {
|
|
131
|
-
J(h, s, b),
|
|
133
|
+
J(h, s, b), qe(s), A && A(s, g);
|
|
132
134
|
}), m = k((s, g) => {
|
|
133
135
|
const W = me({
|
|
134
136
|
timeout: H,
|
|
@@ -151,9 +153,9 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
|
|
|
151
153
|
mode: "exit"
|
|
152
154
|
});
|
|
153
155
|
s.style.webkitTransition = n.transitions.create("-webkit-transform", g), s.style.transition = n.transitions.create("transform", g), J(h, s, b), E && E(s);
|
|
154
|
-
}),
|
|
156
|
+
}), re = k((s) => {
|
|
155
157
|
s.style.webkitTransition = "", s.style.transition = "", N && N(s);
|
|
156
|
-
}),
|
|
158
|
+
}), te = (s) => {
|
|
157
159
|
u && u(d.current, s);
|
|
158
160
|
}, D = x.useCallback(() => {
|
|
159
161
|
d.current && J(h, d.current, b);
|
|
@@ -175,9 +177,9 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
|
|
|
175
177
|
onEntered: S,
|
|
176
178
|
onEntering: m,
|
|
177
179
|
onExit: oe,
|
|
178
|
-
onExited:
|
|
180
|
+
onExited: re,
|
|
179
181
|
onExiting: U,
|
|
180
|
-
addEndListener:
|
|
182
|
+
addEndListener: te,
|
|
181
183
|
appear: f,
|
|
182
184
|
in: P,
|
|
183
185
|
timeout: H,
|
|
@@ -203,27 +205,27 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
203
205
|
* node and a done callback. Allows for more fine grained transition end
|
|
204
206
|
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
205
207
|
*/
|
|
206
|
-
addEndListener:
|
|
208
|
+
addEndListener: t.func,
|
|
207
209
|
/**
|
|
208
210
|
* Perform the enter transition when it first mounts if `in` is also `true`.
|
|
209
211
|
* Set this to `false` to disable this behavior.
|
|
210
212
|
* @default true
|
|
211
213
|
*/
|
|
212
|
-
appear:
|
|
214
|
+
appear: t.bool,
|
|
213
215
|
/**
|
|
214
216
|
* A single child content element.
|
|
215
217
|
*/
|
|
216
|
-
children:
|
|
218
|
+
children: _e.isRequired,
|
|
217
219
|
/**
|
|
218
220
|
* An HTML element, or a function that returns one.
|
|
219
221
|
* It's used to set the container the Slide is transitioning from.
|
|
220
222
|
*/
|
|
221
|
-
container: io(
|
|
223
|
+
container: io(t.oneOfType([Je, t.func]), (e) => {
|
|
222
224
|
if (e.open) {
|
|
223
225
|
const o = Pe(e.container);
|
|
224
226
|
if (o && o.nodeType === 1) {
|
|
225
|
-
const
|
|
226
|
-
if (process.env.NODE_ENV !== "test" &&
|
|
227
|
+
const r = o.getBoundingClientRect();
|
|
228
|
+
if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
|
|
227
229
|
return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
228
230
|
`));
|
|
229
231
|
} else if (!o || typeof o.getBoundingClientRect != "function" || o.contextElement != null && o.contextElement.nodeType !== 1)
|
|
@@ -236,7 +238,7 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
236
238
|
* Direction the child node will enter from.
|
|
237
239
|
* @default 'down'
|
|
238
240
|
*/
|
|
239
|
-
direction:
|
|
241
|
+
direction: t.oneOf(["down", "left", "right", "up"]),
|
|
240
242
|
/**
|
|
241
243
|
* The transition timing function.
|
|
242
244
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -245,42 +247,42 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
245
247
|
* exit: theme.transitions.easing.sharp,
|
|
246
248
|
* }
|
|
247
249
|
*/
|
|
248
|
-
easing:
|
|
249
|
-
enter:
|
|
250
|
-
exit:
|
|
251
|
-
}),
|
|
250
|
+
easing: t.oneOfType([t.shape({
|
|
251
|
+
enter: t.string,
|
|
252
|
+
exit: t.string
|
|
253
|
+
}), t.string]),
|
|
252
254
|
/**
|
|
253
255
|
* If `true`, the component will transition in.
|
|
254
256
|
*/
|
|
255
|
-
in:
|
|
257
|
+
in: t.bool,
|
|
256
258
|
/**
|
|
257
259
|
* @ignore
|
|
258
260
|
*/
|
|
259
|
-
onEnter:
|
|
261
|
+
onEnter: t.func,
|
|
260
262
|
/**
|
|
261
263
|
* @ignore
|
|
262
264
|
*/
|
|
263
|
-
onEntered:
|
|
265
|
+
onEntered: t.func,
|
|
264
266
|
/**
|
|
265
267
|
* @ignore
|
|
266
268
|
*/
|
|
267
|
-
onEntering:
|
|
269
|
+
onEntering: t.func,
|
|
268
270
|
/**
|
|
269
271
|
* @ignore
|
|
270
272
|
*/
|
|
271
|
-
onExit:
|
|
273
|
+
onExit: t.func,
|
|
272
274
|
/**
|
|
273
275
|
* @ignore
|
|
274
276
|
*/
|
|
275
|
-
onExited:
|
|
277
|
+
onExited: t.func,
|
|
276
278
|
/**
|
|
277
279
|
* @ignore
|
|
278
280
|
*/
|
|
279
|
-
onExiting:
|
|
281
|
+
onExiting: t.func,
|
|
280
282
|
/**
|
|
281
283
|
* @ignore
|
|
282
284
|
*/
|
|
283
|
-
style:
|
|
285
|
+
style: t.object,
|
|
284
286
|
/**
|
|
285
287
|
* The duration for the transition, in milliseconds.
|
|
286
288
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -289,10 +291,10 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
289
291
|
* exit: theme.transitions.duration.leavingScreen,
|
|
290
292
|
* }
|
|
291
293
|
*/
|
|
292
|
-
timeout:
|
|
293
|
-
appear:
|
|
294
|
-
enter:
|
|
295
|
-
exit:
|
|
294
|
+
timeout: t.oneOfType([t.number, t.shape({
|
|
295
|
+
appear: t.number,
|
|
296
|
+
enter: t.number,
|
|
297
|
+
exit: t.number
|
|
296
298
|
})])
|
|
297
299
|
});
|
|
298
300
|
function uo(e) {
|
|
@@ -301,22 +303,22 @@ function uo(e) {
|
|
|
301
303
|
Ve("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
|
|
302
304
|
const Me = (e, o) => {
|
|
303
305
|
const {
|
|
304
|
-
ownerState:
|
|
306
|
+
ownerState: r
|
|
305
307
|
} = e;
|
|
306
|
-
return [o.root, (
|
|
308
|
+
return [o.root, (r.variant === "permanent" || r.variant === "persistent") && o.docked, o.modal];
|
|
307
309
|
}, fo = (e) => {
|
|
308
310
|
const {
|
|
309
311
|
classes: o,
|
|
310
|
-
anchor:
|
|
312
|
+
anchor: r,
|
|
311
313
|
variant: n
|
|
312
314
|
} = e, c = {
|
|
313
315
|
root: ["root"],
|
|
314
316
|
docked: [(n === "permanent" || n === "persistent") && "docked"],
|
|
315
317
|
modal: ["modal"],
|
|
316
|
-
paper: ["paper", `paperAnchor${Z(
|
|
318
|
+
paper: ["paper", `paperAnchor${Z(r)}`, n !== "temporary" && `paperAnchorDocked${Z(r)}`]
|
|
317
319
|
};
|
|
318
320
|
return Xe(c, uo, o);
|
|
319
|
-
}, mo = ce(
|
|
321
|
+
}, mo = ce(ro, {
|
|
320
322
|
name: "MuiDrawer",
|
|
321
323
|
slot: "Root",
|
|
322
324
|
overridesResolver: Me
|
|
@@ -332,14 +334,14 @@ const Me = (e, o) => {
|
|
|
332
334
|
overridesResolver: Me
|
|
333
335
|
})({
|
|
334
336
|
flex: "0 0 auto"
|
|
335
|
-
}), go = ce(
|
|
337
|
+
}), go = ce(to, {
|
|
336
338
|
name: "MuiDrawer",
|
|
337
339
|
slot: "Paper",
|
|
338
340
|
overridesResolver: (e, o) => {
|
|
339
341
|
const {
|
|
340
|
-
ownerState:
|
|
342
|
+
ownerState: r
|
|
341
343
|
} = e;
|
|
342
|
-
return [o.paper, o[`paperAnchor${Z(
|
|
344
|
+
return [o.paper, o[`paperAnchor${Z(r.anchor)}`], r.variant !== "temporary" && o[`paperAnchorDocked${Z(r.anchor)}`]];
|
|
343
345
|
}
|
|
344
346
|
})(Ce(({
|
|
345
347
|
theme: e
|
|
@@ -439,11 +441,11 @@ function xo({
|
|
|
439
441
|
}, o) {
|
|
440
442
|
return e === "rtl" && bo(o) ? He[o] : o;
|
|
441
443
|
}
|
|
442
|
-
const V = /* @__PURE__ */ x.forwardRef(function(o,
|
|
444
|
+
const V = /* @__PURE__ */ x.forwardRef(function(o, r) {
|
|
443
445
|
const n = Qe({
|
|
444
446
|
props: o,
|
|
445
447
|
name: "MuiDrawer"
|
|
446
|
-
}), c = ke(), l =
|
|
448
|
+
}), c = ke(), l = Ge(), u = {
|
|
447
449
|
enter: c.transitions.duration.enteringScreen,
|
|
448
450
|
exit: c.transitions.duration.leavingScreen
|
|
449
451
|
}, {
|
|
@@ -491,7 +493,7 @@ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
|
|
|
491
493
|
return /* @__PURE__ */ a(be, {
|
|
492
494
|
className: _(m.root, m.docked, h),
|
|
493
495
|
ownerState: y,
|
|
494
|
-
ref:
|
|
496
|
+
ref: r,
|
|
495
497
|
...B,
|
|
496
498
|
children: S
|
|
497
499
|
});
|
|
@@ -506,7 +508,7 @@ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
|
|
|
506
508
|
return O === "persistent" ? /* @__PURE__ */ a(be, {
|
|
507
509
|
className: _(m.root, m.docked, h),
|
|
508
510
|
ownerState: y,
|
|
509
|
-
ref:
|
|
511
|
+
ref: r,
|
|
510
512
|
...B,
|
|
511
513
|
children: U
|
|
512
514
|
}) : /* @__PURE__ */ a(mo, {
|
|
@@ -520,7 +522,7 @@ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
|
|
|
520
522
|
ownerState: y,
|
|
521
523
|
onClose: j,
|
|
522
524
|
hideBackdrop: P,
|
|
523
|
-
ref:
|
|
525
|
+
ref: r,
|
|
524
526
|
...B,
|
|
525
527
|
...z,
|
|
526
528
|
children: U
|
|
@@ -535,23 +537,23 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
|
535
537
|
* Side from which the drawer will appear.
|
|
536
538
|
* @default 'left'
|
|
537
539
|
*/
|
|
538
|
-
anchor:
|
|
540
|
+
anchor: t.oneOf(["bottom", "left", "right", "top"]),
|
|
539
541
|
/**
|
|
540
542
|
* @ignore
|
|
541
543
|
*/
|
|
542
|
-
BackdropProps:
|
|
544
|
+
BackdropProps: t.object,
|
|
543
545
|
/**
|
|
544
546
|
* The content of the component.
|
|
545
547
|
*/
|
|
546
|
-
children:
|
|
548
|
+
children: t.node,
|
|
547
549
|
/**
|
|
548
550
|
* Override or extend the styles applied to the component.
|
|
549
551
|
*/
|
|
550
|
-
classes:
|
|
552
|
+
classes: t.object,
|
|
551
553
|
/**
|
|
552
554
|
* @ignore
|
|
553
555
|
*/
|
|
554
|
-
className:
|
|
556
|
+
className: t.string,
|
|
555
557
|
/**
|
|
556
558
|
* The elevation of the drawer.
|
|
557
559
|
* @default 16
|
|
@@ -561,12 +563,12 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
|
561
563
|
* If `true`, the backdrop is not rendered.
|
|
562
564
|
* @default false
|
|
563
565
|
*/
|
|
564
|
-
hideBackdrop:
|
|
566
|
+
hideBackdrop: t.bool,
|
|
565
567
|
/**
|
|
566
568
|
* Props applied to the [`Modal`](https://mui.com/material-ui/api/modal/) element.
|
|
567
569
|
* @default {}
|
|
568
570
|
*/
|
|
569
|
-
ModalProps:
|
|
571
|
+
ModalProps: t.object,
|
|
570
572
|
/**
|
|
571
573
|
* Callback fired when the component requests to be closed.
|
|
572
574
|
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
@@ -574,25 +576,25 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
|
574
576
|
* @param {object} event The event source of the callback.
|
|
575
577
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
576
578
|
*/
|
|
577
|
-
onClose:
|
|
579
|
+
onClose: t.func,
|
|
578
580
|
/**
|
|
579
581
|
* If `true`, the component is shown.
|
|
580
582
|
* @default false
|
|
581
583
|
*/
|
|
582
|
-
open:
|
|
584
|
+
open: t.bool,
|
|
583
585
|
/**
|
|
584
586
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
585
587
|
* @default {}
|
|
586
588
|
*/
|
|
587
|
-
PaperProps:
|
|
589
|
+
PaperProps: t.object,
|
|
588
590
|
/**
|
|
589
591
|
* Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
|
|
590
592
|
*/
|
|
591
|
-
SlideProps:
|
|
593
|
+
SlideProps: t.object,
|
|
592
594
|
/**
|
|
593
595
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
594
596
|
*/
|
|
595
|
-
sx:
|
|
597
|
+
sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
|
|
596
598
|
/**
|
|
597
599
|
* The duration for the transition, in milliseconds.
|
|
598
600
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -601,16 +603,16 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
|
601
603
|
* exit: theme.transitions.duration.leavingScreen,
|
|
602
604
|
* }
|
|
603
605
|
*/
|
|
604
|
-
transitionDuration:
|
|
605
|
-
appear:
|
|
606
|
-
enter:
|
|
607
|
-
exit:
|
|
606
|
+
transitionDuration: t.oneOfType([t.number, t.shape({
|
|
607
|
+
appear: t.number,
|
|
608
|
+
enter: t.number,
|
|
609
|
+
exit: t.number
|
|
608
610
|
})]),
|
|
609
611
|
/**
|
|
610
612
|
* The variant to use.
|
|
611
613
|
* @default 'temporary'
|
|
612
614
|
*/
|
|
613
|
-
variant:
|
|
615
|
+
variant: t.oneOf(["permanent", "persistent", "temporary"])
|
|
614
616
|
});
|
|
615
617
|
const xe = q(/* @__PURE__ */ a("path", {
|
|
616
618
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
@@ -645,11 +647,11 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
645
647
|
})
|
|
646
648
|
), Co = v("div", {
|
|
647
649
|
shouldForwardProp: (e) => ee(e)
|
|
648
|
-
})(({ withActionsPanel: e, tablet: o, borderColor:
|
|
650
|
+
})(({ withActionsPanel: e, tablet: o, borderColor: r, backgroundColor: n }) => ({
|
|
649
651
|
display: "flex",
|
|
650
652
|
flexDirection: "column",
|
|
651
653
|
opacity: e ? 1 : 0,
|
|
652
|
-
border: `1px solid ${
|
|
654
|
+
border: `1px solid ${r}`,
|
|
653
655
|
borderRight: 0,
|
|
654
656
|
borderRadius: "4px",
|
|
655
657
|
borderTopRightRadius: 0,
|
|
@@ -688,7 +690,7 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
688
690
|
}
|
|
689
691
|
`
|
|
690
692
|
})
|
|
691
|
-
), we = v(K)(({ iconColor: e, highlight1: o, highlight2:
|
|
693
|
+
), we = v(K)(({ iconColor: e, highlight1: o, highlight2: r, rightDrawer: n = !1 }) => ({
|
|
692
694
|
...R`
|
|
693
695
|
position: absolute;
|
|
694
696
|
top: -0.5rem;
|
|
@@ -707,17 +709,17 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
707
709
|
:focus-visible {
|
|
708
710
|
svg {
|
|
709
711
|
filter: unset;
|
|
710
|
-
background-color: ${
|
|
712
|
+
background-color: ${r};
|
|
711
713
|
fill: ${e};
|
|
712
714
|
}
|
|
713
715
|
}
|
|
714
716
|
`
|
|
715
717
|
})), $o = v("div", {
|
|
716
718
|
shouldForwardProp: (e) => ee(e)
|
|
717
|
-
})(({ withActionsPanel: e, borderColor: o, backgroundColor:
|
|
719
|
+
})(({ withActionsPanel: e, borderColor: o, backgroundColor: r, mobileScreen: n }) => ({
|
|
718
720
|
display: "flex",
|
|
719
721
|
overflow: "hidden",
|
|
720
|
-
backgroundColor:
|
|
722
|
+
backgroundColor: r,
|
|
721
723
|
borderRadius: "4px",
|
|
722
724
|
borderBottomLeftRadius: e ? 0 : "4px",
|
|
723
725
|
borderTopLeftRadius: e ? 0 : "4px",
|
|
@@ -852,10 +854,10 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
852
854
|
background-color: transparent;
|
|
853
855
|
}
|
|
854
856
|
`
|
|
855
|
-
})),
|
|
857
|
+
})), er = ({
|
|
856
858
|
navProps: e,
|
|
857
859
|
appHeaderProps: o = {},
|
|
858
|
-
userInfo:
|
|
860
|
+
userInfo: r,
|
|
859
861
|
userSettingsEnabled: n = !0,
|
|
860
862
|
userProfileMenuItems: c = [],
|
|
861
863
|
actionsPanelContent: l,
|
|
@@ -873,8 +875,8 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
873
875
|
backgroundTertiary: S = i.colors.sage,
|
|
874
876
|
highlightPrimary: U = i.colors.sunlight,
|
|
875
877
|
backgroundQuaternary: oe = i.colors.moss,
|
|
876
|
-
highlightSecondary:
|
|
877
|
-
highlightTertiary:
|
|
878
|
+
highlightSecondary: re = i.colors.dandelion,
|
|
879
|
+
highlightTertiary: te = `${i.colors.dandelion}99`,
|
|
878
880
|
iconPrimary: D = i.colors.darkGreen,
|
|
879
881
|
shadowPrimary: s = i.colors.darkGreenO99,
|
|
880
882
|
shadowSecondary: g = i.boxShadows.darkGreen,
|
|
@@ -887,8 +889,8 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
887
889
|
backgroundSecondary: m,
|
|
888
890
|
backgroundTertiary: S,
|
|
889
891
|
highlightPrimary: U,
|
|
890
|
-
highlightSecondary:
|
|
891
|
-
highlightTertiary:
|
|
892
|
+
highlightSecondary: re,
|
|
893
|
+
highlightTertiary: te,
|
|
892
894
|
borderPrimary: X,
|
|
893
895
|
iconPrimary: D,
|
|
894
896
|
shadowPrimary: s,
|
|
@@ -955,7 +957,7 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
955
957
|
isMobile: d,
|
|
956
958
|
themeProps: { shadowSecondary: g, shadowTertiary: W, iconPrimary: D, borderPrimary: X },
|
|
957
959
|
iconColors: Re,
|
|
958
|
-
userName:
|
|
960
|
+
userName: r == null ? void 0 : r.name,
|
|
959
961
|
userSettingsEnabled: n
|
|
960
962
|
}
|
|
961
963
|
),
|
|
@@ -1128,5 +1130,5 @@ const xe = q(/* @__PURE__ */ a("path", {
|
|
|
1128
1130
|
] });
|
|
1129
1131
|
};
|
|
1130
1132
|
export {
|
|
1131
|
-
|
|
1133
|
+
er as default
|
|
1132
1134
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationProps as MuiPaginationProps } from '@mui/material/Pagination';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface PaginationProps extends MuiPaginationProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Pagination: React.FC<PaginationProps>;
|
|
6
|
+
export default Pagination;
|