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

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 (287) hide show
  1. package/README.md +5 -0
  2. package/ai/application-ui-diagnostic-ids-v1.json +1 -0
  3. package/ai/component-catalog.json +77 -6
  4. package/ai/component-catalog.schema.json +14 -1
  5. package/ai/component-composition.json +27 -6
  6. package/ai/component-props.json +245 -40
  7. package/ai/components/combobox.md +1 -1
  8. package/ai/components/surface-scaffold.md +19 -5
  9. package/ai/components/tab-bar.md +2 -0
  10. package/ai/components/toolbar.md +1 -0
  11. package/ai/public-api-signatures-v1.md +246 -295
  12. package/ai/skill.md +10 -4
  13. package/ai/view-document.schema.json +55 -2
  14. package/ai/webawesome-jsx-signatures-v1.md +1 -1
  15. package/analyzer/cli.mjs +60 -24
  16. package/analyzer/index.mjs +331 -58
  17. package/catalog-projection-cli.mjs +86 -50
  18. package/dist/anchored-surface.js +2 -1
  19. package/dist/browser/editor.js +11 -8
  20. package/dist/catalog-resources.d.ts +1 -1
  21. package/dist/catalog.d.ts +1 -1
  22. package/dist/catalog.js +6 -6
  23. package/dist/{chunk-VX3YF2UD.js → chunk-3K5V3ZSD.js} +3 -3
  24. package/dist/{chunk-VX3YF2UD.js.map → chunk-3K5V3ZSD.js.map} +1 -1
  25. package/dist/chunk-3SCGTP5O.js +682 -0
  26. package/dist/chunk-3SCGTP5O.js.map +1 -0
  27. package/dist/{chunk-NHQOX7T4.js → chunk-3ZKUXWAV.js} +4 -4
  28. package/dist/chunk-3ZKUXWAV.js.map +1 -0
  29. package/dist/{chunk-ADMWT7FX.js → chunk-3ZWYGGEC.js} +136 -8
  30. package/dist/chunk-3ZWYGGEC.js.map +1 -0
  31. package/dist/{chunk-KLR3DCHH.js → chunk-4L5ZIKDZ.js} +1 -1
  32. package/dist/chunk-4L5ZIKDZ.js.map +1 -0
  33. package/dist/{chunk-2E7S5C4D.js → chunk-4UWLHKNU.js} +5 -5
  34. package/dist/chunk-4UWLHKNU.js.map +1 -0
  35. package/dist/{chunk-EXGDKG7B.js → chunk-5A2DN3LR.js} +5 -5
  36. package/dist/chunk-5A2DN3LR.js.map +1 -0
  37. package/dist/{chunk-DJ65XFVN.js → chunk-63TJH2RF.js} +4 -4
  38. package/dist/chunk-63TJH2RF.js.map +1 -0
  39. package/dist/{chunk-Q2CLQ3IJ.js → chunk-6PHG2DMG.js} +1 -1
  40. package/dist/chunk-6PHG2DMG.js.map +1 -0
  41. package/dist/{chunk-SPI6VMIY.js → chunk-6T7AX365.js} +4 -4
  42. package/dist/chunk-6T7AX365.js.map +1 -0
  43. package/dist/{chunk-GVII4JSD.js → chunk-6V6UHPJD.js} +4 -4
  44. package/dist/chunk-6V6UHPJD.js.map +1 -0
  45. package/dist/{chunk-2LM3PYHA.js → chunk-C2TY5DJC.js} +11 -8
  46. package/dist/chunk-C2TY5DJC.js.map +1 -0
  47. package/dist/{chunk-3WYREXW4.js → chunk-COMEWURO.js} +8 -6
  48. package/dist/chunk-COMEWURO.js.map +1 -0
  49. package/dist/{chunk-VPDSPD76.js → chunk-DB64I3DB.js} +4 -3
  50. package/dist/chunk-DB64I3DB.js.map +1 -0
  51. package/dist/{chunk-SBCXWGNP.js → chunk-DBCDYBZP.js} +2 -2
  52. package/dist/{chunk-SBCXWGNP.js.map → chunk-DBCDYBZP.js.map} +1 -1
  53. package/dist/{chunk-CNM6ZWP2.js → chunk-DJWBXEF4.js} +4 -2
  54. package/dist/chunk-DJWBXEF4.js.map +1 -0
  55. package/dist/{chunk-SVUJIVMR.js → chunk-E2MTHHLS.js} +3 -3
  56. package/dist/{chunk-SVUJIVMR.js.map → chunk-E2MTHHLS.js.map} +1 -1
  57. package/dist/{chunk-JG4ONAOI.js → chunk-EI55KWHP.js} +2 -2
  58. package/dist/chunk-EI55KWHP.js.map +1 -0
  59. package/dist/{chunk-MVKHSAKE.js → chunk-GE2BQXB3.js} +41 -4
  60. package/dist/chunk-GE2BQXB3.js.map +1 -0
  61. package/dist/{chunk-KELWWCMX.js → chunk-I2K4OQKB.js} +4 -4
  62. package/dist/chunk-I2K4OQKB.js.map +1 -0
  63. package/dist/chunk-IFDTSVE6.js +9 -0
  64. package/dist/chunk-IFDTSVE6.js.map +1 -0
  65. package/dist/{chunk-TPLVC5BE.js → chunk-IR32NI2O.js} +336 -247
  66. package/dist/chunk-IR32NI2O.js.map +1 -0
  67. package/dist/{chunk-ZKKO4MHC.js → chunk-JYKP7TBZ.js} +4 -2
  68. package/dist/chunk-JYKP7TBZ.js.map +1 -0
  69. package/dist/{chunk-6OT7FOSA.js → chunk-K3C35KGR.js} +4 -4
  70. package/dist/chunk-K3C35KGR.js.map +1 -0
  71. package/dist/{chunk-4RECPEHI.js → chunk-KBS3GP6S.js} +4 -3
  72. package/dist/chunk-KBS3GP6S.js.map +1 -0
  73. package/dist/{chunk-YHRJNKD5.js → chunk-KS7EXW4P.js} +6 -4
  74. package/dist/chunk-KS7EXW4P.js.map +1 -0
  75. package/dist/{chunk-V6N3YLTM.js → chunk-LTOTL5AS.js} +3 -3
  76. package/dist/chunk-LTOTL5AS.js.map +1 -0
  77. package/dist/chunk-M64TAGZY.js +590 -0
  78. package/dist/chunk-M64TAGZY.js.map +1 -0
  79. package/dist/{chunk-JZZVWTUB.js → chunk-MMOQR426.js} +2 -2
  80. package/dist/chunk-MMOQR426.js.map +1 -0
  81. package/dist/{chunk-SJBMKA4X.js → chunk-OHT2AXER.js} +11 -10
  82. package/dist/chunk-OHT2AXER.js.map +1 -0
  83. package/dist/{chunk-TTFW6E6C.js → chunk-OZKBIPXU.js} +2 -2
  84. package/dist/chunk-OZKBIPXU.js.map +1 -0
  85. package/dist/{chunk-Q2SLOMN6.js → chunk-RHMY45DK.js} +4 -4
  86. package/dist/chunk-RHMY45DK.js.map +1 -0
  87. package/dist/{chunk-BZXA5SSA.js → chunk-S7QB5KMM.js} +2 -2
  88. package/dist/{chunk-BZXA5SSA.js.map → chunk-S7QB5KMM.js.map} +1 -1
  89. package/dist/{chunk-HDXUHLTQ.js → chunk-SHECA2N4.js} +8 -2
  90. package/dist/chunk-SHECA2N4.js.map +1 -0
  91. package/dist/{chunk-R6FIXYAE.js → chunk-SJEPM5ZU.js} +2 -2
  92. package/dist/{chunk-R6FIXYAE.js.map → chunk-SJEPM5ZU.js.map} +1 -1
  93. package/dist/{chunk-FJMABKKV.js → chunk-UQ4FRQ6M.js} +35 -17
  94. package/dist/chunk-UQ4FRQ6M.js.map +1 -0
  95. package/dist/{chunk-S4ZGTDSG.js → chunk-UU37OR3D.js} +2 -2
  96. package/dist/chunk-UU37OR3D.js.map +1 -0
  97. package/dist/{chunk-SWXWLSUD.js → chunk-WEQNPYVA.js} +1 -1
  98. package/dist/{chunk-SWXWLSUD.js.map → chunk-WEQNPYVA.js.map} +1 -1
  99. package/dist/{chunk-5SFHBYEY.js → chunk-WUVHP3UC.js} +97 -24
  100. package/dist/chunk-WUVHP3UC.js.map +1 -0
  101. package/dist/{chunk-3S3WXAZ5.js → chunk-X43QQWVC.js} +3 -2
  102. package/dist/chunk-X43QQWVC.js.map +1 -0
  103. package/dist/{chunk-Z3T24FX3.js → chunk-YE6KCAIN.js} +3 -2
  104. package/dist/chunk-YE6KCAIN.js.map +1 -0
  105. package/dist/{chunk-BCO673YW.js → chunk-Z3BT2SZE.js} +3 -3
  106. package/dist/chunk-Z3BT2SZE.js.map +1 -0
  107. package/dist/{chunk-KQZIC5CA.js → chunk-ZC4KSRAF.js} +7 -7
  108. package/dist/chunk-ZC4KSRAF.js.map +1 -0
  109. package/dist/collapsible-panel.d.ts +2 -2
  110. package/dist/collapsible-panel.js +2 -2
  111. package/dist/collapsible-panel.js.map +1 -1
  112. package/dist/column-explorer.d.ts +2 -2
  113. package/dist/column-explorer.js +2 -2
  114. package/dist/column-explorer.js.map +1 -1
  115. package/dist/dialog-surface-controller-BeKZ3e8Z.d.ts +251 -0
  116. package/dist/editor-frame.d.ts +1 -1
  117. package/dist/editor-frame.js +1 -1
  118. package/dist/editor.d.ts +38 -20
  119. package/dist/editor.js +10855 -6979
  120. package/dist/editor.js.map +1 -1
  121. package/dist/file-picker.js +1 -1
  122. package/dist/help-tags-register.js +2 -1
  123. package/dist/help-tags-register.js.map +1 -1
  124. package/dist/index.d.ts +2 -1
  125. package/dist/index.js +24 -23
  126. package/dist/list-action-row.d.ts +1 -1
  127. package/dist/list-action-row.js +1 -1
  128. package/dist/list-detail-dialog.d.ts +7 -7
  129. package/dist/list-detail-dialog.js +6 -5
  130. package/dist/list-detail-dialog.js.map +1 -1
  131. package/dist/list-header.d.ts +1 -1
  132. package/dist/list-header.js +1 -1
  133. package/dist/list-item.d.ts +1 -1
  134. package/dist/list-item.js +1 -1
  135. package/dist/message-composer.js +1 -1
  136. package/dist/nav-stack.d.ts +6 -6
  137. package/dist/nav-stack.js +1 -1
  138. package/dist/popup-menu-register.js +1 -7
  139. package/dist/popup-menu-register.js.map +1 -1
  140. package/dist/popup-menu.d.ts +2 -2
  141. package/dist/popup-menu.js +1 -1
  142. package/dist/resizable-region.js +1 -1
  143. package/dist/segmented-control.d.ts +1 -1
  144. package/dist/segmented-control.js +1 -1
  145. package/dist/select-register.js +17 -23
  146. package/dist/select-register.js.map +1 -1
  147. package/dist/split-view.d.ts +6 -6
  148. package/dist/split-view.js +1 -1
  149. package/dist/styles/collapsible-panel.css +34 -25
  150. package/dist/styles/components/actions/popup-menu/popup-menu.css +4 -4
  151. package/dist/styles/components/actions/toolbar/toolbar.css +34 -1
  152. package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +1 -1
  153. package/dist/styles/components/forms/segmented-control/segmented-control.css +1 -1
  154. package/dist/styles/components/layout/collapsible-panel/collapsible-panel.css +34 -25
  155. package/dist/styles/components/layout/split-view/split-view.css +19 -33
  156. package/dist/styles/components/navigation/nav-stack/nav-stack.css +15 -19
  157. package/dist/styles/components/navigation/tab-navigator/tab-navigator.css +30 -29
  158. package/dist/styles/components/surfaces/editor-frame/editor-frame.css +2 -2
  159. package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +259 -4
  160. package/dist/styles/editor/editor.css +55 -0
  161. package/dist/styles/editor-frame.css +2 -2
  162. package/dist/styles/nav-stack.css +15 -19
  163. package/dist/styles/popup-menu.css +4 -4
  164. package/dist/styles/segmented-control.css +1 -1
  165. package/dist/styles/split-view.css +19 -33
  166. package/dist/styles/surface-scaffold.css +259 -4
  167. package/dist/styles/tab-navigator.css +30 -29
  168. package/dist/styles/toolbar-control-group.css +1 -1
  169. package/dist/styles/toolbar.css +34 -1
  170. package/dist/styles/webawesome.css +4 -5
  171. package/dist/surface-scaffold-register.js +2 -1
  172. package/dist/surface-scaffold-register.js.map +1 -1
  173. package/dist/surface-scaffold.d.ts +153 -246
  174. package/dist/surface-scaffold.js +3 -2
  175. package/dist/toolbar-control-group.d.ts +2 -2
  176. package/dist/toolbar-control-group.js +1 -1
  177. package/dist/toolbar.d.ts +6 -1
  178. package/dist/toolbar.js +1 -1
  179. package/dist/tree-list.d.ts +2 -2
  180. package/dist/tree-list.js +1 -1
  181. package/dist/wire-catalog.d.ts +1 -1
  182. package/dist/wire-catalog.js +3 -2
  183. package/dist/wire-catalog.js.map +1 -1
  184. package/dist/wire-checkboxes.js +2 -1
  185. package/dist/wire-choice-chips.js +2 -1
  186. package/dist/wire-color-fields.js +2 -1
  187. package/dist/wire-color-pickers.js +2 -1
  188. package/dist/wire-comboboxes.d.ts +2 -0
  189. package/dist/wire-comboboxes.js +2 -1
  190. package/dist/wire-content-items.js +2 -1
  191. package/dist/wire-corner-status.js +2 -1
  192. package/dist/wire-nav-stack.js +2 -1
  193. package/dist/wire-overlay-sheets.js +2 -1
  194. package/dist/wire-paged-views.js +2 -2
  195. package/dist/wire-paged-views.js.map +1 -1
  196. package/dist/wire-resizable-regions.js +2 -1
  197. package/dist/wire-scroll-dividers.js +1 -1
  198. package/dist/wire-search-fields.js +2 -1
  199. package/dist/wire-sidebar.js +2 -1
  200. package/dist/wire-tab-bars.d.ts +41 -2
  201. package/dist/wire-tab-bars.js +1 -1
  202. package/dist/wire-tab-navigator.js +2 -1
  203. package/dist/wire-tag-fields.js +2 -1
  204. package/dist/wire-workbench.js +2 -1
  205. package/dist/workbench-dialog.d.ts +7 -7
  206. package/dist/workbench-dialog.js +5 -4
  207. package/dist/workbench-dialog.js.map +1 -1
  208. package/dist/workbench.d.ts +1 -1
  209. package/dist/workbench.js +1 -1
  210. package/docs/accessibility.md +3 -6
  211. package/docs/component-contract.md +47 -7
  212. package/docs/component-selection.md +90 -80
  213. package/docs/design/templates.md +5 -4
  214. package/docs/editor-frame.md +1 -1
  215. package/docs/editor-host.md +15 -2
  216. package/docs/overlay-tooltip.md +1 -1
  217. package/docs/recipes.md +1 -1
  218. package/docs/surface-scaffold.md +63 -2
  219. package/docs/ui-analyzer.md +42 -0
  220. package/docs/ui-doctor.md +45 -1
  221. package/docs/ui-evaluator.md +35 -0
  222. package/docs/ux-demo.md +1 -1
  223. package/docs/view.md +295 -0
  224. package/docs/webawesome-theme.md +16 -0
  225. package/doctor/cli.mjs +36 -31
  226. package/doctor/index.mjs +349 -162
  227. package/evaluator/cli.mjs +36 -30
  228. package/llms.txt +17 -4
  229. package/package.json +3 -1
  230. package/props/cli.mjs +47 -21
  231. package/scripts/lib/cli-args.mjs +98 -0
  232. package/ux-demo/recipes/compact-toolbar.tsx +1 -1
  233. package/ux-demo/recipes/loading-inspector.tsx +1 -1
  234. package/view/catalog.mjs +229 -0
  235. package/view/child-kind.mjs +22 -0
  236. package/view/cli.mjs +142 -119
  237. package/view/contract.mjs +84 -11
  238. package/view/css-grammar.mjs +93 -0
  239. package/view/generate.d.mts +16 -0
  240. package/view/generate.mjs +122 -43
  241. package/view/index.d.mts +80 -14
  242. package/view/index.mjs +5 -9
  243. package/view/interpret.mjs +104 -36
  244. package/view/types.mjs +161 -0
  245. package/view/validate-move.mjs +66 -30
  246. package/view/validate.mjs +420 -654
  247. package/vite-editor.d.mts +16 -1
  248. package/vite-editor.mjs +74 -4
  249. package/dist/chunk-2E7S5C4D.js.map +0 -1
  250. package/dist/chunk-2LM3PYHA.js.map +0 -1
  251. package/dist/chunk-3S3WXAZ5.js.map +0 -1
  252. package/dist/chunk-3WYREXW4.js.map +0 -1
  253. package/dist/chunk-4RECPEHI.js.map +0 -1
  254. package/dist/chunk-5SFHBYEY.js.map +0 -1
  255. package/dist/chunk-6OT7FOSA.js.map +0 -1
  256. package/dist/chunk-ADMWT7FX.js.map +0 -1
  257. package/dist/chunk-BCO673YW.js.map +0 -1
  258. package/dist/chunk-CNM6ZWP2.js.map +0 -1
  259. package/dist/chunk-DJ65XFVN.js.map +0 -1
  260. package/dist/chunk-EXGDKG7B.js.map +0 -1
  261. package/dist/chunk-FJMABKKV.js.map +0 -1
  262. package/dist/chunk-GVII4JSD.js.map +0 -1
  263. package/dist/chunk-HDXUHLTQ.js.map +0 -1
  264. package/dist/chunk-JG4ONAOI.js.map +0 -1
  265. package/dist/chunk-JZZVWTUB.js.map +0 -1
  266. package/dist/chunk-KELWWCMX.js.map +0 -1
  267. package/dist/chunk-KLR3DCHH.js.map +0 -1
  268. package/dist/chunk-KQZIC5CA.js.map +0 -1
  269. package/dist/chunk-LD6A6PYB.js +0 -268
  270. package/dist/chunk-LD6A6PYB.js.map +0 -1
  271. package/dist/chunk-MVKHSAKE.js.map +0 -1
  272. package/dist/chunk-NHQOX7T4.js.map +0 -1
  273. package/dist/chunk-Q2CLQ3IJ.js.map +0 -1
  274. package/dist/chunk-Q2SLOMN6.js.map +0 -1
  275. package/dist/chunk-S4ZGTDSG.js.map +0 -1
  276. package/dist/chunk-SJBMKA4X.js.map +0 -1
  277. package/dist/chunk-SPI6VMIY.js.map +0 -1
  278. package/dist/chunk-TPLVC5BE.js.map +0 -1
  279. package/dist/chunk-TTFW6E6C.js.map +0 -1
  280. package/dist/chunk-V6N3YLTM.js.map +0 -1
  281. package/dist/chunk-VNT4MXR5.js +0 -548
  282. package/dist/chunk-VNT4MXR5.js.map +0 -1
  283. package/dist/chunk-VPDSPD76.js.map +0 -1
  284. package/dist/chunk-YHRJNKD5.js.map +0 -1
  285. package/dist/chunk-Z3T24FX3.js.map +0 -1
  286. package/dist/chunk-ZKKO4MHC.js.map +0 -1
  287. package/dist/{nav-stack-DwxpXxqJ.d.ts → nav-stack-vQ3ieerq.d.ts} +3 -3
@@ -2652,13 +2652,12 @@
2652
2652
  "name": "density",
2653
2653
  "type": {
2654
2654
  "kind": "enum",
2655
- "values": ["standard", "compact"],
2656
- "text": "\"compact\" | \"standard\" | undefined",
2655
+ "values": ["default", "compact", "standard"],
2656
+ "text": "\"compact\" | \"default\" | \"standard\" | undefined",
2657
2657
  "nullable": true
2658
2658
  },
2659
2659
  "required": false,
2660
- "default": "standard",
2661
- "description": "Row density: `standard` (default) or `compact`."
2660
+ "description": "Row density: `default` or `compact`."
2662
2661
  },
2663
2662
  {
2664
2663
  "name": "className",
@@ -3932,7 +3931,7 @@
3932
3931
  "name": "inset",
3933
3932
  "type": {
3934
3933
  "kind": "enum",
3935
- "values": ["padded", "flush"],
3934
+ "values": ["none", "comfortable", "padded", "flush"],
3936
3935
  "text": "EditorFrameInset | undefined",
3937
3936
  "nullable": true
3938
3937
  },
@@ -5669,8 +5668,8 @@
5669
5668
  "name": "density",
5670
5669
  "type": {
5671
5670
  "kind": "enum",
5672
- "values": ["standard", "compact"],
5673
- "text": "\"compact\" | \"standard\" | undefined",
5671
+ "values": ["default", "compact", "standard"],
5672
+ "text": "\"compact\" | \"default\" | \"standard\" | undefined",
5674
5673
  "nullable": true
5675
5674
  },
5676
5675
  "required": false,
@@ -6408,8 +6407,8 @@
6408
6407
  "name": "density",
6409
6408
  "type": {
6410
6409
  "kind": "enum",
6411
- "values": ["standard", "compact"],
6412
- "text": "\"compact\" | \"standard\" | undefined",
6410
+ "values": ["default", "compact", "standard"],
6411
+ "text": "\"compact\" | \"default\" | \"standard\" | undefined",
6413
6412
  "nullable": true
6414
6413
  },
6415
6414
  "required": false,
@@ -7167,8 +7166,8 @@
7167
7166
  "name": "density",
7168
7167
  "type": {
7169
7168
  "kind": "enum",
7170
- "values": ["standard", "compact", "spacious"],
7171
- "text": "\"compact\" | \"standard\" | \"spacious\" | undefined",
7169
+ "values": ["default", "compact", "spacious", "standard"],
7170
+ "text": "\"compact\" | \"default\" | \"standard\" | \"spacious\" | undefined",
7172
7171
  "nullable": true
7173
7172
  },
7174
7173
  "required": false,
@@ -7551,8 +7550,8 @@
7551
7550
  "name": "density",
7552
7551
  "type": {
7553
7552
  "kind": "enum",
7554
- "values": ["standard", "compact", "spacious"],
7555
- "text": "\"compact\" | \"standard\" | \"spacious\" | undefined",
7553
+ "values": ["default", "compact", "spacious", "standard"],
7554
+ "text": "\"compact\" | \"default\" | \"standard\" | \"spacious\" | undefined",
7556
7555
  "nullable": true
7557
7556
  },
7558
7557
  "required": false
@@ -9372,7 +9371,7 @@
9372
9371
  "name": "size",
9373
9372
  "type": {
9374
9373
  "kind": "enum",
9375
- "values": ["standard", "compact"],
9374
+ "values": ["default", "compact", "standard"],
9376
9375
  "text": "PopupMenuSize | undefined",
9377
9376
  "nullable": true
9378
9377
  },
@@ -10836,7 +10835,7 @@
10836
10835
  "name": "size",
10837
10836
  "type": {
10838
10837
  "kind": "enum",
10839
- "values": ["small", "default"],
10838
+ "values": ["default", "compact", "small"],
10840
10839
  "text": "SegmentedControlSize | undefined",
10841
10840
  "nullable": true
10842
10841
  },
@@ -13072,7 +13071,7 @@
13072
13071
  "name": "bodyInset",
13073
13072
  "type": {
13074
13073
  "kind": "enum",
13075
- "values": ["none", "compact", "comfortable"],
13074
+ "values": ["none", "default", "comfortable", "compact"],
13076
13075
  "text": "SurfaceInset | undefined",
13077
13076
  "nullable": true
13078
13077
  },
@@ -13082,7 +13081,7 @@
13082
13081
  "name": "footerInset",
13083
13082
  "type": {
13084
13083
  "kind": "enum",
13085
- "values": ["none", "compact", "comfortable"],
13084
+ "values": ["none", "default", "comfortable", "compact"],
13086
13085
  "text": "SurfaceInset | undefined",
13087
13086
  "nullable": true
13088
13087
  },
@@ -13315,6 +13314,204 @@
13315
13314
  ],
13316
13315
  "dataChannel": "rootAttributes"
13317
13316
  },
13317
+ {
13318
+ "key": "@kerfjs/ui:surface-scaffold#PinnablePopoverSurface",
13319
+ "id": "surface-scaffold",
13320
+ "source": "kerf",
13321
+ "import": "@kerfjs/ui/surface-scaffold",
13322
+ "export": "PinnablePopoverSurface",
13323
+ "description": "A non-modal surface a person can pin and move. Transient by default: it\nopens below the control that opened it and closes on Escape or a press\noutside. Pinned (by its header Pin toggle or `pinPopover()`), it stays\nopen while the page is used, drags by its title, moves with the arrow\nkeys, resizes, and stays inside the viewport gutter. Open it with a\n`popoverTarget` control or `showPopover()`, and call `wirePinnablePopover()`\nonce for its placement, dismissal, and movement; the application stores\nwhat `onChange` reports. Use `PopoverDialogSurface` for a dialog that only\never light-dismisses.",
13324
+ "props": [
13325
+ {
13326
+ "name": "id",
13327
+ "type": { "kind": "string", "text": "string" },
13328
+ "required": true,
13329
+ "description": "The root id: what an opening control's `popoverTarget` names. The title\nand the move description derive their ids from it."
13330
+ },
13331
+ {
13332
+ "name": "label",
13333
+ "type": { "kind": "string", "text": "string" },
13334
+ "required": true,
13335
+ "description": "The title text: the surface's accessible name and its move handle's."
13336
+ },
13337
+ {
13338
+ "name": "describedBy",
13339
+ "type": { "kind": "string", "text": "string", "nullable": true },
13340
+ "required": false,
13341
+ "description": "Id of the element whose text describes the surface, rendered as\n`aria-describedby` on the `role=\"dialog\"` root."
13342
+ },
13343
+ {
13344
+ "name": "children",
13345
+ "type": {
13346
+ "kind": "content",
13347
+ "text": "KerfUiContent",
13348
+ "nullable": true
13349
+ },
13350
+ "required": true,
13351
+ "description": "The body content, below the header.",
13352
+ "slot": true
13353
+ },
13354
+ {
13355
+ "name": "headerActions",
13356
+ "type": {
13357
+ "kind": "content",
13358
+ "text": "KerfUiContent",
13359
+ "nullable": true
13360
+ },
13361
+ "required": false,
13362
+ "description": "Controls before the Pin and Close buttons in the header.",
13363
+ "slot": true
13364
+ },
13365
+ {
13366
+ "name": "presentation",
13367
+ "type": {
13368
+ "kind": "enum",
13369
+ "values": ["overlay", "embedded"],
13370
+ "text": "SurfacePresentation | undefined",
13371
+ "nullable": true
13372
+ },
13373
+ "required": false,
13374
+ "default": "overlay",
13375
+ "description": "`overlay` (default) is a native `popover=\"manual\"` in the top layer that\n`wirePinnablePopover` places, dismisses, and moves; `embedded` renders\nthe same surface in flow for a catalog or a design canvas."
13376
+ },
13377
+ {
13378
+ "name": "pinned",
13379
+ "type": {
13380
+ "kind": "boolean",
13381
+ "text": "boolean | undefined",
13382
+ "nullable": true
13383
+ },
13384
+ "required": false,
13385
+ "description": "Render it pinned: an `embedded` preview of the pinned state. An\noverlay's pinned state belongs to `wirePinnablePopover`; pass `pinned`\nthere to restore it."
13386
+ },
13387
+ {
13388
+ "name": "size",
13389
+ "type": {
13390
+ "kind": "enum",
13391
+ "values": ["small", "medium", "large"],
13392
+ "text": "DialogSurfaceSize | undefined",
13393
+ "nullable": true
13394
+ },
13395
+ "required": false,
13396
+ "description": "Preferred width preset: 400px, 560px (default), or 800px."
13397
+ },
13398
+ {
13399
+ "name": "preferredWidth",
13400
+ "type": {
13401
+ "kind": "css-value",
13402
+ "grammar": "CssLength",
13403
+ "text": "CssLength",
13404
+ "nullable": true
13405
+ },
13406
+ "required": false,
13407
+ "description": "Preferred width; takes precedence over `size`, within the viewport cap."
13408
+ },
13409
+ {
13410
+ "name": "height",
13411
+ "type": {
13412
+ "kind": "union",
13413
+ "members": [
13414
+ {
13415
+ "kind": "css-value",
13416
+ "grammar": "CssLength",
13417
+ "text": "CssLength"
13418
+ },
13419
+ { "kind": "literal", "value": "viewport", "text": "\"viewport\"" }
13420
+ ],
13421
+ "text": "DialogSurfaceHeight | undefined",
13422
+ "nullable": true
13423
+ },
13424
+ "required": false,
13425
+ "description": "Definite height, bounded by the dynamic viewport minus both gutters."
13426
+ },
13427
+ {
13428
+ "name": "maxHeight",
13429
+ "type": {
13430
+ "kind": "union",
13431
+ "members": [
13432
+ {
13433
+ "kind": "css-value",
13434
+ "grammar": "CssLength",
13435
+ "text": "CssLength"
13436
+ },
13437
+ { "kind": "literal", "value": "viewport", "text": "\"viewport\"" }
13438
+ ],
13439
+ "text": "DialogSurfaceMaxHeight | undefined",
13440
+ "nullable": true
13441
+ },
13442
+ "required": false,
13443
+ "description": "Height cap, bounded the same way, for a surface that sizes to content."
13444
+ },
13445
+ {
13446
+ "name": "viewportGutter",
13447
+ "type": {
13448
+ "kind": "css-value",
13449
+ "grammar": "CssLength",
13450
+ "text": "CssLength",
13451
+ "nullable": true
13452
+ },
13453
+ "required": false,
13454
+ "description": "Edge clearance on each side of the viewport (default 16px): the surface\nis placed, dragged, and moved inside it."
13455
+ },
13456
+ {
13457
+ "name": "bodyLayout",
13458
+ "type": {
13459
+ "kind": "enum",
13460
+ "values": ["flow", "fill", "fill-last"],
13461
+ "text": "DialogSurfaceBodyLayout | undefined",
13462
+ "nullable": true
13463
+ },
13464
+ "required": false,
13465
+ "default": "flow",
13466
+ "description": "Body layout (default `flow`); `fill` lets one child own the body and\n`fill-last` stacks fixed rows above one filling last child."
13467
+ },
13468
+ {
13469
+ "name": "pinLabel",
13470
+ "type": { "kind": "string", "text": "string", "nullable": true },
13471
+ "required": false,
13472
+ "default": "Pin",
13473
+ "description": "The Pin toggle's accessible name (default `Pin`)."
13474
+ },
13475
+ {
13476
+ "name": "closeLabel",
13477
+ "type": { "kind": "string", "text": "string", "nullable": true },
13478
+ "required": false,
13479
+ "default": "Close",
13480
+ "description": "The close button's accessible name (default `Close`)."
13481
+ },
13482
+ {
13483
+ "name": "moveDescription",
13484
+ "type": { "kind": "string", "text": "string", "nullable": true },
13485
+ "required": false,
13486
+ "description": "The move handle's accessible description of the pointer and keyboard move."
13487
+ },
13488
+ {
13489
+ "name": "rootAttributes",
13490
+ "type": {
13491
+ "kind": "record",
13492
+ "text": "Readonly<Record<`data-${string}`, string>>",
13493
+ "nullable": true
13494
+ },
13495
+ "required": false,
13496
+ "control": "hidden"
13497
+ },
13498
+ {
13499
+ "name": "className",
13500
+ "type": { "kind": "string", "text": "string", "nullable": true },
13501
+ "required": false,
13502
+ "control": "classes"
13503
+ },
13504
+ {
13505
+ "name": "slot",
13506
+ "type": { "kind": "string", "text": "string", "nullable": true },
13507
+ "required": false,
13508
+ "description": "Native named-slot assignment when composed inside a web component.",
13509
+ "control": "hidden"
13510
+ }
13511
+ ],
13512
+ "nativeAttributes": [],
13513
+ "dataChannel": "rootAttributes"
13514
+ },
13318
13515
  {
13319
13516
  "key": "@kerfjs/ui:surface-scaffold#PopoverDialogSurface",
13320
13517
  "id": "surface-scaffold",
@@ -13362,7 +13559,7 @@
13362
13559
  "type": {
13363
13560
  "kind": "enum",
13364
13561
  "values": ["overlay", "embedded"],
13365
- "text": "PopoverDialogSurfacePresentation | undefined",
13562
+ "text": "SurfacePresentation | undefined",
13366
13563
  "nullable": true
13367
13564
  },
13368
13565
  "required": false,
@@ -13525,7 +13722,7 @@
13525
13722
  "name": "inset",
13526
13723
  "type": {
13527
13724
  "kind": "enum",
13528
- "values": ["standard", "compact", "list-zero"],
13725
+ "values": ["none", "compact", "default", "standard", "list-zero"],
13529
13726
  "text": "PopupSurfaceInset | undefined",
13530
13727
  "nullable": true
13531
13728
  },
@@ -15451,14 +15648,15 @@
15451
15648
  "none",
15452
15649
  "stack",
15453
15650
  "wrap",
15651
+ "wrap-groups",
15454
15652
  "center-priority",
15455
15653
  "trailing-priority"
15456
15654
  ],
15457
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
15655
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
15458
15656
  "nullable": true
15459
15657
  },
15460
15658
  "required": false,
15461
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`.",
15659
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`.",
15462
15660
  "group": "Responsive",
15463
15661
  "order": 1
15464
15662
  },
@@ -15666,7 +15864,7 @@
15666
15864
  "name": "density",
15667
15865
  "type": {
15668
15866
  "kind": "enum",
15669
- "values": ["comfortable", "tight"],
15867
+ "values": ["default", "compact", "comfortable", "tight"],
15670
15868
  "text": "ToolbarControlGroupDensity | undefined",
15671
15869
  "nullable": true
15672
15870
  },
@@ -15733,7 +15931,7 @@
15733
15931
  "name": "menuInset",
15734
15932
  "type": {
15735
15933
  "kind": "enum",
15736
- "values": ["standard", "compact", "list-zero"],
15934
+ "values": ["none", "compact", "default", "standard", "list-zero"],
15737
15935
  "text": "ToolbarControlGroupMenuInset | undefined",
15738
15936
  "nullable": true
15739
15937
  },
@@ -16479,12 +16677,12 @@
16479
16677
  "name": "density",
16480
16678
  "type": {
16481
16679
  "kind": "enum",
16482
- "values": ["standard", "compact"],
16483
- "text": "\"compact\" | \"standard\" | undefined",
16680
+ "values": ["default", "compact", "standard"],
16681
+ "text": "\"compact\" | \"default\" | \"standard\" | undefined",
16484
16682
  "nullable": true
16485
16683
  },
16486
16684
  "required": false,
16487
- "description": "Row density: `standard` (44px rows, default) or `compact` (36px)."
16685
+ "description": "Row density: `default` (44px rows) or `compact` (36px)."
16488
16686
  },
16489
16687
  {
16490
16688
  "name": "className",
@@ -25999,14 +26197,15 @@
25999
26197
  "none",
26000
26198
  "stack",
26001
26199
  "wrap",
26200
+ "wrap-groups",
26002
26201
  "center-priority",
26003
26202
  "trailing-priority"
26004
26203
  ],
26005
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
26204
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
26006
26205
  "nullable": true
26007
26206
  },
26008
26207
  "required": false,
26009
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26208
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26010
26209
  },
26011
26210
  {
26012
26211
  "name": "responsiveAt",
@@ -26260,14 +26459,15 @@
26260
26459
  "none",
26261
26460
  "stack",
26262
26461
  "wrap",
26462
+ "wrap-groups",
26263
26463
  "center-priority",
26264
26464
  "trailing-priority"
26265
26465
  ],
26266
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
26466
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
26267
26467
  "nullable": true
26268
26468
  },
26269
26469
  "required": false,
26270
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26470
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26271
26471
  },
26272
26472
  {
26273
26473
  "name": "responsiveAt",
@@ -26694,14 +26894,15 @@
26694
26894
  "none",
26695
26895
  "stack",
26696
26896
  "wrap",
26897
+ "wrap-groups",
26697
26898
  "center-priority",
26698
26899
  "trailing-priority"
26699
26900
  ],
26700
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
26901
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
26701
26902
  "nullable": true
26702
26903
  },
26703
26904
  "required": false,
26704
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26905
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26705
26906
  },
26706
26907
  {
26707
26908
  "name": "responsiveAt",
@@ -26883,14 +27084,15 @@
26883
27084
  "none",
26884
27085
  "stack",
26885
27086
  "wrap",
27087
+ "wrap-groups",
26886
27088
  "center-priority",
26887
27089
  "trailing-priority"
26888
27090
  ],
26889
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
27091
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
26890
27092
  "nullable": true
26891
27093
  },
26892
27094
  "required": false,
26893
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
27095
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
26894
27096
  },
26895
27097
  {
26896
27098
  "name": "responsiveAt",
@@ -28819,14 +29021,15 @@
28819
29021
  "none",
28820
29022
  "stack",
28821
29023
  "wrap",
29024
+ "wrap-groups",
28822
29025
  "center-priority",
28823
29026
  "trailing-priority"
28824
29027
  ],
28825
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
29028
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
28826
29029
  "nullable": true
28827
29030
  },
28828
29031
  "required": false,
28829
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
29032
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
28830
29033
  },
28831
29034
  {
28832
29035
  "name": "responsiveAt",
@@ -28978,14 +29181,15 @@
28978
29181
  "none",
28979
29182
  "stack",
28980
29183
  "wrap",
29184
+ "wrap-groups",
28981
29185
  "center-priority",
28982
29186
  "trailing-priority"
28983
29187
  ],
28984
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
29188
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
28985
29189
  "nullable": true
28986
29190
  },
28987
29191
  "required": false,
28988
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
29192
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
28989
29193
  },
28990
29194
  {
28991
29195
  "name": "responsiveAt",
@@ -29288,14 +29492,15 @@
29288
29492
  "none",
29289
29493
  "stack",
29290
29494
  "wrap",
29495
+ "wrap-groups",
29291
29496
  "center-priority",
29292
29497
  "trailing-priority"
29293
29498
  ],
29294
- "text": "\"none\" | \"stack\" | \"wrap\" | \"center-priority\" | \"trailing-priority\" | undefined",
29499
+ "text": "\"none\" | \"stack\" | \"wrap\" | \"wrap-groups\" | \"center-priority\" | \"trailing-priority\" | undefined",
29295
29500
  "nullable": true
29296
29501
  },
29297
29502
  "required": false,
29298
- "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
29503
+ "description": "Component-owned responsive layout; applications choose the policy rather\nthan restyling toolbar internals. Under every policy the trailing zone\nwraps its groups instead of clipping an action, and the center zone keeps\nits whole content width: when the zones do not fit one row, the leading\ntitle truncates with an ellipsis rather than the center overlapping it.\n- `none` keeps one row; the leading identity truncates first.\n- `stack` stacks the zones at `responsiveAt`, wrapping stacked control\n groups onto further rows.\n- `wrap` keeps one row while every zone fits at its natural width, and\n otherwise moves the trailing zone below a whole leading identity.\n- `wrap-groups` is for a leading zone of control groups rather than a\n title: each leading group shares a row with the trailing zone while it\n fits and otherwise moves, whole, to the next row; the trailing zone\n stays at the inline end. The leading zone draws no box of its own, so\n its padding and minimum-width tokens do not apply.\n- `center-priority` gives an expanded center control the full row.\n- `trailing-priority` moves an expanded trailing control to a full row\n below the leading identity at `responsiveAt`."
29299
29504
  },
29300
29505
  {
29301
29506
  "name": "responsiveAt",
@@ -53,7 +53,7 @@ Exact prop names and types: [`@kerfjs/ui/combobox`](../public-api-signatures-v1.
53
53
 
54
54
  **Wiring:** `wireComboboxes` is required.
55
55
 
56
- - Filters suggestions, moves the active option, and reports commits; without it the list never opens.
56
+ - Filters suggestions, moves the active option, reports commits, and keeps an open list open across an application render while the field is focused; without it the list never opens.
57
57
 
58
58
  **Wiring-owned state attributes** — never render, remove, or branch on these as app state:
59
59
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  `@kerfjs/ui:surface-scaffold` · Kerf UI · component · Structure
6
6
 
7
- A native modal dialog (DialogSurface) with Kerf's header, body, and footer chrome, typed preferred widths, viewport bounds, and presentations, plus a non-modal popover dialog and popup inset composition.
7
+ A native modal dialog (DialogSurface) with Kerf's header, body, and footer chrome, typed preferred widths, viewport bounds, and presentations, plus a non-modal popover dialog, a pinnable and movable non-modal popover, and popup inset composition.
8
8
 
9
9
  ## When to use
10
10
 
@@ -15,6 +15,7 @@ Configure recurring dialog and popup geometry without consumer ::part() override
15
15
  - A modal needs a typed preferred width, viewport gutter, or dynamic viewport-bounded height cap while retaining native body scrolling and footer actions.
16
16
  - A dialog needs a less prominent built-in close control: closeEmphasis="quiet" softens the glyph while keeping the native button target and close behavior.
17
17
  - A dialog that must leave the page interactive and close on Escape or an outside press uses PopoverDialogSurface; one that fills its body with a SplitView or Pane uses height and bodyLayout="fill".
18
+ - A non-modal panel the person may keep open while working (a component library, a palette, a quick inspector) uses PinnablePopoverSurface with wirePinnablePopover: it opens transient below its button and light-dismisses; pinned (its header Pin toggle or pinPopover()) it stays open, drags by its title, moves with the arrow keys, resizes, and stays inside the viewport gutter, and onChange reports the pinned state and placement for the app to store and restore.
18
19
  - A chat-style dialog floats its composer over the transcript with footerPresentation="floating" and keeps a heading or notice above one scrolling transcript with bodyLayout="fill-last".
19
20
  - A phone-first task (compose, quick edit, a picker) should rise from the bottom edge as a sheet the person can resize: presentation="bottom-sheet" with height, and resizable with minHeight / maxHeight bounds.
20
21
  - A dialog's title bar should float over the body on the translucent chrome material so a transcript scrolls visibly beneath both the title bar and a floating composer (headerPresentation="floating" with bodyLayout="fill" and a List or Pane that opts into scrollClearance="both").
@@ -24,13 +25,15 @@ Configure recurring dialog and popup geometry without consumer ::part() override
24
25
  - Do not use it as a generic layout wrapper, and do not toggle the dialog's open attribute (that opens it non-modally); open and close it with openDialog() and closeDialog().
25
26
  - Do not stack a dialog body inset around children that already own List or content-item geometry; use bodyInset none.
26
27
  - Do not put quiet secondary text of your own in a floating dialog header; it can fall below AA over the content passing beneath. A ToolbarText as the dialog's heading (or in headerActions) is fine: its title takes the normal text color and its description lifts halfway toward it, keeping AA.
28
+ - Do not hand-roll a draggable floating panel with app CSS and pointer handlers; render PinnablePopoverSurface and wire it. Do not toggle its popover attribute or data-pinned yourself: pin with pinPopover() and restore with wirePinnablePopover's pinned and placement options.
27
29
 
28
30
  ## Imports
29
31
 
30
- - JavaScript: `@kerfjs/ui/surface-scaffold` — exports `DialogSurface`, `openDialog`, `closeDialog`, `PopoverDialogSurface`, `PopupSurface`, `wireOverlaySheets`.
32
+ - JavaScript: `@kerfjs/ui/surface-scaffold` — exports `DialogSurface`, `openDialog`, `closeDialog`, `PopoverDialogSurface`, `PinnablePopoverSurface`, `wirePinnablePopover`, `pinPopover`, `isPopoverPinned`, `PopupSurface`, `wireOverlaySheets`.
31
33
  - CSS: the browser build of `@kerfjs/ui/surface-scaffold` pulls its CSS automatically; import `@kerfjs/ui/surface-scaffold.css` manually only without the `browser` export condition.
32
34
  - Registration: import `@kerfjs/ui/surface-scaffold/register` once (a side effect).
33
35
  - Wiring: `wireOverlaySheets` from `@kerfjs/ui/wire-overlay-sheets` (optional).
36
+ - Wiring: `wirePinnablePopover` from `@kerfjs/ui/surface-scaffold` (required).
34
37
  - Declared side effects: browser-condition-css, document-listeners.
35
38
 
36
39
  ## Props
@@ -53,6 +56,7 @@ Exact prop names and types: [`@kerfjs/ui/surface-scaffold`](../public-api-signat
53
56
  - floating header over a filling only child that opts into block-start scrollClearance: content scrolls beneath the title bar through the published --kui-scroll-clearance-block-start
54
57
  - floating header divider as scroll state: a hairline under the title bar only while the body or a filling child beneath it is scrolled away from its top
55
58
  - non-modal light-dismiss PopoverDialogSurface, overlay or embedded in flow, named by label or labelledBy and described by describedBy
59
+ - pinnable non-modal PinnablePopoverSurface: transient below its anchor with light dismiss, or pinned (no light dismiss, Escape still closes) and moved by a header drag or the arrow keys (Shift for larger steps), resizable from its corner, clamped to the viewport gutter after a window resize, overlay or embedded in flow
56
60
  - none, compact, or comfortable body and footer inset
57
61
  - standard, compact, or zero-inset popup menu
58
62
  - core kerfjs/overlay confirm/prompt/form/choice as a bottom sheet styled by @kerfjs/ui/overlay-sheet.css
@@ -79,9 +83,16 @@ Exact prop names and types: [`@kerfjs/ui/surface-scaffold`](../public-api-signat
79
83
 
80
84
  ## State and wiring
81
85
 
82
- **The app owns:** open state (openDialog and closeDialog); whether a close request may proceed (cancel kui-request-close to keep the dialog open; the panel pulses); dismissal policy (lightDismiss); content, heading, header actions, and footer; outer placement; whether core kerfjs/overlay dialogs presented as bottom sheets take this package's geometry and slide (import @kerfjs/ui/overlay-sheet.css; exitClass 'kui-overlay-sheet-exit' for the slide out; the kui-overlay-sheet-resizable class plus wireOverlaySheets for a resize grabber).
86
+ **The app owns:** open state (openDialog and closeDialog); whether a close request may proceed (cancel kui-request-close to keep the dialog open; the panel pulses); dismissal policy (lightDismiss); content, heading, header actions, and footer; outer placement; whether core kerfjs/overlay dialogs presented as bottom sheets take this package's geometry and slide (import @kerfjs/ui/overlay-sheet.css; exitClass 'kui-overlay-sheet-exit' for the slide out; the kui-overlay-sheet-resizable class plus wireOverlaySheets for a resize grabber); pinned state and placement storage for a PinnablePopoverSurface (wirePinnablePopover's onChange reports them; its pinned and placement options restore them).
83
87
 
84
- **Wiring:** `wireOverlaySheets` is optional.
88
+ **Wiring:** `wireOverlaySheets`, `wirePinnablePopover` is required.
89
+
90
+ - Use wirePinnablePopover as documented.
91
+
92
+ **Wiring-owned state attributes** — never render, remove, or branch on these as app state:
93
+
94
+ - `data-pinned` on `kui-pinnable-popover-surface` (`wirePinnablePopover`): Present while the surface is pinned: no light dismiss, movable by its title, resizable. Re-applied if a re-render drops it.
95
+ - `data-placed` on `kui-pinnable-popover-surface` (`wirePinnablePopover`): Present while the controller places the open surface (below its anchor, or where the person moved it); absent, it is centered. Re-applied if a re-render drops it.
85
96
 
86
97
  ## Geometry
87
98
 
@@ -93,6 +104,7 @@ Margin: parent · border: child · padding: self (layout role: structure). `self
93
104
  - Name it with label (also its title text) or labelledBy (the id of a heading, such as a ToolbarText). The close button is named Close (closeLabel) and Escape asks to close; the cancelable kui-request-close event reports source close-button, escape, or backdrop.
94
105
  - closeEmphasis="quiet" uses a smaller, quiet-colored close glyph inside the same 40px target; hover, focus ring, forced colors, accessible naming, and close requests remain available.
95
106
  - Name a PopoverDialogSurface with label or labelledBy. Describe either surface with describedBy (rendered as aria-describedby on the dialog root), usually the heading ToolbarText descriptionId or app-owned summary copy in the body; rootAttributes accepts only data-\* attributes, so it never sets aria-describedby.
107
+ - PinnablePopoverSurface is a role="dialog" named by its label, non-modal (nothing inert, focus stays where the person puts it). Its title is the move handle: a focusable button named by the label whose accessible description explains the drag and the arrow keys (Shift moves farther); the Pin control is a toggle button with aria-pressed, and Close and Escape (from inside it while pinned) close it.
96
108
  - A floating header's title uses the normal text color, which keeps WCAG AA over the 80% raised chrome material on any content; the material turns opaque under prefers-reduced-transparency, prefers-contrast: more, forced colors, or without backdrop-filter.
97
109
  - A resizable bottom sheet's grabber is a focusable horizontal separator ("Resize sheet") with aria-valuemin, aria-valuenow, and aria-valuemax in visible px; the arrow keys, Page Up/Down, Home, and End resize it, and its slide motion is skipped under prefers-reduced-motion.
98
110
  - Use popup surfaces only for real dropdown menus with named triggers.
@@ -103,12 +115,14 @@ The component renders controls inside it, so it cannot sit in the zones of a com
103
115
 
104
116
  The component owns its own styles. Configure it through its props and variants; do not override its internals.
105
117
 
106
- Public class hooks (select for layout placement only, never to change the component's look): `kui-dialog-surface`, `kui-dialog-surface__body`, `kui-dialog-surface__close`, `kui-dialog-surface__footer`, `kui-dialog-surface__header`, `kui-dialog-surface__header-actions`, `kui-dialog-surface__title`, `kui-popover-dialog-surface`, `kui-popup-surface`.
118
+ Public class hooks (select for layout placement only, never to change the component's look): `kui-dialog-surface`, `kui-dialog-surface__body`, `kui-dialog-surface__close`, `kui-dialog-surface__footer`, `kui-dialog-surface__header`, `kui-dialog-surface__header-actions`, `kui-dialog-surface__title`, `kui-popover-dialog-surface`, `kui-pinnable-popover-surface`, `kui-popup-surface`.
107
119
 
108
120
  Never put `kui-dialog-surface`, `kui-dialog-surface__body`, `kui-dialog-surface__close`, `kui-dialog-surface__footer`, `kui-dialog-surface__header`, `kui-dialog-surface__header-actions`, `kui-dialog-surface__title` on an element you write; render `DialogSurface` instead (`KUI-L103`).
109
121
 
110
122
  Never put `kui-popover-dialog-surface` on an element you write; render `PopoverDialogSurface` instead (`KUI-L103`).
111
123
 
124
+ Never put `kui-pinnable-popover-surface` on an element you write; render `PinnablePopoverSurface` instead (`KUI-L103`).
125
+
112
126
  Never put `kui-popup-surface` on an element you write; render `PopupSurface` instead (`KUI-L103`).
113
127
 
114
128
  Public tokens it reads: `--kui-layout-pill-radius`, `--kui-container-inset`, `--kui-surface-inset`, `--kui-chrome-material-raised`, `--kui-chrome-material-filter`, `--kui-scroll-clearance-block-start`, `--kui-scroll-clearance-block-end`, `--kui-safe-area-block-start`, `--kui-safe-area-block-end`. Set a token only where its public contract allows; prefer a prop.