@0xsequence/marketplace-sdk 1.0.0 → 1.1.1
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/.changeset/honest-peas-arrive.md +5 -0
- package/.changeset/real-tips-stick.md +8 -0
- package/.changeset/tall-pandas-wear.md +8 -0
- package/.storybook/main.ts +1 -1
- package/.storybook/preview.tsx +0 -1
- package/CHANGELOG.md +84 -13
- package/dist/BellIcon-ByhygxBO.js +45 -0
- package/dist/BellIcon-ByhygxBO.js.map +1 -0
- package/dist/{BellIcon-Cb9YEUzJ.js → CartIcon-Bt3rQYGk.js} +10 -49
- package/dist/CartIcon-Bt3rQYGk.js.map +1 -0
- package/dist/CollectibleCard-CVpdgXA8.d.ts +8 -0
- package/dist/{_internal-DslqcNC1.js → _internal-DkS2VUn5.js} +1 -1
- package/dist/{_internal-DslqcNC1.js.map → _internal-DkS2VUn5.js.map} +1 -1
- package/dist/abi-fa-o9gH3.js +134 -0
- package/dist/abi-fa-o9gH3.js.map +1 -0
- package/dist/{alien_swap-DJ98gZQp.js → alien_swap-DoY6XfMA.js} +1 -1
- package/dist/{alien_swap-DJ98gZQp.js.map → alien_swap-DoY6XfMA.js.map} +1 -1
- package/dist/{api-BmEQfSQa.js → api-BoO0V5aJ.js} +11 -4
- package/dist/api-BoO0V5aJ.js.map +1 -0
- package/dist/{aqua-xyz-n1PcCCZ0.js → aqua-xyz-BBDxnG14.js} +1 -1
- package/dist/{aqua-xyz-n1PcCCZ0.js.map → aqua-xyz-BBDxnG14.js.map} +1 -1
- package/dist/{aura-Bevk_YkS.js → aura-DGx2zwvF.js} +1 -1
- package/dist/{aura-Bevk_YkS.js.map → aura-DGx2zwvF.js.map} +1 -1
- package/dist/{blur-B5sHErx5.js → blur-D8GKrRrq.js} +1 -1
- package/dist/{blur-B5sHErx5.js.map → blur-D8GKrRrq.js.map} +1 -1
- package/dist/builder-api-BFuZNOaN.js.map +1 -1
- package/dist/builder.gen-B9wR2nvF.js.map +1 -1
- package/dist/{coinbase-D30W-lxA.js → coinbase-DOry4PXY.js} +1 -1
- package/dist/{coinbase-D30W-lxA.js.map → coinbase-DOry4PXY.js.map} +1 -1
- package/dist/collectibles-C_H8jMGH.js +358 -0
- package/dist/collectibles-C_H8jMGH.js.map +1 -0
- package/dist/collections-CKummc-R.js +249 -0
- package/dist/collections-CKummc-R.js.map +1 -0
- package/dist/components-CosnX7F9.js +119 -0
- package/dist/components-CosnX7F9.js.map +1 -0
- package/dist/{contracts-DPHFT2TA.js → contracts-BP_0vX48.js} +4 -5
- package/dist/{contracts-DPHFT2TA.js.map → contracts-BP_0vX48.js.map} +1 -1
- package/dist/{create-config-6uynwTeb.js → create-config-CIfejoCk.js} +6 -11
- package/dist/create-config-CIfejoCk.js.map +1 -0
- package/dist/{create-config-lLSrnkbb.d.ts → create-config-ZOB7i4ZJ.d.ts} +135 -37
- package/dist/{element-C2NJexro.js → element-ciybd_VF.js} +1 -1
- package/dist/{element-C2NJexro.js.map → element-ciybd_VF.js.map} +1 -1
- package/dist/filters-V-V8Dn8f.d.ts +60 -0
- package/dist/{foundation-QgY1lvUj.js → foundation-Bq4lRz4x.js} +1 -1
- package/dist/{foundation-QgY1lvUj.js.map → foundation-Bq4lRz4x.js.map} +1 -1
- package/dist/index-BOiHR01C.d.ts +106 -0
- package/dist/index-BZIJTQT0.d.ts +121 -0
- package/dist/index-BeRV-7AX.d.ts +55 -0
- package/dist/{index-DonXiSg2.d.ts → index-Bsx6XsC2.d.ts} +117 -70
- package/dist/{index-BGJXqdg6.d.ts → index-BtWMBHeP.d.ts} +13 -9
- package/dist/{index-CtF7EE2z.d.ts → index-Bxzjy0d1.d.ts} +1 -1
- package/dist/{index-ChSKFOMx.d.ts → index-C-745li7.d.ts} +1 -1
- package/dist/{index-CY5UEX4h.d.ts → index-C4MUKshG.d.ts} +2 -2
- package/dist/{index-C7xKVIr4.d.ts → index-CPzvNmq9.d.ts} +37 -37
- package/dist/{index-ByW08-Z7.d.ts → index-CS65jqOq.d.ts} +2 -2
- package/dist/index-CZUtOTjh.d.ts +1 -0
- package/dist/index-CnEbXm_t.d.ts +130 -0
- package/dist/{index-ThUIs-Sy.d.ts → index-CxA34wP1.d.ts} +37 -23
- package/dist/{index-CIkpYltz.d.ts → index-CxpFwGvR.d.ts} +3 -3
- package/dist/{index-QxxS6f9r.d.ts → index-D9LPlmbC.d.ts} +1 -1
- package/dist/{index-CQnGIGb5.d.ts → index-DFEnA6Wa.d.ts} +44 -33
- package/dist/{index-PSPpUxCE.d.ts → index-DNNUeZEq.d.ts} +4 -4
- package/dist/{index-Dpyp7fQz.d.ts → index-DUXfvhxs.d.ts} +12 -12
- package/dist/index-DW3njUfb.d.ts +1 -0
- package/dist/index-DWt6yrIG.d.ts +64 -0
- package/dist/index-DewGsFz5.d.ts +1 -0
- package/dist/index-DmudgrsN.d.ts +495 -0
- package/dist/{index-DNU9xoGK.d.ts → index-DqXd1EeB.d.ts} +5 -5
- package/dist/{index-DX0Vm8HY.d.ts → index-DwKr18CI.d.ts} +1 -1
- package/dist/{index-D71J5Ghd.d.ts → index-NlPMNcqh.d.ts} +99 -99
- package/dist/index-Stm5u0I0.d.ts +53 -0
- package/dist/index-U-zp70of.d.ts +74 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +13 -12
- package/dist/inventory-Dd7TazvZ.js +72 -0
- package/dist/inventory-Dd7TazvZ.js.map +1 -0
- package/dist/listBalances-BxpxBCvn.js +57 -0
- package/dist/listBalances-BxpxBCvn.js.map +1 -0
- package/dist/listCollectiblesPaginated-Cy2_qEZA.d.ts +327 -0
- package/dist/{listCollections-Bbzbz7qW.d.ts → listCollections-BB9FxKj2.d.ts} +264 -137
- package/dist/{looks-rare-CMVPny4v.js → looks-rare-6H--x3AM.js} +1 -1
- package/dist/{looks-rare-CMVPny4v.js.map → looks-rare-6H--x3AM.js.map} +1 -1
- package/dist/lowestListing-Cbsi6M1K.d.ts +465 -0
- package/dist/{magic-eden-IrWp2ZXk.js → magic-eden-BoxEQ1Li.js} +1 -1
- package/dist/{magic-eden-IrWp2ZXk.js.map → magic-eden-BoxEQ1Li.js.map} +1 -1
- package/dist/{manifold-DeOE-p2G.js → manifold-DycKsljb.js} +1 -1
- package/dist/{manifold-DeOE-p2G.js.map → manifold-DycKsljb.js.map} +1 -1
- package/dist/market-C3HV-awQ.js +209 -0
- package/dist/market-C3HV-awQ.js.map +1 -0
- package/dist/{marketCurrencies-CmOMCCOr.d.ts → marketCurrencies-Bpw1bIO0.d.ts} +46 -15
- package/dist/marketCurrencies-sKrTX0og.js +53 -0
- package/dist/marketCurrencies-sKrTX0og.js.map +1 -0
- package/dist/{marketplace-B5Z8G03R.js → marketplace-NQB-sEQL.js} +1 -1
- package/dist/{marketplace-B5Z8G03R.js.map → marketplace-NQB-sEQL.js.map} +1 -1
- package/dist/{marketplace-logos-D8t86gsW.js → marketplace-logos-D4dS1Foy.js} +21 -21
- package/dist/marketplace-logos-D4dS1Foy.js.map +1 -0
- package/dist/{marketplace.gen-JzNYpM0U.js → marketplace.gen-ksUafDqS.js} +56 -5
- package/dist/marketplace.gen-ksUafDqS.js.map +1 -0
- package/dist/{marketplaceConfig-sNh-MA5M.js → marketplaceConfig-UHQMM9fq.js} +9 -10
- package/dist/marketplaceConfig-UHQMM9fq.js.map +1 -0
- package/dist/{mintify-DG3GrljJ.js → mintify-Dyqyo8jQ.js} +1 -1
- package/dist/{mintify-DG3GrljJ.js.map → mintify-Dyqyo8jQ.js.map} +1 -1
- package/dist/{network-DnBEe1Ur.js → network-DtmiMhcg.js} +2 -2
- package/dist/network-DtmiMhcg.js.map +1 -0
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js +15 -0
- package/dist/networkconfigToWagmiChain-DbUf6HiO.js.map +1 -0
- package/dist/{nftx-B3LH-ZYM.js → nftx-2LbFjj9Q.js} +1 -1
- package/dist/{nftx-B3LH-ZYM.js.map → nftx-2LbFjj9Q.js.map} +1 -1
- package/dist/{okx-CRFLrT3Z.js → okx-CBEWJNsR.js} +1 -1
- package/dist/{okx-CRFLrT3Z.js.map → okx-CBEWJNsR.js.map} +1 -1
- package/dist/{open-sea-cOpfl366.js → open-sea-Dxntz_PA.js} +1 -1
- package/dist/{open-sea-cOpfl366.js.map → open-sea-Dxntz_PA.js.map} +1 -1
- package/dist/orders-DnFfZAXV.js +462 -0
- package/dist/orders-DnFfZAXV.js.map +1 -0
- package/dist/{primary-sale-CLjXRrDj.js → primary-sale-1u4QlPdA.js} +1 -1
- package/dist/{primary-sale-CLjXRrDj.js.map → primary-sale-1u4QlPdA.js.map} +1 -1
- package/dist/primary-sales-Dmsi6bqj.js +114 -0
- package/dist/primary-sales-Dmsi6bqj.js.map +1 -0
- package/dist/{query-BTe7Wkrs.d.ts → query-BWbCsXLY.d.ts} +1 -1
- package/dist/{rarible-guwUx4cn.js → rarible-CS0SupHr.js} +1 -1
- package/dist/{rarible-guwUx4cn.js.map → rarible-CS0SupHr.js.map} +1 -1
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +5 -5
- package/dist/react/_internal/databeat/index.d.ts +1 -1
- package/dist/react/_internal/databeat/index.js +35 -21
- package/dist/react/_internal/index.d.ts +2 -2
- package/dist/react/_internal/index.js +9 -8
- package/dist/react/_internal/wagmi/index.d.ts +1 -1
- package/dist/react/_internal/wagmi/index.js +4 -3
- package/dist/react/hooks/config/index.d.ts +8 -8
- package/dist/react/hooks/config/index.js +35 -21
- package/dist/react/hooks/contracts/index.d.ts +6 -6
- package/dist/react/hooks/contracts/index.js +13 -12
- package/dist/react/hooks/data/collectibles/index.d.ts +10 -4
- package/dist/react/hooks/data/collectibles/index.js +35 -21
- package/dist/react/hooks/data/collections/index.d.ts +10 -10
- package/dist/react/hooks/data/collections/index.js +35 -21
- package/dist/react/hooks/data/index.d.ts +37 -29
- package/dist/react/hooks/data/index.js +36 -22
- package/dist/react/hooks/data/inventory/index.d.ts +36 -28
- package/dist/react/hooks/data/inventory/index.js +35 -21
- package/dist/react/hooks/data/market/index.d.ts +11 -11
- package/dist/react/hooks/data/market/index.js +35 -21
- package/dist/react/hooks/data/orders/index.d.ts +11 -11
- package/dist/react/hooks/data/orders/index.js +36 -22
- package/dist/react/hooks/data/primary-sales/index.d.ts +36 -28
- package/dist/react/hooks/data/primary-sales/index.js +35 -21
- package/dist/react/hooks/data/tokens/index.d.ts +4 -4
- package/dist/react/hooks/data/tokens/index.js +35 -21
- package/dist/react/hooks/index.d.ts +37 -29
- package/dist/react/hooks/index.js +36 -22
- package/dist/react/hooks/transactions/index.d.ts +2 -2
- package/dist/react/hooks/transactions/index.js +35 -21
- package/dist/react/hooks/ui/index.d.ts +4 -4
- package/dist/react/hooks/ui/index.js +35 -21
- package/dist/react/hooks/utils/index.d.ts +37 -29
- package/dist/react/hooks/utils/index.js +36 -22
- package/dist/react/index.d.ts +37 -29
- package/dist/react/index.js +36 -22
- package/dist/react/queries/collectibles/index.d.ts +11 -0
- package/dist/react/queries/collectibles/index.js +23 -0
- package/dist/react/queries/collections/index.d.ts +11 -0
- package/dist/react/queries/collections/index.js +20 -0
- package/dist/react/queries/index.d.ts +24 -16
- package/dist/react/queries/index.js +29 -17
- package/dist/react/queries/inventory/index.d.ts +3 -0
- package/dist/react/queries/inventory/index.js +22 -0
- package/dist/react/queries/market/index.d.ts +6 -0
- package/dist/react/queries/market/index.js +22 -0
- package/dist/react/queries/orders/index.d.ts +11 -0
- package/dist/react/queries/orders/index.js +13 -0
- package/dist/react/queries/primary-sales/index.d.ts +4 -0
- package/dist/react/queries/primary-sales/index.js +13 -0
- package/dist/react/queries/tokens/index.d.ts +5 -0
- package/dist/react/queries/tokens/index.js +14 -0
- package/dist/react/queries/utils/index.d.ts +4 -0
- package/dist/react/queries/utils/index.js +22 -0
- package/dist/react/ssr/index.d.ts +7 -7
- package/dist/react/ssr/index.js +9 -8
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +3 -0
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +22 -0
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +54 -0
- package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +40 -0
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +5 -5
- package/dist/react/ui/components/marketplace-collectible-card/index.js +35 -21
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +9 -8
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +13 -11
- package/dist/react/ui/index.d.ts +5 -5
- package/dist/react/ui/index.js +35 -21
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +35 -21
- package/dist/react/utils/index.d.ts +3 -3
- package/dist/react/utils/index.js +5 -5
- package/dist/{react-Ceq8mamy.js → react-DE852KeT.js} +2111 -1002
- package/dist/react-DE852KeT.js.map +1 -0
- package/dist/{sequence-Dt2Xo7Fa.js → sequence-paCCener.js} +1 -1
- package/dist/{sequence-Dt2Xo7Fa.js.map → sequence-paCCener.js.map} +1 -1
- package/dist/styles/index.css +200 -24
- package/dist/{sudo-swap-CGoARONs.js → sudo-swap-9rH2EgfT.js} +1 -1
- package/dist/{sudo-swap-CGoARONs.js.map → sudo-swap-9rH2EgfT.js.map} +1 -1
- package/dist/{super-rare-NeQtZjcn.js → super-rare-DHIuWtRw.js} +1 -1
- package/dist/{super-rare-NeQtZjcn.js.map → super-rare-DHIuWtRw.js.map} +1 -1
- package/dist/{token-D9gZVqbX.js → token-Cv7l2ZaL.js} +1 -1
- package/dist/{token-D9gZVqbX.js.map → token-Cv7l2ZaL.js.map} +1 -1
- package/dist/tokenBalances-ibDerNmM.js +63 -0
- package/dist/tokenBalances-ibDerNmM.js.map +1 -0
- package/dist/tokenSupplies-Bfe8RHzI.d.ts +272 -0
- package/dist/tokens-cGxMadd8.js +194 -0
- package/dist/tokens-cGxMadd8.js.map +1 -0
- package/dist/{transaction-CC2KxNF6.js → transaction-DZUW5RHu.js} +2 -8
- package/dist/transaction-DZUW5RHu.js.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/{types-G2PWxiJR.js → types-B_-cnkcP.js} +1 -1
- package/dist/types-B_-cnkcP.js.map +1 -0
- package/dist/{types-BlCa0TVE.d.ts → types-D2TJ1dwv.d.ts} +19 -10
- package/dist/utils/abi/index.d.ts +5 -5
- package/dist/utils/abi/index.js +5 -5
- package/dist/utils/abi/marketplace/index.d.ts +1 -1
- package/dist/utils/abi/marketplace/index.js +1 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1 -1
- package/dist/utils/abi/primary-sale/index.js +1 -1
- package/dist/utils/abi/token/index.d.ts +1 -1
- package/dist/utils/abi/token/index.js +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +12 -11
- package/dist/utils-BCgNhBFR.js +112 -0
- package/dist/utils-BCgNhBFR.js.map +1 -0
- package/dist/{utils-CKJd-CRf.js → utils-BfpDVibN.js} +7 -24
- package/dist/utils-BfpDVibN.js.map +1 -0
- package/dist/{utils-wquIhK6T.js → utils-BqxcalL2.js} +2 -2
- package/dist/utils-BqxcalL2.js.map +1 -0
- package/dist/waitForTransactionReceipt-DieAnV52.js +25 -0
- package/dist/waitForTransactionReceipt-DieAnV52.js.map +1 -0
- package/dist/{x2y2-CQdg24VP.js → x2y2-45WDooeh.js} +1 -1
- package/dist/{x2y2-CQdg24VP.js.map → x2y2-45WDooeh.js.map} +1 -1
- package/dist/{zora-DdEydy4L.js → zora-CbeBoLvQ.js} +1 -1
- package/dist/{zora-DdEydy4L.js.map → zora-CbeBoLvQ.js.map} +1 -1
- package/package.json +43 -38
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +2 -0
- package/src/react/_internal/api/marketplace.gen.ts +1730 -2383
- package/src/react/_internal/api/query-keys.ts +16 -0
- package/src/react/_internal/api/services.ts +1 -1
- package/src/react/_internal/databeat/types.ts +1 -0
- package/src/react/_internal/types.ts +14 -0
- package/src/react/_internal/utils.ts +3 -0
- package/src/react/_internal/wagmi/__tests__/create-config.test.ts +19 -8
- package/src/react/_internal/wagmi/create-config.ts +6 -17
- package/src/react/hooks/config/__snapshots__/useMarketplaceConfig.test.tsx.snap +4 -4
- package/src/react/hooks/config/useMarketplaceConfig.tsx +1 -1
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.laos.test.tsx +2 -2
- package/src/react/hooks/data/collectibles/useBalanceOfCollectible.tsx +1 -1
- package/src/react/hooks/data/collectibles/useCollectible.tsx +1 -1
- package/src/react/hooks/data/collectibles/useCountOfCollectables.tsx +1 -1
- package/src/react/hooks/data/collectibles/useListCollectibleActivities.tsx +1 -1
- package/src/react/hooks/data/collectibles/useListCollectibles.tsx +1 -1
- package/src/react/hooks/data/collectibles/useListCollectiblesPaginated.tsx +1 -1
- package/src/react/hooks/data/collectibles/useTokenBalances.test.tsx +151 -0
- package/src/react/hooks/data/collectibles/useTokenBalances.tsx +47 -0
- package/src/react/hooks/data/collections/__snapshots__/useListCollections.test.tsx.snap +6 -6
- package/src/react/hooks/data/collections/useCollection.tsx +1 -1
- package/src/react/hooks/data/collections/useCollectionBalanceDetails.tsx +1 -1
- package/src/react/hooks/data/collections/useCollectionDetails.ts +1 -1
- package/src/react/hooks/data/collections/useListCollectionActivities.tsx +1 -1
- package/src/react/hooks/data/collections/useListCollections.tsx +1 -1
- package/src/react/hooks/data/inventory/useInventory.test.tsx +3 -98
- package/src/react/hooks/data/inventory/useInventory.tsx +3 -3
- package/src/react/hooks/data/market/useCurrency.tsx +1 -1
- package/src/react/hooks/data/market/useListMarketCardData.tsx +8 -1
- package/src/react/hooks/data/market/useMarketCurrencies.tsx +1 -1
- package/src/react/hooks/data/orders/index.ts +4 -0
- package/src/react/hooks/data/orders/useCountItemsOrdersForCollection.tsx +90 -0
- package/src/react/hooks/data/orders/useCountListingsForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useCountOffersForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useFloorOrder.tsx +1 -1
- package/src/react/hooks/data/orders/useGetCountOfFilteredOrders.tsx +39 -0
- package/src/react/hooks/data/orders/useHighestOffer.tsx +1 -1
- package/src/react/hooks/data/orders/useListItemsOrdersForCollection.tsx +93 -0
- package/src/react/hooks/data/orders/useListItemsOrdersForCollectionPaginated.tsx +108 -0
- package/src/react/hooks/data/orders/useListListingsForCollectible.tsx +1 -1
- package/src/react/hooks/data/orders/useListOffersForCollectible.tsx +70 -45
- package/src/react/hooks/data/orders/useLowestListing.tsx +1 -1
- package/src/react/hooks/data/primary-sales/useGetCountOfPrimarySaleItems.tsx +2 -2
- package/src/react/hooks/data/primary-sales/useList1155ShopCardData.tsx +21 -37
- package/src/react/hooks/data/primary-sales/useList721ShopCardData.tsx +14 -3
- package/src/react/hooks/data/primary-sales/useListPrimarySaleItems.tsx +1 -1
- package/src/react/hooks/data/tokens/useGetTokenRanges.tsx +2 -2
- package/src/react/hooks/data/tokens/useListBalances.tsx +2 -2
- package/src/react/hooks/data/tokens/useListTokenMetadata.tsx +1 -1
- package/src/react/hooks/data/tokens/useSearchTokenMetadata.tsx +5 -2
- package/src/react/hooks/data/tokens/useTokenSupplies.ts +1 -1
- package/src/react/hooks/transactions/useCancelOrder.test.tsx +7 -4
- package/src/react/hooks/transactions/useCancelOrder.tsx +2 -1
- package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +2 -2
- package/src/react/hooks/transactions/useGenerateCancelTransaction.test.tsx +1 -0
- package/src/react/hooks/transactions/useGenerateListingTransaction.test.tsx +13 -0
- package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +1 -0
- package/src/react/hooks/transactions/useGenerateSellTransaction.test.tsx +6 -0
- package/src/react/hooks/transactions/useProcessStep.test.tsx +2 -2
- package/src/react/hooks/ui/useFilterState.tsx +72 -2
- package/src/react/hooks/ui/useFilters.tsx +1 -1
- package/src/react/hooks/utils/__tests__/useEnsureCorrectChain.test.tsx +75 -0
- package/src/react/hooks/utils/index.ts +0 -1
- package/src/react/hooks/utils/useCheckoutOptions.tsx +2 -2
- package/src/react/hooks/utils/useCheckoutOptionsSalesContract.tsx +1 -1
- package/src/react/hooks/utils/useComparePrices.tsx +1 -1
- package/src/react/hooks/utils/useConvertPriceToUSD.tsx +1 -1
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +31 -34
- package/src/react/providers/analytics-provider.tsx +45 -0
- package/src/react/providers/index.tsx +33 -46
- package/src/react/providers/modal-provider.tsx +15 -4
- package/src/react/queries/{__tests__ → collectibles/__tests__}/balanceOfCollectible.laos.test.ts +4 -4
- package/src/react/queries/collectibles/__tests__/tokenBalances.laos.test.ts +123 -0
- package/src/react/queries/{balanceOfCollectible.ts → collectibles/balanceOfCollectible.ts} +26 -4
- package/src/react/queries/{collectible.ts → collectibles/collectible.ts} +20 -5
- package/src/react/queries/{countOfCollectables.ts → collectibles/countOfCollectables.ts} +32 -6
- package/src/react/queries/collectibles/index.ts +7 -0
- package/src/react/queries/{listCollectibleActivities.ts → collectibles/listCollectibleActivities.ts} +29 -5
- package/src/react/queries/{listCollectibles.ts → collectibles/listCollectibles.ts} +47 -54
- package/src/react/queries/{listCollectiblesPaginated.ts → collectibles/listCollectiblesPaginated.ts} +22 -5
- package/src/react/queries/collectibles/tokenBalances.ts +103 -0
- package/src/react/queries/{collection.ts → collections/collection.ts} +19 -5
- package/src/react/queries/{collectionBalanceDetails.ts → collections/collectionBalanceDetails.ts} +19 -4
- package/src/react/queries/{collectionDetails.ts → collections/collectionDetails.ts} +21 -6
- package/src/react/queries/collections/index.ts +5 -0
- package/src/react/queries/{listCollectionActivities.ts → collections/listCollectionActivities.ts} +28 -6
- package/src/react/queries/{listCollections.ts → collections/listCollections.ts} +26 -18
- package/src/react/queries/index.ts +7 -33
- package/src/react/queries/{__tests__ → inventory/__tests__}/inventory.laos.test.ts +10 -7
- package/src/react/queries/inventory/index.ts +1 -0
- package/src/react/queries/inventory/inventory.ts +169 -0
- package/src/react/queries/{checkoutOptions.ts → market/checkoutOptions.ts} +28 -6
- package/src/react/queries/{checkoutOptionsSalesContract.ts → market/checkoutOptionsSalesContract.ts} +24 -5
- package/src/react/queries/{currency.ts → market/currency.ts} +13 -4
- package/src/react/queries/{filters.ts → market/filters.ts} +48 -34
- package/src/react/queries/market/index.ts +6 -0
- package/src/react/queries/{marketCurrencies.ts → market/marketCurrencies.ts} +24 -5
- package/src/react/queries/{marketplaceConfig.ts → market/marketplaceConfig.ts} +11 -7
- package/src/react/queries/orders/countItemsOrdersForCollection.ts +86 -0
- package/src/react/queries/{countListingsForCollectible.ts → orders/countListingsForCollectible.ts} +23 -6
- package/src/react/queries/{countOffersForCollectible.ts → orders/countOffersForCollectible.ts} +23 -6
- package/src/react/queries/{floorOrder.ts → orders/floorOrder.ts} +15 -4
- package/src/react/queries/orders/getCountOfFilteredOrders.ts +88 -0
- package/src/react/queries/{highestOffer.ts → orders/highestOffer.ts} +16 -4
- package/src/react/queries/orders/index.ts +11 -0
- package/src/react/queries/orders/listItemsOrdersForCollection.ts +90 -0
- package/src/react/queries/orders/listItemsOrdersForCollectionPaginated.ts +90 -0
- package/src/react/queries/{listListingsForCollectible.ts → orders/listListingsForCollectible.ts} +20 -5
- package/src/react/queries/orders/listOffersForCollectible.ts +116 -0
- package/src/react/queries/{lowestListing.ts → orders/lowestListing.ts} +16 -4
- package/src/react/queries/{countOfPrimarySaleItems.ts → primary-sales/countOfPrimarySaleItems.ts} +17 -3
- package/src/react/queries/primary-sales/index.ts +3 -0
- package/src/react/queries/{primarySaleItems.ts → primary-sales/primarySaleItems.ts} +18 -4
- package/src/react/queries/{primarySaleItemsCount.ts → primary-sales/primarySaleItemsCount.ts} +19 -4
- package/src/react/queries/{getTokenRanges.ts → tokens/getTokenRanges.ts} +17 -4
- package/src/react/queries/tokens/index.ts +5 -0
- package/src/react/queries/{listBalances.ts → tokens/listBalances.ts} +18 -3
- package/src/react/queries/{listTokenMetadata.ts → tokens/listTokenMetadata.ts} +18 -4
- package/src/react/queries/{searchTokenMetadata.ts → tokens/searchTokenMetadata.ts} +18 -4
- package/src/react/queries/{tokenSupplies.ts → tokens/tokenSupplies.ts} +16 -4
- package/src/react/queries/{comparePrices.ts → utils/comparePrices.ts} +16 -4
- package/src/react/queries/{convertPriceToUSD.ts → utils/convertPriceToUSD.ts} +18 -5
- package/src/react/queries/utils/index.ts +2 -0
- package/src/react/ssr/__tests__/__snapshots__/create-ssr-client.test.ts.snap +4 -4
- package/src/react/ssr/create-ssr-client.ts +1 -1
- package/src/react/ui/components/_internals/ErrorLogBox.tsx +85 -0
- package/src/react/ui/components/_internals/action-button/ActionButton.stories.tsx +8 -8
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +10 -9
- package/src/react/ui/components/_internals/action-button/__tests__/NonOwnerActions.test.tsx +4 -4
- package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +10 -6
- package/src/react/ui/components/_internals/custom-select/__tests__/CustomSelect.test.tsx +1 -1
- package/src/react/ui/components/marketplace-collectible-card/CollectibleCard.tsx +4 -3
- package/src/react/ui/components/marketplace-collectible-card/CollectibleCardSkeleton.tsx +13 -2
- package/src/react/ui/components/marketplace-collectible-card/components/ActionButtonWrapper.tsx +7 -7
- package/src/react/ui/components/marketplace-collectible-card/components/BaseCard.tsx +14 -5
- package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +179 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/FooterName.tsx +103 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/PriceDisplay.tsx +80 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/SaleDetailsPill.tsx +29 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/TokenTypeBalancePill.tsx +30 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/components/index.ts +4 -0
- package/src/react/ui/components/marketplace-collectible-card/components/footer/index.ts +2 -0
- package/src/react/ui/components/marketplace-collectible-card/types.ts +19 -6
- package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +14 -23
- package/src/react/ui/components/marketplace-collectible-card/variants/NonTradableInventoryCard.tsx +42 -0
- package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +17 -12
- package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +10 -10
- package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +3 -3
- package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx.bak +3 -3
- package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +6 -6
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +3 -3
- package/src/react/ui/modals/BuyModal/components/BuyModalRouter.tsx +5 -5
- package/src/react/ui/modals/BuyModal/components/ERC1155BuyModal.tsx +67 -5
- package/src/react/ui/modals/BuyModal/components/ERC1155QuantityModal.tsx +8 -8
- package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +2 -2
- package/src/react/ui/modals/BuyModal/components/ERC721BuyModal.tsx +31 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC721SalePaymentParams.test.tsx +20 -1
- package/src/react/ui/modals/BuyModal/hooks/useERC1155Checkout.ts +20 -4
- package/src/react/ui/modals/BuyModal/hooks/useERC721SalePaymentParams.ts +12 -3
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +11 -2
- package/src/react/ui/modals/BuyModal/store.ts +9 -6
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +63 -24
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +4 -0
- package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +20 -13
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +4 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +2 -1
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +141 -96
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +10 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +4 -1
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +17 -27
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +2 -1
- package/src/react/ui/modals/SellModal/Modal.tsx +21 -3
- package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +2 -0
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +5 -2
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +15 -8
- package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +9 -0
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.test.tsx +20 -9
- package/src/react/ui/modals/_internal/components/calendarDropdown/TimeSelector.tsx +105 -0
- package/src/react/ui/modals/_internal/components/calendarDropdown/index.tsx +45 -12
- package/src/react/ui/modals/_internal/components/calendarDropdown/overrides.css +39 -0
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +31 -10
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +18 -9
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +53 -3
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/__tests__/SwitchChainErrorModal.test.tsx +80 -0
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/index.tsx +64 -0
- package/src/react/ui/modals/_internal/components/switchChainErrorModal/store.ts +42 -0
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +58 -10
- package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +481 -0
- package/src/react/ui/modals/_internal/types.ts +0 -1
- package/src/react/utils/waitForTransactionReceipt.ts +26 -32
- package/src/styles/index.css +1 -0
- package/src/styles/styles.ts +201 -25
- package/src/types/index.ts +1 -1
- package/src/types/new-marketplace-types.ts +9 -18
- package/src/types/types.ts +1 -1
- package/src/utils/abi/index.ts +1 -0
- package/src/utils/abi/mainModule.ts +158 -0
- package/test/globalSetup.ts +1 -1
- package/test/test-utils.tsx +1 -0
- package/dist/BellIcon-Cb9YEUzJ.js.map +0 -1
- package/dist/CollectibleCard-CYyWzk6u.d.ts +0 -8
- package/dist/api-BmEQfSQa.js.map +0 -1
- package/dist/create-config-6uynwTeb.js.map +0 -1
- package/dist/filters-B8XS4tFH.d.ts +0 -31
- package/dist/index-BuY_NKSX.d.ts +0 -222
- package/dist/index-D2HohSwO.d.ts +0 -293
- package/dist/listCollectiblesPaginated--AgXjajA.d.ts +0 -166
- package/dist/lowestListing-BQHfQpfg.d.ts +0 -144
- package/dist/marketplace-logos-D8t86gsW.js.map +0 -1
- package/dist/marketplace.gen-JzNYpM0U.js.map +0 -1
- package/dist/marketplaceConfig-sNh-MA5M.js.map +0 -1
- package/dist/network-DnBEe1Ur.js.map +0 -1
- package/dist/queries-BYT4GJw3.js +0 -1478
- package/dist/queries-BYT4GJw3.js.map +0 -1
- package/dist/react-CbqXKOpt.css +0 -80
- package/dist/react-CbqXKOpt.css.map +0 -1
- package/dist/react-Ceq8mamy.js.map +0 -1
- package/dist/tokenSupplies-DXtkRYNO.d.ts +0 -147
- package/dist/transaction-CC2KxNF6.js.map +0 -1
- package/dist/types-G2PWxiJR.js.map +0 -1
- package/dist/utils-CKJd-CRf.js.map +0 -1
- package/dist/utils-wquIhK6T.js.map +0 -1
- package/dist/waitForTransactionReceipt-DZxAuR9N.js +0 -27
- package/dist/waitForTransactionReceipt-DZxAuR9N.js.map +0 -1
- package/src/react/hooks/utils/useSwitchChainWithModal.ts +0 -38
- package/src/react/queries/inventory.ts +0 -343
- package/src/react/ui/components/marketplace-collectible-card/Footer.tsx +0 -238
- package/src/react/ui/modals/_internal/components/switchChainModal/__tests__/SwitchChainModal.test.tsx +0 -117
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +0 -124
- package/src/react/ui/modals/_internal/components/switchChainModal/store.ts +0 -71
- /package/dist/{index-q7f-WDBS.d.ts → index-6wsMChsg.d.ts} +0 -0
- /package/dist/{abi-Wr_aTZFi.js → queries-KOcILNJO.js} +0 -0
- /package/dist/{wagmi-BhP3mdhP.js → wagmi-Bseovd6Q.js} +0 -0
package/src/styles/styles.ts
CHANGED
|
@@ -27,14 +27,19 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
27
27
|
--tw-gradient-via-position: 50%;
|
|
28
28
|
--tw-gradient-to-position: 100%;
|
|
29
29
|
}
|
|
30
|
-
/*! tailwindcss v4.1.
|
|
30
|
+
/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
|
|
31
31
|
@layer properties;
|
|
32
32
|
@layer theme, base, components, utilities;
|
|
33
33
|
@layer theme {
|
|
34
34
|
:root, :host {
|
|
35
35
|
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
36
36
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
37
|
+
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
38
|
+
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
39
|
+
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
37
40
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
41
|
+
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
42
|
+
--color-red-950: oklch(25.8% 0.092 26.042);
|
|
38
43
|
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
39
44
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
40
45
|
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
@@ -231,6 +236,9 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
231
236
|
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
232
237
|
padding-block: 0;
|
|
233
238
|
}
|
|
239
|
+
::-webkit-calendar-picker-indicator {
|
|
240
|
+
line-height: 1;
|
|
241
|
+
}
|
|
234
242
|
:-moz-ui-invalid {
|
|
235
243
|
box-shadow: none;
|
|
236
244
|
}
|
|
@@ -449,6 +457,9 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
449
457
|
.ml-5 {
|
|
450
458
|
margin-left: calc(var(--spacing) * 5);
|
|
451
459
|
}
|
|
460
|
+
.ml-10 {
|
|
461
|
+
margin-left: calc(var(--spacing) * 10);
|
|
462
|
+
}
|
|
452
463
|
.block {
|
|
453
464
|
display: block;
|
|
454
465
|
}
|
|
@@ -572,6 +583,9 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
572
583
|
.h-px {
|
|
573
584
|
height: 1px;
|
|
574
585
|
}
|
|
586
|
+
.max-h-96 {
|
|
587
|
+
max-height: calc(var(--spacing) * 96);
|
|
588
|
+
}
|
|
575
589
|
.max-h-\[240px\] {
|
|
576
590
|
max-height: 240px;
|
|
577
591
|
}
|
|
@@ -671,9 +685,6 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
671
685
|
.w-\[124px\] {
|
|
672
686
|
width: 124px;
|
|
673
687
|
}
|
|
674
|
-
.w-\[147px\] {
|
|
675
|
-
width: 147px;
|
|
676
|
-
}
|
|
677
688
|
.w-\[148px\] {
|
|
678
689
|
width: 148px;
|
|
679
690
|
}
|
|
@@ -731,6 +742,9 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
731
742
|
.flex-shrink {
|
|
732
743
|
flex-shrink: 1;
|
|
733
744
|
}
|
|
745
|
+
.flex-shrink-0 {
|
|
746
|
+
flex-shrink: 0;
|
|
747
|
+
}
|
|
734
748
|
.shrink-0 {
|
|
735
749
|
flex-shrink: 0;
|
|
736
750
|
}
|
|
@@ -987,6 +1001,10 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
987
1001
|
border-style: var(--tw-border-style);
|
|
988
1002
|
border-width: 2px;
|
|
989
1003
|
}
|
|
1004
|
+
.border-t {
|
|
1005
|
+
border-top-style: var(--tw-border-style);
|
|
1006
|
+
border-top-width: 1px;
|
|
1007
|
+
}
|
|
990
1008
|
.border-b-2 {
|
|
991
1009
|
border-bottom-style: var(--tw-border-style);
|
|
992
1010
|
border-bottom-width: 2px;
|
|
@@ -1018,6 +1036,9 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1018
1036
|
.border-border-normal {
|
|
1019
1037
|
border-color: var(--seq-color-border-normal);
|
|
1020
1038
|
}
|
|
1039
|
+
.border-red-900 {
|
|
1040
|
+
border-color: var(--color-red-900);
|
|
1041
|
+
}
|
|
1021
1042
|
.border-transparent {
|
|
1022
1043
|
border-color: transparent;
|
|
1023
1044
|
}
|
|
@@ -1030,6 +1051,9 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1030
1051
|
.border-b-transparent {
|
|
1031
1052
|
border-bottom-color: transparent;
|
|
1032
1053
|
}
|
|
1054
|
+
.bg-\[\#2b0000\] {
|
|
1055
|
+
background-color: #2b0000;
|
|
1056
|
+
}
|
|
1033
1057
|
.bg-\[\#35a554\] {
|
|
1034
1058
|
background-color: #35a554;
|
|
1035
1059
|
}
|
|
@@ -1057,6 +1081,12 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1057
1081
|
.bg-background-primary {
|
|
1058
1082
|
background-color: var(--seq-color-background-primary);
|
|
1059
1083
|
}
|
|
1084
|
+
.bg-background-primary\/25 {
|
|
1085
|
+
background-color: var(--seq-color-background-primary);
|
|
1086
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1087
|
+
background-color: color-mix(in oklab, var(--seq-color-background-primary) 25%, transparent);
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1060
1090
|
.bg-background-raised {
|
|
1061
1091
|
background-color: var(--seq-color-background-raised);
|
|
1062
1092
|
}
|
|
@@ -1096,6 +1126,12 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1096
1126
|
.bg-red-500 {
|
|
1097
1127
|
background-color: var(--color-red-500);
|
|
1098
1128
|
}
|
|
1129
|
+
.bg-red-900 {
|
|
1130
|
+
background-color: var(--color-red-900);
|
|
1131
|
+
}
|
|
1132
|
+
.bg-red-950 {
|
|
1133
|
+
background-color: var(--color-red-950);
|
|
1134
|
+
}
|
|
1099
1135
|
.bg-surface-neutral {
|
|
1100
1136
|
background-color: var(--color-surface-neutral);
|
|
1101
1137
|
}
|
|
@@ -1405,12 +1441,18 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1405
1441
|
--tw-tracking: var(--tracking-widest);
|
|
1406
1442
|
letter-spacing: var(--tracking-widest);
|
|
1407
1443
|
}
|
|
1444
|
+
.break-words {
|
|
1445
|
+
overflow-wrap: break-word;
|
|
1446
|
+
}
|
|
1408
1447
|
.text-ellipsis {
|
|
1409
1448
|
text-overflow: ellipsis;
|
|
1410
1449
|
}
|
|
1411
1450
|
.whitespace-nowrap {
|
|
1412
1451
|
white-space: nowrap;
|
|
1413
1452
|
}
|
|
1453
|
+
.whitespace-pre-wrap {
|
|
1454
|
+
white-space: pre-wrap;
|
|
1455
|
+
}
|
|
1414
1456
|
.text-background-raised {
|
|
1415
1457
|
color: var(--seq-color-background-raised);
|
|
1416
1458
|
}
|
|
@@ -1447,6 +1489,15 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1447
1489
|
.text-primary {
|
|
1448
1490
|
color: var(--seq-color-primary);
|
|
1449
1491
|
}
|
|
1492
|
+
.text-red-100 {
|
|
1493
|
+
color: var(--color-red-100);
|
|
1494
|
+
}
|
|
1495
|
+
.text-red-300 {
|
|
1496
|
+
color: var(--color-red-300);
|
|
1497
|
+
}
|
|
1498
|
+
.text-red-400 {
|
|
1499
|
+
color: var(--color-red-400);
|
|
1500
|
+
}
|
|
1450
1501
|
.text-red-500 {
|
|
1451
1502
|
color: var(--color-red-500);
|
|
1452
1503
|
}
|
|
@@ -1600,7 +1651,7 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1600
1651
|
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1601
1652
|
}
|
|
1602
1653
|
.transition {
|
|
1603
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display,
|
|
1654
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
1604
1655
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1605
1656
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1606
1657
|
}
|
|
@@ -1963,7 +2014,6 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
1963
2014
|
}
|
|
1964
2015
|
.after\:content-\[\"\"\] {
|
|
1965
2016
|
&::after {
|
|
1966
|
-
content: var(--tw-content);
|
|
1967
2017
|
--tw-content: "";
|
|
1968
2018
|
content: var(--tw-content);
|
|
1969
2019
|
}
|
|
@@ -2006,6 +2056,13 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2006
2056
|
}
|
|
2007
2057
|
}
|
|
2008
2058
|
}
|
|
2059
|
+
.hover\:animate-none {
|
|
2060
|
+
&:hover {
|
|
2061
|
+
@media (hover: hover) {
|
|
2062
|
+
animation: none;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2009
2066
|
.hover\:bg-button-glass {
|
|
2010
2067
|
&:hover {
|
|
2011
2068
|
@media (hover: hover) {
|
|
@@ -2013,6 +2070,13 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2013
2070
|
}
|
|
2014
2071
|
}
|
|
2015
2072
|
}
|
|
2073
|
+
.hover\:text-red-300 {
|
|
2074
|
+
&:hover {
|
|
2075
|
+
@media (hover: hover) {
|
|
2076
|
+
color: var(--color-red-300);
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2016
2080
|
.hover\:text-text-80 {
|
|
2017
2081
|
&:hover {
|
|
2018
2082
|
@media (hover: hover) {
|
|
@@ -2020,6 +2084,13 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2020
2084
|
}
|
|
2021
2085
|
}
|
|
2022
2086
|
}
|
|
2087
|
+
.hover\:opacity-50 {
|
|
2088
|
+
&:hover {
|
|
2089
|
+
@media (hover: hover) {
|
|
2090
|
+
opacity: 50%;
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2023
2094
|
.hover\:opacity-80 {
|
|
2024
2095
|
&:hover {
|
|
2025
2096
|
@media (hover: hover) {
|
|
@@ -2381,11 +2452,27 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2381
2452
|
justify-self: center;
|
|
2382
2453
|
}
|
|
2383
2454
|
}
|
|
2455
|
+
.\[\&\>input\]\:pl-5 {
|
|
2456
|
+
&>input {
|
|
2457
|
+
padding-left: calc(var(--spacing) * 5);
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
.\[\&\>input\]\:text-xs {
|
|
2461
|
+
&>input {
|
|
2462
|
+
font-size: var(--text-xs);
|
|
2463
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
2464
|
+
}
|
|
2465
|
+
}
|
|
2384
2466
|
.\[\&\>label\]\:flex {
|
|
2385
2467
|
&>label {
|
|
2386
2468
|
display: flex;
|
|
2387
2469
|
}
|
|
2388
2470
|
}
|
|
2471
|
+
.\[\&\>label\]\:w-16 {
|
|
2472
|
+
&>label {
|
|
2473
|
+
width: calc(var(--spacing) * 16);
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2389
2476
|
.\[\&\>label\]\:w-full {
|
|
2390
2477
|
&>label {
|
|
2391
2478
|
width: 100%;
|
|
@@ -2422,21 +2509,6 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2422
2509
|
width: 100%;
|
|
2423
2510
|
}
|
|
2424
2511
|
}
|
|
2425
|
-
.\[\&\>label\>div\>div\>\.rounded-xl\]\:h-9 {
|
|
2426
|
-
&>label>div>div>.rounded-xl {
|
|
2427
|
-
height: calc(var(--spacing) * 9);
|
|
2428
|
-
}
|
|
2429
|
-
}
|
|
2430
|
-
.\[\&\>label\>div\>div\>\.rounded-xl\]\:rounded-sm {
|
|
2431
|
-
&>label>div>div>.rounded-xl {
|
|
2432
|
-
border-radius: var(--radius-sm);
|
|
2433
|
-
}
|
|
2434
|
-
}
|
|
2435
|
-
.\[\&\>label\>div\>div\>\.rounded-xl\]\:px-2 {
|
|
2436
|
-
&>label>div>div>.rounded-xl {
|
|
2437
|
-
padding-inline: calc(var(--spacing) * 2);
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
2512
|
.\[\&\>label\>div\>div\>div\]\:h-9 {
|
|
2441
2513
|
&>label>div>div>div {
|
|
2442
2514
|
height: calc(var(--spacing) * 9);
|
|
@@ -2656,9 +2728,17 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2656
2728
|
--rdp-range_middle-background-color: var(--rdp-accent-background-color);
|
|
2657
2729
|
--rdp-range_middle-color: inherit;
|
|
2658
2730
|
--rdp-range_start-color: white;
|
|
2659
|
-
--rdp-range_start-background: linear-gradient(
|
|
2731
|
+
--rdp-range_start-background: linear-gradient(
|
|
2732
|
+
var(--rdp-gradient-direction),
|
|
2733
|
+
transparent 50%,
|
|
2734
|
+
var(--rdp-range_middle-background-color) 50%
|
|
2735
|
+
);
|
|
2660
2736
|
--rdp-range_start-date-background-color: var(--rdp-accent-color);
|
|
2661
|
-
--rdp-range_end-background: linear-gradient(
|
|
2737
|
+
--rdp-range_end-background: linear-gradient(
|
|
2738
|
+
var(--rdp-gradient-direction),
|
|
2739
|
+
var(--rdp-range_middle-background-color) 50%,
|
|
2740
|
+
transparent 50%
|
|
2741
|
+
);
|
|
2662
2742
|
--rdp-range_end-color: white;
|
|
2663
2743
|
--rdp-range_end-date-background-color: var(--rdp-accent-color);
|
|
2664
2744
|
--rdp-week_number-border-radius: 100%;
|
|
@@ -2879,7 +2959,6 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2879
2959
|
background-color: var(--rdp-range_middle-background-color);
|
|
2880
2960
|
}
|
|
2881
2961
|
.rdp-range_middle .rdp-day_button {
|
|
2882
|
-
border-color: transparent;
|
|
2883
2962
|
border: unset;
|
|
2884
2963
|
border-radius: unset;
|
|
2885
2964
|
color: var(--rdp-range_middle-color);
|
|
@@ -2982,6 +3061,103 @@ export const styles = String.raw`/* Modified Tailwind CSS, to avoid issues with
|
|
|
2982
3061
|
.rdp-caption_before_exit {
|
|
2983
3062
|
animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
2984
3063
|
}
|
|
3064
|
+
.rdp-root {
|
|
3065
|
+
width: 100% !important;
|
|
3066
|
+
padding: 0 !important;
|
|
3067
|
+
user-select: none;
|
|
3068
|
+
}
|
|
3069
|
+
.rdp-nav {
|
|
3070
|
+
position: absolute;
|
|
3071
|
+
width: 100%;
|
|
3072
|
+
height: fit-content !important;
|
|
3073
|
+
display: flex;
|
|
3074
|
+
align-items: center;
|
|
3075
|
+
justify-content: space-between;
|
|
3076
|
+
}
|
|
3077
|
+
.rdp-caption_label {
|
|
3078
|
+
color: var(--color-text-100) !important;
|
|
3079
|
+
}
|
|
3080
|
+
.rdp-months {
|
|
3081
|
+
width: 100%;
|
|
3082
|
+
max-width: unset !important;
|
|
3083
|
+
}
|
|
3084
|
+
.rdp-month_caption {
|
|
3085
|
+
text-align: center;
|
|
3086
|
+
width: 100%;
|
|
3087
|
+
height: 36px !important;
|
|
3088
|
+
display: block !important;
|
|
3089
|
+
font-size: 14px !important;
|
|
3090
|
+
}
|
|
3091
|
+
.rdp-month_grid {
|
|
3092
|
+
width: 100%;
|
|
3093
|
+
}
|
|
3094
|
+
.rdp-month {
|
|
3095
|
+
width: 100%;
|
|
3096
|
+
}
|
|
3097
|
+
.rdp-button_previous {
|
|
3098
|
+
background-color: var(--color-overlay-light) !important;
|
|
3099
|
+
border-radius: 50%;
|
|
3100
|
+
}
|
|
3101
|
+
.rdp-button_previous:hover {
|
|
3102
|
+
background-color: var(--color-overlay-glass) !important;
|
|
3103
|
+
}
|
|
3104
|
+
.rdp-button_previous > svg {
|
|
3105
|
+
fill: var(--color-text-100) !important;
|
|
3106
|
+
width: 16px !important;
|
|
3107
|
+
height: 16px !important;
|
|
3108
|
+
}
|
|
3109
|
+
.rdp-button_next {
|
|
3110
|
+
background-color: var(--color-overlay-light) !important;
|
|
3111
|
+
border-radius: 50%;
|
|
3112
|
+
}
|
|
3113
|
+
.rdp-button_next:hover {
|
|
3114
|
+
background-color: var(--color-overlay-glass) !important;
|
|
3115
|
+
}
|
|
3116
|
+
.rdp-button_next > svg {
|
|
3117
|
+
fill: var(--color-text-100) !important;
|
|
3118
|
+
width: 16px !important;
|
|
3119
|
+
height: 16px !important;
|
|
3120
|
+
}
|
|
3121
|
+
.rdp-weekdays {
|
|
3122
|
+
display: flex;
|
|
3123
|
+
justify-content: space-between;
|
|
3124
|
+
}
|
|
3125
|
+
.rdp-weekday {
|
|
3126
|
+
padding: 16px 0 !important;
|
|
3127
|
+
font-size: 14px !important;
|
|
3128
|
+
font-weight: var(--font-weight-medium) !important;
|
|
3129
|
+
color: var(--color-text-80) !important;
|
|
3130
|
+
}
|
|
3131
|
+
.rdp-weeks {
|
|
3132
|
+
display: flex;
|
|
3133
|
+
flex-direction: column;
|
|
3134
|
+
gap: 4px;
|
|
3135
|
+
}
|
|
3136
|
+
.rdp-week {
|
|
3137
|
+
display: flex;
|
|
3138
|
+
justify-content: space-between;
|
|
3139
|
+
}
|
|
3140
|
+
.rdp-day {
|
|
3141
|
+
width: 24px !important;
|
|
3142
|
+
height: 24px !important;
|
|
3143
|
+
}
|
|
3144
|
+
.rdp-day_button {
|
|
3145
|
+
width: 24px !important;
|
|
3146
|
+
height: 24px !important;
|
|
3147
|
+
font-size: var(--text-xs) !important;
|
|
3148
|
+
color: var(--color-text-80) !important;
|
|
3149
|
+
}
|
|
3150
|
+
.rdp-day_button:disabled {
|
|
3151
|
+
color: var(--color-text-50) !important;
|
|
3152
|
+
}
|
|
3153
|
+
.rdp-day.rdp-today {
|
|
3154
|
+
outline: 1px solid var(--color-violet-700) !important;
|
|
3155
|
+
border-radius: 50% !important;
|
|
3156
|
+
}
|
|
3157
|
+
.rdp-day.rdp-selected {
|
|
3158
|
+
background: var(--seq-color-gradient-primary) !important;
|
|
3159
|
+
border-radius: 50% !important;
|
|
3160
|
+
}
|
|
2985
3161
|
@keyframes fadeIn {
|
|
2986
3162
|
0% {
|
|
2987
3163
|
opacity: 0;
|
|
@@ -3272,4 +3448,4 @@ video::-webkit-media-controls {
|
|
|
3272
3448
|
}
|
|
3273
3449
|
}
|
|
3274
3450
|
}
|
|
3275
|
-
`;
|
|
3451
|
+
`;
|
package/src/types/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ export {
|
|
|
2
2
|
FilterCondition,
|
|
3
3
|
type MarketplaceWallet,
|
|
4
4
|
} from '../react/_internal/api/builder.gen';
|
|
5
|
-
export type * from '
|
|
5
|
+
export type * from '../react/queries/market/marketplaceConfig';
|
|
6
6
|
export * from './api-types';
|
|
7
7
|
export * from './sdk-config';
|
|
8
8
|
export * from './types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Address } from 'viem';
|
|
1
2
|
import type {
|
|
2
3
|
FilterCondition,
|
|
3
4
|
MarketplaceSettings,
|
|
@@ -5,7 +6,7 @@ import type {
|
|
|
5
6
|
OpenIdProvider,
|
|
6
7
|
} from '../react/_internal/api/builder.gen';
|
|
7
8
|
import type { ContractType, OrderbookKind } from './api-types';
|
|
8
|
-
import type {
|
|
9
|
+
import type { CardType } from './types';
|
|
9
10
|
|
|
10
11
|
export interface MarketplaceConfig {
|
|
11
12
|
projectId: number;
|
|
@@ -18,6 +19,7 @@ interface MarketplacePage {
|
|
|
18
19
|
enabled: boolean;
|
|
19
20
|
bannerUrl: string;
|
|
20
21
|
ogImage?: string;
|
|
22
|
+
private: boolean;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
export interface MarketPage extends MarketplacePage {
|
|
@@ -37,28 +39,17 @@ export interface MarketplaceSocials {
|
|
|
37
39
|
youtube: string;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
|
-
export interface MarketplaceWalletEcosystem {
|
|
41
|
-
walletUrl: string;
|
|
42
|
-
walletAppName: string;
|
|
43
|
-
logoLightUrl?: string;
|
|
44
|
-
logoDarkUrl?: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface MarketplaceWalletEmbedded {
|
|
48
|
-
tenantKey: string;
|
|
49
|
-
emailEnabled: boolean;
|
|
50
|
-
providers: Array<OpenIdProvider>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
42
|
interface MarketplaceCollection {
|
|
54
43
|
chainId: number;
|
|
55
44
|
bannerUrl: string;
|
|
56
|
-
itemsAddress:
|
|
45
|
+
itemsAddress: Address;
|
|
57
46
|
filterSettings?: CollectionFilterSettings;
|
|
47
|
+
sortOrder?: number;
|
|
48
|
+
private: boolean;
|
|
58
49
|
}
|
|
59
50
|
|
|
60
51
|
export interface MarketCollection extends MarketplaceCollection {
|
|
61
|
-
|
|
52
|
+
cardType: CardType;
|
|
62
53
|
contractType: ContractType; //TODO: This should be added to the shop collection too in builder.gen.ts. Then update shop collections map from prefetchedMarketplaceSettings in "sdk/src/react/queries/marketplaceConfig.ts"
|
|
63
54
|
feePercentage: number;
|
|
64
55
|
destinationMarketplace: OrderbookKind;
|
|
@@ -66,8 +57,8 @@ export interface MarketCollection extends MarketplaceCollection {
|
|
|
66
57
|
}
|
|
67
58
|
|
|
68
59
|
export interface ShopCollection extends MarketplaceCollection {
|
|
69
|
-
|
|
70
|
-
saleAddress:
|
|
60
|
+
cardType: CardType;
|
|
61
|
+
saleAddress: Address;
|
|
71
62
|
}
|
|
72
63
|
|
|
73
64
|
export interface EcosystemWalletSettings {
|
package/src/types/types.ts
CHANGED
package/src/utils/abi/index.ts
CHANGED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export const MAIN_MODULE_ABI = [
|
|
2
|
+
{
|
|
3
|
+
type: 'function',
|
|
4
|
+
name: 'nonce',
|
|
5
|
+
constant: true,
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [
|
|
8
|
+
{
|
|
9
|
+
type: 'uint256',
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
payable: false,
|
|
13
|
+
stateMutability: 'view',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: 'function',
|
|
17
|
+
name: 'readNonce',
|
|
18
|
+
constant: true,
|
|
19
|
+
inputs: [
|
|
20
|
+
{
|
|
21
|
+
type: 'uint256',
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
outputs: [
|
|
25
|
+
{
|
|
26
|
+
type: 'uint256',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
payable: false,
|
|
30
|
+
stateMutability: 'view',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: 'function',
|
|
34
|
+
name: 'updateImplementation',
|
|
35
|
+
constant: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
type: 'address',
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
outputs: [],
|
|
42
|
+
payable: false,
|
|
43
|
+
stateMutability: 'nonpayable',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
type: 'function',
|
|
47
|
+
name: 'selfExecute',
|
|
48
|
+
constant: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
components: [
|
|
52
|
+
{
|
|
53
|
+
type: 'bool',
|
|
54
|
+
name: 'delegateCall',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'bool',
|
|
58
|
+
name: 'revertOnError',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: 'uint256',
|
|
62
|
+
name: 'gasLimit',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: 'address',
|
|
66
|
+
name: 'target',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: 'uint256',
|
|
70
|
+
name: 'value',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: 'bytes',
|
|
74
|
+
name: 'data',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
type: 'tuple[]',
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
outputs: [],
|
|
81
|
+
payable: false,
|
|
82
|
+
stateMutability: 'nonpayable',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: 'function',
|
|
86
|
+
name: 'execute',
|
|
87
|
+
constant: false,
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
components: [
|
|
91
|
+
{
|
|
92
|
+
type: 'bool',
|
|
93
|
+
name: 'delegateCall',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: 'bool',
|
|
97
|
+
name: 'revertOnError',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: 'uint256',
|
|
101
|
+
name: 'gasLimit',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
type: 'address',
|
|
105
|
+
name: 'target',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: 'uint256',
|
|
109
|
+
name: 'value',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'bytes',
|
|
113
|
+
name: 'data',
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
type: 'tuple[]',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
type: 'uint256',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'bytes',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
outputs: [],
|
|
126
|
+
payable: false,
|
|
127
|
+
stateMutability: 'nonpayable',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
type: 'function',
|
|
131
|
+
name: 'createContract',
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
type: 'bytes',
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
payable: true,
|
|
138
|
+
stateMutability: 'payable',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'function',
|
|
142
|
+
name: 'setExtraImageHash',
|
|
143
|
+
constant: false,
|
|
144
|
+
inputs: [
|
|
145
|
+
{
|
|
146
|
+
type: 'bytes32',
|
|
147
|
+
name: 'imageHash',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
type: 'uint256',
|
|
151
|
+
name: 'expiration',
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
outputs: [],
|
|
155
|
+
payable: false,
|
|
156
|
+
stateMutability: 'nonpayable',
|
|
157
|
+
},
|
|
158
|
+
];
|
package/test/globalSetup.ts
CHANGED
package/test/test-utils.tsx
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BellIcon-Cb9YEUzJ.js","names":["Svg","props: SVGProps<SVGSVGElement>","Svg","props: SVGProps<SVGSVGElement>","Svg","props: SVGProps<SVGSVGElement>","props: SVGProps<SVGSVGElement>"],"sources":["../src/react/ui/icons/iconVariants.ts","../src/react/ui/icons/InfoIcon.tsx","../src/react/ui/icons/CalendarIcon.tsx","../src/react/ui/icons/CartIcon.tsx","../src/react/ui/icons/BellIcon.tsx"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\nexport const iconVariants = cva('block shrink-0', {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: 'w-4 h-4',\n\t\t\tsm: 'w-5 h-5',\n\t\t\tmd: 'w-6 h-6',\n\t\t\tlg: 'w-7 h-7',\n\t\t\txl: 'w-9 h-9',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'md',\n\t},\n});\n","'use client';\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-label=\"Information\"\n\t\t{...props}\n\t>\n\t\t<title>Information icon</title>\n\t\t<path d=\"M10.75 8.75V13.75H9.25V8.75H10.75Z\" fill=\"white\" />\n\t\t<path\n\t\t\td=\"M9.37508 7.47656C9.55997 7.65885 9.78263 7.75 10.043 7.75C10.2097 7.75 10.3634 7.70833 10.504 7.625C10.6446 7.53906 10.7579 7.42578 10.8438 7.28516C10.9324 7.14193 10.9779 6.98438 10.9805 6.8125C10.9779 6.55729 10.8829 6.33854 10.6954 6.15625C10.5079 5.97396 10.2904 5.88281 10.043 5.88281C9.78263 5.88281 9.55997 5.97396 9.37508 6.15625C9.19279 6.33854 9.10294 6.55729 9.10555 6.8125C9.10294 7.07031 9.19279 7.29167 9.37508 7.47656Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM10 16.5C13.5899 16.5 16.5 13.5899 16.5 10C16.5 6.41015 13.5899 3.5 10 3.5C6.41015 3.5 3.5 6.41015 3.5 10C3.5 13.5899 6.41015 16.5 10 16.5Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgInfoIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgInfoIcon;\n","'use client';\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-label=\"Calendar icon\"\n\t\t{...props}\n\t>\n\t\t<title>Calendar icon</title>\n\t\t<path\n\t\t\td=\"M4.57634 17.5C3.73146 17.5 3.08946 17.2816 2.65034 16.8449C2.21678 16.4081 2 15.7586 2 14.8965V5.10352C2 4.24135 2.21678 3.59189 2.65034 3.15513C3.08946 2.71838 3.73146 2.5 4.57634 2.5H15.4237C16.2741 2.5 16.9161 2.72121 17.3497 3.16364C17.7832 3.6004 18 4.24702 18 5.10352V14.8965C18 15.753 17.7832 16.3996 17.3497 16.8364C16.9161 17.2788 16.2741 17.5 15.4237 17.5H4.57634ZM4.55133 15.9515H15.4403C15.7738 15.9515 16.0295 15.8636 16.2074 15.6877C16.3908 15.5062 16.4825 15.2396 16.4825 14.888V7.44328C16.4825 7.08593 16.3908 6.81934 16.2074 6.64351C16.0295 6.46767 15.7738 6.37975 15.4403 6.37975H4.55133C4.21782 6.37975 3.96213 6.46767 3.78426 6.64351C3.61195 6.81934 3.52579 7.08593 3.52579 7.44328V14.888C3.52579 15.2396 3.61195 15.5062 3.78426 15.6877C3.96213 15.8636 4.21782 15.9515 4.55133 15.9515ZM8.48671 9.17896C8.34775 9.17896 8.25048 9.15343 8.19489 9.10238C8.13931 9.05133 8.11152 8.95207 8.11152 8.80459V8.33664C8.11152 8.19484 8.13931 8.09841 8.19489 8.04736C8.25048 7.99064 8.34775 7.96228 8.48671 7.96228H8.94528C9.0898 7.96228 9.18708 7.99064 9.2371 8.04736C9.29269 8.09841 9.32048 8.19484 9.32048 8.33664V8.80459C9.32048 8.95207 9.29269 9.05133 9.2371 9.10238C9.18708 9.15343 9.0898 9.17896 8.94528 9.17896H8.48671ZM11.0714 9.17896C10.9269 9.17896 10.8268 9.15343 10.7712 9.10238C10.7212 9.05133 10.6962 8.95207 10.6962 8.80459V8.33664C10.6962 8.19484 10.7212 8.09841 10.7712 8.04736C10.8268 7.99064 10.9269 7.96228 11.0714 7.96228H11.5383C11.6773 7.96228 11.7745 7.99064 11.8301 8.04736C11.8857 8.09841 11.9135 8.19484 11.9135 8.33664V8.80459C11.9135 8.95207 11.8857 9.05133 11.8301 9.10238C11.7745 9.15343 11.6773 9.17896 11.5383 9.17896H11.0714ZM13.6477 9.17896C13.5088 9.17896 13.4115 9.15343 13.3559 9.10238C13.3003 9.05133 13.2725 8.95207 13.2725 8.80459V8.33664C13.2725 8.19484 13.3003 8.09841 13.3559 8.04736C13.4115 7.99064 13.5088 7.96228 13.6477 7.96228H14.1146C14.2592 7.96228 14.3564 7.99064 14.4065 8.04736C14.462 8.09841 14.4898 8.19484 14.4898 8.33664V8.80459C14.4898 8.95207 14.462 9.05133 14.4065 9.10238C14.3564 9.15343 14.2592 9.17896 14.1146 9.17896H13.6477ZM5.90203 11.7825C5.75751 11.7825 5.65746 11.7541 5.60188 11.6974C5.55185 11.6407 5.52684 11.5442 5.52684 11.4081V10.9317C5.52684 10.7842 5.55185 10.6849 5.60188 10.6339C5.65746 10.5828 5.75751 10.5573 5.90203 10.5573H6.36894C6.5079 10.5573 6.60518 10.5828 6.66076 10.6339C6.71635 10.6849 6.74414 10.7842 6.74414 10.9317V11.4081C6.74414 11.5442 6.71635 11.6407 6.66076 11.6974C6.60518 11.7541 6.5079 11.7825 6.36894 11.7825H5.90203ZM8.48671 11.7825C8.34775 11.7825 8.25048 11.7541 8.19489 11.6974C8.13931 11.6407 8.11152 11.5442 8.11152 11.4081V10.9317C8.11152 10.7842 8.13931 10.6849 8.19489 10.6339C8.25048 10.5828 8.34775 10.5573 8.48671 10.5573H8.94528C9.0898 10.5573 9.18708 10.5828 9.2371 10.6339C9.29269 10.6849 9.32048 10.7842 9.32048 10.9317V11.4081C9.32048 11.5442 9.29269 11.6407 9.2371 11.6974C9.18708 11.7541 9.0898 11.7825 8.94528 11.7825H8.48671ZM11.0714 11.7825C10.9269 11.7825 10.8268 11.7541 10.7712 11.6974C10.7212 11.6407 10.6962 11.5442 10.6962 11.4081V10.9317C10.6962 10.7842 10.7212 10.6849 10.7712 10.6339C10.8268 10.5828 10.9269 10.5573 11.0714 10.5573H11.5383C11.6773 10.5573 11.7745 10.5828 11.8301 10.6339C11.8857 10.6849 11.9135 10.7842 11.9135 10.9317V11.4081C11.9135 11.5442 11.8857 11.6407 11.8301 11.6974C11.7745 11.7541 11.6773 11.7825 11.5383 11.7825H11.0714ZM13.6477 11.7825C13.5088 11.7825 13.4115 11.7541 13.3559 11.6974C13.3003 11.6407 13.2725 11.5442 13.2725 11.4081V10.9317C13.2725 10.7842 13.3003 10.6849 13.3559 10.6339C13.4115 10.5828 13.5088 10.5573 13.6477 10.5573H14.1146C14.2592 10.5573 14.3564 10.5828 14.4065 10.6339C14.462 10.6849 14.4898 10.7842 14.4898 10.9317V11.4081C14.4898 11.5442 14.462 11.6407 14.4065 11.6974C14.3564 11.7541 14.2592 11.7825 14.1146 11.7825H13.6477ZM5.90203 14.369C5.75751 14.369 5.65746 14.3434 5.60188 14.2924C5.55185 14.2414 5.52684 14.1421 5.52684 13.9946V13.5267C5.52684 13.3849 5.55185 13.2884 5.60188 13.2374C5.65746 13.1807 5.75751 13.1523 5.90203 13.1523H6.36894C6.5079 13.1523 6.60518 13.1807 6.66076 13.2374C6.71635 13.2884 6.74414 13.3849 6.74414 13.5267V13.9946C6.74414 14.1421 6.71635 14.2414 6.66076 14.2924C6.60518 14.3434 6.5079 14.369 6.36894 14.369H5.90203ZM8.48671 14.369C8.34775 14.369 8.25048 14.3434 8.19489 14.2924C8.13931 14.2414 8.11152 14.1421 8.11152 13.9946V13.5267C8.11152 13.3849 8.13931 13.2884 8.19489 13.2374C8.25048 13.1807 8.34775 13.1523 8.48671 13.1523H8.94528C9.0898 13.1523 9.18708 13.1807 9.2371 13.2374C9.29269 13.2884 9.32048 13.3849 9.32048 13.5267V13.9946C9.32048 14.1421 9.29269 14.2414 9.2371 14.2924C9.18708 14.3434 9.0898 14.369 8.94528 14.369H8.48671ZM11.0714 14.369C10.9269 14.369 10.8268 14.3434 10.7712 14.2924C10.7212 14.2414 10.6962 14.1421 10.6962 13.9946V13.5267C10.6962 13.3849 10.7212 13.2884 10.7712 13.2374C10.8268 13.1807 10.9269 13.1523 11.0714 13.1523H11.5383C11.6773 13.1523 11.7745 13.1807 11.8301 13.2374C11.8857 13.2884 11.9135 13.3849 11.9135 13.5267V13.9946C11.9135 14.1421 11.8857 14.2414 11.8301 14.2924C11.7745 14.3434 11.6773 14.369 11.5383 14.369H11.0714Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgCalendarIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgCalendarIcon;\n","'use client';\n\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-20 w-20\"\n\t\tviewBox=\"0 0 20 20\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-labelledby=\"cart-title\"\n\t\t{...props}\n\t>\n\t\t<title id=\"cart-title\">Cart Icon</title>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M2.5 3.46836C2.5 3.20969 2.72366 3 2.99955 3H5.16925C5.88938 3 6.5077 3.48022 6.64172 4.14359L8.33188 12.5093C8.37655 12.7304 8.58266 12.8905 8.8227 12.8905H16.987C17.2629 12.8905 17.4866 13.1002 17.4866 13.3589C17.4866 13.6175 17.2629 13.8272 16.987 13.8272H8.8227C8.10257 13.8272 7.48425 13.347 7.35023 12.6836L5.66007 4.31793C5.6154 4.0968 5.40929 3.93673 5.16925 3.93673H2.99955C2.72366 3.93673 2.5 3.72704 2.5 3.46836Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M18.0003 5.34182H6.40946L7.49564 10.8234H17.0736C17.3133 10.8234 17.5193 10.6637 17.5643 10.443L18.491 5.89813C18.5498 5.60942 18.3138 5.34182 18.0003 5.34182Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M10.0889 15.8559C10.0889 16.4878 9.54259 17 8.86866 17C8.19473 17 7.64841 16.4878 7.64841 15.8559C7.64841 15.2241 8.19473 14.7119 8.86866 14.7119C9.54259 14.7119 10.0889 15.2241 10.0889 15.8559Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t\t<path\n\t\t\td=\"M16.6268 15.8559C16.6268 16.4878 16.0804 17 15.4065 17C14.7326 17 14.1863 16.4878 14.1863 15.8559C14.1863 15.2241 14.7326 14.7119 15.4065 14.7119C16.0804 14.7119 16.6268 15.2241 16.6268 15.8559Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgCartIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgCartIcon;\n","'use client';\n\nimport type { IconProps } from '@0xsequence/design-system';\nimport type { SVGProps } from 'react';\nimport { cn } from '../../../utils';\nimport { iconVariants } from './iconVariants';\n\nconst Svg = (props: SVGProps<SVGSVGElement>) => (\n\t<svg\n\t\tclassName=\"h-17 w-17\"\n\t\tviewBox=\"0 0 17 17\"\n\t\tfill=\"none\"\n\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\trole=\"img\"\n\t\taria-labelledby=\"bell-title\"\n\t\t{...props}\n\t>\n\t\t<title id=\"bell-title\">Notification Bell</title>\n\t\t<path\n\t\t\tfillRule=\"evenodd\"\n\t\t\tclipRule=\"evenodd\"\n\t\t\td=\"M12.3127 7.45705V9.74274C12.3127 10.3805 12.6293 10.6971 12.9647 11.0326L12.9652 11.033L12.9679 11.0358C13.3205 11.3893 13.6843 11.754 13.6843 12.4854C13.6843 12.5491 13.6335 12.5998 13.57 12.5998H3.51277C3.44959 12.5998 3.39844 12.5489 3.39844 12.4854C3.39844 11.7539 3.76242 11.389 4.11507 11.0354L4.11754 11.033C4.45305 10.6975 4.76984 10.3807 4.76984 9.74245V7.45676C4.76984 5.6932 5.98854 4.21248 7.62704 3.802V3.11399C7.62704 2.60926 8.03659 2.19971 8.54132 2.19971C9.04606 2.19971 9.45561 2.60926 9.45561 3.11399V3.802C11.094 4.21286 12.3127 5.69335 12.3127 7.45705ZM10.3698 13.1711C10.3698 14.1809 9.55099 14.9997 8.54121 14.9997C7.53128 14.9997 6.71272 14.181 6.71272 13.1711H10.3698ZM8.758 7.70501C9.30005 7.85574 9.6696 7.99832 9.86302 8.13224C10.1776 8.35015 10.3374 8.67657 10.338 9.106C10.338 9.7284 10.1359 10.1706 9.72956 10.4326C9.50571 10.5778 9.18295 10.6723 8.75846 10.7195V11.4005H8.42657V10.7195C7.74604 10.6746 7.28244 10.4349 7.04094 9.99812C6.90703 9.76157 6.83984 9.44246 6.83984 9.04019H7.46277C7.48004 9.35983 7.53041 9.59501 7.6135 9.74163C7.75837 10.0063 8.0303 10.1548 8.42664 10.1861V8.27703C7.9177 8.18078 7.54357 8.01963 7.30116 7.79532C7.0605 7.57102 6.93929 7.25914 6.93929 6.86234C6.93929 6.50686 7.06917 6.18768 7.32977 5.90212C7.58991 5.61657 7.95581 5.47132 8.42619 5.46675V5.00049H8.75808V5.45861C9.22343 5.4927 9.58119 5.62981 9.82863 5.87039C10.0787 6.11144 10.2086 6.43062 10.2204 6.82651H9.60569C9.5907 6.64899 9.54299 6.49507 9.4631 6.36884C9.31595 6.13183 9.08076 6.00697 8.758 5.99518V7.70501ZM7.80143 7.36315C7.95574 7.49478 8.16369 7.58608 8.42611 7.63691L8.42619 5.98886C8.11651 5.99936 7.89723 6.09424 7.76651 6.2681C7.63572 6.4447 7.57036 6.62815 7.57036 6.82019C7.57036 7.05081 7.64705 7.23289 7.80143 7.36315ZM8.75747 10.2033C9.15883 10.1847 9.43305 10.0394 9.58606 9.76522C9.66504 9.62408 9.70415 9.46285 9.70399 9.27948C9.70399 8.98624 9.59686 8.76376 9.38123 8.61121C9.2582 8.52219 9.05079 8.4391 8.75747 8.35921V10.2033Z\"\n\t\t\tfill=\"white\"\n\t\t/>\n\t</svg>\n);\n\nconst SvgBellIcon = ({ className, size = 'sm', ...props }: IconProps) => (\n\t<Svg\n\t\tclassName={cn(\n\t\t\ticonVariants({\n\t\t\t\tsize,\n\t\t\t}),\n\t\t\tclassName,\n\t\t)}\n\t\t{...props}\n\t/>\n);\n\nexport default SvgBellIcon;\n"],"mappings":";;;;;AAEA,MAAa,eAAe,IAAI,kBAAkB;CACjD,UAAU,EACT,MAAM;EACL,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;CACJ,EACD;CACD,iBAAiB,EAChB,MAAM,KACN;AACD,EAAC;;;;ACTF,MAAMA,QAAM,CAACC,+BACX;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,cAAW;CACX,GAAI;;sBAEH,qBAAM,qBAAwB;sBAC9B;GAAK,GAAE;GAAqC,MAAK;IAAU;sBAC3D;GACA,GAAE;GACF,MAAK;IACJ;sBACD;GACA,UAAS;GACT,UAAS;GACT,GAAE;GACF,MAAK;IACJ;;EACG;AAGP,MAAM,cAAc,CAAC,EAAE,WAAW,OAAO,KAAM,GAAG,OAAkB,yBAClED;CACA,WAAW,GACV,aAAa,EACZ,KACA,EAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,uBAAe;;;;ACrCf,MAAME,QAAM,CAACC,+BACX;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,cAAW;CACX,GAAI;gCAEH,qBAAM,kBAAqB,sBAC3B;EACA,GAAE;EACF,MAAK;GACJ;EACG;AAGP,MAAM,kBAAkB,CAAC,EAAE,WAAW,OAAO,KAAM,GAAG,OAAkB,yBACtED;CACA,WAAW,GACV,aAAa,EACZ,KACA,EAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,2BAAe;;;;AC7Bf,MAAME,QAAM,CAACC,+BACX;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,mBAAgB;CAChB,GAAI;;sBAEH;GAAM,IAAG;aAAa;IAAiB;sBACvC;GACA,UAAS;GACT,UAAS;GACT,GAAE;GACF,MAAK;IACJ;sBACD;GACA,GAAE;GACF,MAAK;IACJ;sBACD;GACA,GAAE;GACF,MAAK;IACJ;sBACD;GACA,GAAE;GACF,MAAK;IACJ;;EACG;AAGP,MAAM,cAAc,CAAC,EAAE,WAAW,OAAO,KAAM,GAAG,OAAkB,yBAClED;CACA,WAAW,GACV,aAAa,EACZ,KACA,EAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,uBAAe;;;;AC5Cf,MAAM,MAAM,CAACE,+BACX;CACA,WAAU;CACV,SAAQ;CACR,MAAK;CACL,OAAM;CACN,MAAK;CACL,mBAAgB;CAChB,GAAI;gCAEH;EAAM,IAAG;YAAa;GAAyB,sBAC/C;EACA,UAAS;EACT,UAAS;EACT,GAAE;EACF,MAAK;GACJ;EACG;AAGP,MAAM,cAAc,CAAC,EAAE,WAAW,OAAO,KAAM,GAAG,OAAkB,yBAClE;CACA,WAAW,GACV,aAAa,EACZ,KACA,EAAC,EACF,UACA;CACD,GAAI;EACH;AAGH,uBAAe"}
|