@ugurdemirel/landcraft 0.1.16 → 0.1.18

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 (67) hide show
  1. package/README.md +2 -3
  2. package/dist/cjs/components/Badge.cjs +1 -1
  3. package/dist/cjs/components/Badge.cjs.map +1 -1
  4. package/dist/cjs/components/Button.cjs +1 -1
  5. package/dist/cjs/components/Button.cjs.map +1 -1
  6. package/dist/cjs/components/CTA/variants/Inverse.cjs +1 -2
  7. package/dist/cjs/components/CTA/variants/Inverse.cjs.map +1 -1
  8. package/dist/cjs/components/CTA/variants/Panel.cjs +1 -2
  9. package/dist/cjs/components/CTA/variants/Panel.cjs.map +1 -1
  10. package/dist/cjs/components/Features/FeatureCard.cjs +1 -1
  11. package/dist/cjs/components/Features/FeatureCard.cjs.map +1 -1
  12. package/dist/cjs/components/Hero/variants/Statement.cjs +1 -2
  13. package/dist/cjs/components/Hero/variants/Statement.cjs.map +1 -1
  14. package/dist/cjs/components/MegaMenu/MegaMenu.cjs +1 -1
  15. package/dist/cjs/components/MegaMenu/MegaMenu.cjs.map +1 -1
  16. package/dist/cjs/components/Navbar/Navbar.cjs +1 -1
  17. package/dist/cjs/components/Navbar/Navbar.cjs.map +1 -1
  18. package/dist/cjs/components/Pricing/parts.cjs +1 -2
  19. package/dist/cjs/components/Pricing/parts.cjs.map +1 -1
  20. package/dist/cjs/components/Pricing/variants/Bento.cjs +1 -1
  21. package/dist/cjs/components/Pricing/variants/Bento.cjs.map +1 -1
  22. package/dist/cjs/components/Pricing/variants/Cards.cjs +1 -1
  23. package/dist/cjs/components/Pricing/variants/Cards.cjs.map +1 -1
  24. package/dist/cjs/components/Testimonials/TestimonialCard.cjs +1 -1
  25. package/dist/cjs/components/Testimonials/TestimonialCard.cjs.map +1 -1
  26. package/dist/cjs/components/Testimonials/variants/Carousel.cjs +1 -1
  27. package/dist/cjs/components/Testimonials/variants/Carousel.cjs.map +1 -1
  28. package/dist/cjs/index.cjs +1 -1
  29. package/dist/es/components/Badge.js +21 -17
  30. package/dist/es/components/Badge.js.map +1 -1
  31. package/dist/es/components/Button.js +29 -29
  32. package/dist/es/components/Button.js.map +1 -1
  33. package/dist/es/components/CTA/variants/Inverse.js +37 -42
  34. package/dist/es/components/CTA/variants/Inverse.js.map +1 -1
  35. package/dist/es/components/CTA/variants/Panel.js +51 -56
  36. package/dist/es/components/CTA/variants/Panel.js.map +1 -1
  37. package/dist/es/components/Features/FeatureCard.js +13 -14
  38. package/dist/es/components/Features/FeatureCard.js.map +1 -1
  39. package/dist/es/components/Hero/variants/Statement.js +37 -42
  40. package/dist/es/components/Hero/variants/Statement.js.map +1 -1
  41. package/dist/es/components/MegaMenu/MegaMenu.js +93 -88
  42. package/dist/es/components/MegaMenu/MegaMenu.js.map +1 -1
  43. package/dist/es/components/Navbar/Navbar.js +30 -26
  44. package/dist/es/components/Navbar/Navbar.js.map +1 -1
  45. package/dist/es/components/Pricing/parts.js +33 -34
  46. package/dist/es/components/Pricing/parts.js.map +1 -1
  47. package/dist/es/components/Pricing/variants/Bento.js +16 -17
  48. package/dist/es/components/Pricing/variants/Bento.js.map +1 -1
  49. package/dist/es/components/Pricing/variants/Cards.js +10 -11
  50. package/dist/es/components/Pricing/variants/Cards.js.map +1 -1
  51. package/dist/es/components/Testimonials/TestimonialCard.js +10 -11
  52. package/dist/es/components/Testimonials/TestimonialCard.js.map +1 -1
  53. package/dist/es/components/Testimonials/variants/Carousel.js +10 -11
  54. package/dist/es/components/Testimonials/variants/Carousel.js.map +1 -1
  55. package/dist/es/index.js +89 -93
  56. package/dist/es/index.js.map +1 -1
  57. package/dist/index.d.ts +8 -33
  58. package/dist/styles.css +0 -3
  59. package/package.json +1 -1
  60. package/dist/cjs/utils/contrast.cjs +0 -2
  61. package/dist/cjs/utils/contrast.cjs.map +0 -1
  62. package/dist/cjs/utils/useTokenForeground.cjs +0 -3
  63. package/dist/cjs/utils/useTokenForeground.cjs.map +0 -1
  64. package/dist/es/utils/contrast.js +0 -48
  65. package/dist/es/utils/contrast.js.map +0 -1
  66. package/dist/es/utils/useTokenForeground.js +0 -28
  67. package/dist/es/utils/useTokenForeground.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Inverse.js","sources":["../../../../../src/components/CTA/variants/Inverse.tsx"],"sourcesContent":["\"use client\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../../../utils/cn\";\nimport { Container } from \"../../Container\";\nimport { useTokenForeground } from \"../../../utils/useTokenForeground\";\nimport { CTAActions } from \"../parts\";\nimport type { CTAProps } from \"../types\";\n\n/** inverse — ink panel with a wide left-aligned split. */\nexport const CTAInverse = forwardRef<HTMLElement, CTAProps>(\n ({ className, title, description, action, secondaryAction, align = \"left\", id, ...props }, ref) => {\n const fg = useTokenForeground(\"--color-secondary\");\n\n return (\n <section ref={ref} id={id} className={cn(\"w-full py-6 pb-20\", className)} {...props}>\n <Container>\n <div\n className=\"relative overflow-hidden rounded-[1.75rem] px-7 py-16 sm:px-16 sm:py-20\"\n style={{\n backgroundColor: \"rgb(var(--color-secondary))\",\n color: fg,\n }}\n >\n <div aria-hidden className=\"pointer-events-none absolute inset-0 grain opacity-[0.09] mix-blend-overlay\" />\n <div\n className={cn(\n \"relative flex flex-col items-start gap-10\",\n align === \"center\" && \"items-center text-center\",\n \"lg:flex-row lg:items-end lg:justify-between\",\n )}\n >\n <div className={cn(\"max-w-3xl\", align === \"center\" && \"mx-auto\")}>\n <h2 className=\"font-display text-balance text-4xl font-semibold leading-[1.02] tracking-[-0.03em] sm:text-6xl\">\n {title}\n </h2>\n {description ? (\n <p className={cn(\"mt-5 max-w-xl text-pretty text-base leading-7 sm:text-lg\", align === \"center\" && \"mx-auto\")}>\n {description}\n </p>\n ) : null}\n </div>\n <CTAActions action={action} secondaryAction={secondaryAction} align={align} />\n </div>\n </div>\n </Container>\n </section>\n );\n },\n);\nCTAInverse.displayName = \"CTAInverse\";"],"names":["CTAInverse","forwardRef","className","title","description","action","secondaryAction","align","id","props","ref","fg","useTokenForeground","jsx","cn","Container","jsxs","CTAActions"],"mappings":";;;;;;AASO,MAAMA,IAAaC;AAAA,EACxB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,QAAAC,GAAQ,iBAAAC,GAAiB,OAAAC,IAAQ,QAAQ,IAAAC,GAAI,GAAGC,EAAA,GAASC,MAAQ;AACjG,UAAMC,IAAKC,EAAmB,mBAAmB;AAEjD,WACE,gBAAAC,EAAC,WAAA,EAAQ,KAAAH,GAAU,IAAAF,GAAQ,WAAWM,EAAG,qBAAqBZ,CAAS,GAAI,GAAGO,GAC5E,UAAA,gBAAAI,EAACE,GAAA,EACC,UAAA,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,OAAO;AAAA,UACL,iBAAiB;AAAA,UACjB,OAAOL;AAAA,QAAA;AAAA,QAGT,UAAA;AAAA,UAAA,gBAAAE,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,+EAA8E;AAAA,UACzG,gBAAAG;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAWF;AAAA,gBACT;AAAA,gBACAP,MAAU,YAAY;AAAA,gBACtB;AAAA,cAAA;AAAA,cAGF,UAAA;AAAA,gBAAA,gBAAAS,EAAC,SAAI,WAAWF,EAAG,aAAaP,MAAU,YAAY,SAAS,GAC7D,UAAA;AAAA,kBAAA,gBAAAM,EAAC,MAAA,EAAG,WAAU,kGACX,UAAAV,GACH;AAAA,kBACCC,IACC,gBAAAS,EAAC,KAAA,EAAE,WAAWC,EAAG,4DAA4DP,MAAU,YAAY,SAAS,GACzG,UAAAH,EAAA,CACH,IACE;AAAA,gBAAA,GACN;AAAA,gBACA,gBAAAS,EAACI,GAAA,EAAW,QAAAZ,GAAgB,iBAAAC,GAAkC,OAAAC,EAAA,CAAc;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAC9E;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAEJ;AACF;AACAP,EAAW,cAAc;"}
1
+ {"version":3,"file":"Inverse.js","sources":["../../../../../src/components/CTA/variants/Inverse.tsx"],"sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../../utils/cn\";\nimport { Container } from \"../../Container\";\nimport { CTAActions } from \"../parts\";\nimport type { CTAProps } from \"../types\";\n\n/** inverse — ink panel with a wide left-aligned split. */\nexport const CTAInverse = forwardRef<HTMLElement, CTAProps>(\n ({ className, title, description, action, secondaryAction, align = \"left\", id, ...props }, ref) => {\n return (\n <section ref={ref} id={id} className={cn(\"w-full py-6 pb-20\", className)} {...props}>\n <Container>\n <div\n className=\"relative overflow-hidden rounded-[1.75rem] px-7 py-16 sm:px-16 sm:py-20\"\n style={{\n backgroundColor: \"rgb(var(--color-secondary))\",\n color: \"contrast-color(rgb(var(--color-secondary)))\",\n }}\n >\n <div aria-hidden className=\"pointer-events-none absolute inset-0 grain opacity-[0.09] mix-blend-overlay\" />\n <div\n className={cn(\n \"relative flex flex-col items-start gap-10\",\n align === \"center\" && \"items-center text-center\",\n \"lg:flex-row lg:items-end lg:justify-between\",\n )}\n >\n <div className={cn(\"max-w-3xl\", align === \"center\" && \"mx-auto\")}>\n <h2 className=\"font-display text-balance text-4xl font-semibold leading-[1.02] tracking-[-0.03em] sm:text-6xl\">\n {title}\n </h2>\n {description ? (\n <p className={cn(\"mt-5 max-w-xl text-pretty text-base leading-7 sm:text-lg\", align === \"center\" && \"mx-auto\")}>\n {description}\n </p>\n ) : null}\n </div>\n <CTAActions action={action} secondaryAction={secondaryAction} align={align} />\n </div>\n </div>\n </Container>\n </section>\n );\n },\n);\nCTAInverse.displayName = \"CTAInverse\";"],"names":["CTAInverse","forwardRef","className","title","description","action","secondaryAction","align","id","props","ref","jsx","cn","Container","jsxs","CTAActions"],"mappings":";;;;;AAOO,MAAMA,IAAaC;AAAA,EACxB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,QAAAC,GAAQ,iBAAAC,GAAiB,OAAAC,IAAQ,QAAQ,IAAAC,GAAI,GAAGC,EAAA,GAASC,MAEvF,gBAAAC,EAAC,WAAA,EAAQ,KAAAD,GAAU,IAAAF,GAAQ,WAAWI,EAAG,qBAAqBV,CAAS,GAAI,GAAGO,GAC5E,UAAA,gBAAAE,EAACE,GAAA,EACC,UAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO;AAAA,QACL,iBAAiB;AAAA,QACjB,OAAO;AAAA,MAAA;AAAA,MAGT,UAAA;AAAA,QAAA,gBAAAH,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,+EAA8E;AAAA,QACzG,gBAAAG;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAWF;AAAA,cACT;AAAA,cACAL,MAAU,YAAY;AAAA,cACtB;AAAA,YAAA;AAAA,YAGF,UAAA;AAAA,cAAA,gBAAAO,EAAC,SAAI,WAAWF,EAAG,aAAaL,MAAU,YAAY,SAAS,GAC7D,UAAA;AAAA,gBAAA,gBAAAI,EAAC,MAAA,EAAG,WAAU,kGACX,UAAAR,GACH;AAAA,gBACCC,IACC,gBAAAO,EAAC,KAAA,EAAE,WAAWC,EAAG,4DAA4DL,MAAU,YAAY,SAAS,GACzG,UAAAH,EAAA,CACH,IACE;AAAA,cAAA,GACN;AAAA,cACA,gBAAAO,EAACI,GAAA,EAAW,QAAAV,GAAgB,iBAAAC,GAAkC,OAAAC,EAAA,CAAc;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAC9E;AAAA,IAAA;AAAA,EAAA,GAEJ,EAAA,CACF;AAGN;AACAP,EAAW,cAAc;"}
@@ -1,63 +1,58 @@
1
- "use client";
2
1
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
3
- import { forwardRef as x } from "react";
2
+ import { forwardRef as p } from "react";
4
3
  import { cn as t } from "../../../utils/cn.js";
5
- import { Container as f } from "../../Container.js";
6
- import { useTokenForeground as u } from "../../../utils/useTokenForeground.js";
4
+ import { Container as x } from "../../Container.js";
7
5
  import { CTAActions as v } from "../parts.js";
8
- const y = x(
9
- ({ className: l, title: n, description: o, action: i, secondaryAction: s, align: r = "left", id: m, ...c }, d) => {
10
- const p = u("--color-primary");
11
- return /* @__PURE__ */ e("section", { ref: d, id: m, className: t("w-full py-6 pb-20", l), ...c, children: /* @__PURE__ */ e(f, { children: /* @__PURE__ */ a(
12
- "div",
13
- {
14
- className: "relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20",
15
- style: {
16
- background: "radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))",
17
- color: p
18
- },
19
- children: [
20
- /* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay" }),
21
- /* @__PURE__ */ e(
22
- "div",
23
- {
24
- "aria-hidden": !0,
25
- className: "pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full",
26
- style: { background: "rgb(var(--color-accent))", opacity: 0.35, filter: "blur(60px)" }
27
- }
28
- ),
29
- /* @__PURE__ */ a(
30
- "div",
31
- {
32
- className: t(
33
- "relative flex flex-col gap-9",
34
- r === "center" ? "items-center text-center" : "items-start"
35
- ),
36
- children: [
37
- /* @__PURE__ */ a("div", { className: t("max-w-2xl", r === "center" && "mx-auto"), children: [
38
- /* @__PURE__ */ e("h2", { className: "font-display text-balance text-3xl font-semibold leading-[1.06] tracking-[-0.02em] sm:text-5xl", children: n }),
39
- o ? /* @__PURE__ */ e(
40
- "p",
41
- {
42
- className: t(
43
- "mt-4 text-pretty text-base leading-7 sm:text-lg",
44
- r === "center" && "mx-auto max-w-xl"
45
- ),
46
- children: o
47
- }
48
- ) : null
49
- ] }),
50
- /* @__PURE__ */ e(v, { action: i, secondaryAction: s, align: r })
51
- ]
52
- }
53
- )
54
- ]
55
- }
56
- ) }) });
57
- }
6
+ const f = p(
7
+ ({ className: o, title: i, description: l, action: n, secondaryAction: c, align: r = "left", id: s, ...m }, d) => /* @__PURE__ */ e("section", { ref: d, id: s, className: t("w-full py-6 pb-20", o), ...m, children: /* @__PURE__ */ e(x, { children: /* @__PURE__ */ a(
8
+ "div",
9
+ {
10
+ className: "relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20",
11
+ style: {
12
+ background: "radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))",
13
+ color: "contrast-color(rgb(var(--color-primary)))"
14
+ },
15
+ children: [
16
+ /* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay" }),
17
+ /* @__PURE__ */ e(
18
+ "div",
19
+ {
20
+ "aria-hidden": !0,
21
+ className: "pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full",
22
+ style: { background: "rgb(var(--color-accent))", opacity: 0.35, filter: "blur(60px)" }
23
+ }
24
+ ),
25
+ /* @__PURE__ */ a(
26
+ "div",
27
+ {
28
+ className: t(
29
+ "relative flex flex-col gap-9",
30
+ r === "center" ? "items-center text-center" : "items-start"
31
+ ),
32
+ children: [
33
+ /* @__PURE__ */ a("div", { className: t("max-w-2xl", r === "center" && "mx-auto"), children: [
34
+ /* @__PURE__ */ e("h2", { className: "font-display text-balance text-3xl font-semibold leading-[1.06] tracking-[-0.02em] sm:text-5xl", children: i }),
35
+ l ? /* @__PURE__ */ e(
36
+ "p",
37
+ {
38
+ className: t(
39
+ "mt-4 text-pretty text-base leading-7 sm:text-lg",
40
+ r === "center" && "mx-auto max-w-xl"
41
+ ),
42
+ children: l
43
+ }
44
+ ) : null
45
+ ] }),
46
+ /* @__PURE__ */ e(v, { action: n, secondaryAction: c, align: r })
47
+ ]
48
+ }
49
+ )
50
+ ]
51
+ }
52
+ ) }) })
58
53
  );
59
- y.displayName = "CTAPanel";
54
+ f.displayName = "CTAPanel";
60
55
  export {
61
- y as CTAPanel
56
+ f as CTAPanel
62
57
  };
63
58
  //# sourceMappingURL=Panel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.js","sources":["../../../../../src/components/CTA/variants/Panel.tsx"],"sourcesContent":["\"use client\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../../../utils/cn\";\nimport { Container } from \"../../Container\";\nimport { useTokenForeground } from \"../../../utils/useTokenForeground\";\nimport { CTAActions } from \"../parts\";\nimport type { CTAProps } from \"../types\";\n\n/** panel — brand gradient panel, rounded corners. */\nexport const CTAPanel = forwardRef<HTMLElement, CTAProps>(\n ({ className, title, description, action, secondaryAction, align = \"left\", id, ...props }, ref) => {\n const fg = useTokenForeground(\"--color-primary\");\n\n return (\n <section ref={ref} id={id} className={cn(\"w-full py-6 pb-20\", className)} {...props}>\n <Container>\n <div\n className=\"relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20\"\n style={{\n background:\n \"radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))\",\n color: fg,\n }}\n >\n <div aria-hidden className=\"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay\" />\n <div\n aria-hidden\n className=\"pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full\"\n style={{ background: \"rgb(var(--color-accent))\", opacity: 0.35, filter: \"blur(60px)\" }}\n />\n <div\n className={cn(\n \"relative flex flex-col gap-9\",\n align === \"center\" ? \"items-center text-center\" : \"items-start\",\n )}\n >\n <div className={cn(\"max-w-2xl\", align === \"center\" && \"mx-auto\")}>\n <h2 className=\"font-display text-balance text-3xl font-semibold leading-[1.06] tracking-[-0.02em] sm:text-5xl\">\n {title}\n </h2>\n {description ? (\n <p\n className={cn(\n \"mt-4 text-pretty text-base leading-7 sm:text-lg\",\n align === \"center\" && \"mx-auto max-w-xl\",\n )}\n >\n {description}\n </p>\n ) : null}\n </div>\n <CTAActions action={action} secondaryAction={secondaryAction} align={align} />\n </div>\n </div>\n </Container>\n </section>\n );\n },\n);\nCTAPanel.displayName = \"CTAPanel\";"],"names":["CTAPanel","forwardRef","className","title","description","action","secondaryAction","align","id","props","ref","fg","useTokenForeground","jsx","cn","Container","jsxs","CTAActions"],"mappings":";;;;;;AASO,MAAMA,IAAWC;AAAA,EACtB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,QAAAC,GAAQ,iBAAAC,GAAiB,OAAAC,IAAQ,QAAQ,IAAAC,GAAI,GAAGC,EAAA,GAASC,MAAQ;AACjG,UAAMC,IAAKC,EAAmB,iBAAiB;AAE/C,WACE,gBAAAC,EAAC,WAAA,EAAQ,KAAAH,GAAU,IAAAF,GAAQ,WAAWM,EAAG,qBAAqBZ,CAAS,GAAI,GAAGO,GAC5E,UAAA,gBAAAI,EAACE,GAAA,EACC,UAAA,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,OAAO;AAAA,UACL,YACE;AAAA,UACF,OAAOL;AAAA,QAAA;AAAA,QAGT,UAAA;AAAA,UAAA,gBAAAE,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,+EAA8E;AAAA,UACzG,gBAAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAW;AAAA,cACX,WAAU;AAAA,cACV,OAAO,EAAE,YAAY,4BAA4B,SAAS,MAAM,QAAQ,aAAA;AAAA,YAAa;AAAA,UAAA;AAAA,UAEvF,gBAAAG;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAWF;AAAA,gBACT;AAAA,gBACAP,MAAU,WAAW,6BAA6B;AAAA,cAAA;AAAA,cAGpD,UAAA;AAAA,gBAAA,gBAAAS,EAAC,SAAI,WAAWF,EAAG,aAAaP,MAAU,YAAY,SAAS,GAC7D,UAAA;AAAA,kBAAA,gBAAAM,EAAC,MAAA,EAAG,WAAU,kGACX,UAAAV,GACH;AAAA,kBACCC,IACC,gBAAAS;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,WAAWC;AAAA,wBACT;AAAA,wBACAP,MAAU,YAAY;AAAA,sBAAA;AAAA,sBAGvB,UAAAH;AAAA,oBAAA;AAAA,kBAAA,IAED;AAAA,gBAAA,GACN;AAAA,gBACA,gBAAAS,EAACI,GAAA,EAAW,QAAAZ,GAAgB,iBAAAC,GAAkC,OAAAC,EAAA,CAAc;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAC9E;AAAA,MAAA;AAAA,IAAA,GAEJ,EAAA,CACF;AAAA,EAEJ;AACF;AACAP,EAAS,cAAc;"}
1
+ {"version":3,"file":"Panel.js","sources":["../../../../../src/components/CTA/variants/Panel.tsx"],"sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../../utils/cn\";\nimport { Container } from \"../../Container\";\nimport { CTAActions } from \"../parts\";\nimport type { CTAProps } from \"../types\";\n\n/** panel — brand gradient panel, rounded corners. */\nexport const CTAPanel = forwardRef<HTMLElement, CTAProps>(\n ({ className, title, description, action, secondaryAction, align = \"left\", id, ...props }, ref) => {\n return (\n <section ref={ref} id={id} className={cn(\"w-full py-6 pb-20\", className)} {...props}>\n <Container>\n <div\n className=\"relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20\"\n style={{\n background:\n \"radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))\",\n color: \"contrast-color(rgb(var(--color-primary)))\",\n }}\n >\n <div aria-hidden className=\"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay\" />\n <div\n aria-hidden\n className=\"pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full\"\n style={{ background: \"rgb(var(--color-accent))\", opacity: 0.35, filter: \"blur(60px)\" }}\n />\n <div\n className={cn(\n \"relative flex flex-col gap-9\",\n align === \"center\" ? \"items-center text-center\" : \"items-start\",\n )}\n >\n <div className={cn(\"max-w-2xl\", align === \"center\" && \"mx-auto\")}>\n <h2 className=\"font-display text-balance text-3xl font-semibold leading-[1.06] tracking-[-0.02em] sm:text-5xl\">\n {title}\n </h2>\n {description ? (\n <p\n className={cn(\n \"mt-4 text-pretty text-base leading-7 sm:text-lg\",\n align === \"center\" && \"mx-auto max-w-xl\",\n )}\n >\n {description}\n </p>\n ) : null}\n </div>\n <CTAActions action={action} secondaryAction={secondaryAction} align={align} />\n </div>\n </div>\n </Container>\n </section>\n );\n },\n);\nCTAPanel.displayName = \"CTAPanel\";"],"names":["CTAPanel","forwardRef","className","title","description","action","secondaryAction","align","id","props","ref","jsx","cn","Container","jsxs","CTAActions"],"mappings":";;;;;AAOO,MAAMA,IAAWC;AAAA,EACtB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,QAAAC,GAAQ,iBAAAC,GAAiB,OAAAC,IAAQ,QAAQ,IAAAC,GAAI,GAAGC,EAAA,GAASC,MAEvF,gBAAAC,EAAC,WAAA,EAAQ,KAAAD,GAAU,IAAAF,GAAQ,WAAWI,EAAG,qBAAqBV,CAAS,GAAI,GAAGO,GAC5E,UAAA,gBAAAE,EAACE,GAAA,EACC,UAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO;AAAA,QACL,YACE;AAAA,QACF,OAAO;AAAA,MAAA;AAAA,MAGT,UAAA;AAAA,QAAA,gBAAAH,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,+EAA8E;AAAA,QACzG,gBAAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,eAAW;AAAA,YACX,WAAU;AAAA,YACV,OAAO,EAAE,YAAY,4BAA4B,SAAS,MAAM,QAAQ,aAAA;AAAA,UAAa;AAAA,QAAA;AAAA,QAEvF,gBAAAG;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAWF;AAAA,cACT;AAAA,cACAL,MAAU,WAAW,6BAA6B;AAAA,YAAA;AAAA,YAGpD,UAAA;AAAA,cAAA,gBAAAO,EAAC,SAAI,WAAWF,EAAG,aAAaL,MAAU,YAAY,SAAS,GAC7D,UAAA;AAAA,gBAAA,gBAAAI,EAAC,MAAA,EAAG,WAAU,kGACX,UAAAR,GACH;AAAA,gBACCC,IACC,gBAAAO;AAAA,kBAAC;AAAA,kBAAA;AAAA,oBACC,WAAWC;AAAA,sBACT;AAAA,sBACAL,MAAU,YAAY;AAAA,oBAAA;AAAA,oBAGvB,UAAAH;AAAA,kBAAA;AAAA,gBAAA,IAED;AAAA,cAAA,GACN;AAAA,cACA,gBAAAO,EAACI,GAAA,EAAW,QAAAV,GAAgB,iBAAAC,GAAkC,OAAAC,EAAA,CAAc;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAC9E;AAAA,IAAA;AAAA,EAAA,GAEJ,EAAA,CACF;AAGN;AACAP,EAAS,cAAc;"}
@@ -1,19 +1,18 @@
1
- import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as x } from "react";
1
+ import { jsxs as x, jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
3
  import { cn as e } from "../../utils/cn.js";
4
- import { getContrastText as u } from "../../utils/contrast.js";
5
- const p = x(
6
- ({ className: f, icon: o, title: i, description: l, accent: r, large: d = !1, ...s }, a) => {
7
- const n = r ? { backgroundColor: r, color: u(r, "#111111", "#ffffff") } : void 0;
8
- return /* @__PURE__ */ m(
4
+ const u = f(
5
+ ({ className: s, icon: o, title: a, description: l, accent: r, large: d = !1, ...i }, n) => {
6
+ const m = r ? { backgroundColor: r, color: `contrast-color(${r})` } : void 0;
7
+ return /* @__PURE__ */ x(
9
8
  "div",
10
9
  {
11
- ref: a,
10
+ ref: n,
12
11
  className: e(
13
12
  "group relative flex h-full flex-col rounded-xl border border-border bg-surface p-7 transition-colors duration-200 hover:border-foreground/15",
14
- f
13
+ s
15
14
  ),
16
- ...s,
15
+ ...i,
17
16
  children: [
18
17
  o ? /* @__PURE__ */ t(
19
18
  "div",
@@ -22,19 +21,19 @@ const p = x(
22
21
  "mb-5 inline-flex h-10 w-10 items-center justify-center rounded-lg text-[1.05rem]",
23
22
  !r && "bg-primary-soft text-primary"
24
23
  ),
25
- style: n,
24
+ style: m,
26
25
  children: o
27
26
  }
28
27
  ) : null,
29
- /* @__PURE__ */ t("h3", { className: e("font-display font-semibold tracking-tight text-foreground", d ? "text-2xl" : "text-lg"), children: i }),
28
+ /* @__PURE__ */ t("h3", { className: e("font-display font-semibold tracking-tight text-foreground", d ? "text-2xl" : "text-lg"), children: a }),
30
29
  l ? /* @__PURE__ */ t("p", { className: e("mt-2.5 text-pretty leading-relaxed text-muted-foreground", d ? "text-[15px]" : "text-sm"), children: l }) : null
31
30
  ]
32
31
  }
33
32
  );
34
33
  }
35
34
  );
36
- p.displayName = "FeatureCard";
35
+ u.displayName = "FeatureCard";
37
36
  export {
38
- p as FeatureCard
37
+ u as FeatureCard
39
38
  };
40
39
  //# sourceMappingURL=FeatureCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureCard.js","sources":["../../../../src/components/Features/FeatureCard.tsx"],"sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport { getContrastText } from \"../../utils/contrast\";\nimport type { FeatureCardProps } from \"./types\";\n\nexport const FeatureCard = forwardRef<HTMLDivElement, FeatureCardProps>(\n ({ className, icon, title, description, accent, large = false, ...props }, ref) => {\n const chipStyle = accent\n ? { backgroundColor: accent, color: getContrastText(accent, \"#111111\", \"#ffffff\") }\n : undefined;\n\n return (\n <div\n ref={ref}\n className={cn(\n \"group relative flex h-full flex-col rounded-xl border border-border bg-surface p-7 transition-colors duration-200 hover:border-foreground/15\",\n className,\n )}\n {...props}\n >\n {icon ? (\n <div\n className={cn(\n \"mb-5 inline-flex h-10 w-10 items-center justify-center rounded-lg text-[1.05rem]\",\n !accent && \"bg-primary-soft text-primary\",\n )}\n style={chipStyle}\n >\n {icon}\n </div>\n ) : null}\n <h3 className={cn(\"font-display font-semibold tracking-tight text-foreground\", large ? \"text-2xl\" : \"text-lg\")}>\n {title}\n </h3>\n {description ? (\n <p className={cn(\"mt-2.5 text-pretty leading-relaxed text-muted-foreground\", large ? \"text-[15px]\" : \"text-sm\")}>\n {description}\n </p>\n ) : null}\n </div>\n );\n },\n);\nFeatureCard.displayName = \"FeatureCard\";"],"names":["FeatureCard","forwardRef","className","icon","title","description","accent","large","props","ref","chipStyle","getContrastText","jsxs","cn","jsx"],"mappings":";;;;AAKO,MAAMA,IAAcC;AAAA,EACzB,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,OAAAC,GAAO,aAAAC,GAAa,QAAAC,GAAQ,OAAAC,IAAQ,IAAO,GAAGC,EAAA,GAASC,MAAQ;AACjF,UAAMC,IAAYJ,IACd,EAAE,iBAAiBA,GAAQ,OAAOK,EAAgBL,GAAQ,WAAW,SAAS,EAAA,IAC9E;AAEJ,WACE,gBAAAM;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAH;AAAA,QACA,WAAWI;AAAA,UACT;AAAA,UACAX;AAAA,QAAA;AAAA,QAED,GAAGM;AAAA,QAEH,UAAA;AAAA,UAAAL,IACC,gBAAAW;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAWD;AAAA,gBACT;AAAA,gBACA,CAACP,KAAU;AAAA,cAAA;AAAA,cAEb,OAAOI;AAAA,cAEN,UAAAP;AAAA,YAAA;AAAA,UAAA,IAED;AAAA,UACJ,gBAAAW,EAAC,QAAG,WAAWD,EAAG,6DAA6DN,IAAQ,aAAa,SAAS,GAC1G,UAAAH,EAAA,CACH;AAAA,UACCC,IACC,gBAAAS,EAAC,KAAA,EAAE,WAAWD,EAAG,4DAA4DN,IAAQ,gBAAgB,SAAS,GAC3G,UAAAF,EAAA,CACH,IACE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGV;AACF;AACAL,EAAY,cAAc;"}
1
+ {"version":3,"file":"FeatureCard.js","sources":["../../../../src/components/Features/FeatureCard.tsx"],"sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { FeatureCardProps } from \"./types\";\n\nexport const FeatureCard = forwardRef<HTMLDivElement, FeatureCardProps>(\n ({ className, icon, title, description, accent, large = false, ...props }, ref) => {\n const chipStyle = accent\n ? { backgroundColor: accent, color: `contrast-color(${accent})` }\n : undefined;\n\n return (\n <div\n ref={ref}\n className={cn(\n \"group relative flex h-full flex-col rounded-xl border border-border bg-surface p-7 transition-colors duration-200 hover:border-foreground/15\",\n className,\n )}\n {...props}\n >\n {icon ? (\n <div\n className={cn(\n \"mb-5 inline-flex h-10 w-10 items-center justify-center rounded-lg text-[1.05rem]\",\n !accent && \"bg-primary-soft text-primary\",\n )}\n style={chipStyle}\n >\n {icon}\n </div>\n ) : null}\n <h3 className={cn(\"font-display font-semibold tracking-tight text-foreground\", large ? \"text-2xl\" : \"text-lg\")}>\n {title}\n </h3>\n {description ? (\n <p className={cn(\"mt-2.5 text-pretty leading-relaxed text-muted-foreground\", large ? \"text-[15px]\" : \"text-sm\")}>\n {description}\n </p>\n ) : null}\n </div>\n );\n },\n);\nFeatureCard.displayName = \"FeatureCard\";"],"names":["FeatureCard","forwardRef","className","icon","title","description","accent","large","props","ref","chipStyle","jsxs","cn","jsx"],"mappings":";;;AAIO,MAAMA,IAAcC;AAAA,EACzB,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,OAAAC,GAAO,aAAAC,GAAa,QAAAC,GAAQ,OAAAC,IAAQ,IAAO,GAAGC,EAAA,GAASC,MAAQ;AACjF,UAAMC,IAAYJ,IACd,EAAE,iBAAiBA,GAAQ,OAAO,kBAAkBA,CAAM,IAAA,IAC1D;AAEJ,WACE,gBAAAK;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,WAAWG;AAAA,UACT;AAAA,UACAV;AAAA,QAAA;AAAA,QAED,GAAGM;AAAA,QAEH,UAAA;AAAA,UAAAL,IACC,gBAAAU;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAWD;AAAA,gBACT;AAAA,gBACA,CAACN,KAAU;AAAA,cAAA;AAAA,cAEb,OAAOI;AAAA,cAEN,UAAAP;AAAA,YAAA;AAAA,UAAA,IAED;AAAA,UACJ,gBAAAU,EAAC,QAAG,WAAWD,EAAG,6DAA6DL,IAAQ,aAAa,SAAS,GAC1G,UAAAH,EAAA,CACH;AAAA,UACCC,IACC,gBAAAQ,EAAC,KAAA,EAAE,WAAWD,EAAG,4DAA4DL,IAAQ,gBAAgB,SAAS,GAC3G,UAAAF,EAAA,CACH,IACE;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGV;AACF;AACAL,EAAY,cAAc;"}
@@ -1,46 +1,41 @@
1
- "use client";
2
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
3
- import { forwardRef as f } from "react";
4
- import { cn as i } from "../../../utils/cn.js";
5
- import { useTokenForeground as u } from "../../../utils/useTokenForeground.js";
6
- import { HeroActions as h, heroContainer as y } from "../parts.js";
7
- const g = f(
8
- ({ className: m, title: c, description: r, primaryAction: n, secondaryAction: o, media: b, meta: s, id: d, ...x }, p) => {
9
- const t = u("--color-secondary");
10
- return /* @__PURE__ */ a(
11
- "section",
12
- {
13
- ref: p,
14
- id: d,
15
- className: i("relative w-full overflow-hidden bg-secondary", m),
16
- style: { color: t },
17
- ...x,
18
- children: [
19
- /* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay" }),
20
- /* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-x-0 top-0 h-px bg-white/10" }),
21
- /* @__PURE__ */ a("div", { className: i(y, "pt-28 pb-24 text-center sm:pt-36 sm:pb-32"), children: [
22
- /* @__PURE__ */ e(
23
- "h1",
24
- {
25
- className: "max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl",
26
- style: { color: t },
27
- children: c
28
- }
29
- ),
30
- r ? /* @__PURE__ */ e("p", { className: "mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg", style: { color: t, opacity: 0.72 }, children: r }) : null,
31
- n || o ? /* @__PURE__ */ e("div", { className: "mt-11 justify-center", children: /* @__PURE__ */ e(h, { primaryAction: n, secondaryAction: o }) }) : null,
32
- s ? /* @__PURE__ */ e("ul", { className: "mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3", children: s.map((l) => /* @__PURE__ */ a("li", { className: "flex items-center gap-2 text-sm font-medium", style: { color: t, opacity: 0.72 }, children: [
33
- l.icon ? /* @__PURE__ */ e("span", { children: l.icon }) : null,
34
- l.label
35
- ] }, l.label)) }) : null
36
- ] })
37
- ]
38
- }
39
- );
40
- }
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as p } from "react";
3
+ import { cn as s } from "../../../utils/cn.js";
4
+ import { HeroActions as y, heroContainer as f } from "../parts.js";
5
+ const b = p(
6
+ ({ className: c, title: i, description: r, primaryAction: o, secondaryAction: a, media: g, meta: n, id: m, ...d }, x) => /* @__PURE__ */ l(
7
+ "section",
8
+ {
9
+ ref: x,
10
+ id: m,
11
+ className: s("relative w-full overflow-hidden bg-secondary", c),
12
+ style: { color: "contrast-color(rgb(var(--color-secondary)))" },
13
+ ...d,
14
+ children: [
15
+ /* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay" }),
16
+ /* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-x-0 top-0 h-px bg-white/10" }),
17
+ /* @__PURE__ */ l("div", { className: s(f, "pt-28 pb-24 text-center sm:pt-36 sm:pb-32"), children: [
18
+ /* @__PURE__ */ e(
19
+ "h1",
20
+ {
21
+ className: "max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl",
22
+ style: { color: "contrast-color(rgb(var(--color-secondary)))" },
23
+ children: i
24
+ }
25
+ ),
26
+ r ? /* @__PURE__ */ e("p", { className: "mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg", style: { color: "contrast-color(rgb(var(--color-secondary)))", opacity: 0.72 }, children: r }) : null,
27
+ o || a ? /* @__PURE__ */ e("div", { className: "mt-11 justify-center", children: /* @__PURE__ */ e(y, { primaryAction: o, secondaryAction: a }) }) : null,
28
+ n ? /* @__PURE__ */ e("ul", { className: "mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3", children: n.map((t) => /* @__PURE__ */ l("li", { className: "flex items-center gap-2 text-sm font-medium", style: { color: "contrast-color(rgb(var(--color-secondary)))", opacity: 0.72 }, children: [
29
+ t.icon ? /* @__PURE__ */ e("span", { children: t.icon }) : null,
30
+ t.label
31
+ ] }, t.label)) }) : null
32
+ ] })
33
+ ]
34
+ }
35
+ )
41
36
  );
42
- g.displayName = "HeroStatement";
37
+ b.displayName = "HeroStatement";
43
38
  export {
44
- g as HeroStatement
39
+ b as HeroStatement
45
40
  };
46
41
  //# sourceMappingURL=Statement.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Statement.js","sources":["../../../../../src/components/Hero/variants/Statement.tsx"],"sourcesContent":["\"use client\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../../../utils/cn\";\nimport { useTokenForeground } from \"../../../utils/useTokenForeground\";\nimport { HeroActions, heroContainer } from \"../parts\";\nimport type { HeroProps } from \"../types\";\n\n/** Statement — full-bleed ink band. No eyebrow, pure message. */\nexport const HeroStatement = forwardRef<HTMLElement, HeroProps>(\n (\n { className, title, description, primaryAction, secondaryAction, media, meta, id, ...props },\n ref,\n ) => {\n // Statement paints its own background from --color-secondary, so the\n // readable text color must be derived from THAT token, not the brand.\n const fg = useTokenForeground(\"--color-secondary\");\n\n return (\n <section\n ref={ref}\n id={id}\n className={cn(\"relative w-full overflow-hidden bg-secondary\", className)}\n style={{ color: fg }}\n {...props}\n >\n <div aria-hidden className=\"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay\" />\n <div aria-hidden className=\"pointer-events-none absolute inset-x-0 top-0 h-px bg-white/10\" />\n <div className={cn(heroContainer, \"pt-28 pb-24 text-center sm:pt-36 sm:pb-32\")}>\n <h1\n className=\"max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl\"\n style={{ color: fg }}\n >\n {title}\n </h1>\n {description ? (\n <p className=\"mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg\" style={{ color: fg, opacity: 0.72 }}>\n {description}\n </p>\n ) : null}\n {primaryAction || secondaryAction ? (\n <div className=\"mt-11 justify-center\">\n <HeroActions primaryAction={primaryAction} secondaryAction={secondaryAction} />\n </div>\n ) : null}\n {meta ? (\n <ul className=\"mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3\">\n {meta.map((m) => (\n <li key={m.label} className=\"flex items-center gap-2 text-sm font-medium\" style={{ color: fg, opacity: 0.72 }}>\n {m.icon ? <span>{m.icon}</span> : null}\n {m.label}\n </li>\n ))}\n </ul>\n ) : null}\n </div>\n </section>\n );\n },\n);\nHeroStatement.displayName = \"HeroStatement\";"],"names":["HeroStatement","forwardRef","className","title","description","primaryAction","secondaryAction","media","meta","id","props","ref","fg","useTokenForeground","jsxs","cn","jsx","heroContainer","HeroActions","m"],"mappings":";;;;;AAQO,MAAMA,IAAgBC;AAAA,EAC3B,CACE,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,eAAAC,GAAe,iBAAAC,GAAiB,OAAAC,GAAO,MAAAC,GAAM,IAAAC,GAAI,GAAGC,EAAA,GACrFC,MACG;AAGH,UAAMC,IAAKC,EAAmB,mBAAmB;AAEjD,WACE,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAH;AAAA,QACA,IAAAF;AAAA,QACA,WAAWM,EAAG,gDAAgDb,CAAS;AAAA,QACvE,OAAO,EAAE,OAAOU,EAAA;AAAA,QACf,GAAGF;AAAA,QAEJ,UAAA;AAAA,UAAA,gBAAAM,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,+EAA8E;AAAA,UACzG,gBAAAA,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,iEAAgE;AAAA,4BAC1F,OAAA,EAAI,WAAWD,EAAGE,GAAe,2CAA2C,GAC3E,UAAA;AAAA,YAAA,gBAAAD;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAU;AAAA,gBACV,OAAO,EAAE,OAAOJ,EAAA;AAAA,gBAEf,UAAAT;AAAA,cAAA;AAAA,YAAA;AAAA,YAEFC,IACC,gBAAAY,EAAC,KAAA,EAAE,WAAU,gEAA+D,OAAO,EAAE,OAAOJ,GAAI,SAAS,KAAA,GACtG,aACH,IACE;AAAA,YACHP,KAAiBC,IAChB,gBAAAU,EAAC,OAAA,EAAI,WAAU,wBACb,UAAA,gBAAAA,EAACE,GAAA,EAAY,eAAAb,GAA8B,iBAAAC,EAAA,CAAkC,EAAA,CAC/E,IACE;AAAA,YACHE,IACC,gBAAAQ,EAAC,MAAA,EAAG,WAAU,qEACX,UAAAR,EAAK,IAAI,CAACW,wBACR,MAAA,EAAiB,WAAU,+CAA8C,OAAO,EAAE,OAAOP,GAAI,SAAS,QACpG,UAAA;AAAA,cAAAO,EAAE,OAAO,gBAAAH,EAAC,QAAA,EAAM,UAAAG,EAAE,MAAK,IAAU;AAAA,cACjCA,EAAE;AAAA,YAAA,EAAA,GAFIA,EAAE,KAGX,CACD,EAAA,CACH,IACE;AAAA,UAAA,EAAA,CACN;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AACAnB,EAAc,cAAc;"}
1
+ {"version":3,"file":"Statement.js","sources":["../../../../../src/components/Hero/variants/Statement.tsx"],"sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../../utils/cn\";\nimport { HeroActions, heroContainer } from \"../parts\";\nimport type { HeroProps } from \"../types\";\n\n/** Statement — full-bleed ink band. No eyebrow, pure message. */\nexport const HeroStatement = forwardRef<HTMLElement, HeroProps>(\n (\n { className, title, description, primaryAction, secondaryAction, media, meta, id, ...props },\n ref,\n ) => {\n // Statement paints its own background from --color-secondary, so the\n // readable text color is derived from THAT token via contrast-color().\n return (\n <section\n ref={ref}\n id={id}\n className={cn(\"relative w-full overflow-hidden bg-secondary\", className)}\n style={{ color: \"contrast-color(rgb(var(--color-secondary)))\" }}\n {...props}\n >\n <div aria-hidden className=\"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay\" />\n <div aria-hidden className=\"pointer-events-none absolute inset-x-0 top-0 h-px bg-white/10\" />\n <div className={cn(heroContainer, \"pt-28 pb-24 text-center sm:pt-36 sm:pb-32\")}>\n <h1\n className=\"max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl\"\n style={{ color: \"contrast-color(rgb(var(--color-secondary)))\" }}\n >\n {title}\n </h1>\n {description ? (\n <p className=\"mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg\" style={{ color: \"contrast-color(rgb(var(--color-secondary)))\", opacity: 0.72 }}>\n {description}\n </p>\n ) : null}\n {primaryAction || secondaryAction ? (\n <div className=\"mt-11 justify-center\">\n <HeroActions primaryAction={primaryAction} secondaryAction={secondaryAction} />\n </div>\n ) : null}\n {meta ? (\n <ul className=\"mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3\">\n {meta.map((m) => (\n <li key={m.label} className=\"flex items-center gap-2 text-sm font-medium\" style={{ color: \"contrast-color(rgb(var(--color-secondary)))\", opacity: 0.72 }}>\n {m.icon ? <span>{m.icon}</span> : null}\n {m.label}\n </li>\n ))}\n </ul>\n ) : null}\n </div>\n </section>\n );\n },\n);\nHeroStatement.displayName = \"HeroStatement\";"],"names":["HeroStatement","forwardRef","className","title","description","primaryAction","secondaryAction","media","meta","id","props","ref","jsxs","cn","jsx","heroContainer","HeroActions","m"],"mappings":";;;;AAMO,MAAMA,IAAgBC;AAAA,EAC3B,CACE,EAAE,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,eAAAC,GAAe,iBAAAC,GAAiB,OAAAC,GAAO,MAAAC,GAAM,IAAAC,GAAI,GAAGC,EAAA,GACrFC,MAKE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,IAAAF;AAAA,MACA,WAAWI,EAAG,gDAAgDX,CAAS;AAAA,MACvE,OAAO,EAAE,OAAO,8CAAA;AAAA,MACf,GAAGQ;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAI,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,+EAA8E;AAAA,QACzG,gBAAAA,EAAC,OAAA,EAAI,eAAW,IAAC,WAAU,iEAAgE;AAAA,0BAC1F,OAAA,EAAI,WAAWD,EAAGE,GAAe,2CAA2C,GAC3E,UAAA;AAAA,UAAA,gBAAAD;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAU;AAAA,cACV,OAAO,EAAE,OAAO,8CAAA;AAAA,cAEf,UAAAX;AAAA,YAAA;AAAA,UAAA;AAAA,UAEFC,IACC,gBAAAU,EAAC,KAAA,EAAE,WAAU,gEAA+D,OAAO,EAAE,OAAO,+CAA+C,SAAS,KAAA,GACjJ,aACH,IACE;AAAA,UACHT,KAAiBC,IAChB,gBAAAQ,EAAC,OAAA,EAAI,WAAU,wBACb,UAAA,gBAAAA,EAACE,GAAA,EAAY,eAAAX,GAA8B,iBAAAC,EAAA,CAAkC,EAAA,CAC/E,IACE;AAAA,UACHE,IACC,gBAAAM,EAAC,MAAA,EAAG,WAAU,qEACX,UAAAN,EAAK,IAAI,CAACS,wBACR,MAAA,EAAiB,WAAU,+CAA8C,OAAO,EAAE,OAAO,+CAA+C,SAAS,QAC/I,UAAA;AAAA,YAAAA,EAAE,OAAO,gBAAAH,EAAC,QAAA,EAAM,UAAAG,EAAE,MAAK,IAAU;AAAA,YACjCA,EAAE;AAAA,UAAA,EAAA,GAFIA,EAAE,KAGX,CACD,EAAA,CACH,IACE;AAAA,QAAA,EAAA,CACN;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;AACAjB,EAAc,cAAc;"}