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,88 +0,0 @@
|
|
|
1
|
-
import * as l from "react";
|
|
2
|
-
import { P as u } from "./createTheme-D_EHVLXp.js";
|
|
3
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
4
|
-
function i(t, n) {
|
|
5
|
-
const e = {
|
|
6
|
-
...n
|
|
7
|
-
};
|
|
8
|
-
for (const r in t)
|
|
9
|
-
if (Object.prototype.hasOwnProperty.call(t, r)) {
|
|
10
|
-
const o = r;
|
|
11
|
-
if (o === "components" || o === "slots")
|
|
12
|
-
e[o] = {
|
|
13
|
-
...t[o],
|
|
14
|
-
...e[o]
|
|
15
|
-
};
|
|
16
|
-
else if (o === "componentsProps" || o === "slotProps") {
|
|
17
|
-
const s = t[o], c = n[o];
|
|
18
|
-
if (!c)
|
|
19
|
-
e[o] = s || {};
|
|
20
|
-
else if (!s)
|
|
21
|
-
e[o] = c;
|
|
22
|
-
else {
|
|
23
|
-
e[o] = {
|
|
24
|
-
...c
|
|
25
|
-
};
|
|
26
|
-
for (const f in s)
|
|
27
|
-
if (Object.prototype.hasOwnProperty.call(s, f)) {
|
|
28
|
-
const p = f;
|
|
29
|
-
e[o][p] = i(s[p], c[p]);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
} else e[o] === void 0 && (e[o] = t[o]);
|
|
33
|
-
}
|
|
34
|
-
return e;
|
|
35
|
-
}
|
|
36
|
-
const a = /* @__PURE__ */ l.createContext(void 0);
|
|
37
|
-
function P({
|
|
38
|
-
value: t,
|
|
39
|
-
children: n
|
|
40
|
-
}) {
|
|
41
|
-
return /* @__PURE__ */ m(a.Provider, {
|
|
42
|
-
value: t,
|
|
43
|
-
children: n
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
47
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
48
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
49
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
50
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
51
|
-
/**
|
|
52
|
-
* @ignore
|
|
53
|
-
*/
|
|
54
|
-
children: u.node,
|
|
55
|
-
/**
|
|
56
|
-
* @ignore
|
|
57
|
-
*/
|
|
58
|
-
value: u.object
|
|
59
|
-
});
|
|
60
|
-
function d(t) {
|
|
61
|
-
const {
|
|
62
|
-
theme: n,
|
|
63
|
-
name: e,
|
|
64
|
-
props: r
|
|
65
|
-
} = t;
|
|
66
|
-
if (!n || !n.components || !n.components[e])
|
|
67
|
-
return r;
|
|
68
|
-
const o = n.components[e];
|
|
69
|
-
return o.defaultProps ? i(o.defaultProps, r) : !o.styleOverrides && !o.variants ? i(o, r) : r;
|
|
70
|
-
}
|
|
71
|
-
function h({
|
|
72
|
-
props: t,
|
|
73
|
-
name: n
|
|
74
|
-
}) {
|
|
75
|
-
const e = l.useContext(a);
|
|
76
|
-
return d({
|
|
77
|
-
props: t,
|
|
78
|
-
name: n,
|
|
79
|
-
theme: {
|
|
80
|
-
components: e
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
export {
|
|
85
|
-
P as D,
|
|
86
|
-
i as r,
|
|
87
|
-
h as u
|
|
88
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { P as e } from "./createTheme-D_EHVLXp.js";
|
|
3
|
-
import { G as r } from "./emotion-react.browser.esm-BjxI_t8k.js";
|
|
4
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
function p(t) {
|
|
6
|
-
return t == null || Object.keys(t).length === 0;
|
|
7
|
-
}
|
|
8
|
-
function y(t) {
|
|
9
|
-
const {
|
|
10
|
-
styles: o,
|
|
11
|
-
defaultTheme: l = {}
|
|
12
|
-
} = t;
|
|
13
|
-
return /* @__PURE__ */ n(r, {
|
|
14
|
-
styles: typeof o == "function" ? (s) => o(p(s) ? l : s) : o
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
18
|
-
defaultTheme: e.object,
|
|
19
|
-
styles: e.oneOfType([e.array, e.string, e.object, e.func])
|
|
20
|
-
});
|
|
21
|
-
export {
|
|
22
|
-
y as G
|
|
23
|
-
};
|
package/dist/Grid-BaaKMDwM.js
DELETED
|
@@ -1,501 +0,0 @@
|
|
|
1
|
-
import * as O from "react";
|
|
2
|
-
import { g as V, P as n, r as w, h as S } from "./createTheme-D_EHVLXp.js";
|
|
3
|
-
import { g as B, s as D, c as I, a as _ } from "./DefaultPropsProvider-5cxFAZuq.js";
|
|
4
|
-
import { a as L } from "./useThemeProps-BOrAzOS4.js";
|
|
5
|
-
import { u as U } from "./useTheme-BzIjfC6u.js";
|
|
6
|
-
import { jsx as k } from "react/jsx-runtime";
|
|
7
|
-
import { e as q } from "./extendSxProp-a8ZTL0ZI.js";
|
|
8
|
-
function Z(e, r) {
|
|
9
|
-
if (process.env.NODE_ENV === "production")
|
|
10
|
-
return () => null;
|
|
11
|
-
const t = r ? {
|
|
12
|
-
...r.propTypes
|
|
13
|
-
} : null;
|
|
14
|
-
return (o) => (s, a, u, p, c, ...l) => {
|
|
15
|
-
const f = c || a, m = t == null ? void 0 : t[f];
|
|
16
|
-
if (m) {
|
|
17
|
-
const d = m(s, a, u, p, c, ...l);
|
|
18
|
-
if (d)
|
|
19
|
-
return d;
|
|
20
|
-
}
|
|
21
|
-
return typeof s[a] < "u" && !s[o] ? new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
const $ = /* @__PURE__ */ O.createContext();
|
|
25
|
-
process.env.NODE_ENV !== "production" && ($.displayName = "GridContext");
|
|
26
|
-
function A(e) {
|
|
27
|
-
return V("MuiGrid", e);
|
|
28
|
-
}
|
|
29
|
-
const F = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], K = ["column-reverse", "column", "row-reverse", "row"], H = ["nowrap", "wrap-reverse", "wrap"], g = ["auto", !0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], b = B("MuiGrid", [
|
|
30
|
-
"root",
|
|
31
|
-
"container",
|
|
32
|
-
"item",
|
|
33
|
-
"zeroMinWidth",
|
|
34
|
-
// spacings
|
|
35
|
-
...F.map((e) => `spacing-xs-${e}`),
|
|
36
|
-
// direction values
|
|
37
|
-
...K.map((e) => `direction-xs-${e}`),
|
|
38
|
-
// wrap values
|
|
39
|
-
...H.map((e) => `wrap-xs-${e}`),
|
|
40
|
-
// grid sizes for all breakpoints
|
|
41
|
-
...g.map((e) => `grid-xs-${e}`),
|
|
42
|
-
...g.map((e) => `grid-sm-${e}`),
|
|
43
|
-
...g.map((e) => `grid-md-${e}`),
|
|
44
|
-
...g.map((e) => `grid-lg-${e}`),
|
|
45
|
-
...g.map((e) => `grid-xl-${e}`)
|
|
46
|
-
]);
|
|
47
|
-
function J({
|
|
48
|
-
theme: e,
|
|
49
|
-
ownerState: r
|
|
50
|
-
}) {
|
|
51
|
-
let t;
|
|
52
|
-
return e.breakpoints.keys.reduce((i, o) => {
|
|
53
|
-
let s = {};
|
|
54
|
-
if (r[o] && (t = r[o]), !t)
|
|
55
|
-
return i;
|
|
56
|
-
if (t === !0)
|
|
57
|
-
s = {
|
|
58
|
-
flexBasis: 0,
|
|
59
|
-
flexGrow: 1,
|
|
60
|
-
maxWidth: "100%"
|
|
61
|
-
};
|
|
62
|
-
else if (t === "auto")
|
|
63
|
-
s = {
|
|
64
|
-
flexBasis: "auto",
|
|
65
|
-
flexGrow: 0,
|
|
66
|
-
flexShrink: 0,
|
|
67
|
-
maxWidth: "none",
|
|
68
|
-
width: "auto"
|
|
69
|
-
};
|
|
70
|
-
else {
|
|
71
|
-
const a = w({
|
|
72
|
-
values: r.columns,
|
|
73
|
-
breakpoints: e.breakpoints.values
|
|
74
|
-
}), u = typeof a == "object" ? a[o] : a;
|
|
75
|
-
if (u == null)
|
|
76
|
-
return i;
|
|
77
|
-
const p = `${Math.round(t / u * 1e8) / 1e6}%`;
|
|
78
|
-
let c = {};
|
|
79
|
-
if (r.container && r.item && r.columnSpacing !== 0) {
|
|
80
|
-
const l = e.spacing(r.columnSpacing);
|
|
81
|
-
if (l !== "0px") {
|
|
82
|
-
const f = `calc(${p} + ${l})`;
|
|
83
|
-
c = {
|
|
84
|
-
flexBasis: f,
|
|
85
|
-
maxWidth: f
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
s = {
|
|
90
|
-
flexBasis: p,
|
|
91
|
-
flexGrow: 0,
|
|
92
|
-
maxWidth: p,
|
|
93
|
-
...c
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
return e.breakpoints.values[o] === 0 ? Object.assign(i, s) : i[e.breakpoints.up(o)] = s, i;
|
|
97
|
-
}, {});
|
|
98
|
-
}
|
|
99
|
-
function Q({
|
|
100
|
-
theme: e,
|
|
101
|
-
ownerState: r
|
|
102
|
-
}) {
|
|
103
|
-
const t = w({
|
|
104
|
-
values: r.direction,
|
|
105
|
-
breakpoints: e.breakpoints.values
|
|
106
|
-
});
|
|
107
|
-
return S({
|
|
108
|
-
theme: e
|
|
109
|
-
}, t, (i) => {
|
|
110
|
-
const o = {
|
|
111
|
-
flexDirection: i
|
|
112
|
-
};
|
|
113
|
-
return i.startsWith("column") && (o[`& > .${b.item}`] = {
|
|
114
|
-
maxWidth: "none"
|
|
115
|
-
}), o;
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function C({
|
|
119
|
-
breakpoints: e,
|
|
120
|
-
values: r
|
|
121
|
-
}) {
|
|
122
|
-
let t = "";
|
|
123
|
-
Object.keys(r).forEach((o) => {
|
|
124
|
-
t === "" && r[o] !== 0 && (t = o);
|
|
125
|
-
});
|
|
126
|
-
const i = Object.keys(e).sort((o, s) => e[o] - e[s]);
|
|
127
|
-
return i.slice(0, i.indexOf(t));
|
|
128
|
-
}
|
|
129
|
-
function X({
|
|
130
|
-
theme: e,
|
|
131
|
-
ownerState: r
|
|
132
|
-
}) {
|
|
133
|
-
const {
|
|
134
|
-
container: t,
|
|
135
|
-
rowSpacing: i
|
|
136
|
-
} = r;
|
|
137
|
-
let o = {};
|
|
138
|
-
if (t && i !== 0) {
|
|
139
|
-
const s = w({
|
|
140
|
-
values: i,
|
|
141
|
-
breakpoints: e.breakpoints.values
|
|
142
|
-
});
|
|
143
|
-
let a;
|
|
144
|
-
typeof s == "object" && (a = C({
|
|
145
|
-
breakpoints: e.breakpoints.values,
|
|
146
|
-
values: s
|
|
147
|
-
})), o = S({
|
|
148
|
-
theme: e
|
|
149
|
-
}, s, (u, p) => {
|
|
150
|
-
const c = e.spacing(u);
|
|
151
|
-
return c !== "0px" ? {
|
|
152
|
-
marginTop: e.spacing(-u),
|
|
153
|
-
[`& > .${b.item}`]: {
|
|
154
|
-
paddingTop: c
|
|
155
|
-
}
|
|
156
|
-
} : a != null && a.includes(p) ? {} : {
|
|
157
|
-
marginTop: 0,
|
|
158
|
-
[`& > .${b.item}`]: {
|
|
159
|
-
paddingTop: 0
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
return o;
|
|
165
|
-
}
|
|
166
|
-
function Y({
|
|
167
|
-
theme: e,
|
|
168
|
-
ownerState: r
|
|
169
|
-
}) {
|
|
170
|
-
const {
|
|
171
|
-
container: t,
|
|
172
|
-
columnSpacing: i
|
|
173
|
-
} = r;
|
|
174
|
-
let o = {};
|
|
175
|
-
if (t && i !== 0) {
|
|
176
|
-
const s = w({
|
|
177
|
-
values: i,
|
|
178
|
-
breakpoints: e.breakpoints.values
|
|
179
|
-
});
|
|
180
|
-
let a;
|
|
181
|
-
typeof s == "object" && (a = C({
|
|
182
|
-
breakpoints: e.breakpoints.values,
|
|
183
|
-
values: s
|
|
184
|
-
})), o = S({
|
|
185
|
-
theme: e
|
|
186
|
-
}, s, (u, p) => {
|
|
187
|
-
const c = e.spacing(u);
|
|
188
|
-
if (c !== "0px") {
|
|
189
|
-
const l = e.spacing(-u);
|
|
190
|
-
return {
|
|
191
|
-
width: `calc(100% + ${c})`,
|
|
192
|
-
marginLeft: l,
|
|
193
|
-
[`& > .${b.item}`]: {
|
|
194
|
-
paddingLeft: c
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
return a != null && a.includes(p) ? {} : {
|
|
199
|
-
width: "100%",
|
|
200
|
-
marginLeft: 0,
|
|
201
|
-
[`& > .${b.item}`]: {
|
|
202
|
-
paddingLeft: 0
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
return o;
|
|
208
|
-
}
|
|
209
|
-
function ee(e, r, t = {}) {
|
|
210
|
-
if (!e || e <= 0)
|
|
211
|
-
return [];
|
|
212
|
-
if (typeof e == "string" && !Number.isNaN(Number(e)) || typeof e == "number")
|
|
213
|
-
return [t[`spacing-xs-${String(e)}`]];
|
|
214
|
-
const i = [];
|
|
215
|
-
return r.forEach((o) => {
|
|
216
|
-
const s = e[o];
|
|
217
|
-
Number(s) > 0 && i.push(t[`spacing-${o}-${String(s)}`]);
|
|
218
|
-
}), i;
|
|
219
|
-
}
|
|
220
|
-
const ne = D("div", {
|
|
221
|
-
name: "MuiGrid",
|
|
222
|
-
slot: "Root",
|
|
223
|
-
overridesResolver: (e, r) => {
|
|
224
|
-
const {
|
|
225
|
-
ownerState: t
|
|
226
|
-
} = e, {
|
|
227
|
-
container: i,
|
|
228
|
-
direction: o,
|
|
229
|
-
item: s,
|
|
230
|
-
spacing: a,
|
|
231
|
-
wrap: u,
|
|
232
|
-
zeroMinWidth: p,
|
|
233
|
-
breakpoints: c
|
|
234
|
-
} = t;
|
|
235
|
-
let l = [];
|
|
236
|
-
i && (l = ee(a, c, r));
|
|
237
|
-
const f = [];
|
|
238
|
-
return c.forEach((m) => {
|
|
239
|
-
const d = t[m];
|
|
240
|
-
d && f.push(r[`grid-${m}-${String(d)}`]);
|
|
241
|
-
}), [r.root, i && r.container, s && r.item, p && r.zeroMinWidth, ...l, o !== "row" && r[`direction-xs-${String(o)}`], u !== "wrap" && r[`wrap-xs-${String(u)}`], ...f];
|
|
242
|
-
}
|
|
243
|
-
})(
|
|
244
|
-
// FIXME(romgrk): Can't use memoTheme here
|
|
245
|
-
({
|
|
246
|
-
ownerState: e
|
|
247
|
-
}) => ({
|
|
248
|
-
boxSizing: "border-box",
|
|
249
|
-
...e.container && {
|
|
250
|
-
display: "flex",
|
|
251
|
-
flexWrap: "wrap",
|
|
252
|
-
width: "100%"
|
|
253
|
-
},
|
|
254
|
-
...e.item && {
|
|
255
|
-
margin: 0
|
|
256
|
-
// For instance, it's useful when used with a `figure` element.
|
|
257
|
-
},
|
|
258
|
-
...e.zeroMinWidth && {
|
|
259
|
-
minWidth: 0
|
|
260
|
-
},
|
|
261
|
-
...e.wrap !== "wrap" && {
|
|
262
|
-
flexWrap: e.wrap
|
|
263
|
-
}
|
|
264
|
-
}),
|
|
265
|
-
Q,
|
|
266
|
-
X,
|
|
267
|
-
Y,
|
|
268
|
-
J
|
|
269
|
-
);
|
|
270
|
-
function re(e, r) {
|
|
271
|
-
if (!e || e <= 0)
|
|
272
|
-
return [];
|
|
273
|
-
if (typeof e == "string" && !Number.isNaN(Number(e)) || typeof e == "number")
|
|
274
|
-
return [`spacing-xs-${String(e)}`];
|
|
275
|
-
const t = [];
|
|
276
|
-
return r.forEach((i) => {
|
|
277
|
-
const o = e[i];
|
|
278
|
-
if (Number(o) > 0) {
|
|
279
|
-
const s = `spacing-${i}-${String(o)}`;
|
|
280
|
-
t.push(s);
|
|
281
|
-
}
|
|
282
|
-
}), t;
|
|
283
|
-
}
|
|
284
|
-
const oe = (e) => {
|
|
285
|
-
const {
|
|
286
|
-
classes: r,
|
|
287
|
-
container: t,
|
|
288
|
-
direction: i,
|
|
289
|
-
item: o,
|
|
290
|
-
spacing: s,
|
|
291
|
-
wrap: a,
|
|
292
|
-
zeroMinWidth: u,
|
|
293
|
-
breakpoints: p
|
|
294
|
-
} = e;
|
|
295
|
-
let c = [];
|
|
296
|
-
t && (c = re(s, p));
|
|
297
|
-
const l = [];
|
|
298
|
-
p.forEach((m) => {
|
|
299
|
-
const d = e[m];
|
|
300
|
-
d && l.push(`grid-${m}-${String(d)}`);
|
|
301
|
-
});
|
|
302
|
-
const f = {
|
|
303
|
-
root: ["root", t && "container", o && "item", u && "zeroMinWidth", ...c, i !== "row" && `direction-xs-${String(i)}`, a !== "wrap" && `wrap-xs-${String(a)}`, ...l]
|
|
304
|
-
};
|
|
305
|
-
return _(f, A, r);
|
|
306
|
-
}, y = /* @__PURE__ */ O.forwardRef(function(r, t) {
|
|
307
|
-
const i = L({
|
|
308
|
-
props: r,
|
|
309
|
-
name: "MuiGrid"
|
|
310
|
-
}), {
|
|
311
|
-
breakpoints: o
|
|
312
|
-
} = U(), s = q(i), {
|
|
313
|
-
className: a,
|
|
314
|
-
columns: u,
|
|
315
|
-
columnSpacing: p,
|
|
316
|
-
component: c = "div",
|
|
317
|
-
container: l = !1,
|
|
318
|
-
direction: f = "row",
|
|
319
|
-
item: m = !1,
|
|
320
|
-
rowSpacing: d,
|
|
321
|
-
spacing: h = 0,
|
|
322
|
-
wrap: E = "wrap",
|
|
323
|
-
zeroMinWidth: j = !1,
|
|
324
|
-
...v
|
|
325
|
-
} = s, M = d || h, P = p || h, R = O.useContext($), T = l ? u || 12 : R, N = {}, G = {
|
|
326
|
-
...v
|
|
327
|
-
};
|
|
328
|
-
o.keys.forEach((x) => {
|
|
329
|
-
v[x] != null && (N[x] = v[x], delete G[x]);
|
|
330
|
-
});
|
|
331
|
-
const W = {
|
|
332
|
-
...s,
|
|
333
|
-
columns: T,
|
|
334
|
-
container: l,
|
|
335
|
-
direction: f,
|
|
336
|
-
item: m,
|
|
337
|
-
rowSpacing: M,
|
|
338
|
-
columnSpacing: P,
|
|
339
|
-
wrap: E,
|
|
340
|
-
zeroMinWidth: j,
|
|
341
|
-
spacing: h,
|
|
342
|
-
...N,
|
|
343
|
-
breakpoints: o.keys
|
|
344
|
-
}, z = oe(W);
|
|
345
|
-
return /* @__PURE__ */ k($.Provider, {
|
|
346
|
-
value: T,
|
|
347
|
-
children: /* @__PURE__ */ k(ne, {
|
|
348
|
-
ownerState: W,
|
|
349
|
-
className: I(z.root, a),
|
|
350
|
-
as: c,
|
|
351
|
-
ref: t,
|
|
352
|
-
...G
|
|
353
|
-
})
|
|
354
|
-
});
|
|
355
|
-
});
|
|
356
|
-
process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
357
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
358
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
359
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
360
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
361
|
-
/**
|
|
362
|
-
* The content of the component.
|
|
363
|
-
*/
|
|
364
|
-
children: n.node,
|
|
365
|
-
/**
|
|
366
|
-
* Override or extend the styles applied to the component.
|
|
367
|
-
*/
|
|
368
|
-
classes: n.object,
|
|
369
|
-
/**
|
|
370
|
-
* @ignore
|
|
371
|
-
*/
|
|
372
|
-
className: n.string,
|
|
373
|
-
/**
|
|
374
|
-
* The number of columns.
|
|
375
|
-
* @default 12
|
|
376
|
-
*/
|
|
377
|
-
columns: n.oneOfType([n.arrayOf(n.number), n.number, n.object]),
|
|
378
|
-
/**
|
|
379
|
-
* Defines the horizontal space between the type `item` components.
|
|
380
|
-
* It overrides the value of the `spacing` prop.
|
|
381
|
-
*/
|
|
382
|
-
columnSpacing: n.oneOfType([n.arrayOf(n.oneOfType([n.number, n.string])), n.number, n.object, n.string]),
|
|
383
|
-
/**
|
|
384
|
-
* The component used for the root node.
|
|
385
|
-
* Either a string to use a HTML element or a component.
|
|
386
|
-
*/
|
|
387
|
-
component: n.elementType,
|
|
388
|
-
/**
|
|
389
|
-
* If `true`, the component will have the flex *container* behavior.
|
|
390
|
-
* You should be wrapping *items* with a *container*.
|
|
391
|
-
* @default false
|
|
392
|
-
*/
|
|
393
|
-
container: n.bool,
|
|
394
|
-
/**
|
|
395
|
-
* Defines the `flex-direction` style property.
|
|
396
|
-
* It is applied for all screen sizes.
|
|
397
|
-
* @default 'row'
|
|
398
|
-
*/
|
|
399
|
-
direction: n.oneOfType([n.oneOf(["column-reverse", "column", "row-reverse", "row"]), n.arrayOf(n.oneOf(["column-reverse", "column", "row-reverse", "row"])), n.object]),
|
|
400
|
-
/**
|
|
401
|
-
* If `true`, the component will have the flex *item* behavior.
|
|
402
|
-
* You should be wrapping *items* with a *container*.
|
|
403
|
-
* @default false
|
|
404
|
-
*/
|
|
405
|
-
item: n.bool,
|
|
406
|
-
/**
|
|
407
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
408
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
409
|
-
* If 'auto', the grid item's width matches its content.
|
|
410
|
-
* If false, the prop is ignored.
|
|
411
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
412
|
-
* The value is applied for the `lg` breakpoint and wider screens if not overridden.
|
|
413
|
-
* @default false
|
|
414
|
-
*/
|
|
415
|
-
lg: n.oneOfType([n.oneOf(["auto"]), n.number, n.bool]),
|
|
416
|
-
/**
|
|
417
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
418
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
419
|
-
* If 'auto', the grid item's width matches its content.
|
|
420
|
-
* If false, the prop is ignored.
|
|
421
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
422
|
-
* The value is applied for the `md` breakpoint and wider screens if not overridden.
|
|
423
|
-
* @default false
|
|
424
|
-
*/
|
|
425
|
-
md: n.oneOfType([n.oneOf(["auto"]), n.number, n.bool]),
|
|
426
|
-
/**
|
|
427
|
-
* Defines the vertical space between the type `item` components.
|
|
428
|
-
* It overrides the value of the `spacing` prop.
|
|
429
|
-
*/
|
|
430
|
-
rowSpacing: n.oneOfType([n.arrayOf(n.oneOfType([n.number, n.string])), n.number, n.object, n.string]),
|
|
431
|
-
/**
|
|
432
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
433
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
434
|
-
* If 'auto', the grid item's width matches its content.
|
|
435
|
-
* If false, the prop is ignored.
|
|
436
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
437
|
-
* The value is applied for the `sm` breakpoint and wider screens if not overridden.
|
|
438
|
-
* @default false
|
|
439
|
-
*/
|
|
440
|
-
sm: n.oneOfType([n.oneOf(["auto"]), n.number, n.bool]),
|
|
441
|
-
/**
|
|
442
|
-
* Defines the space between the type `item` components.
|
|
443
|
-
* It can only be used on a type `container` component.
|
|
444
|
-
* @default 0
|
|
445
|
-
*/
|
|
446
|
-
spacing: n.oneOfType([n.arrayOf(n.oneOfType([n.number, n.string])), n.number, n.object, n.string]),
|
|
447
|
-
/**
|
|
448
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
449
|
-
*/
|
|
450
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
|
|
451
|
-
/**
|
|
452
|
-
* Defines the `flex-wrap` style property.
|
|
453
|
-
* It's applied for all screen sizes.
|
|
454
|
-
* @default 'wrap'
|
|
455
|
-
*/
|
|
456
|
-
wrap: n.oneOf(["nowrap", "wrap-reverse", "wrap"]),
|
|
457
|
-
/**
|
|
458
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
459
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
460
|
-
* If 'auto', the grid item's width matches its content.
|
|
461
|
-
* If false, the prop is ignored.
|
|
462
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
463
|
-
* The value is applied for the `xl` breakpoint and wider screens if not overridden.
|
|
464
|
-
* @default false
|
|
465
|
-
*/
|
|
466
|
-
xl: n.oneOfType([n.oneOf(["auto"]), n.number, n.bool]),
|
|
467
|
-
/**
|
|
468
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
469
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
470
|
-
* If 'auto', the grid item's width matches its content.
|
|
471
|
-
* If false, the prop is ignored.
|
|
472
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
473
|
-
* The value is applied for all the screen sizes with the lowest priority.
|
|
474
|
-
* @default false
|
|
475
|
-
*/
|
|
476
|
-
xs: n.oneOfType([n.oneOf(["auto"]), n.number, n.bool]),
|
|
477
|
-
/**
|
|
478
|
-
* If `true`, it sets `min-width: 0` on the item.
|
|
479
|
-
* Refer to the limitations section of the documentation to better understand the use case.
|
|
480
|
-
* @default false
|
|
481
|
-
*/
|
|
482
|
-
zeroMinWidth: n.bool
|
|
483
|
-
});
|
|
484
|
-
if (process.env.NODE_ENV !== "production") {
|
|
485
|
-
const e = Z("Grid", y);
|
|
486
|
-
y.propTypes = {
|
|
487
|
-
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
488
|
-
...y.propTypes,
|
|
489
|
-
direction: e("container"),
|
|
490
|
-
lg: e("item"),
|
|
491
|
-
md: e("item"),
|
|
492
|
-
sm: e("item"),
|
|
493
|
-
spacing: e("container"),
|
|
494
|
-
wrap: e("container"),
|
|
495
|
-
xs: e("item"),
|
|
496
|
-
zeroMinWidth: e("item")
|
|
497
|
-
};
|
|
498
|
-
}
|
|
499
|
-
export {
|
|
500
|
-
y as G
|
|
501
|
-
};
|