@medialane/ui 0.10.2 → 0.11.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.
Files changed (87) hide show
  1. package/dist/components/activity-card.cjs +136 -0
  2. package/dist/components/activity-card.cjs.map +1 -0
  3. package/dist/components/activity-card.js +100 -0
  4. package/dist/components/activity-card.js.map +1 -0
  5. package/dist/components/discover-feed-section.cjs +72 -44
  6. package/dist/components/discover-feed-section.cjs.map +1 -1
  7. package/dist/components/discover-feed-section.js +73 -45
  8. package/dist/components/discover-feed-section.js.map +1 -1
  9. package/dist/index.cjs +7 -0
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.js +4 -0
  12. package/dist/index.js.map +1 -1
  13. package/package.json +1 -1
  14. package/dist/components/activity-feed-shell.d.cts +0 -13
  15. package/dist/components/activity-feed-shell.d.ts +0 -13
  16. package/dist/components/activity-row.d.cts +0 -20
  17. package/dist/components/activity-row.d.ts +0 -20
  18. package/dist/components/activity-ticker.d.cts +0 -13
  19. package/dist/components/activity-ticker.d.ts +0 -13
  20. package/dist/components/address-display.d.cts +0 -12
  21. package/dist/components/address-display.d.ts +0 -12
  22. package/dist/components/brand-icon.d.cts +0 -10
  23. package/dist/components/brand-icon.d.ts +0 -10
  24. package/dist/components/brand-logo.d.cts +0 -11
  25. package/dist/components/brand-logo.d.ts +0 -11
  26. package/dist/components/collection-card.d.cts +0 -13
  27. package/dist/components/collection-card.d.ts +0 -13
  28. package/dist/components/cta-card-grid.d.cts +0 -23
  29. package/dist/components/cta-card-grid.d.ts +0 -23
  30. package/dist/components/currency-icon.d.cts +0 -25
  31. package/dist/components/currency-icon.d.ts +0 -25
  32. package/dist/components/discover-collections-strip.d.cts +0 -14
  33. package/dist/components/discover-collections-strip.d.ts +0 -14
  34. package/dist/components/discover-creators-strip.d.cts +0 -14
  35. package/dist/components/discover-creators-strip.d.ts +0 -14
  36. package/dist/components/discover-feed-section.d.cts +0 -18
  37. package/dist/components/discover-feed-section.d.ts +0 -18
  38. package/dist/components/discover-hero.d.cts +0 -17
  39. package/dist/components/discover-hero.d.ts +0 -17
  40. package/dist/components/featured-carousel.d.cts +0 -13
  41. package/dist/components/featured-carousel.d.ts +0 -13
  42. package/dist/components/hero-slider.d.cts +0 -17
  43. package/dist/components/hero-slider.d.ts +0 -17
  44. package/dist/components/ip-type-badge.d.cts +0 -21
  45. package/dist/components/ip-type-badge.d.ts +0 -21
  46. package/dist/components/launchpad-services.d.cts +0 -43
  47. package/dist/components/launchpad-services.d.ts +0 -43
  48. package/dist/components/listing-card.d.cts +0 -16
  49. package/dist/components/listing-card.d.ts +0 -16
  50. package/dist/components/motion-primitives.d.cts +0 -36
  51. package/dist/components/motion-primitives.d.ts +0 -36
  52. package/dist/components/nav-command-menu.d.cts +0 -51
  53. package/dist/components/nav-command-menu.d.ts +0 -51
  54. package/dist/components/page-container.d.cts +0 -15
  55. package/dist/components/page-container.d.ts +0 -15
  56. package/dist/components/portfolio-subnav.d.cts +0 -27
  57. package/dist/components/portfolio-subnav.d.ts +0 -27
  58. package/dist/components/scroll-section.d.cts +0 -18
  59. package/dist/components/scroll-section.d.ts +0 -18
  60. package/dist/components/share-button.d.cts +0 -12
  61. package/dist/components/share-button.d.ts +0 -12
  62. package/dist/components/token-card.d.cts +0 -31
  63. package/dist/components/token-card.d.ts +0 -31
  64. package/dist/data/activity.d.cts +0 -16
  65. package/dist/data/activity.d.ts +0 -16
  66. package/dist/data/brand.d.cts +0 -44
  67. package/dist/data/brand.d.ts +0 -44
  68. package/dist/data/ip-types.d.cts +0 -13
  69. package/dist/data/ip-types.d.ts +0 -13
  70. package/dist/data/launchpad-services.d.cts +0 -42
  71. package/dist/data/launchpad-services.d.ts +0 -42
  72. package/dist/index.d.cts +0 -41
  73. package/dist/index.d.ts +0 -41
  74. package/dist/preset/tailwind.d.cts +0 -5
  75. package/dist/preset/tailwind.d.ts +0 -5
  76. package/dist/utils/address.d.cts +0 -7
  77. package/dist/utils/address.d.ts +0 -7
  78. package/dist/utils/cn.d.cts +0 -5
  79. package/dist/utils/cn.d.ts +0 -5
  80. package/dist/utils/format.d.cts +0 -7
  81. package/dist/utils/format.d.ts +0 -7
  82. package/dist/utils/ipfs.d.cts +0 -11
  83. package/dist/utils/ipfs.d.ts +0 -11
  84. package/dist/utils/portfolio-counts.d.cts +0 -33
  85. package/dist/utils/portfolio-counts.d.ts +0 -33
  86. package/dist/utils/time.d.cts +0 -7
  87. package/dist/utils/time.d.ts +0 -7
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiOrder } from '@medialane/sdk';
3
-
4
- interface DiscoverHeroProps {
5
- stats: {
6
- collections: number;
7
- tokens: number;
8
- sales: number;
9
- } | null;
10
- orders: ApiOrder[];
11
- badgeText?: string;
12
- headlineText?: string;
13
- getTickerHref?: (order: ApiOrder) => string;
14
- }
15
- declare function DiscoverHero({ stats, orders, badgeText, headlineText, getTickerHref, }: DiscoverHeroProps): react_jsx_runtime.JSX.Element;
16
-
17
- export { DiscoverHero, type DiscoverHeroProps };
@@ -1,13 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiCollection } from '@medialane/sdk';
3
-
4
- interface FeaturedCarouselProps {
5
- collections: ApiCollection[];
6
- isLoading: boolean;
7
- getHref: (collection: ApiCollection) => string;
8
- allCollectionsHref?: string;
9
- }
10
- declare function FeaturedCarouselSkeleton(): react_jsx_runtime.JSX.Element;
11
- declare function FeaturedCarousel({ collections, isLoading, getHref, allCollectionsHref, }: FeaturedCarouselProps): react_jsx_runtime.JSX.Element | null;
12
-
13
- export { FeaturedCarousel, type FeaturedCarouselProps, FeaturedCarouselSkeleton };
@@ -1,13 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiCollection } from '@medialane/sdk';
3
-
4
- interface FeaturedCarouselProps {
5
- collections: ApiCollection[];
6
- isLoading: boolean;
7
- getHref: (collection: ApiCollection) => string;
8
- allCollectionsHref?: string;
9
- }
10
- declare function FeaturedCarouselSkeleton(): react_jsx_runtime.JSX.Element;
11
- declare function FeaturedCarousel({ collections, isLoading, getHref, allCollectionsHref, }: FeaturedCarouselProps): react_jsx_runtime.JSX.Element | null;
12
-
13
- export { FeaturedCarousel, type FeaturedCarouselProps, FeaturedCarouselSkeleton };
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiCollection } from '@medialane/sdk';
3
-
4
- interface HeroSliderProps {
5
- collections: ApiCollection[];
6
- isLoading: boolean;
7
- getHref: (collection: ApiCollection) => string;
8
- /** Optional placeholder CTA hrefs — defaults to "/marketplace" and "/create/asset" */
9
- placeholderHrefs?: {
10
- markets?: string;
11
- create?: string;
12
- };
13
- }
14
- declare function HeroSliderSkeleton(): react_jsx_runtime.JSX.Element;
15
- declare function HeroSlider({ collections, isLoading, getHref, placeholderHrefs }: HeroSliderProps): react_jsx_runtime.JSX.Element;
16
-
17
- export { HeroSlider, type HeroSliderProps, HeroSliderSkeleton };
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiCollection } from '@medialane/sdk';
3
-
4
- interface HeroSliderProps {
5
- collections: ApiCollection[];
6
- isLoading: boolean;
7
- getHref: (collection: ApiCollection) => string;
8
- /** Optional placeholder CTA hrefs — defaults to "/marketplace" and "/create/asset" */
9
- placeholderHrefs?: {
10
- markets?: string;
11
- create?: string;
12
- };
13
- }
14
- declare function HeroSliderSkeleton(): react_jsx_runtime.JSX.Element;
15
- declare function HeroSlider({ collections, isLoading, getHref, placeholderHrefs }: HeroSliderProps): react_jsx_runtime.JSX.Element;
16
-
17
- export { HeroSlider, type HeroSliderProps, HeroSliderSkeleton };
@@ -1,21 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { IpTypeData } from '../data/ip-types.cjs';
3
- export { IP_TYPE_DATA, IP_TYPE_DATA_MAP } from '../data/ip-types.cjs';
4
-
5
- /** Client-only: extends IpTypeData with a React icon component. */
6
- interface IpTypeConfig extends IpTypeData {
7
- icon: React.ElementType;
8
- }
9
- declare const IP_TYPE_CONFIG: IpTypeConfig[];
10
- declare const IP_TYPE_MAP: Record<string, IpTypeConfig>;
11
-
12
- interface IpTypeBadgeProps {
13
- ipType: string;
14
- size?: "sm" | "md";
15
- className?: string;
16
- /** Base URL for IP type pages. Default: "" (relative). */
17
- baseUrl?: string;
18
- }
19
- declare function IpTypeBadge({ ipType, size, className, baseUrl }: IpTypeBadgeProps): react_jsx_runtime.JSX.Element | null;
20
-
21
- export { IP_TYPE_CONFIG, IP_TYPE_MAP, IpTypeBadge, type IpTypeBadgeProps, type IpTypeConfig, IpTypeData };
@@ -1,21 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { IpTypeData } from '../data/ip-types.js';
3
- export { IP_TYPE_DATA, IP_TYPE_DATA_MAP } from '../data/ip-types.js';
4
-
5
- /** Client-only: extends IpTypeData with a React icon component. */
6
- interface IpTypeConfig extends IpTypeData {
7
- icon: React.ElementType;
8
- }
9
- declare const IP_TYPE_CONFIG: IpTypeConfig[];
10
- declare const IP_TYPE_MAP: Record<string, IpTypeConfig>;
11
-
12
- interface IpTypeBadgeProps {
13
- ipType: string;
14
- size?: "sm" | "md";
15
- className?: string;
16
- /** Base URL for IP type pages. Default: "" (relative). */
17
- baseUrl?: string;
18
- }
19
- declare function IpTypeBadge({ ipType, size, className, baseUrl }: IpTypeBadgeProps): react_jsx_runtime.JSX.Element | null;
20
-
21
- export { IP_TYPE_CONFIG, IP_TYPE_MAP, IpTypeBadge, type IpTypeBadgeProps, type IpTypeConfig, IpTypeData };
@@ -1,43 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ServiceStatus, ServiceDefinition } from '../data/launchpad-services.cjs';
3
- import 'lucide-react';
4
-
5
- interface ServiceOverride {
6
- /** Primary destination — the whole card links here (required for live services) */
7
- href?: string;
8
- /** Secondary browse link href (pairs with the def's browseLinkLabel) */
9
- browseHref?: string;
10
- /** Per-app rollout flips (e.g. coins live on one app first) */
11
- status?: ServiceStatus;
12
- /** Per-app one-liner override (rarely needed) */
13
- blurb?: string;
14
- }
15
- type ServiceOverrides = Record<string, ServiceOverride>;
16
- interface ServiceHue {
17
- /** icon tint (600 for light surfaces, 400 for dark) */
18
- text: string;
19
- /** solid fill — icon glow */
20
- solid: string;
21
- /** thin card border tint */
22
- border: string;
23
- /** vivid two-stop gradient for the action pill (asset-page button language) */
24
- pill: string;
25
- }
26
- declare const SERVICE_HUES: Record<string, ServiceHue>;
27
- interface LaunchpadServiceCardProps {
28
- def: ServiceDefinition;
29
- override?: ServiceOverride;
30
- /** Showcase layout — spans the full grid width (e.g. POP Protocol) */
31
- featured?: boolean;
32
- }
33
- declare function LaunchpadServiceCard({ def, override, featured }: LaunchpadServiceCardProps): react_jsx_runtime.JSX.Element;
34
- interface LaunchpadGroupedSectionsProps {
35
- /** Per-app hrefs / rollout flips, keyed by service key. */
36
- overrides: ServiceOverrides;
37
- className?: string;
38
- }
39
- /** The full grouped launchpad services block — section order comes from
40
- * LAUNCHPAD_SERVICE_GROUPS; cards from LAUNCHPAD_SERVICE_DEFINITIONS. */
41
- declare function LaunchpadGroupedSections({ overrides, className }: LaunchpadGroupedSectionsProps): react_jsx_runtime.JSX.Element;
42
-
43
- export { LaunchpadGroupedSections, type LaunchpadGroupedSectionsProps, LaunchpadServiceCard, type LaunchpadServiceCardProps, SERVICE_HUES, type ServiceOverride, type ServiceOverrides };
@@ -1,43 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ServiceStatus, ServiceDefinition } from '../data/launchpad-services.js';
3
- import 'lucide-react';
4
-
5
- interface ServiceOverride {
6
- /** Primary destination — the whole card links here (required for live services) */
7
- href?: string;
8
- /** Secondary browse link href (pairs with the def's browseLinkLabel) */
9
- browseHref?: string;
10
- /** Per-app rollout flips (e.g. coins live on one app first) */
11
- status?: ServiceStatus;
12
- /** Per-app one-liner override (rarely needed) */
13
- blurb?: string;
14
- }
15
- type ServiceOverrides = Record<string, ServiceOverride>;
16
- interface ServiceHue {
17
- /** icon tint (600 for light surfaces, 400 for dark) */
18
- text: string;
19
- /** solid fill — icon glow */
20
- solid: string;
21
- /** thin card border tint */
22
- border: string;
23
- /** vivid two-stop gradient for the action pill (asset-page button language) */
24
- pill: string;
25
- }
26
- declare const SERVICE_HUES: Record<string, ServiceHue>;
27
- interface LaunchpadServiceCardProps {
28
- def: ServiceDefinition;
29
- override?: ServiceOverride;
30
- /** Showcase layout — spans the full grid width (e.g. POP Protocol) */
31
- featured?: boolean;
32
- }
33
- declare function LaunchpadServiceCard({ def, override, featured }: LaunchpadServiceCardProps): react_jsx_runtime.JSX.Element;
34
- interface LaunchpadGroupedSectionsProps {
35
- /** Per-app hrefs / rollout flips, keyed by service key. */
36
- overrides: ServiceOverrides;
37
- className?: string;
38
- }
39
- /** The full grouped launchpad services block — section order comes from
40
- * LAUNCHPAD_SERVICE_GROUPS; cards from LAUNCHPAD_SERVICE_DEFINITIONS. */
41
- declare function LaunchpadGroupedSections({ overrides, className }: LaunchpadGroupedSectionsProps): react_jsx_runtime.JSX.Element;
42
-
43
- export { LaunchpadGroupedSections, type LaunchpadGroupedSectionsProps, LaunchpadServiceCard, type LaunchpadServiceCardProps, SERVICE_HUES, type ServiceOverride, type ServiceOverrides };
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiOrder } from '@medialane/sdk';
3
-
4
- interface ListingCardProps {
5
- order: ApiOrder;
6
- inCart?: boolean;
7
- onBuy?: (order: ApiOrder) => void;
8
- onCart?: (order: ApiOrder) => void;
9
- /** App passes a fully constructed <DropdownMenu> here */
10
- overflowMenu?: React.ReactNode;
11
- compact?: boolean;
12
- }
13
- declare function ListingCard({ order, inCart, onBuy, onCart, overflowMenu, compact }: ListingCardProps): react_jsx_runtime.JSX.Element;
14
- declare function ListingCardSkeleton(): react_jsx_runtime.JSX.Element;
15
-
16
- export { ListingCard, type ListingCardProps, ListingCardSkeleton };
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiOrder } from '@medialane/sdk';
3
-
4
- interface ListingCardProps {
5
- order: ApiOrder;
6
- inCart?: boolean;
7
- onBuy?: (order: ApiOrder) => void;
8
- onCart?: (order: ApiOrder) => void;
9
- /** App passes a fully constructed <DropdownMenu> here */
10
- overflowMenu?: React.ReactNode;
11
- compact?: boolean;
12
- }
13
- declare function ListingCard({ order, inCart, onBuy, onCart, overflowMenu, compact }: ListingCardProps): react_jsx_runtime.JSX.Element;
14
- declare function ListingCardSkeleton(): react_jsx_runtime.JSX.Element;
15
-
16
- export { ListingCard, type ListingCardProps, ListingCardSkeleton };
@@ -1,36 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLMotionProps } from 'framer-motion';
3
-
4
- declare const SPRING: {
5
- readonly type: "spring";
6
- readonly stiffness: 400;
7
- readonly damping: 28;
8
- };
9
- declare const EASE_OUT: readonly [0.25, 0.46, 0.45, 0.94];
10
- interface MotionCardProps extends HTMLMotionProps<"div"> {
11
- children: React.ReactNode;
12
- }
13
- declare function MotionCard({ children, className, ...props }: MotionCardProps): react_jsx_runtime.JSX.Element;
14
- interface FadeInProps {
15
- children: React.ReactNode;
16
- className?: string;
17
- delay?: number;
18
- y?: number;
19
- }
20
- declare function FadeIn({ children, className, delay, y }: FadeInProps): react_jsx_runtime.JSX.Element;
21
- interface StaggerProps {
22
- children: React.ReactNode;
23
- className?: string;
24
- staggerDelay?: number;
25
- }
26
- declare function Stagger({ children, className, staggerDelay }: StaggerProps): react_jsx_runtime.JSX.Element;
27
- declare function StaggerItem({ children, className }: {
28
- children: React.ReactNode;
29
- className?: string;
30
- }): react_jsx_runtime.JSX.Element;
31
- declare function KineticWords({ text, className }: {
32
- text: string;
33
- className?: string;
34
- }): react_jsx_runtime.JSX.Element;
35
-
36
- export { EASE_OUT, FadeIn, KineticWords, MotionCard, SPRING, Stagger, StaggerItem };
@@ -1,36 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLMotionProps } from 'framer-motion';
3
-
4
- declare const SPRING: {
5
- readonly type: "spring";
6
- readonly stiffness: 400;
7
- readonly damping: 28;
8
- };
9
- declare const EASE_OUT: readonly [0.25, 0.46, 0.45, 0.94];
10
- interface MotionCardProps extends HTMLMotionProps<"div"> {
11
- children: React.ReactNode;
12
- }
13
- declare function MotionCard({ children, className, ...props }: MotionCardProps): react_jsx_runtime.JSX.Element;
14
- interface FadeInProps {
15
- children: React.ReactNode;
16
- className?: string;
17
- delay?: number;
18
- y?: number;
19
- }
20
- declare function FadeIn({ children, className, delay, y }: FadeInProps): react_jsx_runtime.JSX.Element;
21
- interface StaggerProps {
22
- children: React.ReactNode;
23
- className?: string;
24
- staggerDelay?: number;
25
- }
26
- declare function Stagger({ children, className, staggerDelay }: StaggerProps): react_jsx_runtime.JSX.Element;
27
- declare function StaggerItem({ children, className }: {
28
- children: React.ReactNode;
29
- className?: string;
30
- }): react_jsx_runtime.JSX.Element;
31
- declare function KineticWords({ text, className }: {
32
- text: string;
33
- className?: string;
34
- }): react_jsx_runtime.JSX.Element;
35
-
36
- export { EASE_OUT, FadeIn, KineticWords, MotionCard, SPRING, Stagger, StaggerItem };
@@ -1,51 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- interface NavCommand {
5
- id: string;
6
- label: string;
7
- icon: React.ComponentType<{
8
- className?: string;
9
- }>;
10
- href?: string;
11
- action?: () => void;
12
- /** Extra search terms beyond the label */
13
- keywords?: string[];
14
- }
15
- interface NavCommandGroup {
16
- /**
17
- * Optional group heading. Omit it for the primary group so its items
18
- * read as the top-level menu — they render first, emphasized, with no
19
- * label, separated from the headed groups below.
20
- */
21
- heading?: string;
22
- items: NavCommand[];
23
- }
24
- interface NavCommandMenuProps {
25
- commands: NavCommandGroup[];
26
- /**
27
- * Optional trigger element rendered inline at the component's mount point.
28
- * For most apps, omit this and call `useNavCommandMenu().open()` from a
29
- * separate button — that keeps the trigger in the right place in the layout.
30
- */
31
- trigger?: React.ReactNode;
32
- /**
33
- * Optional pinned account/connect area rendered below command results.
34
- * Apps own the auth implementation here (Clerk, ChipiPay, wallet connectors,
35
- * Privy, Cartridge, etc.) so the shared nav stays framework-agnostic.
36
- */
37
- accountSlot?: React.ReactNode;
38
- /**
39
- * Optional control rendered in the footer row (e.g. a theme toggle).
40
- * Apps own theme state (next-themes etc.) so the shared nav stays
41
- * framework-agnostic — same pattern as `accountSlot`.
42
- */
43
- footerSlot?: React.ReactNode;
44
- }
45
- declare function useNavCommandMenu(): {
46
- open: () => boolean;
47
- close: () => boolean;
48
- };
49
- declare function NavCommandMenu({ commands, trigger, accountSlot, footerSlot }: NavCommandMenuProps): react_jsx_runtime.JSX.Element;
50
-
51
- export { type NavCommand, type NavCommandGroup, NavCommandMenu, type NavCommandMenuProps, useNavCommandMenu };
@@ -1,51 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- interface NavCommand {
5
- id: string;
6
- label: string;
7
- icon: React.ComponentType<{
8
- className?: string;
9
- }>;
10
- href?: string;
11
- action?: () => void;
12
- /** Extra search terms beyond the label */
13
- keywords?: string[];
14
- }
15
- interface NavCommandGroup {
16
- /**
17
- * Optional group heading. Omit it for the primary group so its items
18
- * read as the top-level menu — they render first, emphasized, with no
19
- * label, separated from the headed groups below.
20
- */
21
- heading?: string;
22
- items: NavCommand[];
23
- }
24
- interface NavCommandMenuProps {
25
- commands: NavCommandGroup[];
26
- /**
27
- * Optional trigger element rendered inline at the component's mount point.
28
- * For most apps, omit this and call `useNavCommandMenu().open()` from a
29
- * separate button — that keeps the trigger in the right place in the layout.
30
- */
31
- trigger?: React.ReactNode;
32
- /**
33
- * Optional pinned account/connect area rendered below command results.
34
- * Apps own the auth implementation here (Clerk, ChipiPay, wallet connectors,
35
- * Privy, Cartridge, etc.) so the shared nav stays framework-agnostic.
36
- */
37
- accountSlot?: React.ReactNode;
38
- /**
39
- * Optional control rendered in the footer row (e.g. a theme toggle).
40
- * Apps own theme state (next-themes etc.) so the shared nav stays
41
- * framework-agnostic — same pattern as `accountSlot`.
42
- */
43
- footerSlot?: React.ReactNode;
44
- }
45
- declare function useNavCommandMenu(): {
46
- open: () => boolean;
47
- close: () => boolean;
48
- };
49
- declare function NavCommandMenu({ commands, trigger, accountSlot, footerSlot }: NavCommandMenuProps): react_jsx_runtime.JSX.Element;
50
-
51
- export { type NavCommand, type NavCommandGroup, NavCommandMenu, type NavCommandMenuProps, useNavCommandMenu };
@@ -1,15 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLAttributes } from 'react';
3
-
4
- interface PageContainerProps extends HTMLAttributes<HTMLDivElement> {
5
- /**
6
- * Controls the page width contract.
7
- * - app: full available canvas for sidebar/dashboard shells.
8
- * - content: standard editorial max width.
9
- * - narrow: focused forms and legal/content pages.
10
- */
11
- variant?: "app" | "content" | "narrow";
12
- }
13
- declare function PageContainer({ variant, className, children, ...props }: PageContainerProps): react_jsx_runtime.JSX.Element;
14
-
15
- export { PageContainer, type PageContainerProps };
@@ -1,15 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLAttributes } from 'react';
3
-
4
- interface PageContainerProps extends HTMLAttributes<HTMLDivElement> {
5
- /**
6
- * Controls the page width contract.
7
- * - app: full available canvas for sidebar/dashboard shells.
8
- * - content: standard editorial max width.
9
- * - narrow: focused forms and legal/content pages.
10
- */
11
- variant?: "app" | "content" | "narrow";
12
- }
13
- declare function PageContainer({ variant, className, children, ...props }: PageContainerProps): react_jsx_runtime.JSX.Element;
14
-
15
- export { PageContainer, type PageContainerProps };
@@ -1,27 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type PortfolioBadgeVariant = "destructive" | "primary" | "warning";
4
- interface PortfolioNavItem {
5
- label: string;
6
- href: string;
7
- /** Optional count badge. `key` indexes `badgeCounts`; `variant` sets color. */
8
- badge?: {
9
- key: string;
10
- variant?: PortfolioBadgeVariant;
11
- };
12
- }
13
- interface PortfolioNavGroup {
14
- label: string;
15
- items: PortfolioNavItem[];
16
- }
17
- interface PortfolioSubnavProps {
18
- groups: PortfolioNavGroup[];
19
- /** Current pathname — caller passes `usePathname()`. */
20
- pathname: string;
21
- /** Badge counts keyed by `item.badge.key`. A badge renders only when > 0. */
22
- badgeCounts?: Record<string, number>;
23
- className?: string;
24
- }
25
- declare function PortfolioSubnav({ groups, pathname, badgeCounts, className, }: PortfolioSubnavProps): react_jsx_runtime.JSX.Element;
26
-
27
- export { type PortfolioBadgeVariant, type PortfolioNavGroup, type PortfolioNavItem, PortfolioSubnav, type PortfolioSubnavProps };
@@ -1,27 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type PortfolioBadgeVariant = "destructive" | "primary" | "warning";
4
- interface PortfolioNavItem {
5
- label: string;
6
- href: string;
7
- /** Optional count badge. `key` indexes `badgeCounts`; `variant` sets color. */
8
- badge?: {
9
- key: string;
10
- variant?: PortfolioBadgeVariant;
11
- };
12
- }
13
- interface PortfolioNavGroup {
14
- label: string;
15
- items: PortfolioNavItem[];
16
- }
17
- interface PortfolioSubnavProps {
18
- groups: PortfolioNavGroup[];
19
- /** Current pathname — caller passes `usePathname()`. */
20
- pathname: string;
21
- /** Badge counts keyed by `item.badge.key`. A badge renders only when > 0. */
22
- badgeCounts?: Record<string, number>;
23
- className?: string;
24
- }
25
- declare function PortfolioSubnav({ groups, pathname, badgeCounts, className, }: PortfolioSubnavProps): react_jsx_runtime.JSX.Element;
26
-
27
- export { type PortfolioBadgeVariant, type PortfolioNavGroup, type PortfolioNavItem, PortfolioSubnav, type PortfolioSubnavProps };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface ScrollSectionProps {
4
- /** Icon element rendered inside the colored badge */
5
- icon: React.ReactNode;
6
- /** Tailwind classes for the icon badge (background + shadow) */
7
- iconBg: string;
8
- title: string;
9
- /** "See all" link destination */
10
- href: string;
11
- /** Button label — defaults to "See all" */
12
- linkLabel?: string;
13
- /** Scroll items: wrap each in a sized snap-start div */
14
- children: React.ReactNode;
15
- }
16
- declare function ScrollSection({ icon, iconBg, title, href, linkLabel, children, }: ScrollSectionProps): react_jsx_runtime.JSX.Element;
17
-
18
- export { ScrollSection, type ScrollSectionProps };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface ScrollSectionProps {
4
- /** Icon element rendered inside the colored badge */
5
- icon: React.ReactNode;
6
- /** Tailwind classes for the icon badge (background + shadow) */
7
- iconBg: string;
8
- title: string;
9
- /** "See all" link destination */
10
- href: string;
11
- /** Button label — defaults to "See all" */
12
- linkLabel?: string;
13
- /** Scroll items: wrap each in a sized snap-start div */
14
- children: React.ReactNode;
15
- }
16
- declare function ScrollSection({ icon, iconBg, title, href, linkLabel, children, }: ScrollSectionProps): react_jsx_runtime.JSX.Element;
17
-
18
- export { ScrollSection, type ScrollSectionProps };
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface ShareButtonProps {
4
- title: string;
5
- url?: string;
6
- variant?: "outline" | "ghost" | "default";
7
- size?: "sm" | "default" | "lg" | "icon";
8
- className?: string;
9
- }
10
- declare function ShareButton({ title, url, variant, size, className, }: ShareButtonProps): react_jsx_runtime.JSX.Element;
11
-
12
- export { ShareButton, type ShareButtonProps };
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface ShareButtonProps {
4
- title: string;
5
- url?: string;
6
- variant?: "outline" | "ghost" | "default";
7
- size?: "sm" | "default" | "lg" | "icon";
8
- className?: string;
9
- }
10
- declare function ShareButton({ title, url, variant, size, className, }: ShareButtonProps): react_jsx_runtime.JSX.Element;
11
-
12
- export { ShareButton, type ShareButtonProps };
@@ -1,31 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiToken } from '@medialane/sdk';
3
-
4
- type RarityTier = "legendary" | "epic" | "rare" | "uncommon" | "common";
5
- interface TokenCardProps {
6
- token: ApiToken;
7
- /** Whether the current user owns this token. Default: false */
8
- isOwner?: boolean;
9
- /** Whether this token's listing is already in the cart. Default: false */
10
- inCart?: boolean;
11
- /** Show the Buy button for listed tokens. Default: true */
12
- showBuyButton?: boolean;
13
- /** Optional rarity label shown as an overlay badge */
14
- rarityTier?: RarityTier;
15
- className?: string;
16
- /** Callbacks — omit any to hide that button */
17
- onBuy?: (token: ApiToken) => void;
18
- onCart?: (token: ApiToken) => void;
19
- onOffer?: (token: ApiToken) => void;
20
- onList?: (token: ApiToken) => void;
21
- onCancel?: (token: ApiToken) => void;
22
- onTransfer?: (token: ApiToken) => void;
23
- onRemix?: (token: ApiToken) => void;
24
- onReport?: (token: ApiToken) => void;
25
- /** Slot for a DropdownMenu trigger — rendered after primary buttons */
26
- overflowMenu?: React.ReactNode;
27
- }
28
- declare function TokenCard({ token, isOwner, inCart, showBuyButton, rarityTier, className, onBuy, onCart, onOffer, onList, onCancel, onTransfer, overflowMenu, }: TokenCardProps): react_jsx_runtime.JSX.Element;
29
- declare function TokenCardSkeleton(): react_jsx_runtime.JSX.Element;
30
-
31
- export { type RarityTier, TokenCard, type TokenCardProps, TokenCardSkeleton };
@@ -1,31 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ApiToken } from '@medialane/sdk';
3
-
4
- type RarityTier = "legendary" | "epic" | "rare" | "uncommon" | "common";
5
- interface TokenCardProps {
6
- token: ApiToken;
7
- /** Whether the current user owns this token. Default: false */
8
- isOwner?: boolean;
9
- /** Whether this token's listing is already in the cart. Default: false */
10
- inCart?: boolean;
11
- /** Show the Buy button for listed tokens. Default: true */
12
- showBuyButton?: boolean;
13
- /** Optional rarity label shown as an overlay badge */
14
- rarityTier?: RarityTier;
15
- className?: string;
16
- /** Callbacks — omit any to hide that button */
17
- onBuy?: (token: ApiToken) => void;
18
- onCart?: (token: ApiToken) => void;
19
- onOffer?: (token: ApiToken) => void;
20
- onList?: (token: ApiToken) => void;
21
- onCancel?: (token: ApiToken) => void;
22
- onTransfer?: (token: ApiToken) => void;
23
- onRemix?: (token: ApiToken) => void;
24
- onReport?: (token: ApiToken) => void;
25
- /** Slot for a DropdownMenu trigger — rendered after primary buttons */
26
- overflowMenu?: React.ReactNode;
27
- }
28
- declare function TokenCard({ token, isOwner, inCart, showBuyButton, rarityTier, className, onBuy, onCart, onOffer, onList, onCancel, onTransfer, overflowMenu, }: TokenCardProps): react_jsx_runtime.JSX.Element;
29
- declare function TokenCardSkeleton(): react_jsx_runtime.JSX.Element;
30
-
31
- export { type RarityTier, TokenCard, type TokenCardProps, TokenCardSkeleton };