@cgi-learning-hub/ui 1.3.4-dev.1734424019 → 1.3.4-dev.1736158134
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/{Backdrop-DqUdx8FP.cjs → Backdrop-CvufxHMY.cjs} +1 -1
- package/dist/{Backdrop-ZqzrnV2E.js → Backdrop-DcDd6WZF.js} +13 -13
- package/dist/{Box-DN_2fcm9.js → Box-Byz2BwGf.js} +10 -10
- package/dist/{Box-Be6jhcmK.cjs → Box-mP2Th61z.cjs} +1 -1
- package/dist/{Button-DWN9C3LK.cjs → Button-BH9MUvmz.cjs} +1 -1
- package/dist/{Button-BuXg1NVm.js → Button-BnNYfQ3E.js} +11 -11
- package/dist/{ButtonBase-CATwoZrn.cjs → ButtonBase-BXtyQVDC.cjs} +2 -2
- package/dist/{ButtonBase-B4zoCnjP.js → ButtonBase-DAWDecOk.js} +40 -40
- package/dist/{Card-DO4cAmNC.js → Card-AJG0TUOx.js} +3 -3
- package/dist/{Card-DsmqVSx1.cjs → Card-NqCXQteq.cjs} +1 -1
- package/dist/{Checkbox-CSvGcLhg.js → Checkbox-8Rhxpkjl.js} +21 -21
- package/dist/{Checkbox-AC2mmTnM.cjs → Checkbox-DYrDbdy1.cjs} +1 -1
- package/dist/{CircularProgress-BfbGcmHT.cjs → CircularProgress-BByrCLjv.cjs} +2 -2
- package/dist/{CircularProgress-C4xtwh4E.js → CircularProgress-Kwlef5fX.js} +4 -4
- package/dist/{DatePicker-BSISuO7V.cjs → DatePicker-7-4p3Vtj.cjs} +1 -1
- package/dist/{DatePicker-D1zlx4ZT.js → DatePicker-BS1OatwQ.js} +31 -31
- package/dist/{DefaultPropsProvider-DE-Tx_ov.cjs → DefaultPropsProvider-3KMGupjb.cjs} +3 -3
- package/dist/{DefaultPropsProvider-DUWovK-8.js → DefaultPropsProvider-CvJPQJmL.js} +16 -16
- package/dist/{Delete-DWXEW4-c.js → Delete-BkZN7Xu5.js} +1 -1
- package/dist/{Delete-CpADFuIX.cjs → Delete-D1EiKoL5.cjs} +1 -1
- package/dist/{Dialog-DPCCWdDJ.js → Dialog-D_lS4J_M.js} +8 -8
- package/dist/{Dialog-qbfcFmb5.cjs → Dialog-yOrNcHbG.cjs} +1 -1
- package/dist/{DialogContent-C8YTQP0Y.cjs → DialogContent-Dj_OjLZ6.cjs} +1 -1
- package/dist/{DialogContent-BD5Ba5iS.js → DialogContent-uc65XOEU.js} +23 -23
- package/dist/{DialogTitle-kTwRLVKr.cjs → DialogTitle-BboPDaoB.cjs} +1 -1
- package/dist/{DialogTitle-BeUT_vuo.js → DialogTitle-C8JOi-rq.js} +26 -26
- package/dist/{Divider-BjxxEFnr.cjs → Divider-CcrM3lNn.cjs} +1 -1
- package/dist/{Divider-HhF8ckeh.js → Divider-KO-E6nU8.js} +8 -8
- package/dist/{FormControlLabel-ZA6Gcb5F.cjs → FormControlLabel-Bb6Ul-qQ.cjs} +1 -1
- package/dist/{FormControlLabel-DYY-aErf.js → FormControlLabel-BmrKQtQA.js} +11 -11
- package/dist/{FormGroup-DIP4u-gv.js → FormGroup-CbczEc6e.js} +12 -12
- package/dist/{FormGroup-Ck7StJ6i.cjs → FormGroup-Y3P2AG0i.cjs} +1 -1
- package/dist/{FormLabel-X7FN1eBV.js → FormLabel-CfR4bb21.js} +4 -4
- package/dist/{FormLabel-Ch103TK-.cjs → FormLabel-D1uvEhsH.cjs} +2 -2
- package/dist/{Grow-nPgCOjxT.js → Grow-CQVPAYvp.js} +12 -12
- package/dist/{Grow-_nrtuAFM.cjs → Grow-CUBJs6WD.cjs} +1 -1
- package/dist/{IconButton-Dc15hVpw.cjs → IconButton-CJfzspZK.cjs} +1 -1
- package/dist/{IconButton-CNZSqcsf.js → IconButton-CekuyD4r.js} +9 -9
- package/dist/{InputAdornment-Cl2OaKlw.cjs → InputAdornment-Cq0WhPxF.cjs} +1 -1
- package/dist/{InputAdornment-B4hI0-Jz.js → InputAdornment-iU5YnveW.js} +12 -12
- package/dist/{InputBase-CUavnZkW.js → InputBase-BJy3wwFB.js} +7 -7
- package/dist/{InputBase-DH6V3gr0.cjs → InputBase-s1fk8TB4.cjs} +1 -1
- package/dist/{Link-AXhb0uJT.cjs → Link-CWczkFp0.cjs} +1 -1
- package/dist/{Link-Bdupo_fW.js → Link-CoQuUM0t.js} +7 -7
- package/dist/{Menu-CAFbvCnS.cjs → Menu-Bsx8PA-q.cjs} +6 -6
- package/dist/{Menu-DCJCI5_n.js → Menu-C7tKmcAh.js} +40 -40
- package/dist/{MenuItem-DnzYnth4.cjs → MenuItem-BZ_EVaBq.cjs} +1 -1
- package/dist/{MenuItem-CUIn-K59.js → MenuItem-j8luVUcX.js} +6 -6
- package/dist/{Modal-CZ2mXC6P.cjs → Modal-DImrEpYJ.cjs} +1 -1
- package/dist/{Modal-Bx7G18I1.js → Modal-brWBFdK7.js} +29 -29
- package/dist/{Paper-nlWPEgQh.js → Paper-BG4Vk_Um.js} +4 -4
- package/dist/{Paper-CH4BABUB.cjs → Paper-Cr56xkCr.cjs} +2 -2
- package/dist/{Popper--zvfAHhl.js → Popper-DFZ_gRev.js} +236 -236
- package/dist/{Popper-Lyb9lMD6.cjs → Popper-YT5WAMV-.cjs} +3 -3
- package/dist/Portal-DF0RKOcD.cjs +1 -0
- package/dist/{Portal-BxmIkVSh.js → Portal-JEwcozmp.js} +2 -2
- package/dist/{Radio-D52URzDN.cjs → Radio-CVAEGXKi.cjs} +1 -1
- package/dist/{Radio-6t3s52QR.js → Radio-DGhot3Cd.js} +12 -12
- package/dist/{Select-BODJlTuR.cjs → Select-CwAWNiiv.cjs} +1 -1
- package/dist/{Select-CiMmkNRd.js → Select-DmssuG5M.js} +11 -11
- package/dist/{Stack-C1i6_V9e.js → Stack-BzTJdRGj.js} +27 -27
- package/dist/Stack-Yq6rb7iK.cjs +1 -0
- package/dist/{SwitchBase-DXpLyhps.cjs → SwitchBase-DjIY_KWB.cjs} +1 -1
- package/dist/{SwitchBase-Ch-k9AK8.js → SwitchBase-Dlth5_F7.js} +24 -24
- package/dist/{TableSortLabel-D2EwX3Yg.js → TableSortLabel-BsgRD4k4.js} +683 -676
- package/dist/{TableSortLabel-CTxx0q1M.cjs → TableSortLabel-D0N3e3cP.cjs} +20 -20
- package/dist/{Tabs-CqlNuFEw.js → Tabs-CYbeTnJk.js} +329 -329
- package/dist/{Tabs-C9I_xaBN.cjs → Tabs-KG4VWw-1.cjs} +3 -3
- package/dist/{TextField-nCYJH1XF.cjs → TextField-BI9KVqjC.cjs} +1 -1
- package/dist/{TextField-jZpNiD3K.js → TextField-Cri5Gxa7.js} +8 -8
- package/dist/{Tooltip-B9q50v12.js → Tooltip-BhAHhzKz.js} +10 -10
- package/dist/{Tooltip-4SXCNvL7.cjs → Tooltip-DhDtvULK.cjs} +1 -1
- package/dist/{Typography-DWXYj92v.js → Typography-DBwTr_ix.js} +5 -5
- package/dist/{Typography-B6KFjCtE.cjs → Typography-DfRMDngd.cjs} +1 -1
- package/dist/{capitalize-DASFtB-F.cjs → capitalize-B3GG7Wn6.cjs} +1 -1
- package/dist/{capitalize-NmHVRYy8.js → capitalize-CkF8kU4n.js} +1 -1
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +6 -6
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +7 -7
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.d.ts +1 -0
- package/dist/components/ImagePicker/ImagePicker.es.js +79 -78
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +14 -14
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +31 -31
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +8 -8
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +26 -19
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +5 -5
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +65 -65
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/ImagePicker.stories.cjs.js +1 -1
- package/dist/components/stories/ImagePicker.stories.es.js +13 -6
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +16 -16
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +6 -6
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +9 -9
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +3 -3
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-eUfAcV0x.cjs → createSvgIcon--rEClVU7.cjs} +1 -1
- package/dist/{createSvgIcon-CeuAoIMQ.js → createSvgIcon-C8nGcfF4.js} +4 -4
- package/dist/{dividerClasses-CSD96RzX.cjs → dividerClasses-CCAY3Pnr.cjs} +1 -1
- package/dist/{dividerClasses-DrJ5oIdP.js → dividerClasses-nh2-hkQB.js} +1 -1
- package/dist/{elementTypeAcceptingRef-HBfwF2vD.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
- package/dist/{elementTypeAcceptingRef-Cz_FeG92.cjs → elementTypeAcceptingRef-DZsNbuLU.cjs} +1 -1
- package/dist/{extendSxProp-NjjUyYdB.js → extendSxProp-C2ff0oGc.js} +1 -1
- package/dist/{extendSxProp-Fr1MMO0I.cjs → extendSxProp-apyK-EBz.cjs} +1 -1
- package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
- package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
- package/dist/{generateUtilityClasses-DEQ18TAF.cjs → generateUtilityClasses-B_H9HEmg.cjs} +11 -11
- package/dist/{generateUtilityClasses--6MLb_cS.js → generateUtilityClasses-Bssl7BA_.js} +458 -462
- package/dist/index-Aa73Kpym.cjs +1 -0
- package/dist/{index-B4GmPutS.js → index-BCnPLuqJ.js} +22 -22
- package/dist/{index-CmEzEdk2.cjs → index-ChM1Ett8.cjs} +1 -1
- package/dist/index-Cw0GDedk.cjs +17 -0
- package/dist/{index-BGCIdIru.js → index-CwvpOCso.js} +1 -1
- package/dist/{index-XYfXmNqA.js → index-DXD5J5Eu.js} +37 -37
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +31 -31
- package/dist/{memoTheme-D99chbOP.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
- package/dist/{memoTheme-o8RCKrNG.js → memoTheme-D7Fyh_3C.js} +1 -1
- package/dist/{mergeSlotProps-DSv3FKLb.cjs → mergeSlotProps-DuV-LTW7.cjs} +1 -1
- package/dist/{mergeSlotProps-KHPCviGJ.js → mergeSlotProps-tUJEcwVu.js} +1 -1
- package/dist/{refType-Db26p1ga.cjs → refType-CoaxQOPt.cjs} +1 -1
- package/dist/{refType-BB7-lBOH.js → refType-DKYKROQk.js} +1 -1
- package/dist/{useSlot-eWxwpnv1.js → useSlot-BTpHG6jf.js} +1 -1
- package/dist/{useSlot-DsW0udy9.cjs → useSlot-CByalpSD.cjs} +1 -1
- package/dist/{useSlotProps-C7zjg7t9.js → useSlotProps-B31YQlzb.js} +11 -11
- package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
- package/dist/{useTheme-B1YEBlI0.cjs → useTheme-Cy5kyKJF.cjs} +1 -1
- package/dist/{useTheme-DFJNv-zn.cjs → useTheme-Dukx-__T.cjs} +1 -1
- package/dist/useTheme-DyaNKf4e.js +11 -0
- package/dist/{useTheme-D0ITn2Re.js → useTheme-_xyy-wul.js} +1 -1
- package/dist/{useThemeProps-DrCROxdY.js → useThemeProps-BySkSe-M.js} +2 -2
- package/dist/{useThemeProps-BwyYDczI.cjs → useThemeProps-CdV_QwDl.cjs} +1 -1
- package/dist/{useThemeProps-DsDeaP0E.js → useThemeProps-CwEQ4bv2.js} +3 -3
- package/dist/{useThemeProps-j-HQOOfB.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
- package/dist/{utils-70jLtOQP.js → utils-C6c4fj7D.js} +1 -1
- package/dist/{utils-DlWHEABQ.cjs → utils-vmyQ2IaS.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Portal-DuvPvHEc.cjs +0 -1
- package/dist/Stack-DMNZvXss.cjs +0 -1
- package/dist/index-BoQHt8iN.cjs +0 -1
- package/dist/index-CRdsZkOC.cjs +0 -17
- package/dist/useSlotProps--FPRW1CI.cjs +0 -1
- package/dist/useTheme-BXzyKigM.js +0 -11
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { r as ye } from "./index-
|
|
3
|
-
import { H as ee, I as oe, G as Y, P as e } from "./generateUtilityClasses
|
|
4
|
-
import { u as Le, a as fe } from "./useSlotProps-
|
|
5
|
-
import { s as V, u as te, c as ne, r as je } from "./DefaultPropsProvider-
|
|
2
|
+
import { r as ye } from "./index-DXD5J5Eu.js";
|
|
3
|
+
import { H as ee, I as oe, G as Y, P as e } from "./generateUtilityClasses-Bssl7BA_.js";
|
|
4
|
+
import { u as Le, a as fe } from "./useSlotProps-B31YQlzb.js";
|
|
5
|
+
import { s as V, u as te, c as ne, r as je } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
6
6
|
import { jsx as z, jsxs as ke } from "react/jsx-runtime";
|
|
7
7
|
import { i as Fe } from "./isHostComponent-kiaBvYVo.js";
|
|
8
|
-
import { u as de } from "./useSlot-
|
|
9
|
-
import { b as ze, M as Ke } from "./Modal-
|
|
10
|
-
import { P as He, i as Ue } from "./Paper-
|
|
8
|
+
import { u as de } from "./useSlot-BTpHG6jf.js";
|
|
9
|
+
import { b as ze, M as Ke } from "./Modal-brWBFdK7.js";
|
|
10
|
+
import { P as He, i as Ue } from "./Paper-BG4Vk_Um.js";
|
|
11
11
|
import { o as J } from "./ownerDocument-CUrv0DIK.js";
|
|
12
12
|
import { o as Q } from "./ownerWindow-niciwP7I.js";
|
|
13
13
|
import { d as Ve } from "./debounce-46wSf_lW.js";
|
|
14
|
-
import { u as
|
|
15
|
-
import { r as _e } from "./refType-
|
|
14
|
+
import { u as Pe } from "./useForkRef-C_4o__cU.js";
|
|
15
|
+
import { r as _e } from "./refType-DKYKROQk.js";
|
|
16
16
|
import { c as Ae } from "./chainPropTypes-D9lkm76m.js";
|
|
17
|
-
import { H as Z } from "./Portal-
|
|
18
|
-
import { e as We } from "./elementTypeAcceptingRef-
|
|
19
|
-
import { G as $e } from "./Grow-
|
|
17
|
+
import { H as Z } from "./Portal-JEwcozmp.js";
|
|
18
|
+
import { e as We } from "./elementTypeAcceptingRef-D-5kcohU.js";
|
|
19
|
+
import { G as $e } from "./Grow-CQVPAYvp.js";
|
|
20
20
|
import { u as qe } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
21
|
-
const
|
|
22
|
-
process.env.NODE_ENV !== "production" && (
|
|
21
|
+
const ve = /* @__PURE__ */ s.createContext({});
|
|
22
|
+
process.env.NODE_ENV !== "production" && (ve.displayName = "ListContext");
|
|
23
23
|
function Be(t) {
|
|
24
24
|
return ee("MuiList", t);
|
|
25
25
|
}
|
|
@@ -83,7 +83,7 @@ const Co = oe("MuiList", ["root", "padding", "dense", "subheader"]), Ge = (t) =>
|
|
|
83
83
|
dense: a,
|
|
84
84
|
disablePadding: m
|
|
85
85
|
}, i = Ge(D);
|
|
86
|
-
return /* @__PURE__ */ z(
|
|
86
|
+
return /* @__PURE__ */ z(ve.Provider, {
|
|
87
87
|
value: S,
|
|
88
88
|
children: /* @__PURE__ */ ke(Ye, {
|
|
89
89
|
as: b,
|
|
@@ -180,7 +180,7 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
|
|
|
180
180
|
onKeyDown: O,
|
|
181
181
|
variant: S = "selectedMenu",
|
|
182
182
|
...D
|
|
183
|
-
} = o, i = s.useRef(null),
|
|
183
|
+
} = o, i = s.useRef(null), P = s.useRef({
|
|
184
184
|
keys: [],
|
|
185
185
|
repeating: !0,
|
|
186
186
|
previousKeyMatched: !0,
|
|
@@ -216,13 +216,13 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
|
|
|
216
216
|
else if (f === "End")
|
|
217
217
|
r.preventDefault(), W(l, null, E, m, he);
|
|
218
218
|
else if (f.length === 1) {
|
|
219
|
-
const p =
|
|
219
|
+
const p = P.current, M = f.toLowerCase(), L = performance.now();
|
|
220
220
|
p.keys.length > 0 && (L - p.lastTime > 500 ? (p.keys = [], p.repeating = !0, p.previousKeyMatched = !0) : p.repeating && M !== p.keys[0] && (p.repeating = !1)), p.lastTime = L, p.keys.push(M);
|
|
221
221
|
const x = R && !p.repeating && Ee(R, p);
|
|
222
222
|
p.previousKeyMatched && (x || W(l, R, !1, m, X, p)) ? r.preventDefault() : p.previousKeyMatched = !1;
|
|
223
223
|
}
|
|
224
224
|
O && O(r);
|
|
225
|
-
}, j =
|
|
225
|
+
}, j = Pe(i, n);
|
|
226
226
|
let c = -1;
|
|
227
227
|
s.Children.forEach(b, (r, l) => {
|
|
228
228
|
if (!/* @__PURE__ */ s.isValidElement(r)) {
|
|
@@ -358,7 +358,7 @@ const Je = (t) => {
|
|
|
358
358
|
container: S,
|
|
359
359
|
elevation: D = 8,
|
|
360
360
|
marginThreshold: i = 16,
|
|
361
|
-
open:
|
|
361
|
+
open: P,
|
|
362
362
|
PaperProps: K = {},
|
|
363
363
|
slots: j = {},
|
|
364
364
|
slotProps: c = {},
|
|
@@ -435,7 +435,7 @@ const Je = (t) => {
|
|
|
435
435
|
left: `${Math.round(U)}px`,
|
|
436
436
|
transformOrigin: ge(T)
|
|
437
437
|
};
|
|
438
|
-
}, [h, m, $, q, i]), [
|
|
438
|
+
}, [h, m, $, q, i]), [v, k] = s.useState(P), I = s.useCallback(() => {
|
|
439
439
|
const u = L.current;
|
|
440
440
|
if (!u)
|
|
441
441
|
return;
|
|
@@ -449,13 +449,13 @@ const Je = (t) => {
|
|
|
449
449
|
k(!1);
|
|
450
450
|
};
|
|
451
451
|
s.useEffect(() => {
|
|
452
|
-
|
|
453
|
-
}), s.useImperativeHandle(g, () =>
|
|
452
|
+
P && I();
|
|
453
|
+
}), s.useImperativeHandle(g, () => P ? {
|
|
454
454
|
updatePosition: () => {
|
|
455
455
|
I();
|
|
456
456
|
}
|
|
457
|
-
} : null, [
|
|
458
|
-
if (!
|
|
457
|
+
} : null, [P, I]), s.useEffect(() => {
|
|
458
|
+
if (!P)
|
|
459
459
|
return;
|
|
460
460
|
const u = Ve(() => {
|
|
461
461
|
I();
|
|
@@ -463,7 +463,7 @@ const Je = (t) => {
|
|
|
463
463
|
return d.addEventListener("resize", u), () => {
|
|
464
464
|
u.clear(), d.removeEventListener("resize", u);
|
|
465
465
|
};
|
|
466
|
-
}, [h,
|
|
466
|
+
}, [h, P, I]);
|
|
467
467
|
let re = l;
|
|
468
468
|
l === "auto" && !r.muiSupportAuto && (re = void 0);
|
|
469
469
|
const Ne = S || (h ? J(G(h)).body : void 0), se = {
|
|
@@ -478,7 +478,7 @@ const Je = (t) => {
|
|
|
478
478
|
additionalProps: {
|
|
479
479
|
elevation: D,
|
|
480
480
|
className: Y(_.paper, M == null ? void 0 : M.className),
|
|
481
|
-
style:
|
|
481
|
+
style: v ? M.style : {
|
|
482
482
|
...M.style,
|
|
483
483
|
opacity: 0
|
|
484
484
|
}
|
|
@@ -497,11 +497,11 @@ const Je = (t) => {
|
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
container: Ne,
|
|
500
|
-
open:
|
|
500
|
+
open: P
|
|
501
501
|
},
|
|
502
502
|
ownerState: x,
|
|
503
503
|
className: Y(_.root, O)
|
|
504
|
-
}), Ie =
|
|
504
|
+
}), Ie = Pe(L, ie.ref);
|
|
505
505
|
return /* @__PURE__ */ z(ae, {
|
|
506
506
|
...De,
|
|
507
507
|
...!Fe(ae) && {
|
|
@@ -512,7 +512,7 @@ const Je = (t) => {
|
|
|
512
512
|
ref: n,
|
|
513
513
|
children: /* @__PURE__ */ z(r, {
|
|
514
514
|
appear: !0,
|
|
515
|
-
in:
|
|
515
|
+
in: P,
|
|
516
516
|
onEntering: we,
|
|
517
517
|
onExited: Ce,
|
|
518
518
|
timeout: re,
|
|
@@ -776,7 +776,7 @@ const No = oe("MuiMenu", ["root", "paper", "list"]), eo = {
|
|
|
776
776
|
PopoverClasses: D,
|
|
777
777
|
transitionDuration: i = "auto",
|
|
778
778
|
TransitionProps: {
|
|
779
|
-
onEntering:
|
|
779
|
+
onEntering: P,
|
|
780
780
|
...K
|
|
781
781
|
} = {},
|
|
782
782
|
variant: j = "selectedMenu",
|
|
@@ -788,22 +788,22 @@ const No = oe("MuiMenu", ["root", "paper", "list"]), eo = {
|
|
|
788
788
|
autoFocus: g,
|
|
789
789
|
disableAutoFocusItem: a,
|
|
790
790
|
MenuListProps: m,
|
|
791
|
-
onEntering:
|
|
791
|
+
onEntering: P,
|
|
792
792
|
PaperProps: S,
|
|
793
793
|
transitionDuration: i,
|
|
794
794
|
TransitionProps: K,
|
|
795
795
|
variant: j
|
|
796
|
-
}, N = to(f), R = g && !a && O, p = s.useRef(null), M = (
|
|
797
|
-
p.current && p.current.adjustStyleForScrollbar(
|
|
796
|
+
}, N = to(f), R = g && !a && O, p = s.useRef(null), M = (v, k) => {
|
|
797
|
+
p.current && p.current.adjustStyleForScrollbar(v, {
|
|
798
798
|
direction: l ? "rtl" : "ltr"
|
|
799
|
-
}),
|
|
800
|
-
}, L = (
|
|
801
|
-
|
|
799
|
+
}), P && P(v, k);
|
|
800
|
+
}, L = (v) => {
|
|
801
|
+
v.key === "Tab" && (v.preventDefault(), E && E(v, "tabKeyDown"));
|
|
802
802
|
};
|
|
803
803
|
let x = -1;
|
|
804
|
-
s.Children.map(h, (
|
|
805
|
-
/* @__PURE__ */ s.isValidElement(
|
|
806
|
-
`)),
|
|
804
|
+
s.Children.map(h, (v, k) => {
|
|
805
|
+
/* @__PURE__ */ s.isValidElement(v) && (process.env.NODE_ENV !== "production" && ye.isFragment(v) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
806
|
+
`)), v.props.disabled || (j === "selectedMenu" && v.props.selected || x === -1) && (x = k));
|
|
807
807
|
});
|
|
808
808
|
const _ = c.paper ?? ro, $ = C.paper ?? S, q = fe({
|
|
809
809
|
elementType: c.root,
|
|
@@ -960,7 +960,7 @@ export {
|
|
|
960
960
|
Te as L,
|
|
961
961
|
io as M,
|
|
962
962
|
Ze as a,
|
|
963
|
-
|
|
963
|
+
ve as b,
|
|
964
964
|
Be as g,
|
|
965
965
|
Co as l,
|
|
966
966
|
No as m
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const N=require("react"),t=require("./generateUtilityClasses-
|
|
1
|
+
"use strict";const N=require("react"),t=require("./generateUtilityClasses-B_H9HEmg.cjs"),p=require("./DefaultPropsProvider-3KMGupjb.cjs"),q=require("./memoTheme-Bdg0Y_2O.cjs"),T=require("./Menu-Bsx8PA-q.cjs"),x=require("react/jsx-runtime"),w=require("./ButtonBase-BXtyQVDC.cjs"),S=require("./useEnhancedEffect-BQZ6dtCo.cjs"),B=require("./useForkRef-CTI33h-3.cjs"),P=require("./dividerClasses-CCAY3Pnr.cjs");function V(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(s,o,a.get?a:{enumerable:!0,get:()=>e[o]})}}return s.default=e,Object.freeze(s)}const c=V(N);function D(e){return t.generateUtilityClass("MuiListItemIcon",e)}const f=t.generateUtilityClasses("MuiListItemIcon",["root","alignItemsFlexStart"]);function E(e){return t.generateUtilityClass("MuiListItemText",e)}const g=t.generateUtilityClasses("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function M(e){return t.generateUtilityClass("MuiMenuItem",e)}const r=t.generateUtilityClasses("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),F=(e,s)=>{const{ownerState:o}=e;return[s.root,o.dense&&s.dense,o.divider&&s.divider,!o.disableGutters&&s.gutters]},G=e=>{const{disabled:s,dense:o,divider:a,disableGutters:l,selected:d,classes:n}=e,u={root:["root",o&&"dense",s&&"disabled",!l&&"gutters",a&&"divider",d&&"selected"]},i=p.composeClasses(u,M,n);return{...n,...i}},_=p.styled(w.ButtonBase,{shouldForwardProp:e=>p.rootShouldForwardProp(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:F})(q.memoTheme(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${r.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:t.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${r.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:t.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${r.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:t.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:t.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${r.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${r.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${P.dividerClasses.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${P.dividerClasses.inset}`]:{marginLeft:52},[`& .${g.root}`]:{marginTop:0,marginBottom:0},[`& .${g.inset}`]:{paddingLeft:36},[`& .${f.root}`]:{minWidth:36},variants:[{props:({ownerState:s})=>!s.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:s})=>s.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:s})=>!s.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:s})=>s.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${f.root} svg`]:{fontSize:"1.25rem"}}}]}))),O=c.forwardRef(function(s,o){const a=p.useDefaultProps({props:s,name:"MuiMenuItem"}),{autoFocus:l=!1,component:d="li",dense:n=!1,divider:u=!1,disableGutters:i=!1,focusVisibleClassName:$,role:U="menuitem",tabIndex:m,className:L,...R}=a,v=c.useContext(T.ListContext),C=c.useMemo(()=>({dense:n||v.dense||!1,disableGutters:i}),[v.dense,n,i]),y=c.useRef(null);S.useEnhancedEffect(()=>{l&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[l]);const k={...a,dense:C.dense,divider:u,disableGutters:i},b=G(a),j=B.useForkRef(y,o);let I;return a.disabled||(I=m!==void 0?m:-1),x.jsx(T.ListContext.Provider,{value:C,children:x.jsx(_,{ref:j,role:U,tabIndex:I,component:d,focusVisibleClassName:t.clsx(b.focusVisible,$),className:t.clsx(b.root,L),...R,ownerState:k,classes:b})})});process.env.NODE_ENV!=="production"&&(O.propTypes={autoFocus:t.PropTypes.bool,children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,component:t.PropTypes.elementType,dense:t.PropTypes.bool,disabled:t.PropTypes.bool,disableGutters:t.PropTypes.bool,divider:t.PropTypes.bool,focusVisibleClassName:t.PropTypes.string,role:t.PropTypes.string,selected:t.PropTypes.bool,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),tabIndex:t.PropTypes.number});exports.MenuItem=O;exports.getListItemIconUtilityClass=D;exports.getListItemTextUtilityClass=E;exports.getMenuItemUtilityClass=M;exports.listItemIconClasses=f;exports.listItemTextClasses=g;exports.menuItemClasses=r;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import { H as b, I as f, G as x, P as t, n as d } from "./generateUtilityClasses
|
|
3
|
-
import { s as S, r as U, u as P, c as E } from "./DefaultPropsProvider-
|
|
4
|
-
import { m as F } from "./memoTheme-
|
|
5
|
-
import { b as $ } from "./Menu-
|
|
2
|
+
import { H as b, I as f, G as x, P as t, n as d } from "./generateUtilityClasses-Bssl7BA_.js";
|
|
3
|
+
import { s as S, r as U, u as P, c as E } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
4
|
+
import { m as F } from "./memoTheme-D7Fyh_3C.js";
|
|
5
|
+
import { b as $ } from "./Menu-C7tKmcAh.js";
|
|
6
6
|
import { jsx as M } from "react/jsx-runtime";
|
|
7
|
-
import { B as G } from "./ButtonBase-
|
|
7
|
+
import { B as G } from "./ButtonBase-DAWDecOk.js";
|
|
8
8
|
import { u as j } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
9
9
|
import { u as D } from "./useForkRef-C_4o__cU.js";
|
|
10
|
-
import { d as O } from "./dividerClasses-
|
|
10
|
+
import { d as O } from "./dividerClasses-nh2-hkQB.js";
|
|
11
11
|
function te(e) {
|
|
12
12
|
return b("MuiListItemIcon", e);
|
|
13
13
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const he=require("react"),o=require("./generateUtilityClasses-
|
|
1
|
+
"use strict";const he=require("react"),o=require("./generateUtilityClasses-B_H9HEmg.cjs"),Pe=require("./memoTheme-Bdg0Y_2O.cjs"),V=require("./ownerWindow-DDHucZi0.cjs"),D=require("./ownerDocument-4MViGo3k.cjs"),Y=require("./useForkRef-CTI33h-3.cjs"),oe=require("./useEventCallback-C0-Qw3Sm.cjs"),ge=require("./mergeSlotProps-DuV-LTW7.cjs"),ne=require("./createChainedFunction-CJmlQuW8.cjs"),re=require("./useSlot-CByalpSD.cjs"),O=require("react/jsx-runtime"),$=require("./DefaultPropsProvider-3KMGupjb.cjs"),Ee=require("./Backdrop-CvufxHMY.cjs"),G=require("./Portal-DF0RKOcD.cjs"),X=require("./utils-vmyQ2IaS.cjs");function Re(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=Re(he);function ce(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function xe(e){const t=D.ownerDocument(e);return t.body===e?V.ownerWindow(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function L(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function se(e){return parseInt(V.ownerWindow(e).getComputedStyle(e).paddingRight,10)||0}function ke(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function ie(e,t,r,n,i){const s=[t,r,...n];[].forEach.call(e.children,c=>{const a=!s.includes(c),b=!ke(c);a&&b&&L(c,i)})}function H(e,t){let r=-1;return e.some((n,i)=>t(n)?(r=i,!0):!1),r}function ve(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(xe(n)){const c=ce(V.ownerWindow(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${se(n)+c}px`;const a=D.ownerDocument(n).querySelectorAll(".mui-fixed");[].forEach.call(a,b=>{r.push({value:b.style.paddingRight,property:"padding-right",el:b}),b.style.paddingRight=`${se(b)+c}px`})}let s;if(n.parentNode instanceof DocumentFragment)s=D.ownerDocument(n).body;else{const c=n.parentElement,a=V.ownerWindow(n);s=(c==null?void 0:c.nodeName)==="HTML"&&a.getComputedStyle(c).overflowY==="scroll"?c:n}r.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{r.forEach(({value:s,el:c,property:a})=>{s?c.style.setProperty(a,s):c.style.removeProperty(a)})}}function we(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class ae{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&L(t.modalRef,!1);const i=we(r);ie(r,t.mount,t.modalRef,i,!0);const s=H(this.containers,c=>c.container===r);return s!==-1?(this.containers[s].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n)}mount(t,r){const n=H(this.containers,s=>s.modals.includes(t)),i=this.containers[n];i.restore||(i.restore=ve(i,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=H(this.containers,c=>c.modals.includes(t)),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(n,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&L(t.modalRef,r),ie(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const c=s.modals[s.modals.length-1];c.modalRef&&L(c.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Ce=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ne(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Se(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Ie(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Se(e))}function Fe(e){const t=[],r=[];return Array.from(e.querySelectorAll(Ce)).forEach((n,i)=>{const s=Ne(n);s===-1||!Ie(n)||(s===0?t.push(n):r.push({documentOrder:i,tabIndex:s,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function Me(){return!0}function U(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:s=Fe,isEnabled:c=Me,open:a}=e,b=u.useRef(!1),h=u.useRef(null),x=u.useRef(null),T=u.useRef(null),g=u.useRef(null),y=u.useRef(!1),f=u.useRef(null),A=Y.useForkRef(X.getReactElementRef(t),f),C=u.useRef(null);u.useEffect(()=>{!a||!f.current||(y.current=!r)},[r,a]),u.useEffect(()=>{if(!a||!f.current)return;const l=D.ownerDocument(f.current);return f.current.contains(l.activeElement)||(f.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
2
2
|
`)),f.current.setAttribute("tabIndex","-1")),y.current&&f.current.focus()),()=>{i||(T.current&&T.current.focus&&(b.current=!0,T.current.focus()),T.current=null)}},[a]),u.useEffect(()=>{if(!a||!f.current)return;const l=D.ownerDocument(f.current),m=P=>{C.current=P,!(n||!c()||P.key!=="Tab")&&l.activeElement===f.current&&P.shiftKey&&(b.current=!0,x.current&&x.current.focus())},k=()=>{var v,F;const P=f.current;if(P===null)return;if(!l.hasFocus()||!c()||b.current){b.current=!1;return}if(P.contains(l.activeElement)||n&&l.activeElement!==h.current&&l.activeElement!==x.current)return;if(l.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!y.current)return;let S=[];if((l.activeElement===h.current||l.activeElement===x.current)&&(S=s(f.current)),S.length>0){const j=!!((v=C.current)!=null&&v.shiftKey&&((F=C.current)==null?void 0:F.key)==="Tab"),q=S[0],K=S[S.length-1];typeof q!="string"&&typeof K!="string"&&(j?K.focus():q.focus())}else P.focus()};l.addEventListener("focusin",k),l.addEventListener("keydown",m,!0);const I=setInterval(()=>{l.activeElement&&l.activeElement.tagName==="BODY"&&k()},50);return()=>{clearInterval(I),l.removeEventListener("focusin",k),l.removeEventListener("keydown",m,!0)}},[r,n,i,c,a,s]);const N=l=>{T.current===null&&(T.current=l.relatedTarget),y.current=!0,g.current=l.target;const m=t.props.onFocus;m&&m(l)},E=l=>{T.current===null&&(T.current=l.relatedTarget),y.current=!0};return O.jsxs(u.Fragment,{children:[O.jsx("div",{tabIndex:a?0:-1,onFocus:E,ref:h,"data-testid":"sentinelStart"}),u.cloneElement(t,{ref:A,onFocus:N}),O.jsx("div",{tabIndex:a?0:-1,onFocus:E,ref:x,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(U.propTypes={children:X.elementAcceptingRef,disableAutoFocus:o.PropTypes.bool,disableEnforceFocus:o.PropTypes.bool,disableRestoreFocus:o.PropTypes.bool,getTabbable:o.PropTypes.func,isEnabled:o.PropTypes.func,open:o.PropTypes.bool.isRequired});process.env.NODE_ENV!=="production"&&(U.propTypes=G.exactProp(U.propTypes));function Oe(e){return typeof e=="function"?e():e}function Ae(e){return e?e.props.hasOwnProperty("in"):!1}const _=new ae;function De(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:c,children:a,onClose:b,open:h,rootRef:x}=e,T=u.useRef({}),g=u.useRef(null),y=u.useRef(null),f=Y.useForkRef(y,x),[A,C]=u.useState(!h),N=Ae(a);let E=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(E=!1);const l=()=>D.ownerDocument(g.current),m=()=>(T.current.modalRef=y.current,T.current.mount=g.current,T.current),k=()=>{_.mount(m(),{disableScrollLock:n}),y.current&&(y.current.scrollTop=0)},I=oe.useEventCallback(()=>{const d=Oe(t)||l().body;_.add(m(),d),y.current&&k()}),P=()=>_.isTopModal(m()),S=oe.useEventCallback(d=>{g.current=d,d&&(h&&P()?k():y.current&&L(y.current,E))}),v=u.useCallback(()=>{_.remove(m(),E)},[E]);u.useEffect(()=>()=>{v()},[v]),u.useEffect(()=>{h?I():(!N||!i)&&v()},[h,v,N,i,I]);const F=d=>p=>{var R;(R=d.onKeyDown)==null||R.call(d,p),!(p.key!=="Escape"||p.which===229||!P())&&(r||(p.stopPropagation(),b&&b(p,"escapeKeyDown")))},j=d=>p=>{var R;(R=d.onClick)==null||R.call(d,p),p.target===p.currentTarget&&b&&b(p,"backdropClick")};return{getRootProps:(d={})=>{const p=ge.extractEventHandlers(e);delete p.onTransitionEnter,delete p.onTransitionExited;const R={...p,...d};return{role:"presentation",...R,onKeyDown:F(R),ref:f}},getBackdropProps:(d={})=>{const p=d;return{"aria-hidden":!0,...p,onClick:j(p),open:h}},getTransitionProps:()=>{const d=()=>{C(!1),s&&s()},p=()=>{C(!0),c&&c(),i&&v()};return{onEnter:ne.createChainedFunction(d,a==null?void 0:a.props.onEnter),onExited:ne.createChainedFunction(p,a==null?void 0:a.props.onExited)}},rootRef:f,portalRef:S,isTopModal:P,exited:A,hasTransition:N}}function le(e){return o.generateUtilityClass("MuiModal",e)}const je=o.generateUtilityClasses("MuiModal",["root","hidden","backdrop"]),qe=e=>{const{open:t,exited:r,classes:n}=e,i={root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]};return $.composeClasses(i,le,n)},Be=$.styled("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(Pe.memoTheme(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Le=$.styled(Ee.Backdrop,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ue=u.forwardRef(function(t,r){const n=$.useDefaultProps({name:"MuiModal",props:t}),{BackdropComponent:i=Le,BackdropProps:s,classes:c,className:a,closeAfterTransition:b=!1,children:h,container:x,component:T,components:g={},componentsProps:y={},disableAutoFocus:f=!1,disableEnforceFocus:A=!1,disableEscapeKeyDown:C=!1,disablePortal:N=!1,disableRestoreFocus:E=!1,disableScrollLock:l=!1,hideBackdrop:m=!1,keepMounted:k=!1,onBackdropClick:I,onClose:P,onTransitionEnter:S,onTransitionExited:v,open:F,slotProps:j={},slots:q={},theme:K,...J}=n,d={...n,closeAfterTransition:b,disableAutoFocus:f,disableEnforceFocus:A,disableEscapeKeyDown:C,disablePortal:N,disableRestoreFocus:E,disableScrollLock:l,hideBackdrop:m,keepMounted:k},{getRootProps:p,getBackdropProps:R,getTransitionProps:de,portalRef:pe,isTopModal:fe,exited:Q,hasTransition:Z}=De({...d,rootRef:r}),B={...d,exited:Q},w=qe(B),W={};if(h.props.tabIndex===void 0&&(W.tabIndex="-1"),Z){const{onEnter:M,onExited:z}=de();W.onEnter=M,W.onExited=z}const ee={...J,slots:{root:g.Root,backdrop:g.Backdrop,...q},slotProps:{...y,...j}},[be,ye]=re.useSlot("root",{elementType:Be,externalForwardedProps:ee,getSlotProps:p,additionalProps:{ref:r,as:T},ownerState:B,className:o.clsx(a,w==null?void 0:w.root,!B.open&&B.exited&&(w==null?void 0:w.hidden))}),[Te,te]=re.useSlot("backdrop",{elementType:i,externalForwardedProps:ee,additionalProps:s,getSlotProps:M=>R({...M,onClick:z=>{I&&I(z),M!=null&&M.onClick&&M.onClick(z)}}),className:o.clsx(s==null?void 0:s.className,w==null?void 0:w.backdrop),ownerState:B}),me=Y.useForkRef(s==null?void 0:s.ref,te.ref);return!k&&!F&&(!Z||Q)?null:O.jsx(G.Portal,{ref:pe,container:x,disablePortal:N,children:O.jsxs(be,{...ye,children:[!m&&i?O.jsx(Te,{...te,ref:me}):null,O.jsx(U,{disableEnforceFocus:A,disableAutoFocus:f,disableRestoreFocus:E,isEnabled:fe,open:F,children:u.cloneElement(h,W)})]})})});process.env.NODE_ENV!=="production"&&(ue.propTypes={BackdropComponent:o.PropTypes.elementType,BackdropProps:o.PropTypes.object,children:X.elementAcceptingRef.isRequired,classes:o.PropTypes.object,className:o.PropTypes.string,closeAfterTransition:o.PropTypes.bool,component:o.PropTypes.elementType,components:o.PropTypes.shape({Backdrop:o.PropTypes.elementType,Root:o.PropTypes.elementType}),componentsProps:o.PropTypes.shape({backdrop:o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object]),root:o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object])}),container:o.PropTypes.oneOfType([G.HTMLElementType,o.PropTypes.func]),disableAutoFocus:o.PropTypes.bool,disableEnforceFocus:o.PropTypes.bool,disableEscapeKeyDown:o.PropTypes.bool,disablePortal:o.PropTypes.bool,disableRestoreFocus:o.PropTypes.bool,disableScrollLock:o.PropTypes.bool,hideBackdrop:o.PropTypes.bool,keepMounted:o.PropTypes.bool,onBackdropClick:o.PropTypes.func,onClose:o.PropTypes.func,onTransitionEnter:o.PropTypes.func,onTransitionExited:o.PropTypes.func,open:o.PropTypes.bool.isRequired,slotProps:o.PropTypes.shape({backdrop:o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object]),root:o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object])}),slots:o.PropTypes.shape({backdrop:o.PropTypes.elementType,root:o.PropTypes.elementType}),sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object])});exports.FocusTrap=U;exports.Modal=ue;exports.ModalManager=ae;exports.getModalUtilityClass=le;exports.getScrollbarSize=ce;exports.modalClasses=je;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { P as n, H as be, I as he, G as Z } from "./generateUtilityClasses
|
|
3
|
-
import { m as ge } from "./memoTheme-
|
|
2
|
+
import { P as n, H as be, I as he, G as Z } from "./generateUtilityClasses-Bssl7BA_.js";
|
|
3
|
+
import { m as ge } from "./memoTheme-D7Fyh_3C.js";
|
|
4
4
|
import { o as z } from "./ownerWindow-niciwP7I.js";
|
|
5
5
|
import { o as A } from "./ownerDocument-CUrv0DIK.js";
|
|
6
6
|
import { u as Y } from "./useForkRef-C_4o__cU.js";
|
|
7
7
|
import { u as ee } from "./useEventCallback-BAQJJ3ye.js";
|
|
8
|
-
import { e as Ee } from "./mergeSlotProps-
|
|
8
|
+
import { e as Ee } from "./mergeSlotProps-tUJEcwVu.js";
|
|
9
9
|
import { c as te } from "./createChainedFunction-C0nujS3O.js";
|
|
10
|
-
import { u as oe } from "./useSlot-
|
|
10
|
+
import { u as oe } from "./useSlot-BTpHG6jf.js";
|
|
11
11
|
import { jsxs as se, jsx as j } from "react/jsx-runtime";
|
|
12
|
-
import { s as ie, u as Te, c as ye } from "./DefaultPropsProvider-
|
|
13
|
-
import { B as Re } from "./Backdrop-
|
|
14
|
-
import { e as xe, P as ke, H as
|
|
15
|
-
import { g as
|
|
12
|
+
import { s as ie, u as Te, c as ye } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
13
|
+
import { B as Re } from "./Backdrop-DcDd6WZF.js";
|
|
14
|
+
import { e as xe, P as ke, H as Pe } from "./Portal-JEwcozmp.js";
|
|
15
|
+
import { g as ve, e as ce } from "./utils-C6c4fj7D.js";
|
|
16
16
|
function Ie(e = window) {
|
|
17
17
|
const t = e.document.documentElement.clientWidth;
|
|
18
18
|
return e.innerWidth - t;
|
|
@@ -176,7 +176,7 @@ function V(e) {
|
|
|
176
176
|
getTabbable: r = Be,
|
|
177
177
|
isEnabled: c = Le,
|
|
178
178
|
open: a
|
|
179
|
-
} = e, m = u.useRef(!1), E = u.useRef(null), k = u.useRef(null), h = u.useRef(null), y = u.useRef(null), b = u.useRef(!1), p = u.useRef(null), w = Y(
|
|
179
|
+
} = e, m = u.useRef(!1), E = u.useRef(null), k = u.useRef(null), h = u.useRef(null), y = u.useRef(null), b = u.useRef(!1), p = u.useRef(null), w = Y(ve(t), p), N = u.useRef(null);
|
|
180
180
|
u.useEffect(() => {
|
|
181
181
|
!a || !p.current || (b.current = !s);
|
|
182
182
|
}, [s, a]), u.useEffect(() => {
|
|
@@ -192,8 +192,8 @@ function V(e) {
|
|
|
192
192
|
return;
|
|
193
193
|
const l = A(p.current), g = (T) => {
|
|
194
194
|
N.current = T, !(o || !c() || T.key !== "Tab") && l.activeElement === p.current && T.shiftKey && (m.current = !0, k.current && k.current.focus());
|
|
195
|
-
},
|
|
196
|
-
var
|
|
195
|
+
}, P = () => {
|
|
196
|
+
var v, M;
|
|
197
197
|
const T = p.current;
|
|
198
198
|
if (T === null)
|
|
199
199
|
return;
|
|
@@ -211,17 +211,17 @@ function V(e) {
|
|
|
211
211
|
return;
|
|
212
212
|
let S = [];
|
|
213
213
|
if ((l.activeElement === E.current || l.activeElement === k.current) && (S = r(p.current)), S.length > 0) {
|
|
214
|
-
const D = !!((
|
|
214
|
+
const D = !!((v = N.current) != null && v.shiftKey && ((M = N.current) == null ? void 0 : M.key) === "Tab"), B = S[0], U = S[S.length - 1];
|
|
215
215
|
typeof B != "string" && typeof U != "string" && (D ? U.focus() : B.focus());
|
|
216
216
|
} else
|
|
217
217
|
T.focus();
|
|
218
218
|
};
|
|
219
|
-
l.addEventListener("focusin",
|
|
219
|
+
l.addEventListener("focusin", P), l.addEventListener("keydown", g, !0);
|
|
220
220
|
const F = setInterval(() => {
|
|
221
|
-
l.activeElement && l.activeElement.tagName === "BODY" &&
|
|
221
|
+
l.activeElement && l.activeElement.tagName === "BODY" && P();
|
|
222
222
|
}, 50);
|
|
223
223
|
return () => {
|
|
224
|
-
clearInterval(F), l.removeEventListener("focusin",
|
|
224
|
+
clearInterval(F), l.removeEventListener("focusin", P), l.removeEventListener("keydown", g, !0);
|
|
225
225
|
};
|
|
226
226
|
}, [s, o, i, c, a, r]);
|
|
227
227
|
const C = (l) => {
|
|
@@ -325,23 +325,23 @@ function Ue(e) {
|
|
|
325
325
|
} = e, h = u.useRef({}), y = u.useRef(null), b = u.useRef(null), p = Y(b, k), [w, N] = u.useState(!E), C = Ke(a);
|
|
326
326
|
let R = !0;
|
|
327
327
|
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (R = !1);
|
|
328
|
-
const l = () => A(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current),
|
|
328
|
+
const l = () => A(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current), P = () => {
|
|
329
329
|
H.mount(g(), {
|
|
330
330
|
disableScrollLock: o
|
|
331
331
|
}), b.current && (b.current.scrollTop = 0);
|
|
332
332
|
}, F = ee(() => {
|
|
333
333
|
const d = je(t) || l().body;
|
|
334
|
-
H.add(g(), d), b.current &&
|
|
334
|
+
H.add(g(), d), b.current && P();
|
|
335
335
|
}), T = () => H.isTopModal(g()), S = ee((d) => {
|
|
336
|
-
y.current = d, d && (E && T() ?
|
|
337
|
-
}),
|
|
336
|
+
y.current = d, d && (E && T() ? P() : b.current && K(b.current, R));
|
|
337
|
+
}), v = u.useCallback(() => {
|
|
338
338
|
H.remove(g(), R);
|
|
339
339
|
}, [R]);
|
|
340
340
|
u.useEffect(() => () => {
|
|
341
|
-
|
|
342
|
-
}, [
|
|
343
|
-
E ? F() : (!C || !i) &&
|
|
344
|
-
}, [E,
|
|
341
|
+
v();
|
|
342
|
+
}, [v]), u.useEffect(() => {
|
|
343
|
+
E ? F() : (!C || !i) && v();
|
|
344
|
+
}, [E, v, C, i, F]);
|
|
345
345
|
const M = (d) => (f) => {
|
|
346
346
|
var x;
|
|
347
347
|
(x = d.onKeyDown) == null || x.call(d, f), !(f.key !== "Escape" || f.which === 229 || // Wait until IME is settled.
|
|
@@ -384,7 +384,7 @@ function Ue(e) {
|
|
|
384
384
|
const d = () => {
|
|
385
385
|
N(!1), r && r();
|
|
386
386
|
}, f = () => {
|
|
387
|
-
N(!0), c && c(), i &&
|
|
387
|
+
N(!0), c && c(), i && v();
|
|
388
388
|
};
|
|
389
389
|
return {
|
|
390
390
|
onEnter: te(d, a == null ? void 0 : a.props.onEnter),
|
|
@@ -465,11 +465,11 @@ const it = he("MuiModal", ["root", "hidden", "backdrop"]), qe = (e) => {
|
|
|
465
465
|
disableRestoreFocus: R = !1,
|
|
466
466
|
disableScrollLock: l = !1,
|
|
467
467
|
hideBackdrop: g = !1,
|
|
468
|
-
keepMounted:
|
|
468
|
+
keepMounted: P = !1,
|
|
469
469
|
onBackdropClick: F,
|
|
470
470
|
onClose: T,
|
|
471
471
|
onTransitionEnter: S,
|
|
472
|
-
onTransitionExited:
|
|
472
|
+
onTransitionExited: v,
|
|
473
473
|
open: M,
|
|
474
474
|
slotProps: D = {},
|
|
475
475
|
slots: B = {},
|
|
@@ -486,7 +486,7 @@ const it = he("MuiModal", ["root", "hidden", "backdrop"]), qe = (e) => {
|
|
|
486
486
|
disableRestoreFocus: R,
|
|
487
487
|
disableScrollLock: l,
|
|
488
488
|
hideBackdrop: g,
|
|
489
|
-
keepMounted:
|
|
489
|
+
keepMounted: P
|
|
490
490
|
}, {
|
|
491
491
|
getRootProps: f,
|
|
492
492
|
getBackdropProps: x,
|
|
@@ -543,7 +543,7 @@ const it = he("MuiModal", ["root", "hidden", "backdrop"]), qe = (e) => {
|
|
|
543
543
|
className: Z(r == null ? void 0 : r.className, I == null ? void 0 : I.backdrop),
|
|
544
544
|
ownerState: L
|
|
545
545
|
}), me = Y(r == null ? void 0 : r.ref, Q.ref);
|
|
546
|
-
return !
|
|
546
|
+
return !P && !M && (!X || G) ? null : /* @__PURE__ */ j(ke, {
|
|
547
547
|
ref: le,
|
|
548
548
|
container: k,
|
|
549
549
|
disablePortal: C,
|
|
@@ -643,7 +643,7 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
|
643
643
|
* By default, it uses the body of the top-level document object,
|
|
644
644
|
* so it's simply `document.body` most of the time.
|
|
645
645
|
*/
|
|
646
|
-
container: n.oneOfType([
|
|
646
|
+
container: n.oneOfType([Pe, n.func]),
|
|
647
647
|
/**
|
|
648
648
|
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
649
649
|
* replace it to the last focused element when it closes.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as h from "react";
|
|
2
|
-
import { H as w, I as N, G as T, n as f, B as m, P as a } from "./generateUtilityClasses
|
|
3
|
-
import { u as $ } from "./useTheme-
|
|
2
|
+
import { H as w, I as N, G as T, n as f, B as m, P as a } from "./generateUtilityClasses-Bssl7BA_.js";
|
|
3
|
+
import { u as $ } from "./useTheme-DyaNKf4e.js";
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
|
-
import { s as x, u as E, c as O } from "./DefaultPropsProvider-
|
|
6
|
-
import { m as q } from "./memoTheme-
|
|
5
|
+
import { s as x, u as E, c as O } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
6
|
+
import { m as q } from "./memoTheme-D7Fyh_3C.js";
|
|
7
7
|
import { c as C } from "./chainPropTypes-D9lkm76m.js";
|
|
8
8
|
function I(e) {
|
|
9
9
|
const o = typeof e;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const w=require("react"),
|
|
2
|
-
`)),q.jsx(M,{as:u,ownerState:d,className:
|
|
1
|
+
"use strict";const w=require("react"),t=require("./generateUtilityClasses-B_H9HEmg.cjs"),N=require("./useTheme-Cy5kyKJF.cjs"),q=require("react/jsx-runtime"),p=require("./DefaultPropsProvider-3KMGupjb.cjs"),O=require("./memoTheme-Bdg0Y_2O.cjs"),$=require("./chainPropTypes-CEUi6Jb4.cjs");function j(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const R=j(w);function C(e){const r=typeof e;switch(r){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return r}}function y(e,r,o,a){const n=e[r];if(n==null||!Number.isInteger(n)){const i=C(n);return new RangeError(`Invalid ${a} \`${r}\` of type \`${i}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function P(e,r,...o){return e[r]===void 0?null:y(e,r,...o)}function l(){return null}P.isRequired=y;l.isRequired=l;const T=process.env.NODE_ENV==="production"?l:P;function b(e){return t.generateUtilityClass("MuiPaper",e)}const x=t.generateUtilityClasses("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"]),E=e=>{const{square:r,elevation:o,variant:a,classes:n}=e,i={root:["root",a,!r&&"rounded",a==="elevation"&&`elevation${o}`]};return p.composeClasses(i,b,n)},M=p.styled("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:o}=e;return[r.root,r[o.variant],!o.square&&r.rounded,o.variant==="elevation"&&r[`elevation${o.elevation}`]]}})(O.memoTheme(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:r})=>!r.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),g=R.forwardRef(function(r,o){var f;const a=p.useDefaultProps({props:r,name:"MuiPaper"}),n=N.useTheme(),{className:i,component:u="div",elevation:s=1,square:m=!1,variant:c="elevation",...v}=a,d={...a,component:u,elevation:s,square:m,variant:c},h=E(d);return process.env.NODE_ENV!=="production"&&n.shadows[s]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
|
|
2
|
+
`)),q.jsx(M,{as:u,ownerState:d,className:t.clsx(h.root,i),ref:o,...v,style:{...c==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[s],...n.vars&&{"--Paper-overlay":(f=n.vars.overlays)==null?void 0:f[s]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${t.alpha("#fff",t.getOverlayAlpha(s))}, ${t.alpha("#fff",t.getOverlayAlpha(s))})`}},...v.style}})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,component:t.PropTypes.elementType,elevation:$.chainPropTypes(T,e=>{const{elevation:r,variant:o}=e;return r>0&&o==="outlined"?new Error(`MUI: Combining \`elevation={${r}}\` with \`variant="${o}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:t.PropTypes.bool,style:t.PropTypes.object,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),variant:t.PropTypes.oneOfType([t.PropTypes.oneOf(["elevation","outlined"]),t.PropTypes.string])});exports.Paper=g;exports.getPaperUtilityClass=b;exports.integerPropType=T;exports.paperClasses=x;
|