@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.
- package/dist/analysis-report.d.ts +44 -2
- package/dist/analysis-report.js +37 -16
- package/dist/analysis-report.js.map +1 -1
- package/dist/filter-bar.d.ts +3 -3
- package/dist/map.d.ts +6 -6
- package/dist/media-gallery.d.ts +3 -3
- package/dist/media-player.d.ts +3 -3
- package/dist/native.d.ts +8 -0
- package/dist/native.js +10 -2
- package/dist/native.js.map +1 -1
- package/dist/virtual.d.ts +3 -3
- package/package.json +5 -5
- package/registry/account-settings.json +1 -1
- package/registry/analysis-report.json +59 -5
- package/registry/app-frame.json +1 -1
- package/registry/examples/account-settings/patterns.js +1 -1
- package/registry/examples/account-settings/patterns.tsx +1 -1
- package/registry/examples/analysis-report/authenticity.d.ts +4 -0
- package/registry/examples/analysis-report/authenticity.js +50 -0
- package/registry/examples/analysis-report/authenticity.tsx +33 -0
- package/registry/examples/analysis-report/lease-review.d.ts +4 -0
- package/registry/examples/analysis-report/lease-review.js +51 -0
- package/registry/examples/analysis-report/lease-review.tsx +33 -0
- package/registry/examples/analysis-report/long-address.d.ts +4 -0
- package/registry/examples/analysis-report/long-address.js +42 -0
- package/registry/examples/analysis-report/long-address.tsx +27 -0
- package/registry/examples/markdown/wide-table.js +1 -1
- package/registry/examples/markdown/wide-table.tsx +1 -1
- package/registry/index.json +8 -8
- package/registry/map.json +1 -1
- package/registry/markdown.json +1 -1
- package/registry/nav-bar.json +1 -1
- package/registry/rail-nav.json +1 -1
- package/registry/shop.json +1 -1
- 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
|
|
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
|
|
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
|
package/registry/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/ui",
|
|
3
|
-
"version": "4.1
|
|
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":
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
package/registry/markdown.json
CHANGED
|
@@ -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
|
|
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
|
},
|
package/registry/nav-bar.json
CHANGED
package/registry/rail-nav.json
CHANGED
package/registry/shop.json
CHANGED