@dcl/shop 0.5.0 → 0.5.1-30934281711.commit-71d435d
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/_assets/{Activity-GNtRBDkH.js → Activity-DbEcN_ip.js} +1 -1
- package/_assets/{AnimatedBackground-C4vGO85y.js → AnimatedBackground-COSG1YHZ.js} +1 -1
- package/_assets/{Assets-DUB4VCUr.js → Assets-hxHJCxJp.js} +7 -7
- package/_assets/{Assets.styles-DIh1hG4_.js → Assets.styles-CqHMtvn6.js} +1 -1
- package/_assets/{Authorizations-gse9z0i5.js → Authorizations-Z_3XHseF.js} +1 -1
- package/_assets/{Cart-xOvVoYwp.js → Cart-Csx5bd_E.js} +2 -2
- package/_assets/{CircularProgress-BZT_u7sL.js → CircularProgress-CxdmiPfO.js} +1 -1
- package/_assets/{Collection-DkMWDyM9.js → Collection-CCy2cdeV.js} +4 -4
- package/_assets/{CollectionCarousel-D-7TqEHy.js → CollectionCarousel-CKFxOqjb.js} +1 -1
- package/_assets/{Creator-CIj-i2cJ.js → Creator-plYQGi53.js} +1 -1
- package/_assets/{ErrorNotice-qXSCgBBe.js → ErrorNotice-C-nXSZqX.js} +1 -1
- package/_assets/{ExchangeController-CoWk4iJ_.js → ExchangeController-DY7abnKb.js} +1 -1
- package/_assets/{GetCredits-91dR46BQ.js → GetCredits-TNPm_zAt.js} +1 -1
- package/_assets/{HelpersUtil-B_EI8lTR.js → HelpersUtil-DxyZBMvo.js} +1 -1
- package/_assets/{ImportListings-DrIx4tN-.js → ImportListings-BJ0q3u26.js} +5 -5
- package/_assets/{ItemDetail-DneK31a0.js → ItemDetail-CuLGfIRL.js} +489 -324
- package/_assets/{LoadMore-CPg41rwp.js → LoadMore-yAi8vsa6.js} +1 -1
- package/_assets/{ManaPricingBanner.styles-4CDYw79q.js → ManaPricingBanner.styles-ByRxQdOU.js} +6 -6
- package/_assets/{MenuList-D5E4Wrvx.js → MenuList-CtnltPtJ.js} +1 -1
- package/_assets/{MyAssets-C29gKaZs.js → MyAssets-CkgpQXbD.js} +1 -1
- package/_assets/{MyFavorites-CfsWFXpI.js → MyFavorites-DvP0qwpm.js} +1 -1
- package/_assets/{NotFound-DVmSPOa9.js → NotFound-BfV911SO.js} +1 -1
- package/_assets/{NotificationsBell-C_HZmA4_.js → NotificationsBell-LBfk_tmW.js} +1 -1
- package/_assets/OutfitDetail-CUGDW7tY.js +326 -0
- package/_assets/OutfitPreview-BbEqr4QU.js +6 -0
- package/_assets/{OutfitStudio-D6HxPa0M.js → OutfitStudio-C7sSmIlF.js} +52 -52
- package/_assets/{StoreSettings-CmI6OJyt.js → StoreSettings-CPNAijT4.js} +1 -1
- package/_assets/{Success-CILFVgai.js → Success-CoreUida.js} +1 -1
- package/_assets/{SwapController-BtZYC1DC.js → SwapController-CEnoFZxK.js} +1 -1
- package/_assets/{Tooltip-D-dOz9cj.js → Tooltip-D2z-c3xY.js} +1 -1
- package/_assets/{TradeService-DFGHQuam.js → TradeService-C0WM0IK5.js} +1 -1
- package/_assets/{W3MFrameProviderSingleton-Dd3fipah.js → W3MFrameProviderSingleton-DHADoYvF.js} +3 -3
- package/_assets/{WebCryptoP256-83ZQlmY9.js → WebCryptoP256-D3CAJ1hZ.js} +1 -1
- package/_assets/{authorizations-3-Mq1Ehl.js → authorizations-DKmCykqz.js} +1 -1
- package/_assets/{basic-BndfWYou.js → basic-CEhjKQJL.js} +1 -1
- package/_assets/{biconomy-UoaVnBXL.js → biconomy-BykCCfMc.js} +1 -1
- package/_assets/{browseLayout.styles-C2XsX59Z.js → browseLayout.styles-BrABo9Hf.js} +1 -1
- package/_assets/{builder-BCsqID1m.js → builder-BkXoi_6e.js} +1 -1
- package/_assets/{buy-Bs_G6nfA.js → buy-DKJg2rHj.js} +1 -1
- package/_assets/{buy-gasless-Cf6hPQpJ.js → buy-gasless-CGeqOHtJ.js} +1 -1
- package/_assets/{categories-CJDomWri.js → categories-2xUKydml.js} +1 -1
- package/_assets/{ccip-DL1ik4S_.js → ccip-BlVvJTli.js} +1 -1
- package/_assets/{ccip-LyTNGN_g.js → ccip-CADVZTOO.js} +1 -1
- package/_assets/{clsx-CbhzNwHc.js → clsx-CqnJSHSW.js} +2 -2
- package/_assets/{controller-DI4T8YXU.js → controller-BP8z62yr.js} +2 -2
- package/_assets/{core-DLkqCpDz.js → core-CI5jAIo9.js} +4 -4
- package/_assets/{createSvgIcon-BdIjzl8A.js → createSvgIcon-C_0Xv0NV.js} +1 -1
- package/_assets/{custom-DjHlYa2L.js → custom-iCYkgXy_.js} +1 -1
- package/_assets/{data-capture-CCEqsOVC.js → data-capture-Bvpb1Gue.js} +1 -1
- package/_assets/{email-MyVfElwc.js → email-DGY8FmZr.js} +1 -1
- package/_assets/{embedded-wallet-DGKPNmRz.js → embedded-wallet-DGdykNIW.js} +1 -1
- package/_assets/{emotion-styled.browser.esm-B-KYMSCc.js → emotion-styled.browser.esm-BcV8HqIx.js} +1 -1
- package/_assets/{engine-P4mrsX3-.js → engine-CG5_hJfk.js} +1 -1
- package/_assets/{errors-B5G852-H.js → errors-N8U87ba-.js} +1 -1
- package/_assets/{estimate-l1-fee-CZTQo2Yh.js → estimate-l1-fee-BOQxb4ii.js} +1 -1
- package/_assets/{execute-CqlntYG8.js → execute-fo7nVUhk.js} +2 -2
- package/_assets/{features-BstqY0d8.js → features-Dg1ILYcD.js} +1 -1
- package/_assets/{fetchTokenMetadata-wr3bODuw.js → fetchTokenMetadata-WWZG1mk5.js} +2 -2
- package/_assets/{field.styles-CeFk4Y5o.js → field.styles-D-WXHTOH.js} +1 -1
- package/_assets/{get-ecosystem-wallet-info-BmrdD1ZM.js → get-ecosystem-wallet-info-CImjdvym.js} +1 -1
- package/_assets/{getBalance-CGp1VbNi.js → getBalance-CRQfFcYC.js} +1 -1
- package/_assets/{getNFT-Bc7mOqON.js → getNFT-B2PC0-g2.js} +1 -1
- package/_assets/{getNFT-BATtEfMr.js → getNFT-D3KLRabb.js} +1 -1
- package/_assets/{getThemeProps-Cj1ePFOP.js → getThemeProps-DmYVP8OC.js} +1 -1
- package/_assets/{grid.styles-4uR2Oqak.js → grid.styles-wzi16hJ0.js} +1 -1
- package/_assets/{hashTypedData-DmaIP4Ta.js → hashTypedData-7f24Qmm1.js} +1 -1
- package/_assets/{hashTypedData--isNjJrk.js → hashTypedData-BDhBKMw7.js} +1 -1
- package/_assets/{in-app-DkfGauuN.js → in-app-Dw1uWQch.js} +1 -1
- package/_assets/{in-app-wallet-calls-_oAp4gRk.js → in-app-wallet-calls-Ced-Hk1u.js} +1 -1
- package/_assets/{index-Df_MtlRn.js → index-B0rKW0gc.js} +1 -1
- package/_assets/{index-qOIpyDqw.js → index-B1-7yuu3.js} +3 -3
- package/_assets/{index-Jw4WyTL7.js → index-B1l_Uvp9.js} +1 -1
- package/_assets/{index-Bq3RaeMg.js → index-B3Hj28R0.js} +1 -1
- package/_assets/{index-DXe6U5Nd.js → index-BCvO08kk.js} +1 -1
- package/_assets/{index-CNLdKmSV.js → index-BD0M18Fj.js} +2 -2
- package/_assets/{index-TXpJyzEO.js → index-BKjuIcZ1.js} +1 -1
- package/_assets/{index-DiwV8Pqc.js → index-BPGvNzFI.js} +1 -1
- package/_assets/{index-UOqdWcGo.js → index-BQE1lbNd.js} +1 -1
- package/_assets/{index-B9aCuD80.js → index-BRAjDYmB.js} +1 -1
- package/_assets/{index-COG_bMzA.js → index-BSJOsaoy.js} +1 -1
- package/_assets/{index-DYIatsEA.js → index-BUZJwPmQ.js} +1 -1
- package/_assets/{index-CAtB_PCp.js → index-B_dncyHS.js} +2 -2
- package/_assets/{index-B0XZJoRs.js → index-Bbu6XUqy.js} +3 -3
- package/_assets/{index-6TyUCKeH.js → index-BiDNavgD.js} +1 -1
- package/_assets/{index-9uXo0dDW.js → index-Bkg0Qrp6.js} +1 -1
- package/_assets/{index-D-cwjSAX.js → index-BpZz3bw9.js} +3 -3
- package/_assets/{index-BmlqG1wa.js → index-Bv6jRoUh.js} +1 -1
- package/_assets/{index-DCcvZO5Y.js → index-BxR8fKca.js} +1 -1
- package/_assets/{index-BYndrnYs.js → index-C0tjFuh4.js} +1 -1
- package/_assets/{index-BQJhzjgB.js → index-C53xszMs.js} +1 -1
- package/_assets/{index-g7yoq537.js → index-CBpSiNz5.js} +2 -2
- package/_assets/{index-B3qntzSb.js → index-CFw8nBxU.js} +1 -1
- package/_assets/{index-CKuDkHtx.js → index-CRdySivd.js} +1 -1
- package/_assets/{index-DYJqGaxj.js → index-CgIgZ8TZ.js} +2 -2
- package/_assets/{index-BF4F4-es.js → index-CiM8C2LD.js} +1 -1
- package/_assets/{index-DG2jERXm.js → index-D0Aqcjc0.js} +1 -1
- package/_assets/{index-BQEMTtHk.js → index-D3jBjpLf.js} +1 -1
- package/_assets/{index-BHPckyG6.js → index-DDu4b2rq.js} +1 -1
- package/_assets/{index-pUOx764A.js → index-DFzINjaK.js} +1 -1
- package/_assets/{index-TyIfm5pC.js → index-DGhB3WMs.js} +1 -1
- package/_assets/{index-B08mxqyH.js → index-DHYMCRcr.js} +1 -1
- package/_assets/{index-hxv9huma.js → index-DLdGvRZQ.js} +1 -1
- package/_assets/{index-BlqD0sjz.js → index-DQsiee3b.js} +1 -1
- package/_assets/{index-DARDndd8.js → index-DRMZKNFH.js} +1 -1
- package/_assets/index-Da1IWtza.js +3482 -0
- package/_assets/{index-6-oWZZKk.js → index-DaLiUn8r.js} +1 -1
- package/_assets/{index-DA_UmuJW.js → index-DfnFAWTr.js} +2 -2
- package/_assets/{index-wLhUVrXT.js → index-Dh2nN1pf.js} +1 -1
- package/_assets/{index-DA6dfZrr.js → index-DpqAhSTM.js} +1 -1
- package/_assets/{index-B4VZ6oCr.js → index-Drfl98A2.js} +1 -1
- package/_assets/{index-GIpFWU31.js → index-DyghLCFO.js} +1 -1
- package/_assets/{index-DI6mFHN_.js → index-HcU1BZGi.js} +1 -1
- package/_assets/{index-CwgAx_D_.js → index-Nu_iUU26.js} +1 -1
- package/_assets/{index-Rzy39Nn7.js → index-WEZnjywW.js} +1 -1
- package/_assets/{index-hFWlaYZc.js → index-_SEhAywg.js} +1 -1
- package/_assets/{index-a7lLIynB.js → index-cgof2fbB.js} +1 -1
- package/_assets/{index-CVTYXB-H.js → index-lG7DN5xF.js} +1 -1
- package/_assets/{index-DwhWwt0R.js → index-miM7OoYW.js} +1 -1
- package/_assets/{index-DMfeEICj.js → index-uh1KT2cw.js} +1 -1
- package/_assets/{index-bI7YB81Q.js → index-x992Sn-f.js} +1 -1
- package/_assets/{index.es-DSBJgnik.js → index.es-4XDsATwL.js} +4 -4
- package/_assets/{index.es-DcH5dh4Z.js → index.es-DSpyirS0.js} +1 -1
- package/_assets/{index.es-CleSpdBe.js → index.es-teXV_ogJ.js} +1 -1
- package/_assets/{localBatchGatewayRequest-BQaanzyf.js → localBatchGatewayRequest-DeyVc56J.js} +1 -1
- package/_assets/{mana-convert-gdOzEDdP.js → mana-convert-DnJmYgcw.js} +1 -1
- package/_assets/{mana-rate-DFh9C_O1.js → mana-rate-CC5D3Meh.js} +1 -1
- package/_assets/{networks-DweEIHqd.js → networks-1b8NsW4Y.js} +1 -1
- package/_assets/{onramp-CQin_sc0.js → onramp-hTLhj5ti.js} +1 -1
- package/_assets/{openzeppelin-aL0pLCk3.js → openzeppelin-BJlHJFSk.js} +1 -1
- package/_assets/{parseNft-C3_Nz5T-.js → parseNft-DkIiwdC7.js} +2 -2
- package/_assets/{parseSignature-CaUNRWNX.js → parseSignature-CvH9K2oI.js} +3 -3
- package/_assets/{parseSignature-DbUWX_0J.js → parseSignature-DQwihZkm.js} +1 -1
- package/_assets/{passkeys-ErJmNcK7.js → passkeys-IvY3Iqv-.js} +1 -1
- package/_assets/{pay-with-exchange-IR4P3LG2.js → pay-with-exchange-BdHjrEQV.js} +1 -1
- package/_assets/{qr-overlay-CdnDwp_H.js → qr-overlay-BYsKakQ3.js} +1 -1
- package/_assets/{receive-zGMAuzLF.js → receive-YK_fd_CU.js} +1 -1
- package/_assets/{resolveImplementation-DBCwfUsj.js → resolveImplementation-DPilssBn.js} +1 -1
- package/_assets/{rpc-DcBDiZd9.js → rpc-Sc56-gmm.js} +1 -1
- package/_assets/{secp256k1-Dw0WpBX5.js → secp256k1-Cc4QlgFt.js} +1 -1
- package/_assets/{secp256k1-Dewsd8iM.js → secp256k1-D_5VBkHj.js} +1 -1
- package/_assets/{secp256k1-B-E-jiWl.js → secp256k1-mkhJYubv.js} +1 -1
- package/_assets/{send-DDT-5Y8C.js → send-DeNQyeKY.js} +1 -1
- package/_assets/{send-batch-transaction-BurBPeh7.js → send-batch-transaction-DNMKl7ky.js} +1 -1
- package/_assets/{send-eip712-transaction-D77WUDwd.js → send-eip712-transaction-CDu2CS-m.js} +2 -2
- package/_assets/{send-gasless-transaction-CIWAOyRc.js → send-gasless-transaction-BfQQxuNb.js} +2 -2
- package/_assets/{send-transaction-BXhwaD9S.js → send-transaction-egO16iDc.js} +2 -2
- package/_assets/{sendMetaTransaction-CrIt0KCG.js → sendMetaTransaction-kBil2Ej7.js} +1 -1
- package/_assets/{sendRawTransaction-DNK5LA13.js → sendRawTransaction-8z5-lN6F.js} +3 -3
- package/_assets/{serializeTransaction-D3WekrgC.js → serializeTransaction-D2h63c4_.js} +1 -1
- package/_assets/{session-proposal-BlosSPbJ.js → session-proposal-DW2kA8O7.js} +1 -1
- package/_assets/{session-request-C8iYxI6j.js → session-request-CPMpN15W.js} +2 -2
- package/_assets/{signing-Bx48W7O-.js → signing-DPwEu2UU.js} +3 -3
- package/_assets/{socials-BSmNv258.js → socials-CBKa2AOj.js} +1 -1
- package/_assets/{swaps-DyNopWtM.js → swaps-xpOfH90g.js} +1 -1
- package/_assets/{thirdweb-Bc1voIUm.js → thirdweb-DzBPyGMD.js} +3 -3
- package/_assets/{to-serializable-transaction-BXY289Ul.js → to-serializable-transaction-Cq1PN1aZ.js} +2 -2
- package/_assets/{trade-encoding-B7y8VfDo.js → trade-encoding-4xiglK48.js} +1 -1
- package/_assets/{transactionReceipt-DLzKebEg.js → transactionReceipt-Bx1LFZ2X.js} +1 -1
- package/_assets/{transactions-BWXAu1Vp.js → transactions-ncGplKHW.js} +1 -1
- package/_assets/{useCreditPacks-CYnMKZmp.js → useCreditPacks-BElseyte.js} +1 -1
- package/_assets/{useInfiniteGrid-ottWIC3k.js → useInfiniteGrid-RdlgtcqE.js} +1 -1
- package/_assets/useManaRate-DAwFZ75M.js +1 -0
- package/_assets/{useStore-DC77ufHd.js → useStore-C66JN0w6.js} +1 -1
- package/_assets/{useTheme-BOb3XgSe.js → useTheme-DO99UzMT.js} +1 -1
- package/_assets/{verifyHash-B6wVUzvm.js → verifyHash-DdYLeP97.js} +1 -1
- package/_assets/{w3m-modal-D0DQYwij.js → w3m-modal-C0b4AnQ3.js} +1 -1
- package/_assets/{w3m-modal-CYIABu52.js → w3m-modal-CD6HTrJ3.js} +1 -1
- package/_assets/{wait-for-tx-receipt-CzEApn7N.js → wait-for-tx-receipt-CYCUuRY7.js} +1 -1
- package/_assets/{wallets-CQPQ_gpR.js → wallets-B_igN3zv.js} +5 -5
- package/_assets/{web-connector-B5U5FrL8.js → web-connector-DtLrUYHU.js} +3 -3
- package/_assets/{writeContract-CGlJd1QG.js → writeContract-CvTh4kpk.js} +1 -1
- package/_assets/{zoraTestnet-pKTbhMUO.js → zoraTestnet-vikR0D9L.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/ItemPreview.styles--MP-O7tE.js +0 -166
- package/_assets/OutfitDetail-BCkHFvPX.js +0 -357
- package/_assets/OutfitPreview-XyEsGBYa.js +0 -6
- package/_assets/index-CEec1iYe.js +0 -3476
- package/_assets/useManaRate-CPn6JNFj.js +0 -1
package/index.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
<link rel="canonical" href="https://decentraland.org/shop/" />
|
|
17
17
|
|
|
18
18
|
<!-- Favicon: the Decentraland mark (same as the marketplace). -->
|
|
19
|
-
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
20
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
19
|
+
<link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/favicon.ico" sizes="16x16 32x32 48x48" />
|
|
20
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/dcl-mark.png" />
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="DCL Shop" />
|
|
22
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
22
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/site.webmanifest" />
|
|
23
23
|
|
|
24
24
|
<!-- Open Graph -->
|
|
25
25
|
<meta property="og:type" content="website" />
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
|
|
49
49
|
|
|
50
50
|
<!-- Sitemap -->
|
|
51
|
-
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
51
|
+
<link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/sitemap.xml" />
|
|
52
52
|
|
|
53
53
|
<!-- Warm the 3D preview / fonts -->
|
|
54
54
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
<link rel="preconnect" href="https://wearable-preview.decentraland.org" />
|
|
61
61
|
<link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
|
|
62
62
|
<link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
|
|
63
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
64
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
65
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
66
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
67
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
68
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
69
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.
|
|
63
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/index-Da1IWtza.js"></script>
|
|
64
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/react-DehiWSvs.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/sentry-973sfbO9.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/dcl-schemas-Dr9BTjb7.js">
|
|
67
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/ethers-CtNGBird.js">
|
|
68
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/intl-CBcMB1D2.js">
|
|
69
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.5.1-30934281711.commit-71d435d/_assets/index-D-NhBWWr.css">
|
|
70
70
|
</head>
|
|
71
71
|
<body>
|
|
72
72
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/shop",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1-30934281711.commit-71d435d",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/shop.git"
|
|
10
10
|
},
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "71d435de72a5fe9d578ab532c5ea0c1222a16435"
|
|
12
12
|
}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import{s as o,t as r,I as i,k as n}from"./index-CEec1iYe.js";const{colors:t,media:e}=r,a=n`
|
|
2
|
-
to {
|
|
3
|
-
transform: rotate(360deg);
|
|
4
|
-
}
|
|
5
|
-
`,s=o.div``,p=o.span`
|
|
6
|
-
width: 34px;
|
|
7
|
-
height: 34px;
|
|
8
|
-
border-radius: 50%;
|
|
9
|
-
border: 3px solid ${t.line};
|
|
10
|
-
border-top-color: ${t.accent};
|
|
11
|
-
animation: ${a} 0.8s linear infinite;
|
|
12
|
-
|
|
13
|
-
@media (prefers-reduced-motion: reduce) {
|
|
14
|
-
animation-duration: 2.4s;
|
|
15
|
-
}
|
|
16
|
-
`,u=o.p``,c=o.div``,g=o.button`
|
|
17
|
-
border: 0;
|
|
18
|
-
background: none;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
padding: 6px 16px;
|
|
21
|
-
border-radius: 999px;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
font-size: 12px;
|
|
24
|
-
text-transform: uppercase;
|
|
25
|
-
letter-spacing: 0.04em;
|
|
26
|
-
color: ${t.muted};
|
|
27
|
-
transition:
|
|
28
|
-
background 0.12s ease,
|
|
29
|
-
color 0.12s ease;
|
|
30
|
-
|
|
31
|
-
&[data-active] {
|
|
32
|
-
background: ${t.text};
|
|
33
|
-
color: ${t.white};
|
|
34
|
-
}
|
|
35
|
-
&:not([data-active]):hover {
|
|
36
|
-
color: ${t.text};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
${e.maxWidth("lg")} {
|
|
40
|
-
padding: 9px 13px;
|
|
41
|
-
border-radius: 0;
|
|
42
|
-
background: ${t.white};
|
|
43
|
-
color: ${t.text2};
|
|
44
|
-
|
|
45
|
-
&[data-active] {
|
|
46
|
-
background: ${t.text};
|
|
47
|
-
color: ${t.white};
|
|
48
|
-
}
|
|
49
|
-
&:first-of-type {
|
|
50
|
-
border-top-left-radius: 999px;
|
|
51
|
-
border-bottom-left-radius: 999px;
|
|
52
|
-
}
|
|
53
|
-
&:last-of-type {
|
|
54
|
-
border-top-right-radius: 999px;
|
|
55
|
-
border-bottom-right-radius: 999px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
`,x=o.span`
|
|
59
|
-
${e.maxWidth("lg")} {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
`,l=o(i)`
|
|
63
|
-
display: none;
|
|
64
|
-
|
|
65
|
-
${e.maxWidth("lg")} {
|
|
66
|
-
display: block;
|
|
67
|
-
}
|
|
68
|
-
`,b=o.div`
|
|
69
|
-
& .MuiBox-root {
|
|
70
|
-
position: static;
|
|
71
|
-
width: 100%;
|
|
72
|
-
margin: 0;
|
|
73
|
-
padding: 0;
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: 10px;
|
|
77
|
-
}
|
|
78
|
-
& .MuiButtonBase-root {
|
|
79
|
-
min-width: 0;
|
|
80
|
-
padding: 0;
|
|
81
|
-
margin: 0;
|
|
82
|
-
border-radius: 50%;
|
|
83
|
-
display: inline-flex;
|
|
84
|
-
align-items: center;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
background: none !important;
|
|
87
|
-
box-shadow: none !important;
|
|
88
|
-
color: ${t.muted};
|
|
89
|
-
flex: 0 0 auto;
|
|
90
|
-
transition:
|
|
91
|
-
background 0.12s ease,
|
|
92
|
-
color 0.12s ease;
|
|
93
|
-
}
|
|
94
|
-
& .MuiButtonBase-root .MuiSvgIcon-root {
|
|
95
|
-
font-size: 20px;
|
|
96
|
-
margin: 0;
|
|
97
|
-
}
|
|
98
|
-
& .MuiBox-root > .MuiButtonBase-root:first-child {
|
|
99
|
-
width: 34px;
|
|
100
|
-
height: 34px;
|
|
101
|
-
background: ${t.accent} !important;
|
|
102
|
-
color: ${t.white};
|
|
103
|
-
}
|
|
104
|
-
& .MuiBox-root > .MuiButtonBase-root:first-child:hover {
|
|
105
|
-
background: ${t.text} !important;
|
|
106
|
-
}
|
|
107
|
-
& .MuiBox-root > input + .MuiButtonBase-root {
|
|
108
|
-
width: 30px;
|
|
109
|
-
height: 30px;
|
|
110
|
-
color: ${t.muted};
|
|
111
|
-
}
|
|
112
|
-
& .MuiBox-root > input + .MuiButtonBase-root:hover {
|
|
113
|
-
background: ${t.media} !important;
|
|
114
|
-
color: ${t.text};
|
|
115
|
-
}
|
|
116
|
-
& input[type='range'] {
|
|
117
|
-
flex: 1 1 auto;
|
|
118
|
-
width: auto;
|
|
119
|
-
min-width: 0;
|
|
120
|
-
height: 4px;
|
|
121
|
-
margin: 0;
|
|
122
|
-
padding: 0;
|
|
123
|
-
-webkit-appearance: none;
|
|
124
|
-
appearance: none;
|
|
125
|
-
background: transparent;
|
|
126
|
-
cursor: pointer;
|
|
127
|
-
}
|
|
128
|
-
& input[type='range']::-webkit-slider-runnable-track {
|
|
129
|
-
height: 4px;
|
|
130
|
-
border-radius: 999px;
|
|
131
|
-
background: ${t.lineStrong};
|
|
132
|
-
}
|
|
133
|
-
& input[type='range']::-moz-range-track {
|
|
134
|
-
height: 4px;
|
|
135
|
-
border-radius: 999px;
|
|
136
|
-
background: ${t.lineStrong};
|
|
137
|
-
}
|
|
138
|
-
& input[type='range']::-webkit-slider-thumb {
|
|
139
|
-
-webkit-appearance: none;
|
|
140
|
-
appearance: none;
|
|
141
|
-
width: 13px;
|
|
142
|
-
height: 13px;
|
|
143
|
-
margin-top: -4.5px;
|
|
144
|
-
border-radius: 50%;
|
|
145
|
-
background: ${t.accent};
|
|
146
|
-
border: 2px solid ${t.white};
|
|
147
|
-
box-shadow: 0 1px 3px rgba(22, 21, 24, 0.3);
|
|
148
|
-
cursor: pointer;
|
|
149
|
-
}
|
|
150
|
-
& input[type='range']::-moz-range-thumb {
|
|
151
|
-
width: 13px;
|
|
152
|
-
height: 13px;
|
|
153
|
-
border-radius: 50%;
|
|
154
|
-
background: ${t.accent};
|
|
155
|
-
border: 2px solid ${t.white};
|
|
156
|
-
box-shadow: 0 1px 3px rgba(22, 21, 24, 0.3);
|
|
157
|
-
cursor: pointer;
|
|
158
|
-
}
|
|
159
|
-
& input[type='range']:focus-visible {
|
|
160
|
-
outline: none;
|
|
161
|
-
}
|
|
162
|
-
& input[type='range']:focus-visible::-webkit-slider-thumb {
|
|
163
|
-
outline: 2px solid ${t.accent};
|
|
164
|
-
outline-offset: 2px;
|
|
165
|
-
}
|
|
166
|
-
`;export{b as E,s as L,u as N,p as S,c as T,g as a,l as b,x as c};
|
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
import{L as w,u as ne,j as e,r as p}from"./react-DehiWSvs.js";import{d as P}from"./dcl-schemas-Dr9BTjb7.js";import{s as t,I as y,t as re,A as oe,D as le,E as de,B as j,F as ce,n as D,G as pe,u as he,m as me,b as s,H as F,J as xe,K as ue,L as ge,M as fe,N as be,O as ve,P as ye,Q as je,R as we,S as ke,V as $e,W as Ie,X as Ce,Y as ze,p as z,Z as Le,$ as Ee,a0 as Te,a1 as Se,a2 as Ae,a3 as Ne}from"./index-CEec1iYe.js";import{E as H}from"./ErrorNotice-qXSCgBBe.js";import{O as Pe}from"./OutfitPreview-XyEsGBYa.js";import{T as Fe,a as O,b as R,c as W}from"./ItemPreview.styles--MP-O7tE.js";import"./sentry-973sfbO9.js";import"./ethers-CtNGBird.js";import"./intl-CBcMB1D2.js";import"./disposePreview-DIA1G1eQ.js";const{colors:r,radius:Oe,media:o}=re,V=t.div`
|
|
2
|
-
max-width: 1721px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
`,Re=t.nav`
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 8px;
|
|
8
|
-
font-size: 13px;
|
|
9
|
-
color: ${r.muted};
|
|
10
|
-
margin-bottom: 18px;
|
|
11
|
-
`,B=t(w)`
|
|
12
|
-
color: ${r.muted};
|
|
13
|
-
|
|
14
|
-
&:hover {
|
|
15
|
-
color: ${r.text};
|
|
16
|
-
}
|
|
17
|
-
`,We=t.span`
|
|
18
|
-
color: ${r.text};
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
text-overflow: ellipsis;
|
|
23
|
-
`,q=t.div`
|
|
24
|
-
display: grid;
|
|
25
|
-
grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
|
|
26
|
-
gap: 40px;
|
|
27
|
-
align-items: stretch;
|
|
28
|
-
height: calc(100dvh - 240px);
|
|
29
|
-
min-height: 520px;
|
|
30
|
-
|
|
31
|
-
${o.maxWidth("mobile")} {
|
|
32
|
-
grid-template-columns: 1fr;
|
|
33
|
-
gap: 16px;
|
|
34
|
-
height: auto;
|
|
35
|
-
min-height: 0;
|
|
36
|
-
}
|
|
37
|
-
`,G=t.div`
|
|
38
|
-
position: relative;
|
|
39
|
-
border-radius: 24px;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
background: ${r.media};
|
|
42
|
-
|
|
43
|
-
${o.maxWidth("mobile")} {
|
|
44
|
-
aspect-ratio: 1 / 1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
& iframe {
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
border: 0;
|
|
51
|
-
display: block;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
[data-preview-viewport] {
|
|
55
|
-
position: absolute;
|
|
56
|
-
inset: 0;
|
|
57
|
-
pointer-events: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* The on-avatar/item toggle, positioned exactly like the item detail's: a text pill top-left on
|
|
61
|
-
desktop, the icon-only button group bottom-right on narrow screens. */
|
|
62
|
-
& > [data-preview-toggle] {
|
|
63
|
-
position: absolute;
|
|
64
|
-
top: 16px;
|
|
65
|
-
left: 16px;
|
|
66
|
-
z-index: 2;
|
|
67
|
-
display: inline-flex;
|
|
68
|
-
gap: 2px;
|
|
69
|
-
padding: 3px;
|
|
70
|
-
background: rgba(255, 255, 255, 0.92);
|
|
71
|
-
border: 1px solid ${r.line};
|
|
72
|
-
border-radius: 999px;
|
|
73
|
-
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
${o.maxWidth("lg")} {
|
|
77
|
-
& > [data-preview-toggle] {
|
|
78
|
-
top: auto;
|
|
79
|
-
left: auto;
|
|
80
|
-
bottom: 12px;
|
|
81
|
-
right: 12px;
|
|
82
|
-
gap: 0;
|
|
83
|
-
padding: 0;
|
|
84
|
-
background: transparent;
|
|
85
|
-
border: 0;
|
|
86
|
-
box-shadow: 0 1px 4px rgba(22, 21, 24, 0.18);
|
|
87
|
-
overflow: hidden;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
`,Be=t.img`
|
|
91
|
-
position: absolute;
|
|
92
|
-
inset: 0;
|
|
93
|
-
width: 100%;
|
|
94
|
-
height: 100%;
|
|
95
|
-
object-fit: contain;
|
|
96
|
-
`,U=t.div`
|
|
97
|
-
display: flex;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
gap: 15px;
|
|
100
|
-
min-height: 0;
|
|
101
|
-
`,Me=t.h1`
|
|
102
|
-
font-size: 28px;
|
|
103
|
-
font-weight: 600;
|
|
104
|
-
overflow-wrap: anywhere;
|
|
105
|
-
`,_e=t.p`
|
|
106
|
-
font-size: 12px;
|
|
107
|
-
font-weight: 500;
|
|
108
|
-
letter-spacing: 0.04em;
|
|
109
|
-
text-transform: uppercase;
|
|
110
|
-
color: ${r.muted1};
|
|
111
|
-
`,Ke=t.div`
|
|
112
|
-
flex: 0 1 auto;
|
|
113
|
-
min-height: 0;
|
|
114
|
-
overflow-y: auto;
|
|
115
|
-
/* Breathing room INSIDE the scroller (with the matching negative margin re-aligning the cards):
|
|
116
|
-
the hover zoom + ring + glow would otherwise be cropped by the overflow clip. */
|
|
117
|
-
padding: 8px 10px;
|
|
118
|
-
margin: -8px -10px;
|
|
119
|
-
|
|
120
|
-
${o.maxWidth("mobile")} {
|
|
121
|
-
overflow: visible;
|
|
122
|
-
padding: 0;
|
|
123
|
-
margin: 0;
|
|
124
|
-
}
|
|
125
|
-
`,De=t.ul`
|
|
126
|
-
list-style: none;
|
|
127
|
-
margin: 0;
|
|
128
|
-
padding: 0;
|
|
129
|
-
display: flex;
|
|
130
|
-
flex-direction: column;
|
|
131
|
-
gap: 10px;
|
|
132
|
-
`,He=t.li`
|
|
133
|
-
position: relative;
|
|
134
|
-
display: flex;
|
|
135
|
-
align-items: stretch;
|
|
136
|
-
gap: 14px;
|
|
137
|
-
border-radius: 16px;
|
|
138
|
-
background: ${r.bg};
|
|
139
|
-
overflow: hidden;
|
|
140
|
-
isolation: isolate;
|
|
141
|
-
transition:
|
|
142
|
-
box-shadow 0.35s ease,
|
|
143
|
-
transform 0.25s ease;
|
|
144
|
-
|
|
145
|
-
&::after {
|
|
146
|
-
${oe};
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&::before {
|
|
150
|
-
content: '';
|
|
151
|
-
position: absolute;
|
|
152
|
-
inset: 0;
|
|
153
|
-
z-index: 5;
|
|
154
|
-
pointer-events: none;
|
|
155
|
-
border-radius: inherit;
|
|
156
|
-
${le};
|
|
157
|
-
opacity: 0;
|
|
158
|
-
transition: opacity 0.3s ease;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@media (hover: hover) {
|
|
162
|
-
&:hover,
|
|
163
|
-
&:focus-within {
|
|
164
|
-
${de};
|
|
165
|
-
transform: scale(1.015);
|
|
166
|
-
/* Above the neighbouring rows while zoomed, or the next card paints over the growth. */
|
|
167
|
-
z-index: 6;
|
|
168
|
-
}
|
|
169
|
-
&:hover::before,
|
|
170
|
-
&:focus-within::before {
|
|
171
|
-
opacity: 1;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@media (prefers-reduced-motion: reduce) {
|
|
176
|
-
transition: none;
|
|
177
|
-
|
|
178
|
-
&:hover,
|
|
179
|
-
&:focus-within {
|
|
180
|
-
transform: none;
|
|
181
|
-
}
|
|
182
|
-
&::before {
|
|
183
|
-
transition: none;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&[data-state='unavailable'],
|
|
188
|
-
&[data-state='missing'] {
|
|
189
|
-
opacity: 0.55;
|
|
190
|
-
}
|
|
191
|
-
`,Ve=t(w)`
|
|
192
|
-
position: absolute;
|
|
193
|
-
inset: 0;
|
|
194
|
-
z-index: 1;
|
|
195
|
-
`,qe=t.img`
|
|
196
|
-
width: 96px;
|
|
197
|
-
height: 96px;
|
|
198
|
-
object-fit: cover;
|
|
199
|
-
background: ${r.panel};
|
|
200
|
-
flex-shrink: 0;
|
|
201
|
-
|
|
202
|
-
${o.maxWidth("mobile")} {
|
|
203
|
-
width: 88px;
|
|
204
|
-
height: 88px;
|
|
205
|
-
}
|
|
206
|
-
`,Ge=t.span`
|
|
207
|
-
width: 96px;
|
|
208
|
-
height: 96px;
|
|
209
|
-
background: ${r.panel};
|
|
210
|
-
flex-shrink: 0;
|
|
211
|
-
|
|
212
|
-
${o.maxWidth("mobile")} {
|
|
213
|
-
width: 88px;
|
|
214
|
-
height: 88px;
|
|
215
|
-
}
|
|
216
|
-
`,M=t.div`
|
|
217
|
-
flex: 1;
|
|
218
|
-
min-width: 0;
|
|
219
|
-
display: flex;
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
justify-content: center;
|
|
222
|
-
gap: 3px;
|
|
223
|
-
padding: 10px 14px 10px 0;
|
|
224
|
-
`,L=t.span`
|
|
225
|
-
font-size: 14px;
|
|
226
|
-
font-weight: 600;
|
|
227
|
-
white-space: nowrap;
|
|
228
|
-
overflow: hidden;
|
|
229
|
-
text-overflow: ellipsis;
|
|
230
|
-
`,Ue=t(w)`
|
|
231
|
-
position: relative;
|
|
232
|
-
z-index: 2;
|
|
233
|
-
align-self: flex-start;
|
|
234
|
-
font-size: 13px;
|
|
235
|
-
color: ${r.muted};
|
|
236
|
-
|
|
237
|
-
&:hover {
|
|
238
|
-
color: ${r.text};
|
|
239
|
-
text-decoration: underline;
|
|
240
|
-
}
|
|
241
|
-
`,_=t.span`
|
|
242
|
-
display: flex;
|
|
243
|
-
align-items: center;
|
|
244
|
-
gap: 6px;
|
|
245
|
-
margin-top: 2px;
|
|
246
|
-
`,Ye=t.span`
|
|
247
|
-
display: inline-flex;
|
|
248
|
-
align-items: center;
|
|
249
|
-
gap: 5px;
|
|
250
|
-
font-size: 16px;
|
|
251
|
-
font-weight: 600;
|
|
252
|
-
white-space: nowrap;
|
|
253
|
-
`,b=t.span`
|
|
254
|
-
font-size: 12px;
|
|
255
|
-
font-weight: 400;
|
|
256
|
-
padding: 2px 8px;
|
|
257
|
-
border-radius: ${Oe.chip};
|
|
258
|
-
background: ${r.chip};
|
|
259
|
-
color: ${r.text2};
|
|
260
|
-
white-space: nowrap;
|
|
261
|
-
`,Qe=t.span`
|
|
262
|
-
display: flex;
|
|
263
|
-
align-items: center;
|
|
264
|
-
gap: 3px;
|
|
265
|
-
margin-left: auto;
|
|
266
|
-
|
|
267
|
-
${o.maxWidth("mobile")} {
|
|
268
|
-
display: none;
|
|
269
|
-
}
|
|
270
|
-
`,v=t(ce)`
|
|
271
|
-
&[data-variant='smart'] {
|
|
272
|
-
gap: 2px;
|
|
273
|
-
background: ${r.chip};
|
|
274
|
-
color: ${r.text2};
|
|
275
|
-
text-transform: uppercase;
|
|
276
|
-
letter-spacing: 0.02em;
|
|
277
|
-
}
|
|
278
|
-
`,Je=t.p`
|
|
279
|
-
margin-top: 8px;
|
|
280
|
-
`,Xe=t.div`
|
|
281
|
-
display: flex;
|
|
282
|
-
flex-direction: column;
|
|
283
|
-
align-items: flex-start;
|
|
284
|
-
gap: 12px;
|
|
285
|
-
padding: 8px 0;
|
|
286
|
-
`,Ze=t.div`
|
|
287
|
-
display: flex;
|
|
288
|
-
flex-direction: column;
|
|
289
|
-
gap: 12px;
|
|
290
|
-
padding-top: 12px;
|
|
291
|
-
border-top: 1px solid ${r.line};
|
|
292
|
-
|
|
293
|
-
${o.maxWidth("mobile")} {
|
|
294
|
-
/* Sticky, not fixed: it rides the viewport bottom while the list is longer than the screen,
|
|
295
|
-
then STOPS at the list's end (its natural place as the column's last child) when the user
|
|
296
|
-
scrolls on toward the footer. Negative margin restores the full-bleed bar inside the page's
|
|
297
|
-
16px gutter. */
|
|
298
|
-
position: sticky;
|
|
299
|
-
bottom: 0;
|
|
300
|
-
z-index: 5;
|
|
301
|
-
margin: 40px -16px 0;
|
|
302
|
-
padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
|
|
303
|
-
border-top: 0;
|
|
304
|
-
background: ${r.softWhite};
|
|
305
|
-
box-shadow: 0 -4px 16px rgba(22, 21, 24, 0.12);
|
|
306
|
-
}
|
|
307
|
-
`,et=t.div`
|
|
308
|
-
display: flex;
|
|
309
|
-
align-items: center;
|
|
310
|
-
justify-content: space-between;
|
|
311
|
-
|
|
312
|
-
${o.maxWidth("mobile")} {
|
|
313
|
-
/* The phone CTA carries the price itself (the Figma bar). */
|
|
314
|
-
display: none;
|
|
315
|
-
}
|
|
316
|
-
`,tt=t.span`
|
|
317
|
-
font-size: 14px;
|
|
318
|
-
font-weight: 600;
|
|
319
|
-
letter-spacing: 0.04em;
|
|
320
|
-
text-transform: uppercase;
|
|
321
|
-
color: ${r.muted1};
|
|
322
|
-
`,it=t.span`
|
|
323
|
-
display: inline-flex;
|
|
324
|
-
align-items: center;
|
|
325
|
-
gap: 6px;
|
|
326
|
-
font-size: 26px;
|
|
327
|
-
font-weight: 800;
|
|
328
|
-
`,at=t(j)`
|
|
329
|
-
width: 100%;
|
|
330
|
-
min-height: 52px;
|
|
331
|
-
border-radius: 16px;
|
|
332
|
-
display: inline-flex;
|
|
333
|
-
align-items: center;
|
|
334
|
-
justify-content: center;
|
|
335
|
-
gap: 10px;
|
|
336
|
-
`,st=t.span`
|
|
337
|
-
display: none;
|
|
338
|
-
|
|
339
|
-
${o.maxWidth("mobile")} {
|
|
340
|
-
display: inline-flex;
|
|
341
|
-
align-items: center;
|
|
342
|
-
gap: 5px;
|
|
343
|
-
font-size: 16px;
|
|
344
|
-
}
|
|
345
|
-
`,K=t.div`
|
|
346
|
-
min-height: 52vh;
|
|
347
|
-
display: flex;
|
|
348
|
-
flex-direction: column;
|
|
349
|
-
align-items: center;
|
|
350
|
-
justify-content: center;
|
|
351
|
-
text-align: center;
|
|
352
|
-
gap: 14px;
|
|
353
|
-
`,nt=t(y)`
|
|
354
|
-
opacity: 0.4;
|
|
355
|
-
`,rt=t.h1`
|
|
356
|
-
font-size: 24px;
|
|
357
|
-
`,ot="outfit-detail-preview";function yt(){const{id:i}=ne(),n=D(g=>g.session),d=pe(),u=d==="creator",{data:c,isError:k,refetch:h}=he({queryKey:["outfit",i,u],enabled:F()&&!!i,staleTime:6e4,queryFn:()=>Ne(i,u&&n?n.identity:void 0)}),l=!F()||!i||c===null&&d!=="pending";return me(l?{title:s("seo.outfit.notFoundTitle"),noindex:!0}:c?{title:c.name}:{}),l?e.jsxs(K,{"data-testid":"outfit-notfound",children:[e.jsx(nt,{name:"cart",size:44}),e.jsx(rt,{children:s("outfits.detail.notFoundTitle")}),e.jsx("p",{className:"muted",children:s("outfits.detail.notFoundBody")}),e.jsx(j,{as:w,to:"/items",variant:"purple",children:s("notFound.cta")})]}):k?e.jsxs(K,{"data-testid":"outfit-detail-error",children:[e.jsx(H,{message:s("outfits.errors.generic")}),e.jsx(j,{variant:"purple",onClick:()=>void h(),children:s("outfits.detail.retry")})]}):c?e.jsx(dt,{outfit:c}):e.jsx(V,{"aria-busy":"true","data-testid":"outfit-detail-loading",children:e.jsxs(q,{children:[e.jsx(G,{children:e.jsx("span",{className:"skeleton",style:{position:"absolute",inset:0},"aria-hidden":!0})}),e.jsxs(U,{children:[e.jsx("span",{className:"skeleton",style:{width:"60%",height:32},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"40%",height:16},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"100%",height:48},"aria-hidden":!0})]})]})})}function lt({item:i}){const n=Le(i),d=Ee(i.gender);return e.jsxs(Qe,{children:[i.rarity?e.jsx(v,{"data-variant":"rarity",style:{background:Ae(i.rarity),color:Se(i.rarity)},title:Te(i.rarity),children:i.rarity}):null,i.isSmart?e.jsxs(v,{"data-variant":"smart",children:[e.jsx(y,{name:"smart",size:13}),s("assetCard.smart")]}):null,n?e.jsx(v,{"data-variant":"icon",children:e.jsx(y,{name:n})}):null,d?e.jsx(v,{"data-variant":"icon",children:e.jsx(y,{name:d})}):null]})}function dt({outfit:i}){const n=xe(i),{split:d,availableCount:u,totalCredits:c,addOutfit:k,isAdding:h}=ue(i,n),l=D(a=>{var x;return(x=a.session)==null?void 0:x.address}),g=ge(a=>a.items),E=p.useMemo(()=>new Set(g.map(fe)),[g]),$=be(i.thumbnailHash),[m,T]=p.useState("avatar"),[Y,Q]=p.useState(P.PreviewRenderer.UNITY),J=Y===P.PreviewRenderer.BABYLON&&!!$,S=p.useRef(null);p.useEffect(()=>{S.current!==i.id&&(S.current=i.id,ve("Shop Outfit Viewed",{outfit_id:i.id,item_count:i.items.length}))},[i.id,i.items.length]);const I=p.useMemo(()=>i.items.map(a=>{const x=ye(a),C=n.byKey.get(x)??null;return{key:x,item:C,state:C?je(C,{address:l,cartKeys:E}):"missing"}}),[i,n.byKey,l,E]),{data:X,isFetched:Z}=we(l),ee=!l||Z,A=!!l&&!!X,te=A?l:"default",ie=i.bodyShape==="female"?ke:i.bodyShape==="male"?$e:void 0,N=p.useMemo(()=>I.map(a=>a.item?Ie(a.item):null).filter(a=>!!a),[I]),ae=i.items.length,se=!n.isLoading&&!n.isError,f=d.purchasable.length;return e.jsxs(V,{"data-testid":"outfit-detail",children:[e.jsxs(Re,{"aria-label":s("outfits.detail.breadcrumbAria"),children:[e.jsx(B,{to:"/overview",children:s("nav.overview")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(B,{to:"/overview",children:s("outfits.detail.breadcrumbLooks")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(We,{children:i.name})]}),e.jsxs(q,{children:[e.jsxs(G,{"data-testid":"outfit-detail-preview",style:{background:Ce(i)},children:[$&&(m==="item"||!n.isLoading&&N.length===0)?e.jsx(Be,{src:$,alt:i.name}):e.jsx(Pe,{id:ot,profile:te,bodyShape:A?void 0:ie,urns:N,enabled:ee&&!n.isLoading,onRenderer:Q}),J?e.jsxs(Fe,{"data-preview-toggle":!0,"data-testid":"outfit-detail-toggle",role:"group","aria-label":s("itemPreview.previewMode"),children:[e.jsxs(O,{type:"button","data-active":m==="avatar"||void 0,"aria-pressed":m==="avatar","aria-label":s("itemPreview.onAvatar"),onClick:()=>T("avatar"),children:[e.jsx(R,{name:"view-avatar",size:18}),e.jsx(W,{children:s("itemPreview.onAvatar")})]}),e.jsxs(O,{type:"button","data-active":m==="item"||void 0,"aria-pressed":m==="item","aria-label":s("itemPreview.item"),onClick:()=>T("item"),children:[e.jsx(R,{name:"view-item",size:18}),e.jsx(W,{children:s("itemPreview.item")})]})]}):null]}),e.jsxs(U,{children:[e.jsx(Me,{children:i.name}),e.jsx(_e,{"data-testid":"outfit-detail-meta",children:s("outfits.detail.itemsCount",{count:ae})}),n.isError?e.jsxs(Xe,{children:[e.jsx(H,{message:s("outfits.detail.resolveError"),testId:"outfit-detail-resolve-error"}),e.jsx(j,{variant:"outline","data-testid":"outfit-detail-retry",onClick:n.retry,children:s("outfits.detail.retry")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(Ke,{children:[e.jsx(De,{children:I.map(a=>e.jsx(He,{"data-testid":"outfit-detail-item","data-state":a.state,children:a.item?e.jsxs(e.Fragment,{children:[e.jsx(Ve,{to:`/item/${a.item.contractAddress}/${a.item.itemId}`,state:{item:a.item},"aria-label":a.item.name}),e.jsx(qe,{src:a.item.thumbnail,alt:"",loading:"lazy"}),e.jsxs(M,{children:[e.jsx(L,{children:a.item.name}),a.item.creator?e.jsx(Ue,{to:`/items/creator/${a.item.creator}`,children:e.jsx(ze,{address:a.item.creator})}):null,e.jsxs(_,{children:[a.state!=="unavailable"?e.jsxs(Ye,{children:[e.jsx(z,{size:15}),a.item.priceCredits.toLocaleString()]}):null,a.state==="unavailable"?e.jsx(b,{children:s("outfits.card.unavailable")}):a.state==="own_listing"?e.jsx(b,{children:s("outfits.detail.yourListing")}):a.state==="in_cart"?e.jsx(b,{children:s("outfits.detail.inCart")}):null,e.jsx(lt,{item:a.item})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(Ge,{className:n.isLoading?"skeleton":void 0,"aria-hidden":!0}),e.jsx(M,{children:n.isLoading?e.jsx(L,{children:e.jsx("span",{className:"skeleton",style:{display:"block",width:"70%",height:14}})}):e.jsxs(e.Fragment,{children:[e.jsx(L,{className:"muted",children:s("outfits.card.unavailable")}),e.jsx(_,{children:e.jsx(b,{children:s("outfits.card.unavailable")})})]})})]})},a.key))}),se&&d.ownListing.length>0?e.jsx(Je,{className:"muted small",children:s("outfits.detail.yourListingHint")}):null]}),e.jsxs(Ze,{"data-testid":"outfit-detail-ctabar",children:[e.jsxs(et,{children:[e.jsx(tt,{children:s("outfits.detail.totalPrice")}),n.isLoading?e.jsx("span",{className:"skeleton",style:{width:64,height:26},"aria-hidden":!0}):e.jsxs(it,{children:[e.jsx(z,{size:22}),c.toLocaleString()]})]}),n.isLoading?e.jsx("span",{className:"skeleton",style:{width:"100%",height:52,borderRadius:26},"aria-hidden":!0}):e.jsxs(at,{variant:"purple","data-testid":"outfit-detail-cta",onClick:k,disabled:h||f===0,"aria-busy":h||void 0,children:[h?s("outfits.card.adding"):f>0?s("outfits.detail.addCount",{count:f}):u>0?s("outfits.detail.nothingToAdd"):s("outfits.card.unavailable"),!h&&f>0?e.jsxs(st,{children:[e.jsx(z,{size:16}),c.toLocaleString()]}):null]})]})]})]})]})]})}export{yt as OutfitDetail,yt as default};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{r as n,j as r}from"./react-DehiWSvs.js";import{d as p}from"./dcl-schemas-Dr9BTjb7.js";import{s as h,L as b,c as P,a4 as R,b as A}from"./index-CEec1iYe.js";import{u as O,d as F}from"./disposePreview-DIA1G1eQ.js";const I=h.div`
|
|
2
|
-
position: absolute;
|
|
3
|
-
inset: 0;
|
|
4
|
-
display: grid;
|
|
5
|
-
place-items: center;
|
|
6
|
-
`;function N({id:u,profile:i,bodyShape:m,urns:e,enabled:c=!0,onRenderer:v,skin:d,hair:l,eyes:f}){const g=b(s=>s.fittingOpen),{ref:w,active:x}=O(),t=c&&e.length>0&&x&&!g,y=e.length>0?e[0].includes(":amoy:"):P.chainId===80002,[E,a]=n.useState(!1),j=e.join(",");n.useEffect(()=>{a(!1)},[j,i,d,l,f]),n.useEffect(()=>{t&&a(!1)},[t]);const o=n.useRef(null);return n.useEffect(()=>{if(t)return()=>{F(o.current),o.current=null}},[t]),r.jsxs(r.Fragment,{children:[r.jsx("div",{ref:w,"data-preview-viewport":!0,"aria-hidden":!0}),t?r.jsx(R,{id:u,profile:i,bodyShape:m,urns:e,skin:d,hair:l,eyes:f,type:p.PreviewType.AVATAR,emote:p.PreviewEmote.FASHION,disableBackground:!0,disableFadeEffect:!0,dev:y,unity:!0,onRenderer:v,onLoad:()=>{var s;a(!0),o.current=((s=document.getElementById(u))==null?void 0:s.contentWindow)??null}},i):null,c&&e.length===0?null:!t||!E?r.jsx(I,{"aria-busy":"true","aria-label":A("spinner.loading"),children:r.jsx("span",{className:"spinner","aria-hidden":!0})}):null]})}export{N as O};
|