@newtone-dev/ui-react-web 0.41.0 → 0.43.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 (401) hide show
  1. package/README.md +1 -1
  2. package/dist/app-frame/app-frame.css +1077 -0
  3. package/dist/app-frame/app-frame.d.ts +62 -0
  4. package/dist/app-frame/app-frame.d.ts.map +1 -0
  5. package/dist/app-frame/app-frame.js +47 -0
  6. package/dist/app-frame/app-frame.js.map +1 -0
  7. package/dist/app-frame/control/control.d.ts +22 -0
  8. package/dist/app-frame/control/control.d.ts.map +1 -0
  9. package/dist/app-frame/control/control.js +22 -0
  10. package/dist/app-frame/control/control.js.map +1 -0
  11. package/dist/app-frame/index.d.ts +12 -0
  12. package/dist/app-frame/index.d.ts.map +1 -0
  13. package/dist/app-frame/index.js +4 -0
  14. package/dist/app-frame/index.js.map +1 -0
  15. package/dist/app-frame/launcher/launcher.d.ts +107 -0
  16. package/dist/app-frame/launcher/launcher.d.ts.map +1 -0
  17. package/dist/app-frame/launcher/launcher.js +165 -0
  18. package/dist/app-frame/launcher/launcher.js.map +1 -0
  19. package/dist/app-frame/main-menu/main-menu.d.ts +34 -0
  20. package/dist/app-frame/main-menu/main-menu.d.ts.map +1 -0
  21. package/dist/app-frame/main-menu/main-menu.js +185 -0
  22. package/dist/app-frame/main-menu/main-menu.js.map +1 -0
  23. package/dist/app-frame/menu/menu.d.ts +44 -0
  24. package/dist/app-frame/menu/menu.d.ts.map +1 -0
  25. package/dist/app-frame/menu/menu.js +99 -0
  26. package/dist/app-frame/menu/menu.js.map +1 -0
  27. package/dist/app-frame/monogram/monogram.d.ts +14 -0
  28. package/dist/app-frame/monogram/monogram.d.ts.map +1 -0
  29. package/dist/app-frame/monogram/monogram.js +15 -0
  30. package/dist/app-frame/monogram/monogram.js.map +1 -0
  31. package/dist/{desktop → app-frame}/panel/panel.d.ts +3 -3
  32. package/dist/app-frame/panel/panel.d.ts.map +1 -0
  33. package/dist/{desktop → app-frame}/panel/panel.js +2 -2
  34. package/dist/app-frame/panel/panel.js.map +1 -0
  35. package/dist/app-frame/parts.d.ts +175 -0
  36. package/dist/app-frame/parts.d.ts.map +1 -0
  37. package/dist/app-frame/parts.js +111 -0
  38. package/dist/app-frame/parts.js.map +1 -0
  39. package/dist/{desktop → app-frame}/sheet/sheet.d.ts +3 -3
  40. package/dist/app-frame/sheet/sheet.d.ts.map +1 -0
  41. package/dist/app-frame/sheet/sheet.js +10 -0
  42. package/dist/app-frame/sheet/sheet.js.map +1 -0
  43. package/dist/app-frame/widget/widget.d.ts +51 -0
  44. package/dist/app-frame/widget/widget.d.ts.map +1 -0
  45. package/dist/app-frame/widget/widget.js +18 -0
  46. package/dist/app-frame/widget/widget.js.map +1 -0
  47. package/dist/avatar/avatar.css +65 -0
  48. package/dist/avatar/avatar.d.ts +12 -1
  49. package/dist/avatar/avatar.d.ts.map +1 -1
  50. package/dist/avatar/avatar.js +3 -3
  51. package/dist/avatar/avatar.js.map +1 -1
  52. package/dist/backlinks/backlinks.css +6 -0
  53. package/dist/backlinks/backlinks.d.ts +28 -0
  54. package/dist/backlinks/backlinks.d.ts.map +1 -0
  55. package/dist/backlinks/backlinks.js +13 -0
  56. package/dist/backlinks/backlinks.js.map +1 -0
  57. package/dist/backlinks/index.d.ts +3 -0
  58. package/dist/backlinks/index.d.ts.map +1 -0
  59. package/dist/backlinks/index.js +2 -0
  60. package/dist/backlinks/index.js.map +1 -0
  61. package/dist/below/below.css +216 -0
  62. package/dist/below/below.d.ts +62 -0
  63. package/dist/below/below.d.ts.map +1 -0
  64. package/dist/below/below.js +148 -0
  65. package/dist/below/below.js.map +1 -0
  66. package/dist/below/index.d.ts +3 -0
  67. package/dist/below/index.d.ts.map +1 -0
  68. package/dist/below/index.js +2 -0
  69. package/dist/below/index.js.map +1 -0
  70. package/dist/below/room.d.ts +2 -0
  71. package/dist/below/room.d.ts.map +1 -0
  72. package/dist/below/room.js +6 -0
  73. package/dist/below/room.js.map +1 -0
  74. package/dist/beside/beside.css +88 -3
  75. package/dist/beside/beside.d.ts +16 -2
  76. package/dist/beside/beside.d.ts.map +1 -1
  77. package/dist/beside/beside.js +4 -4
  78. package/dist/beside/beside.js.map +1 -1
  79. package/dist/body/body.d.ts +3 -0
  80. package/dist/body/body.d.ts.map +1 -1
  81. package/dist/body/body.js +4 -1
  82. package/dist/body/body.js.map +1 -1
  83. package/dist/canvas/box/box.d.ts.map +1 -1
  84. package/dist/canvas/box/box.js +6 -2
  85. package/dist/canvas/box/box.js.map +1 -1
  86. package/dist/canvas/canvas.css +362 -5
  87. package/dist/canvas/canvas.d.ts +51 -7
  88. package/dist/canvas/canvas.d.ts.map +1 -1
  89. package/dist/canvas/canvas.js +153 -12
  90. package/dist/canvas/canvas.js.map +1 -1
  91. package/dist/canvas/cells/cells.d.ts +17 -0
  92. package/dist/canvas/cells/cells.d.ts.map +1 -0
  93. package/dist/canvas/cells/cells.js +23 -0
  94. package/dist/canvas/cells/cells.js.map +1 -0
  95. package/dist/canvas/cells/grid.d.ts +52 -0
  96. package/dist/canvas/cells/grid.d.ts.map +1 -0
  97. package/dist/canvas/cells/grid.js +78 -0
  98. package/dist/canvas/cells/grid.js.map +1 -0
  99. package/dist/canvas/context.d.ts +16 -0
  100. package/dist/canvas/context.d.ts.map +1 -1
  101. package/dist/canvas/context.js.map +1 -1
  102. package/dist/canvas/dock/dock.d.ts +20 -0
  103. package/dist/canvas/dock/dock.d.ts.map +1 -0
  104. package/dist/canvas/dock/dock.js +44 -0
  105. package/dist/canvas/dock/dock.js.map +1 -0
  106. package/dist/canvas/edit/edit.d.ts +40 -0
  107. package/dist/canvas/edit/edit.d.ts.map +1 -0
  108. package/dist/canvas/edit/edit.js +66 -0
  109. package/dist/canvas/edit/edit.js.map +1 -0
  110. package/dist/canvas/edit/rich.d.ts +105 -0
  111. package/dist/canvas/edit/rich.d.ts.map +1 -0
  112. package/dist/canvas/edit/rich.js +694 -0
  113. package/dist/canvas/edit/rich.js.map +1 -0
  114. package/dist/canvas/frame/frame.d.ts +27 -0
  115. package/dist/canvas/frame/frame.d.ts.map +1 -0
  116. package/dist/canvas/frame/frame.js +37 -0
  117. package/dist/canvas/frame/frame.js.map +1 -0
  118. package/dist/canvas/heading/heading.d.ts +17 -0
  119. package/dist/canvas/heading/heading.d.ts.map +1 -0
  120. package/dist/canvas/heading/heading.js +18 -0
  121. package/dist/canvas/heading/heading.js.map +1 -0
  122. package/dist/canvas/index.d.ts +13 -1
  123. package/dist/canvas/index.d.ts.map +1 -1
  124. package/dist/canvas/index.js +2 -0
  125. package/dist/canvas/index.js.map +1 -1
  126. package/dist/canvas/mark/mark.d.ts +24 -0
  127. package/dist/canvas/mark/mark.d.ts.map +1 -0
  128. package/dist/canvas/mark/mark.js +20 -0
  129. package/dist/canvas/mark/mark.js.map +1 -0
  130. package/dist/canvas/pin/pin.d.ts +24 -0
  131. package/dist/canvas/pin/pin.d.ts.map +1 -0
  132. package/dist/canvas/pin/pin.js +51 -0
  133. package/dist/canvas/pin/pin.js.map +1 -0
  134. package/dist/canvas/presence/presence.d.ts +16 -0
  135. package/dist/canvas/presence/presence.d.ts.map +1 -0
  136. package/dist/canvas/presence/presence.js +14 -0
  137. package/dist/canvas/presence/presence.js.map +1 -0
  138. package/dist/card-box/card-box.css +8 -8
  139. package/dist/card-box/card-box.d.ts +1 -1
  140. package/dist/card-box/card-box.d.ts.map +1 -1
  141. package/dist/color/seeds.js +2 -2
  142. package/dist/color/seeds.js.map +1 -1
  143. package/dist/document/document.css +74 -0
  144. package/dist/document/document.d.ts +31 -0
  145. package/dist/document/document.d.ts.map +1 -0
  146. package/dist/document/document.js +106 -0
  147. package/dist/document/document.js.map +1 -0
  148. package/dist/document/index.d.ts +5 -0
  149. package/dist/document/index.d.ts.map +1 -0
  150. package/dist/document/index.js +3 -0
  151. package/dist/document/index.js.map +1 -0
  152. package/dist/document/wiki-links.d.ts +29 -0
  153. package/dist/document/wiki-links.d.ts.map +1 -0
  154. package/dist/document/wiki-links.js +66 -0
  155. package/dist/document/wiki-links.js.map +1 -0
  156. package/dist/faces/faces.css +82 -0
  157. package/dist/faces/faces.d.ts +29 -0
  158. package/dist/faces/faces.d.ts.map +1 -0
  159. package/dist/faces/faces.js +21 -0
  160. package/dist/faces/faces.js.map +1 -0
  161. package/dist/faces/index.d.ts +4 -0
  162. package/dist/faces/index.d.ts.map +1 -0
  163. package/dist/faces/index.js +3 -0
  164. package/dist/faces/index.js.map +1 -0
  165. package/dist/field-row/field-row.css +30 -0
  166. package/dist/field-row/field-row.d.ts +12 -0
  167. package/dist/field-row/field-row.d.ts.map +1 -0
  168. package/dist/field-row/field-row.js +10 -0
  169. package/dist/field-row/field-row.js.map +1 -0
  170. package/dist/field-row/index.d.ts +4 -0
  171. package/dist/field-row/index.d.ts.map +1 -0
  172. package/dist/field-row/index.js +3 -0
  173. package/dist/field-row/index.js.map +1 -0
  174. package/dist/file-grid/file-grid.css +83 -1
  175. package/dist/file-grid/file-grid.d.ts +42 -4
  176. package/dist/file-grid/file-grid.d.ts.map +1 -1
  177. package/dist/file-grid/file-grid.js +44 -5
  178. package/dist/file-grid/file-grid.js.map +1 -1
  179. package/dist/file-grid/index.d.ts +1 -1
  180. package/dist/file-grid/index.d.ts.map +1 -1
  181. package/dist/floating-bar/floating-bar.css +360 -0
  182. package/dist/floating-bar/floating-bar.d.ts +171 -0
  183. package/dist/floating-bar/floating-bar.d.ts.map +1 -0
  184. package/dist/floating-bar/floating-bar.js +273 -0
  185. package/dist/floating-bar/floating-bar.js.map +1 -0
  186. package/dist/floating-bar/index.d.ts +3 -0
  187. package/dist/floating-bar/index.d.ts.map +1 -0
  188. package/dist/floating-bar/index.js +2 -0
  189. package/dist/floating-bar/index.js.map +1 -0
  190. package/dist/floating-bar/menu.d.ts +58 -0
  191. package/dist/floating-bar/menu.d.ts.map +1 -0
  192. package/dist/floating-bar/menu.js +138 -0
  193. package/dist/floating-bar/menu.js.map +1 -0
  194. package/dist/floating-bar/room.d.ts +2 -0
  195. package/dist/floating-bar/room.d.ts.map +1 -0
  196. package/dist/floating-bar/room.js +5 -0
  197. package/dist/floating-bar/room.js.map +1 -0
  198. package/dist/framed-icon/art.d.ts +73 -0
  199. package/dist/framed-icon/art.d.ts.map +1 -0
  200. package/dist/framed-icon/art.js +66 -0
  201. package/dist/framed-icon/art.js.map +1 -0
  202. package/dist/framed-icon/framed-icon.css +167 -6
  203. package/dist/framed-icon/framed-icon.d.ts +11 -3
  204. package/dist/framed-icon/framed-icon.d.ts.map +1 -1
  205. package/dist/framed-icon/framed-icon.js +3 -2
  206. package/dist/framed-icon/framed-icon.js.map +1 -1
  207. package/dist/framed-icon/index.d.ts +2 -0
  208. package/dist/framed-icon/index.d.ts.map +1 -1
  209. package/dist/framed-icon/index.js +1 -0
  210. package/dist/framed-icon/index.js.map +1 -1
  211. package/dist/identity/identity.css +7 -0
  212. package/dist/identity/identity.d.ts +50 -12
  213. package/dist/identity/identity.d.ts.map +1 -1
  214. package/dist/identity/identity.js +24 -13
  215. package/dist/identity/identity.js.map +1 -1
  216. package/dist/identity/index.d.ts +2 -2
  217. package/dist/identity/index.d.ts.map +1 -1
  218. package/dist/identity/index.js +1 -1
  219. package/dist/identity/index.js.map +1 -1
  220. package/dist/index.d.ts +42 -8
  221. package/dist/index.d.ts.map +1 -1
  222. package/dist/index.js +20 -3
  223. package/dist/index.js.map +1 -1
  224. package/dist/inspector/index.d.ts +3 -0
  225. package/dist/inspector/index.d.ts.map +1 -0
  226. package/dist/inspector/index.js +2 -0
  227. package/dist/inspector/index.js.map +1 -0
  228. package/dist/inspector/inspector.css +192 -0
  229. package/dist/inspector/inspector.d.ts +120 -0
  230. package/dist/inspector/inspector.d.ts.map +1 -0
  231. package/dist/inspector/inspector.js +65 -0
  232. package/dist/inspector/inspector.js.map +1 -0
  233. package/dist/nav-list/nav-list.d.ts +5 -1
  234. package/dist/nav-list/nav-list.d.ts.map +1 -1
  235. package/dist/nav-list/nav-list.js +1 -1
  236. package/dist/nav-list/nav-list.js.map +1 -1
  237. package/dist/page-editor/blocks.d.ts +28 -0
  238. package/dist/page-editor/blocks.d.ts.map +1 -0
  239. package/dist/page-editor/blocks.js +206 -0
  240. package/dist/page-editor/blocks.js.map +1 -0
  241. package/dist/page-editor/index.d.ts +5 -0
  242. package/dist/page-editor/index.d.ts.map +1 -0
  243. package/dist/page-editor/index.js +3 -0
  244. package/dist/page-editor/index.js.map +1 -0
  245. package/dist/page-editor/page-editor.css +160 -0
  246. package/dist/page-editor/page-editor.d.ts +52 -0
  247. package/dist/page-editor/page-editor.d.ts.map +1 -0
  248. package/dist/page-editor/page-editor.js +474 -0
  249. package/dist/page-editor/page-editor.js.map +1 -0
  250. package/dist/picker/index.d.ts +4 -0
  251. package/dist/picker/index.d.ts.map +1 -0
  252. package/dist/picker/index.js +3 -0
  253. package/dist/picker/index.js.map +1 -0
  254. package/dist/picker/picker.css +95 -0
  255. package/dist/picker/picker.d.ts +58 -0
  256. package/dist/picker/picker.d.ts.map +1 -0
  257. package/dist/picker/picker.js +106 -0
  258. package/dist/picker/picker.js.map +1 -0
  259. package/dist/row-list/row-list.css +10 -0
  260. package/dist/row-list/row-list.d.ts +3 -1
  261. package/dist/row-list/row-list.d.ts.map +1 -1
  262. package/dist/row-list/row-list.js +2 -2
  263. package/dist/row-list/row-list.js.map +1 -1
  264. package/dist/slide-list/index.d.ts +3 -0
  265. package/dist/slide-list/index.d.ts.map +1 -0
  266. package/dist/slide-list/index.js +2 -0
  267. package/dist/slide-list/index.js.map +1 -0
  268. package/dist/slide-list/slide-list.css +240 -0
  269. package/dist/slide-list/slide-list.d.ts +84 -0
  270. package/dist/slide-list/slide-list.d.ts.map +1 -0
  271. package/dist/slide-list/slide-list.js +411 -0
  272. package/dist/slide-list/slide-list.js.map +1 -0
  273. package/dist/split/index.d.ts +1 -1
  274. package/dist/split/index.d.ts.map +1 -1
  275. package/dist/split/split.css +534 -0
  276. package/dist/split/split.d.ts +97 -11
  277. package/dist/split/split.d.ts.map +1 -1
  278. package/dist/split/split.js +99 -7
  279. package/dist/split/split.js.map +1 -1
  280. package/dist/stage/index.d.ts +3 -0
  281. package/dist/stage/index.d.ts.map +1 -0
  282. package/dist/stage/index.js +2 -0
  283. package/dist/stage/index.js.map +1 -0
  284. package/dist/stage/stage.css +139 -0
  285. package/dist/stage/stage.d.ts +68 -0
  286. package/dist/stage/stage.d.ts.map +1 -0
  287. package/dist/stage/stage.js +279 -0
  288. package/dist/stage/stage.js.map +1 -0
  289. package/dist/text/text.d.ts +6 -2
  290. package/dist/text/text.d.ts.map +1 -1
  291. package/dist/text/text.js.map +1 -1
  292. package/dist/text-diff/diff-lines.d.ts +23 -0
  293. package/dist/text-diff/diff-lines.d.ts.map +1 -0
  294. package/dist/text-diff/diff-lines.js +105 -0
  295. package/dist/text-diff/diff-lines.js.map +1 -0
  296. package/dist/text-diff/index.d.ts +5 -0
  297. package/dist/text-diff/index.d.ts.map +1 -0
  298. package/dist/text-diff/index.js +3 -0
  299. package/dist/text-diff/index.js.map +1 -0
  300. package/dist/text-diff/text-diff.css +60 -0
  301. package/dist/text-diff/text-diff.d.ts +26 -0
  302. package/dist/text-diff/text-diff.d.ts.map +1 -0
  303. package/dist/text-diff/text-diff.js +27 -0
  304. package/dist/text-diff/text-diff.js.map +1 -0
  305. package/dist/text-field/suggested.d.ts +17 -0
  306. package/dist/text-field/suggested.d.ts.map +1 -0
  307. package/dist/text-field/suggested.js +72 -0
  308. package/dist/text-field/suggested.js.map +1 -0
  309. package/dist/text-field/text-field.css +64 -0
  310. package/dist/text-field/text-field.d.ts +17 -1
  311. package/dist/text-field/text-field.d.ts.map +1 -1
  312. package/dist/text-field/text-field.js +5 -2
  313. package/dist/text-field/text-field.js.map +1 -1
  314. package/dist/thread/index.d.ts +3 -0
  315. package/dist/thread/index.d.ts.map +1 -0
  316. package/dist/thread/index.js +2 -0
  317. package/dist/thread/index.js.map +1 -0
  318. package/dist/thread/thread.css +210 -0
  319. package/dist/thread/thread.d.ts +76 -0
  320. package/dist/thread/thread.d.ts.map +1 -0
  321. package/dist/thread/thread.js +148 -0
  322. package/dist/thread/thread.js.map +1 -0
  323. package/dist/tile-picker/index.d.ts +3 -0
  324. package/dist/tile-picker/index.d.ts.map +1 -0
  325. package/dist/tile-picker/index.js +2 -0
  326. package/dist/tile-picker/index.js.map +1 -0
  327. package/dist/tile-picker/tile-picker.css +75 -0
  328. package/dist/tile-picker/tile-picker.d.ts +27 -0
  329. package/dist/tile-picker/tile-picker.d.ts.map +1 -0
  330. package/dist/tile-picker/tile-picker.js +47 -0
  331. package/dist/tile-picker/tile-picker.js.map +1 -0
  332. package/dist/tooltip/tooltip.css +17 -0
  333. package/dist/tooltip/tooltip.d.ts +7 -1
  334. package/dist/tooltip/tooltip.d.ts.map +1 -1
  335. package/dist/tooltip/tooltip.js +2 -2
  336. package/dist/tooltip/tooltip.js.map +1 -1
  337. package/dist/version-trail/index.d.ts +3 -0
  338. package/dist/version-trail/index.d.ts.map +1 -0
  339. package/dist/version-trail/index.js +2 -0
  340. package/dist/version-trail/index.js.map +1 -0
  341. package/dist/version-trail/version-trail.css +62 -0
  342. package/dist/version-trail/version-trail.d.ts +38 -0
  343. package/dist/version-trail/version-trail.d.ts.map +1 -0
  344. package/dist/version-trail/version-trail.js +22 -0
  345. package/dist/version-trail/version-trail.js.map +1 -0
  346. package/dist/workbench/index.d.ts +3 -0
  347. package/dist/workbench/index.d.ts.map +1 -0
  348. package/dist/workbench/index.js +2 -0
  349. package/dist/workbench/index.js.map +1 -0
  350. package/dist/workbench/workbench.css +209 -0
  351. package/dist/workbench/workbench.d.ts +46 -0
  352. package/dist/workbench/workbench.d.ts.map +1 -0
  353. package/dist/workbench/workbench.js +7 -0
  354. package/dist/workbench/workbench.js.map +1 -0
  355. package/package.json +76 -7
  356. package/dist/desktop/clock/clock.d.ts +0 -11
  357. package/dist/desktop/clock/clock.d.ts.map +0 -1
  358. package/dist/desktop/clock/clock.js +0 -20
  359. package/dist/desktop/clock/clock.js.map +0 -1
  360. package/dist/desktop/context.d.ts +0 -23
  361. package/dist/desktop/context.d.ts.map +0 -1
  362. package/dist/desktop/context.js +0 -10
  363. package/dist/desktop/context.js.map +0 -1
  364. package/dist/desktop/control/control.d.ts +0 -15
  365. package/dist/desktop/control/control.d.ts.map +0 -1
  366. package/dist/desktop/control/control.js +0 -10
  367. package/dist/desktop/control/control.js.map +0 -1
  368. package/dist/desktop/desktop.css +0 -548
  369. package/dist/desktop/desktop.d.ts +0 -69
  370. package/dist/desktop/desktop.d.ts.map +0 -1
  371. package/dist/desktop/desktop.js +0 -75
  372. package/dist/desktop/desktop.js.map +0 -1
  373. package/dist/desktop/dock/dock.d.ts +0 -30
  374. package/dist/desktop/dock/dock.d.ts.map +0 -1
  375. package/dist/desktop/dock/dock.js +0 -15
  376. package/dist/desktop/dock/dock.js.map +0 -1
  377. package/dist/desktop/index.d.ts +0 -14
  378. package/dist/desktop/index.d.ts.map +0 -1
  379. package/dist/desktop/index.js +0 -5
  380. package/dist/desktop/index.js.map +0 -1
  381. package/dist/desktop/menu/menu.d.ts +0 -28
  382. package/dist/desktop/menu/menu.d.ts.map +0 -1
  383. package/dist/desktop/menu/menu.js +0 -61
  384. package/dist/desktop/menu/menu.js.map +0 -1
  385. package/dist/desktop/menu-bar/menu-bar.d.ts +0 -18
  386. package/dist/desktop/menu-bar/menu-bar.d.ts.map +0 -1
  387. package/dist/desktop/menu-bar/menu-bar.js +0 -11
  388. package/dist/desktop/menu-bar/menu-bar.js.map +0 -1
  389. package/dist/desktop/panel/panel.d.ts.map +0 -1
  390. package/dist/desktop/panel/panel.js.map +0 -1
  391. package/dist/desktop/sheet/sheet.d.ts.map +0 -1
  392. package/dist/desktop/sheet/sheet.js +0 -10
  393. package/dist/desktop/sheet/sheet.js.map +0 -1
  394. package/dist/desktop/spaces/spaces.d.ts +0 -23
  395. package/dist/desktop/spaces/spaces.d.ts.map +0 -1
  396. package/dist/desktop/spaces/spaces.js +0 -8
  397. package/dist/desktop/spaces/spaces.js.map +0 -1
  398. package/dist/desktop/window/window.d.ts +0 -60
  399. package/dist/desktop/window/window.d.ts.map +0 -1
  400. package/dist/desktop/window/window.js +0 -86
  401. package/dist/desktop/window/window.js.map +0 -1
@@ -46,3 +46,537 @@
46
46
  display: inline-flex;
47
47
  }
48
48
  }
49
+
50
+ /* Docked (`toggle`, DECISIONS 2026-11-01-an-app-docks-its-list): the list a panel at the start, sliding in from the left;
51
+ * beside what is open while it leaves it 25rem (400px, a phone's width; split.tsx measures the split: 40rem), pushing it over; narrower, over it, a
52
+ * scrim behind. Its menu button stays in the split's top-left corner, never moving: inside the panel's corner while it
53
+ * shows, what is open's while it is shut (Joshua, 2026-11-01).
54
+ * 15rem the panel (240px), fixed: a chat's title or a project's name on one line; over what is open, never more than 85%
55
+ * 22rem the panel over what is open on a phone (compact): 85% of the split up to this (352px)
56
+ * 32px the menu button: a 20px glyph and 6px about it
57
+ * 48px room over the panel's list for the button: its 32px and 8px either side
58
+ * 40px room over what is open for it: its 32px and 8px over it
59
+ * 200ms the slide */
60
+ .newtone-split[data-newtone-split-docked] {
61
+ container: newtone-split-docked / inline-size;
62
+ --_split-panel: 15rem;
63
+ --_split-slide: 200ms ease;
64
+ display: block;
65
+ position: relative;
66
+ overflow: hidden;
67
+ }
68
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='over'] {
69
+ --_split-panel: min(15rem, 85cqw);
70
+ }
71
+ .newtone-split[data-newtone-split-docked] > .newtone-split-nav {
72
+ position: absolute;
73
+ inset-block: 0;
74
+ inset-inline-start: 0;
75
+ z-index: 3;
76
+ inline-size: var(--_split-panel);
77
+ box-sizing: border-box;
78
+ /* Its list starts under the menu button, which stays in its top-left corner. */
79
+ padding-block-start: 48px;
80
+ background: var(--newtone-role-surface-primary);
81
+ transform: translateX(-100%);
82
+ visibility: hidden;
83
+ transition: transform var(--_split-slide), visibility 0s linear 200ms;
84
+ }
85
+ .newtone-split[data-newtone-split-docked][data-newtone-split-open] > .newtone-split-nav {
86
+ transform: none;
87
+ visibility: visible;
88
+ transition: transform var(--_split-slide), visibility 0s;
89
+ }
90
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='over'] > .newtone-split-nav {
91
+ border-inline-end: 0;
92
+ box-shadow: 0 8px 32px color-mix(in oklab, var(--newtone-role-text-primary) 18%, transparent);
93
+ }
94
+ /* On a phone (`compact`, under 48rem), over what is open, the panel takes most of the screen, as a phone's own lists do:
95
+ * 85% of the split, never more than 22rem (352px). 15rem left a phone's list cramped beside a wide scrim (Joshua,
96
+ * 2026-11-02). Wider, it stays 15rem. */
97
+ @container newtone-split-docked (max-width: 48rem) {
98
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='over'] > .newtone-split-nav {
99
+ inline-size: min(85cqw, 22rem);
100
+ }
101
+ }
102
+ /* What is open: beside, pushed over by the panel's width as it slides; over, it stays. */
103
+ .newtone-split[data-newtone-split-docked] > .newtone-split-main {
104
+ display: grid;
105
+ grid-template-rows: auto minmax(0, 1fr);
106
+ block-size: 100%;
107
+ overflow: hidden;
108
+ transition: margin-inline-start var(--_split-slide);
109
+ }
110
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='beside'][data-newtone-split-open] > .newtone-split-main {
111
+ margin-inline-start: var(--_split-panel);
112
+ }
113
+ .newtone-split-scrim {
114
+ position: absolute;
115
+ inset: 0;
116
+ z-index: 2;
117
+ background: color-mix(in oklab, var(--newtone-role-text-primary) 14%, transparent);
118
+ }
119
+ .newtone-split[data-newtone-split-docked] .newtone-split-back {
120
+ display: none;
121
+ }
122
+ /* The menu button: in the split's top-left corner, and it stays there (Joshua, 2026-11-01): the panel's top-left corner
123
+ * while it shows, what is open's while it is shut. It never moves. */
124
+ .newtone-split-toggle {
125
+ all: unset;
126
+ box-sizing: border-box;
127
+ display: inline-grid;
128
+ place-items: center;
129
+ flex: none;
130
+ inline-size: 32px;
131
+ block-size: 32px;
132
+ border-radius: var(--newtone-radius-sm);
133
+ color: var(--newtone-role-text-secondary);
134
+ cursor: pointer;
135
+ }
136
+ .newtone-split[data-newtone-split-docked] > .newtone-split-toggle {
137
+ position: absolute;
138
+ inset-block-start: var(--newtone-space-2);
139
+ inset-inline-start: var(--newtone-space-2);
140
+ z-index: 4;
141
+ }
142
+ .newtone-split-toggle:hover {
143
+ background: var(--newtone-role-surface-secondary);
144
+ color: var(--newtone-role-text-primary);
145
+ }
146
+ .newtone-split-toggle:focus-visible {
147
+ outline: 2px solid var(--newtone-role-text-accent);
148
+ outline-offset: 1px;
149
+ }
150
+ /* Room for the button over what is open, always, open or shut: what is open never moves up or down as the panel comes
151
+ * and goes (Joshua, 2026-11-01). */
152
+ .newtone-split-top {
153
+ block-size: 40px;
154
+ }
155
+ .newtone-split-body {
156
+ position: relative;
157
+ min-block-size: 0;
158
+ overflow-y: auto;
159
+ }
160
+ @media (prefers-reduced-motion: reduce) {
161
+ .newtone-split[data-newtone-split-docked] {
162
+ --_split-slide: 0s;
163
+ }
164
+ }
165
+ /* The page's title row: the title, the page's own actions at its end. */
166
+ .newtone-split-title {
167
+ display: flex;
168
+ align-items: center;
169
+ gap: var(--newtone-space-2);
170
+ min-inline-size: 0;
171
+ }
172
+ .newtone-split-title > h1 {
173
+ margin: 0;
174
+ min-inline-size: 0;
175
+ }
176
+ .newtone-split-title-end {
177
+ display: flex;
178
+ align-items: center;
179
+ gap: var(--newtone-space-2);
180
+ margin-inline-start: auto;
181
+ }
182
+
183
+
184
+ /* The list's items line up with the menu button over them (Joshua, 2026-11-01): the same paddings, its 8px from the
185
+ * edge (space.2) and the 6px about its glyph inside it ((32px - a 20px glyph) / 2), so each item's mark stands under the
186
+ * button's, and the group titles start where the items' marks do. */
187
+ .newtone-split[data-newtone-split-docked] > .newtone-split-nav {
188
+ padding-inline: var(--newtone-space-2);
189
+ }
190
+ .newtone-split[data-newtone-split-docked] .newtone-nav-list-item,
191
+ .newtone-split[data-newtone-split-docked] .newtone-nav-list-group-title {
192
+ padding-inline: 6px;
193
+ }
194
+
195
+ /* On a touch screen (2026-11-02, Joshua): the menu button and the list's rows are 44px tall, the least a finger is sure
196
+ * of (Apple's 44pt), and the alignment above holds at that size: the button stays 8px from the corner, its glyph now
197
+ * 12px inside it ((44px - 20px) / 2), so each item's mark keeps standing under the button's.
198
+ * 44px the button, each row at least, and a group's fold
199
+ * 60px room over the panel's list for the button: its 44px and 8px either side
200
+ * 52px room over what is open for it: its 44px and 8px over it */
201
+ @media (pointer: coarse) {
202
+ .newtone-split-toggle {
203
+ inline-size: 44px;
204
+ block-size: 44px;
205
+ }
206
+ .newtone-split[data-newtone-split-docked] > .newtone-split-nav {
207
+ padding-block-start: 60px;
208
+ }
209
+ .newtone-split[data-newtone-split-docked] .newtone-split-top {
210
+ block-size: 52px;
211
+ }
212
+ .newtone-split[data-newtone-split-docked] .newtone-nav-list-item {
213
+ min-block-size: 44px;
214
+ }
215
+ .newtone-split[data-newtone-split-docked] .newtone-nav-list-fold {
216
+ inline-size: 44px;
217
+ block-size: 44px;
218
+ }
219
+ .newtone-split[data-newtone-split-docked] .newtone-nav-list-item,
220
+ .newtone-split[data-newtone-split-docked] .newtone-nav-list-group-title {
221
+ padding-inline: 12px;
222
+ }
223
+ }
224
+
225
+ /* A toolbar across the whole split (`bar`, 2026-11-07, Slides): edge to edge over both panes, which take the room under it. */
226
+ .newtone-split-barred {
227
+ display: grid;
228
+ grid-template-rows: auto minmax(0, 1fr);
229
+ block-size: 100%;
230
+ min-block-size: 0;
231
+ }
232
+ .newtone-split-bar {
233
+ position: relative;
234
+ z-index: 4;
235
+ min-inline-size: 0;
236
+ }
237
+
238
+ /* The deep look (`deep`, Joshua 2026-11-08, Slides): the whole split on the deep rung, no hairline between its panes
239
+ * or under its bar, the panes painting nothing of their own so the deep ground runs unbroken. The bar is a pill on base
240
+ * with no edge and no shadow, inset space.2 from every edge, in a band of the deep ground: the list's rows scroll up under it.
241
+ * space.2 the pill's inset from the window's edges and from what is under it */
242
+ .newtone-split-deep {
243
+ block-size: 100%;
244
+ min-block-size: 0;
245
+ background: var(--newtone-role-surface-primary);
246
+ }
247
+ .newtone-split-barred[data-newtone-split-deep] {
248
+ background: var(--newtone-role-surface-primary);
249
+ }
250
+ .newtone-split-barred[data-newtone-split-deep] > .newtone-split-bar {
251
+ /* space.2 under the pill too (Joshua, 2026-11-08): the list's rows go under the band 8px before they reach it. */
252
+ padding: var(--newtone-space-2);
253
+ background: var(--newtone-role-surface-primary);
254
+ }
255
+ .newtone-split-barred[data-newtone-split-deep] > .newtone-split-bar > .newtone-floating-bar:where([data-strip]) {
256
+ /* A pill set apart by its rung alone: no edge, no shadow (Joshua, 2026-11-08). */
257
+ padding: var(--newtone-space-1);
258
+ border: 0;
259
+ border-radius: 999px;
260
+ box-shadow: none;
261
+ }
262
+ :where([data-newtone-split-deep]) .newtone-split-nav {
263
+ border-inline-end: 0;
264
+ }
265
+ :where([data-newtone-split-deep]) .newtone-beside-panel {
266
+ border-inline-start: 0;
267
+ }
268
+
269
+ /* Pinned (`pinned`, Joshua 2026-11-08, Slides): the docked list, always beside, at every width; no menu button, so no
270
+ * room kept for it over the list or over what is open. */
271
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav {
272
+ padding-block-start: var(--newtone-space-2);
273
+ transition: none;
274
+ }
275
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-main {
276
+ grid-template-rows: minmax(0, 1fr);
277
+ transition: none;
278
+ }
279
+ @media (pointer: coarse) {
280
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav {
281
+ padding-block-start: var(--newtone-space-2);
282
+ }
283
+ }
284
+ /* Under a deep bar, the band's own space.2 is the list's room at its top, so the rows meet the band's edge (8px under
285
+ * the pill) as they scroll, and stand 8px under it at rest. */
286
+ .newtone-split-barred[data-newtone-split-deep] > .newtone-split[data-newtone-split-pinned] > .newtone-split-nav {
287
+ padding-block-start: 0;
288
+ }
289
+ /* A pinned list's scrollbar is always shown (Joshua, 2026-11-08), not only while it scrolls: a styled scrollbar, which
290
+ * WebKit and Chrome draw always where an overlay one hides. Its track is always there; its thumb while there is more.
291
+ * 10px the bar: a 6px thumb and 2px of the ground either side, so it never touches the tiles or the edge
292
+ * `scrollbar-width` and `scrollbar-color` are left unset: in Chrome they replace these rules with the overlay bar. */
293
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav {
294
+ overflow-y: scroll;
295
+ }
296
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav::-webkit-scrollbar {
297
+ inline-size: 10px;
298
+ width: 10px;
299
+ }
300
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav::-webkit-scrollbar-track {
301
+ background: transparent;
302
+ }
303
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav::-webkit-scrollbar-thumb {
304
+ border: 2px solid transparent;
305
+ border-radius: 999px;
306
+ background: var(--newtone-role-divider-primary);
307
+ background-clip: padding-box;
308
+ }
309
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav::-webkit-scrollbar-thumb:hover {
310
+ background-color: var(--newtone-role-text-secondary);
311
+ }
312
+ /* Firefox has no such pseudo-elements; a thin bar, always laid out by `overflow-y: scroll`. */
313
+ @supports (-moz-appearance: none) {
314
+ .newtone-split[data-newtone-split-pinned] > .newtone-split-nav {
315
+ scrollbar-width: thin;
316
+ scrollbar-color: var(--newtone-role-divider-primary) transparent;
317
+ }
318
+ }
319
+
320
+ /* The corner (`corner`, Joshua 2026-11-08, Slides' views): a small bar at the split's bottom-left, space.2 in, over the
321
+ * list's foot or, with no list, over what is open. The list keeps room at its end (the bar's 44px and space.2 twice) so
322
+ * its last rows scroll clear of it.
323
+ * 44px the corner's bar: a FloatingBar's 36px tools and its space.1 round them */
324
+ .newtone-split-cornered {
325
+ position: relative;
326
+ block-size: 100%;
327
+ min-block-size: 0;
328
+ }
329
+ .newtone-split-corner {
330
+ position: absolute;
331
+ inset-block-end: var(--newtone-space-2);
332
+ inset-inline-start: var(--newtone-space-2);
333
+ z-index: 5;
334
+ display: flex;
335
+ align-items: center;
336
+ gap: var(--newtone-space-2);
337
+ }
338
+ .newtone-split-cornered[data-newtone-split-has-nav] .newtone-split[data-newtone-split-pinned] > .newtone-split-nav {
339
+ padding-block-end: calc(44px + 2 * var(--newtone-space-2));
340
+ }
341
+
342
+ /* The rail (`rail`, Joshua 2026-11-09, Slides): the file's own places down the split's very start, before the list: an
343
+ * icon over its word, each a button. The list stands beside the rail; folded (no `nav`), what is open starts after it.
344
+ * 4.5rem the rail (72px): "Templates" at caption size on one line, with space.1 either side
345
+ * 40px a place's mark, 1:1 (2026-11-09): a 20px glyph and 10px about it; the chosen one on the selection fill
346
+ * 56px a place: its mark, its word and space.1 between */
347
+ .newtone-split[data-newtone-split-railed] {
348
+ --_split-rail: 4.5rem;
349
+ }
350
+ .newtone-split-rail {
351
+ position: absolute;
352
+ inset-block: 0;
353
+ inset-inline-start: 0;
354
+ z-index: 3;
355
+ inline-size: var(--_split-rail);
356
+ box-sizing: border-box;
357
+ padding-block: var(--newtone-space-2);
358
+ border-inline-end: 1px solid var(--newtone-role-divider-secondary);
359
+ background: var(--newtone-role-surface-primary);
360
+ overflow-y: auto;
361
+ }
362
+ :where([data-newtone-split-deep]) .newtone-split-rail {
363
+ border-inline-end: 0;
364
+ }
365
+ .newtone-split[data-newtone-split-railed] > .newtone-split-nav {
366
+ inset-inline-start: var(--_split-rail);
367
+ }
368
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='beside'][data-newtone-split-railed] > .newtone-split-main {
369
+ margin-inline-start: var(--_split-rail);
370
+ }
371
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='beside'][data-newtone-split-railed][data-newtone-split-open] > .newtone-split-main {
372
+ margin-inline-start: calc(var(--_split-rail) + var(--_split-panel));
373
+ }
374
+ .newtone-split-rail-list {
375
+ box-sizing: border-box;
376
+ min-block-size: 100%;
377
+ display: flex;
378
+ flex-direction: column;
379
+ align-items: stretch;
380
+ gap: var(--newtone-space-2);
381
+ }
382
+ .newtone-split-rail-item {
383
+ all: unset;
384
+ box-sizing: border-box;
385
+ display: flex;
386
+ flex-direction: column;
387
+ align-items: center;
388
+ gap: var(--newtone-space-1);
389
+ min-block-size: 56px;
390
+ padding-inline: var(--newtone-space-1);
391
+ color: var(--newtone-role-text-secondary);
392
+ cursor: pointer;
393
+ text-align: center;
394
+ }
395
+ .newtone-split-rail-mark {
396
+ display: inline-grid;
397
+ place-items: center;
398
+ /* A 40px tile (Joshua 2026-11-09): square, its corners the medium radius, never a pill. */
399
+ inline-size: 40px;
400
+ block-size: 40px;
401
+ border-radius: var(--newtone-radius-md);
402
+ }
403
+ .newtone-split-rail-item:hover .newtone-split-rail-mark {
404
+ background: var(--newtone-role-surface-secondary);
405
+ color: var(--newtone-role-text-primary);
406
+ }
407
+ .newtone-split-rail-item[aria-pressed='true'] .newtone-split-rail-mark {
408
+ background: var(--newtone-selection-fill);
409
+ color: var(--newtone-selection-text);
410
+ }
411
+ .newtone-split-rail-item:focus-visible .newtone-split-rail-mark {
412
+ outline: 2px solid var(--newtone-role-text-accent);
413
+ outline-offset: 1px;
414
+ }
415
+ /* The rail's foot: its last places, at the very bottom (Help). */
416
+ .newtone-split-rail-foot {
417
+ display: flex;
418
+ flex-direction: column;
419
+ align-items: stretch;
420
+ gap: var(--newtone-space-2);
421
+ margin-block-start: auto;
422
+ }
423
+ /* A hairline before a place set apart (Settings): 1px, as wide as a place's mark. */
424
+ .newtone-split-rail-divider {
425
+ align-self: center;
426
+ inline-size: 40px;
427
+ block-size: 1px;
428
+ background: var(--newtone-role-divider-secondary);
429
+ }
430
+ .newtone-split-rail-item:disabled {
431
+ cursor: default;
432
+ opacity: 0.4;
433
+ }
434
+ /* The corner's bar stands over the list's foot, after the rail. */
435
+ .newtone-split-cornered[data-newtone-split-has-rail] > .newtone-split-corner {
436
+ inset-inline-start: calc(4.5rem + var(--newtone-space-2));
437
+ }
438
+
439
+ /* Carded (a pinned split in the deep look, Joshua 2026-11-09): every panel on base, only what is open deep. The rail and
440
+ * the list are one card on base, inset space.2 from the split's top, start and bottom, rounded, a hairline between the
441
+ * two; folded, the rail alone is the card. What is open starts right after it, on the deep ground. The corner's bar
442
+ * stands inside the card's foot.
443
+ * space.2 the card's inset, as Beside's inset panel at the other end */
444
+ .newtone-split[data-newtone-split-carded] {
445
+ --_split-inset: var(--newtone-space-2);
446
+ --_split-rail: 0px;
447
+ }
448
+ .newtone-split[data-newtone-split-carded][data-newtone-split-railed] {
449
+ --_split-rail: 4.5rem;
450
+ }
451
+ .newtone-split[data-newtone-split-carded] > .newtone-split-rail,
452
+ .newtone-split[data-newtone-split-carded] > .newtone-split-nav {
453
+ inset-block: var(--_split-inset);
454
+ background: var(--newtone-role-surface-primary);
455
+ }
456
+ .newtone-split[data-newtone-split-carded] > .newtone-split-rail {
457
+ inset-inline-start: var(--_split-inset);
458
+ border-inline-end: 0;
459
+ border-radius: var(--newtone-radius-md);
460
+ }
461
+ .newtone-split[data-newtone-split-carded][data-newtone-split-open] > .newtone-split-rail {
462
+ border-start-end-radius: 0;
463
+ border-end-end-radius: 0;
464
+ }
465
+ .newtone-split[data-newtone-split-docked][data-newtone-split-carded] > .newtone-split-nav {
466
+ inset-inline-start: calc(var(--_split-inset) + var(--_split-rail));
467
+ padding-block-start: var(--newtone-space-2);
468
+ border-radius: var(--newtone-radius-md);
469
+ }
470
+ .newtone-split[data-newtone-split-docked][data-newtone-split-carded][data-newtone-split-railed] > .newtone-split-nav {
471
+ border-inline-start: 1px solid var(--newtone-role-divider-secondary);
472
+ border-start-start-radius: 0;
473
+ border-end-start-radius: 0;
474
+ }
475
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='beside'][data-newtone-split-carded] > .newtone-split-main {
476
+ margin-inline-start: calc(var(--_split-inset) + var(--_split-rail));
477
+ }
478
+ .newtone-split[data-newtone-split-docked][data-newtone-split-mode='beside'][data-newtone-split-carded][data-newtone-split-open] > .newtone-split-main {
479
+ margin-inline-start: calc(var(--_split-inset) + var(--_split-rail) + var(--_split-panel));
480
+ }
481
+ .newtone-split-cornered:has(> * [data-newtone-split-carded]) > .newtone-split-corner,
482
+ .newtone-split-cornered:has(> [data-newtone-split-carded]) > .newtone-split-corner {
483
+ inset-block-end: calc(2 * var(--newtone-space-2));
484
+ inset-inline-start: calc(2 * var(--newtone-space-2));
485
+ }
486
+ .newtone-split-cornered[data-newtone-split-has-rail]:has(> * [data-newtone-split-carded]) > .newtone-split-corner,
487
+ .newtone-split-cornered[data-newtone-split-has-rail]:has(> [data-newtone-split-carded]) > .newtone-split-corner {
488
+ inset-inline-start: calc(2 * var(--newtone-space-2) + 4.5rem);
489
+ }
490
+
491
+ /* Icons alone, widening on hover (`expand="hover"`, Joshua 2026-11-09, Slides): each place an icon in a 40px row; the
492
+ * words hidden (still said). Pointed at, or holding the keyboard's focus (not a press's: a place pressed leaves it
493
+ * closing as the pointer goes, Joshua 2026-11-09), the rail widens over what is beside it to 12rem, on base,
494
+ * a shadow at its edge, each word after its icon. It waits 150ms before widening, so a pointer passing by does not open it.
495
+ * 40px a place: its 40x40 mark, centred in the rail while narrow
496
+ * 12rem the rail widened: the longest word ("Animation", "Settings") at caption size after its icon */
497
+ .newtone-split-rail-list[data-expand='hover'] {
498
+ position: absolute;
499
+ inset-block: 0;
500
+ inset-inline-start: 0;
501
+ z-index: 4;
502
+ box-sizing: border-box;
503
+ inline-size: 100%;
504
+ min-block-size: 0;
505
+ padding-block: var(--newtone-space-2);
506
+ gap: var(--newtone-space-1);
507
+ background: var(--newtone-role-surface-primary);
508
+ overflow: hidden auto;
509
+ /* Its shadow falls to its side only, never up over the bar above it or below (Joshua 2026-11-09). */
510
+ clip-path: inset(0 -48px 0 0);
511
+ transition: inline-size 150ms ease, box-shadow 150ms ease;
512
+ }
513
+ /* Widened: its edge kept, the divider's hairline just outside it, as narrow (Joshua 2026-11-09), and a shadow as he drew it:
514
+ * 0 4px 8px 4px 5%, 0 2px 4px 2px 10%. */
515
+ .newtone-split-rail-list[data-expand='hover']:is(:hover, :has(:focus-visible)) {
516
+ inline-size: 12rem;
517
+ box-shadow:
518
+ 1px 0 0 0 var(--newtone-role-divider-secondary),
519
+ 0 4px 8px 4px rgb(0 0 0 / 5%),
520
+ 0 2px 4px 2px rgb(0 0 0 / 10%);
521
+ transition-delay: 150ms;
522
+ }
523
+ /* A place is a 40px row whose start is its mark, where the mark stands narrow (centred in the rail's own width). The row,
524
+ * not the mark, takes the hover and the current place's fill (Joshua 2026-11-09): narrow it is as wide as the mark, and
525
+ * it widens with the rail, so the fill holds the word too. */
526
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-item {
527
+ flex-direction: row;
528
+ gap: var(--newtone-space-2);
529
+ min-block-size: 40px;
530
+ margin-inline: calc((var(--_rail-narrow, 3.5rem) - 40px) / 2);
531
+ padding-inline: 0;
532
+ border-radius: var(--newtone-radius-md);
533
+ overflow: hidden;
534
+ text-align: start;
535
+ }
536
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-mark {
537
+ flex: none;
538
+ }
539
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-item:is(:hover, [aria-pressed='true']) .newtone-split-rail-mark {
540
+ background: none;
541
+ color: inherit;
542
+ }
543
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-item:hover {
544
+ background: var(--newtone-role-surface-secondary);
545
+ color: var(--newtone-role-text-primary);
546
+ }
547
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-item[aria-pressed='true'] {
548
+ background: var(--newtone-selection-fill);
549
+ color: var(--newtone-selection-text);
550
+ }
551
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-item:focus-visible {
552
+ outline: 2px solid var(--newtone-role-text-accent);
553
+ outline-offset: -2px;
554
+ }
555
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-item:focus-visible .newtone-split-rail-mark {
556
+ outline: none;
557
+ }
558
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-word {
559
+ padding-inline-end: var(--newtone-space-2);
560
+ font-size: var(--newtone-text-scale-body-sm-size);
561
+ white-space: nowrap;
562
+ opacity: 0;
563
+ transition: opacity 100ms ease;
564
+ }
565
+ .newtone-split-rail-list[data-expand='hover']:is(:hover, :has(:focus-visible)) .newtone-split-rail-word {
566
+ opacity: 1;
567
+ transition-delay: 200ms;
568
+ }
569
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-foot {
570
+ gap: var(--newtone-space-1);
571
+ }
572
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-divider {
573
+ align-self: stretch;
574
+ inline-size: auto;
575
+ margin-inline: var(--newtone-space-2);
576
+ }
577
+ @media (prefers-reduced-motion: reduce) {
578
+ .newtone-split-rail-list[data-expand='hover'],
579
+ .newtone-split-rail-list[data-expand='hover'] .newtone-split-rail-word {
580
+ transition: none;
581
+ }
582
+ }
@@ -1,32 +1,118 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ /** The words of the toggle that shows and hides the list, the consumer's. */
3
+ export interface SplitToggleLabels {
4
+ show: string;
5
+ hide: string;
6
+ }
2
7
  export interface SplitProps {
3
- /** The navigation pane at the start: a `NavList`. */
8
+ /** The navigation at the start: a `NavList`. */
4
9
  nav: ReactNode;
5
10
  /**
6
- * Which pane shows when there is room for only one (the split itself narrower than 48rem): `nav` at
7
- * the list's own address, `main` once something in it is open. Where both fit, both show.
11
+ * Given, the split docks its list (DECISIONS 2026-11-01-an-app-docks-its-list): while it leaves 25rem (400px) beside its 15rem panel (40rem) the
12
+ * list stands beside what is open and the toggle hides and shows it; narrower, it is hidden and the toggle opens it
13
+ * over what is open, a scrim behind it, and a pick in it puts it away. The toggle stands before the page's title
14
+ * (`Split.Title`), or alone at the main pane's top when the page has none.
15
+ */
16
+ toggle?: SplitToggleLabels;
17
+ /**
18
+ * The list never hides (Joshua, 2026-11-08, Slides): docked at the start and always beside what is open, at every
19
+ * width, with no button to hide it and no room kept for one. `toggle` is not given with it.
8
20
  */
9
- at: 'nav' | 'main';
21
+ pinned?: boolean;
22
+ /**
23
+ * A small bar at the split's bottom-left corner, `space.2` in, over the list's foot or, with no list, over what is
24
+ * open (Joshua, 2026-11-08: Slides' views). The list keeps room at its end so its last rows scroll clear of it.
25
+ */
26
+ corner?: ReactNode;
27
+ /**
28
+ * A rail at the very start, before the list (Joshua, 2026-11-09, Slides): a `Split.Rail`, the file's own places
29
+ * (Slides, Templates, Theme, Settings). Picking one fills the list beside it; the consumer gives `nav` null to fold
30
+ * it. Pinned splits only.
31
+ */
32
+ rail?: ReactNode;
33
+ /**
34
+ * Without `toggle` only (the split as it was): which pane shows when there is room for only one (the split
35
+ * narrower than 48rem): `nav` at the list's own address, `main` once something in it is open.
36
+ */
37
+ at?: 'nav' | 'main';
10
38
  /** The main pane: what is open. It scrolls on its own; a `Chat` inside fills it. */
11
39
  children?: ReactNode;
40
+ /**
41
+ * A `Toolbar` across the whole split, edge to edge over the list and what is open (2026-11-07, Slides): what acts
42
+ * on the whole file open, under the window's app bar. The panes take the room under it.
43
+ */
44
+ bar?: ReactNode;
45
+ /**
46
+ * The deep look (Joshua, 2026-11-08, Slides): the whole split on the deep rung and no hairline anywhere, so what
47
+ * is drawn in it (slides, their pictures) keeps its own rung and stands out. `bar` becomes a pill on base, inset
48
+ * from every edge, in a band of the deep ground that the list's rows pass under as they scroll.
49
+ */
50
+ deep?: boolean;
12
51
  className?: string;
13
52
  }
14
53
  /**
15
- * A list of places beside what is open in one of them, each pane scrolling on its own. When the split is
16
- * narrower than 48rem only one pane shows, `at`, and `Split.Back` inside the main pane is the way back.
17
- * One behaviour for every list beside its content, asked of the split's own width. components/split.md.
54
+ * A list of places beside what is open in one of them, each pane scrolling on its own. components/split.md.
55
+ *
56
+ * With `toggle` (DECISIONS 2026-11-01-an-app-docks-its-list): docked at its start, beside what is open while 25rem (400px) is left
57
+ * for it beside the 15rem panel, over it below; its menu button, fixed in the split's top-left corner (the panel's while it
58
+ * shows), shows and hides it. Without, as it was: when
59
+ * the split is narrower than 48rem only one pane shows, `at`, and `Split.Back` inside the main pane is the way back.
18
60
  */
19
- export declare function Split({ nav, at, children, className }: SplitProps): import("react").JSX.Element;
61
+ export declare function Split({ bar, deep, corner, ...props }: SplitProps): import("react").JSX.Element;
20
62
  export declare namespace Split {
21
63
  export { SplitBack as Back };
64
+ export { SplitToggle as Toggle };
65
+ export { SplitTitle as Title };
66
+ export { SplitRail as Rail };
67
+ }
68
+ export interface SplitRailItem {
69
+ id: string;
70
+ /** A Material Symbols ligature. */
71
+ icon: string;
72
+ /** Its word, shown under the icon. */
73
+ label: string;
74
+ disabled?: boolean;
75
+ /** A hairline before it, setting it apart from the places above (2026-11-09, Slides: Settings). */
76
+ divided?: boolean;
77
+ }
78
+ export interface SplitRailProps {
79
+ /** What the rail is, for a screen reader: the consumer's words. */
80
+ label: string;
81
+ items: SplitRailItem[];
82
+ /** At the rail's very bottom (2026-11-09, Slides: Help). */
83
+ foot?: SplitRailItem[];
84
+ /** The place chosen, its icon filled and on the selection fill; null when none is. */
85
+ value: string | null;
86
+ /**
87
+ * Icons alone (Joshua 2026-11-09, Slides): each place's word is shown only while the rail is pointed at or has the
88
+ * focus, when it widens over what is beside it, each word after its icon. The words are always said.
89
+ */
90
+ expand?: 'hover';
91
+ /** A press, the chosen one's too (the consumer folds the list on it, or not). */
92
+ onChoose: (id: string) => void;
93
+ }
94
+ /**
95
+ * The file's own places, down the split's start (Joshua, 2026-11-09, Slides): an icon over its word, each a button that
96
+ * fills the list beside it. The chosen one's icon is filled, on the selection fill.
97
+ */
98
+ export declare function SplitRail({ label, items, foot, value, onChoose, expand }: SplitRailProps): import("react").JSX.Element;
99
+ /** Kept for pages that placed it (2026-11-01): the menu button is the split's own now, so this draws nothing. */
100
+ export declare function SplitToggle(): null;
101
+ export interface SplitTitleProps {
102
+ /** The page's title: what is open, never the app's name (the pane's bar says that). */
103
+ children?: ReactNode;
104
+ /** Beside the title, at the row's end: the page's own actions. */
105
+ end?: ReactNode;
22
106
  }
107
+ /** The page's big title, and its own actions at the row's end. The list's button is the split's, not the title's. */
108
+ export declare function SplitTitle({ children, end }: SplitTitleProps): import("react").JSX.Element;
23
109
  export interface SplitBackProps extends HTMLAttributes<HTMLSpanElement> {
24
110
  /** The way back to the list: a link. */
25
111
  children?: ReactNode;
26
112
  }
27
113
  /**
28
- * The way back to the list, shown only where the list is not beside it: in a narrow split. Outside a split
29
- * (the same content on its own) it never shows.
114
+ * The way back to the list, shown only where the list is not beside it: in a narrow split without `toggle`. In a
115
+ * docked split, never (its toggle opens the list).
30
116
  */
31
117
  export declare function SplitBack({ className, children, ...rest }: SplitBackProps): import("react").JSX.Element;
32
118
  //# sourceMappingURL=split.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../src/split/split.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,MAAM,WAAW,UAAU;IACvB,qDAAqD;IACrD,GAAG,EAAE,SAAS,CAAA;IACd;;;OAGG;IACH,EAAE,EAAE,KAAK,GAAG,MAAM,CAAA;IAClB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,UAAU,+BAUjE;yBAVe,KAAK;aA6BR,SAAS;;AAjBtB,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,eAAe,CAAC;IACnE,wCAAwC;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAMzE"}
1
+ {"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../src/split/split.tsx"],"names":[],"mappings":"AAEA,OAAO,EAOH,KAAK,cAAc,EAEnB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAA;AAId,6EAA6E;AAC7E,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,UAAU;IACvB,gDAAgD;IAChD,GAAG,EAAE,SAAS,CAAA;IACd;;;;;OAKG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAA;IAC1B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;OAGG;IACH,EAAE,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACnB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;OAGG;IACH,GAAG,CAAC,EAAE,SAAS,CAAA;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB;AAcD;;;;;;;GAOG;AACH,wBAAgB,KAAK,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAkBhE;yBAlBe,KAAK;aAoOR,SAAS;aACP,WAAW;aACZ,UAAU;aACX,SAAS;;AA3GtB,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mGAAmG;IACnG,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,cAAc;IAC3B,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,aAAa,EAAE,CAAA;IACtB,sFAAsF;IACtF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iFAAiF;IACjF,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,cAAc,+BA6B7F;AAED,iHAAiH;AACjH,wBAAgB,WAAW,SAE1B;AAED,MAAM,WAAW,eAAe;IAC5B,uFAAuF;IACvF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,kEAAkE;IAClE,GAAG,CAAC,EAAE,SAAS,CAAA;CAClB;AAED,qHAAqH;AACrH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,eAAe,+BAS5D;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,eAAe,CAAC;IACnE,wCAAwC;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAMzE"}