@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
@@ -4,15 +4,20 @@ import '@kerfjs/ui/nav-stack.css';
4
4
  import '@kerfjs/ui/split-view.css';
5
5
  import '@kerfjs/ui/webawesome.css';
6
6
 
7
+ import { Button } from '@kerfjs/ui/button';
8
+ import { remify } from '@kerfjs/ui/css-values';
7
9
  import { deviceClass } from '@kerfjs/ui/device-class';
10
+ import { List } from '@kerfjs/ui/list';
11
+ import { ListDetailDialog } from '@kerfjs/ui/list-detail-dialog';
12
+ import { ListItem } from '@kerfjs/ui/list-item';
13
+ import { LucideIcon } from '@kerfjs/ui/lucide-icon';
14
+ import { Row } from '@kerfjs/ui/row';
15
+ import { Spacer } from '@kerfjs/ui/spacer';
8
16
  import { openDialog } from '@kerfjs/ui/surface-scaffold';
17
+ import { ValueTable, ValueTableRow } from '@kerfjs/ui/value-table';
9
18
  import { signal } from 'kerfjs';
19
+ import { ChevronRight, FileText } from 'lucide';
10
20
 
11
- import { renderRecipeListDetailActions } from '../views/recipe-list-detail-actions.view.js';
12
- import { renderRecipeListDetailDialog } from '../views/recipe-list-detail-dialog.view.js';
13
- import { renderRecipeListDetailLauncher } from '../views/recipe-list-detail-launcher.view.js';
14
- import { renderRecipeListDetailRows } from '../views/recipe-list-detail-rows.view.js';
15
- import { renderRecipeListDetailValues } from '../views/recipe-list-detail-values.view.js';
16
21
  import type { RecipeFactory, RecipePresentation } from './types.js';
17
22
 
18
23
  const records = {
@@ -52,20 +57,44 @@ export const createRecipe: RecipeFactory = (announce) => {
52
57
 
53
58
  const projectRows = (compact: boolean) => (
54
59
  <section aria-label="Projects">
55
- {renderRecipeListDetailRows({
56
- records: Object.entries(records).map(([id, record]) => ({
57
- id,
58
- name: record.name,
59
- description: `${record.owner} · ${record.state}`,
60
- selected: !compact && selected.value === id,
61
- })),
62
- compact,
63
- controlInsets: compact ? undefined : 'tb',
64
- })}
60
+ {Object.entries(records).map(([id, record]) => (
61
+ <ListItem
62
+ action="recipe-action"
63
+ itemId={id}
64
+ label={record.name}
65
+ description={`${record.owner} · ${record.state}`}
66
+ icon={<LucideIcon icon={FileText} name="file-text" />}
67
+ trailing={
68
+ compact ? (
69
+ <LucideIcon icon={ChevronRight} name="chevron-right" />
70
+ ) : undefined
71
+ }
72
+ selected={!compact && selected.value === id}
73
+ multiline
74
+ />
75
+ ))}
65
76
  </section>
66
77
  );
67
78
 
68
- const recordActions = renderRecipeListDetailActions;
79
+ const recordActions = () => (
80
+ <Row gap="xs" wrap controlInsets="trbl">
81
+ <Spacer flex />
82
+ <Button
83
+ emphasis="secondary"
84
+ action="recipe-action"
85
+ rootAttributes={{ 'data-recipe-command': 'archive' }}
86
+ >
87
+ Archive
88
+ </Button>
89
+ <Button
90
+ tone="brand"
91
+ action="recipe-action"
92
+ rootAttributes={{ 'data-recipe-command': 'open-record' }}
93
+ >
94
+ Open Project
95
+ </Button>
96
+ </Row>
97
+ );
69
98
 
70
99
  const render = () => {
71
100
  const compact = device.value.compact;
@@ -75,29 +104,46 @@ export const createRecipe: RecipeFactory = (announce) => {
75
104
  data-recipe="recipe-list-detail-dialog"
76
105
  aria-label="Project Details Dialog"
77
106
  >
78
- {renderRecipeListDetailLauncher(
79
- {},
80
- {
81
- dialog: () =>
82
- renderRecipeListDetailDialog(
83
- {
84
- compact,
85
- detailActive: detailOpen.value,
86
- name: record.name,
87
- },
88
- {
89
- listContent: () => projectRows(compact),
90
- detailContent: () =>
91
- renderRecipeListDetailValues({
92
- owner: record.owner,
93
- state: record.state,
94
- updated: record.updated,
95
- }),
96
- footer: recordActions,
97
- },
107
+ <Row hAlign="center">
108
+ <Button
109
+ tone="brand"
110
+ action="recipe-action"
111
+ rootAttributes={{ 'data-recipe-command': 'open' }}
112
+ >
113
+ Open Project Details
114
+ </Button>
115
+ {/* One dialog in both layouts, so crossing the compact breakpoint
116
+ while it is open morphs it in place and it stays open. */}
117
+ <ListDetailDialog
118
+ id="recipe-projects"
119
+ label="Project Details"
120
+ compact={compact}
121
+ detailActive={detailOpen.value}
122
+ backLabel="Back to Projects"
123
+ viewportGutter={remify(16)}
124
+ list={{
125
+ title: 'Recent Projects',
126
+ content: (
127
+ <List controlInsets={compact ? undefined : 'tb'}>
128
+ {projectRows(compact)}
129
+ </List>
130
+ ),
131
+ }}
132
+ detail={{
133
+ title: record.name,
134
+ content: (
135
+ <List controlInsets="tb">
136
+ <ValueTable label="Project Details">
137
+ <ValueTableRow label="Owner" value={record.owner} />
138
+ <ValueTableRow label="Status" value={record.state} />
139
+ <ValueTableRow label="Updated" value={record.updated} />
140
+ </ValueTable>
141
+ </List>
98
142
  ),
99
- },
100
- )}
143
+ footer: recordActions(),
144
+ }}
145
+ />
146
+ </Row>
101
147
  </section>
102
148
  );
103
149
  };
@@ -1,16 +1,27 @@
1
1
  import '@kerfjs/ui/layout.css';
2
2
 
3
+ import { Button } from '@kerfjs/ui/button';
4
+ import { EmptyState } from '@kerfjs/ui/empty-state';
5
+ import { ListItem } from '@kerfjs/ui/list-item';
6
+ import { LoadingSpinner } from '@kerfjs/ui/loading-spinner';
7
+ import { Pane } from '@kerfjs/ui/pane';
8
+ import { StateBanner } from '@kerfjs/ui/state-banner';
9
+ import { Toolbar } from '@kerfjs/ui/toolbar';
10
+ import {
11
+ ToolbarButton,
12
+ ToolbarControlGroup,
13
+ } from '@kerfjs/ui/toolbar-control-group';
14
+ import { ToolbarText } from '@kerfjs/ui/toolbar-text';
3
15
  import { signal } from 'kerfjs';
4
16
 
5
- import { renderRecipeListWorkspaceEmpty } from '../views/recipe-list-workspace-empty.view.js';
6
- import { renderRecipeListWorkspaceError } from '../views/recipe-list-workspace-error.view.js';
7
- import { renderRecipeListWorkspaceLoading } from '../views/recipe-list-workspace-loading.view.js';
8
- import { renderRecipeListWorkspacePopulated } from '../views/recipe-list-workspace-populated.view.js';
9
- import { renderRecipeListWorkspaceShell } from '../views/recipe-list-workspace-shell.view.js';
10
- import { renderRecipeListWorkspaceStale } from '../views/recipe-list-workspace-stale.view.js';
11
17
  import type { RecipeFactory, RecipePresentation } from './types.js';
12
18
 
13
19
  type ListState = 'loading' | 'empty' | 'populated' | 'stale' | 'error';
20
+ const items = [
21
+ ['Audit keyboard focus order', 'In review · Mara'],
22
+ ['Verify 200% zoom layout', 'Ready · Sam'],
23
+ ['Publish package migration notes', 'Draft · Inez'],
24
+ ] as const;
14
25
 
15
26
  export const presentation: RecipePresentation = {
16
27
  viewport: {
@@ -29,33 +40,145 @@ export const createRecipe: RecipeFactory = (announce) => {
29
40
  const state = signal<ListState>('loading');
30
41
  const populated = () => (
31
42
  <section aria-label="Release Task List">
32
- {renderRecipeListWorkspacePopulated()}
43
+ {items.map(([title, detail]) => (
44
+ <ListItem
45
+ action="recipe-action"
46
+ label={title}
47
+ description={detail}
48
+ rootAttributes={{ 'data-recipe-command': 'open-task' }}
49
+ />
50
+ ))}
33
51
  </section>
34
52
  );
35
53
  const renderBody = () => {
36
- switch (state.value) {
37
- case 'loading':
38
- return renderRecipeListWorkspaceLoading();
39
- case 'empty':
40
- return renderRecipeListWorkspaceEmpty();
41
- case 'error':
42
- return renderRecipeListWorkspaceError();
43
- case 'stale':
44
- return (
45
- <>
46
- {renderRecipeListWorkspaceStale()}
47
- {populated()}
48
- </>
49
- );
50
- case 'populated':
51
- return populated();
52
- }
53
- };
54
- const render = () =>
55
- renderRecipeListWorkspaceShell(
56
- { state: state.value },
57
- { body: renderBody },
54
+ if (state.value === 'loading')
55
+ return (
56
+ <EmptyState
57
+ title="Loading Release Tasks"
58
+ detail="The current workspace will appear when data is ready."
59
+ busy
60
+ action={
61
+ <Button
62
+ action="recipe-action"
63
+ rootAttributes={{ 'data-recipe-command': 'load' }}
64
+ >
65
+ Complete Load
66
+ </Button>
67
+ }
68
+ />
69
+ );
70
+ if (state.value === 'empty')
71
+ return (
72
+ <EmptyState
73
+ title="No Release Tasks"
74
+ detail="Create the first task for this milestone."
75
+ action={
76
+ <Button
77
+ action="recipe-action"
78
+ rootAttributes={{ 'data-recipe-command': 'create' }}
79
+ >
80
+ Create Task
81
+ </Button>
82
+ }
83
+ />
84
+ );
85
+ if (state.value === 'error')
86
+ return (
87
+ <StateBanner
88
+ title="Release Tasks Could Not Be Refreshed"
89
+ detail="Existing filters are preserved. Try again when the connection recovers."
90
+ tone="danger"
91
+ urgency="alert"
92
+ action={
93
+ <Button
94
+ size="compact"
95
+ shape="pill"
96
+ action="recipe-action"
97
+ rootAttributes={{ 'data-recipe-command': 'retry' }}
98
+ >
99
+ Retry
100
+ </Button>
101
+ }
102
+ />
103
+ );
104
+ return (
105
+ <>
106
+ {state.value === 'stale' && (
107
+ <StateBanner
108
+ title="Showing Saved Results"
109
+ detail="Refreshing in the background."
110
+ tone="warning"
111
+ action={
112
+ <>
113
+ <LoadingSpinner label="Refreshing release tasks…" />
114
+ <Button
115
+ size="compact"
116
+ shape="pill"
117
+ action="recipe-action"
118
+ rootAttributes={{ 'data-recipe-command': 'finish' }}
119
+ >
120
+ Finish Refresh
121
+ </Button>
122
+ </>
123
+ }
124
+ />
125
+ )}
126
+ {populated()}
127
+ </>
58
128
  );
129
+ };
130
+ const render = () => (
131
+ <Pane
132
+ element="section"
133
+ label="Release Tasks"
134
+ rootAttributes={{
135
+ 'data-recipe': 'recipe-list-workspace-states',
136
+ 'data-list-state': state.value,
137
+ }}
138
+ header={
139
+ <Toolbar
140
+ label="Release Tasks"
141
+ responsive="stack"
142
+ responsiveAt="compact"
143
+ leading={
144
+ <ToolbarText
145
+ text="Release Tasks"
146
+ size="xlarge"
147
+ id="recipe-list-title"
148
+ />
149
+ }
150
+ trailing={
151
+ <ToolbarControlGroup
152
+ appearance="borderless"
153
+ content="text"
154
+ buttonAppearance="push"
155
+ >
156
+ <ToolbarButton
157
+ action="recipe-action"
158
+ rootAttributes={{ 'data-recipe-command': 'empty' }}
159
+ >
160
+ Clear
161
+ </ToolbarButton>
162
+ <ToolbarButton
163
+ action="recipe-action"
164
+ rootAttributes={{ 'data-recipe-command': 'fail' }}
165
+ >
166
+ Simulate Failure
167
+ </ToolbarButton>
168
+ <ToolbarButton
169
+ action="recipe-action"
170
+ rootAttributes={{ 'data-recipe-command': 'refresh' }}
171
+ >
172
+ Refresh
173
+ </ToolbarButton>
174
+ </ToolbarControlGroup>
175
+ }
176
+ />
177
+ }
178
+ >
179
+ {renderBody()}
180
+ </Pane>
181
+ );
59
182
  return {
60
183
  render,
61
184
  action(command) {
@@ -1,12 +1,27 @@
1
1
  import '@kerfjs/ui/layout.css';
2
2
  import '@kerfjs/ui/select/register';
3
3
 
4
+ import { Row } from '@kerfjs/ui';
5
+ import { em } from '@kerfjs/ui/css-values';
6
+ import { List } from '@kerfjs/ui/list';
7
+ import { ListItem } from '@kerfjs/ui/list-item';
8
+ import { LucideIcon } from '@kerfjs/ui/lucide-icon';
9
+ import { Pane } from '@kerfjs/ui/pane';
10
+ import { SegmentedControl } from '@kerfjs/ui/segmented-control';
11
+ import { Select } from '@kerfjs/ui/select';
12
+ import { Skeleton } from '@kerfjs/ui/skeleton';
13
+ import { StateBanner } from '@kerfjs/ui/state-banner';
14
+ import { Text } from '@kerfjs/ui/text';
15
+ import { Toolbar } from '@kerfjs/ui/toolbar';
16
+ import {
17
+ ToolbarButton,
18
+ ToolbarControlGroup,
19
+ } from '@kerfjs/ui/toolbar-control-group';
20
+ import { ToolbarText } from '@kerfjs/ui/toolbar-text';
21
+ import { ValueTable, ValueTableRow } from '@kerfjs/ui/value-table';
4
22
  import { signal } from 'kerfjs';
23
+ import { Columns3, FileText, Inbox, List as ListIcon } from 'lucide';
5
24
 
6
- import { renderRecipeInspectorIconColumns3 } from '../views/recipe-inspector-icon-columns-3.view.js';
7
- import { renderRecipeInspectorIconFileText } from '../views/recipe-inspector-icon-file-text.view.js';
8
- import { renderRecipeInspectorIconList } from '../views/recipe-inspector-icon-list.view.js';
9
- import { renderRecipeLoadingInspector } from '../views/recipe-loading-inspector.view.js';
10
25
  import type { RecipeFactory, RecipePresentation } from './types.js';
11
26
 
12
27
  export const presentation: RecipePresentation = {
@@ -20,35 +35,164 @@ export const presentation: RecipePresentation = {
20
35
  note: "Each value-bearing component's placeholder prop renders skeletons in its value slots while loading, so the recipe composes a faithful loading inspector from real chrome. The app owns the loading lifecycle and which values are still unknown.",
21
36
  };
22
37
 
23
- /** A record inspector whose values load without changing its component tree. */
38
+ const icon = (node: Parameters<typeof LucideIcon>[0]['icon'], name: string) => (
39
+ <LucideIcon icon={node} name={name} />
40
+ );
41
+
42
+ /**
43
+ * A record inspector whose per-record values load asynchronously. Every
44
+ * value-bearing component takes `placeholder` from one loading flag, so the same
45
+ * chrome renders a faithful loading state and then the populated record — no
46
+ * separate skeleton markup. The composition is the point; `Skeleton` is the
47
+ * primitive it is built on (see the Skeleton component demo).
48
+ */
24
49
  export const createRecipe: RecipeFactory = (announce) => {
25
50
  const loading = signal(true);
26
- const viewChoices = [
27
- {
28
- value: 'details',
29
- label: 'Details',
30
- content: renderRecipeInspectorIconList({}),
31
- },
32
- {
33
- value: 'activity',
34
- label: 'Activity',
35
- content: renderRecipeInspectorIconColumns3({}),
36
- },
37
- {
38
- value: 'files',
39
- label: 'Files',
40
- content: renderRecipeInspectorIconFileText({}),
41
- },
42
- ];
43
51
  const render = () => {
44
- const value = loading.value;
45
- return renderRecipeLoadingInspector({
46
- loading: value,
47
- loadingText: String(value),
48
- toggleLabel: value ? 'Show Loaded' : 'Show Loading',
49
- bannerTone: value ? 'info' : 'success',
50
- viewChoices,
51
- });
52
+ const p = loading.value;
53
+ return (
54
+ <Pane
55
+ element="section"
56
+ label="Ticket Inspector"
57
+ rootAttributes={{
58
+ 'data-recipe': 'recipe-loading-inspector',
59
+ 'data-inspector-loading': String(p),
60
+ }}
61
+ header={
62
+ <>
63
+ <Toolbar
64
+ label="Ticket Inspector"
65
+ responsive="wrap"
66
+ leading={
67
+ <>
68
+ <ToolbarControlGroup appearance="borderless" single>
69
+ {icon(FileText, 'file-text')}
70
+ </ToolbarControlGroup>
71
+ <ToolbarText
72
+ text="Ticket · KF-2048"
73
+ size="xlarge"
74
+ id="recipe-inspector-title"
75
+ placeholder={p}
76
+ />
77
+ </>
78
+ }
79
+ trailing={
80
+ <ToolbarControlGroup
81
+ appearance="borderless"
82
+ content="text"
83
+ single
84
+ >
85
+ <ToolbarButton
86
+ action="recipe-action"
87
+ rootAttributes={{ 'data-recipe-command': 'toggle' }}
88
+ >
89
+ {p ? 'Show Loaded' : 'Show Loading'}
90
+ </ToolbarButton>
91
+ </ToolbarControlGroup>
92
+ }
93
+ />
94
+ <Row controlInsets="trbl">
95
+ <Text tone="quiet" id="recipe-inspector-summary">
96
+ {p ? (
97
+ <Skeleton width={em(18)} />
98
+ ) : (
99
+ 'Restore keyboard focus after a dialog closes'
100
+ )}
101
+ </Text>
102
+ </Row>
103
+ </>
104
+ }
105
+ >
106
+ <section>
107
+ <ValueTable label="Ticket Details">
108
+ <ValueTableRow
109
+ label="Status"
110
+ value="In review"
111
+ icon={icon(Inbox, 'inbox')}
112
+ placeholder={p}
113
+ />
114
+ <ValueTableRow label="Owner" value="Mara Lopez" placeholder={p} />
115
+ <ValueTableRow label="Priority" value="High" placeholder={p} />
116
+ <ValueTableRow
117
+ label="Updated"
118
+ value="2 hours ago"
119
+ placeholder={p}
120
+ />
121
+ </ValueTable>
122
+ </section>
123
+ <List gap="xs" controlInsets="rl">
124
+ <Select
125
+ name="recipe-inspector-status"
126
+ value="review"
127
+ label="Status"
128
+ hint="Where this ticket sits in the review workflow."
129
+ placeholder={p}
130
+ choices={[
131
+ { value: 'review', label: 'In Review' },
132
+ { value: 'ready', label: 'Ready' },
133
+ { value: 'done', label: 'Done' },
134
+ ]}
135
+ />
136
+ <SegmentedControl
137
+ id="recipe-inspector-view"
138
+ label="Inspector View"
139
+ value="details"
140
+ appearance="toolbar"
141
+ shape="pill"
142
+ size="compact"
143
+ placeholder={p}
144
+ choices={[
145
+ {
146
+ value: 'details',
147
+ label: 'Details',
148
+ content: icon(ListIcon, 'list'),
149
+ },
150
+ {
151
+ value: 'activity',
152
+ label: 'Activity',
153
+ content: icon(Columns3, 'columns-3'),
154
+ },
155
+ {
156
+ value: 'files',
157
+ label: 'Files',
158
+ content: icon(FileText, 'file-text'),
159
+ },
160
+ ]}
161
+ />
162
+ </List>
163
+ <section>
164
+ <ListItem
165
+ action="recipe-action"
166
+ itemId="reassign"
167
+ label="Reassign Ticket"
168
+ icon={icon(Inbox, 'inbox')}
169
+ placeholder={p}
170
+ />
171
+ <ListItem
172
+ action="recipe-action"
173
+ itemId="watch"
174
+ label="Watch for Changes"
175
+ placeholder={p}
176
+ />
177
+ </section>
178
+ {p ? (
179
+ <StateBanner
180
+ tone="info"
181
+ title="Up to Date"
182
+ detail="All checks passed on the latest revision."
183
+ icon={icon(FileText, 'file-text')}
184
+ placeholder
185
+ />
186
+ ) : (
187
+ <StateBanner
188
+ tone="success"
189
+ title="Up to Date"
190
+ detail="All checks passed on the latest revision."
191
+ icon={icon(FileText, 'file-text')}
192
+ />
193
+ )}
194
+ </Pane>
195
+ );
52
196
  };
53
197
  return {
54
198
  render,