@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,12 @@
1
+ import type { Messages } from "../components/locale.js";
2
+ /**
3
+ * German for every component's interface text — neutral UI German, as in the German macOS and
4
+ * Google interfaces. Pass it to a LocaleProvider with `locale="de-DE"`:
5
+ *
6
+ * import { de } from "@zonsh/ui/messages/de";
7
+ * <LocaleProvider locale="de-DE" messages={de}>…</LocaleProvider>
8
+ *
9
+ * Typed as the full `Messages`, so a component that gains text without a German line here fails
10
+ * the typecheck.
11
+ */
12
+ export declare const de: Messages;
@@ -0,0 +1,326 @@
1
+ /** "1 Zeile", "3 Zeilen": a count with its singular or plural noun. */
2
+ const count = (n, one, other) => `${n} ${n === 1 ? one : other}`;
3
+ const graphNewNodes = {
4
+ task: "Neuer Schritt",
5
+ start: "Start",
6
+ end: "Ende",
7
+ event: "Ereignis",
8
+ gateway: "Entscheiden?",
9
+ note: "Eine Notiz",
10
+ person: "Neue Person",
11
+ entity: "Neuer Knoten",
12
+ group: "Gruppe",
13
+ };
14
+ const graphKinds = {
15
+ task: "Schritt",
16
+ start: "Start",
17
+ end: "Ende",
18
+ event: "Ereignis",
19
+ gateway: "Entscheidung",
20
+ note: "Notiz",
21
+ person: "Person",
22
+ entity: "Knoten",
23
+ group: "Gruppe",
24
+ };
25
+ const pdfErrors = {
26
+ password: "Dieses PDF ist mit einem Passwort geschützt.",
27
+ invalid: "Diese Datei ist kein lesbares PDF.",
28
+ missing: "Die Datei konnte nicht geladen werden.",
29
+ empty: "Dieses PDF hat keine Seiten.",
30
+ unknown: "Beim Öffnen ist ein Fehler aufgetreten.",
31
+ };
32
+ /** xyflow passes the direction of a keyboard move in English. */
33
+ const directions = {
34
+ up: "nach oben",
35
+ down: "nach unten",
36
+ left: "nach links",
37
+ right: "nach rechts",
38
+ };
39
+ const colorFormats = { hex: "Hex", rgb: "RGB", hsl: "HSL", oklch: "OKLCH" };
40
+ /** Where a sorted item sits: "Gewonnen, Position 2 von 5". Nouns are capitalised, so it can start a sentence. */
41
+ const place = (p) => `${p.list ? `${p.list}, ` : ""}Position ${p.position} von ${p.count}`;
42
+ const sortKeys = "Mit den Pfeiltasten verschieben, mit der Leertaste ablegen, mit Escape abbrechen.";
43
+ /**
44
+ * German for every component's interface text — neutral UI German, as in the German macOS and
45
+ * Google interfaces. Pass it to a LocaleProvider with `locale="de-DE"`:
46
+ *
47
+ * import { de } from "@zonsh/ui/messages/de";
48
+ * <LocaleProvider locale="de-DE" messages={de}>…</LocaleProvider>
49
+ *
50
+ * Typed as the full `Messages`, so a component that gains text without a German line here fails
51
+ * the typecheck.
52
+ */
53
+ export const de = {
54
+ bottomNav: { nav: "Hauptnavigation", count: (n) => `${n} neu`, dot: "Neu" },
55
+ breadcrumb: { nav: "Navigationspfad" },
56
+ carousel: {
57
+ carousel: "Karussell",
58
+ slide: "Folie",
59
+ previous: "Vorherige Folie",
60
+ next: "Nächste Folie",
61
+ goTo: (slide, total) => `Zu Folie ${slide} von ${total}`,
62
+ of: "von",
63
+ },
64
+ codeBlock: { copy: "Code kopieren" },
65
+ colorPicker: {
66
+ area: "Sättigung und Helligkeit",
67
+ areaRole: "2D-Schieberegler",
68
+ areaValue: (saturation, brightness) => `Sättigung ${saturation} %, Helligkeit ${brightness} %`,
69
+ hue: "Farbton",
70
+ alpha: "Deckkraft",
71
+ value: (format) => `${colorFormats[format]}-Wert`,
72
+ presets: "Vorgaben",
73
+ placeholder: "Farbe auswählen",
74
+ },
75
+ combobox: {
76
+ clear: "Auswahl löschen",
77
+ showOptions: "Optionen anzeigen",
78
+ remove: (label) => (label ? `${label} entfernen` : "Entfernen"),
79
+ },
80
+ command: {
81
+ label: "Suchen",
82
+ placeholder: "Seiten und Aktionen suchen …",
83
+ empty: "Keine Treffer für diese Suche.",
84
+ close: "Suche schließen",
85
+ navigate: "navigieren",
86
+ open: "öffnen",
87
+ },
88
+ conversation: { scrollToLatest: "Zur neuesten Nachricht scrollen" },
89
+ copyButton: { copy: "Kopieren", copied: "Kopiert", failed: "Kopieren fehlgeschlagen" },
90
+ dataTable: {
91
+ search: "Suchen …",
92
+ columns: "Spalten",
93
+ showColumns: "Spalten anzeigen",
94
+ selectAll: "Alle Zeilen auswählen",
95
+ selectPage: "Alle Zeilen dieser Seite auswählen",
96
+ selectRow: "Zeile auswählen",
97
+ empty: "Keine Ergebnisse.",
98
+ loadError: "Die Zeilen konnten nicht geladen werden.",
99
+ retry: "Erneut versuchen",
100
+ selected: (n, total) => `${n} von ${total} ausgewählt`,
101
+ groupCount: (rows, groups) => `${count(rows, "Zeile", "Zeilen")} in ${count(groups, "Gruppe", "Gruppen")}`,
102
+ rowsPerPage: "Zeilen",
103
+ range: (first, last, total) => `${first}–${last} von ${total}`,
104
+ previous: "Vorherige Seite",
105
+ next: "Nächste Seite",
106
+ },
107
+ datePicker: { placeholder: "Datum auswählen", rangePlaceholder: "Zeitraum auswählen" },
108
+ dateTimePicker: { placeholder: "Datum und Uhrzeit auswählen", time: "Uhrzeit" },
109
+ dialog: { close: "Schließen" },
110
+ drawer: { close: "Schließen" },
111
+ fileDrop: {
112
+ title: (multiple) => (multiple ? "Dateien hier ablegen" : "Datei hier ablegen"),
113
+ clickOrPaste: "oder zum Auswählen klicken – einfügen mit",
114
+ tap: "oder zum Auswählen tippen",
115
+ hint: (multiple) => multiple ? "Dateien ablegen, auswählen oder einfügen" : "Datei ablegen, auswählen oder einfügen",
116
+ remove: (fileName) => `${fileName} entfernen`,
117
+ },
118
+ filterBar: {
119
+ group: "Filter",
120
+ add: "Filter",
121
+ clearAll: "Alle löschen",
122
+ chip: (field) => `Filter ${field}`,
123
+ remove: (field) => `Filter ${field} entfernen`,
124
+ condition: (field) => `${field}: Bedingung`,
125
+ searchPlaceholder: (field) => `${field} suchen …`,
126
+ search: (field) => `${field} suchen`,
127
+ noMatch: (field) => `Keine Treffer für ${field}.`,
128
+ textPlaceholder: (field) => `${field} …`,
129
+ quote: (text) => `„${text}“`,
130
+ from: "ab",
131
+ until: "bis",
132
+ is: "ist",
133
+ isNot: "ist nicht",
134
+ contains: "enthält",
135
+ doesNotContain: "enthält nicht",
136
+ gte: "mindestens",
137
+ lte: "höchstens",
138
+ gt: "mehr als",
139
+ lt: "weniger als",
140
+ eq: "ist",
141
+ neq: "ist nicht",
142
+ between: "zwischen",
143
+ },
144
+ graph: {
145
+ nodeLabel: "Knotenname",
146
+ edgeLabel: "Verbindungsname",
147
+ newNode: (kind) => graphNewNodes[kind],
148
+ kind: (kind) => graphKinds[kind],
149
+ addHere: "Hier hinzufügen",
150
+ tidy: "Aufräumen",
151
+ fit: "An Ansicht anpassen",
152
+ zoomIn: "Vergrößern",
153
+ zoomOut: "Verkleinern",
154
+ addNode: "Knoten hinzufügen",
155
+ rename: "Umbenennen",
156
+ delete: "Löschen",
157
+ renameLabel: "Beschriftung ändern",
158
+ addLabel: "Beschriftung hinzufügen",
159
+ reverse: "Richtung umkehren",
160
+ removeConnection: "Verbindung entfernen",
161
+ enterKey: "Eingabe",
162
+ deleteKey: "Entf",
163
+ connection: (from, to, directed) => (directed ? `${from} zu ${to}` : `${from} und ${to}`),
164
+ controls: "Graph",
165
+ minimap: "Übersichtskarte des Graphen",
166
+ nodeHelp: "Eingabe- oder Leertaste drücken, um einen Knoten auszuwählen. Entf drücken, um ihn zu entfernen, Esc zum Abbrechen.",
167
+ edgeHelp: "Eingabe- oder Leertaste drücken, um eine Verbindung auszuwählen. Dann Entf drücken, um sie zu entfernen, oder Esc zum Abbrechen.",
168
+ handle: "Anschlusspunkt",
169
+ moved: (direction, x, y) => `Ausgewählten Knoten ${directions[direction] ?? direction} verschoben. Neue Position: x ${x}, y ${y}`,
170
+ },
171
+ inputGroup: { showPassword: "Passwort anzeigen", clear: "Löschen" },
172
+ kbd: { ctrl: "Strg", shift: "Umschalt", alt: "Alt", enter: "Eingabe" },
173
+ lightbox: {
174
+ title: "Bildbetrachter",
175
+ close: "Schließen",
176
+ previous: "Vorheriges Bild",
177
+ next: "Nächstes Bild",
178
+ zoomIn: "Vergrößern",
179
+ zoomOut: "Verkleinern",
180
+ download: "Herunterladen",
181
+ loading: "Bild wird geladen",
182
+ position: (index, total) => `Bild ${index} von ${total}`,
183
+ },
184
+ moneyInput: {
185
+ invalid: (example) => `Betrag eingeben, z. B. ${example}.`,
186
+ precision: (digits) => digits === 0
187
+ ? "Ganzen Betrag ohne Nachkommastellen eingeben."
188
+ : `Höchstens ${digits} ${digits === 1 ? "Nachkommastelle" : "Nachkommastellen"} verwenden.`,
189
+ negative: "Betrag von null oder mehr eingeben.",
190
+ rangeUnderflow: (min) => `Mindestens ${min} eingeben.`,
191
+ rangeOverflow: (max) => `Höchstens ${max} eingeben.`,
192
+ },
193
+ numberField: { decrement: "Verringern", increment: "Erhöhen", roleDescription: "Zahlenfeld" },
194
+ otpField: { character: (index, length) => `Zeichen ${index} von ${length}` },
195
+ pagination: {
196
+ nav: "Seiten",
197
+ previous: "Vorherige Seite",
198
+ next: "Nächste Seite",
199
+ page: (page) => `Seite ${page}`,
200
+ },
201
+ pdfViewer: {
202
+ error: (reason) => pdfErrors[reason],
203
+ cantOpen: "Dieses PDF konnte nicht geöffnet werden",
204
+ downloadFile: "Datei herunterladen",
205
+ toolbar: "Dokument",
206
+ showSidebar: "Seitenleiste einblenden",
207
+ hideSidebar: "Seitenleiste ausblenden",
208
+ previousPage: "Vorherige Seite",
209
+ nextPage: "Nächste Seite",
210
+ pageField: "Seite",
211
+ ofPages: (n) => `von ${count(n, "Seite", "Seiten")}`,
212
+ zoomIn: "Vergrößern",
213
+ zoomOut: "Verkleinern",
214
+ zoom: (percent) => `Zoom, ${percent} %`,
215
+ zoomAuto: "Automatisch",
216
+ zoomFitWidth: "An Breite anpassen",
217
+ zoomFitPage: "Ganze Seite",
218
+ rotate: "Drehen",
219
+ search: "Suchen",
220
+ download: "Herunterladen",
221
+ print: "Drucken",
222
+ fullScreen: "Vollbild",
223
+ exitFullScreen: "Vollbild beenden",
224
+ sidebar: "Seitenleiste",
225
+ pages: "Seiten",
226
+ outline: "Inhalt",
227
+ document: (name, page, total) => `${name}, Seite ${page} von ${total}`,
228
+ page: (page) => `Seite ${page}`,
229
+ expand: (title) => `${title} ausklappen`,
230
+ collapse: (title) => `${title} einklappen`,
231
+ link: (address) => `${address} (öffnet in einem neuen Tab)`,
232
+ goToPage: (page) => `Zu Seite ${page}`,
233
+ searchField: "Im Dokument suchen",
234
+ matches: (index, total) => `${index} / ${total}`,
235
+ noMatches: "Keine Treffer",
236
+ previousMatch: "Vorheriger Treffer",
237
+ nextMatch: "Nächster Treffer",
238
+ closeSearch: "Suche schließen",
239
+ previewPages: (n) => `PDF · ${count(n, "Seite", "Seiten")}`,
240
+ previewError: "PDF · kann nicht geöffnet werden",
241
+ previewPdf: "PDF",
242
+ close: "Schließen",
243
+ },
244
+ phoneInput: {
245
+ country: "Land",
246
+ search: "Länder suchen",
247
+ empty: "Kein Land gefunden. Namen oder Vorwahl wie +49 eingeben.",
248
+ countryChanged: (country) => `Land geändert zu ${country}.`,
249
+ tooShort: (country, code) => `Diese Nummer ist zu kurz für +${code} (${country}).`,
250
+ tooLong: (country, code) => `Diese Nummer ist zu lang für +${code} (${country}).`,
251
+ unknownCode: "Diese Nummer beginnt mit keiner bekannten Ländervorwahl. Ziffern nach dem + prüfen.",
252
+ },
253
+ promptInput: {
254
+ placeholder: "Frage eingeben",
255
+ send: "Senden",
256
+ stop: "Stoppen",
257
+ waiting: "Warten auf die Antwort",
258
+ attach: "Dateien anhängen",
259
+ attachment: "Anhang",
260
+ removeAttachment: (name) => `${name} entfernen`,
261
+ previewAttachment: (name) => `Vorschau von ${name}`,
262
+ },
263
+ rating: {
264
+ item: (value, n) => (n === 1 ? `${value} Stern` : `${value} Sterne`),
265
+ value: (value, max) => `${value} von ${max}`,
266
+ empty: "Nicht bewertet",
267
+ },
268
+ reasoning: {
269
+ thinking: "Denkt nach …",
270
+ thoughtBriefly: "Hat einige Sekunden nachgedacht",
271
+ thoughtFor: (seconds) => `Hat ${count(seconds, "Sekunde", "Sekunden")} nachgedacht`,
272
+ },
273
+ resizable: { handle: "Größe ändern" },
274
+ response: { done: "Erledigt", todo: "Offen" },
275
+ sidebar: { navigation: "Navigation", toggle: "Seitenleiste ein-/ausblenden" },
276
+ siteHeader: { nav: "Hauptnavigation", openMenu: "Menü öffnen", closeMenu: "Menü schließen", menu: "Menü" },
277
+ sortable: {
278
+ handle: (item) => `${item} verschieben`,
279
+ instructions: `Leertaste drücken, um das Element aufzunehmen. ${sortKeys}`,
280
+ pickedUp: (item, p) => `${item} aufgenommen. ${place(p)}.`,
281
+ pickedUpKeyboard: (item, p) => `${item} aufgenommen. ${place(p)}. ${sortKeys}`,
282
+ movedWithin: (_item, p) => `${place(p)}.`,
283
+ movedTo: (_item, p) => `Verschoben nach ${place(p)}.`,
284
+ moved: (item, p) => `${item} verschoben nach ${place(p)}.`,
285
+ dropped: (item, p) => `${item} abgelegt. ${place(p)}.`,
286
+ cancelled: (item, p) => `Verschieben abgebrochen. ${item} ist zurück. ${place(p)}.`,
287
+ cannotMove: (item, p) => `${item} kann nicht weiter verschoben werden. ${place(p)}.`,
288
+ },
289
+ sources: {
290
+ used: (n) => `${count(n, "Quelle", "Quellen")} verwendet`,
291
+ newTab: "(öffnet in einem neuen Tab)",
292
+ },
293
+ spinner: { loading: "Wird geladen" },
294
+ stat: {
295
+ up: (change) => `Gestiegen um ${change}`,
296
+ down: (change) => `Gesunken um ${change}`,
297
+ unchanged: "Unverändert",
298
+ },
299
+ stepper: {
300
+ complete: "Abgeschlossen",
301
+ error: "Bitte prüfen",
302
+ step: (step, total) => `Schritt ${step} von ${total}`,
303
+ done: "Fertig",
304
+ },
305
+ tagsInput: { remove: (tag) => `${tag} entfernen`, invalid: "(ungültig)" },
306
+ theme: { toggle: "Zwischen hellem und dunklem Design wechseln" },
307
+ timeField: { hour: "Stunden", minute: "Minuten", second: "Sekunden", dayPeriod: "AM/PM", empty: "Leer" },
308
+ timeline: { from: "von", to: "zu" },
309
+ toast: { close: "Schließen", region: "Mitteilungen" },
310
+ toolCall: {
311
+ pending: "Ausstehend",
312
+ running: "Läuft",
313
+ completed: "Abgeschlossen",
314
+ error: "Fehler",
315
+ parameters: "Parameter",
316
+ result: "Ergebnis",
317
+ failure: "Fehler",
318
+ },
319
+ tour: {
320
+ back: "Zurück",
321
+ next: "Weiter",
322
+ done: "Fertig",
323
+ skip: "Tour überspringen",
324
+ progress: (step, total) => `Schritt ${step} von ${total}`,
325
+ },
326
+ };
@@ -0,0 +1,203 @@
1
+ /*
2
+ * Expressive layer — the drawing-board vocabulary shared by zon.sh and zon.sh:
3
+ * grain, blueprint grids, dot fields, rails, crosshair marks, and the motion that
4
+ * drives scroll-linked illustrations.
5
+ *
6
+ * Everything here is decorative: pointer-events none, aria-hidden at the call site,
7
+ * and static under prefers-reduced-motion.
8
+ */
9
+
10
+ /* ── Grain ─────────────────────────────────────────────────────────────────── */
11
+
12
+ @layer base {
13
+ :root {
14
+ /* The film-grain tile zon.sh uses: grey fractal noise, 200px, seamless. */
15
+ --grain-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
16
+ }
17
+
18
+ /*
19
+ * The page ground, on every page by default — zon.sh's resting background: the grain, still,
20
+ * fixed to the viewport behind everything, under a faint light from above (--page-glow). The
21
+ * two layers sit at z-index -1 in the root stacking context, so they texture the ground and
22
+ * never a card, a field or the text, which all paint above them. Still on purpose: a moving
23
+ * page would never let the eye rest. Overlay on dark grounds, as zon.sh; multiply on light
24
+ * ones, where overlay shows nothing (--page-grain-blend).
25
+ *
26
+ * The ground under the grain is a layer of its own too (html::before), and all three reach a
27
+ * tenth of the window below its bottom edge. iOS Safari uncovers a strip there as its toolbar
28
+ * shrinks, and the root's background is not something the grain can blend with: blending with
29
+ * nothing, it showed as bare, bright noise. Only downwards, so the grain's tiles still start at
30
+ * the window's corner, where a scrolled SiteHeader's grain lines up with them. Past all of it
31
+ * the browser shows html's background, --page-tone, the same flat colour its bars take.
32
+ *
33
+ * Anything opaque in --background between the body and the content hides it, so page-level
34
+ * wrappers stay transparent. Opt out of the grain with `body::before, body::after { content:
35
+ * none }`; the ground and its light stay.
36
+ */
37
+ html::before {
38
+ content: "";
39
+ position: fixed;
40
+ inset: 0 0 -10%;
41
+ z-index: -1;
42
+ pointer-events: none;
43
+ background-color: var(--background);
44
+ /* The light a tenth of the window above it, 110% × 65% of the window, as in a SiteHeader's
45
+ ground: in this box, 1.1 windows tall, that is -9.09% and 59.09% of its height. */
46
+ background-image: radial-gradient(110% 59.09% at 50% -9.09%, var(--page-glow), transparent 60%);
47
+ }
48
+ body::before,
49
+ body::after {
50
+ content: "";
51
+ position: fixed;
52
+ inset: 0 0 -10%;
53
+ z-index: -1;
54
+ pointer-events: none;
55
+ background-image: var(--grain-noise);
56
+ background-size: 200px auto;
57
+ }
58
+ body::before {
59
+ mix-blend-mode: var(--page-grain-blend);
60
+ opacity: var(--page-grain-opacity);
61
+ }
62
+ body::after {
63
+ mix-blend-mode: screen;
64
+ opacity: calc(var(--grain-opacity) * 0.35);
65
+ /* Offset, so the two layers never line up into a visible tile. */
66
+ background-position: 97px 61px;
67
+ }
68
+ }
69
+
70
+ /* The moving grain: an overlay for large or dark expressive regions (`<Grain />`). */
71
+ @utility grain {
72
+ pointer-events: none;
73
+ position: absolute;
74
+ inset: 0;
75
+ overflow: hidden;
76
+
77
+ &::before,
78
+ &::after {
79
+ content: "";
80
+ position: absolute;
81
+ inset: -40%;
82
+ background-image: var(--grain-noise);
83
+ background-size: 200px auto;
84
+ animation: ep-grain 0.8s steps(5) infinite;
85
+ }
86
+ &::before {
87
+ mix-blend-mode: overlay;
88
+ opacity: calc(var(--grain-opacity) * 1.5);
89
+ }
90
+ &::after {
91
+ mix-blend-mode: screen;
92
+ opacity: calc(var(--grain-opacity) * 0.35);
93
+ animation-delay: -0.4s;
94
+ }
95
+ /* Still grain, for a picture rather than a region: a sheet in a carousel or a grid. */
96
+ &[data-still]::before,
97
+ &[data-still]::after {
98
+ animation: none;
99
+ }
100
+ @media (prefers-reduced-motion: reduce) {
101
+ &::before,
102
+ &::after {
103
+ animation: none;
104
+ }
105
+ }
106
+ }
107
+
108
+ @keyframes ep-grain {
109
+ 0% { transform: translate(0); }
110
+ 20% { transform: translate(-6%, 4%); }
111
+ 40% { transform: translate(5%, -7%); }
112
+ 60% { transform: translate(-3%, 8%); }
113
+ 80% { transform: translate(7%, 2%); }
114
+ 100% { transform: translate(0); }
115
+ }
116
+
117
+ /* ── Blueprint grid (lights up under the pointer when data-lit="true") ───────── */
118
+
119
+ @utility blueprint {
120
+ --cell: 64px;
121
+ position: relative;
122
+ isolation: isolate;
123
+ background-image:
124
+ linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
125
+ linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
126
+ background-size: var(--cell) var(--cell);
127
+ background-position: -1px -1px;
128
+
129
+ &::before,
130
+ &::after {
131
+ content: "";
132
+ position: absolute;
133
+ inset: 0;
134
+ z-index: -1;
135
+ pointer-events: none;
136
+ opacity: 0;
137
+ transition: opacity 0.7s var(--ease);
138
+ }
139
+ &::before {
140
+ background-image: radial-gradient(circle 380px at var(--mx, 70%) var(--my, 30%), var(--glow), transparent 70%);
141
+ }
142
+ &::after {
143
+ background-image:
144
+ linear-gradient(to right, var(--grid-bright) 1px, transparent 1px),
145
+ linear-gradient(to bottom, var(--grid-bright) 1px, transparent 1px);
146
+ background-size: var(--cell) var(--cell);
147
+ background-position: -1px -1px;
148
+ mask-image: radial-gradient(circle 240px at var(--mx, 70%) var(--my, 30%), #000, transparent 75%);
149
+ }
150
+ @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
151
+ &[data-lit="true"]::before,
152
+ &[data-lit="true"]::after {
153
+ opacity: 1;
154
+ }
155
+ }
156
+ }
157
+
158
+ @utility dots {
159
+ background-image: radial-gradient(circle at center, var(--grid-bright) 1px, transparent 1.4px);
160
+ background-size: 24px 24px;
161
+ }
162
+
163
+ /* ── Rails: two hairlines framing the page column ──────────────────────────── */
164
+
165
+ @utility rails {
166
+ position: relative;
167
+
168
+ &::before,
169
+ &::after {
170
+ content: "";
171
+ position: absolute;
172
+ top: 0;
173
+ bottom: 0;
174
+ width: 1px;
175
+ z-index: 1;
176
+ pointer-events: none;
177
+ background: color-mix(in oklab, var(--border) 70%, transparent);
178
+ }
179
+ &::before {
180
+ left: 0;
181
+ }
182
+ &::after {
183
+ right: 0;
184
+ }
185
+ }
186
+
187
+ /* ── Reveal (scroll-in) ────────────────────────────────────────────────────── */
188
+
189
+ @keyframes ep-reveal {
190
+ from {
191
+ opacity: 0;
192
+ translate: 0 var(--reveal-distance, 16px);
193
+ }
194
+ to {
195
+ opacity: 1;
196
+ translate: 0 0;
197
+ }
198
+ }
199
+
200
+ @keyframes ep-draw {
201
+ from { stroke-dashoffset: var(--len, 1000); }
202
+ to { stroke-dashoffset: 0; }
203
+ }
@@ -0,0 +1,145 @@
1
+ /*
2
+ * zon faces.
3
+ *
4
+ * Licht, Licht Sans and Licht Mono are zon's own faces and are still in development. They are NOT
5
+ * vendored: they are requested from the app's own origin at /licht/fonts/*.woff2 and proxied
6
+ * server-side to zon.sh/licht/fonts, so every visit gets the current release and the
7
+ * visitor's browser never talks to a third-party host. Use `zonFonts()` from
8
+ * `@zonsh/ui/vite` (or an equivalent rewrite on your host) to set up the proxy.
9
+ *
10
+ * Licht (the serif, LichtSerif-Light) is used in its Light cut only. It is declared at
11
+ * 300–700 against that one file so heading weights keep the Light appearance. Never
12
+ * synthesise a heavier cut.
13
+ *
14
+ * Licht Sans and Licht Mono ship real cuts from Light (300) to Bold (700), one file each, named
15
+ * by weight (LichtSans-Regular, LichtMono-Regular …); Licht Sans has an italic for each. The
16
+ * browser only fetches the weights and styles a page uses.
17
+ */
18
+
19
+ @font-face {
20
+ font-family: "Licht";
21
+ src: url("/licht/fonts/LichtSerif-Light.woff2") format("woff2");
22
+ font-weight: 300 700;
23
+ font-style: normal;
24
+ font-display: swap;
25
+ }
26
+
27
+ @font-face {
28
+ font-family: "Licht Sans";
29
+ src: url("/licht/fonts/LichtSans-Light.woff2") format("woff2");
30
+ font-weight: 300;
31
+ font-style: normal;
32
+ font-display: swap;
33
+ }
34
+
35
+ @font-face {
36
+ font-family: "Licht Sans";
37
+ src: url("/licht/fonts/LichtSans-LightItalic.woff2") format("woff2");
38
+ font-weight: 300;
39
+ font-style: italic;
40
+ font-display: swap;
41
+ }
42
+
43
+ @font-face {
44
+ font-family: "Licht Sans";
45
+ src: url("/licht/fonts/LichtSans-Regular.woff2") format("woff2");
46
+ font-weight: 400;
47
+ font-style: normal;
48
+ font-display: swap;
49
+ }
50
+
51
+ @font-face {
52
+ font-family: "Licht Sans";
53
+ src: url("/licht/fonts/LichtSans-Italic.woff2") format("woff2");
54
+ font-weight: 400;
55
+ font-style: italic;
56
+ font-display: swap;
57
+ }
58
+
59
+ @font-face {
60
+ font-family: "Licht Sans";
61
+ src: url("/licht/fonts/LichtSans-Medium.woff2") format("woff2");
62
+ font-weight: 500;
63
+ font-style: normal;
64
+ font-display: swap;
65
+ }
66
+
67
+ @font-face {
68
+ font-family: "Licht Sans";
69
+ src: url("/licht/fonts/LichtSans-MediumItalic.woff2") format("woff2");
70
+ font-weight: 500;
71
+ font-style: italic;
72
+ font-display: swap;
73
+ }
74
+
75
+ @font-face {
76
+ font-family: "Licht Sans";
77
+ src: url("/licht/fonts/LichtSans-SemiBold.woff2") format("woff2");
78
+ font-weight: 600;
79
+ font-style: normal;
80
+ font-display: swap;
81
+ }
82
+
83
+ @font-face {
84
+ font-family: "Licht Sans";
85
+ src: url("/licht/fonts/LichtSans-SemiBoldItalic.woff2") format("woff2");
86
+ font-weight: 600;
87
+ font-style: italic;
88
+ font-display: swap;
89
+ }
90
+
91
+ @font-face {
92
+ font-family: "Licht Sans";
93
+ src: url("/licht/fonts/LichtSans-Bold.woff2") format("woff2");
94
+ font-weight: 700;
95
+ font-style: normal;
96
+ font-display: swap;
97
+ }
98
+
99
+ @font-face {
100
+ font-family: "Licht Sans";
101
+ src: url("/licht/fonts/LichtSans-BoldItalic.woff2") format("woff2");
102
+ font-weight: 700;
103
+ font-style: italic;
104
+ font-display: swap;
105
+ }
106
+
107
+ @font-face {
108
+ font-family: "Licht Mono";
109
+ src: url("/licht/fonts/LichtMono-Light.woff2") format("woff2");
110
+ font-weight: 300;
111
+ font-style: normal;
112
+ font-display: swap;
113
+ }
114
+
115
+ @font-face {
116
+ font-family: "Licht Mono";
117
+ src: url("/licht/fonts/LichtMono-Regular.woff2") format("woff2");
118
+ font-weight: 400;
119
+ font-style: normal;
120
+ font-display: swap;
121
+ }
122
+
123
+ @font-face {
124
+ font-family: "Licht Mono";
125
+ src: url("/licht/fonts/LichtMono-Medium.woff2") format("woff2");
126
+ font-weight: 500;
127
+ font-style: normal;
128
+ font-display: swap;
129
+ }
130
+
131
+ @font-face {
132
+ font-family: "Licht Mono";
133
+ src: url("/licht/fonts/LichtMono-SemiBold.woff2") format("woff2");
134
+ font-weight: 600;
135
+ font-style: normal;
136
+ font-display: swap;
137
+ }
138
+
139
+ @font-face {
140
+ font-family: "Licht Mono";
141
+ src: url("/licht/fonts/LichtMono-Bold.woff2") format("woff2");
142
+ font-weight: 700;
143
+ font-style: normal;
144
+ font-display: swap;
145
+ }