@krizaka/ui 4.1.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.
Files changed (35) hide show
  1. package/dist/analysis-report.d.ts +44 -2
  2. package/dist/analysis-report.js +37 -16
  3. package/dist/analysis-report.js.map +1 -1
  4. package/dist/filter-bar.d.ts +3 -3
  5. package/dist/map.d.ts +6 -6
  6. package/dist/media-gallery.d.ts +3 -3
  7. package/dist/media-player.d.ts +3 -3
  8. package/dist/native.d.ts +8 -0
  9. package/dist/native.js +10 -2
  10. package/dist/native.js.map +1 -1
  11. package/dist/virtual.d.ts +3 -3
  12. package/package.json +5 -5
  13. package/registry/account-settings.json +1 -1
  14. package/registry/analysis-report.json +59 -5
  15. package/registry/app-frame.json +1 -1
  16. package/registry/examples/account-settings/patterns.js +1 -1
  17. package/registry/examples/account-settings/patterns.tsx +1 -1
  18. package/registry/examples/analysis-report/authenticity.d.ts +4 -0
  19. package/registry/examples/analysis-report/authenticity.js +50 -0
  20. package/registry/examples/analysis-report/authenticity.tsx +33 -0
  21. package/registry/examples/analysis-report/lease-review.d.ts +4 -0
  22. package/registry/examples/analysis-report/lease-review.js +51 -0
  23. package/registry/examples/analysis-report/lease-review.tsx +33 -0
  24. package/registry/examples/analysis-report/long-address.d.ts +4 -0
  25. package/registry/examples/analysis-report/long-address.js +42 -0
  26. package/registry/examples/analysis-report/long-address.tsx +27 -0
  27. package/registry/examples/markdown/wide-table.js +1 -1
  28. package/registry/examples/markdown/wide-table.tsx +1 -1
  29. package/registry/index.json +8 -8
  30. package/registry/map.json +1 -1
  31. package/registry/markdown.json +1 -1
  32. package/registry/nav-bar.json +1 -1
  33. package/registry/rail-nav.json +1 -1
  34. package/registry/shop.json +1 -1
  35. package/registry/site-footer.json +1 -1
@@ -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
+ }
@@ -14,7 +14,7 @@ Identifiers stay whole; move through the table with the arrow keys after focusin
14
14
 
15
15
  A long word: documentationidentifierswithoutanynaturalbreakopportunitiesstillfitonthephone.
16
16
 
17
- - A long URL: [https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities](https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities)
17
+ - A long URL: [https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities](https://example.com)
18
18
 
19
19
  \`\`\`text
20
20
  profile-photo-check account-access-review upload-retry-policy discovery-manifest-signature
@@ -11,7 +11,7 @@ Identifiers stay whole; move through the table with the arrow keys after focusin
11
11
 
12
12
  A long word: documentationidentifierswithoutanynaturalbreakopportunitiesstillfitonthephone.
13
13
 
14
- - A long URL: [https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities](https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities)
14
+ - A long URL: [https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities](https://example.com)
15
15
 
16
16
  \`\`\`text
17
17
  profile-photo-check account-access-review upload-retry-policy discovery-manifest-signature
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "4.1.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": 2,
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.1.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.1.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.1.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.1.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.1.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.1.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.1.0",
1161
+ "@krizaka/tokens@^4.2.1",
1162
1162
  "@protomaps/basemaps@5.7.2",
1163
1163
  "tailwind-variants@^3.3.1"
1164
1164
  ],
@@ -155,7 +155,7 @@
155
155
  "description": "Nine columns of long identifiers, a host-labelled generated chip, long prose and scrolling code.",
156
156
  "path": "examples/markdown/wide-table.tsx",
157
157
  "module": "@krizaka/ui/registry/examples/markdown/wide-table",
158
- "code": "import { Markdown } from \"@krizaka/ui/markdown\";\n\nconst text = `## Generated reference\n\nIdentifiers stay whole; move through the table with the arrow keys after focusing its frame.\n\n| Identifier | Profile | Account | Upload | Review | Delivery | Presence | Discovery | Queue |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| \\`profile-photo-check\\` | \\`profile-photo-check\\` | \\`account-access-review\\` | \\`upload-retry-policy\\` | \\`review-pending-items\\` | \\`delivery-status-check\\` | \\`presence-channel-join\\` | \\`discovery-manifest-signature\\` | \\`queue-priority-update\\` |\n| \\`account-access-review\\` | \\`profile-photo-check\\`, \\`profile-photo-refresh\\` | \\`account-session-refresh\\` | \\`upload-content-validation\\` | \\`review-assignment-update\\` | \\`delivery-receipt-confirm\\` | \\`presence-heartbeat-renewal\\` | \\`discovery-address-allowlist\\` | \\`queue-backoff-duration-for-background-upload-retry-policy\\` |\n\nA long word: documentationidentifierswithoutanynaturalbreakopportunitiesstillfitonthephone.\n\n- A long URL: [https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities](https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities)\n\n\\`\\`\\`text\nprofile-photo-check account-access-review upload-retry-policy discovery-manifest-signature\n\\`\\`\\`\n`;\n\nexport default function MarkdownWideTable() {\n return <Markdown generated generatedLabel=\"Generated\" className=\"max-w-full\">{text}</Markdown>;\n}\n"
158
+ "code": "import { Markdown } from \"@krizaka/ui/markdown\";\n\nconst text = `## Generated reference\n\nIdentifiers stay whole; move through the table with the arrow keys after focusing its frame.\n\n| Identifier | Profile | Account | Upload | Review | Delivery | Presence | Discovery | Queue |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| \\`profile-photo-check\\` | \\`profile-photo-check\\` | \\`account-access-review\\` | \\`upload-retry-policy\\` | \\`review-pending-items\\` | \\`delivery-status-check\\` | \\`presence-channel-join\\` | \\`discovery-manifest-signature\\` | \\`queue-priority-update\\` |\n| \\`account-access-review\\` | \\`profile-photo-check\\`, \\`profile-photo-refresh\\` | \\`account-session-refresh\\` | \\`upload-content-validation\\` | \\`review-assignment-update\\` | \\`delivery-receipt-confirm\\` | \\`presence-heartbeat-renewal\\` | \\`discovery-address-allowlist\\` | \\`queue-backoff-duration-for-background-upload-retry-policy\\` |\n\nA long word: documentationidentifierswithoutanynaturalbreakopportunitiesstillfitonthephone.\n\n- A long URL: [https://example.com/documentation/reference/identifierswithoutanynaturalbreakopportunities](https://example.com)\n\n\\`\\`\\`text\nprofile-photo-check account-access-review upload-retry-policy discovery-manifest-signature\n\\`\\`\\`\n`;\n\nexport default function MarkdownWideTable() {\n return <Markdown generated generatedLabel=\"Generated\" className=\"max-w-full\">{text}</Markdown>;\n}\n"
159
159
  }
160
160
  ]
161
161
  },
@@ -719,7 +719,7 @@
719
719
  }
720
720
  ],
721
721
  "dependencies": [
722
- "@krizaka/tokens@^4.1.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.1.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.1.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.1.0",
384
+ "@krizaka/tokens@^4.2.1",
385
385
  "radix-ui@^1.8.1",
386
386
  "tailwind-variants@^3.3.1"
387
387
  ],