@kerfjs/ui 5.0.0-beta.130 → 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 (485) hide show
  1. package/README.md +1 -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 +24 -12
  8. package/ai/component-composition-rules.json +2 -10
  9. package/ai/component-composition.d.ts +0 -17
  10. package/ai/component-composition.json +10 -13
  11. package/ai/component-composition.schema.json +0 -59
  12. package/ai/components/column-track.md +5 -3
  13. package/ai/components/disclosure.md +2 -0
  14. package/ai/components/form.md +1 -2
  15. package/ai/components/tab-panel.md +0 -1
  16. package/ai/components/tabs.md +2 -1
  17. package/ai/components/toolbar-control-group.md +2 -2
  18. package/ai/public-api-signatures-v1.md +218 -202
  19. package/ai/skill.md +5 -22
  20. package/ai/webawesome-jsx-signatures-v1.md +1 -1
  21. package/dist/backdrop-image.d.ts +1 -1
  22. package/dist/backdrop-image.js +1 -1
  23. package/dist/badge.js +1 -1
  24. package/dist/button.js +1 -1
  25. package/dist/catalog-resources.d.ts +2 -2
  26. package/dist/catalog.d.ts +2 -2
  27. package/dist/catalog.js +17 -16
  28. package/dist/catalog.js.map +1 -1
  29. package/dist/checkbox-group.js +1 -1
  30. package/dist/checkbox.js +1 -1
  31. package/dist/chip.js +1 -1
  32. package/dist/choice-chips.d.ts +3 -3
  33. package/dist/choice-chips.js +1 -1
  34. package/dist/{chunk-Q5BPZPCO.js → chunk-22T7FFCL.js} +2 -2
  35. package/dist/{chunk-Q5BPZPCO.js.map → chunk-22T7FFCL.js.map} +1 -1
  36. package/dist/{chunk-BCHK33XL.js → chunk-27NEAPV7.js} +2 -2
  37. package/dist/{chunk-BCHK33XL.js.map → chunk-27NEAPV7.js.map} +1 -1
  38. package/dist/{chunk-76BLSFEA.js → chunk-2OYMXGW2.js} +6 -5
  39. package/dist/chunk-2OYMXGW2.js.map +1 -0
  40. package/dist/{chunk-ASU4ODOH.js → chunk-2RDWKN3Y.js} +39 -8
  41. package/dist/chunk-2RDWKN3Y.js.map +1 -0
  42. package/dist/{chunk-EHR7R7YP.js → chunk-3DPHCZQB.js} +2 -2
  43. package/dist/{chunk-EHR7R7YP.js.map → chunk-3DPHCZQB.js.map} +1 -1
  44. package/dist/{chunk-RPJOLDSR.js → chunk-3UIZ36BP.js} +3 -3
  45. package/dist/{chunk-RPJOLDSR.js.map → chunk-3UIZ36BP.js.map} +1 -1
  46. package/dist/{chunk-OSL4LQ7T.js → chunk-42NLFCIN.js} +6 -6
  47. package/dist/{chunk-OSL4LQ7T.js.map → chunk-42NLFCIN.js.map} +1 -1
  48. package/dist/{chunk-UPHPFKAD.js → chunk-4GGIML4E.js} +2 -2
  49. package/dist/{chunk-UPHPFKAD.js.map → chunk-4GGIML4E.js.map} +1 -1
  50. package/dist/{chunk-LET362AM.js → chunk-4YXKDS6I.js} +2 -2
  51. package/dist/{chunk-LET362AM.js.map → chunk-4YXKDS6I.js.map} +1 -1
  52. package/dist/{chunk-5KWXM5O7.js → chunk-5C34PAUY.js} +2 -2
  53. package/dist/{chunk-5KWXM5O7.js.map → chunk-5C34PAUY.js.map} +1 -1
  54. package/dist/{chunk-S7QB5KMM.js → chunk-5L3MLWD5.js} +19 -55
  55. package/dist/chunk-5L3MLWD5.js.map +1 -0
  56. package/dist/{chunk-6PHG2DMG.js → chunk-6OH734CG.js} +2 -2
  57. package/dist/{chunk-6PHG2DMG.js.map → chunk-6OH734CG.js.map} +1 -1
  58. package/dist/{chunk-E7ZRBMVQ.js → chunk-7XIY7G4K.js} +3 -3
  59. package/dist/{chunk-E7ZRBMVQ.js.map → chunk-7XIY7G4K.js.map} +1 -1
  60. package/dist/{chunk-OKZTLRGG.js → chunk-B5Q3KE4Z.js} +2 -2
  61. package/dist/{chunk-OKZTLRGG.js.map → chunk-B5Q3KE4Z.js.map} +1 -1
  62. package/dist/{chunk-SGYBIKQA.js → chunk-BADEZQ3V.js} +4 -4
  63. package/dist/chunk-BADEZQ3V.js.map +1 -0
  64. package/dist/{chunk-CJAKN2KZ.js → chunk-BLBMUD2W.js} +2 -2
  65. package/dist/{chunk-CJAKN2KZ.js.map → chunk-BLBMUD2W.js.map} +1 -1
  66. package/dist/{chunk-TRJS7M2H.js → chunk-BNRH7XG5.js} +2 -2
  67. package/dist/{chunk-TRJS7M2H.js.map → chunk-BNRH7XG5.js.map} +1 -1
  68. package/dist/{chunk-NA4LKVPX.js → chunk-BNXJQB2Y.js} +2 -2
  69. package/dist/{chunk-NA4LKVPX.js.map → chunk-BNXJQB2Y.js.map} +1 -1
  70. package/dist/{chunk-CCPWJDRW.js → chunk-BQHGXQVA.js} +2 -2
  71. package/dist/{chunk-CCPWJDRW.js.map → chunk-BQHGXQVA.js.map} +1 -1
  72. package/dist/{chunk-COQI4OMZ.js → chunk-BRDTP3RT.js} +1 -1
  73. package/dist/chunk-BRDTP3RT.js.map +1 -0
  74. package/dist/{chunk-RGB4DPMN.js → chunk-DGYGRMES.js} +3 -3
  75. package/dist/chunk-DGYGRMES.js.map +1 -0
  76. package/dist/{chunk-V3IXAI4L.js → chunk-DNNHT7RB.js} +2 -2
  77. package/dist/{chunk-V3IXAI4L.js.map → chunk-DNNHT7RB.js.map} +1 -1
  78. package/dist/{chunk-UU37OR3D.js → chunk-DT7KOBQJ.js} +1 -1
  79. package/dist/chunk-DT7KOBQJ.js.map +1 -0
  80. package/dist/{chunk-WUVHP3UC.js → chunk-DUKE3PLH.js} +12 -3
  81. package/dist/chunk-DUKE3PLH.js.map +1 -0
  82. package/dist/{chunk-IPYQYLSX.js → chunk-EWCTBJ5O.js} +6 -6
  83. package/dist/{chunk-IPYQYLSX.js.map → chunk-EWCTBJ5O.js.map} +1 -1
  84. package/dist/{chunk-ECJHCPBN.js → chunk-F25UMYDX.js} +8 -3
  85. package/dist/chunk-F25UMYDX.js.map +1 -0
  86. package/dist/{chunk-C4FBYP2D.js → chunk-FJAAOIMP.js} +2 -2
  87. package/dist/{chunk-C4FBYP2D.js.map → chunk-FJAAOIMP.js.map} +1 -1
  88. package/dist/{chunk-RHMY45DK.js → chunk-H2XGWH4V.js} +5 -5
  89. package/dist/{chunk-RHMY45DK.js.map → chunk-H2XGWH4V.js.map} +1 -1
  90. package/dist/{chunk-76VCWWUA.js → chunk-HSMSTCNZ.js} +2 -2
  91. package/dist/{chunk-76VCWWUA.js.map → chunk-HSMSTCNZ.js.map} +1 -1
  92. package/dist/{chunk-ECVTRAXN.js → chunk-IQOO3ZQK.js} +2 -2
  93. package/dist/{chunk-ECVTRAXN.js.map → chunk-IQOO3ZQK.js.map} +1 -1
  94. package/dist/{chunk-DBP3N6E5.js → chunk-JBL6SCNN.js} +3 -3
  95. package/dist/{chunk-DBP3N6E5.js.map → chunk-JBL6SCNN.js.map} +1 -1
  96. package/dist/{chunk-7KN5OQVN.js → chunk-JNQBPRAA.js} +2 -2
  97. package/dist/{chunk-7KN5OQVN.js.map → chunk-JNQBPRAA.js.map} +1 -1
  98. package/dist/{chunk-CPTQABDQ.js → chunk-JNSPYECP.js} +2 -2
  99. package/dist/{chunk-CPTQABDQ.js.map → chunk-JNSPYECP.js.map} +1 -1
  100. package/dist/{chunk-E7Q6UNCB.js → chunk-KBDYXGYT.js} +2 -2
  101. package/dist/{chunk-E7Q6UNCB.js.map → chunk-KBDYXGYT.js.map} +1 -1
  102. package/dist/{chunk-WVQDIOD7.js → chunk-KKMZP3YL.js} +2 -2
  103. package/dist/{chunk-WVQDIOD7.js.map → chunk-KKMZP3YL.js.map} +1 -1
  104. package/dist/{chunk-WSPXSWFG.js → chunk-KZEHTRPC.js} +3 -3
  105. package/dist/chunk-KZEHTRPC.js.map +1 -0
  106. package/dist/{chunk-KACJOE2N.js → chunk-LH5V6XGH.js} +2 -2
  107. package/dist/{chunk-KACJOE2N.js.map → chunk-LH5V6XGH.js.map} +1 -1
  108. package/dist/{chunk-VBXKYT4O.js → chunk-LH7YRRY7.js} +2 -2
  109. package/dist/{chunk-VBXKYT4O.js.map → chunk-LH7YRRY7.js.map} +1 -1
  110. package/dist/{chunk-QXXLDY6I.js → chunk-LI7AQ5NQ.js} +4 -4
  111. package/dist/{chunk-QXXLDY6I.js.map → chunk-LI7AQ5NQ.js.map} +1 -1
  112. package/dist/chunk-LK3QJHVX.js +19 -0
  113. package/dist/chunk-LK3QJHVX.js.map +1 -0
  114. package/dist/{chunk-LETAE6SX.js → chunk-LSFPZR52.js} +4 -4
  115. package/dist/{chunk-LETAE6SX.js.map → chunk-LSFPZR52.js.map} +1 -1
  116. package/dist/{chunk-CRHKWHTA.js → chunk-LUWZ7UZQ.js} +4 -4
  117. package/dist/{chunk-CRHKWHTA.js.map → chunk-LUWZ7UZQ.js.map} +1 -1
  118. package/dist/{chunk-CMG4OZPV.js → chunk-LWWIBUDK.js} +2 -2
  119. package/dist/{chunk-CMG4OZPV.js.map → chunk-LWWIBUDK.js.map} +1 -1
  120. package/dist/{chunk-LOW7J7SE.js → chunk-MHF2NK7F.js} +4 -4
  121. package/dist/{chunk-LOW7J7SE.js.map → chunk-MHF2NK7F.js.map} +1 -1
  122. package/dist/{chunk-JHUEYWWI.js → chunk-MPM6YBOM.js} +2 -2
  123. package/dist/{chunk-JHUEYWWI.js.map → chunk-MPM6YBOM.js.map} +1 -1
  124. package/dist/{chunk-ALBFHXMZ.js → chunk-MPT6Y7Z2.js} +87 -2
  125. package/dist/chunk-MPT6Y7Z2.js.map +1 -0
  126. package/dist/{chunk-OZKBIPXU.js → chunk-NO2XO7S6.js} +3 -3
  127. package/dist/{chunk-OZKBIPXU.js.map → chunk-NO2XO7S6.js.map} +1 -1
  128. package/dist/{chunk-FQETQ7CM.js → chunk-NSNQWDJ4.js} +2 -2
  129. package/dist/{chunk-FQETQ7CM.js.map → chunk-NSNQWDJ4.js.map} +1 -1
  130. package/dist/{chunk-F34LHBQI.js → chunk-OW2ODKHN.js} +9 -17
  131. package/dist/chunk-OW2ODKHN.js.map +1 -0
  132. package/dist/{chunk-PVKAIVKE.js → chunk-P427MACE.js} +63 -74
  133. package/dist/chunk-P427MACE.js.map +1 -0
  134. package/dist/{chunk-FR5G77K5.js → chunk-PJKH2GZ3.js} +2 -2
  135. package/dist/{chunk-FR5G77K5.js.map → chunk-PJKH2GZ3.js.map} +1 -1
  136. package/dist/{chunk-FNJA4S6J.js → chunk-QNA27ABY.js} +3 -3
  137. package/dist/{chunk-FNJA4S6J.js.map → chunk-QNA27ABY.js.map} +1 -1
  138. package/dist/chunk-QYOPZ2XS.js +124 -0
  139. package/dist/chunk-QYOPZ2XS.js.map +1 -0
  140. package/dist/{chunk-6BXPN5SC.js → chunk-RO3TSZ5W.js} +3 -3
  141. package/dist/{chunk-6BXPN5SC.js.map → chunk-RO3TSZ5W.js.map} +1 -1
  142. package/dist/{chunk-4IXG6XCT.js → chunk-RUCUU7Z7.js} +2 -2
  143. package/dist/{chunk-4IXG6XCT.js.map → chunk-RUCUU7Z7.js.map} +1 -1
  144. package/dist/{chunk-2FA3SX57.js → chunk-RYBJ7OZB.js} +4 -4
  145. package/dist/{chunk-2FA3SX57.js.map → chunk-RYBJ7OZB.js.map} +1 -1
  146. package/dist/{chunk-QSJAIXLM.js → chunk-SDQZYSCA.js} +3 -3
  147. package/dist/{chunk-QSJAIXLM.js.map → chunk-SDQZYSCA.js.map} +1 -1
  148. package/dist/{chunk-3XSY5LAB.js → chunk-SXZTDJMG.js} +4 -4
  149. package/dist/{chunk-3XSY5LAB.js.map → chunk-SXZTDJMG.js.map} +1 -1
  150. package/dist/{chunk-UD5KHQOH.js → chunk-T7M5FKCE.js} +28 -4
  151. package/dist/chunk-T7M5FKCE.js.map +1 -0
  152. package/dist/{chunk-KS7EXW4P.js → chunk-TIRBSPP2.js} +2 -2
  153. package/dist/{chunk-KS7EXW4P.js.map → chunk-TIRBSPP2.js.map} +1 -1
  154. package/dist/{chunk-XO5IOPM5.js → chunk-TNJGPG6R.js} +8 -8
  155. package/dist/{chunk-XO5IOPM5.js.map → chunk-TNJGPG6R.js.map} +1 -1
  156. package/dist/{chunk-73LC3JAL.js → chunk-U5SQOZNK.js} +4 -4
  157. package/dist/{chunk-73LC3JAL.js.map → chunk-U5SQOZNK.js.map} +1 -1
  158. package/dist/{chunk-Y4VR6VNM.js → chunk-UPOS666Q.js} +2 -2
  159. package/dist/{chunk-Y4VR6VNM.js.map → chunk-UPOS666Q.js.map} +1 -1
  160. package/dist/{chunk-YE6KCAIN.js → chunk-USSGJ3MD.js} +2 -2
  161. package/dist/{chunk-YE6KCAIN.js.map → chunk-USSGJ3MD.js.map} +1 -1
  162. package/dist/{chunk-4UWLHKNU.js → chunk-UWLJ7UEK.js} +3 -3
  163. package/dist/{chunk-4UWLHKNU.js.map → chunk-UWLJ7UEK.js.map} +1 -1
  164. package/dist/{chunk-SNUDT6AX.js → chunk-VHAYQGWR.js} +2 -2
  165. package/dist/{chunk-SNUDT6AX.js.map → chunk-VHAYQGWR.js.map} +1 -1
  166. package/dist/{chunk-DV6GE57V.js → chunk-VWGRAE2Q.js} +2 -2
  167. package/dist/chunk-VWGRAE2Q.js.map +1 -0
  168. package/dist/{chunk-4L5ZIKDZ.js → chunk-W7J3MQNV.js} +2 -2
  169. package/dist/{chunk-4L5ZIKDZ.js.map → chunk-W7J3MQNV.js.map} +1 -1
  170. package/dist/{chunk-MVWR5WRX.js → chunk-WWDDKUDW.js} +3 -3
  171. package/dist/{chunk-MVWR5WRX.js.map → chunk-WWDDKUDW.js.map} +1 -1
  172. package/dist/{chunk-WEQNPYVA.js → chunk-XXKRHKFH.js} +2 -2
  173. package/dist/{chunk-WEQNPYVA.js.map → chunk-XXKRHKFH.js.map} +1 -1
  174. package/dist/{chunk-Q7RILH2D.js → chunk-XZ253TGP.js} +32 -6
  175. package/dist/chunk-XZ253TGP.js.map +1 -0
  176. package/dist/{chunk-3TBMGGTA.js → chunk-Y672Z7QY.js} +2 -2
  177. package/dist/{chunk-3TBMGGTA.js.map → chunk-Y672Z7QY.js.map} +1 -1
  178. package/dist/{chunk-MMOQR426.js → chunk-YS3H6DEQ.js} +2 -2
  179. package/dist/{chunk-MMOQR426.js.map → chunk-YS3H6DEQ.js.map} +1 -1
  180. package/dist/{chunk-QR7MGGOM.js → chunk-YVGHWCMY.js} +3 -3
  181. package/dist/{chunk-QR7MGGOM.js.map → chunk-YVGHWCMY.js.map} +1 -1
  182. package/dist/{chunk-4CYCJ3NY.js → chunk-Z4PGAYO7.js} +10 -10
  183. package/dist/{chunk-4CYCJ3NY.js.map → chunk-Z4PGAYO7.js.map} +1 -1
  184. package/dist/{chunk-JAC6AVZN.js → chunk-ZIZXXYXM.js} +3 -3
  185. package/dist/{chunk-JAC6AVZN.js.map → chunk-ZIZXXYXM.js.map} +1 -1
  186. package/dist/collapsible-panel.d.ts +5 -5
  187. package/dist/collapsible-panel.js +4 -4
  188. package/dist/collapsible-panel.js.map +1 -1
  189. package/dist/color-field.js +2 -2
  190. package/dist/color-picker.js +1 -1
  191. package/dist/color-swatches.js +1 -1
  192. package/dist/column-explorer.d.ts +2 -2
  193. package/dist/column-explorer.js +166 -20
  194. package/dist/column-explorer.js.map +1 -1
  195. package/dist/column-track.d.ts +21 -3
  196. package/dist/column-track.js +1 -1
  197. package/dist/combobox.d.ts +3 -3
  198. package/dist/combobox.js +1 -1
  199. package/dist/content-item.d.ts +1 -1
  200. package/dist/content-item.js +1 -1
  201. package/dist/content-swap.d.ts +3 -3
  202. package/dist/content-swap.js +1 -1
  203. package/dist/corner-status.d.ts +3 -3
  204. package/dist/corner-status.js +1 -1
  205. package/dist/device-class.js +101 -1
  206. package/dist/device-class.js.map +1 -1
  207. package/dist/disclosure-arrow.d.ts +3 -3
  208. package/dist/disclosure-arrow.js +1 -1
  209. package/dist/disclosure.d.ts +14 -2
  210. package/dist/disclosure.js +13 -4
  211. package/dist/disclosure.js.map +1 -1
  212. package/dist/edge-activity-indicator.d.ts +3 -3
  213. package/dist/edge-activity-indicator.js +1 -1
  214. package/dist/empty-state.d.ts +3 -3
  215. package/dist/empty-state.js +1 -1
  216. package/dist/{extension-attributes-IJ4decoa.d.ts → extension-attributes-CnqvBmj3.d.ts} +1 -1
  217. package/dist/file-picker.d.ts +3 -3
  218. package/dist/file-picker.js +1 -1
  219. package/dist/floating-toolbar.d.ts +3 -3
  220. package/dist/floating-toolbar.js +1 -1
  221. package/dist/form.d.ts +3 -3
  222. package/dist/form.js +1 -1
  223. package/dist/framed-list.js +1 -1
  224. package/dist/gauge.js +1 -1
  225. package/dist/grid.js +1 -1
  226. package/dist/index.d.ts +5 -3
  227. package/dist/index.js +70 -68
  228. package/dist/list-action-row.js +1 -1
  229. package/dist/list-detail-dialog.d.ts +3 -3
  230. package/dist/list-detail-dialog.js +7 -7
  231. package/dist/list-detail-dialog.js.map +1 -1
  232. package/dist/list-header.d.ts +1 -1
  233. package/dist/list-header.js +2 -1
  234. package/dist/list-inset-control.d.ts +3 -3
  235. package/dist/list-inset-control.js +1 -1
  236. package/dist/list-inset-text.js +1 -1
  237. package/dist/list-item.js +1 -1
  238. package/dist/list.d.ts +1 -1
  239. package/dist/list.js +1 -1
  240. package/dist/loading-spinner.d.ts +3 -3
  241. package/dist/loading-spinner.js +1 -1
  242. package/dist/lucide-icon.d.ts +3 -3
  243. package/dist/lucide-icon.js +1 -1
  244. package/dist/message-composer.js +2 -1
  245. package/dist/{nav-stack-DKrvqFjA.d.ts → nav-stack-IKSMxo2A.d.ts} +3 -3
  246. package/dist/nav-stack.d.ts +2 -2
  247. package/dist/nav-stack.js +1 -1
  248. package/dist/paged-view.d.ts +3 -3
  249. package/dist/paged-view.js +1 -1
  250. package/dist/paged-view.js.map +1 -1
  251. package/dist/pane.js +1 -1
  252. package/dist/popup-menu-register.js +1 -1
  253. package/dist/popup-menu.d.ts +1 -20
  254. package/dist/popup-menu.js +1 -1
  255. package/dist/progress-bar.js +1 -1
  256. package/dist/progress-ring.js +1 -1
  257. package/dist/radio-group.js +1 -1
  258. package/dist/resizable-region.d.ts +3 -3
  259. package/dist/resizable-region.js +1 -1
  260. package/dist/row.d.ts +1 -1
  261. package/dist/row.js +1 -1
  262. package/dist/scroll-effect.d.ts +1 -1
  263. package/dist/scroll-effect.js +1 -1
  264. package/dist/{search-field-5lNIszda.d.ts → search-field-BA48RaJY.d.ts} +13 -4
  265. package/dist/search-field-model.d.ts +2 -2
  266. package/dist/search-field.d.ts +2 -2
  267. package/dist/search-field.js +1 -1
  268. package/dist/segmented-control.d.ts +3 -3
  269. package/dist/segmented-control.js +1 -1
  270. package/dist/select-register.js +2 -2
  271. package/dist/select-register.js.map +1 -1
  272. package/dist/select.d.ts +3 -13
  273. package/dist/select.js +1 -1
  274. package/dist/sized-region.d.ts +3 -3
  275. package/dist/sized-region.js +1 -1
  276. package/dist/skeleton.d.ts +3 -3
  277. package/dist/skeleton.js +1 -1
  278. package/dist/slider.js +1 -1
  279. package/dist/spacer.d.ts +3 -3
  280. package/dist/spacer.js +1 -1
  281. package/dist/split-button.js +1 -1
  282. package/dist/split-middle-De745N2j.d.ts +7 -0
  283. package/dist/split-view.d.ts +4 -4
  284. package/dist/split-view.js +1 -1
  285. package/dist/state-banner.js +1 -1
  286. package/dist/styles/components/actions/popup-menu/popup-menu.css +0 -124
  287. package/dist/styles/components/actions/toolbar/toolbar.css +0 -7
  288. package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +9 -1
  289. package/dist/styles/components/collections/framed-list/framed-list.css +7 -3
  290. package/dist/styles/components/collections/list-action-row/list-action-row.css +5 -1
  291. package/dist/styles/components/forms/radio-group/radio-group.css +8 -4
  292. package/dist/styles/components/forms/search-field/search-field.css +98 -0
  293. package/dist/styles/components/forms/select/select.css +0 -60
  294. package/dist/styles/components/forms/text-field/text-field.css +1 -1
  295. package/dist/styles/components/navigation/tab-bar-item/tab-bar-item.css +33 -3
  296. package/dist/styles/components/surfaces/disclosure/disclosure.css +24 -4
  297. package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +1 -1
  298. package/dist/styles/components/typography/text/text.css +2 -2
  299. package/dist/styles/disclosure.css +24 -4
  300. package/dist/styles/framed-list.css +7 -3
  301. package/dist/styles/list-action-row.css +5 -1
  302. package/dist/styles/popup-menu.css +0 -124
  303. package/dist/styles/radio-group.css +8 -4
  304. package/dist/styles/search-field.css +98 -0
  305. package/dist/styles/select.css +0 -60
  306. package/dist/styles/surface-scaffold.css +1 -1
  307. package/dist/styles/tab-bar-item.css +33 -3
  308. package/dist/styles/text-field.css +1 -1
  309. package/dist/styles/text.css +2 -2
  310. package/dist/styles/toolbar-control-group.css +9 -1
  311. package/dist/styles/toolbar.css +0 -7
  312. package/dist/styles/webawesome.css +7 -0
  313. package/dist/summary-row.js +1 -1
  314. package/dist/sunken-panel.d.ts +3 -3
  315. package/dist/sunken-panel.js +1 -1
  316. package/dist/surface-scaffold.d.ts +9 -5
  317. package/dist/surface-scaffold.js +1 -1
  318. package/dist/switch.js +1 -1
  319. package/dist/tab-bar-item.d.ts +26 -2
  320. package/dist/tab-bar-item.js +2 -1
  321. package/dist/tab-bar.d.ts +3 -3
  322. package/dist/tab-bar.js +1 -1
  323. package/dist/tab-navigator.d.ts +3 -3
  324. package/dist/tab-navigator.js +2 -2
  325. package/dist/tab-navigator.js.map +1 -1
  326. package/dist/tab-panel.d.ts +3 -3
  327. package/dist/tab-panel.js +1 -1
  328. package/dist/tag-field.d.ts +3 -3
  329. package/dist/tag-field.js +1 -1
  330. package/dist/text-field.d.ts +2 -2
  331. package/dist/text-field.js +1 -1
  332. package/dist/text.d.ts +3 -2
  333. package/dist/text.js +2 -1
  334. package/dist/toolbar-control-group.d.ts +7 -7
  335. package/dist/toolbar-control-group.js +1 -1
  336. package/dist/toolbar-text.d.ts +3 -3
  337. package/dist/toolbar-text.js +1 -1
  338. package/dist/toolbar.d.ts +3 -3
  339. package/dist/toolbar.js +1 -1
  340. package/dist/tree-list.d.ts +3 -3
  341. package/dist/tree-list.js +151 -3
  342. package/dist/tree-list.js.map +1 -1
  343. package/dist/{tree-rows-Bms5QJvG.d.ts → tree-rows-BXChApji.d.ts} +1 -1
  344. package/dist/value-preview.d.ts +3 -3
  345. package/dist/value-preview.js +1 -1
  346. package/dist/value-table.d.ts +5 -5
  347. package/dist/value-table.js +1 -1
  348. package/dist/wire-catalog.d.ts +2 -2
  349. package/dist/wire-catalog.js +2 -2
  350. package/dist/wire-color-fields.js +73 -2
  351. package/dist/wire-color-fields.js.map +1 -1
  352. package/dist/wire-color-pickers.js +1 -1
  353. package/dist/wire-column-explorer.js +92 -1
  354. package/dist/wire-column-explorer.js.map +1 -1
  355. package/dist/wire-column-tracks.d.ts +13 -0
  356. package/dist/wire-column-tracks.js +4 -0
  357. package/dist/wire-column-tracks.js.map +1 -0
  358. package/dist/wire-content-items.js +204 -1
  359. package/dist/wire-content-items.js.map +1 -1
  360. package/dist/wire-nav-stack.js +423 -1
  361. package/dist/wire-nav-stack.js.map +1 -1
  362. package/dist/wire-resizable-regions.js +1 -1
  363. package/dist/wire-search-fields.d.ts +2 -2
  364. package/dist/wire-search-fields.js +1 -1
  365. package/dist/wire-sidebar.js +228 -1
  366. package/dist/wire-sidebar.js.map +1 -1
  367. package/dist/wire-sliders.js +29 -1
  368. package/dist/wire-sliders.js.map +1 -1
  369. package/dist/wire-tab-bars.d.ts +1 -1
  370. package/dist/wire-tab-bars.js +1 -1
  371. package/dist/wire-tab-navigator.js +150 -1
  372. package/dist/wire-tab-navigator.js.map +1 -1
  373. package/dist/wire-tag-fields.js +252 -2
  374. package/dist/wire-tag-fields.js.map +1 -1
  375. package/dist/wire-tree-list.js +186 -1
  376. package/dist/wire-tree-list.js.map +1 -1
  377. package/dist/wire-workbench.js +1 -1
  378. package/dist/workbench-dialog.d.ts +3 -3
  379. package/dist/workbench-dialog.js +5 -5
  380. package/dist/workbench-dialog.js.map +1 -1
  381. package/dist/workbench.d.ts +4 -4
  382. package/dist/workbench.js +1 -1
  383. package/docs/accessibility.md +18 -5
  384. package/docs/component-contract.md +4 -3
  385. package/docs/component-selection.md +14 -5
  386. package/docs/disclosure.md +22 -0
  387. package/docs/layout.md +11 -0
  388. package/docs/list-detail-dialog.md +2 -3
  389. package/docs/scroll-effect.md +2 -2
  390. package/docs/surface-scaffold.md +5 -6
  391. package/docs/workbench-dialog.md +2 -3
  392. package/llms.txt +10 -46
  393. package/package.json +7 -33
  394. package/ux-demo/recipes/app-shell.tsx +141 -48
  395. package/ux-demo/recipes/collapsible-sidebar.tsx +169 -43
  396. package/ux-demo/recipes/compact-toolbar.tsx +114 -22
  397. package/ux-demo/recipes/composer-form.tsx +104 -14
  398. package/ux-demo/recipes/list-detail-dialog.tsx +84 -38
  399. package/ux-demo/recipes/list-workspace-states.tsx +152 -29
  400. package/ux-demo/recipes/loading-inspector.tsx +174 -30
  401. package/ux-demo/recipes/media-detail.tsx +146 -29
  402. package/ux-demo/recipes/navigation-sidebar.tsx +113 -24
  403. package/ux-demo/recipes/navigation-stack.tsx +43 -7
  404. package/ux-demo/recipes/workspace-header.tsx +66 -2
  405. package/ai/component-props-overlay.json +0 -8892
  406. package/ai/component-props-overlay.schema.json +0 -82
  407. package/ai/component-props.json +0 -34203
  408. package/ai/component-props.schema.json +0 -408
  409. package/ai/view-document.schema.json +0 -467
  410. package/dist/browser/editor.js +0 -50
  411. package/dist/chunk-3K5V3ZSD.js +0 -77
  412. package/dist/chunk-3K5V3ZSD.js.map +0 -1
  413. package/dist/chunk-63TJH2RF.js +0 -231
  414. package/dist/chunk-63TJH2RF.js.map +0 -1
  415. package/dist/chunk-6V6UHPJD.js +0 -153
  416. package/dist/chunk-6V6UHPJD.js.map +0 -1
  417. package/dist/chunk-76BLSFEA.js.map +0 -1
  418. package/dist/chunk-ALBFHXMZ.js.map +0 -1
  419. package/dist/chunk-ASU4ODOH.js.map +0 -1
  420. package/dist/chunk-BMUYZKXW.js +0 -155
  421. package/dist/chunk-BMUYZKXW.js.map +0 -1
  422. package/dist/chunk-COQI4OMZ.js.map +0 -1
  423. package/dist/chunk-D2KHQNJ6.js +0 -155
  424. package/dist/chunk-D2KHQNJ6.js.map +0 -1
  425. package/dist/chunk-DV6GE57V.js.map +0 -1
  426. package/dist/chunk-ECJHCPBN.js.map +0 -1
  427. package/dist/chunk-F34LHBQI.js.map +0 -1
  428. package/dist/chunk-GHV36C6I.js +0 -94
  429. package/dist/chunk-GHV36C6I.js.map +0 -1
  430. package/dist/chunk-HHEBNP6Z.js +0 -256
  431. package/dist/chunk-HHEBNP6Z.js.map +0 -1
  432. package/dist/chunk-HPOXLOVC.js +0 -184
  433. package/dist/chunk-HPOXLOVC.js.map +0 -1
  434. package/dist/chunk-I2K4OQKB.js +0 -426
  435. package/dist/chunk-I2K4OQKB.js.map +0 -1
  436. package/dist/chunk-PVKAIVKE.js.map +0 -1
  437. package/dist/chunk-Q7RILH2D.js.map +0 -1
  438. package/dist/chunk-RGB4DPMN.js.map +0 -1
  439. package/dist/chunk-S7QB5KMM.js.map +0 -1
  440. package/dist/chunk-SGYBIKQA.js.map +0 -1
  441. package/dist/chunk-TXBNPEIJ.js +0 -31
  442. package/dist/chunk-TXBNPEIJ.js.map +0 -1
  443. package/dist/chunk-UD5KHQOH.js.map +0 -1
  444. package/dist/chunk-UU37OR3D.js.map +0 -1
  445. package/dist/chunk-WCMGPAY2.js +0 -103
  446. package/dist/chunk-WCMGPAY2.js.map +0 -1
  447. package/dist/chunk-WSPXSWFG.js.map +0 -1
  448. package/dist/chunk-WUVHP3UC.js.map +0 -1
  449. package/dist/chunk-X43QQWVC.js +0 -208
  450. package/dist/chunk-X43QQWVC.js.map +0 -1
  451. package/dist/editor.d.ts +0 -447
  452. package/dist/editor.js +0 -15604
  453. package/dist/editor.js.map +0 -1
  454. package/dist/styles/editor/editor.css +0 -585
  455. package/dist/styles/editor.css +0 -4
  456. package/dist/view-runtime.d.ts +0 -9
  457. package/dist/view-runtime.js +0 -8
  458. package/dist/view-runtime.js.map +0 -1
  459. package/docs/editor-host.md +0 -397
  460. package/docs/view.md +0 -314
  461. package/props/cli.d.mts +0 -1
  462. package/props/cli.mjs +0 -142
  463. package/props/component-props.d.mts +0 -180
  464. package/props/component-props.mjs +0 -1208
  465. package/view/catalog.mjs +0 -229
  466. package/view/child-kind.mjs +0 -22
  467. package/view/cli.d.mts +0 -18
  468. package/view/cli.mjs +0 -316
  469. package/view/contract.mjs +0 -418
  470. package/view/css-grammar.mjs +0 -93
  471. package/view/generate.d.mts +0 -16
  472. package/view/generate.mjs +0 -739
  473. package/view/index.d.mts +0 -491
  474. package/view/index.mjs +0 -36
  475. package/view/interpret.mjs +0 -339
  476. package/view/project-types-worker.mjs +0 -55
  477. package/view/project-types.d.mts +0 -43
  478. package/view/project-types.mjs +0 -618
  479. package/view/type-expression.d.mts +0 -15
  480. package/view/type-expression.mjs +0 -162
  481. package/view/types.mjs +0 -165
  482. package/view/validate-move.mjs +0 -353
  483. package/view/validate.mjs +0 -1649
  484. package/vite-editor.d.mts +0 -173
  485. package/vite-editor.mjs +0 -548
package/README.md CHANGED
@@ -310,6 +310,7 @@ interchangeable. `ListItem` and `ListActionRow` deliberately expose no raw
310
310
  | `SummaryRow` | `@kerfjs/ui/summary-row` | `@kerfjs/ui/summary-row.css` |
311
311
  | `wireSummaryRows` | `@kerfjs/ui/wire-summary-rows` | — |
312
312
  | `ColumnTrack` | `@kerfjs/ui/column-track` | `@kerfjs/ui/column-track.css` |
313
+ | `wireColumnTracks` | `@kerfjs/ui/wire-column-tracks` | — |
313
314
  | `ContentSwap` | `@kerfjs/ui/content-swap` | `@kerfjs/ui/content-swap.css` |
314
315
  | `FilePickerTrigger`, `FileDropZone` | `@kerfjs/ui/file-picker` | `@kerfjs/ui/file-picker.css` |
315
316
  | `wireFilePickers`, `fileMatchesAccept` | `@kerfjs/ui/wire-file-pickers` | — |
@@ -919,19 +920,6 @@ engine removes custom placement code, and treat Tree, Animated Image,
919
920
  Comparison, and Zoomable Frame as exceptional rather than default patterns.
920
921
  The detailed rationale lives in the theme contract.
921
922
 
922
- ## Editor
923
-
924
- `@kerfjs/ui/vite-editor` runs the Kerf UI editor in your application's own
925
- Vite dev server (`plugins: [kerfUiEditor()]`, then open `/__kerf-ui-editor/`),
926
- so your components preview and edit beside Kerf UI's. `@kerfjs/ui/editor` is
927
- the editor module for a host that builds its own page. See the
928
- [editor host guide](./docs/editor-host.md).
929
-
930
- The editor writes view documents (`*.kui.json`). `@kerfjs/ui/view` validates
931
- them (`validateView`) and renders them at runtime (`interpretView`), and the
932
- `kerf-ui-view` CLI generates each one's read-only, typed `*.view.ts` module
933
- (`generate`, `check`, `diff`). See the [view documents guide](./docs/view.md).
934
-
935
923
  ## Design and tool guidance
936
924
 
937
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.",
@@ -4309,7 +4311,8 @@
4309
4311
  "uses": [],
4310
4312
  "purpose": "Lay out a board of columns (kanban) as one horizontal scroll owner: equal columns that never shrink below a minimum, or a paged phone layout with a peeking next column and start snapping, without app track CSS.",
4311
4313
  "publicExports": [
4312
- "ColumnTrack"
4314
+ "ColumnTrack",
4315
+ "wireColumnTracks"
4313
4316
  ],
4314
4317
  "useWhen": [
4315
4318
  "A board shows several parallel columns (kanban lanes) that must keep a readable width and scroll sideways, or page one at a time on a phone."
@@ -4330,12 +4333,14 @@
4330
4333
  "the columns and their content",
4331
4334
  "choosing scroll or paged layout (for example by device class)",
4332
4335
  "drag and drop between columns",
4333
- "the board's and each column's accessible name"
4336
+ "the board's and each column's accessible name",
4337
+ "which column the board opens on (start), and each column's data-column-id when start names one"
4334
4338
  ],
4335
4339
  "variants": [
4336
4340
  "scroll with a minimum column width",
4337
4341
  "paged with peek and mandatory snapping",
4338
- "ariaLabel: the track is a named role=region"
4342
+ "ariaLabel: the track is a named role=region",
4343
+ "start: open at the end, or on a column named by its data-column-id, held across width changes until the person scrolls (wireColumnTracks)"
4339
4344
  ],
4340
4345
  "accessibility": [
4341
4346
  "Name the track with ariaLabel, which makes it a role=region with that name, and name each column List with landmark=\"region\" and its own ariaLabel. Paged scrolling is smooth unless reduced motion is preferred."
@@ -4355,7 +4360,13 @@
4355
4360
  "browser-condition-css"
4356
4361
  ]
4357
4362
  },
4358
- "wiring": [],
4363
+ "wiring": [
4364
+ {
4365
+ "export": "wireColumnTracks",
4366
+ "import": "@kerfjs/ui/wire-column-tracks",
4367
+ "required": false
4368
+ }
4369
+ ],
4359
4370
  "publicClasses": [
4360
4371
  "kui-column-track",
4361
4372
  "kui-column-track__columns"
@@ -5880,7 +5891,8 @@
5880
5891
  "useWhen": [
5881
5892
  "Optional or advanced content should stay out of the way until a person asks for it (advanced settings, a build log, release notes).",
5882
5893
  "A list of questions or sections should open one at a time: give the Disclosures the same name for a native exclusive accordion.",
5883
- "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."
5884
5896
  ],
5885
5897
  "avoidWhen": [
5886
5898
  "Do not use it to switch between peer views; use a SegmentedControl or TabBar.",
@@ -5903,6 +5915,7 @@
5903
5915
  "variants": [
5904
5916
  "plain, framed, or sunken appearance",
5905
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",
5906
5919
  "open or closed initially",
5907
5920
  "a quiet detail after the title",
5908
5921
  "an exclusive accordion group sharing a name"
@@ -6058,6 +6071,7 @@
6058
6071
  "segmented presentation",
6059
6072
  "icon-only accessible presentation",
6060
6073
  "label maximum width and ellipsis or visible name overflow",
6074
+ "nameTruncate start or middle ellipsis that keeps a name's tail visible",
6061
6075
  "drop-target highlight",
6062
6076
  "attention name color",
6063
6077
  "named disabled tab and explicit tab/panel association"
@@ -6080,7 +6094,7 @@
6080
6094
  "border": "self",
6081
6095
  "padding": "self",
6082
6096
  "notes": [
6083
- "TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow=\"visible\" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated)."
6097
+ "TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow=\"visible\" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated). A nameOverflow=\"visible\" tab whose full width exceeds its strip falls back to the strip's width with an ellipsis and its full name as the title; its name is never clipped by the strip."
6084
6098
  ]
6085
6099
  },
6086
6100
  "delivery": {
@@ -6311,8 +6325,7 @@
6311
6325
  ],
6312
6326
  "useWhen": [
6313
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.",
6314
- "Show placeholders in the panel of a pending TabBarItem; set busy until its content loads.",
6315
- "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."
6316
6329
  ],
6317
6330
  "avoidWhen": [
6318
6331
  "Do not write a raw element with role=\"tabpanel\" in Kerf UI markup; render TabPanel.",
@@ -6497,11 +6510,10 @@
6497
6510
  ],
6498
6511
  "useWhen": [
6499
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).",
6500
- "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.",
6501
- "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."
6502
6514
  ],
6503
6515
  "avoidWhen": [
6504
- "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.",
6505
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.",
6506
6518
  "Do not rely on Form to post to a URL; it has no native action or method, and the application owns transport."
6507
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"],
@@ -3557,11 +3549,16 @@
3557
3549
  "id": "the board's and each column's accessible name",
3558
3550
  "owner": "application",
3559
3551
  "required": false
3552
+ },
3553
+ {
3554
+ "id": "which column the board opens on (start), and each column's data-column-id when start names one",
3555
+ "owner": "application",
3556
+ "required": false
3560
3557
  }
3561
3558
  ],
3562
3559
  "wiring": {
3563
3560
  "required": false,
3564
- "helpers": [],
3561
+ "helpers": ["wireColumnTracks"],
3565
3562
  "obligations": [],
3566
3563
  "stateAttributes": []
3567
3564
  },
@@ -4824,7 +4821,7 @@
4824
4821
  "border": "self",
4825
4822
  "padding": "self",
4826
4823
  "notes": [
4827
- "TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow=\"visible\" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated)."
4824
+ "TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow=\"visible\" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated). A nameOverflow=\"visible\" tab whose full width exceeds its strip falls back to the strip's width with an ellipsis and its full name as the title; its name is never clipped by the strip."
4828
4825
  ]
4829
4826
  }
4830
4827
  },
@@ -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
  }
@@ -24,8 +24,9 @@ Lay out a board of columns (kanban) as one horizontal scroll owner: equal column
24
24
 
25
25
  ## Imports
26
26
 
27
- - JavaScript: `@kerfjs/ui/column-track` — exports `ColumnTrack`.
27
+ - JavaScript: `@kerfjs/ui/column-track` — exports `ColumnTrack`, `wireColumnTracks`.
28
28
  - CSS: the browser build of `@kerfjs/ui/column-track` pulls its CSS automatically; import `@kerfjs/ui/column-track.css` manually only without the `browser` export condition.
29
+ - Wiring: `wireColumnTracks` from `@kerfjs/ui/wire-column-tracks` (optional).
29
30
  - Declared side effects: browser-condition-css.
30
31
 
31
32
  ## Props
@@ -37,6 +38,7 @@ Exact prop names and types: [`@kerfjs/ui/column-track`](../public-api-signatures
37
38
  - scroll with a minimum column width
38
39
  - paged with peek and mandatory snapping
39
40
  - ariaLabel: the track is a named role=region
41
+ - start: open at the end, or on a column named by its data-column-id, held across width changes until the person scrolls (wireColumnTracks)
40
42
 
41
43
  ## Composition
42
44
 
@@ -46,9 +48,9 @@ Exact prop names and types: [`@kerfjs/ui/column-track`](../public-api-signatures
46
48
 
47
49
  ## State and wiring
48
50
 
49
- **The app owns:** the columns and their content; choosing scroll or paged layout (for example by device class); drag and drop between columns; the board's and each column's accessible name.
51
+ **The app owns:** the columns and their content; choosing scroll or paged layout (for example by device class); drag and drop between columns; the board's and each column's accessible name; which column the board opens on (start), and each column's data-column-id when start names one.
50
52
 
51
- No wiring helper.
53
+ **Wiring:** `wireColumnTracks` is optional.
52
54
 
53
55
  ## Geometry
54
56
 
@@ -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
 
@@ -43,6 +43,7 @@ Exact prop names and types: [`@kerfjs/ui/tab-bar-item`](../public-api-signatures
43
43
  - segmented presentation
44
44
  - icon-only accessible presentation
45
45
  - label maximum width and ellipsis or visible name overflow
46
+ - nameTruncate start or middle ellipsis that keeps a name's tail visible
46
47
  - drop-target highlight
47
48
  - attention name color
48
49
  - named disabled tab and explicit tab/panel association
@@ -70,7 +71,7 @@ No wiring helper.
70
71
 
71
72
  Margin: none · border: self · padding: self (layout role: navigation). `self` means the component already owns it — do not add wrapper padding, margin, or borders around it.
72
73
 
73
- - TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow="visible" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated).
74
+ - TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow="visible" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated). A nameOverflow="visible" tab whose full width exceeds its strip falls back to the strip's width with an ellipsis and its full name as the title; its name is never clipped by the strip.
74
75
 
75
76
  ## Accessibility
76
77
 
@@ -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).