@adyen/bento-vue3 1.67.0 → 1.68.0

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 (177) hide show
  1. package/dist/@types/index.d.ts +1956 -2181
  2. package/dist/action-bar.js +1 -1
  3. package/dist/assets/accordion-item.css +1 -1
  4. package/dist/assets/action-bar.css +1 -1
  5. package/dist/assets/base-modal.css +1 -1
  6. package/dist/assets/button-actions.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/checkbox.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -1
  13. package/dist/assets/filter-bar.css +1 -1
  14. package/dist/assets/header-meta.css +1 -0
  15. package/dist/assets/header-with-views.css +1 -1
  16. package/dist/assets/header.css +1 -1
  17. package/dist/assets/input-field-phone-number.css +1 -1
  18. package/dist/assets/input-field.css +1 -1
  19. package/dist/assets/inspector.css +1 -1
  20. package/dist/assets/menu.css +1 -1
  21. package/dist/assets/modal-fullscreen.css +1 -1
  22. package/dist/assets/popover.css +1 -1
  23. package/dist/assets/sidepanel.css +1 -1
  24. package/dist/assets/summary-grid.css +1 -1
  25. package/dist/assets/textarea.css +1 -1
  26. package/dist/assets/use-cached-selected-values.css +1 -1
  27. package/dist/button.js +1 -1
  28. package/dist/card.js +1 -1
  29. package/dist/checkbox.js +2 -2
  30. package/dist/chunks/{action-bar.ComuZPet.js → action-bar.C93kgr7l.js} +4 -4
  31. package/dist/chunks/{action-bar.ComuZPet.js.map → action-bar.C93kgr7l.js.map} +1 -1
  32. package/dist/chunks/{base-modal.DzJrvis_.js → base-modal.C3_r3rmc.js} +120 -183
  33. package/dist/chunks/base-modal.C3_r3rmc.js.map +1 -0
  34. package/dist/chunks/{button-actions-with-menu.B0nWCTwZ.js → button-actions-with-menu.DUccmaB2.js} +3 -3
  35. package/dist/chunks/{button-actions-with-menu.B0nWCTwZ.js.map → button-actions-with-menu.DUccmaB2.js.map} +1 -1
  36. package/dist/chunks/{button-actions.BwpznQ6c.js → button-actions.CZdO9YOk.js} +7 -7
  37. package/dist/chunks/button-actions.CZdO9YOk.js.map +1 -0
  38. package/dist/chunks/{card.JBOvn2BO.js → card.CS34Mi_G.js} +2 -2
  39. package/dist/chunks/{card.JBOvn2BO.js.map → card.CS34Mi_G.js.map} +1 -1
  40. package/dist/chunks/{checkbox-group.Dc5Olq0c.js → checkbox-group.JRo6xNpe.js} +2 -2
  41. package/dist/chunks/{checkbox-group.Dc5Olq0c.js.map → checkbox-group.JRo6xNpe.js.map} +1 -1
  42. package/dist/chunks/{checkbox.fkPJvdUo.js → checkbox.DGrG3GN1.js} +70 -67
  43. package/dist/chunks/checkbox.DGrG3GN1.js.map +1 -0
  44. package/dist/chunks/{code-snippet.vrlSqi9k.js → code-snippet.aucmPbLw.js} +3 -3
  45. package/dist/chunks/{code-snippet.vrlSqi9k.js.map → code-snippet.aucmPbLw.js.map} +1 -1
  46. package/dist/chunks/{country.BhAcCmRx.js → country.Q95voxeL.js} +2 -2
  47. package/dist/chunks/{country.BhAcCmRx.js.map → country.Q95voxeL.js.map} +1 -1
  48. package/dist/chunks/{dashboard-section.Bg0dfNs-.js → dashboard-section.CUcq2ahu.js} +2 -2
  49. package/dist/chunks/{dashboard-section.Bg0dfNs-.js.map → dashboard-section.CUcq2ahu.js.map} +1 -1
  50. package/dist/chunks/{dashed-underline.DgE-UB-x.js → dashed-underline.DkzQkpaf.js} +2 -2
  51. package/dist/chunks/{dashed-underline.DgE-UB-x.js.map → dashed-underline.DkzQkpaf.js.map} +1 -1
  52. package/dist/chunks/{data-grid-template.Df7j2oxe.js → data-grid-template.CDsV2GFG.js} +2 -2
  53. package/dist/chunks/{data-grid-template.Df7j2oxe.js.map → data-grid-template.CDsV2GFG.js.map} +1 -1
  54. package/dist/chunks/data-grid.BJHcfrTG.js +3861 -0
  55. package/dist/chunks/data-grid.BJHcfrTG.js.map +1 -0
  56. package/dist/chunks/{date-picker.CZ6zU-NJ.js → date-picker.DgpMAGYp.js} +15 -15
  57. package/dist/chunks/{date-picker.CZ6zU-NJ.js.map → date-picker.DgpMAGYp.js.map} +1 -1
  58. package/dist/chunks/{date-range-picker.Dw4R9bIs.js → date-range-picker.Bxa_f6Q0.js} +24 -24
  59. package/dist/chunks/{date-range-picker.Dw4R9bIs.js.map → date-range-picker.Bxa_f6Q0.js.map} +1 -1
  60. package/dist/chunks/dropdown-default-textbox.Ce5D3ipi.js.map +1 -1
  61. package/dist/chunks/dropdown-tag.AV8Pi1SS.js +230 -0
  62. package/dist/chunks/dropdown-tag.AV8Pi1SS.js.map +1 -0
  63. package/dist/chunks/dropdown.CJBk1euy.js +814 -0
  64. package/dist/chunks/dropdown.CJBk1euy.js.map +1 -0
  65. package/dist/chunks/es6.n1ewaW31.js.map +1 -1
  66. package/dist/chunks/{filter-bar.XonJn7ao.js → filter-bar.6D-9UEng.js} +848 -833
  67. package/dist/chunks/filter-bar.6D-9UEng.js.map +1 -0
  68. package/dist/chunks/{footer-actions.CdJLLWNR.js → footer-actions.Bje-DDqw.js} +2 -2
  69. package/dist/chunks/{footer-actions.CdJLLWNR.js.map → footer-actions.Bje-DDqw.js.map} +1 -1
  70. package/dist/chunks/header-meta.Yt43-cUI.js +234 -0
  71. package/dist/chunks/header-meta.Yt43-cUI.js.map +1 -0
  72. package/dist/chunks/{header-with-views.CHbH1_1V.js → header-with-views.DbBUHvvE.js} +697 -678
  73. package/dist/chunks/header-with-views.DbBUHvvE.js.map +1 -0
  74. package/dist/chunks/header.wiq0wlgm.js +141 -0
  75. package/dist/chunks/header.wiq0wlgm.js.map +1 -0
  76. package/dist/chunks/{input-field-password.DWZAf1Oh.js → input-field-password.Cr3A_4n0.js} +4 -4
  77. package/dist/chunks/{input-field-password.DWZAf1Oh.js.map → input-field-password.Cr3A_4n0.js.map} +1 -1
  78. package/dist/chunks/{input-field-phone-number.CbpRItYf.js → input-field-phone-number.DZp5IzU3.js} +548 -532
  79. package/dist/chunks/{input-field-phone-number.CbpRItYf.js.map → input-field-phone-number.DZp5IzU3.js.map} +1 -1
  80. package/dist/chunks/{input-field.DExw_Cow.js → input-field.CmV2d_Zc.js} +30 -29
  81. package/dist/chunks/input-field.CmV2d_Zc.js.map +1 -0
  82. package/dist/chunks/{menu.CeLJ1gIz.js → menu.C-3obPGl.js} +182 -180
  83. package/dist/chunks/{menu.CeLJ1gIz.js.map → menu.C-3obPGl.js.map} +1 -1
  84. package/dist/chunks/{modal-fullscreen.CZnLS-fQ.js → modal-fullscreen.DBTnoSX9.js} +90 -77
  85. package/dist/chunks/modal-fullscreen.DBTnoSX9.js.map +1 -0
  86. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CP7dV1Yy.js → modal.vue_vue_type_script_setup_true_lang.Cd-mQUJ8.js} +10 -10
  87. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CP7dV1Yy.js.map → modal.vue_vue_type_script_setup_true_lang.Cd-mQUJ8.js.map} +1 -1
  88. package/dist/chunks/{pagination.DL9LmFMJ.js → pagination.DLYrWpKr.js} +2 -2
  89. package/dist/chunks/{pagination.DL9LmFMJ.js.map → pagination.DLYrWpKr.js.map} +1 -1
  90. package/dist/chunks/popover.DYgCCUCJ.js +200 -0
  91. package/dist/chunks/popover.DYgCCUCJ.js.map +1 -0
  92. package/dist/chunks/popover.types.V8old-GW.js +6 -0
  93. package/dist/chunks/popover.types.V8old-GW.js.map +1 -0
  94. package/dist/chunks/{rich-text-editor.Dl9PsYbk.js → rich-text-editor.Dx78coVL.js} +2 -2
  95. package/dist/chunks/{rich-text-editor.Dl9PsYbk.js.map → rich-text-editor.Dx78coVL.js.map} +1 -1
  96. package/dist/chunks/{search-bar.a-jzP1UA.js → search-bar.CpQ_MEVj.js} +3 -3
  97. package/dist/chunks/{search-bar.a-jzP1UA.js.map → search-bar.CpQ_MEVj.js.map} +1 -1
  98. package/dist/chunks/{secondary-nav.UrmIAVGD.js → secondary-nav.RTBLEukC.js} +2 -2
  99. package/dist/chunks/{secondary-nav.UrmIAVGD.js.map → secondary-nav.RTBLEukC.js.map} +1 -1
  100. package/dist/chunks/{sidepanel.BuNmgmpj.js → sidepanel.DPN__L3Q.js} +2 -2
  101. package/dist/chunks/{sidepanel.BuNmgmpj.js.map → sidepanel.DPN__L3Q.js.map} +1 -1
  102. package/dist/chunks/{summary-grid.types.CoSCUI1V.js → summary-grid.types.CjbbSZBJ.js} +4 -4
  103. package/dist/chunks/summary-grid.types.CjbbSZBJ.js.map +1 -0
  104. package/dist/chunks/{textarea.DXSe9MHH.js → textarea.BBhN67-I.js} +41 -40
  105. package/dist/chunks/textarea.BBhN67-I.js.map +1 -0
  106. package/dist/chunks/{timeline-item.BRHwCA1F.js → timeline-item.CuCII37W.js} +3 -3
  107. package/dist/chunks/{timeline-item.BRHwCA1F.js.map → timeline-item.CuCII37W.js.map} +1 -1
  108. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CAf69UYO.js → tutorial.vue_vue_type_script_setup_true_lang.nYHtTHqy.js} +28 -27
  109. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CAf69UYO.js.map → tutorial.vue_vue_type_script_setup_true_lang.nYHtTHqy.js.map} +1 -1
  110. package/dist/chunks/{use-cached-selected-values.D7dOPJSO.js → use-cached-selected-values.Dyoz6cUK.js} +579 -563
  111. package/dist/chunks/use-cached-selected-values.Dyoz6cUK.js.map +1 -0
  112. package/dist/chunks/{use-country-items.4kZgVg_l.js → use-country-items.Duh4bMqW.js} +2 -2
  113. package/dist/chunks/{use-country-items.4kZgVg_l.js.map → use-country-items.Duh4bMqW.js.map} +1 -1
  114. package/dist/chunks/{use-country-phon-code.DVgE19zT.js → use-country-phon-code.BOaJ9PDl.js} +507 -498
  115. package/dist/chunks/{use-country-phon-code.DVgE19zT.js.map → use-country-phon-code.BOaJ9PDl.js.map} +1 -1
  116. package/dist/code-snippet.js +1 -1
  117. package/dist/country.js +2 -2
  118. package/dist/dashboard-template.js +1 -1
  119. package/dist/dashed-underline.js +1 -1
  120. package/dist/data-grid-template.js +1 -1
  121. package/dist/data-grid.js +1 -1
  122. package/dist/date-picker.js +1 -1
  123. package/dist/date-range-picker.js +1 -1
  124. package/dist/dropdown.js +3 -3
  125. package/dist/filter-bar.js +1 -1
  126. package/dist/header-with-views.js +1 -1
  127. package/dist/header.js +1 -1
  128. package/dist/index.js +156 -155
  129. package/dist/index.js.map +1 -1
  130. package/dist/input-field-password.js +1 -1
  131. package/dist/input-field-phone-number.js +1 -1
  132. package/dist/input-field.js +1 -1
  133. package/dist/internal.js +15 -14
  134. package/dist/menu.js +1 -1
  135. package/dist/modal-fullscreen.js +1 -1
  136. package/dist/modal.js +11 -11
  137. package/dist/pagination.js +1 -1
  138. package/dist/popover.js +3 -2
  139. package/dist/popover.js.map +1 -1
  140. package/dist/rich-text-editor.js +1 -1
  141. package/dist/search-bar.js +2 -2
  142. package/dist/secondary-nav.js +1 -1
  143. package/dist/sidepanel.js +1 -1
  144. package/dist/styles/bento-dark.css +10 -2
  145. package/dist/styles/bento-light.css +10 -2
  146. package/dist/styles/bento.css +10 -2
  147. package/dist/styles/legacy.css +10 -2
  148. package/dist/styles/styleguide.css +10 -2
  149. package/dist/summary-grid.js +1 -1
  150. package/dist/textarea.js +1 -1
  151. package/dist/timeline.js +1 -1
  152. package/dist/tutorial.js +1 -1
  153. package/dist/web-types.json +1 -1
  154. package/package.json +24 -7
  155. package/dist/assets/info-icon-with-popover.css +0 -1
  156. package/dist/chunks/base-modal.DzJrvis_.js.map +0 -1
  157. package/dist/chunks/button-actions.BwpznQ6c.js.map +0 -1
  158. package/dist/chunks/checkbox.fkPJvdUo.js.map +0 -1
  159. package/dist/chunks/data-grid.rDZadZwc.js +0 -3781
  160. package/dist/chunks/data-grid.rDZadZwc.js.map +0 -1
  161. package/dist/chunks/dropdown-tag.BlHovDol.js +0 -202
  162. package/dist/chunks/dropdown-tag.BlHovDol.js.map +0 -1
  163. package/dist/chunks/dropdown.B5ZaFDn_.js +0 -957
  164. package/dist/chunks/dropdown.B5ZaFDn_.js.map +0 -1
  165. package/dist/chunks/filter-bar.XonJn7ao.js.map +0 -1
  166. package/dist/chunks/header-with-views.CHbH1_1V.js.map +0 -1
  167. package/dist/chunks/header.CJJWPB5Z.js +0 -254
  168. package/dist/chunks/header.CJJWPB5Z.js.map +0 -1
  169. package/dist/chunks/info-icon-with-popover.DVH46dPy.js +0 -97
  170. package/dist/chunks/info-icon-with-popover.DVH46dPy.js.map +0 -1
  171. package/dist/chunks/input-field.DExw_Cow.js.map +0 -1
  172. package/dist/chunks/modal-fullscreen.CZnLS-fQ.js.map +0 -1
  173. package/dist/chunks/popover.VI3TrUkL.js +0 -350
  174. package/dist/chunks/popover.VI3TrUkL.js.map +0 -1
  175. package/dist/chunks/summary-grid.types.CoSCUI1V.js.map +0 -1
  176. package/dist/chunks/textarea.DXSe9MHH.js.map +0 -1
  177. package/dist/chunks/use-cached-selected-values.D7dOPJSO.js.map +0 -1
@@ -1,53 +1,54 @@
1
- import { createElementBlock as L, openBlock as p, mergeProps as X, createCommentVNode as w, createElementVNode as P, toDisplayString as V, defineComponent as W, computed as E, resolveComponent as B, createBlock as S, normalizeClass as Q, createSlots as ee, withCtx as I, createVNode as $, createTextVNode as j, resolveDynamicComponent as re, ref as c, inject as te, toHandlers as ce, renderSlot as G, onMounted as ne, Transition as de, withKeys as g, withModifiers as U, Fragment as oe, renderList as se, watch as me, nextTick as q, normalizeStyle as le, useSlots as fe, provide as pe, unref as h } from "vue";
2
- import { B as ie, D as ve } from "./divider.qUOSAbU6.js";
3
- import { a as be, B as ye } from "./popover.VI3TrUkL.js";
4
- import { u as Ce } from "./use-click-outside.BnhTgpSt.js";
5
- import { u as he } from "./use-has-slot.B7eQSabc.js";
6
- import { g as _e } from "./generate-uid.NJ8tVoha.js";
7
- import { u as Ie } from "./i18n.B6g5VX0q.js";
8
- import { B as ge, p as ke } from "./typography.DN5eC5ch.js";
9
- import { C as Me } from "./chevron-down.DCQ6ZLaq.js";
1
+ import { createElementBlock as T, openBlock as p, mergeProps as q, createCommentVNode as O, createElementVNode as W, toDisplayString as G, defineComponent as A, computed as E, resolveComponent as B, createBlock as S, normalizeClass as ee, createSlots as te, withCtx as _, createVNode as $, createTextVNode as z, resolveDynamicComponent as ce, ref as r, inject as ne, toHandlers as de, renderSlot as X, onMounted as oe, Transition as me, withKeys as g, withModifiers as V, Fragment as se, renderList as le, watch as fe, nextTick as Y, normalizeStyle as ie, useSlots as pe, provide as ve, unref as h } from "vue";
2
+ import { B as ue, D as be } from "./divider.qUOSAbU6.js";
3
+ import { B as ye } from "./popover.DYgCCUCJ.js";
4
+ import { B as Ce } from "./popover.types.V8old-GW.js";
5
+ import { u as he } from "./use-click-outside.BnhTgpSt.js";
6
+ import { u as _e } from "./use-has-slot.B7eQSabc.js";
7
+ import { g as Ie } from "./generate-uid.NJ8tVoha.js";
8
+ import { u as ge } from "./i18n.B6g5VX0q.js";
9
+ import { B as ke, p as Me } from "./typography.DN5eC5ch.js";
10
+ import { C as Be } from "./chevron-down.DCQ6ZLaq.js";
10
11
  /* empty css */
11
12
  import { _ as R } from "./_plugin-vue_export-helper.CHgC5LLL.js";
12
- import { B as Be } from "./toggle-button.NQwrfSr1.js";
13
- import { B as Se } from "./teleport.CfGWjxe2.js";
14
- import { a as $e, C as z } from "./chevron-right.Brdj0WlO.js";
15
- import { a as J, B as Ee } from "./base-button.DdNFlbgH.js";
16
- import { t as Le } from "./truncate.BfIl_-71.js";
13
+ import { B as Se } from "./toggle-button.NQwrfSr1.js";
14
+ import { B as $e } from "./teleport.CfGWjxe2.js";
15
+ import { a as Ee, C as J } from "./chevron-right.Brdj0WlO.js";
16
+ import { a as Z, B as Le } from "./base-button.DdNFlbgH.js";
17
+ import { t as Te } from "./truncate.BfIl_-71.js";
17
18
  import "../assets/menu.css";
18
- const Te = Symbol("menu inverse style injection key");
19
- let Z = 0;
20
- const we = {
19
+ const we = Symbol("menu inverse style injection key");
20
+ let Q = 0;
21
+ const Oe = {
21
22
  beforeCreate() {
22
- this.uuid = Z.toString(), Z += 1;
23
+ this.uuid = Q.toString(), Q += 1;
23
24
  }
24
- }, Oe = { key: 0 };
25
- function Ne(e, o, v, s, d, b) {
26
- return p(), L("svg", X({ role: "img" }, e.$attrs, {
25
+ }, Ne = { key: 0 };
26
+ function Re(e, o, v, s, c, b) {
27
+ return p(), T("svg", q({ role: "img" }, e.$attrs, {
27
28
  class: "ui-assets-icons-16",
28
29
  xmlns: "http://www.w3.org/2000/svg",
29
30
  width: "16",
30
31
  height: "16",
31
32
  fill: "none"
32
33
  }), [
33
- e.$attrs["svg-title"] ? (p(), L("title", Oe, V(e.$attrs["svg-title"]), 1)) : w("", !0),
34
- o[0] || (o[0] = P("path", {
34
+ e.$attrs["svg-title"] ? (p(), T("title", Ne, G(e.$attrs["svg-title"]), 1)) : O("", !0),
35
+ o[0] || (o[0] = W("path", {
35
36
  fill: "#001222",
36
37
  d: "M8 4C8.29667 4 8.58668 3.91203 8.83335 3.74721C9.08003 3.58238 9.27229 3.34811 9.38582 3.07403C9.49935 2.79994 9.52906 2.49834 9.47118 2.20737C9.4133 1.91639 9.27044 1.64912 9.06066 1.43934C8.85088 1.22956 8.58361 1.0867 8.29264 1.02882C8.00167 0.970945 7.70006 1.00065 7.42598 1.11418C7.15189 1.22771 6.91762 1.41997 6.7528 1.66665C6.58797 1.91332 6.5 2.20333 6.5 2.5C6.5 2.89783 6.65803 3.27936 6.93934 3.56066C7.22064 3.84197 7.60218 4 8 4Z"
37
38
  }, null, -1)),
38
- o[1] || (o[1] = P("path", {
39
+ o[1] || (o[1] = W("path", {
39
40
  fill: "#001222",
40
41
  d: "M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00167 11.9709 7.70006 12.0007 7.42598 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65803 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z"
41
42
  }, null, -1)),
42
- o[2] || (o[2] = P("path", {
43
+ o[2] || (o[2] = W("path", {
43
44
  fill: "#001222",
44
45
  d: "M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65803 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42598 6.61418C7.70006 6.50065 8.00167 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z"
45
46
  }, null, -1))
46
47
  ], 16);
47
48
  }
48
- const Re = /* @__PURE__ */ R(we, [["render", Ne]]), De = W({
49
+ const De = /* @__PURE__ */ R(Oe, [["render", Re]]), Pe = A({
49
50
  name: "menu-item",
50
- components: { BaseButton: Ee, BentoTypography: ge, ChevronRightIcon: $e },
51
+ components: { BaseButton: Le, BentoTypography: ke, ChevronRightIcon: Ee },
51
52
  props: {
52
53
  /**
53
54
  * menu-item text that gets displayed as the main label
@@ -115,41 +116,41 @@ const Re = /* @__PURE__ */ R(we, [["render", Ne]]), De = W({
115
116
  default: !1
116
117
  }
117
118
  },
118
- emits: [J.CLICK],
119
+ emits: [Z.CLICK],
119
120
  setup(e, { emit: o }) {
120
121
  const s = E(() => ({
121
122
  "b-menu-item--critical": e.critical,
122
123
  "b-menu-item--indent": e.indent
123
- })), d = E(() => Le(e.secondaryText, 10));
124
+ })), c = E(() => Te(e.secondaryText, 10));
124
125
  return {
125
126
  // Values
126
127
  conditionalClasses: s,
127
- computedSecondaryText: d,
128
+ computedSecondaryText: c,
128
129
  // Methods
129
130
  onClick: (i) => {
130
- i.stopPropagation(), e.handler(), o(J.CLICK);
131
+ i.stopPropagation(), e.handler(), o(Z.CLICK);
131
132
  }
132
133
  };
133
134
  }
134
135
  });
135
- function Pe(e, o, v, s, d, b) {
136
+ function We(e, o, v, s, c, b) {
136
137
  const i = B("bento-typography"), a = B("chevron-right-icon"), u = B("base-button");
137
138
  return p(), S(u, {
138
- class: Q(["b-menu-item", e.conditionalClasses]),
139
+ class: ee(["b-menu-item", e.conditionalClasses]),
139
140
  role: "menuitem",
140
141
  disabled: e.disabled,
141
142
  tabindex: "-1",
142
143
  onClick: e.onClick
143
- }, ee({
144
- default: I(() => [
144
+ }, te({
145
+ default: _(() => [
145
146
  $(i, {
146
147
  el: "span",
147
148
  variant: "body",
148
149
  stronger: e.isTitle,
149
150
  class: "b-menu-item__primary-text"
150
151
  }, {
151
- default: I(() => [
152
- j(V(e.text), 1)
152
+ default: _(() => [
153
+ z(G(e.text), 1)
153
154
  ]),
154
155
  _: 1
155
156
  }, 8, ["stronger"]),
@@ -159,18 +160,18 @@ function Pe(e, o, v, s, d, b) {
159
160
  variant: "body",
160
161
  class: "b-menu-item__secondary-text"
161
162
  }, {
162
- default: I(() => [
163
- j(V(e.computedSecondaryText), 1)
163
+ default: _(() => [
164
+ z(G(e.computedSecondaryText), 1)
164
165
  ]),
165
166
  _: 1
166
- })) : w("", !0)
167
+ })) : O("", !0)
167
168
  ]),
168
169
  _: 2
169
170
  }, [
170
171
  e.icon ? {
171
172
  name: "iconLeft",
172
- fn: I(() => [
173
- (p(), S(re(e.icon), {
173
+ fn: _(() => [
174
+ (p(), S(ce(e.icon), {
174
175
  class: "b-menu-item__icon-left",
175
176
  "aria-hidden": "true"
176
177
  }))
@@ -179,48 +180,48 @@ function Pe(e, o, v, s, d, b) {
179
180
  } : void 0,
180
181
  e.chevron ? {
181
182
  name: "iconRight",
182
- fn: I(() => [
183
+ fn: _(() => [
183
184
  $(a, { "aria-hidden": "true" })
184
185
  ]),
185
186
  key: "1"
186
187
  } : void 0
187
188
  ]), 1032, ["class", "disabled", "onClick"]);
188
189
  }
189
- const ue = /* @__PURE__ */ R(De, [["render", Pe], ["__scopeId", "data-v-4cecac65"]]);
190
+ const ae = /* @__PURE__ */ R(Pe, [["render", We], ["__scopeId", "data-v-4cecac65"]]);
190
191
  var M = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(M || {});
191
- const We = Symbol("menu registering injection key"), Ke = {
192
+ const Ae = Symbol("menu registering injection key"), Ke = {
192
193
  name: "bento-menu-list-container"
193
- }, Ae = /* @__PURE__ */ W({
194
+ }, He = /* @__PURE__ */ A({
194
195
  ...Ke,
195
196
  setup(e) {
196
- const o = c(), v = c({}), s = te(
197
- We,
197
+ const o = r(), v = r({}), s = ne(
198
+ Ae,
198
199
  !1
199
200
  );
200
201
  if (s) {
201
- const { registerMenuContainerElement: d } = s;
202
- d(o), v.value = {
202
+ const { registerMenuContainerElement: c } = s;
203
+ c(o), v.value = {
203
204
  mouseleave: s == null ? void 0 : s.menuMouseLeave
204
205
  };
205
206
  }
206
- return (d, b) => (p(), L("div", X({
207
+ return (c, b) => (p(), T("div", q({
207
208
  ref_key: "menuListContainerRef",
208
209
  ref: o,
209
210
  class: "b-menu-list-container",
210
211
  "data-testid": "menu-list-container"
211
- }, ce(v.value, !0)), [
212
- G(d.$slots, "default", {}, void 0, !0)
212
+ }, de(v.value, !0)), [
213
+ X(c.$slots, "default", {}, void 0, !0)
213
214
  ], 16));
214
215
  }
215
- }), ae = /* @__PURE__ */ R(Ae, [["__scopeId", "data-v-02a3ca45"]]), Y = {
216
+ }), re = /* @__PURE__ */ R(He, [["__scopeId", "data-v-02a3ca45"]]), j = {
216
217
  "en-US": {
217
218
  backButton: "Go back",
218
219
  menuButton: "Open menu"
219
220
  }
220
- }, xe = W({
221
- i18n: { messages: Y },
221
+ }, xe = A({
222
+ i18n: { messages: j },
222
223
  name: "sub-menu-item-list",
223
- components: { BentoDivider: ie, MenuItem: ue, MenuListContainer: ae },
224
+ components: { BentoDivider: ue, MenuItem: ae, MenuListContainer: re },
224
225
  props: {
225
226
  items: {
226
227
  type: Array,
@@ -233,7 +234,7 @@ const We = Symbol("menu registering injection key"), Ke = {
233
234
  },
234
235
  emits: [M.CLOSE, M.BACK],
235
236
  setup(e, { emit: o }) {
236
- const v = c(null), s = c(0), d = c(e.items.length), b = () => o(M.CLOSE), i = () => o(M.BACK), a = E(() => {
237
+ const v = r(null), s = r(0), c = r(e.items.length), b = () => o(M.CLOSE), i = () => o(M.BACK), a = E(() => {
237
238
  var m;
238
239
  const l = (m = e.items) == null ? void 0 : m.map((f) => ({
239
240
  ...f,
@@ -246,7 +247,7 @@ const We = Symbol("menu registering injection key"), Ke = {
246
247
  text: e.title,
247
248
  secondaryText: null,
248
249
  critical: !1,
249
- icon: z,
250
+ icon: J,
250
251
  isTitle: !0,
251
252
  disabled: !1,
252
253
  indent: !1,
@@ -260,13 +261,13 @@ const We = Symbol("menu registering injection key"), Ke = {
260
261
  var l, m, f, y, k;
261
262
  (k = (y = (f = (m = (l = v.value) == null ? void 0 : l.children) == null ? void 0 : m[s.value]) == null ? void 0 : f.children) == null ? void 0 : y[0]) == null || k.focus();
262
263
  };
263
- ne(async () => {
264
+ oe(async () => {
264
265
  setTimeout(() => u(), 150);
265
266
  });
266
267
  const n = () => {
267
- s.value > 0 ? (s.value -= 1, a.value[s.value].disabled && n()) : s.value = d.value, u();
268
+ s.value > 0 ? (s.value -= 1, a.value[s.value].disabled && n()) : s.value = c.value, u();
268
269
  }, t = () => {
269
- s.value < d.value ? (s.value += 1, a.value[s.value].disabled && t()) : s.value = 0, u();
270
+ s.value < c.value ? (s.value += 1, a.value[s.value].disabled && t()) : s.value = 0, u();
270
271
  };
271
272
  return {
272
273
  // Enums
@@ -274,7 +275,7 @@ const We = Symbol("menu registering injection key"), Ke = {
274
275
  // Values
275
276
  subMenuItemListRefLocal: v,
276
277
  subMenuFocusedIndex: s,
277
- ChevronLeftIcon: z,
278
+ ChevronLeftIcon: J,
278
279
  computedItems: a,
279
280
  // Methods
280
281
  closeMenu: b,
@@ -284,26 +285,26 @@ const We = Symbol("menu registering injection key"), Ke = {
284
285
  };
285
286
  }
286
287
  });
287
- function He(e, o, v, s, d, b) {
288
+ function Fe(e, o, v, s, c, b) {
288
289
  const i = B("menu-item"), a = B("bento-divider"), u = B("menu-list-container");
289
- return p(), S(de, {
290
+ return p(), S(me, {
290
291
  name: "b-sub-menu-item-list__transition",
291
292
  appear: ""
292
293
  }, {
293
- default: I(() => [
294
+ default: _(() => [
294
295
  $(u, { class: "b-sub-menu-item-list" }, {
295
- default: I(() => [
296
- P("ul", {
296
+ default: _(() => [
297
+ W("ul", {
297
298
  ref: "subMenuItemListRefLocal",
298
299
  role: "menu",
299
300
  class: "b-sub-menu-item-list__list",
300
301
  onKeydown: [
301
- o[0] || (o[0] = g(U((...n) => e.focusNext && e.focusNext(...n), ["stop"]), ["down"])),
302
- o[1] || (o[1] = g(U((...n) => e.focusPrevious && e.focusPrevious(...n), ["stop"]), ["up"])),
303
- o[2] || (o[2] = g(U((...n) => e.onBackButton && e.onBackButton(...n), ["stop"]), ["esc"]))
302
+ o[0] || (o[0] = g(V((...n) => e.focusNext && e.focusNext(...n), ["stop"]), ["down"])),
303
+ o[1] || (o[1] = g(V((...n) => e.focusPrevious && e.focusPrevious(...n), ["stop"]), ["up"])),
304
+ o[2] || (o[2] = g(V((...n) => e.onBackButton && e.onBackButton(...n), ["stop"]), ["esc"]))
304
305
  ]
305
306
  }, [
306
- (p(!0), L(oe, null, se(e.computedItems, (n, t) => (p(), L("li", {
307
+ (p(!0), T(se, null, le(e.computedItems, (n, t) => (p(), T("li", {
307
308
  key: `sub-menu-item-list-item-${t}`,
308
309
  role: "none"
309
310
  }, [
@@ -322,7 +323,7 @@ function He(e, o, v, s, d, b) {
322
323
  n.addDivider ? (p(), S(a, {
323
324
  key: 0,
324
325
  class: "b-sub-menu-item-list__divider"
325
- })) : w("", !0)
326
+ })) : O("", !0)
326
327
  ]))), 128))
327
328
  ], 544)
328
329
  ]),
@@ -332,9 +333,9 @@ function He(e, o, v, s, d, b) {
332
333
  _: 1
333
334
  });
334
335
  }
335
- const Fe = /* @__PURE__ */ R(xe, [["render", He], ["__scopeId", "data-v-621db243"]]);
336
- function Ue(e, o, v) {
337
- const b = c(0), i = c(0), a = (n) => {
336
+ const Ue = /* @__PURE__ */ R(xe, [["render", Fe], ["__scopeId", "data-v-621db243"]]);
337
+ function Ve(e, o, v) {
338
+ const b = r(0), i = r(0), a = (n) => {
338
339
  if (!n || !n.parentElement)
339
340
  return;
340
341
  const t = n.parentElement, l = n.cloneNode(!0);
@@ -344,10 +345,10 @@ function Ue(e, o, v) {
344
345
  const y = l.offsetHeight;
345
346
  i.value = y, t.removeChild(l), i.value = y;
346
347
  };
347
- return me([o, v], async ([n]) => {
348
+ return fe([o, v], async ([n]) => {
348
349
  var t, l;
349
350
  if (n !== null) {
350
- await q();
351
+ await Y();
351
352
  const m = (l = (t = e.value) == null ? void 0 : t[0]) == null ? void 0 : l.$el;
352
353
  m && a(m);
353
354
  } else
@@ -357,9 +358,9 @@ function Ue(e, o, v) {
357
358
  return v.value && (i.value > 0 && (n.height = `${i.value}px`), b.value > 0 && (n.width = `${b.value}px`)), n;
358
359
  }) };
359
360
  }
360
- const Ve = W({
361
+ const Ge = A({
361
362
  name: "menu-item-list",
362
- components: { BentoDivider: ie, MenuItem: ue, MenuListContainer: ae, SubMenuItemList: Fe },
363
+ components: { BentoDivider: ue, MenuItem: ae, MenuListContainer: re, SubMenuItemList: Ue },
363
364
  props: {
364
365
  /**
365
366
  * The data to be displayed in the list
@@ -392,29 +393,29 @@ const Ve = W({
392
393
  },
393
394
  emits: [M.CLOSE, "menu-item-click"],
394
395
  setup(e, { emit: o, expose: v }) {
395
- const s = c(null), d = c(null), b = c(null), i = c(null), a = c(!1), u = c(null), n = c(e.focusLastElement ? e.data.length - 1 : 0), t = c(0), l = c(e.data.length - 1), m = E(() => e.data.some((C) => C.icon)), f = E(() => e.indentItems || m.value ? e.data.map((C) => {
396
- let _ = !1;
397
- return C.icon || (_ = !0), {
396
+ const s = r(null), c = r(null), b = r(null), i = r(null), a = r(!1), u = r(null), n = r(e.focusLastElement ? e.data.length - 1 : 0), t = r(0), l = r(e.data.length - 1), m = E(() => e.data.some((C) => C.icon)), f = E(() => e.indentItems || m.value ? e.data.map((C) => {
397
+ let I = !1;
398
+ return C.icon || (I = !0), {
398
399
  ...C,
399
- indent: _
400
+ indent: I
400
401
  };
401
402
  }) : e.data), y = async () => {
402
- var C, _, r;
403
- await q(), (r = (_ = (C = d.value) == null ? void 0 : C.children[n.value]) == null ? void 0 : _.children[0]) == null || r.focus();
404
- }, k = () => o(M.CLOSE), O = (C, _) => {
403
+ var C, I, L;
404
+ await Y(), (L = (I = (C = c.value) == null ? void 0 : C.children[n.value]) == null ? void 0 : I.children[0]) == null || L.focus();
405
+ }, k = () => o(M.CLOSE), N = (C, I) => {
405
406
  if (C.items) {
406
- u.value = _, a.value = !0;
407
+ u.value = I, a.value = !0;
407
408
  return;
408
409
  }
409
- u.value = _, a.value = !1, !C.skipClose && e.closeMenuOnItemSelect !== !1 && k(), o("menu-item-click");
410
+ u.value = I, a.value = !1, !C.skipClose && e.closeMenuOnItemSelect !== !1 && k(), o("menu-item-click");
410
411
  }, K = () => {
411
412
  n.value > 0 ? (n.value -= 1, f.value[n.value].disabled && K()) : n.value = l.value, y();
412
- }, N = () => {
413
- n.value < l.value ? (n.value += 1, f.value[n.value].disabled && N()) : n.value = 0, y();
414
- }, T = (C, _) => {
415
- var r;
416
- (r = C == null ? void 0 : C.items) != null && r.length && (u.value = _, a.value = !0);
417
- }, A = () => {
413
+ }, H = () => {
414
+ n.value < l.value ? (n.value += 1, f.value[n.value].disabled && H()) : n.value = 0, y();
415
+ }, D = (C, I) => {
416
+ var L;
417
+ (L = C == null ? void 0 : C.items) != null && L.length && (u.value = I, a.value = !0);
418
+ }, w = () => {
418
419
  u.value && a.value && (u.value = null, a.value = !1);
419
420
  }, x = () => {
420
421
  a.value = !1, u.value = null, y();
@@ -422,38 +423,38 @@ const Ve = W({
422
423
  v({
423
424
  focusItem: y
424
425
  });
425
- const { computedStyle: H } = Ue(i, u, a);
426
+ const { computedStyle: F } = Ve(i, u, a);
426
427
  return {
427
428
  // Values
428
- menuItemListRef: d,
429
+ menuItemListRef: c,
429
430
  menuItemListWrapperRef: b,
430
431
  subMenuItemListRef: i,
431
432
  menuItemRef: s,
432
433
  computedData: f,
433
- computedStyle: H,
434
+ computedStyle: F,
434
435
  focusedIndex: n,
435
436
  subMenuFocusedIndex: t,
436
437
  showSubMenu: a,
437
438
  visibleSubMenuIndex: u,
438
439
  // Methods
439
- menuItemClick: O,
440
+ menuItemClick: N,
440
441
  closeMenu: k,
441
442
  focusPrevious: K,
442
- focusNext: N,
443
- focusRight: T,
444
- focusLeft: A,
443
+ focusNext: H,
444
+ focusRight: D,
445
+ focusLeft: w,
445
446
  onBackButton: x
446
447
  };
447
448
  }
448
- }), Ge = ["onKeydown"];
449
- function Xe(e, o, v, s, d, b) {
449
+ }), Xe = ["onKeydown"];
450
+ function qe(e, o, v, s, c, b) {
450
451
  const i = B("menu-item"), a = B("bento-divider"), u = B("sub-menu-item-list"), n = B("menu-list-container");
451
452
  return p(), S(n, {
452
453
  ref: "menuItemListWrapperRef",
453
- style: le(e.computedStyle)
454
+ style: ie(e.computedStyle)
454
455
  }, {
455
- default: I(() => [
456
- P("ul", {
456
+ default: _(() => [
457
+ W("ul", {
457
458
  ref: "menuItemListRef",
458
459
  class: "b-menu-item-list",
459
460
  role: "menu",
@@ -464,17 +465,17 @@ function Xe(e, o, v, s, d, b) {
464
465
  o[4] || (o[4] = g((...t) => e.closeMenu && e.closeMenu(...t), ["tab"]))
465
466
  ]
466
467
  }, [
467
- (p(!0), L(oe, null, se(e.computedData, (t, l) => {
468
+ (p(!0), T(se, null, le(e.computedData, (t, l) => {
468
469
  var m, f, y, k;
469
- return p(), L("li", {
470
+ return p(), T("li", {
470
471
  key: `menu-item-${l}`,
471
472
  ref_for: !0,
472
473
  ref: "menuItemRef",
473
474
  class: "b-menu-item-list__item",
474
475
  role: "none",
475
476
  onKeydown: [
476
- g((O) => e.focusRight(t, l), ["right"]),
477
- o[0] || (o[0] = g((O) => e.focusLeft(), ["left"]))
477
+ g((N) => e.focusRight(t, l), ["right"]),
478
+ o[0] || (o[0] = g((N) => e.focusLeft(), ["left"]))
478
479
  ]
479
480
  }, [
480
481
  $(i, {
@@ -489,12 +490,12 @@ function Xe(e, o, v, s, d, b) {
489
490
  tabindex: l === e.subMenuFocusedIndex ? "0" : "-1",
490
491
  "aria-haspopup": !!((y = t.items) != null && y.length),
491
492
  "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === l,
492
- onClick: (O) => e.menuItemClick(t, l)
493
+ onClick: (N) => e.menuItemClick(t, l)
493
494
  }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
494
495
  t.addDivider ? (p(), S(a, {
495
496
  key: 0,
496
497
  class: "b-menu-item-list__divider"
497
- })) : w("", !0),
498
+ })) : O("", !0),
498
499
  (k = t.items) != null && k.length && e.showSubMenu && e.visibleSubMenuIndex === l ? (p(), S(u, {
499
500
  key: 1,
500
501
  ref_for: !0,
@@ -503,19 +504,19 @@ function Xe(e, o, v, s, d, b) {
503
504
  title: t.text,
504
505
  onBack: e.onBackButton,
505
506
  onClose: e.closeMenu
506
- }, null, 8, ["items", "title", "onBack", "onClose"])) : w("", !0)
507
- ], 40, Ge);
507
+ }, null, 8, ["items", "title", "onBack", "onClose"])) : O("", !0)
508
+ ], 40, Xe);
508
509
  }), 128))
509
510
  ], 544)
510
511
  ]),
511
512
  _: 1
512
513
  }, 8, ["style"]);
513
514
  }
514
- const qe = /* @__PURE__ */ R(Ve, [["render", Xe], ["__scopeId", "data-v-999aa4e9"]]), Ye = {
515
- i18n: { messages: Y },
515
+ const Ye = /* @__PURE__ */ R(Ge, [["render", qe], ["__scopeId", "data-v-999aa4e9"]]), je = {
516
+ i18n: { messages: j },
516
517
  name: "bento-menu"
517
- }, je = /* @__PURE__ */ W({
518
- ...Ye,
518
+ }, ze = /* @__PURE__ */ A({
519
+ ...je,
519
520
  props: {
520
521
  button: { default: () => ({
521
522
  variant: "secondary"
@@ -523,7 +524,7 @@ const qe = /* @__PURE__ */ R(Ve, [["render", Xe], ["__scopeId", "data-v-999aa4e9
523
524
  closeMenuOnItemSelect: { type: Boolean, default: !0 },
524
525
  data: {},
525
526
  disableArrowDownOpeningMenu: { type: Boolean, default: !1 },
526
- menuPosition: { default: be.BOTTOM_START },
527
+ menuPosition: { default: Ce.BOTTOM_START },
527
528
  menuFixedPositioning: { type: Boolean, default: !1 },
528
529
  menuWidth: { default: null },
529
530
  revertFocusToButton: { type: Boolean, default: !0 },
@@ -532,73 +533,74 @@ const qe = /* @__PURE__ */ R(Ve, [["render", Xe], ["__scopeId", "data-v-999aa4e9
532
533
  },
533
534
  emits: ["menu-item-click", "click-outside"],
534
535
  setup(e, { expose: o, emit: v }) {
535
- var _;
536
- const s = e, d = v, b = fe(), i = he(b), { t: a } = Ie({ messages: Y }), u = c(null), n = c(null), t = c(!1), l = c(!1), m = c(null), f = _e("menu"), y = te(Te, c(!1));
537
- pe(ve, y);
536
+ var L;
537
+ const s = e, c = v, b = pe(), i = _e(b), { t: a } = ge({ messages: j }), u = r(null), n = r(null), t = r(!1), l = r(!1), m = r(null), f = Ie("menu"), y = ne(we, r(!1));
538
+ ve(be, y);
538
539
  const k = E(() => ({
539
540
  "b-menu--inverse": y.value
540
- })), O = E(() => s.menuWidth ? { width: `${s.menuWidth}px` } : null), K = E(() => {
541
+ })), N = E(() => s.menuWidth ? { width: `${s.menuWidth}px` } : null), K = E(() => {
541
542
  if (s != null && s.button)
542
543
  return {
543
544
  variant: "secondary",
544
545
  ...s.button
545
546
  };
546
- }), N = () => {
547
- t.value = !0, d(M.OPEN);
548
- }, T = async (r = s.revertFocusToButton) => {
549
- var D, F;
550
- t.value && (t.value = !1, r && (await q(), (F = (D = u.value) == null ? void 0 : D.$el) == null || F.focus()), d(M.CLOSE));
551
- }, A = (r) => {
552
- r.stopPropagation(), t.value ? T() : N();
553
- }, x = (r) => {
554
- r.preventDefault(), l.value = !1, s.disableArrowDownOpeningMenu || N();
555
- }, H = (r) => {
556
- r.preventDefault(), l.value = !0, N();
557
- }, C = () => {
558
- d("menu-item-click");
547
+ }), H = (d) => d == null ? void 0 : d["aria-label"], D = () => {
548
+ t.value = !0, c(M.OPEN);
549
+ }, w = async (d = s.revertFocusToButton) => {
550
+ var P, U;
551
+ t.value && (t.value = !1, d && (await Y(), (U = (P = u.value) == null ? void 0 : P.$el) == null || U.focus()), c(M.CLOSE));
552
+ }, x = (d) => {
553
+ d.stopPropagation(), t.value ? w() : D();
554
+ }, F = (d) => {
555
+ d.preventDefault(), l.value = !1, s.disableArrowDownOpeningMenu || D();
556
+ }, C = (d) => {
557
+ d.preventDefault(), l.value = !0, D();
558
+ }, I = () => {
559
+ c("menu-item-click");
559
560
  };
560
- return Ce(
561
+ return he(
561
562
  m,
562
563
  () => {
563
- T(), d("click-outside");
564
+ w(), c("click-outside");
564
565
  },
565
566
  {
566
567
  ...s.closeOnClickOutsideOptions,
567
- ignore: [u, ...((_ = s.closeOnClickOutsideOptions) == null ? void 0 : _.ignore) ?? []]
568
+ ignore: [u, ...((L = s.closeOnClickOutsideOptions) == null ? void 0 : L.ignore) ?? []]
568
569
  }
569
570
  ), o({
570
571
  /**
571
572
  * Control to enable programmatic closing of the menu
572
573
  */
573
- closeMenu: T
574
- }), ne(() => {
575
- i("iconRight") && ke(
574
+ closeMenu: w
575
+ }), oe(() => {
576
+ i("iconRight") && Me(
576
577
  '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
577
578
  );
578
- }), (r, D) => (p(), L("div", {
579
- class: Q([k.value, "b-menu"]),
579
+ }), (d, P) => (p(), T("div", {
580
+ class: ee([k.value, "b-menu"]),
580
581
  "data-testid": "menu",
581
582
  onKeydown: [
582
- g(x, ["down"]),
583
- g(H, ["up"]),
584
- D[0] || (D[0] = g((F) => T(), ["esc"]))
583
+ g(F, ["down"]),
584
+ g(C, ["up"]),
585
+ P[0] || (P[0] = g((U) => w(), ["esc"]))
585
586
  ]
586
587
  }, [
587
- $(h(Be), X({
588
+ $(h(Se), q({
588
589
  ref_key: "menuButtonRef",
589
590
  ref: u,
590
591
  "aria-haspopup": "true"
591
592
  }, K.value, {
592
593
  "aria-controls": t.value ? h(f) : null,
594
+ "aria-label": H(d.$attrs),
593
595
  toggled: t.value,
594
596
  inverse: h(y),
595
- onClick: A
596
- }), ee({ _: 2 }, [
597
+ onClick: x
598
+ }), te({ _: 2 }, [
597
599
  !h(i)("default") || h(i)("iconLeft") ? {
598
600
  name: "iconLeft",
599
- fn: I(() => [
600
- G(r.$slots, "iconLeft", {}, () => [
601
- $(h(Re), {
601
+ fn: _(() => [
602
+ X(d.$slots, "iconLeft", {}, () => [
603
+ $(h(De), {
602
604
  title: h(a)("menuButton")
603
605
  }, null, 8, ["title"])
604
606
  ], !0)
@@ -607,24 +609,24 @@ const qe = /* @__PURE__ */ R(Ve, [["render", Xe], ["__scopeId", "data-v-999aa4e9
607
609
  } : void 0,
608
610
  h(i)("default") ? {
609
611
  name: "default",
610
- fn: I(() => [
611
- G(r.$slots, "default", {}, void 0, !0)
612
+ fn: _(() => [
613
+ X(d.$slots, "default", {}, void 0, !0)
612
614
  ]),
613
615
  key: "1"
614
616
  } : void 0,
615
617
  h(i)("default") ? {
616
618
  name: "iconRight",
617
- fn: I(() => [
618
- $(h(Me))
619
+ fn: _(() => [
620
+ $(h(Be))
619
621
  ]),
620
622
  key: "2"
621
623
  } : void 0
622
- ]), 1040, ["aria-controls", "toggled", "inverse"]),
623
- u.value ? (p(), S(h(Se), {
624
+ ]), 1040, ["aria-controls", "aria-label", "toggled", "inverse"]),
625
+ u.value ? (p(), S(h($e), {
624
626
  key: 0,
625
- disabled: !r.teleport
627
+ disabled: !d.teleport
626
628
  }, {
627
- default: I(() => [
629
+ default: _(() => [
628
630
  u.value ? (p(), S(h(ye), {
629
631
  key: 0,
630
632
  id: h(f),
@@ -633,10 +635,10 @@ const qe = /* @__PURE__ */ R(Ve, [["render", Xe], ["__scopeId", "data-v-999aa4e9
633
635
  role: null,
634
636
  open: t.value,
635
637
  class: "b-menu__popover",
636
- style: le(O.value),
638
+ style: ie(N.value),
637
639
  "target-element": u.value,
638
- position: r.menuPosition,
639
- "fixed-positioning": r.menuFixedPositioning,
640
+ position: d.menuPosition,
641
+ "fixed-positioning": d.menuFixedPositioning,
640
642
  "fallback-position": [
641
643
  "bottom-start",
642
644
  "bottom-end",
@@ -647,33 +649,33 @@ const qe = /* @__PURE__ */ R(Ve, [["render", Xe], ["__scopeId", "data-v-999aa4e9
647
649
  "left-start",
648
650
  "left-end"
649
651
  ],
650
- teleport: r.teleport,
652
+ teleport: d.teleport,
651
653
  "without-space": ""
652
654
  }, {
653
- default: I(() => [
654
- $(h(qe), {
655
+ default: _(() => [
656
+ $(h(Ye), {
655
657
  ref_key: "menuItemListRef",
656
658
  ref: n,
657
- "close-menu-on-item-select": r.closeMenuOnItemSelect,
658
- data: r.data,
659
+ "close-menu-on-item-select": d.closeMenuOnItemSelect,
660
+ data: d.data,
659
661
  "focus-last-element": l.value,
660
- onClose: T,
661
- onMenuItemClick: C
662
+ onClose: w,
663
+ onMenuItemClick: I
662
664
  }, null, 8, ["close-menu-on-item-select", "data", "focus-last-element"])
663
665
  ]),
664
666
  _: 1
665
- }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : w("", !0)
667
+ }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : O("", !0)
666
668
  ]),
667
669
  _: 1
668
- }, 8, ["disabled"])) : w("", !0)
670
+ }, 8, ["disabled"])) : O("", !0)
669
671
  ], 34));
670
672
  }
671
- }), mt = /* @__PURE__ */ R(je, [["__scopeId", "data-v-6f029bdb"]]);
673
+ }), pt = /* @__PURE__ */ R(ze, [["__scopeId", "data-v-b6ba391e"]]);
672
674
  export {
673
- mt as B,
674
- We as D,
675
- Te as M,
676
- Re as O,
675
+ pt as B,
676
+ Ae as D,
677
+ we as M,
678
+ De as O,
677
679
  M as a
678
680
  };
679
- //# sourceMappingURL=menu.CeLJ1gIz.js.map
681
+ //# sourceMappingURL=menu.C-3obPGl.js.map