@zonsh/ui 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +75 -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/breadcrumb.d.ts +22 -0
  113. package/dist/components/breadcrumb.js +32 -0
  114. package/dist/components/button-group.d.ts +30 -0
  115. package/dist/components/button-group.js +47 -0
  116. package/dist/components/button.d.ts +53 -0
  117. package/dist/components/button.js +130 -0
  118. package/dist/components/calendar.d.ts +26 -0
  119. package/dist/components/calendar.js +164 -0
  120. package/dist/components/card.d.ts +42 -0
  121. package/dist/components/card.js +76 -0
  122. package/dist/components/carousel.d.ts +90 -0
  123. package/dist/components/carousel.js +213 -0
  124. package/dist/components/chart.d.ts +180 -0
  125. package/dist/components/chart.js +286 -0
  126. package/dist/components/checkbox.d.ts +23 -0
  127. package/dist/components/checkbox.js +43 -0
  128. package/dist/components/code-block.d.ts +45 -0
  129. package/dist/components/code-block.js +58 -0
  130. package/dist/components/code-highlight.d.ts +13 -0
  131. package/dist/components/code-highlight.js +107 -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 +85 -0
  135. package/dist/components/color-picker.js +407 -0
  136. package/dist/components/combobox.d.ts +81 -0
  137. package/dist/components/combobox.js +100 -0
  138. package/dist/components/command.d.ts +112 -0
  139. package/dist/components/command.js +212 -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 +27 -0
  143. package/dist/components/conversation.js +293 -0
  144. package/dist/components/copy-button.d.ts +46 -0
  145. package/dist/components/copy-button.js +118 -0
  146. package/dist/components/data-table.d.ts +175 -0
  147. package/dist/components/data-table.js +302 -0
  148. package/dist/components/date-picker.d.ts +91 -0
  149. package/dist/components/date-picker.js +207 -0
  150. package/dist/components/dialog.d.ts +48 -0
  151. package/dist/components/dialog.js +92 -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 +60 -0
  155. package/dist/components/drawer.js +76 -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 +15 -0
  161. package/dist/components/field.js +36 -0
  162. package/dist/components/file-drop.d.ts +55 -0
  163. package/dist/components/file-drop.js +197 -0
  164. package/dist/components/filter-bar.d.ts +106 -0
  165. package/dist/components/filter-bar.js +296 -0
  166. package/dist/components/form.d.ts +33 -0
  167. package/dist/components/form.js +34 -0
  168. package/dist/components/graph.d.ts +105 -0
  169. package/dist/components/graph.js +786 -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 +127 -0
  173. package/dist/components/input-group.js +292 -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 +33 -0
  179. package/dist/components/kbd.js +38 -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/logo.d.ts +54 -0
  185. package/dist/components/logo.js +96 -0
  186. package/dist/components/menu.d.ts +60 -0
  187. package/dist/components/menu.js +138 -0
  188. package/dist/components/menubar.d.ts +62 -0
  189. package/dist/components/menubar.js +223 -0
  190. package/dist/components/message.d.ts +42 -0
  191. package/dist/components/message.js +56 -0
  192. package/dist/components/meter.d.ts +31 -0
  193. package/dist/components/meter.js +25 -0
  194. package/dist/components/native-select.d.ts +26 -0
  195. package/dist/components/native-select.js +35 -0
  196. package/dist/components/navigation-menu.d.ts +42 -0
  197. package/dist/components/navigation-menu.js +97 -0
  198. package/dist/components/number-field.d.ts +36 -0
  199. package/dist/components/number-field.js +153 -0
  200. package/dist/components/otp-field.d.ts +35 -0
  201. package/dist/components/otp-field.js +94 -0
  202. package/dist/components/pagination.d.ts +31 -0
  203. package/dist/components/pagination.js +70 -0
  204. package/dist/components/pdf-viewer.d.ts +69 -0
  205. package/dist/components/pdf-viewer.js +929 -0
  206. package/dist/components/popover.d.ts +33 -0
  207. package/dist/components/popover.js +48 -0
  208. package/dist/components/preview-card.d.ts +25 -0
  209. package/dist/components/preview-card.js +22 -0
  210. package/dist/components/progress.d.ts +27 -0
  211. package/dist/components/progress.js +23 -0
  212. package/dist/components/prompt-input.d.ts +131 -0
  213. package/dist/components/prompt-input.js +403 -0
  214. package/dist/components/quote.d.ts +22 -0
  215. package/dist/components/quote.js +15 -0
  216. package/dist/components/radio-group.d.ts +18 -0
  217. package/dist/components/radio-group.js +34 -0
  218. package/dist/components/reasoning.d.ts +31 -0
  219. package/dist/components/reasoning.js +70 -0
  220. package/dist/components/resizable.d.ts +38 -0
  221. package/dist/components/resizable.js +41 -0
  222. package/dist/components/response.d.ts +30 -0
  223. package/dist/components/response.js +538 -0
  224. package/dist/components/scroll-area.d.ts +33 -0
  225. package/dist/components/scroll-area.js +31 -0
  226. package/dist/components/select.d.ts +35 -0
  227. package/dist/components/select.js +60 -0
  228. package/dist/components/separator.d.ts +14 -0
  229. package/dist/components/separator.js +17 -0
  230. package/dist/components/sidebar.d.ts +147 -0
  231. package/dist/components/sidebar.js +489 -0
  232. package/dist/components/site-header.d.ts +59 -0
  233. package/dist/components/site-header.js +67 -0
  234. package/dist/components/skeleton.d.ts +31 -0
  235. package/dist/components/skeleton.js +29 -0
  236. package/dist/components/slider.d.ts +24 -0
  237. package/dist/components/slider.js +129 -0
  238. package/dist/components/sources.d.ts +25 -0
  239. package/dist/components/sources.js +35 -0
  240. package/dist/components/spinner.d.ts +36 -0
  241. package/dist/components/spinner.js +72 -0
  242. package/dist/components/suggestions.d.ts +20 -0
  243. package/dist/components/suggestions.js +18 -0
  244. package/dist/components/switch.d.ts +14 -0
  245. package/dist/components/switch.js +26 -0
  246. package/dist/components/table.d.ts +162 -0
  247. package/dist/components/table.js +758 -0
  248. package/dist/components/tabs.d.ts +25 -0
  249. package/dist/components/tabs.js +162 -0
  250. package/dist/components/tag.d.ts +41 -0
  251. package/dist/components/tag.js +88 -0
  252. package/dist/components/tags-input.d.ts +40 -0
  253. package/dist/components/tags-input.js +239 -0
  254. package/dist/components/textarea.d.ts +13 -0
  255. package/dist/components/textarea.js +16 -0
  256. package/dist/components/theme.d.ts +41 -0
  257. package/dist/components/theme.js +112 -0
  258. package/dist/components/time-field.d.ts +51 -0
  259. package/dist/components/time-field.js +437 -0
  260. package/dist/components/timeline.d.ts +76 -0
  261. package/dist/components/timeline.js +99 -0
  262. package/dist/components/toast.d.ts +72 -0
  263. package/dist/components/toast.js +196 -0
  264. package/dist/components/toggle-group.d.ts +41 -0
  265. package/dist/components/toggle-group.js +140 -0
  266. package/dist/components/toggle.d.ts +23 -0
  267. package/dist/components/toggle.js +35 -0
  268. package/dist/components/tool-call.d.ts +52 -0
  269. package/dist/components/tool-call.js +57 -0
  270. package/dist/components/toolbar.d.ts +17 -0
  271. package/dist/components/toolbar.js +34 -0
  272. package/dist/components/tooltip.d.ts +42 -0
  273. package/dist/components/tooltip.js +47 -0
  274. package/dist/components/tree.d.ts +75 -0
  275. package/dist/components/tree.js +636 -0
  276. package/dist/components/typography.d.ts +134 -0
  277. package/dist/components/typography.js +176 -0
  278. package/dist/components/video-player.d.ts +276 -0
  279. package/dist/components/video-player.js +1352 -0
  280. package/dist/components/whiteboard.d.ts +80 -0
  281. package/dist/components/whiteboard.js +389 -0
  282. package/dist/index.d.ts +85 -0
  283. package/dist/index.js +86 -0
  284. package/dist/lib/cn.d.ts +20 -0
  285. package/dist/lib/cn.js +38 -0
  286. package/dist/lib/code-highlight.d.ts +31 -0
  287. package/dist/lib/code-highlight.js +24 -0
  288. package/dist/lib/code-theme.d.ts +19 -0
  289. package/dist/lib/code-theme.js +140 -0
  290. package/dist/lib/collapse-row.d.ts +9 -0
  291. package/dist/lib/collapse-row.js +129 -0
  292. package/dist/lib/digit-roll.d.ts +21 -0
  293. package/dist/lib/digit-roll.js +31 -0
  294. package/dist/lib/editorial-assets.d.ts +16 -0
  295. package/dist/lib/editorial-assets.js +56 -0
  296. package/dist/lib/figure/catalog.d.ts +127 -0
  297. package/dist/lib/figure/catalog.js +130 -0
  298. package/dist/lib/figure/figures/automation.d.ts +7 -0
  299. package/dist/lib/figure/figures/automation.js +143 -0
  300. package/dist/lib/figure/figures/bar-chart.d.ts +7 -0
  301. package/dist/lib/figure/figures/bar-chart.js +99 -0
  302. package/dist/lib/figure/figures/brackets-classic.d.ts +11 -0
  303. package/dist/lib/figure/figures/brackets-classic.js +170 -0
  304. package/dist/lib/figure/figures/brackets.d.ts +8 -0
  305. package/dist/lib/figure/figures/brackets.js +84 -0
  306. package/dist/lib/figure/figures/city.d.ts +7 -0
  307. package/dist/lib/figure/figures/city.js +93 -0
  308. package/dist/lib/figure/figures/conveyor.d.ts +7 -0
  309. package/dist/lib/figure/figures/conveyor.js +97 -0
  310. package/dist/lib/figure/figures/database.d.ts +7 -0
  311. package/dist/lib/figure/figures/database.js +65 -0
  312. package/dist/lib/figure/figures/documents.d.ts +7 -0
  313. package/dist/lib/figure/figures/documents.js +83 -0
  314. package/dist/lib/figure/figures/inbox.d.ts +7 -0
  315. package/dist/lib/figure/figures/inbox.js +92 -0
  316. package/dist/lib/figure/figures/laptop.d.ts +7 -0
  317. package/dist/lib/figure/figures/laptop.js +67 -0
  318. package/dist/lib/figure/figures/monitor.d.ts +7 -0
  319. package/dist/lib/figure/figures/monitor.js +59 -0
  320. package/dist/lib/figure/figures/pipeline.d.ts +8 -0
  321. package/dist/lib/figure/figures/pipeline.js +117 -0
  322. package/dist/lib/figure/figures/platform.d.ts +7 -0
  323. package/dist/lib/figure/figures/platform.js +117 -0
  324. package/dist/lib/figure/figures/server.d.ts +7 -0
  325. package/dist/lib/figure/figures/server.js +115 -0
  326. package/dist/lib/figure/figures/spreadsheet.d.ts +7 -0
  327. package/dist/lib/figure/figures/spreadsheet.js +87 -0
  328. package/dist/lib/figure/figures/timeline.d.ts +7 -0
  329. package/dist/lib/figure/figures/timeline.js +65 -0
  330. package/dist/lib/figure/kernel.d.ts +152 -0
  331. package/dist/lib/figure/kernel.js +576 -0
  332. package/dist/lib/figure/parts.d.ts +42 -0
  333. package/dist/lib/figure/parts.js +126 -0
  334. package/dist/lib/form-reset.d.ts +11 -0
  335. package/dist/lib/form-reset.js +22 -0
  336. package/dist/lib/glide.d.ts +53 -0
  337. package/dist/lib/glide.js +138 -0
  338. package/dist/lib/graph-layout.d.ts +58 -0
  339. package/dist/lib/graph-layout.js +200 -0
  340. package/dist/lib/illustration-drawings.d.ts +89 -0
  341. package/dist/lib/illustration-drawings.js +539 -0
  342. package/dist/lib/illustration-info.d.ts +37 -0
  343. package/dist/lib/illustration-info.js +22 -0
  344. package/dist/lib/illustration-library.d.ts +87 -0
  345. package/dist/lib/illustration-library.js +352 -0
  346. package/dist/lib/logo-geometry.d.ts +29 -0
  347. package/dist/lib/logo-geometry.js +67 -0
  348. package/dist/lib/markdown-guard.d.ts +16 -0
  349. package/dist/lib/markdown-guard.js +123 -0
  350. package/dist/lib/merge-refs.d.ts +10 -0
  351. package/dist/lib/merge-refs.js +26 -0
  352. package/dist/lib/motion.d.ts +6 -0
  353. package/dist/lib/motion.js +12 -0
  354. package/dist/lib/pdf-worker.d.ts +1 -0
  355. package/dist/lib/pdf-worker.js +6 -0
  356. package/dist/lib/pdf.d.ts +19 -0
  357. package/dist/lib/pdf.js +58 -0
  358. package/dist/lib/platform.d.ts +33 -0
  359. package/dist/lib/platform.js +68 -0
  360. package/dist/lib/room.d.ts +25 -0
  361. package/dist/lib/room.js +46 -0
  362. package/dist/lib/table-fit.d.ts +143 -0
  363. package/dist/lib/table-fit.js +577 -0
  364. package/dist/lib/theme-script.d.ts +18 -0
  365. package/dist/lib/theme-script.js +29 -0
  366. package/dist/styles/expressive.css +188 -0
  367. package/dist/styles/fonts.css +145 -0
  368. package/dist/styles/index.css +206 -0
  369. package/dist/styles/material.css +313 -0
  370. package/dist/styles/parts/ai.css +360 -0
  371. package/dist/styles/parts/brand.css +75 -0
  372. package/dist/styles/parts/controls.css +725 -0
  373. package/dist/styles/parts/data.css +222 -0
  374. package/dist/styles/parts/editorial.css +120 -0
  375. package/dist/styles/parts/feedback.css +273 -0
  376. package/dist/styles/parts/foundations.css +166 -0
  377. package/dist/styles/parts/graph.css +214 -0
  378. package/dist/styles/parts/inputs.css +261 -0
  379. package/dist/styles/parts/isometric.css +124 -0
  380. package/dist/styles/parts/navigation.css +232 -0
  381. package/dist/styles/parts/overlays.css +250 -0
  382. package/dist/styles/parts/pdf.css +154 -0
  383. package/dist/styles/parts/react-flow.css +519 -0
  384. package/dist/styles/parts/whiteboard.css +855 -0
  385. package/dist/styles/tokens.css +290 -0
  386. package/dist/vite.d.ts +116 -0
  387. package/dist/vite.js +129 -0
  388. package/package.json +188 -5
@@ -0,0 +1,119 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 720" width="960" height="720" fill="none" role="img" aria-label="Stress axis">
2
+ <title>Stress axis</title>
3
+ <defs>
4
+ <linearGradient id="ep-sheet-stress-axis-paper" x1="0.33" y1="0.03" x2="0.67" y2="0.97">
5
+ <stop offset="0" stop-color="#fdfdfc"/>
6
+ <stop offset="0.7" stop-color="#efefed"/>
7
+ <stop offset="1" stop-color="#e7e7e4"/>
8
+ </linearGradient>
9
+ </defs>
10
+ <rect x="0.5" y="0.5" width="959" height="719" fill="url(#ep-sheet-stress-axis-paper)" stroke="#d4d4d0" stroke-width="1"/>
11
+ <svg x="86" y="86" width="788" height="548" viewBox="0 0 400 400" preserveAspectRatio="xMidYMid meet" color="#121212" overflow="hidden">
12
+ <g stroke-width="0.75" stroke="#12121229">
13
+ <path d="M50 200H350M200 50V350"/>
14
+ <circle cx="200" cy="200" r="100" stroke-dasharray="2 4"/>
15
+ <circle cx="200" cy="200" r="50" stroke-dasharray="2 4"/>
16
+ <circle cx="200" cy="200" r="144"/>
17
+ <line x1="349.43" y1="186.93" x2="343.45" y2="187.45"/>
18
+ <line x1="347.72" y1="173.95" x2="341.81" y2="174.99"/>
19
+ <line x1="344.89" y1="161.18" x2="339.09" y2="162.73"/>
20
+ <line x1="340.95" y1="148.7" x2="335.32" y2="150.75"/>
21
+ <line x1="335.95" y1="136.61" x2="330.51" y2="139.14"/>
22
+ <line x1="322.87" y1="113.96" x2="317.96" y2="117.4"/>
23
+ <line x1="314.91" y1="103.58" x2="310.31" y2="107.44"/>
24
+ <line x1="306.07" y1="93.93" x2="301.82" y2="98.18"/>
25
+ <line x1="296.42" y1="85.09" x2="292.56" y2="89.69"/>
26
+ <line x1="286.04" y1="77.13" x2="282.6" y2="82.04"/>
27
+ <line x1="263.39" y1="64.05" x2="260.86" y2="69.49"/>
28
+ <line x1="251.3" y1="59.05" x2="249.25" y2="64.68"/>
29
+ <line x1="238.82" y1="55.11" x2="237.27" y2="60.91"/>
30
+ <line x1="226.05" y1="52.28" x2="225.01" y2="58.19"/>
31
+ <line x1="213.07" y1="50.57" x2="212.55" y2="56.55"/>
32
+ <line x1="186.93" y1="50.57" x2="187.45" y2="56.55"/>
33
+ <line x1="173.95" y1="52.28" x2="174.99" y2="58.19"/>
34
+ <line x1="161.18" y1="55.11" x2="162.73" y2="60.91"/>
35
+ <line x1="148.7" y1="59.05" x2="150.75" y2="64.68"/>
36
+ <line x1="136.61" y1="64.05" x2="139.14" y2="69.49"/>
37
+ <line x1="113.96" y1="77.13" x2="117.4" y2="82.04"/>
38
+ <line x1="103.58" y1="85.09" x2="107.44" y2="89.69"/>
39
+ <line x1="93.93" y1="93.93" x2="98.18" y2="98.18"/>
40
+ <line x1="85.09" y1="103.58" x2="89.69" y2="107.44"/>
41
+ <line x1="77.13" y1="113.96" x2="82.04" y2="117.4"/>
42
+ <line x1="64.05" y1="136.61" x2="69.49" y2="139.14"/>
43
+ <line x1="59.05" y1="148.7" x2="64.68" y2="150.75"/>
44
+ <line x1="55.11" y1="161.18" x2="60.91" y2="162.73"/>
45
+ <line x1="52.28" y1="173.95" x2="58.19" y2="174.99"/>
46
+ <line x1="50.57" y1="186.93" x2="56.55" y2="187.45"/>
47
+ <line x1="50.57" y1="213.07" x2="56.55" y2="212.55"/>
48
+ <line x1="52.28" y1="226.05" x2="58.19" y2="225.01"/>
49
+ <line x1="55.11" y1="238.82" x2="60.91" y2="237.27"/>
50
+ <line x1="59.05" y1="251.3" x2="64.68" y2="249.25"/>
51
+ <line x1="64.05" y1="263.39" x2="69.49" y2="260.86"/>
52
+ <line x1="77.13" y1="286.04" x2="82.04" y2="282.6"/>
53
+ <line x1="85.09" y1="296.42" x2="89.69" y2="292.56"/>
54
+ <line x1="93.93" y1="306.07" x2="98.18" y2="301.82"/>
55
+ <line x1="103.58" y1="314.91" x2="107.44" y2="310.31"/>
56
+ <line x1="113.96" y1="322.87" x2="117.4" y2="317.96"/>
57
+ <line x1="136.61" y1="335.95" x2="139.14" y2="330.51"/>
58
+ <line x1="148.7" y1="340.95" x2="150.75" y2="335.32"/>
59
+ <line x1="161.18" y1="344.89" x2="162.73" y2="339.09"/>
60
+ <line x1="173.95" y1="347.72" x2="174.99" y2="341.81"/>
61
+ <line x1="186.93" y1="349.43" x2="187.45" y2="343.45"/>
62
+ <line x1="213.07" y1="349.43" x2="212.55" y2="343.45"/>
63
+ <line x1="226.05" y1="347.72" x2="225.01" y2="341.81"/>
64
+ <line x1="238.82" y1="344.89" x2="237.27" y2="339.09"/>
65
+ <line x1="251.3" y1="340.95" x2="249.25" y2="335.32"/>
66
+ <line x1="263.39" y1="335.95" x2="260.86" y2="330.51"/>
67
+ <line x1="286.04" y1="322.87" x2="282.6" y2="317.96"/>
68
+ <line x1="296.42" y1="314.91" x2="292.56" y2="310.31"/>
69
+ <line x1="306.07" y1="306.07" x2="301.82" y2="301.82"/>
70
+ <line x1="314.91" y1="296.42" x2="310.31" y2="292.56"/>
71
+ <line x1="322.87" y1="286.04" x2="317.96" y2="282.6"/>
72
+ <line x1="335.95" y1="263.39" x2="330.51" y2="260.86"/>
73
+ <line x1="340.95" y1="251.3" x2="335.32" y2="249.25"/>
74
+ <line x1="344.89" y1="238.82" x2="339.09" y2="237.27"/>
75
+ <line x1="347.72" y1="226.05" x2="341.81" y2="225.01"/>
76
+ <line x1="349.43" y1="213.07" x2="343.45" y2="212.55"/>
77
+ </g>
78
+ <circle cx="200" cy="200" r="150" stroke="currentColor" stroke-opacity="0.55" stroke-width="0.75"/>
79
+ <g stroke="currentColor" stroke-opacity="0.85" stroke-width="0.9">
80
+ <line x1="350" y1="200" x2="336" y2="200"/>
81
+ <line x1="329.9" y1="125" x2="317.78" y2="132"/>
82
+ <line x1="275" y1="70.1" x2="268" y2="82.22"/>
83
+ <line x1="200" y1="50" x2="200" y2="64"/>
84
+ <line x1="125" y1="70.1" x2="132" y2="82.22"/>
85
+ <line x1="70.1" y1="125" x2="82.22" y2="132"/>
86
+ <line x1="50" y1="200" x2="64" y2="200"/>
87
+ <line x1="70.1" y1="275" x2="82.22" y2="268"/>
88
+ <line x1="125" y1="329.9" x2="132" y2="317.78"/>
89
+ <line x1="200" y1="350" x2="200" y2="336"/>
90
+ <line x1="275" y1="329.9" x2="268" y2="317.78"/>
91
+ <line x1="329.9" y1="275" x2="317.78" y2="268"/>
92
+ </g>
93
+ <g fill="currentColor" fill-opacity="0.6" font-size="9" font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" text-anchor="middle">
94
+ <text x="368" y="200" dominant-baseline="central">0°</text>
95
+ <text x="345.49" y="116" dominant-baseline="central">30°</text>
96
+ <text x="284" y="54.51" dominant-baseline="central">60°</text>
97
+ <text x="200" y="32" dominant-baseline="central">90°</text>
98
+ <text x="116" y="54.51" dominant-baseline="central">120°</text>
99
+ <text x="54.51" y="116" dominant-baseline="central">150°</text>
100
+ <text x="32" y="200" dominant-baseline="central">180°</text>
101
+ <text x="54.51" y="284" dominant-baseline="central">210°</text>
102
+ <text x="116" y="345.49" dominant-baseline="central">240°</text>
103
+ <text x="200" y="368" dominant-baseline="central">270°</text>
104
+ <text x="284" y="345.49" dominant-baseline="central">300°</text>
105
+ <text x="345.49" y="284" dominant-baseline="central">330°</text>
106
+ </g>
107
+ <line x1="46.69" y1="238.22" x2="353.31" y2="161.78" stroke="currentColor" stroke-width="1" stroke-dasharray="8 3 1 3"/>
108
+ <path d="M272 200A72 72 0 0 0 269.86 182.58" stroke="currentColor" stroke-opacity="0.7" stroke-width="0.75"/>
109
+ <text x="285.36" y="189.52" fill="currentColor" font-size="8.5" font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" dominant-baseline="central">14°</text>
110
+ <text x="321.74" y="160.45" fill="currentColor" fill-opacity="0.7" font-size="7.5" font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" letter-spacing="1.2" text-anchor="end" transform="rotate(-14 321.74 160.45)">STRESS</text>
111
+ <g transform="rotate(-14 200 200)">
112
+ <ellipse cx="200" cy="200" rx="58" ry="19" fill="currentColor" fill-opacity="0.08" stroke="currentColor" stroke-width="1"/>
113
+ <path d="M142 200H258" stroke="currentColor" stroke-opacity="0.35" stroke-width="0.5"/>
114
+ </g>
115
+ <circle cx="200" cy="200" r="2.5" fill="#efefed" stroke="currentColor" stroke-width="1"/>
116
+ </svg>
117
+ <text font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="1.8" fill="rgba(18,18,18,0.55)" x="22" y="32">05.2</text>
118
+ <text font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="1.8" fill="rgba(18,18,18,0.55)" x="938" y="32" text-anchor="end">STRESS AXIS 14°</text>
119
+ </svg>
@@ -0,0 +1,215 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 720" width="960" height="720" fill="none" role="img" aria-label="Totality">
2
+ <title>Totality</title>
3
+ <defs>
4
+ <linearGradient id="ep-sheet-totality-paper" x1="0.33" y1="0.03" x2="0.67" y2="0.97">
5
+ <stop offset="0" stop-color="#fdfdfc"/>
6
+ <stop offset="0.7" stop-color="#efefed"/>
7
+ <stop offset="1" stop-color="#e7e7e4"/>
8
+ </linearGradient>
9
+ </defs>
10
+ <rect x="0.5" y="0.5" width="959" height="719" fill="#040404" stroke="#393939" stroke-width="1"/>
11
+ <svg x="86" y="86" width="788" height="548" viewBox="0 0 400 400" preserveAspectRatio="xMidYMid meet" color="#fafafa" overflow="hidden">
12
+ <defs>
13
+ <radialGradient id="ep-sheet-totality-glow" cx="200" cy="200" r="200" gradientUnits="userSpaceOnUse">
14
+ <stop offset="0.38" stop-color="currentColor" stop-opacity="0.55"/>
15
+ <stop offset="0.46" stop-color="currentColor" stop-opacity="0.2"/>
16
+ <stop offset="0.66" stop-color="currentColor" stop-opacity="0.06"/>
17
+ <stop offset="1" stop-color="currentColor" stop-opacity="0"/>
18
+ </radialGradient>
19
+ <filter id="ep-sheet-totality-blur" x="-50%" y="-50%" width="200%" height="200%">
20
+ <feGaussianBlur stdDeviation="3.5"/>
21
+ </filter>
22
+ </defs>
23
+ <circle cx="200" cy="200" r="200" fill="url(#ep-sheet-totality-glow)"/>
24
+ <g stroke="currentColor" stroke-width="0.6" stroke-linecap="round">
25
+ <line x1="281.99" y1="201.5" x2="351.14" y2="202.76" stroke-opacity="0.64"/>
26
+ <line x1="281.94" y1="196.87" x2="305.4" y2="195.97" stroke-opacity="0.36"/>
27
+ <line x1="281.76" y1="193.71" x2="295.84" y2="192.63" stroke-opacity="0.31"/>
28
+ <line x1="281.39" y1="190.01" x2="293.71" y2="188.5" stroke-opacity="0.44"/>
29
+ <line x1="281.18" y1="188.41" x2="296.47" y2="186.22" stroke-opacity="0.81"/>
30
+ <line x1="280.71" y1="185.52" x2="292.77" y2="183.35" stroke-opacity="0.31"/>
31
+ <line x1="280.17" y1="182.79" x2="308.15" y2="176.78" stroke-opacity="0.68"/>
32
+ <line x1="279.53" y1="180.04" x2="379.65" y2="154.91" stroke-opacity="0.59"/>
33
+ <line x1="278.19" y1="175.3" x2="380.67" y2="142.94" stroke-opacity="0.77"/>
34
+ <line x1="277.06" y1="171.97" x2="288.24" y2="167.9" stroke-opacity="0.43"/>
35
+ <line x1="276.42" y1="170.26" x2="286.18" y2="166.45" stroke-opacity="0.68"/>
36
+ <line x1="275.32" y1="167.58" x2="297.01" y2="158.24" stroke-opacity="0.79"/>
37
+ <line x1="273.61" y1="163.86" x2="288.67" y2="156.47" stroke-opacity="0.43"/>
38
+ <line x1="273.01" y1="162.67" x2="327.93" y2="134.58" stroke-opacity="0.41"/>
39
+ <line x1="271.48" y1="159.83" x2="286.33" y2="151.48" stroke-opacity="0.25"/>
40
+ <line x1="269.13" y1="155.9" x2="355.85" y2="100.57" stroke-opacity="0.72"/>
41
+ <line x1="267.48" y1="153.42" x2="330.87" y2="109.66" stroke-opacity="0.54"/>
42
+ <line x1="265.7" y1="150.94" x2="319.55" y2="110.73" stroke-opacity="0.72"/>
43
+ <line x1="263.93" y1="148.65" x2="363.76" y2="68.46" stroke-opacity="0.55"/>
44
+ <line x1="261.51" y1="145.78" x2="281.4" y2="128.24" stroke-opacity="0.42"/>
45
+ <line x1="259.64" y1="143.72" x2="292.65" y2="112.58" stroke-opacity="0.81"/>
46
+ <line x1="257.86" y1="141.89" x2="273" y2="126.68" stroke-opacity="0.61"/>
47
+ <line x1="255.24" y1="139.39" x2="266.05" y2="127.53" stroke-opacity="0.36"/>
48
+ <line x1="254.62" y1="138.84" x2="298.03" y2="90.22" stroke-opacity="0.72"/>
49
+ <line x1="250.81" y1="135.64" x2="271.72" y2="109.15" stroke-opacity="0.58"/>
50
+ <line x1="248.16" y1="133.63" x2="299.06" y2="63.47" stroke-opacity="0.81"/>
51
+ <line x1="245.81" y1="131.99" x2="264.9" y2="103.65" stroke-opacity="0.72"/>
52
+ <line x1="244.56" y1="131.16" x2="299.13" y2="46.87" stroke-opacity="0.56"/>
53
+ <line x1="241.9" y1="129.51" x2="248.41" y2="118.55" stroke-opacity="0.71"/>
54
+ <line x1="237.33" y1="126.99" x2="254.12" y2="94.15" stroke-opacity="0.81"/>
55
+ <line x1="235.28" y1="125.98" x2="263.92" y2="65.86" stroke-opacity="0.51"/>
56
+ <line x1="233.55" y1="125.18" x2="253.7" y2="80.24" stroke-opacity="0.73"/>
57
+ <line x1="230.84" y1="124.02" x2="239.92" y2="101.65" stroke-opacity="0.54"/>
58
+ <line x1="228.01" y1="122.93" x2="235.5" y2="102.3" stroke-opacity="0.51"/>
59
+ <line x1="225.13" y1="121.95" x2="228.77" y2="110.66" stroke-opacity="0.23"/>
60
+ <line x1="222.38" y1="121.11" x2="241.46" y2="53.88" stroke-opacity="0.26"/>
61
+ <line x1="219.22" y1="120.28" x2="225.18" y2="95.55" stroke-opacity="0.66"/>
62
+ <line x1="215.64" y1="119.51" x2="224.96" y2="71.56" stroke-opacity="0.65"/>
63
+ <line x1="211.31" y1="118.78" x2="218.14" y2="69.74" stroke-opacity="0.47"/>
64
+ <line x1="208.99" y1="118.49" x2="211.98" y2="91.42" stroke-opacity="0.69"/>
65
+ <line x1="207.41" y1="118.34" x2="212.15" y2="66.16" stroke-opacity="0.72"/>
66
+ <line x1="202.22" y1="118.03" x2="202.71" y2="100.14" stroke-opacity="0.77"/>
67
+ <line x1="200.76" y1="118" x2="200.99" y2="93.9" stroke-opacity="0.72"/>
68
+ <line x1="197.23" y1="118.05" x2="193.74" y2="15.03" stroke-opacity="0.48"/>
69
+ <line x1="194.37" y1="118.19" x2="193.31" y2="102.9" stroke-opacity="0.75"/>
70
+ <line x1="190.6" y1="118.54" x2="176.79" y2="-1.13" stroke-opacity="0.52"/>
71
+ <line x1="187.97" y1="118.89" x2="178.62" y2="55.83" stroke-opacity="0.55"/>
72
+ <line x1="184.28" y1="119.52" x2="176.65" y2="80.46" stroke-opacity="0.45"/>
73
+ <line x1="181.43" y1="120.13" x2="177.09" y2="101.5" stroke-opacity="0.4"/>
74
+ <line x1="179.99" y1="120.48" x2="169.44" y2="78.55" stroke-opacity="0.8"/>
75
+ <line x1="176.37" y1="121.48" x2="173.4" y2="111.63" stroke-opacity="0.65"/>
76
+ <line x1="171.69" y1="123.04" x2="153.53" y2="73.69" stroke-opacity="0.8"/>
77
+ <line x1="170.82" y1="123.37" x2="139.89" y2="42.1" stroke-opacity="0.54"/>
78
+ <line x1="167.52" y1="124.71" x2="149.36" y2="82.64" stroke-opacity="0.59"/>
79
+ <line x1="163.8" y1="126.42" x2="149.72" y2="97.81" stroke-opacity="0.38"/>
80
+ <line x1="160.79" y1="127.98" x2="155.43" y2="118.14" stroke-opacity="0.65"/>
81
+ <line x1="159.1" y1="128.93" x2="144.71" y2="103.93" stroke-opacity="0.75"/>
82
+ <line x1="155.2" y1="131.32" x2="149.39" y2="122.4" stroke-opacity="0.39"/>
83
+ <line x1="153.75" y1="132.29" x2="119.14" y2="81.63" stroke-opacity="0.73"/>
84
+ <line x1="151.23" y1="134.08" x2="99.66" y2="64.36" stroke-opacity="0.52"/>
85
+ <line x1="147.86" y1="136.71" x2="116.53" y2="98.69" stroke-opacity="0.42"/>
86
+ <line x1="145.57" y1="138.67" x2="65.53" y2="48.5" stroke-opacity="0.22"/>
87
+ <line x1="144.98" y1="139.2" x2="137.81" y2="131.28" stroke-opacity="0.27"/>
88
+ <line x1="141.13" y1="142.92" x2="118.49" y2="120.97" stroke-opacity="0.38"/>
89
+ <line x1="139.28" y1="144.89" x2="131.72" y2="138.03" stroke-opacity="0.49"/>
90
+ <line x1="136.9" y1="147.64" x2="128.85" y2="140.96" stroke-opacity="0.45"/>
91
+ <line x1="135.34" y1="149.57" x2="123.84" y2="140.6" stroke-opacity="0.52"/>
92
+ <line x1="134.75" y1="150.34" x2="117.36" y2="137.11" stroke-opacity="0.55"/>
93
+ <line x1="132.83" y1="152.97" x2="119.97" y2="143.97" stroke-opacity="0.64"/>
94
+ <line x1="130.03" y1="157.24" x2="119.75" y2="150.95" stroke-opacity="0.65"/>
95
+ <line x1="128.39" y1="160.05" x2="81.47" y2="133.87" stroke-opacity="0.61"/>
96
+ <line x1="127.76" y1="161.2" x2="118.33" y2="156.14" stroke-opacity="0.81"/>
97
+ <line x1="125.87" y1="164.96" x2="101.79" y2="153.58" stroke-opacity="0.26"/>
98
+ <line x1="124.82" y1="167.25" x2="81.14" y2="148.23" stroke-opacity="0.32"/>
99
+ <line x1="123.4" y1="170.73" x2="110.76" y2="165.9" stroke-opacity="0.34"/>
100
+ <line x1="122.22" y1="174.02" x2="112.67" y2="170.83" stroke-opacity="0.78"/>
101
+ <line x1="121.27" y1="177.07" x2="91.95" y2="168.52" stroke-opacity="0.64"/>
102
+ <line x1="121.06" y1="177.8" x2="111.1" y2="175" stroke-opacity="0.58"/>
103
+ <line x1="119.91" y1="182.42" x2="109.85" y2="180.21" stroke-opacity="0.56"/>
104
+ <line x1="119.5" y1="184.36" x2="58.12" y2="172.44" stroke-opacity="0.38"/>
105
+ <line x1="119.08" y1="186.73" x2="101.82" y2="183.9" stroke-opacity="0.7"/>
106
+ <line x1="118.41" y1="191.81" x2="71.54" y2="187.1" stroke-opacity="0.64"/>
107
+ <line x1="118.15" y1="194.99" x2="77.67" y2="192.51" stroke-opacity="0.63"/>
108
+ <line x1="118.08" y1="196.35" x2="81.12" y2="194.7" stroke-opacity="0.42"/>
109
+ <line x1="118" y1="199.21" x2="85.82" y2="198.9" stroke-opacity="0.63"/>
110
+ <line x1="118.05" y1="202.84" x2="104.44" y2="203.31" stroke-opacity="0.66"/>
111
+ <line x1="118.23" y1="206.19" x2="98.78" y2="207.66" stroke-opacity="0.71"/>
112
+ <line x1="118.39" y1="208.04" x2="90.44" y2="210.79" stroke-opacity="0.62"/>
113
+ <line x1="118.97" y1="212.61" x2="98.35" y2="215.82" stroke-opacity="0.79"/>
114
+ <line x1="119.55" y1="215.88" x2="80.34" y2="223.63" stroke-opacity="0.41"/>
115
+ <line x1="120.39" y1="219.67" x2="75.68" y2="230.71" stroke-opacity="0.49"/>
116
+ <line x1="120.58" y1="220.41" x2="107.84" y2="223.68" stroke-opacity="0.73"/>
117
+ <line x1="122.11" y1="225.63" x2="60.04" y2="246.05" stroke-opacity="0.32"/>
118
+ <line x1="122.58" y1="227.03" x2="113.03" y2="230.36" stroke-opacity="0.64"/>
119
+ <line x1="123.97" y1="230.71" x2="114.69" y2="234.45" stroke-opacity="0.51"/>
120
+ <line x1="125.05" y1="233.25" x2="99.62" y2="244.53" stroke-opacity="0.78"/>
121
+ <line x1="125.85" y1="235.01" x2="89.71" y2="252.07" stroke-opacity="0.4"/>
122
+ <line x1="126.94" y1="237.24" x2="117.25" y2="242.18" stroke-opacity="0.55"/>
123
+ <line x1="128.91" y1="240.88" x2="84.21" y2="266.59" stroke-opacity="0.66"/>
124
+ <line x1="130.69" y1="243.82" x2="107.68" y2="258.37" stroke-opacity="0.67"/>
125
+ <line x1="132.45" y1="246.48" x2="105.86" y2="264.77" stroke-opacity="0.63"/>
126
+ <line x1="134.51" y1="249.34" x2="88.47" y2="284.02" stroke-opacity="0.74"/>
127
+ <line x1="136.23" y1="251.54" x2="127.36" y2="258.71" stroke-opacity="0.37"/>
128
+ <line x1="138.85" y1="254.63" x2="93.44" y2="295.19" stroke-opacity="0.24"/>
129
+ <line x1="140.41" y1="256.33" x2="102.49" y2="292.17" stroke-opacity="0.38"/>
130
+ <line x1="141.33" y1="257.29" x2="112.41" y2="285.54" stroke-opacity="0.61"/>
131
+ <line x1="143.84" y1="259.75" x2="132.88" y2="271.42" stroke-opacity="0.78"/>
132
+ <line x1="145.58" y1="261.34" x2="136.3" y2="271.79" stroke-opacity="0.66"/>
133
+ <line x1="147.69" y1="263.14" x2="141.3" y2="270.85" stroke-opacity="0.81"/>
134
+ <line x1="151.33" y1="265.99" x2="88.09" y2="351.73" stroke-opacity="0.45"/>
135
+ <line x1="154.49" y1="268.21" x2="144.31" y2="283.49" stroke-opacity="0.62"/>
136
+ <line x1="157.06" y1="269.86" x2="134.12" y2="307.19" stroke-opacity="0.45"/>
137
+ <line x1="159.3" y1="271.19" x2="154.22" y2="280.09" stroke-opacity="0.46"/>
138
+ <line x1="160.94" y1="272.1" x2="155.39" y2="282.34" stroke-opacity="0.41"/>
139
+ <line x1="163.31" y1="273.34" x2="134.62" y2="330.69" stroke-opacity="0.75"/>
140
+ <line x1="167.44" y1="275.26" x2="145.16" y2="326.77" stroke-opacity="0.23"/>
141
+ <line x1="169.18" y1="275.99" x2="161.44" y2="295.05" stroke-opacity="0.5"/>
142
+ <line x1="171.91" y1="277.04" x2="165.59" y2="294.39" stroke-opacity="0.23"/>
143
+ <line x1="174.39" y1="277.9" x2="167.75" y2="298.07" stroke-opacity="0.4"/>
144
+ <line x1="177.43" y1="278.83" x2="164.5" y2="323.97" stroke-opacity="0.74"/>
145
+ <line x1="181.88" y1="279.97" x2="166.35" y2="348.49" stroke-opacity="0.8"/>
146
+ <line x1="184.25" y1="280.47" x2="174.39" y2="330.87" stroke-opacity="0.7"/>
147
+ <line x1="189.1" y1="281.27" x2="183.67" y2="321.8" stroke-opacity="0.41"/>
148
+ <line x1="190.22" y1="281.41" x2="188.17" y2="298.49" stroke-opacity="0.68"/>
149
+ <line x1="192.53" y1="281.66" x2="189.73" y2="312.26" stroke-opacity="0.36"/>
150
+ <line x1="196.81" y1="281.94" x2="194.44" y2="342.67" stroke-opacity="0.4"/>
151
+ <line x1="198.51" y1="281.99" x2="198.07" y2="306.3" stroke-opacity="0.25"/>
152
+ <line x1="201.69" y1="281.98" x2="201.94" y2="294.06" stroke-opacity="0.63"/>
153
+ <line x1="206.84" y1="281.71" x2="210.76" y2="328.48" stroke-opacity="0.69"/>
154
+ <line x1="209.19" y1="281.48" x2="223.16" y2="405.32" stroke-opacity="0.54"/>
155
+ <line x1="213.57" y1="280.87" x2="228.52" y2="369.94" stroke-opacity="0.77"/>
156
+ <line x1="216.13" y1="280.4" x2="220.05" y2="299.91" stroke-opacity="0.39"/>
157
+ <line x1="218.24" y1="279.95" x2="243.59" y2="391.09" stroke-opacity="0.43"/>
158
+ <line x1="222" y1="278.99" x2="231.35" y2="312.59" stroke-opacity="0.65"/>
159
+ <line x1="224.52" y1="278.25" x2="227.64" y2="288.21" stroke-opacity="0.69"/>
160
+ <line x1="228.29" y1="276.97" x2="235.26" y2="295.92" stroke-opacity="0.66"/>
161
+ <line x1="230.75" y1="276.02" x2="238.7" y2="295.68" stroke-opacity="0.79"/>
162
+ <line x1="234.16" y1="274.54" x2="249.51" y2="308.03" stroke-opacity="0.36"/>
163
+ <line x1="235.77" y1="273.79" x2="248.15" y2="299.32" stroke-opacity="0.46"/>
164
+ <line x1="238.8" y1="272.24" x2="264.16" y2="319.46" stroke-opacity="0.28"/>
165
+ <line x1="240.18" y1="271.48" x2="245.24" y2="280.48" stroke-opacity="0.71"/>
166
+ <line x1="243.15" y1="269.73" x2="252.32" y2="284.54" stroke-opacity="0.71"/>
167
+ <line x1="245.48" y1="268.23" x2="258.55" y2="287.83" stroke-opacity="0.58"/>
168
+ <line x1="247.71" y1="266.69" x2="290.65" y2="326.73" stroke-opacity="0.6"/>
169
+ <line x1="251.16" y1="264.08" x2="282.37" y2="303.18" stroke-opacity="0.78"/>
170
+ <line x1="253.89" y1="261.81" x2="261.85" y2="270.94" stroke-opacity="0.57"/>
171
+ <line x1="255.15" y1="260.68" x2="269.77" y2="276.76" stroke-opacity="0.32"/>
172
+ <line x1="257.12" y1="258.83" x2="284.55" y2="287.09" stroke-opacity="0.79"/>
173
+ <line x1="260.43" y1="255.43" x2="277.87" y2="271.42" stroke-opacity="0.43"/>
174
+ <line x1="261.32" y1="254.44" x2="283.96" y2="274.55" stroke-opacity="0.59"/>
175
+ <line x1="264.86" y1="250.17" x2="275.98" y2="258.78" stroke-opacity="0.26"/>
176
+ <line x1="265.96" y1="248.72" x2="317.45" y2="286.75" stroke-opacity="0.27"/>
177
+ <line x1="268.21" y1="245.51" x2="348.89" y2="299.33" stroke-opacity="0.75"/>
178
+ <line x1="269.98" y1="242.75" x2="278.66" y2="248.05" stroke-opacity="0.37"/>
179
+ <line x1="271.48" y1="240.18" x2="287.5" y2="249.18" stroke-opacity="0.69"/>
180
+ <line x1="272.75" y1="237.83" x2="295.87" y2="249.86" stroke-opacity="0.69"/>
181
+ <line x1="274.14" y1="235.03" x2="287.85" y2="241.51" stroke-opacity="0.33"/>
182
+ <line x1="275.7" y1="231.53" x2="292.76" y2="238.63" stroke-opacity="0.52"/>
183
+ <line x1="276.47" y1="229.61" x2="286.34" y2="233.44" stroke-opacity="0.25"/>
184
+ <line x1="277.15" y1="227.77" x2="326.48" y2="245.53" stroke-opacity="0.8"/>
185
+ <line x1="278.61" y1="223.32" x2="294.59" y2="228.06" stroke-opacity="0.44"/>
186
+ <line x1="278.87" y1="222.43" x2="290.75" y2="225.81" stroke-opacity="0.29"/>
187
+ <line x1="279.83" y1="218.74" x2="293.64" y2="221.99" stroke-opacity="0.6"/>
188
+ <line x1="280.81" y1="213.9" x2="354.27" y2="226.53" stroke-opacity="0.78"/>
189
+ <line x1="281.23" y1="211.2" x2="338.14" y2="219.05" stroke-opacity="0.49"/>
190
+ <line x1="281.58" y1="208.31" x2="400.76" y2="220.45" stroke-opacity="0.42"/>
191
+ <line x1="281.68" y1="207.24" x2="291.86" y2="208.15" stroke-opacity="0.23"/>
192
+ <line x1="281.97" y1="202.21" x2="294.85" y2="202.55" stroke-opacity="0.48"/>
193
+ </g>
194
+ <circle cx="200" cy="200" r="81" stroke="currentColor" stroke-width="5" filter="url(#ep-sheet-totality-blur)"/>
195
+ <circle cx="200" cy="200" r="80" fill="#040404" stroke="currentColor" stroke-width="1"/>
196
+ </svg>
197
+ <text font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="1.8" fill="rgba(255,255,255,0.5)" x="36" y="32">05.1</text>
198
+ <text font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="1.8" fill="rgba(255,255,255,0.5)" x="924" y="32" text-anchor="end">THE O, AT TOTALITY</text>
199
+ <path d="M16.5 10v13M10 16.5h13" stroke="rgba(255,255,255,0.42)" stroke-width="1"/>
200
+ <path d="M943.5 10v13M937 16.5h13" stroke="rgba(255,255,255,0.42)" stroke-width="1"/>
201
+ <path d="M16.5 697v13M10 703.5h13" stroke="rgba(255,255,255,0.42)" stroke-width="1"/>
202
+ <path d="M943.5 697v13M937 703.5h13" stroke="rgba(255,255,255,0.42)" stroke-width="1"/>
203
+ <g font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace">
204
+ <g>
205
+ <rect x="748" y="652" width="92" height="40" stroke="rgba(255,255,255,0.16)" stroke-width="1"/>
206
+ <text x="758" y="668" font-size="10" letter-spacing="1.4" fill="rgba(255,255,255,0.5)">DRAWN</text>
207
+ <text x="758" y="683" font-size="12" fill="#fafafa">zon</text>
208
+ </g>
209
+ <g>
210
+ <rect x="840" y="652" width="92" height="40" stroke="rgba(255,255,255,0.16)" stroke-width="1"/>
211
+ <text x="850" y="668" font-size="10" letter-spacing="1.4" fill="rgba(255,255,255,0.5)">SCALE</text>
212
+ <text x="850" y="683" font-size="12" fill="#fafafa">1:4</text>
213
+ </g>
214
+ </g>
215
+ </svg>
@@ -0,0 +1,43 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 480" width="960" height="480" fill="none" role="img" aria-label="Vertical metrics">
2
+ <title>Vertical metrics</title>
3
+ <defs>
4
+ <linearGradient id="ep-sheet-vertical-metrics-paper" x1="0.33" y1="0.03" x2="0.67" y2="0.97">
5
+ <stop offset="0" stop-color="#fdfdfc"/>
6
+ <stop offset="0.7" stop-color="#efefed"/>
7
+ <stop offset="1" stop-color="#e7e7e4"/>
8
+ </linearGradient>
9
+ </defs>
10
+ <rect x="0.5" y="0.5" width="959" height="479" fill="url(#ep-sheet-vertical-metrics-paper)" stroke="#d4d4d0" stroke-width="1"/>
11
+ <svg x="86" y="86" width="788" height="308" viewBox="0 0 640 249.2" preserveAspectRatio="xMidYMid meet" color="#121212" overflow="hidden">
12
+ <line x1="0" x2="640" y1="34" y2="34" stroke="#12121229" stroke-width="1" stroke-dasharray="4 3"/>
13
+ <line x1="0" x2="640" y1="38.4" y2="38.4" stroke="#12121229" stroke-width="1" stroke-dasharray="4 3"/>
14
+ <line x1="0" x2="640" y1="81.2" y2="81.2" stroke="#12121229" stroke-width="1" stroke-dasharray="4 3"/>
15
+ <line x1="0" x2="640" y1="182.4" y2="182.4" stroke="currentColor" stroke-opacity="0.4" stroke-width="1"/>
16
+ <line x1="0" x2="640" y1="223.2" y2="223.2" stroke="#12121229" stroke-width="1" stroke-dasharray="4 3"/>
17
+ <g fill="currentColor" fill-opacity="0.55" font-size="10" font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" letter-spacing="1.2">
18
+ <g>
19
+ <text x="44" y="29" text-anchor="end">742</text>
20
+ <text x="640" y="29" text-anchor="end">ASCENDER</text>
21
+ </g>
22
+ <g>
23
+ <text x="44" y="51.4" text-anchor="end">720</text>
24
+ <text x="640" y="51.4" text-anchor="end">CAP HEIGHT</text>
25
+ </g>
26
+ <g>
27
+ <text x="44" y="94.2" text-anchor="end">506</text>
28
+ <text x="640" y="94.2" text-anchor="end">X-HEIGHT</text>
29
+ </g>
30
+ <g>
31
+ <text x="44" y="177.4" text-anchor="end">0</text>
32
+ <text x="640" y="177.4" text-anchor="end">BASELINE</text>
33
+ </g>
34
+ <g>
35
+ <text x="44" y="218.2" text-anchor="end">−204</text>
36
+ <text x="640" y="218.2" text-anchor="end">DESCENDER</text>
37
+ </g>
38
+ </g>
39
+ <text x="348" y="182.4" fill="currentColor" font-family="Licht, 'Iowan Old Style', Georgia, serif" font-weight="300" font-size="200" letter-spacing="-4" text-anchor="middle">Hxgo</text>
40
+ </svg>
41
+ <text font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="1.8" fill="rgba(18,18,18,0.55)" x="22" y="32">05.4</text>
42
+ <text font-family="'Licht Mono', ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="1.8" fill="rgba(18,18,18,0.55)" x="938" y="32" text-anchor="end">VERTICAL METRICS</text>
43
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" zoomAndPan="magnify" viewBox="0 0 187.92 374.999991" height="500" preserveAspectRatio="xMidYMid meet" version="1.0"><defs><clipPath id="fbe6c1f987"><path d="M 56.226562 111.617188 L 149.398438 111.617188 L 149.398438 148.375 L 56.226562 148.375 Z M 56.226562 111.617188 " clip-rule="nonzero"/></clipPath><clipPath id="8fe582ea53"><path d="M 0.226562 0.617188 L 93.398438 0.617188 L 93.398438 37.375 L 0.226562 37.375 Z M 0.226562 0.617188 " clip-rule="nonzero"/></clipPath><clipPath id="0e7e166fc9"><rect x="0" width="94" y="0" height="38"/></clipPath><clipPath id="eb4ace2c66"><path d="M 112.640625 55.289062 L 149.398438 55.289062 L 149.398438 319.707031 L 112.640625 319.707031 Z M 112.640625 55.289062 " clip-rule="nonzero"/></clipPath><clipPath id="a6f93ea8ec"><path d="M 0.640625 0.289062 L 37.398438 0.289062 L 37.398438 264.707031 L 0.640625 264.707031 Z M 0.640625 0.289062 " clip-rule="nonzero"/></clipPath><clipPath id="26ef574891"><rect x="0" width="38" y="0" height="265"/></clipPath></defs><g clip-path="url(#fbe6c1f987)"><g transform="matrix(1, 0, 0, 1, 56, 111)"><g clip-path="url(#0e7e166fc9)"><g clip-path="url(#8fe582ea53)"><path fill="#000000" d="M 0.226562 37.375 L 0.226562 0.617188 L 93.414062 0.617188 L 93.414062 37.375 Z M 0.226562 37.375 " fill-opacity="1" fill-rule="nonzero"/></g></g></g></g><g clip-path="url(#eb4ace2c66)"><g transform="matrix(1, 0, 0, 1, 112, 55)"><g clip-path="url(#26ef574891)"><g clip-path="url(#a6f93ea8ec)"><path fill="#000000" d="M 0.640625 264.707031 L 0.640625 0.222656 L 37.398438 0.222656 L 37.398438 264.707031 Z M 0.640625 264.707031 " fill-opacity="1" fill-rule="nonzero"/></g></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="250" height="500" viewBox="0 0 187.92 374.999991" preserveAspectRatio="xMidYMid meet"><path fill="#000000" d="M 38.089844 55.25 H 74.847656 V 168.007812 H 131.175781 V 204.765625 H 74.847656 V 317.519531 H 38.089844 Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="500" zoomAndPan="magnify" viewBox="0 0 375 374.999991" height="500" preserveAspectRatio="xMidYMid meet" version="1.0"><defs><clipPath id="2ded0eadcb"><path d="M 225.605469 55.230469 L 262.378906 55.230469 L 262.378906 317.609375 L 225.605469 317.609375 Z M 225.605469 55.230469 " clip-rule="nonzero"/></clipPath><clipPath id="697fa8ada3"><path d="M 0.605469 0.230469 L 37.378906 0.230469 L 37.378906 262.609375 L 0.605469 262.609375 Z M 0.605469 0.230469 " clip-rule="nonzero"/></clipPath><clipPath id="da9845dc52"><rect x="0" width="38" y="0" height="263"/></clipPath><clipPath id="745f788306"><path d="M 225.523438 168.039062 L 318.734375 168.039062 L 318.734375 204.8125 L 225.523438 204.8125 Z M 225.523438 168.039062 " clip-rule="nonzero"/></clipPath><clipPath id="660315de24"><path d="M 0.523438 0.0390625 L 93.734375 0.0390625 L 93.734375 36.8125 L 0.523438 36.8125 Z M 0.523438 0.0390625 " clip-rule="nonzero"/></clipPath><clipPath id="9a736c0b12"><rect x="0" width="94" y="0" height="37"/></clipPath><clipPath id="036259ba16"><path d="M 56.265625 111.585938 L 149.476562 111.585938 L 149.476562 148.359375 L 56.265625 148.359375 Z M 56.265625 111.585938 " clip-rule="nonzero"/></clipPath><clipPath id="145e5cc971"><path d="M 0.265625 0.585938 L 93.476562 0.585938 L 93.476562 37.359375 L 0.265625 37.359375 Z M 0.265625 0.585938 " clip-rule="nonzero"/></clipPath><clipPath id="7cde39adfa"><rect x="0" width="94" y="0" height="38"/></clipPath><clipPath id="1fb629876e"><path d="M 112.703125 55.234375 L 149.476562 55.234375 L 149.476562 319.761719 L 112.703125 319.761719 Z M 112.703125 55.234375 " clip-rule="nonzero"/></clipPath><clipPath id="8ed5cafd78"><path d="M 0.703125 0.234375 L 37.476562 0.234375 L 37.476562 264.761719 L 0.703125 264.761719 Z M 0.703125 0.234375 " clip-rule="nonzero"/></clipPath><clipPath id="6080b3d40a"><rect x="0" width="38" y="0" height="265"/></clipPath></defs><g clip-path="url(#2ded0eadcb)"><g transform="matrix(1, 0, 0, 1, 225, 55)"><g clip-path="url(#da9845dc52)"><g clip-path="url(#697fa8ada3)"><path fill="#000000" d="M 0.605469 262.609375 L 0.605469 0.167969 L 37.378906 0.167969 L 37.378906 262.609375 Z M 0.605469 262.609375 " fill-opacity="1" fill-rule="nonzero"/></g></g></g></g><g clip-path="url(#745f788306)"><g transform="matrix(1, 0, 0, 1, 225, 168)"><g clip-path="url(#9a736c0b12)"><g clip-path="url(#660315de24)"><path fill="#000000" d="M 0.523438 36.8125 L 0.523438 0.0390625 L 93.75 0.0390625 L 93.75 36.8125 Z M 0.523438 36.8125 " fill-opacity="1" fill-rule="nonzero"/></g></g></g></g><g clip-path="url(#036259ba16)"><g transform="matrix(1, 0, 0, 1, 56, 111)"><g clip-path="url(#7cde39adfa)"><g clip-path="url(#145e5cc971)"><path fill="#000000" d="M 0.265625 37.359375 L 0.265625 0.585938 L 93.492188 0.585938 L 93.492188 37.359375 Z M 0.265625 37.359375 " fill-opacity="1" fill-rule="nonzero"/></g></g></g></g><g clip-path="url(#1fb629876e)"><g transform="matrix(1, 0, 0, 1, 112, 55)"><g clip-path="url(#6080b3d40a)"><g clip-path="url(#8ed5cafd78)"><path fill="#000000" d="M 0.703125 264.761719 L 0.703125 0.167969 L 37.476562 0.167969 L 37.476562 264.761719 Z M 0.703125 264.761719 " fill-opacity="1" fill-rule="nonzero"/></g></g></g></g></svg>
@@ -0,0 +1,47 @@
1
+ import { Menu as BaseMenu } from "@base-ui/react/menu";
2
+ import * as React from "react";
3
+ /**
4
+ * The `dir` of a portalled popup. It renders at the end of `<body>`, outside the element that
5
+ * sets a region's direction, so inside a right-to-left `DirectionProvider` it takes `rtl` itself:
6
+ * its text runs right to left and, set on the positioner, it aligns to the trigger's start (right)
7
+ * edge. An explicit `dir` wins. Otherwise it is left unset, to inherit `<html dir>`.
8
+ */
9
+ export declare function usePopupDir(dir?: string): string | undefined;
10
+ /**
11
+ * The card material at object geometry, lifted to menu level: `--field-edge` border, the 160°
12
+ * gradient, the inset top highlight and the float shadow popups share. Dialogs, drawers and the
13
+ * command palette wear this. The solid colour under the gradient is for contrast themes, which
14
+ * drop gradients: without it the page would show through the popup.
15
+ */
16
+ export declare const overlayCard = "border border-field-edge bg-field-surface bg-[linear-gradient(160deg,var(--control-surface),var(--field-surface)_55%)] text-foreground shadow-overlay";
17
+ /** The dim behind modal objects. No blur: the page stays legible, it just recedes. */
18
+ export declare const overlayBackdrop = "fixed inset-0 z-50 min-h-dvh bg-black/40 transition-opacity duration-(--duration) ease-brand data-ending-style:opacity-0 data-starting-style:opacity-0 supports-[-webkit-touch-callout:none]:absolute dark:bg-black/60";
19
+ /**
20
+ * Dialog-family typography, shared so a dialog, an alert dialog and a drawer read alike. A word
21
+ * too long for the line (a URL, a file name) breaks rather than running out of the popup.
22
+ */
23
+ export declare const overlayTitle = "font-heading text-[26px] leading-[1.1] font-light tracking-[-0.02em] text-balance break-words text-foreground";
24
+ export declare const overlayDescription = "text-[15px] leading-relaxed break-words text-foreground-soft";
25
+ export declare const overlayHeader = "flex flex-col gap-2";
26
+ export declare const overlayFooter = "flex flex-col-reverse gap-3 sm:flex-row sm:items-center sm:justify-end";
27
+ /** The circular close button in the end corner of a dialog or drawer (ghost, 30px): top right, or top left in a right-to-left one. */
28
+ export declare const overlayCloseButton = "absolute end-4 top-4 z-10 inline-flex size-(--control-h-sm) cursor-pointer items-center justify-center rounded-full material-row text-muted-foreground focus-ring sm:end-6 sm:top-6 [&_svg]:size-4";
29
+ /** Floating popup surface for popovers and preview cards. Long words break inside its width. */
30
+ export declare const overlayPopup = "rounded-button material-menu popup-motion font-body break-words outline-none";
31
+ /**
32
+ * Arrow for anchored popups: a rotated square clipped to a 12×6 notch. Its fill covers the
33
+ * popup's border under the notch so the edge reads as one continuous line.
34
+ */
35
+ export declare const overlayArrow: string;
36
+ export declare const menuPopup = "min-w-48 max-w-(--available-width) max-h-(--available-height) overflow-y-auto overscroll-contain p-1 rounded-button material-menu popup-motion font-body outline-none";
37
+ export interface MenuFrameProps extends BaseMenu.Popup.Props {
38
+ slot: string;
39
+ side?: BaseMenu.Positioner.Props["side"];
40
+ align?: BaseMenu.Positioner.Props["align"];
41
+ sideOffset?: BaseMenu.Positioner.Props["sideOffset"];
42
+ alignOffset?: BaseMenu.Positioner.Props["alignOffset"];
43
+ positioner?: Omit<BaseMenu.Positioner.Props, "children">;
44
+ portal?: Omit<BaseMenu.Portal.Props, "children">;
45
+ }
46
+ /** Portal + Positioner + Popup. Undefined positioning props fall through to Base UI defaults. */
47
+ export declare function MenuFrame({ slot, side, align, sideOffset, alignOffset, positioner, portal, className, dir, ...props }: MenuFrameProps): React.JSX.Element;
@@ -0,0 +1,59 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /*
3
+ * Private building blocks shared by the overlay components (dialog, alert-dialog, drawer,
4
+ * popover, tooltip, menu, context-menu, preview-card, command, select, combobox,
5
+ * navigation-menu). The leading underscore keeps this file out of the generated index: nothing
6
+ * here is public API.
7
+ */
8
+ import { useDirection } from "@base-ui/react/direction-provider";
9
+ import { Menu as BaseMenu } from "@base-ui/react/menu";
10
+ import * as React from "react";
11
+ import { cn, sx } from "../lib/cn.js";
12
+ import { roomBounds, TriggerRoomContext } from "../lib/room.js";
13
+ /**
14
+ * The `dir` of a portalled popup. It renders at the end of `<body>`, outside the element that
15
+ * sets a region's direction, so inside a right-to-left `DirectionProvider` it takes `rtl` itself:
16
+ * its text runs right to left and, set on the positioner, it aligns to the trigger's start (right)
17
+ * edge. An explicit `dir` wins. Otherwise it is left unset, to inherit `<html dir>`.
18
+ */
19
+ export function usePopupDir(dir) {
20
+ const direction = useDirection();
21
+ return dir ?? (direction === "rtl" ? "rtl" : undefined);
22
+ }
23
+ /**
24
+ * The card material at object geometry, lifted to menu level: `--field-edge` border, the 160°
25
+ * gradient, the inset top highlight and the float shadow popups share. Dialogs, drawers and the
26
+ * command palette wear this. The solid colour under the gradient is for contrast themes, which
27
+ * drop gradients: without it the page would show through the popup.
28
+ */
29
+ export const overlayCard = "border border-field-edge bg-field-surface bg-[linear-gradient(160deg,var(--control-surface),var(--field-surface)_55%)] text-foreground shadow-overlay";
30
+ /** The dim behind modal objects. No blur: the page stays legible, it just recedes. */
31
+ export const overlayBackdrop = "fixed inset-0 z-50 min-h-dvh bg-black/40 transition-opacity duration-(--duration) ease-brand data-ending-style:opacity-0 data-starting-style:opacity-0 supports-[-webkit-touch-callout:none]:absolute dark:bg-black/60";
32
+ /**
33
+ * Dialog-family typography, shared so a dialog, an alert dialog and a drawer read alike. A word
34
+ * too long for the line (a URL, a file name) breaks rather than running out of the popup.
35
+ */
36
+ export const overlayTitle = "font-heading text-[26px] leading-[1.1] font-light tracking-[-0.02em] text-balance break-words text-foreground";
37
+ export const overlayDescription = "text-[15px] leading-relaxed break-words text-foreground-soft";
38
+ export const overlayHeader = "flex flex-col gap-2";
39
+ export const overlayFooter = "flex flex-col-reverse gap-3 sm:flex-row sm:items-center sm:justify-end";
40
+ /** The circular close button in the end corner of a dialog or drawer (ghost, 30px): top right, or top left in a right-to-left one. */
41
+ export const overlayCloseButton = "absolute end-4 top-4 z-10 inline-flex size-(--control-h-sm) cursor-pointer items-center justify-center rounded-full material-row text-muted-foreground focus-ring sm:end-6 sm:top-6 [&_svg]:size-4";
42
+ /** Floating popup surface for popovers and preview cards. Long words break inside its width. */
43
+ export const overlayPopup = "rounded-button material-menu popup-motion font-body break-words outline-none";
44
+ /**
45
+ * Arrow for anchored popups: a rotated square clipped to a 12×6 notch. Its fill covers the
46
+ * popup's border under the notch so the edge reads as one continuous line.
47
+ */
48
+ export const overlayArrow = cn("relative block h-1.5 w-3 overflow-clip", "data-[side=bottom]:-top-1.5 data-[side=top]:-bottom-1.5 data-[side=top]:rotate-180", "data-[side=left]:-right-[9px] data-[side=left]:rotate-90 data-[side=right]:-left-[9px] data-[side=right]:-rotate-90", "before:absolute before:bottom-0 before:left-1/2 before:size-[calc(6px*sqrt(2))] before:[transform:translate(-50%,50%)_rotate(45deg)] before:border before:border-field-edge before:bg-control-menu before:content-['']");
49
+ /* ── Menu frame (shared by Menu, its submenus and ContextMenu) ─────────────── */
50
+ export const menuPopup = "min-w-48 max-w-(--available-width) max-h-(--available-height) overflow-y-auto overscroll-contain p-1 rounded-button material-menu popup-motion font-body outline-none";
51
+ /** Portal + Positioner + Popup. Undefined positioning props fall through to Base UI defaults. */
52
+ export function MenuFrame({ slot, side, align, sideOffset, alignOffset, positioner, portal, className, dir, ...props }) {
53
+ // Across, keep inside the room of the menu's trigger (a narrow panel) — submenus too. Found once
54
+ // per trigger: a closed menu re-renders with its parent (a playing video, every frame).
55
+ const trigger = React.useContext(TriggerRoomContext)?.trigger ?? null;
56
+ const bounds = React.useMemo(() => roomBounds(trigger), [trigger]);
57
+ const popupDir = usePopupDir(dir);
58
+ return (_jsx(BaseMenu.Portal, { ...portal, children: _jsx(BaseMenu.Positioner, { side: side, align: align, sideOffset: sideOffset, alignOffset: alignOffset, collisionBoundary: bounds, dir: popupDir, ...positioner, className: "z-50 outline-none", children: _jsx(BaseMenu.Popup, { "data-slot": slot, className: sx(menuPopup, className), ...props }) }) }));
59
+ }
@@ -0,0 +1,32 @@
1
+ import { Accordion as BaseAccordion } from "@base-ui/react/accordion";
2
+ import * as React from "react";
3
+ export type AccordionSize = "default" | "display";
4
+ export interface AccordionProps extends BaseAccordion.Root.Props {
5
+ /** `default`: 18px Licht Sans titles. `display`: Licht titles for editorial sections (FAQ, steps). */
6
+ size?: AccordionSize;
7
+ }
8
+ /**
9
+ * Accordion — a stack of disclosures separated by hairline rules, never boxes.
10
+ *
11
+ * Each item is a `border-t border-border/60` rule (the last one also closes with a bottom
12
+ * rule); there is no background and no radius. An optional mono `index` ("01") sits before
13
+ * the title and a plus turns into × when open. The rule people break: wrapping the accordion,
14
+ * or each item, in a card. The rule and the whitespace are the structure.
15
+ */
16
+ export declare function Accordion({ size, className, ...props }: AccordionProps): React.JSX.Element;
17
+ /** One disclosure. Give it a stable `value` when the accordion is controlled. */
18
+ export declare function AccordionItem({ className, ...props }: BaseAccordion.Item.Props): React.JSX.Element;
19
+ export interface AccordionTriggerProps extends BaseAccordion.Trigger.Props {
20
+ /** A mono index shown before the title, e.g. `"01"`. */
21
+ index?: React.ReactNode;
22
+ /** Props for the heading element that wraps the trigger (an `<h3>` by default). */
23
+ headerProps?: BaseAccordion.Header.Props;
24
+ }
25
+ /** The clickable title row. Its text is the item's accessible name, so keep it short and specific. */
26
+ export declare function AccordionTrigger({ index, headerProps, className, children, ...props }: AccordionTriggerProps): React.JSX.Element;
27
+ export interface AccordionPanelProps extends BaseAccordion.Panel.Props {
28
+ /** Indent the content to line up with the title when the triggers carry an `index`. */
29
+ inset?: boolean;
30
+ }
31
+ /** The disclosed content. Height animates from `--accordion-panel-height`. */
32
+ export declare function AccordionPanel({ inset, className, children, ...props }: AccordionPanelProps): React.JSX.Element;