@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
package/README.md CHANGED
@@ -920,19 +920,6 @@ engine removes custom placement code, and treat Tree, Animated Image,
920
920
  Comparison, and Zoomable Frame as exceptional rather than default patterns.
921
921
  The detailed rationale lives in the theme contract.
922
922
 
923
- ## Editor
924
-
925
- `@kerfjs/ui/vite-editor` runs the Kerf UI editor in your application's own
926
- Vite dev server (`plugins: [kerfUiEditor()]`, then open `/__kerf-ui-editor/`),
927
- so your components preview and edit beside Kerf UI's. `@kerfjs/ui/editor` is
928
- the editor module for a host that builds its own page. See the
929
- [editor host guide](./docs/editor-host.md).
930
-
931
- The editor writes view documents (`*.kui.json`). `@kerfjs/ui/view` validates
932
- them (`validateView`) and renders them at runtime (`interpretView`), and the
933
- `kerf-ui-view` CLI generates each one's read-only, typed `*.view.ts` module
934
- (`generate`, `check`, `diff`). See the [view documents guide](./docs/view.md).
935
-
936
923
  ## Design and tool guidance
937
924
 
938
925
  - [Component selection and composition](./docs/component-selection.md)
@@ -230,11 +230,7 @@ function validateApplicationUiProfile(profile, options = {}) {
230
230
  for (const [index, catalog] of catalogs.entries()) {
231
231
  const path = `$.catalogs[${index}]`;
232
232
  if (!objectAt(catalog, path)) continue;
233
- rejectUnknown(
234
- catalog,
235
- ['package', 'selection', 'composition', 'props'],
236
- path,
237
- );
233
+ rejectUnknown(catalog, ['package', 'selection', 'composition'], path);
238
234
  if (!catalog.package)
239
235
  add('KUI-P003', `${path}.package`, 'Catalog package is required.');
240
236
  if (packages.has(catalog.package))
@@ -250,8 +246,8 @@ function validateApplicationUiProfile(profile, options = {}) {
250
246
  `${path}.selection`,
251
247
  'The @kerfjs/ui catalog requires its component-catalog.json selection location.',
252
248
  );
253
- // selection is @kerfjs/ui-only and props (component-props.json) is optional.
254
- for (const kind of ['selection', 'composition', 'props']) {
249
+ // selection is @kerfjs/ui-only and optional elsewhere.
250
+ for (const kind of ['selection', 'composition']) {
255
251
  if (kind !== 'composition' && !catalog[kind]) continue;
256
252
  rejectUnknown(
257
253
  catalog[kind],
@@ -480,18 +476,13 @@ function catalogFacts(resolved, fallbackCatalogs, seedRules) {
480
476
  for (const [index, catalog] of (resolved.profile.catalogs ?? []).entries()) {
481
477
  const owner = resolved.provenance[`$catalogs.${catalog.package}`];
482
478
  if (!owner) continue;
483
- for (const kind of ['selection', 'composition', 'props']) {
479
+ for (const kind of ['selection', 'composition']) {
484
480
  const location = catalog[kind];
485
481
  if (!location?.path) continue;
486
482
  const path = resolve(dirname(owner), location.path);
487
483
  try {
488
484
  const artifact = JSON.parse(readFileSync(path, 'utf8'));
489
- // component-props.json names its version in `schema`, not schemaVersion.
490
- const version =
491
- kind === 'props'
492
- ? artifact.schema ===
493
- `kerf-ui-component-props/v${location.schemaVersion}`
494
- : artifact.schemaVersion === location.schemaVersion;
485
+ const version = artifact.schemaVersion === location.schemaVersion;
495
486
  if (artifact.package !== catalog.package || !version)
496
487
  diagnostics.push({
497
488
  code: 'KUI-P020',
@@ -15,8 +15,6 @@ export interface ApplicationUiProfile {
15
15
  /** Required for @kerfjs/ui; composition-only consumer packages omit it. */
16
16
  selection?: ApplicationUiCatalogLocation;
17
17
  composition: ApplicationUiCatalogLocation;
18
- /** The package's component-props.json, for Kerf UI view tools. */
19
- props?: ApplicationUiCatalogLocation;
20
18
  }>;
21
19
  preferences?: Record<
22
20
  string,
@@ -12,10 +12,6 @@
12
12
  "composition": {
13
13
  "path": "./component-composition.json",
14
14
  "schemaVersion": 1
15
- },
16
- "props": {
17
- "path": "./component-props.json",
18
- "schemaVersion": 1
19
15
  }
20
16
  }
21
17
  ],
@@ -325,11 +325,7 @@ export function validateApplicationUiProfile(
325
325
  for (const [index, catalog] of catalogs.entries()) {
326
326
  const path = `$.catalogs[${index}]`;
327
327
  if (!objectAt(catalog, path)) continue;
328
- rejectUnknown(
329
- catalog,
330
- ['package', 'selection', 'composition', 'props'],
331
- path,
332
- );
328
+ rejectUnknown(catalog, ['package', 'selection', 'composition'], path);
333
329
  if (!catalog?.package)
334
330
  add('KUI-P003', `${path}.package`, 'Catalog package is required.');
335
331
  if (catalogPackages.has(catalog?.package))
@@ -345,8 +341,8 @@ export function validateApplicationUiProfile(
345
341
  `${path}.selection`,
346
342
  'The @kerfjs/ui catalog requires its component-catalog.json selection location.',
347
343
  );
348
- // selection is @kerfjs/ui-only and props (component-props.json) is optional.
349
- for (const kind of ['selection', 'composition', 'props']) {
344
+ // selection is @kerfjs/ui-only and optional elsewhere.
345
+ for (const kind of ['selection', 'composition']) {
350
346
  if (kind !== 'composition' && !catalog?.[kind]) continue;
351
347
  rejectUnknown(
352
348
  catalog?.[kind],
@@ -559,18 +555,13 @@ const catalogFactsForProfile = async (resolved, seedRules = []) => {
559
555
  for (const [index, catalog] of (resolved.profile.catalogs ?? []).entries()) {
560
556
  const owner = resolved.provenance[`$catalogs.${catalog.package}`];
561
557
  if (!owner) continue;
562
- for (const kind of ['selection', 'composition', 'props']) {
558
+ for (const kind of ['selection', 'composition']) {
563
559
  const location = catalog[kind];
564
560
  if (!location?.path) continue;
565
561
  const catalogPath = resolve(dirname(owner), location.path);
566
562
  try {
567
563
  const artifact = JSON.parse(await readFile(catalogPath, 'utf8'));
568
- // component-props.json names its version in `schema`, not schemaVersion.
569
- const version =
570
- kind === 'props'
571
- ? artifact.schema ===
572
- `kerf-ui-component-props/v${location.schemaVersion}`
573
- : artifact.schemaVersion === location.schemaVersion;
564
+ const version = artifact.schemaVersion === location.schemaVersion;
574
565
  if (artifact.package !== catalog.package || !version)
575
566
  diagnostics.push({
576
567
  code: 'KUI-P020',
@@ -135,10 +135,6 @@
135
135
  },
136
136
  "composition": {
137
137
  "$ref": "#/$defs/catalogLocation"
138
- },
139
- "props": {
140
- "$ref": "#/$defs/catalogLocation",
141
- "description": "The package's component-props.json (kerf-ui-component-props/v<schemaVersion>): structured props for Kerf UI view tools."
142
138
  }
143
139
  },
144
140
  "additionalProperties": false,
@@ -10,6 +10,8 @@
10
10
  "inset": ["none", "compact", "default", "comfortable"]
11
11
  },
12
12
  "exceptions": [
13
+ { "component": "Badge", "prop": "size", "values": ["default", "compact", "dot"], "reason": "Text badge sizes plus the text-free dot form." },
14
+ { "component": "List", "prop": "inset", "values": ["document"], "reason": "Document reading-column inset, not a surface inset tier." },
13
15
  { "component": "ListDetailDialog", "prop": "size", "values": ["small", "medium", "large"], "reason": "Modal width tiers, not control size." },
14
16
  { "component": "ListHeader", "prop": "size", "values": ["xs", "sm", "m", "l", "xl"], "reason": "Heading typography scale." },
15
17
  { "component": "ProgressRing", "prop": "size", "values": ["small", "medium", "large"], "reason": "Indicator diameter tiers." },
@@ -2095,7 +2097,7 @@
2095
2097
  "useWhen": [
2096
2098
  "Group related controls inside a toolbar with a supported visual treatment.",
2097
2099
  "Use ToolbarActionLink for navigation or external resources that must retain native anchor semantics inside a group.",
2098
- "Use ToolbarButton for a group's button when it must be a component rather than markup (a view document, the Kerf UI editor, or generated code): it renders exactly the native <button type=\"button\"> the group styles, icon-only with ariaLabel, labeled, or (in an avatar group) ariaLabel alone, with action, pressed, disabled, title, a native popover invoker (popoverTarget, popoverTargetAction, ariaHasPopup), and a corner badge.",
2100
+ "Use ToolbarButton for a group's button when it must be a component rather than markup (generated code, or a composition that only accepts components): it renders exactly the native <button type=\"button\"> the group styles, icon-only with ariaLabel, labeled, or (in an avatar group) ariaLabel alone, with action, pressed, disabled, title, a native popover invoker (popoverTarget, popoverTargetAction, ariaHasPopup), and a corner badge.",
2099
2101
  "For a count on a group button, such as live workers or unread alerts, pass ToolbarButton badge (a number, short text, or true for a dot) with badgeTone (default danger) and badgeMax (default 99, so 128 shows 99+); a count of 0 shows no badge. The group owns its placement over the icon's top-trailing corner, its 2px ring against the group surface, and its compact sizing; never position a Badge over a group button with application CSS.",
2100
2102
  "Fill it with plain <button> controls (the group styles > button fully). A popup menu is a PopupMenu in a single group with nestedDropdown; it renders its own trigger, so never hand-write wa-dropdown markup. Each control stays whole: an icon sits beside its label on one row and no trigger gets a fixed width. Use overflow=wrap for independent links that should move as whole actions to another row on narrow surfaces.",
2101
2103
  "For an avatar control, set content=avatar and avatarImage instead of inserting an img; one button paints the group and multiple buttons paint only the pressed highlight.",
@@ -5889,7 +5891,8 @@
5889
5891
  "useWhen": [
5890
5892
  "Optional or advanced content should stay out of the way until a person asks for it (advanced settings, a build log, release notes).",
5891
5893
  "A list of questions or sections should open one at a time: give the Disclosures the same name for a native exclusive accordion.",
5892
- "A compact details panel belongs inside a ContentItem (a note card's AI feedback): use appearance embedded so the item's own inset frames it once."
5894
+ "A compact details panel belongs inside a ContentItem (a note card's AI feedback): use appearance embedded so the item's own inset frames it once.",
5895
+ "Secondary detail should read small and quiet beside content: set size compact (a 14px arrow and extra-small type) with a quiet title instead of overriding the arrow token."
5893
5896
  ],
5894
5897
  "avoidWhen": [
5895
5898
  "Do not use it to switch between peer views; use a SegmentedControl or TabBar.",
@@ -5912,6 +5915,7 @@
5912
5915
  "variants": [
5913
5916
  "plain, framed, or sunken appearance",
5914
5917
  "embedded appearance inside a ContentItem or other owner chrome: no margin, border, or padding of its own and a 24px minimum summary row",
5918
+ "compact size: a 14px arrow, extra-small summary type, and content on the narrower title column, for a small quiet in-content disclosure",
5915
5919
  "open or closed initially",
5916
5920
  "a quiet detail after the title",
5917
5921
  "an exclusive accordion group sharing a name"
@@ -6321,8 +6325,7 @@
6321
6325
  ],
6322
6326
  "useWhen": [
6323
6327
  "Render the content region a TabBar's tab selects; pair TabPanel id with the TabBarItem's panelId and TabPanel tabId with the TabBarItem's tabId.",
6324
- "Show placeholders in the panel of a pending TabBarItem; set busy until its content loads.",
6325
- "A view built in the Kerf UI editor needs a tab's panel."
6328
+ "Show placeholders in the panel of a pending TabBarItem; set busy until its content loads."
6326
6329
  ],
6327
6330
  "avoidWhen": [
6328
6331
  "Do not write a raw element with role=\"tabpanel\" in Kerf UI markup; render TabPanel.",
@@ -6507,11 +6510,10 @@
6507
6510
  ],
6508
6511
  "useWhen": [
6509
6512
  "Fields whose values are saved or sent together, such as a dialog's settings or a compose form, and an action reads them with new FormData(form).",
6510
- "A submit Button, or Enter in a field, should submit the fields; handle submit with delegateActions(root, 'submit', table) keyed on the Form's action.",
6511
- "A view built in the Kerf UI editor needs a form around its fields."
6513
+ "A submit Button, or Enter in a field, should submit the fields; handle submit with delegateActions(root, 'submit', table) keyed on the Form's action."
6512
6514
  ],
6513
6515
  "avoidWhen": [
6514
- "Do not write a raw form element in Kerf UI markup; render Form so submission never navigates and the editor can place it.",
6516
+ "Do not write a raw form element in Kerf UI markup; render Form so submission never navigates.",
6515
6517
  "Do not use Form for spacing, insets, or a frame; it adds none. Lay the fields out with List, Row, or Grid inside it.",
6516
6518
  "Do not rely on Form to post to a URL; it has no native action or method, and the application owns transport."
6517
6519
  ],
@@ -1,15 +1,6 @@
1
1
  {
2
2
  "@kerfjs/ui:toolbar": {
3
3
  "_source": "docs/component-selection.md#toolbar-composition",
4
- "configTypes": [
5
- "ListDetailDialogDetail.actions",
6
- "ListDetailDialogList.toolbar",
7
- "NavStackViewToolbar",
8
- "PanelBottomToolbar",
9
- "PanelToolbar",
10
- "WorkbenchMainBottomToolbar",
11
- "WorkbenchMainToolbar"
12
- ],
13
4
  "contexts": [
14
5
  "application-chrome",
15
6
  "page-header",
@@ -100,7 +91,8 @@
100
91
  "@kerfjs/ui:toolbar",
101
92
  "@kerfjs/ui:floating-toolbar",
102
93
  "@kerfjs/ui:tab-bar",
103
- "@kerfjs/ui:message-composer"
94
+ "@kerfjs/ui:message-composer",
95
+ "@kerfjs/ui:surface-scaffold#headerActions"
104
96
  ]
105
97
  },
106
98
  "contexts": ["toolbar-zone"],
@@ -152,24 +152,7 @@ export interface CatalogCompositionEntry {
152
152
  diagnostics: CatalogDiagnostic[];
153
153
  provenance: { selection: string; composition: string };
154
154
  }
155
- /** Literal Library sample data; view bindings and expressions are not evaluated. */
156
- export type CatalogLibraryPreviewJson =
157
- | null
158
- | string
159
- | number
160
- | boolean
161
- | readonly CatalogLibraryPreviewJson[]
162
- | { readonly [key: string]: CatalogLibraryPreviewJson };
163
- export interface CatalogLibraryPreview {
164
- readonly props?: Readonly<Record<string, CatalogLibraryPreviewJson>>;
165
- }
166
155
  export interface ComponentComposition {
167
- /** Editor-only registrations, relative to this catalog or a package export. */
168
- libraryPreviewModule?: string;
169
- /** Library-only literal samples; no effect on insertion, defaults or production views. */
170
- libraryPreviews?: Readonly<
171
- Record<CatalogQualifiedKey, CatalogLibraryPreview>
172
- >;
173
156
  $schema?: string;
174
157
  schemaVersion: 1;
175
158
  package: string;
@@ -1921,16 +1921,7 @@
1921
1921
  "provenance": {
1922
1922
  "selection": "ai/component-catalog.json",
1923
1923
  "composition": "docs/component-selection.md#toolbar-composition"
1924
- },
1925
- "configTypes": [
1926
- "ListDetailDialogDetail.actions",
1927
- "ListDetailDialogList.toolbar",
1928
- "NavStackViewToolbar",
1929
- "PanelBottomToolbar",
1930
- "PanelToolbar",
1931
- "WorkbenchMainBottomToolbar",
1932
- "WorkbenchMainToolbar"
1933
- ]
1924
+ }
1934
1925
  },
1935
1926
  {
1936
1927
  "key": "@kerfjs/ui:toolbar-control-group",
@@ -1945,7 +1936,8 @@
1945
1936
  "@kerfjs/ui:toolbar",
1946
1937
  "@kerfjs/ui:floating-toolbar",
1947
1938
  "@kerfjs/ui:tab-bar",
1948
- "@kerfjs/ui:message-composer"
1939
+ "@kerfjs/ui:message-composer",
1940
+ "@kerfjs/ui:surface-scaffold#headerActions"
1949
1941
  ]
1950
1942
  },
1951
1943
  "contexts": ["toolbar-zone"],
@@ -36,27 +36,6 @@
36
36
  "items": {
37
37
  "$ref": "#/$defs/entry"
38
38
  }
39
- },
40
- "libraryPreviewModule": {
41
- "type": "string",
42
- "minLength": 1,
43
- "description": "Optional editor-only ESM preview registration module, relative to this catalog or a resolvable package export. It is imported by the Vite editor host, never evaluated as JSON."
44
- },
45
- "libraryPreviews": {
46
- "type": "object",
47
- "additionalProperties": {
48
- "type": "object",
49
- "additionalProperties": false,
50
- "properties": {
51
- "props": {
52
- "type": "object",
53
- "additionalProperties": {
54
- "$ref": "#/$defs/libraryPreviewJson"
55
- }
56
- }
57
- }
58
- },
59
- "description": "Library-only literal sample props, keyed by the complete component key. An empty entry restores automatic rendering. Values are literal JSON; no view bindings, CSS/icon expressions or JavaScript are evaluated."
60
39
  }
61
40
  },
62
41
  "additionalProperties": false,
@@ -290,16 +269,6 @@
290
269
  "content": {
291
270
  "$ref": "#/$defs/interactiveContent"
292
271
  },
293
- "configTypes": {
294
- "description": "Prop-value types (definition names in this package's component-props.json) that another component renders as this one, such as a NavStack view's toolbar config. A content field inside such a value is placed in this component, so this component is its parent for placement contracts. `TypeName.field` names one field of a type whose other fields render elsewhere.",
295
- "type": "array",
296
- "minItems": 1,
297
- "items": {
298
- "type": "string",
299
- "pattern": "^[A-Z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)?$"
300
- },
301
- "uniqueItems": true
302
- },
303
272
  "rendersAs": {
304
273
  "description": "For a wrapper component: the cataloged roots it renders (package-qualified keys), any one of them or nothing. Composition checks treat an element of this entry as each declared root: a zone accepts it only if it accepts every root, and each root's parent contract applies to where it is placed.",
305
274
  "type": "array",
@@ -716,34 +685,6 @@
716
685
  }
717
686
  },
718
687
  "additionalProperties": false
719
- },
720
- "libraryPreviewJson": {
721
- "anyOf": [
722
- {
723
- "type": "null"
724
- },
725
- {
726
- "type": "boolean"
727
- },
728
- {
729
- "type": "number"
730
- },
731
- {
732
- "type": "string"
733
- },
734
- {
735
- "type": "array",
736
- "items": {
737
- "$ref": "#/$defs/libraryPreviewJson"
738
- }
739
- },
740
- {
741
- "type": "object",
742
- "additionalProperties": {
743
- "$ref": "#/$defs/libraryPreviewJson"
744
- }
745
- }
746
- ]
747
688
  }
748
689
  }
749
690
  }
@@ -13,6 +13,7 @@ Keep secondary or optional content one press away under a summary, or let a pers
13
13
  - Optional or advanced content should stay out of the way until a person asks for it (advanced settings, a build log, release notes).
14
14
  - A list of questions or sections should open one at a time: give the Disclosures the same name for a native exclusive accordion.
15
15
  - A compact details panel belongs inside a ContentItem (a note card's AI feedback): use appearance embedded so the item's own inset frames it once.
16
+ - Secondary detail should read small and quiet beside content: set size compact (a 14px arrow and extra-small type) with a quiet title instead of overriding the arrow token.
16
17
 
17
18
  **Not when:**
18
19
 
@@ -38,6 +39,7 @@ Exact prop names and types: [`@kerfjs/ui/disclosure`](../public-api-signatures-v
38
39
 
39
40
  - plain, framed, or sunken appearance
40
41
  - embedded appearance inside a ContentItem or other owner chrome: no margin, border, or padding of its own and a 24px minimum summary row
42
+ - compact size: a 14px arrow, extra-small summary type, and content on the narrower title column, for a small quiet in-content disclosure
41
43
  - open or closed initially
42
44
  - a quiet detail after the title
43
45
  - an exclusive accordion group sharing a name
@@ -12,11 +12,10 @@ Group fields in a native form so the application reads them with FormData, a sub
12
12
 
13
13
  - Fields whose values are saved or sent together, such as a dialog's settings or a compose form, and an action reads them with new FormData(form).
14
14
  - A submit Button, or Enter in a field, should submit the fields; handle submit with delegateActions(root, 'submit', table) keyed on the Form's action.
15
- - A view built in the Kerf UI editor needs a form around its fields.
16
15
 
17
16
  **Not when:**
18
17
 
19
- - Do not write a raw form element in Kerf UI markup; render Form so submission never navigates and the editor can place it.
18
+ - Do not write a raw form element in Kerf UI markup; render Form so submission never navigates.
20
19
  - Do not use Form for spacing, insets, or a frame; it adds none. Lay the fields out with List, Row, or Grid inside it.
21
20
  - Do not rely on Form to post to a URL; it has no native action or method, and the application owns transport.
22
21
 
@@ -12,7 +12,6 @@ Render the tabpanel a TabBarItem controls, named by its tab through tabId, hidde
12
12
 
13
13
  - Render the content region a TabBar's tab selects; pair TabPanel id with the TabBarItem's panelId and TabPanel tabId with the TabBarItem's tabId.
14
14
  - Show placeholders in the panel of a pending TabBarItem; set busy until its content loads.
15
- - A view built in the Kerf UI editor needs a tab's panel.
16
15
 
17
16
  **Not when:**
18
17
 
@@ -12,7 +12,7 @@ Provide complete toolbar action geometry through configuration, including semant
12
12
 
13
13
  - Group related controls inside a toolbar with a supported visual treatment.
14
14
  - Use ToolbarActionLink for navigation or external resources that must retain native anchor semantics inside a group.
15
- - Use ToolbarButton for a group's button when it must be a component rather than markup (a view document, the Kerf UI editor, or generated code): it renders exactly the native \<button type="button"> the group styles, icon-only with ariaLabel, labeled, or (in an avatar group) ariaLabel alone, with action, pressed, disabled, title, a native popover invoker (popoverTarget, popoverTargetAction, ariaHasPopup), and a corner badge.
15
+ - Use ToolbarButton for a group's button when it must be a component rather than markup (generated code, or a composition that only accepts components): it renders exactly the native \<button type="button"> the group styles, icon-only with ariaLabel, labeled, or (in an avatar group) ariaLabel alone, with action, pressed, disabled, title, a native popover invoker (popoverTarget, popoverTargetAction, ariaHasPopup), and a corner badge.
16
16
  - For a count on a group button, such as live workers or unread alerts, pass ToolbarButton badge (a number, short text, or true for a dot) with badgeTone (default danger) and badgeMax (default 99, so 128 shows 99+); a count of 0 shows no badge. The group owns its placement over the icon's top-trailing corner, its 2px ring against the group surface, and its compact sizing; never position a Badge over a group button with application CSS.
17
17
  - Fill it with plain \<button> controls (the group styles > button fully). A popup menu is a PopupMenu in a single group with nestedDropdown; it renders its own trigger, so never hand-write wa-dropdown markup. Each control stays whole: an icon sits beside its label on one row and no trigger gets a fixed width. Use overflow=wrap for independent links that should move as whole actions to another row on narrow surfaces.
18
18
  - For an avatar control, set content=avatar and avatarImage instead of inserting an img; one button paints the group and multiple buttons paint only the pressed highlight.
@@ -74,7 +74,7 @@ Exact prop names and types: [`@kerfjs/ui/toolbar-control-group`](../public-api-s
74
74
 
75
75
  ## Composition
76
76
 
77
- - Parents: only inside [Toolbar](./toolbar.md) or [FloatingToolbar](./floating-toolbar.md) or [TabBar](./tab-bar.md) or [MessageComposer](./message-composer.md).
77
+ - Parents: only inside [Toolbar](./toolbar.md) or [FloatingToolbar](./floating-toolbar.md) or [TabBar](./tab-bar.md) or [MessageComposer](./message-composer.md) or [Surface Scaffolds](./surface-scaffold.md)'s `headerActions`.
78
78
  - Contexts: `toolbar-zone`.
79
79
  - Children: only `control` (required: `control`).
80
80
  - Built from: [LucideIcon](./lucide-icon.md), [SegmentedControl](./segmented-control.md).