@adyen/bento-vue2 1.35.1 → 1.37.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 (289) hide show
  1. package/README.md +31 -4
  2. package/dist/@types/index.d.ts +132 -95
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button.css +1 -1
  10. package/dist/assets/calendar.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/checkbox-group.css +1 -1
  13. package/dist/assets/checkbox-input.css +1 -1
  14. package/dist/assets/checkbox.css +1 -1
  15. package/dist/assets/code-snippet.css +1 -1
  16. package/dist/assets/dashboard-section.css +1 -1
  17. package/dist/assets/data-grid.css +1 -1
  18. package/dist/assets/date-picker.css +1 -1
  19. package/dist/assets/date-range-picker.css +1 -1
  20. package/dist/assets/date.css +1 -0
  21. package/dist/assets/dialog-page.css +1 -1
  22. package/dist/assets/dropdown-default-textbox.css +1 -1
  23. package/dist/assets/dropdown.css +1 -1
  24. package/dist/assets/empty-state.css +1 -1
  25. package/dist/assets/error-message.css +1 -1
  26. package/dist/assets/filter-bar.css +1 -1
  27. package/dist/assets/form-layout-title.css +1 -1
  28. package/dist/assets/header.css +1 -1
  29. package/dist/assets/info-icon.css +1 -1
  30. package/dist/assets/input-field.css +1 -1
  31. package/dist/assets/inspector.css +1 -1
  32. package/dist/assets/menu.css +1 -1
  33. package/dist/assets/modal-fullscreen.css +1 -1
  34. package/dist/assets/pagination.css +1 -1
  35. package/dist/assets/popover.css +1 -1
  36. package/dist/assets/popper-container.css +1 -1
  37. package/dist/assets/radio-group.css +1 -1
  38. package/dist/assets/radio-input.css +1 -1
  39. package/dist/assets/search-bar.css +1 -1
  40. package/dist/assets/segmented-control.css +1 -1
  41. package/dist/assets/selection-card-group.css +1 -1
  42. package/dist/assets/sidepanel.css +1 -1
  43. package/dist/assets/status.css +1 -1
  44. package/dist/assets/summary-grid-item-custom.css +1 -1
  45. package/dist/assets/tabs.css +1 -1
  46. package/dist/assets/tag.css +1 -1
  47. package/dist/assets/textarea.css +1 -1
  48. package/dist/assets/timeline-item.css +1 -1
  49. package/dist/assets/toggle.css +1 -1
  50. package/dist/assets/tooltip.css +1 -1
  51. package/dist/assets/typography.css +1 -1
  52. package/dist/assets/use-cached-selected-values.css +1 -1
  53. package/dist/avatar.js +1 -1
  54. package/dist/button.js +4 -4
  55. package/dist/card.js +1 -1
  56. package/dist/checkbox.js +3 -3
  57. package/dist/chunks/{accordion-item.BDNSykyK.js → accordion-item.BjXzREaK.js} +6 -6
  58. package/dist/chunks/accordion-item.BjXzREaK.js.map +1 -0
  59. package/dist/chunks/{action-bar.CCVKS1xo.js → action-bar.CjdRoIjd.js} +6 -6
  60. package/dist/chunks/{action-bar.CCVKS1xo.js.map → action-bar.CjdRoIjd.js.map} +1 -1
  61. package/dist/chunks/{alert.CVsckdGC.js → alert.DHu9891u.js} +3 -3
  62. package/dist/chunks/{alert.CVsckdGC.js.map → alert.DHu9891u.js.map} +1 -1
  63. package/dist/chunks/{avatar.qcWk9clF.js → avatar.DXzyWKsI.js} +2 -2
  64. package/dist/chunks/{avatar.qcWk9clF.js.map → avatar.DXzyWKsI.js.map} +1 -1
  65. package/dist/chunks/{base-button.qWj0m9-v.js → base-button.4UYC3kp2.js} +2 -2
  66. package/dist/chunks/{base-button.qWj0m9-v.js.map → base-button.4UYC3kp2.js.map} +1 -1
  67. package/dist/chunks/{base-modal.BaHkDH5f.js → base-modal.D9nvAFwb.js} +18 -18
  68. package/dist/chunks/base-modal.D9nvAFwb.js.map +1 -0
  69. package/dist/chunks/{button-actions-with-menu.Bl82u6yP.js → button-actions-with-menu.BraBlJ_T.js} +4 -4
  70. package/dist/chunks/{button-actions-with-menu.Bl82u6yP.js.map → button-actions-with-menu.BraBlJ_T.js.map} +1 -1
  71. package/dist/chunks/{button-actions.DN4eIQes.js → button-actions.22PlNl4O.js} +3 -3
  72. package/dist/chunks/{button-actions.DN4eIQes.js.map → button-actions.22PlNl4O.js.map} +1 -1
  73. package/dist/chunks/{button.79klAcOK.js → button.PIszagl6.js} +3 -3
  74. package/dist/chunks/{button.79klAcOK.js.map → button.PIszagl6.js.map} +1 -1
  75. package/dist/chunks/{calendar.BFrqPClW.js → calendar.DadXSN5E.js} +6 -6
  76. package/dist/chunks/calendar.DadXSN5E.js.map +1 -0
  77. package/dist/chunks/{card.lWLgpCWM.js → card.7EiG0W8f.js} +5 -5
  78. package/dist/chunks/card.7EiG0W8f.js.map +1 -0
  79. package/dist/chunks/{checkbox-group.C0cqbJWx.js → checkbox-group.BKDaJocG.js} +11 -11
  80. package/dist/chunks/checkbox-group.BKDaJocG.js.map +1 -0
  81. package/dist/chunks/{checkbox-input.BH7MGdMj.js → checkbox-input.DgfJgZaI.js} +5 -5
  82. package/dist/chunks/checkbox-input.DgfJgZaI.js.map +1 -0
  83. package/dist/chunks/{checkbox.B3u_hzUo.js → checkbox.DNsPAfq5.js} +18 -18
  84. package/dist/chunks/checkbox.DNsPAfq5.js.map +1 -0
  85. package/dist/chunks/{code-snippet.BgjvWTHP.js → code-snippet.BPKC0Bxs.js} +7 -7
  86. package/dist/chunks/{code-snippet.BgjvWTHP.js.map → code-snippet.BPKC0Bxs.js.map} +1 -1
  87. package/dist/chunks/{controls-group.DLBxlPfl.js → controls-group.Dx66LdfN.js} +3 -3
  88. package/dist/chunks/{controls-group.DLBxlPfl.js.map → controls-group.Dx66LdfN.js.map} +1 -1
  89. package/dist/chunks/{copy.CmxcGt77.js → copy.fvajyLGQ.js} +3 -3
  90. package/dist/chunks/{copy.CmxcGt77.js.map → copy.fvajyLGQ.js.map} +1 -1
  91. package/dist/chunks/{country.DWQ85WGG.js → country.CM5oZOyZ.js} +2 -2
  92. package/dist/chunks/{country.DWQ85WGG.js.map → country.CM5oZOyZ.js.map} +1 -1
  93. package/dist/chunks/{currency.CbZqZrBz.js → currency.CEqsVP2T.js} +2 -2
  94. package/dist/chunks/{currency.CbZqZrBz.js.map → currency.CEqsVP2T.js.map} +1 -1
  95. package/dist/chunks/{dashboard-section.BfXtTf6l.js → dashboard-section.CilMYHUI.js} +3 -3
  96. package/dist/chunks/{dashboard-section.BfXtTf6l.js.map → dashboard-section.CilMYHUI.js.map} +1 -1
  97. package/dist/chunks/{dashed-underline.xq5j9fGG.js → dashed-underline.3xCL30uf.js} +4 -4
  98. package/dist/chunks/{dashed-underline.xq5j9fGG.js.map → dashed-underline.3xCL30uf.js.map} +1 -1
  99. package/dist/chunks/{data-grid-template.C8AR5CxA.js → data-grid-template.DV7r3myJ.js} +3 -3
  100. package/dist/chunks/{data-grid-template.C8AR5CxA.js.map → data-grid-template.DV7r3myJ.js.map} +1 -1
  101. package/dist/chunks/{data-grid.BCTcokYm.js → data-grid.CAs5qLq1.js} +376 -374
  102. package/dist/chunks/data-grid.CAs5qLq1.js.map +1 -0
  103. package/dist/chunks/{date-picker.CPG0zksD.js → date-picker.Ce5xoP6x.js} +9 -9
  104. package/dist/chunks/date-picker.Ce5xoP6x.js.map +1 -0
  105. package/dist/chunks/{date-range-picker.Bt439x32.js → date-range-picker.WFZu39Kj.js} +12 -12
  106. package/dist/chunks/{date-range-picker.Bt439x32.js.map → date-range-picker.WFZu39Kj.js.map} +1 -1
  107. package/dist/chunks/{date.C0uwNQjg.js → date.BQ29-2L1.js} +24 -23
  108. package/dist/chunks/{date.C0uwNQjg.js.map → date.BQ29-2L1.js.map} +1 -1
  109. package/dist/chunks/{dialog-page.bmDDYmn9.js → dialog-page.Qi9Zc34k.js} +2 -2
  110. package/dist/chunks/{dialog-page.bmDDYmn9.js.map → dialog-page.Qi9Zc34k.js.map} +1 -1
  111. package/dist/chunks/{dropdown-default-textbox.kQ3pHsZe.js → dropdown-default-textbox.DPZmj7xJ.js} +4 -4
  112. package/dist/chunks/dropdown-default-textbox.DPZmj7xJ.js.map +1 -0
  113. package/dist/chunks/{dropdown-tag.Cd4LGtwl.js → dropdown-tag.Df5CcYQ0.js} +6 -6
  114. package/dist/chunks/{dropdown-tag.Cd4LGtwl.js.map → dropdown-tag.Df5CcYQ0.js.map} +1 -1
  115. package/dist/chunks/{dropdown.B4KMM58m.js → dropdown.DpiHAE1l.js} +9 -9
  116. package/dist/chunks/dropdown.DpiHAE1l.js.map +1 -0
  117. package/dist/chunks/{empty-state.C2ba_wDp.js → empty-state.c6UY_tmZ.js} +3 -3
  118. package/dist/chunks/{empty-state.C2ba_wDp.js.map → empty-state.c6UY_tmZ.js.map} +1 -1
  119. package/dist/chunks/{error-message.GCYDEzGL.js → error-message.Btn_7Igx.js} +3 -3
  120. package/dist/chunks/{error-message.GCYDEzGL.js.map → error-message.Btn_7Igx.js.map} +1 -1
  121. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  122. package/dist/chunks/{filter-bar.Co2YeUUg.js → filter-bar.BSWkjktr.js} +27 -27
  123. package/dist/chunks/filter-bar.BSWkjktr.js.map +1 -0
  124. package/dist/chunks/{fixed-scroller.CQWDnydO.js → fixed-scroller.Bv65QAGg.js} +2 -2
  125. package/dist/chunks/{fixed-scroller.CQWDnydO.js.map → fixed-scroller.Bv65QAGg.js.map} +1 -1
  126. package/dist/chunks/{footer-actions.CxxS87iQ.js → footer-actions.BL59SNj4.js} +4 -4
  127. package/dist/chunks/{footer-actions.CxxS87iQ.js.map → footer-actions.BL59SNj4.js.map} +1 -1
  128. package/dist/chunks/{form-layout-title.DomnJXLE.js → form-layout-title.CTnkin8u.js} +3 -3
  129. package/dist/chunks/{form-layout-title.DomnJXLE.js.map → form-layout-title.CTnkin8u.js.map} +1 -1
  130. package/dist/chunks/generate-uid.D-HFI38h.js +32 -0
  131. package/dist/chunks/generate-uid.D-HFI38h.js.map +1 -0
  132. package/dist/chunks/{header.zacQVbjn.js → header.DGuyhMle.js} +7 -7
  133. package/dist/chunks/{header.zacQVbjn.js.map → header.DGuyhMle.js.map} +1 -1
  134. package/dist/chunks/{info-icon.DNn4oZsB.js → info-icon.BxWBisWG.js} +6 -6
  135. package/dist/chunks/info-icon.BxWBisWG.js.map +1 -0
  136. package/dist/chunks/{input-field.DBrzeKBj.js → input-field.CT0_xKvJ.js} +6 -6
  137. package/dist/chunks/input-field.CT0_xKvJ.js.map +1 -0
  138. package/dist/chunks/{inspector.types.lu_MoQn5.js → inspector.types.D1HKmbsJ.js} +5 -5
  139. package/dist/chunks/inspector.types.D1HKmbsJ.js.map +1 -0
  140. package/dist/chunks/{link.Xce4kDGy.js → link.n62xz4hO.js} +2 -2
  141. package/dist/chunks/{link.Xce4kDGy.js.map → link.n62xz4hO.js.map} +1 -1
  142. package/dist/chunks/{listbox-option-tag.RVvWMKvz.js → listbox-option-tag.CuHL51H9.js} +3 -3
  143. package/dist/chunks/{listbox-option-tag.RVvWMKvz.js.map → listbox-option-tag.CuHL51H9.js.map} +1 -1
  144. package/dist/chunks/{loading-button.DoX2sopf.js → loading-button.CgiFM_c7.js} +2 -2
  145. package/dist/chunks/{loading-button.DoX2sopf.js.map → loading-button.CgiFM_c7.js.map} +1 -1
  146. package/dist/chunks/{menu.DHakGFS4.js → menu.DEgYSQA2.js} +7 -7
  147. package/dist/chunks/{menu.DHakGFS4.js.map → menu.DEgYSQA2.js.map} +1 -1
  148. package/dist/chunks/{modal-fullscreen.mIlp0LnL.js → modal-fullscreen.DsJnp4i6.js} +7 -7
  149. package/dist/chunks/modal-fullscreen.DsJnp4i6.js.map +1 -0
  150. package/dist/chunks/{modal.CtTQWN8H.js → modal.B1WqZZpr.js} +6 -6
  151. package/dist/chunks/{modal.CtTQWN8H.js.map → modal.B1WqZZpr.js.map} +1 -1
  152. package/dist/chunks/{pagination.By-p9MjL.js → pagination.8BZz-h13.js} +18 -18
  153. package/dist/chunks/pagination.8BZz-h13.js.map +1 -0
  154. package/dist/chunks/{payment-method.CyQwoqEe.js → payment-method.CoXB0ZAW.js} +2 -2
  155. package/dist/chunks/{payment-method.CyQwoqEe.js.map → payment-method.CoXB0ZAW.js.map} +1 -1
  156. package/dist/chunks/{popover.BDaf6hmW.js → popover.hzeFBXzL.js} +4 -4
  157. package/dist/chunks/{popover.BDaf6hmW.js.map → popover.hzeFBXzL.js.map} +1 -1
  158. package/dist/chunks/{radio-group.OaYz1wJf.js → radio-group.CZaVmmUe.js} +8 -8
  159. package/dist/chunks/radio-group.CZaVmmUe.js.map +1 -0
  160. package/dist/chunks/{search-bar.eC-crOww.js → search-bar.osJS8Cs-.js} +31 -31
  161. package/dist/chunks/search-bar.osJS8Cs-.js.map +1 -0
  162. package/dist/chunks/{secondary-nav.1xw-o8OR.js → secondary-nav.o_1YCWAx.js} +3 -3
  163. package/dist/chunks/{secondary-nav.1xw-o8OR.js.map → secondary-nav.o_1YCWAx.js.map} +1 -1
  164. package/dist/chunks/{segmented-control.BZm0u0wJ.js → segmented-control.uVH5ahVY.js} +13 -13
  165. package/dist/chunks/segmented-control.uVH5ahVY.js.map +1 -0
  166. package/dist/chunks/{selection-card-group.BLPaJy5U.js → selection-card-group.BRFV5iQl.js} +13 -13
  167. package/dist/chunks/selection-card-group.BRFV5iQl.js.map +1 -0
  168. package/dist/chunks/{sidepanel.ZYT_vzbj.js → sidepanel.GSooM2yT.js} +7 -7
  169. package/dist/chunks/sidepanel.GSooM2yT.js.map +1 -0
  170. package/dist/chunks/{status.types.dPBUkNia.js → status.types.UkYKuQHH.js} +2 -2
  171. package/dist/chunks/{status.types.dPBUkNia.js.map → status.types.UkYKuQHH.js.map} +1 -1
  172. package/dist/chunks/{step.CjJtlBk6.js → step.D3-7YL7-.js} +3 -3
  173. package/dist/chunks/{step.CjJtlBk6.js.map → step.D3-7YL7-.js.map} +1 -1
  174. package/dist/chunks/{structured-list-item.D7D8VpQY.js → structured-list-item.JDICCHjN.js} +6 -6
  175. package/dist/chunks/{structured-list-item.D7D8VpQY.js.map → structured-list-item.JDICCHjN.js.map} +1 -1
  176. package/dist/chunks/{summary-grid-item-custom.v0QSLZKT.js → summary-grid-item-custom.C-8hXJcP.js} +5 -5
  177. package/dist/chunks/{summary-grid-item-custom.v0QSLZKT.js.map → summary-grid-item-custom.C-8hXJcP.js.map} +1 -1
  178. package/dist/chunks/tabs.BiTr_PdY.js +154 -0
  179. package/dist/chunks/tabs.BiTr_PdY.js.map +1 -0
  180. package/dist/chunks/tag.DSFSfnAf.js +44 -0
  181. package/dist/chunks/tag.DSFSfnAf.js.map +1 -0
  182. package/dist/chunks/{textarea.C0IMS5XS.js → textarea.CrYT_JJ-.js} +6 -6
  183. package/dist/chunks/textarea.CrYT_JJ-.js.map +1 -0
  184. package/dist/chunks/{timeline-item.Dmd78uwQ.js → timeline-item.BS_P9oEW.js} +11 -11
  185. package/dist/chunks/{timeline-item.Dmd78uwQ.js.map → timeline-item.BS_P9oEW.js.map} +1 -1
  186. package/dist/chunks/{toast.3LxCDPiT.js → toast.C7L41pAm.js} +4 -4
  187. package/dist/chunks/{toast.3LxCDPiT.js.map → toast.C7L41pAm.js.map} +1 -1
  188. package/dist/chunks/{toggle-button.bt3zBzdC.js → toggle-button.D5Ann2NH.js} +2 -2
  189. package/dist/chunks/{toggle-button.bt3zBzdC.js.map → toggle-button.D5Ann2NH.js.map} +1 -1
  190. package/dist/chunks/{toggle.CLgGH4Jr.js → toggle.INRYdQzz.js} +4 -4
  191. package/dist/chunks/toggle.INRYdQzz.js.map +1 -0
  192. package/dist/chunks/{tooltip.BN6fOXzi.js → tooltip.CS2Gij6x.js} +18 -17
  193. package/dist/chunks/tooltip.CS2Gij6x.js.map +1 -0
  194. package/dist/chunks/{tutorial.D64_0i0-.js → tutorial.D_38Tuq-.js} +5 -5
  195. package/dist/chunks/{tutorial.D64_0i0-.js.map → tutorial.D_38Tuq-.js.map} +1 -1
  196. package/dist/chunks/typography.Bu_WAKdf.js +86 -0
  197. package/dist/chunks/typography.Bu_WAKdf.js.map +1 -0
  198. package/dist/chunks/{use-bento-toast-controller.DLKySNHd.js → use-bento-toast-controller.BVVMh0wc.js} +3 -3
  199. package/dist/chunks/use-bento-toast-controller.BVVMh0wc.js.map +1 -0
  200. package/dist/chunks/{use-cached-selected-values.BOAumEi7.js → use-cached-selected-values.DxHmVtct.js} +6 -6
  201. package/dist/chunks/{use-cached-selected-values.BOAumEi7.js.map → use-cached-selected-values.DxHmVtct.js.map} +1 -1
  202. package/dist/code-snippet.js +1 -1
  203. package/dist/country.js +1 -1
  204. package/dist/currency.js +1 -1
  205. package/dist/dashboard-template.js +1 -1
  206. package/dist/dashed-underline.js +1 -1
  207. package/dist/data-grid-template.js +1 -1
  208. package/dist/data-grid.js +1 -1
  209. package/dist/date-picker.js +2 -2
  210. package/dist/date-range-picker.js +2 -2
  211. package/dist/date.js +1 -1
  212. package/dist/dropdown.js +4 -4
  213. package/dist/empty-state.js +1 -1
  214. package/dist/filter-bar.js +1 -1
  215. package/dist/form-layout.js +1 -1
  216. package/dist/header.js +1 -1
  217. package/dist/index.js +316 -299
  218. package/dist/index.js.map +1 -1
  219. package/dist/info-icon.js +1 -1
  220. package/dist/input-field.js +1 -1
  221. package/dist/inspector.js +1 -1
  222. package/dist/internal.js +21 -19
  223. package/dist/internal.js.map +1 -1
  224. package/dist/link.js +1 -1
  225. package/dist/menu.js +1 -1
  226. package/dist/modal-fullscreen.js +1 -1
  227. package/dist/modal.js +2 -2
  228. package/dist/pagination.js +1 -1
  229. package/dist/payment-method.js +1 -1
  230. package/dist/popover.js +1 -1
  231. package/dist/radio-group.js +1 -1
  232. package/dist/search-bar.js +2 -2
  233. package/dist/secondary-nav.js +1 -1
  234. package/dist/segmented-control.js +1 -1
  235. package/dist/selection-card.js +1 -1
  236. package/dist/sidepanel.js +1 -1
  237. package/dist/status.js +1 -1
  238. package/dist/stepper.js +1 -1
  239. package/dist/structured-list.js +1 -1
  240. package/dist/styles/bento-dark.css +1810 -0
  241. package/dist/styles/bento-light.css +1809 -0
  242. package/dist/styles/bento.css +69 -7
  243. package/dist/styles/legacy.css +67 -5
  244. package/dist/styles/styleguide.css +69 -7
  245. package/dist/summary-grid.js +1 -1
  246. package/dist/tabs.js +1 -1
  247. package/dist/tag.js +1 -1
  248. package/dist/textarea.js +1 -1
  249. package/dist/timeline.js +1 -1
  250. package/dist/toast.js +1 -1
  251. package/dist/toggle.js +1 -1
  252. package/dist/tutorial.js +1 -1
  253. package/dist/typography.js +1 -1
  254. package/dist/web-types.json +61 -40
  255. package/package.json +3 -3
  256. package/dist/chunks/accordion-item.BDNSykyK.js.map +0 -1
  257. package/dist/chunks/base-modal.BaHkDH5f.js.map +0 -1
  258. package/dist/chunks/calendar.BFrqPClW.js.map +0 -1
  259. package/dist/chunks/card.lWLgpCWM.js.map +0 -1
  260. package/dist/chunks/checkbox-group.C0cqbJWx.js.map +0 -1
  261. package/dist/chunks/checkbox-input.BH7MGdMj.js.map +0 -1
  262. package/dist/chunks/checkbox.B3u_hzUo.js.map +0 -1
  263. package/dist/chunks/data-grid.BCTcokYm.js.map +0 -1
  264. package/dist/chunks/date-picker.CPG0zksD.js.map +0 -1
  265. package/dist/chunks/dropdown-default-textbox.kQ3pHsZe.js.map +0 -1
  266. package/dist/chunks/dropdown.B4KMM58m.js.map +0 -1
  267. package/dist/chunks/filter-bar.Co2YeUUg.js.map +0 -1
  268. package/dist/chunks/info-icon.DNn4oZsB.js.map +0 -1
  269. package/dist/chunks/input-field.DBrzeKBj.js.map +0 -1
  270. package/dist/chunks/inspector.types.lu_MoQn5.js.map +0 -1
  271. package/dist/chunks/modal-fullscreen.mIlp0LnL.js.map +0 -1
  272. package/dist/chunks/pagination.By-p9MjL.js.map +0 -1
  273. package/dist/chunks/radio-group.OaYz1wJf.js.map +0 -1
  274. package/dist/chunks/search-bar.eC-crOww.js.map +0 -1
  275. package/dist/chunks/segmented-control.BZm0u0wJ.js.map +0 -1
  276. package/dist/chunks/selection-card-group.BLPaJy5U.js.map +0 -1
  277. package/dist/chunks/sidepanel.ZYT_vzbj.js.map +0 -1
  278. package/dist/chunks/tabs.D4ORafqH.js +0 -140
  279. package/dist/chunks/tabs.D4ORafqH.js.map +0 -1
  280. package/dist/chunks/tag.Bo_6RnVE.js +0 -64
  281. package/dist/chunks/tag.Bo_6RnVE.js.map +0 -1
  282. package/dist/chunks/textarea.C0IMS5XS.js.map +0 -1
  283. package/dist/chunks/toggle.CLgGH4Jr.js.map +0 -1
  284. package/dist/chunks/tooltip.BN6fOXzi.js.map +0 -1
  285. package/dist/chunks/typography.CqQaHXhq.js +0 -76
  286. package/dist/chunks/typography.CqQaHXhq.js.map +0 -1
  287. package/dist/chunks/unique-id.XFfoKuc2.js +0 -28
  288. package/dist/chunks/unique-id.XFfoKuc2.js.map +0 -1
  289. package/dist/chunks/use-bento-toast-controller.DLKySNHd.js.map +0 -1
package/README.md CHANGED
@@ -25,6 +25,7 @@ Bento Vue contains foundational Vue 2.x (and Vue 3.x) UI components for shipping
25
25
  - [Vue 3](#vue-3-2)
26
26
  - [Using our CDN directly](#using-our-cdn-directly)
27
27
  - [Import CSS variables](#import-css-variables)
28
+ - [⚠️ `bento.css` deprecated ⚠️](#️-bentocss-deprecated-️)
28
29
  - [Vue 2](#vue-2-3)
29
30
  - [Vue 3](#vue-3-3)
30
31
  - [Initialize `vue-i18n`](#initialize-vue-i18n)
@@ -37,7 +38,8 @@ Bento Vue contains foundational Vue 2.x (and Vue 3.x) UI components for shipping
37
38
  - [Webpack](#webpack)
38
39
  - [Vite](#vite)
39
40
  - [Stylelint](#stylelint)
40
- - [Alternative themes](#alternative-themes)
41
+ - [Theming](#theming)
42
+ - [⚠️ `BentoTheme.BENTO` deprecated ⚠️](#️-bentothemebento-deprecated-️)
41
43
  - [ADL theme](#adl-theme)
42
44
  - [Set **legacy ADL** theme as default](#set-legacy-adl-theme-as-default)
43
45
  - [Setting themes without the Bento Plugin](#setting-themes-without-the-bento-plugin)
@@ -164,7 +166,11 @@ We currently export the following styles:
164
166
 
165
167
  NOTE: This way of importing bento styles will be mandatory in Bento 2.X
166
168
 
167
- ###### Vue 2
169
+ ##### ⚠️ `bento.css` deprecated ⚠️
170
+
171
+ The `bento.css` stylesheet is deprecated. It will be removed in v2.0.0. Please use the `bento-light.css` instead.
172
+
173
+ ##### Vue 2
168
174
 
169
175
  ```javascript
170
176
  import Vue from 'vue';
@@ -180,7 +186,7 @@ Vue.use(BentoVue, {
180
186
  });
181
187
  ```
182
188
 
183
- ###### Vue 3
189
+ ##### Vue 3
184
190
 
185
191
  ```javascript
186
192
  import { createApp } from 'vue';
@@ -425,7 +431,7 @@ extends: [
425
431
  ],
426
432
  ```
427
433
 
428
- ## Alternative themes
434
+ ## Theming
429
435
 
430
436
  Bento components can be themed with both themes provided out-of-the-box and with custom classes applied. At the current
431
437
  Bento component support themes. At present, there is only one alternative style provided out of the box: ADL theme (also
@@ -433,6 +439,27 @@ known as Legacy theme).
433
439
 
434
440
  More extensive out-of-the-box theming support is planned and will come soon.
435
441
 
442
+ ### ⚠️ `BentoTheme.BENTO` deprecated ⚠️
443
+
444
+ The `BentoTheme.BENTO` theme enum is deprecated. It will be removed in v2.0.0. Please use the `BentoTheme.BENTO_LIGHT`
445
+ enum or the `b-light-theme` string instead.
446
+
447
+ Old usage (deprecated)
448
+
449
+ ```typescript
450
+ // plugin
451
+ Vue.use(BentoVue, { theme: BentoTheme.BENTO });
452
+ ```
453
+
454
+ New usage
455
+
456
+ ```typescript
457
+ // plugin
458
+ Vue.use(BentoVue, { theme: BentoTheme.BENTO_LIGHT });
459
+ ```
460
+
461
+ The Bento plugin defaults to `BentoTheme.BENTO_LIGHT` if unset.
462
+
436
463
  ### ADL theme
437
464
 
438
465
  #### Set **legacy ADL** theme as default
@@ -41,6 +41,8 @@ declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
41
41
 
42
42
  declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
43
43
 
44
+ declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
45
+
44
46
  declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
45
47
 
46
48
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
@@ -134,6 +136,17 @@ declare type __VLS_TypePropsToRuntimeProps_15<T> = {
134
136
  };
135
137
  };
136
138
 
139
+ declare type __VLS_TypePropsToRuntimeProps_16<T> = {
140
+ [K in keyof T]-?: {} extends Pick<T, K>
141
+ ? {
142
+ type: PropType<__VLS_NonUndefinedable_16<T[K]>>;
143
+ }
144
+ : {
145
+ type: PropType<T[K]>;
146
+ required: true;
147
+ };
148
+ };
149
+
137
150
  declare type __VLS_TypePropsToRuntimeProps_2<T> = {
138
151
  [K in keyof T]-?: {} extends Pick<T, K>
139
152
  ? {
@@ -254,6 +267,14 @@ declare type __VLS_WithDefaults_12<P, D> = {
254
267
  : P[K];
255
268
  };
256
269
 
270
+ declare type __VLS_WithDefaults_13<P, D> = {
271
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
272
+ ? P[K] & {
273
+ default: D[K];
274
+ }
275
+ : P[K];
276
+ };
277
+
257
278
  declare type __VLS_WithDefaults_2<P, D> = {
258
279
  [K in keyof Pick<P, keyof P>]: K extends keyof D
259
280
  ? P[K] & {
@@ -1943,8 +1964,8 @@ export declare const BentoCheckbox: DefineComponent<
1943
1964
  tag: any;
1944
1965
  optional: boolean;
1945
1966
  errorMessage: string;
1946
- ariaLabel: string;
1947
1967
  readonly: boolean;
1968
+ ariaLabel: string;
1948
1969
  hasError: boolean;
1949
1970
  indeterminate: boolean;
1950
1971
  modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
@@ -2295,7 +2316,7 @@ export declare enum BentoCheckboxState {
2295
2316
  READONLY = 'readonly',
2296
2317
  }
2297
2318
 
2298
- export declare type BentoCheckboxTag = InstanceType<typeof BentoTag>['$props'];
2319
+ export declare type BentoCheckboxTag = BentoTagProps;
2299
2320
 
2300
2321
  export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
2301
2322
 
@@ -3687,8 +3708,8 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
3687
3708
  */
3688
3709
  export declare const BentoDashboardSection: __VLS_WithTemplateSlots_37<
3689
3710
  DefineComponent<
3690
- __VLS_WithDefaults_12<
3691
- __VLS_TypePropsToRuntimeProps_15<{
3711
+ __VLS_WithDefaults_13<
3712
+ __VLS_TypePropsToRuntimeProps_16<{
3692
3713
  /**
3693
3714
  * The header of the section
3694
3715
  */
@@ -3712,8 +3733,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_37<
3712
3733
  string,
3713
3734
  Readonly<
3714
3735
  ExtractPropTypes<
3715
- __VLS_WithDefaults_12<
3716
- __VLS_TypePropsToRuntimeProps_15<{
3736
+ __VLS_WithDefaults_13<
3737
+ __VLS_TypePropsToRuntimeProps_16<{
3717
3738
  /**
3718
3739
  * The header of the section
3719
3740
  */
@@ -3771,8 +3792,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_37<
3771
3792
  */
3772
3793
  export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_36<
3773
3794
  DefineComponent<
3774
- __VLS_WithDefaults_11<
3775
- __VLS_TypePropsToRuntimeProps_14<{
3795
+ __VLS_WithDefaults_12<
3796
+ __VLS_TypePropsToRuntimeProps_15<{
3776
3797
  /**
3777
3798
  * The header that goes to the top of the template
3778
3799
  */
@@ -3808,8 +3829,8 @@ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_36<
3808
3829
  string,
3809
3830
  Readonly<
3810
3831
  ExtractPropTypes<
3811
- __VLS_WithDefaults_11<
3812
- __VLS_TypePropsToRuntimeProps_14<{
3832
+ __VLS_WithDefaults_12<
3833
+ __VLS_TypePropsToRuntimeProps_15<{
3813
3834
  /**
3814
3835
  * The header that goes to the top of the template
3815
3836
  */
@@ -6049,8 +6070,8 @@ export declare const BentoDropdown: __VLS_WithTemplateSlots_10<
6049
6070
  items: BentoListboxOptions;
6050
6071
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
6051
6072
  staticCategories: boolean;
6052
- ariaLabel: string;
6053
6073
  readonly: boolean;
6074
+ ariaLabel: string;
6054
6075
  hasMoreItems: boolean;
6055
6076
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
6056
6077
  emptyState: BentoListboxEmptyStateProps;
@@ -6355,8 +6376,8 @@ export declare const BentoDropdownAvatar: DefineComponent<
6355
6376
  items: BentoAvatarListboxOptions;
6356
6377
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
6357
6378
  staticCategories: boolean;
6358
- ariaLabel: string;
6359
6379
  readonly: boolean;
6380
+ ariaLabel: string;
6360
6381
  hasMoreItems: boolean;
6361
6382
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
6362
6383
  emptyState: BentoListboxEmptyStateProps;
@@ -6673,8 +6694,8 @@ export declare const BentoDropdownCountry: DefineComponent<
6673
6694
  items: BentoCountryListboxOptions;
6674
6695
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
6675
6696
  staticCategories: boolean;
6676
- ariaLabel: string;
6677
6697
  readonly: boolean;
6698
+ ariaLabel: string;
6678
6699
  hasMoreItems: boolean;
6679
6700
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
6680
6701
  emptyState: BentoListboxEmptyStateProps;
@@ -6972,8 +6993,8 @@ export declare const BentoDropdownCurrency: DefineComponent<
6972
6993
  items: BentoCurrencyListboxOptions;
6973
6994
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
6974
6995
  staticCategories: boolean;
6975
- ariaLabel: string;
6976
6996
  readonly: boolean;
6997
+ ariaLabel: string;
6977
6998
  hasMoreItems: boolean;
6978
6999
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
6979
7000
  emptyState: BentoListboxEmptyStateProps;
@@ -7271,8 +7292,8 @@ export declare const BentoDropdownPaymentMethod: DefineComponent<
7271
7292
  items: BentoPaymentMethodListboxOptions;
7272
7293
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7273
7294
  staticCategories: boolean;
7274
- ariaLabel: string;
7275
7295
  readonly: boolean;
7296
+ ariaLabel: string;
7276
7297
  hasMoreItems: boolean;
7277
7298
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7278
7299
  emptyState: BentoListboxEmptyStateProps;
@@ -7578,8 +7599,8 @@ export declare const BentoDropdownTag: DefineComponent<
7578
7599
  items: BentoTagListboxOptions;
7579
7600
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7580
7601
  staticCategories: boolean;
7581
- ariaLabel: string;
7582
7602
  readonly: boolean;
7603
+ ariaLabel: string;
7583
7604
  hasMoreItems: boolean;
7584
7605
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7585
7606
  emptyState: BentoListboxEmptyStateProps;
@@ -9183,8 +9204,8 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_16<
9183
9204
  tooltipText: string;
9184
9205
  optional: boolean;
9185
9206
  errorMessage: string;
9186
- ariaLabel: string;
9187
9207
  readonly: boolean;
9208
+ ariaLabel: string;
9188
9209
  placeholder: string;
9189
9210
  dropdown: BentoInputDropdownProps;
9190
9211
  ariaHidden: boolean;
@@ -13363,7 +13384,7 @@ export declare interface BentoSearchBarItem {
13363
13384
  * }
13364
13385
  */
13365
13386
  export declare const BentoSecondaryNav: DefineComponent<
13366
- __VLS_TypePropsToRuntimeProps_8<{
13387
+ __VLS_TypePropsToRuntimeProps_9<{
13367
13388
  /**
13368
13389
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
13369
13390
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -13387,7 +13408,7 @@ export declare const BentoSecondaryNav: DefineComponent<
13387
13408
  string,
13388
13409
  Readonly<
13389
13410
  ExtractPropTypes<
13390
- __VLS_TypePropsToRuntimeProps_8<{
13411
+ __VLS_TypePropsToRuntimeProps_9<{
13391
13412
  /**
13392
13413
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
13393
13414
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -13437,8 +13458,8 @@ export declare interface BentoSecondaryNavState {
13437
13458
  * }
13438
13459
  */
13439
13460
  export declare const BentoSegmentedControl: DefineComponent<
13440
- __VLS_WithDefaults_8<
13441
- __VLS_TypePropsToRuntimeProps_9<{
13461
+ __VLS_WithDefaults_9<
13462
+ __VLS_TypePropsToRuntimeProps_10<{
13442
13463
  /**
13443
13464
  * Accessible name describing the segmented control.
13444
13465
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -13479,8 +13500,8 @@ export declare const BentoSegmentedControl: DefineComponent<
13479
13500
  string,
13480
13501
  Readonly<
13481
13502
  ExtractPropTypes<
13482
- __VLS_WithDefaults_8<
13483
- __VLS_TypePropsToRuntimeProps_9<{
13503
+ __VLS_WithDefaults_9<
13504
+ __VLS_TypePropsToRuntimeProps_10<{
13484
13505
  /**
13485
13506
  * Accessible name describing the segmented control.
13486
13507
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -14470,7 +14491,7 @@ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_28<
14470
14491
  */
14471
14492
  export declare const BentoStatus: __VLS_WithTemplateSlots_30<
14472
14493
  DefineComponent<
14473
- __VLS_TypePropsToRuntimeProps_10<{
14494
+ __VLS_TypePropsToRuntimeProps_11<{
14474
14495
  variant: BentoStatusVariant | `${BentoStatusVariant}`;
14475
14496
  }>,
14476
14497
  {},
@@ -14483,7 +14504,7 @@ export declare const BentoStatus: __VLS_WithTemplateSlots_30<
14483
14504
  string,
14484
14505
  Readonly<
14485
14506
  ExtractPropTypes<
14486
- __VLS_TypePropsToRuntimeProps_10<{
14507
+ __VLS_TypePropsToRuntimeProps_11<{
14487
14508
  variant: BentoStatusVariant | `${BentoStatusVariant}`;
14488
14509
  }>
14489
14510
  >
@@ -14731,8 +14752,8 @@ export declare enum BentoStepperVariantOption {
14731
14752
  */
14732
14753
  export declare const BentoStructuredList: __VLS_WithTemplateSlots_33<
14733
14754
  DefineComponent<
14734
- __VLS_WithDefaults_9<
14735
- __VLS_TypePropsToRuntimeProps_11<{
14755
+ __VLS_WithDefaults_10<
14756
+ __VLS_TypePropsToRuntimeProps_12<{
14736
14757
  /**
14737
14758
  * Width of the labels container, in pixels. Overrides layout prop.
14738
14759
  */
@@ -14766,8 +14787,8 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_33<
14766
14787
  string,
14767
14788
  Readonly<
14768
14789
  ExtractPropTypes<
14769
- __VLS_WithDefaults_9<
14770
- __VLS_TypePropsToRuntimeProps_11<{
14790
+ __VLS_WithDefaults_10<
14791
+ __VLS_TypePropsToRuntimeProps_12<{
14771
14792
  /**
14772
14793
  * Width of the labels container, in pixels. Overrides layout prop.
14773
14794
  */
@@ -14830,7 +14851,7 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_33<
14830
14851
  */
14831
14852
  export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_34<
14832
14853
  DefineComponent<
14833
- __VLS_TypePropsToRuntimeProps_12<{
14854
+ __VLS_TypePropsToRuntimeProps_13<{
14834
14855
  /**
14835
14856
  * Label to display for the value
14836
14857
  */
@@ -14866,7 +14887,7 @@ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_34<
14866
14887
  string,
14867
14888
  Readonly<
14868
14889
  ExtractPropTypes<
14869
- __VLS_TypePropsToRuntimeProps_12<{
14890
+ __VLS_TypePropsToRuntimeProps_13<{
14870
14891
  /**
14871
14892
  * Label to display for the value
14872
14893
  */
@@ -15836,6 +15857,13 @@ export declare type BentoSummaryGridLayout = () => {
15836
15857
 
15837
15858
  export declare const BentoTab: DefineComponent<
15838
15859
  {
15860
+ /**
15861
+ * Displays a counter next to the tab title
15862
+ */
15863
+ counter: {
15864
+ type: NumberConstructor;
15865
+ default: any;
15866
+ };
15839
15867
  /**
15840
15868
  * Title of the tab
15841
15869
  */
@@ -15872,6 +15900,13 @@ export declare const BentoTab: DefineComponent<
15872
15900
  string,
15873
15901
  Readonly<
15874
15902
  ExtractPropTypes<{
15903
+ /**
15904
+ * Displays a counter next to the tab title
15905
+ */
15906
+ counter: {
15907
+ type: NumberConstructor;
15908
+ default: any;
15909
+ };
15875
15910
  /**
15876
15911
  * Title of the tab
15877
15912
  */
@@ -15897,6 +15932,7 @@ export declare const BentoTab: DefineComponent<
15897
15932
  >,
15898
15933
  {
15899
15934
  disabled: boolean;
15935
+ counter: number;
15900
15936
  withNotificationIndicator: boolean;
15901
15937
  }
15902
15938
  >;
@@ -15906,6 +15942,7 @@ declare interface BentoTab_2 {
15906
15942
  id: string;
15907
15943
  title: MaybeRef<string>;
15908
15944
  withNotificationIndicator: Ref<boolean>;
15945
+ counter: Ref<number>;
15909
15946
  }
15910
15947
 
15911
15948
  /**
@@ -16050,39 +16087,15 @@ declare enum BentoTabsEvent {
16050
16087
  }
16051
16088
 
16052
16089
  export declare const BentoTag: DefineComponent<
16053
- {
16054
- /**
16055
- * The label text content of the Tag.
16056
- */
16057
- label: {
16058
- type: StringConstructor;
16059
- default: any;
16060
- };
16061
- /**
16062
- * The variant variant of tag
16063
- */
16064
- variant: {
16065
- type: PropType<BentoTagVariant | `${BentoTagVariant}`>;
16066
- default: BentoTagVariant;
16067
- validator: (value: BentoTagVariant) => boolean;
16068
- };
16069
- /**
16070
- * The number of characters to limit the number of displayed characters for the tag text, truncating it with an ellipsis of three dots "...".
16071
- */
16072
- truncate: {
16073
- type: NumberConstructor;
16074
- default: any;
16075
- };
16076
- },
16077
- {
16078
- computedAriaLabel: ComputedRef<string>;
16079
- textFromSlot: ComputedRef<string>;
16080
- formattedText: ComputedRef<string>;
16081
- tagConditionalClasses: ComputedRef<{
16082
- [x: string]: 'blue' | 'green' | 'grey' | 'orange' | 'red' | 'white' | BentoTagVariant;
16083
- }>;
16084
- shouldShowTooltip: ComputedRef<boolean>;
16085
- },
16090
+ __VLS_WithDefaults_8<
16091
+ __VLS_TypePropsToRuntimeProps_8<BentoTagProps>,
16092
+ {
16093
+ label: any;
16094
+ truncate: any;
16095
+ variant: BentoTagVariant;
16096
+ }
16097
+ >,
16098
+ {},
16086
16099
  {},
16087
16100
  {},
16088
16101
  {},
@@ -16091,34 +16104,20 @@ export declare const BentoTag: DefineComponent<
16091
16104
  {},
16092
16105
  string,
16093
16106
  Readonly<
16094
- ExtractPropTypes<{
16095
- /**
16096
- * The label text content of the Tag.
16097
- */
16098
- label: {
16099
- type: StringConstructor;
16100
- default: any;
16101
- };
16102
- /**
16103
- * The variant variant of tag
16104
- */
16105
- variant: {
16106
- type: PropType<BentoTagVariant | `${BentoTagVariant}`>;
16107
- default: BentoTagVariant;
16108
- validator: (value: BentoTagVariant) => boolean;
16109
- };
16110
- /**
16111
- * The number of characters to limit the number of displayed characters for the tag text, truncating it with an ellipsis of three dots "...".
16112
- */
16113
- truncate: {
16114
- type: NumberConstructor;
16115
- default: any;
16116
- };
16117
- }>
16107
+ ExtractPropTypes<
16108
+ __VLS_WithDefaults_8<
16109
+ __VLS_TypePropsToRuntimeProps_8<BentoTagProps>,
16110
+ {
16111
+ label: any;
16112
+ truncate: any;
16113
+ variant: BentoTagVariant;
16114
+ }
16115
+ >
16116
+ >
16118
16117
  >,
16119
16118
  {
16120
16119
  label: string;
16121
- variant: 'blue' | 'green' | 'grey' | 'orange' | 'red' | 'white' | BentoTagVariant;
16120
+ variant: BentoTagVariant | `${BentoTagVariant}`;
16122
16121
  truncate: number;
16123
16122
  }
16124
16123
  >;
@@ -16129,6 +16128,21 @@ export declare type BentoTagListboxOptionItem = OmitStrict<BentoListboxOptionIte
16129
16128
 
16130
16129
  export declare type BentoTagListboxOptions = BentoTagListboxOptionItem[];
16131
16130
 
16131
+ export declare interface BentoTagProps {
16132
+ /**
16133
+ * The label text content of the Tag.
16134
+ */
16135
+ label?: string;
16136
+ /**
16137
+ * The number of characters to limit the number of displayed characters for the tag text, truncating it with an ellipsis of three dots "...".
16138
+ */
16139
+ truncate?: number;
16140
+ /**
16141
+ * The variant variant of tag
16142
+ */
16143
+ variant?: BentoTagVariant | `${BentoTagVariant}`;
16144
+ }
16145
+
16132
16146
  /**
16133
16147
  * @deprecated for usage with properties since version 2.0. Use the string literal instead.
16134
16148
  */
@@ -16390,8 +16404,8 @@ export declare const BentoTextarea: DefineComponent<
16390
16404
  tooltipText: string;
16391
16405
  optional: boolean;
16392
16406
  errorMessage: string;
16393
- ariaLabel: string;
16394
16407
  readonly: boolean;
16408
+ ariaLabel: string;
16395
16409
  placeholder: string;
16396
16410
  clearable: boolean;
16397
16411
  characterLimit: number;
@@ -16412,7 +16426,13 @@ declare enum BentoTextareaResizeOption {
16412
16426
  export declare enum BentoTheme {
16413
16427
  LEGACY = 'b-legacy-theme',
16414
16428
  STYLEGUIDE = 'b-styleguide-theme',
16429
+ /**
16430
+ * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.
16431
+ */
16415
16432
  BENTO = '',
16433
+ BENTO_LIGHT = 'b-light-theme',
16434
+ BENTO_DARK = 'b-dark-theme',
16435
+ BENTO_SYSTEM = 'b-system',
16416
16436
  }
16417
16437
 
16418
16438
  /**
@@ -16998,8 +17018,8 @@ export declare const BentoToggle: DefineComponent<
16998
17018
  {
16999
17019
  value: boolean;
17000
17020
  disabled: boolean;
17001
- ariaLabel: string;
17002
17021
  readonly: boolean;
17022
+ ariaLabel: string;
17003
17023
  labelPosition: 'after' | 'before' | BentoToggleLabelPosition;
17004
17024
  }
17005
17025
  >;
@@ -17337,8 +17357,8 @@ export declare interface BentoTutorialStep {
17337
17357
  */
17338
17358
  export declare const BentoTypography: __VLS_WithTemplateSlots_35<
17339
17359
  DefineComponent<
17340
- __VLS_WithDefaults_10<
17341
- __VLS_TypePropsToRuntimeProps_13<{
17360
+ __VLS_WithDefaults_11<
17361
+ __VLS_TypePropsToRuntimeProps_14<{
17342
17362
  /**
17343
17363
  * Sets the HTML DOM element.
17344
17364
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -17354,6 +17374,10 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_35<
17354
17374
  * Applicable to the Title variant.
17355
17375
  */
17356
17376
  medium?: boolean;
17377
+ /**
17378
+ * Adds the rich-text modifier, which allows for the use of HTML tags inside typography.
17379
+ */
17380
+ richText?: boolean;
17357
17381
  /**
17358
17382
  * Adds the stronger class modifier.
17359
17383
  * Applicable to Caption, Body and Subtitle variants.
@@ -17395,8 +17419,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_35<
17395
17419
  string,
17396
17420
  Readonly<
17397
17421
  ExtractPropTypes<
17398
- __VLS_WithDefaults_10<
17399
- __VLS_TypePropsToRuntimeProps_13<{
17422
+ __VLS_WithDefaults_11<
17423
+ __VLS_TypePropsToRuntimeProps_14<{
17400
17424
  /**
17401
17425
  * Sets the HTML DOM element.
17402
17426
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -17412,6 +17436,10 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_35<
17412
17436
  * Applicable to the Title variant.
17413
17437
  */
17414
17438
  medium?: boolean;
17439
+ /**
17440
+ * Adds the rich-text modifier, which allows for the use of HTML tags inside typography.
17441
+ */
17442
+ richText?: boolean;
17415
17443
  /**
17416
17444
  * Adds the stronger class modifier.
17417
17445
  * Applicable to Caption, Body and Subtitle variants.
@@ -17853,6 +17881,15 @@ export declare interface ToastStack {
17853
17881
  */
17854
17882
  export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
17855
17883
 
17884
+ export declare interface UseBentoTheme {
17885
+ getTheme: () => string;
17886
+ setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
17887
+ }
17888
+
17889
+ export declare function useBentoTheme(): UseBentoTheme;
17890
+
17891
+ export declare const useBentoThemeKey: unique symbol;
17892
+
17856
17893
  export declare type UseBentoToastController = ToastStack;
17857
17894
 
17858
17895
  export declare function useBentoToastController(): UseBentoToastController;
package/dist/accordion.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, b as n } from "./chunks/accordion-item.BDNSykyK.js";
1
+ import { a as e, b as n } from "./chunks/accordion-item.BjXzREaK.js";
2
2
  export {
3
3
  e as BentoAccordion,
4
4
  n as BentoAccordionItem
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/action-bar.CCVKS1xo.js";
1
+ import { B as t } from "./chunks/action-bar.CjdRoIjd.js";
2
2
  export {
3
3
  t as BentoActionBar
4
4
  };
package/dist/alert.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as a, c as n, b as o, a as r } from "./chunks/alert.CVsckdGC.js";
1
+ import { B as a, c as n, b as o, a as r } from "./chunks/alert.DHu9891u.js";
2
2
  export {
3
3
  a as BentoAlert,
4
4
  n as BentoAlertEvent,
@@ -1 +1 @@
1
- .b-accordion[data-v-fb182a1c]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-accordion[data-v-fb182a1c],.b-accordion[data-v-fb182a1c]:before,.b-accordion[data-v-fb182a1c]:after{box-sizing:border-box}.b-accordion *[data-v-fb182a1c],.b-accordion *[data-v-fb182a1c]:before,.b-accordion *[data-v-fb182a1c]:after{box-sizing:border-box}.b-accordion[data-v-fb182a1c] ::-webkit-scrollbar{height:14px;width:14px}.b-accordion[data-v-fb182a1c] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-accordion-item[data-v-5ae9b692]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-accordion-item-background-color);border-bottom:var(--b-accordion-item-border)}.b-accordion-item[data-v-5ae9b692],.b-accordion-item[data-v-5ae9b692]:before,.b-accordion-item[data-v-5ae9b692]:after{box-sizing:border-box}.b-accordion-item *[data-v-5ae9b692],.b-accordion-item *[data-v-5ae9b692]:before,.b-accordion-item *[data-v-5ae9b692]:after{box-sizing:border-box}.b-accordion-item[data-v-5ae9b692] ::-webkit-scrollbar{height:14px;width:14px}.b-accordion-item[data-v-5ae9b692] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-accordion-item button[data-v-5ae9b692]{background-color:transparent;border:0;font:inherit;text-align:inherit}.b-accordion-item button[data-v-5ae9b692]:focus-visible{outline:none}.b-legacy-theme .b-accordion-item__heading[data-v-5ae9b692]{font-size:15px;line-height:1.4}.b-accordion-item[data-v-5ae9b692]:first-of-type{border-top:var(--b-accordion-item-border)}.b-accordion-item__button[data-v-5ae9b692]{align-items:center;color:var(--b-accordion-item-button-color);cursor:pointer;display:flex;gap:var(--b-accordion-item-button-gap);padding:var(--b-accordion-item-button-padding);position:relative;width:100%;z-index:0}.b-accordion-item__button[data-v-5ae9b692]:hover{background-color:var(--b-accordion-item-button-hover-background-color)}.b-accordion-item__button[data-v-5ae9b692]:active{background-color:var(--b-accordion-item-button-active-background-color)}.b-accordion-item__button[data-v-5ae9b692]:focus-visible{animation:outer-ring-default-5ae9b692 var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color);outline:none}@keyframes outer-ring-default-5ae9b692{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-accordion-item__content[data-v-5ae9b692]{color:var(--b-accordion-item-content-color);padding:var(--b-accordion-item-content-padding)}.b-accordion-item__animation--content-enter-active[data-v-5ae9b692]{animation:fade-in-u3moigq-5ae9b692 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear),enter-u3moigq-5ae9b692 var(--b-accordion-item-animation-duration) var(--b-animation-easing-enter),scale-up-u3moigq-5ae9b692 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear);overflow:hidden;transition:max-height var(--b-accordion-item-animation-duration) var(--b-accordion-item-animation-easing)}@keyframes fade-in-u3moigq-5ae9b692{0%{opacity:0}to{opacity:1}}@keyframes scale-up-u3moigq-5ae9b692{0%{scale:1}to{scale:1}}@keyframes enter-u3moigq-5ae9b692{0%{translate:0 -8px}to{translate:0 0}}.b-accordion-item__animation--content-leave-active[data-v-5ae9b692]{animation:fade-out-u3moih4-5ae9b692 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear),exit-u3moih4-5ae9b692 var(--b-accordion-item-animation-duration) var(--b-animation-easing-exit),scale-down-u3moih4-5ae9b692 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear);max-height:0!important;overflow:hidden;transition:max-height var(--b-accordion-item-animation-duration) var(--b-accordion-item-animation-easing)}@keyframes fade-out-u3moih4-5ae9b692{0%{opacity:1}to{opacity:0}}@keyframes scale-down-u3moih4-5ae9b692{0%{scale:1}to{scale:1}}@keyframes exit-u3moih4-5ae9b692{0%{translate:0 0}to{translate:0 -8px}}
1
+ .b-accordion[data-v-fb182a1c]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-accordion[data-v-fb182a1c],.b-accordion[data-v-fb182a1c]:before,.b-accordion[data-v-fb182a1c]:after{box-sizing:border-box}.b-accordion *[data-v-fb182a1c],.b-accordion *[data-v-fb182a1c]:before,.b-accordion *[data-v-fb182a1c]:after{box-sizing:border-box}.b-accordion[data-v-fb182a1c] ::-webkit-scrollbar{height:14px;width:14px}.b-accordion[data-v-fb182a1c] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-accordion-item[data-v-66c09812]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-accordion-item-background-color);border-bottom:var(--b-accordion-item-border)}.b-accordion-item[data-v-66c09812],.b-accordion-item[data-v-66c09812]:before,.b-accordion-item[data-v-66c09812]:after{box-sizing:border-box}.b-accordion-item *[data-v-66c09812],.b-accordion-item *[data-v-66c09812]:before,.b-accordion-item *[data-v-66c09812]:after{box-sizing:border-box}.b-accordion-item[data-v-66c09812] ::-webkit-scrollbar{height:14px;width:14px}.b-accordion-item[data-v-66c09812] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-accordion-item button[data-v-66c09812]{background-color:transparent;border:0;font:inherit;text-align:inherit}.b-accordion-item button[data-v-66c09812]:focus-visible{outline:none}.b-legacy-theme .b-accordion-item__heading[data-v-66c09812]{font-size:15px;line-height:1.4}.b-accordion-item[data-v-66c09812]:first-of-type{border-top:var(--b-accordion-item-border)}.b-accordion-item__button[data-v-66c09812]{align-items:center;color:var(--b-accordion-item-button-color);cursor:pointer;display:flex;gap:var(--b-accordion-item-button-gap);padding:var(--b-accordion-item-button-padding);position:relative;width:100%;z-index:0}.b-accordion-item__button[data-v-66c09812]:hover{background-color:var(--b-accordion-item-button-hover-background-color)}.b-accordion-item__button[data-v-66c09812]:active{background-color:var(--b-accordion-item-button-active-background-color)}.b-accordion-item__button[data-v-66c09812]:focus-visible{animation:outer-ring-default-66c09812 var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color);outline:none}@keyframes outer-ring-default-66c09812{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-accordion-item__content[data-v-66c09812]{color:var(--b-accordion-item-content-color);padding:var(--b-accordion-item-content-padding)}.b-accordion-item__animation--content-enter-active[data-v-66c09812]{animation:fade-in-uiiogrs-66c09812 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear),enter-uiiogrs-66c09812 var(--b-accordion-item-animation-duration) var(--b-animation-easing-enter),scale-up-uiiogrs-66c09812 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear);overflow:hidden;transition:max-height var(--b-accordion-item-animation-duration) var(--b-accordion-item-animation-easing)}@keyframes fade-in-uiiogrs-66c09812{0%{opacity:0}to{opacity:1}}@keyframes scale-up-uiiogrs-66c09812{0%{scale:1}to{scale:1}}@keyframes enter-uiiogrs-66c09812{0%{translate:0 -8px}to{translate:0 0}}.b-accordion-item__animation--content-leave-active[data-v-66c09812]{animation:fade-out-uiiogs1-66c09812 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear),exit-uiiogs1-66c09812 var(--b-accordion-item-animation-duration) var(--b-animation-easing-exit),scale-down-uiiogs1-66c09812 var(--b-accordion-item-animation-duration) var(--b-animation-easing-linear);max-height:0!important;overflow:hidden;transition:max-height var(--b-accordion-item-animation-duration) var(--b-accordion-item-animation-easing)}@keyframes fade-out-uiiogs1-66c09812{0%{opacity:1}to{opacity:0}}@keyframes scale-down-uiiogs1-66c09812{0%{scale:1}to{scale:1}}@keyframes exit-uiiogs1-66c09812{0%{translate:0 0}to{translate:0 -8px}}
@@ -1 +1 @@
1
- .b-action-bar[data-v-be92816e]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;bottom:var(--b-action-bar-bottom);display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;width:100%;z-index:var(--b-action-bar-z-index)}.b-action-bar[data-v-be92816e],.b-action-bar[data-v-be92816e]:before,.b-action-bar[data-v-be92816e]:after{box-sizing:border-box}.b-action-bar *[data-v-be92816e],.b-action-bar *[data-v-be92816e]:before,.b-action-bar *[data-v-be92816e]:after{box-sizing:border-box}.b-action-bar[data-v-be92816e] ::-webkit-scrollbar{height:14px;width:14px}.b-action-bar[data-v-be92816e] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-action-bar__container[data-v-be92816e]{align-items:center;background-color:var(--b-action-bar-container-background-color);border-radius:var(--b-action-bar-container-border-radius);color:var(--b-action-bar-container-color);display:flex;padding:var(--b-action-bar-container-padding);pointer-events:all;width:var(--b-action-bar-container-width)}@media (min-width: 500px){.b-action-bar__container[data-v-be92816e]{width:auto}}.b-action-bar__close-button[data-v-be92816e]{align-items:center;display:flex;margin-right:var(--b-action-bar-close-button-margin-right-mobile)}@media (min-width: 500px){.b-action-bar__close-button[data-v-be92816e]{margin-right:var(--b-action-bar-close-button-margin-right)}}.b-action-bar__selection[data-v-be92816e]{margin-right:var(--b-action-bar-selection-margin-right-mobile);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-legacy-theme .b-action-bar__selection[data-v-be92816e]{font-weight:600}@media (min-width: 500px){.b-action-bar__selection[data-v-be92816e]{margin-right:var(--b-action-bar-selection-margin-right);width:120px}}@media (min-width: 500px){.b-action-bar--confirmation .b-action-bar__selection[data-v-be92816e]{width:160px}}.b-action-bar__actions[data-v-be92816e]{container-type:normal}.b-action-bar__actions[data-v-be92816e] .b-button-actions__container-wrapper{flex-direction:row}.b-action-bar--extra-spacing[data-v-be92816e]{bottom:var(--b-action-bar-bottom-extra-spacing)}.b-action-bar__animation-enter-active[data-v-be92816e]{animation:fade-in-u3moicl-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear),enter-u3moicl-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-enter),scale-up-u3moicl-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear)}@keyframes fade-in-u3moicl-be92816e{0%{opacity:0}to{opacity:1}}@keyframes scale-up-u3moicl-be92816e{0%{scale:.9}to{scale:1}}@keyframes enter-u3moicl-be92816e{0%{translate:0 8px}to{translate:0 0}}.b-action-bar__animation-leave-active[data-v-be92816e]{animation:fade-out-u3moidj-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear),exit-u3moidj-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-exit),scale-down-u3moidj-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear)}@keyframes fade-out-u3moidj-be92816e{0%{opacity:1}to{opacity:0}}@keyframes scale-down-u3moidj-be92816e{0%{scale:1}to{scale:.9}}@keyframes exit-u3moidj-be92816e{0%{translate:0 0}to{translate:0 8px}}
1
+ .b-action-bar[data-v-be92816e]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;bottom:var(--b-action-bar-bottom);display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;width:100%;z-index:var(--b-action-bar-z-index)}.b-action-bar[data-v-be92816e],.b-action-bar[data-v-be92816e]:before,.b-action-bar[data-v-be92816e]:after{box-sizing:border-box}.b-action-bar *[data-v-be92816e],.b-action-bar *[data-v-be92816e]:before,.b-action-bar *[data-v-be92816e]:after{box-sizing:border-box}.b-action-bar[data-v-be92816e] ::-webkit-scrollbar{height:14px;width:14px}.b-action-bar[data-v-be92816e] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-action-bar__container[data-v-be92816e]{align-items:center;background-color:var(--b-action-bar-container-background-color);border-radius:var(--b-action-bar-container-border-radius);color:var(--b-action-bar-container-color);display:flex;padding:var(--b-action-bar-container-padding);pointer-events:all;width:var(--b-action-bar-container-width)}@media (min-width: 500px){.b-action-bar__container[data-v-be92816e]{width:auto}}.b-action-bar__close-button[data-v-be92816e]{align-items:center;display:flex;margin-right:var(--b-action-bar-close-button-margin-right-mobile)}@media (min-width: 500px){.b-action-bar__close-button[data-v-be92816e]{margin-right:var(--b-action-bar-close-button-margin-right)}}.b-action-bar__selection[data-v-be92816e]{margin-right:var(--b-action-bar-selection-margin-right-mobile);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-legacy-theme .b-action-bar__selection[data-v-be92816e]{font-weight:600}@media (min-width: 500px){.b-action-bar__selection[data-v-be92816e]{margin-right:var(--b-action-bar-selection-margin-right);width:120px}}@media (min-width: 500px){.b-action-bar--confirmation .b-action-bar__selection[data-v-be92816e]{width:160px}}.b-action-bar__actions[data-v-be92816e]{container-type:normal}.b-action-bar__actions[data-v-be92816e] .b-button-actions__container-wrapper{flex-direction:row}.b-action-bar--extra-spacing[data-v-be92816e]{bottom:var(--b-action-bar-bottom-extra-spacing)}.b-action-bar__animation-enter-active[data-v-be92816e]{animation:fade-in-uiiogmo-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear),enter-uiiogmo-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-enter),scale-up-uiiogmo-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear)}@keyframes fade-in-uiiogmo-be92816e{0%{opacity:0}to{opacity:1}}@keyframes scale-up-uiiogmo-be92816e{0%{scale:.9}to{scale:1}}@keyframes enter-uiiogmo-be92816e{0%{translate:0 8px}to{translate:0 0}}.b-action-bar__animation-leave-active[data-v-be92816e]{animation:fade-out-uiiognw-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear),exit-uiiognw-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-exit),scale-down-uiiognw-be92816e var(--b-action-bar-animation-duration) var(--b-animation-easing-linear)}@keyframes fade-out-uiiognw-be92816e{0%{opacity:1}to{opacity:0}}@keyframes scale-down-uiiognw-be92816e{0%{scale:1}to{scale:.9}}@keyframes exit-uiiognw-be92816e{0%{translate:0 0}to{translate:0 8px}}