@krizaka/ui 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/blocks.css CHANGED
@@ -1088,6 +1088,10 @@ a.kz-fact:focus-visible { outline: 2px solid var(--kz-ring, var(--kz-accent)); o
1088
1088
  /* A split hero: the words on one side, the product live on the other (a demo, a recording, a schema). */
1089
1089
  .kz-tpl-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
1090
1090
  .kz-tpl-split[data-reverse] > :first-child { order: 2; }
1091
+ /* Without a visual: one column, a reading measure, no empty stage. */
1092
+ .kz-tpl-split[data-single] { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
1093
+ /* The showcase: full width of the page frame, between the proofs and the features. */
1094
+ .kz-tpl-showcase { padding-block: clamp(24px, 4vw, 48px) 0; }
1091
1095
  @media (max-width: 900px) { .kz-tpl-split { grid-template-columns: minmax(0, 1fr); } .kz-tpl-split[data-reverse] > :first-child { order: 0; } }
1092
1096
  .kz-tpl-stage {
1093
1097
  position: relative; min-width: 0; overflow: hidden; border-radius: var(--kz-card-radius, 0); border: 1px solid var(--kz-border-default); background: var(--kz-surface-1);
@@ -0,0 +1,13 @@
1
+ // src/page/hero-stage.tsx
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ function HeroStage({ visual, label }) {
4
+ return /* @__PURE__ */ jsxs("figure", { className: "kz-tpl-stage", children: [
5
+ /* @__PURE__ */ jsx("div", { className: "kz-tpl-stage-bar", "aria-hidden": true, children: label && /* @__PURE__ */ jsx("span", { children: label }) }),
6
+ visual
7
+ ] });
8
+ }
9
+
10
+ export {
11
+ HeroStage
12
+ };
13
+ //# sourceMappingURL=chunk-VUD4IEVJ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/page/hero-stage.tsx"],"sourcesContent":["// Server-safe. The window of a split hero (LandingPage, ProductPage): the product alive, framed as a plate with its caption bar.\nimport type * as React from \"react\";\n\n/** The framed `figure` of a hero's visual; its bar (the caption) is decorative. */\nexport function HeroStage({ visual, label }: { visual: React.ReactNode; label?: React.ReactNode }) {\n return (\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {label && <span>{label}</span>}\n </div>\n {visual}\n </figure>\n );\n}\n"],"mappings":";AAMI,SAEc,KAFd;AAFG,SAAS,UAAU,EAAE,QAAQ,MAAM,GAAyD;AACjG,SACE,qBAAC,YAAO,WAAU,gBAChB;AAAA,wBAAC,SAAI,WAAU,oBAAmB,eAAW,MAC1C,mBAAS,oBAAC,UAAM,iBAAM,GACzB;AAAA,IACC;AAAA,KACH;AAEJ;","names":[]}
@@ -26,8 +26,8 @@ type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
26
26
  lead?: React.ReactNode;
27
27
  /** The hero's actions (the main one cut, with shimmer). */
28
28
  actions?: React.ReactNode;
29
- /** The product, alive, beside the words: a recording, a live demo (framed as a window). */
30
- visual: React.ReactNode;
29
+ /** The product, alive, beside the words: a recording, a live demo (framed as a window). Absent: a single-column hero, no empty stage. */
30
+ visual?: React.ReactNode;
31
31
  /** The window's caption (`studio.app — studio`). */
32
32
  visualLabel?: React.ReactNode;
33
33
  /** Figures or facts in a band under the hero: `{ value, label }`. */
@@ -35,6 +35,13 @@ type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
35
35
  value: React.ReactNode;
36
36
  label: React.ReactNode;
37
37
  }[];
38
+ /** Full width, between the proofs and the features: a carousel, a demo, a wide plate. */
39
+ showcase?: React.ReactNode;
40
+ /**
41
+ * The hero's backdrop: `grid` (the dome, the grid and the slow drift) or `quiet` (the still dome only: no grid layer, no drift).
42
+ * @default "grid"
43
+ */
44
+ backdrop?: "grid" | "quiet";
38
45
  /** The features' section: its eyebrow, title and lead. */
39
46
  featuresHeading?: {
40
47
  eyebrow?: React.ReactNode;
@@ -53,7 +60,7 @@ type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
53
60
  };
54
61
  };
55
62
  /** A landing page: split hero with the product alive, proofs, a bento of features, the closing call. */
56
- declare function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, featuresHeading, features, closing, children, ...props }: LandingPageProps): React.JSX.Element;
63
+ declare function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, showcase, backdrop, featuresHeading, features, closing, children, ...props }: LandingPageProps): React.JSX.Element;
57
64
 
58
65
  export { LandingPage };
59
66
  export type { LandingFeature, LandingPageProps };
@@ -1,26 +1,28 @@
1
+ import {
2
+ HeroStage
3
+ } from "./chunk-VUD4IEVJ.js";
4
+
1
5
  // src/landing-page/landing-page.tsx
2
6
  import { CtaPanel } from "@krizaka/ui/cta-panel";
3
7
  import { Page, Section } from "@krizaka/ui/page";
4
8
  import { SectionBackdrop } from "@krizaka/ui/section-backdrop";
5
9
  import { jsx, jsxs } from "react/jsx-runtime";
6
- function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, featuresHeading, features, closing, children, ...props }) {
10
+ function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, showcase, backdrop = "grid", featuresHeading, features, closing, children, ...props }) {
7
11
  return /* @__PURE__ */ jsxs("div", { ...props, children: [
8
- /* @__PURE__ */ jsx(SectionBackdrop, { as: "header", grid: true, className: "kz-hero", children: /* @__PURE__ */ jsx(Page, { className: "kz-tpl-hero-frame", children: /* @__PURE__ */ jsxs("div", { className: "kz-tpl-split", children: [
12
+ /* @__PURE__ */ jsx(SectionBackdrop, { as: "header", grid: backdrop === "grid", animated: backdrop === "grid", className: "kz-hero", children: /* @__PURE__ */ jsx(Page, { className: "kz-tpl-hero-frame", children: /* @__PURE__ */ jsxs("div", { className: "kz-tpl-split", "data-single": visual ? void 0 : "", children: [
9
13
  /* @__PURE__ */ jsxs("div", { className: "kz-hero-text", children: [
10
14
  eyebrow && /* @__PURE__ */ jsx("p", { className: "kz-eyebrow", children: eyebrow }),
11
15
  /* @__PURE__ */ jsx("h1", { className: "kz-hero-title", children: title }),
12
16
  lead && /* @__PURE__ */ jsx("p", { className: "kz-hero-lead", children: lead }),
13
17
  actions && /* @__PURE__ */ jsx("div", { className: "kz-tpl-actions kz-hero-extra", children: actions })
14
18
  ] }),
15
- /* @__PURE__ */ jsxs("figure", { className: "kz-tpl-stage", children: [
16
- /* @__PURE__ */ jsx("div", { className: "kz-tpl-stage-bar", "aria-hidden": true, children: visualLabel && /* @__PURE__ */ jsx("span", { children: visualLabel }) }),
17
- visual
18
- ] })
19
+ visual && /* @__PURE__ */ jsx(HeroStage, { visual, label: visualLabel })
19
20
  ] }) }) }),
20
21
  proofs && proofs.length > 0 && /* @__PURE__ */ jsx(Page, { children: /* @__PURE__ */ jsx("dl", { className: "kz-tpl-band", children: proofs.map((p, i) => /* @__PURE__ */ jsxs("div", { children: [
21
22
  /* @__PURE__ */ jsx("dt", { children: p.value }),
22
23
  /* @__PURE__ */ jsx("dd", { children: p.label })
23
24
  ] }, i)) }) }),
25
+ showcase && /* @__PURE__ */ jsx(Page, { "data-landing-showcase": "", className: "kz-tpl-showcase", children: showcase }),
24
26
  /* @__PURE__ */ jsx(Section, { id: "features", eyebrow: featuresHeading?.eyebrow, title: featuresHeading?.title, lead: featuresHeading?.lead, reveal: true, "aria-label": featuresHeading ? void 0 : "Features", children: /* @__PURE__ */ jsx("ul", { className: "kz-tpl-bento", children: features.map((f) => /* @__PURE__ */ jsxs("li", { "data-size": f.size === "sm" ? void 0 : f.size, "data-reveal": "", children: [
25
27
  f.icon && /* @__PURE__ */ jsx("span", { className: "kz-block-icon", "aria-hidden": true, children: f.icon }),
26
28
  /* @__PURE__ */ jsx("h3", { children: f.title }),
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/landing-page/landing-page.tsx"],"sourcesContent":["// Server-safe. A landing page (blocks.css `.kz-tpl-*`): a split hero — the promise and its actions beside the product\n// alive (a recording, a demo) — a band of proofs, the features as a bento where the main one takes the room, then the\n// closing call. The blocks come through their package entries, so their client parts keep their boundary.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Page, Section } from \"@krizaka/ui/page\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nexport interface LandingFeature {\n /** A stable key. */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** One or two sentences. */\n text: React.ReactNode;\n /** A signature icon above the title. */\n icon?: React.ReactNode;\n /** A visual at the bottom of the tile (a chart, a screenshot, a code line). */\n visual?: React.ReactNode;\n /**\n * Its weight in the bento: `lg` (four columns, two rows — the main one), `md` (three), `sm` (two).\n * @default \"sm\"\n */\n size?: \"lg\" | \"md\" | \"sm\";\n}\n\nexport type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions (the main one cut, with shimmer). */\n actions?: React.ReactNode;\n /** The product, alive, beside the words: a recording, a live demo (framed as a window). */\n visual: React.ReactNode;\n /** The window's caption (`studio.app — studio`). */\n visualLabel?: React.ReactNode;\n /** Figures or facts in a band under the hero: `{ value, label }`. */\n proofs?: readonly { value: React.ReactNode; label: React.ReactNode }[];\n /** The features' section: its eyebrow, title and lead. */\n featuresHeading?: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The features, as a bento. */\n features: readonly LandingFeature[];\n /** Between the features and the closing call: a story, a quote, testimonials. */\n children?: React.ReactNode;\n /** The closing call: its title, body and actions. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n};\n\n/** A landing page: split hero with the product alive, proofs, a bento of features, the closing call. */\nexport function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, featuresHeading, features, closing, children, ...props }: LandingPageProps) {\n return (\n <div {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page className=\"kz-tpl-hero-frame\">\n <div className=\"kz-tpl-split\">\n <div className=\"kz-hero-text\">\n {eyebrow && <p className=\"kz-eyebrow\">{eyebrow}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {actions && <div className=\"kz-tpl-actions kz-hero-extra\">{actions}</div>}\n </div>\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {visualLabel && <span>{visualLabel}</span>}\n </div>\n {visual}\n </figure>\n </div>\n </Page>\n </SectionBackdrop>\n {proofs && proofs.length > 0 && (\n <Page>\n <dl className=\"kz-tpl-band\">\n {proofs.map((p, i) => (\n <div key={i}>\n <dt>{p.value}</dt>\n <dd>{p.label}</dd>\n </div>\n ))}\n </dl>\n </Page>\n )}\n <Section id=\"features\" eyebrow={featuresHeading?.eyebrow} title={featuresHeading?.title} lead={featuresHeading?.lead} reveal aria-label={featuresHeading ? undefined : \"Features\"}>\n <ul className=\"kz-tpl-bento\">\n {features.map((f) => (\n <li key={f.id} data-size={f.size === \"sm\" ? undefined : f.size} data-reveal=\"\">\n {f.icon && <span className=\"kz-block-icon\" aria-hidden>{f.icon}</span>}\n <h3>{f.title}</h3>\n <p>{f.text}</p>\n {f.visual && <div className=\"kz-tpl-bento-visual\">{f.visual}</div>}\n </li>\n ))}\n </ul>\n </Section>\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"landing-closing\">\n <CtaPanel id=\"landing-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"],"mappings":";AAGA,SAAS,gBAAgB;AACzB,SAAS,MAAM,eAAe;AAC9B,SAAS,uBAAuB;AAqDpB,SACc,KADd;AANL,SAAS,YAAY,EAAE,SAAS,OAAO,MAAM,SAAS,QAAQ,aAAa,QAAQ,iBAAiB,UAAU,SAAS,UAAU,GAAG,MAAM,GAAqB;AACpK,SACE,qBAAC,SAAK,GAAG,OACP;AAAA,wBAAC,mBAAgB,IAAG,UAAS,MAAI,MAAC,WAAU,WAC1C,8BAAC,QAAK,WAAU,qBACd,+BAAC,SAAI,WAAU,gBACb;AAAA,2BAAC,SAAI,WAAU,gBACZ;AAAA,mBAAW,oBAAC,OAAE,WAAU,cAAc,mBAAQ;AAAA,QAC/C,oBAAC,QAAG,WAAU,iBAAiB,iBAAM;AAAA,QACpC,QAAQ,oBAAC,OAAE,WAAU,gBAAgB,gBAAK;AAAA,QAC1C,WAAW,oBAAC,SAAI,WAAU,gCAAgC,mBAAQ;AAAA,SACrE;AAAA,MACA,qBAAC,YAAO,WAAU,gBAChB;AAAA,4BAAC,SAAI,WAAU,oBAAmB,eAAW,MAC1C,yBAAe,oBAAC,UAAM,uBAAY,GACrC;AAAA,QACC;AAAA,SACH;AAAA,OACF,GACF,GACF;AAAA,IACC,UAAU,OAAO,SAAS,KACzB,oBAAC,QACC,8BAAC,QAAG,WAAU,eACX,iBAAO,IAAI,CAAC,GAAG,MACd,qBAAC,SACC;AAAA,0BAAC,QAAI,YAAE,OAAM;AAAA,MACb,oBAAC,QAAI,YAAE,OAAM;AAAA,SAFL,CAGV,CACD,GACH,GACF;AAAA,IAEF,oBAAC,WAAQ,IAAG,YAAW,SAAS,iBAAiB,SAAS,OAAO,iBAAiB,OAAO,MAAM,iBAAiB,MAAM,QAAM,MAAC,cAAY,kBAAkB,SAAY,YACrK,8BAAC,QAAG,WAAU,gBACX,mBAAS,IAAI,CAAC,MACb,qBAAC,QAAc,aAAW,EAAE,SAAS,OAAO,SAAY,EAAE,MAAM,eAAY,IACzE;AAAA,QAAE,QAAQ,oBAAC,UAAK,WAAU,iBAAgB,eAAW,MAAE,YAAE,MAAK;AAAA,MAC/D,oBAAC,QAAI,YAAE,OAAM;AAAA,MACb,oBAAC,OAAG,YAAE,MAAK;AAAA,MACV,EAAE,UAAU,oBAAC,SAAI,WAAU,uBAAuB,YAAE,QAAO;AAAA,SAJrD,EAAE,EAKX,CACD,GACH,GACF;AAAA,IACC;AAAA,IACA,WACC,oBAAC,WAAQ,SAAQ,MAAK,mBAAgB,mBACpC,8BAAC,YAAS,IAAG,mBAAkB,OAAO,QAAQ,OAAO,MAAM,QAAQ,MAAM,QAAM,MAC5E,kBAAQ,SACX,GACF;AAAA,KAEJ;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../src/landing-page/landing-page.tsx"],"sourcesContent":["// Server-safe. A landing page (blocks.css `.kz-tpl-*`): a split hero — the promise and its actions beside the product\n// alive (a recording, a demo; without one, a single column) — a band of proofs, the features as a bento where the main one takes the room, then the\n// closing call. The blocks come through their package entries, so their client parts keep their boundary.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Page, Section } from \"@krizaka/ui/page\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nimport { HeroStage } from \"../page/hero-stage\";\n\nexport interface LandingFeature {\n /** A stable key. */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** One or two sentences. */\n text: React.ReactNode;\n /** A signature icon above the title. */\n icon?: React.ReactNode;\n /** A visual at the bottom of the tile (a chart, a screenshot, a code line). */\n visual?: React.ReactNode;\n /**\n * Its weight in the bento: `lg` (four columns, two rows — the main one), `md` (three), `sm` (two).\n * @default \"sm\"\n */\n size?: \"lg\" | \"md\" | \"sm\";\n}\n\nexport type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions (the main one cut, with shimmer). */\n actions?: React.ReactNode;\n /** The product, alive, beside the words: a recording, a live demo (framed as a window). Absent: a single-column hero, no empty stage. */\n visual?: React.ReactNode;\n /** The window's caption (`studio.app — studio`). */\n visualLabel?: React.ReactNode;\n /** Figures or facts in a band under the hero: `{ value, label }`. */\n proofs?: readonly { value: React.ReactNode; label: React.ReactNode }[];\n /** Full width, between the proofs and the features: a carousel, a demo, a wide plate. */\n showcase?: React.ReactNode;\n /**\n * The hero's backdrop: `grid` (the dome, the grid and the slow drift) or `quiet` (the still dome only: no grid layer, no drift).\n * @default \"grid\"\n */\n backdrop?: \"grid\" | \"quiet\";\n /** The features' section: its eyebrow, title and lead. */\n featuresHeading?: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The features, as a bento. */\n features: readonly LandingFeature[];\n /** Between the features and the closing call: a story, a quote, testimonials. */\n children?: React.ReactNode;\n /** The closing call: its title, body and actions. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n};\n\n/** A landing page: split hero with the product alive, proofs, a bento of features, the closing call. */\nexport function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, showcase, backdrop = \"grid\", featuresHeading, features, closing, children, ...props }: LandingPageProps) {\n return (\n <div {...props}>\n <SectionBackdrop as=\"header\" grid={backdrop === \"grid\"} animated={backdrop === \"grid\"} className=\"kz-hero\">\n <Page className=\"kz-tpl-hero-frame\">\n <div className=\"kz-tpl-split\" data-single={visual ? undefined : \"\"}>\n <div className=\"kz-hero-text\">\n {eyebrow && <p className=\"kz-eyebrow\">{eyebrow}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {actions && <div className=\"kz-tpl-actions kz-hero-extra\">{actions}</div>}\n </div>\n {visual && <HeroStage visual={visual} label={visualLabel} />}\n </div>\n </Page>\n </SectionBackdrop>\n {proofs && proofs.length > 0 && (\n <Page>\n <dl className=\"kz-tpl-band\">\n {proofs.map((p, i) => (\n <div key={i}>\n <dt>{p.value}</dt>\n <dd>{p.label}</dd>\n </div>\n ))}\n </dl>\n </Page>\n )}\n {showcase && (\n <Page data-landing-showcase=\"\" className=\"kz-tpl-showcase\">\n {showcase}\n </Page>\n )}\n <Section id=\"features\" eyebrow={featuresHeading?.eyebrow} title={featuresHeading?.title} lead={featuresHeading?.lead} reveal aria-label={featuresHeading ? undefined : \"Features\"}>\n <ul className=\"kz-tpl-bento\">\n {features.map((f) => (\n <li key={f.id} data-size={f.size === \"sm\" ? undefined : f.size} data-reveal=\"\">\n {f.icon && <span className=\"kz-block-icon\" aria-hidden>{f.icon}</span>}\n <h3>{f.title}</h3>\n <p>{f.text}</p>\n {f.visual && <div className=\"kz-tpl-bento-visual\">{f.visual}</div>}\n </li>\n ))}\n </ul>\n </Section>\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"landing-closing\">\n <CtaPanel id=\"landing-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;AAGA,SAAS,gBAAgB;AACzB,SAAS,MAAM,eAAe;AAC9B,SAAS,uBAAuB;AA8DpB,SACc,KADd;AANL,SAAS,YAAY,EAAE,SAAS,OAAO,MAAM,SAAS,QAAQ,aAAa,QAAQ,UAAU,WAAW,QAAQ,iBAAiB,UAAU,SAAS,UAAU,GAAG,MAAM,GAAqB;AACjM,SACE,qBAAC,SAAK,GAAG,OACP;AAAA,wBAAC,mBAAgB,IAAG,UAAS,MAAM,aAAa,QAAQ,UAAU,aAAa,QAAQ,WAAU,WAC/F,8BAAC,QAAK,WAAU,qBACd,+BAAC,SAAI,WAAU,gBAAe,eAAa,SAAS,SAAY,IAC9D;AAAA,2BAAC,SAAI,WAAU,gBACZ;AAAA,mBAAW,oBAAC,OAAE,WAAU,cAAc,mBAAQ;AAAA,QAC/C,oBAAC,QAAG,WAAU,iBAAiB,iBAAM;AAAA,QACpC,QAAQ,oBAAC,OAAE,WAAU,gBAAgB,gBAAK;AAAA,QAC1C,WAAW,oBAAC,SAAI,WAAU,gCAAgC,mBAAQ;AAAA,SACrE;AAAA,MACC,UAAU,oBAAC,aAAU,QAAgB,OAAO,aAAa;AAAA,OAC5D,GACF,GACF;AAAA,IACC,UAAU,OAAO,SAAS,KACzB,oBAAC,QACC,8BAAC,QAAG,WAAU,eACX,iBAAO,IAAI,CAAC,GAAG,MACd,qBAAC,SACC;AAAA,0BAAC,QAAI,YAAE,OAAM;AAAA,MACb,oBAAC,QAAI,YAAE,OAAM;AAAA,SAFL,CAGV,CACD,GACH,GACF;AAAA,IAED,YACC,oBAAC,QAAK,yBAAsB,IAAG,WAAU,mBACtC,oBACH;AAAA,IAEF,oBAAC,WAAQ,IAAG,YAAW,SAAS,iBAAiB,SAAS,OAAO,iBAAiB,OAAO,MAAM,iBAAiB,MAAM,QAAM,MAAC,cAAY,kBAAkB,SAAY,YACrK,8BAAC,QAAG,WAAU,gBACX,mBAAS,IAAI,CAAC,MACb,qBAAC,QAAc,aAAW,EAAE,SAAS,OAAO,SAAY,EAAE,MAAM,eAAY,IACzE;AAAA,QAAE,QAAQ,oBAAC,UAAK,WAAU,iBAAgB,eAAW,MAAE,YAAE,MAAK;AAAA,MAC/D,oBAAC,QAAI,YAAE,OAAM;AAAA,MACb,oBAAC,OAAG,YAAE,MAAK;AAAA,MACV,EAAE,UAAU,oBAAC,SAAI,WAAU,uBAAuB,YAAE,QAAO;AAAA,SAJrD,EAAE,EAKX,CACD,GACH,GACF;AAAA,IACC;AAAA,IACA,WACC,oBAAC,WAAQ,SAAQ,MAAK,mBAAgB,mBACpC,8BAAC,YAAS,IAAG,mBAAkB,OAAO,QAAQ,OAAO,MAAM,QAAQ,MAAM,QAAM,MAC5E,kBAAQ,SACX,GACF;AAAA,KAEJ;AAEJ;","names":[]}
@@ -1,3 +1,6 @@
1
+ import {
2
+ HeroStage
3
+ } from "./chunk-VUD4IEVJ.js";
1
4
  import {
2
5
  warnDeprecated
3
6
  } from "./chunk-KGLRZMCY.js";
@@ -27,10 +30,7 @@ function ProductPage({ brand, mark, title, lead, facts, actions, visual, visualL
27
30
  actions && /* @__PURE__ */ jsx("div", { className: "kz-tpl-actions", children: actions })
28
31
  ] })
29
32
  ] }),
30
- visual && /* @__PURE__ */ jsxs("figure", { className: "kz-tpl-stage", children: [
31
- /* @__PURE__ */ jsx("div", { className: "kz-tpl-stage-bar", "aria-hidden": true, children: visualLabel && /* @__PURE__ */ jsx("span", { children: visualLabel }) }),
32
- visual
33
- ] })
33
+ visual && /* @__PURE__ */ jsx(HeroStage, { visual, label: visualLabel })
34
34
  ] }) }) }),
35
35
  /* @__PURE__ */ jsx(Section, { id: "why", eyebrow: reasonsHeading.eyebrow, title: reasonsHeading.title, lead: reasonsHeading.lead, reveal: true, children: /* @__PURE__ */ jsx(CardGrid, { min: 260, fit: "fit", children: reasons.map((r) => /* @__PURE__ */ jsx(
36
36
  ArgumentCard,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/product-page/product-page.tsx"],"sourcesContent":["// Server-safe. A product's overview: the hero with the product's mark, its promise, facts and main action beside a live\n// window of the product; the traps it removes as compact argument cards; its decisions with their cost; the promise a\n// bird keeps; the closing call. Under the product's brand (`brand` → `.brand-<id>`).\nimport { ArgumentCard } from \"@krizaka/ui/argument-card\";\nimport { CardGrid } from \"@krizaka/ui/card-grid\";\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { type Decision, DecisionList } from \"@krizaka/ui/decision-list\";\nimport { MascotQuote } from \"@krizaka/ui/mascot-quote\";\nimport type { MascotBird } from \"@krizaka/ui/mascots\";\nimport { type Fact, Facts, Page, Section } from \"@krizaka/ui/page\";\nimport type { LinkComponent } from \"@krizaka/ui/page-hero\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { warnDeprecated } from \"../deprecated\";\n\nexport interface ProductReason {\n /** A stable key (the card's anchor). */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** The trap elsewhere, in one line. */\n trap: React.ReactNode;\n /** The signature icon. */\n icon?: React.ReactNode;\n /** The bird in the corner (whose rule it is). */\n mark?: React.ReactNode;\n /** Where the long version lives (a page) — or nothing, and the card stays its face. */\n href?: string;\n}\n\nexport type ProductPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The product's brand (`sovkora`, `verikora`…): the page wears `.brand-<id>`. */\n brand?: string;\n /** The product's mark and name, above the title. */\n mark?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** Facts under the lead (open source, a law it keeps). */\n facts?: readonly Fact[];\n /** The hero's actions. */\n actions?: React.ReactNode;\n /** The product alive, in a window beside the words. */\n visual?: React.ReactNode;\n /** The window's caption. */\n visualLabel?: React.ReactNode;\n /** The reasons' section heading. */\n reasonsHeading: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The words of the cards: the trap's label (read, not shown) and the way in. */\n reasonLabels: { trap: string; more: React.ReactNode };\n /** The traps it removes. */\n reasons: readonly ProductReason[];\n /** The decisions' section: heading, decisions and their four labels. */\n decisions?: { eyebrow?: React.ReactNode; title: React.ReactNode; items: readonly Decision[]; labels: { chose: React.ReactNode; refused: React.ReactNode; because: React.ReactNode; cost: React.ReactNode } };\n /** The promise a bird keeps, under the decisions. */\n promise?: { bird: MascotBird; label: React.ReactNode; text: React.ReactNode };\n /** More sections between the decisions and the closing call (the tour, the platform, a comparison). */\n children?: React.ReactNode;\n /** The closing call. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n /** The app's link component (Next's `Link`). */\n linkAs?: LinkComponent;\n};\n\n/**\n * A product's overview: split hero, traps as compact cards, decisions with their cost, the bird's promise, closing call.\n * @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.\n */\nexport function ProductPage({ brand, mark, title, lead, facts, actions, visual, visualLabel, reasonsHeading, reasonLabels, reasons, decisions, promise, closing, linkAs, className, children, ...props }: ProductPageProps) {\n warnDeprecated(\"product-page\");\n return (\n <div className={cn(brand && \"brand-\" + brand, className)} {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page>\n <div className={visual ? \"kz-tpl-split\" : undefined}>\n <div className=\"kz-hero-text\">\n {mark && <p className=\"kz-eyebrow\">{mark}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {(facts || actions) && (\n <div className=\"kz-hero-extra\">\n {facts && <Facts items={facts} />}\n {actions && <div className=\"kz-tpl-actions\">{actions}</div>}\n </div>\n )}\n </div>\n {visual && (\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {visualLabel && <span>{visualLabel}</span>}\n </div>\n {visual}\n </figure>\n )}\n </div>\n </Page>\n </SectionBackdrop>\n <Section id=\"why\" eyebrow={reasonsHeading.eyebrow} title={reasonsHeading.title} lead={reasonsHeading.lead} reveal>\n <CardGrid min={260} fit=\"fit\">\n {reasons.map((r) => (\n <ArgumentCard\n key={r.id}\n id={`why-${r.id}`}\n icon={r.icon}\n title={r.title}\n mark={r.mark}\n hook={{ label: reasonLabels.trap, text: r.trap }}\n more={r.href ? { href: r.href, label: reasonLabels.more } : undefined}\n linkAs={linkAs}\n />\n ))}\n </CardGrid>\n </Section>\n {decisions && (\n <Section id=\"decisions\" eyebrow={decisions.eyebrow} title={decisions.title} divider reveal>\n <DecisionList decisions={decisions.items} labels={decisions.labels} />\n {promise && (\n <div className=\"kz-tpl-promise\">\n <MascotQuote variant=\"callout\" bird={promise.bird} mood=\"welcome\" label={promise.label}>\n {promise.text}\n </MascotQuote>\n </div>\n )}\n </Section>\n )}\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"product-closing\">\n <CtaPanel id=\"product-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAGA,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AACzB,SAAwB,oBAAoB;AAC5C,SAAS,mBAAmB;AAE5B,SAAoB,OAAO,MAAM,eAAe;AAEhD,SAAS,uBAAuB;AAoET,cAIP,YAJO;AARhB,SAAS,YAAY,EAAE,OAAO,MAAM,OAAO,MAAM,OAAO,SAAS,QAAQ,aAAa,gBAAgB,cAAc,SAAS,WAAW,SAAS,SAAS,QAAQ,WAAW,UAAU,GAAG,MAAM,GAAqB;AAC1N,iBAAe,cAAc;AAC7B,SACE,qBAAC,SAAI,WAAW,GAAG,SAAS,WAAW,OAAO,SAAS,GAAI,GAAG,OAC5D;AAAA,wBAAC,mBAAgB,IAAG,UAAS,MAAI,MAAC,WAAU,WAC1C,8BAAC,QACC,+BAAC,SAAI,WAAW,SAAS,iBAAiB,QACxC;AAAA,2BAAC,SAAI,WAAU,gBACZ;AAAA,gBAAQ,oBAAC,OAAE,WAAU,cAAc,gBAAK;AAAA,QACzC,oBAAC,QAAG,WAAU,iBAAiB,iBAAM;AAAA,QACpC,QAAQ,oBAAC,OAAE,WAAU,gBAAgB,gBAAK;AAAA,SACzC,SAAS,YACT,qBAAC,SAAI,WAAU,iBACZ;AAAA,mBAAS,oBAAC,SAAM,OAAO,OAAO;AAAA,UAC9B,WAAW,oBAAC,SAAI,WAAU,kBAAkB,mBAAQ;AAAA,WACvD;AAAA,SAEJ;AAAA,MACC,UACC,qBAAC,YAAO,WAAU,gBAChB;AAAA,4BAAC,SAAI,WAAU,oBAAmB,eAAW,MAC1C,yBAAe,oBAAC,UAAM,uBAAY,GACrC;AAAA,QACC;AAAA,SACH;AAAA,OAEJ,GACF,GACF;AAAA,IACA,oBAAC,WAAQ,IAAG,OAAM,SAAS,eAAe,SAAS,OAAO,eAAe,OAAO,MAAM,eAAe,MAAM,QAAM,MAC/G,8BAAC,YAAS,KAAK,KAAK,KAAI,OACrB,kBAAQ,IAAI,CAAC,MACZ;AAAA,MAAC;AAAA;AAAA,QAEC,IAAI,OAAO,EAAE,EAAE;AAAA,QACf,MAAM,EAAE;AAAA,QACR,OAAO,EAAE;AAAA,QACT,MAAM,EAAE;AAAA,QACR,MAAM,EAAE,OAAO,aAAa,MAAM,MAAM,EAAE,KAAK;AAAA,QAC/C,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,aAAa,KAAK,IAAI;AAAA,QAC5D;AAAA;AAAA,MAPK,EAAE;AAAA,IAQT,CACD,GACH,GACF;AAAA,IACC,aACC,qBAAC,WAAQ,IAAG,aAAY,SAAS,UAAU,SAAS,OAAO,UAAU,OAAO,SAAO,MAAC,QAAM,MACxF;AAAA,0BAAC,gBAAa,WAAW,UAAU,OAAO,QAAQ,UAAU,QAAQ;AAAA,MACnE,WACC,oBAAC,SAAI,WAAU,kBACb,8BAAC,eAAY,SAAQ,WAAU,MAAM,QAAQ,MAAM,MAAK,WAAU,OAAO,QAAQ,OAC9E,kBAAQ,MACX,GACF;AAAA,OAEJ;AAAA,IAED;AAAA,IACA,WACC,oBAAC,WAAQ,SAAQ,MAAK,mBAAgB,mBACpC,8BAAC,YAAS,IAAG,mBAAkB,OAAO,QAAQ,OAAO,MAAM,QAAQ,MAAM,QAAM,MAC5E,kBAAQ,SACX,GACF;AAAA,KAEJ;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../src/product-page/product-page.tsx"],"sourcesContent":["// Server-safe. A product's overview: the hero with the product's mark, its promise, facts and main action beside a live\n// window of the product; the traps it removes as compact argument cards; its decisions with their cost; the promise a\n// bird keeps; the closing call. Under the product's brand (`brand` → `.brand-<id>`).\nimport { ArgumentCard } from \"@krizaka/ui/argument-card\";\nimport { CardGrid } from \"@krizaka/ui/card-grid\";\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { type Decision, DecisionList } from \"@krizaka/ui/decision-list\";\nimport { MascotQuote } from \"@krizaka/ui/mascot-quote\";\nimport type { MascotBird } from \"@krizaka/ui/mascots\";\nimport { type Fact, Facts, Page, Section } from \"@krizaka/ui/page\";\nimport type { LinkComponent } from \"@krizaka/ui/page-hero\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { warnDeprecated } from \"../deprecated\";\nimport { HeroStage } from \"../page/hero-stage\";\n\nexport interface ProductReason {\n /** A stable key (the card's anchor). */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** The trap elsewhere, in one line. */\n trap: React.ReactNode;\n /** The signature icon. */\n icon?: React.ReactNode;\n /** The bird in the corner (whose rule it is). */\n mark?: React.ReactNode;\n /** Where the long version lives (a page) — or nothing, and the card stays its face. */\n href?: string;\n}\n\nexport type ProductPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The product's brand (`sovkora`, `verikora`…): the page wears `.brand-<id>`. */\n brand?: string;\n /** The product's mark and name, above the title. */\n mark?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** Facts under the lead (open source, a law it keeps). */\n facts?: readonly Fact[];\n /** The hero's actions. */\n actions?: React.ReactNode;\n /** The product alive, in a window beside the words. */\n visual?: React.ReactNode;\n /** The window's caption. */\n visualLabel?: React.ReactNode;\n /** The reasons' section heading. */\n reasonsHeading: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The words of the cards: the trap's label (read, not shown) and the way in. */\n reasonLabels: { trap: string; more: React.ReactNode };\n /** The traps it removes. */\n reasons: readonly ProductReason[];\n /** The decisions' section: heading, decisions and their four labels. */\n decisions?: { eyebrow?: React.ReactNode; title: React.ReactNode; items: readonly Decision[]; labels: { chose: React.ReactNode; refused: React.ReactNode; because: React.ReactNode; cost: React.ReactNode } };\n /** The promise a bird keeps, under the decisions. */\n promise?: { bird: MascotBird; label: React.ReactNode; text: React.ReactNode };\n /** More sections between the decisions and the closing call (the tour, the platform, a comparison). */\n children?: React.ReactNode;\n /** The closing call. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n /** The app's link component (Next's `Link`). */\n linkAs?: LinkComponent;\n};\n\n/**\n * A product's overview: split hero, traps as compact cards, decisions with their cost, the bird's promise, closing call.\n * @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.\n */\nexport function ProductPage({ brand, mark, title, lead, facts, actions, visual, visualLabel, reasonsHeading, reasonLabels, reasons, decisions, promise, closing, linkAs, className, children, ...props }: ProductPageProps) {\n warnDeprecated(\"product-page\");\n return (\n <div className={cn(brand && \"brand-\" + brand, className)} {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page>\n <div className={visual ? \"kz-tpl-split\" : undefined}>\n <div className=\"kz-hero-text\">\n {mark && <p className=\"kz-eyebrow\">{mark}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {(facts || actions) && (\n <div className=\"kz-hero-extra\">\n {facts && <Facts items={facts} />}\n {actions && <div className=\"kz-tpl-actions\">{actions}</div>}\n </div>\n )}\n </div>\n {visual && <HeroStage visual={visual} label={visualLabel} />}\n </div>\n </Page>\n </SectionBackdrop>\n <Section id=\"why\" eyebrow={reasonsHeading.eyebrow} title={reasonsHeading.title} lead={reasonsHeading.lead} reveal>\n <CardGrid min={260} fit=\"fit\">\n {reasons.map((r) => (\n <ArgumentCard\n key={r.id}\n id={`why-${r.id}`}\n icon={r.icon}\n title={r.title}\n mark={r.mark}\n hook={{ label: reasonLabels.trap, text: r.trap }}\n more={r.href ? { href: r.href, label: reasonLabels.more } : undefined}\n linkAs={linkAs}\n />\n ))}\n </CardGrid>\n </Section>\n {decisions && (\n <Section id=\"decisions\" eyebrow={decisions.eyebrow} title={decisions.title} divider reveal>\n <DecisionList decisions={decisions.items} labels={decisions.labels} />\n {promise && (\n <div className=\"kz-tpl-promise\">\n <MascotQuote variant=\"callout\" bird={promise.bird} mood=\"welcome\" label={promise.label}>\n {promise.text}\n </MascotQuote>\n </div>\n )}\n </Section>\n )}\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"product-closing\">\n <CtaPanel id=\"product-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AAGA,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AACzB,SAAwB,oBAAoB;AAC5C,SAAS,mBAAmB;AAE5B,SAAoB,OAAO,MAAM,eAAe;AAEhD,SAAS,uBAAuB;AAqET,cAIP,YAJO;AARhB,SAAS,YAAY,EAAE,OAAO,MAAM,OAAO,MAAM,OAAO,SAAS,QAAQ,aAAa,gBAAgB,cAAc,SAAS,WAAW,SAAS,SAAS,QAAQ,WAAW,UAAU,GAAG,MAAM,GAAqB;AAC1N,iBAAe,cAAc;AAC7B,SACE,qBAAC,SAAI,WAAW,GAAG,SAAS,WAAW,OAAO,SAAS,GAAI,GAAG,OAC5D;AAAA,wBAAC,mBAAgB,IAAG,UAAS,MAAI,MAAC,WAAU,WAC1C,8BAAC,QACC,+BAAC,SAAI,WAAW,SAAS,iBAAiB,QACxC;AAAA,2BAAC,SAAI,WAAU,gBACZ;AAAA,gBAAQ,oBAAC,OAAE,WAAU,cAAc,gBAAK;AAAA,QACzC,oBAAC,QAAG,WAAU,iBAAiB,iBAAM;AAAA,QACpC,QAAQ,oBAAC,OAAE,WAAU,gBAAgB,gBAAK;AAAA,SACzC,SAAS,YACT,qBAAC,SAAI,WAAU,iBACZ;AAAA,mBAAS,oBAAC,SAAM,OAAO,OAAO;AAAA,UAC9B,WAAW,oBAAC,SAAI,WAAU,kBAAkB,mBAAQ;AAAA,WACvD;AAAA,SAEJ;AAAA,MACC,UAAU,oBAAC,aAAU,QAAgB,OAAO,aAAa;AAAA,OAC5D,GACF,GACF;AAAA,IACA,oBAAC,WAAQ,IAAG,OAAM,SAAS,eAAe,SAAS,OAAO,eAAe,OAAO,MAAM,eAAe,MAAM,QAAM,MAC/G,8BAAC,YAAS,KAAK,KAAK,KAAI,OACrB,kBAAQ,IAAI,CAAC,MACZ;AAAA,MAAC;AAAA;AAAA,QAEC,IAAI,OAAO,EAAE,EAAE;AAAA,QACf,MAAM,EAAE;AAAA,QACR,OAAO,EAAE;AAAA,QACT,MAAM,EAAE;AAAA,QACR,MAAM,EAAE,OAAO,aAAa,MAAM,MAAM,EAAE,KAAK;AAAA,QAC/C,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,aAAa,KAAK,IAAI;AAAA,QAC5D;AAAA;AAAA,MAPK,EAAE;AAAA,IAQT,CACD,GACH,GACF;AAAA,IACC,aACC,qBAAC,WAAQ,IAAG,aAAY,SAAS,UAAU,SAAS,OAAO,UAAU,OAAO,SAAO,MAAC,QAAM,MACxF;AAAA,0BAAC,gBAAa,WAAW,UAAU,OAAO,QAAQ,UAAU,QAAQ;AAAA,MACnE,WACC,oBAAC,SAAI,WAAU,kBACb,8BAAC,eAAY,SAAQ,WAAU,MAAM,QAAQ,MAAM,MAAK,WAAU,OAAO,QAAQ,OAC9E,kBAAQ,MACX,GACF;AAAA,OAEJ;AAAA,IAED;AAAA,IACA,WACC,oBAAC,WAAQ,SAAQ,MAAK,mBAAgB,mBACpC,8BAAC,YAAS,IAAG,mBAAkB,OAAO,QAAQ,OAAO,MAAM,QAAQ,MAAM,QAAM,MAC5E,kBAAQ,SACX,GACF;AAAA,KAEJ;AAEJ;","names":[]}
@@ -88,7 +88,7 @@ declare const SECTION_DEFINITIONS: readonly [SectionDefinitionOf<"hero", readonl
88
88
  }, z.core.$strip>;
89
89
  }>, SectionDefinitionOf<"booking", readonly ["strip", "panel", "closing", "sticky"], z.ZodMiniObject<{
90
90
  serviceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
91
- count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 4 | 6>, z.ZodMiniLiteral<3 | 4 | 6>]>;
91
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<6 | 3 | 4>, z.ZodMiniLiteral<6 | 3 | 4>]>;
92
92
  }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"gallery", readonly ["mosaic", "filmstrip", "wall", "grid"], z.ZodMiniObject<{
93
93
  source: z.ZodMiniEnum<{
94
94
  all: "all";
@@ -87,7 +87,7 @@ declare const SECTION_DEFINITIONS: readonly [SectionDefinitionOf<"hero", readonl
87
87
  }, z.core.$strip>;
88
88
  }>, SectionDefinitionOf<"booking", readonly ["strip", "panel", "closing", "sticky"], z.ZodMiniObject<{
89
89
  serviceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
90
- count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 4 | 6>, z.ZodMiniLiteral<3 | 4 | 6>]>;
90
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<4 | 6 | 3>, z.ZodMiniLiteral<4 | 6 | 3>]>;
91
91
  }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"gallery", readonly ["mosaic", "filmstrip", "wall", "grid"], z.ZodMiniObject<{
92
92
  source: z.ZodMiniEnum<{
93
93
  all: "all";
@@ -129,7 +129,7 @@ declare const SECTION_DEFINITIONS: readonly [SectionDefinitionOf<"hero", readonl
129
129
  best: "best";
130
130
  latest: "latest";
131
131
  }>;
132
- count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 1 | 2>, z.ZodMiniLiteral<3 | 1 | 2>]>;
132
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<1 | 2 | 3>, z.ZodMiniLiteral<1 | 2 | 3>]>;
133
133
  }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"bulletin", readonly ["board", "banner"], z.ZodMiniObject<{}, z.core.$strip>, {
134
134
  flyer: z.ZodMiniObject<{
135
135
  text: z.ZodMiniString<string>;
package/dist/shop.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ShopPage } from './schema-DgjBz7-8.js';
2
- export { L as LocalizedText, P as ParsedSection, b as SECTION_DEFINITIONS, c as SECTION_TYPES, d as SHOP_SCHEMA_VERSION, a as Section, e as SectionDefinition, f as SectionOf, g as SectionSpec, h as SectionType, i as ShopPageIssue, j as ShopPageResult, k as defineSection, p as parseShopPage, s as sectionDefinition, l as shopPageSchema } from './schema-DgjBz7-8.js';
1
+ import { S as ShopPage } from './schema-CL7t7xqb.js';
2
+ export { L as LocalizedText, P as ParsedSection, b as SECTION_DEFINITIONS, c as SECTION_TYPES, d as SHOP_SCHEMA_VERSION, a as Section, e as SectionDefinition, f as SectionOf, g as SectionSpec, h as SectionType, i as ShopPageIssue, j as ShopPageResult, k as defineSection, p as parseShopPage, s as sectionDefinition, l as shopPageSchema } from './schema-CL7t7xqb.js';
3
3
  export { b as ShopFrame, c as ShopFrameProps, a as ShopPhoto, d as ShopSection, S as ShopSectionProps } from './frame-CmDztC_y.js';
4
4
  import 'zod/mini';
5
5
  import 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, tabs, chip, switch, slider, command palette, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Sovkora, Verikora, Folioviv) and the motion signature — web and /native.",
5
5
  "keywords": [
6
6
  "krizaka",
@@ -1012,7 +1012,7 @@
1012
1012
  ],
1013
1013
  "peerDependencies": {
1014
1014
  "@krizaka/query": ">=0.3.0",
1015
- "@krizaka/tailwind": ">=4.3.0",
1015
+ "@krizaka/tailwind": ">=4.4.0",
1016
1016
  "@maplibre/maplibre-react-native": ">=11",
1017
1017
  "@shopify/flash-list": ">=2",
1018
1018
  "expo-camera": ">=16",
@@ -3480,10 +3480,10 @@
3480
3480
  "sonner": "^2.0.8",
3481
3481
  "tailwind-variants": "^3.3.1",
3482
3482
  "zod": "^4.6.7",
3483
- "@krizaka/intl": "^0.4.1",
3484
3483
  "@krizaka/icons": "^0.10.0",
3485
- "@krizaka/tokens": "^4.3.0",
3486
- "@krizaka/pacer": "^0.2.0"
3484
+ "@krizaka/intl": "^0.4.1",
3485
+ "@krizaka/pacer": "^0.2.0",
3486
+ "@krizaka/tokens": "^4.4.0"
3487
3487
  },
3488
3488
  "scripts": {
3489
3489
  "build": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});for(const f of fs.readdirSync('registry/examples',{recursive:true}))if(/\\.(js|d\\.ts)$/.test(f))fs.rmSync('registry/examples/'+f)\" && tsup && node -e \"require('node:fs').copyFileSync('src/motion.css','dist/motion.css');require('node:fs').copyFileSync('src/blocks.css','dist/blocks.css');require('node:fs').copyFileSync('src/story.css','dist/story.css')\" && node scripts/build-registry.mjs",
@@ -374,7 +374,7 @@
374
374
  }
375
375
  ],
376
376
  "dependencies": [
377
- "@krizaka/tokens@^4.3.0"
377
+ "@krizaka/tokens@^4.4.0"
378
378
  ],
379
379
  "registryDependencies": [
380
380
  "account-menu",
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,45 @@
1
+ "use client";
2
+
3
+ // registry/examples/landing-page/showcase.tsx
4
+ import { Button } from "@krizaka/ui/button";
5
+ import { LandingPage } from "@krizaka/ui/landing-page";
6
+ import { MediaCarousel } from "@krizaka/ui/media-carousel";
7
+ import { Section } from "@krizaka/ui/page";
8
+ import { jsx } from "react/jsx-runtime";
9
+ var PIC = (a, b) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${a}'/><stop offset='1' stop-color='${b}'/></linearGradient></defs><rect width='1600' height='900' fill='url(#g)'/></svg>`)}`;
10
+ function LandingPageShowcase() {
11
+ return /* @__PURE__ */ jsx(
12
+ LandingPage,
13
+ {
14
+ backdrop: "quiet",
15
+ title: "An AI that never leaves your server",
16
+ lead: "Chat, image and voice on your own machine, every run recorded.",
17
+ actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Install" }),
18
+ proofs: [
19
+ { value: "0", label: "calls to the outside" },
20
+ { value: "128", label: "runs measured, each with its record" }
21
+ ],
22
+ showcase: /* @__PURE__ */ jsx(Section, { spacing: "sm", title: "See it work", id: "showcase-title", lead: "Three minutes, no cuts.", children: /* @__PURE__ */ jsx(
23
+ MediaCarousel,
24
+ {
25
+ label: "Sovkora at work",
26
+ autoplay: true,
27
+ caption: "bar",
28
+ textVersion: true,
29
+ slides: [
30
+ { id: "a", src: PIC("#1d3f6b", "#4d7fb8"), alt: "A chat answered on the local server", caption: "Fig. 1a \u2014 a chat, answered locally" },
31
+ { id: "b", src: PIC("#23496f", "#6b9bc9"), alt: "The run's cost and model, side by side", caption: "Fig. 1b \u2014 the run, accounted for" }
32
+ ]
33
+ }
34
+ ) }),
35
+ featuresHeading: { title: "What it does" },
36
+ features: [
37
+ { id: "chat", size: "lg", title: "Chat", text: "Answers from models that run on your server." },
38
+ { id: "image", title: "Image", text: "Generated and kept in your storage." }
39
+ ]
40
+ }
41
+ );
42
+ }
43
+ export {
44
+ LandingPageShowcase as default
45
+ };
@@ -0,0 +1,42 @@
1
+ import { Button } from "@krizaka/ui/button";
2
+ import { LandingPage } from "@krizaka/ui/landing-page";
3
+ import { MediaCarousel } from "@krizaka/ui/media-carousel";
4
+ import { Section } from "@krizaka/ui/page";
5
+
6
+ const PIC = (a: string, b: string) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${a}'/><stop offset='1' stop-color='${b}'/></linearGradient></defs><rect width='1600' height='900' fill='url(#g)'/></svg>`)}`;
7
+
8
+ // TEMPLATE — a home that leads with words and a full-width demo: no `visual` (a single-column hero), the quiet backdrop,
9
+ // a carousel in `showcase` between the proofs and the features.
10
+ export default function LandingPageShowcase() {
11
+ return (
12
+ <LandingPage
13
+ backdrop="quiet"
14
+ title="An AI that never leaves your server"
15
+ lead="Chat, image and voice on your own machine, every run recorded."
16
+ actions={<Button variant="primary" size="lg">Install</Button>}
17
+ proofs={[
18
+ { value: "0", label: "calls to the outside" },
19
+ { value: "128", label: "runs measured, each with its record" },
20
+ ]}
21
+ showcase={
22
+ <Section spacing="sm" title="See it work" id="showcase-title" lead="Three minutes, no cuts.">
23
+ <MediaCarousel
24
+ label="Sovkora at work"
25
+ autoplay
26
+ caption="bar"
27
+ textVersion
28
+ slides={[
29
+ { id: "a", src: PIC("#1d3f6b", "#4d7fb8"), alt: "A chat answered on the local server", caption: "Fig. 1a — a chat, answered locally" },
30
+ { id: "b", src: PIC("#23496f", "#6b9bc9"), alt: "The run's cost and model, side by side", caption: "Fig. 1b — the run, accounted for" },
31
+ ]}
32
+ />
33
+ </Section>
34
+ }
35
+ featuresHeading={{ title: "What it does" }}
36
+ features={[
37
+ { id: "chat", size: "lg", title: "Chat", text: "Answers from models that run on your server." },
38
+ { id: "image", title: "Image", text: "Generated and kept in your storage." },
39
+ ]}
40
+ />
41
+ );
42
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "templatePurposes": {
5
5
  "convince": {
6
6
  "title": "Convince",
@@ -212,6 +212,15 @@
212
212
  "purpose": "show",
213
213
  "why": "A visitor browses real results, each with how it was made."
214
214
  },
215
+ {
216
+ "component": "landing-page",
217
+ "platform": "web",
218
+ "name": "showcase",
219
+ "title": "Showcase",
220
+ "description": "A text-only hero on the quiet backdrop, the proofs, then a full-width carousel before the features.",
221
+ "purpose": "show",
222
+ "why": "A visitor reads the promise, then watches the product at full width before any feature list."
223
+ },
215
224
  {
216
225
  "component": "longform-page",
217
226
  "platform": "web",
@@ -1004,7 +1013,7 @@
1004
1013
  "native": 0
1005
1014
  },
1006
1015
  "dependencies": [
1007
- "@krizaka/tokens@^4.3.0"
1016
+ "@krizaka/tokens@^4.4.0"
1008
1017
  ],
1009
1018
  "registryDependencies": [
1010
1019
  "account-menu",
@@ -3670,8 +3679,8 @@
3670
3679
  "name": "landing-page",
3671
3680
  "type": "primitive",
3672
3681
  "title": "Landing page",
3673
- "summary": "A landing page: the promise beside the product alive in a window, a band of proofs, the features as a bento where the main one takes the room, the closing call.",
3674
- "description": "A landing page: the promise beside the product alive in a window, a band of proofs, the features as a bento where the main one takes the room, the closing call.",
3682
+ "summary": "A landing page: the promise beside the product alive in a window (or alone, in one column), a band of proofs, a full-width showcase, the features as a bento where the main one takes the room, the closing call.",
3683
+ "description": "A landing page: the promise beside the product alive in a window (or alone, in one column), a band of proofs, a full-width showcase, the features as a bento where the main one takes the room, the closing call.",
3675
3684
  "status": "beta",
3676
3685
  "category": "templates",
3677
3686
  "platforms": "web",
@@ -3689,7 +3698,7 @@
3689
3698
  }
3690
3699
  },
3691
3700
  "examples": {
3692
- "web": 1,
3701
+ "web": 2,
3693
3702
  "native": 0
3694
3703
  },
3695
3704
  "dependencies": [],
@@ -4008,7 +4017,7 @@
4008
4017
  "native": 2
4009
4018
  },
4010
4019
  "dependencies": [
4011
- "@krizaka/tokens@^4.3.0",
4020
+ "@krizaka/tokens@^4.4.0",
4012
4021
  "@protomaps/basemaps@5.7.2",
4013
4022
  "tailwind-variants@^3.3.1"
4014
4023
  ],
@@ -4421,7 +4430,7 @@
4421
4430
  "native": 0
4422
4431
  },
4423
4432
  "dependencies": [
4424
- "@krizaka/tokens@^4.3.0",
4433
+ "@krizaka/tokens@^4.4.0",
4425
4434
  "radix-ui@^1.8.1",
4426
4435
  "tailwind-variants@^3.3.1"
4427
4436
  ],
@@ -5289,7 +5298,7 @@
5289
5298
  "native": 0
5290
5299
  },
5291
5300
  "dependencies": [
5292
- "@krizaka/tokens@^4.3.0",
5301
+ "@krizaka/tokens@^4.4.0",
5293
5302
  "radix-ui@^1.8.1",
5294
5303
  "tailwind-variants@^3.3.1"
5295
5304
  ],
@@ -5736,7 +5745,7 @@
5736
5745
  "native": 0
5737
5746
  },
5738
5747
  "dependencies": [
5739
- "@krizaka/tokens@^4.3.0",
5748
+ "@krizaka/tokens@^4.4.0",
5740
5749
  "zod@^4.6.7"
5741
5750
  ],
5742
5751
  "registryDependencies": [
@@ -5957,7 +5966,7 @@
5957
5966
  },
5958
5967
  "dependencies": [
5959
5968
  "@krizaka/icons@^0.10.0",
5960
- "@krizaka/tokens@^4.3.0",
5969
+ "@krizaka/tokens@^4.4.0",
5961
5970
  "radix-ui@^1.8.1",
5962
5971
  "tailwind-variants@^3.3.1"
5963
5972
  ],
@@ -2,8 +2,8 @@
2
2
  "name": "landing-page",
3
3
  "type": "primitive",
4
4
  "title": "Landing page",
5
- "summary": "A landing page: the promise beside the product alive in a window, a band of proofs, the features as a bento where the main one takes the room, the closing call.",
6
- "description": "A landing page: the promise beside the product alive in a window, a band of proofs, the features as a bento where the main one takes the room, the closing call.",
5
+ "summary": "A landing page: the promise beside the product alive in a window (or alone, in one column), a band of proofs, a full-width showcase, the features as a bento where the main one takes the room, the closing call.",
6
+ "description": "A landing page: the promise beside the product alive in a window (or alone, in one column), a band of proofs, a full-width showcase, the features as a bento where the main one takes the room, the closing call.",
7
7
  "status": "beta",
8
8
  "deprecated": null,
9
9
  "category": "templates",
@@ -38,7 +38,8 @@
38
38
  ],
39
39
  "bestPractices": [
40
40
  "One `lg` feature in the bento: the one the visitor came for.",
41
- "The window shows the real product (a recording, a demo), never a mock-up.",
41
+ "The window shows the real product (a recording, a demo), never a mock-up; without one, omit `visual` and the hero is one column.",
42
+ "A home that leads with text and a wide demo: no `visual`, `backdrop=\"quiet\"`, a `MediaCarousel` in `showcase`.",
42
43
  "Three or four proofs, each a fact that can be checked.",
43
44
  "Words and content arrive as props; the motion is the platform's (`[data-reveal]`, still under reduced motion)."
44
45
  ],
@@ -75,13 +76,6 @@
75
76
  "description": "The promise: the page's `h1`.",
76
77
  "required": true
77
78
  },
78
- {
79
- "name": "visual",
80
- "type": "ReactNode",
81
- "default": null,
82
- "description": "The product, alive, beside the words: a recording, a live demo (framed as a window).",
83
- "required": true
84
- },
85
79
  {
86
80
  "name": "actions",
87
81
  "type": "ReactNode",
@@ -89,6 +83,13 @@
89
83
  "description": "The hero's actions (the main one cut, with shimmer).",
90
84
  "required": false
91
85
  },
86
+ {
87
+ "name": "backdrop",
88
+ "type": "\"grid\" | \"quiet\"",
89
+ "default": "grid",
90
+ "description": "The hero's backdrop: `grid` (the dome, the grid and the slow drift) or `quiet` (the still dome only: no grid layer, no drift).",
91
+ "required": false
92
+ },
92
93
  {
93
94
  "name": "closing",
94
95
  "type": "{ title: ReactNode; body?: ReactNode; actions: ReactNode; }",
@@ -124,6 +125,20 @@
124
125
  "description": "Figures or facts in a band under the hero: `{ value, label }`.",
125
126
  "required": false
126
127
  },
128
+ {
129
+ "name": "showcase",
130
+ "type": "ReactNode",
131
+ "default": null,
132
+ "description": "Full width, between the proofs and the features: a carousel, a demo, a wide plate.",
133
+ "required": false
134
+ },
135
+ {
136
+ "name": "visual",
137
+ "type": "ReactNode",
138
+ "default": null,
139
+ "description": "The product, alive, beside the words: a recording, a live demo (framed as a window). Absent: a single-column hero, no empty stage.",
140
+ "required": false
141
+ },
127
142
  {
128
143
  "name": "visualLabel",
129
144
  "type": "ReactNode",
@@ -135,6 +150,17 @@
135
150
  }
136
151
  ],
137
152
  "examples": [
153
+ {
154
+ "name": "showcase",
155
+ "title": "Showcase",
156
+ "description": "A text-only hero on the quiet backdrop, the proofs, then a full-width carousel before the features.",
157
+ "template": true,
158
+ "purpose": "show",
159
+ "why": "A visitor reads the promise, then watches the product at full width before any feature list.",
160
+ "path": "examples/landing-page/showcase.tsx",
161
+ "module": "@krizaka/ui/registry/examples/landing-page/showcase",
162
+ "code": "import { Button } from \"@krizaka/ui/button\";\nimport { LandingPage } from \"@krizaka/ui/landing-page\";\nimport { MediaCarousel } from \"@krizaka/ui/media-carousel\";\nimport { Section } from \"@krizaka/ui/page\";\n\nconst PIC = (a: string, b: string) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${a}'/><stop offset='1' stop-color='${b}'/></linearGradient></defs><rect width='1600' height='900' fill='url(#g)'/></svg>`)}`;\n\n// TEMPLATE — a home that leads with words and a full-width demo: no `visual` (a single-column hero), the quiet backdrop,\n// a carousel in `showcase` between the proofs and the features.\nexport default function LandingPageShowcase() {\n return (\n <LandingPage\n backdrop=\"quiet\"\n title=\"An AI that never leaves your server\"\n lead=\"Chat, image and voice on your own machine, every run recorded.\"\n actions={<Button variant=\"primary\" size=\"lg\">Install</Button>}\n proofs={[\n { value: \"0\", label: \"calls to the outside\" },\n { value: \"128\", label: \"runs measured, each with its record\" },\n ]}\n showcase={\n <Section spacing=\"sm\" title=\"See it work\" id=\"showcase-title\" lead=\"Three minutes, no cuts.\">\n <MediaCarousel\n label=\"Sovkora at work\"\n autoplay\n caption=\"bar\"\n textVersion\n slides={[\n { id: \"a\", src: PIC(\"#1d3f6b\", \"#4d7fb8\"), alt: \"A chat answered on the local server\", caption: \"Fig. 1a — a chat, answered locally\" },\n { id: \"b\", src: PIC(\"#23496f\", \"#6b9bc9\"), alt: \"The run's cost and model, side by side\", caption: \"Fig. 1b — the run, accounted for\" },\n ]}\n />\n </Section>\n }\n featuresHeading={{ title: \"What it does\" }}\n features={[\n { id: \"chat\", size: \"lg\", title: \"Chat\", text: \"Answers from models that run on your server.\" },\n { id: \"image\", title: \"Image\", text: \"Generated and kept in your storage.\" },\n ]}\n />\n );\n}\n"
163
+ },
138
164
  {
139
165
  "name": "krizaka",
140
166
  "title": "Krizaka",
@@ -156,11 +182,11 @@
156
182
  },
157
183
  {
158
184
  "path": "landing-page/landing-page.tsx",
159
- "content": "// Server-safe. A landing page (blocks.css `.kz-tpl-*`): a split hero — the promise and its actions beside the product\n// alive (a recording, a demo) — a band of proofs, the features as a bento where the main one takes the room, then the\n// closing call. The blocks come through their package entries, so their client parts keep their boundary.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Page, Section } from \"@krizaka/ui/page\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nexport interface LandingFeature {\n /** A stable key. */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** One or two sentences. */\n text: React.ReactNode;\n /** A signature icon above the title. */\n icon?: React.ReactNode;\n /** A visual at the bottom of the tile (a chart, a screenshot, a code line). */\n visual?: React.ReactNode;\n /**\n * Its weight in the bento: `lg` (four columns, two rows — the main one), `md` (three), `sm` (two).\n * @default \"sm\"\n */\n size?: \"lg\" | \"md\" | \"sm\";\n}\n\nexport type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions (the main one cut, with shimmer). */\n actions?: React.ReactNode;\n /** The product, alive, beside the words: a recording, a live demo (framed as a window). */\n visual: React.ReactNode;\n /** The window's caption (`studio.app — studio`). */\n visualLabel?: React.ReactNode;\n /** Figures or facts in a band under the hero: `{ value, label }`. */\n proofs?: readonly { value: React.ReactNode; label: React.ReactNode }[];\n /** The features' section: its eyebrow, title and lead. */\n featuresHeading?: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The features, as a bento. */\n features: readonly LandingFeature[];\n /** Between the features and the closing call: a story, a quote, testimonials. */\n children?: React.ReactNode;\n /** The closing call: its title, body and actions. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n};\n\n/** A landing page: split hero with the product alive, proofs, a bento of features, the closing call. */\nexport function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, featuresHeading, features, closing, children, ...props }: LandingPageProps) {\n return (\n <div {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page className=\"kz-tpl-hero-frame\">\n <div className=\"kz-tpl-split\">\n <div className=\"kz-hero-text\">\n {eyebrow && <p className=\"kz-eyebrow\">{eyebrow}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {actions && <div className=\"kz-tpl-actions kz-hero-extra\">{actions}</div>}\n </div>\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {visualLabel && <span>{visualLabel}</span>}\n </div>\n {visual}\n </figure>\n </div>\n </Page>\n </SectionBackdrop>\n {proofs && proofs.length > 0 && (\n <Page>\n <dl className=\"kz-tpl-band\">\n {proofs.map((p, i) => (\n <div key={i}>\n <dt>{p.value}</dt>\n <dd>{p.label}</dd>\n </div>\n ))}\n </dl>\n </Page>\n )}\n <Section id=\"features\" eyebrow={featuresHeading?.eyebrow} title={featuresHeading?.title} lead={featuresHeading?.lead} reveal aria-label={featuresHeading ? undefined : \"Features\"}>\n <ul className=\"kz-tpl-bento\">\n {features.map((f) => (\n <li key={f.id} data-size={f.size === \"sm\" ? undefined : f.size} data-reveal=\"\">\n {f.icon && <span className=\"kz-block-icon\" aria-hidden>{f.icon}</span>}\n <h3>{f.title}</h3>\n <p>{f.text}</p>\n {f.visual && <div className=\"kz-tpl-bento-visual\">{f.visual}</div>}\n </li>\n ))}\n </ul>\n </Section>\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"landing-closing\">\n <CtaPanel id=\"landing-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"
185
+ "content": "// Server-safe. A landing page (blocks.css `.kz-tpl-*`): a split hero — the promise and its actions beside the product\n// alive (a recording, a demo; without one, a single column) — a band of proofs, the features as a bento where the main one takes the room, then the\n// closing call. The blocks come through their package entries, so their client parts keep their boundary.\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { Page, Section } from \"@krizaka/ui/page\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nimport { HeroStage } from \"../page/hero-stage\";\n\nexport interface LandingFeature {\n /** A stable key. */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** One or two sentences. */\n text: React.ReactNode;\n /** A signature icon above the title. */\n icon?: React.ReactNode;\n /** A visual at the bottom of the tile (a chart, a screenshot, a code line). */\n visual?: React.ReactNode;\n /**\n * Its weight in the bento: `lg` (four columns, two rows — the main one), `md` (three), `sm` (two).\n * @default \"sm\"\n */\n size?: \"lg\" | \"md\" | \"sm\";\n}\n\nexport type LandingPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** A mono line above the title. */\n eyebrow?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** The hero's actions (the main one cut, with shimmer). */\n actions?: React.ReactNode;\n /** The product, alive, beside the words: a recording, a live demo (framed as a window). Absent: a single-column hero, no empty stage. */\n visual?: React.ReactNode;\n /** The window's caption (`studio.app — studio`). */\n visualLabel?: React.ReactNode;\n /** Figures or facts in a band under the hero: `{ value, label }`. */\n proofs?: readonly { value: React.ReactNode; label: React.ReactNode }[];\n /** Full width, between the proofs and the features: a carousel, a demo, a wide plate. */\n showcase?: React.ReactNode;\n /**\n * The hero's backdrop: `grid` (the dome, the grid and the slow drift) or `quiet` (the still dome only: no grid layer, no drift).\n * @default \"grid\"\n */\n backdrop?: \"grid\" | \"quiet\";\n /** The features' section: its eyebrow, title and lead. */\n featuresHeading?: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The features, as a bento. */\n features: readonly LandingFeature[];\n /** Between the features and the closing call: a story, a quote, testimonials. */\n children?: React.ReactNode;\n /** The closing call: its title, body and actions. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n};\n\n/** A landing page: split hero with the product alive, proofs, a bento of features, the closing call. */\nexport function LandingPage({ eyebrow, title, lead, actions, visual, visualLabel, proofs, showcase, backdrop = \"grid\", featuresHeading, features, closing, children, ...props }: LandingPageProps) {\n return (\n <div {...props}>\n <SectionBackdrop as=\"header\" grid={backdrop === \"grid\"} animated={backdrop === \"grid\"} className=\"kz-hero\">\n <Page className=\"kz-tpl-hero-frame\">\n <div className=\"kz-tpl-split\" data-single={visual ? undefined : \"\"}>\n <div className=\"kz-hero-text\">\n {eyebrow && <p className=\"kz-eyebrow\">{eyebrow}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {actions && <div className=\"kz-tpl-actions kz-hero-extra\">{actions}</div>}\n </div>\n {visual && <HeroStage visual={visual} label={visualLabel} />}\n </div>\n </Page>\n </SectionBackdrop>\n {proofs && proofs.length > 0 && (\n <Page>\n <dl className=\"kz-tpl-band\">\n {proofs.map((p, i) => (\n <div key={i}>\n <dt>{p.value}</dt>\n <dd>{p.label}</dd>\n </div>\n ))}\n </dl>\n </Page>\n )}\n {showcase && (\n <Page data-landing-showcase=\"\" className=\"kz-tpl-showcase\">\n {showcase}\n </Page>\n )}\n <Section id=\"features\" eyebrow={featuresHeading?.eyebrow} title={featuresHeading?.title} lead={featuresHeading?.lead} reveal aria-label={featuresHeading ? undefined : \"Features\"}>\n <ul className=\"kz-tpl-bento\">\n {features.map((f) => (\n <li key={f.id} data-size={f.size === \"sm\" ? undefined : f.size} data-reveal=\"\">\n {f.icon && <span className=\"kz-block-icon\" aria-hidden>{f.icon}</span>}\n <h3>{f.title}</h3>\n <p>{f.text}</p>\n {f.visual && <div className=\"kz-tpl-bento-visual\">{f.visual}</div>}\n </li>\n ))}\n </ul>\n </Section>\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"landing-closing\">\n <CtaPanel id=\"landing-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"
160
186
  },
161
187
  {
162
188
  "path": "landing-page/meta.ts",
163
- "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Landing page\",\n summary: \"A landing page: the promise beside the product alive in a window, a band of proofs, the features as a bento where the main one takes the room, the closing call.\",\n status: \"beta\",\n category: \"templates\",\n domain: \"page-blocks\",\n platforms: \"web\",\n parity: { native: { status: \"n/a\", reason: \"A whole page of a public site; a phone app's screens are built from Screen, Header and the native primitives.\" }, desktop: { status: \"n/a\", reason: \"A public site's page, not a window of the Mac app.\" } },\n whenToUse: [\"The home of a company or a product line.\", \"A campaign page that must sell in one screen.\"],\n whenNotToUse: [\n { when: \"For one product's page, with its traps and decisions.\" },\n { when: \"For a list of entry points.\", use: \"docs-hub-page\" },\n ],\n bestPractices: [\"One `lg` feature in the bento: the one the visitor came for.\", \"The window shows the real product (a recording, a demo), never a mock-up.\", \"Three or four proofs, each a fact that can be checked.\", \"Words and content arrive as props; the motion is the platform's (`[data-reveal]`, still under reduced motion).\"],\n accessibility: {\n keyboard: [],\n notes: [\"The hero's title is the page's `h1`; the window is a `figure`, its bar decorative.\", \"Proofs are a description list; the bento a list of features.\"],\n },\n related: [\"page-hero\", \"card-grid\"],\n web: {\n imports: [\"LandingPage\"],\n examples: [\n { name: \"krizaka\", title: \"Krizaka\", description: \"The studio's landing: the promise, the console alive, proofs, three products in a bento.\", template: true, purpose: \"convince\", why: \"A visitor gets the promise in one screen, the product alive, the proofs and one call to act.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
189
+ "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Landing page\",\n summary: \"A landing page: the promise beside the product alive in a window (or alone, in one column), a band of proofs, a full-width showcase, the features as a bento where the main one takes the room, the closing call.\",\n status: \"beta\",\n category: \"templates\",\n domain: \"page-blocks\",\n platforms: \"web\",\n parity: { native: { status: \"n/a\", reason: \"A whole page of a public site; a phone app's screens are built from Screen, Header and the native primitives.\" }, desktop: { status: \"n/a\", reason: \"A public site's page, not a window of the Mac app.\" } },\n whenToUse: [\"The home of a company or a product line.\", \"A campaign page that must sell in one screen.\"],\n whenNotToUse: [\n { when: \"For one product's page, with its traps and decisions.\" },\n { when: \"For a list of entry points.\", use: \"docs-hub-page\" },\n ],\n bestPractices: [\"One `lg` feature in the bento: the one the visitor came for.\", \"The window shows the real product (a recording, a demo), never a mock-up; without one, omit `visual` and the hero is one column.\", \"A home that leads with text and a wide demo: no `visual`, `backdrop=\\\"quiet\\\"`, a `MediaCarousel` in `showcase`.\", \"Three or four proofs, each a fact that can be checked.\", \"Words and content arrive as props; the motion is the platform's (`[data-reveal]`, still under reduced motion).\"],\n accessibility: {\n keyboard: [],\n notes: [\"The hero's title is the page's `h1`; the window is a `figure`, its bar decorative.\", \"Proofs are a description list; the bento a list of features.\"],\n },\n related: [\"page-hero\", \"card-grid\"],\n web: {\n imports: [\"LandingPage\"],\n examples: [\n { name: \"showcase\", title: \"Showcase\", description: \"A text-only hero on the quiet backdrop, the proofs, then a full-width carousel before the features.\", template: true, purpose: \"show\", why: \"A visitor reads the promise, then watches the product at full width before any feature list.\" },\n { name: \"krizaka\", title: \"Krizaka\", description: \"The studio's landing: the promise, the console alive, proofs, three products in a bento.\", template: true, purpose: \"convince\", why: \"A visitor gets the promise in one screen, the product alive, the proofs and one call to act.\" },\n ],\n },\n} satisfies ComponentMeta;\n"
164
190
  },
165
191
  {
166
192
  "path": "meta.ts",
@@ -174,8 +200,8 @@
174
200
  "section-backdrop"
175
201
  ],
176
202
  "demo": {
177
- "path": "examples/landing-page/krizaka.tsx",
178
- "content": "import { Button } from \"@krizaka/ui/button\";\nimport { LandingPage } from \"@krizaka/ui/landing-page\";\nimport { Meter } from \"@krizaka/ui/meter\";\n\n// TEMPLATE — a company's landing (krizaka.com): the promise beside the product alive, a band of proofs, the features\n// as a bento where the main one takes the room, the closing call. On a phone the window follows the words, the bento\n// is one column, the proofs stack.\nexport default function LandingPageKrizaka() {\n return (\n <LandingPage\n eyebrow=\"Software studio · Montréal\"\n title=\"Products that keep what is yours\"\n lead=\"Krizaka builds sovereign AI and a platform where creators are paid — open source, on your servers or ours.\"\n actions={\n <>\n <Button variant=\"primary\" size=\"lg\">See the products</Button>\n <Button variant=\"secondary\" size=\"lg\">Read the docs</Button>\n </>\n }\n visualLabel=\"sovkora.local — console\"\n visual={\n <div className=\"grid gap-3 p-5\">\n <p className=\"font-mono text-xs text-fg-secondary\">$ npx sovkora install</p>\n <p className=\"font-mono text-xs text-fg-success\">✓ 1,284 answers this week, none left the server</p>\n <Meter label=\"Credits\" value={3800} max={12000} valueText=\"3,800 of 12,000\" showLabel />\n </div>\n }\n proofs={[\n { value: \"34\", label: \"public repositories\" },\n { value: \"Apache-2.0\", label: \"every line\" },\n { value: \"0\", label: \"telemetry calls\" },\n ]}\n featuresHeading={{ eyebrow: \"What we build\", title: \"Three products, one way of building\" }}\n features={[\n { id: \"sovkora\", size: \"lg\", title: \"Sovkora — the AI that never leaves home\", text: \"Chat, image, voice and video on your own server, one governed pipeline.\" },\n { id: \"verikora\", title: \"Verikora\", text: \"Reads your leases, contracts and invoices.\" },\n { id: \"folioviv\", title: \"Folioviv\", text: \"Running a shop in Québec, for less — coming.\" },\n { id: \"blocks\", size: \"md\", title: \"Open building blocks\", text: \"Users, billing, notifications — on Maven Central and npm.\" },\n { id: \"ui\", size: \"md\", title: \"One design system\", text: \"Krizaka UI, web and mobile, documented from its code.\" },\n ]}\n closing={{ title: \"Something to build together?\", body: \"Tell us what you need; a person answers within two days.\", actions: <Button variant=\"primary\" size=\"lg\">Contact us</Button> }}\n />\n );\n}\n"
203
+ "path": "examples/landing-page/showcase.tsx",
204
+ "content": "import { Button } from \"@krizaka/ui/button\";\nimport { LandingPage } from \"@krizaka/ui/landing-page\";\nimport { MediaCarousel } from \"@krizaka/ui/media-carousel\";\nimport { Section } from \"@krizaka/ui/page\";\n\nconst PIC = (a: string, b: string) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${a}'/><stop offset='1' stop-color='${b}'/></linearGradient></defs><rect width='1600' height='900' fill='url(#g)'/></svg>`)}`;\n\n// TEMPLATE — a home that leads with words and a full-width demo: no `visual` (a single-column hero), the quiet backdrop,\n// a carousel in `showcase` between the proofs and the features.\nexport default function LandingPageShowcase() {\n return (\n <LandingPage\n backdrop=\"quiet\"\n title=\"An AI that never leaves your server\"\n lead=\"Chat, image and voice on your own machine, every run recorded.\"\n actions={<Button variant=\"primary\" size=\"lg\">Install</Button>}\n proofs={[\n { value: \"0\", label: \"calls to the outside\" },\n { value: \"128\", label: \"runs measured, each with its record\" },\n ]}\n showcase={\n <Section spacing=\"sm\" title=\"See it work\" id=\"showcase-title\" lead=\"Three minutes, no cuts.\">\n <MediaCarousel\n label=\"Sovkora at work\"\n autoplay\n caption=\"bar\"\n textVersion\n slides={[\n { id: \"a\", src: PIC(\"#1d3f6b\", \"#4d7fb8\"), alt: \"A chat answered on the local server\", caption: \"Fig. 1a — a chat, answered locally\" },\n { id: \"b\", src: PIC(\"#23496f\", \"#6b9bc9\"), alt: \"The run's cost and model, side by side\", caption: \"Fig. 1b — the run, accounted for\" },\n ]}\n />\n </Section>\n }\n featuresHeading={{ title: \"What it does\" }}\n features={[\n { id: \"chat\", size: \"lg\", title: \"Chat\", text: \"Answers from models that run on your server.\" },\n { id: \"image\", title: \"Image\", text: \"Generated and kept in your storage.\" },\n ]}\n />\n );\n}\n"
179
205
  },
180
206
  "props": [
181
207
  {
@@ -196,13 +222,6 @@
196
222
  "description": "The promise: the page's `h1`.",
197
223
  "required": true
198
224
  },
199
- {
200
- "name": "visual",
201
- "type": "ReactNode",
202
- "default": null,
203
- "description": "The product, alive, beside the words: a recording, a live demo (framed as a window).",
204
- "required": true
205
- },
206
225
  {
207
226
  "name": "actions",
208
227
  "type": "ReactNode",
@@ -210,6 +229,13 @@
210
229
  "description": "The hero's actions (the main one cut, with shimmer).",
211
230
  "required": false
212
231
  },
232
+ {
233
+ "name": "backdrop",
234
+ "type": "\"grid\" | \"quiet\"",
235
+ "default": "grid",
236
+ "description": "The hero's backdrop: `grid` (the dome, the grid and the slow drift) or `quiet` (the still dome only: no grid layer, no drift).",
237
+ "required": false
238
+ },
213
239
  {
214
240
  "name": "closing",
215
241
  "type": "{ title: ReactNode; body?: ReactNode; actions: ReactNode; }",
@@ -245,6 +271,20 @@
245
271
  "description": "Figures or facts in a band under the hero: `{ value, label }`.",
246
272
  "required": false
247
273
  },
274
+ {
275
+ "name": "showcase",
276
+ "type": "ReactNode",
277
+ "default": null,
278
+ "description": "Full width, between the proofs and the features: a carousel, a demo, a wide plate.",
279
+ "required": false
280
+ },
281
+ {
282
+ "name": "visual",
283
+ "type": "ReactNode",
284
+ "default": null,
285
+ "description": "The product, alive, beside the words: a recording, a live demo (framed as a window). Absent: a single-column hero, no empty stage.",
286
+ "required": false
287
+ },
248
288
  {
249
289
  "name": "visualLabel",
250
290
  "type": "ReactNode",
package/registry/map.json CHANGED
@@ -1158,7 +1158,7 @@
1158
1158
  }
1159
1159
  ],
1160
1160
  "dependencies": [
1161
- "@krizaka/tokens@^4.3.0",
1161
+ "@krizaka/tokens@^4.4.0",
1162
1162
  "@protomaps/basemaps@5.7.2",
1163
1163
  "tailwind-variants@^3.3.1"
1164
1164
  ],
@@ -719,7 +719,7 @@
719
719
  }
720
720
  ],
721
721
  "dependencies": [
722
- "@krizaka/tokens@^4.3.0",
722
+ "@krizaka/tokens@^4.4.0",
723
723
  "radix-ui@^1.8.1",
724
724
  "tailwind-variants@^3.3.1"
725
725
  ],
@@ -366,6 +366,10 @@
366
366
  "path": "meta.ts",
367
367
  "content": "// The documentation of a component, carried by its code: each primitive has a `meta.ts` beside its source\n// (`src/<name>/meta.ts`; a component that exists only in React Native: `src/native/meta/<name>.ts`). Never built into\n// the package: `scripts/build-registry.mjs` reads them into `registry/<name>.json`, which ui.krizaka.com (apps/site) renders as\n// ui.krizaka.com/components/<name>, and `scripts/registry.test.mjs` fails when one is missing or incomplete.\n//\n// Why a typed module and not JSDoc tags: the fields are lists and links (`related`, `whenNotToUse[].use`, examples),\n// which a type checks and a comment does not; the file is plain data (erasable TypeScript), so Node reads it without a\n// compiler, and an editor completes it.\n\n/** Every documented component: the web primitives (one entry of the package each) and the native-only ones. */\nexport type ComponentName =\n | \"notification-preferences\"\n | \"quota-meter\"\n | \"environment-notice\"\n | \"embed-facade\"\n | \"reviews\"\n | \"margin-layout\"\n | \"analysis-report\"\n | \"status-chip\"\n | \"kind-config-editor\"\n | \"agenda\"\n | \"account-settings\"\n | \"drop-overlay\"\n | \"upload-queue\"\n | \"achievement\"\n | \"anatomy-plate\"\n | \"bird-plate\"\n | \"taped-photo\"\n | \"stuck\"\n | \"doodle\"\n | \"signature\"\n | \"grade-stamp\"\n | \"versus-card\"\n | \"speed-lines\"\n | \"site-cahier\"\n | \"text-style\"\n | \"flock\"\n | \"elephant\"\n | \"footnote\"\n | \"page-index\"\n | \"chapter\"\n | \"specimen-tag\"\n | \"action-bar\"\n | \"action-sheet\"\n | \"activity-feed\"\n | \"alert\"\n | \"app-frame\"\n | \"desktop-window\"\n | \"form-flow\"\n | \"grid\"\n | \"list-detail\"\n | \"state-screen\"\n | \"app-header\"\n | \"app-shell\"\n | \"argument-card\"\n | \"auth-layout\"\n | \"avatar\"\n | \"badge\"\n | \"button\"\n | \"captcha\"\n | \"card\"\n | \"card-grid\"\n | \"catalogue-page\"\n | \"changelog-page\"\n | \"chat\"\n | \"checkbox\"\n | \"chip\"\n | \"chip-link\"\n | \"chip-row\"\n | \"choice-grid\"\n | \"cn\"\n | \"code-block\"\n | \"combobox\"\n | \"comparison-table\"\n | \"command\"\n | \"component-page\"\n | \"confirm-button\"\n | \"copy-button\"\n | \"money-input\"\n | \"price-catalogue-editor\"\n | \"promo-code-field\"\n | \"contact-page\"\n | \"continue-prompt\"\n | \"countdown\"\n | \"cover-hero\"\n | \"cta-panel\"\n | \"dashboard-layout\"\n | \"data-table\"\n | \"date-picker\"\n | \"decision-list\"\n | \"description-list\"\n | \"detail-layout\"\n | \"dialog\"\n | \"docs-article-page\"\n | \"docs-hub-page\"\n | \"docs-layout\"\n | \"docs-nav\"\n | \"document-viewer\"\n | \"dropdown-menu\"\n | \"empty-state\"\n | \"engine-flow\"\n | \"error-page\"\n | \"fab\"\n | \"field\"\n | \"file-upload\"\n | \"filter-bar\"\n | \"force-update-screen\"\n | \"form\"\n | \"gallery-page\"\n | \"genui\"\n | \"glossary\"\n | \"glossary-term\"\n | \"glow-card\"\n | \"goal-gauge\"\n | \"header\"\n | \"image-cropper\"\n | \"image-viewer\"\n | \"kanban\"\n | \"kbd\"\n | \"kpi-explained\"\n | \"landing-page\"\n | \"landscape\"\n | \"legal-page\"\n | \"link-card\"\n | \"list\"\n | \"loader\"\n | \"longform-page\"\n | \"maintenance-screen\"\n | \"map\"\n | \"markdown\"\n | \"waveform\"\n | \"proposal\"\n | \"qr-code\"\n | \"identity-card\"\n | \"entity-header\"\n | \"collection-switcher\"\n | \"marketing-layout\"\n | \"mascot-quote\"\n | \"mascot-state\"\n | \"mascots\"\n | \"match-dialog\"\n | \"media-capture\"\n | \"language-switch\"\n | \"media-gallery\"\n | \"media-picker\"\n | \"meter\"\n | \"nav-bar\"\n | \"number-ticker\"\n | \"onboarding\"\n | \"opening-hours\"\n | \"otp-input\"\n | \"page\"\n | \"page-header\"\n | \"page-hero\"\n | \"pagination\"\n | \"permission-prompt\"\n | \"pointer-light\"\n | \"popover\"\n | \"pricing-page\"\n | \"product-page\"\n | \"profile-card\"\n | \"progress\"\n | \"promise-card\"\n | \"pull-to-refresh\"\n | \"retro-tv\"\n | \"shop-gallery\"\n | \"radio-group\"\n | \"router\"\n | \"rail-nav\"\n | \"recipes\"\n | \"screen\"\n | \"scroll-stage\"\n | \"search-field\"\n | \"section-backdrop\"\n | \"segmented\"\n | \"separator\"\n | \"service-card\"\n | \"shop\"\n | \"shop-composer\"\n | \"schema-form\"\n | \"settings-layout\"\n | \"account-menu\"\n | \"showcase\"\n | \"step-showcase\"\n | \"site-footer\"\n | \"sites\"\n | \"skeleton\"\n | \"skip-link\"\n | \"slider\"\n | \"slot-picker\"\n | \"slot\"\n | \"spinner\"\n | \"sticky-action\"\n | \"splash-handoff\"\n | \"split-view\"\n | \"stage-banner\"\n | \"stat\"\n | \"usage\"\n | \"status-page\"\n | \"step-progress\"\n | \"stepper\"\n | \"swipe-deck\"\n | \"swipeable-row\"\n | \"switch\"\n | \"tab-bar\"\n | \"tabs\"\n | \"tag-input\"\n | \"tag-selector\"\n | \"terminal-replay\"\n | \"theme\"\n | \"toast\"\n | \"toc\"\n | \"tooltip\"\n | \"tree-view\"\n | \"txt\"\n | \"update-prompt\"\n | \"verified-badge\"\n | \"vertical-video\"\n | \"video-player\"\n | \"video-trimmer\"\n | \"virtual\"\n | \"wall\";\n\n/** Where a component exists: `@krizaka/ui/<name>` (web), `@krizaka/ui/native` (React Native), or both. */\nexport type Platform = \"web\" | \"native\" | \"both\";\n\n/**\n * Why a component is not on a platform — a decision, never a silence (the parity matrix of ui.krizaka.com/platforms):\n * - `gap` (✗): it belongs there and is not built yet; `issue` is the issue that tracks it (`krizaka/krizaka-ui#275`);\n * - `n/a`: it is not meant for that platform (a site's page block on a phone, a swipe on a desktop); `use` names the\n * component that answers there, when one does.\n */\nexport type Absence =\n | { readonly status: \"gap\"; readonly issue: string; readonly reason: string; readonly use?: undefined }\n | { readonly status: \"n/a\"; readonly reason: string; readonly use?: ComponentName; readonly issue?: undefined };\n\n/**\n * Desktop is the Sovkora Mac app (Tauri 2: the system WebView renders the web components — ADR-002). `web`: the web\n * component runs there as it is; `desktop`: it also has a desktop form (a window's title bar, a denser layout…), said in\n * its documentation; otherwise the absence and why.\n */\nexport type DesktopSupport = \"web\" | \"desktop\" | Absence;\n\n/**\n * The three platforms of Krizaka UI — web · native (React Native, Expo) · desktop — for one component. The side a\n * component has is `platforms`; the side it lacks says why here: `native` is required for (and only for) a web-only\n * component, `web` for a native-only one; `desktop` always. `scripts/registry.test.mjs` fails on a missing decision.\n */\nexport interface Parity {\n readonly web?: Absence;\n readonly native?: Absence;\n readonly desktop: DesktopSupport;\n}\n\n/**\n * `experimental`: created for a filed need (ADR-008 §4), it may change or go in any minor until its first consumer imports it; `adoption`\n * names that consumer's issue. `stable`: its API only changes in a major. `beta`: it may still change in a minor. `deprecated`: no product uses it and\n * no work plans to — it still works, says what replaces it, and goes in the major named by `deprecated.removedIn`.\n */\nexport type Status = \"experimental\" | \"stable\" | \"beta\" | \"deprecated\";\n\n/**\n * What a component is for (ADR-008 §3): the thirteen domains the documentation, the size budgets and the guards are\n * organised by. The domain is metadata: the entries stay flat (`@krizaka/ui/<name>`). `cahier` is the sites' register\n * (ADR-004): a product never imports it.\n */\nexport type Domain =\n | \"foundations\"\n | \"forms\"\n | \"data-display\"\n | \"navigation-shell\"\n | \"feedback\"\n | \"maps\"\n | \"media\"\n | \"commerce\"\n | \"identity\"\n | \"abuse\"\n | \"conversation\"\n | \"page-blocks\"\n | \"cahier\";\n\n/** What a deprecated component says (required when `status` is `deprecated`, absent otherwise). */\nexport interface Deprecation {\n /** The version that deprecated it (`3.6.0`). */\n readonly since: string;\n /** The major that removes it (`4.0.0`). */\n readonly removedIn: string;\n /** What replaces it, when a component does. */\n readonly use?: ComponentName;\n /** Why it goes: no product uses it, no planned work needs it. */\n readonly reason: string;\n}\n\n/**\n * The group of the catalogue. `media`: video, sound, camera, files, cropping. `blocks`: the page blocks — the frame,\n * the hero, sections, cards that lead or argue, decisions, code, calls to act — that every page of a site is made of.\n * `layouts`: the shells of whole screens — an application, a dashboard, settings, sign-in, an object, a list and its\n * item, a site's page, a documentation page — each with its screens. `templates`: the page templates — whole pages of a\n * site (a landing, a product, a docs hub, a long read, a changelog, pricing, status, an error…), each a distinct\n * composition of the blocks, words and content as props.\n */\nexport type Category = \"actions\" | \"forms\" | \"navigation\" | \"overlays\" | \"feedback\" | \"data-display\" | \"media\" | \"blocks\" | \"layouts\" | \"templates\" | \"layout\" | \"foundations\";\n\n/** Why a reader needs a template: the seven intents the templates are grouped by (sidebar sub-headings, catalogue filter). */\nexport type TemplatePurpose = \"convince\" | \"explain\" | \"show\" | \"act\" | \"operate\" | \"converse\" | \"recover\";\n\n/** The groups of templates, in reading order: the title, and the one line that says when to come to that group. */\nexport const templatePurposes = {\n convince: { title: \"Convince\", useWhen: \"You come here when a visitor must decide: a landing, a product, a price, a comparison, a proof.\" },\n explain: { title: \"Explain\", useWhen: \"You come here when a reader must understand: how it works, a documentation hub or article, a changelog, a FAQ, a policy.\" },\n show: { title: \"Show\", useWhen: \"You come here when the work itself is the argument: a gallery, a story, a case study, an object and its details.\" },\n act: { title: \"Act\", useWhen: \"You come here when a person must do something once: reach the team, sign in or up, set up, pay.\" },\n operate: { title: \"Operate\", useWhen: \"You come here when a person works every day: a dashboard, a console with a table, settings, an app shell.\" },\n converse: { title: \"Converse\", useWhen: \"You come here when people talk: an inbox, a chat, comments, a notifications centre.\" },\n recover: { title: \"Recover\", useWhen: \"You come here when the way is blocked: an empty list, an error, a missing page, maintenance, a product still being built.\" },\n} as const satisfies Record<TemplatePurpose, { readonly title: string; readonly useWhen: string }>;\n\n/**\n * A named example: the file `registry/examples/<component>/<name>.tsx` (web) or\n * `registry/examples/<component>/native/<name>.tsx` (React Native) — at most 40 lines, imported by the stories and\n * shown (live, with its code) by the documentation.\n */\ninterface ExampleBase {\n /** The file name, kebab-case (`primary`, `icon-button`). */\n readonly name: string;\n /** A short title (`Primary`, `Icon button`). */\n readonly title: string;\n /** One or two sentences: when this variant is the right one. */\n readonly description: string;\n}\n\n/** A plain example, or a template: a whole screen with its intent (`purpose`) and the user goal its layout serves (`why`). */\nexport type Example =\n | (ExampleBase & { readonly template?: false; readonly purpose?: undefined; readonly why?: undefined })\n | (ExampleBase & {\n /**\n * A template: a whole screen of a product composed from the platform (a layout and its blocks, real words, its\n * phone version thought out), copied as a starting point — at most 160 lines, listed on ui.krizaka.com/templates.\n */\n readonly template: true;\n /** The intent that groups it: why you need this block. */\n readonly purpose: TemplatePurpose;\n /** Why this layout: the user goal it serves, in one sentence. */\n readonly why: string;\n });\n\n/** One platform's side of a component. */\nexport interface PlatformDocs {\n /** The names to import (`[\"Button\", \"IconButton\"]`): from `@krizaka/ui/<name>` on the web, `@krizaka/ui/native` in React Native. */\n readonly imports: readonly string[];\n /** The examples, in reading order; the first one is the component's preview. */\n readonly examples: readonly Example[];\n}\n\n/** The React Native side: the same concept, and what differs from the web API. */\nexport interface NativeDocs extends PlatformDocs {\n /**\n * The entry to import from when it is not `@krizaka/ui/native`: a component that needs an Expo module (an optional\n * peer) has its own, `@krizaka/ui/native/<name>`, so an app that does not use it never installs the module.\n */\n readonly entry?: string;\n /** What differs from the web API (`label` instead of children…); empty for a native-only component. */\n readonly differences: readonly string[];\n /** The React Native entry alone is deprecated while the web one stays (ADR-006 §7); a deprecated component says it once, above. */\n readonly deprecated?: Deprecation;\n}\n\nexport interface KeyboardInteraction {\n /** The keys, as written on a keyboard: `Space`, `Enter`, `Arrow keys`, `Esc`, `Tab`. */\n readonly keys: string;\n /** What they do. */\n readonly action: string;\n}\n\nexport interface ComponentMeta {\n /** The display name: `Button`, `Dropdown menu`. */\n readonly title: string;\n /** One sentence: what it is. */\n readonly summary: string;\n readonly status: Status;\n /** Required for, and only for, a `deprecated` component. */\n readonly deprecated?: Deprecation;\n readonly category: Category;\n /** What it is for: one of the twelve domains (ADR-008 §3). */\n readonly domain: Domain;\n /** The `<repo>#<n>` issue of its first consumer: required for, and only for, an `experimental` component. */\n readonly adoption?: string;\n /** Must match the sides below: `both` ⇔ `web` and `native`. */\n readonly platforms: Platform;\n /** The platforms it is not on, and why; and its desktop form (see `Parity`). */\n readonly parity: Parity;\n /** When to reach for it: concrete situations, one per item. */\n readonly whenToUse: readonly string[];\n /** When not to — and what to use instead (`use`), when another component is the answer. */\n readonly whenNotToUse: readonly { readonly when: string; readonly use?: ComponentName }[];\n /** How to use it well: wording, placement, composition. */\n readonly bestPractices: readonly string[];\n readonly accessibility: {\n /** The keyboard, when it does more than Tab and Enter. */\n readonly keyboard: readonly KeyboardInteraction[];\n /** Roles, names and announcements: what the component does, what the app must provide. */\n readonly notes: readonly string[];\n };\n /** The components a reader of this page should know about. */\n readonly related: readonly ComponentName[];\n readonly web?: PlatformDocs;\n readonly native?: NativeDocs;\n}\n"
368
368
  },
369
+ {
370
+ "path": "page/hero-stage.tsx",
371
+ "content": "// Server-safe. The window of a split hero (LandingPage, ProductPage): the product alive, framed as a plate with its caption bar.\nimport type * as React from \"react\";\n\n/** The framed `figure` of a hero's visual; its bar (the caption) is decorative. */\nexport function HeroStage({ visual, label }: { visual: React.ReactNode; label?: React.ReactNode }) {\n return (\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {label && <span>{label}</span>}\n </div>\n {visual}\n </figure>\n );\n}\n"
372
+ },
369
373
  {
370
374
  "path": "page/index.ts",
371
375
  "content": "/** @krizaka/ui/page — the page frame: `Page` (width, gutters), `Section` (+ `SectionHeading`), `Facts`, `Ticks`, `PaperGrain`. Server-safe. */\nexport { type Fact, Facts, type FactsProps, Page, type PagePaper, type PageProps, type PageSize, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Ticks, type TicksProps } from \"./page\";\nexport { PAPER_GRAIN_ID, PaperGrain } from \"./paper-grain\";\n"
@@ -206,7 +206,7 @@
206
206
  },
207
207
  {
208
208
  "path": "product-page/product-page.tsx",
209
- "content": "// Server-safe. A product's overview: the hero with the product's mark, its promise, facts and main action beside a live\n// window of the product; the traps it removes as compact argument cards; its decisions with their cost; the promise a\n// bird keeps; the closing call. Under the product's brand (`brand` → `.brand-<id>`).\nimport { ArgumentCard } from \"@krizaka/ui/argument-card\";\nimport { CardGrid } from \"@krizaka/ui/card-grid\";\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { type Decision, DecisionList } from \"@krizaka/ui/decision-list\";\nimport { MascotQuote } from \"@krizaka/ui/mascot-quote\";\nimport type { MascotBird } from \"@krizaka/ui/mascots\";\nimport { type Fact, Facts, Page, Section } from \"@krizaka/ui/page\";\nimport type { LinkComponent } from \"@krizaka/ui/page-hero\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { warnDeprecated } from \"../deprecated\";\n\nexport interface ProductReason {\n /** A stable key (the card's anchor). */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** The trap elsewhere, in one line. */\n trap: React.ReactNode;\n /** The signature icon. */\n icon?: React.ReactNode;\n /** The bird in the corner (whose rule it is). */\n mark?: React.ReactNode;\n /** Where the long version lives (a page) — or nothing, and the card stays its face. */\n href?: string;\n}\n\nexport type ProductPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The product's brand (`sovkora`, `verikora`…): the page wears `.brand-<id>`. */\n brand?: string;\n /** The product's mark and name, above the title. */\n mark?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** Facts under the lead (open source, a law it keeps). */\n facts?: readonly Fact[];\n /** The hero's actions. */\n actions?: React.ReactNode;\n /** The product alive, in a window beside the words. */\n visual?: React.ReactNode;\n /** The window's caption. */\n visualLabel?: React.ReactNode;\n /** The reasons' section heading. */\n reasonsHeading: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The words of the cards: the trap's label (read, not shown) and the way in. */\n reasonLabels: { trap: string; more: React.ReactNode };\n /** The traps it removes. */\n reasons: readonly ProductReason[];\n /** The decisions' section: heading, decisions and their four labels. */\n decisions?: { eyebrow?: React.ReactNode; title: React.ReactNode; items: readonly Decision[]; labels: { chose: React.ReactNode; refused: React.ReactNode; because: React.ReactNode; cost: React.ReactNode } };\n /** The promise a bird keeps, under the decisions. */\n promise?: { bird: MascotBird; label: React.ReactNode; text: React.ReactNode };\n /** More sections between the decisions and the closing call (the tour, the platform, a comparison). */\n children?: React.ReactNode;\n /** The closing call. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n /** The app's link component (Next's `Link`). */\n linkAs?: LinkComponent;\n};\n\n/**\n * A product's overview: split hero, traps as compact cards, decisions with their cost, the bird's promise, closing call.\n * @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.\n */\nexport function ProductPage({ brand, mark, title, lead, facts, actions, visual, visualLabel, reasonsHeading, reasonLabels, reasons, decisions, promise, closing, linkAs, className, children, ...props }: ProductPageProps) {\n warnDeprecated(\"product-page\");\n return (\n <div className={cn(brand && \"brand-\" + brand, className)} {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page>\n <div className={visual ? \"kz-tpl-split\" : undefined}>\n <div className=\"kz-hero-text\">\n {mark && <p className=\"kz-eyebrow\">{mark}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {(facts || actions) && (\n <div className=\"kz-hero-extra\">\n {facts && <Facts items={facts} />}\n {actions && <div className=\"kz-tpl-actions\">{actions}</div>}\n </div>\n )}\n </div>\n {visual && (\n <figure className=\"kz-tpl-stage\">\n <div className=\"kz-tpl-stage-bar\" aria-hidden>\n {visualLabel && <span>{visualLabel}</span>}\n </div>\n {visual}\n </figure>\n )}\n </div>\n </Page>\n </SectionBackdrop>\n <Section id=\"why\" eyebrow={reasonsHeading.eyebrow} title={reasonsHeading.title} lead={reasonsHeading.lead} reveal>\n <CardGrid min={260} fit=\"fit\">\n {reasons.map((r) => (\n <ArgumentCard\n key={r.id}\n id={`why-${r.id}`}\n icon={r.icon}\n title={r.title}\n mark={r.mark}\n hook={{ label: reasonLabels.trap, text: r.trap }}\n more={r.href ? { href: r.href, label: reasonLabels.more } : undefined}\n linkAs={linkAs}\n />\n ))}\n </CardGrid>\n </Section>\n {decisions && (\n <Section id=\"decisions\" eyebrow={decisions.eyebrow} title={decisions.title} divider reveal>\n <DecisionList decisions={decisions.items} labels={decisions.labels} />\n {promise && (\n <div className=\"kz-tpl-promise\">\n <MascotQuote variant=\"callout\" bird={promise.bird} mood=\"welcome\" label={promise.label}>\n {promise.text}\n </MascotQuote>\n </div>\n )}\n </Section>\n )}\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"product-closing\">\n <CtaPanel id=\"product-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"
209
+ "content": "// Server-safe. A product's overview: the hero with the product's mark, its promise, facts and main action beside a live\n// window of the product; the traps it removes as compact argument cards; its decisions with their cost; the promise a\n// bird keeps; the closing call. Under the product's brand (`brand` → `.brand-<id>`).\nimport { ArgumentCard } from \"@krizaka/ui/argument-card\";\nimport { CardGrid } from \"@krizaka/ui/card-grid\";\nimport { CtaPanel } from \"@krizaka/ui/cta-panel\";\nimport { type Decision, DecisionList } from \"@krizaka/ui/decision-list\";\nimport { MascotQuote } from \"@krizaka/ui/mascot-quote\";\nimport type { MascotBird } from \"@krizaka/ui/mascots\";\nimport { type Fact, Facts, Page, Section } from \"@krizaka/ui/page\";\nimport type { LinkComponent } from \"@krizaka/ui/page-hero\";\nimport { SectionBackdrop } from \"@krizaka/ui/section-backdrop\";\nimport type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { warnDeprecated } from \"../deprecated\";\nimport { HeroStage } from \"../page/hero-stage\";\n\nexport interface ProductReason {\n /** A stable key (the card's anchor). */\n id: string;\n /** Its name. */\n title: React.ReactNode;\n /** The trap elsewhere, in one line. */\n trap: React.ReactNode;\n /** The signature icon. */\n icon?: React.ReactNode;\n /** The bird in the corner (whose rule it is). */\n mark?: React.ReactNode;\n /** Where the long version lives (a page) — or nothing, and the card stays its face. */\n href?: string;\n}\n\nexport type ProductPageProps = Omit<React.HTMLAttributes<HTMLElement>, \"title\"> & {\n /** The product's brand (`sovkora`, `verikora`…): the page wears `.brand-<id>`. */\n brand?: string;\n /** The product's mark and name, above the title. */\n mark?: React.ReactNode;\n /** The promise: the page's `h1`. */\n title: React.ReactNode;\n /** One or two sentences under it. */\n lead?: React.ReactNode;\n /** Facts under the lead (open source, a law it keeps). */\n facts?: readonly Fact[];\n /** The hero's actions. */\n actions?: React.ReactNode;\n /** The product alive, in a window beside the words. */\n visual?: React.ReactNode;\n /** The window's caption. */\n visualLabel?: React.ReactNode;\n /** The reasons' section heading. */\n reasonsHeading: { eyebrow?: React.ReactNode; title: React.ReactNode; lead?: React.ReactNode };\n /** The words of the cards: the trap's label (read, not shown) and the way in. */\n reasonLabels: { trap: string; more: React.ReactNode };\n /** The traps it removes. */\n reasons: readonly ProductReason[];\n /** The decisions' section: heading, decisions and their four labels. */\n decisions?: { eyebrow?: React.ReactNode; title: React.ReactNode; items: readonly Decision[]; labels: { chose: React.ReactNode; refused: React.ReactNode; because: React.ReactNode; cost: React.ReactNode } };\n /** The promise a bird keeps, under the decisions. */\n promise?: { bird: MascotBird; label: React.ReactNode; text: React.ReactNode };\n /** More sections between the decisions and the closing call (the tour, the platform, a comparison). */\n children?: React.ReactNode;\n /** The closing call. */\n closing?: { title: React.ReactNode; body?: React.ReactNode; actions: React.ReactNode };\n /** The app's link component (Next's `Link`). */\n linkAs?: LinkComponent;\n};\n\n/**\n * A product's overview: split hero, traps as compact cards, decisions with their cost, the bird's promise, closing call.\n * @deprecated Since 3.55 (ADR-006, krizaka-ui#674): no product uses it. Removed in 4.0.\n */\nexport function ProductPage({ brand, mark, title, lead, facts, actions, visual, visualLabel, reasonsHeading, reasonLabels, reasons, decisions, promise, closing, linkAs, className, children, ...props }: ProductPageProps) {\n warnDeprecated(\"product-page\");\n return (\n <div className={cn(brand && \"brand-\" + brand, className)} {...props}>\n <SectionBackdrop as=\"header\" grid className=\"kz-hero\">\n <Page>\n <div className={visual ? \"kz-tpl-split\" : undefined}>\n <div className=\"kz-hero-text\">\n {mark && <p className=\"kz-eyebrow\">{mark}</p>}\n <h1 className=\"kz-hero-title\">{title}</h1>\n {lead && <p className=\"kz-hero-lead\">{lead}</p>}\n {(facts || actions) && (\n <div className=\"kz-hero-extra\">\n {facts && <Facts items={facts} />}\n {actions && <div className=\"kz-tpl-actions\">{actions}</div>}\n </div>\n )}\n </div>\n {visual && <HeroStage visual={visual} label={visualLabel} />}\n </div>\n </Page>\n </SectionBackdrop>\n <Section id=\"why\" eyebrow={reasonsHeading.eyebrow} title={reasonsHeading.title} lead={reasonsHeading.lead} reveal>\n <CardGrid min={260} fit=\"fit\">\n {reasons.map((r) => (\n <ArgumentCard\n key={r.id}\n id={`why-${r.id}`}\n icon={r.icon}\n title={r.title}\n mark={r.mark}\n hook={{ label: reasonLabels.trap, text: r.trap }}\n more={r.href ? { href: r.href, label: reasonLabels.more } : undefined}\n linkAs={linkAs}\n />\n ))}\n </CardGrid>\n </Section>\n {decisions && (\n <Section id=\"decisions\" eyebrow={decisions.eyebrow} title={decisions.title} divider reveal>\n <DecisionList decisions={decisions.items} labels={decisions.labels} />\n {promise && (\n <div className=\"kz-tpl-promise\">\n <MascotQuote variant=\"callout\" bird={promise.bird} mood=\"welcome\" label={promise.label}>\n {promise.text}\n </MascotQuote>\n </div>\n )}\n </Section>\n )}\n {children}\n {closing && (\n <Section spacing=\"sm\" aria-labelledby=\"product-closing\">\n <CtaPanel id=\"product-closing\" title={closing.title} body={closing.body} reveal>\n {closing.actions}\n </CtaPanel>\n </Section>\n )}\n </div>\n );\n}\n"
210
210
  }
211
211
  ],
212
212
  "dependencies": [],
@@ -344,7 +344,7 @@
344
344
  }
345
345
  ],
346
346
  "dependencies": [
347
- "@krizaka/tokens@^4.3.0",
347
+ "@krizaka/tokens@^4.4.0",
348
348
  "radix-ui@^1.8.1",
349
349
  "tailwind-variants@^3.3.1"
350
350
  ],
@@ -700,7 +700,7 @@
700
700
  }
701
701
  ],
702
702
  "dependencies": [
703
- "@krizaka/tokens@^4.3.0",
703
+ "@krizaka/tokens@^4.4.0",
704
704
  "zod@^4.6.7"
705
705
  ],
706
706
  "registryDependencies": [
@@ -381,7 +381,7 @@
381
381
  ],
382
382
  "dependencies": [
383
383
  "@krizaka/icons@^0.10.0",
384
- "@krizaka/tokens@^4.3.0",
384
+ "@krizaka/tokens@^4.4.0",
385
385
  "radix-ui@^1.8.1",
386
386
  "tailwind-variants@^3.3.1"
387
387
  ],