@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
@@ -0,0 +1,422 @@
1
+ import { a as e, n as t, t as n, u as r } from "./lit-D8x-qXgH.js";
2
+ import { t as i } from "./if-defined-z_20pBRr.js";
3
+ import { t as a } from "./repeat-Dxf3qZZl.js";
4
+ import { a as o, i as s, r as c, t as l } from "./define-6OfuRn5c.js";
5
+ import { i as u, n as d } from "./anchor-CNX3nt2F.js";
6
+ import { n as f, t as p } from "./events-DQ4e9cPN.js";
7
+ import { a as m } from "./link--YWr8exL.js";
8
+ import { t as h } from "./i18n-DFfGgd3d.js";
9
+ import { t as g } from "./state-XYmTmnOw.js";
10
+ import { t as _ } from "./late-CPQ_RbU-.js";
11
+ import { t as v, v as y } from "./styles-CaeyhYDA.js";
12
+ import { BkTabsItem as b } from "../bk-tabs-item.js";
13
+ import { BkTabsPanel as x } from "../bk-tabs-panel.js";
14
+ import "../bk-button.js";
15
+ import "./bk-icon-D4kI4F18.js";
16
+ import "./add-CUFUzxGc.js";
17
+ import "./more-horiz-mUorHvCo.js";
18
+ // dist/components/bk-tabs.js
19
+ var S = new _({
20
+ "bk-menu": () => import("../bk-menu.js"),
21
+ "bk-menu-item": () => import("../bk-menu-item.js")
22
+ }, "bk-menu", "bk-menu-item"), C = (e, t) => e.value || String(t), w = class extends n {
23
+ static shadowRootOptions = {
24
+ ...n.shadowRootOptions,
25
+ slotAssignment: "manual"
26
+ };
27
+ static properties = {
28
+ value: {
29
+ reflect: !0,
30
+ useDefault: !0
31
+ },
32
+ variant: {
33
+ reflect: !0,
34
+ useDefault: !0
35
+ },
36
+ size: {
37
+ reflect: !0,
38
+ useDefault: !0
39
+ },
40
+ orientation: {
41
+ reflect: !0,
42
+ useDefault: !0
43
+ },
44
+ activation: {},
45
+ label: {},
46
+ persistKey: { attribute: "persist-key" },
47
+ addable: {
48
+ type: Boolean,
49
+ reflect: !0
50
+ },
51
+ addLabel: { attribute: "add-label" },
52
+ overflow: {
53
+ reflect: !0,
54
+ useDefault: !0
55
+ },
56
+ overflowed: { state: !0 },
57
+ menuOpen: { state: !0 }
58
+ };
59
+ menuTabs = [];
60
+ stopKey;
61
+ revealed = !1;
62
+ internals = this.attachInternals();
63
+ i18n = new h(this);
64
+ resizer = o(() => this.measure());
65
+ sizes;
66
+ tabs = [];
67
+ panels = [];
68
+ others = [];
69
+ ends = [];
70
+ restored;
71
+ authored;
72
+ stored = new g(this, () => !this.linkMode && this.persistKey && `tabs:${this.persistKey}`, { onChange: (e) => {
73
+ this.authored ??= this.value, e === void 0 ? this.value = this.authored : typeof e == "string" && this.tabs.some((t, n) => !t.disabled && C(t, n) === e) && (this.value = e);
74
+ } });
75
+ observer = s((e) => {
76
+ e.some((e) => e.type === "childList" || e.target.parentElement === this) && this.requestUpdate();
77
+ });
78
+ constructor() {
79
+ super(), this.value = "", this.variant = "underline", this.size = "md", this.orientation = "horizontal", this.activation = "automatic", this.overflowed = [], this.menuOpen = !1, this.overflow = "menu", this.addable = !1, this.addEventListener("remove", this.onRemove), this.addEventListener("click", this.onClick), this.addEventListener("beforematch", this.onFound), this.addEventListener("keydown", this.onKeydown), this.addEventListener("focusout", this.onFocusout);
80
+ }
81
+ connectedCallback() {
82
+ super.connectedCallback(), this.observer.observe(this, {
83
+ childList: !0,
84
+ subtree: !0,
85
+ attributes: !0,
86
+ attributeFilter: [
87
+ "value",
88
+ "href",
89
+ "disabled",
90
+ "slot",
91
+ "dot"
92
+ ]
93
+ }), this.requestUpdate();
94
+ }
95
+ disconnectedCallback() {
96
+ super.disconnectedCallback(), this.observer.disconnect(), this.resizer.disconnect();
97
+ }
98
+ get linkMode() {
99
+ return this.tabs.some((e) => !!e.href);
100
+ }
101
+ static styles = [
102
+ v,
103
+ y,
104
+ r`
105
+ /* In a container with a height (a bk-pane) the tabs fill it and hand the rest to the selected panel; otherwise as tall as their content. */
106
+ :host {
107
+ display: flex; flex-direction: column; block-size: 100%; min-height: 0;
108
+ --_bk-tabs-panel-padding: var(--bk-space-4) 0 0;
109
+ --_bk-tab-indicator-inset: auto 0 0 0;
110
+ --_bk-tab-indicator-scale: 0.4 1;
111
+ --_bk-tab-h: var(--bk-tabs-tab-height-md, var(--bk-control-md));
112
+ --_bk-tab-px: var(--bk-tabs-tab-padding-md, var(--bk-space-3));
113
+ --_bk-tab-fs: var(--bk-tabs-tab-font-size-md, var(--bk-type-body));
114
+ --_bk-tab-icon: var(--bk-control-icon-md);
115
+ }
116
+ :host([size="sm"]) {
117
+ --_bk-tab-h: var(--bk-tabs-tab-height-sm, var(--bk-control-sm));
118
+ --_bk-tab-px: var(--bk-tabs-tab-padding-sm, var(--bk-space-2));
119
+ --_bk-tab-fs: var(--bk-tabs-tab-font-size-sm, var(--bk-type-small));
120
+ --_bk-tab-icon: var(--bk-control-icon-sm);
121
+ }
122
+ :host([size="lg"]) {
123
+ --_bk-tab-h: var(--bk-tabs-tab-height-lg, var(--bk-control-lg));
124
+ --_bk-tab-px: var(--bk-tabs-tab-padding-lg, var(--bk-space-4));
125
+ --_bk-tab-fs: var(--bk-tabs-tab-font-size-lg, var(--bk-type-lead));
126
+ --_bk-tab-icon: var(--bk-control-icon-lg);
127
+ }
128
+ .tabs { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
129
+ .bar {
130
+ position: relative; display: flex; align-items: center; gap: var(--bk-space-cluster); min-width: 0;
131
+ box-shadow: inset 0 calc(-1 * var(--bk-tabs-border-width, var(--bk-border-width))) 0 var(--bk-tabs-border, var(--bk-line));
132
+ }
133
+ .list {
134
+ display: flex; flex: 1; min-width: 0; gap: var(--bk-tabs-gap, var(--bk-space-1));
135
+ position: relative; overflow-x: hidden;
136
+ }
137
+ /* A tab that does not fit leaves the row but keeps its size, so the row can measure it. */
138
+ /* overflow="scroll": the row scrolls sideways, without a visible scroll bar. */
139
+ :host([overflow="scroll"]:not([orientation="vertical"])) .list {
140
+ overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity;
141
+ }
142
+ :host([overflow="scroll"]) ::slotted(bk-tabs-item) { scroll-snap-align: start; }
143
+ :host([overflow="scroll"]) .more { display: none; }
144
+ .more { flex: none; display: flex; align-items: center; margin-inline-start: calc(var(--bk-tabs-more-gap, var(--bk-space-cluster)) - var(--bk-space-cluster)); }
145
+ /* Until bk-menu loads, only its trigger shows: the entries are not text in the row. */
146
+ .more:not(:defined) > :not([slot="trigger"]) { display: none; }
147
+ .more.off { position: absolute; inset-block-start: 0; inset-inline-end: 0; visibility: hidden; pointer-events: none; }
148
+ :host([orientation="vertical"]) .more { display: none; }
149
+ .end { display: flex; align-items: center; gap: var(--bk-space-cluster); flex: none; }
150
+ .add {
151
+ flex: none; display: inline-grid; place-items: center; inline-size: var(--bk-tabs-add-size, var(--_bk-tab-h)); block-size: var(--bk-tabs-add-size, var(--_bk-tab-h));
152
+ padding: 0; margin: 0; border: 0; background: none; font: inherit; color: var(--bk-tabs-add-fg, var(--bk-text-muted));
153
+ border-radius: var(--bk-tabs-add-radius, var(--bk-radius-sm));
154
+ --_bk-interactive-hover: var(--bk-tabs-add-hover-bg, var(--bk-hover)); --_bk-interactive-pressed: var(--bk-tabs-tab-pressed-bg, var(--bk-pressed));
155
+ --bk-icon-size: var(--_bk-tab-icon);
156
+ }
157
+ .panels { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
158
+ /* Only the selected panel takes the rest. A closed panel (hidden="until-found") stays in the flow and has no height. */
159
+ .panels ::slotted(bk-tabs-panel:not([hidden])) { flex: 1; min-height: 0; }
160
+
161
+ :host([orientation="vertical"]) {
162
+ --_bk-tabs-panel-padding: 0 0 0 var(--bk-space-5);
163
+ --_bk-tab-indicator-inset: 0 0 0 auto;
164
+ --_bk-tab-indicator-block: auto;
165
+ --_bk-tab-indicator-inline: var(--bk-tabs-indicator-width, var(--bk-indicator-width));
166
+ --_bk-tab-indicator-scale: 1 0.4;
167
+ --_bk-tab-justify: flex-start;
168
+ /* The tab is a grid: mark, start, label, end. The end column lines up in the list. */
169
+ --_bk-tab-display: grid;
170
+ --_bk-tab-columns: auto auto minmax(0, 1fr) auto;
171
+ --_bk-tab-row: 1;
172
+ --_bk-tab-col-mark: 1;
173
+ --_bk-tab-col-start: 2;
174
+ --_bk-tab-col-label: 3;
175
+ --_bk-tab-col-end: 4;
176
+ --_bk-tab-mark-gap: var(--bk-tabs-tab-gap, var(--bk-space-2));
177
+ --_bk-tab-column-gap: 0;
178
+ }
179
+ :host([orientation="vertical"]:state(dots)) {
180
+ --_bk-tab-columns: calc(var(--bk-tabs-dot-size, var(--bk-space-2)) + var(--bk-tabs-tab-gap, var(--bk-space-2))) auto minmax(0, 1fr) auto;
181
+ --_bk-tab-dot-gap: 0;
182
+ }
183
+ :host([orientation="vertical"]:dir(rtl)) { --_bk-tabs-panel-padding: 0 var(--bk-space-5) 0 0; --_bk-tab-indicator-inset: 0 auto 0 0; }
184
+ :host(:not([variant="pills"])) { --_bk-tab-radius-es: 0; --_bk-tab-radius-ee: 0; }
185
+ :host(:not([variant="pills"])[orientation="vertical"]) { --_bk-tab-radius-es: initial; --_bk-tab-radius-se: 0; }
186
+ :host([orientation="vertical"]) .tabs { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
187
+ :host([orientation="vertical"]) .bar {
188
+ flex-direction: column; align-items: stretch; box-shadow: none;
189
+ border-inline-end: var(--bk-tabs-border-width, var(--bk-border-width)) solid var(--bk-tabs-border, var(--bk-line));
190
+ }
191
+ :host([orientation="vertical"]) .list { flex-direction: column; overflow: visible; }
192
+ :host([orientation="vertical"]) .end { flex-direction: column; align-items: stretch; }
193
+
194
+ :host([variant="pills"]) {
195
+ --_bk-tab-indicator-display: none;
196
+ --_bk-tab-radius: var(--bk-tabs-pill-radius, var(--bk-radius-md));
197
+ --_bk-tab-bg-selected: var(--bk-tabs-pill-bg, var(--bk-accent-soft));
198
+ --_bk-tab-fg-selected: var(--bk-tabs-pill-fg, var(--bk-accent-text));
199
+ }
200
+ :host([variant="pills"]) .bar { box-shadow: none; border: 0; }
201
+ :host([variant="pills"][orientation="vertical"]) { --_bk-tabs-panel-padding: 0 0 0 var(--bk-space-4); }
202
+ @media (forced-colors: active) {
203
+ .bar { border-block-end: var(--bk-border-width) solid CanvasText; }
204
+ :host([variant="pills"]) .bar { border: 0; }
205
+ }
206
+ `
207
+ ];
208
+ willUpdate(e) {
209
+ super.willUpdate(e), this.tabs = [], this.panels = [], this.others = [], this.ends = [];
210
+ for (let e of c(this)?.children ?? []) e.getAttribute("slot") === "end" ? this.ends.push(e) : e instanceof b ? this.tabs.push(e) : e instanceof x ? this.panels.push(e) : this.others.push(e);
211
+ this.internals.states[this.tabs.some((e) => e.dot || e.hasAttribute("dot")) ? "add" : "delete"]("dots");
212
+ let t = this.tabs.filter((e) => !e.disabled);
213
+ if (this.persistKey && this.persistKey !== this.restored && this.tabs.length && !this.linkMode) {
214
+ this.restored = this.persistKey;
215
+ let e = this.stored.value;
216
+ typeof e == "string" && t.some((t) => C(t, this.tabs.indexOf(t)) === e) && (this.value = e);
217
+ }
218
+ !this.tabs.some((e, t) => C(e, t) === this.value) && t.length && !this.linkMode && (this.value = C(t[0], this.tabs.indexOf(t[0])));
219
+ let n = this.overflowFor();
220
+ (n.length !== this.overflowed.length || n.some((e, t) => e !== this.overflowed[t])) && (this.overflowed = n), this.overflowed.length && S.start();
221
+ }
222
+ async getUpdateComplete() {
223
+ let e = await super.getUpdateComplete();
224
+ return this.overflowed.length && await S.start(), e;
225
+ }
226
+ updated(e) {
227
+ super.updated(e);
228
+ let t = this.renderRoot;
229
+ t.querySelector("slot[name=tab]")?.assign(...this.tabs), t.querySelector("slot[name=panel]")?.assign(...this.panels, ...this.others), t.querySelector("slot[name=end]")?.assign(...this.ends);
230
+ let n = t.querySelector(".bar");
231
+ for (let e of [
232
+ n,
233
+ t.querySelector(".more"),
234
+ t.querySelector(".end"),
235
+ ...this.tabs
236
+ ]) e && this.resizer.observe(e);
237
+ this.syncTabs();
238
+ let r = this.linkMode, i = new Map(this.tabs.map((e, t) => [C(e, t), e]));
239
+ this.panels.forEach((e, t) => {
240
+ let n = C(e, t);
241
+ e.setTab(r ? null : i.get(n) ?? null), e.hasAttribute("tabindex") || (e.tabIndex = 0), n === this.value ? e.removeAttribute("hidden") : e.getAttribute("hidden") !== "until-found" && e.setAttribute("hidden", "until-found");
242
+ });
243
+ let a = !this.revealed;
244
+ (a || e.has("value") || e.has("overflow")) && this.revealSelected(a);
245
+ }
246
+ syncTabs() {
247
+ let e = this.linkMode, t = new Set(this.overflowed), n = new Map(this.panels.map((e, t) => [C(e, t), e])), r = this.stopKey ?? this.value;
248
+ this.tabs.forEach((i, a) => {
249
+ let o = C(i, a);
250
+ i.setTabState({
251
+ tab: !e,
252
+ selected: o === this.value,
253
+ tabStop: !e && o === r,
254
+ controls: e ? null : n.get(o) ?? null,
255
+ overflow: t.has(i)
256
+ });
257
+ });
258
+ }
259
+ revealSelected(e) {
260
+ if (this.overflow !== "scroll" || this.orientation === "vertical") return;
261
+ let t = this.tabs.find((e, t) => C(e, t) === this.value);
262
+ t && (this.revealed = !0, Promise.all(this.tabs.map((e) => e.updateComplete)).then(() => {
263
+ let n = this.renderRoot?.querySelector(".list");
264
+ if (!n || !t.isConnected || n.scrollWidth <= n.clientWidth) return;
265
+ let r = n.getBoundingClientRect(), i = t.getBoundingClientRect(), a = i.left < r.left ? i.left - r.left : i.right > r.right ? Math.min(i.right - r.right, i.left - r.left) : 0;
266
+ if (!a) return;
267
+ let o = e || matchMedia("(prefers-reduced-motion: reduce)").matches;
268
+ n.scrollBy({
269
+ left: a,
270
+ behavior: o ? "instant" : "smooth"
271
+ });
272
+ }));
273
+ }
274
+ tabFrom(e) {
275
+ let t = e?.closest?.("bk-tabs-item");
276
+ return t instanceof b && t.parentElement === this ? t : null;
277
+ }
278
+ select(e) {
279
+ if (e.disabled) return !0;
280
+ let t = C(e, this.tabs.indexOf(e));
281
+ return t === this.value ? !0 : f(this, "select", {
282
+ value: t,
283
+ previous: this.value
284
+ }, !0) ? (this.value = t, this.stopKey = void 0, e.href || this.stored.set(t), p(this, "change"), !0) : !1;
285
+ }
286
+ onFound = (e) => {
287
+ let t = e.target;
288
+ if (!(t instanceof x) || t.parentElement !== this) return;
289
+ let n = C(t, this.panels.indexOf(t)), r = this.tabs.find((e, t) => C(e, t) === n);
290
+ r && this.select(r);
291
+ };
292
+ onClick = (e) => {
293
+ let t = this.tabFrom(e.target);
294
+ if (t) {
295
+ if (t.disabled) e.preventDefault();
296
+ else if (t.href) {
297
+ if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
298
+ this.select(t) || e.preventDefault(), m(t, e);
299
+ } else t.focus(), this.select(t);
300
+ }
301
+ };
302
+ onKeydown = (e) => {
303
+ let t = this.tabFrom(e.target);
304
+ if (!t || this.linkMode) return;
305
+ let n = this.orientation === "vertical", r = this.matches(":dir(rtl)"), i = n ? "ArrowUp" : r ? "ArrowRight" : "ArrowLeft", a = n ? "ArrowDown" : r ? "ArrowLeft" : "ArrowRight";
306
+ if (e.key === "Delete" && t.removable) {
307
+ e.preventDefault(), t.requestRemove();
308
+ return;
309
+ }
310
+ let o = new Set(this.overflowed), s = this.tabs.filter((e) => !e.disabled && !o.has(e));
311
+ if (!s.length) return;
312
+ let c, l = s.indexOf(t);
313
+ switch (e.key) {
314
+ case i:
315
+ c = s[(l - 1 + s.length) % s.length];
316
+ break;
317
+ case a:
318
+ c = s[(l + 1) % s.length];
319
+ break;
320
+ case "Home":
321
+ c = s[0];
322
+ break;
323
+ case "End":
324
+ c = s[s.length - 1];
325
+ break;
326
+ case "Enter":
327
+ case " ":
328
+ e.preventDefault(), this.select(t);
329
+ return;
330
+ default: return;
331
+ }
332
+ e.preventDefault(), this.stopKey = C(c, this.tabs.indexOf(c)), this.syncTabs(), c.focus(), this.activation !== "manual" && this.select(c);
333
+ };
334
+ onFocusout = (e) => {
335
+ this.linkMode || this.tabFrom(e.relatedTarget) || this.stopKey === void 0 || (this.stopKey = void 0, this.syncTabs());
336
+ };
337
+ measure() {
338
+ let e = this.renderRoot, t = e?.querySelector(".bar"), n = e?.querySelector(".list"), r = e?.querySelector(".more");
339
+ if (!t || !n || !r) return;
340
+ let i = parseFloat(getComputedStyle(n).columnGap) || 0, a = parseFloat(getComputedStyle(t).columnGap) || 0, o = e.querySelector(".end"), s = t.clientWidth > 0 ? t.clientWidth - (o ? o.offsetWidth + a : 0) : 0, c = new Map(this.tabs.map((e) => [e, e.offsetWidth])), l = this.sizes, u = l && l.room === s && l.more === r.offsetWidth + a && l.gap === i && l.widths.size === c.size && [...c].every(([e, t]) => l.widths.get(e) === t);
341
+ this.sizes = {
342
+ room: s,
343
+ more: r.offsetWidth + a,
344
+ gap: i,
345
+ widths: c
346
+ }, u || this.requestUpdate();
347
+ }
348
+ overflowFor() {
349
+ let e = this.sizes;
350
+ if (!e || e.room <= 0 || this.orientation === "vertical" || this.overflow === "scroll" || this.tabs.length < 2) return [];
351
+ let t = this.tabs.map((t) => e.widths.get(t) ?? 0);
352
+ if (t.reduce((e, t) => e + t, 0) + e.gap * (t.length - 1) <= e.room) return [];
353
+ let n = e.room - e.more, r = this.tabs.findIndex((e, t) => C(e, t) === this.value), i = /* @__PURE__ */ new Set(), a = 0;
354
+ r >= 0 && (i.add(r), a = t[r]);
355
+ for (let r = 0; r < this.tabs.length; r++) {
356
+ if (i.has(r)) continue;
357
+ let o = a + (i.size ? e.gap : 0) + t[r];
358
+ if (o > n) break;
359
+ i.add(r), a = o;
360
+ }
361
+ return this.tabs.filter((e, t) => !i.has(t));
362
+ }
363
+ tabOfEntry(e) {
364
+ let t = e.composedPath().find((e) => e instanceof Element && e.localName === "bk-menu-item");
365
+ return t ? this.tabs.find((e, n) => C(e, n) === t.value) : void 0;
366
+ }
367
+ onMoreClick = (e) => {
368
+ let t = this.tabOfEntry(e);
369
+ t?.href && !t.disabled && (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0 || this.select(t) || e.preventDefault());
370
+ };
371
+ onMoreNavigate = (e) => {
372
+ let t = this.tabOfEntry(e);
373
+ t && (e.stopPropagation(), f(t, "navigate", e.detail, !0) || e.preventDefault());
374
+ };
375
+ onMoreSelect = (e) => {
376
+ e.stopPropagation();
377
+ let t = this.tabs.find((t, n) => C(t, n) === e.detail.value);
378
+ t && ((t.href ? C(t, this.tabs.indexOf(t)) !== this.value : !this.select(t)) || this.updateComplete.then(() => requestAnimationFrame(() => t.focus())));
379
+ };
380
+ onMoreOpen = () => {
381
+ this.menuTabs = this.overflowed, this.menuOpen = !0;
382
+ };
383
+ onMoreClose = () => {
384
+ setTimeout(() => {
385
+ this.menuOpen = !1;
386
+ });
387
+ };
388
+ onRemove = (e) => {
389
+ let t = this.tabFrom(e.target);
390
+ t && queueMicrotask(() => {
391
+ e.defaultPrevented || this.removeTab(t);
392
+ });
393
+ };
394
+ removeTab(e) {
395
+ let t = this.tabs.indexOf(e);
396
+ if (t < 0) return;
397
+ let n = C(e, t), r = this.panels.find((e, t) => C(e, t) === n), i = d(e, u()), a = n === this.value, o = this.tabs.map((e, t) => ({
398
+ t: e,
399
+ j: t
400
+ })).filter(({ t }) => t !== e && !t.disabled), s = o.find(({ j: e }) => e > t) ?? o.at(-1), c = s ? s.t.value || String(s.j > t ? s.j - 1 : s.j) : "";
401
+ e.remove(), r?.remove(), a && (this.value = c, s && p(this, "change")), i && s && this.updateComplete.then(() => s.t.focus());
402
+ }
403
+ render() {
404
+ let n = this.orientation === "vertical", r = this.linkMode ? e`<nav class="list" part="tablist" aria-label=${i(this.label)}><slot name="tab"></slot></nav>` : e`<div class="list" part="tablist" role="tablist" aria-orientation=${n ? "vertical" : "horizontal"}
405
+ aria-label=${i(this.label)}><slot name="tab"></slot></div>`, o = this.menuOpen ? this.menuTabs : this.overflowed, s = e`<bk-menu class="more ${o.length ? "" : "off"}" part="more" placement="bottom-end" @select=${this.onMoreSelect}
406
+ @click=${{
407
+ handleEvent: this.onMoreClick,
408
+ capture: !0
409
+ }} @navigate=${this.onMoreNavigate} @open=${this.onMoreOpen} @close=${this.onMoreClose}>
410
+ <bk-button slot="trigger" variant="ghost" size=${this.size} icon="more-horiz" label=${this.i18n.t("more")}></bk-button>
411
+ ${a(o, (e) => e, (t) => e`<bk-menu-item value=${C(t, this.tabs.indexOf(t))} icon=${i(t.icon)} ?disabled=${t.disabled}
412
+ href=${i(t.href)} target=${i(t.target)} rel=${i(t.rel)} download=${i(t.download)}>${t.text}</bk-menu-item>`)}
413
+ </bk-menu>`, c = this.addable ? e`<button class="add interactive" part="add" type="button" title=${this.addLabel || this.i18n.t("tabAdd")}
414
+ aria-label=${this.addLabel || this.i18n.t("tabAdd")} @click=${() => p(this, "add")}><bk-icon name="add"></bk-icon></button>` : t;
415
+ return e`<div class="tabs">
416
+ <div class="bar" part="bar">${r}${s}${this.ends.length || this.addable ? e`<div class="end">${c}<slot name="end"></slot></div>` : t}</div>
417
+ <div class="panels" part="panels"><slot name="panel"></slot></div>
418
+ </div>`;
419
+ }
420
+ };
421
+ l("bk-tabs", w);
422
+ export { w as t };
@@ -1,26 +1,26 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./lit-D8x-qXgH.js";
2
2
  import { t as i } from "./style-map-BMvn17E7.js";
3
3
  import { t as a } from "./repeat-Dxf3qZZl.js";
4
- import { t as o } from "./define-CzVPD4Zi.js";
5
- import { t as s } from "./i18n-B6Al9xCK.js";
6
- import { n as c } from "./announcer-haFcvqbe.js";
7
- import { r as l } from "./events-DQ4e9cPN.js";
8
- import { t as u, x as d } from "./styles-DwSR-9a3.js";
4
+ import { t as o } from "./define-6OfuRn5c.js";
5
+ import { t as s } from "./i18n-DFfGgd3d.js";
6
+ import { i as c, n as l } from "./announcer-6tMlCOq1.js";
7
+ import { r as u } from "./events-DQ4e9cPN.js";
8
+ import { t as d, x as f } from "./styles-CaeyhYDA.js";
9
9
  import "../bk-button.js";
10
10
  import "../bk-spinner.js";
11
11
  import "../bk-toast.js";
12
12
  import "./notifications-BeOyqamh.js";
13
13
  // dist/internal/viewport.js
14
- var f = 0, p;
15
- function m() {
14
+ var p = 0, m;
15
+ function h() {
16
16
  if (typeof window > "u" || !window.visualViewport) return () => {};
17
- f++ || (p = h(window.visualViewport));
17
+ p++ || (m = g(window.visualViewport));
18
18
  let e = !1;
19
19
  return () => {
20
- e || (e = !0, --f || (p?.(), p = void 0));
20
+ e || (e = !0, --p || (m?.(), m = void 0));
21
21
  };
22
22
  }
23
- function h(e) {
23
+ function g(e) {
24
24
  let t = new CSSStyleSheet();
25
25
  document.adoptedStyleSheets = [...document.adoptedStyleSheets, t];
26
26
  let n = 0, r = -1, i = () => {
@@ -35,7 +35,7 @@ function h(e) {
35
35
  };
36
36
  }
37
37
  // dist/components/bk-toast-group.js
38
- var g = 1, _ = class extends n {
38
+ var _ = 1, v = class extends n {
39
39
  static properties = {
40
40
  position: {
41
41
  reflect: !0,
@@ -51,6 +51,7 @@ var g = 1, _ = class extends n {
51
51
  timers = /* @__PURE__ */ new Map();
52
52
  holds = /* @__PURE__ */ new Set();
53
53
  stopKeyboard;
54
+ stopModals;
54
55
  home;
55
56
  i18n = new s(this);
56
57
  internals = this.attachInternals();
@@ -61,13 +62,15 @@ var g = 1, _ = class extends n {
61
62
  super.willUpdate(e), this.internals.ariaLabel = this.i18n.t("notifications");
62
63
  }
63
64
  connectedCallback() {
64
- super.connectedCallback(), this.setAttribute("popover", "manual"), this.addEventListener("pointerenter", this.onPointerEnter), this.addEventListener("pointerleave", this.onPointerLeave), this.addEventListener("focusin", this.onFocusIn), this.addEventListener("focusout", this.onFocusOut), document.addEventListener("visibilitychange", this.onVisibility), document.hidden && this.hold("hidden"), this.stopKeyboard = m();
65
+ super.connectedCallback(), this.setAttribute("popover", "manual"), this.addEventListener("pointerenter", this.onPointerEnter), this.addEventListener("pointerleave", this.onPointerLeave), this.addEventListener("focusin", this.onFocusIn), this.addEventListener("focusout", this.onFocusOut), document.addEventListener("visibilitychange", this.onVisibility), document.hidden && this.hold("hidden"), this.stopKeyboard = h(), this.stopModals = c(() => {
66
+ this.isConnected && this.items.length && (this.relocate(), this.matches(":popover-open") || this.showPopover());
67
+ });
65
68
  }
66
69
  disconnectedCallback() {
67
- super.disconnectedCallback(), document.removeEventListener("visibilitychange", this.onVisibility), this.stopKeyboard?.(), this.stopKeyboard = void 0, this.holds.clear();
70
+ super.disconnectedCallback(), document.removeEventListener("visibilitychange", this.onVisibility), this.stopKeyboard?.(), this.stopKeyboard = void 0, this.stopModals?.(), this.stopModals = void 0, this.holds.clear();
68
71
  }
69
72
  relocate() {
70
- let e = c(), t = e ? e.getRootNode().host ?? e : void 0, n = e && t !== e ? t : e;
73
+ let e = l(), t = e ? e.getRootNode().host ?? e : void 0, n = e && t !== e ? t : e;
71
74
  n && n !== this.parentNode ? (this.home ||= {
72
75
  parent: this.parentNode,
73
76
  next: this.nextSibling
@@ -101,8 +104,8 @@ var g = 1, _ = class extends n {
101
104
  this.holds.size || (n.handle = setTimeout(() => this.hide(e), t)), this.timers.set(e, n);
102
105
  }
103
106
  static styles = [
104
- u,
105
107
  d,
108
+ f,
106
109
  r`
107
110
  :host {
108
111
  position: fixed; inset: auto; margin: 0; padding: 0; border: 0; background: none; overflow: visible;
@@ -158,7 +161,7 @@ var g = 1, _ = class extends n {
158
161
  }
159
162
  show(e, t = {}) {
160
163
  let n = {
161
- id: g++,
164
+ id: _++,
162
165
  message: e,
163
166
  ...t
164
167
  };
@@ -209,7 +212,7 @@ var g = 1, _ = class extends n {
209
212
  leaving: !0
210
213
  } : t);
211
214
  let t = this.renderRoot.querySelector(`.toast[data-id="${e}"] bk-toast`);
212
- t && l(t, "close"), setTimeout(() => {
215
+ t && u(t, "close"), setTimeout(() => {
213
216
  this.items = this.items.filter((t) => t.id !== e), !this.items.length && this.matches(":popover-open") && this.hidePopover();
214
217
  }, 200);
215
218
  }
@@ -274,23 +277,23 @@ var g = 1, _ = class extends n {
274
277
  let t = this.swipe;
275
278
  if (!t || e.pointerId !== t.pointer || (this.swipe = void 0, !t.active)) return;
276
279
  t.el.classList.remove("dragging"), this.release("swipe");
277
- let { width: n } = t.el.getBoundingClientRect(), r = Math.min(n * .4, v(this));
280
+ let { width: n } = t.el.getBoundingClientRect(), r = Math.min(n * .4, y(this));
278
281
  e.type === "pointerup" && Math.abs(t.dx) >= r ? (t.el.style.translate = `${Math.sign(t.dx) * (n + 24)}px 0`, t.el.style.opacity = "0", this.hide(t.id)) : (t.el.style.translate = "", t.el.style.opacity = "");
279
282
  };
280
283
  };
281
- function v(e) {
284
+ function y(e) {
282
285
  let t = document.createElement("span");
283
286
  t.style.cssText = "position: absolute; visibility: hidden; pointer-events: none", e.shadowRoot.appendChild(t), t.style.marginLeft = "var(--bk-toast-swipe-distance, var(--bk-space-16))";
284
287
  let n = parseFloat(getComputedStyle(t).marginLeft);
285
288
  return t.remove(), Number.isFinite(n) && n > 0 ? n : 64;
286
289
  }
287
- o("bk-toast-group", _);
288
- function y(e, t) {
290
+ o("bk-toast-group", v);
291
+ function b(e, t) {
289
292
  let n = document.querySelector("bk-toast-group");
290
293
  return n || (n = document.createElement("bk-toast-group"), document.body.append(n)), n.show(e, t);
291
294
  }
292
- y.promise = (e, t, n) => {
293
- let r = y(t.loading, {
295
+ b.promise = (e, t, n) => {
296
+ let r = b(t.loading, {
294
297
  ...n,
295
298
  loading: !0
296
299
  });
@@ -302,4 +305,4 @@ y.promise = (e, t, n) => {
302
305
  loading: !1
303
306
  })), e;
304
307
  };
305
- export { y as n, m as r, _ as t };
308
+ export { b as n, h as r, v as t };
@@ -1,5 +1,21 @@
1
+ import { a as e, i as t } from "./format-DEwvmPPd.js";
2
+ import { s as n } from "./frame-xIMVEUCi.js";
3
+ // dist/charts/fields.js
4
+ var r = { fromAttribute(e) {
5
+ return (e ?? "").split(/\s+/).filter(Boolean).map((e) => ({ key: e }));
6
+ } };
7
+ function i(e) {
8
+ return (e ?? []).map((e) => typeof e == "string" ? { key: e } : e).filter((e) => e && e.key);
9
+ }
10
+ var a = (e) => e.label || e.key;
11
+ function o(r, i, a) {
12
+ let o = i?.[a.key];
13
+ if (o instanceof Date) return t(r, o.getTime());
14
+ let s = n(o);
15
+ return s === null ? o == null || o === "" ? "–" : String(o) : e(r, s, a.format);
16
+ }
1
17
  // dist/charts/brush.js
2
- var e = class {
18
+ var s = class {
3
19
  apply;
4
20
  anchor = null;
5
21
  head = 0;
@@ -39,4 +55,4 @@ var e = class {
39
55
  return this.anchor = null, this.down = null, this.moved = !1, e;
40
56
  }
41
57
  };
42
- export { e as t };
58
+ export { r as a, i, a as n, o as r, s as t };
@@ -1,23 +1,24 @@
1
1
  import { a as e, n as t, u as n } from "./lit-D8x-qXgH.js";
2
- import { t as r } from "./announcer-haFcvqbe.js";
2
+ import { t as r } from "./announcer-6tMlCOq1.js";
3
3
  import { t as i } from "./loading-B37QBUkv.js";
4
4
  import "../bk-spinner.js";
5
5
  // dist/internal/busy.js
6
6
  var a = class {
7
7
  host;
8
8
  i18n;
9
+ internals;
9
10
  loader;
10
11
  wasVisible = !1;
11
12
  ownTabindex = !1;
12
- constructor(e, t) {
13
- this.host = e, this.i18n = t, this.loader = new i(e), e.addController(this);
13
+ constructor(e, t, n) {
14
+ this.host = e, this.i18n = t, this.internals = n, this.loader = new i(e), e.addController(this);
14
15
  }
15
16
  get inert() {
16
17
  return this.loader.visible;
17
18
  }
18
19
  hostUpdate() {
19
20
  let { host: e } = this;
20
- this.loader.set(e.busy), e.busy ? e.setAttribute("aria-busy", "true") : e.getAttribute("aria-busy") === "true" && e.removeAttribute("aria-busy");
21
+ this.loader.set(e.busy), this.internals.ariaBusy = e.busy ? "true" : null;
21
22
  let t = this.loader.visible;
22
23
  t && !this.wasVisible && (e.matches(":focus-within") && (e.hasAttribute("tabindex") || (e.setAttribute("tabindex", "-1"), this.ownTabindex = !0, e.addEventListener("blur", this.release, { once: !0 })), e.focus({ preventScroll: !0 })), r(e.busyLabel || this.i18n.t("loading"))), this.wasVisible = t;
23
24
  }
@@ -1,4 +1,4 @@
1
- import { i as e, t } from "./tokens-BuahF1lF.js";
1
+ import { i as e, t } from "./tokens-C_ul7pL9.js";
2
2
  // dist/charts/chart-tokens.js
3
3
  var n = [
4
4
  {
@@ -96,7 +96,7 @@ var n = [
96
96
  --bk-chart-hero-size: calc(48px * var(--bk-text-scale));
97
97
  --bk-chart-label-size: var(--bk-text-xs);
98
98
  }
99
- :root, [data-theme], [data-bk-scope] {
99
+ :root, [data-theme], [data-bk-scope], :is(:state(bk-scope)) {
100
100
  --bk-chart-single: var(--bk-accent-solid);
101
101
  ${a}
102
102
  --bk-chart-other: light-dark(oklch(from var(--bk-neutral) 0.72 calc(c * 0.6) h), oklch(from var(--bk-neutral) 0.5 calc(c * 0.6) h));
@@ -1,13 +1,13 @@
1
1
  import { a as e, d as t, u as n } from "./lit-D8x-qXgH.js";
2
2
  import { o as r, t as i } from "./anchor-CNX3nt2F.js";
3
3
  import { t as a } from "./events-DQ4e9cPN.js";
4
- import { a as o, c as s, d as c, i as l, l as u, o as d, s as f, t as p } from "./options-DMEc8rQt.js";
4
+ import { a as o, c as s, d as c, i as l, l as u, o as d, s as f, t as p } from "./options-ySaDL-dW.js";
5
5
  import { n as m, t as h } from "./sheet-BFSt2x3d.js";
6
- import { b as g, y as _ } from "./styles-DwSR-9a3.js";
7
- import { t as v } from "./text-field-4IUUpRHE.js";
6
+ import { b as g, y as _ } from "./styles-CaeyhYDA.js";
7
+ import { t as v } from "./text-field-CufOGdfr.js";
8
8
  import { t as y } from "./scroll-CB6-StUs.js";
9
- import { n as b, t as x } from "./virtual-B-1oN14Y.js";
10
- import { r as S } from "./define-CzVPD4Zi.js";
9
+ import { n as b, t as x } from "./virtual-D-qgACnE.js";
10
+ import { i as S } from "./define-6OfuRn5c.js";
11
11
  // dist/internal/choice-field.js
12
12
  var C = 0;
13
13
  function w(e) {
@@ -44,7 +44,7 @@ function w(e) {
44
44
  --_bk-popup-bg: var(${r}-popup-bg);
45
45
  --_bk-popup-fg: initial;
46
46
  --_bk-popup-border: var(${r}-popup-border);
47
- --_bk-popup-radius: var(${r}-popup-radius);
47
+ --_bk-popup-radius: var(${r}-popup-radius, var(--_bk-popup-row-radius));
48
48
  --_bk-popup-shadow: var(${r}-popup-shadow);
49
49
  --_bk-popup-padding: var(${r}-popup-padding);
50
50
  --_bk-popup-offset: var(${r}-popup-offset);