@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
@@ -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,
@@ -6,16 +6,24 @@ import '@kerfjs/ui/toolbar.css';
6
6
  import '@kerfjs/ui/toolbar-text.css';
7
7
  import '@kerfjs/ui/toolbar-control-group.css';
8
8
 
9
- import { fillColor } from '@kerfjs/ui/css-values';
10
- import { type NavStackView } from '@kerfjs/ui/nav-stack';
9
+ import { BackdropImage } from '@kerfjs/ui/backdrop-image';
10
+ import { fillColor, uiColor } from '@kerfjs/ui/css-values';
11
+ import { List } from '@kerfjs/ui/list';
12
+ import { ListHeader } from '@kerfjs/ui/list-header';
13
+ import { ListItem } from '@kerfjs/ui/list-item';
14
+ import { LucideIcon } from '@kerfjs/ui/lucide-icon';
15
+ import { NavStack, type NavStackView } from '@kerfjs/ui/nav-stack';
16
+ import { Text } from '@kerfjs/ui/text';
17
+ import { Toolbar } from '@kerfjs/ui/toolbar';
18
+ import {
19
+ ToolbarButton,
20
+ ToolbarControlGroup,
21
+ } from '@kerfjs/ui/toolbar-control-group';
22
+ import { ToolbarText } from '@kerfjs/ui/toolbar-text';
11
23
  import { wireScrollDividers } from '@kerfjs/ui/wire-scroll-dividers';
12
24
  import { signal } from 'kerfjs';
25
+ import { ChevronRight, Disc3, Ellipsis, Play, Share, Shuffle } from 'lucide';
13
26
 
14
- import { renderRecipeMediaActions } from '../views/recipe-media-actions.view.js';
15
- import { renderRecipeMediaAlbum } from '../views/recipe-media-album.view.js';
16
- import { renderRecipeMediaLibrary } from '../views/recipe-media-library.view.js';
17
- import { renderRecipeMediaPlayback } from '../views/recipe-media-playback.view.js';
18
- import { renderRecipeMediaShell } from '../views/recipe-media-shell.view.js';
19
27
  import type { RecipeFactory, RecipePresentation } from './types.js';
20
28
 
21
29
  export const presentation: RecipePresentation = {
@@ -83,35 +91,139 @@ const artwork = () =>
83
91
  new Blob([ARTWORK], { type: 'image/svg+xml' }),
84
92
  ));
85
93
 
94
+ /** A playback command: icon-only with `label` as its name, or labeled. */
95
+ const command = (
96
+ name: string,
97
+ label: string,
98
+ icon: SafeIcon,
99
+ visibleLabel = false,
100
+ ) =>
101
+ visibleLabel ? (
102
+ <ToolbarButton
103
+ action="recipe-action"
104
+ rootAttributes={{ 'data-recipe-command': name }}
105
+ icon={icon}
106
+ >
107
+ {label}
108
+ </ToolbarButton>
109
+ ) : (
110
+ <ToolbarButton
111
+ ariaLabel={label}
112
+ action="recipe-action"
113
+ rootAttributes={{ 'data-recipe-command': name }}
114
+ icon={icon}
115
+ />
116
+ );
117
+
118
+ type SafeIcon = ReturnType<typeof LucideIcon>;
119
+
86
120
  export const createRecipe: RecipeFactory = (announce) => {
87
121
  const libraryView = (): NavStackView => ({
88
122
  key: 'library',
89
123
  toolbar: { title: 'Library' },
90
- content: renderRecipeMediaLibrary({ albums: ALBUMS }),
124
+ content: (
125
+ <List>
126
+ <section>
127
+ <ListHeader label="Albums" />
128
+ {ALBUMS.map((album) => (
129
+ <ListItem
130
+ action="recipe-action"
131
+ itemId={album.id}
132
+ label={album.title}
133
+ description={album.artist}
134
+ icon={<LucideIcon icon={Disc3} name="disc-3" />}
135
+ trailing={<LucideIcon icon={ChevronRight} name="chevron-right" />}
136
+ />
137
+ ))}
138
+ </section>
139
+ </List>
140
+ ),
91
141
  });
92
142
 
93
143
  const albumView = (album: Album): NavStackView => ({
94
144
  key: album.id,
95
145
  toolbar: {
96
146
  title: '',
97
- trailing: renderRecipeMediaActions({}),
147
+ trailing: (
148
+ <ToolbarControlGroup
149
+ label="Album Actions"
150
+ content="icon"
151
+ material="glass"
152
+ >
153
+ {command('share', 'Share', <LucideIcon icon={Share} name="share" />)}
154
+ {command(
155
+ 'more',
156
+ 'More',
157
+ <LucideIcon icon={Ellipsis} name="ellipsis" />,
158
+ )}
159
+ </ToolbarControlGroup>
160
+ ),
98
161
  },
99
162
  pane: { safeAreaEdges: [] },
100
- content: renderRecipeMediaAlbum(
101
- {
102
- title: album.title,
103
- artist: album.artist,
104
- artworkUrl: artwork(),
105
- artworkAlt: `${album.title} artwork: ridges at dusk under a low sun`,
106
- trackCount: album.tracks.length,
107
- trackCountLabel: `${String(album.tracks.length)} songs`,
108
- tracks: album.tracks.map(([title, length], index) => ({
109
- id: `${album.id}-track-${String(index + 1)}`,
110
- title,
111
- length,
112
- })),
113
- },
114
- { playback: () => renderRecipeMediaPlayback({}) },
163
+ content: (
164
+ <BackdropImage
165
+ src={artwork()}
166
+ alt={`${album.title} artwork: ridges at dusk under a low sun`}
167
+ position="bottom"
168
+ parallax="subtle"
169
+ blur={{ dim: 0.2 }}
170
+ fadeTo={uiColor('surface')}
171
+ underChrome
172
+ overlay={
173
+ <Toolbar
174
+ label={album.title}
175
+ leading={
176
+ <ToolbarText
177
+ text={album.title}
178
+ description={album.artist}
179
+ size="xlarge"
180
+ headingLevel={2}
181
+ />
182
+ }
183
+ trailing={
184
+ <ToolbarControlGroup
185
+ label="Playback"
186
+ content="mixed"
187
+ material="glass"
188
+ >
189
+ {command(
190
+ 'play',
191
+ 'Play',
192
+ <LucideIcon icon={Play} name="play" />,
193
+ true,
194
+ )}
195
+ {command(
196
+ 'shuffle',
197
+ 'Shuffle',
198
+ <LucideIcon icon={Shuffle} name="shuffle" />,
199
+ )}
200
+ </ToolbarControlGroup>
201
+ }
202
+ />
203
+ }
204
+ >
205
+ <List>
206
+ <section>
207
+ <ListHeader
208
+ label="Songs"
209
+ count={album.tracks.length}
210
+ countLabel={`${String(album.tracks.length)} songs`}
211
+ />
212
+ {album.tracks.map(([title, length], index) => (
213
+ <ListItem
214
+ action="recipe-action"
215
+ itemId={`${album.id}-track-${String(index + 1)}`}
216
+ label={title}
217
+ trailing={
218
+ <Text variant="span" tone="quiet">
219
+ {length}
220
+ </Text>
221
+ }
222
+ />
223
+ ))}
224
+ </section>
225
+ </List>
226
+ </BackdropImage>
115
227
  ),
116
228
  });
117
229
 
@@ -123,13 +235,18 @@ export const createRecipe: RecipeFactory = (announce) => {
123
235
  const album = current();
124
236
  return (
125
237
  <section data-recipe="recipe-media-detail" aria-label="Music">
126
- {renderRecipeMediaShell({
127
- views: views.value,
128
- tint:
238
+ <NavStack
239
+ id="recipe-media"
240
+ label="Music"
241
+ views={views.value}
242
+ chromePresentation="clear"
243
+ scrollEdge="material"
244
+ tint={
129
245
  album === undefined
130
246
  ? undefined
131
- : { color: fillColor(album.tint), scheme: 'dark' },
132
- })}
247
+ : { color: fillColor(album.tint), scheme: 'dark' }
248
+ }
249
+ />
133
250
  </section>
134
251
  );
135
252
  };
@@ -1,10 +1,20 @@
1
1
  import '@kerfjs/ui/layout.css';
2
2
 
3
+ import { ContentItem } from '@kerfjs/ui/content-item';
4
+ import { List } from '@kerfjs/ui/list';
5
+ import { ListHeader } from '@kerfjs/ui/list-header';
6
+ import { ListItem } from '@kerfjs/ui/list-item';
7
+ import { LucideIcon } from '@kerfjs/ui/lucide-icon';
8
+ import { Pane } from '@kerfjs/ui/pane';
9
+ import { Text } from '@kerfjs/ui/text';
10
+ import { Toolbar } from '@kerfjs/ui/toolbar';
11
+ import {
12
+ ToolbarButton,
13
+ ToolbarControlGroup,
14
+ } from '@kerfjs/ui/toolbar-control-group';
3
15
  import { signal } from 'kerfjs';
16
+ import { Folder, Inbox, Plus, Settings, Users } from 'lucide';
4
17
 
5
- import { renderRecipeNavigationProjects } from '../views/recipe-navigation-projects.view.js';
6
- import { renderRecipeNavigationSidebar } from '../views/recipe-navigation-sidebar.view.js';
7
- import { renderRecipeNavigationWorkspace } from '../views/recipe-navigation-workspace.view.js';
8
18
  import type { RecipeFactory, RecipePresentation } from './types.js';
9
19
 
10
20
  export const presentation: RecipePresentation = {
@@ -23,29 +33,108 @@ export const presentation: RecipePresentation = {
23
33
  export const createRecipe: RecipeFactory = (announce) => {
24
34
  const selected = signal('inbox');
25
35
  const expanded = signal(true);
26
- const render = () =>
27
- renderRecipeNavigationSidebar(
28
- {},
29
- {
30
- content: () => (
36
+ const render = () => (
37
+ <Pane
38
+ element="aside"
39
+ label="Workspace Navigation"
40
+ rootAttributes={{ 'data-recipe': 'recipe-navigation-sidebar' }}
41
+ footer={
42
+ <Toolbar
43
+ label="Sidebar Actions"
44
+ dividerSides="t"
45
+ leading={
46
+ <ToolbarControlGroup appearance="borderless" single>
47
+ <ToolbarButton
48
+ ariaLabel="Add Project"
49
+ action="recipe-action"
50
+ rootAttributes={{ 'data-recipe-command': 'add' }}
51
+ icon={<LucideIcon icon={Plus} name="plus" />}
52
+ />
53
+ </ToolbarControlGroup>
54
+ }
55
+ trailing={
56
+ <ToolbarControlGroup appearance="borderless" single>
57
+ <ToolbarButton
58
+ ariaLabel="Workspace Settings"
59
+ action="recipe-action"
60
+ rootAttributes={{ 'data-recipe-command': 'settings' }}
61
+ icon={<LucideIcon icon={Settings} name="settings" />}
62
+ />
63
+ </ToolbarControlGroup>
64
+ }
65
+ />
66
+ }
67
+ >
68
+ <section>
69
+ <ListHeader
70
+ label="Workspace"
71
+ count={3}
72
+ countLabel="3 workspaces"
73
+ action="recipe-action"
74
+ actionLabel="Add workspace item"
75
+ actionIcon={<LucideIcon icon={Plus} name="plus" />}
76
+ />
77
+ <ListItem
78
+ action="recipe-action"
79
+ itemId="inbox"
80
+ label="Inbox"
81
+ icon={<LucideIcon icon={Inbox} name="inbox" />}
82
+ trailing={<span>12</span>}
83
+ selected={selected.value === 'inbox'}
84
+ />
85
+ <ListItem
86
+ action="recipe-action"
87
+ itemId="shared"
88
+ label="Shared with Me"
89
+ icon={<LucideIcon icon={Users} name="users" />}
90
+ selected={selected.value === 'shared'}
91
+ />
92
+ <ListItem
93
+ action="recipe-action"
94
+ itemId="drafts"
95
+ label="Drafts Without an Icon"
96
+ selected={selected.value === 'drafts'}
97
+ />
98
+ </section>
99
+ <section>
100
+ <ListHeader
101
+ label="Projects"
102
+ toggle
103
+ action="recipe-action"
104
+ expanded={expanded.value}
105
+ />
106
+ {expanded.value && (
31
107
  <>
32
- <section>
33
- {renderRecipeNavigationWorkspace({
34
- inboxSelected: selected.value === 'inbox',
35
- sharedSelected: selected.value === 'shared',
36
- draftsSelected: selected.value === 'drafts',
37
- })}
38
- </section>
39
- <section>
40
- {renderRecipeNavigationProjects({
41
- expanded: expanded.value,
42
- designSelected: selected.value === 'design',
43
- })}
44
- </section>
108
+ <ListItem
109
+ action="recipe-action"
110
+ itemId="design"
111
+ label="Design system rollout across desktop and tablet"
112
+ icon={<LucideIcon icon={Folder} name="folder" />}
113
+ selected={selected.value === 'design'}
114
+ multiline
115
+ />
116
+ <ListItem
117
+ action="recipe-action"
118
+ itemId="archive"
119
+ label="Archived"
120
+ disabled
121
+ title="Available to administrators"
122
+ />
123
+ <ContentItem>
124
+ <List gap="2xs">
125
+ <Text variant="span" weight="strong">
126
+ Quarterly Goal
127
+ </Text>
128
+ <Text variant="span" tone="quiet" size="compact">
129
+ Ship accessible navigation patterns to every workspace.
130
+ </Text>
131
+ </List>
132
+ </ContentItem>
45
133
  </>
46
- ),
47
- },
48
- );
134
+ )}
135
+ </section>
136
+ </Pane>
137
+ );
49
138
  return {
50
139
  render,
51
140
  action(command, element) {
@@ -2,12 +2,17 @@ import '@kerfjs/ui/layout.css';
2
2
  import '@kerfjs/ui/nav-stack.css';
3
3
  import '@kerfjs/ui/toolbar-text.css';
4
4
 
5
- import { type NavStackView } from '@kerfjs/ui/nav-stack';
5
+ import { ContentItem } from '@kerfjs/ui/content-item';
6
+ import { List } from '@kerfjs/ui/list';
7
+ import { ListHeader } from '@kerfjs/ui/list-header';
8
+ import { ListItem } from '@kerfjs/ui/list-item';
9
+ import { LucideIcon } from '@kerfjs/ui/lucide-icon';
10
+ import { NavStack, type NavStackView } from '@kerfjs/ui/nav-stack';
11
+ import { Row } from '@kerfjs/ui/row';
12
+ import { Text } from '@kerfjs/ui/text';
6
13
  import { signal } from 'kerfjs';
14
+ import { ChevronRight, FileText, Folder } from 'lucide';
7
15
 
8
- import { renderRecipeNavigationDetail } from '../views/recipe-navigation-detail.view.js';
9
- import { renderRecipeNavigationLibrary } from '../views/recipe-navigation-library.view.js';
10
- import { renderRecipeNavigationShell } from '../views/recipe-navigation-shell.view.js';
11
16
  import type { RecipeFactory, RecipePresentation } from './types.js';
12
17
 
13
18
  export const presentation: RecipePresentation = {
@@ -54,13 +59,44 @@ export const createRecipe: RecipeFactory = (announce) => {
54
59
  const listView = (): NavStackView => ({
55
60
  key: 'library',
56
61
  toolbar: { title: 'Library' },
57
- content: renderRecipeNavigationLibrary({ items: ITEMS }),
62
+ content: (
63
+ <List>
64
+ <section>
65
+ <ListHeader label="Components" />
66
+ {ITEMS.map((item) => (
67
+ <ListItem
68
+ action="recipe-action"
69
+ itemId={item.id}
70
+ label={item.label}
71
+ icon={<LucideIcon icon={Folder} name="folder" />}
72
+ trailing={<LucideIcon icon={ChevronRight} name="chevron-right" />}
73
+ />
74
+ ))}
75
+ </section>
76
+ </List>
77
+ ),
58
78
  });
59
79
 
60
80
  const detailView = (item: LibraryItem): NavStackView => ({
61
81
  key: item.id,
62
82
  toolbar: { title: item.label },
63
- content: renderRecipeNavigationDetail(item),
83
+ content: (
84
+ <List controlInsets="t">
85
+ <ContentItem>
86
+ <Row gap="xs">
87
+ <LucideIcon icon={FileText} name="file-text" />
88
+ <List gap="2xs">
89
+ <Text variant="span" weight="strong">
90
+ {item.label}
91
+ </Text>
92
+ <Text variant="span" tone="quiet" size="compact">
93
+ {item.detail}
94
+ </Text>
95
+ </List>
96
+ </Row>
97
+ </ContentItem>
98
+ </List>
99
+ ),
64
100
  });
65
101
 
66
102
  const views = signal<NavStackView[]>([listView()]);
@@ -70,7 +106,7 @@ export const createRecipe: RecipeFactory = (announce) => {
70
106
  data-recipe="recipe-navigation-stack"
71
107
  aria-label="Component Library"
72
108
  >
73
- {renderRecipeNavigationShell({ views: views.value })}
109
+ <NavStack id="recipe-nav" label="Component Library" views={views.value} />
74
110
  </section>
75
111
  );
76
112