@bk2k/ui 0.6.8 → 0.7.1

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 (503) hide show
  1. package/BUILDING.md +56 -2
  2. package/CHANGELOG.md +199 -0
  3. package/USAGE.md +102 -28
  4. package/custom-elements.json +1 -1
  5. package/dist/charts/chart-tokens.js +1 -1
  6. package/dist/charts/fields.d.ts +20 -0
  7. package/dist/charts/fields.js +27 -0
  8. package/dist/charts/frame.d.ts +2 -0
  9. package/dist/charts/frame.js +2 -1
  10. package/dist/clipboard.js +1 -0
  11. package/dist/components/bk-alert.js +3 -2
  12. package/dist/components/bk-avatar-group.js +4 -6
  13. package/dist/components/bk-avatar.d.ts +10 -0
  14. package/dist/components/bk-avatar.js +17 -0
  15. package/dist/components/bk-bar.js +2 -0
  16. package/dist/components/bk-button-group.js +1 -1
  17. package/dist/components/bk-button-top.js +2 -1
  18. package/dist/components/bk-button.d.ts +42 -14
  19. package/dist/components/bk-button.js +67 -20
  20. package/dist/components/bk-card.d.ts +7 -0
  21. package/dist/components/bk-card.js +21 -2
  22. package/dist/components/bk-carousel-controls.d.ts +2 -0
  23. package/dist/components/bk-carousel-controls.js +4 -2
  24. package/dist/components/bk-chart-area.d.ts +10 -0
  25. package/dist/components/bk-chart-bar.d.ts +17 -0
  26. package/dist/components/bk-chart-bar.js +25 -4
  27. package/dist/components/bk-chart-line.d.ts +28 -0
  28. package/dist/components/bk-chart-line.js +27 -7
  29. package/dist/components/bk-chip-group.d.ts +2 -2
  30. package/dist/components/bk-chip-group.js +4 -0
  31. package/dist/components/bk-chip.d.ts +55 -8
  32. package/dist/components/bk-chip.js +46 -8
  33. package/dist/components/bk-code.js +6 -2
  34. package/dist/components/bk-columns.d.ts +11 -0
  35. package/dist/components/bk-columns.js +8 -1
  36. package/dist/components/bk-combobox.d.ts +3 -3
  37. package/dist/components/bk-combobox.js +9 -21
  38. package/dist/components/bk-delta.d.ts +10 -0
  39. package/dist/components/bk-delta.js +8 -6
  40. package/dist/components/bk-dialog.d.ts +12 -5
  41. package/dist/components/bk-dialog.js +14 -6
  42. package/dist/components/bk-disclosure.js +4 -2
  43. package/dist/components/bk-drop-target.d.ts +7 -1
  44. package/dist/components/bk-drop-target.js +20 -4
  45. package/dist/components/bk-error-summary.d.ts +5 -0
  46. package/dist/components/bk-error-summary.js +13 -4
  47. package/dist/components/bk-facts.js +3 -2
  48. package/dist/components/bk-footnote.d.ts +73 -0
  49. package/dist/components/bk-footnote.js +97 -0
  50. package/dist/components/bk-footnotes-item.d.ts +92 -0
  51. package/dist/components/bk-footnotes-item.js +139 -0
  52. package/dist/components/bk-footnotes.d.ts +51 -0
  53. package/dist/components/bk-footnotes.js +43 -0
  54. package/dist/components/bk-icon.js +2 -2
  55. package/dist/components/bk-image-compare.d.ts +69 -6
  56. package/dist/components/bk-image-compare.js +116 -32
  57. package/dist/components/bk-image-crop.d.ts +3 -3
  58. package/dist/components/bk-image-editor.d.ts +1 -1
  59. package/dist/components/bk-image-viewer.d.ts +178 -11
  60. package/dist/components/bk-image-viewer.js +310 -52
  61. package/dist/components/bk-input-color.d.ts +2 -5
  62. package/dist/components/bk-input-color.js +0 -14
  63. package/dist/components/bk-input-file.d.ts +17 -0
  64. package/dist/components/bk-input-file.js +18 -8
  65. package/dist/components/bk-input-inline.d.ts +15 -6
  66. package/dist/components/bk-input-inline.js +22 -6
  67. package/dist/components/bk-input-number.js +2 -1
  68. package/dist/components/bk-input-search.d.ts +1 -1
  69. package/dist/components/bk-input-search.js +2 -1
  70. package/dist/components/bk-input-tags.d.ts +219 -0
  71. package/dist/components/bk-input-tags.js +293 -0
  72. package/dist/components/bk-input-text.d.ts +20 -0
  73. package/dist/components/bk-input-text.js +34 -4
  74. package/dist/components/bk-input-time.js +2 -1
  75. package/dist/components/bk-item.js +2 -1
  76. package/dist/components/bk-lightbox.d.ts +37 -4
  77. package/dist/components/bk-lightbox.js +13 -3
  78. package/dist/components/bk-link.d.ts +9 -1
  79. package/dist/components/bk-link.js +14 -4
  80. package/dist/components/bk-menu-item.d.ts +40 -0
  81. package/dist/components/bk-menu-item.js +57 -9
  82. package/dist/components/bk-menu-label.js +2 -1
  83. package/dist/components/bk-menu-list.d.ts +1 -0
  84. package/dist/components/bk-menu-list.js +10 -0
  85. package/dist/components/bk-menu.d.ts +8 -1
  86. package/dist/components/bk-menu.js +16 -5
  87. package/dist/components/bk-message-feedback.d.ts +4 -3
  88. package/dist/components/bk-message-feedback.js +7 -5
  89. package/dist/components/bk-message-list.js +2 -1
  90. package/dist/components/bk-message-source.d.ts +1 -2
  91. package/dist/components/bk-message-source.js +3 -11
  92. package/dist/components/bk-message.js +2 -0
  93. package/dist/components/bk-nav-group.js +1 -1
  94. package/dist/components/bk-nav-item.d.ts +18 -0
  95. package/dist/components/bk-nav-item.js +18 -5
  96. package/dist/components/bk-nav.d.ts +1 -1
  97. package/dist/components/bk-page-cta.d.ts +2 -0
  98. package/dist/components/bk-page-cta.js +10 -1
  99. package/dist/components/bk-page-section.d.ts +1 -1
  100. package/dist/components/bk-page-section.js +3 -9
  101. package/dist/components/bk-pane.d.ts +1 -0
  102. package/dist/components/bk-pane.js +7 -5
  103. package/dist/components/bk-panel.d.ts +1 -1
  104. package/dist/components/bk-panel.js +6 -5
  105. package/dist/components/bk-picture.d.ts +17 -4
  106. package/dist/components/bk-picture.js +8 -1
  107. package/dist/components/bk-segmented-item.d.ts +24 -4
  108. package/dist/components/bk-segmented-item.js +37 -5
  109. package/dist/components/bk-segmented.js +2 -13
  110. package/dist/components/bk-select-cascade.d.ts +1 -1
  111. package/dist/components/bk-select-tree.d.ts +1 -1
  112. package/dist/components/bk-select.d.ts +1 -1
  113. package/dist/components/bk-shell-app.d.ts +10 -4
  114. package/dist/components/bk-shell-app.js +32 -9
  115. package/dist/components/bk-shell-sites.d.ts +2 -1
  116. package/dist/components/bk-shell-sites.js +3 -5
  117. package/dist/components/bk-sortable.js +7 -17
  118. package/dist/components/bk-split-grid.d.ts +104 -3
  119. package/dist/components/bk-split-grid.js +430 -2
  120. package/dist/components/bk-stat-group.js +2 -1
  121. package/dist/components/bk-stat.d.ts +19 -0
  122. package/dist/components/bk-stat.js +8 -4
  123. package/dist/components/bk-steps.js +2 -1
  124. package/dist/components/bk-surface.d.ts +2 -0
  125. package/dist/components/bk-surface.js +6 -3
  126. package/dist/components/bk-table.d.ts +3 -1
  127. package/dist/components/bk-table.js +10 -13
  128. package/dist/components/bk-tabs-item.d.ts +45 -7
  129. package/dist/components/bk-tabs-item.js +51 -20
  130. package/dist/components/bk-tabs-panel.d.ts +6 -3
  131. package/dist/components/bk-tabs-panel.js +6 -0
  132. package/dist/components/bk-tabs.d.ts +52 -8
  133. package/dist/components/bk-tabs.js +181 -97
  134. package/dist/components/bk-text.js +2 -1
  135. package/dist/components/bk-toast-group.d.ts +3 -1
  136. package/dist/components/bk-toast-group.js +11 -1
  137. package/dist/components/bk-tooltip.d.ts +3 -1
  138. package/dist/components/bk-tooltip.js +2 -1
  139. package/dist/components/bk-video.js +2 -2
  140. package/dist/components/bk-zoom.d.ts +3 -1
  141. package/dist/components/confirm.d.ts +15 -0
  142. package/dist/components/confirm.js +27 -4
  143. package/dist/i18n/de.js +12 -1
  144. package/dist/i18n/en.d.ts +2 -0
  145. package/dist/i18n/en.js +3 -0
  146. package/dist/i18n.d.ts +16 -2
  147. package/dist/i18n.js +28 -4
  148. package/dist/icons/brands-static.d.ts +3 -0
  149. package/dist/icons/brands-static.js +5 -0
  150. package/dist/icons/core.d.ts +1 -0
  151. package/dist/icons/core.js +2 -0
  152. package/dist/icons/load-static.d.ts +3 -0
  153. package/dist/icons/load-static.js +5 -0
  154. package/dist/icons/load.js +1 -0
  155. package/dist/icons/registry.js +1 -1
  156. package/dist/icons/set/save-as.d.ts +3 -0
  157. package/dist/icons/set/save-as.js +7 -0
  158. package/dist/index.d.ts +4 -0
  159. package/dist/index.js +4 -0
  160. package/dist/internal/announcer.d.ts +14 -1
  161. package/dist/internal/announcer.js +33 -12
  162. package/dist/internal/backdrop.d.ts +19 -0
  163. package/dist/internal/backdrop.js +29 -0
  164. package/dist/internal/busy.d.ts +3 -2
  165. package/dist/internal/busy.js +4 -5
  166. package/dist/internal/choice-field.js +1 -1
  167. package/dist/internal/choice-item.d.ts +17 -6
  168. package/dist/internal/choice-item.js +20 -9
  169. package/dist/internal/cloak.js +4 -0
  170. package/dist/internal/crop-frame.d.ts +1 -1
  171. package/dist/internal/crop-frame.js +2 -7
  172. package/dist/internal/date-field.js +2 -1
  173. package/dist/internal/define.d.ts +9 -0
  174. package/dist/internal/define.js +47 -1
  175. package/dist/internal/drag.d.ts +11 -0
  176. package/dist/internal/drag.js +23 -0
  177. package/dist/internal/elements.d.ts +6 -0
  178. package/dist/internal/elements.js +5 -0
  179. package/dist/internal/english-static.d.ts +3 -0
  180. package/dist/internal/english-static.js +5 -0
  181. package/dist/internal/english.d.ts +8 -0
  182. package/dist/internal/english.js +6 -0
  183. package/dist/internal/footnotes.d.ts +56 -0
  184. package/dist/internal/footnotes.js +143 -0
  185. package/dist/internal/handle-menu.js +2 -5
  186. package/dist/internal/hue.d.ts +8 -0
  187. package/dist/internal/hue.js +15 -4
  188. package/dist/internal/late/bk-shell-app.d.ts +4 -0
  189. package/dist/internal/late/bk-shell-app.js +7 -0
  190. package/dist/internal/late/bk-table.d.ts +4 -0
  191. package/dist/internal/late/bk-table.js +17 -0
  192. package/dist/internal/late/bk-tabs.d.ts +4 -0
  193. package/dist/internal/late/bk-tabs.js +8 -0
  194. package/dist/internal/late/handle-menu.d.ts +4 -0
  195. package/dist/internal/late/handle-menu.js +9 -0
  196. package/dist/internal/late/static.d.ts +7 -0
  197. package/dist/internal/late/static.js +5 -0
  198. package/dist/internal/late.d.ts +8 -3
  199. package/dist/internal/late.js +19 -4
  200. package/dist/internal/link.d.ts +2 -0
  201. package/dist/internal/link.js +11 -1
  202. package/dist/internal/own-text.d.ts +8 -0
  203. package/dist/internal/own-text.js +7 -0
  204. package/dist/internal/scope.js +1 -1
  205. package/dist/internal/scroll-lock.d.ts +4 -1
  206. package/dist/internal/scroll-lock.js +17 -4
  207. package/dist/internal/slider.js +2 -1
  208. package/dist/internal/styles.js +3 -0
  209. package/dist/internal/submit.d.ts +23 -0
  210. package/dist/internal/submit.js +57 -0
  211. package/dist/internal/tags.d.ts +15 -0
  212. package/dist/internal/tags.js +44 -0
  213. package/dist/internal/text-field.d.ts +2 -0
  214. package/dist/internal/text-field.js +8 -0
  215. package/dist/internal/toggle-control.js +3 -1
  216. package/dist/jsx.d.ts +222 -54
  217. package/dist/kit.d.ts +1 -0
  218. package/dist/kit.js +3 -0
  219. package/dist/reset.css +10 -0
  220. package/dist/standalone/all.js +226 -221
  221. package/dist/standalone/appearance.js +1 -1
  222. package/dist/standalone/bk-accordion-item.js +4 -4
  223. package/dist/standalone/bk-accordion.js +2 -2
  224. package/dist/standalone/bk-action-bar.js +3 -3
  225. package/dist/standalone/bk-alert-offline.js +1 -2
  226. package/dist/standalone/bk-alert.js +17 -13
  227. package/dist/standalone/bk-app-state.js +1 -1
  228. package/dist/standalone/bk-attachment.js +4 -4
  229. package/dist/standalone/bk-avatar-group.js +12 -10
  230. package/dist/standalone/bk-avatar.js +15 -5
  231. package/dist/standalone/bk-badge.js +2 -2
  232. package/dist/standalone/bk-bar.js +3 -1
  233. package/dist/standalone/bk-brand.js +3 -3
  234. package/dist/standalone/bk-breadcrumbs.js +5 -5
  235. package/dist/standalone/bk-button-copy.js +7 -7
  236. package/dist/standalone/bk-button-group.js +5 -5
  237. package/dist/standalone/bk-button-share.js +7 -7
  238. package/dist/standalone/bk-button-top.js +9 -8
  239. package/dist/standalone/bk-button.js +74 -34
  240. package/dist/standalone/bk-calendar-event.js +1 -1
  241. package/dist/standalone/bk-calendar-week.js +3 -3
  242. package/dist/standalone/bk-calendar.js +4 -4
  243. package/dist/standalone/bk-card.js +26 -7
  244. package/dist/standalone/bk-carousel-controls.js +7 -6
  245. package/dist/standalone/bk-carousel-item.js +2 -2
  246. package/dist/standalone/bk-carousel.js +1 -1
  247. package/dist/standalone/bk-chart-area.js +1 -1
  248. package/dist/standalone/bk-chart-bar-list.js +8 -8
  249. package/dist/standalone/bk-chart-bar.js +145 -117
  250. package/dist/standalone/bk-chart-bridge.js +7 -7
  251. package/dist/standalone/bk-chart-bullet.js +6 -6
  252. package/dist/standalone/bk-chart-calendar.js +7 -7
  253. package/dist/standalone/bk-chart-heatmap.js +7 -7
  254. package/dist/standalone/bk-chart-histogram.js +5 -5
  255. package/dist/standalone/bk-chart-legend.js +6 -6
  256. package/dist/standalone/bk-chart-line.js +128 -107
  257. package/dist/standalone/bk-chart-mark.js +1 -1
  258. package/dist/standalone/bk-chart-scatter.js +6 -6
  259. package/dist/standalone/bk-chart-sparkline.js +6 -6
  260. package/dist/standalone/bk-chart-stacked-bar.js +7 -7
  261. package/dist/standalone/bk-chart-tracker.js +6 -6
  262. package/dist/standalone/bk-chart-waterfall.js +6 -6
  263. package/dist/standalone/bk-checkbox-group.js +7 -7
  264. package/dist/standalone/bk-checkbox.js +4 -4
  265. package/dist/standalone/bk-chip-group.js +11 -7
  266. package/dist/standalone/bk-chip.js +59 -18
  267. package/dist/standalone/bk-cluster.js +1 -1
  268. package/dist/standalone/bk-code-diff.js +4 -4
  269. package/dist/standalone/bk-code-stack.js +4 -4
  270. package/dist/standalone/bk-code.js +10 -6
  271. package/dist/standalone/bk-color-panel.js +5 -5
  272. package/dist/standalone/bk-columns.js +13 -5
  273. package/dist/standalone/bk-combobox.js +23 -31
  274. package/dist/standalone/bk-command-menu.js +6 -6
  275. package/dist/standalone/bk-command-palette.js +8 -7
  276. package/dist/standalone/bk-composer.js +6 -6
  277. package/dist/standalone/bk-delta.js +11 -10
  278. package/dist/standalone/bk-diagram.js +1 -1
  279. package/dist/standalone/bk-dialog.js +1 -1
  280. package/dist/standalone/bk-disclosure.js +7 -5
  281. package/dist/standalone/bk-divider.js +5 -5
  282. package/dist/standalone/bk-drawer.js +3 -3
  283. package/dist/standalone/bk-drop-target.js +12 -6
  284. package/dist/standalone/bk-empty-state.js +3 -3
  285. package/dist/standalone/bk-error-summary.js +9 -6
  286. package/dist/standalone/bk-facts-item.js +2 -2
  287. package/dist/standalone/bk-facts.js +9 -8
  288. package/dist/standalone/bk-feature.js +3 -3
  289. package/dist/standalone/bk-fieldset.js +3 -3
  290. package/dist/standalone/bk-filter-bar.js +4 -4
  291. package/dist/standalone/bk-folder-browser.js +4 -4
  292. package/dist/standalone/bk-footnote.js +82 -0
  293. package/dist/standalone/bk-footnotes-item.js +122 -0
  294. package/dist/standalone/bk-footnotes.js +37 -0
  295. package/dist/standalone/bk-form-guard.js +2 -2
  296. package/dist/standalone/bk-form-steps.js +3 -3
  297. package/dist/standalone/bk-grid.js +1 -1
  298. package/dist/standalone/bk-icon-tile.js +3 -3
  299. package/dist/standalone/bk-icon.js +1 -1
  300. package/dist/standalone/bk-image-compare.js +127 -58
  301. package/dist/standalone/bk-image-crop.js +6 -6
  302. package/dist/standalone/bk-image-editor.js +1 -1
  303. package/dist/standalone/bk-image-viewer.js +283 -92
  304. package/dist/standalone/bk-input-code.js +4 -4
  305. package/dist/standalone/bk-input-color.js +4 -14
  306. package/dist/standalone/bk-input-date-range.js +2 -2
  307. package/dist/standalone/bk-input-date.js +2 -2
  308. package/dist/standalone/bk-input-file.js +22 -15
  309. package/dist/standalone/bk-input-group.js +4 -4
  310. package/dist/standalone/bk-input-inline.js +17 -10
  311. package/dist/standalone/bk-input-number.js +9 -8
  312. package/dist/standalone/bk-input-rating.js +6 -6
  313. package/dist/standalone/bk-input-rich.js +1 -1
  314. package/dist/standalone/bk-input-search.js +23 -22
  315. package/dist/standalone/bk-input-slider-range.js +5 -5
  316. package/dist/standalone/bk-input-slider.js +5 -5
  317. package/dist/standalone/bk-input-tags.js +224 -0
  318. package/dist/standalone/bk-input-text.js +1 -1
  319. package/dist/standalone/bk-input-time-zone.js +1 -1
  320. package/dist/standalone/bk-input-time.js +29 -28
  321. package/dist/standalone/bk-item-group.js +3 -3
  322. package/dist/standalone/bk-item.js +12 -11
  323. package/dist/standalone/bk-kbd-shortcuts.js +4 -3
  324. package/dist/standalone/bk-kbd.js +68 -1
  325. package/dist/standalone/bk-lightbox.js +24 -7
  326. package/dist/standalone/bk-lines.js +1 -1
  327. package/dist/standalone/bk-link.js +33 -19
  328. package/dist/standalone/bk-listbox-columns.js +8 -8
  329. package/dist/standalone/bk-listbox-item.js +1 -1
  330. package/dist/standalone/bk-listbox-search.js +7 -7
  331. package/dist/standalone/bk-listbox-transfer.js +6 -6
  332. package/dist/standalone/bk-listbox.js +7 -7
  333. package/dist/standalone/bk-logo-wall.js +2 -2
  334. package/dist/standalone/bk-logo.js +4 -4
  335. package/dist/standalone/bk-menu-bar.js +3 -3
  336. package/dist/standalone/bk-menu-context.js +1 -1
  337. package/dist/standalone/bk-menu-divider.js +2 -2
  338. package/dist/standalone/bk-menu-item.js +73 -29
  339. package/dist/standalone/bk-menu-label.js +7 -6
  340. package/dist/standalone/bk-menu-list.js +10 -4
  341. package/dist/standalone/bk-menu.js +19 -10
  342. package/dist/standalone/bk-message-approval.js +4 -4
  343. package/dist/standalone/bk-message-branches.js +3 -3
  344. package/dist/standalone/bk-message-citation.js +10 -10
  345. package/dist/standalone/bk-message-feedback.js +10 -6
  346. package/dist/standalone/bk-message-list.js +6 -5
  347. package/dist/standalone/bk-message-reasoning.js +5 -5
  348. package/dist/standalone/bk-message-source.js +13 -21
  349. package/dist/standalone/bk-message-tool-group.js +5 -5
  350. package/dist/standalone/bk-message-tool.js +5 -5
  351. package/dist/standalone/bk-message.js +6 -4
  352. package/dist/standalone/bk-meter.js +3 -3
  353. package/dist/standalone/bk-model-viewer.js +1 -1
  354. package/dist/standalone/bk-nav-divider.js +2 -2
  355. package/dist/standalone/bk-nav-group.js +9 -9
  356. package/dist/standalone/bk-nav-item.js +31 -23
  357. package/dist/standalone/bk-nav-toc.js +3 -3
  358. package/dist/standalone/bk-nav.js +3 -3
  359. package/dist/standalone/bk-overflow.js +3 -3
  360. package/dist/standalone/bk-page-cta.js +13 -4
  361. package/dist/standalone/bk-page-footer-column.js +2 -2
  362. package/dist/standalone/bk-page-footer.js +3 -3
  363. package/dist/standalone/bk-page-header.js +3 -3
  364. package/dist/standalone/bk-page-hero.js +3 -3
  365. package/dist/standalone/bk-page-pager.js +5 -5
  366. package/dist/standalone/bk-page-section.js +6 -6
  367. package/dist/standalone/bk-pagination.js +6 -6
  368. package/dist/standalone/bk-pane.js +10 -9
  369. package/dist/standalone/bk-panel.js +9 -10
  370. package/dist/standalone/bk-period-nav.js +4 -4
  371. package/dist/standalone/bk-picture.js +1 -166
  372. package/dist/standalone/bk-popover-help.js +3 -3
  373. package/dist/standalone/bk-popover.js +2 -2
  374. package/dist/standalone/bk-presence-cursor.js +3 -3
  375. package/dist/standalone/bk-preview.js +4 -4
  376. package/dist/standalone/bk-progress.js +3 -3
  377. package/dist/standalone/bk-prose.js +3 -3
  378. package/dist/standalone/bk-qr-code.js +1 -1
  379. package/dist/standalone/bk-radio-group.js +7 -7
  380. package/dist/standalone/bk-radio.js +3 -3
  381. package/dist/standalone/bk-rating.js +5 -5
  382. package/dist/standalone/bk-scroll.js +3 -3
  383. package/dist/standalone/bk-segmented-item.js +40 -16
  384. package/dist/standalone/bk-segmented.js +17 -15
  385. package/dist/standalone/bk-select-cascade.js +3 -3
  386. package/dist/standalone/bk-select-tree.js +4 -4
  387. package/dist/standalone/bk-select.js +5 -5
  388. package/dist/standalone/bk-shell-app.js +1 -1221
  389. package/dist/standalone/bk-shell-centered.js +2 -2
  390. package/dist/standalone/bk-shell-sites.js +5 -7
  391. package/dist/standalone/bk-skeleton.js +2 -2
  392. package/dist/standalone/bk-sortable.js +55 -60
  393. package/dist/standalone/bk-spinner.js +2 -2
  394. package/dist/standalone/bk-split-grid.js +324 -44
  395. package/dist/standalone/bk-split.js +8 -8
  396. package/dist/standalone/bk-stack.js +1 -1
  397. package/dist/standalone/bk-stat-group.js +8 -7
  398. package/dist/standalone/bk-stat.js +12 -9
  399. package/dist/standalone/bk-status-dot.js +3 -3
  400. package/dist/standalone/bk-steps-item.js +5 -5
  401. package/dist/standalone/bk-steps.js +8 -7
  402. package/dist/standalone/bk-surface.js +1 -1
  403. package/dist/standalone/bk-swatch-group.js +8 -8
  404. package/dist/standalone/bk-swatch-palette.js +1 -1
  405. package/dist/standalone/bk-swatch.js +2 -2
  406. package/dist/standalone/bk-switch.js +4 -4
  407. package/dist/standalone/bk-table.js +1 -1937
  408. package/dist/standalone/bk-tabs-item.js +58 -35
  409. package/dist/standalone/bk-tabs-panel.js +7 -3
  410. package/dist/standalone/bk-tabs.js +3 -352
  411. package/dist/standalone/bk-tasks-item.js +4 -4
  412. package/dist/standalone/bk-tasks.js +2 -2
  413. package/dist/standalone/bk-testimonial.js +3 -3
  414. package/dist/standalone/bk-text.js +21 -20
  415. package/dist/standalone/bk-time-countdown.js +4 -4
  416. package/dist/standalone/bk-time-relative.js +3 -3
  417. package/dist/standalone/bk-timeline-item.js +4 -4
  418. package/dist/standalone/bk-timeline.js +2 -2
  419. package/dist/standalone/bk-toast-group.js +1 -1
  420. package/dist/standalone/bk-toast.js +4 -4
  421. package/dist/standalone/bk-toolbar.js +2 -2
  422. package/dist/standalone/bk-tooltip.js +8 -7
  423. package/dist/standalone/bk-tree-item.js +6 -6
  424. package/dist/standalone/bk-tree.js +5 -5
  425. package/dist/standalone/bk-video.js +6 -6
  426. package/dist/standalone/bk-visually-hidden.js +2 -2
  427. package/dist/standalone/bk-zoom.js +5 -5
  428. package/dist/standalone/chunks/announcer-6tMlCOq1.js +41 -0
  429. package/dist/standalone/chunks/{appearance-waHnV0kk.js → appearance-CBOJXbmC.js} +1 -1
  430. package/dist/standalone/chunks/{bk-alert-offline-B1bQxOZp.js → bk-alert-offline-hCLuG-RM.js} +3 -3
  431. package/dist/standalone/chunks/{bk-carousel-BCwIQhG5.js → bk-carousel-_dudBMVq.js} +4 -4
  432. package/dist/standalone/chunks/{bk-diagram-DWK8CvRZ.js → bk-diagram-BB2odomE.js} +5 -5
  433. package/dist/standalone/chunks/{bk-dialog-DX0cPJ1o.js → bk-dialog-DcvwnOtN.js} +59 -25
  434. package/dist/standalone/chunks/{bk-icon-DssFsNuB.js → bk-icon-D4kI4F18.js} +4 -3
  435. package/dist/standalone/chunks/{bk-image-editor-DXEj9gCu.js → bk-image-editor-SRVkHI-4.js} +5 -5
  436. package/dist/standalone/chunks/{bk-input-date-range-Cbx_lpf0.js → bk-input-date-range-C0Vd-p0T.js} +2 -2
  437. package/dist/standalone/chunks/{bk-input-rich-ZB68vziu.js → bk-input-rich-AmDv87E5.js} +6 -6
  438. package/dist/standalone/chunks/{bk-input-text-DD32uWNO.js → bk-input-text-2n89GDIT.js} +73 -54
  439. package/dist/standalone/chunks/{bk-model-viewer-Dr81ahVv.js → bk-model-viewer-BoNYBd6W.js} +4 -4
  440. package/dist/standalone/chunks/bk-picture-CA5gLxgZ.js +186 -0
  441. package/dist/standalone/chunks/{bk-qr-code-QaYvZwOR.js → bk-qr-code-CSFfc8As.js} +3 -3
  442. package/dist/standalone/chunks/bk-shell-app-BlCOG25y.js +1236 -0
  443. package/dist/standalone/chunks/{bk-surface-DkIhrWMt.js → bk-surface-BULRdKam.js} +9 -7
  444. package/dist/standalone/chunks/{bk-swatch-palette-BNNXTP3w.js → bk-swatch-palette-Cqj85tSW.js} +6 -6
  445. package/dist/standalone/chunks/bk-table-DWlD7yoM.js +1945 -0
  446. package/dist/standalone/chunks/bk-tabs-STkr3-E1.js +422 -0
  447. package/dist/standalone/chunks/{bk-toast-group-BSeO_rPs.js → bk-toast-group-5nZg7BaJ.js} +27 -24
  448. package/dist/standalone/chunks/{brush-Bn3lPdHN.js → brush-DALmXSru.js} +18 -2
  449. package/dist/standalone/chunks/{busy-B7Mxemwm.js → busy-eG3uHonz.js} +5 -4
  450. package/dist/standalone/chunks/{chart-tokens-D1Exf7BW.js → chart-tokens-DQ4hVSmn.js} +2 -2
  451. package/dist/standalone/chunks/{choice-field-CGvE4tyb.js → choice-field-B0oe_9fI.js} +6 -6
  452. package/dist/standalone/chunks/{choice-item-B6-9ZRlf.js → choice-item-Cx-nm1js.js} +17 -8
  453. package/dist/standalone/chunks/{clipboard-Crzt1Sh9.js → clipboard-RqIeP9Uz.js} +1 -1
  454. package/dist/standalone/chunks/{clipboard-BKlrP5rj.js → clipboard-UVLSkL4C.js} +1 -1
  455. package/dist/standalone/chunks/{crop-frame-poLCGrBG.js → crop-frame-Z9N0QML4.js} +1 -11
  456. package/dist/standalone/chunks/{date-field-BlI6grfT.js → date-field-Dy1_qxNv.js} +48 -47
  457. package/dist/standalone/chunks/define-6OfuRn5c.js +60 -0
  458. package/dist/standalone/chunks/drag-DT4__0t9.js +12 -0
  459. package/dist/standalone/chunks/footnotes-BeisMxLk.js +94 -0
  460. package/dist/standalone/chunks/{form-control-CyXQIJ2x.js → form-control-Bmk0SRDX.js} +2 -2
  461. package/dist/standalone/chunks/{frame-abXBnl8a.js → frame-xIMVEUCi.js} +5 -4
  462. package/dist/standalone/chunks/{handle-menu-ZVR_msk2.js → handle-menu-BAe9fPYJ.js} +14 -33
  463. package/dist/standalone/chunks/{heading-text-CV5gBf7k.js → heading-text-B2kF-b8p.js} +1 -1
  464. package/dist/standalone/chunks/hue-vLbNdAEl.js +20 -0
  465. package/dist/standalone/chunks/{i18n-B6Al9xCK.js → i18n-DFfGgd3d.js} +49 -34
  466. package/dist/standalone/chunks/{i18n-BI16HQmm.js → i18n-DQAcbHkY.js} +1 -1
  467. package/dist/standalone/chunks/late-CPQ_RbU-.js +30 -0
  468. package/dist/standalone/chunks/link--YWr8exL.js +69 -0
  469. package/dist/standalone/chunks/{marks-0kbeB4n8.js → marks-pOUDNUf1.js} +2 -2
  470. package/dist/standalone/chunks/{options-DMEc8rQt.js → options-ySaDL-dW.js} +2 -2
  471. package/dist/standalone/chunks/own-text-mpZVnMyX.js +5 -0
  472. package/dist/standalone/chunks/{palettes-CKLHSIPx.js → palettes-J4bQ21ks.js} +2 -2
  473. package/dist/standalone/chunks/{popover-base-ac49G87f.js → popover-base-hxo-Vh6E.js} +2 -2
  474. package/dist/standalone/chunks/{prose-BG4oQH-i.js → prose-BiuJgiah.js} +1 -1
  475. package/dist/standalone/chunks/{ramp-ggoyjMvC.js → ramp-CGDOcqBZ.js} +1 -1
  476. package/dist/standalone/chunks/save-as-DBGZjczB.js +6 -0
  477. package/dist/standalone/chunks/shortcuts-DPxCSO4M.js +210 -0
  478. package/dist/standalone/chunks/{slider-BWT8Fmwz.js → slider-jp3d-Ld-.js} +15 -14
  479. package/dist/standalone/chunks/{stars-BN9M_9Q1.js → stars-BAUc_LqI.js} +1 -1
  480. package/dist/standalone/chunks/{styles-DwSR-9a3.js → styles-CaeyhYDA.js} +3 -0
  481. package/dist/standalone/chunks/submit-BjBGB8OW.js +42 -0
  482. package/dist/standalone/chunks/{summary-BK-B4m5A.js → summary-W5s0TFqV.js} +1 -1
  483. package/dist/standalone/chunks/tags-CMLAGsVw.js +37 -0
  484. package/dist/standalone/chunks/{text-field-4IUUpRHE.js → text-field-CufOGdfr.js} +17 -11
  485. package/dist/standalone/chunks/{toggle-control-ioV2jhNY.js → toggle-control-Cgqp1jhf.js} +5 -3
  486. package/dist/standalone/chunks/{tokens-BuahF1lF.js → tokens-C_ul7pL9.js} +4 -3
  487. package/dist/standalone/chunks/{virtual-B-1oN14Y.js → virtual-D-qgACnE.js} +1 -1
  488. package/dist/standalone/confirm.js +27 -14
  489. package/dist/standalone/i18n-de.js +13 -2
  490. package/dist/standalone/icons.js +100 -98
  491. package/dist/standalone/links.js +1 -1
  492. package/dist/standalone/reset.css +10 -0
  493. package/dist/standalone/toast.js +1 -1
  494. package/dist/standalone/tokens.css +6 -5
  495. package/dist/tokens.css +6 -5
  496. package/dist/tokens.js +4 -3
  497. package/package.json +25 -2
  498. package/dist/standalone/chunks/announcer-haFcvqbe.js +0 -25
  499. package/dist/standalone/chunks/bk-kbd-B_TlKzWj.js +0 -275
  500. package/dist/standalone/chunks/define-CzVPD4Zi.js +0 -30
  501. package/dist/standalone/chunks/hue-Jvb-141g.js +0 -14
  502. package/dist/standalone/chunks/keyed-CZ2AaouM.js +0 -16
  503. package/dist/standalone/chunks/link-CWSMsx04.js +0 -60
package/dist/jsx.d.ts CHANGED
@@ -75,15 +75,18 @@ import type { BkFeature } from "./components/bk-feature.js";
75
75
  import type { BkFieldset } from "./components/bk-fieldset.js";
76
76
  import type { BkFilterBar, FilterBarRemoveDetail } from "./components/bk-filter-bar.js";
77
77
  import type { BkFolderBrowser, FolderBrowserNavigateDetail } from "./components/bk-folder-browser.js";
78
+ import type { BkFootnote } from "./components/bk-footnote.js";
79
+ import type { BkFootnotesItem } from "./components/bk-footnotes-item.js";
80
+ import type { BkFootnotes } from "./components/bk-footnotes.js";
78
81
  import type { BkFormGuard } from "./components/bk-form-guard.js";
79
82
  import type { BkFormSteps, FormStepDetail } from "./components/bk-form-steps.js";
80
83
  import type { BkGrid } from "./components/bk-grid.js";
81
84
  import type { BkIconTile } from "./components/bk-icon-tile.js";
82
85
  import type { BkIcon } from "./components/bk-icon.js";
83
- import type { BkImageCompare } from "./components/bk-image-compare.js";
86
+ import type { BkImageCompare, ImageCompareLoadDetail, ImageCompareView } from "./components/bk-image-compare.js";
84
87
  import type { BkImageCrop, ImageCropRect } from "./components/bk-image-crop.js";
85
88
  import type { BkImageEditor, ImageEdits } from "./components/bk-image-editor.js";
86
- import type { BkImageViewer, ImageViewerChangeDetail } from "./components/bk-image-viewer.js";
89
+ import type { BkImageViewer, ImageViewerChangeDetail, ImageViewerPageDetail, ImageViewerView } from "./components/bk-image-viewer.js";
87
90
  import type { BkInputCode } from "./components/bk-input-code.js";
88
91
  import type { BkInputColor } from "./components/bk-input-color.js";
89
92
  import type { BkInputDateRange } from "./components/bk-input-date-range.js";
@@ -97,6 +100,7 @@ import type { BkInputRich } from "./components/bk-input-rich.js";
97
100
  import type { BkInputSearch, SearchDetail } from "./components/bk-input-search.js";
98
101
  import type { BkInputSliderRange } from "./components/bk-input-slider-range.js";
99
102
  import type { BkInputSlider } from "./components/bk-input-slider.js";
103
+ import type { BkInputTags, InputTagsAddDetail, InputTagsRemoveDetail } from "./components/bk-input-tags.js";
100
104
  import type { BkInputText } from "./components/bk-input-text.js";
101
105
  import type { BkInputTimeZone } from "./components/bk-input-time-zone.js";
102
106
  import type { BkInputTime } from "./components/bk-input-time.js";
@@ -104,7 +108,7 @@ import type { BkItemGroup, ItemGroupSelectDetail } from "./components/bk-item-gr
104
108
  import type { BkItem } from "./components/bk-item.js";
105
109
  import type { BkKbdShortcuts } from "./components/bk-kbd-shortcuts.js";
106
110
  import type { BkKbd } from "./components/bk-kbd.js";
107
- import type { BkLightbox, LightboxChangeDetail } from "./components/bk-lightbox.js";
111
+ import type { BkLightbox, LightboxChangeDetail, LightboxPageDetail } from "./components/bk-lightbox.js";
108
112
  import type { BkLines } from "./components/bk-lines.js";
109
113
  import type { BkLink } from "./components/bk-link.js";
110
114
  import type { BkListboxColumns } from "./components/bk-listbox-columns.js";
@@ -117,7 +121,7 @@ import type { BkLogo } from "./components/bk-logo.js";
117
121
  import type { BkMenuBar } from "./components/bk-menu-bar.js";
118
122
  import type { BkMenuContext } from "./components/bk-menu-context.js";
119
123
  import type { BkMenuDivider } from "./components/bk-menu-divider.js";
120
- import type { BkMenuItem } from "./components/bk-menu-item.js";
124
+ import type { BkMenuItem, MenuItemRemoveDetail } from "./components/bk-menu-item.js";
121
125
  import type { BkMenuLabel } from "./components/bk-menu-label.js";
122
126
  import type { BkMenuList, MenuSelectDetail } from "./components/bk-menu-list.js";
123
127
  import type { BkMenu } from "./components/bk-menu.js";
@@ -150,7 +154,7 @@ import type { BkPagination, PaginationChangeDetail, PaginationSelectDetail } fro
150
154
  import type { BkPane } from "./components/bk-pane.js";
151
155
  import type { BkPanel } from "./components/bk-panel.js";
152
156
  import type { BkPeriodNav } from "./components/bk-period-nav.js";
153
- import type { BkPicture } from "./components/bk-picture.js";
157
+ import type { BkPicture, PictureErrorDetail, PictureLoadDetail } from "./components/bk-picture.js";
154
158
  import type { BkPopoverHelp } from "./components/bk-popover-help.js";
155
159
  import type { BkPopover } from "./components/bk-popover.js";
156
160
  import type { BkPresenceCursor } from "./components/bk-presence-cursor.js";
@@ -173,7 +177,7 @@ import type { BkShellSites } from "./components/bk-shell-sites.js";
173
177
  import type { BkSkeleton } from "./components/bk-skeleton.js";
174
178
  import type { BkSortable, SortableReorderDetail } from "./components/bk-sortable.js";
175
179
  import type { BkSpinner } from "./components/bk-spinner.js";
176
- import type { BkSplitGrid, SplitGridResizeDetail } from "./components/bk-split-grid.js";
180
+ import type { BkSplitGrid, SplitGridDragOutsideDetail, SplitGridDropOutsideDetail, SplitGridReorderDetail, SplitGridResizeDetail } from "./components/bk-split-grid.js";
177
181
  import type { BkSplit, SplitEventDetail } from "./components/bk-split.js";
178
182
  import type { BkStack } from "./components/bk-stack.js";
179
183
  import type { BkStatGroup } from "./components/bk-stat-group.js";
@@ -496,7 +500,7 @@ declare module "react" {
496
500
  "icon-end"?: BkAttr<BkButton["iconEnd"]>;
497
501
  /** Accessible name and tooltip; needed when the button shows only an icon. */
498
502
  "label"?: BkButton["label"];
499
- /** Disables the button: no focus, no clicks, no form submit. */
503
+ /** Disables the button: no focus, no clicks, no form submit. A disabled ancestor `<fieldset>` disables it too (not a link button). */
500
504
  "disabled"?: BkButton["disabled"];
501
505
  /** Turns the button off and says why: a tooltip and the accessible description. The button stays focusable. */
502
506
  "disabled-reason"?: BkAttr<BkButton["disabledReason"]>;
@@ -508,7 +512,7 @@ declare module "react" {
508
512
  "block"?: BkButton["block"];
509
513
  /** Position of the content of a `block` button: `center` (default), or `start` for a list of answers. A long label of a `block` button wraps, and the button grows with it. */
510
514
  "align"?: BkButton["align"];
511
- /** Toggle state; sets aria-pressed and the pressed style. When unset (the default), the button is not a toggle. Any value, `false` too, makes it a toggle, so an unpressed toggle announces `aria-pressed="false"`. */
515
+ /** Toggle state; sets `aria-pressed` and the pressed look. When unset (the default), the button is not a toggle. The property `false` makes an unpressed toggle that announces `aria-pressed="false"`. In markup, write `pressed="false"` for it. The attribute `pressed` (or any other value) is a pressed toggle. */
512
516
  "pressed"?: BkButton["pressed"];
513
517
  /** Pill on a floating surface with a level-2 shadow, for controls laid over content. */
514
518
  "floating"?: BkButton["floating"];
@@ -707,6 +711,8 @@ declare module "react" {
707
711
  "bare"?: BkChartArea["bare"];
708
712
  /** Intl.NumberFormat options for values. */
709
713
  "value-format"?: BkAttr<BkChartArea["valueFormat"]>;
714
+ /** Fields of the row that the tooltip, the data table and the name of each point list without drawing them. The attribute lists the keys (`tooltip-fields="prints likes"`). The property takes keys or `{ key, label, format }` objects, where `label` names the field and `format` are `Intl.NumberFormat` options. */
715
+ "tooltip-fields"?: BkAttr<BkChartArea["tooltipFields"]>;
710
716
  /** `up` (default): larger values are higher. `down`: the value axis runs down. The smallest value is at the top and is the best (a rank). Lines only. */
711
717
  "y-direction"?: BkAttr<BkChartArea["yDirection"]>;
712
718
  /** The start of the value axis, for example `1` for ranks. Default: a round value below the data (zero with `zero`). With `y-direction="down"` and whole numbers, the default is the smallest value. */
@@ -715,6 +721,8 @@ declare module "react" {
715
721
  "toggleable"?: BkChartArea["toggleable"];
716
722
  /** With `toggleable`: stores the visible series in the app state (entry `chart-series:<persist-key>`, see `<bk-app-state>`). */
717
723
  "persist-key"?: BkAttr<BkChartArea["persistKey"]>;
724
+ /** `break` (default): a missing value breaks the line. `connect`: a straight segment bridges the gap between two real points. `gaps` in a series overrides it. Lines only: a stacked layer counts a missing value as 0. */
725
+ "gaps"?: BkChartArea["gaps"];
718
726
  /** Rows, one per x position. */
719
727
  "data"?: BkChartArea["data"];
720
728
  /** The series to draw, in fixed colour order (default: every numeric field except `x`). */
@@ -727,7 +735,7 @@ declare module "react" {
727
735
  "onchange"?: (event: CustomEvent<ChartSeriesChangeDetail>) => void;
728
736
  /** The pointer or the focus moves to an event mark or leaves it, or the user selects it (click, Enter, Space). The detail is `{ kind, mark, id, value, label }`. `kind` is `enter`, `leave` or `select`. The event is cancelable when `kind` is `select`. */
729
737
  "onmark"?: (event: CustomEvent<ChartMarkDetail>) => void;
730
- } & BkProps<BkChartArea, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "yDirection" | "persistKey">, "onSelect" | "onSelectCapture" | "onMark" | "onMarkCapture">;
738
+ } & BkProps<BkChartArea, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "tooltipFields" | "yDirection" | "persistKey">, "onSelect" | "onSelectCapture" | "onMark" | "onMarkCapture">;
731
739
  "bk-chart-bar-list": BkElementProps<BkChartBarList, {
732
740
  /** Accessible name of the table. */
733
741
  "label"?: BkChartBarList["label"];
@@ -809,6 +817,8 @@ declare module "react" {
809
817
  "variant"?: BkChartBar["variant"];
810
818
  /** Intl.NumberFormat options for values (`{"style":"currency","currency":"EUR"}`). */
811
819
  "value-format"?: BkAttr<BkChartBar["valueFormat"]>;
820
+ /** Fields of the row that the tooltip, the data table and the name of each bar list without drawing them. The attribute lists the keys (`tooltip-fields="prints likes"`). The property takes keys or `{ key, label, format }` objects, where `label` names the field and `format` are `Intl.NumberFormat` options. */
821
+ "tooltip-fields"?: BkAttr<BkChartBar["tooltipFields"]>;
812
822
  /** Rows, one per category. */
813
823
  "data"?: BkChartBar["data"];
814
824
  /** The series to draw, in fixed colour order (default: every numeric field except `x`). */
@@ -819,7 +829,7 @@ declare module "react" {
819
829
  "onselect"?: (event: CustomEvent<ChartBarSelectDetail>) => void;
820
830
  /** With `href`: the user makes a plain click on the link of a category. The detail is `{ href }`. The event bubbles, is composed and is cancelable (the router of the app handles the click). */
821
831
  "onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
822
- } & BkProps<BkChartBar, "xLabel" | "detailLabel" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat">, "onSelect" | "onSelectCapture" | "onNavigate" | "onNavigateCapture">;
832
+ } & BkProps<BkChartBar, "xLabel" | "detailLabel" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "tooltipFields">, "onSelect" | "onSelectCapture" | "onNavigate" | "onNavigateCapture">;
823
833
  "bk-chart-bridge": BkElementProps<BkChartBridge, {
824
834
  /** `default`: each step in its own colour, the totals neutral. `change`: steps up in success, steps down in danger. */
825
835
  "variant"?: BkChartBridge["variant"];
@@ -1025,6 +1035,8 @@ declare module "react" {
1025
1035
  "bare"?: BkChartLine["bare"];
1026
1036
  /** Intl.NumberFormat options for values. */
1027
1037
  "value-format"?: BkAttr<BkChartLine["valueFormat"]>;
1038
+ /** Fields of the row that the tooltip, the data table and the name of each point list without drawing them. The attribute lists the keys (`tooltip-fields="prints likes"`). The property takes keys or `{ key, label, format }` objects, where `label` names the field and `format` are `Intl.NumberFormat` options. */
1039
+ "tooltip-fields"?: BkAttr<BkChartLine["tooltipFields"]>;
1028
1040
  /** `up` (default): larger values are higher. `down`: the value axis runs down. The smallest value is at the top and is the best (a rank). Lines only. */
1029
1041
  "y-direction"?: BkAttr<BkChartLine["yDirection"]>;
1030
1042
  /** The start of the value axis, for example `1` for ranks. Default: a round value below the data (zero with `zero`). With `y-direction="down"` and whole numbers, the default is the smallest value. */
@@ -1033,6 +1045,8 @@ declare module "react" {
1033
1045
  "toggleable"?: BkChartLine["toggleable"];
1034
1046
  /** With `toggleable`: stores the visible series in the app state (entry `chart-series:<persist-key>`, see `<bk-app-state>`). */
1035
1047
  "persist-key"?: BkAttr<BkChartLine["persistKey"]>;
1048
+ /** `break` (default): a missing value breaks the line. `connect`: a straight segment bridges the gap between two real points. `gaps` in a series overrides it. Lines only: a stacked layer counts a missing value as 0. */
1049
+ "gaps"?: BkChartLine["gaps"];
1036
1050
  /** Rows, one per x position. */
1037
1051
  "data"?: BkChartLine["data"];
1038
1052
  /** The series to draw, in fixed colour order (default: every numeric field except `x`). */
@@ -1045,7 +1059,7 @@ declare module "react" {
1045
1059
  "onmark"?: (event: CustomEvent<ChartMarkDetail>) => void;
1046
1060
  /** The range of a `selectable` chart. The detail is `{ from, to, fromIndex, toIndex }`. The event is cancelable: cancel it to keep the zoom and use the range yourself. After a reset, `from` and `to` are null. */
1047
1061
  "onselect"?: (event: CustomEvent<ChartSelectDetail>) => void;
1048
- } & BkProps<BkChartLine, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "yDirection" | "persistKey">, "onMark" | "onMarkCapture" | "onSelect" | "onSelectCapture">;
1062
+ } & BkProps<BkChartLine, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "tooltipFields" | "yDirection" | "persistKey">, "onMark" | "onMarkCapture" | "onSelect" | "onSelectCapture">;
1049
1063
  "bk-chart-mark": BkElementProps<BkChartMark, {
1050
1064
  /** `value` (default): the position is on the value axis. `category`: the position is on the x or category axis. */
1051
1065
  "axis"?: BkChartMark["axis"];
@@ -1285,7 +1299,7 @@ declare module "react" {
1285
1299
  "tone"?: BkChip["tone"];
1286
1300
  /** Category colour `1` to `8` (identity: a label, a project, a person), from `--bk-hue-N-*`. It has priority over `tone` for the colour. */
1287
1301
  "hue"?: BkChip["hue"];
1288
- /** Weight: `soft` (default, tinted), `solid` (filled), `outline`, `dashed` (outline with a dashed border: a suggestion). */
1302
+ /** Weight: `soft` (default, tinted), `solid` (filled), `outline`, `dashed` (outline with a dashed border: a suggestion), `text` (no fill, no border, no inline padding: the tone colour as text). */
1289
1303
  "variant"?: BkChip["variant"];
1290
1304
  /** `sm`, `md` (default) or `lg`. */
1291
1305
  "size"?: BkChip["size"];
@@ -1305,10 +1319,14 @@ declare module "react" {
1305
1319
  "copy-text"?: BkAttr<BkChip["copyText"]>;
1306
1320
  /** Accessible name of a `copy` chip (default: i18n `copyItem`, "Copy {item}" with the chip text and the count). */
1307
1321
  "copy-label"?: BkAttr<BkChip["copyLabel"]>;
1308
- /** A number or short text at the end of the chip, for example the uses of a tag. */
1322
+ /** A number or short text after the text of the chip, for example the uses of a tag. It comes before the `end` slot. */
1309
1323
  "count"?: BkChip["count"];
1310
1324
  /** Accessible name of the remove button (default: i18n `removeItem`, "Remove {item}" with the chip text). */
1311
1325
  "remove-label"?: BkAttr<BkChip["removeLabel"]>;
1326
+ /** Shows the chip as taken out: struck-through, muted text and a hidden "Removed". With `removable`, the button restores the chip and fires `restore`. */
1327
+ "removed"?: BkChip["removed"];
1328
+ /** Accessible name of the restore button of a `removed` chip (default: i18n `restoreItem`, "Restore {item}" with the chip text). */
1329
+ "restore-label"?: BkAttr<BkChip["restoreLabel"]>;
1312
1330
  /** Makes the chip a link. */
1313
1331
  "href"?: BkChip["href"];
1314
1332
  /** Link target. The chip passes it to the inner `<a>` when `href` is set. */
@@ -1321,9 +1339,11 @@ declare module "react" {
1321
1339
  "oncopyfailed"?: (event: CustomEvent<CopyFailedDetail>) => void;
1322
1340
  /** The element fires this event when the user clicks the remove button. */
1323
1341
  "onremove"?: (event: Event) => void;
1342
+ /** The element fires this event when the user clicks the restore button of a `removed` chip. The event bubbles and is composed. The app clears `removed`. */
1343
+ "onrestore"?: (event: Event) => void;
1324
1344
  /** A plain click on the link (primary button, no modifier key, no other `target`, no `download`); `detail.href` is the resolved address. The event bubbles, is composed and is cancelable: `preventDefault()` stops the browser, and the router of the app handles the navigation. */
1325
1345
  "onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
1326
- } & BkProps<BkChip, "copyText" | "copyLabel" | "removeLabel">, "onCopyfailed" | "onCopyfailedCapture" | "onRemove" | "onRemoveCapture" | "onNavigate" | "onNavigateCapture">;
1346
+ } & BkProps<BkChip, "copyText" | "copyLabel" | "removeLabel" | "restoreLabel">, "onCopyfailed" | "onCopyfailedCapture" | "onRemove" | "onRemoveCapture" | "onRestore" | "onRestoreCapture" | "onNavigate" | "onNavigateCapture">;
1327
1347
  "bk-cluster": BkElementProps<BkCluster, {
1328
1348
  /** Cross-axis alignment: `center` (default), `start`, `end`, `baseline`, `stretch`. */
1329
1349
  "align"?: BkCluster["align"];
@@ -1431,6 +1451,8 @@ declare module "react" {
1431
1451
  "end-label"?: BkAttr<BkColumns["endLabel"]>;
1432
1452
  /** The current layout, set from the element's width (read-only; reflected for styling). */
1433
1453
  "mode"?: BkColumns["mode"];
1454
+ /** Set by `<bk-shell-app>` while the shell around the element is narrow: the columns flow in the document. */
1455
+ "narrow"?: BkColumns["narrow"];
1434
1456
  /** A column scrolled. The element fires it again on itself (it does not bubble), so window capture listeners such as popover anchoring receive it. */
1435
1457
  "onscroll"?: (event: Event) => void;
1436
1458
  } & BkProps<BkColumns, "startWidth" | "endWidth" | "splitAbove" | "stackAbove" | "scrollKey" | "startLabel" | "mainLabel" | "endLabel">, "onScroll" | "onScrollCapture">;
@@ -1476,7 +1498,7 @@ declare module "react" {
1476
1498
  /** Height: `sm`, `md` (default), `lg`. */
1477
1499
  "size"?: BkCombobox["size"];
1478
1500
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
1479
- "prefix"?: BkAttr<BkCombobox["prefixText"]>;
1501
+ "prefixText"?: BkCombobox["prefixText"];
1480
1502
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
1481
1503
  "suffix"?: BkAttr<BkCombobox["suffixText"]>;
1482
1504
  /** Shows a clear button while the field has a value. */
@@ -1513,7 +1535,7 @@ declare module "react" {
1513
1535
  "onloadmore"?: (event: CustomEvent<LoadMoreDetail>) => void;
1514
1536
  /** A `ToggleEvent` (`oldState`/`newState`) after the list opens or closes. Does not bubble. */
1515
1537
  "ontoggle"?: (event: ToggleEvent) => void;
1516
- } & BkProps<BkCombobox, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">, "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
1538
+ } & BkProps<BkCombobox, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
1517
1539
  "bk-command-menu": BkElementProps<BkCommandMenu, {
1518
1540
  /** The search text. */
1519
1541
  "query"?: BkCommandMenu["query"];
@@ -1625,6 +1647,8 @@ declare module "react" {
1625
1647
  "bk-delta": BkElementProps<BkDelta, {
1626
1648
  /** The change (`change`, `count`) or the new rank (`rank`). */
1627
1649
  "value"?: BkDelta["value"];
1650
+ /** Ready text for the change, shown as it is instead of the formatted `value` (like `aria-valuetext`). `value` still sets the direction and the tone. Not used in `variant="rank"`. */
1651
+ "value-text"?: BkAttr<BkDelta["valueText"]>;
1628
1652
  /** The previous rank (`variant="rank"`). Without it, the rank is new. */
1629
1653
  "previous"?: BkDelta["previous"];
1630
1654
  /** `change` (default): a change with a mark. `count`: a figure that only grows ("+12"). `rank`: a move between ranks. */
@@ -1641,7 +1665,7 @@ declare module "react" {
1641
1665
  "label"?: BkDelta["label"];
1642
1666
  /** Upper ranks of the tiers in `variant="rank"`, separated by spaces ("3 10 50"). */
1643
1667
  "tiers"?: BkDelta["tiers"];
1644
- }>;
1668
+ } & BkProps<BkDelta, "valueText">>;
1645
1669
  "bk-diagram": BkElementProps<BkDiagram, {
1646
1670
  /** The text of the diagram, for a script. In markup, write the text between the tags. */
1647
1671
  "source"?: BkDiagram["source"];
@@ -1673,7 +1697,7 @@ declare module "react" {
1673
1697
  "size"?: BkDialog["size"];
1674
1698
  /** Esc, a click on the backdrop and the close button dismiss the dialog (default true). Set `dismissible="false"` or the property to false for choices that the user must make. */
1675
1699
  "dismissible"?: BkDialog["dismissible"];
1676
- /** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it. */
1700
+ /** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it too. */
1677
1701
  "alert"?: BkDialog["alert"];
1678
1702
  /** Accessible name of the close button (default: i18n `close`). */
1679
1703
  "close-label"?: BkAttr<BkDialog["closeLabel"]>;
@@ -1735,7 +1759,7 @@ declare module "react" {
1735
1759
  "size"?: BkDrawer["size"];
1736
1760
  /** Esc, a click on the backdrop and the close button dismiss the dialog (default true). Set `dismissible="false"` or the property to false for choices that the user must make. */
1737
1761
  "dismissible"?: BkDrawer["dismissible"];
1738
- /** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it. */
1762
+ /** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it too. */
1739
1763
  "alert"?: BkDrawer["alert"];
1740
1764
  /** Accessible name of the close button (default: i18n `close`). */
1741
1765
  "close-label"?: BkAttr<BkDrawer["closeLabel"]>;
@@ -1834,6 +1858,28 @@ declare module "react" {
1834
1858
  /** The user opens a folder (a step of the trail, a place, a subfolder); `detail` is `{ path }`. Cancelable, bubbles. */
1835
1859
  "onnavigate"?: (event: CustomEvent<FolderBrowserNavigateDetail>) => void;
1836
1860
  }, "onNavigate" | "onNavigateCapture">;
1861
+ "bk-footnote": BkElementProps<BkFootnote, {
1862
+ /** The `id` of the `<bk-footnotes-item>` of the note. */
1863
+ "note"?: BkFootnote["note"];
1864
+ }>;
1865
+ "bk-footnotes-item": BkElementProps<BkFootnotesItem, {
1866
+ /** Address of the source. */
1867
+ "href"?: BkFootnotesItem["href"];
1868
+ /** `target` of the source link. */
1869
+ "target"?: BkFootnotesItem["target"];
1870
+ /** `rel` of the source link. */
1871
+ "rel"?: BkFootnotesItem["rel"];
1872
+ /** Date of the data: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. */
1873
+ "date"?: BkFootnotesItem["date"];
1874
+ /** The number of the note, after the page numbered the notes. The registry sets it. */
1875
+ "number"?: BkFootnotesItem["number"];
1876
+ /** The user makes a plain click on the source link (primary button, no modifier key, no other `target`, no `download`). `detail.href` is the resolved address. The event bubbles, is composed and is cancelable. `preventDefault()` stops the browser, and the router of the app takes over. */
1877
+ "onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
1878
+ }, "onNavigate" | "onNavigateCapture">;
1879
+ "bk-footnotes": BkElementProps<BkFootnotes, {
1880
+ /** Accessible name of the list (default: "Footnotes", i18n `footnotes`). */
1881
+ "label"?: BkFootnotes["label"];
1882
+ }>;
1837
1883
  "bk-form-guard": BkElementProps<BkFormGuard, {
1838
1884
  /** The form has unsaved changes (read-only; reflected). */
1839
1885
  "dirty"?: BkFormGuard["dirty"];
@@ -1927,13 +1973,19 @@ declare module "react" {
1927
1973
  "show"?: BkImageCompare["show"];
1928
1974
  /** The user can zoom and pan. Both pictures show the same part. */
1929
1975
  "zoomable"?: BkImageCompare["zoomable"];
1930
- /** The zoom and the part that shows: `zoom` from 1 to 8, `x` and `y` are the point in the centre as fractions of the picture. */
1976
+ /** The box takes the shape of the pictures: under `--bk-image-compare-max-height` the width follows the ratio. The box is never wider than its container and never larger than the natural size of the pictures. */
1977
+ "shaped"?: BkImageCompare["shaped"];
1978
+ /** Setting the view fires no `viewchange`. */
1931
1979
  "view"?: BkImageCompare["view"];
1932
1980
  /** The element fires this event while the user moves the divider. */
1933
1981
  "oninput"?: (event: Event) => void;
1934
1982
  /** The element fires this event when the user moves the divider (on release, on a key) or chooses the other picture (`toggle`). */
1935
1983
  "onchange"?: (event: Event) => void;
1936
- } & BkProps<BkImageCompare, "beforeSrc" | "afterSrc" | "beforeLabel" | "afterLabel">>;
1984
+ /** A picture has loaded, also from the cache of the browser. `event.detail` is `{ side, naturalWidth, naturalHeight }` with `side` `before` or `after`. The event bubbles and is composed: the native `load` of the inner `<img>` does not leave the shadow root. */
1985
+ "onload"?: (event: CustomEvent<ImageCompareLoadDetail>) => void;
1986
+ /** The user zoomed or panned (`zoomable`). `event.detail` is the new `view`. Setting `view` and `resetZoom()` fire no event. Use it to show the same part in another `<bk-image-compare>` or `<bk-image-viewer>`. The event bubbles and is composed. */
1987
+ "onviewchange"?: (event: CustomEvent<ImageCompareView>) => void;
1988
+ } & BkProps<BkImageCompare, "beforeSrc" | "afterSrc" | "beforeLabel" | "afterLabel">, "onLoad" | "onLoadCapture" | "onViewchange" | "onViewchangeCapture">;
1937
1989
  "bk-image-crop": BkElementProps<BkImageCrop, {
1938
1990
  /** Address of the picture. */
1939
1991
  "src"?: BkImageCrop["src"];
@@ -1995,6 +2047,18 @@ declare module "react" {
1995
2047
  "index"?: BkImageViewer["index"];
1996
2048
  /** Shows a row of thumbnails under the image. */
1997
2049
  "filmstrip"?: BkImageViewer["filmstrip"];
2050
+ /** Previous and next wrap around: after the last image comes the first. Without it, they stop at the ends. */
2051
+ "loop"?: BkImageViewer["loop"];
2052
+ /** The viewer is the main content of the screen or of its dialog (`<bk-lightbox>` sets it). The plain wheel zooms, a click steps the zoom, and the keys of the viewer work while the focus is anywhere in the surrounding dialog. */
2053
+ "immersive"?: BkImageViewer["immersive"];
2054
+ /** The box takes the shape of the image: under `--bk-image-viewer-max-height` the width follows the ratio of the image. The box is never wider than its container and never larger than the natural size of the image. */
2055
+ "shaped"?: BkImageViewer["shaped"];
2056
+ /** The app has the list of pictures. The previous and next buttons show also for one item, and the viewer fires `page` when the user asks for a picture beyond its own items. */
2057
+ "pageable"?: BkImageViewer["pageable"];
2058
+ /** With `pageable`: the shown picture is the first of the list of the app. The previous button is off. */
2059
+ "first"?: BkImageViewer["first"];
2060
+ /** With `pageable`: the shown picture is the last of the list of the app. The next button is off. */
2061
+ "last"?: BkImageViewer["last"];
1998
2062
  /** Accessible name of the viewer region (default: i18n `imageViewer`). */
1999
2063
  "label"?: BkImageViewer["label"];
2000
2064
  /** Accessible name of the previous button (default from i18n). */
@@ -2015,11 +2079,19 @@ declare module "react" {
2015
2079
  "pan-label"?: BkAttr<BkImageViewer["panLabel"]>;
2016
2080
  /** The images. */
2017
2081
  "items"?: BkImageViewer["items"];
2082
+ /** The zoom and the visible part of the image (`ImageViewerView`). Set it to show the same part as another viewer, for example in `viewchange` of that viewer. Setting it fires no `viewchange`. A view that you set before the image has its shape applies again when the shape is known. */
2083
+ "view"?: BkImageViewer["view"];
2084
+ /** The shown image has loaded (once for each image, also from the cache of the browser). `naturalWidth` and `naturalHeight` are known. The event does not bubble, as the `load` of an `<img>`. */
2085
+ "onload"?: (event: Event) => void;
2018
2086
  /** The user moved to another image. `event.detail.index` is the new index. The event bubbles and is composed. */
2019
2087
  "onchange"?: (event: CustomEvent<ImageViewerChangeDetail>) => void;
2020
2088
  /** A single tap or click beside the (unzoomed) image. `<bk-lightbox>` closes on this event. The event bubbles and is composed. */
2021
2089
  "ondismiss"?: (event: Event) => void;
2022
- } & BkProps<BkImageViewer, "prevLabel" | "nextLabel" | "zoomInLabel" | "zoomOutLabel" | "fitLabel" | "actualSizeLabel" | "errorLabel" | "panLabel">, "onDismiss" | "onDismissCapture">;
2090
+ /** The user changed the zoom or the visible part (at most once per frame). `event.detail` is the new `view`. Setting `view`, `resetZoom()`, `actualSize()` and a change of the image fire no event. The event bubbles and is composed. */
2091
+ "onviewchange"?: (event: CustomEvent<ImageViewerView>) => void;
2092
+ /** With `pageable`: the user asks for the previous or the next picture of the list of the app (a button, ← →, a swipe), and the viewer has no own item in that direction. `event.detail.direction` is `previous` or `next`. The app sets `items` to that picture. The event bubbles, is composed and is cancelable, as every event that navigates: `defaultPrevented` tells a later listener that a handler took the request. The viewer itself has no default action. */
2093
+ "onpage"?: (event: CustomEvent<ImageViewerPageDetail>) => void;
2094
+ } & BkProps<BkImageViewer, "prevLabel" | "nextLabel" | "zoomInLabel" | "zoomOutLabel" | "fitLabel" | "actualSizeLabel" | "errorLabel" | "panLabel">, "onLoad" | "onLoadCapture" | "onDismiss" | "onDismissCapture" | "onViewchange" | "onViewchangeCapture" | "onPage" | "onPageCapture">;
2023
2095
  "bk-input-code": BkElementProps<BkInputCode, {
2024
2096
  /** The code typed so far (up to `length` characters). */
2025
2097
  "value"?: BkInputCode["value"];
@@ -2078,7 +2150,7 @@ declare module "react" {
2078
2150
  /** Height: `sm`, `md` (default), `lg`. */
2079
2151
  "size"?: BkInputColor["size"];
2080
2152
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2081
- "prefix"?: BkAttr<BkInputColor["prefixText"]>;
2153
+ "prefixText"?: BkInputColor["prefixText"];
2082
2154
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2083
2155
  "suffix"?: BkAttr<BkInputColor["suffixText"]>;
2084
2156
  /** Shows a clear button while the field has a value. */
@@ -2103,7 +2175,7 @@ declare module "react" {
2103
2175
  "oninput"?: (event: Event) => void;
2104
2176
  /** When the user commits a change in the panel, when the user selects a format, and when the field is cleared. */
2105
2177
  "onchange"?: (event: Event) => void;
2106
- } & BkProps<BkInputColor, "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
2178
+ } & BkProps<BkInputColor, "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
2107
2179
  "bk-input-date-range": BkElementProps<BkInputDateRange, {
2108
2180
  /** The first moment, or "" (also while the text is not a valid range): an ISO day `yyyy-mm-dd`, with `time` a day and a time `yyyy-mm-ddThh:mm`, with `relative` also an expression such as `now-15m`. */
2109
2181
  "start-value"?: BkAttr<BkInputDateRange["startValue"]>;
@@ -2152,7 +2224,7 @@ declare module "react" {
2152
2224
  /** Height: `sm`, `md` (default), `lg`. */
2153
2225
  "size"?: BkInputDateRange["size"];
2154
2226
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2155
- "prefix"?: BkAttr<BkInputDateRange["prefixText"]>;
2227
+ "prefixText"?: BkInputDateRange["prefixText"];
2156
2228
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2157
2229
  "suffix"?: BkAttr<BkInputDateRange["suffixText"]>;
2158
2230
  /** Shows a clear button while the field has a value. */
@@ -2179,7 +2251,7 @@ declare module "react" {
2179
2251
  "oninput"?: (event: Event) => void;
2180
2252
  /** When an edit is committed (blur, Enter), a range is picked or the field is cleared. */
2181
2253
  "onchange"?: (event: Event) => void;
2182
- } & BkProps<BkInputDateRange, "startValue" | "endValue" | "timeZone" | "recentKey" | "enterKeyHint" | "firstDay" | "weekNumbers" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
2254
+ } & BkProps<BkInputDateRange, "startValue" | "endValue" | "timeZone" | "recentKey" | "enterKeyHint" | "firstDay" | "weekNumbers" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
2183
2255
  "bk-input-date": BkElementProps<BkInputDate, {
2184
2256
  /** The date as ISO `yyyy-mm-dd`, or "" (also while the text is not a valid date). */
2185
2257
  "value"?: BkInputDate["value"];
@@ -2216,7 +2288,7 @@ declare module "react" {
2216
2288
  /** Height: `sm`, `md` (default), `lg`. */
2217
2289
  "size"?: BkInputDate["size"];
2218
2290
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2219
- "prefix"?: BkAttr<BkInputDate["prefixText"]>;
2291
+ "prefixText"?: BkInputDate["prefixText"];
2220
2292
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2221
2293
  "suffix"?: BkAttr<BkInputDate["suffixText"]>;
2222
2294
  /** Shows a clear button while the field has a value. */
@@ -2241,7 +2313,7 @@ declare module "react" {
2241
2313
  "oninput"?: (event: Event) => void;
2242
2314
  /** When an edit is committed (blur, Enter), a date is picked or the field is cleared. */
2243
2315
  "onchange"?: (event: Event) => void;
2244
- } & BkProps<BkInputDate, "enterKeyHint" | "firstDay" | "weekNumbers" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
2316
+ } & BkProps<BkInputDate, "enterKeyHint" | "firstDay" | "weekNumbers" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
2245
2317
  "bk-input-file": BkElementProps<BkInputFile, {
2246
2318
  /** Marks the field as one that can stay empty: "(optional)" after the label. A `required` field does not show it. */
2247
2319
  "optional"?: BkInputFile["optional"];
@@ -2339,7 +2411,7 @@ declare module "react" {
2339
2411
  "editing"?: BkInputInline["editing"];
2340
2412
  /** The user confirms a changed value; `event.detail` is `{ value, done }`. */
2341
2413
  "onsave"?: (event: CustomEvent<InputInlineSaveDetail>) => void;
2342
- /** The field closes without saving: Esc or a click outside (does not bubble, so dialogs around it stay open). */
2414
+ /** The field closes without saving: Esc, the cancel button or an unchanged value (does not bubble, so dialogs around it stay open). */
2343
2415
  "oncancel"?: (event: Event) => void;
2344
2416
  } & BkProps<BkInputInline, "disabledReason" | "editLabel">, "onSave" | "onSaveCapture" | "onCancel" | "onCancelCapture">;
2345
2417
  "bk-input-number": BkElementProps<BkInputNumber, {
@@ -2376,7 +2448,7 @@ declare module "react" {
2376
2448
  /** Height: `sm`, `md` (default), `lg`. */
2377
2449
  "size"?: BkInputNumber["size"];
2378
2450
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2379
- "prefix"?: BkAttr<BkInputNumber["prefixText"]>;
2451
+ "prefixText"?: BkInputNumber["prefixText"];
2380
2452
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2381
2453
  "suffix"?: BkAttr<BkInputNumber["suffixText"]>;
2382
2454
  /** Shows a clear button while the field has a value. */
@@ -2403,7 +2475,7 @@ declare module "react" {
2403
2475
  "oninput"?: (event: Event) => void;
2404
2476
  /** When a value is committed: blur or Enter after typing, every step, clearing. */
2405
2477
  "onchange"?: (event: Event) => void;
2406
- } & BkProps<BkInputNumber, "enterKeyHint" | "decreaseLabel" | "increaseLabel" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
2478
+ } & BkProps<BkInputNumber, "enterKeyHint" | "decreaseLabel" | "increaseLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
2407
2479
  "bk-input-rating": BkElementProps<BkInputRating, {
2408
2480
  /** The current rating: 0 (none) up to `max`, snapped to `step`. */
2409
2481
  "value"?: BkInputRating["value"];
@@ -2502,7 +2574,7 @@ declare module "react" {
2502
2574
  /** Height: `sm`, `md` (default), `lg`. */
2503
2575
  "size"?: BkInputSearch["size"];
2504
2576
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2505
- "prefix"?: BkAttr<BkInputSearch["prefixText"]>;
2577
+ "prefixText"?: BkInputSearch["prefixText"];
2506
2578
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2507
2579
  "suffix"?: BkAttr<BkInputSearch["suffixText"]>;
2508
2580
  /** Shows a clear button while the field has a value. */
@@ -2539,7 +2611,7 @@ declare module "react" {
2539
2611
  "onchange"?: (event: Event) => void;
2540
2612
  /** `CustomEvent<SearchDetail>`. Cancelable. Cancel it to stop a form from submitting. */
2541
2613
  "onsearch"?: (event: CustomEvent<SearchDetail>) => void;
2542
- } & BkProps<BkInputSearch, "enterKeyHint" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">, "onSearch" | "onSearchCapture">;
2614
+ } & BkProps<BkInputSearch, "enterKeyHint" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onSearch" | "onSearchCapture">;
2543
2615
  "bk-input-slider-range": BkElementProps<BkInputSliderRange, {
2544
2616
  /** Low end of the chosen range (default `min`). Is always at least `min-gap` below `endValue`. */
2545
2617
  "start-value"?: BkAttr<BkInputSliderRange["startValue"]>;
@@ -2636,6 +2708,58 @@ declare module "react" {
2636
2708
  /** When the user commits a change: on release of a drag, on each key press, on a commit in the field. */
2637
2709
  "onchange"?: (event: Event) => void;
2638
2710
  } & BkProps<BkInputSlider, "showValue" | "inputPosition">>;
2711
+ "bk-input-tags": BkElementProps<BkInputTags, {
2712
+ /** Text shown while the field has no tags. */
2713
+ "placeholder"?: BkInputTags["placeholder"];
2714
+ /** Shows the values, but the user cannot change them. */
2715
+ "readonly"?: BkInputTags["readonly"];
2716
+ /** Label of the Enter key on a phone keyboard, like the native `enterkeyhint`: `enter`, `done`, `go`, `next`, `previous`, `search`, `send`. */
2717
+ "enterkeyhint"?: BkAttr<BkInputTags["enterKeyHint"]>;
2718
+ /** Marks the field as one that may stay empty: "(optional)" after the label. A `required` field does not show it. */
2719
+ "optional"?: BkInputTags["optional"];
2720
+ /** Visible label of the field. Also its accessible name. */
2721
+ "label"?: BkInputTags["label"];
2722
+ /** Help text below the box. */
2723
+ "hint"?: BkInputTags["hint"];
2724
+ /** Error text below the box; also marks the field invalid. */
2725
+ "error"?: BkInputTags["error"];
2726
+ /** Leading icon name (shorthand for a `<bk-icon>` in the start slot). */
2727
+ "icon"?: BkInputTags["icon"];
2728
+ /** Height: `sm`, `md` (default), `lg`. */
2729
+ "size"?: BkInputTags["size"];
2730
+ /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2731
+ "prefixText"?: BkInputTags["prefixText"];
2732
+ /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2733
+ "suffix"?: BkAttr<BkInputTags["suffixText"]>;
2734
+ /** Shows a clear button while the field has a value. */
2735
+ "clearable"?: BkInputTags["clearable"];
2736
+ /** Accessible name of the clear button (default: i18n `clear`). */
2737
+ "clear-label"?: BkAttr<BkInputTags["clearLabel"]>;
2738
+ /** `top` (default): the label above the box. `start`: the label before the box on one row, centred on the box; hint and error stay below the box. The label column is `--bk-field-label-width` wide. */
2739
+ "label-position"?: BkAttr<BkInputTags["labelPosition"]>;
2740
+ /** Field name submitted with the form. */
2741
+ "name"?: BkInputTags["name"];
2742
+ /** Disables the control. A disabled ancestor `<fieldset>` disables it too. */
2743
+ "disabled"?: BkInputTags["disabled"];
2744
+ /** Requires a value before the form can submit. */
2745
+ "required"?: BkInputTags["required"];
2746
+ /** Set when the control failed validation (after a submit attempt or reportValidity()); cleared once valid. */
2747
+ "invalid"?: BkInputTags["invalid"];
2748
+ /** The values at the first connection, restored on form reset. */
2749
+ "defaultValues"?: BkInputTags["defaultValues"];
2750
+ /** The values: the text of the slotted chips that are not `removed`, else the values of the field. */
2751
+ "values"?: BkInputTags["values"];
2752
+ /** The `restore` event of a slotted `removed` chip, unchanged (the chip is the target). */
2753
+ "onrestore"?: (event: Event) => void;
2754
+ /** The user adds a value (Enter, comma, paste, blur). Cancelable: cancel it to keep the list as it is. It bubbles and is composed. */
2755
+ "onadd"?: (event: CustomEvent<InputTagsAddDetail>) => void;
2756
+ /** The user removes a value (Backspace, or the remove button of a chip of the field). Cancelable. It bubbles and is composed. With slotted chips, `detail.chip` is the chip. The field stops the `remove` event of a slotted chip at the field and fires this event instead. */
2757
+ "onremove"?: (event: CustomEvent<InputTagsRemoveDetail>) => void;
2758
+ /** When the values of the field change by the user (added, removed, cleared). */
2759
+ "oninput"?: (event: Event) => void;
2760
+ /** When the values of the field change by the user. */
2761
+ "onchange"?: (event: Event) => void;
2762
+ } & BkProps<BkInputTags, "enterKeyHint" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onRestore" | "onRestoreCapture" | "onAdd" | "onAddCapture" | "onRemove" | "onRemoveCapture">;
2639
2763
  "bk-input-text": BkElementProps<BkInputText, {
2640
2764
  /** The current value. */
2641
2765
  "value"?: BkInputText["value"];
@@ -2665,6 +2789,8 @@ declare module "react" {
2665
2789
  "mask"?: BkInputText["mask"];
2666
2790
  /** Label of the Enter key on a phone keyboard, like the native `enterkeyhint`: `enter`, `done`, `go`, `next`, `previous`, `search` or `send`. */
2667
2791
  "enterkeyhint"?: BkAttr<BkInputText["enterKeyHint"]>;
2792
+ /** The keyboard shortcut that moves the focus into the field: the id of a shortcut in the registry (`registerShortcuts`) or a key combination (`Mod+K`). The field sets `aria-keyshortcuts` on its native control, so a screen reader says the keys. The field does not bind the keys: bind them with `onShortcut`. Show the keys with `<bk-kbd slot="end" shortcut="…">`. */
2793
+ "shortcut"?: BkInputText["shortcut"];
2668
2794
  /** Focuses the field when it connects. */
2669
2795
  "autofocus"?: BkInputText["autofocus"];
2670
2796
  /** Accessible name of the show-password toggle (default: i18n `showPassword`). */
@@ -2688,7 +2814,7 @@ declare module "react" {
2688
2814
  /** Height: `sm`, `md` (default), `lg`. */
2689
2815
  "size"?: BkInputText["size"];
2690
2816
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2691
- "prefix"?: BkAttr<BkInputText["prefixText"]>;
2817
+ "prefixText"?: BkInputText["prefixText"];
2692
2818
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2693
2819
  "suffix"?: BkAttr<BkInputText["suffixText"]>;
2694
2820
  /** Shows a clear button while the field has a value. */
@@ -2711,7 +2837,7 @@ declare module "react" {
2711
2837
  "oninput"?: (event: Event) => void;
2712
2838
  /** When the user commits an edit (blur or Enter), and when the field is cleared. */
2713
2839
  "onchange"?: (event: Event) => void;
2714
- } & BkProps<BkInputText, "enterKeyHint" | "revealLabel" | "maxRows" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
2840
+ } & BkProps<BkInputText, "enterKeyHint" | "revealLabel" | "maxRows" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
2715
2841
  "bk-input-time-zone": BkElementProps<BkInputTimeZone, {
2716
2842
  /** Language for the offsets, the times and the long names (default: the page language). */
2717
2843
  "locale"?: BkInputTimeZone["locale"];
@@ -2756,7 +2882,7 @@ declare module "react" {
2756
2882
  /** Height: `sm`, `md` (default), `lg`. */
2757
2883
  "size"?: BkInputTimeZone["size"];
2758
2884
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2759
- "prefix"?: BkAttr<BkInputTimeZone["prefixText"]>;
2885
+ "prefixText"?: BkInputTimeZone["prefixText"];
2760
2886
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2761
2887
  "suffix"?: BkAttr<BkInputTimeZone["suffixText"]>;
2762
2888
  /** Shows a clear button while the field has a value. */
@@ -2793,7 +2919,7 @@ declare module "react" {
2793
2919
  "onloadmore"?: (event: CustomEvent<LoadMoreDetail>) => void;
2794
2920
  /** A `ToggleEvent` (`oldState`/`newState`) after the list opens or closes. Does not bubble. */
2795
2921
  "ontoggle"?: (event: ToggleEvent) => void;
2796
- } & BkProps<BkInputTimeZone, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">, "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
2922
+ } & BkProps<BkInputTimeZone, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
2797
2923
  "bk-input-time": BkElementProps<BkInputTime, {
2798
2924
  /** The time as 24-hour `HH:MM` or `HH:MM:SS` (with seconds), "" while a segment is empty. */
2799
2925
  "value"?: BkInputTime["value"];
@@ -2826,7 +2952,7 @@ declare module "react" {
2826
2952
  /** Height: `sm`, `md` (default), `lg`. */
2827
2953
  "size"?: BkInputTime["size"];
2828
2954
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
2829
- "prefix"?: BkAttr<BkInputTime["prefixText"]>;
2955
+ "prefixText"?: BkInputTime["prefixText"];
2830
2956
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
2831
2957
  "suffix"?: BkAttr<BkInputTime["suffixText"]>;
2832
2958
  /** Shows a clear button while the field has a value. */
@@ -2851,7 +2977,7 @@ declare module "react" {
2851
2977
  "oninput"?: (event: Event) => void;
2852
2978
  /** When the value changes (a complete time, or cleared), and when the field is cleared. */
2853
2979
  "onchange"?: (event: Event) => void;
2854
- } & BkProps<BkInputTime, "hourCycle" | "enterKeyHint" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
2980
+ } & BkProps<BkInputTime, "hourCycle" | "enterKeyHint" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
2855
2981
  "bk-item-group": BkElementProps<BkItemGroup, {
2856
2982
  /** Hairlines between the rows. */
2857
2983
  "divided"?: BkItemGroup["divided"];
@@ -2927,6 +3053,14 @@ declare module "react" {
2927
3053
  "index"?: BkLightbox["index"];
2928
3054
  /** Shows a row of thumbnails under the image. */
2929
3055
  "filmstrip"?: BkLightbox["filmstrip"];
3056
+ /** Previous and next wrap around: after the last image comes the first. Without it, they stop at the ends. */
3057
+ "loop"?: BkLightbox["loop"];
3058
+ /** The app has the list of pictures: the viewer shows previous and next also for one image and fires `page` beyond its own images. */
3059
+ "pageable"?: BkLightbox["pageable"];
3060
+ /** With `pageable`: the shown picture is the first of the list of the app. The previous button is off. */
3061
+ "first"?: BkLightbox["first"];
3062
+ /** With `pageable`: the shown picture is the last of the list of the app. The next button is off. */
3063
+ "last"?: BkLightbox["last"];
2930
3064
  /** `grid`: square thumbnails that fill the width. `strip`: a wrapping row of thumbnails at one height. */
2931
3065
  "variant"?: BkLightbox["variant"];
2932
3066
  /** Accessible name of the viewer (default from i18n). */
@@ -2955,7 +3089,9 @@ declare module "react" {
2955
3089
  "onclose"?: (event: Event) => void;
2956
3090
  /** The user moves to another image. `event.detail.index` is the new index. The event bubbles (from the viewer). */
2957
3091
  "onchange"?: (event: CustomEvent<LightboxChangeDetail>) => void;
2958
- } & BkProps<BkLightbox, "closeLabel" | "prevLabel" | "nextLabel" | "zoomInLabel" | "zoomOutLabel" | "fitLabel" | "actualSizeLabel" | "errorLabel">, "onOpen" | "onOpenCapture" | "onClose" | "onCloseCapture">;
3092
+ /** With `pageable`: the user asks for the previous or the next picture of the list of the app. `event.detail.direction` is `previous` or `next`. The event bubbles, is composed and is cancelable (from the viewer). See `<bk-image-viewer>`. */
3093
+ "onpage"?: (event: CustomEvent<LightboxPageDetail>) => void;
3094
+ } & BkProps<BkLightbox, "closeLabel" | "prevLabel" | "nextLabel" | "zoomInLabel" | "zoomOutLabel" | "fitLabel" | "actualSizeLabel" | "errorLabel">, "onOpen" | "onOpenCapture" | "onClose" | "onCloseCapture" | "onPage" | "onPageCapture">;
2959
3095
  "bk-lines": BkElementProps<BkLines, {
2960
3096
  /** Cross-axis alignment: `stretch` (default), `start`, `center`, `end`. */
2961
3097
  "align"?: BkLines["align"];
@@ -3209,11 +3345,17 @@ declare module "react" {
3209
3345
  "description"?: BkMenuItem["description"];
3210
3346
  /** Tile look. A `variant="tiles"` list sets it. Do not set it yourself. */
3211
3347
  "tile"?: BkMenuItem["tile"];
3348
+ /** Shows a remove button; the item fires `remove` on it and on Delete. */
3349
+ "removable"?: BkMenuItem["removable"];
3350
+ /** Name of the remove button (default "Remove {item}"). */
3351
+ "remove-label"?: BkAttr<BkMenuItem["removeLabel"]>;
3212
3352
  /** Native click. Does not fire while the item is disabled. */
3213
3353
  "onclick"?: (event: MouseEvent) => void;
3354
+ /** The user removes a `removable` item (remove button or Delete). Bubbles, composed; `detail` is `{ value, item }`. */
3355
+ "onremove"?: (event: CustomEvent<MenuItemRemoveDetail>) => void;
3214
3356
  /** The user makes a plain click on the link (primary button, no modifier key, no other `target`, no `download`). `detail.href` is the resolved address. The event bubbles, is composed and is cancelable. `preventDefault()` stops the browser, and the router of the app takes over. */
3215
3357
  "onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
3216
- }, "onNavigate" | "onNavigateCapture">;
3358
+ } & BkProps<BkMenuItem, "removeLabel">, "onRemove" | "onRemoveCapture" | "onNavigate" | "onNavigateCapture">;
3217
3359
  "bk-menu-label": BkElementProps<BkMenuLabel, {
3218
3360
 
3219
3361
  }>;
@@ -3506,6 +3648,8 @@ declare module "react" {
3506
3648
  "count"?: BkNavItem["count"];
3507
3649
  /** Second line under the label. */
3508
3650
  "description"?: BkNavItem["description"];
3651
+ /** Short extra text: a tooltip on hover and keyboard focus, and the accessible description. */
3652
+ "hint"?: BkNavItem["hint"];
3509
3653
  /** The page you are on: `aria-current="page"` and the selected style. */
3510
3654
  "current"?: BkNavItem["current"];
3511
3655
  /** Not navigable; skipped by the Tab key. */
@@ -3755,9 +3899,13 @@ declare module "react" {
3755
3899
  "error-label"?: BkAttr<BkPicture["errorLabel"]>;
3756
3900
  /** The text of the retry button (default: i18n `pictureRetry`). */
3757
3901
  "retry-label"?: BkAttr<BkPicture["retryLabel"]>;
3902
+ /** Fires when the image of `src` has loaded. `detail` is `{ src, naturalWidth, naturalHeight }`. It bubbles and is composed: the native `load` of the inner `<img>` does not leave the shadow root. A viewer reads the size of the stage from it. An image that comes from the cache fires it too. */
3903
+ "onload"?: (event: CustomEvent<PictureLoadDetail>) => void;
3904
+ /** Fires when the image of `src` cannot load. `detail` is `{ src }`. It bubbles and is composed. A gallery tile reads it to show its own state. A retry that fails fires it again. */
3905
+ "onerror"?: (event: CustomEvent<PictureErrorDetail>) => void;
3758
3906
  /** Fires on a plain click on the link (primary button, no modifier key, no other `target`, no `download`). `detail.href` is the resolved address. It bubbles, is composed and is cancelable. `preventDefault()` stops the browser, and the router of the app handles the navigation. */
3759
3907
  "onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
3760
- } & BkProps<BkPicture, "errorLabel" | "retryLabel">, "onNavigate" | "onNavigateCapture">;
3908
+ } & BkProps<BkPicture, "errorLabel" | "retryLabel">, "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onNavigate" | "onNavigateCapture">;
3761
3909
  "bk-popover-help": BkElementProps<BkPopoverHelp, {
3762
3910
  /** Short heading in the panel. It also names the panel. */
3763
3911
  "heading"?: BkPopoverHelp["heading"];
@@ -3933,8 +4081,6 @@ declare module "react" {
3933
4081
  "label"?: BkScroll["label"];
3934
4082
  }>;
3935
4083
  "bk-segmented-item": BkElementProps<BkSegmentedItem, {
3936
- /** `<bk-segmented>` sets it on the chosen segment. Do not set it yourself. */
3937
- "checked"?: BkSegmentedItem["checked"];
3938
4084
  /** Fold to icon and count when the nearest size container is narrow: `""`/`md` (640px), `sm` (480px), `lg` (960px). */
3939
4085
  "collapse"?: BkSegmentedItem["collapse"];
3940
4086
  /** Value that selects this option in its group. */
@@ -3947,10 +4093,16 @@ declare module "react" {
3947
4093
  "label"?: BkSegmentedItem["label"];
3948
4094
  /** Renders a link instead of a choice (link mode, router-driven). */
3949
4095
  "href"?: BkSegmentedItem["href"];
3950
- /** Link target in link mode (`_blank` adds `rel="noopener noreferrer"`). */
4096
+ /** Link target in link mode (`_blank` adds `rel="noopener noreferrer"` when `rel` is not set). */
3951
4097
  "target"?: BkSegmentedItem["target"];
4098
+ /** Link `rel` in link mode. */
4099
+ "rel"?: BkSegmentedItem["rel"];
4100
+ /** File name for a download in link mode. */
4101
+ "download"?: BkSegmentedItem["download"];
3952
4102
  /** Not selectable and skipped by the arrow keys. */
3953
4103
  "disabled"?: BkSegmentedItem["disabled"];
4104
+ /** `<bk-segmented>` sets it on the chosen segment (the state `:state(checked)`). Do not set it yourself. */
4105
+ "checked"?: BkSegmentedItem["checked"];
3954
4106
  /** A plain click on the link (primary button, no modifier key, no other `target`, no `download`); `detail.href` is the resolved address. The event bubbles and is composed. It is cancelable: `preventDefault()` stops the browser, and the router of the app handles the navigation. */
3955
4107
  "onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
3956
4108
  }, "onNavigate" | "onNavigateCapture">;
@@ -4006,7 +4158,7 @@ declare module "react" {
4006
4158
  /** Height: `sm`, `md` (default), `lg`. */
4007
4159
  "size"?: BkSelectCascade["size"];
4008
4160
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
4009
- "prefix"?: BkAttr<BkSelectCascade["prefixText"]>;
4161
+ "prefixText"?: BkSelectCascade["prefixText"];
4010
4162
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
4011
4163
  "suffix"?: BkAttr<BkSelectCascade["suffixText"]>;
4012
4164
  /** Shows a clear button while the field has a value. */
@@ -4038,7 +4190,7 @@ declare module "react" {
4038
4190
  "oninput"?: (event: Event) => void;
4039
4191
  /** When the user chooses a leaf or clears the field. */
4040
4192
  "onchange"?: (event: Event) => void;
4041
- } & BkProps<BkSelectCascade, "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
4193
+ } & BkProps<BkSelectCascade, "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
4042
4194
  "bk-select-tree": BkElementProps<BkSelectTree, {
4043
4195
  /** A search field above the tree filters the rows by label. */
4044
4196
  "search"?: BkSelectTree["search"];
@@ -4063,7 +4215,7 @@ declare module "react" {
4063
4215
  /** Height: `sm`, `md` (default), `lg`. */
4064
4216
  "size"?: BkSelectTree["size"];
4065
4217
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
4066
- "prefix"?: BkAttr<BkSelectTree["prefixText"]>;
4218
+ "prefixText"?: BkSelectTree["prefixText"];
4067
4219
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
4068
4220
  "suffix"?: BkAttr<BkSelectTree["suffixText"]>;
4069
4221
  /** Shows a clear button while the field has a value. */
@@ -4093,7 +4245,7 @@ declare module "react" {
4093
4245
  "oninput"?: (event: Event) => void;
4094
4246
  /** When the user chooses a node, checks or unchecks one, or clears the field. */
4095
4247
  "onchange"?: (event: Event) => void;
4096
- } & BkProps<BkSelectTree, "prefixText" | "suffixText" | "clearLabel" | "labelPosition">>;
4248
+ } & BkProps<BkSelectTree, "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
4097
4249
  "bk-select": BkElementProps<BkSelect, {
4098
4250
  /** Fold to icon and chevron when the nearest size container is narrow: `""`/`md` (640px), `sm` (480px), `lg` (960px). */
4099
4251
  "collapse"?: BkSelect["collapse"];
@@ -4128,7 +4280,7 @@ declare module "react" {
4128
4280
  /** Height: `sm`, `md` (default), `lg`. */
4129
4281
  "size"?: BkSelect["size"];
4130
4282
  /** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
4131
- "prefix"?: BkAttr<BkSelect["prefixText"]>;
4283
+ "prefixText"?: BkSelect["prefixText"];
4132
4284
  /** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
4133
4285
  "suffix"?: BkAttr<BkSelect["suffixText"]>;
4134
4286
  /** Shows a clear button while the field has a value. */
@@ -4165,7 +4317,7 @@ declare module "react" {
4165
4317
  "onloadmore"?: (event: CustomEvent<LoadMoreDetail>) => void;
4166
4318
  /** A `ToggleEvent` (`oldState`/`newState`) after the list opened or closed. Does not bubble. */
4167
4319
  "ontoggle"?: (event: ToggleEvent) => void;
4168
- } & BkProps<BkSelect, "selectAll" | "selectAllLabel" | "prefixText" | "suffixText" | "clearLabel" | "labelPosition">, "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
4320
+ } & BkProps<BkSelect, "selectAll" | "selectAllLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
4169
4321
  "bk-shell-app": BkElementProps<BkShellApp, {
4170
4322
  /** Sidebar shows as a narrow icon rail. */
4171
4323
  "sidebar-collapsed"?: BkAttr<BkShellApp["sidebarCollapsed"]>;
@@ -4276,11 +4428,17 @@ declare module "react" {
4276
4428
  "label"?: BkSplitGrid["label"];
4277
4429
  /** How many columns of `min` px fit the width; 0 until measured. */
4278
4430
  "fit"?: BkSplitGrid["fit"];
4431
+ /** Cancelable. When the user drops a pane on another pane; `detail` `{ pane, from, to, order }`. The app renders the new order. */
4432
+ "onreorder"?: (event: CustomEvent<SplitGridReorderDetail>) => void;
4433
+ /** Once per frame while the user drags a pane outside the grid (`inside: false`), and once with `inside: true` when the pointer comes back or the drag ends; `detail` `{ pane, clientX, clientY, inside }`. */
4434
+ "ondragoutside"?: (event: CustomEvent<SplitGridDragOutsideDetail>) => void;
4435
+ /** When the user releases a dragged pane outside the grid; `detail` `{ pane, clientX, clientY }`. */
4436
+ "ondropoutside"?: (event: CustomEvent<SplitGridDropOutsideDetail>) => void;
4279
4437
  /** When the user moves a divider (once per frame) and when the number of columns that fit changes; `detail` `{ sizes, rowSizes }` (fractions of the available space). */
4280
4438
  "onresize"?: (event: CustomEvent<SplitGridResizeDetail>) => void;
4281
4439
  /** When the user finishes resizing or resets the columns or the rows; `detail` `{ sizes, rowSizes }` (fractions of the available space). */
4282
4440
  "onchange"?: (event: CustomEvent<SplitGridResizeDetail>) => void;
4283
- } & BkProps<BkSplitGrid, "defaultSizes" | "rowSizes" | "defaultRowSizes" | "minRow" | "stackBelow" | "persistKey" | "resizeLabel" | "resizeRowLabel">, "onResize" | "onResizeCapture">;
4441
+ } & BkProps<BkSplitGrid, "defaultSizes" | "rowSizes" | "defaultRowSizes" | "minRow" | "stackBelow" | "persistKey" | "resizeLabel" | "resizeRowLabel">, "onReorder" | "onReorderCapture" | "onDragoutside" | "onDragoutsideCapture" | "onDropoutside" | "onDropoutsideCapture" | "onResize" | "onResizeCapture">;
4284
4442
  "bk-split": BkElementProps<BkSplit, {
4285
4443
  /** `horizontal` (default: panes side by side), `vertical` (panes on top of each other) or `auto` (the one with more room). */
4286
4444
  "orientation"?: BkSplit["orientation"];
@@ -4318,6 +4476,8 @@ declare module "react" {
4318
4476
  "label"?: BkStat["label"];
4319
4477
  /** The value: a number (formatted in full in the locale) or ready text. */
4320
4478
  "value"?: BkStat["value"];
4479
+ /** Ready text for the value, shown as it is instead of the formatted `value` (like `aria-valuetext`). Use it for a figure that the app has formatted. */
4480
+ "value-text"?: BkAttr<BkStat["valueText"]>;
4321
4481
  /** Unit after the value ("ms", "GB"); for currencies and percent use `value-format`. */
4322
4482
  "unit"?: BkStat["unit"];
4323
4483
  /** Intl.NumberFormat options for the value (`{"minimumFractionDigits":2}` shows 13.10). */
@@ -4330,6 +4490,8 @@ declare module "react" {
4330
4490
  "delta"?: BkStat["delta"];
4331
4491
  /** Intl.NumberFormat options for the delta (`{"style":"percent"}` reads 0.084 as +8.4 %). */
4332
4492
  "delta-format"?: BkAttr<BkStat["deltaFormat"]>;
4493
+ /** Ready text for the change, shown as it is instead of the formatted `delta`. The sign of `delta` still sets the direction and the tone. */
4494
+ "delta-text"?: BkAttr<BkStat["deltaText"]>;
4333
4495
  /** The comparison period ("vs last month"). */
4334
4496
  "delta-label"?: BkAttr<BkStat["deltaLabel"]>;
4335
4497
  /** Down is good (costs, latency, error rate). */
@@ -4342,7 +4504,7 @@ declare module "react" {
4342
4504
  "order"?: BkStat["order"];
4343
4505
  /** Colour of the value: `accent`, `info`, `success`, `warning`, `danger`, `attention` (default: plain text). */
4344
4506
  "tone"?: BkStat["tone"];
4345
- } & BkProps<BkStat, "valueFormat" | "deltaFormat" | "deltaLabel">>;
4507
+ } & BkProps<BkStat, "valueText" | "valueFormat" | "deltaFormat" | "deltaText" | "deltaLabel">>;
4346
4508
  "bk-status-dot": BkElementProps<BkStatusDot, {
4347
4509
  /** `neutral` (default), `accent`, `success`, `warning`, `danger`, `attention`, `info`. */
4348
4510
  "tone"?: BkStatusDot["tone"];
@@ -4584,8 +4746,12 @@ declare module "react" {
4584
4746
  "label"?: BkTabsItem["label"];
4585
4747
  /** Renders a link instead of a choice (link mode, router-driven). */
4586
4748
  "href"?: BkTabsItem["href"];
4587
- /** Link target in link mode (`_blank` adds `rel="noopener noreferrer"`). */
4749
+ /** Link target in link mode (`_blank` adds `rel="noopener noreferrer"` when `rel` is not set). */
4588
4750
  "target"?: BkTabsItem["target"];
4751
+ /** Link `rel` in link mode. */
4752
+ "rel"?: BkTabsItem["rel"];
4753
+ /** File name for a download in link mode. */
4754
+ "download"?: BkTabsItem["download"];
4589
4755
  /** Not selectable and skipped by the arrow keys. */
4590
4756
  "disabled"?: BkTabsItem["disabled"];
4591
4757
  /** The user closes the tab (close button or Delete). Bubbles, composed, cancelable; `detail` is `{ value }`. */
@@ -4616,6 +4782,8 @@ declare module "react" {
4616
4782
  "addable"?: BkTabs["addable"];
4617
4783
  /** Name of the add button (default: i18n `tabAdd`). */
4618
4784
  "add-label"?: BkAttr<BkTabs["addLabel"]>;
4785
+ /** What happens with tabs that do not fit the row: `menu` (default) moves them into a "More" menu, `scroll` scrolls the row. */
4786
+ "overflow"?: BkTabs["overflow"];
4619
4787
  /** Before the user selects another tab (click or keys); `detail` is `{ value, previous }`. Bubbles, composed, cancelable: `preventDefault()` leaves the current tab selected, for example to confirm unsaved changes first. */
4620
4788
  "onselect"?: (event: CustomEvent<TabSelectDetail>) => void;
4621
4789
  /** After the user selects another tab (or the selected tab is removed and a neighbour becomes selected); read `event.target.value`. Not cancelable: cancel `select` to leave the current tab selected. */