@krizaka/ui 4.2.0 → 4.2.1

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.
@@ -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<6 | 3 | 4>, z.ZodMiniLiteral<6 | 3 | 4>]>;
91
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 4 | 6>, z.ZodMiniLiteral<3 | 4 | 6>]>;
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";
package/dist/shop.d.ts CHANGED
@@ -1,5 +1,5 @@
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';
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';
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/dist/virtual.d.ts CHANGED
@@ -6,8 +6,8 @@ import * as React from 'react';
6
6
  declare const virtual: tailwind_variants.TVReturnType<{
7
7
  [key: string]: {
8
8
  [key: string]: tailwind_variants.ClassValue | {
9
- list?: tailwind_variants.ClassValue;
10
9
  viewport?: tailwind_variants.ClassValue;
10
+ list?: tailwind_variants.ClassValue;
11
11
  item?: tailwind_variants.ClassValue;
12
12
  row?: tailwind_variants.ClassValue;
13
13
  empty?: tailwind_variants.ClassValue;
@@ -16,8 +16,8 @@ declare const virtual: tailwind_variants.TVReturnType<{
16
16
  } | {
17
17
  [x: string]: {
18
18
  [x: string]: tailwind_variants.ClassValue | {
19
- list?: tailwind_variants.ClassValue;
20
19
  viewport?: tailwind_variants.ClassValue;
20
+ list?: tailwind_variants.ClassValue;
21
21
  item?: tailwind_variants.ClassValue;
22
22
  row?: tailwind_variants.ClassValue;
23
23
  empty?: tailwind_variants.ClassValue;
@@ -32,8 +32,8 @@ declare const virtual: tailwind_variants.TVReturnType<{
32
32
  }, undefined, {
33
33
  [key: string]: {
34
34
  [key: string]: tailwind_variants.ClassValue | {
35
- list?: tailwind_variants.ClassValue;
36
35
  viewport?: tailwind_variants.ClassValue;
36
+ list?: tailwind_variants.ClassValue;
37
37
  item?: tailwind_variants.ClassValue;
38
38
  row?: tailwind_variants.ClassValue;
39
39
  empty?: tailwind_variants.ClassValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
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.2.0",
1015
+ "@krizaka/tailwind": ">=4.2.1",
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/icons": "^0.10.0",
3483
+ "@krizaka/pacer": "^0.2.0",
3484
+ "@krizaka/tokens": "^4.2.1",
3484
3485
  "@krizaka/intl": "^0.4.1",
3485
- "@krizaka/tokens": "^4.2.0",
3486
- "@krizaka/pacer": "^0.2.0"
3486
+ "@krizaka/icons": "^0.10.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",
@@ -201,6 +201,14 @@
201
201
  "module": "@krizaka/ui/registry/examples/analysis-report/lease-review",
202
202
  "code": "import { AnalysisReport, type AnalysisReportLabels } from \"@krizaka/ui/analysis-report\";\n\n// The words come from the app's messages (demo wording here).\nconst labels: AnalysisReportLabels = {\n status: { inconsistent: \"Not compliant\", attention: \"To check\", unverified: \"Not applicable\", consistent: \"Respected\" },\n findings: \"Findings\", mayIndicate: \"May indicate\", location: \"Where:\", evidence: \"Evidence\", details: \"Details\",\n limits: \"What this report did not examine\", nextSteps: \"Next steps\", provenance: \"Provenance\",\n model: \"Ruleset\", runId: \"Run\", duration: \"Duration\", version: \"Version\",\n copyJson: \"Copy JSON\", copyMarkdown: \"Copy Markdown\", copied: \"Copied\", streaming: \"Findings are arriving\", noFindings: \"No finding.\",\n};\n\nexport default function AnalysisReportLeaseReview() {\n return (\n <AnalysisReport\n labels={labels}\n title=\"Lease review\"\n summary=\"One clause goes against the Civil Code; two others are worth a second look.\"\n status=\"inconsistent\"\n folded={[\"consistent\", \"unverified\"]}\n provenanceFolded\n hideActions\n findings={[\n { id: \"1\", status: \"inconsistent\", title: \"Deposit requested\", quote: \"The tenant pays a deposit of one month's rent on signing.\", reference: { label: \"C.c.Q., art. 1904, al. 1\", href: \"https://www.legisquebec.gouv.qc.ca/en/document/cs/CCQ-1991\" }, location: \"clause 6\" },\n { id: \"2\", status: \"attention\", title: \"Notice to change the rent\", quote: \"The landlord may revise the rent with a notice of 30 days.\", reference: { label: \"C.c.Q., art. 1942\" }, location: \"clause 9\" },\n { id: \"3\", status: \"consistent\", title: \"Term of the lease\", quote: \"The lease runs for twelve months from July 1.\", reference: { label: \"C.c.Q., art. 1851\" } },\n { id: \"4\", status: \"unverified\", title: \"Parking space\", observation: \"The lease does not mention a parking space.\" },\n ]}\n limits={[\"The building's by-laws were not provided.\"]}\n nextSteps={[\"Ask the landlord to remove the deposit clause.\"]}\n provenance={{ model: \"lease-rules\", runId: \"run_5c20be\", version: \"2026.11\" }}\n />\n );\n}\n"
203
203
  },
204
+ {
205
+ "name": "long-address",
206
+ "title": "A long unbroken token",
207
+ "description": "An address, a URL or an identifier with no space wraps in the finding text, the quote and the reference at phone width.",
208
+ "path": "examples/analysis-report/long-address.tsx",
209
+ "module": "@krizaka/ui/registry/examples/analysis-report/long-address",
210
+ "code": "import { AnalysisReport, type AnalysisReportLabels } from \"@krizaka/ui/analysis-report\";\n\n// The words come from the app's messages (demo wording here).\nconst labels: AnalysisReportLabels = {\n status: { inconsistent: \"Fails\", attention: \"Check\", unverified: \"Unknown\", consistent: \"Passes\" },\n findings: \"Results\", mayIndicate: \"Could mean\", location: \"At:\", evidence: \"Proof\", details: \"More\",\n limits: \"Not examined\", nextSteps: \"What to do\", provenance: \"Origin\",\n model: \"Rules\", runId: \"Id\", duration: \"Time\", version: \"Build\",\n copyJson: \"JSON\", copyMarkdown: \"Markdown\", copied: \"Done\", streaming: \"Loading\", noFindings: \"Nothing.\",\n};\n\n\nconst address = \"1234-rue-Sainte-Catherine-Ouest-appartement-5-Montreal-Quebec-H3B1A7-Canada-adresse-du-logement-loue-sans-espace-ni-tiret-final\";\n\n// A token with no space (an address, a URL, an identifier) wraps inside the card instead of leaving the screen.\nexport default function AnalysisReportLongAddress() {\n return (\n <AnalysisReport\n labels={labels}\n title=\"Lease review\"\n summary=\"The address of the dwelling is read as one long token.\"\n status=\"attention\"\n hideActions\n findings={[{ id: \"1\", status: \"attention\", title: \"Address to confirm\", observation: address, quote: address, reference: { label: address } }]}\n />\n );\n}\n"
211
+ },
204
212
  {
205
213
  "name": "authenticity",
206
214
  "title": "An authenticity check",
@@ -349,7 +357,7 @@
349
357
  "files": [
350
358
  {
351
359
  "path": "analysis-report/analysis-report.tsx",
352
- "content": "// Client (the copy buttons, the folds). The result of an AI analysis, read in five seconds then deeper on demand: a header\n// (studio, one sentence, overall status, counts), findings grouped by status (the most serious first), the limits and the\n// next steps as a calm two-column section, a provenance footer, and copy as JSON / Markdown. Words arrive as props.\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { Badge } from \"../badge/badge\";\nimport { Button } from \"../button/button\";\nimport {\n type AnalysisExport,\n type AnalysisFinding,\n type AnalysisReportData,\n type AnalysisReportLabels,\n type AnalysisStatus,\n countByStatus,\n exportReport,\n groupFindings,\n} from \"./model\";\n\nexport const analysisReportStyles = tv({\n slots: {\n root: \"flex w-full flex-col gap-6 text-fg\",\n header: \"flex items-start gap-4\",\n headText: \"flex min-w-0 flex-1 flex-col gap-2\",\n title: \"font-display text-xl font-bold tracking-tight text-fg\",\n summary: \"text-base text-fg-secondary\",\n counts: \"flex flex-wrap items-center gap-2\",\n actions: \"flex flex-wrap gap-2\",\n group: \"flex flex-col gap-3\",\n groupTitle: \"text-sm font-semibold text-fg-secondary\",\n list: \"flex flex-col gap-3\",\n finding: \"flex min-w-0 flex-col gap-2 rounded-lg border border-border-default bg-surface-1 p-4\",\n findingHead: \"flex flex-wrap items-center gap-2\",\n code: \"font-mono text-xs text-fg-secondary\",\n findingTitle: \"text-base font-semibold text-fg\",\n muted: \"text-sm text-fg-secondary\",\n locate: \"w-fit\",\n fold: \"text-sm text-fg-secondary\",\n quote: \"m-0 break-words text-sm text-fg-secondary\",\n reference: \"w-fit max-w-full break-words text-sm font-semibold text-fg-accent\",\n referenceLink: \"rounded-sm underline underline-offset-2 focus-visible:focus-ring\",\n evidence: \"mt-2 overflow-x-auto rounded-md border border-border-default bg-surface-2 p-3 font-mono text-xs text-fg focus-visible:focus-ring\",\n foldSummary: \"w-fit cursor-pointer rounded-sm font-semibold text-fg-accent focus-visible:focus-ring\",\n columns: \"grid gap-6 border-t border-border-default pt-6 @lg:grid-cols-2\",\n column: \"flex flex-col gap-2\",\n columnTitle: \"text-sm font-semibold text-fg\",\n items: \"flex list-disc flex-col gap-1 pl-5 text-sm text-fg-secondary\",\n provenance: \"flex flex-wrap gap-x-6 gap-y-1 border-t border-border-default pt-4 text-xs text-fg-secondary\",\n provenanceFold: \"border-t border-border-default pt-4 text-xs text-fg-secondary\",\n provenanceList: \"mt-2 flex flex-wrap gap-x-6 gap-y-1\",\n term: \"font-semibold text-fg\",\n live: \"text-sm text-fg-secondary\",\n },\n});\n\nconst TONE = { inconsistent: \"danger\", attention: \"warning\", unverified: \"neutral\", consistent: \"success\" } as const satisfies Record<AnalysisStatus, string>;\n\nexport type AnalysisReportProps = Omit<React.ComponentProps<\"section\">, \"title\" | \"children\"> &\n AnalysisReportData & {\n /** Every word the report prints, passed translated (statuses, section titles, buttons). */\n labels: AnalysisReportLabels;\n /** The pack's bird (a mark of `@krizaka/ui/mascots`), shown beside the studio's name. */\n mark?: React.ReactNode;\n /** Findings are still arriving: the list is announced politely and marked busy. */\n streaming?: boolean;\n /** Makes a finding's location a button (scroll a document viewer to it). */\n onLocate?: (finding: AnalysisFinding) => void;\n /** Called after the report is copied (`json` or `markdown`), with the copied text. Without a clipboard, the app can copy it here. */\n onCopy?: (kind: AnalysisExport, text: string) => void;\n /** Hides the copy buttons (a read-only embed). */\n hideActions?: boolean;\n /** Status groups closed by default (a native `details`, the count in its summary): « respected », « not applicable ». */\n folded?: readonly AnalysisStatus[];\n /** The provenance (run id, ruleset, version) in one closed fold, titled `labels.provenance`. */\n provenanceFolded?: boolean;\n };\n\nfunction FindingCard({ finding, labels, onLocate }: { finding: AnalysisFinding; labels: AnalysisReportLabels; onLocate?: AnalysisReportProps[\"onLocate\"] }) {\n const s = analysisReportStyles();\n return (\n <li className={s.finding()}>\n <div className={s.findingHead()}>\n <Badge tone={TONE[finding.status]} dot>\n {labels.status[finding.status]}\n </Badge>\n {finding.code ? <span className={s.code()}>{finding.code}</span> : null}\n </div>\n <h4 className={s.findingTitle()}>{finding.title}</h4>\n {finding.observation ? <p className={s.muted()}>{finding.observation}</p> : null}\n {finding.mayIndicate ? (\n <p className={s.muted()}>\n <span className={s.term()}>{labels.mayIndicate}</span> {finding.mayIndicate}\n </p>\n ) : null}\n {finding.quote ? <p className={s.quote()}>« {finding.quote} »</p> : null}\n {finding.reference ? (\n <p className={s.reference()}>\n {finding.reference.href ? (\n <a href={finding.reference.href} className={s.referenceLink()}>\n {finding.reference.label}\n </a>\n ) : (\n finding.reference.label\n )}\n </p>\n ) : null}\n {finding.location ? (\n onLocate ? (\n <Button variant=\"ghost\" size=\"sm\" className={s.locate()} onClick={() => onLocate(finding)}>\n {labels.location} {finding.location}\n </Button>\n ) : (\n <p className={s.muted()}>\n <span className={s.term()}>{labels.location}</span> {finding.location}\n </p>\n )\n ) : null}\n {finding.evidence ? (\n <details className={s.fold()}>\n <summary className={s.foldSummary()}>{labels.evidence}</summary>\n <pre tabIndex={0} className={s.evidence()}>\n <code>{finding.evidence}</code>\n </pre>\n </details>\n ) : null}\n </li>\n );\n}\n\nfunction TextColumn({ title, items }: { title: string; items: readonly string[] | undefined }) {\n const s = analysisReportStyles();\n if (!items?.length) return null;\n return (\n <section className={s.column()}>\n <h3 className={s.columnTitle()}>{title}</h3>\n <ul className={s.items()}>\n {items.map((i) => (\n <li key={i}>{i}</li>\n ))}\n </ul>\n </section>\n );\n}\n\nfunction Provenance({ data, labels, folded }: { data: NonNullable<AnalysisReportData[\"provenance\"]>; labels: AnalysisReportLabels; folded?: boolean }) {\n const s = analysisReportStyles();\n const rows = [\n [labels.model, data.model],\n [labels.runId, data.runId],\n [labels.duration, data.duration],\n [labels.version, data.version],\n ].filter((r): r is [string, string] => Boolean(r[1]));\n if (!rows.length) return null;\n const list = (\n <dl aria-label={folded ? undefined : labels.provenance} className={folded ? s.provenanceList() : s.provenance()}>\n {rows.map(([k, v]) => (\n <div key={k} className=\"flex min-w-0 gap-1.5\">\n <dt className={s.term()}>{k}</dt>\n <dd className=\"min-w-0 break-all font-mono\">{v}</dd>\n </div>\n ))}\n </dl>\n );\n if (!folded) return list;\n return (\n <details className={s.provenanceFold()}>\n <summary className={s.foldSummary()}>{labels.provenance}</summary>\n {list}\n </details>\n );\n}\n\n/** The result of an AI analysis: summary, findings by status, limits, next steps, provenance, copy as JSON or Markdown. */\nexport function AnalysisReport({ title, summary, status, findings, limits, nextSteps, provenance, labels, mark, streaming, onLocate, onCopy, hideActions, folded, provenanceFolded, className, ...props }: AnalysisReportProps) {\n const s = analysisReportStyles();\n const [copied, setCopied] = React.useState<AnalysisExport | null>(null);\n const report: AnalysisReportData = { title, summary, status, findings, limits, nextSteps, provenance };\n const counts = countByStatus(findings);\n const heading = React.useId();\n const copy = (kind: AnalysisExport) => {\n const text = exportReport(kind, report, labels);\n void navigator.clipboard?.writeText(text).then(() => setCopied(kind));\n onCopy?.(kind, text);\n };\n return (\n <section aria-labelledby={heading} aria-busy={streaming || undefined} className={s.root({ className })} {...props}>\n <header className={s.header()}>\n {mark}\n <div className={s.headText()}>\n <h2 id={heading} className={s.title()}>\n {title}\n </h2>\n <p className={s.summary()}>{summary}</p>\n <div className={s.counts()}>\n <Badge tone={TONE[status]} size=\"md\" dot>\n {labels.status[status]}\n </Badge>\n {(Object.keys(counts) as AnalysisStatus[])\n .filter((k) => counts[k] > 0)\n .map((k) => (\n <Badge key={k} tone={TONE[k]}>\n {counts[k]} {labels.status[k]}\n </Badge>\n ))}\n </div>\n </div>\n {hideActions ? null : (\n <div className={s.actions()}>\n <Button variant=\"outline\" size=\"sm\" onClick={() => copy(\"json\")}>\n {labels.copyJson}\n </Button>\n <Button variant=\"outline\" size=\"sm\" onClick={() => copy(\"markdown\")}>\n {labels.copyMarkdown}\n </Button>\n </div>\n )}\n </header>\n <p role=\"status\" className=\"sr-only\">\n {copied ? labels.copied : streaming ? labels.streaming : \"\"}\n </p>\n <div aria-live={streaming ? \"polite\" : undefined} className=\"flex flex-col gap-6\">\n {findings.length === 0 && !streaming ? <p className={s.live()}>{labels.noFindings}</p> : null}\n {groupFindings(findings).map((g) => {\n const title = `${labels.status[g.status]} · ${g.findings.length}`;\n const list = (\n <ul className={s.list()}>\n {g.findings.map((f) => (\n <FindingCard key={f.id} finding={f} labels={labels} onLocate={onLocate} />\n ))}\n </ul>\n );\n return folded?.includes(g.status) ? (\n <details key={g.status} className={s.group()} aria-label={`${labels.findings}: ${labels.status[g.status]}`}>\n <summary className={s.foldSummary()}>{title}</summary>\n <div className=\"mt-3\">{list}</div>\n </details>\n ) : (\n <section key={g.status} className={s.group()} aria-label={`${labels.findings}: ${labels.status[g.status]}`}>\n <h3 className={s.groupTitle()}>{title}</h3>\n {list}\n </section>\n );\n })}\n </div>\n {limits?.length || nextSteps?.length ? (\n <div className=\"@container\">\n <div className={s.columns()}>\n <TextColumn title={labels.limits} items={limits} />\n <TextColumn title={labels.nextSteps} items={nextSteps} />\n </div>\n </div>\n ) : null}\n {provenance ? <Provenance data={provenance} labels={labels} folded={provenanceFolded} /> : null}\n </section>\n );\n}\n"
360
+ "content": "// Client (the copy buttons, the folds). The result of an AI analysis, read in five seconds then deeper on demand: a header\n// (studio, one sentence, overall status, counts), findings grouped by status (the most serious first), the limits and the\n// next steps as a calm two-column section, a provenance footer, and copy as JSON / Markdown. Words arrive as props.\nimport * as React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nimport { Badge } from \"../badge/badge\";\nimport { Button } from \"../button/button\";\nimport {\n type AnalysisExport,\n type AnalysisFinding,\n type AnalysisReportData,\n type AnalysisReportLabels,\n type AnalysisStatus,\n countByStatus,\n exportReport,\n groupFindings,\n} from \"./model\";\n\nexport const analysisReportStyles = tv({\n slots: {\n root: \"flex w-full min-w-0 flex-col gap-6 wrap-anywhere text-fg\",\n header: \"flex items-start gap-4\",\n headText: \"flex min-w-0 flex-1 flex-col gap-2\",\n title: \"font-display text-xl font-bold tracking-tight text-fg\",\n summary: \"text-base text-fg-secondary\",\n counts: \"flex flex-wrap items-center gap-2\",\n actions: \"flex flex-wrap gap-2\",\n group: \"flex flex-col gap-3\",\n groupTitle: \"text-sm font-semibold text-fg-secondary\",\n list: \"flex flex-col gap-3\",\n finding: \"flex min-w-0 flex-col wrap-anywhere gap-2 rounded-lg border border-border-default bg-surface-1 p-4\",\n findingHead: \"flex flex-wrap items-center gap-2\",\n code: \"font-mono text-xs text-fg-secondary\",\n findingTitle: \"text-base font-semibold text-fg\",\n muted: \"text-sm text-fg-secondary\",\n locate: \"w-fit\",\n fold: \"text-sm text-fg-secondary\",\n quote: \"m-0 wrap-anywhere text-sm text-fg-secondary\",\n reference: \"w-fit max-w-full wrap-anywhere text-sm font-semibold text-fg-accent\",\n referenceLink: \"rounded-sm underline underline-offset-2 focus-visible:focus-ring\",\n evidence: \"mt-2 overflow-x-auto rounded-md border border-border-default bg-surface-2 p-3 font-mono text-xs text-fg focus-visible:focus-ring\",\n foldSummary: \"w-fit cursor-pointer rounded-sm font-semibold text-fg-accent focus-visible:focus-ring\",\n columns: \"grid gap-6 border-t border-border-default pt-6 @lg:grid-cols-2\",\n column: \"flex flex-col gap-2\",\n columnTitle: \"text-sm font-semibold text-fg\",\n items: \"flex min-w-0 list-disc wrap-anywhere flex-col gap-1 pl-5 text-sm text-fg-secondary\",\n provenance: \"flex flex-wrap gap-x-6 gap-y-1 border-t border-border-default pt-4 text-xs text-fg-secondary\",\n provenanceFold: \"border-t border-border-default pt-4 text-xs text-fg-secondary\",\n provenanceList: \"mt-2 flex flex-wrap gap-x-6 gap-y-1\",\n term: \"font-semibold text-fg\",\n live: \"text-sm text-fg-secondary\",\n },\n});\n\nconst TONE = { inconsistent: \"danger\", attention: \"warning\", unverified: \"neutral\", consistent: \"success\" } as const satisfies Record<AnalysisStatus, string>;\n\nexport type AnalysisReportProps = Omit<React.ComponentProps<\"section\">, \"title\" | \"children\"> &\n AnalysisReportData & {\n /** Every word the report prints, passed translated (statuses, section titles, buttons). */\n labels: AnalysisReportLabels;\n /** The pack's bird (a mark of `@krizaka/ui/mascots`), shown beside the studio's name. */\n mark?: React.ReactNode;\n /** Findings are still arriving: the list is announced politely and marked busy. */\n streaming?: boolean;\n /** Makes a finding's location a button (scroll a document viewer to it). */\n onLocate?: (finding: AnalysisFinding) => void;\n /** Called after the report is copied (`json` or `markdown`), with the copied text. Without a clipboard, the app can copy it here. */\n onCopy?: (kind: AnalysisExport, text: string) => void;\n /** Hides the copy buttons (a read-only embed). */\n hideActions?: boolean;\n /** Status groups closed by default (a native `details`, the count in its summary): « respected », « not applicable ». */\n folded?: readonly AnalysisStatus[];\n /** The provenance (run id, ruleset, version) in one closed fold, titled `labels.provenance`. */\n provenanceFolded?: boolean;\n };\n\nfunction FindingCard({ finding, labels, onLocate }: { finding: AnalysisFinding; labels: AnalysisReportLabels; onLocate?: AnalysisReportProps[\"onLocate\"] }) {\n const s = analysisReportStyles();\n return (\n <li className={s.finding()}>\n <div className={s.findingHead()}>\n <Badge tone={TONE[finding.status]} dot>\n {labels.status[finding.status]}\n </Badge>\n {finding.code ? <span className={s.code()}>{finding.code}</span> : null}\n </div>\n <h4 className={s.findingTitle()}>{finding.title}</h4>\n {finding.observation ? <p className={s.muted()}>{finding.observation}</p> : null}\n {finding.mayIndicate ? (\n <p className={s.muted()}>\n <span className={s.term()}>{labels.mayIndicate}</span> {finding.mayIndicate}\n </p>\n ) : null}\n {finding.quote ? <p className={s.quote()}>« {finding.quote} »</p> : null}\n {finding.reference ? (\n <p className={s.reference()}>\n {finding.reference.href ? (\n <a href={finding.reference.href} className={s.referenceLink()}>\n {finding.reference.label}\n </a>\n ) : (\n finding.reference.label\n )}\n </p>\n ) : null}\n {finding.location ? (\n onLocate ? (\n <Button variant=\"ghost\" size=\"sm\" className={s.locate()} onClick={() => onLocate(finding)}>\n {labels.location} {finding.location}\n </Button>\n ) : (\n <p className={s.muted()}>\n <span className={s.term()}>{labels.location}</span> {finding.location}\n </p>\n )\n ) : null}\n {finding.evidence ? (\n <details className={s.fold()}>\n <summary className={s.foldSummary()}>{labels.evidence}</summary>\n <pre tabIndex={0} className={s.evidence()}>\n <code>{finding.evidence}</code>\n </pre>\n </details>\n ) : null}\n </li>\n );\n}\n\nfunction TextColumn({ title, items }: { title: string; items: readonly string[] | undefined }) {\n const s = analysisReportStyles();\n if (!items?.length) return null;\n return (\n <section className={s.column()}>\n <h3 className={s.columnTitle()}>{title}</h3>\n <ul className={s.items()}>\n {items.map((i) => (\n <li key={i}>{i}</li>\n ))}\n </ul>\n </section>\n );\n}\n\nfunction Provenance({ data, labels, folded }: { data: NonNullable<AnalysisReportData[\"provenance\"]>; labels: AnalysisReportLabels; folded?: boolean }) {\n const s = analysisReportStyles();\n const rows = [\n [labels.model, data.model],\n [labels.runId, data.runId],\n [labels.duration, data.duration],\n [labels.version, data.version],\n ].filter((r): r is [string, string] => Boolean(r[1]));\n if (!rows.length) return null;\n const list = (\n <dl aria-label={folded ? undefined : labels.provenance} className={folded ? s.provenanceList() : s.provenance()}>\n {rows.map(([k, v]) => (\n <div key={k} className=\"flex min-w-0 gap-1.5\">\n <dt className={s.term()}>{k}</dt>\n <dd className=\"min-w-0 break-all font-mono\">{v}</dd>\n </div>\n ))}\n </dl>\n );\n if (!folded) return list;\n return (\n <details className={s.provenanceFold()}>\n <summary className={s.foldSummary()}>{labels.provenance}</summary>\n {list}\n </details>\n );\n}\n\n/** The result of an AI analysis: summary, findings by status, limits, next steps, provenance, copy as JSON or Markdown. */\nexport function AnalysisReport({ title, summary, status, findings, limits, nextSteps, provenance, labels, mark, streaming, onLocate, onCopy, hideActions, folded, provenanceFolded, className, ...props }: AnalysisReportProps) {\n const s = analysisReportStyles();\n const [copied, setCopied] = React.useState<AnalysisExport | null>(null);\n const report: AnalysisReportData = { title, summary, status, findings, limits, nextSteps, provenance };\n const counts = countByStatus(findings);\n const heading = React.useId();\n const copy = (kind: AnalysisExport) => {\n const text = exportReport(kind, report, labels);\n void navigator.clipboard?.writeText(text).then(() => setCopied(kind));\n onCopy?.(kind, text);\n };\n return (\n <section aria-labelledby={heading} aria-busy={streaming || undefined} className={s.root({ className })} {...props}>\n <header className={s.header()}>\n {mark}\n <div className={s.headText()}>\n <h2 id={heading} className={s.title()}>\n {title}\n </h2>\n <p className={s.summary()}>{summary}</p>\n <div className={s.counts()}>\n <Badge tone={TONE[status]} size=\"md\" dot>\n {labels.status[status]}\n </Badge>\n {(Object.keys(counts) as AnalysisStatus[])\n .filter((k) => counts[k] > 0)\n .map((k) => (\n <Badge key={k} tone={TONE[k]}>\n {counts[k]} {labels.status[k]}\n </Badge>\n ))}\n </div>\n </div>\n {hideActions ? null : (\n <div className={s.actions()}>\n <Button variant=\"outline\" size=\"sm\" onClick={() => copy(\"json\")}>\n {labels.copyJson}\n </Button>\n <Button variant=\"outline\" size=\"sm\" onClick={() => copy(\"markdown\")}>\n {labels.copyMarkdown}\n </Button>\n </div>\n )}\n </header>\n <p role=\"status\" className=\"sr-only\">\n {copied ? labels.copied : streaming ? labels.streaming : \"\"}\n </p>\n <div aria-live={streaming ? \"polite\" : undefined} className=\"flex flex-col gap-6\">\n {findings.length === 0 && !streaming ? <p className={s.live()}>{labels.noFindings}</p> : null}\n {groupFindings(findings).map((g) => {\n const title = `${labels.status[g.status]} · ${g.findings.length}`;\n const list = (\n <ul className={s.list()}>\n {g.findings.map((f) => (\n <FindingCard key={f.id} finding={f} labels={labels} onLocate={onLocate} />\n ))}\n </ul>\n );\n return folded?.includes(g.status) ? (\n <details key={g.status} className={s.group()} aria-label={`${labels.findings}: ${labels.status[g.status]}`}>\n <summary className={s.foldSummary()}>{title}</summary>\n <div className=\"mt-3\">{list}</div>\n </details>\n ) : (\n <section key={g.status} className={s.group()} aria-label={`${labels.findings}: ${labels.status[g.status]}`}>\n <h3 className={s.groupTitle()}>{title}</h3>\n {list}\n </section>\n );\n })}\n </div>\n {limits?.length || nextSteps?.length ? (\n <div className=\"@container\">\n <div className={s.columns()}>\n <TextColumn title={labels.limits} items={limits} />\n <TextColumn title={labels.nextSteps} items={nextSteps} />\n </div>\n </div>\n ) : null}\n {provenance ? <Provenance data={provenance} labels={labels} folded={provenanceFolded} /> : null}\n </section>\n );\n}\n"
353
361
  },
354
362
  {
355
363
  "path": "analysis-report/index.ts",
@@ -357,7 +365,7 @@
357
365
  },
358
366
  {
359
367
  "path": "analysis-report/meta.ts",
360
- "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Analysis report\",\n summary:\n \"The result of an AI analysis, honest and calm: one sentence and an overall status, findings grouped by status with what was observed and what it may indicate, what the report did not examine, the next steps and where the result comes from.\",\n status: \"beta\",\n category: \"blocks\",\n domain: \"conversation\",\n platforms: \"both\",\n parity: { desktop: \"web\" },\n whenToUse: [\n \"Showing what an Sovkora analysis found in a document, a lease, an identity check or a moderated item, in any product.\",\n \"Any result that has findings of different gravity, a list of limits and a provenance the reader may need to cite.\",\n ],\n whenNotToUse: [\n { when: \"A single yes / no outcome with no findings.\", use: \"alert\" },\n { when: \"A chat answer that streams as prose.\", use: \"chat\" },\n { when: \"A log of what happened in order.\", use: \"activity-feed\" },\n ],\n bestPractices: [\n \"Order is the point: the most serious group comes first, then the calmer ones; never sort by code.\",\n \"Keep « may indicate » honest: it carries the caveat (« not proof of tampering »), never a verdict.\",\n \"Say what the report did not examine, in the same weight as the findings; the limits are part of the result.\",\n \"Pass every word through `labels` from your messages (`@krizaka/i18n`); the package ships none.\",\n \"While the run is open, set `streaming`: findings are announced politely as they arrive.\",\n \"Give `onLocate` to scroll a document viewer to a finding's place; without it the location is plain text.\",\n \"Quote the passage the finding rests on (`quote`) and cite the rule (`reference`, with an `href` when it is public): the reader checks the source without opening the document.\",\n \"Fold the calm groups (`folded`) and the provenance (`provenanceFolded`): the serious findings stay in view, the rest is one tap away.\",\n \"Examples and tests use demo data only.\",\n ],\n accessibility: {\n keyboard: [{ keys: \"Tab / Enter\", action: \"Reaches the copy buttons, the locations, the references and the folds; Enter or Space opens a fold.\" }],\n notes: [\n \"A section named by the studio's title; each status group is a labelled section with a heading, each finding a list item.\",\n \"A status is always a word with its dot, never a colour alone.\",\n \"The copy result and the streaming state are said in a polite status region; the list is `aria-busy` while streaming.\",\n \"The evidence is a native `details`: it works without script and keeps the focus on its summary.\",\n ],\n },\n related: [\"badge\", \"decision-list\", \"mascot-quote\", \"alert\"],\n web: {\n imports: [\"AnalysisReport\", \"groupFindings\", \"countByStatus\", \"reportToMarkdown\", \"reportToJson\"],\n examples: [\n { name: \"document-validation\", title: \"A document validation\", description: \"Header, findings grouped by status, limits and next steps in two columns, provenance, copy as JSON or Markdown.\" },\n { name: \"lease-review\", title: \"A lease review\", description: \"Each finding quotes the passage and cites its article of law; the respected and unverified groups and the provenance are folded.\" },\n { name: \"authenticity\", title: \"An authenticity check\", description: \"Three levels (authentic, doubtful, altered) mapped to the existing statuses, quoted passages, the calm group folded.\" },\n { name: \"streaming\", title: \"While the run is open\", description: \"`streaming` marks the report busy and announces each finding as it arrives; the copy actions are hidden.\" },\n ],\n },\n native: {\n imports: [\"AnalysisReport\"],\n differences: [\n \"There is no clipboard in the package: `onCopy` receives the text and the app copies it.\",\n \"The evidence unfolds in place (a pressable summary) instead of a native `details`.\",\n ],\n examples: [{ name: \"document-validation\", title: \"A document validation\", description: \"The same report on the phone: findings by status, limits, next steps.\" }],\n },\n} satisfies ComponentMeta;\n"
368
+ "content": "import type { ComponentMeta } from \"../meta\";\n\nexport const meta = {\n title: \"Analysis report\",\n summary:\n \"The result of an AI analysis, honest and calm: one sentence and an overall status, findings grouped by status with what was observed and what it may indicate, what the report did not examine, the next steps and where the result comes from.\",\n status: \"beta\",\n category: \"blocks\",\n domain: \"conversation\",\n platforms: \"both\",\n parity: { desktop: \"web\" },\n whenToUse: [\n \"Showing what an Sovkora analysis found in a document, a lease, an identity check or a moderated item, in any product.\",\n \"Any result that has findings of different gravity, a list of limits and a provenance the reader may need to cite.\",\n ],\n whenNotToUse: [\n { when: \"A single yes / no outcome with no findings.\", use: \"alert\" },\n { when: \"A chat answer that streams as prose.\", use: \"chat\" },\n { when: \"A log of what happened in order.\", use: \"activity-feed\" },\n ],\n bestPractices: [\n \"Order is the point: the most serious group comes first, then the calmer ones; never sort by code.\",\n \"Keep « may indicate » honest: it carries the caveat (« not proof of tampering »), never a verdict.\",\n \"Say what the report did not examine, in the same weight as the findings; the limits are part of the result.\",\n \"Pass every word through `labels` from your messages (`@krizaka/i18n`); the package ships none.\",\n \"While the run is open, set `streaming`: findings are announced politely as they arrive.\",\n \"Give `onLocate` to scroll a document viewer to a finding's place; without it the location is plain text.\",\n \"Quote the passage the finding rests on (`quote`) and cite the rule (`reference`, with an `href` when it is public): the reader checks the source without opening the document.\",\n \"Fold the calm groups (`folded`) and the provenance (`provenanceFolded`): the serious findings stay in view, the rest is one tap away.\",\n \"Examples and tests use demo data only.\",\n ],\n accessibility: {\n keyboard: [{ keys: \"Tab / Enter\", action: \"Reaches the copy buttons, the locations, the references and the folds; Enter or Space opens a fold.\" }],\n notes: [\n \"A section named by the studio's title; each status group is a labelled section with a heading, each finding a list item.\",\n \"A status is always a word with its dot, never a colour alone.\",\n \"The copy result and the streaming state are said in a polite status region; the list is `aria-busy` while streaming.\",\n \"The evidence is a native `details`: it works without script and keeps the focus on its summary.\",\n ],\n },\n related: [\"badge\", \"decision-list\", \"mascot-quote\", \"alert\"],\n web: {\n imports: [\"AnalysisReport\", \"groupFindings\", \"countByStatus\", \"reportToMarkdown\", \"reportToJson\"],\n examples: [\n { name: \"document-validation\", title: \"A document validation\", description: \"Header, findings grouped by status, limits and next steps in two columns, provenance, copy as JSON or Markdown.\" },\n { name: \"lease-review\", title: \"A lease review\", description: \"Each finding quotes the passage and cites its article of law; the respected and unverified groups and the provenance are folded.\" },\n { name: \"long-address\", title: \"A long unbroken token\", description: \"An address, a URL or an identifier with no space wraps in the finding text, the quote and the reference at phone width.\" },\n { name: \"authenticity\", title: \"An authenticity check\", description: \"Three levels (authentic, doubtful, altered) mapped to the existing statuses, quoted passages, the calm group folded.\" },\n { name: \"streaming\", title: \"While the run is open\", description: \"`streaming` marks the report busy and announces each finding as it arrives; the copy actions are hidden.\" },\n ],\n },\n native: {\n imports: [\"AnalysisReport\"],\n differences: [\n \"There is no clipboard in the package: `onCopy` receives the text and the app copies it.\",\n \"The evidence unfolds in place (a pressable summary) instead of a native `details`.\",\n ],\n examples: [{ name: \"document-validation\", title: \"A document validation\", description: \"The same report on the phone: findings by status, limits, next steps.\" }],\n },\n} satisfies ComponentMeta;\n"
361
369
  },
362
370
  {
363
371
  "path": "analysis-report/model.ts",
@@ -374,7 +374,7 @@
374
374
  }
375
375
  ],
376
376
  "dependencies": [
377
- "@krizaka/tokens@^4.2.0"
377
+ "@krizaka/tokens@^4.2.1"
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,42 @@
1
+ "use client";
2
+
3
+ // registry/examples/analysis-report/long-address.tsx
4
+ import { AnalysisReport } from "@krizaka/ui/analysis-report";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var labels = {
7
+ status: { inconsistent: "Fails", attention: "Check", unverified: "Unknown", consistent: "Passes" },
8
+ findings: "Results",
9
+ mayIndicate: "Could mean",
10
+ location: "At:",
11
+ evidence: "Proof",
12
+ details: "More",
13
+ limits: "Not examined",
14
+ nextSteps: "What to do",
15
+ provenance: "Origin",
16
+ model: "Rules",
17
+ runId: "Id",
18
+ duration: "Time",
19
+ version: "Build",
20
+ copyJson: "JSON",
21
+ copyMarkdown: "Markdown",
22
+ copied: "Done",
23
+ streaming: "Loading",
24
+ noFindings: "Nothing."
25
+ };
26
+ var address = "1234-rue-Sainte-Catherine-Ouest-appartement-5-Montreal-Quebec-H3B1A7-Canada-adresse-du-logement-loue-sans-espace-ni-tiret-final";
27
+ function AnalysisReportLongAddress() {
28
+ return /* @__PURE__ */ jsx(
29
+ AnalysisReport,
30
+ {
31
+ labels,
32
+ title: "Lease review",
33
+ summary: "The address of the dwelling is read as one long token.",
34
+ status: "attention",
35
+ hideActions: true,
36
+ findings: [{ id: "1", status: "attention", title: "Address to confirm", observation: address, quote: address, reference: { label: address } }]
37
+ }
38
+ );
39
+ }
40
+ export {
41
+ AnalysisReportLongAddress as default
42
+ };
@@ -0,0 +1,27 @@
1
+ import { AnalysisReport, type AnalysisReportLabels } from "@krizaka/ui/analysis-report";
2
+
3
+ // The words come from the app's messages (demo wording here).
4
+ const labels: AnalysisReportLabels = {
5
+ status: { inconsistent: "Fails", attention: "Check", unverified: "Unknown", consistent: "Passes" },
6
+ findings: "Results", mayIndicate: "Could mean", location: "At:", evidence: "Proof", details: "More",
7
+ limits: "Not examined", nextSteps: "What to do", provenance: "Origin",
8
+ model: "Rules", runId: "Id", duration: "Time", version: "Build",
9
+ copyJson: "JSON", copyMarkdown: "Markdown", copied: "Done", streaming: "Loading", noFindings: "Nothing.",
10
+ };
11
+
12
+
13
+ const address = "1234-rue-Sainte-Catherine-Ouest-appartement-5-Montreal-Quebec-H3B1A7-Canada-adresse-du-logement-loue-sans-espace-ni-tiret-final";
14
+
15
+ // A token with no space (an address, a URL, an identifier) wraps inside the card instead of leaving the screen.
16
+ export default function AnalysisReportLongAddress() {
17
+ return (
18
+ <AnalysisReport
19
+ labels={labels}
20
+ title="Lease review"
21
+ summary="The address of the dwelling is read as one long token."
22
+ status="attention"
23
+ hideActions
24
+ findings={[{ id: "1", status: "attention", title: "Address to confirm", observation: address, quote: address, reference: { label: address } }]}
25
+ />
26
+ );
27
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "templatePurposes": {
5
5
  "convince": {
6
6
  "title": "Convince",
@@ -936,7 +936,7 @@
936
936
  }
937
937
  },
938
938
  "examples": {
939
- "web": 4,
939
+ "web": 5,
940
940
  "native": 1
941
941
  },
942
942
  "dependencies": [
@@ -1004,7 +1004,7 @@
1004
1004
  "native": 0
1005
1005
  },
1006
1006
  "dependencies": [
1007
- "@krizaka/tokens@^4.2.0"
1007
+ "@krizaka/tokens@^4.2.1"
1008
1008
  ],
1009
1009
  "registryDependencies": [
1010
1010
  "account-menu",
@@ -4008,7 +4008,7 @@
4008
4008
  "native": 2
4009
4009
  },
4010
4010
  "dependencies": [
4011
- "@krizaka/tokens@^4.2.0",
4011
+ "@krizaka/tokens@^4.2.1",
4012
4012
  "@protomaps/basemaps@5.7.2",
4013
4013
  "tailwind-variants@^3.3.1"
4014
4014
  ],
@@ -4421,7 +4421,7 @@
4421
4421
  "native": 0
4422
4422
  },
4423
4423
  "dependencies": [
4424
- "@krizaka/tokens@^4.2.0",
4424
+ "@krizaka/tokens@^4.2.1",
4425
4425
  "radix-ui@^1.8.1",
4426
4426
  "tailwind-variants@^3.3.1"
4427
4427
  ],
@@ -5289,7 +5289,7 @@
5289
5289
  "native": 0
5290
5290
  },
5291
5291
  "dependencies": [
5292
- "@krizaka/tokens@^4.2.0",
5292
+ "@krizaka/tokens@^4.2.1",
5293
5293
  "radix-ui@^1.8.1",
5294
5294
  "tailwind-variants@^3.3.1"
5295
5295
  ],
@@ -5736,7 +5736,7 @@
5736
5736
  "native": 0
5737
5737
  },
5738
5738
  "dependencies": [
5739
- "@krizaka/tokens@^4.2.0",
5739
+ "@krizaka/tokens@^4.2.1",
5740
5740
  "zod@^4.6.7"
5741
5741
  ],
5742
5742
  "registryDependencies": [
@@ -5957,7 +5957,7 @@
5957
5957
  },
5958
5958
  "dependencies": [
5959
5959
  "@krizaka/icons@^0.10.0",
5960
- "@krizaka/tokens@^4.2.0",
5960
+ "@krizaka/tokens@^4.2.1",
5961
5961
  "radix-ui@^1.8.1",
5962
5962
  "tailwind-variants@^3.3.1"
5963
5963
  ],
package/registry/map.json CHANGED
@@ -1158,7 +1158,7 @@
1158
1158
  }
1159
1159
  ],
1160
1160
  "dependencies": [
1161
- "@krizaka/tokens@^4.2.0",
1161
+ "@krizaka/tokens@^4.2.1",
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.2.0",
722
+ "@krizaka/tokens@^4.2.1",
723
723
  "radix-ui@^1.8.1",
724
724
  "tailwind-variants@^3.3.1"
725
725
  ],
@@ -344,7 +344,7 @@
344
344
  }
345
345
  ],
346
346
  "dependencies": [
347
- "@krizaka/tokens@^4.2.0",
347
+ "@krizaka/tokens@^4.2.1",
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.2.0",
703
+ "@krizaka/tokens@^4.2.1",
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.2.0",
384
+ "@krizaka/tokens@^4.2.1",
385
385
  "radix-ui@^1.8.1",
386
386
  "tailwind-variants@^3.3.1"
387
387
  ],