@medialane/ui 0.372.1 → 0.373.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/account/add-guardian-dialog.cjs +6 -3
- package/dist/components/account/add-guardian-dialog.cjs.map +1 -1
- package/dist/components/account/add-guardian-dialog.js +6 -3
- package/dist/components/account/add-guardian-dialog.js.map +1 -1
- package/dist/components/account/device-approval-dialog.cjs +10 -8
- package/dist/components/account/device-approval-dialog.cjs.map +1 -1
- package/dist/components/account/device-approval-dialog.js +10 -8
- package/dist/components/account/device-approval-dialog.js.map +1 -1
- package/dist/components/account/devices-section.cjs +8 -6
- package/dist/components/account/devices-section.cjs.map +1 -1
- package/dist/components/account/devices-section.js +8 -6
- package/dist/components/account/devices-section.js.map +1 -1
- package/dist/components/account/email-code-entry.cjs +7 -9
- package/dist/components/account/email-code-entry.cjs.map +1 -1
- package/dist/components/account/email-code-entry.js +7 -9
- package/dist/components/account/email-code-entry.js.map +1 -1
- package/dist/components/account/guardian-recovery-section.cjs +26 -35
- package/dist/components/account/guardian-recovery-section.cjs.map +1 -1
- package/dist/components/account/guardian-recovery-section.js +26 -35
- package/dist/components/account/guardian-recovery-section.js.map +1 -1
- package/dist/components/account-page.cjs +16 -13
- package/dist/components/account-page.cjs.map +1 -1
- package/dist/components/account-page.js +16 -13
- package/dist/components/account-page.js.map +1 -1
- package/dist/components/accounts-page.cjs +15 -10
- package/dist/components/accounts-page.cjs.map +1 -1
- package/dist/components/accounts-page.js +15 -10
- package/dist/components/accounts-page.js.map +1 -1
- package/dist/components/activities-feed.cjs +10 -9
- package/dist/components/activities-feed.cjs.map +1 -1
- package/dist/components/activities-feed.js +10 -9
- package/dist/components/activities-feed.js.map +1 -1
- package/dist/components/activity-card.cjs +6 -2
- package/dist/components/activity-card.cjs.map +1 -1
- package/dist/components/activity-card.js +6 -2
- package/dist/components/activity-card.js.map +1 -1
- package/dist/components/activity-feed-shell.cjs +5 -4
- package/dist/components/activity-feed-shell.cjs.map +1 -1
- package/dist/components/activity-feed-shell.js +5 -4
- package/dist/components/activity-feed-shell.js.map +1 -1
- package/dist/components/activity-row.cjs +9 -5
- package/dist/components/activity-row.cjs.map +1 -1
- package/dist/components/activity-row.js +9 -5
- package/dist/components/activity-row.js.map +1 -1
- package/dist/components/activity-timeline-row.cjs +11 -8
- package/dist/components/activity-timeline-row.cjs.map +1 -1
- package/dist/components/activity-timeline-row.js +11 -8
- package/dist/components/activity-timeline-row.js.map +1 -1
- package/dist/components/address-display.cjs +3 -1
- package/dist/components/address-display.cjs.map +1 -1
- package/dist/components/address-display.js +3 -1
- package/dist/components/address-display.js.map +1 -1
- package/dist/components/alert.d.cts +1 -1
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/approve-mint-dialog.cjs +17 -15
- package/dist/components/approve-mint-dialog.cjs.map +1 -1
- package/dist/components/approve-mint-dialog.js +17 -15
- package/dist/components/approve-mint-dialog.js.map +1 -1
- package/dist/components/archive-asset-dialog.cjs +13 -14
- package/dist/components/archive-asset-dialog.cjs.map +1 -1
- package/dist/components/archive-asset-dialog.js +13 -14
- package/dist/components/archive-asset-dialog.js.map +1 -1
- package/dist/components/archived-asset-notice.cjs +5 -2
- package/dist/components/archived-asset-notice.cjs.map +1 -1
- package/dist/components/archived-asset-notice.js +5 -2
- package/dist/components/archived-asset-notice.js.map +1 -1
- package/dist/components/asset-card.cjs +5 -3
- package/dist/components/asset-card.cjs.map +1 -1
- package/dist/components/asset-card.js +5 -3
- package/dist/components/asset-card.js.map +1 -1
- package/dist/components/asset-collection-bar.cjs +4 -2
- package/dist/components/asset-collection-bar.cjs.map +1 -1
- package/dist/components/asset-collection-bar.js +4 -2
- package/dist/components/asset-collection-bar.js.map +1 -1
- package/dist/components/asset-comments-dialog.cjs +3 -1
- package/dist/components/asset-comments-dialog.cjs.map +1 -1
- package/dist/components/asset-comments-dialog.js +3 -1
- package/dist/components/asset-comments-dialog.js.map +1 -1
- package/dist/components/asset-license-summary.cjs +3 -1
- package/dist/components/asset-license-summary.cjs.map +1 -1
- package/dist/components/asset-license-summary.js +3 -1
- package/dist/components/asset-license-summary.js.map +1 -1
- package/dist/components/asset-marketplace-panel.cjs +15 -17
- package/dist/components/asset-marketplace-panel.cjs.map +1 -1
- package/dist/components/asset-marketplace-panel.js +15 -17
- package/dist/components/asset-marketplace-panel.js.map +1 -1
- package/dist/components/asset-markets-tab.cjs +8 -6
- package/dist/components/asset-markets-tab.cjs.map +1 -1
- package/dist/components/asset-markets-tab.js +8 -6
- package/dist/components/asset-markets-tab.js.map +1 -1
- package/dist/components/asset-overview-content.cjs +15 -13
- package/dist/components/asset-overview-content.cjs.map +1 -1
- package/dist/components/asset-overview-content.js +15 -13
- package/dist/components/asset-overview-content.js.map +1 -1
- package/dist/components/asset-owners-panel.cjs +7 -6
- package/dist/components/asset-owners-panel.cjs.map +1 -1
- package/dist/components/asset-owners-panel.js +7 -6
- package/dist/components/asset-owners-panel.js.map +1 -1
- package/dist/components/asset-page.cjs +21 -17
- package/dist/components/asset-page.cjs.map +1 -1
- package/dist/components/asset-page.js +21 -17
- package/dist/components/asset-page.js.map +1 -1
- package/dist/components/asset-picker.cjs +12 -12
- package/dist/components/asset-picker.cjs.map +1 -1
- package/dist/components/asset-picker.js +12 -12
- package/dist/components/asset-picker.js.map +1 -1
- package/dist/components/asset-provenance-tab.cjs +26 -27
- package/dist/components/asset-provenance-tab.cjs.map +1 -1
- package/dist/components/asset-provenance-tab.js +26 -27
- package/dist/components/asset-provenance-tab.js.map +1 -1
- package/dist/components/asset-publication.cjs +3 -1
- package/dist/components/asset-publication.cjs.map +1 -1
- package/dist/components/asset-publication.js +3 -1
- package/dist/components/asset-publication.js.map +1 -1
- package/dist/components/asset-search-picker.cjs +4 -6
- package/dist/components/asset-search-picker.cjs.map +1 -1
- package/dist/components/asset-search-picker.js +4 -6
- package/dist/components/asset-search-picker.js.map +1 -1
- package/dist/components/asset-top-sections.cjs +3 -1
- package/dist/components/asset-top-sections.cjs.map +1 -1
- package/dist/components/asset-top-sections.js +3 -1
- package/dist/components/asset-top-sections.js.map +1 -1
- package/dist/components/asset-type-panels.cjs +17 -13
- package/dist/components/asset-type-panels.cjs.map +1 -1
- package/dist/components/asset-type-panels.js +17 -13
- package/dist/components/asset-type-panels.js.map +1 -1
- package/dist/components/asset-unavailable.cjs +5 -2
- package/dist/components/asset-unavailable.cjs.map +1 -1
- package/dist/components/asset-unavailable.js +5 -2
- package/dist/components/asset-unavailable.js.map +1 -1
- package/dist/components/asset-utility-icons.cjs +4 -2
- package/dist/components/asset-utility-icons.cjs.map +1 -1
- package/dist/components/asset-utility-icons.js +4 -2
- package/dist/components/asset-utility-icons.js.map +1 -1
- package/dist/components/asset-video.cjs +3 -4
- package/dist/components/asset-video.cjs.map +1 -1
- package/dist/components/asset-video.js +3 -4
- package/dist/components/asset-video.js.map +1 -1
- package/dist/components/back-button.cjs +3 -1
- package/dist/components/back-button.cjs.map +1 -1
- package/dist/components/back-button.js +3 -1
- package/dist/components/back-button.js.map +1 -1
- package/dist/components/badge.d.cts +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/button.d.cts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/cancel-order-confirm.cjs +4 -2
- package/dist/components/cancel-order-confirm.cjs.map +1 -1
- package/dist/components/cancel-order-confirm.js +4 -2
- package/dist/components/cancel-order-confirm.js.map +1 -1
- package/dist/components/claim-rail.cjs +5 -2
- package/dist/components/claim-rail.cjs.map +1 -1
- package/dist/components/claim-rail.js +5 -2
- package/dist/components/claim-rail.js.map +1 -1
- package/dist/components/club-owner-actions.cjs +3 -1
- package/dist/components/club-owner-actions.cjs.map +1 -1
- package/dist/components/club-owner-actions.js +3 -1
- package/dist/components/club-owner-actions.js.map +1 -1
- package/dist/components/coin-guarantees.cjs +13 -8
- package/dist/components/coin-guarantees.cjs.map +1 -1
- package/dist/components/coin-guarantees.js +13 -8
- package/dist/components/coin-guarantees.js.map +1 -1
- package/dist/components/coin-launch-preview.cjs +17 -14
- package/dist/components/coin-launch-preview.cjs.map +1 -1
- package/dist/components/coin-launch-preview.js +17 -14
- package/dist/components/coin-launch-preview.js.map +1 -1
- package/dist/components/coin-row.cjs +6 -3
- package/dist/components/coin-row.cjs.map +1 -1
- package/dist/components/coin-row.js +6 -3
- package/dist/components/coin-row.js.map +1 -1
- package/dist/components/coins-explorer.cjs +13 -10
- package/dist/components/coins-explorer.cjs.map +1 -1
- package/dist/components/coins-explorer.js +13 -10
- package/dist/components/coins-explorer.js.map +1 -1
- package/dist/components/collection-card.cjs +9 -5
- package/dist/components/collection-card.cjs.map +1 -1
- package/dist/components/collection-card.js +9 -5
- package/dist/components/collection-card.js.map +1 -1
- package/dist/components/collection-filters-dialog.cjs +6 -7
- package/dist/components/collection-filters-dialog.cjs.map +1 -1
- package/dist/components/collection-filters-dialog.js +6 -7
- package/dist/components/collection-filters-dialog.js.map +1 -1
- package/dist/components/collection-filters.cjs +14 -13
- package/dist/components/collection-filters.cjs.map +1 -1
- package/dist/components/collection-filters.js +14 -13
- package/dist/components/collection-filters.js.map +1 -1
- package/dist/components/collection-header.cjs +9 -5
- package/dist/components/collection-header.cjs.map +1 -1
- package/dist/components/collection-header.js +9 -5
- package/dist/components/collection-header.js.map +1 -1
- package/dist/components/collection-name-claim.cjs +10 -8
- package/dist/components/collection-name-claim.cjs.map +1 -1
- package/dist/components/collection-name-claim.js +10 -8
- package/dist/components/collection-name-claim.js.map +1 -1
- package/dist/components/collection-page.cjs +29 -23
- package/dist/components/collection-page.cjs.map +1 -1
- package/dist/components/collection-page.js +29 -23
- package/dist/components/collection-page.js.map +1 -1
- package/dist/components/collection-provenance-tab.cjs +19 -13
- package/dist/components/collection-provenance-tab.cjs.map +1 -1
- package/dist/components/collection-provenance-tab.js +19 -13
- package/dist/components/collection-provenance-tab.js.map +1 -1
- package/dist/components/collection-settings.cjs +59 -55
- package/dist/components/collection-settings.cjs.map +1 -1
- package/dist/components/collection-settings.js +59 -55
- package/dist/components/collection-settings.js.map +1 -1
- package/dist/components/collection-showcase.cjs +8 -4
- package/dist/components/collection-showcase.cjs.map +1 -1
- package/dist/components/collection-showcase.js +8 -4
- package/dist/components/collection-showcase.js.map +1 -1
- package/dist/components/collection-slug-claim.cjs +22 -24
- package/dist/components/collection-slug-claim.cjs.map +1 -1
- package/dist/components/collection-slug-claim.js +22 -24
- package/dist/components/collection-slug-claim.js.map +1 -1
- package/dist/components/collections-page.cjs +36 -30
- package/dist/components/collections-page.cjs.map +1 -1
- package/dist/components/collections-page.js +36 -30
- package/dist/components/collections-page.js.map +1 -1
- package/dist/components/comments-section.cjs +19 -16
- package/dist/components/comments-section.cjs.map +1 -1
- package/dist/components/comments-section.js +19 -16
- package/dist/components/comments-section.js.map +1 -1
- package/dist/components/create-sponsorship-aside.cjs +7 -5
- package/dist/components/create-sponsorship-aside.cjs.map +1 -1
- package/dist/components/create-sponsorship-aside.js +7 -5
- package/dist/components/create-sponsorship-aside.js.map +1 -1
- package/dist/components/creation-record.cjs +9 -5
- package/dist/components/creation-record.cjs.map +1 -1
- package/dist/components/creation-record.js +9 -5
- package/dist/components/creation-record.js.map +1 -1
- package/dist/components/creator-chip.cjs +3 -1
- package/dist/components/creator-chip.cjs.map +1 -1
- package/dist/components/creator-chip.js +3 -1
- package/dist/components/creator-chip.js.map +1 -1
- package/dist/components/creator-header.cjs +3 -1
- package/dist/components/creator-header.cjs.map +1 -1
- package/dist/components/creator-header.js +3 -1
- package/dist/components/creator-header.js.map +1 -1
- package/dist/components/creator-page.cjs +19 -16
- package/dist/components/creator-page.cjs.map +1 -1
- package/dist/components/creator-page.js +19 -16
- package/dist/components/creator-page.js.map +1 -1
- package/dist/components/cta-card-grid.cjs +4 -2
- package/dist/components/cta-card-grid.cjs.map +1 -1
- package/dist/components/cta-card-grid.js +4 -2
- package/dist/components/cta-card-grid.js.map +1 -1
- package/dist/components/dialog.cjs +25 -21
- package/dist/components/dialog.cjs.map +1 -1
- package/dist/components/dialog.js +25 -21
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/discover-community-section.cjs +8 -7
- package/dist/components/discover-community-section.cjs.map +1 -1
- package/dist/components/discover-community-section.js +8 -7
- package/dist/components/discover-community-section.js.map +1 -1
- package/dist/components/discover-features.cjs +18 -14
- package/dist/components/discover-features.cjs.map +1 -1
- package/dist/components/discover-features.js +18 -14
- package/dist/components/discover-features.js.map +1 -1
- package/dist/components/discover-feed-section.cjs +9 -7
- package/dist/components/discover-feed-section.cjs.map +1 -1
- package/dist/components/discover-feed-section.js +9 -7
- package/dist/components/discover-feed-section.js.map +1 -1
- package/dist/components/discover-hero.cjs +7 -3
- package/dist/components/discover-hero.cjs.map +1 -1
- package/dist/components/discover-hero.js +7 -3
- package/dist/components/discover-hero.js.map +1 -1
- package/dist/components/discover-page.cjs +3 -1
- package/dist/components/discover-page.cjs.map +1 -1
- package/dist/components/discover-page.js +3 -1
- package/dist/components/discover-page.js.map +1 -1
- package/dist/components/drop/create/artwork-section.cjs +9 -9
- package/dist/components/drop/create/artwork-section.cjs.map +1 -1
- package/dist/components/drop/create/artwork-section.js +9 -9
- package/dist/components/drop/create/artwork-section.js.map +1 -1
- package/dist/components/drop/create/details-section.cjs +19 -15
- package/dist/components/drop/create/details-section.cjs.map +1 -1
- package/dist/components/drop/create/details-section.js +19 -15
- package/dist/components/drop/create/details-section.js.map +1 -1
- package/dist/components/drop/create/drop-create.cjs +14 -9
- package/dist/components/drop/create/drop-create.cjs.map +1 -1
- package/dist/components/drop/create/drop-create.js +14 -9
- package/dist/components/drop/create/drop-create.js.map +1 -1
- package/dist/components/drop/create/exclusive-fields.cjs +7 -5
- package/dist/components/drop/create/exclusive-fields.cjs.map +1 -1
- package/dist/components/drop/create/exclusive-fields.js +7 -5
- package/dist/components/drop/create/exclusive-fields.js.map +1 -1
- package/dist/components/drop/create/launch-dialog.cjs +33 -34
- package/dist/components/drop/create/launch-dialog.cjs.map +1 -1
- package/dist/components/drop/create/launch-dialog.js +33 -34
- package/dist/components/drop/create/launch-dialog.js.map +1 -1
- package/dist/components/drop/create/list-section.cjs +8 -8
- package/dist/components/drop/create/list-section.cjs.map +1 -1
- package/dist/components/drop/create/list-section.js +8 -8
- package/dist/components/drop/create/list-section.js.map +1 -1
- package/dist/components/drop/create/sale-section.cjs +8 -6
- package/dist/components/drop/create/sale-section.cjs.map +1 -1
- package/dist/components/drop/create/sale-section.js +8 -6
- package/dist/components/drop/create/sale-section.js.map +1 -1
- package/dist/components/drop/drop-card.cjs +5 -3
- package/dist/components/drop/drop-card.cjs.map +1 -1
- package/dist/components/drop/drop-card.js +5 -3
- package/dist/components/drop/drop-card.js.map +1 -1
- package/dist/components/drop/drop-features.cjs +5 -4
- package/dist/components/drop/drop-features.cjs.map +1 -1
- package/dist/components/drop/drop-features.js +5 -4
- package/dist/components/drop/drop-features.js.map +1 -1
- package/dist/components/drop/drop-listing.cjs +11 -8
- package/dist/components/drop/drop-listing.cjs.map +1 -1
- package/dist/components/drop/drop-listing.js +11 -8
- package/dist/components/drop/drop-listing.js.map +1 -1
- package/dist/components/drop/drop-status.cjs +12 -16
- package/dist/components/drop/drop-status.cjs.map +1 -1
- package/dist/components/drop/drop-status.js +12 -16
- package/dist/components/drop/drop-status.js.map +1 -1
- package/dist/components/drop/drop-token-link.cjs +6 -3
- package/dist/components/drop/drop-token-link.cjs.map +1 -1
- package/dist/components/drop/drop-token-link.js +6 -3
- package/dist/components/drop/drop-token-link.js.map +1 -1
- package/dist/components/drop/my-drops.cjs +5 -3
- package/dist/components/drop/my-drops.cjs.map +1 -1
- package/dist/components/drop/my-drops.js +5 -3
- package/dist/components/drop/my-drops.js.map +1 -1
- package/dist/components/drop/page/drop-action-box.cjs +10 -9
- package/dist/components/drop/page/drop-action-box.cjs.map +1 -1
- package/dist/components/drop/page/drop-action-box.js +10 -9
- package/dist/components/drop/page/drop-action-box.js.map +1 -1
- package/dist/components/drop/page/drop-activity.cjs +3 -1
- package/dist/components/drop/page/drop-activity.cjs.map +1 -1
- package/dist/components/drop/page/drop-activity.js +3 -1
- package/dist/components/drop/page/drop-activity.js.map +1 -1
- package/dist/components/drop/page/drop-manage.cjs +30 -36
- package/dist/components/drop/page/drop-manage.cjs.map +1 -1
- package/dist/components/drop/page/drop-manage.js +30 -36
- package/dist/components/drop/page/drop-manage.js.map +1 -1
- package/dist/components/drop/page/drop-mint-dialog.cjs +10 -13
- package/dist/components/drop/page/drop-mint-dialog.cjs.map +1 -1
- package/dist/components/drop/page/drop-mint-dialog.js +10 -13
- package/dist/components/drop/page/drop-mint-dialog.js.map +1 -1
- package/dist/components/drop/page/drop-page.cjs +11 -9
- package/dist/components/drop/page/drop-page.cjs.map +1 -1
- package/dist/components/drop/page/drop-page.js +11 -9
- package/dist/components/drop/page/drop-page.js.map +1 -1
- package/dist/components/drop-item-list.cjs +9 -5
- package/dist/components/drop-item-list.cjs.map +1 -1
- package/dist/components/drop-item-list.js +9 -5
- package/dist/components/drop-item-list.js.map +1 -1
- package/dist/components/drops-page.cjs +4 -2
- package/dist/components/drops-page.cjs.map +1 -1
- package/dist/components/drops-page.js +4 -2
- package/dist/components/drops-page.js.map +1 -1
- package/dist/components/editions-page.cjs +21 -23
- package/dist/components/editions-page.cjs.map +1 -1
- package/dist/components/editions-page.js +21 -23
- package/dist/components/editions-page.js.map +1 -1
- package/dist/components/empty-or-error.cjs +5 -3
- package/dist/components/empty-or-error.cjs.map +1 -1
- package/dist/components/empty-or-error.js +5 -3
- package/dist/components/empty-or-error.js.map +1 -1
- package/dist/components/expandable-text.cjs +3 -1
- package/dist/components/expandable-text.cjs.map +1 -1
- package/dist/components/expandable-text.js +3 -1
- package/dist/components/expandable-text.js.map +1 -1
- package/dist/components/external-link-field.cjs +7 -4
- package/dist/components/external-link-field.cjs.map +1 -1
- package/dist/components/external-link-field.js +7 -4
- package/dist/components/external-link-field.js.map +1 -1
- package/dist/components/fast-mint/asset-form-parts.cjs +12 -8
- package/dist/components/fast-mint/asset-form-parts.cjs.map +1 -1
- package/dist/components/fast-mint/asset-form-parts.js +12 -8
- package/dist/components/fast-mint/asset-form-parts.js.map +1 -1
- package/dist/components/fast-mint/collection-section.cjs +11 -12
- package/dist/components/fast-mint/collection-section.cjs.map +1 -1
- package/dist/components/fast-mint/collection-section.js +11 -12
- package/dist/components/fast-mint/collection-section.js.map +1 -1
- package/dist/components/fast-mint/dropzone.cjs +7 -5
- package/dist/components/fast-mint/dropzone.cjs.map +1 -1
- package/dist/components/fast-mint/dropzone.js +7 -5
- package/dist/components/fast-mint/dropzone.js.map +1 -1
- package/dist/components/fast-mint/fast-mint.cjs +14 -11
- package/dist/components/fast-mint/fast-mint.cjs.map +1 -1
- package/dist/components/fast-mint/fast-mint.d.cts +2 -2
- package/dist/components/fast-mint/fast-mint.d.ts +2 -2
- package/dist/components/fast-mint/fast-mint.js +14 -11
- package/dist/components/fast-mint/fast-mint.js.map +1 -1
- package/dist/components/fast-mint/formats/nft.cjs +9 -6
- package/dist/components/fast-mint/formats/nft.cjs.map +1 -1
- package/dist/components/fast-mint/formats/nft.js +9 -6
- package/dist/components/fast-mint/formats/nft.js.map +1 -1
- package/dist/components/fast-mint/formats/pop.cjs +15 -12
- package/dist/components/fast-mint/formats/pop.cjs.map +1 -1
- package/dist/components/fast-mint/formats/pop.js +15 -12
- package/dist/components/fast-mint/formats/pop.js.map +1 -1
- package/dist/components/fast-mint/formats/tiers.cjs +9 -6
- package/dist/components/fast-mint/formats/tiers.cjs.map +1 -1
- package/dist/components/fast-mint/formats/tiers.js +9 -6
- package/dist/components/fast-mint/formats/tiers.js.map +1 -1
- package/dist/components/fast-mint/ip-type-section.cjs +6 -4
- package/dist/components/fast-mint/ip-type-section.cjs.map +1 -1
- package/dist/components/fast-mint/ip-type-section.js +6 -4
- package/dist/components/fast-mint/ip-type-section.js.map +1 -1
- package/dist/components/fast-mint/licensing-section.cjs +11 -9
- package/dist/components/fast-mint/licensing-section.cjs.map +1 -1
- package/dist/components/fast-mint/licensing-section.js +11 -9
- package/dist/components/fast-mint/licensing-section.js.map +1 -1
- package/dist/components/fast-mint/success-view.cjs +3 -1
- package/dist/components/fast-mint/success-view.cjs.map +1 -1
- package/dist/components/fast-mint/success-view.js +3 -1
- package/dist/components/fast-mint/success-view.js.map +1 -1
- package/dist/components/featured-carousel.cjs +13 -7
- package/dist/components/featured-carousel.cjs.map +1 -1
- package/dist/components/featured-carousel.js +13 -7
- package/dist/components/featured-carousel.js.map +1 -1
- package/dist/components/floating-comments-button.cjs +4 -2
- package/dist/components/floating-comments-button.cjs.map +1 -1
- package/dist/components/floating-comments-button.js +4 -2
- package/dist/components/floating-comments-button.js.map +1 -1
- package/dist/components/form.cjs +3 -1
- package/dist/components/form.cjs.map +1 -1
- package/dist/components/form.js +3 -1
- package/dist/components/form.js.map +1 -1
- package/dist/components/gated-content.cjs +14 -11
- package/dist/components/gated-content.cjs.map +1 -1
- package/dist/components/gated-content.js +14 -11
- package/dist/components/gated-content.js.map +1 -1
- package/dist/components/help-icon.cjs +3 -1
- package/dist/components/help-icon.cjs.map +1 -1
- package/dist/components/help-icon.js +3 -1
- package/dist/components/help-icon.js.map +1 -1
- package/dist/components/hidden-content-banner.cjs +4 -1
- package/dist/components/hidden-content-banner.cjs.map +1 -1
- package/dist/components/hidden-content-banner.js +4 -1
- package/dist/components/hidden-content-banner.js.map +1 -1
- package/dist/components/home-page.cjs +8 -4
- package/dist/components/home-page.cjs.map +1 -1
- package/dist/components/home-page.js +8 -4
- package/dist/components/home-page.js.map +1 -1
- package/dist/components/ip-type-display.cjs +12 -10
- package/dist/components/ip-type-display.cjs.map +1 -1
- package/dist/components/ip-type-display.js +12 -10
- package/dist/components/ip-type-display.js.map +1 -1
- package/dist/components/ip-type-fields.cjs +28 -28
- package/dist/components/ip-type-fields.cjs.map +1 -1
- package/dist/components/ip-type-fields.js +28 -28
- package/dist/components/ip-type-fields.js.map +1 -1
- package/dist/components/ip-type-nav.cjs +3 -1
- package/dist/components/ip-type-nav.cjs.map +1 -1
- package/dist/components/ip-type-nav.js +3 -1
- package/dist/components/ip-type-nav.js.map +1 -1
- package/dist/components/ip-type-page.cjs +41 -42
- package/dist/components/ip-type-page.cjs.map +1 -1
- package/dist/components/ip-type-page.js +41 -42
- package/dist/components/ip-type-page.js.map +1 -1
- package/dist/components/journey-content.cjs +18 -18
- package/dist/components/journey-content.cjs.map +1 -1
- package/dist/components/journey-content.js +18 -18
- package/dist/components/journey-content.js.map +1 -1
- package/dist/components/launchpad/coin-create.cjs +46 -49
- package/dist/components/launchpad/coin-create.cjs.map +1 -1
- package/dist/components/launchpad/coin-create.js +46 -49
- package/dist/components/launchpad/coin-create.js.map +1 -1
- package/dist/components/launchpad/collection-create-form.cjs +21 -17
- package/dist/components/launchpad/collection-create-form.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-form.js +21 -17
- package/dist/components/launchpad/collection-create-form.js.map +1 -1
- package/dist/components/launchpad/collection-create-presets.cjs +57 -56
- package/dist/components/launchpad/collection-create-presets.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-presets.js +57 -56
- package/dist/components/launchpad/collection-create-presets.js.map +1 -1
- package/dist/components/launchpad/collection-picker.cjs +15 -11
- package/dist/components/launchpad/collection-picker.cjs.map +1 -1
- package/dist/components/launchpad/collection-picker.js +15 -11
- package/dist/components/launchpad/collection-picker.js.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.cjs +48 -42
- package/dist/components/launchpad/edition-mint-fields.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.js +48 -42
- package/dist/components/launchpad/edition-mint-fields.js.map +1 -1
- package/dist/components/launchpad/edition-mint.cjs +16 -17
- package/dist/components/launchpad/edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint.js +16 -17
- package/dist/components/launchpad/edition-mint.js.map +1 -1
- package/dist/components/launchpad/pop-create-fields.cjs +40 -34
- package/dist/components/launchpad/pop-create-fields.cjs.map +1 -1
- package/dist/components/launchpad/pop-create-fields.js +40 -34
- package/dist/components/launchpad/pop-create-fields.js.map +1 -1
- package/dist/components/launchpad/pop-create-schema.cjs +3 -2
- package/dist/components/launchpad/pop-create-schema.cjs.map +1 -1
- package/dist/components/launchpad/pop-create-schema.js +3 -2
- package/dist/components/launchpad/pop-create-schema.js.map +1 -1
- package/dist/components/launchpad/pop-create.cjs +10 -8
- package/dist/components/launchpad/pop-create.cjs.map +1 -1
- package/dist/components/launchpad/pop-create.js +10 -8
- package/dist/components/launchpad/pop-create.js.map +1 -1
- package/dist/components/launchpad/remix-mint.cjs +50 -47
- package/dist/components/launchpad/remix-mint.cjs.map +1 -1
- package/dist/components/launchpad/remix-mint.js +50 -47
- package/dist/components/launchpad/remix-mint.js.map +1 -1
- package/dist/components/launchpad/single-edition-mint.cjs +46 -43
- package/dist/components/launchpad/single-edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/single-edition-mint.js +46 -43
- package/dist/components/launchpad/single-edition-mint.js.map +1 -1
- package/dist/components/launchpad/sponsorship-create.cjs +30 -27
- package/dist/components/launchpad/sponsorship-create.cjs.map +1 -1
- package/dist/components/launchpad/sponsorship-create.js +30 -27
- package/dist/components/launchpad/sponsorship-create.js.map +1 -1
- package/dist/components/launchpad/tier-mint-form.cjs +56 -48
- package/dist/components/launchpad/tier-mint-form.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-form.d.cts +2 -0
- package/dist/components/launchpad/tier-mint-form.d.ts +2 -0
- package/dist/components/launchpad/tier-mint-form.js +56 -48
- package/dist/components/launchpad/tier-mint-form.js.map +1 -1
- package/dist/components/launchpad/tier-mint-presets.cjs +33 -32
- package/dist/components/launchpad/tier-mint-presets.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-presets.d.cts +3 -1
- package/dist/components/launchpad/tier-mint-presets.d.ts +3 -1
- package/dist/components/launchpad/tier-mint-presets.js +33 -32
- package/dist/components/launchpad/tier-mint-presets.js.map +1 -1
- package/dist/components/launchpad-filter-bar.cjs +6 -4
- package/dist/components/launchpad-filter-bar.cjs.map +1 -1
- package/dist/components/launchpad-filter-bar.js +6 -4
- package/dist/components/launchpad-filter-bar.js.map +1 -1
- package/dist/components/launchpad-page.cjs +7 -5
- package/dist/components/launchpad-page.cjs.map +1 -1
- package/dist/components/launchpad-page.js +7 -5
- package/dist/components/launchpad-page.js.map +1 -1
- package/dist/components/launchpad-services.cjs +22 -14
- package/dist/components/launchpad-services.cjs.map +1 -1
- package/dist/components/launchpad-services.d.cts +4 -3
- package/dist/components/launchpad-services.d.ts +4 -3
- package/dist/components/launchpad-services.js +26 -16
- package/dist/components/launchpad-services.js.map +1 -1
- package/dist/components/launchpad-strip.cjs +9 -6
- package/dist/components/launchpad-strip.cjs.map +1 -1
- package/dist/components/launchpad-strip.js +10 -7
- package/dist/components/launchpad-strip.js.map +1 -1
- package/dist/components/license-request-page.cjs +27 -22
- package/dist/components/license-request-page.cjs.map +1 -1
- package/dist/components/license-request-page.js +27 -22
- package/dist/components/license-request-page.js.map +1 -1
- package/dist/components/license-terms-builder.cjs +38 -31
- package/dist/components/license-terms-builder.cjs.map +1 -1
- package/dist/components/license-terms-builder.js +38 -31
- package/dist/components/license-terms-builder.js.map +1 -1
- package/dist/components/link.cjs +18 -1
- package/dist/components/link.cjs.map +1 -1
- package/dist/components/link.d.cts +8 -2
- package/dist/components/link.d.ts +8 -2
- package/dist/components/link.js +19 -2
- package/dist/components/link.js.map +1 -1
- package/dist/components/listing-card-menu.cjs +6 -4
- package/dist/components/listing-card-menu.cjs.map +1 -1
- package/dist/components/listing-card-menu.js +6 -4
- package/dist/components/listing-card-menu.js.map +1 -1
- package/dist/components/listing-card.cjs +9 -4
- package/dist/components/listing-card.cjs.map +1 -1
- package/dist/components/listing-card.js +9 -4
- package/dist/components/listing-card.js.map +1 -1
- package/dist/components/listings-grid.cjs +6 -10
- package/dist/components/listings-grid.cjs.map +1 -1
- package/dist/components/listings-grid.js +6 -10
- package/dist/components/listings-grid.js.map +1 -1
- package/dist/components/make-offer-picker.cjs +13 -15
- package/dist/components/make-offer-picker.cjs.map +1 -1
- package/dist/components/make-offer-picker.js +13 -15
- package/dist/components/make-offer-picker.js.map +1 -1
- package/dist/components/marketplace-dialog-primitives.cjs +3 -1
- package/dist/components/marketplace-dialog-primitives.cjs.map +1 -1
- package/dist/components/marketplace-dialog-primitives.js +3 -1
- package/dist/components/marketplace-dialog-primitives.js.map +1 -1
- package/dist/components/marketplace-filters.cjs +27 -21
- package/dist/components/marketplace-filters.cjs.map +1 -1
- package/dist/components/marketplace-filters.js +27 -21
- package/dist/components/marketplace-filters.js.map +1 -1
- package/dist/components/marketplace-search.cjs +11 -9
- package/dist/components/marketplace-search.cjs.map +1 -1
- package/dist/components/marketplace-search.js +11 -9
- package/dist/components/marketplace-search.js.map +1 -1
- package/dist/components/media-wallet/action-modal.cjs +3 -1
- package/dist/components/media-wallet/action-modal.cjs.map +1 -1
- package/dist/components/media-wallet/action-modal.js +3 -1
- package/dist/components/media-wallet/action-modal.js.map +1 -1
- package/dist/components/media-wallet/activate-card.cjs +4 -2
- package/dist/components/media-wallet/activate-card.cjs.map +1 -1
- package/dist/components/media-wallet/activate-card.js +4 -2
- package/dist/components/media-wallet/activate-card.js.map +1 -1
- package/dist/components/media-wallet/back-button.cjs +4 -1
- package/dist/components/media-wallet/back-button.cjs.map +1 -1
- package/dist/components/media-wallet/back-button.js +4 -1
- package/dist/components/media-wallet/back-button.js.map +1 -1
- package/dist/components/media-wallet/media-wallet-activity.cjs +20 -13
- package/dist/components/media-wallet/media-wallet-activity.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-activity.js +20 -13
- package/dist/components/media-wallet/media-wallet-activity.js.map +1 -1
- package/dist/components/media-wallet/media-wallet-header.cjs +4 -2
- package/dist/components/media-wallet/media-wallet-header.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-header.js +4 -2
- package/dist/components/media-wallet/media-wallet-header.js.map +1 -1
- package/dist/components/media-wallet/media-wallet-home.cjs +25 -23
- package/dist/components/media-wallet/media-wallet-home.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-home.js +25 -23
- package/dist/components/media-wallet/media-wallet-home.js.map +1 -1
- package/dist/components/media-wallet/media-wallet-overlay.cjs +4 -2
- package/dist/components/media-wallet/media-wallet-overlay.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-overlay.js +4 -2
- package/dist/components/media-wallet/media-wallet-overlay.js.map +1 -1
- package/dist/components/media-wallet/media-wallet-send.cjs +30 -33
- package/dist/components/media-wallet/media-wallet-send.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-send.js +30 -33
- package/dist/components/media-wallet/media-wallet-send.js.map +1 -1
- package/dist/components/media-wallet/media-wallet-token-detail.cjs +11 -12
- package/dist/components/media-wallet/media-wallet-token-detail.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-token-detail.js +11 -12
- package/dist/components/media-wallet/media-wallet-token-detail.js.map +1 -1
- package/dist/components/media-wallet/nft-strip.cjs +3 -1
- package/dist/components/media-wallet/nft-strip.cjs.map +1 -1
- package/dist/components/media-wallet/nft-strip.js +3 -1
- package/dist/components/media-wallet/nft-strip.js.map +1 -1
- package/dist/components/media-wallet/receive-card.cjs +7 -5
- package/dist/components/media-wallet/receive-card.cjs.map +1 -1
- package/dist/components/media-wallet/receive-card.js +7 -5
- package/dist/components/media-wallet/receive-card.js.map +1 -1
- package/dist/components/media-wallet/success-dialog.cjs +3 -1
- package/dist/components/media-wallet/success-dialog.cjs.map +1 -1
- package/dist/components/media-wallet/success-dialog.js +3 -1
- package/dist/components/media-wallet/success-dialog.js.map +1 -1
- package/dist/components/medialane-collection-card.cjs +3 -1
- package/dist/components/medialane-collection-card.cjs.map +1 -1
- package/dist/components/medialane-collection-card.js +3 -1
- package/dist/components/medialane-collection-card.js.map +1 -1
- package/dist/components/more-menu.cjs +7 -5
- package/dist/components/more-menu.cjs.map +1 -1
- package/dist/components/more-menu.js +7 -5
- package/dist/components/more-menu.js.map +1 -1
- package/dist/components/nav-command-menu.cjs +28 -22
- package/dist/components/nav-command-menu.cjs.map +1 -1
- package/dist/components/nav-command-menu.d.cts +1 -1
- package/dist/components/nav-command-menu.d.ts +1 -1
- package/dist/components/nav-command-menu.js +28 -22
- package/dist/components/nav-command-menu.js.map +1 -1
- package/dist/components/nav-language-switch.cjs +56 -0
- package/dist/components/nav-language-switch.cjs.map +1 -0
- package/dist/components/nav-language-switch.d.cts +8 -0
- package/dist/components/nav-language-switch.d.ts +8 -0
- package/dist/components/nav-language-switch.js +32 -0
- package/dist/components/nav-language-switch.js.map +1 -0
- package/dist/components/nav-shell.cjs +7 -3
- package/dist/components/nav-shell.cjs.map +1 -1
- package/dist/components/nav-shell.js +7 -3
- package/dist/components/nav-shell.js.map +1 -1
- package/dist/components/nav-theme-toggle.cjs +5 -3
- package/dist/components/nav-theme-toggle.cjs.map +1 -1
- package/dist/components/nav-theme-toggle.js +5 -3
- package/dist/components/nav-theme-toggle.js.map +1 -1
- package/dist/components/new-collection-menu.cjs +8 -5
- package/dist/components/new-collection-menu.cjs.map +1 -1
- package/dist/components/new-collection-menu.js +8 -5
- package/dist/components/new-collection-menu.js.map +1 -1
- package/dist/components/order-fields.cjs +6 -7
- package/dist/components/order-fields.cjs.map +1 -1
- package/dist/components/order-fields.js +6 -7
- package/dist/components/order-fields.js.map +1 -1
- package/dist/components/parent-attribution-banner.cjs +3 -1
- package/dist/components/parent-attribution-banner.cjs.map +1 -1
- package/dist/components/parent-attribution-banner.js +3 -1
- package/dist/components/parent-attribution-banner.js.map +1 -1
- package/dist/components/pop-burn-button.cjs +7 -5
- package/dist/components/pop-burn-button.cjs.map +1 -1
- package/dist/components/pop-burn-button.js +7 -5
- package/dist/components/pop-burn-button.js.map +1 -1
- package/dist/components/pop-claim-button.cjs +6 -4
- package/dist/components/pop-claim-button.cjs.map +1 -1
- package/dist/components/pop-claim-button.js +6 -4
- package/dist/components/pop-claim-button.js.map +1 -1
- package/dist/components/pop-manage-page.cjs +28 -31
- package/dist/components/pop-manage-page.cjs.map +1 -1
- package/dist/components/pop-manage-page.js +28 -31
- package/dist/components/pop-manage-page.js.map +1 -1
- package/dist/components/pop-my-events-page.cjs +18 -12
- package/dist/components/pop-my-events-page.cjs.map +1 -1
- package/dist/components/pop-my-events-page.js +18 -12
- package/dist/components/pop-my-events-page.js.map +1 -1
- package/dist/components/portfolio-activity.cjs +6 -4
- package/dist/components/portfolio-activity.cjs.map +1 -1
- package/dist/components/portfolio-activity.js +6 -4
- package/dist/components/portfolio-activity.js.map +1 -1
- package/dist/components/portfolio-assets.cjs +5 -3
- package/dist/components/portfolio-assets.cjs.map +1 -1
- package/dist/components/portfolio-assets.js +5 -3
- package/dist/components/portfolio-assets.js.map +1 -1
- package/dist/components/portfolio-chip-filter.cjs +3 -1
- package/dist/components/portfolio-chip-filter.cjs.map +1 -1
- package/dist/components/portfolio-chip-filter.js +3 -1
- package/dist/components/portfolio-chip-filter.js.map +1 -1
- package/dist/components/portfolio-collections.cjs +7 -5
- package/dist/components/portfolio-collections.cjs.map +1 -1
- package/dist/components/portfolio-collections.js +7 -5
- package/dist/components/portfolio-collections.js.map +1 -1
- package/dist/components/portfolio-header.cjs +5 -4
- package/dist/components/portfolio-header.cjs.map +1 -1
- package/dist/components/portfolio-header.js +5 -4
- package/dist/components/portfolio-header.js.map +1 -1
- package/dist/components/portfolio-orders.cjs +19 -14
- package/dist/components/portfolio-orders.cjs.map +1 -1
- package/dist/components/portfolio-orders.js +19 -14
- package/dist/components/portfolio-orders.js.map +1 -1
- package/dist/components/portfolio-section.cjs +3 -1
- package/dist/components/portfolio-section.cjs.map +1 -1
- package/dist/components/portfolio-section.js +3 -1
- package/dist/components/portfolio-section.js.map +1 -1
- package/dist/components/portfolio-shell.cjs +15 -12
- package/dist/components/portfolio-shell.cjs.map +1 -1
- package/dist/components/portfolio-shell.js +15 -12
- package/dist/components/portfolio-shell.js.map +1 -1
- package/dist/components/portfolio-sponsorships.cjs +39 -31
- package/dist/components/portfolio-sponsorships.cjs.map +1 -1
- package/dist/components/portfolio-sponsorships.js +39 -31
- package/dist/components/portfolio-sponsorships.js.map +1 -1
- package/dist/components/price-history-chart.cjs +7 -6
- package/dist/components/price-history-chart.cjs.map +1 -1
- package/dist/components/price-history-chart.js +7 -6
- package/dist/components/price-history-chart.js.map +1 -1
- package/dist/components/remix-browse-page.cjs +14 -11
- package/dist/components/remix-browse-page.cjs.map +1 -1
- package/dist/components/remix-browse-page.js +14 -11
- package/dist/components/remix-browse-page.js.map +1 -1
- package/dist/components/remixes-tab.cjs +8 -11
- package/dist/components/remixes-tab.cjs.map +1 -1
- package/dist/components/remixes-tab.js +8 -11
- package/dist/components/remixes-tab.js.map +1 -1
- package/dist/components/report-dialog.cjs +25 -23
- package/dist/components/report-dialog.cjs.map +1 -1
- package/dist/components/report-dialog.js +25 -23
- package/dist/components/report-dialog.js.map +1 -1
- package/dist/components/rewards/badge-unlocked.cjs +4 -4
- package/dist/components/rewards/badge-unlocked.cjs.map +1 -1
- package/dist/components/rewards/badge-unlocked.js +4 -4
- package/dist/components/rewards/badge-unlocked.js.map +1 -1
- package/dist/components/rewards/leaderboard-panel.cjs +5 -3
- package/dist/components/rewards/leaderboard-panel.cjs.map +1 -1
- package/dist/components/rewards/leaderboard-panel.js +5 -3
- package/dist/components/rewards/leaderboard-panel.js.map +1 -1
- package/dist/components/rewards/leaderboard-table.cjs +13 -7
- package/dist/components/rewards/leaderboard-table.cjs.map +1 -1
- package/dist/components/rewards/leaderboard-table.js +13 -7
- package/dist/components/rewards/leaderboard-table.js.map +1 -1
- package/dist/components/rewards/level-journey-list.cjs +6 -4
- package/dist/components/rewards/level-journey-list.cjs.map +1 -1
- package/dist/components/rewards/level-journey-list.js +6 -4
- package/dist/components/rewards/level-journey-list.js.map +1 -1
- package/dist/components/rewards/level-up-celebration.cjs +3 -1
- package/dist/components/rewards/level-up-celebration.cjs.map +1 -1
- package/dist/components/rewards/level-up-celebration.js +3 -1
- package/dist/components/rewards/level-up-celebration.js.map +1 -1
- package/dist/components/rewards/rewards-dashboard.cjs +51 -41
- package/dist/components/rewards/rewards-dashboard.cjs.map +1 -1
- package/dist/components/rewards/rewards-dashboard.js +51 -41
- package/dist/components/rewards/rewards-dashboard.js.map +1 -1
- package/dist/components/rewards/score-summary-card.cjs +9 -13
- package/dist/components/rewards/score-summary-card.cjs.map +1 -1
- package/dist/components/rewards/score-summary-card.js +9 -13
- package/dist/components/rewards/score-summary-card.js.map +1 -1
- package/dist/components/rewards/xp-earned.cjs +6 -7
- package/dist/components/rewards/xp-earned.cjs.map +1 -1
- package/dist/components/rewards/xp-earned.js +6 -7
- package/dist/components/rewards/xp-earned.js.map +1 -1
- package/dist/components/rewards-page.cjs +4 -1
- package/dist/components/rewards-page.cjs.map +1 -1
- package/dist/components/rewards-page.js +4 -1
- package/dist/components/rewards-page.js.map +1 -1
- package/dist/components/rewards-section.cjs +8 -5
- package/dist/components/rewards-section.cjs.map +1 -1
- package/dist/components/rewards-section.js +8 -5
- package/dist/components/rewards-section.js.map +1 -1
- package/dist/components/route-error.cjs +5 -6
- package/dist/components/route-error.cjs.map +1 -1
- package/dist/components/route-error.js +5 -6
- package/dist/components/route-error.js.map +1 -1
- package/dist/components/router.cjs +19 -3
- package/dist/components/router.cjs.map +1 -1
- package/dist/components/router.d.cts +7 -1
- package/dist/components/router.d.ts +7 -1
- package/dist/components/router.js +17 -1
- package/dist/components/router.js.map +1 -1
- package/dist/components/search-page.cjs +13 -11
- package/dist/components/search-page.cjs.map +1 -1
- package/dist/components/search-page.js +13 -11
- package/dist/components/search-page.js.map +1 -1
- package/dist/components/service-collections-page.cjs +22 -19
- package/dist/components/service-collections-page.cjs.map +1 -1
- package/dist/components/service-collections-page.d.cts +12 -12
- package/dist/components/service-collections-page.d.ts +12 -12
- package/dist/components/service-collections-page.js +22 -19
- package/dist/components/service-collections-page.js.map +1 -1
- package/dist/components/settings-snapshots.cjs +16 -20
- package/dist/components/settings-snapshots.cjs.map +1 -1
- package/dist/components/settings-snapshots.js +16 -20
- package/dist/components/settings-snapshots.js.map +1 -1
- package/dist/components/share-button.cjs +3 -1
- package/dist/components/share-button.cjs.map +1 -1
- package/dist/components/share-button.js +3 -1
- package/dist/components/share-button.js.map +1 -1
- package/dist/components/sheet.cjs +22 -18
- package/dist/components/sheet.cjs.map +1 -1
- package/dist/components/sheet.js +22 -18
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sign-in-prompt.cjs +3 -1
- package/dist/components/sign-in-prompt.cjs.map +1 -1
- package/dist/components/sign-in-prompt.js +3 -1
- package/dist/components/sign-in-prompt.js.map +1 -1
- package/dist/components/soulbound-card.cjs +14 -9
- package/dist/components/soulbound-card.cjs.map +1 -1
- package/dist/components/soulbound-card.d.cts +1 -1
- package/dist/components/soulbound-card.d.ts +1 -1
- package/dist/components/soulbound-card.js +14 -9
- package/dist/components/soulbound-card.js.map +1 -1
- package/dist/components/sponsorship-offer-page.cjs +29 -24
- package/dist/components/sponsorship-offer-page.cjs.map +1 -1
- package/dist/components/sponsorship-offer-page.js +29 -24
- package/dist/components/sponsorship-offer-page.js.map +1 -1
- package/dist/components/sponsorship-offers-page.cjs +11 -9
- package/dist/components/sponsorship-offers-page.cjs.map +1 -1
- package/dist/components/sponsorship-offers-page.js +11 -9
- package/dist/components/sponsorship-offers-page.js.map +1 -1
- package/dist/components/stat-tile.cjs +4 -1
- package/dist/components/stat-tile.cjs.map +1 -1
- package/dist/components/stat-tile.js +4 -1
- package/dist/components/stat-tile.js.map +1 -1
- package/dist/components/token-card.cjs +20 -18
- package/dist/components/token-card.cjs.map +1 -1
- package/dist/components/token-card.js +20 -18
- package/dist/components/token-card.js.map +1 -1
- package/dist/components/transaction-dialog-states.cjs +3 -1
- package/dist/components/transaction-dialog-states.cjs.map +1 -1
- package/dist/components/transaction-dialog-states.d.cts +2 -0
- package/dist/components/transaction-dialog-states.d.ts +2 -0
- package/dist/components/transaction-dialog-states.js +3 -1
- package/dist/components/transaction-dialog-states.js.map +1 -1
- package/dist/components/transaction-dialog.cjs +5 -3
- package/dist/components/transaction-dialog.cjs.map +1 -1
- package/dist/components/transaction-dialog.js +5 -3
- package/dist/components/transaction-dialog.js.map +1 -1
- package/dist/components/transfer-collection-ownership.cjs +19 -16
- package/dist/components/transfer-collection-ownership.cjs.map +1 -1
- package/dist/components/transfer-collection-ownership.js +19 -16
- package/dist/components/transfer-collection-ownership.js.map +1 -1
- package/dist/components/transfer-dialog.cjs +16 -17
- package/dist/components/transfer-dialog.cjs.map +1 -1
- package/dist/components/transfer-dialog.js +16 -17
- package/dist/components/transfer-dialog.js.map +1 -1
- package/dist/components/wallet/export-key-section.cjs +8 -6
- package/dist/components/wallet/export-key-section.cjs.map +1 -1
- package/dist/components/wallet/export-key-section.js +8 -6
- package/dist/components/wallet/export-key-section.js.map +1 -1
- package/dist/components/wallet/self-fund-consent-dialog.cjs +10 -8
- package/dist/components/wallet/self-fund-consent-dialog.cjs.map +1 -1
- package/dist/components/wallet/self-fund-consent-dialog.js +10 -8
- package/dist/components/wallet/self-fund-consent-dialog.js.map +1 -1
- package/dist/components/wallet-required.cjs +3 -1
- package/dist/components/wallet-required.cjs.map +1 -1
- package/dist/components/wallet-required.js +3 -1
- package/dist/components/wallet-required.js.map +1 -1
- package/dist/data/activity.cjs +14 -13
- package/dist/data/activity.cjs.map +1 -1
- package/dist/data/activity.js +14 -13
- package/dist/data/activity.js.map +1 -1
- package/dist/data/coins.cjs +7 -5
- package/dist/data/coins.cjs.map +1 -1
- package/dist/data/coins.js +7 -5
- package/dist/data/coins.js.map +1 -1
- package/dist/data/gated-content-types.cjs +6 -5
- package/dist/data/gated-content-types.cjs.map +1 -1
- package/dist/data/gated-content-types.js +6 -5
- package/dist/data/gated-content-types.js.map +1 -1
- package/dist/data/ip-templates.cjs +27 -26
- package/dist/data/ip-templates.cjs.map +1 -1
- package/dist/data/ip-templates.js +27 -26
- package/dist/data/ip-templates.js.map +1 -1
- package/dist/data/ip-types.cjs +10 -9
- package/dist/data/ip-types.cjs.map +1 -1
- package/dist/data/ip-types.js +10 -9
- package/dist/data/ip-types.js.map +1 -1
- package/dist/data/ip.cjs +23 -22
- package/dist/data/ip.cjs.map +1 -1
- package/dist/data/ip.js +23 -22
- package/dist/data/ip.js.map +1 -1
- package/dist/data/launchpad-services.cjs +151 -129
- package/dist/data/launchpad-services.cjs.map +1 -1
- package/dist/data/launchpad-services.d.cts +4 -1
- package/dist/data/launchpad-services.d.ts +4 -1
- package/dist/data/launchpad-services.js +148 -128
- package/dist/data/launchpad-services.js.map +1 -1
- package/dist/data/nav-commands.cjs +48 -47
- package/dist/data/nav-commands.cjs.map +1 -1
- package/dist/data/nav-commands.js +48 -47
- package/dist/data/nav-commands.js.map +1 -1
- package/dist/i18n/catalogs.cjs +34 -0
- package/dist/i18n/catalogs.cjs.map +1 -0
- package/dist/i18n/catalogs.d.cts +6 -0
- package/dist/i18n/catalogs.d.ts +6 -0
- package/dist/i18n/catalogs.js +10 -0
- package/dist/i18n/catalogs.js.map +1 -0
- package/dist/i18n/format.cjs +68 -0
- package/dist/i18n/format.cjs.map +1 -0
- package/dist/i18n/format.d.cts +6 -0
- package/dist/i18n/format.d.ts +6 -0
- package/dist/i18n/format.js +41 -0
- package/dist/i18n/format.js.map +1 -0
- package/dist/i18n/index.cjs +83 -0
- package/dist/i18n/index.cjs.map +1 -0
- package/dist/i18n/index.d.cts +12 -0
- package/dist/i18n/index.d.ts +12 -0
- package/dist/i18n/index.js +37 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/language-choice.cjs +40 -0
- package/dist/i18n/language-choice.cjs.map +1 -0
- package/dist/i18n/language-choice.d.cts +12 -0
- package/dist/i18n/language-choice.d.ts +12 -0
- package/dist/i18n/language-choice.js +16 -0
- package/dist/i18n/language-choice.js.map +1 -0
- package/dist/i18n/locales.cjs +32 -0
- package/dist/i18n/locales.cjs.map +1 -0
- package/dist/i18n/locales.d.cts +9 -0
- package/dist/i18n/locales.d.ts +9 -0
- package/dist/i18n/locales.js +7 -0
- package/dist/i18n/locales.js.map +1 -0
- package/dist/i18n/localize-router.cjs +35 -0
- package/dist/i18n/localize-router.cjs.map +1 -0
- package/dist/i18n/localize-router.d.cts +8 -0
- package/dist/i18n/localize-router.d.ts +8 -0
- package/dist/i18n/localize-router.js +11 -0
- package/dist/i18n/localize-router.js.map +1 -0
- package/dist/i18n/make-t.cjs +43 -0
- package/dist/i18n/make-t.cjs.map +1 -0
- package/dist/i18n/make-t.d.cts +11 -0
- package/dist/i18n/make-t.d.ts +11 -0
- package/dist/i18n/make-t.js +18 -0
- package/dist/i18n/make-t.js.map +1 -0
- package/dist/i18n/provider.cjs +50 -0
- package/dist/i18n/provider.cjs.map +1 -0
- package/dist/i18n/provider.d.cts +14 -0
- package/dist/i18n/provider.d.ts +14 -0
- package/dist/i18n/provider.js +24 -0
- package/dist/i18n/provider.js.map +1 -0
- package/dist/i18n/resolve-locale.cjs +59 -0
- package/dist/i18n/resolve-locale.cjs.map +1 -0
- package/dist/i18n/resolve-locale.d.cts +16 -0
- package/dist/i18n/resolve-locale.d.ts +16 -0
- package/dist/i18n/resolve-locale.js +34 -0
- package/dist/i18n/resolve-locale.js.map +1 -0
- package/dist/i18n/translate.cjs +71 -0
- package/dist/i18n/translate.cjs.map +1 -0
- package/dist/i18n/translate.d.cts +21 -0
- package/dist/i18n/translate.d.ts +21 -0
- package/dist/i18n/translate.js +44 -0
- package/dist/i18n/translate.js.map +1 -0
- package/dist/i18n/use-format.cjs +42 -0
- package/dist/i18n/use-format.cjs.map +1 -0
- package/dist/i18n/use-format.d.cts +8 -0
- package/dist/i18n/use-format.d.ts +8 -0
- package/dist/i18n/use-format.js +18 -0
- package/dist/i18n/use-format.js.map +1 -0
- package/dist/i18n/with-locale.cjs +44 -0
- package/dist/i18n/with-locale.cjs.map +1 -0
- package/dist/i18n/with-locale.d.cts +4 -0
- package/dist/i18n/with-locale.d.ts +4 -0
- package/dist/i18n/with-locale.js +19 -0
- package/dist/i18n/with-locale.js.map +1 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/utils/describe-error.cjs +2 -1
- package/dist/utils/describe-error.cjs.map +1 -1
- package/dist/utils/describe-error.js +2 -1
- package/dist/utils/describe-error.js.map +1 -1
- package/dist/utils/drop/draft.cjs +2 -1
- package/dist/utils/drop/draft.cjs.map +1 -1
- package/dist/utils/drop/draft.js +2 -1
- package/dist/utils/drop/draft.js.map +1 -1
- package/dist/utils/drop/sale.cjs +2 -1
- package/dist/utils/drop/sale.cjs.map +1 -1
- package/dist/utils/drop/sale.js +2 -1
- package/dist/utils/drop/sale.js.map +1 -1
- package/dist/utils/drop/view.cjs +11 -8
- package/dist/utils/drop/view.cjs.map +1 -1
- package/dist/utils/drop/view.js +11 -8
- package/dist/utils/drop/view.js.map +1 -1
- package/dist/utils/empty-messages.cjs +17 -16
- package/dist/utils/empty-messages.cjs.map +1 -1
- package/dist/utils/empty-messages.js +17 -16
- package/dist/utils/empty-messages.js.map +1 -1
- package/dist/utils/format-activity.cjs +2 -1
- package/dist/utils/format-activity.cjs.map +1 -1
- package/dist/utils/format-activity.js +2 -1
- package/dist/utils/format-activity.js.map +1 -1
- package/dist/utils/format.cjs +14 -13
- package/dist/utils/format.cjs.map +1 -1
- package/dist/utils/format.d.cts +5 -5
- package/dist/utils/format.d.ts +5 -5
- package/dist/utils/format.js +14 -13
- package/dist/utils/format.js.map +1 -1
- package/dist/utils/ipfs-upload.cjs +6 -5
- package/dist/utils/ipfs-upload.cjs.map +1 -1
- package/dist/utils/ipfs-upload.js +6 -5
- package/dist/utils/ipfs-upload.js.map +1 -1
- package/dist/utils/media-wallet/wallet-format.cjs +5 -3
- package/dist/utils/media-wallet/wallet-format.cjs.map +1 -1
- package/dist/utils/media-wallet/wallet-format.d.cts +2 -2
- package/dist/utils/media-wallet/wallet-format.d.ts +2 -2
- package/dist/utils/media-wallet/wallet-format.js +5 -3
- package/dist/utils/media-wallet/wallet-format.js.map +1 -1
- package/dist/utils/success-messages.cjs +84 -79
- package/dist/utils/success-messages.cjs.map +1 -1
- package/dist/utils/success-messages.d.cts +33 -41
- package/dist/utils/success-messages.d.ts +33 -41
- package/dist/utils/success-messages.js +84 -79
- package/dist/utils/success-messages.js.map +1 -1
- package/dist/utils/token-profile-link.cjs +3 -2
- package/dist/utils/token-profile-link.cjs.map +1 -1
- package/dist/utils/token-profile-link.js +3 -2
- package/dist/utils/token-profile-link.js.map +1 -1
- package/dist/utils/wallet-failure.cjs +9 -8
- package/dist/utils/wallet-failure.cjs.map +1 -1
- package/dist/utils/wallet-failure.js +9 -8
- package/dist/utils/wallet-failure.js.map +1 -1
- package/package.json +7 -1
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
10
10
|
}
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "premium" | "tonal" | "gradient-border" | "gradient-fill" | null | undefined;
|
|
7
7
|
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "premium" | "tonal" | "gradient-border" | "gradient-fill" | null | undefined;
|
|
7
7
|
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -24,15 +24,17 @@ __export(cancel_order_confirm_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(cancel_order_confirm_exports);
|
|
25
25
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
26
26
|
var import_marketplace_dialog_primitives = require("./marketplace-dialog-primitives.js");
|
|
27
|
+
var import_provider = require("../i18n/provider.js");
|
|
27
28
|
function CancelOrderConfirm({ variant, name, image, price, error, onKeep, onConfirm }) {
|
|
29
|
+
const t = (0, import_provider.useT)();
|
|
28
30
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
29
31
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_marketplace_dialog_primitives.OrderSummaryHero, { name, image, price, tone: "destructive" }),
|
|
30
32
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
31
33
|
import_marketplace_dialog_primitives.MarketplaceConfirmStep,
|
|
32
34
|
{
|
|
33
|
-
description: "This order will be permanently removed onchain.",
|
|
35
|
+
description: t("This order will be permanently removed onchain."),
|
|
34
36
|
error,
|
|
35
|
-
secondaryLabel: "Keep it",
|
|
37
|
+
secondaryLabel: t("Keep it"),
|
|
36
38
|
onSecondary: onKeep,
|
|
37
39
|
primaryLabel: `Cancel ${variant}`,
|
|
38
40
|
onPrimary: onConfirm,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/cancel-order-confirm.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps } from \"react\";\nimport { MarketplaceConfirmStep, OrderSummaryHero } from \"./marketplace-dialog-primitives.js\";\n\nexport interface CancelOrderConfirmProps {\n variant: \"listing\" | \"offer\";\n name: string;\n image?: string | null;\n price?: ComponentProps<typeof OrderSummaryHero>[\"price\"];\n error?: string | null;\n onKeep: () => void;\n onConfirm: () => void;\n}\n\nexport function CancelOrderConfirm({ variant, name, image, price, error, onKeep, onConfirm }: CancelOrderConfirmProps) {\n return (\n <div>\n <OrderSummaryHero name={name} image={image} price={price} tone=\"destructive\" />\n <MarketplaceConfirmStep\n description
|
|
1
|
+
{"version":3,"sources":["../../src/components/cancel-order-confirm.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps } from \"react\";\nimport { MarketplaceConfirmStep, OrderSummaryHero } from \"./marketplace-dialog-primitives.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface CancelOrderConfirmProps {\n variant: \"listing\" | \"offer\";\n name: string;\n image?: string | null;\n price?: ComponentProps<typeof OrderSummaryHero>[\"price\"];\n error?: string | null;\n onKeep: () => void;\n onConfirm: () => void;\n}\n\nexport function CancelOrderConfirm({ variant, name, image, price, error, onKeep, onConfirm }: CancelOrderConfirmProps) {\n const t = useT();\n return (\n <div>\n <OrderSummaryHero name={name} image={image} price={price} tone=\"destructive\" />\n <MarketplaceConfirmStep\n description={t(\"This order will be permanently removed onchain.\")}\n error={error}\n secondaryLabel={t(\"Keep it\")}\n onSecondary={onKeep}\n primaryLabel={`Cancel ${variant}`}\n onPrimary={onConfirm}\n primaryVariant=\"destructive\"\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBI;AAhBJ,2CAAyD;AACzD,sBAAqB;AAYd,SAAS,mBAAmB,EAAE,SAAS,MAAM,OAAO,OAAO,OAAO,QAAQ,UAAU,GAA4B;AACrH,QAAM,QAAI,sBAAK;AACf,SACE,6CAAC,SACC;AAAA,gDAAC,yDAAiB,MAAY,OAAc,OAAc,MAAK,eAAc;AAAA,IAC7E;AAAA,MAAC;AAAA;AAAA,QACC,aAAa,EAAE,iDAAiD;AAAA,QAChE;AAAA,QACA,gBAAgB,EAAE,SAAS;AAAA,QAC3B,aAAa;AAAA,QACb,cAAc,UAAU,OAAO;AAAA,QAC/B,WAAW;AAAA,QACX,gBAAe;AAAA;AAAA,IACjB;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { MarketplaceConfirmStep, OrderSummaryHero } from "./marketplace-dialog-primitives.js";
|
|
4
|
+
import { useT } from "../i18n/provider.js";
|
|
4
5
|
function CancelOrderConfirm({ variant, name, image, price, error, onKeep, onConfirm }) {
|
|
6
|
+
const t = useT();
|
|
5
7
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
6
8
|
/* @__PURE__ */ jsx(OrderSummaryHero, { name, image, price, tone: "destructive" }),
|
|
7
9
|
/* @__PURE__ */ jsx(
|
|
8
10
|
MarketplaceConfirmStep,
|
|
9
11
|
{
|
|
10
|
-
description: "This order will be permanently removed onchain.",
|
|
12
|
+
description: t("This order will be permanently removed onchain."),
|
|
11
13
|
error,
|
|
12
|
-
secondaryLabel: "Keep it",
|
|
14
|
+
secondaryLabel: t("Keep it"),
|
|
13
15
|
onSecondary: onKeep,
|
|
14
16
|
primaryLabel: `Cancel ${variant}`,
|
|
15
17
|
onPrimary: onConfirm,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/cancel-order-confirm.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps } from \"react\";\nimport { MarketplaceConfirmStep, OrderSummaryHero } from \"./marketplace-dialog-primitives.js\";\n\nexport interface CancelOrderConfirmProps {\n variant: \"listing\" | \"offer\";\n name: string;\n image?: string | null;\n price?: ComponentProps<typeof OrderSummaryHero>[\"price\"];\n error?: string | null;\n onKeep: () => void;\n onConfirm: () => void;\n}\n\nexport function CancelOrderConfirm({ variant, name, image, price, error, onKeep, onConfirm }: CancelOrderConfirmProps) {\n return (\n <div>\n <OrderSummaryHero name={name} image={image} price={price} tone=\"destructive\" />\n <MarketplaceConfirmStep\n description
|
|
1
|
+
{"version":3,"sources":["../../src/components/cancel-order-confirm.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps } from \"react\";\nimport { MarketplaceConfirmStep, OrderSummaryHero } from \"./marketplace-dialog-primitives.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface CancelOrderConfirmProps {\n variant: \"listing\" | \"offer\";\n name: string;\n image?: string | null;\n price?: ComponentProps<typeof OrderSummaryHero>[\"price\"];\n error?: string | null;\n onKeep: () => void;\n onConfirm: () => void;\n}\n\nexport function CancelOrderConfirm({ variant, name, image, price, error, onKeep, onConfirm }: CancelOrderConfirmProps) {\n const t = useT();\n return (\n <div>\n <OrderSummaryHero name={name} image={image} price={price} tone=\"destructive\" />\n <MarketplaceConfirmStep\n description={t(\"This order will be permanently removed onchain.\")}\n error={error}\n secondaryLabel={t(\"Keep it\")}\n onSecondary={onKeep}\n primaryLabel={`Cancel ${variant}`}\n onPrimary={onConfirm}\n primaryVariant=\"destructive\"\n />\n </div>\n );\n}\n"],"mappings":";AAmBI,SACE,KADF;AAhBJ,SAAS,wBAAwB,wBAAwB;AACzD,SAAS,YAAY;AAYd,SAAS,mBAAmB,EAAE,SAAS,MAAM,OAAO,OAAO,OAAO,QAAQ,UAAU,GAA4B;AACrH,QAAM,IAAI,KAAK;AACf,SACE,qBAAC,SACC;AAAA,wBAAC,oBAAiB,MAAY,OAAc,OAAc,MAAK,eAAc;AAAA,IAC7E;AAAA,MAAC;AAAA;AAAA,QACC,aAAa,EAAE,iDAAiD;AAAA,QAChE;AAAA,QACA,gBAAgB,EAAE,SAAS;AAAA,QAC3B,aAAa;AAAA,QACb,cAAc,UAAU,OAAO;AAAA,QAC/B,WAAW;AAAA,QACX,gBAAe;AAAA;AAAA,IACjB;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
"use client";
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -24,6 +25,7 @@ module.exports = __toCommonJS(claim_rail_exports);
|
|
|
24
25
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
26
|
var import_lucide_react = require("lucide-react");
|
|
26
27
|
var import_cn = require("../utils/cn.js");
|
|
28
|
+
var import_provider = require("../i18n/provider.js");
|
|
27
29
|
function ClaimRail({
|
|
28
30
|
included,
|
|
29
31
|
steps,
|
|
@@ -34,9 +36,10 @@ function ClaimRail({
|
|
|
34
36
|
stepAccentClass = "bg-brand-purple/10 text-brand-purple",
|
|
35
37
|
trustAccentClass = "text-brand-orange"
|
|
36
38
|
}) {
|
|
39
|
+
const t = (0, import_provider.useT)();
|
|
37
40
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-2xl bg-muted/50 dark:bg-card divide-y divide-border/60 overflow-hidden", children: [
|
|
38
41
|
included && included.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "p-5", children: [
|
|
39
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "section-label", children: "What's included" }),
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "section-label", children: t("What's included") }),
|
|
40
43
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { className: "mt-4 space-y-4", children: included.map(({ icon: Icon, title, desc }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", { className: "flex items-start gap-3", children: [
|
|
41
44
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_cn.cn)("h-8 w-8 rounded-lg flex items-center justify-center shrink-0", includedAccentClass), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: "h-4 w-4" }) }),
|
|
42
45
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "min-w-0", children: [
|
|
@@ -46,7 +49,7 @@ function ClaimRail({
|
|
|
46
49
|
] }, title)) })
|
|
47
50
|
] }),
|
|
48
51
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "p-5", children: [
|
|
49
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "section-label", children: "How it works" }),
|
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "section-label", children: t("How it works") }),
|
|
50
53
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("ol", { className: "mt-4 space-y-3", children: steps.map((label, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", { className: "flex items-center gap-3", children: [
|
|
51
54
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_cn.cn)("h-8 w-8 rounded-lg flex items-center justify-center shrink-0 text-sm font-bold tabular-nums", stepAccentClass), children: i + 1 }),
|
|
52
55
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-sm text-foreground/90", children: label })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/claim-rail.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/components/claim-rail.tsx"],"sourcesContent":["\"use client\";\n\nimport { ShieldCheck, type LucideIcon } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface ClaimRailProps {\n\n included?: { icon: LucideIcon; title: string; desc: string }[];\n\n steps: string[];\n\n trustLead: string;\n trust: string;\n\n trustIcon?: LucideIcon;\n\n includedAccentClass?: string;\n stepAccentClass?: string;\n trustAccentClass?: string;\n}\n\nexport function ClaimRail({\n included,\n steps,\n trustLead,\n trust,\n trustIcon: TrustIcon = ShieldCheck,\n includedAccentClass = \"bg-brand-blue/10 text-brand-blue\",\n stepAccentClass = \"bg-brand-purple/10 text-brand-purple\",\n trustAccentClass = \"text-brand-orange\",\n}: ClaimRailProps) {\n const t = useT();\n return (\n <div className=\"rounded-2xl bg-muted/50 dark:bg-card divide-y divide-border/60 overflow-hidden\">\n {included && included.length > 0 && (\n <section className=\"p-5\">\n <p className=\"section-label\">{t(\"What's included\")}</p>\n <ul className=\"mt-4 space-y-4\">\n {included.map(({ icon: Icon, title, desc }) => (\n <li key={title} className=\"flex items-start gap-3\">\n <div className={cn(\"h-8 w-8 rounded-lg flex items-center justify-center shrink-0\", includedAccentClass)}>\n <Icon className=\"h-4 w-4\" />\n </div>\n <div className=\"min-w-0\">\n <p className=\"text-sm font-semibold text-foreground\">{title}</p>\n <p className=\"text-sm text-muted-foreground leading-relaxed mt-0.5\">{desc}</p>\n </div>\n </li>\n ))}\n </ul>\n </section>\n )}\n\n <section className=\"p-5\">\n <p className=\"section-label\">{t(\"How it works\")}</p>\n <ol className=\"mt-4 space-y-3\">\n {steps.map((label, i) => (\n <li key={label} className=\"flex items-center gap-3\">\n <span className={cn(\"h-8 w-8 rounded-lg flex items-center justify-center shrink-0 text-sm font-bold tabular-nums\", stepAccentClass)}>\n {i + 1}\n </span>\n <span className=\"text-sm text-foreground/90\">{label}</span>\n </li>\n ))}\n </ol>\n </section>\n\n <section className=\"p-5 bg-muted/40 flex items-start gap-3\">\n <TrustIcon className={cn(\"h-5 w-5 shrink-0 mt-0.5\", trustAccentClass)} />\n <p className=\"text-sm text-muted-foreground leading-relaxed\">\n <span className=\"font-semibold text-foreground\">{trustLead}</span> {trust}\n </p>\n </section>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqCU;AAnCV,0BAA6C;AAC7C,gBAAmB;AACnB,sBAAqB;AAkBd,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW,YAAY;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,mBAAmB;AACrB,GAAmB;AACjB,QAAM,QAAI,sBAAK;AACf,SACE,6CAAC,SAAI,WAAU,kFACZ;AAAA,gBAAY,SAAS,SAAS,KAC7B,6CAAC,aAAQ,WAAU,OACjB;AAAA,kDAAC,OAAE,WAAU,iBAAiB,YAAE,iBAAiB,GAAE;AAAA,MACnD,4CAAC,QAAG,WAAU,kBACX,mBAAS,IAAI,CAAC,EAAE,MAAM,MAAM,OAAO,KAAK,MACvC,6CAAC,QAAe,WAAU,0BACxB;AAAA,oDAAC,SAAI,eAAW,cAAG,gEAAgE,mBAAmB,GACpG,sDAAC,QAAK,WAAU,WAAU,GAC5B;AAAA,QACA,6CAAC,SAAI,WAAU,WACb;AAAA,sDAAC,OAAE,WAAU,yCAAyC,iBAAM;AAAA,UAC5D,4CAAC,OAAE,WAAU,wDAAwD,gBAAK;AAAA,WAC5E;AAAA,WAPO,KAQT,CACD,GACH;AAAA,OACF;AAAA,IAGF,6CAAC,aAAQ,WAAU,OACjB;AAAA,kDAAC,OAAE,WAAU,iBAAiB,YAAE,cAAc,GAAE;AAAA,MAChD,4CAAC,QAAG,WAAU,kBACX,gBAAM,IAAI,CAAC,OAAO,MACjB,6CAAC,QAAe,WAAU,2BACxB;AAAA,oDAAC,UAAK,eAAW,cAAG,+FAA+F,eAAe,GAC/H,cAAI,GACP;AAAA,QACA,4CAAC,UAAK,WAAU,8BAA8B,iBAAM;AAAA,WAJ7C,KAKT,CACD,GACH;AAAA,OACF;AAAA,IAEA,6CAAC,aAAQ,WAAU,0CACjB;AAAA,kDAAC,aAAU,eAAW,cAAG,2BAA2B,gBAAgB,GAAG;AAAA,MACvE,6CAAC,OAAE,WAAU,iDACX;AAAA,oDAAC,UAAK,WAAU,iCAAiC,qBAAU;AAAA,QAAO;AAAA,QAAE;AAAA,SACtE;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { ShieldCheck } from "lucide-react";
|
|
3
4
|
import { cn } from "../utils/cn.js";
|
|
5
|
+
import { useT } from "../i18n/provider.js";
|
|
4
6
|
function ClaimRail({
|
|
5
7
|
included,
|
|
6
8
|
steps,
|
|
@@ -11,9 +13,10 @@ function ClaimRail({
|
|
|
11
13
|
stepAccentClass = "bg-brand-purple/10 text-brand-purple",
|
|
12
14
|
trustAccentClass = "text-brand-orange"
|
|
13
15
|
}) {
|
|
16
|
+
const t = useT();
|
|
14
17
|
return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl bg-muted/50 dark:bg-card divide-y divide-border/60 overflow-hidden", children: [
|
|
15
18
|
included && included.length > 0 && /* @__PURE__ */ jsxs("section", { className: "p-5", children: [
|
|
16
|
-
/* @__PURE__ */ jsx("p", { className: "section-label", children: "What's included" }),
|
|
19
|
+
/* @__PURE__ */ jsx("p", { className: "section-label", children: t("What's included") }),
|
|
17
20
|
/* @__PURE__ */ jsx("ul", { className: "mt-4 space-y-4", children: included.map(({ icon: Icon, title, desc }) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-3", children: [
|
|
18
21
|
/* @__PURE__ */ jsx("div", { className: cn("h-8 w-8 rounded-lg flex items-center justify-center shrink-0", includedAccentClass), children: /* @__PURE__ */ jsx(Icon, { className: "h-4 w-4" }) }),
|
|
19
22
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
@@ -23,7 +26,7 @@ function ClaimRail({
|
|
|
23
26
|
] }, title)) })
|
|
24
27
|
] }),
|
|
25
28
|
/* @__PURE__ */ jsxs("section", { className: "p-5", children: [
|
|
26
|
-
/* @__PURE__ */ jsx("p", { className: "section-label", children: "How it works" }),
|
|
29
|
+
/* @__PURE__ */ jsx("p", { className: "section-label", children: t("How it works") }),
|
|
27
30
|
/* @__PURE__ */ jsx("ol", { className: "mt-4 space-y-3", children: steps.map((label, i) => /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-3", children: [
|
|
28
31
|
/* @__PURE__ */ jsx("span", { className: cn("h-8 w-8 rounded-lg flex items-center justify-center shrink-0 text-sm font-bold tabular-nums", stepAccentClass), children: i + 1 }),
|
|
29
32
|
/* @__PURE__ */ jsx("span", { className: "text-sm text-foreground/90", children: label })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/claim-rail.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/components/claim-rail.tsx"],"sourcesContent":["\"use client\";\n\nimport { ShieldCheck, type LucideIcon } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface ClaimRailProps {\n\n included?: { icon: LucideIcon; title: string; desc: string }[];\n\n steps: string[];\n\n trustLead: string;\n trust: string;\n\n trustIcon?: LucideIcon;\n\n includedAccentClass?: string;\n stepAccentClass?: string;\n trustAccentClass?: string;\n}\n\nexport function ClaimRail({\n included,\n steps,\n trustLead,\n trust,\n trustIcon: TrustIcon = ShieldCheck,\n includedAccentClass = \"bg-brand-blue/10 text-brand-blue\",\n stepAccentClass = \"bg-brand-purple/10 text-brand-purple\",\n trustAccentClass = \"text-brand-orange\",\n}: ClaimRailProps) {\n const t = useT();\n return (\n <div className=\"rounded-2xl bg-muted/50 dark:bg-card divide-y divide-border/60 overflow-hidden\">\n {included && included.length > 0 && (\n <section className=\"p-5\">\n <p className=\"section-label\">{t(\"What's included\")}</p>\n <ul className=\"mt-4 space-y-4\">\n {included.map(({ icon: Icon, title, desc }) => (\n <li key={title} className=\"flex items-start gap-3\">\n <div className={cn(\"h-8 w-8 rounded-lg flex items-center justify-center shrink-0\", includedAccentClass)}>\n <Icon className=\"h-4 w-4\" />\n </div>\n <div className=\"min-w-0\">\n <p className=\"text-sm font-semibold text-foreground\">{title}</p>\n <p className=\"text-sm text-muted-foreground leading-relaxed mt-0.5\">{desc}</p>\n </div>\n </li>\n ))}\n </ul>\n </section>\n )}\n\n <section className=\"p-5\">\n <p className=\"section-label\">{t(\"How it works\")}</p>\n <ol className=\"mt-4 space-y-3\">\n {steps.map((label, i) => (\n <li key={label} className=\"flex items-center gap-3\">\n <span className={cn(\"h-8 w-8 rounded-lg flex items-center justify-center shrink-0 text-sm font-bold tabular-nums\", stepAccentClass)}>\n {i + 1}\n </span>\n <span className=\"text-sm text-foreground/90\">{label}</span>\n </li>\n ))}\n </ol>\n </section>\n\n <section className=\"p-5 bg-muted/40 flex items-start gap-3\">\n <TrustIcon className={cn(\"h-5 w-5 shrink-0 mt-0.5\", trustAccentClass)} />\n <p className=\"text-sm text-muted-foreground leading-relaxed\">\n <span className=\"font-semibold text-foreground\">{trustLead}</span> {trust}\n </p>\n </section>\n </div>\n );\n}\n"],"mappings":";AAqCU,cAOM,YAPN;AAnCV,SAAS,mBAAoC;AAC7C,SAAS,UAAU;AACnB,SAAS,YAAY;AAkBd,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW,YAAY;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,mBAAmB;AACrB,GAAmB;AACjB,QAAM,IAAI,KAAK;AACf,SACE,qBAAC,SAAI,WAAU,kFACZ;AAAA,gBAAY,SAAS,SAAS,KAC7B,qBAAC,aAAQ,WAAU,OACjB;AAAA,0BAAC,OAAE,WAAU,iBAAiB,YAAE,iBAAiB,GAAE;AAAA,MACnD,oBAAC,QAAG,WAAU,kBACX,mBAAS,IAAI,CAAC,EAAE,MAAM,MAAM,OAAO,KAAK,MACvC,qBAAC,QAAe,WAAU,0BACxB;AAAA,4BAAC,SAAI,WAAW,GAAG,gEAAgE,mBAAmB,GACpG,8BAAC,QAAK,WAAU,WAAU,GAC5B;AAAA,QACA,qBAAC,SAAI,WAAU,WACb;AAAA,8BAAC,OAAE,WAAU,yCAAyC,iBAAM;AAAA,UAC5D,oBAAC,OAAE,WAAU,wDAAwD,gBAAK;AAAA,WAC5E;AAAA,WAPO,KAQT,CACD,GACH;AAAA,OACF;AAAA,IAGF,qBAAC,aAAQ,WAAU,OACjB;AAAA,0BAAC,OAAE,WAAU,iBAAiB,YAAE,cAAc,GAAE;AAAA,MAChD,oBAAC,QAAG,WAAU,kBACX,gBAAM,IAAI,CAAC,OAAO,MACjB,qBAAC,QAAe,WAAU,2BACxB;AAAA,4BAAC,UAAK,WAAW,GAAG,+FAA+F,eAAe,GAC/H,cAAI,GACP;AAAA,QACA,oBAAC,UAAK,WAAU,8BAA8B,iBAAM;AAAA,WAJ7C,KAKT,CACD,GACH;AAAA,OACF;AAAA,IAEA,qBAAC,aAAQ,WAAU,0CACjB;AAAA,0BAAC,aAAU,WAAW,GAAG,2BAA2B,gBAAgB,GAAG;AAAA,MACvE,qBAAC,OAAE,WAAU,iDACX;AAAA,4BAAC,UAAK,WAAU,iCAAiC,qBAAU;AAAA,QAAO;AAAA,QAAE;AAAA,SACtE;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -35,7 +35,9 @@ module.exports = __toCommonJS(club_owner_actions_exports);
|
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
36
|
var import_link = __toESM(require("./link.js"), 1);
|
|
37
37
|
var import_lucide_react = require("lucide-react");
|
|
38
|
+
var import_provider = require("../i18n/provider.js");
|
|
38
39
|
function ClubOwnerActions({ contractAddress, isOwner }) {
|
|
40
|
+
const t = (0, import_provider.useT)();
|
|
39
41
|
if (!isOwner) return null;
|
|
40
42
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "btn-border-animated p-[1px] rounded-xl", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
41
43
|
import_link.default,
|
|
@@ -44,7 +46,7 @@ function ClubOwnerActions({ contractAddress, isOwner }) {
|
|
|
44
46
|
className: "flex items-center gap-2 h-10 px-5 rounded-[11px] text-sm font-semibold text-white bg-transparent hover:brightness-110 active:scale-[0.98] transition",
|
|
45
47
|
children: [
|
|
46
48
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Users, { className: "h-4 w-4" }),
|
|
47
|
-
"Create membership"
|
|
49
|
+
t("Create membership")
|
|
48
50
|
]
|
|
49
51
|
}
|
|
50
52
|
) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/club-owner-actions.tsx"],"sourcesContent":["\"use client\";\n\nimport Link from \"./link.js\";\nimport { Users } from \"lucide-react\";\n\nexport interface ClubOwnerActionsProps {\n contractAddress: string;\n\n isOwner: boolean;\n}\n\nexport function ClubOwnerActions({ contractAddress, isOwner }: ClubOwnerActionsProps) {\n if (!isOwner) return null;\n\n return (\n <div className=\"btn-border-animated p-[1px] rounded-xl\">\n <Link\n href={`/launchpad/club/${contractAddress}/mint`}\n className=\"flex items-center gap-2 h-10 px-5 rounded-[11px] text-sm font-semibold text-white bg-transparent hover:brightness-110 active:scale-[0.98] transition\"\n >\n <Users className=\"h-4 w-4\" />\n Create membership\n </Link>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sources":["../../src/components/club-owner-actions.tsx"],"sourcesContent":["\"use client\";\n\nimport Link from \"./link.js\";\nimport { Users } from \"lucide-react\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface ClubOwnerActionsProps {\n contractAddress: string;\n\n isOwner: boolean;\n}\n\nexport function ClubOwnerActions({ contractAddress, isOwner }: ClubOwnerActionsProps) {\n const t = useT();\n if (!isOwner) return null;\n\n return (\n <div className=\"btn-border-animated p-[1px] rounded-xl\">\n <Link\n href={`/launchpad/club/${contractAddress}/mint`}\n className=\"flex items-center gap-2 h-10 px-5 rounded-[11px] text-sm font-semibold text-white bg-transparent hover:brightness-110 active:scale-[0.98] transition\"\n >\n <Users className=\"h-4 w-4\" />\n {t(\"Create membership\")}\n </Link>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAkBM;AAhBN,kBAAiB;AACjB,0BAAsB;AACtB,sBAAqB;AAQd,SAAS,iBAAiB,EAAE,iBAAiB,QAAQ,GAA0B;AACpF,QAAM,QAAI,sBAAK;AACf,MAAI,CAAC,QAAS,QAAO;AAErB,SACE,4CAAC,SAAI,WAAU,0CACb;AAAA,IAAC,YAAAA;AAAA,IAAA;AAAA,MACC,MAAM,mBAAmB,eAAe;AAAA,MACxC,WAAU;AAAA,MAEV;AAAA,oDAAC,6BAAM,WAAU,WAAU;AAAA,QAC1B,EAAE,mBAAmB;AAAA;AAAA;AAAA,EACxB,GACF;AAEJ;","names":["Link"]}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import Link from "./link.js";
|
|
4
4
|
import { Users } from "lucide-react";
|
|
5
|
+
import { useT } from "../i18n/provider.js";
|
|
5
6
|
function ClubOwnerActions({ contractAddress, isOwner }) {
|
|
7
|
+
const t = useT();
|
|
6
8
|
if (!isOwner) return null;
|
|
7
9
|
return /* @__PURE__ */ jsx("div", { className: "btn-border-animated p-[1px] rounded-xl", children: /* @__PURE__ */ jsxs(
|
|
8
10
|
Link,
|
|
@@ -11,7 +13,7 @@ function ClubOwnerActions({ contractAddress, isOwner }) {
|
|
|
11
13
|
className: "flex items-center gap-2 h-10 px-5 rounded-[11px] text-sm font-semibold text-white bg-transparent hover:brightness-110 active:scale-[0.98] transition",
|
|
12
14
|
children: [
|
|
13
15
|
/* @__PURE__ */ jsx(Users, { className: "h-4 w-4" }),
|
|
14
|
-
"Create membership"
|
|
16
|
+
t("Create membership")
|
|
15
17
|
]
|
|
16
18
|
}
|
|
17
19
|
) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/club-owner-actions.tsx"],"sourcesContent":["\"use client\";\n\nimport Link from \"./link.js\";\nimport { Users } from \"lucide-react\";\n\nexport interface ClubOwnerActionsProps {\n contractAddress: string;\n\n isOwner: boolean;\n}\n\nexport function ClubOwnerActions({ contractAddress, isOwner }: ClubOwnerActionsProps) {\n if (!isOwner) return null;\n\n return (\n <div className=\"btn-border-animated p-[1px] rounded-xl\">\n <Link\n href={`/launchpad/club/${contractAddress}/mint`}\n className=\"flex items-center gap-2 h-10 px-5 rounded-[11px] text-sm font-semibold text-white bg-transparent hover:brightness-110 active:scale-[0.98] transition\"\n >\n <Users className=\"h-4 w-4\" />\n Create membership\n </Link>\n </div>\n );\n}\n"],"mappings":";
|
|
1
|
+
{"version":3,"sources":["../../src/components/club-owner-actions.tsx"],"sourcesContent":["\"use client\";\n\nimport Link from \"./link.js\";\nimport { Users } from \"lucide-react\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface ClubOwnerActionsProps {\n contractAddress: string;\n\n isOwner: boolean;\n}\n\nexport function ClubOwnerActions({ contractAddress, isOwner }: ClubOwnerActionsProps) {\n const t = useT();\n if (!isOwner) return null;\n\n return (\n <div className=\"btn-border-animated p-[1px] rounded-xl\">\n <Link\n href={`/launchpad/club/${contractAddress}/mint`}\n className=\"flex items-center gap-2 h-10 px-5 rounded-[11px] text-sm font-semibold text-white bg-transparent hover:brightness-110 active:scale-[0.98] transition\"\n >\n <Users className=\"h-4 w-4\" />\n {t(\"Create membership\")}\n </Link>\n </div>\n );\n}\n"],"mappings":";AAkBM,SAIE,KAJF;AAhBN,OAAO,UAAU;AACjB,SAAS,aAAa;AACtB,SAAS,YAAY;AAQd,SAAS,iBAAiB,EAAE,iBAAiB,QAAQ,GAA0B;AACpF,QAAM,IAAI,KAAK;AACf,MAAI,CAAC,QAAS,QAAO;AAErB,SACE,oBAAC,SAAI,WAAU,0CACb;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,mBAAmB,eAAe;AAAA,MACxC,WAAU;AAAA,MAEV;AAAA,4BAAC,SAAM,WAAU,WAAU;AAAA,QAC1B,EAAE,mBAAmB;AAAA;AAAA;AAAA,EACxB,GACF;AAEJ;","names":[]}
|
|
@@ -25,6 +25,9 @@ module.exports = __toCommonJS(coin_guarantees_exports);
|
|
|
25
25
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
26
26
|
var import_lucide_react = require("lucide-react");
|
|
27
27
|
var import_cn = require("../utils/cn.js");
|
|
28
|
+
var import_provider = require("../i18n/provider.js");
|
|
29
|
+
var import_use_format = require("../i18n/use-format.js");
|
|
30
|
+
var import_format = require("../i18n/format.js");
|
|
28
31
|
function whole(raw, decimals) {
|
|
29
32
|
try {
|
|
30
33
|
const units = BigInt(raw);
|
|
@@ -35,7 +38,7 @@ function whole(raw, decimals) {
|
|
|
35
38
|
return null;
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
|
-
const compact = (n) =>
|
|
41
|
+
const compact = (n) => (0, import_format.formatNumber)(n, void 0, { notation: "compact", maximumFractionDigits: 2 });
|
|
39
42
|
function Line({
|
|
40
43
|
label,
|
|
41
44
|
value,
|
|
@@ -71,6 +74,8 @@ function CoinGuarantees({
|
|
|
71
74
|
blockUrl,
|
|
72
75
|
className
|
|
73
76
|
}) {
|
|
77
|
+
const intl = (0, import_use_format.useFormat)();
|
|
78
|
+
const t = (0, import_provider.useT)();
|
|
74
79
|
if (isLoading) {
|
|
75
80
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_cn.cn)("space-y-2.5", className), children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-9 animate-pulse rounded bg-muted-foreground/10" }, i)) });
|
|
76
81
|
}
|
|
@@ -79,11 +84,11 @@ function CoinGuarantees({
|
|
|
79
84
|
const allocation = whole(data.teamAllocationRaw, decimals);
|
|
80
85
|
const pct = data.teamAllocationPercent;
|
|
81
86
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className, children: [
|
|
82
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mb-1 text-2xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Guaranteed by the contract" }),
|
|
87
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mb-1 text-2xs font-semibold uppercase tracking-wide text-muted-foreground", children: t("Guaranteed by the contract") }),
|
|
83
88
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
84
89
|
Line,
|
|
85
90
|
{
|
|
86
|
-
label: "Creator allocation",
|
|
91
|
+
label: t("Creator allocation"),
|
|
87
92
|
value: pct != null ? `${pct}%` : allocation != null ? compact(allocation) : "\u2014",
|
|
88
93
|
detail: `capped at ${maxTeamAllocationPercent}%`,
|
|
89
94
|
href: contractUrl
|
|
@@ -92,7 +97,7 @@ function CoinGuarantees({
|
|
|
92
97
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
93
98
|
Line,
|
|
94
99
|
{
|
|
95
|
-
label: "Total supply",
|
|
100
|
+
label: t("Total supply"),
|
|
96
101
|
value: supply != null ? compact(supply) : "\u2014",
|
|
97
102
|
detail: "fixed, cannot be increased",
|
|
98
103
|
href: contractUrl
|
|
@@ -101,17 +106,17 @@ function CoinGuarantees({
|
|
|
101
106
|
data.isLaunched ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
102
107
|
Line,
|
|
103
108
|
{
|
|
104
|
-
label: "Liquidity",
|
|
109
|
+
label: t("Liquidity"),
|
|
105
110
|
value: "Locked permanently",
|
|
106
111
|
detail: data.liquidityPositionId ? `position #${data.liquidityPositionId}` : void 0,
|
|
107
112
|
href: liquidityUrl
|
|
108
113
|
}
|
|
109
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Line, { label: "Liquidity", value: "Not launched yet" }),
|
|
114
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Line, { label: t("Liquidity"), value: "Not launched yet" }),
|
|
110
115
|
data.launchedAtBlock != null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
111
116
|
Line,
|
|
112
117
|
{
|
|
113
|
-
label: "Launched",
|
|
114
|
-
value: `Block ${data.launchedAtBlock
|
|
118
|
+
label: t("Launched"),
|
|
119
|
+
value: `Block ${intl.number(data.launchedAtBlock)}`,
|
|
115
120
|
href: blockUrl
|
|
116
121
|
}
|
|
117
122
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/coin-guarantees.tsx"],"sourcesContent":["\"use client\";\n\nimport { ExternalLink } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\n\nexport interface CoinGuaranteesData {\n isLaunched: boolean;\n launchedAtBlock: number | null;\n totalSupplyRaw: string;\n teamAllocationRaw: string;\n teamAllocationPercent: number | null;\n liquidityPositionId: string | null;\n}\n\nexport interface CoinGuaranteesProps {\n data: CoinGuaranteesData | null;\n isLoading?: boolean;\n decimals?: number;\n maxTeamAllocationPercent: number;\n\n contractUrl?: string;\n liquidityUrl?: string;\n blockUrl?: string;\n className?: string;\n}\n\nfunction whole(raw: string, decimals: number): number | null {\n try {\n const units = BigInt(raw);\n if (units <= 0n) return null;\n const v = Number(units) / 10 ** decimals;\n return isFinite(v) && v >= 1 ? v : null;\n } catch {\n return null;\n }\n}\n\nconst compact = (n: number) =>\n
|
|
1
|
+
{"version":3,"sources":["../../src/components/coin-guarantees.tsx"],"sourcesContent":["\"use client\";\n\nimport { ExternalLink } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { useFormat } from \"../i18n/use-format.js\";\nimport { formatNumber } from \"../i18n/format.js\";\n\nexport interface CoinGuaranteesData {\n isLaunched: boolean;\n launchedAtBlock: number | null;\n totalSupplyRaw: string;\n teamAllocationRaw: string;\n teamAllocationPercent: number | null;\n liquidityPositionId: string | null;\n}\n\nexport interface CoinGuaranteesProps {\n data: CoinGuaranteesData | null;\n isLoading?: boolean;\n decimals?: number;\n maxTeamAllocationPercent: number;\n\n contractUrl?: string;\n liquidityUrl?: string;\n blockUrl?: string;\n className?: string;\n}\n\nfunction whole(raw: string, decimals: number): number | null {\n try {\n const units = BigInt(raw);\n if (units <= 0n) return null;\n const v = Number(units) / 10 ** decimals;\n return isFinite(v) && v >= 1 ? v : null;\n } catch {\n return null;\n }\n}\n\nconst compact = (n: number) =>\n formatNumber(n, undefined, { notation: \"compact\", maximumFractionDigits: 2 });\n\nfunction Line({\n label,\n value,\n detail,\n href,\n}: {\n label: string;\n value: string;\n detail?: string;\n href?: string;\n}) {\n const body = (\n <>\n <span className=\"text-sm font-semibold tabular-nums\">{value}</span>\n {detail && <span className=\"text-xs text-muted-foreground\">{detail}</span>}\n {href && <ExternalLink className=\"h-3 w-3 text-muted-foreground/60\" />}\n </>\n );\n\n return (\n <div className=\"flex items-baseline justify-between gap-3 border-b border-border/40 py-2.5 last:border-b-0\">\n <span className=\"text-xs text-muted-foreground\">{label}</span>\n {href ? (\n <a\n href={href}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex items-baseline gap-1.5 transition-colors hover:text-primary active:opacity-70\"\n >\n {body}\n </a>\n ) : (\n <span className=\"inline-flex items-baseline gap-1.5\">{body}</span>\n )}\n </div>\n );\n}\n\nexport function CoinGuarantees({\n data,\n isLoading,\n decimals = 18,\n maxTeamAllocationPercent,\n contractUrl,\n liquidityUrl,\n blockUrl,\n className,\n}: CoinGuaranteesProps) {\n const intl = useFormat();\n const t = useT();\n if (isLoading) {\n return (\n <div className={cn(\"space-y-2.5\", className)}>\n {Array.from({ length: 4 }).map((_, i) => (\n <div key={i} className=\"h-9 animate-pulse rounded bg-muted-foreground/10\" />\n ))}\n </div>\n );\n }\n\n if (!data) return null;\n\n const supply = whole(data.totalSupplyRaw, decimals);\n const allocation = whole(data.teamAllocationRaw, decimals);\n const pct = data.teamAllocationPercent;\n\n return (\n <div className={className}>\n <p className=\"mb-1 text-2xs font-semibold uppercase tracking-wide text-muted-foreground\">\n {t(\"Guaranteed by the contract\")}\n </p>\n\n <Line\n label={t(\"Creator allocation\")}\n value={pct != null ? `${pct}%` : allocation != null ? compact(allocation) : \"—\"}\n detail={`capped at ${maxTeamAllocationPercent}%`}\n href={contractUrl}\n />\n\n <Line\n label={t(\"Total supply\")}\n value={supply != null ? compact(supply) : \"—\"}\n detail=\"fixed, cannot be increased\"\n href={contractUrl}\n />\n\n {data.isLaunched ? (\n <Line\n label={t(\"Liquidity\")}\n value=\"Locked permanently\"\n detail={data.liquidityPositionId ? `position #${data.liquidityPositionId}` : undefined}\n href={liquidityUrl}\n />\n ) : (\n <Line label={t(\"Liquidity\")} value=\"Not launched yet\" />\n )}\n\n {data.launchedAtBlock != null && (\n <Line\n label={t(\"Launched\")}\n value={`Block ${intl.number(data.launchedAtBlock)}`}\n href={blockUrl}\n />\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAuDI;AArDJ,0BAA6B;AAC7B,gBAAmB;AACnB,sBAAqB;AACrB,wBAA0B;AAC1B,oBAA6B;AAuB7B,SAAS,MAAM,KAAa,UAAiC;AAC3D,MAAI;AACF,UAAM,QAAQ,OAAO,GAAG;AACxB,QAAI,SAAS,GAAI,QAAO;AACxB,UAAM,IAAI,OAAO,KAAK,IAAI,MAAM;AAChC,WAAO,SAAS,CAAC,KAAK,KAAK,IAAI,IAAI;AAAA,EACrC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAEA,MAAM,UAAU,CAAC,UACf,4BAAa,GAAG,QAAW,EAAE,UAAU,WAAW,uBAAuB,EAAE,CAAC;AAE9E,SAAS,KAAK;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAKG;AACD,QAAM,OACJ,4EACE;AAAA,gDAAC,UAAK,WAAU,sCAAsC,iBAAM;AAAA,IAC3D,UAAU,4CAAC,UAAK,WAAU,iCAAiC,kBAAO;AAAA,IAClE,QAAQ,4CAAC,oCAAa,WAAU,oCAAmC;AAAA,KACtE;AAGF,SACE,6CAAC,SAAI,WAAU,8FACb;AAAA,gDAAC,UAAK,WAAU,iCAAiC,iBAAM;AAAA,IACtD,OACC;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,QAAO;AAAA,QACP,KAAI;AAAA,QACJ,WAAU;AAAA,QAET;AAAA;AAAA,IACH,IAEA,4CAAC,UAAK,WAAU,sCAAsC,gBAAK;AAAA,KAE/D;AAEJ;AAEO,SAAS,eAAe;AAAA,EAC7B;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAwB;AACtB,QAAM,WAAO,6BAAU;AACvB,QAAM,QAAI,sBAAK;AACf,MAAI,WAAW;AACb,WACE,4CAAC,SAAI,eAAW,cAAG,eAAe,SAAS,GACxC,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,4CAAC,SAAY,WAAU,sDAAb,CAAgE,CAC3E,GACH;AAAA,EAEJ;AAEA,MAAI,CAAC,KAAM,QAAO;AAElB,QAAM,SAAS,MAAM,KAAK,gBAAgB,QAAQ;AAClD,QAAM,aAAa,MAAM,KAAK,mBAAmB,QAAQ;AACzD,QAAM,MAAM,KAAK;AAEjB,SACE,6CAAC,SAAI,WACH;AAAA,gDAAC,OAAE,WAAU,6EACV,YAAE,4BAA4B,GACjC;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,oBAAoB;AAAA,QAC7B,OAAO,OAAO,OAAO,GAAG,GAAG,MAAM,cAAc,OAAO,QAAQ,UAAU,IAAI;AAAA,QAC5E,QAAQ,aAAa,wBAAwB;AAAA,QAC7C,MAAM;AAAA;AAAA,IACR;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,cAAc;AAAA,QACvB,OAAO,UAAU,OAAO,QAAQ,MAAM,IAAI;AAAA,QAC1C,QAAO;AAAA,QACP,MAAM;AAAA;AAAA,IACR;AAAA,IAEC,KAAK,aACJ;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,WAAW;AAAA,QACpB,OAAM;AAAA,QACN,QAAQ,KAAK,sBAAsB,aAAa,KAAK,mBAAmB,KAAK;AAAA,QAC7E,MAAM;AAAA;AAAA,IACR,IAEA,4CAAC,QAAK,OAAO,EAAE,WAAW,GAAG,OAAM,oBAAmB;AAAA,IAGvD,KAAK,mBAAmB,QACvB;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,UAAU;AAAA,QACnB,OAAO,SAAS,KAAK,OAAO,KAAK,eAAe,CAAC;AAAA,QACjD,MAAM;AAAA;AAAA,IACR;AAAA,KAEJ;AAEJ;","names":[]}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { ExternalLink } from "lucide-react";
|
|
4
4
|
import { cn } from "../utils/cn.js";
|
|
5
|
+
import { useT } from "../i18n/provider.js";
|
|
6
|
+
import { useFormat } from "../i18n/use-format.js";
|
|
7
|
+
import { formatNumber } from "../i18n/format.js";
|
|
5
8
|
function whole(raw, decimals) {
|
|
6
9
|
try {
|
|
7
10
|
const units = BigInt(raw);
|
|
@@ -12,7 +15,7 @@ function whole(raw, decimals) {
|
|
|
12
15
|
return null;
|
|
13
16
|
}
|
|
14
17
|
}
|
|
15
|
-
const compact = (n) =>
|
|
18
|
+
const compact = (n) => formatNumber(n, void 0, { notation: "compact", maximumFractionDigits: 2 });
|
|
16
19
|
function Line({
|
|
17
20
|
label,
|
|
18
21
|
value,
|
|
@@ -48,6 +51,8 @@ function CoinGuarantees({
|
|
|
48
51
|
blockUrl,
|
|
49
52
|
className
|
|
50
53
|
}) {
|
|
54
|
+
const intl = useFormat();
|
|
55
|
+
const t = useT();
|
|
51
56
|
if (isLoading) {
|
|
52
57
|
return /* @__PURE__ */ jsx("div", { className: cn("space-y-2.5", className), children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsx("div", { className: "h-9 animate-pulse rounded bg-muted-foreground/10" }, i)) });
|
|
53
58
|
}
|
|
@@ -56,11 +61,11 @@ function CoinGuarantees({
|
|
|
56
61
|
const allocation = whole(data.teamAllocationRaw, decimals);
|
|
57
62
|
const pct = data.teamAllocationPercent;
|
|
58
63
|
return /* @__PURE__ */ jsxs("div", { className, children: [
|
|
59
|
-
/* @__PURE__ */ jsx("p", { className: "mb-1 text-2xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Guaranteed by the contract" }),
|
|
64
|
+
/* @__PURE__ */ jsx("p", { className: "mb-1 text-2xs font-semibold uppercase tracking-wide text-muted-foreground", children: t("Guaranteed by the contract") }),
|
|
60
65
|
/* @__PURE__ */ jsx(
|
|
61
66
|
Line,
|
|
62
67
|
{
|
|
63
|
-
label: "Creator allocation",
|
|
68
|
+
label: t("Creator allocation"),
|
|
64
69
|
value: pct != null ? `${pct}%` : allocation != null ? compact(allocation) : "\u2014",
|
|
65
70
|
detail: `capped at ${maxTeamAllocationPercent}%`,
|
|
66
71
|
href: contractUrl
|
|
@@ -69,7 +74,7 @@ function CoinGuarantees({
|
|
|
69
74
|
/* @__PURE__ */ jsx(
|
|
70
75
|
Line,
|
|
71
76
|
{
|
|
72
|
-
label: "Total supply",
|
|
77
|
+
label: t("Total supply"),
|
|
73
78
|
value: supply != null ? compact(supply) : "\u2014",
|
|
74
79
|
detail: "fixed, cannot be increased",
|
|
75
80
|
href: contractUrl
|
|
@@ -78,17 +83,17 @@ function CoinGuarantees({
|
|
|
78
83
|
data.isLaunched ? /* @__PURE__ */ jsx(
|
|
79
84
|
Line,
|
|
80
85
|
{
|
|
81
|
-
label: "Liquidity",
|
|
86
|
+
label: t("Liquidity"),
|
|
82
87
|
value: "Locked permanently",
|
|
83
88
|
detail: data.liquidityPositionId ? `position #${data.liquidityPositionId}` : void 0,
|
|
84
89
|
href: liquidityUrl
|
|
85
90
|
}
|
|
86
|
-
) : /* @__PURE__ */ jsx(Line, { label: "Liquidity", value: "Not launched yet" }),
|
|
91
|
+
) : /* @__PURE__ */ jsx(Line, { label: t("Liquidity"), value: "Not launched yet" }),
|
|
87
92
|
data.launchedAtBlock != null && /* @__PURE__ */ jsx(
|
|
88
93
|
Line,
|
|
89
94
|
{
|
|
90
|
-
label: "Launched",
|
|
91
|
-
value: `Block ${data.launchedAtBlock
|
|
95
|
+
label: t("Launched"),
|
|
96
|
+
value: `Block ${intl.number(data.launchedAtBlock)}`,
|
|
92
97
|
href: blockUrl
|
|
93
98
|
}
|
|
94
99
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/coin-guarantees.tsx"],"sourcesContent":["\"use client\";\n\nimport { ExternalLink } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\n\nexport interface CoinGuaranteesData {\n isLaunched: boolean;\n launchedAtBlock: number | null;\n totalSupplyRaw: string;\n teamAllocationRaw: string;\n teamAllocationPercent: number | null;\n liquidityPositionId: string | null;\n}\n\nexport interface CoinGuaranteesProps {\n data: CoinGuaranteesData | null;\n isLoading?: boolean;\n decimals?: number;\n maxTeamAllocationPercent: number;\n\n contractUrl?: string;\n liquidityUrl?: string;\n blockUrl?: string;\n className?: string;\n}\n\nfunction whole(raw: string, decimals: number): number | null {\n try {\n const units = BigInt(raw);\n if (units <= 0n) return null;\n const v = Number(units) / 10 ** decimals;\n return isFinite(v) && v >= 1 ? v : null;\n } catch {\n return null;\n }\n}\n\nconst compact = (n: number) =>\n
|
|
1
|
+
{"version":3,"sources":["../../src/components/coin-guarantees.tsx"],"sourcesContent":["\"use client\";\n\nimport { ExternalLink } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { useFormat } from \"../i18n/use-format.js\";\nimport { formatNumber } from \"../i18n/format.js\";\n\nexport interface CoinGuaranteesData {\n isLaunched: boolean;\n launchedAtBlock: number | null;\n totalSupplyRaw: string;\n teamAllocationRaw: string;\n teamAllocationPercent: number | null;\n liquidityPositionId: string | null;\n}\n\nexport interface CoinGuaranteesProps {\n data: CoinGuaranteesData | null;\n isLoading?: boolean;\n decimals?: number;\n maxTeamAllocationPercent: number;\n\n contractUrl?: string;\n liquidityUrl?: string;\n blockUrl?: string;\n className?: string;\n}\n\nfunction whole(raw: string, decimals: number): number | null {\n try {\n const units = BigInt(raw);\n if (units <= 0n) return null;\n const v = Number(units) / 10 ** decimals;\n return isFinite(v) && v >= 1 ? v : null;\n } catch {\n return null;\n }\n}\n\nconst compact = (n: number) =>\n formatNumber(n, undefined, { notation: \"compact\", maximumFractionDigits: 2 });\n\nfunction Line({\n label,\n value,\n detail,\n href,\n}: {\n label: string;\n value: string;\n detail?: string;\n href?: string;\n}) {\n const body = (\n <>\n <span className=\"text-sm font-semibold tabular-nums\">{value}</span>\n {detail && <span className=\"text-xs text-muted-foreground\">{detail}</span>}\n {href && <ExternalLink className=\"h-3 w-3 text-muted-foreground/60\" />}\n </>\n );\n\n return (\n <div className=\"flex items-baseline justify-between gap-3 border-b border-border/40 py-2.5 last:border-b-0\">\n <span className=\"text-xs text-muted-foreground\">{label}</span>\n {href ? (\n <a\n href={href}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex items-baseline gap-1.5 transition-colors hover:text-primary active:opacity-70\"\n >\n {body}\n </a>\n ) : (\n <span className=\"inline-flex items-baseline gap-1.5\">{body}</span>\n )}\n </div>\n );\n}\n\nexport function CoinGuarantees({\n data,\n isLoading,\n decimals = 18,\n maxTeamAllocationPercent,\n contractUrl,\n liquidityUrl,\n blockUrl,\n className,\n}: CoinGuaranteesProps) {\n const intl = useFormat();\n const t = useT();\n if (isLoading) {\n return (\n <div className={cn(\"space-y-2.5\", className)}>\n {Array.from({ length: 4 }).map((_, i) => (\n <div key={i} className=\"h-9 animate-pulse rounded bg-muted-foreground/10\" />\n ))}\n </div>\n );\n }\n\n if (!data) return null;\n\n const supply = whole(data.totalSupplyRaw, decimals);\n const allocation = whole(data.teamAllocationRaw, decimals);\n const pct = data.teamAllocationPercent;\n\n return (\n <div className={className}>\n <p className=\"mb-1 text-2xs font-semibold uppercase tracking-wide text-muted-foreground\">\n {t(\"Guaranteed by the contract\")}\n </p>\n\n <Line\n label={t(\"Creator allocation\")}\n value={pct != null ? `${pct}%` : allocation != null ? compact(allocation) : \"—\"}\n detail={`capped at ${maxTeamAllocationPercent}%`}\n href={contractUrl}\n />\n\n <Line\n label={t(\"Total supply\")}\n value={supply != null ? compact(supply) : \"—\"}\n detail=\"fixed, cannot be increased\"\n href={contractUrl}\n />\n\n {data.isLaunched ? (\n <Line\n label={t(\"Liquidity\")}\n value=\"Locked permanently\"\n detail={data.liquidityPositionId ? `position #${data.liquidityPositionId}` : undefined}\n href={liquidityUrl}\n />\n ) : (\n <Line label={t(\"Liquidity\")} value=\"Not launched yet\" />\n )}\n\n {data.launchedAtBlock != null && (\n <Line\n label={t(\"Launched\")}\n value={`Block ${intl.number(data.launchedAtBlock)}`}\n href={blockUrl}\n />\n )}\n </div>\n );\n}\n"],"mappings":";AAuDI,mBACE,KADF;AArDJ,SAAS,oBAAoB;AAC7B,SAAS,UAAU;AACnB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAuB7B,SAAS,MAAM,KAAa,UAAiC;AAC3D,MAAI;AACF,UAAM,QAAQ,OAAO,GAAG;AACxB,QAAI,SAAS,GAAI,QAAO;AACxB,UAAM,IAAI,OAAO,KAAK,IAAI,MAAM;AAChC,WAAO,SAAS,CAAC,KAAK,KAAK,IAAI,IAAI;AAAA,EACrC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAEA,MAAM,UAAU,CAAC,MACf,aAAa,GAAG,QAAW,EAAE,UAAU,WAAW,uBAAuB,EAAE,CAAC;AAE9E,SAAS,KAAK;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAKG;AACD,QAAM,OACJ,iCACE;AAAA,wBAAC,UAAK,WAAU,sCAAsC,iBAAM;AAAA,IAC3D,UAAU,oBAAC,UAAK,WAAU,iCAAiC,kBAAO;AAAA,IAClE,QAAQ,oBAAC,gBAAa,WAAU,oCAAmC;AAAA,KACtE;AAGF,SACE,qBAAC,SAAI,WAAU,8FACb;AAAA,wBAAC,UAAK,WAAU,iCAAiC,iBAAM;AAAA,IACtD,OACC;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,QAAO;AAAA,QACP,KAAI;AAAA,QACJ,WAAU;AAAA,QAET;AAAA;AAAA,IACH,IAEA,oBAAC,UAAK,WAAU,sCAAsC,gBAAK;AAAA,KAE/D;AAEJ;AAEO,SAAS,eAAe;AAAA,EAC7B;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAwB;AACtB,QAAM,OAAO,UAAU;AACvB,QAAM,IAAI,KAAK;AACf,MAAI,WAAW;AACb,WACE,oBAAC,SAAI,WAAW,GAAG,eAAe,SAAS,GACxC,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,oBAAC,SAAY,WAAU,sDAAb,CAAgE,CAC3E,GACH;AAAA,EAEJ;AAEA,MAAI,CAAC,KAAM,QAAO;AAElB,QAAM,SAAS,MAAM,KAAK,gBAAgB,QAAQ;AAClD,QAAM,aAAa,MAAM,KAAK,mBAAmB,QAAQ;AACzD,QAAM,MAAM,KAAK;AAEjB,SACE,qBAAC,SAAI,WACH;AAAA,wBAAC,OAAE,WAAU,6EACV,YAAE,4BAA4B,GACjC;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,oBAAoB;AAAA,QAC7B,OAAO,OAAO,OAAO,GAAG,GAAG,MAAM,cAAc,OAAO,QAAQ,UAAU,IAAI;AAAA,QAC5E,QAAQ,aAAa,wBAAwB;AAAA,QAC7C,MAAM;AAAA;AAAA,IACR;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,cAAc;AAAA,QACvB,OAAO,UAAU,OAAO,QAAQ,MAAM,IAAI;AAAA,QAC1C,QAAO;AAAA,QACP,MAAM;AAAA;AAAA,IACR;AAAA,IAEC,KAAK,aACJ;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,WAAW;AAAA,QACpB,OAAM;AAAA,QACN,QAAQ,KAAK,sBAAsB,aAAa,KAAK,mBAAmB,KAAK;AAAA,QAC7E,MAAM;AAAA;AAAA,IACR,IAEA,oBAAC,QAAK,OAAO,EAAE,WAAW,GAAG,OAAM,oBAAmB;AAAA,IAGvD,KAAK,mBAAmB,QACvB;AAAA,MAAC;AAAA;AAAA,QACC,OAAO,EAAE,UAAU;AAAA,QACnB,OAAO,SAAS,KAAK,OAAO,KAAK,eAAe,CAAC;AAAA,QACjD,MAAM;AAAA;AAAA,IACR;AAAA,KAEJ;AAEJ;","names":[]}
|
|
@@ -37,56 +37,59 @@ var import_image = __toESM(require("./image.js"), 1);
|
|
|
37
37
|
var import_lucide_react = require("lucide-react");
|
|
38
38
|
var import_cn = require("../utils/cn.js");
|
|
39
39
|
var import_currency_icon = require("./currency-icon.js");
|
|
40
|
+
var import_provider = require("../i18n/provider.js");
|
|
41
|
+
var import_use_format = require("../i18n/use-format.js");
|
|
40
42
|
const COIN_GRADIENT = "linear-gradient(135deg, #d5520b, #e175b0)";
|
|
41
43
|
function StatValue({ children }) {
|
|
42
44
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "inline-flex items-center gap-1 font-bold tabular-nums text-brand-maeve", children });
|
|
43
45
|
}
|
|
44
46
|
function CoinLaunchPreview({ data, className }) {
|
|
47
|
+
const intl = (0, import_use_format.useFormat)();
|
|
48
|
+
const t = (0, import_provider.useT)();
|
|
45
49
|
const { name, symbol, description, imageUrl, supplyHuman, price, quoteSymbol, teamPct } = data;
|
|
46
50
|
const marketCap = supplyHuman != null ? supplyHuman * price : null;
|
|
47
51
|
const yourCoins = supplyHuman != null ? supplyHuman * (teamPct / 100) : null;
|
|
48
52
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: (0, import_cn.cn)("rounded-2xl bg-muted/50 dark:bg-card overflow-hidden", className), children: [
|
|
49
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "px-5 pt-4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "section-label", children: "Live preview" }) }),
|
|
53
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "px-5 pt-4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "section-label", children: t("Live preview") }) }),
|
|
50
54
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "p-5 space-y-4", children: [
|
|
51
55
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
52
56
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "shrink-0 rounded-full p-[2px]", style: { background: COIN_GRADIENT }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "relative h-14 w-14 rounded-full overflow-hidden bg-card flex items-center justify-center", children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_image.default, { src: imageUrl, alt: "", fill: true, sizes: "56px", className: "object-cover", unoptimized: true }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.TrendingUp, { className: "h-6 w-6 text-brand-orange/70" }) }) }),
|
|
53
57
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "min-w-0 flex-1", children: [
|
|
54
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: (0, import_cn.cn)("font-bold text-lg leading-snug truncate", !name && "text-muted-foreground/50"), children: name || "Your coin" }),
|
|
55
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground tabular-nums", children: symbol ? `$${symbol}` : "$SYMBOL" })
|
|
58
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: (0, import_cn.cn)("font-bold text-lg leading-snug truncate", !name && "text-muted-foreground/50"), children: name || t("Your coin") }),
|
|
59
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground tabular-nums", children: symbol ? `$${symbol}` : t("$SYMBOL") })
|
|
56
60
|
] })
|
|
57
61
|
] }),
|
|
58
62
|
description ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground leading-relaxed line-clamp-3", children: description }) : null,
|
|
59
63
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-xl bg-muted/50 dark:bg-muted/30 p-4 space-y-3", children: [
|
|
60
64
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
61
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-2xs uppercase tracking-wide text-muted-foreground", children: "Market cap" }),
|
|
65
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-2xs uppercase tracking-wide text-muted-foreground", children: t("Market cap") }),
|
|
62
66
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-2xl", children: marketCap != null ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StatValue, { children: [
|
|
63
67
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_currency_icon.CurrencyIcon, { symbol: quoteSymbol, size: 18 }),
|
|
64
|
-
|
|
68
|
+
intl.number(marketCap),
|
|
65
69
|
" ",
|
|
66
70
|
quoteSymbol
|
|
67
71
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-muted-foreground", children: "\u2014" }) })
|
|
68
72
|
] }),
|
|
69
73
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between text-sm border-t border-border/60 pt-3", children: [
|
|
70
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-muted-foreground", children: "Launch price" }),
|
|
74
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-muted-foreground", children: t("Launch price") }),
|
|
71
75
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "inline-flex items-center gap-1 font-semibold tabular-nums", children: [
|
|
72
76
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_currency_icon.CurrencyIcon, { symbol: quoteSymbol, size: 14 }),
|
|
73
|
-
price,
|
|
74
|
-
" ",
|
|
75
|
-
quoteSymbol,
|
|
76
|
-
" / coin"
|
|
77
|
+
t("{price} {quoteSymbol} / coin", { price, quoteSymbol })
|
|
77
78
|
] })
|
|
78
79
|
] })
|
|
79
80
|
] }),
|
|
80
81
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-1.5", children: [
|
|
81
82
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between text-sm", children: [
|
|
82
83
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "font-medium text-brand-orange", children: [
|
|
83
|
-
"You keep
|
|
84
|
+
t("You keep"),
|
|
85
|
+
" ",
|
|
84
86
|
teamPct,
|
|
85
87
|
"%",
|
|
86
|
-
yourCoins != null ? ` \xB7 ${
|
|
88
|
+
yourCoins != null ? ` \xB7 ${intl.number(yourCoins)} ${symbol || "coins"}` : ""
|
|
87
89
|
] }),
|
|
88
90
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-muted-foreground", children: [
|
|
89
|
-
"Community
|
|
91
|
+
t("Community"),
|
|
92
|
+
" ",
|
|
90
93
|
100 - teamPct,
|
|
91
94
|
"%"
|
|
92
95
|
] })
|
|
@@ -96,7 +99,7 @@ function CoinLaunchPreview({ data, className }) {
|
|
|
96
99
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex-1" })
|
|
97
100
|
] })
|
|
98
101
|
] }),
|
|
99
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-2xs text-muted-foreground/70", children: "Liquidity locks permanently at launch." })
|
|
102
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-2xs text-muted-foreground/70", children: t("Liquidity locks permanently at launch.") })
|
|
100
103
|
] })
|
|
101
104
|
] });
|
|
102
105
|
}
|