@medialane/ui 0.372.0 → 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/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 -15
- package/dist/components/archive-asset-dialog.cjs.map +1 -1
- package/dist/components/archive-asset-dialog.js +13 -15
- 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/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 -18
- package/dist/components/transfer-dialog.cjs.map +1 -1
- package/dist/components/transfer-dialog.js +16 -18
- 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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { ApiClient } from '@medialane/sdk';
|
|
3
|
+
import { T } from '../../i18n/make-t.cjs';
|
|
4
|
+
import '../../i18n/translate.cjs';
|
|
3
5
|
|
|
4
6
|
interface TierMintPreset {
|
|
5
7
|
service: "ip-club" | "ip-tickets";
|
|
@@ -38,7 +40,7 @@ interface TierMintPreset {
|
|
|
38
40
|
};
|
|
39
41
|
shell: {
|
|
40
42
|
title: string;
|
|
41
|
-
subtitle: (collectionName: string | null) => string;
|
|
43
|
+
subtitle: (collectionName: string | null, t: T) => string;
|
|
42
44
|
};
|
|
43
45
|
cardFallbackSymbol: string;
|
|
44
46
|
copy: {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { ApiClient } from '@medialane/sdk';
|
|
3
|
+
import { T } from '../../i18n/make-t.js';
|
|
4
|
+
import '../../i18n/translate.js';
|
|
3
5
|
|
|
4
6
|
interface TierMintPreset {
|
|
5
7
|
service: "ip-club" | "ip-tickets";
|
|
@@ -38,7 +40,7 @@ interface TierMintPreset {
|
|
|
38
40
|
};
|
|
39
41
|
shell: {
|
|
40
42
|
title: string;
|
|
41
|
-
subtitle: (collectionName: string | null) => string;
|
|
43
|
+
subtitle: (collectionName: string | null, t: T) => string;
|
|
42
44
|
};
|
|
43
45
|
cardFallbackSymbol: string;
|
|
44
46
|
copy: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Ticket, Users } from "lucide-react";
|
|
2
2
|
import { predictNextMembershipId, predictNextTicketId } from "../../utils/use-tiers.js";
|
|
3
|
+
import { msg } from "../../i18n/translate.js";
|
|
3
4
|
const CLUB_TIER_PRESET = {
|
|
4
5
|
service: "ip-club",
|
|
5
6
|
predictNextId: predictNextMembershipId,
|
|
@@ -10,26 +11,26 @@ const CLUB_TIER_PRESET = {
|
|
|
10
11
|
hoverBorderClass: "hover:border-brand-purple/50",
|
|
11
12
|
uploadedClass: "text-brand-purple",
|
|
12
13
|
suggestExternalLink: false,
|
|
13
|
-
signedOut: { title: "Secure your account to create memberships", description: "Create a membership tier and mint its supply to your account." },
|
|
14
|
-
back: { href: "/launchpad/club", label: "\u2190 Back" },
|
|
15
|
-
notOwner: { message: "You don't own this club.", back: { href: "/launchpad/club", label: "\u2190 Back to clubs" } },
|
|
16
|
-
dialog: { title: "Create membership", workingLabel: "Creating your membership\u2026", firstStepLabel: "Upload membership metadata" },
|
|
17
|
-
success: { title: "Membership created", description: "The supply is minted to your wallet and ready to sell.", againLabel: "Create another membership" },
|
|
14
|
+
signedOut: { title: msg("Secure your account to create memberships"), description: msg("Create a membership tier and mint its supply to your account.") },
|
|
15
|
+
back: { href: "/launchpad/club", label: msg("\u2190 Back") },
|
|
16
|
+
notOwner: { message: msg("You don't own this club."), back: { href: "/launchpad/club", label: msg("\u2190 Back to clubs") } },
|
|
17
|
+
dialog: { title: msg("Create membership"), workingLabel: msg("Creating your membership\u2026"), firstStepLabel: msg("Upload membership metadata") },
|
|
18
|
+
success: { title: msg("Membership created"), description: msg("The supply is minted to your wallet and ready to sell."), againLabel: msg("Create another membership") },
|
|
18
19
|
shell: {
|
|
19
|
-
title: "Create Membership",
|
|
20
|
-
subtitle: (name) =>
|
|
20
|
+
title: msg("Create Membership"),
|
|
21
|
+
subtitle: (name, t) => t("Add a new membership tier to {name} and mint its supply to your wallet, ready to sell.", { name: name ?? t("your club") })
|
|
21
22
|
},
|
|
22
23
|
cardFallbackSymbol: "Club",
|
|
23
24
|
copy: {
|
|
24
|
-
imageHeading: "Membership image",
|
|
25
|
-
imageAlt: "Membership",
|
|
26
|
-
imageRequired: "Add a membership image.",
|
|
27
|
-
nameLabel: "Membership name",
|
|
28
|
-
nameRequired: "Membership name required",
|
|
29
|
-
namePlaceholder: "Kalamaha Fan Club \u2014 2026 Season Pass",
|
|
30
|
-
descriptionPlaceholder: "What does this membership unlock?",
|
|
31
|
-
validUntilHint: "Blank = lifetime membership.",
|
|
32
|
-
submit: "Create Membership"
|
|
25
|
+
imageHeading: msg("Membership image"),
|
|
26
|
+
imageAlt: msg("Membership"),
|
|
27
|
+
imageRequired: msg("Add a membership image."),
|
|
28
|
+
nameLabel: msg("Membership name"),
|
|
29
|
+
nameRequired: msg("Membership name required"),
|
|
30
|
+
namePlaceholder: msg("Kalamaha Fan Club \u2014 2026 Season Pass"),
|
|
31
|
+
descriptionPlaceholder: msg("What does this membership unlock?"),
|
|
32
|
+
validUntilHint: msg("Blank = lifetime membership."),
|
|
33
|
+
submit: msg("Create Membership")
|
|
33
34
|
}
|
|
34
35
|
};
|
|
35
36
|
const TICKETS_TIER_PRESET = {
|
|
@@ -42,26 +43,26 @@ const TICKETS_TIER_PRESET = {
|
|
|
42
43
|
hoverBorderClass: "hover:border-teal-500/50",
|
|
43
44
|
uploadedClass: "text-teal-500",
|
|
44
45
|
suggestExternalLink: true,
|
|
45
|
-
signedOut: { title: "Secure your account to mint tickets", description: "Create a ticket type and mint its supply to your account." },
|
|
46
|
-
back: { href: "/launchpad/tickets", label: "\u2190 Back" },
|
|
47
|
-
notOwner: { message: "You don't own this tickets collection.", back: { href: "/launchpad/tickets", label: "\u2190 Back to tickets" } },
|
|
48
|
-
dialog: { title: "Mint tickets", workingLabel: "Minting your tickets\u2026", firstStepLabel: "Upload ticket metadata" },
|
|
49
|
-
success: { title: "Tickets minted", description: "Each ticket is recorded onchain under your wallet.", againLabel: "Mint another ticket" },
|
|
46
|
+
signedOut: { title: msg("Secure your account to mint tickets"), description: msg("Create a ticket type and mint its supply to your account.") },
|
|
47
|
+
back: { href: "/launchpad/tickets", label: msg("\u2190 Back") },
|
|
48
|
+
notOwner: { message: msg("You don't own this tickets collection."), back: { href: "/launchpad/tickets", label: msg("\u2190 Back to tickets") } },
|
|
49
|
+
dialog: { title: msg("Mint tickets"), workingLabel: msg("Minting your tickets\u2026"), firstStepLabel: msg("Upload ticket metadata") },
|
|
50
|
+
success: { title: msg("Tickets minted"), description: msg("Each ticket is recorded onchain under your wallet."), againLabel: msg("Mint another ticket") },
|
|
50
51
|
shell: {
|
|
51
|
-
title: "Mint Tickets",
|
|
52
|
-
subtitle: (name) =>
|
|
52
|
+
title: msg("Mint Tickets"),
|
|
53
|
+
subtitle: (name, t) => t("Add a new ticket type to {name} and mint its supply to your wallet, ready to sell.", { name: name ?? t("your collection") })
|
|
53
54
|
},
|
|
54
55
|
cardFallbackSymbol: "Tickets",
|
|
55
56
|
copy: {
|
|
56
|
-
imageHeading: "Ticket image",
|
|
57
|
-
imageAlt: "Ticket",
|
|
58
|
-
imageRequired: "Add a ticket image.",
|
|
59
|
-
nameLabel: "Ticket name",
|
|
60
|
-
nameRequired: "Ticket name required",
|
|
61
|
-
namePlaceholder: "Summer Concert 2026 \u2014 General Admission",
|
|
62
|
-
descriptionPlaceholder: "What does this ticket admit or unlock?",
|
|
63
|
-
validUntilHint: "Blank = always valid.",
|
|
64
|
-
submit: "Mint Tickets"
|
|
57
|
+
imageHeading: msg("Ticket image"),
|
|
58
|
+
imageAlt: msg("Ticket"),
|
|
59
|
+
imageRequired: msg("Add a ticket image."),
|
|
60
|
+
nameLabel: msg("Ticket name"),
|
|
61
|
+
nameRequired: msg("Ticket name required"),
|
|
62
|
+
namePlaceholder: msg("Summer Concert 2026 \u2014 General Admission"),
|
|
63
|
+
descriptionPlaceholder: msg("What does this ticket admit or unlock?"),
|
|
64
|
+
validUntilHint: msg("Blank = always valid."),
|
|
65
|
+
submit: msg("Mint Tickets")
|
|
65
66
|
}
|
|
66
67
|
};
|
|
67
68
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/launchpad/tier-mint-presets.ts"],"sourcesContent":["import { Ticket, Users } from \"lucide-react\";\nimport type { ElementType } from \"react\";\nimport type { ApiClient } from \"@medialane/sdk\";\nimport { predictNextMembershipId, predictNextTicketId } from \"../../utils/use-tiers.js\";\n\nexport interface TierMintPreset {\n service: \"ip-club\" | \"ip-tickets\";\n predictNextId: (api: ApiClient, contract: string) => Promise<number>;\n traitType: string;\n icon: ElementType;\n iconClass: string;\n buttonClass: string;\n hoverBorderClass: string;\n uploadedClass: string;\n suggestExternalLink: boolean;\n signedOut: { title: string; description: string };\n back: { href: string; label: string };\n notOwner: { message: string; back: { href: string; label: string } };\n dialog: { title: string; workingLabel: string; firstStepLabel: string };\n success: { title: string; description: string; againLabel: string };\n shell: { title: string; subtitle: (collectionName: string | null) => string };\n cardFallbackSymbol: string;\n copy: {\n imageHeading: string;\n imageAlt: string;\n imageRequired: string;\n nameLabel: string;\n nameRequired: string;\n namePlaceholder: string;\n descriptionPlaceholder: string;\n validUntilHint: string;\n submit: string;\n };\n}\n\nexport const CLUB_TIER_PRESET: TierMintPreset = {\n service: \"ip-club\",\n predictNextId: predictNextMembershipId,\n traitType: \"IP Club Membership\",\n icon: Users,\n iconClass: \"text-brand-purple\",\n buttonClass: \"bg-brand-purple\",\n hoverBorderClass: \"hover:border-brand-purple/50\",\n uploadedClass: \"text-brand-purple\",\n suggestExternalLink: false,\n signedOut: { title: \"Secure your account to create memberships\", description: \"Create a membership tier and mint its supply to your account.\" },\n back: { href: \"/launchpad/club\", label: \"← Back\" },\n notOwner: { message: \"You don't own this club.\", back: { href: \"/launchpad/club\", label: \"← Back to clubs\" } },\n dialog: { title: \"Create membership\", workingLabel: \"Creating your membership…\", firstStepLabel: \"Upload membership metadata\" },\n success: { title: \"Membership created\", description: \"The supply is minted to your wallet and ready to sell.\", againLabel: \"Create another membership\" },\n shell: {\n title: \"Create Membership\",\n subtitle: (name) =>
|
|
1
|
+
{"version":3,"sources":["../../../src/components/launchpad/tier-mint-presets.ts"],"sourcesContent":["import { Ticket, Users } from \"lucide-react\";\nimport type { ElementType } from \"react\";\nimport type { ApiClient } from \"@medialane/sdk\";\nimport { predictNextMembershipId, predictNextTicketId } from \"../../utils/use-tiers.js\";\nimport { msg } from \"../../i18n/translate.js\";\nimport type { T } from \"../../i18n/make-t.js\";\n\nexport interface TierMintPreset {\n service: \"ip-club\" | \"ip-tickets\";\n predictNextId: (api: ApiClient, contract: string) => Promise<number>;\n traitType: string;\n icon: ElementType;\n iconClass: string;\n buttonClass: string;\n hoverBorderClass: string;\n uploadedClass: string;\n suggestExternalLink: boolean;\n signedOut: { title: string; description: string };\n back: { href: string; label: string };\n notOwner: { message: string; back: { href: string; label: string } };\n dialog: { title: string; workingLabel: string; firstStepLabel: string };\n success: { title: string; description: string; againLabel: string };\n shell: { title: string; subtitle: (collectionName: string | null, t: T) => string };\n cardFallbackSymbol: string;\n copy: {\n imageHeading: string;\n imageAlt: string;\n imageRequired: string;\n nameLabel: string;\n nameRequired: string;\n namePlaceholder: string;\n descriptionPlaceholder: string;\n validUntilHint: string;\n submit: string;\n };\n}\n\nexport const CLUB_TIER_PRESET: TierMintPreset = {\n service: \"ip-club\",\n predictNextId: predictNextMembershipId,\n traitType: \"IP Club Membership\",\n icon: Users,\n iconClass: \"text-brand-purple\",\n buttonClass: \"bg-brand-purple\",\n hoverBorderClass: \"hover:border-brand-purple/50\",\n uploadedClass: \"text-brand-purple\",\n suggestExternalLink: false,\n signedOut: { title: msg(\"Secure your account to create memberships\"), description: msg(\"Create a membership tier and mint its supply to your account.\") },\n back: { href: \"/launchpad/club\", label: msg(\"← Back\") },\n notOwner: { message: msg(\"You don't own this club.\"), back: { href: \"/launchpad/club\", label: msg(\"← Back to clubs\") } },\n dialog: { title: msg(\"Create membership\"), workingLabel: msg(\"Creating your membership…\"), firstStepLabel: msg(\"Upload membership metadata\") },\n success: { title: msg(\"Membership created\"), description: msg(\"The supply is minted to your wallet and ready to sell.\"), againLabel: msg(\"Create another membership\") },\n shell: {\n title: msg(\"Create Membership\"),\n subtitle: (name, t) => t(\"Add a new membership tier to {name} and mint its supply to your wallet, ready to sell.\", { name: name ?? t(\"your club\") }),\n },\n cardFallbackSymbol: \"Club\",\n copy: {\n imageHeading: msg(\"Membership image\"),\n imageAlt: msg(\"Membership\"),\n imageRequired: msg(\"Add a membership image.\"),\n nameLabel: msg(\"Membership name\"),\n nameRequired: msg(\"Membership name required\"),\n namePlaceholder: msg(\"Kalamaha Fan Club — 2026 Season Pass\"),\n descriptionPlaceholder: msg(\"What does this membership unlock?\"),\n validUntilHint: msg(\"Blank = lifetime membership.\"),\n submit: msg(\"Create Membership\"),\n },\n};\n\nexport const TICKETS_TIER_PRESET: TierMintPreset = {\n service: \"ip-tickets\",\n predictNextId: predictNextTicketId,\n traitType: \"IP Ticket\",\n icon: Ticket,\n iconClass: \"text-teal-500\",\n buttonClass: \"bg-teal-600\",\n hoverBorderClass: \"hover:border-teal-500/50\",\n uploadedClass: \"text-teal-500\",\n suggestExternalLink: true,\n signedOut: { title: msg(\"Secure your account to mint tickets\"), description: msg(\"Create a ticket type and mint its supply to your account.\") },\n back: { href: \"/launchpad/tickets\", label: msg(\"← Back\") },\n notOwner: { message: msg(\"You don't own this tickets collection.\"), back: { href: \"/launchpad/tickets\", label: msg(\"← Back to tickets\") } },\n dialog: { title: msg(\"Mint tickets\"), workingLabel: msg(\"Minting your tickets…\"), firstStepLabel: msg(\"Upload ticket metadata\") },\n success: { title: msg(\"Tickets minted\"), description: msg(\"Each ticket is recorded onchain under your wallet.\"), againLabel: msg(\"Mint another ticket\") },\n shell: {\n title: msg(\"Mint Tickets\"),\n subtitle: (name, t) => t(\"Add a new ticket type to {name} and mint its supply to your wallet, ready to sell.\", { name: name ?? t(\"your collection\") }),\n },\n cardFallbackSymbol: \"Tickets\",\n copy: {\n imageHeading: msg(\"Ticket image\"),\n imageAlt: msg(\"Ticket\"),\n imageRequired: msg(\"Add a ticket image.\"),\n nameLabel: msg(\"Ticket name\"),\n nameRequired: msg(\"Ticket name required\"),\n namePlaceholder: msg(\"Summer Concert 2026 — General Admission\"),\n descriptionPlaceholder: msg(\"What does this ticket admit or unlock?\"),\n validUntilHint: msg(\"Blank = always valid.\"),\n submit: msg(\"Mint Tickets\"),\n },\n};\n"],"mappings":"AAAA,SAAS,QAAQ,aAAa;AAG9B,SAAS,yBAAyB,2BAA2B;AAC7D,SAAS,WAAW;AAiCb,MAAM,mBAAmC;AAAA,EAC9C,SAAS;AAAA,EACT,eAAe;AAAA,EACf,WAAW;AAAA,EACX,MAAM;AAAA,EACN,WAAW;AAAA,EACX,aAAa;AAAA,EACb,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB,WAAW,EAAE,OAAO,IAAI,2CAA2C,GAAG,aAAa,IAAI,+DAA+D,EAAE;AAAA,EACxJ,MAAM,EAAE,MAAM,mBAAmB,OAAO,IAAI,aAAQ,EAAE;AAAA,EACtD,UAAU,EAAE,SAAS,IAAI,0BAA0B,GAAG,MAAM,EAAE,MAAM,mBAAmB,OAAO,IAAI,sBAAiB,EAAE,EAAE;AAAA,EACvH,QAAQ,EAAE,OAAO,IAAI,mBAAmB,GAAG,cAAc,IAAI,gCAA2B,GAAG,gBAAgB,IAAI,4BAA4B,EAAE;AAAA,EAC7I,SAAS,EAAE,OAAO,IAAI,oBAAoB,GAAG,aAAa,IAAI,wDAAwD,GAAG,YAAY,IAAI,2BAA2B,EAAE;AAAA,EACtK,OAAO;AAAA,IACL,OAAO,IAAI,mBAAmB;AAAA,IAC9B,UAAU,CAAC,MAAM,MAAM,EAAE,0FAA0F,EAAE,MAAM,QAAQ,EAAE,WAAW,EAAE,CAAC;AAAA,EACrJ;AAAA,EACA,oBAAoB;AAAA,EACpB,MAAM;AAAA,IACJ,cAAc,IAAI,kBAAkB;AAAA,IACpC,UAAU,IAAI,YAAY;AAAA,IAC1B,eAAe,IAAI,yBAAyB;AAAA,IAC5C,WAAW,IAAI,iBAAiB;AAAA,IAChC,cAAc,IAAI,0BAA0B;AAAA,IAC5C,iBAAiB,IAAI,2CAAsC;AAAA,IAC3D,wBAAwB,IAAI,mCAAmC;AAAA,IAC/D,gBAAgB,IAAI,8BAA8B;AAAA,IAClD,QAAQ,IAAI,mBAAmB;AAAA,EACjC;AACF;AAEO,MAAM,sBAAsC;AAAA,EACjD,SAAS;AAAA,EACT,eAAe;AAAA,EACf,WAAW;AAAA,EACX,MAAM;AAAA,EACN,WAAW;AAAA,EACX,aAAa;AAAA,EACb,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB,WAAW,EAAE,OAAO,IAAI,qCAAqC,GAAG,aAAa,IAAI,2DAA2D,EAAE;AAAA,EAC9I,MAAM,EAAE,MAAM,sBAAsB,OAAO,IAAI,aAAQ,EAAE;AAAA,EACzD,UAAU,EAAE,SAAS,IAAI,wCAAwC,GAAG,MAAM,EAAE,MAAM,sBAAsB,OAAO,IAAI,wBAAmB,EAAE,EAAE;AAAA,EAC1I,QAAQ,EAAE,OAAO,IAAI,cAAc,GAAG,cAAc,IAAI,4BAAuB,GAAG,gBAAgB,IAAI,wBAAwB,EAAE;AAAA,EAChI,SAAS,EAAE,OAAO,IAAI,gBAAgB,GAAG,aAAa,IAAI,oDAAoD,GAAG,YAAY,IAAI,qBAAqB,EAAE;AAAA,EACxJ,OAAO;AAAA,IACL,OAAO,IAAI,cAAc;AAAA,IACzB,UAAU,CAAC,MAAM,MAAM,EAAE,sFAAsF,EAAE,MAAM,QAAQ,EAAE,iBAAiB,EAAE,CAAC;AAAA,EACvJ;AAAA,EACA,oBAAoB;AAAA,EACpB,MAAM;AAAA,IACJ,cAAc,IAAI,cAAc;AAAA,IAChC,UAAU,IAAI,QAAQ;AAAA,IACtB,eAAe,IAAI,qBAAqB;AAAA,IACxC,WAAW,IAAI,aAAa;AAAA,IAC5B,cAAc,IAAI,sBAAsB;AAAA,IACxC,iBAAiB,IAAI,8CAAyC;AAAA,IAC9D,wBAAwB,IAAI,wCAAwC;AAAA,IACpE,gBAAgB,IAAI,uBAAuB;AAAA,IAC3C,QAAQ,IAAI,cAAc;AAAA,EAC5B;AACF;","names":[]}
|
|
@@ -26,7 +26,9 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
26
26
|
var import_react = require("react");
|
|
27
27
|
var import_lucide_react = require("lucide-react");
|
|
28
28
|
var import_launchpad_services = require("./launchpad-services.js");
|
|
29
|
+
var import_provider = require("../i18n/provider.js");
|
|
29
30
|
function LaunchpadFilterBar({ query, onQueryChange, sections }) {
|
|
31
|
+
const t = (0, import_provider.useT)();
|
|
30
32
|
const inputRef = (0, import_react.useRef)(null);
|
|
31
33
|
(0, import_react.useEffect)(() => {
|
|
32
34
|
const onKeyDown = (e) => {
|
|
@@ -53,7 +55,7 @@ function LaunchpadFilterBar({ query, onQueryChange, sections }) {
|
|
|
53
55
|
type: "text",
|
|
54
56
|
value: query,
|
|
55
57
|
onChange: (e) => onQueryChange(e.target.value),
|
|
56
|
-
placeholder: "Search services",
|
|
58
|
+
placeholder: t("Search services"),
|
|
57
59
|
className: "w-full h-10 rounded-full border border-border bg-card pl-9 pr-9 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-brand-purple/40 focus:border-brand-purple/40"
|
|
58
60
|
}
|
|
59
61
|
),
|
|
@@ -62,20 +64,20 @@ function LaunchpadFilterBar({ query, onQueryChange, sections }) {
|
|
|
62
64
|
{
|
|
63
65
|
type: "button",
|
|
64
66
|
onClick: () => onQueryChange(""),
|
|
65
|
-
"aria-label": "Clear search",
|
|
67
|
+
"aria-label": t("Clear search"),
|
|
66
68
|
className: "absolute right-2.5 top-1/2 -translate-y-1/2 h-5 w-5 flex items-center justify-center rounded-full text-muted-foreground hover:text-foreground transition-colors",
|
|
67
69
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.X, { className: "h-3.5 w-3.5" })
|
|
68
70
|
}
|
|
69
71
|
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("kbd", { className: "absolute right-3 top-1/2 -translate-y-1/2 hidden sm:flex h-5 w-5 items-center justify-center rounded border border-border bg-muted/40 text-2xs font-medium text-muted-foreground pointer-events-none", children: "/" })
|
|
70
72
|
] }),
|
|
71
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { "aria-label": "Launchpad sections", className: "flex gap-2 overflow-x-auto lg:flex-wrap lg:overflow-visible -mx-4 px-4 sm:mx-0 sm:px-0", children: sections.map(({ group, count }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
73
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { "aria-label": t("Launchpad sections"), className: "flex gap-2 overflow-x-auto lg:flex-wrap lg:overflow-visible -mx-4 px-4 sm:mx-0 sm:px-0", children: sections.map(({ group, count }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
72
74
|
"button",
|
|
73
75
|
{
|
|
74
76
|
type: "button",
|
|
75
77
|
onClick: () => jumpTo(group.key),
|
|
76
78
|
className: "h-8 shrink-0 px-3.5 rounded-full text-xs font-semibold transition-colors border inline-flex items-center gap-1.5 bg-card text-muted-foreground border-border active:bg-muted/60 sm:hover:bg-muted/40 sm:hover:text-foreground",
|
|
77
79
|
children: [
|
|
78
|
-
group.title,
|
|
80
|
+
t(group.title),
|
|
79
81
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "tabular-nums text-muted-foreground/60", children: count })
|
|
80
82
|
]
|
|
81
83
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/launchpad-filter-bar.tsx"],"sourcesContent":["\"use client\";\n\nimport { useEffect, useRef } from \"react\";\nimport { Search, X } from \"lucide-react\";\nimport { launchpadSectionId } from \"./launchpad-services.js\";\nimport type { ServiceGroup, ServiceGroupDefinition } from \"../data/launchpad-services.js\";\n\nexport interface LaunchpadFilterBarProps {\n query: string;\n onQueryChange: (value: string) => void;\n sections: Array<{ group: ServiceGroupDefinition; count: number }>;\n}\n\nexport function LaunchpadFilterBar({ query, onQueryChange, sections }: LaunchpadFilterBarProps) {\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"/\" || e.metaKey || e.ctrlKey || e.altKey) return;\n const target = e.target as HTMLElement | null;\n if (target && (target.tagName === \"INPUT\" || target.tagName === \"TEXTAREA\" || target.isContentEditable)) return;\n e.preventDefault();\n inputRef.current?.focus();\n };\n window.addEventListener(\"keydown\", onKeyDown);\n return () => window.removeEventListener(\"keydown\", onKeyDown);\n }, []);\n\n const jumpTo = (key: ServiceGroup) => {\n const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n document.getElementById(launchpadSectionId(key))?.scrollIntoView({ behavior: reduce ? \"auto\" : \"smooth\", block: \"start\" });\n };\n\n return (\n <div className=\"sticky top-0 z-20 -mx-4 sm:-mx-6 lg:-mx-8 px-4 sm:px-6 lg:px-8 py-3 bg-background/95 backdrop-blur-sm flex flex-col lg:flex-row gap-3 lg:items-center\">\n <div className=\"relative lg:w-72 lg:shrink-0\">\n <Search className=\"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none\" />\n <input\n ref={inputRef}\n type=\"text\"\n value={query}\n onChange={(e) => onQueryChange(e.target.value)}\n placeholder
|
|
1
|
+
{"version":3,"sources":["../../src/components/launchpad-filter-bar.tsx"],"sourcesContent":["\"use client\";\n\nimport { useEffect, useRef } from \"react\";\nimport { Search, X } from \"lucide-react\";\nimport { launchpadSectionId } from \"./launchpad-services.js\";\nimport type { ServiceGroup, ServiceGroupDefinition } from \"../data/launchpad-services.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface LaunchpadFilterBarProps {\n query: string;\n onQueryChange: (value: string) => void;\n sections: Array<{ group: ServiceGroupDefinition; count: number }>;\n}\n\nexport function LaunchpadFilterBar({ query, onQueryChange, sections }: LaunchpadFilterBarProps) {\n const t = useT();\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"/\" || e.metaKey || e.ctrlKey || e.altKey) return;\n const target = e.target as HTMLElement | null;\n if (target && (target.tagName === \"INPUT\" || target.tagName === \"TEXTAREA\" || target.isContentEditable)) return;\n e.preventDefault();\n inputRef.current?.focus();\n };\n window.addEventListener(\"keydown\", onKeyDown);\n return () => window.removeEventListener(\"keydown\", onKeyDown);\n }, []);\n\n const jumpTo = (key: ServiceGroup) => {\n const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n document.getElementById(launchpadSectionId(key))?.scrollIntoView({ behavior: reduce ? \"auto\" : \"smooth\", block: \"start\" });\n };\n\n return (\n <div className=\"sticky top-0 z-20 -mx-4 sm:-mx-6 lg:-mx-8 px-4 sm:px-6 lg:px-8 py-3 bg-background/95 backdrop-blur-sm flex flex-col lg:flex-row gap-3 lg:items-center\">\n <div className=\"relative lg:w-72 lg:shrink-0\">\n <Search className=\"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none\" />\n <input\n ref={inputRef}\n type=\"text\"\n value={query}\n onChange={(e) => onQueryChange(e.target.value)}\n placeholder={t(\"Search services\")}\n className=\"w-full h-10 rounded-full border border-border bg-card pl-9 pr-9 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-brand-purple/40 focus:border-brand-purple/40\"\n />\n {query ? (\n <button\n type=\"button\"\n onClick={() => onQueryChange(\"\")}\n aria-label={t(\"Clear search\")}\n className=\"absolute right-2.5 top-1/2 -translate-y-1/2 h-5 w-5 flex items-center justify-center rounded-full text-muted-foreground hover:text-foreground transition-colors\"\n >\n <X className=\"h-3.5 w-3.5\" />\n </button>\n ) : (\n <kbd className=\"absolute right-3 top-1/2 -translate-y-1/2 hidden sm:flex h-5 w-5 items-center justify-center rounded border border-border bg-muted/40 text-2xs font-medium text-muted-foreground pointer-events-none\">\n /\n </kbd>\n )}\n </div>\n\n <nav aria-label={t(\"Launchpad sections\")} className=\"flex gap-2 overflow-x-auto lg:flex-wrap lg:overflow-visible -mx-4 px-4 sm:mx-0 sm:px-0\">\n {sections.map(({ group, count }) => (\n <button\n key={group.key}\n type=\"button\"\n onClick={() => jumpTo(group.key)}\n className=\"h-8 shrink-0 px-3.5 rounded-full text-xs font-semibold transition-colors border inline-flex items-center gap-1.5 bg-card text-muted-foreground border-border active:bg-muted/60 sm:hover:bg-muted/40 sm:hover:text-foreground\"\n >\n {t(group.title)}\n <span className=\"tabular-nums text-muted-foreground/60\">{count}</span>\n </button>\n ))}\n </nav>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqCM;AAnCN,mBAAkC;AAClC,0BAA0B;AAC1B,gCAAmC;AAEnC,sBAAqB;AAQd,SAAS,mBAAmB,EAAE,OAAO,eAAe,SAAS,GAA4B;AAC9F,QAAM,QAAI,sBAAK;AACf,QAAM,eAAW,qBAAyB,IAAI;AAE9C,8BAAU,MAAM;AACd,UAAM,YAAY,CAAC,MAAqB;AACtC,UAAI,EAAE,QAAQ,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAQ;AACzD,YAAM,SAAS,EAAE;AACjB,UAAI,WAAW,OAAO,YAAY,WAAW,OAAO,YAAY,cAAc,OAAO,mBAAoB;AACzG,QAAE,eAAe;AACjB,eAAS,SAAS,MAAM;AAAA,IAC1B;AACA,WAAO,iBAAiB,WAAW,SAAS;AAC5C,WAAO,MAAM,OAAO,oBAAoB,WAAW,SAAS;AAAA,EAC9D,GAAG,CAAC,CAAC;AAEL,QAAM,SAAS,CAAC,QAAsB;AACpC,UAAM,SAAS,OAAO,WAAW,kCAAkC,EAAE;AACrE,aAAS,mBAAe,8CAAmB,GAAG,CAAC,GAAG,eAAe,EAAE,UAAU,SAAS,SAAS,UAAU,OAAO,QAAQ,CAAC;AAAA,EAC3H;AAEA,SACE,6CAAC,SAAI,WAAU,yJACb;AAAA,iDAAC,SAAI,WAAU,gCACb;AAAA,kDAAC,8BAAO,WAAU,8FAA6F;AAAA,MAC/G;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,MAAK;AAAA,UACL,OAAO;AAAA,UACP,UAAU,CAAC,MAAM,cAAc,EAAE,OAAO,KAAK;AAAA,UAC7C,aAAa,EAAE,iBAAiB;AAAA,UAChC,WAAU;AAAA;AAAA,MACZ;AAAA,MACC,QACC;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,SAAS,MAAM,cAAc,EAAE;AAAA,UAC/B,cAAY,EAAE,cAAc;AAAA,UAC5B,WAAU;AAAA,UAEV,sDAAC,yBAAE,WAAU,eAAc;AAAA;AAAA,MAC7B,IAEA,4CAAC,SAAI,WAAU,wMAAuM,eAEtN;AAAA,OAEJ;AAAA,IAEA,4CAAC,SAAI,cAAY,EAAE,oBAAoB,GAAG,WAAU,0FACjD,mBAAS,IAAI,CAAC,EAAE,OAAO,MAAM,MAC5B;AAAA,MAAC;AAAA;AAAA,QAEC,MAAK;AAAA,QACL,SAAS,MAAM,OAAO,MAAM,GAAG;AAAA,QAC/B,WAAU;AAAA,QAET;AAAA,YAAE,MAAM,KAAK;AAAA,UACd,4CAAC,UAAK,WAAU,yCAAyC,iBAAM;AAAA;AAAA;AAAA,MAN1D,MAAM;AAAA,IAOb,CACD,GACH;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -3,7 +3,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import { Search, X } from "lucide-react";
|
|
5
5
|
import { launchpadSectionId } from "./launchpad-services.js";
|
|
6
|
+
import { useT } from "../i18n/provider.js";
|
|
6
7
|
function LaunchpadFilterBar({ query, onQueryChange, sections }) {
|
|
8
|
+
const t = useT();
|
|
7
9
|
const inputRef = useRef(null);
|
|
8
10
|
useEffect(() => {
|
|
9
11
|
const onKeyDown = (e) => {
|
|
@@ -30,7 +32,7 @@ function LaunchpadFilterBar({ query, onQueryChange, sections }) {
|
|
|
30
32
|
type: "text",
|
|
31
33
|
value: query,
|
|
32
34
|
onChange: (e) => onQueryChange(e.target.value),
|
|
33
|
-
placeholder: "Search services",
|
|
35
|
+
placeholder: t("Search services"),
|
|
34
36
|
className: "w-full h-10 rounded-full border border-border bg-card pl-9 pr-9 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-brand-purple/40 focus:border-brand-purple/40"
|
|
35
37
|
}
|
|
36
38
|
),
|
|
@@ -39,20 +41,20 @@ function LaunchpadFilterBar({ query, onQueryChange, sections }) {
|
|
|
39
41
|
{
|
|
40
42
|
type: "button",
|
|
41
43
|
onClick: () => onQueryChange(""),
|
|
42
|
-
"aria-label": "Clear search",
|
|
44
|
+
"aria-label": t("Clear search"),
|
|
43
45
|
className: "absolute right-2.5 top-1/2 -translate-y-1/2 h-5 w-5 flex items-center justify-center rounded-full text-muted-foreground hover:text-foreground transition-colors",
|
|
44
46
|
children: /* @__PURE__ */ jsx(X, { className: "h-3.5 w-3.5" })
|
|
45
47
|
}
|
|
46
48
|
) : /* @__PURE__ */ jsx("kbd", { className: "absolute right-3 top-1/2 -translate-y-1/2 hidden sm:flex h-5 w-5 items-center justify-center rounded border border-border bg-muted/40 text-2xs font-medium text-muted-foreground pointer-events-none", children: "/" })
|
|
47
49
|
] }),
|
|
48
|
-
/* @__PURE__ */ jsx("nav", { "aria-label": "Launchpad sections", className: "flex gap-2 overflow-x-auto lg:flex-wrap lg:overflow-visible -mx-4 px-4 sm:mx-0 sm:px-0", children: sections.map(({ group, count }) => /* @__PURE__ */ jsxs(
|
|
50
|
+
/* @__PURE__ */ jsx("nav", { "aria-label": t("Launchpad sections"), className: "flex gap-2 overflow-x-auto lg:flex-wrap lg:overflow-visible -mx-4 px-4 sm:mx-0 sm:px-0", children: sections.map(({ group, count }) => /* @__PURE__ */ jsxs(
|
|
49
51
|
"button",
|
|
50
52
|
{
|
|
51
53
|
type: "button",
|
|
52
54
|
onClick: () => jumpTo(group.key),
|
|
53
55
|
className: "h-8 shrink-0 px-3.5 rounded-full text-xs font-semibold transition-colors border inline-flex items-center gap-1.5 bg-card text-muted-foreground border-border active:bg-muted/60 sm:hover:bg-muted/40 sm:hover:text-foreground",
|
|
54
56
|
children: [
|
|
55
|
-
group.title,
|
|
57
|
+
t(group.title),
|
|
56
58
|
/* @__PURE__ */ jsx("span", { className: "tabular-nums text-muted-foreground/60", children: count })
|
|
57
59
|
]
|
|
58
60
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/launchpad-filter-bar.tsx"],"sourcesContent":["\"use client\";\n\nimport { useEffect, useRef } from \"react\";\nimport { Search, X } from \"lucide-react\";\nimport { launchpadSectionId } from \"./launchpad-services.js\";\nimport type { ServiceGroup, ServiceGroupDefinition } from \"../data/launchpad-services.js\";\n\nexport interface LaunchpadFilterBarProps {\n query: string;\n onQueryChange: (value: string) => void;\n sections: Array<{ group: ServiceGroupDefinition; count: number }>;\n}\n\nexport function LaunchpadFilterBar({ query, onQueryChange, sections }: LaunchpadFilterBarProps) {\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"/\" || e.metaKey || e.ctrlKey || e.altKey) return;\n const target = e.target as HTMLElement | null;\n if (target && (target.tagName === \"INPUT\" || target.tagName === \"TEXTAREA\" || target.isContentEditable)) return;\n e.preventDefault();\n inputRef.current?.focus();\n };\n window.addEventListener(\"keydown\", onKeyDown);\n return () => window.removeEventListener(\"keydown\", onKeyDown);\n }, []);\n\n const jumpTo = (key: ServiceGroup) => {\n const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n document.getElementById(launchpadSectionId(key))?.scrollIntoView({ behavior: reduce ? \"auto\" : \"smooth\", block: \"start\" });\n };\n\n return (\n <div className=\"sticky top-0 z-20 -mx-4 sm:-mx-6 lg:-mx-8 px-4 sm:px-6 lg:px-8 py-3 bg-background/95 backdrop-blur-sm flex flex-col lg:flex-row gap-3 lg:items-center\">\n <div className=\"relative lg:w-72 lg:shrink-0\">\n <Search className=\"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none\" />\n <input\n ref={inputRef}\n type=\"text\"\n value={query}\n onChange={(e) => onQueryChange(e.target.value)}\n placeholder
|
|
1
|
+
{"version":3,"sources":["../../src/components/launchpad-filter-bar.tsx"],"sourcesContent":["\"use client\";\n\nimport { useEffect, useRef } from \"react\";\nimport { Search, X } from \"lucide-react\";\nimport { launchpadSectionId } from \"./launchpad-services.js\";\nimport type { ServiceGroup, ServiceGroupDefinition } from \"../data/launchpad-services.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface LaunchpadFilterBarProps {\n query: string;\n onQueryChange: (value: string) => void;\n sections: Array<{ group: ServiceGroupDefinition; count: number }>;\n}\n\nexport function LaunchpadFilterBar({ query, onQueryChange, sections }: LaunchpadFilterBarProps) {\n const t = useT();\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"/\" || e.metaKey || e.ctrlKey || e.altKey) return;\n const target = e.target as HTMLElement | null;\n if (target && (target.tagName === \"INPUT\" || target.tagName === \"TEXTAREA\" || target.isContentEditable)) return;\n e.preventDefault();\n inputRef.current?.focus();\n };\n window.addEventListener(\"keydown\", onKeyDown);\n return () => window.removeEventListener(\"keydown\", onKeyDown);\n }, []);\n\n const jumpTo = (key: ServiceGroup) => {\n const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n document.getElementById(launchpadSectionId(key))?.scrollIntoView({ behavior: reduce ? \"auto\" : \"smooth\", block: \"start\" });\n };\n\n return (\n <div className=\"sticky top-0 z-20 -mx-4 sm:-mx-6 lg:-mx-8 px-4 sm:px-6 lg:px-8 py-3 bg-background/95 backdrop-blur-sm flex flex-col lg:flex-row gap-3 lg:items-center\">\n <div className=\"relative lg:w-72 lg:shrink-0\">\n <Search className=\"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none\" />\n <input\n ref={inputRef}\n type=\"text\"\n value={query}\n onChange={(e) => onQueryChange(e.target.value)}\n placeholder={t(\"Search services\")}\n className=\"w-full h-10 rounded-full border border-border bg-card pl-9 pr-9 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-brand-purple/40 focus:border-brand-purple/40\"\n />\n {query ? (\n <button\n type=\"button\"\n onClick={() => onQueryChange(\"\")}\n aria-label={t(\"Clear search\")}\n className=\"absolute right-2.5 top-1/2 -translate-y-1/2 h-5 w-5 flex items-center justify-center rounded-full text-muted-foreground hover:text-foreground transition-colors\"\n >\n <X className=\"h-3.5 w-3.5\" />\n </button>\n ) : (\n <kbd className=\"absolute right-3 top-1/2 -translate-y-1/2 hidden sm:flex h-5 w-5 items-center justify-center rounded border border-border bg-muted/40 text-2xs font-medium text-muted-foreground pointer-events-none\">\n /\n </kbd>\n )}\n </div>\n\n <nav aria-label={t(\"Launchpad sections\")} className=\"flex gap-2 overflow-x-auto lg:flex-wrap lg:overflow-visible -mx-4 px-4 sm:mx-0 sm:px-0\">\n {sections.map(({ group, count }) => (\n <button\n key={group.key}\n type=\"button\"\n onClick={() => jumpTo(group.key)}\n className=\"h-8 shrink-0 px-3.5 rounded-full text-xs font-semibold transition-colors border inline-flex items-center gap-1.5 bg-card text-muted-foreground border-border active:bg-muted/60 sm:hover:bg-muted/40 sm:hover:text-foreground\"\n >\n {t(group.title)}\n <span className=\"tabular-nums text-muted-foreground/60\">{count}</span>\n </button>\n ))}\n </nav>\n </div>\n );\n}\n"],"mappings":";AAqCM,SACE,KADF;AAnCN,SAAS,WAAW,cAAc;AAClC,SAAS,QAAQ,SAAS;AAC1B,SAAS,0BAA0B;AAEnC,SAAS,YAAY;AAQd,SAAS,mBAAmB,EAAE,OAAO,eAAe,SAAS,GAA4B;AAC9F,QAAM,IAAI,KAAK;AACf,QAAM,WAAW,OAAyB,IAAI;AAE9C,YAAU,MAAM;AACd,UAAM,YAAY,CAAC,MAAqB;AACtC,UAAI,EAAE,QAAQ,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAQ;AACzD,YAAM,SAAS,EAAE;AACjB,UAAI,WAAW,OAAO,YAAY,WAAW,OAAO,YAAY,cAAc,OAAO,mBAAoB;AACzG,QAAE,eAAe;AACjB,eAAS,SAAS,MAAM;AAAA,IAC1B;AACA,WAAO,iBAAiB,WAAW,SAAS;AAC5C,WAAO,MAAM,OAAO,oBAAoB,WAAW,SAAS;AAAA,EAC9D,GAAG,CAAC,CAAC;AAEL,QAAM,SAAS,CAAC,QAAsB;AACpC,UAAM,SAAS,OAAO,WAAW,kCAAkC,EAAE;AACrE,aAAS,eAAe,mBAAmB,GAAG,CAAC,GAAG,eAAe,EAAE,UAAU,SAAS,SAAS,UAAU,OAAO,QAAQ,CAAC;AAAA,EAC3H;AAEA,SACE,qBAAC,SAAI,WAAU,yJACb;AAAA,yBAAC,SAAI,WAAU,gCACb;AAAA,0BAAC,UAAO,WAAU,8FAA6F;AAAA,MAC/G;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,MAAK;AAAA,UACL,OAAO;AAAA,UACP,UAAU,CAAC,MAAM,cAAc,EAAE,OAAO,KAAK;AAAA,UAC7C,aAAa,EAAE,iBAAiB;AAAA,UAChC,WAAU;AAAA;AAAA,MACZ;AAAA,MACC,QACC;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,SAAS,MAAM,cAAc,EAAE;AAAA,UAC/B,cAAY,EAAE,cAAc;AAAA,UAC5B,WAAU;AAAA,UAEV,8BAAC,KAAE,WAAU,eAAc;AAAA;AAAA,MAC7B,IAEA,oBAAC,SAAI,WAAU,wMAAuM,eAEtN;AAAA,OAEJ;AAAA,IAEA,oBAAC,SAAI,cAAY,EAAE,oBAAoB,GAAG,WAAU,0FACjD,mBAAS,IAAI,CAAC,EAAE,OAAO,MAAM,MAC5B;AAAA,MAAC;AAAA;AAAA,QAEC,MAAK;AAAA,QACL,SAAS,MAAM,OAAO,MAAM,GAAG;AAAA,QAC/B,WAAU;AAAA,QAET;AAAA,YAAE,MAAM,KAAK;AAAA,UACd,oBAAC,UAAK,WAAU,yCAAyC,iBAAM;AAAA;AAAA;AAAA,MAN1D,MAAM;AAAA,IAOb,CACD,GACH;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -31,24 +31,26 @@ var import_launchpad_services2 = require("../data/launchpad-services.js");
|
|
|
31
31
|
var import_launchpad_filter_bar = require("./launchpad-filter-bar.js");
|
|
32
32
|
var import_medialane_app = require("./medialane-app.js");
|
|
33
33
|
var import_use_collections = require("../utils/use-collections.js");
|
|
34
|
+
var import_provider = require("../i18n/provider.js");
|
|
34
35
|
function LaunchpadPage({ fastMint, hideGroups = [], excludeKeys }) {
|
|
36
|
+
const t = (0, import_provider.useT)();
|
|
35
37
|
const { walletAddress } = (0, import_medialane_app.useMedialaneApp)();
|
|
36
38
|
const filter = (0, import_launchpad_services.useLaunchpadFilter)();
|
|
37
39
|
const { collections } = (0, import_use_collections.useCollectionsByOwner)(walletAddress);
|
|
38
40
|
const overrides = (0, import_react.useMemo)(() => {
|
|
39
41
|
const nftCount = collections.filter((c) => (0, import_sdk.getService)(c.service)?.id === "mip-erc721").length;
|
|
40
42
|
const editionsCount = collections.filter((c) => c.standard === "ERC1155").length;
|
|
41
|
-
const withMeta = (key, count) => count > 0 ? { [key]: { ...import_launchpad_services.LAUNCHPAD_ROUTE_OVERRIDES[key], meta:
|
|
43
|
+
const withMeta = (key, count) => count > 0 ? { [key]: { ...import_launchpad_services.LAUNCHPAD_ROUTE_OVERRIDES[key], meta: t.plural("{count} collection", "{count} collections", count) } } : {};
|
|
42
44
|
return { ...import_launchpad_services.LAUNCHPAD_ROUTE_OVERRIDES, ...withMeta("nfts", nftCount), ...withMeta("limited-editions", editionsCount) };
|
|
43
|
-
}, [collections]);
|
|
45
|
+
}, [collections, t]);
|
|
44
46
|
const defs = (0, import_react.useMemo)(
|
|
45
|
-
() => (0, import_launchpad_services.selectLaunchpadServices)({ query: filter.query, hideGroups, excludeKeys }),
|
|
46
|
-
[filter.query, hideGroups, excludeKeys]
|
|
47
|
+
() => (0, import_launchpad_services.selectLaunchpadServices)({ query: filter.query, hideGroups, excludeKeys, translate: t }),
|
|
48
|
+
[filter.query, hideGroups, excludeKeys, t]
|
|
47
49
|
);
|
|
48
50
|
const sections = import_launchpad_services2.LAUNCHPAD_SERVICE_GROUPS.filter((g) => g.key !== "coming-soon").map((group) => ({ group, count: defs.filter((d) => d.group === group.key).length })).filter((s) => s.count > 0);
|
|
49
51
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative pb-20 space-y-16 sm:space-y-24", children: [
|
|
50
52
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 pt-20 sm:pt-24 space-y-6", children: [
|
|
51
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_motion_primitives.FadeIn, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-3xl sm:text-4xl font-semibold leading-tight", children: "Creator Launchpad" }) }),
|
|
53
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_motion_primitives.FadeIn, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-3xl sm:text-4xl font-semibold leading-tight", children: t("Creator Launchpad") }) }),
|
|
52
54
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_motion_primitives.FadeIn, { delay: 0.06, children: fastMint })
|
|
53
55
|
] }),
|
|
54
56
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 space-y-8", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/launchpad-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { useMemo, type ReactNode } from \"react\";\nimport { getService } from \"@medialane/sdk\";\nimport { FadeIn } from \"./motion-primitives.js\";\nimport { LaunchpadGroupedSections, LAUNCHPAD_ROUTE_OVERRIDES, selectLaunchpadServices, useLaunchpadFilter, type ServiceOverrides } from \"./launchpad-services.js\";\nimport { LAUNCHPAD_SERVICE_GROUPS } from \"../data/launchpad-services.js\";\nimport { LaunchpadFilterBar } from \"./launchpad-filter-bar.js\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { useCollectionsByOwner } from \"../utils/use-collections.js\";\n\nexport interface LaunchpadPageProps {\n fastMint: ReactNode;\n hideGroups?: string[];\n excludeKeys?: string[];\n}\n\nexport function LaunchpadPage({ fastMint, hideGroups = [], excludeKeys }: LaunchpadPageProps) {\n const { walletAddress } = useMedialaneApp();\n const filter = useLaunchpadFilter();\n const { collections } = useCollectionsByOwner(walletAddress);\n\n const overrides = useMemo<ServiceOverrides>(() => {\n const nftCount = collections.filter((c) => getService(c.service)?.id === \"mip-erc721\").length;\n const editionsCount = collections.filter((c) => c.standard === \"ERC1155\").length;\n const withMeta = (key: string, count: number): ServiceOverrides =>\n count > 0 ? { [key]: { ...LAUNCHPAD_ROUTE_OVERRIDES[key], meta:
|
|
1
|
+
{"version":3,"sources":["../../src/components/launchpad-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { useMemo, type ReactNode } from \"react\";\nimport { getService } from \"@medialane/sdk\";\nimport { FadeIn } from \"./motion-primitives.js\";\nimport { LaunchpadGroupedSections, LAUNCHPAD_ROUTE_OVERRIDES, selectLaunchpadServices, useLaunchpadFilter, type ServiceOverrides } from \"./launchpad-services.js\";\nimport { LAUNCHPAD_SERVICE_GROUPS } from \"../data/launchpad-services.js\";\nimport { LaunchpadFilterBar } from \"./launchpad-filter-bar.js\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { useCollectionsByOwner } from \"../utils/use-collections.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface LaunchpadPageProps {\n fastMint: ReactNode;\n hideGroups?: string[];\n excludeKeys?: string[];\n}\n\nexport function LaunchpadPage({ fastMint, hideGroups = [], excludeKeys }: LaunchpadPageProps) {\n const t = useT();\n const { walletAddress } = useMedialaneApp();\n const filter = useLaunchpadFilter();\n const { collections } = useCollectionsByOwner(walletAddress);\n\n const overrides = useMemo<ServiceOverrides>(() => {\n const nftCount = collections.filter((c) => getService(c.service)?.id === \"mip-erc721\").length;\n const editionsCount = collections.filter((c) => c.standard === \"ERC1155\").length;\n const withMeta = (key: string, count: number): ServiceOverrides =>\n count > 0 ? { [key]: { ...LAUNCHPAD_ROUTE_OVERRIDES[key], meta: t.plural(\"{count} collection\", \"{count} collections\", count) } } : {};\n return { ...LAUNCHPAD_ROUTE_OVERRIDES, ...withMeta(\"nfts\", nftCount), ...withMeta(\"limited-editions\", editionsCount) };\n }, [collections, t]);\n\n const defs = useMemo(\n () => selectLaunchpadServices({ query: filter.query, hideGroups, excludeKeys, translate: t }),\n [filter.query, hideGroups, excludeKeys, t],\n );\n\n const sections = LAUNCHPAD_SERVICE_GROUPS\n .filter((g) => g.key !== \"coming-soon\")\n .map((group) => ({ group, count: defs.filter((d) => d.group === group.key).length }))\n .filter((s) => s.count > 0);\n\n return (\n <div className=\"relative pb-20 space-y-16 sm:space-y-24\">\n <section className=\"max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 pt-20 sm:pt-24 space-y-6\">\n <FadeIn>\n <h1 className=\"text-3xl sm:text-4xl font-semibold leading-tight\">{t(\"Creator Launchpad\")}</h1>\n </FadeIn>\n <FadeIn delay={0.06}>{fastMint}</FadeIn>\n </section>\n\n <section className=\"max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 space-y-8\">\n <FadeIn delay={0.06}>\n <LaunchpadFilterBar query={filter.query} onQueryChange={filter.setQuery} sections={sections} />\n </FadeIn>\n <LaunchpadGroupedSections overrides={overrides} defs={defs} onClearFilters={filter.clear} />\n </section>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA4CM;AA1CN,mBAAwC;AACxC,iBAA2B;AAC3B,+BAAuB;AACvB,gCAAwI;AACxI,IAAAA,6BAAyC;AACzC,kCAAmC;AACnC,2BAAgC;AAChC,6BAAsC;AACtC,sBAAqB;AAQd,SAAS,cAAc,EAAE,UAAU,aAAa,CAAC,GAAG,YAAY,GAAuB;AAC5F,QAAM,QAAI,sBAAK;AACf,QAAM,EAAE,cAAc,QAAI,sCAAgB;AAC1C,QAAM,aAAS,8CAAmB;AAClC,QAAM,EAAE,YAAY,QAAI,8CAAsB,aAAa;AAE3D,QAAM,gBAAY,sBAA0B,MAAM;AAChD,UAAM,WAAW,YAAY,OAAO,CAAC,UAAM,uBAAW,EAAE,OAAO,GAAG,OAAO,YAAY,EAAE;AACvF,UAAM,gBAAgB,YAAY,OAAO,CAAC,MAAM,EAAE,aAAa,SAAS,EAAE;AAC1E,UAAM,WAAW,CAAC,KAAa,UAC7B,QAAQ,IAAI,EAAE,CAAC,GAAG,GAAG,EAAE,GAAG,oDAA0B,GAAG,GAAG,MAAM,EAAE,OAAO,sBAAsB,uBAAuB,KAAK,EAAE,EAAE,IAAI,CAAC;AACtI,WAAO,EAAE,GAAG,qDAA2B,GAAG,SAAS,QAAQ,QAAQ,GAAG,GAAG,SAAS,oBAAoB,aAAa,EAAE;AAAA,EACvH,GAAG,CAAC,aAAa,CAAC,CAAC;AAEnB,QAAM,WAAO;AAAA,IACX,UAAM,mDAAwB,EAAE,OAAO,OAAO,OAAO,YAAY,aAAa,WAAW,EAAE,CAAC;AAAA,IAC5F,CAAC,OAAO,OAAO,YAAY,aAAa,CAAC;AAAA,EAC3C;AAEA,QAAM,WAAW,oDACd,OAAO,CAAC,MAAM,EAAE,QAAQ,aAAa,EACrC,IAAI,CAAC,WAAW,EAAE,OAAO,OAAO,KAAK,OAAO,CAAC,MAAM,EAAE,UAAU,MAAM,GAAG,EAAE,OAAO,EAAE,EACnF,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC;AAE5B,SACE,6CAAC,SAAI,WAAU,2CACb;AAAA,iDAAC,aAAQ,WAAU,wEACjB;AAAA,kDAAC,mCACC,sDAAC,QAAG,WAAU,oDAAoD,YAAE,mBAAmB,GAAE,GAC3F;AAAA,MACA,4CAAC,mCAAO,OAAO,MAAO,oBAAS;AAAA,OACjC;AAAA,IAEA,6CAAC,aAAQ,WAAU,yDACjB;AAAA,kDAAC,mCAAO,OAAO,MACb,sDAAC,kDAAmB,OAAO,OAAO,OAAO,eAAe,OAAO,UAAU,UAAoB,GAC/F;AAAA,MACA,4CAAC,sDAAyB,WAAsB,MAAY,gBAAgB,OAAO,OAAO;AAAA,OAC5F;AAAA,KACF;AAEJ;","names":["import_launchpad_services"]}
|
|
@@ -8,24 +8,26 @@ import { LAUNCHPAD_SERVICE_GROUPS } from "../data/launchpad-services.js";
|
|
|
8
8
|
import { LaunchpadFilterBar } from "./launchpad-filter-bar.js";
|
|
9
9
|
import { useMedialaneApp } from "./medialane-app.js";
|
|
10
10
|
import { useCollectionsByOwner } from "../utils/use-collections.js";
|
|
11
|
+
import { useT } from "../i18n/provider.js";
|
|
11
12
|
function LaunchpadPage({ fastMint, hideGroups = [], excludeKeys }) {
|
|
13
|
+
const t = useT();
|
|
12
14
|
const { walletAddress } = useMedialaneApp();
|
|
13
15
|
const filter = useLaunchpadFilter();
|
|
14
16
|
const { collections } = useCollectionsByOwner(walletAddress);
|
|
15
17
|
const overrides = useMemo(() => {
|
|
16
18
|
const nftCount = collections.filter((c) => getService(c.service)?.id === "mip-erc721").length;
|
|
17
19
|
const editionsCount = collections.filter((c) => c.standard === "ERC1155").length;
|
|
18
|
-
const withMeta = (key, count) => count > 0 ? { [key]: { ...LAUNCHPAD_ROUTE_OVERRIDES[key], meta:
|
|
20
|
+
const withMeta = (key, count) => count > 0 ? { [key]: { ...LAUNCHPAD_ROUTE_OVERRIDES[key], meta: t.plural("{count} collection", "{count} collections", count) } } : {};
|
|
19
21
|
return { ...LAUNCHPAD_ROUTE_OVERRIDES, ...withMeta("nfts", nftCount), ...withMeta("limited-editions", editionsCount) };
|
|
20
|
-
}, [collections]);
|
|
22
|
+
}, [collections, t]);
|
|
21
23
|
const defs = useMemo(
|
|
22
|
-
() => selectLaunchpadServices({ query: filter.query, hideGroups, excludeKeys }),
|
|
23
|
-
[filter.query, hideGroups, excludeKeys]
|
|
24
|
+
() => selectLaunchpadServices({ query: filter.query, hideGroups, excludeKeys, translate: t }),
|
|
25
|
+
[filter.query, hideGroups, excludeKeys, t]
|
|
24
26
|
);
|
|
25
27
|
const sections = LAUNCHPAD_SERVICE_GROUPS.filter((g) => g.key !== "coming-soon").map((group) => ({ group, count: defs.filter((d) => d.group === group.key).length })).filter((s) => s.count > 0);
|
|
26
28
|
return /* @__PURE__ */ jsxs("div", { className: "relative pb-20 space-y-16 sm:space-y-24", children: [
|
|
27
29
|
/* @__PURE__ */ jsxs("section", { className: "max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 pt-20 sm:pt-24 space-y-6", children: [
|
|
28
|
-
/* @__PURE__ */ jsx(FadeIn, { children: /* @__PURE__ */ jsx("h1", { className: "text-3xl sm:text-4xl font-semibold leading-tight", children: "Creator Launchpad" }) }),
|
|
30
|
+
/* @__PURE__ */ jsx(FadeIn, { children: /* @__PURE__ */ jsx("h1", { className: "text-3xl sm:text-4xl font-semibold leading-tight", children: t("Creator Launchpad") }) }),
|
|
29
31
|
/* @__PURE__ */ jsx(FadeIn, { delay: 0.06, children: fastMint })
|
|
30
32
|
] }),
|
|
31
33
|
/* @__PURE__ */ jsxs("section", { className: "max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 space-y-8", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/launchpad-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { useMemo, type ReactNode } from \"react\";\nimport { getService } from \"@medialane/sdk\";\nimport { FadeIn } from \"./motion-primitives.js\";\nimport { LaunchpadGroupedSections, LAUNCHPAD_ROUTE_OVERRIDES, selectLaunchpadServices, useLaunchpadFilter, type ServiceOverrides } from \"./launchpad-services.js\";\nimport { LAUNCHPAD_SERVICE_GROUPS } from \"../data/launchpad-services.js\";\nimport { LaunchpadFilterBar } from \"./launchpad-filter-bar.js\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { useCollectionsByOwner } from \"../utils/use-collections.js\";\n\nexport interface LaunchpadPageProps {\n fastMint: ReactNode;\n hideGroups?: string[];\n excludeKeys?: string[];\n}\n\nexport function LaunchpadPage({ fastMint, hideGroups = [], excludeKeys }: LaunchpadPageProps) {\n const { walletAddress } = useMedialaneApp();\n const filter = useLaunchpadFilter();\n const { collections } = useCollectionsByOwner(walletAddress);\n\n const overrides = useMemo<ServiceOverrides>(() => {\n const nftCount = collections.filter((c) => getService(c.service)?.id === \"mip-erc721\").length;\n const editionsCount = collections.filter((c) => c.standard === \"ERC1155\").length;\n const withMeta = (key: string, count: number): ServiceOverrides =>\n count > 0 ? { [key]: { ...LAUNCHPAD_ROUTE_OVERRIDES[key], meta:
|
|
1
|
+
{"version":3,"sources":["../../src/components/launchpad-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { useMemo, type ReactNode } from \"react\";\nimport { getService } from \"@medialane/sdk\";\nimport { FadeIn } from \"./motion-primitives.js\";\nimport { LaunchpadGroupedSections, LAUNCHPAD_ROUTE_OVERRIDES, selectLaunchpadServices, useLaunchpadFilter, type ServiceOverrides } from \"./launchpad-services.js\";\nimport { LAUNCHPAD_SERVICE_GROUPS } from \"../data/launchpad-services.js\";\nimport { LaunchpadFilterBar } from \"./launchpad-filter-bar.js\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { useCollectionsByOwner } from \"../utils/use-collections.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface LaunchpadPageProps {\n fastMint: ReactNode;\n hideGroups?: string[];\n excludeKeys?: string[];\n}\n\nexport function LaunchpadPage({ fastMint, hideGroups = [], excludeKeys }: LaunchpadPageProps) {\n const t = useT();\n const { walletAddress } = useMedialaneApp();\n const filter = useLaunchpadFilter();\n const { collections } = useCollectionsByOwner(walletAddress);\n\n const overrides = useMemo<ServiceOverrides>(() => {\n const nftCount = collections.filter((c) => getService(c.service)?.id === \"mip-erc721\").length;\n const editionsCount = collections.filter((c) => c.standard === \"ERC1155\").length;\n const withMeta = (key: string, count: number): ServiceOverrides =>\n count > 0 ? { [key]: { ...LAUNCHPAD_ROUTE_OVERRIDES[key], meta: t.plural(\"{count} collection\", \"{count} collections\", count) } } : {};\n return { ...LAUNCHPAD_ROUTE_OVERRIDES, ...withMeta(\"nfts\", nftCount), ...withMeta(\"limited-editions\", editionsCount) };\n }, [collections, t]);\n\n const defs = useMemo(\n () => selectLaunchpadServices({ query: filter.query, hideGroups, excludeKeys, translate: t }),\n [filter.query, hideGroups, excludeKeys, t],\n );\n\n const sections = LAUNCHPAD_SERVICE_GROUPS\n .filter((g) => g.key !== \"coming-soon\")\n .map((group) => ({ group, count: defs.filter((d) => d.group === group.key).length }))\n .filter((s) => s.count > 0);\n\n return (\n <div className=\"relative pb-20 space-y-16 sm:space-y-24\">\n <section className=\"max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 pt-20 sm:pt-24 space-y-6\">\n <FadeIn>\n <h1 className=\"text-3xl sm:text-4xl font-semibold leading-tight\">{t(\"Creator Launchpad\")}</h1>\n </FadeIn>\n <FadeIn delay={0.06}>{fastMint}</FadeIn>\n </section>\n\n <section className=\"max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 space-y-8\">\n <FadeIn delay={0.06}>\n <LaunchpadFilterBar query={filter.query} onQueryChange={filter.setQuery} sections={sections} />\n </FadeIn>\n <LaunchpadGroupedSections overrides={overrides} defs={defs} onClearFilters={filter.clear} />\n </section>\n </div>\n );\n}\n"],"mappings":";AA4CM,SAEI,KAFJ;AA1CN,SAAS,eAA+B;AACxC,SAAS,kBAAkB;AAC3B,SAAS,cAAc;AACvB,SAAS,0BAA0B,2BAA2B,yBAAyB,0BAAiD;AACxI,SAAS,gCAAgC;AACzC,SAAS,0BAA0B;AACnC,SAAS,uBAAuB;AAChC,SAAS,6BAA6B;AACtC,SAAS,YAAY;AAQd,SAAS,cAAc,EAAE,UAAU,aAAa,CAAC,GAAG,YAAY,GAAuB;AAC5F,QAAM,IAAI,KAAK;AACf,QAAM,EAAE,cAAc,IAAI,gBAAgB;AAC1C,QAAM,SAAS,mBAAmB;AAClC,QAAM,EAAE,YAAY,IAAI,sBAAsB,aAAa;AAE3D,QAAM,YAAY,QAA0B,MAAM;AAChD,UAAM,WAAW,YAAY,OAAO,CAAC,MAAM,WAAW,EAAE,OAAO,GAAG,OAAO,YAAY,EAAE;AACvF,UAAM,gBAAgB,YAAY,OAAO,CAAC,MAAM,EAAE,aAAa,SAAS,EAAE;AAC1E,UAAM,WAAW,CAAC,KAAa,UAC7B,QAAQ,IAAI,EAAE,CAAC,GAAG,GAAG,EAAE,GAAG,0BAA0B,GAAG,GAAG,MAAM,EAAE,OAAO,sBAAsB,uBAAuB,KAAK,EAAE,EAAE,IAAI,CAAC;AACtI,WAAO,EAAE,GAAG,2BAA2B,GAAG,SAAS,QAAQ,QAAQ,GAAG,GAAG,SAAS,oBAAoB,aAAa,EAAE;AAAA,EACvH,GAAG,CAAC,aAAa,CAAC,CAAC;AAEnB,QAAM,OAAO;AAAA,IACX,MAAM,wBAAwB,EAAE,OAAO,OAAO,OAAO,YAAY,aAAa,WAAW,EAAE,CAAC;AAAA,IAC5F,CAAC,OAAO,OAAO,YAAY,aAAa,CAAC;AAAA,EAC3C;AAEA,QAAM,WAAW,yBACd,OAAO,CAAC,MAAM,EAAE,QAAQ,aAAa,EACrC,IAAI,CAAC,WAAW,EAAE,OAAO,OAAO,KAAK,OAAO,CAAC,MAAM,EAAE,UAAU,MAAM,GAAG,EAAE,OAAO,EAAE,EACnF,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC;AAE5B,SACE,qBAAC,SAAI,WAAU,2CACb;AAAA,yBAAC,aAAQ,WAAU,wEACjB;AAAA,0BAAC,UACC,8BAAC,QAAG,WAAU,oDAAoD,YAAE,mBAAmB,GAAE,GAC3F;AAAA,MACA,oBAAC,UAAO,OAAO,MAAO,oBAAS;AAAA,OACjC;AAAA,IAEA,qBAAC,aAAQ,WAAU,yDACjB;AAAA,0BAAC,UAAO,OAAO,MACb,8BAAC,sBAAmB,OAAO,OAAO,OAAO,eAAe,OAAO,UAAU,UAAoB,GAC/F;AAAA,MACA,oBAAC,4BAAyB,WAAsB,MAAY,gBAAgB,OAAO,OAAO;AAAA,OAC5F;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -47,6 +47,7 @@ var import_framer_motion = require("framer-motion");
|
|
|
47
47
|
var import_lucide_react = require("lucide-react");
|
|
48
48
|
var import_cn = require("../utils/cn.js");
|
|
49
49
|
var import_launchpad_services = require("../data/launchpad-services.js");
|
|
50
|
+
var import_provider = require("../i18n/provider.js");
|
|
50
51
|
const LAUNCHPAD_ROUTE_OVERRIDES = {
|
|
51
52
|
"nfts": { href: "/launchpad/single-editions" },
|
|
52
53
|
"create-collection": { href: "/launchpad/single-editions/collection" },
|
|
@@ -94,10 +95,12 @@ const SERVICE_HUES = {
|
|
|
94
95
|
const GROUP_TITLE_BY_KEY = Object.fromEntries(
|
|
95
96
|
import_launchpad_services.LAUNCHPAD_SERVICE_GROUPS.map((g) => [g.key, g.title])
|
|
96
97
|
);
|
|
97
|
-
function LaunchpadServiceCard({ def, override = {}, index = 0 }) {
|
|
98
|
+
function LaunchpadServiceCard({ def: source, override = {}, index = 0 }) {
|
|
99
|
+
const t = (0, import_provider.useT)();
|
|
100
|
+
const def = (0, import_react.useMemo)(() => (0, import_launchpad_services.localizeService)(t, source), [t, source]);
|
|
98
101
|
const { icon: Icon, title, group, features, cta } = def;
|
|
99
102
|
const status = override.status ?? def.status;
|
|
100
|
-
const blurb = override.blurb
|
|
103
|
+
const blurb = override.blurb === void 0 ? def.blurb : t(override.blurb);
|
|
101
104
|
const { href } = override;
|
|
102
105
|
const reduceMotion = (0, import_framer_motion.useReducedMotion)();
|
|
103
106
|
const live = status === "live";
|
|
@@ -107,7 +110,7 @@ function LaunchpadServiceCard({ def, override = {}, index = 0 }) {
|
|
|
107
110
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_cn.cn)("flex h-14 w-14 items-center justify-center rounded-2xl", live ? slice.tint : "bg-muted/40"), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: (0, import_cn.cn)("h-7 w-7", live ? slice.text : "text-muted-foreground/50") }) }),
|
|
108
111
|
!live ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "flex items-center gap-1 text-2xs font-medium text-muted-foreground/60 pt-1", children: [
|
|
109
112
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Lock, { className: "h-3 w-3" }),
|
|
110
|
-
"Coming soon"
|
|
113
|
+
t("Coming soon")
|
|
111
114
|
] }) : override.meta ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-xs font-semibold tabular-nums px-2.5 py-1 rounded-full bg-muted/50 text-foreground/80", children: override.meta }) : null
|
|
112
115
|
] }),
|
|
113
116
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "mt-auto space-y-2 pt-6", children: [
|
|
@@ -149,18 +152,22 @@ function LaunchpadServiceCard({ def, override = {}, index = 0 }) {
|
|
|
149
152
|
);
|
|
150
153
|
}
|
|
151
154
|
function ComingSoonStrip({ group, defs }) {
|
|
155
|
+
const t = (0, import_provider.useT)();
|
|
156
|
+
const { title: groupTitle, tagline } = (0, import_launchpad_services.localizeGroup)(t, group);
|
|
152
157
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-2xl border border-border/40 p-5", children: [
|
|
153
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "font-semibold text-sm", children:
|
|
154
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground mt-0.5", children:
|
|
158
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "font-semibold text-sm", children: groupTitle }),
|
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground mt-0.5", children: tagline }),
|
|
155
160
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex flex-wrap gap-2 mt-4", children: defs.map(({ key, icon: Icon, title }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2 px-3 py-2 rounded-full bg-muted/30 border border-border/25", children: [
|
|
156
161
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: "h-3.5 w-3.5 text-muted-foreground/60" }),
|
|
157
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-xs font-medium text-muted-foreground", children: title })
|
|
162
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-xs font-medium text-muted-foreground", children: t(title) })
|
|
158
163
|
] }, key)) })
|
|
159
164
|
] });
|
|
160
165
|
}
|
|
161
|
-
function serviceMatchesQuery(def, query) {
|
|
166
|
+
function serviceMatchesQuery(def, query, translate = (text) => text) {
|
|
162
167
|
if (query.trim() === "") return true;
|
|
163
|
-
const
|
|
168
|
+
const local = (0, import_launchpad_services.localizeService)(translate, def);
|
|
169
|
+
const groupTitle = GROUP_TITLE_BY_KEY[def.group] ?? "";
|
|
170
|
+
const haystack = `${def.title} ${def.blurb} ${def.subtitle} ${groupTitle} ${local.title} ${local.blurb} ${local.subtitle} ${translate(groupTitle)}`.toLowerCase();
|
|
164
171
|
return haystack.includes(query.trim().toLowerCase());
|
|
165
172
|
}
|
|
166
173
|
function syncFilterUrl(query) {
|
|
@@ -184,28 +191,29 @@ function useLaunchpadFilter() {
|
|
|
184
191
|
const clear = () => setQuery("");
|
|
185
192
|
return { query, setQuery, clear };
|
|
186
193
|
}
|
|
187
|
-
function selectLaunchpadServices({ query, hideGroups = [], excludeKeys = [] }) {
|
|
194
|
+
function selectLaunchpadServices({ query, hideGroups = [], excludeKeys = [], translate }) {
|
|
188
195
|
return import_launchpad_services.LAUNCHPAD_SERVICE_DEFINITIONS.filter(
|
|
189
|
-
(d) => !excludeKeys.includes(d.key) && !hideGroups.includes(d.group) && (d.group === "coming-soon" || d.status === "live") && serviceMatchesQuery(d, query)
|
|
196
|
+
(d) => !excludeKeys.includes(d.key) && !hideGroups.includes(d.group) && (d.group === "coming-soon" || d.status === "live") && serviceMatchesQuery(d, query, translate)
|
|
190
197
|
);
|
|
191
198
|
}
|
|
192
199
|
function launchpadSectionId(group) {
|
|
193
200
|
return `launchpad-${group}`;
|
|
194
201
|
}
|
|
195
202
|
function LaunchpadGroupedSections({ overrides, defs, onClearFilters, className }) {
|
|
196
|
-
const
|
|
203
|
+
const t = (0, import_provider.useT)();
|
|
204
|
+
const sections = import_launchpad_services.LAUNCHPAD_SERVICE_GROUPS.filter((g) => g.key !== "coming-soon").map((group) => ({ group: (0, import_launchpad_services.localizeGroup)(t, group), source: group, defs: defs.filter((d) => d.group === group.key) })).filter((s) => s.defs.length > 0);
|
|
197
205
|
const comingSoonGroup = import_launchpad_services.LAUNCHPAD_SERVICE_GROUPS.find((g) => g.key === "coming-soon");
|
|
198
206
|
const comingSoonDefs = defs.filter((d) => d.group === "coming-soon");
|
|
199
207
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_cn.cn)("space-y-12 sm:space-y-16", className), children: sections.length === 0 && comingSoonDefs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "text-center py-16 space-y-3", children: [
|
|
200
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-lg font-semibold", children: "No services match" }),
|
|
201
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground", children: "Try a different search or clear your search." }),
|
|
208
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-lg font-semibold", children: t("No services match") }),
|
|
209
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground", children: t("Try a different search or clear your search.") }),
|
|
202
210
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
203
211
|
"button",
|
|
204
212
|
{
|
|
205
213
|
type: "button",
|
|
206
214
|
onClick: onClearFilters,
|
|
207
215
|
className: "inline-flex items-center h-9 px-4 rounded-full text-sm font-semibold bg-primary text-primary-foreground",
|
|
208
|
-
children: "Clear search"
|
|
216
|
+
children: t("Clear search")
|
|
209
217
|
}
|
|
210
218
|
)
|
|
211
219
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|