@zonsh/ui 0.0.0 → 0.4.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 (425) hide show
  1. package/LICENSE +43 -0
  2. package/README.md +81 -1
  3. package/assets/illustrations/drawing/bracket-construction-dark.svg +77 -0
  4. package/assets/illustrations/drawing/bracket-construction-filled-dark.svg +50 -0
  5. package/assets/illustrations/drawing/bracket-construction-filled.svg +50 -0
  6. package/assets/illustrations/drawing/bracket-construction.svg +77 -0
  7. package/assets/illustrations/drawing/crescent-dark.svg +28 -0
  8. package/assets/illustrations/drawing/crescent-guides-dark.svg +33 -0
  9. package/assets/illustrations/drawing/crescent-guides.svg +33 -0
  10. package/assets/illustrations/drawing/crescent.svg +28 -0
  11. package/assets/illustrations/drawing/eclipse-dark.svg +187 -0
  12. package/assets/illustrations/drawing/eclipse-guides-dark.svg +191 -0
  13. package/assets/illustrations/drawing/eclipse-guides.svg +191 -0
  14. package/assets/illustrations/drawing/eclipse.svg +187 -0
  15. package/assets/illustrations/drawing/elevation-guides-dark.svg +31 -0
  16. package/assets/illustrations/drawing/elevation-guides-plain-dark.svg +9 -0
  17. package/assets/illustrations/drawing/elevation-guides-plain.svg +9 -0
  18. package/assets/illustrations/drawing/elevation-guides.svg +31 -0
  19. package/assets/illustrations/drawing/horizon-dark.svg +30 -0
  20. package/assets/illustrations/drawing/horizon.svg +30 -0
  21. package/assets/illustrations/drawing/nib-study-dark.svg +107 -0
  22. package/assets/illustrations/drawing/nib-study-plain-dark.svg +93 -0
  23. package/assets/illustrations/drawing/nib-study-plain.svg +93 -0
  24. package/assets/illustrations/drawing/nib-study.svg +107 -0
  25. package/assets/illustrations/editorial/assistant-640.webp +0 -0
  26. package/assets/illustrations/editorial/assistant.webp +0 -0
  27. package/assets/illustrations/editorial/automation-640.webp +0 -0
  28. package/assets/illustrations/editorial/automation.webp +0 -0
  29. package/assets/illustrations/editorial/bracket-left-640.webp +0 -0
  30. package/assets/illustrations/editorial/bracket-left.webp +0 -0
  31. package/assets/illustrations/editorial/bracket-right-640.webp +0 -0
  32. package/assets/illustrations/editorial/bracket-right.webp +0 -0
  33. package/assets/illustrations/editorial/custom-software-640.webp +0 -0
  34. package/assets/illustrations/editorial/custom-software.webp +0 -0
  35. package/assets/illustrations/editorial/digitalization-640.webp +0 -0
  36. package/assets/illustrations/editorial/digitalization.webp +0 -0
  37. package/assets/illustrations/editorial/integration-640.webp +0 -0
  38. package/assets/illustrations/editorial/integration.webp +0 -0
  39. package/assets/illustrations/editorial/problem-640.webp +0 -0
  40. package/assets/illustrations/editorial/problem.webp +0 -0
  41. package/assets/illustrations/editorial/process-analysis-640.webp +0 -0
  42. package/assets/illustrations/editorial/process-analysis.webp +0 -0
  43. package/assets/illustrations/editorial/process-concept-640.webp +0 -0
  44. package/assets/illustrations/editorial/process-concept.webp +0 -0
  45. package/assets/illustrations/editorial/process-development-640.webp +0 -0
  46. package/assets/illustrations/editorial/process-development.webp +0 -0
  47. package/assets/illustrations/editorial/process-discovery-640.webp +0 -0
  48. package/assets/illustrations/editorial/process-discovery.webp +0 -0
  49. package/assets/illustrations/editorial/process-maintenance-640.webp +0 -0
  50. package/assets/illustrations/editorial/process-maintenance.webp +0 -0
  51. package/assets/illustrations/editorial/process-prototype-640.webp +0 -0
  52. package/assets/illustrations/editorial/process-prototype.webp +0 -0
  53. package/assets/illustrations/editorial/process-testing-640.webp +0 -0
  54. package/assets/illustrations/editorial/process-testing.webp +0 -0
  55. package/assets/illustrations/iso/automation-dark.svg +6 -0
  56. package/assets/illustrations/iso/automation.svg +6 -0
  57. package/assets/illustrations/iso/bar-chart-dark.svg +6 -0
  58. package/assets/illustrations/iso/bar-chart.svg +6 -0
  59. package/assets/illustrations/iso/brackets-classic-dark.svg +6 -0
  60. package/assets/illustrations/iso/brackets-classic.svg +6 -0
  61. package/assets/illustrations/iso/brackets-dark.svg +6 -0
  62. package/assets/illustrations/iso/brackets.svg +6 -0
  63. package/assets/illustrations/iso/city-dark.svg +6 -0
  64. package/assets/illustrations/iso/city.svg +6 -0
  65. package/assets/illustrations/iso/conveyor-dark.svg +6 -0
  66. package/assets/illustrations/iso/conveyor.svg +6 -0
  67. package/assets/illustrations/iso/database-dark.svg +6 -0
  68. package/assets/illustrations/iso/database.svg +6 -0
  69. package/assets/illustrations/iso/documents-dark.svg +6 -0
  70. package/assets/illustrations/iso/documents.svg +6 -0
  71. package/assets/illustrations/iso/inbox-dark.svg +6 -0
  72. package/assets/illustrations/iso/inbox.svg +6 -0
  73. package/assets/illustrations/iso/laptop-dark.svg +6 -0
  74. package/assets/illustrations/iso/laptop.svg +6 -0
  75. package/assets/illustrations/iso/monitor-dark.svg +6 -0
  76. package/assets/illustrations/iso/monitor.svg +6 -0
  77. package/assets/illustrations/iso/pipeline-dark.svg +6 -0
  78. package/assets/illustrations/iso/pipeline.svg +6 -0
  79. package/assets/illustrations/iso/platform-dark.svg +6 -0
  80. package/assets/illustrations/iso/platform.svg +6 -0
  81. package/assets/illustrations/iso/server-dark.svg +6 -0
  82. package/assets/illustrations/iso/server.svg +6 -0
  83. package/assets/illustrations/iso/spreadsheet-dark.svg +6 -0
  84. package/assets/illustrations/iso/spreadsheet.svg +6 -0
  85. package/assets/illustrations/iso/timeline-dark.svg +6 -0
  86. package/assets/illustrations/iso/timeline.svg +6 -0
  87. package/assets/illustrations/sheet/construction.svg +115 -0
  88. package/assets/illustrations/sheet/crescent.svg +40 -0
  89. package/assets/illustrations/sheet/limb.svg +42 -0
  90. package/assets/illustrations/sheet/stress-axis.svg +119 -0
  91. package/assets/illustrations/sheet/totality.svg +215 -0
  92. package/assets/illustrations/sheet/vertical-metrics.svg +43 -0
  93. package/assets/logo-left.svg +1 -0
  94. package/assets/logo-right.svg +1 -0
  95. package/assets/logo.svg +1 -0
  96. package/dist/components/_overlay.d.ts +47 -0
  97. package/dist/components/_overlay.js +59 -0
  98. package/dist/components/accordion.d.ts +32 -0
  99. package/dist/components/accordion.js +39 -0
  100. package/dist/components/alert-dialog.d.ts +45 -0
  101. package/dist/components/alert-dialog.js +56 -0
  102. package/dist/components/alert.d.ts +35 -0
  103. package/dist/components/alert.js +42 -0
  104. package/dist/components/ascii-field.d.ts +34 -0
  105. package/dist/components/ascii-field.js +410 -0
  106. package/dist/components/aspect-ratio.d.ts +14 -0
  107. package/dist/components/aspect-ratio.js +17 -0
  108. package/dist/components/avatar.d.ts +42 -0
  109. package/dist/components/avatar.js +55 -0
  110. package/dist/components/badge.d.ts +70 -0
  111. package/dist/components/badge.js +62 -0
  112. package/dist/components/bottom-nav.d.ts +86 -0
  113. package/dist/components/bottom-nav.js +175 -0
  114. package/dist/components/breadcrumb.d.ts +31 -0
  115. package/dist/components/breadcrumb.js +37 -0
  116. package/dist/components/button-group.d.ts +30 -0
  117. package/dist/components/button-group.js +47 -0
  118. package/dist/components/button.d.ts +53 -0
  119. package/dist/components/button.js +130 -0
  120. package/dist/components/calendar.d.ts +26 -0
  121. package/dist/components/calendar.js +179 -0
  122. package/dist/components/card.d.ts +42 -0
  123. package/dist/components/card.js +76 -0
  124. package/dist/components/carousel.d.ts +109 -0
  125. package/dist/components/carousel.js +231 -0
  126. package/dist/components/chart.d.ts +189 -0
  127. package/dist/components/chart.js +323 -0
  128. package/dist/components/checkbox.d.ts +23 -0
  129. package/dist/components/checkbox.js +43 -0
  130. package/dist/components/code-block.d.ts +55 -0
  131. package/dist/components/code-block.js +100 -0
  132. package/dist/components/collapsible.d.ts +20 -0
  133. package/dist/components/collapsible.js +32 -0
  134. package/dist/components/color-picker.d.ts +107 -0
  135. package/dist/components/color-picker.js +428 -0
  136. package/dist/components/combobox.d.ts +99 -0
  137. package/dist/components/combobox.js +172 -0
  138. package/dist/components/command.d.ts +132 -0
  139. package/dist/components/command.js +257 -0
  140. package/dist/components/context-menu.d.ts +29 -0
  141. package/dist/components/context-menu.js +35 -0
  142. package/dist/components/conversation.d.ts +36 -0
  143. package/dist/components/conversation.js +303 -0
  144. package/dist/components/copy-button.d.ts +55 -0
  145. package/dist/components/copy-button.js +133 -0
  146. package/dist/components/data-table.d.ts +235 -0
  147. package/dist/components/data-table.js +655 -0
  148. package/dist/components/date-picker.d.ts +160 -0
  149. package/dist/components/date-picker.js +338 -0
  150. package/dist/components/dialog.d.ts +57 -0
  151. package/dist/components/dialog.js +95 -0
  152. package/dist/components/direction.d.ts +16 -0
  153. package/dist/components/direction.js +18 -0
  154. package/dist/components/drawer.d.ts +69 -0
  155. package/dist/components/drawer.js +79 -0
  156. package/dist/components/empty.d.ts +31 -0
  157. package/dist/components/empty.js +50 -0
  158. package/dist/components/feature-list.d.ts +54 -0
  159. package/dist/components/feature-list.js +43 -0
  160. package/dist/components/field.d.ts +34 -0
  161. package/dist/components/field.js +81 -0
  162. package/dist/components/file-drop.d.ts +77 -0
  163. package/dist/components/file-drop.js +258 -0
  164. package/dist/components/filter-bar.d.ts +153 -0
  165. package/dist/components/filter-bar.js +334 -0
  166. package/dist/components/form.d.ts +35 -0
  167. package/dist/components/form.js +56 -0
  168. package/dist/components/graph.d.ts +146 -0
  169. package/dist/components/graph.js +825 -0
  170. package/dist/components/illustration.d.ts +85 -0
  171. package/dist/components/illustration.js +165 -0
  172. package/dist/components/input-group.d.ts +138 -0
  173. package/dist/components/input-group.js +312 -0
  174. package/dist/components/input.d.ts +16 -0
  175. package/dist/components/input.js +25 -0
  176. package/dist/components/item.d.ts +64 -0
  177. package/dist/components/item.js +116 -0
  178. package/dist/components/kbd.d.ts +50 -0
  179. package/dist/components/kbd.js +45 -0
  180. package/dist/components/label.d.ts +12 -0
  181. package/dist/components/label.js +24 -0
  182. package/dist/components/layout.d.ts +136 -0
  183. package/dist/components/layout.js +162 -0
  184. package/dist/components/lightbox.d.ts +100 -0
  185. package/dist/components/lightbox.js +439 -0
  186. package/dist/components/locale.d.ts +44 -0
  187. package/dist/components/locale.js +37 -0
  188. package/dist/components/logo.d.ts +54 -0
  189. package/dist/components/logo.js +96 -0
  190. package/dist/components/menu.d.ts +60 -0
  191. package/dist/components/menu.js +140 -0
  192. package/dist/components/menubar.d.ts +62 -0
  193. package/dist/components/menubar.js +223 -0
  194. package/dist/components/message.d.ts +42 -0
  195. package/dist/components/message.js +59 -0
  196. package/dist/components/meter.d.ts +31 -0
  197. package/dist/components/meter.js +27 -0
  198. package/dist/components/money-input.d.ts +80 -0
  199. package/dist/components/money-input.js +253 -0
  200. package/dist/components/native-select.d.ts +26 -0
  201. package/dist/components/native-select.js +35 -0
  202. package/dist/components/navigation-menu.d.ts +42 -0
  203. package/dist/components/navigation-menu.js +97 -0
  204. package/dist/components/number-field.d.ts +55 -0
  205. package/dist/components/number-field.js +164 -0
  206. package/dist/components/otp-field.d.ts +48 -0
  207. package/dist/components/otp-field.js +102 -0
  208. package/dist/components/pagination.d.ts +37 -0
  209. package/dist/components/pagination.js +81 -0
  210. package/dist/components/pdf-viewer.d.ts +134 -0
  211. package/dist/components/pdf-viewer.js +996 -0
  212. package/dist/components/phone-input.d.ts +79 -0
  213. package/dist/components/phone-input.js +282 -0
  214. package/dist/components/popover.d.ts +33 -0
  215. package/dist/components/popover.js +48 -0
  216. package/dist/components/preview-card.d.ts +25 -0
  217. package/dist/components/preview-card.js +22 -0
  218. package/dist/components/progress.d.ts +27 -0
  219. package/dist/components/progress.js +25 -0
  220. package/dist/components/prompt-input.d.ts +156 -0
  221. package/dist/components/prompt-input.js +415 -0
  222. package/dist/components/quote.d.ts +22 -0
  223. package/dist/components/quote.js +15 -0
  224. package/dist/components/radio-group.d.ts +18 -0
  225. package/dist/components/radio-group.js +34 -0
  226. package/dist/components/rating.d.ts +73 -0
  227. package/dist/components/rating.js +124 -0
  228. package/dist/components/reasoning.d.ts +46 -0
  229. package/dist/components/reasoning.js +73 -0
  230. package/dist/components/resizable.d.ts +47 -0
  231. package/dist/components/resizable.js +44 -0
  232. package/dist/components/response.d.ts +41 -0
  233. package/dist/components/response.js +566 -0
  234. package/dist/components/scroll-area.d.ts +33 -0
  235. package/dist/components/scroll-area.js +31 -0
  236. package/dist/components/select.d.ts +35 -0
  237. package/dist/components/select.js +71 -0
  238. package/dist/components/separator.d.ts +14 -0
  239. package/dist/components/separator.js +17 -0
  240. package/dist/components/sidebar.d.ts +163 -0
  241. package/dist/components/sidebar.js +505 -0
  242. package/dist/components/site-header.d.ts +93 -0
  243. package/dist/components/site-header.js +121 -0
  244. package/dist/components/skeleton.d.ts +31 -0
  245. package/dist/components/skeleton.js +29 -0
  246. package/dist/components/slider.d.ts +24 -0
  247. package/dist/components/slider.js +131 -0
  248. package/dist/components/sortable.d.ts +178 -0
  249. package/dist/components/sortable.js +1258 -0
  250. package/dist/components/sources.d.ts +40 -0
  251. package/dist/components/sources.js +42 -0
  252. package/dist/components/spinner.d.ts +48 -0
  253. package/dist/components/spinner.js +75 -0
  254. package/dist/components/stat.d.ts +91 -0
  255. package/dist/components/stat.js +141 -0
  256. package/dist/components/stepper.d.ts +71 -0
  257. package/dist/components/stepper.js +101 -0
  258. package/dist/components/suggestions.d.ts +20 -0
  259. package/dist/components/suggestions.js +18 -0
  260. package/dist/components/switch.d.ts +14 -0
  261. package/dist/components/switch.js +26 -0
  262. package/dist/components/table.d.ts +172 -0
  263. package/dist/components/table.js +895 -0
  264. package/dist/components/tabs.d.ts +25 -0
  265. package/dist/components/tabs.js +162 -0
  266. package/dist/components/tag.d.ts +41 -0
  267. package/dist/components/tag.js +88 -0
  268. package/dist/components/tags-input.d.ts +56 -0
  269. package/dist/components/tags-input.js +271 -0
  270. package/dist/components/textarea.d.ts +13 -0
  271. package/dist/components/textarea.js +16 -0
  272. package/dist/components/theme.d.ts +55 -0
  273. package/dist/components/theme.js +120 -0
  274. package/dist/components/time-field.d.ts +70 -0
  275. package/dist/components/time-field.js +450 -0
  276. package/dist/components/timeline.d.ts +92 -0
  277. package/dist/components/timeline.js +108 -0
  278. package/dist/components/tippy.d.ts +48 -0
  279. package/dist/components/tippy.js +648 -0
  280. package/dist/components/toast.d.ts +88 -0
  281. package/dist/components/toast.js +205 -0
  282. package/dist/components/toggle-group.d.ts +41 -0
  283. package/dist/components/toggle-group.js +140 -0
  284. package/dist/components/toggle.d.ts +23 -0
  285. package/dist/components/toggle.js +35 -0
  286. package/dist/components/tool-call.d.ts +63 -0
  287. package/dist/components/tool-call.js +68 -0
  288. package/dist/components/toolbar.d.ts +17 -0
  289. package/dist/components/toolbar.js +39 -0
  290. package/dist/components/tooltip.d.ts +42 -0
  291. package/dist/components/tooltip.js +47 -0
  292. package/dist/components/tour.d.ts +127 -0
  293. package/dist/components/tour.js +648 -0
  294. package/dist/components/tree.d.ts +75 -0
  295. package/dist/components/tree.js +649 -0
  296. package/dist/components/typography.d.ts +134 -0
  297. package/dist/components/typography.js +176 -0
  298. package/dist/components/video-player.d.ts +284 -0
  299. package/dist/components/video-player.js +1392 -0
  300. package/dist/illustration.d.ts +2 -0
  301. package/dist/illustration.js +7 -0
  302. package/dist/index.d.ts +93 -0
  303. package/dist/index.js +94 -0
  304. package/dist/lib/cn.d.ts +20 -0
  305. package/dist/lib/cn.js +38 -0
  306. package/dist/lib/code-highlight.d.ts +18 -0
  307. package/dist/lib/code-highlight.js +174 -0
  308. package/dist/lib/code-theme.d.ts +19 -0
  309. package/dist/lib/code-theme.js +140 -0
  310. package/dist/lib/collapse-row.d.ts +9 -0
  311. package/dist/lib/collapse-row.js +129 -0
  312. package/dist/lib/digit-roll.d.ts +21 -0
  313. package/dist/lib/digit-roll.js +31 -0
  314. package/dist/lib/editorial-assets.d.ts +16 -0
  315. package/dist/lib/editorial-assets.js +56 -0
  316. package/dist/lib/field-errors.d.ts +28 -0
  317. package/dist/lib/field-errors.js +24 -0
  318. package/dist/lib/field-value.d.ts +13 -0
  319. package/dist/lib/field-value.js +44 -0
  320. package/dist/lib/figure/catalog.d.ts +127 -0
  321. package/dist/lib/figure/catalog.js +130 -0
  322. package/dist/lib/figure/figures/automation.d.ts +7 -0
  323. package/dist/lib/figure/figures/automation.js +143 -0
  324. package/dist/lib/figure/figures/bar-chart.d.ts +7 -0
  325. package/dist/lib/figure/figures/bar-chart.js +99 -0
  326. package/dist/lib/figure/figures/brackets-classic.d.ts +11 -0
  327. package/dist/lib/figure/figures/brackets-classic.js +170 -0
  328. package/dist/lib/figure/figures/brackets.d.ts +8 -0
  329. package/dist/lib/figure/figures/brackets.js +84 -0
  330. package/dist/lib/figure/figures/city.d.ts +7 -0
  331. package/dist/lib/figure/figures/city.js +93 -0
  332. package/dist/lib/figure/figures/conveyor.d.ts +7 -0
  333. package/dist/lib/figure/figures/conveyor.js +97 -0
  334. package/dist/lib/figure/figures/database.d.ts +7 -0
  335. package/dist/lib/figure/figures/database.js +65 -0
  336. package/dist/lib/figure/figures/documents.d.ts +7 -0
  337. package/dist/lib/figure/figures/documents.js +83 -0
  338. package/dist/lib/figure/figures/inbox.d.ts +7 -0
  339. package/dist/lib/figure/figures/inbox.js +92 -0
  340. package/dist/lib/figure/figures/laptop.d.ts +7 -0
  341. package/dist/lib/figure/figures/laptop.js +67 -0
  342. package/dist/lib/figure/figures/monitor.d.ts +7 -0
  343. package/dist/lib/figure/figures/monitor.js +59 -0
  344. package/dist/lib/figure/figures/pipeline.d.ts +8 -0
  345. package/dist/lib/figure/figures/pipeline.js +117 -0
  346. package/dist/lib/figure/figures/platform.d.ts +7 -0
  347. package/dist/lib/figure/figures/platform.js +117 -0
  348. package/dist/lib/figure/figures/server.d.ts +7 -0
  349. package/dist/lib/figure/figures/server.js +115 -0
  350. package/dist/lib/figure/figures/spreadsheet.d.ts +7 -0
  351. package/dist/lib/figure/figures/spreadsheet.js +87 -0
  352. package/dist/lib/figure/figures/timeline.d.ts +7 -0
  353. package/dist/lib/figure/figures/timeline.js +65 -0
  354. package/dist/lib/figure/kernel.d.ts +152 -0
  355. package/dist/lib/figure/kernel.js +576 -0
  356. package/dist/lib/figure/parts.d.ts +42 -0
  357. package/dist/lib/figure/parts.js +126 -0
  358. package/dist/lib/form-reset.d.ts +11 -0
  359. package/dist/lib/form-reset.js +22 -0
  360. package/dist/lib/glide.d.ts +53 -0
  361. package/dist/lib/glide.js +138 -0
  362. package/dist/lib/graph-layout.d.ts +58 -0
  363. package/dist/lib/graph-layout.js +209 -0
  364. package/dist/lib/illustration-drawings.d.ts +89 -0
  365. package/dist/lib/illustration-drawings.js +539 -0
  366. package/dist/lib/illustration-info.d.ts +37 -0
  367. package/dist/lib/illustration-info.js +22 -0
  368. package/dist/lib/illustration-library.d.ts +87 -0
  369. package/dist/lib/illustration-library.js +352 -0
  370. package/dist/lib/logo-geometry.d.ts +29 -0
  371. package/dist/lib/logo-geometry.js +67 -0
  372. package/dist/lib/markdown-guard.d.ts +16 -0
  373. package/dist/lib/markdown-guard.js +123 -0
  374. package/dist/lib/merge-refs.d.ts +10 -0
  375. package/dist/lib/merge-refs.js +26 -0
  376. package/dist/lib/money.d.ts +73 -0
  377. package/dist/lib/money.js +343 -0
  378. package/dist/lib/motion.d.ts +6 -0
  379. package/dist/lib/motion.js +12 -0
  380. package/dist/lib/pdf-worker.d.ts +1 -0
  381. package/dist/lib/pdf-worker.js +6 -0
  382. package/dist/lib/pdf.d.ts +19 -0
  383. package/dist/lib/pdf.js +58 -0
  384. package/dist/lib/phone-countries.d.ts +1 -0
  385. package/dist/lib/phone-countries.js +281 -0
  386. package/dist/lib/phone.d.ts +90 -0
  387. package/dist/lib/phone.js +286 -0
  388. package/dist/lib/platform.d.ts +38 -0
  389. package/dist/lib/platform.js +75 -0
  390. package/dist/lib/room.d.ts +25 -0
  391. package/dist/lib/room.js +46 -0
  392. package/dist/lib/row-index.d.ts +15 -0
  393. package/dist/lib/row-index.js +136 -0
  394. package/dist/lib/table-fit.d.ts +143 -0
  395. package/dist/lib/table-fit.js +596 -0
  396. package/dist/lib/theme-script.d.ts +31 -0
  397. package/dist/lib/theme-script.js +49 -0
  398. package/dist/lib/tippy/pixels.d.ts +47 -0
  399. package/dist/lib/tippy/pixels.js +187 -0
  400. package/dist/lib/tippy/sprite.d.ts +86 -0
  401. package/dist/lib/tippy/sprite.js +753 -0
  402. package/dist/messages/de.d.ts +12 -0
  403. package/dist/messages/de.js +326 -0
  404. package/dist/styles/expressive.css +203 -0
  405. package/dist/styles/fonts.css +145 -0
  406. package/dist/styles/index.css +207 -0
  407. package/dist/styles/material.css +317 -0
  408. package/dist/styles/parts/ai.css +361 -0
  409. package/dist/styles/parts/brand.css +75 -0
  410. package/dist/styles/parts/controls.css +774 -0
  411. package/dist/styles/parts/data.css +222 -0
  412. package/dist/styles/parts/editorial.css +120 -0
  413. package/dist/styles/parts/feedback.css +340 -0
  414. package/dist/styles/parts/foundations.css +166 -0
  415. package/dist/styles/parts/graph.css +214 -0
  416. package/dist/styles/parts/inputs.css +261 -0
  417. package/dist/styles/parts/isometric.css +124 -0
  418. package/dist/styles/parts/navigation.css +424 -0
  419. package/dist/styles/parts/overlays.css +250 -0
  420. package/dist/styles/parts/pdf.css +154 -0
  421. package/dist/styles/parts/react-flow.css +519 -0
  422. package/dist/styles/tokens.css +299 -0
  423. package/dist/vite.d.ts +66 -0
  424. package/dist/vite.js +29 -0
  425. package/package.json +183 -5
@@ -0,0 +1,129 @@
1
+ import * as React from "react";
2
+ const rows = new Map();
3
+ const px = (value) => {
4
+ const n = Number.parseFloat(value);
5
+ return Number.isFinite(n) ? n : 0;
6
+ };
7
+ /** A length from a custom property: px or rem. */
8
+ const length = (value) => {
9
+ const v = value.trim();
10
+ if (v.endsWith("rem"))
11
+ return px(v) * px(getComputedStyle(document.documentElement).fontSize);
12
+ return px(v);
13
+ };
14
+ /** The room the row's children ask for: fixed children at their width, growing ones at their min. */
15
+ function contentWidth(row) {
16
+ const children = [...row.children].filter((child) => {
17
+ if (!(child instanceof HTMLElement))
18
+ return false;
19
+ const style = getComputedStyle(child);
20
+ return style.display !== "none" && style.position !== "absolute" && style.position !== "fixed";
21
+ });
22
+ const style = getComputedStyle(row);
23
+ const gap = px(style.columnGap) * Math.max(0, children.length - 1);
24
+ return (gap +
25
+ children.reduce((sum, child) => {
26
+ const s = getComputedStyle(child);
27
+ return (sum +
28
+ (px(s.flexGrow) > 0
29
+ ? Math.max(px(s.minWidth), length(s.getPropertyValue("--collapse-min")))
30
+ : child.getBoundingClientRect().width));
31
+ }, 0));
32
+ }
33
+ const settled = (el) => el.getAnimations({ subtree: true }).length === 0;
34
+ function layout(row) {
35
+ row.frame = 0;
36
+ const members = [...row.members].sort((a, b) => a.el.compareDocumentPosition(b.el) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1);
37
+ for (const m of members) {
38
+ if (!m.collapsed && settled(m.el))
39
+ m.full = m.el.getBoundingClientRect().width;
40
+ }
41
+ const style = getComputedStyle(row.el);
42
+ const room = row.el.clientWidth - px(style.paddingLeft) - px(style.paddingRight);
43
+ // Everything expanded: today's content with each button's live width swapped for its full one.
44
+ let excess = contentWidth(row.el) +
45
+ members.reduce((sum, m) => sum + m.full - m.el.getBoundingClientRect().width, 0) -
46
+ room;
47
+ const next = new Map();
48
+ for (const m of [...members].reverse()) {
49
+ const compact = m.el.getBoundingClientRect().height;
50
+ const fold = excess > 0.5;
51
+ next.set(m, fold);
52
+ if (fold)
53
+ excess -= Math.max(0, m.full - compact);
54
+ }
55
+ row.el.toggleAttribute("data-collapse-overflow", excess > 0.5);
56
+ for (const [m, fold] of next) {
57
+ if (m.collapsed !== fold) {
58
+ m.collapsed = fold;
59
+ m.set(fold);
60
+ }
61
+ }
62
+ }
63
+ function schedule(row) {
64
+ if (!row.frame)
65
+ row.frame = requestAnimationFrame(() => layout(row));
66
+ }
67
+ function join(el, member) {
68
+ const rowEl = el.parentElement?.closest("[data-collapse-row]") ?? el.parentElement;
69
+ if (!rowEl)
70
+ return () => { };
71
+ let row = rows.get(rowEl);
72
+ if (!row) {
73
+ const created = {
74
+ el: rowEl,
75
+ members: new Set(),
76
+ observer: new ResizeObserver(() => schedule(created)),
77
+ frame: 0,
78
+ };
79
+ created.observer.observe(rowEl);
80
+ rows.set(rowEl, created);
81
+ row = created;
82
+ }
83
+ const current = row;
84
+ current.members.add(member);
85
+ // A button's own size changes too (a font loading, a new label): measure again.
86
+ current.observer.observe(el);
87
+ // The first decision lands before the first paint, so a tight row never animates on load.
88
+ layout(current);
89
+ return () => {
90
+ current.members.delete(member);
91
+ current.observer.unobserve(el);
92
+ if (current.members.size === 0) {
93
+ rowEl.removeAttribute("data-collapse-overflow");
94
+ current.observer.disconnect();
95
+ cancelAnimationFrame(current.frame);
96
+ rows.delete(rowEl);
97
+ }
98
+ else
99
+ schedule(current);
100
+ };
101
+ }
102
+ /**
103
+ * Whether a collapsible button should show only its icon now. Joins the button's row while
104
+ * `enabled`; `ready` turns true after the first decision, so the first one is drawn without motion.
105
+ */
106
+ export function useCollapsible(ref, enabled) {
107
+ const [collapsed, setCollapsed] = React.useState(false);
108
+ const [ready, setReady] = React.useState(false);
109
+ React.useLayoutEffect(() => {
110
+ const el = ref.current;
111
+ if (!enabled || !el)
112
+ return;
113
+ const member = {
114
+ el,
115
+ set: setCollapsed,
116
+ collapsed: false,
117
+ full: el.getBoundingClientRect().width,
118
+ };
119
+ const leave = join(el, member);
120
+ const frame = requestAnimationFrame(() => setReady(true));
121
+ return () => {
122
+ cancelAnimationFrame(frame);
123
+ leave();
124
+ setCollapsed(false);
125
+ setReady(false);
126
+ };
127
+ }, [enabled, ref]);
128
+ return { collapsed: enabled && collapsed, ready };
129
+ }
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ /** One step to animate: the text before and after it, and which way the digits travel. */
3
+ export type Roll = {
4
+ from: string;
5
+ to: string;
6
+ dir: 1 | -1;
7
+ key: number;
8
+ };
9
+ export declare const reducedMotion: () => boolean;
10
+ /**
11
+ * The digit roll drawn over a value while a step animates (aria-hidden; the element underneath
12
+ * keeps the value and the accessible name). The two values are lined up from the right, so units,
13
+ * tens and hundreds meet their own places; only characters that differ move. Shared by NumberField
14
+ * and TimeField; the keyframes live in parts/inputs.css, keyed on the `slot`.
15
+ */
16
+ export declare function DigitRoll({ roll, slot, className, onDone, }: {
17
+ roll: Roll;
18
+ slot: "number-field-roll" | "time-field-roll";
19
+ className?: string;
20
+ onDone: () => void;
21
+ }): React.JSX.Element;
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { cn } from "./cn.js";
4
+ export const reducedMotion = () => typeof window !== "undefined" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
5
+ /**
6
+ * The digit roll drawn over a value while a step animates (aria-hidden; the element underneath
7
+ * keeps the value and the accessible name). The two values are lined up from the right, so units,
8
+ * tens and hundreds meet their own places; only characters that differ move. Shared by NumberField
9
+ * and TimeField; the keyframes live in parts/inputs.css, keyed on the `slot`.
10
+ */
11
+ export function DigitRoll({ roll, slot, className, onDone, }) {
12
+ const width = Math.max(roll.from.length, roll.to.length);
13
+ const from = roll.from.padStart(width, " ");
14
+ const to = roll.to.padStart(width, " ");
15
+ React.useEffect(() => {
16
+ // A fallback for when no animation runs (or its end event is missed).
17
+ const t = setTimeout(onDone, 1000);
18
+ return () => clearTimeout(t);
19
+ }, [onDone]);
20
+ return (_jsx("span", { "aria-hidden": true, "data-slot": slot,
21
+ // Laid out in the page's direction, so `justify-start` and `ps-*` put the value at its start.
22
+ className: cn("pointer-events-none absolute inset-0 flex items-center justify-center overflow-hidden font-mono whitespace-pre text-foreground tabular-nums", className), style: { "--roll-dir": roll.dir }, onAnimationEnd: (e) => {
23
+ if (e.target.hasAttribute("data-new"))
24
+ onDone();
25
+ }, children: _jsx("span", { dir: "ltr", className: "flex items-center", children: [...to].map((next, i) => {
26
+ const prev = from[i];
27
+ if (prev === next)
28
+ return _jsx("span", { children: next }, i);
29
+ return (_jsxs("span", { "data-roll": "", "data-grow": prev === " " ? "" : undefined, "data-shrink": next === " " ? "" : undefined, children: [_jsx("span", { "data-old": "", children: prev }), _jsx("span", { "data-new": "", children: next })] }, i));
30
+ }) }) }));
31
+ }
@@ -0,0 +1,16 @@
1
+ import type { EditorialName } from "./illustration-library.js";
2
+ export interface EditorialAsset {
3
+ /** The 1254px file. */
4
+ src: string;
5
+ /** The 640px file, for 1x displays. */
6
+ small: string;
7
+ /** Pixel widths for `srcSet`, when the files are not the square 1254 / 640. */
8
+ width?: number;
9
+ smallWidth?: number;
10
+ }
11
+ export declare const EDITORIAL_ASSETS: Record<EditorialName, EditorialAsset>;
12
+ /** `src` and `srcSet` for an editorial entry, from its name. */
13
+ export declare function editorialSource(name: EditorialName): {
14
+ src: string;
15
+ srcSet: string;
16
+ };
@@ -0,0 +1,56 @@
1
+ const assistant = new URL("../../assets/illustrations/editorial/assistant.webp", import.meta.url).href;
2
+ const assistantSmall = new URL("../../assets/illustrations/editorial/assistant-640.webp", import.meta.url).href;
3
+ const automation = new URL("../../assets/illustrations/editorial/automation.webp", import.meta.url).href;
4
+ const automationSmall = new URL("../../assets/illustrations/editorial/automation-640.webp", import.meta.url).href;
5
+ const bracketLeft = new URL("../../assets/illustrations/editorial/bracket-left.webp", import.meta.url).href;
6
+ const bracketLeftSmall = new URL("../../assets/illustrations/editorial/bracket-left-640.webp", import.meta.url).href;
7
+ const bracketRight = new URL("../../assets/illustrations/editorial/bracket-right.webp", import.meta.url).href;
8
+ const bracketRightSmall = new URL("../../assets/illustrations/editorial/bracket-right-640.webp", import.meta.url).href;
9
+ const customSoftware = new URL("../../assets/illustrations/editorial/custom-software.webp", import.meta.url).href;
10
+ const customSoftwareSmall = new URL("../../assets/illustrations/editorial/custom-software-640.webp", import.meta.url).href;
11
+ const digitalization = new URL("../../assets/illustrations/editorial/digitalization.webp", import.meta.url).href;
12
+ const digitalizationSmall = new URL("../../assets/illustrations/editorial/digitalization-640.webp", import.meta.url).href;
13
+ const integration = new URL("../../assets/illustrations/editorial/integration.webp", import.meta.url).href;
14
+ const integrationSmall = new URL("../../assets/illustrations/editorial/integration-640.webp", import.meta.url).href;
15
+ const problem = new URL("../../assets/illustrations/editorial/problem.webp", import.meta.url).href;
16
+ const problemSmall = new URL("../../assets/illustrations/editorial/problem-640.webp", import.meta.url).href;
17
+ const processAnalysis = new URL("../../assets/illustrations/editorial/process-analysis.webp", import.meta.url).href;
18
+ const processAnalysisSmall = new URL("../../assets/illustrations/editorial/process-analysis-640.webp", import.meta.url).href;
19
+ const processConcept = new URL("../../assets/illustrations/editorial/process-concept.webp", import.meta.url).href;
20
+ const processConceptSmall = new URL("../../assets/illustrations/editorial/process-concept-640.webp", import.meta.url).href;
21
+ const processDevelopment = new URL("../../assets/illustrations/editorial/process-development.webp", import.meta.url).href;
22
+ const processDevelopmentSmall = new URL("../../assets/illustrations/editorial/process-development-640.webp", import.meta.url).href;
23
+ const processDiscovery = new URL("../../assets/illustrations/editorial/process-discovery.webp", import.meta.url).href;
24
+ const processDiscoverySmall = new URL("../../assets/illustrations/editorial/process-discovery-640.webp", import.meta.url).href;
25
+ const processMaintenance = new URL("../../assets/illustrations/editorial/process-maintenance.webp", import.meta.url).href;
26
+ const processMaintenanceSmall = new URL("../../assets/illustrations/editorial/process-maintenance-640.webp", import.meta.url).href;
27
+ const processPrototype = new URL("../../assets/illustrations/editorial/process-prototype.webp", import.meta.url).href;
28
+ const processPrototypeSmall = new URL("../../assets/illustrations/editorial/process-prototype-640.webp", import.meta.url).href;
29
+ const processTesting = new URL("../../assets/illustrations/editorial/process-testing.webp", import.meta.url).href;
30
+ const processTestingSmall = new URL("../../assets/illustrations/editorial/process-testing-640.webp", import.meta.url).href;
31
+ export const EDITORIAL_ASSETS = {
32
+ assistant: { src: assistant, small: assistantSmall },
33
+ automation: { src: automation, small: automationSmall },
34
+ "bracket-left": { src: bracketLeft, small: bracketLeftSmall, width: 383, smallWidth: 251 },
35
+ "bracket-right": { src: bracketRight, small: bracketRightSmall, width: 387, smallWidth: 254 },
36
+ "custom-software": { src: customSoftware, small: customSoftwareSmall },
37
+ digitalization: { src: digitalization, small: digitalizationSmall },
38
+ integration: { src: integration, small: integrationSmall },
39
+ problem: { src: problem, small: problemSmall },
40
+ "process-analysis": { src: processAnalysis, small: processAnalysisSmall },
41
+ "process-concept": { src: processConcept, small: processConceptSmall },
42
+ "process-development": { src: processDevelopment, small: processDevelopmentSmall },
43
+ "process-discovery": { src: processDiscovery, small: processDiscoverySmall },
44
+ "process-maintenance": { src: processMaintenance, small: processMaintenanceSmall },
45
+ "process-prototype": { src: processPrototype, small: processPrototypeSmall },
46
+ "process-testing": { src: processTesting, small: processTestingSmall },
47
+ };
48
+ /** `src` and `srcSet` for an editorial entry, from its name. */
49
+ export function editorialSource(name) {
50
+ // Every editorial entry is listed above; the record is typed by `EditorialName`.
51
+ const asset = EDITORIAL_ASSETS[name];
52
+ return {
53
+ src: asset.src,
54
+ srcSet: `${asset.small} ${asset.smallWidth ?? 640}w, ${asset.src} ${asset.width ?? 1254}w`,
55
+ };
56
+ }
@@ -0,0 +1,28 @@
1
+ import * as React from "react";
2
+ /**
3
+ * One error as a form library hands it over: a message, or an object with a `message` (React Hook
4
+ * Form's `fieldState.error`, a Standard Schema issue in TanStack Form's `field.state.meta.errors`).
5
+ * Nothing, `null`, `false` or an empty message means no error.
6
+ */
7
+ export type FieldErrorLike = string | {
8
+ message?: string | undefined;
9
+ } | null | undefined | false;
10
+ /** The distinct messages in `error`: one error, or a list of them. */
11
+ export declare function errorMessages(error: FieldErrorLike | readonly FieldErrorLike[]): string[];
12
+ interface FieldErrorsContextValue {
13
+ /** The messages of the `error` passed to the Field. */
14
+ messages: readonly string[];
15
+ /** The problems a `FieldError match="…"` in the Field has its own words for. */
16
+ covered: readonly string[];
17
+ /** Called by such a `FieldError`; returns the cleanup. */
18
+ cover: (problem: string) => () => void;
19
+ }
20
+ /** What the nearest `Field` tells its `FieldError`s. */
21
+ export declare const FieldErrorsContext: React.Context<FieldErrorsContextValue>;
22
+ /**
23
+ * The fields of a `Form` that show an error passed in by a library (`Field error`), by id. While
24
+ * there are any, the Form hands a submit to its `onSubmit` itself, so the library validates again
25
+ * rather than the Form stopping the submit at the first field the library marked.
26
+ */
27
+ export declare const LibraryErrorsContext: React.Context<Set<string> | null>;
28
+ export {};
@@ -0,0 +1,24 @@
1
+ import * as React from "react";
2
+ /** The distinct messages in `error`: one error, or a list of them. */
3
+ export function errorMessages(error) {
4
+ const list = Array.isArray(error) ? error : [error];
5
+ const messages = [];
6
+ for (const item of list) {
7
+ const message = typeof item === "string" ? item : item ? item.message : undefined;
8
+ if (message && !messages.includes(message))
9
+ messages.push(message);
10
+ }
11
+ return messages;
12
+ }
13
+ /** What the nearest `Field` tells its `FieldError`s. */
14
+ export const FieldErrorsContext = React.createContext({
15
+ messages: [],
16
+ covered: [],
17
+ cover: () => () => { },
18
+ });
19
+ /**
20
+ * The fields of a `Form` that show an error passed in by a library (`Field error`), by id. While
21
+ * there are any, the Form hands a submit to its `onSubmit` itself, so the library validates again
22
+ * rather than the Form stopping the submit at the first field the library marked.
23
+ */
24
+ export const LibraryErrorsContext = React.createContext(null);
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ export declare function FieldValueInput({ message, valueRef, ref, ...props }: React.ComponentProps<"input"> & {
3
+ message: string;
4
+ /** The component's own handle on this input. */
5
+ valueRef: React.RefObject<HTMLInputElement | null>;
6
+ }): React.JSX.Element;
7
+ /**
8
+ * The locale to format in: the given one, else the browser's — except on the server and while
9
+ * hydrating, which can't know the browser's and use en-US, so the first render matches the HTML.
10
+ */
11
+ export declare function useFormatLocale(locale: string | undefined): string | undefined;
12
+ /** Calls `onReset` when the form around `node` resets — Base UI keeps no default of its own. */
13
+ export declare function useFormResetEffect(node: React.RefObject<HTMLElement | null>, onReset: () => void): void;
@@ -0,0 +1,44 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { mergeRefs } from "./merge-refs.js";
4
+ /*
5
+ * The Field's own input for a control whose visible text is not its value — MoneyInput shows
6
+ * "1,234.50" and submits "1234.50", PhoneInput shows "20 7946 0018" beside +44 and submits
7
+ * "+442079460018". Out of sight and out of the tab order, it holds the value for forms, carries
8
+ * `required`, and holds the control's own validity message, which a Field reads as it reads a
9
+ * native one: it marks the Field invalid and is what FieldError shows.
10
+ *
11
+ * The message is set in a layout effect, which runs before the Field's own (this input renders
12
+ * inside Field.Control): when the value changes, the Field already sees the new message.
13
+ */
14
+ export function FieldValueInput({ message, valueRef, ref, ...props }) {
15
+ const refs = React.useMemo(() => mergeRefs(valueRef, ref), [valueRef, ref]);
16
+ React.useLayoutEffect(() => {
17
+ valueRef.current?.setCustomValidity(message);
18
+ }, [message, valueRef]);
19
+ return (_jsx("input", { ...props,
20
+ // What was typed isn't a value yet: that is the message, not a missing value as well.
21
+ required: props.required && !message, ref: refs, "aria-hidden": true, tabIndex: -1, autoComplete: "off", className: "sr-only" }));
22
+ }
23
+ const noSubscribe = () => () => { };
24
+ /**
25
+ * The locale to format in: the given one, else the browser's — except on the server and while
26
+ * hydrating, which can't know the browser's and use en-US, so the first render matches the HTML.
27
+ */
28
+ export function useFormatLocale(locale) {
29
+ const hydrated = React.useSyncExternalStore(noSubscribe, () => true, () => false);
30
+ return locale ?? (hydrated ? undefined : "en-US");
31
+ }
32
+ /** Calls `onReset` when the form around `node` resets — Base UI keeps no default of its own. */
33
+ export function useFormResetEffect(node, onReset) {
34
+ const latest = React.useRef(onReset);
35
+ latest.current = onReset;
36
+ React.useEffect(() => {
37
+ const form = node.current?.closest("form");
38
+ if (!form)
39
+ return;
40
+ const reset = () => latest.current();
41
+ form.addEventListener("reset", reset);
42
+ return () => form.removeEventListener("reset", reset);
43
+ }, [node]);
44
+ }
@@ -0,0 +1,127 @@
1
+ import type { Figure } from "./kernel.js";
2
+ export interface FigureSpec {
3
+ /** The id within the library is `iso/<name>`. */
4
+ name: string;
5
+ title: string;
6
+ tags: readonly string[];
7
+ /** What it stands for in zon's work: use it for that, not as decoration. */
8
+ meaning: string;
9
+ /** How it answers the pointer. */
10
+ motion: string;
11
+ load: () => Promise<{
12
+ default: Figure;
13
+ }>;
14
+ }
15
+ export declare const FIGURES: readonly [{
16
+ readonly name: "brackets";
17
+ readonly title: "zon brackets";
18
+ readonly tags: readonly ["brand", "logo", "mark", "404", "cover"];
19
+ readonly meaning: "The mark itself — brand moments, covers, the 404 page.";
20
+ readonly motion: "As the pointer comes near, the brackets drop their arms onto the plinth, one after the other; they rise back when it leaves.";
21
+ readonly load: () => Promise<typeof import("./figures/brackets.js")>;
22
+ }, {
23
+ readonly name: "brackets-classic";
24
+ readonly title: "zon brackets, classic";
25
+ readonly tags: readonly ["brand", "logo", "mark", "404", "cover", "solid"];
26
+ readonly meaning: "The mark itself in the first, solid style — ink brackets on a white plinth, for brand moments that want weight.";
27
+ readonly motion: "On hover the brackets open apart, like the website logo; they close when the pointer leaves.";
28
+ readonly load: () => Promise<typeof import("./figures/brackets-classic.js")>;
29
+ }, {
30
+ readonly name: "server";
31
+ readonly title: "Server";
32
+ readonly tags: readonly ["infrastructure", "hosting", "operations", "backend"];
33
+ readonly meaning: "Infrastructure, hosting, reliable operations.";
34
+ readonly motion: "The pointer's height pulls a unit out, its neighbours less; above the rack it lifts the lid and the fans spin.";
35
+ readonly load: () => Promise<typeof import("./figures/server.js")>;
36
+ }, {
37
+ readonly name: "database";
38
+ readonly title: "Database";
39
+ readonly tags: readonly ["data", "storage", "migration", "source of truth"];
40
+ readonly meaning: "Data, a single source of truth, migrations.";
41
+ readonly motion: "The pointer's height opens the stack at that level; the open platter's read arm lights.";
42
+ readonly load: () => Promise<typeof import("./figures/database.js")>;
43
+ }, {
44
+ readonly name: "laptop";
45
+ readonly title: "Laptop";
46
+ readonly tags: readonly ["software", "internal tools", "dashboard", "app"];
47
+ readonly meaning: "Custom software, internal tools, dashboards.";
48
+ readonly motion: "The pointer's height sets the lid on its hinge; it follows on a spring.";
49
+ readonly load: () => Promise<typeof import("./figures/laptop.js")>;
50
+ }, {
51
+ readonly name: "monitor";
52
+ readonly title: "Monitor";
53
+ readonly tags: readonly ["reporting", "analytics", "monitoring", "insight"];
54
+ readonly meaning: "Reporting and monitoring: seeing what happens.";
55
+ readonly motion: "A cursor follows the pointer across the chart and stands on the line; at rest it marks the latest value.";
56
+ readonly load: () => Promise<typeof import("./figures/monitor.js")>;
57
+ }, {
58
+ readonly name: "documents";
59
+ readonly title: "Documents";
60
+ readonly tags: readonly ["documents", "paperwork", "contracts", "approval"];
61
+ readonly meaning: "Paperwork, contracts and approvals — what gets digitalised.";
62
+ readonly motion: "On the stack the top page lifts out and the signature writes itself as far as the pointer moves across.";
63
+ readonly load: () => Promise<typeof import("./figures/documents.js")>;
64
+ }, {
65
+ readonly name: "spreadsheet";
66
+ readonly title: "Spreadsheet";
67
+ readonly tags: readonly ["excel", "manual work", "fragile", "legacy"];
68
+ readonly meaning: "The fragile spreadsheet a process depends on.";
69
+ readonly motion: "Cells near the pointer rise; bring it to the loose cell and the cell settles back into place.";
70
+ readonly load: () => Promise<typeof import("./figures/spreadsheet.js")>;
71
+ }, {
72
+ readonly name: "conveyor";
73
+ readonly title: "Conveyor";
74
+ readonly tags: readonly ["automation", "process", "throughput", "operations"];
75
+ readonly meaning: "An automated process: work moving through steps without hands.";
76
+ readonly motion: "Crates ride the belt and the press comes down on each, stamping the mark on its lid.";
77
+ readonly load: () => Promise<typeof import("./figures/conveyor.js")>;
78
+ }, {
79
+ readonly name: "bar-chart";
80
+ readonly title: "Bar chart";
81
+ readonly tags: readonly ["growth", "results", "metrics", "progress"];
82
+ readonly meaning: "Growth and results over time.";
83
+ readonly motion: "The pointer brushes the columns; click a column to add a block, right-click to take one off.";
84
+ readonly load: () => Promise<typeof import("./figures/bar-chart.js")>;
85
+ }, {
86
+ readonly name: "inbox";
87
+ readonly title: "Envelope";
88
+ readonly tags: readonly ["email", "inbox", "requests", "intake", "communication"];
89
+ readonly meaning: "Incoming requests and email — where much manual work starts.";
90
+ readonly motion: "The pointer's height opens the flap; past upright it folds back and the letter slides out.";
91
+ readonly load: () => Promise<typeof import("./figures/inbox.js")>;
92
+ }, {
93
+ readonly name: "platform";
94
+ readonly title: "Platform";
95
+ readonly tags: readonly ["foundation", "platform", "modules", "architecture"];
96
+ readonly meaning: "A solid foundation that new modules plug into.";
97
+ readonly motion: "Modules near the pointer rise; an empty tile shows the module that would fit. Click to plug one in or take it out.";
98
+ readonly load: () => Promise<typeof import("./figures/platform.js")>;
99
+ }, {
100
+ readonly name: "automation";
101
+ readonly title: "Automation";
102
+ readonly tags: readonly ["automation", "integration", "process", "system", "scene"];
103
+ readonly meaning: "A process running as one connected system — what automating and integrating does.";
104
+ readonly motion: "Pulses run out along the connections; each step lights up as one lands — it fills, hops and sends out a ripple. The step nearest the pointer rises and its connection streams.";
105
+ readonly load: () => Promise<typeof import("./figures/automation.js")>;
106
+ }, {
107
+ readonly name: "pipeline";
108
+ readonly title: "Data pipeline";
109
+ readonly tags: readonly ["data", "pipeline", "etl", "integration", "flow", "dashboard", "scene"];
110
+ readonly meaning: "Data moving from the tools a company already uses, through processing, into one place people can read.";
111
+ readonly motion: "Blocks flow from the sources through the scanner, raw cubes out as processed tiles, past the processor into the warehouse; the dashboard takes each reading.";
112
+ readonly load: () => Promise<typeof import("./figures/pipeline.js")>;
113
+ }, {
114
+ readonly name: "timeline";
115
+ readonly title: "Timeline";
116
+ readonly tags: readonly ["process", "steps", "project", "roadmap", "phases"];
117
+ readonly meaning: "A project's steps, from discovery to maintenance.";
118
+ readonly motion: "The pointer picks a step: it rises, its neighbours follow one after another, and the marker travels to it.";
119
+ readonly load: () => Promise<typeof import("./figures/timeline.js")>;
120
+ }, {
121
+ readonly name: "city";
122
+ readonly title: "City";
123
+ readonly tags: readonly ["integration", "systems", "landscape", "architecture", "scene"];
124
+ readonly meaning: "A company's systems as a city, joined along its streets.";
125
+ readonly motion: "The building nearest the pointer rises and pulses run out to the systems it talks to.";
126
+ readonly load: () => Promise<typeof import("./figures/city.js")>;
127
+ }];
@@ -0,0 +1,130 @@
1
+ export const FIGURES = [
2
+ {
3
+ name: "brackets",
4
+ title: "zon brackets",
5
+ tags: ["brand", "logo", "mark", "404", "cover"],
6
+ meaning: "The mark itself — brand moments, covers, the 404 page.",
7
+ motion: "As the pointer comes near, the brackets drop their arms onto the plinth, one after the other; they rise back when it leaves.",
8
+ load: () => import("./figures/brackets.js"),
9
+ },
10
+ {
11
+ name: "brackets-classic",
12
+ title: "zon brackets, classic",
13
+ tags: ["brand", "logo", "mark", "404", "cover", "solid"],
14
+ meaning: "The mark itself in the first, solid style — ink brackets on a white plinth, for brand moments that want weight.",
15
+ motion: "On hover the brackets open apart, like the website logo; they close when the pointer leaves.",
16
+ load: () => import("./figures/brackets-classic.js"),
17
+ },
18
+ {
19
+ name: "server",
20
+ title: "Server",
21
+ tags: ["infrastructure", "hosting", "operations", "backend"],
22
+ meaning: "Infrastructure, hosting, reliable operations.",
23
+ motion: "The pointer's height pulls a unit out, its neighbours less; above the rack it lifts the lid and the fans spin.",
24
+ load: () => import("./figures/server.js"),
25
+ },
26
+ {
27
+ name: "database",
28
+ title: "Database",
29
+ tags: ["data", "storage", "migration", "source of truth"],
30
+ meaning: "Data, a single source of truth, migrations.",
31
+ motion: "The pointer's height opens the stack at that level; the open platter's read arm lights.",
32
+ load: () => import("./figures/database.js"),
33
+ },
34
+ {
35
+ name: "laptop",
36
+ title: "Laptop",
37
+ tags: ["software", "internal tools", "dashboard", "app"],
38
+ meaning: "Custom software, internal tools, dashboards.",
39
+ motion: "The pointer's height sets the lid on its hinge; it follows on a spring.",
40
+ load: () => import("./figures/laptop.js"),
41
+ },
42
+ {
43
+ name: "monitor",
44
+ title: "Monitor",
45
+ tags: ["reporting", "analytics", "monitoring", "insight"],
46
+ meaning: "Reporting and monitoring: seeing what happens.",
47
+ motion: "A cursor follows the pointer across the chart and stands on the line; at rest it marks the latest value.",
48
+ load: () => import("./figures/monitor.js"),
49
+ },
50
+ {
51
+ name: "documents",
52
+ title: "Documents",
53
+ tags: ["documents", "paperwork", "contracts", "approval"],
54
+ meaning: "Paperwork, contracts and approvals — what gets digitalised.",
55
+ motion: "On the stack the top page lifts out and the signature writes itself as far as the pointer moves across.",
56
+ load: () => import("./figures/documents.js"),
57
+ },
58
+ {
59
+ name: "spreadsheet",
60
+ title: "Spreadsheet",
61
+ tags: ["excel", "manual work", "fragile", "legacy"],
62
+ meaning: "The fragile spreadsheet a process depends on.",
63
+ motion: "Cells near the pointer rise; bring it to the loose cell and the cell settles back into place.",
64
+ load: () => import("./figures/spreadsheet.js"),
65
+ },
66
+ {
67
+ name: "conveyor",
68
+ title: "Conveyor",
69
+ tags: ["automation", "process", "throughput", "operations"],
70
+ meaning: "An automated process: work moving through steps without hands.",
71
+ motion: "Crates ride the belt and the press comes down on each, stamping the mark on its lid.",
72
+ load: () => import("./figures/conveyor.js"),
73
+ },
74
+ {
75
+ name: "bar-chart",
76
+ title: "Bar chart",
77
+ tags: ["growth", "results", "metrics", "progress"],
78
+ meaning: "Growth and results over time.",
79
+ motion: "The pointer brushes the columns; click a column to add a block, right-click to take one off.",
80
+ load: () => import("./figures/bar-chart.js"),
81
+ },
82
+ {
83
+ name: "inbox",
84
+ title: "Envelope",
85
+ tags: ["email", "inbox", "requests", "intake", "communication"],
86
+ meaning: "Incoming requests and email — where much manual work starts.",
87
+ motion: "The pointer's height opens the flap; past upright it folds back and the letter slides out.",
88
+ load: () => import("./figures/inbox.js"),
89
+ },
90
+ {
91
+ name: "platform",
92
+ title: "Platform",
93
+ tags: ["foundation", "platform", "modules", "architecture"],
94
+ meaning: "A solid foundation that new modules plug into.",
95
+ motion: "Modules near the pointer rise; an empty tile shows the module that would fit. Click to plug one in or take it out.",
96
+ load: () => import("./figures/platform.js"),
97
+ },
98
+ {
99
+ name: "automation",
100
+ title: "Automation",
101
+ tags: ["automation", "integration", "process", "system", "scene"],
102
+ meaning: "A process running as one connected system — what automating and integrating does.",
103
+ motion: "Pulses run out along the connections; each step lights up as one lands — it fills, hops and sends out a ripple. The step nearest the pointer rises and its connection streams.",
104
+ load: () => import("./figures/automation.js"),
105
+ },
106
+ {
107
+ name: "pipeline",
108
+ title: "Data pipeline",
109
+ tags: ["data", "pipeline", "etl", "integration", "flow", "dashboard", "scene"],
110
+ meaning: "Data moving from the tools a company already uses, through processing, into one place people can read.",
111
+ motion: "Blocks flow from the sources through the scanner, raw cubes out as processed tiles, past the processor into the warehouse; the dashboard takes each reading.",
112
+ load: () => import("./figures/pipeline.js"),
113
+ },
114
+ {
115
+ name: "timeline",
116
+ title: "Timeline",
117
+ tags: ["process", "steps", "project", "roadmap", "phases"],
118
+ meaning: "A project's steps, from discovery to maintenance.",
119
+ motion: "The pointer picks a step: it rises, its neighbours follow one after another, and the marker travels to it.",
120
+ load: () => import("./figures/timeline.js"),
121
+ },
122
+ {
123
+ name: "city",
124
+ title: "City",
125
+ tags: ["integration", "systems", "landscape", "architecture", "scene"],
126
+ meaning: "A company's systems as a city, joined along its streets.",
127
+ motion: "The building nearest the pointer rises and pulses run out to the systems it talks to.",
128
+ load: () => import("./figures/city.js"),
129
+ },
130
+ ];
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Automation — a process as one system: steps wired to a hub in four branches. Pulses run out along
3
+ * the connections; the step nearest the pointer rises and its connection streams.
4
+ */
5
+ import { type Figure } from "../kernel.js";
6
+ declare const figure: Figure;
7
+ export default figure;