@medialane/ui 0.351.0 → 0.352.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.
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
6
- variant?: "default" | "destructive" | null | undefined;
6
+ variant?: "destructive" | "default" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
8
8
  declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
9
9
  declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
6
- variant?: "default" | "destructive" | null | undefined;
6
+ variant?: "destructive" | "default" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
8
8
  declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
9
9
  declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
7
+ variant?: "destructive" | "default" | "outline" | "secondary" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
10
10
  }
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
7
+ variant?: "destructive" | "default" | "outline" | "secondary" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
10
10
  }
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | "premium" | "tonal" | "gradient-border" | "gradient-fill" | null | undefined;
6
+ variant?: "destructive" | "default" | "link" | "outline" | "secondary" | "ghost" | "premium" | "tonal" | "gradient-border" | "gradient-fill" | null | undefined;
7
7
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | "premium" | "tonal" | "gradient-border" | "gradient-fill" | null | undefined;
6
+ variant?: "destructive" | "default" | "link" | "outline" | "secondary" | "ghost" | "premium" | "tonal" | "gradient-border" | "gradient-fill" | null | undefined;
7
7
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -33,22 +33,22 @@ const HUES = [
33
33
  { text: "text-brand-rose", border: "border-brand-rose/30", tint: "bg-brand-rose/10" }
34
34
  ];
35
35
  const FEATURES = [
36
- { icon: import_lucide_react.HandCoins, title: "99% to creators and owners" },
37
- { icon: import_lucide_react.Globe, title: "Censorship resistance" },
38
- { icon: import_lucide_react.ShieldCheck, title: "Stark cryptography" },
39
- { icon: import_lucide_react.EyeOff, title: "Privacy by design" },
40
- { icon: import_lucide_react.ScanEye, title: "Zero knowledge proof with Starknet" },
41
- { icon: import_lucide_react.Percent, title: "Zero fees on protocols" },
42
- { icon: import_lucide_react.Lock, title: "Immutable smart contracts" },
43
- { icon: import_lucide_react.DoorOpen, title: "Permissionless" },
44
- { icon: import_lucide_react.Database, title: "Smart contracts are the source of truth" },
45
- { icon: import_lucide_react.FileCog, title: "Programmable IP" },
46
- { icon: import_lucide_react.Gem, title: "Immutable assets" },
47
- { icon: import_lucide_react.Scale, title: "IP protection compliance" },
48
- { icon: import_lucide_react.Code, title: "Open source and auditable" }
36
+ { icon: import_lucide_react.HandCoins, title: "Creator-first economy", description: "99% to creators/owners + 1% fee goes to the Creator Fund Airdrop." },
37
+ { icon: import_lucide_react.Globe, title: "Censorship resistance", description: "Assets and ownership live onchain on decentralized networks." },
38
+ { icon: import_lucide_react.ShieldCheck, title: "Stark cryptography", description: "All transactions are secured onchain by mathematical proofs." },
39
+ { icon: import_lucide_react.EyeOff, title: "Privacy by design", description: "Medialane is designed for user privacy and sovereignty." },
40
+ { icon: import_lucide_react.ScanEye, title: "Zero knowledge", description: "Information can be proven valid without revealing the data behind it." },
41
+ { icon: import_lucide_react.Percent, title: "Zero-fee protocols", description: "The smart contracts charge zero fees for interaction." },
42
+ { icon: import_lucide_react.Lock, title: "Immutable contracts", description: "All smart contracts are fully open source and immutable." },
43
+ { icon: import_lucide_react.DoorOpen, title: "Permissionless", description: "Anyone can create, trade and interact with onchain protocols." },
44
+ { icon: import_lucide_react.Database, title: "Onchain as the source of truth", description: "Assets, ownership, markets and data are read directly onchain." },
45
+ { icon: import_lucide_react.FileCog, title: "Programmable IP", description: "Licensing terms and rights are stored with the assets." },
46
+ { icon: import_lucide_react.Gem, title: "Decentralized portfolio", description: "Assets are stored onchain with licensing and metadata on IPFS." },
47
+ { icon: import_lucide_react.Scale, title: "Protection compliance", description: "Authorship and license are protected under international laws." },
48
+ { icon: import_lucide_react.Code, title: "Open source and auditable", description: "The code is public to audit, review and collaborate on." }
49
49
  ];
50
50
  function DiscoverFeatures() {
51
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_scroll_section.ScrollSection, { icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.BadgeCheck, {}), title: "Medialane features", children: FEATURES.map(({ icon: Icon, title }, i) => {
51
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_scroll_section.ScrollSection, { icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.BadgeCheck, {}), title: "Medialane features", children: FEATURES.map(({ icon: Icon, title, description }, i) => {
52
52
  const hue = HUES[i % HUES.length];
53
53
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
54
54
  "div",
@@ -59,7 +59,10 @@ function DiscoverFeatures() {
59
59
  ),
60
60
  children: [
61
61
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_cn.cn)("flex h-11 w-11 items-center justify-center rounded-xl", hue.tint), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: (0, import_cn.cn)("h-6 w-6", hue.text) }) }),
62
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { className: "text-lg font-black leading-snug tracking-tight", children: title })
62
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col gap-1.5", children: [
63
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { className: "text-lg font-black leading-snug tracking-tight", children: title }),
64
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: description })
65
+ ] })
63
66
  ]
64
67
  },
65
68
  title
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/discover-features.tsx"],"sourcesContent":["import {\n BadgeCheck,\n Code,\n Database,\n DoorOpen,\n EyeOff,\n FileCog,\n Gem,\n Globe,\n HandCoins,\n Lock,\n Percent,\n ScanEye,\n Scale,\n ShieldCheck,\n type LucideIcon,\n} from \"lucide-react\";\nimport { ScrollSection } from \"./scroll-section.js\";\nimport { cn } from \"../utils/cn.js\";\n\nconst HUES = [\n { text: \"text-brand-blue\", border: \"border-brand-blue/30\", tint: \"bg-brand-blue/10\" },\n { text: \"text-brand-maeve\", border: \"border-brand-maeve/30\", tint: \"bg-brand-maeve/10\" },\n { text: \"text-brand-orange\", border: \"border-brand-orange/30\", tint: \"bg-brand-orange/10\" },\n { text: \"text-brand-purple\", border: \"border-brand-purple/30\", tint: \"bg-brand-purple/10\" },\n { text: \"text-brand-rose\", border: \"border-brand-rose/30\", tint: \"bg-brand-rose/10\" },\n];\n\nconst FEATURES: ReadonlyArray<{ icon: LucideIcon; title: string }> = [\n { icon: HandCoins, title: \"99% to creators and owners\" },\n { icon: Globe, title: \"Censorship resistance\" },\n { icon: ShieldCheck, title: \"Stark cryptography\" },\n { icon: EyeOff, title: \"Privacy by design\" },\n { icon: ScanEye, title: \"Zero knowledge proof with Starknet\" },\n { icon: Percent, title: \"Zero fees on protocols\" },\n { icon: Lock, title: \"Immutable smart contracts\" },\n { icon: DoorOpen, title: \"Permissionless\" },\n { icon: Database, title: \"Smart contracts are the source of truth\" },\n { icon: FileCog, title: \"Programmable IP\" },\n { icon: Gem, title: \"Immutable assets\" },\n { icon: Scale, title: \"IP protection compliance\" },\n { icon: Code, title: \"Open source and auditable\" },\n];\n\nexport function DiscoverFeatures() {\n return (\n <ScrollSection icon={<BadgeCheck />} title=\"Medialane features\">\n {FEATURES.map(({ icon: Icon, title }, i) => {\n const hue = HUES[i % HUES.length]!;\n return (\n <div\n key={title}\n className={cn(\n \"flex min-h-[168px] w-56 shrink-0 snap-start flex-col gap-4 rounded-2xl border bg-card p-6 sm:w-64\",\n hue.border,\n )}\n >\n <span className={cn(\"flex h-11 w-11 items-center justify-center rounded-xl\", hue.tint)}>\n <Icon className={cn(\"h-6 w-6\", hue.text)} />\n </span>\n <h3 className=\"text-lg font-black leading-snug tracking-tight\">{title}</h3>\n </div>\n );\n })}\n </ScrollSection>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA8CyB;AA9CzB,0BAgBO;AACP,4BAA8B;AAC9B,gBAAmB;AAEnB,MAAM,OAAO;AAAA,EACX,EAAE,MAAM,mBAAmB,QAAQ,wBAAwB,MAAM,mBAAmB;AAAA,EACpF,EAAE,MAAM,oBAAoB,QAAQ,yBAAyB,MAAM,oBAAoB;AAAA,EACvF,EAAE,MAAM,qBAAqB,QAAQ,0BAA0B,MAAM,qBAAqB;AAAA,EAC1F,EAAE,MAAM,qBAAqB,QAAQ,0BAA0B,MAAM,qBAAqB;AAAA,EAC1F,EAAE,MAAM,mBAAmB,QAAQ,wBAAwB,MAAM,mBAAmB;AACtF;AAEA,MAAM,WAA+D;AAAA,EACnE,EAAE,MAAM,+BAAW,OAAO,6BAA6B;AAAA,EACvD,EAAE,MAAM,2BAAO,OAAO,wBAAwB;AAAA,EAC9C,EAAE,MAAM,iCAAa,OAAO,qBAAqB;AAAA,EACjD,EAAE,MAAM,4BAAQ,OAAO,oBAAoB;AAAA,EAC3C,EAAE,MAAM,6BAAS,OAAO,qCAAqC;AAAA,EAC7D,EAAE,MAAM,6BAAS,OAAO,yBAAyB;AAAA,EACjD,EAAE,MAAM,0BAAM,OAAO,4BAA4B;AAAA,EACjD,EAAE,MAAM,8BAAU,OAAO,iBAAiB;AAAA,EAC1C,EAAE,MAAM,8BAAU,OAAO,0CAA0C;AAAA,EACnE,EAAE,MAAM,6BAAS,OAAO,kBAAkB;AAAA,EAC1C,EAAE,MAAM,yBAAK,OAAO,mBAAmB;AAAA,EACvC,EAAE,MAAM,2BAAO,OAAO,2BAA2B;AAAA,EACjD,EAAE,MAAM,0BAAM,OAAO,4BAA4B;AACnD;AAEO,SAAS,mBAAmB;AACjC,SACE,4CAAC,uCAAc,MAAM,4CAAC,kCAAW,GAAI,OAAM,sBACxC,mBAAS,IAAI,CAAC,EAAE,MAAM,MAAM,MAAM,GAAG,MAAM;AAC1C,UAAM,MAAM,KAAK,IAAI,KAAK,MAAM;AAChC,WACE;AAAA,MAAC;AAAA;AAAA,QAEC,eAAW;AAAA,UACT;AAAA,UACA,IAAI;AAAA,QACN;AAAA,QAEA;AAAA,sDAAC,UAAK,eAAW,cAAG,yDAAyD,IAAI,IAAI,GACnF,sDAAC,QAAK,eAAW,cAAG,WAAW,IAAI,IAAI,GAAG,GAC5C;AAAA,UACA,4CAAC,QAAG,WAAU,kDAAkD,iBAAM;AAAA;AAAA;AAAA,MATjE;AAAA,IAUP;AAAA,EAEJ,CAAC,GACH;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/discover-features.tsx"],"sourcesContent":["import {\n BadgeCheck,\n Code,\n Database,\n DoorOpen,\n EyeOff,\n FileCog,\n Gem,\n Globe,\n HandCoins,\n Lock,\n Percent,\n ScanEye,\n Scale,\n ShieldCheck,\n type LucideIcon,\n} from \"lucide-react\";\nimport { ScrollSection } from \"./scroll-section.js\";\nimport { cn } from \"../utils/cn.js\";\n\nconst HUES = [\n { text: \"text-brand-blue\", border: \"border-brand-blue/30\", tint: \"bg-brand-blue/10\" },\n { text: \"text-brand-maeve\", border: \"border-brand-maeve/30\", tint: \"bg-brand-maeve/10\" },\n { text: \"text-brand-orange\", border: \"border-brand-orange/30\", tint: \"bg-brand-orange/10\" },\n { text: \"text-brand-purple\", border: \"border-brand-purple/30\", tint: \"bg-brand-purple/10\" },\n { text: \"text-brand-rose\", border: \"border-brand-rose/30\", tint: \"bg-brand-rose/10\" },\n];\n\nconst FEATURES: ReadonlyArray<{ icon: LucideIcon; title: string; description: string }> = [\n { icon: HandCoins, title: \"Creator-first economy\", description: \"99% to creators/owners + 1% fee goes to the Creator Fund Airdrop.\" },\n { icon: Globe, title: \"Censorship resistance\", description: \"Assets and ownership live onchain on decentralized networks.\" },\n { icon: ShieldCheck, title: \"Stark cryptography\", description: \"All transactions are secured onchain by mathematical proofs.\" },\n { icon: EyeOff, title: \"Privacy by design\", description: \"Medialane is designed for user privacy and sovereignty.\" },\n { icon: ScanEye, title: \"Zero knowledge\", description: \"Information can be proven valid without revealing the data behind it.\" },\n { icon: Percent, title: \"Zero-fee protocols\", description: \"The smart contracts charge zero fees for interaction.\" },\n { icon: Lock, title: \"Immutable contracts\", description: \"All smart contracts are fully open source and immutable.\" },\n { icon: DoorOpen, title: \"Permissionless\", description: \"Anyone can create, trade and interact with onchain protocols.\" },\n { icon: Database, title: \"Onchain as the source of truth\", description: \"Assets, ownership, markets and data are read directly onchain.\" },\n { icon: FileCog, title: \"Programmable IP\", description: \"Licensing terms and rights are stored with the assets.\" },\n { icon: Gem, title: \"Decentralized portfolio\", description: \"Assets are stored onchain with licensing and metadata on IPFS.\" },\n { icon: Scale, title: \"Protection compliance\", description: \"Authorship and license are protected under international laws.\" },\n { icon: Code, title: \"Open source and auditable\", description: \"The code is public to audit, review and collaborate on.\" },\n];\n\nexport function DiscoverFeatures() {\n return (\n <ScrollSection icon={<BadgeCheck />} title=\"Medialane features\">\n {FEATURES.map(({ icon: Icon, title, description }, i) => {\n const hue = HUES[i % HUES.length]!;\n return (\n <div\n key={title}\n className={cn(\n \"flex min-h-[168px] w-56 shrink-0 snap-start flex-col gap-4 rounded-2xl border bg-card p-6 sm:w-64\",\n hue.border,\n )}\n >\n <span className={cn(\"flex h-11 w-11 items-center justify-center rounded-xl\", hue.tint)}>\n <Icon className={cn(\"h-6 w-6\", hue.text)} />\n </span>\n <div className=\"flex flex-col gap-1.5\">\n <h3 className=\"text-lg font-black leading-snug tracking-tight\">{title}</h3>\n <p className=\"text-sm leading-relaxed text-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AAO,yBAAyB,aAAa,iEAAiE;AAAA,EAC7H,EAAE,MAAM,0BAAM,OAAO,6BAA6B,aAAa,0DAA0D;AAC3H;AAEO,SAAS,mBAAmB;AACjC,SACE,4CAAC,uCAAc,MAAM,4CAAC,kCAAW,GAAI,OAAM,sBACxC,mBAAS,IAAI,CAAC,EAAE,MAAM,MAAM,OAAO,YAAY,GAAG,MAAM;AACvD,UAAM,MAAM,KAAK,IAAI,KAAK,MAAM;AAChC,WACE;AAAA,MAAC;AAAA;AAAA,QAEC,eAAW;AAAA,UACT;AAAA,UACA,IAAI;AAAA,QACN;AAAA,QAEA;AAAA,sDAAC,UAAK,eAAW,cAAG,yDAAyD,IAAI,IAAI,GACnF,sDAAC,QAAK,eAAW,cAAG,WAAW,IAAI,IAAI,GAAG,GAC5C;AAAA,UACA,6CAAC,SAAI,WAAU,yBACb;AAAA,wDAAC,QAAG,WAAU,kDAAkD,iBAAM;AAAA,YACtE,4CAAC,OAAE,WAAU,iDAAiD,uBAAY;AAAA,aAC5E;AAAA;AAAA;AAAA,MAZK;AAAA,IAaP;AAAA,EAEJ,CAAC,GACH;AAEJ;","names":[]}
@@ -25,22 +25,22 @@ const HUES = [
25
25
  { text: "text-brand-rose", border: "border-brand-rose/30", tint: "bg-brand-rose/10" }
26
26
  ];
27
27
  const FEATURES = [
28
- { icon: HandCoins, title: "99% to creators and owners" },
29
- { icon: Globe, title: "Censorship resistance" },
30
- { icon: ShieldCheck, title: "Stark cryptography" },
31
- { icon: EyeOff, title: "Privacy by design" },
32
- { icon: ScanEye, title: "Zero knowledge proof with Starknet" },
33
- { icon: Percent, title: "Zero fees on protocols" },
34
- { icon: Lock, title: "Immutable smart contracts" },
35
- { icon: DoorOpen, title: "Permissionless" },
36
- { icon: Database, title: "Smart contracts are the source of truth" },
37
- { icon: FileCog, title: "Programmable IP" },
38
- { icon: Gem, title: "Immutable assets" },
39
- { icon: Scale, title: "IP protection compliance" },
40
- { icon: Code, title: "Open source and auditable" }
28
+ { icon: HandCoins, title: "Creator-first economy", description: "99% to creators/owners + 1% fee goes to the Creator Fund Airdrop." },
29
+ { icon: Globe, title: "Censorship resistance", description: "Assets and ownership live onchain on decentralized networks." },
30
+ { icon: ShieldCheck, title: "Stark cryptography", description: "All transactions are secured onchain by mathematical proofs." },
31
+ { icon: EyeOff, title: "Privacy by design", description: "Medialane is designed for user privacy and sovereignty." },
32
+ { icon: ScanEye, title: "Zero knowledge", description: "Information can be proven valid without revealing the data behind it." },
33
+ { icon: Percent, title: "Zero-fee protocols", description: "The smart contracts charge zero fees for interaction." },
34
+ { icon: Lock, title: "Immutable contracts", description: "All smart contracts are fully open source and immutable." },
35
+ { icon: DoorOpen, title: "Permissionless", description: "Anyone can create, trade and interact with onchain protocols." },
36
+ { icon: Database, title: "Onchain as the source of truth", description: "Assets, ownership, markets and data are read directly onchain." },
37
+ { icon: FileCog, title: "Programmable IP", description: "Licensing terms and rights are stored with the assets." },
38
+ { icon: Gem, title: "Decentralized portfolio", description: "Assets are stored onchain with licensing and metadata on IPFS." },
39
+ { icon: Scale, title: "Protection compliance", description: "Authorship and license are protected under international laws." },
40
+ { icon: Code, title: "Open source and auditable", description: "The code is public to audit, review and collaborate on." }
41
41
  ];
42
42
  function DiscoverFeatures() {
43
- return /* @__PURE__ */ jsx(ScrollSection, { icon: /* @__PURE__ */ jsx(BadgeCheck, {}), title: "Medialane features", children: FEATURES.map(({ icon: Icon, title }, i) => {
43
+ return /* @__PURE__ */ jsx(ScrollSection, { icon: /* @__PURE__ */ jsx(BadgeCheck, {}), title: "Medialane features", children: FEATURES.map(({ icon: Icon, title, description }, i) => {
44
44
  const hue = HUES[i % HUES.length];
45
45
  return /* @__PURE__ */ jsxs(
46
46
  "div",
@@ -51,7 +51,10 @@ function DiscoverFeatures() {
51
51
  ),
52
52
  children: [
53
53
  /* @__PURE__ */ jsx("span", { className: cn("flex h-11 w-11 items-center justify-center rounded-xl", hue.tint), children: /* @__PURE__ */ jsx(Icon, { className: cn("h-6 w-6", hue.text) }) }),
54
- /* @__PURE__ */ jsx("h3", { className: "text-lg font-black leading-snug tracking-tight", children: title })
54
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
55
+ /* @__PURE__ */ jsx("h3", { className: "text-lg font-black leading-snug tracking-tight", children: title }),
56
+ /* @__PURE__ */ jsx("p", { className: "text-sm leading-relaxed text-muted-foreground", children: description })
57
+ ] })
55
58
  ]
56
59
  },
57
60
  title
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/discover-features.tsx"],"sourcesContent":["import {\n BadgeCheck,\n Code,\n Database,\n DoorOpen,\n EyeOff,\n FileCog,\n Gem,\n Globe,\n HandCoins,\n Lock,\n Percent,\n ScanEye,\n Scale,\n ShieldCheck,\n type LucideIcon,\n} from \"lucide-react\";\nimport { ScrollSection } from \"./scroll-section.js\";\nimport { cn } from \"../utils/cn.js\";\n\nconst HUES = [\n { text: \"text-brand-blue\", border: \"border-brand-blue/30\", tint: \"bg-brand-blue/10\" },\n { text: \"text-brand-maeve\", border: \"border-brand-maeve/30\", tint: \"bg-brand-maeve/10\" },\n { text: \"text-brand-orange\", border: \"border-brand-orange/30\", tint: \"bg-brand-orange/10\" },\n { text: \"text-brand-purple\", border: \"border-brand-purple/30\", tint: \"bg-brand-purple/10\" },\n { text: \"text-brand-rose\", border: \"border-brand-rose/30\", tint: \"bg-brand-rose/10\" },\n];\n\nconst FEATURES: ReadonlyArray<{ icon: LucideIcon; title: string }> = [\n { icon: HandCoins, title: \"99% to creators and owners\" },\n { icon: Globe, title: \"Censorship resistance\" },\n { icon: ShieldCheck, title: \"Stark cryptography\" },\n { icon: EyeOff, title: \"Privacy by design\" },\n { icon: ScanEye, title: \"Zero knowledge proof with Starknet\" },\n { icon: Percent, title: \"Zero fees on protocols\" },\n { icon: Lock, title: \"Immutable smart contracts\" },\n { icon: DoorOpen, title: \"Permissionless\" },\n { icon: Database, title: \"Smart contracts are the source of truth\" },\n { icon: FileCog, title: \"Programmable IP\" },\n { icon: Gem, title: \"Immutable assets\" },\n { icon: Scale, title: \"IP protection compliance\" },\n { icon: Code, title: \"Open source and auditable\" },\n];\n\nexport function DiscoverFeatures() {\n return (\n <ScrollSection icon={<BadgeCheck />} title=\"Medialane features\">\n {FEATURES.map(({ icon: Icon, title }, i) => {\n const hue = HUES[i % HUES.length]!;\n return (\n <div\n key={title}\n className={cn(\n \"flex min-h-[168px] w-56 shrink-0 snap-start flex-col gap-4 rounded-2xl border bg-card p-6 sm:w-64\",\n hue.border,\n )}\n >\n <span className={cn(\"flex h-11 w-11 items-center justify-center rounded-xl\", hue.tint)}>\n <Icon className={cn(\"h-6 w-6\", hue.text)} />\n </span>\n <h3 className=\"text-lg font-black leading-snug tracking-tight\">{title}</h3>\n </div>\n );\n })}\n </ScrollSection>\n );\n}\n"],"mappings":"AA8CyB,cAIf,YAJe;AA9CzB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,qBAAqB;AAC9B,SAAS,UAAU;AAEnB,MAAM,OAAO;AAAA,EACX,EAAE,MAAM,mBAAmB,QAAQ,wBAAwB,MAAM,mBAAmB;AAAA,EACpF,EAAE,MAAM,oBAAoB,QAAQ,yBAAyB,MAAM,oBAAoB;AAAA,EACvF,EAAE,MAAM,qBAAqB,QAAQ,0BAA0B,MAAM,qBAAqB;AAAA,EAC1F,EAAE,MAAM,qBAAqB,QAAQ,0BAA0B,MAAM,qBAAqB;AAAA,EAC1F,EAAE,MAAM,mBAAmB,QAAQ,wBAAwB,MAAM,mBAAmB;AACtF;AAEA,MAAM,WAA+D;AAAA,EACnE,EAAE,MAAM,WAAW,OAAO,6BAA6B;AAAA,EACvD,EAAE,MAAM,OAAO,OAAO,wBAAwB;AAAA,EAC9C,EAAE,MAAM,aAAa,OAAO,qBAAqB;AAAA,EACjD,EAAE,MAAM,QAAQ,OAAO,oBAAoB;AAAA,EAC3C,EAAE,MAAM,SAAS,OAAO,qCAAqC;AAAA,EAC7D,EAAE,MAAM,SAAS,OAAO,yBAAyB;AAAA,EACjD,EAAE,MAAM,MAAM,OAAO,4BAA4B;AAAA,EACjD,EAAE,MAAM,UAAU,OAAO,iBAAiB;AAAA,EAC1C,EAAE,MAAM,UAAU,OAAO,0CAA0C;AAAA,EACnE,EAAE,MAAM,SAAS,OAAO,kBAAkB;AAAA,EAC1C,EAAE,MAAM,KAAK,OAAO,mBAAmB;AAAA,EACvC,EAAE,MAAM,OAAO,OAAO,2BAA2B;AAAA,EACjD,EAAE,MAAM,MAAM,OAAO,4BAA4B;AACnD;AAEO,SAAS,mBAAmB;AACjC,SACE,oBAAC,iBAAc,MAAM,oBAAC,cAAW,GAAI,OAAM,sBACxC,mBAAS,IAAI,CAAC,EAAE,MAAM,MAAM,MAAM,GAAG,MAAM;AAC1C,UAAM,MAAM,KAAK,IAAI,KAAK,MAAM;AAChC,WACE;AAAA,MAAC;AAAA;AAAA,QAEC,WAAW;AAAA,UACT;AAAA,UACA,IAAI;AAAA,QACN;AAAA,QAEA;AAAA,8BAAC,UAAK,WAAW,GAAG,yDAAyD,IAAI,IAAI,GACnF,8BAAC,QAAK,WAAW,GAAG,WAAW,IAAI,IAAI,GAAG,GAC5C;AAAA,UACA,oBAAC,QAAG,WAAU,kDAAkD,iBAAM;AAAA;AAAA;AAAA,MATjE;AAAA,IAUP;AAAA,EAEJ,CAAC,GACH;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/discover-features.tsx"],"sourcesContent":["import {\n BadgeCheck,\n Code,\n Database,\n DoorOpen,\n EyeOff,\n FileCog,\n Gem,\n Globe,\n HandCoins,\n Lock,\n Percent,\n ScanEye,\n Scale,\n ShieldCheck,\n type LucideIcon,\n} from \"lucide-react\";\nimport { ScrollSection } from \"./scroll-section.js\";\nimport { cn } from \"../utils/cn.js\";\n\nconst HUES = [\n { text: \"text-brand-blue\", border: \"border-brand-blue/30\", tint: \"bg-brand-blue/10\" },\n { text: \"text-brand-maeve\", border: \"border-brand-maeve/30\", tint: \"bg-brand-maeve/10\" },\n { text: \"text-brand-orange\", border: \"border-brand-orange/30\", tint: \"bg-brand-orange/10\" },\n { text: \"text-brand-purple\", border: \"border-brand-purple/30\", tint: \"bg-brand-purple/10\" },\n { text: \"text-brand-rose\", border: \"border-brand-rose/30\", tint: \"bg-brand-rose/10\" },\n];\n\nconst FEATURES: ReadonlyArray<{ icon: LucideIcon; title: string; description: string }> = [\n { icon: HandCoins, title: \"Creator-first economy\", description: \"99% to creators/owners + 1% fee goes to the Creator Fund Airdrop.\" },\n { icon: Globe, title: \"Censorship resistance\", description: \"Assets and ownership live onchain on decentralized networks.\" },\n { icon: ShieldCheck, title: \"Stark cryptography\", description: \"All transactions are secured onchain by mathematical proofs.\" },\n { icon: EyeOff, title: \"Privacy by design\", description: \"Medialane is designed for user privacy and sovereignty.\" },\n { icon: ScanEye, title: \"Zero knowledge\", description: \"Information can be proven valid without revealing the data behind it.\" },\n { icon: Percent, title: \"Zero-fee protocols\", description: \"The smart contracts charge zero fees for interaction.\" },\n { icon: Lock, title: \"Immutable contracts\", description: \"All smart contracts are fully open source and immutable.\" },\n { icon: DoorOpen, title: \"Permissionless\", description: \"Anyone can create, trade and interact with onchain protocols.\" },\n { icon: Database, title: \"Onchain as the source of truth\", description: \"Assets, ownership, markets and data are read directly onchain.\" },\n { icon: FileCog, title: \"Programmable IP\", description: \"Licensing terms and rights are stored with the assets.\" },\n { icon: Gem, title: \"Decentralized portfolio\", description: \"Assets are stored onchain with licensing and metadata on IPFS.\" },\n { icon: Scale, title: \"Protection compliance\", description: \"Authorship and license are protected under international laws.\" },\n { icon: Code, title: \"Open source and auditable\", description: \"The code is public to audit, review and collaborate on.\" },\n];\n\nexport function DiscoverFeatures() {\n return (\n <ScrollSection icon={<BadgeCheck />} title=\"Medialane features\">\n {FEATURES.map(({ icon: Icon, title, description }, i) => {\n const hue = HUES[i % HUES.length]!;\n return (\n <div\n key={title}\n className={cn(\n \"flex min-h-[168px] w-56 shrink-0 snap-start flex-col gap-4 rounded-2xl border bg-card p-6 sm:w-64\",\n hue.border,\n )}\n >\n <span className={cn(\"flex h-11 w-11 items-center justify-center rounded-xl\", hue.tint)}>\n <Icon className={cn(\"h-6 w-6\", hue.text)} />\n </span>\n <div className=\"flex flex-col gap-1.5\">\n <h3 className=\"text-lg font-black leading-snug tracking-tight\">{title}</h3>\n <p className=\"text-sm leading-relaxed text-muted-foreground\">{description}</p>\n </div>\n </div>\n );\n })}\n </ScrollSection>\n );\n}\n"],"mappings":"AA8CyB,cAcb,YAda;AA9CzB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,qBAAqB;AAC9B,SAAS,UAAU;AAEnB,MAAM,OAAO;AAAA,EACX,EAAE,MAAM,mBAAmB,QAAQ,wBAAwB,MAAM,mBAAmB;AAAA,EACpF,EAAE,MAAM,oBAAoB,QAAQ,yBAAyB,MAAM,oBAAoB;AAAA,EACvF,EAAE,MAAM,qBAAqB,QAAQ,0BAA0B,MAAM,qBAAqB;AAAA,EAC1F,EAAE,MAAM,qBAAqB,QAAQ,0BAA0B,MAAM,qBAAqB;AAAA,EAC1F,EAAE,MAAM,mBAAmB,QAAQ,wBAAwB,MAAM,mBAAmB;AACtF;AAEA,MAAM,WAAoF;AAAA,EACxF,EAAE,MAAM,WAAW,OAAO,yBAAyB,aAAa,oEAAoE;AAAA,EACpI,EAAE,MAAM,OAAO,OAAO,yBAAyB,aAAa,+DAA+D;AAAA,EAC3H,EAAE,MAAM,aAAa,OAAO,sBAAsB,aAAa,+DAA+D;AAAA,EAC9H,EAAE,MAAM,QAAQ,OAAO,qBAA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",
3
- "version": "0.351.0",
3
+ "version": "0.352.0",
4
4
  "description": "Shared UI components for Medialane apps",
5
5
  "type": "module",
6
6
  "sideEffects": false,