@kerfjs/ui 5.0.0-beta.123 → 5.0.0-beta.125

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 (937) hide show
  1. package/README.md +29 -5
  2. package/ai/application-ui-diagnostic-ids-v1.json +25 -1
  3. package/ai/application-ui-profile-sync.cjs +16 -8
  4. package/ai/application-ui-profile.d.ts +2 -0
  5. package/ai/application-ui-profile.defaults.json +6 -2
  6. package/ai/application-ui-profile.mjs +16 -8
  7. package/ai/application-ui-profile.schema.json +133 -38
  8. package/ai/component-catalog.json +1549 -173
  9. package/ai/component-catalog.schema.json +19 -0
  10. package/ai/component-composition-rules.json +18 -2
  11. package/ai/component-composition.d.ts +13 -0
  12. package/ai/component-composition.json +754 -25
  13. package/ai/component-composition.schema.json +58 -0
  14. package/ai/component-props-overlay.json +952 -0
  15. package/ai/component-props-overlay.schema.json +68 -0
  16. package/ai/component-props.json +29826 -0
  17. package/ai/component-props.schema.json +401 -0
  18. package/ai/components/README.md +12 -4
  19. package/ai/components/application-tabs.md +2 -2
  20. package/ai/components/backdrop-image.md +2 -1
  21. package/ai/components/button.md +12 -6
  22. package/ai/components/checkbox-group.md +2 -0
  23. package/ai/components/checkbox.md +2 -0
  24. package/ai/components/chip.md +2 -0
  25. package/ai/components/choice-chips.md +5 -1
  26. package/ai/components/color-field.md +2 -0
  27. package/ai/components/color-picker.md +2 -0
  28. package/ai/components/color-swatches.md +2 -0
  29. package/ai/components/column-explorer.md +89 -0
  30. package/ai/components/column-track.md +3 -2
  31. package/ai/components/combobox.md +2 -0
  32. package/ai/components/content-item.md +7 -2
  33. package/ai/components/disclosure.md +2 -0
  34. package/ai/components/file-picker.md +5 -2
  35. package/ai/components/form.md +86 -0
  36. package/ai/components/foundation.md +1 -1
  37. package/ai/components/gauge.md +83 -0
  38. package/ai/components/list-action-row.md +2 -0
  39. package/ai/components/list-detail-dialog.md +2 -0
  40. package/ai/components/list-header.md +2 -0
  41. package/ai/components/list-item.md +4 -0
  42. package/ai/components/list.md +6 -2
  43. package/ai/components/message-composer.md +3 -1
  44. package/ai/components/nav-stack.md +2 -0
  45. package/ai/components/paged-view.md +89 -0
  46. package/ai/components/pane.md +4 -1
  47. package/ai/components/popup-menu.md +5 -2
  48. package/ai/components/radio-group.md +2 -0
  49. package/ai/components/recipe-composer-form.md +2 -2
  50. package/ai/components/scroll-effect.md +84 -0
  51. package/ai/components/search-field.md +2 -0
  52. package/ai/components/segmented-control.md +3 -0
  53. package/ai/components/select.md +4 -0
  54. package/ai/components/sized-region.md +86 -0
  55. package/ai/components/slider.md +2 -0
  56. package/ai/components/split-button.md +3 -1
  57. package/ai/components/split-view.md +1 -1
  58. package/ai/components/state-banner.md +2 -0
  59. package/ai/components/summary-row.md +14 -8
  60. package/ai/components/surface-scaffold.md +5 -3
  61. package/ai/components/switch.md +2 -0
  62. package/ai/components/tab-bar.md +5 -2
  63. package/ai/components/tab-navigator.md +2 -0
  64. package/ai/components/tab-panel.md +84 -0
  65. package/ai/components/tabs.md +6 -2
  66. package/ai/components/tag-field.md +2 -0
  67. package/ai/components/text-field.md +2 -0
  68. package/ai/components/text.md +3 -0
  69. package/ai/components/toolbar-control-group.md +10 -3
  70. package/ai/components/toolbar-text.md +2 -0
  71. package/ai/components/toolbar.md +4 -3
  72. package/ai/components/tree-list.md +95 -0
  73. package/ai/components/wa-accordion-item.md +2 -0
  74. package/ai/components/wa-breadcrumb-item.md +2 -0
  75. package/ai/components/wa-button.md +2 -0
  76. package/ai/components/wa-carousel.md +2 -0
  77. package/ai/components/wa-checkbox.md +2 -0
  78. package/ai/components/wa-color-picker.md +2 -0
  79. package/ai/components/wa-comparison.md +2 -0
  80. package/ai/components/wa-copy-button.md +2 -0
  81. package/ai/components/wa-details.md +2 -0
  82. package/ai/components/wa-dialog.md +2 -0
  83. package/ai/components/wa-drawer.md +2 -0
  84. package/ai/components/wa-dropdown-item.md +2 -0
  85. package/ai/components/wa-input.md +2 -0
  86. package/ai/components/wa-known-date.md +2 -0
  87. package/ai/components/wa-number-input.md +2 -0
  88. package/ai/components/wa-otp-input.md +2 -0
  89. package/ai/components/wa-pagination.md +2 -0
  90. package/ai/components/wa-radio.md +2 -0
  91. package/ai/components/wa-rating.md +2 -0
  92. package/ai/components/wa-select.md +2 -0
  93. package/ai/components/wa-slider.md +2 -0
  94. package/ai/components/wa-switch.md +2 -0
  95. package/ai/components/wa-tab-panel.md +5 -5
  96. package/ai/components/wa-tab.md +2 -0
  97. package/ai/components/wa-tag-input.md +2 -0
  98. package/ai/components/wa-textarea.md +2 -0
  99. package/ai/components/wa-time-input.md +2 -0
  100. package/ai/components/wa-tree-item.md +12 -5
  101. package/ai/components/wa-tree.md +10 -5
  102. package/ai/components/wa-zoomable-frame.md +2 -0
  103. package/ai/components/workbench-dialog.md +2 -0
  104. package/ai/public-api-signatures-v1.md +1348 -127
  105. package/ai/skill.md +109 -39
  106. package/ai/view-document.schema.json +360 -0
  107. package/ai/webawesome-jsx-signatures-v1.md +1 -1
  108. package/analyzer/index.mjs +89 -1
  109. package/dist/anchor-name-BZ1rpxaw.d.ts +4 -0
  110. package/dist/backdrop-image.d.ts +6 -2
  111. package/dist/backdrop-image.js +2 -1
  112. package/dist/badge.js +1 -1
  113. package/dist/browser/backdrop-image.js +1 -0
  114. package/dist/browser/catalog.js +1 -1
  115. package/dist/browser/collapsible-panel.js +1 -0
  116. package/dist/browser/column-explorer.js +9 -0
  117. package/dist/browser/content-item.js +1 -0
  118. package/dist/browser/editor.js +45 -0
  119. package/dist/browser/form.js +3 -0
  120. package/dist/browser/gauge.js +3 -0
  121. package/dist/browser/list-detail-dialog.js +1 -0
  122. package/dist/browser/nav-stack.js +1 -0
  123. package/dist/browser/paged-view.js +3 -0
  124. package/dist/browser/scroll-effect.js +3 -0
  125. package/dist/browser/segmented-control.js +1 -0
  126. package/dist/browser/sized-region.js +3 -0
  127. package/dist/browser/split-view.js +1 -0
  128. package/dist/browser/tab-panel.js +3 -0
  129. package/dist/browser/toolbar-control-group.js +1 -0
  130. package/dist/browser/tree-list.js +7 -0
  131. package/dist/browser/workbench-dialog.js +1 -0
  132. package/dist/browser/workbench.js +1 -0
  133. package/dist/button.d.ts +54 -13
  134. package/dist/button.js +2 -1
  135. package/dist/catalog-resources.d.ts +3 -2
  136. package/dist/catalog.d.ts +3 -2
  137. package/dist/catalog.js +21 -17
  138. package/dist/catalog.js.map +1 -1
  139. package/dist/checkbox-group.js +1 -1
  140. package/dist/checkbox.js +1 -1
  141. package/dist/chip.js +1 -1
  142. package/dist/choice-chips.d.ts +21 -2
  143. package/dist/choice-chips.js +2 -1
  144. package/dist/{chunk-3WWX2O4G.js → chunk-2E7S5C4D.js} +5 -46
  145. package/dist/chunk-2E7S5C4D.js.map +1 -0
  146. package/dist/{chunk-QYMJHS4K.js → chunk-34FWYJX6.js} +9 -3
  147. package/dist/chunk-34FWYJX6.js.map +1 -0
  148. package/dist/chunk-3S3WXAZ5.js +207 -0
  149. package/dist/chunk-3S3WXAZ5.js.map +1 -0
  150. package/dist/{chunk-AN5IWMTM.js → chunk-3TBMGGTA.js} +6 -3
  151. package/dist/chunk-3TBMGGTA.js.map +1 -0
  152. package/dist/{chunk-3Z7N2NAZ.js → chunk-3XSY5LAB.js} +4 -4
  153. package/dist/{chunk-3Z7N2NAZ.js.map → chunk-3XSY5LAB.js.map} +1 -1
  154. package/dist/chunk-44AOBT2F.js +16 -0
  155. package/dist/chunk-44AOBT2F.js.map +1 -0
  156. package/dist/{chunk-YWLDLNAV.js → chunk-4IXG6XCT.js} +18 -3
  157. package/dist/chunk-4IXG6XCT.js.map +1 -0
  158. package/dist/chunk-4K7XXSOX.js +21 -0
  159. package/dist/chunk-4K7XXSOX.js.map +1 -0
  160. package/dist/{chunk-QH5KOFNS.js → chunk-5KWXM5O7.js} +15 -3
  161. package/dist/chunk-5KWXM5O7.js.map +1 -0
  162. package/dist/{chunk-EYDXFOSH.js → chunk-5SFHBYEY.js} +2 -2
  163. package/dist/chunk-5SFHBYEY.js.map +1 -0
  164. package/dist/{chunk-HU5IHXCI.js → chunk-6BXPN5SC.js} +3 -3
  165. package/dist/{chunk-HU5IHXCI.js.map → chunk-6BXPN5SC.js.map} +1 -1
  166. package/dist/{chunk-IIQ2XIMU.js → chunk-6OT7FOSA.js} +32 -11
  167. package/dist/chunk-6OT7FOSA.js.map +1 -0
  168. package/dist/{chunk-6VVIW7VB.js → chunk-73LC3JAL.js} +13 -4
  169. package/dist/chunk-73LC3JAL.js.map +1 -0
  170. package/dist/{chunk-IO27YTL3.js → chunk-76VCWWUA.js} +2 -2
  171. package/dist/{chunk-IO27YTL3.js.map → chunk-76VCWWUA.js.map} +1 -1
  172. package/dist/{chunk-3V4OCDTL.js → chunk-7DIWVGGA.js} +2 -14
  173. package/dist/chunk-7DIWVGGA.js.map +1 -0
  174. package/dist/chunk-7KN5OQVN.js +157 -0
  175. package/dist/chunk-7KN5OQVN.js.map +1 -0
  176. package/dist/chunk-7QQ3HE47.js +17 -0
  177. package/dist/chunk-7QQ3HE47.js.map +1 -0
  178. package/dist/{chunk-WPP5Q4A5.js → chunk-ADMWT7FX.js} +19 -1
  179. package/dist/chunk-ADMWT7FX.js.map +1 -0
  180. package/dist/{chunk-LMHN2TJL.js → chunk-BCHK33XL.js} +2 -2
  181. package/dist/{chunk-LMHN2TJL.js.map → chunk-BCHK33XL.js.map} +1 -1
  182. package/dist/chunk-BCO673YW.js +123 -0
  183. package/dist/chunk-BCO673YW.js.map +1 -0
  184. package/dist/{chunk-OQP3PFKQ.js → chunk-BZXA5SSA.js} +90 -33
  185. package/dist/chunk-BZXA5SSA.js.map +1 -0
  186. package/dist/{chunk-LTBVP6VN.js → chunk-C4FBYP2D.js} +2 -2
  187. package/dist/{chunk-LTBVP6VN.js.map → chunk-C4FBYP2D.js.map} +1 -1
  188. package/dist/{chunk-AMIHGFLP.js → chunk-CCPWJDRW.js} +4 -2
  189. package/dist/chunk-CCPWJDRW.js.map +1 -0
  190. package/dist/{chunk-S4Y3YTAI.js → chunk-CJAKN2KZ.js} +2 -2
  191. package/dist/{chunk-S4Y3YTAI.js.map → chunk-CJAKN2KZ.js.map} +1 -1
  192. package/dist/chunk-CKPI4WIN.js +58 -0
  193. package/dist/chunk-CKPI4WIN.js.map +1 -0
  194. package/dist/{chunk-HJXVVFBT.js → chunk-CMG4OZPV.js} +13 -2
  195. package/dist/chunk-CMG4OZPV.js.map +1 -0
  196. package/dist/{chunk-KH4KEMSP.js → chunk-COQI4OMZ.js} +1 -1
  197. package/dist/chunk-COQI4OMZ.js.map +1 -0
  198. package/dist/{chunk-G3J7JDP6.js → chunk-CPTQABDQ.js} +10 -3
  199. package/dist/chunk-CPTQABDQ.js.map +1 -0
  200. package/dist/{chunk-TI2GV36S.js → chunk-CRHKWHTA.js} +4 -4
  201. package/dist/{chunk-TI2GV36S.js.map → chunk-CRHKWHTA.js.map} +1 -1
  202. package/dist/{chunk-3KFMLOTH.js → chunk-DBP3N6E5.js} +8 -5
  203. package/dist/chunk-DBP3N6E5.js.map +1 -0
  204. package/dist/chunk-DJ65XFVN.js +231 -0
  205. package/dist/chunk-DJ65XFVN.js.map +1 -0
  206. package/dist/chunk-DKPYHVIV.js +13 -0
  207. package/dist/chunk-DKPYHVIV.js.map +1 -0
  208. package/dist/{chunk-ITUQC4FW.js → chunk-DV6GE57V.js} +31 -3
  209. package/dist/chunk-DV6GE57V.js.map +1 -0
  210. package/dist/{chunk-S3ECMF23.js → chunk-E7Q6UNCB.js} +11 -3
  211. package/dist/chunk-E7Q6UNCB.js.map +1 -0
  212. package/dist/{chunk-C26Q6P4Q.js → chunk-E7ZRBMVQ.js} +3 -3
  213. package/dist/{chunk-C26Q6P4Q.js.map → chunk-E7ZRBMVQ.js.map} +1 -1
  214. package/dist/chunk-ECVTRAXN.js +37 -0
  215. package/dist/chunk-ECVTRAXN.js.map +1 -0
  216. package/dist/{chunk-EIET4QLK.js → chunk-EHR7R7YP.js} +14 -3
  217. package/dist/chunk-EHR7R7YP.js.map +1 -0
  218. package/dist/{chunk-5J6Z4BWY.js → chunk-EXGDKG7B.js} +127 -5
  219. package/dist/chunk-EXGDKG7B.js.map +1 -0
  220. package/dist/{chunk-7K6U6FCN.js → chunk-F34LHBQI.js} +47 -12
  221. package/dist/chunk-F34LHBQI.js.map +1 -0
  222. package/dist/{chunk-3OP66VXU.js → chunk-FJMABKKV.js} +5 -3
  223. package/dist/chunk-FJMABKKV.js.map +1 -0
  224. package/dist/{chunk-B53PS2LE.js → chunk-FNJA4S6J.js} +7 -3
  225. package/dist/chunk-FNJA4S6J.js.map +1 -0
  226. package/dist/{chunk-YMUIQRWK.js → chunk-FQETQ7CM.js} +6 -2
  227. package/dist/chunk-FQETQ7CM.js.map +1 -0
  228. package/dist/{chunk-KCS6NJ3O.js → chunk-FR5G77K5.js} +2 -2
  229. package/dist/{chunk-KCS6NJ3O.js.map → chunk-FR5G77K5.js.map} +1 -1
  230. package/dist/chunk-GVII4JSD.js +153 -0
  231. package/dist/chunk-GVII4JSD.js.map +1 -0
  232. package/dist/chunk-HPOXLOVC.js +184 -0
  233. package/dist/chunk-HPOXLOVC.js.map +1 -0
  234. package/dist/{chunk-EKHDLBRP.js → chunk-JAC6AVZN.js} +21 -3
  235. package/dist/chunk-JAC6AVZN.js.map +1 -0
  236. package/dist/{chunk-CTQUDCY5.js → chunk-JG4ONAOI.js} +4 -2
  237. package/dist/{chunk-CTQUDCY5.js.map → chunk-JG4ONAOI.js.map} +1 -1
  238. package/dist/{chunk-K67XBCHG.js → chunk-JHUEYWWI.js} +6 -4
  239. package/dist/chunk-JHUEYWWI.js.map +1 -0
  240. package/dist/{chunk-GS2QD3N7.js → chunk-JZZVWTUB.js} +2 -2
  241. package/dist/{chunk-GS2QD3N7.js.map → chunk-JZZVWTUB.js.map} +1 -1
  242. package/dist/{chunk-XRZSK2WC.js → chunk-KACJOE2N.js} +16 -5
  243. package/dist/chunk-KACJOE2N.js.map +1 -0
  244. package/dist/chunk-KELWWCMX.js +426 -0
  245. package/dist/chunk-KELWWCMX.js.map +1 -0
  246. package/dist/{chunk-KDQZ3E5C.js → chunk-KLR3DCHH.js} +58 -4
  247. package/dist/chunk-KLR3DCHH.js.map +1 -0
  248. package/dist/{chunk-YPAQFBMN.js → chunk-KQZIC5CA.js} +44 -10
  249. package/dist/chunk-KQZIC5CA.js.map +1 -0
  250. package/dist/{chunk-S3DCRI2M.js → chunk-LD6A6PYB.js} +43 -5
  251. package/dist/chunk-LD6A6PYB.js.map +1 -0
  252. package/dist/{chunk-BKUMG2KB.js → chunk-LET362AM.js} +13 -3
  253. package/dist/chunk-LET362AM.js.map +1 -0
  254. package/dist/{chunk-C2ZO3OZZ.js → chunk-LOW7J7SE.js} +4 -4
  255. package/dist/chunk-LOW7J7SE.js.map +1 -0
  256. package/dist/{chunk-ITENVZ6Q.js → chunk-M72QLDUO.js} +13 -4
  257. package/dist/chunk-M72QLDUO.js.map +1 -0
  258. package/dist/{chunk-OHPYT2BH.js → chunk-MLDO7WLA.js} +2 -2
  259. package/dist/{chunk-OHPYT2BH.js.map → chunk-MLDO7WLA.js.map} +1 -1
  260. package/dist/{chunk-D5RGM3XA.js → chunk-NA4LKVPX.js} +12 -2
  261. package/dist/chunk-NA4LKVPX.js.map +1 -0
  262. package/dist/{chunk-OUCHU7JB.js → chunk-NHQOX7T4.js} +7 -7
  263. package/dist/{chunk-OUCHU7JB.js.map → chunk-NHQOX7T4.js.map} +1 -1
  264. package/dist/chunk-NR3ZO4LK.js +67 -0
  265. package/dist/chunk-NR3ZO4LK.js.map +1 -0
  266. package/dist/chunk-OKZTLRGG.js +34 -0
  267. package/dist/chunk-OKZTLRGG.js.map +1 -0
  268. package/dist/{chunk-ZX2QQJXD.js → chunk-PVKAIVKE.js} +95 -61
  269. package/dist/chunk-PVKAIVKE.js.map +1 -0
  270. package/dist/{chunk-Y6KT7ZTR.js → chunk-Q2CLQ3IJ.js} +21 -3
  271. package/dist/chunk-Q2CLQ3IJ.js.map +1 -0
  272. package/dist/{chunk-2J7XKAZX.js → chunk-Q2SLOMN6.js} +7 -6
  273. package/dist/chunk-Q2SLOMN6.js.map +1 -0
  274. package/dist/{chunk-S2XULQEK.js → chunk-Q5BPZPCO.js} +2 -2
  275. package/dist/{chunk-S2XULQEK.js.map → chunk-Q5BPZPCO.js.map} +1 -1
  276. package/dist/{chunk-ROEBKSIY.js → chunk-Q7RILH2D.js} +14 -6
  277. package/dist/chunk-Q7RILH2D.js.map +1 -0
  278. package/dist/chunk-QR7MGGOM.js +49 -0
  279. package/dist/chunk-QR7MGGOM.js.map +1 -0
  280. package/dist/{chunk-PS24PVR6.js → chunk-QXXLDY6I.js} +50 -10
  281. package/dist/chunk-QXXLDY6I.js.map +1 -0
  282. package/dist/chunk-QY77Q7RY.js +129 -0
  283. package/dist/chunk-QY77Q7RY.js.map +1 -0
  284. package/dist/{chunk-4OV272LF.js → chunk-R6FIXYAE.js} +4 -4
  285. package/dist/{chunk-4OV272LF.js.map → chunk-R6FIXYAE.js.map} +1 -1
  286. package/dist/{chunk-N2K3QGSX.js → chunk-RGB4DPMN.js} +16 -3
  287. package/dist/chunk-RGB4DPMN.js.map +1 -0
  288. package/dist/{chunk-TKNVL53O.js → chunk-RPJOLDSR.js} +11 -3
  289. package/dist/chunk-RPJOLDSR.js.map +1 -0
  290. package/dist/chunk-SBCXWGNP.js +256 -0
  291. package/dist/chunk-SBCXWGNP.js.map +1 -0
  292. package/dist/{chunk-WPNIKZMJ.js → chunk-SJBMKA4X.js} +2 -2
  293. package/dist/{chunk-WPNIKZMJ.js.map → chunk-SJBMKA4X.js.map} +1 -1
  294. package/dist/{chunk-RMWNO6BA.js → chunk-SNUDT6AX.js} +2 -2
  295. package/dist/{chunk-RMWNO6BA.js.map → chunk-SNUDT6AX.js.map} +1 -1
  296. package/dist/{chunk-NR6O74ST.js → chunk-SPI6VMIY.js} +14 -10
  297. package/dist/chunk-SPI6VMIY.js.map +1 -0
  298. package/dist/{chunk-ETFP7HAR.js → chunk-SVUJIVMR.js} +13 -4
  299. package/dist/chunk-SVUJIVMR.js.map +1 -0
  300. package/dist/{chunk-ZN7KUMPY.js → chunk-SWXWLSUD.js} +17 -3
  301. package/dist/chunk-SWXWLSUD.js.map +1 -0
  302. package/dist/chunk-TBVSPSGX.js +14 -0
  303. package/dist/chunk-TBVSPSGX.js.map +1 -0
  304. package/dist/{chunk-UMNHJSIO.js → chunk-TPLVC5BE.js} +2 -2
  305. package/dist/{chunk-UMNHJSIO.js.map → chunk-TPLVC5BE.js.map} +1 -1
  306. package/dist/chunk-TRJS7M2H.js +39 -0
  307. package/dist/chunk-TRJS7M2H.js.map +1 -0
  308. package/dist/{chunk-LZUUUHNH.js → chunk-TTFW6E6C.js} +56 -6
  309. package/dist/chunk-TTFW6E6C.js.map +1 -0
  310. package/dist/chunk-TXBNPEIJ.js +31 -0
  311. package/dist/chunk-TXBNPEIJ.js.map +1 -0
  312. package/dist/{chunk-VEME3D7K.js → chunk-UD5KHQOH.js} +27 -3
  313. package/dist/chunk-UD5KHQOH.js.map +1 -0
  314. package/dist/{chunk-5CLMV5YU.js → chunk-UPHPFKAD.js} +54 -18
  315. package/dist/chunk-UPHPFKAD.js.map +1 -0
  316. package/dist/{chunk-WVS6CUCT.js → chunk-V3IXAI4L.js} +6 -2
  317. package/dist/chunk-V3IXAI4L.js.map +1 -0
  318. package/dist/{chunk-CVD5IZGB.js → chunk-VBXKYT4O.js} +7 -2
  319. package/dist/chunk-VBXKYT4O.js.map +1 -0
  320. package/dist/{chunk-OZ6X76G5.js → chunk-VNT4MXR5.js} +4 -3
  321. package/dist/chunk-VNT4MXR5.js.map +1 -0
  322. package/dist/{chunk-K57NINLH.js → chunk-VPDSPD76.js} +54 -1
  323. package/dist/chunk-VPDSPD76.js.map +1 -0
  324. package/dist/chunk-VX3YF2UD.js +77 -0
  325. package/dist/chunk-VX3YF2UD.js.map +1 -0
  326. package/dist/chunk-WCMGPAY2.js +103 -0
  327. package/dist/chunk-WCMGPAY2.js.map +1 -0
  328. package/dist/{chunk-DZJ4GBSP.js → chunk-WSPXSWFG.js} +21 -4
  329. package/dist/chunk-WSPXSWFG.js.map +1 -0
  330. package/dist/{chunk-NB6POCFH.js → chunk-WVQDIOD7.js} +56 -11
  331. package/dist/chunk-WVQDIOD7.js.map +1 -0
  332. package/dist/{chunk-F653O57X.js → chunk-Y4VR6VNM.js} +6 -3
  333. package/dist/chunk-Y4VR6VNM.js.map +1 -0
  334. package/dist/{chunk-CEJ5FK6G.js → chunk-YHRJNKD5.js} +2 -2
  335. package/dist/{chunk-CEJ5FK6G.js.map → chunk-YHRJNKD5.js.map} +1 -1
  336. package/dist/{chunk-XWNXGFX3.js → chunk-Z3T24FX3.js} +2 -2
  337. package/dist/{chunk-XWNXGFX3.js.map → chunk-Z3T24FX3.js.map} +1 -1
  338. package/dist/collapsible-panel.d.ts +10 -3
  339. package/dist/collapsible-panel.js +45 -5
  340. package/dist/collapsible-panel.js.map +1 -1
  341. package/dist/color-field.js +2 -2
  342. package/dist/color-picker.js +1 -1
  343. package/dist/color-swatches.js +1 -1
  344. package/dist/column-explorer.d.ts +67 -0
  345. package/dist/column-explorer.js +140 -0
  346. package/dist/column-explorer.js.map +1 -0
  347. package/dist/column-track.d.ts +12 -3
  348. package/dist/column-track.js +1 -1
  349. package/dist/combobox.d.ts +5 -1
  350. package/dist/combobox.js +2 -1
  351. package/dist/content-item.d.ts +14 -4
  352. package/dist/content-item.js +2 -1
  353. package/dist/content-swap.d.ts +5 -1
  354. package/dist/content-swap.js +2 -1
  355. package/dist/corner-status.d.ts +5 -1
  356. package/dist/corner-status.js +2 -1
  357. package/dist/device-class.js +1 -101
  358. package/dist/device-class.js.map +1 -1
  359. package/dist/disclosure-arrow.d.ts +5 -1
  360. package/dist/disclosure-arrow.js +2 -1
  361. package/dist/disclosure.js +2 -2
  362. package/dist/edge-activity-indicator.d.ts +5 -1
  363. package/dist/edge-activity-indicator.js +2 -1
  364. package/dist/editor.d.ts +344 -0
  365. package/dist/editor.js +10076 -0
  366. package/dist/editor.js.map +1 -0
  367. package/dist/empty-state.d.ts +5 -1
  368. package/dist/empty-state.js +2 -1
  369. package/dist/{extension-attributes-mu8MFUl0.d.ts → extension-attributes-IJ4decoa.d.ts} +7 -1
  370. package/dist/file-picker.d.ts +25 -4
  371. package/dist/file-picker.js +2 -1
  372. package/dist/floating-toolbar.d.ts +5 -1
  373. package/dist/floating-toolbar.js +2 -1
  374. package/dist/form.d.ts +45 -0
  375. package/dist/form.js +4 -0
  376. package/dist/form.js.map +1 -0
  377. package/dist/framed-list.js +1 -1
  378. package/dist/gauge.d.ts +73 -0
  379. package/dist/gauge.js +157 -0
  380. package/dist/gauge.js.map +1 -0
  381. package/dist/grid.js +1 -1
  382. package/dist/index.d.ts +14 -7
  383. package/dist/index.js +82 -70
  384. package/dist/list-action-row.d.ts +1 -1
  385. package/dist/list-action-row.js +2 -1
  386. package/dist/list-detail-dialog.d.ts +10 -3
  387. package/dist/list-detail-dialog.js +15 -11
  388. package/dist/list-detail-dialog.js.map +1 -1
  389. package/dist/list-header.d.ts +11 -3
  390. package/dist/list-header.js +1 -1
  391. package/dist/list-inset-control.d.ts +5 -1
  392. package/dist/list-inset-control.js +2 -1
  393. package/dist/list-inset-text.js +1 -1
  394. package/dist/list-item.js +3 -1
  395. package/dist/list.d.ts +130 -11
  396. package/dist/list.js +1 -1
  397. package/dist/loading-spinner.d.ts +5 -1
  398. package/dist/loading-spinner.js +2 -1
  399. package/dist/lucide-icon.d.ts +5 -1
  400. package/dist/lucide-icon.js +2 -1
  401. package/dist/message-composer.js +1 -1
  402. package/dist/{nav-stack-CrZF95VO.d.ts → nav-stack-DwxpXxqJ.d.ts} +13 -2
  403. package/dist/nav-stack.d.ts +3 -2
  404. package/dist/nav-stack.js +4 -1
  405. package/dist/paged-view.d.ts +47 -0
  406. package/dist/paged-view.js +86 -0
  407. package/dist/paged-view.js.map +1 -0
  408. package/dist/pane.d.ts +42 -5
  409. package/dist/pane.js +2 -1
  410. package/dist/popup-menu-register.js +1 -1
  411. package/dist/popup-menu.d.ts +42 -2
  412. package/dist/popup-menu.js +2 -1
  413. package/dist/progress-bar.js +1 -1
  414. package/dist/progress-ring.js +1 -1
  415. package/dist/radio-group.js +1 -1
  416. package/dist/resizable-region.d.ts +5 -1
  417. package/dist/resizable-region.js +2 -1
  418. package/dist/row.d.ts +7 -2
  419. package/dist/row.js +1 -1
  420. package/dist/scroll-effect.d.ts +86 -0
  421. package/dist/scroll-effect.js +5 -0
  422. package/dist/scroll-effect.js.map +1 -0
  423. package/dist/{search-field-CrGTN5sa.d.ts → search-field-5lNIszda.d.ts} +5 -1
  424. package/dist/search-field-model.d.ts +2 -1
  425. package/dist/search-field.d.ts +2 -1
  426. package/dist/search-field.js +2 -1
  427. package/dist/segmented-control.d.ts +26 -1
  428. package/dist/segmented-control.js +4 -1
  429. package/dist/select-register.js +9 -2
  430. package/dist/select-register.js.map +1 -1
  431. package/dist/select.d.ts +22 -1
  432. package/dist/select.js +1 -1
  433. package/dist/sized-region.d.ts +44 -0
  434. package/dist/sized-region.js +4 -0
  435. package/dist/sized-region.js.map +1 -0
  436. package/dist/skeleton.d.ts +5 -1
  437. package/dist/skeleton.js +2 -1
  438. package/dist/slider.js +1 -1
  439. package/dist/spacer.d.ts +5 -1
  440. package/dist/spacer.js +2 -1
  441. package/dist/split-button.js +1 -1
  442. package/dist/split-view.d.ts +7 -3
  443. package/dist/split-view.js +4 -1
  444. package/dist/state-banner.d.ts +7 -0
  445. package/dist/state-banner.js +1 -1
  446. package/dist/styles/backdrop-image.css +136 -70
  447. package/dist/styles/badge.css +70 -0
  448. package/dist/styles/button.css +103 -0
  449. package/dist/styles/choice-chips.css +45 -0
  450. package/dist/styles/column-explorer.css +6 -0
  451. package/dist/styles/components/actions/button/button.css +103 -0
  452. package/dist/styles/components/actions/popup-menu/popup-menu.css +154 -1
  453. package/dist/styles/components/actions/toolbar/toolbar.css +19 -11
  454. package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +38 -200
  455. package/dist/styles/components/collections/column-explorer/column-explorer.css +6 -0
  456. package/dist/styles/components/collections/list/list.css +6 -0
  457. package/dist/styles/components/collections/list-item/list-item.css +68 -2
  458. package/dist/styles/components/collections/summary-row/summary-row.css +39 -6
  459. package/dist/styles/components/collections/tree-list/tree-list.css +7 -0
  460. package/dist/styles/components/data-display/value-table/value-table.css +1 -1
  461. package/dist/styles/components/feedback/badge/badge.css +70 -0
  462. package/dist/styles/components/feedback/gauge/gauge.css +132 -0
  463. package/dist/styles/components/feedback/state-banner/state-banner.css +12 -7
  464. package/dist/styles/components/forms/choice-chips/choice-chips.css +45 -0
  465. package/dist/styles/components/forms/file-picker/file-picker.css +13 -2
  466. package/dist/styles/components/forms/form/form.css +6 -0
  467. package/dist/styles/components/forms/segmented-control/segmented-control.css +16 -0
  468. package/dist/styles/components/forms/select/select.css +85 -2
  469. package/dist/styles/components/forms/text-field/text-field.css +44 -0
  470. package/dist/styles/components/layout/pane/pane.css +16 -0
  471. package/dist/styles/components/layout/resizable-region/resizable-region.css +0 -10
  472. package/dist/styles/components/layout/sized-region/sized-region.css +22 -0
  473. package/dist/styles/components/layout/workbench/workbench.css +0 -21
  474. package/dist/styles/components/navigation/nav-stack/nav-stack.css +2 -0
  475. package/dist/styles/components/navigation/paged-view/paged-view.css +160 -0
  476. package/dist/styles/components/navigation/tab-bar/tab-bar.css +9 -0
  477. package/dist/styles/components/navigation/tab-bar-item/tab-bar-item.css +110 -2
  478. package/dist/styles/components/navigation/tab-panel/tab-panel.css +7 -0
  479. package/dist/styles/components/surfaces/backdrop-image/backdrop-image.css +14 -70
  480. package/dist/styles/components/surfaces/scroll-effect/scroll-effect.css +121 -0
  481. package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +77 -29
  482. package/dist/styles/components/typography/text/text.css +4 -4
  483. package/dist/styles/content-item.css +551 -3
  484. package/dist/styles/document.css +1 -6
  485. package/dist/styles/editor/editor.css +530 -0
  486. package/dist/styles/editor.css +4 -0
  487. package/dist/styles/file-picker.css +13 -2
  488. package/dist/styles/form.css +6 -0
  489. package/dist/styles/foundation.css +55 -1
  490. package/dist/styles/gauge.css +132 -0
  491. package/dist/styles/list-item.css +68 -2
  492. package/dist/styles/list.css +6 -0
  493. package/dist/styles/nav-stack.css +2 -0
  494. package/dist/styles/overlay-sheet.css +7 -7
  495. package/dist/styles/paged-view.css +160 -0
  496. package/dist/styles/pane.css +16 -0
  497. package/dist/styles/popup-menu.css +154 -1
  498. package/dist/styles/resizable-region.css +0 -10
  499. package/dist/styles/scroll-effect.css +121 -0
  500. package/dist/styles/segmented-control.css +16 -0
  501. package/dist/styles/select.css +85 -2
  502. package/dist/styles/sized-region.css +22 -0
  503. package/dist/styles/state-banner.css +12 -7
  504. package/dist/styles/styles.css +12 -0
  505. package/dist/styles/summary-row.css +39 -6
  506. package/dist/styles/surface-scaffold.css +77 -29
  507. package/dist/styles/tab-bar-item.css +110 -2
  508. package/dist/styles/tab-bar.css +9 -0
  509. package/dist/styles/tab-panel.css +7 -0
  510. package/dist/styles/text-field.css +44 -0
  511. package/dist/styles/text.css +4 -4
  512. package/dist/styles/toolbar-control-group.css +38 -200
  513. package/dist/styles/toolbar.css +19 -11
  514. package/dist/styles/tree-list.css +7 -0
  515. package/dist/styles/value-table.css +1 -1
  516. package/dist/styles/webawesome.css +350 -6
  517. package/dist/styles/workbench.css +0 -21
  518. package/dist/summary-row.d.ts +9 -1
  519. package/dist/summary-row.js +1 -1
  520. package/dist/sunken-panel.d.ts +5 -1
  521. package/dist/sunken-panel.js +2 -1
  522. package/dist/surface-scaffold-register.js +1 -1
  523. package/dist/surface-scaffold.d.ts +37 -6
  524. package/dist/surface-scaffold.js +3 -2
  525. package/dist/switch.js +1 -1
  526. package/dist/tab-bar-item.d.ts +8 -1
  527. package/dist/tab-bar-item.js +1 -1
  528. package/dist/tab-bar.d.ts +15 -2
  529. package/dist/tab-bar.js +2 -1
  530. package/dist/tab-navigator.d.ts +25 -3
  531. package/dist/tab-navigator.js +42 -19
  532. package/dist/tab-navigator.js.map +1 -1
  533. package/dist/tab-panel.d.ts +35 -0
  534. package/dist/tab-panel.js +4 -0
  535. package/dist/tab-panel.js.map +1 -0
  536. package/dist/tag-field.d.ts +5 -1
  537. package/dist/tag-field.js +2 -1
  538. package/dist/text-field.d.ts +22 -4
  539. package/dist/text-field.js +1 -1
  540. package/dist/text.d.ts +37 -5
  541. package/dist/text.js +2 -1
  542. package/dist/toolbar-control-group.d.ts +83 -3
  543. package/dist/toolbar-control-group.js +4 -1
  544. package/dist/toolbar-text.d.ts +9 -1
  545. package/dist/toolbar-text.js +2 -1
  546. package/dist/toolbar.d.ts +6 -1
  547. package/dist/toolbar.js +2 -1
  548. package/dist/tree-list.d.ts +42 -0
  549. package/dist/tree-list.js +12 -0
  550. package/dist/tree-list.js.map +1 -0
  551. package/dist/tree-rows-eHnnGLGM.d.ts +65 -0
  552. package/dist/value-preview.d.ts +5 -1
  553. package/dist/value-preview.js +2 -1
  554. package/dist/value-table.d.ts +9 -2
  555. package/dist/value-table.js +2 -1
  556. package/dist/wire-catalog.d.ts +3 -2
  557. package/dist/wire-catalog.js +4 -3
  558. package/dist/wire-catalog.js.map +1 -1
  559. package/dist/wire-choice-chips.d.ts +3 -1
  560. package/dist/wire-choice-chips.js +1 -1
  561. package/dist/wire-color-fields.js +2 -73
  562. package/dist/wire-color-fields.js.map +1 -1
  563. package/dist/wire-color-pickers.js +1 -1
  564. package/dist/wire-column-explorer.d.ts +13 -0
  565. package/dist/wire-column-explorer.js +94 -0
  566. package/dist/wire-column-explorer.js.map +1 -0
  567. package/dist/wire-content-items.d.ts +10 -1
  568. package/dist/wire-content-items.js +1 -293
  569. package/dist/wire-content-items.js.map +1 -1
  570. package/dist/wire-forms.d.ts +14 -0
  571. package/dist/wire-forms.js +3 -0
  572. package/dist/wire-forms.js.map +1 -0
  573. package/dist/wire-nav-stack.js +1 -423
  574. package/dist/wire-nav-stack.js.map +1 -1
  575. package/dist/wire-paged-views.d.ts +27 -0
  576. package/dist/wire-paged-views.js +186 -0
  577. package/dist/wire-paged-views.js.map +1 -0
  578. package/dist/wire-resizable-regions.js +2 -1
  579. package/dist/wire-scroll-dividers.js +1 -1
  580. package/dist/wire-search-fields.d.ts +2 -1
  581. package/dist/wire-search-fields.js +2 -1
  582. package/dist/wire-sidebar.js +1 -229
  583. package/dist/wire-sidebar.js.map +1 -1
  584. package/dist/wire-sliders.js +1 -29
  585. package/dist/wire-sliders.js.map +1 -1
  586. package/dist/wire-summary-rows.d.ts +18 -0
  587. package/dist/wire-summary-rows.js +4 -0
  588. package/dist/wire-summary-rows.js.map +1 -0
  589. package/dist/wire-tab-bars.d.ts +1 -0
  590. package/dist/wire-tab-bars.js +1 -1
  591. package/dist/wire-tab-navigator.js +1 -151
  592. package/dist/wire-tab-navigator.js.map +1 -1
  593. package/dist/wire-tag-fields.js +3 -252
  594. package/dist/wire-tag-fields.js.map +1 -1
  595. package/dist/wire-tree-list.d.ts +53 -0
  596. package/dist/wire-tree-list.js +3 -0
  597. package/dist/wire-tree-list.js.map +1 -0
  598. package/dist/wire-workbench.js +2 -1
  599. package/dist/workbench-dialog.d.ts +10 -3
  600. package/dist/workbench-dialog.js +13 -9
  601. package/dist/workbench-dialog.js.map +1 -1
  602. package/dist/workbench.d.ts +7 -3
  603. package/dist/workbench.js +4 -1
  604. package/docs/accessibility.md +52 -9
  605. package/docs/app-layouts.md +70 -1
  606. package/docs/backdrop-image.md +10 -0
  607. package/docs/button.md +30 -2
  608. package/docs/column-explorer.md +75 -0
  609. package/docs/component-contract.md +38 -8
  610. package/docs/component-selection.md +151 -107
  611. package/docs/data-tables-and-lists.md +1 -1
  612. package/docs/design/sketch/Kerf-UI.sketch +0 -0
  613. package/docs/design/sketch/README.md +1 -1
  614. package/docs/design/sketch/content/README.md +8 -8
  615. package/docs/design/sketch/coverage.md +124 -120
  616. package/docs/design/sketch/lists/README.md +6 -6
  617. package/docs/design/sketch/unified/README.md +1 -1
  618. package/docs/design/sketch/unified/pages/content.png +0 -0
  619. package/docs/design/sketch/unified/pages/lists.png +0 -0
  620. package/docs/design/templates/button/emphasis-dark.svg +1 -1
  621. package/docs/design/templates/button/emphasis.svg +1 -1
  622. package/docs/design/templates/button/full-width-dark.svg +1 -1
  623. package/docs/design/templates/button/full-width.svg +1 -1
  624. package/docs/design/templates/button/icons-dark.svg +1 -1
  625. package/docs/design/templates/button/icons.svg +1 -1
  626. package/docs/design/templates/button/pill-dark.svg +1 -1
  627. package/docs/design/templates/button/pill.svg +1 -1
  628. package/docs/design/templates/button/toggles-dark.svg +1 -1
  629. package/docs/design/templates/button/toggles.svg +1 -1
  630. package/docs/design/templates/button-dark.svg +1 -1
  631. package/docs/design/templates/button.svg +1 -1
  632. package/docs/design/templates/checkbox/compact-dark.svg +1 -1
  633. package/docs/design/templates/checkbox/compact.svg +1 -1
  634. package/docs/design/templates/checkbox/mixed-dark.svg +1 -1
  635. package/docs/design/templates/checkbox/mixed.svg +1 -1
  636. package/docs/design/templates/checkbox/states-dark.svg +1 -1
  637. package/docs/design/templates/checkbox/states.svg +1 -1
  638. package/docs/design/templates/checkbox-dark.svg +1 -1
  639. package/docs/design/templates/checkbox-group/vertical-dark.svg +1 -1
  640. package/docs/design/templates/checkbox-group/vertical.svg +1 -1
  641. package/docs/design/templates/checkbox-group-dark.svg +1 -1
  642. package/docs/design/templates/checkbox-group.svg +1 -1
  643. package/docs/design/templates/checkbox.svg +1 -1
  644. package/docs/design/templates/chip/tags-dark.svg +1 -1
  645. package/docs/design/templates/chip/tags.svg +1 -1
  646. package/docs/design/templates/chip-dark.svg +1 -1
  647. package/docs/design/templates/chip.svg +1 -1
  648. package/docs/design/templates/choice-chips/compact-icons-dark.svg +1 -1
  649. package/docs/design/templates/choice-chips/compact-icons.svg +1 -1
  650. package/docs/design/templates/choice-chips-dark.svg +1 -1
  651. package/docs/design/templates/choice-chips.svg +1 -1
  652. package/docs/design/templates/color-field/compact-dark.svg +1 -1
  653. package/docs/design/templates/color-field/compact.svg +1 -1
  654. package/docs/design/templates/color-field/error-dark.svg +1 -1
  655. package/docs/design/templates/color-field/error.svg +1 -1
  656. package/docs/design/templates/color-field/hint-dark.svg +1 -1
  657. package/docs/design/templates/color-field/hint.svg +1 -1
  658. package/docs/design/templates/color-field-dark.svg +1 -1
  659. package/docs/design/templates/color-field.svg +1 -1
  660. package/docs/design/templates/color-picker/gray-dark.svg +1 -1
  661. package/docs/design/templates/color-picker/gray.svg +1 -1
  662. package/docs/design/templates/color-picker/hsb-dark.svg +1 -1
  663. package/docs/design/templates/color-picker/hsb.svg +1 -1
  664. package/docs/design/templates/color-picker/rgb-dark.svg +1 -1
  665. package/docs/design/templates/color-picker/rgb.svg +1 -1
  666. package/docs/design/templates/color-picker-dark.svg +1 -1
  667. package/docs/design/templates/color-picker.svg +1 -1
  668. package/docs/design/templates/disclosure/embedded-dark.svg +1 -1
  669. package/docs/design/templates/disclosure/embedded.svg +1 -1
  670. package/docs/design/templates/disclosure/framed-sunken-dark.svg +1 -1
  671. package/docs/design/templates/disclosure/framed-sunken.svg +1 -1
  672. package/docs/design/templates/disclosure/plain-dark.svg +1 -1
  673. package/docs/design/templates/disclosure/plain.svg +1 -1
  674. package/docs/design/templates/disclosure-dark.svg +1 -1
  675. package/docs/design/templates/disclosure.svg +1 -1
  676. package/docs/design/templates/empty-state/filtered-dark.svg +1 -1
  677. package/docs/design/templates/empty-state/filtered.svg +1 -1
  678. package/docs/design/templates/empty-state/with-action-dark.svg +1 -1
  679. package/docs/design/templates/empty-state/with-action.svg +1 -1
  680. package/docs/design/templates/empty-state-dark.svg +1 -1
  681. package/docs/design/templates/empty-state.svg +1 -1
  682. package/docs/design/templates/gauge/bare-dark.svg +1 -0
  683. package/docs/design/templates/gauge/bare.svg +1 -0
  684. package/docs/design/templates/gauge/full-dark.svg +1 -0
  685. package/docs/design/templates/gauge/full.svg +1 -0
  686. package/docs/design/templates/gauge-dark.svg +1 -0
  687. package/docs/design/templates/gauge.svg +1 -0
  688. package/docs/design/templates/list/compact-dark.svg +1 -1
  689. package/docs/design/templates/list/compact.svg +1 -1
  690. package/docs/design/templates/list/stack-dark.svg +1 -1
  691. package/docs/design/templates/list/stack.svg +1 -1
  692. package/docs/design/templates/list-action-row/default-dark.svg +1 -1
  693. package/docs/design/templates/list-action-row/default.svg +1 -1
  694. package/docs/design/templates/list-action-row/icon-tile-dark.svg +1 -1
  695. package/docs/design/templates/list-action-row/icon-tile.svg +1 -1
  696. package/docs/design/templates/list-action-row/selected-dark.svg +1 -1
  697. package/docs/design/templates/list-action-row/selected.svg +1 -1
  698. package/docs/design/templates/list-action-row/trailing-menu-dark.svg +1 -1
  699. package/docs/design/templates/list-action-row/trailing-menu.svg +1 -1
  700. package/docs/design/templates/list-action-row-dark.svg +1 -1
  701. package/docs/design/templates/list-action-row.svg +1 -1
  702. package/docs/design/templates/list-dark.svg +1 -1
  703. package/docs/design/templates/list-header/action-dark.svg +1 -1
  704. package/docs/design/templates/list-header/action.svg +1 -1
  705. package/docs/design/templates/list-header/inline-action-dark.svg +1 -1
  706. package/docs/design/templates/list-header/inline-action.svg +1 -1
  707. package/docs/design/templates/list-header/toggle-collapsed-dark.svg +1 -1
  708. package/docs/design/templates/list-header/toggle-collapsed.svg +1 -1
  709. package/docs/design/templates/list-header/toggle-expanded-dark.svg +1 -1
  710. package/docs/design/templates/list-header/toggle-expanded.svg +1 -1
  711. package/docs/design/templates/list-header-dark.svg +1 -1
  712. package/docs/design/templates/list-header.svg +1 -1
  713. package/docs/design/templates/list-item/default-dark.svg +1 -1
  714. package/docs/design/templates/list-item/default.svg +1 -1
  715. package/docs/design/templates/list-item/icon-tile-dark.svg +1 -1
  716. package/docs/design/templates/list-item/icon-tile.svg +1 -1
  717. package/docs/design/templates/list-item/multiline-dark.svg +1 -1
  718. package/docs/design/templates/list-item/multiline.svg +1 -1
  719. package/docs/design/templates/list-item/selected-dark.svg +1 -1
  720. package/docs/design/templates/list-item/selected.svg +1 -1
  721. package/docs/design/templates/list-item/trailing-dark.svg +1 -1
  722. package/docs/design/templates/list-item/trailing.svg +1 -1
  723. package/docs/design/templates/list-item-dark.svg +1 -1
  724. package/docs/design/templates/list-item.svg +1 -1
  725. package/docs/design/templates/list.svg +1 -1
  726. package/docs/design/templates/progress-ring/sizes-dark.svg +1 -1
  727. package/docs/design/templates/progress-ring/sizes.svg +1 -1
  728. package/docs/design/templates/progress-ring/tones-dark.svg +1 -1
  729. package/docs/design/templates/progress-ring/tones.svg +1 -1
  730. package/docs/design/templates/progress-ring-dark.svg +1 -1
  731. package/docs/design/templates/progress-ring.svg +1 -1
  732. package/docs/design/templates/search-field/empty-dark.svg +1 -1
  733. package/docs/design/templates/search-field/empty.svg +1 -1
  734. package/docs/design/templates/search-field/tokens-dark.svg +1 -1
  735. package/docs/design/templates/search-field/tokens.svg +1 -1
  736. package/docs/design/templates/search-field-dark.svg +1 -1
  737. package/docs/design/templates/search-field.svg +1 -1
  738. package/docs/design/templates/segmented-control/equal-dark.svg +1 -1
  739. package/docs/design/templates/segmented-control/equal.svg +1 -1
  740. package/docs/design/templates/segmented-control/pill-small-dark.svg +1 -1
  741. package/docs/design/templates/segmented-control/pill-small.svg +1 -1
  742. package/docs/design/templates/segmented-control-dark.svg +1 -1
  743. package/docs/design/templates/segmented-control.svg +1 -1
  744. package/docs/design/templates/select/compact-dark.svg +1 -1
  745. package/docs/design/templates/select/compact.svg +1 -1
  746. package/docs/design/templates/select/form-dark.svg +1 -1
  747. package/docs/design/templates/select/form.svg +1 -1
  748. package/docs/design/templates/select/icons-dark.svg +1 -1
  749. package/docs/design/templates/select/icons.svg +1 -1
  750. package/docs/design/templates/select-dark.svg +1 -1
  751. package/docs/design/templates/select.svg +1 -1
  752. package/docs/design/templates/split-button/full-width-dark.svg +1 -1
  753. package/docs/design/templates/split-button/full-width.svg +1 -1
  754. package/docs/design/templates/split-button/pill-dark.svg +1 -1
  755. package/docs/design/templates/split-button/pill.svg +1 -1
  756. package/docs/design/templates/split-button/states-dark.svg +1 -1
  757. package/docs/design/templates/split-button/states.svg +1 -1
  758. package/docs/design/templates/split-button/tones-dark.svg +1 -1
  759. package/docs/design/templates/split-button/tones.svg +1 -1
  760. package/docs/design/templates/split-button-dark.svg +1 -1
  761. package/docs/design/templates/split-button.svg +1 -1
  762. package/docs/design/templates/state-banner/danger-dark.svg +1 -1
  763. package/docs/design/templates/state-banner/danger.svg +1 -1
  764. package/docs/design/templates/state-banner/info-badge-dark.svg +1 -1
  765. package/docs/design/templates/state-banner/info-badge.svg +1 -1
  766. package/docs/design/templates/state-banner/info-dark.svg +1 -1
  767. package/docs/design/templates/state-banner/info.svg +1 -1
  768. package/docs/design/templates/state-banner/strip-dark.svg +1 -1
  769. package/docs/design/templates/state-banner/strip.svg +1 -1
  770. package/docs/design/templates/state-banner/success-dark.svg +1 -1
  771. package/docs/design/templates/state-banner/success.svg +1 -1
  772. package/docs/design/templates/state-banner/warning-dark.svg +1 -1
  773. package/docs/design/templates/state-banner/warning.svg +1 -1
  774. package/docs/design/templates/state-banner-dark.svg +1 -1
  775. package/docs/design/templates/state-banner.svg +1 -1
  776. package/docs/design/templates/tab-bar/workspace-tabs-dark.svg +1 -1
  777. package/docs/design/templates/tab-bar/workspace-tabs.svg +1 -1
  778. package/docs/design/templates/tab-bar-dark.svg +1 -1
  779. package/docs/design/templates/tab-bar.svg +1 -1
  780. package/docs/design/templates/tag-field/error-dark.svg +1 -1
  781. package/docs/design/templates/tag-field/error.svg +1 -1
  782. package/docs/design/templates/tag-field/tags-dark.svg +1 -1
  783. package/docs/design/templates/tag-field/tags.svg +1 -1
  784. package/docs/design/templates/tag-field-dark.svg +1 -1
  785. package/docs/design/templates/tag-field.svg +1 -1
  786. package/docs/design/templates/text-field/labeled-dark.svg +1 -1
  787. package/docs/design/templates/text-field/labeled.svg +1 -1
  788. package/docs/design/templates/text-field/search-dark.svg +1 -1
  789. package/docs/design/templates/text-field/search.svg +1 -1
  790. package/docs/design/templates/text-field-dark.svg +1 -1
  791. package/docs/design/templates/text-field.svg +1 -1
  792. package/docs/design/templates/toolbar/title-and-actions-dark.svg +1 -1
  793. package/docs/design/templates/toolbar/title-and-actions.svg +1 -1
  794. package/docs/design/templates/toolbar/width-visibility-320-dark.svg +1 -1
  795. package/docs/design/templates/toolbar/width-visibility-320.svg +1 -1
  796. package/docs/design/templates/toolbar/width-visibility-600-dark.svg +1 -1
  797. package/docs/design/templates/toolbar/width-visibility-600.svg +1 -1
  798. package/docs/design/templates/toolbar-control-group/borderless-single-dark.svg +1 -1
  799. package/docs/design/templates/toolbar-control-group/borderless-single.svg +1 -1
  800. package/docs/design/templates/toolbar-control-group/glass-dark.svg +1 -1
  801. package/docs/design/templates/toolbar-control-group/glass.svg +1 -1
  802. package/docs/design/templates/toolbar-control-group/icon-buttons-dark.svg +1 -1
  803. package/docs/design/templates/toolbar-control-group/icon-buttons.svg +1 -1
  804. package/docs/design/templates/toolbar-control-group/icon-tile-brand-dark.svg +1 -1
  805. package/docs/design/templates/toolbar-control-group/icon-tile-brand.svg +1 -1
  806. package/docs/design/templates/toolbar-control-group/icon-tile-danger-dark.svg +1 -1
  807. package/docs/design/templates/toolbar-control-group/icon-tile-danger.svg +1 -1
  808. package/docs/design/templates/toolbar-control-group/icon-tile-neutral-dark.svg +1 -1
  809. package/docs/design/templates/toolbar-control-group/icon-tile-neutral.svg +1 -1
  810. package/docs/design/templates/toolbar-control-group/icon-tile-success-dark.svg +1 -1
  811. package/docs/design/templates/toolbar-control-group/icon-tile-success.svg +1 -1
  812. package/docs/design/templates/toolbar-control-group/icon-tile-warning-dark.svg +1 -1
  813. package/docs/design/templates/toolbar-control-group/icon-tile-warning.svg +1 -1
  814. package/docs/design/templates/toolbar-control-group/push-buttons-dark.svg +1 -1
  815. package/docs/design/templates/toolbar-control-group/push-buttons.svg +1 -1
  816. package/docs/design/templates/toolbar-control-group/with-text-dark.svg +1 -1
  817. package/docs/design/templates/toolbar-control-group/with-text.svg +1 -1
  818. package/docs/design/templates/toolbar-control-group-dark.svg +1 -1
  819. package/docs/design/templates/toolbar-control-group.svg +1 -1
  820. package/docs/design/templates/toolbar-dark.svg +1 -1
  821. package/docs/design/templates/toolbar.svg +1 -1
  822. package/docs/design/templates/tree-list/files-dark.svg +1 -0
  823. package/docs/design/templates/tree-list/files.svg +1 -0
  824. package/docs/design/templates/tree-list/outline-dark.svg +1 -0
  825. package/docs/design/templates/tree-list/outline.svg +1 -0
  826. package/docs/design/templates/tree-list-dark.svg +1 -0
  827. package/docs/design/templates/tree-list.svg +1 -0
  828. package/docs/design/templates/value-table/details-dark.svg +1 -1
  829. package/docs/design/templates/value-table/details.svg +1 -1
  830. package/docs/design/templates/value-table-dark.svg +1 -1
  831. package/docs/design/templates/value-table.svg +1 -1
  832. package/docs/design/templates.md +2 -2
  833. package/docs/document-baseline.md +6 -3
  834. package/docs/editor-host.md +299 -0
  835. package/docs/forms-and-validation.md +39 -0
  836. package/docs/gauge.md +55 -0
  837. package/docs/interaction-conventions.md +1 -0
  838. package/docs/layout.md +87 -4
  839. package/docs/list-detail-dialog.md +5 -0
  840. package/docs/manual-test-plan.md +32 -0
  841. package/docs/nav-stack.md +2 -1
  842. package/docs/paged-view.md +89 -0
  843. package/docs/progress.md +3 -2
  844. package/docs/scroll-effect.md +127 -0
  845. package/docs/split-view.md +4 -1
  846. package/docs/surface-scaffold.md +32 -2
  847. package/docs/tab-navigator.md +5 -4
  848. package/docs/tree-list.md +134 -0
  849. package/docs/ui-analyzer.md +43 -25
  850. package/docs/ui-doctor.md +4 -1
  851. package/docs/ui-evaluator.md +2 -0
  852. package/docs/webawesome-migration.md +32 -31
  853. package/docs/webawesome-theme.md +27 -17
  854. package/docs/workbench-dialog.md +4 -0
  855. package/evaluator/index.mjs +14 -2
  856. package/llms.txt +168 -18
  857. package/package.json +97 -4
  858. package/props/cli.d.mts +1 -0
  859. package/props/cli.mjs +116 -0
  860. package/props/component-props.d.mts +177 -0
  861. package/props/component-props.mjs +1208 -0
  862. package/scripts/lib/json-schema-subset.mjs +137 -0
  863. package/ux-demo/recipes/app-shell.tsx +20 -22
  864. package/ux-demo/recipes/collapsible-sidebar.tsx +2 -2
  865. package/ux-demo/recipes/compact-toolbar.tsx +26 -29
  866. package/ux-demo/recipes/composer-form.tsx +6 -5
  867. package/ux-demo/recipes/list-workspace-states.tsx +39 -39
  868. package/ux-demo/recipes/loading-inspector.tsx +8 -6
  869. package/ux-demo/recipes/media-detail.tsx +29 -15
  870. package/ux-demo/recipes/navigation-sidebar.tsx +18 -19
  871. package/ux-demo/recipes/navigation-stack.tsx +2 -2
  872. package/ux-demo/recipes/workspace-header.tsx +16 -16
  873. package/view/cli.d.mts +18 -0
  874. package/view/cli.mjs +262 -0
  875. package/view/contract.mjs +342 -0
  876. package/view/generate.mjs +639 -0
  877. package/view/index.d.mts +411 -0
  878. package/view/index.mjs +40 -0
  879. package/view/interpret.mjs +271 -0
  880. package/view/validate-move.mjs +317 -0
  881. package/view/validate.mjs +1864 -0
  882. package/vite-editor.d.mts +130 -0
  883. package/vite-editor.mjs +314 -0
  884. package/dist/chunk-2J7XKAZX.js.map +0 -1
  885. package/dist/chunk-3KFMLOTH.js.map +0 -1
  886. package/dist/chunk-3OP66VXU.js.map +0 -1
  887. package/dist/chunk-3V4OCDTL.js.map +0 -1
  888. package/dist/chunk-3WWX2O4G.js.map +0 -1
  889. package/dist/chunk-5CLMV5YU.js.map +0 -1
  890. package/dist/chunk-5J6Z4BWY.js.map +0 -1
  891. package/dist/chunk-6VVIW7VB.js.map +0 -1
  892. package/dist/chunk-7K6U6FCN.js.map +0 -1
  893. package/dist/chunk-AMIHGFLP.js.map +0 -1
  894. package/dist/chunk-AN5IWMTM.js.map +0 -1
  895. package/dist/chunk-B53PS2LE.js.map +0 -1
  896. package/dist/chunk-BKUMG2KB.js.map +0 -1
  897. package/dist/chunk-C2ZO3OZZ.js.map +0 -1
  898. package/dist/chunk-CVD5IZGB.js.map +0 -1
  899. package/dist/chunk-D5RGM3XA.js.map +0 -1
  900. package/dist/chunk-DZJ4GBSP.js.map +0 -1
  901. package/dist/chunk-EIET4QLK.js.map +0 -1
  902. package/dist/chunk-EKHDLBRP.js.map +0 -1
  903. package/dist/chunk-ETFP7HAR.js.map +0 -1
  904. package/dist/chunk-EYDXFOSH.js.map +0 -1
  905. package/dist/chunk-F653O57X.js.map +0 -1
  906. package/dist/chunk-G3J7JDP6.js.map +0 -1
  907. package/dist/chunk-HJXVVFBT.js.map +0 -1
  908. package/dist/chunk-IIQ2XIMU.js.map +0 -1
  909. package/dist/chunk-ITENVZ6Q.js.map +0 -1
  910. package/dist/chunk-ITUQC4FW.js.map +0 -1
  911. package/dist/chunk-K57NINLH.js.map +0 -1
  912. package/dist/chunk-K67XBCHG.js.map +0 -1
  913. package/dist/chunk-KDQZ3E5C.js.map +0 -1
  914. package/dist/chunk-KH4KEMSP.js.map +0 -1
  915. package/dist/chunk-LZUUUHNH.js.map +0 -1
  916. package/dist/chunk-N2K3QGSX.js.map +0 -1
  917. package/dist/chunk-NB6POCFH.js.map +0 -1
  918. package/dist/chunk-NR6O74ST.js.map +0 -1
  919. package/dist/chunk-OQP3PFKQ.js.map +0 -1
  920. package/dist/chunk-OZ6X76G5.js.map +0 -1
  921. package/dist/chunk-PS24PVR6.js.map +0 -1
  922. package/dist/chunk-QH5KOFNS.js.map +0 -1
  923. package/dist/chunk-QYMJHS4K.js.map +0 -1
  924. package/dist/chunk-ROEBKSIY.js.map +0 -1
  925. package/dist/chunk-S3DCRI2M.js.map +0 -1
  926. package/dist/chunk-S3ECMF23.js.map +0 -1
  927. package/dist/chunk-TKNVL53O.js.map +0 -1
  928. package/dist/chunk-VEME3D7K.js.map +0 -1
  929. package/dist/chunk-WPP5Q4A5.js.map +0 -1
  930. package/dist/chunk-WVS6CUCT.js.map +0 -1
  931. package/dist/chunk-XRZSK2WC.js.map +0 -1
  932. package/dist/chunk-Y6KT7ZTR.js.map +0 -1
  933. package/dist/chunk-YMUIQRWK.js.map +0 -1
  934. package/dist/chunk-YPAQFBMN.js.map +0 -1
  935. package/dist/chunk-YWLDLNAV.js.map +0 -1
  936. package/dist/chunk-ZN7KUMPY.js.map +0 -1
  937. package/dist/chunk-ZX2QQJXD.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/surfaces/workbench-dialog/workbench-dialog.tsx"],"names":[],"mappings":"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","file":"workbench-dialog.js","sourcesContent":["import { X } from 'lucide';\n\nimport type { KerfUiContent } from '../../../shared/content/semantic-content.js';\nimport type { CssLength } from '../../../shared/styles/css-values.js';\nimport { remify } from '../../../shared/styles/css-values.js';\nimport { ToolbarControlGroup } from '../../actions/toolbar-control-group/toolbar-control-group.js';\nimport { ToolbarText } from '../../actions/toolbar-text/toolbar-text.js';\nimport {\n Workbench,\n type WorkbenchMainBottomToolbar,\n type WorkbenchPanel,\n} from '../../layout/workbench/workbench.js';\nimport { LucideIcon } from '../../media/lucide-icon/lucide-icon.js';\nimport {\n DialogSurface,\n type DialogSurfaceHeight,\n type DialogSurfaceMaxHeight,\n type DialogSurfaceRootAttributes,\n type DialogSurfaceSize,\n} from '../surface-scaffold/surface-scaffold.js';\n\n// Open and close it like any DialogSurface, from the same import.\nexport {\n closeDialog,\n type DialogCloseSource,\n type DialogRequestCloseDetail,\n openDialog,\n} from '../surface-scaffold/surface-scaffold.js';\n\n/**\n * Application `data-*` identity on the dialog root, such as `data-key`; the\n * dialog's own configuration attributes stay protected.\n */\nexport type WorkbenchDialogRootAttributes = DialogSurfaceRootAttributes;\n\nexport interface WorkbenchDialogProps {\n /**\n * The dialog's id, for `openDialog(document.getElementById(id))`. The\n * Workbench inside is `<id>-workbench`, so its rails are\n * `<id>-workbench-left-rail` and `<id>-workbench-right-rail`.\n */\n id: string;\n /** The dialog's accessible name. */\n label: string;\n /** The dialog's primary title: an xl heading in the work area's toolbar. */\n title: string;\n /**\n * A short supporting line under the title. It is the dialog's accessible\n * description (`aria-describedby` to its `<id>-description`) unless\n * `describedBy` names other content.\n */\n description?: string;\n /**\n * Id of the element whose text is the dialog's accessible description, in\n * place of `description`, such as app-owned summary copy in `main`.\n */\n describedBy?: string;\n /** Groups after the title in the work area's toolbar. */\n leading?: KerfUiContent;\n /** Header controls before the close control, such as a `ToolbarControlGroup`. */\n actions?: KerfUiContent;\n /** The work area. */\n main: KerfUiContent;\n /** Fixed content over the work area's bottom toolbar, such as a status line. */\n mainFooter?: KerfUiContent;\n /** The work area's bottom toolbar, usually the dialog's buttons. */\n mainBottomToolbar?: WorkbenchMainBottomToolbar;\n /**\n * Side rails with their own toolbars. On compact devices each presents as\n * an overlay over the work area; the app starts it collapsed and its\n * `toolbar.toggle` shows it.\n */\n leftRail?: WorkbenchPanel;\n rightRail?: WorkbenchPanel;\n /** A bottom drawer under the work area. */\n bottomDrawer?: WorkbenchPanel;\n /**\n * Fill the screen with the rails as overlays: derive from\n * `deviceClass().value.compact`.\n */\n compact?: boolean;\n /** The close control's accessible name (default `Close`). */\n closeLabel?: string;\n /** Close on a press on the backdrop; otherwise the panel pulses. */\n lightDismiss?: boolean;\n /** Roomy preferred width preset (default `large`). */\n size?: DialogSurfaceSize;\n /** Roomy preferred width; takes precedence over `size`. */\n preferredWidth?: CssLength;\n /** Roomy definite height (default 560px), bounded by the viewport. */\n height?: DialogSurfaceHeight;\n /** Roomy height cap in place of a definite height. */\n maxHeight?: DialogSurfaceMaxHeight;\n /** Roomy edge clearance from the viewport. */\n viewportGutter?: CssLength;\n /** Minimum work-area width beside inline rails, in px (Workbench default 320). */\n mainMinSize?: number;\n rootAttributes?: WorkbenchDialogRootAttributes;\n className?: string;\n /** Native named-slot assignment when composed inside a web component. */\n slot?: string;\n}\n\n/** A rail presents as an overlay in a compact dialog, as the app left it otherwise. */\nfunction compactRail(\n panel: WorkbenchPanel | undefined,\n compact: boolean,\n): WorkbenchPanel | undefined {\n return panel && compact ? { ...panel, presentation: 'overlay' } : panel;\n}\n\n/**\n * A workbench dialog: a modal whose body is a `Workbench`. The work area's\n * toolbar carries the dialog's primary title, its actions, and the close\n * control; side rails keep their own toolbars and run the dialog's full\n * height. On compact devices it fills the screen and its rails become\n * overlays over the work area, shown by their toolbar toggles, so the work\n * area keeps its width. Open it with `openDialog()`; the app owns each\n * rail's `collapsed` state, and `wireWorkbench` closes an overlay rail on\n * Escape or a press outside it before the dialog sees the Escape. Built from\n * `DialogSurface` and `Workbench`.\n */\nexport function WorkbenchDialog({\n id,\n label,\n title,\n description,\n describedBy,\n leading,\n actions,\n main,\n mainFooter,\n mainBottomToolbar,\n leftRail,\n rightRail,\n bottomDrawer,\n compact = false,\n closeLabel = 'Close',\n lightDismiss = false,\n size = 'large',\n preferredWidth,\n height,\n maxHeight,\n viewportGutter,\n mainMinSize,\n rootAttributes,\n className = '',\n slot,\n}: WorkbenchDialogProps) {\n return (\n <DialogSurface\n id={id}\n label={label}\n describedBy={\n describedBy ??\n (description === undefined ? undefined : `${id}-description`)\n }\n withoutHeader\n lightDismiss={lightDismiss}\n closeLabel={closeLabel}\n size={size}\n presentation={compact ? 'fullscreen' : 'modal'}\n preferredWidth={preferredWidth}\n height={\n compact\n ? undefined\n : maxHeight === undefined\n ? (height ?? remify(560))\n : height\n }\n maxHeight={compact ? undefined : maxHeight}\n viewportGutter={compact ? undefined : viewportGutter}\n bodyInset=\"none\"\n bodyLayout=\"fill\"\n rootAttributes={{\n ...rootAttributes,\n 'data-dialog-layout': 'workbench',\n }}\n className={className}\n slot={slot}\n >\n <Workbench\n id={`${id}-workbench`}\n label={label}\n mainToolbar={{\n label: title,\n title: (\n <ToolbarText\n text={title}\n description={description}\n descriptionId={\n description === undefined ? undefined : `${id}-description`\n }\n size=\"xlarge\"\n id={`${id}-title`}\n headingLevel={2}\n />\n ),\n leading,\n trailing: actions,\n // After any hidden right rail's toggle, so Close stays outermost.\n end: (\n <ToolbarControlGroup appearance=\"borderless\" single>\n <button\n type=\"button\"\n aria-label={closeLabel}\n data-dialog-close=\"\"\n >\n <LucideIcon icon={X} name=\"x\" />\n </button>\n </ToolbarControlGroup>\n ),\n }}\n main={main}\n mainFooter={mainFooter}\n mainBottomToolbar={mainBottomToolbar}\n leftRail={compactRail(leftRail, compact)}\n rightRail={compactRail(rightRail, compact)}\n bottomDrawer={bottomDrawer}\n mainMinSize={mainMinSize}\n />\n </DialogSurface>\n );\n}\n"]}
1
+ {"version":3,"sources":["../src/components/surfaces/workbench-dialog/workbench-dialog.tsx"],"names":[],"mappings":"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","file":"workbench-dialog.js","sourcesContent":["import { X } from 'lucide';\n\nimport type { KerfUiContent } from '../../../shared/content/semantic-content.js';\nimport type { CssLength } from '../../../shared/styles/css-values.js';\nimport { remify } from '../../../shared/styles/css-values.js';\nimport { ToolbarControlGroup } from '../../actions/toolbar-control-group/toolbar-control-group.js';\nimport { ToolbarText } from '../../actions/toolbar-text/toolbar-text.js';\nimport {\n Workbench,\n type WorkbenchMainBottomToolbar,\n type WorkbenchPanel,\n} from '../../layout/workbench/workbench.js';\nimport { LucideIcon } from '../../media/lucide-icon/lucide-icon.js';\nimport {\n DialogSurface,\n type DialogSurfaceHeight,\n type DialogSurfaceMaxHeight,\n type DialogSurfaceRootAttributes,\n type DialogSurfaceSize,\n} from '../surface-scaffold/surface-scaffold.js';\n\n// Open and close it like any DialogSurface, from the same import.\nexport {\n closeDialog,\n type DialogCloseSource,\n type DialogRequestCloseDetail,\n openDialog,\n} from '../surface-scaffold/surface-scaffold.js';\n\n/**\n * Application `data-*` identity on the dialog root, such as `data-key`; the\n * dialog's own configuration attributes stay protected.\n */\nexport type WorkbenchDialogRootAttributes = DialogSurfaceRootAttributes;\n\nexport interface WorkbenchDialogProps {\n /**\n * The dialog's id, for `openDialog(document.getElementById(id))`. The\n * Workbench inside is `<id>-workbench`, so its rails are\n * `<id>-workbench-left-rail` and `<id>-workbench-right-rail`.\n */\n id: string;\n /** The dialog's accessible name. */\n label: string;\n /** The dialog's primary title: an xl heading in the work area's toolbar. */\n title: string;\n /**\n * A short supporting line under the title. It is the dialog's accessible\n * description (`aria-describedby` to its `<id>-description`) unless\n * `describedBy` names other content.\n */\n description?: string;\n /**\n * Id of the element whose text is the dialog's accessible description, in\n * place of `description`, such as app-owned summary copy in `main`.\n */\n describedBy?: string;\n /** Groups after the title in the work area's toolbar. */\n leading?: KerfUiContent;\n /** Header controls before the close control, such as a `ToolbarControlGroup`. */\n actions?: KerfUiContent;\n /** The work area. */\n main: KerfUiContent;\n /** Fixed content over the work area's bottom toolbar, such as a status line. */\n mainFooter?: KerfUiContent;\n /** The work area's bottom toolbar, usually the dialog's buttons. */\n mainBottomToolbar?: WorkbenchMainBottomToolbar;\n /**\n * Side rails with their own toolbars. On compact devices each presents as\n * an overlay over the work area; the app starts it collapsed and its\n * `toolbar.toggle` shows it.\n */\n leftRail?: WorkbenchPanel;\n rightRail?: WorkbenchPanel;\n /** A bottom drawer under the work area. */\n bottomDrawer?: WorkbenchPanel;\n /**\n * Fill the screen with the rails as overlays: derive from\n * `deviceClass().value.compact`.\n */\n compact?: boolean;\n /**\n * Render in flow and always shown (DialogSurface `presentation=\"embedded\"`)\n * instead of as a modal, for a catalog, a design canvas, or a document. It\n * keeps its `height`; `openDialog` and `closeDialog` leave it alone.\n */\n embedded?: boolean;\n /** The close control's accessible name (default `Close`). */\n closeLabel?: string;\n /** Close on a press on the backdrop; otherwise the panel pulses. */\n lightDismiss?: boolean;\n /** Roomy preferred width preset (default `large`). */\n size?: DialogSurfaceSize;\n /** Roomy preferred width; takes precedence over `size`. */\n preferredWidth?: CssLength;\n /** Roomy definite height (default 560px), bounded by the viewport. */\n height?: DialogSurfaceHeight;\n /** Roomy height cap in place of a definite height. */\n maxHeight?: DialogSurfaceMaxHeight;\n /** Roomy edge clearance from the viewport. */\n viewportGutter?: CssLength;\n /** Minimum work-area width beside inline rails, in px (Workbench default 320). */\n mainMinSize?: number;\n rootAttributes?: WorkbenchDialogRootAttributes;\n className?: string;\n /** Native named-slot assignment when composed inside a web component. */\n slot?: string;\n}\n\n/** A rail presents as an overlay in a compact dialog, as the app left it otherwise. */\nfunction compactRail(\n panel: WorkbenchPanel | undefined,\n compact: boolean,\n): WorkbenchPanel | undefined {\n return panel && compact ? { ...panel, presentation: 'overlay' } : panel;\n}\n\n/**\n * A workbench dialog: a modal whose body is a `Workbench`. The work area's\n * toolbar carries the dialog's primary title, its actions, and the close\n * control; side rails keep their own toolbars and run the dialog's full\n * height. On compact devices it fills the screen and its rails become\n * overlays over the work area, shown by their toolbar toggles, so the work\n * area keeps its width. Open it with `openDialog()`; the app owns each\n * rail's `collapsed` state, and `wireWorkbench` closes an overlay rail on\n * Escape or a press outside it before the dialog sees the Escape. Built from\n * `DialogSurface` and `Workbench`.\n */\nexport function WorkbenchDialog({\n id,\n label,\n title,\n description,\n describedBy,\n leading,\n actions,\n main,\n mainFooter,\n mainBottomToolbar,\n leftRail,\n rightRail,\n bottomDrawer,\n compact = false,\n embedded = false,\n closeLabel = 'Close',\n lightDismiss = false,\n size = 'large',\n preferredWidth,\n height,\n maxHeight,\n viewportGutter,\n mainMinSize,\n rootAttributes,\n className = '',\n slot,\n}: WorkbenchDialogProps) {\n return (\n <DialogSurface\n id={id}\n label={label}\n describedBy={\n describedBy ??\n (description === undefined ? undefined : `${id}-description`)\n }\n withoutHeader\n lightDismiss={lightDismiss}\n closeLabel={closeLabel}\n size={size}\n presentation={embedded ? 'embedded' : compact ? 'fullscreen' : 'modal'}\n preferredWidth={preferredWidth}\n height={\n compact && !embedded\n ? undefined\n : maxHeight === undefined\n ? (height ?? remify(560))\n : height\n }\n maxHeight={compact && !embedded ? undefined : maxHeight}\n viewportGutter={compact ? undefined : viewportGutter}\n bodyInset=\"none\"\n bodyLayout=\"fill\"\n rootAttributes={{\n ...rootAttributes,\n 'data-dialog-layout': 'workbench',\n }}\n className={className}\n slot={slot}\n >\n <Workbench\n id={`${id}-workbench`}\n label={label}\n mainToolbar={{\n label: title,\n title: (\n <ToolbarText\n text={title}\n description={description}\n descriptionId={\n description === undefined ? undefined : `${id}-description`\n }\n size=\"xlarge\"\n id={`${id}-title`}\n headingLevel={2}\n />\n ),\n leading,\n trailing: actions,\n // After any hidden right rail's toggle, so Close stays outermost.\n end: (\n <ToolbarControlGroup appearance=\"borderless\" single>\n <button\n type=\"button\"\n aria-label={closeLabel}\n data-dialog-close=\"\"\n >\n <LucideIcon icon={X} name=\"x\" />\n </button>\n </ToolbarControlGroup>\n ),\n }}\n main={main}\n mainFooter={mainFooter}\n mainBottomToolbar={mainBottomToolbar}\n leftRail={compactRail(leftRail, compact)}\n rightRail={compactRail(rightRail, compact)}\n bottomDrawer={bottomDrawer}\n mainMinSize={mainMinSize}\n />\n </DialogSurface>\n );\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  import { SafeHtml } from 'kerfjs';
2
2
  import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
3
- import { b as NavPane, N as NavStackProps } from './nav-stack-CrZF95VO.js';
3
+ import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
4
+ import { b as NavPane, N as NavStackProps } from './nav-stack-DwxpXxqJ.js';
4
5
  import { ListConfig } from './list.js';
5
6
  import { PaneConfig } from './pane.js';
6
7
  import { ResizableRegionSeparator, ResizableRegionCollapseMotion, ResizableRegionContentOverflow, ResizableRegionPresentation, ResizableRegionRestorePosition } from './resizable-region.js';
@@ -9,10 +10,10 @@ import { ToolbarConfig } from './toolbar.js';
9
10
  import './css-values.js';
10
11
  import './surface-tint-DQgYCaP9.js';
11
12
  import './toolbar-text.js';
12
- import './extension-attributes-mu8MFUl0.js';
13
13
  import './flex-alignment-4ms8ZbV8.js';
14
14
  import './scroll-clearance-BikHljTc.js';
15
15
  import './sides-BPSWde0A.js';
16
+ import './anchor-name-BZ1rpxaw.js';
16
17
  import './lucide-icon.js';
17
18
  import 'lucide';
18
19
 
@@ -263,6 +264,9 @@ interface WorkbenchProps {
263
264
  className?: string;
264
265
  /** Native named-slot assignment when composed inside a web component. */
265
266
  slot?: string;
267
+ /** Application `data-*` metadata on the root, such as a row key or an
268
+ * editor node marker; the component's own markers stay protected. */
269
+ rootAttributes?: RootDataAttributes;
266
270
  }
267
271
  /**
268
272
  * The Xcode-like multi-panel workspace: a collapsible left rail, right rail, and
@@ -277,6 +281,6 @@ interface WorkbenchProps {
277
281
  * lives outside it and stays reachable). A panel may opt in to drag and keyboard resizing with
278
282
  * `resizable`, which `wireWorkbench` drives. See `docs/23-app-layouts.md` §3.3.
279
283
  */
280
- declare function Workbench({ id, label, main, leftRail, rightRail, bottomDrawer, mainToolbar, mainHeader, mainFooter, mainBottomToolbar, mainHeaderPlacement, mainFooterPlacement, mainPane, mainLabel, mainTabIndex, mainOutlined, mainHeaderList, mainFooterList, mainMinSize, mainMinHeight, overlayBackdrop, className, slot, }: WorkbenchProps): SafeHtml;
284
+ declare function Workbench({ id, label, main, leftRail, rightRail, bottomDrawer, mainToolbar, mainHeader, mainFooter, mainBottomToolbar, mainHeaderPlacement, mainFooterPlacement, mainPane, mainLabel, mainTabIndex, mainOutlined, mainHeaderList, mainFooterList, mainMinSize, mainMinHeight, overlayBackdrop, className, slot, rootAttributes, }: WorkbenchProps): SafeHtml;
281
285
 
282
286
  export { Workbench, type WorkbenchChromePlacement, type WorkbenchCompactOverlay, type WorkbenchMainBottomToolbar, type WorkbenchMainToolbar, type WorkbenchNavigationPanel, type WorkbenchPanel, type WorkbenchPanelBottomToolbar, type WorkbenchPanelResizable, type WorkbenchPanelToggle, type WorkbenchPanelToolbar, type WorkbenchProps, type WorkbenchResponsiveOverlayAt, type WorkbenchStaticPanel };
package/dist/workbench.js CHANGED
@@ -1,4 +1,7 @@
1
- export { Workbench } from './chunk-YPAQFBMN.js';
1
+ export { Workbench } from './chunk-KQZIC5CA.js';
2
+
3
+
4
+
2
5
 
3
6
 
4
7
 
@@ -8,23 +8,30 @@ These are normative contracts for package components and consuming applications.
8
8
  - Decorative `LucideIcon` output is `aria-hidden`; pass `label` only when the SVG itself conveys meaning. `size="xs|s|m|l|xl"` selects the 12/16/20/24/32px root-scaled icon steps, and a positive numeric `size` converts pixels to rem; omitting `size` keeps 1em. Size changes the visual only, never the owning control's hit target or accessible name.
9
9
  - `ListItem` uses native button Enter/Space behavior. `selected` maps to `aria-current="page"`; `pressed` maps to `aria-pressed`. Selected rows keep the normal foreground over their brand-tinted fill so text retains WCAG AA contrast in light and dark themes. Its leading icon visual is 18px while the row retains its 44px minimum target; multiline icons align to the first text line. Its `trailing` content is dormant and must not contain controls. Its `rootAttributes` slot accepts only application `data-*` metadata and deliberately cannot emit `role="menuitem"` in isolation—a true ARIA menu must own arrow, Home/End, Escape, and focus behavior as one widget.
10
10
  - `ListItemLink` shares that row content and geometry but uses native anchor Enter behavior and requires `href`. It has no `action` or `pressed` state. `external` opens a new tab with `rel="noopener noreferrer"`; the default accessible name announces the new tab for a string label, so an explicit `accessibleLabel` should do the same. Disabled and loading links omit `href`, expose `aria-disabled`, and leave the tab order. Its trailing content remains dormant.
11
- - `ListHeader` owns action naming, disabled state, and disclosure `aria-expanded`. Toggle mode supplies one decorative 18px `DisclosureArrow` when `actionIcon` is omitted; it mirrors `expanded` while the native button's accessible name stays stable. The application must update that controlled state and reveal or hide real content. A valid `count` is visually rendered in an `aria-hidden` neutral pill while the required localized `countLabel` becomes part of the owning heading or disclosure button's accessible name; zero remains a real count. Optional `badge` and `status` content can appear together and should each carry meaningful text. Its narrow `triggerAttributes` slot may describe a native popover or controlled-content relationship with `popoverTarget`, `popoverTargetAction`, `aria-controls`, and `aria-haspopup`; the application owns the target surface and its focus/dismissal behavior.
11
+ - `ListHeader` owns action naming, disabled state, and disclosure `aria-expanded`. Toggle mode supplies one decorative 18px `DisclosureArrow` when `actionIcon` is omitted; it mirrors `expanded` while the native button's accessible name stays stable. The application must update that controlled state and reveal or hide real content. A valid `count` is visually rendered in an `aria-hidden` neutral pill while the required localized `countLabel` becomes part of the owning heading or disclosure button's accessible name; zero remains a real count. Optional `badge` and `status` content can appear together and should each carry meaningful text. Name the region a toggle shows or hides with `controls` (its id, reported as `aria-controls`) and hide that region with `List hidden` when it is a List. Its narrow `triggerAttributes` slot may describe a native popover relationship with `popoverTarget`, `popoverTargetAction`, `aria-controls`, and `aria-haspopup`; the application owns the target surface and its focus/dismissal behavior.
12
12
  - Dispose `wireTabBars` and `wireSearchFields` with their owning view. Disposal cancels queued controlled-render focus restoration, so a torn-down view cannot reclaim focus from its successor.
13
13
  - `wireNavStack` moves focus into every newly active top view and remembers the last focused descendant of each mounted view for pop restoration. Mark a preferred initial heading or control with `data-nav-focus` (and `tabindex="-1"` when it is not normally tabbable); otherwise the helper uses the first enabled focusable descendant, then a programmatically focusable view-container fallback.
14
14
  - In any `.kui-pane`, menu rows, `ListHeader` actions, and toolbar groups keep a minimum 44px target in both dimensions. A `ListHeader` fills the available inline width and keeps that action at the logical end, including in RTL. Its action visual defaults to 18px through `--kui-list-header-action-icon-size` inside a fitted 36px hover square; a transparent hit layer extends the pointer target to at least 44 × 44 around that square without moving layout or enlarging the painted surface. Compact headers are 36px tall like the rest of the compact List family, so their action target is 44px wide and clamped to the 36px header height instead of reaching into a neighboring row. Do not reduce the target to the visible icon, and do not force the button itself to 44px.
15
15
  - `LoadingSpinner` is either labeled (`role="img"`) or hidden. Its rotation stops for reduced motion.
16
16
  - A busy `ToolbarControlGroup` makes its controls inert and exposes `aria-busy`; its `busyLabel` is announced by an adjacent status node outside the inert group. Clear `busy` when the operation finishes so the controls rejoin the focus order.
17
17
  - A bottom `Toolbar` uses `position="footer"` for footer semantics; top toolbars keep the default `header`. Workbench's main bottom toolbar sets this automatically.
18
- - Interactive `ContentItem` cards are keyboard reachable. Set `selectionMode="toggle"` for a pressed button, `selectionMode="single"` for an option inside a listbox, or `selectionMode="multiple"` for a selectable row with a gridcell that can contain native controls. Place multiple-mode rows inside a labeled `List` or `Grid` with `selectionMode="multiple"`; the app owns the selection set and range gestures. Wire `wireContentItems` once so Enter and Space on the card activate its delegated action without activating it from a nested control. The activation click mirrors the key's Shift, Ctrl, and Cmd state, so Shift+Enter or Shift+Space can extend a range and Cmd/Ctrl+Enter or Cmd/Ctrl+Space can toggle one item through the same click handler a pointer uses. Disabled cards expose `aria-disabled` and leave the Tab order.
18
+ - Interactive `ContentItem` cards are keyboard reachable. Set `selectionMode="toggle"` for a pressed button, `selectionMode="single"` for an option inside a `List selectionMode="single"` listbox, or `selectionMode="multiple"` for a selectable row with a gridcell that can contain native controls. Place multiple-mode rows inside a labeled `List` or `Grid` with `selectionMode="multiple"`; the app owns the selection set and range gestures. Wire `wireContentItems` once so Enter and Space on the card activate its delegated action without activating it from a nested control. The activation click mirrors the key's Shift, Ctrl, and Cmd state, so Shift+Enter or Shift+Space can extend a range and Cmd/Ctrl+Enter or Cmd/Ctrl+Space can toggle one item through the same click handler a pointer uses. Disabled cards expose `aria-disabled` and leave the Tab order.
19
19
  - An unlabeled `Skeleton` (including the value slots a component's `placeholder` prop renders) is decorative loading chrome: it is `aria-hidden`, conveys no information a user needs to act on, and is deliberately exempt from the WCAG 3:1 non-text-contrast target. Inside a solid `Badge` it stays subtle (about 2.1–4.4:1 in light, 2.4–2.8:1 in dark, depending on tone); `tests/browser/tone-contrast.spec.ts` holds those values as a regression floor rather than an accessibility threshold. Announce loading through a labeled `Skeleton`, `LoadingSpinner`, or `aria-busy` on the owning region, never through the skeleton's visibility.
20
20
  - `StateBanner` defaults to polite `role="status"`; use `urgency="alert"` only for an attention-requiring failure. Its optional `badge` is persistent inline status/count content beside the title and is announced as part of the banner; keep it terse and do not rely on color alone for its meaning.
21
21
  - A removable `Chip` has a native button with a specific `removeLabel`, such as "Remove Urgent tag". The button is absent for a plain chip and disabled for a disabled chip. Its leading `icon` is decorative; the visible label names the tag. `truncate` retains the full plain-text label as a native tooltip. Tag text remains visible because tone does not convey meaning alone. A link `Chip` (`href`) is a native anchor named by its visible label, with no remove button; `external` adds `target="_blank"`, `rel="noopener noreferrer"`, and an "(opens in new tab)" name suffix for a text label, and a disabled link chip drops `href`, sets `aria-disabled`, and leaves the tab order. `tone="inherit"` paints no fill, so its label keeps the surrounding text's contrast (a brand-loud bubble's white text included), and its focus ring is drawn in the surrounding foreground so it stays visible on a brand-colored surface. An action `Chip` (`action`) is one native `<button type="button">` with no nested control: its visible label names it unless `actionLabel` supplies a fuller name, which should contain that label ("Insert filter is:mine"). Enter and Space activate it, keyboard focus draws the focus ring (in the surrounding foreground for `tone="inherit"`), and a disabled action chip is a disabled button that leaves the tab order.
22
22
  - `EmptyState` reports busy state through `aria-busy` and never relies on an illustration as its label.
23
23
  - `Select` follows the Web Awesome host's standard `input`/`change` events. Application tests verify the live `value`, focus, and events—not attributes alone. Its decorative option icons and value-dependent selected content remain present after controlled rerenders, so the visible choice does not silently lose its non-text cue.
24
24
  - `DisclosureArrow` is an 18px root-scaled decorative visual by default, not an interaction target. Its owning native control supplies a stable accessible name, pointer and keyboard interaction, and `aria-expanded`; multiple arrows keep independently controlled state. Consumers may resize it with the typed `size` prop without changing that ownership. Configured directions animate over the shortest path; a 180-degree closed-to-open tie uses counterclockwise rotation.
25
- - `List` is layout-only by default and adds no `list` role. With `selectionMode="multiple"` and a required `ariaLabel`, it becomes a multi-select grid for `ContentItem` rows. With `wireContentItems` the grid is one Tab stop (roving `tabindex` on the last focused row, else the first selected, else the first enabled), kept across re-renders. Content that sits between rows but is not selectable (an activity group, a "messages skipped" divider) is a `ContentItem gridRow`: a `role="row"` with a `gridcell`, no `aria-selected`, and no Tab stop of its own; arrow keys skip it and its controls stay reachable by Tab. Give a scrollable List a bounded block size, avoid nested scroll owners, and keep focused children visible while scrolling.
25
+ - `List` is layout-only by default and adds no `list` role. With `selectionMode="single"` and a required `ariaLabel`, it becomes a single-select `role="listbox"` for `SummaryRow` or `ContentItem selectionMode="single"` options; the options own `aria-selected`, and the app owns the selection. With `wireSummaryRows` (SummaryRow options) or `wireContentItems` (ContentItem options) the listbox is one Tab stop (roving `tabindex` on the last focused option, else the selected one, else the first), Up/Down/Home/End move focus without selecting, and Enter/Space select the focused option through its click (Space on release). With `selectionMode="multiple"` and a required `ariaLabel`, it becomes a multi-select grid for `ContentItem` rows. With `landmark="region"` it becomes a named `role="region"` (a reader, a result picker, a board column), and with `landmark="group"` a named `role="group"` (a read-only field preview under its `FieldLabel`). A landmark List takes its name from `ariaLabel` or from `labelledBy`, the id of the visible label that names it (`aria-labelledby`), never both, and takes no `selectionMode`. A `ColumnTrack` with `ariaLabel` is likewise a named `role="region"`. With `wireContentItems` the grid is one Tab stop (roving `tabindex` on the last focused row, else the first selected, else the first enabled), kept across re-renders. Content that sits between rows but is not selectable (an activity group, a "messages skipped" divider) is a `ContentItem gridRow`: a `role="row"` with a `gridcell`, no `aria-selected`, and no Tab stop of its own; arrow keys skip it and its controls stay reachable by Tab. Give a scrollable List a bounded block size, avoid nested scroll owners, and keep focused children visible while scrolling.
26
26
  - `Grid` is layout-only by default. With `selectionMode="multiple"` and a required `ariaLabel`, it becomes a multi-select grid for `ContentItem` tiles; each tile remains a row with a gridcell, including when the CSS grid wraps.
27
27
 
28
+ Apps can always intercept the listbox and grid keyboard: Kerf skips a key
29
+ event that is already `defaultPrevented`. Handle the key first (on the option
30
+ or row, in the capture phase, or from a listener added to the wired root before
31
+ `wireSummaryRows` / `wireContentItems`) and call `preventDefault()`; Kerf then
32
+ neither moves focus nor activates, and a prevented Space press does not select
33
+ on release. Unprevented keys keep Kerf's behavior.
34
+
28
35
  In a multi-select ContentItem grid, `wireContentItems` moves focus between
29
36
  enabled rows on Up/Down and to the first/last enabled row on Home/End. Native
30
37
  controls inside a row retain those keys. In a `Grid`, Left/Right moves between
@@ -65,6 +72,12 @@ popup open, select only enabled choices or clear the selection, and emit the
65
72
  ordinary `input` and `change` events only when the value changes. Their labels
66
73
  come from the application so they can be localized.
67
74
 
75
+ A `popupNote` (on `Select` and on `PopupMenu`'s top-level menu) is quiet text
76
+ at the bottom of the open popup. It is the listbox's or menu's
77
+ `aria-description`, so a screen reader announces it with the list, and the
78
+ visible line is `aria-hidden`: it is never an option or menu item and takes no
79
+ focus.
80
+
68
81
  A toolbar filter menu (a "Filter by label" funnel) is a multiple Select with
69
82
  `selectedPresentation="icon-only"` and a fixed `triggerIcon`; the types accept
70
83
  `triggerIcon` only there, and require it there, because no single chosen
@@ -443,9 +456,15 @@ Set `disabled` for a known tab that must keep its visible name while unavailable
443
456
  It leaves controlled `selected` state intact but disables selection, closing,
444
457
  dragging, and roving keyboard focus; it does not imply loading or `aria-busy`.
445
458
  For an application-owned panel, pass the tab button's DOM ID as `tabId` and the
446
- panel's DOM ID as `panelId`. The tab then renders `aria-controls=panelId`; set
447
- `role="tabpanel"` and `aria-labelledby=tabId` on the panel. These DOM IDs are
448
- distinct from `id`, which remains the application's tab identity for actions.
459
+ panel's DOM ID as `panelId`. The tab then renders `aria-controls=panelId`. Render
460
+ the panel with `TabPanel` (`@kerfjs/ui/tab-panel`) with the same two IDs: its `id`
461
+ is the tab's `panelId` and its `tabId` is the tab's `tabId`, which it writes as
462
+ `aria-labelledby` on its `role="tabpanel"` region. Selection stays application
463
+ state: render every panel of the set and set `hidden` on all but the selected
464
+ tab's, and set `busy` (`aria-busy`) while a pending tab's panel shows
465
+ placeholders. TabPanel adds no inset or chrome; its content owns those. These
466
+ DOM IDs are distinct from `id`, which remains the application's tab identity
467
+ for actions.
449
468
  `TabBarItem.rootAttributes` accepts application `data-*` metadata only; runtime
450
469
  filtering rejects roles plus case variants of component- or wiring-owned
451
470
  action, identity, selection, drag, drop, and component attributes. An optional
@@ -539,10 +558,28 @@ and Shift+Space extends to it; Cmd/Ctrl+A selects every enabled chip. A
539
558
  click selects one chip, Cmd/Ctrl-click toggles one, and Shift-click extends.
540
559
  Hidden inputs submit each selected value under `name`. The focus ring follows
541
560
  `:focus-visible` on the option. Every chip color is a theme token resolved through
542
- `light-dark()`, so inside a dark appearance scope (`.wa-dark`, `.wa-invert`,
543
- or any `color-scheme: dark` ancestor) the pills, labels, checked tint, and
561
+ `light-dark()`, so inside a dark appearance scope (`scheme="dark"`, `.kui-dark`,
562
+ `.kui-invert`, or any `color-scheme: dark` ancestor) the pills, labels, checked tint, and
544
563
  focus ring read on inverse chrome without overrides.
545
564
 
565
+ With `overflow="scroll"`, any of these groups keeps its chips on one row that
566
+ scrolls horizontally inside the group, with no visible scrollbar. Its role,
567
+ naming, Tab stops, and keys do not change. Moving focus with the keyboard
568
+ scrolls the focused chip into view, and `wireChoiceChips` keeps the checked
569
+ chip in view after a render or change, scrolling only the group. The group
570
+ pads its clip so a chip's focus ring is never cut off. With
571
+ `wireScrollDividers`, an edge with chips scrolled past it fades, so hidden
572
+ chips are signaled visually; the chips stay in the accessibility tree and in
573
+ keyboard order either way.
574
+
575
+ ## Text live readouts
576
+
577
+ A Text that reports a result as the user works, such as a filter count or a
578
+ search readout beside the field, sets `live="polite"` (or `"assertive"` for an
579
+ urgent change) so screen readers announce the update without moving focus.
580
+ Its test hooks and row keys go in `rootAttributes` (`data-*` only); Text's own
581
+ markers stay protected.
582
+
546
583
  ## TextField
547
584
 
548
585
  `TextField` renders a native `<input>` (or, with `multiline`, a `<textarea>`)
@@ -579,7 +616,13 @@ applies. Numeric `min`, `max`, and `step` props do not pass to date inputs.
579
616
  after the input. It is hidden while the field is empty, is a normal Tab stop,
580
617
  and with `wireTextFields(root)` empties the field, dispatches bubbling `input`
581
618
  and `change` events as typing would, and returns focus to the field. A
582
- disabled or read-only field's clear button is disabled. `showCount` (with
619
+ disabled or read-only field's clear button is disabled. `toggle` adds an
620
+ icon toggle `<button>` after the input (after the clear button), named by its
621
+ `label`, reporting `aria-pressed`, and running its delegated `action`; the
622
+ application flips `pressed` (a password's Show, an editor's Not set). It is a
623
+ normal Tab stop and is disabled with a disabled or read-only field. A
624
+ multi-line field keeps it after its textarea, pinned to the top end.
625
+ `showCount` (with
583
626
  `maxLength`) shows a live `count / maxLength` beside the hint that
584
627
  `wireTextFields` keeps current. Compact text grows to 16px on coarse-pointer
585
628
  touch screens so focusing a field never zooms the page in iOS.
@@ -6,7 +6,9 @@ This guide maps a **data + interaction + device** situation to the layout to
6
6
  reach for, and states the device-class threshold at which the presentation
7
7
  changes. The layouts:
8
8
 
9
- - [`NavStack`](nav-stack.md) — push/pop navigation (a single pane is a one-entry stack).
9
+ - [`NavStack`](nav-stack.md) — push/pop navigation (a single pane that may
10
+ navigate is a one-entry stack; a single pane that never does can be a
11
+ [filled `Pane`](#one-pane-on-the-whole-screen)).
10
12
  - [`SplitView`](split-view.md) — list-detail (two panes, collapsing to a stack).
11
13
  - [`Workbench`](workbench.md) — the Xcode-like collapsible rails + drawer.
12
14
  - [`TabNavigator`](tab-navigator.md) — the iOS bottom tab bar (each tab a stack).
@@ -26,6 +28,70 @@ and applying `.kui-app-root` to the direct mount container; see the
26
28
  height with `100dvh`; a full-viewport app instead adds `data-viewport="locked"`
27
29
  to its `.kui-app-root`, which locks the document (not the shell) to `100dvh`.
28
30
 
31
+ ### Sizing a nested layout
32
+
33
+ A whole-screen layout fills its parent's height and has none of its own: its
34
+ scenes are positioned over the space they are given, so they add no height.
35
+ As the app's root, or filling a Pane the app sizes, it fills that height. Below
36
+ the root, wrap it in a [`SizedRegion`](../ai/components/sized-region.md):
37
+
38
+ - **`height="fill"`** (the default) takes the rest of a flex column, such as a
39
+ Pane's content after the items above it, or all of a parent with a definite
40
+ height.
41
+ - **`minHeight`** gives the layout a usable height even in content that sizes
42
+ to itself. An ordinary `min-height` in app CSS does not: a percentage height
43
+ never resolves against it, so the layout still collapses to its bar.
44
+ - **`maxHeight`** stops a fill from growing past a readable size, and a typed
45
+ `height` sets it outright.
46
+
47
+ ```tsx
48
+ <Pane label="Project">
49
+ <ContentItem>…</ContentItem>
50
+ <SizedRegion minHeight={rem(20)}>
51
+ <NavStack id="activity" label="Activity" views={views} />
52
+ </SizedRegion>
53
+ </Pane>
54
+ ```
55
+
56
+ Don't place a whole-screen layout inside a component that sizes to its content
57
+ (a `List`, a `ContentItem`): it collapses there, and that placement is not a
58
+ supported composition.
59
+
60
+ ### One pane on the whole screen
61
+
62
+ Two compositions fill the screen with a single pane. Pick by whether the screen
63
+ navigates:
64
+
65
+ - **A filled `Pane`** (`<Pane fill>`) as the direct child of `.kui-app-root`:
66
+ for a screen that is one pane and stays one pane, such as a notes screen or a
67
+ single settings form with no subpages. Its header and footer stay pinned and
68
+ its content scrolls between them, exactly as in a layout's view, with no stack
69
+ and no wiring. It has no back button, no view transitions, and no compact
70
+ chrome: `compactChrome` applies only where a container presents compactly.
71
+ - **A one-entry [`NavStack`](nav-stack.md)**: for a screen that pushes views
72
+ (a settings subpage on tap) or will, or that needs the stack's chrome: a
73
+ title bar with a back control, a bottom toolbar, overlay or clear chrome,
74
+ `compactChrome`, and `wireNavStack`. Starting with one entry costs nothing
75
+ when the second view arrives.
76
+
77
+ Without `fill`, a Pane takes its content's height, so a root Pane ends after
78
+ its content. `fill` also takes the rest of a flex column or all of a
79
+ `SizedRegion` or grid cell. A Pane that is the only child of a `NavStack`
80
+ view, `TabNavigator` scene, or `Workbench` region already fills it; it needs
81
+ no `fill`.
82
+
83
+ ```tsx
84
+ <div class="kui-app-root">
85
+ <Pane
86
+ fill
87
+ label="Notes"
88
+ header={<Toolbar label="Notes" leading={<ToolbarText text="Notes" size="xlarge" />} />}
89
+ >
90
+ <ContentItem>…</ContentItem>
91
+ </Pane>
92
+ </div>
93
+ ```
94
+
29
95
  ## Safe areas
30
96
 
31
97
  On a device with unsafe areas (a notch, rounded corners, a home indicator) and a
@@ -200,6 +266,9 @@ because the dismissal is decided at the click.
200
266
 
201
267
  - **Settings screen (simple):** one `NavStack` entry per screen; push a subpage
202
268
  on tap. No `SplitView`/`Workbench` — it is a single flow.
269
+ - **One-screen tool (no navigation):** a notes pad or a single form with no
270
+ subpages is a filled `Pane` (`fill`) in `.kui-app-root`. Switch it to a
271
+ one-entry `NavStack` the day it needs a second view.
203
272
  - **Mail (drill-down + two-pane):** `SplitView` with `list={<ThreadList/>}` and
204
273
  `detail={<Message/>}`, `compact={device.value.compact}`,
205
274
  `detailActive={selected != null}`. On desktop both panes show with a resizable
@@ -55,6 +55,11 @@ import { remify, uiColor } from '@kerfjs/ui/css-values';
55
55
  surface color.
56
56
  - `blur` (`{ radius?, blurredSrc?, dim? }`) blurs the image progressively as it
57
57
  scrolls away (see [Progressive blur](#progressive-blur)).
58
+ - `deferOffscreen` skips painting the image block while it is off screen
59
+ (`content-visibility: auto`), for long feeds of media cards. It keeps the
60
+ block's reserved size. It is opt-in because a large scroll jump (scrollbar
61
+ drag, End or Home) paints newly visible images blank for a frame; see
62
+ [layout](layout.md).
58
63
  - `scrim`: `bottom` darkens toward the block end where an overlay title sits,
59
64
  `full` dims the image evenly. A scrim is dark in both color schemes, so the
60
65
  overlay takes the dark scheme over it: default-tone titles and controls read
@@ -92,6 +97,11 @@ factor times that distance, so the image moves slower than the content. There
92
97
  is no scroll listener and no `background-attachment: fixed`, and the compositor
93
98
  runs the animation.
94
99
 
100
+ The timeline, the keyframes, and the fallbacks below come from the shared
101
+ scroll-effect layer that [`ScrollEffect`](scroll-effect.md) also runs on, so
102
+ `@kerfjs/ui/backdrop-image.css` imports `@kerfjs/ui/scroll-effect.css`. Use
103
+ `ScrollEffect` to give other content parallax, reveal, fade, scale, or dim.
104
+
95
105
  ## Progressive blur
96
106
 
97
107
  `blur` stacks a blurred copy of the image over the sharp one and fades the
package/docs/button.md CHANGED
@@ -1,6 +1,34 @@
1
1
  # Button
2
2
 
3
- `Button` renders a native `<button>`, or a link when given `href`. Use it for a standalone action outside a `ToolbarControlGroup`.
3
+ `Button` renders a native `<button>`, or a link when given `link`. Use it for a standalone action outside a `ToolbarControlGroup`.
4
+
5
+ ## Links
6
+
7
+ `link` makes a Button an `<a>`: pass a URL string, a `URL` (written as its `.href`), or `{ href, target }` when it opens elsewhere. A link keeps whatever emphasis the Button has, so a link can still look like a filled or outlined button.
8
+
9
+ ```tsx
10
+ <Button link="/docs">Docs</Button>
11
+ <Button emphasis="secondary" link={{ href: 'https://example.com', target: '_blank' }}>
12
+ Example
13
+ </Button>
14
+ ```
15
+
16
+ `link` is the preferred form of the older `href` and `target` props, which keep working. Give one form or the other: a Button with `link` and `href` or `target` throws. A link that opens in a new tab (`target: '_blank'`) also gets `rel="noopener noreferrer"`, as a `Chip`'s `external` does, so the opened page can't reach this one through `window.opener` or see it as its referrer. A disabled link drops its destination and reports `aria-disabled="true"`. A link cannot be a toggle (`pressed`), a disclosure control (`expanded`), or a popover invoker (`popoverTarget`). kerf's URL screening applies to the destination as to any `href`, so a `javascript:` URL is dropped.
17
+
18
+ ## Link emphasis
19
+
20
+ `emphasis="link"` draws any Button as an inline text link: underlined text in its tone's link color (a neutral Button takes the document link color, `--kui-color-text-link`), at the surrounding text's size, weight, and line height, with no fill, border, padding, or control height. It works on a `<button>` with an `action` and on a link alike, so choose it for how the control should look, not for what it does.
21
+
22
+ ```tsx
23
+ <Text>
24
+ Published 2 hours ago · <Button emphasis="link" link="#source">Source</Button>
25
+ </Text>
26
+ <Button emphasis="link" expanded={open} action="toggle-details">
27
+ Show Details
28
+ </Button>
29
+ ```
30
+
31
+ It keeps the native role and the standard focus ring (drawn around the text), and underlines the label so it never relies on color alone; under the pointer the underline thickens. `size="compact"` sets the small text size. A link-emphasis Button cannot take `pressed`. Because it drops the 44px target, use it inline in content; a navigation row is a `ListItemLink`, and a link in a toolbar is a `ToolbarActionLink`.
4
32
 
5
33
  ## Current step
6
34
 
@@ -9,7 +37,7 @@ Use `currentStep` when a Button marks the current position in a setup or progres
9
37
  ```tsx
10
38
  <Button action="open-configure" currentStep>Configure</Button>
11
39
  <Button action="open-review">Review</Button>
12
- <Button href="/setup/finish" currentStep>Finish guide</Button>
40
+ <Button link="/setup/finish" currentStep>Finish guide</Button>
13
41
  ```
14
42
 
15
43
  The application owns the step label and which step is current. `currentStep` adds a semantic marker; it does not change the Button's styling or make a link into a toggle. Use `pressed` for an on/off toggle.
@@ -0,0 +1,75 @@
1
+ # ColumnExplorer
2
+
3
+ `@kerfjs/ui/column-explorer` browses a hierarchy the way the macOS Finder's
4
+ column view does: one column per level in a `ColumnTrack`, where choosing a
5
+ row with children opens the next column of its children. It reads the same
6
+ `TreeListNode` model as [`TreeList`](./tree-list.md), and the application owns
7
+ the nodes and the chosen path.
8
+
9
+ ```tsx
10
+ import { ColumnExplorer } from "@kerfjs/ui/column-explorer";
11
+ import { treeListPath } from "@kerfjs/ui/tree-list";
12
+ import { wireColumnExplorer } from "@kerfjs/ui/wire-column-explorer";
13
+ import { delegateActions } from "kerfjs/actions";
14
+
15
+ const path = signal<readonly string[]>([]);
16
+
17
+ <ColumnExplorer
18
+ id="files"
19
+ label="Files"
20
+ nodes={nodes}
21
+ path={path.value}
22
+ action="choose-file"
23
+ />;
24
+
25
+ delegateActions(root, "click", {
26
+ "choose-file": (_event, row) =>
27
+ (path.value = treeListPath(nodes, row.dataset.itemId!)),
28
+ });
29
+ const stop = wireColumnExplorer(root);
30
+ ```
31
+
32
+ ## Props
33
+
34
+ - `id` and `label` (required): the explorer's identity and accessible name.
35
+ - `nodes` (required): the hierarchy as `TreeListNode`s (`id`, `label`, and
36
+ optionally `description`, `icon`, `trailing`, `disabled`, `children`, and
37
+ `hasChildren` for children loaded on demand).
38
+ - `path` (required): the chosen ids from the top level down. Column one lists
39
+ the top level, and each chosen node with children opens the next column.
40
+ - `action` (required): the delegated action for choosing a row; its
41
+ `data-item-id` names the node.
42
+ - `preview`: content for a last column when the chosen node is a leaf, such
43
+ as a file's details.
44
+ - `layout` (`scroll`, the default, or `paged` for a phone), `minColumnWidth`,
45
+ and `peek`: passed to the `ColumnTrack`.
46
+ - `density`: `standard` or `compact` rows.
47
+
48
+ ## Keyboard
49
+
50
+ `wireColumnExplorer(root)` wires every explorer under `root` and returns a
51
+ disposer:
52
+
53
+ - Up and Down move within a column; Home and End jump to its ends.
54
+ - Right opens the focused row's column (choosing it) and moves into it; Left
55
+ returns to the chosen row of the column before.
56
+ - Enter and Space choose the row.
57
+ - Typing finds the next row in the column whose label starts with the typed
58
+ letters.
59
+
60
+ Each column keeps one Tab stop (its chosen row, else its first), and choosing
61
+ a row brings the column it opens into view.
62
+
63
+ ## The model
64
+
65
+ `explorerColumns(nodes, path)` returns the columns a path shows (each with its
66
+ `level`, `parent`, `nodes`, and `chosen` id), and `explorerChosen(nodes, path)`
67
+ the node a path ends at. Use `treeListPath(nodes, id)` from
68
+ `@kerfjs/ui/tree-list` to turn a chosen id into a path.
69
+
70
+ ## Geometry
71
+
72
+ The `ColumnTrack` owns the sideways scroll, the column width, and the paged
73
+ layout; each column is a scrollable `List` of `ListItem` rows, which own their
74
+ insets, hover, and selected tint. The explorer fills its parent's height, so
75
+ give it a container with a height.
@@ -73,6 +73,14 @@ direct JSX children must bring no content-item inset (`Disclosure` with
73
73
  unless one of its own `insetFreeWhen` conditions holds (`Text` with `flush` or
74
74
  `variant="span"`). `ui-composition` reports a child that statically brings the
75
75
  inset as `KUI-L204` and names the child's inset-free form when it has one.
76
+ An entry that renders interactive content declares `content.interactive`, a
77
+ list of `{ kind, whenProps? }` rules in the selection catalog that
78
+ `catalog:sync` copies into composition: `root` when its own root is a native
79
+ control or link, `contains` when it renders one inside, and `whenProps` when
80
+ only some props make it so. `content.exports` gives additional JSX exports
81
+ their own rules; they do not inherit the entry's. `validateView` reports a
82
+ `root` or `contains` element anywhere in a `root` element's zones as
83
+ `KUI-V014`.
76
84
  Generated `boundaries.rootClass` prefers the public `kui-<entry-id>` class when
77
85
  present, so a sibling export's class cannot become the entry's root class.
78
86
 
@@ -251,7 +259,7 @@ The package defaults avoid every `Discouraged` Web Awesome entry — each
251
259
  Kerf component that wraps or replaces it (`command-menu` → `PopupMenu`,
252
260
  `value-selection` → `Select`, `application-tabs` → `TabBar`, `icon` →
253
261
  `LucideIcon`, `resizable-pane` → `ResizableRegion`, `exclusive-choice` →
254
- `SegmentedControl`, `hierarchy-navigation` → `List`, `embedded-media` →
262
+ `SegmentedControl`, `hierarchy-navigation` → `TreeList`, `embedded-media` →
255
263
  `ContentItem`, `anchored-surface` → `AnchoredSurface`, `content-container` →
256
264
  `ContentItem`, `inline-status` → `StateBanner`, `application-shell` → the
257
265
  app-shell recipe, `modal-dialog` → `DialogSurface`). `eslint-plugin-kerfjs` `ui-preferences` (`KUI-L301`, also run by
@@ -389,9 +397,12 @@ icon-only `Select` reads the control slot a `ToolbarControlGroup` provides
389
397
  (`--_kui-toolbar-control-group-slot-*`). A parent may still style its own
390
398
  elements keyed on a child's state, naming the child by class inside `:has()`
391
399
  (`:has(> .kui-select[open])`, or `TabBar` insetting a segmented strip that
392
- holds compact tabs), and it keeps styling raw native and raw Web
393
- Awesome children no kerf component owns, excluding kerf children by class
394
- (`wa-dropdown:not(.kui-popup-menu)`). `npm run check:css-ownership` enforces
400
+ holds compact tabs), and it keeps styling raw native children no kerf
401
+ component owns. No kerf component renders a Web Awesome element, so a
402
+ component stylesheet names one only inside a `:not()` exclusion; rules for raw
403
+ Web Awesome children in a kerf container (`.kui-toolbar-control-group >
404
+ wa-button`) live in the optional `webawesome.css` bridge, the one stylesheet
405
+ that may name kerf classes beside a Web Awesome element. `npm run check:css-ownership` enforces
395
406
  this in every component stylesheet (a same-basename `.css` and `.tsx` pair
396
407
  under `src/components/<family>/<component>/`), deriving the component names,
397
408
  the Web Awesome tags each component renders, and its composed children from the
@@ -403,9 +414,7 @@ colocated component source:
403
414
  - **Owned Web Awesome tags.** Kerf components are named by class, never by a
404
415
  `wa-*` tag they render. A tag another component renders — as the
405
416
  subject, or as an ancestor whose internals the rule reaches — must be scoped
406
- to that component by its class or excluded with `:not()`. A direct child
407
- that cannot be the owner's internal
408
- (`.kui-toolbar-control-group > wa-button`) needs no exclusion.
417
+ to that component by its class or excluded with `:not()`.
409
418
  - **Variables.** A stylesheet writes only its own `--_kui-<self>-*` private
410
419
  variables, and never overrides a public `--kui-<other>-*` token that another
411
420
  component reads. Shared foundation tokens (`--kui-layout-*`,
@@ -613,7 +622,8 @@ An image-led feed card uses `ContentItem.media` and an optional app-supplied
613
622
  ratio and running a per-image view timeline in the shared scrollport. Optional
614
623
  `overlay`, `scrim`, `fadeTo`, and `blur` use the same behavior as a page hero;
615
624
  `media.deferOffscreen` opts dense feeds into offscreen hero paint deferral
616
- without changing card geometry or the shared scroll owner;
625
+ without changing card geometry or the shared scroll owner (a large scroll jump
626
+ then paints the newly visible heroes blank for a frame);
617
627
  `edgeToEdge` extends media to the card's top and inline inner edges;
618
628
  `wireContentItems` handles load/error and restores the normal surface when the
619
629
  lead image fails. The once-wired helper also restores the native image state
@@ -777,6 +787,26 @@ action on click or keyboard activation. The application owns the editing control
777
787
  and the swap between display and edit states. An actionable title is a button,
778
788
  so place any required heading landmark on another element in the view.
779
789
 
790
+ `ScrollEffect` wraps content in a scroll-timeline subject and nests one layer
791
+ per `parallax`, `reveal`, `fade`, or `scale` effect (in array order), plus an
792
+ `aria-hidden` dim overlay. Each layer animates only `transform` or `opacity`
793
+ over a range of the wrapper's own view timeline, and the wrapper clips a
794
+ parallax or a scale above 1. The shared scroll-effect layer behind it (also
795
+ under `BackdropImage`) owns the static fallbacks; its markers are package
796
+ internals. See [ScrollEffect](scroll-effect.md).
797
+
798
+ `Form` renders a native `form` that generates no box (`display: contents`),
799
+ so its children lay out as the parent's own. Its `action` is a delegated
800
+ `data-action` handled on `submit`; `wireForms` cancels the native submission's
801
+ navigation for every Form below its root. See
802
+ [Forms and validation](forms-and-validation.md#form).
803
+
804
+ `SizedRegion` gives content that cannot size itself, a whole-screen layout
805
+ below the app root, a definite height: `height="fill"` by default, or a typed
806
+ `height` and `minHeight`/`maxHeight`. It is a one-cell grid so its child's
807
+ `height: 100%` resolves even when only `minHeight` is set. It is not for sizing
808
+ ordinary components. See [App layouts](app-layouts.md#sizing-a-nested-layout).
809
+
780
810
  `ValuePreview` displays a literal read-only string in a bounded, keyboard-scrollable
781
811
  `output` with an accessible label. It preserves line breaks and wraps long
782
812
  tokens without painting a second surface; compose it inside `SunkenPanel` for