@krizaka/ui 3.64.1 → 3.65.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.
Files changed (278) hide show
  1. package/dist/account-menu.d.ts +7 -3
  2. package/dist/account-menu.js +14 -10
  3. package/dist/account-menu.js.map +1 -1
  4. package/dist/app-frame/server.d.ts +123 -0
  5. package/dist/app-frame/server.js +109 -0
  6. package/dist/app-frame/server.js.map +1 -0
  7. package/dist/app-frame.d.ts +210 -0
  8. package/dist/app-frame.js +220 -0
  9. package/dist/app-frame.js.map +1 -0
  10. package/dist/desktop-window.d.ts +223 -0
  11. package/dist/desktop-window.js +261 -0
  12. package/dist/desktop-window.js.map +1 -0
  13. package/dist/file-upload.d.ts +2 -2
  14. package/dist/filter-bar.d.ts +3 -3
  15. package/dist/language-switch.d.ts +9 -9
  16. package/dist/native.d.ts +218 -3
  17. package/dist/native.js +1638 -1450
  18. package/dist/native.js.map +1 -1
  19. package/dist/theme.d.ts +3 -1
  20. package/dist/theme.js +4 -0
  21. package/dist/theme.js.map +1 -1
  22. package/package.json +47 -5
  23. package/registry/account-menu.json +22 -8
  24. package/registry/account-settings.json +1 -1
  25. package/registry/achievement.json +1 -1
  26. package/registry/action-bar.json +1 -1
  27. package/registry/activity-feed.json +1 -1
  28. package/registry/agenda.json +1 -1
  29. package/registry/alert.json +1 -1
  30. package/registry/analysis-report.json +1 -1
  31. package/registry/anatomy-plate.json +1 -1
  32. package/registry/app-frame.json +564 -0
  33. package/registry/app-header.json +1 -1
  34. package/registry/app-shell.json +1 -1
  35. package/registry/argument-card.json +1 -1
  36. package/registry/audio-player.json +1 -1
  37. package/registry/auth-layout.json +1 -1
  38. package/registry/avatar.json +1 -1
  39. package/registry/badge.json +1 -1
  40. package/registry/bird-plate.json +1 -1
  41. package/registry/button.json +1 -1
  42. package/registry/captcha.json +1 -1
  43. package/registry/card-grid.json +1 -1
  44. package/registry/card.json +1 -1
  45. package/registry/catalogue-page.json +1 -1
  46. package/registry/changelog-page.json +1 -1
  47. package/registry/chapter.json +1 -1
  48. package/registry/chat.json +1 -1
  49. package/registry/checkbox.json +1 -1
  50. package/registry/chip-link.json +1 -1
  51. package/registry/chip-row.json +1 -1
  52. package/registry/chip.json +1 -1
  53. package/registry/choice-grid.json +1 -1
  54. package/registry/code-block.json +1 -1
  55. package/registry/combobox.json +1 -1
  56. package/registry/command.json +1 -1
  57. package/registry/comparison-table.json +1 -1
  58. package/registry/component-page.json +1 -1
  59. package/registry/confirm-button.json +1 -1
  60. package/registry/contact-page.json +1 -1
  61. package/registry/continue-prompt.json +1 -1
  62. package/registry/countdown.json +1 -1
  63. package/registry/cover-hero.json +1 -1
  64. package/registry/cta-panel.json +1 -1
  65. package/registry/dashboard-layout.json +1 -1
  66. package/registry/data-table.json +1 -1
  67. package/registry/date-picker.json +3 -3
  68. package/registry/decision-list.json +1 -1
  69. package/registry/description-list.json +1 -1
  70. package/registry/desktop-window.json +407 -0
  71. package/registry/detail-layout.json +1 -1
  72. package/registry/dialog.json +1 -1
  73. package/registry/docs-article-page.json +1 -1
  74. package/registry/docs-hub-page.json +1 -1
  75. package/registry/docs-layout.json +1 -1
  76. package/registry/docs-nav.json +1 -1
  77. package/registry/document-viewer.json +1 -1
  78. package/registry/doodle.json +1 -1
  79. package/registry/drop-overlay.json +1 -1
  80. package/registry/dropdown-menu.json +1 -1
  81. package/registry/elephant.json +2 -2
  82. package/registry/embed-facade.json +1 -1
  83. package/registry/empty-state.json +1 -1
  84. package/registry/engine-flow.json +1 -1
  85. package/registry/environment-notice.json +1 -1
  86. package/registry/error-page.json +1 -1
  87. package/registry/examples/app-frame/admin.d.ts +4 -0
  88. package/registry/examples/app-frame/admin.js +32 -0
  89. package/registry/examples/app-frame/admin.tsx +33 -0
  90. package/registry/examples/app-frame/app.d.ts +4 -0
  91. package/registry/examples/app-frame/app.js +53 -0
  92. package/registry/examples/app-frame/app.tsx +56 -0
  93. package/registry/examples/desktop-window/library.d.ts +4 -0
  94. package/registry/examples/desktop-window/library.js +49 -0
  95. package/registry/examples/desktop-window/library.tsx +58 -0
  96. package/registry/examples/form-flow/native/signup.d.ts +4 -0
  97. package/registry/examples/form-flow/native/signup.dark.png +0 -0
  98. package/registry/examples/form-flow/native/signup.js +26 -0
  99. package/registry/examples/form-flow/native/signup.light.png +0 -0
  100. package/registry/examples/form-flow/native/signup.tsx +23 -0
  101. package/registry/examples/grid/native/columns.d.ts +4 -0
  102. package/registry/examples/grid/native/columns.dark.png +0 -0
  103. package/registry/examples/grid/native/columns.js +23 -0
  104. package/registry/examples/grid/native/columns.light.png +0 -0
  105. package/registry/examples/grid/native/columns.tsx +20 -0
  106. package/registry/examples/grid/native/photos.d.ts +4 -0
  107. package/registry/examples/grid/native/photos.dark.png +0 -0
  108. package/registry/examples/grid/native/photos.js +14 -0
  109. package/registry/examples/grid/native/photos.light.png +0 -0
  110. package/registry/examples/grid/native/photos.tsx +18 -0
  111. package/registry/examples/grid/native/stats.d.ts +4 -0
  112. package/registry/examples/grid/native/stats.dark.png +0 -0
  113. package/registry/examples/grid/native/stats.js +22 -0
  114. package/registry/examples/grid/native/stats.light.png +0 -0
  115. package/registry/examples/grid/native/stats.tsx +24 -0
  116. package/registry/examples/list-detail/native/inbox.d.ts +4 -0
  117. package/registry/examples/list-detail/native/inbox.dark.png +0 -0
  118. package/registry/examples/list-detail/native/inbox.js +35 -0
  119. package/registry/examples/list-detail/native/inbox.light.png +0 -0
  120. package/registry/examples/list-detail/native/inbox.tsx +35 -0
  121. package/registry/examples/screen/native/dashboard.d.ts +4 -0
  122. package/registry/examples/screen/native/dashboard.dark.png +0 -0
  123. package/registry/examples/screen/native/dashboard.js +48 -0
  124. package/registry/examples/screen/native/dashboard.light.png +0 -0
  125. package/registry/examples/screen/native/dashboard.tsx +52 -0
  126. package/registry/examples/screen/native/settings-home.d.ts +4 -0
  127. package/registry/examples/screen/native/settings-home.dark.png +0 -0
  128. package/registry/examples/screen/native/settings-home.js +26 -0
  129. package/registry/examples/screen/native/settings-home.light.png +0 -0
  130. package/registry/examples/screen/native/settings-home.tsx +25 -0
  131. package/registry/examples/shop/hero-tv.js +1 -1
  132. package/registry/examples/shop/hero-tv.tsx +1 -1
  133. package/registry/examples/state-screen/native/empty.d.ts +4 -0
  134. package/registry/examples/state-screen/native/empty.dark.png +0 -0
  135. package/registry/examples/state-screen/native/empty.js +12 -0
  136. package/registry/examples/state-screen/native/empty.light.png +0 -0
  137. package/registry/examples/state-screen/native/empty.tsx +11 -0
  138. package/registry/examples/state-screen/native/error.d.ts +4 -0
  139. package/registry/examples/state-screen/native/error.dark.png +0 -0
  140. package/registry/examples/state-screen/native/error.js +21 -0
  141. package/registry/examples/state-screen/native/error.light.png +0 -0
  142. package/registry/examples/state-screen/native/error.tsx +17 -0
  143. package/registry/examples/state-screen/native/offline.d.ts +4 -0
  144. package/registry/examples/state-screen/native/offline.dark.png +0 -0
  145. package/registry/examples/state-screen/native/offline.js +15 -0
  146. package/registry/examples/state-screen/native/offline.light.png +0 -0
  147. package/registry/examples/state-screen/native/offline.tsx +12 -0
  148. package/registry/field.json +1 -1
  149. package/registry/file-upload.json +1 -1
  150. package/registry/filter-bar.json +1 -1
  151. package/registry/flock.json +1 -1
  152. package/registry/footnote.json +1 -1
  153. package/registry/force-update-screen.json +1 -1
  154. package/registry/form-flow.json +152 -0
  155. package/registry/form.json +1 -1
  156. package/registry/gallery-page.json +1 -1
  157. package/registry/genui.json +1 -1
  158. package/registry/glossary-term.json +1 -1
  159. package/registry/glossary.json +1 -1
  160. package/registry/glow-card.json +1 -1
  161. package/registry/goal-gauge.json +1 -1
  162. package/registry/grade-stamp.json +1 -1
  163. package/registry/grid.json +262 -0
  164. package/registry/how-it-works-page.json +1 -1
  165. package/registry/image-cropper.json +1 -1
  166. package/registry/index.json +314 -12
  167. package/registry/iso.json +1 -1
  168. package/registry/kanban.json +1 -1
  169. package/registry/kbd.json +1 -1
  170. package/registry/kind-config-editor.json +1 -1
  171. package/registry/kpi-explained.json +1 -1
  172. package/registry/landing-page.json +1 -1
  173. package/registry/landscape.json +1 -1
  174. package/registry/language-switch.json +1 -1
  175. package/registry/legal-page.json +1 -1
  176. package/registry/link-card.json +1 -1
  177. package/registry/list-detail.json +188 -0
  178. package/registry/list.json +1 -1
  179. package/registry/loader.json +1 -1
  180. package/registry/longform-page.json +1 -1
  181. package/registry/maintenance-screen.json +1 -1
  182. package/registry/map.json +2 -2
  183. package/registry/margin-layout.json +1 -1
  184. package/registry/markdown.json +1 -1
  185. package/registry/marketing-layout.json +1 -1
  186. package/registry/marquee.json +1 -1
  187. package/registry/mascot-quote.json +1 -1
  188. package/registry/mascot-state.json +1 -1
  189. package/registry/mascots.json +1 -1
  190. package/registry/match-dialog.json +1 -1
  191. package/registry/media-capture.json +1 -1
  192. package/registry/media-gallery.json +1 -1
  193. package/registry/media-grid.json +1 -1
  194. package/registry/meta-row.json +1 -1
  195. package/registry/meter.json +1 -1
  196. package/registry/nav-bar.json +2 -2
  197. package/registry/next-actions.json +1 -1
  198. package/registry/notification-preferences.json +1 -1
  199. package/registry/number-ticker.json +1 -1
  200. package/registry/onboarding.json +3 -0
  201. package/registry/opening-hours.json +1 -1
  202. package/registry/page-header.json +1 -1
  203. package/registry/page-hero.json +1 -1
  204. package/registry/page-index.json +1 -1
  205. package/registry/page.json +1 -1
  206. package/registry/pagination.json +1 -1
  207. package/registry/photo-grid.json +1 -1
  208. package/registry/pointer-light.json +1 -1
  209. package/registry/popover.json +1 -1
  210. package/registry/pricing-page.json +1 -1
  211. package/registry/product-page.json +1 -1
  212. package/registry/profile-card.json +1 -1
  213. package/registry/progress.json +1 -1
  214. package/registry/promise-card.json +1 -1
  215. package/registry/quota-meter.json +1 -1
  216. package/registry/radio-group.json +1 -1
  217. package/registry/rail-nav.json +2 -2
  218. package/registry/recipes.json +1 -1
  219. package/registry/retro-tv.json +1 -1
  220. package/registry/reviews.json +1 -1
  221. package/registry/router.json +1 -1
  222. package/registry/screen.json +68 -4
  223. package/registry/scroll-stage.json +1 -1
  224. package/registry/search-field.json +1 -1
  225. package/registry/section-backdrop.json +1 -1
  226. package/registry/separator.json +1 -1
  227. package/registry/service-card.json +1 -1
  228. package/registry/settings-layout.json +5 -2
  229. package/registry/shop-composer.json +1 -1
  230. package/registry/shop.json +3 -3
  231. package/registry/showcase.json +1 -1
  232. package/registry/signature.json +1 -1
  233. package/registry/site-cahier.json +1 -1
  234. package/registry/site-footer.json +4 -4
  235. package/registry/sites.json +1 -1
  236. package/registry/skeleton.json +1 -1
  237. package/registry/skip-link.json +1 -1
  238. package/registry/slider.json +1 -1
  239. package/registry/slot-picker.json +1 -1
  240. package/registry/slot.json +1 -1
  241. package/registry/specimen-tag.json +1 -1
  242. package/registry/speed-lines.json +1 -1
  243. package/registry/spinner.json +1 -1
  244. package/registry/split-view.json +1 -1
  245. package/registry/stage-banner.json +1 -1
  246. package/registry/stat.json +1 -1
  247. package/registry/state-screen.json +224 -0
  248. package/registry/status-chip.json +1 -1
  249. package/registry/status-page.json +1 -1
  250. package/registry/step-progress.json +1 -1
  251. package/registry/step-showcase.json +1 -1
  252. package/registry/stepper.json +1 -1
  253. package/registry/sticky-action.json +1 -1
  254. package/registry/stuck.json +1 -1
  255. package/registry/swipe-deck.json +1 -1
  256. package/registry/switch.json +1 -1
  257. package/registry/tabs.json +1 -1
  258. package/registry/tag-input.json +1 -1
  259. package/registry/tag-selector.json +1 -1
  260. package/registry/taped-photo.json +1 -1
  261. package/registry/terminal-replay.json +1 -1
  262. package/registry/text-style.json +1 -1
  263. package/registry/theme.json +3 -3
  264. package/registry/toast.json +1 -1
  265. package/registry/toc.json +1 -1
  266. package/registry/tooltip.json +1 -1
  267. package/registry/tree-view.json +1 -1
  268. package/registry/update-prompt.json +1 -1
  269. package/registry/upload-queue.json +1 -1
  270. package/registry/usage.json +1 -1
  271. package/registry/verified-badge.json +1 -1
  272. package/registry/versus-card.json +1 -1
  273. package/registry/vertical-video.json +1 -1
  274. package/registry/video-player.json +1 -1
  275. package/registry/video-trimmer.json +1 -1
  276. package/registry/virtual.json +1 -1
  277. package/registry/wall.json +1 -1
  278. package/registry/waveform.json +1 -1
@@ -0,0 +1,58 @@
1
+ "use client";
2
+
3
+ import { ProductLogo } from "@krizaka/ui";
4
+ import { Badge } from "@krizaka/ui/badge";
5
+ import { Button } from "@krizaka/ui/button";
6
+ import { DesktopWindow, useDesktopCommands } from "@krizaka/ui/desktop-window";
7
+ import { useState } from "react";
8
+
9
+ const FILES = ["Lease — 12 rue Fleury", "Payslips — Ada Roy", "ID — Noor Khan", "Lease — 8 av. du Parc"];
10
+
11
+ // TEMPLATE — The window of a Mac app: sidebar · content · inspector, resizable (drag a divider, or focus it and use the
12
+ // arrows) and collapsible (⌘B, ⌘I, the toolbar). The commands are written once: the menu bar gets them from `menus` and
13
+ // `handlers` (`setNativeMenu(bridge, { labels, menus }, handlers)` of @krizaka/app-desktop), the page answers the same keys.
14
+ export default function DesktopWindowLibrary() {
15
+ const [sidebar, setSidebar] = useState(true);
16
+ const [inspector, setInspector] = useState(true);
17
+ const [current, setCurrent] = useState(0);
18
+ useDesktopCommands([
19
+ { id: "view.sidebar", menu: "View", label: sidebar ? "Hide sidebar" : "Show sidebar", shortcut: "mod+b", run: () => setSidebar(!sidebar) },
20
+ { id: "view.inspector", menu: "View", label: inspector ? "Hide inspector" : "Show inspector", shortcut: "mod+i", run: () => setInspector(!inspector) },
21
+ ]);
22
+ return (
23
+ <DesktopWindow
24
+ className="[--kz-window-height:34rem]"
25
+ shortcuts={{ sidebar: false, inspector: false }}
26
+ sidebarOpen={sidebar}
27
+ onSidebarOpenChange={setSidebar}
28
+ inspectorOpen={inspector}
29
+ onInspectorOpenChange={setInspector}
30
+ labels={{ sidebar: "Library", inspector: "Details", resizeSidebar: "Resize the sidebar", resizeInspector: "Resize the inspector", toggleSidebar: "Show or hide the sidebar", toggleInspector: "Show or hide the inspector" }}
31
+ title="Applicant files"
32
+ toolbarEnd={<Button size="sm" variant="primary">New file</Button>}
33
+ sidebar={
34
+ <div className="flex flex-col gap-0.5 p-2">
35
+ <div className="flex items-center gap-2 px-2 py-1.5 font-semibold"><ProductLogo id="yomizaka" size={18} animated={false} /> Yomizaka</div>
36
+ {["All files", "To decide", "Verified"].map((name, i) => (
37
+ <button key={name} type="button" aria-current={i === 0 ? "page" : undefined} className="h-8 cursor-default rounded-md px-2 text-start hover:bg-surface-2 aria-[current=page]:bg-accent-soft">{name}</button>
38
+ ))}
39
+ </div>
40
+ }
41
+ inspector={
42
+ <div className="space-y-2 p-4">
43
+ <p className="text-xs font-semibold text-fg-secondary">Details</p>
44
+ <p className="font-semibold">{FILES[current]}</p>
45
+ <Badge tone="success" dot>Verified</Badge>
46
+ </div>
47
+ }
48
+ >
49
+ <ul className="divide-y divide-border-subtle">
50
+ {FILES.map((file, i) => (
51
+ <li key={file}>
52
+ <button type="button" aria-pressed={i === current} onClick={() => setCurrent(i)} className="block h-9 w-full cursor-default truncate px-4 text-start hover:bg-surface-2 aria-pressed:bg-accent-soft">{file}</button>
53
+ </li>
54
+ ))}
55
+ </ul>
56
+ </DesktopWindow>
57
+ );
58
+ }
@@ -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,26 @@
1
+ "use client";
2
+
3
+ // registry/examples/form-flow/native/signup.tsx
4
+ import { FormFlow, TextField } from "@krizaka/ui/native";
5
+ import { useState } from "react";
6
+ import { View } from "react-native";
7
+ import { jsx } from "react/jsx-runtime";
8
+ function NativeFormFlowSignup() {
9
+ const [name, setName] = useState("");
10
+ const [email, setEmail] = useState("");
11
+ return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 640 }, children: /* @__PURE__ */ jsx(
12
+ FormFlow,
13
+ {
14
+ labels: { next: "Next", done: "Create my account", back: "Back", position: (n, total) => `Step ${n} of ${total}` },
15
+ onDone: () => void 0,
16
+ onExit: () => void 0,
17
+ steps: [
18
+ { id: "name", title: "What should we call you?", description: "Your first name is enough.", valid: name.trim().length > 0, content: /* @__PURE__ */ jsx(TextField, { label: "First name", value: name, onValueChange: setName }) },
19
+ { id: "email", title: "Where do we send your results?", valid: email.includes("@"), content: /* @__PURE__ */ jsx(TextField, { label: "Email", value: email, onValueChange: setEmail, keyboardType: "email-address", autoCapitalize: "none" }) }
20
+ ]
21
+ }
22
+ ) });
23
+ }
24
+ export {
25
+ NativeFormFlowSignup as default
26
+ };
@@ -0,0 +1,23 @@
1
+ import { FormFlow, TextField } from "@krizaka/ui/native";
2
+ import { useState } from "react";
3
+ import { View } from "react-native";
4
+
5
+ // TEMPLATE — A form in steps: one question per step, the position in words, the main action pinned above the keyboard (it
6
+ // rises with it) and clear of the home indicator. The action stays dimmed until the step is valid.
7
+ export default function NativeFormFlowSignup() {
8
+ const [name, setName] = useState("");
9
+ const [email, setEmail] = useState("");
10
+ return (
11
+ <View style={{ width: 360, height: 640 }}>
12
+ <FormFlow
13
+ labels={{ next: "Next", done: "Create my account", back: "Back", position: (n, total) => `Step ${n} of ${total}` }}
14
+ onDone={() => undefined}
15
+ onExit={() => undefined}
16
+ steps={[
17
+ { id: "name", title: "What should we call you?", description: "Your first name is enough.", valid: name.trim().length > 0, content: <TextField label="First name" value={name} onValueChange={setName} /> },
18
+ { id: "email", title: "Where do we send your results?", valid: email.includes("@"), content: <TextField label="Email" value={email} onValueChange={setEmail} keyboardType="email-address" autoCapitalize="none" /> },
19
+ ]}
20
+ />
21
+ </View>
22
+ );
23
+ }
@@ -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,23 @@
1
+ "use client";
2
+
3
+ // registry/examples/grid/native/columns.tsx
4
+ import { Columns, Txt, useTheme } from "@krizaka/ui/native";
5
+ import { View } from "react-native";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ function NativeGridColumns() {
8
+ const { theme } = useTheme();
9
+ const box = { gap: 6, padding: 14, borderRadius: 12, backgroundColor: theme.surface1, borderWidth: 1, borderColor: theme.borderSubtle };
10
+ return /* @__PURE__ */ jsxs(Columns, { weights: [1, 2], minColumnWidth: 220, children: [
11
+ /* @__PURE__ */ jsxs(View, { style: box, children: [
12
+ /* @__PURE__ */ jsx(Txt, { variant: "label", children: "Summary" }),
13
+ /* @__PURE__ */ jsx(Txt, { variant: "caption", tone: "secondary", children: "3 files \xB7 42 checks" })
14
+ ] }),
15
+ /* @__PURE__ */ jsxs(View, { style: box, children: [
16
+ /* @__PURE__ */ jsx(Txt, { variant: "label", children: "The file" }),
17
+ /* @__PURE__ */ jsx(Txt, { tone: "secondary", children: "Side by side from 2 \xD7 220 pt plus the gap; one above the other below." })
18
+ ] })
19
+ ] });
20
+ }
21
+ export {
22
+ NativeGridColumns as default
23
+ };
@@ -0,0 +1,20 @@
1
+ import { Columns, Txt, useTheme } from "@krizaka/ui/native";
2
+ import { View } from "react-native";
3
+
4
+ // Two columns that stack when the room cannot hold them: a form and its summary, a third and two thirds.
5
+ export default function NativeGridColumns() {
6
+ const { theme } = useTheme();
7
+ const box = { gap: 6, padding: 14, borderRadius: 12, backgroundColor: theme.surface1, borderWidth: 1, borderColor: theme.borderSubtle } as const;
8
+ return (
9
+ <Columns weights={[1, 2]} minColumnWidth={220}>
10
+ <View style={box}>
11
+ <Txt variant="label">Summary</Txt>
12
+ <Txt variant="caption" tone="secondary">3 files · 42 checks</Txt>
13
+ </View>
14
+ <View style={box}>
15
+ <Txt variant="label">The file</Txt>
16
+ <Txt tone="secondary">Side by side from 2 × 220 pt plus the gap; one above the other below.</Txt>
17
+ </View>
18
+ </Columns>
19
+ );
20
+ }
@@ -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,14 @@
1
+ "use client";
2
+
3
+ // registry/examples/grid/native/photos.tsx
4
+ import { Grid, Txt, useTheme } from "@krizaka/ui/native";
5
+ import { View } from "react-native";
6
+ import { jsx } from "react/jsx-runtime";
7
+ var PLACES = ["Old Port", "Mount Royal", "Plateau", "Lachine canal", "Jean-Talon", "Atwater", "Verdun", "Mile End"];
8
+ function NativeGridPhotos() {
9
+ const { theme } = useTheme();
10
+ return /* @__PURE__ */ jsx(Grid, { columns: { compact: 2, regular: 3, expanded: 4 }, minItemWidth: 120, gap: "sm", "aria-label": "Photos", children: PLACES.map((place) => /* @__PURE__ */ jsx(View, { style: { aspectRatio: 1, justifyContent: "flex-end", padding: 10, borderRadius: 12, borderWidth: 1, borderColor: theme.borderSubtle, backgroundColor: theme.surface2 }, children: /* @__PURE__ */ jsx(Txt, { variant: "caption", numberOfLines: 2, children: place }) }, place)) });
11
+ }
12
+ export {
13
+ NativeGridPhotos as default
14
+ };
@@ -0,0 +1,18 @@
1
+ import { Grid, Txt, useTheme } from "@krizaka/ui/native";
2
+ import { View } from "react-native";
3
+
4
+ const PLACES = ["Old Port", "Mount Royal", "Plateau", "Lachine canal", "Jean-Talon", "Atwater", "Verdun", "Mile End"];
5
+
6
+ // Photos: two columns on a compact room, three on a regular one, four on an expanded one — and never a tile narrower than 120 pt.
7
+ export default function NativeGridPhotos() {
8
+ const { theme } = useTheme();
9
+ return (
10
+ <Grid columns={{ compact: 2, regular: 3, expanded: 4 }} minItemWidth={120} gap="sm" aria-label="Photos">
11
+ {PLACES.map((place) => (
12
+ <View key={place} style={{ aspectRatio: 1, justifyContent: "flex-end", padding: 10, borderRadius: 12, borderWidth: 1, borderColor: theme.borderSubtle, backgroundColor: theme.surface2 }}>
13
+ <Txt variant="caption" numberOfLines={2}>{place}</Txt>
14
+ </View>
15
+ ))}
16
+ </Grid>
17
+ );
18
+ }
@@ -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,22 @@
1
+ "use client";
2
+
3
+ // registry/examples/grid/native/stats.tsx
4
+ import { Grid, Txt, useTheme } from "@krizaka/ui/native";
5
+ import { View } from "react-native";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ var STATS = [
8
+ { label: "Files to decide", value: "3" },
9
+ { label: "Checks this month", value: "42" },
10
+ { label: "Credits left", value: "58" },
11
+ { label: "Average time", value: "1 min 12 s" }
12
+ ];
13
+ function NativeGridStats() {
14
+ const { theme } = useTheme();
15
+ return /* @__PURE__ */ jsx(Grid, { columns: { compact: 2, expanded: 4 }, minItemWidth: 140, "aria-label": "This month", children: STATS.map((stat) => /* @__PURE__ */ jsxs(View, { style: { gap: 4, padding: 14, borderRadius: 12, borderWidth: 1, borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }, children: [
16
+ /* @__PURE__ */ jsx(Txt, { variant: "caption", tone: "secondary", children: stat.label }),
17
+ /* @__PURE__ */ jsx(Txt, { variant: "title", children: stat.value })
18
+ ] }, stat.label)) });
19
+ }
20
+ export {
21
+ NativeGridStats as default
22
+ };
@@ -0,0 +1,24 @@
1
+ import { Grid, Txt, useTheme } from "@krizaka/ui/native";
2
+ import { View } from "react-native";
3
+
4
+ const STATS = [
5
+ { label: "Files to decide", value: "3" },
6
+ { label: "Checks this month", value: "42" },
7
+ { label: "Credits left", value: "58" },
8
+ { label: "Average time", value: "1 min 12 s" },
9
+ ];
10
+
11
+ // A stat strip: cards of equal height, two per row on a phone and four on a tablet; at 200 % text they stack, so no number is cut.
12
+ export default function NativeGridStats() {
13
+ const { theme } = useTheme();
14
+ return (
15
+ <Grid columns={{ compact: 2, expanded: 4 }} minItemWidth={140} aria-label="This month">
16
+ {STATS.map((stat) => (
17
+ <View key={stat.label} style={{ gap: 4, padding: 14, borderRadius: 12, borderWidth: 1, borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }}>
18
+ <Txt variant="caption" tone="secondary">{stat.label}</Txt>
19
+ <Txt variant="title">{stat.value}</Txt>
20
+ </View>
21
+ ))}
22
+ </Grid>
23
+ );
24
+ }
@@ -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,35 @@
1
+ "use client";
2
+
3
+ // registry/examples/list-detail/native/inbox.tsx
4
+ import { ListDetail, Txt, useTheme } from "@krizaka/ui/native";
5
+ import { useState } from "react";
6
+ import { Pressable, View } from "react-native";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ var MESSAGES = [
9
+ { id: "1", from: "Camille", subject: "Lease for 12 rue Fleury", body: "I attached the signed lease. Can you check the page 4 stamp?" },
10
+ { id: "2", from: "Noor", subject: "Payslips, March to May", body: "Here are the three payslips you asked for." },
11
+ { id: "3", from: "Ada", subject: "Thanks", body: "Verified in a minute, thank you." }
12
+ ];
13
+ function NativeListDetailInbox() {
14
+ const { theme } = useTheme();
15
+ const [open, setOpen] = useState(null);
16
+ const message = MESSAGES.find((m) => m.id === open);
17
+ return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 640 }, children: /* @__PURE__ */ jsx(
18
+ ListDetail,
19
+ {
20
+ listTitle: "Messages",
21
+ list: MESSAGES.map((m) => /* @__PURE__ */ jsxs(Pressable, { role: "button", onPress: () => setOpen(m.id), style: { padding: 16, gap: 2, borderBottomWidth: 1, borderBottomColor: theme.borderSubtle }, children: [
22
+ /* @__PURE__ */ jsx(Txt, { variant: "label", children: m.from }),
23
+ /* @__PURE__ */ jsx(Txt, { tone: "secondary", numberOfLines: 1, children: m.subject })
24
+ ] }, m.id)),
25
+ detailTitle: message?.from,
26
+ detail: message ? /* @__PURE__ */ jsx(Txt, { variant: "body", children: message.body }) : void 0,
27
+ empty: "Select a message",
28
+ backLabel: "Messages",
29
+ onBack: () => setOpen(null)
30
+ }
31
+ ) });
32
+ }
33
+ export {
34
+ NativeListDetailInbox as default
35
+ };
@@ -0,0 +1,35 @@
1
+ import { ListDetail, Txt, useTheme } from "@krizaka/ui/native";
2
+ import { useState } from "react";
3
+ import { Pressable, View } from "react-native";
4
+
5
+ const MESSAGES = [
6
+ { id: "1", from: "Camille", subject: "Lease for 12 rue Fleury", body: "I attached the signed lease. Can you check the page 4 stamp?" },
7
+ { id: "2", from: "Noor", subject: "Payslips, March to May", body: "Here are the three payslips you asked for." },
8
+ { id: "3", from: "Ada", subject: "Thanks", body: "Verified in a minute, thank you." },
9
+ ];
10
+
11
+ // TEMPLATE — List to detail: one pane at a time on a phone (the list, then the message with the way back), both side by
12
+ // side when the room holds them — the room decides, so a rotation or a split view just works.
13
+ export default function NativeListDetailInbox() {
14
+ const { theme } = useTheme();
15
+ const [open, setOpen] = useState<string | null>(null);
16
+ const message = MESSAGES.find((m) => m.id === open);
17
+ return (
18
+ <View style={{ width: 360, height: 640 }}>
19
+ <ListDetail
20
+ listTitle="Messages"
21
+ list={MESSAGES.map((m) => (
22
+ <Pressable key={m.id} role="button" onPress={() => setOpen(m.id)} style={{ padding: 16, gap: 2, borderBottomWidth: 1, borderBottomColor: theme.borderSubtle }}>
23
+ <Txt variant="label">{m.from}</Txt>
24
+ <Txt tone="secondary" numberOfLines={1}>{m.subject}</Txt>
25
+ </Pressable>
26
+ ))}
27
+ detailTitle={message?.from}
28
+ detail={message ? <Txt variant="body">{message.body}</Txt> : undefined}
29
+ empty="Select a message"
30
+ backLabel="Messages"
31
+ onBack={() => setOpen(null)}
32
+ />
33
+ </View>
34
+ );
35
+ }
@@ -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,48 @@
1
+ "use client";
2
+
3
+ // registry/examples/screen/native/dashboard.tsx
4
+ import { Grid, Header, Screen, TabBar, Txt, useTheme } from "@krizaka/ui/native";
5
+ import { useState } from "react";
6
+ import { View } from "react-native";
7
+ import Svg, { Path } from "react-native-svg";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ var icon = (d) => (on, color) => /* @__PURE__ */ jsx(Svg, { width: 24, height: 24, viewBox: "0 0 24 24", fill: on ? color : "none", stroke: color, strokeWidth: 2, strokeLinejoin: "round", children: /* @__PURE__ */ jsx(Path, { d }) });
10
+ var TABS = [
11
+ { value: "home", label: "Home", icon: icon("M4 11 12 4l8 7v9H4z") },
12
+ { value: "files", label: "Files", badge: 3, badgeLabel: "3 to decide", icon: icon("M4 5h16v14H4zM8 9h8M8 13h5") },
13
+ { value: "me", label: "Me", icon: icon("M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0") }
14
+ ];
15
+ var STATS = [["Files to decide", "3"], ["Checks this month", "42"], ["Credits left", "58"], ["Average time", "1 min 12 s"]];
16
+ var RECENT = [["Lease \u2014 12 rue Fleury", "Verified"], ["Payslips \u2014 Ada Roy", "To decide"], ["ID \u2014 Noor Khan", "Verified"], ["Lease \u2014 8 av. du Parc", "In progress"]];
17
+ function NativeScreenDashboard() {
18
+ const { theme } = useTheme();
19
+ const [tab, setTab] = useState("home");
20
+ const [refreshing, setRefreshing] = useState(false);
21
+ return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 640 }, children: /* @__PURE__ */ jsxs(
22
+ Screen,
23
+ {
24
+ header: /* @__PURE__ */ jsx(Header, { title: "Home", subtitle: "Updated just now" }),
25
+ footer: /* @__PURE__ */ jsx(TabBar, { "aria-label": "Main sections", items: TABS, value: tab, onValueChange: setTab }),
26
+ refreshing,
27
+ refreshLabel: "Pull to refresh",
28
+ onRefresh: () => {
29
+ setRefreshing(true);
30
+ setTimeout(() => setRefreshing(false), 800);
31
+ },
32
+ children: [
33
+ /* @__PURE__ */ jsx(Grid, { columns: { compact: 2, expanded: 4 }, minItemWidth: 140, "aria-label": "This month", children: STATS.map(([label, value]) => /* @__PURE__ */ jsxs(View, { style: { gap: 4, padding: 14, borderRadius: 12, borderWidth: 1, borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }, children: [
34
+ /* @__PURE__ */ jsx(Txt, { variant: "caption", tone: "secondary", children: label }),
35
+ /* @__PURE__ */ jsx(Txt, { variant: "title", children: value })
36
+ ] }, label)) }),
37
+ /* @__PURE__ */ jsx(Txt, { variant: "label", role: "heading", children: "Recent" }),
38
+ RECENT.map(([name, state]) => /* @__PURE__ */ jsxs(View, { style: { flexDirection: "row", alignItems: "center", gap: 12, paddingVertical: 10 }, children: [
39
+ /* @__PURE__ */ jsx(Txt, { style: { flex: 1 }, numberOfLines: 2, children: name }),
40
+ /* @__PURE__ */ jsx(Txt, { variant: "caption", tone: "secondary", children: state })
41
+ ] }, name))
42
+ ]
43
+ }
44
+ ) });
45
+ }
46
+ export {
47
+ NativeScreenDashboard as default
48
+ };
@@ -0,0 +1,52 @@
1
+ import { Grid, Header, Screen, TabBar, Txt, useTheme } from "@krizaka/ui/native";
2
+ import { useState } from "react";
3
+ import { View } from "react-native";
4
+ import Svg, { Path } from "react-native-svg";
5
+
6
+ const icon = (d: string) => (on: boolean, color: string) => (
7
+ <Svg width={24} height={24} viewBox="0 0 24 24" fill={on ? color : "none"} stroke={color} strokeWidth={2} strokeLinejoin="round">
8
+ <Path d={d} />
9
+ </Svg>
10
+ );
11
+ const TABS = [
12
+ { value: "home", label: "Home", icon: icon("M4 11 12 4l8 7v9H4z") },
13
+ { value: "files", label: "Files", badge: 3, badgeLabel: "3 to decide", icon: icon("M4 5h16v14H4zM8 9h8M8 13h5") },
14
+ { value: "me", label: "Me", icon: icon("M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0") },
15
+ ];
16
+ const STATS = [["Files to decide", "3"], ["Checks this month", "42"], ["Credits left", "58"], ["Average time", "1 min 12 s"]] as const;
17
+ const RECENT = [["Lease — 12 rue Fleury", "Verified"], ["Payslips — Ada Roy", "To decide"], ["ID — Noor Khan", "Verified"], ["Lease — 8 av. du Parc", "In progress"]] as const;
18
+
19
+ // TEMPLATE — Dashboard: a large title, a strip of stats that is two per row on a phone and four on a tablet, the recent
20
+ // items under it, the tab bar clear of the home indicator. Pull down to refresh; the content never runs under the bars.
21
+ export default function NativeScreenDashboard() {
22
+ const { theme } = useTheme();
23
+ const [tab, setTab] = useState("home");
24
+ const [refreshing, setRefreshing] = useState(false);
25
+ return (
26
+ <View style={{ width: 360, height: 640 }}>
27
+ <Screen
28
+ header={<Header title="Home" subtitle="Updated just now" />}
29
+ footer={<TabBar aria-label="Main sections" items={TABS} value={tab} onValueChange={setTab} />}
30
+ refreshing={refreshing}
31
+ refreshLabel="Pull to refresh"
32
+ onRefresh={() => { setRefreshing(true); setTimeout(() => setRefreshing(false), 800); }}
33
+ >
34
+ <Grid columns={{ compact: 2, expanded: 4 }} minItemWidth={140} aria-label="This month">
35
+ {STATS.map(([label, value]) => (
36
+ <View key={label} style={{ gap: 4, padding: 14, borderRadius: 12, borderWidth: 1, borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }}>
37
+ <Txt variant="caption" tone="secondary">{label}</Txt>
38
+ <Txt variant="title">{value}</Txt>
39
+ </View>
40
+ ))}
41
+ </Grid>
42
+ <Txt variant="label" role="heading">Recent</Txt>
43
+ {RECENT.map(([name, state]) => (
44
+ <View key={name} style={{ flexDirection: "row", alignItems: "center", gap: 12, paddingVertical: 10 }}>
45
+ <Txt style={{ flex: 1 }} numberOfLines={2}>{name}</Txt>
46
+ <Txt variant="caption" tone="secondary">{state}</Txt>
47
+ </View>
48
+ ))}
49
+ </Screen>
50
+ </View>
51
+ );
52
+ }
@@ -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,26 @@
1
+ "use client";
2
+
3
+ // registry/examples/screen/native/settings-home.tsx
4
+ import { Header, Screen, SettingsGroup, SettingsRow, Switch } from "@krizaka/ui/native";
5
+ import { View } from "react-native";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ function NativeScreenSettingsHome() {
8
+ return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 640 }, children: /* @__PURE__ */ jsxs(Screen, { header: /* @__PURE__ */ jsx(Header, { title: "Settings" }), children: [
9
+ /* @__PURE__ */ jsxs(SettingsGroup, { title: "Account", children: [
10
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Profile", description: "Name, photo", onPress: () => void 0 }),
11
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Language", value: "English", onPress: () => void 0 }),
12
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Theme", value: "System", onPress: () => void 0 })
13
+ ] }),
14
+ /* @__PURE__ */ jsxs(SettingsGroup, { title: "Notifications", children: [
15
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Files to decide", trailing: /* @__PURE__ */ jsx(Switch, { label: "Files to decide", defaultChecked: true }) }),
16
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Weekly summary", trailing: /* @__PURE__ */ jsx(Switch, { label: "Weekly summary" }) })
17
+ ] }),
18
+ /* @__PURE__ */ jsxs(SettingsGroup, { title: "Danger zone", children: [
19
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Sign out", onPress: () => void 0 }),
20
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Delete my account", destructive: true, onPress: () => void 0 })
21
+ ] })
22
+ ] }) });
23
+ }
24
+ export {
25
+ NativeScreenSettingsHome as default
26
+ };
@@ -0,0 +1,25 @@
1
+ import { Header, Screen, SettingsGroup, SettingsRow, Switch } from "@krizaka/ui/native";
2
+ import { View } from "react-native";
3
+
4
+ // TEMPLATE — Settings home: one list, grouped by what it concerns; a row that opens a screen has a chevron, a preference is a switch that applies at once.
5
+ export default function NativeScreenSettingsHome() {
6
+ return (
7
+ <View style={{ width: 360, height: 640 }}>
8
+ <Screen header={<Header title="Settings" />}>
9
+ <SettingsGroup title="Account">
10
+ <SettingsRow label="Profile" description="Name, photo" onPress={() => undefined} />
11
+ <SettingsRow label="Language" value="English" onPress={() => undefined} />
12
+ <SettingsRow label="Theme" value="System" onPress={() => undefined} />
13
+ </SettingsGroup>
14
+ <SettingsGroup title="Notifications">
15
+ <SettingsRow label="Files to decide" trailing={<Switch label="Files to decide" defaultChecked />} />
16
+ <SettingsRow label="Weekly summary" trailing={<Switch label="Weekly summary" />} />
17
+ </SettingsGroup>
18
+ <SettingsGroup title="Danger zone">
19
+ <SettingsRow label="Sign out" onPress={() => undefined} />
20
+ <SettingsRow label="Delete my account" destructive onPress={() => undefined} />
21
+ </SettingsGroup>
22
+ </Screen>
23
+ </View>
24
+ );
25
+ }
@@ -8,7 +8,7 @@ import { HeroSection } from "@krizaka/ui/shop/hero";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  function ShopHeroTv() {
10
10
  const { name, promise, cover } = demoSalon;
11
- return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(HeroSection, { variant: "tv", title: name, lead: promise, actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Book" }), tv: { src: "/demo.mp4", poster: cover.src, title: "Latest video", channel: "CH 3 \xB7 Saint-Henri" } }) });
11
+ return /* @__PURE__ */ jsx(ShopFrame, { density: "airy", children: /* @__PURE__ */ jsx(HeroSection, { variant: "tv", title: name, lead: promise, actions: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", children: "Book" }), tv: { src: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9-en.9391096007.mp4", poster: cover.src, title: "Latest video", channel: "CH 3 \xB7 Saint-Henri" } }) });
12
12
  }
13
13
  export {
14
14
  ShopHeroTv as default
@@ -8,7 +8,7 @@ export default function ShopHeroTv() {
8
8
  const { name, promise, cover } = demoSalon;
9
9
  return (
10
10
  <ShopFrame density="airy">
11
- <HeroSection variant="tv" title={name} lead={promise} actions={<Button variant="primary" size="lg">Book</Button>} tv={{ src: "/demo.mp4", poster: cover.src, title: "Latest video", channel: "CH 3 · Saint-Henri" }} />
11
+ <HeroSection variant="tv" title={name} lead={promise} actions={<Button variant="primary" size="lg">Book</Button>} tv={{ src: "https://krizaka-assets.b-cdn.net/site/brand-films/film/le-monde-de-krizaka-16x9-en.9391096007.mp4", poster: cover.src, title: "Latest video", channel: "CH 3 · Saint-Henri" }} />
12
12
  </ShopFrame>
13
13
  );
14
14
  }
@@ -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,12 @@
1
+ "use client";
2
+
3
+ // registry/examples/state-screen/native/empty.tsx
4
+ import { StateScreen } from "@krizaka/ui/native";
5
+ import { View } from "react-native";
6
+ import { jsx } from "react/jsx-runtime";
7
+ function NativeStateScreenEmpty() {
8
+ return /* @__PURE__ */ jsx(View, { style: { width: 360, height: 480 }, children: /* @__PURE__ */ jsx(StateScreen, { kind: "empty", title: "No files yet", description: "Applicant files you create or receive will be listed here.", action: { label: "New file", onPress: () => void 0 } }) });
9
+ }
10
+ export {
11
+ NativeStateScreenEmpty as default
12
+ };
@@ -0,0 +1,11 @@
1
+ import { StateScreen } from "@krizaka/ui/native";
2
+ import { View } from "react-native";
3
+
4
+ // TEMPLATE — Empty: nothing yet, and the one way to fill it.
5
+ export default function NativeStateScreenEmpty() {
6
+ return (
7
+ <View style={{ width: 360, height: 480 }}>
8
+ <StateScreen kind="empty" title="No files yet" description="Applicant files you create or receive will be listed here." action={{ label: "New file", onPress: () => undefined }} />
9
+ </View>
10
+ );
11
+ }
@@ -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;