@kerfjs/ui 5.0.0-beta.131 → 5.0.0-beta.132

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 (449) hide show
  1. package/README.md +0 -13
  2. package/ai/application-ui-profile-sync.cjs +5 -14
  3. package/ai/application-ui-profile.d.ts +0 -2
  4. package/ai/application-ui-profile.defaults.json +0 -4
  5. package/ai/application-ui-profile.mjs +5 -14
  6. package/ai/application-ui-profile.schema.json +0 -4
  7. package/ai/component-catalog.json +9 -7
  8. package/ai/component-composition-rules.json +2 -10
  9. package/ai/component-composition.d.ts +0 -17
  10. package/ai/component-composition.json +3 -11
  11. package/ai/component-composition.schema.json +0 -59
  12. package/ai/components/disclosure.md +2 -0
  13. package/ai/components/form.md +1 -2
  14. package/ai/components/tab-panel.md +0 -1
  15. package/ai/components/toolbar-control-group.md +2 -2
  16. package/ai/public-api-signatures-v1.md +170 -197
  17. package/ai/skill.md +3 -20
  18. package/ai/webawesome-jsx-signatures-v1.md +1 -1
  19. package/dist/backdrop-image.d.ts +1 -1
  20. package/dist/backdrop-image.js +1 -1
  21. package/dist/badge.js +1 -1
  22. package/dist/button.js +1 -1
  23. package/dist/catalog-resources.d.ts +2 -2
  24. package/dist/catalog.d.ts +2 -2
  25. package/dist/catalog.js +16 -16
  26. package/dist/checkbox-group.js +1 -1
  27. package/dist/checkbox.js +1 -1
  28. package/dist/chip.js +1 -1
  29. package/dist/choice-chips.d.ts +3 -3
  30. package/dist/choice-chips.js +1 -1
  31. package/dist/{chunk-Q5BPZPCO.js → chunk-22T7FFCL.js} +2 -2
  32. package/dist/{chunk-Q5BPZPCO.js.map → chunk-22T7FFCL.js.map} +1 -1
  33. package/dist/{chunk-BCHK33XL.js → chunk-27NEAPV7.js} +2 -2
  34. package/dist/{chunk-BCHK33XL.js.map → chunk-27NEAPV7.js.map} +1 -1
  35. package/dist/{chunk-76BLSFEA.js → chunk-2OYMXGW2.js} +6 -5
  36. package/dist/chunk-2OYMXGW2.js.map +1 -0
  37. package/dist/{chunk-EHR7R7YP.js → chunk-3DPHCZQB.js} +2 -2
  38. package/dist/{chunk-EHR7R7YP.js.map → chunk-3DPHCZQB.js.map} +1 -1
  39. package/dist/{chunk-RPJOLDSR.js → chunk-3UIZ36BP.js} +3 -3
  40. package/dist/{chunk-RPJOLDSR.js.map → chunk-3UIZ36BP.js.map} +1 -1
  41. package/dist/{chunk-QZA75NOK.js → chunk-42NLFCIN.js} +6 -6
  42. package/dist/{chunk-QZA75NOK.js.map → chunk-42NLFCIN.js.map} +1 -1
  43. package/dist/{chunk-UPHPFKAD.js → chunk-4GGIML4E.js} +2 -2
  44. package/dist/{chunk-UPHPFKAD.js.map → chunk-4GGIML4E.js.map} +1 -1
  45. package/dist/{chunk-LET362AM.js → chunk-4YXKDS6I.js} +2 -2
  46. package/dist/{chunk-LET362AM.js.map → chunk-4YXKDS6I.js.map} +1 -1
  47. package/dist/{chunk-5KWXM5O7.js → chunk-5C34PAUY.js} +2 -2
  48. package/dist/{chunk-5KWXM5O7.js.map → chunk-5C34PAUY.js.map} +1 -1
  49. package/dist/{chunk-S7QB5KMM.js → chunk-5L3MLWD5.js} +19 -55
  50. package/dist/chunk-5L3MLWD5.js.map +1 -0
  51. package/dist/{chunk-6PHG2DMG.js → chunk-6OH734CG.js} +2 -2
  52. package/dist/{chunk-6PHG2DMG.js.map → chunk-6OH734CG.js.map} +1 -1
  53. package/dist/{chunk-E7ZRBMVQ.js → chunk-7XIY7G4K.js} +3 -3
  54. package/dist/{chunk-E7ZRBMVQ.js.map → chunk-7XIY7G4K.js.map} +1 -1
  55. package/dist/{chunk-OKZTLRGG.js → chunk-B5Q3KE4Z.js} +2 -2
  56. package/dist/{chunk-OKZTLRGG.js.map → chunk-B5Q3KE4Z.js.map} +1 -1
  57. package/dist/{chunk-SGYBIKQA.js → chunk-BADEZQ3V.js} +4 -4
  58. package/dist/chunk-BADEZQ3V.js.map +1 -0
  59. package/dist/{chunk-CJAKN2KZ.js → chunk-BLBMUD2W.js} +2 -2
  60. package/dist/{chunk-CJAKN2KZ.js.map → chunk-BLBMUD2W.js.map} +1 -1
  61. package/dist/{chunk-TRJS7M2H.js → chunk-BNRH7XG5.js} +2 -2
  62. package/dist/{chunk-TRJS7M2H.js.map → chunk-BNRH7XG5.js.map} +1 -1
  63. package/dist/{chunk-NA4LKVPX.js → chunk-BNXJQB2Y.js} +2 -2
  64. package/dist/{chunk-NA4LKVPX.js.map → chunk-BNXJQB2Y.js.map} +1 -1
  65. package/dist/{chunk-CCPWJDRW.js → chunk-BQHGXQVA.js} +2 -2
  66. package/dist/{chunk-CCPWJDRW.js.map → chunk-BQHGXQVA.js.map} +1 -1
  67. package/dist/{chunk-COQI4OMZ.js → chunk-BRDTP3RT.js} +1 -1
  68. package/dist/chunk-BRDTP3RT.js.map +1 -0
  69. package/dist/{chunk-RGB4DPMN.js → chunk-DGYGRMES.js} +3 -3
  70. package/dist/chunk-DGYGRMES.js.map +1 -0
  71. package/dist/{chunk-V3IXAI4L.js → chunk-DNNHT7RB.js} +2 -2
  72. package/dist/{chunk-V3IXAI4L.js.map → chunk-DNNHT7RB.js.map} +1 -1
  73. package/dist/{chunk-UU37OR3D.js → chunk-DT7KOBQJ.js} +1 -1
  74. package/dist/chunk-DT7KOBQJ.js.map +1 -0
  75. package/dist/{chunk-CUUW57WB.js → chunk-DUKE3PLH.js} +2 -2
  76. package/dist/chunk-DUKE3PLH.js.map +1 -0
  77. package/dist/{chunk-IPYQYLSX.js → chunk-EWCTBJ5O.js} +6 -6
  78. package/dist/{chunk-IPYQYLSX.js.map → chunk-EWCTBJ5O.js.map} +1 -1
  79. package/dist/{chunk-4OH6JSGU.js → chunk-F25UMYDX.js} +2 -2
  80. package/dist/{chunk-4OH6JSGU.js.map → chunk-F25UMYDX.js.map} +1 -1
  81. package/dist/{chunk-C4FBYP2D.js → chunk-FJAAOIMP.js} +2 -2
  82. package/dist/{chunk-C4FBYP2D.js.map → chunk-FJAAOIMP.js.map} +1 -1
  83. package/dist/{chunk-RHMY45DK.js → chunk-H2XGWH4V.js} +5 -5
  84. package/dist/{chunk-RHMY45DK.js.map → chunk-H2XGWH4V.js.map} +1 -1
  85. package/dist/{chunk-76VCWWUA.js → chunk-HSMSTCNZ.js} +2 -2
  86. package/dist/{chunk-76VCWWUA.js.map → chunk-HSMSTCNZ.js.map} +1 -1
  87. package/dist/{chunk-ECVTRAXN.js → chunk-IQOO3ZQK.js} +2 -2
  88. package/dist/{chunk-ECVTRAXN.js.map → chunk-IQOO3ZQK.js.map} +1 -1
  89. package/dist/{chunk-DBP3N6E5.js → chunk-JBL6SCNN.js} +3 -3
  90. package/dist/{chunk-DBP3N6E5.js.map → chunk-JBL6SCNN.js.map} +1 -1
  91. package/dist/{chunk-7KN5OQVN.js → chunk-JNQBPRAA.js} +2 -2
  92. package/dist/{chunk-7KN5OQVN.js.map → chunk-JNQBPRAA.js.map} +1 -1
  93. package/dist/{chunk-CPTQABDQ.js → chunk-JNSPYECP.js} +2 -2
  94. package/dist/{chunk-CPTQABDQ.js.map → chunk-JNSPYECP.js.map} +1 -1
  95. package/dist/{chunk-E7Q6UNCB.js → chunk-KBDYXGYT.js} +2 -2
  96. package/dist/{chunk-E7Q6UNCB.js.map → chunk-KBDYXGYT.js.map} +1 -1
  97. package/dist/{chunk-WVQDIOD7.js → chunk-KKMZP3YL.js} +2 -2
  98. package/dist/{chunk-WVQDIOD7.js.map → chunk-KKMZP3YL.js.map} +1 -1
  99. package/dist/{chunk-WSPXSWFG.js → chunk-KZEHTRPC.js} +3 -3
  100. package/dist/chunk-KZEHTRPC.js.map +1 -0
  101. package/dist/{chunk-KACJOE2N.js → chunk-LH5V6XGH.js} +2 -2
  102. package/dist/{chunk-KACJOE2N.js.map → chunk-LH5V6XGH.js.map} +1 -1
  103. package/dist/{chunk-VBXKYT4O.js → chunk-LH7YRRY7.js} +2 -2
  104. package/dist/{chunk-VBXKYT4O.js.map → chunk-LH7YRRY7.js.map} +1 -1
  105. package/dist/{chunk-QXXLDY6I.js → chunk-LI7AQ5NQ.js} +4 -4
  106. package/dist/{chunk-QXXLDY6I.js.map → chunk-LI7AQ5NQ.js.map} +1 -1
  107. package/dist/{chunk-CAB5IWV7.js → chunk-LSFPZR52.js} +4 -4
  108. package/dist/{chunk-CAB5IWV7.js.map → chunk-LSFPZR52.js.map} +1 -1
  109. package/dist/{chunk-CRHKWHTA.js → chunk-LUWZ7UZQ.js} +4 -4
  110. package/dist/{chunk-CRHKWHTA.js.map → chunk-LUWZ7UZQ.js.map} +1 -1
  111. package/dist/{chunk-CMG4OZPV.js → chunk-LWWIBUDK.js} +2 -2
  112. package/dist/{chunk-CMG4OZPV.js.map → chunk-LWWIBUDK.js.map} +1 -1
  113. package/dist/{chunk-LOW7J7SE.js → chunk-MHF2NK7F.js} +4 -4
  114. package/dist/{chunk-LOW7J7SE.js.map → chunk-MHF2NK7F.js.map} +1 -1
  115. package/dist/{chunk-JHUEYWWI.js → chunk-MPM6YBOM.js} +2 -2
  116. package/dist/{chunk-JHUEYWWI.js.map → chunk-MPM6YBOM.js.map} +1 -1
  117. package/dist/{chunk-3UEMBHBK.js → chunk-MPT6Y7Z2.js} +2 -2
  118. package/dist/{chunk-3UEMBHBK.js.map → chunk-MPT6Y7Z2.js.map} +1 -1
  119. package/dist/{chunk-OZKBIPXU.js → chunk-NO2XO7S6.js} +3 -3
  120. package/dist/{chunk-OZKBIPXU.js.map → chunk-NO2XO7S6.js.map} +1 -1
  121. package/dist/{chunk-FQETQ7CM.js → chunk-NSNQWDJ4.js} +2 -2
  122. package/dist/{chunk-FQETQ7CM.js.map → chunk-NSNQWDJ4.js.map} +1 -1
  123. package/dist/{chunk-UOBC36FL.js → chunk-OW2ODKHN.js} +2 -2
  124. package/dist/{chunk-UOBC36FL.js.map → chunk-OW2ODKHN.js.map} +1 -1
  125. package/dist/{chunk-PVKAIVKE.js → chunk-P427MACE.js} +63 -74
  126. package/dist/chunk-P427MACE.js.map +1 -0
  127. package/dist/{chunk-FR5G77K5.js → chunk-PJKH2GZ3.js} +2 -2
  128. package/dist/{chunk-FR5G77K5.js.map → chunk-PJKH2GZ3.js.map} +1 -1
  129. package/dist/{chunk-FNJA4S6J.js → chunk-QNA27ABY.js} +3 -3
  130. package/dist/{chunk-FNJA4S6J.js.map → chunk-QNA27ABY.js.map} +1 -1
  131. package/dist/{chunk-6BXPN5SC.js → chunk-RO3TSZ5W.js} +3 -3
  132. package/dist/{chunk-6BXPN5SC.js.map → chunk-RO3TSZ5W.js.map} +1 -1
  133. package/dist/{chunk-4IXG6XCT.js → chunk-RUCUU7Z7.js} +2 -2
  134. package/dist/{chunk-4IXG6XCT.js.map → chunk-RUCUU7Z7.js.map} +1 -1
  135. package/dist/{chunk-2FA3SX57.js → chunk-RYBJ7OZB.js} +4 -4
  136. package/dist/{chunk-2FA3SX57.js.map → chunk-RYBJ7OZB.js.map} +1 -1
  137. package/dist/{chunk-QSJAIXLM.js → chunk-SDQZYSCA.js} +3 -3
  138. package/dist/{chunk-QSJAIXLM.js.map → chunk-SDQZYSCA.js.map} +1 -1
  139. package/dist/{chunk-3XSY5LAB.js → chunk-SXZTDJMG.js} +4 -4
  140. package/dist/{chunk-3XSY5LAB.js.map → chunk-SXZTDJMG.js.map} +1 -1
  141. package/dist/{chunk-LJV2FNOC.js → chunk-T7M5FKCE.js} +3 -3
  142. package/dist/{chunk-LJV2FNOC.js.map → chunk-T7M5FKCE.js.map} +1 -1
  143. package/dist/{chunk-KS7EXW4P.js → chunk-TIRBSPP2.js} +2 -2
  144. package/dist/{chunk-KS7EXW4P.js.map → chunk-TIRBSPP2.js.map} +1 -1
  145. package/dist/{chunk-XO5IOPM5.js → chunk-TNJGPG6R.js} +8 -8
  146. package/dist/{chunk-XO5IOPM5.js.map → chunk-TNJGPG6R.js.map} +1 -1
  147. package/dist/{chunk-2GEGIPDR.js → chunk-U5SQOZNK.js} +4 -4
  148. package/dist/{chunk-2GEGIPDR.js.map → chunk-U5SQOZNK.js.map} +1 -1
  149. package/dist/{chunk-Y4VR6VNM.js → chunk-UPOS666Q.js} +2 -2
  150. package/dist/{chunk-Y4VR6VNM.js.map → chunk-UPOS666Q.js.map} +1 -1
  151. package/dist/{chunk-YE6KCAIN.js → chunk-USSGJ3MD.js} +2 -2
  152. package/dist/{chunk-YE6KCAIN.js.map → chunk-USSGJ3MD.js.map} +1 -1
  153. package/dist/{chunk-4UWLHKNU.js → chunk-UWLJ7UEK.js} +3 -3
  154. package/dist/{chunk-4UWLHKNU.js.map → chunk-UWLJ7UEK.js.map} +1 -1
  155. package/dist/{chunk-SNUDT6AX.js → chunk-VHAYQGWR.js} +2 -2
  156. package/dist/{chunk-SNUDT6AX.js.map → chunk-VHAYQGWR.js.map} +1 -1
  157. package/dist/{chunk-DV6GE57V.js → chunk-VWGRAE2Q.js} +2 -2
  158. package/dist/chunk-VWGRAE2Q.js.map +1 -0
  159. package/dist/{chunk-4L5ZIKDZ.js → chunk-W7J3MQNV.js} +2 -2
  160. package/dist/{chunk-4L5ZIKDZ.js.map → chunk-W7J3MQNV.js.map} +1 -1
  161. package/dist/{chunk-MVWR5WRX.js → chunk-WWDDKUDW.js} +3 -3
  162. package/dist/{chunk-MVWR5WRX.js.map → chunk-WWDDKUDW.js.map} +1 -1
  163. package/dist/{chunk-WEQNPYVA.js → chunk-XXKRHKFH.js} +2 -2
  164. package/dist/{chunk-WEQNPYVA.js.map → chunk-XXKRHKFH.js.map} +1 -1
  165. package/dist/{chunk-OQFWF7Q7.js → chunk-XZ253TGP.js} +3 -3
  166. package/dist/{chunk-OQFWF7Q7.js.map → chunk-XZ253TGP.js.map} +1 -1
  167. package/dist/{chunk-3TBMGGTA.js → chunk-Y672Z7QY.js} +2 -2
  168. package/dist/{chunk-3TBMGGTA.js.map → chunk-Y672Z7QY.js.map} +1 -1
  169. package/dist/{chunk-MMOQR426.js → chunk-YS3H6DEQ.js} +2 -2
  170. package/dist/{chunk-MMOQR426.js.map → chunk-YS3H6DEQ.js.map} +1 -1
  171. package/dist/{chunk-QR7MGGOM.js → chunk-YVGHWCMY.js} +3 -3
  172. package/dist/{chunk-QR7MGGOM.js.map → chunk-YVGHWCMY.js.map} +1 -1
  173. package/dist/{chunk-4CYCJ3NY.js → chunk-Z4PGAYO7.js} +10 -10
  174. package/dist/{chunk-4CYCJ3NY.js.map → chunk-Z4PGAYO7.js.map} +1 -1
  175. package/dist/{chunk-JAC6AVZN.js → chunk-ZIZXXYXM.js} +3 -3
  176. package/dist/{chunk-JAC6AVZN.js.map → chunk-ZIZXXYXM.js.map} +1 -1
  177. package/dist/collapsible-panel.d.ts +5 -5
  178. package/dist/collapsible-panel.js +4 -4
  179. package/dist/collapsible-panel.js.map +1 -1
  180. package/dist/color-field.js +2 -2
  181. package/dist/color-picker.js +1 -1
  182. package/dist/color-swatches.js +1 -1
  183. package/dist/column-explorer.d.ts +2 -2
  184. package/dist/column-explorer.js +166 -21
  185. package/dist/column-explorer.js.map +1 -1
  186. package/dist/column-track.d.ts +1 -1
  187. package/dist/column-track.js +1 -1
  188. package/dist/combobox.d.ts +3 -3
  189. package/dist/combobox.js +1 -1
  190. package/dist/content-item.d.ts +1 -1
  191. package/dist/content-item.js +1 -1
  192. package/dist/content-swap.d.ts +3 -3
  193. package/dist/content-swap.js +1 -1
  194. package/dist/corner-status.d.ts +3 -3
  195. package/dist/corner-status.js +1 -1
  196. package/dist/device-class.js +101 -1
  197. package/dist/device-class.js.map +1 -1
  198. package/dist/disclosure-arrow.d.ts +3 -3
  199. package/dist/disclosure-arrow.js +1 -1
  200. package/dist/disclosure.d.ts +14 -2
  201. package/dist/disclosure.js +13 -4
  202. package/dist/disclosure.js.map +1 -1
  203. package/dist/edge-activity-indicator.d.ts +3 -3
  204. package/dist/edge-activity-indicator.js +1 -1
  205. package/dist/empty-state.d.ts +3 -3
  206. package/dist/empty-state.js +1 -1
  207. package/dist/{extension-attributes-IJ4decoa.d.ts → extension-attributes-CnqvBmj3.d.ts} +1 -1
  208. package/dist/file-picker.d.ts +3 -3
  209. package/dist/file-picker.js +1 -1
  210. package/dist/floating-toolbar.d.ts +3 -3
  211. package/dist/floating-toolbar.js +1 -1
  212. package/dist/form.d.ts +3 -3
  213. package/dist/form.js +1 -1
  214. package/dist/framed-list.js +1 -1
  215. package/dist/gauge.js +1 -1
  216. package/dist/grid.js +1 -1
  217. package/dist/index.d.ts +2 -2
  218. package/dist/index.js +68 -68
  219. package/dist/list-action-row.js +1 -1
  220. package/dist/list-detail-dialog.d.ts +3 -3
  221. package/dist/list-detail-dialog.js +7 -7
  222. package/dist/list-detail-dialog.js.map +1 -1
  223. package/dist/list-header.d.ts +1 -1
  224. package/dist/list-header.js +1 -1
  225. package/dist/list-inset-control.d.ts +3 -3
  226. package/dist/list-inset-control.js +1 -1
  227. package/dist/list-inset-text.js +1 -1
  228. package/dist/list-item.js +1 -1
  229. package/dist/list.d.ts +1 -1
  230. package/dist/list.js +1 -1
  231. package/dist/loading-spinner.d.ts +3 -3
  232. package/dist/loading-spinner.js +1 -1
  233. package/dist/lucide-icon.d.ts +3 -3
  234. package/dist/lucide-icon.js +1 -1
  235. package/dist/message-composer.js +1 -1
  236. package/dist/{nav-stack-DKrvqFjA.d.ts → nav-stack-IKSMxo2A.d.ts} +3 -3
  237. package/dist/nav-stack.d.ts +2 -2
  238. package/dist/nav-stack.js +1 -1
  239. package/dist/paged-view.d.ts +3 -3
  240. package/dist/paged-view.js +1 -1
  241. package/dist/paged-view.js.map +1 -1
  242. package/dist/pane.js +1 -1
  243. package/dist/popup-menu-register.js +1 -1
  244. package/dist/popup-menu.d.ts +1 -20
  245. package/dist/popup-menu.js +1 -1
  246. package/dist/progress-bar.js +1 -1
  247. package/dist/progress-ring.js +1 -1
  248. package/dist/radio-group.js +1 -1
  249. package/dist/resizable-region.d.ts +3 -3
  250. package/dist/resizable-region.js +1 -1
  251. package/dist/row.d.ts +1 -1
  252. package/dist/row.js +1 -1
  253. package/dist/scroll-effect.d.ts +1 -1
  254. package/dist/scroll-effect.js +1 -1
  255. package/dist/{search-field-7wLt3Bd5.d.ts → search-field-BA48RaJY.d.ts} +3 -3
  256. package/dist/search-field-model.d.ts +2 -2
  257. package/dist/search-field.d.ts +2 -2
  258. package/dist/search-field.js +1 -1
  259. package/dist/segmented-control.d.ts +3 -3
  260. package/dist/segmented-control.js +1 -1
  261. package/dist/select-register.js +2 -2
  262. package/dist/select-register.js.map +1 -1
  263. package/dist/select.d.ts +3 -13
  264. package/dist/select.js +1 -1
  265. package/dist/sized-region.d.ts +3 -3
  266. package/dist/sized-region.js +1 -1
  267. package/dist/skeleton.d.ts +3 -3
  268. package/dist/skeleton.js +1 -1
  269. package/dist/slider.js +1 -1
  270. package/dist/spacer.d.ts +3 -3
  271. package/dist/spacer.js +1 -1
  272. package/dist/split-button.js +1 -1
  273. package/dist/split-view.d.ts +4 -4
  274. package/dist/split-view.js +1 -1
  275. package/dist/state-banner.js +1 -1
  276. package/dist/styles/components/actions/popup-menu/popup-menu.css +0 -124
  277. package/dist/styles/components/actions/toolbar/toolbar.css +0 -7
  278. package/dist/styles/components/forms/select/select.css +0 -60
  279. package/dist/styles/components/forms/text-field/text-field.css +1 -1
  280. package/dist/styles/components/surfaces/disclosure/disclosure.css +24 -4
  281. package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +1 -1
  282. package/dist/styles/disclosure.css +24 -4
  283. package/dist/styles/popup-menu.css +0 -124
  284. package/dist/styles/select.css +0 -60
  285. package/dist/styles/surface-scaffold.css +1 -1
  286. package/dist/styles/text-field.css +1 -1
  287. package/dist/styles/toolbar.css +0 -7
  288. package/dist/styles/webawesome.css +7 -0
  289. package/dist/summary-row.js +1 -1
  290. package/dist/sunken-panel.d.ts +3 -3
  291. package/dist/sunken-panel.js +1 -1
  292. package/dist/surface-scaffold.d.ts +9 -5
  293. package/dist/surface-scaffold.js +1 -1
  294. package/dist/switch.js +1 -1
  295. package/dist/tab-bar-item.js +1 -1
  296. package/dist/tab-bar.d.ts +3 -3
  297. package/dist/tab-bar.js +1 -1
  298. package/dist/tab-navigator.d.ts +3 -3
  299. package/dist/tab-navigator.js +2 -2
  300. package/dist/tab-navigator.js.map +1 -1
  301. package/dist/tab-panel.d.ts +3 -3
  302. package/dist/tab-panel.js +1 -1
  303. package/dist/tag-field.d.ts +3 -3
  304. package/dist/tag-field.js +1 -1
  305. package/dist/text-field.d.ts +2 -2
  306. package/dist/text-field.js +1 -1
  307. package/dist/text.d.ts +1 -1
  308. package/dist/text.js +1 -1
  309. package/dist/toolbar-control-group.d.ts +7 -7
  310. package/dist/toolbar-control-group.js +1 -1
  311. package/dist/toolbar-text.d.ts +3 -3
  312. package/dist/toolbar-text.js +1 -1
  313. package/dist/toolbar.d.ts +3 -3
  314. package/dist/toolbar.js +1 -1
  315. package/dist/tree-list.d.ts +3 -3
  316. package/dist/tree-list.js +151 -3
  317. package/dist/tree-list.js.map +1 -1
  318. package/dist/{tree-rows-Bms5QJvG.d.ts → tree-rows-BXChApji.d.ts} +1 -1
  319. package/dist/value-preview.d.ts +3 -3
  320. package/dist/value-preview.js +1 -1
  321. package/dist/value-table.d.ts +5 -5
  322. package/dist/value-table.js +1 -1
  323. package/dist/wire-catalog.d.ts +2 -2
  324. package/dist/wire-catalog.js +2 -2
  325. package/dist/wire-color-fields.js +73 -2
  326. package/dist/wire-color-fields.js.map +1 -1
  327. package/dist/wire-color-pickers.js +1 -1
  328. package/dist/wire-column-explorer.js +92 -1
  329. package/dist/wire-column-explorer.js.map +1 -1
  330. package/dist/wire-content-items.js +204 -1
  331. package/dist/wire-content-items.js.map +1 -1
  332. package/dist/wire-nav-stack.js +423 -1
  333. package/dist/wire-nav-stack.js.map +1 -1
  334. package/dist/wire-resizable-regions.js +1 -1
  335. package/dist/wire-search-fields.d.ts +2 -2
  336. package/dist/wire-search-fields.js +1 -1
  337. package/dist/wire-sidebar.js +228 -1
  338. package/dist/wire-sidebar.js.map +1 -1
  339. package/dist/wire-sliders.js +29 -1
  340. package/dist/wire-sliders.js.map +1 -1
  341. package/dist/wire-tab-bars.d.ts +1 -1
  342. package/dist/wire-tab-navigator.js +150 -1
  343. package/dist/wire-tab-navigator.js.map +1 -1
  344. package/dist/wire-tag-fields.js +252 -2
  345. package/dist/wire-tag-fields.js.map +1 -1
  346. package/dist/wire-tree-list.js +186 -1
  347. package/dist/wire-tree-list.js.map +1 -1
  348. package/dist/wire-workbench.js +1 -1
  349. package/dist/workbench-dialog.d.ts +3 -3
  350. package/dist/workbench-dialog.js +5 -5
  351. package/dist/workbench-dialog.js.map +1 -1
  352. package/dist/workbench.d.ts +4 -4
  353. package/dist/workbench.js +1 -1
  354. package/docs/accessibility.md +1 -1
  355. package/docs/component-contract.md +4 -3
  356. package/docs/component-selection.md +1 -1
  357. package/docs/disclosure.md +22 -0
  358. package/docs/list-detail-dialog.md +2 -3
  359. package/docs/scroll-effect.md +2 -2
  360. package/docs/surface-scaffold.md +5 -6
  361. package/docs/workbench-dialog.md +2 -3
  362. package/llms.txt +3 -44
  363. package/package.json +3 -33
  364. package/ux-demo/recipes/app-shell.tsx +141 -48
  365. package/ux-demo/recipes/collapsible-sidebar.tsx +169 -43
  366. package/ux-demo/recipes/compact-toolbar.tsx +114 -22
  367. package/ux-demo/recipes/composer-form.tsx +104 -14
  368. package/ux-demo/recipes/list-detail-dialog.tsx +84 -38
  369. package/ux-demo/recipes/list-workspace-states.tsx +152 -29
  370. package/ux-demo/recipes/loading-inspector.tsx +174 -30
  371. package/ux-demo/recipes/media-detail.tsx +146 -29
  372. package/ux-demo/recipes/navigation-sidebar.tsx +113 -24
  373. package/ux-demo/recipes/navigation-stack.tsx +43 -7
  374. package/ux-demo/recipes/workspace-header.tsx +66 -2
  375. package/ai/component-props-overlay.json +0 -8910
  376. package/ai/component-props-overlay.schema.json +0 -82
  377. package/ai/component-props.json +0 -34289
  378. package/ai/component-props.schema.json +0 -408
  379. package/ai/view-document.schema.json +0 -467
  380. package/dist/browser/editor.js +0 -50
  381. package/dist/chunk-3K5V3ZSD.js +0 -77
  382. package/dist/chunk-3K5V3ZSD.js.map +0 -1
  383. package/dist/chunk-63TJH2RF.js +0 -231
  384. package/dist/chunk-63TJH2RF.js.map +0 -1
  385. package/dist/chunk-6V6UHPJD.js +0 -153
  386. package/dist/chunk-6V6UHPJD.js.map +0 -1
  387. package/dist/chunk-76BLSFEA.js.map +0 -1
  388. package/dist/chunk-COQI4OMZ.js.map +0 -1
  389. package/dist/chunk-CUUW57WB.js.map +0 -1
  390. package/dist/chunk-D2KHQNJ6.js +0 -155
  391. package/dist/chunk-D2KHQNJ6.js.map +0 -1
  392. package/dist/chunk-DV6GE57V.js.map +0 -1
  393. package/dist/chunk-FCO7BT4P.js +0 -256
  394. package/dist/chunk-FCO7BT4P.js.map +0 -1
  395. package/dist/chunk-GHV36C6I.js +0 -94
  396. package/dist/chunk-GHV36C6I.js.map +0 -1
  397. package/dist/chunk-HPOXLOVC.js +0 -184
  398. package/dist/chunk-HPOXLOVC.js.map +0 -1
  399. package/dist/chunk-I2K4OQKB.js +0 -426
  400. package/dist/chunk-I2K4OQKB.js.map +0 -1
  401. package/dist/chunk-PVKAIVKE.js.map +0 -1
  402. package/dist/chunk-RGB4DPMN.js.map +0 -1
  403. package/dist/chunk-S7QB5KMM.js.map +0 -1
  404. package/dist/chunk-SGYBIKQA.js.map +0 -1
  405. package/dist/chunk-TXBNPEIJ.js +0 -31
  406. package/dist/chunk-TXBNPEIJ.js.map +0 -1
  407. package/dist/chunk-UU37OR3D.js.map +0 -1
  408. package/dist/chunk-WCMGPAY2.js +0 -103
  409. package/dist/chunk-WCMGPAY2.js.map +0 -1
  410. package/dist/chunk-WSPXSWFG.js.map +0 -1
  411. package/dist/chunk-X43QQWVC.js +0 -208
  412. package/dist/chunk-X43QQWVC.js.map +0 -1
  413. package/dist/chunk-YA6OAJY6.js +0 -155
  414. package/dist/chunk-YA6OAJY6.js.map +0 -1
  415. package/dist/editor.d.ts +0 -447
  416. package/dist/editor.js +0 -15608
  417. package/dist/editor.js.map +0 -1
  418. package/dist/styles/editor/editor.css +0 -585
  419. package/dist/styles/editor.css +0 -4
  420. package/dist/view-runtime.d.ts +0 -9
  421. package/dist/view-runtime.js +0 -8
  422. package/dist/view-runtime.js.map +0 -1
  423. package/docs/editor-host.md +0 -397
  424. package/docs/view.md +0 -314
  425. package/props/cli.d.mts +0 -1
  426. package/props/cli.mjs +0 -142
  427. package/props/component-props.d.mts +0 -180
  428. package/props/component-props.mjs +0 -1208
  429. package/view/catalog.mjs +0 -229
  430. package/view/child-kind.mjs +0 -22
  431. package/view/cli.d.mts +0 -18
  432. package/view/cli.mjs +0 -316
  433. package/view/contract.mjs +0 -418
  434. package/view/css-grammar.mjs +0 -93
  435. package/view/generate.d.mts +0 -16
  436. package/view/generate.mjs +0 -739
  437. package/view/index.d.mts +0 -491
  438. package/view/index.mjs +0 -36
  439. package/view/interpret.mjs +0 -339
  440. package/view/project-types-worker.mjs +0 -55
  441. package/view/project-types.d.mts +0 -43
  442. package/view/project-types.mjs +0 -618
  443. package/view/type-expression.d.mts +0 -15
  444. package/view/type-expression.mjs +0 -162
  445. package/view/types.mjs +0 -165
  446. package/view/validate-move.mjs +0 -353
  447. package/view/validate.mjs +0 -1649
  448. package/vite-editor.d.mts +0 -173
  449. package/vite-editor.mjs +0 -548
@@ -1,7 +1,7 @@
1
1
  import { SafeHtml } from 'kerfjs';
2
- import { b as NavPane, N as NavStackProps } from './nav-stack-DKrvqFjA.js';
2
+ import { b as NavPane, N as NavStackProps } from './nav-stack-IKSMxo2A.js';
3
3
  import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
4
- import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
4
+ import { R as RootDataAttributes } from './extension-attributes-CnqvBmj3.js';
5
5
  import { ListConfig } from './list.js';
6
6
  import { PaneConfig } from './pane.js';
7
7
  import { ResizableRegionSeparator, ResizableRegionCollapseMotion, ResizableRegionContentOverflow, ResizableRegionPresentation, ResizableRegionRestorePosition } from './resizable-region.js';
@@ -272,8 +272,8 @@ interface WorkbenchProps {
272
272
  className?: string;
273
273
  /** Native named-slot assignment when composed inside a web component. */
274
274
  slot?: string;
275
- /** Application `data-*` metadata on the root, such as a row key or an
276
- * editor node marker; the component's own markers stay protected. */
275
+ /** Application `data-*` metadata on the root, such as a row key or a
276
+ * test hook; the component's own markers stay protected. */
277
277
  rootAttributes?: RootDataAttributes;
278
278
  }
279
279
  /**
package/dist/workbench.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Workbench } from './chunk-4CYCJ3NY.js';
1
+ export { Workbench } from './chunk-Z4PGAYO7.js';
2
2
 
3
3
 
4
4
 
@@ -621,7 +621,7 @@ and `change` events as typing would, and returns focus to the field. A
621
621
  disabled or read-only field's clear button is disabled. `toggle` adds an
622
622
  icon toggle `<button>` after the input (after the clear button), named by its
623
623
  `label`, reporting `aria-pressed`, and running its delegated `action`; the
624
- application flips `pressed` (a password's Show, an editor's Not set). It is a
624
+ application flips `pressed` (such as a password's Show). It is a
625
625
  normal Tab stop and is disabled with a disabled or read-only field. A
626
626
  multi-line field keeps it after its textarea, pinned to the top end.
627
627
  `showCount` (with
@@ -79,6 +79,9 @@ CSS boundaries, diagnostics, and provenance. A wrapper entry may add
79
79
  composition checks treat its elements as each root rather than as an unknown
80
80
  child. A placement with listed parent constraints produces one `KUI-L201`
81
81
  diagnostic even when both the wrapper and a rendered root reject that parent.
82
+ A listed parent is a catalog key, or a key and one of its props
83
+ (`@kerfjs/ui:surface-scaffold#headerActions`) that accepts the child only
84
+ through that prop.
82
85
  When one catalog entry exports another JSX component with different placement,
83
86
  `jsxExports` gives that export its own parent contract. The extra export does
84
87
  not stand for the entry's root when a parent zone is checked.
@@ -95,9 +98,7 @@ list of `{ kind, whenProps? }` rules in the selection catalog that
95
98
  `catalog:sync` copies into composition: `root` when its own root is a native
96
99
  control or link, `contains` when it renders one inside, and `whenProps` when
97
100
  only some props make it so. `content.exports` gives additional JSX exports
98
- their own rules; they do not inherit the entry's. `validateView` reports a
99
- `root` or `contains` element anywhere in a `root` element's zones as
100
- `KUI-V014`.
101
+ their own rules; they do not inherit the entry's.
101
102
  Generated `boundaries.rootClass` prefers the public `kui-<entry-id>` class when
102
103
  present, so a sibling export's class cannot become the entry's root class.
103
104
 
@@ -872,7 +872,7 @@ first), Up/Down/Home/End move focus without selecting, and Enter or Space
872
872
  selects the focused option by dispatching its click, so the app's ordinary
873
873
  delegated `data-action` handler changes the selection. Name that action with
874
874
  the option's `action` prop (rendered as `data-action`, as on ContentItem and
875
- ListItem), so a view document and the editor's play log see it; a
875
+ ListItem), so the app's delegated handler finds it by name; a
876
876
  `data-action` in `rootAttributes` still works, and `action` wins when both are
877
877
  set. A `semanticRole="group"` row takes no `action`. The app owns the
878
878
  selection state.
@@ -61,6 +61,28 @@ embedded Disclosure as `KUI-L204`.
61
61
  Use `embedded` only inside owner chrome. On a pane or a list, the default
62
62
  geometry is what puts the Disclosure on the shared content column.
63
63
 
64
+ ## Compact size
65
+
66
+ `size="compact"` is for a small, quiet disclosure of secondary detail inside
67
+ content, such as a note's AI feedback: the arrow is 14px instead of 18px, the
68
+ summary takes the extra-small type, and the content starts on the title's text
69
+ column after the narrower arrow. Give it a quiet title for a small gray row.
70
+ It works with every appearance; an embedded compact summary keeps its 24px row.
71
+
72
+ ```tsx
73
+ <Disclosure
74
+ title={<Text variant="span" flush tone="quiet">AI Feedback</Text>}
75
+ appearance="embedded"
76
+ size="compact"
77
+ >
78
+ <Text flush size="compact" tone="quiet">Group Export and Share.</Text>
79
+ </Disclosure>;
80
+ ```
81
+
82
+ Size the arrow with `size`, not by setting `--kui-disclosure-arrow-size` in
83
+ application CSS: that token is a theme-level default for every disclosure
84
+ arrow, and `kerf-ui-doctor` reports an application override as `KUI-L021`.
85
+
64
86
  ## Open state
65
87
 
66
88
  The open state belongs to the native `<details>` once it is on the page. A
@@ -97,9 +97,8 @@ 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
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.
100
+ `height`, for a catalog, an inline preview, or a document; `openDialog()` and
101
+ `closeDialog()` leave it alone.
103
102
 
104
103
  See the [list-detail dialog recipe](recipes.md#list-detail-dialog) for a
105
104
  complete, production-backed example.
@@ -26,8 +26,8 @@ import { ScrollEffect } from '@kerfjs/ui/scroll-effect';
26
26
 
27
27
  - `effects` (required): a list of presets. A kind may repeat; repeats stack like any other effects.
28
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.
29
+ - `rootAttributes`: application `data-*` metadata on the root, such as a
30
+ row key or a test hook. The component's own markers stay protected.
31
31
 
32
32
  ### Presets
33
33
 
@@ -102,8 +102,6 @@ the drop shadow. Use it where
102
102
  a dialog is shown rather than opened, such as a catalog specimen, a design
103
103
  canvas, or a document. `openDialog` and `closeDialog` leave an embedded dialog
104
104
  alone, and its close button and `data-dialog-close` controls do not hide it.
105
- The Kerf UI editor shows every DialogSurface embedded on its edit canvas so its
106
- content can be seen and selected; play mode keeps the authored presentation.
107
105
 
108
106
  ### Sibling dialogs keep their identity
109
107
 
@@ -586,15 +584,16 @@ hand-built draggable panel. It takes the same geometry props as
586
584
  `minHeight` accepts a branded `CssLength` and protects fixed controls plus a
587
585
  useful content region while resizing. CSS resolves the length and caps the
588
586
  minimum by `maxHeight` and the available dynamic viewport. Resizable overlays
589
- default to 160px; the editor Library configures 320px for its header, view tabs,
590
- search field, and visible result rows. Keyboard resize reports the actual
587
+ default to 160px; raise it when fixed header controls and a few visible rows
588
+ must stay usable. Keyboard resize reports the actual
591
589
  constrained box, so stored height agrees with what the person sees.
592
590
 
593
591
  The surface is `popover="manual"`, so the controller provides its light
594
592
  dismiss; changing an `auto` popover into a pinned one is not possible while
595
593
  it is open. The title is the move handle: a focusable button named by the
596
594
  label, whose accessible description (`moveDescription`) explains the drag
597
- and the keys. Focus stays where the person puts it, as with any non-modal
595
+ and the keys. The default adds that moving pins the surface only when it is
596
+ `pinnable`; a persistent surface is always pinned. Focus stays where the person puts it, as with any non-modal
598
597
  popover; give its first control `autofocus` to move focus in on open.
599
598
 
600
599
  The application owns storage. `onChange` reports `{ pinned, placement, reason }`
@@ -656,7 +655,7 @@ The controller keeps its pinned state, placement, and the Pin toggle's
656
655
  `aria-pressed` across application re-renders. An application that closes the
657
656
  panel after a task (a drop from a library) checks `isPopoverPinned()` first.
658
657
  `presentation="embedded"` (with `pinned` for the pinned look) renders it in
659
- flow for a catalog or a design canvas, with its border and no drop shadow;
658
+ flow for a catalog or an inline preview, with its border and no drop shadow;
660
659
  `wirePinnablePopover` leaves an embedded surface alone.
661
660
 
662
661
  Wrap one `PopupMenu` (or another single `wa-dropdown`) with `PopupSurface`. `inset="none"` removes menu
@@ -81,9 +81,8 @@ Escape closes the dialog.
81
81
  - `leftRail`, `rightRail`, `bottomDrawer`: `WorkbenchPanel`s.
82
82
  - `compact`, `closeLabel` (default `Close`), `lightDismiss`.
83
83
  - `embedded`: render in flow and always shown, keeping `height`, for a
84
- catalog, a design canvas, or a document. `openDialog()` and `closeDialog()`
85
- leave it alone. The Kerf UI editor shows a WorkbenchDialog this way on its
86
- edit canvas.
84
+ catalog, an inline preview, or a document. `openDialog()` and `closeDialog()`
85
+ leave it alone.
87
86
  - Roomy sizing: `size` (default `large`), `preferredWidth`, `height` (default
88
87
  560px), `maxHeight`, `viewportGutter`, and `mainMinSize`.
89
88
  - `rootAttributes`, `className`, `slot`.
package/llms.txt CHANGED
@@ -140,29 +140,6 @@ explains when to reuse, compose, extend, or use native HTML.
140
140
  surface; the composition layer joins catalogs by `package:id`. Consumer
141
141
  composition catalogs use
142
142
  [the composition extension schema](./ai/component-composition-extension.schema.json).
143
- A tool that needs structured props (an inspector form, a document
144
- validator, or a generated typed contract) loads
145
- [component props](./ai/component-props.json) (schema alongside). It is
146
- generated from the published declarations and Web Awesome's manifest, and
147
- gives each component's props as a type grammar with required, default, enum
148
- values, zone or slot, css-value grammar, and discriminated `variants`. Named
149
- types live once in `definitions`. A component package generates its own
150
- with `kerf-ui-props --write` after its build. Join it by `key` (`package:id`, or
151
- `package:id#Export`).
152
- A tool that reads or writes Kerf UI view documents (`*.kui.json`, the
153
- editor's JSON source of truth) validates them with `validateView` from
154
- `@kerfjs/ui/view` against `component-props.json` and
155
- `component-composition.json`. The shape schema is
156
- [view-document.schema.json](./ai/view-document.schema.json). A zone key
157
- may name a content field inside a prop value (`leftRail.content`,
158
- `views.0.content`) to put nodes there. Generate the
159
- read-only `*.view.ts` module with `kerf-ui-view generate <doc>`. Never edit
160
- it; `kerf-ui-view check` fails on hand edits, and `kerf-ui-view diff` lists
161
- breaking contract changes first. A server-driven app renders documents at
162
- runtime with `interpretView`, passing the `<name>Contract` from a
163
- `--declarations-only` module so a changed document fails loudly. The
164
- [view documents guide](./docs/view.md) covers the format, the generated
165
- module and its contract, the CLI, and the `@kerfjs/ui/view` API.
166
143
  Load [compile-time contracts](./ai/compile-time-contracts-v1.json) for stable
167
144
  `KUI-T###` ids, exact declaration symbols, and the boundary between rejected
168
145
  source states and relationships that still require runtime/catalog checks.
@@ -499,13 +476,7 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
499
476
  `popupNote` (on `Select` and `PopupMenu`) is quiet text at the bottom of
500
477
  the open popup, announced as the listbox's or menu's description; use it
501
478
  for what the choices leave out, notably in a toolbar Select, which has no
502
- room for a `hint` below its trigger. `embedded` (on both) renders the
503
- popup open at its trigger, in the document, and inert: in flow below the
504
- trigger (a Select's listbox before its `hint`), or overlaying inside a
505
- Toolbar so the control band keeps its height (no opening, no choosing, no row focus, no
506
- `data-action`); PopupMenu `embeddedSubmenu` (a path of `items` indices)
507
- also shows that submenu open beside its item: a static preview such as the Kerf UI editor's
508
- edit canvas, never a replacement for an interactive popup.
479
+ room for a `hint` below its trigger.
509
480
  - **Trust the defaults.** Render a control at its natural size and color (a
510
481
  `LucideIcon` is 24px); if it looks wrong, fix the surrounding layout, not the
511
482
  control. Never force a component's width/height to size it — that leaves a halo
@@ -945,7 +916,8 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
945
916
  native details element with a DisclosureArrow on content-item geometry,
946
917
  `plain` / `framed` / `sunken`, or `embedded` inside a `ContentItem` (no
947
918
  margin, border, or padding of its own, a compact summary, `flush` `Text`
948
- content); Disclosures sharing a `name` form an accordion. Never use `wa-details` or `wa-accordion`.
919
+ content); `size="compact"` (a 14px arrow and extra-small type) for a small
920
+ quiet in-content disclosure; Disclosures sharing a `name` form an accordion. Never use `wa-details` or `wa-accordion`.
949
921
  - **Show progress with `ProgressBar` or `ProgressRing`** (`@kerfjs/ui/progress-bar`,
950
922
  `@kerfjs/ui/progress-ring`): `value` of `max` (omit `value` for
951
923
  indeterminate), a `label`, `valueText`, tones. Never use `wa-progress-bar` or
@@ -960,13 +932,6 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
960
932
  - **Collect tags with `TagField`** (`@kerfjs/ui/tag-field`): SearchField's
961
933
  token editor as a form field, a hidden input per tag; call
962
934
  `wireTagFields(root, { onChange })` and re-render. Never use `wa-tag-input`.
963
- - **Edit view documents in your app with `@kerfjs/ui/vite-editor`**:
964
- `plugins: [kerfUiEditor()]` serves the Kerf UI editor at
965
- `/__kerf-ui-editor/` on the dev server, previewing the components your
966
- `.kerf-ui-profile.json` catalogs declare with their real functions. Edit
967
- one of your types your own way by exporting `FieldEditors` (type name →
968
- `{ render(context), container?, wire? }`) from
969
- `src/kerf-ui-field-editors.ts`. See `docs/editor-host.md`.
970
935
  - **Browse a deep hierarchy by column with `ColumnExplorer`**
971
936
  (`@kerfjs/ui/column-explorer`): a macOS-style column view over TreeList's
972
937
  nodes in a ColumnTrack. Pass `nodes`, `path`, and `action`, set
@@ -1236,9 +1201,3 @@ Render a panel the person can pin and move (a library, a palette) as `PinnablePo
1236
1201
  Render a modal dialog as `DialogSurface` itself, a native `<dialog>` (`alert` renders `role="alertdialog"` for a destructive confirmation; pair it with `describedBy` on the message): `label` (or `labelledBy` with a `heading`, such as an xl `ToolbarText` with a description) names it, `describedBy` (the heading ToolbarText's `descriptionId`, or app-owned summary copy) describes it as `aria-describedby`, `children` is its body, `footer` holds its buttons, and `headerActions` sit before its close button (`withoutHeader` drops the header for content that owns its heading and close control). Open it with `openDialog(dialog)` and close it with `closeDialog(dialog)` from `@kerfjs/ui/surface-scaffold`; never toggle its `open` attribute. The close button, any `data-dialog-close` element inside (a Cancel button), Escape, and, with `lightDismiss`, a backdrop press dispatch a cancelable `kui-request-close` (`detail.source`: `close-button`, `escape`, or `backdrop`); cancel it to keep the dialog open (the panel pulses). The native `close` event fires once it closes. `openDialog` installs the listeners and, while the dialog is open, measures its floating header/footer, follows a bottom sheet's keyboard and grabber, and keeps that state across re-renders; import `@kerfjs/ui/surface-scaffold/register` only when a dialog may open some other way. Do not write `wa-dialog` inside a `DialogSurface`.
1237
1202
 
1238
1203
  Toolbar visibility measurement probes and invisible state children are helper-owned and survive Kerf rerenders through `data-morph-preserve`. Actual CSS visibility stays stable while rendering removes transient parent markers, preventing geometry-driven render feedback and repeated probe recreation. Toolbar replacement, explicit internal-node removal and disposal retain their existing behavior.
1239
-
1240
- Parameter authoring (KF-26P9FT, KF-B8YSHV, KF-MB5FFZ, KF-AFW3ZA) uses compact name/type rows and a DialogSurface/NavStack with TypeScript text entry, project completion and formatting. `ui/view/project-types.mjs` runs the owning project’s Node-only TypeScript language service; persisted expression/import metadata accompanies a structural navigation projection. Editor export and CLI generation check actual generated bindings/defaults. `validateView` alone reports KUI-H002 for deferred project checking. Legacy descriptors remain supported.
1241
-
1242
- Generated views share the browser-only `kuiComponent` helper at `@kerfjs/ui/view-runtime` (KF-4DR6XR). Preserve its curried component-call boundary: it retains generic prop inference and the SafeHtml contract while keeping Rollup effect analysis linear for large catalog trees. TS/JS output imports it only for actual component calls; declarations-only and component-free output omit it. The helper has no generator/compiler dependency. Tests: `ui/tests/unit/view-runtime.test.ts`, `ui/tests/unit/view-generate.test.ts`, consumer type contracts and browser bundle boundaries.
1243
-
1244
- Library previews (KF-RQJ15M) expose `defineLibraryPreviews`, component-keyed samples/static renderers/icon fallbacks, and catalog/editor `libraryPreviews` overrides. Composition catalogs carry literal JSON samples plus an optional `libraryPreviewModule`; the Vite host imports package modules and a local override separately. Built-in schematics/icons use the same registrations. `ui/src/editor/library-previews.ts`, `library-preview-defaults.ts` and `library-thumbnail-renderer.ts` own registration/isolated rendering; palette thumbnail wiring owns inert shadow fitting, asset/content resize refits and RAF/observer cleanup. Insertion/defaults/canvas/production rendering remain separate. Requirements: `docs/28-library-previews.md`; downstream example: `editor/fixtures/app/`; tests: Library preview/lifecycle units, typed+packed consumers, Vite host units and `editor/tests/browser/library-previews.spec.ts`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kerfjs/ui",
3
- "version": "5.0.0-beta.131",
3
+ "version": "5.0.0-beta.132",
4
4
  "description": "Accessible, composable UI primitives for kerf applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -31,8 +31,6 @@
31
31
  "kerf-ui-analyze": "./analyzer/cli.mjs",
32
32
  "kerf-ui-doctor": "./doctor/cli.mjs",
33
33
  "kerf-ui-evaluate": "./evaluator/cli.mjs",
34
- "kerf-ui-view": "./view/cli.mjs",
35
- "kerf-ui-props": "./props/cli.mjs",
36
34
  "kerf-catalog-demo": "./catalog-projection-cli.mjs"
37
35
  },
38
36
  "main": "./dist/index.js",
@@ -59,18 +57,6 @@
59
57
  "types": "./catalog-projection.d.mts",
60
58
  "import": "./catalog-projection.mjs"
61
59
  },
62
- "./view-runtime": {
63
- "types": "./dist/view-runtime.d.ts",
64
- "import": "./dist/view-runtime.js"
65
- },
66
- "./view": {
67
- "types": "./view/index.d.mts",
68
- "import": "./view/index.mjs"
69
- },
70
- "./vite-editor": {
71
- "types": "./vite-editor.d.mts",
72
- "import": "./vite-editor.mjs"
73
- },
74
60
  "./vite-ux-review": {
75
61
  "types": "./vite-ux-review.d.mts",
76
62
  "import": "./vite-ux-review.mjs"
@@ -217,11 +203,6 @@
217
203
  "browser": "./dist/browser/catalog.js",
218
204
  "import": "./dist/catalog.js"
219
205
  },
220
- "./editor": {
221
- "types": "./dist/editor.d.ts",
222
- "browser": "./dist/browser/editor.js",
223
- "import": "./dist/editor.js"
224
- },
225
206
  "./catalog-resources": {
226
207
  "types": "./dist/catalog-resources.d.ts",
227
208
  "import": "./dist/catalog-resources.js"
@@ -720,7 +701,6 @@
720
701
  "./color-field.css": "./dist/styles/color-field.css",
721
702
  "./message-composer.css": "./dist/styles/message-composer.css",
722
703
  "./search-field.css": "./dist/styles/search-field.css",
723
- "./editor.css": "./dist/styles/editor.css",
724
704
  "./column-explorer.css": "./dist/styles/column-explorer.css",
725
705
  "./paged-view.css": "./dist/styles/paged-view.css",
726
706
  "./tree-list.css": "./dist/styles/tree-list.css",
@@ -756,12 +736,8 @@
756
736
  "catalog-projection.mjs",
757
737
  "catalog-projection.d.mts",
758
738
  "catalog-projection-cli.mjs",
759
- "vite-editor.mjs",
760
- "vite-editor.d.mts",
761
739
  "vite-ux-review.mjs",
762
740
  "vite-ux-review.d.mts",
763
- "view",
764
- "props",
765
741
  "scripts/lib/cli-args.mjs",
766
742
  "scripts/lib/json-schema-subset.mjs",
767
743
  "scripts/component-catalog-extension-validation.mjs",
@@ -788,12 +764,6 @@
788
764
  "format:css": "prettier --write \"src/**/*.css\" \"ux-demo/**/*.css\"",
789
765
  "check:format": "prettier --check . --ignore-unknown",
790
766
  "catalog:sync": "node scripts/sync-component-catalog.mjs && node scripts/sync-component-composition.mjs && node scripts/sync-component-docs.mjs",
791
- "props:sync": "npm run build && node scripts/sync-component-props.mjs",
792
- "lucide-aliases:sync": "node scripts/sync-lucide-aliases.mjs",
793
- "check:props": "node scripts/sync-component-props.mjs --check",
794
- "check:view-bundle": "node scripts/check-view-bundle.mjs",
795
- "catalog:views:generate": "node view/cli.mjs generate ux-demo/views/*.kui.json",
796
- "check:catalog-views": "node view/cli.mjs check ux-demo/views/*.kui.json",
797
767
  "composition:sync": "node scripts/sync-component-composition.mjs && node scripts/sync-component-docs.mjs",
798
768
  "check:component-integrations": "node scripts/check-component-integrations.mjs",
799
769
  "component-integrations:dry-run": "node scripts/check-component-integrations.mjs --dry-run",
@@ -817,7 +787,7 @@
817
787
  "ai:regressions:replay-v3": "node scripts/replay-ai-regression-run-v3.mjs",
818
788
  "ai:regressions:score": "node scripts/score-ai-regression.mjs",
819
789
  "check:guidance": "node scripts/check-decision-guidance.mjs && node scripts/check-design-mock-skill.mjs",
820
- "lint:eslint": "eslint src tests ux-demo docs/examples scripts ai analyzer doctor evaluator view props catalog-projection.mjs catalog-projection-cli.mjs vite-editor.mjs vite-ux-review.mjs traversal-exclusions.mjs eslint.config.mjs --max-warnings 0",
790
+ "lint:eslint": "eslint src tests ux-demo docs/examples scripts ai analyzer doctor evaluator catalog-projection.mjs catalog-projection-cli.mjs vite-ux-review.mjs traversal-exclusions.mjs eslint.config.mjs --max-warnings 0",
821
791
  "lint": "npm run lint:eslint && npm run check:format",
822
792
  "typecheck": "node node_modules/typescript7/bin/tsc --noEmit",
823
793
  "test": "npm run test:unit && npm run test:sketch && npm run test:bundle && npm run test:analyzer && npm run test:doctor && npm run test:evaluator && npm run test:ai-regressions",
@@ -836,7 +806,7 @@
836
806
  "test:e2e": "playwright test",
837
807
  "test:webawesome-latest": "npm install --no-save --no-audit --no-fund @awesome.me/webawesome@^3 && node -e \"console.log('Web Awesome', require('@awesome.me/webawesome/package.json').version)\" && vitest run tests/unit && KERF_WEBAWESOME_LATEST=1 playwright test --project=chromium",
838
808
  "bench:micro": "vitest bench --run tests/bench",
839
- "check": "npm run build && npm run check:source-organization && npm run check:catalog && npm run check:catalog-views && npm run check:props && npm run check:view-bundle && npm run check:component-integrations && npm run check:profile && npm run check:demo-conformance && npm run check:recipes && npm run check:css-ownership && npm run check:guidance && npm run check:ai-compatibility && npm run check:ai-regressions && npm run lint && npm run typecheck && npm run test:built && npm run test:consumer-types:built && npm run check:ai-signatures && npm run demo:build:built && npm run check:design-templates && npm pack --dry-run",
809
+ "check": "npm run build && npm run check:source-organization && npm run check:catalog && npm run check:component-integrations && npm run check:profile && npm run check:demo-conformance && npm run check:recipes && npm run check:css-ownership && npm run check:guidance && npm run check:ai-compatibility && npm run check:ai-regressions && npm run lint && npm run typecheck && npm run test:built && npm run test:consumer-types:built && npm run check:ai-signatures && npm run demo:build:built && npm run check:design-templates && npm pack --dry-run",
840
810
  "prepublishOnly": "npm run check",
841
811
  "check:design-templates": "node scripts/check-design-templates.mjs",
842
812
  "check:design-templates:drift": "node scripts/check-design-templates-drift.mjs",
@@ -1,23 +1,33 @@
1
1
  import '@kerfjs/ui/layout.css';
2
2
  import '@kerfjs/ui/workbench.css';
3
3
 
4
+ import { List } from '@kerfjs/ui/list';
5
+ import { ListItem } from '@kerfjs/ui/list-item';
6
+ import { LucideIcon } from '@kerfjs/ui/lucide-icon';
7
+ import { Toolbar } from '@kerfjs/ui/toolbar';
8
+ import {
9
+ ToolbarButton,
10
+ ToolbarControlGroup,
11
+ } from '@kerfjs/ui/toolbar-control-group';
12
+ import { ToolbarText } from '@kerfjs/ui/toolbar-text';
13
+ import { ValueTable, ValueTableRow } from '@kerfjs/ui/value-table';
4
14
  import { wireWorkbench } from '@kerfjs/ui/wire-workbench';
15
+ import { Workbench } from '@kerfjs/ui/workbench';
5
16
  import { delegate, signal } from 'kerfjs';
17
+ import { Bell, Folder, Inbox, Settings } from 'lucide';
6
18
 
7
- import { renderRecipeAppShellBar } from '../views/recipe-app-shell-bar.view.js';
8
- import { renderRecipeAppShellFrame } from '../views/recipe-app-shell-frame.view.js';
9
- import { renderRecipeAppShellInspector } from '../views/recipe-app-shell-inspector.view.js';
10
- import { renderRecipeAppShellMainTitle } from '../views/recipe-app-shell-main-title.view.js';
11
- import { renderRecipeAppShellNavigation } from '../views/recipe-app-shell-navigation.view.js';
12
- import { renderRecipeAppShellNewTask } from '../views/recipe-app-shell-new-task.view.js';
13
- import { renderRecipeAppShellRailTitle } from '../views/recipe-app-shell-rail-title.view.js';
14
- import { renderRecipeAppShellTasks } from '../views/recipe-app-shell-tasks.view.js';
15
- import { renderRecipeAppShellWorkbench } from '../views/recipe-app-shell-workbench.view.js';
16
19
  import type { RecipeFactory, RecipePresentation } from './types.js';
17
20
 
18
21
  const NAVIGATION_ACTION = 'recipe-shell-toggle-navigation';
19
22
  const INSPECTOR_ACTION = 'recipe-shell-toggle-inspector';
20
23
 
24
+ const tasks = [
25
+ ['Release accessibility audit', 'Interface systems · due this week'],
26
+ ['Prepare tablet navigation', 'Interface systems · due this week'],
27
+ ['Review stale-data states', 'Platform · due next week'],
28
+ ['Confirm package boundaries', 'Platform · due next week'],
29
+ ] as const;
30
+
21
31
  export const presentation: RecipePresentation = {
22
32
  viewport: {
23
33
  width: 'full',
@@ -39,50 +49,133 @@ export const createRecipe: RecipeFactory = (announce) => {
39
49
 
40
50
  const navigation = () => (
41
51
  <nav aria-label="Workspace">
42
- {renderRecipeAppShellNavigation({
43
- inboxSelected: selected.value === 'inbox',
44
- projectsSelected: selected.value === 'projects',
45
- })}
52
+ <List gap="2xs">
53
+ <ListItem
54
+ action="recipe-action"
55
+ itemId="inbox"
56
+ label="Inbox"
57
+ icon={<LucideIcon icon={Inbox} name="inbox" />}
58
+ selected={selected.value === 'inbox'}
59
+ />
60
+ <ListItem
61
+ action="recipe-action"
62
+ itemId="projects"
63
+ label="Projects with a Deliberately Wrapping Title"
64
+ icon={<LucideIcon icon={Folder} name="folder" />}
65
+ selected={selected.value === 'projects'}
66
+ multiline
67
+ />
68
+ </List>
46
69
  </nav>
47
70
  );
48
71
 
49
- const render = () =>
50
- renderRecipeAppShellFrame(
51
- {},
52
- {
53
- bar: renderRecipeAppShellBar,
54
- workbench: () =>
55
- renderRecipeAppShellWorkbench(
56
- {
57
- navigationSize: navigationSize.value,
58
- inspectorSize: inspectorSize.value,
59
- navigationCollapsed: navigationCollapsed.value,
60
- inspectorCollapsed: inspectorCollapsed.value,
72
+ const render = () => (
73
+ <List fill rootAttributes={{ 'data-recipe': 'recipe-app-shell' }}>
74
+ <Toolbar
75
+ label="Atlas Workspace"
76
+ safeAreaEdges={['block-start', 'inline-start', 'inline-end']}
77
+ dividerSides="b"
78
+ leading={<ToolbarText text="Atlas" />}
79
+ trailing={
80
+ <ToolbarControlGroup
81
+ appearance="borderless"
82
+ label="Workspace Controls"
83
+ >
84
+ <ToolbarButton
85
+ ariaLabel="Notifications"
86
+ action="recipe-action"
87
+ rootAttributes={{ 'data-recipe-command': 'notify' }}
88
+ icon={<LucideIcon icon={Bell} name="bell" />}
89
+ />
90
+ <ToolbarButton
91
+ ariaLabel="Settings"
92
+ action="recipe-action"
93
+ rootAttributes={{ 'data-recipe-command': 'settings' }}
94
+ icon={<LucideIcon icon={Settings} name="settings" />}
95
+ />
96
+ </ToolbarControlGroup>
97
+ }
98
+ />
99
+ <List flex>
100
+ <Workbench
101
+ id="recipe-shell"
102
+ label="Atlas Workspace Panes"
103
+ leftRail={{
104
+ label: 'Navigation',
105
+ size: navigationSize.value,
106
+ resizable: { min: 180, max: 320 },
107
+ collapsed: navigationCollapsed.value,
108
+ toolbar: {
109
+ label: 'Navigation',
110
+ title: <ToolbarText text="Workspace" />,
111
+ toggle: { action: NAVIGATION_ACTION, name: 'Navigation' },
61
112
  },
62
- {
63
- navigationTitle: () =>
64
- renderRecipeAppShellRailTitle({ text: 'Workspace' }),
65
- navigation,
66
- mainTitle: () =>
67
- renderRecipeAppShellMainTitle({
68
- text:
69
- selected.value === 'inbox'
70
- ? 'Inbox Triage'
71
- : 'Active Projects',
72
- }),
73
- newTask: renderRecipeAppShellNewTask,
74
- main: () => (
75
- <section aria-label="Tasks">
76
- {renderRecipeAppShellTasks()}
77
- </section>
78
- ),
79
- inspectorTitle: () =>
80
- renderRecipeAppShellRailTitle({ text: 'Inspector' }),
81
- inspector: renderRecipeAppShellInspector,
113
+ content: navigation(),
114
+ }}
115
+ mainToolbar={{
116
+ label: 'Current Workspace View',
117
+ title: (
118
+ <ToolbarText
119
+ text={
120
+ selected.value === 'inbox'
121
+ ? 'Inbox Triage'
122
+ : 'Active Projects'
123
+ }
124
+ size="xlarge"
125
+ id="recipe-shell-main-title"
126
+ />
127
+ ),
128
+ responsive: 'wrap',
129
+ trailing: (
130
+ <ToolbarControlGroup
131
+ appearance="borderless"
132
+ content="text"
133
+ single
134
+ >
135
+ <ToolbarButton
136
+ action="recipe-action"
137
+ rootAttributes={{ 'data-recipe-command': 'new' }}
138
+ >
139
+ New Task
140
+ </ToolbarButton>
141
+ </ToolbarControlGroup>
142
+ ),
143
+ }}
144
+ main={
145
+ <section aria-label="Tasks">
146
+ {tasks.map(([title, detail]) => (
147
+ <ListItem
148
+ action="recipe-action"
149
+ label={title}
150
+ description={detail}
151
+ multiline
152
+ rootAttributes={{ 'data-recipe-command': 'open-task' }}
153
+ />
154
+ ))}
155
+ </section>
156
+ }
157
+ rightRail={{
158
+ label: 'Inspector',
159
+ size: inspectorSize.value,
160
+ resizable: { min: 200, max: 360 },
161
+ collapsed: inspectorCollapsed.value,
162
+ toolbar: {
163
+ label: 'Inspector',
164
+ title: <ToolbarText text="Inspector" />,
165
+ toggle: { action: INSPECTOR_ACTION, name: 'Inspector' },
82
166
  },
83
- ),
84
- },
85
- );
167
+ content: (
168
+ <ValueTable label="Selected Task">
169
+ <ValueTableRow label="Status" value="In review" />
170
+ <ValueTableRow label="Owner" value="Mara Chen" />
171
+ <ValueTableRow label="Priority" value="High" />
172
+ </ValueTable>
173
+ ),
174
+ }}
175
+ />
176
+ </List>
177
+ </List>
178
+ );
86
179
 
87
180
  return {
88
181
  render,