@kerfjs/ui 5.0.0-beta.122 → 5.0.0-beta.124

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 (747) hide show
  1. package/README.md +28 -5
  2. package/ai/application-ui-diagnostic-ids-v1.json +25 -1
  3. package/ai/application-ui-profile-sync.cjs +16 -8
  4. package/ai/application-ui-profile.d.ts +2 -0
  5. package/ai/application-ui-profile.defaults.json +6 -2
  6. package/ai/application-ui-profile.mjs +16 -8
  7. package/ai/application-ui-profile.schema.json +133 -38
  8. package/ai/component-catalog.json +1501 -218
  9. package/ai/component-catalog.schema.json +19 -0
  10. package/ai/component-composition-rules.json +18 -2
  11. package/ai/component-composition.d.ts +13 -0
  12. package/ai/component-composition.json +684 -27
  13. package/ai/component-composition.schema.json +58 -0
  14. package/ai/component-props-overlay.json +952 -0
  15. package/ai/component-props-overlay.schema.json +68 -0
  16. package/ai/component-props.json +29624 -0
  17. package/ai/component-props.schema.json +401 -0
  18. package/ai/components/README.md +12 -5
  19. package/ai/components/application-tabs.md +2 -2
  20. package/ai/components/backdrop-image.md +2 -1
  21. package/ai/components/button.md +12 -6
  22. package/ai/components/checkbox-group.md +2 -0
  23. package/ai/components/checkbox.md +2 -0
  24. package/ai/components/chip.md +2 -0
  25. package/ai/components/choice-chips.md +5 -1
  26. package/ai/components/color-field.md +2 -0
  27. package/ai/components/color-picker.md +2 -0
  28. package/ai/components/color-swatches.md +2 -0
  29. package/ai/components/column-explorer.md +89 -0
  30. package/ai/components/column-track.md +3 -2
  31. package/ai/components/combobox.md +2 -0
  32. package/ai/components/content-item.md +7 -2
  33. package/ai/components/disclosure.md +2 -0
  34. package/ai/components/file-picker.md +5 -2
  35. package/ai/components/form.md +86 -0
  36. package/ai/components/foundation.md +1 -1
  37. package/ai/components/list-action-row.md +2 -0
  38. package/ai/components/list-detail-dialog.md +2 -0
  39. package/ai/components/list-header.md +2 -0
  40. package/ai/components/list-item.md +4 -0
  41. package/ai/components/list.md +6 -2
  42. package/ai/components/message-composer.md +3 -1
  43. package/ai/components/nav-stack.md +2 -0
  44. package/ai/components/paged-view.md +89 -0
  45. package/ai/components/pane.md +4 -1
  46. package/ai/components/popup-menu.md +5 -2
  47. package/ai/components/radio-group.md +2 -0
  48. package/ai/components/recipe-composer-form.md +2 -2
  49. package/ai/components/scroll-effect.md +84 -0
  50. package/ai/components/search-field.md +2 -0
  51. package/ai/components/segmented-control.md +2 -0
  52. package/ai/components/select.md +4 -0
  53. package/ai/components/sized-region.md +86 -0
  54. package/ai/components/slider.md +2 -0
  55. package/ai/components/split-button.md +3 -1
  56. package/ai/components/split-view.md +1 -1
  57. package/ai/components/state-banner.md +2 -0
  58. package/ai/components/summary-row.md +14 -8
  59. package/ai/components/surface-scaffold.md +5 -3
  60. package/ai/components/switch.md +2 -0
  61. package/ai/components/tab-bar.md +5 -2
  62. package/ai/components/tab-navigator.md +2 -0
  63. package/ai/components/tab-panel.md +84 -0
  64. package/ai/components/tabs.md +9 -6
  65. package/ai/components/tag-field.md +2 -0
  66. package/ai/components/text-field.md +2 -0
  67. package/ai/components/text.md +3 -0
  68. package/ai/components/toolbar-control-group.md +10 -3
  69. package/ai/components/toolbar-text.md +2 -0
  70. package/ai/components/toolbar.md +4 -3
  71. package/ai/components/tree-list.md +95 -0
  72. package/ai/components/wa-accordion-item.md +2 -0
  73. package/ai/components/wa-breadcrumb-item.md +2 -0
  74. package/ai/components/wa-button.md +2 -0
  75. package/ai/components/wa-carousel.md +2 -0
  76. package/ai/components/wa-checkbox.md +2 -0
  77. package/ai/components/wa-color-picker.md +2 -0
  78. package/ai/components/wa-comparison.md +2 -0
  79. package/ai/components/wa-copy-button.md +2 -0
  80. package/ai/components/wa-details.md +2 -0
  81. package/ai/components/wa-dialog.md +2 -0
  82. package/ai/components/wa-drawer.md +2 -0
  83. package/ai/components/wa-dropdown-item.md +2 -0
  84. package/ai/components/wa-input.md +2 -0
  85. package/ai/components/wa-known-date.md +2 -0
  86. package/ai/components/wa-number-input.md +2 -0
  87. package/ai/components/wa-otp-input.md +2 -0
  88. package/ai/components/wa-pagination.md +2 -0
  89. package/ai/components/wa-radio.md +2 -0
  90. package/ai/components/wa-rating.md +2 -0
  91. package/ai/components/wa-select.md +2 -0
  92. package/ai/components/wa-slider.md +2 -0
  93. package/ai/components/wa-switch.md +2 -0
  94. package/ai/components/wa-tab-panel.md +5 -5
  95. package/ai/components/wa-tab.md +2 -0
  96. package/ai/components/wa-tag-input.md +2 -0
  97. package/ai/components/wa-textarea.md +2 -0
  98. package/ai/components/wa-time-input.md +2 -0
  99. package/ai/components/wa-tree-item.md +12 -5
  100. package/ai/components/wa-tree.md +10 -5
  101. package/ai/components/wa-zoomable-frame.md +2 -0
  102. package/ai/components/workbench-dialog.md +2 -0
  103. package/ai/public-api-signatures-v1.md +1251 -132
  104. package/ai/skill.md +107 -40
  105. package/ai/view-document.schema.json +360 -0
  106. package/ai/webawesome-jsx-signatures-v1.md +1 -1
  107. package/analyzer/index.mjs +89 -1
  108. package/dist/anchor-name-BZ1rpxaw.d.ts +4 -0
  109. package/dist/backdrop-image.d.ts +6 -2
  110. package/dist/backdrop-image.js +2 -1
  111. package/dist/badge.js +1 -1
  112. package/dist/browser/backdrop-image.js +1 -0
  113. package/dist/browser/catalog.js +1 -1
  114. package/dist/browser/collapsible-panel.js +1 -0
  115. package/dist/browser/column-explorer.js +9 -0
  116. package/dist/browser/content-item.js +1 -0
  117. package/dist/browser/editor.js +45 -0
  118. package/dist/browser/form.js +3 -0
  119. package/dist/browser/list-detail-dialog.js +1 -0
  120. package/dist/browser/nav-stack.js +1 -0
  121. package/dist/browser/paged-view.js +3 -0
  122. package/dist/browser/scroll-effect.js +3 -0
  123. package/dist/browser/sized-region.js +3 -0
  124. package/dist/browser/split-view.js +1 -0
  125. package/dist/browser/tab-panel.js +3 -0
  126. package/dist/browser/toolbar-control-group.js +1 -0
  127. package/dist/browser/tree-list.js +7 -0
  128. package/dist/browser/workbench-dialog.js +1 -0
  129. package/dist/browser/workbench.js +1 -0
  130. package/dist/button.d.ts +54 -13
  131. package/dist/button.js +2 -1
  132. package/dist/catalog-resources.d.ts +3 -2
  133. package/dist/catalog.d.ts +3 -2
  134. package/dist/catalog.js +21 -17
  135. package/dist/catalog.js.map +1 -1
  136. package/dist/checkbox-group.js +1 -1
  137. package/dist/checkbox.js +1 -1
  138. package/dist/chip.js +1 -1
  139. package/dist/choice-chips.d.ts +21 -2
  140. package/dist/choice-chips.js +2 -1
  141. package/dist/{chunk-3WWX2O4G.js → chunk-2E7S5C4D.js} +5 -46
  142. package/dist/chunk-2E7S5C4D.js.map +1 -0
  143. package/dist/{chunk-QYMJHS4K.js → chunk-34FWYJX6.js} +9 -3
  144. package/dist/chunk-34FWYJX6.js.map +1 -0
  145. package/dist/{chunk-OUCHU7JB.js → chunk-3JOEJT2Z.js} +7 -7
  146. package/dist/{chunk-OUCHU7JB.js.map → chunk-3JOEJT2Z.js.map} +1 -1
  147. package/dist/chunk-3S3WXAZ5.js +207 -0
  148. package/dist/chunk-3S3WXAZ5.js.map +1 -0
  149. package/dist/{chunk-AN5IWMTM.js → chunk-3TBMGGTA.js} +6 -3
  150. package/dist/chunk-3TBMGGTA.js.map +1 -0
  151. package/dist/{chunk-3Z7N2NAZ.js → chunk-3XSY5LAB.js} +4 -4
  152. package/dist/{chunk-3Z7N2NAZ.js.map → chunk-3XSY5LAB.js.map} +1 -1
  153. package/dist/chunk-44AOBT2F.js +16 -0
  154. package/dist/chunk-44AOBT2F.js.map +1 -0
  155. package/dist/{chunk-7AK5I7U7.js → chunk-4IXG6XCT.js} +18 -3
  156. package/dist/chunk-4IXG6XCT.js.map +1 -0
  157. package/dist/chunk-4K7XXSOX.js +21 -0
  158. package/dist/chunk-4K7XXSOX.js.map +1 -0
  159. package/dist/{chunk-LZUUUHNH.js → chunk-4Z4QSTRF.js} +20 -3
  160. package/dist/chunk-4Z4QSTRF.js.map +1 -0
  161. package/dist/{chunk-QH5KOFNS.js → chunk-5KWXM5O7.js} +15 -3
  162. package/dist/chunk-5KWXM5O7.js.map +1 -0
  163. package/dist/{chunk-EYDXFOSH.js → chunk-5SFHBYEY.js} +2 -2
  164. package/dist/chunk-5SFHBYEY.js.map +1 -0
  165. package/dist/{chunk-HU5IHXCI.js → chunk-6BXPN5SC.js} +3 -3
  166. package/dist/{chunk-HU5IHXCI.js.map → chunk-6BXPN5SC.js.map} +1 -1
  167. package/dist/{chunk-6VVIW7VB.js → chunk-73LC3JAL.js} +13 -4
  168. package/dist/chunk-73LC3JAL.js.map +1 -0
  169. package/dist/{chunk-IO27YTL3.js → chunk-76VCWWUA.js} +2 -2
  170. package/dist/{chunk-IO27YTL3.js.map → chunk-76VCWWUA.js.map} +1 -1
  171. package/dist/{chunk-ETFP7HAR.js → chunk-7AUZG5EW.js} +13 -4
  172. package/dist/chunk-7AUZG5EW.js.map +1 -0
  173. package/dist/{chunk-3V4OCDTL.js → chunk-7DIWVGGA.js} +2 -14
  174. package/dist/chunk-7DIWVGGA.js.map +1 -0
  175. package/dist/chunk-7KN5OQVN.js +157 -0
  176. package/dist/chunk-7KN5OQVN.js.map +1 -0
  177. package/dist/chunk-7QQ3HE47.js +17 -0
  178. package/dist/chunk-7QQ3HE47.js.map +1 -0
  179. package/dist/{chunk-HJWFHJ3Z.js → chunk-ADMWT7FX.js} +28 -82
  180. package/dist/chunk-ADMWT7FX.js.map +1 -0
  181. package/dist/{chunk-LMHN2TJL.js → chunk-BCHK33XL.js} +2 -2
  182. package/dist/{chunk-LMHN2TJL.js.map → chunk-BCHK33XL.js.map} +1 -1
  183. package/dist/chunk-BCO673YW.js +123 -0
  184. package/dist/chunk-BCO673YW.js.map +1 -0
  185. package/dist/{chunk-OQP3PFKQ.js → chunk-BZXA5SSA.js} +90 -33
  186. package/dist/chunk-BZXA5SSA.js.map +1 -0
  187. package/dist/{chunk-LTBVP6VN.js → chunk-C4FBYP2D.js} +2 -2
  188. package/dist/{chunk-LTBVP6VN.js.map → chunk-C4FBYP2D.js.map} +1 -1
  189. package/dist/{chunk-AMIHGFLP.js → chunk-CCPWJDRW.js} +4 -2
  190. package/dist/chunk-CCPWJDRW.js.map +1 -0
  191. package/dist/{chunk-S4Y3YTAI.js → chunk-CJAKN2KZ.js} +2 -2
  192. package/dist/{chunk-S4Y3YTAI.js.map → chunk-CJAKN2KZ.js.map} +1 -1
  193. package/dist/chunk-CKPI4WIN.js +58 -0
  194. package/dist/chunk-CKPI4WIN.js.map +1 -0
  195. package/dist/{chunk-HJXVVFBT.js → chunk-CMG4OZPV.js} +13 -2
  196. package/dist/chunk-CMG4OZPV.js.map +1 -0
  197. package/dist/{chunk-KH4KEMSP.js → chunk-COQI4OMZ.js} +1 -1
  198. package/dist/chunk-COQI4OMZ.js.map +1 -0
  199. package/dist/{chunk-G3J7JDP6.js → chunk-CPTQABDQ.js} +10 -3
  200. package/dist/chunk-CPTQABDQ.js.map +1 -0
  201. package/dist/{chunk-TI2GV36S.js → chunk-CRHKWHTA.js} +4 -4
  202. package/dist/{chunk-TI2GV36S.js.map → chunk-CRHKWHTA.js.map} +1 -1
  203. package/dist/{chunk-3KFMLOTH.js → chunk-DBP3N6E5.js} +8 -5
  204. package/dist/chunk-DBP3N6E5.js.map +1 -0
  205. package/dist/chunk-DJ65XFVN.js +231 -0
  206. package/dist/chunk-DJ65XFVN.js.map +1 -0
  207. package/dist/chunk-DKPYHVIV.js +13 -0
  208. package/dist/chunk-DKPYHVIV.js.map +1 -0
  209. package/dist/{chunk-ITUQC4FW.js → chunk-DV6GE57V.js} +31 -3
  210. package/dist/chunk-DV6GE57V.js.map +1 -0
  211. package/dist/{chunk-S3ECMF23.js → chunk-E7Q6UNCB.js} +11 -3
  212. package/dist/chunk-E7Q6UNCB.js.map +1 -0
  213. package/dist/{chunk-C26Q6P4Q.js → chunk-E7ZRBMVQ.js} +3 -3
  214. package/dist/{chunk-C26Q6P4Q.js.map → chunk-E7ZRBMVQ.js.map} +1 -1
  215. package/dist/chunk-ECVTRAXN.js +37 -0
  216. package/dist/chunk-ECVTRAXN.js.map +1 -0
  217. package/dist/{chunk-EIET4QLK.js → chunk-EHR7R7YP.js} +14 -3
  218. package/dist/chunk-EHR7R7YP.js.map +1 -0
  219. package/dist/{chunk-5J6Z4BWY.js → chunk-EXGDKG7B.js} +127 -5
  220. package/dist/chunk-EXGDKG7B.js.map +1 -0
  221. package/dist/{chunk-7K6U6FCN.js → chunk-F34LHBQI.js} +47 -12
  222. package/dist/chunk-F34LHBQI.js.map +1 -0
  223. package/dist/{chunk-IIQ2XIMU.js → chunk-F3PZGFEA.js} +32 -11
  224. package/dist/chunk-F3PZGFEA.js.map +1 -0
  225. package/dist/{chunk-3OP66VXU.js → chunk-FJMABKKV.js} +5 -3
  226. package/dist/chunk-FJMABKKV.js.map +1 -0
  227. package/dist/{chunk-B53PS2LE.js → chunk-FNJA4S6J.js} +7 -3
  228. package/dist/chunk-FNJA4S6J.js.map +1 -0
  229. package/dist/{chunk-YMUIQRWK.js → chunk-FQETQ7CM.js} +6 -2
  230. package/dist/chunk-FQETQ7CM.js.map +1 -0
  231. package/dist/{chunk-KCS6NJ3O.js → chunk-FR5G77K5.js} +2 -2
  232. package/dist/{chunk-KCS6NJ3O.js.map → chunk-FR5G77K5.js.map} +1 -1
  233. package/dist/chunk-GVII4JSD.js +153 -0
  234. package/dist/chunk-GVII4JSD.js.map +1 -0
  235. package/dist/chunk-HPOXLOVC.js +184 -0
  236. package/dist/chunk-HPOXLOVC.js.map +1 -0
  237. package/dist/{chunk-EKHDLBRP.js → chunk-JAC6AVZN.js} +21 -3
  238. package/dist/chunk-JAC6AVZN.js.map +1 -0
  239. package/dist/{chunk-CTQUDCY5.js → chunk-JG4ONAOI.js} +4 -2
  240. package/dist/{chunk-CTQUDCY5.js.map → chunk-JG4ONAOI.js.map} +1 -1
  241. package/dist/{chunk-K67XBCHG.js → chunk-JHUEYWWI.js} +6 -4
  242. package/dist/chunk-JHUEYWWI.js.map +1 -0
  243. package/dist/{chunk-GS2QD3N7.js → chunk-JZZVWTUB.js} +2 -2
  244. package/dist/{chunk-GS2QD3N7.js.map → chunk-JZZVWTUB.js.map} +1 -1
  245. package/dist/{chunk-XRZSK2WC.js → chunk-KACJOE2N.js} +16 -5
  246. package/dist/chunk-KACJOE2N.js.map +1 -0
  247. package/dist/chunk-KELWWCMX.js +426 -0
  248. package/dist/chunk-KELWWCMX.js.map +1 -0
  249. package/dist/{chunk-KDQZ3E5C.js → chunk-KLR3DCHH.js} +58 -4
  250. package/dist/chunk-KLR3DCHH.js.map +1 -0
  251. package/dist/{chunk-S3DCRI2M.js → chunk-LD6A6PYB.js} +43 -5
  252. package/dist/chunk-LD6A6PYB.js.map +1 -0
  253. package/dist/{chunk-BKUMG2KB.js → chunk-LET362AM.js} +13 -3
  254. package/dist/chunk-LET362AM.js.map +1 -0
  255. package/dist/{chunk-C2ZO3OZZ.js → chunk-LOW7J7SE.js} +4 -4
  256. package/dist/chunk-LOW7J7SE.js.map +1 -0
  257. package/dist/{chunk-ITENVZ6Q.js → chunk-M72QLDUO.js} +13 -4
  258. package/dist/chunk-M72QLDUO.js.map +1 -0
  259. package/dist/{chunk-OHPYT2BH.js → chunk-MLDO7WLA.js} +2 -2
  260. package/dist/{chunk-OHPYT2BH.js.map → chunk-MLDO7WLA.js.map} +1 -1
  261. package/dist/{chunk-D5RGM3XA.js → chunk-NA4LKVPX.js} +12 -2
  262. package/dist/chunk-NA4LKVPX.js.map +1 -0
  263. package/dist/chunk-NR3ZO4LK.js +67 -0
  264. package/dist/chunk-NR3ZO4LK.js.map +1 -0
  265. package/dist/{chunk-YPAQFBMN.js → chunk-NYNNNEAU.js} +44 -10
  266. package/dist/chunk-NYNNNEAU.js.map +1 -0
  267. package/dist/chunk-OKZTLRGG.js +34 -0
  268. package/dist/chunk-OKZTLRGG.js.map +1 -0
  269. package/dist/{chunk-ZX2QQJXD.js → chunk-PVKAIVKE.js} +95 -61
  270. package/dist/chunk-PVKAIVKE.js.map +1 -0
  271. package/dist/{chunk-Y6KT7ZTR.js → chunk-Q2CLQ3IJ.js} +21 -3
  272. package/dist/chunk-Q2CLQ3IJ.js.map +1 -0
  273. package/dist/{chunk-2J7XKAZX.js → chunk-Q2SLOMN6.js} +7 -6
  274. package/dist/chunk-Q2SLOMN6.js.map +1 -0
  275. package/dist/{chunk-S2XULQEK.js → chunk-Q5BPZPCO.js} +2 -2
  276. package/dist/{chunk-S2XULQEK.js.map → chunk-Q5BPZPCO.js.map} +1 -1
  277. package/dist/{chunk-BSNKDW4X.js → chunk-Q7RILH2D.js} +14 -9
  278. package/dist/chunk-Q7RILH2D.js.map +1 -0
  279. package/dist/chunk-QR7MGGOM.js +49 -0
  280. package/dist/chunk-QR7MGGOM.js.map +1 -0
  281. package/dist/{chunk-PS24PVR6.js → chunk-QXXLDY6I.js} +50 -10
  282. package/dist/chunk-QXXLDY6I.js.map +1 -0
  283. package/dist/chunk-QY77Q7RY.js +129 -0
  284. package/dist/chunk-QY77Q7RY.js.map +1 -0
  285. package/dist/{chunk-4OV272LF.js → chunk-R6FIXYAE.js} +4 -4
  286. package/dist/{chunk-4OV272LF.js.map → chunk-R6FIXYAE.js.map} +1 -1
  287. package/dist/{chunk-N2K3QGSX.js → chunk-RGB4DPMN.js} +16 -3
  288. package/dist/chunk-RGB4DPMN.js.map +1 -0
  289. package/dist/{chunk-TKNVL53O.js → chunk-RPJOLDSR.js} +11 -3
  290. package/dist/chunk-RPJOLDSR.js.map +1 -0
  291. package/dist/chunk-SBCXWGNP.js +256 -0
  292. package/dist/chunk-SBCXWGNP.js.map +1 -0
  293. package/dist/{chunk-WPNIKZMJ.js → chunk-SJBMKA4X.js} +2 -2
  294. package/dist/{chunk-WPNIKZMJ.js.map → chunk-SJBMKA4X.js.map} +1 -1
  295. package/dist/{chunk-RMWNO6BA.js → chunk-SNUDT6AX.js} +2 -2
  296. package/dist/{chunk-RMWNO6BA.js.map → chunk-SNUDT6AX.js.map} +1 -1
  297. package/dist/{chunk-NR6O74ST.js → chunk-SPI6VMIY.js} +14 -10
  298. package/dist/chunk-SPI6VMIY.js.map +1 -0
  299. package/dist/{chunk-ZN7KUMPY.js → chunk-SWXWLSUD.js} +17 -3
  300. package/dist/chunk-SWXWLSUD.js.map +1 -0
  301. package/dist/chunk-TBVSPSGX.js +14 -0
  302. package/dist/chunk-TBVSPSGX.js.map +1 -0
  303. package/dist/{chunk-UMNHJSIO.js → chunk-TPLVC5BE.js} +2 -2
  304. package/dist/{chunk-UMNHJSIO.js.map → chunk-TPLVC5BE.js.map} +1 -1
  305. package/dist/chunk-TRJS7M2H.js +39 -0
  306. package/dist/chunk-TRJS7M2H.js.map +1 -0
  307. package/dist/chunk-TXBNPEIJ.js +31 -0
  308. package/dist/chunk-TXBNPEIJ.js.map +1 -0
  309. package/dist/{chunk-VEME3D7K.js → chunk-UD5KHQOH.js} +27 -3
  310. package/dist/chunk-UD5KHQOH.js.map +1 -0
  311. package/dist/{chunk-5CLMV5YU.js → chunk-UPHPFKAD.js} +54 -18
  312. package/dist/chunk-UPHPFKAD.js.map +1 -0
  313. package/dist/{chunk-WVS6CUCT.js → chunk-V3IXAI4L.js} +6 -2
  314. package/dist/chunk-V3IXAI4L.js.map +1 -0
  315. package/dist/{chunk-CVD5IZGB.js → chunk-VBXKYT4O.js} +7 -2
  316. package/dist/chunk-VBXKYT4O.js.map +1 -0
  317. package/dist/{chunk-OZ6X76G5.js → chunk-VNT4MXR5.js} +4 -3
  318. package/dist/chunk-VNT4MXR5.js.map +1 -0
  319. package/dist/{chunk-K57NINLH.js → chunk-VPDSPD76.js} +54 -1
  320. package/dist/chunk-VPDSPD76.js.map +1 -0
  321. package/dist/chunk-VX3YF2UD.js +77 -0
  322. package/dist/chunk-VX3YF2UD.js.map +1 -0
  323. package/dist/chunk-WCMGPAY2.js +103 -0
  324. package/dist/chunk-WCMGPAY2.js.map +1 -0
  325. package/dist/{chunk-DZJ4GBSP.js → chunk-WSPXSWFG.js} +21 -4
  326. package/dist/chunk-WSPXSWFG.js.map +1 -0
  327. package/dist/{chunk-NB6POCFH.js → chunk-WVQDIOD7.js} +56 -11
  328. package/dist/chunk-WVQDIOD7.js.map +1 -0
  329. package/dist/{chunk-F653O57X.js → chunk-Y4VR6VNM.js} +6 -3
  330. package/dist/chunk-Y4VR6VNM.js.map +1 -0
  331. package/dist/{chunk-CEJ5FK6G.js → chunk-YHRJNKD5.js} +2 -2
  332. package/dist/{chunk-CEJ5FK6G.js.map → chunk-YHRJNKD5.js.map} +1 -1
  333. package/dist/{chunk-XWNXGFX3.js → chunk-Z3T24FX3.js} +2 -2
  334. package/dist/{chunk-XWNXGFX3.js.map → chunk-Z3T24FX3.js.map} +1 -1
  335. package/dist/collapsible-panel.d.ts +10 -3
  336. package/dist/collapsible-panel.js +45 -5
  337. package/dist/collapsible-panel.js.map +1 -1
  338. package/dist/color-field.js +2 -2
  339. package/dist/color-picker.js +1 -1
  340. package/dist/color-swatches.js +1 -1
  341. package/dist/column-explorer.d.ts +67 -0
  342. package/dist/column-explorer.js +140 -0
  343. package/dist/column-explorer.js.map +1 -0
  344. package/dist/column-track.d.ts +12 -3
  345. package/dist/column-track.js +1 -1
  346. package/dist/combobox.d.ts +5 -1
  347. package/dist/combobox.js +2 -1
  348. package/dist/content-item.d.ts +14 -4
  349. package/dist/content-item.js +2 -1
  350. package/dist/content-swap.d.ts +5 -1
  351. package/dist/content-swap.js +2 -1
  352. package/dist/corner-status.d.ts +5 -1
  353. package/dist/corner-status.js +2 -1
  354. package/dist/device-class.js +1 -101
  355. package/dist/device-class.js.map +1 -1
  356. package/dist/disclosure-arrow.d.ts +5 -1
  357. package/dist/disclosure-arrow.js +2 -1
  358. package/dist/disclosure.js +2 -2
  359. package/dist/edge-activity-indicator.d.ts +5 -1
  360. package/dist/edge-activity-indicator.js +2 -1
  361. package/dist/editor.d.ts +344 -0
  362. package/dist/editor.js +10076 -0
  363. package/dist/editor.js.map +1 -0
  364. package/dist/empty-state.d.ts +5 -1
  365. package/dist/empty-state.js +2 -1
  366. package/dist/{extension-attributes-mu8MFUl0.d.ts → extension-attributes-IJ4decoa.d.ts} +7 -1
  367. package/dist/file-picker.d.ts +25 -4
  368. package/dist/file-picker.js +2 -1
  369. package/dist/floating-toolbar.d.ts +5 -1
  370. package/dist/floating-toolbar.js +2 -1
  371. package/dist/form.d.ts +45 -0
  372. package/dist/form.js +4 -0
  373. package/dist/form.js.map +1 -0
  374. package/dist/framed-list.js +1 -1
  375. package/dist/grid.js +1 -1
  376. package/dist/index.d.ts +14 -7
  377. package/dist/index.js +82 -70
  378. package/dist/list-action-row.d.ts +1 -1
  379. package/dist/list-action-row.js +2 -1
  380. package/dist/list-detail-dialog.d.ts +10 -3
  381. package/dist/list-detail-dialog.js +15 -11
  382. package/dist/list-detail-dialog.js.map +1 -1
  383. package/dist/list-header.d.ts +11 -3
  384. package/dist/list-header.js +1 -1
  385. package/dist/list-inset-control.d.ts +5 -1
  386. package/dist/list-inset-control.js +2 -1
  387. package/dist/list-inset-text.js +1 -1
  388. package/dist/list-item.js +3 -1
  389. package/dist/list.d.ts +130 -11
  390. package/dist/list.js +1 -1
  391. package/dist/loading-spinner.d.ts +5 -1
  392. package/dist/loading-spinner.js +2 -1
  393. package/dist/lucide-icon.d.ts +5 -1
  394. package/dist/lucide-icon.js +2 -1
  395. package/dist/message-composer.js +1 -1
  396. package/dist/{nav-stack-CrZF95VO.d.ts → nav-stack-DwxpXxqJ.d.ts} +13 -2
  397. package/dist/nav-stack.d.ts +3 -2
  398. package/dist/nav-stack.js +4 -1
  399. package/dist/paged-view.d.ts +47 -0
  400. package/dist/paged-view.js +86 -0
  401. package/dist/paged-view.js.map +1 -0
  402. package/dist/pane.d.ts +42 -5
  403. package/dist/pane.js +2 -1
  404. package/dist/popup-menu-register.js +1 -1
  405. package/dist/popup-menu.d.ts +42 -2
  406. package/dist/popup-menu.js +2 -1
  407. package/dist/progress-bar.js +1 -1
  408. package/dist/progress-ring.js +1 -1
  409. package/dist/radio-group.js +1 -1
  410. package/dist/resizable-region.d.ts +5 -1
  411. package/dist/resizable-region.js +2 -1
  412. package/dist/row.d.ts +7 -2
  413. package/dist/row.js +1 -1
  414. package/dist/scroll-effect.d.ts +86 -0
  415. package/dist/scroll-effect.js +5 -0
  416. package/dist/scroll-effect.js.map +1 -0
  417. package/dist/{search-field-CrGTN5sa.d.ts → search-field-5lNIszda.d.ts} +5 -1
  418. package/dist/search-field-model.d.ts +2 -1
  419. package/dist/search-field.d.ts +2 -1
  420. package/dist/search-field.js +2 -1
  421. package/dist/segmented-control.d.ts +5 -1
  422. package/dist/segmented-control.js +2 -1
  423. package/dist/select-register.js +9 -2
  424. package/dist/select-register.js.map +1 -1
  425. package/dist/select.d.ts +22 -1
  426. package/dist/select.js +1 -1
  427. package/dist/sized-region.d.ts +44 -0
  428. package/dist/sized-region.js +4 -0
  429. package/dist/sized-region.js.map +1 -0
  430. package/dist/skeleton.d.ts +5 -1
  431. package/dist/skeleton.js +2 -1
  432. package/dist/slider.js +1 -1
  433. package/dist/spacer.d.ts +5 -1
  434. package/dist/spacer.js +2 -1
  435. package/dist/split-button.js +1 -1
  436. package/dist/split-view.d.ts +7 -3
  437. package/dist/split-view.js +4 -1
  438. package/dist/state-banner.d.ts +7 -0
  439. package/dist/state-banner.js +1 -1
  440. package/dist/styles/backdrop-image.css +136 -70
  441. package/dist/styles/badge.css +31 -0
  442. package/dist/styles/button.css +103 -0
  443. package/dist/styles/choice-chips.css +45 -0
  444. package/dist/styles/column-explorer.css +6 -0
  445. package/dist/styles/components/actions/button/button.css +103 -0
  446. package/dist/styles/components/actions/popup-menu/popup-menu.css +154 -1
  447. package/dist/styles/components/actions/toolbar/toolbar.css +19 -11
  448. package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +38 -200
  449. package/dist/styles/components/collections/column-explorer/column-explorer.css +6 -0
  450. package/dist/styles/components/collections/list/list.css +6 -0
  451. package/dist/styles/components/collections/list-header/list-header.css +11 -25
  452. package/dist/styles/components/collections/list-item/list-item.css +68 -2
  453. package/dist/styles/components/collections/summary-row/summary-row.css +39 -6
  454. package/dist/styles/components/collections/tree-list/tree-list.css +7 -0
  455. package/dist/styles/components/data-display/value-table/value-table.css +1 -1
  456. package/dist/styles/components/feedback/badge/badge.css +31 -0
  457. package/dist/styles/components/feedback/state-banner/state-banner.css +12 -7
  458. package/dist/styles/components/forms/choice-chips/choice-chips.css +45 -0
  459. package/dist/styles/components/forms/file-picker/file-picker.css +13 -2
  460. package/dist/styles/components/forms/form/form.css +6 -0
  461. package/dist/styles/components/forms/select/select.css +85 -2
  462. package/dist/styles/components/forms/text-field/text-field.css +44 -0
  463. package/dist/styles/components/layout/pane/pane.css +16 -0
  464. package/dist/styles/components/layout/resizable-region/resizable-region.css +0 -10
  465. package/dist/styles/components/layout/sized-region/sized-region.css +22 -0
  466. package/dist/styles/components/layout/workbench/workbench.css +0 -21
  467. package/dist/styles/components/navigation/nav-stack/nav-stack.css +2 -0
  468. package/dist/styles/components/navigation/paged-view/paged-view.css +160 -0
  469. package/dist/styles/components/navigation/tab-bar/tab-bar.css +24 -17
  470. package/dist/styles/components/navigation/tab-bar-item/tab-bar-item.css +111 -60
  471. package/dist/styles/components/navigation/tab-panel/tab-panel.css +7 -0
  472. package/dist/styles/components/surfaces/backdrop-image/backdrop-image.css +14 -70
  473. package/dist/styles/components/surfaces/scroll-effect/scroll-effect.css +121 -0
  474. package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +77 -29
  475. package/dist/styles/components/typography/text/text.css +4 -4
  476. package/dist/styles/content-item.css +551 -3
  477. package/dist/styles/document.css +1 -6
  478. package/dist/styles/editor/editor.css +530 -0
  479. package/dist/styles/editor.css +4 -0
  480. package/dist/styles/file-picker.css +13 -2
  481. package/dist/styles/form.css +6 -0
  482. package/dist/styles/foundation.css +55 -1
  483. package/dist/styles/list-header.css +11 -25
  484. package/dist/styles/list-item.css +68 -2
  485. package/dist/styles/list.css +6 -0
  486. package/dist/styles/nav-stack.css +2 -0
  487. package/dist/styles/overlay-sheet.css +7 -7
  488. package/dist/styles/paged-view.css +160 -0
  489. package/dist/styles/pane.css +16 -0
  490. package/dist/styles/popup-menu.css +154 -1
  491. package/dist/styles/resizable-region.css +0 -10
  492. package/dist/styles/scroll-effect.css +121 -0
  493. package/dist/styles/select.css +85 -2
  494. package/dist/styles/sized-region.css +22 -0
  495. package/dist/styles/state-banner.css +12 -7
  496. package/dist/styles/styles.css +11 -0
  497. package/dist/styles/summary-row.css +39 -6
  498. package/dist/styles/surface-scaffold.css +77 -29
  499. package/dist/styles/tab-bar-item.css +111 -60
  500. package/dist/styles/tab-bar.css +24 -17
  501. package/dist/styles/tab-panel.css +7 -0
  502. package/dist/styles/text-field.css +44 -0
  503. package/dist/styles/text.css +4 -4
  504. package/dist/styles/toolbar-control-group.css +38 -200
  505. package/dist/styles/toolbar.css +19 -11
  506. package/dist/styles/tree-list.css +7 -0
  507. package/dist/styles/value-table.css +1 -1
  508. package/dist/styles/webawesome.css +350 -6
  509. package/dist/styles/workbench.css +0 -21
  510. package/dist/summary-row.d.ts +9 -1
  511. package/dist/summary-row.js +1 -1
  512. package/dist/sunken-panel.d.ts +5 -1
  513. package/dist/sunken-panel.js +2 -1
  514. package/dist/surface-scaffold-register.js +1 -1
  515. package/dist/surface-scaffold.d.ts +37 -6
  516. package/dist/surface-scaffold.js +3 -2
  517. package/dist/switch.js +1 -1
  518. package/dist/tab-bar-item.d.ts +9 -5
  519. package/dist/tab-bar-item.js +1 -1
  520. package/dist/tab-bar.d.ts +16 -3
  521. package/dist/tab-bar.js +2 -1
  522. package/dist/tab-navigator.d.ts +25 -3
  523. package/dist/tab-navigator.js +42 -19
  524. package/dist/tab-navigator.js.map +1 -1
  525. package/dist/tab-panel.d.ts +35 -0
  526. package/dist/tab-panel.js +4 -0
  527. package/dist/tab-panel.js.map +1 -0
  528. package/dist/tag-field.d.ts +5 -1
  529. package/dist/tag-field.js +2 -1
  530. package/dist/text-field.d.ts +22 -4
  531. package/dist/text-field.js +1 -1
  532. package/dist/text.d.ts +37 -5
  533. package/dist/text.js +2 -1
  534. package/dist/toolbar-control-group.d.ts +83 -3
  535. package/dist/toolbar-control-group.js +4 -1
  536. package/dist/toolbar-text.d.ts +9 -1
  537. package/dist/toolbar-text.js +2 -1
  538. package/dist/toolbar.d.ts +6 -1
  539. package/dist/toolbar.js +2 -1
  540. package/dist/tree-list.d.ts +42 -0
  541. package/dist/tree-list.js +12 -0
  542. package/dist/tree-list.js.map +1 -0
  543. package/dist/tree-rows-eHnnGLGM.d.ts +65 -0
  544. package/dist/value-preview.d.ts +5 -1
  545. package/dist/value-preview.js +2 -1
  546. package/dist/value-table.d.ts +9 -2
  547. package/dist/value-table.js +2 -1
  548. package/dist/wire-catalog.d.ts +3 -2
  549. package/dist/wire-catalog.js +4 -3
  550. package/dist/wire-catalog.js.map +1 -1
  551. package/dist/wire-choice-chips.d.ts +3 -1
  552. package/dist/wire-choice-chips.js +1 -1
  553. package/dist/wire-color-fields.js +2 -73
  554. package/dist/wire-color-fields.js.map +1 -1
  555. package/dist/wire-color-pickers.js +1 -1
  556. package/dist/wire-column-explorer.d.ts +13 -0
  557. package/dist/wire-column-explorer.js +94 -0
  558. package/dist/wire-column-explorer.js.map +1 -0
  559. package/dist/wire-content-items.d.ts +10 -1
  560. package/dist/wire-content-items.js +1 -293
  561. package/dist/wire-content-items.js.map +1 -1
  562. package/dist/wire-forms.d.ts +14 -0
  563. package/dist/wire-forms.js +3 -0
  564. package/dist/wire-forms.js.map +1 -0
  565. package/dist/wire-nav-stack.js +1 -423
  566. package/dist/wire-nav-stack.js.map +1 -1
  567. package/dist/wire-paged-views.d.ts +27 -0
  568. package/dist/wire-paged-views.js +186 -0
  569. package/dist/wire-paged-views.js.map +1 -0
  570. package/dist/wire-resizable-regions.js +2 -1
  571. package/dist/wire-scroll-dividers.js +1 -1
  572. package/dist/wire-search-fields.d.ts +2 -1
  573. package/dist/wire-search-fields.js +2 -1
  574. package/dist/wire-sidebar.js +1 -229
  575. package/dist/wire-sidebar.js.map +1 -1
  576. package/dist/wire-sliders.js +1 -29
  577. package/dist/wire-sliders.js.map +1 -1
  578. package/dist/wire-summary-rows.d.ts +18 -0
  579. package/dist/wire-summary-rows.js +4 -0
  580. package/dist/wire-summary-rows.js.map +1 -0
  581. package/dist/wire-tab-bars.d.ts +1 -0
  582. package/dist/wire-tab-bars.js +1 -1
  583. package/dist/wire-tab-navigator.js +1 -151
  584. package/dist/wire-tab-navigator.js.map +1 -1
  585. package/dist/wire-tag-fields.js +3 -252
  586. package/dist/wire-tag-fields.js.map +1 -1
  587. package/dist/wire-tree-list.d.ts +53 -0
  588. package/dist/wire-tree-list.js +3 -0
  589. package/dist/wire-tree-list.js.map +1 -0
  590. package/dist/wire-workbench.js +2 -1
  591. package/dist/workbench-dialog.d.ts +10 -3
  592. package/dist/workbench-dialog.js +13 -9
  593. package/dist/workbench-dialog.js.map +1 -1
  594. package/dist/workbench.d.ts +7 -3
  595. package/dist/workbench.js +4 -1
  596. package/docs/accessibility.md +52 -9
  597. package/docs/app-layouts.md +70 -1
  598. package/docs/backdrop-image.md +10 -0
  599. package/docs/button.md +30 -2
  600. package/docs/column-explorer.md +75 -0
  601. package/docs/component-contract.md +44 -15
  602. package/docs/component-selection.md +161 -126
  603. package/docs/data-tables-and-lists.md +1 -1
  604. package/docs/design/sketch/Kerf-UI.sketch +0 -0
  605. package/docs/design/sketch/README.md +73 -0
  606. package/docs/design/sketch/advanced/README.md +75 -0
  607. package/docs/design/sketch/button/README.md +270 -0
  608. package/docs/design/sketch/content/README.md +70 -0
  609. package/docs/design/sketch/coverage.md +159 -0
  610. package/docs/design/sketch/forms/README.md +97 -0
  611. package/docs/design/sketch/lists/README.md +65 -0
  612. package/docs/design/sketch/toolbar/README.md +73 -0
  613. package/docs/design/sketch/unified/README.md +69 -0
  614. package/docs/design/sketch/unified/pages/advanced.png +0 -0
  615. package/docs/design/sketch/unified/pages/button.png +0 -0
  616. package/docs/design/sketch/unified/pages/content.png +0 -0
  617. package/docs/design/sketch/unified/pages/forms.png +0 -0
  618. package/docs/design/sketch/unified/pages/lists.png +0 -0
  619. package/docs/design/sketch/unified/pages/toolbar.png +0 -0
  620. package/docs/design/sketch-runner.md +87 -0
  621. package/docs/design/templates/button/emphasis-dark.svg +1 -1
  622. package/docs/design/templates/button/emphasis.svg +1 -1
  623. package/docs/design/templates/button-dark.svg +1 -1
  624. package/docs/design/templates/button.svg +1 -1
  625. package/docs/design/templates/list-header/action-dark.svg +1 -1
  626. package/docs/design/templates/list-header/action.svg +1 -1
  627. package/docs/design/templates/list-header/toggle-collapsed-dark.svg +1 -1
  628. package/docs/design/templates/list-header/toggle-collapsed.svg +1 -1
  629. package/docs/design/templates/list-header/toggle-expanded-dark.svg +1 -1
  630. package/docs/design/templates/list-header/toggle-expanded.svg +1 -1
  631. package/docs/design/templates/list-header-dark.svg +1 -1
  632. package/docs/design/templates/list-header.svg +1 -1
  633. package/docs/design/templates/tab-bar/workspace-tabs-dark.svg +1 -1
  634. package/docs/design/templates/tab-bar/workspace-tabs.svg +1 -1
  635. package/docs/design/templates/tab-bar-dark.svg +1 -1
  636. package/docs/design/templates/tab-bar.svg +1 -1
  637. package/docs/design/templates/tree-list/files-dark.svg +1 -0
  638. package/docs/design/templates/tree-list/files.svg +1 -0
  639. package/docs/design/templates/tree-list/outline-dark.svg +1 -0
  640. package/docs/design/templates/tree-list/outline.svg +1 -0
  641. package/docs/design/templates/tree-list-dark.svg +1 -0
  642. package/docs/design/templates/tree-list.svg +1 -0
  643. package/docs/design/templates.md +10 -1
  644. package/docs/document-baseline.md +6 -3
  645. package/docs/editor-host.md +299 -0
  646. package/docs/forms-and-validation.md +39 -0
  647. package/docs/interaction-conventions.md +2 -1
  648. package/docs/layout.md +94 -10
  649. package/docs/list-detail-dialog.md +5 -0
  650. package/docs/manual-test-plan.md +32 -0
  651. package/docs/nav-stack.md +2 -1
  652. package/docs/paged-view.md +89 -0
  653. package/docs/scroll-effect.md +127 -0
  654. package/docs/split-view.md +4 -1
  655. package/docs/surface-scaffold.md +32 -2
  656. package/docs/tab-navigator.md +5 -4
  657. package/docs/tree-list.md +134 -0
  658. package/docs/ui-analyzer.md +43 -25
  659. package/docs/ui-doctor.md +4 -1
  660. package/docs/ui-evaluator.md +2 -0
  661. package/docs/ux-demo.md +1 -1
  662. package/docs/webawesome-migration.md +32 -31
  663. package/docs/webawesome-theme.md +27 -17
  664. package/docs/workbench-dialog.md +4 -0
  665. package/evaluator/index.mjs +14 -2
  666. package/llms.txt +162 -21
  667. package/package.json +104 -6
  668. package/props/cli.d.mts +1 -0
  669. package/props/cli.mjs +116 -0
  670. package/props/component-props.d.mts +177 -0
  671. package/props/component-props.mjs +1208 -0
  672. package/scripts/lib/json-schema-subset.mjs +137 -0
  673. package/ux-demo/recipes/app-shell.tsx +20 -22
  674. package/ux-demo/recipes/collapsible-sidebar.tsx +2 -2
  675. package/ux-demo/recipes/compact-toolbar.tsx +26 -29
  676. package/ux-demo/recipes/composer-form.tsx +6 -5
  677. package/ux-demo/recipes/list-workspace-states.tsx +39 -39
  678. package/ux-demo/recipes/loading-inspector.tsx +8 -6
  679. package/ux-demo/recipes/media-detail.tsx +29 -15
  680. package/ux-demo/recipes/navigation-sidebar.tsx +18 -19
  681. package/ux-demo/recipes/navigation-stack.tsx +2 -2
  682. package/ux-demo/recipes/workspace-header.tsx +16 -16
  683. package/view/cli.d.mts +18 -0
  684. package/view/cli.mjs +262 -0
  685. package/view/contract.mjs +342 -0
  686. package/view/generate.mjs +639 -0
  687. package/view/index.d.mts +411 -0
  688. package/view/index.mjs +40 -0
  689. package/view/interpret.mjs +271 -0
  690. package/view/validate-move.mjs +317 -0
  691. package/view/validate.mjs +1864 -0
  692. package/vite-editor.d.mts +130 -0
  693. package/vite-editor.mjs +314 -0
  694. package/dist/chunk-2J7XKAZX.js.map +0 -1
  695. package/dist/chunk-3KFMLOTH.js.map +0 -1
  696. package/dist/chunk-3OP66VXU.js.map +0 -1
  697. package/dist/chunk-3V4OCDTL.js.map +0 -1
  698. package/dist/chunk-3WWX2O4G.js.map +0 -1
  699. package/dist/chunk-5CLMV5YU.js.map +0 -1
  700. package/dist/chunk-5J6Z4BWY.js.map +0 -1
  701. package/dist/chunk-6VVIW7VB.js.map +0 -1
  702. package/dist/chunk-7AK5I7U7.js.map +0 -1
  703. package/dist/chunk-7K6U6FCN.js.map +0 -1
  704. package/dist/chunk-AMIHGFLP.js.map +0 -1
  705. package/dist/chunk-AN5IWMTM.js.map +0 -1
  706. package/dist/chunk-B53PS2LE.js.map +0 -1
  707. package/dist/chunk-BKUMG2KB.js.map +0 -1
  708. package/dist/chunk-BSNKDW4X.js.map +0 -1
  709. package/dist/chunk-C2ZO3OZZ.js.map +0 -1
  710. package/dist/chunk-CVD5IZGB.js.map +0 -1
  711. package/dist/chunk-D5RGM3XA.js.map +0 -1
  712. package/dist/chunk-DZJ4GBSP.js.map +0 -1
  713. package/dist/chunk-EIET4QLK.js.map +0 -1
  714. package/dist/chunk-EKHDLBRP.js.map +0 -1
  715. package/dist/chunk-ETFP7HAR.js.map +0 -1
  716. package/dist/chunk-EYDXFOSH.js.map +0 -1
  717. package/dist/chunk-F653O57X.js.map +0 -1
  718. package/dist/chunk-G3J7JDP6.js.map +0 -1
  719. package/dist/chunk-HJWFHJ3Z.js.map +0 -1
  720. package/dist/chunk-HJXVVFBT.js.map +0 -1
  721. package/dist/chunk-IIQ2XIMU.js.map +0 -1
  722. package/dist/chunk-ITENVZ6Q.js.map +0 -1
  723. package/dist/chunk-ITUQC4FW.js.map +0 -1
  724. package/dist/chunk-K57NINLH.js.map +0 -1
  725. package/dist/chunk-K67XBCHG.js.map +0 -1
  726. package/dist/chunk-KDQZ3E5C.js.map +0 -1
  727. package/dist/chunk-KH4KEMSP.js.map +0 -1
  728. package/dist/chunk-LZUUUHNH.js.map +0 -1
  729. package/dist/chunk-N2K3QGSX.js.map +0 -1
  730. package/dist/chunk-NB6POCFH.js.map +0 -1
  731. package/dist/chunk-NR6O74ST.js.map +0 -1
  732. package/dist/chunk-OQP3PFKQ.js.map +0 -1
  733. package/dist/chunk-OZ6X76G5.js.map +0 -1
  734. package/dist/chunk-PS24PVR6.js.map +0 -1
  735. package/dist/chunk-QH5KOFNS.js.map +0 -1
  736. package/dist/chunk-QYMJHS4K.js.map +0 -1
  737. package/dist/chunk-S3DCRI2M.js.map +0 -1
  738. package/dist/chunk-S3ECMF23.js.map +0 -1
  739. package/dist/chunk-TKNVL53O.js.map +0 -1
  740. package/dist/chunk-VEME3D7K.js.map +0 -1
  741. package/dist/chunk-WVS6CUCT.js.map +0 -1
  742. package/dist/chunk-XRZSK2WC.js.map +0 -1
  743. package/dist/chunk-Y6KT7ZTR.js.map +0 -1
  744. package/dist/chunk-YMUIQRWK.js.map +0 -1
  745. package/dist/chunk-YPAQFBMN.js.map +0 -1
  746. package/dist/chunk-ZN7KUMPY.js.map +0 -1
  747. package/dist/chunk-ZX2QQJXD.js.map +0 -1
package/docs/layout.md CHANGED
@@ -36,6 +36,29 @@ size) tall, and below that lets the whole pane scroll as one column, header,
36
36
  content, and footer together, so the content keeps its natural height. The
37
37
  default `fixed` always pins them.
38
38
 
39
+ ### Filling the parent's height
40
+
41
+ A Pane takes its content's height by default, so its footer sits right after
42
+ short content. Set `fill` to make it take the full height of a parent with a
43
+ definite height (an app's `.kui-app-root`, a `SizedRegion`, a grid cell) or the
44
+ rest of a flex column. The header and footer then stay pinned at the parent's
45
+ edges and the content scrolls between them. Under a parent with no definite
46
+ height, `fill` falls back to the content height.
47
+
48
+ ```tsx
49
+ <div class="kui-app-root">
50
+ <Pane fill header={<NotesToolbar />} footer={<NotesStatus />}>
51
+ <ContentItem>Groceries for the weekend</ContentItem>
52
+ </Pane>
53
+ </div>
54
+ ```
55
+
56
+ A Pane that is the only child of a `NavStack` view, `TabNavigator` scene, or
57
+ `Workbench` region already fills it, so it needs no `fill`. For a whole screen
58
+ that is one pane, use a filled Pane when it never navigates and a one-entry
59
+ `NavStack` when it pushes views or needs the stack's chrome; see
60
+ [Choosing an app layout](app-layouts.md#one-pane-on-the-whole-screen).
61
+
39
62
  ### Deep content inset
40
63
 
41
64
  Set `deepInset` on a `Pane` to add 8px of padding on every side of its scrolling
@@ -72,6 +95,37 @@ Give a focusable Pane a useful `label` when it represents a distinct region.
72
95
  The ring paints above edge-to-edge child surfaces without intercepting their
73
96
  buttons, selects, or nested scrolling.
74
97
 
98
+ ### Named anchor
99
+
100
+ Set `anchorName` (a CSS dashed ident such as `--app-main`) to name the Pane as
101
+ a CSS anchor, so a surface that docks to a named anchor, such as a
102
+ `PopoverDialogSurface` with the same `anchorName`, docks to this pane. Name
103
+ the app's main column this way instead of writing `anchor-name` CSS.
104
+ `PaneConfig` forwards it, so a Workbench `mainPane`, a panel `pane`, or a
105
+ NavStack view takes it too. A name that is not a dashed ident throws.
106
+
107
+ ```tsx
108
+ <Workbench mainPane={{ anchorName: '--app-main' }} main={conversation} />
109
+ <PopoverDialogSurface id="file-request" label="Allow File Access" dismiss="manual" anchorName="--app-main">
110
+ {request}
111
+ </PopoverDialogSurface>
112
+ ```
113
+
114
+ ### Scroll anchoring
115
+
116
+ A Pane's scrolling content keeps the browser's scroll anchoring by default:
117
+ when something above the visible content grows or shrinks, the browser holds
118
+ what the reader sees still. Set `scrollAnchoring="none"` on a pane whose own
119
+ edits insert or remove rows above the reader, such as an inspector. Safari can
120
+ apply a stale anchoring adjustment on a later, unrelated reflow and jump that
121
+ pane's content under the pointer. `PaneConfig` forwards it, so a Workbench
122
+ panel `pane`, `mainPane`, or NavStack view takes it too. Leave other panes at
123
+ the default.
124
+
125
+ ```tsx
126
+ <NavStack views={[{ key: 'inspector', pane: { scrollAnchoring: 'none' }, content }]} />
127
+ ```
128
+
75
129
  ### Lowered work surfaces
76
130
 
77
131
  Set `appearance="sunken"` when the work area itself should use the lowered
@@ -164,13 +218,22 @@ seed sweep across hue and lightness holds every text token at 4.5:1 or better
164
218
  over the surface, raised surface, and quiet fills, with and without the Web
165
219
  Awesome theme (`tests/browser/tone-contrast.spec.ts`).
166
220
 
167
- The scope also takes the declared `color-scheme` and the Web Awesome
168
- `wa-light` / `wa-dark` class, so Web Awesome components inside it re-derive
169
- their own fills. Without relative color syntax, and under
221
+ The scope also takes the declared `color-scheme` and Kerf's
222
+ `data-kui-scheme` / `kui-light` / `kui-dark` scheme scope, so Web Awesome
223
+ components inside it re-derive their own fills when the Web Awesome bridge is
224
+ loaded. Without relative color syntax, and under
170
225
  `prefers-contrast: more`, the scope keeps the plain palette in its declared
171
226
  scheme. `tint` and `background` combine: `background` paints the pane, and
172
227
  `tint` still re-derives the tokens for its content.
173
228
 
229
+ For the plain palette in a fixed scheme, without a tint color (a dark
230
+ player bar on a light page, a light card on a dark one), set `scheme="dark"`
231
+ or `scheme="light"` on the same components instead. It renders the same
232
+ `data-kui-scheme` scope; a `tint` already implies its scheme, so pass both
233
+ only when they agree. Outside a component, put `kui-light`, `kui-dark`, or
234
+ `kui-invert` (the opposite of the surrounding scheme) on any element. These
235
+ are Kerf's own scopes and need no Web Awesome CSS.
236
+
174
237
  Add `accent` (usually the artwork's most vivid color) to re-derive the brand
175
238
  ramp too: `tint={{ color, scheme, accent }}`. Loud fills (primary buttons, the
176
239
  current popup row, checked controls) and their text, brand text and links,
@@ -463,6 +526,14 @@ timeline in the containing Pane's shared vertical scroller. Set
463
526
  image hero while preserving the card and its reserved media height. Enable it
464
527
  only when many media cards share a scrollport; it has no effect in browsers
465
528
  without `content-visibility`. The card body and controls remain in the layout.
529
+ The gain is fewer compositor layers (453 to 42 in a measured 200-card feed),
530
+ not faster frames, and it costs main-thread layout while scrolling. Its known
531
+ trade-off: a scroll jump larger than the browser's content-visibility margin
532
+ (a scrollbar drag, End or Home, a programmatic scroll restore) paints the newly
533
+ visible heroes blank for a frame, and an End-key smooth scroll can show them
534
+ blank for most of its frames, before they paint. Flings within the margin, feed
535
+ height, scroll anchoring, fragment links, find in page, and print are
536
+ unaffected. That is why it stays opt-in.
466
537
  `wireContentItems`
467
538
  also listens for image load/error from one containing root: a broken lead image
468
539
  hides its media block and removes its tint, leaving an ordinary ContentItem;
@@ -493,7 +564,9 @@ For a selectable card, set `interactive`, a delegated `action`, and an optional
493
564
  activates focused cards with Enter or Space and forwards the resulting click to
494
565
  the app's ordinary `data-action` handler. `selectionMode="toggle"` maps
495
566
  `selected` to a button's `aria-pressed`; `selectionMode="single"` maps it to an
496
- option's `aria-selected` and belongs in an app-owned `role="listbox"` container.
567
+ option's `aria-selected` and belongs in a labeled `List selectionMode="single"`
568
+ listbox, which `wireContentItems` makes one roving Tab stop with Up/Down/Home/End
569
+ movement between its enabled options.
497
570
  For a card with nested controls and multi-selection, place
498
571
  `selectionMode="multiple"` cards inside a `List selectionMode="multiple"` with
499
572
  `ariaLabel`. The List is a labeled `grid` with `aria-multiselectable`, each card
@@ -580,12 +653,13 @@ taller than the control band.
580
653
  The leading zone clips a shrinking title but reserves 4px of paint overflow
581
654
  for the focus outline of a control at its edge. Focus rings in all three zones
582
655
  remain visible at narrow and wide widths.
583
- Trailing icon actions share one axis: a toolbar control centers its glyph in
584
- that 44px slot at the 8px inline margin, and a `ListHeader` action centers its
585
- fitted 36px square in a slot of the same size (a transparent hit layer extends
586
- its pointer target to fill that 44px slot), so a Pane header's trailing toolbar
587
- action and the `ListHeader` action beneath it line up (30px from the pane edge
588
- at the default scale).
656
+ Trailing alignment follows borders. An element with its own border or fill
657
+ aligns its outer edge with the other bordered elements in its column: a
658
+ `ListHeader` action's fitted 36px square ends flush at the header's 8px inline
659
+ margin, on the same edge as a selected or hovered `ListItem` below it and as a
660
+ Pane header's trailing `ToolbarControlGroup` (a transparent hit layer still
661
+ extends the action's pointer target to 44px). A borderless nested glyph aligns
662
+ with the nested content of those elements instead, not with their borders.
589
663
  Panel, dialog, and page headings are plain `Toolbar` compositions. The leading
590
664
  zone holds an optional icon `ToolbarControlGroup` and a direct extra-large
591
665
  `ToolbarText`; actions belong in a trailing group. Omit empty groups. Supporting
@@ -832,6 +906,11 @@ nearly the visible width, lets the next one `peek` in (24px), snaps to column
832
906
  starts, hides the scrollbar, and scrolls smoothly unless reduced motion is
833
907
  preferred. Choose the layout per device class in the app.
834
908
 
909
+ Name a board with `ariaLabel`: the track becomes a `role="region"` with that
910
+ name. Name each column the same way: a column `List` takes
911
+ `landmark="region"` and its own `ariaLabel`. Both are props, so a view
912
+ document carries them; `rootAttributes` holds only `data-*` there.
913
+
835
914
  ## Row and List alignment
836
915
 
837
916
  Use `Row` for a horizontal flex layout and `List` for a vertical one. `Row`
@@ -864,6 +943,11 @@ for the CSS initial value, pass `true` for `1 1 auto`, select the finite
864
943
  shorthand. A `CssLength` is not a flex shorthand, and arbitrary strings are
865
944
  rejected by the type contract.
866
945
 
946
+ A Row of related controls that is not a toolbar, such as the filter
947
+ suggestions beside a search field, can name itself as a group with
948
+ `ariaLabel`: it renders `role="group"` with that `aria-label`, so assistive
949
+ technology announces the set by name.
950
+
867
951
  ### Filling a fixed-height parent
868
952
 
869
953
  `flex` sizes a Row, List, or Grid inside a flex layout. When one of them is the
@@ -96,5 +96,10 @@ it with `closeDialog(element)`, the close control, Escape, an element with
96
96
  functions are re-exported from this subpath. Give sibling dialogs distinct
97
97
  `rootAttributes['data-key']` values so a re-render morphs each into itself.
98
98
 
99
+ Pass `embedded` to render it in flow and always shown instead, keeping its
100
+ `height`, for a catalog, a design canvas, or a document; `openDialog()` and
101
+ `closeDialog()` leave it alone. The Kerf UI editor shows a ListDetailDialog this
102
+ way on its edit canvas.
103
+
99
104
  See the [list-detail dialog recipe](recipes.md#list-detail-dialog) for a
100
105
  complete, production-backed example.
@@ -24,6 +24,38 @@ Playwright cannot raise a virtual keyboard; the overlap formula is unit-tested
24
24
  (`tests/unit/dialog-surface-controller.test.tsx`) and a simulated keyboard is covered
25
25
  in `tests/browser/dialog-bottom-sheet.spec.ts`.
26
26
 
27
+ ## ScrollEffect and BackdropImage: OS transparency and slow displays
28
+
29
+ Route: `?component=scroll-effect` and `?component=backdrop-image`. Playwright
30
+ cannot emulate `prefers-reduced-transparency` or `update: slow`, so their
31
+ static fallbacks are pinned only by stylesheet unit tests
32
+ (`tests/unit/scroll-effect.test.tsx`). On macOS, turn on Reduce Transparency
33
+ (Accessibility, Display) and scroll each example in Safari and Chrome: every
34
+ card stays in place, fully opaque, and undimmed, and the BackdropImage image
35
+ stays static and sharp. On an e-ink reader or print preview, the same
36
+ examples render at rest.
37
+
38
+ ## PagedView: touch swipes on a phone
39
+
40
+ Route: `?component=paged-view`, examples "Three Pages" and "Narrow Sidebar".
41
+ Run on an iPhone (Safari) and an Android phone (Chrome). Playwright can drive
42
+ a real touch swipe only in Chromium, over the DevTools protocol
43
+ (`tests/browser/paged-view.spec.ts`); the momentum and snapping of a real
44
+ finger on iOS and Android are checked here.
45
+
46
+ 1. On Today, flick left a short distance (well under half the page). The view
47
+ snaps to Token Rate, and its dot becomes the wide current pill.
48
+ 2. Flick left hard and fast from Today, as if to throw past several pages. It
49
+ stops on Token Rate, not Triage (`scroll-snap-stop: always`); a second
50
+ flick reaches Triage.
51
+ 3. Drag left less than a quarter of the page slowly and let go. The view
52
+ springs back to the page it started on, and the dot does not change.
53
+ 4. After each swipe, the dot changes once, with no flicker back to the old
54
+ page (the demo applies one `onPageChange` per swipe).
55
+ 5. On Triage, scroll the list vertically with a finger. It scrolls under the
56
+ dots without paging sideways, and a diagonal swipe pages only when it is
57
+ mostly horizontal.
58
+
27
59
  ## Automated coverage summary
28
60
 
29
61
  The feed-card route `?component=content-item`, example "Image-Tinted Feed
package/docs/nav-stack.md CHANGED
@@ -348,7 +348,8 @@ unsafe area but can always be scrolled clear. A view whose only child is a
348
348
 
349
349
  `wireNavStack(root, { onBack, duration? })` observes the rendered stack and
350
350
  animates each change: a pushed view slides in from the trailing edge; a popped
351
- view slides back off it over the revealed view; and snapshots of the previous
351
+ view slides back off it over the revealed view, inert, so a click or key
352
+ press during the slide reaches the revealed view; and snapshots of the previous
352
353
  top and bottom chrome cross-fade into the active view's chrome. The preserved
353
354
  underlying view remains visible during a push, while remaining inaccessible.
354
355
  Starting transforms and opacity apply instantly before the transition begins.
@@ -0,0 +1,89 @@
1
+ # PagedView
2
+
3
+ `@kerfjs/ui/paged-view` pages a sidebar or panel region horizontally between a
4
+ few full-size panes, with compact page dots floating at the bottom: today's charts
5
+ on one page, a page of gauges, a triage list. Touch swipes and trackpad
6
+ scrolls snap to a page, and the dots work by click and by arrow keys. The
7
+ application owns the current page, so it can persist the choice per viewer.
8
+
9
+ ```tsx
10
+ import { PagedView } from "@kerfjs/ui/paged-view";
11
+ import { wirePagedViews } from "@kerfjs/ui/wire-paged-views";
12
+
13
+ const page = signal<"charts" | "rates" | "triage">("charts");
14
+
15
+ <PagedView
16
+ id="sidebar-pages"
17
+ label="Sidebar pages"
18
+ page={page.value}
19
+ pages={[
20
+ { id: "charts", label: "Today", content: <ChartsPage /> },
21
+ { id: "rates", label: "Token rate", content: <RatesPage /> },
22
+ { id: "triage", label: "Triage", content: <TriagePage /> },
23
+ ]}
24
+ />;
25
+
26
+ const stop = wirePagedViews(root, {
27
+ onPageChange: (next) => {
28
+ page.value = next as typeof page.value;
29
+ savePreference("sidebar-page", next);
30
+ },
31
+ });
32
+ ```
33
+
34
+ ## Props
35
+
36
+ - `id` and `label` (required): the view's DOM id (page and dot ids derive
37
+ from it) and the accessible name of its dot tablist.
38
+ - `pages` (required): the pages in order, each `{ id, label, content }`. The
39
+ `label` names the page for assistive technology ("Page 2 of 3: Token
40
+ rate") and is the dot's tooltip. With one page no dots render.
41
+ - `page` (required): the controlled current page id. An id that matches no
42
+ page shows the first.
43
+ - `pageLabel`: the accessible name of each dot, for localization. `{index}`
44
+ is the 1-based page number, `{count}` the page count, and `{label}` the
45
+ page's label; the default is `Page {index} of {count}: {label}`. For
46
+ example, `pageLabel="Seite {index} von {count}: {label}"`.
47
+ - `className`, `slot`, and `rootAttributes` (`data-*` metadata).
48
+
49
+ ## Wiring
50
+
51
+ `wirePagedViews(root, { onPageChange })` wires every PagedView under `root`
52
+ and returns a disposer. It calls `onPageChange(page, viewId)` when a person
53
+ changes the page:
54
+
55
+ - a swipe, trackpad scroll, or momentum scroll settles on another page (on
56
+ `scrollend`, or after a short quiet period in engines without it);
57
+ - a dot is clicked;
58
+ - on a focused dot, Left and Right move to the previous and next page
59
+ (mirrored in right-to-left text), and Home and End to the first and last;
60
+ focus moves with them.
61
+
62
+ Re-render the PagedView with the reported id as `page`. When a render changes
63
+ `page`, the wiring scrolls the viewport to it, smoothly unless
64
+ `prefers-reduced-motion` is set; a newly rendered view starts on its page
65
+ without animating. Keeping the old `page` does not snap a swipe back.
66
+
67
+ A real touch swipe is browser-tested in Chromium only; iOS Safari and
68
+ Android Chrome are checked by hand ([manual test plan](manual-test-plan.md#pagedview-touch-swipes-on-a-phone)).
69
+
70
+ ## Accessibility
71
+
72
+ The dot pill is a `tablist`; each dot is a `tab` with `aria-selected` and
73
+ `aria-controls`, and only the current dot is in the Tab order. Each page is a
74
+ `tabpanel` named by its dot. Pages other than the current one are `inert`, so
75
+ Tab and assistive technology stay on the visible page. The current dot is a
76
+ wider pill, so the state does not rest on color alone, and forced colors paint
77
+ it `Highlight`. Each dot is a 24px target.
78
+
79
+ ## Geometry
80
+
81
+ The view fills its region: put it directly in a `Pane`, a sidebar, or a
82
+ `SizedRegion` with a height, with no wrapper padding. Each page is the full
83
+ width and height of the region and scrolls vertically on its own, so its
84
+ content owns its inset (a `ContentItem`, a `List`, a `ListInsetText`). The
85
+ dots float in a pill on the translucent chrome material, fixed 8px above the
86
+ region's bottom edge: page content scrolls beneath them, and each page ends
87
+ with room for the pill so its last item scrolls clear. The pill turns opaque
88
+ under reduced transparency or increased contrast. The browser keeps the
89
+ current page snapped when the region resizes.
@@ -0,0 +1,127 @@
1
+ # ScrollEffect
2
+
3
+ `ScrollEffect` ties compositor-only effects on any content to that content's
4
+ own scroll position: a block that fades and scales in as it scrolls into view,
5
+ fades out as it leaves, lags the scroll, or dims as it scrolls away. There is
6
+ no scroll listener. Each effect animates only `transform` or `opacity` on a CSS
7
+ view timeline that the compositor runs, and Kerf owns the static fallbacks.
8
+
9
+ ```tsx
10
+ import { ScrollEffect } from '@kerfjs/ui/scroll-effect';
11
+
12
+ <Pane label="Story">
13
+ <ScrollEffect
14
+ effects={[
15
+ { kind: 'reveal', range: 'entry', rangeEnd: 60 },
16
+ { kind: 'scale', from: 0.96 },
17
+ { kind: 'fade', range: 'exit' },
18
+ ]}
19
+ >
20
+ <ContentItem>Chapter one</ContentItem>
21
+ </ScrollEffect>
22
+ </Pane>;
23
+ ```
24
+
25
+ ## Props
26
+
27
+ - `effects` (required): a list of presets. A kind may repeat; repeats stack like any other effects.
28
+ - `children`: the content the effects apply to.
29
+ - `rootAttributes`: application `data-*` metadata on the root, such as an
30
+ editor node marker. The component's own markers stay protected.
31
+
32
+ ### Presets
33
+
34
+ | Preset | Options | Default range | What moves |
35
+ | ---------- | ----------------------------------------------- | ------------- | ------------------------------------------------------------------------ |
36
+ | `parallax` | `lag`: a number from 0 to 1, or `subtle` (0.35) | `exit` | The content lags the scroll by `lag`. The wrapper clips it. |
37
+ | `reveal` | none | `entry` | Opacity from 0 to 1. |
38
+ | `fade` | none | `exit` | Opacity from 1 to 0. |
39
+ | `scale` | `from`, `to`: above 0 and at most 2 (0.96, 1) | `entry` | Scale around the center. The wrapper clips a scale above 1. |
40
+ | `dim` | `to`: 0 to 1 (0.5) | `exit` | A black, `aria-hidden` layer over the content, from transparent to `to`. |
41
+
42
+ Every preset also takes `range` (`entry`, `exit`, `cover`, or `contain`, the
43
+ CSS named view-timeline ranges) and `rangeStart` / `rangeEnd` percentages
44
+ within it (0 and 100 by default; the start must be below the end). An
45
+ out-of-range number throws a `RangeError`; an unknown kind or range throws a
46
+ `TypeError`.
47
+
48
+ `parallax` moves the content by `lag` times its own height across the range.
49
+ Over `exit` that is exactly the lag factor of the scroll, the way
50
+ `BackdropImage` lags: the content rests in place as it starts to leave and
51
+ slides down as it scrolls out. Over `entry` it settles into place as it
52
+ arrives, and over `cover` or `contain` it passes its resting place halfway.
53
+
54
+ ### Composition
55
+
56
+ Effects nest in array order, the first outermost. Transforms stack and
57
+ opacities multiply, so `reveal` on `entry` with `fade` on `exit` fades the
58
+ content in and out again. `dim` is an overlay above all of them.
59
+
60
+ ## Layout and ownership
61
+
62
+ `ScrollEffect` is a block box with no margin, border, or padding, so its
63
+ content keeps its own geometry: wrap a `ContentItem` or `List` directly, and do
64
+ not add spacing around it. It needs a vertically scrolling ancestor, such as a
65
+ Pane's content. The wrapper is the timeline subject and never moves; its inner
66
+ layers do, so the effect follows the content's resting position. Configure it
67
+ through its props; never restyle its internals.
68
+
69
+ ## The shared scroll-effect layer
70
+
71
+ `ScrollEffect` and `BackdropImage` run on one shared layer, the stylesheet
72
+ `@kerfjs/ui/scroll-effect.css` (the `backdrop-image.css` entry imports it):
73
+
74
+ - an element marked `data-kui-scroll-timeline` is a named block-axis view
75
+ timeline;
76
+ - an element marked `data-kui-scroll-effect` animates one keyframe family
77
+ (`translate`, `scale`, or `opacity`) over a range of the nearest such
78
+ timeline, configured by inline custom properties;
79
+ - the static fallbacks below are written once, so every effect gets them.
80
+
81
+ Each component marks only elements it renders itself. `BackdropImage`'s
82
+ parallax is a `translate` layer over its hero's `exit-crossing` range, and its
83
+ progressive blur and dim are `opacity` layers over the first half of that
84
+ range. The markers and their custom properties are package internals, not an
85
+ application API: use `ScrollEffect`.
86
+
87
+ ## Blur-in is BackdropImage's
88
+
89
+ There is no `blur-in` preset. A blur that only animates opacity needs a
90
+ statically blurred second copy to cross-fade, and a copy of arbitrary content
91
+ duplicates its interactive controls, ids, and accessible names. The other way,
92
+ an animated `filter` or `backdrop-filter`, runs a blur every frame instead of
93
+ compositing a finished layer. `BackdropImage`'s `blur` has a real second copy,
94
+ the decorative image, so the progressive blur stays there.
95
+
96
+ ## Off-screen work
97
+
98
+ `ScrollEffect` does not gate its animations with an `IntersectionObserver`.
99
+ That was measured for the effects this layer drives: it changed
100
+ neither the layer count nor frame times compared with `content-visibility:
101
+ auto`, and it added a one-to-two-frame pop after a scroll jump. For dense
102
+ image feeds, `BackdropImage`'s `deferOffscreen` (and
103
+ `ContentItem.media.deferOffscreen`) applies `content-visibility: auto` to the
104
+ image hero instead (opt-in, because a large scroll jump paints the newly
105
+ visible heroes blank for a frame; see [layout](layout.md)). `ScrollEffect`
106
+ offers no off-screen skipping of its own.
107
+
108
+ ## Fallbacks
109
+
110
+ | Condition | Result |
111
+ | -------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
112
+ | No `animation-timeline` support (Firefox at the time of writing) | Static: content in place, fully opaque, and undimmed. |
113
+ | `prefers-reduced-motion: reduce` | Static. |
114
+ | `:root[data-kui-effects="static"]` | Static. |
115
+ | `@media (update: slow)` (e-ink, print) | Static. |
116
+ | `prefers-reduced-transparency: reduce`, `prefers-contrast: more`, or `forced-colors: active` | Static. |
117
+
118
+ Because every fallback shows the content at rest, never put information only
119
+ in a revealed or scaled state.
120
+
121
+ ## Performance
122
+
123
+ Only `transform` and `opacity` animate, on a scroll-driven timeline the
124
+ compositor runs; no filter animates and nothing re-rasterizes per frame. A
125
+ Chromium trace of 200 scroll frames across a `BackdropImage`'s exit range on
126
+ this layer produced no `Paint` events (see
127
+ [BackdropImage](backdrop-image.md#progressive-blur)).
@@ -46,13 +46,16 @@ const selected = signal<string | null>(null);
46
46
  compact={device.value.compact}
47
47
  detailActive={selected.value !== null}
48
48
  list={<ThreadList />}
49
- detail={<Message id={selected.value} />}
49
+ detail={selected.value === null ? null : <Message id={selected.value} />}
50
50
  listTitle="Threads"
51
51
  detailTitle="Message"
52
52
  resizable={{ size: 320, min: 220, max: 480 }}
53
53
  />;
54
54
  ```
55
55
 
56
+ `detail` is required but takes `null`: pass `null` while nothing is selected
57
+ rather than an empty element.
58
+
56
59
  - **Roomy** (`compact: false`): both panes show. With `resizable`, the list sits
57
60
  in a `ResizableRegion` (wire it with `wireResizableRegions`); without it the
58
61
  list takes a fixed width and the detail fills the rest. Set it with
@@ -70,8 +70,8 @@ openDialog(document.getElementById('edit-workspace') as HTMLDialogElement);
70
70
  `closeDialog()` is never refused.
71
71
 
72
72
  Choose `size` (`small`, `medium`, or `large`), `presentation` (`modal`,
73
- `side-sheet`, `fullscreen`, or `bottom-sheet`; see
74
- [Bottom sheets](#bottom-sheets)), and independent `bodyInset` / `footerInset`
73
+ `side-sheet`, `fullscreen`, `bottom-sheet`, or `embedded`; see
74
+ [Bottom sheets](#bottom-sheets) and [Embedded](#embedded)), and independent `bodyInset` / `footerInset`
75
75
  (`none`, `compact`, or `comfortable`). The defaults match Kerf's medium modal,
76
76
  8px body, and 16px footer rhythm. The dialog scales and fades in and out
77
77
  (150ms), unless motion is reduced or the document's static effects mode is on.
@@ -89,6 +89,18 @@ respectively, before the viewport width cap. Set `preferredWidth` to a branded
89
89
  desktop preferences can share the same responsive dialog without changing its
90
90
  resource tracks or preview aspect sizing.
91
91
 
92
+ ### Embedded
93
+
94
+ `presentation="embedded"` renders the same panel in flow: open, without the top
95
+ layer, a backdrop, or modality, and never wider than its container. In flow it
96
+ is a panel rather than an elevated layer, so it draws a 1px border instead of
97
+ the drop shadow. Use it where
98
+ a dialog is shown rather than opened, such as a catalog specimen, a design
99
+ canvas, or a document. `openDialog` and `closeDialog` leave an embedded dialog
100
+ alone, and its close button and `data-dialog-close` controls do not hide it.
101
+ The Kerf UI editor shows every DialogSurface embedded on its edit canvas so its
102
+ content can be seen and selected; play mode keeps the authored presentation.
103
+
92
104
  ### Sibling dialogs keep their identity
93
105
 
94
106
  Every `DialogSurface` root has the same structure, so two sibling dialogs that
@@ -518,6 +530,24 @@ preview.
518
530
  </PopoverDialogSurface>;
519
531
  ```
520
532
 
533
+ For a request the person must answer, set `dismiss="manual"` (`popover="manual"`):
534
+ Escape and a press outside leave it open, and only its own controls
535
+ (`popoverTargetAction="hide"`) or `hidePopover()` close it. To dock it to a
536
+ region of the app instead of the viewport center, give it an `anchorName`, a
537
+ CSS dashed ident naming the element it belongs to (the shell's main column).
538
+ While open it sits centered on that element's bottom edge, inset by
539
+ `viewportGutter` and no wider than the element less both gutters. The
540
+ application names that element with a Pane's `anchorName` (see
541
+ `layout.md`), which layouts forward through `PaneConfig`. Engines without
542
+ CSS anchor positioning keep the centered placement. Neither prop applies to an
543
+ embedded surface.
544
+
545
+ ```tsx
546
+ <PopoverDialogSurface id="file-request" labelledBy="file-request-title" dismiss="manual" anchorName="--app-main" preferredWidth={remify(480)}>
547
+ {request}
548
+ </PopoverDialogSurface>;
549
+ ```
550
+
521
551
  Use `DialogSurface` whenever the task must block the page.
522
552
 
523
553
  Wrap one `PopupMenu` (or another single `wa-dropdown`) with `PopupSurface`. `inset="list-zero"` removes menu
@@ -264,10 +264,11 @@ which the tab folds into its accessible name as `"<label>, <badgeLabel>"`:
264
264
 
265
265
  `badgeLabel` defaults to the badge text itself, so supply a localized phrase
266
266
  whenever the bare text would be ambiguous. Omitting `badge` (or passing an
267
- empty string or a non-finite number) renders no badge and leaves the tab's name
268
- as its label; `0` renders, so pass `undefined` when a count should disappear.
269
- Keep the text short — clamp large counts (`"99+"`) in the app. The tone follows
270
- the platform convention and is fixed; do not restyle the badge.
267
+ empty string, a count of `0` or less, or a non-finite number) renders no badge
268
+ and leaves the tab's name as its label, so a count that drops to zero simply
269
+ disappears. A count past `badgeMax` (default 99) shows `99+`, the same rules as
270
+ `Button` and `ToolbarButton`; text is shown as written, so keep it short. The
271
+ tone follows the platform convention and is fixed; do not restyle the badge.
271
272
 
272
273
  ### Dot badges
273
274