@medialane/ui 0.377.0 → 0.379.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/device-approval-dialog.cjs +1 -1
- package/dist/components/account/device-approval-dialog.cjs.map +1 -1
- package/dist/components/account/device-approval-dialog.js +1 -1
- package/dist/components/account/device-approval-dialog.js.map +1 -1
- package/dist/components/account/devices-section.cjs +1 -1
- package/dist/components/account/devices-section.cjs.map +1 -1
- package/dist/components/account/devices-section.js +1 -1
- package/dist/components/account/devices-section.js.map +1 -1
- package/dist/components/account/guardian-recovery-section.cjs +2 -2
- package/dist/components/account/guardian-recovery-section.cjs.map +1 -1
- package/dist/components/account/guardian-recovery-section.js +2 -2
- package/dist/components/account/guardian-recovery-section.js.map +1 -1
- package/dist/components/account/input-otp.d.cts +2 -2
- package/dist/components/account/input-otp.d.ts +2 -2
- package/dist/components/action-button.cjs +21 -37
- package/dist/components/action-button.cjs.map +1 -1
- package/dist/components/action-button.d.cts +7 -3
- package/dist/components/action-button.d.ts +7 -3
- package/dist/components/action-button.js +20 -37
- package/dist/components/action-button.js.map +1 -1
- package/dist/components/activity-card.cjs +1 -1
- package/dist/components/activity-card.cjs.map +1 -1
- package/dist/components/activity-card.js +1 -1
- package/dist/components/activity-card.js.map +1 -1
- package/dist/components/activity-row.cjs +1 -1
- package/dist/components/activity-row.cjs.map +1 -1
- package/dist/components/activity-row.js +1 -1
- package/dist/components/activity-row.js.map +1 -1
- package/dist/components/alert.d.cts +1 -1
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/approve-mint-dialog.cjs +7 -14
- package/dist/components/approve-mint-dialog.cjs.map +1 -1
- package/dist/components/approve-mint-dialog.js +7 -14
- package/dist/components/approve-mint-dialog.js.map +1 -1
- package/dist/components/asset-picker.cjs +2 -9
- package/dist/components/asset-picker.cjs.map +1 -1
- package/dist/components/asset-picker.js +2 -9
- package/dist/components/asset-picker.js.map +1 -1
- package/dist/components/badge.cjs +2 -2
- package/dist/components/badge.cjs.map +1 -1
- package/dist/components/badge.d.cts +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +2 -2
- package/dist/components/badge.js.map +1 -1
- package/dist/components/button.cjs +2 -2
- package/dist/components/button.cjs.map +1 -1
- package/dist/components/button.d.cts +2 -2
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +2 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/club-owner-actions.cjs +5 -11
- package/dist/components/club-owner-actions.cjs.map +1 -1
- package/dist/components/club-owner-actions.js +5 -11
- package/dist/components/club-owner-actions.js.map +1 -1
- package/dist/components/collection-filters-dialog.cjs +2 -8
- package/dist/components/collection-filters-dialog.cjs.map +1 -1
- package/dist/components/collection-filters-dialog.js +2 -8
- package/dist/components/collection-filters-dialog.js.map +1 -1
- package/dist/components/collection-name-claim.cjs +1 -1
- package/dist/components/collection-name-claim.cjs.map +1 -1
- package/dist/components/collection-name-claim.js +1 -1
- package/dist/components/collection-name-claim.js.map +1 -1
- package/dist/components/collection-page.cjs +3 -2
- package/dist/components/collection-page.cjs.map +1 -1
- package/dist/components/collection-page.js +3 -2
- package/dist/components/collection-page.js.map +1 -1
- package/dist/components/collection-settings.cjs +4 -4
- package/dist/components/collection-settings.cjs.map +1 -1
- package/dist/components/collection-settings.js +4 -4
- package/dist/components/collection-settings.js.map +1 -1
- package/dist/components/collection-slug-claim.cjs +3 -3
- package/dist/components/collection-slug-claim.cjs.map +1 -1
- package/dist/components/collection-slug-claim.js +3 -3
- package/dist/components/collection-slug-claim.js.map +1 -1
- package/dist/components/collections-page.cjs +1 -1
- package/dist/components/collections-page.cjs.map +1 -1
- package/dist/components/collections-page.js +1 -1
- package/dist/components/collections-page.js.map +1 -1
- package/dist/components/creator-page.cjs +1 -1
- package/dist/components/creator-page.cjs.map +1 -1
- package/dist/components/creator-page.js +1 -1
- package/dist/components/creator-page.js.map +1 -1
- package/dist/components/discover-feed-section.cjs +2 -52
- package/dist/components/discover-feed-section.cjs.map +1 -1
- package/dist/components/discover-feed-section.d.cts +2 -15
- package/dist/components/discover-feed-section.d.ts +2 -15
- package/dist/components/discover-feed-section.js +2 -51
- package/dist/components/discover-feed-section.js.map +1 -1
- package/dist/components/drop/create/drop-create.cjs +2 -2
- package/dist/components/drop/create/drop-create.cjs.map +1 -1
- package/dist/components/drop/create/drop-create.js +2 -2
- package/dist/components/drop/create/drop-create.js.map +1 -1
- package/dist/components/drop/create/launch-dialog.cjs +5 -5
- package/dist/components/drop/create/launch-dialog.cjs.map +1 -1
- package/dist/components/drop/create/launch-dialog.js +5 -5
- package/dist/components/drop/create/launch-dialog.js.map +1 -1
- package/dist/components/drop/drop-listing.cjs +2 -1
- package/dist/components/drop/drop-listing.cjs.map +1 -1
- package/dist/components/drop/drop-listing.js +2 -1
- package/dist/components/drop/drop-listing.js.map +1 -1
- package/dist/components/drop/page/drop-action-box.cjs +2 -2
- package/dist/components/drop/page/drop-action-box.cjs.map +1 -1
- package/dist/components/drop/page/drop-action-box.js +2 -2
- package/dist/components/drop/page/drop-action-box.js.map +1 -1
- package/dist/components/drop/page/drop-manage.cjs +6 -6
- package/dist/components/drop/page/drop-manage.cjs.map +1 -1
- package/dist/components/drop/page/drop-manage.js +6 -6
- package/dist/components/drop/page/drop-manage.js.map +1 -1
- package/dist/components/drop/page/drop-mint-dialog.cjs +2 -2
- package/dist/components/drop/page/drop-mint-dialog.cjs.map +1 -1
- package/dist/components/drop/page/drop-mint-dialog.js +2 -2
- package/dist/components/drop/page/drop-mint-dialog.js.map +1 -1
- package/dist/components/drop/page/drop-page.cjs +3 -3
- package/dist/components/drop/page/drop-page.cjs.map +1 -1
- package/dist/components/drop/page/drop-page.js +3 -3
- package/dist/components/drop/page/drop-page.js.map +1 -1
- package/dist/components/drop-item-list.cjs +1 -1
- package/dist/components/drop-item-list.cjs.map +1 -1
- package/dist/components/drop-item-list.js +1 -1
- package/dist/components/drop-item-list.js.map +1 -1
- package/dist/components/editions-page.cjs +15 -35
- package/dist/components/editions-page.cjs.map +1 -1
- package/dist/components/editions-page.js +15 -35
- package/dist/components/editions-page.js.map +1 -1
- package/dist/components/empty-or-error.cjs +2 -2
- package/dist/components/empty-or-error.cjs.map +1 -1
- package/dist/components/empty-or-error.js +2 -2
- package/dist/components/empty-or-error.js.map +1 -1
- package/dist/components/fast-mint/dropzone.cjs +1 -1
- package/dist/components/fast-mint/dropzone.cjs.map +1 -1
- package/dist/components/fast-mint/dropzone.js +1 -1
- package/dist/components/fast-mint/dropzone.js.map +1 -1
- package/dist/components/fast-mint/fast-mint.cjs +5 -17
- package/dist/components/fast-mint/fast-mint.cjs.map +1 -1
- package/dist/components/fast-mint/fast-mint.js +5 -17
- package/dist/components/fast-mint/fast-mint.js.map +1 -1
- package/dist/components/fast-mint/success-view.cjs +1 -1
- package/dist/components/fast-mint/success-view.cjs.map +1 -1
- package/dist/components/fast-mint/success-view.js +1 -1
- package/dist/components/fast-mint/success-view.js.map +1 -1
- package/dist/components/gated-content.cjs +10 -16
- package/dist/components/gated-content.cjs.map +1 -1
- package/dist/components/gated-content.js +10 -16
- package/dist/components/gated-content.js.map +1 -1
- package/dist/components/ip-type-fields.cjs +2 -2
- package/dist/components/ip-type-fields.cjs.map +1 -1
- package/dist/components/ip-type-fields.js +2 -2
- package/dist/components/ip-type-fields.js.map +1 -1
- package/dist/components/ip-type-page.cjs +1 -1
- package/dist/components/ip-type-page.cjs.map +1 -1
- package/dist/components/ip-type-page.js +1 -1
- package/dist/components/ip-type-page.js.map +1 -1
- package/dist/components/launchpad/coin-create.cjs +4 -3
- package/dist/components/launchpad/coin-create.cjs.map +1 -1
- package/dist/components/launchpad/coin-create.js +4 -3
- package/dist/components/launchpad/coin-create.js.map +1 -1
- package/dist/components/launchpad/collection-create-form.cjs +7 -13
- package/dist/components/launchpad/collection-create-form.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-form.js +7 -13
- package/dist/components/launchpad/collection-create-form.js.map +1 -1
- package/dist/components/launchpad/collection-create-presets.cjs +0 -4
- package/dist/components/launchpad/collection-create-presets.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-presets.d.cts +0 -1
- package/dist/components/launchpad/collection-create-presets.d.ts +0 -1
- package/dist/components/launchpad/collection-create-presets.js +0 -4
- package/dist/components/launchpad/collection-create-presets.js.map +1 -1
- package/dist/components/launchpad/collection-picker.cjs +5 -11
- package/dist/components/launchpad/collection-picker.cjs.map +1 -1
- package/dist/components/launchpad/collection-picker.js +5 -11
- package/dist/components/launchpad/collection-picker.js.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.cjs +1 -1
- package/dist/components/launchpad/edition-mint-fields.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.js +1 -1
- package/dist/components/launchpad/edition-mint-fields.js.map +1 -1
- package/dist/components/launchpad/edition-mint-schema.d.cts +2 -2
- package/dist/components/launchpad/edition-mint-schema.d.ts +2 -2
- package/dist/components/launchpad/edition-mint.cjs +1 -1
- package/dist/components/launchpad/edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint.js +1 -1
- package/dist/components/launchpad/edition-mint.js.map +1 -1
- package/dist/components/launchpad/pop-create-fields.cjs +1 -1
- package/dist/components/launchpad/pop-create-fields.cjs.map +1 -1
- package/dist/components/launchpad/pop-create-fields.js +1 -1
- package/dist/components/launchpad/pop-create-fields.js.map +1 -1
- package/dist/components/launchpad/remix-mint.cjs +4 -15
- package/dist/components/launchpad/remix-mint.cjs.map +1 -1
- package/dist/components/launchpad/remix-mint.js +4 -15
- package/dist/components/launchpad/remix-mint.js.map +1 -1
- package/dist/components/launchpad/single-edition-mint.cjs +2 -9
- package/dist/components/launchpad/single-edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/single-edition-mint.js +2 -9
- package/dist/components/launchpad/single-edition-mint.js.map +1 -1
- package/dist/components/launchpad/sponsorship-create.cjs +4 -15
- package/dist/components/launchpad/sponsorship-create.cjs.map +1 -1
- package/dist/components/launchpad/sponsorship-create.js +4 -15
- package/dist/components/launchpad/sponsorship-create.js.map +1 -1
- package/dist/components/launchpad/tier-mint-form.cjs +9 -15
- package/dist/components/launchpad/tier-mint-form.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-form.js +9 -15
- package/dist/components/launchpad/tier-mint-form.js.map +1 -1
- package/dist/components/launchpad/tier-mint-presets.cjs +0 -2
- package/dist/components/launchpad/tier-mint-presets.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-presets.d.cts +0 -1
- package/dist/components/launchpad/tier-mint-presets.d.ts +0 -1
- package/dist/components/launchpad/tier-mint-presets.js +0 -2
- package/dist/components/launchpad/tier-mint-presets.js.map +1 -1
- package/dist/components/license-request-page.cjs +7 -14
- package/dist/components/license-request-page.cjs.map +1 -1
- package/dist/components/license-request-page.js +7 -14
- package/dist/components/license-request-page.js.map +1 -1
- package/dist/components/listing-card-menu.cjs +1 -1
- package/dist/components/listing-card-menu.cjs.map +1 -1
- package/dist/components/listing-card-menu.js +1 -1
- package/dist/components/listing-card-menu.js.map +1 -1
- package/dist/components/listing-card.cjs +8 -17
- package/dist/components/listing-card.cjs.map +1 -1
- package/dist/components/listing-card.js +8 -17
- package/dist/components/listing-card.js.map +1 -1
- package/dist/components/listings-grid.cjs +1 -1
- package/dist/components/listings-grid.cjs.map +1 -1
- package/dist/components/listings-grid.js +1 -1
- package/dist/components/listings-grid.js.map +1 -1
- package/dist/components/make-offer-picker.cjs +1 -1
- package/dist/components/make-offer-picker.cjs.map +1 -1
- package/dist/components/make-offer-picker.js +1 -1
- package/dist/components/make-offer-picker.js.map +1 -1
- package/dist/components/marketplace-dialog-primitives.cjs +7 -33
- package/dist/components/marketplace-dialog-primitives.cjs.map +1 -1
- package/dist/components/marketplace-dialog-primitives.js +7 -33
- package/dist/components/marketplace-dialog-primitives.js.map +1 -1
- package/dist/components/media-wallet/quick-action.cjs +3 -3
- package/dist/components/media-wallet/quick-action.cjs.map +1 -1
- package/dist/components/media-wallet/quick-action.d.cts +2 -2
- package/dist/components/media-wallet/quick-action.d.ts +2 -2
- package/dist/components/media-wallet/quick-action.js +4 -4
- package/dist/components/media-wallet/quick-action.js.map +1 -1
- package/dist/components/pop-burn-button.cjs +1 -1
- package/dist/components/pop-burn-button.cjs.map +1 -1
- package/dist/components/pop-burn-button.js +1 -1
- package/dist/components/pop-burn-button.js.map +1 -1
- package/dist/components/pop-manage-page.cjs +4 -4
- package/dist/components/pop-manage-page.cjs.map +1 -1
- package/dist/components/pop-manage-page.js +4 -4
- package/dist/components/pop-manage-page.js.map +1 -1
- package/dist/components/pop-my-events-page.cjs +1 -1
- package/dist/components/pop-my-events-page.cjs.map +1 -1
- package/dist/components/pop-my-events-page.js +1 -1
- package/dist/components/pop-my-events-page.js.map +1 -1
- package/dist/components/portfolio-orders.cjs +2 -2
- package/dist/components/portfolio-orders.cjs.map +1 -1
- package/dist/components/portfolio-orders.js +2 -2
- package/dist/components/portfolio-orders.js.map +1 -1
- package/dist/components/portfolio-sponsorships.cjs +8 -6
- package/dist/components/portfolio-sponsorships.cjs.map +1 -1
- package/dist/components/portfolio-sponsorships.js +8 -6
- package/dist/components/portfolio-sponsorships.js.map +1 -1
- package/dist/components/remix-browse-page.cjs +2 -2
- package/dist/components/remix-browse-page.cjs.map +1 -1
- package/dist/components/remix-browse-page.js +2 -2
- package/dist/components/remix-browse-page.js.map +1 -1
- package/dist/components/report-dialog.cjs +2 -2
- package/dist/components/report-dialog.cjs.map +1 -1
- package/dist/components/report-dialog.js +2 -2
- package/dist/components/report-dialog.js.map +1 -1
- package/dist/components/share-button.cjs +4 -21
- package/dist/components/share-button.cjs.map +1 -1
- package/dist/components/share-button.d.cts +1 -1
- package/dist/components/share-button.d.ts +1 -1
- package/dist/components/share-button.js +4 -21
- package/dist/components/share-button.js.map +1 -1
- package/dist/components/sheet.cjs +1 -1
- package/dist/components/sheet.cjs.map +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sponsorship-offer-page.cjs +3 -3
- package/dist/components/sponsorship-offer-page.cjs.map +1 -1
- package/dist/components/sponsorship-offer-page.js +3 -3
- package/dist/components/sponsorship-offer-page.js.map +1 -1
- package/dist/components/sponsorship-offers-page.cjs +2 -2
- package/dist/components/sponsorship-offers-page.cjs.map +1 -1
- package/dist/components/sponsorship-offers-page.js +2 -2
- package/dist/components/sponsorship-offers-page.js.map +1 -1
- package/dist/components/token-card.cjs +10 -39
- package/dist/components/token-card.cjs.map +1 -1
- package/dist/components/token-card.js +10 -39
- package/dist/components/token-card.js.map +1 -1
- package/dist/components/transaction-dialog.cjs +1 -1
- package/dist/components/transaction-dialog.cjs.map +1 -1
- package/dist/components/transaction-dialog.js +1 -1
- package/dist/components/transaction-dialog.js.map +1 -1
- package/dist/components/transaction-success.cjs +1 -1
- package/dist/components/transaction-success.cjs.map +1 -1
- package/dist/components/transaction-success.js +1 -1
- package/dist/components/transaction-success.js.map +1 -1
- package/dist/components/transfer-collection-ownership.cjs +1 -1
- package/dist/components/transfer-collection-ownership.cjs.map +1 -1
- package/dist/components/transfer-collection-ownership.js +1 -1
- package/dist/components/transfer-collection-ownership.js.map +1 -1
- package/dist/components/transfer-dialog.cjs +2 -12
- package/dist/components/transfer-dialog.cjs.map +1 -1
- package/dist/components/transfer-dialog.js +2 -12
- package/dist/components/transfer-dialog.js.map +1 -1
- package/dist/components/wallet/export-key-section.cjs +2 -2
- package/dist/components/wallet/export-key-section.cjs.map +1 -1
- package/dist/components/wallet/export-key-section.js +2 -2
- package/dist/components/wallet/export-key-section.js.map +1 -1
- package/dist/components/wallet-required.cjs +2 -12
- package/dist/components/wallet-required.cjs.map +1 -1
- package/dist/components/wallet-required.js +2 -12
- package/dist/components/wallet-required.js.map +1 -1
- package/dist/data/activity.cjs +2 -2
- package/dist/data/activity.cjs.map +1 -1
- package/dist/data/activity.d.cts +1 -1
- package/dist/data/activity.d.ts +1 -1
- package/dist/data/activity.js +2 -2
- package/dist/data/activity.js.map +1 -1
- package/dist/data/brand.cjs +0 -8
- package/dist/data/brand.cjs.map +1 -1
- package/dist/data/brand.d.cts +1 -3
- package/dist/data/brand.d.ts +1 -3
- package/dist/data/brand.js +0 -6
- package/dist/data/brand.js.map +1 -1
- package/dist/i18n/catalog/pt.cjs +0 -4
- package/dist/i18n/catalog/pt.cjs.map +1 -1
- package/dist/i18n/catalog/pt.js +0 -4
- package/dist/i18n/catalog/pt.js.map +1 -1
- package/dist/index.cjs +6 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -13
- package/dist/index.d.ts +3 -13
- package/dist/index.js +6 -27
- package/dist/index.js.map +1 -1
- package/dist/medialane.css +15 -152
- package/dist/preset/tailwind.cjs +0 -10
- package/dist/preset/tailwind.cjs.map +1 -1
- package/dist/preset/tailwind.js +0 -10
- package/dist/preset/tailwind.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/activity-feed-shell.cjs +0 -93
- package/dist/components/activity-feed-shell.cjs.map +0 -1
- package/dist/components/activity-feed-shell.d.cts +0 -13
- package/dist/components/activity-feed-shell.d.ts +0 -13
- package/dist/components/activity-feed-shell.js +0 -59
- package/dist/components/activity-feed-shell.js.map +0 -1
- package/dist/components/cta-card-grid.cjs +0 -69
- package/dist/components/cta-card-grid.cjs.map +0 -1
- package/dist/components/cta-card-grid.d.cts +0 -21
- package/dist/components/cta-card-grid.d.ts +0 -21
- package/dist/components/cta-card-grid.js +0 -35
- package/dist/components/cta-card-grid.js.map +0 -1
- package/dist/components/featured-carousel.cjs +0 -171
- package/dist/components/featured-carousel.cjs.map +0 -1
- package/dist/components/featured-carousel.d.cts +0 -13
- package/dist/components/featured-carousel.d.ts +0 -13
- package/dist/components/featured-carousel.js +0 -146
- package/dist/components/featured-carousel.js.map +0 -1
- package/dist/components/gradient-button.cjs +0 -61
- package/dist/components/gradient-button.cjs.map +0 -1
- package/dist/components/gradient-button.d.cts +0 -10
- package/dist/components/gradient-button.d.ts +0 -10
- package/dist/components/gradient-button.js +0 -37
- package/dist/components/gradient-button.js.map +0 -1
- package/dist/components/launchpad-cta-banner.cjs +0 -85
- package/dist/components/launchpad-cta-banner.cjs.map +0 -1
- package/dist/components/launchpad-cta-banner.d.cts +0 -15
- package/dist/components/launchpad-cta-banner.d.ts +0 -15
- package/dist/components/launchpad-cta-banner.js +0 -51
- package/dist/components/launchpad-cta-banner.js.map +0 -1
- package/dist/components/portfolio-section.cjs +0 -90
- package/dist/components/portfolio-section.cjs.map +0 -1
- package/dist/components/portfolio-section.d.cts +0 -14
- package/dist/components/portfolio-section.d.ts +0 -14
- package/dist/components/portfolio-section.js +0 -56
- package/dist/components/portfolio-section.js.map +0 -1
- package/dist/components/rewards/journey-path.cjs +0 -77
- package/dist/components/rewards/journey-path.cjs.map +0 -1
- package/dist/components/rewards/journey-path.d.cts +0 -17
- package/dist/components/rewards/journey-path.d.ts +0 -17
- package/dist/components/rewards/journey-path.js +0 -53
- package/dist/components/rewards/journey-path.js.map +0 -1
- package/dist/components/rewards/score-summary-card.cjs +0 -73
- package/dist/components/rewards/score-summary-card.cjs.map +0 -1
- package/dist/components/rewards/score-summary-card.d.cts +0 -21
- package/dist/components/rewards/score-summary-card.d.ts +0 -21
- package/dist/components/rewards/score-summary-card.js +0 -49
- package/dist/components/rewards/score-summary-card.js.map +0 -1
- package/dist/components/step-nav.cjs +0 -82
- package/dist/components/step-nav.cjs.map +0 -1
- package/dist/components/step-nav.d.cts +0 -17
- package/dist/components/step-nav.d.ts +0 -17
- package/dist/components/step-nav.js +0 -58
- package/dist/components/step-nav.js.map +0 -1
- package/dist/components/token-glyph.cjs +0 -92
- package/dist/components/token-glyph.cjs.map +0 -1
- package/dist/components/token-glyph.d.cts +0 -19
- package/dist/components/token-glyph.d.ts +0 -19
- package/dist/components/token-glyph.js +0 -67
- package/dist/components/token-glyph.js.map +0 -1
|
@@ -24,10 +24,10 @@ __export(wallet_required_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(wallet_required_exports);
|
|
25
25
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
26
26
|
var import_lucide_react = require("lucide-react");
|
|
27
|
-
var import_button = require("./button.js");
|
|
28
27
|
var import_skeleton = require("./skeleton.js");
|
|
29
28
|
var import_medialane_app = require("./medialane-app.js");
|
|
30
29
|
var import_provider = require("../i18n/provider.js");
|
|
30
|
+
var import_action_button = require("./action-button.js");
|
|
31
31
|
function WalletRequired({ icon: Icon, iconClassName = "text-muted-foreground", title, description, children }) {
|
|
32
32
|
const t = (0, import_provider.useT)();
|
|
33
33
|
const { walletAddress, walletLoading, onRequireWallet, connectLabel } = (0, import_medialane_app.useMedialaneApp)();
|
|
@@ -44,17 +44,7 @@ function WalletRequired({ icon: Icon, iconClassName = "text-muted-foreground", t
|
|
|
44
44
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: `h-10 w-10 mx-auto ${iconClassName}` }),
|
|
45
45
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-2xl font-bold", children: title }),
|
|
46
46
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-muted-foreground", children: description }),
|
|
47
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
48
|
-
import_button.Button,
|
|
49
|
-
{
|
|
50
|
-
onClick: onRequireWallet,
|
|
51
|
-
className: "bg-transparent text-white rounded-[7px] hover:bg-transparent hover:brightness-110 active:scale-[0.98] transition-all",
|
|
52
|
-
children: [
|
|
53
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Wallet, { className: "h-4 w-4 mr-1.5" }),
|
|
54
|
-
connectLabel ?? t("Connect")
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
) })
|
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_action_button.ActionButton, { solid: true, onClick: onRequireWallet, icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Wallet, { className: "h-4 w-4" }), children: connectLabel ?? t("Connect") })
|
|
58
48
|
] });
|
|
59
49
|
}
|
|
60
50
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/wallet-required.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ElementType, ReactNode } from \"react\";\nimport { Wallet } from \"lucide-react\";\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/components/wallet-required.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ElementType, ReactNode } from \"react\";\nimport { Wallet } from \"lucide-react\";\nimport { Skeleton } from \"./skeleton.js\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { ActionButton } from \"./action-button.js\";\n\nexport interface WalletRequiredProps {\n icon: ElementType;\n iconClassName?: string;\n title: string;\n description: string;\n children: ReactNode;\n}\n\nexport function WalletRequired({ icon: Icon, iconClassName = \"text-muted-foreground\", title, description, children }: WalletRequiredProps) {\n const t = useT();\n const { walletAddress, walletLoading, onRequireWallet, connectLabel } = useMedialaneApp();\n\n if (walletAddress) return <>{children}</>;\n\n if (walletLoading) {\n return (\n <div className=\"max-w-lg mx-auto px-4 pt-24 pb-8 space-y-4\">\n <Skeleton className=\"h-10 w-10 rounded-full mx-auto\" />\n <Skeleton className=\"h-7 w-56 mx-auto\" />\n <Skeleton className=\"h-4 w-72 mx-auto\" />\n <Skeleton className=\"h-10 w-44 mx-auto rounded-md\" />\n </div>\n );\n }\n\n return (\n <div className=\"max-w-lg mx-auto px-4 pt-24 pb-8 text-center space-y-4\">\n <Icon className={`h-10 w-10 mx-auto ${iconClassName}`} />\n <h1 className=\"text-2xl font-bold\">{title}</h1>\n <p className=\"text-muted-foreground\">{description}</p>\n <ActionButton solid onClick={onRequireWallet} icon={<Wallet className=\"h-4 w-4\" />}>\n {connectLabel ?? t(\"Connect\")}\n </ActionButton>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqB4B;AAlB5B,0BAAuB;AACvB,sBAAyB;AACzB,2BAAgC;AAChC,sBAAqB;AACrB,2BAA6B;AAUtB,SAAS,eAAe,EAAE,MAAM,MAAM,gBAAgB,yBAAyB,OAAO,aAAa,SAAS,GAAwB;AACzI,QAAM,QAAI,sBAAK;AACf,QAAM,EAAE,eAAe,eAAe,iBAAiB,aAAa,QAAI,sCAAgB;AAExF,MAAI,cAAe,QAAO,2EAAG,UAAS;AAEtC,MAAI,eAAe;AACjB,WACE,6CAAC,SAAI,WAAU,8CACb;AAAA,kDAAC,4BAAS,WAAU,kCAAiC;AAAA,MACrD,4CAAC,4BAAS,WAAU,oBAAmB;AAAA,MACvC,4CAAC,4BAAS,WAAU,oBAAmB;AAAA,MACvC,4CAAC,4BAAS,WAAU,gCAA+B;AAAA,OACrD;AAAA,EAEJ;AAEA,SACE,6CAAC,SAAI,WAAU,0DACb;AAAA,gDAAC,QAAK,WAAW,qBAAqB,aAAa,IAAI;AAAA,IACvD,4CAAC,QAAG,WAAU,sBAAsB,iBAAM;AAAA,IAC1C,4CAAC,OAAE,WAAU,yBAAyB,uBAAY;AAAA,IAClD,4CAAC,qCAAa,OAAK,MAAC,SAAS,iBAAiB,MAAM,4CAAC,8BAAO,WAAU,WAAU,GAC7E,0BAAgB,EAAE,SAAS,GAC9B;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Wallet } from "lucide-react";
|
|
4
|
-
import { Button } from "./button.js";
|
|
5
4
|
import { Skeleton } from "./skeleton.js";
|
|
6
5
|
import { useMedialaneApp } from "./medialane-app.js";
|
|
7
6
|
import { useT } from "../i18n/provider.js";
|
|
7
|
+
import { ActionButton } from "./action-button.js";
|
|
8
8
|
function WalletRequired({ icon: Icon, iconClassName = "text-muted-foreground", title, description, children }) {
|
|
9
9
|
const t = useT();
|
|
10
10
|
const { walletAddress, walletLoading, onRequireWallet, connectLabel } = useMedialaneApp();
|
|
@@ -21,17 +21,7 @@ function WalletRequired({ icon: Icon, iconClassName = "text-muted-foreground", t
|
|
|
21
21
|
/* @__PURE__ */ jsx(Icon, { className: `h-10 w-10 mx-auto ${iconClassName}` }),
|
|
22
22
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold", children: title }),
|
|
23
23
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: description }),
|
|
24
|
-
/* @__PURE__ */ jsx(
|
|
25
|
-
Button,
|
|
26
|
-
{
|
|
27
|
-
onClick: onRequireWallet,
|
|
28
|
-
className: "bg-transparent text-white rounded-[7px] hover:bg-transparent hover:brightness-110 active:scale-[0.98] transition-all",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ jsx(Wallet, { className: "h-4 w-4 mr-1.5" }),
|
|
31
|
-
connectLabel ?? t("Connect")
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
) })
|
|
24
|
+
/* @__PURE__ */ jsx(ActionButton, { solid: true, onClick: onRequireWallet, icon: /* @__PURE__ */ jsx(Wallet, { className: "h-4 w-4" }), children: connectLabel ?? t("Connect") })
|
|
35
25
|
] });
|
|
36
26
|
}
|
|
37
27
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/wallet-required.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ElementType, ReactNode } from \"react\";\nimport { Wallet } from \"lucide-react\";\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/components/wallet-required.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ElementType, ReactNode } from \"react\";\nimport { Wallet } from \"lucide-react\";\nimport { Skeleton } from \"./skeleton.js\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { ActionButton } from \"./action-button.js\";\n\nexport interface WalletRequiredProps {\n icon: ElementType;\n iconClassName?: string;\n title: string;\n description: string;\n children: ReactNode;\n}\n\nexport function WalletRequired({ icon: Icon, iconClassName = \"text-muted-foreground\", title, description, children }: WalletRequiredProps) {\n const t = useT();\n const { walletAddress, walletLoading, onRequireWallet, connectLabel } = useMedialaneApp();\n\n if (walletAddress) return <>{children}</>;\n\n if (walletLoading) {\n return (\n <div className=\"max-w-lg mx-auto px-4 pt-24 pb-8 space-y-4\">\n <Skeleton className=\"h-10 w-10 rounded-full mx-auto\" />\n <Skeleton className=\"h-7 w-56 mx-auto\" />\n <Skeleton className=\"h-4 w-72 mx-auto\" />\n <Skeleton className=\"h-10 w-44 mx-auto rounded-md\" />\n </div>\n );\n }\n\n return (\n <div className=\"max-w-lg mx-auto px-4 pt-24 pb-8 text-center space-y-4\">\n <Icon className={`h-10 w-10 mx-auto ${iconClassName}`} />\n <h1 className=\"text-2xl font-bold\">{title}</h1>\n <p className=\"text-muted-foreground\">{description}</p>\n <ActionButton solid onClick={onRequireWallet} icon={<Wallet className=\"h-4 w-4\" />}>\n {connectLabel ?? t(\"Connect\")}\n </ActionButton>\n </div>\n );\n}\n"],"mappings":";AAqB4B,wBAItB,YAJsB;AAlB5B,SAAS,cAAc;AACvB,SAAS,gBAAgB;AACzB,SAAS,uBAAuB;AAChC,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAUtB,SAAS,eAAe,EAAE,MAAM,MAAM,gBAAgB,yBAAyB,OAAO,aAAa,SAAS,GAAwB;AACzI,QAAM,IAAI,KAAK;AACf,QAAM,EAAE,eAAe,eAAe,iBAAiB,aAAa,IAAI,gBAAgB;AAExF,MAAI,cAAe,QAAO,gCAAG,UAAS;AAEtC,MAAI,eAAe;AACjB,WACE,qBAAC,SAAI,WAAU,8CACb;AAAA,0BAAC,YAAS,WAAU,kCAAiC;AAAA,MACrD,oBAAC,YAAS,WAAU,oBAAmB;AAAA,MACvC,oBAAC,YAAS,WAAU,oBAAmB;AAAA,MACvC,oBAAC,YAAS,WAAU,gCAA+B;AAAA,OACrD;AAAA,EAEJ;AAEA,SACE,qBAAC,SAAI,WAAU,0DACb;AAAA,wBAAC,QAAK,WAAW,qBAAqB,aAAa,IAAI;AAAA,IACvD,oBAAC,QAAG,WAAU,sBAAsB,iBAAM;AAAA,IAC1C,oBAAC,OAAE,WAAU,yBAAyB,uBAAY;AAAA,IAClD,oBAAC,gBAAa,OAAK,MAAC,SAAS,iBAAiB,MAAM,oBAAC,UAAO,WAAU,WAAU,GAC7E,0BAAgB,EAAE,SAAS,GAC9B;AAAA,KACF;AAEJ;","names":[]}
|
package/dist/data/activity.cjs
CHANGED
|
@@ -29,8 +29,8 @@ const ACTIVITY_TYPE_CONFIG = {
|
|
|
29
29
|
transfer: { label: (0, import_translate.msg)("Transfer"), variant: "secondary", icon: import_lucide_react.ArrowRightLeft, colorClass: "text-brand-blue", bgClass: "bg-brand-blue/15 dark:bg-brand-blue/25" },
|
|
30
30
|
listing: { label: (0, import_translate.msg)("Listed"), variant: "default", icon: import_lucide_react.Tag, colorClass: "text-brand-orange", bgClass: "bg-brand-orange/15 dark:bg-brand-orange/25" },
|
|
31
31
|
sale: { label: (0, import_translate.msg)("Sale"), variant: "default", icon: import_lucide_react.ShoppingCart, colorClass: "text-brand-rose", bgClass: "bg-brand-rose/15 dark:bg-brand-rose/25" },
|
|
32
|
-
offer: { label: (0, import_translate.msg)("Offer"), variant: "
|
|
33
|
-
cancelled: { label: (0, import_translate.msg)("Cancelled"), variant: "
|
|
32
|
+
offer: { label: (0, import_translate.msg)("Offer"), variant: "soft", icon: import_lucide_react.HandCoins, colorClass: "text-brand-maeve", bgClass: "bg-brand-maeve/15 dark:bg-brand-maeve/25" },
|
|
33
|
+
cancelled: { label: (0, import_translate.msg)("Cancelled"), variant: "soft", icon: import_lucide_react.X, colorClass: "text-muted-foreground", bgClass: "bg-muted" }
|
|
34
34
|
};
|
|
35
35
|
const TYPE_FILTERS = [
|
|
36
36
|
{ label: (0, import_translate.msg)("All"), value: "" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/activity.ts"],"sourcesContent":["import { ArrowRightLeft, Tag, ShoppingCart, HandCoins, X, Sparkles } from \"lucide-react\";\nimport type { ElementType } from \"react\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport interface ActivityTypeConfig {\n label: string;\n variant: \"default\" | \"secondary\" | \"
|
|
1
|
+
{"version":3,"sources":["../../src/data/activity.ts"],"sourcesContent":["import { ArrowRightLeft, Tag, ShoppingCart, HandCoins, X, Sparkles } from \"lucide-react\";\nimport type { ElementType } from \"react\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport interface ActivityTypeConfig {\n label: string;\n variant: \"default\" | \"secondary\" | \"soft\";\n icon: ElementType;\n colorClass: string;\n bgClass: string;\n}\n\nexport const ACTIVITY_TYPE_CONFIG: Record<string, ActivityTypeConfig> = {\n mint: { label: msg(\"Mint\"), variant: \"default\", icon: Sparkles, colorClass: \"text-brand-purple\", bgClass: \"bg-brand-purple/15 dark:bg-brand-purple/25\" },\n transfer: { label: msg(\"Transfer\"), variant: \"secondary\", icon: ArrowRightLeft, colorClass: \"text-brand-blue\", bgClass: \"bg-brand-blue/15 dark:bg-brand-blue/25\" },\n listing: { label: msg(\"Listed\"), variant: \"default\", icon: Tag, colorClass: \"text-brand-orange\", bgClass: \"bg-brand-orange/15 dark:bg-brand-orange/25\" },\n sale: { label: msg(\"Sale\"), variant: \"default\", icon: ShoppingCart, colorClass: \"text-brand-rose\", bgClass: \"bg-brand-rose/15 dark:bg-brand-rose/25\" },\n offer: { label: msg(\"Offer\"), variant: \"soft\", icon: HandCoins, colorClass: \"text-brand-maeve\", bgClass: \"bg-brand-maeve/15 dark:bg-brand-maeve/25\" },\n cancelled: { label: msg(\"Cancelled\"), variant: \"soft\", icon: X, colorClass: \"text-muted-foreground\", bgClass: \"bg-muted\" },\n};\n\nexport const TYPE_FILTERS = [\n { label: msg(\"All\"), value: \"\" },\n { label: msg(\"Mints\"), value: \"mint\" },\n { label: msg(\"Sales\"), value: \"sale\" },\n { label: msg(\"Listings\"), value: \"listing\" },\n { label: msg(\"Offers\"), value: \"offer\" },\n { label: msg(\"Transfers\"), value: \"transfer\" },\n { label: msg(\"Cancelled\"), value: \"cancelled\" },\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA0E;AAE1E,uBAAoB;AAUb,MAAM,uBAA2D;AAAA,EACtE,MAAW,EAAE,WAAO,sBAAI,MAAM,GAAQ,SAAS,WAAa,MAAM,8BAAgB,YAAY,qBAAqB,SAAS,6CAA6C;AAAA,EACzK,UAAW,EAAE,WAAO,sBAAI,UAAU,GAAI,SAAS,aAAa,MAAM,oCAAgB,YAAY,mBAAqB,SAAS,yCAAyC;AAAA,EACrK,SAAW,EAAE,WAAO,sBAAI,QAAQ,GAAM,SAAS,WAAa,MAAM,yBAAgB,YAAY,qBAAqB,SAAS,6CAA6C;AAAA,EACzK,MAAW,EAAE,WAAO,sBAAI,MAAM,GAAQ,SAAS,WAAa,MAAM,kCAAgB,YAAY,mBAAqB,SAAS,yCAAyC;AAAA,EACrK,OAAW,EAAE,WAAO,sBAAI,OAAO,GAAO,SAAS,QAAU,MAAM,+BAAgB,YAAY,oBAAqB,SAAS,2CAA2C;AAAA,EACpK,WAAW,EAAE,WAAO,sBAAI,WAAW,GAAG,SAAS,QAAU,MAAM,uBAAgB,YAAY,yBAAyB,SAAS,WAAW;AAC1I;AAEO,MAAM,eAAe;AAAA,EAC1B,EAAE,WAAO,sBAAI,KAAK,GAAS,OAAO,GAAG;AAAA,EACrC,EAAE,WAAO,sBAAI,OAAO,GAAO,OAAO,OAAO;AAAA,EACzC,EAAE,WAAO,sBAAI,OAAO,GAAO,OAAO,OAAO;AAAA,EACzC,EAAE,WAAO,sBAAI,UAAU,GAAI,OAAO,UAAU;AAAA,EAC5C,EAAE,WAAO,sBAAI,QAAQ,GAAM,OAAO,QAAQ;AAAA,EAC1C,EAAE,WAAO,sBAAI,WAAW,GAAG,OAAO,WAAW;AAAA,EAC7C,EAAE,WAAO,sBAAI,WAAW,GAAG,OAAO,YAAY;AAChD;","names":[]}
|
package/dist/data/activity.d.cts
CHANGED
package/dist/data/activity.d.ts
CHANGED
package/dist/data/activity.js
CHANGED
|
@@ -5,8 +5,8 @@ const ACTIVITY_TYPE_CONFIG = {
|
|
|
5
5
|
transfer: { label: msg("Transfer"), variant: "secondary", icon: ArrowRightLeft, colorClass: "text-brand-blue", bgClass: "bg-brand-blue/15 dark:bg-brand-blue/25" },
|
|
6
6
|
listing: { label: msg("Listed"), variant: "default", icon: Tag, colorClass: "text-brand-orange", bgClass: "bg-brand-orange/15 dark:bg-brand-orange/25" },
|
|
7
7
|
sale: { label: msg("Sale"), variant: "default", icon: ShoppingCart, colorClass: "text-brand-rose", bgClass: "bg-brand-rose/15 dark:bg-brand-rose/25" },
|
|
8
|
-
offer: { label: msg("Offer"), variant: "
|
|
9
|
-
cancelled: { label: msg("Cancelled"), variant: "
|
|
8
|
+
offer: { label: msg("Offer"), variant: "soft", icon: HandCoins, colorClass: "text-brand-maeve", bgClass: "bg-brand-maeve/15 dark:bg-brand-maeve/25" },
|
|
9
|
+
cancelled: { label: msg("Cancelled"), variant: "soft", icon: X, colorClass: "text-muted-foreground", bgClass: "bg-muted" }
|
|
10
10
|
};
|
|
11
11
|
const TYPE_FILTERS = [
|
|
12
12
|
{ label: msg("All"), value: "" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/activity.ts"],"sourcesContent":["import { ArrowRightLeft, Tag, ShoppingCart, HandCoins, X, Sparkles } from \"lucide-react\";\nimport type { ElementType } from \"react\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport interface ActivityTypeConfig {\n label: string;\n variant: \"default\" | \"secondary\" | \"
|
|
1
|
+
{"version":3,"sources":["../../src/data/activity.ts"],"sourcesContent":["import { ArrowRightLeft, Tag, ShoppingCart, HandCoins, X, Sparkles } from \"lucide-react\";\nimport type { ElementType } from \"react\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport interface ActivityTypeConfig {\n label: string;\n variant: \"default\" | \"secondary\" | \"soft\";\n icon: ElementType;\n colorClass: string;\n bgClass: string;\n}\n\nexport const ACTIVITY_TYPE_CONFIG: Record<string, ActivityTypeConfig> = {\n mint: { label: msg(\"Mint\"), variant: \"default\", icon: Sparkles, colorClass: \"text-brand-purple\", bgClass: \"bg-brand-purple/15 dark:bg-brand-purple/25\" },\n transfer: { label: msg(\"Transfer\"), variant: \"secondary\", icon: ArrowRightLeft, colorClass: \"text-brand-blue\", bgClass: \"bg-brand-blue/15 dark:bg-brand-blue/25\" },\n listing: { label: msg(\"Listed\"), variant: \"default\", icon: Tag, colorClass: \"text-brand-orange\", bgClass: \"bg-brand-orange/15 dark:bg-brand-orange/25\" },\n sale: { label: msg(\"Sale\"), variant: \"default\", icon: ShoppingCart, colorClass: \"text-brand-rose\", bgClass: \"bg-brand-rose/15 dark:bg-brand-rose/25\" },\n offer: { label: msg(\"Offer\"), variant: \"soft\", icon: HandCoins, colorClass: \"text-brand-maeve\", bgClass: \"bg-brand-maeve/15 dark:bg-brand-maeve/25\" },\n cancelled: { label: msg(\"Cancelled\"), variant: \"soft\", icon: X, colorClass: \"text-muted-foreground\", bgClass: \"bg-muted\" },\n};\n\nexport const TYPE_FILTERS = [\n { label: msg(\"All\"), value: \"\" },\n { label: msg(\"Mints\"), value: \"mint\" },\n { label: msg(\"Sales\"), value: \"sale\" },\n { label: msg(\"Listings\"), value: \"listing\" },\n { label: msg(\"Offers\"), value: \"offer\" },\n { label: msg(\"Transfers\"), value: \"transfer\" },\n { label: msg(\"Cancelled\"), value: \"cancelled\" },\n];\n"],"mappings":"AAAA,SAAS,gBAAgB,KAAK,cAAc,WAAW,GAAG,gBAAgB;AAE1E,SAAS,WAAW;AAUb,MAAM,uBAA2D;AAAA,EACtE,MAAW,EAAE,OAAO,IAAI,MAAM,GAAQ,SAAS,WAAa,MAAM,UAAgB,YAAY,qBAAqB,SAAS,6CAA6C;AAAA,EACzK,UAAW,EAAE,OAAO,IAAI,UAAU,GAAI,SAAS,aAAa,MAAM,gBAAgB,YAAY,mBAAqB,SAAS,yCAAyC;AAAA,EACrK,SAAW,EAAE,OAAO,IAAI,QAAQ,GAAM,SAAS,WAAa,MAAM,KAAgB,YAAY,qBAAqB,SAAS,6CAA6C;AAAA,EACzK,MAAW,EAAE,OAAO,IAAI,MAAM,GAAQ,SAAS,WAAa,MAAM,cAAgB,YAAY,mBAAqB,SAAS,yCAAyC;AAAA,EACrK,OAAW,EAAE,OAAO,IAAI,OAAO,GAAO,SAAS,QAAU,MAAM,WAAgB,YAAY,oBAAqB,SAAS,2CAA2C;AAAA,EACpK,WAAW,EAAE,OAAO,IAAI,WAAW,GAAG,SAAS,QAAU,MAAM,GAAgB,YAAY,yBAAyB,SAAS,WAAW;AAC1I;AAEO,MAAM,eAAe;AAAA,EAC1B,EAAE,OAAO,IAAI,KAAK,GAAS,OAAO,GAAG;AAAA,EACrC,EAAE,OAAO,IAAI,OAAO,GAAO,OAAO,OAAO;AAAA,EACzC,EAAE,OAAO,IAAI,OAAO,GAAO,OAAO,OAAO;AAAA,EACzC,EAAE,OAAO,IAAI,UAAU,GAAI,OAAO,UAAU;AAAA,EAC5C,EAAE,OAAO,IAAI,QAAQ,GAAM,OAAO,QAAQ;AAAA,EAC1C,EAAE,OAAO,IAAI,WAAW,GAAG,OAAO,WAAW;AAAA,EAC7C,EAAE,OAAO,IAAI,WAAW,GAAG,OAAO,YAAY;AAChD;","names":[]}
|
package/dist/data/brand.cjs
CHANGED
|
@@ -19,13 +19,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
var brand_exports = {};
|
|
20
20
|
__export(brand_exports, {
|
|
21
21
|
ACTION_FOREGROUNDS: () => ACTION_FOREGROUNDS,
|
|
22
|
-
ACTION_GRADIENTS: () => ACTION_GRADIENTS,
|
|
23
22
|
ACTION_PAIRS: () => ACTION_PAIRS,
|
|
24
23
|
BRAND: () => BRAND,
|
|
25
24
|
BRAND_COLOR: () => BRAND_COLOR,
|
|
26
25
|
BRAND_GRADIENT: () => BRAND_GRADIENT,
|
|
27
26
|
TONE_FOREGROUNDS: () => TONE_FOREGROUNDS,
|
|
28
|
-
TONE_GRADIENTS: () => TONE_GRADIENTS,
|
|
29
27
|
TONE_PAIRS: () => TONE_PAIRS,
|
|
30
28
|
brandTint: () => brandTint
|
|
31
29
|
});
|
|
@@ -98,10 +96,6 @@ const TONE_PAIRS = {
|
|
|
98
96
|
red: ["red", "rose"],
|
|
99
97
|
rose: ["rose", "orange"]
|
|
100
98
|
};
|
|
101
|
-
const loop = ([a, b]) => [BRAND_COLOR[a], BRAND_COLOR[b], BRAND_COLOR[a]];
|
|
102
|
-
const mapPairs = (pairs, fn) => Object.fromEntries(Object.entries(pairs).map(([key, pair]) => [key, fn(pair)]));
|
|
103
|
-
const ACTION_GRADIENTS = mapPairs(ACTION_PAIRS, loop);
|
|
104
|
-
const TONE_GRADIENTS = mapPairs(TONE_PAIRS, loop);
|
|
105
99
|
const ACTION_FOREGROUNDS = {
|
|
106
100
|
buy: BRAND_COLOR.blue,
|
|
107
101
|
submit: BRAND_COLOR.purple,
|
|
@@ -120,13 +114,11 @@ const BRAND_GRADIENT = `linear-gradient(115deg, ${[BRAND_COLOR.blue, BRAND_COLOR
|
|
|
120
114
|
// Annotate the CommonJS export names for ESM import in node:
|
|
121
115
|
0 && (module.exports = {
|
|
122
116
|
ACTION_FOREGROUNDS,
|
|
123
|
-
ACTION_GRADIENTS,
|
|
124
117
|
ACTION_PAIRS,
|
|
125
118
|
BRAND,
|
|
126
119
|
BRAND_COLOR,
|
|
127
120
|
BRAND_GRADIENT,
|
|
128
121
|
TONE_FOREGROUNDS,
|
|
129
|
-
TONE_GRADIENTS,
|
|
130
122
|
TONE_PAIRS,
|
|
131
123
|
brandTint
|
|
132
124
|
});
|
package/dist/data/brand.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/brand.ts"],"sourcesContent":["\nexport const BRAND = {\n blue: {\n text: \"text-brand-blue\",\n bg: \"bg-brand-blue/10\",\n bgSolid: \"bg-brand-blue/15\",\n from: \"from-brand-blue/20\",\n to: \"to-brand-blue/20\",\n },\n purple: {\n text: \"text-brand-purple\",\n bg: \"bg-brand-purple/10\",\n bgSolid: \"bg-brand-purple/15\",\n from: \"from-brand-purple/20\",\n to: \"to-brand-purple/20\",\n },\n rose: {\n text: \"text-brand-rose\",\n bg: \"bg-brand-rose/10\",\n bgSolid: \"bg-brand-rose/15\",\n from: \"from-brand-rose/20\",\n to: \"to-brand-rose/20\",\n },\n orange: {\n text: \"text-brand-orange\",\n bg: \"bg-brand-orange/10\",\n bgSolid: \"bg-brand-orange/15\",\n from: \"from-brand-orange/20\",\n to: \"to-brand-orange/20\",\n },\n maeve: {\n text: \"text-brand-maeve\",\n bg: \"bg-brand-maeve/10\",\n bgSolid: \"bg-brand-maeve/15\",\n },\n navy: {\n text: \"text-brand-navy\",\n bg: \"bg-brand-navy/10\",\n from: \"from-brand-navy/10\",\n to: \"to-brand-navy/10\",\n },\n} as const;\n\nconst TOKEN = {\n blue: \"brand-blue\",\n purple: \"brand-purple\",\n rose: \"brand-rose\",\n orange: \"brand-orange\",\n maeve: \"brand-maeve\",\n navy: \"brand-navy\",\n red: \"destructive\",\n} as const;\n\nexport type BrandColorName = keyof typeof TOKEN;\n\nexport const BRAND_COLOR = Object.fromEntries(\n Object.entries(TOKEN).map(([name, token]) => [name, `hsl(var(--${token}))`]),\n) as { readonly [K in BrandColorName]: string };\n\n/** A brand colour at the given opacity. */\nexport const brandTint = (color: BrandColorName, alpha: number) => `hsl(var(--${TOKEN[color]}) / ${alpha})`;\n\ntype Pair = readonly [BrandColorName, BrandColorName];\n\nexport const ACTION_PAIRS = {\n buy: [\"blue\", \"purple\"],\n submit: [\"maeve\", \"purple\"],\n offer: [\"rose\", \"orange\"],\n remix: [\"purple\", \"rose\"],\n license: [\"blue\", \"purple\"],\n} as const satisfies Record<string, Pair>;\n\nexport const TONE_PAIRS = {\n blue: [\"blue\", \"purple\"],\n purple: [\"purple\", \"rose\"],\n orange: [\"orange\", \"rose\"],\n red: [\"red\", \"rose\"],\n rose: [\"rose\", \"orange\"],\n} as const satisfies Record<string, Pair>;\n\
|
|
1
|
+
{"version":3,"sources":["../../src/data/brand.ts"],"sourcesContent":["\nexport const BRAND = {\n blue: {\n text: \"text-brand-blue\",\n bg: \"bg-brand-blue/10\",\n bgSolid: \"bg-brand-blue/15\",\n from: \"from-brand-blue/20\",\n to: \"to-brand-blue/20\",\n },\n purple: {\n text: \"text-brand-purple\",\n bg: \"bg-brand-purple/10\",\n bgSolid: \"bg-brand-purple/15\",\n from: \"from-brand-purple/20\",\n to: \"to-brand-purple/20\",\n },\n rose: {\n text: \"text-brand-rose\",\n bg: \"bg-brand-rose/10\",\n bgSolid: \"bg-brand-rose/15\",\n from: \"from-brand-rose/20\",\n to: \"to-brand-rose/20\",\n },\n orange: {\n text: \"text-brand-orange\",\n bg: \"bg-brand-orange/10\",\n bgSolid: \"bg-brand-orange/15\",\n from: \"from-brand-orange/20\",\n to: \"to-brand-orange/20\",\n },\n maeve: {\n text: \"text-brand-maeve\",\n bg: \"bg-brand-maeve/10\",\n bgSolid: \"bg-brand-maeve/15\",\n },\n navy: {\n text: \"text-brand-navy\",\n bg: \"bg-brand-navy/10\",\n from: \"from-brand-navy/10\",\n to: \"to-brand-navy/10\",\n },\n} as const;\n\nconst TOKEN = {\n blue: \"brand-blue\",\n purple: \"brand-purple\",\n rose: \"brand-rose\",\n orange: \"brand-orange\",\n maeve: \"brand-maeve\",\n navy: \"brand-navy\",\n red: \"destructive\",\n} as const;\n\nexport type BrandColorName = keyof typeof TOKEN;\n\nexport const BRAND_COLOR = Object.fromEntries(\n Object.entries(TOKEN).map(([name, token]) => [name, `hsl(var(--${token}))`]),\n) as { readonly [K in BrandColorName]: string };\n\n/** A brand colour at the given opacity. */\nexport const brandTint = (color: BrandColorName, alpha: number) => `hsl(var(--${TOKEN[color]}) / ${alpha})`;\n\ntype Pair = readonly [BrandColorName, BrandColorName];\n\nexport const ACTION_PAIRS = {\n buy: [\"blue\", \"purple\"],\n submit: [\"maeve\", \"purple\"],\n offer: [\"rose\", \"orange\"],\n remix: [\"purple\", \"rose\"],\n license: [\"blue\", \"purple\"],\n} as const satisfies Record<string, Pair>;\n\nexport const TONE_PAIRS = {\n blue: [\"blue\", \"purple\"],\n purple: [\"purple\", \"rose\"],\n orange: [\"orange\", \"rose\"],\n red: [\"red\", \"rose\"],\n rose: [\"rose\", \"orange\"],\n} as const satisfies Record<string, Pair>;\n\nexport const ACTION_FOREGROUNDS: Record<keyof typeof ACTION_PAIRS, string> = {\n buy: BRAND_COLOR.blue,\n submit: BRAND_COLOR.purple,\n offer: BRAND_COLOR.orange,\n remix: BRAND_COLOR.purple,\n license: BRAND_COLOR.blue,\n};\n\nexport const TONE_FOREGROUNDS: Record<keyof typeof TONE_PAIRS, string> = {\n blue: BRAND_COLOR.blue,\n purple: BRAND_COLOR.purple,\n orange: BRAND_COLOR.orange,\n red: BRAND_COLOR.red,\n rose: BRAND_COLOR.rose,\n};\n\nexport const BRAND_GRADIENT = `linear-gradient(115deg, ${[BRAND_COLOR.blue, BRAND_COLOR.purple, BRAND_COLOR.rose, BRAND_COLOR.orange, BRAND_COLOR.blue].join(\", \")})`;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,MAAM,QAAQ;AAAA,EACnB,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,QAAQ;AAAA,IACN,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,QAAQ;AAAA,IACN,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,OAAO;AAAA,IACL,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AACF;AAEA,MAAM,QAAQ;AAAA,EACZ,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,MAAM;AAAA,EACN,KAAK;AACP;AAIO,MAAM,cAAc,OAAO;AAAA,EAChC,OAAO,QAAQ,KAAK,EAAE,IAAI,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,MAAM,aAAa,KAAK,IAAI,CAAC;AAC7E;AAGO,MAAM,YAAY,CAAC,OAAuB,UAAkB,aAAa,MAAM,KAAK,CAAC,OAAO,KAAK;AAIjG,MAAM,eAAe;AAAA,EAC1B,KAAK,CAAC,QAAQ,QAAQ;AAAA,EACtB,QAAQ,CAAC,SAAS,QAAQ;AAAA,EAC1B,OAAO,CAAC,QAAQ,QAAQ;AAAA,EACxB,OAAO,CAAC,UAAU,MAAM;AAAA,EACxB,SAAS,CAAC,QAAQ,QAAQ;AAC5B;AAEO,MAAM,aAAa;AAAA,EACxB,MAAM,CAAC,QAAQ,QAAQ;AAAA,EACvB,QAAQ,CAAC,UAAU,MAAM;AAAA,EACzB,QAAQ,CAAC,UAAU,MAAM;AAAA,EACzB,KAAK,CAAC,OAAO,MAAM;AAAA,EACnB,MAAM,CAAC,QAAQ,QAAQ;AACzB;AAEO,MAAM,qBAAgE;AAAA,EAC3E,KAAK,YAAY;AAAA,EACjB,QAAQ,YAAY;AAAA,EACpB,OAAO,YAAY;AAAA,EACnB,OAAO,YAAY;AAAA,EACnB,SAAS,YAAY;AACvB;AAEO,MAAM,mBAA4D;AAAA,EACvE,MAAM,YAAY;AAAA,EAClB,QAAQ,YAAY;AAAA,EACpB,QAAQ,YAAY;AAAA,EACpB,KAAK,YAAY;AAAA,EACjB,MAAM,YAAY;AACpB;AAEO,MAAM,iBAAiB,2BAA2B,CAAC,YAAY,MAAM,YAAY,QAAQ,YAAY,MAAM,YAAY,QAAQ,YAAY,IAAI,EAAE,KAAK,IAAI,CAAC;","names":[]}
|
package/dist/data/brand.d.cts
CHANGED
|
@@ -66,10 +66,8 @@ declare const TONE_PAIRS: {
|
|
|
66
66
|
readonly red: readonly ["red", "rose"];
|
|
67
67
|
readonly rose: readonly ["rose", "orange"];
|
|
68
68
|
};
|
|
69
|
-
declare const ACTION_GRADIENTS: Record<keyof typeof ACTION_PAIRS, [string, string, string]>;
|
|
70
|
-
declare const TONE_GRADIENTS: Record<keyof typeof TONE_PAIRS, [string, string, string]>;
|
|
71
69
|
declare const ACTION_FOREGROUNDS: Record<keyof typeof ACTION_PAIRS, string>;
|
|
72
70
|
declare const TONE_FOREGROUNDS: Record<keyof typeof TONE_PAIRS, string>;
|
|
73
71
|
declare const BRAND_GRADIENT: string;
|
|
74
72
|
|
|
75
|
-
export { ACTION_FOREGROUNDS,
|
|
73
|
+
export { ACTION_FOREGROUNDS, ACTION_PAIRS, BRAND, BRAND_COLOR, BRAND_GRADIENT, type BrandColorName, TONE_FOREGROUNDS, TONE_PAIRS, brandTint };
|
package/dist/data/brand.d.ts
CHANGED
|
@@ -66,10 +66,8 @@ declare const TONE_PAIRS: {
|
|
|
66
66
|
readonly red: readonly ["red", "rose"];
|
|
67
67
|
readonly rose: readonly ["rose", "orange"];
|
|
68
68
|
};
|
|
69
|
-
declare const ACTION_GRADIENTS: Record<keyof typeof ACTION_PAIRS, [string, string, string]>;
|
|
70
|
-
declare const TONE_GRADIENTS: Record<keyof typeof TONE_PAIRS, [string, string, string]>;
|
|
71
69
|
declare const ACTION_FOREGROUNDS: Record<keyof typeof ACTION_PAIRS, string>;
|
|
72
70
|
declare const TONE_FOREGROUNDS: Record<keyof typeof TONE_PAIRS, string>;
|
|
73
71
|
declare const BRAND_GRADIENT: string;
|
|
74
72
|
|
|
75
|
-
export { ACTION_FOREGROUNDS,
|
|
73
|
+
export { ACTION_FOREGROUNDS, ACTION_PAIRS, BRAND, BRAND_COLOR, BRAND_GRADIENT, type BrandColorName, TONE_FOREGROUNDS, TONE_PAIRS, brandTint };
|
package/dist/data/brand.js
CHANGED
|
@@ -66,10 +66,6 @@ const TONE_PAIRS = {
|
|
|
66
66
|
red: ["red", "rose"],
|
|
67
67
|
rose: ["rose", "orange"]
|
|
68
68
|
};
|
|
69
|
-
const loop = ([a, b]) => [BRAND_COLOR[a], BRAND_COLOR[b], BRAND_COLOR[a]];
|
|
70
|
-
const mapPairs = (pairs, fn) => Object.fromEntries(Object.entries(pairs).map(([key, pair]) => [key, fn(pair)]));
|
|
71
|
-
const ACTION_GRADIENTS = mapPairs(ACTION_PAIRS, loop);
|
|
72
|
-
const TONE_GRADIENTS = mapPairs(TONE_PAIRS, loop);
|
|
73
69
|
const ACTION_FOREGROUNDS = {
|
|
74
70
|
buy: BRAND_COLOR.blue,
|
|
75
71
|
submit: BRAND_COLOR.purple,
|
|
@@ -87,13 +83,11 @@ const TONE_FOREGROUNDS = {
|
|
|
87
83
|
const BRAND_GRADIENT = `linear-gradient(115deg, ${[BRAND_COLOR.blue, BRAND_COLOR.purple, BRAND_COLOR.rose, BRAND_COLOR.orange, BRAND_COLOR.blue].join(", ")})`;
|
|
88
84
|
export {
|
|
89
85
|
ACTION_FOREGROUNDS,
|
|
90
|
-
ACTION_GRADIENTS,
|
|
91
86
|
ACTION_PAIRS,
|
|
92
87
|
BRAND,
|
|
93
88
|
BRAND_COLOR,
|
|
94
89
|
BRAND_GRADIENT,
|
|
95
90
|
TONE_FOREGROUNDS,
|
|
96
|
-
TONE_GRADIENTS,
|
|
97
91
|
TONE_PAIRS,
|
|
98
92
|
brandTint
|
|
99
93
|
};
|
package/dist/data/brand.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/brand.ts"],"sourcesContent":["\nexport const BRAND = {\n blue: {\n text: \"text-brand-blue\",\n bg: \"bg-brand-blue/10\",\n bgSolid: \"bg-brand-blue/15\",\n from: \"from-brand-blue/20\",\n to: \"to-brand-blue/20\",\n },\n purple: {\n text: \"text-brand-purple\",\n bg: \"bg-brand-purple/10\",\n bgSolid: \"bg-brand-purple/15\",\n from: \"from-brand-purple/20\",\n to: \"to-brand-purple/20\",\n },\n rose: {\n text: \"text-brand-rose\",\n bg: \"bg-brand-rose/10\",\n bgSolid: \"bg-brand-rose/15\",\n from: \"from-brand-rose/20\",\n to: \"to-brand-rose/20\",\n },\n orange: {\n text: \"text-brand-orange\",\n bg: \"bg-brand-orange/10\",\n bgSolid: \"bg-brand-orange/15\",\n from: \"from-brand-orange/20\",\n to: \"to-brand-orange/20\",\n },\n maeve: {\n text: \"text-brand-maeve\",\n bg: \"bg-brand-maeve/10\",\n bgSolid: \"bg-brand-maeve/15\",\n },\n navy: {\n text: \"text-brand-navy\",\n bg: \"bg-brand-navy/10\",\n from: \"from-brand-navy/10\",\n to: \"to-brand-navy/10\",\n },\n} as const;\n\nconst TOKEN = {\n blue: \"brand-blue\",\n purple: \"brand-purple\",\n rose: \"brand-rose\",\n orange: \"brand-orange\",\n maeve: \"brand-maeve\",\n navy: \"brand-navy\",\n red: \"destructive\",\n} as const;\n\nexport type BrandColorName = keyof typeof TOKEN;\n\nexport const BRAND_COLOR = Object.fromEntries(\n Object.entries(TOKEN).map(([name, token]) => [name, `hsl(var(--${token}))`]),\n) as { readonly [K in BrandColorName]: string };\n\n/** A brand colour at the given opacity. */\nexport const brandTint = (color: BrandColorName, alpha: number) => `hsl(var(--${TOKEN[color]}) / ${alpha})`;\n\ntype Pair = readonly [BrandColorName, BrandColorName];\n\nexport const ACTION_PAIRS = {\n buy: [\"blue\", \"purple\"],\n submit: [\"maeve\", \"purple\"],\n offer: [\"rose\", \"orange\"],\n remix: [\"purple\", \"rose\"],\n license: [\"blue\", \"purple\"],\n} as const satisfies Record<string, Pair>;\n\nexport const TONE_PAIRS = {\n blue: [\"blue\", \"purple\"],\n purple: [\"purple\", \"rose\"],\n orange: [\"orange\", \"rose\"],\n red: [\"red\", \"rose\"],\n rose: [\"rose\", \"orange\"],\n} as const satisfies Record<string, Pair>;\n\
|
|
1
|
+
{"version":3,"sources":["../../src/data/brand.ts"],"sourcesContent":["\nexport const BRAND = {\n blue: {\n text: \"text-brand-blue\",\n bg: \"bg-brand-blue/10\",\n bgSolid: \"bg-brand-blue/15\",\n from: \"from-brand-blue/20\",\n to: \"to-brand-blue/20\",\n },\n purple: {\n text: \"text-brand-purple\",\n bg: \"bg-brand-purple/10\",\n bgSolid: \"bg-brand-purple/15\",\n from: \"from-brand-purple/20\",\n to: \"to-brand-purple/20\",\n },\n rose: {\n text: \"text-brand-rose\",\n bg: \"bg-brand-rose/10\",\n bgSolid: \"bg-brand-rose/15\",\n from: \"from-brand-rose/20\",\n to: \"to-brand-rose/20\",\n },\n orange: {\n text: \"text-brand-orange\",\n bg: \"bg-brand-orange/10\",\n bgSolid: \"bg-brand-orange/15\",\n from: \"from-brand-orange/20\",\n to: \"to-brand-orange/20\",\n },\n maeve: {\n text: \"text-brand-maeve\",\n bg: \"bg-brand-maeve/10\",\n bgSolid: \"bg-brand-maeve/15\",\n },\n navy: {\n text: \"text-brand-navy\",\n bg: \"bg-brand-navy/10\",\n from: \"from-brand-navy/10\",\n to: \"to-brand-navy/10\",\n },\n} as const;\n\nconst TOKEN = {\n blue: \"brand-blue\",\n purple: \"brand-purple\",\n rose: \"brand-rose\",\n orange: \"brand-orange\",\n maeve: \"brand-maeve\",\n navy: \"brand-navy\",\n red: \"destructive\",\n} as const;\n\nexport type BrandColorName = keyof typeof TOKEN;\n\nexport const BRAND_COLOR = Object.fromEntries(\n Object.entries(TOKEN).map(([name, token]) => [name, `hsl(var(--${token}))`]),\n) as { readonly [K in BrandColorName]: string };\n\n/** A brand colour at the given opacity. */\nexport const brandTint = (color: BrandColorName, alpha: number) => `hsl(var(--${TOKEN[color]}) / ${alpha})`;\n\ntype Pair = readonly [BrandColorName, BrandColorName];\n\nexport const ACTION_PAIRS = {\n buy: [\"blue\", \"purple\"],\n submit: [\"maeve\", \"purple\"],\n offer: [\"rose\", \"orange\"],\n remix: [\"purple\", \"rose\"],\n license: [\"blue\", \"purple\"],\n} as const satisfies Record<string, Pair>;\n\nexport const TONE_PAIRS = {\n blue: [\"blue\", \"purple\"],\n purple: [\"purple\", \"rose\"],\n orange: [\"orange\", \"rose\"],\n red: [\"red\", \"rose\"],\n rose: [\"rose\", \"orange\"],\n} as const satisfies Record<string, Pair>;\n\nexport const ACTION_FOREGROUNDS: Record<keyof typeof ACTION_PAIRS, string> = {\n buy: BRAND_COLOR.blue,\n submit: BRAND_COLOR.purple,\n offer: BRAND_COLOR.orange,\n remix: BRAND_COLOR.purple,\n license: BRAND_COLOR.blue,\n};\n\nexport const TONE_FOREGROUNDS: Record<keyof typeof TONE_PAIRS, string> = {\n blue: BRAND_COLOR.blue,\n purple: BRAND_COLOR.purple,\n orange: BRAND_COLOR.orange,\n red: BRAND_COLOR.red,\n rose: BRAND_COLOR.rose,\n};\n\nexport const BRAND_GRADIENT = `linear-gradient(115deg, ${[BRAND_COLOR.blue, BRAND_COLOR.purple, BRAND_COLOR.rose, BRAND_COLOR.orange, BRAND_COLOR.blue].join(\", \")})`;\n"],"mappings":"AACO,MAAM,QAAQ;AAAA,EACnB,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,QAAQ;AAAA,IACN,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,QAAQ;AAAA,IACN,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AAAA,EACA,OAAO;AAAA,IACL,MAAS;AAAA,IACT,IAAS;AAAA,IACT,SAAS;AAAA,EACX;AAAA,EACA,MAAM;AAAA,IACJ,MAAS;AAAA,IACT,IAAS;AAAA,IACT,MAAS;AAAA,IACT,IAAS;AAAA,EACX;AACF;AAEA,MAAM,QAAQ;AAAA,EACZ,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,MAAM;AAAA,EACN,KAAK;AACP;AAIO,MAAM,cAAc,OAAO;AAAA,EAChC,OAAO,QAAQ,KAAK,EAAE,IAAI,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,MAAM,aAAa,KAAK,IAAI,CAAC;AAC7E;AAGO,MAAM,YAAY,CAAC,OAAuB,UAAkB,aAAa,MAAM,KAAK,CAAC,OAAO,KAAK;AAIjG,MAAM,eAAe;AAAA,EAC1B,KAAK,CAAC,QAAQ,QAAQ;AAAA,EACtB,QAAQ,CAAC,SAAS,QAAQ;AAAA,EAC1B,OAAO,CAAC,QAAQ,QAAQ;AAAA,EACxB,OAAO,CAAC,UAAU,MAAM;AAAA,EACxB,SAAS,CAAC,QAAQ,QAAQ;AAC5B;AAEO,MAAM,aAAa;AAAA,EACxB,MAAM,CAAC,QAAQ,QAAQ;AAAA,EACvB,QAAQ,CAAC,UAAU,MAAM;AAAA,EACzB,QAAQ,CAAC,UAAU,MAAM;AAAA,EACzB,KAAK,CAAC,OAAO,MAAM;AAAA,EACnB,MAAM,CAAC,QAAQ,QAAQ;AACzB;AAEO,MAAM,qBAAgE;AAAA,EAC3E,KAAK,YAAY;AAAA,EACjB,QAAQ,YAAY;AAAA,EACpB,OAAO,YAAY;AAAA,EACnB,OAAO,YAAY;AAAA,EACnB,SAAS,YAAY;AACvB;AAEO,MAAM,mBAA4D;AAAA,EACvE,MAAM,YAAY;AAAA,EAClB,QAAQ,YAAY;AAAA,EACpB,QAAQ,YAAY;AAAA,EACpB,KAAK,YAAY;AAAA,EACjB,MAAM,YAAY;AACpB;AAEO,MAAM,iBAAiB,2BAA2B,CAAC,YAAY,MAAM,YAAY,QAAQ,YAAY,MAAM,YAAY,QAAQ,YAAY,IAAI,EAAE,KAAK,IAAI,CAAC;","names":[]}
|
package/dist/i18n/catalog/pt.cjs
CHANGED
|
@@ -530,7 +530,6 @@ const pt = {
|
|
|
530
530
|
"Expired": "Expirado",
|
|
531
531
|
"Expires": "Expira",
|
|
532
532
|
"Explore": "Explorar",
|
|
533
|
-
"Explore {title}": "Explorar {title}",
|
|
534
533
|
"External link": "Link externo",
|
|
535
534
|
"Facebook": "Facebook",
|
|
536
535
|
"Fans collect and trade": "F\xE3s colecionam e negociam",
|
|
@@ -827,7 +826,6 @@ const pt = {
|
|
|
827
826
|
"New here?": "Novo por aqui?",
|
|
828
827
|
"New owner address": "Endere\xE7o do novo propriet\xE1rio",
|
|
829
828
|
"Newly minted": "Rec\xE9m-emitido",
|
|
830
|
-
"Next": "Pr\xF3ximo",
|
|
831
829
|
"Next step: mint pieces into this collection \u2014 you set the number of copies for each piece when you mint it, and can add more copies later.": "Pr\xF3ximo passo: emita pe\xE7as nesta cole\xE7\xE3o \u2014 o n\xFAmero de c\xF3pias de cada pe\xE7a \xE9 definido na emiss\xE3o, e \xE9 poss\xEDvel adicionar mais c\xF3pias depois.",
|
|
832
830
|
"No": "N\xE3o",
|
|
833
831
|
"No NFTs yet \u2014 mint or collect your first one to see it here.": "Nenhum NFT ainda \u2014 emita ou colecione o primeiro para v\xEA-lo aqui.",
|
|
@@ -1036,7 +1034,6 @@ const pt = {
|
|
|
1036
1034
|
"Preparing this asset": "Preparando este ativo",
|
|
1037
1035
|
"Preview": "Pr\xE9via",
|
|
1038
1036
|
"Preview \u2014 what holders see": "Pr\xE9via \u2014 o que os portadores veem",
|
|
1039
|
-
"Previous": "Anterior",
|
|
1040
1037
|
"Price": "Pre\xE7o",
|
|
1041
1038
|
"Price ({quote} per coin)": "Pre\xE7o ({quote} por moeda)",
|
|
1042
1039
|
"Price and supply set by the creator": "Pre\xE7o e estoque definidos pelo criador",
|
|
@@ -1689,7 +1686,6 @@ const pt = {
|
|
|
1689
1686
|
"{totalXp} XP": "{totalXp} XP",
|
|
1690
1687
|
"{total} assets \xB7 {listedCount} market": "{total} ativos \xB7 {listedCount} em mercado",
|
|
1691
1688
|
"{to} is the owner of {name}.": "{to} \xE9 o propriet\xE1rio de {name}.",
|
|
1692
|
-
"{value} XP to Level {level} \xB7 {name}": "{value} XP para o N\xEDvel {level} \xB7 {name}",
|
|
1693
1689
|
"{value} XP to Lv.{level} {name}": "{value} XP para o Nv. {level} {name}",
|
|
1694
1690
|
"{value} XP to {name}": "{value} XP para {name}",
|
|
1695
1691
|
"{value} minted": "{value} emitidos",
|