@bk2k/ui 0.7.0 → 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 (313) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/USAGE.md +20 -9
  3. package/custom-elements.json +1 -1
  4. package/dist/charts/frame.d.ts +2 -0
  5. package/dist/components/bk-alert.js +1 -1
  6. package/dist/components/bk-button.d.ts +5 -0
  7. package/dist/components/bk-button.js +15 -4
  8. package/dist/components/bk-card.d.ts +6 -3
  9. package/dist/components/bk-card.js +15 -9
  10. package/dist/components/bk-chart-area.d.ts +4 -0
  11. package/dist/components/bk-chart-line.d.ts +15 -0
  12. package/dist/components/bk-chart-line.js +16 -6
  13. package/dist/components/bk-chip.d.ts +2 -0
  14. package/dist/components/bk-chip.js +3 -1
  15. package/dist/components/bk-combobox.d.ts +2 -2
  16. package/dist/components/bk-combobox.js +7 -20
  17. package/dist/components/bk-footnotes-item.d.ts +2 -2
  18. package/dist/components/bk-image-compare.d.ts +36 -1
  19. package/dist/components/bk-image-compare.js +47 -11
  20. package/dist/components/bk-image-viewer.d.ts +74 -3
  21. package/dist/components/bk-image-viewer.js +115 -28
  22. package/dist/components/bk-input-color.d.ts +2 -5
  23. package/dist/components/bk-input-color.js +0 -14
  24. package/dist/components/bk-input-file.d.ts +17 -0
  25. package/dist/components/bk-input-file.js +18 -8
  26. package/dist/components/bk-input-tags.d.ts +219 -0
  27. package/dist/components/bk-input-tags.js +293 -0
  28. package/dist/components/bk-input-text.d.ts +9 -0
  29. package/dist/components/bk-input-text.js +18 -2
  30. package/dist/components/bk-lightbox.d.ts +25 -1
  31. package/dist/components/bk-lightbox.js +7 -0
  32. package/dist/components/bk-page-cta.d.ts +2 -0
  33. package/dist/components/bk-page-cta.js +8 -1
  34. package/dist/components/bk-split-grid.js +7 -2
  35. package/dist/components/bk-stat.d.ts +2 -0
  36. package/dist/components/bk-stat.js +1 -1
  37. package/dist/components/bk-table.d.ts +2 -0
  38. package/dist/components/bk-table.js +1 -1
  39. package/dist/components/bk-tabs.d.ts +2 -1
  40. package/dist/components/bk-tabs.js +15 -3
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.js +1 -0
  43. package/dist/internal/announcer.d.ts +6 -0
  44. package/dist/internal/announcer.js +7 -2
  45. package/dist/internal/cloak.js +1 -0
  46. package/dist/internal/define.d.ts +9 -0
  47. package/dist/internal/define.js +47 -1
  48. package/dist/internal/elements.d.ts +6 -0
  49. package/dist/internal/elements.js +5 -0
  50. package/dist/internal/hue.d.ts +8 -0
  51. package/dist/internal/hue.js +15 -4
  52. package/dist/internal/late/bk-tabs.d.ts +4 -0
  53. package/dist/internal/late/bk-tabs.js +8 -0
  54. package/dist/internal/late.js +3 -3
  55. package/dist/internal/tags.d.ts +15 -0
  56. package/dist/internal/tags.js +44 -0
  57. package/dist/internal/text-field.d.ts +2 -0
  58. package/dist/internal/text-field.js +8 -0
  59. package/dist/internal/toggle-control.js +3 -1
  60. package/dist/jsx.d.ts +85 -6
  61. package/dist/kit.d.ts +1 -0
  62. package/dist/kit.js +3 -0
  63. package/dist/reset.css +1 -1
  64. package/dist/standalone/all.js +106 -105
  65. package/dist/standalone/bk-accordion-item.js +3 -3
  66. package/dist/standalone/bk-accordion.js +1 -1
  67. package/dist/standalone/bk-action-bar.js +1 -1
  68. package/dist/standalone/bk-alert-offline.js +1 -1
  69. package/dist/standalone/bk-alert.js +7 -4
  70. package/dist/standalone/bk-app-state.js +1 -1
  71. package/dist/standalone/bk-attachment.js +2 -2
  72. package/dist/standalone/bk-avatar-group.js +1 -1
  73. package/dist/standalone/bk-avatar.js +3 -3
  74. package/dist/standalone/bk-badge.js +1 -1
  75. package/dist/standalone/bk-bar.js +1 -1
  76. package/dist/standalone/bk-brand.js +1 -1
  77. package/dist/standalone/bk-breadcrumbs.js +2 -2
  78. package/dist/standalone/bk-button-copy.js +4 -4
  79. package/dist/standalone/bk-button-group.js +2 -2
  80. package/dist/standalone/bk-button-share.js +4 -4
  81. package/dist/standalone/bk-button-top.js +1 -1
  82. package/dist/standalone/bk-button.js +14 -6
  83. package/dist/standalone/bk-calendar-event.js +1 -1
  84. package/dist/standalone/bk-calendar-week.js +1 -1
  85. package/dist/standalone/bk-calendar.js +2 -2
  86. package/dist/standalone/bk-card.js +17 -11
  87. package/dist/standalone/bk-carousel-controls.js +2 -2
  88. package/dist/standalone/bk-carousel-item.js +1 -1
  89. package/dist/standalone/bk-carousel.js +1 -1
  90. package/dist/standalone/bk-chart-area.js +1 -1
  91. package/dist/standalone/bk-chart-bar-list.js +2 -2
  92. package/dist/standalone/bk-chart-bar.js +1 -1
  93. package/dist/standalone/bk-chart-bridge.js +1 -1
  94. package/dist/standalone/bk-chart-bullet.js +1 -1
  95. package/dist/standalone/bk-chart-calendar.js +1 -1
  96. package/dist/standalone/bk-chart-heatmap.js +1 -1
  97. package/dist/standalone/bk-chart-histogram.js +1 -1
  98. package/dist/standalone/bk-chart-legend.js +1 -1
  99. package/dist/standalone/bk-chart-line.js +16 -8
  100. package/dist/standalone/bk-chart-mark.js +1 -1
  101. package/dist/standalone/bk-chart-scatter.js +1 -1
  102. package/dist/standalone/bk-chart-sparkline.js +1 -1
  103. package/dist/standalone/bk-chart-stacked-bar.js +1 -1
  104. package/dist/standalone/bk-chart-tracker.js +1 -1
  105. package/dist/standalone/bk-chart-waterfall.js +2 -2
  106. package/dist/standalone/bk-checkbox-group.js +5 -5
  107. package/dist/standalone/bk-checkbox.js +3 -3
  108. package/dist/standalone/bk-chip-group.js +4 -4
  109. package/dist/standalone/bk-chip.js +5 -3
  110. package/dist/standalone/bk-cluster.js +1 -1
  111. package/dist/standalone/bk-code-diff.js +2 -2
  112. package/dist/standalone/bk-code-stack.js +1 -1
  113. package/dist/standalone/bk-code.js +1 -1
  114. package/dist/standalone/bk-color-panel.js +2 -2
  115. package/dist/standalone/bk-columns.js +1 -1
  116. package/dist/standalone/bk-combobox.js +21 -30
  117. package/dist/standalone/bk-command-menu.js +3 -3
  118. package/dist/standalone/bk-command-palette.js +4 -4
  119. package/dist/standalone/bk-composer.js +4 -4
  120. package/dist/standalone/bk-delta.js +1 -1
  121. package/dist/standalone/bk-diagram.js +1 -1
  122. package/dist/standalone/bk-dialog.js +1 -1
  123. package/dist/standalone/bk-disclosure.js +2 -2
  124. package/dist/standalone/bk-divider.js +4 -4
  125. package/dist/standalone/bk-drawer.js +2 -2
  126. package/dist/standalone/bk-drop-target.js +1 -1
  127. package/dist/standalone/bk-empty-state.js +2 -2
  128. package/dist/standalone/bk-error-summary.js +1 -1
  129. package/dist/standalone/bk-facts-item.js +1 -1
  130. package/dist/standalone/bk-facts.js +1 -1
  131. package/dist/standalone/bk-feature.js +2 -2
  132. package/dist/standalone/bk-fieldset.js +1 -1
  133. package/dist/standalone/bk-filter-bar.js +2 -2
  134. package/dist/standalone/bk-folder-browser.js +2 -2
  135. package/dist/standalone/bk-footnote.js +1 -1
  136. package/dist/standalone/bk-footnotes-item.js +2 -2
  137. package/dist/standalone/bk-footnotes.js +1 -1
  138. package/dist/standalone/bk-form-guard.js +1 -1
  139. package/dist/standalone/bk-form-steps.js +1 -1
  140. package/dist/standalone/bk-grid.js +1 -1
  141. package/dist/standalone/bk-icon-tile.js +2 -2
  142. package/dist/standalone/bk-icon.js +1 -1
  143. package/dist/standalone/bk-image-compare.js +55 -27
  144. package/dist/standalone/bk-image-crop.js +3 -3
  145. package/dist/standalone/bk-image-editor.js +1 -1
  146. package/dist/standalone/bk-image-viewer.js +127 -57
  147. package/dist/standalone/bk-input-code.js +2 -2
  148. package/dist/standalone/bk-input-color.js +3 -13
  149. package/dist/standalone/bk-input-date-range.js +2 -2
  150. package/dist/standalone/bk-input-date.js +2 -2
  151. package/dist/standalone/bk-input-file.js +20 -13
  152. package/dist/standalone/bk-input-group.js +2 -2
  153. package/dist/standalone/bk-input-inline.js +1 -1
  154. package/dist/standalone/bk-input-number.js +4 -4
  155. package/dist/standalone/bk-input-rating.js +4 -4
  156. package/dist/standalone/bk-input-rich.js +1 -1
  157. package/dist/standalone/bk-input-search.js +4 -4
  158. package/dist/standalone/bk-input-slider-range.js +2 -2
  159. package/dist/standalone/bk-input-slider.js +2 -2
  160. package/dist/standalone/bk-input-tags.js +224 -0
  161. package/dist/standalone/bk-input-text.js +1 -1
  162. package/dist/standalone/bk-input-time-zone.js +1 -1
  163. package/dist/standalone/bk-input-time.js +4 -4
  164. package/dist/standalone/bk-item-group.js +2 -2
  165. package/dist/standalone/bk-item.js +2 -2
  166. package/dist/standalone/bk-kbd-shortcuts.js +1 -1
  167. package/dist/standalone/bk-kbd.js +1 -1
  168. package/dist/standalone/bk-lightbox.js +16 -3
  169. package/dist/standalone/bk-lines.js +1 -1
  170. package/dist/standalone/bk-link.js +2 -2
  171. package/dist/standalone/bk-listbox-columns.js +6 -6
  172. package/dist/standalone/bk-listbox-item.js +1 -1
  173. package/dist/standalone/bk-listbox-search.js +5 -5
  174. package/dist/standalone/bk-listbox-transfer.js +4 -4
  175. package/dist/standalone/bk-listbox.js +5 -5
  176. package/dist/standalone/bk-logo-wall.js +1 -1
  177. package/dist/standalone/bk-logo.js +2 -2
  178. package/dist/standalone/bk-menu-bar.js +1 -1
  179. package/dist/standalone/bk-menu-context.js +1 -1
  180. package/dist/standalone/bk-menu-divider.js +1 -1
  181. package/dist/standalone/bk-menu-item.js +2 -2
  182. package/dist/standalone/bk-menu-label.js +1 -1
  183. package/dist/standalone/bk-menu-list.js +1 -1
  184. package/dist/standalone/bk-menu.js +4 -4
  185. package/dist/standalone/bk-message-approval.js +2 -2
  186. package/dist/standalone/bk-message-branches.js +1 -1
  187. package/dist/standalone/bk-message-citation.js +1 -1
  188. package/dist/standalone/bk-message-feedback.js +2 -2
  189. package/dist/standalone/bk-message-list.js +2 -2
  190. package/dist/standalone/bk-message-reasoning.js +3 -3
  191. package/dist/standalone/bk-message-source.js +1 -1
  192. package/dist/standalone/bk-message-tool-group.js +3 -3
  193. package/dist/standalone/bk-message-tool.js +3 -3
  194. package/dist/standalone/bk-message.js +2 -2
  195. package/dist/standalone/bk-meter.js +1 -1
  196. package/dist/standalone/bk-model-viewer.js +1 -1
  197. package/dist/standalone/bk-nav-divider.js +1 -1
  198. package/dist/standalone/bk-nav-group.js +5 -5
  199. package/dist/standalone/bk-nav-item.js +2 -2
  200. package/dist/standalone/bk-nav-toc.js +1 -1
  201. package/dist/standalone/bk-nav.js +1 -1
  202. package/dist/standalone/bk-overflow.js +1 -1
  203. package/dist/standalone/bk-page-cta.js +10 -3
  204. package/dist/standalone/bk-page-footer-column.js +1 -1
  205. package/dist/standalone/bk-page-footer.js +1 -1
  206. package/dist/standalone/bk-page-header.js +2 -2
  207. package/dist/standalone/bk-page-hero.js +2 -2
  208. package/dist/standalone/bk-page-pager.js +2 -2
  209. package/dist/standalone/bk-page-section.js +2 -2
  210. package/dist/standalone/bk-pagination.js +3 -3
  211. package/dist/standalone/bk-pane.js +2 -2
  212. package/dist/standalone/bk-panel.js +2 -2
  213. package/dist/standalone/bk-period-nav.js +2 -2
  214. package/dist/standalone/bk-picture.js +1 -175
  215. package/dist/standalone/bk-popover-help.js +1 -1
  216. package/dist/standalone/bk-popover.js +1 -1
  217. package/dist/standalone/bk-presence-cursor.js +2 -2
  218. package/dist/standalone/bk-preview.js +2 -2
  219. package/dist/standalone/bk-progress.js +1 -1
  220. package/dist/standalone/bk-prose.js +1 -1
  221. package/dist/standalone/bk-qr-code.js +1 -1
  222. package/dist/standalone/bk-radio-group.js +5 -5
  223. package/dist/standalone/bk-radio.js +2 -2
  224. package/dist/standalone/bk-rating.js +3 -3
  225. package/dist/standalone/bk-scroll.js +1 -1
  226. package/dist/standalone/bk-segmented-item.js +2 -2
  227. package/dist/standalone/bk-segmented.js +4 -4
  228. package/dist/standalone/bk-select-cascade.js +3 -3
  229. package/dist/standalone/bk-select-tree.js +4 -4
  230. package/dist/standalone/bk-select.js +4 -4
  231. package/dist/standalone/bk-shell-app.js +1 -1
  232. package/dist/standalone/bk-shell-centered.js +1 -1
  233. package/dist/standalone/bk-shell-sites.js +1 -1
  234. package/dist/standalone/bk-skeleton.js +1 -1
  235. package/dist/standalone/bk-sortable.js +2 -2
  236. package/dist/standalone/bk-spinner.js +1 -1
  237. package/dist/standalone/bk-split-grid.js +10 -7
  238. package/dist/standalone/bk-split.js +6 -6
  239. package/dist/standalone/bk-stack.js +1 -1
  240. package/dist/standalone/bk-stat-group.js +1 -1
  241. package/dist/standalone/bk-stat.js +3 -3
  242. package/dist/standalone/bk-status-dot.js +2 -2
  243. package/dist/standalone/bk-steps-item.js +2 -2
  244. package/dist/standalone/bk-steps.js +1 -1
  245. package/dist/standalone/bk-surface.js +1 -1
  246. package/dist/standalone/bk-swatch-group.js +6 -6
  247. package/dist/standalone/bk-swatch-palette.js +1 -1
  248. package/dist/standalone/bk-swatch.js +1 -1
  249. package/dist/standalone/bk-switch.js +2 -2
  250. package/dist/standalone/bk-table.js +1 -1
  251. package/dist/standalone/bk-tabs-item.js +2 -2
  252. package/dist/standalone/bk-tabs-panel.js +1 -1
  253. package/dist/standalone/bk-tabs.js +3 -414
  254. package/dist/standalone/bk-tasks-item.js +2 -2
  255. package/dist/standalone/bk-tasks.js +1 -1
  256. package/dist/standalone/bk-testimonial.js +2 -2
  257. package/dist/standalone/bk-text.js +3 -3
  258. package/dist/standalone/bk-time-countdown.js +2 -2
  259. package/dist/standalone/bk-time-relative.js +1 -1
  260. package/dist/standalone/bk-timeline-item.js +2 -2
  261. package/dist/standalone/bk-timeline.js +1 -1
  262. package/dist/standalone/bk-toast-group.js +1 -1
  263. package/dist/standalone/bk-toast.js +2 -2
  264. package/dist/standalone/bk-toolbar.js +1 -1
  265. package/dist/standalone/bk-tooltip.js +1 -1
  266. package/dist/standalone/bk-tree-item.js +3 -3
  267. package/dist/standalone/bk-tree.js +4 -4
  268. package/dist/standalone/bk-video.js +2 -2
  269. package/dist/standalone/bk-visually-hidden.js +1 -1
  270. package/dist/standalone/bk-zoom.js +3 -3
  271. package/dist/standalone/chunks/{announcer-D1zrRWwO.js → announcer-6tMlCOq1.js} +9 -4
  272. package/dist/standalone/chunks/{bk-alert-offline-Clw0ZSsH.js → bk-alert-offline-hCLuG-RM.js} +1 -1
  273. package/dist/standalone/chunks/{bk-carousel-Biz7t8sL.js → bk-carousel-_dudBMVq.js} +2 -2
  274. package/dist/standalone/chunks/{bk-diagram-D_fQf6SF.js → bk-diagram-BB2odomE.js} +2 -2
  275. package/dist/standalone/chunks/{bk-dialog-DwZyUUHh.js → bk-dialog-DcvwnOtN.js} +2 -2
  276. package/dist/standalone/chunks/{bk-icon-Bp_flKdv.js → bk-icon-D4kI4F18.js} +1 -1
  277. package/dist/standalone/chunks/{bk-image-editor-BADsoLRL.js → bk-image-editor-SRVkHI-4.js} +2 -2
  278. package/dist/standalone/chunks/{bk-input-date-range-DHcJ8-5g.js → bk-input-date-range-C0Vd-p0T.js} +2 -2
  279. package/dist/standalone/chunks/{bk-input-rich-CFhW6vRa.js → bk-input-rich-AmDv87E5.js} +3 -3
  280. package/dist/standalone/chunks/{bk-input-text-DviyLBqj.js → bk-input-text-2n89GDIT.js} +15 -5
  281. package/dist/standalone/chunks/{bk-model-viewer-w_Ah4Tvs.js → bk-model-viewer-BoNYBd6W.js} +2 -2
  282. package/dist/standalone/chunks/bk-picture-CA5gLxgZ.js +186 -0
  283. package/dist/standalone/chunks/{bk-qr-code-CYMovNVl.js → bk-qr-code-CSFfc8As.js} +1 -1
  284. package/dist/standalone/chunks/{bk-shell-app-B2lxHit8.js → bk-shell-app-BlCOG25y.js} +31 -30
  285. package/dist/standalone/chunks/{bk-surface-D7e0tErs.js → bk-surface-BULRdKam.js} +1 -1
  286. package/dist/standalone/chunks/{bk-swatch-palette-x13JgJQi.js → bk-swatch-palette-Cqj85tSW.js} +1 -1
  287. package/dist/standalone/chunks/{bk-table-CP8n_jy7.js → bk-table-DWlD7yoM.js} +72 -71
  288. package/dist/standalone/chunks/bk-tabs-STkr3-E1.js +422 -0
  289. package/dist/standalone/chunks/{bk-toast-group-CoL6W7uk.js → bk-toast-group-5nZg7BaJ.js} +2 -2
  290. package/dist/standalone/chunks/{busy-BUB22mGY.js → busy-eG3uHonz.js} +1 -1
  291. package/dist/standalone/chunks/{choice-field-poOTerh1.js → choice-field-B0oe_9fI.js} +4 -4
  292. package/dist/standalone/chunks/{date-field-B-fCXa2D.js → date-field-Dy1_qxNv.js} +2 -2
  293. package/dist/standalone/chunks/define-6OfuRn5c.js +60 -0
  294. package/dist/standalone/chunks/{form-control-CHpfKAKa.js → form-control-Bmk0SRDX.js} +1 -1
  295. package/dist/standalone/chunks/{handle-menu-BgYUbGO2.js → handle-menu-BAe9fPYJ.js} +10 -36
  296. package/dist/standalone/chunks/{heading-text-CgnCa_q2.js → heading-text-B2kF-b8p.js} +1 -1
  297. package/dist/standalone/chunks/hue-vLbNdAEl.js +20 -0
  298. package/dist/standalone/chunks/late-CPQ_RbU-.js +30 -0
  299. package/dist/standalone/chunks/{options-BdC8-KKM.js → options-ySaDL-dW.js} +1 -1
  300. package/dist/standalone/chunks/{stars-BgKEjDQx.js → stars-BAUc_LqI.js} +1 -1
  301. package/dist/standalone/chunks/tags-CMLAGsVw.js +37 -0
  302. package/dist/standalone/chunks/{text-field-CqhJSAwZ.js → text-field-CufOGdfr.js} +16 -10
  303. package/dist/standalone/chunks/{toggle-control-lvZbQtGW.js → toggle-control-Cgqp1jhf.js} +4 -2
  304. package/dist/standalone/chunks/{virtual-C_h6sHnm.js → virtual-D-qgACnE.js} +1 -1
  305. package/dist/standalone/confirm.js +2 -2
  306. package/dist/standalone/reset.css +1 -1
  307. package/dist/standalone/toast.js +1 -1
  308. package/dist/standalone/tokens.css +1 -1
  309. package/dist/tokens.css +1 -1
  310. package/package.json +2 -2
  311. package/dist/standalone/chunks/define-DkVeu7e9.js +0 -30
  312. package/dist/standalone/chunks/hue-Jvb-141g.js +0 -14
  313. package/dist/standalone/chunks/keyed-CZ2AaouM.js +0 -16
@@ -1,15 +1,15 @@
1
1
  import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as r } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { i, n as a, u as o } from "./chunks/anchor-CNX3nt2F.js";
4
- import { n as s, t as c } from "./chunks/define-DkVeu7e9.js";
4
+ import { r as s, t as c } from "./chunks/define-6OfuRn5c.js";
5
5
  import { t as l } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { t as u } from "./chunks/popover-base-hxo-Vh6E.js";
7
7
  import { BkMenuItem as d } from "./bk-menu-item.js";
8
8
  import { BkMenuLabel as f } from "./bk-menu-label.js";
9
9
  import "./bk-menu-list.js";
10
- import "./chunks/bk-input-text-DviyLBqj.js";
11
- import "./chunks/bk-icon-Bp_flKdv.js";
12
- import { r as p } from "./chunks/options-BdC8-KKM.js";
10
+ import "./chunks/bk-input-text-2n89GDIT.js";
11
+ import "./chunks/bk-icon-D4kI4F18.js";
12
+ import { r as p } from "./chunks/options-ySaDL-dW.js";
13
13
  import { t as m } from "./chunks/scroll-CB6-StUs.js";
14
14
  import "./chunks/search-Cm9mOqRy.js";
15
15
  // dist/components/bk-menu.js
@@ -1,11 +1,11 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
3
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
4
4
  import { n as o } from "./chunks/events-DQ4e9cPN.js";
5
5
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { t as c } from "./chunks/styles-CaeyhYDA.js";
7
7
  import "./bk-button.js";
8
- import "./chunks/bk-icon-Bp_flKdv.js";
8
+ import "./chunks/bk-icon-D4kI4F18.js";
9
9
  import "./chunks/block-BnkC6tdx.js";
10
10
  import "./chunks/check-circle-DYcaKS5n.js";
11
11
  import "./chunks/front-hand-DK5FZLl4.js";
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
3
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as o } from "./chunks/events-DQ4e9cPN.js";
5
5
  import { t as s } from "./chunks/styles-CaeyhYDA.js";
6
6
  import "./bk-button.js";
@@ -1,7 +1,7 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { t as a } from "./chunks/i18n-DFfGgd3d.js";
4
- import { t as o } from "./chunks/define-DkVeu7e9.js";
4
+ import { t as o } from "./chunks/define-6OfuRn5c.js";
5
5
  import { l as s, t as c } from "./chunks/link--YWr8exL.js";
6
6
  import { t as l } from "./chunks/styles-CaeyhYDA.js";
7
7
  import "./bk-message-source.js";
@@ -1,10 +1,10 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
3
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as o } from "./chunks/events-DQ4e9cPN.js";
5
5
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { t as c, v as l } from "./chunks/styles-CaeyhYDA.js";
7
- import "./chunks/bk-icon-Bp_flKdv.js";
7
+ import "./chunks/bk-icon-D4kI4F18.js";
8
8
  import "./bk-tooltip.js";
9
9
  import "./chunks/group-RW5fFMy-.js";
10
10
  import "./chunks/thumb-down-zHkW2GuY.js";
@@ -1,10 +1,10 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { r as i } from "./chunks/format-Dj4SzErj.js";
3
3
  import { t as a } from "./chunks/i18n-DFfGgd3d.js";
4
- import { t as o } from "./chunks/define-DkVeu7e9.js";
4
+ import { t as o } from "./chunks/define-6OfuRn5c.js";
5
5
  import { t as s, v as c, x as l } from "./chunks/styles-CaeyhYDA.js";
6
6
  import "./bk-button.js";
7
- import "./chunks/bk-icon-Bp_flKdv.js";
7
+ import "./chunks/bk-icon-D4kI4F18.js";
8
8
  import "./chunks/arrow-down-yAm1AGV7.js";
9
9
  import "./chunks/person-DE-elrsL.js";
10
10
  // dist/components/bk-message-list.js
@@ -1,12 +1,12 @@
1
1
  import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as r } from "./chunks/i18n-DFfGgd3d.js";
3
- import { t as i } from "./chunks/announcer-D1zrRWwO.js";
4
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as i } from "./chunks/announcer-6tMlCOq1.js";
4
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
5
5
  import { i as o } from "./chunks/events-DQ4e9cPN.js";
6
6
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
7
7
  import { t as c } from "./chunks/styles-CaeyhYDA.js";
8
8
  import "./bk-disclosure.js";
9
- import "./chunks/bk-icon-Bp_flKdv.js";
9
+ import "./chunks/bk-icon-D4kI4F18.js";
10
10
  import "./bk-text.js";
11
11
  import "./chunks/label-cokyRPHN.js";
12
12
  import "./chunks/neurology-C-8vsuJV.js";
@@ -1,7 +1,7 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { t as a } from "./chunks/i18n-DFfGgd3d.js";
4
- import { t as o } from "./chunks/define-DkVeu7e9.js";
4
+ import { t as o } from "./chunks/define-6OfuRn5c.js";
5
5
  import { l as s, t as c } from "./chunks/link--YWr8exL.js";
6
6
  import { t as l } from "./chunks/slots-BHTtBbPo.js";
7
7
  import { t as u, v as d, x as f } from "./chunks/styles-CaeyhYDA.js";
@@ -1,13 +1,13 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
3
- import { r as a, t as o } from "./chunks/define-DkVeu7e9.js";
3
+ import { i as a, t as o } from "./chunks/define-6OfuRn5c.js";
4
4
  import { i as s } from "./chunks/events-DQ4e9cPN.js";
5
5
  import { t as c } from "./chunks/styles-CaeyhYDA.js";
6
6
  import "./bk-disclosure.js";
7
- import "./chunks/bk-icon-Bp_flKdv.js";
7
+ import "./chunks/bk-icon-D4kI4F18.js";
8
8
  import "./bk-spinner.js";
9
9
  import "./bk-stack.js";
10
- import "./chunks/bk-surface-D7e0tErs.js";
10
+ import "./chunks/bk-surface-BULRdKam.js";
11
11
  import "./bk-text.js";
12
12
  import "./chunks/error-BWRRZUg8.js";
13
13
  import "./chunks/group-RW5fFMy-.js";
@@ -1,12 +1,12 @@
1
1
  import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as r } from "./chunks/i18n-DFfGgd3d.js";
3
- import { t as i } from "./chunks/announcer-D1zrRWwO.js";
4
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as i } from "./chunks/announcer-6tMlCOq1.js";
4
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
5
5
  import { i as o } from "./chunks/events-DQ4e9cPN.js";
6
6
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
7
7
  import { t as c } from "./chunks/styles-CaeyhYDA.js";
8
8
  import "./bk-disclosure.js";
9
- import "./chunks/bk-icon-Bp_flKdv.js";
9
+ import "./chunks/bk-icon-D4kI4F18.js";
10
10
  import "./bk-spinner.js";
11
11
  import "./chunks/block-BnkC6tdx.js";
12
12
  import "./chunks/check-circle-DYcaKS5n.js";
@@ -2,12 +2,12 @@ import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { r as a, s as o } from "./chunks/format-Dj4SzErj.js";
4
4
  import { t as s } from "./chunks/i18n-DFfGgd3d.js";
5
- import { t as c } from "./chunks/define-DkVeu7e9.js";
5
+ import { t as c } from "./chunks/define-6OfuRn5c.js";
6
6
  import { t as l } from "./chunks/events-DQ4e9cPN.js";
7
7
  import { t as u } from "./chunks/slots-BHTtBbPo.js";
8
8
  import { t as d } from "./chunks/styles-CaeyhYDA.js";
9
9
  import "./bk-button.js";
10
- import "./chunks/bk-icon-Bp_flKdv.js";
10
+ import "./chunks/bk-icon-D4kI4F18.js";
11
11
  import "./bk-spinner.js";
12
12
  import "./chunks/error-BWRRZUg8.js";
13
13
  import "./chunks/refresh-BeOCgDeL.js";
@@ -1,5 +1,5 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as i } from "./chunks/define-DkVeu7e9.js";
2
+ import { t as i } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as a } from "./chunks/host-vars-DTKbhBPu.js";
4
4
  import { t as o } from "./chunks/i18n-DFfGgd3d.js";
5
5
  import { n as s, t as c } from "./chunks/bar-CqZCcU7-.js";
@@ -1 +1 @@
1
- export { t as BkModelViewer } from "./chunks/bk-model-viewer-w_Ah4Tvs.js";
1
+ export { t as BkModelViewer } from "./chunks/bk-model-viewer-BoNYBd6W.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e, u as t } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as n } from "./chunks/define-DkVeu7e9.js";
2
+ import { t as n } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as r } from "./chunks/styles-CaeyhYDA.js";
4
4
  // dist/components/bk-nav-divider.js
5
5
  var i = class extends e {
@@ -2,13 +2,13 @@ import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { t as a } from "./chunks/i18n-DFfGgd3d.js";
4
4
  import { o, t as s } from "./chunks/anchor-CNX3nt2F.js";
5
- import { n as c, r as l, t as u } from "./chunks/define-DkVeu7e9.js";
5
+ import { i as c, r as l, t as u } from "./chunks/define-6OfuRn5c.js";
6
6
  import { t as d } from "./chunks/link--YWr8exL.js";
7
7
  import { i as f } from "./chunks/events-DQ4e9cPN.js";
8
8
  import { t as p } from "./chunks/state-XYmTmnOw.js";
9
9
  import { a as m, b as h, t as g, v as _, y as v } from "./chunks/styles-CaeyhYDA.js";
10
10
  import { navDrop as y, navLook as b } from "./bk-nav-item.js";
11
- import "./chunks/bk-icon-Bp_flKdv.js";
11
+ import "./chunks/bk-icon-D4kI4F18.js";
12
12
  import "./chunks/chevron-down-CpVEjEyi.js";
13
13
  import "./chunks/group-RW5fFMy-.js";
14
14
  import "./chunks/label-cokyRPHN.js";
@@ -57,7 +57,7 @@ var x = 0, S, C = 200, w = 150, T = class extends n {
57
57
  hoverOpened = !1;
58
58
  i18n = new a(this);
59
59
  stopAnchor;
60
- observer = l(() => this.requestUpdate());
60
+ observer = c(() => this.requestUpdate());
61
61
  authored;
62
62
  stored = new p(this, () => this.persistKey && `nav-group:${this.persistKey}`, { onChange: (e) => {
63
63
  this.authored ??= this.open, this.open = typeof e == "boolean" ? e : this.authored;
@@ -343,7 +343,7 @@ var x = 0, S, C = 200, w = 150, T = class extends n {
343
343
  return this.count !== void 0 && this.count !== null && this.count !== "";
344
344
  }
345
345
  get labelText() {
346
- return this.label || (c(this)?.querySelector("[slot=\"label\"]")?.textContent ?? "").replace(/\s+/g, " ").trim();
346
+ return this.label || (l(this)?.querySelector("[slot=\"label\"]")?.textContent ?? "").replace(/\s+/g, " ").trim();
347
347
  }
348
348
  willUpdate(e) {
349
349
  super.willUpdate(e);
@@ -352,7 +352,7 @@ var x = 0, S, C = 200, w = 150, T = class extends n {
352
352
  "horizontal",
353
353
  "nested"
354
354
  ]) this[e] ? this.internals.states.add(e) : this.internals.states.delete(e);
355
- (e.has("collapsed") || e.has("icon") || e.has("horizontal")) && !this.popup && (this.flyout = !1), this.hasCurrent = this.current || !!c(this)?.querySelector("bk-nav-item[current], bk-nav-group[current]"), this.hasEnd = this.hasCount || !!c(this)?.querySelector(":scope > [slot=\"end\"]"), this.hasActions = !!c(this)?.querySelector(":scope > [slot=\"actions\"]"), this.hasPanel = !!c(this)?.querySelector(":scope > [slot=\"panel\"]"), this.hasItems = !this.hasPanel || !!c(this)?.querySelector(":scope > :not([slot])");
355
+ (e.has("collapsed") || e.has("icon") || e.has("horizontal")) && !this.popup && (this.flyout = !1), this.hasCurrent = this.current || !!l(this)?.querySelector("bk-nav-item[current], bk-nav-group[current]"), this.hasEnd = this.hasCount || !!l(this)?.querySelector(":scope > [slot=\"end\"]"), this.hasActions = !!l(this)?.querySelector(":scope > [slot=\"actions\"]"), this.hasPanel = !!l(this)?.querySelector(":scope > [slot=\"panel\"]"), this.hasItems = !this.hasPanel || !!l(this)?.querySelector(":scope > :not([slot])");
356
356
  }
357
357
  updated(e) {
358
358
  if (super.updated(e), e.has("collapsed") || e.has("icon") || e.has("horizontal")) for (let e of this.querySelectorAll("bk-nav-item, bk-nav-group")) Object.assign(e, b(e));
@@ -1,10 +1,10 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { r as a } from "./chunks/anchor-CNX3nt2F.js";
4
- import { i as o, n as s, t as c } from "./chunks/define-DkVeu7e9.js";
4
+ import { a as o, r as s, t as c } from "./chunks/define-6OfuRn5c.js";
5
5
  import { t as l } from "./chunks/link--YWr8exL.js";
6
6
  import { a as u, t as d, v as f, x as p } from "./chunks/styles-CaeyhYDA.js";
7
- import "./chunks/bk-icon-Bp_flKdv.js";
7
+ import "./chunks/bk-icon-D4kI4F18.js";
8
8
  import "./bk-tooltip.js";
9
9
  import { r as m, t as h } from "./chunks/i18n-DFfGgd3d.js";
10
10
  import "./chunks/description-DXoJ8atg.js";
@@ -2,7 +2,7 @@ import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/style-map-BMvn17E7.js";
3
3
  import { t as a } from "./chunks/repeat-Dxf3qZZl.js";
4
4
  import { t as o } from "./chunks/i18n-DFfGgd3d.js";
5
- import { t as s } from "./chunks/define-DkVeu7e9.js";
5
+ import { t as s } from "./chunks/define-6OfuRn5c.js";
6
6
  import { t as c, v as l } from "./chunks/styles-CaeyhYDA.js";
7
7
  // dist/components/bk-nav-toc.js
8
8
  var u = 0, d = (e) => {
@@ -1,5 +1,5 @@
1
1
  import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as r } from "./chunks/define-DkVeu7e9.js";
2
+ import { t as r } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
4
4
  import { t as a } from "./chunks/styles-CaeyhYDA.js";
5
5
  import { navLook as o } from "./bk-nav-item.js";
@@ -1,7 +1,7 @@
1
1
  import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as r } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
4
- import { i as a, t as o } from "./chunks/define-DkVeu7e9.js";
4
+ import { a, t as o } from "./chunks/define-6OfuRn5c.js";
5
5
  import { t as s } from "./chunks/styles-CaeyhYDA.js";
6
6
  import "./bk-button.js";
7
7
  import "./bk-menu.js";
@@ -1,6 +1,6 @@
1
- import { t as e } from "./chunks/heading-text-CgnCa_q2.js";
1
+ import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
2
2
  import { a as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
3
- import { t as i } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as i } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as a } from "./chunks/slots-BHTtBbPo.js";
5
5
  import { h as o, t as s } from "./chunks/styles-CaeyhYDA.js";
6
6
  // dist/components/bk-page-cta.js
@@ -30,6 +30,13 @@ var c = class extends n {
30
30
  background: var(--bk-page-cta-bg, var(--bk-layer-raised-bg)); color: var(--bk-page-cta-fg, var(--bk-text));
31
31
  border: var(--bk-border-width) solid var(--bk-page-cta-border, var(--bk-layer-raised-border));
32
32
  border-radius: var(--bk-page-cta-radius, var(--bk-radius-xl)); box-shadow: var(--bk-page-cta-shadow, var(--bk-layer-raised-shadow));
33
+ position: relative;
34
+ }
35
+ /* The ring: an image over the border, cut to a ring in the radius of the box. */
36
+ .box::after {
37
+ content: ""; position: absolute; inset: calc(-1 * var(--bk-border-width)); pointer-events: none; border-radius: inherit;
38
+ padding: var(--bk-border-width); background: var(--bk-page-cta-ring, none);
39
+ mask: linear-gradient(currentColor 0 0) content-box exclude, linear-gradient(currentColor 0 0);
33
40
  }
34
41
  /* The border stays transparent, so the content keeps its place when the variant changes. */
35
42
  :host([variant="plain"]) .box {
@@ -47,7 +54,7 @@ var c = class extends n {
47
54
  color: var(--bk-page-cta-body-fg, var(--bk-text-muted)); font-size: var(--bk-type-body); line-height: var(--bk-line-height-body);
48
55
  }
49
56
  .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--bk-space-cluster); margin-block-start: var(--bk-space-2); }
50
- @media (forced-colors: active) { :host(:not([variant="plain"])) .box { border-color: CanvasText; } }
57
+ @media (forced-colors: active) { :host(:not([variant="plain"])) .box { border-color: CanvasText; } .box::after { display: none; } }
51
58
  `];
52
59
  render() {
53
60
  let e = this.slots;
@@ -1,5 +1,5 @@
1
1
  import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as r } from "./chunks/define-DkVeu7e9.js";
2
+ import { t as r } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as i } from "./chunks/styles-CaeyhYDA.js";
4
4
  // dist/components/bk-page-footer-column.js
5
5
  var a = class extends t {
@@ -1,5 +1,5 @@
1
1
  import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as r } from "./chunks/define-DkVeu7e9.js";
2
+ import { t as r } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
4
4
  import { t as a } from "./chunks/slots-BHTtBbPo.js";
5
5
  import { t as o } from "./chunks/styles-CaeyhYDA.js";
@@ -1,6 +1,6 @@
1
- import { t as e } from "./chunks/heading-text-CgnCa_q2.js";
1
+ import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
2
2
  import { a as t, n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
3
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
4
4
  import { i as o } from "./chunks/events-DQ4e9cPN.js";
5
5
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { h as c, t as l } from "./chunks/styles-CaeyhYDA.js";
@@ -1,6 +1,6 @@
1
- import { t as e } from "./chunks/heading-text-CgnCa_q2.js";
1
+ import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
2
2
  import { a as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
3
- import { t as i } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as i } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as a } from "./chunks/slots-BHTtBbPo.js";
5
5
  import { m as o, o as s, t as c } from "./chunks/styles-CaeyhYDA.js";
6
6
  // dist/components/bk-page-hero.js
@@ -1,10 +1,10 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as i } from "./chunks/define-DkVeu7e9.js";
2
+ import { t as i } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as a } from "./chunks/link--YWr8exL.js";
4
4
  import { t as o } from "./chunks/i18n-DFfGgd3d.js";
5
5
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { t as c } from "./chunks/styles-CaeyhYDA.js";
7
- import "./chunks/bk-icon-Bp_flKdv.js";
7
+ import "./chunks/bk-icon-D4kI4F18.js";
8
8
  import "./chunks/arrow-back-DJBwVPZy.js";
9
9
  import "./chunks/arrow-forward-vijvTQ6r.js";
10
10
  // dist/components/bk-page-pager.js
@@ -1,6 +1,6 @@
1
- import { t as e } from "./chunks/heading-text-CgnCa_q2.js";
1
+ import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
2
2
  import { a as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
3
- import { t as i } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as i } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as a } from "./chunks/slots-BHTtBbPo.js";
5
5
  import { m as o, t as s } from "./chunks/styles-CaeyhYDA.js";
6
6
  // dist/components/bk-page-section.js
@@ -1,13 +1,13 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
3
  import { t as a } from "./chunks/repeat-Dxf3qZZl.js";
4
- import { i as o, t as s } from "./chunks/define-DkVeu7e9.js";
4
+ import { a as o, t as s } from "./chunks/define-6OfuRn5c.js";
5
5
  import { t as c } from "./chunks/link--YWr8exL.js";
6
- import { t as l } from "./chunks/announcer-D1zrRWwO.js";
6
+ import { t as l } from "./chunks/announcer-6tMlCOq1.js";
7
7
  import { n as u } from "./chunks/events-DQ4e9cPN.js";
8
8
  import { t as d } from "./chunks/i18n-DFfGgd3d.js";
9
9
  import { i as f, t as p, v as m } from "./chunks/styles-CaeyhYDA.js";
10
- import "./chunks/bk-icon-Bp_flKdv.js";
10
+ import "./chunks/bk-icon-D4kI4F18.js";
11
11
  import "./chunks/add-CUFUzxGc.js";
12
12
  import "./chunks/chevron-left-BHF34JzQ.js";
13
13
  import "./chunks/chevron-right-CxqvZ6TS.js";
@@ -1,7 +1,7 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
- import { i, t as a } from "./chunks/define-DkVeu7e9.js";
2
+ import { a as i, t as a } from "./chunks/define-6OfuRn5c.js";
3
3
  import { t as o } from "./chunks/i18n-DFfGgd3d.js";
4
- import { n as s, t as c } from "./chunks/busy-BUB22mGY.js";
4
+ import { n as s, t as c } from "./chunks/busy-eG3uHonz.js";
5
5
  import { t as l } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { t as u, u as d } from "./chunks/styles-CaeyhYDA.js";
7
7
  // dist/components/bk-pane.js
@@ -1,8 +1,8 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { c as i } from "./chunks/anchor-CNX3nt2F.js";
3
- import { i as a, r as o, t as s } from "./chunks/define-DkVeu7e9.js";
3
+ import { a, i as o, t as s } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as c } from "./chunks/i18n-DFfGgd3d.js";
5
- import { n as l, t as u } from "./chunks/busy-BUB22mGY.js";
5
+ import { n as l, t as u } from "./chunks/busy-eG3uHonz.js";
6
6
  import { i as d } from "./chunks/events-DQ4e9cPN.js";
7
7
  import { t as f } from "./chunks/state-XYmTmnOw.js";
8
8
  import { t as p } from "./chunks/slots-BHTtBbPo.js";
@@ -1,11 +1,11 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as o } from "./chunks/i18n-DFfGgd3d.js";
5
5
  import { t as s } from "./chunks/slots-BHTtBbPo.js";
6
6
  import { t as c } from "./chunks/styles-CaeyhYDA.js";
7
7
  import "./bk-button.js";
8
- import "./chunks/bk-icon-Bp_flKdv.js";
8
+ import "./chunks/bk-icon-D4kI4F18.js";
9
9
  import "./chunks/chevron-left-BHF34JzQ.js";
10
10
  import "./chunks/chevron-right-CxqvZ6TS.js";
11
11
  // dist/components/bk-period-nav.js
@@ -1,175 +1 @@
1
- import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
- import { t as i } from "./chunks/if-defined-z_20pBRr.js";
3
- import { t as a } from "./chunks/keyed-CZ2AaouM.js";
4
- import { t as o } from "./chunks/style-map-BMvn17E7.js";
5
- import { t as s } from "./chunks/i18n-DFfGgd3d.js";
6
- import { i as c, t as l } from "./chunks/define-DkVeu7e9.js";
7
- import { n as u } from "./chunks/events-DQ4e9cPN.js";
8
- import { t as d } from "./chunks/link--YWr8exL.js";
9
- import { t as f } from "./chunks/slots-BHTtBbPo.js";
10
- import { t as p, v as m } from "./chunks/styles-CaeyhYDA.js";
11
- import "./bk-button.js";
12
- import "./chunks/bk-icon-Bp_flKdv.js";
13
- import "./chunks/error-BWRRZUg8.js";
14
- import "./chunks/image-t401521J.js";
15
- import "./chunks/refresh-BeOCgDeL.js";
16
- // dist/components/bk-picture.js
17
- var h = class extends n {
18
- static properties = {
19
- src: {},
20
- alt: {},
21
- srcset: {},
22
- sizes: {},
23
- ratio: { reflect: !0 },
24
- fit: {
25
- reflect: !0,
26
- useDefault: !0
27
- },
28
- loading: {},
29
- href: {},
30
- target: {},
31
- rel: {},
32
- download: {},
33
- errorLabel: { attribute: "error-label" },
34
- retryLabel: { attribute: "retry-label" },
35
- loaded: { state: !0 },
36
- failed: { state: !0 },
37
- previous: { state: !0 },
38
- attempt: { state: !0 },
39
- compact: { state: !0 }
40
- };
41
- slots = new f(this);
42
- i18n = new s(this);
43
- sizer = c(() => this.measure());
44
- links = new d(this);
45
- constructor() {
46
- super(), this.src = "", this.alt = "", this.fit = "cover", this.loading = "lazy", this.loaded = !1, this.failed = !1, this.previous = "", this.attempt = 0, this.compact = !1, this.errorLabel = "", this.retryLabel = "";
47
- }
48
- static styles = [
49
- p,
50
- m,
51
- r`
52
- :host { display: block; min-inline-size: 0; inline-size: var(--bk-picture-width, auto); }
53
- figure { margin: 0; display: grid; gap: var(--bk-picture-caption-gap, var(--bk-space-lines)); }
54
- .frame {
55
- position: relative; overflow: hidden; aspect-ratio: var(--_bk-picture-ratio, var(--bk-picture-ratio, auto));
56
- border-radius: var(--bk-picture-radius, var(--bk-radius-container, var(--bk-radius-lg)));
57
- background: var(--bk-picture-bg, var(--bk-layer-sunken-bg));
58
- }
59
- .frame.loaded { background: var(--bk-picture-loaded-bg, none); }
60
- /* An empty frame and a small failed picture have no image to give the ratio. */
61
- .frame:is(.empty, .compact) { aspect-ratio: var(--_bk-picture-ratio, var(--bk-picture-ratio, 4/3)); }
62
- .frame.compact .image { display: none; }
63
- .placeholder, .error.compact {
64
- position: absolute; inset: 0; display: grid; place-items: center; min-block-size: 0; padding: 0;
65
- color: var(--bk-picture-placeholder-color, var(--bk-text-faint));
66
- /* The size inherits into an icon in the empty slot too. */
67
- --bk-icon-size: var(--bk-picture-placeholder-icon-size, var(--bk-icon-lg));
68
- }
69
- .error.compact { grid-auto-flow: column; place-content: center; gap: var(--bk-space-1); }
70
- .error-probe { position: absolute; inline-size: var(--bk-picture-error-min-width, calc(5 * var(--bk-control-md))); block-size: 0; visibility: hidden; pointer-events: none; }
71
- img, ::slotted(:is(img, video, svg)) {
72
- display: block; inline-size: 100%; block-size: auto; max-inline-size: 100%;
73
- }
74
- /* The image covers the box when a ratio (the attribute or the token) fixes its height. Without one the
75
- height of the frame is auto, the 100% is auto too, and the image keeps its own ratio. */
76
- img, ::slotted(:is(img, video, svg)) { block-size: 100%; object-fit: cover; }
77
- :host([fit="contain"]) :is(img, ::slotted(:is(img, video))) { object-fit: contain; }
78
- /* The link of a picture with href covers the frame; the retry button lies above it. */
79
- .link {
80
- position: absolute; inset: 0; z-index: 1; border-radius: inherit;
81
- --_bk-interactive-hover: var(--bk-picture-hover-bg, var(--bk-hover));
82
- --_bk-interactive-pressed: var(--bk-picture-pressed-bg, var(--bk-pressed));
83
- --_bk-interactive-focus-offset: var(--bk-focus-offset-inset);
84
- }
85
- .error bk-button { position: relative; z-index: 2; }
86
- /* The image fades in once it has loaded. */
87
- .image { opacity: 0; transition: opacity var(--bk-duration) var(--bk-ease); }
88
- .image.in { opacity: 1; }
89
- .image.failed { visibility: hidden; }
90
- /* While the next image loads, the last one keeps the box; the next one lies over it. */
91
- .frame.swap .image:not(.in) { position: absolute; inset: 0; block-size: 100%; object-fit: cover; }
92
- :host([fit="contain"]) .frame.swap .image:not(.in) { object-fit: contain; }
93
- .error {
94
- display: grid; place-content: center; justify-items: center; gap: var(--bk-space-2);
95
- min-block-size: calc(4 * var(--bk-control-md)); padding: var(--bk-space-4); text-align: center;
96
- color: var(--bk-picture-error-fg, var(--bk-text-muted)); font-size: var(--bk-text-sm); line-height: var(--bk-line-height-body);
97
- }
98
- :host([ratio]) .error { position: absolute; inset: 0; min-block-size: 0; }
99
- .error:not(.compact) bk-icon { --bk-icon-size: var(--bk-icon-lg); }
100
- @media (prefers-reduced-motion: reduce) { .image { transition: none; } }
101
- .caption { color: var(--bk-picture-caption-fg, var(--bk-text-muted)); font-size: var(--bk-picture-caption-size, var(--bk-text-sm)); line-height: var(--bk-line-height-body); }
102
- @media (forced-colors: active) { .frame { border: var(--bk-border-width) solid CanvasText; } }
103
- `
104
- ];
105
- willUpdate(e) {
106
- if (e.has("src")) {
107
- let t = e.get("src");
108
- this.previous = this.loaded && !this.failed && t ? t : this.loaded ? "" : this.previous, this.src || (this.previous = ""), this.loaded = !1, this.failed = !1;
109
- }
110
- this.failed || (this.compact = !1);
111
- }
112
- updated(e) {
113
- if (e.has("failed")) {
114
- let e = this.renderRoot.querySelector(".frame"), t = this.renderRoot.querySelector(".error-probe");
115
- this.sizer.disconnect(), this.failed && e && t && (this.sizer.observe(e), this.sizer.observe(t));
116
- }
117
- let t = this.renderRoot.querySelector("img.image");
118
- t && !this.loaded && !this.failed && t.complete && t.naturalWidth && this.onLoad();
119
- }
120
- disconnectedCallback() {
121
- super.disconnectedCallback(), this.sizer.disconnect();
122
- }
123
- measure() {
124
- let e = this.renderRoot.querySelector(".frame"), t = this.renderRoot.querySelector(".error-probe");
125
- if (!e || !t) return;
126
- let n = e.getBoundingClientRect().width < t.getBoundingClientRect().width;
127
- n !== this.compact && (this.compact = n);
128
- }
129
- onLoad() {
130
- this.loaded = !0, this.previous = "";
131
- let e = this.renderRoot.querySelector("img.image");
132
- u(this, "load", {
133
- src: this.src,
134
- naturalWidth: e?.naturalWidth ?? 0,
135
- naturalHeight: e?.naturalHeight ?? 0
136
- });
137
- }
138
- onError() {
139
- this.failed = !0, this.previous = "", u(this, "error", { src: this.src });
140
- }
141
- retry(e) {
142
- e.stopPropagation(), this.failed = !1, this.attempt++;
143
- }
144
- cover() {
145
- return this.href ? e`<a class="link interactive" part="link" href=${this.links.href(this.href)} @click=${this.links.click} target=${i(this.target)}
146
- rel=${i(this.rel ?? (this.target === "_blank" ? "noopener noreferrer" : void 0))}
147
- download=${i(this.download)} aria-label=${this.alt || t}></a>` : t;
148
- }
149
- frame() {
150
- let n = !!this.previous && !this.loaded, r = !this.src && this.slots.has(""), i = !this.src && !r, s = this.failed && this.compact, c = this.errorLabel || this.i18n.t("imageError");
151
- return e`<div class="frame ${this.loaded || r ? "loaded" : ""} ${i ? "empty" : ""} ${s ? "compact" : ""} ${n ? "swap" : ""}" part="frame" style=${o({ "--_bk-picture-ratio": this.ratio?.replace(":", "/") || void 0 })}>
152
- ${n ? e`<img class="previous" src=${this.previous} alt="" aria-hidden="true" decoding="async" />` : t}
153
- ${this.src ? a(`${this.src}|${this.attempt}`, e`<img class="image ${this.loaded ? "in" : ""} ${this.failed ? "failed" : ""}" part="image"
154
- src=${this.src} alt=${this.href ? "" : this.alt} srcset=${this.srcset || t} sizes=${this.sizes || t}
155
- loading=${this.loading} decoding="async" @load=${this.onLoad} @error=${this.onError} />`) : e`<slot></slot>`}
156
- ${i ? e`<div class="placeholder" part="placeholder"><slot name="empty"><bk-icon name="image"></bk-icon></slot></div>` : t}
157
- ${this.failed ? s ? e`<div class="error compact" part="error">
158
- <bk-icon name="error" label=${c} title=${c}></bk-icon>
159
- <bk-button size="sm" variant="ghost" icon="refresh" label=${this.retryLabel || this.i18n.t("pictureRetry")} @click=${this.retry}></bk-button>
160
- </div>` : e`<div class="error" part="error">
161
- <bk-icon name="error"></bk-icon>
162
- <span>${c}</span>
163
- <bk-button size="sm" variant="outline" icon="refresh" @click=${this.retry}>${this.retryLabel || this.i18n.t("pictureRetry")}</bk-button>
164
- </div>` : t}
165
- ${this.cover()}
166
- ${this.failed ? e`<span class="error-probe" aria-hidden="true"></span>` : t}
167
- </div>`;
168
- }
169
- render() {
170
- let t = this.slots.has("caption"), n = e`<figcaption class="caption" part="caption" ?hidden=${!t}><slot name="caption"></slot></figcaption>`;
171
- return t ? e`<figure>${this.frame()}${n}</figure>` : e`${this.frame()}<div hidden>${n}</div>`;
172
- }
173
- };
174
- l("bk-picture", h);
175
- export { h as BkPicture };
1
+ export { t as BkPicture } from "./chunks/bk-picture-CA5gLxgZ.js";
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { t as i } from "./chunks/i18n-DFfGgd3d.js";
3
- import { t as a } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as a } from "./chunks/define-6OfuRn5c.js";
4
4
  import { r as o } from "./chunks/events-DQ4e9cPN.js";
5
5
  import { t as s } from "./chunks/styles-CaeyhYDA.js";
6
6
  import "./bk-button.js";
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
2
2
  import { n as r, o as i, t as a } from "./chunks/anchor-CNX3nt2F.js";
3
- import { t as o } from "./chunks/define-DkVeu7e9.js";
3
+ import { t as o } from "./chunks/define-6OfuRn5c.js";
4
4
  import { t as s } from "./chunks/popover-base-hxo-Vh6E.js";
5
5
  // dist/components/bk-popover.js
6
6
  var c = class extends s {