everest-npm-features 0.0.61 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/PlayArrow-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +98 -107
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -45
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -13
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/PlayArrow-Bjz9LxhD.js +0 -13
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/styles.module-CHPRGltL.js +0 -28
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import * as c from "react";
|
|
2
|
-
import { g as f, P as t, a as d } from "./createTheme-CD19zQB7.js";
|
|
3
|
-
import { c as x } from "./clsx-BTaloaeC.js";
|
|
4
|
-
import { s as S, r as U, u as P, c as E } from "./DefaultPropsProvider-oAu9El-f.js";
|
|
5
|
-
import { m as F } from "./memoTheme-yHaPezod.js";
|
|
6
|
-
import { L as $ } from "./Menu-DLYFFrEk.js";
|
|
7
|
-
import { g as b } from "./generateUtilityClasses-BRiE4Guh.js";
|
|
8
|
-
import { jsx as M } from "react/jsx-runtime";
|
|
9
|
-
import { B as j } from "./ButtonBase-DLF5c6wi.js";
|
|
10
|
-
import { u as D } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
11
|
-
import { u as G } from "./TransitionGroupContext-CYRQkQ6k.js";
|
|
12
|
-
import { d as O } from "./dividerClasses-BDxa2gAa.js";
|
|
13
|
-
function ae(e) {
|
|
14
|
-
return f("MuiListItemIcon", e);
|
|
15
|
-
}
|
|
16
|
-
const T = b("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
|
|
17
|
-
function re(e) {
|
|
18
|
-
return f("MuiListItemText", e);
|
|
19
|
-
}
|
|
20
|
-
const L = b("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
|
|
21
|
-
function H(e) {
|
|
22
|
-
return f("MuiMenuItem", e);
|
|
23
|
-
}
|
|
24
|
-
const z = b("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), i = z, _ = (e, o) => {
|
|
25
|
-
const {
|
|
26
|
-
ownerState: s
|
|
27
|
-
} = e;
|
|
28
|
-
return [o.root, s.dense && o.dense, s.divider && o.divider, !s.disableGutters && o.gutters];
|
|
29
|
-
}, W = (e) => {
|
|
30
|
-
const {
|
|
31
|
-
disabled: o,
|
|
32
|
-
dense: s,
|
|
33
|
-
divider: a,
|
|
34
|
-
disableGutters: l,
|
|
35
|
-
selected: p,
|
|
36
|
-
classes: r
|
|
37
|
-
} = e, n = E({
|
|
38
|
-
root: ["root", s && "dense", o && "disabled", !l && "gutters", a && "divider", p && "selected"]
|
|
39
|
-
}, H, r);
|
|
40
|
-
return {
|
|
41
|
-
...r,
|
|
42
|
-
...n
|
|
43
|
-
};
|
|
44
|
-
}, q = S(j, {
|
|
45
|
-
shouldForwardProp: (e) => U(e) || e === "classes",
|
|
46
|
-
name: "MuiMenuItem",
|
|
47
|
-
slot: "Root",
|
|
48
|
-
overridesResolver: _
|
|
49
|
-
})(F(({
|
|
50
|
-
theme: e
|
|
51
|
-
}) => ({
|
|
52
|
-
...e.typography.body1,
|
|
53
|
-
display: "flex",
|
|
54
|
-
justifyContent: "flex-start",
|
|
55
|
-
alignItems: "center",
|
|
56
|
-
position: "relative",
|
|
57
|
-
textDecoration: "none",
|
|
58
|
-
minHeight: 48,
|
|
59
|
-
paddingTop: 6,
|
|
60
|
-
paddingBottom: 6,
|
|
61
|
-
boxSizing: "border-box",
|
|
62
|
-
whiteSpace: "nowrap",
|
|
63
|
-
"&:hover": {
|
|
64
|
-
textDecoration: "none",
|
|
65
|
-
backgroundColor: (e.vars || e).palette.action.hover,
|
|
66
|
-
// Reset on touch devices, it doesn't add specificity
|
|
67
|
-
"@media (hover: none)": {
|
|
68
|
-
backgroundColor: "transparent"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
[`&.${i.selected}`]: {
|
|
72
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : d(e.palette.primary.main, e.palette.action.selectedOpacity),
|
|
73
|
-
[`&.${i.focusVisible}`]: {
|
|
74
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : d(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
[`&.${i.selected}:hover`]: {
|
|
78
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : d(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
|
|
79
|
-
// Reset on touch devices, it doesn't add specificity
|
|
80
|
-
"@media (hover: none)": {
|
|
81
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : d(e.palette.primary.main, e.palette.action.selectedOpacity)
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
[`&.${i.focusVisible}`]: {
|
|
85
|
-
backgroundColor: (e.vars || e).palette.action.focus
|
|
86
|
-
},
|
|
87
|
-
[`&.${i.disabled}`]: {
|
|
88
|
-
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
89
|
-
},
|
|
90
|
-
[`& + .${O.root}`]: {
|
|
91
|
-
marginTop: e.spacing(1),
|
|
92
|
-
marginBottom: e.spacing(1)
|
|
93
|
-
},
|
|
94
|
-
[`& + .${O.inset}`]: {
|
|
95
|
-
marginLeft: 52
|
|
96
|
-
},
|
|
97
|
-
[`& .${L.root}`]: {
|
|
98
|
-
marginTop: 0,
|
|
99
|
-
marginBottom: 0
|
|
100
|
-
},
|
|
101
|
-
[`& .${L.inset}`]: {
|
|
102
|
-
paddingLeft: 36
|
|
103
|
-
},
|
|
104
|
-
[`& .${T.root}`]: {
|
|
105
|
-
minWidth: 36
|
|
106
|
-
},
|
|
107
|
-
variants: [{
|
|
108
|
-
props: ({
|
|
109
|
-
ownerState: o
|
|
110
|
-
}) => !o.disableGutters,
|
|
111
|
-
style: {
|
|
112
|
-
paddingLeft: 16,
|
|
113
|
-
paddingRight: 16
|
|
114
|
-
}
|
|
115
|
-
}, {
|
|
116
|
-
props: ({
|
|
117
|
-
ownerState: o
|
|
118
|
-
}) => o.divider,
|
|
119
|
-
style: {
|
|
120
|
-
borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
|
|
121
|
-
backgroundClip: "padding-box"
|
|
122
|
-
}
|
|
123
|
-
}, {
|
|
124
|
-
props: ({
|
|
125
|
-
ownerState: o
|
|
126
|
-
}) => !o.dense,
|
|
127
|
-
style: {
|
|
128
|
-
[e.breakpoints.up("sm")]: {
|
|
129
|
-
minHeight: "auto"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}, {
|
|
133
|
-
props: ({
|
|
134
|
-
ownerState: o
|
|
135
|
-
}) => o.dense,
|
|
136
|
-
style: {
|
|
137
|
-
minHeight: 32,
|
|
138
|
-
// https://m2.material.io/components/menus#specs > Dense
|
|
139
|
-
paddingTop: 4,
|
|
140
|
-
paddingBottom: 4,
|
|
141
|
-
...e.typography.body2,
|
|
142
|
-
[`& .${T.root} svg`]: {
|
|
143
|
-
fontSize: "1.25rem"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}]
|
|
147
|
-
}))), A = /* @__PURE__ */ c.forwardRef(function(o, s) {
|
|
148
|
-
const a = P({
|
|
149
|
-
props: o,
|
|
150
|
-
name: "MuiMenuItem"
|
|
151
|
-
}), {
|
|
152
|
-
autoFocus: l = !1,
|
|
153
|
-
component: p = "li",
|
|
154
|
-
dense: r = !1,
|
|
155
|
-
divider: g = !1,
|
|
156
|
-
disableGutters: n = !1,
|
|
157
|
-
focusVisibleClassName: k,
|
|
158
|
-
role: N = "menuitem",
|
|
159
|
-
tabIndex: y,
|
|
160
|
-
className: R,
|
|
161
|
-
...w
|
|
162
|
-
} = a, v = c.useContext($), C = c.useMemo(() => ({
|
|
163
|
-
dense: r || v.dense || !1,
|
|
164
|
-
disableGutters: n
|
|
165
|
-
}), [v.dense, r, n]), u = c.useRef(null);
|
|
166
|
-
D(() => {
|
|
167
|
-
l && (u.current ? u.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
168
|
-
}, [l]);
|
|
169
|
-
const V = {
|
|
170
|
-
...a,
|
|
171
|
-
dense: C.dense,
|
|
172
|
-
divider: g,
|
|
173
|
-
disableGutters: n
|
|
174
|
-
}, m = W(a), B = G(u, s);
|
|
175
|
-
let I;
|
|
176
|
-
return a.disabled || (I = y !== void 0 ? y : -1), /* @__PURE__ */ M($.Provider, {
|
|
177
|
-
value: C,
|
|
178
|
-
children: /* @__PURE__ */ M(q, {
|
|
179
|
-
ref: B,
|
|
180
|
-
role: N,
|
|
181
|
-
tabIndex: I,
|
|
182
|
-
component: p,
|
|
183
|
-
focusVisibleClassName: x(m.focusVisible, k),
|
|
184
|
-
className: x(m.root, R),
|
|
185
|
-
...w,
|
|
186
|
-
ownerState: V,
|
|
187
|
-
classes: m
|
|
188
|
-
})
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
process.env.NODE_ENV !== "production" && (A.propTypes = {
|
|
192
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
193
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
194
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
195
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
196
|
-
/**
|
|
197
|
-
* If `true`, the list item is focused during the first mount.
|
|
198
|
-
* Focus will also be triggered if the value changes from false to true.
|
|
199
|
-
* @default false
|
|
200
|
-
*/
|
|
201
|
-
autoFocus: t.bool,
|
|
202
|
-
/**
|
|
203
|
-
* The content of the component.
|
|
204
|
-
*/
|
|
205
|
-
children: t.node,
|
|
206
|
-
/**
|
|
207
|
-
* Override or extend the styles applied to the component.
|
|
208
|
-
*/
|
|
209
|
-
classes: t.object,
|
|
210
|
-
/**
|
|
211
|
-
* @ignore
|
|
212
|
-
*/
|
|
213
|
-
className: t.string,
|
|
214
|
-
/**
|
|
215
|
-
* The component used for the root node.
|
|
216
|
-
* Either a string to use a HTML element or a component.
|
|
217
|
-
*/
|
|
218
|
-
component: t.elementType,
|
|
219
|
-
/**
|
|
220
|
-
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
221
|
-
* The prop defaults to the value inherited from the parent Menu component.
|
|
222
|
-
* @default false
|
|
223
|
-
*/
|
|
224
|
-
dense: t.bool,
|
|
225
|
-
/**
|
|
226
|
-
* @ignore
|
|
227
|
-
*/
|
|
228
|
-
disabled: t.bool,
|
|
229
|
-
/**
|
|
230
|
-
* If `true`, the left and right padding is removed.
|
|
231
|
-
* @default false
|
|
232
|
-
*/
|
|
233
|
-
disableGutters: t.bool,
|
|
234
|
-
/**
|
|
235
|
-
* If `true`, a 1px light border is added to the bottom of the menu item.
|
|
236
|
-
* @default false
|
|
237
|
-
*/
|
|
238
|
-
divider: t.bool,
|
|
239
|
-
/**
|
|
240
|
-
* This prop can help identify which element has keyboard focus.
|
|
241
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
242
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
243
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
244
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
245
|
-
* if needed.
|
|
246
|
-
*/
|
|
247
|
-
focusVisibleClassName: t.string,
|
|
248
|
-
/**
|
|
249
|
-
* @ignore
|
|
250
|
-
*/
|
|
251
|
-
role: t.string,
|
|
252
|
-
/**
|
|
253
|
-
* If `true`, the component is selected.
|
|
254
|
-
* @default false
|
|
255
|
-
*/
|
|
256
|
-
selected: t.bool,
|
|
257
|
-
/**
|
|
258
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
259
|
-
*/
|
|
260
|
-
sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
|
|
261
|
-
/**
|
|
262
|
-
* @default 0
|
|
263
|
-
*/
|
|
264
|
-
tabIndex: t.number
|
|
265
|
-
});
|
|
266
|
-
export {
|
|
267
|
-
A as M,
|
|
268
|
-
re as a,
|
|
269
|
-
ae as g,
|
|
270
|
-
L as l
|
|
271
|
-
};
|