everest-npm-features 0.0.23 → 0.0.25
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/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
- package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
- package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
- package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
- package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
- package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
- package/dist/Button-C57IMamW.js +660 -0
- package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
- package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
- package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
- package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
- package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
- package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
- package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
- package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
- package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
- package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
- package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
- package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
- package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
- package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
- package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
- package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
- package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
- package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
- package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
- package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
- package/dist/GlobalStyles-DhHHc9O0.js +59 -0
- package/dist/Grid-BXyV_lM8.js +410 -0
- package/dist/Grow-B2p7O_1C.js +196 -0
- package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
- package/dist/IconButton-eWRhV6Q9.js +295 -0
- package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
- package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
- package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
- package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
- package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
- package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
- package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
- package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
- package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
- package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
- package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
- package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
- package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
- package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
- package/dist/SwitchBase-CHO5ZceN.js +317 -0
- package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
- package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
- package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
- package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
- package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
- package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/FullKyc/index.js +4 -4
- package/dist/components/Shared/FullKyc/pep.js +9 -9
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
- package/dist/components/Shared/FullKyc/userInfo.js +11 -11
- package/dist/components/Shared/HistoryItem/index.js +7 -7
- package/dist/components/Shared/Incode/index.js +5 -5
- package/dist/components/Shared/MinimalKyc/index.js +8 -8
- package/dist/components/Shared/loader.js +2 -2
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/Wallet/Account/createIban.d.ts +1 -0
- package/dist/components/Wallet/Account/createIban.js +36 -35
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +16 -16
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +76 -70
- package/dist/components/Wallet/Account/sendIban.js +61 -61
- package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Buy/form.d.ts +2 -2
- package/dist/components/Wallet/Buy/form.js +17 -17
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +7 -7
- package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
- package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
- package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
- package/dist/components/Wallet/History/index.js +61 -62
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
- package/dist/components/Wallet/Portfolio/index.js +95 -95
- package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
- package/dist/components/Wallet/Profile/documents.js +17 -17
- package/dist/components/Wallet/Profile/index.js +225 -206
- package/dist/components/Wallet/Receive/index.js +9 -9
- package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Sell/form.js +17 -17
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +14 -14
- package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
- package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
- package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
- package/dist/components/Wallet/Shared/Container/index.js +3 -3
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
- package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
- package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
- package/dist/components/Wallet/Shared/addBank.js +11 -11
- package/dist/components/Wallet/Shared/appButton.js +5 -5
- package/dist/components/Wallet/Shared/backBtn.js +8 -8
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +2 -2
- package/dist/components/Wallet/Shared/pin.js +3 -3
- package/dist/components/Wallet/Shared/radioButton.js +3 -3
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/SignUp/terms.js +4 -4
- package/dist/components/Wallet/Stake/gems/index.js +11 -11
- package/dist/components/Wallet/Stake/id/index.js +12 -12
- package/dist/components/Wallet/Stake/index.js +10 -10
- package/dist/components/Wallet/Swap/index.js +138 -150
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
- package/dist/components/Wallet/Withdraw/form.js +16 -16
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
- package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
- package/dist/createTheme-DmGCMO09.js +3825 -0
- package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
- package/dist/defaultTheme-9fAph5zo.js +5 -0
- package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
- package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
- package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
- package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
- package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
- package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
- package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
- package/dist/hoc/withThemeProvider.js +518 -417
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +363 -288
- package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
- 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 +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/index-BB3__zW3.js +644 -0
- package/dist/index-C86AoaoB.js +43 -0
- package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
- package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
- package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
- package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
- package/dist/index-eEYiDlpX.js +723 -0
- package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
- package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
- package/dist/main.js +6 -6
- package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
- package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
- package/dist/pep-C5Ge-kU4.js +2691 -0
- package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
- package/dist/refType-CaiGhRso.js +56 -0
- package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
- package/dist/tokenRow-BR8f4g7G.js +198 -0
- package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
- package/dist/useControlled-nm4pBabJ.js +31 -0
- package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
- package/dist/useSlot-DtSnboW7.js +125 -0
- package/dist/useSlotProps-D62tWbb1.js +25 -0
- package/dist/useTheme-Bfw5Gt1b.js +17 -0
- package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
- package/dist/useThemeProps-lRuJRcRX.js +29 -0
- package/dist/wallet-DDW5KCHp.js +39 -0
- package/package.json +7 -6
- package/dist/Button-DCBtFwk3.js +0 -452
- package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
- package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
- package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
- package/dist/Grid-BaaKMDwM.js +0 -501
- package/dist/Grid2-DX2sucnU.js +0 -374
- package/dist/Grow-CC3Va50c.js +0 -216
- package/dist/IconButton-8B2ygvr4.js +0 -238
- package/dist/SwitchBase-B9rcpVZ0.js +0 -261
- package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
- package/dist/createTheme-D_EHVLXp.js +0 -3662
- package/dist/defaultTheme-CGLnLLk_.js +0 -5
- package/dist/index-BEH1PkNC.js +0 -572
- package/dist/index-DSZxScyY.js +0 -704
- package/dist/index-DlZLKtdr.js +0 -72
- package/dist/pep-BsWvrgyM.js +0 -2600
- package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
- package/dist/styled-CyBKg0N-.js +0 -5
- package/dist/tokenRow-QlGBYRKR.js +0 -206
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useSlot-BdP6R4tz.js +0 -50
- package/dist/useTheme-BFI_g9FY.js +0 -9
- package/dist/useThemeProps-BOrAzOS4.js +0 -40
- package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
- package/dist/useTimeout-_ag1gI7y.js +0 -56
- package/dist/utils-B-vKE_Dv.js +0 -50
- package/dist/utils-asicApOI.js +0 -21
- package/dist/wallet-z7NHqtCj.js +0 -35
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as h from "react";
|
|
2
|
-
import { P as t } from "./createTheme-
|
|
3
|
-
import { u as D } from "./useTheme-
|
|
2
|
+
import { P as t } from "./createTheme-DmGCMO09.js";
|
|
3
|
+
import { u as D } from "./useTheme-XTDzJ69d.js";
|
|
4
4
|
import { jsx as U } from "react/jsx-runtime";
|
|
5
|
-
import { g as _, e as q,
|
|
6
|
-
import { u as
|
|
7
|
-
import { o as
|
|
8
|
-
import { c as
|
|
9
|
-
import { H as
|
|
10
|
-
import { T as K } from "./Transition-CYSgg85A.js";
|
|
5
|
+
import { g as _, e as q, T as A, r as F, a as P } from "./elementAcceptingRef-BbsmdE_3.js";
|
|
6
|
+
import { u as G } from "./TransitionGroupContext-CYRQkQ6k.js";
|
|
7
|
+
import { o as S } from "./ownerWindow-CRgpWY6I.js";
|
|
8
|
+
import { c as J } from "./chainPropTypes-D9lkm76m.js";
|
|
9
|
+
import { H as K } from "./HTMLElementType-BrQSV2FE.js";
|
|
11
10
|
import { d as Q } from "./debounce-46wSf_lW.js";
|
|
12
|
-
function Z(
|
|
13
|
-
const n = r.getBoundingClientRect(), i = f && f.getBoundingClientRect(), E =
|
|
11
|
+
function Z(o, r, f) {
|
|
12
|
+
const n = r.getBoundingClientRect(), i = f && f.getBoundingClientRect(), E = S(r);
|
|
14
13
|
let c;
|
|
15
14
|
if (r.fakeTransform)
|
|
16
15
|
c = r.fakeTransform;
|
|
@@ -23,13 +22,13 @@ function Z(s, r, f) {
|
|
|
23
22
|
const a = c.split("(")[1].split(")")[0].split(",");
|
|
24
23
|
d = parseInt(a[4], 10), u = parseInt(a[5], 10);
|
|
25
24
|
}
|
|
26
|
-
return
|
|
25
|
+
return o === "left" ? i ? `translateX(${i.right + d - n.left}px)` : `translateX(${E.innerWidth + d - n.left}px)` : o === "right" ? i ? `translateX(-${n.right - i.left - d}px)` : `translateX(-${n.left + n.width - d}px)` : o === "up" ? i ? `translateY(${i.bottom + u - n.top}px)` : `translateY(${E.innerHeight + u - n.top}px)` : i ? `translateY(-${n.top - i.top + n.height - u}px)` : `translateY(-${n.top + n.height - u}px)`;
|
|
27
26
|
}
|
|
28
|
-
function
|
|
29
|
-
return typeof
|
|
27
|
+
function $(o) {
|
|
28
|
+
return typeof o == "function" ? o() : o;
|
|
30
29
|
}
|
|
31
|
-
function
|
|
32
|
-
const n =
|
|
30
|
+
function x(o, r, f) {
|
|
31
|
+
const n = $(f), i = Z(o, r, n);
|
|
33
32
|
i && (r.style.webkitTransform = i, r.style.transform = i);
|
|
34
33
|
}
|
|
35
34
|
const ee = /* @__PURE__ */ h.forwardRef(function(r, f) {
|
|
@@ -45,84 +44,87 @@ const ee = /* @__PURE__ */ h.forwardRef(function(r, f) {
|
|
|
45
44
|
children: u,
|
|
46
45
|
container: a,
|
|
47
46
|
direction: p = "down",
|
|
48
|
-
easing:
|
|
47
|
+
easing: w = i,
|
|
49
48
|
in: m,
|
|
50
|
-
onEnter:
|
|
51
|
-
onEntered:
|
|
52
|
-
onEntering:
|
|
53
|
-
onExit:
|
|
54
|
-
onExited:
|
|
49
|
+
onEnter: R,
|
|
50
|
+
onEntered: O,
|
|
51
|
+
onEntering: v,
|
|
52
|
+
onExit: k,
|
|
53
|
+
onExited: C,
|
|
55
54
|
onExiting: V,
|
|
56
|
-
style:
|
|
57
|
-
timeout:
|
|
55
|
+
style: T,
|
|
56
|
+
timeout: b = E,
|
|
58
57
|
// eslint-disable-next-line react/prop-types
|
|
59
|
-
TransitionComponent: I =
|
|
58
|
+
TransitionComponent: I = A,
|
|
60
59
|
...M
|
|
61
|
-
} = r, l = h.useRef(null),
|
|
62
|
-
e && (
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
}),
|
|
66
|
-
const
|
|
67
|
-
timeout:
|
|
68
|
-
style:
|
|
69
|
-
easing:
|
|
60
|
+
} = r, l = h.useRef(null), X = G(_(u), l, f), g = (e) => (s) => {
|
|
61
|
+
e && (s === void 0 ? e(l.current) : e(l.current, s));
|
|
62
|
+
}, Y = g((e, s) => {
|
|
63
|
+
x(p, e, a), F(e), R && R(e, s);
|
|
64
|
+
}), j = g((e, s) => {
|
|
65
|
+
const y = P({
|
|
66
|
+
timeout: b,
|
|
67
|
+
style: T,
|
|
68
|
+
easing: w
|
|
70
69
|
}, {
|
|
71
70
|
mode: "enter"
|
|
72
71
|
});
|
|
73
72
|
e.style.webkitTransition = n.transitions.create("-webkit-transform", {
|
|
74
|
-
...
|
|
73
|
+
...y
|
|
75
74
|
}), e.style.transition = n.transitions.create("transform", {
|
|
76
|
-
...
|
|
77
|
-
}), e.style.webkitTransform = "none", e.style.transform = "none",
|
|
78
|
-
}),
|
|
79
|
-
const
|
|
80
|
-
timeout:
|
|
81
|
-
style:
|
|
82
|
-
easing:
|
|
75
|
+
...y
|
|
76
|
+
}), e.style.webkitTransform = "none", e.style.transform = "none", v && v(e, s);
|
|
77
|
+
}), z = g(O), B = g(V), H = g((e) => {
|
|
78
|
+
const s = P({
|
|
79
|
+
timeout: b,
|
|
80
|
+
style: T,
|
|
81
|
+
easing: w
|
|
83
82
|
}, {
|
|
84
83
|
mode: "exit"
|
|
85
84
|
});
|
|
86
|
-
e.style.webkitTransition = n.transitions.create("-webkit-transform",
|
|
87
|
-
}),
|
|
88
|
-
e.style.webkitTransition = "", e.style.transition = "",
|
|
85
|
+
e.style.webkitTransition = n.transitions.create("-webkit-transform", s), e.style.transition = n.transitions.create("transform", s), x(p, e, a), k && k(e);
|
|
86
|
+
}), N = g((e) => {
|
|
87
|
+
e.style.webkitTransition = "", e.style.transition = "", C && C(e);
|
|
89
88
|
}), W = (e) => {
|
|
90
89
|
c && c(l.current, e);
|
|
91
|
-
},
|
|
92
|
-
l.current &&
|
|
90
|
+
}, L = h.useCallback(() => {
|
|
91
|
+
l.current && x(p, l.current, a);
|
|
93
92
|
}, [p, a]);
|
|
94
93
|
return h.useEffect(() => {
|
|
95
94
|
if (m || p === "down" || p === "right")
|
|
96
95
|
return;
|
|
97
96
|
const e = Q(() => {
|
|
98
|
-
l.current &&
|
|
99
|
-
}),
|
|
100
|
-
return
|
|
101
|
-
e.clear(),
|
|
97
|
+
l.current && x(p, l.current, a);
|
|
98
|
+
}), s = S(l.current);
|
|
99
|
+
return s.addEventListener("resize", e), () => {
|
|
100
|
+
e.clear(), s.removeEventListener("resize", e);
|
|
102
101
|
};
|
|
103
102
|
}, [p, m, a]), h.useEffect(() => {
|
|
104
|
-
m ||
|
|
105
|
-
}, [m,
|
|
103
|
+
m || L();
|
|
104
|
+
}, [m, L]), /* @__PURE__ */ U(I, {
|
|
106
105
|
nodeRef: l,
|
|
107
|
-
onEnter:
|
|
108
|
-
onEntered:
|
|
109
|
-
onEntering:
|
|
110
|
-
onExit:
|
|
111
|
-
onExited:
|
|
112
|
-
onExiting:
|
|
106
|
+
onEnter: Y,
|
|
107
|
+
onEntered: z,
|
|
108
|
+
onEntering: j,
|
|
109
|
+
onExit: H,
|
|
110
|
+
onExited: N,
|
|
111
|
+
onExiting: B,
|
|
113
112
|
addEndListener: W,
|
|
114
113
|
appear: d,
|
|
115
114
|
in: m,
|
|
116
|
-
timeout:
|
|
115
|
+
timeout: b,
|
|
117
116
|
...M,
|
|
118
|
-
children: (e,
|
|
119
|
-
|
|
117
|
+
children: (e, {
|
|
118
|
+
ownerState: s,
|
|
119
|
+
...y
|
|
120
|
+
}) => /* @__PURE__ */ h.cloneElement(u, {
|
|
121
|
+
ref: X,
|
|
120
122
|
style: {
|
|
121
123
|
visibility: e === "exited" && !m ? "hidden" : void 0,
|
|
122
|
-
...
|
|
124
|
+
...T,
|
|
123
125
|
...u.props.style
|
|
124
126
|
},
|
|
125
|
-
...
|
|
127
|
+
...y
|
|
126
128
|
})
|
|
127
129
|
});
|
|
128
130
|
});
|
|
@@ -151,9 +153,9 @@ process.env.NODE_ENV !== "production" && (ee.propTypes = {
|
|
|
151
153
|
* An HTML element, or a function that returns one.
|
|
152
154
|
* It's used to set the container the Slide is transitioning from.
|
|
153
155
|
*/
|
|
154
|
-
container:
|
|
155
|
-
if (
|
|
156
|
-
const r =
|
|
156
|
+
container: J(t.oneOfType([K, t.func]), (o) => {
|
|
157
|
+
if (o.open) {
|
|
158
|
+
const r = $(o.container);
|
|
157
159
|
if (r && r.nodeType === 1) {
|
|
158
160
|
const f = r.getBoundingClientRect();
|
|
159
161
|
if (process.env.NODE_ENV !== "test" && f.top === 0 && f.left === 0 && f.right === 0 && f.bottom === 0)
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { P as e,
|
|
2
|
-
import { c as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { s as
|
|
7
|
-
import { e as
|
|
8
|
-
const A = C(), _ =
|
|
1
|
+
import { P as e, e as C, h as g, r as f, f as S, j as D, m as N, k as b, g as E } from "./createTheme-DmGCMO09.js";
|
|
2
|
+
import { c as F, s as R, u as B } from "./DefaultPropsProvider-B2njZVNv.js";
|
|
3
|
+
import * as m from "react";
|
|
4
|
+
import { c as M } from "./DefaultPropsProvider-CZh8M2jM.js";
|
|
5
|
+
import { jsx as w } from "react/jsx-runtime";
|
|
6
|
+
import { s as G, u as U } from "./useThemeProps-lRuJRcRX.js";
|
|
7
|
+
import { e as $ } from "./extendSxProp-Bwha5fon.js";
|
|
8
|
+
const A = C(), _ = G("div", {
|
|
9
9
|
name: "MuiStack",
|
|
10
|
-
slot: "Root"
|
|
11
|
-
overridesResolver: (o, r) => r.root
|
|
10
|
+
slot: "Root"
|
|
12
11
|
});
|
|
13
12
|
function I(o) {
|
|
14
|
-
return
|
|
13
|
+
return U({
|
|
15
14
|
props: o,
|
|
16
15
|
name: "MuiStack",
|
|
17
16
|
defaultTheme: A
|
|
18
17
|
});
|
|
19
18
|
}
|
|
20
|
-
function L(o,
|
|
21
|
-
const c =
|
|
22
|
-
return c.reduce((a, i,
|
|
23
|
-
key: `separator-${
|
|
19
|
+
function L(o, t) {
|
|
20
|
+
const c = m.Children.toArray(o).filter(Boolean);
|
|
21
|
+
return c.reduce((a, i, s) => (a.push(i), s < c.length - 1 && a.push(/* @__PURE__ */ m.cloneElement(t, {
|
|
22
|
+
key: `separator-${s}`
|
|
24
23
|
})), a), []);
|
|
25
24
|
}
|
|
26
25
|
const q = (o) => ({
|
|
@@ -30,37 +29,37 @@ const q = (o) => ({
|
|
|
30
29
|
"column-reverse": "Bottom"
|
|
31
30
|
})[o], z = ({
|
|
32
31
|
ownerState: o,
|
|
33
|
-
theme:
|
|
32
|
+
theme: t
|
|
34
33
|
}) => {
|
|
35
34
|
let c = {
|
|
36
35
|
display: "flex",
|
|
37
36
|
flexDirection: "column",
|
|
38
37
|
...g({
|
|
39
|
-
theme:
|
|
40
|
-
},
|
|
38
|
+
theme: t
|
|
39
|
+
}, f({
|
|
41
40
|
values: o.direction,
|
|
42
|
-
breakpoints:
|
|
41
|
+
breakpoints: t.breakpoints.values
|
|
43
42
|
}), (a) => ({
|
|
44
43
|
flexDirection: a
|
|
45
44
|
}))
|
|
46
45
|
};
|
|
47
46
|
if (o.spacing) {
|
|
48
|
-
const a = S(
|
|
47
|
+
const a = S(t), i = Object.keys(t.breakpoints.values).reduce((r, n) => ((typeof o.spacing == "object" && o.spacing[n] != null || typeof o.direction == "object" && o.direction[n] != null) && (r[n] = !0), r), {}), s = f({
|
|
49
48
|
values: o.direction,
|
|
50
49
|
base: i
|
|
51
|
-
}), l =
|
|
50
|
+
}), l = f({
|
|
52
51
|
values: o.spacing,
|
|
53
52
|
base: i
|
|
54
53
|
});
|
|
55
|
-
typeof
|
|
56
|
-
if (!
|
|
57
|
-
const
|
|
58
|
-
|
|
54
|
+
typeof s == "object" && Object.keys(s).forEach((r, n, u) => {
|
|
55
|
+
if (!s[r]) {
|
|
56
|
+
const p = n > 0 ? s[u[n - 1]] : "column";
|
|
57
|
+
s[r] = p;
|
|
59
58
|
}
|
|
60
|
-
}), c =
|
|
61
|
-
theme:
|
|
62
|
-
}, l, (
|
|
63
|
-
gap: b(a,
|
|
59
|
+
}), c = D(c, g({
|
|
60
|
+
theme: t
|
|
61
|
+
}, l, (r, n) => o.useFlexGap ? {
|
|
62
|
+
gap: b(a, r)
|
|
64
63
|
} : {
|
|
65
64
|
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
66
65
|
// We need to reset the margin to avoid double spacing.
|
|
@@ -68,23 +67,23 @@ const q = (o) => ({
|
|
|
68
67
|
margin: 0
|
|
69
68
|
},
|
|
70
69
|
"& > :not(style) ~ :not(style)": {
|
|
71
|
-
[`margin${q(
|
|
70
|
+
[`margin${q(n ? s[n] : o.direction)}`]: b(a, r)
|
|
72
71
|
}
|
|
73
72
|
}));
|
|
74
73
|
}
|
|
75
|
-
return c =
|
|
74
|
+
return c = N(t.breakpoints, c), c;
|
|
76
75
|
};
|
|
77
76
|
function H(o = {}) {
|
|
78
77
|
const {
|
|
79
78
|
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
80
|
-
createStyledComponent:
|
|
79
|
+
createStyledComponent: t = _,
|
|
81
80
|
useThemeProps: c = I,
|
|
82
81
|
componentName: a = "MuiStack"
|
|
83
82
|
} = o, i = () => F({
|
|
84
83
|
root: ["root"]
|
|
85
|
-
}, (
|
|
86
|
-
const
|
|
87
|
-
component:
|
|
84
|
+
}, (r) => E(a, r), {}), s = t(z), l = /* @__PURE__ */ m.forwardRef(function(r, n) {
|
|
85
|
+
const u = c(r), y = $(u), {
|
|
86
|
+
component: p = "div",
|
|
88
87
|
direction: T = "column",
|
|
89
88
|
spacing: h = 0,
|
|
90
89
|
divider: v,
|
|
@@ -97,11 +96,11 @@ function H(o = {}) {
|
|
|
97
96
|
spacing: h,
|
|
98
97
|
useFlexGap: k
|
|
99
98
|
}, V = i();
|
|
100
|
-
return /* @__PURE__ */
|
|
101
|
-
as:
|
|
99
|
+
return /* @__PURE__ */ w(s, {
|
|
100
|
+
as: p,
|
|
102
101
|
ownerState: P,
|
|
103
|
-
ref:
|
|
104
|
-
className:
|
|
102
|
+
ref: n,
|
|
103
|
+
className: M(V.root, j),
|
|
105
104
|
...x,
|
|
106
105
|
children: v ? L(O, v) : O
|
|
107
106
|
});
|
|
@@ -115,12 +114,11 @@ function H(o = {}) {
|
|
|
115
114
|
}), l;
|
|
116
115
|
}
|
|
117
116
|
const J = H({
|
|
118
|
-
createStyledComponent:
|
|
117
|
+
createStyledComponent: R("div", {
|
|
119
118
|
name: "MuiStack",
|
|
120
|
-
slot: "Root"
|
|
121
|
-
overridesResolver: (o, r) => r.root
|
|
119
|
+
slot: "Root"
|
|
122
120
|
}),
|
|
123
|
-
useThemeProps: (o) =>
|
|
121
|
+
useThemeProps: (o) => B({
|
|
124
122
|
props: o,
|
|
125
123
|
name: "MuiStack"
|
|
126
124
|
})
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import * as J from "react";
|
|
2
|
+
import { g as K, P as e, b as Q } from "./createTheme-DmGCMO09.js";
|
|
3
|
+
import { g as W, s as k, r as X, c as Y } from "./DefaultPropsProvider-B2njZVNv.js";
|
|
4
|
+
import { u as Z } from "./useFormControl-CatNKXAi.js";
|
|
5
|
+
import { u as F } from "./useSlot-DtSnboW7.js";
|
|
6
|
+
import { jsxs as ee, jsx as oe } from "react/jsx-runtime";
|
|
7
|
+
import { B as te } from "./ButtonBase-DugIO1pR.js";
|
|
8
|
+
import { u as se } from "./useControlled-nm4pBabJ.js";
|
|
9
|
+
import { r as ne } from "./refType-CaiGhRso.js";
|
|
10
|
+
function ie(s) {
|
|
11
|
+
return K("PrivateSwitchBase", s);
|
|
12
|
+
}
|
|
13
|
+
W("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
14
|
+
const re = (s) => {
|
|
15
|
+
const {
|
|
16
|
+
classes: n,
|
|
17
|
+
checked: d,
|
|
18
|
+
disabled: p,
|
|
19
|
+
edge: a
|
|
20
|
+
} = s, u = {
|
|
21
|
+
root: ["root", d && "checked", p && "disabled", a && `edge${Q(a)}`],
|
|
22
|
+
input: ["input"]
|
|
23
|
+
};
|
|
24
|
+
return Y(u, ie, n);
|
|
25
|
+
}, ae = k(te, {
|
|
26
|
+
name: "MuiSwitchBase"
|
|
27
|
+
})({
|
|
28
|
+
padding: 9,
|
|
29
|
+
borderRadius: "50%",
|
|
30
|
+
variants: [{
|
|
31
|
+
props: {
|
|
32
|
+
edge: "start",
|
|
33
|
+
size: "small"
|
|
34
|
+
},
|
|
35
|
+
style: {
|
|
36
|
+
marginLeft: -3
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
props: ({
|
|
40
|
+
edge: s,
|
|
41
|
+
ownerState: n
|
|
42
|
+
}) => s === "start" && n.size !== "small",
|
|
43
|
+
style: {
|
|
44
|
+
marginLeft: -12
|
|
45
|
+
}
|
|
46
|
+
}, {
|
|
47
|
+
props: {
|
|
48
|
+
edge: "end",
|
|
49
|
+
size: "small"
|
|
50
|
+
},
|
|
51
|
+
style: {
|
|
52
|
+
marginRight: -3
|
|
53
|
+
}
|
|
54
|
+
}, {
|
|
55
|
+
props: ({
|
|
56
|
+
edge: s,
|
|
57
|
+
ownerState: n
|
|
58
|
+
}) => s === "end" && n.size !== "small",
|
|
59
|
+
style: {
|
|
60
|
+
marginRight: -12
|
|
61
|
+
}
|
|
62
|
+
}]
|
|
63
|
+
}), ce = k("input", {
|
|
64
|
+
name: "MuiSwitchBase",
|
|
65
|
+
shouldForwardProp: X
|
|
66
|
+
})({
|
|
67
|
+
cursor: "inherit",
|
|
68
|
+
position: "absolute",
|
|
69
|
+
opacity: 0,
|
|
70
|
+
width: "100%",
|
|
71
|
+
height: "100%",
|
|
72
|
+
top: 0,
|
|
73
|
+
left: 0,
|
|
74
|
+
margin: 0,
|
|
75
|
+
padding: 0,
|
|
76
|
+
zIndex: 1
|
|
77
|
+
}), le = /* @__PURE__ */ J.forwardRef(function(n, d) {
|
|
78
|
+
const {
|
|
79
|
+
autoFocus: p,
|
|
80
|
+
checked: a,
|
|
81
|
+
checkedIcon: u,
|
|
82
|
+
defaultChecked: m,
|
|
83
|
+
disabled: C,
|
|
84
|
+
disableFocusRipple: g = !1,
|
|
85
|
+
edge: R = !1,
|
|
86
|
+
icon: x,
|
|
87
|
+
id: T,
|
|
88
|
+
inputProps: I,
|
|
89
|
+
inputRef: j,
|
|
90
|
+
name: O,
|
|
91
|
+
onBlur: h,
|
|
92
|
+
onChange: b,
|
|
93
|
+
onFocus: y,
|
|
94
|
+
readOnly: z,
|
|
95
|
+
required: q = !1,
|
|
96
|
+
tabIndex: N,
|
|
97
|
+
type: l,
|
|
98
|
+
value: P,
|
|
99
|
+
slots: E = {},
|
|
100
|
+
slotProps: U = {},
|
|
101
|
+
...v
|
|
102
|
+
} = n, [S, L] = se({
|
|
103
|
+
controlled: a,
|
|
104
|
+
default: !!m,
|
|
105
|
+
name: "SwitchBase",
|
|
106
|
+
state: "checked"
|
|
107
|
+
}), i = Z(), M = (o) => {
|
|
108
|
+
y && y(o), i && i.onFocus && i.onFocus(o);
|
|
109
|
+
}, D = (o) => {
|
|
110
|
+
h && h(o), i && i.onBlur && i.onBlur(o);
|
|
111
|
+
}, V = (o) => {
|
|
112
|
+
if (o.nativeEvent.defaultPrevented)
|
|
113
|
+
return;
|
|
114
|
+
const t = o.target.checked;
|
|
115
|
+
L(t), b && b(o, t);
|
|
116
|
+
};
|
|
117
|
+
let c = C;
|
|
118
|
+
i && typeof c > "u" && (c = i.disabled);
|
|
119
|
+
const _ = l === "checkbox" || l === "radio", f = {
|
|
120
|
+
...n,
|
|
121
|
+
checked: S,
|
|
122
|
+
disabled: c,
|
|
123
|
+
disableFocusRipple: g,
|
|
124
|
+
edge: R
|
|
125
|
+
}, B = re(f), w = {
|
|
126
|
+
slots: E,
|
|
127
|
+
slotProps: {
|
|
128
|
+
input: I,
|
|
129
|
+
...U
|
|
130
|
+
}
|
|
131
|
+
}, [$, A] = F("root", {
|
|
132
|
+
ref: d,
|
|
133
|
+
elementType: ae,
|
|
134
|
+
className: B.root,
|
|
135
|
+
shouldForwardComponentProp: !0,
|
|
136
|
+
externalForwardedProps: {
|
|
137
|
+
...w,
|
|
138
|
+
component: "span",
|
|
139
|
+
...v
|
|
140
|
+
},
|
|
141
|
+
getSlotProps: (o) => ({
|
|
142
|
+
...o,
|
|
143
|
+
onFocus: (t) => {
|
|
144
|
+
var r;
|
|
145
|
+
(r = o.onFocus) == null || r.call(o, t), M(t);
|
|
146
|
+
},
|
|
147
|
+
onBlur: (t) => {
|
|
148
|
+
var r;
|
|
149
|
+
(r = o.onBlur) == null || r.call(o, t), D(t);
|
|
150
|
+
}
|
|
151
|
+
}),
|
|
152
|
+
ownerState: f,
|
|
153
|
+
additionalProps: {
|
|
154
|
+
centerRipple: !0,
|
|
155
|
+
focusRipple: !g,
|
|
156
|
+
disabled: c,
|
|
157
|
+
role: void 0,
|
|
158
|
+
tabIndex: null
|
|
159
|
+
}
|
|
160
|
+
}), [G, H] = F("input", {
|
|
161
|
+
ref: j,
|
|
162
|
+
elementType: ce,
|
|
163
|
+
className: B.input,
|
|
164
|
+
externalForwardedProps: w,
|
|
165
|
+
getSlotProps: (o) => ({
|
|
166
|
+
...o,
|
|
167
|
+
onChange: (t) => {
|
|
168
|
+
var r;
|
|
169
|
+
(r = o.onChange) == null || r.call(o, t), V(t);
|
|
170
|
+
}
|
|
171
|
+
}),
|
|
172
|
+
ownerState: f,
|
|
173
|
+
additionalProps: {
|
|
174
|
+
autoFocus: p,
|
|
175
|
+
checked: a,
|
|
176
|
+
defaultChecked: m,
|
|
177
|
+
disabled: c,
|
|
178
|
+
id: _ ? T : void 0,
|
|
179
|
+
name: O,
|
|
180
|
+
readOnly: z,
|
|
181
|
+
required: q,
|
|
182
|
+
tabIndex: N,
|
|
183
|
+
type: l,
|
|
184
|
+
...l === "checkbox" && P === void 0 ? {} : {
|
|
185
|
+
value: P
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
return /* @__PURE__ */ ee($, {
|
|
190
|
+
...A,
|
|
191
|
+
children: [/* @__PURE__ */ oe(G, {
|
|
192
|
+
...H
|
|
193
|
+
}), S ? u : x]
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
process.env.NODE_ENV !== "production" && (le.propTypes = {
|
|
197
|
+
/**
|
|
198
|
+
* If `true`, the `input` element is focused during the first mount.
|
|
199
|
+
*/
|
|
200
|
+
autoFocus: e.bool,
|
|
201
|
+
/**
|
|
202
|
+
* If `true`, the component is checked.
|
|
203
|
+
*/
|
|
204
|
+
checked: e.bool,
|
|
205
|
+
/**
|
|
206
|
+
* The icon to display when the component is checked.
|
|
207
|
+
*/
|
|
208
|
+
checkedIcon: e.node.isRequired,
|
|
209
|
+
/**
|
|
210
|
+
* Override or extend the styles applied to the component.
|
|
211
|
+
*/
|
|
212
|
+
classes: e.object,
|
|
213
|
+
/**
|
|
214
|
+
* @ignore
|
|
215
|
+
*/
|
|
216
|
+
className: e.string,
|
|
217
|
+
/**
|
|
218
|
+
* @ignore
|
|
219
|
+
*/
|
|
220
|
+
defaultChecked: e.bool,
|
|
221
|
+
/**
|
|
222
|
+
* If `true`, the component is disabled.
|
|
223
|
+
*/
|
|
224
|
+
disabled: e.bool,
|
|
225
|
+
/**
|
|
226
|
+
* If `true`, the keyboard focus ripple is disabled.
|
|
227
|
+
* @default false
|
|
228
|
+
*/
|
|
229
|
+
disableFocusRipple: e.bool,
|
|
230
|
+
/**
|
|
231
|
+
* If given, uses a negative margin to counteract the padding on one
|
|
232
|
+
* side (this is often helpful for aligning the left or right
|
|
233
|
+
* side of the icon with content above or below, without ruining the border
|
|
234
|
+
* size and shape).
|
|
235
|
+
* @default false
|
|
236
|
+
*/
|
|
237
|
+
edge: e.oneOf(["end", "start", !1]),
|
|
238
|
+
/**
|
|
239
|
+
* The icon to display when the component is unchecked.
|
|
240
|
+
*/
|
|
241
|
+
icon: e.node.isRequired,
|
|
242
|
+
/**
|
|
243
|
+
* The id of the `input` element.
|
|
244
|
+
*/
|
|
245
|
+
id: e.string,
|
|
246
|
+
/**
|
|
247
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
248
|
+
*/
|
|
249
|
+
inputProps: e.object,
|
|
250
|
+
/**
|
|
251
|
+
* Pass a ref to the `input` element.
|
|
252
|
+
*/
|
|
253
|
+
inputRef: ne,
|
|
254
|
+
/*
|
|
255
|
+
* @ignore
|
|
256
|
+
*/
|
|
257
|
+
name: e.string,
|
|
258
|
+
/**
|
|
259
|
+
* @ignore
|
|
260
|
+
*/
|
|
261
|
+
onBlur: e.func,
|
|
262
|
+
/**
|
|
263
|
+
* Callback fired when the state is changed.
|
|
264
|
+
*
|
|
265
|
+
* @param {object} event The event source of the callback.
|
|
266
|
+
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
267
|
+
*/
|
|
268
|
+
onChange: e.func,
|
|
269
|
+
/**
|
|
270
|
+
* @ignore
|
|
271
|
+
*/
|
|
272
|
+
onFocus: e.func,
|
|
273
|
+
/**
|
|
274
|
+
* It prevents the user from changing the value of the field
|
|
275
|
+
* (not from interacting with the field).
|
|
276
|
+
*/
|
|
277
|
+
readOnly: e.bool,
|
|
278
|
+
/**
|
|
279
|
+
* If `true`, the `input` element is required.
|
|
280
|
+
*/
|
|
281
|
+
required: e.bool,
|
|
282
|
+
/**
|
|
283
|
+
* The props used for each slot inside.
|
|
284
|
+
* @default {}
|
|
285
|
+
*/
|
|
286
|
+
slotProps: e.shape({
|
|
287
|
+
input: e.oneOfType([e.func, e.object]),
|
|
288
|
+
root: e.oneOfType([e.func, e.object])
|
|
289
|
+
}),
|
|
290
|
+
/**
|
|
291
|
+
* The components used for each slot inside.
|
|
292
|
+
* @default {}
|
|
293
|
+
*/
|
|
294
|
+
slots: e.shape({
|
|
295
|
+
input: e.elementType,
|
|
296
|
+
root: e.elementType
|
|
297
|
+
}),
|
|
298
|
+
/**
|
|
299
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
300
|
+
*/
|
|
301
|
+
sx: e.object,
|
|
302
|
+
/**
|
|
303
|
+
* @ignore
|
|
304
|
+
*/
|
|
305
|
+
tabIndex: e.oneOfType([e.number, e.string]),
|
|
306
|
+
/**
|
|
307
|
+
* The input component prop `type`.
|
|
308
|
+
*/
|
|
309
|
+
type: e.string.isRequired,
|
|
310
|
+
/**
|
|
311
|
+
* The value of the component.
|
|
312
|
+
*/
|
|
313
|
+
value: e.any
|
|
314
|
+
});
|
|
315
|
+
export {
|
|
316
|
+
le as S
|
|
317
|
+
};
|