@adyen/bento-vue2 1.68.2 → 1.70.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 (451) hide show
  1. package/README.md +43 -97
  2. package/dist/@types/components.d.ts +1 -0
  3. package/dist/@types/index.d.ts +829 -2056
  4. package/dist/accordion.js +1 -1
  5. package/dist/action-bar.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/alert.css +1 -1
  10. package/dist/assets/base-button.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions-with-menu.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox-input.css +1 -1
  18. package/dist/assets/checkbox.css +1 -1
  19. package/dist/assets/chip.css +1 -1
  20. package/dist/assets/code-snippet.css +1 -1
  21. package/dist/assets/controls-group.css +1 -1
  22. package/dist/assets/copy.css +1 -1
  23. package/dist/assets/country.css +1 -1
  24. package/dist/assets/currency.css +1 -1
  25. package/dist/assets/dashed-underline.css +1 -1
  26. package/dist/assets/data-grid-template.css +1 -1
  27. package/dist/assets/data-grid.css +1 -1
  28. package/dist/assets/date-picker.css +1 -1
  29. package/dist/assets/date-range-picker.css +1 -1
  30. package/dist/assets/dialog-page.css +1 -1
  31. package/dist/assets/divider.css +1 -1
  32. package/dist/assets/dropdown-default-textbox.css +1 -1
  33. package/dist/assets/dropdown-tag.css +1 -1
  34. package/dist/assets/dropdown.css +1 -1
  35. package/dist/assets/empty-state.css +1 -1
  36. package/dist/assets/error-message.css +1 -1
  37. package/dist/assets/file-uploader.css +1 -1
  38. package/dist/assets/filter-bar.css +1 -1
  39. package/dist/assets/focus-trap.css +1 -1
  40. package/dist/assets/footer-actions.css +1 -1
  41. package/dist/assets/form-layout-title.css +1 -1
  42. package/dist/assets/grid-layout.css +1 -1
  43. package/dist/assets/header-meta.css +1 -1
  44. package/dist/assets/header-with-views.css +1 -1
  45. package/dist/assets/header.css +1 -1
  46. package/dist/assets/info-icon.css +1 -1
  47. package/dist/assets/input-field-password.css +1 -1
  48. package/dist/assets/input-field-phone-number.css +1 -1
  49. package/dist/assets/input-field.css +1 -1
  50. package/dist/assets/inspector.css +1 -1
  51. package/dist/assets/layout-row.css +1 -1
  52. package/dist/assets/link.css +1 -1
  53. package/dist/assets/listbox-option-tag.css +1 -1
  54. package/dist/assets/loading-indicator.css +1 -1
  55. package/dist/assets/modal-fullscreen.css +1 -1
  56. package/dist/assets/pagination.css +1 -1
  57. package/dist/assets/payment-method.css +1 -1
  58. package/dist/assets/popper-container.css +1 -1
  59. package/dist/assets/promo-banner.css +1 -1
  60. package/dist/assets/radio-group.css +1 -1
  61. package/dist/assets/radio-input.css +1 -1
  62. package/dist/assets/rich-text-editor.css +1 -1
  63. package/dist/assets/search-bar.css +1 -1
  64. package/dist/assets/secondary-nav.css +1 -1
  65. package/dist/assets/segmented-control.css +1 -1
  66. package/dist/assets/selection-card-group.css +1 -1
  67. package/dist/assets/sidepanel.css +1 -1
  68. package/dist/assets/status.css +1 -1
  69. package/dist/assets/step.css +1 -1
  70. package/dist/assets/structured-list-item.css +1 -1
  71. package/dist/assets/tab.css +1 -1
  72. package/dist/assets/tag.css +1 -1
  73. package/dist/assets/textarea.css +1 -1
  74. package/dist/assets/timeline-item.css +1 -1
  75. package/dist/assets/toast.css +1 -1
  76. package/dist/assets/toggle-button.css +1 -1
  77. package/dist/assets/toggle.css +1 -1
  78. package/dist/assets/tooltip.css +1 -1
  79. package/dist/assets/tutorial.css +1 -1
  80. package/dist/assets/typography.css +1 -1
  81. package/dist/assets/use-cached-selected-values.css +1 -1
  82. package/dist/avatar.js +1 -1
  83. package/dist/button.js +9 -9
  84. package/dist/card.js +1 -1
  85. package/dist/checkbox.js +2 -2
  86. package/dist/chip.js +1 -1
  87. package/dist/chunks/{accordion-item.BNtdoVto.js → accordion-item.CoqaoVnC.js} +3 -3
  88. package/dist/chunks/accordion-item.CoqaoVnC.js.map +1 -0
  89. package/dist/chunks/{action-bar.DQb7WVVd.js → action-bar.LaW4Tzlo.js} +18 -19
  90. package/dist/chunks/action-bar.LaW4Tzlo.js.map +1 -0
  91. package/dist/chunks/{alert.c1rhDDrU.js → alert.CMyL-zWT.js} +17 -17
  92. package/dist/chunks/alert.CMyL-zWT.js.map +1 -0
  93. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  94. package/dist/chunks/{avatar.BgwjpLQO.js → avatar.KdcsNOsm.js} +2 -2
  95. package/dist/chunks/avatar.KdcsNOsm.js.map +1 -0
  96. package/dist/chunks/{base-button.-gx_u8Bd.js → base-button.BB5tkzjh.js} +6 -6
  97. package/dist/chunks/base-button.BB5tkzjh.js.map +1 -0
  98. package/dist/chunks/{base-modal.CkkfT6r6.js → base-modal.D8Rh5NUz.js} +19 -19
  99. package/dist/chunks/base-modal.D8Rh5NUz.js.map +1 -0
  100. package/dist/chunks/bin.Ddb69cr1.js +24 -0
  101. package/dist/chunks/bin.Ddb69cr1.js.map +1 -0
  102. package/dist/chunks/button-actions-with-menu.BDpWI2Fh.js +85 -0
  103. package/dist/chunks/button-actions-with-menu.BDpWI2Fh.js.map +1 -0
  104. package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
  105. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
  106. package/dist/chunks/{button.hF-nD1Og.js → button.CilT7NmM.js} +4 -4
  107. package/dist/chunks/button.CilT7NmM.js.map +1 -0
  108. package/dist/chunks/{calendar.DvIQEYwN.js → calendar.DYI4omOF.js} +25 -25
  109. package/dist/chunks/calendar.DYI4omOF.js.map +1 -0
  110. package/dist/chunks/{card.CASAAsuJ.js → card.C5Uub0Fb.js} +20 -19
  111. package/dist/chunks/card.C5Uub0Fb.js.map +1 -0
  112. package/dist/chunks/{checkbox-group.QdX-NrSG.js → checkbox-group.CLYgcDZl.js} +6 -6
  113. package/dist/chunks/checkbox-group.CLYgcDZl.js.map +1 -0
  114. package/dist/chunks/{checkbox-input.CNWigbX4.js → checkbox-input.B0NsfSNR.js} +2 -2
  115. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +1 -0
  116. package/dist/chunks/{checkbox.DCD6SSXC.js → checkbox.lwLS8MMI.js} +6 -6
  117. package/dist/chunks/checkbox.lwLS8MMI.js.map +1 -0
  118. package/dist/chunks/{chip.OV0EWIP3.js → chip.Bfi-ff5E.js} +10 -10
  119. package/dist/chunks/chip.Bfi-ff5E.js.map +1 -0
  120. package/dist/chunks/{code-snippet.dIKi0D7d.js → code-snippet.DsHNr3DK.js} +8 -8
  121. package/dist/chunks/code-snippet.DsHNr3DK.js.map +1 -0
  122. package/dist/chunks/{controls-group.CccuLkgP.js → controls-group.az4jCZQF.js} +30 -27
  123. package/dist/chunks/controls-group.az4jCZQF.js.map +1 -0
  124. package/dist/chunks/{copy.CF8Fzu2Y.js → copy.Cb7gQhU4.js} +15 -15
  125. package/dist/chunks/copy.Cb7gQhU4.js.map +1 -0
  126. package/dist/chunks/{country.melpzEsY.js → country.1yIZNjdj.js} +7 -7
  127. package/dist/chunks/country.1yIZNjdj.js.map +1 -0
  128. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
  129. package/dist/chunks/{currency.BM9OXTqe.js → currency.MT3baDtO.js} +3 -3
  130. package/dist/chunks/currency.MT3baDtO.js.map +1 -0
  131. package/dist/chunks/{dashboard-section.BIe6eVHq.js → dashboard-section.C6zV9yL-.js} +4 -4
  132. package/dist/chunks/{dashboard-section.BIe6eVHq.js.map → dashboard-section.C6zV9yL-.js.map} +1 -1
  133. package/dist/chunks/{dashed-underline.BbH6Lnd2.js → dashed-underline.Dry6H2zs.js} +12 -13
  134. package/dist/chunks/dashed-underline.Dry6H2zs.js.map +1 -0
  135. package/dist/chunks/{data-grid-template.Co0Ecr79.js → data-grid-template.Dlevchxd.js} +5 -5
  136. package/dist/chunks/data-grid-template.Dlevchxd.js.map +1 -0
  137. package/dist/chunks/{data-grid.erxjh5TN.js → data-grid.CrvFYgjF.js} +1234 -1182
  138. package/dist/chunks/data-grid.CrvFYgjF.js.map +1 -0
  139. package/dist/chunks/{date-picker.DGIS6Pp-.js → date-picker.DPasFJS2.js} +11 -11
  140. package/dist/chunks/date-picker.DPasFJS2.js.map +1 -0
  141. package/dist/chunks/date-range-picker.BIj17geh.js +967 -0
  142. package/dist/chunks/date-range-picker.BIj17geh.js.map +1 -0
  143. package/dist/chunks/{date.BfyWX2PY.js → date.BTdCYdkj.js} +2 -2
  144. package/dist/chunks/{date.BfyWX2PY.js.map → date.BTdCYdkj.js.map} +1 -1
  145. package/dist/chunks/{dialog-page.CLHZqQeU.js → dialog-page.D20YBRQF.js} +9 -9
  146. package/dist/chunks/dialog-page.D20YBRQF.js.map +1 -0
  147. package/dist/chunks/{divider.Cc4JFWG_.js → divider.CFbtmKeQ.js} +6 -6
  148. package/dist/chunks/divider.CFbtmKeQ.js.map +1 -0
  149. package/dist/chunks/{dropdown-default-textbox.94q6opSD.js → dropdown-default-textbox.CDm-PQfc.js} +81 -80
  150. package/dist/chunks/dropdown-default-textbox.CDm-PQfc.js.map +1 -0
  151. package/dist/chunks/dropdown-tag.cmaM8C2X.js +306 -0
  152. package/dist/chunks/dropdown-tag.cmaM8C2X.js.map +1 -0
  153. package/dist/chunks/{dropdown.DazYAy4B.js → dropdown.CEZXrC1C.js} +43 -43
  154. package/dist/chunks/dropdown.CEZXrC1C.js.map +1 -0
  155. package/dist/chunks/{empty-state.mtXfb1BB.js → empty-state.DAbj9xWF.js} +6 -6
  156. package/dist/chunks/empty-state.DAbj9xWF.js.map +1 -0
  157. package/dist/chunks/{error-message.BgxnwPLF.js → error-message.D_QAOG-5.js} +9 -9
  158. package/dist/chunks/{error-message.BgxnwPLF.js.map → error-message.D_QAOG-5.js.map} +1 -1
  159. package/dist/chunks/es6.MoTTyETW.js +12 -0
  160. package/dist/chunks/es6.MoTTyETW.js.map +1 -0
  161. package/dist/chunks/events.CMzGybJJ.js.map +1 -1
  162. package/dist/chunks/{file-uploader.BPslxGI8.js → file-uploader.D2k8GceS.js} +49 -49
  163. package/dist/chunks/file-uploader.D2k8GceS.js.map +1 -0
  164. package/dist/chunks/{filter-bar.DL19SXF1.js → filter-bar.C9suxxv-.js} +310 -316
  165. package/dist/chunks/filter-bar.C9suxxv-.js.map +1 -0
  166. package/dist/chunks/{fixed-scroller.XN-jvWqb.js → fixed-scroller.DDYpO7Li.js} +2 -2
  167. package/dist/chunks/{fixed-scroller.XN-jvWqb.js.map → fixed-scroller.DDYpO7Li.js.map} +1 -1
  168. package/dist/chunks/{focus-trap.C-wIQqpO.js → focus-trap.B4C5TXxl.js} +2 -2
  169. package/dist/chunks/focus-trap.B4C5TXxl.js.map +1 -0
  170. package/dist/chunks/{footer-actions.BE_zzX-e.js → footer-actions.Bbu1_rUb.js} +12 -12
  171. package/dist/chunks/footer-actions.Bbu1_rUb.js.map +1 -0
  172. package/dist/chunks/{form-layout-title.CIynHgCF.js → form-layout-title.aXVuAWiG.js} +5 -5
  173. package/dist/chunks/form-layout-title.aXVuAWiG.js.map +1 -0
  174. package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.1aIiz2N_.js} +4 -4
  175. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
  176. package/dist/chunks/{header-meta.CfloYa86.js → header-meta.Dj742jL5.js} +26 -27
  177. package/dist/chunks/{header-meta.CfloYa86.js.map → header-meta.Dj742jL5.js.map} +1 -1
  178. package/dist/chunks/{header-with-views.BUQ-MlAq.js → header-with-views.Cis2Ixho.js} +160 -164
  179. package/dist/chunks/header-with-views.Cis2Ixho.js.map +1 -0
  180. package/dist/chunks/{header.uyxNdQa3.js → header.Bo2fbjCm.js} +8 -8
  181. package/dist/chunks/header.Bo2fbjCm.js.map +1 -0
  182. package/dist/chunks/image.C2D2hKat.js.map +1 -1
  183. package/dist/chunks/{info-icon.CYOXx8CL.js → info-icon.BWC7gGmM.js} +7 -7
  184. package/dist/chunks/info-icon.BWC7gGmM.js.map +1 -0
  185. package/dist/chunks/info.CcMZ4aGg.js +24 -0
  186. package/dist/chunks/info.CcMZ4aGg.js.map +1 -0
  187. package/dist/chunks/{input-field-password.C1zTapiN.js → input-field-password.D6wAD55v.js} +29 -29
  188. package/dist/chunks/input-field-password.D6wAD55v.js.map +1 -0
  189. package/dist/chunks/{input-field-phone-number.K8BYjWfa.js → input-field-phone-number.CLHuEXO7.js} +12 -11
  190. package/dist/chunks/{input-field-phone-number.K8BYjWfa.js.map → input-field-phone-number.CLHuEXO7.js.map} +1 -1
  191. package/dist/chunks/{input-field.5S-pUNxA.js → input-field.C3KYlPYa.js} +5 -5
  192. package/dist/chunks/input-field.C3KYlPYa.js.map +1 -0
  193. package/dist/chunks/{inspector.BI28vKQz.js → inspector.CH4kvF9q.js} +6 -6
  194. package/dist/chunks/inspector.CH4kvF9q.js.map +1 -0
  195. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
  196. package/dist/chunks/{layout-row.C_F2wX6d.js → layout-row.BLGCVZkD.js} +12 -12
  197. package/dist/chunks/layout-row.BLGCVZkD.js.map +1 -0
  198. package/dist/chunks/{link.CXy_LoFI.js → link.C4htMrDV.js} +3 -3
  199. package/dist/chunks/link.C4htMrDV.js.map +1 -0
  200. package/dist/chunks/{listbox-option-tag.D0Cql_R3.js → listbox-option-tag.3zcrQQvI.js} +4 -4
  201. package/dist/chunks/listbox-option-tag.3zcrQQvI.js.map +1 -0
  202. package/dist/chunks/{loading-indicator.z8COalOc.js → loading-indicator.DXc7I1Lm.js} +2 -2
  203. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +1 -0
  204. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
  205. package/dist/chunks/{modal-fullscreen.DHotw1RI.js → modal-fullscreen.DNxrRLZ5.js} +61 -56
  206. package/dist/chunks/modal-fullscreen.DNxrRLZ5.js.map +1 -0
  207. package/dist/chunks/{modal.eoNQ6E3U.js → modal.BjoHqKYF.js} +6 -6
  208. package/dist/chunks/modal.BjoHqKYF.js.map +1 -0
  209. package/dist/chunks/{pagination.4J7ZMyf5.js → pagination.BNjvTjtR.js} +5 -5
  210. package/dist/chunks/pagination.BNjvTjtR.js.map +1 -0
  211. package/dist/chunks/{payment-method.Cx4nPDtE.js → payment-method.DtvfUnit.js} +3 -3
  212. package/dist/chunks/payment-method.DtvfUnit.js.map +1 -0
  213. package/dist/chunks/popover.types.CiUPrUuw.js +6 -0
  214. package/dist/chunks/popover.types.CiUPrUuw.js.map +1 -0
  215. package/dist/chunks/{popper-container.DIFqmRsp.js → popper-container.BRkYcBmL.js} +3 -3
  216. package/dist/chunks/popper-container.BRkYcBmL.js.map +1 -0
  217. package/dist/chunks/{promo-banner.Bbc2U3S3.js → promo-banner.CmkrgQsm.js} +6 -6
  218. package/dist/chunks/promo-banner.CmkrgQsm.js.map +1 -0
  219. package/dist/chunks/{radio-group.4_KKjvAm.js → radio-group.ANbubbQK.js} +14 -12
  220. package/dist/chunks/radio-group.ANbubbQK.js.map +1 -0
  221. package/dist/chunks/{radio-input.uJAhxKRs.js → radio-input.D8mv2EYC.js} +2 -2
  222. package/dist/chunks/radio-input.D8mv2EYC.js.map +1 -0
  223. package/dist/chunks/{rich-text-editor.BUKLdRkN.js → rich-text-editor.DfUK2cie.js} +8 -8
  224. package/dist/chunks/rich-text-editor.DfUK2cie.js.map +1 -0
  225. package/dist/chunks/{search-bar.CuBj5FAE.js → search-bar.B4ln_DGC.js} +6 -5
  226. package/dist/chunks/search-bar.B4ln_DGC.js.map +1 -0
  227. package/dist/chunks/{secondary-nav.C6usurfD.js → secondary-nav.DGRvSeRY.js} +9 -9
  228. package/dist/chunks/secondary-nav.DGRvSeRY.js.map +1 -0
  229. package/dist/chunks/{segmented-control.DHZEfmT-.js → segmented-control.5-G1EwGt.js} +11 -11
  230. package/dist/chunks/segmented-control.5-G1EwGt.js.map +1 -0
  231. package/dist/chunks/{selection-card-group.0o5T4tab.js → selection-card-group.xs_M1a46.js} +10 -10
  232. package/dist/chunks/selection-card-group.xs_M1a46.js.map +1 -0
  233. package/dist/chunks/{sidepanel.DyThBUgV.js → sidepanel.DJAmLLPS.js} +9 -9
  234. package/dist/chunks/sidepanel.DJAmLLPS.js.map +1 -0
  235. package/dist/chunks/{status.types.p_TCvoo0.js → status.types.BpMK-6IT.js} +3 -3
  236. package/dist/chunks/status.types.BpMK-6IT.js.map +1 -0
  237. package/dist/chunks/{step.DMMofD4B.js → step.DwXkOVky.js} +5 -5
  238. package/dist/chunks/step.DwXkOVky.js.map +1 -0
  239. package/dist/chunks/{structured-list-item.Bnn6-Z3q.js → structured-list-item.TPZLf2rC.js} +7 -7
  240. package/dist/chunks/structured-list-item.TPZLf2rC.js.map +1 -0
  241. package/dist/chunks/{summary-grid.types.D_FU3sUq.js → summary-grid.types.Mua4SprI.js} +7 -7
  242. package/dist/chunks/{summary-grid.types.D_FU3sUq.js.map → summary-grid.types.Mua4SprI.js.map} +1 -1
  243. package/dist/chunks/{tab.BhWPBxcB.js → tab.ClkH0GtX.js} +5 -5
  244. package/dist/chunks/tab.ClkH0GtX.js.map +1 -0
  245. package/dist/chunks/{tag.CGkclKVL.js → tag.D1niMJDQ.js} +4 -4
  246. package/dist/chunks/tag.D1niMJDQ.js.map +1 -0
  247. package/dist/chunks/textarea.BNGBZJ3C.js +214 -0
  248. package/dist/chunks/textarea.BNGBZJ3C.js.map +1 -0
  249. package/dist/chunks/timeline-item.DYUON6R3.js +387 -0
  250. package/dist/chunks/timeline-item.DYUON6R3.js.map +1 -0
  251. package/dist/chunks/{toast.BOyeuS19.js → toast.gMDjItrP.js} +5 -5
  252. package/dist/chunks/toast.gMDjItrP.js.map +1 -0
  253. package/dist/chunks/toggle-button.COXDzXWu.js +1031 -0
  254. package/dist/chunks/toggle-button.COXDzXWu.js.map +1 -0
  255. package/dist/chunks/{toggle.DyXL09-x.js → toggle.Ct-5NUGu.js} +8 -8
  256. package/dist/chunks/toggle.Ct-5NUGu.js.map +1 -0
  257. package/dist/chunks/{tooltip.wQsyAwkC.js → tooltip.B2XJl4VK.js} +64 -60
  258. package/dist/chunks/tooltip.B2XJl4VK.js.map +1 -0
  259. package/dist/chunks/{tutorial.CxrGhLS7.js → tutorial.BiGj42TP.js} +29 -31
  260. package/dist/chunks/tutorial.BiGj42TP.js.map +1 -0
  261. package/dist/chunks/{typography.J1v_SPG3.js → typography.hlOAxsEn.js} +9 -9
  262. package/dist/chunks/typography.hlOAxsEn.js.map +1 -0
  263. package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js → use-bento-toast-controller.BKHU1qBv.js} +2 -2
  264. package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js.map → use-bento-toast-controller.BKHU1qBv.js.map} +1 -1
  265. package/dist/chunks/{use-cached-selected-values.0EeyFfyF.js → use-cached-selected-values.ysbHRJ6L.js} +12 -12
  266. package/dist/chunks/use-cached-selected-values.ysbHRJ6L.js.map +1 -0
  267. package/dist/chunks/{use-country-items.BllTb5MK.js → use-country-items.DFdM2Ank.js} +2 -2
  268. package/dist/chunks/use-country-items.DFdM2Ank.js.map +1 -0
  269. package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js → use-country-phon-code.Bui3zD6W.js} +5 -3
  270. package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js.map → use-country-phon-code.Bui3zD6W.js.map} +1 -1
  271. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -1
  272. package/dist/chunks/warning-filled.CbJ1pcB2.js +24 -0
  273. package/dist/chunks/warning-filled.CbJ1pcB2.js.map +1 -0
  274. package/dist/code-snippet.js +1 -1
  275. package/dist/country.js +2 -2
  276. package/dist/currency.js +1 -1
  277. package/dist/dashboard-template.js +1 -1
  278. package/dist/dashed-underline.js +1 -1
  279. package/dist/data-grid-template.js +1 -1
  280. package/dist/data-grid.js +1 -1
  281. package/dist/date-picker.js +2 -2
  282. package/dist/date-range-picker.js +2 -2
  283. package/dist/date.js +1 -1
  284. package/dist/divider.js +1 -1
  285. package/dist/dropdown.js +4 -4
  286. package/dist/empty-state.js +1 -1
  287. package/dist/file-uploader.js +1 -1
  288. package/dist/filter-bar.js +1 -1
  289. package/dist/focus-trap.js +1 -1
  290. package/dist/form-layout.js +1 -1
  291. package/dist/header-with-views.js +1 -1
  292. package/dist/header.js +1 -1
  293. package/dist/index.js +225 -227
  294. package/dist/index.js.map +1 -1
  295. package/dist/info-icon.js +1 -1
  296. package/dist/input-field-password.js +1 -1
  297. package/dist/input-field-phone-number.js +3 -2
  298. package/dist/input-field.js +1 -1
  299. package/dist/inspector.js +1 -1
  300. package/dist/internal.js +33 -32
  301. package/dist/internal.js.map +1 -1
  302. package/dist/layout.js +1 -1
  303. package/dist/link.js +1 -1
  304. package/dist/loading-indicator.js +1 -1
  305. package/dist/menu.js +1 -1
  306. package/dist/modal-fullscreen.js +1 -1
  307. package/dist/modal.js +2 -2
  308. package/dist/pagination.js +1 -1
  309. package/dist/payment-method.js +1 -1
  310. package/dist/popover.js +2 -2
  311. package/dist/popper-container.js +1 -1
  312. package/dist/promo-banner.js +1 -1
  313. package/dist/radio-group.js +2 -2
  314. package/dist/rich-text-editor.js +1 -1
  315. package/dist/search-bar.js +2 -2
  316. package/dist/secondary-nav.js +1 -1
  317. package/dist/segmented-control.js +1 -1
  318. package/dist/selection-card.js +1 -1
  319. package/dist/sidepanel.js +1 -1
  320. package/dist/status.js +1 -1
  321. package/dist/stepper.js +1 -1
  322. package/dist/structured-list.js +1 -1
  323. package/dist/styles/bento-dark.css +17 -4
  324. package/dist/styles/bento-light.css +17 -4
  325. package/dist/styles/bento.css +17 -4
  326. package/dist/styles/styleguide.css +17 -4
  327. package/dist/styles/utility.css +3 -0
  328. package/dist/summary-grid.js +1 -1
  329. package/dist/tabs.js +1 -1
  330. package/dist/tag.js +1 -1
  331. package/dist/textarea.js +1 -1
  332. package/dist/timeline.js +1 -1
  333. package/dist/toast.js +1 -1
  334. package/dist/toggle.js +1 -1
  335. package/dist/tutorial.js +1 -1
  336. package/dist/typography.js +1 -1
  337. package/dist/use-form-v4.js.map +1 -1
  338. package/dist/web-types.json +1825 -740
  339. package/package.json +9 -13
  340. package/dist/assets/button-actions.css +0 -1
  341. package/dist/assets/menu.css +0 -1
  342. package/dist/assets/popover.css +0 -1
  343. package/dist/assets/teleport.css +0 -1
  344. package/dist/chunks/accordion-item.BNtdoVto.js.map +0 -1
  345. package/dist/chunks/action-bar.DQb7WVVd.js.map +0 -1
  346. package/dist/chunks/alert.c1rhDDrU.js.map +0 -1
  347. package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
  348. package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
  349. package/dist/chunks/base-modal.CkkfT6r6.js.map +0 -1
  350. package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
  351. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
  352. package/dist/chunks/bin.DLXkAVvw.js +0 -24
  353. package/dist/chunks/bin.DLXkAVvw.js.map +0 -1
  354. package/dist/chunks/button-actions-with-menu.nPj7sdGE.js +0 -83
  355. package/dist/chunks/button-actions-with-menu.nPj7sdGE.js.map +0 -1
  356. package/dist/chunks/button-actions.Ju27CRNG.js +0 -194
  357. package/dist/chunks/button-actions.Ju27CRNG.js.map +0 -1
  358. package/dist/chunks/button.hF-nD1Og.js.map +0 -1
  359. package/dist/chunks/calendar.DvIQEYwN.js.map +0 -1
  360. package/dist/chunks/card.CASAAsuJ.js.map +0 -1
  361. package/dist/chunks/checkbox-group.QdX-NrSG.js.map +0 -1
  362. package/dist/chunks/checkbox-input.CNWigbX4.js.map +0 -1
  363. package/dist/chunks/checkbox.DCD6SSXC.js.map +0 -1
  364. package/dist/chunks/chip.OV0EWIP3.js.map +0 -1
  365. package/dist/chunks/code-snippet.dIKi0D7d.js.map +0 -1
  366. package/dist/chunks/controls-group.CccuLkgP.js.map +0 -1
  367. package/dist/chunks/copy.CF8Fzu2Y.js.map +0 -1
  368. package/dist/chunks/country.melpzEsY.js.map +0 -1
  369. package/dist/chunks/currency.BM9OXTqe.js.map +0 -1
  370. package/dist/chunks/dashed-underline.BbH6Lnd2.js.map +0 -1
  371. package/dist/chunks/data-grid-template.Co0Ecr79.js.map +0 -1
  372. package/dist/chunks/data-grid.erxjh5TN.js.map +0 -1
  373. package/dist/chunks/date-picker.DGIS6Pp-.js.map +0 -1
  374. package/dist/chunks/date-range-picker.CIaKRXIQ.js +0 -1021
  375. package/dist/chunks/date-range-picker.CIaKRXIQ.js.map +0 -1
  376. package/dist/chunks/dialog-page.CLHZqQeU.js.map +0 -1
  377. package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
  378. package/dist/chunks/dropdown-default-textbox.94q6opSD.js.map +0 -1
  379. package/dist/chunks/dropdown-tag.BaosvGGZ.js +0 -240
  380. package/dist/chunks/dropdown-tag.BaosvGGZ.js.map +0 -1
  381. package/dist/chunks/dropdown.DazYAy4B.js.map +0 -1
  382. package/dist/chunks/empty-state.mtXfb1BB.js.map +0 -1
  383. package/dist/chunks/es6.n1ewaW31.js +0 -11
  384. package/dist/chunks/es6.n1ewaW31.js.map +0 -1
  385. package/dist/chunks/file-uploader.BPslxGI8.js.map +0 -1
  386. package/dist/chunks/filter-bar.DL19SXF1.js.map +0 -1
  387. package/dist/chunks/focus-trap.C-wIQqpO.js.map +0 -1
  388. package/dist/chunks/footer-actions.BE_zzX-e.js.map +0 -1
  389. package/dist/chunks/form-layout-title.CIynHgCF.js.map +0 -1
  390. package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
  391. package/dist/chunks/header-with-views.BUQ-MlAq.js.map +0 -1
  392. package/dist/chunks/header.uyxNdQa3.js.map +0 -1
  393. package/dist/chunks/info-icon.CYOXx8CL.js.map +0 -1
  394. package/dist/chunks/info.CszJ0kMi.js +0 -24
  395. package/dist/chunks/info.CszJ0kMi.js.map +0 -1
  396. package/dist/chunks/input-field-password.C1zTapiN.js.map +0 -1
  397. package/dist/chunks/input-field.5S-pUNxA.js.map +0 -1
  398. package/dist/chunks/inspector.BI28vKQz.js.map +0 -1
  399. package/dist/chunks/layout-row.C_F2wX6d.js.map +0 -1
  400. package/dist/chunks/link.CXy_LoFI.js.map +0 -1
  401. package/dist/chunks/listbox-option-tag.D0Cql_R3.js.map +0 -1
  402. package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
  403. package/dist/chunks/menu.D0OQgk40.js +0 -515
  404. package/dist/chunks/menu.D0OQgk40.js.map +0 -1
  405. package/dist/chunks/modal-fullscreen.DHotw1RI.js.map +0 -1
  406. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
  407. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
  408. package/dist/chunks/modal.eoNQ6E3U.js.map +0 -1
  409. package/dist/chunks/pagination.4J7ZMyf5.js.map +0 -1
  410. package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
  411. package/dist/chunks/popover.Bo4Bkudr.js +0 -145
  412. package/dist/chunks/popover.Bo4Bkudr.js.map +0 -1
  413. package/dist/chunks/popover.types.CBqyA4ly.js +0 -6
  414. package/dist/chunks/popover.types.CBqyA4ly.js.map +0 -1
  415. package/dist/chunks/popper-container.DIFqmRsp.js.map +0 -1
  416. package/dist/chunks/promo-banner.Bbc2U3S3.js.map +0 -1
  417. package/dist/chunks/radio-group.4_KKjvAm.js.map +0 -1
  418. package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
  419. package/dist/chunks/rich-text-editor.BUKLdRkN.js.map +0 -1
  420. package/dist/chunks/search-bar.CuBj5FAE.js.map +0 -1
  421. package/dist/chunks/secondary-nav.C6usurfD.js.map +0 -1
  422. package/dist/chunks/segmented-control.DHZEfmT-.js.map +0 -1
  423. package/dist/chunks/selection-card-group.0o5T4tab.js.map +0 -1
  424. package/dist/chunks/sidepanel.DyThBUgV.js.map +0 -1
  425. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
  426. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
  427. package/dist/chunks/status.types.p_TCvoo0.js.map +0 -1
  428. package/dist/chunks/step.DMMofD4B.js.map +0 -1
  429. package/dist/chunks/structured-list-item.Bnn6-Z3q.js.map +0 -1
  430. package/dist/chunks/tab.BhWPBxcB.js.map +0 -1
  431. package/dist/chunks/tag.CGkclKVL.js.map +0 -1
  432. package/dist/chunks/teleport.BV6zrDjA.js +0 -128
  433. package/dist/chunks/teleport.BV6zrDjA.js.map +0 -1
  434. package/dist/chunks/textarea.UPM6N9V1.js +0 -203
  435. package/dist/chunks/textarea.UPM6N9V1.js.map +0 -1
  436. package/dist/chunks/timeline-item.DqLhj0Lb.js +0 -385
  437. package/dist/chunks/timeline-item.DqLhj0Lb.js.map +0 -1
  438. package/dist/chunks/toast.BOyeuS19.js.map +0 -1
  439. package/dist/chunks/toggle-button.DEVVvpkw.js +0 -83
  440. package/dist/chunks/toggle-button.DEVVvpkw.js.map +0 -1
  441. package/dist/chunks/toggle.DyXL09-x.js.map +0 -1
  442. package/dist/chunks/tooltip.wQsyAwkC.js.map +0 -1
  443. package/dist/chunks/tutorial.CxrGhLS7.js.map +0 -1
  444. package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
  445. package/dist/chunks/use-cached-selected-values.0EeyFfyF.js.map +0 -1
  446. package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
  447. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
  448. package/dist/chunks/use-country-items.BllTb5MK.js.map +0 -1
  449. package/dist/chunks/warning-filled.tWOyLUQT.js +0 -24
  450. package/dist/chunks/warning-filled.tWOyLUQT.js.map +0 -1
  451. package/dist/styles/legacy.css +0 -2226
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/composables/use-form-validate/use-form.ts","../src/composables/use-bento-theme/use-bento-theme.types.ts","../src/composables/use-bento-theme/use-bento-theme.ts","../src/composables/use-bento-toast-controller/install.ts","../src/composables/use-bento-theme/install.ts","../src/install.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { allKeys, ErrorBag, UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param props Form configuration object\n * @param extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns response.errors Object with all the form values and the first error found for that field (if any)\n * @returns response.values Object with all the form values and their current value\n * @returns response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string[];\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { BentoTheme } from './install';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { BentoTheme, setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.LEGACY) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n } else if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","_a","getCurrentInstance","printDevelopmentWarning","installToast","Vue","toastStackInjectionKey","createToastStack","getTheme","getThemeForSystemPreference","BentoTheme","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../src/composables/use-form-validate/use-form.ts","../src/composables/use-bento-theme/use-bento-theme.types.ts","../src/composables/use-bento-theme/use-bento-theme.ts","../src/composables/use-bento-toast-controller/install.ts","../src/composables/use-bento-theme/install.ts","../src/install.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { type allKeys, type ErrorBag, type UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @deprecated For usage with Zod/v3. Migrate to Zod/v4 and use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param props Form configuration object\n * @param extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns response.errors Object with all the form values and the first error found for that field (if any)\n * @returns response.values Object with all the form values and their current value\n * @returns response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string[];\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { type BentoTheme } from './install';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { type UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport enum BentoTheme {\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { BentoTheme, setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","_a","getCurrentInstance","printDevelopmentWarning","installToast","Vue","toastStackInjectionKey","createToastStack","getTheme","getThemeForSystemPreference","BentoTheme","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":"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"}
package/dist/info-icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e } from "./chunks/info-icon.CYOXx8CL.js";
1
+ import { B as e } from "./chunks/info-icon.BWC7gGmM.js";
2
2
  export {
3
3
  e as BentoInfoIcon
4
4
  };
@@ -1,4 +1,4 @@
1
- import { i as a, m as s, r as i, b as c, c as u, a as o } from "./chunks/input-field-password.C1zTapiN.js";
1
+ import { i as a, m as s, r as i, b as c, c as u, a as o } from "./chunks/input-field-password.D6wAD55v.js";
2
2
  export {
3
3
  a as BentoInputFieldPassword,
4
4
  s as minLength,
@@ -1,5 +1,6 @@
1
- import { i as n } from "./chunks/input-field-phone-number.K8BYjWfa.js";
1
+ import { i as o, B as t } from "./chunks/input-field-phone-number.CLHuEXO7.js";
2
2
  export {
3
- n as BentoInputFieldPhoneNumber
3
+ o as BentoInputFieldPhoneNumber,
4
+ t as BentoInputFieldPhoneNumberCountries
4
5
  };
5
6
  //# sourceMappingURL=input-field-phone-number.js.map
@@ -1,4 +1,4 @@
1
- import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.5S-pUNxA.js";
1
+ import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.C3KYlPYa.js";
2
2
  export {
3
3
  n as BentoInputField,
4
4
  a as BentoInputFieldElementPosition,
package/dist/inspector.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/inspector.BI28vKQz.js";
1
+ import { B as t } from "./chunks/inspector.CH4kvF9q.js";
2
2
  import { B as n } from "./chunks/inspector.types.DyHwE18g.js";
3
3
  export {
4
4
  t as BentoInspector,
package/dist/internal.js CHANGED
@@ -1,43 +1,44 @@
1
- import { a as e, b as r, C as t, c as s, d as p } from "./chunks/calendar.DvIQEYwN.js";
2
- import { C as n, a as l } from "./chunks/copy.CF8Fzu2Y.js";
3
- import { C as f } from "./chunks/controls-group.CccuLkgP.js";
4
- import { B as I, b as m, a as E, D as T } from "./chunks/dialog-page.CLHZqQeU.js";
5
- import { E as d, F as N } from "./chunks/error-message.BgxnwPLF.js";
6
- import { F as O } from "./chunks/fixed-scroller.XN-jvWqb.js";
7
- import { G as A, a as L } from "./chunks/grid-layout.HvTAa4to.js";
8
- import { H as c, I as P } from "./chunks/header-meta.CfloYa86.js";
9
- import { b as g, c as y, u as D } from "./chunks/use-cached-selected-values.0EeyFfyF.js";
10
- import { L as M } from "./chunks/listbox-option-tag.D0Cql_R3.js";
11
- import { B as W } from "./chunks/teleport.BV6zrDjA.js";
12
- import { T as v } from "./chunks/tooltip.wQsyAwkC.js";
13
- import { B as J } from "./chunks/button-actions-with-menu.nPj7sdGE.js";
14
- import { f as R } from "./chunks/button-actions.Ju27CRNG.js";
1
+ import { a as e, b as t, C as r, c as s, d as i } from "./chunks/calendar.DYI4omOF.js";
2
+ import { C as p, a as l } from "./chunks/copy.Cb7gQhU4.js";
3
+ import { C as I } from "./chunks/controls-group.az4jCZQF.js";
4
+ import { B as x, b as E, a as f, D as m } from "./chunks/dialog-page.D20YBRQF.js";
5
+ import { E as d, F as N } from "./chunks/error-message.D_QAOG-5.js";
6
+ import { F as O } from "./chunks/fixed-scroller.DDYpO7Li.js";
7
+ import { G as B, a as A } from "./chunks/grid-layout.1aIiz2N_.js";
8
+ import { H as P, I as c } from "./chunks/header-meta.Dj742jL5.js";
9
+ import { b as g, c as y, u as D } from "./chunks/use-cached-selected-values.ysbHRJ6L.js";
10
+ import { L as S } from "./chunks/listbox-option-tag.3zcrQQvI.js";
11
+ import { e as W, d as h } from "./chunks/toggle-button.COXDzXWu.js";
12
+ import { B as H, a as J, T as K } from "./chunks/tooltip.B2XJl4VK.js";
13
+ import { B as Y } from "./chunks/button-actions-with-menu.BDpWI2Fh.js";
15
14
  export {
16
- R as BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY,
17
- I as BentoDialogPageAnimation,
15
+ W as BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY,
16
+ x as BentoDialogPageAnimation,
18
17
  g as BentoListbox,
19
- W as BentoTeleport,
20
- J as ButtonActionsWithMenu,
18
+ h as BentoTeleport,
19
+ H as BentoTooltipPosition,
20
+ J as BentoTooltipState,
21
+ Y as ButtonActionsWithMenu,
21
22
  e as Calendar,
22
- r as CalendarEvent,
23
- t as CalendarFirstDayOfWeek,
23
+ t as CalendarEvent,
24
+ r as CalendarFirstDayOfWeek,
24
25
  s as CalendarPosition,
25
- p as CalendarVariant,
26
- f as ControlsGroup,
27
- n as Copy,
26
+ i as CalendarVariant,
27
+ I as ControlsGroup,
28
+ p as Copy,
28
29
  l as CopyTooltipState,
29
- m as DIALOG_PAGE_CONFIG_INJECTION_KEY,
30
- E as DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,
31
- T as DialogPage,
30
+ E as DIALOG_PAGE_CONFIG_INJECTION_KEY,
31
+ f as DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,
32
+ m as DialogPage,
32
33
  d as ErrorMessage,
33
34
  N as FieldLabel,
34
35
  O as FixedScroller,
35
- A as GridLayout,
36
- L as GridLayoutContainerType,
37
- c as HeaderMeta,
38
- P as InfoIconWithPopover,
39
- M as ListboxOptionTag,
40
- v as Tooltip,
36
+ B as GridLayout,
37
+ A as GridLayoutContainerType,
38
+ P as HeaderMeta,
39
+ c as InfoIconWithPopover,
40
+ S as ListboxOptionTag,
41
+ K as Tooltip,
41
42
  y as useCachedSelectedValues,
42
43
  D as useMultiLevelItems
43
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"internal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/dist/layout.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as t, a as e } from "./chunks/layout-row.C_F2wX6d.js";
1
+ import { l as t, a as e } from "./chunks/layout-row.BLGCVZkD.js";
2
2
  export {
3
3
  t as BentoLayout,
4
4
  e as BentoLayoutRow
package/dist/link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/link.CXy_LoFI.js";
1
+ import { B as o, a as t } from "./chunks/link.C4htMrDV.js";
2
2
  export {
3
3
  o as BentoLink,
4
4
  t as BentoLinkVariant
@@ -1,4 +1,4 @@
1
- import { B as n, a as t } from "./chunks/loading-indicator.z8COalOc.js";
1
+ import { B as n, a as t } from "./chunks/loading-indicator.DXc7I1Lm.js";
2
2
  export {
3
3
  n as BentoLoadingIndicator,
4
4
  t as BentoLoadingIndicatorEvent
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/menu.D0OQgk40.js";
1
+ import { f as o, g as t } from "./chunks/toggle-button.COXDzXWu.js";
2
2
  export {
3
3
  o as BentoMenu,
4
4
  t as BentoMenuEvent
@@ -1,4 +1,4 @@
1
- import { m as o, B as a } from "./chunks/modal-fullscreen.DHotw1RI.js";
1
+ import { m as o, B as a } from "./chunks/modal-fullscreen.DNxrRLZ5.js";
2
2
  export {
3
3
  o as BentoModalFullscreen,
4
4
  a as BentoModalFullscreenPage
package/dist/modal.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B as e } from "./chunks/modal.eoNQ6E3U.js";
2
- import { c as n, e as l, f as B, g as d, d as M, b as s, B as r, a as i } from "./chunks/base-modal.CkkfT6r6.js";
1
+ import { B as e } from "./chunks/modal.BjoHqKYF.js";
2
+ import { c as n, e as l, f as B, g as d, d as M, b as s, B as r, a as i } from "./chunks/base-modal.D8Rh5NUz.js";
3
3
  export {
4
4
  e as BentoModal,
5
5
  n as BentoModalColumnLayoutVariant,
@@ -1,4 +1,4 @@
1
- import { B as n } from "./chunks/pagination.4J7ZMyf5.js";
1
+ import { B as n } from "./chunks/pagination.BNjvTjtR.js";
2
2
  export {
3
3
  n as BentoPagination
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/payment-method.Cx4nPDtE.js";
1
+ import { B as t } from "./chunks/payment-method.DtvfUnit.js";
2
2
  import { B as m } from "./chunks/payment-method.types.BqtH7RM2.js";
3
3
  export {
4
4
  t as BentoPaymentMethod,
package/dist/popover.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B as r } from "./chunks/popover.Bo4Bkudr.js";
2
- import { B as p } from "./chunks/popover.types.CBqyA4ly.js";
1
+ import { h as r } from "./chunks/toggle-button.COXDzXWu.js";
2
+ import { B as p } from "./chunks/popover.types.CiUPrUuw.js";
3
3
  export {
4
4
  r as BentoPopover,
5
5
  p as BentoPopoverPositions
@@ -1,4 +1,4 @@
1
- import { P as n, c as a, d as i, a as r, b as p } from "./chunks/popper-container.DIFqmRsp.js";
1
+ import { P as n, c as a, d as i, a as r, b as p } from "./chunks/popper-container.BRkYcBmL.js";
2
2
  export {
3
3
  n as PopperContainer,
4
4
  a as PopperContainerAriaRole,
@@ -1,4 +1,4 @@
1
- import { p as r, B as a, a as e } from "./chunks/promo-banner.Bbc2U3S3.js";
1
+ import { p as r, B as a, a as e } from "./chunks/promo-banner.CmkrgQsm.js";
2
2
  export {
3
3
  r as BentoPromoBanner,
4
4
  a as BentoPromoBannerColor,
@@ -1,5 +1,5 @@
1
- import { b as t, B as e, a as n } from "./chunks/radio-group.4_KKjvAm.js";
2
- import { R as B } from "./chunks/radio-input.uJAhxKRs.js";
1
+ import { b as t, B as e, a as n } from "./chunks/radio-group.ANbubbQK.js";
2
+ import { R as B } from "./chunks/radio-input.D8mv2EYC.js";
3
3
  export {
4
4
  t as BentoRadioButton,
5
5
  B as BentoRadioButtonStateClass,
@@ -1,4 +1,4 @@
1
- import { r as t } from "./chunks/rich-text-editor.BUKLdRkN.js";
1
+ import { r as t } from "./chunks/rich-text-editor.DfUK2cie.js";
2
2
  export {
3
3
  t as BentoRichTextEditor
4
4
  };
@@ -1,5 +1,5 @@
1
- import { B as r, b as t, a as B } from "./chunks/search-bar.CuBj5FAE.js";
2
- import { u as o } from "./chunks/dropdown.DazYAy4B.js";
1
+ import { B as r, b as t, a as B } from "./chunks/search-bar.B4ln_DGC.js";
2
+ import { u as o } from "./chunks/dropdown.CEZXrC1C.js";
3
3
  export {
4
4
  r as BentoSearchBar,
5
5
  t as BentoSearchBarEvent,
@@ -1,4 +1,4 @@
1
- import { s as e } from "./chunks/secondary-nav.C6usurfD.js";
1
+ import { s as e } from "./chunks/secondary-nav.DGRvSeRY.js";
2
2
  export {
3
3
  e as BentoSecondaryNav
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/segmented-control.DHZEfmT-.js";
1
+ import { B as t } from "./chunks/segmented-control.5-G1EwGt.js";
2
2
  import { B as r } from "./chunks/segmented-control.types.BHRLV8KU.js";
3
3
  export {
4
4
  t as BentoSegmentedControl,
@@ -1,4 +1,4 @@
1
- import { B as t, s as a, a as n } from "./chunks/selection-card-group.0o5T4tab.js";
1
+ import { B as t, s as a, a as n } from "./chunks/selection-card-group.xs_M1a46.js";
2
2
  export {
3
3
  t as BentoSelectionCard,
4
4
  a as BentoSelectionCardGroup,
package/dist/sidepanel.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as n, B as o, s as t } from "./chunks/sidepanel.DyThBUgV.js";
1
+ import { a as n, B as o, s as t } from "./chunks/sidepanel.DJAmLLPS.js";
2
2
  export {
3
3
  n as BentoSidepanel,
4
4
  o as BentoSidepanelEvent,
package/dist/status.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s, B as o } from "./chunks/status.types.p_TCvoo0.js";
1
+ import { s, B as o } from "./chunks/status.types.BpMK-6IT.js";
2
2
  export {
3
3
  s as BentoStatus,
4
4
  o as BentoStatusVariant
package/dist/stepper.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as p, s as o, B as a, b as n } from "./chunks/step.DMMofD4B.js";
1
+ import { a as p, s as o, B as a, b as n } from "./chunks/step.DwXkOVky.js";
2
2
  export {
3
3
  p as BentoStep,
4
4
  o as BentoStepper,
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/structured-list-item.Bnn6-Z3q.js";
1
+ import { B as r, a as o } from "./chunks/structured-list-item.TPZLf2rC.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem
@@ -395,6 +395,7 @@
395
395
  --b-color-background-critical-strong-hover: #ffbda6;
396
396
  --b-color-background-critical-strong: #ff9a78;
397
397
  --b-color-background-critical-weak: #5c1800;
398
+ --b-color-background-spotlight: #ffe379;
398
399
  --b-color-background-selected: #00305f;
399
400
  --b-color-background-disabled: #363636;
400
401
  --b-color-background-modal-active: #525252;
@@ -412,6 +413,7 @@
412
413
  --b-color-background-primary-active: #363636;
413
414
  --b-color-background-primary-hover: #2a2a2a;
414
415
  --b-color-background-primary: #111111;
416
+ --b-gradient-data-grid-zebra-hover: linear-gradient(270deg, var(--b-color-background-secondary-hover) 0%, rgba(236, 237, 239, .82) 53.34%, rgba(236, 237, 239, .75) 61.73%, rgba(236, 237, 239, .11) 99.25%, rgba(236, 237, 239, 0) 100%);
415
417
  --b-tutorial-indicator-border: var(--b-border-width-m) solid var(--b-color-decorative-green);
416
418
  --b-tutorial-popover-footer-padding-top: var(--b-spacer-060);
417
419
  --b-tutorial-popover-footer-column-gap: var(--b-spacer-040);
@@ -555,7 +557,9 @@
555
557
  --b-textarea-input-readonly-background-color: var(--b-color-background-disabled);
556
558
  --b-textarea-input-placeholder-color: var(--b-color-label-tertiary);
557
559
  --b-textarea-input-hover-border-color: var(--b-color-outline-tertiary-active);
558
- --b-textarea-input-focus-border: 1.5px solid var(--b-color-outline-tertiary-active);
560
+ --b-textarea-input-focus-border-width: var(--b-border-width-attention);
561
+ --b-textarea-input-focus-border-color: var(--b-color-outline-tertiary-active);
562
+ --b-textarea-input-focus-border: var(--b-border-width-attention) solid var(--b-color-outline-tertiary-active);
559
563
  --b-textarea-input-error-background-color: var(--b-color-outline-critical);
560
564
  --b-textarea-input-disabled-color: var(--b-color-label-disabled);
561
565
  --b-textarea-input-disabled-border-color: var(--b-color-outline-disabled);
@@ -1494,6 +1498,11 @@
1494
1498
  --b-data-grid-config-condensed-view-title-padding: 0 0 var(--b-spacer-060) 0;
1495
1499
  --b-data-grid-config-condensed-view-padding: 0 var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
1496
1500
  --b-data-grid-config-condensed-view-border-color: var(--b-color-separator-primary);
1501
+ --b-data-grid-config-appearance-button-hover-background-color: var(--b-color-background-secondary);
1502
+ --b-data-grid-config-appearance-button-padding: var(--b-spacer-040) var(--b-spacer-070);
1503
+ --b-data-grid-config-appearance-title-padding: 0 var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
1504
+ --b-data-grid-config-appearance-padding: 0 0 var(--b-spacer-060) 0;
1505
+ --b-data-grid-config-appearance-border-color: var(--b-color-separator-primary);
1497
1506
  --b-data-grid-config-settings-column-and-row-margin: var(--b-spacer-120);
1498
1507
  --b-data-grid-config-settings-button-padding: 0 0 0 var(--b-spacer-020);
1499
1508
  --b-data-grid-config-settings-button-margin: var(--b-spacer-070) 0;
@@ -1541,9 +1550,10 @@
1541
1550
  --b-data-grid-row-row-actions-container-hover-z-index: var(--b-z-index-local-tier-2);
1542
1551
  --b-data-grid-row-row-actions-container-z-index: var(--b-z-index-local-tier-1);
1543
1552
  --b-data-grid-row-row-actions-container-background-color: var(--b-color-background-primary);
1553
+ --b-data-grid-row-nested-row-hover-background-color: var(--b-color-background-primary-hover);
1544
1554
  --b-data-grid-row-nested-row-hover: var(--b-color-background-secondary-hover);
1545
- --b-data-grid-row-nested-row-background-color: var(--b-color-background-secondary);
1546
- --b-data-grid-row-nested-slot-background-color: var(--b-color-background-secondary);
1555
+ --b-data-grid-row-nested-row-background-color: var(--b-color-background-primary);
1556
+ --b-data-grid-row-nested-slot-background-color: var(--b-color-background-primary);
1547
1557
  --b-data-grid-row-highlighted-background-color: var(--b-color-background-selected);
1548
1558
  --b-data-grid-row-disabled-color: var(--b-color-label-primary);
1549
1559
  --b-data-grid-row-hover-background-color: var(--b-color-background-primary-hover);
@@ -1551,6 +1561,8 @@
1551
1561
  --b-data-grid-row-border-width: var(--b-border-width-s);
1552
1562
  --b-data-grid-row-border-color: var(--b-color-separator-primary);
1553
1563
  --b-data-grid-row-background-color: var(--b-color-background-primary);
1564
+ --b-data-grid-row-zebra-hover-background-color: var(--b-color-background-secondary-hover);
1565
+ --b-data-grid-row-zebra-background-color: var(--b-color-background-secondary);
1554
1566
  --b-data-grid-rows-frozen-hover-z-index: var(--b-z-index-local-tier-2);
1555
1567
  --b-data-grid-rows-frozen-z-index: var(--b-z-index-local-tier-1);
1556
1568
  --b-data-grid-rows-frozen-border-right-width: var(--b-border-width-s);
@@ -1610,7 +1622,7 @@
1610
1622
  --b-data-grid-template-header-z-index: var(--b-z-index-local-tier-3);
1611
1623
  --b-data-grid-template-header-margin: var(--b-spacer-080) var(--b-spacer-090) var(--b-spacer-000) var(--b-spacer-090);
1612
1624
  --b-data-grid-template-gap: var(--b-spacer-060);
1613
- --b-data-grid-summary-cell-item-highlighted-background-color: var(--b-color-background-highlight-weak);
1625
+ --b-data-grid-summary-cell-item-highlighted-background-color: var(--b-color-background-spotlight);
1614
1626
  --b-data-grid-static-icon-warning-colored-color: var(--b-color-label-warning);
1615
1627
  --b-data-grid-static-icon-no-value-color: var(--b-color-label-tertiary);
1616
1628
  --b-data-grid-static-icon-error-colored-color: var(--b-color-label-critical);
@@ -2069,4 +2081,5 @@
2069
2081
  --b-text-rich-text-heading-margin: var(--b-spacer-100) 0 var(--b-spacer-050) 0;
2070
2082
  --b-focus-ring-outline: var(--b-border-width-l);
2071
2083
  --b-focus-ring-spacer: var(--b-border-width-s);
2084
+ --b-data-grid-cell-actions-background-gradient-zebra-background: var(--b-gradient-data-grid-zebra-hover);
2072
2085
  }
@@ -393,6 +393,7 @@
393
393
  --b-color-background-critical-strong-hover: #c13101;
394
394
  --b-color-background-critical-strong: #dc3801;
395
395
  --b-color-background-critical-weak: #fff3ef;
396
+ --b-color-background-spotlight: #ffe379;
396
397
  --b-color-background-selected: #e3effb;
397
398
  --b-color-background-disabled: #ecedef;
398
399
  --b-color-background-modal-active: #ecedef;
@@ -410,6 +411,7 @@
410
411
  --b-color-background-primary-active: #ecedef;
411
412
  --b-color-background-primary-hover: #f4f5f6;
412
413
  --b-color-background-primary: #ffffff;
414
+ --b-gradient-data-grid-zebra-hover: linear-gradient(270deg, var(--b-color-background-secondary-hover) 0%, rgba(236, 237, 239, .82) 53.34%, rgba(236, 237, 239, .75) 61.73%, rgba(236, 237, 239, .11) 99.25%, rgba(236, 237, 239, 0) 100%);
413
415
  --b-gradient-data-grid-hover: linear-gradient(270deg, var(--b-color-background-primary-hover) 0%, rgba(247, 247, 248, .82) 53.34%, rgba(247, 247, 248, .75) 61.73%, rgba(247, 247, 248, .11) 99.25%, rgba(247, 247, 248, 0) 100%);
414
416
  --b-tutorial-indicator-border: var(--b-border-width-m) solid var(--b-color-decorative-green);
415
417
  --b-tutorial-popover-footer-padding-top: var(--b-spacer-060);
@@ -554,7 +556,9 @@
554
556
  --b-textarea-input-readonly-background-color: var(--b-color-background-disabled);
555
557
  --b-textarea-input-placeholder-color: var(--b-color-label-tertiary);
556
558
  --b-textarea-input-hover-border-color: var(--b-color-outline-tertiary-active);
557
- --b-textarea-input-focus-border: 1.5px solid var(--b-color-outline-tertiary-active);
559
+ --b-textarea-input-focus-border-width: var(--b-border-width-attention);
560
+ --b-textarea-input-focus-border-color: var(--b-color-outline-tertiary-active);
561
+ --b-textarea-input-focus-border: var(--b-border-width-attention) solid var(--b-color-outline-tertiary-active);
558
562
  --b-textarea-input-error-background-color: var(--b-color-outline-critical);
559
563
  --b-textarea-input-disabled-color: var(--b-color-label-disabled);
560
564
  --b-textarea-input-disabled-border-color: var(--b-color-outline-disabled);
@@ -1493,6 +1497,11 @@
1493
1497
  --b-data-grid-config-condensed-view-title-padding: 0 0 var(--b-spacer-060) 0;
1494
1498
  --b-data-grid-config-condensed-view-padding: 0 var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
1495
1499
  --b-data-grid-config-condensed-view-border-color: var(--b-color-separator-primary);
1500
+ --b-data-grid-config-appearance-button-hover-background-color: var(--b-color-background-secondary);
1501
+ --b-data-grid-config-appearance-button-padding: var(--b-spacer-040) var(--b-spacer-070);
1502
+ --b-data-grid-config-appearance-title-padding: 0 var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
1503
+ --b-data-grid-config-appearance-padding: 0 0 var(--b-spacer-060) 0;
1504
+ --b-data-grid-config-appearance-border-color: var(--b-color-separator-primary);
1496
1505
  --b-data-grid-config-settings-column-and-row-margin: var(--b-spacer-120);
1497
1506
  --b-data-grid-config-settings-button-padding: 0 0 0 var(--b-spacer-020);
1498
1507
  --b-data-grid-config-settings-button-margin: var(--b-spacer-070) 0;
@@ -1539,9 +1548,10 @@
1539
1548
  --b-data-grid-row-row-actions-container-hover-z-index: var(--b-z-index-local-tier-2);
1540
1549
  --b-data-grid-row-row-actions-container-z-index: var(--b-z-index-local-tier-1);
1541
1550
  --b-data-grid-row-row-actions-container-background-color: var(--b-color-background-primary);
1551
+ --b-data-grid-row-nested-row-hover-background-color: var(--b-color-background-primary-hover);
1542
1552
  --b-data-grid-row-nested-row-hover: var(--b-color-background-secondary-hover);
1543
- --b-data-grid-row-nested-row-background-color: var(--b-color-background-secondary);
1544
- --b-data-grid-row-nested-slot-background-color: var(--b-color-background-secondary);
1553
+ --b-data-grid-row-nested-row-background-color: var(--b-color-background-primary);
1554
+ --b-data-grid-row-nested-slot-background-color: var(--b-color-background-primary);
1545
1555
  --b-data-grid-row-highlighted-background-color: var(--b-color-background-selected);
1546
1556
  --b-data-grid-row-disabled-color: var(--b-color-label-primary);
1547
1557
  --b-data-grid-row-hover-background-color: var(--b-color-background-primary-hover);
@@ -1549,6 +1559,8 @@
1549
1559
  --b-data-grid-row-border-width: var(--b-border-width-s);
1550
1560
  --b-data-grid-row-border-color: var(--b-color-separator-primary);
1551
1561
  --b-data-grid-row-background-color: var(--b-color-background-primary);
1562
+ --b-data-grid-row-zebra-hover-background-color: var(--b-color-background-secondary-hover);
1563
+ --b-data-grid-row-zebra-background-color: var(--b-color-background-secondary);
1552
1564
  --b-data-grid-rows-frozen-hover-z-index: var(--b-z-index-local-tier-2);
1553
1565
  --b-data-grid-rows-frozen-z-index: var(--b-z-index-local-tier-1);
1554
1566
  --b-data-grid-rows-frozen-border-right-width: var(--b-border-width-s);
@@ -1608,7 +1620,7 @@
1608
1620
  --b-data-grid-template-header-z-index: var(--b-z-index-local-tier-3);
1609
1621
  --b-data-grid-template-header-margin: var(--b-spacer-080) var(--b-spacer-090) var(--b-spacer-000) var(--b-spacer-090);
1610
1622
  --b-data-grid-template-gap: var(--b-spacer-060);
1611
- --b-data-grid-summary-cell-item-highlighted-background-color: var(--b-color-background-highlight-weak);
1623
+ --b-data-grid-summary-cell-item-highlighted-background-color: var(--b-color-background-spotlight);
1612
1624
  --b-data-grid-static-icon-warning-colored-color: var(--b-color-label-warning);
1613
1625
  --b-data-grid-static-icon-no-value-color: var(--b-color-label-tertiary);
1614
1626
  --b-data-grid-static-icon-error-colored-color: var(--b-color-label-critical);
@@ -2067,5 +2079,6 @@
2067
2079
  --b-text-rich-text-heading-margin: var(--b-spacer-100) 0 var(--b-spacer-050) 0;
2068
2080
  --b-focus-ring-outline: var(--b-border-width-l);
2069
2081
  --b-focus-ring-spacer: var(--b-border-width-s);
2082
+ --b-data-grid-cell-actions-background-gradient-zebra-background: var(--b-gradient-data-grid-zebra-hover);
2070
2083
  --b-data-grid-cell-actions-background-gradient-background: var(--b-gradient-data-grid-hover);
2071
2084
  }
@@ -393,6 +393,7 @@
393
393
  --b-color-background-critical-strong-hover: #c13101;
394
394
  --b-color-background-critical-strong: #dc3801;
395
395
  --b-color-background-critical-weak: #fff3ef;
396
+ --b-color-background-spotlight: #ffe379;
396
397
  --b-color-background-selected: #e3effb;
397
398
  --b-color-background-disabled: #ecedef;
398
399
  --b-color-background-modal-active: #ecedef;
@@ -410,6 +411,7 @@
410
411
  --b-color-background-primary-active: #ecedef;
411
412
  --b-color-background-primary-hover: #f4f5f6;
412
413
  --b-color-background-primary: #ffffff;
414
+ --b-gradient-data-grid-zebra-hover: linear-gradient(270deg, var(--b-color-background-secondary-hover) 0%, rgba(236, 237, 239, .82) 53.34%, rgba(236, 237, 239, .75) 61.73%, rgba(236, 237, 239, .11) 99.25%, rgba(236, 237, 239, 0) 100%);
413
415
  --b-gradient-data-grid-hover: linear-gradient(270deg, var(--b-color-background-primary-hover) 0%, rgba(247, 247, 248, .82) 53.34%, rgba(247, 247, 248, .75) 61.73%, rgba(247, 247, 248, .11) 99.25%, rgba(247, 247, 248, 0) 100%);
414
416
  --b-tutorial-indicator-border: var(--b-border-width-m) solid var(--b-color-decorative-green);
415
417
  --b-tutorial-popover-footer-padding-top: var(--b-spacer-060);
@@ -554,7 +556,9 @@
554
556
  --b-textarea-input-readonly-background-color: var(--b-color-background-disabled);
555
557
  --b-textarea-input-placeholder-color: var(--b-color-label-tertiary);
556
558
  --b-textarea-input-hover-border-color: var(--b-color-outline-tertiary-active);
557
- --b-textarea-input-focus-border: 1.5px solid var(--b-color-outline-tertiary-active);
559
+ --b-textarea-input-focus-border-width: var(--b-border-width-attention);
560
+ --b-textarea-input-focus-border-color: var(--b-color-outline-tertiary-active);
561
+ --b-textarea-input-focus-border: var(--b-border-width-attention) solid var(--b-color-outline-tertiary-active);
558
562
  --b-textarea-input-error-background-color: var(--b-color-outline-critical);
559
563
  --b-textarea-input-disabled-color: var(--b-color-label-disabled);
560
564
  --b-textarea-input-disabled-border-color: var(--b-color-outline-disabled);
@@ -1493,6 +1497,11 @@
1493
1497
  --b-data-grid-config-condensed-view-title-padding: 0 0 var(--b-spacer-060) 0;
1494
1498
  --b-data-grid-config-condensed-view-padding: 0 var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
1495
1499
  --b-data-grid-config-condensed-view-border-color: var(--b-color-separator-primary);
1500
+ --b-data-grid-config-appearance-button-hover-background-color: var(--b-color-background-secondary);
1501
+ --b-data-grid-config-appearance-button-padding: var(--b-spacer-040) var(--b-spacer-070);
1502
+ --b-data-grid-config-appearance-title-padding: 0 var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
1503
+ --b-data-grid-config-appearance-padding: 0 0 var(--b-spacer-060) 0;
1504
+ --b-data-grid-config-appearance-border-color: var(--b-color-separator-primary);
1496
1505
  --b-data-grid-config-settings-column-and-row-margin: var(--b-spacer-120);
1497
1506
  --b-data-grid-config-settings-button-padding: 0 0 0 var(--b-spacer-020);
1498
1507
  --b-data-grid-config-settings-button-margin: var(--b-spacer-070) 0;
@@ -1539,9 +1548,10 @@
1539
1548
  --b-data-grid-row-row-actions-container-hover-z-index: var(--b-z-index-local-tier-2);
1540
1549
  --b-data-grid-row-row-actions-container-z-index: var(--b-z-index-local-tier-1);
1541
1550
  --b-data-grid-row-row-actions-container-background-color: var(--b-color-background-primary);
1551
+ --b-data-grid-row-nested-row-hover-background-color: var(--b-color-background-primary-hover);
1542
1552
  --b-data-grid-row-nested-row-hover: var(--b-color-background-secondary-hover);
1543
- --b-data-grid-row-nested-row-background-color: var(--b-color-background-secondary);
1544
- --b-data-grid-row-nested-slot-background-color: var(--b-color-background-secondary);
1553
+ --b-data-grid-row-nested-row-background-color: var(--b-color-background-primary);
1554
+ --b-data-grid-row-nested-slot-background-color: var(--b-color-background-primary);
1545
1555
  --b-data-grid-row-highlighted-background-color: var(--b-color-background-selected);
1546
1556
  --b-data-grid-row-disabled-color: var(--b-color-label-primary);
1547
1557
  --b-data-grid-row-hover-background-color: var(--b-color-background-primary-hover);
@@ -1549,6 +1559,8 @@
1549
1559
  --b-data-grid-row-border-width: var(--b-border-width-s);
1550
1560
  --b-data-grid-row-border-color: var(--b-color-separator-primary);
1551
1561
  --b-data-grid-row-background-color: var(--b-color-background-primary);
1562
+ --b-data-grid-row-zebra-hover-background-color: var(--b-color-background-secondary-hover);
1563
+ --b-data-grid-row-zebra-background-color: var(--b-color-background-secondary);
1552
1564
  --b-data-grid-rows-frozen-hover-z-index: var(--b-z-index-local-tier-2);
1553
1565
  --b-data-grid-rows-frozen-z-index: var(--b-z-index-local-tier-1);
1554
1566
  --b-data-grid-rows-frozen-border-right-width: var(--b-border-width-s);
@@ -1608,7 +1620,7 @@
1608
1620
  --b-data-grid-template-header-z-index: var(--b-z-index-local-tier-3);
1609
1621
  --b-data-grid-template-header-margin: var(--b-spacer-080) var(--b-spacer-090) var(--b-spacer-000) var(--b-spacer-090);
1610
1622
  --b-data-grid-template-gap: var(--b-spacer-060);
1611
- --b-data-grid-summary-cell-item-highlighted-background-color: var(--b-color-background-highlight-weak);
1623
+ --b-data-grid-summary-cell-item-highlighted-background-color: var(--b-color-background-spotlight);
1612
1624
  --b-data-grid-static-icon-warning-colored-color: var(--b-color-label-warning);
1613
1625
  --b-data-grid-static-icon-no-value-color: var(--b-color-label-tertiary);
1614
1626
  --b-data-grid-static-icon-error-colored-color: var(--b-color-label-critical);
@@ -2067,5 +2079,6 @@
2067
2079
  --b-text-rich-text-heading-margin: var(--b-spacer-100) 0 var(--b-spacer-050) 0;
2068
2080
  --b-focus-ring-outline: var(--b-border-width-l);
2069
2081
  --b-focus-ring-spacer: var(--b-border-width-s);
2082
+ --b-data-grid-cell-actions-background-gradient-zebra-background: var(--b-gradient-data-grid-zebra-hover);
2070
2083
  --b-data-grid-cell-actions-background-gradient-background: var(--b-gradient-data-grid-hover);
2071
2084
  }